From 46b4330eef15da2889373329f3a8830ebe2c921f Mon Sep 17 00:00:00 2001 From: Jay Conrod Date: Wed, 30 Jun 2021 12:06:08 -0700 Subject: [PATCH] Upgrade dependencies for v0.28.0 (#2903) * Added releaser directives marking automatically upgradeable deps. * Fixed //tests/core/go_proto_library:proto_package_test: since v1.26.0, protoc-gen-go requires that the import path is specified via 'option go_package' or an equivalent M flag. The package name is no longer derived from the proto package name in either case. * Fixed //tests/core/nogo/vet:vet_test: the buildtag error message text changed in the new version of org_golang_x_tools. --- go/private/repositories.bzl | 113 +- tests/core/go_proto_library/BUILD.bazel | 2 +- tests/core/go_proto_library/README.rst | 8 +- .../go_proto_library/proto_package_test.go | 4 +- tests/core/nogo/vet/vet_test.go | 2 +- .../com_github_gogo_protobuf-gazelle.patch | 384 +- .../com_github_golang_protobuf-gazelle.patch | 45 +- third_party/go_googleapis-deletebuild.patch | 63317 ++++++++++------ third_party/go_googleapis-directives.patch | 4 +- third_party/go_googleapis-gazelle.patch | 8120 +- .../org_golang_google_genproto-gazelle.patch | 3819 +- .../org_golang_google_protobuf-gazelle.patch | 588 +- third_party/org_golang_x_sys-gazelle.patch | 46 +- .../org_golang_x_tools-deletegopls.patch | 10925 ++- third_party/org_golang_x_tools-gazelle.patch | 1604 +- .../org_golang_x_xerrors-gazelle.patch | 4 +- 16 files changed, 56279 insertions(+), 32706 deletions(-) diff --git a/go/private/repositories.bzl b/go/private/repositories.bzl index de666d3819..8560d67f0e 100644 --- a/go/private/repositories.bzl +++ b/go/private/repositories.bzl @@ -41,74 +41,82 @@ def go_rules_dependencies(is_rules_go = False): # Repository of standard constraint settings and values. # Bazel declares this automatically after 0.28.0, but it's better to # define an explicit version. + # releaser:upgrade-dep bazelbuild platforms _maybe( http_archive, name = "platforms", - # 0.0.4, latest as of 2021-03-05 + # 0.0.4, latest as of 2021-06-30 urls = [ "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.4/platforms-0.0.4.tar.gz", "https://github.com/bazelbuild/platforms/releases/download/0.0.4/platforms-0.0.4.tar.gz", ], sha256 = "079945598e4b6cc075846f7fd6a9d0857c33a7afc0de868c2ccb96405225135d", + strip_prefix = "", ) # Needed by rules_go implementation and tests. # We can't call bazel_skylib_workspace from here. At the moment, it's only # used to register unittest toolchains, which rules_go does not need. + # releaser:upgrade-dep bazelbuild bazel-skylib _maybe( http_archive, name = "bazel_skylib", - # 1.0.3, latest as of 2021-03-05 + # 1.0.3, latest as of 2021-06-30 urls = [ "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz", "https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz", ], sha256 = "1c531376ac7e5a180e0237938a2536de0c54d93f5c278634818e0efc952dd56c", + strip_prefix = "", ) # Needed for nogo vet checks and go/packages. + # releaser:upgrade-dep golang tools _maybe( http_archive, name = "org_golang_x_tools", - # v0.1.0, as of 2021-03-17 + # v0.1.4, latest as of 2021-06-30 urls = [ - "https://mirror.bazel.build/github.com/golang/tools/archive/v0.1.0.zip", - "https://github.com/golang/tools/archive/v0.1.0.zip", + "https://mirror.bazel.build/github.com/golang/tools/archive/v0.1.4.zip", + "https://github.com/golang/tools/archive/v0.1.4.zip", ], - sha256 = "60a5cee8304b4d9130344f156a10ba648e315b5fca4b84939b765b26ce217dee", - strip_prefix = "tools-0.1.0", + sha256 = "2cc1337fa5bc61aa2acb0e643ad34e619808b634a2728124d235fc07a9bfa33b", + strip_prefix = "tools-0.1.4", patches = [ # deletegopls removes the gopls subdirectory. It contains a nested # module with additional dependencies. It's not needed by rules_go. + # releaser:patch-cmd rm -rf gopls "@io_bazel_rules_go//third_party:org_golang_x_tools-deletegopls.patch", - # gazelle args: -repo_root . -go_prefix golang.org/x/tools -go_naming_convention import_alias + # releaser:patch-cmd gazelle -repo_root . -go_prefix golang.org/x/tools -go_naming_convention import_alias "@io_bazel_rules_go//third_party:org_golang_x_tools-gazelle.patch", ], patch_args = ["-p1"], ) + # releaser:upgrade-dep golang sys _maybe( http_archive, name = "org_golang_x_sys", - # master, as of 2021-03-17 + # master, as of 2021-06-30 urls = [ - "https://github.com/golang/sys/archive/390168757d9c647283340d526204e3409d5903f3.zip", - "https://mirror.bazel.build/github.com/golang/sys/archive/390168757d9c647283340d526204e3409d5903f3.zip", + "https://mirror.bazel.build/github.com/golang/sys/archive/0f9fa26af87c481a6877a4ca1330699ba9a30673.zip", + "https://github.com/golang/sys/archive/0f9fa26af87c481a6877a4ca1330699ba9a30673.zip", ], - sha256 = "1e7128237f37a9e28f3ea08267ea95f0cd32cbe20c5a25c99430697001de85b5", - strip_prefix = "sys-390168757d9c647283340d526204e3409d5903f3", + sha256 = "3d0f886ddc36cd16ee70f10650b61f0df03a339cbd520917186f3d1cb8df9931", + strip_prefix = "sys-0f9fa26af87c481a6877a4ca1330699ba9a30673", patches = [ - # gazelle args: -repo_root . -go_prefix golang.org/x/sys -go_naming_convention import_alias + # releaser:patch-cmd gazelle -repo_root . -go_prefix golang.org/x/sys -go_naming_convention import_alias "@io_bazel_rules_go//third_party:org_golang_x_sys-gazelle.patch", ], patch_args = ["-p1"], ) # Needed by golang.org/x/tools/go/packages + # releaser:upgrade-dep golang xerrors _maybe( http_archive, name = "org_golang_x_xerrors", - # master, as of 2021-03-05 + # master, as of 2021-06-30 urls = [ "https://mirror.bazel.build/github.com/golang/xerrors/archive/5ec99f83aff198f5fbd629d6c8d8eb38a04218ca.zip", "https://github.com/golang/xerrors/archive/5ec99f83aff198f5fbd629d6c8d8eb38a04218ca.zip", @@ -116,7 +124,7 @@ def go_rules_dependencies(is_rules_go = False): sha256 = "cd9de801daf63283be91a76d7f91e8a9541798c5c0e8bcfb7ee804b78a493b02", strip_prefix = "xerrors-5ec99f83aff198f5fbd629d6c8d8eb38a04218ca", patches = [ - # gazelle args: -repo_root -go_prefix golang.org/x/xerrors -go_naming_convention import_alias + # releaser:patch-cmd gazelle -repo_root . -go_prefix golang.org/x/xerrors -go_naming_convention import_alias "@io_bazel_rules_go//third_party:org_golang_x_xerrors-gazelle.patch", ], patch_args = ["-p1"], @@ -124,16 +132,17 @@ def go_rules_dependencies(is_rules_go = False): # Needed for additional targets declared around binaries with c-archive # and c-shared link modes. + # releaser:upgrade-dep bazelbuild rules_cc _maybe( http_archive, name = "rules_cc", - # master, as of 2021-03-05 + # main, as of 2021-06-30 urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/88ef31b429631b787ceb5e4556d773b20ad797c8.zip", - "https://github.com/bazelbuild/rules_cc/archive/88ef31b429631b787ceb5e4556d773b20ad797c8.zip", + "https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/daf6ace7cfeacd6a83e9ff2ed659f416537b6c74.zip", + "https://github.com/bazelbuild/rules_cc/archive/daf6ace7cfeacd6a83e9ff2ed659f416537b6c74.zip", ], - sha256 = "92a89a2bbe6c6db2a8b87da4ce723aff6253656e8417f37e50d362817c39b98b", - strip_prefix = "rules_cc-88ef31b429631b787ceb5e4556d773b20ad797c8", + sha256 = "b295cad8c5899e371dde175079c0a2cdc0151f5127acc92366a8c986beb95c76", + strip_prefix = "rules_cc-daf6ace7cfeacd6a83e9ff2ed659f416537b6c74", ) # Proto dependencies @@ -153,18 +162,19 @@ def go_rules_dependencies(is_rules_go = False): # we can't keep up. # Go protobuf runtime library and utilities. + # releaser:upgrade-dep protocolbuffers protobuf-go _maybe( http_archive, name = "org_golang_google_protobuf", - sha256 = "62992b0f5864aee2077a6cffa57a2d2bd30e7af4b6745eebd816dcde3526002f", - # v1.25.0, latest as of 2021-03-05 + sha256 = "a01b25899f598fbac3c2626376b74fc15229f009904c262658f8da1c1c392386", + # v1.27.1, latest as of 2021-06-30 urls = [ - "https://mirror.bazel.build/github.com/protocolbuffers/protobuf-go/archive/v1.25.0.zip", - "https://github.com/protocolbuffers/protobuf-go/archive/v1.25.0.zip", + "https://mirror.bazel.build/github.com/protocolbuffers/protobuf-go/archive/v1.27.1.zip", + "https://github.com/protocolbuffers/protobuf-go/archive/v1.27.1.zip", ], - strip_prefix = "protobuf-go-1.25.0", + strip_prefix = "protobuf-go-1.27.1", patches = [ - # gazelle args: -repo_root . -go_prefix google.golang.org/protobuf -go_naming_convention import_alias -proto disable_global + # releaser:patch-cmd gazelle -repo_root . -go_prefix google.golang.org/protobuf -go_naming_convention import_alias -proto disable_global "@io_bazel_rules_go//third_party:org_golang_google_protobuf-gazelle.patch", ], patch_args = ["-p1"], @@ -175,18 +185,19 @@ def go_rules_dependencies(is_rules_go = False): # the gRPC compiler doesn't exist yet. # We need to apply a patch to enable both go_proto_library and # go_library with pre-generated sources. + # releaser:upgrade-dep golang protobuf _maybe( http_archive, name = "com_github_golang_protobuf", - # v1.4.3, latest as of 2021-03-05 + # v1.5.2, latest as of 2021-06-30 urls = [ - "https://mirror.bazel.build/github.com/golang/protobuf/archive/v1.4.3.zip", - "https://github.com/golang/protobuf/archive/v1.4.3.zip", + "https://mirror.bazel.build/github.com/golang/protobuf/archive/v1.5.2.zip", + "https://github.com/golang/protobuf/archive/v1.5.2.zip", ], - sha256 = "836d26511eb4282411a2fcb1e61b538163811612f93f8ca22d034628d41819d9", - strip_prefix = "protobuf-1.4.3", + sha256 = "5bd0a70e2f3829db9d0e340887af4e921c5e0e5bb3f8d1be49a934204cb16445", + strip_prefix = "protobuf-1.5.2", patches = [ - # gazelle args: -repo_root . -go_prefix github.com/golang/protobuf -go_naming_convention import_alias -proto disable_global + # releaser:patch-cmd gazelle -repo_root . -go_prefix github.com/golang/protobuf -go_naming_convention import_alias -proto disable_global "@io_bazel_rules_go//third_party:com_github_golang_protobuf-gazelle.patch", ], patch_args = ["-p1"], @@ -194,10 +205,11 @@ def go_rules_dependencies(is_rules_go = False): # Extra protoc plugins and libraries. # Doesn't belong here, but low maintenance. + # releaser:upgrade-dep mwitkow go-proto-validators _maybe( http_archive, name = "com_github_mwitkow_go_proto_validators", - # v0.3.2, latest as of 2021-03-05 + # v0.3.2, latest as of 2021-06-30 urls = [ "https://mirror.bazel.build/github.com/mwitkow/go-proto-validators/archive/v0.3.2.zip", "https://github.com/mwitkow/go-proto-validators/archive/v0.3.2.zip", @@ -207,10 +219,11 @@ def go_rules_dependencies(is_rules_go = False): # Bazel support added in v0.3.0, so no patches needed. ) + # releaser:upgrade-dep gogo protobuf _maybe( http_archive, name = "com_github_gogo_protobuf", - # v1.3.2, latest as of 2021-03-05 + # v1.3.2, latest as of 2021-06-30 urls = [ "https://mirror.bazel.build/github.com/gogo/protobuf/archive/v1.3.2.zip", "https://github.com/gogo/protobuf/archive/v1.3.2.zip", @@ -218,7 +231,7 @@ def go_rules_dependencies(is_rules_go = False): sha256 = "f89f8241af909ce3226562d135c25b28e656ae173337b3e58ede917aa26e1e3c", strip_prefix = "protobuf-1.3.2", patches = [ - # gazelle args: -repo_root . -go_prefix github.com/gogo/protobuf -go_naming_convention import_alias -proto legacy + # releaser:patch-cmd gazelle -repo_root . -go_prefix github.com/gogo/protobuf -go_naming_convention import_alias -proto legacy "@io_bazel_rules_go//third_party:com_github_gogo_protobuf-gazelle.patch", ], patch_args = ["-p1"], @@ -233,18 +246,19 @@ def go_rules_dependencies(is_rules_go = False): # and Google APIs. # Doesn't belong here, but it would be an annoying source of errors if # this weren't generated with -proto disable_global. + # releaser:upgrade-dep googleapis go-genproto _maybe( http_archive, name = "org_golang_google_genproto", - # master, as of 2021-03-05 + # master, as of 2021-06-30 urls = [ - "https://mirror.bazel.build/github.com/googleapis/go-genproto/archive/9728d6b83eeb3850506175f3b213d2037ce1f89d.zip", - "https://github.com/googleapis/go-genproto/archive/9728d6b83eeb3850506175f3b213d2037ce1f89d.zip", + "https://mirror.bazel.build/github.com/googleapis/go-genproto/archive/84d6f6074151f1b79e4aff079567984ea877b15a.zip", + "https://github.com/googleapis/go-genproto/archive/84d6f6074151f1b79e4aff079567984ea877b15a.zip", ], - sha256 = "faff880420132f1f1e32d7865d0361bd4876683afa031dae113fd4bb94ba0d2d", - strip_prefix = "go-genproto-9728d6b83eeb3850506175f3b213d2037ce1f89d", + sha256 = "d358815b8ff4fd69c05ef818cb046d53b51ae0c1e0287f7113238175fad3d798", + strip_prefix = "go-genproto-84d6f6074151f1b79e4aff079567984ea877b15a", patches = [ - # gazelle args: -repo_root . -go_prefix google.golang.org/genproto -go_naming_convention import_alias -proto disable_global + # releaser:patch-cmd gazelle -repo_root . -go_prefix google.golang.org/genproto -go_naming_convention import_alias -proto disable_global "@io_bazel_rules_go//third_party:org_golang_google_genproto-gazelle.patch", ], patch_args = ["-p1"], @@ -255,22 +269,23 @@ def go_rules_dependencies(is_rules_go = False): # before the real workspace supported Bazel. Gazelle resolves dependencies # here. Gazelle should resolve dependencies to com_google_googleapis # instead, and we should remove this. + # releaser:upgrade-dep googleapis googleapis _maybe( http_archive, name = "go_googleapis", - # master, as of 2021-03-05 + # master, as of 2021-06-30 urls = [ - "https://mirror.bazel.build/github.com/googleapis/googleapis/archive/d4cd8d96ed6eb5dd7c997aab68a1d6bb0825090c.zip", - "https://github.com/googleapis/googleapis/archive/d4cd8d96ed6eb5dd7c997aab68a1d6bb0825090c.zip", + "https://mirror.bazel.build/github.com/googleapis/googleapis/archive/1c5c56c18ab4e2353f87a9c2e14864f218c5502c.zip", + "https://github.com/googleapis/googleapis/archive/1c5c56c18ab4e2353f87a9c2e14864f218c5502c.zip", ], - sha256 = "711bc79bd40406dda685a8633f7478979baabaab19eeac664d53f7621866bebc", - strip_prefix = "googleapis-d4cd8d96ed6eb5dd7c997aab68a1d6bb0825090c", + sha256 = "fa52a03d9c49c28e475a33f9adfb0551344ca0dbd15168d6862ac32cc8354c1c", + strip_prefix = "googleapis-1c5c56c18ab4e2353f87a9c2e14864f218c5502c", patches = [ - # find . -name BUILD.bazel -delete + # releaser:patch-cmd find . -name BUILD.bazel -delete "@io_bazel_rules_go//third_party:go_googleapis-deletebuild.patch", # set gazelle directives; change workspace name "@io_bazel_rules_go//third_party:go_googleapis-directives.patch", - # gazelle args: -repo_root . + # releaser:patch-cmd gazelle -repo_root . "@io_bazel_rules_go//third_party:go_googleapis-gazelle.patch", ], patch_args = ["-E", "-p1"], diff --git a/tests/core/go_proto_library/BUILD.bazel b/tests/core/go_proto_library/BUILD.bazel index 2e29db96a9..0c1f8e23c6 100644 --- a/tests/core/go_proto_library/BUILD.bazel +++ b/tests/core/go_proto_library/BUILD.bazel @@ -274,7 +274,7 @@ proto_library( go_proto_library( name = "no_go_package_go_proto", - importpath = "github.com/bazelbuild/rules_go/tests/core/go_proto_library/no_go_package", + importpath = "github.com/bazelbuild/rules_go/tests/core/go_proto_library/package_name_derived_from_importpath", protos = [":no_go_package_proto"], ) diff --git a/tests/core/go_proto_library/README.rst b/tests/core/go_proto_library/README.rst index 1a5b039d3b..7dc735184a 100644 --- a/tests/core/go_proto_library/README.rst +++ b/tests/core/go_proto_library/README.rst @@ -3,6 +3,7 @@ Basic go_proto_library functionality .. _go_proto_library: /proto/core.rst#_go_proto_library .. _go_library: /go/core.rst#_go_library +.. _protobuf v1.26.0: https://github.com/protocolbuffers/protobuf-go/releases/tag/v1.26.0 .. _#1422: https://github.com/bazelbuild/rules_go/issues/1422 .. _#1596: https://github.com/bazelbuild/rules_go/issues/1596 @@ -44,8 +45,11 @@ proto_package_test ------------------ Checks that `go_proto_library`_ generates files with a package name based on -the proto package, not ``importpath`` when ``option go_package`` is not given. -Verifies `#1596`_. +``importpath``, not the proto package, when ``option go_package`` is not given. +This changed in `protobuf v1.26.0`_: the import path must either be specified +with an ``option go_package`` in each proto file or with an ``M`` flag passed +in from ``go_proto_library``. Previously, the Go package name was derived from +the proto package name. Previously verified `#1596`_. wkt_wrapper_test ---------------- diff --git a/tests/core/go_proto_library/proto_package_test.go b/tests/core/go_proto_library/proto_package_test.go index cbb86c0941..81d661748c 100644 --- a/tests/core/go_proto_library/proto_package_test.go +++ b/tests/core/go_proto_library/proto_package_test.go @@ -18,11 +18,11 @@ package proto_package_test import ( "testing" - "github.com/bazelbuild/rules_go/tests/core/go_proto_library/no_go_package" + "github.com/bazelbuild/rules_go/tests/core/go_proto_library/package_name_derived_from_importpath" ) func use(interface{}) {} func TestNoGoPackage(t *testing.T) { - use(&protopkg.Foo{}) + use(&package_name_derived_from_importpath.Foo{}) } diff --git a/tests/core/nogo/vet/vet_test.go b/tests/core/nogo/vet/vet_test.go index 37be7c69ed..4bc2163f41 100644 --- a/tests/core/nogo/vet/vet_test.go +++ b/tests/core/nogo/vet/vet_test.go @@ -125,7 +125,7 @@ func Test(t *testing.T) { nogo: "@//:nogo", target: "//:has_errors", includes: []string{ - "\\+build comment must appear before package clause and be followed by a blank line", + "misplaced \\+build comment", "comparison of function F == nil is always false", "Printf format %b has arg \"hi\" of wrong type string", "redundant or: true \\|\\| true", diff --git a/third_party/com_github_gogo_protobuf-gazelle.patch b/third_party/com_github_gogo_protobuf-gazelle.patch index 0f2e29937e..1003559e3c 100644 --- a/third_party/com_github_gogo_protobuf-gazelle.patch +++ b/third_party/com_github_gogo_protobuf-gazelle.patch @@ -1,5 +1,5 @@ diff -urN a/codec/BUILD.bazel b/codec/BUILD.bazel ---- a/codec/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/codec/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/codec/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -25,7 +25,7 @@ diff -urN a/codec/BUILD.bazel b/codec/BUILD.bazel + deps = ["//test"], +) diff -urN a/conformance/BUILD.bazel b/conformance/BUILD.bazel ---- a/conformance/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/conformance/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/conformance/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -48,7 +48,7 @@ diff -urN a/conformance/BUILD.bazel b/conformance/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/conformance/internal/conformance_proto/BUILD.bazel b/conformance/internal/conformance_proto/BUILD.bazel ---- a/conformance/internal/conformance_proto/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/conformance/internal/conformance_proto/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/conformance/internal/conformance_proto/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -76,7 +76,7 @@ diff -urN a/conformance/internal/conformance_proto/BUILD.bazel b/conformance/int + visibility = ["//conformance:__subpackages__"], +) diff -urN a/gogoproto/BUILD.bazel b/gogoproto/BUILD.bazel ---- a/gogoproto/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/gogoproto/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/gogoproto/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -108,7 +108,7 @@ diff -urN a/gogoproto/BUILD.bazel b/gogoproto/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/gogoreplace/BUILD.bazel b/gogoreplace/BUILD.bazel ---- a/gogoreplace/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/gogoreplace/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/gogoreplace/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -126,7 +126,7 @@ diff -urN a/gogoreplace/BUILD.bazel b/gogoreplace/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/io/BUILD.bazel b/io/BUILD.bazel ---- a/io/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/io/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/io/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -163,7 +163,7 @@ diff -urN a/io/BUILD.bazel b/io/BUILD.bazel + ], +) diff -urN a/jsonpb/BUILD.bazel b/jsonpb/BUILD.bazel ---- a/jsonpb/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/jsonpb/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/jsonpb/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -197,7 +197,7 @@ diff -urN a/jsonpb/BUILD.bazel b/jsonpb/BUILD.bazel + ], +) diff -urN a/jsonpb/jsonpb_test_proto/BUILD.bazel b/jsonpb/jsonpb_test_proto/BUILD.bazel ---- a/jsonpb/jsonpb_test_proto/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/jsonpb/jsonpb_test_proto/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/jsonpb/jsonpb_test_proto/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -232,7 +232,7 @@ diff -urN a/jsonpb/jsonpb_test_proto/BUILD.bazel b/jsonpb/jsonpb_test_proto/BUIL + visibility = ["//visibility:public"], +) diff -urN a/plugin/compare/BUILD.bazel b/plugin/compare/BUILD.bazel ---- a/plugin/compare/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/plugin/compare/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/plugin/compare/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -261,7 +261,7 @@ diff -urN a/plugin/compare/BUILD.bazel b/plugin/compare/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/plugin/defaultcheck/BUILD.bazel b/plugin/defaultcheck/BUILD.bazel ---- a/plugin/defaultcheck/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/plugin/defaultcheck/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/plugin/defaultcheck/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -283,7 +283,7 @@ diff -urN a/plugin/defaultcheck/BUILD.bazel b/plugin/defaultcheck/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/plugin/description/BUILD.bazel b/plugin/description/BUILD.bazel ---- a/plugin/description/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/plugin/description/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/plugin/description/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -311,7 +311,7 @@ diff -urN a/plugin/description/BUILD.bazel b/plugin/description/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/plugin/embedcheck/BUILD.bazel b/plugin/embedcheck/BUILD.bazel ---- a/plugin/embedcheck/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/plugin/embedcheck/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/plugin/embedcheck/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -333,7 +333,7 @@ diff -urN a/plugin/embedcheck/BUILD.bazel b/plugin/embedcheck/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/plugin/enumstringer/BUILD.bazel b/plugin/enumstringer/BUILD.bazel ---- a/plugin/enumstringer/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/plugin/enumstringer/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/plugin/enumstringer/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -355,7 +355,7 @@ diff -urN a/plugin/enumstringer/BUILD.bazel b/plugin/enumstringer/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/plugin/equal/BUILD.bazel b/plugin/equal/BUILD.bazel ---- a/plugin/equal/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/plugin/equal/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/plugin/equal/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -384,7 +384,7 @@ diff -urN a/plugin/equal/BUILD.bazel b/plugin/equal/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/plugin/face/BUILD.bazel b/plugin/face/BUILD.bazel ---- a/plugin/face/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/plugin/face/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/plugin/face/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -410,7 +410,7 @@ diff -urN a/plugin/face/BUILD.bazel b/plugin/face/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/plugin/gostring/BUILD.bazel b/plugin/gostring/BUILD.bazel ---- a/plugin/gostring/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/plugin/gostring/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/plugin/gostring/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -436,7 +436,7 @@ diff -urN a/plugin/gostring/BUILD.bazel b/plugin/gostring/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/plugin/marshalto/BUILD.bazel b/plugin/marshalto/BUILD.bazel ---- a/plugin/marshalto/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/plugin/marshalto/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/plugin/marshalto/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -461,7 +461,7 @@ diff -urN a/plugin/marshalto/BUILD.bazel b/plugin/marshalto/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/plugin/oneofcheck/BUILD.bazel b/plugin/oneofcheck/BUILD.bazel ---- a/plugin/oneofcheck/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/plugin/oneofcheck/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/plugin/oneofcheck/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -483,7 +483,7 @@ diff -urN a/plugin/oneofcheck/BUILD.bazel b/plugin/oneofcheck/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/plugin/populate/BUILD.bazel b/plugin/populate/BUILD.bazel ---- a/plugin/populate/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/plugin/populate/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/plugin/populate/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -508,7 +508,7 @@ diff -urN a/plugin/populate/BUILD.bazel b/plugin/populate/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/plugin/size/BUILD.bazel b/plugin/size/BUILD.bazel ---- a/plugin/size/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/plugin/size/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/plugin/size/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -537,7 +537,7 @@ diff -urN a/plugin/size/BUILD.bazel b/plugin/size/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/plugin/stringer/BUILD.bazel b/plugin/stringer/BUILD.bazel ---- a/plugin/stringer/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/plugin/stringer/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/plugin/stringer/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -563,7 +563,7 @@ diff -urN a/plugin/stringer/BUILD.bazel b/plugin/stringer/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/plugin/testgen/BUILD.bazel b/plugin/testgen/BUILD.bazel ---- a/plugin/testgen/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/plugin/testgen/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/plugin/testgen/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -585,7 +585,7 @@ diff -urN a/plugin/testgen/BUILD.bazel b/plugin/testgen/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/plugin/union/BUILD.bazel b/plugin/union/BUILD.bazel ---- a/plugin/union/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/plugin/union/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/plugin/union/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -611,7 +611,7 @@ diff -urN a/plugin/union/BUILD.bazel b/plugin/union/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/plugin/unmarshal/BUILD.bazel b/plugin/unmarshal/BUILD.bazel ---- a/plugin/unmarshal/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/plugin/unmarshal/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/plugin/unmarshal/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -635,7 +635,7 @@ diff -urN a/plugin/unmarshal/BUILD.bazel b/plugin/unmarshal/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/proto/BUILD.bazel b/proto/BUILD.bazel ---- a/proto/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/proto/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/proto/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,78 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -717,7 +717,7 @@ diff -urN a/proto/BUILD.bazel b/proto/BUILD.bazel + ], +) diff -urN a/proto/proto3_proto/BUILD.bazel b/proto/proto3_proto/BUILD.bazel ---- a/proto/proto3_proto/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/proto/proto3_proto/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/proto/proto3_proto/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -746,7 +746,7 @@ diff -urN a/proto/proto3_proto/BUILD.bazel b/proto/proto3_proto/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/proto/test_proto/BUILD.bazel b/proto/test_proto/BUILD.bazel ---- a/proto/test_proto/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/proto/test_proto/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/proto/test_proto/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -771,7 +771,7 @@ diff -urN a/proto/test_proto/BUILD.bazel b/proto/test_proto/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/protobuf/google/protobuf/BUILD.bazel b/protobuf/google/protobuf/BUILD.bazel ---- a/protobuf/google/protobuf/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protobuf/google/protobuf/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protobuf/google/protobuf/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,17 @@ +filegroup( @@ -792,7 +792,7 @@ diff -urN a/protobuf/google/protobuf/BUILD.bazel b/protobuf/google/protobuf/BUIL + visibility = ["//visibility:public"], +) diff -urN a/protobuf/google/protobuf/compiler/BUILD.bazel b/protobuf/google/protobuf/compiler/BUILD.bazel ---- a/protobuf/google/protobuf/compiler/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protobuf/google/protobuf/compiler/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protobuf/google/protobuf/compiler/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,5 @@ +filegroup( @@ -801,7 +801,7 @@ diff -urN a/protobuf/google/protobuf/compiler/BUILD.bazel b/protobuf/google/prot + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-combo/BUILD.bazel b/protoc-gen-combo/BUILD.bazel ---- a/protoc-gen-combo/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-combo/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-combo/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -820,7 +820,7 @@ diff -urN a/protoc-gen-combo/BUILD.bazel b/protoc-gen-combo/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-gofast/BUILD.bazel b/protoc-gen-gofast/BUILD.bazel ---- a/protoc-gen-gofast/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gofast/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gofast/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -842,7 +842,7 @@ diff -urN a/protoc-gen-gofast/BUILD.bazel b/protoc-gen-gofast/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-gogo/BUILD.bazel b/protoc-gen-gogo/BUILD.bazel ---- a/protoc-gen-gogo/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogo/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogo/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test") @@ -867,7 +867,7 @@ diff -urN a/protoc-gen-gogo/BUILD.bazel b/protoc-gen-gogo/BUILD.bazel + embed = [":protoc-gen-gogo_lib"], +) diff -urN a/protoc-gen-gogo/descriptor/BUILD.bazel b/protoc-gen-gogo/descriptor/BUILD.bazel ---- a/protoc-gen-gogo/descriptor/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogo/descriptor/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogo/descriptor/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -900,7 +900,7 @@ diff -urN a/protoc-gen-gogo/descriptor/BUILD.bazel b/protoc-gen-gogo/descriptor/ + ], +) diff -urN a/protoc-gen-gogo/generator/BUILD.bazel b/protoc-gen-gogo/generator/BUILD.bazel ---- a/protoc-gen-gogo/generator/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogo/generator/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogo/generator/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -935,7 +935,7 @@ diff -urN a/protoc-gen-gogo/generator/BUILD.bazel b/protoc-gen-gogo/generator/BU + deps = ["//protoc-gen-gogo/descriptor"], +) diff -urN a/protoc-gen-gogo/generator/internal/remap/BUILD.bazel b/protoc-gen-gogo/generator/internal/remap/BUILD.bazel ---- a/protoc-gen-gogo/generator/internal/remap/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogo/generator/internal/remap/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogo/generator/internal/remap/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -959,7 +959,7 @@ diff -urN a/protoc-gen-gogo/generator/internal/remap/BUILD.bazel b/protoc-gen-go + embed = [":remap"], +) diff -urN a/protoc-gen-gogo/grpc/BUILD.bazel b/protoc-gen-gogo/grpc/BUILD.bazel ---- a/protoc-gen-gogo/grpc/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogo/grpc/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogo/grpc/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -981,7 +981,7 @@ diff -urN a/protoc-gen-gogo/grpc/BUILD.bazel b/protoc-gen-gogo/grpc/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-gogo/plugin/BUILD.bazel b/protoc-gen-gogo/plugin/BUILD.bazel ---- a/protoc-gen-gogo/plugin/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogo/plugin/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogo/plugin/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1003,7 +1003,7 @@ diff -urN a/protoc-gen-gogo/plugin/BUILD.bazel b/protoc-gen-gogo/plugin/BUILD.ba + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-gogo/testdata/BUILD.bazel b/protoc-gen-gogo/testdata/BUILD.bazel ---- a/protoc-gen-gogo/testdata/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogo/testdata/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogo/testdata/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,16 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_test") @@ -1023,7 +1023,7 @@ diff -urN a/protoc-gen-gogo/testdata/BUILD.bazel b/protoc-gen-gogo/testdata/BUIL + ], +) diff -urN a/protoc-gen-gogo/testdata/deprecated/BUILD.bazel b/protoc-gen-gogo/testdata/deprecated/BUILD.bazel ---- a/protoc-gen-gogo/testdata/deprecated/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogo/testdata/deprecated/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogo/testdata/deprecated/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1053,7 +1053,7 @@ diff -urN a/protoc-gen-gogo/testdata/deprecated/BUILD.bazel b/protoc-gen-gogo/te + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-gogo/testdata/extension_base/BUILD.bazel b/protoc-gen-gogo/testdata/extension_base/BUILD.bazel ---- a/protoc-gen-gogo/testdata/extension_base/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogo/testdata/extension_base/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogo/testdata/extension_base/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1078,7 +1078,7 @@ diff -urN a/protoc-gen-gogo/testdata/extension_base/BUILD.bazel b/protoc-gen-gog + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-gogo/testdata/extension_extra/BUILD.bazel b/protoc-gen-gogo/testdata/extension_extra/BUILD.bazel ---- a/protoc-gen-gogo/testdata/extension_extra/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogo/testdata/extension_extra/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogo/testdata/extension_extra/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1103,7 +1103,7 @@ diff -urN a/protoc-gen-gogo/testdata/extension_extra/BUILD.bazel b/protoc-gen-go + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-gogo/testdata/extension_user/BUILD.bazel b/protoc-gen-gogo/testdata/extension_user/BUILD.bazel ---- a/protoc-gen-gogo/testdata/extension_user/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogo/testdata/extension_user/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogo/testdata/extension_user/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1132,7 +1132,7 @@ diff -urN a/protoc-gen-gogo/testdata/extension_user/BUILD.bazel b/protoc-gen-gog + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-gogo/testdata/grpc/BUILD.bazel b/protoc-gen-gogo/testdata/grpc/BUILD.bazel ---- a/protoc-gen-gogo/testdata/grpc/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogo/testdata/grpc/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogo/testdata/grpc/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,32 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1168,7 +1168,7 @@ diff -urN a/protoc-gen-gogo/testdata/grpc/BUILD.bazel b/protoc-gen-gogo/testdata + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-gogo/testdata/import_public/BUILD.bazel b/protoc-gen-gogo/testdata/import_public/BUILD.bazel ---- a/protoc-gen-gogo/testdata/import_public/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogo/testdata/import_public/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogo/testdata/import_public/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1202,7 +1202,7 @@ diff -urN a/protoc-gen-gogo/testdata/import_public/BUILD.bazel b/protoc-gen-gogo + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-gogo/testdata/import_public/importing/BUILD.bazel b/protoc-gen-gogo/testdata/import_public/importing/BUILD.bazel ---- a/protoc-gen-gogo/testdata/import_public/importing/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogo/testdata/import_public/importing/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogo/testdata/import_public/importing/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1231,7 +1231,7 @@ diff -urN a/protoc-gen-gogo/testdata/import_public/importing/BUILD.bazel b/proto + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-gogo/testdata/import_public/sub/BUILD.bazel b/protoc-gen-gogo/testdata/import_public/sub/BUILD.bazel ---- a/protoc-gen-gogo/testdata/import_public/sub/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogo/testdata/import_public/sub/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogo/testdata/import_public/sub/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1262,7 +1262,7 @@ diff -urN a/protoc-gen-gogo/testdata/import_public/sub/BUILD.bazel b/protoc-gen- + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-gogo/testdata/imports/BUILD.bazel b/protoc-gen-gogo/testdata/imports/BUILD.bazel ---- a/protoc-gen-gogo/testdata/imports/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogo/testdata/imports/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogo/testdata/imports/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1301,7 +1301,7 @@ diff -urN a/protoc-gen-gogo/testdata/imports/BUILD.bazel b/protoc-gen-gogo/testd + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-gogo/testdata/imports/fmt/BUILD.bazel b/protoc-gen-gogo/testdata/imports/fmt/BUILD.bazel ---- a/protoc-gen-gogo/testdata/imports/fmt/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogo/testdata/imports/fmt/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogo/testdata/imports/fmt/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1326,7 +1326,7 @@ diff -urN a/protoc-gen-gogo/testdata/imports/fmt/BUILD.bazel b/protoc-gen-gogo/t + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-gogo/testdata/imports/test_a_1/BUILD.bazel b/protoc-gen-gogo/testdata/imports/test_a_1/BUILD.bazel ---- a/protoc-gen-gogo/testdata/imports/test_a_1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogo/testdata/imports/test_a_1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogo/testdata/imports/test_a_1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1357,7 +1357,7 @@ diff -urN a/protoc-gen-gogo/testdata/imports/test_a_1/BUILD.bazel b/protoc-gen-g + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-gogo/testdata/imports/test_a_2/BUILD.bazel b/protoc-gen-gogo/testdata/imports/test_a_2/BUILD.bazel ---- a/protoc-gen-gogo/testdata/imports/test_a_2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogo/testdata/imports/test_a_2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogo/testdata/imports/test_a_2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1388,7 +1388,7 @@ diff -urN a/protoc-gen-gogo/testdata/imports/test_a_2/BUILD.bazel b/protoc-gen-g + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-gogo/testdata/imports/test_b_1/BUILD.bazel b/protoc-gen-gogo/testdata/imports/test_b_1/BUILD.bazel ---- a/protoc-gen-gogo/testdata/imports/test_b_1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogo/testdata/imports/test_b_1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogo/testdata/imports/test_b_1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1419,7 +1419,7 @@ diff -urN a/protoc-gen-gogo/testdata/imports/test_b_1/BUILD.bazel b/protoc-gen-g + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-gogo/testdata/multi/BUILD.bazel b/protoc-gen-gogo/testdata/multi/BUILD.bazel ---- a/protoc-gen-gogo/testdata/multi/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogo/testdata/multi/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogo/testdata/multi/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,9 @@ +filegroup( @@ -1432,7 +1432,7 @@ diff -urN a/protoc-gen-gogo/testdata/multi/BUILD.bazel b/protoc-gen-gogo/testdat + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-gogo/testdata/my_test/BUILD.bazel b/protoc-gen-gogo/testdata/my_test/BUILD.bazel ---- a/protoc-gen-gogo/testdata/my_test/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogo/testdata/my_test/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogo/testdata/my_test/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1457,7 +1457,7 @@ diff -urN a/protoc-gen-gogo/testdata/my_test/BUILD.bazel b/protoc-gen-gogo/testd + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-gogo/testdata/proto3/BUILD.bazel b/protoc-gen-gogo/testdata/proto3/BUILD.bazel ---- a/protoc-gen-gogo/testdata/proto3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogo/testdata/proto3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogo/testdata/proto3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1482,7 +1482,7 @@ diff -urN a/protoc-gen-gogo/testdata/proto3/BUILD.bazel b/protoc-gen-gogo/testda + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-gogofast/BUILD.bazel b/protoc-gen-gogofast/BUILD.bazel ---- a/protoc-gen-gogofast/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogofast/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogofast/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1504,7 +1504,7 @@ diff -urN a/protoc-gen-gogofast/BUILD.bazel b/protoc-gen-gogofast/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-gogofaster/BUILD.bazel b/protoc-gen-gogofaster/BUILD.bazel ---- a/protoc-gen-gogofaster/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogofaster/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogofaster/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1526,7 +1526,7 @@ diff -urN a/protoc-gen-gogofaster/BUILD.bazel b/protoc-gen-gogofaster/BUILD.baze + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-gogoslick/BUILD.bazel b/protoc-gen-gogoslick/BUILD.bazel ---- a/protoc-gen-gogoslick/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogoslick/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogoslick/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1548,7 +1548,7 @@ diff -urN a/protoc-gen-gogoslick/BUILD.bazel b/protoc-gen-gogoslick/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-gogotypes/BUILD.bazel b/protoc-gen-gogotypes/BUILD.bazel ---- a/protoc-gen-gogotypes/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gogotypes/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gogotypes/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1570,7 +1570,7 @@ diff -urN a/protoc-gen-gogotypes/BUILD.bazel b/protoc-gen-gogotypes/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-gostring/BUILD.bazel b/protoc-gen-gostring/BUILD.bazel ---- a/protoc-gen-gostring/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-gostring/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-gostring/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1592,7 +1592,7 @@ diff -urN a/protoc-gen-gostring/BUILD.bazel b/protoc-gen-gostring/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/protoc-min-version/BUILD.bazel b/protoc-min-version/BUILD.bazel ---- a/protoc-min-version/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-min-version/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-min-version/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1611,7 +1611,7 @@ diff -urN a/protoc-min-version/BUILD.bazel b/protoc-min-version/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/sortkeys/BUILD.bazel b/sortkeys/BUILD.bazel ---- a/sortkeys/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/sortkeys/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/sortkeys/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1629,7 +1629,7 @@ diff -urN a/sortkeys/BUILD.bazel b/sortkeys/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/test/BUILD.bazel b/test/BUILD.bazel ---- a/test/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,48 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -1681,7 +1681,7 @@ diff -urN a/test/BUILD.bazel b/test/BUILD.bazel + ], +) diff -urN a/test/asymetric-issue125/BUILD.bazel b/test/asymetric-issue125/BUILD.bazel ---- a/test/asymetric-issue125/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/asymetric-issue125/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/asymetric-issue125/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -1718,7 +1718,7 @@ diff -urN a/test/asymetric-issue125/BUILD.bazel b/test/asymetric-issue125/BUILD. + embed = [":asymetric-issue125"], +) diff -urN a/test/cachedsize/BUILD.bazel b/test/cachedsize/BUILD.bazel ---- a/test/cachedsize/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/cachedsize/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/cachedsize/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -1753,7 +1753,7 @@ diff -urN a/test/cachedsize/BUILD.bazel b/test/cachedsize/BUILD.bazel + deps = ["//proto"], +) diff -urN a/test/casttype/BUILD.bazel b/test/casttype/BUILD.bazel ---- a/test/casttype/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/casttype/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/casttype/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1777,7 +1777,7 @@ diff -urN a/test/casttype/BUILD.bazel b/test/casttype/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/test/casttype/combos/both/BUILD.bazel b/test/casttype/combos/both/BUILD.bazel ---- a/test/casttype/combos/both/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/casttype/combos/both/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/casttype/combos/both/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -1819,7 +1819,7 @@ diff -urN a/test/casttype/combos/both/BUILD.bazel b/test/casttype/combos/both/BU + ], +) diff -urN a/test/casttype/combos/marshaler/BUILD.bazel b/test/casttype/combos/marshaler/BUILD.bazel ---- a/test/casttype/combos/marshaler/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/casttype/combos/marshaler/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/casttype/combos/marshaler/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -1861,7 +1861,7 @@ diff -urN a/test/casttype/combos/marshaler/BUILD.bazel b/test/casttype/combos/ma + ], +) diff -urN a/test/casttype/combos/neither/BUILD.bazel b/test/casttype/combos/neither/BUILD.bazel ---- a/test/casttype/combos/neither/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/casttype/combos/neither/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/casttype/combos/neither/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -1903,7 +1903,7 @@ diff -urN a/test/casttype/combos/neither/BUILD.bazel b/test/casttype/combos/neit + ], +) diff -urN a/test/casttype/combos/unmarshaler/BUILD.bazel b/test/casttype/combos/unmarshaler/BUILD.bazel ---- a/test/casttype/combos/unmarshaler/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/casttype/combos/unmarshaler/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/casttype/combos/unmarshaler/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -1945,7 +1945,7 @@ diff -urN a/test/casttype/combos/unmarshaler/BUILD.bazel b/test/casttype/combos/ + ], +) diff -urN a/test/castvalue/BUILD.bazel b/test/castvalue/BUILD.bazel ---- a/test/castvalue/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/castvalue/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/castvalue/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -1989,7 +1989,7 @@ diff -urN a/test/castvalue/BUILD.bazel b/test/castvalue/BUILD.bazel + ], +) diff -urN a/test/castvalue/combos/both/BUILD.bazel b/test/castvalue/combos/both/BUILD.bazel ---- a/test/castvalue/combos/both/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/castvalue/combos/both/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/castvalue/combos/both/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2033,7 +2033,7 @@ diff -urN a/test/castvalue/combos/both/BUILD.bazel b/test/castvalue/combos/both/ + ], +) diff -urN a/test/castvalue/combos/marshaler/BUILD.bazel b/test/castvalue/combos/marshaler/BUILD.bazel ---- a/test/castvalue/combos/marshaler/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/castvalue/combos/marshaler/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/castvalue/combos/marshaler/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2077,7 +2077,7 @@ diff -urN a/test/castvalue/combos/marshaler/BUILD.bazel b/test/castvalue/combos/ + ], +) diff -urN a/test/castvalue/combos/unmarshaler/BUILD.bazel b/test/castvalue/combos/unmarshaler/BUILD.bazel ---- a/test/castvalue/combos/unmarshaler/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/castvalue/combos/unmarshaler/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/castvalue/combos/unmarshaler/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2121,7 +2121,7 @@ diff -urN a/test/castvalue/combos/unmarshaler/BUILD.bazel b/test/castvalue/combo + ], +) diff -urN a/test/combos/both/BUILD.bazel b/test/combos/both/BUILD.bazel ---- a/test/combos/both/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/combos/both/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/combos/both/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,46 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2171,7 +2171,7 @@ diff -urN a/test/combos/both/BUILD.bazel b/test/combos/both/BUILD.bazel + ], +) diff -urN a/test/combos/marshaler/BUILD.bazel b/test/combos/marshaler/BUILD.bazel ---- a/test/combos/marshaler/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/combos/marshaler/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/combos/marshaler/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,46 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2221,7 +2221,7 @@ diff -urN a/test/combos/marshaler/BUILD.bazel b/test/combos/marshaler/BUILD.baze + ], +) diff -urN a/test/combos/unmarshaler/BUILD.bazel b/test/combos/unmarshaler/BUILD.bazel ---- a/test/combos/unmarshaler/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/combos/unmarshaler/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/combos/unmarshaler/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,46 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2271,7 +2271,7 @@ diff -urN a/test/combos/unmarshaler/BUILD.bazel b/test/combos/unmarshaler/BUILD. + ], +) diff -urN a/test/custom/BUILD.bazel b/test/custom/BUILD.bazel ---- a/test/custom/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/custom/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/custom/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2295,7 +2295,7 @@ diff -urN a/test/custom/BUILD.bazel b/test/custom/BUILD.bazel + embed = [":custom"], +) diff -urN a/test/custom-dash-type/BUILD.bazel b/test/custom-dash-type/BUILD.bazel ---- a/test/custom-dash-type/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/custom-dash-type/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/custom-dash-type/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2313,7 +2313,7 @@ diff -urN a/test/custom-dash-type/BUILD.bazel b/test/custom-dash-type/BUILD.baze + visibility = ["//visibility:public"], +) diff -urN a/test/custombytesnonstruct/BUILD.bazel b/test/custombytesnonstruct/BUILD.bazel ---- a/test/custombytesnonstruct/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/custombytesnonstruct/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/custombytesnonstruct/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2350,7 +2350,7 @@ diff -urN a/test/custombytesnonstruct/BUILD.bazel b/test/custombytesnonstruct/BU + embed = [":custombytesnonstruct"], +) diff -urN a/test/dashfilename/BUILD.bazel b/test/dashfilename/BUILD.bazel ---- a/test/dashfilename/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/dashfilename/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/dashfilename/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2380,7 +2380,7 @@ diff -urN a/test/dashfilename/BUILD.bazel b/test/dashfilename/BUILD.bazel + embed = [":dashfilename"], +) diff -urN a/test/data/BUILD.bazel b/test/data/BUILD.bazel ---- a/test/data/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/data/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/data/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2419,7 +2419,7 @@ diff -urN a/test/data/BUILD.bazel b/test/data/BUILD.bazel + ], +) diff -urN a/test/defaultconflict/BUILD.bazel b/test/defaultconflict/BUILD.bazel ---- a/test/defaultconflict/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/defaultconflict/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/defaultconflict/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,32 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2455,7 +2455,7 @@ diff -urN a/test/defaultconflict/BUILD.bazel b/test/defaultconflict/BUILD.bazel + embed = [":defaultconflict"], +) diff -urN a/test/deterministic/BUILD.bazel b/test/deterministic/BUILD.bazel ---- a/test/deterministic/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/deterministic/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/deterministic/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,32 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2491,7 +2491,7 @@ diff -urN a/test/deterministic/BUILD.bazel b/test/deterministic/BUILD.bazel + deps = ["//proto"], +) diff -urN a/test/embedconflict/BUILD.bazel b/test/embedconflict/BUILD.bazel ---- a/test/embedconflict/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/embedconflict/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/embedconflict/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2528,7 +2528,7 @@ diff -urN a/test/embedconflict/BUILD.bazel b/test/embedconflict/BUILD.bazel + embed = [":embedconflict"], +) diff -urN a/test/empty-issue70/BUILD.bazel b/test/empty-issue70/BUILD.bazel ---- a/test/empty-issue70/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/empty-issue70/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/empty-issue70/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2562,7 +2562,7 @@ diff -urN a/test/empty-issue70/BUILD.bazel b/test/empty-issue70/BUILD.bazel + embed = [":empty-issue70"], +) diff -urN a/test/enumcustomname/BUILD.bazel b/test/enumcustomname/BUILD.bazel ---- a/test/enumcustomname/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/enumcustomname/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/enumcustomname/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2591,7 +2591,7 @@ diff -urN a/test/enumcustomname/BUILD.bazel b/test/enumcustomname/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/test/enumdecl/BUILD.bazel b/test/enumdecl/BUILD.bazel ---- a/test/enumdecl/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/enumdecl/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/enumdecl/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2633,7 +2633,7 @@ diff -urN a/test/enumdecl/BUILD.bazel b/test/enumdecl/BUILD.bazel + ], +) diff -urN a/test/enumdecl_all/BUILD.bazel b/test/enumdecl_all/BUILD.bazel ---- a/test/enumdecl_all/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/enumdecl_all/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/enumdecl_all/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2675,7 +2675,7 @@ diff -urN a/test/enumdecl_all/BUILD.bazel b/test/enumdecl_all/BUILD.bazel + ], +) diff -urN a/test/enumprefix/BUILD.bazel b/test/enumprefix/BUILD.bazel ---- a/test/enumprefix/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/enumprefix/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/enumprefix/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2704,7 +2704,7 @@ diff -urN a/test/enumprefix/BUILD.bazel b/test/enumprefix/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/test/enumstringer/BUILD.bazel b/test/enumstringer/BUILD.bazel ---- a/test/enumstringer/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/enumstringer/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/enumstringer/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2746,7 +2746,7 @@ diff -urN a/test/enumstringer/BUILD.bazel b/test/enumstringer/BUILD.bazel + ], +) diff -urN a/test/example/BUILD.bazel b/test/example/BUILD.bazel ---- a/test/example/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/example/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/example/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,41 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2791,7 +2791,7 @@ diff -urN a/test/example/BUILD.bazel b/test/example/BUILD.bazel + ], +) diff -urN a/test/filedotname/BUILD.bazel b/test/filedotname/BUILD.bazel ---- a/test/filedotname/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/filedotname/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/filedotname/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,36 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2831,7 +2831,7 @@ diff -urN a/test/filedotname/BUILD.bazel b/test/filedotname/BUILD.bazel + ], +) diff -urN a/test/fuzztests/BUILD.bazel b/test/fuzztests/BUILD.bazel ---- a/test/fuzztests/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/fuzztests/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/fuzztests/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2866,7 +2866,7 @@ diff -urN a/test/fuzztests/BUILD.bazel b/test/fuzztests/BUILD.bazel + deps = ["//proto"], +) diff -urN a/test/group/BUILD.bazel b/test/group/BUILD.bazel ---- a/test/group/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/group/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/group/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,36 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2906,7 +2906,7 @@ diff -urN a/test/group/BUILD.bazel b/test/group/BUILD.bazel + ], +) diff -urN a/test/importcustom-issue389/imported/BUILD.bazel b/test/importcustom-issue389/imported/BUILD.bazel ---- a/test/importcustom-issue389/imported/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/importcustom-issue389/imported/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/importcustom-issue389/imported/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2948,7 +2948,7 @@ diff -urN a/test/importcustom-issue389/imported/BUILD.bazel b/test/importcustom- + ], +) diff -urN a/test/importcustom-issue389/importing/BUILD.bazel b/test/importcustom-issue389/importing/BUILD.bazel ---- a/test/importcustom-issue389/importing/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/importcustom-issue389/importing/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/importcustom-issue389/importing/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,37 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2989,7 +2989,7 @@ diff -urN a/test/importcustom-issue389/importing/BUILD.bazel b/test/importcustom + ], +) diff -urN a/test/importdedup/BUILD.bazel b/test/importdedup/BUILD.bazel ---- a/test/importdedup/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/importdedup/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/importdedup/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3024,7 +3024,7 @@ diff -urN a/test/importdedup/BUILD.bazel b/test/importdedup/BUILD.bazel + embed = [":importdedup"], +) diff -urN a/test/importdedup/subpkg/BUILD.bazel b/test/importdedup/subpkg/BUILD.bazel ---- a/test/importdedup/subpkg/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/importdedup/subpkg/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/importdedup/subpkg/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3055,7 +3055,7 @@ diff -urN a/test/importdedup/subpkg/BUILD.bazel b/test/importdedup/subpkg/BUILD. + visibility = ["//visibility:public"], +) diff -urN a/test/importduplicate/BUILD.bazel b/test/importduplicate/BUILD.bazel ---- a/test/importduplicate/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/importduplicate/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/importduplicate/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,43 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3102,7 +3102,7 @@ diff -urN a/test/importduplicate/BUILD.bazel b/test/importduplicate/BUILD.bazel + ], +) diff -urN a/test/importduplicate/proto/BUILD.bazel b/test/importduplicate/proto/BUILD.bazel ---- a/test/importduplicate/proto/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/importduplicate/proto/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/importduplicate/proto/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3141,7 +3141,7 @@ diff -urN a/test/importduplicate/proto/BUILD.bazel b/test/importduplicate/proto/ + ], +) diff -urN a/test/importduplicate/sortkeys/BUILD.bazel b/test/importduplicate/sortkeys/BUILD.bazel ---- a/test/importduplicate/sortkeys/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/importduplicate/sortkeys/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/importduplicate/sortkeys/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3180,7 +3180,7 @@ diff -urN a/test/importduplicate/sortkeys/BUILD.bazel b/test/importduplicate/sor + ], +) diff -urN a/test/indeximport-issue72/BUILD.bazel b/test/indeximport-issue72/BUILD.bazel ---- a/test/indeximport-issue72/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/indeximport-issue72/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/indeximport-issue72/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,37 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3221,7 +3221,7 @@ diff -urN a/test/indeximport-issue72/BUILD.bazel b/test/indeximport-issue72/BUIL + ], +) diff -urN a/test/indeximport-issue72/index/BUILD.bazel b/test/indeximport-issue72/index/BUILD.bazel ---- a/test/indeximport-issue72/index/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/indeximport-issue72/index/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/indeximport-issue72/index/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3260,7 +3260,7 @@ diff -urN a/test/indeximport-issue72/index/BUILD.bazel b/test/indeximport-issue7 + ], +) diff -urN a/test/int64support/BUILD.bazel b/test/int64support/BUILD.bazel ---- a/test/int64support/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/int64support/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/int64support/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,41 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3305,7 +3305,7 @@ diff -urN a/test/int64support/BUILD.bazel b/test/int64support/BUILD.bazel + ], +) diff -urN a/test/issue260/BUILD.bazel b/test/issue260/BUILD.bazel ---- a/test/issue260/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue260/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue260/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,41 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3350,7 +3350,7 @@ diff -urN a/test/issue260/BUILD.bazel b/test/issue260/BUILD.bazel + ], +) diff -urN a/test/issue261/BUILD.bazel b/test/issue261/BUILD.bazel ---- a/test/issue261/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue261/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue261/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3380,7 +3380,7 @@ diff -urN a/test/issue261/BUILD.bazel b/test/issue261/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/test/issue262/BUILD.bazel b/test/issue262/BUILD.bazel ---- a/test/issue262/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue262/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue262/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3409,7 +3409,7 @@ diff -urN a/test/issue262/BUILD.bazel b/test/issue262/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/test/issue270/BUILD.bazel b/test/issue270/BUILD.bazel ---- a/test/issue270/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue270/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue270/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3433,7 +3433,7 @@ diff -urN a/test/issue270/BUILD.bazel b/test/issue270/BUILD.bazel + embed = [":issue270"], +) diff -urN a/test/issue270/a/BUILD.bazel b/test/issue270/a/BUILD.bazel ---- a/test/issue270/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue270/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue270/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,8 @@ +filegroup( @@ -3445,7 +3445,7 @@ diff -urN a/test/issue270/a/BUILD.bazel b/test/issue270/a/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/test/issue270/b/BUILD.bazel b/test/issue270/b/BUILD.bazel ---- a/test/issue270/b/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue270/b/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue270/b/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,5 @@ +filegroup( @@ -3454,7 +3454,7 @@ diff -urN a/test/issue270/b/BUILD.bazel b/test/issue270/b/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/test/issue312/BUILD.bazel b/test/issue312/BUILD.bazel ---- a/test/issue312/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue312/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue312/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3482,7 +3482,7 @@ diff -urN a/test/issue312/BUILD.bazel b/test/issue312/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/test/issue312/events/BUILD.bazel b/test/issue312/events/BUILD.bazel ---- a/test/issue312/events/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue312/events/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue312/events/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,37 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3523,7 +3523,7 @@ diff -urN a/test/issue312/events/BUILD.bazel b/test/issue312/events/BUILD.bazel + ], +) diff -urN a/test/issue322/BUILD.bazel b/test/issue322/BUILD.bazel ---- a/test/issue322/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue322/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue322/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3562,7 +3562,7 @@ diff -urN a/test/issue322/BUILD.bazel b/test/issue322/BUILD.bazel + ], +) diff -urN a/test/issue330/BUILD.bazel b/test/issue330/BUILD.bazel ---- a/test/issue330/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue330/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue330/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3604,7 +3604,7 @@ diff -urN a/test/issue330/BUILD.bazel b/test/issue330/BUILD.bazel + ], +) diff -urN a/test/issue34/BUILD.bazel b/test/issue34/BUILD.bazel ---- a/test/issue34/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue34/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue34/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3639,7 +3639,7 @@ diff -urN a/test/issue34/BUILD.bazel b/test/issue34/BUILD.bazel + deps = ["//proto"], +) diff -urN a/test/issue411/BUILD.bazel b/test/issue411/BUILD.bazel ---- a/test/issue411/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue411/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue411/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,37 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3680,7 +3680,7 @@ diff -urN a/test/issue411/BUILD.bazel b/test/issue411/BUILD.bazel + ], +) diff -urN a/test/issue427/BUILD.bazel b/test/issue427/BUILD.bazel ---- a/test/issue427/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue427/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue427/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,5 @@ +filegroup( @@ -3689,7 +3689,7 @@ diff -urN a/test/issue427/BUILD.bazel b/test/issue427/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/test/issue42order/BUILD.bazel b/test/issue42order/BUILD.bazel ---- a/test/issue42order/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue42order/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue42order/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3724,7 +3724,7 @@ diff -urN a/test/issue42order/BUILD.bazel b/test/issue42order/BUILD.bazel + deps = ["//proto"], +) diff -urN a/test/issue435/BUILD.bazel b/test/issue435/BUILD.bazel ---- a/test/issue435/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue435/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue435/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3759,7 +3759,7 @@ diff -urN a/test/issue435/BUILD.bazel b/test/issue435/BUILD.bazel + deps = ["//proto"], +) diff -urN a/test/issue438/BUILD.bazel b/test/issue438/BUILD.bazel ---- a/test/issue438/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue438/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue438/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3788,7 +3788,7 @@ diff -urN a/test/issue438/BUILD.bazel b/test/issue438/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/test/issue444/BUILD.bazel b/test/issue444/BUILD.bazel ---- a/test/issue444/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue444/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue444/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3822,7 +3822,7 @@ diff -urN a/test/issue444/BUILD.bazel b/test/issue444/BUILD.bazel + embed = [":issue444"], +) diff -urN a/test/issue449/BUILD.bazel b/test/issue449/BUILD.bazel ---- a/test/issue449/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue449/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue449/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3857,7 +3857,7 @@ diff -urN a/test/issue449/BUILD.bazel b/test/issue449/BUILD.bazel + deps = ["//proto"], +) diff -urN a/test/issue498/BUILD.bazel b/test/issue498/BUILD.bazel ---- a/test/issue498/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue498/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue498/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3896,7 +3896,7 @@ diff -urN a/test/issue498/BUILD.bazel b/test/issue498/BUILD.bazel + ], +) diff -urN a/test/issue503/BUILD.bazel b/test/issue503/BUILD.bazel ---- a/test/issue503/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue503/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue503/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3931,7 +3931,7 @@ diff -urN a/test/issue503/BUILD.bazel b/test/issue503/BUILD.bazel + deps = ["//proto"], +) diff -urN a/test/issue530/BUILD.bazel b/test/issue530/BUILD.bazel ---- a/test/issue530/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue530/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue530/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,39 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3974,7 +3974,7 @@ diff -urN a/test/issue530/BUILD.bazel b/test/issue530/BUILD.bazel + ], +) diff -urN a/test/issue617/BUILD.bazel b/test/issue617/BUILD.bazel ---- a/test/issue617/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue617/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue617/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -4002,7 +4002,7 @@ diff -urN a/test/issue617/BUILD.bazel b/test/issue617/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/test/issue620/BUILD.bazel b/test/issue620/BUILD.bazel ---- a/test/issue620/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue620/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue620/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -4037,7 +4037,7 @@ diff -urN a/test/issue620/BUILD.bazel b/test/issue620/BUILD.bazel + deps = ["//proto"], +) diff -urN a/test/issue630/BUILD.bazel b/test/issue630/BUILD.bazel ---- a/test/issue630/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue630/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue630/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -4071,7 +4071,7 @@ diff -urN a/test/issue630/BUILD.bazel b/test/issue630/BUILD.bazel + embed = [":issue630"], +) diff -urN a/test/issue8/BUILD.bazel b/test/issue8/BUILD.bazel ---- a/test/issue8/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/issue8/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/issue8/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -4110,7 +4110,7 @@ diff -urN a/test/issue8/BUILD.bazel b/test/issue8/BUILD.bazel + ], +) diff -urN a/test/jsonpb-gogo/BUILD.bazel b/test/jsonpb-gogo/BUILD.bazel ---- a/test/jsonpb-gogo/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/jsonpb-gogo/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/jsonpb-gogo/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -4135,7 +4135,7 @@ diff -urN a/test/jsonpb-gogo/BUILD.bazel b/test/jsonpb-gogo/BUILD.bazel + deps = ["//jsonpb"], +) diff -urN a/test/mapdefaults/BUILD.bazel b/test/mapdefaults/BUILD.bazel ---- a/test/mapdefaults/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/mapdefaults/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/mapdefaults/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -4160,7 +4160,7 @@ diff -urN a/test/mapdefaults/BUILD.bazel b/test/mapdefaults/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/test/mapdefaults/combos/both/BUILD.bazel b/test/mapdefaults/combos/both/BUILD.bazel ---- a/test/mapdefaults/combos/both/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/mapdefaults/combos/both/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/mapdefaults/combos/both/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,41 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -4205,7 +4205,7 @@ diff -urN a/test/mapdefaults/combos/both/BUILD.bazel b/test/mapdefaults/combos/b + ], +) diff -urN a/test/mapdefaults/combos/marshaler/BUILD.bazel b/test/mapdefaults/combos/marshaler/BUILD.bazel ---- a/test/mapdefaults/combos/marshaler/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/mapdefaults/combos/marshaler/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/mapdefaults/combos/marshaler/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -4249,7 +4249,7 @@ diff -urN a/test/mapdefaults/combos/marshaler/BUILD.bazel b/test/mapdefaults/com + ], +) diff -urN a/test/mapdefaults/combos/neither/BUILD.bazel b/test/mapdefaults/combos/neither/BUILD.bazel ---- a/test/mapdefaults/combos/neither/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/mapdefaults/combos/neither/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/mapdefaults/combos/neither/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -4293,7 +4293,7 @@ diff -urN a/test/mapdefaults/combos/neither/BUILD.bazel b/test/mapdefaults/combo + ], +) diff -urN a/test/mapdefaults/combos/unmarshaler/BUILD.bazel b/test/mapdefaults/combos/unmarshaler/BUILD.bazel ---- a/test/mapdefaults/combos/unmarshaler/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/mapdefaults/combos/unmarshaler/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/mapdefaults/combos/unmarshaler/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,41 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -4338,7 +4338,7 @@ diff -urN a/test/mapdefaults/combos/unmarshaler/BUILD.bazel b/test/mapdefaults/c + ], +) diff -urN a/test/mapsproto2/BUILD.bazel b/test/mapsproto2/BUILD.bazel ---- a/test/mapsproto2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/mapsproto2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/mapsproto2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -4365,7 +4365,7 @@ diff -urN a/test/mapsproto2/BUILD.bazel b/test/mapsproto2/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/test/mapsproto2/combos/both/BUILD.bazel b/test/mapsproto2/combos/both/BUILD.bazel ---- a/test/mapsproto2/combos/both/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/mapsproto2/combos/both/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/mapsproto2/combos/both/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -4411,7 +4411,7 @@ diff -urN a/test/mapsproto2/combos/both/BUILD.bazel b/test/mapsproto2/combos/bot + ], +) diff -urN a/test/mapsproto2/combos/marshaler/BUILD.bazel b/test/mapsproto2/combos/marshaler/BUILD.bazel ---- a/test/mapsproto2/combos/marshaler/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/mapsproto2/combos/marshaler/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/mapsproto2/combos/marshaler/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -4457,7 +4457,7 @@ diff -urN a/test/mapsproto2/combos/marshaler/BUILD.bazel b/test/mapsproto2/combo + ], +) diff -urN a/test/mapsproto2/combos/neither/BUILD.bazel b/test/mapsproto2/combos/neither/BUILD.bazel ---- a/test/mapsproto2/combos/neither/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/mapsproto2/combos/neither/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/mapsproto2/combos/neither/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -4503,7 +4503,7 @@ diff -urN a/test/mapsproto2/combos/neither/BUILD.bazel b/test/mapsproto2/combos/ + ], +) diff -urN a/test/mapsproto2/combos/unmarshaler/BUILD.bazel b/test/mapsproto2/combos/unmarshaler/BUILD.bazel ---- a/test/mapsproto2/combos/unmarshaler/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/mapsproto2/combos/unmarshaler/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/mapsproto2/combos/unmarshaler/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -4549,7 +4549,7 @@ diff -urN a/test/mapsproto2/combos/unmarshaler/BUILD.bazel b/test/mapsproto2/com + ], +) diff -urN a/test/merge/BUILD.bazel b/test/merge/BUILD.bazel ---- a/test/merge/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/merge/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/merge/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -4584,7 +4584,7 @@ diff -urN a/test/merge/BUILD.bazel b/test/merge/BUILD.bazel + deps = ["//proto"], +) diff -urN a/test/mixbench/BUILD.bazel b/test/mixbench/BUILD.bazel ---- a/test/mixbench/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/mixbench/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/mixbench/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -4602,7 +4602,7 @@ diff -urN a/test/mixbench/BUILD.bazel b/test/mixbench/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/test/moredefaults/BUILD.bazel b/test/moredefaults/BUILD.bazel ---- a/test/moredefaults/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/moredefaults/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/moredefaults/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -4646,7 +4646,7 @@ diff -urN a/test/moredefaults/BUILD.bazel b/test/moredefaults/BUILD.bazel + ], +) diff -urN a/test/nopackage/BUILD.bazel b/test/nopackage/BUILD.bazel ---- a/test/nopackage/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/nopackage/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/nopackage/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -4677,7 +4677,7 @@ diff -urN a/test/nopackage/BUILD.bazel b/test/nopackage/BUILD.bazel + embed = [":nopackage"], +) diff -urN a/test/oneof/BUILD.bazel b/test/oneof/BUILD.bazel ---- a/test/oneof/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/oneof/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/oneof/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -4701,7 +4701,7 @@ diff -urN a/test/oneof/BUILD.bazel b/test/oneof/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/test/oneof/combos/both/BUILD.bazel b/test/oneof/combos/both/BUILD.bazel ---- a/test/oneof/combos/both/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/oneof/combos/both/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/oneof/combos/both/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -4743,7 +4743,7 @@ diff -urN a/test/oneof/combos/both/BUILD.bazel b/test/oneof/combos/both/BUILD.ba + ], +) diff -urN a/test/oneof/combos/marshaler/BUILD.bazel b/test/oneof/combos/marshaler/BUILD.bazel ---- a/test/oneof/combos/marshaler/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/oneof/combos/marshaler/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/oneof/combos/marshaler/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -4785,7 +4785,7 @@ diff -urN a/test/oneof/combos/marshaler/BUILD.bazel b/test/oneof/combos/marshale + ], +) diff -urN a/test/oneof/combos/neither/BUILD.bazel b/test/oneof/combos/neither/BUILD.bazel ---- a/test/oneof/combos/neither/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/oneof/combos/neither/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/oneof/combos/neither/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -4827,7 +4827,7 @@ diff -urN a/test/oneof/combos/neither/BUILD.bazel b/test/oneof/combos/neither/BU + ], +) diff -urN a/test/oneof/combos/unmarshaler/BUILD.bazel b/test/oneof/combos/unmarshaler/BUILD.bazel ---- a/test/oneof/combos/unmarshaler/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/oneof/combos/unmarshaler/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/oneof/combos/unmarshaler/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -4869,7 +4869,7 @@ diff -urN a/test/oneof/combos/unmarshaler/BUILD.bazel b/test/oneof/combos/unmars + ], +) diff -urN a/test/oneof3/BUILD.bazel b/test/oneof3/BUILD.bazel ---- a/test/oneof3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/oneof3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/oneof3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -4893,7 +4893,7 @@ diff -urN a/test/oneof3/BUILD.bazel b/test/oneof3/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/test/oneof3/combos/both/BUILD.bazel b/test/oneof3/combos/both/BUILD.bazel ---- a/test/oneof3/combos/both/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/oneof3/combos/both/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/oneof3/combos/both/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,36 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -4933,7 +4933,7 @@ diff -urN a/test/oneof3/combos/both/BUILD.bazel b/test/oneof3/combos/both/BUILD. + ], +) diff -urN a/test/oneof3/combos/marshaler/BUILD.bazel b/test/oneof3/combos/marshaler/BUILD.bazel ---- a/test/oneof3/combos/marshaler/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/oneof3/combos/marshaler/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/oneof3/combos/marshaler/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,36 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -4973,7 +4973,7 @@ diff -urN a/test/oneof3/combos/marshaler/BUILD.bazel b/test/oneof3/combos/marsha + ], +) diff -urN a/test/oneof3/combos/neither/BUILD.bazel b/test/oneof3/combos/neither/BUILD.bazel ---- a/test/oneof3/combos/neither/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/oneof3/combos/neither/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/oneof3/combos/neither/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,36 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5013,7 +5013,7 @@ diff -urN a/test/oneof3/combos/neither/BUILD.bazel b/test/oneof3/combos/neither/ + ], +) diff -urN a/test/oneof3/combos/unmarshaler/BUILD.bazel b/test/oneof3/combos/unmarshaler/BUILD.bazel ---- a/test/oneof3/combos/unmarshaler/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/oneof3/combos/unmarshaler/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/oneof3/combos/unmarshaler/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,36 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5053,7 +5053,7 @@ diff -urN a/test/oneof3/combos/unmarshaler/BUILD.bazel b/test/oneof3/combos/unma + ], +) diff -urN a/test/oneofembed/BUILD.bazel b/test/oneofembed/BUILD.bazel ---- a/test/oneofembed/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/oneofembed/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/oneofembed/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5092,7 +5092,7 @@ diff -urN a/test/oneofembed/BUILD.bazel b/test/oneofembed/BUILD.bazel + ], +) diff -urN a/test/packed/BUILD.bazel b/test/packed/BUILD.bazel ---- a/test/packed/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/packed/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/packed/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,34 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5130,7 +5130,7 @@ diff -urN a/test/packed/BUILD.bazel b/test/packed/BUILD.bazel + deps = ["//proto"], +) diff -urN a/test/proto3extension/BUILD.bazel b/test/proto3extension/BUILD.bazel ---- a/test/proto3extension/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/proto3extension/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/proto3extension/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -5158,7 +5158,7 @@ diff -urN a/test/proto3extension/BUILD.bazel b/test/proto3extension/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/test/protobuffer/BUILD.bazel b/test/protobuffer/BUILD.bazel ---- a/test/protobuffer/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/protobuffer/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/protobuffer/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5193,7 +5193,7 @@ diff -urN a/test/protobuffer/BUILD.bazel b/test/protobuffer/BUILD.bazel + deps = ["//proto"], +) diff -urN a/test/protosize/BUILD.bazel b/test/protosize/BUILD.bazel ---- a/test/protosize/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/protosize/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/protosize/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5235,7 +5235,7 @@ diff -urN a/test/protosize/BUILD.bazel b/test/protosize/BUILD.bazel + ], +) diff -urN a/test/registration/BUILD.bazel b/test/registration/BUILD.bazel ---- a/test/registration/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/registration/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/registration/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,5 @@ +filegroup( @@ -5244,7 +5244,7 @@ diff -urN a/test/registration/BUILD.bazel b/test/registration/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/test/required/BUILD.bazel b/test/required/BUILD.bazel ---- a/test/required/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/required/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/required/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,34 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5282,7 +5282,7 @@ diff -urN a/test/required/BUILD.bazel b/test/required/BUILD.bazel + ], +) diff -urN a/test/setextensionbytes/BUILD.bazel b/test/setextensionbytes/BUILD.bazel ---- a/test/setextensionbytes/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/setextensionbytes/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/setextensionbytes/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5317,7 +5317,7 @@ diff -urN a/test/setextensionbytes/BUILD.bazel b/test/setextensionbytes/BUILD.ba + deps = ["//proto"], +) diff -urN a/test/sizerconflict/BUILD.bazel b/test/sizerconflict/BUILD.bazel ---- a/test/sizerconflict/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/sizerconflict/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/sizerconflict/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5347,7 +5347,7 @@ diff -urN a/test/sizerconflict/BUILD.bazel b/test/sizerconflict/BUILD.bazel + embed = [":sizerconflict"], +) diff -urN a/test/sizeunderscore/BUILD.bazel b/test/sizeunderscore/BUILD.bazel ---- a/test/sizeunderscore/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/sizeunderscore/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/sizeunderscore/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5386,7 +5386,7 @@ diff -urN a/test/sizeunderscore/BUILD.bazel b/test/sizeunderscore/BUILD.bazel + ], +) diff -urN a/test/stdtypes/BUILD.bazel b/test/stdtypes/BUILD.bazel ---- a/test/stdtypes/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/stdtypes/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/stdtypes/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,41 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5431,7 +5431,7 @@ diff -urN a/test/stdtypes/BUILD.bazel b/test/stdtypes/BUILD.bazel + ], +) diff -urN a/test/tags/BUILD.bazel b/test/tags/BUILD.bazel ---- a/test/tags/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/tags/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/tags/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5468,7 +5468,7 @@ diff -urN a/test/tags/BUILD.bazel b/test/tags/BUILD.bazel + embed = [":tags"], +) diff -urN a/test/theproto3/BUILD.bazel b/test/theproto3/BUILD.bazel ---- a/test/theproto3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/theproto3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/theproto3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -5497,7 +5497,7 @@ diff -urN a/test/theproto3/BUILD.bazel b/test/theproto3/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/test/theproto3/combos/both/BUILD.bazel b/test/theproto3/combos/both/BUILD.bazel ---- a/test/theproto3/combos/both/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/theproto3/combos/both/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/theproto3/combos/both/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,43 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5544,7 +5544,7 @@ diff -urN a/test/theproto3/combos/both/BUILD.bazel b/test/theproto3/combos/both/ + ], +) diff -urN a/test/theproto3/combos/marshaler/BUILD.bazel b/test/theproto3/combos/marshaler/BUILD.bazel ---- a/test/theproto3/combos/marshaler/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/theproto3/combos/marshaler/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/theproto3/combos/marshaler/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,43 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5591,7 +5591,7 @@ diff -urN a/test/theproto3/combos/marshaler/BUILD.bazel b/test/theproto3/combos/ + ], +) diff -urN a/test/theproto3/combos/neither/BUILD.bazel b/test/theproto3/combos/neither/BUILD.bazel ---- a/test/theproto3/combos/neither/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/theproto3/combos/neither/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/theproto3/combos/neither/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,43 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5638,7 +5638,7 @@ diff -urN a/test/theproto3/combos/neither/BUILD.bazel b/test/theproto3/combos/ne + ], +) diff -urN a/test/theproto3/combos/unmarshaler/BUILD.bazel b/test/theproto3/combos/unmarshaler/BUILD.bazel ---- a/test/theproto3/combos/unmarshaler/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/theproto3/combos/unmarshaler/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/theproto3/combos/unmarshaler/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,43 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5685,7 +5685,7 @@ diff -urN a/test/theproto3/combos/unmarshaler/BUILD.bazel b/test/theproto3/combo + ], +) diff -urN a/test/typedecl/BUILD.bazel b/test/typedecl/BUILD.bazel ---- a/test/typedecl/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/typedecl/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/typedecl/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,39 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5728,7 +5728,7 @@ diff -urN a/test/typedecl/BUILD.bazel b/test/typedecl/BUILD.bazel + ], +) diff -urN a/test/typedecl_all/BUILD.bazel b/test/typedecl_all/BUILD.bazel ---- a/test/typedecl_all/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/typedecl_all/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/typedecl_all/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,39 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5771,7 +5771,7 @@ diff -urN a/test/typedecl_all/BUILD.bazel b/test/typedecl_all/BUILD.bazel + ], +) diff -urN a/test/typedeclimport/BUILD.bazel b/test/typedeclimport/BUILD.bazel ---- a/test/typedeclimport/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/typedeclimport/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/typedeclimport/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,34 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5809,7 +5809,7 @@ diff -urN a/test/typedeclimport/BUILD.bazel b/test/typedeclimport/BUILD.bazel + embed = [":typedeclimport"], +) diff -urN a/test/typedeclimport/subpkg/BUILD.bazel b/test/typedeclimport/subpkg/BUILD.bazel ---- a/test/typedeclimport/subpkg/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/typedeclimport/subpkg/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/typedeclimport/subpkg/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -5837,7 +5837,7 @@ diff -urN a/test/typedeclimport/subpkg/BUILD.bazel b/test/typedeclimport/subpkg/ + visibility = ["//visibility:public"], +) diff -urN a/test/types/BUILD.bazel b/test/types/BUILD.bazel ---- a/test/types/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/types/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/types/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,5 @@ +filegroup( @@ -5846,7 +5846,7 @@ diff -urN a/test/types/BUILD.bazel b/test/types/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/test/types/combos/both/BUILD.bazel b/test/types/combos/both/BUILD.bazel ---- a/test/types/combos/both/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/types/combos/both/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/types/combos/both/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5890,7 +5890,7 @@ diff -urN a/test/types/combos/both/BUILD.bazel b/test/types/combos/both/BUILD.ba + ], +) diff -urN a/test/types/combos/marshaler/BUILD.bazel b/test/types/combos/marshaler/BUILD.bazel ---- a/test/types/combos/marshaler/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/types/combos/marshaler/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/types/combos/marshaler/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5934,7 +5934,7 @@ diff -urN a/test/types/combos/marshaler/BUILD.bazel b/test/types/combos/marshale + ], +) diff -urN a/test/types/combos/neither/BUILD.bazel b/test/types/combos/neither/BUILD.bazel ---- a/test/types/combos/neither/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/types/combos/neither/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/types/combos/neither/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5978,7 +5978,7 @@ diff -urN a/test/types/combos/neither/BUILD.bazel b/test/types/combos/neither/BU + ], +) diff -urN a/test/types/combos/unmarshaler/BUILD.bazel b/test/types/combos/unmarshaler/BUILD.bazel ---- a/test/types/combos/unmarshaler/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/types/combos/unmarshaler/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/types/combos/unmarshaler/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -6022,7 +6022,7 @@ diff -urN a/test/types/combos/unmarshaler/BUILD.bazel b/test/types/combos/unmars + ], +) diff -urN a/test/unmarshalmerge/BUILD.bazel b/test/unmarshalmerge/BUILD.bazel ---- a/test/unmarshalmerge/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/unmarshalmerge/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/unmarshalmerge/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -6064,7 +6064,7 @@ diff -urN a/test/unmarshalmerge/BUILD.bazel b/test/unmarshalmerge/BUILD.bazel + ], +) diff -urN a/test/unrecognized/BUILD.bazel b/test/unrecognized/BUILD.bazel ---- a/test/unrecognized/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/unrecognized/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/unrecognized/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,39 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -6107,7 +6107,7 @@ diff -urN a/test/unrecognized/BUILD.bazel b/test/unrecognized/BUILD.bazel + ], +) diff -urN a/test/unrecognizedgroup/BUILD.bazel b/test/unrecognizedgroup/BUILD.bazel ---- a/test/unrecognizedgroup/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/unrecognizedgroup/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/unrecognizedgroup/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,39 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -6150,7 +6150,7 @@ diff -urN a/test/unrecognizedgroup/BUILD.bazel b/test/unrecognizedgroup/BUILD.ba + ], +) diff -urN a/test/xxxfields/BUILD.bazel b/test/xxxfields/BUILD.bazel ---- a/test/xxxfields/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/test/xxxfields/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/test/xxxfields/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -6189,7 +6189,7 @@ diff -urN a/test/xxxfields/BUILD.bazel b/test/xxxfields/BUILD.bazel + ], +) diff -urN a/types/BUILD.bazel b/types/BUILD.bazel ---- a/types/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/types/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/types/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,51 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -6244,7 +6244,7 @@ diff -urN a/types/BUILD.bazel b/types/BUILD.bazel + ], +) diff -urN a/vanity/BUILD.bazel b/vanity/BUILD.bazel ---- a/vanity/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/vanity/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/vanity/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6273,7 +6273,7 @@ diff -urN a/vanity/BUILD.bazel b/vanity/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/vanity/command/BUILD.bazel b/vanity/command/BUILD.bazel ---- a/vanity/command/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/vanity/command/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/vanity/command/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,36 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6313,7 +6313,7 @@ diff -urN a/vanity/command/BUILD.bazel b/vanity/command/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/vanity/test/BUILD.bazel b/vanity/test/BUILD.bazel ---- a/vanity/test/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/vanity/test/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/vanity/test/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -6352,7 +6352,7 @@ diff -urN a/vanity/test/BUILD.bazel b/vanity/test/BUILD.bazel + ], +) diff -urN a/vanity/test/fast/BUILD.bazel b/vanity/test/fast/BUILD.bazel ---- a/vanity/test/fast/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/vanity/test/fast/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/vanity/test/fast/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6378,7 +6378,7 @@ diff -urN a/vanity/test/fast/BUILD.bazel b/vanity/test/fast/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/vanity/test/faster/BUILD.bazel b/vanity/test/faster/BUILD.bazel ---- a/vanity/test/faster/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/vanity/test/faster/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/vanity/test/faster/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6404,7 +6404,7 @@ diff -urN a/vanity/test/faster/BUILD.bazel b/vanity/test/faster/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/vanity/test/slick/BUILD.bazel b/vanity/test/slick/BUILD.bazel ---- a/vanity/test/slick/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/vanity/test/slick/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/vanity/test/slick/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6430,7 +6430,7 @@ diff -urN a/vanity/test/slick/BUILD.bazel b/vanity/test/slick/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/version/BUILD.bazel b/version/BUILD.bazel ---- a/version/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/version/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/version/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") diff --git a/third_party/com_github_golang_protobuf-gazelle.patch b/third_party/com_github_golang_protobuf-gazelle.patch index 399ec60f10..19040215d8 100644 --- a/third_party/com_github_golang_protobuf-gazelle.patch +++ b/third_party/com_github_golang_protobuf-gazelle.patch @@ -1,5 +1,5 @@ diff -urN a/descriptor/BUILD.bazel b/descriptor/BUILD.bazel ---- a/descriptor/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/descriptor/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/descriptor/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,46 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -49,7 +49,7 @@ diff -urN a/descriptor/BUILD.bazel b/descriptor/BUILD.bazel + ], +) diff -urN a/internal/cmd/generate-alias/BUILD.bazel b/internal/cmd/generate-alias/BUILD.bazel ---- a/internal/cmd/generate-alias/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/cmd/generate-alias/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/cmd/generate-alias/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -82,7 +82,7 @@ diff -urN a/internal/cmd/generate-alias/BUILD.bazel b/internal/cmd/generate-alia + visibility = ["//:__subpackages__"], +) diff -urN a/internal/gengogrpc/BUILD.bazel b/internal/gengogrpc/BUILD.bazel ---- a/internal/gengogrpc/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/gengogrpc/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/gengogrpc/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -104,7 +104,7 @@ diff -urN a/internal/gengogrpc/BUILD.bazel b/internal/gengogrpc/BUILD.bazel + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/jsonpb_proto/BUILD.bazel b/internal/testprotos/jsonpb_proto/BUILD.bazel ---- a/internal/testprotos/jsonpb_proto/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/jsonpb_proto/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/jsonpb_proto/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -133,7 +133,7 @@ diff -urN a/internal/testprotos/jsonpb_proto/BUILD.bazel b/internal/testprotos/j + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/proto2_proto/BUILD.bazel b/internal/testprotos/proto2_proto/BUILD.bazel ---- a/internal/testprotos/proto2_proto/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/proto2_proto/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/proto2_proto/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -152,7 +152,7 @@ diff -urN a/internal/testprotos/proto2_proto/BUILD.bazel b/internal/testprotos/p + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/proto3_proto/BUILD.bazel b/internal/testprotos/proto3_proto/BUILD.bazel ---- a/internal/testprotos/proto3_proto/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/proto3_proto/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/proto3_proto/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -175,7 +175,7 @@ diff -urN a/internal/testprotos/proto3_proto/BUILD.bazel b/internal/testprotos/p + visibility = ["//:__subpackages__"], +) diff -urN a/jsonpb/BUILD.bazel b/jsonpb/BUILD.bazel ---- a/jsonpb/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/jsonpb/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/jsonpb/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,50 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -229,9 +229,9 @@ diff -urN a/jsonpb/BUILD.bazel b/jsonpb/BUILD.bazel + ], +) diff -urN a/proto/BUILD.bazel b/proto/BUILD.bazel ---- a/proto/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/proto/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/proto/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,60 @@ +@@ -0,0 +1,61 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( @@ -256,6 +256,7 @@ diff -urN a/proto/BUILD.bazel b/proto/BUILD.bazel + "@org_golang_google_protobuf//encoding/prototext:go_default_library", + "@org_golang_google_protobuf//encoding/protowire:go_default_library", + "@org_golang_google_protobuf//proto:go_default_library", ++ "@org_golang_google_protobuf//reflect/protodesc:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//reflect/protoregistry:go_default_library", + "@org_golang_google_protobuf//runtime/protoiface:go_default_library", @@ -293,7 +294,7 @@ diff -urN a/proto/BUILD.bazel b/proto/BUILD.bazel + ], +) diff -urN a/protoc-gen-go/BUILD.bazel b/protoc-gen-go/BUILD.bazel ---- a/protoc-gen-go/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-go/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-go/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -316,7 +317,7 @@ diff -urN a/protoc-gen-go/BUILD.bazel b/protoc-gen-go/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-go/descriptor/BUILD.bazel b/protoc-gen-go/descriptor/BUILD.bazel ---- a/protoc-gen-go/descriptor/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-go/descriptor/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-go/descriptor/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -339,7 +340,7 @@ diff -urN a/protoc-gen-go/descriptor/BUILD.bazel b/protoc-gen-go/descriptor/BUIL + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-go/generator/BUILD.bazel b/protoc-gen-go/generator/BUILD.bazel ---- a/protoc-gen-go/generator/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-go/generator/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-go/generator/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -376,7 +377,7 @@ diff -urN a/protoc-gen-go/generator/BUILD.bazel b/protoc-gen-go/generator/BUILD. + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-go/generator/internal/remap/BUILD.bazel b/protoc-gen-go/generator/internal/remap/BUILD.bazel ---- a/protoc-gen-go/generator/internal/remap/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-go/generator/internal/remap/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-go/generator/internal/remap/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -400,7 +401,7 @@ diff -urN a/protoc-gen-go/generator/internal/remap/BUILD.bazel b/protoc-gen-go/g + embed = [":remap"], +) diff -urN a/protoc-gen-go/grpc/BUILD.bazel b/protoc-gen-go/grpc/BUILD.bazel ---- a/protoc-gen-go/grpc/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-go/grpc/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-go/grpc/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -422,7 +423,7 @@ diff -urN a/protoc-gen-go/grpc/BUILD.bazel b/protoc-gen-go/grpc/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/protoc-gen-go/plugin/BUILD.bazel b/protoc-gen-go/plugin/BUILD.bazel ---- a/protoc-gen-go/plugin/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protoc-gen-go/plugin/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protoc-gen-go/plugin/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -445,7 +446,7 @@ diff -urN a/protoc-gen-go/plugin/BUILD.bazel b/protoc-gen-go/plugin/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/ptypes/BUILD.bazel b/ptypes/BUILD.bazel ---- a/ptypes/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/ptypes/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/ptypes/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,64 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -513,7 +514,7 @@ diff -urN a/ptypes/BUILD.bazel b/ptypes/BUILD.bazel + ], +) diff -urN a/ptypes/any/BUILD.bazel b/ptypes/any/BUILD.bazel ---- a/ptypes/any/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/ptypes/any/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/ptypes/any/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -536,7 +537,7 @@ diff -urN a/ptypes/any/BUILD.bazel b/ptypes/any/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/ptypes/duration/BUILD.bazel b/ptypes/duration/BUILD.bazel ---- a/ptypes/duration/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/ptypes/duration/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/ptypes/duration/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -559,7 +560,7 @@ diff -urN a/ptypes/duration/BUILD.bazel b/ptypes/duration/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/ptypes/empty/BUILD.bazel b/ptypes/empty/BUILD.bazel ---- a/ptypes/empty/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/ptypes/empty/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/ptypes/empty/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -582,7 +583,7 @@ diff -urN a/ptypes/empty/BUILD.bazel b/ptypes/empty/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/ptypes/struct/BUILD.bazel b/ptypes/struct/BUILD.bazel ---- a/ptypes/struct/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/ptypes/struct/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/ptypes/struct/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -605,7 +606,7 @@ diff -urN a/ptypes/struct/BUILD.bazel b/ptypes/struct/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/ptypes/timestamp/BUILD.bazel b/ptypes/timestamp/BUILD.bazel ---- a/ptypes/timestamp/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/ptypes/timestamp/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/ptypes/timestamp/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -628,7 +629,7 @@ diff -urN a/ptypes/timestamp/BUILD.bazel b/ptypes/timestamp/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/ptypes/wrappers/BUILD.bazel b/ptypes/wrappers/BUILD.bazel ---- a/ptypes/wrappers/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/ptypes/wrappers/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/ptypes/wrappers/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") diff --git a/third_party/go_googleapis-deletebuild.patch b/third_party/go_googleapis-deletebuild.patch index 1906b67052..bd778d6284 100644 --- a/third_party/go_googleapis-deletebuild.patch +++ b/third_party/go_googleapis-deletebuild.patch @@ -1,6 +1,6 @@ diff -urN a/BUILD.bazel b/BUILD.bazel ---- a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,6 +0,0 @@ -load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar") - @@ -8,10 +8,110 @@ diff -urN a/BUILD.bazel b/BUILD.bazel - name = "build_gen", - actual = "@rules_gapic//bazel:build_file_generator", -) +diff -urN a/cloud/containers/workflow/vulnerability/proto/BUILD.bazel b/cloud/containers/workflow/vulnerability/proto/BUILD.bazel +--- a/cloud/containers/workflow/vulnerability/proto/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/cloud/containers/workflow/vulnerability/proto/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,96 +0,0 @@ +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-proto_library( +- name = "package_proto", +- srcs = [ +- "package.proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load("@com_google_googleapis_imports//:imports.bzl", "java_proto_library") +- +-java_proto_library( +- name = "package_java_proto", +- deps = [ +- "package_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load("@com_google_googleapis_imports//:imports.bzl", "py_proto_library") +- +-py_proto_library( +- name = "package_py_pb2", +- deps = [ +- ":package_proto", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "package_php_proto", +- deps = [ +- ":package_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "package_ruby_proto", +- deps = [ +- ":package_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "package_csharp_proto", +- deps = [ +- ":package_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "package_go_proto", +- importpath = "google.golang.org/genproto/googleapis/cloud/containers/workflow/vulnerability/package", +- protos = [ +- ":package_proto", +- ], +-) diff -urN a/gapic/metadata/BUILD.bazel b/gapic/metadata/BUILD.bazel ---- a/gapic/metadata/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/gapic/metadata/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,158 +0,0 @@ +--- a/gapic/metadata/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/gapic/metadata/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,157 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -87,7 +187,6 @@ diff -urN a/gapic/metadata/BUILD.bazel b/gapic/metadata/BUILD.bazel - -py_proto_library( - name = "metadata_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", - deps = [":metadata_moved_proto"], -) - @@ -171,8 +270,8 @@ diff -urN a/gapic/metadata/BUILD.bazel b/gapic/metadata/BUILD.bazel -############################################################################## -# Put your C++ code here diff -urN a/google/actions/sdk/v2/BUILD.bazel b/google/actions/sdk/v2/BUILD.bazel ---- a/google/actions/sdk/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/actions/sdk/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/actions/sdk/v2/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/actions/sdk/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,105 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel @@ -280,8 +379,8 @@ diff -urN a/google/actions/sdk/v2/BUILD.bazel b/google/actions/sdk/v2/BUILD.baze - ], -) diff -urN a/google/actions/sdk/v2/conversation/BUILD.bazel b/google/actions/sdk/v2/conversation/BUILD.bazel ---- a/google/actions/sdk/v2/conversation/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/actions/sdk/v2/conversation/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/actions/sdk/v2/conversation/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/actions/sdk/v2/conversation/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,30 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - @@ -314,8 +413,8 @@ diff -urN a/google/actions/sdk/v2/conversation/BUILD.bazel b/google/actions/sdk/ - "nodejs_gapic_library", -) diff -urN a/google/actions/sdk/v2/conversation/prompt/BUILD.bazel b/google/actions/sdk/v2/conversation/prompt/BUILD.bazel ---- a/google/actions/sdk/v2/conversation/prompt/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/actions/sdk/v2/conversation/prompt/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/actions/sdk/v2/conversation/prompt/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/actions/sdk/v2/conversation/prompt/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,30 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - @@ -348,8 +447,8 @@ diff -urN a/google/actions/sdk/v2/conversation/prompt/BUILD.bazel b/google/actio - "nodejs_gapic_library", -) diff -urN a/google/actions/sdk/v2/conversation/prompt/content/BUILD.bazel b/google/actions/sdk/v2/conversation/prompt/content/BUILD.bazel ---- a/google/actions/sdk/v2/conversation/prompt/content/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/actions/sdk/v2/conversation/prompt/content/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/actions/sdk/v2/conversation/prompt/content/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/actions/sdk/v2/conversation/prompt/content/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,37 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - @@ -389,9 +488,9 @@ diff -urN a/google/actions/sdk/v2/conversation/prompt/content/BUILD.bazel b/goog - "nodejs_gapic_library", -) diff -urN a/google/actions/sdk/v2/interactionmodel/BUILD.bazel b/google/actions/sdk/v2/interactionmodel/BUILD.bazel ---- a/google/actions/sdk/v2/interactionmodel/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/actions/sdk/v2/interactionmodel/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,37 +0,0 @@ +--- a/google/actions/sdk/v2/interactionmodel/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/actions/sdk/v2/interactionmodel/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,38 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -406,6 +505,7 @@ diff -urN a/google/actions/sdk/v2/interactionmodel/BUILD.bazel b/google/actions/ - name = "interactionmodel_proto", - srcs = [ - "conditional_event.proto", +- "entity_set.proto", - "event_handler.proto", - "global_intent_event.proto", - "intent.proto", @@ -430,8 +530,8 @@ diff -urN a/google/actions/sdk/v2/interactionmodel/BUILD.bazel b/google/actions/ - "nodejs_gapic_library", -) diff -urN a/google/actions/sdk/v2/interactionmodel/prompt/BUILD.bazel b/google/actions/sdk/v2/interactionmodel/prompt/BUILD.bazel ---- a/google/actions/sdk/v2/interactionmodel/prompt/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/actions/sdk/v2/interactionmodel/prompt/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/actions/sdk/v2/interactionmodel/prompt/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/actions/sdk/v2/interactionmodel/prompt/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,32 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - @@ -466,8 +566,8 @@ diff -urN a/google/actions/sdk/v2/interactionmodel/prompt/BUILD.bazel b/google/a - "nodejs_gapic_library", -) diff -urN a/google/actions/sdk/v2/interactionmodel/prompt/content/BUILD.bazel b/google/actions/sdk/v2/interactionmodel/prompt/content/BUILD.bazel ---- a/google/actions/sdk/v2/interactionmodel/prompt/content/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/actions/sdk/v2/interactionmodel/prompt/content/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/actions/sdk/v2/interactionmodel/prompt/content/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/actions/sdk/v2/interactionmodel/prompt/content/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,39 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - @@ -509,8 +609,8 @@ diff -urN a/google/actions/sdk/v2/interactionmodel/prompt/content/BUILD.bazel b/ - "nodejs_gapic_library", -) diff -urN a/google/actions/sdk/v2/interactionmodel/type/BUILD.bazel b/google/actions/sdk/v2/interactionmodel/type/BUILD.bazel ---- a/google/actions/sdk/v2/interactionmodel/type/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/actions/sdk/v2/interactionmodel/type/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/actions/sdk/v2/interactionmodel/type/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/actions/sdk/v2/interactionmodel/type/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,33 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - @@ -546,8 +646,8 @@ diff -urN a/google/actions/sdk/v2/interactionmodel/type/BUILD.bazel b/google/act - "nodejs_gapic_library", -) diff -urN a/google/actions/type/BUILD.bazel b/google/actions/type/BUILD.bazel ---- a/google/actions/type/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/actions/type/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/actions/type/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/actions/type/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,167 +0,0 @@ -load("@rules_proto//proto:defs.bzl", "proto_library") - @@ -717,14 +817,14 @@ diff -urN a/google/actions/type/BUILD.bazel b/google/actions/type/BUILD.bazel - ], -) diff -urN a/google/ads/admob/BUILD.bazel b/google/ads/admob/BUILD.bazel ---- a/google/ads/admob/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/ads/admob/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/ads/admob/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/ads/admob/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(["admob_grpc_service_config.json"] + glob(["*.yaml"])) diff -urN a/google/ads/admob/v1/BUILD.bazel b/google/ads/admob/v1/BUILD.bazel ---- a/google/ads/admob/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/ads/admob/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,352 +0,0 @@ +--- a/google/ads/admob/v1/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/ads/admob/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,349 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - @@ -756,8 +856,8 @@ diff -urN a/google/ads/admob/v1/BUILD.bazel b/google/ads/admob/v1/BUILD.bazel - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/type:date_proto", - "//google/cloud:common_resources_proto", +- "//google/type:date_proto", - ], -) - @@ -773,11 +873,11 @@ diff -urN a/google/ads/admob/v1/BUILD.bazel b/google/ads/admob/v1/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "java_grpc_library", -- "java_proto_library", - "java_gapic_assembly_gradle_pkg", - "java_gapic_library", - "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", -) - -java_proto_library( @@ -794,7 +894,7 @@ diff -urN a/google/ads/admob/v1/BUILD.bazel b/google/ads/admob/v1/BUILD.bazel -java_gapic_library( - name = "admob_java_gapic", - srcs = [ -- ":admob_proto_with_info" +- ":admob_proto_with_info", - ], - gapic_yaml = "admob_gapic.yaml", - grpc_service_config = "//google/ads/admob:admob_grpc_service_config.json", @@ -880,10 +980,10 @@ diff -urN a/google/ads/admob/v1/BUILD.bazel b/google/ads/admob/v1/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "py_grpc_library", -- "py_proto_library", - "py_gapic_assembly_pkg", - "py_gapic_library", +- "py_grpc_library", +- "py_proto_library", -) - -py_proto_library( @@ -900,7 +1000,7 @@ diff -urN a/google/ads/admob/v1/BUILD.bazel b/google/ads/admob/v1/BUILD.bazel -py_gapic_library( - name = "admob_py_gapic", - srcs = [ -- ":admob_proto_with_info" +- ":admob_proto_with_info", - ], -) - @@ -938,10 +1038,9 @@ diff -urN a/google/ads/admob/v1/BUILD.bazel b/google/ads/admob/v1/BUILD.bazel - -php_gapic_library( - name = "admob_php_gapic", -- src = ":admob_proto_with_info", +- srcs = [":admob_proto"], - gapic_yaml = "admob_gapic.yaml", - grpc_service_config = None, -- package = "google.ads.admob.v1", - service_yaml = "//google/ads/admob:admob_v1.yaml", - deps = [ - ":admob_php_grpc", @@ -991,8 +1090,8 @@ diff -urN a/google/ads/admob/v1/BUILD.bazel b/google/ads/admob/v1/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -1008,13 +1107,11 @@ diff -urN a/google/ads/admob/v1/BUILD.bazel b/google/ads/admob/v1/BUILD.bazel - deps = [":admob_ruby_proto"], -) - --ruby_gapic_library( +-ruby_cloud_gapic_library( - name = "admob_ruby_gapic", -- src = ":admob_proto_with_info", -- gapic_yaml = "admob_gapic.yaml", +- srcs = [":admob_proto_with_info"], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-admob-v1"], - grpc_service_config = None, -- package = "google.ads.admob.v1", -- service_yaml = "//google/ads/admob:admob_v1.yaml", - deps = [ - ":admob_ruby_grpc", - ":admob_ruby_proto", @@ -1078,8 +1175,8 @@ diff -urN a/google/ads/admob/v1/BUILD.bazel b/google/ads/admob/v1/BUILD.bazel -############################################################################## -# Put your C++ rules here diff -urN a/google/ads/googleads/v4/BUILD.bazel b/google/ads/googleads/v4/BUILD.bazel ---- a/google/ads/googleads/v4/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/ads/googleads/v4/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/ads/googleads/v4/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/ads/googleads/v4/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,262 +0,0 @@ -# Copyright 2020 Google LLC -# @@ -1125,7 +1222,7 @@ diff -urN a/google/ads/googleads/v4/BUILD.bazel b/google/ads/googleads/v4/BUILD. -) - -############################################################################## --# Java (gapic-generator-java) +-# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", @@ -1175,7 +1272,7 @@ diff -urN a/google/ads/googleads/v4/BUILD.bazel b/google/ads/googleads/v4/BUILD. -) - -############################################################################## --# PHP (gapic-generator, GAPICv2) +-# PHP -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", @@ -1199,10 +1296,9 @@ diff -urN a/google/ads/googleads/v4/BUILD.bazel b/google/ads/googleads/v4/BUILD. - -php_gapic_library( - name = "googleads_php_gapic", -- src = ":googleads_proto_with_info", +- srcs = [":googleads_proto"], - gapic_yaml = "googleads_gapic.yaml", - grpc_service_config = "googleads_grpc_service_config.json", -- package = "google.ads.googleads.v4", - service_yaml = "googleads_v4.yaml", - deps = [ - ":googleads_php_grpc", @@ -1230,6 +1326,7 @@ diff -urN a/google/ads/googleads/v4/BUILD.bazel b/google/ads/googleads/v4/BUILD. - srcs = [ - ":googleads_proto_with_info", - ], +- grpc_service_config = "googleads_grpc_service_config.json", - deps = [ - "//google/ads/googleads/v4/services:services_csharp_grpc", - ], @@ -1282,7 +1379,7 @@ diff -urN a/google/ads/googleads/v4/BUILD.bazel b/google/ads/googleads/v4/BUILD. -) - -############################################################################## --# Python (gapic-generator-python) +-# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", @@ -1344,8 +1441,8 @@ diff -urN a/google/ads/googleads/v4/BUILD.bazel b/google/ads/googleads/v4/BUILD. - ], -) diff -urN a/google/ads/googleads/v4/common/BUILD.bazel b/google/ads/googleads/v4/common/BUILD.bazel ---- a/google/ads/googleads/v4/common/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/ads/googleads/v4/common/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/ads/googleads/v4/common/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/ads/googleads/v4/common/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,94 +0,0 @@ -# Copyright 2020 Google LLC -# @@ -1442,8 +1539,8 @@ diff -urN a/google/ads/googleads/v4/common/BUILD.bazel b/google/ads/googleads/v4 - deps = [":common_proto"], -) diff -urN a/google/ads/googleads/v4/enums/BUILD.bazel b/google/ads/googleads/v4/enums/BUILD.bazel ---- a/google/ads/googleads/v4/enums/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/ads/googleads/v4/enums/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/ads/googleads/v4/enums/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/ads/googleads/v4/enums/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,89 +0,0 @@ -# Copyright 2020 Google LLC -# @@ -1535,8 +1632,8 @@ diff -urN a/google/ads/googleads/v4/enums/BUILD.bazel b/google/ads/googleads/v4/ - deps = [":enums_proto"], -) diff -urN a/google/ads/googleads/v4/errors/BUILD.bazel b/google/ads/googleads/v4/errors/BUILD.bazel ---- a/google/ads/googleads/v4/errors/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/ads/googleads/v4/errors/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/ads/googleads/v4/errors/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/ads/googleads/v4/errors/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,94 +0,0 @@ -# Copyright 2020 Google LLC -# @@ -1633,8 +1730,8 @@ diff -urN a/google/ads/googleads/v4/errors/BUILD.bazel b/google/ads/googleads/v4 - deps = [":errors_proto"], -) diff -urN a/google/ads/googleads/v4/resources/BUILD.bazel b/google/ads/googleads/v4/resources/BUILD.bazel ---- a/google/ads/googleads/v4/resources/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/ads/googleads/v4/resources/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/ads/googleads/v4/resources/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/ads/googleads/v4/resources/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,97 +0,0 @@ -# Copyright 2020 Google LLC -# @@ -1734,8 +1831,8 @@ diff -urN a/google/ads/googleads/v4/resources/BUILD.bazel b/google/ads/googleads - deps = [":resources_proto"], -) diff -urN a/google/ads/googleads/v4/services/BUILD.bazel b/google/ads/googleads/v4/services/BUILD.bazel ---- a/google/ads/googleads/v4/services/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/ads/googleads/v4/services/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/ads/googleads/v4/services/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/ads/googleads/v4/services/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,138 +0,0 @@ -# Copyright 2020 Google LLC -# @@ -1876,8 +1973,8 @@ diff -urN a/google/ads/googleads/v4/services/BUILD.bazel b/google/ads/googleads/ - deps = [":services_py_proto"], -) diff -urN a/google/ads/googleads/v5/BUILD.bazel b/google/ads/googleads/v5/BUILD.bazel ---- a/google/ads/googleads/v5/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/ads/googleads/v5/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/ads/googleads/v5/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/ads/googleads/v5/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,262 +0,0 @@ -# Copyright 2020 Google LLC -# @@ -1923,7 +2020,7 @@ diff -urN a/google/ads/googleads/v5/BUILD.bazel b/google/ads/googleads/v5/BUILD. -) - -############################################################################## --# Java (gapic-generator-java) +-# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", @@ -1973,7 +2070,7 @@ diff -urN a/google/ads/googleads/v5/BUILD.bazel b/google/ads/googleads/v5/BUILD. -) - -############################################################################## --# PHP (gapic-generator, GAPICv2) +-# PHP -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", @@ -1997,10 +2094,9 @@ diff -urN a/google/ads/googleads/v5/BUILD.bazel b/google/ads/googleads/v5/BUILD. - -php_gapic_library( - name = "googleads_php_gapic", -- src = ":googleads_proto_with_info", +- srcs = [":googleads_proto"], - gapic_yaml = "googleads_gapic.yaml", - grpc_service_config = "googleads_grpc_service_config.json", -- package = "google.ads.googleads.v5", - service_yaml = "googleads_v5.yaml", - deps = [ - ":googleads_php_grpc", @@ -2028,6 +2124,7 @@ diff -urN a/google/ads/googleads/v5/BUILD.bazel b/google/ads/googleads/v5/BUILD. - srcs = [ - ":googleads_proto_with_info", - ], +- grpc_service_config = "googleads_grpc_service_config.json", - deps = [ - "//google/ads/googleads/v5/services:services_csharp_grpc", - ], @@ -2080,7 +2177,7 @@ diff -urN a/google/ads/googleads/v5/BUILD.bazel b/google/ads/googleads/v5/BUILD. -) - -############################################################################## --# Python (gapic-generator-python) +-# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", @@ -2142,8 +2239,8 @@ diff -urN a/google/ads/googleads/v5/BUILD.bazel b/google/ads/googleads/v5/BUILD. - ], -) diff -urN a/google/ads/googleads/v5/common/BUILD.bazel b/google/ads/googleads/v5/common/BUILD.bazel ---- a/google/ads/googleads/v5/common/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/ads/googleads/v5/common/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/ads/googleads/v5/common/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/ads/googleads/v5/common/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,94 +0,0 @@ -# Copyright 2020 Google LLC -# @@ -2240,8 +2337,8 @@ diff -urN a/google/ads/googleads/v5/common/BUILD.bazel b/google/ads/googleads/v5 - deps = [":common_proto"], -) diff -urN a/google/ads/googleads/v5/enums/BUILD.bazel b/google/ads/googleads/v5/enums/BUILD.bazel ---- a/google/ads/googleads/v5/enums/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/ads/googleads/v5/enums/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/ads/googleads/v5/enums/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/ads/googleads/v5/enums/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,89 +0,0 @@ -# Copyright 2020 Google LLC -# @@ -2333,8 +2430,8 @@ diff -urN a/google/ads/googleads/v5/enums/BUILD.bazel b/google/ads/googleads/v5/ - deps = [":enums_proto"], -) diff -urN a/google/ads/googleads/v5/errors/BUILD.bazel b/google/ads/googleads/v5/errors/BUILD.bazel ---- a/google/ads/googleads/v5/errors/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/ads/googleads/v5/errors/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/ads/googleads/v5/errors/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/ads/googleads/v5/errors/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,94 +0,0 @@ -# Copyright 2020 Google LLC -# @@ -2431,8 +2528,8 @@ diff -urN a/google/ads/googleads/v5/errors/BUILD.bazel b/google/ads/googleads/v5 - deps = [":errors_proto"], -) diff -urN a/google/ads/googleads/v5/resources/BUILD.bazel b/google/ads/googleads/v5/resources/BUILD.bazel ---- a/google/ads/googleads/v5/resources/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/ads/googleads/v5/resources/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/ads/googleads/v5/resources/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/ads/googleads/v5/resources/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,97 +0,0 @@ -# Copyright 2020 Google LLC -# @@ -2532,8 +2629,8 @@ diff -urN a/google/ads/googleads/v5/resources/BUILD.bazel b/google/ads/googleads - deps = [":resources_proto"], -) diff -urN a/google/ads/googleads/v5/services/BUILD.bazel b/google/ads/googleads/v5/services/BUILD.bazel ---- a/google/ads/googleads/v5/services/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/ads/googleads/v5/services/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/ads/googleads/v5/services/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/ads/googleads/v5/services/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,138 +0,0 @@ -# Copyright 2020 Google LLC -# @@ -2674,8 +2771,8 @@ diff -urN a/google/ads/googleads/v5/services/BUILD.bazel b/google/ads/googleads/ - deps = [":services_py_proto"], -) diff -urN a/google/ads/googleads/v6/BUILD.bazel b/google/ads/googleads/v6/BUILD.bazel ---- a/google/ads/googleads/v6/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/ads/googleads/v6/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/ads/googleads/v6/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/ads/googleads/v6/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,262 +0,0 @@ -# Copyright 2020 Google LLC -# @@ -2721,7 +2818,7 @@ diff -urN a/google/ads/googleads/v6/BUILD.bazel b/google/ads/googleads/v6/BUILD. -) - -############################################################################## --# Java (gapic-generator-java) +-# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", @@ -2771,7 +2868,7 @@ diff -urN a/google/ads/googleads/v6/BUILD.bazel b/google/ads/googleads/v6/BUILD. -) - -############################################################################## --# PHP (gapic-generator, GAPICv2) +-# PHP -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", @@ -2795,10 +2892,9 @@ diff -urN a/google/ads/googleads/v6/BUILD.bazel b/google/ads/googleads/v6/BUILD. - -php_gapic_library( - name = "googleads_php_gapic", -- src = ":googleads_proto_with_info", +- srcs = [":googleads_proto"], - gapic_yaml = "googleads_gapic.yaml", - grpc_service_config = "googleads_grpc_service_config.json", -- package = "google.ads.googleads.v6", - service_yaml = "googleads_v6.yaml", - deps = [ - ":googleads_php_grpc", @@ -2826,6 +2922,7 @@ diff -urN a/google/ads/googleads/v6/BUILD.bazel b/google/ads/googleads/v6/BUILD. - srcs = [ - ":googleads_proto_with_info", - ], +- grpc_service_config = "googleads_grpc_service_config.json", - deps = [ - "//google/ads/googleads/v6/services:services_csharp_grpc", - ], @@ -2878,7 +2975,7 @@ diff -urN a/google/ads/googleads/v6/BUILD.bazel b/google/ads/googleads/v6/BUILD. -) - -############################################################################## --# Python (gapic-generator-python) +-# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", @@ -2940,8 +3037,8 @@ diff -urN a/google/ads/googleads/v6/BUILD.bazel b/google/ads/googleads/v6/BUILD. - ], -) diff -urN a/google/ads/googleads/v6/common/BUILD.bazel b/google/ads/googleads/v6/common/BUILD.bazel ---- a/google/ads/googleads/v6/common/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/ads/googleads/v6/common/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/ads/googleads/v6/common/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/ads/googleads/v6/common/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,94 +0,0 @@ -# Copyright 2020 Google LLC -# @@ -3038,8 +3135,8 @@ diff -urN a/google/ads/googleads/v6/common/BUILD.bazel b/google/ads/googleads/v6 - deps = [":common_proto"], -) diff -urN a/google/ads/googleads/v6/enums/BUILD.bazel b/google/ads/googleads/v6/enums/BUILD.bazel ---- a/google/ads/googleads/v6/enums/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/ads/googleads/v6/enums/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/ads/googleads/v6/enums/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/ads/googleads/v6/enums/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,89 +0,0 @@ -# Copyright 2020 Google LLC -# @@ -3131,8 +3228,8 @@ diff -urN a/google/ads/googleads/v6/enums/BUILD.bazel b/google/ads/googleads/v6/ - deps = [":enums_proto"], -) diff -urN a/google/ads/googleads/v6/errors/BUILD.bazel b/google/ads/googleads/v6/errors/BUILD.bazel ---- a/google/ads/googleads/v6/errors/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/ads/googleads/v6/errors/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/ads/googleads/v6/errors/BUILD.bazel 2021-06-30 08:59:09.000000000 -0700 ++++ b/google/ads/googleads/v6/errors/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,94 +0,0 @@ -# Copyright 2020 Google LLC -# @@ -3229,8 +3326,8 @@ diff -urN a/google/ads/googleads/v6/errors/BUILD.bazel b/google/ads/googleads/v6 - deps = [":errors_proto"], -) diff -urN a/google/ads/googleads/v6/resources/BUILD.bazel b/google/ads/googleads/v6/resources/BUILD.bazel ---- a/google/ads/googleads/v6/resources/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/ads/googleads/v6/resources/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/ads/googleads/v6/resources/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/ads/googleads/v6/resources/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,97 +0,0 @@ -# Copyright 2020 Google LLC -# @@ -3330,8 +3427,8 @@ diff -urN a/google/ads/googleads/v6/resources/BUILD.bazel b/google/ads/googleads - deps = [":resources_proto"], -) diff -urN a/google/ads/googleads/v6/services/BUILD.bazel b/google/ads/googleads/v6/services/BUILD.bazel ---- a/google/ads/googleads/v6/services/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/ads/googleads/v6/services/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/ads/googleads/v6/services/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/ads/googleads/v6/services/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,138 +0,0 @@ -# Copyright 2020 Google LLC -# @@ -3471,24 +3568,28 @@ diff -urN a/google/ads/googleads/v6/services/BUILD.bazel b/google/ads/googleads/ - srcs = [":services_proto"], - deps = [":services_py_proto"], -) -diff -urN a/google/analytics/admin/v1alpha/BUILD.bazel b/google/analytics/admin/v1alpha/BUILD.bazel ---- a/google/analytics/admin/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/analytics/admin/v1alpha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,336 +0,0 @@ --# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel -- --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. +diff -urN a/google/ads/googleads/v7/BUILD.bazel b/google/ads/googleads/v7/BUILD.bazel +--- a/google/ads/googleads/v7/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/ads/googleads/v7/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,262 +0,0 @@ +-# Copyright 2020 Google LLC +-# +-# Licensed under the Apache License, Version 2.0 (the "License"); +-# you may not use this file except in compliance with the License. +-# You may obtain a copy of the License at +-# +-# https://www.apache.org/licenses/LICENSE-2.0 +-# +-# Unless required by applicable law or agreed to in writing, software +-# distributed under the License is distributed on an "AS IS" BASIS, +-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-# See the License for the specific language governing permissions and +-# limitations under the License. - --# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) - +-exports_files(["googleads_grpc_service_config.json"] + ["*.yaml"]) +- -############################################################################## -# Common -############################################################################## @@ -3496,28 +3597,21 @@ diff -urN a/google/analytics/admin/v1alpha/BUILD.bazel b/google/analytics/admin/ -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "admin_proto", -- srcs = [ -- "analytics_admin.proto", -- "resources.proto", -- ], +- name = "googleads_proto", +- srcs = [], - deps = [ -- "//google/api:annotations_proto", -- "//google/api:client_proto", -- "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:timestamp_proto", -- "@com_google_protobuf//:wrappers_proto", +- "//google/ads/googleads/v7/common:common_proto", +- "//google/ads/googleads/v7/enums:enums_proto", +- "//google/ads/googleads/v7/errors:errors_proto", +- "//google/ads/googleads/v7/resources:resources_proto", +- "//google/ads/googleads/v7/services:services_proto", - ], -) - -proto_library_with_info( -- name = "admin_proto_with_info", +- name = "googleads_proto_with_info", - deps = [ -- ":admin_proto", -- "//google/cloud:common_resources_proto", +- ":googleads_proto", - ], -) - @@ -3529,120 +3623,45 @@ diff -urN a/google/analytics/admin/v1alpha/BUILD.bazel b/google/analytics/admin/ - "java_gapic_assembly_gradle_pkg", - "java_gapic_library", - "java_gapic_test", -- "java_grpc_library", -- "java_proto_library", --) -- --java_proto_library( -- name = "admin_java_proto", -- deps = [":admin_proto"], --) -- --java_grpc_library( -- name = "admin_java_grpc", -- srcs = [":admin_proto"], -- deps = [":admin_java_proto"], -) - -java_gapic_library( -- name = "admin_java_gapic", -- srcs = [":admin_proto_with_info"], -- grpc_service_config = "admin_grpc_service_config.json", -- test_deps = [ -- ":admin_java_grpc", +- name = "googleads_java_gapic", +- srcs = [ +- ":googleads_proto_with_info", - ], +- gapic_yaml = "googleads_gapic.yaml", +- grpc_service_config = ":googleads_grpc_service_config.json", - deps = [ -- ":admin_java_proto", +- "//google/ads/googleads/v7/common:common_java_proto", +- "//google/ads/googleads/v7/enums:enums_java_proto", +- "//google/ads/googleads/v7/resources:resources_java_proto", +- "//google/ads/googleads/v7/services:services_java_grpc", +- "//google/ads/googleads/v7/services:services_java_proto", - ], -) - +-# TODO(ohren): Add more test classes when java_gapic_test is able to run more +-# than a single test. Having at least one verifies proper compilation at least. -java_gapic_test( -- name = "admin_java_gapic_test_suite", +- name = "googleads_java_gapic_suite", - test_classes = [ +- "com.google.ads.googleads.v7.services.CampaignServiceClientTest", - ], -- runtime_deps = [":admin_java_gapic_test"], +- runtime_deps = [":googleads_java_gapic_test"], -) - --# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-analytics-admin-v1alpha-java", -- deps = [ -- ":admin_java_gapic", -- ":admin_java_grpc", -- ":admin_java_proto", -- ":admin_proto", -- ], --) -- --############################################################################## --# Go --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "go_gapic_assembly_pkg", -- "go_gapic_library", -- "go_proto_library", -- "go_test", --) -- --go_proto_library( -- name = "admin_go_proto", -- compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/analytics/admin/v1alpha", -- protos = [":admin_proto"], -- deps = [ -- "//google/api:annotations_go_proto", -- ], --) -- --go_gapic_library( -- name = "admin_go_gapic", -- srcs = [":admin_proto_with_info"], -- grpc_service_config = "admin_grpc_service_config.json", -- importpath = "google.golang.org/google/analytics/admin/v1alpha;admin", -- service_yaml = "analyticsadmin_v1alpha.yaml", -- deps = [ -- ":admin_go_proto", -- ], --) -- --go_test( -- name = "admin_go_gapic_test", -- srcs = [":admin_go_gapic_srcjar_test"], -- embed = [":admin_go_gapic"], -- importpath = "google.golang.org/google/analytics/admin/v1alpha", --) -- --# Open Source Packages --go_gapic_assembly_pkg( -- name = "gapi-analytics-admin-v1alpha-go", -- deps = [ -- ":admin_go_gapic", -- ":admin_go_gapic_srcjar-test.srcjar", -- ":admin_go_proto", -- ], --) -- --############################################################################## --# Python --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "py_gapic_assembly_pkg", -- "py_gapic_library", --) -- --py_gapic_library( -- name = "admin_py_gapic", -- srcs = [":admin_proto"], -- grpc_service_config = "admin_grpc_service_config.json", --) -- --# Open Source Packages --py_gapic_assembly_pkg( -- name = "google-analytics-admin-v1alpha-py", +- name = "googleads-java", - deps = [ -- ":admin_py_gapic", +- ":googleads_java_gapic", +- "//google/ads/googleads/v7:googleads_proto", +- "//google/ads/googleads/v7/common:common_java_proto", +- "//google/ads/googleads/v7/enums:enums_java_proto", +- "//google/ads/googleads/v7/errors:errors_java_proto", +- "//google/ads/googleads/v7/resources:resources_java_proto", +- "//google/ads/googleads/v7/services:services_java_grpc", +- "//google/ads/googleads/v7/services:services_java_proto", - ], -) - @@ -3658,64 +3677,65 @@ diff -urN a/google/analytics/admin/v1alpha/BUILD.bazel b/google/analytics/admin/ -) - -php_proto_library( -- name = "admin_php_proto", -- deps = [":admin_proto"], +- name = "googleads_php_proto", +- plugin_args = ["aggregate_metadata=google.ads.googleads"], +- deps = [":googleads_proto"], -) - -php_grpc_library( -- name = "admin_php_grpc", -- srcs = [":admin_proto"], -- deps = [":admin_php_proto"], +- name = "googleads_php_grpc", +- srcs = [":googleads_proto"], +- deps = [":googleads_php_proto"], -) - -php_gapic_library( -- name = "admin_php_gapic", -- src = ":admin_proto_with_info", -- gapic_yaml = "analyticsadmin_gapic.yaml", -- grpc_service_config = "admin_grpc_service_config.json", -- package = "google.analytics.admin.v1alpha", -- service_yaml = "analyticsadmin_v1alpha.yaml", +- name = "googleads_php_gapic", +- srcs = [":googleads_proto"], +- gapic_yaml = "googleads_gapic.yaml", +- grpc_service_config = "googleads_grpc_service_config.json", +- service_yaml = "googleads_v7.yaml", - deps = [ -- ":admin_php_grpc", -- ":admin_php_proto", +- ":googleads_php_grpc", +- ":googleads_php_proto", - ], -) - --# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-analytics-admin-v1alpha-php", +- name = "googleads-php", - deps = [ -- ":admin_php_gapic", -- ":admin_php_grpc", -- ":admin_php_proto", +- ":googleads_php_gapic", +- ":googleads_php_grpc", +- ":googleads_php_proto", - ], -) - -############################################################################## --# Node.js +-# C# -############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "nodejs_gapic_assembly_pkg", -- "nodejs_gapic_library", --) +-load("@gapic_generator_csharp//rules_csharp_gapic:csharp_gapic.bzl", "csharp_gapic_library") +-load("@gapic_generator_csharp//rules_csharp_gapic:csharp_gapic_pkg.bzl", "csharp_gapic_assembly_pkg") - --nodejs_gapic_library( -- name = "admin_nodejs_gapic", -- package_name = "@google-analytics/admin", -- src = ":admin_proto_with_info", -- extra_protoc_parameters = ["metadata"], -- grpc_service_config = "admin_grpc_service_config.json", -- package = "google.analytics.admin.v1alpha", -- service_yaml = "analyticsadmin_v1alpha.yaml", -- deps = [], +-csharp_gapic_library( +- name = "googleads_csharp_gapic", +- srcs = [ +- ":googleads_proto_with_info", +- ], +- grpc_service_config = "googleads_grpc_service_config.json", +- deps = [ +- "//google/ads/googleads/v7/services:services_csharp_grpc", +- ], -) - --nodejs_gapic_assembly_pkg( -- name = "google-analytics-admin-v1alpha-nodejs", +-csharp_gapic_assembly_pkg( +- name = "googleads-csharp", - deps = [ -- ":admin_nodejs_gapic", -- ":admin_proto", +- ":googleads_csharp_gapic", +- "//google/ads/googleads/v7/common:common_csharp_proto", +- "//google/ads/googleads/v7/enums:enums_csharp_proto", +- "//google/ads/googleads/v7/errors:errors_csharp_proto", +- "//google/ads/googleads/v7/resources:resources_csharp_proto", +- "//google/ads/googleads/v7/services:services_csharp_grpc", +- "//google/ads/googleads/v7/services:services_csharp_proto", - ], -) - @@ -3724,136 +3744,133 @@ diff -urN a/google/analytics/admin/v1alpha/BUILD.bazel b/google/analytics/admin/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_ads_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", -- "ruby_grpc_library", -- "ruby_proto_library", --) -- --ruby_proto_library( -- name = "admin_ruby_proto", -- deps = [":admin_proto"], --) -- --ruby_grpc_library( -- name = "admin_ruby_grpc", -- srcs = [":admin_proto"], -- deps = [":admin_ruby_proto"], -) - --ruby_gapic_library( -- name = "admin_ruby_gapic", -- src = ":admin_proto_with_info", -- gapic_yaml = "analyticsadmin_gapic.yaml", -- grpc_service_config = "admin_grpc_service_config.json", -- package = "google.analytics.admin.v1alpha", -- service_yaml = "analyticsadmin_v1alpha.yaml", -- deps = [ -- ":admin_ruby_grpc", -- ":admin_ruby_proto", +-ruby_ads_gapic_library( +- name = "googleads_ruby_gapic", +- srcs = ["googleads_proto_with_info"], +- extra_protoc_parameters = [ +- ":gem.:name=google-ads-googleads", +- ":defaults.:service.:default_host=googleads.googleapis.com", +- ":overrides.:namespace.Googleads=GoogleAds", - ], +- grpc_service_config = "googleads_grpc_service_config.json", -) - --# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-analytics-admin-v1alpha-ruby", +- name = "googleads-ruby", - deps = [ -- ":admin_ruby_gapic", -- ":admin_ruby_grpc", -- ":admin_ruby_proto", +- ":googleads_ruby_gapic", +- "//google/ads/googleads/v7/common:common_ruby_proto", +- "//google/ads/googleads/v7/enums:enums_ruby_proto", +- "//google/ads/googleads/v7/errors:errors_ruby_proto", +- "//google/ads/googleads/v7/resources:resources_ruby_proto", +- "//google/ads/googleads/v7/services:services_ruby_grpc", +- "//google/ads/googleads/v7/services:services_ruby_proto", - ], -) - -############################################################################## --# C# +-# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", -- "csharp_grpc_library", -- "csharp_proto_library", --) -- --csharp_proto_library( -- name = "admin_csharp_proto", -- deps = [":admin_proto"], --) -- --csharp_grpc_library( -- name = "admin_csharp_grpc", -- srcs = [":admin_proto"], -- deps = [":admin_csharp_proto"], +- "py_gapic_assembly_pkg", +- "py_gapic_library", -) - --csharp_gapic_library( -- name = "admin_csharp_gapic", -- srcs = [":admin_proto_with_info"], -- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "admin_grpc_service_config.json", -- deps = [ -- ":admin_csharp_grpc", -- ":admin_csharp_proto", +-py_gapic_library( +- name = "googleads_py_gapic", +- srcs = [":googleads_proto_with_info"], +- grpc_service_config = "googleads_grpc_service_config.json", +- opt_args = [ +- "old-naming", +- "lazy-import", +- "python-gapic-name=googleads", +- "python-gapic-templates=ads-templates", - ], -) - --# Open Source Packages --csharp_gapic_assembly_pkg( -- name = "google-analytics-admin-v1alpha-csharp", +-py_gapic_assembly_pkg( +- name = "googleads-py", - deps = [ -- ":admin_csharp_gapic", -- ":admin_csharp_grpc", -- ":admin_csharp_proto", +- ":googleads_py_gapic", +- "//google/ads/googleads/v7/common:common_py_proto", +- "//google/ads/googleads/v7/enums:enums_py_proto", +- "//google/ads/googleads/v7/errors:errors_py_proto", +- "//google/ads/googleads/v7/resources:resources_py_proto", +- "//google/ads/googleads/v7/services:services_py_grpc", +- "//google/ads/googleads/v7/services:services_py_proto", - ], -) - -############################################################################## --# C++ +-# Node.js -############################################################################## --# Put your C++ rules here -diff -urN a/google/analytics/data/v1alpha/BUILD.bazel b/google/analytics/data/v1alpha/BUILD.bazel ---- a/google/analytics/data/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/analytics/data/v1alpha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,334 +0,0 @@ --# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) - --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. +-nodejs_gapic_library( +- name = "googleads_nodejs_gapic", +- package_name = "google-ads", +- src = ":googleads_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "googleads_grpc_service_config.json", +- main_service = "GoogleAdsService", +- package = "google.ads.googleads.v7", +- service_yaml = "googleads_v7.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "googleads-nodejs", +- deps = [ +- ":googleads_nodejs_gapic", +- ":googleads_proto", +- ], +-) +diff -urN a/google/ads/googleads/v7/common/BUILD.bazel b/google/ads/googleads/v7/common/BUILD.bazel +--- a/google/ads/googleads/v7/common/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/ads/googleads/v7/common/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,94 +0,0 @@ +-# Copyright 2020 Google LLC +-# +-# Licensed under the Apache License, Version 2.0 (the "License"); +-# you may not use this file except in compliance with the License. +-# You may obtain a copy of the License at +-# +-# https://www.apache.org/licenses/LICENSE-2.0 +-# +-# Unless required by applicable law or agreed to in writing, software +-# distributed under the License is distributed on an "AS IS" BASIS, +-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-# See the License for the specific language governing permissions and +-# limitations under the License. - --# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") --load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - +-# TODO(ohren): Change srcs to use an enumeration of each individual proto +-# instead of *.proto globbing once the build file generator supports +-# subpackages. -proto_library( -- name = "data_proto", -- srcs = [ -- "analytics_data_api.proto", -- "data.proto", -- ], +- name = "common_proto", +- srcs = glob(["*.proto"]), - deps = [ +- "//google/ads/googleads/v7/enums:enums_proto", - "//google/api:annotations_proto", -- "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- ], --) -- --proto_library_with_info( -- name = "data_proto_with_info", -- deps = [ -- ":data_proto", -- "//google/cloud:common_resources_proto", +- "@com_google_protobuf//:wrappers_proto", - ], -) - @@ -3862,309 +3879,369 @@ diff -urN a/google/analytics/data/v1alpha/BUILD.bazel b/google/analytics/data/v1 -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", -- "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "data_java_proto", -- deps = [":data_proto"], +- name = "common_java_proto", +- deps = [":common_proto"], -) - --java_grpc_library( -- name = "data_java_grpc", -- srcs = [":data_proto"], -- deps = [":data_java_proto"], +-############################################################################## +-# PHP +-############################################################################## +- +-# PHP targets are in the parent directory's BUILD.bazel file to facilitate +-# aggregating metadata using a single underlying call to protoc. +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@gapic_generator_csharp//rules_csharp_gapic:csharp_gapic.bzl", +- "csharp_proto_library", -) - --java_gapic_library( -- name = "data_java_gapic", -- srcs = [":data_proto_with_info"], -- grpc_service_config = "analytics_data_grpc_service_config.json", -- test_deps = [ -- ":data_java_grpc", -- ], -- deps = [ -- ":data_java_proto", -- ], +-csharp_proto_library( +- name = "common_csharp_proto", +- deps = [":common_proto"], -) - --java_gapic_test( -- name = "data_java_gapic_test_suite", -- test_classes = [ -- "com.google.analytics.data.v1alpha.AlphaAnalyticsDataClientTest", -- ], -- runtime_deps = [":data_java_gapic_test"], +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@gapic_generator_ruby//rules_ruby_gapic:ruby_gapic.bzl", +- "ruby_proto_library", -) - --# Open Source Packages --java_gapic_assembly_gradle_pkg( -- name = "google-analytics-data-v1alpha-java", -- deps = [ -- ":data_java_gapic", -- ":data_java_grpc", -- ":data_java_proto", -- ":data_proto", -- ], +-ruby_proto_library( +- name = "common_ruby_proto", +- deps = [":common_proto"], -) - -############################################################################## --# Go +-# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "go_gapic_assembly_pkg", -- "go_gapic_library", -- "go_proto_library", -- "go_test", +- "py_proto_library", -) - --go_proto_library( -- name = "data_go_proto", -- compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/analytics/data/v1alpha", -- protos = [":data_proto"], -- deps = [ -- "//google/api:annotations_go_proto", -- ], +-py_proto_library( +- name = "common_py_proto", +- deps = [":common_proto"], -) +diff -urN a/google/ads/googleads/v7/enums/BUILD.bazel b/google/ads/googleads/v7/enums/BUILD.bazel +--- a/google/ads/googleads/v7/enums/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/ads/googleads/v7/enums/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,89 +0,0 @@ +-# Copyright 2020 Google LLC +-# +-# Licensed under the Apache License, Version 2.0 (the "License"); +-# you may not use this file except in compliance with the License. +-# You may obtain a copy of the License at +-# +-# https://www.apache.org/licenses/LICENSE-2.0 +-# +-# Unless required by applicable law or agreed to in writing, software +-# distributed under the License is distributed on an "AS IS" BASIS, +-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-# See the License for the specific language governing permissions and +-# limitations under the License. - --go_gapic_library( -- name = "data_go_gapic", -- srcs = [":data_proto_with_info"], -- grpc_service_config = "analytics_data_grpc_service_config.json", -- importpath = "google.golang.org/google/analytics/data/v1alpha;data", -- service_yaml = "analyticsdata_v1alpha.yaml", +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-# TODO(ohren): Change srcs to use an enumeration of each individual proto +-# instead of *.proto globbing once the build file generator supports subpackages. +-proto_library( +- name = "enums_proto", +- srcs = glob(["*.proto"]), - deps = [ -- ":data_go_proto", +- "//google/api:annotations_proto", - ], -) - --go_test( -- name = "data_go_gapic_test", -- srcs = [":data_go_gapic_srcjar_test"], -- embed = [":data_go_gapic"], -- importpath = "google.golang.org/google/analytics/data/v1alpha", +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_proto_library", -) - --# Open Source Packages --go_gapic_assembly_pkg( -- name = "gapi-analytics-data-v1alpha-go", -- deps = [ -- ":data_go_gapic", -- ":data_go_gapic_srcjar-test.srcjar", -- ":data_go_proto", -- ], +-java_proto_library( +- name = "enums_java_proto", +- deps = [":enums_proto"], -) - -############################################################################## --# Python +-# PHP -############################################################################## - +-# PHP targets are in the parent directory's BUILD.bazel file to facilitate +-# aggregating metadata using a single underlying call to protoc. +- +-############################################################################## +-# C# +-############################################################################## -load( -- "@com_google_googleapis_imports//:imports.bzl", -- "py_gapic_assembly_pkg", -- "py_gapic_library", +- "@gapic_generator_csharp//rules_csharp_gapic:csharp_gapic.bzl", +- "csharp_proto_library", -) - --py_gapic_library( -- name = "data_py_gapic", -- srcs = [":data_proto"], -- grpc_service_config = "analytics_data_grpc_service_config.json", +-csharp_proto_library( +- name = "enums_csharp_proto", +- deps = [":enums_proto"], -) - --# Open Source Packages --py_gapic_assembly_pkg( -- name = "google-analytics-data-v1alpha-py", -- deps = [ -- ":data_py_gapic", -- ], +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@gapic_generator_ruby//rules_ruby_gapic:ruby_gapic.bzl", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "enums_ruby_proto", +- deps = [":enums_proto"], -) - -############################################################################## --# PHP +-# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "php_gapic_assembly_pkg", -- "php_gapic_library", -- "php_grpc_library", -- "php_proto_library", +- "py_proto_library", -) - --php_proto_library( -- name = "data_php_proto", -- deps = [":data_proto"], +-py_proto_library( +- name = "enums_py_proto", +- deps = [":enums_proto"], -) +diff -urN a/google/ads/googleads/v7/errors/BUILD.bazel b/google/ads/googleads/v7/errors/BUILD.bazel +--- a/google/ads/googleads/v7/errors/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/ads/googleads/v7/errors/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,94 +0,0 @@ +-# Copyright 2020 Google LLC +-# +-# Licensed under the Apache License, Version 2.0 (the "License"); +-# you may not use this file except in compliance with the License. +-# You may obtain a copy of the License at +-# +-# https://www.apache.org/licenses/LICENSE-2.0 +-# +-# Unless required by applicable law or agreed to in writing, software +-# distributed under the License is distributed on an "AS IS" BASIS, +-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-# See the License for the specific language governing permissions and +-# limitations under the License. - --php_grpc_library( -- name = "data_php_grpc", -- srcs = [":data_proto"], -- deps = [":data_php_proto"], --) +-package(default_visibility = ["//visibility:public"]) - --php_gapic_library( -- name = "data_php_gapic", -- src = ":data_proto_with_info", -- gapic_yaml = "analyticsdata_gapic.yaml", -- grpc_service_config = "analytics_data_grpc_service_config.json", -- package = "google.analytics.data.v1alpha", -- service_yaml = "analyticsdata_v1alpha.yaml", -- deps = [ -- ":data_php_grpc", -- ":data_php_proto", -- ], --) +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") - --# Open Source Packages --php_gapic_assembly_pkg( -- name = "google-analytics-data-v1alpha-php", +-# TODO(ohren): Change srcs to use an enumeration of each individual proto +-# instead of *.proto globbing once the build file generator supports +-# subpackages. +-proto_library( +- name = "errors_proto", +- srcs = glob(["*.proto"]), - deps = [ -- ":data_php_gapic", -- ":data_php_grpc", -- ":data_php_proto", +- "//google/ads/googleads/v7/common:common_proto", +- "//google/ads/googleads/v7/enums:enums_proto", +- "//google/api:annotations_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:wrappers_proto", - ], -) - -############################################################################## --# Node.js +-# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "nodejs_gapic_assembly_pkg", -- "nodejs_gapic_library", +- "java_proto_library", -) - --nodejs_gapic_library( -- name = "data_nodejs_gapic", -- package_name = "@google-analytics/data", -- src = ":data_proto_with_info", -- extra_protoc_parameters = ["metadata"], -- grpc_service_config = "analytics_data_grpc_service_config.json", -- package = "google.analytics.data.v1alpha", -- service_yaml = "analyticsdata_v1alpha.yaml", -- deps = [], +-java_proto_library( +- name = "errors_java_proto", +- deps = [":errors_proto"], -) - --nodejs_gapic_assembly_pkg( -- name = "google-analytics-data-v1alpha-nodejs", -- deps = [ -- ":data_nodejs_gapic", -- ":data_proto", -- ], +-############################################################################## +-# PHP +-############################################################################## +- +-# PHP targets are in the parent directory's BUILD.bazel file to facilitate +-# aggregating metadata using a single underlying call to protoc. +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@gapic_generator_csharp//rules_csharp_gapic:csharp_gapic.bzl", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "errors_csharp_proto", +- deps = [":errors_proto"], -) - -############################################################################## -# Ruby -############################################################################## -load( -- "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", -- "ruby_grpc_library", +- "@gapic_generator_ruby//rules_ruby_gapic:ruby_gapic.bzl", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "data_ruby_proto", -- deps = [":data_proto"], +- name = "errors_ruby_proto", +- deps = [":errors_proto"], -) - --ruby_grpc_library( -- name = "data_ruby_grpc", -- srcs = [":data_proto"], -- deps = [":data_ruby_proto"], +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_proto_library", -) - --ruby_gapic_library( -- name = "data_ruby_gapic", -- src = ":data_proto_with_info", -- gapic_yaml = "analyticsdata_gapic.yaml", -- grpc_service_config = "analytics_data_grpc_service_config.json", -- package = "google.analytics.data.v1alpha", -- service_yaml = "analyticsdata_v1alpha.yaml", -- deps = [ -- ":data_ruby_grpc", -- ":data_ruby_proto", -- ], +-py_proto_library( +- name = "errors_py_proto", +- deps = [":errors_proto"], -) +diff -urN a/google/ads/googleads/v7/resources/BUILD.bazel b/google/ads/googleads/v7/resources/BUILD.bazel +--- a/google/ads/googleads/v7/resources/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/ads/googleads/v7/resources/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,97 +0,0 @@ +-# Copyright 2020 Google LLC +-# +-# Licensed under the Apache License, Version 2.0 (the "License"); +-# you may not use this file except in compliance with the License. +-# You may obtain a copy of the License at +-# +-# https://www.apache.org/licenses/LICENSE-2.0 +-# +-# Unless required by applicable law or agreed to in writing, software +-# distributed under the License is distributed on an "AS IS" BASIS, +-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-# See the License for the specific language governing permissions and +-# limitations under the License. - --# Open Source Packages --ruby_gapic_assembly_pkg( -- name = "google-analytics-data-v1alpha-ruby", +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-# TODO(ohren): Change srcs to use an enumeration of each individual proto +-# instead of *.proto globbing once the build file generator supports +-# subpackages. +-proto_library( +- name = "resources_proto", +- srcs = glob(["*.proto"]), - deps = [ -- ":data_ruby_gapic", -- ":data_ruby_grpc", -- ":data_ruby_proto", +- "//google/ads/googleads/v7/common:common_proto", +- "//google/ads/googleads/v7/enums:enums_proto", +- "//google/ads/googleads/v7/errors:errors_proto", +- "//google/api:annotations_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:wrappers_proto", - ], -) - -############################################################################## --# C# +-# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", -- "csharp_grpc_library", -- "csharp_proto_library", +- "java_proto_library", -) - --csharp_proto_library( -- name = "data_csharp_proto", -- deps = [":data_proto"], +-java_proto_library( +- name = "resources_java_proto", +- deps = [":resources_proto"], -) - --csharp_grpc_library( -- name = "data_csharp_grpc", -- srcs = [":data_proto"], -- deps = [":data_csharp_proto"], +-############################################################################## +-# PHP +-############################################################################## +- +-# PHP targets are in the parent directory's BUILD.bazel file to facilitate +-# aggregating metadata using a single underlying call to protoc. +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@gapic_generator_csharp//rules_csharp_gapic:csharp_gapic.bzl", +- "csharp_proto_library", -) - --csharp_gapic_library( -- name = "data_csharp_gapic", -- srcs = [":data_proto_with_info"], -- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "analytics_data_grpc_service_config.json", -- deps = [ -- ":data_csharp_grpc", -- ":data_csharp_proto", -- ], +-csharp_proto_library( +- name = "resources_csharp_proto", +- deps = [":resources_proto"], -) - --# Open Source Packages --csharp_gapic_assembly_pkg( -- name = "google-analytics-data-v1alpha-csharp", -- deps = [ -- ":data_csharp_gapic", -- ":data_csharp_grpc", -- ":data_csharp_proto", -- ], +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@gapic_generator_ruby//rules_ruby_gapic:ruby_gapic.bzl", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "resources_ruby_proto", +- deps = [":resources_proto"], -) - -############################################################################## --# C++ +-# Python -############################################################################## --# Put your C++ rules here -diff -urN a/google/analytics/data/v1beta/BUILD.bazel b/google/analytics/data/v1beta/BUILD.bazel ---- a/google/analytics/data/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/analytics/data/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,341 +0,0 @@ --# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/rules_gapic/tree/master/bazel +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_proto_library", +-) - --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. +-py_proto_library( +- name = "resources_py_proto", +- deps = [":resources_proto"], +-) +diff -urN a/google/ads/googleads/v7/services/BUILD.bazel b/google/ads/googleads/v7/services/BUILD.bazel +--- a/google/ads/googleads/v7/services/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/ads/googleads/v7/services/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,138 +0,0 @@ +-# Copyright 2020 Google LLC +-# +-# Licensed under the Apache License, Version 2.0 (the "License"); +-# you may not use this file except in compliance with the License. +-# You may obtain a copy of the License at +-# +-# https://www.apache.org/licenses/LICENSE-2.0 +-# +-# Unless required by applicable law or agreed to in writing, software +-# distributed under the License is distributed on an "AS IS" BASIS, +-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-# See the License for the specific language governing permissions and +-# limitations under the License. - --# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) - -############################################################################## @@ -4173,25 +4250,33 @@ diff -urN a/google/analytics/data/v1beta/BUILD.bazel b/google/analytics/data/v1b -load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - +-# TODO(ohren): Change srcs to use an enumeration of each individual proto +-# instead of *.proto globbing once the build file generator supports +-# subpackages. -proto_library( -- name = "data_proto", -- srcs = [ -- "analytics_data_api.proto", -- "data.proto", -- ], +- name = "services_proto", +- srcs = glob(["*.proto"]), - deps = [ +- "//google/ads/googleads/v7/common:common_proto", +- "//google/ads/googleads/v7/enums:enums_proto", +- "//google/ads/googleads/v7/errors:errors_proto", +- "//google/ads/googleads/v7/resources:resources_proto", - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "data_proto_with_info", +- name = "services_proto_with_info", - deps = [ -- ":data_proto", -- "//google/cloud:common_resources_proto", +- ":services_proto", - ], -) - @@ -4200,126 +4285,181 @@ diff -urN a/google/analytics/data/v1beta/BUILD.bazel b/google/analytics/data/v1b -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "data_java_proto", -- deps = [":data_proto"], +- name = "services_java_proto", +- deps = [":services_proto"], -) - -java_grpc_library( -- name = "data_java_grpc", -- srcs = [":data_proto"], -- deps = [":data_java_proto"], --) -- --java_gapic_library( -- name = "data_java_gapic", -- srcs = [":data_proto_with_info"], -- grpc_service_config = "analytics_data_grpc_service_config.json", -- test_deps = [ -- ":data_java_grpc", -- ], -- deps = [ -- ":data_java_proto", -- ], +- name = "services_java_grpc", +- srcs = [":services_proto"], +- deps = [":services_java_proto"], -) - --java_gapic_test( -- name = "data_java_gapic_test_suite", -- test_classes = [ -- "com.google.analytics.data.v1beta.BetaAnalyticsDataClientTest", -- ], -- runtime_deps = [":data_java_gapic_test"], --) +-############################################################################## +-# PHP +-############################################################################## - --# Open Source Packages --java_gapic_assembly_gradle_pkg( -- name = "google-analytics-data-v1beta-java", -- deps = [ -- ":data_java_gapic", -- ":data_java_grpc", -- ":data_java_proto", -- ":data_proto", -- ], --) +-# PHP targets are in the parent directory's BUILD.bazel file to facilitate +-# aggregating metadata using a single underlying call to protoc. - -############################################################################## --# Go +-# C# -############################################################################## -load( -- "@com_google_googleapis_imports//:imports.bzl", -- "go_gapic_assembly_pkg", -- "go_gapic_library", -- "go_proto_library", -- "go_test", +- "@gapic_generator_csharp//rules_csharp_gapic:csharp_gapic.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", -) - --go_proto_library( -- name = "data_go_proto", -- compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/analytics/data/v1beta", -- protos = [":data_proto"], -- deps = [ -- "//google/api:annotations_go_proto", -- ], +-csharp_proto_library( +- name = "services_csharp_proto", +- deps = [":services_proto"], -) - --go_gapic_library( -- name = "data_go_gapic", -- srcs = [":data_proto_with_info"], -- grpc_service_config = "analytics_data_grpc_service_config.json", -- importpath = "google.golang.org/google/analytics/data/v1beta;data", -- metadata = True, -- service_yaml = "analyticsdata_v1beta.yaml", -- deps = [ -- ":data_go_proto", -- ], +-csharp_grpc_library( +- name = "services_csharp_grpc", +- srcs = [":services_proto"], +- deps = [":services_csharp_proto"], -) - --go_test( -- name = "data_go_gapic_test", -- srcs = [":data_go_gapic_srcjar_test"], -- embed = [":data_go_gapic"], -- importpath = "google.golang.org/google/analytics/data/v1beta", +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@gapic_generator_ruby//rules_ruby_gapic:ruby_gapic.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", -) - --# Open Source Packages --go_gapic_assembly_pkg( -- name = "gapi-cloud-analytics-data-v1beta-go", +-ruby_proto_library( +- name = "services_ruby_proto", +- deps = [":services_proto"], +-) +- +-ruby_grpc_library( +- name = "services_ruby_grpc", +- srcs = [":services_proto"], +- deps = [":services_ruby_proto"], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_grpc_library", +- "py_proto_library", +-) +- +-py_proto_library( +- name = "services_py_proto", +- deps = [":services_proto"], +-) +- +-py_grpc_library( +- name = "services_py_grpc", +- srcs = [":services_proto"], +- deps = [":services_py_proto"], +-) +diff -urN a/google/ads/googleads/v8/BUILD.bazel b/google/ads/googleads/v8/BUILD.bazel +--- a/google/ads/googleads/v8/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/ads/googleads/v8/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,262 +0,0 @@ +-# Copyright 2020 Google LLC +-# +-# Licensed under the Apache License, Version 2.0 (the "License"); +-# you may not use this file except in compliance with the License. +-# You may obtain a copy of the License at +-# +-# https://www.apache.org/licenses/LICENSE-2.0 +-# +-# Unless required by applicable law or agreed to in writing, software +-# distributed under the License is distributed on an "AS IS" BASIS, +-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-# See the License for the specific language governing permissions and +-# limitations under the License. +- +-package(default_visibility = ["//visibility:public"]) +- +-exports_files(["googleads_grpc_service_config.json"] + ["*.yaml"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "googleads_proto", +- srcs = [], - deps = [ -- ":data_go_gapic", -- ":data_go_gapic_srcjar-metadata.srcjar", -- ":data_go_gapic_srcjar-test.srcjar", -- ":data_go_proto", +- "//google/ads/googleads/v8/common:common_proto", +- "//google/ads/googleads/v8/enums:enums_proto", +- "//google/ads/googleads/v8/errors:errors_proto", +- "//google/ads/googleads/v8/resources:resources_proto", +- "//google/ads/googleads/v8/services:services_proto", +- ], +-) +- +-proto_library_with_info( +- name = "googleads_proto_with_info", +- deps = [ +- ":googleads_proto", - ], -) - -############################################################################## --# Python +-# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "py_gapic_assembly_pkg", -- "py_gapic_library", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", -) - --py_gapic_library( -- name = "data_py_gapic", -- srcs = [":data_proto"], -- grpc_service_config = "analytics_data_grpc_service_config.json", +-java_gapic_library( +- name = "googleads_java_gapic", +- srcs = [ +- ":googleads_proto_with_info", +- ], +- gapic_yaml = "googleads_gapic.yaml", +- grpc_service_config = ":googleads_grpc_service_config.json", +- deps = [ +- "//google/ads/googleads/v8/common:common_java_proto", +- "//google/ads/googleads/v8/enums:enums_java_proto", +- "//google/ads/googleads/v8/resources:resources_java_proto", +- "//google/ads/googleads/v8/services:services_java_grpc", +- "//google/ads/googleads/v8/services:services_java_proto", +- ], -) - --# Open Source Packages --py_gapic_assembly_pkg( -- name = "google-analytics-data-v1beta-py", +-# TODO(ohren): Add more test classes when java_gapic_test is able to run more +-# than a single test. Having at least one verifies proper compilation at least. +-java_gapic_test( +- name = "googleads_java_gapic_suite", +- test_classes = [ +- "com.google.ads.googleads.v8.services.CampaignServiceClientTest", +- ], +- runtime_deps = [":googleads_java_gapic_test"], +-) +- +-java_gapic_assembly_gradle_pkg( +- name = "googleads-java", - deps = [ -- ":data_py_gapic", +- ":googleads_java_gapic", +- "//google/ads/googleads/v8:googleads_proto", +- "//google/ads/googleads/v8/common:common_java_proto", +- "//google/ads/googleads/v8/enums:enums_java_proto", +- "//google/ads/googleads/v8/errors:errors_java_proto", +- "//google/ads/googleads/v8/resources:resources_java_proto", +- "//google/ads/googleads/v8/services:services_java_grpc", +- "//google/ads/googleads/v8/services:services_java_proto", - ], -) - @@ -4335,64 +4475,65 @@ diff -urN a/google/analytics/data/v1beta/BUILD.bazel b/google/analytics/data/v1b -) - -php_proto_library( -- name = "data_php_proto", -- deps = [":data_proto"], +- name = "googleads_php_proto", +- plugin_args = ["aggregate_metadata=google.ads.googleads"], +- deps = [":googleads_proto"], -) - -php_grpc_library( -- name = "data_php_grpc", -- srcs = [":data_proto"], -- deps = [":data_php_proto"], +- name = "googleads_php_grpc", +- srcs = [":googleads_proto"], +- deps = [":googleads_php_proto"], -) - -php_gapic_library( -- name = "data_php_gapic", -- src = ":data_proto_with_info", -- gapic_yaml = "analyticsdata_gapic.yaml", -- grpc_service_config = "analytics_data_grpc_service_config.json", -- package = "google.analytics.data.v1beta", -- service_yaml = "analyticsdata_v1beta.yaml", +- name = "googleads_php_gapic", +- srcs = [":googleads_proto"], +- gapic_yaml = "googleads_gapic.yaml", +- grpc_service_config = "googleads_grpc_service_config.json", +- service_yaml = "googleads_v8.yaml", - deps = [ -- ":data_php_grpc", -- ":data_php_proto", +- ":googleads_php_grpc", +- ":googleads_php_proto", - ], -) - --# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-analytics-data-v1beta-php", +- name = "googleads-php", - deps = [ -- ":data_php_gapic", -- ":data_php_grpc", -- ":data_php_proto", +- ":googleads_php_gapic", +- ":googleads_php_grpc", +- ":googleads_php_proto", - ], -) - -############################################################################## --# Node.js +-# C# -############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "nodejs_gapic_assembly_pkg", -- "nodejs_gapic_library", --) +-load("@gapic_generator_csharp//rules_csharp_gapic:csharp_gapic.bzl", "csharp_gapic_library") +-load("@gapic_generator_csharp//rules_csharp_gapic:csharp_gapic_pkg.bzl", "csharp_gapic_assembly_pkg") - --nodejs_gapic_library( -- name = "data_nodejs_gapic", -- package_name = "@google-analytics/data", -- src = ":data_proto_with_info", -- extra_protoc_parameters = ["metadata"], -- grpc_service_config = "analytics_data_grpc_service_config.json", -- package = "google.analytics.data.v1beta", -- service_yaml = "analyticsdata_v1beta.yaml", -- deps = [], +-csharp_gapic_library( +- name = "googleads_csharp_gapic", +- srcs = [ +- ":googleads_proto_with_info", +- ], +- grpc_service_config = "googleads_grpc_service_config.json", +- deps = [ +- "//google/ads/googleads/v8/services:services_csharp_grpc", +- ], -) - --nodejs_gapic_assembly_pkg( -- name = "google-analytics-data-v1beta-nodejs", +-csharp_gapic_assembly_pkg( +- name = "googleads-csharp", - deps = [ -- ":data_nodejs_gapic", -- ":data_proto", +- ":googleads_csharp_gapic", +- "//google/ads/googleads/v8/common:common_csharp_proto", +- "//google/ads/googleads/v8/enums:enums_csharp_proto", +- "//google/ads/googleads/v8/errors:errors_csharp_proto", +- "//google/ads/googleads/v8/resources:resources_csharp_proto", +- "//google/ads/googleads/v8/services:services_csharp_grpc", +- "//google/ads/googleads/v8/services:services_csharp_proto", - ], -) - @@ -4401,783 +4542,15214 @@ diff -urN a/google/analytics/data/v1beta/BUILD.bazel b/google/analytics/data/v1b -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_cloud_gapic_library", +- "ruby_ads_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_grpc_library", -- "ruby_proto_library", --) -- --ruby_proto_library( -- name = "data_ruby_proto", -- deps = [":data_proto"], -) - --ruby_grpc_library( -- name = "data_ruby_grpc", -- srcs = [":data_proto"], -- deps = [":data_ruby_proto"], --) -- --ruby_cloud_gapic_library( -- name = "data_ruby_gapic", -- srcs = [":data_proto_with_info"], +-ruby_ads_gapic_library( +- name = "googleads_ruby_gapic", +- srcs = ["googleads_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-analytics-data-v1", -- "ruby-cloud-env-prefix=ANALYTICSDATA", -- "ruby-cloud-product-url=https://developers.google.com/analytics/devguides/reporting/data/v1", -- "ruby-cloud-api-id=analyticsdata.googleapis.com", -- "ruby-cloud-api-shortname=analyticsdata", -- ], -- ruby_cloud_description = "The Google Analytics Data API V1 provides programmatic methods to access report data in Google Analytics 4 (GA4) properties.", -- ruby_cloud_title = "Google Analytics Data V1", -- grpc_service_config = "analytics_data_grpc_service_config.json", -- deps = [ -- ":data_ruby_grpc", -- ":data_ruby_proto", +- ":gem.:name=google-ads-googleads", +- ":defaults.:service.:default_host=googleads.googleapis.com", +- ":overrides.:namespace.Googleads=GoogleAds", - ], +- grpc_service_config = "googleads_grpc_service_config.json", -) - --# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-analytics-data-v1beta-ruby", +- name = "googleads-ruby", - deps = [ -- ":data_ruby_gapic", -- ":data_ruby_grpc", -- ":data_ruby_proto", +- ":googleads_ruby_gapic", +- "//google/ads/googleads/v8/common:common_ruby_proto", +- "//google/ads/googleads/v8/enums:enums_ruby_proto", +- "//google/ads/googleads/v8/errors:errors_ruby_proto", +- "//google/ads/googleads/v8/resources:resources_ruby_proto", +- "//google/ads/googleads/v8/services:services_ruby_grpc", +- "//google/ads/googleads/v8/services:services_ruby_proto", - ], -) - -############################################################################## --# C# +-# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", -- "csharp_grpc_library", -- "csharp_proto_library", --) -- --csharp_proto_library( -- name = "data_csharp_proto", -- deps = [":data_proto"], --) -- --csharp_grpc_library( -- name = "data_csharp_grpc", -- srcs = [":data_proto"], -- deps = [":data_csharp_proto"], +- "py_gapic_assembly_pkg", +- "py_gapic_library", -) - --csharp_gapic_library( -- name = "data_csharp_gapic", -- srcs = [":data_proto_with_info"], -- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "analytics_data_grpc_service_config.json", -- deps = [ -- ":data_csharp_grpc", -- ":data_csharp_proto", +-py_gapic_library( +- name = "googleads_py_gapic", +- srcs = [":googleads_proto_with_info"], +- grpc_service_config = "googleads_grpc_service_config.json", +- opt_args = [ +- "old-naming", +- "lazy-import", +- "python-gapic-name=googleads", +- "python-gapic-templates=ads-templates", - ], -) - --# Open Source Packages --csharp_gapic_assembly_pkg( -- name = "google-cloud-analytics-data-v1beta-csharp", +-py_gapic_assembly_pkg( +- name = "googleads-py", - deps = [ -- ":data_csharp_gapic", -- ":data_csharp_grpc", -- ":data_csharp_proto", +- ":googleads_py_gapic", +- "//google/ads/googleads/v8/common:common_py_proto", +- "//google/ads/googleads/v8/enums:enums_py_proto", +- "//google/ads/googleads/v8/errors:errors_py_proto", +- "//google/ads/googleads/v8/resources:resources_py_proto", +- "//google/ads/googleads/v8/services:services_py_grpc", +- "//google/ads/googleads/v8/services:services_py_proto", - ], -) - -############################################################################## --# C++ +-# Node.js -############################################################################## --# Put your C++ rules here -diff -urN a/google/api/BUILD.bazel b/google/api/BUILD.bazel ---- a/google/api/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/api/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,671 +0,0 @@ --load("@rules_proto//proto:defs.bzl", "proto_library") +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "googleads_nodejs_gapic", +- package_name = "google-ads", +- src = ":googleads_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "googleads_grpc_service_config.json", +- main_service = "GoogleAdsService", +- package = "google.ads.googleads.v8", +- service_yaml = "googleads_v8.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "googleads-nodejs", +- deps = [ +- ":googleads_nodejs_gapic", +- ":googleads_proto", +- ], +-) +diff -urN a/google/ads/googleads/v8/common/BUILD.bazel b/google/ads/googleads/v8/common/BUILD.bazel +--- a/google/ads/googleads/v8/common/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/ads/googleads/v8/common/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,94 +0,0 @@ +-# Copyright 2020 Google LLC +-# +-# Licensed under the Apache License, Version 2.0 (the "License"); +-# you may not use this file except in compliance with the License. +-# You may obtain a copy of the License at +-# +-# https://www.apache.org/licenses/LICENSE-2.0 +-# +-# Unless required by applicable law or agreed to in writing, software +-# distributed under the License is distributed on an "AS IS" BASIS, +-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-# See the License for the specific language governing permissions and +-# limitations under the License. - --# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-# TODO(ohren): Change srcs to use an enumeration of each individual proto +-# instead of *.proto globbing once the build file generator supports +-# subpackages. -proto_library( -- name = "annotations_proto", -- srcs = ["annotations.proto"], +- name = "common_proto", +- srcs = glob(["*.proto"]), - deps = [ -- ":http_proto", -- "@com_google_protobuf//:descriptor_proto", +- "//google/ads/googleads/v8/enums:enums_proto", +- "//google/api:annotations_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "@com_google_protobuf//:wrappers_proto", - ], -) - --proto_library( -- name = "auth_proto", -- srcs = ["auth.proto"], -- deps = [":annotations_proto"], +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_proto_library", -) - --proto_library( -- name = "backend_proto", -- srcs = ["backend.proto"], -- visibility = ["//visibility:public"], +-java_proto_library( +- name = "common_java_proto", +- deps = [":common_proto"], -) - --proto_library( -- name = "billing_proto", -- srcs = ["billing.proto"], -- deps = [ -- ":annotations_proto", -- ":metric_proto", -- ], --) +-############################################################################## +-# PHP +-############################################################################## - --proto_library( -- name = "client_proto", -- srcs = ["client.proto"], -- deps = [ -- "@com_google_protobuf//:descriptor_proto", -- ], --) +-# PHP targets are in the parent directory's BUILD.bazel file to facilitate +-# aggregating metadata using a single underlying call to protoc. - --proto_library( -- name = "config_change_proto", -- srcs = ["config_change.proto"], -- visibility = ["//visibility:public"], +-############################################################################## +-# C# +-############################################################################## +-load( +- "@gapic_generator_csharp//rules_csharp_gapic:csharp_gapic.bzl", +- "csharp_proto_library", -) - --proto_library( -- name = "consumer_proto", -- srcs = ["consumer.proto"], -- visibility = ["//visibility:public"], +-csharp_proto_library( +- name = "common_csharp_proto", +- deps = [":common_proto"], -) - --proto_library( -- name = "context_proto", -- srcs = ["context.proto"], -- visibility = ["//visibility:public"], +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@gapic_generator_ruby//rules_ruby_gapic:ruby_gapic.bzl", +- "ruby_proto_library", -) - --proto_library( -- name = "control_proto", -- srcs = ["control.proto"], -- visibility = ["//visibility:public"], +-ruby_proto_library( +- name = "common_ruby_proto", +- deps = [":common_proto"], -) - --proto_library( -- name = "distribution_proto", -- srcs = ["distribution.proto"], -- deps = [ -- ":annotations_proto", -- "@com_google_protobuf//:any_proto", -- "@com_google_protobuf//:timestamp_proto", -- ], +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_proto_library", -) - --proto_library( -- name = "documentation_proto", -- srcs = ["documentation.proto"], -- visibility = ["//visibility:public"], +-py_proto_library( +- name = "common_py_proto", +- deps = [":common_proto"], -) +diff -urN a/google/ads/googleads/v8/enums/BUILD.bazel b/google/ads/googleads/v8/enums/BUILD.bazel +--- a/google/ads/googleads/v8/enums/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/ads/googleads/v8/enums/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,89 +0,0 @@ +-# Copyright 2020 Google LLC +-# +-# Licensed under the Apache License, Version 2.0 (the "License"); +-# you may not use this file except in compliance with the License. +-# You may obtain a copy of the License at +-# +-# https://www.apache.org/licenses/LICENSE-2.0 +-# +-# Unless required by applicable law or agreed to in writing, software +-# distributed under the License is distributed on an "AS IS" BASIS, +-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-# See the License for the specific language governing permissions and +-# limitations under the License. - --proto_library( -- name = "endpoint_proto", -- srcs = ["endpoint.proto"], -- deps = [":annotations_proto"], --) +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") - +-# TODO(ohren): Change srcs to use an enumeration of each individual proto +-# instead of *.proto globbing once the build file generator supports subpackages. -proto_library( -- name = "field_behavior_proto", -- srcs = ["field_behavior.proto"], +- name = "enums_proto", +- srcs = glob(["*.proto"]), - deps = [ -- "@com_google_protobuf//:descriptor_proto", +- "//google/api:annotations_proto", - ], -) - --proto_library( -- name = "http_proto", -- srcs = ["http.proto"], -- visibility = ["//visibility:public"], +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_proto_library", -) - --proto_library( -- name = "httpbody_proto", -- srcs = ["httpbody.proto"], -- deps = ["@com_google_protobuf//:any_proto"], +-java_proto_library( +- name = "enums_java_proto", +- deps = [":enums_proto"], -) - --proto_library( -- name = "label_proto", -- srcs = ["label.proto"], -- visibility = ["//visibility:public"], --) +-############################################################################## +-# PHP +-############################################################################## - --proto_library( -- name = "launch_stage_proto", -- srcs = ["launch_stage.proto"], --) +-# PHP targets are in the parent directory's BUILD.bazel file to facilitate +-# aggregating metadata using a single underlying call to protoc. +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@gapic_generator_csharp//rules_csharp_gapic:csharp_gapic.bzl", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "enums_csharp_proto", +- deps = [":enums_proto"], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@gapic_generator_ruby//rules_ruby_gapic:ruby_gapic.bzl", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "enums_ruby_proto", +- deps = [":enums_proto"], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_proto_library", +-) +- +-py_proto_library( +- name = "enums_py_proto", +- deps = [":enums_proto"], +-) +diff -urN a/google/ads/googleads/v8/errors/BUILD.bazel b/google/ads/googleads/v8/errors/BUILD.bazel +--- a/google/ads/googleads/v8/errors/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/ads/googleads/v8/errors/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,94 +0,0 @@ +-# Copyright 2020 Google LLC +-# +-# Licensed under the Apache License, Version 2.0 (the "License"); +-# you may not use this file except in compliance with the License. +-# You may obtain a copy of the License at +-# +-# https://www.apache.org/licenses/LICENSE-2.0 +-# +-# Unless required by applicable law or agreed to in writing, software +-# distributed under the License is distributed on an "AS IS" BASIS, +-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-# See the License for the specific language governing permissions and +-# limitations under the License. +- +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-# TODO(ohren): Change srcs to use an enumeration of each individual proto +-# instead of *.proto globbing once the build file generator supports +-# subpackages. +-proto_library( +- name = "errors_proto", +- srcs = glob(["*.proto"]), +- deps = [ +- "//google/ads/googleads/v8/common:common_proto", +- "//google/ads/googleads/v8/enums:enums_proto", +- "//google/api:annotations_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:wrappers_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "errors_java_proto", +- deps = [":errors_proto"], +-) +- +-############################################################################## +-# PHP +-############################################################################## +- +-# PHP targets are in the parent directory's BUILD.bazel file to facilitate +-# aggregating metadata using a single underlying call to protoc. +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@gapic_generator_csharp//rules_csharp_gapic:csharp_gapic.bzl", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "errors_csharp_proto", +- deps = [":errors_proto"], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@gapic_generator_ruby//rules_ruby_gapic:ruby_gapic.bzl", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "errors_ruby_proto", +- deps = [":errors_proto"], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_proto_library", +-) +- +-py_proto_library( +- name = "errors_py_proto", +- deps = [":errors_proto"], +-) +diff -urN a/google/ads/googleads/v8/resources/BUILD.bazel b/google/ads/googleads/v8/resources/BUILD.bazel +--- a/google/ads/googleads/v8/resources/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/ads/googleads/v8/resources/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,97 +0,0 @@ +-# Copyright 2020 Google LLC +-# +-# Licensed under the Apache License, Version 2.0 (the "License"); +-# you may not use this file except in compliance with the License. +-# You may obtain a copy of the License at +-# +-# https://www.apache.org/licenses/LICENSE-2.0 +-# +-# Unless required by applicable law or agreed to in writing, software +-# distributed under the License is distributed on an "AS IS" BASIS, +-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-# See the License for the specific language governing permissions and +-# limitations under the License. +- +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-# TODO(ohren): Change srcs to use an enumeration of each individual proto +-# instead of *.proto globbing once the build file generator supports +-# subpackages. +-proto_library( +- name = "resources_proto", +- srcs = glob(["*.proto"]), +- deps = [ +- "//google/ads/googleads/v8/common:common_proto", +- "//google/ads/googleads/v8/enums:enums_proto", +- "//google/ads/googleads/v8/errors:errors_proto", +- "//google/api:annotations_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:wrappers_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "resources_java_proto", +- deps = [":resources_proto"], +-) +- +-############################################################################## +-# PHP +-############################################################################## +- +-# PHP targets are in the parent directory's BUILD.bazel file to facilitate +-# aggregating metadata using a single underlying call to protoc. +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@gapic_generator_csharp//rules_csharp_gapic:csharp_gapic.bzl", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "resources_csharp_proto", +- deps = [":resources_proto"], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@gapic_generator_ruby//rules_ruby_gapic:ruby_gapic.bzl", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "resources_ruby_proto", +- deps = [":resources_proto"], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_proto_library", +-) +- +-py_proto_library( +- name = "resources_py_proto", +- deps = [":resources_proto"], +-) +diff -urN a/google/ads/googleads/v8/services/BUILD.bazel b/google/ads/googleads/v8/services/BUILD.bazel +--- a/google/ads/googleads/v8/services/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/ads/googleads/v8/services/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,138 +0,0 @@ +-# Copyright 2020 Google LLC +-# +-# Licensed under the Apache License, Version 2.0 (the "License"); +-# you may not use this file except in compliance with the License. +-# You may obtain a copy of the License at +-# +-# https://www.apache.org/licenses/LICENSE-2.0 +-# +-# Unless required by applicable law or agreed to in writing, software +-# distributed under the License is distributed on an "AS IS" BASIS, +-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-# See the License for the specific language governing permissions and +-# limitations under the License. +- +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-# TODO(ohren): Change srcs to use an enumeration of each individual proto +-# instead of *.proto globbing once the build file generator supports +-# subpackages. +-proto_library( +- name = "services_proto", +- srcs = glob(["*.proto"]), +- deps = [ +- "//google/ads/googleads/v8/common:common_proto", +- "//google/ads/googleads/v8/enums:enums_proto", +- "//google/ads/googleads/v8/errors:errors_proto", +- "//google/ads/googleads/v8/resources:resources_proto", +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:wrappers_proto", +- ], +-) +- +-proto_library_with_info( +- name = "services_proto_with_info", +- deps = [ +- ":services_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "services_java_proto", +- deps = [":services_proto"], +-) +- +-java_grpc_library( +- name = "services_java_grpc", +- srcs = [":services_proto"], +- deps = [":services_java_proto"], +-) +- +-############################################################################## +-# PHP +-############################################################################## +- +-# PHP targets are in the parent directory's BUILD.bazel file to facilitate +-# aggregating metadata using a single underlying call to protoc. +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@gapic_generator_csharp//rules_csharp_gapic:csharp_gapic.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "services_csharp_proto", +- deps = [":services_proto"], +-) +- +-csharp_grpc_library( +- name = "services_csharp_grpc", +- srcs = [":services_proto"], +- deps = [":services_csharp_proto"], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@gapic_generator_ruby//rules_ruby_gapic:ruby_gapic.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "services_ruby_proto", +- deps = [":services_proto"], +-) +- +-ruby_grpc_library( +- name = "services_ruby_grpc", +- srcs = [":services_proto"], +- deps = [":services_ruby_proto"], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_grpc_library", +- "py_proto_library", +-) +- +-py_proto_library( +- name = "services_py_proto", +- deps = [":services_proto"], +-) +- +-py_grpc_library( +- name = "services_py_grpc", +- srcs = [":services_proto"], +- deps = [":services_py_proto"], +-) +diff -urN a/google/analytics/admin/v1alpha/BUILD.bazel b/google/analytics/admin/v1alpha/BUILD.bazel +--- a/google/analytics/admin/v1alpha/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/analytics/admin/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,338 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "admin_proto", +- srcs = [ +- "analytics_admin.proto", +- "resources.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", +- ], +-) +- +-proto_library_with_info( +- name = "admin_proto_with_info", +- deps = [ +- ":admin_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "admin_java_proto", +- deps = [":admin_proto"], +-) +- +-java_grpc_library( +- name = "admin_java_grpc", +- srcs = [":admin_proto"], +- deps = [":admin_java_proto"], +-) +- +-java_gapic_library( +- name = "admin_java_gapic", +- srcs = [":admin_proto_with_info"], +- grpc_service_config = "admin_grpc_service_config.json", +- test_deps = [ +- ":admin_java_grpc", +- ], +- deps = [ +- ":admin_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "admin_java_gapic_test_suite", +- test_classes = [ +- ], +- runtime_deps = [":admin_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-analytics-admin-v1alpha-java", +- deps = [ +- ":admin_java_gapic", +- ":admin_java_grpc", +- ":admin_java_proto", +- ":admin_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "admin_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/analytics/admin/v1alpha", +- protos = [":admin_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "admin_go_gapic", +- srcs = [":admin_proto_with_info"], +- grpc_service_config = "admin_grpc_service_config.json", +- importpath = "google.golang.org/google/analytics/admin/v1alpha;admin", +- service_yaml = "analyticsadmin_v1alpha.yaml", +- deps = [ +- ":admin_go_proto", +- ], +-) +- +-go_test( +- name = "admin_go_gapic_test", +- srcs = [":admin_go_gapic_srcjar_test"], +- embed = [":admin_go_gapic"], +- importpath = "google.golang.org/google/analytics/admin/v1alpha", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-analytics-admin-v1alpha-go", +- deps = [ +- ":admin_go_gapic", +- ":admin_go_gapic_srcjar-test.srcjar", +- ":admin_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "admin_py_gapic", +- srcs = [":admin_proto"], +- grpc_service_config = "admin_grpc_service_config.json", +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "google-analytics-admin-v1alpha-py", +- deps = [ +- ":admin_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "admin_php_proto", +- deps = [":admin_proto"], +-) +- +-php_grpc_library( +- name = "admin_php_grpc", +- srcs = [":admin_proto"], +- deps = [":admin_php_proto"], +-) +- +-php_gapic_library( +- name = "admin_php_gapic", +- srcs = [":admin_proto_with_info"], +- grpc_service_config = "admin_grpc_service_config.json", +- deps = [ +- ":admin_php_grpc", +- ":admin_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-analytics-admin-v1alpha-php", +- deps = [ +- ":admin_php_gapic", +- ":admin_php_grpc", +- ":admin_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "admin_nodejs_gapic", +- package_name = "@google-analytics/admin", +- src = ":admin_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "admin_grpc_service_config.json", +- package = "google.analytics.admin.v1alpha", +- service_yaml = "analyticsadmin_v1alpha.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "google-analytics-admin-v1alpha-nodejs", +- deps = [ +- ":admin_nodejs_gapic", +- ":admin_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "admin_ruby_proto", +- deps = [":admin_proto"], +-) +- +-ruby_grpc_library( +- name = "admin_ruby_grpc", +- srcs = [":admin_proto"], +- deps = [":admin_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "admin_ruby_gapic", +- srcs = [":admin_proto_with_info",], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-analytics-admin-v1alpha", +- "ruby-cloud-env-prefix=ANALYTICS_ADMIN", +- "ruby-cloud-api-id=analyticsadmin.googleapis.com", +- "ruby-cloud-api-shortname=analyticsadmin", +- ], +- grpc_service_config = "admin_grpc_service_config.json", +- ruby_cloud_description = "The Analytics Admin API allows for programmatic access to the Google Analytics App+Web configuration data. You can use the Google Analytics Admin API to manage accounts and App+Web properties.", +- ruby_cloud_title = "Google Analytics Admin V1alpha", +- deps = [ +- ":admin_ruby_grpc", +- ":admin_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-analytics-admin-v1alpha-ruby", +- deps = [ +- ":admin_ruby_gapic", +- ":admin_ruby_grpc", +- ":admin_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "admin_csharp_proto", +- deps = [":admin_proto"], +-) +- +-csharp_grpc_library( +- name = "admin_csharp_grpc", +- srcs = [":admin_proto"], +- deps = [":admin_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "admin_csharp_gapic", +- srcs = [":admin_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "admin_grpc_service_config.json", +- deps = [ +- ":admin_csharp_grpc", +- ":admin_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-analytics-admin-v1alpha-csharp", +- deps = [ +- ":admin_csharp_gapic", +- ":admin_csharp_grpc", +- ":admin_csharp_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/analytics/data/v1alpha/BUILD.bazel b/google/analytics/data/v1alpha/BUILD.bazel +--- a/google/analytics/data/v1alpha/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/analytics/data/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,337 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "data_proto", +- srcs = [ +- "analytics_data_api.proto", +- "data.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- ], +-) +- +-proto_library_with_info( +- name = "data_proto_with_info", +- deps = [ +- ":data_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "data_java_proto", +- deps = [":data_proto"], +-) +- +-java_grpc_library( +- name = "data_java_grpc", +- srcs = [":data_proto"], +- deps = [":data_java_proto"], +-) +- +-java_gapic_library( +- name = "data_java_gapic", +- srcs = [":data_proto_with_info"], +- grpc_service_config = "analytics_data_grpc_service_config.json", +- test_deps = [ +- ":data_java_grpc", +- ], +- deps = [ +- ":data_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "data_java_gapic_test_suite", +- test_classes = [ +- "com.google.analytics.data.v1alpha.AlphaAnalyticsDataClientTest", +- ], +- runtime_deps = [":data_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-analytics-data-v1alpha-java", +- deps = [ +- ":data_java_gapic", +- ":data_java_grpc", +- ":data_java_proto", +- ":data_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "data_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/analytics/data/v1alpha", +- protos = [":data_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "data_go_gapic", +- srcs = [":data_proto_with_info"], +- grpc_service_config = "analytics_data_grpc_service_config.json", +- importpath = "google.golang.org/google/analytics/data/v1alpha;data", +- service_yaml = "analyticsdata_v1alpha.yaml", +- deps = [ +- ":data_go_proto", +- ], +-) +- +-go_test( +- name = "data_go_gapic_test", +- srcs = [":data_go_gapic_srcjar_test"], +- embed = [":data_go_gapic"], +- importpath = "google.golang.org/google/analytics/data/v1alpha", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-analytics-data-v1alpha-go", +- deps = [ +- ":data_go_gapic", +- ":data_go_gapic_srcjar-test.srcjar", +- ":data_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +- +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "data_py_gapic", +- srcs = [":data_proto"], +- grpc_service_config = "analytics_data_grpc_service_config.json", +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "google-analytics-data-v1alpha-py", +- deps = [ +- ":data_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "data_php_proto", +- deps = [":data_proto"], +-) +- +-php_grpc_library( +- name = "data_php_grpc", +- srcs = [":data_proto"], +- deps = [":data_php_proto"], +-) +- +-php_gapic_library( +- name = "data_php_gapic", +- srcs = [":data_proto_with_info"], +- grpc_service_config = "analytics_data_grpc_service_config.json", +- deps = [ +- ":data_php_grpc", +- ":data_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-analytics-data-v1alpha-php", +- deps = [ +- ":data_php_gapic", +- ":data_php_grpc", +- ":data_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "data_nodejs_gapic", +- package_name = "@google-analytics/data", +- src = ":data_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "analytics_data_grpc_service_config.json", +- package = "google.analytics.data.v1alpha", +- service_yaml = "analyticsdata_v1alpha.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "google-analytics-data-v1alpha-nodejs", +- deps = [ +- ":data_nodejs_gapic", +- ":data_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "data_ruby_proto", +- deps = [":data_proto"], +-) +- +-ruby_grpc_library( +- name = "data_ruby_grpc", +- srcs = [":data_proto"], +- deps = [":data_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "data_ruby_gapic", +- srcs = [":data_proto_with_info",], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-analytics-data-v1alpha", +- "ruby-cloud-env-prefix=ANALYTICS_DATA", +- "ruby-cloud-api-id=analyticsdata.googleapis.com", +- "ruby-cloud-api-shortname=analyticsdata", +- "ruby-cloud-service-override=AlphaAnalyticsData=AnalyticsData", +- ], +- grpc_service_config = "analytics_data_grpc_service_config.json", +- ruby_cloud_description = "The Google Analytics Data API provides programmatic methods to access report data in Google Analytics App+Web properties. With the Google Analytics Data API, you can build custom dashboards to display Google Analytics data, automate complex reporting tasks to save time, and integrate your Google Analytics data with other business applications.", +- ruby_cloud_title = "Google Analytics Data V1alpha", +- deps = [ +- ":data_ruby_grpc", +- ":data_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-analytics-data-v1alpha-ruby", +- deps = [ +- ":data_ruby_gapic", +- ":data_ruby_grpc", +- ":data_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "data_csharp_proto", +- deps = [":data_proto"], +-) +- +-csharp_grpc_library( +- name = "data_csharp_grpc", +- srcs = [":data_proto"], +- deps = [":data_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "data_csharp_gapic", +- srcs = [":data_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "analytics_data_grpc_service_config.json", +- deps = [ +- ":data_csharp_grpc", +- ":data_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-analytics-data-v1alpha-csharp", +- deps = [ +- ":data_csharp_gapic", +- ":data_csharp_grpc", +- ":data_csharp_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/analytics/data/v1beta/BUILD.bazel b/google/analytics/data/v1beta/BUILD.bazel +--- a/google/analytics/data/v1beta/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/analytics/data/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,339 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "data_proto", +- srcs = [ +- "analytics_data_api.proto", +- "data.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- ], +-) +- +-proto_library_with_info( +- name = "data_proto_with_info", +- deps = [ +- ":data_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "data_java_proto", +- deps = [":data_proto"], +-) +- +-java_grpc_library( +- name = "data_java_grpc", +- srcs = [":data_proto"], +- deps = [":data_java_proto"], +-) +- +-java_gapic_library( +- name = "data_java_gapic", +- srcs = [":data_proto_with_info"], +- grpc_service_config = "analytics_data_grpc_service_config.json", +- test_deps = [ +- ":data_java_grpc", +- ], +- deps = [ +- ":data_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "data_java_gapic_test_suite", +- test_classes = [ +- "com.google.analytics.data.v1beta.BetaAnalyticsDataClientTest", +- ], +- runtime_deps = [":data_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-analytics-data-v1beta-java", +- deps = [ +- ":data_java_gapic", +- ":data_java_grpc", +- ":data_java_proto", +- ":data_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "data_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/analytics/data/v1beta", +- protos = [":data_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "data_go_gapic", +- srcs = [":data_proto_with_info"], +- grpc_service_config = "analytics_data_grpc_service_config.json", +- importpath = "google.golang.org/google/analytics/data/v1beta;data", +- metadata = True, +- service_yaml = "analyticsdata_v1beta.yaml", +- deps = [ +- ":data_go_proto", +- ], +-) +- +-go_test( +- name = "data_go_gapic_test", +- srcs = [":data_go_gapic_srcjar_test"], +- embed = [":data_go_gapic"], +- importpath = "google.golang.org/google/analytics/data/v1beta", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-analytics-data-v1beta-go", +- deps = [ +- ":data_go_gapic", +- ":data_go_gapic_srcjar-metadata.srcjar", +- ":data_go_gapic_srcjar-test.srcjar", +- ":data_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "data_py_gapic", +- srcs = [":data_proto"], +- grpc_service_config = "analytics_data_grpc_service_config.json", +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "google-analytics-data-v1beta-py", +- deps = [ +- ":data_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "data_php_proto", +- deps = [":data_proto"], +-) +- +-php_grpc_library( +- name = "data_php_grpc", +- srcs = [":data_proto"], +- deps = [":data_php_proto"], +-) +- +-php_gapic_library( +- name = "data_php_gapic", +- srcs = [":data_proto_with_info"], +- grpc_service_config = "analytics_data_grpc_service_config.json", +- deps = [ +- ":data_php_grpc", +- ":data_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-analytics-data-v1beta-php", +- deps = [ +- ":data_php_gapic", +- ":data_php_grpc", +- ":data_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "data_nodejs_gapic", +- package_name = "@google-analytics/data", +- src = ":data_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "analytics_data_grpc_service_config.json", +- package = "google.analytics.data.v1beta", +- service_yaml = "analyticsdata_v1beta.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "google-analytics-data-v1beta-nodejs", +- deps = [ +- ":data_nodejs_gapic", +- ":data_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "data_ruby_proto", +- deps = [":data_proto"], +-) +- +-ruby_grpc_library( +- name = "data_ruby_grpc", +- srcs = [":data_proto"], +- deps = [":data_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "data_ruby_gapic", +- srcs = [":data_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-analytics-data-v1beta", +- "ruby-cloud-env-prefix=ANALYTICS_DATA", +- "ruby-cloud-product-url=https://developers.google.com/analytics/devguides/reporting/data/v1", +- "ruby-cloud-api-id=analyticsdata.googleapis.com", +- "ruby-cloud-api-shortname=analyticsdata", +- "ruby-cloud-service-override=BetaAnalyticsData=AnalyticsData", +- ], +- grpc_service_config = "analytics_data_grpc_service_config.json", +- ruby_cloud_description = "The Google Analytics Data API provides programmatic methods to access report data in Google Analytics 4 (GA4) properties. Google Analytics 4 helps you understand how people use your web, iOS, or Android app.", +- ruby_cloud_title = "Google Analytics Data V1beta", +- deps = [ +- ":data_ruby_grpc", +- ":data_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-analytics-data-v1beta-ruby", +- deps = [ +- ":data_ruby_gapic", +- ":data_ruby_grpc", +- ":data_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "data_csharp_proto", +- deps = [":data_proto"], +-) +- +-csharp_grpc_library( +- name = "data_csharp_grpc", +- srcs = [":data_proto"], +- deps = [":data_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "data_csharp_gapic", +- srcs = [":data_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "analytics_data_grpc_service_config.json", +- deps = [ +- ":data_csharp_grpc", +- ":data_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-analytics-data-v1beta-csharp", +- deps = [ +- ":data_csharp_gapic", +- ":data_csharp_grpc", +- ":data_csharp_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/api/BUILD.bazel b/google/api/BUILD.bazel +--- a/google/api/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/api/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,698 +0,0 @@ +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-proto_library( +- name = "annotations_proto", +- srcs = ["annotations.proto"], +- deps = [ +- ":http_proto", +- "@com_google_protobuf//:descriptor_proto", +- ], +-) +- +-proto_library( +- name = "auth_proto", +- srcs = ["auth.proto"], +- deps = [":annotations_proto"], +-) +- +-proto_library( +- name = "backend_proto", +- srcs = ["backend.proto"], +- visibility = ["//visibility:public"], +-) +- +-proto_library( +- name = "billing_proto", +- srcs = ["billing.proto"], +- deps = [ +- ":annotations_proto", +- ":metric_proto", +- ], +-) +- +-proto_library( +- name = "client_proto", +- srcs = ["client.proto"], +- deps = [ +- "@com_google_protobuf//:descriptor_proto", +- ], +-) +- +-proto_library( +- name = "config_change_proto", +- srcs = ["config_change.proto"], +- visibility = ["//visibility:public"], +-) +- +-proto_library( +- name = "consumer_proto", +- srcs = ["consumer.proto"], +- visibility = ["//visibility:public"], +-) +- +-proto_library( +- name = "context_proto", +- srcs = ["context.proto"], +- visibility = ["//visibility:public"], +-) +- +-proto_library( +- name = "control_proto", +- srcs = ["control.proto"], +- visibility = ["//visibility:public"], +-) +- +-proto_library( +- name = "distribution_proto", +- srcs = ["distribution.proto"], +- deps = [ +- ":annotations_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library( +- name = "documentation_proto", +- srcs = ["documentation.proto"], +- visibility = ["//visibility:public"], +-) +- +-proto_library( +- name = "endpoint_proto", +- srcs = ["endpoint.proto"], +- deps = [":annotations_proto"], +-) +- +-proto_library( +- name = "field_behavior_proto", +- srcs = ["field_behavior.proto"], +- deps = [ +- "@com_google_protobuf//:descriptor_proto", +- ], +-) +- +-proto_library( +- name = "http_proto", +- srcs = ["http.proto"], +- visibility = ["//visibility:public"], +-) +- +-proto_library( +- name = "httpbody_proto", +- srcs = ["httpbody.proto"], +- deps = ["@com_google_protobuf//:any_proto"], +-) +- +-proto_library( +- name = "label_proto", +- srcs = ["label.proto"], +- visibility = ["//visibility:public"], +-) +- +-proto_library( +- name = "launch_stage_proto", +- srcs = ["launch_stage.proto"], +-) +- +-proto_library( +- name = "log_proto", +- srcs = ["log.proto"], +- deps = [":label_proto"], +-) +- +-proto_library( +- name = "logging_proto", +- srcs = ["logging.proto"], +- deps = [ +- ":annotations_proto", +- ":label_proto", +- ], +-) +- +-proto_library( +- name = "metric_proto", +- srcs = ["metric.proto"], +- deps = [ +- ":label_proto", +- ":launch_stage_proto", +- "@com_google_protobuf//:duration_proto", +- ], +-) +- +-proto_library( +- name = "monitored_resource_proto", +- srcs = ["monitored_resource.proto"], +- deps = [ +- ":label_proto", +- ":launch_stage_proto", +- "@com_google_protobuf//:struct_proto", +- ], +-) +- +-proto_library( +- name = "monitoring_proto", +- srcs = ["monitoring.proto"], +- deps = [":annotations_proto"], +-) +- +-proto_library( +- name = "quota_proto", +- srcs = ["quota.proto"], +- deps = [":annotations_proto"], +-) +- +-proto_library( +- name = "resource_proto", +- srcs = ["resource.proto"], +- deps = [ +- "@com_google_protobuf//:descriptor_proto", +- ], +-) +- +-proto_library( +- name = "service_proto", +- srcs = ["service.proto"], +- deps = [ +- ":annotations_proto", +- ":auth_proto", +- ":backend_proto", +- ":billing_proto", +- ":context_proto", +- ":control_proto", +- ":documentation_proto", +- ":endpoint_proto", +- ":http_proto", +- ":label_proto", +- ":log_proto", +- ":logging_proto", +- ":metric_proto", +- ":monitored_resource_proto", +- ":monitoring_proto", +- ":quota_proto", +- ":resource_proto", +- ":source_info_proto", +- ":system_parameter_proto", +- ":usage_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:api_proto", +- "@com_google_protobuf//:type_proto", +- "@com_google_protobuf//:wrappers_proto", +- ], +-) +- +-proto_library( +- name = "source_info_proto", +- srcs = ["source_info.proto"], +- deps = ["@com_google_protobuf//:any_proto"], +-) +- +-proto_library( +- name = "system_parameter_proto", +- srcs = ["system_parameter.proto"], +- visibility = ["//visibility:public"], +-) +- +-proto_library( +- name = "usage_proto", +- srcs = ["usage.proto"], +- deps = [ +- ":annotations_proto", +- ":visibility_proto", +- ], +-) +- +-proto_library( +- name = "visibility_proto", +- srcs = ["visibility.proto"], +- deps = ["@com_google_protobuf//:descriptor_proto"], +- visibility = ["//visibility:public"], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load("@com_google_googleapis_imports//:imports.bzl", "java_proto_library") +- +-java_proto_library( +- name = "api_java_proto", +- deps = [ +- "annotations_proto", +- "auth_proto", +- "backend_proto", +- "billing_proto", +- "client_proto", +- "config_change_proto", +- "consumer_proto", +- "context_proto", +- "control_proto", +- "distribution_proto", +- "documentation_proto", +- "endpoint_proto", +- "field_behavior_proto", +- "http_proto", +- "httpbody_proto", +- "label_proto", +- "launch_stage_proto", +- "log_proto", +- "logging_proto", +- "metric_proto", +- "monitored_resource_proto", +- "monitoring_proto", +- "quota_proto", +- "resource_proto", +- "service_proto", +- "source_info_proto", +- "system_parameter_proto", +- "usage_proto", +- "visibility_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load("@com_google_googleapis_imports//:imports.bzl", "go_proto_library") +- +-go_proto_library( +- name = "annotations_go_proto", +- importpath = "google.golang.org/genproto/googleapis/api/annotations", +- protos = [ +- ":annotations_proto", +- ":http_proto", +- ], +-) +- +-go_proto_library( +- name = "client_go_proto", +- importpath = "google.golang.org/genproto/googleapis/api/annotations;annotations", +- protos = [":client_proto"], +-) +- +-go_proto_library( +- name = "configchange_go_proto", +- importpath = "google.golang.org/genproto/googleapis/api/configchange", +- protos = [":config_change_proto"], +-) +- +-go_proto_library( +- name = "distribution_go_proto", +- importpath = "google.golang.org/genproto/googleapis/api/distribution", +- protos = [":distribution_proto"], +-) +- +-go_proto_library( +- name = "field_behavior_go_proto", +- importpath = "google.golang.org/genproto/googleapis/api/annotations;annotations", +- protos = [":field_behavior_proto"], +-) +- +-go_proto_library( +- name = "httpbody_go_proto", +- importpath = "google.golang.org/genproto/googleapis/api/httpbody", +- protos = [":httpbody_proto"], +-) +- +-go_proto_library( +- name = "label_go_proto", +- importpath = "google.golang.org/genproto/googleapis/api/label", +- protos = [":label_proto"], +-) +- +-go_proto_library( +- name = "api_go_proto", +- importpath = "google.golang.org/genproto/googleapis/api", +- protos = [ +- ":launch_stage_proto", +- ], +- deps = [ +- ":annotations_go_proto", +- ], +-) +- +-go_proto_library( +- name = "metric_go_proto", +- importpath = "google.golang.org/genproto/googleapis/api/metric", +- protos = [":metric_proto"], +- deps = [ +- ":api_go_proto", +- ":label_go_proto", +- ], +-) +- +-go_proto_library( +- name = "monitoredres_go_proto", +- importpath = "google.golang.org/genproto/googleapis/api/monitoredres", +- protos = [":monitored_resource_proto"], +- deps = [ +- ":api_go_proto", +- ":label_go_proto", +- ], +-) +- +-go_proto_library( +- name = "resource_go_proto", +- importpath = "google.golang.org/genproto/googleapis/api/annotations;annotations", +- protos = [":resource_proto"], +-) +- +-go_proto_library( +- name = "serviceconfig_go_proto", +- importpath = "google.golang.org/genproto/googleapis/api/serviceconfig", +- protos = [ +- ":auth_proto", +- ":backend_proto", +- ":billing_proto", +- ":context_proto", +- ":control_proto", +- ":documentation_proto", +- ":endpoint_proto", +- ":log_proto", +- ":logging_proto", +- ":monitoring_proto", +- ":quota_proto", +- ":service_proto", +- ":source_info_proto", +- ":system_parameter_proto", +- ":usage_proto", +- ], +- deps = [ +- ":annotations_go_proto", +- ":api_go_proto", +- ":label_go_proto", +- ":metric_go_proto", +- ":monitoredres_go_proto", +- ], +-) +- +-go_proto_library( +- name = "visibility_go_proto", +- importpath = "google.golang.org/genproto/googleapis/api/visibility;visibility", +- protos = [":visibility_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-load("@com_google_googleapis_imports//:imports.bzl", "cc_proto_library") +- +-cc_proto_library( +- name = "annotations_cc_proto", +- deps = [":annotations_proto"], +-) +- +-cc_proto_library( +- name = "auth_cc_proto", +- deps = [":auth_proto"], +-) +- +-cc_proto_library( +- name = "backend_cc_proto", +- deps = [":backend_proto"], +-) +- +-cc_proto_library( +- name = "billing_cc_proto", +- deps = [":billing_proto"], +-) +- +-cc_proto_library( +- name = "client_cc_proto", +- deps = [":client_proto"], +-) +- +-cc_proto_library( +- name = "config_change_cc_proto", +- deps = [":config_change_proto"], +-) +- +-cc_proto_library( +- name = "consumer_cc_proto", +- deps = [":consumer_proto"], +-) +- +-cc_proto_library( +- name = "context_cc_proto", +- deps = [":context_proto"], +-) +- +-cc_proto_library( +- name = "control_cc_proto", +- deps = [":control_proto"], +-) +- +-cc_proto_library( +- name = "distribution_cc_proto", +- deps = [":distribution_proto"], +-) +- +-cc_proto_library( +- name = "documentation_cc_proto", +- deps = [":documentation_proto"], +-) +- +-cc_proto_library( +- name = "endpoint_cc_proto", +- deps = [":endpoint_proto"], +-) +- +-cc_proto_library( +- name = "field_behavior_cc_proto", +- deps = [":field_behavior_proto"], +-) +- +-cc_proto_library( +- name = "http_cc_proto", +- deps = [":http_proto"], +-) +- +-cc_proto_library( +- name = "httpbody_cc_proto", +- deps = [":httpbody_proto"], +-) +- +-cc_proto_library( +- name = "label_cc_proto", +- deps = [":label_proto"], +-) +- +-cc_proto_library( +- name = "launch_stage_cc_proto", +- deps = [":launch_stage_proto"], +-) +- +-cc_proto_library( +- name = "log_cc_proto", +- deps = [":log_proto"], +-) +- +-cc_proto_library( +- name = "logging_cc_proto", +- deps = [":logging_proto"], +-) +- +-cc_proto_library( +- name = "metric_cc_proto", +- deps = [":metric_proto"], +-) +- +-cc_proto_library( +- name = "monitored_resource_cc_proto", +- deps = [":monitored_resource_proto"], +-) +- +-cc_proto_library( +- name = "monitoring_cc_proto", +- deps = ["monitoring_proto"], +-) +- +-cc_proto_library( +- name = "quota_cc_proto", +- deps = ["quota_proto"], +-) +- +-cc_proto_library( +- name = "resource_cc_proto", +- deps = [":resource_proto"], +-) +- +-cc_proto_library( +- name = "service_cc_proto", +- deps = [":service_proto"], +-) +- +-cc_proto_library( +- name = "source_info_cc_proto", +- deps = [":source_info_proto"], +-) +- +-cc_proto_library( +- name = "system_parameter_cc_proto", +- deps = [":system_parameter_proto"], +-) +- +-cc_proto_library( +- name = "usage_cc_proto", +- deps = [":usage_proto"], +-) +- +-cc_proto_library( +- name = "visibility_cc_proto", +- deps = [":visibility_proto"], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load("@com_google_googleapis_imports//:imports.bzl", "py_proto_library") +- +-py_proto_library( +- name = "annotations_py_proto", +- deps = [":annotations_proto"], +-) +- +-py_proto_library( +- name = "auth_py_proto", +- deps = [":auth_proto"], +-) +- +-py_proto_library( +- name = "backend_py_proto", +- deps = [":backend_proto"], +-) +- +-py_proto_library( +- name = "billing_py_proto", +- deps = [":billing_proto"], +-) +- +-py_proto_library( +- name = "client_py_proto", +- deps = [":client_proto"], +-) +- +-py_proto_library( +- name = "config_change_py_proto", +- deps = [":config_change_proto"], +-) +- +-py_proto_library( +- name = "consumer_py_proto", +- deps = [":consumer_proto"], +-) +- +-py_proto_library( +- name = "context_py_proto", +- deps = [":context_proto"], +-) +- +-py_proto_library( +- name = "control_py_proto", +- deps = [":control_proto"], +-) +- +-py_proto_library( +- name = "distribution_py_proto", +- deps = [":distribution_proto"], +-) +- +-py_proto_library( +- name = "documentation_py_proto", +- deps = [":documentation_proto"], +-) +- +-py_proto_library( +- name = "endpoint_py_proto", +- deps = [":endpoint_proto"], +-) +- +-py_proto_library( +- name = "field_behavior_py_proto", +- deps = [":field_behavior_proto"], +-) +- +-py_proto_library( +- name = "http_py_proto", +- deps = [":http_proto"], +-) +- +-py_proto_library( +- name = "httpbody_py_proto", +- deps = [":httpbody_proto"], +-) +- +-py_proto_library( +- name = "label_py_proto", +- deps = [":label_proto"], +-) +- +-py_proto_library( +- name = "launch_stage_py_proto", +- deps = [":launch_stage_proto"], +-) +- +-py_proto_library( +- name = "log_py_proto", +- deps = [":log_proto"], +-) +- +-py_proto_library( +- name = "logging_py_proto", +- deps = [":logging_proto"], +-) +- +-py_proto_library( +- name = "metric_py_proto", +- deps = [":metric_proto"], +-) +- +-py_proto_library( +- name = "monitored_resource_py_proto", +- deps = [":monitored_resource_proto"], +-) +- +-py_proto_library( +- name = "monitoring_py_proto", +- deps = ["monitoring_proto"], +-) +- +-py_proto_library( +- name = "quota_py_proto", +- deps = ["quota_proto"], +-) +- +-py_proto_library( +- name = "resource_py_proto", +- deps = [":resource_proto"], +-) +- +-py_proto_library( +- name = "service_py_proto", +- deps = [":service_proto"], +-) +- +-py_proto_library( +- name = "source_info_py_proto", +- deps = [":source_info_proto"], +-) +- +-py_proto_library( +- name = "system_parameter_py_proto", +- deps = [":system_parameter_proto"], +-) +- +-py_proto_library( +- name = "usage_py_proto", +- deps = [":usage_proto"], +-) +- +-py_proto_library( +- name = "visibility_py_proto", +- deps = ["visibility_proto"], +-) +diff -urN a/google/api/expr/BUILD.bazel b/google/api/expr/BUILD.bazel +--- a/google/api/expr/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/api/expr/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/api/expr/v1alpha1/BUILD.bazel b/google/api/expr/v1alpha1/BUILD.bazel +--- a/google/api/expr/v1alpha1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/api/expr/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,312 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-proto_library( +- name = "expr_proto", +- srcs = [ +- "checked.proto", +- "eval.proto", +- "explain.proto", +- "syntax.proto", +- "value.proto", +- ], +- deps = [ +- "//google/rpc:status_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library( +- name = "conformance_service_proto", +- srcs = [ +- "conformance_service.proto", +- ], +- deps = [ +- ":checked_proto", +- ":eval_proto", +- ":syntax_proto", +- "//google/rpc:status_proto", +- ], +-) +- +-proto_library( +- name = "checked_proto", +- srcs = ["checked.proto"], +- deps = [ +- ":syntax_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:struct_proto", +- ], +-) +- +-proto_library( +- name = "eval_proto", +- srcs = ["eval.proto"], +- deps = [ +- ":value_proto", +- "//google/rpc:status_proto", +- ], +-) +- +-proto_library( +- name = "explain_proto", +- srcs = ["explain.proto"], +- deps = [ +- ":value_proto", +- ], +-) +- +-proto_library( +- name = "syntax_proto", +- srcs = ["syntax.proto"], +- deps = [ +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library( +- name = "value_proto", +- srcs = ["value.proto"], +- deps = [ +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:struct_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "expr_java_proto", +- deps = [":expr_proto"], +-) +- +-java_proto_library( +- name = "conformance_service_java_proto", +- deps = [":conformance_service_proto"], +-) +- +-java_grpc_library( +- name = "conformance_service_java_grpc", +- srcs = [":conformance_service_proto"], +- deps = [":conformance_service_java_proto"], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "expr_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/api/expr/v1alpha1", +- protos = [":expr_proto"], +- deps = [ +- "//google/rpc:status_go_proto", +- ], +-) +- +-go_proto_library( +- name = "conformance_service_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/api/expr/conformance/v1alpha1", +- protos = [":conformance_service_proto"], +- deps = [ +- ":expr_go_proto", +- "//google/rpc:status_go_proto", +- ], +-) +- +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "moved_proto_library", +- "py_grpc_library", +- "py_proto_library", +-) +- +-moved_proto_library( +- name = "expr_moved_proto", +- srcs = [":expr_proto"], +- deps = [ +- "//google/rpc:status_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-moved_proto_library( +- name = "conformance_service_moved_proto", +- srcs = [":conformance_service_proto"], +- deps = [ +- ":expr_moved_proto", +- "//google/rpc:status_proto", +- ], +-) +- +-py_proto_library( +- name = "expr_py_proto", +- deps = [":expr_moved_proto"], +-) +- +-py_proto_library( +- name = "conformance_service_py_proto", +- deps = [":conformance_service_moved_proto"], +-) +- +-py_grpc_library( +- name = "conformance_service_py_grpc", +- srcs = [":conformance_service_moved_proto"], +- deps = [":conformance_service_py_proto"], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "expr_php_proto", +- deps = [":expr_proto"], +-) +- +-php_proto_library( +- name = "conformance_service_php_proto", +- deps = [":conformance_service_proto"], +-) +- +-php_grpc_library( +- name = "conformance_service_php_grpc", +- srcs = [":conformance_service_proto"], +- deps = [":conformance_service_php_proto"], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "expr_ruby_proto", +- deps = [":expr_proto"], +-) +- +-ruby_proto_library( +- name = "conformance_service_ruby_proto", +- deps = [":conformance_service_proto"], +-) +- +-ruby_grpc_library( +- name = "conformance_service_ruby_grpc", +- srcs = [":conformance_service_proto"], +- deps = [":conformance_service_ruby_proto"], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "expr_csharp_proto", +- deps = [":expr_proto"], +-) +- +-csharp_proto_library( +- name = "conformance_service_csharp_proto", +- deps = [":conformance_service_proto"], +-) +- +-csharp_grpc_library( +- name = "conformance_service_csharp_grpc", +- srcs = [":conformance_service_proto"], +- deps = [":conformance_service_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "cc_grpc_library", +- "cc_proto_library", +-) +- +-cc_proto_library( +- name = "checked_cc_proto", +- deps = [":checked_proto"], +-) +- +-cc_proto_library( +- name = "conformance_service_cc_proto", +- deps = [":conformance_service_proto"], +-) +- +-cc_grpc_library( +- name = "conformance_service_cc_grpc", +- srcs = [":conformance_service_proto"], +- generate_mocks = True, +- grpc_only = True, +- deps = [":conformance_service_cc_proto"], +-) +- +-cc_proto_library( +- name = "eval_cc_proto", +- deps = [":eval_proto"], +-) +- +-cc_proto_library( +- name = "explain_cc_proto", +- deps = [":explain_proto"], +-) +- +-cc_proto_library( +- name = "syntax_cc_proto", +- deps = [":syntax_proto"], +-) +- +-cc_proto_library( +- name = "value_cc_proto", +- deps = [":value_proto"], +-) +diff -urN a/google/api/expr/v1beta1/BUILD.bazel b/google/api/expr/v1beta1/BUILD.bazel +--- a/google/api/expr/v1beta1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/api/expr/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,91 +0,0 @@ +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-proto_library( +- name = "decl_proto", +- srcs = ["decl.proto"], +- deps = [ +- ":expr_proto", +- ], +-) +- +-proto_library( +- name = "eval_proto", +- srcs = ["eval.proto"], +- deps = [ +- ":value_proto", +- "//google/rpc:status_proto", +- ], +-) +- +-proto_library( +- name = "expr_proto", +- srcs = ["expr.proto"], +- deps = [ +- ":source_proto", +- "@com_google_protobuf//:struct_proto", +- ], +-) +- +-proto_library( +- name = "source_proto", +- srcs = ["source.proto"], +-) +- +-proto_library( +- name = "value_proto", +- srcs = ["value.proto"], +- deps = [ +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:struct_proto", +- ], +-) +- +-proto_library( +- name = "cel_proto", +- deps = [ +- ":decl_proto", +- ":eval_proto", +- ":expr_proto", +- ":source_proto", +- ":value_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:struct_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "cc_proto_library", +-) +- +-cc_proto_library( +- name = "decl_cc_proto", +- deps = [":decl_proto"], +-) +- +-cc_proto_library( +- name = "eval_cc_proto", +- deps = [":eval_proto"], +-) +- +-cc_proto_library( +- name = "expr_cc_proto", +- deps = [":expr_proto"], +-) +- +-cc_proto_library( +- name = "source_cc_proto", +- deps = [":source_proto"], +-) +- +-cc_proto_library( +- name = "value_cc_proto", +- deps = [":value_proto"], +-) +diff -urN a/google/api/servicecontrol/v1/BUILD.bazel b/google/api/servicecontrol/v1/BUILD.bazel +--- a/google/api/servicecontrol/v1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/api/servicecontrol/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,362 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "servicecontrol_proto", +- srcs = [ +- "check_error.proto", +- "distribution.proto", +- "http_request.proto", +- "log_entry.proto", +- "metric_value.proto", +- "operation.proto", +- "quota_controller.proto", +- "service_controller.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:distribution_proto", +- "//google/logging/type:type_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "servicecontrol_proto_with_info", +- deps = [ +- ":servicecontrol_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "servicecontrol_java_proto", +- deps = [":servicecontrol_proto"], +-) +- +-java_grpc_library( +- name = "servicecontrol_java_grpc", +- srcs = [":servicecontrol_proto"], +- deps = [":servicecontrol_java_proto"], +-) +- +-java_gapic_library( +- name = "servicecontrol_java_gapic", +- srcs = [":servicecontrol_proto_with_info"], +- grpc_service_config = "servicecontrol_grpc_service_config.json", +- test_deps = [ +- ":servicecontrol_java_grpc", +- ], +- deps = [ +- ":servicecontrol_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "servicecontrol_java_gapic_test_suite", +- test_classes = [ +- "com.google.api.servicecontrol.v1.QuotaControllerClientTest", +- "com.google.api.servicecontrol.v1.ServiceControllerClientTest", +- ], +- runtime_deps = [":servicecontrol_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-api-servicecontrol-v1-java", +- deps = [ +- ":servicecontrol_java_gapic", +- ":servicecontrol_java_grpc", +- ":servicecontrol_java_proto", +- ":servicecontrol_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "servicecontrol_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/api/servicecontrol/v1", +- protos = [":servicecontrol_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/api:distribution_go_proto", +- "//google/logging/type:type_go_proto", +- "//google/rpc:status_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "servicecontrol_go_gapic", +- srcs = [":servicecontrol_proto_with_info"], +- grpc_service_config = "servicecontrol_grpc_service_config.json", +- importpath = "cloud.google.com/go/api/servicecontrol/apiv1;servicecontrol", +- metadata = True, +- service_yaml = "servicecontrol.yaml", +- deps = [ +- ":servicecontrol_go_proto", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- ], +-) +- +-go_test( +- name = "servicecontrol_go_gapic_test", +- srcs = [":servicecontrol_go_gapic_srcjar_test"], +- embed = [":servicecontrol_go_gapic"], +- importpath = "cloud.google.com/go/api/servicecontrol/apiv1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-api-servicecontrol-v1-go", +- deps = [ +- ":servicecontrol_go_gapic", +- ":servicecontrol_go_gapic_srcjar-metadata.srcjar", +- ":servicecontrol_go_gapic_srcjar-test.srcjar", +- ":servicecontrol_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "servicecontrol_py_gapic", +- srcs = [":servicecontrol_proto"], +- grpc_service_config = "servicecontrol_grpc_service_config.json", +- opt_args = [ +- "python-gapic-name=servicecontrol", +- "python-gapic-namespace=google.cloud", +- "warehouse-package-name=google-cloud-service-control", +- ], +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "google-cloud-servicecontrol-v1-py", +- deps = [ +- ":servicecontrol_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "servicecontrol_php_proto", +- deps = [":servicecontrol_proto"], +-) +- +-php_grpc_library( +- name = "servicecontrol_php_grpc", +- srcs = [":servicecontrol_proto"], +- deps = [":servicecontrol_php_proto"], +-) +- +-php_gapic_library( +- name = "servicecontrol_php_gapic", +- srcs = [":servicecontrol_proto_with_info"], +- grpc_service_config = "servicecontrol_grpc_service_config.json", +- service_yaml = "servicecontrol.yaml", +- deps = [ +- ":servicecontrol_php_grpc", +- ":servicecontrol_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-api-servicecontrol-v1-php", +- deps = [ +- ":servicecontrol_php_gapic", +- ":servicecontrol_php_grpc", +- ":servicecontrol_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "servicecontrol_nodejs_gapic", +- package_name = "@google-cloud/service-control", +- src = ":servicecontrol_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "servicecontrol_grpc_service_config.json", +- package = "google.api.servicecontrol.v1", +- service_yaml = "servicecontrol.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "api-servicecontrol-v1-nodejs", +- deps = [ +- ":servicecontrol_nodejs_gapic", +- ":servicecontrol_proto", +- ## DO NOT CHANGE: Owlbot add dependency logging type protos. +- "//google/logging/type:type_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "servicecontrol_ruby_proto", +- deps = [":servicecontrol_proto"], +-) +- +-ruby_grpc_library( +- name = "servicecontrol_ruby_grpc", +- srcs = [":servicecontrol_proto"], +- deps = [":servicecontrol_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "servicecontrol_ruby_gapic", +- srcs = [":servicecontrol_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-api-id=servicecontrol.googleapis.com", +- "ruby-cloud-api-shortname=servicecontrol", +- "ruby-cloud-env-prefix=SERVICE_CONTROL", +- "ruby-cloud-gem-name=google-cloud-service_control-v1", +- "ruby-cloud-product-url=https://cloud.google.com/service-infrastructure/docs/overview/", +- ], +- grpc_service_config = "servicecontrol_grpc_service_config.json", +- ruby_cloud_description = "The Service Control API provides control plane functionality to managed services, such as logging, monitoring, and status checks.", +- ruby_cloud_title = "Service Control API V1", +- deps = [ +- ":servicecontrol_ruby_grpc", +- ":servicecontrol_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-api-servicecontrol-v1-ruby", +- deps = [ +- ":servicecontrol_ruby_gapic", +- ":servicecontrol_ruby_grpc", +- ":servicecontrol_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "servicecontrol_csharp_proto", +- deps = [":servicecontrol_proto"], +-) +- +-csharp_grpc_library( +- name = "servicecontrol_csharp_grpc", +- srcs = [":servicecontrol_proto"], +- deps = [":servicecontrol_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "servicecontrol_csharp_gapic", +- srcs = [":servicecontrol_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "servicecontrol_grpc_service_config.json", +- deps = [ +- ":servicecontrol_csharp_grpc", +- ":servicecontrol_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-api-servicecontrol-v1-csharp", +- deps = [ +- ":servicecontrol_csharp_gapic", +- ":servicecontrol_csharp_grpc", +- ":servicecontrol_csharp_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/api/servicemanagement/BUILD.bazel b/google/api/servicemanagement/BUILD.bazel +--- a/google/api/servicemanagement/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/api/servicemanagement/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +\ No newline at end of file +diff -urN a/google/api/servicemanagement/v1/BUILD.bazel b/google/api/servicemanagement/v1/BUILD.bazel +--- a/google/api/servicemanagement/v1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/api/servicemanagement/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,352 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "servicemanagement_proto", +- srcs = [ +- "resources.proto", +- "servicemanager.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:config_change_proto", +- "//google/api:field_behavior_proto", +- "//google/api:metric_proto", +- "//google/api:quota_proto", +- "//google/api:service_proto", +- "//google/longrunning:operations_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "servicemanagement_proto_with_info", +- deps = [ +- ":servicemanagement_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "servicemanagement_java_proto", +- deps = [":servicemanagement_proto"], +-) +- +-java_grpc_library( +- name = "servicemanagement_java_grpc", +- srcs = [":servicemanagement_proto"], +- deps = [":servicemanagement_java_proto"], +-) +- +-java_gapic_library( +- name = "servicemanagement_java_gapic", +- srcs = [":servicemanagement_proto_with_info"], +- gapic_yaml = "servicemanagement_gapic.yaml", +- grpc_service_config = "servicemanagement_grpc_service_config.json", +- test_deps = [ +- ":servicemanagement_java_grpc", +- ], +- deps = [ +- ":servicemanagement_java_proto", +- "//google/api:api_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "servicemanagement_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.api.servicemanagement.v1.ServiceManagerClientTest", +- ], +- runtime_deps = [":servicemanagement_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-api-servicemanagement-v1-java", +- deps = [ +- ":servicemanagement_java_gapic", +- ":servicemanagement_java_grpc", +- ":servicemanagement_java_proto", +- ":servicemanagement_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "servicemanagement_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/api/servicemanagement/v1", +- protos = [":servicemanagement_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/api:configchange_go_proto", +- "//google/api:metric_go_proto", +- "//google/api:serviceconfig_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "servicemanagement_go_gapic", +- srcs = [":servicemanagement_proto_with_info"], +- grpc_service_config = "servicemanagement_grpc_service_config.json", +- importpath = "cloud.google.com/go/api/servicemanagement/apiv1;servicemanagement", +- service_yaml = "servicemanagement_v1.yaml", +- deps = [ +- ":servicemanagement_go_proto", +- "//google/api:serviceconfig_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:any_go_proto", +- ], +-) +- +-go_test( +- name = "servicemanagement_go_gapic_test", +- srcs = [":servicemanagement_go_gapic_srcjar_test"], +- embed = [":servicemanagement_go_gapic"], +- importpath = "cloud.google.com/go/api/servicemanagement/apiv1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-api-servicemanagement-v1-go", +- deps = [ +- ":servicemanagement_go_gapic", +- ":servicemanagement_go_gapic_srcjar-test.srcjar", +- ":servicemanagement_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "servicemanagement_py_gapic", +- srcs = [":servicemanagement_proto"], +- grpc_service_config = "servicemanagement_grpc_service_config.json", +- opt_args = [ +- "warehouse-package-name=google-cloud-service-management", +- "python-gapic-namespace=google.cloud", +- "python-gapic-name=servicemanagement", +- ] +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "google-cloud-servicemanagement-v1-py", +- deps = [ +- ":servicemanagement_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "servicemanagement_php_proto", +- deps = [":servicemanagement_proto"], +-) +- +-php_grpc_library( +- name = "servicemanagement_php_grpc", +- srcs = [":servicemanagement_proto"], +- deps = [":servicemanagement_php_proto"], +-) +- +-php_gapic_library( +- name = "servicemanagement_php_gapic", +- srcs = [":servicemanagement_proto_with_info"], +- grpc_service_config = "servicemanagement_grpc_service_config.json", +- service_yaml = "servicemanagement_v1.yaml", +- deps = [ +- ":servicemanagement_php_grpc", +- ":servicemanagement_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-api-servicemanagement-v1-php", +- deps = [ +- ":servicemanagement_php_gapic", +- ":servicemanagement_php_grpc", +- ":servicemanagement_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "servicemanagement_nodejs_gapic", +- package_name = "@google-cloud/service-management", +- src = ":servicemanagement_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "servicemanagement_grpc_service_config.json", +- package = "google.api.servicemanagement.v1", +- service_yaml = "servicemanagement_v1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "api-servicemanagement-v1-nodejs", +- deps = [ +- ":servicemanagement_nodejs_gapic", +- ":servicemanagement_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "servicemanagement_ruby_proto", +- deps = [":servicemanagement_proto"], +-) +- +-ruby_grpc_library( +- name = "servicemanagement_ruby_grpc", +- srcs = [":servicemanagement_proto"], +- deps = [":servicemanagement_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "servicemanagement_ruby_gapic", +- srcs = [":servicemanagement_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-service_management-v1", +- "ruby-cloud-env-prefix=SERVICE_MANAGEMENT", +- "ruby-cloud-product-url=https://cloud.google.com/service-infrastructure/docs/overview/", +- "ruby-cloud-api-id=servicemanagement.googleapis.com", +- "ruby-cloud-api-shortname=servicemanagement", +- ], +- ruby_cloud_description = "Google Service Management allows service producers to publish their services on Google Cloud Platform so that they can be discovered and used by service consumers.", +- ruby_cloud_title = "Service Management API V1", +- deps = [ +- ":servicemanagement_ruby_grpc", +- ":servicemanagement_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-api-servicemanagement-v1-ruby", +- deps = [ +- ":servicemanagement_ruby_gapic", +- ":servicemanagement_ruby_grpc", +- ":servicemanagement_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "servicemanagement_csharp_proto", +- deps = [":servicemanagement_proto"], +-) +- +-csharp_grpc_library( +- name = "servicemanagement_csharp_grpc", +- srcs = [":servicemanagement_proto"], +- deps = [":servicemanagement_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "servicemanagement_csharp_gapic", +- srcs = [":servicemanagement_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "servicemanagement_grpc_service_config.json", +- deps = [ +- ":servicemanagement_csharp_grpc", +- ":servicemanagement_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-api-servicemanagement-v1-csharp", +- deps = [ +- ":servicemanagement_csharp_gapic", +- ":servicemanagement_csharp_grpc", +- ":servicemanagement_csharp_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/api/serviceusage/v1/BUILD.bazel b/google/api/serviceusage/v1/BUILD.bazel +--- a/google/api/serviceusage/v1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/api/serviceusage/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,362 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "serviceusage_proto", +- srcs = [ +- "resources.proto", +- "serviceusage.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:auth_proto", +- "//google/api:client_proto", +- "//google/api:documentation_proto", +- "//google/api:endpoint_proto", +- "//google/api:monitored_resource_proto", +- "//google/api:monitoring_proto", +- "//google/api:quota_proto", +- "//google/api:usage_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:api_proto", +- ], +-) +- +-proto_library_with_info( +- name = "serviceusage_proto_with_info", +- deps = [ +- ":serviceusage_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "serviceusage_java_proto", +- deps = [":serviceusage_proto"], +-) +- +-java_grpc_library( +- name = "serviceusage_java_grpc", +- srcs = [":serviceusage_proto"], +- deps = [":serviceusage_java_proto"], +-) +- +-java_gapic_library( +- name = "serviceusage_java_gapic", +- srcs = [":serviceusage_proto_with_info"], +- grpc_service_config = "serviceusage_grpc_service_config.json", +- test_deps = [ +- ":serviceusage_java_grpc", +- ], +- deps = [ +- ":serviceusage_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "serviceusage_java_gapic_test_suite", +- test_classes = [ +- "com.google.api.serviceusage.v1.ServiceUsageClientTest", +- ], +- runtime_deps = [":serviceusage_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-api-serviceusage-v1-java", +- deps = [ +- ":serviceusage_java_gapic", +- ":serviceusage_java_grpc", +- ":serviceusage_java_proto", +- ":serviceusage_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-# load( +-# "@com_google_googleapis_imports//:imports.bzl", +-# "go_gapic_assembly_pkg", +-# "go_gapic_library", +-# "go_proto_library", +-# "go_test", +-# ) +- +-# go_proto_library( +-# name = "serviceusage_go_proto", +-# compilers = ["@io_bazel_rules_go//proto:go_grpc"], +-# importpath = "google.golang.org/genproto/googleapis/api/serviceusage/v1", +-# protos = [":serviceusage_proto"], +-# deps = [ +-# "//google/api:annotations_go_proto", +-# "//google/api:auth_go_proto", +-# "//google/api:documentation_go_proto", +-# "//google/api:endpoint_go_proto", +-# "//google/api:monitoredres_go_proto", +-# "//google/api:monitoring_go_proto", +-# "//google/api:serviceconfig_go_proto", +-# "//google/api:usage_go_proto", +-# "//google/longrunning:longrunning_go_proto", +-# ], +-# ) +- +-# go_gapic_library( +-# name = "serviceusage_go_gapic", +-# srcs = [":serviceusage_proto_with_info"], +-# grpc_service_config = "serviceusage_grpc_service_config.json", +-# importpath = "cloud.google.com/go/api/serviceusage/apiv1;serviceusage", +-# service_yaml = "serviceusage_v1.yaml", +-# metadata = True, +-# deps = [ +-# ":serviceusage_go_proto", +-# "//google/longrunning:longrunning_go_proto", +-# "@com_google_cloud_go//longrunning/autogen:go_default_library", +-# "@com_google_cloud_go//longrunning:go_default_library", +-# ], +-# ) +- +-# go_test( +-# name = "serviceusage_go_gapic_test", +-# srcs = [":serviceusage_go_gapic_srcjar_test"], +-# embed = [":serviceusage_go_gapic"], +-# importpath = "cloud.google.com/go/api/serviceusage/apiv1", +-# ) +- +-# # Open Source Packages +-# go_gapic_assembly_pkg( +-# name = "gapi-cloud-api-serviceusage-v1-go", +-# deps = [ +-# ":serviceusage_go_gapic", +-# ":serviceusage_go_gapic_srcjar-test.srcjar", +-# ":serviceusage_go_gapic_srcjar-metadata.srcjar", +-# ":serviceusage_go_proto", +-# ], +-# ) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "serviceusage_py_gapic", +- srcs = [":serviceusage_proto"], +- grpc_service_config = "serviceusage_grpc_service_config.json", +- opt_args = [ +- "warehouse-package-name=google-cloud-service-usage", +- "python-gapic-namespace=google.cloud", +- "python-gapic-name=service_usage", +- ], +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "api-serviceusage-v1-py", +- deps = [ +- ":serviceusage_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "serviceusage_php_proto", +- deps = [":serviceusage_proto"], +-) +- +-php_grpc_library( +- name = "serviceusage_php_grpc", +- srcs = [":serviceusage_proto"], +- deps = [":serviceusage_php_proto"], +-) +- +-php_gapic_library( +- name = "serviceusage_php_gapic", +- srcs = [":serviceusage_proto_with_info"], +- grpc_service_config = "serviceusage_grpc_service_config.json", +- service_yaml = "serviceusage_v1.yaml", +- deps = [ +- ":serviceusage_php_grpc", +- ":serviceusage_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-api-serviceusage-v1-php", +- deps = [ +- ":serviceusage_php_gapic", +- ":serviceusage_php_grpc", +- ":serviceusage_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "serviceusage_nodejs_gapic", +- package_name = "@google-cloud/service-usage", +- src = ":serviceusage_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "serviceusage_grpc_service_config.json", +- package = "google.api.serviceusage.v1", +- service_yaml = "serviceusage_v1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "api-serviceusage-v1-nodejs", +- deps = [ +- ":serviceusage_nodejs_gapic", +- ":serviceusage_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "serviceusage_ruby_proto", +- deps = [":serviceusage_proto"], +-) +- +-ruby_grpc_library( +- name = "serviceusage_ruby_grpc", +- srcs = [":serviceusage_proto"], +- deps = [":serviceusage_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "serviceusage_ruby_gapic", +- srcs = [":serviceusage_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-service_usage-v1", +- "ruby-cloud-env-prefix=SERVICE_USAGE", +- "ruby-cloud-product-url=https://cloud.google.com/service-usage/", +- "ruby-cloud-api-id=serviceusage.googleapis.com", +- "ruby-cloud-api-shortname=serviceusage", +- ], +- grpc_service_config = "serviceusage_grpc_service_config.json", +- ruby_cloud_description = "Service Usage is an infrastructure service of Google Cloud that lets you list and manage other APIs and services in your Cloud projects. You can list and manage Google Cloud services and their APIs, as well as services created using Cloud Endpoints.", +- ruby_cloud_title = "Service Usage V1", +- deps = [ +- ":serviceusage_ruby_grpc", +- ":serviceusage_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-api-serviceusage-v1-ruby", +- deps = [ +- ":serviceusage_ruby_gapic", +- ":serviceusage_ruby_grpc", +- ":serviceusage_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "serviceusage_csharp_proto", +- deps = [":serviceusage_proto"], +-) +- +-csharp_grpc_library( +- name = "serviceusage_csharp_grpc", +- srcs = [":serviceusage_proto"], +- deps = [":serviceusage_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "serviceusage_csharp_gapic", +- srcs = [":serviceusage_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "serviceusage_grpc_service_config.json", +- deps = [ +- ":serviceusage_csharp_grpc", +- ":serviceusage_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-api-serviceusage-v1-csharp", +- deps = [ +- ":serviceusage_csharp_gapic", +- ":serviceusage_csharp_grpc", +- ":serviceusage_csharp_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/api/serviceusage/v1beta1/BUILD.bazel b/google/api/serviceusage/v1beta1/BUILD.bazel +--- a/google/api/serviceusage/v1beta1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/api/serviceusage/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,354 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "serviceusage_proto", +- srcs = [ +- "resources.proto", +- "serviceusage.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:auth_proto", +- "//google/api:client_proto", +- "//google/api:documentation_proto", +- "//google/api:endpoint_proto", +- "//google/api:field_behavior_proto", +- "//google/api:monitored_resource_proto", +- "//google/api:monitoring_proto", +- "//google/api:quota_proto", +- "//google/api:usage_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:api_proto", +- "@com_google_protobuf//:field_mask_proto", +- ], +-) +- +-proto_library_with_info( +- name = "serviceusage_proto_with_info", +- deps = [ +- ":serviceusage_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "serviceusage_java_proto", +- deps = [":serviceusage_proto"], +-) +- +-java_grpc_library( +- name = "serviceusage_java_grpc", +- srcs = [":serviceusage_proto"], +- deps = [":serviceusage_java_proto"], +-) +- +-java_gapic_library( +- name = "serviceusage_java_gapic", +- srcs = [":serviceusage_proto_with_info"], +- grpc_service_config = "serviceusage_grpc_service_config.json", +- test_deps = [ +- ":serviceusage_java_grpc", +- ], +- deps = [ +- ":serviceusage_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "serviceusage_java_gapic_test_suite", +- test_classes = [ +- "com.google.api.serviceusage.v1beta1.ServiceUsageClientTest", +- ], +- runtime_deps = [":serviceusage_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-api-serviceusage-v1beta1-java", +- deps = [ +- ":serviceusage_java_gapic", +- ":serviceusage_java_grpc", +- ":serviceusage_java_proto", +- ":serviceusage_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "serviceusage_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/api/serviceusage/v1beta1", +- protos = [":serviceusage_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/api:monitoredres_go_proto", +- "//google/api:serviceconfig_go_proto", +- "//google/longrunning:longrunning_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "serviceusage_go_gapic", +- srcs = [":serviceusage_proto_with_info"], +- grpc_service_config = "serviceusage_grpc_service_config.json", +- importpath = "cloud.google.com/go/api/serviceusage/apiv1beta1;serviceusage", +- metadata = True, +- service_yaml = "serviceusage_v1beta1.yaml", +- deps = [ +- ":serviceusage_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- ], +-) +- +-go_test( +- name = "serviceusage_go_gapic_test", +- srcs = [":serviceusage_go_gapic_srcjar_test"], +- embed = [":serviceusage_go_gapic"], +- importpath = "cloud.google.com/go/api/serviceusage/apiv1beta1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-api-serviceusage-v1beta1-go", +- deps = [ +- ":serviceusage_go_gapic", +- ":serviceusage_go_gapic_srcjar-metadata.srcjar", +- ":serviceusage_go_gapic_srcjar-test.srcjar", +- ":serviceusage_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "serviceusage_py_gapic", +- srcs = [":serviceusage_proto"], +- grpc_service_config = "serviceusage_grpc_service_config.json", +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "api-serviceusage-v1beta1-py", +- deps = [ +- ":serviceusage_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "serviceusage_php_proto", +- deps = [":serviceusage_proto"], +-) +- +-php_grpc_library( +- name = "serviceusage_php_grpc", +- srcs = [":serviceusage_proto"], +- deps = [":serviceusage_php_proto"], +-) +- +-php_gapic_library( +- name = "serviceusage_php_gapic", +- srcs = [":serviceusage_proto_with_info"], +- grpc_service_config = "serviceusage_grpc_service_config.json", +- service_yaml = "serviceusage_v1beta1.yaml", +- deps = [ +- ":serviceusage_php_grpc", +- ":serviceusage_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-api-serviceusage-v1beta1-php", +- deps = [ +- ":serviceusage_php_gapic", +- ":serviceusage_php_grpc", +- ":serviceusage_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "serviceusage_nodejs_gapic", +- package_name = "@google-cloud/service-usage", +- src = ":serviceusage_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "serviceusage_grpc_service_config.json", +- package = "google.api.serviceusage.v1beta1", +- service_yaml = "serviceusage_v1beta1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "api-serviceusage-v1beta1-nodejs", +- deps = [ +- ":serviceusage_nodejs_gapic", +- ":serviceusage_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "serviceusage_ruby_proto", +- deps = [":serviceusage_proto"], +-) +- +-ruby_grpc_library( +- name = "serviceusage_ruby_grpc", +- srcs = [":serviceusage_proto"], +- deps = [":serviceusage_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "serviceusage_ruby_gapic", +- srcs = [":serviceusage_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-service_usage-v1beta1", +- "ruby-cloud-env-prefix=SERVICE_USAGE", +- "ruby-cloud-product-url=https://cloud.google.com/service-usage/", +- "ruby-cloud-api-id=serviceusage.googleapis.com", +- "ruby-cloud-api-shortname=serviceusage", +- ], +- grpc_service_config = "serviceusage_grpc_service_config.json", +- ruby_cloud_description = "Service Usage is an infrastructure service of Google Cloud that lets you list and manage other APIs and services in your Cloud projects. You can list and manage Google Cloud services and their APIs, as well as services created using Cloud Endpoints.", +- ruby_cloud_title = "Service Usage V1beta1", +- deps = [ +- ":serviceusage_ruby_grpc", +- ":serviceusage_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-api-serviceusage-v1beta1-ruby", +- deps = [ +- ":serviceusage_ruby_gapic", +- ":serviceusage_ruby_grpc", +- ":serviceusage_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "serviceusage_csharp_proto", +- deps = [":serviceusage_proto"], +-) +- +-csharp_grpc_library( +- name = "serviceusage_csharp_grpc", +- srcs = [":serviceusage_proto"], +- deps = [":serviceusage_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "serviceusage_csharp_gapic", +- srcs = [":serviceusage_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "serviceusage_grpc_service_config.json", +- deps = [ +- ":serviceusage_csharp_grpc", +- ":serviceusage_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-api-serviceusage-v1beta1-csharp", +- deps = [ +- ":serviceusage_csharp_gapic", +- ":serviceusage_csharp_grpc", +- ":serviceusage_csharp_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/appengine/legacy/BUILD.bazel b/google/appengine/legacy/BUILD.bazel +--- a/google/appengine/legacy/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/appengine/legacy/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,161 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-proto_library( +- name = "legacy_proto", +- srcs = [ +- "audit_data.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "legacy_java_proto", +- deps = [":legacy_proto"], +-) +- +-java_grpc_library( +- name = "legacy_java_grpc", +- srcs = [":legacy_proto"], +- deps = [":legacy_java_proto"], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "legacy_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/appengine/legacy", +- protos = [":legacy_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "moved_proto_library", +- "py_grpc_library", +- "py_proto_library", +-) +- +-moved_proto_library( +- name = "legacy_moved_proto", +- srcs = [":legacy_proto"], +- deps = [ +- "//google/api:annotations_proto", +- ], +-) +- +-py_proto_library( +- name = "legacy_py_proto", +- deps = [":legacy_moved_proto"], +-) +- +-py_grpc_library( +- name = "legacy_py_grpc", +- srcs = [":legacy_moved_proto"], +- deps = [":legacy_py_proto"], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "legacy_php_proto", +- deps = [":legacy_proto"], +-) +- +-php_grpc_library( +- name = "legacy_php_grpc", +- srcs = [":legacy_proto"], +- deps = [":legacy_php_proto"], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "legacy_ruby_proto", +- deps = [":legacy_proto"], +-) +- +-ruby_grpc_library( +- name = "legacy_ruby_grpc", +- srcs = [":legacy_proto"], +- deps = [":legacy_ruby_proto"], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "legacy_csharp_proto", +- deps = [":legacy_proto"], +-) +- +-csharp_grpc_library( +- name = "legacy_csharp_grpc", +- srcs = [":legacy_proto"], +- deps = [":legacy_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/appengine/logging/v1/BUILD.bazel b/google/appengine/logging/v1/BUILD.bazel +--- a/google/appengine/logging/v1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/appengine/logging/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,160 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-proto_library( +- name = "logging_proto", +- srcs = [ +- "request_log.proto", +- ], +- deps = [ +- "//google/logging/type:type_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "logging_java_proto", +- deps = [":logging_proto"], +-) +- +-java_grpc_library( +- name = "logging_java_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_java_proto"], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "logging_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/appengine/logging/v1", +- protos = [":logging_proto"], +- deps = [ +- "//google/logging/type:type_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_library", +- "py_gapic_assembly_pkg" +-) +- +-py_gapic_library( +- name = "logging_py_gapic", +- srcs = [":logging_proto"], +- opt_args = [ +- "warehouse-package-name=google-cloud-appengine-logging", +- "python-gapic-namespace=google.cloud", +- "python-gapic-name=appengine_logging", +- ], +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "google-cloud-appengine-logging-v1-py", +- deps = [ +- ":logging_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "logging_php_proto", +- deps = [":logging_proto"], +-) +- +-php_grpc_library( +- name = "logging_php_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_php_proto"], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "logging_ruby_proto", +- deps = [":logging_proto"], +-) +- +-ruby_grpc_library( +- name = "logging_ruby_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_ruby_proto"], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "logging_csharp_proto", +- deps = [":logging_proto"], +-) +- +-csharp_grpc_library( +- name = "logging_csharp_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/appengine/v1/BUILD.bazel b/google/appengine/v1/BUILD.bazel +--- a/google/appengine/v1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/appengine/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,374 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "appengine_proto", +- srcs = [ +- "app_yaml.proto", +- "appengine.proto", +- "application.proto", +- "audit_data.proto", +- "certificate.proto", +- "deploy.proto", +- "deployed_files.proto", +- "domain.proto", +- "domain_mapping.proto", +- "firewall.proto", +- "instance.proto", +- "location.proto", +- "network_settings.proto", +- "operation.proto", +- "service.proto", +- "version.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "appengine_proto_with_info", +- deps = [ +- ":appengine_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "appengine_java_proto", +- deps = [":appengine_proto"], +-) +- +-java_grpc_library( +- name = "appengine_java_grpc", +- srcs = [":appengine_proto"], +- deps = [":appengine_java_proto"], +-) +- +-java_gapic_library( +- name = "appengine_java_gapic", +- srcs = [":appengine_proto_with_info"], +- grpc_service_config = "appengine_grpc_service_config.json", +- test_deps = [ +- ":appengine_java_grpc", +- ], +- deps = [ +- ":appengine_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "appengine_java_gapic_test_suite", +- test_classes = [ +- "com.google.appengine.v1.ApplicationsClientTest", +- "com.google.appengine.v1.AuthorizedCertificatesClientTest", +- "com.google.appengine.v1.AuthorizedDomainsClientTest", +- "com.google.appengine.v1.DomainMappingsClientTest", +- "com.google.appengine.v1.FirewallClientTest", +- "com.google.appengine.v1.InstancesClientTest", +- "com.google.appengine.v1.ServicesClientTest", +- "com.google.appengine.v1.VersionsClientTest", +- ], +- runtime_deps = [":appengine_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-appengine-v1-java", +- deps = [ +- ":appengine_java_gapic", +- ":appengine_java_grpc", +- ":appengine_java_proto", +- ":appengine_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "appengine_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/appengine/v1", +- protos = [":appengine_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/longrunning:longrunning_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "appengine_go_gapic", +- srcs = [":appengine_proto_with_info"], +- grpc_service_config = "appengine_grpc_service_config.json", +- importpath = "cloud.google.com/go/appengine/apiv1;appengine", +- metadata = True, +- service_yaml = "appengine_v1.yaml", +- deps = [ +- ":appengine_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- ], +-) +- +-go_test( +- name = "appengine_go_gapic_test", +- srcs = [":appengine_go_gapic_srcjar_test"], +- embed = [":appengine_go_gapic"], +- importpath = "cloud.google.com/go/appengine/apiv1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-appengine-v1-go", +- deps = [ +- ":appengine_go_gapic", +- ":appengine_go_gapic_srcjar-metadata.srcjar", +- ":appengine_go_gapic_srcjar-test.srcjar", +- ":appengine_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "appengine_py_gapic", +- srcs = [":appengine_proto"], +- grpc_service_config = "appengine_grpc_service_config.json", +- opt_args = [ +- "warehouse-package-name=google-cloud-appengine-admin", +- "python-gapic-namespace=google.cloud", +- "python-gapic-name=appengine_admin", +- ], +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "google-cloud-appengine-v1-py", +- deps = [ +- ":appengine_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "appengine_php_proto", +- deps = [":appengine_proto"], +-) +- +-php_grpc_library( +- name = "appengine_php_grpc", +- srcs = [":appengine_proto"], +- deps = [":appengine_php_proto"], +-) +- +-php_gapic_library( +- name = "appengine_php_gapic", +- srcs = [":appengine_proto_with_info"], +- grpc_service_config = "appengine_grpc_service_config.json", +- service_yaml = "appengine_v1.yaml", +- deps = [ +- ":appengine_php_grpc", +- ":appengine_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-appengine-v1-php", +- deps = [ +- ":appengine_php_gapic", +- ":appengine_php_grpc", +- ":appengine_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "appengine_nodejs_gapic", +- package_name = "@google-cloud/appengine-admin", +- src = ":appengine_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "appengine_grpc_service_config.json", +- package = "google.appengine.v1", +- service_yaml = "appengine_v1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "appengine-v1-nodejs", +- deps = [ +- ":appengine_nodejs_gapic", +- ":appengine_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "appengine_ruby_proto", +- deps = [":appengine_proto"], +-) +- +-ruby_grpc_library( +- name = "appengine_ruby_grpc", +- srcs = [":appengine_proto"], +- deps = [":appengine_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "appengine_ruby_gapic", +- srcs = [":appengine_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-app_engine-v1", +- "ruby-cloud-env-prefix=APP_ENGINE", +- "ruby-cloud-product-url=https://cloud.google.com/appengine/docs/admin-api/", +- "ruby-cloud-api-id=appengine.googleapis.com", +- "ruby-cloud-api-shortname=appengine", +- ], +- ruby_cloud_description = "The App Engine Admin API provisions and manages your App Engine applications.", +- ruby_cloud_title = "App Engine Admin V1", +- deps = [ +- ":appengine_ruby_grpc", +- ":appengine_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-appengine-v1-ruby", +- deps = [ +- ":appengine_ruby_gapic", +- ":appengine_ruby_grpc", +- ":appengine_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "appengine_csharp_proto", +- deps = [":appengine_proto"], +-) +- +-csharp_grpc_library( +- name = "appengine_csharp_grpc", +- srcs = [":appengine_proto"], +- deps = [":appengine_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "appengine_csharp_gapic", +- srcs = [":appengine_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "appengine_grpc_service_config.json", +- deps = [ +- ":appengine_csharp_grpc", +- ":appengine_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-appengine-v1-csharp", +- deps = [ +- ":appengine_csharp_gapic", +- ":appengine_csharp_grpc", +- ":appengine_csharp_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/appengine/v1beta/BUILD.bazel b/google/appengine/v1beta/BUILD.bazel +--- a/google/appengine/v1beta/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/appengine/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,192 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-proto_library( +- name = "appengine_proto", +- srcs = [ +- "app_yaml.proto", +- "appengine.proto", +- "application.proto", +- "audit_data.proto", +- "certificate.proto", +- "deploy.proto", +- "domain.proto", +- "domain_mapping.proto", +- "firewall.proto", +- "instance.proto", +- "location.proto", +- "network_settings.proto", +- "operation.proto", +- "service.proto", +- "version.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "appengine_java_proto", +- deps = [":appengine_proto"], +-) +- +-java_grpc_library( +- name = "appengine_java_grpc", +- srcs = [":appengine_proto"], +- deps = [":appengine_java_proto"], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "appengine_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/appengine/v1beta", +- protos = [":appengine_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/longrunning:longrunning_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "moved_proto_library", +- "py_grpc_library", +- "py_proto_library", +-) +- +-moved_proto_library( +- name = "appengine_moved_proto", +- srcs = [":appengine_proto"], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-py_proto_library( +- name = "appengine_py_proto", +- deps = [":appengine_moved_proto"], +-) +- +-py_grpc_library( +- name = "appengine_py_grpc", +- srcs = [":appengine_moved_proto"], +- deps = [":appengine_py_proto"], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "appengine_php_proto", +- deps = [":appengine_proto"], +-) +- +-php_grpc_library( +- name = "appengine_php_grpc", +- srcs = [":appengine_proto"], +- deps = [":appengine_php_proto"], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "appengine_ruby_proto", +- deps = [":appengine_proto"], +-) +- +-ruby_grpc_library( +- name = "appengine_ruby_grpc", +- srcs = [":appengine_proto"], +- deps = [":appengine_ruby_proto"], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "appengine_csharp_proto", +- deps = [":appengine_proto"], +-) +- +-csharp_grpc_library( +- name = "appengine_csharp_grpc", +- srcs = [":appengine_proto"], +- deps = [":appengine_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/apps/alertcenter/v1beta1/BUILD.bazel b/google/apps/alertcenter/v1beta1/BUILD.bazel +--- a/google/apps/alertcenter/v1beta1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/apps/alertcenter/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,336 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "alertcenter_proto", +- srcs = [ +- "alertcenter.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "alertcenter_proto_with_info", +- deps = [ +- ":alertcenter_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "alertcenter_java_proto", +- deps = [":alertcenter_proto"], +-) +- +-java_grpc_library( +- name = "alertcenter_java_grpc", +- srcs = [":alertcenter_proto"], +- deps = [":alertcenter_java_proto"], +-) +- +-java_gapic_library( +- name = "alertcenter_java_gapic", +- srcs = [":alertcenter_proto_with_info"], +- grpc_service_config = "alertcenter_grpc_service_config.json", +- test_deps = [ +- ":alertcenter_java_grpc", +- ], +- deps = [ +- ":alertcenter_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "alertcenter_java_gapic_test_suite", +- test_classes = [ +- "com.google.apps.alertcenter.v1beta1.AlertCenterServiceClientTest", +- ], +- runtime_deps = [":alertcenter_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-apps-alertcenter-v1beta1-java", +- deps = [ +- ":alertcenter_java_gapic", +- ":alertcenter_java_grpc", +- ":alertcenter_java_proto", +- ":alertcenter_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "alertcenter_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/apps/alertcenter/v1beta1", +- protos = [":alertcenter_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/rpc:status_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "alertcenter_go_gapic", +- srcs = [":alertcenter_proto_with_info"], +- grpc_service_config = "alertcenter_grpc_service_config.json", +- importpath = "google.golang.org/google/apps/alertcenter/v1beta1;alertcenter", +- service_yaml = "alertcenter.yaml", +- metadata = True, +- deps = [ +- ":alertcenter_go_proto", +- ], +-) +- +-go_test( +- name = "alertcenter_go_gapic_test", +- srcs = [":alertcenter_go_gapic_srcjar_test"], +- embed = [":alertcenter_go_gapic"], +- importpath = "google.golang.org/google/apps/alertcenter/v1beta1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-apps-alertcenter-v1beta1-go", +- deps = [ +- ":alertcenter_go_gapic", +- ":alertcenter_go_gapic_srcjar-test.srcjar", +- ":alertcenter_go_gapic_srcjar-metadata.srcjar", +- ":alertcenter_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "alertcenter_py_gapic", +- srcs = [":alertcenter_proto"], +- grpc_service_config = "alertcenter_grpc_service_config.json", +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "apps-alertcenter-v1beta1-py", +- deps = [ +- ":alertcenter_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "alertcenter_php_proto", +- deps = [":alertcenter_proto"], +-) +- +-php_grpc_library( +- name = "alertcenter_php_grpc", +- srcs = [":alertcenter_proto"], +- deps = [":alertcenter_php_proto"], +-) +- +-php_gapic_library( +- name = "alertcenter_php_gapic", +- srcs = [":alertcenter_proto_with_info"], +- grpc_service_config = "alertcenter_grpc_service_config.json", +- service_yaml = "alertcenter.yaml", +- deps = [ +- ":alertcenter_php_grpc", +- ":alertcenter_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-apps-alertcenter-v1beta1-php", +- deps = [ +- ":alertcenter_php_gapic", +- ":alertcenter_php_grpc", +- ":alertcenter_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "alertcenter_nodejs_gapic", +- package_name = "@google-cloud/alertcenter", +- src = ":alertcenter_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "alertcenter_grpc_service_config.json", +- package = "google.apps.alertcenter.v1beta1", +- service_yaml = "alertcenter.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "apps-alertcenter-v1beta1-nodejs", +- deps = [ +- ":alertcenter_nodejs_gapic", +- ":alertcenter_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "alertcenter_ruby_proto", +- deps = [":alertcenter_proto"], +-) +- +-ruby_grpc_library( +- name = "alertcenter_ruby_grpc", +- srcs = [":alertcenter_proto"], +- deps = [":alertcenter_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "alertcenter_ruby_gapic", +- srcs = [":alertcenter_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-apps-alertcenter-v1beta1", +- ], +- grpc_service_config = "alertcenter_grpc_service_config.json", +- deps = [ +- ":alertcenter_ruby_grpc", +- ":alertcenter_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-apps-alertcenter-v1beta1-ruby", +- deps = [ +- ":alertcenter_ruby_gapic", +- ":alertcenter_ruby_grpc", +- ":alertcenter_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "alertcenter_csharp_proto", +- deps = [":alertcenter_proto"], +-) +- +-csharp_grpc_library( +- name = "alertcenter_csharp_grpc", +- srcs = [":alertcenter_proto"], +- deps = [":alertcenter_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "alertcenter_csharp_gapic", +- srcs = [":alertcenter_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "alertcenter_grpc_service_config.json", +- deps = [ +- ":alertcenter_csharp_grpc", +- ":alertcenter_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-apps-alertcenter-v1beta1-csharp", +- deps = [ +- ":alertcenter_csharp_gapic", +- ":alertcenter_csharp_grpc", +- ":alertcenter_csharp_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/apps/drive/activity/v2/BUILD.bazel b/google/apps/drive/activity/v2/BUILD.bazel +--- a/google/apps/drive/activity/v2/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/apps/drive/activity/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,334 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "activity_proto", +- srcs = [ +- "action.proto", +- "actor.proto", +- "common.proto", +- "drive_activity_service.proto", +- "query_drive_activity_request.proto", +- "query_drive_activity_response.proto", +- "target.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "activity_proto_with_info", +- deps = [ +- ":activity_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "activity_java_proto", +- deps = [":activity_proto"], +-) +- +-java_grpc_library( +- name = "activity_java_grpc", +- srcs = [":activity_proto"], +- deps = [":activity_java_proto"], +-) +- +-java_gapic_library( +- name = "activity_java_gapic", +- srcs = [":activity_proto_with_info"], +- grpc_service_config = "driveactivity_grpc_service_config.json", +- test_deps = [ +- ":activity_java_grpc", +- ], +- deps = [ +- ":activity_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "activity_java_gapic_test_suite", +- test_classes = [ +- "com.google.apps.drive.activity.v2.DriveActivityServiceClientTest", +- ], +- runtime_deps = [":activity_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-apps-drive-activity-v2-java", +- deps = [ +- ":activity_java_gapic", +- ":activity_java_grpc", +- ":activity_java_proto", +- ":activity_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "activity_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/apps/drive/activity/v2", +- protos = [":activity_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "activity_go_gapic", +- srcs = [":activity_proto_with_info"], +- grpc_service_config = "driveactivity_grpc_service_config.json", +- importpath = "google.golang.org/google/apps/drive/activity/v2;activity", +- metadata = True, +- service_yaml = "driveactivity_v2.yaml", +- deps = [ +- ":activity_go_proto", +- ], +-) +- +-go_test( +- name = "activity_go_gapic_test", +- srcs = [":activity_go_gapic_srcjar_test"], +- embed = [":activity_go_gapic"], +- importpath = "google.golang.org/google/apps/drive/activity/v2", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-apps-drive-activity-v2-go", +- deps = [ +- ":activity_go_gapic", +- ":activity_go_gapic_srcjar-metadata.srcjar", +- ":activity_go_gapic_srcjar-test.srcjar", +- ":activity_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "activity_py_gapic", +- srcs = [":activity_proto"], +- grpc_service_config = "driveactivity_grpc_service_config.json", +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "drive-activity-v2-py", +- deps = [ +- ":activity_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "activity_php_proto", +- deps = [":activity_proto"], +-) +- +-php_grpc_library( +- name = "activity_php_grpc", +- srcs = [":activity_proto"], +- deps = [":activity_php_proto"], +-) +- +-php_gapic_library( +- name = "activity_php_gapic", +- srcs = [":activity_proto_with_info"], +- grpc_service_config = "driveactivity_grpc_service_config.json", +- deps = [ +- ":activity_php_grpc", +- ":activity_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-apps-drive-activity-v2-php", +- deps = [ +- ":activity_php_gapic", +- ":activity_php_grpc", +- ":activity_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "activity_nodejs_gapic", +- package_name = "@google-cloud/drive-activity", +- src = ":activity_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "driveactivity_grpc_service_config.json", +- package = "google.apps.drive.activity.v2", +- service_yaml = "driveactivity_v2.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "drive-activity-v2-nodejs", +- deps = [ +- ":activity_nodejs_gapic", +- ":activity_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "activity_ruby_proto", +- deps = [":activity_proto"], +-) +- +-ruby_grpc_library( +- name = "activity_ruby_grpc", +- srcs = [":activity_proto"], +- deps = [":activity_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "activity_ruby_gapic", +- srcs = [":activity_proto_with_info"], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-apps-drive-activity-v2"], +- grpc_service_config = "driveactivity_grpc_service_config.json", +- deps = [ +- ":activity_ruby_grpc", +- ":activity_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-apps-drive-activity-v2-ruby", +- deps = [ +- ":activity_ruby_gapic", +- ":activity_ruby_grpc", +- ":activity_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "activity_csharp_proto", +- deps = [":activity_proto"], +-) +- +-csharp_grpc_library( +- name = "activity_csharp_grpc", +- srcs = [":activity_proto"], +- deps = [":activity_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "activity_csharp_gapic", +- srcs = [":activity_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "driveactivity_grpc_service_config.json", +- deps = [ +- ":activity_csharp_grpc", +- ":activity_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-apps-drive-activity-v2-csharp", +- deps = [ +- ":activity_csharp_gapic", +- ":activity_csharp_grpc", +- ":activity_csharp_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/apps/market/v2/BUILD.bazel b/google/apps/market/v2/BUILD.bazel +--- a/google/apps/market/v2/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/apps/market/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,332 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "marketplace_proto", +- srcs = [ +- "resources.proto", +- "services.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- ], +-) +- +-proto_library_with_info( +- name = "marketplace_proto_with_info", +- deps = [ +- ":marketplace_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "marketplace_java_proto", +- deps = [":marketplace_proto"], +-) +- +-java_grpc_library( +- name = "marketplace_java_grpc", +- srcs = [":marketplace_proto"], +- deps = [":marketplace_java_proto"], +-) +- +-java_gapic_library( +- name = "marketplace_java_gapic", +- srcs = [":marketplace_proto_with_info"], +- grpc_service_config = "service_grpc_service_config.json", +- test_deps = [ +- ":marketplace_java_grpc", +- ], +- deps = [ +- ":marketplace_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "marketplace_java_gapic_test_suite", +- test_classes = [ +- "com.google.ccc.hosted.marketplace.v2.CustomerLicenseServiceClientTest", +- "com.google.ccc.hosted.marketplace.v2.LicenseNotificationServiceClientTest", +- "com.google.ccc.hosted.marketplace.v2.UserLicenseServiceClientTest", +- ], +- runtime_deps = [":marketplace_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-hosted-marketplace-v2-java", +- deps = [ +- ":marketplace_java_gapic", +- ":marketplace_java_grpc", +- ":marketplace_java_proto", +- ":marketplace_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "marketplace_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/ccc/hosted/marketplace/v2", +- protos = [":marketplace_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "marketplace_go_gapic", +- srcs = [":marketplace_proto_with_info"], +- grpc_service_config = "service_grpc_service_config.json", +- importpath = "google.golang.org/ccc/hosted/marketplace/v2;marketplace", +- metadata = True, +- service_yaml = "appsmarket_v2.yaml", +- deps = [ +- ":marketplace_go_proto", +- ], +-) +- +-go_test( +- name = "marketplace_go_gapic_test", +- srcs = [":marketplace_go_gapic_srcjar_test"], +- embed = [":marketplace_go_gapic"], +- importpath = "google.golang.org/ccc/hosted/marketplace/v2", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-hosted-marketplace-v2-go", +- deps = [ +- ":marketplace_go_gapic", +- ":marketplace_go_gapic_srcjar-metadata.srcjar", +- ":marketplace_go_gapic_srcjar-test.srcjar", +- ":marketplace_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "marketplace_py_gapic", +- srcs = [":marketplace_proto"], +- grpc_service_config = "service_grpc_service_config.json", +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "hosted-marketplace-v2-py", +- deps = [ +- ":marketplace_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "marketplace_php_proto", +- deps = [":marketplace_proto"], +-) +- +-php_grpc_library( +- name = "marketplace_php_grpc", +- srcs = [":marketplace_proto"], +- deps = [":marketplace_php_proto"], +-) +- +-php_gapic_library( +- name = "marketplace_php_gapic", +- srcs = [":marketplace_proto_with_info"], +- grpc_service_config = "service_grpc_service_config.json", +- deps = [ +- ":marketplace_php_grpc", +- ":marketplace_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-hosted-marketplace-v2-php", +- deps = [ +- ":marketplace_php_gapic", +- ":marketplace_php_grpc", +- ":marketplace_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "marketplace_nodejs_gapic", +- package_name = "@google-cloud/marketplace", +- src = ":marketplace_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "service_grpc_service_config.json", +- package = "ccc.hosted.marketplace.v2", +- service_yaml = "appsmarket_v2.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "hosted-marketplace-v2-nodejs", +- deps = [ +- ":marketplace_nodejs_gapic", +- ":marketplace_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "marketplace_ruby_proto", +- deps = [":marketplace_proto"], +-) +- +-ruby_grpc_library( +- name = "marketplace_ruby_grpc", +- srcs = [":marketplace_proto"], +- deps = [":marketplace_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "marketplace_ruby_gapic", +- srcs = [":marketplace_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-hosted-marketplace-v2", +- ], +- grpc_service_config = "service_grpc_service_config.json", +- deps = [ +- ":marketplace_ruby_grpc", +- ":marketplace_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-hosted-marketplace-v2-ruby", +- deps = [ +- ":marketplace_ruby_gapic", +- ":marketplace_ruby_grpc", +- ":marketplace_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "marketplace_csharp_proto", +- deps = [":marketplace_proto"], +-) +- +-csharp_grpc_library( +- name = "marketplace_csharp_grpc", +- srcs = [":marketplace_proto"], +- deps = [":marketplace_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "marketplace_csharp_gapic", +- srcs = [":marketplace_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "service_grpc_service_config.json", +- deps = [ +- ":marketplace_csharp_grpc", +- ":marketplace_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-hosted-marketplace-v2-csharp", +- deps = [ +- ":marketplace_csharp_gapic", +- ":marketplace_csharp_grpc", +- ":marketplace_csharp_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/apps/script/type/BUILD.bazel b/google/apps/script/type/BUILD.bazel +--- a/google/apps/script/type/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/apps/script/type/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,117 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +- "go_proto_library", +- "java_grpc_library", +- "java_proto_library", +- "moved_proto_library", +- "php_grpc_library", +- "php_proto_library", +- "py_grpc_library", +- "py_proto_library", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-proto_library( +- name = "type_proto", +- srcs = [ +- "addon_widget_set.proto", +- "extension_point.proto", +- "script_manifest.proto", +- ], +- deps = [ +- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:wrappers_proto", +- ], +-) +- +-java_proto_library( +- name = "type_java_proto", +- deps = [":type_proto"], +-) +- +-java_grpc_library( +- name = "type_java_grpc", +- srcs = [":type_proto"], +- deps = [":type_java_proto"], +-) +- +-go_proto_library( +- name = "type_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/apps/script/type", +- protos = [":type_proto"], +-) +- +-moved_proto_library( +- name = "type_moved_proto", +- srcs = [":type_proto"], +- deps = [ +- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:wrappers_proto", +- ], +-) +- +-py_proto_library( +- name = "type_py_proto", +- deps = [":type_moved_proto"], +-) +- +-py_grpc_library( +- name = "type_py_grpc", +- srcs = [":type_moved_proto"], +- deps = [":type_py_proto"], +-) +- +-php_proto_library( +- name = "type_php_proto", +- deps = [":type_proto"], +-) +- +-php_grpc_library( +- name = "type_php_grpc", +- srcs = [":type_proto"], +- deps = [":type_php_proto"], +-) +- +-ruby_proto_library( +- name = "type_ruby_proto", +- deps = [":type_proto"], +-) +- +-ruby_grpc_library( +- name = "type_ruby_grpc", +- srcs = [":type_proto"], +- deps = [":type_ruby_proto"], +-) +- +-csharp_proto_library( +- name = "type_csharp_proto", +- deps = [":type_proto"], +-) +- +-csharp_grpc_library( +- name = "type_csharp_grpc", +- srcs = [":type_proto"], +- deps = [":type_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/apps/script/type/calendar/BUILD.bazel b/google/apps/script/type/calendar/BUILD.bazel +--- a/google/apps/script/type/calendar/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/apps/script/type/calendar/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,119 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +- "go_proto_library", +- "java_grpc_library", +- "java_proto_library", +- "moved_proto_library", +- "php_grpc_library", +- "php_proto_library", +- "py_grpc_library", +- "py_proto_library", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-proto_library( +- name = "calendar_proto", +- srcs = [ +- "calendar_addon_manifest.proto", +- ], +- deps = [ +- "//google/api:field_behavior_proto", +- "//google/apps/script/type:type_proto", +- ], +-) +- +-java_proto_library( +- name = "calendar_java_proto", +- deps = [":calendar_proto"], +-) +- +-java_grpc_library( +- name = "calendar_java_grpc", +- srcs = [":calendar_proto"], +- deps = [":calendar_java_proto"], +-) +- +-go_proto_library( +- name = "calendar_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/apps/script/type/calendar", +- protos = [":calendar_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/apps/script/type:type_go_proto", +- ], +-) +- +-moved_proto_library( +- name = "calendar_moved_proto", +- srcs = [":calendar_proto"], +- deps = [ +- "//google/api:field_behavior_proto", +- "//google/apps/script/type:type_proto", +- ], +-) +- +-py_proto_library( +- name = "calendar_py_proto", +- deps = [":calendar_moved_proto"], +-) +- +-py_grpc_library( +- name = "calendar_py_grpc", +- srcs = [":calendar_moved_proto"], +- deps = [":calendar_py_proto"], +-) +- +-php_proto_library( +- name = "calendar_php_proto", +- deps = [":calendar_proto"], +-) +- +-php_grpc_library( +- name = "calendar_php_grpc", +- srcs = [":calendar_proto"], +- deps = [":calendar_php_proto"], +-) +- +-ruby_proto_library( +- name = "calendar_ruby_proto", +- deps = [":calendar_proto"], +-) +- +-ruby_grpc_library( +- name = "calendar_ruby_grpc", +- srcs = [":calendar_proto"], +- deps = [":calendar_ruby_proto"], +-) +- +-csharp_proto_library( +- name = "calendar_csharp_proto", +- deps = [":calendar_proto"], +-) +- +-csharp_grpc_library( +- name = "calendar_csharp_grpc", +- srcs = [":calendar_proto"], +- deps = [":calendar_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/apps/script/type/docs/BUILD.bazel b/google/apps/script/type/docs/BUILD.bazel +--- a/google/apps/script/type/docs/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/apps/script/type/docs/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,119 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +- "go_proto_library", +- "java_grpc_library", +- "java_proto_library", +- "moved_proto_library", +- "php_grpc_library", +- "php_proto_library", +- "py_grpc_library", +- "py_proto_library", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-proto_library( +- name = "docs_proto", +- srcs = [ +- "docs_addon_manifest.proto", +- ], +- deps = [ +- "//google/api:field_behavior_proto", +- "//google/apps/script/type:type_proto", +- ], +-) +- +-java_proto_library( +- name = "docs_java_proto", +- deps = [":docs_proto"], +-) +- +-java_grpc_library( +- name = "docs_java_grpc", +- srcs = [":docs_proto"], +- deps = [":docs_java_proto"], +-) +- +-go_proto_library( +- name = "docs_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/apps/script/type/docs", +- protos = [":docs_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/apps/script/type:type_go_proto", +- ], +-) +- +-moved_proto_library( +- name = "docs_moved_proto", +- srcs = [":docs_proto"], +- deps = [ +- "//google/api:field_behavior_proto", +- "//google/apps/script/type:type_proto", +- ], +-) +- +-py_proto_library( +- name = "docs_py_proto", +- deps = [":docs_moved_proto"], +-) +- +-py_grpc_library( +- name = "docs_py_grpc", +- srcs = [":docs_moved_proto"], +- deps = [":docs_py_proto"], +-) +- +-php_proto_library( +- name = "docs_php_proto", +- deps = [":docs_proto"], +-) +- +-php_grpc_library( +- name = "docs_php_grpc", +- srcs = [":docs_proto"], +- deps = [":docs_php_proto"], +-) +- +-ruby_proto_library( +- name = "docs_ruby_proto", +- deps = [":docs_proto"], +-) +- +-ruby_grpc_library( +- name = "docs_ruby_grpc", +- srcs = [":docs_proto"], +- deps = [":docs_ruby_proto"], +-) +- +-csharp_proto_library( +- name = "docs_csharp_proto", +- deps = [":docs_proto"], +-) +- +-csharp_grpc_library( +- name = "docs_csharp_grpc", +- srcs = [":docs_proto"], +- deps = [":docs_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/apps/script/type/drive/BUILD.bazel b/google/apps/script/type/drive/BUILD.bazel +--- a/google/apps/script/type/drive/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/apps/script/type/drive/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,116 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +- "go_proto_library", +- "java_grpc_library", +- "java_proto_library", +- "moved_proto_library", +- "php_grpc_library", +- "php_proto_library", +- "py_grpc_library", +- "py_proto_library", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-proto_library( +- name = "drive_proto", +- srcs = [ +- "drive_addon_manifest.proto", +- ], +- deps = [ +- "//google/apps/script/type:type_proto", +- ], +-) +- +-java_proto_library( +- name = "drive_java_proto", +- deps = [":drive_proto"], +-) +- +-java_grpc_library( +- name = "drive_java_grpc", +- srcs = [":drive_proto"], +- deps = [":drive_java_proto"], +-) +- +-go_proto_library( +- name = "drive_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/apps/script/type/drive", +- protos = [":drive_proto"], +- deps = [ +- "//google/apps/script/type:type_go_proto", +- ], +-) +- +-moved_proto_library( +- name = "drive_moved_proto", +- srcs = [":drive_proto"], +- deps = [ +- "//google/apps/script/type:type_proto", +- ], +-) +- +-py_proto_library( +- name = "drive_py_proto", +- deps = [":drive_moved_proto"], +-) +- +-py_grpc_library( +- name = "drive_py_grpc", +- srcs = [":drive_moved_proto"], +- deps = [":drive_py_proto"], +-) +- +-php_proto_library( +- name = "drive_php_proto", +- deps = [":drive_proto"], +-) +- +-php_grpc_library( +- name = "drive_php_grpc", +- srcs = [":drive_proto"], +- deps = [":drive_php_proto"], +-) +- +-ruby_proto_library( +- name = "drive_ruby_proto", +- deps = [":drive_proto"], +-) +- +-ruby_grpc_library( +- name = "drive_ruby_grpc", +- srcs = [":drive_proto"], +- deps = [":drive_ruby_proto"], +-) +- +-csharp_proto_library( +- name = "drive_csharp_proto", +- deps = [":drive_proto"], +-) +- +-csharp_grpc_library( +- name = "drive_csharp_grpc", +- srcs = [":drive_proto"], +- deps = [":drive_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/apps/script/type/gmail/BUILD.bazel b/google/apps/script/type/gmail/BUILD.bazel +--- a/google/apps/script/type/gmail/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/apps/script/type/gmail/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,118 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +- "go_proto_library", +- "java_grpc_library", +- "java_proto_library", +- "moved_proto_library", +- "php_grpc_library", +- "php_proto_library", +- "py_grpc_library", +- "py_proto_library", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-proto_library( +- name = "gmail_proto", +- srcs = [ +- "gmail_addon_manifest.proto", +- ], +- deps = [ +- "//google/apps/script/type:type_proto", +- "@com_google_protobuf//:struct_proto", +- ], +-) +- +-java_proto_library( +- name = "gmail_java_proto", +- deps = [":gmail_proto"], +-) +- +-java_grpc_library( +- name = "gmail_java_grpc", +- srcs = [":gmail_proto"], +- deps = [":gmail_java_proto"], +-) +- +-go_proto_library( +- name = "gmail_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/apps/script/type/gmail", +- protos = [":gmail_proto"], +- deps = [ +- "//google/apps/script/type:type_go_proto", +- ], +-) +- +-moved_proto_library( +- name = "gmail_moved_proto", +- srcs = [":gmail_proto"], +- deps = [ +- "//google/apps/script/type:type_proto", +- "@com_google_protobuf//:struct_proto", +- ], +-) +- +-py_proto_library( +- name = "gmail_py_proto", +- deps = [":gmail_moved_proto"], +-) +- +-py_grpc_library( +- name = "gmail_py_grpc", +- srcs = [":gmail_moved_proto"], +- deps = [":gmail_py_proto"], +-) +- +-php_proto_library( +- name = "gmail_php_proto", +- deps = [":gmail_proto"], +-) +- +-php_grpc_library( +- name = "gmail_php_grpc", +- srcs = [":gmail_proto"], +- deps = [":gmail_php_proto"], +-) +- +-ruby_proto_library( +- name = "gmail_ruby_proto", +- deps = [":gmail_proto"], +-) +- +-ruby_grpc_library( +- name = "gmail_ruby_grpc", +- srcs = [":gmail_proto"], +- deps = [":gmail_ruby_proto"], +-) +- +-csharp_proto_library( +- name = "gmail_csharp_proto", +- deps = [":gmail_proto"], +-) +- +-csharp_grpc_library( +- name = "gmail_csharp_grpc", +- srcs = [":gmail_proto"], +- deps = [":gmail_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/apps/script/type/sheets/BUILD.bazel b/google/apps/script/type/sheets/BUILD.bazel +--- a/google/apps/script/type/sheets/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/apps/script/type/sheets/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,119 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +- "go_proto_library", +- "java_grpc_library", +- "java_proto_library", +- "moved_proto_library", +- "php_grpc_library", +- "php_proto_library", +- "py_grpc_library", +- "py_proto_library", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-proto_library( +- name = "sheets_proto", +- srcs = [ +- "sheets_addon_manifest.proto", +- ], +- deps = [ +- "//google/api:field_behavior_proto", +- "//google/apps/script/type:type_proto", +- ], +-) +- +-java_proto_library( +- name = "sheets_java_proto", +- deps = [":sheets_proto"], +-) +- +-java_grpc_library( +- name = "sheets_java_grpc", +- srcs = [":sheets_proto"], +- deps = [":sheets_java_proto"], +-) +- +-go_proto_library( +- name = "sheets_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/apps/script/type/sheets", +- protos = [":sheets_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/apps/script/type:type_go_proto", +- ], +-) +- +-moved_proto_library( +- name = "sheets_moved_proto", +- srcs = [":sheets_proto"], +- deps = [ +- "//google/api:field_behavior_proto", +- "//google/apps/script/type:type_proto", +- ], +-) +- +-py_proto_library( +- name = "sheets_py_proto", +- deps = [":sheets_moved_proto"], +-) +- +-py_grpc_library( +- name = "sheets_py_grpc", +- srcs = [":sheets_moved_proto"], +- deps = [":sheets_py_proto"], +-) +- +-php_proto_library( +- name = "sheets_php_proto", +- deps = [":sheets_proto"], +-) +- +-php_grpc_library( +- name = "sheets_php_grpc", +- srcs = [":sheets_proto"], +- deps = [":sheets_php_proto"], +-) +- +-ruby_proto_library( +- name = "sheets_ruby_proto", +- deps = [":sheets_proto"], +-) +- +-ruby_grpc_library( +- name = "sheets_ruby_grpc", +- srcs = [":sheets_proto"], +- deps = [":sheets_ruby_proto"], +-) +- +-csharp_proto_library( +- name = "sheets_csharp_proto", +- deps = [":sheets_proto"], +-) +- +-csharp_grpc_library( +- name = "sheets_csharp_grpc", +- srcs = [":sheets_proto"], +- deps = [":sheets_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/apps/script/type/slides/BUILD.bazel b/google/apps/script/type/slides/BUILD.bazel +--- a/google/apps/script/type/slides/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/apps/script/type/slides/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,119 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +- "go_proto_library", +- "java_grpc_library", +- "java_proto_library", +- "moved_proto_library", +- "php_grpc_library", +- "php_proto_library", +- "py_grpc_library", +- "py_proto_library", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-proto_library( +- name = "slides_proto", +- srcs = [ +- "slides_addon_manifest.proto", +- ], +- deps = [ +- "//google/api:field_behavior_proto", +- "//google/apps/script/type:type_proto", +- ], +-) +- +-java_proto_library( +- name = "slides_java_proto", +- deps = [":slides_proto"], +-) +- +-java_grpc_library( +- name = "slides_java_grpc", +- srcs = [":slides_proto"], +- deps = [":slides_java_proto"], +-) +- +-go_proto_library( +- name = "slides_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/apps/script/type/slides", +- protos = [":slides_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/apps/script/type:type_go_proto", +- ], +-) +- +-moved_proto_library( +- name = "slides_moved_proto", +- srcs = [":slides_proto"], +- deps = [ +- "//google/api:field_behavior_proto", +- "//google/apps/script/type:type_proto", +- ], +-) +- +-py_proto_library( +- name = "slides_py_proto", +- deps = [":slides_moved_proto"], +-) +- +-py_grpc_library( +- name = "slides_py_grpc", +- srcs = [":slides_moved_proto"], +- deps = [":slides_py_proto"], +-) +- +-php_proto_library( +- name = "slides_php_proto", +- deps = [":slides_proto"], +-) +- +-php_grpc_library( +- name = "slides_php_grpc", +- srcs = [":slides_proto"], +- deps = [":slides_php_proto"], +-) +- +-ruby_proto_library( +- name = "slides_ruby_proto", +- deps = [":slides_proto"], +-) +- +-ruby_grpc_library( +- name = "slides_ruby_grpc", +- srcs = [":slides_proto"], +- deps = [":slides_ruby_proto"], +-) +- +-csharp_proto_library( +- name = "slides_csharp_proto", +- deps = [":slides_proto"], +-) +- +-csharp_grpc_library( +- name = "slides_csharp_grpc", +- srcs = [":slides_proto"], +- deps = [":slides_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/area120/tables/v1alpha1/BUILD.bazel b/google/area120/tables/v1alpha1/BUILD.bazel +--- a/google/area120/tables/v1alpha1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/area120/tables/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,339 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "tables_proto", +- srcs = [ +- "tables.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:struct_proto", +- ], +-) +- +-proto_library_with_info( +- name = "tables_proto_with_info", +- deps = [ +- ":tables_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "tables_java_proto", +- deps = [":tables_proto"], +-) +- +-java_grpc_library( +- name = "tables_java_grpc", +- srcs = [":tables_proto"], +- deps = [":tables_java_proto"], +-) +- +-java_gapic_library( +- name = "tables_java_gapic", +- srcs = [":tables_proto_with_info"], +- gapic_yaml = "language_gapic.yaml", +- grpc_service_config = "tables_grpc_service_config.json", +- test_deps = [ +- ":tables_java_grpc", +- ], +- deps = [ +- ":tables_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "tables_java_gapic_test_suite", +- test_classes = [ +- "com.google.area120.tables.v1alpha.TablesServiceClientTest", +- ], +- runtime_deps = [":tables_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-area120-tables-v1alpha1-java", +- deps = [ +- ":tables_java_gapic", +- ":tables_java_grpc", +- ":tables_java_proto", +- ":tables_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "tables_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/area120/tables/v1alpha1", +- protos = [":tables_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "tables_go_gapic", +- srcs = [":tables_proto_with_info"], +- grpc_service_config = "tables_grpc_service_config.json", +- importpath = "google.golang.org/google/area120/tables/v1alpha1;tables", +- service_yaml = "area120tables_v1alpha1.yaml", +- deps = [ +- ":tables_go_proto", +- ], +-) +- +-go_test( +- name = "tables_go_gapic_test", +- srcs = [":tables_go_gapic_srcjar_test"], +- embed = [":tables_go_gapic"], +- importpath = "google.golang.org/google/area120/tables/v1alpha1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-area120-tables-v1alpha1-go", +- deps = [ +- ":tables_go_gapic", +- ":tables_go_gapic_srcjar-test.srcjar", +- ":tables_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "tables_py_gapic", +- srcs = [":tables_proto"], +- grpc_service_config = "tables_grpc_service_config.json", +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "area120-tables-v1alpha1-py", +- deps = [ +- ":tables_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "tables_php_proto", +- deps = [":tables_proto"], +-) +- +-php_grpc_library( +- name = "tables_php_grpc", +- srcs = [":tables_proto"], +- deps = [":tables_php_proto"], +-) +- +-php_gapic_library( +- name = "tables_php_gapic", +- srcs = [":tables_proto_with_info"], +- grpc_service_config = "tables_grpc_service_config.json", +- deps = [ +- ":tables_php_grpc", +- ":tables_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-area120-tables-v1alpha1-php", +- deps = [ +- ":tables_php_gapic", +- ":tables_php_grpc", +- ":tables_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "tables_nodejs_gapic", +- package_name = "@google/area120-tables", +- src = ":tables_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "tables_grpc_service_config.json", +- package = "google.area120.tables.v1alpha1", +- service_yaml = "area120tables_v1alpha1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "area120-tables-v1alpha1-nodejs", +- deps = [ +- ":tables_nodejs_gapic", +- ":tables_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "tables_ruby_proto", +- deps = [":tables_proto"], +-) +- +-ruby_grpc_library( +- name = "tables_ruby_grpc", +- srcs = [":tables_proto"], +- deps = [":tables_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "tables_ruby_gapic", +- srcs = [":tables_proto_with_info",], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-area120-tables-v1alpha1", +- "ruby-cloud-env-prefix=AREA120_TABLES", +- "ruby-cloud-product-url=https://tables.area120.google.com/u/0/about#/", +- "ruby-cloud-api-id=area120tables.googleapis.com", +- "ruby-cloud-api-shortname=area120tables", +- ], +- grpc_service_config = "tables_grpc_service_config.json", +- ruby_cloud_description = "Using the Area 120 Tables API, you can query for tables, and update/create/delete rows within tables programmatically.", +- ruby_cloud_title = "Area 120 Tables V1alpha1", +- deps = [ +- ":tables_ruby_grpc", +- ":tables_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-area120-tables-v1alpha1-ruby", +- deps = [ +- ":tables_ruby_gapic", +- ":tables_ruby_grpc", +- ":tables_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "tables_csharp_proto", +- deps = [":tables_proto"], +-) +- +-csharp_grpc_library( +- name = "tables_csharp_grpc", +- srcs = [":tables_proto"], +- deps = [":tables_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "tables_csharp_gapic", +- srcs = [":tables_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "tables_grpc_service_config.json", +- deps = [ +- ":tables_csharp_grpc", +- ":tables_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-area120-tables-v1alpha1-csharp", +- deps = [ +- ":tables_csharp_gapic", +- ":tables_csharp_grpc", +- ":tables_csharp_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/bigtable/BUILD.bazel b/google/bigtable/BUILD.bazel +--- a/google/bigtable/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/bigtable/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/bigtable/admin/BUILD.bazel b/google/bigtable/admin/BUILD.bazel +--- a/google/bigtable/admin/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/bigtable/admin/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/bigtable/admin/v2/BUILD.bazel b/google/bigtable/admin/v2/BUILD.bazel +--- a/google/bigtable/admin/v2/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/bigtable/admin/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,374 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "admin_proto", +- srcs = [ +- "bigtable_instance_admin.proto", +- "bigtable_table_admin.proto", +- "common.proto", +- "instance.proto", +- "table.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/iam/v1:iam_policy_proto", +- "//google/iam/v1:policy_proto", +- "//google/longrunning:operations_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "admin_proto_with_info", +- deps = [ +- ":admin_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "admin_java_proto", +- deps = [":admin_proto"], +-) +- +-java_grpc_library( +- name = "admin_java_grpc", +- srcs = [":admin_proto"], +- deps = [":admin_java_proto"], +-) +- +-java_gapic_library( +- name = "admin_java_gapic", +- srcs = [":admin_proto_with_info"], +- gapic_yaml = "bigtableadmin_gapic.yaml", +- grpc_service_config = "bigtableadmin_grpc_service_config.json", +- test_deps = [ +- ":admin_java_grpc", +- "//google/iam/v1:iam_java_grpc", +- ], +- deps = [ +- ":admin_java_proto", +- "//google/iam/v1:iam_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "admin_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClientTest", +- "com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClientTest", +- ], +- runtime_deps = [":admin_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-bigtable-admin-v2-java", +- deps = [ +- ":admin_java_gapic", +- ":admin_java_grpc", +- ":admin_java_proto", +- ":admin_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "admin_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/bigtable/admin/v2", +- protos = [":admin_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "admin_go_gapic", +- srcs = [":admin_proto_with_info"], +- grpc_service_config = "bigtableadmin_grpc_service_config.json", +- importpath = "cloud.google.com/go/bigtable/admin/apiv2;admin", +- service_yaml = "bigtableadmin_v2.yaml", +- deps = [ +- ":admin_go_proto", +- "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- ], +-) +- +-go_test( +- name = "admin_go_gapic_test", +- srcs = [":admin_go_gapic_srcjar_test"], +- embed = [":admin_go_gapic"], +- importpath = "cloud.google.com/go/bigtable/admin/apiv2", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-bigtable-admin-v2-go", +- deps = [ +- ":admin_go_gapic", +- ":admin_go_gapic_srcjar-test.srcjar", +- ":admin_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "bigtable_admin_py_gapic", +- srcs = [":admin_proto"], +- grpc_service_config = "bigtableadmin_grpc_service_config.json", +- opt_args = [ +- "python-gapic-namespace=google.cloud", +- "python-gapic-name=bigtable_admin", +- ], +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "bigtable-admin-v2-py", +- deps = [ +- ":bigtable_admin_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "admin_php_proto", +- deps = [":admin_proto"], +-) +- +-php_grpc_library( +- name = "admin_php_grpc", +- srcs = [":admin_proto"], +- deps = [":admin_php_proto"], +-) +- +-php_gapic_library( +- name = "admin_php_gapic", +- srcs = [":admin_proto_with_info"], +- gapic_yaml = "bigtableadmin_gapic.yaml", +- deps = [ +- ":admin_php_grpc", +- ":admin_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-bigtable-admin-v2-php", +- deps = [ +- ":admin_php_gapic", +- ":admin_php_grpc", +- ":admin_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "admin_nodejs_gapic", +- package_name = "@google-cloud/bigtable", +- src = ":admin_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "bigtableadmin_grpc_service_config.json", +- main_service = "bigtable", +- package = "google.bigtable.admin.v2", +- service_yaml = "bigtableadmin_v2.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "bigtable-admin-v2-nodejs", +- deps = [ +- ":admin_nodejs_gapic", +- ":admin_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "admin_ruby_proto", +- deps = [":admin_proto"], +-) +- +-ruby_grpc_library( +- name = "admin_ruby_grpc", +- srcs = [":admin_proto"], +- deps = [":admin_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "admin_ruby_gapic", +- srcs = [":admin_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-bigtable-admin-v2", +- "ruby-cloud-env-prefix=BIGTABLE", +- "ruby-cloud-product-url=https://cloud.google.com/bigtable", +- "ruby-cloud-api-id=bigtable.googleapis.com", +- "ruby-cloud-api-shortname=bigtable", +- ], +- grpc_service_config = "bigtableadmin_grpc_service_config.json", +- ruby_cloud_description = "Cloud Bigtable is a fully managed, scalable NoSQL database service for large analytical and operational workloads.", +- ruby_cloud_title = "Cloud Bigtable Admin V2", +- deps = [ +- ":admin_ruby_grpc", +- ":admin_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-bigtable-admin-v2-ruby", +- deps = [ +- ":admin_ruby_gapic", +- ":admin_ruby_grpc", +- ":admin_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "admin_csharp_proto", +- deps = [":admin_proto"], +-) +- +-csharp_grpc_library( +- name = "admin_csharp_grpc", +- srcs = [":admin_proto"], +- deps = [":admin_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "admin_csharp_gapic", +- srcs = [":admin_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "bigtableadmin_grpc_service_config.json", +- deps = [ +- ":admin_csharp_grpc", +- ":admin_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-bigtable-admin-v2-csharp", +- deps = [ +- ":admin_csharp_gapic", +- ":admin_csharp_grpc", +- ":admin_csharp_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# +-# PLEASE DO NOT DELETE +-# These rules are not auto-generated, but they are used by OSS C++ projects. +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "cc_grpc_library", +- "cc_proto_library", +-) +- +-cc_proto_library( +- name = "admin_cc_proto", +- deps = [":admin_proto"], +-) +- +-cc_grpc_library( +- name = "admin_cc_grpc", +- srcs = [":admin_proto"], +- grpc_only = True, +- deps = [":admin_cc_proto"], +-) +diff -urN a/google/bigtable/v2/BUILD.bazel b/google/bigtable/v2/BUILD.bazel +--- a/google/bigtable/v2/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/bigtable/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,347 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "bigtable_proto", +- srcs = [ +- "bigtable.proto", +- "data.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:wrappers_proto", +- ], +-) +- +-proto_library_with_info( +- name = "bigtable_proto_with_info", +- deps = [ +- ":bigtable_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "bigtable_java_proto", +- deps = [":bigtable_proto"], +-) +- +-java_grpc_library( +- name = "bigtable_java_grpc", +- srcs = [":bigtable_proto"], +- deps = [":bigtable_java_proto"], +-) +- +-java_gapic_library( +- name = "bigtable_java_gapic", +- srcs = [":bigtable_proto_with_info"], +- gapic_yaml = "bigtable_gapic.yaml", +- grpc_service_config = "bigtable_grpc_service_config.json", +- test_deps = [ +- ":bigtable_java_grpc", +- ], +- deps = [ +- ":bigtable_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "bigtable_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.bigtable.data.v2.BaseBigtableDataClientTest", +- ], +- runtime_deps = [":bigtable_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-bigtable-v2-java", +- deps = [ +- ":bigtable_java_gapic", +- ":bigtable_java_grpc", +- ":bigtable_java_proto", +- ":bigtable_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "bigtable_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/bigtable/v2", +- protos = [":bigtable_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/rpc:status_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "bigtable_go_gapic", +- srcs = [":bigtable_proto_with_info"], +- grpc_service_config = "bigtable_grpc_service_config.json", +- importpath = "cloud.google.com/go/bigtable/apiv2;bigtable", +- service_yaml = "bigtable_v2.yaml", +- deps = [ +- ":bigtable_go_proto", +- ], +-) +- +-go_test( +- name = "bigtable_go_gapic_test", +- srcs = [":bigtable_go_gapic_srcjar_test"], +- embed = [":bigtable_go_gapic"], +- importpath = "cloud.google.com/go/bigtable/apiv2", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-bigtable-v2-go", +- deps = [ +- ":bigtable_go_gapic", +- ":bigtable_go_gapic_srcjar-test.srcjar", +- ":bigtable_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "bigtable_py_gapic", +- srcs = [":bigtable_proto"], +- grpc_service_config = "bigtable_grpc_service_config.json", +- opt_args = ["python-gapic-namespace=google.cloud"], +-) +- +-py_gapic_assembly_pkg( +- name = "bigtable-v2-py", +- deps = [ +- ":bigtable_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "bigtable_php_proto", +- deps = [":bigtable_proto"], +-) +- +-php_grpc_library( +- name = "bigtable_php_grpc", +- srcs = [":bigtable_proto"], +- deps = [":bigtable_php_proto"], +-) +- +-php_gapic_library( +- name = "bigtable_php_gapic", +- srcs = [":bigtable_proto_with_info"], +- deps = [ +- ":bigtable_php_grpc", +- ":bigtable_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-bigtable-v2-php", +- deps = [ +- ":bigtable_php_gapic", +- ":bigtable_php_grpc", +- ":bigtable_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "bigtable_nodejs_gapic", +- package_name = "@google-cloud/bigtable", +- src = ":bigtable_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "bigtable_grpc_service_config.json", +- main_service = "bigtable", +- package = "google.bigtable.v2", +- service_yaml = "bigtable_v2.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "bigtable-v2-nodejs", +- deps = [ +- ":bigtable_nodejs_gapic", +- ":bigtable_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "bigtable_ruby_proto", +- deps = [":bigtable_proto"], +-) +- +-ruby_grpc_library( +- name = "bigtable_ruby_grpc", +- srcs = [":bigtable_proto"], +- deps = [":bigtable_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "bigtable_ruby_gapic", +- srcs = [":bigtable_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-bigtable-v2", +- "ruby-cloud-env-prefix=BIGTABLE", +- "ruby-cloud-product-url=https://cloud.google.com/bigtable", +- "ruby-cloud-api-id=bigtable.googleapis.com", +- "ruby-cloud-api-shortname=bigtable", +- ], +- grpc_service_config = "bigtable_grpc_service_config.json", +- ruby_cloud_description = "Cloud Bigtable is a fully managed, scalable NoSQL database service for large analytical and operational workloads.", +- ruby_cloud_title = "Cloud Bigtable V2", +- deps = [ +- ":bigtable_ruby_grpc", +- ":bigtable_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-bigtable-v2-ruby", +- deps = [ +- ":bigtable_ruby_gapic", +- ":bigtable_ruby_grpc", +- ":bigtable_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "bigtable_csharp_proto", +- deps = [":bigtable_proto"], +-) +- +-csharp_grpc_library( +- name = "bigtable_csharp_grpc", +- srcs = [":bigtable_proto"], +- deps = [":bigtable_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "bigtable_csharp_gapic", +- srcs = [":bigtable_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "bigtable_grpc_service_config.json", +- deps = [ +- ":bigtable_csharp_grpc", +- ":bigtable_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-bigtable-v2-csharp", +- deps = [ +- ":bigtable_csharp_gapic", +- ":bigtable_csharp_grpc", +- ":bigtable_csharp_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "cc_grpc_library", +- "cc_proto_library", +-) +- +-cc_proto_library( +- name = "bigtable_cc_proto", +- deps = [":bigtable_proto"], +-) +- +-cc_grpc_library( +- name = "bigtable_cc_grpc", +- srcs = [":bigtable_proto"], +- grpc_only = True, +- deps = [":bigtable_cc_proto"], +-) +diff -urN a/google/chromeos/moblab/BUILD.bazel b/google/chromeos/moblab/BUILD.bazel +--- a/google/chromeos/moblab/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/chromeos/moblab/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/chromeos/moblab/v1beta1/BUILD.bazel b/google/chromeos/moblab/v1beta1/BUILD.bazel +--- a/google/chromeos/moblab/v1beta1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/chromeos/moblab/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,340 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "moblab_proto", +- srcs = [ +- "build_service.proto", +- "resources.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "moblab_proto_with_info", +- deps = [ +- ":moblab_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "moblab_java_proto", +- deps = [":moblab_proto"], +-) +- +-java_grpc_library( +- name = "moblab_java_grpc", +- srcs = [":moblab_proto"], +- deps = [":moblab_java_proto"], +-) +- +-java_gapic_library( +- name = "moblab_java_gapic", +- srcs = [":moblab_proto_with_info"], +- grpc_service_config = "moblab_grpc_service_config.json", +- test_deps = [ +- ":moblab_java_grpc", +- ], +- deps = [ +- ":moblab_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "moblab_java_gapic_test_suite", +- test_classes = [ +- "com.google.chromeos.moblab.v1beta1.BuildServiceClientTest", +- ], +- runtime_deps = [":moblab_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-chromeos-moblab-v1beta1-java", +- deps = [ +- ":moblab_java_gapic", +- ":moblab_java_grpc", +- ":moblab_java_proto", +- ":moblab_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "moblab_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/chromeos/moblab/v1beta1", +- protos = [":moblab_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/longrunning:longrunning_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "moblab_go_gapic", +- srcs = [":moblab_proto_with_info"], +- grpc_service_config = "moblab_grpc_service_config.json", +- importpath = "google.golang.org/google/chromeos/moblab/v1beta1;moblab", +- metadata = True, +- service_yaml = "chromeosmoblab_v1beta1.yaml", +- deps = [ +- ":moblab_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- ], +-) +- +-go_test( +- name = "moblab_go_gapic_test", +- srcs = [":moblab_go_gapic_srcjar_test"], +- embed = [":moblab_go_gapic"], +- importpath = "google.golang.org/google/chromeos/moblab/v1beta1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-chromeos-moblab-v1beta1-go", +- deps = [ +- ":moblab_go_gapic", +- ":moblab_go_gapic_srcjar-metadata.srcjar", +- ":moblab_go_gapic_srcjar-test.srcjar", +- ":moblab_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "moblab_py_gapic", +- srcs = [":moblab_proto"], +- grpc_service_config = "moblab_grpc_service_config.json", +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "chromeos-moblab-v1beta1-py", +- deps = [ +- ":moblab_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "moblab_php_proto", +- deps = [":moblab_proto"], +-) +- +-php_grpc_library( +- name = "moblab_php_grpc", +- srcs = [":moblab_proto"], +- deps = [":moblab_php_proto"], +-) +- +-php_gapic_library( +- name = "moblab_php_gapic", +- srcs = [":moblab_proto_with_info"], +- grpc_service_config = "moblab_grpc_service_config.json", +- service_yaml = "chromeosmoblab_v1beta1.yaml", +- deps = [ +- ":moblab_php_grpc", +- ":moblab_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-chromeos-moblab-v1beta1-php", +- deps = [ +- ":moblab_php_gapic", +- ":moblab_php_grpc", +- ":moblab_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "moblab_nodejs_gapic", +- package_name = "@google-cloud/moblab", +- src = ":moblab_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "moblab_grpc_service_config.json", +- package = "google.chromeos.moblab.v1beta1", +- service_yaml = "chromeosmoblab_v1beta1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "chromeos-moblab-v1beta1-nodejs", +- deps = [ +- ":moblab_nodejs_gapic", +- ":moblab_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "moblab_ruby_proto", +- deps = [":moblab_proto"], +-) +- +-ruby_grpc_library( +- name = "moblab_ruby_grpc", +- srcs = [":moblab_proto"], +- deps = [":moblab_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "moblab_ruby_gapic", +- srcs = [":moblab_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-chromeos-moblab-v1beta1", +- ], +- grpc_service_config = "moblab_grpc_service_config.json", +- deps = [ +- ":moblab_ruby_grpc", +- ":moblab_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-chromeos-moblab-v1beta1-ruby", +- deps = [ +- ":moblab_ruby_gapic", +- ":moblab_ruby_grpc", +- ":moblab_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "moblab_csharp_proto", +- deps = [":moblab_proto"], +-) +- +-csharp_grpc_library( +- name = "moblab_csharp_grpc", +- srcs = [":moblab_proto"], +- deps = [":moblab_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "moblab_csharp_gapic", +- srcs = [":moblab_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "moblab_grpc_service_config.json", +- deps = [ +- ":moblab_csharp_grpc", +- ":moblab_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-chromeos-moblab-v1beta1-csharp", +- deps = [ +- ":moblab_csharp_gapic", +- ":moblab_csharp_grpc", +- ":moblab_csharp_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/BUILD.bazel b/google/cloud/BUILD.bazel +--- a/google/cloud/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,13 +0,0 @@ +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-proto_library( +- name = "common_resources_proto", +- srcs = ["common_resources.proto"], +- deps = ["//google/api:resource_proto"], +-) +diff -urN a/google/cloud/accessapproval/v1/BUILD.bazel b/google/cloud/accessapproval/v1/BUILD.bazel +--- a/google/cloud/accessapproval/v1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/accessapproval/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,338 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "accessapproval_proto", +- srcs = [ +- "accessapproval.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "accessapproval_proto_with_info", +- deps = [ +- ":accessapproval_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "accessapproval_java_proto", +- deps = [":accessapproval_proto"], +-) +- +-java_grpc_library( +- name = "accessapproval_java_grpc", +- srcs = [":accessapproval_proto"], +- deps = [":accessapproval_java_proto"], +-) +- +-java_gapic_library( +- name = "accessapproval_java_gapic", +- srcs = [":accessapproval_proto_with_info"], +- gapic_yaml = "accessapproval_gapic.yaml", +- grpc_service_config = "accessapproval_grpc_service_config.json", +- test_deps = [ +- ":accessapproval_java_grpc", +- ], +- deps = [ +- ":accessapproval_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "accessapproval_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.accessapproval.v1.AccessApprovalAdminClientTest", +- ], +- runtime_deps = [":accessapproval_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-accessapproval-v1-java", +- deps = [ +- ":accessapproval_java_gapic", +- ":accessapproval_java_grpc", +- ":accessapproval_java_proto", +- ":accessapproval_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "accessapproval_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/accessapproval/v1", +- protos = [":accessapproval_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "accessapproval_go_gapic", +- srcs = [":accessapproval_proto_with_info"], +- grpc_service_config = "accessapproval_grpc_service_config.json", +- importpath = "cloud.google.com/go/accessapproval/apiv1;accessapproval", +- service_yaml = "accessapproval_v1.yaml", +- deps = [ +- ":accessapproval_go_proto", +- ], +-) +- +-go_test( +- name = "accessapproval_go_gapic_test", +- srcs = [":accessapproval_go_gapic_srcjar_test"], +- embed = [":accessapproval_go_gapic"], +- importpath = "cloud.google.com/go/accessapproval/apiv1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-accessapproval-v1-go", +- deps = [ +- ":accessapproval_go_gapic", +- ":accessapproval_go_gapic_srcjar-test.srcjar", +- ":accessapproval_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "accessapproval_py_gapic", +- srcs = [":accessapproval_proto"], +- grpc_service_config = "accessapproval_grpc_service_config.json", +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "accessapproval-v1-py", +- deps = [ +- ":accessapproval_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "accessapproval_php_proto", +- deps = [":accessapproval_proto"], +-) +- +-php_grpc_library( +- name = "accessapproval_php_grpc", +- srcs = [":accessapproval_proto"], +- deps = [":accessapproval_php_proto"], +-) +- +-php_gapic_library( +- name = "accessapproval_php_gapic", +- srcs = [":accessapproval_proto_with_info"], +- grpc_service_config = "accessapproval_grpc_service_config.json", +- deps = [ +- ":accessapproval_php_grpc", +- ":accessapproval_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-accessapproval-v1-php", +- deps = [ +- ":accessapproval_php_gapic", +- ":accessapproval_php_grpc", +- ":accessapproval_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "accessapproval_nodejs_gapic", +- package_name = "@google-cloud/access-approval", +- src = ":accessapproval_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "accessapproval_grpc_service_config.json", +- package = "google.cloud.accessapproval.v1", +- service_yaml = "accessapproval_v1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "accessapproval-v1-nodejs", +- deps = [ +- ":accessapproval_nodejs_gapic", +- ":accessapproval_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "accessapproval_ruby_proto", +- deps = [":accessapproval_proto"], +-) +- +-ruby_grpc_library( +- name = "accessapproval_ruby_grpc", +- srcs = [":accessapproval_proto"], +- deps = [":accessapproval_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "accessapproval_ruby_gapic", +- srcs = [":accessapproval_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-access_approval-v1", +- "ruby-cloud-env-prefix=ACCESS_APPROVAL", +- "ruby-cloud-product-url=https://cloud.google.com/access-approval/", +- "ruby-cloud-api-id=accessapproval.googleapis.com", +- "ruby-cloud-api-shortname=accessapproval", +- ], +- grpc_service_config = "accessapproval_grpc_service_config.json", +- ruby_cloud_description = "An API for controlling access to data by Google personnel.", +- ruby_cloud_title = "Access Approval V1", +- deps = [ +- ":accessapproval_ruby_grpc", +- ":accessapproval_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-accessapproval-v1-ruby", +- deps = [ +- ":accessapproval_ruby_gapic", +- ":accessapproval_ruby_grpc", +- ":accessapproval_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "accessapproval_csharp_proto", +- deps = [":accessapproval_proto"], +-) +- +-csharp_grpc_library( +- name = "accessapproval_csharp_grpc", +- srcs = [":accessapproval_proto"], +- deps = [":accessapproval_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "accessapproval_csharp_gapic", +- srcs = [":accessapproval_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "accessapproval_grpc_service_config.json", +- deps = [ +- ":accessapproval_csharp_grpc", +- ":accessapproval_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-accessapproval-v1-csharp", +- deps = [ +- ":accessapproval_csharp_gapic", +- ":accessapproval_csharp_grpc", +- ":accessapproval_csharp_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/aiplatform/logging/BUILD.bazel b/google/cloud/aiplatform/logging/BUILD.bazel +--- a/google/cloud/aiplatform/logging/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/aiplatform/logging/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,161 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-proto_library( +- name = "logging_proto", +- srcs = [ +- "prediction.proto", +- ], +- deps = [ +- "//google/rpc:status_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "logging_java_proto", +- deps = [":logging_proto"], +-) +- +-java_grpc_library( +- name = "logging_java_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_java_proto"], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "logging_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/logging", +- protos = [":logging_proto"], +- deps = [ +- "//google/rpc:status_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "moved_proto_library", +- "py_grpc_library", +- "py_proto_library", +-) +- +-moved_proto_library( +- name = "logging_moved_proto", +- srcs = [":logging_proto"], +- deps = [ +- "//google/rpc:status_proto", +- ], +-) +- +-py_proto_library( +- name = "logging_py_proto", +- deps = [":logging_moved_proto"], +-) +- +-py_grpc_library( +- name = "logging_py_grpc", +- srcs = [":logging_moved_proto"], +- deps = [":logging_py_proto"], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "logging_php_proto", +- deps = [":logging_proto"], +-) +- +-php_grpc_library( +- name = "logging_php_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_php_proto"], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "logging_ruby_proto", +- deps = [":logging_proto"], +-) +- +-ruby_grpc_library( +- name = "logging_ruby_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_ruby_proto"], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "logging_csharp_proto", +- deps = [":logging_proto"], +-) +- +-csharp_grpc_library( +- name = "logging_csharp_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/cloud/aiplatform/v1/BUILD.bazel b/google/cloud/aiplatform/v1/BUILD.bazel +--- a/google/cloud/aiplatform/v1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/aiplatform/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,418 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-_PROTO_SUBPACKAGE_DEPS = [ +- "//google/cloud/aiplatform/v1/schema/predict/instance:instance_proto", +- "//google/cloud/aiplatform/v1/schema/predict/params:params_proto", +- "//google/cloud/aiplatform/v1/schema/predict/prediction:prediction_proto", +- "//google/cloud/aiplatform/v1/schema/trainingjob/definition:definition_proto", +-] +- +-proto_library( +- name = "aiplatform_proto", +- srcs = [ +- "accelerator_type.proto", +- "annotation.proto", +- "annotation_spec.proto", +- "batch_prediction_job.proto", +- "completion_stats.proto", +- "custom_job.proto", +- "data_item.proto", +- "data_labeling_job.proto", +- "dataset.proto", +- "dataset_service.proto", +- "deployed_model_ref.proto", +- "encryption_spec.proto", +- "endpoint.proto", +- "endpoint_service.proto", +- "env_var.proto", +- "hyperparameter_tuning_job.proto", +- "io.proto", +- "job_service.proto", +- "job_state.proto", +- "machine_resources.proto", +- "manual_batch_tuning_parameters.proto", +- "migratable_resource.proto", +- "migration_service.proto", +- "model.proto", +- "model_evaluation.proto", +- "model_evaluation_slice.proto", +- "model_service.proto", +- "operation.proto", +- "pipeline_service.proto", +- "pipeline_state.proto", +- "prediction_service.proto", +- "specialist_pool.proto", +- "specialist_pool_service.proto", +- "study.proto", +- "training_pipeline.proto", +- "user_action_reference.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "//google/rpc:status_proto", +- "//google/type:money_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", +- ] + _PROTO_SUBPACKAGE_DEPS, +-) +- +-proto_library_with_info( +- name = "aiplatform_proto_with_info", +- deps = [ +- ":aiplatform_proto", +- "//google/cloud:common_resources_proto", +- ] + _PROTO_SUBPACKAGE_DEPS, +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-_JAVA_PROTO_SUBPACKAGE_DEPS = [ +- "//google/cloud/aiplatform/v1/schema/predict/instance:instance_java_proto", +- "//google/cloud/aiplatform/v1/schema/predict/params:params_java_proto", +- "//google/cloud/aiplatform/v1/schema/predict/prediction:prediction_java_proto", +- "//google/cloud/aiplatform/v1/schema/trainingjob/definition:definition_java_proto", +-] +- +-_JAVA_GRPC_SUBPACKAGE_DEPS = [ +- "//google/cloud/aiplatform/v1/schema/predict/instance:instance_java_grpc", +- "//google/cloud/aiplatform/v1/schema/predict/params:params_java_grpc", +- "//google/cloud/aiplatform/v1/schema/predict/prediction:prediction_java_grpc", +- "//google/cloud/aiplatform/v1/schema/trainingjob/definition:definition_java_grpc", +-] +- +-java_proto_library( +- name = "aiplatform_java_proto", +- deps = [":aiplatform_proto"], +-) +- +-java_grpc_library( +- name = "aiplatform_java_grpc", +- srcs = [":aiplatform_proto"], +- deps = [":aiplatform_java_proto"] + _JAVA_PROTO_SUBPACKAGE_DEPS, +-) +- +-java_gapic_library( +- name = "aiplatform_java_gapic", +- srcs = [":aiplatform_proto_with_info"], +- grpc_service_config = "aiplatform_grpc_service_config.json", +- test_deps = [ +- ":aiplatform_java_grpc", +- ] + _JAVA_PROTO_SUBPACKAGE_DEPS, +- deps = [ +- ":aiplatform_java_proto", +- ] + _JAVA_PROTO_SUBPACKAGE_DEPS, +-) +- +-java_gapic_test( +- name = "aiplatform_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.aiplatform.v1.DatasetServiceClientTest", +- "com.google.cloud.aiplatform.v1.EndpointServiceClientTest", +- "com.google.cloud.aiplatform.v1.JobServiceClientTest", +- "com.google.cloud.aiplatform.v1.MigrationServiceClientTest", +- "com.google.cloud.aiplatform.v1.ModelServiceClientTest", +- "com.google.cloud.aiplatform.v1.PipelineServiceClientTest", +- "com.google.cloud.aiplatform.v1.PredictionServiceClientTest", +- "com.google.cloud.aiplatform.v1.SpecialistPoolServiceClientTest", +- ], +- runtime_deps = [":aiplatform_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-aiplatform-v1-java", +- deps = [ +- ":aiplatform_java_gapic", +- ":aiplatform_java_grpc", +- ":aiplatform_java_proto", +- ":aiplatform_proto", +- ] + _JAVA_PROTO_SUBPACKAGE_DEPS + _PROTO_SUBPACKAGE_DEPS + _JAVA_GRPC_SUBPACKAGE_DEPS, +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "aiplatform_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1", +- protos = [":aiplatform_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", +- "//google/type:money_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "aiplatform_go_gapic", +- srcs = [":aiplatform_proto_with_info"], +- grpc_service_config = "aiplatform_grpc_service_config.json", +- importpath = "cloud.google.com/go/aiplatform/apiv1;aiplatform", +- service_yaml = "aiplatform_v1.yaml", +- deps = [ +- ":aiplatform_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- "@io_bazel_rules_go//proto/wkt:struct_go_proto", +- ], +-) +- +-go_test( +- name = "aiplatform_go_gapic_test", +- srcs = [":aiplatform_go_gapic_srcjar_test"], +- embed = [":aiplatform_go_gapic"], +- importpath = "cloud.google.com/go/aiplatform/apiv1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-aiplatform-v1-go", +- deps = [ +- ":aiplatform_go_gapic", +- ":aiplatform_go_gapic_srcjar-test.srcjar", +- ":aiplatform_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-_PY_GAPIC_SUBPACKAGE_DEPS = [ +- "//google/cloud/aiplatform/v1/schema/predict/instance:instance_py_gapic", +- "//google/cloud/aiplatform/v1/schema/predict/params:params_py_gapic", +- "//google/cloud/aiplatform/v1/schema/predict/prediction:prediction_py_gapic", +- "//google/cloud/aiplatform/v1/schema/trainingjob/definition:definition_py_gapic", +-] +- +-py_gapic_library( +- name = "aiplatform_py_gapic", +- srcs = [":aiplatform_proto"], +- grpc_service_config = "aiplatform_grpc_service_config.json", +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "aiplatform-v1-py", +- deps = [ +- ":aiplatform_py_gapic", +- ] + _PROTO_SUBPACKAGE_DEPS + _PY_GAPIC_SUBPACKAGE_DEPS, +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "aiplatform_php_proto", +- deps = [":aiplatform_proto"], +-) +- +-php_grpc_library( +- name = "aiplatform_php_grpc", +- srcs = [":aiplatform_proto"], +- deps = [":aiplatform_php_proto"], +-) +- +-php_gapic_library( +- name = "aiplatform_php_gapic", +- srcs = [":aiplatform_proto_with_info"], +- grpc_service_config = "aiplatform_grpc_service_config.json", +- deps = [ +- ":aiplatform_php_grpc", +- ":aiplatform_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-aiplatform-v1-php", +- deps = [ +- ":aiplatform_php_gapic", +- ":aiplatform_php_grpc", +- ":aiplatform_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "aiplatform_nodejs_gapic", +- package_name = "@google-cloud/aiplatform", +- src = ":aiplatform_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "aiplatform_grpc_service_config.json", +- package = "google.cloud.aiplatform.v1", +- service_yaml = "aiplatform_v1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "aiplatform-v1-nodejs", +- deps = [ +- ":aiplatform_nodejs_gapic", +- ":aiplatform_proto", +- ] + _PROTO_SUBPACKAGE_DEPS, +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "aiplatform_ruby_proto", +- deps = [":aiplatform_proto"], +-) +- +-ruby_grpc_library( +- name = "aiplatform_ruby_grpc", +- srcs = [":aiplatform_proto"], +- deps = [":aiplatform_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "aiplatform_ruby_gapic", +- srcs = [":aiplatform_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-aiplatform-v1"], +- grpc_service_config = "aiplatform_grpc_service_config.json", +- deps = [ +- ":aiplatform_ruby_grpc", +- ":aiplatform_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-aiplatform-v1-ruby", +- deps = [ +- ":aiplatform_ruby_gapic", +- ":aiplatform_ruby_grpc", +- ":aiplatform_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "aiplatform_csharp_proto", +- deps = [":aiplatform_proto"], +-) +- +-csharp_grpc_library( +- name = "aiplatform_csharp_grpc", +- srcs = [":aiplatform_proto"], +- deps = [":aiplatform_csharp_proto"], +-) +-################################ +-# Keep C# target commented out through the regeneration, as C# gen has an issue +-# with the aiplatform v1 protos +-# +-# csharp_gapic_library( +-# name = "aiplatform_csharp_gapic", +-# srcs = [":aiplatform_proto_with_info"], +-# common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +-# grpc_service_config = "aiplatform_grpc_service_config.json", +-# deps = [ +-# ":aiplatform_csharp_grpc", +-# ":aiplatform_csharp_proto", +-# ], +-# ) +- +-# Open Source Packages +-# csharp_gapic_assembly_pkg( +-# name = "google-cloud-aiplatform-v1-csharp", +-# deps = [ +-# ":aiplatform_csharp_gapic", +-# ":aiplatform_csharp_grpc", +-# ":aiplatform_csharp_proto", +-# ], +-# ) +-################################ +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel b/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel +--- a/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,187 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-proto_library( +- name = "instance_proto", +- srcs = [ +- "image_classification.proto", +- "image_object_detection.proto", +- "image_segmentation.proto", +- "text_classification.proto", +- "text_extraction.proto", +- "text_sentiment.proto", +- "video_action_recognition.proto", +- "video_classification.proto", +- "video_object_tracking.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "instance_java_proto", +- deps = [":instance_proto"], +-) +- +-java_grpc_library( +- name = "instance_java_grpc", +- srcs = [":instance_proto"], +- deps = [":instance_java_proto"], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "instance_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance", +- protos = [":instance_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "moved_proto_library", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +- "py_grpc_library", +- "py_proto_library", +-) +- +-moved_proto_library( +- name = "instance_moved_proto", +- srcs = [":instance_proto"], +- deps = [ +- "//google/api:annotations_proto", +- ], +-) +- +-py_proto_library( +- name = "instance_py_proto", +- deps = [":instance_moved_proto"], +-) +- +-py_grpc_library( +- name = "instance_py_grpc", +- srcs = [":instance_moved_proto"], +- deps = [":instance_py_proto"], +-) +- +-py_gapic_library( +- name = "instance_py_gapic", +- opt_args = [ +- "python-gapic-namespace=google.cloud.aiplatform.v1.schema.predict", +- "python-gapic-name=instance", +- ], +- srcs = [":instance_proto"], +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "instance-py", +- deps = [ +- ":instance_py_gapic", +- ] +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "instance_php_proto", +- deps = [":instance_proto"], +-) +- +-php_grpc_library( +- name = "instance_php_grpc", +- srcs = [":instance_proto"], +- deps = [":instance_php_proto"], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "instance_ruby_proto", +- deps = [":instance_proto"], +-) +- +-ruby_grpc_library( +- name = "instance_ruby_grpc", +- srcs = [":instance_proto"], +- deps = [":instance_ruby_proto"], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "instance_csharp_proto", +- deps = [":instance_proto"], +-) +- +-csharp_grpc_library( +- name = "instance_csharp_grpc", +- srcs = [":instance_proto"], +- deps = [":instance_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel b/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel +--- a/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,185 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-proto_library( +- name = "params_proto", +- srcs = [ +- "image_classification.proto", +- "image_object_detection.proto", +- "image_segmentation.proto", +- "video_action_recognition.proto", +- "video_classification.proto", +- "video_object_tracking.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "params_java_proto", +- deps = [":params_proto"], +-) +- +-java_grpc_library( +- name = "params_java_grpc", +- srcs = [":params_proto"], +- deps = [":params_java_proto"], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "params_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/params", +- protos = [":params_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "moved_proto_library", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +- "py_grpc_library", +- "py_proto_library", +-) +- +-moved_proto_library( +- name = "params_moved_proto", +- srcs = [":params_proto"], +- deps = [ +- "//google/api:annotations_proto", +- ], +-) +- +-py_proto_library( +- name = "params_py_proto", +- deps = [":params_moved_proto"], +-) +- +-py_grpc_library( +- name = "params_py_grpc", +- srcs = [":params_moved_proto"], +- deps = [":params_py_proto"], +-) +- +-py_gapic_library( +- name = "params_py_gapic", +- opt_args = [ +- "python-gapic-namespace=google.cloud.aiplatform.v1.schema.predict", +- "python-gapic-name=params", +- ], +- srcs = [":params_proto"], +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "params-py", +- deps = [ +- ":params_py_gapic", +- ] +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "params_php_proto", +- deps = [":params_proto"], +-) +- +-php_grpc_library( +- name = "params_php_grpc", +- srcs = [":params_proto"], +- deps = [":params_php_proto"], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "params_ruby_proto", +- deps = [":params_proto"], +-) +- +-ruby_grpc_library( +- name = "params_ruby_grpc", +- srcs = [":params_proto"], +- deps = [":params_ruby_proto"], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "params_csharp_proto", +- deps = [":params_proto"], +-) +- +-csharp_grpc_library( +- name = "params_csharp_grpc", +- srcs = [":params_proto"], +- deps = [":params_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel b/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel +--- a/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,197 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-proto_library( +- name = "prediction_proto", +- srcs = [ +- "classification.proto", +- "image_object_detection.proto", +- "image_segmentation.proto", +- "tabular_classification.proto", +- "tabular_regression.proto", +- "text_extraction.proto", +- "text_sentiment.proto", +- "video_action_recognition.proto", +- "video_classification.proto", +- "video_object_tracking.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:wrappers_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "prediction_java_proto", +- deps = [":prediction_proto"], +-) +- +-java_grpc_library( +- name = "prediction_java_grpc", +- srcs = [":prediction_proto"], +- deps = [":prediction_java_proto"], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "prediction_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction", +- protos = [":prediction_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/cloud/aiplatform/v1/schema/predict/instance:instance_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "moved_proto_library", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +- "py_grpc_library", +- "py_proto_library", +- +-) +- +-moved_proto_library( +- name = "prediction_moved_proto", +- srcs = [":prediction_proto"], +- deps = [ +- "//google/api:annotations_proto", +- "//google/cloud/aiplatform/v1/schema/predict/instance:instance_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:wrappers_proto", +- ], +-) +- +-py_proto_library( +- name = "prediction_py_proto", +- deps = [":prediction_moved_proto"], +-) +- +-py_grpc_library( +- name = "prediction_py_grpc", +- srcs = [":prediction_moved_proto"], +- deps = [":prediction_py_proto"], +-) +- +-py_gapic_library( +- name = "prediction_py_gapic", +- opt_args = [ +- "python-gapic-namespace=google.cloud.aiplatform.v1.schema.predict", # Replace with the current version +- "python-gapic-name=prediction", +- ], +- srcs = [":prediction_proto"], +-) +- +-py_gapic_assembly_pkg( +- name = "prediction-py", +- deps = [ +- ":prediction_py_gapic", +- ] +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "prediction_php_proto", +- deps = [":prediction_proto"], +-) +- +-php_grpc_library( +- name = "prediction_php_grpc", +- srcs = [":prediction_proto"], +- deps = [":prediction_php_proto"], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "prediction_ruby_proto", +- deps = [":prediction_proto"], +-) +- +-ruby_grpc_library( +- name = "prediction_ruby_grpc", +- srcs = [":prediction_proto"], +- deps = [":prediction_ruby_proto"], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "prediction_csharp_proto", +- deps = [":prediction_proto"], +-) +- +-csharp_grpc_library( +- name = "prediction_csharp_grpc", +- srcs = [":prediction_proto"], +- deps = [":prediction_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel b/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel +--- a/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,189 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-proto_library( +- name = "definition_proto", +- srcs = [ +- "automl_image_classification.proto", +- "automl_image_object_detection.proto", +- "automl_image_segmentation.proto", +- "automl_tables.proto", +- "automl_text_classification.proto", +- "automl_text_extraction.proto", +- "automl_text_sentiment.proto", +- "automl_video_action_recognition.proto", +- "automl_video_classification.proto", +- "automl_video_object_tracking.proto", +- "export_evaluated_data_items_config.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "definition_java_proto", +- deps = [":definition_proto"], +-) +- +-java_grpc_library( +- name = "definition_java_grpc", +- srcs = [":definition_proto"], +- deps = [":definition_java_proto"], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "definition_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition", +- protos = [":definition_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "moved_proto_library", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +- "py_grpc_library", +- "py_proto_library", +-) +- +-moved_proto_library( +- name = "definition_moved_proto", +- srcs = [":definition_proto"], +- deps = [ +- "//google/api:annotations_proto", +- ], +-) +- +-py_proto_library( +- name = "definition_py_proto", +- deps = [":definition_moved_proto"], +-) +- +-py_grpc_library( +- name = "definition_py_grpc", +- srcs = [":definition_moved_proto"], +- deps = [":definition_py_proto"], +-) +- +-py_gapic_library( +- name = "definition_py_gapic", +- srcs = [":definition_proto"], +- opt_args = [ +- "python-gapic-namespace=google.cloud.aiplatform.v1.schema.trainingjob", +- "python-gapic-name=definition", +- ], +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "definition_py", +- deps = [ +- ":definition_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "definition_php_proto", +- deps = [":definition_proto"], +-) +- +-php_grpc_library( +- name = "definition_php_grpc", +- srcs = [":definition_proto"], +- deps = [":definition_php_proto"], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "definition_ruby_proto", +- deps = [":definition_proto"], +-) +- +-ruby_grpc_library( +- name = "definition_ruby_grpc", +- srcs = [":definition_proto"], +- deps = [":definition_ruby_proto"], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "definition_csharp_proto", +- deps = [":definition_proto"], +-) +- +-csharp_grpc_library( +- name = "definition_csharp_grpc", +- srcs = [":definition_proto"], +- deps = [":definition_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/cloud/aiplatform/v1beta1/BUILD.bazel b/google/cloud/aiplatform/v1beta1/BUILD.bazel +--- a/google/cloud/aiplatform/v1beta1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/aiplatform/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,449 +0,0 @@ +-# This file was generated and then heavily edited by hand. Be careful not +-# to rollback, undo, or overwrite any of the manual changes. +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-_PROTO_SUBPACKAGE_DEPS = [ +- "//google/cloud/aiplatform/v1beta1/schema:schema_proto", +- "//google/cloud/aiplatform/v1beta1/schema/predict/instance:instance_proto", +- "//google/cloud/aiplatform/v1beta1/schema/predict/params:params_proto", +- "//google/cloud/aiplatform/v1beta1/schema/predict/prediction:prediction_proto", +- "//google/cloud/aiplatform/v1beta1/schema/trainingjob/definition:definition_proto", +-] +- +-proto_library( +- name = "aiplatform_proto", +- srcs = [ +- "accelerator_type.proto", +- "annotation.proto", +- "annotation_spec.proto", +- "artifact.proto", +- "batch_prediction_job.proto", +- "completion_stats.proto", +- "context.proto", +- "custom_job.proto", +- "data_item.proto", +- "data_labeling_job.proto", +- "dataset.proto", +- "dataset_service.proto", +- "deployed_index_ref.proto", +- "deployed_model_ref.proto", +- "encryption_spec.proto", +- "endpoint.proto", +- "endpoint_service.proto", +- "entity_type.proto", +- "env_var.proto", +- "event.proto", +- "execution.proto", +- "explanation.proto", +- "explanation_metadata.proto", +- "feature.proto", +- "feature_monitoring_stats.proto", +- "feature_selector.proto", +- "featurestore.proto", +- "featurestore_monitoring.proto", +- "featurestore_online_service.proto", +- "featurestore_service.proto", +- "hyperparameter_tuning_job.proto", +- "index.proto", +- "index_endpoint.proto", +- "index_endpoint_service.proto", +- "index_service.proto", +- "io.proto", +- "job_service.proto", +- "job_state.proto", +- "lineage_subgraph.proto", +- "machine_resources.proto", +- "manual_batch_tuning_parameters.proto", +- "metadata_schema.proto", +- "metadata_service.proto", +- "metadata_store.proto", +- "migratable_resource.proto", +- "migration_service.proto", +- "model.proto", +- "model_deployment_monitoring_job.proto", +- "model_evaluation.proto", +- "model_evaluation_slice.proto", +- "model_monitoring.proto", +- "model_service.proto", +- "operation.proto", +- "pipeline_job.proto", +- "pipeline_service.proto", +- "pipeline_state.proto", +- "prediction_service.proto", +- "specialist_pool.proto", +- "specialist_pool_service.proto", +- "study.proto", +- "tensorboard.proto", +- "tensorboard_data.proto", +- "tensorboard_experiment.proto", +- "tensorboard_run.proto", +- "tensorboard_service.proto", +- "tensorboard_time_series.proto", +- "training_pipeline.proto", +- "types.proto", +- "user_action_reference.proto", +- "value.proto", +- "vizier_service.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "//google/rpc:status_proto", +- "//google/type:money_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", +- ] + _PROTO_SUBPACKAGE_DEPS, +-) +- +-proto_library_with_info( +- name = "aiplatform_proto_with_info", +- deps = [ +- ":aiplatform_proto", +- "//google/cloud:common_resources_proto", +- ] + _PROTO_SUBPACKAGE_DEPS, +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-_JAVA_PROTO_SUBPACKAGE_DEPS = [ +- "//google/cloud/aiplatform/v1beta1/schema/predict/instance:instance_java_proto", +- "//google/cloud/aiplatform/v1beta1/schema/predict/params:params_java_proto", +- "//google/cloud/aiplatform/v1beta1/schema/predict/prediction:prediction_java_proto", +- "//google/cloud/aiplatform/v1beta1/schema/trainingjob/definition:definition_java_proto", +-] +- +-_JAVA_GRPC_SUBPACKAGE_DEPS = [ +- "//google/cloud/aiplatform/v1beta1/schema/predict/instance:instance_java_grpc", +- "//google/cloud/aiplatform/v1beta1/schema/predict/params:params_java_grpc", +- "//google/cloud/aiplatform/v1beta1/schema/predict/prediction:prediction_java_grpc", +- "//google/cloud/aiplatform/v1beta1/schema/trainingjob/definition:definition_java_grpc", +-] +- +-java_proto_library( +- name = "aiplatform_java_proto", +- deps = [":aiplatform_proto"], +-) +- +-java_grpc_library( +- name = "aiplatform_java_grpc", +- srcs = [":aiplatform_proto"], +- deps = [":aiplatform_java_proto"] + _JAVA_PROTO_SUBPACKAGE_DEPS, +-) +- +-java_gapic_library( +- name = "aiplatform_java_gapic", +- srcs = [":aiplatform_proto_with_info"], +- grpc_service_config = "aiplatform_grpc_service_config.json", +- test_deps = [ +- ":aiplatform_java_grpc", +- ] + _JAVA_GRPC_SUBPACKAGE_DEPS, +- deps = [ +- ":aiplatform_java_proto", +- ] + _JAVA_PROTO_SUBPACKAGE_DEPS, +-) +- +-java_gapic_test( +- name = "aiplatform_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.aiplatform.v1beta1.DatasetServiceClientTest", +- "com.google.cloud.aiplatform.v1beta1.EndpointServiceClientTest", +- "com.google.cloud.aiplatform.v1beta1.JobServiceClientTest", +- "com.google.cloud.aiplatform.v1beta1.MigrationServiceClientTest", +- "com.google.cloud.aiplatform.v1beta1.ModelServiceClientTest", +- "com.google.cloud.aiplatform.v1beta1.PipelineServiceClientTest", +- "com.google.cloud.aiplatform.v1beta1.PredictionServiceClientTest", +- "com.google.cloud.aiplatform.v1beta1.SpecialistPoolServiceClientTest", +- "com.google.cloud.aiplatform.v1beta1.VizierServiceClientTest", +- ], +- runtime_deps = [":aiplatform_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-aiplatform-v1beta1-java", +- deps = [ +- ":aiplatform_java_gapic", +- ":aiplatform_java_grpc", +- ":aiplatform_java_proto", +- ":aiplatform_proto", +- ] + _JAVA_PROTO_SUBPACKAGE_DEPS + _PROTO_SUBPACKAGE_DEPS + _JAVA_GRPC_SUBPACKAGE_DEPS, +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "aiplatform_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1", +- protos = [":aiplatform_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", +- "//google/type:money_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "aiplatform_go_gapic", +- srcs = [":aiplatform_proto_with_info"], +- grpc_service_config = "aiplatform_grpc_service_config.json", +- importpath = "cloud.google.com/go/aiplatform/apiv1beta1;aiplatform", +- service_yaml = "aiplatform_v1beta1.yaml", +- deps = [ +- ":aiplatform_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- "@io_bazel_rules_go//proto/wkt:struct_go_proto", +- ], +-) +- +-go_test( +- name = "aiplatform_go_gapic_test", +- srcs = [":aiplatform_go_gapic_srcjar_test"], +- embed = [":aiplatform_go_gapic"], +- importpath = "cloud.google.com/go/aiplatform/apiv1beta1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-aiplatform-v1beta1-go", +- deps = [ +- ":aiplatform_go_gapic", +- ":aiplatform_go_gapic_srcjar-test.srcjar", +- ":aiplatform_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-_PY_GAPIC_SUBPACKAGE_DEPS = [ +- "//google/cloud/aiplatform/v1beta1/schema/predict/instance:instance_py_gapic", +- "//google/cloud/aiplatform/v1beta1/schema/predict/params:params_py_gapic", +- "//google/cloud/aiplatform/v1beta1/schema/predict/prediction:prediction_py_gapic", +- "//google/cloud/aiplatform/v1beta1/schema/trainingjob/definition:definition_py_gapic", +-] +- +-py_gapic_library( +- name = "aiplatform_py_gapic", +- srcs = [":aiplatform_proto"], +- grpc_service_config = "aiplatform_grpc_service_config.json", +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "aiplatform-v1beta1-py", +- deps = [ +- ":aiplatform_py_gapic", +- ] + _PROTO_SUBPACKAGE_DEPS + _PY_GAPIC_SUBPACKAGE_DEPS, +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "aiplatform_php_proto", +- deps = [":aiplatform_proto"], +-) +- +-php_grpc_library( +- name = "aiplatform_php_grpc", +- srcs = [":aiplatform_proto"], +- deps = [":aiplatform_php_proto"], +-) +- +-php_gapic_library( +- name = "aiplatform_php_gapic", +- srcs = [":aiplatform_proto_with_info"], +- grpc_service_config = "aiplatform_grpc_service_config.json", +- deps = [ +- ":aiplatform_php_grpc", +- ":aiplatform_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-aiplatform-v1beta1-php", +- deps = [ +- ":aiplatform_php_gapic", +- ":aiplatform_php_grpc", +- ":aiplatform_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "aiplatform_nodejs_gapic", +- package_name = "@google-cloud/aiplatform", +- src = ":aiplatform_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "aiplatform_grpc_service_config.json", +- package = "google.cloud.aiplatform.v1beta1", +- service_yaml = "aiplatform_v1beta1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "aiplatform-v1beta1-nodejs", +- deps = [ +- ":aiplatform_nodejs_gapic", +- ":aiplatform_proto", +- ] + _PROTO_SUBPACKAGE_DEPS, +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "aiplatform_ruby_proto", +- deps = [":aiplatform_proto"], +-) +- +-ruby_grpc_library( +- name = "aiplatform_ruby_grpc", +- srcs = [":aiplatform_proto"], +- deps = [":aiplatform_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "aiplatform_ruby_gapic", +- srcs = [":aiplatform_proto_with_info"], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-aiplatform-v1beta1"], +- grpc_service_config = "aiplatform_grpc_service_config.json", +- deps = [ +- ":aiplatform_ruby_grpc", +- ":aiplatform_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-aiplatform-v1beta1-ruby", +- deps = [ +- ":aiplatform_ruby_gapic", +- ":aiplatform_ruby_grpc", +- ":aiplatform_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "aiplatform_csharp_proto", +- deps = [":aiplatform_proto"], +-) +- +-csharp_grpc_library( +- name = "aiplatform_csharp_grpc", +- srcs = [":aiplatform_proto"], +- deps = [":aiplatform_csharp_proto"], +-) +- +- +-################################ +-# Keep C# targets commented out through the regeneration, as C# gen has an issue +-# with the aiplatform v1beta1 protos +-# +-# csharp_gapic_library( +-# name = "aiplatform_csharp_gapic", +-# srcs = [":aiplatform_proto_with_info"], +-# common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +-# grpc_service_config = "aiplatform_grpc_service_config.json", +-# deps = [ +-# ":aiplatform_csharp_grpc", +-# ":aiplatform_csharp_proto", +-# ], +-# ) +- +-# Open Source Packages +-# csharp_gapic_assembly_pkg( +-# name = "google-cloud-aiplatform-v1beta1-csharp", +-# deps = [ +-# ":aiplatform_csharp_gapic", +-# ":aiplatform_csharp_grpc", +-# ":aiplatform_csharp_proto", +-# ], +-# ) +-################################ +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel b/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel +--- a/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,176 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-proto_library( +- name = "schema_proto", +- srcs = [ +- "annotation_payload.proto", +- "annotation_spec_color.proto", +- "data_item_payload.proto", +- "dataset_metadata.proto", +- "geometry.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:field_behavior_proto", +- "//google/type:color_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:wrappers_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "schema_java_proto", +- deps = [":schema_proto"], +-) +- +-java_grpc_library( +- name = "schema_java_grpc", +- srcs = [":schema_proto"], +- deps = [":schema_java_proto"], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "schema_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema", +- protos = [":schema_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/type:color_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "moved_proto_library", +- "py_grpc_library", +- "py_proto_library", +-) +- +-moved_proto_library( +- name = "schema_moved_proto", +- srcs = [":schema_proto"], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:field_behavior_proto", +- "//google/type:color_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:wrappers_proto", +- ], +-) +- +-py_proto_library( +- name = "schema_py_proto", +- deps = [":schema_moved_proto"], +-) +- +-py_grpc_library( +- name = "schema_py_grpc", +- srcs = [":schema_moved_proto"], +- deps = [":schema_py_proto"], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "schema_php_proto", +- deps = [":schema_proto"], +-) +- +-php_grpc_library( +- name = "schema_php_grpc", +- srcs = [":schema_proto"], +- deps = [":schema_php_proto"], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "schema_ruby_proto", +- deps = [":schema_proto"], +-) +- +-ruby_grpc_library( +- name = "schema_ruby_grpc", +- srcs = [":schema_proto"], +- deps = [":schema_ruby_proto"], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "schema_csharp_proto", +- deps = [":schema_proto"], +-) +- +-csharp_grpc_library( +- name = "schema_csharp_grpc", +- srcs = [":schema_proto"], +- deps = [":schema_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel b/google/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel +--- a/google/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,187 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-proto_library( +- name = "instance_proto", +- srcs = [ +- "image_classification.proto", +- "image_object_detection.proto", +- "image_segmentation.proto", +- "text_classification.proto", +- "text_extraction.proto", +- "text_sentiment.proto", +- "video_action_recognition.proto", +- "video_classification.proto", +- "video_object_tracking.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "instance_java_proto", +- deps = [":instance_proto"], +-) +- +-java_grpc_library( +- name = "instance_java_grpc", +- srcs = [":instance_proto"], +- deps = [":instance_java_proto"], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "instance_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance", +- protos = [":instance_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "moved_proto_library", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +- "py_grpc_library", +- "py_proto_library", +-) +- +-moved_proto_library( +- name = "instance_moved_proto", +- srcs = [":instance_proto"], +- deps = [ +- "//google/api:annotations_proto", +- ], +-) +- +-py_proto_library( +- name = "instance_py_proto", +- deps = [":instance_moved_proto"], +-) +- +-py_grpc_library( +- name = "instance_py_grpc", +- srcs = [":instance_moved_proto"], +- deps = [":instance_py_proto"], +-) +- +-py_gapic_library( +- name = "instance_py_gapic", +- srcs = [":instance_proto"], +- opt_args = [ +- "python-gapic-namespace=google.cloud.aiplatform.v1beta1.schema.predict", +- "python-gapic-name=instance", +- ], +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "instance-py", +- deps = [ +- ":instance_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "instance_php_proto", +- deps = [":instance_proto"], +-) +- +-php_grpc_library( +- name = "instance_php_grpc", +- srcs = [":instance_proto"], +- deps = [":instance_php_proto"], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "instance_ruby_proto", +- deps = [":instance_proto"], +-) +- +-ruby_grpc_library( +- name = "instance_ruby_grpc", +- srcs = [":instance_proto"], +- deps = [":instance_ruby_proto"], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "instance_csharp_proto", +- deps = [":instance_proto"], +-) +- +-csharp_grpc_library( +- name = "instance_csharp_grpc", +- srcs = [":instance_proto"], +- deps = [":instance_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel b/google/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel +--- a/google/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,184 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-proto_library( +- name = "params_proto", +- srcs = [ +- "image_classification.proto", +- "image_object_detection.proto", +- "image_segmentation.proto", +- "video_action_recognition.proto", +- "video_classification.proto", +- "video_object_tracking.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "params_java_proto", +- deps = [":params_proto"], +-) +- +-java_grpc_library( +- name = "params_java_grpc", +- srcs = [":params_proto"], +- deps = [":params_java_proto"], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "params_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/params", +- protos = [":params_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "moved_proto_library", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +- "py_grpc_library", +- "py_proto_library", +-) +- +-moved_proto_library( +- name = "params_moved_proto", +- srcs = [":params_proto"], +- deps = [ +- "//google/api:annotations_proto", +- ], +-) +- +-py_proto_library( +- name = "params_py_proto", +- deps = [":params_moved_proto"], +-) +- +-py_grpc_library( +- name = "params_py_grpc", +- srcs = [":params_moved_proto"], +- deps = [":params_py_proto"], +-) +- +-py_gapic_library( +- name = "params_py_gapic", +- srcs = [":params_proto"], +- opt_args = [ +- "python-gapic-namespace=google.cloud.aiplatform.v1beta1.schema.predict", +- "python-gapic-name=params", +- ], +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "params-py", +- deps = [ +- ":params_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "params_php_proto", +- deps = [":params_proto"], +-) +- +-php_grpc_library( +- name = "params_php_grpc", +- srcs = [":params_proto"], +- deps = [":params_php_proto"], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "params_ruby_proto", +- deps = [":params_proto"], +-) +- +-ruby_grpc_library( +- name = "params_ruby_grpc", +- srcs = [":params_proto"], +- deps = [":params_ruby_proto"], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "params_csharp_proto", +- deps = [":params_proto"], +-) +- +-csharp_grpc_library( +- name = "params_csharp_grpc", +- srcs = [":params_proto"], +- deps = [":params_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel b/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel +--- a/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,199 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-proto_library( +- name = "prediction_proto", +- srcs = [ +- "classification.proto", +- "image_object_detection.proto", +- "image_segmentation.proto", +- "tabular_classification.proto", +- "tabular_regression.proto", +- "text_extraction.proto", +- "text_sentiment.proto", +- "time_series_forecasting.proto", +- "video_action_recognition.proto", +- "video_classification.proto", +- "video_object_tracking.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/cloud/aiplatform/v1beta1/schema/predict/instance:instance_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:wrappers_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "prediction_java_proto", +- deps = [":prediction_proto"], +-) +- +-java_grpc_library( +- name = "prediction_java_grpc", +- srcs = [":prediction_proto"], +- deps = [":prediction_java_proto"], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "prediction_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction", +- protos = [":prediction_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/cloud/aiplatform/v1beta1/schema/predict/instance:instance_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "moved_proto_library", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +- "py_grpc_library", +- "py_proto_library", +-) +- +-moved_proto_library( +- name = "prediction_moved_proto", +- srcs = [":prediction_proto"], +- deps = [ +- "//google/api:annotations_proto", +- "//google/cloud/aiplatform/v1beta1/schema/predict/instance:instance_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:wrappers_proto", +- ], +-) +- +-py_proto_library( +- name = "prediction_py_proto", +- deps = [":prediction_moved_proto"], +-) +- +-py_grpc_library( +- name = "prediction_py_grpc", +- srcs = [":prediction_moved_proto"], +- deps = [":prediction_py_proto"], +-) +- +-py_gapic_library( +- name = "prediction_py_gapic", +- srcs = [":prediction_proto"], +- opt_args = [ +- "python-gapic-namespace=google.cloud.aiplatform.v1beta1.schema.predict", +- "python-gapic-name=prediction", +- ], +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "prediction-py", +- deps = [ +- ":prediction_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "prediction_php_proto", +- deps = [":prediction_proto"], +-) +- +-php_grpc_library( +- name = "prediction_php_grpc", +- srcs = [":prediction_proto"], +- deps = [":prediction_php_proto"], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "prediction_ruby_proto", +- deps = [":prediction_proto"], +-) +- +-ruby_grpc_library( +- name = "prediction_ruby_grpc", +- srcs = [":prediction_proto"], +- deps = [":prediction_ruby_proto"], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "prediction_csharp_proto", +- deps = [":prediction_proto"], +-) +- +-csharp_grpc_library( +- name = "prediction_csharp_grpc", +- srcs = [":prediction_proto"], +- deps = [":prediction_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel b/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel +--- a/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,191 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-proto_library( +- name = "definition_proto", +- srcs = [ +- "automl_image_classification.proto", +- "automl_image_object_detection.proto", +- "automl_image_segmentation.proto", +- "automl_tables.proto", +- "automl_text_classification.proto", +- "automl_text_extraction.proto", +- "automl_text_sentiment.proto", +- "automl_time_series_forecasting.proto", +- "automl_video_action_recognition.proto", +- "automl_video_classification.proto", +- "automl_video_object_tracking.proto", +- "export_evaluated_data_items_config.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "definition_java_proto", +- deps = [":definition_proto"], +-) +- +-java_grpc_library( +- name = "definition_java_grpc", +- srcs = [":definition_proto"], +- deps = [":definition_java_proto"], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "definition_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition", +- protos = [":definition_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "moved_proto_library", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +- "py_grpc_library", +- "py_proto_library", +-) +- +-moved_proto_library( +- name = "definition_moved_proto", +- srcs = [":definition_proto"], +- deps = [ +- "//google/api:annotations_proto", +- ], +-) +- +-py_proto_library( +- name = "definition_py_proto", +- deps = [":definition_moved_proto"], +-) +- +-py_grpc_library( +- name = "definition_py_grpc", +- srcs = [":definition_moved_proto"], +- deps = [":definition_py_proto"], +-) +- +-py_gapic_library( +- name = "definition_py_gapic", +- srcs = [":definition_proto"], +- opt_args = [ +- "python-gapic-namespace=google.cloud.aiplatform.v1beta1.schema.trainingjob", +- "python-gapic-name=definition", +- ], +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "definition_py", +- deps = [ +- ":definition_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "definition_php_proto", +- deps = [":definition_proto"], +-) +- +-php_grpc_library( +- name = "definition_php_grpc", +- srcs = [":definition_proto"], +- deps = [":definition_php_proto"], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "definition_ruby_proto", +- deps = [":definition_proto"], +-) +- +-ruby_grpc_library( +- name = "definition_ruby_grpc", +- srcs = [":definition_proto"], +- deps = [":definition_ruby_proto"], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "definition_csharp_proto", +- deps = [":definition_proto"], +-) +- +-csharp_grpc_library( +- name = "definition_csharp_grpc", +- srcs = [":definition_proto"], +- deps = [":definition_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/cloud/apigateway/v1/BUILD.bazel b/google/cloud/apigateway/v1/BUILD.bazel +--- a/google/cloud/apigateway/v1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/apigateway/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,347 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "apigateway_proto", +- srcs = [ +- "apigateway.proto", +- "apigateway_service.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "apigateway_proto_with_info", +- deps = [ +- ":apigateway_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "apigateway_java_proto", +- deps = [":apigateway_proto"], +-) +- +-java_grpc_library( +- name = "apigateway_java_grpc", +- srcs = [":apigateway_proto"], +- deps = [":apigateway_java_proto"], +-) +- +-java_gapic_library( +- name = "apigateway_java_gapic", +- srcs = [":apigateway_proto_with_info"], +- grpc_service_config = "apigateway_grpc_service_config.json", +- test_deps = [ +- ":apigateway_java_grpc", +- ], +- deps = [ +- ":apigateway_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "apigateway_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.apigateway.v1.ApiGatewayServiceClientTest", +- ], +- runtime_deps = [":apigateway_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-apigateway-v1-java", +- deps = [ +- ":apigateway_java_gapic", +- ":apigateway_java_grpc", +- ":apigateway_java_proto", +- ":apigateway_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "apigateway_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/apigateway/v1", +- protos = [":apigateway_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/longrunning:longrunning_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "apigateway_go_gapic", +- srcs = [":apigateway_proto_with_info"], +- grpc_service_config = "apigateway_grpc_service_config.json", +- importpath = "cloud.google.com/go/apigateway/apiv1;apigateway", +- metadata = True, +- service_yaml = "apigateway_v1.yaml", +- deps = [ +- ":apigateway_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- ], +-) +- +-go_test( +- name = "apigateway_go_gapic_test", +- srcs = [":apigateway_go_gapic_srcjar_test"], +- embed = [":apigateway_go_gapic"], +- importpath = "cloud.google.com/go/apigateway/apiv1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-apigateway-v1-go", +- deps = [ +- ":apigateway_go_gapic", +- ":apigateway_go_gapic_srcjar-metadata.srcjar", +- ":apigateway_go_gapic_srcjar-test.srcjar", +- ":apigateway_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "apigateway_py_gapic", +- srcs = [":apigateway_proto"], +- grpc_service_config = "apigateway_grpc_service_config.json", +- opt_args = ["warehouse-package-name=google-cloud-api-gateway"], +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "google-cloud-apigateway-v1-py", +- deps = [ +- ":apigateway_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "apigateway_php_proto", +- deps = [":apigateway_proto"], +-) +- +-php_grpc_library( +- name = "apigateway_php_grpc", +- srcs = [":apigateway_proto"], +- deps = [":apigateway_php_proto"], +-) +- +-php_gapic_library( +- name = "apigateway_php_gapic", +- srcs = [":apigateway_proto_with_info"], +- grpc_service_config = "apigateway_grpc_service_config.json", +- service_yaml = "apigateway_v1.yaml", +- deps = [ +- ":apigateway_php_grpc", +- ":apigateway_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-apigateway-v1-php", +- deps = [ +- ":apigateway_php_gapic", +- ":apigateway_php_grpc", +- ":apigateway_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "apigateway_nodejs_gapic", +- package_name = "@google-cloud/api-gateway", +- src = ":apigateway_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "apigateway_grpc_service_config.json", +- package = "google.cloud.apigateway.v1", +- service_yaml = "apigateway_v1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "apigateway-v1-nodejs", +- deps = [ +- ":apigateway_nodejs_gapic", +- ":apigateway_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "apigateway_ruby_proto", +- deps = [":apigateway_proto"], +-) +- +-ruby_grpc_library( +- name = "apigateway_ruby_grpc", +- srcs = [":apigateway_proto"], +- deps = [":apigateway_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "apigateway_ruby_gapic", +- srcs = [":apigateway_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-api_gateway-v1", +- "ruby-cloud-env-prefix=API_GATEWAY", +- "ruby-cloud-product-url=https://cloud.google.com/api-gateway/", +- "ruby-cloud-api-id=apigateway.googleapis.com", +- "ruby-cloud-api-shortname=apigateway", +- ], +- grpc_service_config = "apigateway_grpc_service_config.json", +- ruby_cloud_description = "API Gateway enables you to provide secure access to your backend services through a well-defined REST API that is consistent across all of your services, regardless of the service implementation. Clients consume your REST APIS to implement standalone apps for a mobile device or tablet, through apps running in a browser, or through any other type of app that can make a request to an HTTP endpoint.", +- ruby_cloud_title = "API Gateway V1", +- deps = [ +- ":apigateway_ruby_grpc", +- ":apigateway_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-apigateway-v1-ruby", +- deps = [ +- ":apigateway_ruby_gapic", +- ":apigateway_ruby_grpc", +- ":apigateway_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "apigateway_csharp_proto", +- deps = [":apigateway_proto"], +-) +- +-csharp_grpc_library( +- name = "apigateway_csharp_grpc", +- srcs = [":apigateway_proto"], +- deps = [":apigateway_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "apigateway_csharp_gapic", +- srcs = [":apigateway_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "apigateway_grpc_service_config.json", +- deps = [ +- ":apigateway_csharp_grpc", +- ":apigateway_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-apigateway-v1-csharp", +- deps = [ +- ":apigateway_csharp_gapic", +- ":apigateway_csharp_grpc", +- ":apigateway_csharp_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/apigeeconnect/v1/BUILD.bazel b/google/cloud/apigeeconnect/v1/BUILD.bazel +--- a/google/cloud/apigeeconnect/v1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/apigeeconnect/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,345 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "apigeeconnect_proto", +- srcs = [ +- "connection.proto", +- "tether.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:duration_proto", +- ], +-) +- +-proto_library_with_info( +- name = "apigeeconnect_proto_with_info", +- deps = [ +- ":apigeeconnect_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "apigeeconnect_java_proto", +- deps = [":apigeeconnect_proto"], +-) +- +-java_grpc_library( +- name = "apigeeconnect_java_grpc", +- srcs = [":apigeeconnect_proto"], +- deps = [":apigeeconnect_java_proto"], +-) +- +-java_gapic_library( +- name = "apigeeconnect_java_gapic", +- srcs = [":apigeeconnect_proto_with_info"], +- grpc_service_config = "connection_grpc_service_config.json", +- test_deps = [ +- ":apigeeconnect_java_grpc", +- ], +- deps = [ +- ":apigeeconnect_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "apigeeconnect_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.apigeeconnect.v1.ConnectionServiceClientTest", +- "com.google.cloud.apigeeconnect.v1.TetherClientTest", +- ], +- runtime_deps = [":apigeeconnect_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-apigeeconnect-v1-java", +- deps = [ +- ":apigeeconnect_java_gapic", +- ":apigeeconnect_java_grpc", +- ":apigeeconnect_java_proto", +- ":apigeeconnect_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "apigeeconnect_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/apigeeconnect/v1", +- protos = [":apigeeconnect_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/rpc:status_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "apigeeconnect_go_gapic", +- srcs = [":apigeeconnect_proto_with_info"], +- grpc_service_config = "connection_grpc_service_config.json", +- importpath = "cloud.google.com/go/apigeeconnect/apiv1;apigeeconnect", +- metadata = True, +- service_yaml = "apigeeconnect_v1.yaml", +- deps = [ +- ":apigeeconnect_go_proto", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- ], +-) +- +-go_test( +- name = "apigeeconnect_go_gapic_test", +- srcs = [":apigeeconnect_go_gapic_srcjar_test"], +- embed = [":apigeeconnect_go_gapic"], +- importpath = "cloud.google.com/go/apigeeconnect/apiv1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-apigeeconnect-v1-go", +- deps = [ +- ":apigeeconnect_go_gapic", +- ":apigeeconnect_go_gapic_srcjar-metadata.srcjar", +- ":apigeeconnect_go_gapic_srcjar-test.srcjar", +- ":apigeeconnect_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "apigeeconnect_py_gapic", +- srcs = [":apigeeconnect_proto"], +- grpc_service_config = "connection_grpc_service_config.json", +- opt_args = ["warehouse-package-name=google-cloud-apigee-connect"] +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "apigeeconnect-v1-py", +- deps = [ +- ":apigeeconnect_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "apigeeconnect_php_proto", +- deps = [":apigeeconnect_proto"], +-) +- +-php_grpc_library( +- name = "apigeeconnect_php_grpc", +- srcs = [":apigeeconnect_proto"], +- deps = [":apigeeconnect_php_proto"], +-) +- +-php_gapic_library( +- name = "apigeeconnect_php_gapic", +- srcs = [":apigeeconnect_proto_with_info"], +- grpc_service_config = "connection_grpc_service_config.json", +- service_yaml = "apigeeconnect_v1.yaml", +- deps = [ +- ":apigeeconnect_php_grpc", +- ":apigeeconnect_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-apigeeconnect-v1-php", +- deps = [ +- ":apigeeconnect_php_gapic", +- ":apigeeconnect_php_grpc", +- ":apigeeconnect_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "apigeeconnect_nodejs_gapic", +- package_name = "@google-cloud/apigee-connect", +- src = ":apigeeconnect_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "connection_grpc_service_config.json", +- package = "google.cloud.apigeeconnect.v1", +- service_yaml = "apigeeconnect_v1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "apigeeconnect-v1-nodejs", +- deps = [ +- ":apigeeconnect_nodejs_gapic", +- ":apigeeconnect_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "apigeeconnect_ruby_proto", +- deps = [":apigeeconnect_proto"], +-) +- +-ruby_grpc_library( +- name = "apigeeconnect_ruby_grpc", +- srcs = [":apigeeconnect_proto"], +- deps = [":apigeeconnect_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "apigeeconnect_ruby_gapic", +- srcs = [":apigeeconnect_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-apigee_connect-v1", +- "ruby-cloud-env-prefix=APIGEE_CONNECT", +- "ruby-cloud-product-url=https://cloud.google.com/apigee/docs/hybrid/v1.4/apigee-connect", +- "ruby-cloud-api-id=apigeeconnect.googleapis.com", +- "ruby-cloud-api-shortname=apigeeconnect", +- ], +- grpc_service_config = "connection_grpc_service_config.json", +- ruby_cloud_description = "Apigee Connect allows the Apigee hybrid management plane to connect securely to the MART service in the runtime plane without requiring you to expose the MART endpoint on the internet. If you use Apigee Connect, you do not need to configure the MART ingress gateway with a host alias and an authorized DNS certificate.", +- ruby_cloud_title = "Apigee Connect V1", +- deps = [ +- ":apigeeconnect_ruby_grpc", +- ":apigeeconnect_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-apigeeconnect-v1-ruby", +- deps = [ +- ":apigeeconnect_ruby_gapic", +- ":apigeeconnect_ruby_grpc", +- ":apigeeconnect_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "apigeeconnect_csharp_proto", +- deps = [":apigeeconnect_proto"], +-) +- +-csharp_grpc_library( +- name = "apigeeconnect_csharp_grpc", +- srcs = [":apigeeconnect_proto"], +- deps = [":apigeeconnect_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "apigeeconnect_csharp_gapic", +- srcs = [":apigeeconnect_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "connection_grpc_service_config.json", +- deps = [ +- ":apigeeconnect_csharp_grpc", +- ":apigeeconnect_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-apigeeconnect-v1-csharp", +- deps = [ +- ":apigeeconnect_csharp_gapic", +- ":apigeeconnect_csharp_grpc", +- ":apigeeconnect_csharp_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/asset/BUILD.bazel b/google/cloud/asset/BUILD.bazel +--- a/google/cloud/asset/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/asset/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/cloud/asset/v1/BUILD.bazel b/google/cloud/asset/v1/BUILD.bazel +--- a/google/cloud/asset/v1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/asset/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,356 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "asset_proto", +- srcs = [ +- "asset_service.proto", +- "assets.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/cloud/orgpolicy/v1:orgpolicy_proto", +- "//google/cloud/osconfig/v1:osconfig_proto", +- "//google/iam/v1:policy_proto", +- "//google/identity/accesscontextmanager/v1:accesscontextmanager_proto", +- "//google/longrunning:operations_proto", +- "//google/rpc:code_proto", +- "//google/type:expr_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "asset_proto_with_info", +- deps = [ +- ":asset_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "asset_java_proto", +- deps = [":asset_proto"], +-) +- +-java_grpc_library( +- name = "asset_java_grpc", +- srcs = [":asset_proto"], +- deps = [":asset_java_proto"], +-) +- +-java_gapic_library( +- name = "asset_java_gapic", +- srcs = [":asset_proto_with_info"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +- test_deps = [ +- ":asset_java_grpc", +- "//google/iam/v1:iam_java_grpc", +- ], +- deps = [ +- ":asset_java_proto", +- "//google/iam/v1:iam_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "asset_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.asset.v1.AssetServiceClientTest", +- ], +- runtime_deps = [":asset_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-asset-v1-java", +- deps = [ +- ":asset_java_gapic", +- ":asset_java_grpc", +- ":asset_java_proto", +- ":asset_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "asset_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/asset/v1", +- protos = [":asset_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/cloud/orgpolicy/v1:orgpolicy_go_proto", +- "//google/cloud/osconfig/v1:osconfig_go_proto", +- "//google/iam/v1:iam_go_proto", +- "//google/identity/accesscontextmanager/v1:accesscontextmanager_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//google/rpc:code_go_proto", +- "//google/type:expr_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "asset_go_gapic", +- srcs = [":asset_proto_with_info"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +- importpath = "cloud.google.com/go/asset/apiv1;asset", +- service_yaml = "cloudasset_v1.yaml", +- deps = [ +- ":asset_go_proto", +- "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:any_go_proto", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- "@io_bazel_rules_go//proto/wkt:struct_go_proto", +- ], +-) +- +-go_test( +- name = "asset_go_gapic_test", +- srcs = [":asset_go_gapic_srcjar_test"], +- embed = [":asset_go_gapic"], +- importpath = "cloud.google.com/go/asset/apiv1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-asset-v1-go", +- deps = [ +- ":asset_go_gapic", +- ":asset_go_gapic_srcjar-test.srcjar", +- ":asset_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "asset_py_gapic", +- srcs = [":asset_proto"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +-) +- +-py_gapic_assembly_pkg( +- name = "asset-v1-py", +- deps = [ +- ":asset_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "asset_php_proto", +- deps = [":asset_proto"], +-) +- +-php_grpc_library( +- name = "asset_php_grpc", +- srcs = [":asset_proto"], +- deps = [":asset_php_proto"], +-) +- +-php_gapic_library( +- name = "asset_php_gapic", +- srcs = [":asset_proto_with_info"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +- deps = [ +- ":asset_php_grpc", +- ":asset_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-asset-v1-php", +- deps = [ +- ":asset_php_gapic", +- ":asset_php_grpc", +- ":asset_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "asset_nodejs_gapic", +- package_name = "@google-cloud/asset", +- src = ":asset_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +- package = "google.cloud.asset.v1", +- service_yaml = "cloudasset_v1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "asset-v1-nodejs", +- deps = [ +- ":asset_nodejs_gapic", +- ":asset_proto", +- "//google/cloud/osconfig/v1:osconfig_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "asset_ruby_proto", +- deps = [":asset_proto"], +-) +- +-ruby_grpc_library( +- name = "asset_ruby_grpc", +- srcs = [":asset_proto"], +- deps = [":asset_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "asset_ruby_gapic", +- srcs = [":asset_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-asset-v1", +- "ruby-cloud-env-prefix=ASSET", +- "ruby-cloud-product-url=https://cloud.google.com/asset-inventory/", +- "ruby-cloud-api-id=cloudasset.googleapis.com", +- "ruby-cloud-api-shortname=cloudasset", +- ], +- grpc_service_config = "cloudasset_grpc_service_config.json", +- ruby_cloud_description = "A metadata inventory service that allows you to view, monitor, and analyze all your GCP and Anthos assets across projects and services.", +- ruby_cloud_title = "Cloud Asset V1", +- deps = [ +- ":asset_ruby_grpc", +- ":asset_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-asset-v1-ruby", +- deps = [ +- ":asset_ruby_gapic", +- ":asset_ruby_grpc", +- ":asset_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "asset_csharp_proto", +- deps = [":asset_proto"], +-) +- +-csharp_grpc_library( +- name = "asset_csharp_grpc", +- srcs = [":asset_proto"], +- deps = [":asset_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "asset_csharp_gapic", +- srcs = [":asset_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "cloudasset_grpc_service_config.json", +- deps = [ +- ":asset_csharp_grpc", +- ":asset_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-asset-v1-csharp", +- deps = [ +- ":asset_csharp_gapic", +- ":asset_csharp_grpc", +- ":asset_csharp_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/asset/v1p1beta1/BUILD.bazel b/google/cloud/asset/v1p1beta1/BUILD.bazel +--- a/google/cloud/asset/v1p1beta1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/asset/v1p1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,321 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "asset_proto", +- srcs = [ +- "asset_service.proto", +- "assets.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/iam/v1:policy_proto", +- ], +-) +- +-proto_library_with_info( +- name = "asset_proto_with_info", +- deps = [ +- ":asset_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "asset_java_proto", +- deps = [":asset_proto"], +-) +- +-java_grpc_library( +- name = "asset_java_grpc", +- srcs = [":asset_proto"], +- deps = [":asset_java_proto"], +-) +- +-java_gapic_library( +- name = "asset_java_gapic", +- srcs = [":asset_proto_with_info"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +- test_deps = [ +- ":asset_java_grpc", +- "//google/iam/v1:iam_java_grpc", +- ], +- deps = [ +- ":asset_java_proto", +- "//google/iam/v1:iam_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "asset_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.asset.v1p1beta1.AssetServiceClientTest", +- ], +- runtime_deps = [":asset_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-asset-v1p1beta1-java", +- deps = [ +- ":asset_java_gapic", +- ":asset_java_grpc", +- ":asset_java_proto", +- ":asset_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "asset_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/asset/v1p1beta1", +- protos = [":asset_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/iam/v1:iam_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "asset_go_gapic", +- srcs = [":asset_proto_with_info"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +- importpath = "cloud.google.com/go/asset/apiv1p1beta1;asset", +- service_yaml = "cloudasset_v1p1beta1.yaml", +- deps = [ +- ":asset_go_proto", +- "//google/iam/v1:iam_go_proto", +- ], +-) +- +-go_test( +- name = "asset_go_gapic_test", +- srcs = [":asset_go_gapic_srcjar_test"], +- embed = [":asset_go_gapic"], +- importpath = "cloud.google.com/go/asset/apiv1p1beta1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-asset-v1p1beta1-go", +- deps = [ +- ":asset_go_gapic", +- ":asset_go_gapic_srcjar-test.srcjar", +- ":asset_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "asset_py_gapic", +- srcs = [":asset_proto"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +-) +- +-py_gapic_assembly_pkg( +- name = "asset-v1p1beta1-py", +- deps = [ +- ":asset_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "asset_php_proto", +- deps = [":asset_proto"], +-) +- +-php_grpc_library( +- name = "asset_php_grpc", +- srcs = [":asset_proto"], +- deps = [":asset_php_proto"], +-) +- +-php_gapic_library( +- name = "asset_php_gapic", +- srcs = [":asset_proto_with_info"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +- deps = [ +- ":asset_php_grpc", +- ":asset_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-asset-v1p1beta1-php", +- deps = [ +- ":asset_php_gapic", +- ":asset_php_grpc", +- ":asset_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "asset_nodejs_gapic", +- package_name = "@google-cloud/asset", +- src = ":asset_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +- package = "google.cloud.asset.v1p1beta1", +- service_yaml = "cloudasset_v1p1beta1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "asset-v1p1beta1-nodejs", +- deps = [ +- ":asset_nodejs_gapic", +- ":asset_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "asset_ruby_proto", +- deps = [":asset_proto"], +-) +- +-ruby_grpc_library( +- name = "asset_ruby_grpc", +- srcs = [":asset_proto"], +- deps = [":asset_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "asset_ruby_gapic", +- srcs = [":asset_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-asset-v1p1beta1"], +- deps = [ +- ":asset_ruby_grpc", +- ":asset_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-asset-v1p1beta1-ruby", +- deps = [ +- ":asset_ruby_gapic", +- ":asset_ruby_grpc", +- ":asset_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "asset_csharp_proto", +- deps = [":asset_proto"], +-) +- +-csharp_grpc_library( +- name = "asset_csharp_grpc", +- srcs = [":asset_proto"], +- deps = [":asset_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "asset_csharp_gapic", +- srcs = [":asset_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "cloudasset_grpc_service_config.json", +- deps = [ +- ":asset_csharp_grpc", +- ":asset_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-asset-v1p1beta1-csharp", +- deps = [ +- ":asset_csharp_gapic", +- ":asset_csharp_grpc", +- ":asset_csharp_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/asset/v1p2beta1/BUILD.bazel b/google/cloud/asset/v1p2beta1/BUILD.bazel +--- a/google/cloud/asset/v1p2beta1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/asset/v1p2beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,335 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "asset_proto", +- srcs = [ +- "asset_service.proto", +- "assets.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/iam/v1:policy_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "asset_proto_with_info", +- deps = [ +- ":asset_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "asset_java_proto", +- deps = [":asset_proto"], +-) +- +-java_grpc_library( +- name = "asset_java_grpc", +- srcs = [":asset_proto"], +- deps = [":asset_java_proto"], +-) +- +-java_gapic_library( +- name = "asset_java_gapic", +- srcs = [":asset_proto_with_info"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +- test_deps = [ +- ":asset_java_grpc", +- "//google/iam/v1:iam_java_grpc", +- ], +- deps = [ +- ":asset_java_proto", +- "//google/iam/v1:iam_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "asset_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.asset.v1p2beta1.AssetServiceClientTest", +- ], +- runtime_deps = [":asset_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-asset-v1p2beta1-java", +- deps = [ +- ":asset_java_gapic", +- ":asset_java_grpc", +- ":asset_java_proto", +- ":asset_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "asset_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/asset/v1p2beta1", +- protos = [":asset_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "asset_go_gapic", +- srcs = [":asset_proto_with_info"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +- importpath = "cloud.google.com/go/asset/apiv1p2beta1;asset", +- service_yaml = "cloudasset_v1p2beta1.yaml", +- deps = [ +- ":asset_go_proto", +- "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:any_go_proto", +- "@io_bazel_rules_go//proto/wkt:struct_go_proto", +- ], +-) +- +-go_test( +- name = "asset_go_gapic_test", +- srcs = [":asset_go_gapic_srcjar_test"], +- embed = [":asset_go_gapic"], +- importpath = "cloud.google.com/go/asset/apiv1p2beta1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-asset-v1p2beta1-go", +- deps = [ +- ":asset_go_gapic", +- ":asset_go_gapic_srcjar-test.srcjar", +- ":asset_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "asset_py_gapic", +- srcs = [":asset_proto"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +-) +- +-py_gapic_assembly_pkg( +- name = "asset-v1p2beta1-py", +- deps = [ +- ":asset_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "asset_php_proto", +- deps = [":asset_proto"], +-) +- +-php_grpc_library( +- name = "asset_php_grpc", +- srcs = [":asset_proto"], +- deps = [":asset_php_proto"], +-) +- +-php_gapic_library( +- name = "asset_php_gapic", +- srcs = [":asset_proto_with_info"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +- deps = [ +- ":asset_php_grpc", +- ":asset_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-asset-v1p2beta1-php", +- deps = [ +- ":asset_php_gapic", +- ":asset_php_grpc", +- ":asset_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "asset_nodejs_gapic", +- package_name = "@google-cloud/asset", +- src = ":asset_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +- package = "google.cloud.asset.v1p2beta1", +- service_yaml = "cloudasset_v1p2beta1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "asset-v1p2beta1-nodejs", +- deps = [ +- ":asset_nodejs_gapic", +- ":asset_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "asset_ruby_proto", +- deps = [":asset_proto"], +-) +- +-ruby_grpc_library( +- name = "asset_ruby_grpc", +- srcs = [":asset_proto"], +- deps = [":asset_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "asset_ruby_gapic", +- srcs = [":asset_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-asset-v1p2beta1"], +- deps = [ +- ":asset_ruby_grpc", +- ":asset_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-asset-v1p2beta1-ruby", +- deps = [ +- ":asset_ruby_gapic", +- ":asset_ruby_grpc", +- ":asset_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "asset_csharp_proto", +- deps = [":asset_proto"], +-) +- +-csharp_grpc_library( +- name = "asset_csharp_grpc", +- srcs = [":asset_proto"], +- deps = [":asset_csharp_proto"], +-) +- +-# Invalid C# namespaces, cannot build. +-# csharp_gapic_library( +-# name = "asset_csharp_gapic", +-# srcs = [":asset_proto_with_info"], +-# grpc_service_config = "cloudasset_grpc_service_config.json", +-# common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +-# deps = [ +-# ":asset_csharp_grpc", +-# ":asset_csharp_proto", +-# ], +-# ) +- +-# # Open Source Packages +-# csharp_gapic_assembly_pkg( +-# name = "google-cloud-asset-v1p2beta1-csharp", +-# deps = [ +-# ":asset_csharp_gapic", +-# ":asset_csharp_grpc", +-# ":asset_csharp_proto", +-# ], +-# ) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/asset/v1p4beta1/BUILD.bazel b/google/cloud/asset/v1p4beta1/BUILD.bazel +--- a/google/cloud/asset/v1p4beta1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/asset/v1p4beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,332 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "asset_proto", +- srcs = [ +- "asset_service.proto", +- "assets.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/iam/v1:policy_proto", +- "//google/longrunning:operations_proto", +- "//google/rpc:code_proto", +- "@com_google_protobuf//:duration_proto", +- ], +-) +- +-proto_library_with_info( +- name = "asset_proto_with_info", +- deps = [ +- ":asset_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "asset_java_proto", +- deps = [":asset_proto"], +-) +- +-java_grpc_library( +- name = "asset_java_grpc", +- srcs = [":asset_proto"], +- deps = [":asset_java_proto"], +-) +- +-java_gapic_library( +- name = "asset_java_gapic", +- srcs = [":asset_proto_with_info"], +- gapic_yaml = "cloudasset_gapic.yaml", +- grpc_service_config = "cloudasset_grpc_service_config.json", +- test_deps = [ +- ":asset_java_grpc", +- "//google/iam/v1:iam_java_grpc", +- ], +- deps = [ +- ":asset_java_proto", +- "//google/iam/v1:iam_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "asset_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.asset.v1p4beta1.AssetServiceClientTest", +- ], +- runtime_deps = [":asset_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-asset-v1p4beta1-java", +- deps = [ +- ":asset_java_gapic", +- ":asset_java_grpc", +- ":asset_java_proto", +- ":asset_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "asset_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/asset/v1p4beta1", +- protos = [":asset_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//google/rpc:code_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "asset_go_gapic", +- srcs = [":asset_proto_with_info"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +- importpath = "cloud.google.com/go/asset/apiv1p4beta1;asset", +- service_yaml = "cloudasset_v1p4beta1.yaml", +- deps = [ +- ":asset_go_proto", +- "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- ], +-) +- +-go_test( +- name = "asset_go_gapic_test", +- srcs = [":asset_go_gapic_srcjar_test"], +- embed = [":asset_go_gapic"], +- importpath = "cloud.google.com/go/asset/apiv1p4beta1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-asset-v1p4beta1-go", +- deps = [ +- ":asset_go_gapic", +- ":asset_go_gapic_srcjar-test.srcjar", +- ":asset_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "asset_py_gapic", +- srcs = [":asset_proto"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +-) +- +-py_gapic_assembly_pkg( +- name = "asset-v1p4beta1-py", +- deps = [ +- ":asset_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "asset_php_proto", +- deps = [":asset_proto"], +-) +- +-php_grpc_library( +- name = "asset_php_grpc", +- srcs = [":asset_proto"], +- deps = [":asset_php_proto"], +-) +- +-php_gapic_library( +- name = "asset_php_gapic", +- srcs = [":asset_proto_with_info"], +- gapic_yaml = "cloudasset_gapic.yaml", +- grpc_service_config = "cloudasset_grpc_service_config.json", +- deps = [ +- ":asset_php_grpc", +- ":asset_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-asset-v1p4beta1-php", +- deps = [ +- ":asset_php_gapic", +- ":asset_php_grpc", +- ":asset_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "asset_nodejs_gapic", +- package_name = "@google-cloud/asset", +- src = ":asset_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +- package = "google.cloud.asset.v1p4beta1", +- service_yaml = "cloudasset_v1p4beta1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "asset-v1p4beta1-nodejs", +- deps = [ +- ":asset_nodejs_gapic", +- ":asset_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "asset_ruby_proto", +- deps = [":asset_proto"], +-) +- +-ruby_grpc_library( +- name = "asset_ruby_grpc", +- srcs = [":asset_proto"], +- deps = [":asset_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "asset_ruby_gapic", +- srcs = [":asset_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-asset-v1p4beta1"], +- deps = [ +- ":asset_ruby_grpc", +- ":asset_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-asset-v1p4beta1-ruby", +- deps = [ +- ":asset_ruby_gapic", +- ":asset_ruby_grpc", +- ":asset_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "asset_csharp_proto", +- deps = [":asset_proto"], +-) +- +-csharp_grpc_library( +- name = "asset_csharp_grpc", +- srcs = [":asset_proto"], +- deps = [":asset_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "asset_csharp_gapic", +- srcs = [":asset_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "cloudasset_grpc_service_config.json", +- deps = [ +- ":asset_csharp_grpc", +- ":asset_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-asset-v1p4beta1-csharp", +- deps = [ +- ":asset_csharp_gapic", +- ":asset_csharp_grpc", +- ":asset_csharp_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/asset/v1p5beta1/BUILD.bazel b/google/cloud/asset/v1p5beta1/BUILD.bazel +--- a/google/cloud/asset/v1p5beta1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/asset/v1p5beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,328 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "asset_proto", +- srcs = [ +- "asset_service.proto", +- "assets.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/cloud/orgpolicy/v1:orgpolicy_proto", +- "//google/iam/v1:policy_proto", +- "//google/identity/accesscontextmanager/v1:accesscontextmanager_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "asset_proto_with_info", +- deps = [ +- ":asset_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "asset_java_proto", +- deps = [":asset_proto"], +-) +- +-java_grpc_library( +- name = "asset_java_grpc", +- srcs = [":asset_proto"], +- deps = [":asset_java_proto"], +-) +- +-java_gapic_library( +- name = "asset_java_gapic", +- srcs = [":asset_proto_with_info"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +- test_deps = [ +- ":asset_java_grpc", +- "//google/iam/v1:iam_java_grpc", +- ], +- deps = [ +- ":asset_java_proto", +- "//google/iam/v1:iam_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "asset_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.asset.v1p5beta1.AssetServiceClientTest", +- ], +- runtime_deps = [":asset_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-asset-v1p5beta1-java", +- deps = [ +- ":asset_java_gapic", +- ":asset_java_grpc", +- ":asset_java_proto", +- ":asset_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "asset_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/asset/v1p5beta1", +- protos = [":asset_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/cloud/orgpolicy/v1:orgpolicy_go_proto", +- "//google/iam/v1:iam_go_proto", +- "//google/identity/accesscontextmanager/v1:accesscontextmanager_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "asset_go_gapic", +- srcs = [":asset_proto_with_info"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +- importpath = "cloud.google.com/go/asset/apiv1p5beta1;asset", +- service_yaml = "cloudasset_v1p5beta1.yaml", +- deps = [ +- ":asset_go_proto", +- "//google/iam/v1:iam_go_proto", +- ], +-) +- +-go_test( +- name = "asset_go_gapic_test", +- srcs = [":asset_go_gapic_srcjar_test"], +- embed = [":asset_go_gapic"], +- importpath = "cloud.google.com/go/asset/apiv1p5beta1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-asset-v1p5beta1-go", +- deps = [ +- ":asset_go_gapic", +- ":asset_go_gapic_srcjar-test.srcjar", +- ":asset_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "asset_py_gapic", +- srcs = [":asset_proto"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +-) +- +-py_gapic_assembly_pkg( +- name = "asset-v1p5beta1-py", +- deps = [ +- ":asset_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "asset_php_proto", +- deps = [":asset_proto"], +-) +- +-php_grpc_library( +- name = "asset_php_grpc", +- srcs = [":asset_proto"], +- deps = [":asset_php_proto"], +-) +- +-php_gapic_library( +- name = "asset_php_gapic", +- srcs = [":asset_proto_with_info"], +- deps = [ +- ":asset_php_grpc", +- ":asset_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-asset-v1p5beta1-php", +- deps = [ +- ":asset_php_gapic", +- ":asset_php_grpc", +- ":asset_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "asset_nodejs_gapic", +- src = ":asset_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- gapic_yaml = "cloudasset_gapic.yaml", +- package = "google.cloud.asset.v1p5beta1", +- service_yaml = "cloudasset_v1p5beta1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "asset-v1p5beta1-nodejs", +- deps = [ +- ":asset_nodejs_gapic", +- ":asset_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "asset_ruby_proto", +- deps = [":asset_proto"], +-) +- +-ruby_grpc_library( +- name = "asset_ruby_grpc", +- srcs = [":asset_proto"], +- deps = [":asset_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "asset_ruby_gapic", +- srcs = [":asset_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-asset-v1p5beta1"], +- deps = [ +- ":asset_ruby_grpc", +- ":asset_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-asset-v1p5beta1-ruby", +- deps = [ +- ":asset_ruby_gapic", +- ":asset_ruby_grpc", +- ":asset_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "asset_csharp_proto", +- deps = [":asset_proto"], +-) +- +-csharp_grpc_library( +- name = "asset_csharp_grpc", +- srcs = [":asset_proto"], +- deps = [":asset_csharp_proto"], +-) +- +-# Invalid C# namespaces, cannot build. +-# csharp_gapic_library( +-# name = "asset_csharp_gapic", +-# srcs = [":asset_proto_with_info"], +-# grpc_service_config = "cloudasset_grpc_service_config.json", +-# common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +-# deps = [ +-# ":asset_csharp_grpc", +-# ":asset_csharp_proto", +-# ], +-# ) +- +-# # Open Source Packages +-# csharp_gapic_assembly_pkg( +-# name = "google-cloud-asset-v1p5beta1-csharp", +-# deps = [ +-# ":asset_csharp_gapic", +-# ":asset_csharp_grpc", +-# ":asset_csharp_proto", +-# ], +-# ) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/asset/v1p7beta1/BUILD.bazel b/google/cloud/asset/v1p7beta1/BUILD.bazel +--- a/google/cloud/asset/v1p7beta1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/asset/v1p7beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,353 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "log_proto", -- srcs = ["log.proto"], -- deps = [":label_proto"], +- name = "asset_proto", +- srcs = [ +- "asset_service.proto", +- "assets.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/cloud/orgpolicy/v1:orgpolicy_proto", +- "//google/cloud/osconfig/v1:osconfig_proto", +- "//google/iam/v1:policy_proto", +- "//google/identity/accesscontextmanager/v1:accesscontextmanager_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "asset_proto_with_info", +- deps = [ +- ":asset_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "asset_java_proto", +- deps = [":asset_proto"], +-) +- +-java_grpc_library( +- name = "asset_java_grpc", +- srcs = [":asset_proto"], +- deps = [":asset_java_proto"], +-) +- +-java_gapic_library( +- name = "asset_java_gapic", +- srcs = [":asset_proto_with_info"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +- test_deps = [ +- ":asset_java_grpc", +- "//google/iam/v1:iam_java_grpc", +- ], +- deps = [ +- ":asset_java_proto", +- "//google/iam/v1:iam_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "asset_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.asset.v1p7beta1.AssetServiceClientTest", +- ], +- runtime_deps = [":asset_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-asset-v1p7beta1-java", +- deps = [ +- ":asset_java_gapic", +- ":asset_java_grpc", +- ":asset_java_proto", +- ":asset_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "asset_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/asset/v1p7beta1", +- protos = [":asset_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/cloud/orgpolicy/v1:orgpolicy_go_proto", +- "//google/cloud/osconfig/v1:osconfig_go_proto", +- "//google/iam/v1:iam_go_proto", +- "//google/identity/accesscontextmanager/v1:accesscontextmanager_go_proto", +- "//google/longrunning:longrunning_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "asset_go_gapic", +- srcs = [":asset_proto_with_info"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +- importpath = "cloud.google.com/go/asset/apiv1p7beta1;asset", +- metadata = True, +- service_yaml = "cloudasset_v1p7beta1.yaml", +- deps = [ +- ":asset_go_proto", +- "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:any_go_proto", +- "@io_bazel_rules_go//proto/wkt:struct_go_proto", +- ], +-) +- +-go_test( +- name = "asset_go_gapic_test", +- srcs = [":asset_go_gapic_srcjar_test"], +- embed = [":asset_go_gapic"], +- importpath = "cloud.google.com/go/asset/apiv1p7beta1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-asset-v1p7beta1-go", +- deps = [ +- ":asset_go_gapic", +- ":asset_go_gapic_srcjar-metadata.srcjar", +- ":asset_go_gapic_srcjar-test.srcjar", +- ":asset_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "asset_py_gapic", +- srcs = [":asset_proto"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "asset-v1p7beta1-py", +- deps = [ +- ":asset_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "asset_php_proto", +- deps = [":asset_proto"], +-) +- +-php_grpc_library( +- name = "asset_php_grpc", +- srcs = [":asset_proto"], +- deps = [":asset_php_proto"], +-) +- +-php_gapic_library( +- name = "asset_php_gapic", +- srcs = [":asset_proto_with_info"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +- deps = [ +- ":asset_php_grpc", +- ":asset_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-asset-v1p7beta1-php", +- deps = [ +- ":asset_php_gapic", +- ":asset_php_grpc", +- ":asset_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "asset_nodejs_gapic", +- package_name = "@google-cloud/asset", +- src = ":asset_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "cloudasset_grpc_service_config.json", +- package = "google.cloud.asset.v1p7beta1", +- service_yaml = "cloudasset_v1p7beta1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "asset-v1p7beta1-nodejs", +- deps = [ +- ":asset_nodejs_gapic", +- ":asset_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "asset_ruby_proto", +- deps = [":asset_proto"], +-) +- +-ruby_grpc_library( +- name = "asset_ruby_grpc", +- srcs = [":asset_proto"], +- deps = [":asset_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "asset_ruby_gapic", +- srcs = [":asset_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-asset-v1p7beta1"], +- deps = [ +- ":asset_ruby_grpc", +- ":asset_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-asset-v1p7beta1-ruby", +- deps = [ +- ":asset_ruby_gapic", +- ":asset_ruby_grpc", +- ":asset_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "asset_csharp_proto", +- deps = [":asset_proto"], +-) +- +-csharp_grpc_library( +- name = "asset_csharp_grpc", +- srcs = [":asset_proto"], +- deps = [":asset_csharp_proto"], +-) +- +-# Invalid C# namespaces, cannot build. +-# csharp_gapic_library( +-# name = "asset_csharp_gapic", +-# srcs = [":asset_proto_with_info"], +-# common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +-# grpc_service_config = "cloudasset_grpc_service_config.json", +-# deps = [ +-# ":asset_csharp_grpc", +-# ":asset_csharp_proto", +-# ], +-# ) +- +-# # Open Source Packages +-# csharp_gapic_assembly_pkg( +-# name = "google-cloud-asset-v1p7beta1-csharp", +-# deps = [ +-# ":asset_csharp_gapic", +-# ":asset_csharp_grpc", +-# ":asset_csharp_proto", +-# ], +-# ) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/assuredworkloads/v1beta1/BUILD.bazel b/google/cloud/assuredworkloads/v1beta1/BUILD.bazel +--- a/google/cloud/assuredworkloads/v1beta1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/assuredworkloads/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,348 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "assuredworkloads_proto", +- srcs = [ +- "assuredworkloads_v1beta1.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], -) - --proto_library( -- name = "logging_proto", -- srcs = ["logging.proto"], +-proto_library_with_info( +- name = "assuredworkloads_proto_with_info", - deps = [ -- ":annotations_proto", -- ":label_proto", +- ":assuredworkloads_proto", +- "//google/cloud:common_resources_proto", - ], -) - --proto_library( -- name = "metric_proto", -- srcs = ["metric.proto"], +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "assuredworkloads_java_proto", +- deps = [":assuredworkloads_proto"], +-) +- +-java_grpc_library( +- name = "assuredworkloads_java_grpc", +- srcs = [":assuredworkloads_proto"], +- deps = [":assuredworkloads_java_proto"], +-) +- +-java_gapic_library( +- name = "assuredworkloads_java_gapic", +- srcs = [":assuredworkloads_proto_with_info"], +- grpc_service_config = "assuredworkloads_grpc_service_config.json", +- test_deps = [ +- ":assuredworkloads_java_grpc", +- ], - deps = [ -- ":label_proto", -- ":launch_stage_proto", -- "@com_google_protobuf//:duration_proto", +- ":assuredworkloads_java_proto", - ], -) - --proto_library( -- name = "monitored_resource_proto", -- srcs = ["monitored_resource.proto"], -- deps = [ -- ":label_proto", -- ":launch_stage_proto", -- "@com_google_protobuf//:struct_proto", +-java_gapic_test( +- name = "assuredworkloads_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsServiceClientTest", - ], +- runtime_deps = [":assuredworkloads_java_gapic_test"], -) - --proto_library( -- name = "monitoring_proto", -- srcs = ["monitoring.proto"], -- deps = [":annotations_proto"], +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-assuredworkloads-v1beta1-java", +- deps = [ +- ":assuredworkloads_java_gapic", +- ":assuredworkloads_java_grpc", +- ":assuredworkloads_java_proto", +- ":assuredworkloads_proto", +- ], -) - --proto_library( -- name = "quota_proto", -- srcs = ["quota.proto"], -- deps = [":annotations_proto"], +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", -) - --proto_library( -- name = "resource_proto", -- srcs = ["resource.proto"], +-go_proto_library( +- name = "assuredworkloads_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/assuredworkloads/v1beta1", +- protos = [":assuredworkloads_proto"], - deps = [ -- "@com_google_protobuf//:descriptor_proto", +- "//google/api:annotations_go_proto", +- "//google/longrunning:longrunning_go_proto", - ], -) - --proto_library( -- name = "service_proto", -- srcs = ["service.proto"], +-go_gapic_library( +- name = "assuredworkloads_go_gapic", +- srcs = [":assuredworkloads_proto_with_info"], +- grpc_service_config = "assuredworkloads_grpc_service_config.json", +- importpath = "cloud.google.com/go/assuredworkloads/apiv1beta1;assuredworkloads", +- metadata = True, +- service_yaml = "assuredworkloads_v1beta1.yaml", - deps = [ -- ":annotations_proto", -- ":auth_proto", -- ":backend_proto", -- ":billing_proto", -- ":context_proto", -- ":control_proto", -- ":documentation_proto", -- ":endpoint_proto", -- ":http_proto", -- ":label_proto", -- ":log_proto", -- ":logging_proto", -- ":metric_proto", -- ":monitored_resource_proto", -- ":monitoring_proto", -- ":quota_proto", -- ":resource_proto", -- ":source_info_proto", -- ":system_parameter_proto", -- ":usage_proto", -- "@com_google_protobuf//:any_proto", -- "@com_google_protobuf//:api_proto", -- "@com_google_protobuf//:type_proto", -- "@com_google_protobuf//:wrappers_proto", +- ":assuredworkloads_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - --proto_library( -- name = "source_info_proto", -- srcs = ["source_info.proto"], -- deps = ["@com_google_protobuf//:any_proto"], --) -- --proto_library( -- name = "system_parameter_proto", -- srcs = ["system_parameter.proto"], -- visibility = ["//visibility:public"], +-go_test( +- name = "assuredworkloads_go_gapic_test", +- srcs = [":assuredworkloads_go_gapic_srcjar_test"], +- embed = [":assuredworkloads_go_gapic"], +- importpath = "cloud.google.com/go/assuredworkloads/apiv1beta1", -) - --proto_library( -- name = "usage_proto", -- srcs = ["usage.proto"], -- deps = [":annotations_proto"], +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-assuredworkloads-v1beta1-go", +- deps = [ +- ":assuredworkloads_go_gapic", +- ":assuredworkloads_go_gapic_srcjar-metadata.srcjar", +- ":assuredworkloads_go_gapic_srcjar-test.srcjar", +- ":assuredworkloads_go_proto", +- ], -) - -############################################################################## --# Java +-# Python -############################################################################## --load("@com_google_googleapis_imports//:imports.bzl", "java_proto_library") +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) - --java_proto_library( -- name = "api_java_proto", +-py_gapic_library( +- name = "assuredworkloads_py_gapic", +- srcs = [":assuredworkloads_proto"], +- grpc_service_config = "assuredworkloads_grpc_service_config.json", +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "assuredworkloads-v1beta1-py", - deps = [ -- "annotations_proto", -- "auth_proto", -- "backend_proto", -- "billing_proto", -- "client_proto", -- "config_change_proto", -- "consumer_proto", -- "context_proto", -- "control_proto", -- "distribution_proto", -- "documentation_proto", -- "endpoint_proto", -- "field_behavior_proto", -- "http_proto", -- "httpbody_proto", -- "label_proto", -- "launch_stage_proto", -- "log_proto", -- "logging_proto", -- "metric_proto", -- "monitored_resource_proto", -- "monitoring_proto", -- "quota_proto", -- "resource_proto", -- "service_proto", -- "source_info_proto", -- "system_parameter_proto", -- "usage_proto", +- ":assuredworkloads_py_gapic", - ], -) - -############################################################################## --# Go +-# PHP -############################################################################## --load("@com_google_googleapis_imports//:imports.bzl", "go_proto_library") +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) - --go_proto_library( -- name = "annotations_go_proto", -- importpath = "google.golang.org/genproto/googleapis/api/annotations", -- protos = [ -- ":annotations_proto", -- ":http_proto", +-php_proto_library( +- name = "assuredworkloads_php_proto", +- deps = [":assuredworkloads_proto"], +-) +- +-php_grpc_library( +- name = "assuredworkloads_php_grpc", +- srcs = [":assuredworkloads_proto"], +- deps = [":assuredworkloads_php_proto"], +-) +- +-php_gapic_library( +- name = "assuredworkloads_php_gapic", +- srcs = [":assuredworkloads_proto_with_info"], +- grpc_service_config = "assuredworkloads_grpc_service_config.json", +- service_yaml = "assuredworkloads_v1beta1.yaml", +- deps = [ +- ":assuredworkloads_php_grpc", +- ":assuredworkloads_php_proto", - ], -) - --go_proto_library( -- name = "client_go_proto", -- importpath = "google.golang.org/genproto/googleapis/api/annotations;annotations", -- protos = [":client_proto"], +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-assuredworkloads-v1beta1-php", +- deps = [ +- ":assuredworkloads_php_gapic", +- ":assuredworkloads_php_grpc", +- ":assuredworkloads_php_proto", +- ], -) - --go_proto_library( -- name = "configchange_go_proto", -- importpath = "google.golang.org/genproto/googleapis/api/configchange", -- protos = [":config_change_proto"], +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", -) - --go_proto_library( -- name = "distribution_go_proto", -- importpath = "google.golang.org/genproto/googleapis/api/distribution", -- protos = [":distribution_proto"], +-nodejs_gapic_library( +- name = "assuredworkloads_nodejs_gapic", +- package_name = "@google-cloud/assured-workloads", +- src = ":assuredworkloads_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "assuredworkloads_grpc_service_config.json", +- package = "google.cloud.assuredworkloads.v1beta1", +- service_yaml = "assuredworkloads_v1beta1.yaml", +- deps = [], -) - --go_proto_library( -- name = "field_behavior_go_proto", -- importpath = "google.golang.org/genproto/googleapis/api/annotations;annotations", -- protos = [":field_behavior_proto"], +-nodejs_gapic_assembly_pkg( +- name = "assuredworkloads-v1beta1-nodejs", +- deps = [ +- ":assuredworkloads_nodejs_gapic", +- ":assuredworkloads_proto", +- ], -) - --go_proto_library( -- name = "httpbody_go_proto", -- importpath = "google.golang.org/genproto/googleapis/api/httpbody", -- protos = [":httpbody_proto"], +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", -) - --go_proto_library( -- name = "label_go_proto", -- importpath = "google.golang.org/genproto/googleapis/api/label", -- protos = [":label_proto"], +-ruby_proto_library( +- name = "assuredworkloads_ruby_proto", +- deps = [":assuredworkloads_proto"], -) - --go_proto_library( -- name = "api_go_proto", -- importpath = "google.golang.org/genproto/googleapis/api", -- protos = [ -- ":launch_stage_proto", +-ruby_grpc_library( +- name = "assuredworkloads_ruby_grpc", +- srcs = [":assuredworkloads_proto"], +- deps = [":assuredworkloads_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "assuredworkloads_ruby_gapic", +- srcs = [":assuredworkloads_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-api-id=assuredworkloads.googleapis.com", +- "ruby-cloud-api-shortname=assuredworkloads", +- "ruby-cloud-env-prefix=ASSURED_WORKLOADS", +- "ruby-cloud-gem-name=google-cloud-assured_workloads-v1beta1", +- "ruby-cloud-product-url=https://cloud.google.com/assured-workloads/", - ], +- grpc_service_config = "assuredworkloads_grpc_service_config.json", +- ruby_cloud_description = "Assured Workloads for Government secures government workloads and accelerates the path to running compliant workloads on Google Cloud.", +- ruby_cloud_title = "Assured Workloads for Government V1beta1", - deps = [ -- ":annotations_go_proto", +- ":assuredworkloads_ruby_grpc", +- ":assuredworkloads_ruby_proto", - ], -) - --go_proto_library( -- name = "metric_go_proto", -- importpath = "google.golang.org/genproto/googleapis/api/metric", -- protos = [":metric_proto"], +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-assuredworkloads-v1beta1-ruby", - deps = [ -- ":api_go_proto", -- ":label_go_proto", +- ":assuredworkloads_ruby_gapic", +- ":assuredworkloads_ruby_grpc", +- ":assuredworkloads_ruby_proto", - ], -) - --go_proto_library( -- name = "monitoredres_go_proto", -- importpath = "google.golang.org/genproto/googleapis/api/monitoredres", -- protos = [":monitored_resource_proto"], +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "assuredworkloads_csharp_proto", +- deps = [":assuredworkloads_proto"], +-) +- +-csharp_grpc_library( +- name = "assuredworkloads_csharp_grpc", +- srcs = [":assuredworkloads_proto"], +- deps = [":assuredworkloads_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "assuredworkloads_csharp_gapic", +- srcs = [":assuredworkloads_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "assuredworkloads_grpc_service_config.json", - deps = [ -- ":api_go_proto", -- ":label_go_proto", +- ":assuredworkloads_csharp_grpc", +- ":assuredworkloads_csharp_proto", - ], -) - --go_proto_library( -- name = "resource_go_proto", -- importpath = "google.golang.org/genproto/googleapis/api/annotations;annotations", -- protos = [":resource_proto"], +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-assuredworkloads-v1beta1-csharp", +- deps = [ +- ":assuredworkloads_csharp_gapic", +- ":assuredworkloads_csharp_grpc", +- ":assuredworkloads_csharp_proto", +- ], -) - --go_proto_library( -- name = "serviceconfig_go_proto", -- importpath = "google.golang.org/genproto/googleapis/api/serviceconfig", -- protos = [ -- ":auth_proto", -- ":backend_proto", -- ":billing_proto", -- ":context_proto", -- ":control_proto", -- ":documentation_proto", -- ":endpoint_proto", -- ":log_proto", -- ":logging_proto", -- ":monitoring_proto", -- ":quota_proto", -- ":service_proto", -- ":source_info_proto", -- ":system_parameter_proto", -- ":usage_proto", +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/audit/BUILD.bazel b/google/cloud/audit/BUILD.bazel +--- a/google/cloud/audit/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/audit/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,168 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-proto_library( +- name = "audit_proto", +- srcs = [ +- "audit_log.proto", - ], - deps = [ -- ":annotations_go_proto", -- ":api_go_proto", -- ":label_go_proto", -- ":metric_go_proto", -- ":monitoredres_go_proto", +- "//google/rpc/context:attribute_context_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:struct_proto", - ], -) - -############################################################################## --# C++ +-# Java -############################################################################## --load("@com_google_googleapis_imports//:imports.bzl", "cc_proto_library") +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", +-) - --cc_proto_library( -- name = "annotations_cc_proto", -- deps = [":annotations_proto"], +-java_proto_library( +- name = "audit_java_proto", +- deps = [":audit_proto"], -) - --cc_proto_library( -- name = "auth_cc_proto", -- deps = [":auth_proto"], +-java_grpc_library( +- name = "audit_java_grpc", +- srcs = [":audit_proto"], +- deps = [":audit_java_proto"], -) - --cc_proto_library( -- name = "backend_cc_proto", -- deps = [":backend_proto"], +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", -) - --cc_proto_library( -- name = "billing_cc_proto", -- deps = [":billing_proto"], +-go_proto_library( +- name = "audit_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/audit", +- protos = [":audit_proto"], +- deps = [ +- "//google/rpc/context:attribute_context_go_proto", +- "//google/rpc:status_go_proto", +- ], -) - --cc_proto_library( -- name = "client_cc_proto", -- deps = [":client_proto"], +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "moved_proto_library", +- "py_grpc_library", +- "py_proto_library", +-) +- +-moved_proto_library( +- name = "audit_moved_proto", +- srcs = [":audit_proto"], +- deps = [ +- "//google/rpc/context:attribute_context_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:struct_proto", +- ], -) - --cc_proto_library( -- name = "config_change_cc_proto", -- deps = [":config_change_proto"], +-py_proto_library( +- name = "audit_py_proto", +- deps = [":audit_moved_proto"], -) - --cc_proto_library( -- name = "consumer_cc_proto", -- deps = [":consumer_proto"], +-py_grpc_library( +- name = "audit_py_grpc", +- srcs = [":audit_moved_proto"], +- deps = [":audit_py_proto"], -) - --cc_proto_library( -- name = "context_cc_proto", -- deps = [":context_proto"], +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_grpc_library", +- "php_proto_library", -) - --cc_proto_library( -- name = "control_cc_proto", -- deps = [":control_proto"], +-php_proto_library( +- name = "audit_php_proto", +- deps = [":audit_proto"], -) - --cc_proto_library( -- name = "distribution_cc_proto", -- deps = [":distribution_proto"], +-php_grpc_library( +- name = "audit_php_grpc", +- srcs = [":audit_proto"], +- deps = [":audit_php_proto"], -) - --cc_proto_library( -- name = "documentation_cc_proto", -- deps = [":documentation_proto"], +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", -) - --cc_proto_library( -- name = "endpoint_cc_proto", -- deps = [":endpoint_proto"], --) - --cc_proto_library( -- name = "field_behavior_cc_proto", -- deps = [":field_behavior_proto"], +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", -) - --cc_proto_library( -- name = "http_cc_proto", -- deps = [":http_proto"], +-ruby_proto_library( +- name = "audit_ruby_proto", +- deps = [":audit_proto"], -) - --cc_proto_library( -- name = "httpbody_cc_proto", -- deps = [":httpbody_proto"], +-ruby_grpc_library( +- name = "audit_ruby_grpc", +- srcs = [":audit_proto"], +- deps = [":audit_ruby_proto"], -) - --cc_proto_library( -- name = "label_cc_proto", -- deps = [":label_proto"], +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", -) - --cc_proto_library( -- name = "launch_stage_cc_proto", -- deps = [":launch_stage_proto"], +-csharp_proto_library( +- name = "audit_csharp_proto", +- deps = [":audit_proto"], -) - --cc_proto_library( -- name = "log_cc_proto", -- deps = [":log_proto"], +-csharp_grpc_library( +- name = "audit_csharp_grpc", +- srcs = [":audit_proto"], +- deps = [":audit_csharp_proto"], -) - --cc_proto_library( -- name = "logging_cc_proto", -- deps = [":logging_proto"], --) +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/cloud/automl/BUILD.bazel b/google/cloud/automl/BUILD.bazel +--- a/google/cloud/automl/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/automl/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/cloud/automl/v1/BUILD.bazel b/google/cloud/automl/v1/BUILD.bazel +--- a/google/cloud/automl/v1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/automl/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,366 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator - --cc_proto_library( -- name = "metric_cc_proto", -- deps = [":metric_proto"], --) +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) - --cc_proto_library( -- name = "monitored_resource_cc_proto", -- deps = [":monitored_resource_proto"], +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "automl_proto", +- srcs = [ +- "annotation_payload.proto", +- "annotation_spec.proto", +- "classification.proto", +- "data_items.proto", +- "dataset.proto", +- "detection.proto", +- "geometry.proto", +- "image.proto", +- "io.proto", +- "model.proto", +- "model_evaluation.proto", +- "operations.proto", +- "prediction_service.proto", +- "service.proto", +- "text.proto", +- "text_extraction.proto", +- "text_segment.proto", +- "text_sentiment.proto", +- "translation.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], -) - --cc_proto_library( -- name = "monitoring_cc_proto", -- deps = ["monitoring_proto"], +-proto_library_with_info( +- name = "automl_proto_with_info", +- deps = [ +- ":automl_proto", +- "//google/cloud:common_resources_proto", +- ], -) - --cc_proto_library( -- name = "quota_cc_proto", -- deps = ["quota_proto"], +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", -) - --cc_proto_library( -- name = "resource_cc_proto", -- deps = [":resource_proto"], +-java_proto_library( +- name = "automl_java_proto", +- deps = [":automl_proto"], -) - --cc_proto_library( -- name = "service_cc_proto", -- deps = [":service_proto"], +-java_grpc_library( +- name = "automl_java_grpc", +- srcs = [":automl_proto"], +- deps = [":automl_java_proto"], -) - --cc_proto_library( -- name = "source_info_cc_proto", -- deps = [":source_info_proto"], +-java_gapic_library( +- name = "automl_java_gapic", +- srcs = [":automl_proto_with_info"], +- grpc_service_config = "automl_grpc_service_config.json", +- test_deps = [ +- ":automl_java_grpc", +- ], +- deps = [ +- ":automl_java_proto", +- ], -) - --cc_proto_library( -- name = "system_parameter_cc_proto", -- deps = [":system_parameter_proto"], +-java_gapic_test( +- name = "automl_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.automl.v1.AutoMlClientTest", +- "com.google.cloud.automl.v1.PredictionServiceClientTest", +- ], +- runtime_deps = [":automl_java_gapic_test"], -) - --cc_proto_library( -- name = "usage_cc_proto", -- deps = [":usage_proto"], +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-automl-v1-java", +- deps = [ +- ":automl_java_gapic", +- ":automl_java_grpc", +- ":automl_java_proto", +- ":automl_proto", +- ], -) - -############################################################################## --# Python +-# Go -############################################################################## --load("@com_google_googleapis_imports//:imports.bzl", "py_proto_library") -- --py_proto_library( -- name = "annotations_py_proto", -- deps = [":annotations_proto"], --) -- --py_proto_library( -- name = "auth_py_proto", -- deps = [":auth_proto"], +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", -) - --py_proto_library( -- name = "backend_py_proto", -- deps = [":backend_proto"], +-go_proto_library( +- name = "automl_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/automl/v1", +- protos = [":automl_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", +- ], -) - --py_proto_library( -- name = "billing_py_proto", -- deps = [":billing_proto"], +-go_gapic_library( +- name = "automl_go_gapic", +- srcs = [":automl_proto_with_info"], +- grpc_service_config = "automl_grpc_service_config.json", +- importpath = "cloud.google.com/go/automl/apiv1;automl", +- service_yaml = "automl_v1.yaml", +- deps = [ +- ":automl_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:any_go_proto", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- "@io_bazel_rules_go//proto/wkt:struct_go_proto", +- ], -) - --py_proto_library( -- name = "client_py_proto", -- deps = [":client_proto"], +-go_test( +- name = "automl_go_gapic_test", +- srcs = [":automl_go_gapic_srcjar_test"], +- embed = [":automl_go_gapic"], +- importpath = "cloud.google.com/go/automl/apiv1", -) - --py_proto_library( -- name = "config_change_py_proto", -- deps = [":config_change_proto"], +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-automl-v1-go", +- deps = [ +- ":automl_go_gapic", +- ":automl_go_gapic_srcjar-test.srcjar", +- ":automl_go_proto", +- ], -) - --py_proto_library( -- name = "consumer_py_proto", -- deps = [":consumer_proto"], +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", -) - --py_proto_library( -- name = "context_py_proto", -- deps = [":context_proto"], +-py_gapic_library( +- name = "automl_py_gapic", +- srcs = [":automl_proto"], +- grpc_service_config = "automl_grpc_service_config.json", -) - --py_proto_library( -- name = "control_py_proto", -- deps = [":control_proto"], +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "automl-v1-py", +- deps = [ +- ":automl_py_gapic", +- ], -) - --py_proto_library( -- name = "distribution_py_proto", -- deps = [":distribution_proto"], +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", -) - --py_proto_library( -- name = "documentation_py_proto", -- deps = [":documentation_proto"], +-php_proto_library( +- name = "automl_php_proto", +- deps = [":automl_proto"], -) - --py_proto_library( -- name = "endpoint_py_proto", -- deps = [":endpoint_proto"], +-php_grpc_library( +- name = "automl_php_grpc", +- srcs = [":automl_proto"], +- deps = [":automl_php_proto"], -) - --py_proto_library( -- name = "field_behavior_py_proto", -- deps = [":field_behavior_proto"], +-php_gapic_library( +- name = "automl_php_gapic", +- srcs = [":automl_proto_with_info"], +- grpc_service_config = "automl_grpc_service_config.json", +- service_yaml = "automl_v1.yaml", +- deps = [ +- ":automl_php_grpc", +- ":automl_php_proto", +- ], -) - --py_proto_library( -- name = "http_py_proto", -- deps = [":http_proto"], +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-automl-v1-php", +- deps = [ +- ":automl_php_gapic", +- ":automl_php_grpc", +- ":automl_php_proto", +- ], -) - --py_proto_library( -- name = "httpbody_py_proto", -- deps = [":httpbody_proto"], +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", -) - --py_proto_library( -- name = "label_py_proto", -- deps = [":label_proto"], +-nodejs_gapic_library( +- name = "automl_nodejs_gapic", +- package_name = "@google-cloud/automl", +- src = ":automl_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "automl_grpc_service_config.json", +- main_service = "automl", +- package = "google.cloud.automl.v1", +- service_yaml = "automl_v1.yaml", +- deps = [], -) - --py_proto_library( -- name = "launch_stage_py_proto", -- deps = [":launch_stage_proto"], +-nodejs_gapic_assembly_pkg( +- name = "automl-v1-nodejs", +- deps = [ +- ":automl_nodejs_gapic", +- ":automl_proto", +- ], -) - --py_proto_library( -- name = "log_py_proto", -- deps = [":log_proto"], +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", -) - --py_proto_library( -- name = "logging_py_proto", -- deps = [":logging_proto"], +-ruby_proto_library( +- name = "automl_ruby_proto", +- deps = [":automl_proto"], -) - --py_proto_library( -- name = "metric_py_proto", -- deps = [":metric_proto"], +-ruby_grpc_library( +- name = "automl_ruby_grpc", +- srcs = [":automl_proto"], +- deps = [":automl_ruby_proto"], -) - --py_proto_library( -- name = "monitored_resource_py_proto", -- deps = [":monitored_resource_proto"], +-ruby_cloud_gapic_library( +- name = "automl_ruby_gapic", +- srcs = [":automl_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-automl-v1", +- "ruby-cloud-env-prefix=AUTOML", +- "ruby-cloud-path-override=auto_ml=automl", +- "ruby-cloud-namespace-override=AutoMl=AutoML;Automl=AutoML", +- "ruby-cloud-yard-strict=false", +- "ruby-cloud-product-url=https://cloud.google.com/automl", +- "ruby-cloud-api-id=automl.googleapis.com", +- "ruby-cloud-api-shortname=automl", +- ], +- grpc_service_config = "automl_grpc_service_config.json", +- ruby_cloud_description = "AutoML makes the power of machine learning available to you even if you have limited knowledge of machine learning. You can use AutoML to build on Google's machine learning capabilities to create your own custom machine learning models that are tailored to your business needs, and then integrate those models into your applications and web sites.", +- ruby_cloud_title = "Cloud AutoML V1", +- deps = [ +- ":automl_ruby_grpc", +- ":automl_ruby_proto", +- ], -) - --py_proto_library( -- name = "monitoring_py_proto", -- deps = ["monitoring_proto"], +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-automl-v1-ruby", +- deps = [ +- ":automl_ruby_gapic", +- ":automl_ruby_grpc", +- ":automl_ruby_proto", +- ], -) - --py_proto_library( -- name = "quota_py_proto", -- deps = ["quota_proto"], +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", -) - --py_proto_library( -- name = "resource_py_proto", -- deps = [":resource_proto"], +-csharp_proto_library( +- name = "automl_csharp_proto", +- deps = [":automl_proto"], -) - --py_proto_library( -- name = "service_py_proto", -- deps = [":service_proto"], +-csharp_grpc_library( +- name = "automl_csharp_grpc", +- srcs = [":automl_proto"], +- deps = [":automl_csharp_proto"], -) - --py_proto_library( -- name = "source_info_py_proto", -- deps = [":source_info_proto"], +-csharp_gapic_library( +- name = "automl_csharp_gapic", +- srcs = [":automl_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "automl_grpc_service_config.json", +- deps = [ +- ":automl_csharp_grpc", +- ":automl_csharp_proto", +- ], -) - --py_proto_library( -- name = "system_parameter_py_proto", -- deps = [":system_parameter_proto"], +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-automl-v1-csharp", +- deps = [ +- ":automl_csharp_gapic", +- ":automl_csharp_grpc", +- ":automl_csharp_proto", +- ], -) - --py_proto_library( -- name = "usage_py_proto", -- deps = [":usage_proto"], --) -diff -urN a/google/api/expr/BUILD.bazel b/google/api/expr/BUILD.bazel ---- a/google/api/expr/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/api/expr/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/api/expr/v1alpha1/BUILD.bazel b/google/api/expr/v1alpha1/BUILD.bazel ---- a/google/api/expr/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/api/expr/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,314 +0,0 @@ +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/automl/v1beta1/BUILD.bazel b/google/cloud/automl/v1beta1/BUILD.bazel +--- a/google/cloud/automl/v1beta1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/automl/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,374 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -5187,420 +19759,721 @@ diff -urN a/google/api/expr/v1alpha1/BUILD.bazel b/google/api/expr/v1alpha1/BUIL -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "expr_proto", +- name = "automl_proto", - srcs = [ -- "checked.proto", -- "eval.proto", -- "explain.proto", -- "syntax.proto", -- "value.proto", +- "annotation_payload.proto", +- "annotation_spec.proto", +- "classification.proto", +- "column_spec.proto", +- "data_items.proto", +- "data_stats.proto", +- "data_types.proto", +- "dataset.proto", +- "detection.proto", +- "geometry.proto", +- "image.proto", +- "io.proto", +- "model.proto", +- "model_evaluation.proto", +- "operations.proto", +- "prediction_service.proto", +- "ranges.proto", +- "regression.proto", +- "service.proto", +- "table_spec.proto", +- "tables.proto", +- "temporal.proto", +- "text.proto", +- "text_extraction.proto", +- "text_segment.proto", +- "text_sentiment.proto", +- "translation.proto", +- "video.proto", - ], - deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", - "//google/rpc:status_proto", - "@com_google_protobuf//:any_proto", - "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - --proto_library( -- name = "conformance_service_proto", -- srcs = [ -- "conformance_service.proto", +-proto_library_with_info( +- name = "automl_proto_with_info", +- deps = [ +- ":automl_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "automl_java_proto", +- deps = [":automl_proto"], +-) +- +-java_grpc_library( +- name = "automl_java_grpc", +- srcs = [":automl_proto"], +- deps = [":automl_java_proto"], +-) +- +-java_gapic_library( +- name = "automl_java_gapic", +- srcs = [":automl_proto_with_info"], +- grpc_service_config = "automl_grpc_service_config.json", +- test_deps = [ +- ":automl_java_grpc", - ], - deps = [ -- ":checked_proto", -- ":eval_proto", -- ":syntax_proto", -- "//google/rpc:status_proto", +- ":automl_java_proto", - ], -) - --proto_library( -- name = "checked_proto", -- srcs = ["checked.proto"], +-java_gapic_test( +- name = "automl_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.automl.v1beta1.AutoMlClientTest", +- "com.google.cloud.automl.v1beta1.PredictionServiceClientTest", +- ], +- runtime_deps = [":automl_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-automl-v1beta1-java", - deps = [ -- ":syntax_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:struct_proto", +- ":automl_java_gapic", +- ":automl_java_grpc", +- ":automl_java_proto", +- ":automl_proto", - ], -) - --proto_library( -- name = "eval_proto", -- srcs = ["eval.proto"], +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "automl_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1", +- protos = [":automl_proto"], - deps = [ -- ":value_proto", -- "//google/rpc:status_proto", +- "//google/api:annotations_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", - ], -) - --proto_library( -- name = "explain_proto", -- srcs = ["explain.proto"], +-go_gapic_library( +- name = "automl_go_gapic", +- srcs = [":automl_proto_with_info"], +- grpc_service_config = "automl_grpc_service_config.json", +- importpath = "cloud.google.com/go/automl/apiv1beta1;automl", +- service_yaml = "automl_v1beta1.yaml", - deps = [ -- ":value_proto", +- ":automl_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:any_go_proto", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- "@io_bazel_rules_go//proto/wkt:struct_go_proto", - ], -) - --proto_library( -- name = "syntax_proto", -- srcs = ["syntax.proto"], +-go_test( +- name = "automl_go_gapic_test", +- srcs = [":automl_go_gapic_srcjar_test"], +- embed = [":automl_go_gapic"], +- importpath = "cloud.google.com/go/automl/apiv1beta1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-automl-v1beta1-go", - deps = [ -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:struct_proto", -- "@com_google_protobuf//:timestamp_proto", +- ":automl_go_gapic", +- ":automl_go_gapic_srcjar-test.srcjar", +- ":automl_go_proto", - ], -) - --proto_library( -- name = "value_proto", -- srcs = ["value.proto"], +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "automl_py_gapic", +- srcs = [":automl_proto"], +- grpc_service_config = "automl_grpc_service_config.json", +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "automl-v1beta1-py", - deps = [ -- "@com_google_protobuf//:any_proto", -- "@com_google_protobuf//:struct_proto", +- ":automl_py_gapic", - ], -) - -############################################################################## --# Java +-# PHP -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "java_grpc_library", -- "java_proto_library", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", -) - --java_proto_library( -- name = "expr_java_proto", -- deps = [":expr_proto"], +-php_proto_library( +- name = "automl_php_proto", +- deps = [":automl_proto"], -) - --java_proto_library( -- name = "conformance_service_java_proto", -- deps = [":conformance_service_proto"], +-php_grpc_library( +- name = "automl_php_grpc", +- srcs = [":automl_proto"], +- deps = [":automl_php_proto"], -) - --java_grpc_library( -- name = "conformance_service_java_grpc", -- srcs = [":conformance_service_proto"], -- deps = [":conformance_service_java_proto"], +-php_gapic_library( +- name = "automl_php_gapic", +- srcs = [":automl_proto_with_info"], +- grpc_service_config = "automl_grpc_service_config.json", +- service_yaml = "automl_v1beta1.yaml", +- deps = [ +- ":automl_php_grpc", +- ":automl_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-automl-v1beta1-php", +- deps = [ +- ":automl_php_gapic", +- ":automl_php_grpc", +- ":automl_php_proto", +- ], -) - -############################################################################## --# Go +-# Node.js -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "go_proto_library", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", -) - --go_proto_library( -- name = "expr_go_proto", -- compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/api/expr/v1alpha1", -- protos = [":expr_proto"], +-nodejs_gapic_library( +- name = "automl_nodejs_gapic", +- package_name = "@google-cloud/automl", +- src = ":automl_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "automl_grpc_service_config.json", +- main_service = "automl", +- package = "google.cloud.automl.v1beta1", +- service_yaml = "automl_v1beta1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "automl-v1beta1-nodejs", - deps = [ -- "//google/rpc:status_go_proto", +- ":automl_nodejs_gapic", +- ":automl_proto", - ], -) - --go_proto_library( -- name = "conformance_service_go_proto", -- compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/api/expr/conformance/v1alpha1", -- protos = [":conformance_service_proto"], +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "automl_ruby_proto", +- deps = [":automl_proto"], +-) +- +-ruby_grpc_library( +- name = "automl_ruby_grpc", +- srcs = [":automl_proto"], +- deps = [":automl_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "automl_ruby_gapic", +- srcs = [":automl_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-automl-v1beta1", +- "ruby-cloud-env-prefix=AUTOML", +- "ruby-cloud-path-override=auto_ml=automl", +- "ruby-cloud-namespace-override=AutoMl=AutoML;Automl=AutoML", +- "ruby-cloud-product-url=https://cloud.google.com/automl", +- "ruby-cloud-api-id=automl.googleapis.com", +- "ruby-cloud-api-shortname=automl", +- ], +- grpc_service_config = "automl_grpc_service_config.json", +- ruby_cloud_description = "AutoML makes the power of machine learning available to you even if you have limited knowledge of machine learning. You can use AutoML to build on Google's machine learning capabilities to create your own custom machine learning models that are tailored to your business needs, and then integrate those models into your applications and web sites.", +- ruby_cloud_title = "Cloud AutoML V1beta1", - deps = [ -- ":expr_go_proto", -- "//google/rpc:status_go_proto", +- ":automl_ruby_grpc", +- ":automl_ruby_proto", - ], -) - +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-automl-v1beta1-ruby", +- deps = [ +- ":automl_ruby_gapic", +- ":automl_ruby_grpc", +- ":automl_ruby_proto", +- ], +-) - -############################################################################## --# Python +-# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", -- "py_grpc_library", -- "py_proto_library", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", -) - --moved_proto_library( -- name = "expr_moved_proto", -- srcs = [":expr_proto"], +-csharp_proto_library( +- name = "automl_csharp_proto", +- deps = [":automl_proto"], +-) +- +-csharp_grpc_library( +- name = "automl_csharp_grpc", +- srcs = [":automl_proto"], +- deps = [":automl_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "automl_csharp_gapic", +- srcs = [":automl_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "automl_grpc_service_config.json", - deps = [ -- "//google/rpc:status_proto", -- "@com_google_protobuf//:any_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:struct_proto", -- "@com_google_protobuf//:timestamp_proto", +- ":automl_csharp_grpc", +- ":automl_csharp_proto", - ], -) - --moved_proto_library( -- name = "conformance_service_moved_proto", -- srcs = [":conformance_service_proto"], +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-automl-v1beta1-csharp", - deps = [ -- ":expr_moved_proto", -- "//google/rpc:status_proto", +- ":automl_csharp_gapic", +- ":automl_csharp_grpc", +- ":automl_csharp_proto", - ], -) - --py_proto_library( -- name = "expr_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":expr_moved_proto"], --) +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/bigquery/connection/v1/BUILD.bazel b/google/cloud/bigquery/connection/v1/BUILD.bazel +--- a/google/cloud/bigquery/connection/v1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/bigquery/connection/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,341 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator - --py_proto_library( -- name = "conformance_service_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":conformance_service_moved_proto"], +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "connection_proto", +- srcs = [ +- "connection.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/iam/v1:iam_policy_proto", +- "//google/iam/v1:policy_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:wrappers_proto", +- ], -) - --py_grpc_library( -- name = "conformance_service_py_grpc", -- srcs = [":conformance_service_moved_proto"], -- deps = [":conformance_service_py_proto"], +-proto_library_with_info( +- name = "connection_proto_with_info", +- deps = [ +- ":connection_proto", +- "//google/cloud:common_resources_proto", +- ], -) - -############################################################################## --# PHP +-# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "php_grpc_library", -- "php_proto_library", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", -) - --php_proto_library( -- name = "expr_php_proto", -- deps = [":expr_proto"], +-java_proto_library( +- name = "connection_java_proto", +- deps = [":connection_proto"], -) - --php_proto_library( -- name = "conformance_service_php_proto", -- deps = [":conformance_service_proto"], +-java_grpc_library( +- name = "connection_java_grpc", +- srcs = [":connection_proto"], +- deps = [":connection_java_proto"], -) - --php_grpc_library( -- name = "conformance_service_php_grpc", -- srcs = [":conformance_service_proto"], -- deps = [":conformance_service_php_proto"], +-java_gapic_library( +- name = "connection_java_gapic", +- srcs = [":connection_proto_with_info"], +- gapic_yaml = "connection_gapic.yaml", +- grpc_service_config = "bigqueryconnection_grpc_service_config.json", +- test_deps = [ +- ":connection_java_grpc", +- "//google/iam/v1:iam_java_grpc", +- ], +- deps = [ +- ":connection_java_proto", +- "//google/iam/v1:iam_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "connection_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.bigqueryconnection.v1.ConnectionServiceClientTest", +- ], +- runtime_deps = [":connection_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-bigquery-connection-v1-java", +- deps = [ +- ":connection_java_gapic", +- ":connection_java_grpc", +- ":connection_java_proto", +- ":connection_proto", +- ], -) - -############################################################################## --# Ruby +-# Go -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_grpc_library", -- "ruby_proto_library", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", -) - --ruby_proto_library( -- name = "expr_ruby_proto", -- deps = [":expr_proto"], +-go_proto_library( +- name = "connection_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/connection/v1", +- protos = [":connection_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/iam/v1:iam_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "connection_go_gapic", +- srcs = [":connection_proto_with_info"], +- grpc_service_config = "bigqueryconnection_grpc_service_config.json", +- importpath = "cloud.google.com/go/bigquery/connection/apiv1;connection", +- service_yaml = "bigqueryconnection_v1.yaml", +- deps = [ +- ":connection_go_proto", +- "//google/iam/v1:iam_go_proto", +- ], -) - --ruby_proto_library( -- name = "conformance_service_ruby_proto", -- deps = [":conformance_service_proto"], +-go_test( +- name = "connection_go_gapic_test", +- srcs = [":connection_go_gapic_srcjar_test"], +- embed = [":connection_go_gapic"], +- importpath = "cloud.google.com/go/bigquery/connection/apiv1", -) - --ruby_grpc_library( -- name = "conformance_service_ruby_grpc", -- srcs = [":conformance_service_proto"], -- deps = [":conformance_service_ruby_proto"], +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-bigquery-connection-v1-go", +- deps = [ +- ":connection_go_gapic", +- ":connection_go_gapic_srcjar-test.srcjar", +- ":connection_go_proto", +- ], -) - -############################################################################## --# C# +-# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "csharp_grpc_library", -- "csharp_proto_library", --) -- --csharp_proto_library( -- name = "expr_csharp_proto", -- deps = [":expr_proto"], +- "py_gapic_assembly_pkg", +- "py_gapic_library", -) - --csharp_proto_library( -- name = "conformance_service_csharp_proto", -- deps = [":conformance_service_proto"], +-py_gapic_library( +- name = "connection_py_gapic", +- srcs = [":connection_proto"], +- grpc_service_config = "bigqueryconnection_grpc_service_config.json", +- opt_args = [ +- "python-gapic-namespace=google.cloud", +- "python-gapic-name=bigquery_connection", +- ], -) - --csharp_grpc_library( -- name = "conformance_service_csharp_grpc", -- srcs = [":conformance_service_proto"], -- deps = [":conformance_service_csharp_proto"], +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "bigquery-connection-v1-py", +- deps = [ +- ":connection_py_gapic", +- ], -) - -############################################################################## --# C++ +-# PHP -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "cc_grpc_library", -- "cc_proto_library", --) -- --cc_proto_library( -- name = "checked_cc_proto", -- deps = [":checked_proto"], +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", -) - --cc_proto_library( -- name = "conformance_service_cc_proto", -- deps = [":conformance_service_proto"], +-php_proto_library( +- name = "connection_php_proto", +- deps = [":connection_proto"], -) - --cc_grpc_library( -- name = "conformance_service_cc_grpc", -- srcs = [":conformance_service_proto"], -- generate_mocks = True, -- grpc_only = True, -- deps = [":conformance_service_cc_proto"], +-php_grpc_library( +- name = "connection_php_grpc", +- srcs = [":connection_proto"], +- deps = [":connection_php_proto"], -) - --cc_proto_library( -- name = "eval_cc_proto", -- deps = [":eval_proto"], +-php_gapic_library( +- name = "connection_php_gapic", +- srcs = [":connection_proto_with_info"], +- grpc_service_config = "bigqueryconnection_grpc_service_config.json", +- deps = [ +- ":connection_php_grpc", +- ":connection_php_proto", +- ], -) - --cc_proto_library( -- name = "explain_cc_proto", -- deps = [":explain_proto"], +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-bigquery-connection-v1-php", +- deps = [ +- ":connection_php_gapic", +- ":connection_php_grpc", +- ":connection_php_proto", +- ], -) - --cc_proto_library( -- name = "syntax_cc_proto", -- deps = [":syntax_proto"], +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", -) - --cc_proto_library( -- name = "value_cc_proto", -- deps = [":value_proto"], +-nodejs_gapic_library( +- name = "connection_nodejs_gapic", +- package_name = "@google-cloud/bigquery-connection", +- src = ":connection_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- gapic_yaml = "connection_gapic.yaml", +- grpc_service_config = "bigqueryconnection_grpc_service_config.json", +- package = "google.cloud.bigquery.connection.v1", +- service_yaml = "bigqueryconnection_v1.yaml", +- deps = [], -) -diff -urN a/google/api/expr/v1beta1/BUILD.bazel b/google/api/expr/v1beta1/BUILD.bazel ---- a/google/api/expr/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/api/expr/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,91 +0,0 @@ --load("@rules_proto//proto:defs.bzl", "proto_library") -- --# This is an API workspace, having public visibility by default makes perfect sense. --package(default_visibility = ["//visibility:public"]) - --proto_library( -- name = "decl_proto", -- srcs = ["decl.proto"], +-nodejs_gapic_assembly_pkg( +- name = "bigquery-connection-v1-nodejs", - deps = [ -- ":expr_proto", +- ":connection_nodejs_gapic", +- ":connection_proto", - ], -) - --proto_library( -- name = "eval_proto", -- srcs = ["eval.proto"], -- deps = [ -- ":value_proto", -- "//google/rpc:status_proto", -- ], +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", -) - --proto_library( -- name = "expr_proto", -- srcs = ["expr.proto"], -- deps = [ -- ":source_proto", -- "@com_google_protobuf//:struct_proto", -- ], +-ruby_proto_library( +- name = "connection_ruby_proto", +- deps = [":connection_proto"], -) - --proto_library( -- name = "source_proto", -- srcs = ["source.proto"], +-ruby_grpc_library( +- name = "connection_ruby_grpc", +- srcs = [":connection_proto"], +- deps = [":connection_ruby_proto"], -) - --proto_library( -- name = "value_proto", -- srcs = ["value.proto"], +-ruby_cloud_gapic_library( +- name = "connection_ruby_gapic", +- srcs = [":connection_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-bigquery-connection-v1", +- "ruby-cloud-env-prefix=BIGQUERY_CONNECTION", +- "ruby-cloud-product-url=https://cloud.google.com/bigquery/docs/reference/bigqueryconnection", +- "ruby-cloud-api-id=bigqueryconnection.googleapis.com", +- "ruby-cloud-api-shortname=bigqueryconnection", +- ], +- grpc_service_config = "bigqueryconnection_grpc_service_config.json", +- ruby_cloud_description = "The BigQuery Connection API allows users to manage BigQuery connections to external data sources.", +- ruby_cloud_title = "BigQuery Connection V1", - deps = [ -- "@com_google_protobuf//:any_proto", -- "@com_google_protobuf//:struct_proto", +- ":connection_ruby_grpc", +- ":connection_ruby_proto", - ], -) - --proto_library( -- name = "cel_proto", +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-bigquery-connection-v1-ruby", - deps = [ -- ":decl_proto", -- ":eval_proto", -- ":expr_proto", -- ":source_proto", -- ":value_proto", -- "//google/rpc:status_proto", -- "@com_google_protobuf//:any_proto", -- "@com_google_protobuf//:struct_proto", +- ":connection_ruby_gapic", +- ":connection_ruby_grpc", +- ":connection_ruby_proto", - ], -) - -############################################################################## --# C++ +-# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "cc_proto_library", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", -) - --cc_proto_library( -- name = "decl_cc_proto", -- deps = [":decl_proto"], +-csharp_proto_library( +- name = "connection_csharp_proto", +- deps = [":connection_proto"], -) - --cc_proto_library( -- name = "eval_cc_proto", -- deps = [":eval_proto"], +-csharp_grpc_library( +- name = "connection_csharp_grpc", +- srcs = [":connection_proto"], +- deps = [":connection_csharp_proto"], -) - --cc_proto_library( -- name = "expr_cc_proto", -- deps = [":expr_proto"], +-csharp_gapic_library( +- name = "connection_csharp_gapic", +- srcs = [":connection_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "bigqueryconnection_grpc_service_config.json", +- deps = [ +- ":connection_csharp_grpc", +- ":connection_csharp_proto", +- ], -) - --cc_proto_library( -- name = "source_cc_proto", -- deps = [":source_proto"], +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-bigquery-connection-v1-csharp", +- deps = [ +- ":connection_csharp_gapic", +- ":connection_csharp_grpc", +- ":connection_csharp_proto", +- ], -) - --cc_proto_library( -- name = "value_cc_proto", -- deps = [":value_proto"], --) -diff -urN a/google/api/servicecontrol/v1/BUILD.bazel b/google/api/servicecontrol/v1/BUILD.bazel ---- a/google/api/servicecontrol/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/api/servicecontrol/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,352 +0,0 @@ +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/bigquery/connection/v1beta1/BUILD.bazel b/google/cloud/bigquery/connection/v1beta1/BUILD.bazel +--- a/google/cloud/bigquery/connection/v1beta1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/bigquery/connection/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,325 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel -- --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -5612,33 +20485,27 @@ diff -urN a/google/api/servicecontrol/v1/BUILD.bazel b/google/api/servicecontrol -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "servicecontrol_proto", +- name = "connection_proto", - srcs = [ -- "check_error.proto", -- "distribution.proto", -- "http_request.proto", -- "log_entry.proto", -- "metric_value.proto", -- "operation.proto", -- "quota_controller.proto", -- "service_controller.proto", +- "connection.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", -- "//google/logging/type:type_proto", -- "//google/rpc:status_proto", -- "@com_google_protobuf//:any_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:struct_proto", -- "@com_google_protobuf//:timestamp_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/iam/v1:iam_policy_proto", +- "//google/iam/v1:policy_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "servicecontrol_proto_with_info", +- name = "connection_proto_with_info", - deps = [ -- ":servicecontrol_proto", +- ":connection_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -5646,109 +20513,109 @@ diff -urN a/google/api/servicecontrol/v1/BUILD.bazel b/google/api/servicecontrol -############################################################################## -# Java -############################################################################## --# load( --# "@com_google_googleapis_imports//:imports.bzl", --# "java_gapic_assembly_gradle_pkg", --# "java_gapic_library", --# "java_gapic_test", --# "java_grpc_library", --# "java_proto_library", --# ) -- --# java_proto_library( --# name = "servicecontrol_java_proto", --# deps = [":servicecontrol_proto"], --# ) +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) - --# java_grpc_library( --# name = "servicecontrol_java_grpc", --# srcs = [":servicecontrol_proto"], --# deps = [":servicecontrol_java_proto"], --# ) +-java_proto_library( +- name = "connection_java_proto", +- deps = [":connection_proto"], +-) - --# java_gapic_library( --# name = "servicecontrol_java_gapic", --# srcs = [":servicecontrol_proto_with_info"], --# grpc_service_config = None, --# package = "google.api.servicecontrol.v1", --# test_deps = [ --# ":servicecontrol_java_grpc", --# ], --# deps = [ --# ":servicecontrol_java_proto", --# ], --# ) +-java_grpc_library( +- name = "connection_java_grpc", +- srcs = [":connection_proto"], +- deps = [":connection_java_proto"], +-) - --# java_gapic_test( --# name = "servicecontrol_java_gapic_test_suite", --# test_classes = [ +-java_gapic_library( +- name = "connection_java_gapic", +- srcs = [":connection_proto_with_info"], +- grpc_service_config = "bigqueryconnection_grpc_service_config.json", +- test_deps = [ +- ":connection_java_grpc", +- "//google/iam/v1:iam_java_grpc", +- ], +- deps = [ +- ":connection_java_proto", +- "//google/iam/v1:iam_java_proto", +- ], +-) - --# ], --# runtime_deps = [":servicecontrol_java_gapic_test"], --# ) +-java_gapic_test( +- name = "connection_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.bigquery.connection.v1beta1.ConnectionServiceClientTest", +- ], +- runtime_deps = [":connection_java_gapic_test"], +-) - --# # Open Source Packages --# java_gapic_assembly_gradle_pkg( --# name = "google-cloud-api-servicecontrol-v1-java", --# deps = [ --# ":servicecontrol_java_gapic", --# ":servicecontrol_java_grpc", --# ":servicecontrol_java_proto", --# ":servicecontrol_proto", --# ], --# ) +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-bigquery-connection-v1beta1-java", +- deps = [ +- ":connection_java_gapic", +- ":connection_java_grpc", +- ":connection_java_proto", +- ":connection_proto", +- ], +-) - -############################################################################## -# Go -############################################################################## --# load( --# "@com_google_googleapis_imports//:imports.bzl", --# "go_gapic_assembly_pkg", --# "go_gapic_library", --# "go_proto_library", --# "go_test", --# ) +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) - --# go_proto_library( --# name = "servicecontrol_go_proto", --# compilers = ["@io_bazel_rules_go//proto:go_grpc"], --# importpath = "google.golang.org/genproto/googleapis/api/servicecontrol/v1", --# protos = [":servicecontrol_proto"], --# deps = [ --# "//google/api:annotations_go_proto", --# "//google/logging/type:type_proto", --# "//google/rpc:status_go_proto", --# ], --# ) +-go_proto_library( +- name = "connection_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/connection/v1beta1", +- protos = [":connection_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/iam/v1:iam_go_proto", +- ], +-) - --# go_gapic_library( --# name = "servicecontrol_go_gapic", --# srcs = [":servicecontrol_proto_with_info"], --# grpc_service_config = None, --# importpath = "cloud.google.com/go/api/servicecontrol/apiv1;servicecontrol", --# service_yaml = "servicecontrol.yaml", --# deps = [ --# ":servicecontrol_go_proto", --# "@io_bazel_rules_go//proto/wkt:duration_go_proto", --# ], --# ) +-go_gapic_library( +- name = "connection_go_gapic", +- srcs = [":connection_proto_with_info"], +- grpc_service_config = "bigqueryconnection_grpc_service_config.json", +- importpath = "cloud.google.com/go/bigquery/connection/apiv1beta1;connection", +- service_yaml = "bigqueryconnection_v1beta1.yaml", +- deps = [ +- ":connection_go_proto", +- "//google/iam/v1:iam_go_proto", +- ], +-) - --# go_test( --# name = "servicecontrol_go_gapic_test", --# srcs = [":servicecontrol_go_gapic_srcjar_test"], --# embed = [":servicecontrol_go_gapic"], --# importpath = "cloud.google.com/go/api/servicecontrol/apiv1", --# ) +-go_test( +- name = "connection_go_gapic_test", +- srcs = [":connection_go_gapic_srcjar_test"], +- embed = [":connection_go_gapic"], +- importpath = "cloud.google.com/go/bigquery/connection/apiv1beta1", +-) - --# # Open Source Packages --# go_gapic_assembly_pkg( --# name = "gapi-cloud-api-servicecontrol-v1-go", --# deps = [ --# ":servicecontrol_go_gapic", --# ":servicecontrol_go_gapic_srcjar-test.srcjar", --# ":servicecontrol_go_proto", --# ], --# ) +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-bigquery-connection-v1beta1-go", +- deps = [ +- ":connection_go_gapic", +- ":connection_go_gapic_srcjar-test.srcjar", +- ":connection_go_proto", +- ], +-) - -############################################################################## -# Python @@ -5760,16 +20627,16 @@ diff -urN a/google/api/servicecontrol/v1/BUILD.bazel b/google/api/servicecontrol -) - -py_gapic_library( -- name = "servicecontrol_py_gapic", -- srcs = [":servicecontrol_proto"], -- grpc_service_config = None, +- name = "connection_py_gapic", +- srcs = [":connection_proto"], +- grpc_service_config = "bigqueryconnection_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "api-servicecontrol-v1-py", +- name = "bigquery-connection-v1beta1-py", - deps = [ -- ":servicecontrol_py_gapic", +- ":connection_py_gapic", - ], -) - @@ -5785,36 +20652,33 @@ diff -urN a/google/api/servicecontrol/v1/BUILD.bazel b/google/api/servicecontrol -) - -php_proto_library( -- name = "servicecontrol_php_proto", -- deps = [":servicecontrol_proto"], +- name = "connection_php_proto", +- deps = [":connection_proto"], -) - -php_grpc_library( -- name = "servicecontrol_php_grpc", -- srcs = [":servicecontrol_proto"], -- deps = [":servicecontrol_php_proto"], +- name = "connection_php_grpc", +- srcs = [":connection_proto"], +- deps = [":connection_php_proto"], -) - -php_gapic_library( -- name = "servicecontrol_php_gapic", -- src = ":servicecontrol_proto_with_info", -- gapic_yaml = "servicecontrol_gapic.yaml", -- grpc_service_config = None, -- package = "google.api.servicecontrol.v1", -- service_yaml = "servicecontrol.yaml", +- name = "connection_php_gapic", +- srcs = [":connection_proto_with_info"], +- grpc_service_config = "bigqueryconnection_grpc_service_config.json", - deps = [ -- ":servicecontrol_php_grpc", -- ":servicecontrol_php_proto", +- ":connection_php_grpc", +- ":connection_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-api-servicecontrol-v1-php", +- name = "google-cloud-bigquery-connection-v1beta1-php", - deps = [ -- ":servicecontrol_php_gapic", -- ":servicecontrol_php_grpc", -- ":servicecontrol_php_proto", +- ":connection_php_gapic", +- ":connection_php_grpc", +- ":connection_php_proto", - ], -) - @@ -5828,21 +20692,20 @@ diff -urN a/google/api/servicecontrol/v1/BUILD.bazel b/google/api/servicecontrol -) - -nodejs_gapic_library( -- name = "servicecontrol_nodejs_gapic", -- package_name = "@google-cloud/service-control", -- src = ":servicecontrol_proto_with_info", +- name = "connection_nodejs_gapic", +- src = ":connection_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = None, -- package = "google.api.servicecontrol.v1", -- service_yaml = "servicecontrol.yaml", +- grpc_service_config = "bigqueryconnection_grpc_service_config.json", +- package = "google.cloud.bigquery.connection.v1beta1", +- service_yaml = "bigqueryconnection_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "api-servicecontrol-v1-nodejs", +- name = "bigquery-connection-v1beta1-nodejs", - deps = [ -- ":servicecontrol_nodejs_gapic", -- ":servicecontrol_proto", +- ":connection_nodejs_gapic", +- ":connection_proto", - ], -) - @@ -5858,41 +20721,33 @@ diff -urN a/google/api/servicecontrol/v1/BUILD.bazel b/google/api/servicecontrol -) - -ruby_proto_library( -- name = "servicecontrol_ruby_proto", -- deps = [":servicecontrol_proto"], +- name = "connection_ruby_proto", +- deps = [":connection_proto"], -) - -ruby_grpc_library( -- name = "servicecontrol_ruby_grpc", -- srcs = [":servicecontrol_proto"], -- deps = [":servicecontrol_ruby_proto"], +- name = "connection_ruby_grpc", +- srcs = [":connection_proto"], +- deps = [":connection_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "servicecontrol_ruby_gapic", -- srcs = [":servicecontrol_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-service_control-v1", -- "ruby-cloud-env-prefix=SERVICE_CONTROL", -- "ruby-cloud-product-url=https://cloud.google.com/service-infrastructure/docs/overview/", -- "ruby-cloud-api-id=servicecontrol.googleapis.com", -- "ruby-cloud-api-shortname=servicecontrol", -- ], -- ruby_cloud_description = "The Service Control API provides control plane functionality to managed services, such as logging, monitoring, and status checks.", -- ruby_cloud_title = "Service Control API V1", +- name = "connection_ruby_gapic", +- srcs = [":connection_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-connection-v1beta1"], - deps = [ -- ":servicecontrol_ruby_grpc", -- ":servicecontrol_ruby_proto", +- ":connection_ruby_grpc", +- ":connection_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-api-servicecontrol-v1-ruby", +- name = "google-cloud-bigquery-connection-v1beta1-ruby", - deps = [ -- ":servicecontrol_ruby_gapic", -- ":servicecontrol_ruby_grpc", -- ":servicecontrol_ruby_proto", +- ":connection_ruby_gapic", +- ":connection_ruby_grpc", +- ":connection_ruby_proto", - ], -) - @@ -5908,34 +20763,34 @@ diff -urN a/google/api/servicecontrol/v1/BUILD.bazel b/google/api/servicecontrol -) - -csharp_proto_library( -- name = "servicecontrol_csharp_proto", -- deps = [":servicecontrol_proto"], +- name = "connection_csharp_proto", +- deps = [":connection_proto"], -) - -csharp_grpc_library( -- name = "servicecontrol_csharp_grpc", -- srcs = [":servicecontrol_proto"], -- deps = [":servicecontrol_csharp_proto"], +- name = "connection_csharp_grpc", +- srcs = [":connection_proto"], +- deps = [":connection_csharp_proto"], -) - -csharp_gapic_library( -- name = "servicecontrol_csharp_gapic", -- srcs = [":servicecontrol_proto_with_info"], +- name = "connection_csharp_gapic", +- srcs = [":connection_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = None, +- grpc_service_config = "bigqueryconnection_grpc_service_config.json", - deps = [ -- ":servicecontrol_csharp_grpc", -- ":servicecontrol_csharp_proto", +- ":connection_csharp_grpc", +- ":connection_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-api-servicecontrol-v1-csharp", +- name = "google-cloud-bigquery-connection-v1beta1-csharp", - deps = [ -- ":servicecontrol_csharp_gapic", -- ":servicecontrol_csharp_grpc", -- ":servicecontrol_csharp_proto", +- ":connection_csharp_gapic", +- ":connection_csharp_grpc", +- ":connection_csharp_proto", - ], -) - @@ -5943,16 +20798,15 @@ diff -urN a/google/api/servicecontrol/v1/BUILD.bazel b/google/api/servicecontrol -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/api/servicemanagement/BUILD.bazel b/google/api/servicemanagement/BUILD.bazel ---- a/google/api/servicemanagement/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/api/servicemanagement/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +diff -urN a/google/cloud/bigquery/datatransfer/BUILD.bazel b/google/cloud/bigquery/datatransfer/BUILD.bazel +--- a/google/cloud/bigquery/datatransfer/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/bigquery/datatransfer/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) -\ No newline at end of file -diff -urN a/google/api/servicemanagement/v1/BUILD.bazel b/google/api/servicemanagement/v1/BUILD.bazel ---- a/google/api/servicemanagement/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/api/servicemanagement/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,348 +0,0 @@ +diff -urN a/google/cloud/bigquery/datatransfer/v1/BUILD.bazel b/google/cloud/bigquery/datatransfer/v1/BUILD.bazel +--- a/google/cloud/bigquery/datatransfer/v1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/bigquery/datatransfer/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,341 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -5965,31 +20819,30 @@ diff -urN a/google/api/servicemanagement/v1/BUILD.bazel b/google/api/servicemana -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "servicemanagement_proto", +- name = "datatransfer_proto", - srcs = [ -- "resources.proto", -- "servicemanager.proto", +- "datatransfer.proto", +- "transfer.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", -- "//google/api:config_change_proto", - "//google/api:field_behavior_proto", -- "//google/api:metric_proto", -- "//google/api:quota_proto", -- "//google/api:service_proto", -- "//google/longrunning:operations_proto", +- "//google/api:resource_proto", - "//google/rpc:status_proto", -- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "servicemanagement_proto_with_info", +- name = "datatransfer_proto_with_info", - deps = [ -- ":servicemanagement_proto", +- ":datatransfer_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -6007,46 +20860,44 @@ diff -urN a/google/api/servicemanagement/v1/BUILD.bazel b/google/api/servicemana -) - -java_proto_library( -- name = "servicemanagement_java_proto", -- deps = [":servicemanagement_proto"], +- name = "datatransfer_java_proto", +- deps = [":datatransfer_proto"], -) - -java_grpc_library( -- name = "servicemanagement_java_grpc", -- srcs = [":servicemanagement_proto"], -- deps = [":servicemanagement_java_proto"], +- name = "datatransfer_java_grpc", +- srcs = [":datatransfer_proto"], +- deps = [":datatransfer_java_proto"], -) - -java_gapic_library( -- name = "servicemanagement_java_gapic", -- srcs = [":servicemanagement_proto_with_info"], -- gapic_yaml = "servicemanagement_gapic.yaml", -- grpc_service_config = "servicemanagement_grpc_service_config.json", +- name = "datatransfer_java_gapic", +- srcs = [":datatransfer_proto_with_info"], +- grpc_service_config = "bigquerydatatransfer_grpc_service_config.json", - test_deps = [ -- ":servicemanagement_java_grpc", +- ":datatransfer_java_grpc", - ], - deps = [ -- ":servicemanagement_java_proto", -- "//google/api:api_java_proto", +- ":datatransfer_java_proto", - ], -) - -java_gapic_test( -- name = "servicemanagement_java_gapic_test_suite", +- name = "datatransfer_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.api.servicemanagement.v1.ServiceManagerClientTest", +- "com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClientTest", - ], -- runtime_deps = [":servicemanagement_java_gapic_test"], +- runtime_deps = [":datatransfer_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-api-servicemanagement-v1-java", +- name = "google-cloud-bigquery-datatransfer-v1-java", - deps = [ -- ":servicemanagement_java_gapic", -- ":servicemanagement_java_grpc", -- ":servicemanagement_java_proto", -- ":servicemanagement_proto", +- ":datatransfer_java_gapic", +- ":datatransfer_java_grpc", +- ":datatransfer_java_proto", +- ":datatransfer_proto", - ], -) - @@ -6062,56 +20913,49 @@ diff -urN a/google/api/servicemanagement/v1/BUILD.bazel b/google/api/servicemana -) - -go_proto_library( -- name = "servicemanagement_go_proto", +- name = "datatransfer_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/api/servicemanagement/v1", -- protos = [":servicemanagement_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1", +- protos = [":datatransfer_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/api:configchange_go_proto", -- "//google/api:metric_go_proto", -- "//google/api:serviceconfig_go_proto", -- "//google/longrunning:longrunning_go_proto", - "//google/rpc:status_go_proto", - ], -) - -go_gapic_library( -- name = "servicemanagement_go_gapic", -- srcs = [":servicemanagement_proto_with_info"], -- grpc_service_config = "servicemanagement_grpc_service_config.json", -- importpath = "cloud.google.com/go/api/servicemanagement/apiv1;servicemanagement", -- service_yaml = "servicemanagement_v1.yaml", +- name = "datatransfer_go_gapic", +- srcs = [":datatransfer_proto_with_info"], +- grpc_service_config = "bigquerydatatransfer_grpc_service_config.json", +- importpath = "cloud.google.com/go/bigquery/datatransfer/apiv1;datatransfer", +- service_yaml = "bigquerydatatransfer_v1.yaml", - deps = [ -- ":servicemanagement_go_proto", -- "//google/api:serviceconfig_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:any_go_proto", +- ":datatransfer_go_proto", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "servicemanagement_go_gapic_test", -- srcs = [":servicemanagement_go_gapic_srcjar_test"], -- embed = [":servicemanagement_go_gapic"], -- importpath = "cloud.google.com/go/api/servicemanagement/apiv1", +- name = "datatransfer_go_gapic_test", +- srcs = [":datatransfer_go_gapic_srcjar_test"], +- embed = [":datatransfer_go_gapic"], +- importpath = "cloud.google.com/go/bigquery/datatransfer/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-api-servicemanagement-v1-go", +- name = "gapi-cloud-bigquery-datatransfer-v1-go", - deps = [ -- ":servicemanagement_go_gapic", -- ":servicemanagement_go_gapic_srcjar-test.srcjar", -- ":servicemanagement_go_proto", +- ":datatransfer_go_gapic", +- ":datatransfer_go_gapic_srcjar-test.srcjar", +- ":datatransfer_go_proto", - ], -) - -############################################################################## -# Python -############################################################################## +- -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_gapic_assembly_pkg", @@ -6119,16 +20963,19 @@ diff -urN a/google/api/servicemanagement/v1/BUILD.bazel b/google/api/servicemana -) - -py_gapic_library( -- name = "servicemanagement_py_gapic", -- srcs = [":servicemanagement_proto"], -- grpc_service_config = "servicemanagement_grpc_service_config.json", +- name = "datatransfer_py_gapic", +- srcs = [":datatransfer_proto"], +- grpc_service_config = "bigquerydatatransfer_grpc_service_config.json", +- opt_args = [ +- "python-gapic-namespace=google.cloud", +- "python-gapic-name=bigquery_datatransfer", +- ], -) - --# Open Source Packages -py_gapic_assembly_pkg( -- name = "api-servicemanagement-v1-py", +- name = "bigquery-datatransfer-v1-py", - deps = [ -- ":servicemanagement_py_gapic", +- ":datatransfer_py_gapic", - ], -) - @@ -6144,36 +20991,33 @@ diff -urN a/google/api/servicemanagement/v1/BUILD.bazel b/google/api/servicemana -) - -php_proto_library( -- name = "servicemanagement_php_proto", -- deps = [":servicemanagement_proto"], +- name = "datatransfer_php_proto", +- deps = [":datatransfer_proto"], -) - -php_grpc_library( -- name = "servicemanagement_php_grpc", -- srcs = [":servicemanagement_proto"], -- deps = [":servicemanagement_php_proto"], +- name = "datatransfer_php_grpc", +- srcs = [":datatransfer_proto"], +- deps = [":datatransfer_php_proto"], -) - -php_gapic_library( -- name = "servicemanagement_php_gapic", -- src = ":servicemanagement_proto_with_info", -- gapic_yaml = "servicemanagement_gapic.yaml", -- grpc_service_config = "servicemanagement_grpc_service_config.json", -- package = "google.api.servicemanagement.v1", -- service_yaml = "servicemanagement_v1.yaml", +- name = "datatransfer_php_gapic", +- srcs = [":datatransfer_proto_with_info"], +- grpc_service_config = "bigquerydatatransfer_grpc_service_config.json", - deps = [ -- ":servicemanagement_php_grpc", -- ":servicemanagement_php_proto", +- ":datatransfer_php_grpc", +- ":datatransfer_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-api-servicemanagement-v1-php", +- name = "google-cloud-bigquery-datatransfer-v1-php", - deps = [ -- ":servicemanagement_php_gapic", -- ":servicemanagement_php_grpc", -- ":servicemanagement_php_proto", +- ":datatransfer_php_gapic", +- ":datatransfer_php_grpc", +- ":datatransfer_php_proto", - ], -) - @@ -6187,20 +21031,21 @@ diff -urN a/google/api/servicemanagement/v1/BUILD.bazel b/google/api/servicemana -) - -nodejs_gapic_library( -- name = "servicemanagement_nodejs_gapic", -- src = ":servicemanagement_proto_with_info", +- name = "datatransfer_nodejs_gapic", +- package_name = "@google-cloud/bigquery-data-transfer", +- src = ":datatransfer_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "servicemanagement_grpc_service_config.json", -- package = "google.api.servicemanagement.v1", -- service_yaml = "servicemanagement_v1.yaml", +- grpc_service_config = "bigquerydatatransfer_grpc_service_config.json", +- package = "google.cloud.bigquery.datatransfer.v1", +- service_yaml = "bigquerydatatransfer_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "api-servicemanagement-v1-nodejs", +- name = "bigquery-datatransfer-v1-nodejs", - deps = [ -- ":servicemanagement_nodejs_gapic", -- ":servicemanagement_proto", +- ":datatransfer_nodejs_gapic", +- ":datatransfer_proto", - ], -) - @@ -6209,48 +21054,50 @@ diff -urN a/google/api/servicemanagement/v1/BUILD.bazel b/google/api/servicemana -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "servicemanagement_ruby_proto", -- deps = [":servicemanagement_proto"], +- name = "datatransfer_ruby_proto", +- deps = [":datatransfer_proto"], -) - -ruby_grpc_library( -- name = "servicemanagement_ruby_grpc", -- srcs = [":servicemanagement_proto"], -- deps = [":servicemanagement_ruby_proto"], +- name = "datatransfer_ruby_grpc", +- srcs = [":datatransfer_proto"], +- deps = [":datatransfer_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "servicemanagement_ruby_gapic", -- srcs = [":servicemanagement_proto_with_info"], +- name = "datatransfer_ruby_gapic", +- srcs = [":datatransfer_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-service_management-v1", -- "ruby-cloud-env-prefix=SERVICE_MANAGEMENT", -- "ruby-cloud-product-url=https://cloud.google.com/service-infrastructure/docs/overview/", -- "ruby-cloud-api-id=servicemanagement.googleapis.com", -- "ruby-cloud-api-shortname=servicemanagement", +- "ruby-cloud-gem-name=google-cloud-bigquery-data_transfer-v1", +- "ruby-cloud-env-prefix=DATA_TRANSFER", +- "ruby-cloud-yard-strict=false", +- "ruby-cloud-product-url=https://cloud.google.com/bigquery/transfer", +- "ruby-cloud-api-id=bigquerydatatransfer.googleapis.com", +- "ruby-cloud-api-shortname=bigquerydatatransfer", - ], -- ruby_cloud_description = "Google Service Management allows service producers to publish their services on Google Cloud Platform so that they can be discovered and used by service consumers.", -- ruby_cloud_title = "Service Management API V1", +- grpc_service_config = "bigquerydatatransfer_grpc_service_config.json", +- ruby_cloud_description = "Schedules queries and transfers external data from SaaS applications to Google BigQuery on a regular basis.", +- ruby_cloud_title = "BigQuery Data Transfer Service V1", - deps = [ -- ":servicemanagement_ruby_grpc", -- ":servicemanagement_ruby_proto", +- ":datatransfer_ruby_grpc", +- ":datatransfer_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-api-servicemanagement-v1-ruby", +- name = "google-cloud-bigquery-datatransfer-v1-ruby", - deps = [ -- ":servicemanagement_ruby_gapic", -- ":servicemanagement_ruby_grpc", -- ":servicemanagement_ruby_proto", +- ":datatransfer_ruby_gapic", +- ":datatransfer_ruby_grpc", +- ":datatransfer_ruby_proto", - ], -) - @@ -6266,34 +21113,34 @@ diff -urN a/google/api/servicemanagement/v1/BUILD.bazel b/google/api/servicemana -) - -csharp_proto_library( -- name = "servicemanagement_csharp_proto", -- deps = [":servicemanagement_proto"], +- name = "datatransfer_csharp_proto", +- deps = [":datatransfer_proto"], -) - -csharp_grpc_library( -- name = "servicemanagement_csharp_grpc", -- srcs = [":servicemanagement_proto"], -- deps = [":servicemanagement_csharp_proto"], +- name = "datatransfer_csharp_grpc", +- srcs = [":datatransfer_proto"], +- deps = [":datatransfer_csharp_proto"], -) - -csharp_gapic_library( -- name = "servicemanagement_csharp_gapic", -- srcs = [":servicemanagement_proto_with_info"], +- name = "datatransfer_csharp_gapic", +- srcs = [":datatransfer_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "servicemanagement_grpc_service_config.json", +- grpc_service_config = "bigquerydatatransfer_grpc_service_config.json", - deps = [ -- ":servicemanagement_csharp_grpc", -- ":servicemanagement_csharp_proto", +- ":datatransfer_csharp_grpc", +- ":datatransfer_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-api-servicemanagement-v1-csharp", +- name = "google-cloud-bigquery-datatransfer-v1-csharp", - deps = [ -- ":servicemanagement_csharp_gapic", -- ":servicemanagement_csharp_grpc", -- ":servicemanagement_csharp_proto", +- ":datatransfer_csharp_gapic", +- ":datatransfer_csharp_grpc", +- ":datatransfer_csharp_proto", - ], -) - @@ -6301,10 +21148,10 @@ diff -urN a/google/api/servicemanagement/v1/BUILD.bazel b/google/api/servicemana -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/appengine/legacy/BUILD.bazel b/google/appengine/legacy/BUILD.bazel ---- a/google/appengine/legacy/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/appengine/legacy/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,162 +0,0 @@ +diff -urN a/google/cloud/bigquery/logging/v1/BUILD.bazel b/google/cloud/bigquery/logging/v1/BUILD.bazel +--- a/google/cloud/bigquery/logging/v1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/bigquery/logging/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,164 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -6316,12 +21163,16 @@ diff -urN a/google/appengine/legacy/BUILD.bazel b/google/appengine/legacy/BUILD. -load("@rules_proto//proto:defs.bzl", "proto_library") - -proto_library( -- name = "legacy_proto", +- name = "logging_proto", - srcs = [ - "audit_data.proto", - ], - deps = [ -- "//google/api:annotations_proto", +- "//google/iam/v1:iam_policy_proto", +- "//google/iam/v1:policy_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:timestamp_proto", - ], -) - @@ -6335,14 +21186,14 @@ diff -urN a/google/appengine/legacy/BUILD.bazel b/google/appengine/legacy/BUILD. -) - -java_proto_library( -- name = "legacy_java_proto", -- deps = [":legacy_proto"], +- name = "logging_java_proto", +- deps = [":logging_proto"], -) - -java_grpc_library( -- name = "legacy_java_grpc", -- srcs = [":legacy_proto"], -- deps = [":legacy_java_proto"], +- name = "logging_java_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_java_proto"], -) - -############################################################################## @@ -6354,12 +21205,13 @@ diff -urN a/google/appengine/legacy/BUILD.bazel b/google/appengine/legacy/BUILD. -) - -go_proto_library( -- name = "legacy_go_proto", +- name = "logging_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/appengine/legacy", -- protos = [":legacy_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/logging/v1", +- protos = [":logging_proto"], - deps = [ -- "//google/api:annotations_go_proto", +- "//google/iam/v1:iam_go_proto", +- "//google/rpc:status_go_proto", - ], -) - @@ -6368,29 +21220,26 @@ diff -urN a/google/appengine/legacy/BUILD.bazel b/google/appengine/legacy/BUILD. -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", -- "py_grpc_library", -- "py_proto_library", +- "py_gapic_library", +- "py_gapic_assembly_pkg" -) - --moved_proto_library( -- name = "legacy_moved_proto", -- srcs = [":legacy_proto"], -- deps = [ -- "//google/api:annotations_proto", +-py_gapic_library( +- name = "logging_py_gapic", +- srcs = [":logging_proto"], +- opt_args = [ +- "warehouse-package-name=google-cloud-bigquery-logging", +- "python-gapic-namespace=google.cloud", +- "python-gapic-name=bigquery_logging", - ], -) - --py_proto_library( -- name = "legacy_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":legacy_moved_proto"], --) -- --py_grpc_library( -- name = "legacy_py_grpc", -- srcs = [":legacy_moved_proto"], -- deps = [":legacy_py_proto"], +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "google-cloud-bigquery-logging-v1-py", +- deps = [ +- ":logging_py_gapic", +- ], -) - -############################################################################## @@ -6403,14 +21252,14 @@ diff -urN a/google/appengine/legacy/BUILD.bazel b/google/appengine/legacy/BUILD. -) - -php_proto_library( -- name = "legacy_php_proto", -- deps = [":legacy_proto"], +- name = "logging_php_proto", +- deps = [":logging_proto"], -) - -php_grpc_library( -- name = "legacy_php_grpc", -- srcs = [":legacy_proto"], -- deps = [":legacy_php_proto"], +- name = "logging_php_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_php_proto"], -) - -############################################################################## @@ -6433,14 +21282,14 @@ diff -urN a/google/appengine/legacy/BUILD.bazel b/google/appengine/legacy/BUILD. -) - -ruby_proto_library( -- name = "legacy_ruby_proto", -- deps = [":legacy_proto"], +- name = "logging_ruby_proto", +- deps = [":logging_proto"], -) - -ruby_grpc_library( -- name = "legacy_ruby_grpc", -- srcs = [":legacy_proto"], -- deps = [":legacy_ruby_proto"], +- name = "logging_ruby_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_ruby_proto"], -) - -############################################################################## @@ -6453,25 +21302,34 @@ diff -urN a/google/appengine/legacy/BUILD.bazel b/google/appengine/legacy/BUILD. -) - -csharp_proto_library( -- name = "legacy_csharp_proto", -- deps = [":legacy_proto"], +- name = "logging_csharp_proto", +- deps = [":logging_proto"], -) - -csharp_grpc_library( -- name = "legacy_csharp_grpc", -- srcs = [":legacy_proto"], -- deps = [":legacy_csharp_proto"], +- name = "logging_csharp_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_csharp_proto"], -) - -############################################################################## -# C++ -############################################################################## -# Put your C++ code here -diff -urN a/google/appengine/logging/v1/BUILD.bazel b/google/appengine/logging/v1/BUILD.bazel ---- a/google/appengine/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/appengine/logging/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,165 +0,0 @@ +diff -urN a/google/cloud/bigquery/migration/v2alpha/BUILD.bazel b/google/cloud/bigquery/migration/v2alpha/BUILD.bazel +--- a/google/cloud/bigquery/migration/v2alpha/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/bigquery/migration/v2alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,345 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -6480,37 +21338,91 @@ diff -urN a/google/appengine/logging/v1/BUILD.bazel b/google/appengine/logging/v -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "logging_proto", +- name = "migration_proto", - srcs = [ -- "request_log.proto", +- "migration_entities.proto", +- "migration_error_details.proto", +- "migration_metrics.proto", +- "migration_service.proto", - ], - deps = [ -- "//google/logging/type:type_proto", -- "@com_google_protobuf//:duration_proto", +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:distribution_proto", +- "//google/api:field_behavior_proto", +- "//google/api:metric_proto", +- "//google/api:resource_proto", +- "//google/rpc:error_details_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - +-proto_library_with_info( +- name = "migration_proto_with_info", +- deps = [ +- ":migration_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "logging_java_proto", -- deps = [":logging_proto"], +- name = "migration_java_proto", +- deps = [":migration_proto"], -) - -java_grpc_library( -- name = "logging_java_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_java_proto"], +- name = "migration_java_grpc", +- srcs = [":migration_proto"], +- deps = [":migration_java_proto"], +-) +- +-java_gapic_library( +- name = "migration_java_gapic", +- srcs = [":migration_proto_with_info"], +- grpc_service_config = "bigquerymigration_grpc_service_config.json", +- test_deps = [ +- ":migration_java_grpc", +- ], +- deps = [ +- ":migration_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "migration_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.bigquery.migration.v2alpha.MigrationServiceClientTest", +- ], +- runtime_deps = [":migration_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-bigquery-migration-v2alpha-java", +- deps = [ +- ":migration_java_gapic", +- ":migration_java_grpc", +- ":migration_java_proto", +- ":migration_proto", +- ], -) - -############################################################################## @@ -6518,16 +21430,52 @@ diff -urN a/google/appengine/logging/v1/BUILD.bazel b/google/appengine/logging/v -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", - "go_proto_library", +- "go_test", -) - -go_proto_library( -- name = "logging_go_proto", +- name = "migration_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/appengine/logging/v1", -- protos = [":logging_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/migration/v2alpha", +- protos = [":migration_proto"], - deps = [ -- "//google/logging/type:type_go_proto", +- "//google/api:annotations_go_proto", +- "//google/api:distribution_go_proto", +- "//google/api:metric_go_proto", +- "//google/rpc:errdetails_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "migration_go_gapic", +- srcs = [":migration_proto_with_info"], +- grpc_service_config = "bigquerymigration_grpc_service_config.json", +- importpath = "cloud.google.com/go/bigquery/migration/apiv2alpha;migration", +- service_yaml = "bigquerymigration_v2alpha.yaml", +- metadata = True, +- deps = [ +- ":migration_go_proto", +- ], +-) +- +-go_test( +- name = "migration_go_gapic_test", +- srcs = [":migration_go_gapic_srcjar_test"], +- embed = [":migration_go_gapic"], +- importpath = "cloud.google.com/go/bigquery/migration/apiv2alpha", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-bigquery-migration-v2alpha-go", +- deps = [ +- ":migration_go_gapic", +- ":migration_go_gapic_srcjar-test.srcjar", +- ":migration_go_gapic_srcjar-metadata.srcjar", +- ":migration_go_proto", - ], -) - @@ -6536,31 +21484,22 @@ diff -urN a/google/appengine/logging/v1/BUILD.bazel b/google/appengine/logging/v -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", -- "py_grpc_library", -- "py_proto_library", --) -- --moved_proto_library( -- name = "logging_moved_proto", -- srcs = [":logging_proto"], -- deps = [ -- "//google/logging/type:type_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:timestamp_proto", -- ], +- "py_gapic_assembly_pkg", +- "py_gapic_library", -) - --py_proto_library( -- name = "logging_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":logging_moved_proto"], +-py_gapic_library( +- name = "migration_py_gapic", +- srcs = [":migration_proto"], +- grpc_service_config = "bigquerymigration_grpc_service_config.json", -) - --py_grpc_library( -- name = "logging_py_grpc", -- srcs = [":logging_moved_proto"], -- deps = [":logging_py_proto"], +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "bigquery-migration-v2alpha-py", +- deps = [ +- ":migration_py_gapic", +- ], -) - -############################################################################## @@ -6568,19 +21507,42 @@ diff -urN a/google/appengine/logging/v1/BUILD.bazel b/google/appengine/logging/v -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "logging_php_proto", -- deps = [":logging_proto"], +- name = "migration_php_proto", +- deps = [":migration_proto"], -) - -php_grpc_library( -- name = "logging_php_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_php_proto"], +- name = "migration_php_grpc", +- srcs = [":migration_proto"], +- deps = [":migration_php_proto"], +-) +- +-php_gapic_library( +- name = "migration_php_gapic", +- srcs = [":migration_proto_with_info"], +- grpc_service_config = "bigquerymigration_grpc_service_config.json", +- service_yaml = "bigquerymigration_v2alpha.yaml", +- deps = [ +- ":migration_php_grpc", +- ":migration_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-bigquery-migration-v2alpha-php", +- deps = [ +- ":migration_php_gapic", +- ":migration_php_grpc", +- ":migration_php_proto", +- ], -) - -############################################################################## @@ -6592,24 +21554,68 @@ diff -urN a/google/appengine/logging/v1/BUILD.bazel b/google/appengine/logging/v - "nodejs_gapic_library", -) - +-nodejs_gapic_library( +- name = "migration_nodejs_gapic", +- package_name = "@google-cloud/migration", +- src = ":migration_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "bigquerymigration_grpc_service_config.json", +- package = "google.cloud.bigquery.migration.v2alpha", +- service_yaml = "bigquerymigration_v2alpha.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "bigquery-migration-v2alpha-nodejs", +- deps = [ +- ":migration_nodejs_gapic", +- ":migration_proto", +- ], +-) +- -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "logging_ruby_proto", -- deps = [":logging_proto"], +- name = "migration_ruby_proto", +- deps = [":migration_proto"], -) - -ruby_grpc_library( -- name = "logging_ruby_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_ruby_proto"], +- name = "migration_ruby_grpc", +- srcs = [":migration_proto"], +- deps = [":migration_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "migration_ruby_gapic", +- srcs = [":migration_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-bigquery-migration-v2alpha", +- ], +- grpc_service_config = "bigquerymigration_grpc_service_config.json", +- deps = [ +- ":migration_ruby_grpc", +- ":migration_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-bigquery-migration-v2alpha-ruby", +- deps = [ +- ":migration_ruby_gapic", +- ":migration_ruby_grpc", +- ":migration_ruby_proto", +- ], -) - -############################################################################## @@ -6617,29 +21623,52 @@ diff -urN a/google/appengine/logging/v1/BUILD.bazel b/google/appengine/logging/v -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "logging_csharp_proto", -- deps = [":logging_proto"], +- name = "migration_csharp_proto", +- deps = [":migration_proto"], -) - -csharp_grpc_library( -- name = "logging_csharp_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_csharp_proto"], +- name = "migration_csharp_grpc", +- srcs = [":migration_proto"], +- deps = [":migration_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "migration_csharp_gapic", +- srcs = [":migration_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "bigquerymigration_grpc_service_config.json", +- deps = [ +- ":migration_csharp_grpc", +- ":migration_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-bigquery-migration-v2alpha-csharp", +- deps = [ +- ":migration_csharp_gapic", +- ":migration_csharp_grpc", +- ":migration_csharp_proto", +- ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ code here -diff -urN a/google/appengine/v1/BUILD.bazel b/google/appengine/v1/BUILD.bazel ---- a/google/appengine/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/appengine/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,190 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/bigquery/reservation/v1/BUILD.bazel b/google/cloud/bigquery/reservation/v1/BUILD.bazel +--- a/google/cloud/bigquery/reservation/v1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/bigquery/reservation/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,335 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -6649,56 +21678,85 @@ diff -urN a/google/appengine/v1/BUILD.bazel b/google/appengine/v1/BUILD.bazel -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "appengine_proto", +- name = "reservation_proto", - srcs = [ -- "app_yaml.proto", -- "appengine.proto", -- "application.proto", -- "audit_data.proto", -- "certificate.proto", -- "deploy.proto", -- "deployed_files.proto", -- "domain.proto", -- "domain_mapping.proto", -- "firewall.proto", -- "instance.proto", -- "location.proto", -- "network_settings.proto", -- "operation.proto", -- "service.proto", -- "version.proto", +- "reservation.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", -- "//google/longrunning:operations_proto", -- "@com_google_protobuf//:duration_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/rpc:status_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - +-proto_library_with_info( +- name = "reservation_proto_with_info", +- deps = [ +- ":reservation_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "appengine_java_proto", -- deps = [":appengine_proto"], +- name = "reservation_java_proto", +- deps = [":reservation_proto"], -) - -java_grpc_library( -- name = "appengine_java_grpc", -- srcs = [":appengine_proto"], -- deps = [":appengine_java_proto"], +- name = "reservation_java_grpc", +- srcs = [":reservation_proto"], +- deps = [":reservation_java_proto"], +-) +- +-java_gapic_library( +- name = "reservation_java_gapic", +- srcs = [":reservation_proto_with_info"], +- grpc_service_config = "bigqueryreservation_grpc_service_config.json", +- test_deps = [ +- ":reservation_java_grpc", +- ], +- deps = [ +- ":reservation_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "reservation_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.bigquery.reservation.v1.ReservationServiceClientTest", +- ], +- runtime_deps = [":reservation_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-bigquery-reservation-v1-java", +- deps = [ +- ":reservation_java_gapic", +- ":reservation_java_grpc", +- ":reservation_java_proto", +- ":reservation_proto", +- ], -) - -############################################################################## @@ -6706,17 +21764,48 @@ diff -urN a/google/appengine/v1/BUILD.bazel b/google/appengine/v1/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", - "go_proto_library", +- "go_test", -) - -go_proto_library( -- name = "appengine_go_proto", +- name = "reservation_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/appengine/v1", -- protos = [":appengine_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/reservation/v1", +- protos = [":reservation_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "reservation_go_gapic", +- srcs = [":reservation_proto_with_info"], +- grpc_service_config = "bigqueryreservation_grpc_service_config.json", +- importpath = "cloud.google.com/go/bigquery/reservation/apiv1;reservation", +- service_yaml = "bigqueryreservation_v1.yaml", +- deps = [ +- ":reservation_go_proto", +- ], +-) +- +-go_test( +- name = "reservation_go_gapic_test", +- srcs = [":reservation_go_gapic_srcjar_test"], +- embed = [":reservation_go_gapic"], +- importpath = "cloud.google.com/go/bigquery/reservation/apiv1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-bigquery-reservation-v1-go", +- deps = [ +- ":reservation_go_gapic", +- ":reservation_go_gapic_srcjar-test.srcjar", +- ":reservation_go_proto", - ], -) - @@ -6725,35 +21814,26 @@ diff -urN a/google/appengine/v1/BUILD.bazel b/google/appengine/v1/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", -- "py_grpc_library", -- "py_proto_library", +- "py_gapic_assembly_pkg", +- "py_gapic_library", -) - --moved_proto_library( -- name = "appengine_moved_proto", -- srcs = [":appengine_proto"], -- deps = [ -- "//google/api:annotations_proto", -- "//google/api:client_proto", -- "//google/longrunning:operations_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:timestamp_proto", +-py_gapic_library( +- name = "reservation_py_gapic", +- srcs = [":reservation_proto"], +- grpc_service_config = "bigqueryreservation_grpc_service_config.json", +- opt_args = [ +- "python-gapic-namespace=google.cloud", +- "python-gapic-name=bigquery_reservation", - ], -) - --py_proto_library( -- name = "appengine_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":appengine_moved_proto"], --) -- --py_grpc_library( -- name = "appengine_py_grpc", -- srcs = [":appengine_moved_proto"], -- deps = [":appengine_py_proto"], +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "bigquery-reservation-v1-py", +- deps = [ +- ":reservation_py_gapic", +- ], -) - -############################################################################## @@ -6761,19 +21841,41 @@ diff -urN a/google/appengine/v1/BUILD.bazel b/google/appengine/v1/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "appengine_php_proto", -- deps = [":appengine_proto"], +- name = "reservation_php_proto", +- deps = [":reservation_proto"], -) - -php_grpc_library( -- name = "appengine_php_grpc", -- srcs = [":appengine_proto"], -- deps = [":appengine_php_proto"], +- name = "reservation_php_grpc", +- srcs = [":reservation_proto"], +- deps = [":reservation_php_proto"], +-) +- +-php_gapic_library( +- name = "reservation_php_gapic", +- srcs = [":reservation_proto_with_info"], +- grpc_service_config = "bigqueryreservation_grpc_service_config.json", +- deps = [ +- ":reservation_php_grpc", +- ":reservation_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-bigquery-reservation-v1-php", +- deps = [ +- ":reservation_php_gapic", +- ":reservation_php_grpc", +- ":reservation_php_proto", +- ], -) - -############################################################################## @@ -6785,25 +21887,74 @@ diff -urN a/google/appengine/v1/BUILD.bazel b/google/appengine/v1/BUILD.bazel - "nodejs_gapic_library", -) - +-nodejs_gapic_library( +- name = "reservation_nodejs_gapic", +- package_name = "@google-cloud/bigquery-reservation", +- src = ":reservation_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "bigqueryreservation_grpc_service_config.json", +- package = "google.cloud.bigquery.reservation.v1", +- service_yaml = "bigqueryreservation_v1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "bigquery-reservation-v1-nodejs", +- deps = [ +- ":reservation_nodejs_gapic", +- ":reservation_proto", +- ], +-) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "appengine_ruby_proto", -- deps = [":appengine_proto"], +- name = "reservation_ruby_proto", +- deps = [":reservation_proto"], -) - -ruby_grpc_library( -- name = "appengine_ruby_grpc", -- srcs = [":appengine_proto"], -- deps = [":appengine_ruby_proto"], +- name = "reservation_ruby_grpc", +- srcs = [":reservation_proto"], +- deps = [":reservation_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "reservation_ruby_gapic", +- srcs = [":reservation_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-bigquery-reservation-v1", +- "ruby-cloud-env-prefix=BIGQUERY_RESERVATION", +- "ruby-cloud-product-url=https://cloud.google.com/bigquery/docs/reference/reservations", +- "ruby-cloud-api-id=bigqueryreservation.googleapis.com", +- "ruby-cloud-api-shortname=bigqueryreservation", +- ], +- grpc_service_config = "bigqueryreservation_grpc_service_config.json", +- ruby_cloud_description = "The BigQuery Reservation API provides the mechanisms by which enterprise users can provision and manage dedicated resources such as slots and BigQuery BI Engine memory allocations.", +- ruby_cloud_title = "BigQuery Reservation V1", +- deps = [ +- ":reservation_ruby_grpc", +- ":reservation_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-bigquery-reservation-v1-ruby", +- deps = [ +- ":reservation_ruby_gapic", +- ":reservation_ruby_grpc", +- ":reservation_ruby_proto", +- ], -) - -############################################################################## @@ -6811,30 +21962,62 @@ diff -urN a/google/appengine/v1/BUILD.bazel b/google/appengine/v1/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "appengine_csharp_proto", -- deps = [":appengine_proto"], +- name = "reservation_csharp_proto", +- deps = [":reservation_proto"], -) - -csharp_grpc_library( -- name = "appengine_csharp_grpc", -- srcs = [":appengine_proto"], -- deps = [":appengine_csharp_proto"], +- name = "reservation_csharp_grpc", +- srcs = [":reservation_proto"], +- deps = [":reservation_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "reservation_csharp_gapic", +- srcs = [":reservation_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "bigqueryreservation_grpc_service_config.json", +- deps = [ +- ":reservation_csharp_grpc", +- ":reservation_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-bigquery-reservation-v1-csharp", +- deps = [ +- ":reservation_csharp_gapic", +- ":reservation_csharp_grpc", +- ":reservation_csharp_proto", +- ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ code here -diff -urN a/google/appengine/v1beta/BUILD.bazel b/google/appengine/v1beta/BUILD.bazel ---- a/google/appengine/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/appengine/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,190 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel b/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel +--- a/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,330 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -6843,56 +22026,85 @@ diff -urN a/google/appengine/v1beta/BUILD.bazel b/google/appengine/v1beta/BUILD. -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "appengine_proto", +- name = "reservation_proto", - srcs = [ -- "app_yaml.proto", -- "appengine.proto", -- "application.proto", -- "audit_data.proto", -- "certificate.proto", -- "deploy.proto", -- "deployed_files.proto", -- "domain.proto", -- "domain_mapping.proto", -- "firewall.proto", -- "instance.proto", -- "location.proto", -- "network_settings.proto", -- "operation.proto", -- "service.proto", -- "version.proto", +- "reservation.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", -- "//google/longrunning:operations_proto", -- "@com_google_protobuf//:duration_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/rpc:status_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - +-proto_library_with_info( +- name = "reservation_proto_with_info", +- deps = [ +- ":reservation_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "appengine_java_proto", -- deps = [":appengine_proto"], +- name = "reservation_java_proto", +- deps = [":reservation_proto"], -) - -java_grpc_library( -- name = "appengine_java_grpc", -- srcs = [":appengine_proto"], -- deps = [":appengine_java_proto"], +- name = "reservation_java_grpc", +- srcs = [":reservation_proto"], +- deps = [":reservation_java_proto"], +-) +- +-java_gapic_library( +- name = "reservation_java_gapic", +- srcs = [":reservation_proto_with_info"], +- grpc_service_config = "bigqueryreservation_grpc_service_config.json", +- test_deps = [ +- ":reservation_java_grpc", +- ], +- deps = [ +- ":reservation_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "reservation_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.bigquery.reservation.v1beta1.ReservationServiceClientTest", +- ], +- runtime_deps = [":reservation_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-bigquery-reservation-v1beta1-java", +- deps = [ +- ":reservation_java_gapic", +- ":reservation_java_grpc", +- ":reservation_java_proto", +- ":reservation_proto", +- ], -) - -############################################################################## @@ -6900,17 +22112,48 @@ diff -urN a/google/appengine/v1beta/BUILD.bazel b/google/appengine/v1beta/BUILD. -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", - "go_proto_library", +- "go_test", -) - -go_proto_library( -- name = "appengine_go_proto", +- name = "reservation_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/appengine/v1beta", -- protos = [":appengine_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/reservation/v1beta1", +- protos = [":reservation_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "reservation_go_gapic", +- srcs = [":reservation_proto_with_info"], +- grpc_service_config = "bigqueryreservation_grpc_service_config.json", +- importpath = "cloud.google.com/go/bigquery/reservation/apiv1beta1;reservation", +- service_yaml = "bigqueryreservation_v1beta1.yaml", +- deps = [ +- ":reservation_go_proto", +- ], +-) +- +-go_test( +- name = "reservation_go_gapic_test", +- srcs = [":reservation_go_gapic_srcjar_test"], +- embed = [":reservation_go_gapic"], +- importpath = "cloud.google.com/go/bigquery/reservation/apiv1beta1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-bigquery-reservation-v1beta1-go", +- deps = [ +- ":reservation_go_gapic", +- ":reservation_go_gapic_srcjar-test.srcjar", +- ":reservation_go_proto", - ], -) - @@ -6919,35 +22162,22 @@ diff -urN a/google/appengine/v1beta/BUILD.bazel b/google/appengine/v1beta/BUILD. -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", -- "py_grpc_library", -- "py_proto_library", --) -- --moved_proto_library( -- name = "appengine_moved_proto", -- srcs = [":appengine_proto"], -- deps = [ -- "//google/api:annotations_proto", -- "//google/api:client_proto", -- "//google/longrunning:operations_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:timestamp_proto", -- ], +- "py_gapic_assembly_pkg", +- "py_gapic_library", -) - --py_proto_library( -- name = "appengine_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":appengine_moved_proto"], +-py_gapic_library( +- name = "reservation_py_gapic", +- srcs = [":reservation_proto"], +- grpc_service_config = "bigqueryreservation_grpc_service_config.json", -) - --py_grpc_library( -- name = "appengine_py_grpc", -- srcs = [":appengine_moved_proto"], -- deps = [":appengine_py_proto"], +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "bigquery-reservation-v1beta1-py", +- deps = [ +- ":reservation_py_gapic", +- ], -) - -############################################################################## @@ -6955,19 +22185,41 @@ diff -urN a/google/appengine/v1beta/BUILD.bazel b/google/appengine/v1beta/BUILD. -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "appengine_php_proto", -- deps = [":appengine_proto"], +- name = "reservation_php_proto", +- deps = [":reservation_proto"], +-) +- +-php_grpc_library( +- name = "reservation_php_grpc", +- srcs = [":reservation_proto"], +- deps = [":reservation_php_proto"], +-) +- +-php_gapic_library( +- name = "reservation_php_gapic", +- srcs = [":reservation_proto_with_info"], +- grpc_service_config = "bigqueryreservation_grpc_service_config.json", +- deps = [ +- ":reservation_php_grpc", +- ":reservation_php_proto", +- ], -) - --php_grpc_library( -- name = "appengine_php_grpc", -- srcs = [":appengine_proto"], -- deps = [":appengine_php_proto"], +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-bigquery-reservation-v1beta1-php", +- deps = [ +- ":reservation_php_gapic", +- ":reservation_php_grpc", +- ":reservation_php_proto", +- ], -) - -############################################################################## @@ -6979,25 +22231,64 @@ diff -urN a/google/appengine/v1beta/BUILD.bazel b/google/appengine/v1beta/BUILD. - "nodejs_gapic_library", -) - +-nodejs_gapic_library( +- name = "reservation_nodejs_gapic", +- src = ":reservation_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "bigqueryreservation_grpc_service_config.json", +- package = "google.cloud.bigquery.reservation.v1beta1", +- service_yaml = "bigqueryreservation_v1beta1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "bigquery-reservation-v1beta1-nodejs", +- deps = [ +- ":reservation_nodejs_gapic", +- ":reservation_proto", +- ], +-) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "appengine_ruby_proto", -- deps = [":appengine_proto"], +- name = "reservation_ruby_proto", +- deps = [":reservation_proto"], -) - -ruby_grpc_library( -- name = "appengine_ruby_grpc", -- srcs = [":appengine_proto"], -- deps = [":appengine_ruby_proto"], +- name = "reservation_ruby_grpc", +- srcs = [":reservation_proto"], +- deps = [":reservation_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "reservation_ruby_gapic", +- srcs = [":reservation_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-reservation-v1beta1"], +- deps = [ +- ":reservation_ruby_grpc", +- ":reservation_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-bigquery-reservation-v1beta1-ruby", +- deps = [ +- ":reservation_ruby_gapic", +- ":reservation_ruby_grpc", +- ":reservation_ruby_proto", +- ], -) - -############################################################################## @@ -7005,40 +22296,57 @@ diff -urN a/google/appengine/v1beta/BUILD.bazel b/google/appengine/v1beta/BUILD. -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "appengine_csharp_proto", -- deps = [":appengine_proto"], +- name = "reservation_csharp_proto", +- deps = [":reservation_proto"], -) - -csharp_grpc_library( -- name = "appengine_csharp_grpc", -- srcs = [":appengine_proto"], -- deps = [":appengine_csharp_proto"], +- name = "reservation_csharp_grpc", +- srcs = [":reservation_proto"], +- deps = [":reservation_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "reservation_csharp_gapic", +- srcs = [":reservation_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "bigqueryreservation_grpc_service_config.json", +- deps = [ +- ":reservation_csharp_grpc", +- ":reservation_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-bigquery-reservation-v1beta1-csharp", +- deps = [ +- ":reservation_csharp_gapic", +- ":reservation_csharp_grpc", +- ":reservation_csharp_proto", +- ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ code here -diff -urN a/google/apps/drive/activity/v2/BUILD.bazel b/google/apps/drive/activity/v2/BUILD.bazel ---- a/google/apps/drive/activity/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/apps/drive/activity/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,337 +0,0 @@ --# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/rules_gapic/tree/master/bazel -- --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. -- +-# Put your C++ rules here +diff -urN a/google/cloud/bigquery/storage/BUILD.bazel b/google/cloud/bigquery/storage/BUILD.bazel +--- a/google/cloud/bigquery/storage/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/bigquery/storage/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/cloud/bigquery/storage/v1/BUILD.bazel b/google/cloud/bigquery/storage/v1/BUILD.bazel +--- a/google/cloud/bigquery/storage/v1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/bigquery/storage/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,350 +0,0 @@ -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) - @@ -7049,27 +22357,26 @@ diff -urN a/google/apps/drive/activity/v2/BUILD.bazel b/google/apps/drive/activi -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "activity_proto", +- name = "storage_proto", - srcs = [ -- "action.proto", -- "actor.proto", -- "common.proto", -- "drive_activity_service.proto", -- "query_drive_activity_request.proto", -- "query_drive_activity_response.proto", -- "target.proto", +- "arrow.proto", +- "avro.proto", +- "storage.proto", +- "stream.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "activity_proto_with_info", +- name = "storage_proto_with_info", - deps = [ -- ":activity_proto", +- ":storage_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -7087,44 +22394,45 @@ diff -urN a/google/apps/drive/activity/v2/BUILD.bazel b/google/apps/drive/activi -) - -java_proto_library( -- name = "activity_java_proto", -- deps = [":activity_proto"], +- name = "storage_java_proto", +- deps = [":storage_proto"], -) - -java_grpc_library( -- name = "activity_java_grpc", -- srcs = [":activity_proto"], -- deps = [":activity_java_proto"], +- name = "storage_java_grpc", +- srcs = [":storage_proto"], +- deps = [":storage_java_proto"], -) - -java_gapic_library( -- name = "activity_java_gapic", -- srcs = [":activity_proto_with_info"], -- grpc_service_config = "driveactivity_grpc_service_config.json", +- name = "storage_java_gapic", +- srcs = [":storage_proto_with_info"], +- gapic_yaml = "bigquerystorage_gapic.yaml", +- grpc_service_config = "bigquerystorage_grpc_service_config.json", - test_deps = [ -- ":activity_java_grpc", +- ":storage_java_grpc", - ], - deps = [ -- ":activity_java_proto", +- ":storage_java_proto", - ], -) - -java_gapic_test( -- name = "activity_java_gapic_test_suite", +- name = "storage_java_gapic_test_suite", - test_classes = [ -- "com.google.apps.drive.activity.v2.DriveActivityServiceClientTest", +- "com.google.cloud.bigquery.storage.v1.BaseBigQueryReadClientTest", - ], -- runtime_deps = [":activity_java_gapic_test"], +- runtime_deps = [":storage_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-apps-drive-activity-v2-java", +- name = "google-cloud-bigquery-storage-v1-java", - deps = [ -- ":activity_java_gapic", -- ":activity_java_grpc", -- ":activity_java_proto", -- ":activity_proto", +- ":storage_java_gapic", +- ":storage_java_grpc", +- ":storage_java_proto", +- ":storage_proto", - ], -) - @@ -7140,48 +22448,47 @@ diff -urN a/google/apps/drive/activity/v2/BUILD.bazel b/google/apps/drive/activi -) - -go_proto_library( -- name = "activity_go_proto", +- name = "storage_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/apps/drive/activity/v2", -- protos = [":activity_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1", +- protos = [":storage_proto"], - deps = [ - "//google/api:annotations_go_proto", - ], -) - -go_gapic_library( -- name = "activity_go_gapic", -- srcs = [":activity_proto_with_info"], -- grpc_service_config = "driveactivity_grpc_service_config.json", -- importpath = "google.golang.org/google/apps/drive/activity/v2;activity", -- metadata = True, -- service_yaml = "driveactivity_v2.yaml", +- name = "storage_go_gapic", +- srcs = [":storage_proto_with_info"], +- grpc_service_config = "bigquerystorage_grpc_service_config.json", +- importpath = "cloud.google.com/go/bigquery/storage/apiv1;storage", +- service_yaml = "bigquerystorage_v1.yaml", - deps = [ -- ":activity_go_proto", +- ":storage_go_proto", - ], -) - -go_test( -- name = "activity_go_gapic_test", -- srcs = [":activity_go_gapic_srcjar_test"], -- embed = [":activity_go_gapic"], -- importpath = "google.golang.org/google/apps/drive/activity/v2", +- name = "storage_go_gapic_test", +- srcs = [":storage_go_gapic_srcjar_test"], +- embed = [":storage_go_gapic"], +- importpath = "cloud.google.com/go/bigquery/storage/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-apps-drive-activity-v2-go", +- name = "gapi-cloud-bigquery-storage-v1-go", - deps = [ -- ":activity_go_gapic", -- ":activity_go_gapic_srcjar-metadata.srcjar", -- ":activity_go_gapic_srcjar-test.srcjar", -- ":activity_go_proto", +- ":storage_go_gapic", +- ":storage_go_gapic_srcjar-test.srcjar", +- ":storage_go_proto", - ], -) - -############################################################################## -# Python -############################################################################## +- -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_gapic_assembly_pkg", @@ -7189,16 +22496,19 @@ diff -urN a/google/apps/drive/activity/v2/BUILD.bazel b/google/apps/drive/activi -) - -py_gapic_library( -- name = "activity_py_gapic", -- srcs = [":activity_proto"], -- grpc_service_config = "driveactivity_grpc_service_config.json", +- name = "storage_py_gapic", +- srcs = [":storage_proto"], +- grpc_service_config = "bigquerystorage_grpc_service_config.json", +- opt_args = [ +- "python-gapic-namespace=google.cloud", +- "python-gapic-name=bigquery_storage", +- ], -) - --# Open Source Packages -py_gapic_assembly_pkg( -- name = "drive-activity-v2-py", +- name = "bigquery-storage-v1-py", - deps = [ -- ":activity_py_gapic", +- ":storage_py_gapic", - ], -) - @@ -7214,36 +22524,33 @@ diff -urN a/google/apps/drive/activity/v2/BUILD.bazel b/google/apps/drive/activi -) - -php_proto_library( -- name = "activity_php_proto", -- deps = [":activity_proto"], +- name = "storage_php_proto", +- deps = [":storage_proto"], -) - -php_grpc_library( -- name = "activity_php_grpc", -- srcs = [":activity_proto"], -- deps = [":activity_php_proto"], +- name = "storage_php_grpc", +- srcs = [":storage_proto"], +- deps = [":storage_php_proto"], -) - -php_gapic_library( -- name = "activity_php_gapic", -- src = ":activity_proto_with_info", -- gapic_yaml = "driveactivity_gapic.yaml", -- grpc_service_config = "driveactivity_grpc_service_config.json", -- package = "google.apps.drive.activity.v2", -- service_yaml = "driveactivity_v2.yaml", +- name = "storage_php_gapic", +- srcs = [":storage_proto_with_info"], +- grpc_service_config = "bigquerystorage_grpc_service_config.json", - deps = [ -- ":activity_php_grpc", -- ":activity_php_proto", +- ":storage_php_grpc", +- ":storage_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-apps-drive-activity-v2-php", +- name = "google-cloud-bigquery-storage-v1-php", - deps = [ -- ":activity_php_gapic", -- ":activity_php_grpc", -- ":activity_php_proto", +- ":storage_php_gapic", +- ":storage_php_grpc", +- ":storage_php_proto", - ], -) - @@ -7257,21 +22564,21 @@ diff -urN a/google/apps/drive/activity/v2/BUILD.bazel b/google/apps/drive/activi -) - -nodejs_gapic_library( -- name = "activity_nodejs_gapic", -- package_name = "@google-cloud/drive-activity", -- src = ":activity_proto_with_info", +- name = "storage_nodejs_gapic", +- package_name = "@google-cloud/bigquery-storage", +- src = ":storage_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "driveactivity_grpc_service_config.json", -- package = "google.apps.drive.activity.v2", -- service_yaml = "driveactivity_v2.yaml", +- grpc_service_config = "bigquerystorage_grpc_service_config.json", +- package = "google.cloud.bigquery.storage.v1", +- service_yaml = "bigquerystorage_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "drive-activity-v2-nodejs", +- name = "bigquery-storage-v1-nodejs", - deps = [ -- ":activity_nodejs_gapic", -- ":activity_proto", +- ":storage_nodejs_gapic", +- ":storage_proto", - ], -) - @@ -7287,34 +22594,42 @@ diff -urN a/google/apps/drive/activity/v2/BUILD.bazel b/google/apps/drive/activi -) - -ruby_proto_library( -- name = "activity_ruby_proto", -- deps = [":activity_proto"], +- name = "storage_ruby_proto", +- deps = [":storage_proto"], -) - -ruby_grpc_library( -- name = "activity_ruby_grpc", -- srcs = [":activity_proto"], -- deps = [":activity_ruby_proto"], +- name = "storage_ruby_grpc", +- srcs = [":storage_proto"], +- deps = [":storage_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "activity_ruby_gapic", -- srcs = [":activity_proto_with_info"], -- extra_protoc_parameters = ["ruby-cloud-gem-name=google-apps-drive-activity-v2"], -- grpc_service_config = "driveactivity_grpc_service_config.json", +- name = "storage_ruby_gapic", +- srcs = [":storage_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-bigquery-storage-v1", +- "ruby-cloud-env-prefix=BIGQUERY_STORAGE", +- "ruby-cloud-product-url=https://cloud.google.com/bigquery/docs/reference/storage", +- "ruby-cloud-api-id=bigquerystorage.googleapis.com", +- "ruby-cloud-api-shortname=bigquerystorage", +- ], +- grpc_service_config = "bigquerystorage_grpc_service_config.json", +- ruby_cloud_description = "The BigQuery Storage API provides fast access to BigQuery managed storage.", +- ruby_cloud_title = "BigQuery Storage V1", - deps = [ -- ":activity_ruby_grpc", -- ":activity_ruby_proto", +- ":storage_ruby_grpc", +- ":storage_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-apps-drive-activity-v2-ruby", +- name = "google-cloud-bigquery-storage-v1-ruby", - deps = [ -- ":activity_ruby_gapic", -- ":activity_ruby_grpc", -- ":activity_ruby_proto", +- ":storage_ruby_gapic", +- ":storage_ruby_grpc", +- ":storage_ruby_proto", - ], -) - @@ -7330,55 +22645,63 @@ diff -urN a/google/apps/drive/activity/v2/BUILD.bazel b/google/apps/drive/activi -) - -csharp_proto_library( -- name = "activity_csharp_proto", -- deps = [":activity_proto"], +- name = "storage_csharp_proto", +- deps = [":storage_proto"], -) - -csharp_grpc_library( -- name = "activity_csharp_grpc", -- srcs = [":activity_proto"], -- deps = [":activity_csharp_proto"], +- name = "storage_csharp_grpc", +- srcs = [":storage_proto"], +- deps = [":storage_csharp_proto"], -) - -csharp_gapic_library( -- name = "activity_csharp_gapic", -- srcs = [":activity_proto_with_info"], +- name = "storage_csharp_gapic", +- srcs = [":storage_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "driveactivity_grpc_service_config.json", +- grpc_service_config = "bigquerystorage_grpc_service_config.json", - deps = [ -- ":activity_csharp_grpc", -- ":activity_csharp_proto", +- ":storage_csharp_grpc", +- ":storage_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-apps-drive-activity-v2-csharp", +- name = "google-cloud-bigquery-storage-v1-csharp", - deps = [ -- ":activity_csharp_gapic", -- ":activity_csharp_grpc", -- ":activity_csharp_proto", +- ":storage_csharp_gapic", +- ":storage_csharp_grpc", +- ":storage_csharp_proto", - ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ rules here -diff -urN a/google/apps/market/v2/BUILD.bazel b/google/apps/market/v2/BUILD.bazel ---- a/google/apps/market/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/apps/market/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,335 +0,0 @@ --# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/rules_gapic/tree/master/bazel +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "cc_grpc_library", +- "cc_proto_library", +-) - --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. +-cc_proto_library( +- name = "storage_cc_proto", +- deps = [":storage_proto"], +-) +- +-cc_grpc_library( +- name = "storage_cc_grpc", +- srcs = [":storage_proto"], +- generate_mocks = True, +- grpc_only = True, +- deps = [":storage_cc_proto"], +-) +diff -urN a/google/cloud/bigquery/storage/v1beta1/BUILD.bazel b/google/cloud/bigquery/storage/v1beta1/BUILD.bazel +--- a/google/cloud/bigquery/storage/v1beta1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/bigquery/storage/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,340 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -7390,21 +22713,28 @@ diff -urN a/google/apps/market/v2/BUILD.bazel b/google/apps/market/v2/BUILD.baze -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "marketplace_proto", +- name = "storage_proto", - srcs = [ -- "resources.proto", -- "services.proto", +- "arrow.proto", +- "avro.proto", +- "read_options.proto", +- "storage.proto", +- "table_reference.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "marketplace_proto_with_info", +- name = "storage_proto_with_info", - deps = [ -- ":marketplace_proto", +- ":storage_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -7422,46 +22752,45 @@ diff -urN a/google/apps/market/v2/BUILD.bazel b/google/apps/market/v2/BUILD.baze -) - -java_proto_library( -- name = "marketplace_java_proto", -- deps = [":marketplace_proto"], +- name = "storage_java_proto", +- deps = [":storage_proto"], -) - -java_grpc_library( -- name = "marketplace_java_grpc", -- srcs = [":marketplace_proto"], -- deps = [":marketplace_java_proto"], +- name = "storage_java_grpc", +- srcs = [":storage_proto"], +- deps = [":storage_java_proto"], -) - -java_gapic_library( -- name = "marketplace_java_gapic", -- srcs = [":marketplace_proto_with_info"], -- grpc_service_config = "service_grpc_service_config.json", +- name = "storage_java_gapic", +- srcs = [":storage_proto_with_info"], +- gapic_yaml = "bigquerystorage_gapic.yaml", +- grpc_service_config = "bigquerystorage_grpc_service_config.json", - test_deps = [ -- ":marketplace_java_grpc", +- ":storage_java_grpc", - ], - deps = [ -- ":marketplace_java_proto", +- ":storage_java_proto", - ], -) - -java_gapic_test( -- name = "marketplace_java_gapic_test_suite", +- name = "storage_java_gapic_test_suite", - test_classes = [ -- "com.google.ccc.hosted.marketplace.v2.CustomerLicenseServiceClientTest", -- "com.google.ccc.hosted.marketplace.v2.LicenseNotificationServiceClientTest", -- "com.google.ccc.hosted.marketplace.v2.UserLicenseServiceClientTest", +- "com.google.cloud.bigquery.storage.v1beta1.BaseBigQueryStorageClientTest", - ], -- runtime_deps = [":marketplace_java_gapic_test"], +- runtime_deps = [":storage_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-hosted-marketplace-v2-java", +- name = "google-cloud-bigquery-storage-v1beta1-java", - deps = [ -- ":marketplace_java_gapic", -- ":marketplace_java_grpc", -- ":marketplace_java_proto", -- ":marketplace_proto", +- ":storage_java_gapic", +- ":storage_java_grpc", +- ":storage_java_proto", +- ":storage_proto", - ], -) - @@ -7477,42 +22806,40 @@ diff -urN a/google/apps/market/v2/BUILD.bazel b/google/apps/market/v2/BUILD.baze -) - -go_proto_library( -- name = "marketplace_go_proto", +- name = "storage_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/ccc/hosted/marketplace/v2", -- protos = [":marketplace_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1", +- protos = [":storage_proto"], - deps = [ - "//google/api:annotations_go_proto", - ], -) - -go_gapic_library( -- name = "marketplace_go_gapic", -- srcs = [":marketplace_proto_with_info"], -- grpc_service_config = "service_grpc_service_config.json", -- importpath = "google.golang.org/ccc/hosted/marketplace/v2;marketplace", -- service_yaml = "appsmarket_v2.yaml", -- metadata = True, +- name = "storage_go_gapic", +- srcs = [":storage_proto_with_info"], +- grpc_service_config = "bigquerystorage_grpc_service_config.json", +- importpath = "cloud.google.com/go/bigquery/storage/apiv1beta1;storage", +- service_yaml = "bigquerystorage_v1beta1.yaml", - deps = [ -- ":marketplace_go_proto", +- ":storage_go_proto", - ], -) - -go_test( -- name = "marketplace_go_gapic_test", -- srcs = [":marketplace_go_gapic_srcjar_test"], -- embed = [":marketplace_go_gapic"], -- importpath = "google.golang.org/ccc/hosted/marketplace/v2", +- name = "storage_go_gapic_test", +- srcs = [":storage_go_gapic_srcjar_test"], +- embed = [":storage_go_gapic"], +- importpath = "cloud.google.com/go/bigquery/storage/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-hosted-marketplace-v2-go", +- name = "gapi-cloud-bigquery-storage-v1beta1-go", - deps = [ -- ":marketplace_go_gapic", -- ":marketplace_go_gapic_srcjar-test.srcjar", -- ":marketplace_go_gapic_srcjar-metadata.srcjar", -- ":marketplace_go_proto", +- ":storage_go_gapic", +- ":storage_go_gapic_srcjar-test.srcjar", +- ":storage_go_proto", - ], -) - @@ -7526,16 +22853,15 @@ diff -urN a/google/apps/market/v2/BUILD.bazel b/google/apps/market/v2/BUILD.baze -) - -py_gapic_library( -- name = "marketplace_py_gapic", -- srcs = [":marketplace_proto"], -- grpc_service_config = "service_grpc_service_config.json", +- name = "storage_py_gapic", +- srcs = [":storage_proto"], +- grpc_service_config = "bigquerystorage_grpc_service_config.json", -) - --# Open Source Packages -py_gapic_assembly_pkg( -- name = "hosted-marketplace-v2-py", +- name = "bigquery-storage-v1beta1-py", - deps = [ -- ":marketplace_py_gapic", +- ":storage_py_gapic", - ], -) - @@ -7551,36 +22877,33 @@ diff -urN a/google/apps/market/v2/BUILD.bazel b/google/apps/market/v2/BUILD.baze -) - -php_proto_library( -- name = "marketplace_php_proto", -- deps = [":marketplace_proto"], +- name = "storage_php_proto", +- deps = [":storage_proto"], -) - -php_grpc_library( -- name = "marketplace_php_grpc", -- srcs = [":marketplace_proto"], -- deps = [":marketplace_php_proto"], +- name = "storage_php_grpc", +- srcs = [":storage_proto"], +- deps = [":storage_php_proto"], -) - -php_gapic_library( -- name = "marketplace_php_gapic", -- src = ":marketplace_proto_with_info", -- gapic_yaml = "appsmarket_gapic.yaml", -- grpc_service_config = "service_grpc_service_config.json", -- package = "ccc.hosted.marketplace.v2", -- service_yaml = "appsmarket_v2.yaml", +- name = "storage_php_gapic", +- srcs = [":storage_proto_with_info"], +- grpc_service_config = "bigquerystorage_grpc_service_config.json", - deps = [ -- ":marketplace_php_grpc", -- ":marketplace_php_proto", +- ":storage_php_grpc", +- ":storage_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-hosted-marketplace-v2-php", +- name = "google-cloud-bigquery-storage-v1beta1-php", - deps = [ -- ":marketplace_php_gapic", -- ":marketplace_php_grpc", -- ":marketplace_php_proto", +- ":storage_php_gapic", +- ":storage_php_grpc", +- ":storage_php_proto", - ], -) - @@ -7594,21 +22917,21 @@ diff -urN a/google/apps/market/v2/BUILD.bazel b/google/apps/market/v2/BUILD.baze -) - -nodejs_gapic_library( -- name = "marketplace_nodejs_gapic", -- package_name = "@google-cloud/marketplace", -- src = ":marketplace_proto_with_info", +- name = "storage_nodejs_gapic", +- package_name = "@google-cloud/bigquery-storage", +- src = ":storage_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "service_grpc_service_config.json", -- package = "ccc.hosted.marketplace.v2", -- service_yaml = "appsmarket_v2.yaml", +- grpc_service_config = "bigquerystorage_grpc_service_config.json", +- package = "google.cloud.bigquery.storage.v1beta1", +- service_yaml = "bigquerystorage_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "hosted-marketplace-v2-nodejs", +- name = "bigquery-storage-v1beta1-nodejs", - deps = [ -- ":marketplace_nodejs_gapic", -- ":marketplace_proto", +- ":storage_nodejs_gapic", +- ":storage_proto", - ], -) - @@ -7624,36 +22947,33 @@ diff -urN a/google/apps/market/v2/BUILD.bazel b/google/apps/market/v2/BUILD.baze -) - -ruby_proto_library( -- name = "marketplace_ruby_proto", -- deps = [":marketplace_proto"], +- name = "storage_ruby_proto", +- deps = [":storage_proto"], -) - -ruby_grpc_library( -- name = "marketplace_ruby_grpc", -- srcs = [":marketplace_proto"], -- deps = [":marketplace_ruby_proto"], +- name = "storage_ruby_grpc", +- srcs = [":storage_proto"], +- deps = [":storage_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "marketplace_ruby_gapic", -- srcs = [":marketplace_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-hosted-marketplace-v2", -- ], -- grpc_service_config = "service_grpc_service_config.json", +- name = "storage_ruby_gapic", +- srcs = [":storage_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-bigquery-storage-v1beta1"], - deps = [ -- ":marketplace_ruby_grpc", -- ":marketplace_ruby_proto", +- ":storage_ruby_grpc", +- ":storage_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-hosted-marketplace-v2-ruby", +- name = "google-cloud-bigquery-storage-v1beta1-ruby", - deps = [ -- ":marketplace_ruby_gapic", -- ":marketplace_ruby_grpc", -- ":marketplace_ruby_proto", +- ":storage_ruby_gapic", +- ":storage_ruby_grpc", +- ":storage_ruby_proto", - ], -) - @@ -7669,909 +22989,1038 @@ diff -urN a/google/apps/market/v2/BUILD.bazel b/google/apps/market/v2/BUILD.baze -) - -csharp_proto_library( -- name = "marketplace_csharp_proto", -- deps = [":marketplace_proto"], +- name = "storage_csharp_proto", +- deps = [":storage_proto"], -) - -csharp_grpc_library( -- name = "marketplace_csharp_grpc", -- srcs = [":marketplace_proto"], -- deps = [":marketplace_csharp_proto"], +- name = "storage_csharp_grpc", +- srcs = [":storage_proto"], +- deps = [":storage_csharp_proto"], -) - -csharp_gapic_library( -- name = "marketplace_csharp_gapic", -- srcs = [":marketplace_proto_with_info"], +- name = "storage_csharp_gapic", +- srcs = [":storage_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "service_grpc_service_config.json", +- grpc_service_config = "bigquerystorage_grpc_service_config.json", - deps = [ -- ":marketplace_csharp_grpc", -- ":marketplace_csharp_proto", +- ":storage_csharp_grpc", +- ":storage_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-hosted-marketplace-v2-csharp", +- name = "google-cloud-bigquery-storage-v1beta1-csharp", - deps = [ -- ":marketplace_csharp_gapic", -- ":marketplace_csharp_grpc", -- ":marketplace_csharp_proto", +- ":storage_csharp_gapic", +- ":storage_csharp_grpc", +- ":storage_csharp_proto", - ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ rules here -diff -urN a/google/apps/script/type/BUILD.bazel b/google/apps/script/type/BUILD.bazel ---- a/google/apps/script/type/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/apps/script/type/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,118 +0,0 @@ --# This file was automatically generated by BuildFileGenerator -- --############################################################################## --# Common --############################################################################## --load("@rules_proto//proto:defs.bzl", "proto_library") -- --############################################################################## --# Java --############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "csharp_grpc_library", -- "csharp_proto_library", -- "go_proto_library", -- "java_grpc_library", -- "java_proto_library", -- "moved_proto_library", -- "php_grpc_library", -- "php_proto_library", -- "py_grpc_library", -- "py_proto_library", -- "ruby_grpc_library", -- "ruby_proto_library", +- "cc_grpc_library", +- "cc_proto_library", +-) +- +-cc_proto_library( +- name = "storage_cc_proto", +- deps = [":storage_proto"], -) - +-cc_grpc_library( +- name = "storage_cc_grpc", +- srcs = [":storage_proto"], +- generate_mocks = True, +- grpc_only = True, +- deps = [":storage_cc_proto"], +-) +diff -urN a/google/cloud/bigquery/storage/v1beta2/BUILD.bazel b/google/cloud/bigquery/storage/v1beta2/BUILD.bazel +--- a/google/cloud/bigquery/storage/v1beta2/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/bigquery/storage/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,346 +0,0 @@ -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) - +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- -proto_library( -- name = "type_proto", +- name = "storage_proto", - srcs = [ -- "addon_widget_set.proto", -- "extension_point.proto", -- "script_manifest.proto", +- "arrow.proto", +- "avro.proto", +- "protobuf.proto", +- "storage.proto", +- "stream.proto", +- "table.proto", - ], - deps = [ -- "@com_google_protobuf//:struct_proto", +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:descriptor_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:timestamp_proto", - "@com_google_protobuf//:wrappers_proto", - ], -) - --java_proto_library( -- name = "type_java_proto", -- deps = [":type_proto"], --) -- --java_grpc_library( -- name = "type_java_grpc", -- srcs = [":type_proto"], -- deps = [":type_java_proto"], --) -- --go_proto_library( -- name = "type_go_proto", -- compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/apps/script/type", -- protos = [":type_proto"], --) -- --moved_proto_library( -- name = "type_moved_proto", -- srcs = [":type_proto"], +-proto_library_with_info( +- name = "storage_proto_with_info", - deps = [ -- "@com_google_protobuf//:struct_proto", -- "@com_google_protobuf//:wrappers_proto", +- ":storage_proto", +- "//google/cloud:common_resources_proto", - ], -) - --py_proto_library( -- name = "type_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":type_moved_proto"], --) -- --py_grpc_library( -- name = "type_py_grpc", -- srcs = [":type_moved_proto"], -- deps = [":type_py_proto"], --) -- --php_proto_library( -- name = "type_php_proto", -- deps = [":type_proto"], --) -- --php_grpc_library( -- name = "type_php_grpc", -- srcs = [":type_proto"], -- deps = [":type_php_proto"], --) -- --ruby_proto_library( -- name = "type_ruby_proto", -- deps = [":type_proto"], --) -- --ruby_grpc_library( -- name = "type_ruby_grpc", -- srcs = [":type_proto"], -- deps = [":type_ruby_proto"], --) -- --csharp_proto_library( -- name = "type_csharp_proto", -- deps = [":type_proto"], --) -- --csharp_grpc_library( -- name = "type_csharp_grpc", -- srcs = [":type_proto"], -- deps = [":type_csharp_proto"], --) -- --############################################################################## --# C++ --############################################################################## --# Put your C++ code here -diff -urN a/google/apps/script/type/calendar/BUILD.bazel b/google/apps/script/type/calendar/BUILD.bazel ---- a/google/apps/script/type/calendar/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/apps/script/type/calendar/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,120 +0,0 @@ --# This file was automatically generated by BuildFileGenerator -- --############################################################################## --# Common --############################################################################## --load("@rules_proto//proto:defs.bzl", "proto_library") -- -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "csharp_grpc_library", -- "csharp_proto_library", -- "go_proto_library", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -- "moved_proto_library", -- "php_grpc_library", -- "php_proto_library", -- "py_grpc_library", -- "py_proto_library", -- "ruby_grpc_library", -- "ruby_proto_library", --) -- --# This is an API workspace, having public visibility by default makes perfect sense. --package(default_visibility = ["//visibility:public"]) -- --proto_library( -- name = "calendar_proto", -- srcs = [ -- "calendar_addon_manifest.proto", -- ], -- deps = [ -- "//google/api:field_behavior_proto", -- "//google/apps/script/type:type_proto", -- ], -) - -java_proto_library( -- name = "calendar_java_proto", -- deps = [":calendar_proto"], +- name = "storage_java_proto", +- deps = [":storage_proto"], -) - -java_grpc_library( -- name = "calendar_java_grpc", -- srcs = [":calendar_proto"], -- deps = [":calendar_java_proto"], +- name = "storage_java_grpc", +- srcs = [":storage_proto"], +- deps = [":storage_java_proto"], -) - --go_proto_library( -- name = "calendar_go_proto", -- compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/apps/script/type/calendar", -- protos = [":calendar_proto"], -- deps = [ -- "//google/api:annotations_go_proto", -- "//google/apps/script/type:type_go_proto", +-java_gapic_library( +- name = "storage_java_gapic", +- srcs = [":storage_proto_with_info"], +- gapic_yaml = "bigquerystorage_gapic.yaml", +- grpc_service_config = "bigquerystorage_grpc_service_config.json", +- test_deps = [ +- ":storage_java_grpc", - ], --) -- --moved_proto_library( -- name = "calendar_moved_proto", -- srcs = [":calendar_proto"], - deps = [ -- "//google/api:field_behavior_proto", -- "//google/apps/script/type:type_proto", +- ":storage_java_proto", - ], -) - --py_proto_library( -- name = "calendar_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":calendar_moved_proto"], --) -- --py_grpc_library( -- name = "calendar_py_grpc", -- srcs = [":calendar_moved_proto"], -- deps = [":calendar_py_proto"], --) -- --php_proto_library( -- name = "calendar_php_proto", -- deps = [":calendar_proto"], --) -- --php_grpc_library( -- name = "calendar_php_grpc", -- srcs = [":calendar_proto"], -- deps = [":calendar_php_proto"], --) -- --ruby_proto_library( -- name = "calendar_ruby_proto", -- deps = [":calendar_proto"], --) -- --ruby_grpc_library( -- name = "calendar_ruby_grpc", -- srcs = [":calendar_proto"], -- deps = [":calendar_ruby_proto"], --) -- --csharp_proto_library( -- name = "calendar_csharp_proto", -- deps = [":calendar_proto"], +-java_gapic_test( +- name = "storage_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.bigquery.storage.v1beta2.BaseBigQueryReadClientTest", +- ], +- runtime_deps = [":storage_java_gapic_test"], -) - --csharp_grpc_library( -- name = "calendar_csharp_grpc", -- srcs = [":calendar_proto"], -- deps = [":calendar_csharp_proto"], +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-bigquery-storage-v1beta2-java", +- deps = [ +- ":storage_java_gapic", +- ":storage_java_grpc", +- ":storage_java_proto", +- ":storage_proto", +- ], -) - -############################################################################## --# C++ --############################################################################## --# Put your C++ code here -diff -urN a/google/apps/script/type/docs/BUILD.bazel b/google/apps/script/type/docs/BUILD.bazel ---- a/google/apps/script/type/docs/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/apps/script/type/docs/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,120 +0,0 @@ --# This file was automatically generated by BuildFileGenerator -- --############################################################################## --# Common --############################################################################## --load("@rules_proto//proto:defs.bzl", "proto_library") -- --############################################################################## --# Java +-# Go -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "csharp_grpc_library", -- "csharp_proto_library", +- "go_gapic_assembly_pkg", +- "go_gapic_library", - "go_proto_library", -- "java_grpc_library", -- "java_proto_library", -- "moved_proto_library", -- "php_grpc_library", -- "php_proto_library", -- "py_grpc_library", -- "py_proto_library", -- "ruby_grpc_library", -- "ruby_proto_library", --) -- --# This is an API workspace, having public visibility by default makes perfect sense. --package(default_visibility = ["//visibility:public"]) -- --proto_library( -- name = "docs_proto", -- srcs = [ -- "docs_addon_manifest.proto", -- ], -- deps = [ -- "//google/api:field_behavior_proto", -- "//google/apps/script/type:type_proto", -- ], --) -- --java_proto_library( -- name = "docs_java_proto", -- deps = [":docs_proto"], --) -- --java_grpc_library( -- name = "docs_java_grpc", -- srcs = [":docs_proto"], -- deps = [":docs_java_proto"], +- "go_test", -) - -go_proto_library( -- name = "docs_go_proto", +- name = "storage_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/apps/script/type/docs", -- protos = [":docs_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta2", +- protos = [":storage_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/apps/script/type:type_go_proto", +- "//google/rpc:status_go_proto", - ], -) - --moved_proto_library( -- name = "docs_moved_proto", -- srcs = [":docs_proto"], +-go_gapic_library( +- name = "storage_go_gapic", +- srcs = [":storage_proto_with_info"], +- grpc_service_config = "bigquerystorage_grpc_service_config.json", +- importpath = "cloud.google.com/go/bigquery/storage/apiv1beta2;storage", +- service_yaml = "bigquerystorage_v1beta2.yaml", - deps = [ -- "//google/api:field_behavior_proto", -- "//google/apps/script/type:type_proto", +- ":storage_go_proto", - ], -) - --py_proto_library( -- name = "docs_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":docs_moved_proto"], --) -- --py_grpc_library( -- name = "docs_py_grpc", -- srcs = [":docs_moved_proto"], -- deps = [":docs_py_proto"], --) -- --php_proto_library( -- name = "docs_php_proto", -- deps = [":docs_proto"], --) -- --php_grpc_library( -- name = "docs_php_grpc", -- srcs = [":docs_proto"], -- deps = [":docs_php_proto"], --) -- --ruby_proto_library( -- name = "docs_ruby_proto", -- deps = [":docs_proto"], --) -- --ruby_grpc_library( -- name = "docs_ruby_grpc", -- srcs = [":docs_proto"], -- deps = [":docs_ruby_proto"], --) -- --csharp_proto_library( -- name = "docs_csharp_proto", -- deps = [":docs_proto"], +-go_test( +- name = "storage_go_gapic_test", +- srcs = [":storage_go_gapic_srcjar_test"], +- embed = [":storage_go_gapic"], +- importpath = "cloud.google.com/go/bigquery/storage/apiv1beta2", -) - --csharp_grpc_library( -- name = "docs_csharp_grpc", -- srcs = [":docs_proto"], -- deps = [":docs_csharp_proto"], +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-bigquery-storage-v1beta2-go", +- deps = [ +- ":storage_go_gapic", +- ":storage_go_gapic_srcjar-test.srcjar", +- ":storage_go_proto", +- ], -) - -############################################################################## --# C++ --############################################################################## --# Put your C++ code here -diff -urN a/google/apps/script/type/drive/BUILD.bazel b/google/apps/script/type/drive/BUILD.bazel ---- a/google/apps/script/type/drive/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/apps/script/type/drive/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,117 +0,0 @@ --# This file was automatically generated by BuildFileGenerator -- --############################################################################## --# Common +-# Python -############################################################################## --load("@rules_proto//proto:defs.bzl", "proto_library") - --############################################################################## --# Java --############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "csharp_grpc_library", -- "csharp_proto_library", -- "go_proto_library", -- "java_grpc_library", -- "java_proto_library", -- "moved_proto_library", -- "php_grpc_library", -- "php_proto_library", -- "py_grpc_library", -- "py_proto_library", -- "ruby_grpc_library", -- "ruby_proto_library", +- "py_gapic_assembly_pkg", +- "py_gapic_library", -) - --# This is an API workspace, having public visibility by default makes perfect sense. --package(default_visibility = ["//visibility:public"]) -- --proto_library( -- name = "drive_proto", -- srcs = [ -- "drive_addon_manifest.proto", +-py_gapic_library( +- name = "storage_py_gapic", +- srcs = [":storage_proto"], +- grpc_service_config = "bigquerystorage_grpc_service_config.json", +- opt_args = [ +- "python-gapic-namespace=google.cloud", +- "python-gapic-name=bigquery_storage", - ], +-) +- +-py_gapic_assembly_pkg( +- name = "bigquery-storage-v1beta2-py", - deps = [ -- "//google/apps/script/type:type_proto", +- ":storage_py_gapic", - ], -) - --java_proto_library( -- name = "drive_java_proto", -- deps = [":drive_proto"], +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "storage_php_proto", +- deps = [":storage_proto"], -) - --java_grpc_library( -- name = "drive_java_grpc", -- srcs = [":drive_proto"], -- deps = [":drive_java_proto"], +-php_grpc_library( +- name = "storage_php_grpc", +- srcs = [":storage_proto"], +- deps = [":storage_php_proto"], -) - --go_proto_library( -- name = "drive_go_proto", -- compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/apps/script/type/drive", -- protos = [":drive_proto"], +-php_gapic_library( +- name = "storage_php_gapic", +- srcs = [":storage_proto_with_info"], +- grpc_service_config = "bigquerystorage_grpc_service_config.json", - deps = [ -- "//google/apps/script/type:type_go_proto", +- ":storage_php_grpc", +- ":storage_php_proto", - ], -) - --moved_proto_library( -- name = "drive_moved_proto", -- srcs = [":drive_proto"], +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-bigquery-storage-v1beta2-php", - deps = [ -- "//google/apps/script/type:type_proto", +- ":storage_php_gapic", +- ":storage_php_grpc", +- ":storage_php_proto", - ], -) - --py_proto_library( -- name = "drive_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":drive_moved_proto"], +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", -) - --py_grpc_library( -- name = "drive_py_grpc", -- srcs = [":drive_moved_proto"], -- deps = [":drive_py_proto"], +-nodejs_gapic_library( +- name = "storage_nodejs_gapic", +- src = ":storage_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "bigquerystorage_grpc_service_config.json", +- package = "google.cloud.bigquery.storage.v1beta2", +- service_yaml = "bigquerystorage_v1beta2.yaml", +- deps = [], -) - --php_proto_library( -- name = "drive_php_proto", -- deps = [":drive_proto"], +-nodejs_gapic_assembly_pkg( +- name = "bigquery-storage-v1beta2-nodejs", +- deps = [ +- ":storage_nodejs_gapic", +- ":storage_proto", +- ], -) - --php_grpc_library( -- name = "drive_php_grpc", -- srcs = [":drive_proto"], -- deps = [":drive_php_proto"], --) +-############################################################################## +-# Ruby +-############################################################################## +-# load( +-# "@com_google_googleapis_imports//:imports.bzl", +-# "ruby_gapic_assembly_pkg", +-# "ruby_cloud_gapic_library", +-# "ruby_grpc_library", +-# "ruby_proto_library", +-# ) - --ruby_proto_library( -- name = "drive_ruby_proto", -- deps = [":drive_proto"], --) +-# ruby_proto_library( +-# name = "storage_ruby_proto", +-# deps = [":storage_proto"], +-# ) - --ruby_grpc_library( -- name = "drive_ruby_grpc", -- srcs = [":drive_proto"], -- deps = [":drive_ruby_proto"], +-# ruby_grpc_library( +-# name = "storage_ruby_grpc", +-# srcs = [":storage_proto"], +-# deps = [":storage_ruby_proto"], +-# ) +- +-# ruby_cloud_gapic_library( +-# name = "storage_ruby_gapic", +-# srcs = [":storage_proto_with_info",], +-# extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-bigquery-storage-v1beta2"], +-# deps = [ +-# ":storage_ruby_grpc", +-# ":storage_ruby_proto", +-# ], +-# ) +- +-# ruby_gapic_assembly_pkg( +-# name = "google-cloud-bigquery-storage-v1beta2-ruby", +-# deps = [ +-# ":storage_ruby_gapic", +-# ":storage_ruby_grpc", +-# ":storage_ruby_proto", +-# ], +-# ) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", -) - -csharp_proto_library( -- name = "drive_csharp_proto", -- deps = [":drive_proto"], +- name = "storage_csharp_proto", +- deps = [":storage_proto"], -) - -csharp_grpc_library( -- name = "drive_csharp_grpc", -- srcs = [":drive_proto"], -- deps = [":drive_csharp_proto"], +- name = "storage_csharp_grpc", +- srcs = [":storage_proto"], +- deps = [":storage_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "storage_csharp_gapic", +- srcs = [":storage_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "bigquerystorage_grpc_service_config.json", +- deps = [ +- ":storage_csharp_grpc", +- ":storage_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-bigquery-storage-v1beta2-csharp", +- deps = [ +- ":storage_csharp_gapic", +- ":storage_csharp_grpc", +- ":storage_csharp_proto", +- ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ code here -diff -urN a/google/apps/script/type/gmail/BUILD.bazel b/google/apps/script/type/gmail/BUILD.bazel ---- a/google/apps/script/type/gmail/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/apps/script/type/gmail/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,119 +0,0 @@ +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "cc_grpc_library", +- "cc_proto_library", +-) +- +-cc_proto_library( +- name = "storage_cc_proto", +- deps = [":storage_proto"], +-) +- +-cc_grpc_library( +- name = "storage_cc_grpc", +- srcs = [":storage_proto"], +- generate_mocks = True, +- grpc_only = True, +- deps = [":storage_cc_proto"], +-) +diff -urN a/google/cloud/bigquery/v2/BUILD.bazel b/google/cloud/bigquery/v2/BUILD.bazel +--- a/google/cloud/bigquery/v2/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/bigquery/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,324 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "bigquery_proto", +- srcs = [ +- "encryption_config.proto", +- "model.proto", +- "model_reference.proto", +- "standard_sql.proto", +- "table_reference.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", +- ], +-) +- +-proto_library_with_info( +- name = "bigquery_proto_with_info", +- deps = [ +- ":bigquery_proto", +- "//google/cloud:common_resources_proto", +- ], +-) - -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "csharp_grpc_library", -- "csharp_proto_library", -- "go_proto_library", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -- "moved_proto_library", -- "php_grpc_library", -- "php_proto_library", -- "py_grpc_library", -- "py_proto_library", -- "ruby_grpc_library", -- "ruby_proto_library", --) -- --# This is an API workspace, having public visibility by default makes perfect sense. --package(default_visibility = ["//visibility:public"]) -- --proto_library( -- name = "gmail_proto", -- srcs = [ -- "gmail_addon_manifest.proto", -- ], -- deps = [ -- "//google/apps/script/type:type_proto", -- "@com_google_protobuf//:struct_proto", -- ], -) - -java_proto_library( -- name = "gmail_java_proto", -- deps = [":gmail_proto"], +- name = "bigquery_java_proto", +- deps = [":bigquery_proto"], -) - -java_grpc_library( -- name = "gmail_java_grpc", -- srcs = [":gmail_proto"], -- deps = [":gmail_java_proto"], +- name = "bigquery_java_grpc", +- srcs = [":bigquery_proto"], +- deps = [":bigquery_java_proto"], -) - --go_proto_library( -- name = "gmail_go_proto", -- compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/apps/script/type/gmail", -- protos = [":gmail_proto"], +-java_gapic_library( +- name = "bigquery_java_gapic", +- srcs = [":bigquery_proto_with_info"], +- grpc_service_config = "bigquery_grpc_service_config.json", +- test_deps = [ +- ":bigquery_java_grpc", +- ], - deps = [ -- "//google/apps/script/type:type_go_proto", +- ":bigquery_java_proto", - ], -) - --moved_proto_library( -- name = "gmail_moved_proto", -- srcs = [":gmail_proto"], -- deps = [ -- "//google/apps/script/type:type_proto", -- "@com_google_protobuf//:struct_proto", +-java_gapic_test( +- name = "bigquery_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.bigquery.v2.ModelServiceClientTest", - ], +- runtime_deps = [":bigquery_java_gapic_test"], -) - --py_proto_library( -- name = "gmail_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":gmail_moved_proto"], +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-bigquery-v2-java", +- deps = [ +- ":bigquery_java_gapic", +- ":bigquery_java_grpc", +- ":bigquery_java_proto", +- ":bigquery_proto", +- ], -) - --py_grpc_library( -- name = "gmail_py_grpc", -- srcs = [":gmail_moved_proto"], -- deps = [":gmail_py_proto"], +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", -) - --php_proto_library( -- name = "gmail_php_proto", -- deps = [":gmail_proto"], +-go_proto_library( +- name = "bigquery_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/v2", +- protos = [":bigquery_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- ], -) - --php_grpc_library( -- name = "gmail_php_grpc", -- srcs = [":gmail_proto"], -- deps = [":gmail_php_proto"], +-go_gapic_library( +- name = "bigquery_go_gapic", +- srcs = [":bigquery_proto_with_info"], +- grpc_service_config = "bigquery_grpc_service_config.json", +- importpath = "cloud.google.com/go/bigquery/apiv2;bigquery", +- service_yaml = "bigquery_v2.yaml", +- deps = [ +- ":bigquery_go_proto", +- ], -) - --ruby_proto_library( -- name = "gmail_ruby_proto", -- deps = [":gmail_proto"], +-go_test( +- name = "bigquery_go_gapic_test", +- srcs = [":bigquery_go_gapic_srcjar_test"], +- embed = [":bigquery_go_gapic"], +- importpath = "cloud.google.com/go/bigquery/apiv2", -) - --ruby_grpc_library( -- name = "gmail_ruby_grpc", -- srcs = [":gmail_proto"], -- deps = [":gmail_ruby_proto"], +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-bigquery-v2-go", +- deps = [ +- ":bigquery_go_gapic", +- ":bigquery_go_gapic_srcjar-test.srcjar", +- ":bigquery_go_proto", +- ], -) - --csharp_proto_library( -- name = "gmail_csharp_proto", -- deps = [":gmail_proto"], +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", -) - --csharp_grpc_library( -- name = "gmail_csharp_grpc", -- srcs = [":gmail_proto"], -- deps = [":gmail_csharp_proto"], +-py_gapic_library( +- name = "bigquery_py_gapic", +- srcs = [":bigquery_proto"], +- grpc_service_config = "bigquery_grpc_service_config.json", -) - --############################################################################## --# C++ --############################################################################## --# Put your C++ code here -diff -urN a/google/apps/script/type/sheets/BUILD.bazel b/google/apps/script/type/sheets/BUILD.bazel ---- a/google/apps/script/type/sheets/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/apps/script/type/sheets/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,120 +0,0 @@ --# This file was automatically generated by BuildFileGenerator -- --############################################################################## --# Common --############################################################################## --load("@rules_proto//proto:defs.bzl", "proto_library") +-py_gapic_assembly_pkg( +- name = "bigquery-v2-py", +- deps = [ +- ":bigquery_py_gapic", +- ], +-) - -############################################################################## --# Java +-# PHP -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "csharp_grpc_library", -- "csharp_proto_library", -- "go_proto_library", -- "java_grpc_library", -- "java_proto_library", -- "moved_proto_library", +- "php_gapic_assembly_pkg", +- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -- "py_grpc_library", -- "py_proto_library", -- "ruby_grpc_library", -- "ruby_proto_library", -) - --# This is an API workspace, having public visibility by default makes perfect sense. --package(default_visibility = ["//visibility:public"]) -- --proto_library( -- name = "sheets_proto", -- srcs = [ -- "sheets_addon_manifest.proto", -- ], -- deps = [ -- "//google/api:field_behavior_proto", -- "//google/apps/script/type:type_proto", -- ], +-php_proto_library( +- name = "bigquery_php_proto", +- deps = [":bigquery_proto"], -) - --java_proto_library( -- name = "sheets_java_proto", -- deps = [":sheets_proto"], +-php_grpc_library( +- name = "bigquery_php_grpc", +- srcs = [":bigquery_proto"], +- deps = [":bigquery_php_proto"], -) - --java_grpc_library( -- name = "sheets_java_grpc", -- srcs = [":sheets_proto"], -- deps = [":sheets_java_proto"], +-# Add api.http options to all RPCs in the services to enable PHP GAPIC +-#php_gapic_library( +-# name = "bigquery_php_gapic", +-# src = ":bigquery_proto_with_info", +-# gapic_yaml = "bigquery_gapic.yaml", +-# package = "google.cloud.bigquery.v2", +-# service_yaml = "bigquery_v2.yaml", +-# deps = [ +-# ":bigquery_php_grpc", +-# ":bigquery_php_proto", +-# ], +-#) +-# +-## Open Source Packages +-#php_gapic_assembly_pkg( +-# name = "google-cloud-bigquery-v2-php", +-# deps = [ +-# ":bigquery_php_gapic", +-# ":bigquery_php_grpc", +-# ":bigquery_php_proto", +-# ], +-#) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", -) - --go_proto_library( -- name = "sheets_go_proto", -- compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/apps/script/type/sheets", -- protos = [":sheets_proto"], -- deps = [ -- "//google/api:annotations_go_proto", -- "//google/apps/script/type:type_go_proto", -- ], +-nodejs_gapic_library( +- name = "bigquery_nodejs_gapic", +- src = ":bigquery_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "bigquery_grpc_service_config.json", +- package = "google.cloud.bigquery.v2", +- service_yaml = "bigquery_v2.yaml", +- deps = [], -) - --moved_proto_library( -- name = "sheets_moved_proto", -- srcs = [":sheets_proto"], +-nodejs_gapic_assembly_pkg( +- name = "bigquery-v2-nodejs", - deps = [ -- "//google/api:field_behavior_proto", -- "//google/apps/script/type:type_proto", +- ":bigquery_nodejs_gapic", +- ":bigquery_proto", - ], -) - --py_proto_library( -- name = "sheets_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":sheets_moved_proto"], +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", +- "ruby_grpc_library", +- "ruby_proto_library", -) - --py_grpc_library( -- name = "sheets_py_grpc", -- srcs = [":sheets_moved_proto"], -- deps = [":sheets_py_proto"], +-ruby_proto_library( +- name = "bigquery_ruby_proto", +- deps = [":bigquery_proto"], -) - --php_proto_library( -- name = "sheets_php_proto", -- deps = [":sheets_proto"], +-ruby_grpc_library( +- name = "bigquery_ruby_grpc", +- srcs = [":bigquery_proto"], +- deps = [":bigquery_ruby_proto"], -) - --php_grpc_library( -- name = "sheets_php_grpc", -- srcs = [":sheets_proto"], -- deps = [":sheets_php_proto"], +-ruby_cloud_gapic_library( +- name = "bigquery_ruby_gapic", +- srcs = [":bigquery_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-bigquery-v2"], +- deps = [ +- ":bigquery_ruby_grpc", +- ":bigquery_ruby_proto", +- ], -) - --ruby_proto_library( -- name = "sheets_ruby_proto", -- deps = [":sheets_proto"], +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-bigquery-v2-ruby", +- deps = [ +- ":bigquery_ruby_gapic", +- ":bigquery_ruby_grpc", +- ":bigquery_ruby_proto", +- ], -) - --ruby_grpc_library( -- name = "sheets_ruby_grpc", -- srcs = [":sheets_proto"], -- deps = [":sheets_ruby_proto"], +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", -) - -csharp_proto_library( -- name = "sheets_csharp_proto", -- deps = [":sheets_proto"], +- name = "bigquery_csharp_proto", +- deps = [":bigquery_proto"], -) - -csharp_grpc_library( -- name = "sheets_csharp_grpc", -- srcs = [":sheets_proto"], -- deps = [":sheets_csharp_proto"], +- name = "bigquery_csharp_grpc", +- srcs = [":bigquery_proto"], +- deps = [":bigquery_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "bigquery_csharp_gapic", +- srcs = [":bigquery_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "bigquery_grpc_service_config.json", +- deps = [ +- ":bigquery_csharp_grpc", +- ":bigquery_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-bigquery-v2-csharp", +- deps = [ +- ":bigquery_csharp_gapic", +- ":bigquery_csharp_grpc", +- ":bigquery_csharp_proto", +- ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ code here -diff -urN a/google/apps/script/type/slides/BUILD.bazel b/google/apps/script/type/slides/BUILD.bazel ---- a/google/apps/script/type/slides/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/apps/script/type/slides/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,120 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/billing/budgets/v1/BUILD.bazel b/google/cloud/billing/budgets/v1/BUILD.bazel +--- a/google/cloud/billing/budgets/v1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/billing/budgets/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,292 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") -- --############################################################################## --# Java --############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", +- "go_gapic_assembly_pkg", +- "go_gapic_library", - "go_proto_library", +- "go_test", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -- "moved_proto_library", -- "php_grpc_library", -- "php_proto_library", -- "py_grpc_library", -- "py_proto_library", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +- "proto_library_with_info", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", -) - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) - -proto_library( -- name = "slides_proto", +- name = "budgets_proto", - srcs = [ -- "slides_addon_manifest.proto", +- "budget_model.proto", +- "budget_service.proto", - ], - deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/apps/script/type:type_proto", +- "//google/api:resource_proto", +- "//google/type:date_proto", +- "//google/type:money_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:struct_proto", +- ], +-) +- +-proto_library_with_info( +- name = "budgets_proto_with_info", +- deps = [ +- ":budgets_proto", +- "//google/cloud:common_resources_proto", - ], -) - -java_proto_library( -- name = "slides_java_proto", -- deps = [":slides_proto"], +- name = "budgets_java_proto", +- deps = [":budgets_proto"], -) - -java_grpc_library( -- name = "slides_java_grpc", -- srcs = [":slides_proto"], -- deps = [":slides_java_proto"], +- name = "budgets_java_grpc", +- srcs = [":budgets_proto"], +- deps = [":budgets_java_proto"], +-) +- +-java_gapic_library( +- name = "budgets_java_gapic", +- srcs = [":budgets_proto_with_info"], +- grpc_service_config = "billingbudgets_grpc_service_config.json", +- test_deps = [ +- ":budgets_java_grpc", +- ], +- deps = [ +- ":budgets_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "budgets_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.billing.budgets.v1.BudgetServiceClientTest", +- ], +- runtime_deps = [":budgets_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-billing-budgets-v1-java", +- deps = [ +- ":budgets_java_gapic", +- ":budgets_java_grpc", +- ":budgets_java_proto", +- ":budgets_proto", +- ], -) - -go_proto_library( -- name = "slides_go_proto", +- name = "budgets_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/apps/script/type/slides", -- protos = [":slides_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/billing/budgets/v1", +- protos = [":budgets_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/apps/script/type:type_go_proto", +- "//google/type:date_go_proto", +- "//google/type:money_go_proto", - ], -) - --moved_proto_library( -- name = "slides_moved_proto", -- srcs = [":slides_proto"], +-go_gapic_library( +- name = "budgets_go_gapic", +- srcs = [":budgets_proto_with_info"], +- grpc_service_config = "billingbudgets_grpc_service_config.json", +- importpath = "cloud.google.com/go/billing/budgets/apiv1;budgets", +- metadata = True, +- service_yaml = "billingbudgets.yaml", - deps = [ -- "//google/api:field_behavior_proto", -- "//google/apps/script/type:type_proto", +- ":budgets_go_proto", - ], -) - --py_proto_library( -- name = "slides_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":slides_moved_proto"], +-go_test( +- name = "budgets_go_gapic_test", +- srcs = [":budgets_go_gapic_srcjar_test"], +- embed = [":budgets_go_gapic"], +- importpath = "cloud.google.com/go/billing/budgets/apiv1", -) - --py_grpc_library( -- name = "slides_py_grpc", -- srcs = [":slides_moved_proto"], -- deps = [":slides_py_proto"], +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-billing-budgets-v1-go", +- deps = [ +- ":budgets_go_gapic", +- ":budgets_go_gapic_srcjar-metadata.srcjar", +- ":budgets_go_gapic_srcjar-test.srcjar", +- ":budgets_go_proto", +- ], +-) +- +-py_gapic_library( +- name = "budgets_py_gapic", +- srcs = [":budgets_proto"], +- grpc_service_config = "billingbudgets_grpc_service_config.json", +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "billing-budgets-v1-py", +- deps = [ +- ":budgets_py_gapic", +- ], -) - -php_proto_library( -- name = "slides_php_proto", -- deps = [":slides_proto"], +- name = "budgets_php_proto", +- deps = [":budgets_proto"], -) - -php_grpc_library( -- name = "slides_php_grpc", -- srcs = [":slides_proto"], -- deps = [":slides_php_proto"], +- name = "budgets_php_grpc", +- srcs = [":budgets_proto"], +- deps = [":budgets_php_proto"], +-) +- +-php_gapic_library( +- name = "budgets_php_gapic", +- srcs = [":budgets_proto_with_info"], +- grpc_service_config = "billingbudgets_grpc_service_config.json", +- service_yaml = "billingbudgets.yaml", +- deps = [ +- ":budgets_php_grpc", +- ":budgets_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-billing-budgets-v1-php", +- deps = [ +- ":budgets_php_gapic", +- ":budgets_php_grpc", +- ":budgets_php_proto", +- ], +-) +- +-nodejs_gapic_library( +- name = "budgets_nodejs_gapic", +- package_name = "@google-cloud/billing-budgets", +- src = ":budgets_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "billingbudgets_grpc_service_config.json", +- package = "google.cloud.billing.budgets.v1", +- service_yaml = "billingbudgets.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "billing-budgets-v1-nodejs", +- deps = [ +- ":budgets_nodejs_gapic", +- ":budgets_proto", +- ], -) - -ruby_proto_library( -- name = "slides_ruby_proto", -- deps = [":slides_proto"], +- name = "budgets_ruby_proto", +- deps = [":budgets_proto"], -) - -ruby_grpc_library( -- name = "slides_ruby_grpc", -- srcs = [":slides_proto"], -- deps = [":slides_ruby_proto"], +- name = "budgets_ruby_grpc", +- srcs = [":budgets_proto"], +- deps = [":budgets_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "budgets_ruby_gapic", +- srcs = [":budgets_proto_with_info"], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-billing-budgets-v1"], +- grpc_service_config = "billingbudgets_grpc_service_config.json", +- deps = [ +- ":budgets_ruby_grpc", +- ":budgets_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-billing-budgets-v1-ruby", +- deps = [ +- ":budgets_ruby_gapic", +- ":budgets_ruby_grpc", +- ":budgets_ruby_proto", +- ], -) - -csharp_proto_library( -- name = "slides_csharp_proto", -- deps = [":slides_proto"], +- name = "budgets_csharp_proto", +- deps = [":budgets_proto"], -) - -csharp_grpc_library( -- name = "slides_csharp_grpc", -- srcs = [":slides_proto"], -- deps = [":slides_csharp_proto"], +- name = "budgets_csharp_grpc", +- srcs = [":budgets_proto"], +- deps = [":budgets_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "budgets_csharp_gapic", +- srcs = [":budgets_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "billingbudgets_grpc_service_config.json", +- deps = [ +- ":budgets_csharp_grpc", +- ":budgets_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-billing-budgets-v1-csharp", +- deps = [ +- ":budgets_csharp_gapic", +- ":budgets_csharp_grpc", +- ":budgets_csharp_proto", +- ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ code here -diff -urN a/google/area120/tables/v1alpha1/BUILD.bazel b/google/area120/tables/v1alpha1/BUILD.bazel ---- a/google/area120/tables/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/area120/tables/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,336 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/billing/budgets/v1beta1/BUILD.bazel b/google/cloud/billing/budgets/v1beta1/BUILD.bazel +--- a/google/cloud/billing/budgets/v1beta1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/billing/budgets/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,345 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +-# https://github.com/googleapis/rules_gapic/tree/master/bazel - -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: @@ -8591,15 +24040,18 @@ diff -urN a/google/area120/tables/v1alpha1/BUILD.bazel b/google/area120/tables/v -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "tables_proto", +- name = "budgets_proto", - srcs = [ -- "tables.proto", +- "budget_model.proto", +- "budget_service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", +- "//google/type:date_proto", +- "//google/type:money_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:struct_proto", @@ -8607,9 +24059,9 @@ diff -urN a/google/area120/tables/v1alpha1/BUILD.bazel b/google/area120/tables/v -) - -proto_library_with_info( -- name = "tables_proto_with_info", +- name = "budgets_proto_with_info", - deps = [ -- ":tables_proto", +- ":budgets_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -8627,45 +24079,44 @@ diff -urN a/google/area120/tables/v1alpha1/BUILD.bazel b/google/area120/tables/v -) - -java_proto_library( -- name = "tables_java_proto", -- deps = [":tables_proto"], +- name = "budgets_java_proto", +- deps = [":budgets_proto"], -) - -java_grpc_library( -- name = "tables_java_grpc", -- srcs = [":tables_proto"], -- deps = [":tables_java_proto"], +- name = "budgets_java_grpc", +- srcs = [":budgets_proto"], +- deps = [":budgets_java_proto"], -) - -java_gapic_library( -- name = "tables_java_gapic", -- srcs = [":tables_proto_with_info"], -- gapic_yaml = "language_gapic.yaml", -- grpc_service_config = "tables_grpc_service_config.json", +- name = "budgets_java_gapic", +- srcs = [":budgets_proto_with_info"], +- grpc_service_config = "billingbudgets_grpc_service_config.json", - test_deps = [ -- ":tables_java_grpc", +- ":budgets_java_grpc", - ], - deps = [ -- ":tables_java_proto", +- ":budgets_java_proto", - ], -) - -java_gapic_test( -- name = "tables_java_gapic_test_suite", +- name = "budgets_java_gapic_test_suite", - test_classes = [ -- "com.google.area120.tables.v1alpha.TablesServiceClientTest", +- "com.google.cloud.billing.budgets.v1beta1.BudgetServiceClientTest", - ], -- runtime_deps = [":tables_java_gapic_test"], +- runtime_deps = [":budgets_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-area120-tables-v1alpha1-java", +- name = "google-cloud-billing-budgets-v1beta1-java", - deps = [ -- ":tables_java_gapic", -- ":tables_java_grpc", -- ":tables_java_proto", -- ":tables_proto", +- ":budgets_java_gapic", +- ":budgets_java_grpc", +- ":budgets_java_proto", +- ":budgets_proto", - ], -) - @@ -8681,40 +24132,44 @@ diff -urN a/google/area120/tables/v1alpha1/BUILD.bazel b/google/area120/tables/v -) - -go_proto_library( -- name = "tables_go_proto", +- name = "budgets_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/area120/tables/v1alpha1", -- protos = [":tables_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/billing/budgets/v1beta1", +- protos = [":budgets_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/type:date_go_proto", +- "//google/type:money_go_proto", - ], -) - -go_gapic_library( -- name = "tables_go_gapic", -- srcs = [":tables_proto_with_info"], -- grpc_service_config = "tables_grpc_service_config.json", -- importpath = "google.golang.org/google/area120/tables/v1alpha1;tables", -- service_yaml = "area120tables_v1alpha1.yaml", +- name = "budgets_go_gapic", +- srcs = [":budgets_proto_with_info"], +- grpc_service_config = "billingbudgets_grpc_service_config.json", +- importpath = "cloud.google.com/go/billing/budgets/apiv1beta1;budgets", +- metadata = True, +- service_yaml = "billingbudgets.yaml", - deps = [ -- ":tables_go_proto", +- ":budgets_go_proto", - ], -) - -go_test( -- name = "tables_go_gapic_test", -- srcs = [":tables_go_gapic_srcjar_test"], -- embed = [":tables_go_gapic"], -- importpath = "google.golang.org/google/area120/tables/v1alpha1", +- name = "budgets_go_gapic_test", +- srcs = [":budgets_go_gapic_srcjar_test"], +- embed = [":budgets_go_gapic"], +- importpath = "cloud.google.com/go/billing/budgets/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-area120-tables-v1alpha1-go", +- name = "gapi-cloud-billing-budgets-v1beta1-go", - deps = [ -- ":tables_go_gapic", -- ":tables_go_gapic_srcjar-test.srcjar", -- ":tables_go_proto", +- ":budgets_go_gapic", +- ":budgets_go_gapic_srcjar-metadata.srcjar", +- ":budgets_go_gapic_srcjar-test.srcjar", +- ":budgets_go_proto", - ], -) - @@ -8728,16 +24183,16 @@ diff -urN a/google/area120/tables/v1alpha1/BUILD.bazel b/google/area120/tables/v -) - -py_gapic_library( -- name = "tables_py_gapic", -- srcs = [":tables_proto"], -- grpc_service_config = "tables_grpc_service_config.json", +- name = "budgets_py_gapic", +- srcs = [":budgets_proto"], +- grpc_service_config = "billingbudgets_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "area120-tables-v1alpha1-py", +- name = "billing-budgets-v1beta1-py", - deps = [ -- ":tables_py_gapic", +- ":budgets_py_gapic", - ], -) - @@ -8753,36 +24208,33 @@ diff -urN a/google/area120/tables/v1alpha1/BUILD.bazel b/google/area120/tables/v -) - -php_proto_library( -- name = "tables_php_proto", -- deps = [":tables_proto"], +- name = "budgets_php_proto", +- deps = [":budgets_proto"], -) - -php_grpc_library( -- name = "tables_php_grpc", -- srcs = [":tables_proto"], -- deps = [":tables_php_proto"], +- name = "budgets_php_grpc", +- srcs = [":budgets_proto"], +- deps = [":budgets_php_proto"], -) - -php_gapic_library( -- name = "tables_php_gapic", -- src = ":tables_proto_with_info", -- gapic_yaml = "language_gapic.yaml", -- grpc_service_config = "tables_grpc_service_config.json", -- package = "google.area120.tables.v1alpha1", -- service_yaml = "area120tables_v1alpha1.yaml", +- name = "budgets_php_gapic", +- srcs = [":budgets_proto_with_info"], +- grpc_service_config = "billingbudgets_grpc_service_config.json", - deps = [ -- ":tables_php_grpc", -- ":tables_php_proto", +- ":budgets_php_grpc", +- ":budgets_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-area120-tables-v1alpha1-php", +- name = "google-cloud-billing-budgets-v1beta1-php", - deps = [ -- ":tables_php_gapic", -- ":tables_php_grpc", -- ":tables_php_proto", +- ":budgets_php_gapic", +- ":budgets_php_grpc", +- ":budgets_php_proto", - ], -) - @@ -8796,21 +24248,21 @@ diff -urN a/google/area120/tables/v1alpha1/BUILD.bazel b/google/area120/tables/v -) - -nodejs_gapic_library( -- name = "tables_nodejs_gapic", -- package_name = "@google/area120-tables", -- src = ":tables_proto_with_info", +- name = "budgets_nodejs_gapic", +- package_name = "@google-cloud/billing-budgets", +- src = ":budgets_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "tables_grpc_service_config.json", -- package = "google.area120.tables.v1alpha1", -- service_yaml = "area120tables_v1alpha1.yaml", +- grpc_service_config = "billingbudgets_grpc_service_config.json", +- package = "google.cloud.billing.budgets.v1beta1", +- service_yaml = "billingbudgets.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "area120-tables-v1alpha1-nodejs", +- name = "billing-budgets-v1beta1-nodejs", - deps = [ -- ":tables_nodejs_gapic", -- ":tables_proto", +- ":budgets_nodejs_gapic", +- ":budgets_proto", - ], -) - @@ -8819,43 +24271,49 @@ diff -urN a/google/area120/tables/v1alpha1/BUILD.bazel b/google/area120/tables/v -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "tables_ruby_proto", -- deps = [":tables_proto"], +- name = "budgets_ruby_proto", +- deps = [":budgets_proto"], -) - -ruby_grpc_library( -- name = "tables_ruby_grpc", -- srcs = [":tables_proto"], -- deps = [":tables_ruby_proto"], +- name = "budgets_ruby_grpc", +- srcs = [":budgets_proto"], +- deps = [":budgets_ruby_proto"], -) - --ruby_gapic_library( -- name = "tables_ruby_gapic", -- src = ":tables_proto_with_info", -- gapic_yaml = "language_gapic.yaml", -- grpc_service_config = "tables_grpc_service_config.json", -- package = "google.area120.tables.v1alpha1", -- service_yaml = "area120tables_v1alpha1.yaml", -- deps = [ -- ":tables_ruby_grpc", -- ":tables_ruby_proto", +-ruby_cloud_gapic_library( +- name = "budgets_ruby_gapic", +- srcs = [":budgets_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-api-id=billingbudgets.googleapis.com", +- "ruby-cloud-api-shortname=billingbudgets", +- "ruby-cloud-env-prefix=BILLING_BUDGETS", +- "ruby-cloud-gem-name=google-cloud-billing-budgets-v1beta1", +- "ruby-cloud-product-url=https://cloud.google.com/billing/docs/how-to/budget-api-overview", +- ], +- grpc_service_config = "billingbudgets_grpc_service_config.json", +- ruby_cloud_description = "Provides methods to view, create, and manage Cloud Billing budgets programmatically at scale.", +- ruby_cloud_title = "Billing Budgets V1beta1", +- deps = [ +- ":budgets_ruby_grpc", +- ":budgets_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-area120-tables-v1alpha1-ruby", +- name = "google-cloud-billing-budgets-v1beta1-ruby", - deps = [ -- ":tables_ruby_gapic", -- ":tables_ruby_grpc", -- ":tables_ruby_proto", +- ":budgets_ruby_gapic", +- ":budgets_ruby_grpc", +- ":budgets_ruby_proto", - ], -) - @@ -8871,34 +24329,34 @@ diff -urN a/google/area120/tables/v1alpha1/BUILD.bazel b/google/area120/tables/v -) - -csharp_proto_library( -- name = "tables_csharp_proto", -- deps = [":tables_proto"], +- name = "budgets_csharp_proto", +- deps = [":budgets_proto"], -) - -csharp_grpc_library( -- name = "tables_csharp_grpc", -- srcs = [":tables_proto"], -- deps = [":tables_csharp_proto"], +- name = "budgets_csharp_grpc", +- srcs = [":budgets_proto"], +- deps = [":budgets_csharp_proto"], -) - -csharp_gapic_library( -- name = "tables_csharp_gapic", -- srcs = [":tables_proto_with_info"], +- name = "budgets_csharp_gapic", +- srcs = [":budgets_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "tables_grpc_service_config.json", +- grpc_service_config = "billingbudgets_grpc_service_config.json", - deps = [ -- ":tables_csharp_grpc", -- ":tables_csharp_proto", +- ":budgets_csharp_grpc", +- ":budgets_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-area120-tables-v1alpha1-csharp", +- name = "google-cloud-billing-budgets-v1beta1-csharp", - deps = [ -- ":tables_csharp_gapic", -- ":tables_csharp_grpc", -- ":tables_csharp_proto", +- ":budgets_csharp_gapic", +- ":budgets_csharp_grpc", +- ":budgets_csharp_proto", - ], -) - @@ -8906,20 +24364,10 @@ diff -urN a/google/area120/tables/v1alpha1/BUILD.bazel b/google/area120/tables/v -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/bigtable/BUILD.bazel b/google/bigtable/BUILD.bazel ---- a/google/bigtable/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/bigtable/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/bigtable/admin/BUILD.bazel b/google/bigtable/admin/BUILD.bazel ---- a/google/bigtable/admin/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/bigtable/admin/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/bigtable/admin/v2/BUILD.bazel b/google/bigtable/admin/v2/BUILD.bazel ---- a/google/bigtable/admin/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/bigtable/admin/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,377 +0,0 @@ +diff -urN a/google/cloud/billing/v1/BUILD.bazel b/google/cloud/billing/v1/BUILD.bazel +--- a/google/cloud/billing/v1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/billing/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,338 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -8932,13 +24380,10 @@ diff -urN a/google/bigtable/admin/v2/BUILD.bazel b/google/bigtable/admin/v2/BUIL -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "admin_proto", +- name = "billing_proto", - srcs = [ -- "bigtable_instance_admin.proto", -- "bigtable_table_admin.proto", -- "common.proto", -- "instance.proto", -- "table.proto", +- "cloud_billing.proto", +- "cloud_catalog.proto", - ], - deps = [ - "//google/api:annotations_proto", @@ -8947,19 +24392,16 @@ diff -urN a/google/bigtable/admin/v2/BUILD.bazel b/google/bigtable/admin/v2/BUIL - "//google/api:resource_proto", - "//google/iam/v1:iam_policy_proto", - "//google/iam/v1:policy_proto", -- "//google/longrunning:operations_proto", -- "//google/rpc:status_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:empty_proto", +- "//google/type:money_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "admin_proto_with_info", +- name = "billing_proto_with_info", - deps = [ -- ":admin_proto", +- ":billing_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -8977,48 +24419,47 @@ diff -urN a/google/bigtable/admin/v2/BUILD.bazel b/google/bigtable/admin/v2/BUIL -) - -java_proto_library( -- name = "admin_java_proto", -- deps = [":admin_proto"], +- name = "billing_java_proto", +- deps = [":billing_proto"], -) - -java_grpc_library( -- name = "admin_java_grpc", -- srcs = [":admin_proto"], -- deps = [":admin_java_proto"], +- name = "billing_java_grpc", +- srcs = [":billing_proto"], +- deps = [":billing_java_proto"], -) - -java_gapic_library( -- name = "admin_java_gapic", -- srcs = [":admin_proto_with_info"], -- gapic_yaml = "bigtableadmin_gapic.yaml", -- grpc_service_config = "bigtableadmin_grpc_service_config.json", +- name = "billing_java_gapic", +- srcs = [":billing_proto_with_info"], +- grpc_service_config = "cloud_billing_grpc_service_config.json", - test_deps = [ -- ":admin_java_grpc", +- ":billing_java_grpc", - "//google/iam/v1:iam_java_grpc", - ], - deps = [ -- ":admin_java_proto", +- ":billing_java_proto", - "//google/iam/v1:iam_java_proto", - ], -) - -java_gapic_test( -- name = "admin_java_gapic_test_suite", +- name = "billing_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClientTest", -- "com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClientTest", +- "com.google.cloud.billing.v1.CloudBillingClientTest", +- "com.google.cloud.billing.v1.CloudCatalogClientTest", - ], -- runtime_deps = [":admin_java_gapic_test"], +- runtime_deps = [":billing_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-bigtable-admin-v2-java", +- name = "google-cloud-billing-v1-java", - deps = [ -- ":admin_java_gapic", -- ":admin_java_grpc", -- ":admin_java_proto", -- ":admin_proto", +- ":billing_java_gapic", +- ":billing_java_grpc", +- ":billing_java_proto", +- ":billing_proto", - ], -) - @@ -9034,48 +24475,43 @@ diff -urN a/google/bigtable/admin/v2/BUILD.bazel b/google/bigtable/admin/v2/BUIL -) - -go_proto_library( -- name = "admin_go_proto", +- name = "billing_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/bigtable/admin/v2", -- protos = [":admin_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/billing/v1", +- protos = [":billing_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/iam/v1:iam_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "//google/rpc:status_go_proto", +- "//google/type:money_go_proto", - ], -) - -go_gapic_library( -- name = "admin_go_gapic", -- srcs = [":admin_proto_with_info"], -- grpc_service_config = "bigtableadmin_grpc_service_config.json", -- importpath = "cloud.google.com/go/bigtable/admin/apiv2;admin", -- service_yaml = "bigtableadmin_v2.yaml", +- name = "billing_go_gapic", +- srcs = [":billing_proto_with_info"], +- grpc_service_config = "cloud_billing_grpc_service_config.json", +- importpath = "cloud.google.com/go/billing/apiv1;billing", +- service_yaml = "cloudbilling.yaml", - deps = [ -- ":admin_go_proto", +- ":billing_go_proto", - "//google/iam/v1:iam_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "admin_go_gapic_test", -- srcs = [":admin_go_gapic_srcjar_test"], -- embed = [":admin_go_gapic"], -- importpath = "cloud.google.com/go/bigtable/admin/apiv2", +- name = "billing_go_gapic_test", +- srcs = [":billing_go_gapic_srcjar_test"], +- embed = [":billing_go_gapic"], +- importpath = "cloud.google.com/go/billing/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-bigtable-admin-v2-go", +- name = "gapi-cloud-billing-v1-go", - deps = [ -- ":admin_go_gapic", -- ":admin_go_gapic_srcjar-test.srcjar", -- ":admin_go_proto", +- ":billing_go_gapic", +- ":billing_go_gapic_srcjar-test.srcjar", +- ":billing_go_proto", - ], -) - @@ -9089,20 +24525,16 @@ diff -urN a/google/bigtable/admin/v2/BUILD.bazel b/google/bigtable/admin/v2/BUIL -) - -py_gapic_library( -- name = "bigtable_admin_py_gapic", -- srcs = [":admin_proto"], -- grpc_service_config = "bigtableadmin_grpc_service_config.json", -- opt_args = [ -- "python-gapic-namespace=google.cloud", -- "python-gapic-name=bigtable_admin", -- ], +- name = "billing_py_gapic", +- srcs = [":billing_proto"], +- grpc_service_config = "cloud_billing_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "bigtable-admin-v2-py", +- name = "billing-v1-py", - deps = [ -- ":bigtable_admin_py_gapic", +- ":billing_py_gapic", - ], -) - @@ -9118,36 +24550,33 @@ diff -urN a/google/bigtable/admin/v2/BUILD.bazel b/google/bigtable/admin/v2/BUIL -) - -php_proto_library( -- name = "admin_php_proto", -- deps = [":admin_proto"], +- name = "billing_php_proto", +- deps = [":billing_proto"], -) - -php_grpc_library( -- name = "admin_php_grpc", -- srcs = [":admin_proto"], -- deps = [":admin_php_proto"], +- name = "billing_php_grpc", +- srcs = [":billing_proto"], +- deps = [":billing_php_proto"], -) - -php_gapic_library( -- name = "admin_php_gapic", -- src = ":admin_proto_with_info", -- # Do not change this to the bigtableadmin_gapic.yaml, see tracking bug. -- gapic_yaml = "bigtableadmin_gapic.legacy.yaml", -- package = "google.bigtable.admin.v2", -- service_yaml = "bigtableadmin_v2.yaml", +- name = "billing_php_gapic", +- srcs = [":billing_proto_with_info"], +- grpc_service_config = "cloud_billing_grpc_service_config.json", - deps = [ -- ":admin_php_grpc", -- ":admin_php_proto", +- ":billing_php_grpc", +- ":billing_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-bigtable-admin-v2-php", +- name = "google-cloud-billing-v1-php", - deps = [ -- ":admin_php_gapic", -- ":admin_php_grpc", -- ":admin_php_proto", +- ":billing_php_gapic", +- ":billing_php_grpc", +- ":billing_php_proto", - ], -) - @@ -9161,22 +24590,21 @@ diff -urN a/google/bigtable/admin/v2/BUILD.bazel b/google/bigtable/admin/v2/BUIL -) - -nodejs_gapic_library( -- name = "admin_nodejs_gapic", -- package_name = "@google-cloud/bigtable", -- src = ":admin_proto_with_info", +- name = "billing_nodejs_gapic", +- package_name = "@google-cloud/billing", +- src = ":billing_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "bigtableadmin_grpc_service_config.json", -- main_service = "bigtable", -- package = "google.bigtable.admin.v2", -- service_yaml = "bigtableadmin_v2.yaml", +- grpc_service_config = "cloud_billing_grpc_service_config.json", +- package = "google.cloud.billing.v1", +- service_yaml = "cloudbilling.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "bigtable-admin-v2-nodejs", +- name = "billing-v1-nodejs", - deps = [ -- ":admin_nodejs_gapic", -- ":admin_proto", +- ":billing_nodejs_gapic", +- ":billing_proto", - ], -) - @@ -9185,49 +24613,49 @@ diff -urN a/google/bigtable/admin/v2/BUILD.bazel b/google/bigtable/admin/v2/BUIL -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "admin_ruby_proto", -- deps = [":admin_proto"], +- name = "billing_ruby_proto", +- deps = [":billing_proto"], -) - -ruby_grpc_library( -- name = "admin_ruby_grpc", -- srcs = [":admin_proto"], -- deps = [":admin_ruby_proto"], +- name = "billing_ruby_grpc", +- srcs = [":billing_proto"], +- deps = [":billing_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "admin_ruby_gapic", -- srcs = [":admin_proto_with_info"], +- name = "billing_ruby_gapic", +- srcs = [":billing_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-bigtable-admin-v2", -- "ruby-cloud-env-prefix=BIGTABLE", -- "ruby-cloud-product-url=https://cloud.google.com/bigtable", -- "ruby-cloud-api-id=bigtable.googleapis.com", -- "ruby-cloud-api-shortname=bigtable", +- "ruby-cloud-gem-name=google-cloud-billing-v1", +- "ruby-cloud-env-prefix=BILLING", +- "ruby-cloud-product-url=https://cloud.google.com/billing", +- "ruby-cloud-api-id=cloudbilling.googleapis.com", +- "ruby-cloud-api-shortname=cloudbilling", - ], -- grpc_service_config = "bigtableadmin_grpc_service_config.json", -- ruby_cloud_description = "Cloud Bigtable is a fully managed, scalable NoSQL database service for large analytical and operational workloads.", -- ruby_cloud_title = "Cloud Bigtable Admin V2", +- grpc_service_config = "cloud_billing_grpc_service_config.json", +- ruby_cloud_description = "Allows developers to manage billing for their Google Cloud Platform projects programmatically.", +- ruby_cloud_title = "Billing V1", - deps = [ -- ":admin_ruby_grpc", -- ":admin_ruby_proto", +- ":billing_ruby_grpc", +- ":billing_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-bigtable-admin-v2-ruby", +- name = "google-cloud-billing-v1-ruby", - deps = [ -- ":admin_ruby_gapic", -- ":admin_ruby_grpc", -- ":admin_ruby_proto", +- ":billing_ruby_gapic", +- ":billing_ruby_grpc", +- ":billing_ruby_proto", - ], -) - @@ -9243,65 +24671,55 @@ diff -urN a/google/bigtable/admin/v2/BUILD.bazel b/google/bigtable/admin/v2/BUIL -) - -csharp_proto_library( -- name = "admin_csharp_proto", -- deps = [":admin_proto"], +- name = "billing_csharp_proto", +- deps = [":billing_proto"], -) - -csharp_grpc_library( -- name = "admin_csharp_grpc", -- srcs = [":admin_proto"], -- deps = [":admin_csharp_proto"], +- name = "billing_csharp_grpc", +- srcs = [":billing_proto"], +- deps = [":billing_csharp_proto"], -) - -csharp_gapic_library( -- name = "admin_csharp_gapic", -- srcs = [":admin_proto_with_info"], +- name = "billing_csharp_gapic", +- srcs = [":billing_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "bigtableadmin_grpc_service_config.json", +- grpc_service_config = "cloud_billing_grpc_service_config.json", - deps = [ -- ":admin_csharp_grpc", -- ":admin_csharp_proto", +- ":billing_csharp_grpc", +- ":billing_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-bigtable-admin-v2-csharp", +- name = "google-cloud-billing-v1-csharp", - deps = [ -- ":admin_csharp_gapic", -- ":admin_csharp_grpc", -- ":admin_csharp_proto", +- ":billing_csharp_gapic", +- ":billing_csharp_grpc", +- ":billing_csharp_proto", - ], -) - -############################################################################## -# C++ -############################################################################## --# --# PLEASE DO NOT DELETE --# These rules are not auto-generated, but they are used by OSS C++ projects. --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "cc_grpc_library", -- "cc_proto_library", --) -- --cc_proto_library( -- name = "admin_cc_proto", -- deps = [":admin_proto"], --) -- --cc_grpc_library( -- name = "admin_cc_grpc", -- srcs = [":admin_proto"], -- grpc_only = True, -- deps = [":admin_cc_proto"], --) -diff -urN a/google/bigtable/v2/BUILD.bazel b/google/bigtable/v2/BUILD.bazel ---- a/google/bigtable/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/bigtable/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,350 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/binaryauthorization/v1beta1/BUILD.bazel b/google/cloud/binaryauthorization/v1beta1/BUILD.bazel +--- a/google/cloud/binaryauthorization/v1beta1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/binaryauthorization/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,343 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -9313,25 +24731,26 @@ diff -urN a/google/bigtable/v2/BUILD.bazel b/google/bigtable/v2/BUILD.bazel -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "bigtable_proto", +- name = "binaryauthorization_proto", - srcs = [ -- "bigtable.proto", -- "data.proto", +- "continuous_validation_logging.proto", +- "resources.proto", +- "service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/rpc:status_proto", -- "@com_google_protobuf//:wrappers_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "bigtable_proto_with_info", +- name = "binaryauthorization_proto_with_info", - deps = [ -- ":bigtable_proto", +- ":binaryauthorization_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -9349,45 +24768,44 @@ diff -urN a/google/bigtable/v2/BUILD.bazel b/google/bigtable/v2/BUILD.bazel -) - -java_proto_library( -- name = "bigtable_java_proto", -- deps = [":bigtable_proto"], +- name = "binaryauthorization_java_proto", +- deps = [":binaryauthorization_proto"], -) - -java_grpc_library( -- name = "bigtable_java_grpc", -- srcs = [":bigtable_proto"], -- deps = [":bigtable_java_proto"], +- name = "binaryauthorization_java_grpc", +- srcs = [":binaryauthorization_proto"], +- deps = [":binaryauthorization_java_proto"], -) - -java_gapic_library( -- name = "bigtable_java_gapic", -- srcs = [":bigtable_proto_with_info"], -- gapic_yaml = "bigtable_gapic.yaml", -- grpc_service_config = "bigtable_grpc_service_config.json", +- name = "binaryauthorization_java_gapic", +- srcs = [":binaryauthorization_proto_with_info"], +- grpc_service_config = "binaryauthorization_grpc_service_config.json", - test_deps = [ -- ":bigtable_java_grpc", +- ":binaryauthorization_java_grpc", - ], - deps = [ -- ":bigtable_java_proto", +- ":binaryauthorization_java_proto", - ], -) - -java_gapic_test( -- name = "bigtable_java_gapic_test_suite", +- name = "binaryauthorization_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.bigtable.data.v2.BaseBigtableDataClientTest", +- "com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1ClientTest", - ], -- runtime_deps = [":bigtable_java_gapic_test"], +- runtime_deps = [":binaryauthorization_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-bigtable-v2-java", +- name = "google-cloud-binaryauthorization-v1beta1-java", - deps = [ -- ":bigtable_java_gapic", -- ":bigtable_java_grpc", -- ":bigtable_java_proto", -- ":bigtable_proto", +- ":binaryauthorization_java_gapic", +- ":binaryauthorization_java_grpc", +- ":binaryauthorization_java_proto", +- ":binaryauthorization_proto", - ], -) - @@ -9403,41 +24821,42 @@ diff -urN a/google/bigtable/v2/BUILD.bazel b/google/bigtable/v2/BUILD.bazel -) - -go_proto_library( -- name = "bigtable_go_proto", +- name = "binaryauthorization_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/bigtable/v2", -- protos = [":bigtable_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/binaryauthorization/v1beta1", +- protos = [":binaryauthorization_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/rpc:status_go_proto", - ], -) - -go_gapic_library( -- name = "bigtable_go_gapic", -- srcs = [":bigtable_proto_with_info"], -- grpc_service_config = "bigtable_grpc_service_config.json", -- importpath = "cloud.google.com/go/bigtable/apiv2;bigtable", -- service_yaml = "bigtable_v2.yaml", +- name = "binaryauthorization_go_gapic", +- srcs = [":binaryauthorization_proto_with_info"], +- grpc_service_config = "binaryauthorization_grpc_service_config.json", +- importpath = "cloud.google.com/go/binaryauthorization/apiv1beta1;binaryauthorization", +- metadata = True, +- service_yaml = "binaryauthorization_v1beta1.yaml", - deps = [ -- ":bigtable_go_proto", +- ":binaryauthorization_go_proto", - ], -) - -go_test( -- name = "bigtable_go_gapic_test", -- srcs = [":bigtable_go_gapic_srcjar_test"], -- embed = [":bigtable_go_gapic"], -- importpath = "cloud.google.com/go/bigtable/apiv2", +- name = "binaryauthorization_go_gapic_test", +- srcs = [":binaryauthorization_go_gapic_srcjar_test"], +- embed = [":binaryauthorization_go_gapic"], +- importpath = "cloud.google.com/go/binaryauthorization/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-bigtable-v2-go", +- name = "gapi-cloud-binaryauthorization-v1beta1-go", - deps = [ -- ":bigtable_go_gapic", -- ":bigtable_go_gapic_srcjar-test.srcjar", -- ":bigtable_go_proto", +- ":binaryauthorization_go_gapic", +- ":binaryauthorization_go_gapic_srcjar-metadata.srcjar", +- ":binaryauthorization_go_gapic_srcjar-test.srcjar", +- ":binaryauthorization_go_proto", - ], -) - @@ -9451,16 +24870,16 @@ diff -urN a/google/bigtable/v2/BUILD.bazel b/google/bigtable/v2/BUILD.bazel -) - -py_gapic_library( -- name = "bigtable_py_gapic", -- srcs = [":bigtable_proto"], -- grpc_service_config = "bigtable_grpc_service_config.json", -- opt_args = ["python-gapic-namespace=google.cloud"], +- name = "binaryauthorization_py_gapic", +- srcs = [":binaryauthorization_proto"], +- grpc_service_config = "binaryauthorization_grpc_service_config.json", -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "bigtable-v2-py", +- name = "binaryauthorization-v1beta1-py", - deps = [ -- ":bigtable_py_gapic", +- ":binaryauthorization_py_gapic", - ], -) - @@ -9476,35 +24895,34 @@ diff -urN a/google/bigtable/v2/BUILD.bazel b/google/bigtable/v2/BUILD.bazel -) - -php_proto_library( -- name = "bigtable_php_proto", -- deps = [":bigtable_proto"], +- name = "binaryauthorization_php_proto", +- deps = [":binaryauthorization_proto"], -) - -php_grpc_library( -- name = "bigtable_php_grpc", -- srcs = [":bigtable_proto"], -- deps = [":bigtable_php_proto"], +- name = "binaryauthorization_php_grpc", +- srcs = [":binaryauthorization_proto"], +- deps = [":binaryauthorization_php_proto"], -) - -php_gapic_library( -- name = "bigtable_php_gapic", -- src = ":bigtable_proto_with_info", -- gapic_yaml = "bigtable_gapic.yaml", -- package = "google.bigtable.v2", -- service_yaml = "bigtable_v2.yaml", +- name = "binaryauthorization_php_gapic", +- srcs = [":binaryauthorization_proto_with_info"], +- grpc_service_config = "binaryauthorization_grpc_service_config.json", +- service_yaml = "binaryauthorization_v1beta1.yaml", - deps = [ -- ":bigtable_php_grpc", -- ":bigtable_php_proto", +- ":binaryauthorization_php_grpc", +- ":binaryauthorization_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-bigtable-v2-php", +- name = "google-cloud-binaryauthorization-v1beta1-php", - deps = [ -- ":bigtable_php_gapic", -- ":bigtable_php_grpc", -- ":bigtable_php_proto", +- ":binaryauthorization_php_gapic", +- ":binaryauthorization_php_grpc", +- ":binaryauthorization_php_proto", - ], -) - @@ -9518,22 +24936,21 @@ diff -urN a/google/bigtable/v2/BUILD.bazel b/google/bigtable/v2/BUILD.bazel -) - -nodejs_gapic_library( -- name = "bigtable_nodejs_gapic", -- package_name = "@google-cloud/bigtable", -- src = ":bigtable_proto_with_info", +- name = "binaryauthorization_nodejs_gapic", +- package_name = "@google-cloud/binary-authorization", +- src = ":binaryauthorization_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "bigtable_grpc_service_config.json", -- main_service = "bigtable", -- package = "google.bigtable.v2", -- service_yaml = "bigtable_v2.yaml", +- grpc_service_config = "binaryauthorization_grpc_service_config.json", +- package = "google.cloud.binaryauthorization.v1beta1", +- service_yaml = "binaryauthorization_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "bigtable-v2-nodejs", +- name = "binaryauthorization-v1beta1-nodejs", - deps = [ -- ":bigtable_nodejs_gapic", -- ":bigtable_proto", +- ":binaryauthorization_nodejs_gapic", +- ":binaryauthorization_proto", - ], -) - @@ -9542,49 +24959,50 @@ diff -urN a/google/bigtable/v2/BUILD.bazel b/google/bigtable/v2/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "bigtable_ruby_proto", -- deps = [":bigtable_proto"], +- name = "binaryauthorization_ruby_proto", +- deps = [":binaryauthorization_proto"], -) - -ruby_grpc_library( -- name = "bigtable_ruby_grpc", -- srcs = [":bigtable_proto"], -- deps = [":bigtable_ruby_proto"], +- name = "binaryauthorization_ruby_grpc", +- srcs = [":binaryauthorization_proto"], +- deps = [":binaryauthorization_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "bigtable_ruby_gapic", -- srcs = [":bigtable_proto_with_info"], +- name = "binaryauthorization_ruby_gapic", +- srcs = [":binaryauthorization_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-bigtable-v2", -- "ruby-cloud-env-prefix=BIGTABLE", -- "ruby-cloud-product-url=https://cloud.google.com/bigtable", -- "ruby-cloud-api-id=bigtable.googleapis.com", -- "ruby-cloud-api-shortname=bigtable", +- "ruby-cloud-api-id=binaryauthorization.googleapis.com", +- "ruby-cloud-api-shortname=binaryauthorization", +- "ruby-cloud-env-prefix=BINARY_AUTHORIZATION", +- "ruby-cloud-gem-name=google-cloud-binary_authorization-v1beta1", +- "ruby-cloud-product-url=https://cloud.google.com/binary-authorization/", +- "ruby-cloud-service-override=BinauthzManagementServiceV1Beta1=BinauthzManagementService", - ], -- grpc_service_config = "bigtable_grpc_service_config.json", -- ruby_cloud_description = "Cloud Bigtable is a fully managed, scalable NoSQL database service for large analytical and operational workloads.", -- ruby_cloud_title = "Cloud Bigtable V2", +- grpc_service_config = "binaryauthorization_grpc_service_config.json", +- ruby_cloud_description = "Binary Authorization is a service on Google Cloud that provides centralized software supply-chain security for applications that run on Google Kubernetes Engine (GKE) and GKE on-prem.", +- ruby_cloud_title = "Binary Authorization V1beta1", - deps = [ -- ":bigtable_ruby_grpc", -- ":bigtable_ruby_proto", +- ":binaryauthorization_ruby_grpc", +- ":binaryauthorization_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-bigtable-v2-ruby", +- name = "google-cloud-binaryauthorization-v1beta1-ruby", - deps = [ -- ":bigtable_ruby_gapic", -- ":bigtable_ruby_grpc", -- ":bigtable_ruby_proto", +- ":binaryauthorization_ruby_gapic", +- ":binaryauthorization_ruby_grpc", +- ":binaryauthorization_ruby_proto", - ], -) - @@ -9600,67 +25018,55 @@ diff -urN a/google/bigtable/v2/BUILD.bazel b/google/bigtable/v2/BUILD.bazel -) - -csharp_proto_library( -- name = "bigtable_csharp_proto", -- deps = [":bigtable_proto"], +- name = "binaryauthorization_csharp_proto", +- deps = [":binaryauthorization_proto"], -) - -csharp_grpc_library( -- name = "bigtable_csharp_grpc", -- srcs = [":bigtable_proto"], -- deps = [":bigtable_csharp_proto"], +- name = "binaryauthorization_csharp_grpc", +- srcs = [":binaryauthorization_proto"], +- deps = [":binaryauthorization_csharp_proto"], -) - -csharp_gapic_library( -- name = "bigtable_csharp_gapic", -- srcs = [":bigtable_proto_with_info"], +- name = "binaryauthorization_csharp_gapic", +- srcs = [":binaryauthorization_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "bigtable_grpc_service_config.json", +- grpc_service_config = "binaryauthorization_grpc_service_config.json", - deps = [ -- ":bigtable_csharp_grpc", -- ":bigtable_csharp_proto", +- ":binaryauthorization_csharp_grpc", +- ":binaryauthorization_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-bigtable-v2-csharp", +- name = "google-cloud-binaryauthorization-v1beta1-csharp", - deps = [ -- ":bigtable_csharp_gapic", -- ":bigtable_csharp_grpc", -- ":bigtable_csharp_proto", +- ":binaryauthorization_csharp_gapic", +- ":binaryauthorization_csharp_grpc", +- ":binaryauthorization_csharp_proto", - ], -) - -############################################################################## -# C++ -############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "cc_grpc_library", -- "cc_proto_library", --) -- --cc_proto_library( -- name = "bigtable_cc_proto", -- deps = [":bigtable_proto"], --) -- --cc_grpc_library( -- name = "bigtable_cc_grpc", -- srcs = [":bigtable_proto"], -- grpc_only = True, -- deps = [":bigtable_cc_proto"], --) -diff -urN a/google/chromeos/moblab/BUILD.bazel b/google/chromeos/moblab/BUILD.bazel ---- a/google/chromeos/moblab/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/chromeos/moblab/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/chromeos/moblab/v1beta1/BUILD.bazel b/google/chromeos/moblab/v1beta1/BUILD.bazel ---- a/google/chromeos/moblab/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/chromeos/moblab/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,328 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/channel/v1/BUILD.bazel b/google/cloud/channel/v1/BUILD.bazel +--- a/google/cloud/channel/v1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/channel/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,358 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -9672,10 +25078,17 @@ diff -urN a/google/chromeos/moblab/v1beta1/BUILD.bazel b/google/chromeos/moblab/ -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "moblab_proto", +- name = "channel_proto", - srcs = [ -- "build_service.proto", -- "resources.proto", +- "channel_partner_links.proto", +- "common.proto", +- "customers.proto", +- "entitlements.proto", +- "offers.proto", +- "operations.proto", +- "products.proto", +- "service.proto", +- "subscriber_event.proto", - ], - deps = [ - "//google/api:annotations_proto", @@ -9683,15 +25096,20 @@ diff -urN a/google/chromeos/moblab/v1beta1/BUILD.bazel b/google/chromeos/moblab/ - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "//google/longrunning:operations_proto", +- "//google/type:money_proto", +- "//google/type:postal_address_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "moblab_proto_with_info", +- name = "channel_proto_with_info", - deps = [ -- ":moblab_proto", +- ":channel_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -9709,44 +25127,43 @@ diff -urN a/google/chromeos/moblab/v1beta1/BUILD.bazel b/google/chromeos/moblab/ -) - -java_proto_library( -- name = "moblab_java_proto", -- deps = [":moblab_proto"], +- name = "channel_java_proto", +- deps = [":channel_proto"], -) - -java_grpc_library( -- name = "moblab_java_grpc", -- srcs = [":moblab_proto"], -- deps = [":moblab_java_proto"], +- name = "channel_java_grpc", +- srcs = [":channel_proto"], +- deps = [":channel_java_proto"], -) - -java_gapic_library( -- name = "moblab_java_gapic", -- srcs = [":moblab_proto_with_info"], -- grpc_service_config = "moblab_grpc_service_config.json", +- name = "channel_java_gapic", +- srcs = [":channel_proto_with_info"], +- grpc_service_config = "cloudchannel_grpc_service_config.json", - test_deps = [ -- ":moblab_java_grpc", +- ":channel_java_grpc", - ], - deps = [ -- ":moblab_java_proto", +- ":channel_java_proto", - ], -) - -java_gapic_test( -- name = "moblab_java_gapic_test_suite", +- name = "channel_java_gapic_test_suite", - test_classes = [ -- "com.google.chromeos.moblab.v1beta1.BuildServiceClientTest", - ], -- runtime_deps = [":moblab_java_gapic_test"], +- runtime_deps = [":channel_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-chromeos-moblab-v1beta1-java", +- name = "google-cloud-channel-v1-java", - deps = [ -- ":moblab_java_gapic", -- ":moblab_java_grpc", -- ":moblab_java_proto", -- ":moblab_proto", +- ":channel_java_gapic", +- ":channel_java_grpc", +- ":channel_java_proto", +- ":channel_proto", - ], -) - @@ -9762,44 +25179,47 @@ diff -urN a/google/chromeos/moblab/v1beta1/BUILD.bazel b/google/chromeos/moblab/ -) - -go_proto_library( -- name = "moblab_go_proto", +- name = "channel_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/chromeos/moblab/v1beta1", -- protos = [":moblab_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/channel/v1", +- protos = [":channel_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/longrunning:longrunning_go_proto", +- "//google/type:money_go_proto", +- "//google/type:postaladdress_go_proto", - ], -) - -go_gapic_library( -- name = "moblab_go_gapic", -- srcs = [":moblab_proto_with_info"], -- grpc_service_config = "moblab_grpc_service_config.json", -- importpath = "google.golang.org/google/chromeos/moblab/v1beta1;moblab", -- service_yaml = "chromeosmoblab_v1beta1.yaml", +- name = "channel_go_gapic", +- srcs = [":channel_proto_with_info"], +- grpc_service_config = "cloudchannel_grpc_service_config.json", +- importpath = "cloud.google.com/go/channel/apiv1;channel", +- service_yaml = "cloudchannel_v1.yaml", - deps = [ -- ":moblab_go_proto", +- ":channel_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:any_go_proto", - ], -) - -go_test( -- name = "moblab_go_gapic_test", -- srcs = [":moblab_go_gapic_srcjar_test"], -- embed = [":moblab_go_gapic"], -- importpath = "google.golang.org/google/chromeos/moblab/v1beta1", +- name = "channel_go_gapic_test", +- srcs = [":channel_go_gapic_srcjar_test"], +- embed = [":channel_go_gapic"], +- importpath = "cloud.google.com/go/channel/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-chromeos-moblab-v1beta1-go", +- name = "gapi-cloud-channel-v1-go", - deps = [ -- ":moblab_go_gapic", -- ":moblab_go_gapic_srcjar-test.srcjar", -- ":moblab_go_proto", +- ":channel_go_gapic", +- ":channel_go_gapic_srcjar-test.srcjar", +- ":channel_go_proto", - ], -) - @@ -9813,16 +25233,16 @@ diff -urN a/google/chromeos/moblab/v1beta1/BUILD.bazel b/google/chromeos/moblab/ -) - -py_gapic_library( -- name = "moblab_py_gapic", -- srcs = [":moblab_proto"], -- grpc_service_config = "moblab_grpc_service_config.json", +- name = "channel_py_gapic", +- srcs = [":channel_proto"], +- grpc_service_config = "cloudchannel_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "chromeos-moblab-v1beta1-py", +- name = "channel-v1-py", - deps = [ -- ":moblab_py_gapic", +- ":channel_py_gapic", - ], -) - @@ -9838,35 +25258,34 @@ diff -urN a/google/chromeos/moblab/v1beta1/BUILD.bazel b/google/chromeos/moblab/ -) - -php_proto_library( -- name = "moblab_php_proto", -- deps = [":moblab_proto"], +- name = "channel_php_proto", +- deps = [":channel_proto"], -) - -php_grpc_library( -- name = "moblab_php_grpc", -- srcs = [":moblab_proto"], -- deps = [":moblab_php_proto"], +- name = "channel_php_grpc", +- srcs = [":channel_proto"], +- deps = [":channel_php_proto"], -) - -php_gapic_library( -- name = "moblab_php_gapic", -- src = ":moblab_proto_with_info", -- gapic_yaml = "chromeosmoblab_gapic.yaml", -- package = "google.chromeos.moblab.v1beta1", -- service_yaml = "chromeosmoblab_v1beta1.yaml", +- name = "channel_php_gapic", +- srcs = [":channel_proto_with_info"], +- grpc_service_config = "cloudchannel_grpc_service_config.json", +- service_yaml = "cloudchannel_v1.yaml", - deps = [ -- ":moblab_php_grpc", -- ":moblab_php_proto", +- ":channel_php_grpc", +- ":channel_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-chromeos-moblab-v1beta1-php", +- name = "google-cloud-channel-v1-php", - deps = [ -- ":moblab_php_gapic", -- ":moblab_php_grpc", -- ":moblab_php_proto", +- ":channel_php_gapic", +- ":channel_php_grpc", +- ":channel_php_proto", - ], -) - @@ -9880,20 +25299,21 @@ diff -urN a/google/chromeos/moblab/v1beta1/BUILD.bazel b/google/chromeos/moblab/ -) - -nodejs_gapic_library( -- name = "moblab_nodejs_gapic", -- src = ":moblab_proto_with_info", +- name = "channel_nodejs_gapic", +- package_name = "@google-cloud/channel", +- src = ":channel_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "moblab_grpc_service_config.json", -- package = "google.chromeos.moblab.v1beta1", -- service_yaml = "chromeosmoblab_v1beta1.yaml", +- grpc_service_config = "cloudchannel_grpc_service_config.json", +- package = "google.cloud.channel.v1", +- service_yaml = "cloudchannel_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "chromeos-moblab-v1beta1-nodejs", +- name = "channel-v1-nodejs", - deps = [ -- ":moblab_nodejs_gapic", -- ":moblab_proto", +- ":channel_nodejs_gapic", +- ":channel_proto", - ], -) - @@ -9902,42 +25322,49 @@ diff -urN a/google/chromeos/moblab/v1beta1/BUILD.bazel b/google/chromeos/moblab/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "moblab_ruby_proto", -- deps = [":moblab_proto"], +- name = "channel_ruby_proto", +- deps = [":channel_proto"], -) - -ruby_grpc_library( -- name = "moblab_ruby_grpc", -- srcs = [":moblab_proto"], -- deps = [":moblab_ruby_proto"], +- name = "channel_ruby_grpc", +- srcs = [":channel_proto"], +- deps = [":channel_ruby_proto"], -) - --ruby_gapic_library( -- name = "moblab_ruby_gapic", -- src = ":moblab_proto_with_info", -- gapic_yaml = "chromeosmoblab_gapic.yaml", -- package = "google.chromeos.moblab.v1beta1", -- service_yaml = "chromeosmoblab_v1beta1.yaml", +-ruby_cloud_gapic_library( +- name = "channel_ruby_gapic", +- srcs = [":channel_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-channel-v1", +- "ruby-cloud-env-prefix=CHANNEL", +- "ruby-cloud-product-url=https://cloud.google.com/channel", +- "ruby-cloud-api-id=cloudchannel.googleapis.com", +- "ruby-cloud-api-shortname=cloudchannel", +- ], +- grpc_service_config = "cloudchannel_grpc_service_config.json", +- ruby_cloud_description = "You can use Channel Services to manage your relationships with your partners and your customers. Channel Services include a console and APIs to view and provision links between distributors and resellers, customers and entitlements.", +- ruby_cloud_title = "Cloud Channel V1", - deps = [ -- ":moblab_ruby_grpc", -- ":moblab_ruby_proto", +- ":channel_ruby_grpc", +- ":channel_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-chromeos-moblab-v1beta1-ruby", +- name = "google-cloud-channel-v1-ruby", - deps = [ -- ":moblab_ruby_gapic", -- ":moblab_ruby_grpc", -- ":moblab_ruby_proto", +- ":channel_ruby_gapic", +- ":channel_ruby_grpc", +- ":channel_ruby_proto", - ], -) - @@ -9953,34 +25380,34 @@ diff -urN a/google/chromeos/moblab/v1beta1/BUILD.bazel b/google/chromeos/moblab/ -) - -csharp_proto_library( -- name = "moblab_csharp_proto", -- deps = [":moblab_proto"], +- name = "channel_csharp_proto", +- deps = [":channel_proto"], -) - -csharp_grpc_library( -- name = "moblab_csharp_grpc", -- srcs = [":moblab_proto"], -- deps = [":moblab_csharp_proto"], +- name = "channel_csharp_grpc", +- srcs = [":channel_proto"], +- deps = [":channel_csharp_proto"], -) - -csharp_gapic_library( -- name = "moblab_csharp_gapic", -- srcs = [":moblab_proto_with_info"], +- name = "channel_csharp_gapic", +- srcs = [":channel_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "moblab_grpc_service_config.json", +- grpc_service_config = "cloudchannel_grpc_service_config.json", - deps = [ -- ":moblab_csharp_grpc", -- ":moblab_csharp_proto", +- ":channel_csharp_grpc", +- ":channel_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-chromeos-moblab-v1beta1-csharp", +- name = "google-cloud-channel-v1-csharp", - deps = [ -- ":moblab_csharp_gapic", -- ":moblab_csharp_grpc", -- ":moblab_csharp_proto", +- ":channel_csharp_gapic", +- ":channel_csharp_grpc", +- ":channel_csharp_proto", - ], -) - @@ -9988,11 +25415,11 @@ diff -urN a/google/chromeos/moblab/v1beta1/BUILD.bazel b/google/chromeos/moblab/ -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/BUILD.bazel b/google/cloud/BUILD.bazel ---- a/google/cloud/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,13 +0,0 @@ --load("@rules_proto//proto:defs.bzl", "proto_library") +diff -urN a/google/cloud/clouddms/logging/v1/BUILD.bazel b/google/cloud/clouddms/logging/v1/BUILD.bazel +--- a/google/cloud/clouddms/logging/v1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/clouddms/logging/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,167 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -10000,17 +25427,171 @@ diff -urN a/google/cloud/BUILD.bazel b/google/cloud/BUILD.bazel -############################################################################## -# Common -############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- -proto_library( -- name = "common_resources_proto", -- srcs = ["common_resources.proto"], -- deps = ["//google/api:resource_proto"], +- name = "logging_proto", +- srcs = [ +- "clouddms_platform_logs.proto", +- ], +- deps = [ +- "//google/api:field_behavior_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], -) -diff -urN a/google/cloud/accessapproval/v1/BUILD.bazel b/google/cloud/accessapproval/v1/BUILD.bazel ---- a/google/cloud/accessapproval/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/accessapproval/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,341 +0,0 @@ +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "logging_java_proto", +- deps = [":logging_proto"], +-) +- +-java_grpc_library( +- name = "logging_java_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_java_proto"], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "logging_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/clouddms/logging/v1", +- protos = [":logging_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/rpc:status_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "moved_proto_library", +- "py_grpc_library", +- "py_proto_library", +-) +- +-moved_proto_library( +- name = "logging_moved_proto", +- srcs = [":logging_proto"], +- deps = [ +- "//google/api:field_behavior_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-py_proto_library( +- name = "logging_py_proto", +- deps = [":logging_moved_proto"], +-) +- +-py_grpc_library( +- name = "logging_py_grpc", +- srcs = [":logging_moved_proto"], +- deps = [":logging_py_proto"], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "logging_php_proto", +- deps = [":logging_proto"], +-) +- +-php_grpc_library( +- name = "logging_php_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_php_proto"], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "logging_ruby_proto", +- deps = [":logging_proto"], +-) +- +-ruby_grpc_library( +- name = "logging_ruby_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_ruby_proto"], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "logging_csharp_proto", +- deps = [":logging_proto"], +-) +- +-csharp_grpc_library( +- name = "logging_csharp_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/cloud/clouddms/v1/BUILD.bazel b/google/cloud/clouddms/v1/BUILD.bazel +--- a/google/cloud/clouddms/v1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/clouddms/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,354 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +-# https://github.com/googleapis/rules_gapic/tree/master/bazel - -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: @@ -10030,24 +25611,29 @@ diff -urN a/google/cloud/accessapproval/v1/BUILD.bazel b/google/cloud/accessappr -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "accessapproval_proto", +- name = "clouddms_proto", - srcs = [ -- "accessapproval.proto", +- "clouddms.proto", +- "clouddms_resources.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "@com_google_protobuf//:empty_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "accessapproval_proto_with_info", +- name = "clouddms_proto_with_info", - deps = [ -- ":accessapproval_proto", +- ":clouddms_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -10065,45 +25651,44 @@ diff -urN a/google/cloud/accessapproval/v1/BUILD.bazel b/google/cloud/accessappr -) - -java_proto_library( -- name = "accessapproval_java_proto", -- deps = [":accessapproval_proto"], +- name = "clouddms_java_proto", +- deps = [":clouddms_proto"], -) - -java_grpc_library( -- name = "accessapproval_java_grpc", -- srcs = [":accessapproval_proto"], -- deps = [":accessapproval_java_proto"], +- name = "clouddms_java_grpc", +- srcs = [":clouddms_proto"], +- deps = [":clouddms_java_proto"], -) - -java_gapic_library( -- name = "accessapproval_java_gapic", -- srcs = [":accessapproval_proto_with_info"], -- gapic_yaml = "accessapproval_gapic.yaml", -- grpc_service_config = "accessapproval_grpc_service_config.json", +- name = "clouddms_java_gapic", +- srcs = [":clouddms_proto_with_info"], +- grpc_service_config = "library_grpc_service_config.json", - test_deps = [ -- ":accessapproval_java_grpc", +- ":clouddms_java_grpc", - ], - deps = [ -- ":accessapproval_java_proto", +- ":clouddms_java_proto", - ], -) - -java_gapic_test( -- name = "accessapproval_java_gapic_test_suite", +- name = "clouddms_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.accessapproval.v1.AccessApprovalAdminClientTest", +- "com.google.cloud.clouddms.v1.DataMigrationServiceClientTest", - ], -- runtime_deps = [":accessapproval_java_gapic_test"], +- runtime_deps = [":clouddms_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-accessapproval-v1-java", +- name = "google-cloud-clouddms-v1-java", - deps = [ -- ":accessapproval_java_gapic", -- ":accessapproval_java_grpc", -- ":accessapproval_java_proto", -- ":accessapproval_proto", +- ":clouddms_java_gapic", +- ":clouddms_java_grpc", +- ":clouddms_java_proto", +- ":clouddms_proto", - ], -) - @@ -10119,40 +25704,48 @@ diff -urN a/google/cloud/accessapproval/v1/BUILD.bazel b/google/cloud/accessappr -) - -go_proto_library( -- name = "accessapproval_go_proto", +- name = "clouddms_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/accessapproval/v1", -- protos = [":accessapproval_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/clouddms/v1", +- protos = [":clouddms_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", - ], -) - -go_gapic_library( -- name = "accessapproval_go_gapic", -- srcs = [":accessapproval_proto_with_info"], -- grpc_service_config = "accessapproval_grpc_service_config.json", -- importpath = "cloud.google.com/go/accessapproval/apiv1;accessapproval", -- service_yaml = "accessapproval_v1.yaml", +- name = "clouddms_go_gapic", +- srcs = [":clouddms_proto_with_info"], +- grpc_service_config = "library_grpc_service_config.json", +- importpath = "cloud.google.com/go/clouddms/apiv1;clouddms", +- metadata = True, +- service_yaml = "datamigration_v1.yaml", - deps = [ -- ":accessapproval_go_proto", +- ":clouddms_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "accessapproval_go_gapic_test", -- srcs = [":accessapproval_go_gapic_srcjar_test"], -- embed = [":accessapproval_go_gapic"], -- importpath = "cloud.google.com/go/accessapproval/apiv1", +- name = "clouddms_go_gapic_test", +- srcs = [":clouddms_go_gapic_srcjar_test"], +- embed = [":clouddms_go_gapic"], +- importpath = "cloud.google.com/go/clouddms/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-accessapproval-v1-go", +- name = "gapi-cloud-clouddms-v1-go", - deps = [ -- ":accessapproval_go_gapic", -- ":accessapproval_go_gapic_srcjar-test.srcjar", -- ":accessapproval_go_proto", +- ":clouddms_go_gapic", +- ":clouddms_go_gapic_srcjar-metadata.srcjar", +- ":clouddms_go_gapic_srcjar-test.srcjar", +- ":clouddms_go_proto", - ], -) - @@ -10166,16 +25759,17 @@ diff -urN a/google/cloud/accessapproval/v1/BUILD.bazel b/google/cloud/accessappr -) - -py_gapic_library( -- name = "accessapproval_py_gapic", -- srcs = [":accessapproval_proto"], -- grpc_service_config = "accessapproval_grpc_service_config.json", +- name = "clouddms_py_gapic", +- srcs = [":clouddms_proto"], +- grpc_service_config = "library_grpc_service_config.json", +- opt_args = ["warehouse-package-name=google-cloud-dms"] -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "accessapproval-v1-py", +- name = "clouddms-v1-py", - deps = [ -- ":accessapproval_py_gapic", +- ":clouddms_py_gapic", - ], -) - @@ -10191,36 +25785,34 @@ diff -urN a/google/cloud/accessapproval/v1/BUILD.bazel b/google/cloud/accessappr -) - -php_proto_library( -- name = "accessapproval_php_proto", -- deps = [":accessapproval_proto"], --) -- --php_grpc_library( -- name = "accessapproval_php_grpc", -- srcs = [":accessapproval_proto"], -- deps = [":accessapproval_php_proto"], +- name = "clouddms_php_proto", +- deps = [":clouddms_proto"], -) - --php_gapic_library( -- name = "accessapproval_php_gapic", -- src = ":accessapproval_proto_with_info", -- gapic_yaml = "accessapproval_gapic.yaml", -- grpc_service_config = "accessapproval_grpc_service_config.json", -- package = "google.cloud.accessapproval.v1", -- service_yaml = "accessapproval_v1.yaml", +-php_grpc_library( +- name = "clouddms_php_grpc", +- srcs = [":clouddms_proto"], +- deps = [":clouddms_php_proto"], +-) +- +-php_gapic_library( +- name = "clouddms_php_gapic", +- srcs = [":clouddms_proto_with_info"], +- grpc_service_config = "library_grpc_service_config.json", +- service_yaml = "datamigration_v1.yaml", - deps = [ -- ":accessapproval_php_grpc", -- ":accessapproval_php_proto", +- ":clouddms_php_grpc", +- ":clouddms_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-accessapproval-v1-php", +- name = "google-cloud-clouddms-v1-php", - deps = [ -- ":accessapproval_php_gapic", -- ":accessapproval_php_grpc", -- ":accessapproval_php_proto", +- ":clouddms_php_gapic", +- ":clouddms_php_grpc", +- ":clouddms_php_proto", - ], -) - @@ -10234,21 +25826,21 @@ diff -urN a/google/cloud/accessapproval/v1/BUILD.bazel b/google/cloud/accessappr -) - -nodejs_gapic_library( -- name = "accessapproval_nodejs_gapic", -- package_name = "@google-cloud/access-approval", -- src = ":accessapproval_proto_with_info", +- name = "clouddms_nodejs_gapic", +- package_name = "@google-cloud/dms", +- src = ":clouddms_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "accessapproval_grpc_service_config.json", -- package = "google.cloud.accessapproval.v1", -- service_yaml = "accessapproval_v1.yaml", +- grpc_service_config = "library_grpc_service_config.json", +- package = "google.cloud.clouddms.v1", +- service_yaml = "datamigration_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "accessapproval-v1-nodejs", +- name = "clouddms-v1-nodejs", - deps = [ -- ":accessapproval_nodejs_gapic", -- ":accessapproval_proto", +- ":clouddms_nodejs_gapic", +- ":clouddms_proto", - ], -) - @@ -10257,49 +25849,51 @@ diff -urN a/google/cloud/accessapproval/v1/BUILD.bazel b/google/cloud/accessappr -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "accessapproval_ruby_proto", -- deps = [":accessapproval_proto"], +- name = "clouddms_ruby_proto", +- deps = [":clouddms_proto"], -) - -ruby_grpc_library( -- name = "accessapproval_ruby_grpc", -- srcs = [":accessapproval_proto"], -- deps = [":accessapproval_ruby_proto"], +- name = "clouddms_ruby_grpc", +- srcs = [":clouddms_proto"], +- deps = [":clouddms_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "accessapproval_ruby_gapic", -- srcs = [":accessapproval_proto_with_info"], +- name = "clouddms_ruby_gapic", +- srcs = [":clouddms_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-access_approval-v1", -- "ruby-cloud-env-prefix=ACCESS_APPROVAL", -- "ruby-cloud-product-url=https://cloud.google.com/access-approval/", -- "ruby-cloud-api-id=accessapproval.googleapis.com", -- "ruby-cloud-api-shortname=accessapproval", +- "ruby-cloud-gem-name=google-cloud-cloud_dms-v1", +- "ruby-cloud-gem-namespace=Google::Cloud::CloudDMS::V1", +- "ruby-cloud-env-prefix=DATABASE_MIGRATION", +- "ruby-cloud-product-url=https://cloud.google.com/database-migration/", +- "ruby-cloud-api-id=datamigration.googleapis.com", +- "ruby-cloud-api-shortname=datamigration", +- "ruby-cloud-namespace-override=CloudDms=CloudDMS", - ], -- grpc_service_config = "accessapproval_grpc_service_config.json", -- ruby_cloud_description = "An API for controlling access to data by Google personnel.", -- ruby_cloud_title = "Access Approval V1", +- grpc_service_config = "library_grpc_service_config.json", +- ruby_cloud_description = "Database Migration Service makes it easier for you to migrate your data to Google Cloud. Database Migration Service helps you lift and shift your MySQL and PostgreSQL workloads into Cloud SQL. Database Migration Service streamlines networking workflow, manages the initial snapshot and ongoing replication, and provides a status of the migration operation.", +- ruby_cloud_title = "Cloud Database Migration Service V1", - deps = [ -- ":accessapproval_ruby_grpc", -- ":accessapproval_ruby_proto", +- ":clouddms_ruby_grpc", +- ":clouddms_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-accessapproval-v1-ruby", +- name = "google-cloud-clouddms-v1-ruby", - deps = [ -- ":accessapproval_ruby_gapic", -- ":accessapproval_ruby_grpc", -- ":accessapproval_ruby_proto", +- ":clouddms_ruby_gapic", +- ":clouddms_ruby_grpc", +- ":clouddms_ruby_proto", - ], -) - @@ -10315,34 +25909,34 @@ diff -urN a/google/cloud/accessapproval/v1/BUILD.bazel b/google/cloud/accessappr -) - -csharp_proto_library( -- name = "accessapproval_csharp_proto", -- deps = [":accessapproval_proto"], +- name = "clouddms_csharp_proto", +- deps = [":clouddms_proto"], -) - -csharp_grpc_library( -- name = "accessapproval_csharp_grpc", -- srcs = [":accessapproval_proto"], -- deps = [":accessapproval_csharp_proto"], +- name = "clouddms_csharp_grpc", +- srcs = [":clouddms_proto"], +- deps = [":clouddms_csharp_proto"], -) - -csharp_gapic_library( -- name = "accessapproval_csharp_gapic", -- srcs = [":accessapproval_proto_with_info"], +- name = "clouddms_csharp_gapic", +- srcs = [":clouddms_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "accessapproval_grpc_service_config.json", +- grpc_service_config = "library_grpc_service_config.json", - deps = [ -- ":accessapproval_csharp_grpc", -- ":accessapproval_csharp_proto", +- ":clouddms_csharp_grpc", +- ":clouddms_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-accessapproval-v1-csharp", +- name = "google-cloud-clouddms-v1-csharp", - deps = [ -- ":accessapproval_csharp_gapic", -- ":accessapproval_csharp_grpc", -- ":accessapproval_csharp_proto", +- ":clouddms_csharp_gapic", +- ":clouddms_csharp_grpc", +- ":clouddms_csharp_proto", - ], -) - @@ -10350,27 +25944,34 @@ diff -urN a/google/cloud/accessapproval/v1/BUILD.bazel b/google/cloud/accessappr -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/aiplatform/logging/BUILD.bazel b/google/cloud/aiplatform/logging/BUILD.bazel ---- a/google/cloud/aiplatform/logging/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/aiplatform/logging/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,162 +0,0 @@ --# This file was automatically generated by BuildFileGenerator -- --# This is an API workspace, having public visibility by default makes perfect sense. +diff -urN a/google/cloud/common/BUILD.bazel b/google/cloud/common/BUILD.bazel +--- a/google/cloud/common/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/common/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,130 +0,0 @@ -package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "logging_proto", +- name = "common_proto", - srcs = [ -- "prediction.proto", +- "operation_metadata.proto", - ], - deps = [ -- "//google/rpc:status_proto", +- "//google/api:field_behavior_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "common_proto_with_info", +- deps = [ +- ":common_proto", +- "//google/cloud:common_resources_proto", - ], -) - @@ -10384,14 +25985,14 @@ diff -urN a/google/cloud/aiplatform/logging/BUILD.bazel b/google/cloud/aiplatfor -) - -java_proto_library( -- name = "logging_java_proto", -- deps = [":logging_proto"], +- name = "common_java_proto", +- deps = [":common_proto"], -) - -java_grpc_library( -- name = "logging_java_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_java_proto"], +- name = "common_java_grpc", +- srcs = [":common_proto"], +- deps = [":common_java_proto"], -) - -############################################################################## @@ -10403,44 +26004,15 @@ diff -urN a/google/cloud/aiplatform/logging/BUILD.bazel b/google/cloud/aiplatfor -) - -go_proto_library( -- name = "logging_go_proto", +- name = "common_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/logging", -- protos = [":logging_proto"], -- deps = [ -- "//google/rpc:status_go_proto", -- ], --) -- --############################################################################## --# Python --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", -- "py_grpc_library", -- "py_proto_library", --) -- --moved_proto_library( -- name = "logging_moved_proto", -- srcs = [":logging_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/common", +- protos = [":common_proto"], - deps = [ -- "//google/rpc:status_proto", +- "//google/api:annotations_go_proto", - ], -) - --py_proto_library( -- name = "logging_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":logging_moved_proto"], --) -- --py_grpc_library( -- name = "logging_py_grpc", -- srcs = [":logging_moved_proto"], -- deps = [":logging_py_proto"], --) - -############################################################################## -# PHP @@ -10452,26 +26024,16 @@ diff -urN a/google/cloud/aiplatform/logging/BUILD.bazel b/google/cloud/aiplatfor -) - -php_proto_library( -- name = "logging_php_proto", -- deps = [":logging_proto"], +- name = "common_php_proto", +- deps = [":common_proto"], -) - -php_grpc_library( -- name = "logging_php_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_php_proto"], --) -- --############################################################################## --# Node.js --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "nodejs_gapic_assembly_pkg", -- "nodejs_gapic_library", +- name = "common_php_grpc", +- srcs = [":common_proto"], +- deps = [":common_php_proto"], -) - -- -############################################################################## -# Ruby -############################################################################## @@ -10482,14 +26044,14 @@ diff -urN a/google/cloud/aiplatform/logging/BUILD.bazel b/google/cloud/aiplatfor -) - -ruby_proto_library( -- name = "logging_ruby_proto", -- deps = [":logging_proto"], +- name = "common_ruby_proto", +- deps = [":common_proto"], -) - -ruby_grpc_library( -- name = "logging_ruby_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_ruby_proto"], +- name = "common_ruby_grpc", +- srcs = [":common_proto"], +- deps = [":common_ruby_proto"], -) - -############################################################################## @@ -10502,26 +26064,26 @@ diff -urN a/google/cloud/aiplatform/logging/BUILD.bazel b/google/cloud/aiplatfor -) - -csharp_proto_library( -- name = "logging_csharp_proto", -- deps = [":logging_proto"], +- name = "common_csharp_proto", +- deps = [":common_proto"], -) - -csharp_grpc_library( -- name = "logging_csharp_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_csharp_proto"], +- name = "common_csharp_grpc", +- srcs = [":common_proto"], +- deps = [":common_csharp_proto"], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ code here -diff -urN a/google/cloud/aiplatform/v1/BUILD.bazel b/google/cloud/aiplatform/v1/BUILD.bazel ---- a/google/cloud/aiplatform/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/aiplatform/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,420 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/contactcenterinsights/v1/BUILD.bazel b/google/cloud/contactcenterinsights/v1/BUILD.bazel +--- a/google/cloud/contactcenterinsights/v1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/contactcenterinsights/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,348 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +-# https://github.com/googleapis/rules_gapic/tree/master/bazel - -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: @@ -10540,52 +26102,11 @@ diff -urN a/google/cloud/aiplatform/v1/BUILD.bazel b/google/cloud/aiplatform/v1/ -load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - --_PROTO_SUBPACKAGE_DEPS = [ -- "//google/cloud/aiplatform/v1/schema/predict/instance:instance_proto", -- "//google/cloud/aiplatform/v1/schema/predict/params:params_proto", -- "//google/cloud/aiplatform/v1/schema/predict/prediction:prediction_proto", -- "//google/cloud/aiplatform/v1/schema/trainingjob/definition:definition_proto", --] -- -proto_library( -- name = "aiplatform_proto", +- name = "contactcenterinsights_proto", - srcs = [ -- "accelerator_type.proto", -- "annotation.proto", -- "annotation_spec.proto", -- "batch_prediction_job.proto", -- "completion_stats.proto", -- "custom_job.proto", -- "data_item.proto", -- "data_labeling_job.proto", -- "dataset.proto", -- "dataset_service.proto", -- "deployed_model_ref.proto", -- "encryption_spec.proto", -- "endpoint.proto", -- "endpoint_service.proto", -- "env_var.proto", -- "hyperparameter_tuning_job.proto", -- "io.proto", -- "job_service.proto", -- "job_state.proto", -- "machine_resources.proto", -- "manual_batch_tuning_parameters.proto", -- "migratable_resource.proto", -- "migration_service.proto", -- "model.proto", -- "model_evaluation.proto", -- "model_evaluation_slice.proto", -- "model_service.proto", -- "operation.proto", -- "pipeline_service.proto", -- "pipeline_state.proto", -- "prediction_service.proto", -- "specialist_pool.proto", -- "specialist_pool_service.proto", -- "study.proto", -- "training_pipeline.proto", -- "user_action_reference.proto", +- "contact_center_insights.proto", +- "resources.proto", - ], - deps = [ - "//google/api:annotations_proto", @@ -10594,22 +26115,19 @@ diff -urN a/google/cloud/aiplatform/v1/BUILD.bazel b/google/cloud/aiplatform/v1/ - "//google/api:resource_proto", - "//google/longrunning:operations_proto", - "//google/rpc:status_proto", -- "//google/type:money_proto", - "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", -- "@com_google_protobuf//:wrappers_proto", -- ] + _PROTO_SUBPACKAGE_DEPS, +- ], -) - -proto_library_with_info( -- name = "aiplatform_proto_with_info", +- name = "contactcenterinsights_proto_with_info", - deps = [ -- ":aiplatform_proto", +- ":contactcenterinsights_proto", - "//google/cloud:common_resources_proto", -- ] + _PROTO_SUBPACKAGE_DEPS, +- ], -) - -############################################################################## @@ -10624,67 +26142,46 @@ diff -urN a/google/cloud/aiplatform/v1/BUILD.bazel b/google/cloud/aiplatform/v1/ - "java_proto_library", -) - --_JAVA_PROTO_SUBPACKAGE_DEPS = [ -- "//google/cloud/aiplatform/v1/schema/predict/instance:instance_java_proto", -- "//google/cloud/aiplatform/v1/schema/predict/params:params_java_proto", -- "//google/cloud/aiplatform/v1/schema/predict/prediction:prediction_java_proto", -- "//google/cloud/aiplatform/v1/schema/trainingjob/definition:definition_java_proto", --] -- --_JAVA_GRPC_SUBPACKAGE_DEPS = [ -- "//google/cloud/aiplatform/v1/schema/predict/instance:instance_java_grpc", -- "//google/cloud/aiplatform/v1/schema/predict/params:params_java_grpc", -- "//google/cloud/aiplatform/v1/schema/predict/prediction:prediction_java_grpc", -- "//google/cloud/aiplatform/v1/schema/trainingjob/definition:definition_java_grpc", --] -- -java_proto_library( -- name = "aiplatform_java_proto", -- deps = [":aiplatform_proto"], +- name = "contactcenterinsights_java_proto", +- deps = [":contactcenterinsights_proto"], -) - -java_grpc_library( -- name = "aiplatform_java_grpc", -- srcs = [":aiplatform_proto"], -- deps = [":aiplatform_java_proto"] + _JAVA_PROTO_SUBPACKAGE_DEPS, +- name = "contactcenterinsights_java_grpc", +- srcs = [":contactcenterinsights_proto"], +- deps = [":contactcenterinsights_java_proto"], -) - -java_gapic_library( -- name = "aiplatform_java_gapic", -- srcs = [":aiplatform_proto_with_info"], -- grpc_service_config = "aiplatform_grpc_service_config.json", +- name = "contactcenterinsights_java_gapic", +- srcs = [":contactcenterinsights_proto_with_info"], +- grpc_service_config = "contactcenterinsights_grpc_service_config.json", - test_deps = [ -- ":aiplatform_java_grpc", -- ] + _JAVA_PROTO_SUBPACKAGE_DEPS, +- ":contactcenterinsights_java_grpc", +- ], - deps = [ -- ":aiplatform_java_proto", -- ] + _JAVA_PROTO_SUBPACKAGE_DEPS, +- ":contactcenterinsights_java_proto", +- ], -) - -java_gapic_test( -- name = "aiplatform_java_gapic_test_suite", +- name = "contactcenterinsights_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.aiplatform.v1.DatasetServiceClientTest", -- "com.google.cloud.aiplatform.v1.EndpointServiceClientTest", -- "com.google.cloud.aiplatform.v1.JobServiceClientTest", -- "com.google.cloud.aiplatform.v1.MigrationServiceClientTest", -- "com.google.cloud.aiplatform.v1.ModelServiceClientTest", -- "com.google.cloud.aiplatform.v1.PipelineServiceClientTest", -- "com.google.cloud.aiplatform.v1.PredictionServiceClientTest", -- "com.google.cloud.aiplatform.v1.SpecialistPoolServiceClientTest", +- "com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsClientTest", - ], -- runtime_deps = [":aiplatform_java_gapic_test"], +- runtime_deps = [":contactcenterinsights_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-aiplatform-v1-java", +- name = "google-cloud-contactcenterinsights-v1-java", - deps = [ -- ":aiplatform_java_gapic", -- ":aiplatform_java_grpc", -- ":aiplatform_java_proto", -- ":aiplatform_proto", -- ] + _JAVA_PROTO_SUBPACKAGE_DEPS + _PROTO_SUBPACKAGE_DEPS + _JAVA_GRPC_SUBPACKAGE_DEPS, +- ":contactcenterinsights_java_gapic", +- ":contactcenterinsights_java_grpc", +- ":contactcenterinsights_java_proto", +- ":contactcenterinsights_proto", +- ], -) - -############################################################################## @@ -10699,48 +26196,48 @@ diff -urN a/google/cloud/aiplatform/v1/BUILD.bazel b/google/cloud/aiplatform/v1/ -) - -go_proto_library( -- name = "aiplatform_go_proto", +- name = "contactcenterinsights_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1", -- protos = [":aiplatform_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/contactcenterinsights/v1", +- protos = [":contactcenterinsights_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/longrunning:longrunning_go_proto", - "//google/rpc:status_go_proto", -- "//google/type:money_go_proto", - ], -) - -go_gapic_library( -- name = "aiplatform_go_gapic", -- srcs = [":aiplatform_proto_with_info"], -- grpc_service_config = "aiplatform_grpc_service_config.json", -- importpath = "cloud.google.com/go/aiplatform/apiv1;aiplatform", -- service_yaml = "aiplatform_v1.yaml", +- name = "contactcenterinsights_go_gapic", +- srcs = [":contactcenterinsights_proto_with_info"], +- grpc_service_config = "contactcenterinsights_grpc_service_config.json", +- importpath = "cloud.google.com/go/contactcenterinsights/apiv1;contactcenterinsights", +- metadata = True, +- service_yaml = "contactcenterinsights_v1.yaml", - deps = [ -- ":aiplatform_go_proto", +- ":contactcenterinsights_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", - "@io_bazel_rules_go//proto/wkt:duration_go_proto", -- "@io_bazel_rules_go//proto/wkt:struct_go_proto", - ], -) - -go_test( -- name = "aiplatform_go_gapic_test", -- srcs = [":aiplatform_go_gapic_srcjar_test"], -- embed = [":aiplatform_go_gapic"], -- importpath = "cloud.google.com/go/aiplatform/apiv1", +- name = "contactcenterinsights_go_gapic_test", +- srcs = [":contactcenterinsights_go_gapic_srcjar_test"], +- embed = [":contactcenterinsights_go_gapic"], +- importpath = "cloud.google.com/go/contactcenterinsights/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-aiplatform-v1-go", +- name = "gapi-cloud-contactcenterinsights-v1-go", - deps = [ -- ":aiplatform_go_gapic", -- ":aiplatform_go_gapic_srcjar-test.srcjar", -- ":aiplatform_go_proto", +- ":contactcenterinsights_go_gapic", +- ":contactcenterinsights_go_gapic_srcjar-metadata.srcjar", +- ":contactcenterinsights_go_gapic_srcjar-test.srcjar", +- ":contactcenterinsights_go_proto", - ], -) - @@ -10753,26 +26250,23 @@ diff -urN a/google/cloud/aiplatform/v1/BUILD.bazel b/google/cloud/aiplatform/v1/ - "py_gapic_library", -) - --_PY_GAPIC_SUBPACKAGE_DEPS = [ -- "//google/cloud/aiplatform/v1/schema/predict/instance:instance_py_gapic", -- "//google/cloud/aiplatform/v1/schema/predict/params:params_py_gapic", -- "//google/cloud/aiplatform/v1/schema/predict/prediction:prediction_py_gapic", -- "//google/cloud/aiplatform/v1/schema/trainingjob/definition:definition_py_gapic", --] -- -- -py_gapic_library( -- name = "aiplatform_py_gapic", -- srcs = [":aiplatform_proto"], -- grpc_service_config = "aiplatform_grpc_service_config.json", +- name = "contactcenterinsights_py_gapic", +- srcs = [":contactcenterinsights_proto"], +- grpc_service_config = "contactcenterinsights_grpc_service_config.json", +- opt_args = [ +- "warehouse-package-name=google-cloud-contact-center-insights", +- "python-gapic-namespace=google.cloud", +- "python-gapic-name=contact_center_insights", +- ], -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "aiplatform-v1-py", +- name = "contactcenterinsights-v1-py", - deps = [ -- ":aiplatform_py_gapic", -- ] + _PROTO_SUBPACKAGE_DEPS + _PY_GAPIC_SUBPACKAGE_DEPS, +- ":contactcenterinsights_py_gapic", +- ], -) - -############################################################################## @@ -10787,36 +26281,34 @@ diff -urN a/google/cloud/aiplatform/v1/BUILD.bazel b/google/cloud/aiplatform/v1/ -) - -php_proto_library( -- name = "aiplatform_php_proto", -- deps = [":aiplatform_proto"], +- name = "contactcenterinsights_php_proto", +- deps = [":contactcenterinsights_proto"], -) - -php_grpc_library( -- name = "aiplatform_php_grpc", -- srcs = [":aiplatform_proto"], -- deps = [":aiplatform_php_proto"], +- name = "contactcenterinsights_php_grpc", +- srcs = [":contactcenterinsights_proto"], +- deps = [":contactcenterinsights_php_proto"], -) - -php_gapic_library( -- name = "aiplatform_php_gapic", -- src = ":aiplatform_proto_with_info", -- gapic_yaml = "aiplatform_gapic.yaml", -- grpc_service_config = "aiplatform_grpc_service_config.json", -- package = "google.cloud.aiplatform.v1", -- service_yaml = "aiplatform_v1.yaml", +- name = "contactcenterinsights_php_gapic", +- srcs = [":contactcenterinsights_proto_with_info"], +- grpc_service_config = "contactcenterinsights_grpc_service_config.json", +- service_yaml = "contactcenterinsights_v1.yaml", - deps = [ -- ":aiplatform_php_grpc", -- ":aiplatform_php_proto", +- ":contactcenterinsights_php_grpc", +- ":contactcenterinsights_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-aiplatform-v1-php", +- name = "google-cloud-contactcenterinsights-v1-php", - deps = [ -- ":aiplatform_php_gapic", -- ":aiplatform_php_grpc", -- ":aiplatform_php_proto", +- ":contactcenterinsights_php_gapic", +- ":contactcenterinsights_php_grpc", +- ":contactcenterinsights_php_proto", - ], -) - @@ -10830,22 +26322,22 @@ diff -urN a/google/cloud/aiplatform/v1/BUILD.bazel b/google/cloud/aiplatform/v1/ -) - -nodejs_gapic_library( -- name = "aiplatform_nodejs_gapic", -- package_name = "@google-cloud/aiplatform", -- src = ":aiplatform_proto_with_info", +- name = "contactcenterinsights_nodejs_gapic", +- package_name = "@google-cloud/contactcenterinsights", +- src = ":contactcenterinsights_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "aiplatform_grpc_service_config.json", -- package = "google.cloud.aiplatform.v1", -- service_yaml = "aiplatform_v1.yaml", +- grpc_service_config = "contactcenterinsights_grpc_service_config.json", +- package = "google.cloud.contactcenterinsights.v1", +- service_yaml = "contactcenterinsights_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "aiplatform-v1-nodejs", +- name = "contactcenterinsights-v1-nodejs", - deps = [ -- ":aiplatform_nodejs_gapic", -- ":aiplatform_proto", -- ] + _PROTO_SUBPACKAGE_DEPS, +- ":contactcenterinsights_nodejs_gapic", +- ":contactcenterinsights_proto", +- ], -) - -############################################################################## @@ -10853,43 +26345,41 @@ diff -urN a/google/cloud/aiplatform/v1/BUILD.bazel b/google/cloud/aiplatform/v1/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "aiplatform_ruby_proto", -- deps = [":aiplatform_proto"], +- name = "contactcenterinsights_ruby_proto", +- deps = [":contactcenterinsights_proto"], -) - -ruby_grpc_library( -- name = "aiplatform_ruby_grpc", -- srcs = [":aiplatform_proto"], -- deps = [":aiplatform_ruby_proto"], +- name = "contactcenterinsights_ruby_grpc", +- srcs = [":contactcenterinsights_proto"], +- deps = [":contactcenterinsights_ruby_proto"], -) - --ruby_gapic_library( -- name = "aiplatform_ruby_gapic", -- src = ":aiplatform_proto_with_info", -- gapic_yaml = "aiplatform_gapic.yaml", -- grpc_service_config = "aiplatform_grpc_service_config.json", -- package = "google.cloud.aiplatform.v1", -- service_yaml = "aiplatform_v1.yaml", +-ruby_cloud_gapic_library( +- name = "contactcenterinsights_ruby_gapic", +- srcs = [":contactcenterinsights_proto_with_info"], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-contactcenterinsights-v1"], +- grpc_service_config = "contactcenterinsights_grpc_service_config.json", - deps = [ -- ":aiplatform_ruby_grpc", -- ":aiplatform_ruby_proto", +- ":contactcenterinsights_ruby_grpc", +- ":contactcenterinsights_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-aiplatform-v1-ruby", +- name = "google-cloud-contactcenterinsights-v1-ruby", - deps = [ -- ":aiplatform_ruby_gapic", -- ":aiplatform_ruby_grpc", -- ":aiplatform_ruby_proto", +- ":contactcenterinsights_ruby_gapic", +- ":contactcenterinsights_ruby_grpc", +- ":contactcenterinsights_ruby_proto", - ], -) - @@ -10905,34 +26395,34 @@ diff -urN a/google/cloud/aiplatform/v1/BUILD.bazel b/google/cloud/aiplatform/v1/ -) - -csharp_proto_library( -- name = "aiplatform_csharp_proto", -- deps = [":aiplatform_proto"], +- name = "contactcenterinsights_csharp_proto", +- deps = [":contactcenterinsights_proto"], -) - -csharp_grpc_library( -- name = "aiplatform_csharp_grpc", -- srcs = [":aiplatform_proto"], -- deps = [":aiplatform_csharp_proto"], +- name = "contactcenterinsights_csharp_grpc", +- srcs = [":contactcenterinsights_proto"], +- deps = [":contactcenterinsights_csharp_proto"], -) - -csharp_gapic_library( -- name = "aiplatform_csharp_gapic", -- srcs = [":aiplatform_proto_with_info"], +- name = "contactcenterinsights_csharp_gapic", +- srcs = [":contactcenterinsights_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "aiplatform_grpc_service_config.json", +- grpc_service_config = "contactcenterinsights_grpc_service_config.json", - deps = [ -- ":aiplatform_csharp_grpc", -- ":aiplatform_csharp_proto", +- ":contactcenterinsights_csharp_grpc", +- ":contactcenterinsights_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-aiplatform-v1-csharp", +- name = "google-cloud-contactcenterinsights-v1-csharp", - deps = [ -- ":aiplatform_csharp_gapic", -- ":aiplatform_csharp_grpc", -- ":aiplatform_csharp_proto", +- ":contactcenterinsights_csharp_gapic", +- ":contactcenterinsights_csharp_grpc", +- ":contactcenterinsights_csharp_proto", - ], -) - @@ -10940,11 +26430,20 @@ diff -urN a/google/cloud/aiplatform/v1/BUILD.bazel b/google/cloud/aiplatform/v1/ -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel b/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel ---- a/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,188 +0,0 @@ +diff -urN a/google/cloud/datacatalog/v1/BUILD.bazel b/google/cloud/datacatalog/v1/BUILD.bazel +--- a/google/cloud/datacatalog/v1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/datacatalog/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,359 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -10953,22 +26452,41 @@ diff -urN a/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel b/goo -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "instance_proto", +- name = "datacatalog_proto", - srcs = [ -- "image_classification.proto", -- "image_object_detection.proto", -- "image_segmentation.proto", -- "text_classification.proto", -- "text_extraction.proto", -- "text_sentiment.proto", -- "video_action_recognition.proto", -- "video_classification.proto", -- "video_object_tracking.proto", +- "common.proto", +- "data_source.proto", +- "datacatalog.proto", +- "gcs_fileset_spec.proto", +- "policytagmanager.proto", +- "policytagmanagerserialization.proto", +- "schema.proto", +- "search.proto", +- "table_spec.proto", +- "tags.proto", +- "timestamps.proto", - ], - deps = [ - "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/iam/v1:iam_policy_proto", +- "//google/iam/v1:policy_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "datacatalog_proto_with_info", +- deps = [ +- ":datacatalog_proto", +- "//google/cloud:common_resources_proto", - ], -) - @@ -10977,19 +26495,57 @@ diff -urN a/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel b/goo -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "instance_java_proto", -- deps = [":instance_proto"], +- name = "datacatalog_java_proto", +- deps = [":datacatalog_proto"], -) - -java_grpc_library( -- name = "instance_java_grpc", -- srcs = [":instance_proto"], -- deps = [":instance_java_proto"], +- name = "datacatalog_java_grpc", +- srcs = [":datacatalog_proto"], +- deps = [":datacatalog_java_proto"], +-) +- +-java_gapic_library( +- name = "datacatalog_java_gapic", +- srcs = [":datacatalog_proto_with_info"], +- grpc_service_config = "datacatalog_grpc_service_config.json", +- test_deps = [ +- ":datacatalog_java_grpc", +- "//google/iam/v1:iam_java_grpc", +- ], +- deps = [ +- ":datacatalog_java_proto", +- "//google/iam/v1:iam_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "datacatalog_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.datacatalog.v1.DataCatalogClientTest", +- "com.google.cloud.datacatalog.v1.PolicyTagManagerClientTest", +- "com.google.cloud.datacatalog.v1.PolicyTagManagerSerializationClientTest", +- ], +- runtime_deps = [":datacatalog_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-datacatalog-v1-java", +- deps = [ +- ":datacatalog_java_gapic", +- ":datacatalog_java_grpc", +- ":datacatalog_java_proto", +- ":datacatalog_proto", +- ], -) - -############################################################################## @@ -10997,66 +26553,75 @@ diff -urN a/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel b/goo -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", - "go_proto_library", +- "go_test", -) - -go_proto_library( -- name = "instance_go_proto", +- name = "datacatalog_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance", -- protos = [":instance_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1", +- protos = [":datacatalog_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/iam/v1:iam_go_proto", - ], -) - --############################################################################## --# Python --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", -- "py_gapic_assembly_pkg", -- "py_gapic_library", -- "py_grpc_library", -- "py_proto_library", --) -- --moved_proto_library( -- name = "instance_moved_proto", -- srcs = [":instance_proto"], +-go_gapic_library( +- name = "datacatalog_go_gapic", +- srcs = [":datacatalog_proto_with_info"], +- grpc_service_config = "datacatalog_grpc_service_config.json", +- importpath = "cloud.google.com/go/datacatalog/apiv1;datacatalog", +- metadata = True, +- service_yaml = "datacatalog_v1.yaml", - deps = [ -- "//google/api:annotations_proto", +- ":datacatalog_go_proto", +- "//google/iam/v1:iam_go_proto", - ], -) - --py_proto_library( -- name = "instance_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":instance_moved_proto"], +-go_test( +- name = "datacatalog_go_gapic_test", +- srcs = [":datacatalog_go_gapic_srcjar_test"], +- embed = [":datacatalog_go_gapic"], +- importpath = "cloud.google.com/go/datacatalog/apiv1", -) - --py_grpc_library( -- name = "instance_py_grpc", -- srcs = [":instance_moved_proto"], -- deps = [":instance_py_proto"], +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-datacatalog-v1-go", +- deps = [ +- ":datacatalog_go_gapic", +- ":datacatalog_go_gapic_srcjar-metadata.srcjar", +- ":datacatalog_go_gapic_srcjar-test.srcjar", +- ":datacatalog_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", -) - -py_gapic_library( -- name = "instance_py_gapic", -- opt_args = [ -- "python-gapic-namespace=google.cloud.aiplatform.v1.schema.predict", -- "python-gapic-name=instance", -- ], -- srcs = [":instance_proto"], +- name = "datacatalog_py_gapic", +- srcs = [":datacatalog_proto"], +- grpc_service_config = "datacatalog_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "instance-py", +- name = "datacatalog-v1-py", - deps = [ -- ":instance_py_gapic", -- ] +- ":datacatalog_py_gapic", +- ], -) - -############################################################################## @@ -11064,19 +26629,41 @@ diff -urN a/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel b/goo -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "instance_php_proto", -- deps = [":instance_proto"], +- name = "datacatalog_php_proto", +- deps = [":datacatalog_proto"], -) - -php_grpc_library( -- name = "instance_php_grpc", -- srcs = [":instance_proto"], -- deps = [":instance_php_proto"], +- name = "datacatalog_php_grpc", +- srcs = [":datacatalog_proto"], +- deps = [":datacatalog_php_proto"], +-) +- +-php_gapic_library( +- name = "datacatalog_php_gapic", +- srcs = [":datacatalog_proto_with_info"], +- grpc_service_config = "datacatalog_grpc_service_config.json", +- deps = [ +- ":datacatalog_php_grpc", +- ":datacatalog_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-datacatalog-v1-php", +- deps = [ +- ":datacatalog_php_gapic", +- ":datacatalog_php_grpc", +- ":datacatalog_php_proto", +- ], -) - -############################################################################## @@ -11088,24 +26675,75 @@ diff -urN a/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel b/goo - "nodejs_gapic_library", -) - +-nodejs_gapic_library( +- name = "datacatalog_nodejs_gapic", +- package_name = "@google-cloud/datacatalog", +- src = ":datacatalog_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "datacatalog_grpc_service_config.json", +- main_service = "DataCatalog", +- package = "google.cloud.datacatalog.v1", +- service_yaml = "datacatalog_v1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "datacatalog-v1-nodejs", +- deps = [ +- ":datacatalog_nodejs_gapic", +- ":datacatalog_proto", +- ], +-) +- -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "instance_ruby_proto", -- deps = [":instance_proto"], +- name = "datacatalog_ruby_proto", +- deps = [":datacatalog_proto"], -) - -ruby_grpc_library( -- name = "instance_ruby_grpc", -- srcs = [":instance_proto"], -- deps = [":instance_ruby_proto"], +- name = "datacatalog_ruby_grpc", +- srcs = [":datacatalog_proto"], +- deps = [":datacatalog_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "datacatalog_ruby_gapic", +- srcs = [":datacatalog_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-api-id=datacatalog.googleapis.com", +- "ruby-cloud-api-shortname=datacatalog", +- "ruby-cloud-env-prefix=DATA_CATALOG", +- "ruby-cloud-gem-name=google-cloud-data_catalog-v1", +- "ruby-cloud-product-url=https://cloud.google.com/data-catalog", +- ], +- grpc_service_config = "datacatalog_grpc_service_config.json", +- ruby_cloud_description = "DataCatalog is a centralized and unified data catalog service for all your Cloud resources, where users and systems can discover data, explore and curate its semantics, understand how to act on it, and help govern its usage.", +- ruby_cloud_title = "Data Catalog V1", +- deps = [ +- ":datacatalog_ruby_grpc", +- ":datacatalog_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-datacatalog-v1-ruby", +- deps = [ +- ":datacatalog_ruby_gapic", +- ":datacatalog_ruby_grpc", +- ":datacatalog_ruby_proto", +- ], -) - -############################################################################## @@ -11113,29 +26751,52 @@ diff -urN a/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel b/goo -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "instance_csharp_proto", -- deps = [":instance_proto"], +- name = "datacatalog_csharp_proto", +- deps = [":datacatalog_proto"], -) - -csharp_grpc_library( -- name = "instance_csharp_grpc", -- srcs = [":instance_proto"], -- deps = [":instance_csharp_proto"], +- name = "datacatalog_csharp_grpc", +- srcs = [":datacatalog_proto"], +- deps = [":datacatalog_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "datacatalog_csharp_gapic", +- srcs = [":datacatalog_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "datacatalog_grpc_service_config.json", +- deps = [ +- ":datacatalog_csharp_grpc", +- ":datacatalog_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-datacatalog-v1-csharp", +- deps = [ +- ":datacatalog_csharp_gapic", +- ":datacatalog_csharp_grpc", +- ":datacatalog_csharp_proto", +- ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ code here -diff -urN a/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel b/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel ---- a/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,186 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/datacatalog/v1beta1/BUILD.bazel b/google/cloud/datacatalog/v1beta1/BUILD.bazel +--- a/google/cloud/datacatalog/v1beta1/BUILD.bazel 2021-06-30 08:59:10.000000000 -0700 ++++ b/google/cloud/datacatalog/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,338 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -11145,19 +26806,40 @@ diff -urN a/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel b/googl -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "params_proto", +- name = "datacatalog_proto", - srcs = [ -- "image_classification.proto", -- "image_object_detection.proto", -- "image_segmentation.proto", -- "video_action_recognition.proto", -- "video_classification.proto", -- "video_object_tracking.proto", +- "common.proto", +- "datacatalog.proto", +- "gcs_fileset_spec.proto", +- "policytagmanager.proto", +- "policytagmanagerserialization.proto", +- "schema.proto", +- "search.proto", +- "table_spec.proto", +- "tags.proto", +- "timestamps.proto", - ], - deps = [ - "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/iam/v1:iam_policy_proto", +- "//google/iam/v1:policy_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "datacatalog_proto_with_info", +- deps = [ +- ":datacatalog_proto", +- "//google/cloud:common_resources_proto", - ], -) - @@ -11166,19 +26848,57 @@ diff -urN a/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel b/googl -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "params_java_proto", -- deps = [":params_proto"], +- name = "datacatalog_java_proto", +- deps = [":datacatalog_proto"], -) - -java_grpc_library( -- name = "params_java_grpc", -- srcs = [":params_proto"], -- deps = [":params_java_proto"], +- name = "datacatalog_java_grpc", +- srcs = [":datacatalog_proto"], +- deps = [":datacatalog_java_proto"], +-) +- +-java_gapic_library( +- name = "datacatalog_java_gapic", +- srcs = [":datacatalog_proto_with_info"], +- grpc_service_config = "datacatalog_grpc_service_config.json", +- test_deps = [ +- ":datacatalog_java_grpc", +- "//google/iam/v1:iam_java_grpc", +- ], +- deps = [ +- ":datacatalog_java_proto", +- "//google/iam/v1:iam_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "datacatalog_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.datacatalog.v1beta1.DataCatalogClientTest", +- "com.google.cloud.datacatalog.v1beta1.PolicyTagManagerClientTest", +- "com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationClientTest", +- ], +- runtime_deps = [":datacatalog_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-datacatalog-v1beta1-java", +- deps = [ +- ":datacatalog_java_gapic", +- ":datacatalog_java_grpc", +- ":datacatalog_java_proto", +- ":datacatalog_proto", +- ], -) - -############################################################################## @@ -11186,16 +26906,49 @@ diff -urN a/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel b/googl -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", - "go_proto_library", +- "go_test", -) - -go_proto_library( -- name = "params_go_proto", +- name = "datacatalog_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/params", -- protos = [":params_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1", +- protos = [":datacatalog_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/iam/v1:iam_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "datacatalog_go_gapic", +- srcs = [":datacatalog_proto_with_info"], +- grpc_service_config = "datacatalog_grpc_service_config.json", +- importpath = "cloud.google.com/go/datacatalog/apiv1beta1;datacatalog", +- service_yaml = "datacatalog_v1beta1.yaml", +- deps = [ +- ":datacatalog_go_proto", +- "//google/iam/v1:iam_go_proto", +- ], +-) +- +-go_test( +- name = "datacatalog_go_gapic_test", +- srcs = [":datacatalog_go_gapic_srcjar_test"], +- embed = [":datacatalog_go_gapic"], +- importpath = "cloud.google.com/go/datacatalog/apiv1beta1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-datacatalog-v1beta1-go", +- deps = [ +- ":datacatalog_go_gapic", +- ":datacatalog_go_gapic_srcjar-test.srcjar", +- ":datacatalog_go_proto", - ], -) - @@ -11204,48 +26957,22 @@ diff -urN a/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel b/googl -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", - "py_gapic_assembly_pkg", - "py_gapic_library", -- "py_grpc_library", -- "py_proto_library", --) -- --moved_proto_library( -- name = "params_moved_proto", -- srcs = [":params_proto"], -- deps = [ -- "//google/api:annotations_proto", -- ], --) -- --py_proto_library( -- name = "params_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":params_moved_proto"], --) -- --py_grpc_library( -- name = "params_py_grpc", -- srcs = [":params_moved_proto"], -- deps = [":params_py_proto"], -) - -py_gapic_library( -- name = "params_py_gapic", -- opt_args = [ -- "python-gapic-namespace=google.cloud.aiplatform.v1.schema.predict", -- "python-gapic-name=params", -- ], -- srcs = [":params_proto"], +- name = "datacatalog_py_gapic", +- srcs = [":datacatalog_proto"], +- grpc_service_config = "datacatalog_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "params-py", +- name = "datacatalog-v1beta1-py", - deps = [ -- ":params_py_gapic", -- ] +- ":datacatalog_py_gapic", +- ], -) - -############################################################################## @@ -11253,19 +26980,41 @@ diff -urN a/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel b/googl -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "params_php_proto", -- deps = [":params_proto"], +- name = "datacatalog_php_proto", +- deps = [":datacatalog_proto"], -) - -php_grpc_library( -- name = "params_php_grpc", -- srcs = [":params_proto"], -- deps = [":params_php_proto"], +- name = "datacatalog_php_grpc", +- srcs = [":datacatalog_proto"], +- deps = [":datacatalog_php_proto"], +-) +- +-php_gapic_library( +- name = "datacatalog_php_gapic", +- srcs = [":datacatalog_proto_with_info"], +- grpc_service_config = "datacatalog_grpc_service_config.json", +- deps = [ +- ":datacatalog_php_grpc", +- ":datacatalog_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-datacatalog-v1beta1-php", +- deps = [ +- ":datacatalog_php_gapic", +- ":datacatalog_php_grpc", +- ":datacatalog_php_proto", +- ], -) - -############################################################################## @@ -11277,25 +27026,66 @@ diff -urN a/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel b/googl - "nodejs_gapic_library", -) - +-nodejs_gapic_library( +- name = "datacatalog_nodejs_gapic", +- package_name = "@google-cloud/datacatalog", +- src = ":datacatalog_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "datacatalog_grpc_service_config.json", +- main_service = "DataCatalog", +- package = "google.cloud.datacatalog.v1beta1", +- service_yaml = "datacatalog_v1beta1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "datacatalog-v1beta1-nodejs", +- deps = [ +- ":datacatalog_nodejs_gapic", +- ":datacatalog_proto", +- ], +-) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "params_ruby_proto", -- deps = [":params_proto"], +- name = "datacatalog_ruby_proto", +- deps = [":datacatalog_proto"], -) - -ruby_grpc_library( -- name = "params_ruby_grpc", -- srcs = [":params_proto"], -- deps = [":params_ruby_proto"], +- name = "datacatalog_ruby_grpc", +- srcs = [":datacatalog_proto"], +- deps = [":datacatalog_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "datacatalog_ruby_gapic", +- srcs = [":datacatalog_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-datacatalog-v1beta1"], +- deps = [ +- ":datacatalog_ruby_grpc", +- ":datacatalog_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-datacatalog-v1beta1-ruby", +- deps = [ +- ":datacatalog_ruby_gapic", +- ":datacatalog_ruby_grpc", +- ":datacatalog_ruby_proto", +- ], -) - -############################################################################## @@ -11303,30 +27093,62 @@ diff -urN a/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel b/googl -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "params_csharp_proto", -- deps = [":params_proto"], +- name = "datacatalog_csharp_proto", +- deps = [":datacatalog_proto"], -) - -csharp_grpc_library( -- name = "params_csharp_grpc", -- srcs = [":params_proto"], -- deps = [":params_csharp_proto"], +- name = "datacatalog_csharp_grpc", +- srcs = [":datacatalog_proto"], +- deps = [":datacatalog_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "datacatalog_csharp_gapic", +- srcs = [":datacatalog_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "datacatalog_grpc_service_config.json", +- deps = [ +- ":datacatalog_csharp_grpc", +- ":datacatalog_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-datacatalog-v1beta1-csharp", +- deps = [ +- ":datacatalog_csharp_gapic", +- ":datacatalog_csharp_grpc", +- ":datacatalog_csharp_proto", +- ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ code here -diff -urN a/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel b/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel ---- a/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,198 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/datafusion/v1/BUILD.bazel b/google/cloud/datafusion/v1/BUILD.bazel +--- a/google/cloud/datafusion/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/datafusion/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,337 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -11335,26 +27157,29 @@ diff -urN a/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel b/g -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "prediction_proto", +- name = "datafusion_proto", - srcs = [ -- "classification.proto", -- "image_object_detection.proto", -- "image_segmentation.proto", -- "tabular_classification.proto", -- "tabular_regression.proto", -- "text_extraction.proto", -- "text_sentiment.proto", -- "video_action_recognition.proto", -- "video_classification.proto", -- "video_object_tracking.proto", +- "datafusion.proto", - ], - deps = [ - "//google/api:annotations_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:struct_proto", -- "@com_google_protobuf//:wrappers_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "datafusion_proto_with_info", +- deps = [ +- ":datafusion_proto", +- "//google/cloud:common_resources_proto", - ], -) - @@ -11363,19 +27188,53 @@ diff -urN a/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel b/g -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "prediction_java_proto", -- deps = [":prediction_proto"], +- name = "datafusion_java_proto", +- deps = [":datafusion_proto"], -) - -java_grpc_library( -- name = "prediction_java_grpc", -- srcs = [":prediction_proto"], -- deps = [":prediction_java_proto"], +- name = "datafusion_java_grpc", +- srcs = [":datafusion_proto"], +- deps = [":datafusion_java_proto"], +-) +- +-java_gapic_library( +- name = "datafusion_java_gapic", +- srcs = [":datafusion_proto_with_info"], +- grpc_service_config = "datafusion_grpc_service_config.json", +- test_deps = [ +- ":datafusion_java_grpc", +- ], +- deps = [ +- ":datafusion_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "datafusion_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.datafusion.v1.DataFusionClientTest", +- ], +- runtime_deps = [":datafusion_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-datafusion-v1-java", +- deps = [ +- ":datafusion_java_gapic", +- ":datafusion_java_grpc", +- ":datafusion_java_proto", +- ":datafusion_proto", +- ], -) - -############################################################################## @@ -11383,17 +27242,53 @@ diff -urN a/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel b/g -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", - "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "datafusion_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/datafusion/v1", +- protos = [":datafusion_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/longrunning:longrunning_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "datafusion_go_gapic", +- srcs = [":datafusion_proto_with_info"], +- grpc_service_config = "datafusion_grpc_service_config.json", +- importpath = "cloud.google.com/go/datafusion/apiv1;datafusion", +- metadata = True, +- service_yaml = "datafusion_v1.yaml", +- deps = [ +- ":datafusion_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- ], +-) +- +-go_test( +- name = "datafusion_go_gapic_test", +- srcs = [":datafusion_go_gapic_srcjar_test"], +- embed = [":datafusion_go_gapic"], +- importpath = "cloud.google.com/go/datafusion/apiv1", -) - --go_proto_library( -- name = "prediction_go_proto", -- compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction", -- protos = [":prediction_proto"], +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-datafusion-v1-go", - deps = [ -- "//google/api:annotations_go_proto", -- "//google/cloud/aiplatform/v1/schema/predict/instance:instance_go_proto", +- ":datafusion_go_gapic", +- ":datafusion_go_gapic_srcjar-metadata.srcjar", +- ":datafusion_go_gapic_srcjar-test.srcjar", +- ":datafusion_go_proto", - ], -) - @@ -11402,52 +27297,22 @@ diff -urN a/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel b/g -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", - "py_gapic_assembly_pkg", - "py_gapic_library", -- "py_grpc_library", -- "py_proto_library", -- --) -- --moved_proto_library( -- name = "prediction_moved_proto", -- srcs = [":prediction_proto"], -- deps = [ -- "//google/api:annotations_proto", -- "//google/cloud/aiplatform/v1/schema/predict/instance:instance_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:struct_proto", -- "@com_google_protobuf//:wrappers_proto", -- ], --) -- --py_proto_library( -- name = "prediction_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":prediction_moved_proto"], --) -- --py_grpc_library( -- name = "prediction_py_grpc", -- srcs = [":prediction_moved_proto"], -- deps = [":prediction_py_proto"], -) - -py_gapic_library( -- name = "prediction_py_gapic", -- opt_args = [ -- "python-gapic-namespace=google.cloud.aiplatform.v1.schema.predict", # Replace with the current version -- "python-gapic-name=prediction", -- ], -- srcs = [":prediction_proto"], +- name = "datafusion_py_gapic", +- srcs = [":datafusion_proto"], +- grpc_service_config = "datafusion_grpc_service_config.json", -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "prediction-py", +- name = "datafusion-v1-py", - deps = [ -- ":prediction_py_gapic", -- ] +- ":datafusion_py_gapic", +- ], -) - -############################################################################## @@ -11455,19 +27320,42 @@ diff -urN a/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel b/g -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "prediction_php_proto", -- deps = [":prediction_proto"], +- name = "datafusion_php_proto", +- deps = [":datafusion_proto"], -) - -php_grpc_library( -- name = "prediction_php_grpc", -- srcs = [":prediction_proto"], -- deps = [":prediction_php_proto"], +- name = "datafusion_php_grpc", +- srcs = [":datafusion_proto"], +- deps = [":datafusion_php_proto"], +-) +- +-php_gapic_library( +- name = "datafusion_php_gapic", +- srcs = [":datafusion_proto_with_info"], +- grpc_service_config = "datafusion_grpc_service_config.json", +- service_yaml = "datafusion_v1.yaml", +- deps = [ +- ":datafusion_php_grpc", +- ":datafusion_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-datafusion-v1-php", +- deps = [ +- ":datafusion_php_gapic", +- ":datafusion_php_grpc", +- ":datafusion_php_proto", +- ], -) - -############################################################################## @@ -11479,25 +27367,66 @@ diff -urN a/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel b/g - "nodejs_gapic_library", -) - +-nodejs_gapic_library( +- name = "datafusion_nodejs_gapic", +- package_name = "@google-cloud/datafusion", +- src = ":datafusion_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "datafusion_grpc_service_config.json", +- package = "google.cloud.datafusion.v1", +- service_yaml = "datafusion_v1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "datafusion-v1-nodejs", +- deps = [ +- ":datafusion_nodejs_gapic", +- ":datafusion_proto", +- ], +-) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "prediction_ruby_proto", -- deps = [":prediction_proto"], +- name = "datafusion_ruby_proto", +- deps = [":datafusion_proto"], -) - -ruby_grpc_library( -- name = "prediction_ruby_grpc", -- srcs = [":prediction_proto"], -- deps = [":prediction_ruby_proto"], +- name = "datafusion_ruby_grpc", +- srcs = [":datafusion_proto"], +- deps = [":datafusion_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "datafusion_ruby_gapic", +- srcs = [":datafusion_proto_with_info"], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-datafusion-v1"], +- grpc_service_config = "datafusion_grpc_service_config.json", +- deps = [ +- ":datafusion_ruby_grpc", +- ":datafusion_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-datafusion-v1-ruby", +- deps = [ +- ":datafusion_ruby_gapic", +- ":datafusion_ruby_grpc", +- ":datafusion_ruby_proto", +- ], -) - -############################################################################## @@ -11505,30 +27434,62 @@ diff -urN a/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel b/g -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "prediction_csharp_proto", -- deps = [":prediction_proto"], +- name = "datafusion_csharp_proto", +- deps = [":datafusion_proto"], -) - -csharp_grpc_library( -- name = "prediction_csharp_grpc", -- srcs = [":prediction_proto"], -- deps = [":prediction_csharp_proto"], +- name = "datafusion_csharp_grpc", +- srcs = [":datafusion_proto"], +- deps = [":datafusion_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "datafusion_csharp_gapic", +- srcs = [":datafusion_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "datafusion_grpc_service_config.json", +- deps = [ +- ":datafusion_csharp_grpc", +- ":datafusion_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-datafusion-v1-csharp", +- deps = [ +- ":datafusion_csharp_gapic", +- ":datafusion_csharp_grpc", +- ":datafusion_csharp_proto", +- ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ code here -diff -urN a/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel b/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel ---- a/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,190 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/datafusion/v1beta1/BUILD.bazel b/google/cloud/datafusion/v1beta1/BUILD.bazel +--- a/google/cloud/datafusion/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/datafusion/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,344 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -11537,24 +27498,31 @@ diff -urN a/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "definition_proto", +- name = "datafusion_proto", - srcs = [ -- "automl_image_classification.proto", -- "automl_image_object_detection.proto", -- "automl_image_segmentation.proto", -- "automl_tables.proto", -- "automl_text_classification.proto", -- "automl_text_extraction.proto", -- "automl_text_sentiment.proto", -- "automl_video_action_recognition.proto", -- "automl_video_classification.proto", -- "automl_video_object_tracking.proto", -- "export_evaluated_data_items_config.proto", +- "v1beta1.proto", - ], - deps = [ - "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/iam/v1:policy_proto", +- "//google/longrunning:operations_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "datafusion_proto_with_info", +- deps = [ +- ":datafusion_proto", +- "//google/cloud:common_resources_proto", - ], -) - @@ -11563,19 +27531,55 @@ diff -urN a/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "definition_java_proto", -- deps = [":definition_proto"], +- name = "datafusion_java_proto", +- deps = [":datafusion_proto"], -) - -java_grpc_library( -- name = "definition_java_grpc", -- srcs = [":definition_proto"], -- deps = [":definition_java_proto"], +- name = "datafusion_java_grpc", +- srcs = [":datafusion_proto"], +- deps = [":datafusion_java_proto"], +-) +- +-java_gapic_library( +- name = "datafusion_java_gapic", +- srcs = [":datafusion_proto_with_info"], +- grpc_service_config = "datafusion_grpc_service_config.json", +- test_deps = [ +- ":datafusion_java_grpc", +- "//google/iam/v1:iam_java_grpc", +- ], +- deps = [ +- ":datafusion_java_proto", +- "//google/iam/v1:iam_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "datafusion_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.datafusion.v1beta1.DataFusionClientTest", +- ], +- runtime_deps = [":datafusion_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-datafusion-v1beta1-java", +- deps = [ +- ":datafusion_java_gapic", +- ":datafusion_java_grpc", +- ":datafusion_java_proto", +- ":datafusion_proto", +- ], -) - -############################################################################## @@ -11583,16 +27587,56 @@ diff -urN a/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", - "go_proto_library", +- "go_test", -) - -go_proto_library( -- name = "definition_go_proto", +- name = "datafusion_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition", -- protos = [":definition_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/datafusion/v1beta1", +- protos = [":datafusion_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "datafusion_go_gapic", +- srcs = [":datafusion_proto_with_info"], +- grpc_service_config = "datafusion_grpc_service_config.json", +- importpath = "cloud.google.com/go/datafusion/apiv1beta1;datafusion", +- metadata = True, +- service_yaml = "datafusion_v1beta1.yaml", +- deps = [ +- ":datafusion_go_proto", +- "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- ], +-) +- +-go_test( +- name = "datafusion_go_gapic_test", +- srcs = [":datafusion_go_gapic_srcjar_test"], +- embed = [":datafusion_go_gapic"], +- importpath = "cloud.google.com/go/datafusion/apiv1beta1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-datafusion-v1beta1-go", +- deps = [ +- ":datafusion_go_gapic", +- ":datafusion_go_gapic_srcjar-metadata.srcjar", +- ":datafusion_go_gapic_srcjar-test.srcjar", +- ":datafusion_go_proto", - ], -) - @@ -11601,47 +27645,21 @@ diff -urN a/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", - "py_gapic_assembly_pkg", - "py_gapic_library", -- "py_grpc_library", -- "py_proto_library", --) -- --moved_proto_library( -- name = "definition_moved_proto", -- srcs = [":definition_proto"], -- deps = [ -- "//google/api:annotations_proto", -- ], --) -- --py_proto_library( -- name = "definition_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":definition_moved_proto"], --) -- --py_grpc_library( -- name = "definition_py_grpc", -- srcs = [":definition_moved_proto"], -- deps = [":definition_py_proto"], -) - -py_gapic_library( -- name = "definition_py_gapic", -- srcs = [":definition_proto"], -- opt_args = [ -- "python-gapic-namespace=google.cloud.aiplatform.v1.schema.trainingjob", -- "python-gapic-name=definition", -- ], +- name = "datafusion_py_gapic", +- srcs = [":datafusion_proto"], +- grpc_service_config = "datafusion_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "definition_py", +- name = "datafusion-v1beta1-py", - deps = [ -- ":definition_py_gapic", +- ":datafusion_py_gapic", - ], -) - @@ -11650,19 +27668,42 @@ diff -urN a/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "definition_php_proto", -- deps = [":definition_proto"], +- name = "datafusion_php_proto", +- deps = [":datafusion_proto"], -) - -php_grpc_library( -- name = "definition_php_grpc", -- srcs = [":definition_proto"], -- deps = [":definition_php_proto"], +- name = "datafusion_php_grpc", +- srcs = [":datafusion_proto"], +- deps = [":datafusion_php_proto"], +-) +- +-php_gapic_library( +- name = "datafusion_php_gapic", +- srcs = [":datafusion_proto_with_info"], +- grpc_service_config = "datafusion_grpc_service_config.json", +- service_yaml = "datafusion_v1beta1.yaml", +- deps = [ +- ":datafusion_php_grpc", +- ":datafusion_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-datafusion-v1beta1-php", +- deps = [ +- ":datafusion_php_gapic", +- ":datafusion_php_grpc", +- ":datafusion_php_proto", +- ], -) - -############################################################################## @@ -11674,24 +27715,66 @@ diff -urN a/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel - "nodejs_gapic_library", -) - +-nodejs_gapic_library( +- name = "datafusion_nodejs_gapic", +- package_name = "@google-cloud/datafusion", +- src = ":datafusion_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "datafusion_grpc_service_config.json", +- package = "google.cloud.datafusion.v1beta1", +- service_yaml = "datafusion_v1beta1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "datafusion-v1beta1-nodejs", +- deps = [ +- ":datafusion_nodejs_gapic", +- ":datafusion_proto", +- ], +-) +- -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "definition_ruby_proto", -- deps = [":definition_proto"], +- name = "datafusion_ruby_proto", +- deps = [":datafusion_proto"], -) - -ruby_grpc_library( -- name = "definition_ruby_grpc", -- srcs = [":definition_proto"], -- deps = [":definition_ruby_proto"], +- name = "datafusion_ruby_grpc", +- srcs = [":datafusion_proto"], +- deps = [":datafusion_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "datafusion_ruby_gapic", +- srcs = [":datafusion_proto_with_info"], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-datafusion-v1beta1"], +- grpc_service_config = "datafusion_grpc_service_config.json", +- deps = [ +- ":datafusion_ruby_grpc", +- ":datafusion_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-datafusion-v1beta1-ruby", +- deps = [ +- ":datafusion_ruby_gapic", +- ":datafusion_ruby_grpc", +- ":datafusion_ruby_proto", +- ], -) - -############################################################################## @@ -11699,31 +27782,58 @@ diff -urN a/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "definition_csharp_proto", -- deps = [":definition_proto"], +- name = "datafusion_csharp_proto", +- deps = [":datafusion_proto"], -) - -csharp_grpc_library( -- name = "definition_csharp_grpc", -- srcs = [":definition_proto"], -- deps = [":definition_csharp_proto"], +- name = "datafusion_csharp_grpc", +- srcs = [":datafusion_proto"], +- deps = [":datafusion_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "datafusion_csharp_gapic", +- srcs = [":datafusion_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "datafusion_grpc_service_config.json", +- deps = [ +- ":datafusion_csharp_grpc", +- ":datafusion_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-datafusion-v1beta1-csharp", +- deps = [ +- ":datafusion_csharp_gapic", +- ":datafusion_csharp_grpc", +- ":datafusion_csharp_proto", +- ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ code here -diff -urN a/google/cloud/aiplatform/v1beta1/BUILD.bazel b/google/cloud/aiplatform/v1beta1/BUILD.bazel ---- a/google/cloud/aiplatform/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/aiplatform/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,414 +0,0 @@ --# This file was generated and then heavily edited by hand. Be careful not --# to rollback, undo, or overwrite any of the manual changes. +-# Put your C++ rules here +diff -urN a/google/cloud/datalabeling/BUILD.bazel b/google/cloud/datalabeling/BUILD.bazel +--- a/google/cloud/datalabeling/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/datalabeling/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/cloud/datalabeling/v1beta1/BUILD.bazel b/google/cloud/datalabeling/v1beta1/BUILD.bazel +--- a/google/cloud/datalabeling/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/datalabeling/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,347 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -11734,55 +27844,19 @@ diff -urN a/google/cloud/aiplatform/v1beta1/BUILD.bazel b/google/cloud/aiplatfor -load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - --_PROTO_SUBPACKAGE_DEPS = [ -- "//google/cloud/aiplatform/v1beta1/schema:schema_proto", -- "//google/cloud/aiplatform/v1beta1/schema/predict/instance:instance_proto", -- "//google/cloud/aiplatform/v1beta1/schema/predict/params:params_proto", -- "//google/cloud/aiplatform/v1beta1/schema/predict/prediction:prediction_proto", -- "//google/cloud/aiplatform/v1beta1/schema/trainingjob/definition:definition_proto", --] -- -proto_library( -- name = "aiplatform_proto", +- name = "datalabeling_proto", - srcs = [ -- "accelerator_type.proto", - "annotation.proto", -- "annotation_spec.proto", -- "batch_prediction_job.proto", -- "completion_stats.proto", -- "custom_job.proto", -- "data_item.proto", -- "data_labeling_job.proto", +- "annotation_spec_set.proto", +- "data_labeling_service.proto", +- "data_payloads.proto", - "dataset.proto", -- "dataset_service.proto", -- "deployed_model_ref.proto", -- "encryption_spec.proto", -- "endpoint.proto", -- "endpoint_service.proto", -- "env_var.proto", -- "explanation.proto", -- "explanation_metadata.proto", -- "hyperparameter_tuning_job.proto", -- "io.proto", -- "job_service.proto", -- "job_state.proto", -- "machine_resources.proto", -- "manual_batch_tuning_parameters.proto", -- "migratable_resource.proto", -- "migration_service.proto", -- "model.proto", -- "model_evaluation.proto", -- "model_evaluation_slice.proto", -- "model_service.proto", -- "operation.proto", -- "pipeline_service.proto", -- "pipeline_state.proto", -- "prediction_service.proto", -- "specialist_pool.proto", -- "specialist_pool_service.proto", -- "study.proto", -- "training_pipeline.proto", -- "user_action_reference.proto", +- "evaluation.proto", +- "evaluation_job.proto", +- "human_annotation_config.proto", +- "instruction.proto", +- "operations.proto", - ], - deps = [ - "//google/api:annotations_proto", @@ -11791,22 +27865,19 @@ diff -urN a/google/cloud/aiplatform/v1beta1/BUILD.bazel b/google/cloud/aiplatfor - "//google/api:resource_proto", - "//google/longrunning:operations_proto", - "//google/rpc:status_proto", -- "//google/type:money_proto", - "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", -- "@com_google_protobuf//:wrappers_proto", -- ] + _PROTO_SUBPACKAGE_DEPS, +- ], -) - -proto_library_with_info( -- name = "aiplatform_proto_with_info", +- name = "datalabeling_proto_with_info", - deps = [ -- ":aiplatform_proto", +- ":datalabeling_proto", - "//google/cloud:common_resources_proto", -- ] + _PROTO_SUBPACKAGE_DEPS, +- ], -) - -############################################################################## @@ -11821,67 +27892,46 @@ diff -urN a/google/cloud/aiplatform/v1beta1/BUILD.bazel b/google/cloud/aiplatfor - "java_proto_library", -) - --_JAVA_PROTO_SUBPACKAGE_DEPS = [ -- "//google/cloud/aiplatform/v1beta1/schema/predict/instance:instance_java_proto", -- "//google/cloud/aiplatform/v1beta1/schema/predict/params:params_java_proto", -- "//google/cloud/aiplatform/v1beta1/schema/predict/prediction:prediction_java_proto", -- "//google/cloud/aiplatform/v1beta1/schema/trainingjob/definition:definition_java_proto", --] -- --_JAVA_GRPC_SUBPACKAGE_DEPS = [ -- "//google/cloud/aiplatform/v1beta1/schema/predict/instance:instance_java_grpc", -- "//google/cloud/aiplatform/v1beta1/schema/predict/params:params_java_grpc", -- "//google/cloud/aiplatform/v1beta1/schema/predict/prediction:prediction_java_grpc", -- "//google/cloud/aiplatform/v1beta1/schema/trainingjob/definition:definition_java_grpc", --] -- -java_proto_library( -- name = "aiplatform_java_proto", -- deps = [":aiplatform_proto"], +- name = "datalabeling_java_proto", +- deps = [":datalabeling_proto"], -) - -java_grpc_library( -- name = "aiplatform_java_grpc", -- srcs = [":aiplatform_proto"], -- deps = [":aiplatform_java_proto"] + _JAVA_PROTO_SUBPACKAGE_DEPS, +- name = "datalabeling_java_grpc", +- srcs = [":datalabeling_proto"], +- deps = [":datalabeling_java_proto"], -) - -java_gapic_library( -- name = "aiplatform_java_gapic", -- srcs = [":aiplatform_proto_with_info"], -- grpc_service_config = "aiplatform_grpc_service_config.json", +- name = "datalabeling_java_gapic", +- srcs = [":datalabeling_proto_with_info"], +- grpc_service_config = "datalabeling_grpc_service_config.json", - test_deps = [ -- ":aiplatform_java_grpc", -- ] + _JAVA_GRPC_SUBPACKAGE_DEPS, +- ":datalabeling_java_grpc", +- ], - deps = [ -- ":aiplatform_java_proto", -- ] + _JAVA_PROTO_SUBPACKAGE_DEPS, +- ":datalabeling_java_proto", +- ], -) - -java_gapic_test( -- name = "aiplatform_java_gapic_test_suite", +- name = "datalabeling_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.aiplatform.v1beta1.DatasetServiceClientTest", -- "com.google.cloud.aiplatform.v1beta1.EndpointServiceClientTest", -- "com.google.cloud.aiplatform.v1beta1.JobServiceClientTest", -- "com.google.cloud.aiplatform.v1beta1.MigrationServiceClientTest", -- "com.google.cloud.aiplatform.v1beta1.ModelServiceClientTest", -- "com.google.cloud.aiplatform.v1beta1.PipelineServiceClientTest", -- "com.google.cloud.aiplatform.v1beta1.PredictionServiceClientTest", -- "com.google.cloud.aiplatform.v1beta1.SpecialistPoolServiceClientTest", +- "com.google.cloud.datalabeling.v1beta1.DataLabelingServiceClientTest", - ], -- runtime_deps = [":aiplatform_java_gapic_test"], +- runtime_deps = [":datalabeling_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-aiplatform-v1beta1-java", +- name = "google-cloud-datalabeling-v1beta1-java", - deps = [ -- ":aiplatform_java_gapic", -- ":aiplatform_java_grpc", -- ":aiplatform_java_proto", -- ":aiplatform_proto", -- ] + _JAVA_PROTO_SUBPACKAGE_DEPS + _PROTO_SUBPACKAGE_DEPS + _JAVA_GRPC_SUBPACKAGE_DEPS, +- ":datalabeling_java_gapic", +- ":datalabeling_java_grpc", +- ":datalabeling_java_proto", +- ":datalabeling_proto", +- ], -) - -############################################################################## @@ -11896,48 +27946,46 @@ diff -urN a/google/cloud/aiplatform/v1beta1/BUILD.bazel b/google/cloud/aiplatfor -) - -go_proto_library( -- name = "aiplatform_go_proto", +- name = "datalabeling_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1", -- protos = [":aiplatform_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1", +- protos = [":datalabeling_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/longrunning:longrunning_go_proto", - "//google/rpc:status_go_proto", -- "//google/type:money_go_proto", - ], -) - -go_gapic_library( -- name = "aiplatform_go_gapic", -- srcs = [":aiplatform_proto_with_info"], -- grpc_service_config = "aiplatform_grpc_service_config.json", -- importpath = "cloud.google.com/go/aiplatform/apiv1beta1;aiplatform", -- service_yaml = "aiplatform_v1beta1.yaml", +- name = "datalabeling_go_gapic", +- srcs = [":datalabeling_proto_with_info"], +- grpc_service_config = "datalabeling_grpc_service_config.json", +- importpath = "cloud.google.com/go/datalabeling/apiv1beta1;datalabeling", +- service_yaml = "datalabeling_v1beta1.yaml", - deps = [ -- ":aiplatform_go_proto", +- ":datalabeling_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", - "@io_bazel_rules_go//proto/wkt:duration_go_proto", -- "@io_bazel_rules_go//proto/wkt:struct_go_proto", - ], -) - -go_test( -- name = "aiplatform_go_gapic_test", -- srcs = [":aiplatform_go_gapic_srcjar_test"], -- embed = [":aiplatform_go_gapic"], -- importpath = "cloud.google.com/go/aiplatform/apiv1beta1", +- name = "datalabeling_go_gapic_test", +- srcs = [":datalabeling_go_gapic_srcjar_test"], +- embed = [":datalabeling_go_gapic"], +- importpath = "cloud.google.com/go/datalabeling/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-aiplatform-v1beta1-go", +- name = "gapi-cloud-datalabeling-v1beta1-go", - deps = [ -- ":aiplatform_go_gapic", -- ":aiplatform_go_gapic_srcjar-test.srcjar", -- ":aiplatform_go_proto", +- ":datalabeling_go_gapic", +- ":datalabeling_go_gapic_srcjar-test.srcjar", +- ":datalabeling_go_proto", - ], -) - @@ -11950,25 +27998,17 @@ diff -urN a/google/cloud/aiplatform/v1beta1/BUILD.bazel b/google/cloud/aiplatfor - "py_gapic_library", -) - --_PY_GAPIC_SUBPACKAGE_DEPS = [ -- "//google/cloud/aiplatform/v1beta1/schema/predict/instance:instance_py_gapic", -- "//google/cloud/aiplatform/v1beta1/schema/predict/params:params_py_gapic", -- "//google/cloud/aiplatform/v1beta1/schema/predict/prediction:prediction_py_gapic", -- "//google/cloud/aiplatform/v1beta1/schema/trainingjob/definition:definition_py_gapic", --] -- -py_gapic_library( -- name = "aiplatform_py_gapic", -- srcs = [":aiplatform_proto"], -- grpc_service_config = "aiplatform_grpc_service_config.json", +- name = "datalabeling_py_gapic", +- srcs = [":datalabeling_proto"], +- grpc_service_config = "datalabeling_grpc_service_config.json", -) - --# Open Source Packages -py_gapic_assembly_pkg( -- name = "aiplatform-v1beta1-py", +- name = "datalabeling-v1beta1-py", - deps = [ -- ":aiplatform_py_gapic", -- ] + _PROTO_SUBPACKAGE_DEPS + _PY_GAPIC_SUBPACKAGE_DEPS, +- ":datalabeling_py_gapic", +- ], -) - -############################################################################## @@ -11983,36 +28023,33 @@ diff -urN a/google/cloud/aiplatform/v1beta1/BUILD.bazel b/google/cloud/aiplatfor -) - -php_proto_library( -- name = "aiplatform_php_proto", -- deps = [":aiplatform_proto"], +- name = "datalabeling_php_proto", +- deps = [":datalabeling_proto"], -) - -php_grpc_library( -- name = "aiplatform_php_grpc", -- srcs = [":aiplatform_proto"], -- deps = [":aiplatform_php_proto"], +- name = "datalabeling_php_grpc", +- srcs = [":datalabeling_proto"], +- deps = [":datalabeling_php_proto"], -) - -php_gapic_library( -- name = "aiplatform_php_gapic", -- src = ":aiplatform_proto_with_info", -- gapic_yaml = "aiplatform_gapic.yaml", -- grpc_service_config = "aiplatform_grpc_service_config.json", -- package = "google.cloud.aiplatform.v1beta1", -- service_yaml = "aiplatform_v1beta1.yaml", +- name = "datalabeling_php_gapic", +- srcs = [":datalabeling_proto_with_info"], +- grpc_service_config = "datalabeling_grpc_service_config.json", - deps = [ -- ":aiplatform_php_grpc", -- ":aiplatform_php_proto", +- ":datalabeling_php_grpc", +- ":datalabeling_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-aiplatform-v1beta1-php", +- name = "google-cloud-datalabeling-v1beta1-php", - deps = [ -- ":aiplatform_php_gapic", -- ":aiplatform_php_grpc", -- ":aiplatform_php_proto", +- ":datalabeling_php_gapic", +- ":datalabeling_php_grpc", +- ":datalabeling_php_proto", - ], -) - @@ -12026,22 +28063,23 @@ diff -urN a/google/cloud/aiplatform/v1beta1/BUILD.bazel b/google/cloud/aiplatfor -) - -nodejs_gapic_library( -- name = "aiplatform_nodejs_gapic", -- package_name = "@google-cloud/aiplatform", -- src = ":aiplatform_proto_with_info", +- name = "datalabeling_nodejs_gapic", +- package_name = "@google-cloud/datalabeling", +- src = ":datalabeling_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "aiplatform_grpc_service_config.json", -- package = "google.cloud.aiplatform.v1beta1", -- service_yaml = "aiplatform_v1beta1.yaml", +- grpc_service_config = "datalabeling_grpc_service_config.json", +- main_service = "datalabeling", +- package = "google.cloud.datalabeling.v1beta1", +- service_yaml = "datalabeling_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "aiplatform-v1beta1-nodejs", +- name = "datalabeling-v1beta1-nodejs", - deps = [ -- ":aiplatform_nodejs_gapic", -- ":aiplatform_proto", -- ] + _PROTO_SUBPACKAGE_DEPS, +- ":datalabeling_nodejs_gapic", +- ":datalabeling_proto", +- ], -) - -############################################################################## @@ -12049,43 +28087,49 @@ diff -urN a/google/cloud/aiplatform/v1beta1/BUILD.bazel b/google/cloud/aiplatfor -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "aiplatform_ruby_proto", -- deps = [":aiplatform_proto"], +- name = "datalabeling_ruby_proto", +- deps = [":datalabeling_proto"], -) - -ruby_grpc_library( -- name = "aiplatform_ruby_grpc", -- srcs = [":aiplatform_proto"], -- deps = [":aiplatform_ruby_proto"], +- name = "datalabeling_ruby_grpc", +- srcs = [":datalabeling_proto"], +- deps = [":datalabeling_ruby_proto"], -) - --ruby_gapic_library( -- name = "aiplatform_ruby_gapic", -- src = ":aiplatform_proto_with_info", -- gapic_yaml = "aiplatform_gapic.yaml", -- grpc_service_config = "aiplatform_grpc_service_config.json", -- package = "google.cloud.aiplatform.v1beta1", -- service_yaml = "aiplatform_v1beta1.yaml", +-ruby_cloud_gapic_library( +- name = "datalabeling_ruby_gapic", +- srcs = [":datalabeling_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-data_labeling-v1beta1", +- "ruby-cloud-env-prefix=DATA_LABELING", +- "ruby-cloud-product-url=https://cloud.google.com/ai-platform/data-labeling/docs", +- "ruby-cloud-api-id=datalabeling.googleapis.com", +- "ruby-cloud-api-shortname=datalabeling", +- ], +- grpc_service_config = "datalabeling_grpc_service_config.json", +- ruby_cloud_description = "AI Platform Data Labeling Service lets you work with human labelers to generate highly accurate labels for a collection of data that you can use in machine learning models.", +- ruby_cloud_title = "AI Platform Data Labeling Service V1beta1", - deps = [ -- ":aiplatform_ruby_grpc", -- ":aiplatform_ruby_proto", +- ":datalabeling_ruby_grpc", +- ":datalabeling_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-aiplatform-v1beta1-ruby", +- name = "google-cloud-datalabeling-v1beta1-ruby", - deps = [ -- ":aiplatform_ruby_gapic", -- ":aiplatform_ruby_grpc", -- ":aiplatform_ruby_proto", +- ":datalabeling_ruby_gapic", +- ":datalabeling_ruby_grpc", +- ":datalabeling_ruby_proto", - ], -) - @@ -12101,34 +28145,34 @@ diff -urN a/google/cloud/aiplatform/v1beta1/BUILD.bazel b/google/cloud/aiplatfor -) - -csharp_proto_library( -- name = "aiplatform_csharp_proto", -- deps = [":aiplatform_proto"], +- name = "datalabeling_csharp_proto", +- deps = [":datalabeling_proto"], -) - -csharp_grpc_library( -- name = "aiplatform_csharp_grpc", -- srcs = [":aiplatform_proto"], -- deps = [":aiplatform_csharp_proto"], +- name = "datalabeling_csharp_grpc", +- srcs = [":datalabeling_proto"], +- deps = [":datalabeling_csharp_proto"], -) - -csharp_gapic_library( -- name = "aiplatform_csharp_gapic", -- srcs = [":aiplatform_proto_with_info"], +- name = "datalabeling_csharp_gapic", +- srcs = [":datalabeling_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "aiplatform_grpc_service_config.json", +- grpc_service_config = "datalabeling_grpc_service_config.json", - deps = [ -- ":aiplatform_csharp_grpc", -- ":aiplatform_csharp_proto", +- ":datalabeling_csharp_grpc", +- ":datalabeling_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-aiplatform-v1beta1-csharp", +- name = "google-cloud-datalabeling-v1beta1-csharp", - deps = [ -- ":aiplatform_csharp_gapic", -- ":aiplatform_csharp_grpc", -- ":aiplatform_csharp_proto", +- ":datalabeling_csharp_gapic", +- ":datalabeling_csharp_grpc", +- ":datalabeling_csharp_proto", - ], -) - @@ -12136,10 +28180,10 @@ diff -urN a/google/cloud/aiplatform/v1beta1/BUILD.bazel b/google/cloud/aiplatfor -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel b/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel ---- a/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,177 +0,0 @@ +diff -urN a/google/cloud/dataproc/logging/BUILD.bazel b/google/cloud/dataproc/logging/BUILD.bazel +--- a/google/cloud/dataproc/logging/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/dataproc/logging/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,160 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -12151,21 +28195,12 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel b/google/cloud/ai -load("@rules_proto//proto:defs.bzl", "proto_library") - -proto_library( -- name = "schema_proto", +- name = "logging_proto", - srcs = [ -- "annotation_payload.proto", -- "annotation_spec_color.proto", -- "data_item_payload.proto", -- "dataset_metadata.proto", -- "geometry.proto", +- "autoscaler_log.proto", - ], - deps = [ -- "//google/api:annotations_proto", -- "//google/api:field_behavior_proto", -- "//google/type:color_proto", - "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:struct_proto", -- "@com_google_protobuf//:wrappers_proto", - ], -) - @@ -12179,14 +28214,14 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel b/google/cloud/ai -) - -java_proto_library( -- name = "schema_java_proto", -- deps = [":schema_proto"], +- name = "logging_java_proto", +- deps = [":logging_proto"], -) - -java_grpc_library( -- name = "schema_java_grpc", -- srcs = [":schema_proto"], -- deps = [":schema_java_proto"], +- name = "logging_java_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_java_proto"], -) - -############################################################################## @@ -12198,13 +28233,11 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel b/google/cloud/ai -) - -go_proto_library( -- name = "schema_go_proto", +- name = "logging_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema", -- protos = [":schema_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/dataproc/logging", +- protos = [":logging_proto"], - deps = [ -- "//google/api:annotations_go_proto", -- "//google/type:color_go_proto", - ], -) - @@ -12219,28 +28252,22 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel b/google/cloud/ai -) - -moved_proto_library( -- name = "schema_moved_proto", -- srcs = [":schema_proto"], +- name = "logging_moved_proto", +- srcs = [":logging_proto"], - deps = [ -- "//google/api:annotations_proto", -- "//google/api:field_behavior_proto", -- "//google/type:color_proto", - "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:struct_proto", -- "@com_google_protobuf//:wrappers_proto", - ], -) - -py_proto_library( -- name = "schema_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":schema_moved_proto"], +- name = "logging_py_proto", +- deps = [":logging_moved_proto"], -) - -py_grpc_library( -- name = "schema_py_grpc", -- srcs = [":schema_moved_proto"], -- deps = [":schema_py_proto"], +- name = "logging_py_grpc", +- srcs = [":logging_moved_proto"], +- deps = [":logging_py_proto"], -) - -############################################################################## @@ -12253,14 +28280,14 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel b/google/cloud/ai -) - -php_proto_library( -- name = "schema_php_proto", -- deps = [":schema_proto"], +- name = "logging_php_proto", +- deps = [":logging_proto"], -) - -php_grpc_library( -- name = "schema_php_grpc", -- srcs = [":schema_proto"], -- deps = [":schema_php_proto"], +- name = "logging_php_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_php_proto"], -) - -############################################################################## @@ -12283,14 +28310,14 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel b/google/cloud/ai -) - -ruby_proto_library( -- name = "schema_ruby_proto", -- deps = [":schema_proto"], +- name = "logging_ruby_proto", +- deps = [":logging_proto"], -) - -ruby_grpc_library( -- name = "schema_ruby_grpc", -- srcs = [":schema_proto"], -- deps = [":schema_ruby_proto"], +- name = "logging_ruby_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_ruby_proto"], -) - -############################################################################## @@ -12303,24 +28330,24 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel b/google/cloud/ai -) - -csharp_proto_library( -- name = "schema_csharp_proto", -- deps = [":schema_proto"], +- name = "logging_csharp_proto", +- deps = [":logging_proto"], -) - -csharp_grpc_library( -- name = "schema_csharp_grpc", -- srcs = [":schema_proto"], -- deps = [":schema_csharp_proto"], +- name = "logging_csharp_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_csharp_proto"], -) - -############################################################################## -# C++ -############################################################################## -# Put your C++ code here -diff -urN a/google/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel b/google/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel ---- a/google/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,188 +0,0 @@ +diff -urN a/google/cloud/dataproc/v1/BUILD.bazel b/google/cloud/dataproc/v1/BUILD.bazel +--- a/google/cloud/dataproc/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/dataproc/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,348 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -12330,22 +28357,36 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "instance_proto", +- name = "dataproc_proto", - srcs = [ -- "image_classification.proto", -- "image_object_detection.proto", -- "image_segmentation.proto", -- "text_classification.proto", -- "text_extraction.proto", -- "text_sentiment.proto", -- "video_action_recognition.proto", -- "video_classification.proto", -- "video_object_tracking.proto", +- "autoscaling_policies.proto", +- "clusters.proto", +- "jobs.proto", +- "operations.proto", +- "shared.proto", +- "workflow_templates.proto", - ], - deps = [ - "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "dataproc_proto_with_info", +- deps = [ +- ":dataproc_proto", +- "//google/cloud:common_resources_proto", - ], -) - @@ -12354,304 +28395,207 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "instance_java_proto", -- deps = [":instance_proto"], +- name = "dataproc_java_proto", +- deps = [":dataproc_proto"], -) - -java_grpc_library( -- name = "instance_java_grpc", -- srcs = [":instance_proto"], -- deps = [":instance_java_proto"], --) -- --############################################################################## --# Go --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "go_proto_library", +- name = "dataproc_java_grpc", +- srcs = [":dataproc_proto"], +- deps = [":dataproc_java_proto"], -) - --go_proto_library( -- name = "instance_go_proto", -- compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance", -- protos = [":instance_proto"], -- deps = [ -- "//google/api:annotations_go_proto", +-java_gapic_library( +- name = "dataproc_java_gapic", +- srcs = [":dataproc_proto_with_info"], +- gapic_yaml = "dataproc_gapic.yaml", +- grpc_service_config = "dataproc_grpc_service_config.json", +- test_deps = [ +- ":dataproc_java_grpc", - ], --) -- --############################################################################## --# Python --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", -- "py_gapic_assembly_pkg", -- "py_gapic_library", -- "py_grpc_library", -- "py_proto_library", --) -- --moved_proto_library( -- name = "instance_moved_proto", -- srcs = [":instance_proto"], - deps = [ -- "//google/api:annotations_proto", +- ":dataproc_java_proto", - ], -) - --py_proto_library( -- name = "instance_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":instance_moved_proto"], --) -- --py_grpc_library( -- name = "instance_py_grpc", -- srcs = [":instance_moved_proto"], -- deps = [":instance_py_proto"], --) -- --py_gapic_library( -- name = "instance_py_gapic", -- srcs = [":instance_proto"], -- opt_args = [ -- "python-gapic-namespace=google.cloud.aiplatform.v1beta1.schema.predict", -- "python-gapic-name=instance", +-java_gapic_test( +- name = "dataproc_java_gapic_test_suite", +- test_classes = [ +- # Add AutoscalingPolicyService to gapic yaml +- "com.google.cloud.dataproc.v1.AutoscalingPolicyServiceClientTest", +- "com.google.cloud.dataproc.v1.ClusterControllerClientTest", +- "com.google.cloud.dataproc.v1.JobControllerClientTest", +- "com.google.cloud.dataproc.v1.WorkflowTemplateServiceClientTest", - ], +- runtime_deps = [":dataproc_java_gapic_test"], -) - -# Open Source Packages --py_gapic_assembly_pkg( -- name = "instance-py", +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-dataproc-v1-java", - deps = [ -- ":instance_py_gapic", +- ":dataproc_java_gapic", +- ":dataproc_java_grpc", +- ":dataproc_java_proto", +- ":dataproc_proto", - ], -) - -############################################################################## --# PHP --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "php_grpc_library", -- "php_proto_library", --) -- --php_proto_library( -- name = "instance_php_proto", -- deps = [":instance_proto"], --) -- --php_grpc_library( -- name = "instance_php_grpc", -- srcs = [":instance_proto"], -- deps = [":instance_php_proto"], --) -- --############################################################################## --# Node.js --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "nodejs_gapic_assembly_pkg", -- "nodejs_gapic_library", --) -- --############################################################################## --# Ruby +-# Go -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_grpc_library", -- "ruby_proto_library", --) -- --ruby_proto_library( -- name = "instance_ruby_proto", -- deps = [":instance_proto"], --) -- --ruby_grpc_library( -- name = "instance_ruby_grpc", -- srcs = [":instance_proto"], -- deps = [":instance_ruby_proto"], +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", -) - --############################################################################## --# C# --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "csharp_grpc_library", -- "csharp_proto_library", +-go_proto_library( +- name = "dataproc_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/dataproc/v1", +- protos = [":dataproc_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/longrunning:longrunning_go_proto", +- ], -) - --csharp_proto_library( -- name = "instance_csharp_proto", -- deps = [":instance_proto"], +-go_gapic_library( +- name = "dataproc_go_gapic", +- srcs = [":dataproc_proto_with_info"], +- grpc_service_config = "dataproc_grpc_service_config.json", +- importpath = "cloud.google.com/go/dataproc/apiv1;dataproc", +- service_yaml = "dataproc_v1.yaml", +- deps = [ +- ":dataproc_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- ], -) - --csharp_grpc_library( -- name = "instance_csharp_grpc", -- srcs = [":instance_proto"], -- deps = [":instance_csharp_proto"], +-go_test( +- name = "dataproc_go_gapic_test", +- srcs = [":dataproc_go_gapic_srcjar_test"], +- embed = [":dataproc_go_gapic"], +- importpath = "cloud.google.com/go/dataproc/apiv1", -) - --############################################################################## --# C++ --############################################################################## --# Put your C++ code here -diff -urN a/google/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel b/google/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel ---- a/google/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,185 +0,0 @@ --# This file was automatically generated by BuildFileGenerator -- --# This is an API workspace, having public visibility by default makes perfect sense. --package(default_visibility = ["//visibility:public"]) -- --############################################################################## --# Common --############################################################################## --load("@rules_proto//proto:defs.bzl", "proto_library") -- --proto_library( -- name = "params_proto", -- srcs = [ -- "image_classification.proto", -- "image_object_detection.proto", -- "image_segmentation.proto", -- "video_action_recognition.proto", -- "video_classification.proto", -- "video_object_tracking.proto", -- ], +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-dataproc-v1-go", - deps = [ -- "//google/api:annotations_proto", +- ":dataproc_go_gapic", +- ":dataproc_go_gapic_srcjar-test.srcjar", +- ":dataproc_go_proto", - ], -) - -############################################################################## --# Java +-# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "java_grpc_library", -- "java_proto_library", --) -- --java_proto_library( -- name = "params_java_proto", -- deps = [":params_proto"], --) -- --java_grpc_library( -- name = "params_java_grpc", -- srcs = [":params_proto"], -- deps = [":params_java_proto"], +- "py_gapic_assembly_pkg", +- "py_gapic_library", -) - --############################################################################## --# Go --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "go_proto_library", +-py_gapic_library( +- name = "dataproc_py_gapic", +- srcs = [":dataproc_proto"], +- grpc_service_config = "dataproc_grpc_service_config.json", -) - --go_proto_library( -- name = "params_go_proto", -- compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/params", -- protos = [":params_proto"], +-py_gapic_assembly_pkg( +- name = "dataproc-v1-py", - deps = [ -- "//google/api:annotations_go_proto", +- ":dataproc_py_gapic", - ], -) - -############################################################################## --# Python +-# PHP -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", -- "py_gapic_assembly_pkg", -- "py_gapic_library", -- "py_grpc_library", -- "py_proto_library", --) -- --moved_proto_library( -- name = "params_moved_proto", -- srcs = [":params_proto"], -- deps = [ -- "//google/api:annotations_proto", -- ], +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", -) - --py_proto_library( -- name = "params_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":params_moved_proto"], +-php_proto_library( +- name = "dataproc_php_proto", +- deps = [":dataproc_proto"], -) - --py_grpc_library( -- name = "params_py_grpc", -- srcs = [":params_moved_proto"], -- deps = [":params_py_proto"], +-php_grpc_library( +- name = "dataproc_php_grpc", +- srcs = [":dataproc_proto"], +- deps = [":dataproc_php_proto"], -) - --py_gapic_library( -- name = "params_py_gapic", -- srcs = [":params_proto"], -- opt_args = [ -- "python-gapic-namespace=google.cloud.aiplatform.v1beta1.schema.predict", -- "python-gapic-name=params", +-php_gapic_library( +- name = "dataproc_php_gapic", +- srcs = [":dataproc_proto_with_info"], +- gapic_yaml = "dataproc_gapic.yaml", +- grpc_service_config = "dataproc_grpc_service_config.json", +- service_yaml = "dataproc_v1.yaml", +- deps = [ +- ":dataproc_php_grpc", +- ":dataproc_php_proto", - ], -) - -# Open Source Packages --py_gapic_assembly_pkg( -- name = "params-py", +-php_gapic_assembly_pkg( +- name = "google-cloud-dataproc-v1-php", - deps = [ -- ":params_py_gapic", +- ":dataproc_php_gapic", +- ":dataproc_php_grpc", +- ":dataproc_php_proto", - ], -) - -############################################################################## --# PHP +-# Node.js -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "php_grpc_library", -- "php_proto_library", --) -- --php_proto_library( -- name = "params_php_proto", -- deps = [":params_proto"], +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", -) - --php_grpc_library( -- name = "params_php_grpc", -- srcs = [":params_proto"], -- deps = [":params_php_proto"], +-nodejs_gapic_library( +- name = "dataproc_nodejs_gapic", +- package_name = "@google-cloud/dataproc", +- src = ":dataproc_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "dataproc_grpc_service_config.json", +- main_service = "dataproc", +- package = "google.cloud.dataproc.v1", +- service_yaml = "dataproc_v1.yaml", +- deps = [], -) - --############################################################################## --# Node.js --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "nodejs_gapic_assembly_pkg", -- "nodejs_gapic_library", +-nodejs_gapic_assembly_pkg( +- name = "dataproc-v1-nodejs", +- deps = [ +- ":dataproc_nodejs_gapic", +- ":dataproc_proto", +- ], -) - -############################################################################## @@ -12659,19 +28603,50 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel b/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "params_ruby_proto", -- deps = [":params_proto"], +- name = "dataproc_ruby_proto", +- deps = [":dataproc_proto"], -) - -ruby_grpc_library( -- name = "params_ruby_grpc", -- srcs = [":params_proto"], -- deps = [":params_ruby_proto"], +- name = "dataproc_ruby_grpc", +- srcs = [":dataproc_proto"], +- deps = [":dataproc_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "dataproc_ruby_gapic", +- srcs = [":dataproc_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-dataproc-v1", +- "ruby-cloud-env-prefix=DATAPROC", +- "ruby-cloud-product-url=https://cloud.google.com/dataproc", +- "ruby-cloud-api-id=dataproc.googleapis.com", +- "ruby-cloud-api-shortname=dataproc", +- ], +- grpc_service_config = "dataproc_grpc_service_config.json", +- ruby_cloud_description = "Manages Hadoop-based clusters and jobs on Google Cloud Platform.", +- ruby_cloud_title = "Cloud Dataproc V1", +- deps = [ +- ":dataproc_ruby_grpc", +- ":dataproc_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-dataproc-v1-ruby", +- deps = [ +- ":dataproc_ruby_gapic", +- ":dataproc_ruby_grpc", +- ":dataproc_ruby_proto", +- ], -) - -############################################################################## @@ -12679,29 +28654,52 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel b/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "params_csharp_proto", -- deps = [":params_proto"], +- name = "dataproc_csharp_proto", +- deps = [":dataproc_proto"], -) - -csharp_grpc_library( -- name = "params_csharp_grpc", -- srcs = [":params_proto"], -- deps = [":params_csharp_proto"], +- name = "dataproc_csharp_grpc", +- srcs = [":dataproc_proto"], +- deps = [":dataproc_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "dataproc_csharp_gapic", +- srcs = [":dataproc_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "dataproc_grpc_service_config.json", +- deps = [ +- ":dataproc_csharp_grpc", +- ":dataproc_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-dataproc-v1-csharp", +- deps = [ +- ":dataproc_csharp_gapic", +- ":dataproc_csharp_grpc", +- ":dataproc_csharp_proto", +- ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ code here -diff -urN a/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel b/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel ---- a/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,198 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/dataproc/v1beta2/BUILD.bazel b/google/cloud/dataproc/v1beta2/BUILD.bazel +--- a/google/cloud/dataproc/v1beta2/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/dataproc/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,348 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -12711,27 +28709,36 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.baze -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "prediction_proto", +- name = "dataproc_proto", - srcs = [ -- "classification.proto", -- "image_object_detection.proto", -- "image_segmentation.proto", -- "tabular_classification.proto", -- "tabular_regression.proto", -- "text_extraction.proto", -- "text_sentiment.proto", -- "video_action_recognition.proto", -- "video_classification.proto", -- "video_object_tracking.proto", +- "autoscaling_policies.proto", +- "clusters.proto", +- "jobs.proto", +- "operations.proto", +- "shared.proto", +- "workflow_templates.proto", - ], - deps = [ - "//google/api:annotations_proto", -- "//google/cloud/aiplatform/v1beta1/schema/predict/instance:instance_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", - "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:struct_proto", -- "@com_google_protobuf//:wrappers_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "dataproc_proto_with_info", +- deps = [ +- ":dataproc_proto", +- "//google/cloud:common_resources_proto", - ], -) - @@ -12740,19 +28747,57 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.baze -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "prediction_java_proto", -- deps = [":prediction_proto"], +- name = "dataproc_java_proto", +- deps = [":dataproc_proto"], -) - -java_grpc_library( -- name = "prediction_java_grpc", -- srcs = [":prediction_proto"], -- deps = [":prediction_java_proto"], +- name = "dataproc_java_grpc", +- srcs = [":dataproc_proto"], +- deps = [":dataproc_java_proto"], +-) +- +-java_gapic_library( +- name = "dataproc_java_gapic", +- srcs = [":dataproc_proto_with_info"], +- gapic_yaml = "dataproc_gapic.yaml", +- grpc_service_config = "dataproc_grpc_service_config.json", +- test_deps = [ +- ":dataproc_java_grpc", +- ], +- deps = [ +- ":dataproc_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "dataproc_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.dataproc.v1beta2.AutoscalingPolicyServiceClientTest", +- "com.google.cloud.dataproc.v1beta2.ClusterControllerClientTest", +- "com.google.cloud.dataproc.v1beta2.JobControllerClientTest", +- "com.google.cloud.dataproc.v1beta2.WorkflowTemplateServiceClientTest", +- ], +- runtime_deps = [":dataproc_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-dataproc-v1beta2-java", +- deps = [ +- ":dataproc_java_gapic", +- ":dataproc_java_grpc", +- ":dataproc_java_proto", +- ":dataproc_proto", +- ], -) - -############################################################################## @@ -12760,17 +28805,52 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.baze -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", - "go_proto_library", +- "go_test", -) - -go_proto_library( -- name = "prediction_go_proto", +- name = "dataproc_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction", -- protos = [":prediction_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2", +- protos = [":dataproc_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/cloud/aiplatform/v1beta1/schema/predict/instance:instance_go_proto", +- "//google/longrunning:longrunning_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "dataproc_go_gapic", +- srcs = [":dataproc_proto_with_info"], +- grpc_service_config = "dataproc_grpc_service_config.json", +- importpath = "cloud.google.com/go/dataproc/apiv1beta2;dataproc", +- service_yaml = "dataproc_v1beta2.yaml", +- deps = [ +- ":dataproc_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- ], +-) +- +-go_test( +- name = "dataproc_go_gapic_test", +- srcs = [":dataproc_go_gapic_srcjar_test"], +- embed = [":dataproc_go_gapic"], +- importpath = "cloud.google.com/go/dataproc/apiv1beta2", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-dataproc-v1beta2-go", +- deps = [ +- ":dataproc_go_gapic", +- ":dataproc_go_gapic_srcjar-test.srcjar", +- ":dataproc_go_proto", - ], -) - @@ -12779,51 +28859,20 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.baze -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", - "py_gapic_assembly_pkg", - "py_gapic_library", -- "py_grpc_library", -- "py_proto_library", --) -- --moved_proto_library( -- name = "prediction_moved_proto", -- srcs = [":prediction_proto"], -- deps = [ -- "//google/api:annotations_proto", -- "//google/cloud/aiplatform/v1beta1/schema/predict/instance:instance_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:struct_proto", -- "@com_google_protobuf//:wrappers_proto", -- ], --) -- --py_proto_library( -- name = "prediction_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":prediction_moved_proto"], --) -- --py_grpc_library( -- name = "prediction_py_grpc", -- srcs = [":prediction_moved_proto"], -- deps = [":prediction_py_proto"], -) - -py_gapic_library( -- name = "prediction_py_gapic", -- srcs = [":prediction_proto"], -- opt_args = [ -- "python-gapic-namespace=google.cloud.aiplatform.v1beta1.schema.predict", -- "python-gapic-name=prediction", -- ], +- name = "dataproc_py_gapic", +- srcs = [":dataproc_proto"], +- grpc_service_config = "dataproc_grpc_service_config.json", -) - --# Open Source Packages -py_gapic_assembly_pkg( -- name = "prediction-py", +- name = "dataproc-v1beta2-py", - deps = [ -- ":prediction_py_gapic", +- ":dataproc_py_gapic", - ], -) - @@ -12832,19 +28881,43 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.baze -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "prediction_php_proto", -- deps = [":prediction_proto"], +- name = "dataproc_php_proto", +- deps = [":dataproc_proto"], -) - -php_grpc_library( -- name = "prediction_php_grpc", -- srcs = [":prediction_proto"], -- deps = [":prediction_php_proto"], +- name = "dataproc_php_grpc", +- srcs = [":dataproc_proto"], +- deps = [":dataproc_php_proto"], +-) +- +-php_gapic_library( +- name = "dataproc_php_gapic", +- srcs = [":dataproc_proto_with_info"], +- gapic_yaml = "dataproc_gapic.yaml", +- grpc_service_config = "dataproc_grpc_service_config.json", +- service_yaml = "dataproc_v1beta2.yaml", +- deps = [ +- ":dataproc_php_grpc", +- ":dataproc_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-dataproc-v1beta2-php", +- deps = [ +- ":dataproc_php_gapic", +- ":dataproc_php_grpc", +- ":dataproc_php_proto", +- ], -) - -############################################################################## @@ -12856,24 +28929,75 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.baze - "nodejs_gapic_library", -) - +-nodejs_gapic_library( +- name = "dataproc_nodejs_gapic", +- package_name = "@google-cloud/dataproc", +- src = ":dataproc_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "dataproc_grpc_service_config.json", +- main_service = "dataproc", +- package = "google.cloud.dataproc.v1beta2", +- service_yaml = "dataproc_v1beta2.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "dataproc-v1beta2-nodejs", +- deps = [ +- ":dataproc_nodejs_gapic", +- ":dataproc_proto", +- ], +-) +- -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "prediction_ruby_proto", -- deps = [":prediction_proto"], +- name = "dataproc_ruby_proto", +- deps = [":dataproc_proto"], -) - -ruby_grpc_library( -- name = "prediction_ruby_grpc", -- srcs = [":prediction_proto"], -- deps = [":prediction_ruby_proto"], +- name = "dataproc_ruby_grpc", +- srcs = [":dataproc_proto"], +- deps = [":dataproc_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "dataproc_ruby_gapic", +- srcs = [":dataproc_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-dataproc-v1beta2", +- "ruby-cloud-env-prefix=DATAPROC", +- "ruby-cloud-product-url=https://cloud.google.com/dataproc", +- "ruby-cloud-api-id=dataproc.googleapis.com", +- "ruby-cloud-api-shortname=dataproc", +- ], +- grpc_service_config = "dataproc_grpc_service_config.json", +- ruby_cloud_description = "Manages Hadoop-based clusters and jobs on Google Cloud Platform.", +- ruby_cloud_title = "Cloud Dataproc V1beta2", +- deps = [ +- ":dataproc_ruby_grpc", +- ":dataproc_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-dataproc-v1beta2-ruby", +- deps = [ +- ":dataproc_ruby_gapic", +- ":dataproc_ruby_grpc", +- ":dataproc_ruby_proto", +- ], -) - -############################################################################## @@ -12881,30 +29005,63 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.baze -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "prediction_csharp_proto", -- deps = [":prediction_proto"], +- name = "dataproc_csharp_proto", +- deps = [":dataproc_proto"], -) - -csharp_grpc_library( -- name = "prediction_csharp_grpc", -- srcs = [":prediction_proto"], -- deps = [":prediction_csharp_proto"], +- name = "dataproc_csharp_grpc", +- srcs = [":dataproc_proto"], +- deps = [":dataproc_csharp_proto"], -) - +-# Invalid resource-reference, cannot build. +-# csharp_gapic_library( +-# name = "dataproc_csharp_gapic", +-# srcs = [":dataproc_proto_with_info"], +-# grpc_service_config = "dataproc_grpc_service_config.json", +-# common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +-# deps = [ +-# ":dataproc_csharp_grpc", +-# ":dataproc_csharp_proto", +-# ], +-# ) +- +-# # Open Source Packages +-# csharp_gapic_assembly_pkg( +-# name = "google-cloud-dataproc-v1beta2-csharp", +-# deps = [ +-# ":dataproc_csharp_gapic", +-# ":dataproc_csharp_grpc", +-# ":dataproc_csharp_proto", +-# ], +-# ) +- -############################################################################## -# C++ -############################################################################## --# Put your C++ code here -diff -urN a/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel b/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel ---- a/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,190 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/dataqna/v1alpha/BUILD.bazel b/google/cloud/dataqna/v1alpha/BUILD.bazel +--- a/google/cloud/dataqna/v1alpha/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/dataqna/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,346 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -12913,24 +29070,34 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD. -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "definition_proto", +- name = "dataqna_proto", - srcs = [ -- "automl_image_classification.proto", -- "automl_image_object_detection.proto", -- "automl_image_segmentation.proto", -- "automl_tables.proto", -- "automl_text_classification.proto", -- "automl_text_extraction.proto", -- "automl_text_sentiment.proto", -- "automl_video_action_recognition.proto", -- "automl_video_classification.proto", -- "automl_video_object_tracking.proto", -- "export_evaluated_data_items_config.proto", +- "annotated_string.proto", +- "auto_suggestion_service.proto", +- "question.proto", +- "question_service.proto", +- "user_feedback.proto", - ], - deps = [ - "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "dataqna_proto_with_info", +- deps = [ +- ":dataqna_proto", +- "//google/cloud:common_resources_proto", - ], -) - @@ -12939,19 +29106,54 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD. -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "definition_java_proto", -- deps = [":definition_proto"], +- name = "dataqna_java_proto", +- deps = [":dataqna_proto"], -) - -java_grpc_library( -- name = "definition_java_grpc", -- srcs = [":definition_proto"], -- deps = [":definition_java_proto"], +- name = "dataqna_java_grpc", +- srcs = [":dataqna_proto"], +- deps = [":dataqna_java_proto"], +-) +- +-java_gapic_library( +- name = "dataqna_java_gapic", +- srcs = [":dataqna_proto_with_info"], +- grpc_service_config = "dataqna_grpc_service_config.json", +- test_deps = [ +- ":dataqna_java_grpc", +- ], +- deps = [ +- ":dataqna_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "dataqna_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.dataqna.v1alpha.AutoSuggestionServiceClientTest", +- "com.google.cloud.dataqna.v1alpha.QuestionServiceClientTest", +- ], +- runtime_deps = [":dataqna_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-dataqna-v1alpha-java", +- deps = [ +- ":dataqna_java_gapic", +- ":dataqna_java_grpc", +- ":dataqna_java_proto", +- ":dataqna_proto", +- ], -) - -############################################################################## @@ -12959,16 +29161,48 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD. -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", - "go_proto_library", +- "go_test", -) - -go_proto_library( -- name = "definition_go_proto", +- name = "dataqna_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition", -- protos = [":definition_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/dataqna/v1alpha", +- protos = [":dataqna_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/rpc:status_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "dataqna_go_gapic", +- srcs = [":dataqna_proto_with_info"], +- grpc_service_config = "dataqna_grpc_service_config.json", +- importpath = "cloud.google.com/go/dataqna/apiv1alpha;dataqna", +- service_yaml = "dataqna_v1alpha.yaml", +- deps = [ +- ":dataqna_go_proto", +- ], +-) +- +-go_test( +- name = "dataqna_go_gapic_test", +- srcs = [":dataqna_go_gapic_srcjar_test"], +- embed = [":dataqna_go_gapic"], +- importpath = "cloud.google.com/go/dataqna/apiv1alpha", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-dataqna-v1alpha-go", +- deps = [ +- ":dataqna_go_gapic", +- ":dataqna_go_gapic_srcjar-test.srcjar", +- ":dataqna_go_proto", - ], -) - @@ -12977,47 +29211,20 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD. -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", - "py_gapic_assembly_pkg", - "py_gapic_library", -- "py_grpc_library", -- "py_proto_library", --) -- --moved_proto_library( -- name = "definition_moved_proto", -- srcs = [":definition_proto"], -- deps = [ -- "//google/api:annotations_proto", -- ], --) -- --py_proto_library( -- name = "definition_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":definition_moved_proto"], --) -- --py_grpc_library( -- name = "definition_py_grpc", -- srcs = [":definition_moved_proto"], -- deps = [":definition_py_proto"], -) - -py_gapic_library( -- name = "definition_py_gapic", -- srcs = [":definition_proto"], -- opt_args = [ -- "python-gapic-namespace=google.cloud.aiplatform.v1beta1.schema.trainingjob", -- "python-gapic-name=definition", -- ], +- name = "dataqna_py_gapic", +- srcs = [":dataqna_proto"], +- grpc_service_config = "dataqna_grpc_service_config.json", -) - --# Open Source Packages -py_gapic_assembly_pkg( -- name = "definition_py", +- name = "dataqna-v1alpha-py", - deps = [ -- ":definition_py_gapic", +- ":dataqna_py_gapic", - ], -) - @@ -13026,19 +29233,41 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD. -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "definition_php_proto", -- deps = [":definition_proto"], +- name = "dataqna_php_proto", +- deps = [":dataqna_proto"], -) - -php_grpc_library( -- name = "definition_php_grpc", -- srcs = [":definition_proto"], -- deps = [":definition_php_proto"], +- name = "dataqna_php_grpc", +- srcs = [":dataqna_proto"], +- deps = [":dataqna_php_proto"], +-) +- +-php_gapic_library( +- name = "dataqna_php_gapic", +- srcs = [":dataqna_proto_with_info"], +- grpc_service_config = "dataqna_grpc_service_config.json", +- deps = [ +- ":dataqna_php_grpc", +- ":dataqna_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-dataqna-v1alpha-php", +- deps = [ +- ":dataqna_php_gapic", +- ":dataqna_php_grpc", +- ":dataqna_php_proto", +- ], -) - -############################################################################## @@ -13050,24 +29279,76 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD. - "nodejs_gapic_library", -) - +-nodejs_gapic_library( +- name = "dataqna_nodejs_gapic", +- package_name = "@google-cloud/data-qna", +- src = ":dataqna_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "dataqna_grpc_service_config.json", +- package = "google.cloud.dataqna.v1alpha", +- service_yaml = "dataqna_v1alpha.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "dataqna-v1alpha-nodejs", +- deps = [ +- ":dataqna_nodejs_gapic", +- ":dataqna_proto", +- ], +-) +- -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "definition_ruby_proto", -- deps = [":definition_proto"], +- name = "dataqna_ruby_proto", +- deps = [":dataqna_proto"], -) - -ruby_grpc_library( -- name = "definition_ruby_grpc", -- srcs = [":definition_proto"], -- deps = [":definition_ruby_proto"], +- name = "dataqna_ruby_grpc", +- srcs = [":dataqna_proto"], +- deps = [":dataqna_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "dataqna_ruby_gapic", +- srcs = [":dataqna_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-dataqna-v1alpha", +- "ruby-cloud-env-prefix=BIGQUERY_DATAQNA", +- "ruby-cloud-path-override=data_qn_a=dataqna", +- "ruby-cloud-namespace-override=Dataqna=DataQnA", +- "ruby-cloud-product-url=https://cloud.google.com/bigquery/docs/dataqna/", +- "ruby-cloud-api-id=dataqna.googleapis.com", +- "ruby-cloud-api-shortname=dataqna", +- ], +- grpc_service_config = "dataqna_grpc_service_config.json", +- ruby_cloud_description = "Data QnA is a natural language question and answer service for BigQuery data.", +- ruby_cloud_title = "BigQuery Data QnA V1alpha", +- deps = [ +- ":dataqna_ruby_grpc", +- ":dataqna_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-dataqna-v1alpha-ruby", +- deps = [ +- ":dataqna_ruby_gapic", +- ":dataqna_ruby_grpc", +- ":dataqna_ruby_proto", +- ], -) - -############################################################################## @@ -13075,30 +29356,62 @@ diff -urN a/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD. -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "definition_csharp_proto", -- deps = [":definition_proto"], +- name = "dataqna_csharp_proto", +- deps = [":dataqna_proto"], -) - -csharp_grpc_library( -- name = "definition_csharp_grpc", -- srcs = [":definition_proto"], -- deps = [":definition_csharp_proto"], +- name = "dataqna_csharp_grpc", +- srcs = [":dataqna_proto"], +- deps = [":dataqna_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "dataqna_csharp_gapic", +- srcs = [":dataqna_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "dataqna_grpc_service_config.json", +- deps = [ +- ":dataqna_csharp_grpc", +- ":dataqna_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-dataqna-v1alpha-csharp", +- deps = [ +- ":dataqna_csharp_gapic", +- ":dataqna_csharp_grpc", +- ":dataqna_csharp_proto", +- ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ code here -diff -urN a/google/cloud/apigateway/v1/BUILD.bazel b/google/cloud/apigateway/v1/BUILD.bazel ---- a/google/cloud/apigateway/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/apigateway/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,202 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/datastream/v1alpha1/BUILD.bazel b/google/cloud/datastream/v1alpha1/BUILD.bazel +--- a/google/cloud/datastream/v1alpha1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/datastream/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,342 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -13110,10 +29423,10 @@ diff -urN a/google/cloud/apigateway/v1/BUILD.bazel b/google/cloud/apigateway/v1/ -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "apigateway_proto", +- name = "datastream_proto", - srcs = [ -- "apigateway.proto", -- "apigateway_service.proto", +- "datastream.proto", +- "datastream_resources.proto", - ], - deps = [ - "//google/api:annotations_proto", @@ -13121,15 +29434,16 @@ diff -urN a/google/cloud/apigateway/v1/BUILD.bazel b/google/cloud/apigateway/v1/ - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "//google/longrunning:operations_proto", +- "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "apigateway_proto_with_info", +- name = "datastream_proto_with_info", - deps = [ -- ":apigateway_proto", +- ":datastream_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -13139,19 +29453,53 @@ diff -urN a/google/cloud/apigateway/v1/BUILD.bazel b/google/cloud/apigateway/v1/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "apigateway_java_proto", -- deps = [":apigateway_proto"], +- name = "datastream_java_proto", +- deps = [":datastream_proto"], -) - -java_grpc_library( -- name = "apigateway_java_grpc", -- srcs = [":apigateway_proto"], -- deps = [":apigateway_java_proto"], +- name = "datastream_java_grpc", +- srcs = [":datastream_proto"], +- deps = [":datastream_java_proto"], +-) +- +-java_gapic_library( +- name = "datastream_java_gapic", +- srcs = [":datastream_proto_with_info"], +- grpc_service_config = "datastream_grpc_service_config.json", +- test_deps = [ +- ":datastream_java_grpc", +- ], +- deps = [ +- ":datastream_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "datastream_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.datastream.v1alpha1.DatastreamClientTest", +- ], +- runtime_deps = [":datastream_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-datastream-v1alpha1-java", +- deps = [ +- ":datastream_java_gapic", +- ":datastream_java_grpc", +- ":datastream_java_proto", +- ":datastream_proto", +- ], -) - -############################################################################## @@ -13159,54 +29507,78 @@ diff -urN a/google/cloud/apigateway/v1/BUILD.bazel b/google/cloud/apigateway/v1/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", - "go_proto_library", +- "go_test", -) - -go_proto_library( -- name = "apigateway_go_proto", +- name = "datastream_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/apigateway/v1", -- protos = [":apigateway_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/datastream/v1alpha1", +- protos = [":datastream_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/longrunning:longrunning_go_proto", - ], -) - +-go_gapic_library( +- name = "datastream_go_gapic", +- srcs = [":datastream_proto_with_info"], +- grpc_service_config = "datastream_grpc_service_config.json", +- importpath = "cloud.google.com/go/datastream/apiv1alpha1;datastream", +- service_yaml = "datastream_v1alpha1.yaml", +- metadata = True, +- deps = [ +- ":datastream_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- ], +-) +- +-go_test( +- name = "datastream_go_gapic_test", +- srcs = [":datastream_go_gapic_srcjar_test"], +- embed = [":datastream_go_gapic"], +- importpath = "cloud.google.com/go/datastream/apiv1alpha1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-datastream-v1alpha1-go", +- deps = [ +- ":datastream_go_gapic", +- ":datastream_go_gapic_srcjar-test.srcjar", +- ":datastream_go_gapic_srcjar-metadata.srcjar", +- ":datastream_go_proto", +- ], +-) +- -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", -- "py_grpc_library", -- "py_proto_library", --) -- --moved_proto_library( -- name = "apigateway_moved_proto", -- srcs = [":apigateway_proto"], -- deps = [ -- "//google/api:annotations_proto", -- "//google/api:client_proto", -- "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/longrunning:operations_proto", -- "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:timestamp_proto", -- ], +- "py_gapic_assembly_pkg", +- "py_gapic_library", -) - --py_proto_library( -- name = "apigateway_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":apigateway_moved_proto"], +-py_gapic_library( +- name = "datastream_py_gapic", +- srcs = [":datastream_proto"], +- grpc_service_config = "datastream_grpc_service_config.json", -) - --py_grpc_library( -- name = "apigateway_py_grpc", -- srcs = [":apigateway_moved_proto"], -- deps = [":apigateway_py_proto"], +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "datastream-v1alpha1-py", +- deps = [ +- ":datastream_py_gapic", +- ], -) - -############################################################################## @@ -13214,19 +29586,42 @@ diff -urN a/google/cloud/apigateway/v1/BUILD.bazel b/google/cloud/apigateway/v1/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "apigateway_php_proto", -- deps = [":apigateway_proto"], +- name = "datastream_php_proto", +- deps = [":datastream_proto"], -) - -php_grpc_library( -- name = "apigateway_php_grpc", -- srcs = [":apigateway_proto"], -- deps = [":apigateway_php_proto"], +- name = "datastream_php_grpc", +- srcs = [":datastream_proto"], +- deps = [":datastream_php_proto"], +-) +- +-php_gapic_library( +- name = "datastream_php_gapic", +- srcs = [":datastream_proto_with_info"], +- grpc_service_config = "datastream_grpc_service_config.json", +- service_yaml = "datastream_v1alpha1.yaml", +- deps = [ +- ":datastream_php_grpc", +- ":datastream_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-datastream-v1alpha1-php", +- deps = [ +- ":datastream_php_gapic", +- ":datastream_php_grpc", +- ":datastream_php_proto", +- ], -) - -############################################################################## @@ -13239,20 +29634,21 @@ diff -urN a/google/cloud/apigateway/v1/BUILD.bazel b/google/cloud/apigateway/v1/ -) - -nodejs_gapic_library( -- name = "apigateway_nodejs_gapic", -- package_name = "@google-cloud/api-gateway", -- src = ":apigateway_proto_with_info", -- grpc_service_config = "apigateway_grpc_service_config.json", -- package = "google.cloud.apigateway.v1", -- service_yaml = "apigateway_v1.yaml", +- name = "datastream_nodejs_gapic", +- package_name = "@google-cloud/datastream", +- src = ":datastream_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "datastream_grpc_service_config.json", +- package = "google.cloud.datastream.v1alpha1", +- service_yaml = "datastream_v1alpha1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "apigateway-v1-nodejs", +- name = "datastream-v1alpha1-nodejs", - deps = [ -- ":apigateway_nodejs_gapic", -- ":apigateway_proto", +- ":datastream_nodejs_gapic", +- ":datastream_proto", - ], -) - @@ -13261,19 +29657,44 @@ diff -urN a/google/cloud/apigateway/v1/BUILD.bazel b/google/cloud/apigateway/v1/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "apigateway_ruby_proto", -- deps = [":apigateway_proto"], +- name = "datastream_ruby_proto", +- deps = [":datastream_proto"], -) - -ruby_grpc_library( -- name = "apigateway_ruby_grpc", -- srcs = [":apigateway_proto"], -- deps = [":apigateway_ruby_proto"], +- name = "datastream_ruby_grpc", +- srcs = [":datastream_proto"], +- deps = [":datastream_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "datastream_ruby_gapic", +- srcs = [":datastream_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-datastream-v1alpha1", +- ], +- grpc_service_config = "datastream_grpc_service_config.json", +- deps = [ +- ":datastream_ruby_grpc", +- ":datastream_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-datastream-v1alpha1-ruby", +- deps = [ +- ":datastream_ruby_gapic", +- ":datastream_ruby_grpc", +- ":datastream_ruby_proto", +- ], -) - -############################################################################## @@ -13281,35 +29702,71 @@ diff -urN a/google/cloud/apigateway/v1/BUILD.bazel b/google/cloud/apigateway/v1/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "apigateway_csharp_proto", -- deps = [":apigateway_proto"], +- name = "datastream_csharp_proto", +- deps = [":datastream_proto"], -) - -csharp_grpc_library( -- name = "apigateway_csharp_grpc", -- srcs = [":apigateway_proto"], -- deps = [":apigateway_csharp_proto"], +- name = "datastream_csharp_grpc", +- srcs = [":datastream_proto"], +- deps = [":datastream_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "datastream_csharp_gapic", +- srcs = [":datastream_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "datastream_grpc_service_config.json", +- deps = [ +- ":datastream_csharp_grpc", +- ":datastream_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-datastream-v1alpha1-csharp", +- deps = [ +- ":datastream_csharp_gapic", +- ":datastream_csharp_grpc", +- ":datastream_csharp_proto", +- ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ code here -diff -urN a/google/cloud/asset/BUILD.bazel b/google/cloud/asset/BUILD.bazel ---- a/google/cloud/asset/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/asset/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/cloud/asset/v1/BUILD.bazel b/google/cloud/asset/v1/BUILD.bazel ---- a/google/cloud/asset/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/asset/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,359 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/dialogflow/BUILD.bazel b/google/cloud/dialogflow/BUILD.bazel +--- a/google/cloud/dialogflow/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/dialogflow/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,5 +0,0 @@ +-package(default_visibility = ["//visibility:public"]) +- +-exports_files(glob([ +- "*.yaml", +-])) +diff -urN a/google/cloud/dialogflow/cx/v3/BUILD.bazel b/google/cloud/dialogflow/cx/v3/BUILD.bazel +--- a/google/cloud/dialogflow/cx/v3/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/dialogflow/cx/v3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,380 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -13321,24 +29778,35 @@ diff -urN a/google/cloud/asset/v1/BUILD.bazel b/google/cloud/asset/v1/BUILD.baze -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "asset_proto", +- name = "cx_proto", - srcs = [ -- "asset_service.proto", -- "assets.proto", +- "agent.proto", +- "audio_config.proto", +- "entity_type.proto", +- "environment.proto", +- "experiment.proto", +- "flow.proto", +- "fulfillment.proto", +- "intent.proto", +- "page.proto", +- "response_message.proto", +- "security_settings.proto", +- "session.proto", +- "session_entity_type.proto", +- "test_case.proto", +- "transition_route_group.proto", +- "validation_message.proto", +- "version.proto", +- "webhook.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/cloud/orgpolicy/v1:orgpolicy_proto", -- "//google/cloud/osconfig/v1:osconfig_proto", -- "//google/iam/v1:policy_proto", -- "//google/identity/accesscontextmanager/v1:accesscontextmanager_proto", - "//google/longrunning:operations_proto", -- "//google/rpc:code_proto", -- "//google/type:expr_proto", -- "@com_google_protobuf//:any_proto", +- "//google/rpc:status_proto", +- "//google/type:latlng_proto", - "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", @@ -13348,9 +29816,9 @@ diff -urN a/google/cloud/asset/v1/BUILD.bazel b/google/cloud/asset/v1/BUILD.baze -) - -proto_library_with_info( -- name = "asset_proto_with_info", +- name = "cx_proto_with_info", - deps = [ -- ":asset_proto", +- ":cx_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -13368,46 +29836,57 @@ diff -urN a/google/cloud/asset/v1/BUILD.bazel b/google/cloud/asset/v1/BUILD.baze -) - -java_proto_library( -- name = "asset_java_proto", -- deps = [":asset_proto"], +- name = "cx_java_proto", +- deps = [":cx_proto"], -) - -java_grpc_library( -- name = "asset_java_grpc", -- srcs = [":asset_proto"], -- deps = [":asset_java_proto"], +- name = "cx_java_grpc", +- srcs = [":cx_proto"], +- deps = [":cx_java_proto"], -) - -java_gapic_library( -- name = "asset_java_gapic", -- srcs = [":asset_proto_with_info"], -- grpc_service_config = "cloudasset_grpc_service_config.json", +- name = "cx_java_gapic", +- srcs = [":cx_proto_with_info"], +- grpc_service_config = "dialogflow_grpc_service_config.json", - test_deps = [ -- ":asset_java_grpc", -- "//google/iam/v1:iam_java_grpc", +- ":cx_java_grpc", - ], - deps = [ -- ":asset_java_proto", -- "//google/iam/v1:iam_java_proto", +- ":cx_java_proto", - ], -) - -java_gapic_test( -- name = "asset_java_gapic_test_suite", +- name = "cx_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.asset.v1.AssetServiceClientTest", +- "com.google.cloud.dialogflow.cx.v3.AgentsClientTest", +- "com.google.cloud.dialogflow.cx.v3.EntityTypesClientTest", +- "com.google.cloud.dialogflow.cx.v3.EnvironmentsClientTest", +- "com.google.cloud.dialogflow.cx.v3.ExperimentsClientTest", +- "com.google.cloud.dialogflow.cx.v3.FlowsClientTest", +- "com.google.cloud.dialogflow.cx.v3.IntentsClientTest", +- "com.google.cloud.dialogflow.cx.v3.PagesClientTest", +- "com.google.cloud.dialogflow.cx.v3.SecuritySettingsServiceClientTest", +- "com.google.cloud.dialogflow.cx.v3.SessionEntityTypesClientTest", +- "com.google.cloud.dialogflow.cx.v3.SessionsClientTest", +- "com.google.cloud.dialogflow.cx.v3.TestCasesClientTest", +- "com.google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClientTest", +- "com.google.cloud.dialogflow.cx.v3.VersionsClientTest", +- "com.google.cloud.dialogflow.cx.v3.WebhooksClientTest", - ], -- runtime_deps = [":asset_java_gapic_test"], +- runtime_deps = [":cx_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-asset-v1-java", +- name = "google-cloud-dialogflow-cx-v3-java", - deps = [ -- ":asset_java_gapic", -- ":asset_java_grpc", -- ":asset_java_proto", -- ":asset_proto", +- ":cx_java_gapic", +- ":cx_java_grpc", +- ":cx_java_proto", +- ":cx_proto", - ], -) - @@ -13423,54 +29902,50 @@ diff -urN a/google/cloud/asset/v1/BUILD.bazel b/google/cloud/asset/v1/BUILD.baze -) - -go_proto_library( -- name = "asset_go_proto", +- name = "cx_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/asset/v1", -- protos = [":asset_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/dialogflow/cx/v3", +- protos = [":cx_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/cloud/orgpolicy/v1:orgpolicy_go_proto", -- "//google/cloud/osconfig/v1:osconfig_go_proto", -- "//google/iam/v1:iam_go_proto", -- "//google/identity/accesscontextmanager/v1:accesscontextmanager_go_proto", - "//google/longrunning:longrunning_go_proto", -- "//google/rpc:code_go_proto", -- "//google/type:expr_go_proto", +- "//google/rpc:status_go_proto", +- "//google/type:latlng_go_proto", - ], -) - -go_gapic_library( -- name = "asset_go_gapic", -- srcs = [":asset_proto_with_info"], -- grpc_service_config = "cloudasset_grpc_service_config.json", -- importpath = "cloud.google.com/go/asset/apiv1;asset", -- service_yaml = "cloudasset_v1.yaml", +- name = "cx_go_gapic", +- srcs = [":cx_proto_with_info"], +- grpc_service_config = "dialogflow_grpc_service_config.json", +- importpath = "cloud.google.com/go/dialogflow/cx/apiv3;cx", +- metadata = True, +- service_yaml = "dialogflow_v3.yaml", - deps = [ -- ":asset_go_proto", -- "//google/iam/v1:iam_go_proto", +- ":cx_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:any_go_proto", - "@io_bazel_rules_go//proto/wkt:duration_go_proto", - "@io_bazel_rules_go//proto/wkt:struct_go_proto", - ], -) - -go_test( -- name = "asset_go_gapic_test", -- srcs = [":asset_go_gapic_srcjar_test"], -- embed = [":asset_go_gapic"], -- importpath = "cloud.google.com/go/asset/apiv1", +- name = "cx_go_gapic_test", +- srcs = [":cx_go_gapic_srcjar_test"], +- embed = [":cx_go_gapic"], +- importpath = "cloud.google.com/go/dialogflow/cx/apiv3", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-asset-v1-go", +- name = "gapi-cloud-dialogflow-cx-v3-go", - deps = [ -- ":asset_go_gapic", -- ":asset_go_gapic_srcjar-test.srcjar", -- ":asset_go_proto", +- ":cx_go_gapic", +- ":cx_go_gapic_srcjar-metadata.srcjar", +- ":cx_go_gapic_srcjar-test.srcjar", +- ":cx_go_proto", - ], -) - @@ -13484,15 +29959,20 @@ diff -urN a/google/cloud/asset/v1/BUILD.bazel b/google/cloud/asset/v1/BUILD.baze -) - -py_gapic_library( -- name = "asset_py_gapic", -- srcs = [":asset_proto"], -- grpc_service_config = "cloudasset_grpc_service_config.json", +- name = "cx_py_gapic", +- srcs = [":cx_proto"], +- grpc_service_config = "dialogflow_grpc_service_config.json", +- opt_args = [ +- "python-gapic-name=dialogflowcx", +- "python-gapic-namespace=google.cloud", +- ], -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "asset-v1-py", +- name = "dialogflow-cx-v3-py", - deps = [ -- ":asset_py_gapic", +- ":cx_py_gapic", - ], -) - @@ -13508,36 +29988,34 @@ diff -urN a/google/cloud/asset/v1/BUILD.bazel b/google/cloud/asset/v1/BUILD.baze -) - -php_proto_library( -- name = "asset_php_proto", -- deps = [":asset_proto"], +- name = "cx_php_proto", +- deps = [":cx_proto"], -) - -php_grpc_library( -- name = "asset_php_grpc", -- srcs = [":asset_proto"], -- deps = [":asset_php_proto"], +- name = "cx_php_grpc", +- srcs = [":cx_proto"], +- deps = [":cx_php_proto"], -) - -php_gapic_library( -- name = "asset_php_gapic", -- src = ":asset_proto_with_info", -- gapic_yaml = "cloudasset_gapic.yaml", -- grpc_service_config = "cloudasset_grpc_service_config.json", -- package = "google.cloud.asset.v1", -- service_yaml = "cloudasset_v1.yaml", +- name = "cx_php_gapic", +- srcs = [":cx_proto_with_info"], +- grpc_service_config = "dialogflow_grpc_service_config.json", +- service_yaml = "dialogflow_v3.yaml", - deps = [ -- ":asset_php_grpc", -- ":asset_php_proto", +- ":cx_php_grpc", +- ":cx_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-asset-v1-php", +- name = "google-cloud-dialogflow-cx-v3-php", - deps = [ -- ":asset_php_gapic", -- ":asset_php_grpc", -- ":asset_php_proto", +- ":cx_php_gapic", +- ":cx_php_grpc", +- ":cx_php_proto", - ], -) - @@ -13551,22 +30029,21 @@ diff -urN a/google/cloud/asset/v1/BUILD.bazel b/google/cloud/asset/v1/BUILD.baze -) - -nodejs_gapic_library( -- name = "asset_nodejs_gapic", -- package_name = "@google-cloud/asset", -- src = ":asset_proto_with_info", +- name = "cx_nodejs_gapic", +- package_name = "@google-cloud/dialogflow-cx", +- src = ":cx_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "cloudasset_grpc_service_config.json", -- package = "google.cloud.asset.v1", -- service_yaml = "cloudasset_v1.yaml", +- grpc_service_config = "dialogflow_grpc_service_config.json", +- package = "google.cloud.dialogflow.cx.v3", +- service_yaml = "dialogflow_v3.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "asset-v1-nodejs", +- name = "dialogflow-cx-v3-nodejs", - deps = [ -- ":asset_nodejs_gapic", -- ":asset_proto", -- "//google/cloud/osconfig/v1:osconfig_proto", +- ":cx_nodejs_gapic", +- ":cx_proto", - ], -) - @@ -13575,49 +30052,41 @@ diff -urN a/google/cloud/asset/v1/BUILD.bazel b/google/cloud/asset/v1/BUILD.baze -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "asset_ruby_proto", -- deps = [":asset_proto"], +- name = "cx_ruby_proto", +- deps = [":cx_proto"], -) - -ruby_grpc_library( -- name = "asset_ruby_grpc", -- srcs = [":asset_proto"], -- deps = [":asset_ruby_proto"], +- name = "cx_ruby_grpc", +- srcs = [":cx_proto"], +- deps = [":cx_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "asset_ruby_gapic", -- srcs = [":asset_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-asset-v1", -- "ruby-cloud-env-prefix=ASSET", -- "ruby-cloud-product-url=https://cloud.google.com/asset-inventory/", -- "ruby-cloud-api-id=cloudasset.googleapis.com", -- "ruby-cloud-api-shortname=cloudasset", -- ], -- grpc_service_config = "cloudasset_grpc_service_config.json", -- ruby_cloud_description = "A metadata inventory service that allows you to view, monitor, and analyze all your GCP and Anthos assets across projects and services.", -- ruby_cloud_title = "Cloud Asset V1", +- name = "cx_ruby_gapic", +- srcs = [":cx_proto_with_info"], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-dialogflow-cx-v3"], +- grpc_service_config = "dialogflow_grpc_service_config.json", - deps = [ -- ":asset_ruby_grpc", -- ":asset_ruby_proto", +- ":cx_ruby_grpc", +- ":cx_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-asset-v1-ruby", +- name = "google-cloud-dialogflow-cx-v3-ruby", - deps = [ -- ":asset_ruby_gapic", -- ":asset_ruby_grpc", -- ":asset_ruby_proto", +- ":cx_ruby_gapic", +- ":cx_ruby_grpc", +- ":cx_ruby_proto", - ], -) - @@ -13633,34 +30102,34 @@ diff -urN a/google/cloud/asset/v1/BUILD.bazel b/google/cloud/asset/v1/BUILD.baze -) - -csharp_proto_library( -- name = "asset_csharp_proto", -- deps = [":asset_proto"], +- name = "cx_csharp_proto", +- deps = [":cx_proto"], -) - -csharp_grpc_library( -- name = "asset_csharp_grpc", -- srcs = [":asset_proto"], -- deps = [":asset_csharp_proto"], +- name = "cx_csharp_grpc", +- srcs = [":cx_proto"], +- deps = [":cx_csharp_proto"], -) - -csharp_gapic_library( -- name = "asset_csharp_gapic", -- srcs = [":asset_proto_with_info"], +- name = "cx_csharp_gapic", +- srcs = [":cx_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "cloudasset_grpc_service_config.json", +- grpc_service_config = "dialogflow_grpc_service_config.json", - deps = [ -- ":asset_csharp_grpc", -- ":asset_csharp_proto", +- ":cx_csharp_grpc", +- ":cx_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-asset-v1-csharp", +- name = "google-cloud-dialogflow-cx-v3-csharp", - deps = [ -- ":asset_csharp_gapic", -- ":asset_csharp_grpc", -- ":asset_csharp_proto", +- ":cx_csharp_gapic", +- ":cx_csharp_grpc", +- ":cx_csharp_proto", - ], -) - @@ -13668,11 +30137,20 @@ diff -urN a/google/cloud/asset/v1/BUILD.bazel b/google/cloud/asset/v1/BUILD.baze -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/asset/v1p1beta1/BUILD.bazel b/google/cloud/asset/v1p1beta1/BUILD.bazel ---- a/google/cloud/asset/v1p1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/asset/v1p1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,326 +0,0 @@ +diff -urN a/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel b/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel +--- a/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,380 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -13684,23 +30162,47 @@ diff -urN a/google/cloud/asset/v1p1beta1/BUILD.bazel b/google/cloud/asset/v1p1be -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "asset_proto", +- name = "cx_proto", - srcs = [ -- "asset_service.proto", -- "assets.proto", +- "agent.proto", +- "audio_config.proto", +- "entity_type.proto", +- "environment.proto", +- "experiment.proto", +- "flow.proto", +- "fulfillment.proto", +- "intent.proto", +- "page.proto", +- "response_message.proto", +- "security_settings.proto", +- "session.proto", +- "session_entity_type.proto", +- "test_case.proto", +- "transition_route_group.proto", +- "validation_message.proto", +- "version.proto", +- "webhook.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/iam/v1:policy_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "//google/rpc:status_proto", +- "//google/type:latlng_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "asset_proto_with_info", +- name = "cx_proto_with_info", - deps = [ -- ":asset_proto", +- ":cx_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -13718,46 +30220,57 @@ diff -urN a/google/cloud/asset/v1p1beta1/BUILD.bazel b/google/cloud/asset/v1p1be -) - -java_proto_library( -- name = "asset_java_proto", -- deps = [":asset_proto"], +- name = "cx_java_proto", +- deps = [":cx_proto"], -) - -java_grpc_library( -- name = "asset_java_grpc", -- srcs = [":asset_proto"], -- deps = [":asset_java_proto"], +- name = "cx_java_grpc", +- srcs = [":cx_proto"], +- deps = [":cx_java_proto"], -) - -java_gapic_library( -- name = "asset_java_gapic", -- srcs = [":asset_proto_with_info"], -- grpc_service_config = "cloudasset_grpc_service_config.json", +- name = "cx_java_gapic", +- srcs = [":cx_proto_with_info"], +- grpc_service_config = "dialogflow_grpc_service_config.json", - test_deps = [ -- ":asset_java_grpc", -- "//google/iam/v1:iam_java_grpc", +- ":cx_java_grpc", - ], - deps = [ -- ":asset_java_proto", -- "//google/iam/v1:iam_java_proto", +- ":cx_java_proto", - ], -) - -java_gapic_test( -- name = "asset_java_gapic_test_suite", +- name = "cx_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.asset.v1p1beta1.AssetServiceClientTest", +- "com.google.cloud.dialogflow.cx.v3beta1.AgentsClientTest", +- "com.google.cloud.dialogflow.cx.v3beta1.EntityTypesClientTest", +- "com.google.cloud.dialogflow.cx.v3beta1.EnvironmentsClientTest", +- "com.google.cloud.dialogflow.cx.v3beta1.ExperimentsClientTest", +- "com.google.cloud.dialogflow.cx.v3beta1.FlowsClientTest", +- "com.google.cloud.dialogflow.cx.v3beta1.IntentsClientTest", +- "com.google.cloud.dialogflow.cx.v3beta1.PagesClientTest", +- "com.google.cloud.dialogflow.cx.v3beta1.SecuritySettingsServiceClientTest", +- "com.google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClientTest", +- "com.google.cloud.dialogflow.cx.v3beta1.SessionsClientTest", +- "com.google.cloud.dialogflow.cx.v3beta1.TestCasesClientTest", +- "com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClientTest", +- "com.google.cloud.dialogflow.cx.v3beta1.VersionsClientTest", +- "com.google.cloud.dialogflow.cx.v3beta1.WebhooksClientTest", - ], -- runtime_deps = [":asset_java_gapic_test"], +- runtime_deps = [":cx_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-asset-v1p1beta1-java", +- name = "google-cloud-dialogflow-cx-v3beta1-java", - deps = [ -- ":asset_java_gapic", -- ":asset_java_grpc", -- ":asset_java_proto", -- ":asset_proto", +- ":cx_java_gapic", +- ":cx_java_grpc", +- ":cx_java_proto", +- ":cx_proto", - ], -) - @@ -13773,42 +30286,50 @@ diff -urN a/google/cloud/asset/v1p1beta1/BUILD.bazel b/google/cloud/asset/v1p1be -) - -go_proto_library( -- name = "asset_go_proto", +- name = "cx_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/asset/v1p1beta1", -- protos = [":asset_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/dialogflow/cx/v3beta1", +- protos = [":cx_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", +- "//google/type:latlng_go_proto", - ], -) - -go_gapic_library( -- name = "asset_go_gapic", -- srcs = [":asset_proto_with_info"], -- grpc_service_config = "cloudasset_grpc_service_config.json", -- importpath = "cloud.google.com/go/asset/apiv1p1beta1;asset", -- service_yaml = "cloudasset_v1p1beta1.yaml", +- name = "cx_go_gapic", +- srcs = [":cx_proto_with_info"], +- grpc_service_config = "dialogflow_grpc_service_config.json", +- importpath = "cloud.google.com/go/dialogflow/cx/apiv3beta1;cx", +- metadata = True, +- service_yaml = "dialogflow_v3beta1.yaml", - deps = [ -- ":asset_go_proto", -- "//google/iam/v1:iam_go_proto", +- ":cx_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- "@io_bazel_rules_go//proto/wkt:struct_go_proto", - ], -) - -go_test( -- name = "asset_go_gapic_test", -- srcs = [":asset_go_gapic_srcjar_test"], -- embed = [":asset_go_gapic"], -- importpath = "cloud.google.com/go/asset/apiv1p1beta1", +- name = "cx_go_gapic_test", +- srcs = [":cx_go_gapic_srcjar_test"], +- embed = [":cx_go_gapic"], +- importpath = "cloud.google.com/go/dialogflow/cx/apiv3beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-asset-v1p1beta1-go", +- name = "gapi-cloud-dialogflow-cx-v3beta1-go", - deps = [ -- ":asset_go_gapic", -- ":asset_go_gapic_srcjar-test.srcjar", -- ":asset_go_proto", +- ":cx_go_gapic", +- ":cx_go_gapic_srcjar-metadata.srcjar", +- ":cx_go_gapic_srcjar-test.srcjar", +- ":cx_go_proto", - ], -) - @@ -13822,15 +30343,20 @@ diff -urN a/google/cloud/asset/v1p1beta1/BUILD.bazel b/google/cloud/asset/v1p1be -) - -py_gapic_library( -- name = "asset_py_gapic", -- srcs = [":asset_proto"], -- grpc_service_config = "cloudasset_grpc_service_config.json", +- name = "cx_py_gapic", +- srcs = [":cx_proto"], +- grpc_service_config = "dialogflow_grpc_service_config.json", +- opt_args = [ +- "python-gapic-name=dialogflowcx", +- "python-gapic-namespace=google.cloud", +- ], -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "asset-v1p1beta1-py", +- name = "dialogflow-cx-v3beta1-py", - deps = [ -- ":asset_py_gapic", +- ":cx_py_gapic", - ], -) - @@ -13846,36 +30372,34 @@ diff -urN a/google/cloud/asset/v1p1beta1/BUILD.bazel b/google/cloud/asset/v1p1be -) - -php_proto_library( -- name = "asset_php_proto", -- deps = [":asset_proto"], +- name = "cx_php_proto", +- deps = [":cx_proto"], -) - -php_grpc_library( -- name = "asset_php_grpc", -- srcs = [":asset_proto"], -- deps = [":asset_php_proto"], +- name = "cx_php_grpc", +- srcs = [":cx_proto"], +- deps = [":cx_php_proto"], -) - -php_gapic_library( -- name = "asset_php_gapic", -- src = ":asset_proto_with_info", -- gapic_yaml = "cloudasset_gapic.yaml", -- grpc_service_config = "cloudasset_grpc_service_config.json", -- package = "google.cloud.asset.v1p1beta1", -- service_yaml = "cloudasset_v1p1beta1.yaml", +- name = "cx_php_gapic", +- srcs = [":cx_proto_with_info"], +- grpc_service_config = "dialogflow_grpc_service_config.json", +- service_yaml = "dialogflow_v3beta1.yaml", - deps = [ -- ":asset_php_grpc", -- ":asset_php_proto", +- ":cx_php_grpc", +- ":cx_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-asset-v1p1beta1-php", +- name = "google-cloud-dialogflow-cx-v3beta1-php", - deps = [ -- ":asset_php_gapic", -- ":asset_php_grpc", -- ":asset_php_proto", +- ":cx_php_gapic", +- ":cx_php_grpc", +- ":cx_php_proto", - ], -) - @@ -13889,21 +30413,21 @@ diff -urN a/google/cloud/asset/v1p1beta1/BUILD.bazel b/google/cloud/asset/v1p1be -) - -nodejs_gapic_library( -- name = "asset_nodejs_gapic", -- package_name = "@google-cloud/asset", -- src = ":asset_proto_with_info", +- name = "cx_nodejs_gapic", +- package_name = "@google-cloud/dialogflow-cx", +- src = ":cx_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "cloudasset_grpc_service_config.json", -- package = "google.cloud.asset.v1p1beta1", -- service_yaml = "cloudasset_v1p1beta1.yaml", +- grpc_service_config = "dialogflow_grpc_service_config.json", +- package = "google.cloud.dialogflow.cx.v3beta1", +- service_yaml = "dialogflow_v3beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "asset-v1p1beta1-nodejs", +- name = "dialogflow-cx-v3beta1-nodejs", - deps = [ -- ":asset_nodejs_gapic", -- ":asset_proto", +- ":cx_nodejs_gapic", +- ":cx_proto", - ], -) - @@ -13912,42 +30436,41 @@ diff -urN a/google/cloud/asset/v1p1beta1/BUILD.bazel b/google/cloud/asset/v1p1be -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "asset_ruby_proto", -- deps = [":asset_proto"], +- name = "cx_ruby_proto", +- deps = [":cx_proto"], -) - -ruby_grpc_library( -- name = "asset_ruby_grpc", -- srcs = [":asset_proto"], -- deps = [":asset_ruby_proto"], +- name = "cx_ruby_grpc", +- srcs = [":cx_proto"], +- deps = [":cx_ruby_proto"], -) - --ruby_gapic_library( -- name = "asset_ruby_gapic", -- src = ":asset_proto_with_info", -- gapic_yaml = "cloudasset_gapic.yaml", -- package = "google.cloud.asset.v1p1beta1", -- service_yaml = "cloudasset_v1p1beta1.yaml", +-ruby_cloud_gapic_library( +- name = "cx_ruby_gapic", +- srcs = [":cx_proto_with_info"], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-dialogflow-cx-v3beta1"], +- grpc_service_config = "dialogflow_grpc_service_config.json", - deps = [ -- ":asset_ruby_grpc", -- ":asset_ruby_proto", +- ":cx_ruby_grpc", +- ":cx_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-asset-v1p1beta1-ruby", +- name = "google-cloud-dialogflow-cx-v3beta1-ruby", - deps = [ -- ":asset_ruby_gapic", -- ":asset_ruby_grpc", -- ":asset_ruby_proto", +- ":cx_ruby_gapic", +- ":cx_ruby_grpc", +- ":cx_ruby_proto", - ], -) - @@ -13963,34 +30486,34 @@ diff -urN a/google/cloud/asset/v1p1beta1/BUILD.bazel b/google/cloud/asset/v1p1be -) - -csharp_proto_library( -- name = "asset_csharp_proto", -- deps = [":asset_proto"], +- name = "cx_csharp_proto", +- deps = [":cx_proto"], -) - -csharp_grpc_library( -- name = "asset_csharp_grpc", -- srcs = [":asset_proto"], -- deps = [":asset_csharp_proto"], +- name = "cx_csharp_grpc", +- srcs = [":cx_proto"], +- deps = [":cx_csharp_proto"], -) - -csharp_gapic_library( -- name = "asset_csharp_gapic", -- srcs = [":asset_proto_with_info"], +- name = "cx_csharp_gapic", +- srcs = [":cx_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "cloudasset_grpc_service_config.json", +- grpc_service_config = "dialogflow_grpc_service_config.json", - deps = [ -- ":asset_csharp_grpc", -- ":asset_csharp_proto", +- ":cx_csharp_grpc", +- ":cx_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-asset-v1p1beta1-csharp", +- name = "google-cloud-dialogflow-cx-v3beta1-csharp", - deps = [ -- ":asset_csharp_gapic", -- ":asset_csharp_grpc", -- ":asset_csharp_proto", +- ":cx_csharp_gapic", +- ":cx_csharp_grpc", +- ":cx_csharp_proto", - ], -) - @@ -13998,11 +30521,20 @@ diff -urN a/google/cloud/asset/v1p1beta1/BUILD.bazel b/google/cloud/asset/v1p1be -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/asset/v1p2beta1/BUILD.bazel b/google/cloud/asset/v1p2beta1/BUILD.bazel ---- a/google/cloud/asset/v1p2beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/asset/v1p2beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,340 +0,0 @@ +diff -urN a/google/cloud/dialogflow/v2/BUILD.bazel b/google/cloud/dialogflow/v2/BUILD.bazel +--- a/google/cloud/dialogflow/v2/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/dialogflow/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,407 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -14014,19 +30546,40 @@ diff -urN a/google/cloud/asset/v1p2beta1/BUILD.bazel b/google/cloud/asset/v1p2be -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "asset_proto", +- name = "dialogflow_proto", - srcs = [ -- "asset_service.proto", -- "assets.proto", +- "agent.proto", +- "answer_record.proto", +- "audio_config.proto", +- "context.proto", +- "conversation.proto", +- "conversation_event.proto", +- "conversation_profile.proto", +- "document.proto", +- "entity_type.proto", +- "environment.proto", +- "fulfillment.proto", +- "gcs.proto", +- "human_agent_assistant_event.proto", +- "intent.proto", +- "knowledge_base.proto", +- "participant.proto", +- "session.proto", +- "session_entity_type.proto", +- "validation_result.proto", +- "version.proto", +- "webhook.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/iam/v1:policy_proto", - "//google/longrunning:operations_proto", +- "//google/rpc:status_proto", +- "//google/type:latlng_proto", - "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:struct_proto", @@ -14035,9 +30588,9 @@ diff -urN a/google/cloud/asset/v1p2beta1/BUILD.bazel b/google/cloud/asset/v1p2be -) - -proto_library_with_info( -- name = "asset_proto_with_info", +- name = "dialogflow_proto_with_info", - deps = [ -- ":asset_proto", +- ":dialogflow_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -14055,46 +30608,58 @@ diff -urN a/google/cloud/asset/v1p2beta1/BUILD.bazel b/google/cloud/asset/v1p2be -) - -java_proto_library( -- name = "asset_java_proto", -- deps = [":asset_proto"], +- name = "dialogflow_java_proto", +- deps = [":dialogflow_proto"], -) - -java_grpc_library( -- name = "asset_java_grpc", -- srcs = [":asset_proto"], -- deps = [":asset_java_proto"], +- name = "dialogflow_java_grpc", +- srcs = [":dialogflow_proto"], +- deps = [":dialogflow_java_proto"], -) - -java_gapic_library( -- name = "asset_java_gapic", -- srcs = [":asset_proto_with_info"], -- grpc_service_config = "cloudasset_grpc_service_config.json", +- name = "dialogflow_java_gapic", +- srcs = [":dialogflow_proto_with_info"], +- grpc_service_config = "dialogflow_grpc_service_config.json", - test_deps = [ -- ":asset_java_grpc", -- "//google/iam/v1:iam_java_grpc", +- ":dialogflow_java_grpc", - ], - deps = [ -- ":asset_java_proto", -- "//google/iam/v1:iam_java_proto", +- ":dialogflow_java_proto", - ], -) - -java_gapic_test( -- name = "asset_java_gapic_test_suite", +- name = "dialogflow_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.asset.v1p2beta1.AssetServiceClientTest", +- "com.google.cloud.dialogflow.v2.AgentsClientTest", +- "com.google.cloud.dialogflow.v2.AnswerRecordsClientTest", +- "com.google.cloud.dialogflow.v2.ContextsClientTest", +- "com.google.cloud.dialogflow.v2.ConversationProfilesClientTest", +- "com.google.cloud.dialogflow.v2.ConversationsClientTest", +- "com.google.cloud.dialogflow.v2.DocumentsClientTest", +- "com.google.cloud.dialogflow.v2.EntityTypesClientTest", +- "com.google.cloud.dialogflow.v2.EnvironmentsClientTest", +- "com.google.cloud.dialogflow.v2.FulfillmentsClientTest", +- "com.google.cloud.dialogflow.v2.IntentsClientTest", +- "com.google.cloud.dialogflow.v2.KnowledgeBasesClientTest", +- "com.google.cloud.dialogflow.v2.ParticipantsClientTest", +- "com.google.cloud.dialogflow.v2.SessionEntityTypesClientTest", +- "com.google.cloud.dialogflow.v2.SessionsClientTest", +- "com.google.cloud.dialogflow.v2.VersionsClientTest", - ], -- runtime_deps = [":asset_java_gapic_test"], +- runtime_deps = [":dialogflow_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-asset-v1p2beta1-java", +- name = "google-cloud-dialogflow-v2-java", - deps = [ -- ":asset_java_gapic", -- ":asset_java_grpc", -- ":asset_java_proto", -- ":asset_proto", +- ":dialogflow_java_gapic", +- ":dialogflow_java_grpc", +- ":dialogflow_java_proto", +- ":dialogflow_proto", - ], -) - @@ -14110,48 +30675,51 @@ diff -urN a/google/cloud/asset/v1p2beta1/BUILD.bazel b/google/cloud/asset/v1p2be -) - -go_proto_library( -- name = "asset_go_proto", +- name = "dialogflow_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/asset/v1p2beta1", -- protos = [":asset_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2", +- protos = [":dialogflow_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/iam/v1:iam_go_proto", - "//google/longrunning:longrunning_go_proto", -- ], --) -- --go_gapic_library( -- name = "asset_go_gapic", -- srcs = [":asset_proto_with_info"], -- grpc_service_config = "cloudasset_grpc_service_config.json", -- importpath = "cloud.google.com/go/asset/apiv1p2beta1;asset", -- service_yaml = "cloudasset_v1p2beta1.yaml", +- "//google/rpc:status_go_proto", +- "//google/type:latlng_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "dialogflow_go_gapic", +- srcs = [":dialogflow_proto_with_info"], +- grpc_service_config = "dialogflow_grpc_service_config.json", +- importpath = "cloud.google.com/go/dialogflow/apiv2;dialogflow", +- metadata = True, +- service_yaml = "dialogflow_v2.yaml", - deps = [ -- ":asset_go_proto", -- "//google/iam/v1:iam_go_proto", +- ":dialogflow_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", - "@io_bazel_rules_go//proto/wkt:any_go_proto", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - "@io_bazel_rules_go//proto/wkt:struct_go_proto", - ], -) - -go_test( -- name = "asset_go_gapic_test", -- srcs = [":asset_go_gapic_srcjar_test"], -- embed = [":asset_go_gapic"], -- importpath = "cloud.google.com/go/asset/apiv1p2beta1", +- name = "dialogflow_go_gapic_test", +- srcs = [":dialogflow_go_gapic_srcjar_test"], +- embed = [":dialogflow_go_gapic"], +- importpath = "cloud.google.com/go/dialogflow/apiv2", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-asset-v1p2beta1-go", +- name = "gapi-cloud-dialogflow-v2-go", - deps = [ -- ":asset_go_gapic", -- ":asset_go_gapic_srcjar-test.srcjar", -- ":asset_go_proto", +- ":dialogflow_go_gapic", +- ":dialogflow_go_gapic_srcjar-metadata.srcjar", +- ":dialogflow_go_gapic_srcjar-test.srcjar", +- ":dialogflow_go_proto", - ], -) - @@ -14165,15 +30733,16 @@ diff -urN a/google/cloud/asset/v1p2beta1/BUILD.bazel b/google/cloud/asset/v1p2be -) - -py_gapic_library( -- name = "asset_py_gapic", -- srcs = [":asset_proto"], -- grpc_service_config = "cloudasset_grpc_service_config.json", +- name = "dialogflow_py_gapic", +- srcs = [":dialogflow_proto"], +- grpc_service_config = "dialogflow_grpc_service_config.json", -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "asset-v1p2beta1-py", +- name = "dialogflow-v2-py", - deps = [ -- ":asset_py_gapic", +- ":dialogflow_py_gapic", - ], -) - @@ -14189,36 +30758,34 @@ diff -urN a/google/cloud/asset/v1p2beta1/BUILD.bazel b/google/cloud/asset/v1p2be -) - -php_proto_library( -- name = "asset_php_proto", -- deps = [":asset_proto"], +- name = "dialogflow_php_proto", +- deps = [":dialogflow_proto"], -) - -php_grpc_library( -- name = "asset_php_grpc", -- srcs = [":asset_proto"], -- deps = [":asset_php_proto"], +- name = "dialogflow_php_grpc", +- srcs = [":dialogflow_proto"], +- deps = [":dialogflow_php_proto"], -) - -php_gapic_library( -- name = "asset_php_gapic", -- src = ":asset_proto_with_info", -- gapic_yaml = "cloudasset_gapic.yaml", -- grpc_service_config = "cloudasset_grpc_service_config.json", -- package = "google.cloud.asset.v1p2beta1", -- service_yaml = "cloudasset_v1p2beta1.yaml", +- name = "dialogflow_php_gapic", +- srcs = [":dialogflow_proto_with_info"], +- grpc_service_config = "dialogflow_grpc_service_config.json", +- service_yaml = "dialogflow_v2.yaml", - deps = [ -- ":asset_php_grpc", -- ":asset_php_proto", +- ":dialogflow_php_grpc", +- ":dialogflow_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-asset-v1p2beta1-php", +- name = "google-cloud-dialogflow-v2-php", - deps = [ -- ":asset_php_gapic", -- ":asset_php_grpc", -- ":asset_php_proto", +- ":dialogflow_php_gapic", +- ":dialogflow_php_grpc", +- ":dialogflow_php_proto", - ], -) - @@ -14232,21 +30799,22 @@ diff -urN a/google/cloud/asset/v1p2beta1/BUILD.bazel b/google/cloud/asset/v1p2be -) - -nodejs_gapic_library( -- name = "asset_nodejs_gapic", -- package_name = "@google-cloud/asset", -- src = ":asset_proto_with_info", +- name = "dialogflow_nodejs_gapic", +- package_name = "@google-cloud/dialogflow", +- src = ":dialogflow_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "cloudasset_grpc_service_config.json", -- package = "google.cloud.asset.v1p2beta1", -- service_yaml = "cloudasset_v1p2beta1.yaml", +- grpc_service_config = "dialogflow_grpc_service_config.json", +- main_service = "dialogflow", +- package = "google.cloud.dialogflow.v2", +- service_yaml = "dialogflow_v2.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "asset-v1p2beta1-nodejs", +- name = "dialogflow-v2-nodejs", - deps = [ -- ":asset_nodejs_gapic", -- ":asset_proto", +- ":dialogflow_nodejs_gapic", +- ":dialogflow_proto", - ], -) - @@ -14255,42 +30823,49 @@ diff -urN a/google/cloud/asset/v1p2beta1/BUILD.bazel b/google/cloud/asset/v1p2be -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "asset_ruby_proto", -- deps = [":asset_proto"], +- name = "dialogflow_ruby_proto", +- deps = [":dialogflow_proto"], -) - -ruby_grpc_library( -- name = "asset_ruby_grpc", -- srcs = [":asset_proto"], -- deps = [":asset_ruby_proto"], +- name = "dialogflow_ruby_grpc", +- srcs = [":dialogflow_proto"], +- deps = [":dialogflow_ruby_proto"], -) - --ruby_gapic_library( -- name = "asset_ruby_gapic", -- src = ":asset_proto_with_info", -- gapic_yaml = "cloudasset_gapic.yaml", -- package = "google.cloud.asset.v1p2beta1", -- service_yaml = "cloudasset_v1p2beta1.yaml", +-ruby_cloud_gapic_library( +- name = "dialogflow_ruby_gapic", +- srcs = [":dialogflow_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-api-id=dialogflow.googleapis.com", +- "ruby-cloud-api-shortname=dialogflow", +- "ruby-cloud-env-prefix=DIALOGFLOW", +- "ruby-cloud-gem-name=google-cloud-dialogflow-v2", +- "ruby-cloud-product-url=https://cloud.google.com/dialogflow", +- ], +- grpc_service_config = "dialogflow_grpc_service_config.json", +- ruby_cloud_description = "Dialogflow is an end-to-end, build-once deploy-everywhere development suite for creating conversational interfaces for websites, mobile applications, popular messaging platforms, and IoT devices. You can use it to build interfaces (such as chatbots and conversational IVR) that enable natural and rich interactions between your users and your business.", +- ruby_cloud_title = "Dialogflow V2", - deps = [ -- ":asset_ruby_grpc", -- ":asset_ruby_proto", +- ":dialogflow_ruby_grpc", +- ":dialogflow_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-asset-v1p2beta1-ruby", +- name = "google-cloud-dialogflow-v2-ruby", - deps = [ -- ":asset_ruby_gapic", -- ":asset_ruby_grpc", -- ":asset_ruby_proto", +- ":dialogflow_ruby_gapic", +- ":dialogflow_ruby_grpc", +- ":dialogflow_ruby_proto", - ], -) - @@ -14306,47 +30881,71 @@ diff -urN a/google/cloud/asset/v1p2beta1/BUILD.bazel b/google/cloud/asset/v1p2be -) - -csharp_proto_library( -- name = "asset_csharp_proto", -- deps = [":asset_proto"], +- name = "dialogflow_csharp_proto", +- deps = [":dialogflow_proto"], -) - -csharp_grpc_library( -- name = "asset_csharp_grpc", -- srcs = [":asset_proto"], -- deps = [":asset_csharp_proto"], +- name = "dialogflow_csharp_grpc", +- srcs = [":dialogflow_proto"], +- deps = [":dialogflow_csharp_proto"], -) - --# Invalid C# namespaces, cannot build. --# csharp_gapic_library( --# name = "asset_csharp_gapic", --# srcs = [":asset_proto_with_info"], --# grpc_service_config = "cloudasset_grpc_service_config.json", --# common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", --# deps = [ --# ":asset_csharp_grpc", --# ":asset_csharp_proto", --# ], --# ) +-csharp_gapic_library( +- name = "dialogflow_csharp_gapic", +- srcs = [":dialogflow_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "dialogflow_grpc_service_config.json", +- deps = [ +- ":dialogflow_csharp_grpc", +- ":dialogflow_csharp_proto", +- ], +-) - --# # Open Source Packages --# csharp_gapic_assembly_pkg( --# name = "google-cloud-asset-v1p2beta1-csharp", --# deps = [ --# ":asset_csharp_gapic", --# ":asset_csharp_grpc", --# ":asset_csharp_proto", --# ], --# ) +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-dialogflow-v2-csharp", +- deps = [ +- ":dialogflow_csharp_gapic", +- ":dialogflow_csharp_grpc", +- ":dialogflow_csharp_proto", +- ], +-) - -############################################################################## -# C++ -############################################################################## --# Put your C++ rules here -diff -urN a/google/cloud/asset/v1p4beta1/BUILD.bazel b/google/cloud/asset/v1p4beta1/BUILD.bazel ---- a/google/cloud/asset/v1p4beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/asset/v1p4beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,336 +0,0 @@ +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "cc_grpc_library", +- "cc_proto_library", +-) +- +-cc_proto_library( +- name = "dialogflow_cc_proto", +- deps = [":dialogflow_proto"], +-) +- +-cc_grpc_library( +- name = "dialogflow_cc_grpc", +- srcs = [":dialogflow_proto"], +- grpc_only = True, +- deps = [":dialogflow_cc_proto"], +-) +diff -urN a/google/cloud/dialogflow/v2beta1/BUILD.bazel b/google/cloud/dialogflow/v2beta1/BUILD.bazel +--- a/google/cloud/dialogflow/v2beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/dialogflow/v2beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,383 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -14358,26 +30957,51 @@ diff -urN a/google/cloud/asset/v1p4beta1/BUILD.bazel b/google/cloud/asset/v1p4be -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "asset_proto", +- name = "dialogflow_proto", - srcs = [ -- "asset_service.proto", -- "assets.proto", +- "agent.proto", +- "answer_record.proto", +- "audio_config.proto", +- "context.proto", +- "conversation.proto", +- "conversation_event.proto", +- "conversation_profile.proto", +- "document.proto", +- "entity_type.proto", +- "environment.proto", +- "fulfillment.proto", +- "gcs.proto", +- "human_agent_assistant_event.proto", +- "intent.proto", +- "knowledge_base.proto", +- "participant.proto", +- "session.proto", +- "session_entity_type.proto", +- "validation_result.proto", +- "version.proto", +- "webhook.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/iam/v1:policy_proto", +- "//google/api:resource_proto", - "//google/longrunning:operations_proto", -- "//google/rpc:code_proto", +- "//google/rpc:status_proto", +- "//google/type:latlng_proto", +- "@com_google_protobuf//:any_proto", - "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "asset_proto_with_info", +- name = "dialogflow_proto_with_info", - deps = [ -- ":asset_proto", +- ":dialogflow_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -14395,47 +31019,58 @@ diff -urN a/google/cloud/asset/v1p4beta1/BUILD.bazel b/google/cloud/asset/v1p4be -) - -java_proto_library( -- name = "asset_java_proto", -- deps = [":asset_proto"], +- name = "dialogflow_java_proto", +- deps = [":dialogflow_proto"], -) - -java_grpc_library( -- name = "asset_java_grpc", -- srcs = [":asset_proto"], -- deps = [":asset_java_proto"], +- name = "dialogflow_java_grpc", +- srcs = [":dialogflow_proto"], +- deps = [":dialogflow_java_proto"], -) - -java_gapic_library( -- name = "asset_java_gapic", -- srcs = [":asset_proto_with_info"], -- gapic_yaml = "cloudasset_gapic.yaml", -- grpc_service_config = "cloudasset_grpc_service_config.json", +- name = "dialogflow_java_gapic", +- srcs = [":dialogflow_proto_with_info"], +- grpc_service_config = "dialogflow_grpc_service_config.json", - test_deps = [ -- ":asset_java_grpc", -- "//google/iam/v1:iam_java_grpc", +- ":dialogflow_java_grpc", - ], - deps = [ -- ":asset_java_proto", -- "//google/iam/v1:iam_java_proto", +- ":dialogflow_java_proto", - ], -) - -java_gapic_test( -- name = "asset_java_gapic_test_suite", +- name = "dialogflow_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.asset.v1p4beta1.AssetServiceClientTest", +- "com.google.cloud.dialogflow.v2beta1.AgentsClientTest", +- "com.google.cloud.dialogflow.v2beta1.AnswerRecordsClientTest", +- "com.google.cloud.dialogflow.v2beta1.ContextsClientTest", +- "com.google.cloud.dialogflow.v2beta1.ConversationProfilesClientTest", +- "com.google.cloud.dialogflow.v2beta1.ConversationsClientTest", +- "com.google.cloud.dialogflow.v2beta1.DocumentsClientTest", +- "com.google.cloud.dialogflow.v2beta1.EntityTypesClientTest", +- "com.google.cloud.dialogflow.v2beta1.EnvironmentsClientTest", +- "com.google.cloud.dialogflow.v2beta1.FulfillmentsClientTest", +- "com.google.cloud.dialogflow.v2beta1.IntentsClientTest", +- "com.google.cloud.dialogflow.v2beta1.KnowledgeBasesClientTest", +- "com.google.cloud.dialogflow.v2beta1.ParticipantsClientTest", +- "com.google.cloud.dialogflow.v2beta1.SessionEntityTypesClientTest", +- "com.google.cloud.dialogflow.v2beta1.SessionsClientTest", +- "com.google.cloud.dialogflow.v2beta1.VersionsClientTest", - ], -- runtime_deps = [":asset_java_gapic_test"], +- runtime_deps = [":dialogflow_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-asset-v1p4beta1-java", +- name = "google-cloud-dialogflow-v2beta1-java", - deps = [ -- ":asset_java_gapic", -- ":asset_java_grpc", -- ":asset_java_proto", -- ":asset_proto", +- ":dialogflow_java_gapic", +- ":dialogflow_java_grpc", +- ":dialogflow_java_proto", +- ":dialogflow_proto", - ], -) - @@ -14451,48 +31086,51 @@ diff -urN a/google/cloud/asset/v1p4beta1/BUILD.bazel b/google/cloud/asset/v1p4be -) - -go_proto_library( -- name = "asset_go_proto", +- name = "dialogflow_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/asset/v1p4beta1", -- protos = [":asset_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1", +- protos = [":dialogflow_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/iam/v1:iam_go_proto", - "//google/longrunning:longrunning_go_proto", -- "//google/rpc:code_go_proto", +- "//google/rpc:status_go_proto", +- "//google/type:latlng_go_proto", - ], -) - -go_gapic_library( -- name = "asset_go_gapic", -- srcs = [":asset_proto_with_info"], -- grpc_service_config = "cloudasset_grpc_service_config.json", -- importpath = "cloud.google.com/go/asset/apiv1p4beta1;asset", -- service_yaml = "cloudasset_v1p4beta1.yaml", +- name = "dialogflow_go_gapic", +- srcs = [":dialogflow_proto_with_info"], +- grpc_service_config = "dialogflow_grpc_service_config.json", +- importpath = "cloud.google.com/go/dialogflow/apiv2beta1;dialogflow", +- metadata = True, +- service_yaml = "dialogflow_v2beta1.yaml", - deps = [ -- ":asset_go_proto", -- "//google/iam/v1:iam_go_proto", +- ":dialogflow_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:any_go_proto", - "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- "@io_bazel_rules_go//proto/wkt:struct_go_proto", - ], -) - -go_test( -- name = "asset_go_gapic_test", -- srcs = [":asset_go_gapic_srcjar_test"], -- embed = [":asset_go_gapic"], -- importpath = "cloud.google.com/go/asset/apiv1p4beta1", +- name = "dialogflow_go_gapic_test", +- srcs = [":dialogflow_go_gapic_srcjar_test"], +- embed = [":dialogflow_go_gapic"], +- importpath = "cloud.google.com/go/dialogflow/apiv2beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-asset-v1p4beta1-go", +- name = "gapi-cloud-dialogflow-v2beta1-go", - deps = [ -- ":asset_go_gapic", -- ":asset_go_gapic_srcjar-test.srcjar", -- ":asset_go_proto", +- ":dialogflow_go_gapic", +- ":dialogflow_go_gapic_srcjar-metadata.srcjar", +- ":dialogflow_go_gapic_srcjar-test.srcjar", +- ":dialogflow_go_proto", - ], -) - @@ -14506,15 +31144,16 @@ diff -urN a/google/cloud/asset/v1p4beta1/BUILD.bazel b/google/cloud/asset/v1p4be -) - -py_gapic_library( -- name = "asset_py_gapic", -- srcs = [":asset_proto"], -- grpc_service_config = "cloudasset_grpc_service_config.json", +- name = "dialogflow_py_gapic", +- srcs = [":dialogflow_proto"], +- grpc_service_config = "dialogflow_grpc_service_config.json", -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "asset-v1p4beta1-py", +- name = "dialogflow-v2beta1-py", - deps = [ -- ":asset_py_gapic", +- ":dialogflow_py_gapic", - ], -) - @@ -14530,36 +31169,34 @@ diff -urN a/google/cloud/asset/v1p4beta1/BUILD.bazel b/google/cloud/asset/v1p4be -) - -php_proto_library( -- name = "asset_php_proto", -- deps = [":asset_proto"], +- name = "dialogflow_php_proto", +- deps = [":dialogflow_proto"], -) - -php_grpc_library( -- name = "asset_php_grpc", -- srcs = [":asset_proto"], -- deps = [":asset_php_proto"], +- name = "dialogflow_php_grpc", +- srcs = [":dialogflow_proto"], +- deps = [":dialogflow_php_proto"], -) - -php_gapic_library( -- name = "asset_php_gapic", -- src = ":asset_proto_with_info", -- gapic_yaml = "cloudasset_gapic.yaml", -- grpc_service_config = "cloudasset_grpc_service_config.json", -- package = "google.cloud.asset.v1p4beta1", -- service_yaml = "cloudasset_v1p4beta1.yaml", +- name = "dialogflow_php_gapic", +- srcs = [":dialogflow_proto_with_info"], +- grpc_service_config = "dialogflow_grpc_service_config.json", +- service_yaml = "dialogflow_v2beta1.yaml", - deps = [ -- ":asset_php_grpc", -- ":asset_php_proto", +- ":dialogflow_php_grpc", +- ":dialogflow_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-asset-v1p4beta1-php", +- name = "google-cloud-dialogflow-v2beta1-php", - deps = [ -- ":asset_php_gapic", -- ":asset_php_grpc", -- ":asset_php_proto", +- ":dialogflow_php_gapic", +- ":dialogflow_php_grpc", +- ":dialogflow_php_proto", - ], -) - @@ -14573,21 +31210,22 @@ diff -urN a/google/cloud/asset/v1p4beta1/BUILD.bazel b/google/cloud/asset/v1p4be -) - -nodejs_gapic_library( -- name = "asset_nodejs_gapic", -- package_name = "@google-cloud/asset", -- src = ":asset_proto_with_info", +- name = "dialogflow_nodejs_gapic", +- package_name = "@google-cloud/dialogflow", +- src = ":dialogflow_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "cloudasset_grpc_service_config.json", -- package = "google.cloud.asset.v1p4beta1", -- service_yaml = "cloudasset_v1p4beta1.yaml", +- grpc_service_config = "dialogflow_grpc_service_config.json", +- main_service = "dialogflow", +- package = "google.cloud.dialogflow.v2beta1", +- service_yaml = "dialogflow_v2beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "asset-v1p4beta1-nodejs", +- name = "dialogflow-v2beta1-nodejs", - deps = [ -- ":asset_nodejs_gapic", -- ":asset_proto", +- ":dialogflow_nodejs_gapic", +- ":dialogflow_proto", - ], -) - @@ -14596,42 +31234,41 @@ diff -urN a/google/cloud/asset/v1p4beta1/BUILD.bazel b/google/cloud/asset/v1p4be -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "asset_ruby_proto", -- deps = [":asset_proto"], +- name = "dialogflow_ruby_proto", +- deps = [":dialogflow_proto"], -) - -ruby_grpc_library( -- name = "asset_ruby_grpc", -- srcs = [":asset_proto"], -- deps = [":asset_ruby_proto"], +- name = "dialogflow_ruby_grpc", +- srcs = [":dialogflow_proto"], +- deps = [":dialogflow_ruby_proto"], -) - --ruby_gapic_library( -- name = "asset_ruby_gapic", -- src = ":asset_proto_with_info", -- gapic_yaml = "cloudasset_gapic.yaml", -- package = "google.cloud.asset.v1p4beta1", -- service_yaml = "cloudasset_v1p4beta1.yaml", +-ruby_cloud_gapic_library( +- name = "dialogflow_ruby_gapic", +- srcs = [":dialogflow_proto_with_info"], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-dialogflow-v2beta1"], +- grpc_service_config = "dialogflow_grpc_service_config.json", - deps = [ -- ":asset_ruby_grpc", -- ":asset_ruby_proto", +- ":dialogflow_ruby_grpc", +- ":dialogflow_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-asset-v1p4beta1-ruby", +- name = "google-cloud-dialogflow-v2beta1-ruby", - deps = [ -- ":asset_ruby_gapic", -- ":asset_ruby_grpc", -- ":asset_ruby_proto", +- ":dialogflow_ruby_gapic", +- ":dialogflow_ruby_grpc", +- ":dialogflow_ruby_proto", - ], -) - @@ -14647,34 +31284,34 @@ diff -urN a/google/cloud/asset/v1p4beta1/BUILD.bazel b/google/cloud/asset/v1p4be -) - -csharp_proto_library( -- name = "asset_csharp_proto", -- deps = [":asset_proto"], +- name = "dialogflow_csharp_proto", +- deps = [":dialogflow_proto"], -) - -csharp_grpc_library( -- name = "asset_csharp_grpc", -- srcs = [":asset_proto"], -- deps = [":asset_csharp_proto"], +- name = "dialogflow_csharp_grpc", +- srcs = [":dialogflow_proto"], +- deps = [":dialogflow_csharp_proto"], -) - -csharp_gapic_library( -- name = "asset_csharp_gapic", -- srcs = [":asset_proto_with_info"], +- name = "dialogflow_csharp_gapic", +- srcs = [":dialogflow_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "cloudasset_grpc_service_config.json", +- grpc_service_config = "dialogflow_grpc_service_config.json", - deps = [ -- ":asset_csharp_grpc", -- ":asset_csharp_proto", +- ":dialogflow_csharp_grpc", +- ":dialogflow_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-asset-v1p4beta1-csharp", +- name = "google-cloud-dialogflow-v2beta1-csharp", - deps = [ -- ":asset_csharp_gapic", -- ":asset_csharp_grpc", -- ":asset_csharp_proto", +- ":dialogflow_csharp_gapic", +- ":dialogflow_csharp_grpc", +- ":dialogflow_csharp_proto", - ], -) - @@ -14682,11 +31319,25 @@ diff -urN a/google/cloud/asset/v1p4beta1/BUILD.bazel b/google/cloud/asset/v1p4be -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/asset/v1p5beta1/BUILD.bazel b/google/cloud/asset/v1p5beta1/BUILD.bazel ---- a/google/cloud/asset/v1p5beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/asset/v1p5beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,333 +0,0 @@ +diff -urN a/google/cloud/documentai/BUILD.bazel b/google/cloud/documentai/BUILD.bazel +--- a/google/cloud/documentai/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/documentai/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/cloud/documentai/v1/BUILD.bazel b/google/cloud/documentai/v1/BUILD.bazel +--- a/google/cloud/documentai/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/documentai/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,359 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -14698,29 +31349,35 @@ diff -urN a/google/cloud/asset/v1p5beta1/BUILD.bazel b/google/cloud/asset/v1p5be -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "asset_proto", +- name = "documentai_proto", - srcs = [ -- "asset_service.proto", -- "assets.proto", +- "document.proto", +- "document_io.proto", +- "document_processor_service.proto", +- "geometry.proto", +- "operation_metadata.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/cloud/orgpolicy/v1:orgpolicy_proto", -- "//google/iam/v1:policy_proto", -- "//google/identity/accesscontextmanager/v1:accesscontextmanager_proto", -- "@com_google_protobuf//:any_proto", -- "@com_google_protobuf//:struct_proto", +- "//google/longrunning:operations_proto", +- "//google/rpc:status_proto", +- "//google/type:color_proto", +- "//google/type:date_proto", +- "//google/type:datetime_proto", +- "//google/type:money_proto", +- "//google/type:postal_address_proto", +- "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "asset_proto_with_info", +- name = "documentai_proto_with_info", - deps = [ -- ":asset_proto", +- ":documentai_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -14738,46 +31395,44 @@ diff -urN a/google/cloud/asset/v1p5beta1/BUILD.bazel b/google/cloud/asset/v1p5be -) - -java_proto_library( -- name = "asset_java_proto", -- deps = [":asset_proto"], +- name = "documentai_java_proto", +- deps = [":documentai_proto"], -) - -java_grpc_library( -- name = "asset_java_grpc", -- srcs = [":asset_proto"], -- deps = [":asset_java_proto"], +- name = "documentai_java_grpc", +- srcs = [":documentai_proto"], +- deps = [":documentai_java_proto"], -) - -java_gapic_library( -- name = "asset_java_gapic", -- srcs = [":asset_proto_with_info"], -- grpc_service_config = "cloudasset_grpc_service_config.json", +- name = "documentai_java_gapic", +- srcs = [":documentai_proto_with_info"], +- grpc_service_config = "documentai_v1_grpc_service_config.json", - test_deps = [ -- ":asset_java_grpc", -- "//google/iam/v1:iam_java_grpc", +- ":documentai_java_grpc", - ], - deps = [ -- ":asset_java_proto", -- "//google/iam/v1:iam_java_proto", +- ":documentai_java_proto", - ], -) - -java_gapic_test( -- name = "asset_java_gapic_test_suite", +- name = "documentai_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.asset.v1p5beta1.AssetServiceClientTest", +- "com.google.cloud.documentai.v1.DocumentProcessorServiceClientTest", - ], -- runtime_deps = [":asset_java_gapic_test"], +- runtime_deps = [":documentai_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-asset-v1p5beta1-java", +- name = "google-cloud-documentai-v1-java", - deps = [ -- ":asset_java_gapic", -- ":asset_java_grpc", -- ":asset_java_proto", -- ":asset_proto", +- ":documentai_java_gapic", +- ":documentai_java_grpc", +- ":documentai_java_proto", +- ":documentai_proto", - ], -) - @@ -14793,44 +31448,50 @@ diff -urN a/google/cloud/asset/v1p5beta1/BUILD.bazel b/google/cloud/asset/v1p5be -) - -go_proto_library( -- name = "asset_go_proto", +- name = "documentai_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/asset/v1p5beta1", -- protos = [":asset_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/documentai/v1", +- protos = [":documentai_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/cloud/orgpolicy/v1:orgpolicy_go_proto", -- "//google/iam/v1:iam_go_proto", -- "//google/identity/accesscontextmanager/v1:accesscontextmanager_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", +- "//google/type:color_go_proto", +- "//google/type:date_go_proto", +- "//google/type:datetime_go_proto", +- "//google/type:money_go_proto", +- "//google/type:postaladdress_go_proto", - ], -) - -go_gapic_library( -- name = "asset_go_gapic", -- srcs = [":asset_proto_with_info"], -- grpc_service_config = "cloudasset_grpc_service_config.json", -- importpath = "cloud.google.com/go/asset/apiv1p5beta1;asset", -- service_yaml = "cloudasset_v1p5beta1.yaml", +- name = "documentai_go_gapic", +- srcs = [":documentai_proto_with_info"], +- grpc_service_config = "documentai_v1_grpc_service_config.json", +- importpath = "cloud.google.com/go/documentai/apiv1;documentai", +- service_yaml = "documentai_v1.yaml", - deps = [ -- ":asset_go_proto", -- "//google/iam/v1:iam_go_proto", +- ":documentai_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", - ], -) - -go_test( -- name = "asset_go_gapic_test", -- srcs = [":asset_go_gapic_srcjar_test"], -- embed = [":asset_go_gapic"], -- importpath = "cloud.google.com/go/asset/apiv1p5beta1", +- name = "documentai_go_gapic_test", +- srcs = [":documentai_go_gapic_srcjar_test"], +- embed = [":documentai_go_gapic"], +- importpath = "cloud.google.com/go/documentai/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-asset-v1p5beta1-go", +- name = "gapi-cloud-documentai-v1-go", - deps = [ -- ":asset_go_gapic", -- ":asset_go_gapic_srcjar-test.srcjar", -- ":asset_go_proto", +- ":documentai_go_gapic", +- ":documentai_go_gapic_srcjar-test.srcjar", +- ":documentai_go_proto", - ], -) - @@ -14844,15 +31505,16 @@ diff -urN a/google/cloud/asset/v1p5beta1/BUILD.bazel b/google/cloud/asset/v1p5be -) - -py_gapic_library( -- name = "asset_py_gapic", -- srcs = [":asset_proto"], -- grpc_service_config = "cloudasset_grpc_service_config.json", +- name = "documentai_py_gapic", +- srcs = [":documentai_proto"], +- grpc_service_config = "documentai_v1_grpc_service_config.json", -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "asset-v1p5beta1-py", +- name = "documentai-v1-py", - deps = [ -- ":asset_py_gapic", +- ":documentai_py_gapic", - ], -) - @@ -14868,35 +31530,33 @@ diff -urN a/google/cloud/asset/v1p5beta1/BUILD.bazel b/google/cloud/asset/v1p5be -) - -php_proto_library( -- name = "asset_php_proto", -- deps = [":asset_proto"], +- name = "documentai_php_proto", +- deps = [":documentai_proto"], -) - -php_grpc_library( -- name = "asset_php_grpc", -- srcs = [":asset_proto"], -- deps = [":asset_php_proto"], +- name = "documentai_php_grpc", +- srcs = [":documentai_proto"], +- deps = [":documentai_php_proto"], -) - -php_gapic_library( -- name = "asset_php_gapic", -- src = ":asset_proto_with_info", -- gapic_yaml = "cloudasset_gapic.yaml", -- package = "google.cloud.asset.v1p5beta1", -- service_yaml = "cloudasset_v1p5beta1.yaml", +- name = "documentai_php_gapic", +- srcs = [":documentai_proto_with_info"], +- grpc_service_config = "documentai_v1_grpc_service_config.json", - deps = [ -- ":asset_php_grpc", -- ":asset_php_proto", +- ":documentai_php_grpc", +- ":documentai_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-asset-v1p5beta1-php", +- name = "google-cloud-documentai-v1-php", - deps = [ -- ":asset_php_gapic", -- ":asset_php_grpc", -- ":asset_php_proto", +- ":documentai_php_gapic", +- ":documentai_php_grpc", +- ":documentai_php_proto", - ], -) - @@ -14910,20 +31570,21 @@ diff -urN a/google/cloud/asset/v1p5beta1/BUILD.bazel b/google/cloud/asset/v1p5be -) - -nodejs_gapic_library( -- name = "asset_nodejs_gapic", -- src = ":asset_proto_with_info", +- name = "documentai_nodejs_gapic", +- package_name = "@google-cloud/documentai", +- src = ":documentai_proto_with_info", - extra_protoc_parameters = ["metadata"], -- gapic_yaml = "cloudasset_gapic.yaml", -- package = "google.cloud.asset.v1p5beta1", -- service_yaml = "cloudasset_v1p5beta1.yaml", +- grpc_service_config = "documentai_v1_grpc_service_config.json", +- package = "google.cloud.documentai.v1", +- service_yaml = "documentai_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "asset-v1p5beta1-nodejs", +- name = "documentai-v1-nodejs", - deps = [ -- ":asset_nodejs_gapic", -- ":asset_proto", +- ":documentai_nodejs_gapic", +- ":documentai_proto", - ], -) - @@ -14932,42 +31593,50 @@ diff -urN a/google/cloud/asset/v1p5beta1/BUILD.bazel b/google/cloud/asset/v1p5be -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "asset_ruby_proto", -- deps = [":asset_proto"], +- name = "documentai_ruby_proto", +- deps = [":documentai_proto"], -) - -ruby_grpc_library( -- name = "asset_ruby_grpc", -- srcs = [":asset_proto"], -- deps = [":asset_ruby_proto"], +- name = "documentai_ruby_grpc", +- srcs = [":documentai_proto"], +- deps = [":documentai_ruby_proto"], -) - --ruby_gapic_library( -- name = "asset_ruby_gapic", -- src = ":asset_proto_with_info", -- gapic_yaml = "cloudasset_gapic.yaml", -- package = "google.cloud.asset.v1p5beta1", -- service_yaml = "cloudasset_v1p5beta1.yaml", +-ruby_cloud_gapic_library( +- name = "documentai_ruby_gapic", +- srcs = [":documentai_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-document_ai-v1", +- "ruby-cloud-env-prefix=DOCUMENT_AI", +- "ruby-cloud-product-url=https://cloud.google.com/document-ai/", +- "ruby-cloud-api-id=us-documentai.googleapis.com", +- "ruby-cloud-api-shortname=documentai", +- "ruby-cloud-namespace-override=DocumentAi=DocumentAI", +- ], +- grpc_service_config = "documentai_v1_grpc_service_config.json", +- ruby_cloud_description = "Document AI uses machine learning on a single cloud-based platform to automatically classify, extract, and enrich data within your documents to unlock insights.", +- ruby_cloud_title = "Document AI V1", - deps = [ -- ":asset_ruby_grpc", -- ":asset_ruby_proto", +- ":documentai_ruby_grpc", +- ":documentai_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-asset-v1p5beta1-ruby", +- name = "google-cloud-documentai-v1-ruby", - deps = [ -- ":asset_ruby_gapic", -- ":asset_ruby_grpc", -- ":asset_ruby_proto", +- ":documentai_ruby_gapic", +- ":documentai_ruby_grpc", +- ":documentai_ruby_proto", - ], -) - @@ -14983,48 +31652,47 @@ diff -urN a/google/cloud/asset/v1p5beta1/BUILD.bazel b/google/cloud/asset/v1p5be -) - -csharp_proto_library( -- name = "asset_csharp_proto", -- deps = [":asset_proto"], +- name = "documentai_csharp_proto", +- deps = [":documentai_proto"], -) - -csharp_grpc_library( -- name = "asset_csharp_grpc", -- srcs = [":asset_proto"], -- deps = [":asset_csharp_proto"], +- name = "documentai_csharp_grpc", +- srcs = [":documentai_proto"], +- deps = [":documentai_csharp_proto"], -) - --# Invalid C# namespaces, cannot build. --# csharp_gapic_library( --# name = "asset_csharp_gapic", --# srcs = [":asset_proto_with_info"], --# grpc_service_config = "cloudasset_grpc_service_config.json", --# common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", --# deps = [ --# ":asset_csharp_grpc", --# ":asset_csharp_proto", --# ], --# ) +-csharp_gapic_library( +- name = "documentai_csharp_gapic", +- srcs = [":documentai_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "documentai_v1_grpc_service_config.json", +- deps = [ +- ":documentai_csharp_grpc", +- ":documentai_csharp_proto", +- ], +-) - --# # Open Source Packages --# csharp_gapic_assembly_pkg( --# name = "google-cloud-asset-v1p5beta1-csharp", --# deps = [ --# ":asset_csharp_gapic", --# ":asset_csharp_grpc", --# ":asset_csharp_proto", --# ], --# ) +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-documentai-v1-csharp", +- deps = [ +- ":documentai_csharp_gapic", +- ":documentai_csharp_grpc", +- ":documentai_csharp_proto", +- ], +-) - -############################################################################## -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/asset/v1p7beta1/BUILD.bazel b/google/cloud/asset/v1p7beta1/BUILD.bazel ---- a/google/cloud/asset/v1p7beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/asset/v1p7beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,358 +0,0 @@ +diff -urN a/google/cloud/documentai/v1beta1/BUILD.bazel b/google/cloud/documentai/v1beta1/BUILD.bazel +--- a/google/cloud/documentai/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/documentai/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,337 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/rules_gapic/tree/master/bazel +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: @@ -15044,33 +31712,27 @@ diff -urN a/google/cloud/asset/v1p7beta1/BUILD.bazel b/google/cloud/asset/v1p7be -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "asset_proto", +- name = "documentai_proto", - srcs = [ -- "asset_service.proto", -- "assets.proto", +- "document.proto", +- "document_understanding.proto", +- "geometry.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/cloud/orgpolicy/v1:orgpolicy_proto", -- "//google/cloud/osconfig/v1:osconfig_proto", -- "//google/iam/v1:policy_proto", -- "//google/identity/accesscontextmanager/v1:accesscontextmanager_proto", - "//google/longrunning:operations_proto", -- "@com_google_protobuf//:any_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:struct_proto", +- "//google/rpc:status_proto", +- "//google/type:color_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "asset_proto_with_info", +- name = "documentai_proto_with_info", - deps = [ -- ":asset_proto", +- ":documentai_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -15088,46 +31750,44 @@ diff -urN a/google/cloud/asset/v1p7beta1/BUILD.bazel b/google/cloud/asset/v1p7be -) - -java_proto_library( -- name = "asset_java_proto", -- deps = [":asset_proto"], +- name = "documentai_java_proto", +- deps = [":documentai_proto"], -) - -java_grpc_library( -- name = "asset_java_grpc", -- srcs = [":asset_proto"], -- deps = [":asset_java_proto"], +- name = "documentai_java_grpc", +- srcs = [":documentai_proto"], +- deps = [":documentai_java_proto"], -) - -java_gapic_library( -- name = "asset_java_gapic", -- srcs = [":asset_proto_with_info"], -- grpc_service_config = "cloudasset_grpc_service_config.json", +- name = "documentai_java_gapic", +- srcs = [":documentai_proto_with_info"], +- grpc_service_config = "documentai_grpc_service_config.json", - test_deps = [ -- ":asset_java_grpc", -- "//google/iam/v1:iam_java_grpc", +- ":documentai_java_grpc", - ], - deps = [ -- ":asset_java_proto", -- "//google/iam/v1:iam_java_proto", +- ":documentai_java_proto", - ], -) - -java_gapic_test( -- name = "asset_java_gapic_test_suite", +- name = "documentai_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.asset.v1p7beta1.AssetServiceClientTest", +- "com.google.cloud.documentai.v1beta1.DocumentUnderstandingServiceClientTest", - ], -- runtime_deps = [":asset_java_gapic_test"], +- runtime_deps = [":documentai_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-asset-v1p7beta1-java", +- name = "google-cloud-documentai-v1beta1-java", - deps = [ -- ":asset_java_gapic", -- ":asset_java_grpc", -- ":asset_java_proto", -- ":asset_proto", +- ":documentai_java_gapic", +- ":documentai_java_grpc", +- ":documentai_java_proto", +- ":documentai_proto", - ], -) - @@ -15143,53 +31803,46 @@ diff -urN a/google/cloud/asset/v1p7beta1/BUILD.bazel b/google/cloud/asset/v1p7be -) - -go_proto_library( -- name = "asset_go_proto", +- name = "documentai_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/asset/v1p7beta1", -- protos = [":asset_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta1", +- protos = [":documentai_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/cloud/orgpolicy/v1:orgpolicy_go_proto", -- "//google/cloud/osconfig/v1:osconfig_go_proto", -- "//google/iam/v1:iam_go_proto", -- "//google/identity/accesscontextmanager/v1:accesscontextmanager_go_proto", - "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", +- "//google/type:color_go_proto", - ], -) - -go_gapic_library( -- name = "asset_go_gapic", -- srcs = [":asset_proto_with_info"], -- grpc_service_config = "cloudasset_grpc_service_config.json", -- importpath = "cloud.google.com/go/asset/apiv1p7beta1;asset", -- metadata = True, -- service_yaml = "cloudasset_v1p7beta1.yaml", +- name = "documentai_go_gapic", +- srcs = [":documentai_proto_with_info"], +- grpc_service_config = "documentai_grpc_service_config.json", +- importpath = "cloud.google.com/go/documentai/apiv1beta1;documentai", +- service_yaml = "//google/cloud/documentai:documentai_v1beta1.yaml", - deps = [ -- ":asset_go_proto", -- "//google/iam/v1:iam_go_proto", +- ":documentai_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:any_go_proto", -- "@io_bazel_rules_go//proto/wkt:struct_go_proto", - ], -) - -go_test( -- name = "asset_go_gapic_test", -- srcs = [":asset_go_gapic_srcjar_test"], -- embed = [":asset_go_gapic"], -- importpath = "cloud.google.com/go/asset/apiv1p7beta1", +- name = "documentai_go_gapic_test", +- srcs = [":documentai_go_gapic_srcjar_test"], +- embed = [":documentai_go_gapic"], +- importpath = "cloud.google.com/go/documentai/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-asset-v1p7beta1-go", +- name = "gapi-cloud-documentai-v1beta1-go", - deps = [ -- ":asset_go_gapic", -- ":asset_go_gapic_srcjar-metadata.srcjar", -- ":asset_go_gapic_srcjar-test.srcjar", -- ":asset_go_proto", +- ":documentai_go_gapic", +- ":documentai_go_gapic_srcjar-test.srcjar", +- ":documentai_go_proto", - ], -) - @@ -15203,16 +31856,16 @@ diff -urN a/google/cloud/asset/v1p7beta1/BUILD.bazel b/google/cloud/asset/v1p7be -) - -py_gapic_library( -- name = "asset_py_gapic", -- srcs = [":asset_proto"], -- grpc_service_config = "cloudasset_grpc_service_config.json", +- name = "documentai_py_gapic", +- srcs = [":documentai_proto"], +- grpc_service_config = "documentai_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "asset-v1p7beta1-py", +- name = "documentai-v1beta1-py", - deps = [ -- ":asset_py_gapic", +- ":documentai_py_gapic", - ], -) - @@ -15228,36 +31881,34 @@ diff -urN a/google/cloud/asset/v1p7beta1/BUILD.bazel b/google/cloud/asset/v1p7be -) - -php_proto_library( -- name = "asset_php_proto", -- deps = [":asset_proto"], +- name = "documentai_php_proto", +- deps = [":documentai_proto"], -) - -php_grpc_library( -- name = "asset_php_grpc", -- srcs = [":asset_proto"], -- deps = [":asset_php_proto"], +- name = "documentai_php_grpc", +- srcs = [":documentai_proto"], +- deps = [":documentai_php_proto"], -) - -php_gapic_library( -- name = "asset_php_gapic", -- src = ":asset_proto_with_info", -- gapic_yaml = "cloudasset_gapic.yaml", -- grpc_service_config = "cloudasset_grpc_service_config.json", -- package = "google.cloud.asset.v1p7beta1", -- service_yaml = "cloudasset_v1p7beta1.yaml", +- name = "documentai_php_gapic", +- srcs = [":documentai_proto_with_info"], +- grpc_service_config = "documentai_grpc_service_config.json", +- service_yaml = "//google/cloud/documentai:documentai_v1beta1.yaml", - deps = [ -- ":asset_php_grpc", -- ":asset_php_proto", +- ":documentai_php_grpc", +- ":documentai_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-asset-v1p7beta1-php", +- name = "google-cloud-documentai-v1beta1-php", - deps = [ -- ":asset_php_gapic", -- ":asset_php_grpc", -- ":asset_php_proto", +- ":documentai_php_gapic", +- ":documentai_php_grpc", +- ":documentai_php_proto", - ], -) - @@ -15271,21 +31922,20 @@ diff -urN a/google/cloud/asset/v1p7beta1/BUILD.bazel b/google/cloud/asset/v1p7be -) - -nodejs_gapic_library( -- name = "asset_nodejs_gapic", -- package_name = "@google-cloud/asset", -- src = ":asset_proto_with_info", +- name = "documentai_nodejs_gapic", +- src = ":documentai_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "cloudasset_grpc_service_config.json", -- package = "google.cloud.asset.v1p7beta1", -- service_yaml = "cloudasset_v1p7beta1.yaml", +- grpc_service_config = "documentai_grpc_service_config.json", +- package = "google.cloud.documentai.v1beta1", +- service_yaml = "//google/cloud/documentai:documentai_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "asset-v1p7beta1-nodejs", +- name = "documentai-v1beta1-nodejs", - deps = [ -- ":asset_nodejs_gapic", -- ":asset_proto", +- ":documentai_nodejs_gapic", +- ":documentai_proto", - ], -) - @@ -15295,41 +31945,39 @@ diff -urN a/google/cloud/asset/v1p7beta1/BUILD.bazel b/google/cloud/asset/v1p7be -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "asset_ruby_proto", -- deps = [":asset_proto"], +- name = "documentai_ruby_proto", +- deps = [":documentai_proto"], -) - -ruby_grpc_library( -- name = "asset_ruby_grpc", -- srcs = [":asset_proto"], -- deps = [":asset_ruby_proto"], +- name = "documentai_ruby_grpc", +- srcs = [":documentai_proto"], +- deps = [":documentai_ruby_proto"], -) - --ruby_gapic_library( -- name = "asset_ruby_gapic", -- src = ":asset_proto_with_info", -- gapic_yaml = "cloudasset_gapic.yaml", -- package = "google.cloud.asset.v1p7beta1", -- service_yaml = "cloudasset_v1p7beta1.yaml", +-ruby_cloud_gapic_library( +- name = "documentai_ruby_gapic", +- srcs = [":documentai_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-documentai-v1beta1"], - deps = [ -- ":asset_ruby_grpc", -- ":asset_ruby_proto", +- ":documentai_ruby_grpc", +- ":documentai_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-asset-v1p7beta1-ruby", +- name = "google-cloud-documentai-v1beta1-ruby", - deps = [ -- ":asset_ruby_gapic", -- ":asset_ruby_grpc", -- ":asset_ruby_proto", +- ":documentai_ruby_gapic", +- ":documentai_ruby_grpc", +- ":documentai_ruby_proto", - ], -) - @@ -15345,46 +31993,45 @@ diff -urN a/google/cloud/asset/v1p7beta1/BUILD.bazel b/google/cloud/asset/v1p7be -) - -csharp_proto_library( -- name = "asset_csharp_proto", -- deps = [":asset_proto"], +- name = "documentai_csharp_proto", +- deps = [":documentai_proto"], -) - -csharp_grpc_library( -- name = "asset_csharp_grpc", -- srcs = [":asset_proto"], -- deps = [":asset_csharp_proto"], +- name = "documentai_csharp_grpc", +- srcs = [":documentai_proto"], +- deps = [":documentai_csharp_proto"], -) - --# Invalid C# namespaces, cannot build. --# csharp_gapic_library( --# name = "asset_csharp_gapic", --# srcs = [":asset_proto_with_info"], --# common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", --# grpc_service_config = "cloudasset_grpc_service_config.json", --# deps = [ --# ":asset_csharp_grpc", --# ":asset_csharp_proto", --# ], --# ) +-csharp_gapic_library( +- name = "documentai_csharp_gapic", +- srcs = [":documentai_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "documentai_grpc_service_config.json", +- deps = [ +- ":documentai_csharp_grpc", +- ":documentai_csharp_proto", +- ], +-) - --# # Open Source Packages --# csharp_gapic_assembly_pkg( --# name = "google-cloud-asset-v1p7beta1-csharp", --# deps = [ --# ":asset_csharp_gapic", --# ":asset_csharp_grpc", --# ":asset_csharp_proto", --# ], --# ) +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-documentai-v1beta1-csharp", +- deps = [ +- ":documentai_csharp_gapic", +- ":documentai_csharp_grpc", +- ":documentai_csharp_proto", +- ], +-) - -############################################################################## -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/assuredworkloads/v1beta1/BUILD.bazel b/google/cloud/assuredworkloads/v1beta1/BUILD.bazel ---- a/google/cloud/assuredworkloads/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/assuredworkloads/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,348 +0,0 @@ +diff -urN a/google/cloud/documentai/v1beta2/BUILD.bazel b/google/cloud/documentai/v1beta2/BUILD.bazel +--- a/google/cloud/documentai/v1beta2/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/documentai/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,337 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - @@ -15406,27 +32053,27 @@ diff -urN a/google/cloud/assuredworkloads/v1beta1/BUILD.bazel b/google/cloud/ass -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "assuredworkloads_proto", +- name = "documentai_proto", - srcs = [ -- "assuredworkloads_v1beta1.proto", +- "document.proto", +- "document_understanding.proto", +- "geometry.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/api:resource_proto", - "//google/longrunning:operations_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", +- "//google/rpc:status_proto", +- "//google/type:color_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "assuredworkloads_proto_with_info", +- name = "documentai_proto_with_info", - deps = [ -- ":assuredworkloads_proto", +- ":documentai_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -15444,44 +32091,44 @@ diff -urN a/google/cloud/assuredworkloads/v1beta1/BUILD.bazel b/google/cloud/ass -) - -java_proto_library( -- name = "assuredworkloads_java_proto", -- deps = [":assuredworkloads_proto"], +- name = "documentai_java_proto", +- deps = [":documentai_proto"], -) - -java_grpc_library( -- name = "assuredworkloads_java_grpc", -- srcs = [":assuredworkloads_proto"], -- deps = [":assuredworkloads_java_proto"], +- name = "documentai_java_grpc", +- srcs = [":documentai_proto"], +- deps = [":documentai_java_proto"], -) - -java_gapic_library( -- name = "assuredworkloads_java_gapic", -- srcs = [":assuredworkloads_proto_with_info"], -- grpc_service_config = "assuredworkloads_grpc_service_config.json", +- name = "documentai_java_gapic", +- srcs = [":documentai_proto_with_info"], +- grpc_service_config = "documentai_v1beta2_grpc_service_config.json", - test_deps = [ -- ":assuredworkloads_java_grpc", +- ":documentai_java_grpc", - ], - deps = [ -- ":assuredworkloads_java_proto", +- ":documentai_java_proto", - ], -) - -java_gapic_test( -- name = "assuredworkloads_java_gapic_test_suite", +- name = "documentai_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.assuredworkloads.v1beta1.AssuredWorkloadsServiceClientTest", +- "com.google.cloud.documentai.v1beta2.DocumentUnderstandingServiceClientTest", - ], -- runtime_deps = [":assuredworkloads_java_gapic_test"], +- runtime_deps = [":documentai_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-assuredworkloads-v1beta1-java", +- name = "google-cloud-documentai-v1beta2-java", - deps = [ -- ":assuredworkloads_java_gapic", -- ":assuredworkloads_java_grpc", -- ":assuredworkloads_java_proto", -- ":assuredworkloads_proto", +- ":documentai_java_gapic", +- ":documentai_java_grpc", +- ":documentai_java_proto", +- ":documentai_proto", - ], -) - @@ -15497,45 +32144,46 @@ diff -urN a/google/cloud/assuredworkloads/v1beta1/BUILD.bazel b/google/cloud/ass -) - -go_proto_library( -- name = "assuredworkloads_go_proto", +- name = "documentai_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/assuredworkloads/v1beta1", -- protos = [":assuredworkloads_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta2", +- protos = [":documentai_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", +- "//google/type:color_go_proto", - ], -) - -go_gapic_library( -- name = "assuredworkloads_go_gapic", -- srcs = [":assuredworkloads_proto_with_info"], -- grpc_service_config = "assuredworkloads_grpc_service_config.json", -- importpath = "cloud.google.com/go/assuredworkloads/apiv1beta1;assuredworkloads", -- service_yaml = "assuredworkloads_v1beta1.yaml", +- name = "documentai_go_gapic", +- srcs = [":documentai_proto_with_info"], +- grpc_service_config = "documentai_v1beta2_grpc_service_config.json", +- importpath = "cloud.google.com/go/documentai/apiv1beta2;documentai", +- service_yaml = "documentai_v1beta2.yaml", - deps = [ -- ":assuredworkloads_go_proto", +- ":documentai_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "assuredworkloads_go_gapic_test", -- srcs = [":assuredworkloads_go_gapic_srcjar_test"], -- embed = [":assuredworkloads_go_gapic"], -- importpath = "cloud.google.com/go/assuredworkloads/apiv1beta1", +- name = "documentai_go_gapic_test", +- srcs = [":documentai_go_gapic_srcjar_test"], +- embed = [":documentai_go_gapic"], +- importpath = "cloud.google.com/go/documentai/apiv1beta2", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-assuredworkloads-v1beta1-go", +- name = "gapi-cloud-documentai-v1beta2-go", - deps = [ -- ":assuredworkloads_go_gapic", -- ":assuredworkloads_go_gapic_srcjar-test.srcjar", -- ":assuredworkloads_go_proto", +- ":documentai_go_gapic", +- ":documentai_go_gapic_srcjar-test.srcjar", +- ":documentai_go_proto", - ], -) - @@ -15549,16 +32197,16 @@ diff -urN a/google/cloud/assuredworkloads/v1beta1/BUILD.bazel b/google/cloud/ass -) - -py_gapic_library( -- name = "assuredworkloads_py_gapic", -- srcs = [":assuredworkloads_proto"], -- grpc_service_config = "assuredworkloads_grpc_service_config.json", +- name = "documentai_py_gapic", +- srcs = [":documentai_proto"], +- grpc_service_config = "documentai_v1beta2_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "assuredworkloads-v1beta1-py", +- name = "documentai-v1beta2-py", - deps = [ -- ":assuredworkloads_py_gapic", +- ":documentai_py_gapic", - ], -) - @@ -15574,36 +32222,33 @@ diff -urN a/google/cloud/assuredworkloads/v1beta1/BUILD.bazel b/google/cloud/ass -) - -php_proto_library( -- name = "assuredworkloads_php_proto", -- deps = [":assuredworkloads_proto"], +- name = "documentai_php_proto", +- deps = [":documentai_proto"], -) - -php_grpc_library( -- name = "assuredworkloads_php_grpc", -- srcs = [":assuredworkloads_proto"], -- deps = [":assuredworkloads_php_proto"], +- name = "documentai_php_grpc", +- srcs = [":documentai_proto"], +- deps = [":documentai_php_proto"], -) - -php_gapic_library( -- name = "assuredworkloads_php_gapic", -- src = ":assuredworkloads_proto_with_info", -- gapic_yaml = "assuredworkloads_gapic.yaml", -- grpc_service_config = "assuredworkloads_grpc_service_config.json", -- package = "google.cloud.assuredworkloads.v1beta1", -- service_yaml = "assuredworkloads_v1beta1.yaml", +- name = "documentai_php_gapic", +- srcs = [":documentai_proto_with_info"], +- grpc_service_config = "documentai_v1beta2_grpc_service_config.json", - deps = [ -- ":assuredworkloads_php_grpc", -- ":assuredworkloads_php_proto", +- ":documentai_php_grpc", +- ":documentai_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-assuredworkloads-v1beta1-php", +- name = "google-cloud-documentai-v1beta2-php", - deps = [ -- ":assuredworkloads_php_gapic", -- ":assuredworkloads_php_grpc", -- ":assuredworkloads_php_proto", +- ":documentai_php_gapic", +- ":documentai_php_grpc", +- ":documentai_php_proto", - ], -) - @@ -15617,21 +32262,21 @@ diff -urN a/google/cloud/assuredworkloads/v1beta1/BUILD.bazel b/google/cloud/ass -) - -nodejs_gapic_library( -- name = "assuredworkloads_nodejs_gapic", -- package_name = "@google-cloud/assured-workloads", -- src = ":assuredworkloads_proto_with_info", +- name = "documentai_nodejs_gapic", +- package_name = "@google-cloud/documentai", +- src = ":documentai_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "assuredworkloads_grpc_service_config.json", -- package = "google.cloud.assuredworkloads.v1beta1", -- service_yaml = "assuredworkloads_v1beta1.yaml", +- grpc_service_config = "documentai_v1beta2_grpc_service_config.json", +- package = "google.cloud.documentai.v1beta2", +- service_yaml = "documentai_v1beta2.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "assuredworkloads-v1beta1-nodejs", +- name = "documentai-v1beta2-nodejs", - deps = [ -- ":assuredworkloads_nodejs_gapic", -- ":assuredworkloads_proto", +- ":documentai_nodejs_gapic", +- ":documentai_proto", - ], -) - @@ -15647,42 +32292,33 @@ diff -urN a/google/cloud/assuredworkloads/v1beta1/BUILD.bazel b/google/cloud/ass -) - -ruby_proto_library( -- name = "assuredworkloads_ruby_proto", -- deps = [":assuredworkloads_proto"], +- name = "documentai_ruby_proto", +- deps = [":documentai_proto"], -) - -ruby_grpc_library( -- name = "assuredworkloads_ruby_grpc", -- srcs = [":assuredworkloads_proto"], -- deps = [":assuredworkloads_ruby_proto"], +- name = "documentai_ruby_grpc", +- srcs = [":documentai_proto"], +- deps = [":documentai_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "assuredworkloads_ruby_gapic", -- srcs = [":assuredworkloads_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-assured_workloads-v1beta1", -- "ruby-cloud-env-prefix=ASSURED_WORKLOADS", -- "ruby-cloud-product-url=https://cloud.google.com/assured-workloads/", -- "ruby-cloud-api-id=assuredworkloads.googleapis.com", -- "ruby-cloud-api-shortname=assuredworkloads", -- ], -- grpc_service_config = "assuredworkloads_grpc_service_config.json", -- ruby_cloud_description = "Assured Workloads for Government secures government workloads and accelerates the path to running compliant workloads on Google Cloud.", -- ruby_cloud_title = "Assured Workloads for Government V1beta1", +- name = "documentai_ruby_gapic", +- srcs = [":documentai_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-documentai-v1beta2"], - deps = [ -- ":assuredworkloads_ruby_grpc", -- ":assuredworkloads_ruby_proto", +- ":documentai_ruby_grpc", +- ":documentai_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-assuredworkloads-v1beta1-ruby", +- name = "google-cloud-documentai-v1beta2-ruby", - deps = [ -- ":assuredworkloads_ruby_gapic", -- ":assuredworkloads_ruby_grpc", -- ":assuredworkloads_ruby_proto", +- ":documentai_ruby_gapic", +- ":documentai_ruby_grpc", +- ":documentai_ruby_proto", - ], -) - @@ -15698,34 +32334,34 @@ diff -urN a/google/cloud/assuredworkloads/v1beta1/BUILD.bazel b/google/cloud/ass -) - -csharp_proto_library( -- name = "assuredworkloads_csharp_proto", -- deps = [":assuredworkloads_proto"], +- name = "documentai_csharp_proto", +- deps = [":documentai_proto"], -) - -csharp_grpc_library( -- name = "assuredworkloads_csharp_grpc", -- srcs = [":assuredworkloads_proto"], -- deps = [":assuredworkloads_csharp_proto"], +- name = "documentai_csharp_grpc", +- srcs = [":documentai_proto"], +- deps = [":documentai_csharp_proto"], -) - -csharp_gapic_library( -- name = "assuredworkloads_csharp_gapic", -- srcs = [":assuredworkloads_proto_with_info"], +- name = "documentai_csharp_gapic", +- srcs = [":documentai_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "assuredworkloads_grpc_service_config.json", +- grpc_service_config = "documentai_v1beta2_grpc_service_config.json", - deps = [ -- ":assuredworkloads_csharp_grpc", -- ":assuredworkloads_csharp_proto", +- ":documentai_csharp_grpc", +- ":documentai_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-assuredworkloads-v1beta1-csharp", +- name = "google-cloud-documentai-v1beta2-csharp", - deps = [ -- ":assuredworkloads_csharp_gapic", -- ":assuredworkloads_csharp_grpc", -- ":assuredworkloads_csharp_proto", +- ":documentai_csharp_gapic", +- ":documentai_csharp_grpc", +- ":documentai_csharp_proto", - ], -) - @@ -15733,11 +32369,20 @@ diff -urN a/google/cloud/assuredworkloads/v1beta1/BUILD.bazel b/google/cloud/ass -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/audit/BUILD.bazel b/google/cloud/audit/BUILD.bazel ---- a/google/cloud/audit/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/audit/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,168 +0,0 @@ +diff -urN a/google/cloud/documentai/v1beta3/BUILD.bazel b/google/cloud/documentai/v1beta3/BUILD.bazel +--- a/google/cloud/documentai/v1beta3/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/documentai/v1beta3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,361 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -15746,17 +32391,41 @@ diff -urN a/google/cloud/audit/BUILD.bazel b/google/cloud/audit/BUILD.bazel -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "audit_proto", +- name = "documentai_proto", - srcs = [ -- "audit_log.proto", +- "document.proto", +- "document_io.proto", +- "document_processor_service.proto", +- "geometry.proto", +- "processor.proto", +- "processor_type.proto", +- "operation_metadata.proto", - ], - deps = [ -- "//google/rpc/context:attribute_context_proto", +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", - "//google/rpc:status_proto", -- "@com_google_protobuf//:any_proto", -- "@com_google_protobuf//:struct_proto", +- "//google/type:color_proto", +- "//google/type:date_proto", +- "//google/type:datetime_proto", +- "//google/type:money_proto", +- "//google/type:postal_address_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "documentai_proto_with_info", +- deps = [ +- ":documentai_proto", +- "//google/cloud:common_resources_proto", - ], -) - @@ -15765,19 +32434,53 @@ diff -urN a/google/cloud/audit/BUILD.bazel b/google/cloud/audit/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "audit_java_proto", -- deps = [":audit_proto"], +- name = "documentai_java_proto", +- deps = [":documentai_proto"], -) - -java_grpc_library( -- name = "audit_java_grpc", -- srcs = [":audit_proto"], -- deps = [":audit_java_proto"], +- name = "documentai_java_grpc", +- srcs = [":documentai_proto"], +- deps = [":documentai_java_proto"], +-) +- +-java_gapic_library( +- name = "documentai_java_gapic", +- srcs = [":documentai_proto_with_info"], +- grpc_service_config = "documentai_v1beta3_grpc_service_config.json", +- test_deps = [ +- ":documentai_java_grpc", +- ], +- deps = [ +- ":documentai_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "documentai_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.documentai.v1beta3.DocumentProcessorServiceClientTest", +- ], +- runtime_deps = [":documentai_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-documentai-v1beta3-java", +- deps = [ +- ":documentai_java_gapic", +- ":documentai_java_grpc", +- ":documentai_java_proto", +- ":documentai_proto", +- ], -) - -############################################################################## @@ -15785,17 +32488,57 @@ diff -urN a/google/cloud/audit/BUILD.bazel b/google/cloud/audit/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", - "go_proto_library", +- "go_test", -) - -go_proto_library( -- name = "audit_go_proto", +- name = "documentai_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/audit", -- protos = [":audit_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta3", +- protos = [":documentai_proto"], - deps = [ -- "//google/rpc/context:attribute_context_go_proto", +- "//google/api:annotations_go_proto", +- "//google/longrunning:longrunning_go_proto", - "//google/rpc:status_go_proto", +- "//google/type:color_go_proto", +- "//google/type:date_go_proto", +- "//google/type:datetime_go_proto", +- "//google/type:money_go_proto", +- "//google/type:postaladdress_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "documentai_go_gapic", +- srcs = [":documentai_proto_with_info"], +- grpc_service_config = "documentai_v1beta3_grpc_service_config.json", +- importpath = "cloud.google.com/go/documentai/apiv1beta3;documentai", +- service_yaml = "documentai_v1beta3.yaml", +- deps = [ +- ":documentai_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- ], +-) +- +-go_test( +- name = "documentai_go_gapic_test", +- srcs = [":documentai_go_gapic_srcjar_test"], +- embed = [":documentai_go_gapic"], +- importpath = "cloud.google.com/go/documentai/apiv1beta3", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-documentai-v1beta3-go", +- deps = [ +- ":documentai_go_gapic", +- ":documentai_go_gapic_srcjar-test.srcjar", +- ":documentai_go_proto", - ], -) - @@ -15804,31 +32547,22 @@ diff -urN a/google/cloud/audit/BUILD.bazel b/google/cloud/audit/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", -- "py_grpc_library", -- "py_proto_library", --) -- --moved_proto_library( -- name = "audit_moved_proto", -- srcs = [":audit_proto"], -- deps = [ -- "//google/rpc/context:attribute_context_proto", -- "//google/rpc:status_proto", -- "@com_google_protobuf//:any_proto", -- "@com_google_protobuf//:struct_proto", -- ], +- "py_gapic_assembly_pkg", +- "py_gapic_library", -) - --py_proto_library( -- name = "audit_py_proto", -- deps = [":audit_moved_proto"], +-py_gapic_library( +- name = "documentai_py_gapic", +- srcs = [":documentai_proto"], +- grpc_service_config = "documentai_v1beta3_grpc_service_config.json", -) - --py_grpc_library( -- name = "audit_py_grpc", -- srcs = [":audit_moved_proto"], -- deps = [":audit_py_proto"], +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "documentai-v1beta3-py", +- deps = [ +- ":documentai_py_gapic", +- ], -) - -############################################################################## @@ -15836,19 +32570,41 @@ diff -urN a/google/cloud/audit/BUILD.bazel b/google/cloud/audit/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "audit_php_proto", -- deps = [":audit_proto"], +- name = "documentai_php_proto", +- deps = [":documentai_proto"], -) - -php_grpc_library( -- name = "audit_php_grpc", -- srcs = [":audit_proto"], -- deps = [":audit_php_proto"], +- name = "documentai_php_grpc", +- srcs = [":documentai_proto"], +- deps = [":documentai_php_proto"], +-) +- +-php_gapic_library( +- name = "documentai_php_gapic", +- srcs = [":documentai_proto_with_info"], +- grpc_service_config = "documentai_v1beta3_grpc_service_config.json", +- deps = [ +- ":documentai_php_grpc", +- ":documentai_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-documentai-v1beta3-php", +- deps = [ +- ":documentai_php_gapic", +- ":documentai_php_grpc", +- ":documentai_php_proto", +- ], -) - -############################################################################## @@ -15860,25 +32616,75 @@ diff -urN a/google/cloud/audit/BUILD.bazel b/google/cloud/audit/BUILD.bazel - "nodejs_gapic_library", -) - +-nodejs_gapic_library( +- name = "documentai_nodejs_gapic", +- package_name = "@google-cloud/documentai", +- src = ":documentai_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "documentai_v1beta3_grpc_service_config.json", +- package = "google.cloud.documentai.v1beta3", +- service_yaml = "documentai_v1beta3.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "documentai-v1beta3-nodejs", +- deps = [ +- ":documentai_nodejs_gapic", +- ":documentai_proto", +- ], +-) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "audit_ruby_proto", -- deps = [":audit_proto"], +- name = "documentai_ruby_proto", +- deps = [":documentai_proto"], -) - -ruby_grpc_library( -- name = "audit_ruby_grpc", -- srcs = [":audit_proto"], -- deps = [":audit_ruby_proto"], +- name = "documentai_ruby_grpc", +- srcs = [":documentai_proto"], +- deps = [":documentai_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "documentai_ruby_gapic", +- srcs = [":documentai_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-document_ai-v1beta3", +- "ruby-cloud-env-prefix=DOCUMENT_AI", +- "ruby-cloud-product-url=https://cloud.google.com/document-ai/", +- "ruby-cloud-api-id=us-documentai.googleapis.com", +- "ruby-cloud-api-shortname=documentai", +- "ruby-cloud-namespace-override=DocumentAi=DocumentAI", +- ], +- grpc_service_config = "documentai_v1beta3_grpc_service_config.json", +- ruby_cloud_description = "Document AI uses machine learning on a single cloud-based platform to automatically classify, extract, and enrich data within your documents to unlock insights.", +- ruby_cloud_title = "Document AI V1beta3", +- deps = [ +- ":documentai_ruby_grpc", +- ":documentai_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-documentai-v1beta3-ruby", +- deps = [ +- ":documentai_ruby_gapic", +- ":documentai_ruby_grpc", +- ":documentai_ruby_proto", +- ], -) - -############################################################################## @@ -15886,35 +32692,62 @@ diff -urN a/google/cloud/audit/BUILD.bazel b/google/cloud/audit/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "audit_csharp_proto", -- deps = [":audit_proto"], +- name = "documentai_csharp_proto", +- deps = [":documentai_proto"], -) - -csharp_grpc_library( -- name = "audit_csharp_grpc", -- srcs = [":audit_proto"], -- deps = [":audit_csharp_proto"], +- name = "documentai_csharp_grpc", +- srcs = [":documentai_proto"], +- deps = [":documentai_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "documentai_csharp_gapic", +- srcs = [":documentai_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "documentai_v1beta3_grpc_service_config.json", +- deps = [ +- ":documentai_csharp_grpc", +- ":documentai_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-documentai-v1beta3-csharp", +- deps = [ +- ":documentai_csharp_gapic", +- ":documentai_csharp_grpc", +- ":documentai_csharp_proto", +- ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ code here -diff -urN a/google/cloud/automl/BUILD.bazel b/google/cloud/automl/BUILD.bazel ---- a/google/cloud/automl/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/automl/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/cloud/automl/v1/BUILD.bazel b/google/cloud/automl/v1/BUILD.bazel ---- a/google/cloud/automl/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/automl/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,368 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/domains/v1alpha2/BUILD.bazel b/google/cloud/domains/v1alpha2/BUILD.bazel +--- a/google/cloud/domains/v1alpha2/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/domains/v1alpha2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,339 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -15926,27 +32759,9 @@ diff -urN a/google/cloud/automl/v1/BUILD.bazel b/google/cloud/automl/v1/BUILD.ba -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "automl_proto", +- name = "domains_proto", - srcs = [ -- "annotation_payload.proto", -- "annotation_spec.proto", -- "classification.proto", -- "data_items.proto", -- "dataset.proto", -- "detection.proto", -- "geometry.proto", -- "image.proto", -- "io.proto", -- "model.proto", -- "model_evaluation.proto", -- "operations.proto", -- "prediction_service.proto", -- "service.proto", -- "text.proto", -- "text_extraction.proto", -- "text_segment.proto", -- "text_sentiment.proto", -- "translation.proto", +- "domains.proto", - ], - deps = [ - "//google/api:annotations_proto", @@ -15954,20 +32769,17 @@ diff -urN a/google/cloud/automl/v1/BUILD.bazel b/google/cloud/automl/v1/BUILD.ba - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "//google/longrunning:operations_proto", -- "//google/rpc:status_proto", -- "@com_google_protobuf//:any_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:empty_proto", +- "//google/type:money_proto", +- "//google/type:postal_address_proto", - "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "automl_proto_with_info", +- name = "domains_proto_with_info", - deps = [ -- ":automl_proto", +- ":domains_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -15985,45 +32797,45 @@ diff -urN a/google/cloud/automl/v1/BUILD.bazel b/google/cloud/automl/v1/BUILD.ba -) - -java_proto_library( -- name = "automl_java_proto", -- deps = [":automl_proto"], +- name = "domains_java_proto", +- deps = [":domains_proto"], -) - -java_grpc_library( -- name = "automl_java_grpc", -- srcs = [":automl_proto"], -- deps = [":automl_java_proto"], +- name = "domains_java_grpc", +- srcs = [":domains_proto"], +- deps = [":domains_java_proto"], -) - -java_gapic_library( -- name = "automl_java_gapic", -- srcs = [":automl_proto_with_info"], -- grpc_service_config = "automl_grpc_service_config.json", +- name = "domains_java_gapic", +- srcs = [":domains_proto_with_info"], +- grpc_service_config = "domains_grpc_service_config.json", - test_deps = [ -- ":automl_java_grpc", +- ":domains_java_grpc", - ], - deps = [ -- ":automl_java_proto", +- ":domains_java_proto", +- "//google/type:type_java_proto", - ], -) - -java_gapic_test( -- name = "automl_java_gapic_test_suite", +- name = "domains_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.automl.v1.AutoMlClientTest", -- "com.google.cloud.automl.v1.PredictionServiceClientTest", +- "com.google.cloud.domains.v1alpha2.DomainsClientTest", - ], -- runtime_deps = [":automl_java_gapic_test"], +- runtime_deps = [":domains_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-automl-v1-java", +- name = "google-cloud-domains-v1alpha2-java", - deps = [ -- ":automl_java_gapic", -- ":automl_java_grpc", -- ":automl_java_proto", -- ":automl_proto", +- ":domains_java_gapic", +- ":domains_java_grpc", +- ":domains_java_proto", +- ":domains_proto", - ], -) - @@ -16039,48 +32851,46 @@ diff -urN a/google/cloud/automl/v1/BUILD.bazel b/google/cloud/automl/v1/BUILD.ba -) - -go_proto_library( -- name = "automl_go_proto", +- name = "domains_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/automl/v1", -- protos = [":automl_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/domains/v1alpha2", +- protos = [":domains_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/longrunning:longrunning_go_proto", -- "//google/rpc:status_go_proto", +- "//google/type:money_go_proto", +- "//google/type:postaladdress_go_proto", - ], -) - -go_gapic_library( -- name = "automl_go_gapic", -- srcs = [":automl_proto_with_info"], -- grpc_service_config = "automl_grpc_service_config.json", -- importpath = "cloud.google.com/go/automl/apiv1;automl", -- service_yaml = "automl_v1.yaml", +- name = "domains_go_gapic", +- srcs = [":domains_proto_with_info"], +- grpc_service_config = "domains_grpc_service_config.json", +- importpath = "cloud.google.com/go/domains/apiv1alpha2;domains", +- service_yaml = "domains_v1alpha2.yaml", - deps = [ -- ":automl_go_proto", +- ":domains_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:any_go_proto", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", -- "@io_bazel_rules_go//proto/wkt:struct_go_proto", - ], -) - -go_test( -- name = "automl_go_gapic_test", -- srcs = [":automl_go_gapic_srcjar_test"], -- embed = [":automl_go_gapic"], -- importpath = "cloud.google.com/go/automl/apiv1", +- name = "domains_go_gapic_test", +- srcs = [":domains_go_gapic_srcjar_test"], +- embed = [":domains_go_gapic"], +- importpath = "cloud.google.com/go/domains/apiv1alpha2", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-automl-v1-go", +- name = "gapi-cloud-domains-v1alpha2-go", - deps = [ -- ":automl_go_gapic", -- ":automl_go_gapic_srcjar-test.srcjar", -- ":automl_go_proto", +- ":domains_go_gapic", +- ":domains_go_gapic_srcjar-test.srcjar", +- ":domains_go_proto", - ], -) - @@ -16094,16 +32904,16 @@ diff -urN a/google/cloud/automl/v1/BUILD.bazel b/google/cloud/automl/v1/BUILD.ba -) - -py_gapic_library( -- name = "automl_py_gapic", -- srcs = [":automl_proto"], -- grpc_service_config = "automl_grpc_service_config.json", +- name = "domains_py_gapic", +- srcs = [":domains_proto"], +- grpc_service_config = "domains_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "automl-v1-py", +- name = "domains-v1alpha2-py", - deps = [ -- ":automl_py_gapic", +- ":domains_py_gapic", - ], -) - @@ -16119,36 +32929,33 @@ diff -urN a/google/cloud/automl/v1/BUILD.bazel b/google/cloud/automl/v1/BUILD.ba -) - -php_proto_library( -- name = "automl_php_proto", -- deps = [":automl_proto"], +- name = "domains_php_proto", +- deps = [":domains_proto"], -) - -php_grpc_library( -- name = "automl_php_grpc", -- srcs = [":automl_proto"], -- deps = [":automl_php_proto"], +- name = "domains_php_grpc", +- srcs = [":domains_proto"], +- deps = [":domains_php_proto"], -) - -php_gapic_library( -- name = "automl_php_gapic", -- src = ":automl_proto_with_info", -- gapic_yaml = "automl_gapic.yaml", -- grpc_service_config = "automl_grpc_service_config.json", -- package = "google.cloud.automl.v1", -- service_yaml = "automl_v1.yaml", +- name = "domains_php_gapic", +- srcs = [":domains_proto_with_info"], +- grpc_service_config = "domains_grpc_service_config.json", - deps = [ -- ":automl_php_grpc", -- ":automl_php_proto", +- ":domains_php_grpc", +- ":domains_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-automl-v1-php", +- name = "google-cloud-domains-v1alpha2-php", - deps = [ -- ":automl_php_gapic", -- ":automl_php_grpc", -- ":automl_php_proto", +- ":domains_php_gapic", +- ":domains_php_grpc", +- ":domains_php_proto", - ], -) - @@ -16162,22 +32969,21 @@ diff -urN a/google/cloud/automl/v1/BUILD.bazel b/google/cloud/automl/v1/BUILD.ba -) - -nodejs_gapic_library( -- name = "automl_nodejs_gapic", -- package_name = "@google-cloud/automl", -- src = ":automl_proto_with_info", +- name = "domains_nodejs_gapic", +- package_name = "@google-cloud/domains", +- src = ":domains_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "automl_grpc_service_config.json", -- main_service = "automl", -- package = "google.cloud.automl.v1", -- service_yaml = "automl_v1.yaml", +- grpc_service_config = "domains_grpc_service_config.json", +- package = "google.cloud.domains.v1alpha2", +- service_yaml = "domains_v1alpha2.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "automl-v1-nodejs", +- name = "domains-v1alpha2-nodejs", - deps = [ -- ":automl_nodejs_gapic", -- ":automl_proto", +- ":domains_nodejs_gapic", +- ":domains_proto", - ], -) - @@ -16193,45 +32999,34 @@ diff -urN a/google/cloud/automl/v1/BUILD.bazel b/google/cloud/automl/v1/BUILD.ba -) - -ruby_proto_library( -- name = "automl_ruby_proto", -- deps = [":automl_proto"], +- name = "domains_ruby_proto", +- deps = [":domains_proto"], -) - -ruby_grpc_library( -- name = "automl_ruby_grpc", -- srcs = [":automl_proto"], -- deps = [":automl_ruby_proto"], +- name = "domains_ruby_grpc", +- srcs = [":domains_proto"], +- deps = [":domains_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "automl_ruby_gapic", -- srcs = [":automl_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-automl-v1", -- "ruby-cloud-env-prefix=AUTOML", -- "ruby-cloud-path-override=auto_ml=automl", -- "ruby-cloud-namespace-override=AutoMl=AutoML;Automl=AutoML", -- "ruby-cloud-yard-strict=false", -- "ruby-cloud-product-url=https://cloud.google.com/automl", -- "ruby-cloud-api-id=automl.googleapis.com", -- "ruby-cloud-api-shortname=automl", -- ], -- grpc_service_config = "automl_grpc_service_config.json", -- ruby_cloud_description = "AutoML makes the power of machine learning available to you even if you have limited knowledge of machine learning. You can use AutoML to build on Google's machine learning capabilities to create your own custom machine learning models that are tailored to your business needs, and then integrate those models into your applications and web sites.", -- ruby_cloud_title = "Cloud AutoML V1", +- name = "domains_ruby_gapic", +- srcs = [":domains_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-domains-v1alpha2"], +- grpc_service_config = "domains_grpc_service_config.json", - deps = [ -- ":automl_ruby_grpc", -- ":automl_ruby_proto", +- ":domains_ruby_grpc", +- ":domains_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-automl-v1-ruby", +- name = "google-cloud-domains-v1alpha2-ruby", - deps = [ -- ":automl_ruby_gapic", -- ":automl_ruby_grpc", -- ":automl_ruby_proto", +- ":domains_ruby_gapic", +- ":domains_ruby_grpc", +- ":domains_ruby_proto", - ], -) - @@ -16247,34 +33042,34 @@ diff -urN a/google/cloud/automl/v1/BUILD.bazel b/google/cloud/automl/v1/BUILD.ba -) - -csharp_proto_library( -- name = "automl_csharp_proto", -- deps = [":automl_proto"], +- name = "domains_csharp_proto", +- deps = [":domains_proto"], -) - -csharp_grpc_library( -- name = "automl_csharp_grpc", -- srcs = [":automl_proto"], -- deps = [":automl_csharp_proto"], +- name = "domains_csharp_grpc", +- srcs = [":domains_proto"], +- deps = [":domains_csharp_proto"], -) - -csharp_gapic_library( -- name = "automl_csharp_gapic", -- srcs = [":automl_proto_with_info"], +- name = "domains_csharp_gapic", +- srcs = [":domains_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "automl_grpc_service_config.json", +- grpc_service_config = "domains_grpc_service_config.json", - deps = [ -- ":automl_csharp_grpc", -- ":automl_csharp_proto", +- ":domains_csharp_grpc", +- ":domains_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-automl-v1-csharp", +- name = "google-cloud-domains-v1alpha2-csharp", - deps = [ -- ":automl_csharp_gapic", -- ":automl_csharp_grpc", -- ":automl_csharp_proto", +- ":domains_csharp_gapic", +- ":domains_csharp_grpc", +- ":domains_csharp_proto", - ], -) - @@ -16282,11 +33077,20 @@ diff -urN a/google/cloud/automl/v1/BUILD.bazel b/google/cloud/automl/v1/BUILD.ba -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/automl/v1beta1/BUILD.bazel b/google/cloud/automl/v1beta1/BUILD.bazel ---- a/google/cloud/automl/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/automl/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,376 +0,0 @@ +diff -urN a/google/cloud/domains/v1beta1/BUILD.bazel b/google/cloud/domains/v1beta1/BUILD.bazel +--- a/google/cloud/domains/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/domains/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,347 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -16298,36 +33102,9 @@ diff -urN a/google/cloud/automl/v1beta1/BUILD.bazel b/google/cloud/automl/v1beta -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "automl_proto", +- name = "domains_proto", - srcs = [ -- "annotation_payload.proto", -- "annotation_spec.proto", -- "classification.proto", -- "column_spec.proto", -- "data_items.proto", -- "data_stats.proto", -- "data_types.proto", -- "dataset.proto", -- "detection.proto", -- "geometry.proto", -- "image.proto", -- "io.proto", -- "model.proto", -- "model_evaluation.proto", -- "operations.proto", -- "prediction_service.proto", -- "ranges.proto", -- "regression.proto", -- "service.proto", -- "table_spec.proto", -- "tables.proto", -- "temporal.proto", -- "text.proto", -- "text_extraction.proto", -- "text_segment.proto", -- "text_sentiment.proto", -- "translation.proto", -- "video.proto", +- "domains.proto", - ], - deps = [ - "//google/api:annotations_proto", @@ -16335,20 +33112,17 @@ diff -urN a/google/cloud/automl/v1beta1/BUILD.bazel b/google/cloud/automl/v1beta - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "//google/longrunning:operations_proto", -- "//google/rpc:status_proto", -- "@com_google_protobuf//:any_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:empty_proto", +- "//google/type:money_proto", +- "//google/type:postal_address_proto", - "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "automl_proto_with_info", +- name = "domains_proto_with_info", - deps = [ -- ":automl_proto", +- ":domains_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -16366,45 +33140,45 @@ diff -urN a/google/cloud/automl/v1beta1/BUILD.bazel b/google/cloud/automl/v1beta -) - -java_proto_library( -- name = "automl_java_proto", -- deps = [":automl_proto"], +- name = "domains_java_proto", +- deps = [":domains_proto"], -) - -java_grpc_library( -- name = "automl_java_grpc", -- srcs = [":automl_proto"], -- deps = [":automl_java_proto"], +- name = "domains_java_grpc", +- srcs = [":domains_proto"], +- deps = [":domains_java_proto"], -) - -java_gapic_library( -- name = "automl_java_gapic", -- srcs = [":automl_proto_with_info"], -- grpc_service_config = "automl_grpc_service_config.json", +- name = "domains_java_gapic", +- srcs = [":domains_proto_with_info"], +- grpc_service_config = "domains_grpc_service_config.json", - test_deps = [ -- ":automl_java_grpc", +- ":domains_java_grpc", - ], - deps = [ -- ":automl_java_proto", +- ":domains_java_proto", +- "//google/type:type_java_proto", - ], -) - -java_gapic_test( -- name = "automl_java_gapic_test_suite", +- name = "domains_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.automl.v1beta1.AutoMlClientTest", -- "com.google.cloud.automl.v1beta1.PredictionServiceClientTest", +- "com.google.cloud.domains.v1beta1.DomainsClientTest", - ], -- runtime_deps = [":automl_java_gapic_test"], +- runtime_deps = [":domains_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-automl-v1beta1-java", +- name = "google-cloud-domains-v1beta1-java", - deps = [ -- ":automl_java_gapic", -- ":automl_java_grpc", -- ":automl_java_proto", -- ":automl_proto", +- ":domains_java_gapic", +- ":domains_java_grpc", +- ":domains_java_proto", +- ":domains_proto", - ], -) - @@ -16420,48 +33194,46 @@ diff -urN a/google/cloud/automl/v1beta1/BUILD.bazel b/google/cloud/automl/v1beta -) - -go_proto_library( -- name = "automl_go_proto", +- name = "domains_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1", -- protos = [":automl_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/domains/v1beta1", +- protos = [":domains_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/longrunning:longrunning_go_proto", -- "//google/rpc:status_go_proto", +- "//google/type:money_go_proto", +- "//google/type:postaladdress_go_proto", - ], -) - -go_gapic_library( -- name = "automl_go_gapic", -- srcs = [":automl_proto_with_info"], -- grpc_service_config = "automl_grpc_service_config.json", -- importpath = "cloud.google.com/go/automl/apiv1beta1;automl", -- service_yaml = "automl_v1beta1.yaml", +- name = "domains_go_gapic", +- srcs = [":domains_proto_with_info"], +- grpc_service_config = "domains_grpc_service_config.json", +- importpath = "cloud.google.com/go/domains/apiv1beta1;domains", +- service_yaml = "domains_v1beta1.yaml", - deps = [ -- ":automl_go_proto", +- ":domains_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:any_go_proto", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", -- "@io_bazel_rules_go//proto/wkt:struct_go_proto", - ], -) - -go_test( -- name = "automl_go_gapic_test", -- srcs = [":automl_go_gapic_srcjar_test"], -- embed = [":automl_go_gapic"], -- importpath = "cloud.google.com/go/automl/apiv1beta1", +- name = "domains_go_gapic_test", +- srcs = [":domains_go_gapic_srcjar_test"], +- embed = [":domains_go_gapic"], +- importpath = "cloud.google.com/go/domains/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-automl-v1beta1-go", +- name = "gapi-cloud-domains-v1beta1-go", - deps = [ -- ":automl_go_gapic", -- ":automl_go_gapic_srcjar-test.srcjar", -- ":automl_go_proto", +- ":domains_go_gapic", +- ":domains_go_gapic_srcjar-test.srcjar", +- ":domains_go_proto", - ], -) - @@ -16475,16 +33247,16 @@ diff -urN a/google/cloud/automl/v1beta1/BUILD.bazel b/google/cloud/automl/v1beta -) - -py_gapic_library( -- name = "automl_py_gapic", -- srcs = [":automl_proto"], -- grpc_service_config = "automl_grpc_service_config.json", +- name = "domains_py_gapic", +- srcs = [":domains_proto"], +- grpc_service_config = "domains_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "automl-v1beta1-py", +- name = "domains-v1beta1-py", - deps = [ -- ":automl_py_gapic", +- ":domains_py_gapic", - ], -) - @@ -16500,36 +33272,33 @@ diff -urN a/google/cloud/automl/v1beta1/BUILD.bazel b/google/cloud/automl/v1beta -) - -php_proto_library( -- name = "automl_php_proto", -- deps = [":automl_proto"], +- name = "domains_php_proto", +- deps = [":domains_proto"], -) - -php_grpc_library( -- name = "automl_php_grpc", -- srcs = [":automl_proto"], -- deps = [":automl_php_proto"], +- name = "domains_php_grpc", +- srcs = [":domains_proto"], +- deps = [":domains_php_proto"], -) - -php_gapic_library( -- name = "automl_php_gapic", -- src = ":automl_proto_with_info", -- gapic_yaml = "automl_gapic.yaml", -- grpc_service_config = "automl_grpc_service_config.json", -- package = "google.cloud.automl.v1beta1", -- service_yaml = "automl_v1beta1.yaml", +- name = "domains_php_gapic", +- srcs = [":domains_proto_with_info"], +- grpc_service_config = "domains_grpc_service_config.json", - deps = [ -- ":automl_php_grpc", -- ":automl_php_proto", +- ":domains_php_grpc", +- ":domains_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-automl-v1beta1-php", +- name = "google-cloud-domains-v1beta1-php", - deps = [ -- ":automl_php_gapic", -- ":automl_php_grpc", -- ":automl_php_proto", +- ":domains_php_gapic", +- ":domains_php_grpc", +- ":domains_php_proto", - ], -) - @@ -16543,22 +33312,21 @@ diff -urN a/google/cloud/automl/v1beta1/BUILD.bazel b/google/cloud/automl/v1beta -) - -nodejs_gapic_library( -- name = "automl_nodejs_gapic", -- package_name = "@google-cloud/automl", -- src = ":automl_proto_with_info", +- name = "domains_nodejs_gapic", +- package_name = "@google-cloud/domains", +- src = ":domains_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "automl_grpc_service_config.json", -- main_service = "automl", -- package = "google.cloud.automl.v1beta1", -- service_yaml = "automl_v1beta1.yaml", +- grpc_service_config = "domains_grpc_service_config.json", +- package = "google.cloud.domains.v1beta1", +- service_yaml = "domains_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "automl-v1beta1-nodejs", +- name = "domains-v1beta1-nodejs", - deps = [ -- ":automl_nodejs_gapic", -- ":automl_proto", +- ":domains_nodejs_gapic", +- ":domains_proto", - ], -) - @@ -16567,51 +33335,49 @@ diff -urN a/google/cloud/automl/v1beta1/BUILD.bazel b/google/cloud/automl/v1beta -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "automl_ruby_proto", -- deps = [":automl_proto"], +- name = "domains_ruby_proto", +- deps = [":domains_proto"], -) - -ruby_grpc_library( -- name = "automl_ruby_grpc", -- srcs = [":automl_proto"], -- deps = [":automl_ruby_proto"], +- name = "domains_ruby_grpc", +- srcs = [":domains_proto"], +- deps = [":domains_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "automl_ruby_gapic", -- srcs = [":automl_proto_with_info"], +- name = "domains_ruby_gapic", +- srcs = [":domains_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-automl-v1beta1", -- "ruby-cloud-env-prefix=AUTOML", -- "ruby-cloud-path-override=auto_ml=automl", -- "ruby-cloud-namespace-override=AutoMl=AutoML;Automl=AutoML", -- "ruby-cloud-product-url=https://cloud.google.com/automl", -- "ruby-cloud-api-id=automl.googleapis.com", -- "ruby-cloud-api-shortname=automl", +- "ruby-cloud-gem-name=google-cloud-domains-v1beta1", +- "ruby-cloud-env-prefix=DOMAINS", +- "ruby-cloud-product-url=https://cloud.google.com/domains", +- "ruby-cloud-api-id=domains.googleapis.com", +- "ruby-cloud-api-shortname=domains", - ], -- grpc_service_config = "automl_grpc_service_config.json", -- ruby_cloud_description = "AutoML makes the power of machine learning available to you even if you have limited knowledge of machine learning. You can use AutoML to build on Google's machine learning capabilities to create your own custom machine learning models that are tailored to your business needs, and then integrate those models into your applications and web sites.", -- ruby_cloud_title = "Cloud AutoML V1beta1", +- grpc_service_config = "domains_grpc_service_config.json", +- ruby_cloud_description = "The Cloud Domains API provides registration, management and configuration of domain names.", +- ruby_cloud_title = "Cloud Domains V1beta1", - deps = [ -- ":automl_ruby_grpc", -- ":automl_ruby_proto", +- ":domains_ruby_grpc", +- ":domains_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-automl-v1beta1-ruby", +- name = "google-cloud-domains-v1beta1-ruby", - deps = [ -- ":automl_ruby_gapic", -- ":automl_ruby_grpc", -- ":automl_ruby_proto", +- ":domains_ruby_gapic", +- ":domains_ruby_grpc", +- ":domains_ruby_proto", - ], -) - @@ -16627,382 +33393,339 @@ diff -urN a/google/cloud/automl/v1beta1/BUILD.bazel b/google/cloud/automl/v1beta -) - -csharp_proto_library( -- name = "automl_csharp_proto", -- deps = [":automl_proto"], +- name = "domains_csharp_proto", +- deps = [":domains_proto"], -) - -csharp_grpc_library( -- name = "automl_csharp_grpc", -- srcs = [":automl_proto"], -- deps = [":automl_csharp_proto"], +- name = "domains_csharp_grpc", +- srcs = [":domains_proto"], +- deps = [":domains_csharp_proto"], -) - -csharp_gapic_library( -- name = "automl_csharp_gapic", -- srcs = [":automl_proto_with_info"], +- name = "domains_csharp_gapic", +- srcs = [":domains_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "automl_grpc_service_config.json", +- grpc_service_config = "domains_grpc_service_config.json", - deps = [ -- ":automl_csharp_grpc", -- ":automl_csharp_proto", +- ":domains_csharp_grpc", +- ":domains_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-automl-v1beta1-csharp", +- name = "google-cloud-domains-v1beta1-csharp", - deps = [ -- ":automl_csharp_gapic", -- ":automl_csharp_grpc", -- ":automl_csharp_proto", +- ":domains_csharp_gapic", +- ":domains_csharp_grpc", +- ":domains_csharp_proto", - ], -) - --############################################################################## --# C++ --############################################################################## --# Put your C++ rules here -diff -urN a/google/cloud/bigquery/connection/v1/BUILD.bazel b/google/cloud/bigquery/connection/v1/BUILD.bazel ---- a/google/cloud/bigquery/connection/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/bigquery/connection/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,344 +0,0 @@ --# This file was automatically generated by BuildFileGenerator -- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/essentialcontacts/v1/BUILD.bazel b/google/cloud/essentialcontacts/v1/BUILD.bazel +--- a/google/cloud/essentialcontacts/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/essentialcontacts/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,301 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +- "proto_library_with_info", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) - --############################################################################## --# Common --############################################################################## --load("@rules_proto//proto:defs.bzl", "proto_library") --load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") -- -proto_library( -- name = "connection_proto", +- name = "essentialcontacts_proto", - srcs = [ -- "connection.proto", +- "enums.proto", +- "service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/iam/v1:iam_policy_proto", -- "//google/iam/v1:policy_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:wrappers_proto", +- "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "connection_proto_with_info", +- name = "essentialcontacts_proto_with_info", - deps = [ -- ":connection_proto", +- ":essentialcontacts_proto", - "//google/cloud:common_resources_proto", - ], -) - --############################################################################## --# Java --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", -- "java_grpc_library", -- "java_proto_library", --) -- -java_proto_library( -- name = "connection_java_proto", -- deps = [":connection_proto"], +- name = "essentialcontacts_java_proto", +- deps = [":essentialcontacts_proto"], -) - -java_grpc_library( -- name = "connection_java_grpc", -- srcs = [":connection_proto"], -- deps = [":connection_java_proto"], +- name = "essentialcontacts_java_grpc", +- srcs = [":essentialcontacts_proto"], +- deps = [":essentialcontacts_java_proto"], -) - -java_gapic_library( -- name = "connection_java_gapic", -- srcs = [":connection_proto_with_info"], -- gapic_yaml = "connection_gapic.yaml", -- grpc_service_config = "bigqueryconnection_grpc_service_config.json", +- name = "essentialcontacts_java_gapic", +- srcs = [":essentialcontacts_proto_with_info"], +- grpc_service_config = "essentialcontacts_v1_grpc_service_config.json", - test_deps = [ -- ":connection_java_grpc", -- "//google/iam/v1:iam_java_grpc", +- ":essentialcontacts_java_grpc", - ], - deps = [ -- ":connection_java_proto", -- "//google/iam/v1:iam_java_proto", +- ":essentialcontacts_java_proto", - ], -) - -java_gapic_test( -- name = "connection_java_gapic_test_suite", +- name = "essentialcontacts_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.bigqueryconnection.v1.ConnectionServiceClientTest", +- "com.google.cloud.essentialcontacts.v1.EssentialContactsServiceClientTest", - ], -- runtime_deps = [":connection_java_gapic_test"], +- runtime_deps = [":essentialcontacts_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-bigquery-connection-v1-java", +- name = "google-cloud-essentialcontacts-v1-java", - deps = [ -- ":connection_java_gapic", -- ":connection_java_grpc", -- ":connection_java_proto", -- ":connection_proto", +- ":essentialcontacts_java_gapic", +- ":essentialcontacts_java_grpc", +- ":essentialcontacts_java_proto", +- ":essentialcontacts_proto", - ], -) - --############################################################################## --# Go --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "go_gapic_assembly_pkg", -- "go_gapic_library", -- "go_proto_library", -- "go_test", --) -- -go_proto_library( -- name = "connection_go_proto", +- name = "essentialcontacts_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/connection/v1", -- protos = [":connection_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/essentialcontacts/v1", +- protos = [":essentialcontacts_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/iam/v1:iam_go_proto", - ], -) - -go_gapic_library( -- name = "connection_go_gapic", -- srcs = [":connection_proto_with_info"], -- grpc_service_config = "bigqueryconnection_grpc_service_config.json", -- importpath = "cloud.google.com/go/bigquery/connection/apiv1;connection", -- service_yaml = "bigqueryconnection_v1.yaml", +- name = "essentialcontacts_go_gapic", +- srcs = [":essentialcontacts_proto_with_info"], +- grpc_service_config = "essentialcontacts_v1_grpc_service_config.json", +- importpath = "cloud.google.com/go/essentialcontacts/apiv1;essentialcontacts", +- metadata = True, +- service_yaml = "essentialcontacts_v1.yaml", - deps = [ -- ":connection_go_proto", -- "//google/iam/v1:iam_go_proto", +- ":essentialcontacts_go_proto", - ], -) - -go_test( -- name = "connection_go_gapic_test", -- srcs = [":connection_go_gapic_srcjar_test"], -- embed = [":connection_go_gapic"], -- importpath = "cloud.google.com/go/bigquery/connection/apiv1", +- name = "essentialcontacts_go_gapic_test", +- srcs = [":essentialcontacts_go_gapic_srcjar_test"], +- embed = [":essentialcontacts_go_gapic"], +- importpath = "cloud.google.com/go/essentialcontacts/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-bigquery-connection-v1-go", +- name = "gapi-cloud-essentialcontacts-v1-go", - deps = [ -- ":connection_go_gapic", -- ":connection_go_gapic_srcjar-test.srcjar", -- ":connection_go_proto", +- ":essentialcontacts_go_gapic", +- ":essentialcontacts_go_gapic_srcjar-metadata.srcjar", +- ":essentialcontacts_go_gapic_srcjar-test.srcjar", +- ":essentialcontacts_go_proto", - ], -) - --############################################################################## --# Python --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "py_gapic_assembly_pkg", -- "py_gapic_library", --) -- -py_gapic_library( -- name = "connection_py_gapic", -- srcs = [":connection_proto"], -- grpc_service_config = "bigqueryconnection_grpc_service_config.json", +- name = "essentialcontacts_py_gapic", +- srcs = [":essentialcontacts_proto"], +- grpc_service_config = "essentialcontacts_v1_grpc_service_config.json", - opt_args = [ +- "warehouse-package-name=google-cloud-essential-contacts", - "python-gapic-namespace=google.cloud", -- "python-gapic-name=bigquery_connection", +- "python-gapic-name=essential_contacts", - ], -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "bigquery-connection-v1-py", +- name = "essentialcontacts-v1-py", - deps = [ -- ":connection_py_gapic", +- ":essentialcontacts_py_gapic", - ], -) - --############################################################################## --# PHP --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "php_gapic_assembly_pkg", -- "php_gapic_library", -- "php_grpc_library", -- "php_proto_library", --) -- -php_proto_library( -- name = "connection_php_proto", -- deps = [":connection_proto"], +- name = "essentialcontacts_php_proto", +- deps = [":essentialcontacts_proto"], -) - -php_grpc_library( -- name = "connection_php_grpc", -- srcs = [":connection_proto"], -- deps = [":connection_php_proto"], +- name = "essentialcontacts_php_grpc", +- srcs = [":essentialcontacts_proto"], +- deps = [":essentialcontacts_php_proto"], -) - -php_gapic_library( -- name = "connection_php_gapic", -- src = ":connection_proto_with_info", -- gapic_yaml = "connection_gapic.yaml", -- grpc_service_config = "bigqueryconnection_grpc_service_config.json", -- package = "google.cloud.bigquery.connection.v1", -- service_yaml = "bigqueryconnection_v1.yaml", +- name = "essentialcontacts_php_gapic", +- srcs = [":essentialcontacts_proto_with_info"], +- grpc_service_config = "essentialcontacts_v1_grpc_service_config.json", +- service_yaml = "essentialcontacts_v1.yaml", - deps = [ -- ":connection_php_grpc", -- ":connection_php_proto", +- ":essentialcontacts_php_grpc", +- ":essentialcontacts_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-bigquery-connection-v1-php", +- name = "google-cloud-essentialcontacts-v1-php", - deps = [ -- ":connection_php_gapic", -- ":connection_php_grpc", -- ":connection_php_proto", +- ":essentialcontacts_php_gapic", +- ":essentialcontacts_php_grpc", +- ":essentialcontacts_php_proto", - ], -) - --############################################################################## --# Node.js --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "nodejs_gapic_assembly_pkg", -- "nodejs_gapic_library", --) -- -nodejs_gapic_library( -- name = "connection_nodejs_gapic", -- package_name = "@google-cloud/bigquery-connection", -- src = ":connection_proto_with_info", +- name = "essentialcontacts_nodejs_gapic", +- package_name = "@google-cloud/essential-contacts", +- src = ":essentialcontacts_proto_with_info", - extra_protoc_parameters = ["metadata"], -- gapic_yaml = "connection_gapic.yaml", -- grpc_service_config = "bigqueryconnection_grpc_service_config.json", -- package = "google.cloud.bigquery.connection.v1", -- service_yaml = "bigqueryconnection_v1.yaml", +- grpc_service_config = "essentialcontacts_v1_grpc_service_config.json", +- package = "google.cloud.essentialcontacts.v1", +- service_yaml = "essentialcontacts_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "bigquery-connection-v1-nodejs", +- name = "essentialcontacts-v1-nodejs", - deps = [ -- ":connection_nodejs_gapic", -- ":connection_proto", +- ":essentialcontacts_nodejs_gapic", +- ":essentialcontacts_proto", - ], -) - --############################################################################## --# Ruby --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", -- "ruby_cloud_gapic_library", -- "ruby_grpc_library", -- "ruby_proto_library", --) -- -ruby_proto_library( -- name = "connection_ruby_proto", -- deps = [":connection_proto"], +- name = "essentialcontacts_ruby_proto", +- deps = [":essentialcontacts_proto"], -) - -ruby_grpc_library( -- name = "connection_ruby_grpc", -- srcs = [":connection_proto"], -- deps = [":connection_ruby_proto"], +- name = "essentialcontacts_ruby_grpc", +- srcs = [":essentialcontacts_proto"], +- deps = [":essentialcontacts_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "connection_ruby_gapic", -- srcs = [":connection_proto_with_info"], +- name = "essentialcontacts_ruby_gapic", +- srcs = [":essentialcontacts_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-bigquery-connection-v1", -- "ruby-cloud-env-prefix=BIGQUERY_CONNECTION", -- "ruby-cloud-product-url=https://cloud.google.com/bigquery/docs/reference/bigqueryconnection", -- "ruby-cloud-api-id=bigqueryconnection.googleapis.com", -- "ruby-cloud-api-shortname=bigqueryconnection", +- "ruby-cloud-gem-name=google-cloud-essential_contacts-v1", +- "ruby-cloud-env-prefix=ESSENTIAL_CONTACTS", +- "ruby-cloud-product-url=https://cloud.google.com/resource-manager/docs/managing-notification-contacts/", +- "ruby-cloud-api-id=essentialcontacts.googleapis.com", +- "ruby-cloud-api-shortname=essentialcontacts", - ], -- grpc_service_config = "bigqueryconnection_grpc_service_config.json", -- ruby_cloud_description = "The BigQuery Connection API allows users to manage BigQuery connections to external data sources.", -- ruby_cloud_title = "BigQuery Connection V1", +- grpc_service_config = "essentialcontacts_v1_grpc_service_config.json", +- ruby_cloud_description = "Many Google Cloud services, such as Cloud Billing, send out notifications to share important information with Google Cloud users. By default, these notifications are sent to members with certain Identity and Access Management (IAM) roles. With Essential Contacts, you can customize who receives notifications by providing your own list of contacts.", +- ruby_cloud_title = "Essential Contacts V1", - deps = [ -- ":connection_ruby_grpc", -- ":connection_ruby_proto", +- ":essentialcontacts_ruby_grpc", +- ":essentialcontacts_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-bigquery-connection-v1-ruby", +- name = "google-cloud-essentialcontacts-v1-ruby", - deps = [ -- ":connection_ruby_gapic", -- ":connection_ruby_grpc", -- ":connection_ruby_proto", +- ":essentialcontacts_ruby_gapic", +- ":essentialcontacts_ruby_grpc", +- ":essentialcontacts_ruby_proto", - ], -) - --############################################################################## --# C# --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", -- "csharp_grpc_library", -- "csharp_proto_library", --) -- -csharp_proto_library( -- name = "connection_csharp_proto", -- deps = [":connection_proto"], +- name = "essentialcontacts_csharp_proto", +- deps = [":essentialcontacts_proto"], -) - -csharp_grpc_library( -- name = "connection_csharp_grpc", -- srcs = [":connection_proto"], -- deps = [":connection_csharp_proto"], +- name = "essentialcontacts_csharp_grpc", +- srcs = [":essentialcontacts_proto"], +- deps = [":essentialcontacts_csharp_proto"], -) - -csharp_gapic_library( -- name = "connection_csharp_gapic", -- srcs = [":connection_proto_with_info"], +- name = "essentialcontacts_csharp_gapic", +- srcs = [":essentialcontacts_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "bigqueryconnection_grpc_service_config.json", +- grpc_service_config = "essentialcontacts_v1_grpc_service_config.json", - deps = [ -- ":connection_csharp_grpc", -- ":connection_csharp_proto", +- ":essentialcontacts_csharp_grpc", +- ":essentialcontacts_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-bigquery-connection-v1-csharp", +- name = "google-cloud-essentialcontacts-v1-csharp", - deps = [ -- ":connection_csharp_gapic", -- ":connection_csharp_grpc", -- ":connection_csharp_proto", +- ":essentialcontacts_csharp_gapic", +- ":essentialcontacts_csharp_grpc", +- ":essentialcontacts_csharp_proto", - ], -) - @@ -17010,11 +33733,20 @@ diff -urN a/google/cloud/bigquery/connection/v1/BUILD.bazel b/google/cloud/bigqu -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/bigquery/connection/v1beta1/BUILD.bazel b/google/cloud/bigquery/connection/v1beta1/BUILD.bazel ---- a/google/cloud/bigquery/connection/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/bigquery/connection/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,330 +0,0 @@ +diff -urN a/google/cloud/eventarc/v1/BUILD.bazel b/google/cloud/eventarc/v1/BUILD.bazel +--- a/google/cloud/eventarc/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/eventarc/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,346 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -17026,27 +33758,26 @@ diff -urN a/google/cloud/bigquery/connection/v1beta1/BUILD.bazel b/google/cloud/ -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "connection_proto", +- name = "eventarc_proto", - srcs = [ -- "connection.proto", +- "eventarc.proto", +- "trigger.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/iam/v1:iam_policy_proto", -- "//google/iam/v1:policy_proto", -- "@com_google_protobuf//:empty_proto", +- "//google/longrunning:operations_proto", - "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:wrappers_proto", +- "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "connection_proto_with_info", +- name = "eventarc_proto_with_info", - deps = [ -- ":connection_proto", +- ":eventarc_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -17064,46 +33795,44 @@ diff -urN a/google/cloud/bigquery/connection/v1beta1/BUILD.bazel b/google/cloud/ -) - -java_proto_library( -- name = "connection_java_proto", -- deps = [":connection_proto"], +- name = "eventarc_java_proto", +- deps = [":eventarc_proto"], -) - -java_grpc_library( -- name = "connection_java_grpc", -- srcs = [":connection_proto"], -- deps = [":connection_java_proto"], +- name = "eventarc_java_grpc", +- srcs = [":eventarc_proto"], +- deps = [":eventarc_java_proto"], -) - -java_gapic_library( -- name = "connection_java_gapic", -- srcs = [":connection_proto_with_info"], -- grpc_service_config = "bigqueryconnection_grpc_service_config.json", +- name = "eventarc_java_gapic", +- srcs = [":eventarc_proto_with_info"], +- grpc_service_config = "eventarc_grpc_service_config.json", - test_deps = [ -- ":connection_java_grpc", -- "//google/iam/v1:iam_java_grpc", +- ":eventarc_java_grpc", - ], - deps = [ -- ":connection_java_proto", -- "//google/iam/v1:iam_java_proto", +- ":eventarc_java_proto", - ], -) - -java_gapic_test( -- name = "connection_java_gapic_test_suite", +- name = "eventarc_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.bigquery.connection.v1beta1.ConnectionServiceClientTest", +- "com.google.cloud.eventarc.v1.EventarcClientTest", - ], -- runtime_deps = [":connection_java_gapic_test"], +- runtime_deps = [":eventarc_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-bigquery-connection-v1beta1-java", +- name = "google-cloud-eventarc-v1-java", - deps = [ -- ":connection_java_gapic", -- ":connection_java_grpc", -- ":connection_java_proto", -- ":connection_proto", +- ":eventarc_java_gapic", +- ":eventarc_java_grpc", +- ":eventarc_java_proto", +- ":eventarc_proto", - ], -) - @@ -17119,42 +33848,46 @@ diff -urN a/google/cloud/bigquery/connection/v1beta1/BUILD.bazel b/google/cloud/ -) - -go_proto_library( -- name = "connection_go_proto", +- name = "eventarc_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/connection/v1beta1", -- protos = [":connection_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/eventarc/v1", +- protos = [":eventarc_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "connection_go_gapic", -- srcs = [":connection_proto_with_info"], -- grpc_service_config = "bigqueryconnection_grpc_service_config.json", -- importpath = "cloud.google.com/go/bigquery/connection/apiv1beta1;connection", -- service_yaml = "bigqueryconnection_v1beta1.yaml", +- name = "eventarc_go_gapic", +- srcs = [":eventarc_proto_with_info"], +- grpc_service_config = "eventarc_grpc_service_config.json", +- importpath = "cloud.google.com/go/eventarc/apiv1;eventarc", +- metadata = True, +- service_yaml = "eventarc_v1.yaml", - deps = [ -- ":connection_go_proto", -- "//google/iam/v1:iam_go_proto", +- ":eventarc_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", - ], -) - -go_test( -- name = "connection_go_gapic_test", -- srcs = [":connection_go_gapic_srcjar_test"], -- embed = [":connection_go_gapic"], -- importpath = "cloud.google.com/go/bigquery/connection/apiv1beta1", +- name = "eventarc_go_gapic_test", +- srcs = [":eventarc_go_gapic_srcjar_test"], +- embed = [":eventarc_go_gapic"], +- importpath = "cloud.google.com/go/eventarc/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-bigquery-connection-v1beta1-go", +- name = "gapi-cloud-eventarc-v1-go", - deps = [ -- ":connection_go_gapic", -- ":connection_go_gapic_srcjar-test.srcjar", -- ":connection_go_proto", +- ":eventarc_go_gapic", +- ":eventarc_go_gapic_srcjar-metadata.srcjar", +- ":eventarc_go_gapic_srcjar-test.srcjar", +- ":eventarc_go_proto", - ], -) - @@ -17168,16 +33901,16 @@ diff -urN a/google/cloud/bigquery/connection/v1beta1/BUILD.bazel b/google/cloud/ -) - -py_gapic_library( -- name = "connection_py_gapic", -- srcs = [":connection_proto"], -- grpc_service_config = "bigqueryconnection_grpc_service_config.json", +- name = "eventarc_py_gapic", +- srcs = [":eventarc_proto"], +- grpc_service_config = "eventarc_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "bigquery-connection-v1beta1-py", +- name = "eventarc-v1-py", - deps = [ -- ":connection_py_gapic", +- ":eventarc_py_gapic", - ], -) - @@ -17193,36 +33926,34 @@ diff -urN a/google/cloud/bigquery/connection/v1beta1/BUILD.bazel b/google/cloud/ -) - -php_proto_library( -- name = "connection_php_proto", -- deps = [":connection_proto"], +- name = "eventarc_php_proto", +- deps = [":eventarc_proto"], -) - -php_grpc_library( -- name = "connection_php_grpc", -- srcs = [":connection_proto"], -- deps = [":connection_php_proto"], +- name = "eventarc_php_grpc", +- srcs = [":eventarc_proto"], +- deps = [":eventarc_php_proto"], -) - -php_gapic_library( -- name = "connection_php_gapic", -- src = ":connection_proto_with_info", -- gapic_yaml = "bigqueryconnection_gapic.yaml", -- grpc_service_config = "bigqueryconnection_grpc_service_config.json", -- package = "google.cloud.bigquery.connection.v1beta1", -- service_yaml = "bigqueryconnection_v1beta1.yaml", +- name = "eventarc_php_gapic", +- srcs = [":eventarc_proto_with_info"], +- grpc_service_config = "eventarc_grpc_service_config.json", +- service_yaml = "eventarc_v1.yaml", - deps = [ -- ":connection_php_grpc", -- ":connection_php_proto", +- ":eventarc_php_grpc", +- ":eventarc_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-bigquery-connection-v1beta1-php", +- name = "google-cloud-eventarc-v1-php", - deps = [ -- ":connection_php_gapic", -- ":connection_php_grpc", -- ":connection_php_proto", +- ":eventarc_php_gapic", +- ":eventarc_php_grpc", +- ":eventarc_php_proto", - ], -) - @@ -17236,20 +33967,21 @@ diff -urN a/google/cloud/bigquery/connection/v1beta1/BUILD.bazel b/google/cloud/ -) - -nodejs_gapic_library( -- name = "connection_nodejs_gapic", -- src = ":connection_proto_with_info", +- name = "eventarc_nodejs_gapic", +- package_name = "@google-cloud/eventarc", +- src = ":eventarc_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "bigqueryconnection_grpc_service_config.json", -- package = "google.cloud.bigquery.connection.v1beta1", -- service_yaml = "bigqueryconnection_v1beta1.yaml", +- grpc_service_config = "eventarc_grpc_service_config.json", +- package = "google.cloud.eventarc.v1", +- service_yaml = "eventarc_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "bigquery-connection-v1beta1-nodejs", +- name = "eventarc-v1-nodejs", - deps = [ -- ":connection_nodejs_gapic", -- ":connection_proto", +- ":eventarc_nodejs_gapic", +- ":eventarc_proto", - ], -) - @@ -17258,42 +33990,49 @@ diff -urN a/google/cloud/bigquery/connection/v1beta1/BUILD.bazel b/google/cloud/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "connection_ruby_proto", -- deps = [":connection_proto"], +- name = "eventarc_ruby_proto", +- deps = [":eventarc_proto"], -) - -ruby_grpc_library( -- name = "connection_ruby_grpc", -- srcs = [":connection_proto"], -- deps = [":connection_ruby_proto"], +- name = "eventarc_ruby_grpc", +- srcs = [":eventarc_proto"], +- deps = [":eventarc_ruby_proto"], -) - --ruby_gapic_library( -- name = "connection_ruby_gapic", -- src = ":connection_proto_with_info", -- gapic_yaml = "bigqueryconnection_gapic.yaml", -- package = "google.cloud.bigquery.connection.v1beta1", -- service_yaml = "bigqueryconnection_v1beta1.yaml", +-ruby_cloud_gapic_library( +- name = "eventarc_ruby_gapic", +- srcs = [":eventarc_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-eventarc-v1", +- "ruby-cloud-env-prefix=EVENTARC", +- "ruby-cloud-product-url=https://cloud.google.com/eventarc/", +- "ruby-cloud-api-id=eventarc.googleapis.com", +- "ruby-cloud-api-shortname=eventarc", +- ], +- grpc_service_config = "eventarc_grpc_service_config.json", +- ruby_cloud_description = "Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management — you can optimize productivity and costs while building a modern, event-driven solution.", +- ruby_cloud_title = "Eventarc V1", - deps = [ -- ":connection_ruby_grpc", -- ":connection_ruby_proto", +- ":eventarc_ruby_grpc", +- ":eventarc_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-bigquery-connection-v1beta1-ruby", +- name = "google-cloud-eventarc-v1-ruby", - deps = [ -- ":connection_ruby_gapic", -- ":connection_ruby_grpc", -- ":connection_ruby_proto", +- ":eventarc_ruby_gapic", +- ":eventarc_ruby_grpc", +- ":eventarc_ruby_proto", - ], -) - @@ -17309,34 +34048,34 @@ diff -urN a/google/cloud/bigquery/connection/v1beta1/BUILD.bazel b/google/cloud/ -) - -csharp_proto_library( -- name = "connection_csharp_proto", -- deps = [":connection_proto"], +- name = "eventarc_csharp_proto", +- deps = [":eventarc_proto"], -) - -csharp_grpc_library( -- name = "connection_csharp_grpc", -- srcs = [":connection_proto"], -- deps = [":connection_csharp_proto"], +- name = "eventarc_csharp_grpc", +- srcs = [":eventarc_proto"], +- deps = [":eventarc_csharp_proto"], -) - -csharp_gapic_library( -- name = "connection_csharp_gapic", -- srcs = [":connection_proto_with_info"], +- name = "eventarc_csharp_gapic", +- srcs = [":eventarc_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "bigqueryconnection_grpc_service_config.json", +- grpc_service_config = "eventarc_grpc_service_config.json", - deps = [ -- ":connection_csharp_grpc", -- ":connection_csharp_proto", +- ":eventarc_csharp_grpc", +- ":eventarc_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-bigquery-connection-v1beta1-csharp", +- name = "google-cloud-eventarc-v1-csharp", - deps = [ -- ":connection_csharp_gapic", -- ":connection_csharp_grpc", -- ":connection_csharp_proto", +- ":eventarc_csharp_gapic", +- ":eventarc_csharp_grpc", +- ":eventarc_csharp_proto", - ], -) - @@ -17344,16 +34083,20 @@ diff -urN a/google/cloud/bigquery/connection/v1beta1/BUILD.bazel b/google/cloud/ -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/bigquery/datatransfer/BUILD.bazel b/google/cloud/bigquery/datatransfer/BUILD.bazel ---- a/google/cloud/bigquery/datatransfer/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/bigquery/datatransfer/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/cloud/bigquery/datatransfer/v1/BUILD.bazel b/google/cloud/bigquery/datatransfer/v1/BUILD.bazel ---- a/google/cloud/bigquery/datatransfer/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/bigquery/datatransfer/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,344 +0,0 @@ +diff -urN a/google/cloud/filestore/v1/BUILD.bazel b/google/cloud/filestore/v1/BUILD.bazel +--- a/google/cloud/filestore/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/filestore/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,350 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -17365,30 +34108,28 @@ diff -urN a/google/cloud/bigquery/datatransfer/v1/BUILD.bazel b/google/cloud/big -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "datatransfer_proto", +- name = "filestore_proto", - srcs = [ -- "datatransfer.proto", -- "transfer.proto", +- "cloud_filestore_service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/rpc:status_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:empty_proto", +- "//google/cloud/common:common_proto", +- "//google/longrunning:operations_proto", - "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", - "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "datatransfer_proto_with_info", +- name = "filestore_proto_with_info", - deps = [ -- ":datatransfer_proto", +- ":filestore_proto", +- "//google/cloud/common:common_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -17406,44 +34147,48 @@ diff -urN a/google/cloud/bigquery/datatransfer/v1/BUILD.bazel b/google/cloud/big -) - -java_proto_library( -- name = "datatransfer_java_proto", -- deps = [":datatransfer_proto"], +- name = "filestore_java_proto", +- deps = [ +- ":filestore_proto", +- "//google/cloud/common:common_proto", +- ], -) - -java_grpc_library( -- name = "datatransfer_java_grpc", -- srcs = [":datatransfer_proto"], -- deps = [":datatransfer_java_proto"], +- name = "filestore_java_grpc", +- srcs = [":filestore_proto"], +- deps = [":filestore_java_proto"], -) - -java_gapic_library( -- name = "datatransfer_java_gapic", -- srcs = [":datatransfer_proto_with_info"], -- grpc_service_config = "bigquerydatatransfer_grpc_service_config.json", +- name = "filestore_java_gapic", +- srcs = [":filestore_proto_with_info"], +- grpc_service_config = "file_grpc_service_config.json", - test_deps = [ -- ":datatransfer_java_grpc", +- ":filestore_java_grpc", - ], - deps = [ -- ":datatransfer_java_proto", +- ":filestore_java_proto", +- "//google/cloud/common:common_proto", - ], -) - -java_gapic_test( -- name = "datatransfer_java_gapic_test_suite", +- name = "filestore_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.bigquery.datatransfer.v1.DataTransferServiceClientTest", +- "com.google.cloud.filestore.v1.CloudFilestoreManagerClientTest", - ], -- runtime_deps = [":datatransfer_java_gapic_test"], +- runtime_deps = [":filestore_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-bigquery-datatransfer-v1-java", +- name = "google-cloud-filestore-v1-java", - deps = [ -- ":datatransfer_java_gapic", -- ":datatransfer_java_grpc", -- ":datatransfer_java_proto", -- ":datatransfer_proto", +- ":filestore_java_gapic", +- ":filestore_java_grpc", +- ":filestore_java_proto", +- ":filestore_proto", - ], -) - @@ -17459,71 +34204,77 @@ diff -urN a/google/cloud/bigquery/datatransfer/v1/BUILD.bazel b/google/cloud/big -) - -go_proto_library( -- name = "datatransfer_go_proto", +- name = "filestore_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1", -- protos = [":datatransfer_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/filestore/v1", +- protos = [":filestore_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/rpc:status_go_proto", +- "//google/cloud/common:common_go_proto", +- "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "datatransfer_go_gapic", -- srcs = [":datatransfer_proto_with_info"], -- grpc_service_config = "bigquerydatatransfer_grpc_service_config.json", -- importpath = "cloud.google.com/go/bigquery/datatransfer/apiv1;datatransfer", -- service_yaml = "bigquerydatatransfer_v1.yaml", +- name = "filestore_go_gapic", +- srcs = [":filestore_proto_with_info"], +- grpc_service_config = "file_grpc_service_config.json", +- importpath = "cloud.google.com/go/filestore/apiv1;filestore", +- metadata = True, +- service_yaml = "file_v1.yaml", - deps = [ -- ":datatransfer_go_proto", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- ":filestore_go_proto", +- "//google/cloud/common:common_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", - ], -) - -go_test( -- name = "datatransfer_go_gapic_test", -- srcs = [":datatransfer_go_gapic_srcjar_test"], -- embed = [":datatransfer_go_gapic"], -- importpath = "cloud.google.com/go/bigquery/datatransfer/apiv1", +- name = "filestore_go_gapic_test", +- srcs = [":filestore_go_gapic_srcjar_test"], +- embed = [":filestore_go_gapic"], +- importpath = "cloud.google.com/go/filestore/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-bigquery-datatransfer-v1-go", +- name = "gapi-cloud-filestore-v1-go", - deps = [ -- ":datatransfer_go_gapic", -- ":datatransfer_go_gapic_srcjar-test.srcjar", -- ":datatransfer_go_proto", +- ":filestore_go_gapic", +- ":filestore_go_gapic_srcjar-metadata.srcjar", +- ":filestore_go_gapic_srcjar-test.srcjar", +- ":filestore_go_proto", - ], -) - -############################################################################## -# Python -############################################################################## +-# +-# Commented out: Python generator cannot accept LRO metadata from a different +-# proto namespace. +-# +-# load( +-# "@com_google_googleapis_imports//:imports.bzl", +-# "py_gapic_assembly_pkg", +-# "py_gapic_library", +-# ) - --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "py_gapic_assembly_pkg", -- "py_gapic_library", --) -- --py_gapic_library( -- name = "datatransfer_py_gapic", -- srcs = [":datatransfer_proto"], -- grpc_service_config = "bigquerydatatransfer_grpc_service_config.json", -- opt_args = [ -- "python-gapic-namespace=google.cloud", -- "python-gapic-name=bigquery_datatransfer", -- ], --) +-# py_gapic_library( +-# name = "filestore_py_gapic", +-# srcs = [":filestore_proto_with_info"], +-# grpc_service_config = "file_grpc_service_config.json", +-# ) - --py_gapic_assembly_pkg( -- name = "bigquery-datatransfer-v1-py", -- deps = [ -- ":datatransfer_py_gapic", -- ], --) +-# # Open Source Packages +-# py_gapic_assembly_pkg( +-# name = "filestore-v1-py", +-# deps = [ +-# ":filestore_py_gapic", +-# ], +-# ) - -############################################################################## -# PHP @@ -17537,36 +34288,34 @@ diff -urN a/google/cloud/bigquery/datatransfer/v1/BUILD.bazel b/google/cloud/big -) - -php_proto_library( -- name = "datatransfer_php_proto", -- deps = [":datatransfer_proto"], +- name = "filestore_php_proto", +- deps = [":filestore_proto"], -) - -php_grpc_library( -- name = "datatransfer_php_grpc", -- srcs = [":datatransfer_proto"], -- deps = [":datatransfer_php_proto"], +- name = "filestore_php_grpc", +- srcs = [":filestore_proto"], +- deps = [":filestore_php_proto"], -) - -php_gapic_library( -- name = "datatransfer_php_gapic", -- src = ":datatransfer_proto_with_info", -- gapic_yaml = "bigquerydatatransfer_gapic.yaml", -- grpc_service_config = "bigquerydatatransfer_grpc_service_config.json", -- package = "google.cloud.bigquery.datatransfer.v1", -- service_yaml = "bigquerydatatransfer_v1.yaml", +- name = "filestore_php_gapic", +- srcs = [":filestore_proto_with_info"], +- grpc_service_config = "file_grpc_service_config.json", +- service_yaml = "file_v1.yaml", - deps = [ -- ":datatransfer_php_grpc", -- ":datatransfer_php_proto", +- ":filestore_php_grpc", +- ":filestore_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-bigquery-datatransfer-v1-php", +- name = "google-cloud-filestore-v1-php", - deps = [ -- ":datatransfer_php_gapic", -- ":datatransfer_php_grpc", -- ":datatransfer_php_proto", +- ":filestore_php_gapic", +- ":filestore_php_grpc", +- ":filestore_php_proto", - ], -) - @@ -17580,21 +34329,21 @@ diff -urN a/google/cloud/bigquery/datatransfer/v1/BUILD.bazel b/google/cloud/big -) - -nodejs_gapic_library( -- name = "datatransfer_nodejs_gapic", -- package_name = "@google-cloud/bigquery-data-transfer", -- src = ":datatransfer_proto_with_info", +- name = "filestore_nodejs_gapic", +- package_name = "@google-cloud/filestore", +- src = ":filestore_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "bigquerydatatransfer_grpc_service_config.json", -- package = "google.cloud.bigquery.datatransfer.v1", -- service_yaml = "bigquerydatatransfer_v1.yaml", +- grpc_service_config = "file_grpc_service_config.json", +- package = "google.cloud.filestore.v1", +- service_yaml = "file_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "bigquery-datatransfer-v1-nodejs", +- name = "filestore-v1-nodejs", - deps = [ -- ":datatransfer_nodejs_gapic", -- ":datatransfer_proto", +- ":filestore_nodejs_gapic", +- ":filestore_proto", - ], -) - @@ -17603,50 +34352,41 @@ diff -urN a/google/cloud/bigquery/datatransfer/v1/BUILD.bazel b/google/cloud/big -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "datatransfer_ruby_proto", -- deps = [":datatransfer_proto"], +- name = "filestore_ruby_proto", +- deps = [":filestore_proto"], -) - -ruby_grpc_library( -- name = "datatransfer_ruby_grpc", -- srcs = [":datatransfer_proto"], -- deps = [":datatransfer_ruby_proto"], +- name = "filestore_ruby_grpc", +- srcs = [":filestore_proto"], +- deps = [":filestore_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "datatransfer_ruby_gapic", -- srcs = [":datatransfer_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-bigquery-data_transfer-v1", -- "ruby-cloud-env-prefix=DATA_TRANSFER", -- "ruby-cloud-yard-strict=false", -- "ruby-cloud-product-url=https://cloud.google.com/bigquery/transfer", -- "ruby-cloud-api-id=bigquerydatatransfer.googleapis.com", -- "ruby-cloud-api-shortname=bigquerydatatransfer", -- ], -- grpc_service_config = "bigquerydatatransfer_grpc_service_config.json", -- ruby_cloud_description = "Schedules queries and transfers external data from SaaS applications to Google BigQuery on a regular basis.", -- ruby_cloud_title = "BigQuery Data Transfer Service V1", +- name = "filestore_ruby_gapic", +- srcs = [":filestore_proto_with_info"], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-filestore-v1"], +- grpc_service_config = "file_grpc_service_config.json", - deps = [ -- ":datatransfer_ruby_grpc", -- ":datatransfer_ruby_proto", +- ":filestore_ruby_grpc", +- ":filestore_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-bigquery-datatransfer-v1-ruby", +- name = "google-cloud-filestore-v1-ruby", - deps = [ -- ":datatransfer_ruby_gapic", -- ":datatransfer_ruby_grpc", -- ":datatransfer_ruby_proto", +- ":filestore_ruby_gapic", +- ":filestore_ruby_grpc", +- ":filestore_ruby_proto", - ], -) - @@ -17662,34 +34402,34 @@ diff -urN a/google/cloud/bigquery/datatransfer/v1/BUILD.bazel b/google/cloud/big -) - -csharp_proto_library( -- name = "datatransfer_csharp_proto", -- deps = [":datatransfer_proto"], +- name = "filestore_csharp_proto", +- deps = [":filestore_proto"], -) - -csharp_grpc_library( -- name = "datatransfer_csharp_grpc", -- srcs = [":datatransfer_proto"], -- deps = [":datatransfer_csharp_proto"], +- name = "filestore_csharp_grpc", +- srcs = [":filestore_proto"], +- deps = [":filestore_csharp_proto"], -) - -csharp_gapic_library( -- name = "datatransfer_csharp_gapic", -- srcs = [":datatransfer_proto_with_info"], +- name = "filestore_csharp_gapic", +- srcs = [":filestore_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "bigquerydatatransfer_grpc_service_config.json", +- grpc_service_config = "file_grpc_service_config.json", - deps = [ -- ":datatransfer_csharp_grpc", -- ":datatransfer_csharp_proto", +- ":filestore_csharp_grpc", +- ":filestore_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-bigquery-datatransfer-v1-csharp", +- name = "google-cloud-filestore-v1-csharp", - deps = [ -- ":datatransfer_csharp_gapic", -- ":datatransfer_csharp_grpc", -- ":datatransfer_csharp_proto", +- ":filestore_csharp_gapic", +- ":filestore_csharp_grpc", +- ":filestore_csharp_proto", - ], -) - @@ -17697,11 +34437,20 @@ diff -urN a/google/cloud/bigquery/datatransfer/v1/BUILD.bazel b/google/cloud/big -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/bigquery/logging/v1/BUILD.bazel b/google/cloud/bigquery/logging/v1/BUILD.bazel ---- a/google/cloud/bigquery/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/bigquery/logging/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,171 +0,0 @@ +diff -urN a/google/cloud/filestore/v1beta1/BUILD.bazel b/google/cloud/filestore/v1beta1/BUILD.bazel +--- a/google/cloud/filestore/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/filestore/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,350 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -17710,18 +34459,32 @@ diff -urN a/google/cloud/bigquery/logging/v1/BUILD.bazel b/google/cloud/bigquery -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "logging_proto", +- name = "filestore_proto", - srcs = [ -- "audit_data.proto", +- "cloud_filestore_service.proto", - ], - deps = [ -- "//google/iam/v1:iam_policy_proto", -- "//google/iam/v1:policy_proto", -- "//google/rpc:status_proto", -- "@com_google_protobuf//:duration_proto", +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/cloud/common:common_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", +- ], +-) +- +-proto_library_with_info( +- name = "filestore_proto_with_info", +- deps = [ +- ":filestore_proto", +- "//google/cloud/common:common_proto", +- "//google/cloud:common_resources_proto", - ], -) - @@ -17730,19 +34493,57 @@ diff -urN a/google/cloud/bigquery/logging/v1/BUILD.bazel b/google/cloud/bigquery -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "logging_java_proto", -- deps = [":logging_proto"], +- name = "filestore_java_proto", +- deps = [ +- ":filestore_proto", +- "//google/cloud/common:common_proto", +- ], -) - -java_grpc_library( -- name = "logging_java_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_java_proto"], +- name = "filestore_java_grpc", +- srcs = [":filestore_proto"], +- deps = [":filestore_java_proto"], +-) +- +-java_gapic_library( +- name = "filestore_java_gapic", +- srcs = [":filestore_proto_with_info"], +- grpc_service_config = "file_grpc_service_config.json", +- test_deps = [ +- ":filestore_java_grpc", +- ], +- deps = [ +- ":filestore_java_proto", +- "//google/cloud/common:common_proto", +- ], +-) +- +-java_gapic_test( +- name = "filestore_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.filestore.v1beta1.CloudFilestoreManagerClientTest", +- ], +- runtime_deps = [":filestore_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-filestore-v1beta1-java", +- deps = [ +- ":filestore_java_gapic", +- ":filestore_java_grpc", +- ":filestore_java_proto", +- ":filestore_proto", +- ], -) - -############################################################################## @@ -17750,72 +34551,126 @@ diff -urN a/google/cloud/bigquery/logging/v1/BUILD.bazel b/google/cloud/bigquery -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", - "go_proto_library", +- "go_test", -) - -go_proto_library( -- name = "logging_go_proto", +- name = "filestore_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/logging/v1", -- protos = [":logging_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/filestore/v1beta1", +- protos = [":filestore_proto"], - deps = [ -- "//google/iam/v1:iam_go_proto", -- "//google/rpc:status_go_proto", +- "//google/api:annotations_go_proto", +- "//google/cloud/common:common_go_proto", +- "//google/longrunning:longrunning_go_proto", - ], -) - --############################################################################## --# Python --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", -- "py_grpc_library", -- "py_proto_library", --) -- --moved_proto_library( -- name = "logging_moved_proto", -- srcs = [":logging_proto"], +-go_gapic_library( +- name = "filestore_go_gapic", +- srcs = [":filestore_proto_with_info"], +- grpc_service_config = "file_grpc_service_config.json", +- importpath = "cloud.google.com/go/filestore/apiv1beta1;filestore", +- metadata = True, +- service_yaml = "file_v1beta1.yaml", - deps = [ -- "//google/iam/v1:iam_policy_proto", -- "//google/iam/v1:policy_proto", -- "//google/rpc:status_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:timestamp_proto", +- ":filestore_go_proto", +- "//google/cloud/common:common_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", - ], -) - --py_proto_library( -- name = "logging_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":logging_moved_proto"], +-go_test( +- name = "filestore_go_gapic_test", +- srcs = [":filestore_go_gapic_srcjar_test"], +- embed = [":filestore_go_gapic"], +- importpath = "cloud.google.com/go/filestore/apiv1beta1", -) - --py_grpc_library( -- name = "logging_py_grpc", -- srcs = [":logging_moved_proto"], -- deps = [":logging_py_proto"], +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-filestore-v1beta1-go", +- deps = [ +- ":filestore_go_gapic", +- ":filestore_go_gapic_srcjar-metadata.srcjar", +- ":filestore_go_gapic_srcjar-test.srcjar", +- ":filestore_go_proto", +- ], -) - -############################################################################## +-# Python +-############################################################################## +-# +-# Commented out: Python generator cannot accept LRO metadata from a different +-# proto namespace. +-# +-# load( +-# "@com_google_googleapis_imports//:imports.bzl", +-# "py_gapic_assembly_pkg", +-# "py_gapic_library", +-# ) +- +-# py_gapic_library( +-# name = "filestore_py_gapic", +-# srcs = [":filestore_proto_with_info"], +-# grpc_service_config = "file_grpc_service_config.json", +-# ) +- +-# # Open Source Packages +-# py_gapic_assembly_pkg( +-# name = "filestore-v1beta1-py", +-# deps = [ +-# ":filestore_py_gapic", +-# ], +-# ) +- +-############################################################################## -# PHP -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "logging_php_proto", -- deps = [":logging_proto"], +- name = "filestore_php_proto", +- deps = [":filestore_proto"], -) - -php_grpc_library( -- name = "logging_php_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_php_proto"], +- name = "filestore_php_grpc", +- srcs = [":filestore_proto"], +- deps = [":filestore_php_proto"], +-) +- +-php_gapic_library( +- name = "filestore_php_gapic", +- srcs = [":filestore_proto_with_info"], +- grpc_service_config = "file_grpc_service_config.json", +- service_yaml = "file_v1beta1.yaml", +- deps = [ +- ":filestore_php_grpc", +- ":filestore_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-filestore-v1beta1-php", +- deps = [ +- ":filestore_php_gapic", +- ":filestore_php_grpc", +- ":filestore_php_proto", +- ], -) - -############################################################################## @@ -17827,25 +34682,66 @@ diff -urN a/google/cloud/bigquery/logging/v1/BUILD.bazel b/google/cloud/bigquery - "nodejs_gapic_library", -) - +-nodejs_gapic_library( +- name = "filestore_nodejs_gapic", +- package_name = "@google-cloud/filestore", +- src = ":filestore_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "file_grpc_service_config.json", +- package = "google.cloud.filestore.v1beta1", +- service_yaml = "file_v1beta1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "filestore-v1beta1-nodejs", +- deps = [ +- ":filestore_nodejs_gapic", +- ":filestore_proto", +- ], +-) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "logging_ruby_proto", -- deps = [":logging_proto"], +- name = "filestore_ruby_proto", +- deps = [":filestore_proto"], -) - -ruby_grpc_library( -- name = "logging_ruby_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_ruby_proto"], +- name = "filestore_ruby_grpc", +- srcs = [":filestore_proto"], +- deps = [":filestore_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "filestore_ruby_gapic", +- srcs = [":filestore_proto_with_info"], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-filestore-v1beta1"], +- grpc_service_config = "file_grpc_service_config.json", +- deps = [ +- ":filestore_ruby_grpc", +- ":filestore_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-filestore-v1beta1-ruby", +- deps = [ +- ":filestore_ruby_gapic", +- ":filestore_ruby_grpc", +- ":filestore_ruby_proto", +- ], -) - -############################################################################## @@ -17853,30 +34749,62 @@ diff -urN a/google/cloud/bigquery/logging/v1/BUILD.bazel b/google/cloud/bigquery -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "logging_csharp_proto", -- deps = [":logging_proto"], +- name = "filestore_csharp_proto", +- deps = [":filestore_proto"], -) - -csharp_grpc_library( -- name = "logging_csharp_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_csharp_proto"], +- name = "filestore_csharp_grpc", +- srcs = [":filestore_proto"], +- deps = [":filestore_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "filestore_csharp_gapic", +- srcs = [":filestore_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "file_grpc_service_config.json", +- deps = [ +- ":filestore_csharp_grpc", +- ":filestore_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-filestore-v1beta1-csharp", +- deps = [ +- ":filestore_csharp_gapic", +- ":filestore_csharp_grpc", +- ":filestore_csharp_proto", +- ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ code here -diff -urN a/google/cloud/bigquery/reservation/v1/BUILD.bazel b/google/cloud/bigquery/reservation/v1/BUILD.bazel ---- a/google/cloud/bigquery/reservation/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/bigquery/reservation/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,338 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/functions/v1/BUILD.bazel b/google/cloud/functions/v1/BUILD.bazel +--- a/google/cloud/functions/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/functions/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,353 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -17888,26 +34816,30 @@ diff -urN a/google/cloud/bigquery/reservation/v1/BUILD.bazel b/google/cloud/bigq -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "reservation_proto", +- name = "functions_proto", - srcs = [ -- "reservation.proto", +- "functions.proto", +- "operations.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/rpc:status_proto", -- "@com_google_protobuf//:empty_proto", +- "//google/iam/v1:iam_policy_proto", +- "//google/iam/v1:policy_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "reservation_proto_with_info", +- name = "functions_proto_with_info", - deps = [ -- ":reservation_proto", +- ":functions_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -17915,6 +34847,7 @@ diff -urN a/google/cloud/bigquery/reservation/v1/BUILD.bazel b/google/cloud/bigq -############################################################################## -# Java -############################################################################## +- -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_gapic_assembly_gradle_pkg", @@ -17925,44 +34858,46 @@ diff -urN a/google/cloud/bigquery/reservation/v1/BUILD.bazel b/google/cloud/bigq -) - -java_proto_library( -- name = "reservation_java_proto", -- deps = [":reservation_proto"], +- name = "functions_java_proto", +- deps = [":functions_proto"], -) - -java_grpc_library( -- name = "reservation_java_grpc", -- srcs = [":reservation_proto"], -- deps = [":reservation_java_proto"], +- name = "functions_java_grpc", +- srcs = [":functions_proto"], +- deps = [":functions_java_proto"], -) - -java_gapic_library( -- name = "reservation_java_gapic", -- srcs = [":reservation_proto_with_info"], -- grpc_service_config = "bigqueryreservation_grpc_service_config.json", +- name = "functions_java_gapic", +- srcs = [":functions_proto_with_info"], +- grpc_service_config = "functions_grpc_service_config.json", - test_deps = [ -- ":reservation_java_grpc", +- ":functions_java_grpc", +- "//google/iam/v1:iam_java_grpc", - ], - deps = [ -- ":reservation_java_proto", +- ":functions_java_proto", +- "//google/iam/v1:iam_java_proto", - ], -) - -java_gapic_test( -- name = "reservation_java_gapic_test_suite", +- name = "functions_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.bigquery.reservation.v1.ReservationServiceClientTest", +- "com.google.cloud.functions.v1.CloudFunctionsServiceClientTest", - ], -- runtime_deps = [":reservation_java_gapic_test"], +- runtime_deps = [":functions_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-bigquery-reservation-v1-java", +- name = "google-cloud-functions-v1-java", - deps = [ -- ":reservation_java_gapic", -- ":reservation_java_grpc", -- ":reservation_java_proto", -- ":reservation_proto", +- ":functions_java_gapic", +- ":functions_java_grpc", +- ":functions_java_proto", +- ":functions_proto", - ], -) - @@ -17978,41 +34913,48 @@ diff -urN a/google/cloud/bigquery/reservation/v1/BUILD.bazel b/google/cloud/bigq -) - -go_proto_library( -- name = "reservation_go_proto", +- name = "functions_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/reservation/v1", -- protos = [":reservation_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/functions/v1", +- protos = [":functions_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/rpc:status_go_proto", +- "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "reservation_go_gapic", -- srcs = [":reservation_proto_with_info"], -- grpc_service_config = "bigqueryreservation_grpc_service_config.json", -- importpath = "cloud.google.com/go/bigquery/reservation/apiv1;reservation", -- service_yaml = "bigqueryreservation_v1.yaml", +- name = "functions_go_gapic", +- srcs = [":functions_proto_with_info"], +- grpc_service_config = "functions_grpc_service_config.json", +- importpath = "cloud.google.com/go/functions/apiv1;functions", +- service_yaml = "cloudfunctions_v1.yaml", - deps = [ -- ":reservation_go_proto", +- ":functions_go_proto", +- "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:any_go_proto", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "reservation_go_gapic_test", -- srcs = [":reservation_go_gapic_srcjar_test"], -- embed = [":reservation_go_gapic"], -- importpath = "cloud.google.com/go/bigquery/reservation/apiv1", +- name = "functions_go_gapic_test", +- srcs = [":functions_go_gapic_srcjar_test"], +- embed = [":functions_go_gapic"], +- importpath = "cloud.google.com/go/functions/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-bigquery-reservation-v1-go", +- name = "gapi-cloud-functions-v1-go", - deps = [ -- ":reservation_go_gapic", -- ":reservation_go_gapic_srcjar-test.srcjar", -- ":reservation_go_proto", +- ":functions_go_gapic", +- ":functions_go_gapic_srcjar-test.srcjar", +- ":functions_go_proto", - ], -) - @@ -18026,20 +34968,15 @@ diff -urN a/google/cloud/bigquery/reservation/v1/BUILD.bazel b/google/cloud/bigq -) - -py_gapic_library( -- name = "reservation_py_gapic", -- srcs = [":reservation_proto"], -- grpc_service_config = "bigqueryreservation_grpc_service_config.json", -- opt_args = [ -- "python-gapic-namespace=google.cloud", -- "python-gapic-name=bigquery_reservation", -- ], +- name = "functions_py_gapic", +- srcs = [":functions_proto"], +- grpc_service_config = "functions_grpc_service_config.json", -) - --# Open Source Packages -py_gapic_assembly_pkg( -- name = "bigquery-reservation-v1-py", +- name = "functions-v1-py", - deps = [ -- ":reservation_py_gapic", +- ":functions_py_gapic", - ], -) - @@ -18055,36 +34992,33 @@ diff -urN a/google/cloud/bigquery/reservation/v1/BUILD.bazel b/google/cloud/bigq -) - -php_proto_library( -- name = "reservation_php_proto", -- deps = [":reservation_proto"], +- name = "functions_php_proto", +- deps = [":functions_proto"], -) - -php_grpc_library( -- name = "reservation_php_grpc", -- srcs = [":reservation_proto"], -- deps = [":reservation_php_proto"], +- name = "functions_php_grpc", +- srcs = [":functions_proto"], +- deps = [":functions_php_proto"], -) - -php_gapic_library( -- name = "reservation_php_gapic", -- src = ":reservation_proto_with_info", -- gapic_yaml = "bigqueryreservation_gapic.yaml", -- grpc_service_config = "bigqueryreservation_grpc_service_config.json", -- package = "google.cloud.bigquery.reservation.v1", -- service_yaml = "bigqueryreservation_v1.yaml", +- name = "functions_php_gapic", +- srcs = [":functions_proto_with_info"], +- grpc_service_config = "functions_grpc_service_config.json", - deps = [ -- ":reservation_php_grpc", -- ":reservation_php_proto", +- ":functions_php_grpc", +- ":functions_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-bigquery-reservation-v1-php", +- name = "google-cloud-functions-v1-php", - deps = [ -- ":reservation_php_gapic", -- ":reservation_php_grpc", -- ":reservation_php_proto", +- ":functions_php_gapic", +- ":functions_php_grpc", +- ":functions_php_proto", - ], -) - @@ -18098,21 +35032,21 @@ diff -urN a/google/cloud/bigquery/reservation/v1/BUILD.bazel b/google/cloud/bigq -) - -nodejs_gapic_library( -- name = "reservation_nodejs_gapic", -- package_name = "@google-cloud/bigquery-reservation", -- src = ":reservation_proto_with_info", +- name = "functions_nodejs_gapic", +- package_name = "@google-cloud/functions", +- src = ":functions_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "bigqueryreservation_grpc_service_config.json", -- package = "google.cloud.bigquery.reservation.v1", -- service_yaml = "bigqueryreservation_v1.yaml", +- grpc_service_config = "functions_grpc_service_config.json", +- package = "google.cloud.functions.v1", +- service_yaml = "cloudfunctions_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "bigquery-reservation-v1-nodejs", +- name = "functions-v1-nodejs", - deps = [ -- ":reservation_nodejs_gapic", -- ":reservation_proto", +- ":functions_nodejs_gapic", +- ":functions_proto", - ], -) - @@ -18121,49 +35055,49 @@ diff -urN a/google/cloud/bigquery/reservation/v1/BUILD.bazel b/google/cloud/bigq -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "reservation_ruby_proto", -- deps = [":reservation_proto"], +- name = "functions_ruby_proto", +- deps = [":functions_proto"], -) - -ruby_grpc_library( -- name = "reservation_ruby_grpc", -- srcs = [":reservation_proto"], -- deps = [":reservation_ruby_proto"], +- name = "functions_ruby_grpc", +- srcs = [":functions_proto"], +- deps = [":functions_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "reservation_ruby_gapic", -- srcs = [":reservation_proto_with_info"], +- name = "functions_ruby_gapic", +- srcs = [":functions_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-bigquery-reservation-v1", -- "ruby-cloud-env-prefix=BIGQUERY_RESERVATION", -- "ruby-cloud-product-url=https://cloud.google.com/bigquery/docs/reference/reservations", -- "ruby-cloud-api-id=bigqueryreservation.googleapis.com", -- "ruby-cloud-api-shortname=bigqueryreservation", +- "ruby-cloud-gem-name=google-cloud-functions-v1", +- "ruby-cloud-env-prefix=FUNCTIONS", +- "ruby-cloud-product-url=https://cloud.google.com/functions", +- "ruby-cloud-api-id=cloudfunctions.googleapis.com", +- "ruby-cloud-api-shortname=cloudfunctions", - ], -- grpc_service_config = "bigqueryreservation_grpc_service_config.json", -- ruby_cloud_description = "The BigQuery Reservation API provides the mechanisms by which enterprise users can provision and manage dedicated resources such as slots and BigQuery BI Engine memory allocations.", -- ruby_cloud_title = "BigQuery Reservation V1", +- grpc_service_config = "functions_grpc_service_config.json", +- ruby_cloud_description = "The Cloud Functions API manages lightweight user-provided functions executed in response to events.", +- ruby_cloud_title = "Cloud Functions V1", - deps = [ -- ":reservation_ruby_grpc", -- ":reservation_ruby_proto", +- ":functions_ruby_grpc", +- ":functions_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-bigquery-reservation-v1-ruby", +- name = "google-cloud-functions-v1-ruby", - deps = [ -- ":reservation_ruby_gapic", -- ":reservation_ruby_grpc", -- ":reservation_ruby_proto", +- ":functions_ruby_gapic", +- ":functions_ruby_grpc", +- ":functions_ruby_proto", - ], -) - @@ -18179,34 +35113,34 @@ diff -urN a/google/cloud/bigquery/reservation/v1/BUILD.bazel b/google/cloud/bigq -) - -csharp_proto_library( -- name = "reservation_csharp_proto", -- deps = [":reservation_proto"], +- name = "functions_csharp_proto", +- deps = [":functions_proto"], -) - -csharp_grpc_library( -- name = "reservation_csharp_grpc", -- srcs = [":reservation_proto"], -- deps = [":reservation_csharp_proto"], +- name = "functions_csharp_grpc", +- srcs = [":functions_proto"], +- deps = [":functions_csharp_proto"], -) - -csharp_gapic_library( -- name = "reservation_csharp_gapic", -- srcs = [":reservation_proto_with_info"], +- name = "functions_csharp_gapic", +- srcs = [":functions_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "bigqueryreservation_grpc_service_config.json", +- grpc_service_config = "functions_grpc_service_config.json", - deps = [ -- ":reservation_csharp_grpc", -- ":reservation_csharp_proto", +- ":functions_csharp_grpc", +- ":functions_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-bigquery-reservation-v1-csharp", +- name = "google-cloud-functions-v1-csharp", - deps = [ -- ":reservation_csharp_gapic", -- ":reservation_csharp_grpc", -- ":reservation_csharp_proto", +- ":functions_csharp_gapic", +- ":functions_csharp_grpc", +- ":functions_csharp_proto", - ], -) - @@ -18214,10 +35148,10 @@ diff -urN a/google/cloud/bigquery/reservation/v1/BUILD.bazel b/google/cloud/bigq -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel b/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel ---- a/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,335 +0,0 @@ +diff -urN a/google/cloud/gaming/v1/BUILD.bazel b/google/cloud/gaming/v1/BUILD.bazel +--- a/google/cloud/gaming/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/gaming/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,355 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - @@ -18239,26 +35173,34 @@ diff -urN a/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel b/google/cloud -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "reservation_proto", +- name = "gaming_proto", - srcs = [ -- "reservation.proto", +- "common.proto", +- "game_server_clusters.proto", +- "game_server_clusters_service.proto", +- "game_server_configs.proto", +- "game_server_configs_service.proto", +- "game_server_deployments.proto", +- "game_server_deployments_service.proto", +- "realms.proto", +- "realms_service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/rpc:status_proto", -- "@com_google_protobuf//:empty_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "reservation_proto_with_info", +- name = "gaming_proto_with_info", - deps = [ -- ":reservation_proto", +- ":gaming_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -18276,44 +35218,47 @@ diff -urN a/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel b/google/cloud -) - -java_proto_library( -- name = "reservation_java_proto", -- deps = [":reservation_proto"], +- name = "gaming_java_proto", +- deps = [":gaming_proto"], -) - -java_grpc_library( -- name = "reservation_java_grpc", -- srcs = [":reservation_proto"], -- deps = [":reservation_java_proto"], +- name = "gaming_java_grpc", +- srcs = [":gaming_proto"], +- deps = [":gaming_java_proto"], -) - -java_gapic_library( -- name = "reservation_java_gapic", -- srcs = [":reservation_proto_with_info"], -- grpc_service_config = "bigqueryreservation_grpc_service_config.json", +- name = "gaming_java_gapic", +- srcs = [":gaming_proto_with_info"], +- grpc_service_config = "gaming_grpc_service_config.json", - test_deps = [ -- ":reservation_java_grpc", +- ":gaming_java_grpc", - ], - deps = [ -- ":reservation_java_proto", +- ":gaming_java_proto", - ], -) - -java_gapic_test( -- name = "reservation_java_gapic_test_suite", +- name = "gaming_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.bigquery.reservation.v1beta1.ReservationServiceClientTest", +- "com.google.cloud.gaming.v1.GameServerClustersServiceClientTest", +- "com.google.cloud.gaming.v1.GameServerConfigsServiceClientTest", +- "com.google.cloud.gaming.v1.GameServerDeploymentsServiceClientTest", +- "com.google.cloud.gaming.v1.RealmsServiceClientTest", - ], -- runtime_deps = [":reservation_java_gapic_test"], +- runtime_deps = [":gaming_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-bigquery-reservation-v1beta1-java", +- name = "google-cloud-gaming-v1-java", - deps = [ -- ":reservation_java_gapic", -- ":reservation_java_grpc", -- ":reservation_java_proto", -- ":reservation_proto", +- ":gaming_java_gapic", +- ":gaming_java_grpc", +- ":gaming_java_proto", +- ":gaming_proto", - ], -) - @@ -18329,41 +35274,45 @@ diff -urN a/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel b/google/cloud -) - -go_proto_library( -- name = "reservation_go_proto", +- name = "gaming_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/reservation/v1beta1", -- protos = [":reservation_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/gaming/v1", +- protos = [":gaming_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/rpc:status_go_proto", +- "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "reservation_go_gapic", -- srcs = [":reservation_proto_with_info"], -- grpc_service_config = "bigqueryreservation_grpc_service_config.json", -- importpath = "cloud.google.com/go/bigquery/reservation/apiv1beta1;reservation", -- service_yaml = "bigqueryreservation_v1beta1.yaml", +- name = "gaming_go_gapic", +- srcs = [":gaming_proto_with_info"], +- grpc_service_config = "gaming_grpc_service_config.json", +- importpath = "cloud.google.com/go/gaming/apiv1;gaming", +- service_yaml = "gameservices_v1.yaml", - deps = [ -- ":reservation_go_proto", +- ":gaming_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "reservation_go_gapic_test", -- srcs = [":reservation_go_gapic_srcjar_test"], -- embed = [":reservation_go_gapic"], -- importpath = "cloud.google.com/go/bigquery/reservation/apiv1beta1", +- name = "gaming_go_gapic_test", +- srcs = [":gaming_go_gapic_srcjar_test"], +- embed = [":gaming_go_gapic"], +- importpath = "cloud.google.com/go/gaming/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-bigquery-reservation-v1beta1-go", +- name = "gapi-cloud-gaming-v1-go", - deps = [ -- ":reservation_go_gapic", -- ":reservation_go_gapic_srcjar-test.srcjar", -- ":reservation_go_proto", +- ":gaming_go_gapic", +- ":gaming_go_gapic_srcjar-test.srcjar", +- ":gaming_go_proto", - ], -) - @@ -18377,16 +35326,16 @@ diff -urN a/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel b/google/cloud -) - -py_gapic_library( -- name = "reservation_py_gapic", -- srcs = [":reservation_proto"], -- grpc_service_config = "bigqueryreservation_grpc_service_config.json", +- name = "gaming_py_gapic", +- srcs = [":gaming_proto"], +- grpc_service_config = "gaming_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "bigquery-reservation-v1beta1-py", +- name = "gaming-v1-py", - deps = [ -- ":reservation_py_gapic", +- ":gaming_py_gapic", - ], -) - @@ -18402,36 +35351,33 @@ diff -urN a/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel b/google/cloud -) - -php_proto_library( -- name = "reservation_php_proto", -- deps = [":reservation_proto"], +- name = "gaming_php_proto", +- deps = [":gaming_proto"], -) - -php_grpc_library( -- name = "reservation_php_grpc", -- srcs = [":reservation_proto"], -- deps = [":reservation_php_proto"], +- name = "gaming_php_grpc", +- srcs = [":gaming_proto"], +- deps = [":gaming_php_proto"], -) - -php_gapic_library( -- name = "reservation_php_gapic", -- src = ":reservation_proto_with_info", -- gapic_yaml = "bigqueryreservation_gapic.yaml", -- grpc_service_config = "bigqueryreservation_grpc_service_config.json", -- package = "google.cloud.bigquery.reservation.v1beta1", -- service_yaml = "bigqueryreservation_v1beta1.yaml", +- name = "gaming_php_gapic", +- srcs = [":gaming_proto_with_info"], +- grpc_service_config = "gaming_grpc_service_config.json", - deps = [ -- ":reservation_php_grpc", -- ":reservation_php_proto", +- ":gaming_php_grpc", +- ":gaming_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-bigquery-reservation-v1beta1-php", +- name = "google-cloud-gaming-v1-php", - deps = [ -- ":reservation_php_gapic", -- ":reservation_php_grpc", -- ":reservation_php_proto", +- ":gaming_php_gapic", +- ":gaming_php_grpc", +- ":gaming_php_proto", - ], -) - @@ -18445,20 +35391,21 @@ diff -urN a/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel b/google/cloud -) - -nodejs_gapic_library( -- name = "reservation_nodejs_gapic", -- src = ":reservation_proto_with_info", +- name = "gaming_nodejs_gapic", +- package_name = "@google-cloud/game-servers", +- src = ":gaming_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "bigqueryreservation_grpc_service_config.json", -- package = "google.cloud.bigquery.reservation.v1beta1", -- service_yaml = "bigqueryreservation_v1beta1.yaml", +- grpc_service_config = "gaming_grpc_service_config.json", +- package = "google.cloud.gaming.v1", +- service_yaml = "gameservices_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "bigquery-reservation-v1beta1-nodejs", +- name = "gaming-v1-nodejs", - deps = [ -- ":reservation_nodejs_gapic", -- ":reservation_proto", +- ":gaming_nodejs_gapic", +- ":gaming_proto", - ], -) - @@ -18467,42 +35414,49 @@ diff -urN a/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel b/google/cloud -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "reservation_ruby_proto", -- deps = [":reservation_proto"], +- name = "gaming_ruby_proto", +- deps = [":gaming_proto"], -) - -ruby_grpc_library( -- name = "reservation_ruby_grpc", -- srcs = [":reservation_proto"], -- deps = [":reservation_ruby_proto"], +- name = "gaming_ruby_grpc", +- srcs = [":gaming_proto"], +- deps = [":gaming_ruby_proto"], -) - --ruby_gapic_library( -- name = "reservation_ruby_gapic", -- src = ":reservation_proto_with_info", -- gapic_yaml = "bigqueryreservation_gapic.yaml", -- package = "google.cloud.bigquery.reservation.v1beta1", -- service_yaml = "bigqueryreservation_v1beta1.yaml", +-ruby_cloud_gapic_library( +- name = "gaming_ruby_gapic", +- srcs = [":gaming_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-gaming-v1", +- "ruby-cloud-env-prefix=GAMING", +- "ruby-cloud-product-url=https://cloud.google.com/game-servers", +- "ruby-cloud-api-id=gameservices.googleapis.com", +- "ruby-cloud-api-shortname=gameservices", +- ], +- grpc_service_config = "gaming_grpc_service_config.json", +- ruby_cloud_description = "With Game Servers, studios and publishers can deploy and manage their game server infrastructure hosted on multiple Agones clusters around the world through a single interface.", +- ruby_cloud_title = "Cloud Gaming V1", - deps = [ -- ":reservation_ruby_grpc", -- ":reservation_ruby_proto", +- ":gaming_ruby_grpc", +- ":gaming_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-bigquery-reservation-v1beta1-ruby", +- name = "google-cloud-gaming-v1-ruby", - deps = [ -- ":reservation_ruby_gapic", -- ":reservation_ruby_grpc", -- ":reservation_ruby_proto", +- ":gaming_ruby_gapic", +- ":gaming_ruby_grpc", +- ":gaming_ruby_proto", - ], -) - @@ -18518,34 +35472,34 @@ diff -urN a/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel b/google/cloud -) - -csharp_proto_library( -- name = "reservation_csharp_proto", -- deps = [":reservation_proto"], +- name = "gaming_csharp_proto", +- deps = [":gaming_proto"], -) - -csharp_grpc_library( -- name = "reservation_csharp_grpc", -- srcs = [":reservation_proto"], -- deps = [":reservation_csharp_proto"], +- name = "gaming_csharp_grpc", +- srcs = [":gaming_proto"], +- deps = [":gaming_csharp_proto"], -) - -csharp_gapic_library( -- name = "reservation_csharp_gapic", -- srcs = [":reservation_proto_with_info"], +- name = "gaming_csharp_gapic", +- srcs = [":gaming_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "bigqueryreservation_grpc_service_config.json", +- grpc_service_config = "gaming_grpc_service_config.json", - deps = [ -- ":reservation_csharp_grpc", -- ":reservation_csharp_proto", +- ":gaming_csharp_grpc", +- ":gaming_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-bigquery-reservation-v1beta1-csharp", +- name = "google-cloud-gaming-v1-csharp", - deps = [ -- ":reservation_csharp_gapic", -- ":reservation_csharp_grpc", -- ":reservation_csharp_proto", +- ":gaming_csharp_gapic", +- ":gaming_csharp_grpc", +- ":gaming_csharp_proto", - ], -) - @@ -18553,15 +35507,12 @@ diff -urN a/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel b/google/cloud -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/bigquery/storage/BUILD.bazel b/google/cloud/bigquery/storage/BUILD.bazel ---- a/google/cloud/bigquery/storage/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/bigquery/storage/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/cloud/bigquery/storage/v1/BUILD.bazel b/google/cloud/bigquery/storage/v1/BUILD.bazel ---- a/google/cloud/bigquery/storage/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/bigquery/storage/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,353 +0,0 @@ +diff -urN a/google/cloud/gaming/v1beta/BUILD.bazel b/google/cloud/gaming/v1beta/BUILD.bazel +--- a/google/cloud/gaming/v1beta/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/gaming/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,337 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) - @@ -18572,26 +35523,34 @@ diff -urN a/google/cloud/bigquery/storage/v1/BUILD.bazel b/google/cloud/bigquery -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "storage_proto", +- name = "gaming_proto", - srcs = [ -- "arrow.proto", -- "avro.proto", -- "storage.proto", -- "stream.proto", +- "common.proto", +- "game_server_clusters.proto", +- "game_server_clusters_service.proto", +- "game_server_configs.proto", +- "game_server_configs_service.proto", +- "game_server_deployments.proto", +- "game_server_deployments_service.proto", +- "realms.proto", +- "realms_service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "storage_proto_with_info", +- name = "gaming_proto_with_info", - deps = [ -- ":storage_proto", +- ":gaming_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -18609,45 +35568,47 @@ diff -urN a/google/cloud/bigquery/storage/v1/BUILD.bazel b/google/cloud/bigquery -) - -java_proto_library( -- name = "storage_java_proto", -- deps = [":storage_proto"], +- name = "gaming_java_proto", +- deps = [":gaming_proto"], -) - -java_grpc_library( -- name = "storage_java_grpc", -- srcs = [":storage_proto"], -- deps = [":storage_java_proto"], +- name = "gaming_java_grpc", +- srcs = [":gaming_proto"], +- deps = [":gaming_java_proto"], -) - -java_gapic_library( -- name = "storage_java_gapic", -- srcs = [":storage_proto_with_info"], -- gapic_yaml = "bigquerystorage_gapic.yaml", -- grpc_service_config = "bigquerystorage_grpc_service_config.json", +- name = "gaming_java_gapic", +- srcs = [":gaming_proto_with_info"], +- grpc_service_config = "gaming_grpc_service_config.json", - test_deps = [ -- ":storage_java_grpc", +- ":gaming_java_grpc", - ], - deps = [ -- ":storage_java_proto", +- ":gaming_java_proto", - ], -) - -java_gapic_test( -- name = "storage_java_gapic_test_suite", +- name = "gaming_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.bigquery.storage.v1.BaseBigQueryReadClientTest", +- "com.google.cloud.gaming.v1beta.GameServerClustersServiceClientTest", +- "com.google.cloud.gaming.v1beta.GameServerConfigsServiceClientTest", +- "com.google.cloud.gaming.v1beta.GameServerDeploymentsServiceClientTest", +- "com.google.cloud.gaming.v1beta.RealmsServiceClientTest", - ], -- runtime_deps = [":storage_java_gapic_test"], +- runtime_deps = [":gaming_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-bigquery-storage-v1-java", +- name = "google-cloud-gaming-v1beta-java", - deps = [ -- ":storage_java_gapic", -- ":storage_java_grpc", -- ":storage_java_proto", -- ":storage_proto", +- ":gaming_java_gapic", +- ":gaming_java_grpc", +- ":gaming_java_proto", +- ":gaming_proto", - ], -) - @@ -18663,47 +35624,51 @@ diff -urN a/google/cloud/bigquery/storage/v1/BUILD.bazel b/google/cloud/bigquery -) - -go_proto_library( -- name = "storage_go_proto", +- name = "gaming_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1", -- protos = [":storage_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/gaming/v1beta", +- protos = [":gaming_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "storage_go_gapic", -- srcs = [":storage_proto_with_info"], -- grpc_service_config = "bigquerystorage_grpc_service_config.json", -- importpath = "cloud.google.com/go/bigquery/storage/apiv1;storage", -- service_yaml = "bigquerystorage_v1.yaml", +- name = "gaming_go_gapic", +- srcs = [":gaming_proto_with_info"], +- grpc_service_config = "gaming_grpc_service_config.json", +- importpath = "cloud.google.com/go/gaming/apiv1beta;gaming", +- service_yaml = "gameservices_v1beta.yaml", - deps = [ -- ":storage_go_proto", +- ":gaming_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "storage_go_gapic_test", -- srcs = [":storage_go_gapic_srcjar_test"], -- embed = [":storage_go_gapic"], -- importpath = "cloud.google.com/go/bigquery/storage/apiv1", +- name = "gaming_go_gapic_test", +- srcs = [":gaming_go_gapic_srcjar_test"], +- embed = [":gaming_go_gapic"], +- importpath = "cloud.google.com/go/gaming/apiv1beta", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-bigquery-storage-v1-go", +- name = "gapi-cloud-gaming-v1beta-go", - deps = [ -- ":storage_go_gapic", -- ":storage_go_gapic_srcjar-test.srcjar", -- ":storage_go_proto", +- ":gaming_go_gapic", +- ":gaming_go_gapic_srcjar-test.srcjar", +- ":gaming_go_proto", - ], -) - -############################################################################## -# Python -############################################################################## -- -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_gapic_assembly_pkg", @@ -18711,19 +35676,16 @@ diff -urN a/google/cloud/bigquery/storage/v1/BUILD.bazel b/google/cloud/bigquery -) - -py_gapic_library( -- name = "storage_py_gapic", -- srcs = [":storage_proto"], -- grpc_service_config = "bigquerystorage_grpc_service_config.json", -- opt_args = [ -- "python-gapic-namespace=google.cloud", -- "python-gapic-name=bigquery_storage", -- ], +- name = "gaming_py_gapic", +- srcs = [":gaming_proto"], +- grpc_service_config = "gaming_grpc_service_config.json", -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "bigquery-storage-v1-py", +- name = "gaming-v1beta-py", - deps = [ -- ":storage_py_gapic", +- ":gaming_py_gapic", - ], -) - @@ -18739,36 +35701,33 @@ diff -urN a/google/cloud/bigquery/storage/v1/BUILD.bazel b/google/cloud/bigquery -) - -php_proto_library( -- name = "storage_php_proto", -- deps = [":storage_proto"], +- name = "gaming_php_proto", +- deps = [":gaming_proto"], -) - -php_grpc_library( -- name = "storage_php_grpc", -- srcs = [":storage_proto"], -- deps = [":storage_php_proto"], +- name = "gaming_php_grpc", +- srcs = [":gaming_proto"], +- deps = [":gaming_php_proto"], -) - -php_gapic_library( -- name = "storage_php_gapic", -- src = ":storage_proto_with_info", -- gapic_yaml = "bigquerystorage_gapic.yaml", -- grpc_service_config = "bigquerystorage_grpc_service_config.json", -- package = "google.cloud.bigquery.storage.v1", -- service_yaml = "bigquerystorage_v1.yaml", +- name = "gaming_php_gapic", +- srcs = [":gaming_proto_with_info"], +- grpc_service_config = "gaming_grpc_service_config.json", - deps = [ -- ":storage_php_grpc", -- ":storage_php_proto", +- ":gaming_php_grpc", +- ":gaming_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-bigquery-storage-v1-php", +- name = "google-cloud-gaming-v1beta-php", - deps = [ -- ":storage_php_gapic", -- ":storage_php_grpc", -- ":storage_php_proto", +- ":gaming_php_gapic", +- ":gaming_php_grpc", +- ":gaming_php_proto", - ], -) - @@ -18782,21 +35741,21 @@ diff -urN a/google/cloud/bigquery/storage/v1/BUILD.bazel b/google/cloud/bigquery -) - -nodejs_gapic_library( -- name = "storage_nodejs_gapic", -- package_name = "@google-cloud/bigquery-storage", -- src = ":storage_proto_with_info", +- name = "gaming_nodejs_gapic", +- package_name = "@google-cloud/game-servers", +- src = ":gaming_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "bigquerystorage_grpc_service_config.json", -- package = "google.cloud.bigquery.storage.v1", -- service_yaml = "bigquerystorage_v1.yaml", +- grpc_service_config = "gaming_grpc_service_config.json", +- package = "google.cloud.gaming.v1beta", +- service_yaml = "gameservices_v1beta.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "bigquery-storage-v1-nodejs", +- name = "gaming-v1beta-nodejs", - deps = [ -- ":storage_nodejs_gapic", -- ":storage_proto", +- ":gaming_nodejs_gapic", +- ":gaming_proto", - ], -) - @@ -18812,42 +35771,33 @@ diff -urN a/google/cloud/bigquery/storage/v1/BUILD.bazel b/google/cloud/bigquery -) - -ruby_proto_library( -- name = "storage_ruby_proto", -- deps = [":storage_proto"], +- name = "gaming_ruby_proto", +- deps = [":gaming_proto"], -) - -ruby_grpc_library( -- name = "storage_ruby_grpc", -- srcs = [":storage_proto"], -- deps = [":storage_ruby_proto"], +- name = "gaming_ruby_grpc", +- srcs = [":gaming_proto"], +- deps = [":gaming_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "storage_ruby_gapic", -- srcs = [":storage_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-bigquery-storage-v1", -- "ruby-cloud-env-prefix=BIGQUERY_STORAGE", -- "ruby-cloud-product-url=https://cloud.google.com/bigquery/docs/reference/storage", -- "ruby-cloud-api-id=bigquerystorage.googleapis.com", -- "ruby-cloud-api-shortname=bigquerystorage", -- ], -- grpc_service_config = "bigquerystorage_grpc_service_config.json", -- ruby_cloud_description = "The BigQuery Storage API provides fast access to BigQuery managed storage.", -- ruby_cloud_title = "BigQuery Storage V1", +- name = "gaming_ruby_gapic", +- srcs = [":gaming_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-gaming-v1beta"], - deps = [ -- ":storage_ruby_grpc", -- ":storage_ruby_proto", +- ":gaming_ruby_grpc", +- ":gaming_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-bigquery-storage-v1-ruby", +- name = "google-cloud-gaming-v1beta-ruby", - deps = [ -- ":storage_ruby_gapic", -- ":storage_ruby_grpc", -- ":storage_ruby_proto", +- ":gaming_ruby_gapic", +- ":gaming_ruby_grpc", +- ":gaming_ruby_proto", - ], -) - @@ -18863,63 +35813,60 @@ diff -urN a/google/cloud/bigquery/storage/v1/BUILD.bazel b/google/cloud/bigquery -) - -csharp_proto_library( -- name = "storage_csharp_proto", -- deps = [":storage_proto"], +- name = "gaming_csharp_proto", +- deps = [":gaming_proto"], -) - -csharp_grpc_library( -- name = "storage_csharp_grpc", -- srcs = [":storage_proto"], -- deps = [":storage_csharp_proto"], +- name = "gaming_csharp_grpc", +- srcs = [":gaming_proto"], +- deps = [":gaming_csharp_proto"], -) - -csharp_gapic_library( -- name = "storage_csharp_gapic", -- srcs = [":storage_proto_with_info"], +- name = "gaming_csharp_gapic", +- srcs = [":gaming_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "bigquerystorage_grpc_service_config.json", +- grpc_service_config = "gaming_grpc_service_config.json", - deps = [ -- ":storage_csharp_grpc", -- ":storage_csharp_proto", +- ":gaming_csharp_grpc", +- ":gaming_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-bigquery-storage-v1-csharp", +- name = "google-cloud-gaming-v1beta-csharp", - deps = [ -- ":storage_csharp_gapic", -- ":storage_csharp_grpc", -- ":storage_csharp_proto", +- ":gaming_csharp_gapic", +- ":gaming_csharp_grpc", +- ":gaming_csharp_proto", - ], -) - -############################################################################## -# C++ -############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "cc_grpc_library", -- "cc_proto_library", --) -- --cc_proto_library( -- name = "storage_cc_proto", -- deps = [":storage_proto"], --) -- --cc_grpc_library( -- name = "storage_cc_grpc", -- srcs = [":storage_proto"], -- generate_mocks = True, -- grpc_only = True, -- deps = [":storage_cc_proto"], --) -diff -urN a/google/cloud/bigquery/storage/v1alpha2/BUILD.bazel b/google/cloud/bigquery/storage/v1alpha2/BUILD.bazel ---- a/google/cloud/bigquery/storage/v1alpha2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/bigquery/storage/v1alpha2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,331 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/gkeconnect/gateway/BUILD.bazel b/google/cloud/gkeconnect/gateway/BUILD.bazel +--- a/google/cloud/gkeconnect/gateway/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/gkeconnect/gateway/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/cloud/gkeconnect/gateway/v1/BUILD.bazel b/google/cloud/gkeconnect/gateway/v1/BUILD.bazel +--- a/google/cloud/gkeconnect/gateway/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/gkeconnect/gateway/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,175 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -18931,31 +35878,14 @@ diff -urN a/google/cloud/bigquery/storage/v1alpha2/BUILD.bazel b/google/cloud/bi -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "storage_proto", +- name = "gateway_proto", - srcs = [ -- "protobuf.proto", -- "storage.proto", -- "stream.proto", -- "table.proto", +- "gateway.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", -- "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/rpc:status_proto", -- "@com_google_protobuf//:descriptor_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:timestamp_proto", -- "@com_google_protobuf//:wrappers_proto", -- ], --) -- --proto_library_with_info( -- name = "storage_proto_with_info", -- deps = [ -- ":storage_proto", -- "//google/cloud:common_resources_proto", +- "//google/api:httpbody_proto", - ], -) - @@ -18964,54 +35894,19 @@ diff -urN a/google/cloud/bigquery/storage/v1alpha2/BUILD.bazel b/google/cloud/bi -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "storage_java_proto", -- deps = [":storage_proto"], +- name = "gateway_java_proto", +- deps = [":gateway_proto"], -) - -java_grpc_library( -- name = "storage_java_grpc", -- srcs = [":storage_proto"], -- deps = [":storage_java_proto"], --) -- --java_gapic_library( -- name = "storage_java_gapic", -- srcs = [":storage_proto_with_info"], -- gapic_yaml = "bigquerystorage_gapic.yaml", -- grpc_service_config = "bigquerystorage_grpc_service_config.json", -- test_deps = [ -- ":storage_java_grpc", -- ], -- deps = [ -- ":storage_java_proto", -- ], --) -- --java_gapic_test( -- name = "storage_java_gapic_test_suite", -- test_classes = [ -- "com.google.cloud.bigquery.storage.v1alpha2.BigQueryWriteClientTest", -- ], -- runtime_deps = [":storage_java_gapic_test"], --) -- --# Open Source Packages --java_gapic_assembly_gradle_pkg( -- name = "google-cloud-bigquery-storage-v1alpha2-java", -- deps = [ -- ":storage_java_gapic", -- ":storage_java_grpc", -- ":storage_java_proto", -- ":storage_proto", -- ], +- name = "gateway_java_grpc", +- srcs = [":gateway_proto"], +- deps = [":gateway_java_proto"], -) - -############################################################################## @@ -19019,48 +35914,17 @@ diff -urN a/google/cloud/bigquery/storage/v1alpha2/BUILD.bazel b/google/cloud/bi -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "go_gapic_assembly_pkg", -- "go_gapic_library", - "go_proto_library", -- "go_test", -) - -go_proto_library( -- name = "storage_go_proto", +- name = "gateway_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1alpha2", -- protos = [":storage_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/gkeconnect/gateway/v1", +- protos = [":gateway_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/rpc:status_go_proto", -- ], --) -- --go_gapic_library( -- name = "storage_go_gapic", -- srcs = [":storage_proto_with_info"], -- grpc_service_config = "bigquerystorage_grpc_service_config.json", -- importpath = "cloud.google.com/go/bigquery/storage/apiv1alpha2;storage", -- service_yaml = "bigquerystorage_v1alpha2.yaml", -- deps = [ -- ":storage_go_proto", -- ], --) -- --go_test( -- name = "storage_go_gapic_test", -- srcs = [":storage_go_gapic_srcjar_test"], -- embed = [":storage_go_gapic"], -- importpath = "cloud.google.com/go/bigquery/storage/apiv1alpha2", --) -- --# Open Source Packages --go_gapic_assembly_pkg( -- name = "gapi-cloud-bigquery-storage-v1alpha2-go", -- deps = [ -- ":storage_go_gapic", -- ":storage_go_gapic_srcjar-test.srcjar", -- ":storage_go_proto", +- "//google/api:httpbody_go_proto", - ], -) - @@ -19069,66 +35933,50 @@ diff -urN a/google/cloud/bigquery/storage/v1alpha2/BUILD.bazel b/google/cloud/bi -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "py_gapic_assembly_pkg", -- "py_gapic_library", --) -- --py_gapic_library( -- name = "storage_py_gapic", -- srcs = [":storage_proto"], -- grpc_service_config = "bigquerystorage_grpc_service_config.json", +- "moved_proto_library", +- "py_grpc_library", +- "py_proto_library", -) - --py_gapic_assembly_pkg( -- name = "bigquery-storage-v1alpha2-py", +-moved_proto_library( +- name = "gateway_moved_proto", +- srcs = [":gateway_proto"], - deps = [ -- ":storage_py_gapic", +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:httpbody_proto", - ], -) - +-py_proto_library( +- name = "gateway_py_proto", +- deps = [":gateway_moved_proto"], +-) +- +-py_grpc_library( +- name = "gateway_py_grpc", +- srcs = [":gateway_moved_proto"], +- deps = [":gateway_py_proto"], +-) +- -############################################################################## -# PHP -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "php_gapic_assembly_pkg", -- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "storage_php_proto", -- deps = [":storage_proto"], +- name = "gateway_php_proto", +- deps = [":gateway_proto"], -) - -php_grpc_library( -- name = "storage_php_grpc", -- srcs = [":storage_proto"], -- deps = [":storage_php_proto"], --) -- --php_gapic_library( -- name = "storage_php_gapic", -- src = ":storage_proto_with_info", -- gapic_yaml = "bigquerystorage_gapic.yaml", -- grpc_service_config = "bigquerystorage_grpc_service_config.json", -- package = "google.cloud.bigquery.storage.v1alpha2", -- service_yaml = "bigquerystorage_v1alpha2.yaml", -- deps = [ -- ":storage_php_grpc", -- ":storage_php_proto", -- ], --) -- --# Open Source Packages --php_gapic_assembly_pkg( -- name = "google-cloud-bigquery-storage-v1alpha2-php", -- deps = [ -- ":storage_php_gapic", -- ":storage_php_grpc", -- ":storage_php_proto", -- ], +- name = "gateway_php_grpc", +- srcs = [":gateway_proto"], +- deps = [":gateway_php_proto"], -) - -############################################################################## @@ -19140,121 +35988,64 @@ diff -urN a/google/cloud/bigquery/storage/v1alpha2/BUILD.bazel b/google/cloud/bi - "nodejs_gapic_library", -) - --nodejs_gapic_library( -- name = "storage_nodejs_gapic", -- src = ":storage_proto_with_info", -- extra_protoc_parameters = ["metadata"], -- grpc_service_config = "bigquerystorage_grpc_service_config.json", -- package = "google.cloud.bigquery.storage.v1alpha2", -- service_yaml = "bigquerystorage_v1alpha2.yaml", -- deps = [], +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", -) - --nodejs_gapic_assembly_pkg( -- name = "bigquery-storage-v1alpha2-nodejs", -- deps = [ -- ":storage_nodejs_gapic", -- ":storage_proto", -- ], +-ruby_proto_library( +- name = "gateway_ruby_proto", +- deps = [":gateway_proto"], -) - --############################################################################## --# Ruby --############################################################################## --# Enable once proto2 dependency is eliminated. --#load( --# "@com_google_googleapis_imports//:imports.bzl", --# "ruby_gapic_assembly_pkg", --# "ruby_gapic_library", --# "ruby_grpc_library", --# "ruby_proto_library", --#) --# --#ruby_proto_library( --# name = "storage_ruby_proto", --# deps = [":storage_proto"], --#) --# --#ruby_grpc_library( --# name = "storage_ruby_grpc", --# srcs = [":storage_proto"], --# deps = [":storage_ruby_proto"], --#) --# --#ruby_gapic_library( --# name = "storage_ruby_gapic", --# src = ":storage_proto_with_info", --# gapic_yaml = "bigquerystorage_gapic.yaml", --# package = "google.cloud.bigquery.storage.v1alpha2", --# service_yaml = "bigquerystorage_v1alpha2.yaml", --# deps = [ --# ":storage_ruby_grpc", --# ":storage_ruby_proto", --# ], --#) --# --## Open Source Packages --#ruby_gapic_assembly_pkg( --# name = "google-cloud-bigquery-storage-v1alpha2-ruby", --# deps = [ --# ":storage_ruby_gapic", --# ":storage_ruby_grpc", --# ":storage_ruby_proto", --# ], --#) +-ruby_grpc_library( +- name = "gateway_ruby_grpc", +- srcs = [":gateway_proto"], +- deps = [":gateway_ruby_proto"], +-) - -############################################################################## -# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "storage_csharp_proto", -- deps = [":storage_proto"], +- name = "gateway_csharp_proto", +- deps = [":gateway_proto"], -) - -csharp_grpc_library( -- name = "storage_csharp_grpc", -- srcs = [":storage_proto"], -- deps = [":storage_csharp_proto"], --) -- --csharp_gapic_library( -- name = "storage_csharp_gapic", -- srcs = [":storage_proto_with_info"], -- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "bigquerystorage_grpc_service_config.json", -- deps = [ -- ":storage_csharp_grpc", -- ":storage_csharp_proto", -- ], --) -- --# Open Source Packages --csharp_gapic_assembly_pkg( -- name = "google-cloud-bigquery-storage-v1alpha2-csharp", -- deps = [ -- ":storage_csharp_gapic", -- ":storage_csharp_grpc", -- ":storage_csharp_proto", -- ], +- name = "gateway_csharp_grpc", +- srcs = [":gateway_proto"], +- deps = [":gateway_csharp_proto"], -) - -############################################################################## -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/bigquery/storage/v1beta1/BUILD.bazel b/google/cloud/bigquery/storage/v1beta1/BUILD.bazel ---- a/google/cloud/bigquery/storage/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/bigquery/storage/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,345 +0,0 @@ +diff -urN a/google/cloud/gkeconnect/gateway/v1alpha1/BUILD.bazel b/google/cloud/gkeconnect/gateway/v1alpha1/BUILD.bazel +--- a/google/cloud/gkeconnect/gateway/v1alpha1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/gkeconnect/gateway/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,175 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -19266,29 +36057,14 @@ diff -urN a/google/cloud/bigquery/storage/v1beta1/BUILD.bazel b/google/cloud/big -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "storage_proto", +- name = "gateway_proto", - srcs = [ -- "arrow.proto", -- "avro.proto", -- "read_options.proto", -- "storage.proto", -- "table_reference.proto", +- "gateway.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", -- "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:timestamp_proto", -- ], --) -- --proto_library_with_info( -- name = "storage_proto_with_info", -- deps = [ -- ":storage_proto", -- "//google/cloud:common_resources_proto", +- "//google/api:httpbody_proto", - ], -) - @@ -19297,54 +36073,19 @@ diff -urN a/google/cloud/bigquery/storage/v1beta1/BUILD.bazel b/google/cloud/big -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "storage_java_proto", -- deps = [":storage_proto"], +- name = "gateway_java_proto", +- deps = [":gateway_proto"], -) - -java_grpc_library( -- name = "storage_java_grpc", -- srcs = [":storage_proto"], -- deps = [":storage_java_proto"], --) -- --java_gapic_library( -- name = "storage_java_gapic", -- srcs = [":storage_proto_with_info"], -- gapic_yaml = "bigquerystorage_gapic.yaml", -- grpc_service_config = "bigquerystorage_grpc_service_config.json", -- test_deps = [ -- ":storage_java_grpc", -- ], -- deps = [ -- ":storage_java_proto", -- ], --) -- --java_gapic_test( -- name = "storage_java_gapic_test_suite", -- test_classes = [ -- "com.google.cloud.bigquery.storage.v1beta1.BaseBigQueryStorageClientTest", -- ], -- runtime_deps = [":storage_java_gapic_test"], --) -- --# Open Source Packages --java_gapic_assembly_gradle_pkg( -- name = "google-cloud-bigquery-storage-v1beta1-java", -- deps = [ -- ":storage_java_gapic", -- ":storage_java_grpc", -- ":storage_java_proto", -- ":storage_proto", -- ], +- name = "gateway_java_grpc", +- srcs = [":gateway_proto"], +- deps = [":gateway_java_proto"], -) - -############################################################################## @@ -19352,47 +36093,17 @@ diff -urN a/google/cloud/bigquery/storage/v1beta1/BUILD.bazel b/google/cloud/big -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "go_gapic_assembly_pkg", -- "go_gapic_library", - "go_proto_library", -- "go_test", -) - -go_proto_library( -- name = "storage_go_proto", +- name = "gateway_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1", -- protos = [":storage_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/gkeconnect/gateway/v1alpha1", +- protos = [":gateway_proto"], - deps = [ - "//google/api:annotations_go_proto", -- ], --) -- --go_gapic_library( -- name = "storage_go_gapic", -- srcs = [":storage_proto_with_info"], -- grpc_service_config = "bigquerystorage_grpc_service_config.json", -- importpath = "cloud.google.com/go/bigquery/storage/apiv1beta1;storage", -- service_yaml = "bigquerystorage_v1beta1.yaml", -- deps = [ -- ":storage_go_proto", -- ], --) -- --go_test( -- name = "storage_go_gapic_test", -- srcs = [":storage_go_gapic_srcjar_test"], -- embed = [":storage_go_gapic"], -- importpath = "cloud.google.com/go/bigquery/storage/apiv1beta1", --) -- --# Open Source Packages --go_gapic_assembly_pkg( -- name = "gapi-cloud-bigquery-storage-v1beta1-go", -- deps = [ -- ":storage_go_gapic", -- ":storage_go_gapic_srcjar-test.srcjar", -- ":storage_go_proto", +- "//google/api:httpbody_go_proto", - ], -) - @@ -19401,66 +36112,50 @@ diff -urN a/google/cloud/bigquery/storage/v1beta1/BUILD.bazel b/google/cloud/big -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "py_gapic_assembly_pkg", -- "py_gapic_library", --) -- --py_gapic_library( -- name = "storage_py_gapic", -- srcs = [":storage_proto"], -- grpc_service_config = "bigquerystorage_grpc_service_config.json", +- "moved_proto_library", +- "py_grpc_library", +- "py_proto_library", -) - --py_gapic_assembly_pkg( -- name = "bigquery-storage-v1beta1-py", +-moved_proto_library( +- name = "gateway_moved_proto", +- srcs = [":gateway_proto"], - deps = [ -- ":storage_py_gapic", +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:httpbody_proto", - ], -) - +-py_proto_library( +- name = "gateway_py_proto", +- deps = [":gateway_moved_proto"], +-) +- +-py_grpc_library( +- name = "gateway_py_grpc", +- srcs = [":gateway_moved_proto"], +- deps = [":gateway_py_proto"], +-) +- -############################################################################## -# PHP -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "php_gapic_assembly_pkg", -- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "storage_php_proto", -- deps = [":storage_proto"], +- name = "gateway_php_proto", +- deps = [":gateway_proto"], -) - -php_grpc_library( -- name = "storage_php_grpc", -- srcs = [":storage_proto"], -- deps = [":storage_php_proto"], --) -- --php_gapic_library( -- name = "storage_php_gapic", -- src = ":storage_proto_with_info", -- gapic_yaml = "bigquerystorage_gapic.yaml", -- grpc_service_config = "bigquerystorage_grpc_service_config.json", -- package = "google.cloud.bigquery.storage.v1beta1", -- service_yaml = "bigquerystorage_v1beta1.yaml", -- deps = [ -- ":storage_php_grpc", -- ":storage_php_proto", -- ], --) -- --# Open Source Packages --php_gapic_assembly_pkg( -- name = "google-cloud-bigquery-storage-v1beta1-php", -- deps = [ -- ":storage_php_gapic", -- ":storage_php_grpc", -- ":storage_php_proto", -- ], +- name = "gateway_php_grpc", +- srcs = [":gateway_proto"], +- deps = [":gateway_php_proto"], -) - -############################################################################## @@ -19472,67 +36167,24 @@ diff -urN a/google/cloud/bigquery/storage/v1beta1/BUILD.bazel b/google/cloud/big - "nodejs_gapic_library", -) - --nodejs_gapic_library( -- name = "storage_nodejs_gapic", -- package_name = "@google-cloud/bigquery-storage", -- src = ":storage_proto_with_info", -- extra_protoc_parameters = ["metadata"], -- grpc_service_config = "bigquerystorage_grpc_service_config.json", -- package = "google.cloud.bigquery.storage.v1beta1", -- service_yaml = "bigquerystorage_v1beta1.yaml", -- deps = [], --) -- --nodejs_gapic_assembly_pkg( -- name = "bigquery-storage-v1beta1-nodejs", -- deps = [ -- ":storage_nodejs_gapic", -- ":storage_proto", -- ], --) -- -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "storage_ruby_proto", -- deps = [":storage_proto"], +- name = "gateway_ruby_proto", +- deps = [":gateway_proto"], -) - -ruby_grpc_library( -- name = "storage_ruby_grpc", -- srcs = [":storage_proto"], -- deps = [":storage_ruby_proto"], --) -- --ruby_gapic_library( -- name = "storage_ruby_gapic", -- src = ":storage_proto_with_info", -- gapic_yaml = "bigquerystorage_gapic.yaml", -- package = "google.cloud.bigquery.storage.v1beta1", -- service_yaml = "bigquerystorage_v1beta1.yaml", -- deps = [ -- ":storage_ruby_grpc", -- ":storage_ruby_proto", -- ], --) -- --# Open Source Packages --ruby_gapic_assembly_pkg( -- name = "google-cloud-bigquery-storage-v1beta1-ruby", -- deps = [ -- ":storage_ruby_gapic", -- ":storage_ruby_grpc", -- ":storage_ruby_proto", -- ], +- name = "gateway_ruby_grpc", +- srcs = [":gateway_proto"], +- deps = [":gateway_ruby_proto"], -) - -############################################################################## @@ -19540,69 +36192,40 @@ diff -urN a/google/cloud/bigquery/storage/v1beta1/BUILD.bazel b/google/cloud/big -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "storage_csharp_proto", -- deps = [":storage_proto"], +- name = "gateway_csharp_proto", +- deps = [":gateway_proto"], -) - -csharp_grpc_library( -- name = "storage_csharp_grpc", -- srcs = [":storage_proto"], -- deps = [":storage_csharp_proto"], --) -- --csharp_gapic_library( -- name = "storage_csharp_gapic", -- srcs = [":storage_proto_with_info"], -- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "bigquerystorage_grpc_service_config.json", -- deps = [ -- ":storage_csharp_grpc", -- ":storage_csharp_proto", -- ], --) -- --# Open Source Packages --csharp_gapic_assembly_pkg( -- name = "google-cloud-bigquery-storage-v1beta1-csharp", -- deps = [ -- ":storage_csharp_gapic", -- ":storage_csharp_grpc", -- ":storage_csharp_proto", -- ], +- name = "gateway_csharp_grpc", +- srcs = [":gateway_proto"], +- deps = [":gateway_csharp_proto"], -) - -############################################################################## -# C++ -############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "cc_grpc_library", -- "cc_proto_library", --) +-# Put your C++ rules here +diff -urN a/google/cloud/gkeconnect/gateway/v1beta1/BUILD.bazel b/google/cloud/gkeconnect/gateway/v1beta1/BUILD.bazel +--- a/google/cloud/gkeconnect/gateway/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/gkeconnect/gateway/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,341 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel - --cc_proto_library( -- name = "storage_cc_proto", -- deps = [":storage_proto"], --) +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - --cc_grpc_library( -- name = "storage_cc_grpc", -- srcs = [":storage_proto"], -- generate_mocks = True, -- grpc_only = True, -- deps = [":storage_cc_proto"], --) -diff -urN a/google/cloud/bigquery/storage/v1beta2/BUILD.bazel b/google/cloud/bigquery/storage/v1beta2/BUILD.bazel ---- a/google/cloud/bigquery/storage/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/bigquery/storage/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,351 +0,0 @@ -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) - @@ -19613,32 +36236,21 @@ diff -urN a/google/cloud/bigquery/storage/v1beta2/BUILD.bazel b/google/cloud/big -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "storage_proto", +- name = "gateway_proto", - srcs = [ -- "arrow.proto", -- "avro.proto", -- "protobuf.proto", -- "storage.proto", -- "stream.proto", -- "table.proto", +- "gateway.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", -- "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/rpc:status_proto", -- "@com_google_protobuf//:descriptor_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:timestamp_proto", -- "@com_google_protobuf//:wrappers_proto", +- "//google/api:httpbody_proto", - ], -) - -proto_library_with_info( -- name = "storage_proto_with_info", +- name = "gateway_proto_with_info", - deps = [ -- ":storage_proto", +- ":gateway_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -19656,45 +36268,45 @@ diff -urN a/google/cloud/bigquery/storage/v1beta2/BUILD.bazel b/google/cloud/big -) - -java_proto_library( -- name = "storage_java_proto", -- deps = [":storage_proto"], +- name = "gateway_java_proto", +- deps = [":gateway_proto"], -) - -java_grpc_library( -- name = "storage_java_grpc", -- srcs = [":storage_proto"], -- deps = [":storage_java_proto"], +- name = "gateway_java_grpc", +- srcs = [":gateway_proto"], +- deps = [":gateway_java_proto"], -) - -java_gapic_library( -- name = "storage_java_gapic", -- srcs = [":storage_proto_with_info"], -- gapic_yaml = "bigquerystorage_gapic.yaml", -- grpc_service_config = "bigquerystorage_grpc_service_config.json", +- name = "gateway_java_gapic", +- srcs = [":gateway_proto_with_info"], +- grpc_service_config = "connectgw_grpc_service_config.json", - test_deps = [ -- ":storage_java_grpc", +- ":gateway_java_grpc", - ], - deps = [ -- ":storage_java_proto", +- ":gateway_java_proto", +- "//google/api:api_java_proto", - ], -) - -java_gapic_test( -- name = "storage_java_gapic_test_suite", +- name = "gateway_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.bigquery.storage.v1beta2.BaseBigQueryReadClientTest", +- "com.google.cloud.gkeconnect.gateway.v1beta1.GatewayServiceClientTest", - ], -- runtime_deps = [":storage_java_gapic_test"], +- runtime_deps = [":gateway_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-bigquery-storage-v1beta2-java", +- name = "google-cloud-gkeconnect-gateway-v1beta1-java", - deps = [ -- ":storage_java_gapic", -- ":storage_java_grpc", -- ":storage_java_proto", -- ":storage_proto", +- ":gateway_java_gapic", +- ":gateway_java_grpc", +- ":gateway_java_proto", +- ":gateway_proto", - ], -) - @@ -19710,48 +36322,50 @@ diff -urN a/google/cloud/bigquery/storage/v1beta2/BUILD.bazel b/google/cloud/big -) - -go_proto_library( -- name = "storage_go_proto", +- name = "gateway_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta2", -- protos = [":storage_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/gkeconnect/gateway/v1beta1", +- protos = [":gateway_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/rpc:status_go_proto", +- "//google/api:httpbody_go_proto", - ], -) - -go_gapic_library( -- name = "storage_go_gapic", -- srcs = [":storage_proto_with_info"], -- grpc_service_config = "bigquerystorage_grpc_service_config.json", -- importpath = "cloud.google.com/go/bigquery/storage/apiv1beta2;storage", -- service_yaml = "bigquerystorage_v1beta2.yaml", +- name = "gateway_go_gapic", +- srcs = [":gateway_proto_with_info"], +- grpc_service_config = "connectgw_grpc_service_config.json", +- importpath = "cloud.google.com/go/gkeconnect/gateway/apiv1beta1;gateway", +- service_yaml = "connectgateway_v1beta1.yaml", +- metadata = True, - deps = [ -- ":storage_go_proto", +- ":gateway_go_proto", +- "//google/api:httpbody_go_proto", - ], -) - -go_test( -- name = "storage_go_gapic_test", -- srcs = [":storage_go_gapic_srcjar_test"], -- embed = [":storage_go_gapic"], -- importpath = "cloud.google.com/go/bigquery/storage/apiv1beta2", +- name = "gateway_go_gapic_test", +- srcs = [":gateway_go_gapic_srcjar_test"], +- embed = [":gateway_go_gapic"], +- importpath = "cloud.google.com/go/gkeconnect/gateway/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-bigquery-storage-v1beta2-go", +- name = "gapi-cloud-gkeconnect-gateway-v1beta1-go", - deps = [ -- ":storage_go_gapic", -- ":storage_go_gapic_srcjar-test.srcjar", -- ":storage_go_proto", +- ":gateway_go_gapic", +- ":gateway_go_gapic_srcjar-test.srcjar", +- ":gateway_go_gapic_srcjar-metadata.srcjar", +- ":gateway_go_proto", - ], -) - -############################################################################## -# Python -############################################################################## -- -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_gapic_assembly_pkg", @@ -19759,19 +36373,17 @@ diff -urN a/google/cloud/bigquery/storage/v1beta2/BUILD.bazel b/google/cloud/big -) - -py_gapic_library( -- name = "storage_py_gapic", -- srcs = [":storage_proto"], -- grpc_service_config = "bigquerystorage_grpc_service_config.json", -- opt_args = [ -- "python-gapic-namespace=google.cloud", -- "python-gapic-name=bigquery_storage", -- ], +- name = "gateway_py_gapic", +- srcs = [":gateway_proto"], +- grpc_service_config = "connectgw_grpc_service_config.json", +- opt_args = ["warehouse-package-name=google-cloud-gke-connect-gateway"] -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "bigquery-storage-v1beta2-py", +- name = "gkeconnect-gateway-v1beta1-py", - deps = [ -- ":storage_py_gapic", +- ":gateway_py_gapic", - ], -) - @@ -19787,36 +36399,34 @@ diff -urN a/google/cloud/bigquery/storage/v1beta2/BUILD.bazel b/google/cloud/big -) - -php_proto_library( -- name = "storage_php_proto", -- deps = [":storage_proto"], +- name = "gateway_php_proto", +- deps = [":gateway_proto"], -) - -php_grpc_library( -- name = "storage_php_grpc", -- srcs = [":storage_proto"], -- deps = [":storage_php_proto"], +- name = "gateway_php_grpc", +- srcs = [":gateway_proto"], +- deps = [":gateway_php_proto"], -) - -php_gapic_library( -- name = "storage_php_gapic", -- src = ":storage_proto_with_info", -- gapic_yaml = "bigquerystorage_gapic.yaml", -- grpc_service_config = "bigquerystorage_grpc_service_config.json", -- package = "google.cloud.bigquery.storage.v1beta2", -- service_yaml = "bigquerystorage_v1beta2.yaml", +- name = "gateway_php_gapic", +- srcs = [":gateway_proto_with_info"], +- grpc_service_config = "connectgw_grpc_service_config.json", +- service_yaml = "connectgateway_v1beta1.yaml", - deps = [ -- ":storage_php_grpc", -- ":storage_php_proto", +- ":gateway_php_grpc", +- ":gateway_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-bigquery-storage-v1beta2-php", +- name = "google-cloud-gkeconnect-gateway-v1beta1-php", - deps = [ -- ":storage_php_gapic", -- ":storage_php_grpc", -- ":storage_php_proto", +- ":gateway_php_gapic", +- ":gateway_php_grpc", +- ":gateway_php_proto", - ], -) - @@ -19830,65 +36440,74 @@ diff -urN a/google/cloud/bigquery/storage/v1beta2/BUILD.bazel b/google/cloud/big -) - -nodejs_gapic_library( -- name = "storage_nodejs_gapic", -- src = ":storage_proto_with_info", +- name = "gateway_nodejs_gapic", +- package_name = "@google-cloud/gateway", +- src = ":gateway_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "bigquerystorage_grpc_service_config.json", -- package = "google.cloud.bigquery.storage.v1beta2", -- service_yaml = "bigquerystorage_v1beta2.yaml", +- grpc_service_config = "connectgw_grpc_service_config.json", +- package = "google.cloud.gkeconnect.gateway.v1beta1", +- service_yaml = "connectgateway_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "bigquery-storage-v1beta2-nodejs", +- name = "gkeconnect-gateway-v1beta1-nodejs", - deps = [ -- ":storage_nodejs_gapic", -- ":storage_proto", +- ":gateway_nodejs_gapic", +- ":gateway_proto", - ], -) - -############################################################################## -# Ruby -############################################################################## --# load( --# "@com_google_googleapis_imports//:imports.bzl", --# "ruby_gapic_assembly_pkg", --# "ruby_gapic_library", --# "ruby_grpc_library", --# "ruby_proto_library", --# ) -- --# ruby_proto_library( --# name = "storage_ruby_proto", --# deps = [":storage_proto"], --# ) +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", +- "ruby_grpc_library", +- "ruby_proto_library", +-) - --# ruby_grpc_library( --# name = "storage_ruby_grpc", --# srcs = [":storage_proto"], --# deps = [":storage_ruby_proto"], --# ) +-ruby_proto_library( +- name = "gateway_ruby_proto", +- deps = [":gateway_proto"], +-) - --# ruby_gapic_library( --# name = "storage_ruby_gapic", --# src = ":storage_proto_with_info", --# gapic_yaml = "bigquerystorage_gapic.yaml", --# package = "google.cloud.bigquery.storage.v1beta2", --# service_yaml = "bigquerystorage_v1beta2.yaml", --# deps = [ --# ":storage_ruby_grpc", --# ":storage_ruby_proto", --# ], --# ) +-ruby_grpc_library( +- name = "gateway_ruby_grpc", +- srcs = [":gateway_proto"], +- deps = [":gateway_ruby_proto"], +-) - --# ruby_gapic_assembly_pkg( --# name = "google-cloud-bigquery-storage-v1beta2-ruby", --# deps = [ --# ":storage_ruby_gapic", --# ":storage_ruby_grpc", --# ":storage_ruby_proto", --# ], --# ) +-ruby_cloud_gapic_library( +- name = "gateway_ruby_gapic", +- srcs = [":gateway_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-gke_connect-gateway-v1beta1", +- "ruby-cloud-env-prefix=GKE_CONNECT_GATEWAY", +- "ruby-cloud-product-url=https://cloud.google.com/anthos/multicluster-management/gateway/", +- "ruby-cloud-api-id=connectgateway.googleapis.com", +- "ruby-cloud-api-shortname=connectgateway", +- ], +- grpc_service_config = "connectgw_grpc_service_config.json", +- ruby_cloud_description = "The Connect gateway builds on the power of fleets to let Anthos users connect to and run commands against registered Anthos clusters in a simple, consistent, and secured way, whether the clusters are on Google Cloud, other public clouds, or on premises, and makes it easier to automate DevOps processes across all your clusters.", +- ruby_cloud_title = "Connect Gateway V1beta1", +- deps = [ +- ":gateway_ruby_grpc", +- ":gateway_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-gkeconnect-gateway-v1beta1-ruby", +- deps = [ +- ":gateway_ruby_gapic", +- ":gateway_ruby_grpc", +- ":gateway_ruby_proto", +- ], +-) - -############################################################################## -# C# @@ -19902,63 +36521,55 @@ diff -urN a/google/cloud/bigquery/storage/v1beta2/BUILD.bazel b/google/cloud/big -) - -csharp_proto_library( -- name = "storage_csharp_proto", -- deps = [":storage_proto"], +- name = "gateway_csharp_proto", +- deps = [":gateway_proto"], -) - -csharp_grpc_library( -- name = "storage_csharp_grpc", -- srcs = [":storage_proto"], -- deps = [":storage_csharp_proto"], +- name = "gateway_csharp_grpc", +- srcs = [":gateway_proto"], +- deps = [":gateway_csharp_proto"], -) - -csharp_gapic_library( -- name = "storage_csharp_gapic", -- srcs = [":storage_proto_with_info"], +- name = "gateway_csharp_gapic", +- srcs = [":gateway_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "bigquerystorage_grpc_service_config.json", +- grpc_service_config = "connectgw_grpc_service_config.json", - deps = [ -- ":storage_csharp_grpc", -- ":storage_csharp_proto", +- ":gateway_csharp_grpc", +- ":gateway_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-bigquery-storage-v1beta2-csharp", +- name = "google-cloud-gkeconnect-gateway-v1beta1-csharp", - deps = [ -- ":storage_csharp_gapic", -- ":storage_csharp_grpc", -- ":storage_csharp_proto", +- ":gateway_csharp_gapic", +- ":gateway_csharp_grpc", +- ":gateway_csharp_proto", - ], -) - -############################################################################## -# C++ -############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "cc_grpc_library", -- "cc_proto_library", --) -- --cc_proto_library( -- name = "storage_cc_proto", -- deps = [":storage_proto"], --) -- --cc_grpc_library( -- name = "storage_cc_grpc", -- srcs = [":storage_proto"], -- generate_mocks = True, -- grpc_only = True, -- deps = [":storage_cc_proto"], --) -diff -urN a/google/cloud/bigquery/v2/BUILD.bazel b/google/cloud/bigquery/v2/BUILD.bazel ---- a/google/cloud/bigquery/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/bigquery/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,326 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/gkehub/v1/BUILD.bazel b/google/cloud/gkehub/v1/BUILD.bazel +--- a/google/cloud/gkehub/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/gkehub/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,348 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -19970,28 +36581,29 @@ diff -urN a/google/cloud/bigquery/v2/BUILD.bazel b/google/cloud/bigquery/v2/BUIL -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "bigquery_proto", +- name = "gkehub_proto", - srcs = [ -- "encryption_config.proto", -- "model.proto", -- "model_reference.proto", -- "standard_sql.proto", -- "table_reference.proto", +- "feature.proto", +- "membership.proto", +- "service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "@com_google_protobuf//:empty_proto", +- "//google/api:resource_proto", +- "//google/cloud/gkehub/v1/configmanagement:configmanagement_proto", +- "//google/cloud/gkehub/v1/multiclusteringress:multiclusteringress_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", -- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "bigquery_proto_with_info", +- name = "gkehub_proto_with_info", - deps = [ -- ":bigquery_proto", +- ":gkehub_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -20009,44 +36621,44 @@ diff -urN a/google/cloud/bigquery/v2/BUILD.bazel b/google/cloud/bigquery/v2/BUIL -) - -java_proto_library( -- name = "bigquery_java_proto", -- deps = [":bigquery_proto"], +- name = "gkehub_java_proto", +- deps = [":gkehub_proto"], -) - -java_grpc_library( -- name = "bigquery_java_grpc", -- srcs = [":bigquery_proto"], -- deps = [":bigquery_java_proto"], +- name = "gkehub_java_grpc", +- srcs = [":gkehub_proto"], +- deps = [":gkehub_java_proto"], -) - -java_gapic_library( -- name = "bigquery_java_gapic", -- srcs = [":bigquery_proto_with_info"], -- grpc_service_config = "bigquery_grpc_service_config.json", +- name = "gkehub_java_gapic", +- srcs = [":gkehub_proto_with_info"], +- grpc_service_config = "v1_grpc_service_config.json", - test_deps = [ -- ":bigquery_java_grpc", +- ":gkehub_java_grpc", - ], - deps = [ -- ":bigquery_java_proto", +- ":gkehub_java_proto", - ], -) - -java_gapic_test( -- name = "bigquery_java_gapic_test_suite", +- name = "gkehub_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.bigquery.v2.ModelServiceClientTest", +- "com.google.cloud.gkehub.v1.GkeHubClientTest", - ], -- runtime_deps = [":bigquery_java_gapic_test"], +- runtime_deps = [":gkehub_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-bigquery-v2-java", +- name = "google-cloud-gkehub-v1-java", - deps = [ -- ":bigquery_java_gapic", -- ":bigquery_java_grpc", -- ":bigquery_java_proto", -- ":bigquery_proto", +- ":gkehub_java_gapic", +- ":gkehub_java_grpc", +- ":gkehub_java_proto", +- ":gkehub_proto", - ], -) - @@ -20062,40 +36674,48 @@ diff -urN a/google/cloud/bigquery/v2/BUILD.bazel b/google/cloud/bigquery/v2/BUIL -) - -go_proto_library( -- name = "bigquery_go_proto", +- name = "gkehub_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/v2", -- protos = [":bigquery_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/v1", +- protos = [":gkehub_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/cloud/gkehub/v1/configmanagement:configmanagement_go_proto", +- "//google/cloud/gkehub/v1/multiclusteringress:multiclusteringress_go_proto", +- "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "bigquery_go_gapic", -- srcs = [":bigquery_proto_with_info"], -- grpc_service_config = "bigquery_grpc_service_config.json", -- importpath = "cloud.google.com/go/bigquery/apiv2;bigquery", -- service_yaml = "bigquery_v2.yaml", +- name = "gkehub_go_gapic", +- srcs = [":gkehub_proto_with_info"], +- grpc_service_config = "v1_grpc_service_config.json", +- importpath = "cloud.google.com/go/gkehub/apiv1;gkehub", +- service_yaml = "gkehub_v1.yaml", +- metadata = True, - deps = [ -- ":bigquery_go_proto", +- ":gkehub_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@com_google_cloud_go//longrunning:go_default_library", - ], -) - -go_test( -- name = "bigquery_go_gapic_test", -- srcs = [":bigquery_go_gapic_srcjar_test"], -- embed = [":bigquery_go_gapic"], -- importpath = "cloud.google.com/go/bigquery/apiv2", +- name = "gkehub_go_gapic_test", +- srcs = [":gkehub_go_gapic_srcjar_test"], +- embed = [":gkehub_go_gapic"], +- importpath = "cloud.google.com/go/gkehub/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-bigquery-v2-go", +- name = "gapi-cloud-gkehub-v1-go", - deps = [ -- ":bigquery_go_gapic", -- ":bigquery_go_gapic_srcjar-test.srcjar", -- ":bigquery_go_proto", +- ":gkehub_go_gapic", +- ":gkehub_go_gapic_srcjar-test.srcjar", +- ":gkehub_go_gapic_srcjar-metadata.srcjar", +- ":gkehub_go_proto", - ], -) - @@ -20109,15 +36729,19 @@ diff -urN a/google/cloud/bigquery/v2/BUILD.bazel b/google/cloud/bigquery/v2/BUIL -) - -py_gapic_library( -- name = "bigquery_py_gapic", -- srcs = [":bigquery_proto"], -- grpc_service_config = "bigquery_grpc_service_config.json", +- name = "gkehub_py_gapic", +- srcs = [":gkehub_proto"], +- grpc_service_config = "v1_grpc_service_config.json", +- opt_args = ["warehouse-package-name=google-cloud-gke-hub"], -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "bigquery-v2-py", +- name = "gkehub-v1-py", - deps = [ -- ":bigquery_py_gapic", +- ":gkehub_py_gapic", +- "//google/cloud/gkehub/v1/configmanagement:configmanagement_py_gapic", +- "//google/cloud/gkehub/v1/multiclusteringress:multiclusteringress_py_gapic", - ], -) - @@ -20133,38 +36757,36 @@ diff -urN a/google/cloud/bigquery/v2/BUILD.bazel b/google/cloud/bigquery/v2/BUIL -) - -php_proto_library( -- name = "bigquery_php_proto", -- deps = [":bigquery_proto"], +- name = "gkehub_php_proto", +- deps = [":gkehub_proto"], -) - -php_grpc_library( -- name = "bigquery_php_grpc", -- srcs = [":bigquery_proto"], -- deps = [":bigquery_php_proto"], +- name = "gkehub_php_grpc", +- srcs = [":gkehub_proto"], +- deps = [":gkehub_php_proto"], -) - --# Add api.http options to all RPCs in the services to enable PHP GAPIC --#php_gapic_library( --# name = "bigquery_php_gapic", --# src = ":bigquery_proto_with_info", --# gapic_yaml = "bigquery_gapic.yaml", --# package = "google.cloud.bigquery.v2", --# service_yaml = "bigquery_v2.yaml", --# deps = [ --# ":bigquery_php_grpc", --# ":bigquery_php_proto", --# ], --#) --# --## Open Source Packages --#php_gapic_assembly_pkg( --# name = "google-cloud-bigquery-v2-php", --# deps = [ --# ":bigquery_php_gapic", --# ":bigquery_php_grpc", --# ":bigquery_php_proto", --# ], --#) +-php_gapic_library( +- name = "gkehub_php_gapic", +- srcs = [":gkehub_proto_with_info"], +- grpc_service_config = "v1_grpc_service_config.json", +- service_yaml = "gkehub_v1.yaml", +- deps = [ +- ":gkehub_php_grpc", +- ":gkehub_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-gkehub-v1-php", +- deps = [ +- ":gkehub_php_gapic", +- ":gkehub_php_grpc", +- ":gkehub_php_proto", +- ], +-) - -############################################################################## -# Node.js @@ -20176,20 +36798,21 @@ diff -urN a/google/cloud/bigquery/v2/BUILD.bazel b/google/cloud/bigquery/v2/BUIL -) - -nodejs_gapic_library( -- name = "bigquery_nodejs_gapic", -- src = ":bigquery_proto_with_info", +- name = "gkehub_nodejs_gapic", +- package_name = "@google-cloud/gkehub", +- src = ":gkehub_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "bigquery_grpc_service_config.json", -- package = "google.cloud.bigquery.v2", -- service_yaml = "bigquery_v2.yaml", +- grpc_service_config = "v1_grpc_service_config.json", +- package = "google.cloud.gkehub.v1", +- service_yaml = "gkehub_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "bigquery-v2-nodejs", +- name = "gkehub-v1-nodejs", - deps = [ -- ":bigquery_nodejs_gapic", -- ":bigquery_proto", +- ":gkehub_nodejs_gapic", +- ":gkehub_proto", - ], -) - @@ -20199,41 +36822,42 @@ diff -urN a/google/cloud/bigquery/v2/BUILD.bazel b/google/cloud/bigquery/v2/BUIL -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "bigquery_ruby_proto", -- deps = [":bigquery_proto"], +- name = "gkehub_ruby_proto", +- deps = [":gkehub_proto"], -) - -ruby_grpc_library( -- name = "bigquery_ruby_grpc", -- srcs = [":bigquery_proto"], -- deps = [":bigquery_ruby_proto"], +- name = "gkehub_ruby_grpc", +- srcs = [":gkehub_proto"], +- deps = [":gkehub_ruby_proto"], -) - --ruby_gapic_library( -- name = "bigquery_ruby_gapic", -- src = ":bigquery_proto_with_info", -- gapic_yaml = "bigquery_gapic.yaml", -- package = "google.cloud.bigquery.v2", -- service_yaml = "bigquery_v2.yaml", +-ruby_cloud_gapic_library( +- name = "gkehub_ruby_gapic", +- srcs = [":gkehub_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-gkehub-v1", +- ], +- grpc_service_config = "v1_grpc_service_config.json", - deps = [ -- ":bigquery_ruby_grpc", -- ":bigquery_ruby_proto", +- ":gkehub_ruby_grpc", +- ":gkehub_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-bigquery-v2-ruby", +- name = "google-cloud-gkehub-v1-ruby", - deps = [ -- ":bigquery_ruby_gapic", -- ":bigquery_ruby_grpc", -- ":bigquery_ruby_proto", +- ":gkehub_ruby_gapic", +- ":gkehub_ruby_grpc", +- ":gkehub_ruby_proto", - ], -) - @@ -20249,34 +36873,34 @@ diff -urN a/google/cloud/bigquery/v2/BUILD.bazel b/google/cloud/bigquery/v2/BUIL -) - -csharp_proto_library( -- name = "bigquery_csharp_proto", -- deps = [":bigquery_proto"], +- name = "gkehub_csharp_proto", +- deps = [":gkehub_proto"], -) - -csharp_grpc_library( -- name = "bigquery_csharp_grpc", -- srcs = [":bigquery_proto"], -- deps = [":bigquery_csharp_proto"], +- name = "gkehub_csharp_grpc", +- srcs = [":gkehub_proto"], +- deps = [":gkehub_csharp_proto"], -) - -csharp_gapic_library( -- name = "bigquery_csharp_gapic", -- srcs = [":bigquery_proto_with_info"], +- name = "gkehub_csharp_gapic", +- srcs = [":gkehub_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "bigquery_grpc_service_config.json", +- grpc_service_config = "v1_grpc_service_config.json", - deps = [ -- ":bigquery_csharp_grpc", -- ":bigquery_csharp_proto", +- ":gkehub_csharp_grpc", +- ":gkehub_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-bigquery-v2-csharp", +- name = "google-cloud-gkehub-v1-csharp", - deps = [ -- ":bigquery_csharp_gapic", -- ":bigquery_csharp_grpc", -- ":bigquery_csharp_proto", +- ":gkehub_csharp_gapic", +- ":gkehub_csharp_grpc", +- ":gkehub_csharp_proto", - ], -) - @@ -20284,305 +36908,160 @@ diff -urN a/google/cloud/bigquery/v2/BUILD.bazel b/google/cloud/bigquery/v2/BUIL -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/billing/budgets/v1/BUILD.bazel b/google/cloud/billing/budgets/v1/BUILD.bazel ---- a/google/cloud/billing/budgets/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/billing/budgets/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,291 +0,0 @@ +diff -urN a/google/cloud/gkehub/v1/configmanagement/BUILD.bazel b/google/cloud/gkehub/v1/configmanagement/BUILD.bazel +--- a/google/cloud/gkehub/v1/configmanagement/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/gkehub/v1/configmanagement/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,146 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", -- "csharp_grpc_library", -- "csharp_proto_library", -- "go_gapic_assembly_pkg", -- "go_gapic_library", -- "go_proto_library", -- "go_test", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", -- "java_grpc_library", -- "java_proto_library", -- "nodejs_gapic_assembly_pkg", -- "nodejs_gapic_library", -- "php_gapic_assembly_pkg", -- "php_gapic_library", -- "php_grpc_library", -- "php_proto_library", -- "proto_library_with_info", -- "py_gapic_assembly_pkg", -- "py_gapic_library", -- "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", -- "ruby_grpc_library", -- "ruby_proto_library", --) -- --# This is an API workspace, having public visibility by default makes perfect sense. --package(default_visibility = ["//visibility:public"]) - -proto_library( -- name = "budgets_proto", +- name = "configmanagement_proto", - srcs = [ -- "budget_model.proto", -- "budget_service.proto", +- "configmanagement.proto", - ], - deps = [ - "//google/api:annotations_proto", -- "//google/api:client_proto", -- "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/type:money_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:timestamp_proto", - ], -) - --proto_library_with_info( -- name = "budgets_proto_with_info", -- deps = [ -- ":budgets_proto", -- "//google/cloud:common_resources_proto", -- ], +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", -) - -java_proto_library( -- name = "budgets_java_proto", -- deps = [":budgets_proto"], +- name = "configmanagement_java_proto", +- deps = [":configmanagement_proto"], -) - -java_grpc_library( -- name = "budgets_java_grpc", -- srcs = [":budgets_proto"], -- deps = [":budgets_java_proto"], --) -- --java_gapic_library( -- name = "budgets_java_gapic", -- srcs = [":budgets_proto_with_info"], -- grpc_service_config = "billingbudgets_grpc_service_config.json", -- test_deps = [ -- ":budgets_java_grpc", -- ], -- deps = [ -- ":budgets_java_proto", -- ], --) -- --java_gapic_test( -- name = "budgets_java_gapic_test_suite", -- test_classes = [ -- ], -- runtime_deps = [":budgets_java_gapic_test"], +- name = "configmanagement_java_grpc", +- srcs = [":configmanagement_proto"], +- deps = [":configmanagement_java_proto"], -) - --# Open Source Packages --java_gapic_assembly_gradle_pkg( -- name = "google-cloud-billing-budgets-v1-java", -- deps = [ -- ":budgets_java_gapic", -- ":budgets_java_grpc", -- ":budgets_java_proto", -- ":budgets_proto", -- ], +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", -) - -go_proto_library( -- name = "budgets_go_proto", +- name = "configmanagement_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/billing/budgets/v1", -- protos = [":budgets_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/configmanagement/v1", +- protos = [":configmanagement_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/type:money_go_proto", -- ], --) -- --go_gapic_library( -- name = "budgets_go_gapic", -- srcs = [":budgets_proto_with_info"], -- grpc_service_config = "billingbudgets_grpc_service_config.json", -- importpath = "cloud.google.com/go/billing/budgets/apiv1;budgets", -- service_yaml = "billingbudgets.yaml", -- deps = [ -- ":budgets_go_proto", - ], -) - --go_test( -- name = "budgets_go_gapic_test", -- srcs = [":budgets_go_gapic_srcjar_test"], -- embed = [":budgets_go_gapic"], -- importpath = "cloud.google.com/go/billing/budgets/apiv1", --) -- --# Open Source Packages --go_gapic_assembly_pkg( -- name = "gapi-cloud-billing-budgets-v1-go", -- deps = [ -- ":budgets_go_gapic", -- ":budgets_go_gapic_srcjar-test.srcjar", -- ":budgets_go_proto", -- ], +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_library", -) - -py_gapic_library( -- name = "budgets_py_gapic", -- srcs = [":budgets_proto"], -- grpc_service_config = "billingbudgets_grpc_service_config.json", +- name = "configmanagement_py_gapic", +- srcs = [":configmanagement_proto"], -) - --# Open Source Packages --py_gapic_assembly_pkg( -- name = "billing-budgets-v1-py", -- deps = [ -- ":budgets_py_gapic", -- ], +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_grpc_library", +- "php_proto_library", -) - -php_proto_library( -- name = "budgets_php_proto", -- deps = [":budgets_proto"], +- name = "configmanagement_php_proto", +- deps = [":configmanagement_proto"], -) - -php_grpc_library( -- name = "budgets_php_grpc", -- srcs = [":budgets_proto"], -- deps = [":budgets_php_proto"], --) -- --php_gapic_library( -- name = "budgets_php_gapic", -- src = ":budgets_proto_with_info", -- gapic_yaml = "billingbudget_gapic.yaml", -- grpc_service_config = "billingbudgets_grpc_service_config.json", -- package = "google.cloud.billing.budgets.v1", -- service_yaml = "billingbudgets.yaml", -- deps = [ -- ":budgets_php_grpc", -- ":budgets_php_proto", -- ], +- name = "configmanagement_php_grpc", +- srcs = [":configmanagement_proto"], +- deps = [":configmanagement_php_proto"], -) - --# Open Source Packages --php_gapic_assembly_pkg( -- name = "google-cloud-billing-budgets-v1-php", -- deps = [ -- ":budgets_php_gapic", -- ":budgets_php_grpc", -- ":budgets_php_proto", -- ], +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", -) - --nodejs_gapic_library( -- name = "budgets_nodejs_gapic", -- package_name = "@google-cloud/billing-budgets", -- src = ":budgets_proto_with_info", -- extra_protoc_parameters = ["metadata"], -- grpc_service_config = "billingbudgets_grpc_service_config.json", -- package = "google.cloud.billing.budgets.v1", -- service_yaml = "billingbudgets.yaml", -- deps = [], --) - --nodejs_gapic_assembly_pkg( -- name = "billing-budgets-v1-nodejs", -- deps = [ -- ":budgets_nodejs_gapic", -- ":budgets_proto", -- ], +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", -) - -ruby_proto_library( -- name = "budgets_ruby_proto", -- deps = [":budgets_proto"], +- name = "configmanagement_ruby_proto", +- deps = [":configmanagement_proto"], -) - -ruby_grpc_library( -- name = "budgets_ruby_grpc", -- srcs = [":budgets_proto"], -- deps = [":budgets_ruby_proto"], --) -- --ruby_gapic_library( -- name = "budgets_ruby_gapic", -- src = ":budgets_proto_with_info", -- gapic_yaml = "billingbudget_gapic.yaml", -- grpc_service_config = "billingbudgets_grpc_service_config.json", -- package = "google.cloud.billing.budgets.v1", -- service_yaml = "billingbudgets.yaml", -- deps = [ -- ":budgets_ruby_grpc", -- ":budgets_ruby_proto", -- ], --) -- --# Open Source Packages --ruby_gapic_assembly_pkg( -- name = "google-cloud-billing-budgets-v1-ruby", -- deps = [ -- ":budgets_ruby_gapic", -- ":budgets_ruby_grpc", -- ":budgets_ruby_proto", -- ], --) -- --csharp_proto_library( -- name = "budgets_csharp_proto", -- deps = [":budgets_proto"], +- name = "configmanagement_ruby_grpc", +- srcs = [":configmanagement_proto"], +- deps = [":configmanagement_ruby_proto"], -) - --csharp_grpc_library( -- name = "budgets_csharp_grpc", -- srcs = [":budgets_proto"], -- deps = [":budgets_csharp_proto"], +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", -) - --csharp_gapic_library( -- name = "budgets_csharp_gapic", -- srcs = [":budgets_proto_with_info"], -- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "billingbudgets_grpc_service_config.json", -- deps = [ -- ":budgets_csharp_grpc", -- ":budgets_csharp_proto", -- ], +-csharp_proto_library( +- name = "configmanagement_csharp_proto", +- deps = [":configmanagement_proto"], -) - --# Open Source Packages --csharp_gapic_assembly_pkg( -- name = "google-cloud-billing-budgets-v1-csharp", -- deps = [ -- ":budgets_csharp_gapic", -- ":budgets_csharp_grpc", -- ":budgets_csharp_proto", -- ], +-csharp_grpc_library( +- name = "configmanagement_csharp_grpc", +- srcs = [":configmanagement_proto"], +- deps = [":configmanagement_csharp_proto"], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ rules here -diff -urN a/google/cloud/billing/budgets/v1alpha1/BUILD.bazel b/google/cloud/billing/budgets/v1alpha1/BUILD.bazel ---- a/google/cloud/billing/budgets/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/billing/budgets/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,178 +0,0 @@ +-# Put your C++ code here +diff -urN a/google/cloud/gkehub/v1/multiclusteringress/BUILD.bazel b/google/cloud/gkehub/v1/multiclusteringress/BUILD.bazel +--- a/google/cloud/gkehub/v1/multiclusteringress/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/gkehub/v1/multiclusteringress/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,145 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -20594,20 +37073,12 @@ diff -urN a/google/cloud/billing/budgets/v1alpha1/BUILD.bazel b/google/cloud/bil -load("@rules_proto//proto:defs.bzl", "proto_library") - -proto_library( -- name = "budgets_proto", +- name = "multiclusteringress_proto", - srcs = [ -- "budget_model.proto", -- "budget_service.proto", +- "multiclusteringress.proto", - ], - deps = [ - "//google/api:annotations_proto", -- "//google/api:client_proto", -- "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/type:money_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:struct_proto", - ], -) - @@ -20621,14 +37092,14 @@ diff -urN a/google/cloud/billing/budgets/v1alpha1/BUILD.bazel b/google/cloud/bil -) - -java_proto_library( -- name = "budgets_java_proto", -- deps = [":budgets_proto"], +- name = "multiclusteringress_java_proto", +- deps = [":multiclusteringress_proto"], -) - -java_grpc_library( -- name = "budgets_java_grpc", -- srcs = [":budgets_proto"], -- deps = [":budgets_java_proto"], +- name = "multiclusteringress_java_grpc", +- srcs = [":multiclusteringress_proto"], +- deps = [":multiclusteringress_java_proto"], -) - -############################################################################## @@ -20640,13 +37111,12 @@ diff -urN a/google/cloud/billing/budgets/v1alpha1/BUILD.bazel b/google/cloud/bil -) - -go_proto_library( -- name = "budgets_go_proto", +- name = "multiclusteringress_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/billing/budgets/v1alpha1", -- protos = [":budgets_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/multiclusteringress/v1", +- protos = [":multiclusteringress_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/type:money_go_proto", - ], -) - @@ -20655,36 +37125,12 @@ diff -urN a/google/cloud/billing/budgets/v1alpha1/BUILD.bazel b/google/cloud/bil -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", -- "py_grpc_library", -- "py_proto_library", --) -- --moved_proto_library( -- name = "budgets_moved_proto", -- srcs = [":budgets_proto"], -- deps = [ -- "//google/api:annotations_proto", -- "//google/api:client_proto", -- "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/type:money_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:struct_proto", -- ], --) -- --py_proto_library( -- name = "budgets_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":budgets_moved_proto"], +- "py_gapic_library", -) - --py_grpc_library( -- name = "budgets_py_grpc", -- srcs = [":budgets_moved_proto"], -- deps = [":budgets_py_proto"], +-py_gapic_library( +- name = "multiclusteringress_py_gapic", +- srcs = [":multiclusteringress_proto"], -) - -############################################################################## @@ -20697,14 +37143,14 @@ diff -urN a/google/cloud/billing/budgets/v1alpha1/BUILD.bazel b/google/cloud/bil -) - -php_proto_library( -- name = "budgets_php_proto", -- deps = [":budgets_proto"], +- name = "multiclusteringress_php_proto", +- deps = [":multiclusteringress_proto"], -) - -php_grpc_library( -- name = "budgets_php_grpc", -- srcs = [":budgets_proto"], -- deps = [":budgets_php_proto"], +- name = "multiclusteringress_php_grpc", +- srcs = [":multiclusteringress_proto"], +- deps = [":multiclusteringress_php_proto"], -) - -############################################################################## @@ -20727,14 +37173,14 @@ diff -urN a/google/cloud/billing/budgets/v1alpha1/BUILD.bazel b/google/cloud/bil -) - -ruby_proto_library( -- name = "budgets_ruby_proto", -- deps = [":budgets_proto"], +- name = "multiclusteringress_ruby_proto", +- deps = [":multiclusteringress_proto"], -) - -ruby_grpc_library( -- name = "budgets_ruby_grpc", -- srcs = [":budgets_proto"], -- deps = [":budgets_ruby_proto"], +- name = "multiclusteringress_ruby_grpc", +- srcs = [":multiclusteringress_proto"], +- deps = [":multiclusteringress_ruby_proto"], -) - -############################################################################## @@ -20747,26 +37193,26 @@ diff -urN a/google/cloud/billing/budgets/v1alpha1/BUILD.bazel b/google/cloud/bil -) - -csharp_proto_library( -- name = "budgets_csharp_proto", -- deps = [":budgets_proto"], +- name = "multiclusteringress_csharp_proto", +- deps = [":multiclusteringress_proto"], -) - -csharp_grpc_library( -- name = "budgets_csharp_grpc", -- srcs = [":budgets_proto"], -- deps = [":budgets_csharp_proto"], +- name = "multiclusteringress_csharp_grpc", +- srcs = [":multiclusteringress_proto"], +- deps = [":multiclusteringress_csharp_proto"], -) - -############################################################################## -# C++ -############################################################################## -# Put your C++ code here -diff -urN a/google/cloud/billing/budgets/v1beta1/BUILD.bazel b/google/cloud/billing/budgets/v1beta1/BUILD.bazel ---- a/google/cloud/billing/budgets/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/billing/budgets/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,343 +0,0 @@ +diff -urN a/google/cloud/gkehub/v1alpha/BUILD.bazel b/google/cloud/gkehub/v1alpha/BUILD.bazel +--- a/google/cloud/gkehub/v1alpha/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/gkehub/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,354 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +-# https://github.com/googleapis/rules_gapic/tree/master/bazel - -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: @@ -20786,27 +37232,31 @@ diff -urN a/google/cloud/billing/budgets/v1beta1/BUILD.bazel b/google/cloud/bill -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "budgets_proto", +- name = "gkehub_proto", - srcs = [ -- "budget_model.proto", -- "budget_service.proto", +- "feature.proto", +- "service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/type:money_proto", -- "@com_google_protobuf//:empty_proto", +- "//google/cloud/gkehub/v1alpha/cloudauditlogging:cloudauditlogging_proto", +- "//google/cloud/gkehub/v1alpha/configmanagement:configmanagement_proto", +- "//google/cloud/gkehub/v1alpha/metering:metering_proto", +- "//google/cloud/gkehub/v1alpha/multiclusteringress:multiclusteringress_proto", +- "//google/cloud/gkehub/v1alpha/servicemesh:servicemesh_proto", +- "//google/longrunning:operations_proto", - "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "budgets_proto_with_info", +- name = "gkehub_proto_with_info", - deps = [ -- ":budgets_proto", +- ":gkehub_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -20824,43 +37274,44 @@ diff -urN a/google/cloud/billing/budgets/v1beta1/BUILD.bazel b/google/cloud/bill -) - -java_proto_library( -- name = "budgets_java_proto", -- deps = [":budgets_proto"], +- name = "gkehub_java_proto", +- deps = [":gkehub_proto"], -) - -java_grpc_library( -- name = "budgets_java_grpc", -- srcs = [":budgets_proto"], -- deps = [":budgets_java_proto"], +- name = "gkehub_java_grpc", +- srcs = [":gkehub_proto"], +- deps = [":gkehub_java_proto"], -) - -java_gapic_library( -- name = "budgets_java_gapic", -- srcs = [":budgets_proto_with_info"], -- grpc_service_config = "billingbudgets_grpc_service_config.json", +- name = "gkehub_java_gapic", +- srcs = [":gkehub_proto_with_info"], +- grpc_service_config = "v1alpha_grpc_service_config.json", - test_deps = [ -- ":budgets_java_grpc", +- ":gkehub_java_grpc", - ], - deps = [ -- ":budgets_java_proto", +- ":gkehub_java_proto", - ], -) - -java_gapic_test( -- name = "budgets_java_gapic_test_suite", +- name = "gkehub_java_gapic_test_suite", - test_classes = [ +- "com.google.cloud.gkehub.v1alpha.GkeHubClientTest", - ], -- runtime_deps = [":budgets_java_gapic_test"], +- runtime_deps = [":gkehub_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-billing-budgets-v1beta1-java", +- name = "google-cloud-gkehub-v1alpha-java", - deps = [ -- ":budgets_java_gapic", -- ":budgets_java_grpc", -- ":budgets_java_proto", -- ":budgets_proto", +- ":gkehub_java_gapic", +- ":gkehub_java_grpc", +- ":gkehub_java_proto", +- ":gkehub_proto", - ], -) - @@ -20876,41 +37327,51 @@ diff -urN a/google/cloud/billing/budgets/v1beta1/BUILD.bazel b/google/cloud/bill -) - -go_proto_library( -- name = "budgets_go_proto", +- name = "gkehub_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/billing/budgets/v1beta1", -- protos = [":budgets_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/v1alpha", +- protos = [":gkehub_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/type:money_go_proto", +- "//google/cloud/gkehub/v1alpha/cloudauditlogging:cloudauditlogging_go_proto", +- "//google/cloud/gkehub/v1alpha/configmanagement:configmanagement_go_proto", +- "//google/cloud/gkehub/v1alpha/metering:metering_go_proto", +- "//google/cloud/gkehub/v1alpha/multiclusteringress:multiclusteringress_go_proto", +- "//google/cloud/gkehub/v1alpha/servicemesh:servicemesh_go_proto", +- "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "budgets_go_gapic", -- srcs = [":budgets_proto_with_info"], -- grpc_service_config = "billingbudgets_grpc_service_config.json", -- importpath = "cloud.google.com/go/billing/budgets/apiv1beta1;budgets", -- service_yaml = "billingbudgets.yaml", +- name = "gkehub_go_gapic", +- srcs = [":gkehub_proto_with_info"], +- grpc_service_config = "v1alpha_grpc_service_config.json", +- importpath = "cloud.google.com/go/gkehub/apiv1alpha;gkehub", +- metadata = True, +- service_yaml = "gkehub_v1alpha.yaml", - deps = [ -- ":budgets_go_proto", +- ":gkehub_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", - ], -) - -go_test( -- name = "budgets_go_gapic_test", -- srcs = [":budgets_go_gapic_srcjar_test"], -- embed = [":budgets_go_gapic"], -- importpath = "cloud.google.com/go/billing/budgets/apiv1beta1", +- name = "gkehub_go_gapic_test", +- srcs = [":gkehub_go_gapic_srcjar_test"], +- embed = [":gkehub_go_gapic"], +- importpath = "cloud.google.com/go/gkehub/apiv1alpha", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-billing-budgets-v1beta1-go", +- name = "gapi-cloud-gkehub-v1alpha-go", - deps = [ -- ":budgets_go_gapic", -- ":budgets_go_gapic_srcjar-test.srcjar", -- ":budgets_go_proto", +- ":gkehub_go_gapic", +- ":gkehub_go_gapic_srcjar-metadata.srcjar", +- ":gkehub_go_gapic_srcjar-test.srcjar", +- ":gkehub_go_proto", - ], -) - @@ -20924,16 +37385,22 @@ diff -urN a/google/cloud/billing/budgets/v1beta1/BUILD.bazel b/google/cloud/bill -) - -py_gapic_library( -- name = "budgets_py_gapic", -- srcs = [":budgets_proto"], -- grpc_service_config = "billingbudgets_grpc_service_config.json", +- name = "gkehub_py_gapic", +- srcs = [":gkehub_proto"], +- grpc_service_config = "v1alpha_grpc_service_config.json", +- opt_args = ["warehouse-package-name=google-cloud-gke-hub"], -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "billing-budgets-v1beta1-py", +- name = "gkehub-v1alpha-py", - deps = [ -- ":budgets_py_gapic", +- ":gkehub_py_gapic", +- "//google/cloud/gkehub/v1alpha/cloudauditlogging:cloudauditlogging_py_gapic", +- "//google/cloud/gkehub/v1alpha/configmanagement:configmanagement_py_gapic", +- "//google/cloud/gkehub/v1alpha/metering:metering_py_gapic", +- "//google/cloud/gkehub/v1alpha/multiclusteringress:multiclusteringress_py_gapic", +- "//google/cloud/gkehub/v1alpha/servicemesh:servicemesh_py_gapic", - ], -) - @@ -20949,36 +37416,34 @@ diff -urN a/google/cloud/billing/budgets/v1beta1/BUILD.bazel b/google/cloud/bill -) - -php_proto_library( -- name = "budgets_php_proto", -- deps = [":budgets_proto"], +- name = "gkehub_php_proto", +- deps = [":gkehub_proto"], -) - -php_grpc_library( -- name = "budgets_php_grpc", -- srcs = [":budgets_proto"], -- deps = [":budgets_php_proto"], +- name = "gkehub_php_grpc", +- srcs = [":gkehub_proto"], +- deps = [":gkehub_php_proto"], -) - -php_gapic_library( -- name = "budgets_php_gapic", -- src = ":budgets_proto_with_info", -- gapic_yaml = "billingbudgets_gapic.yaml", -- grpc_service_config = "billingbudgets_grpc_service_config.json", -- package = "google.cloud.billing.budgets.v1beta1", -- service_yaml = "billingbudgets.yaml", +- name = "gkehub_php_gapic", +- srcs = [":gkehub_proto_with_info"], +- grpc_service_config = "v1alpha_grpc_service_config.json", +- service_yaml = "gkehub_v1alpha.yaml", - deps = [ -- ":budgets_php_grpc", -- ":budgets_php_proto", +- ":gkehub_php_grpc", +- ":gkehub_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-billing-budgets-v1beta1-php", +- name = "google-cloud-gkehub-v1alpha-php", - deps = [ -- ":budgets_php_gapic", -- ":budgets_php_grpc", -- ":budgets_php_proto", +- ":gkehub_php_gapic", +- ":gkehub_php_grpc", +- ":gkehub_php_proto", - ], -) - @@ -20992,21 +37457,21 @@ diff -urN a/google/cloud/billing/budgets/v1beta1/BUILD.bazel b/google/cloud/bill -) - -nodejs_gapic_library( -- name = "budgets_nodejs_gapic", -- package_name = "@google-cloud/billing-budgets", -- src = ":budgets_proto_with_info", +- name = "gkehub_nodejs_gapic", +- package_name = "@google-cloud/gkehub", +- src = ":gkehub_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "billingbudgets_grpc_service_config.json", -- package = "google.cloud.billing.budgets.v1beta1", -- service_yaml = "billingbudgets.yaml", +- grpc_service_config = "v1alpha_grpc_service_config.json", +- package = "google.cloud.gkehub.v1alpha", +- service_yaml = "gkehub_v1alpha.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "billing-budgets-v1beta1-nodejs", +- name = "gkehub-v1alpha-nodejs", - deps = [ -- ":budgets_nodejs_gapic", -- ":budgets_proto", +- ":gkehub_nodejs_gapic", +- ":gkehub_proto", - ], -) - @@ -21015,49 +37480,41 @@ diff -urN a/google/cloud/billing/budgets/v1beta1/BUILD.bazel b/google/cloud/bill -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "budgets_ruby_proto", -- deps = [":budgets_proto"], +- name = "gkehub_ruby_proto", +- deps = [":gkehub_proto"], -) - -ruby_grpc_library( -- name = "budgets_ruby_grpc", -- srcs = [":budgets_proto"], -- deps = [":budgets_ruby_proto"], +- name = "gkehub_ruby_grpc", +- srcs = [":gkehub_proto"], +- deps = [":gkehub_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "budgets_ruby_gapic", -- srcs = [":budgets_proto_with_info",], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-billing-budgets-v1beta1", -- "ruby-cloud-env-prefix=BILLING_BUDGETS", -- "ruby-cloud-product-url=https://cloud.google.com/billing/docs/how-to/budget-api-overview", -- "ruby-cloud-api-id=billingbudgets.googleapis.com", -- "ruby-cloud-api-shortname=billingbudgets", -- ], -- grpc_service_config = "billingbudgets_grpc_service_config.json", -- ruby_cloud_description = "Provides methods to view, create, and manage Cloud Billing budgets programmatically at scale.", -- ruby_cloud_title = "Billing Budgets V1beta1", +- name = "gkehub_ruby_gapic", +- srcs = [":gkehub_proto_with_info"], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-gkehub-v1alpha"], +- grpc_service_config = "v1alpha_grpc_service_config.json", - deps = [ -- ":budgets_ruby_grpc", -- ":budgets_ruby_proto", +- ":gkehub_ruby_grpc", +- ":gkehub_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-billing-budgets-v1beta1-ruby", +- name = "google-cloud-gkehub-v1alpha-ruby", - deps = [ -- ":budgets_ruby_gapic", -- ":budgets_ruby_grpc", -- ":budgets_ruby_proto", +- ":gkehub_ruby_gapic", +- ":gkehub_ruby_grpc", +- ":gkehub_ruby_proto", - ], -) - @@ -21073,45 +37530,344 @@ diff -urN a/google/cloud/billing/budgets/v1beta1/BUILD.bazel b/google/cloud/bill -) - -csharp_proto_library( -- name = "budgets_csharp_proto", -- deps = [":budgets_proto"], +- name = "gkehub_csharp_proto", +- deps = [":gkehub_proto"], -) - -csharp_grpc_library( -- name = "budgets_csharp_grpc", -- srcs = [":budgets_proto"], -- deps = [":budgets_csharp_proto"], +- name = "gkehub_csharp_grpc", +- srcs = [":gkehub_proto"], +- deps = [":gkehub_csharp_proto"], -) - -csharp_gapic_library( -- name = "budgets_csharp_gapic", -- srcs = [":budgets_proto_with_info"], +- name = "gkehub_csharp_gapic", +- srcs = [":gkehub_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "billingbudgets_grpc_service_config.json", +- grpc_service_config = "v1alpha_grpc_service_config.json", - deps = [ -- ":budgets_csharp_grpc", -- ":budgets_csharp_proto", +- ":gkehub_csharp_grpc", +- ":gkehub_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-billing-budgets-v1beta1-csharp", +- name = "google-cloud-gkehub-v1alpha-csharp", - deps = [ -- ":budgets_csharp_gapic", -- ":budgets_csharp_grpc", -- ":budgets_csharp_proto", +- ":gkehub_csharp_gapic", +- ":gkehub_csharp_grpc", +- ":gkehub_csharp_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/gkehub/v1alpha/cloudauditlogging/BUILD.bazel b/google/cloud/gkehub/v1alpha/cloudauditlogging/BUILD.bazel +--- a/google/cloud/gkehub/v1alpha/cloudauditlogging/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/gkehub/v1alpha/cloudauditlogging/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,145 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-proto_library( +- name = "cloudauditlogging_proto", +- srcs = [ +- "cloudauditlogging.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "cloudauditlogging_java_proto", +- deps = [":cloudauditlogging_proto"], +-) +- +-java_grpc_library( +- name = "cloudauditlogging_java_grpc", +- srcs = [":cloudauditlogging_proto"], +- deps = [":cloudauditlogging_java_proto"], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "cloudauditlogging_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/cloudauditlogging/v1alpha", +- protos = [":cloudauditlogging_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "cloudauditlogging_py_gapic", +- srcs = [":cloudauditlogging_proto"], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "cloudauditlogging_php_proto", +- deps = [":cloudauditlogging_proto"], +-) +- +-php_grpc_library( +- name = "cloudauditlogging_php_grpc", +- srcs = [":cloudauditlogging_proto"], +- deps = [":cloudauditlogging_php_proto"], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "cloudauditlogging_ruby_proto", +- deps = [":cloudauditlogging_proto"], +-) +- +-ruby_grpc_library( +- name = "cloudauditlogging_ruby_grpc", +- srcs = [":cloudauditlogging_proto"], +- deps = [":cloudauditlogging_ruby_proto"], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "cloudauditlogging_csharp_proto", +- deps = [":cloudauditlogging_proto"], +-) +- +-csharp_grpc_library( +- name = "cloudauditlogging_csharp_grpc", +- srcs = [":cloudauditlogging_proto"], +- deps = [":cloudauditlogging_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/cloud/gkehub/v1alpha/configmanagement/BUILD.bazel b/google/cloud/gkehub/v1alpha/configmanagement/BUILD.bazel +--- a/google/cloud/gkehub/v1alpha/configmanagement/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/gkehub/v1alpha/configmanagement/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,146 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-proto_library( +- name = "configmanagement_proto", +- srcs = [ +- "configmanagement.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "configmanagement_java_proto", +- deps = [":configmanagement_proto"], +-) +- +-java_grpc_library( +- name = "configmanagement_java_grpc", +- srcs = [":configmanagement_proto"], +- deps = [":configmanagement_java_proto"], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "configmanagement_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/configmanagement/v1alpha", +- protos = [":configmanagement_proto"], +- deps = [ +- "//google/api:annotations_go_proto", - ], -) - -############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "configmanagement_py_gapic", +- srcs = [":configmanagement_proto"], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "configmanagement_php_proto", +- deps = [":configmanagement_proto"], +-) +- +-php_grpc_library( +- name = "configmanagement_php_grpc", +- srcs = [":configmanagement_proto"], +- deps = [":configmanagement_php_proto"], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "configmanagement_ruby_proto", +- deps = [":configmanagement_proto"], +-) +- +-ruby_grpc_library( +- name = "configmanagement_ruby_grpc", +- srcs = [":configmanagement_proto"], +- deps = [":configmanagement_ruby_proto"], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "configmanagement_csharp_proto", +- deps = [":configmanagement_proto"], +-) +- +-csharp_grpc_library( +- name = "configmanagement_csharp_grpc", +- srcs = [":configmanagement_proto"], +- deps = [":configmanagement_csharp_proto"], +-) +- +-############################################################################## -# C++ -############################################################################## --# Put your C++ rules here -diff -urN a/google/cloud/billing/v1/BUILD.bazel b/google/cloud/billing/v1/BUILD.bazel ---- a/google/cloud/billing/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/billing/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,341 +0,0 @@ +-# Put your C++ code here +diff -urN a/google/cloud/gkehub/v1alpha/metering/BUILD.bazel b/google/cloud/gkehub/v1alpha/metering/BUILD.bazel +--- a/google/cloud/gkehub/v1alpha/metering/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/gkehub/v1alpha/metering/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,146 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -21121,90 +37877,36 @@ diff -urN a/google/cloud/billing/v1/BUILD.bazel b/google/cloud/billing/v1/BUILD. -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") --load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "billing_proto", +- name = "metering_proto", - srcs = [ -- "cloud_billing.proto", -- "cloud_catalog.proto", +- "metering.proto", - ], - deps = [ - "//google/api:annotations_proto", -- "//google/api:client_proto", -- "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/iam/v1:iam_policy_proto", -- "//google/iam/v1:policy_proto", -- "//google/type:money_proto", -- "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - --proto_library_with_info( -- name = "billing_proto_with_info", -- deps = [ -- ":billing_proto", -- "//google/cloud:common_resources_proto", -- ], --) -- -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "billing_java_proto", -- deps = [":billing_proto"], +- name = "metering_java_proto", +- deps = [":metering_proto"], -) - -java_grpc_library( -- name = "billing_java_grpc", -- srcs = [":billing_proto"], -- deps = [":billing_java_proto"], --) -- --java_gapic_library( -- name = "billing_java_gapic", -- srcs = [":billing_proto_with_info"], -- grpc_service_config = "cloud_billing_grpc_service_config.json", -- test_deps = [ -- ":billing_java_grpc", -- "//google/iam/v1:iam_java_grpc", -- ], -- deps = [ -- ":billing_java_proto", -- "//google/iam/v1:iam_java_proto", -- ], --) -- --java_gapic_test( -- name = "billing_java_gapic_test_suite", -- test_classes = [ -- "com.google.cloud.billing.v1.CloudBillingClientTest", -- "com.google.cloud.billing.v1.CloudCatalogClientTest", -- ], -- runtime_deps = [":billing_java_gapic_test"], --) -- --# Open Source Packages --java_gapic_assembly_gradle_pkg( -- name = "google-cloud-billing-v1-java", -- deps = [ -- ":billing_java_gapic", -- ":billing_java_grpc", -- ":billing_java_proto", -- ":billing_proto", -- ], +- name = "metering_java_grpc", +- srcs = [":metering_proto"], +- deps = [":metering_java_proto"], -) - -############################################################################## @@ -21212,50 +37914,16 @@ diff -urN a/google/cloud/billing/v1/BUILD.bazel b/google/cloud/billing/v1/BUILD. -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "go_gapic_assembly_pkg", -- "go_gapic_library", - "go_proto_library", -- "go_test", -) - -go_proto_library( -- name = "billing_go_proto", +- name = "metering_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/billing/v1", -- protos = [":billing_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/metering/v1alpha", +- protos = [":metering_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/iam/v1:iam_go_proto", -- "//google/type:money_go_proto", -- ], --) -- --go_gapic_library( -- name = "billing_go_gapic", -- srcs = [":billing_proto_with_info"], -- grpc_service_config = "cloud_billing_grpc_service_config.json", -- importpath = "cloud.google.com/go/billing/apiv1;billing", -- service_yaml = "cloudbilling.yaml", -- deps = [ -- ":billing_go_proto", -- "//google/iam/v1:iam_go_proto", -- ], --) -- --go_test( -- name = "billing_go_gapic_test", -- srcs = [":billing_go_gapic_srcjar_test"], -- embed = [":billing_go_gapic"], -- importpath = "cloud.google.com/go/billing/apiv1", --) -- --# Open Source Packages --go_gapic_assembly_pkg( -- name = "gapi-cloud-billing-v1-go", -- deps = [ -- ":billing_go_gapic", -- ":billing_go_gapic_srcjar-test.srcjar", -- ":billing_go_proto", - ], -) - @@ -21264,22 +37932,12 @@ diff -urN a/google/cloud/billing/v1/BUILD.bazel b/google/cloud/billing/v1/BUILD. -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "py_gapic_assembly_pkg", - "py_gapic_library", -) - -py_gapic_library( -- name = "billing_py_gapic", -- srcs = [":billing_proto"], -- grpc_service_config = "cloud_billing_grpc_service_config.json", --) -- --# Open Source Packages --py_gapic_assembly_pkg( -- name = "billing-v1-py", -- deps = [ -- ":billing_py_gapic", -- ], +- name = "metering_py_gapic", +- srcs = [":metering_proto"], -) - -############################################################################## @@ -21287,44 +37945,19 @@ diff -urN a/google/cloud/billing/v1/BUILD.bazel b/google/cloud/billing/v1/BUILD. -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "php_gapic_assembly_pkg", -- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "billing_php_proto", -- deps = [":billing_proto"], +- name = "metering_php_proto", +- deps = [":metering_proto"], -) - -php_grpc_library( -- name = "billing_php_grpc", -- srcs = [":billing_proto"], -- deps = [":billing_php_proto"], --) -- --php_gapic_library( -- name = "billing_php_gapic", -- src = ":billing_proto_with_info", -- gapic_yaml = "cloud_billing_gapic.yaml", -- grpc_service_config = "cloud_billing_grpc_service_config.json", -- package = "google.cloud.billing.v1", -- service_yaml = "cloudbilling.yaml", -- deps = [ -- ":billing_php_grpc", -- ":billing_php_proto", -- ], --) -- --# Open Source Packages --php_gapic_assembly_pkg( -- name = "google-cloud-billing-v1-php", -- deps = [ -- ":billing_php_gapic", -- ":billing_php_grpc", -- ":billing_php_proto", -- ], +- name = "metering_php_grpc", +- srcs = [":metering_proto"], +- deps = [":metering_php_proto"], -) - -############################################################################## @@ -21336,74 +37969,25 @@ diff -urN a/google/cloud/billing/v1/BUILD.bazel b/google/cloud/billing/v1/BUILD. - "nodejs_gapic_library", -) - --nodejs_gapic_library( -- name = "billing_nodejs_gapic", -- package_name = "@google-cloud/billing", -- src = ":billing_proto_with_info", -- extra_protoc_parameters = ["metadata"], -- grpc_service_config = "cloud_billing_grpc_service_config.json", -- package = "google.cloud.billing.v1", -- service_yaml = "cloudbilling.yaml", -- deps = [], --) -- --nodejs_gapic_assembly_pkg( -- name = "billing-v1-nodejs", -- deps = [ -- ":billing_nodejs_gapic", -- ":billing_proto", -- ], --) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", -- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "billing_ruby_proto", -- deps = [":billing_proto"], +- name = "metering_ruby_proto", +- deps = [":metering_proto"], -) - -ruby_grpc_library( -- name = "billing_ruby_grpc", -- srcs = [":billing_proto"], -- deps = [":billing_ruby_proto"], --) -- --ruby_cloud_gapic_library( -- name = "billing_ruby_gapic", -- srcs = [":billing_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-billing-v1", -- "ruby-cloud-env-prefix=BILLING", -- "ruby-cloud-product-url=https://cloud.google.com/billing", -- "ruby-cloud-api-id=cloudbilling.googleapis.com", -- "ruby-cloud-api-shortname=cloudbilling", -- ], -- grpc_service_config = "cloud_billing_grpc_service_config.json", -- ruby_cloud_description = "Allows developers to manage billing for their Google Cloud Platform projects programmatically.", -- ruby_cloud_title = "Billing V1", -- deps = [ -- ":billing_ruby_grpc", -- ":billing_ruby_proto", -- ], --) -- --# Open Source Packages --ruby_gapic_assembly_pkg( -- name = "google-cloud-billing-v1-ruby", -- deps = [ -- ":billing_ruby_gapic", -- ":billing_ruby_grpc", -- ":billing_ruby_proto", -- ], +- name = "metering_ruby_grpc", +- srcs = [":metering_proto"], +- deps = [":metering_ruby_proto"], -) - -############################################################################## @@ -21411,52 +37995,29 @@ diff -urN a/google/cloud/billing/v1/BUILD.bazel b/google/cloud/billing/v1/BUILD. -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "billing_csharp_proto", -- deps = [":billing_proto"], +- name = "metering_csharp_proto", +- deps = [":metering_proto"], -) - -csharp_grpc_library( -- name = "billing_csharp_grpc", -- srcs = [":billing_proto"], -- deps = [":billing_csharp_proto"], --) -- --csharp_gapic_library( -- name = "billing_csharp_gapic", -- srcs = [":billing_proto_with_info"], -- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "cloud_billing_grpc_service_config.json", -- deps = [ -- ":billing_csharp_grpc", -- ":billing_csharp_proto", -- ], --) -- --# Open Source Packages --csharp_gapic_assembly_pkg( -- name = "google-cloud-billing-v1-csharp", -- deps = [ -- ":billing_csharp_gapic", -- ":billing_csharp_grpc", -- ":billing_csharp_proto", -- ], +- name = "metering_csharp_grpc", +- srcs = [":metering_proto"], +- deps = [":metering_csharp_proto"], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ rules here -diff -urN a/google/cloud/binaryauthorization/v1beta1/BUILD.bazel b/google/cloud/binaryauthorization/v1beta1/BUILD.bazel ---- a/google/cloud/binaryauthorization/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/binaryauthorization/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,335 +0,0 @@ +-# Put your C++ code here +diff -urN a/google/cloud/gkehub/v1alpha/multiclusteringress/BUILD.bazel b/google/cloud/gkehub/v1alpha/multiclusteringress/BUILD.bazel +--- a/google/cloud/gkehub/v1alpha/multiclusteringress/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/gkehub/v1alpha/multiclusteringress/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,145 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -21466,29 +38027,14 @@ diff -urN a/google/cloud/binaryauthorization/v1beta1/BUILD.bazel b/google/cloud/ -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") --load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "binaryauthorization_proto", +- name = "multiclusteringress_proto", - srcs = [ -- "resources.proto", -- "service.proto", +- "multiclusteringress.proto", - ], - deps = [ - "//google/api:annotations_proto", -- "//google/api:client_proto", -- "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:timestamp_proto", -- ], --) -- --proto_library_with_info( -- name = "binaryauthorization_proto_with_info", -- deps = [ -- ":binaryauthorization_proto", -- "//google/cloud:common_resources_proto", - ], -) - @@ -21497,127 +38043,50 @@ diff -urN a/google/cloud/binaryauthorization/v1beta1/BUILD.bazel b/google/cloud/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "binaryauthorization_java_proto", -- deps = [":binaryauthorization_proto"], +- name = "multiclusteringress_java_proto", +- deps = [":multiclusteringress_proto"], -) - -java_grpc_library( -- name = "binaryauthorization_java_grpc", -- srcs = [":binaryauthorization_proto"], -- deps = [":binaryauthorization_java_proto"], +- name = "multiclusteringress_java_grpc", +- srcs = [":multiclusteringress_proto"], +- deps = [":multiclusteringress_java_proto"], -) - --# Uncomment, once java file level options are included in the protos --#java_gapic_library( --# name = "binaryauthorization_java_gapic", --# srcs = [":binaryauthorization_proto_with_info"], --# grpc_service_config = "binaryauthorization_grpc_service_config.json", --# package = "google.cloud.binaryauthorization.v1beta1", --# test_deps = [ --# ":binaryauthorization_java_grpc", --# ], --# deps = [ --# ":binaryauthorization_java_proto", --# ], --#) --# --#java_gapic_test( --# name = "binaryauthorization_java_gapic_test_suite", --# test_classes = [ --# "com.google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1ClientTest", --# ], --# runtime_deps = [":binaryauthorization_java_gapic_test"], --#) --# --## Open Source Packages --#java_gapic_assembly_gradle_pkg( --# name = "google-cloud-binaryauthorization-v1beta1-java", --# deps = [ --# ":binaryauthorization_java_gapic", --# ":binaryauthorization_java_grpc", --# ":binaryauthorization_java_proto", --# ":binaryauthorization_proto", --# ], --#) -- -############################################################################## -# Go -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "go_gapic_assembly_pkg", -- "go_gapic_library", - "go_proto_library", -- "go_test", -) - -go_proto_library( -- name = "binaryauthorization_go_proto", +- name = "multiclusteringress_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/binaryauthorization/v1beta1", -- protos = [":binaryauthorization_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/multiclusteringress/v1alpha", +- protos = [":multiclusteringress_proto"], - deps = [ - "//google/api:annotations_go_proto", - ], -) - --go_gapic_library( -- name = "binaryauthorization_go_gapic", -- srcs = [":binaryauthorization_proto_with_info"], -- grpc_service_config = "binaryauthorization_grpc_service_config.json", -- importpath = "cloud.google.com/go/binaryauthorization/apiv1beta1;binaryauthorization", -- service_yaml = "binaryauthorization_v1beta1.yaml", -- deps = [ -- ":binaryauthorization_go_proto", -- ], --) -- --go_test( -- name = "binaryauthorization_go_gapic_test", -- srcs = [":binaryauthorization_go_gapic_srcjar_test"], -- embed = [":binaryauthorization_go_gapic"], -- importpath = "cloud.google.com/go/binaryauthorization/apiv1beta1", --) -- --# Open Source Packages --go_gapic_assembly_pkg( -- name = "gapi-cloud-binaryauthorization-v1beta1-go", -- deps = [ -- ":binaryauthorization_go_gapic", -- ":binaryauthorization_go_gapic_srcjar-test.srcjar", -- ":binaryauthorization_go_proto", -- ], --) -- -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "py_gapic_assembly_pkg", - "py_gapic_library", -) - -py_gapic_library( -- name = "binaryauthorization_py_gapic", -- srcs = [":binaryauthorization_proto"], -- grpc_service_config = "binaryauthorization_grpc_service_config.json", --) -- --# Open Source Packages --py_gapic_assembly_pkg( -- name = "binaryauthorization-v1beta1-py", -- deps = [ -- ":binaryauthorization_py_gapic", -- ], +- name = "multiclusteringress_py_gapic", +- srcs = [":multiclusteringress_proto"], -) - -############################################################################## @@ -21625,44 +38094,19 @@ diff -urN a/google/cloud/binaryauthorization/v1beta1/BUILD.bazel b/google/cloud/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "php_gapic_assembly_pkg", -- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "binaryauthorization_php_proto", -- deps = [":binaryauthorization_proto"], +- name = "multiclusteringress_php_proto", +- deps = [":multiclusteringress_proto"], -) - -php_grpc_library( -- name = "binaryauthorization_php_grpc", -- srcs = [":binaryauthorization_proto"], -- deps = [":binaryauthorization_php_proto"], --) -- --php_gapic_library( -- name = "binaryauthorization_php_gapic", -- src = ":binaryauthorization_proto_with_info", -- gapic_yaml = "binaryauthorization_gapic.yaml", -- grpc_service_config = "binaryauthorization_grpc_service_config.json", -- package = "google.cloud.binaryauthorization.v1beta1", -- service_yaml = "binaryauthorization_v1beta1.yaml", -- deps = [ -- ":binaryauthorization_php_grpc", -- ":binaryauthorization_php_proto", -- ], --) -- --# Open Source Packages --php_gapic_assembly_pkg( -- name = "google-cloud-binaryauthorization-v1beta1-php", -- deps = [ -- ":binaryauthorization_php_gapic", -- ":binaryauthorization_php_grpc", -- ":binaryauthorization_php_proto", -- ], +- name = "multiclusteringress_php_grpc", +- srcs = [":multiclusteringress_proto"], +- deps = [":multiclusteringress_php_proto"], -) - -############################################################################## @@ -21674,75 +38118,25 @@ diff -urN a/google/cloud/binaryauthorization/v1beta1/BUILD.bazel b/google/cloud/ - "nodejs_gapic_library", -) - --nodejs_gapic_library( -- name = "binaryauthorization_nodejs_gapic", -- package_name = "@google-cloud/binary-authorization", -- src = ":binaryauthorization_proto_with_info", -- extra_protoc_parameters = ["metadata"], -- grpc_service_config = "binaryauthorization_grpc_service_config.json", -- package = "google.cloud.binaryauthorization.v1beta1", -- service_yaml = "binaryauthorization_v1beta1.yaml", -- deps = [], --) -- --nodejs_gapic_assembly_pkg( -- name = "binaryauthorization-v1beta1-nodejs", -- deps = [ -- ":binaryauthorization_nodejs_gapic", -- ":binaryauthorization_proto", -- ], --) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", -- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "binaryauthorization_ruby_proto", -- deps = [":binaryauthorization_proto"], +- name = "multiclusteringress_ruby_proto", +- deps = [":multiclusteringress_proto"], -) - -ruby_grpc_library( -- name = "binaryauthorization_ruby_grpc", -- srcs = [":binaryauthorization_proto"], -- deps = [":binaryauthorization_ruby_proto"], --) -- --ruby_cloud_gapic_library( -- name = "binaryauthorization_ruby_gapic", -- srcs = [":binaryauthorization_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-binary_authorization-v1beta1", -- "ruby-cloud-env-prefix=BINARY_AUTHORIZATION", -- "ruby-cloud-product-url=https://cloud.google.com/binary-authorization/", -- "ruby-cloud-api-id=binaryauthorization.googleapis.com", -- "ruby-cloud-api-shortname=binaryauthorization", -- "ruby-cloud-service-override=BinauthzManagementServiceV1Beta1=BinauthzManagementService", -- ], -- grpc_service_config = "binaryauthorization_grpc_service_config.json", -- ruby_cloud_description = "Binary Authorization is a service on Google Cloud that provides centralized software supply-chain security for applications that run on Google Kubernetes Engine (GKE) and GKE on-prem.", -- ruby_cloud_title = "Binary Authorization V1beta1", -- deps = [ -- ":binaryauthorization_ruby_grpc", -- ":binaryauthorization_ruby_proto", -- ], --) -- --# Open Source Packages --ruby_gapic_assembly_pkg( -- name = "google-cloud-binaryauthorization-v1beta1-ruby", -- deps = [ -- ":binaryauthorization_ruby_gapic", -- ":binaryauthorization_ruby_grpc", -- ":binaryauthorization_ruby_proto", -- ], +- name = "multiclusteringress_ruby_grpc", +- srcs = [":multiclusteringress_proto"], +- deps = [":multiclusteringress_ruby_proto"], -) - -############################################################################## @@ -21750,160 +38144,69 @@ diff -urN a/google/cloud/binaryauthorization/v1beta1/BUILD.bazel b/google/cloud/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "binaryauthorization_csharp_proto", -- deps = [":binaryauthorization_proto"], +- name = "multiclusteringress_csharp_proto", +- deps = [":multiclusteringress_proto"], -) - -csharp_grpc_library( -- name = "binaryauthorization_csharp_grpc", -- srcs = [":binaryauthorization_proto"], -- deps = [":binaryauthorization_csharp_proto"], --) -- --csharp_gapic_library( -- name = "binaryauthorization_csharp_gapic", -- srcs = [":binaryauthorization_proto_with_info"], -- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "binaryauthorization_grpc_service_config.json", -- deps = [ -- ":binaryauthorization_csharp_grpc", -- ":binaryauthorization_csharp_proto", -- ], --) -- --# Open Source Packages --csharp_gapic_assembly_pkg( -- name = "google-cloud-binaryauthorization-v1beta1-csharp", -- deps = [ -- ":binaryauthorization_csharp_gapic", -- ":binaryauthorization_csharp_grpc", -- ":binaryauthorization_csharp_proto", -- ], +- name = "multiclusteringress_csharp_grpc", +- srcs = [":multiclusteringress_proto"], +- deps = [":multiclusteringress_csharp_proto"], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ rules here -diff -urN a/google/cloud/channel/v1/BUILD.bazel b/google/cloud/channel/v1/BUILD.bazel ---- a/google/cloud/channel/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/channel/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,360 +0,0 @@ +-# Put your C++ code here +diff -urN a/google/cloud/gkehub/v1alpha/servicemesh/BUILD.bazel b/google/cloud/gkehub/v1alpha/servicemesh/BUILD.bazel +--- a/google/cloud/gkehub/v1alpha/servicemesh/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/gkehub/v1alpha/servicemesh/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,147 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel -- --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common --############################################################################## --load("@rules_proto//proto:defs.bzl", "proto_library") --load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") -- --proto_library( -- name = "channel_proto", -- srcs = [ -- "channel_partner_links.proto", -- "common.proto", -- "customers.proto", -- "entitlements.proto", -- "offers.proto", -- "operations.proto", -- "products.proto", -- "service.proto", -- "subscriber_event.proto", -- ], -- deps = [ -- "//google/api:annotations_proto", -- "//google/api:client_proto", -- "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/longrunning:operations_proto", -- "//google/type:money_proto", -- "//google/type:postal_address_proto", -- "@com_google_protobuf//:any_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:timestamp_proto", -- "@com_google_protobuf//:wrappers_proto", -- ], --) -- --proto_library_with_info( -- name = "channel_proto_with_info", -- deps = [ -- ":channel_proto", -- "//google/cloud:common_resources_proto", -- ], --) -- --############################################################################## --# Java --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", -- "java_grpc_library", -- "java_proto_library", --) -- --java_proto_library( -- name = "channel_java_proto", -- deps = [":channel_proto"], --) -- --java_grpc_library( -- name = "channel_java_grpc", -- srcs = [":channel_proto"], -- deps = [":channel_java_proto"], --) -- --java_gapic_library( -- name = "channel_java_gapic", -- srcs = [":channel_proto_with_info"], -- grpc_service_config = "cloudchannel_grpc_service_config.json", -- test_deps = [ -- ":channel_java_grpc", +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-proto_library( +- name = "servicemesh_proto", +- srcs = [ +- "servicemesh.proto", - ], - deps = [ -- ":channel_java_proto", +- "//google/api:annotations_proto", +- "//google/api:field_behavior_proto", +- "@com_google_protobuf//:struct_proto", - ], -) - --java_gapic_test( -- name = "channel_java_gapic_test_suite", -- test_classes = [ -- ], -- runtime_deps = [":channel_java_gapic_test"], +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", -) - --# Open Source Packages --java_gapic_assembly_gradle_pkg( -- name = "google-cloud-channel-v1-java", -- deps = [ -- ":channel_java_gapic", -- ":channel_java_grpc", -- ":channel_java_proto", -- ":channel_proto", -- ], +-java_proto_library( +- name = "servicemesh_java_proto", +- deps = [":servicemesh_proto"], +-) +- +-java_grpc_library( +- name = "servicemesh_java_grpc", +- srcs = [":servicemesh_proto"], +- deps = [":servicemesh_java_proto"], -) - -############################################################################## @@ -21911,54 +38214,16 @@ diff -urN a/google/cloud/channel/v1/BUILD.bazel b/google/cloud/channel/v1/BUILD. -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "go_gapic_assembly_pkg", -- "go_gapic_library", - "go_proto_library", -- "go_test", -) - -go_proto_library( -- name = "channel_go_proto", +- name = "servicemesh_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/channel/v1", -- protos = [":channel_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/servicemesh/v1alpha", +- protos = [":servicemesh_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "//google/type:money_go_proto", -- "//google/type:postaladdress_go_proto", -- ], --) -- --go_gapic_library( -- name = "channel_go_gapic", -- srcs = [":channel_proto_with_info"], -- grpc_service_config = "cloudchannel_grpc_service_config.json", -- importpath = "cloud.google.com/go/channel/apiv1;channel", -- service_yaml = "cloudchannel_v1.yaml", -- deps = [ -- ":channel_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:any_go_proto", -- ], --) -- --go_test( -- name = "channel_go_gapic_test", -- srcs = [":channel_go_gapic_srcjar_test"], -- embed = [":channel_go_gapic"], -- importpath = "cloud.google.com/go/channel/apiv1", --) -- --# Open Source Packages --go_gapic_assembly_pkg( -- name = "gapi-cloud-channel-v1-go", -- deps = [ -- ":channel_go_gapic", -- ":channel_go_gapic_srcjar-test.srcjar", -- ":channel_go_proto", - ], -) - @@ -21967,22 +38232,12 @@ diff -urN a/google/cloud/channel/v1/BUILD.bazel b/google/cloud/channel/v1/BUILD. -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "py_gapic_assembly_pkg", - "py_gapic_library", -) - -py_gapic_library( -- name = "channel_py_gapic", -- srcs = [":channel_proto"], -- grpc_service_config = "cloudchannel_grpc_service_config.json", --) -- --# Open Source Packages --py_gapic_assembly_pkg( -- name = "channel-v1-py", -- deps = [ -- ":channel_py_gapic", -- ], +- name = "servicemesh_py_gapic", +- srcs = [":servicemesh_proto"], -) - -############################################################################## @@ -21990,44 +38245,19 @@ diff -urN a/google/cloud/channel/v1/BUILD.bazel b/google/cloud/channel/v1/BUILD. -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "php_gapic_assembly_pkg", -- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "channel_php_proto", -- deps = [":channel_proto"], +- name = "servicemesh_php_proto", +- deps = [":servicemesh_proto"], -) - -php_grpc_library( -- name = "channel_php_grpc", -- srcs = [":channel_proto"], -- deps = [":channel_php_proto"], --) -- --php_gapic_library( -- name = "channel_php_gapic", -- src = ":channel_proto_with_info", -- gapic_yaml = "cloudchannel_gapic.yaml", -- grpc_service_config = "cloudchannel_grpc_service_config.json", -- package = "google.cloud.channel.v1", -- service_yaml = "cloudchannel_v1.yaml", -- deps = [ -- ":channel_php_grpc", -- ":channel_php_proto", -- ], --) -- --# Open Source Packages --php_gapic_assembly_pkg( -- name = "google-cloud-channel-v1-php", -- deps = [ -- ":channel_php_gapic", -- ":channel_php_grpc", -- ":channel_php_proto", -- ], +- name = "servicemesh_php_grpc", +- srcs = [":servicemesh_proto"], +- deps = [":servicemesh_php_proto"], -) - -############################################################################## @@ -22039,74 +38269,25 @@ diff -urN a/google/cloud/channel/v1/BUILD.bazel b/google/cloud/channel/v1/BUILD. - "nodejs_gapic_library", -) - --nodejs_gapic_library( -- name = "channel_nodejs_gapic", -- package_name = "@google-cloud/channel", -- src = ":channel_proto_with_info", -- extra_protoc_parameters = ["metadata"], -- grpc_service_config = "cloudchannel_grpc_service_config.json", -- package = "google.cloud.channel.v1", -- service_yaml = "cloudchannel_v1.yaml", -- deps = [], --) -- --nodejs_gapic_assembly_pkg( -- name = "channel-v1-nodejs", -- deps = [ -- ":channel_nodejs_gapic", -- ":channel_proto", -- ], --) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", -- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "channel_ruby_proto", -- deps = [":channel_proto"], +- name = "servicemesh_ruby_proto", +- deps = [":servicemesh_proto"], -) - -ruby_grpc_library( -- name = "channel_ruby_grpc", -- srcs = [":channel_proto"], -- deps = [":channel_ruby_proto"], --) -- --ruby_cloud_gapic_library( -- name = "channel_ruby_gapic", -- srcs = [":channel_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-channel-v1", -- "ruby-cloud-env-prefix=CHANNEL", -- "ruby-cloud-product-url=https://cloud.google.com/channel", -- "ruby-cloud-api-id=cloudchannel.googleapis.com", -- "ruby-cloud-api-shortname=cloudchannel", -- ], -- grpc_service_config = "cloudchannel_grpc_service_config.json", -- ruby_cloud_description = "You can use Channel Services to manage your relationships with your partners and your customers. Channel Services include a console and APIs to view and provision links between distributors and resellers, customers and entitlements.", -- ruby_cloud_title = "Cloud Channel V1", -- deps = [ -- ":channel_ruby_grpc", -- ":channel_ruby_proto", -- ], --) -- --# Open Source Packages --ruby_gapic_assembly_pkg( -- name = "google-cloud-channel-v1-ruby", -- deps = [ -- ":channel_ruby_gapic", -- ":channel_ruby_grpc", -- ":channel_ruby_proto", -- ], +- name = "servicemesh_ruby_grpc", +- srcs = [":servicemesh_proto"], +- deps = [":servicemesh_ruby_proto"], -) - -############################################################################## @@ -22114,53 +38295,39 @@ diff -urN a/google/cloud/channel/v1/BUILD.bazel b/google/cloud/channel/v1/BUILD. -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "channel_csharp_proto", -- deps = [":channel_proto"], +- name = "servicemesh_csharp_proto", +- deps = [":servicemesh_proto"], -) - -csharp_grpc_library( -- name = "channel_csharp_grpc", -- srcs = [":channel_proto"], -- deps = [":channel_csharp_proto"], --) -- --csharp_gapic_library( -- name = "channel_csharp_gapic", -- srcs = [":channel_proto_with_info"], -- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "cloudchannel_grpc_service_config.json", -- deps = [ -- ":channel_csharp_grpc", -- ":channel_csharp_proto", -- ], --) -- --# Open Source Packages --csharp_gapic_assembly_pkg( -- name = "google-cloud-channel-v1-csharp", -- deps = [ -- ":channel_csharp_gapic", -- ":channel_csharp_grpc", -- ":channel_csharp_proto", -- ], +- name = "servicemesh_csharp_grpc", +- srcs = [":servicemesh_proto"], +- deps = [":servicemesh_csharp_proto"], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ rules here -diff -urN a/google/cloud/datacatalog/v1/BUILD.bazel b/google/cloud/datacatalog/v1/BUILD.bazel ---- a/google/cloud/datacatalog/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/datacatalog/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,346 +0,0 @@ +-# Put your C++ code here +diff -urN a/google/cloud/gkehub/v1alpha2/BUILD.bazel b/google/cloud/gkehub/v1alpha2/BUILD.bazel +--- a/google/cloud/gkehub/v1alpha2/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/gkehub/v1alpha2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,338 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -22172,34 +38339,25 @@ diff -urN a/google/cloud/datacatalog/v1/BUILD.bazel b/google/cloud/datacatalog/v -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "datacatalog_proto", +- name = "gkehub_proto", - srcs = [ -- "common.proto", -- "datacatalog.proto", -- "gcs_fileset_spec.proto", -- "schema.proto", -- "search.proto", -- "table_spec.proto", -- "tags.proto", -- "timestamps.proto", +- "membership.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/iam/v1:iam_policy_proto", -- "//google/iam/v1:policy_proto", -- "@com_google_protobuf//:empty_proto", +- "//google/longrunning:operations_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "datacatalog_proto_with_info", +- name = "gkehub_proto_with_info", - deps = [ -- ":datacatalog_proto", +- ":gkehub_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -22217,46 +38375,44 @@ diff -urN a/google/cloud/datacatalog/v1/BUILD.bazel b/google/cloud/datacatalog/v -) - -java_proto_library( -- name = "datacatalog_java_proto", -- deps = [":datacatalog_proto"], +- name = "gkehub_java_proto", +- deps = [":gkehub_proto"], -) - -java_grpc_library( -- name = "datacatalog_java_grpc", -- srcs = [":datacatalog_proto"], -- deps = [":datacatalog_java_proto"], +- name = "gkehub_java_grpc", +- srcs = [":gkehub_proto"], +- deps = [":gkehub_java_proto"], -) - -java_gapic_library( -- name = "datacatalog_java_gapic", -- srcs = [":datacatalog_proto_with_info"], -- grpc_service_config = "datacatalog_grpc_service_config.json", +- name = "gkehub_java_gapic", +- srcs = [":gkehub_proto_with_info"], +- grpc_service_config = "membership_grpc_service_config.json", - test_deps = [ -- ":datacatalog_java_grpc", -- "//google/iam/v1:iam_java_grpc", +- ":gkehub_java_grpc", - ], - deps = [ -- ":datacatalog_java_proto", -- "//google/iam/v1:iam_java_proto", +- ":gkehub_java_proto", - ], -) - -java_gapic_test( -- name = "datacatalog_java_gapic_test_suite", +- name = "gkehub_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.datacatalog.v1.DataCatalogClientTest", +- "com.google.cloud.gkehub.v1alpha2.GkeHubClientTest", - ], -- runtime_deps = [":datacatalog_java_gapic_test"], +- runtime_deps = [":gkehub_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-datacatalog-v1-java", +- name = "google-cloud-gkehub-v1alpha2-java", - deps = [ -- ":datacatalog_java_gapic", -- ":datacatalog_java_grpc", -- ":datacatalog_java_proto", -- ":datacatalog_proto", +- ":gkehub_java_gapic", +- ":gkehub_java_grpc", +- ":gkehub_java_proto", +- ":gkehub_proto", - ], -) - @@ -22272,42 +38428,46 @@ diff -urN a/google/cloud/datacatalog/v1/BUILD.bazel b/google/cloud/datacatalog/v -) - -go_proto_library( -- name = "datacatalog_go_proto", +- name = "gkehub_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1", -- protos = [":datacatalog_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/v1alpha2", +- protos = [":gkehub_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "datacatalog_go_gapic", -- srcs = [":datacatalog_proto_with_info"], -- grpc_service_config = "datacatalog_grpc_service_config.json", -- importpath = "cloud.google.com/go/datacatalog/apiv1;datacatalog", -- service_yaml = "datacatalog_v1.yaml", +- name = "gkehub_go_gapic", +- srcs = [":gkehub_proto_with_info"], +- grpc_service_config = "membership_grpc_service_config.json", +- importpath = "cloud.google.com/go/gkehub/apiv1alpha2;gkehub", +- metadata = True, +- service_yaml = "gkehub_v1alpha2.yaml", - deps = [ -- ":datacatalog_go_proto", -- "//google/iam/v1:iam_go_proto", +- ":gkehub_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", - ], -) - -go_test( -- name = "datacatalog_go_gapic_test", -- srcs = [":datacatalog_go_gapic_srcjar_test"], -- embed = [":datacatalog_go_gapic"], -- importpath = "cloud.google.com/go/datacatalog/apiv1", +- name = "gkehub_go_gapic_test", +- srcs = [":gkehub_go_gapic_srcjar_test"], +- embed = [":gkehub_go_gapic"], +- importpath = "cloud.google.com/go/gkehub/apiv1alpha2", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-datacatalog-v1-go", +- name = "gapi-cloud-gkehub-v1alpha2-go", - deps = [ -- ":datacatalog_go_gapic", -- ":datacatalog_go_gapic_srcjar-test.srcjar", -- ":datacatalog_go_proto", +- ":gkehub_go_gapic", +- ":gkehub_go_gapic_srcjar-metadata.srcjar", +- ":gkehub_go_gapic_srcjar-test.srcjar", +- ":gkehub_go_proto", - ], -) - @@ -22321,16 +38481,17 @@ diff -urN a/google/cloud/datacatalog/v1/BUILD.bazel b/google/cloud/datacatalog/v -) - -py_gapic_library( -- name = "datacatalog_py_gapic", -- srcs = [":datacatalog_proto"], -- grpc_service_config = "datacatalog_grpc_service_config.json", +- name = "gkehub_py_gapic", +- srcs = [":gkehub_proto"], +- grpc_service_config = "membership_grpc_service_config.json", +- opt_args = ["warehouse-package-name=google-cloud-gke-hub"], -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "datacatalog-v1-py", +- name = "gkehub-v1alpha2-py", - deps = [ -- ":datacatalog_py_gapic", +- ":gkehub_py_gapic", - ], -) - @@ -22346,36 +38507,34 @@ diff -urN a/google/cloud/datacatalog/v1/BUILD.bazel b/google/cloud/datacatalog/v -) - -php_proto_library( -- name = "datacatalog_php_proto", -- deps = [":datacatalog_proto"], +- name = "gkehub_php_proto", +- deps = [":gkehub_proto"], -) - -php_grpc_library( -- name = "datacatalog_php_grpc", -- srcs = [":datacatalog_proto"], -- deps = [":datacatalog_php_proto"], +- name = "gkehub_php_grpc", +- srcs = [":gkehub_proto"], +- deps = [":gkehub_php_proto"], -) - -php_gapic_library( -- name = "datacatalog_php_gapic", -- src = ":datacatalog_proto_with_info", -- gapic_yaml = "datacatalog_gapic.yaml", -- grpc_service_config = "datacatalog_grpc_service_config.json", -- package = "google.cloud.datacatalog.v1", -- service_yaml = "datacatalog_v1.yaml", +- name = "gkehub_php_gapic", +- srcs = [":gkehub_proto_with_info"], +- grpc_service_config = "membership_grpc_service_config.json", +- service_yaml = "gkehub_v1alpha2.yaml", - deps = [ -- ":datacatalog_php_grpc", -- ":datacatalog_php_proto", +- ":gkehub_php_grpc", +- ":gkehub_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-datacatalog-v1-php", +- name = "google-cloud-gkehub-v1alpha2-php", - deps = [ -- ":datacatalog_php_gapic", -- ":datacatalog_php_grpc", -- ":datacatalog_php_proto", +- ":gkehub_php_gapic", +- ":gkehub_php_grpc", +- ":gkehub_php_proto", - ], -) - @@ -22389,22 +38548,21 @@ diff -urN a/google/cloud/datacatalog/v1/BUILD.bazel b/google/cloud/datacatalog/v -) - -nodejs_gapic_library( -- name = "datacatalog_nodejs_gapic", -- package_name = "@google-cloud/datacatalog", -- src = ":datacatalog_proto_with_info", +- name = "gkehub_nodejs_gapic", +- package_name = "@google-cloud/gkehub", +- src = ":gkehub_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "datacatalog_grpc_service_config.json", -- main_service = "DataCatalog", -- package = "google.cloud.datacatalog.v1", -- service_yaml = "datacatalog_v1.yaml", +- grpc_service_config = "membership_grpc_service_config.json", +- package = "google.cloud.gkehub.v1alpha2", +- service_yaml = "gkehub_v1alpha2.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "datacatalog-v1-nodejs", +- name = "gkehub-v1alpha2-nodejs", - deps = [ -- ":datacatalog_nodejs_gapic", -- ":datacatalog_proto", +- ":gkehub_nodejs_gapic", +- ":gkehub_proto", - ], -) - @@ -22413,49 +38571,41 @@ diff -urN a/google/cloud/datacatalog/v1/BUILD.bazel b/google/cloud/datacatalog/v -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "datacatalog_ruby_proto", -- deps = [":datacatalog_proto"], +- name = "gkehub_ruby_proto", +- deps = [":gkehub_proto"], -) - -ruby_grpc_library( -- name = "datacatalog_ruby_grpc", -- srcs = [":datacatalog_proto"], -- deps = [":datacatalog_ruby_proto"], +- name = "gkehub_ruby_grpc", +- srcs = [":gkehub_proto"], +- deps = [":gkehub_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "datacatalog_ruby_gapic", -- srcs = [":datacatalog_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-data_catalog-v1", -- "ruby-cloud-env-prefix=DATA_CATALOG", -- "ruby-cloud-product-url=https://cloud.google.com/data-catalog", -- "ruby-cloud-api-id=datacatalog.googleapis.com", -- "ruby-cloud-api-shortname=datacatalog", -- ], -- grpc_service_config = "datacatalog_grpc_service_config.json", -- ruby_cloud_description = "DataCatalog is a centralized and unified data catalog service for all your Cloud resources, where users and systems can discover data, explore and curate its semantics, understand how to act on it, and help govern its usage.", -- ruby_cloud_title = "Data Catalog V1", +- name = "gkehub_ruby_gapic", +- srcs = [":gkehub_proto_with_info"], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-gkehub-v1alpha2"], +- grpc_service_config = "membership_grpc_service_config.json", - deps = [ -- ":datacatalog_ruby_grpc", -- ":datacatalog_ruby_proto", +- ":gkehub_ruby_grpc", +- ":gkehub_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-datacatalog-v1-ruby", +- name = "google-cloud-gkehub-v1alpha2-ruby", - deps = [ -- ":datacatalog_ruby_gapic", -- ":datacatalog_ruby_grpc", -- ":datacatalog_ruby_proto", +- ":gkehub_ruby_gapic", +- ":gkehub_ruby_grpc", +- ":gkehub_ruby_proto", - ], -) - @@ -22471,34 +38621,34 @@ diff -urN a/google/cloud/datacatalog/v1/BUILD.bazel b/google/cloud/datacatalog/v -) - -csharp_proto_library( -- name = "datacatalog_csharp_proto", -- deps = [":datacatalog_proto"], +- name = "gkehub_csharp_proto", +- deps = [":gkehub_proto"], -) - -csharp_grpc_library( -- name = "datacatalog_csharp_grpc", -- srcs = [":datacatalog_proto"], -- deps = [":datacatalog_csharp_proto"], +- name = "gkehub_csharp_grpc", +- srcs = [":gkehub_proto"], +- deps = [":gkehub_csharp_proto"], -) - -csharp_gapic_library( -- name = "datacatalog_csharp_gapic", -- srcs = [":datacatalog_proto_with_info"], +- name = "gkehub_csharp_gapic", +- srcs = [":gkehub_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "datacatalog_grpc_service_config.json", +- grpc_service_config = "membership_grpc_service_config.json", - deps = [ -- ":datacatalog_csharp_grpc", -- ":datacatalog_csharp_proto", +- ":gkehub_csharp_grpc", +- ":gkehub_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-datacatalog-v1-csharp", +- name = "google-cloud-gkehub-v1alpha2-csharp", - deps = [ -- ":datacatalog_csharp_gapic", -- ":datacatalog_csharp_grpc", -- ":datacatalog_csharp_proto", +- ":gkehub_csharp_gapic", +- ":gkehub_csharp_grpc", +- ":gkehub_csharp_proto", - ], -) - @@ -22506,11 +38656,20 @@ diff -urN a/google/cloud/datacatalog/v1/BUILD.bazel b/google/cloud/datacatalog/v -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/datacatalog/v1beta1/BUILD.bazel b/google/cloud/datacatalog/v1beta1/BUILD.bazel ---- a/google/cloud/datacatalog/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/datacatalog/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,343 +0,0 @@ +diff -urN a/google/cloud/gkehub/v1beta/BUILD.bazel b/google/cloud/gkehub/v1beta/BUILD.bazel +--- a/google/cloud/gkehub/v1beta/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/gkehub/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,352 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -22522,36 +38681,29 @@ diff -urN a/google/cloud/datacatalog/v1beta1/BUILD.bazel b/google/cloud/datacata -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "datacatalog_proto", +- name = "gkehub_proto", - srcs = [ -- "common.proto", -- "datacatalog.proto", -- "gcs_fileset_spec.proto", -- "policytagmanager.proto", -- "policytagmanagerserialization.proto", -- "schema.proto", -- "search.proto", -- "table_spec.proto", -- "tags.proto", -- "timestamps.proto", +- "feature.proto", +- "service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/iam/v1:iam_policy_proto", -- "//google/iam/v1:policy_proto", -- "@com_google_protobuf//:empty_proto", +- "//google/cloud/gkehub/v1beta/configmanagement:configmanagement_proto", +- "//google/cloud/gkehub/v1beta/metering:metering_proto", +- "//google/cloud/gkehub/v1beta/multiclusteringress:multiclusteringress_proto", +- "//google/longrunning:operations_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "datacatalog_proto_with_info", +- name = "gkehub_proto_with_info", - deps = [ -- ":datacatalog_proto", +- ":gkehub_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -22569,48 +38721,44 @@ diff -urN a/google/cloud/datacatalog/v1beta1/BUILD.bazel b/google/cloud/datacata -) - -java_proto_library( -- name = "datacatalog_java_proto", -- deps = [":datacatalog_proto"], +- name = "gkehub_java_proto", +- deps = [":gkehub_proto"], -) - -java_grpc_library( -- name = "datacatalog_java_grpc", -- srcs = [":datacatalog_proto"], -- deps = [":datacatalog_java_proto"], +- name = "gkehub_java_grpc", +- srcs = [":gkehub_proto"], +- deps = [":gkehub_java_proto"], -) - -java_gapic_library( -- name = "datacatalog_java_gapic", -- srcs = [":datacatalog_proto_with_info"], -- grpc_service_config = "datacatalog_grpc_service_config.json", +- name = "gkehub_java_gapic", +- srcs = [":gkehub_proto_with_info"], +- grpc_service_config = "v1beta_grpc_service_config.json", - test_deps = [ -- ":datacatalog_java_grpc", -- "//google/iam/v1:iam_java_grpc", +- ":gkehub_java_grpc", - ], - deps = [ -- ":datacatalog_java_proto", -- "//google/iam/v1:iam_java_proto", +- ":gkehub_java_proto", - ], -) - -java_gapic_test( -- name = "datacatalog_java_gapic_test_suite", +- name = "gkehub_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.datacatalog.v1beta1.DataCatalogClientTest", -- "com.google.cloud.datacatalog.v1beta1.PolicyTagManagerClientTest", -- "com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationClientTest", +- "com.google.cloud.gkehub.v1beta.GkeHubClientTest", - ], -- runtime_deps = [":datacatalog_java_gapic_test"], +- runtime_deps = [":gkehub_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-datacatalog-v1beta1-java", +- name = "google-cloud-gkehub-v1beta-java", - deps = [ -- ":datacatalog_java_gapic", -- ":datacatalog_java_grpc", -- ":datacatalog_java_proto", -- ":datacatalog_proto", +- ":gkehub_java_gapic", +- ":gkehub_java_grpc", +- ":gkehub_java_proto", +- ":gkehub_proto", - ], -) - @@ -22626,42 +38774,49 @@ diff -urN a/google/cloud/datacatalog/v1beta1/BUILD.bazel b/google/cloud/datacata -) - -go_proto_library( -- name = "datacatalog_go_proto", +- name = "gkehub_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1", -- protos = [":datacatalog_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/v1beta", +- protos = [":gkehub_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/iam/v1:iam_go_proto", +- "//google/cloud/gkehub/v1beta/configmanagement:configmanagement_go_proto", +- "//google/cloud/gkehub/v1beta/metering:metering_go_proto", +- "//google/cloud/gkehub/v1beta/multiclusteringress:multiclusteringress_go_proto", +- "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "datacatalog_go_gapic", -- srcs = [":datacatalog_proto_with_info"], -- grpc_service_config = "datacatalog_grpc_service_config.json", -- importpath = "cloud.google.com/go/datacatalog/apiv1beta1;datacatalog", -- service_yaml = "datacatalog_v1beta1.yaml", +- name = "gkehub_go_gapic", +- srcs = [":gkehub_proto_with_info"], +- grpc_service_config = "v1beta_grpc_service_config.json", +- importpath = "cloud.google.com/go/gkehub/apiv1beta;gkehub", +- service_yaml = "gkehub_v1beta.yaml", +- metadata = True, - deps = [ -- ":datacatalog_go_proto", -- "//google/iam/v1:iam_go_proto", +- ":gkehub_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@com_google_cloud_go//longrunning:go_default_library", - ], -) - -go_test( -- name = "datacatalog_go_gapic_test", -- srcs = [":datacatalog_go_gapic_srcjar_test"], -- embed = [":datacatalog_go_gapic"], -- importpath = "cloud.google.com/go/datacatalog/apiv1beta1", +- name = "gkehub_go_gapic_test", +- srcs = [":gkehub_go_gapic_srcjar_test"], +- embed = [":gkehub_go_gapic"], +- importpath = "cloud.google.com/go/gkehub/apiv1beta", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-datacatalog-v1beta1-go", +- name = "gapi-cloud-gkehub-v1beta-go", - deps = [ -- ":datacatalog_go_gapic", -- ":datacatalog_go_gapic_srcjar-test.srcjar", -- ":datacatalog_go_proto", +- ":gkehub_go_gapic", +- ":gkehub_go_gapic_srcjar-test.srcjar", +- ":gkehub_go_gapic_srcjar-metadata.srcjar", +- ":gkehub_go_proto", - ], -) - @@ -22675,16 +38830,22 @@ diff -urN a/google/cloud/datacatalog/v1beta1/BUILD.bazel b/google/cloud/datacata -) - -py_gapic_library( -- name = "datacatalog_py_gapic", -- srcs = [":datacatalog_proto"], -- grpc_service_config = "datacatalog_grpc_service_config.json", +- name = "gkehub_py_gapic", +- srcs = [":gkehub_proto"], +- grpc_service_config = "v1beta_grpc_service_config.json", +- opt_args = [ +- "warehouse-package-name=google-cloud-gke-hub", +- ], -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "datacatalog-v1beta1-py", +- name = "gkehub-v1beta-py", - deps = [ -- ":datacatalog_py_gapic", +- ":gkehub_py_gapic", +- "//google/cloud/gkehub/v1beta/configmanagement:configmanagement_py_gapic", +- "//google/cloud/gkehub/v1beta/metering:metering_py_gapic", +- "//google/cloud/gkehub/v1beta/multiclusteringress:multiclusteringress_py_gapic", - ], -) - @@ -22700,36 +38861,34 @@ diff -urN a/google/cloud/datacatalog/v1beta1/BUILD.bazel b/google/cloud/datacata -) - -php_proto_library( -- name = "datacatalog_php_proto", -- deps = [":datacatalog_proto"], +- name = "gkehub_php_proto", +- deps = [":gkehub_proto"], -) - -php_grpc_library( -- name = "datacatalog_php_grpc", -- srcs = [":datacatalog_proto"], -- deps = [":datacatalog_php_proto"], +- name = "gkehub_php_grpc", +- srcs = [":gkehub_proto"], +- deps = [":gkehub_php_proto"], -) - -php_gapic_library( -- name = "datacatalog_php_gapic", -- src = ":datacatalog_proto_with_info", -- gapic_yaml = "datacatalog_gapic.yaml", -- grpc_service_config = "datacatalog_grpc_service_config.json", -- package = "google.cloud.datacatalog.v1beta1", -- service_yaml = "datacatalog_v1beta1.yaml", +- name = "gkehub_php_gapic", +- srcs = [":gkehub_proto_with_info"], +- grpc_service_config = "v1beta_grpc_service_config.json", +- service_yaml = "gkehub_v1beta.yaml", - deps = [ -- ":datacatalog_php_grpc", -- ":datacatalog_php_proto", +- ":gkehub_php_grpc", +- ":gkehub_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-datacatalog-v1beta1-php", +- name = "google-cloud-gkehub-v1beta-php", - deps = [ -- ":datacatalog_php_gapic", -- ":datacatalog_php_grpc", -- ":datacatalog_php_proto", +- ":gkehub_php_gapic", +- ":gkehub_php_grpc", +- ":gkehub_php_proto", - ], -) - @@ -22743,22 +38902,21 @@ diff -urN a/google/cloud/datacatalog/v1beta1/BUILD.bazel b/google/cloud/datacata -) - -nodejs_gapic_library( -- name = "datacatalog_nodejs_gapic", -- package_name = "@google-cloud/datacatalog", -- src = ":datacatalog_proto_with_info", +- name = "gkehub_nodejs_gapic", +- package_name = "@google-cloud/gkehub", +- src = ":gkehub_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "datacatalog_grpc_service_config.json", -- main_service = "DataCatalog", -- package = "google.cloud.datacatalog.v1beta1", -- service_yaml = "datacatalog_v1beta1.yaml", +- grpc_service_config = "v1beta_grpc_service_config.json", +- package = "google.cloud.gkehub.v1beta", +- service_yaml = "gkehub_v1beta.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "datacatalog-v1beta1-nodejs", +- name = "gkehub-v1beta-nodejs", - deps = [ -- ":datacatalog_nodejs_gapic", -- ":datacatalog_proto", +- ":gkehub_nodejs_gapic", +- ":gkehub_proto", - ], -) - @@ -22768,41 +38926,42 @@ diff -urN a/google/cloud/datacatalog/v1beta1/BUILD.bazel b/google/cloud/datacata -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "datacatalog_ruby_proto", -- deps = [":datacatalog_proto"], +- name = "gkehub_ruby_proto", +- deps = [":gkehub_proto"], -) - -ruby_grpc_library( -- name = "datacatalog_ruby_grpc", -- srcs = [":datacatalog_proto"], -- deps = [":datacatalog_ruby_proto"], +- name = "gkehub_ruby_grpc", +- srcs = [":gkehub_proto"], +- deps = [":gkehub_ruby_proto"], -) - --ruby_gapic_library( -- name = "datacatalog_ruby_gapic", -- src = ":datacatalog_proto_with_info", -- gapic_yaml = "datacatalog_gapic.yaml", -- package = "google.cloud.datacatalog.v1beta1", -- service_yaml = "datacatalog_v1beta1.yaml", +-ruby_cloud_gapic_library( +- name = "gkehub_ruby_gapic", +- srcs = [":gkehub_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-gkehub-v1beta", +- ], +- grpc_service_config = "v1beta_grpc_service_config.json", - deps = [ -- ":datacatalog_ruby_grpc", -- ":datacatalog_ruby_proto", +- ":gkehub_ruby_grpc", +- ":gkehub_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-datacatalog-v1beta1-ruby", +- name = "google-cloud-gkehub-v1beta-ruby", - deps = [ -- ":datacatalog_ruby_gapic", -- ":datacatalog_ruby_grpc", -- ":datacatalog_ruby_proto", +- ":gkehub_ruby_gapic", +- ":gkehub_ruby_grpc", +- ":gkehub_ruby_proto", - ], -) - @@ -22818,34 +38977,34 @@ diff -urN a/google/cloud/datacatalog/v1beta1/BUILD.bazel b/google/cloud/datacata -) - -csharp_proto_library( -- name = "datacatalog_csharp_proto", -- deps = [":datacatalog_proto"], +- name = "gkehub_csharp_proto", +- deps = [":gkehub_proto"], -) - -csharp_grpc_library( -- name = "datacatalog_csharp_grpc", -- srcs = [":datacatalog_proto"], -- deps = [":datacatalog_csharp_proto"], +- name = "gkehub_csharp_grpc", +- srcs = [":gkehub_proto"], +- deps = [":gkehub_csharp_proto"], -) - -csharp_gapic_library( -- name = "datacatalog_csharp_gapic", -- srcs = [":datacatalog_proto_with_info"], +- name = "gkehub_csharp_gapic", +- srcs = [":gkehub_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "datacatalog_grpc_service_config.json", +- grpc_service_config = "v1beta_grpc_service_config.json", - deps = [ -- ":datacatalog_csharp_grpc", -- ":datacatalog_csharp_proto", +- ":gkehub_csharp_grpc", +- ":gkehub_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-datacatalog-v1beta1-csharp", +- name = "google-cloud-gkehub-v1beta-csharp", - deps = [ -- ":datacatalog_csharp_gapic", -- ":datacatalog_csharp_grpc", -- ":datacatalog_csharp_proto", +- ":gkehub_csharp_gapic", +- ":gkehub_csharp_grpc", +- ":gkehub_csharp_proto", - ], -) - @@ -22853,15 +39012,10 @@ diff -urN a/google/cloud/datacatalog/v1beta1/BUILD.bazel b/google/cloud/datacata -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/datalabeling/BUILD.bazel b/google/cloud/datalabeling/BUILD.bazel ---- a/google/cloud/datalabeling/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/datalabeling/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/cloud/datalabeling/v1beta1/BUILD.bazel b/google/cloud/datalabeling/v1beta1/BUILD.bazel ---- a/google/cloud/datalabeling/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/datalabeling/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,350 +0,0 @@ +diff -urN a/google/cloud/gkehub/v1beta/configmanagement/BUILD.bazel b/google/cloud/gkehub/v1beta/configmanagement/BUILD.bazel +--- a/google/cloud/gkehub/v1beta/configmanagement/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/gkehub/v1beta/configmanagement/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,146 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -22871,150 +39025,203 @@ diff -urN a/google/cloud/datalabeling/v1beta1/BUILD.bazel b/google/cloud/datalab -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") --load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "datalabeling_proto", +- name = "configmanagement_proto", - srcs = [ -- "annotation.proto", -- "annotation_spec_set.proto", -- "data_labeling_service.proto", -- "data_payloads.proto", -- "dataset.proto", -- "evaluation.proto", -- "evaluation_job.proto", -- "human_annotation_config.proto", -- "instruction.proto", -- "operations.proto", +- "configmanagement.proto", - ], - deps = [ - "//google/api:annotations_proto", -- "//google/api:client_proto", -- "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/longrunning:operations_proto", -- "//google/rpc:status_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - --proto_library_with_info( -- name = "datalabeling_proto_with_info", -- deps = [ -- ":datalabeling_proto", -- "//google/cloud:common_resources_proto", -- ], --) -- -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "datalabeling_java_proto", -- deps = [":datalabeling_proto"], +- name = "configmanagement_java_proto", +- deps = [":configmanagement_proto"], -) - -java_grpc_library( -- name = "datalabeling_java_grpc", -- srcs = [":datalabeling_proto"], -- deps = [":datalabeling_java_proto"], +- name = "configmanagement_java_grpc", +- srcs = [":configmanagement_proto"], +- deps = [":configmanagement_java_proto"], -) - --java_gapic_library( -- name = "datalabeling_java_gapic", -- srcs = [":datalabeling_proto_with_info"], -- grpc_service_config = "datalabeling_grpc_service_config.json", -- test_deps = [ -- ":datalabeling_java_grpc", -- ], +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "configmanagement_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/configmanagement/v1beta", +- protos = [":configmanagement_proto"], - deps = [ -- ":datalabeling_java_proto", +- "//google/api:annotations_go_proto", - ], -) - --java_gapic_test( -- name = "datalabeling_java_gapic_test_suite", -- test_classes = [ -- "com.google.cloud.datalabeling.v1beta1.DataLabelingServiceClientTest", -- ], -- runtime_deps = [":datalabeling_java_gapic_test"], +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_library", -) - --# Open Source Packages --java_gapic_assembly_gradle_pkg( -- name = "google-cloud-datalabeling-v1beta1-java", -- deps = [ -- ":datalabeling_java_gapic", -- ":datalabeling_java_grpc", -- ":datalabeling_java_proto", -- ":datalabeling_proto", -- ], +-py_gapic_library( +- name = "configmanagement_py_gapic", +- srcs = [":configmanagement_proto"], -) - -############################################################################## --# Go +-# PHP -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "go_gapic_assembly_pkg", -- "go_gapic_library", -- "go_proto_library", -- "go_test", +- "php_grpc_library", +- "php_proto_library", -) - --go_proto_library( -- name = "datalabeling_go_proto", -- compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1", -- protos = [":datalabeling_proto"], -- deps = [ -- "//google/api:annotations_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "//google/rpc:status_go_proto", -- ], +-php_proto_library( +- name = "configmanagement_php_proto", +- deps = [":configmanagement_proto"], -) - --go_gapic_library( -- name = "datalabeling_go_gapic", -- srcs = [":datalabeling_proto_with_info"], -- grpc_service_config = "datalabeling_grpc_service_config.json", -- importpath = "cloud.google.com/go/datalabeling/apiv1beta1;datalabeling", -- service_yaml = "datalabeling_v1beta1.yaml", +-php_grpc_library( +- name = "configmanagement_php_grpc", +- srcs = [":configmanagement_proto"], +- deps = [":configmanagement_php_proto"], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "configmanagement_ruby_proto", +- deps = [":configmanagement_proto"], +-) +- +-ruby_grpc_library( +- name = "configmanagement_ruby_grpc", +- srcs = [":configmanagement_proto"], +- deps = [":configmanagement_ruby_proto"], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "configmanagement_csharp_proto", +- deps = [":configmanagement_proto"], +-) +- +-csharp_grpc_library( +- name = "configmanagement_csharp_grpc", +- srcs = [":configmanagement_proto"], +- deps = [":configmanagement_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/cloud/gkehub/v1beta/metering/BUILD.bazel b/google/cloud/gkehub/v1beta/metering/BUILD.bazel +--- a/google/cloud/gkehub/v1beta/metering/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/gkehub/v1beta/metering/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,146 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-proto_library( +- name = "metering_proto", +- srcs = [ +- "metering.proto", +- ], - deps = [ -- ":datalabeling_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- "//google/api:annotations_proto", +- "@com_google_protobuf//:timestamp_proto", - ], -) - --go_test( -- name = "datalabeling_go_gapic_test", -- srcs = [":datalabeling_go_gapic_srcjar_test"], -- embed = [":datalabeling_go_gapic"], -- importpath = "cloud.google.com/go/datalabeling/apiv1beta1", +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", -) - --# Open Source Packages --go_gapic_assembly_pkg( -- name = "gapi-cloud-datalabeling-v1beta1-go", +-java_proto_library( +- name = "metering_java_proto", +- deps = [":metering_proto"], +-) +- +-java_grpc_library( +- name = "metering_java_grpc", +- srcs = [":metering_proto"], +- deps = [":metering_java_proto"], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "metering_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/metering/v1beta", +- protos = [":metering_proto"], - deps = [ -- ":datalabeling_go_gapic", -- ":datalabeling_go_gapic_srcjar-test.srcjar", -- ":datalabeling_go_proto", +- "//google/api:annotations_go_proto", - ], -) - @@ -23023,21 +39230,12 @@ diff -urN a/google/cloud/datalabeling/v1beta1/BUILD.bazel b/google/cloud/datalab -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "py_gapic_assembly_pkg", - "py_gapic_library", -) - -py_gapic_library( -- name = "datalabeling_py_gapic", -- srcs = [":datalabeling_proto"], -- grpc_service_config = "datalabeling_grpc_service_config.json", --) -- --py_gapic_assembly_pkg( -- name = "datalabeling-v1beta1-py", -- deps = [ -- ":datalabeling_py_gapic", -- ], +- name = "metering_py_gapic", +- srcs = [":metering_proto"], -) - -############################################################################## @@ -23045,44 +39243,19 @@ diff -urN a/google/cloud/datalabeling/v1beta1/BUILD.bazel b/google/cloud/datalab -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "php_gapic_assembly_pkg", -- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "datalabeling_php_proto", -- deps = [":datalabeling_proto"], +- name = "metering_php_proto", +- deps = [":metering_proto"], -) - -php_grpc_library( -- name = "datalabeling_php_grpc", -- srcs = [":datalabeling_proto"], -- deps = [":datalabeling_php_proto"], --) -- --php_gapic_library( -- name = "datalabeling_php_gapic", -- src = ":datalabeling_proto_with_info", -- gapic_yaml = "datalabeling_gapic.yaml", -- grpc_service_config = "datalabeling_grpc_service_config.json", -- package = "google.cloud.datalabeling.v1beta1", -- service_yaml = "datalabeling_v1beta1.yaml", -- deps = [ -- ":datalabeling_php_grpc", -- ":datalabeling_php_proto", -- ], --) -- --# Open Source Packages --php_gapic_assembly_pkg( -- name = "google-cloud-datalabeling-v1beta1-php", -- deps = [ -- ":datalabeling_php_gapic", -- ":datalabeling_php_grpc", -- ":datalabeling_php_proto", -- ], +- name = "metering_php_grpc", +- srcs = [":metering_proto"], +- deps = [":metering_php_proto"], -) - -############################################################################## @@ -23094,75 +39267,25 @@ diff -urN a/google/cloud/datalabeling/v1beta1/BUILD.bazel b/google/cloud/datalab - "nodejs_gapic_library", -) - --nodejs_gapic_library( -- name = "datalabeling_nodejs_gapic", -- package_name = "@google-cloud/datalabeling", -- src = ":datalabeling_proto_with_info", -- extra_protoc_parameters = ["metadata"], -- grpc_service_config = "datalabeling_grpc_service_config.json", -- main_service = "datalabeling", -- package = "google.cloud.datalabeling.v1beta1", -- service_yaml = "datalabeling_v1beta1.yaml", -- deps = [], --) -- --nodejs_gapic_assembly_pkg( -- name = "datalabeling-v1beta1-nodejs", -- deps = [ -- ":datalabeling_nodejs_gapic", -- ":datalabeling_proto", -- ], --) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", -- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "datalabeling_ruby_proto", -- deps = [":datalabeling_proto"], +- name = "metering_ruby_proto", +- deps = [":metering_proto"], -) - -ruby_grpc_library( -- name = "datalabeling_ruby_grpc", -- srcs = [":datalabeling_proto"], -- deps = [":datalabeling_ruby_proto"], --) -- --ruby_cloud_gapic_library( -- name = "datalabeling_ruby_gapic", -- srcs = [":datalabeling_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-data_labeling-v1beta1", -- "ruby-cloud-env-prefix=DATA_LABELING", -- "ruby-cloud-product-url=https://cloud.google.com/ai-platform/data-labeling/docs", -- "ruby-cloud-api-id=datalabeling.googleapis.com", -- "ruby-cloud-api-shortname=datalabeling", -- ], -- grpc_service_config = "datalabeling_grpc_service_config.json", -- ruby_cloud_description = "AI Platform Data Labeling Service lets you work with human labelers to generate highly accurate labels for a collection of data that you can use in machine learning models.", -- ruby_cloud_title = "AI Platform Data Labeling Service V1beta1", -- deps = [ -- ":datalabeling_ruby_grpc", -- ":datalabeling_ruby_proto", -- ], --) -- --# Open Source Packages --ruby_gapic_assembly_pkg( -- name = "google-cloud-datalabeling-v1beta1-ruby", -- deps = [ -- ":datalabeling_ruby_gapic", -- ":datalabeling_ruby_grpc", -- ":datalabeling_ruby_proto", -- ], +- name = "metering_ruby_grpc", +- srcs = [":metering_proto"], +- deps = [":metering_ruby_proto"], -) - -############################################################################## @@ -23170,52 +39293,29 @@ diff -urN a/google/cloud/datalabeling/v1beta1/BUILD.bazel b/google/cloud/datalab -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "datalabeling_csharp_proto", -- deps = [":datalabeling_proto"], +- name = "metering_csharp_proto", +- deps = [":metering_proto"], -) - -csharp_grpc_library( -- name = "datalabeling_csharp_grpc", -- srcs = [":datalabeling_proto"], -- deps = [":datalabeling_csharp_proto"], --) -- --csharp_gapic_library( -- name = "datalabeling_csharp_gapic", -- srcs = [":datalabeling_proto_with_info"], -- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "datalabeling_grpc_service_config.json", -- deps = [ -- ":datalabeling_csharp_grpc", -- ":datalabeling_csharp_proto", -- ], --) -- --# Open Source Packages --csharp_gapic_assembly_pkg( -- name = "google-cloud-datalabeling-v1beta1-csharp", -- deps = [ -- ":datalabeling_csharp_gapic", -- ":datalabeling_csharp_grpc", -- ":datalabeling_csharp_proto", -- ], +- name = "metering_csharp_grpc", +- srcs = [":metering_proto"], +- deps = [":metering_csharp_proto"], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ rules here -diff -urN a/google/cloud/dataproc/logging/BUILD.bazel b/google/cloud/dataproc/logging/BUILD.bazel ---- a/google/cloud/dataproc/logging/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/dataproc/logging/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,162 +0,0 @@ +-# Put your C++ code here +diff -urN a/google/cloud/gkehub/v1beta/multiclusteringress/BUILD.bazel b/google/cloud/gkehub/v1beta/multiclusteringress/BUILD.bazel +--- a/google/cloud/gkehub/v1beta/multiclusteringress/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/gkehub/v1beta/multiclusteringress/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,145 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -23227,12 +39327,12 @@ diff -urN a/google/cloud/dataproc/logging/BUILD.bazel b/google/cloud/dataproc/lo -load("@rules_proto//proto:defs.bzl", "proto_library") - -proto_library( -- name = "logging_proto", +- name = "multiclusteringress_proto", - srcs = [ -- "autoscaler_log.proto", +- "multiclusteringress.proto", - ], - deps = [ -- "@com_google_protobuf//:duration_proto", +- "//google/api:annotations_proto", - ], -) - @@ -23246,14 +39346,14 @@ diff -urN a/google/cloud/dataproc/logging/BUILD.bazel b/google/cloud/dataproc/lo -) - -java_proto_library( -- name = "logging_java_proto", -- deps = [":logging_proto"], +- name = "multiclusteringress_java_proto", +- deps = [":multiclusteringress_proto"], -) - -java_grpc_library( -- name = "logging_java_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_java_proto"], +- name = "multiclusteringress_java_grpc", +- srcs = [":multiclusteringress_proto"], +- deps = [":multiclusteringress_java_proto"], -) - -############################################################################## @@ -23265,12 +39365,12 @@ diff -urN a/google/cloud/dataproc/logging/BUILD.bazel b/google/cloud/dataproc/lo -) - -go_proto_library( -- name = "logging_go_proto", +- name = "multiclusteringress_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/dataproc/logging", -- protos = [":logging_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/multiclusteringress/v1beta", +- protos = [":multiclusteringress_proto"], - deps = [ -- +- "//google/api:annotations_go_proto", - ], -) - @@ -23279,29 +39379,12 @@ diff -urN a/google/cloud/dataproc/logging/BUILD.bazel b/google/cloud/dataproc/lo -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", -- "py_grpc_library", -- "py_proto_library", --) -- --moved_proto_library( -- name = "logging_moved_proto", -- srcs = [":logging_proto"], -- deps = [ -- "@com_google_protobuf//:duration_proto", -- ], --) -- --py_proto_library( -- name = "logging_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":logging_moved_proto"], +- "py_gapic_library", -) - --py_grpc_library( -- name = "logging_py_grpc", -- srcs = [":logging_moved_proto"], -- deps = [":logging_py_proto"], +-py_gapic_library( +- name = "multiclusteringress_py_gapic", +- srcs = [":multiclusteringress_proto"], -) - -############################################################################## @@ -23314,14 +39397,14 @@ diff -urN a/google/cloud/dataproc/logging/BUILD.bazel b/google/cloud/dataproc/lo -) - -php_proto_library( -- name = "logging_php_proto", -- deps = [":logging_proto"], +- name = "multiclusteringress_php_proto", +- deps = [":multiclusteringress_proto"], -) - -php_grpc_library( -- name = "logging_php_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_php_proto"], +- name = "multiclusteringress_php_grpc", +- srcs = [":multiclusteringress_proto"], +- deps = [":multiclusteringress_php_proto"], -) - -############################################################################## @@ -23344,14 +39427,14 @@ diff -urN a/google/cloud/dataproc/logging/BUILD.bazel b/google/cloud/dataproc/lo -) - -ruby_proto_library( -- name = "logging_ruby_proto", -- deps = [":logging_proto"], +- name = "multiclusteringress_ruby_proto", +- deps = [":multiclusteringress_proto"], -) - -ruby_grpc_library( -- name = "logging_ruby_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_ruby_proto"], +- name = "multiclusteringress_ruby_grpc", +- srcs = [":multiclusteringress_proto"], +- deps = [":multiclusteringress_ruby_proto"], -) - -############################################################################## @@ -23364,25 +39447,34 @@ diff -urN a/google/cloud/dataproc/logging/BUILD.bazel b/google/cloud/dataproc/lo -) - -csharp_proto_library( -- name = "logging_csharp_proto", -- deps = [":logging_proto"], +- name = "multiclusteringress_csharp_proto", +- deps = [":multiclusteringress_proto"], -) - -csharp_grpc_library( -- name = "logging_csharp_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_csharp_proto"], +- name = "multiclusteringress_csharp_grpc", +- srcs = [":multiclusteringress_proto"], +- deps = [":multiclusteringress_csharp_proto"], -) - -############################################################################## -# C++ -############################################################################## -# Put your C++ code here -diff -urN a/google/cloud/dataproc/v1/BUILD.bazel b/google/cloud/dataproc/v1/BUILD.bazel ---- a/google/cloud/dataproc/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/dataproc/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,349 +0,0 @@ +diff -urN a/google/cloud/gkehub/v1beta1/BUILD.bazel b/google/cloud/gkehub/v1beta1/BUILD.bazel +--- a/google/cloud/gkehub/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/gkehub/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,348 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -23394,14 +39486,9 @@ diff -urN a/google/cloud/dataproc/v1/BUILD.bazel b/google/cloud/dataproc/v1/BUIL -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "dataproc_proto", +- name = "gkehub_proto", - srcs = [ -- "autoscaling_policies.proto", -- "clusters.proto", -- "jobs.proto", -- "operations.proto", -- "shared.proto", -- "workflow_templates.proto", +- "membership.proto", - ], - deps = [ - "//google/api:annotations_proto", @@ -23409,17 +39496,16 @@ diff -urN a/google/cloud/dataproc/v1/BUILD.bazel b/google/cloud/dataproc/v1/BUIL - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "//google/longrunning:operations_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:empty_proto", +- "//google/rpc:status_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "dataproc_proto_with_info", +- name = "gkehub_proto_with_info", - deps = [ -- ":dataproc_proto", +- ":gkehub_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -23437,49 +39523,44 @@ diff -urN a/google/cloud/dataproc/v1/BUILD.bazel b/google/cloud/dataproc/v1/BUIL -) - -java_proto_library( -- name = "dataproc_java_proto", -- deps = [":dataproc_proto"], +- name = "gkehub_java_proto", +- deps = [":gkehub_proto"], -) - -java_grpc_library( -- name = "dataproc_java_grpc", -- srcs = [":dataproc_proto"], -- deps = [":dataproc_java_proto"], +- name = "gkehub_java_grpc", +- srcs = [":gkehub_proto"], +- deps = [":gkehub_java_proto"], -) - -java_gapic_library( -- name = "dataproc_java_gapic", -- srcs = [":dataproc_proto_with_info"], -- gapic_yaml = "dataproc_gapic.yaml", -- grpc_service_config = "dataproc_grpc_service_config.json", +- name = "gkehub_java_gapic", +- srcs = [":gkehub_proto_with_info"], +- grpc_service_config = "membership_grpc_service_config.json", - test_deps = [ -- ":dataproc_java_grpc", +- ":gkehub_java_grpc", - ], - deps = [ -- ":dataproc_java_proto", +- ":gkehub_java_proto", - ], -) - -java_gapic_test( -- name = "dataproc_java_gapic_test_suite", +- name = "gkehub_java_gapic_test_suite", - test_classes = [ -- # Add AutoscalingPolicyService to gapic yaml -- "com.google.cloud.dataproc.v1.AutoscalingPolicyServiceClientTest", -- "com.google.cloud.dataproc.v1.ClusterControllerClientTest", -- "com.google.cloud.dataproc.v1.JobControllerClientTest", -- "com.google.cloud.dataproc.v1.WorkflowTemplateServiceClientTest", +- "com.google.cloud.gkehub.v1beta1.GkeHubMembershipServiceClientTest", - ], -- runtime_deps = [":dataproc_java_gapic_test"], +- runtime_deps = [":gkehub_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-dataproc-v1-java", +- name = "google-cloud-gkehub-v1beta1-java", - deps = [ -- ":dataproc_java_gapic", -- ":dataproc_java_grpc", -- ":dataproc_java_proto", -- ":dataproc_proto", +- ":gkehub_java_gapic", +- ":gkehub_java_grpc", +- ":gkehub_java_proto", +- ":gkehub_proto", - ], -) - @@ -23495,45 +39576,47 @@ diff -urN a/google/cloud/dataproc/v1/BUILD.bazel b/google/cloud/dataproc/v1/BUIL -) - -go_proto_library( -- name = "dataproc_go_proto", +- name = "gkehub_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/dataproc/v1", -- protos = [":dataproc_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/v1beta1", +- protos = [":gkehub_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", - ], -) - -go_gapic_library( -- name = "dataproc_go_gapic", -- srcs = [":dataproc_proto_with_info"], -- grpc_service_config = "dataproc_grpc_service_config.json", -- importpath = "cloud.google.com/go/dataproc/apiv1;dataproc", -- service_yaml = "dataproc_v1.yaml", +- name = "gkehub_go_gapic", +- srcs = [":gkehub_proto_with_info"], +- grpc_service_config = "membership_grpc_service_config.json", +- importpath = "cloud.google.com/go/gkehub/apiv1beta1;gkehub", +- metadata = True, +- service_yaml = "gkehub_v1beta1.yaml", - deps = [ -- ":dataproc_go_proto", +- ":gkehub_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "dataproc_go_gapic_test", -- srcs = [":dataproc_go_gapic_srcjar_test"], -- embed = [":dataproc_go_gapic"], -- importpath = "cloud.google.com/go/dataproc/apiv1", +- name = "gkehub_go_gapic_test", +- srcs = [":gkehub_go_gapic_srcjar_test"], +- embed = [":gkehub_go_gapic"], +- importpath = "cloud.google.com/go/gkehub/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-dataproc-v1-go", +- name = "gapi-cloud-gkehub-v1beta1-go", - deps = [ -- ":dataproc_go_gapic", -- ":dataproc_go_gapic_srcjar-test.srcjar", -- ":dataproc_go_proto", +- ":gkehub_go_gapic", +- ":gkehub_go_gapic_srcjar-metadata.srcjar", +- ":gkehub_go_gapic_srcjar-test.srcjar", +- ":gkehub_go_proto", - ], -) - @@ -23547,15 +39630,17 @@ diff -urN a/google/cloud/dataproc/v1/BUILD.bazel b/google/cloud/dataproc/v1/BUIL -) - -py_gapic_library( -- name = "dataproc_py_gapic", -- srcs = [":dataproc_proto"], -- grpc_service_config = "dataproc_grpc_service_config.json", +- name = "gkehub_py_gapic", +- srcs = [":gkehub_proto"], +- grpc_service_config = "membership_grpc_service_config.json", +- opt_args = ["warehouse-package-name=google-cloud-gke-hub"], -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "dataproc-v1-py", +- name = "gkehub-v1beta1-py", - deps = [ -- ":dataproc_py_gapic", +- ":gkehub_py_gapic", - ], -) - @@ -23571,36 +39656,34 @@ diff -urN a/google/cloud/dataproc/v1/BUILD.bazel b/google/cloud/dataproc/v1/BUIL -) - -php_proto_library( -- name = "dataproc_php_proto", -- deps = [":dataproc_proto"], +- name = "gkehub_php_proto", +- deps = [":gkehub_proto"], -) - -php_grpc_library( -- name = "dataproc_php_grpc", -- srcs = [":dataproc_proto"], -- deps = [":dataproc_php_proto"], +- name = "gkehub_php_grpc", +- srcs = [":gkehub_proto"], +- deps = [":gkehub_php_proto"], -) - -php_gapic_library( -- name = "dataproc_php_gapic", -- src = ":dataproc_proto_with_info", -- gapic_yaml = "dataproc_gapic.yaml", -- grpc_service_config = "dataproc_grpc_service_config.json", -- package = "google.cloud.dataproc.v1", -- service_yaml = "dataproc_v1.yaml", +- name = "gkehub_php_gapic", +- srcs = [":gkehub_proto_with_info"], +- grpc_service_config = "membership_grpc_service_config.json", +- service_yaml = "gkehub_v1beta1.yaml", - deps = [ -- ":dataproc_php_grpc", -- ":dataproc_php_proto", +- ":gkehub_php_grpc", +- ":gkehub_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-dataproc-v1-php", +- name = "google-cloud-gkehub-v1beta1-php", - deps = [ -- ":dataproc_php_gapic", -- ":dataproc_php_grpc", -- ":dataproc_php_proto", +- ":gkehub_php_gapic", +- ":gkehub_php_grpc", +- ":gkehub_php_proto", - ], -) - @@ -23614,22 +39697,21 @@ diff -urN a/google/cloud/dataproc/v1/BUILD.bazel b/google/cloud/dataproc/v1/BUIL -) - -nodejs_gapic_library( -- name = "dataproc_nodejs_gapic", -- package_name = "@google-cloud/dataproc", -- src = ":dataproc_proto_with_info", +- name = "gkehub_nodejs_gapic", +- package_name = "@google-cloud/gke-hub", +- src = ":gkehub_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "dataproc_grpc_service_config.json", -- main_service = "dataproc", -- package = "google.cloud.dataproc.v1", -- service_yaml = "dataproc_v1.yaml", +- grpc_service_config = "membership_grpc_service_config.json", +- package = "google.cloud.gkehub.v1beta1", +- service_yaml = "gkehub_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "dataproc-v1-nodejs", +- name = "gkehub-v1beta1-nodejs", - deps = [ -- ":dataproc_nodejs_gapic", -- ":dataproc_proto", +- ":gkehub_nodejs_gapic", +- ":gkehub_proto", - ], -) - @@ -23638,49 +39720,49 @@ diff -urN a/google/cloud/dataproc/v1/BUILD.bazel b/google/cloud/dataproc/v1/BUIL -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "dataproc_ruby_proto", -- deps = [":dataproc_proto"], +- name = "gkehub_ruby_proto", +- deps = [":gkehub_proto"], -) - -ruby_grpc_library( -- name = "dataproc_ruby_grpc", -- srcs = [":dataproc_proto"], -- deps = [":dataproc_ruby_proto"], +- name = "gkehub_ruby_grpc", +- srcs = [":gkehub_proto"], +- deps = [":gkehub_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "dataproc_ruby_gapic", -- srcs = [":dataproc_proto_with_info"], +- name = "gkehub_ruby_gapic", +- srcs = [":gkehub_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-dataproc-v1", -- "ruby-cloud-env-prefix=DATAPROC", -- "ruby-cloud-product-url=https://cloud.google.com/dataproc", -- "ruby-cloud-api-id=dataproc.googleapis.com", -- "ruby-cloud-api-shortname=dataproc", +- "ruby-cloud-api-id=gkehub.googleapis.com", +- "ruby-cloud-api-shortname=gkehub", +- "ruby-cloud-env-prefix=GKE_HUB", +- "ruby-cloud-gem-name=google-cloud-gke_hub-v1beta1", +- "ruby-cloud-product-url=https://cloud.google.com/anthos/clusters/docs", - ], -- grpc_service_config = "dataproc_grpc_service_config.json", -- ruby_cloud_description = "Manages Hadoop-based clusters and jobs on Google Cloud Platform.", -- ruby_cloud_title = "Cloud Dataproc V1", +- grpc_service_config = "membership_grpc_service_config.json", +- ruby_cloud_description = "The GKE Hub API centrally manages features and services on all your Kubernetes clusters running in a variety of environments, including Google cloud, on premises in customer datacenters, or other third party clouds.", +- ruby_cloud_title = "GKE Hub V1beta1", - deps = [ -- ":dataproc_ruby_grpc", -- ":dataproc_ruby_proto", +- ":gkehub_ruby_grpc", +- ":gkehub_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-dataproc-v1-ruby", +- name = "google-cloud-gkehub-v1beta1-ruby", - deps = [ -- ":dataproc_ruby_gapic", -- ":dataproc_ruby_grpc", -- ":dataproc_ruby_proto", +- ":gkehub_ruby_gapic", +- ":gkehub_ruby_grpc", +- ":gkehub_ruby_proto", - ], -) - @@ -23696,34 +39778,34 @@ diff -urN a/google/cloud/dataproc/v1/BUILD.bazel b/google/cloud/dataproc/v1/BUIL -) - -csharp_proto_library( -- name = "dataproc_csharp_proto", -- deps = [":dataproc_proto"], +- name = "gkehub_csharp_proto", +- deps = [":gkehub_proto"], -) - -csharp_grpc_library( -- name = "dataproc_csharp_grpc", -- srcs = [":dataproc_proto"], -- deps = [":dataproc_csharp_proto"], +- name = "gkehub_csharp_grpc", +- srcs = [":gkehub_proto"], +- deps = [":gkehub_csharp_proto"], -) - -csharp_gapic_library( -- name = "dataproc_csharp_gapic", -- srcs = [":dataproc_proto_with_info"], +- name = "gkehub_csharp_gapic", +- srcs = [":gkehub_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "dataproc_grpc_service_config.json", +- grpc_service_config = "membership_grpc_service_config.json", - deps = [ -- ":dataproc_csharp_grpc", -- ":dataproc_csharp_proto", +- ":gkehub_csharp_grpc", +- ":gkehub_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-dataproc-v1-csharp", +- name = "google-cloud-gkehub-v1beta1-csharp", - deps = [ -- ":dataproc_csharp_gapic", -- ":dataproc_csharp_grpc", -- ":dataproc_csharp_proto", +- ":gkehub_csharp_gapic", +- ":gkehub_csharp_grpc", +- ":gkehub_csharp_proto", - ], -) - @@ -23731,365 +39813,339 @@ diff -urN a/google/cloud/dataproc/v1/BUILD.bazel b/google/cloud/dataproc/v1/BUIL -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/dataproc/v1beta2/BUILD.bazel b/google/cloud/dataproc/v1beta2/BUILD.bazel ---- a/google/cloud/dataproc/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/dataproc/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,349 +0,0 @@ +diff -urN a/google/cloud/gsuiteaddons/v1/BUILD.bazel b/google/cloud/gsuiteaddons/v1/BUILD.bazel +--- a/google/cloud/gsuiteaddons/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/gsuiteaddons/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,323 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - --# This is an API workspace, having public visibility by default makes perfect sense. --package(default_visibility = ["//visibility:public"]) +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") --load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +- "proto_library_with_info", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) - -proto_library( -- name = "dataproc_proto", +- name = "gsuiteaddons_proto", - srcs = [ -- "autoscaling_policies.proto", -- "clusters.proto", -- "jobs.proto", -- "operations.proto", -- "shared.proto", -- "workflow_templates.proto", +- "gsuiteaddons.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/longrunning:operations_proto", -- "@com_google_protobuf//:duration_proto", +- "//google/apps/script/type:type_proto", +- "//google/apps/script/type/calendar:calendar_proto", +- "//google/apps/script/type/docs:docs_proto", +- "//google/apps/script/type/drive:drive_proto", +- "//google/apps/script/type/gmail:gmail_proto", +- "//google/apps/script/type/sheets:sheets_proto", +- "//google/apps/script/type/slides:slides_proto", - "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "dataproc_proto_with_info", +- name = "gsuiteaddons_proto_with_info", - deps = [ -- ":dataproc_proto", +- ":gsuiteaddons_proto", - "//google/cloud:common_resources_proto", - ], -) - --############################################################################## --# Java --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", -- "java_grpc_library", -- "java_proto_library", --) -- -java_proto_library( -- name = "dataproc_java_proto", -- deps = [":dataproc_proto"], +- name = "gsuiteaddons_java_proto", +- deps = [":gsuiteaddons_proto"], -) - -java_grpc_library( -- name = "dataproc_java_grpc", -- srcs = [":dataproc_proto"], -- deps = [":dataproc_java_proto"], +- name = "gsuiteaddons_java_grpc", +- srcs = [":gsuiteaddons_proto"], +- deps = [":gsuiteaddons_java_proto"], -) - -java_gapic_library( -- name = "dataproc_java_gapic", -- srcs = [":dataproc_proto_with_info"], -- gapic_yaml = "dataproc_gapic.yaml", -- grpc_service_config = "dataproc_grpc_service_config.json", +- name = "gsuiteaddons_java_gapic", +- srcs = [":gsuiteaddons_proto_with_info"], +- grpc_service_config = "gsuiteaddons_grpc_service_config.json", - test_deps = [ -- ":dataproc_java_grpc", +- ":gsuiteaddons_java_grpc", - ], - deps = [ -- ":dataproc_java_proto", +- ":gsuiteaddons_java_proto", - ], -) - -java_gapic_test( -- name = "dataproc_java_gapic_test_suite", +- name = "gsuiteaddons_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.dataproc.v1beta2.AutoscalingPolicyServiceClientTest", -- "com.google.cloud.dataproc.v1beta2.ClusterControllerClientTest", -- "com.google.cloud.dataproc.v1beta2.JobControllerClientTest", -- "com.google.cloud.dataproc.v1beta2.WorkflowTemplateServiceClientTest", +- "com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClientTest", - ], -- runtime_deps = [":dataproc_java_gapic_test"], +- runtime_deps = [":gsuiteaddons_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-dataproc-v1beta2-java", +- name = "google-cloud-gsuiteaddons-v1-java", - deps = [ -- ":dataproc_java_gapic", -- ":dataproc_java_grpc", -- ":dataproc_java_proto", -- ":dataproc_proto", +- ":gsuiteaddons_java_gapic", +- ":gsuiteaddons_java_grpc", +- ":gsuiteaddons_java_proto", +- ":gsuiteaddons_proto", - ], -) - --############################################################################## --# Go --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "go_gapic_assembly_pkg", -- "go_gapic_library", -- "go_proto_library", -- "go_test", --) -- -go_proto_library( -- name = "dataproc_go_proto", +- name = "gsuiteaddons_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2", -- protos = [":dataproc_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/gsuiteaddons/v1", +- protos = [":gsuiteaddons_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/longrunning:longrunning_go_proto", +- "//google/apps/script/type:type_go_proto", +- "//google/apps/script/type/calendar:calendar_go_proto", +- "//google/apps/script/type/docs:docs_go_proto", +- "//google/apps/script/type/drive:drive_go_proto", +- "//google/apps/script/type/gmail:gmail_go_proto", +- "//google/apps/script/type/sheets:sheets_go_proto", +- "//google/apps/script/type/slides:slides_go_proto", - ], -) - -go_gapic_library( -- name = "dataproc_go_gapic", -- srcs = [":dataproc_proto_with_info"], -- grpc_service_config = "dataproc_grpc_service_config.json", -- importpath = "cloud.google.com/go/dataproc/apiv1beta2;dataproc", -- service_yaml = "dataproc_v1beta2.yaml", +- name = "gsuiteaddons_go_gapic", +- srcs = [":gsuiteaddons_proto_with_info"], +- grpc_service_config = "gsuiteaddons_grpc_service_config.json", +- importpath = "cloud.google.com/go/gsuiteaddons/apiv1;gsuiteaddons", +- service_yaml = "gsuiteaddons_v1.yaml", - deps = [ -- ":dataproc_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- ":gsuiteaddons_go_proto", - ], -) - -go_test( -- name = "dataproc_go_gapic_test", -- srcs = [":dataproc_go_gapic_srcjar_test"], -- embed = [":dataproc_go_gapic"], -- importpath = "cloud.google.com/go/dataproc/apiv1beta2", +- name = "gsuiteaddons_go_gapic_test", +- srcs = [":gsuiteaddons_go_gapic_srcjar_test"], +- embed = [":gsuiteaddons_go_gapic"], +- importpath = "cloud.google.com/go/gsuiteaddons/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-dataproc-v1beta2-go", +- name = "gapi-cloud-gsuiteaddons-v1-go", - deps = [ -- ":dataproc_go_gapic", -- ":dataproc_go_gapic_srcjar-test.srcjar", -- ":dataproc_go_proto", +- ":gsuiteaddons_go_gapic", +- ":gsuiteaddons_go_gapic_srcjar-test.srcjar", +- ":gsuiteaddons_go_proto", - ], -) - -############################################################################## -# Python -############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "py_gapic_assembly_pkg", -- "py_gapic_library", --) -- -py_gapic_library( -- name = "dataproc_py_gapic", -- srcs = [":dataproc_proto"], -- grpc_service_config = "dataproc_grpc_service_config.json", +- name = "gsuiteaddons_py_gapic", +- srcs = [":gsuiteaddons_proto"], +- grpc_service_config = "gsuiteaddons_grpc_service_config.json", +- opt_args = [ +- "warehouse-package-name=google-cloud-workspace-add-ons", +- "python-gapic-namespace=google.cloud", +- "python-gapic-name=workspace_add_ons", +- ] -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "dataproc-v1beta2-py", +- name = "google-cloud-workspace-add-ons-v1-py", - deps = [ -- ":dataproc_py_gapic", +- ":gsuiteaddons_py_gapic", - ], -) - --############################################################################## --# PHP --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "php_gapic_assembly_pkg", -- "php_gapic_library", -- "php_grpc_library", -- "php_proto_library", --) -- -php_proto_library( -- name = "dataproc_php_proto", -- deps = [":dataproc_proto"], +- name = "gsuiteaddons_php_proto", +- deps = [":gsuiteaddons_proto"], -) - -php_grpc_library( -- name = "dataproc_php_grpc", -- srcs = [":dataproc_proto"], -- deps = [":dataproc_php_proto"], +- name = "gsuiteaddons_php_grpc", +- srcs = [":gsuiteaddons_proto"], +- deps = [":gsuiteaddons_php_proto"], -) - -php_gapic_library( -- name = "dataproc_php_gapic", -- src = ":dataproc_proto_with_info", -- gapic_yaml = "dataproc_gapic.yaml", -- grpc_service_config = "dataproc_grpc_service_config.json", -- package = "google.cloud.dataproc.v1beta2", -- service_yaml = "dataproc_v1beta2.yaml", +- name = "gsuiteaddons_php_gapic", +- srcs = [":gsuiteaddons_proto_with_info"], +- grpc_service_config = "gsuiteaddons_grpc_service_config.json", - deps = [ -- ":dataproc_php_grpc", -- ":dataproc_php_proto", +- ":gsuiteaddons_php_grpc", +- ":gsuiteaddons_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-dataproc-v1beta2-php", +- name = "google-cloud-gsuiteaddons-v1-php", - deps = [ -- ":dataproc_php_gapic", -- ":dataproc_php_grpc", -- ":dataproc_php_proto", +- ":gsuiteaddons_php_gapic", +- ":gsuiteaddons_php_grpc", +- ":gsuiteaddons_php_proto", - ], -) - --############################################################################## --# Node.js --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "nodejs_gapic_assembly_pkg", -- "nodejs_gapic_library", --) -- -nodejs_gapic_library( -- name = "dataproc_nodejs_gapic", -- package_name = "@google-cloud/dataproc", -- src = ":dataproc_proto_with_info", +- name = "gsuiteaddons_nodejs_gapic", +- package_name = "@google-cloud/gsuiteaddons", +- src = ":gsuiteaddons_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "dataproc_grpc_service_config.json", -- main_service = "dataproc", -- package = "google.cloud.dataproc.v1beta2", -- service_yaml = "dataproc_v1beta2.yaml", +- grpc_service_config = "gsuiteaddons_grpc_service_config.json", +- package = "google.cloud.gsuiteaddons.v1", +- service_yaml = "gsuiteaddons_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "dataproc-v1beta2-nodejs", +- name = "gsuiteaddons-v1-nodejs", - deps = [ -- ":dataproc_nodejs_gapic", -- ":dataproc_proto", -- ], --) -- --############################################################################## --# Ruby --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", -- "ruby_cloud_gapic_library", -- "ruby_grpc_library", -- "ruby_proto_library", +- ":gsuiteaddons_nodejs_gapic", +- ":gsuiteaddons_proto", +- "//google/apps/script/type:type_proto", +- "//google/apps/script/type/calendar:calendar_proto", +- "//google/apps/script/type/docs:docs_proto", +- "//google/apps/script/type/drive:drive_proto", +- "//google/apps/script/type/gmail:gmail_proto", +- "//google/apps/script/type/sheets:sheets_proto", +- "//google/apps/script/type/slides:slides_proto", +- ], -) - -ruby_proto_library( -- name = "dataproc_ruby_proto", -- deps = [":dataproc_proto"], +- name = "gsuiteaddons_ruby_proto", +- deps = [":gsuiteaddons_proto"], -) - -ruby_grpc_library( -- name = "dataproc_ruby_grpc", -- srcs = [":dataproc_proto"], -- deps = [":dataproc_ruby_proto"], +- name = "gsuiteaddons_ruby_grpc", +- srcs = [":gsuiteaddons_proto"], +- deps = [":gsuiteaddons_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "dataproc_ruby_gapic", -- srcs = [":dataproc_proto_with_info"], +- name = "gsuiteaddons_ruby_gapic", +- srcs = [":gsuiteaddons_proto_with_info",], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-dataproc-v1beta2", -- "ruby-cloud-env-prefix=DATAPROC", -- "ruby-cloud-product-url=https://cloud.google.com/dataproc", -- "ruby-cloud-api-id=dataproc.googleapis.com", -- "ruby-cloud-api-shortname=dataproc", +- "ruby-cloud-gem-name=google-cloud-gsuite_add_ons-v1", +- "ruby-cloud-gem-namespace=Google::Cloud::GSuiteAddOns::V1", +- "ruby-cloud-env-prefix=GSUITE_ADD_ONS", +- "ruby-cloud-product-url=https://developers.google.com/workspace/add-ons/", +- "ruby-cloud-api-id=gsuiteaddons.googleapis.com", +- "ruby-cloud-api-shortname=gsuiteaddons", +- "ruby-cloud-namespace-override=GsuiteAddOns=GSuiteAddOns", +- "ruby-cloud-path-override=g_suite_add_ons=gsuite_add_ons", - ], -- grpc_service_config = "dataproc_grpc_service_config.json", -- ruby_cloud_description = "Manages Hadoop-based clusters and jobs on Google Cloud Platform.", -- ruby_cloud_title = "Cloud Dataproc V1beta2", +- grpc_service_config = "gsuiteaddons_grpc_service_config.json", +- ruby_cloud_description = "Add-ons are customized applications that integrate with Google Workspace productivity applications.", +- ruby_cloud_title = "Google Workspace Add-ons V1", - deps = [ -- ":dataproc_ruby_grpc", -- ":dataproc_ruby_proto", +- ":gsuiteaddons_ruby_grpc", +- ":gsuiteaddons_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-dataproc-v1beta2-ruby", +- name = "google-cloud-gsuiteaddons-v1-ruby", - deps = [ -- ":dataproc_ruby_gapic", -- ":dataproc_ruby_grpc", -- ":dataproc_ruby_proto", +- ":gsuiteaddons_ruby_gapic", +- ":gsuiteaddons_ruby_grpc", +- ":gsuiteaddons_ruby_proto", - ], -) - --############################################################################## --# C# --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", -- "csharp_grpc_library", -- "csharp_proto_library", --) -- -csharp_proto_library( -- name = "dataproc_csharp_proto", -- deps = [":dataproc_proto"], +- name = "gsuiteaddons_csharp_proto", +- deps = [":gsuiteaddons_proto"], -) - -csharp_grpc_library( -- name = "dataproc_csharp_grpc", -- srcs = [":dataproc_proto"], -- deps = [":dataproc_csharp_proto"], +- name = "gsuiteaddons_csharp_grpc", +- srcs = [":gsuiteaddons_proto"], +- deps = [":gsuiteaddons_csharp_proto"], -) - --# Invalid resource-reference, cannot build. --# csharp_gapic_library( --# name = "dataproc_csharp_gapic", --# srcs = [":dataproc_proto_with_info"], --# grpc_service_config = "dataproc_grpc_service_config.json", --# common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", --# deps = [ --# ":dataproc_csharp_grpc", --# ":dataproc_csharp_proto", --# ], --# ) +-csharp_gapic_library( +- name = "gsuiteaddons_csharp_gapic", +- srcs = [":gsuiteaddons_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "gsuiteaddons_grpc_service_config.json", +- deps = [ +- ":gsuiteaddons_csharp_grpc", +- ":gsuiteaddons_csharp_proto", +- ], +-) - --# # Open Source Packages --# csharp_gapic_assembly_pkg( --# name = "google-cloud-dataproc-v1beta2-csharp", --# deps = [ --# ":dataproc_csharp_gapic", --# ":dataproc_csharp_grpc", --# ":dataproc_csharp_proto", --# ], --# ) +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-gsuiteaddons-v1-csharp", +- deps = [ +- ":gsuiteaddons_csharp_gapic", +- ":gsuiteaddons_csharp_grpc", +- ":gsuiteaddons_csharp_proto", +- ], +-) - -############################################################################## -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/dataqna/v1alpha/BUILD.bazel b/google/cloud/dataqna/v1alpha/BUILD.bazel ---- a/google/cloud/dataqna/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/dataqna/v1alpha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,349 +0,0 @@ +diff -urN a/google/cloud/iap/v1/BUILD.bazel b/google/cloud/iap/v1/BUILD.bazel +--- a/google/cloud/iap/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/iap/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,347 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +-# https://github.com/googleapis/rules_gapic/tree/master/bazel - -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: @@ -24109,30 +40165,26 @@ diff -urN a/google/cloud/dataqna/v1alpha/BUILD.bazel b/google/cloud/dataqna/v1al -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "dataqna_proto", +- name = "iap_proto", - srcs = [ -- "annotated_string.proto", -- "auto_suggestion_service.proto", -- "question.proto", -- "question_service.proto", -- "user_feedback.proto", +- "service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/rpc:status_proto", -- "@com_google_protobuf//:any_proto", +- "//google/iam/v1:iam_policy_proto", +- "//google/iam/v1:policy_proto", +- "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "dataqna_proto_with_info", +- name = "iap_proto_with_info", - deps = [ -- ":dataqna_proto", +- ":iap_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -24150,45 +40202,47 @@ diff -urN a/google/cloud/dataqna/v1alpha/BUILD.bazel b/google/cloud/dataqna/v1al -) - -java_proto_library( -- name = "dataqna_java_proto", -- deps = [":dataqna_proto"], +- name = "iap_java_proto", +- deps = [":iap_proto"], -) - -java_grpc_library( -- name = "dataqna_java_grpc", -- srcs = [":dataqna_proto"], -- deps = [":dataqna_java_proto"], +- name = "iap_java_grpc", +- srcs = [":iap_proto"], +- deps = [":iap_java_proto"], -) - -java_gapic_library( -- name = "dataqna_java_gapic", -- srcs = [":dataqna_proto_with_info"], -- grpc_service_config = "dataqna_grpc_service_config.json", +- name = "iap_java_gapic", +- srcs = [":iap_proto_with_info"], +- grpc_service_config = "iap_grpc_service_config.json", - test_deps = [ -- ":dataqna_java_grpc", +- ":iap_java_grpc", +- "//google/iam/v1:iam_java_grpc", - ], - deps = [ -- ":dataqna_java_proto", +- ":iap_java_proto", +- "//google/iam/v1:iam_java_proto", - ], -) - -java_gapic_test( -- name = "dataqna_java_gapic_test_suite", +- name = "iap_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.dataqna.v1alpha.AutoSuggestionServiceClientTest", -- "com.google.cloud.dataqna.v1alpha.QuestionServiceClientTest", +- "com.google.cloud.iap.v1.IdentityAwareProxyAdminServiceClientTest", +- "com.google.cloud.iap.v1.IdentityAwareProxyOAuthServiceClientTest", - ], -- runtime_deps = [":dataqna_java_gapic_test"], +- runtime_deps = [":iap_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-dataqna-v1alpha-java", +- name = "google-cloud-iap-v1-java", - deps = [ -- ":dataqna_java_gapic", -- ":dataqna_java_grpc", -- ":dataqna_java_proto", -- ":dataqna_proto", +- ":iap_java_gapic", +- ":iap_java_grpc", +- ":iap_java_proto", +- ":iap_proto", - ], -) - @@ -24204,41 +40258,44 @@ diff -urN a/google/cloud/dataqna/v1alpha/BUILD.bazel b/google/cloud/dataqna/v1al -) - -go_proto_library( -- name = "dataqna_go_proto", +- name = "iap_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/dataqna/v1alpha", -- protos = [":dataqna_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/iap/v1", +- protos = [":iap_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/rpc:status_go_proto", +- "//google/iam/v1:iam_go_proto", - ], -) - -go_gapic_library( -- name = "dataqna_go_gapic", -- srcs = [":dataqna_proto_with_info"], -- grpc_service_config = "dataqna_grpc_service_config.json", -- importpath = "cloud.google.com/go/dataqna/apiv1alpha;dataqna", -- service_yaml = "dataqna_v1alpha.yaml", +- name = "iap_go_gapic", +- srcs = [":iap_proto_with_info"], +- grpc_service_config = "iap_grpc_service_config.json", +- importpath = "cloud.google.com/go/iap/apiv1;iap", +- metadata = True, +- service_yaml = "iap_v1.yaml", - deps = [ -- ":dataqna_go_proto", +- ":iap_go_proto", +- "//google/iam/v1:iam_go_proto", - ], -) - -go_test( -- name = "dataqna_go_gapic_test", -- srcs = [":dataqna_go_gapic_srcjar_test"], -- embed = [":dataqna_go_gapic"], -- importpath = "cloud.google.com/go/dataqna/apiv1alpha", +- name = "iap_go_gapic_test", +- srcs = [":iap_go_gapic_srcjar_test"], +- embed = [":iap_go_gapic"], +- importpath = "cloud.google.com/go/iap/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-dataqna-v1alpha-go", +- name = "gapi-cloud-iap-v1-go", - deps = [ -- ":dataqna_go_gapic", -- ":dataqna_go_gapic_srcjar-test.srcjar", -- ":dataqna_go_proto", +- ":iap_go_gapic", +- ":iap_go_gapic_srcjar-metadata.srcjar", +- ":iap_go_gapic_srcjar-test.srcjar", +- ":iap_go_proto", - ], -) - @@ -24252,15 +40309,16 @@ diff -urN a/google/cloud/dataqna/v1alpha/BUILD.bazel b/google/cloud/dataqna/v1al -) - -py_gapic_library( -- name = "dataqna_py_gapic", -- srcs = [":dataqna_proto"], -- grpc_service_config = "dataqna_grpc_service_config.json", +- name = "iap_py_gapic", +- srcs = [":iap_proto"], +- grpc_service_config = "iap_grpc_service_config.json", -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "dataqna-v1alpha-py", +- name = "iap-v1-py", - deps = [ -- ":dataqna_py_gapic", +- ":iap_py_gapic", - ], -) - @@ -24276,36 +40334,34 @@ diff -urN a/google/cloud/dataqna/v1alpha/BUILD.bazel b/google/cloud/dataqna/v1al -) - -php_proto_library( -- name = "dataqna_php_proto", -- deps = [":dataqna_proto"], +- name = "iap_php_proto", +- deps = [":iap_proto"], -) - -php_grpc_library( -- name = "dataqna_php_grpc", -- srcs = [":dataqna_proto"], -- deps = [":dataqna_php_proto"], +- name = "iap_php_grpc", +- srcs = [":iap_proto"], +- deps = [":iap_php_proto"], -) - -php_gapic_library( -- name = "dataqna_php_gapic", -- src = ":dataqna_proto_with_info", -- gapic_yaml = "gapic.yaml", -- grpc_service_config = "dataqna_grpc_service_config.json", -- package = "google.cloud.dataqna.v1alpha", -- service_yaml = "dataqna_v1alpha.yaml", +- name = "iap_php_gapic", +- srcs = [":iap_proto_with_info"], +- grpc_service_config = "iap_grpc_service_config.json", +- service_yaml = "iap_v1.yaml", - deps = [ -- ":dataqna_php_grpc", -- ":dataqna_php_proto", +- ":iap_php_grpc", +- ":iap_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-dataqna-v1alpha-php", +- name = "google-cloud-iap-v1-php", - deps = [ -- ":dataqna_php_gapic", -- ":dataqna_php_grpc", -- ":dataqna_php_proto", +- ":iap_php_gapic", +- ":iap_php_grpc", +- ":iap_php_proto", - ], -) - @@ -24319,21 +40375,21 @@ diff -urN a/google/cloud/dataqna/v1alpha/BUILD.bazel b/google/cloud/dataqna/v1al -) - -nodejs_gapic_library( -- name = "dataqna_nodejs_gapic", -- package_name = "@google-cloud/data-qna", -- src = ":dataqna_proto_with_info", +- name = "iap_nodejs_gapic", +- package_name = "@google-cloud/iap", +- src = ":iap_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "dataqna_grpc_service_config.json", -- package = "google.cloud.dataqna.v1alpha", -- service_yaml = "dataqna_v1alpha.yaml", +- grpc_service_config = "iap_grpc_service_config.json", +- package = "google.cloud.iap.v1", +- service_yaml = "iap_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "dataqna-v1alpha-nodejs", +- name = "iap-v1-nodejs", - deps = [ -- ":dataqna_nodejs_gapic", -- ":dataqna_proto", +- ":iap_nodejs_gapic", +- ":iap_proto", - ], -) - @@ -24342,51 +40398,49 @@ diff -urN a/google/cloud/dataqna/v1alpha/BUILD.bazel b/google/cloud/dataqna/v1al -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "dataqna_ruby_proto", -- deps = [":dataqna_proto"], +- name = "iap_ruby_proto", +- deps = [":iap_proto"], -) - -ruby_grpc_library( -- name = "dataqna_ruby_grpc", -- srcs = [":dataqna_proto"], -- deps = [":dataqna_ruby_proto"], +- name = "iap_ruby_grpc", +- srcs = [":iap_proto"], +- deps = [":iap_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "dataqna_ruby_gapic", -- srcs = [":dataqna_proto_with_info",], +- name = "iap_ruby_gapic", +- srcs = [":iap_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-dataqna-v1alpha", -- "ruby-cloud-env-prefix=BIGQUERY_DATAQNA", -- "ruby-cloud-path-override=data_qn_a=dataqna", -- "ruby-cloud-namespace-override=Dataqna=DataQnA", -- "ruby-cloud-product-url=https://cloud.google.com/bigquery/docs/dataqna/", -- "ruby-cloud-api-id=dataqna.googleapis.com", -- "ruby-cloud-api-shortname=dataqna", +- "ruby-cloud-gem-name=google-cloud-iap-v1", +- "ruby-cloud-env-prefix=IAP", +- "ruby-cloud-product-url=https://cloud.google.com/iap/", +- "ruby-cloud-api-id=iap.googleapis.com", +- "ruby-cloud-api-shortname=iap", - ], -- grpc_service_config = "dataqna_grpc_service_config.json", -- ruby_cloud_description = "Data QnA is a natural language question and answer service for BigQuery data.", -- ruby_cloud_title = "BigQuery Data QnA V1alpha", +- grpc_service_config = "iap_grpc_service_config.json", +- ruby_cloud_description = "IAP lets you establish a central authorization layer for applications accessed by HTTPS, so you can use an application-level access control model instead of relying on network-level firewalls.", +- ruby_cloud_title = "Identity-Aware Proxy V1", - deps = [ -- ":dataqna_ruby_grpc", -- ":dataqna_ruby_proto", +- ":iap_ruby_grpc", +- ":iap_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-dataqna-v1alpha-ruby", +- name = "google-cloud-iap-v1-ruby", - deps = [ -- ":dataqna_ruby_gapic", -- ":dataqna_ruby_grpc", -- ":dataqna_ruby_proto", +- ":iap_ruby_gapic", +- ":iap_ruby_grpc", +- ":iap_ruby_proto", - ], -) - @@ -24402,34 +40456,34 @@ diff -urN a/google/cloud/dataqna/v1alpha/BUILD.bazel b/google/cloud/dataqna/v1al -) - -csharp_proto_library( -- name = "dataqna_csharp_proto", -- deps = [":dataqna_proto"], +- name = "iap_csharp_proto", +- deps = [":iap_proto"], -) - -csharp_grpc_library( -- name = "dataqna_csharp_grpc", -- srcs = [":dataqna_proto"], -- deps = [":dataqna_csharp_proto"], +- name = "iap_csharp_grpc", +- srcs = [":iap_proto"], +- deps = [":iap_csharp_proto"], -) - -csharp_gapic_library( -- name = "dataqna_csharp_gapic", -- srcs = [":dataqna_proto_with_info"], +- name = "iap_csharp_gapic", +- srcs = [":iap_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "dataqna_grpc_service_config.json", +- grpc_service_config = "iap_grpc_service_config.json", - deps = [ -- ":dataqna_csharp_grpc", -- ":dataqna_csharp_proto", +- ":iap_csharp_grpc", +- ":iap_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-dataqna-v1alpha-csharp", +- name = "google-cloud-iap-v1-csharp", - deps = [ -- ":dataqna_csharp_gapic", -- ":dataqna_csharp_grpc", -- ":dataqna_csharp_proto", +- ":iap_csharp_gapic", +- ":iap_csharp_grpc", +- ":iap_csharp_proto", - ], -) - @@ -24437,27 +40491,10 @@ diff -urN a/google/cloud/dataqna/v1alpha/BUILD.bazel b/google/cloud/dataqna/v1al -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/dialogflow/BUILD.bazel b/google/cloud/dialogflow/BUILD.bazel ---- a/google/cloud/dialogflow/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/dialogflow/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,13 +0,0 @@ --package(default_visibility = ["//visibility:public"]) -- --exports_files(glob([ -- "*.yaml", --])) -- --proto_library( -- name = "common_resources_proto", -- srcs = ["common_resources.proto"], -- deps = [ -- "//google/api:resource_proto", -- ], --) -diff -urN a/google/cloud/dialogflow/cx/v3/BUILD.bazel b/google/cloud/dialogflow/cx/v3/BUILD.bazel ---- a/google/cloud/dialogflow/cx/v3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/dialogflow/cx/v3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,384 +0,0 @@ +diff -urN a/google/cloud/iap/v1beta1/BUILD.bazel b/google/cloud/iap/v1beta1/BUILD.bazel +--- a/google/cloud/iap/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/iap/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,342 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/rules_gapic/tree/master/bazel - @@ -24479,47 +40516,22 @@ diff -urN a/google/cloud/dialogflow/cx/v3/BUILD.bazel b/google/cloud/dialogflow/ -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "cx_proto", +- name = "iap_proto", - srcs = [ -- "agent.proto", -- "audio_config.proto", -- "entity_type.proto", -- "environment.proto", -- "experiment.proto", -- "flow.proto", -- "fulfillment.proto", -- "intent.proto", -- "page.proto", -- "response_message.proto", -- "security_settings.proto", -- "session.proto", -- "session_entity_type.proto", -- "test_case.proto", -- "transition_route_group.proto", -- "validation_message.proto", -- "version.proto", -- "webhook.proto", +- "service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", -- "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/longrunning:operations_proto", -- "//google/rpc:status_proto", -- "//google/type:latlng_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:struct_proto", -- "@com_google_protobuf//:timestamp_proto", +- "//google/iam/v1:iam_policy_proto", +- "//google/iam/v1:policy_proto", - ], -) - -proto_library_with_info( -- name = "cx_proto_with_info", +- name = "iap_proto_with_info", - deps = [ -- ":cx_proto", +- ":iap_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -24537,57 +40549,46 @@ diff -urN a/google/cloud/dialogflow/cx/v3/BUILD.bazel b/google/cloud/dialogflow/ -) - -java_proto_library( -- name = "cx_java_proto", -- deps = [":cx_proto"], +- name = "iap_java_proto", +- deps = [":iap_proto"], -) - -java_grpc_library( -- name = "cx_java_grpc", -- srcs = [":cx_proto"], -- deps = [":cx_java_proto"], +- name = "iap_java_grpc", +- srcs = [":iap_proto"], +- deps = [":iap_java_proto"], -) - -java_gapic_library( -- name = "cx_java_gapic", -- srcs = [":cx_proto_with_info"], -- grpc_service_config = "dialogflow_grpc_service_config.json", +- name = "iap_java_gapic", +- srcs = [":iap_proto_with_info"], +- grpc_service_config = "iap_grpc_service_config.json", - test_deps = [ -- ":cx_java_grpc", +- ":iap_java_grpc", +- "//google/iam/v1:iam_java_grpc", - ], - deps = [ -- ":cx_java_proto", +- ":iap_java_proto", +- "//google/iam/v1:iam_java_proto", - ], -) - -java_gapic_test( -- name = "cx_java_gapic_test_suite", +- name = "iap_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.dialogflow.cx.v3.AgentsClientTest", -- "com.google.cloud.dialogflow.cx.v3.EntityTypesClientTest", -- "com.google.cloud.dialogflow.cx.v3.EnvironmentsClientTest", -- "com.google.cloud.dialogflow.cx.v3.ExperimentsClientTest", -- "com.google.cloud.dialogflow.cx.v3.FlowsClientTest", -- "com.google.cloud.dialogflow.cx.v3.IntentsClientTest", -- "com.google.cloud.dialogflow.cx.v3.PagesClientTest", -- "com.google.cloud.dialogflow.cx.v3.SecuritySettingsServiceClientTest", -- "com.google.cloud.dialogflow.cx.v3.SessionEntityTypesClientTest", -- "com.google.cloud.dialogflow.cx.v3.SessionsClientTest", -- "com.google.cloud.dialogflow.cx.v3.TestCasesClientTest", -- "com.google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClientTest", -- "com.google.cloud.dialogflow.cx.v3.VersionsClientTest", -- "com.google.cloud.dialogflow.cx.v3.WebhooksClientTest", +- "com.google.cloud.iap.v1beta1.IdentityAwareProxyAdminV1Beta1ClientTest", - ], -- runtime_deps = [":cx_java_gapic_test"], +- runtime_deps = [":iap_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-dialogflow-cx-v3-java", +- name = "google-cloud-iap-v1beta1-java", - deps = [ -- ":cx_java_gapic", -- ":cx_java_grpc", -- ":cx_java_proto", -- ":cx_proto", +- ":iap_java_gapic", +- ":iap_java_grpc", +- ":iap_java_proto", +- ":iap_proto", - ], -) - @@ -24603,50 +40604,44 @@ diff -urN a/google/cloud/dialogflow/cx/v3/BUILD.bazel b/google/cloud/dialogflow/ -) - -go_proto_library( -- name = "cx_go_proto", +- name = "iap_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/dialogflow/cx/v3", -- protos = [":cx_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/iap/v1beta1", +- protos = [":iap_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "//google/rpc:status_go_proto", -- "//google/type:latlng_go_proto", +- "//google/iam/v1:iam_go_proto", - ], -) - -go_gapic_library( -- name = "cx_go_gapic", -- srcs = [":cx_proto_with_info"], -- grpc_service_config = "dialogflow_grpc_service_config.json", -- importpath = "cloud.google.com/go/dialogflow/cx/apiv3;cx", +- name = "iap_go_gapic", +- srcs = [":iap_proto_with_info"], +- grpc_service_config = "iap_grpc_service_config.json", +- importpath = "cloud.google.com/go/iap/apiv1beta1;iap", - metadata = True, -- service_yaml = "dialogflow_v3.yaml", +- service_yaml = "iap_v1beta1.yaml", - deps = [ -- ":cx_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", -- "@io_bazel_rules_go//proto/wkt:struct_go_proto", +- ":iap_go_proto", +- "//google/iam/v1:iam_go_proto", - ], -) - -go_test( -- name = "cx_go_gapic_test", -- srcs = [":cx_go_gapic_srcjar_test"], -- embed = [":cx_go_gapic"], -- importpath = "cloud.google.com/go/dialogflow/cx/apiv3", +- name = "iap_go_gapic_test", +- srcs = [":iap_go_gapic_srcjar_test"], +- embed = [":iap_go_gapic"], +- importpath = "cloud.google.com/go/iap/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-dialogflow-cx-v3-go", +- name = "gapi-cloud-iap-v1beta1-go", - deps = [ -- ":cx_go_gapic", -- ":cx_go_gapic_srcjar-metadata.srcjar", -- ":cx_go_gapic_srcjar-test.srcjar", -- ":cx_go_proto", +- ":iap_go_gapic", +- ":iap_go_gapic_srcjar-metadata.srcjar", +- ":iap_go_gapic_srcjar-test.srcjar", +- ":iap_go_proto", - ], -) - @@ -24660,20 +40655,16 @@ diff -urN a/google/cloud/dialogflow/cx/v3/BUILD.bazel b/google/cloud/dialogflow/ -) - -py_gapic_library( -- name = "cx_py_gapic", -- srcs = [":cx_proto"], -- grpc_service_config = "dialogflow_grpc_service_config.json", -- opt_args = [ -- "python-gapic-name=dialogflowcx", -- "python-gapic-namespace=google.cloud", -- ], +- name = "iap_py_gapic", +- srcs = [":iap_proto"], +- grpc_service_config = "iap_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "dialogflow-cx-v3-py", +- name = "iap-v1beta1-py", - deps = [ -- ":cx_py_gapic", +- ":iap_py_gapic", - ], -) - @@ -24689,36 +40680,34 @@ diff -urN a/google/cloud/dialogflow/cx/v3/BUILD.bazel b/google/cloud/dialogflow/ -) - -php_proto_library( -- name = "cx_php_proto", -- deps = [":cx_proto"], +- name = "iap_php_proto", +- deps = [":iap_proto"], -) - -php_grpc_library( -- name = "cx_php_grpc", -- srcs = [":cx_proto"], -- deps = [":cx_php_proto"], +- name = "iap_php_grpc", +- srcs = [":iap_proto"], +- deps = [":iap_php_proto"], -) - -php_gapic_library( -- name = "cx_php_gapic", -- src = ":cx_proto_with_info", -- gapic_yaml = "dialogflow_gapic.yaml", -- grpc_service_config = "dialogflow_grpc_service_config.json", -- package = "google.cloud.dialogflow.cx.v3", -- service_yaml = "dialogflow_v3.yaml", +- name = "iap_php_gapic", +- srcs = [":iap_proto_with_info"], +- grpc_service_config = "iap_grpc_service_config.json", +- service_yaml = "iap_v1beta1.yaml", - deps = [ -- ":cx_php_grpc", -- ":cx_php_proto", +- ":iap_php_grpc", +- ":iap_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-dialogflow-cx-v3-php", +- name = "google-cloud-iap-v1beta1-php", - deps = [ -- ":cx_php_gapic", -- ":cx_php_grpc", -- ":cx_php_proto", +- ":iap_php_gapic", +- ":iap_php_grpc", +- ":iap_php_proto", - ], -) - @@ -24732,21 +40721,21 @@ diff -urN a/google/cloud/dialogflow/cx/v3/BUILD.bazel b/google/cloud/dialogflow/ -) - -nodejs_gapic_library( -- name = "cx_nodejs_gapic", -- package_name = "@google-cloud/dialogflow-cx", -- src = ":cx_proto_with_info", +- name = "iap_nodejs_gapic", +- package_name = "@google-cloud/iap", +- src = ":iap_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "dialogflow_grpc_service_config.json", -- package = "google.cloud.dialogflow.cx.v3", -- service_yaml = "dialogflow_v3.yaml", +- grpc_service_config = "iap_grpc_service_config.json", +- package = "google.cloud.iap.v1beta1", +- service_yaml = "iap_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "dialogflow-cx-v3-nodejs", +- name = "iap-v1beta1-nodejs", - deps = [ -- ":cx_nodejs_gapic", -- ":cx_proto", +- ":iap_nodejs_gapic", +- ":iap_proto", - ], -) - @@ -24755,43 +40744,49 @@ diff -urN a/google/cloud/dialogflow/cx/v3/BUILD.bazel b/google/cloud/dialogflow/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "cx_ruby_proto", -- deps = [":cx_proto"], +- name = "iap_ruby_proto", +- deps = [":iap_proto"], -) - -ruby_grpc_library( -- name = "cx_ruby_grpc", -- srcs = [":cx_proto"], -- deps = [":cx_ruby_proto"], +- name = "iap_ruby_grpc", +- srcs = [":iap_proto"], +- deps = [":iap_ruby_proto"], -) - --ruby_gapic_library( -- name = "cx_ruby_gapic", -- src = ":cx_proto_with_info", -- gapic_yaml = "dialogflow_gapic.yaml", -- grpc_service_config = "dialogflow_grpc_service_config.json", -- package = "google.cloud.dialogflow.cx.v3", -- service_yaml = "dialogflow_v3.yaml", +-ruby_cloud_gapic_library( +- name = "iap_ruby_gapic", +- srcs = [":iap_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-iap-v1beta1", +- "ruby-cloud-env-prefix=IAP", +- "ruby-cloud-product-url=https://cloud.google.com/iap/", +- "ruby-cloud-api-id=iap.googleapis.com", +- "ruby-cloud-api-shortname=iap", +- ], +- grpc_service_config = "iap_grpc_service_config.json", +- ruby_cloud_description = "IAP lets you establish a central authorization layer for applications accessed by HTTPS, so you can use an application-level access control model instead of relying on network-level firewalls.", +- ruby_cloud_title = "Identity-Aware Proxy V1beta1", - deps = [ -- ":cx_ruby_grpc", -- ":cx_ruby_proto", +- ":iap_ruby_grpc", +- ":iap_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-dialogflow-cx-v3-ruby", +- name = "google-cloud-iap-v1beta1-ruby", - deps = [ -- ":cx_ruby_gapic", -- ":cx_ruby_grpc", -- ":cx_ruby_proto", +- ":iap_ruby_gapic", +- ":iap_ruby_grpc", +- ":iap_ruby_proto", - ], -) - @@ -24807,34 +40802,34 @@ diff -urN a/google/cloud/dialogflow/cx/v3/BUILD.bazel b/google/cloud/dialogflow/ -) - -csharp_proto_library( -- name = "cx_csharp_proto", -- deps = [":cx_proto"], +- name = "iap_csharp_proto", +- deps = [":iap_proto"], -) - -csharp_grpc_library( -- name = "cx_csharp_grpc", -- srcs = [":cx_proto"], -- deps = [":cx_csharp_proto"], +- name = "iap_csharp_grpc", +- srcs = [":iap_proto"], +- deps = [":iap_csharp_proto"], -) - -csharp_gapic_library( -- name = "cx_csharp_gapic", -- srcs = [":cx_proto_with_info"], +- name = "iap_csharp_gapic", +- srcs = [":iap_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "dialogflow_grpc_service_config.json", +- grpc_service_config = "iap_grpc_service_config.json", - deps = [ -- ":cx_csharp_grpc", -- ":cx_csharp_proto", +- ":iap_csharp_grpc", +- ":iap_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-dialogflow-cx-v3-csharp", +- name = "google-cloud-iap-v1beta1-csharp", - deps = [ -- ":cx_csharp_gapic", -- ":cx_csharp_grpc", -- ":cx_csharp_proto", +- ":iap_csharp_gapic", +- ":iap_csharp_grpc", +- ":iap_csharp_proto", - ], -) - @@ -24842,20 +40837,16 @@ diff -urN a/google/cloud/dialogflow/cx/v3/BUILD.bazel b/google/cloud/dialogflow/ -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel b/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel ---- a/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,384 +0,0 @@ +diff -urN a/google/cloud/iot/BUILD.bazel b/google/cloud/iot/BUILD.bazel +--- a/google/cloud/iot/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/iot/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/cloud/iot/v1/BUILD.bazel b/google/cloud/iot/v1/BUILD.bazel +--- a/google/cloud/iot/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/iot/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,338 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/rules_gapic/tree/master/bazel -- --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -24867,47 +40858,29 @@ diff -urN a/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel b/google/cloud/dialog -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "cx_proto", +- name = "iot_proto", - srcs = [ -- "agent.proto", -- "audio_config.proto", -- "entity_type.proto", -- "environment.proto", -- "experiment.proto", -- "flow.proto", -- "fulfillment.proto", -- "intent.proto", -- "page.proto", -- "response_message.proto", -- "security_settings.proto", -- "session.proto", -- "session_entity_type.proto", -- "test_case.proto", -- "transition_route_group.proto", -- "validation_message.proto", -- "version.proto", -- "webhook.proto", +- "device_manager.proto", +- "resources.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/longrunning:operations_proto", +- "//google/iam/v1:iam_policy_proto", +- "//google/iam/v1:policy_proto", - "//google/rpc:status_proto", -- "//google/type:latlng_proto", -- "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "cx_proto_with_info", +- name = "iot_proto_with_info", - deps = [ -- ":cx_proto", +- ":iot_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -24925,57 +40898,46 @@ diff -urN a/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel b/google/cloud/dialog -) - -java_proto_library( -- name = "cx_java_proto", -- deps = [":cx_proto"], +- name = "iot_java_proto", +- deps = [":iot_proto"], -) - -java_grpc_library( -- name = "cx_java_grpc", -- srcs = [":cx_proto"], -- deps = [":cx_java_proto"], +- name = "iot_java_grpc", +- srcs = [":iot_proto"], +- deps = [":iot_java_proto"], -) - -java_gapic_library( -- name = "cx_java_gapic", -- srcs = [":cx_proto_with_info"], -- grpc_service_config = "dialogflow_grpc_service_config.json", +- name = "iot_java_gapic", +- srcs = [":iot_proto_with_info"], +- grpc_service_config = "cloudiot_grpc_service_config.json", - test_deps = [ -- ":cx_java_grpc", +- ":iot_java_grpc", +- "//google/iam/v1:iam_java_grpc", - ], - deps = [ -- ":cx_java_proto", +- ":iot_java_proto", +- "//google/iam/v1:iam_java_proto", - ], -) - -java_gapic_test( -- name = "cx_java_gapic_test_suite", +- name = "iot_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.dialogflow.cx.v3beta1.AgentsClientTest", -- "com.google.cloud.dialogflow.cx.v3beta1.EntityTypesClientTest", -- "com.google.cloud.dialogflow.cx.v3beta1.EnvironmentsClientTest", -- "com.google.cloud.dialogflow.cx.v3beta1.ExperimentsClientTest", -- "com.google.cloud.dialogflow.cx.v3beta1.FlowsClientTest", -- "com.google.cloud.dialogflow.cx.v3beta1.IntentsClientTest", -- "com.google.cloud.dialogflow.cx.v3beta1.PagesClientTest", -- "com.google.cloud.dialogflow.cx.v3beta1.SecuritySettingsServiceClientTest", -- "com.google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClientTest", -- "com.google.cloud.dialogflow.cx.v3beta1.SessionsClientTest", -- "com.google.cloud.dialogflow.cx.v3beta1.TestCasesClientTest", -- "com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClientTest", -- "com.google.cloud.dialogflow.cx.v3beta1.VersionsClientTest", -- "com.google.cloud.dialogflow.cx.v3beta1.WebhooksClientTest", +- "com.google.cloud.iot.v1.DeviceManagerClientTest", - ], -- runtime_deps = [":cx_java_gapic_test"], +- runtime_deps = [":iot_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-dialogflow-cx-v3beta1-java", +- name = "google-cloud-iot-v1-java", - deps = [ -- ":cx_java_gapic", -- ":cx_java_grpc", -- ":cx_java_proto", -- ":cx_proto", +- ":iot_java_gapic", +- ":iot_java_grpc", +- ":iot_java_proto", +- ":iot_proto", - ], -) - @@ -24991,50 +40953,43 @@ diff -urN a/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel b/google/cloud/dialog -) - -go_proto_library( -- name = "cx_go_proto", +- name = "iot_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/dialogflow/cx/v3beta1", -- protos = [":cx_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/iot/v1", +- protos = [":iot_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/longrunning:longrunning_go_proto", +- "//google/iam/v1:iam_go_proto", - "//google/rpc:status_go_proto", -- "//google/type:latlng_go_proto", - ], -) - -go_gapic_library( -- name = "cx_go_gapic", -- srcs = [":cx_proto_with_info"], -- grpc_service_config = "dialogflow_grpc_service_config.json", -- importpath = "cloud.google.com/go/dialogflow/cx/apiv3beta1;cx", -- metadata = True, -- service_yaml = "dialogflow_v3beta1.yaml", +- name = "iot_go_gapic", +- srcs = [":iot_proto_with_info"], +- grpc_service_config = "cloudiot_grpc_service_config.json", +- importpath = "cloud.google.com/go/iot/apiv1;iot", +- service_yaml = "cloudiot_v1.yaml", - deps = [ -- ":cx_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", -- "@io_bazel_rules_go//proto/wkt:struct_go_proto", +- ":iot_go_proto", +- "//google/iam/v1:iam_go_proto", - ], -) - -go_test( -- name = "cx_go_gapic_test", -- srcs = [":cx_go_gapic_srcjar_test"], -- embed = [":cx_go_gapic"], -- importpath = "cloud.google.com/go/dialogflow/cx/apiv3beta1", +- name = "iot_go_gapic_test", +- srcs = [":iot_go_gapic_srcjar_test"], +- embed = [":iot_go_gapic"], +- importpath = "cloud.google.com/go/iot/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-dialogflow-cx-v3beta1-go", +- name = "gapi-cloud-iot-v1-go", - deps = [ -- ":cx_go_gapic", -- ":cx_go_gapic_srcjar-metadata.srcjar", -- ":cx_go_gapic_srcjar-test.srcjar", -- ":cx_go_proto", +- ":iot_go_gapic", +- ":iot_go_gapic_srcjar-test.srcjar", +- ":iot_go_proto", - ], -) - @@ -25048,20 +41003,15 @@ diff -urN a/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel b/google/cloud/dialog -) - -py_gapic_library( -- name = "cx_py_gapic", -- srcs = [":cx_proto"], -- grpc_service_config = "dialogflow_grpc_service_config.json", -- opt_args = [ -- "python-gapic-name=dialogflowcx", -- "python-gapic-namespace=google.cloud", -- ], +- name = "iot_py_gapic", +- srcs = [":iot_proto"], +- grpc_service_config = "cloudiot_grpc_service_config.json", -) - --# Open Source Packages -py_gapic_assembly_pkg( -- name = "dialogflow-cx-v3beta1-py", +- name = "iot-v1-py", - deps = [ -- ":cx_py_gapic", +- ":iot_py_gapic", - ], -) - @@ -25077,36 +41027,33 @@ diff -urN a/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel b/google/cloud/dialog -) - -php_proto_library( -- name = "cx_php_proto", -- deps = [":cx_proto"], +- name = "iot_php_proto", +- deps = [":iot_proto"], -) - -php_grpc_library( -- name = "cx_php_grpc", -- srcs = [":cx_proto"], -- deps = [":cx_php_proto"], +- name = "iot_php_grpc", +- srcs = [":iot_proto"], +- deps = [":iot_php_proto"], -) - -php_gapic_library( -- name = "cx_php_gapic", -- src = ":cx_proto_with_info", -- gapic_yaml = "dialogflow_gapic.yaml", -- grpc_service_config = "dialogflow_grpc_service_config.json", -- package = "google.cloud.dialogflow.cx.v3beta1", -- service_yaml = "dialogflow_v3beta1.yaml", +- name = "iot_php_gapic", +- srcs = [":iot_proto_with_info"], +- grpc_service_config = "cloudiot_grpc_service_config.json", - deps = [ -- ":cx_php_grpc", -- ":cx_php_proto", +- ":iot_php_grpc", +- ":iot_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-dialogflow-cx-v3beta1-php", +- name = "google-cloud-iot-v1-php", - deps = [ -- ":cx_php_gapic", -- ":cx_php_grpc", -- ":cx_php_proto", +- ":iot_php_gapic", +- ":iot_php_grpc", +- ":iot_php_proto", - ], -) - @@ -25120,21 +41067,22 @@ diff -urN a/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel b/google/cloud/dialog -) - -nodejs_gapic_library( -- name = "cx_nodejs_gapic", -- package_name = "@google-cloud/dialogflow-cx", -- src = ":cx_proto_with_info", +- name = "iot_nodejs_gapic", +- package_name = "@google-cloud/iot", +- src = ":iot_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "dialogflow_grpc_service_config.json", -- package = "google.cloud.dialogflow.cx.v3beta1", -- service_yaml = "dialogflow_v3beta1.yaml", +- grpc_service_config = "cloudiot_grpc_service_config.json", +- main_service = "iot", +- package = "google.cloud.iot.v1", +- service_yaml = "cloudiot_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "dialogflow-cx-v3beta1-nodejs", +- name = "iot-v1-nodejs", - deps = [ -- ":cx_nodejs_gapic", -- ":cx_proto", +- ":iot_nodejs_gapic", +- ":iot_proto", - ], -) - @@ -25143,43 +41091,49 @@ diff -urN a/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel b/google/cloud/dialog -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "cx_ruby_proto", -- deps = [":cx_proto"], +- name = "iot_ruby_proto", +- deps = [":iot_proto"], -) - -ruby_grpc_library( -- name = "cx_ruby_grpc", -- srcs = [":cx_proto"], -- deps = [":cx_ruby_proto"], +- name = "iot_ruby_grpc", +- srcs = [":iot_proto"], +- deps = [":iot_ruby_proto"], -) - --ruby_gapic_library( -- name = "cx_ruby_gapic", -- src = ":cx_proto_with_info", -- gapic_yaml = "dialogflow_gapic.yaml", -- grpc_service_config = "dialogflow_grpc_service_config.json", -- package = "google.cloud.dialogflow.cx.v3beta1", -- service_yaml = "dialogflow_v3beta1.yaml", +-ruby_cloud_gapic_library( +- name = "iot_ruby_gapic", +- srcs = [":iot_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-iot-v1", +- "ruby-cloud-env-prefix=IOT", +- "ruby-cloud-product-url=https://cloud.google.com/iot", +- "ruby-cloud-api-id=cloudiot.googleapis.com", +- "ruby-cloud-api-shortname=cloudiot", +- ], +- grpc_service_config = "cloudiot_grpc_service_config.json", +- ruby_cloud_description = "Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform.", +- ruby_cloud_title = "Cloud IoT V1", - deps = [ -- ":cx_ruby_grpc", -- ":cx_ruby_proto", +- ":iot_ruby_grpc", +- ":iot_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-dialogflow-cx-v3beta1-ruby", +- name = "google-cloud-iot-v1-ruby", - deps = [ -- ":cx_ruby_gapic", -- ":cx_ruby_grpc", -- ":cx_ruby_proto", +- ":iot_ruby_gapic", +- ":iot_ruby_grpc", +- ":iot_ruby_proto", - ], -) - @@ -25195,34 +41149,34 @@ diff -urN a/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel b/google/cloud/dialog -) - -csharp_proto_library( -- name = "cx_csharp_proto", -- deps = [":cx_proto"], +- name = "iot_csharp_proto", +- deps = [":iot_proto"], -) - -csharp_grpc_library( -- name = "cx_csharp_grpc", -- srcs = [":cx_proto"], -- deps = [":cx_csharp_proto"], +- name = "iot_csharp_grpc", +- srcs = [":iot_proto"], +- deps = [":iot_csharp_proto"], -) - -csharp_gapic_library( -- name = "cx_csharp_gapic", -- srcs = [":cx_proto_with_info"], +- name = "iot_csharp_gapic", +- srcs = [":iot_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "dialogflow_grpc_service_config.json", +- grpc_service_config = "cloudiot_grpc_service_config.json", - deps = [ -- ":cx_csharp_grpc", -- ":cx_csharp_proto", +- ":iot_csharp_grpc", +- ":iot_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-dialogflow-cx-v3beta1-csharp", +- name = "google-cloud-iot-v1-csharp", - deps = [ -- ":cx_csharp_gapic", -- ":cx_csharp_grpc", -- ":cx_csharp_proto", +- ":iot_csharp_gapic", +- ":iot_csharp_grpc", +- ":iot_csharp_proto", - ], -) - @@ -25230,75 +41184,54 @@ diff -urN a/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel b/google/cloud/dialog -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/dialogflow/v2/BUILD.bazel b/google/cloud/dialogflow/v2/BUILD.bazel ---- a/google/cloud/dialogflow/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/dialogflow/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,391 +0,0 @@ --# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/rules_gapic/tree/master/bazel -- --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. +diff -urN a/google/cloud/kms/BUILD.bazel b/google/cloud/kms/BUILD.bazel +--- a/google/cloud/kms/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/kms/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/cloud/kms/v1/BUILD.bazel b/google/cloud/kms/v1/BUILD.bazel +--- a/google/cloud/kms/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/kms/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,360 +0,0 @@ +-load("@rules_proto//proto:defs.bzl", "proto_library") - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) - +-# Reading the default service config is useful for custom gRPC clients. +-exports_files(["cloudkms_grpc_service_config.json"]) +- -############################################################################## -# Common -############################################################################## --load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "dialogflow_proto", +- name = "kms_proto", - srcs = [ -- "agent.proto", -- "answer_record.proto", -- "audio_config.proto", -- "context.proto", -- "conversation.proto", -- "conversation_event.proto", -- "conversation_profile.proto", -- "document.proto", -- "entity_type.proto", -- "environment.proto", -- "gcs.proto", -- "human_agent_assistant_event.proto", -- "intent.proto", -- "knowledge_base.proto", -- "participant.proto", -- "session.proto", -- "session_entity_type.proto", -- "validation_result.proto", -- "webhook.proto", +- "resources.proto", +- "service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/longrunning:operations_proto", -- "//google/rpc:status_proto", -- "//google/type:latlng_proto", - "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "dialogflow_proto_with_info", +- name = "kms_proto_with_info", - deps = [ -- ":dialogflow_proto", +- ":kms_proto", - "//google/cloud:common_resources_proto", -- "//google/cloud/dialogflow:common_resources_proto", +- "//google/iam/v1:iam_policy_proto", +- "//google/iam/v1:policy_proto", - ], -) - @@ -25315,43 +41248,47 @@ diff -urN a/google/cloud/dialogflow/v2/BUILD.bazel b/google/cloud/dialogflow/v2/ -) - -java_proto_library( -- name = "dialogflow_java_proto", -- deps = [":dialogflow_proto"], +- name = "kms_java_proto", +- deps = [":kms_proto"], -) - -java_grpc_library( -- name = "dialogflow_java_grpc", -- srcs = [":dialogflow_proto"], -- deps = [":dialogflow_java_proto"], +- name = "kms_java_grpc", +- srcs = [":kms_proto"], +- deps = [":kms_java_proto"], -) - -java_gapic_library( -- name = "dialogflow_java_gapic", -- srcs = [":dialogflow_proto_with_info"], -- grpc_service_config = "dialogflow_grpc_service_config.json", +- name = "kms_java_gapic", +- srcs = [":kms_proto_with_info"], +- grpc_service_config = "cloudkms_grpc_service_config.json", +- service_yaml = "cloudkms_v1.yaml", - test_deps = [ -- ":dialogflow_java_grpc", +- ":kms_java_grpc", +- "//google/iam/v1:iam_java_grpc", - ], - deps = [ -- ":dialogflow_java_proto", +- ":kms_java_proto", +- "//google/iam/v1:iam_java_proto", - ], -) - -java_gapic_test( -- name = "dialogflow_java_gapic_test_suite", +- name = "kms_java_gapic_test_suite", - test_classes = [ +- "com.google.cloud.kms.v1.KeyManagementServiceClientTest", - ], -- runtime_deps = [":dialogflow_java_gapic_test"], +- runtime_deps = [":kms_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-dialogflow-v2-java", +- name = "google-cloud-kms-v1-java", - deps = [ -- ":dialogflow_java_gapic", -- ":dialogflow_java_grpc", -- ":dialogflow_java_proto", -- ":dialogflow_proto", +- ":kms_java_gapic", +- ":kms_java_grpc", +- ":kms_java_proto", +- ":kms_proto", - ], -) - @@ -25367,50 +41304,43 @@ diff -urN a/google/cloud/dialogflow/v2/BUILD.bazel b/google/cloud/dialogflow/v2/ -) - -go_proto_library( -- name = "dialogflow_go_proto", +- name = "kms_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2", -- protos = [":dialogflow_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/kms/v1", +- protos = [":kms_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "//google/rpc:status_go_proto", -- "//google/type:latlng_go_proto", +- "//google/iam/v1:iam_go_proto", - ], -) - -go_gapic_library( -- name = "dialogflow_go_gapic", -- srcs = [":dialogflow_proto_with_info"], -- grpc_service_config = "dialogflow_grpc_service_config.json", -- importpath = "cloud.google.com/go/dialogflow/apiv2;dialogflow", -- metadata = True, -- service_yaml = "dialogflow_v2.yaml", +- name = "kms_go_gapic", +- srcs = [":kms_proto_with_info"], +- grpc_service_config = "cloudkms_grpc_service_config.json", +- importpath = "cloud.google.com/go/kms/apiv1;kms", +- service_yaml = "cloudkms_v1.yaml", - deps = [ -- ":dialogflow_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- ":kms_go_proto", +- "//google/iam/v1:iam_go_proto", - "@io_bazel_rules_go//proto/wkt:duration_go_proto", -- "@io_bazel_rules_go//proto/wkt:struct_go_proto", - ], -) - -go_test( -- name = "dialogflow_go_gapic_test", -- srcs = [":dialogflow_go_gapic_srcjar_test"], -- embed = [":dialogflow_go_gapic"], -- importpath = "cloud.google.com/go/dialogflow/apiv2", +- name = "kms_go_gapic_test", +- srcs = [":kms_go_gapic_srcjar_test"], +- embed = [":kms_go_gapic"], +- importpath = "cloud.google.com/go/kms/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-dialogflow-v2-go", +- name = "gapi-cloud-kms-v1-go", - deps = [ -- ":dialogflow_go_gapic", -- ":dialogflow_go_gapic_srcjar-metadata.srcjar", -- ":dialogflow_go_gapic_srcjar-test.srcjar", -- ":dialogflow_go_proto", +- ":kms_go_gapic", +- ":kms_go_gapic_srcjar-test.srcjar", +- ":kms_go_proto", - ], -) - @@ -25424,16 +41354,16 @@ diff -urN a/google/cloud/dialogflow/v2/BUILD.bazel b/google/cloud/dialogflow/v2/ -) - -py_gapic_library( -- name = "dialogflow_py_gapic", -- srcs = [":dialogflow_proto"], -- grpc_service_config = "dialogflow_grpc_service_config.json", +- name = "kms_py_gapic", +- srcs = [":kms_proto"], +- grpc_service_config = "cloudkms_grpc_service_config.json", +- opt_args = ["add-iam-methods"], -) - --# Open Source Packages -py_gapic_assembly_pkg( -- name = "dialogflow-v2-py", +- name = "kms-v1-py", - deps = [ -- ":dialogflow_py_gapic", +- ":kms_py_gapic", - ], -) - @@ -25449,36 +41379,33 @@ diff -urN a/google/cloud/dialogflow/v2/BUILD.bazel b/google/cloud/dialogflow/v2/ -) - -php_proto_library( -- name = "dialogflow_php_proto", -- deps = [":dialogflow_proto"], +- name = "kms_php_proto", +- deps = [":kms_proto"], -) - -php_grpc_library( -- name = "dialogflow_php_grpc", -- srcs = [":dialogflow_proto"], -- deps = [":dialogflow_php_proto"], +- name = "kms_php_grpc", +- srcs = [":kms_proto"], +- deps = [":kms_php_proto"], -) - -php_gapic_library( -- name = "dialogflow_php_gapic", -- src = ":dialogflow_proto_with_info", -- gapic_yaml = "dialogflow_gapic.yaml", -- grpc_service_config = "dialogflow_grpc_service_config.json", -- package = "google.cloud.dialogflow.v2", -- service_yaml = "dialogflow_v2.yaml", +- name = "kms_php_gapic", +- srcs = [":kms_proto_with_info"], +- service_yaml = "cloudkms_v1.yaml", - deps = [ -- ":dialogflow_php_grpc", -- ":dialogflow_php_proto", +- ":kms_php_grpc", +- ":kms_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-dialogflow-v2-php", +- name = "google-cloud-kms-v1-php", - deps = [ -- ":dialogflow_php_gapic", -- ":dialogflow_php_grpc", -- ":dialogflow_php_proto", +- ":kms_php_gapic", +- ":kms_php_grpc", +- ":kms_php_proto", - ], -) - @@ -25492,22 +41419,22 @@ diff -urN a/google/cloud/dialogflow/v2/BUILD.bazel b/google/cloud/dialogflow/v2/ -) - -nodejs_gapic_library( -- name = "dialogflow_nodejs_gapic", -- package_name = "@google-cloud/dialogflow", -- src = ":dialogflow_proto_with_info", +- name = "kms_nodejs_gapic", +- package_name = "@google-cloud/kms", +- src = ":kms_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "dialogflow_grpc_service_config.json", -- main_service = "dialogflow", -- package = "google.cloud.dialogflow.v2", -- service_yaml = "dialogflow_v2.yaml", +- grpc_service_config = "cloudkms_grpc_service_config.json", +- iam_service = "true", +- package = "google.cloud.kms.v1", +- service_yaml = "cloudkms_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "dialogflow-v2-nodejs", +- name = "kms-v1-nodejs", - deps = [ -- ":dialogflow_nodejs_gapic", -- ":dialogflow_proto", +- ":kms_nodejs_gapic", +- ":kms_proto", - ], -) - @@ -25516,49 +41443,50 @@ diff -urN a/google/cloud/dialogflow/v2/BUILD.bazel b/google/cloud/dialogflow/v2/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "dialogflow_ruby_proto", -- deps = [":dialogflow_proto"], +- name = "kms_ruby_proto", +- deps = [":kms_proto"], -) - -ruby_grpc_library( -- name = "dialogflow_ruby_grpc", -- srcs = [":dialogflow_proto"], -- deps = [":dialogflow_ruby_proto"], +- name = "kms_ruby_grpc", +- srcs = [":kms_proto"], +- deps = [":kms_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "dialogflow_ruby_gapic", -- srcs = [":dialogflow_proto_with_info"], +- name = "kms_ruby_gapic", +- srcs = [":kms_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-dialogflow-v2", -- "ruby-cloud-env-prefix=DIALOGFLOW", -- "ruby-cloud-product-url=https://cloud.google.com/dialogflow", -- "ruby-cloud-api-id=dialogflow.googleapis.com", -- "ruby-cloud-api-shortname=dialogflow", +- "ruby-cloud-gem-name=google-cloud-kms-v1", +- "ruby-cloud-env-prefix=KMS", +- "ruby-cloud-common-services=google.iam.v1.IAMPolicy=google.cloud.kms.v1.KeyManagementService", +- "ruby-cloud-product-url=https://cloud.google.com/kms", +- "ruby-cloud-api-id=cloudkms.googleapis.com", +- "ruby-cloud-api-shortname=cloudkms", - ], -- grpc_service_config = "dialogflow_grpc_service_config.json", -- ruby_cloud_description = "Dialogflow is an end-to-end, build-once deploy-everywhere development suite for creating conversational interfaces for websites, mobile applications, popular messaging platforms, and IoT devices. You can use it to build interfaces (such as chatbots and conversational IVR) that enable natural and rich interactions between your users and your business.", -- ruby_cloud_title = "Dialogflow V2", +- grpc_service_config = "cloudkms_grpc_service_config.json", +- ruby_cloud_description = "Manages keys and performs cryptographic operations in a central cloud service, for direct use by other cloud resources and applications.", +- ruby_cloud_title = "Cloud Key Management Service (KMS) V1", - deps = [ -- ":dialogflow_ruby_grpc", -- ":dialogflow_ruby_proto", +- ":kms_ruby_grpc", +- ":kms_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-dialogflow-v2-ruby", +- name = "google-cloud-kms-v1-ruby", - deps = [ -- ":dialogflow_ruby_gapic", -- ":dialogflow_ruby_grpc", -- ":dialogflow_ruby_proto", +- ":kms_ruby_gapic", +- ":kms_ruby_grpc", +- ":kms_ruby_proto", - ], -) - @@ -25574,34 +41502,34 @@ diff -urN a/google/cloud/dialogflow/v2/BUILD.bazel b/google/cloud/dialogflow/v2/ -) - -csharp_proto_library( -- name = "dialogflow_csharp_proto", -- deps = [":dialogflow_proto"], +- name = "kms_csharp_proto", +- deps = [":kms_proto"], -) - -csharp_grpc_library( -- name = "dialogflow_csharp_grpc", -- srcs = [":dialogflow_proto"], -- deps = [":dialogflow_csharp_proto"], +- name = "kms_csharp_grpc", +- srcs = [":kms_proto"], +- deps = [":kms_csharp_proto"], -) - -csharp_gapic_library( -- name = "dialogflow_csharp_gapic", -- srcs = [":dialogflow_proto_with_info"], +- name = "kms_csharp_gapic", +- srcs = [":kms_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "dialogflow_grpc_service_config.json", +- grpc_service_config = "cloudkms_grpc_service_config.json", - deps = [ -- ":dialogflow_csharp_grpc", -- ":dialogflow_csharp_proto", +- ":kms_csharp_grpc", +- ":kms_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-dialogflow-v2-csharp", +- name = "google-cloud-kms-v1-csharp", - deps = [ -- ":dialogflow_csharp_gapic", -- ":dialogflow_csharp_grpc", -- ":dialogflow_csharp_proto", +- ":kms_csharp_gapic", +- ":kms_csharp_grpc", +- ":kms_csharp_proto", - ], -) - @@ -25615,20 +41543,25 @@ diff -urN a/google/cloud/dialogflow/v2/BUILD.bazel b/google/cloud/dialogflow/v2/ -) - -cc_proto_library( -- name = "dialogflow_cc_proto", -- deps = [":dialogflow_proto"], +- name = "kms_cc_proto", +- deps = [":kms_proto"], -) - -cc_grpc_library( -- name = "dialogflow_cc_grpc", -- srcs = [":dialogflow_proto"], +- name = "kms_cc_grpc", +- srcs = [":kms_proto"], - grpc_only = True, -- deps = [":dialogflow_cc_proto"], +- deps = [":kms_cc_proto"], -) -diff -urN a/google/cloud/dialogflow/v2beta1/BUILD.bazel b/google/cloud/dialogflow/v2beta1/BUILD.bazel ---- a/google/cloud/dialogflow/v2beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/dialogflow/v2beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,371 +0,0 @@ +diff -urN a/google/cloud/language/BUILD.bazel b/google/cloud/language/BUILD.bazel +--- a/google/cloud/language/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/language/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/cloud/language/v1/BUILD.bazel b/google/cloud/language/v1/BUILD.bazel +--- a/google/cloud/language/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/language/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,337 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/rules_gapic/tree/master/bazel - @@ -25650,51 +41583,22 @@ diff -urN a/google/cloud/dialogflow/v2beta1/BUILD.bazel b/google/cloud/dialogflo -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "dialogflow_proto", +- name = "language_proto", - srcs = [ -- "agent.proto", -- "answer_record.proto", -- "audio_config.proto", -- "context.proto", -- "conversation.proto", -- "conversation_event.proto", -- "conversation_profile.proto", -- "document.proto", -- "entity_type.proto", -- "environment.proto", -- "gcs.proto", -- "human_agent_assistant_event.proto", -- "intent.proto", -- "knowledge_base.proto", -- "participant.proto", -- "session.proto", -- "session_entity_type.proto", -- "validation_result.proto", -- "webhook.proto", +- "language_service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/longrunning:operations_proto", -- "//google/rpc:status_proto", -- "//google/type:latlng_proto", -- "@com_google_protobuf//:any_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:struct_proto", -- "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "dialogflow_proto_with_info", +- name = "language_proto_with_info", - deps = [ -- ":dialogflow_proto", +- ":language_proto", - "//google/cloud:common_resources_proto", -- "//google/cloud/dialogflow:common_resources_proto", - ], -) - @@ -25711,43 +41615,44 @@ diff -urN a/google/cloud/dialogflow/v2beta1/BUILD.bazel b/google/cloud/dialogflo -) - -java_proto_library( -- name = "dialogflow_java_proto", -- deps = [":dialogflow_proto"], +- name = "language_java_proto", +- deps = [":language_proto"], -) - -java_grpc_library( -- name = "dialogflow_java_grpc", -- srcs = [":dialogflow_proto"], -- deps = [":dialogflow_java_proto"], +- name = "language_java_grpc", +- srcs = [":language_proto"], +- deps = [":language_java_proto"], -) - -java_gapic_library( -- name = "dialogflow_java_gapic", -- srcs = [":dialogflow_proto_with_info"], -- grpc_service_config = "dialogflow_grpc_service_config.json", +- name = "language_java_gapic", +- srcs = [":language_proto_with_info"], +- grpc_service_config = "language_grpc_service_config.json", - test_deps = [ -- ":dialogflow_java_grpc", +- ":language_java_grpc", - ], - deps = [ -- ":dialogflow_java_proto", +- ":language_java_proto", - ], -) - -java_gapic_test( -- name = "dialogflow_java_gapic_test_suite", +- name = "language_java_gapic_test_suite", - test_classes = [ +- "com.google.cloud.language.v1.LanguageServiceClientTest", - ], -- runtime_deps = [":dialogflow_java_gapic_test"], +- runtime_deps = [":language_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-dialogflow-v2beta1-java", +- name = "google-cloud-language-v1-java", - deps = [ -- ":dialogflow_java_gapic", -- ":dialogflow_java_grpc", -- ":dialogflow_java_proto", -- ":dialogflow_proto", +- ":language_java_gapic", +- ":language_java_grpc", +- ":language_java_proto", +- ":language_proto", - ], -) - @@ -25763,51 +41668,42 @@ diff -urN a/google/cloud/dialogflow/v2beta1/BUILD.bazel b/google/cloud/dialogflo -) - -go_proto_library( -- name = "dialogflow_go_proto", +- name = "language_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1", -- protos = [":dialogflow_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/language/v1", +- protos = [":language_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "//google/rpc:status_go_proto", -- "//google/type:latlng_go_proto", - ], -) - -go_gapic_library( -- name = "dialogflow_go_gapic", -- srcs = [":dialogflow_proto_with_info"], -- grpc_service_config = "dialogflow_grpc_service_config.json", -- importpath = "cloud.google.com/go/dialogflow/apiv2beta1;dialogflow", +- name = "language_go_gapic", +- srcs = [":language_proto_with_info"], +- grpc_service_config = "language_grpc_service_config.json", +- importpath = "cloud.google.com/go/language/apiv1;language", - metadata = True, -- service_yaml = "dialogflow_v2beta1.yaml", +- service_yaml = "language_v1.yaml", - deps = [ -- ":dialogflow_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:any_go_proto", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", -- "@io_bazel_rules_go//proto/wkt:struct_go_proto", +- ":language_go_proto", - ], -) - -go_test( -- name = "dialogflow_go_gapic_test", -- srcs = [":dialogflow_go_gapic_srcjar_test"], -- embed = [":dialogflow_go_gapic"], -- importpath = "cloud.google.com/go/dialogflow/apiv2beta1", +- name = "language_go_gapic_test", +- srcs = [":language_go_gapic_srcjar_test"], +- embed = [":language_go_gapic"], +- importpath = "cloud.google.com/go/language/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-dialogflow-v2beta1-go", +- name = "gapi-cloud-language-v1-go", - deps = [ -- ":dialogflow_go_gapic", -- ":dialogflow_go_gapic_srcjar-metadata.srcjar", -- ":dialogflow_go_gapic_srcjar-test.srcjar", -- ":dialogflow_go_proto", +- ":language_go_gapic", +- ":language_go_gapic_srcjar-metadata.srcjar", +- ":language_go_gapic_srcjar-test.srcjar", +- ":language_go_proto", - ], -) - @@ -25821,16 +41717,16 @@ diff -urN a/google/cloud/dialogflow/v2beta1/BUILD.bazel b/google/cloud/dialogflo -) - -py_gapic_library( -- name = "dialogflow_py_gapic", -- srcs = [":dialogflow_proto"], -- grpc_service_config = "dialogflow_grpc_service_config.json", +- name = "language_py_gapic", +- srcs = [":language_proto"], +- grpc_service_config = "language_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "dialogflow-v2beta1-py", +- name = "language-v1-py", - deps = [ -- ":dialogflow_py_gapic", +- ":language_py_gapic", - ], -) - @@ -25846,36 +41742,34 @@ diff -urN a/google/cloud/dialogflow/v2beta1/BUILD.bazel b/google/cloud/dialogflo -) - -php_proto_library( -- name = "dialogflow_php_proto", -- deps = [":dialogflow_proto"], +- name = "language_php_proto", +- deps = [":language_proto"], -) - -php_grpc_library( -- name = "dialogflow_php_grpc", -- srcs = [":dialogflow_proto"], -- deps = [":dialogflow_php_proto"], +- name = "language_php_grpc", +- srcs = [":language_proto"], +- deps = [":language_php_proto"], -) - -php_gapic_library( -- name = "dialogflow_php_gapic", -- src = ":dialogflow_proto_with_info", -- gapic_yaml = "dialogflow_gapic.yaml", -- grpc_service_config = "dialogflow_grpc_service_config.json", -- package = "google.cloud.dialogflow.v2beta1", -- service_yaml = "dialogflow_v2beta1.yaml", +- name = "language_php_gapic", +- srcs = [":language_proto_with_info"], +- grpc_service_config = "language_grpc_service_config.json", +- service_yaml = "language_v1.yaml", - deps = [ -- ":dialogflow_php_grpc", -- ":dialogflow_php_proto", +- ":language_php_grpc", +- ":language_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-dialogflow-v2beta1-php", +- name = "google-cloud-language-v1-php", - deps = [ -- ":dialogflow_php_gapic", -- ":dialogflow_php_grpc", -- ":dialogflow_php_proto", +- ":language_php_gapic", +- ":language_php_grpc", +- ":language_php_proto", - ], -) - @@ -25889,22 +41783,21 @@ diff -urN a/google/cloud/dialogflow/v2beta1/BUILD.bazel b/google/cloud/dialogflo -) - -nodejs_gapic_library( -- name = "dialogflow_nodejs_gapic", -- package_name = "@google-cloud/dialogflow", -- src = ":dialogflow_proto_with_info", +- name = "language_nodejs_gapic", +- package_name = "@google-cloud/language", +- src = ":language_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "dialogflow_grpc_service_config.json", -- main_service = "dialogflow", -- package = "google.cloud.dialogflow.v2beta1", -- service_yaml = "dialogflow_v2beta1.yaml", +- grpc_service_config = "language_grpc_service_config.json", +- package = "google.cloud.language.v1", +- service_yaml = "language_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "dialogflow-v2beta1-nodejs", +- name = "language-v1-nodejs", - deps = [ -- ":dialogflow_nodejs_gapic", -- ":dialogflow_proto", +- ":language_nodejs_gapic", +- ":language_proto", - ], -) - @@ -25913,43 +41806,49 @@ diff -urN a/google/cloud/dialogflow/v2beta1/BUILD.bazel b/google/cloud/dialogflo -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "dialogflow_ruby_proto", -- deps = [":dialogflow_proto"], +- name = "language_ruby_proto", +- deps = [":language_proto"], -) - -ruby_grpc_library( -- name = "dialogflow_ruby_grpc", -- srcs = [":dialogflow_proto"], -- deps = [":dialogflow_ruby_proto"], +- name = "language_ruby_grpc", +- srcs = [":language_proto"], +- deps = [":language_ruby_proto"], -) - --ruby_gapic_library( -- name = "dialogflow_ruby_gapic", -- src = ":dialogflow_proto_with_info", -- gapic_yaml = "dialogflow_gapic.yaml", -- grpc_service_config = "dialogflow_grpc_service_config.json", -- package = "google.cloud.dialogflow.v2beta1", -- service_yaml = "dialogflow_v2beta1.yaml", +-ruby_cloud_gapic_library( +- name = "language_ruby_gapic", +- srcs = [":language_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-api-id=language.googleapis.com", +- "ruby-cloud-api-shortname=language", +- "ruby-cloud-env-prefix=LANGUAGE", +- "ruby-cloud-gem-name=google-cloud-language-v1", +- "ruby-cloud-product-url=https://cloud.google.com/natural-language", +- ], +- grpc_service_config = "language_grpc_service_config.json", +- ruby_cloud_description = "Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations.", +- ruby_cloud_title = "Natural Language V1", - deps = [ -- ":dialogflow_ruby_grpc", -- ":dialogflow_ruby_proto", +- ":language_ruby_grpc", +- ":language_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-dialogflow-v2beta1-ruby", +- name = "google-cloud-language-v1-ruby", - deps = [ -- ":dialogflow_ruby_gapic", -- ":dialogflow_ruby_grpc", -- ":dialogflow_ruby_proto", +- ":language_ruby_gapic", +- ":language_ruby_grpc", +- ":language_ruby_proto", - ], -) - @@ -25965,34 +41864,34 @@ diff -urN a/google/cloud/dialogflow/v2beta1/BUILD.bazel b/google/cloud/dialogflo -) - -csharp_proto_library( -- name = "dialogflow_csharp_proto", -- deps = [":dialogflow_proto"], +- name = "language_csharp_proto", +- deps = [":language_proto"], -) - -csharp_grpc_library( -- name = "dialogflow_csharp_grpc", -- srcs = [":dialogflow_proto"], -- deps = [":dialogflow_csharp_proto"], +- name = "language_csharp_grpc", +- srcs = [":language_proto"], +- deps = [":language_csharp_proto"], -) - -csharp_gapic_library( -- name = "dialogflow_csharp_gapic", -- srcs = [":dialogflow_proto_with_info"], +- name = "language_csharp_gapic", +- srcs = [":language_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "dialogflow_grpc_service_config.json", +- grpc_service_config = "language_grpc_service_config.json", - deps = [ -- ":dialogflow_csharp_grpc", -- ":dialogflow_csharp_proto", +- ":language_csharp_grpc", +- ":language_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-dialogflow-v2beta1-csharp", +- name = "google-cloud-language-v1-csharp", - deps = [ -- ":dialogflow_csharp_gapic", -- ":dialogflow_csharp_grpc", -- ":dialogflow_csharp_proto", +- ":language_csharp_gapic", +- ":language_csharp_grpc", +- ":language_csharp_proto", - ], -) - @@ -26000,17 +41899,177 @@ diff -urN a/google/cloud/dialogflow/v2beta1/BUILD.bazel b/google/cloud/dialogflo -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/documentai/BUILD.bazel b/google/cloud/documentai/BUILD.bazel ---- a/google/cloud/documentai/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/documentai/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/cloud/documentai/v1/BUILD.bazel b/google/cloud/documentai/v1/BUILD.bazel ---- a/google/cloud/documentai/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/documentai/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,361 +0,0 @@ +diff -urN a/google/cloud/language/v1beta1/BUILD.bazel b/google/cloud/language/v1beta1/BUILD.bazel +--- a/google/cloud/language/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/language/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,161 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-proto_library( +- name = "language_proto", +- srcs = [ +- "language_service.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "language_java_proto", +- deps = [":language_proto"], +-) +- +-java_grpc_library( +- name = "language_java_grpc", +- srcs = [":language_proto"], +- deps = [":language_java_proto"], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "language_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/language/v1beta1", +- protos = [":language_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "moved_proto_library", +- "py_grpc_library", +- "py_proto_library", +-) +- +-moved_proto_library( +- name = "language_moved_proto", +- srcs = [":language_proto"], +- deps = [ +- "//google/api:annotations_proto", +- ], +-) +- +-py_proto_library( +- name = "language_py_proto", +- deps = [":language_moved_proto"], +-) +- +-py_grpc_library( +- name = "language_py_grpc", +- srcs = [":language_moved_proto"], +- deps = [":language_py_proto"], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "language_php_proto", +- deps = [":language_proto"], +-) +- +-php_grpc_library( +- name = "language_php_grpc", +- srcs = [":language_proto"], +- deps = [":language_php_proto"], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "language_ruby_proto", +- deps = [":language_proto"], +-) +- +-ruby_grpc_library( +- name = "language_ruby_grpc", +- srcs = [":language_proto"], +- deps = [":language_ruby_proto"], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "language_csharp_proto", +- deps = [":language_proto"], +-) +- +-csharp_grpc_library( +- name = "language_csharp_grpc", +- srcs = [":language_proto"], +- deps = [":language_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/cloud/language/v1beta2/BUILD.bazel b/google/cloud/language/v1beta2/BUILD.bazel +--- a/google/cloud/language/v1beta2/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/language/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,338 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel - -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: @@ -26030,34 +42089,22 @@ diff -urN a/google/cloud/documentai/v1/BUILD.bazel b/google/cloud/documentai/v1/ -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "documentai_proto", +- name = "language_proto", - srcs = [ -- "document.proto", -- "document_io.proto", -- "document_processor_service.proto", -- "geometry.proto", +- "language_service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/longrunning:operations_proto", -- "//google/rpc:status_proto", -- "//google/type:color_proto", -- "//google/type:date_proto", -- "//google/type:datetime_proto", -- "//google/type:money_proto", -- "//google/type:postal_address_proto", -- "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "documentai_proto_with_info", +- name = "language_proto_with_info", - deps = [ -- ":documentai_proto", +- ":language_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -26075,44 +42122,44 @@ diff -urN a/google/cloud/documentai/v1/BUILD.bazel b/google/cloud/documentai/v1/ -) - -java_proto_library( -- name = "documentai_java_proto", -- deps = [":documentai_proto"], +- name = "language_java_proto", +- deps = [":language_proto"], -) - -java_grpc_library( -- name = "documentai_java_grpc", -- srcs = [":documentai_proto"], -- deps = [":documentai_java_proto"], +- name = "language_java_grpc", +- srcs = [":language_proto"], +- deps = [":language_java_proto"], -) - -java_gapic_library( -- name = "documentai_java_gapic", -- srcs = [":documentai_proto_with_info"], -- grpc_service_config = "documentai_v1_grpc_service_config.json", +- name = "language_java_gapic", +- srcs = [":language_proto_with_info"], +- grpc_service_config = "language_grpc_service_config.json", - test_deps = [ -- ":documentai_java_grpc", +- ":language_java_grpc", - ], - deps = [ -- ":documentai_java_proto", +- ":language_java_proto", - ], -) - -java_gapic_test( -- name = "documentai_java_gapic_test_suite", +- name = "language_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.documentai.v1.DocumentProcessorServiceClientTest", +- "com.google.cloud.language.v1beta2.LanguageServiceClientTest", - ], -- runtime_deps = [":documentai_java_gapic_test"], +- runtime_deps = [":language_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-documentai-v1-java", +- name = "google-cloud-language-v1beta2-java", - deps = [ -- ":documentai_java_gapic", -- ":documentai_java_grpc", -- ":documentai_java_proto", -- ":documentai_proto", +- ":language_java_gapic", +- ":language_java_grpc", +- ":language_java_proto", +- ":language_proto", - ], -) - @@ -26128,50 +42175,42 @@ diff -urN a/google/cloud/documentai/v1/BUILD.bazel b/google/cloud/documentai/v1/ -) - -go_proto_library( -- name = "documentai_go_proto", +- name = "language_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/documentai/v1", -- protos = [":documentai_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/language/v1beta2", +- protos = [":language_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "//google/rpc:status_go_proto", -- "//google/type:color_go_proto", -- "//google/type:date_go_proto", -- "//google/type:datetime_go_proto", -- "//google/type:money_go_proto", -- "//google/type:postaladdress_go_proto", - ], -) - -go_gapic_library( -- name = "documentai_go_gapic", -- srcs = [":documentai_proto_with_info"], -- grpc_service_config = "documentai_v1_grpc_service_config.json", -- importpath = "cloud.google.com/go/documentai/apiv1;documentai", -- service_yaml = "documentai_v1.yaml", +- name = "language_go_gapic", +- srcs = [":language_proto_with_info"], +- grpc_service_config = "language_grpc_service_config.json", +- importpath = "cloud.google.com/go/language/apiv1beta2;language", +- metadata = True, +- service_yaml = "language_v1beta2.yaml", - deps = [ -- ":documentai_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- ":language_go_proto", - ], -) - -go_test( -- name = "documentai_go_gapic_test", -- srcs = [":documentai_go_gapic_srcjar_test"], -- embed = [":documentai_go_gapic"], -- importpath = "cloud.google.com/go/documentai/apiv1", +- name = "language_go_gapic_test", +- srcs = [":language_go_gapic_srcjar_test"], +- embed = [":language_go_gapic"], +- importpath = "cloud.google.com/go/language/apiv1beta2", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-documentai-v1-go", +- name = "gapi-cloud-language-v1beta2-go", - deps = [ -- ":documentai_go_gapic", -- ":documentai_go_gapic_srcjar-test.srcjar", -- ":documentai_go_proto", +- ":language_go_gapic", +- ":language_go_gapic_srcjar-metadata.srcjar", +- ":language_go_gapic_srcjar-test.srcjar", +- ":language_go_proto", - ], -) - @@ -26185,16 +42224,16 @@ diff -urN a/google/cloud/documentai/v1/BUILD.bazel b/google/cloud/documentai/v1/ -) - -py_gapic_library( -- name = "documentai_py_gapic", -- srcs = [":documentai_proto"], -- grpc_service_config = "documentai_v1_grpc_service_config.json", +- name = "language_py_gapic", +- srcs = [":language_proto"], +- grpc_service_config = "language_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "documentai-v1-py", +- name = "language-v1beta2-py", - deps = [ -- ":documentai_py_gapic", +- ":language_py_gapic", - ], -) - @@ -26210,36 +42249,34 @@ diff -urN a/google/cloud/documentai/v1/BUILD.bazel b/google/cloud/documentai/v1/ -) - -php_proto_library( -- name = "documentai_php_proto", -- deps = [":documentai_proto"], +- name = "language_php_proto", +- deps = [":language_proto"], -) - -php_grpc_library( -- name = "documentai_php_grpc", -- srcs = [":documentai_proto"], -- deps = [":documentai_php_proto"], +- name = "language_php_grpc", +- srcs = [":language_proto"], +- deps = [":language_php_proto"], -) - -php_gapic_library( -- name = "documentai_php_gapic", -- src = ":documentai_proto_with_info", -- gapic_yaml = "documentai_gapic.yaml", -- grpc_service_config = "documentai_v1_grpc_service_config.json", -- package = "google.cloud.documentai.v1", -- service_yaml = "documentai_v1.yaml", +- name = "language_php_gapic", +- srcs = [":language_proto_with_info"], +- grpc_service_config = "language_grpc_service_config.json", +- service_yaml = "language_v1beta2.yaml", - deps = [ -- ":documentai_php_grpc", -- ":documentai_php_proto", +- ":language_php_grpc", +- ":language_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-documentai-v1-php", +- name = "google-cloud-language-v1beta2-php", - deps = [ -- ":documentai_php_gapic", -- ":documentai_php_grpc", -- ":documentai_php_proto", +- ":language_php_gapic", +- ":language_php_grpc", +- ":language_php_proto", - ], -) - @@ -26253,21 +42290,21 @@ diff -urN a/google/cloud/documentai/v1/BUILD.bazel b/google/cloud/documentai/v1/ -) - -nodejs_gapic_library( -- name = "documentai_nodejs_gapic", -- package_name = "@google-cloud/documentai", -- src = ":documentai_proto_with_info", -- extra_protoc_parameters = ["metadata"], -- grpc_service_config = "documentai_v1_grpc_service_config.json", -- package = "google.cloud.documentai.v1", -- service_yaml = "documentai_v1.yaml", +- name = "language_nodejs_gapic", +- package_name = "@google-cloud/language", +- src = ":language_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "language_grpc_service_config.json", +- package = "google.cloud.language.v1beta2", +- service_yaml = "language_v1beta2.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "documentai-v1-nodejs", +- name = "language-v1beta2-nodejs", - deps = [ -- ":documentai_nodejs_gapic", -- ":documentai_proto", +- ":language_nodejs_gapic", +- ":language_proto", - ], -) - @@ -26276,50 +42313,49 @@ diff -urN a/google/cloud/documentai/v1/BUILD.bazel b/google/cloud/documentai/v1/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "documentai_ruby_proto", -- deps = [":documentai_proto"], +- name = "language_ruby_proto", +- deps = [":language_proto"], -) - -ruby_grpc_library( -- name = "documentai_ruby_grpc", -- srcs = [":documentai_proto"], -- deps = [":documentai_ruby_proto"], +- name = "language_ruby_grpc", +- srcs = [":language_proto"], +- deps = [":language_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "documentai_ruby_gapic", -- srcs = [":documentai_proto_with_info"], +- name = "language_ruby_gapic", +- srcs = [":language_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-document_ai-v1", -- "ruby-cloud-env-prefix=DOCUMENT_AI", -- "ruby-cloud-product-url=https://cloud.google.com/document-ai/", -- "ruby-cloud-api-id=us-documentai.googleapis.com", -- "ruby-cloud-api-shortname=documentai", -- "ruby-cloud-namespace-override=DocumentAi=DocumentAI", +- "ruby-cloud-api-id=language.googleapis.com", +- "ruby-cloud-api-shortname=language", +- "ruby-cloud-env-prefix=LANGUAGE", +- "ruby-cloud-gem-name=google-cloud-language-v1beta2", +- "ruby-cloud-product-url=https://cloud.google.com/natural-language", - ], -- grpc_service_config = "documentai_v1_grpc_service_config.json", -- ruby_cloud_description = "Document AI uses machine learning on a single cloud-based platform to automatically classify, extract, and enrich data within your documents to unlock insights.", -- ruby_cloud_title = "Document AI V1beta3", +- grpc_service_config = "language_grpc_service_config.json", +- ruby_cloud_description = "Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations.", +- ruby_cloud_title = "Natural Language V1beta2", - deps = [ -- ":documentai_ruby_grpc", -- ":documentai_ruby_proto", +- ":language_ruby_grpc", +- ":language_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-documentai-v1-ruby", +- name = "google-cloud-language-v1beta2-ruby", - deps = [ -- ":documentai_ruby_gapic", -- ":documentai_ruby_grpc", -- ":documentai_ruby_proto", +- ":language_ruby_gapic", +- ":language_ruby_grpc", +- ":language_ruby_proto", - ], -) - @@ -26335,34 +42371,34 @@ diff -urN a/google/cloud/documentai/v1/BUILD.bazel b/google/cloud/documentai/v1/ -) - -csharp_proto_library( -- name = "documentai_csharp_proto", -- deps = [":documentai_proto"], +- name = "language_csharp_proto", +- deps = [":language_proto"], -) - -csharp_grpc_library( -- name = "documentai_csharp_grpc", -- srcs = [":documentai_proto"], -- deps = [":documentai_csharp_proto"], +- name = "language_csharp_grpc", +- srcs = [":language_proto"], +- deps = [":language_csharp_proto"], -) - -csharp_gapic_library( -- name = "documentai_csharp_gapic", -- srcs = [":documentai_proto_with_info"], +- name = "language_csharp_gapic", +- srcs = [":language_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "documentai_v1_grpc_service_config.json", +- grpc_service_config = "language_grpc_service_config.json", - deps = [ -- ":documentai_csharp_grpc", -- ":documentai_csharp_proto", +- ":language_csharp_grpc", +- ":language_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-documentai-v1-csharp", +- name = "google-cloud-language-v1beta2-csharp", - deps = [ -- ":documentai_csharp_gapic", -- ":documentai_csharp_grpc", -- ":documentai_csharp_proto", +- ":language_csharp_gapic", +- ":language_csharp_grpc", +- ":language_csharp_proto", - ], -) - @@ -26370,12 +42406,12 @@ diff -urN a/google/cloud/documentai/v1/BUILD.bazel b/google/cloud/documentai/v1/ -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/documentai/v1beta1/BUILD.bazel b/google/cloud/documentai/v1beta1/BUILD.bazel ---- a/google/cloud/documentai/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/documentai/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,341 +0,0 @@ +diff -urN a/google/cloud/lifesciences/v2beta/BUILD.bazel b/google/cloud/lifesciences/v2beta/BUILD.bazel +--- a/google/cloud/lifesciences/v2beta/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/lifesciences/v2beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,349 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +-# https://github.com/googleapis/rules_gapic/tree/master/bazel - -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: @@ -26395,27 +42431,25 @@ diff -urN a/google/cloud/documentai/v1beta1/BUILD.bazel b/google/cloud/documenta -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "documentai_proto", +- name = "lifesciences_proto", - srcs = [ -- "document.proto", -- "document_understanding.proto", -- "geometry.proto", +- "workflows.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/longrunning:operations_proto", -- "//google/rpc:status_proto", -- "//google/type:color_proto", +- "//google/rpc:code_proto", +- "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "documentai_proto_with_info", +- name = "lifesciences_proto_with_info", - deps = [ -- ":documentai_proto", +- ":lifesciences_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -26433,44 +42467,44 @@ diff -urN a/google/cloud/documentai/v1beta1/BUILD.bazel b/google/cloud/documenta -) - -java_proto_library( -- name = "documentai_java_proto", -- deps = [":documentai_proto"], +- name = "lifesciences_java_proto", +- deps = [":lifesciences_proto"], -) - -java_grpc_library( -- name = "documentai_java_grpc", -- srcs = [":documentai_proto"], -- deps = [":documentai_java_proto"], +- name = "lifesciences_java_grpc", +- srcs = [":lifesciences_proto"], +- deps = [":lifesciences_java_proto"], -) - -java_gapic_library( -- name = "documentai_java_gapic", -- srcs = [":documentai_proto_with_info"], -- grpc_service_config = "documentai_grpc_service_config.json", +- name = "lifesciences_java_gapic", +- srcs = [":lifesciences_proto_with_info"], +- grpc_service_config = "lifesciences_grpc_service_config.json", - test_deps = [ -- ":documentai_java_grpc", +- ":lifesciences_java_grpc", - ], - deps = [ -- ":documentai_java_proto", +- ":lifesciences_java_proto", - ], -) - -java_gapic_test( -- name = "documentai_java_gapic_test_suite", +- name = "lifesciences_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.documentai.v1beta1.DocumentUnderstandingServiceClientTest", +- "com.google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClientTest", - ], -- runtime_deps = [":documentai_java_gapic_test"], +- runtime_deps = [":lifesciences_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-documentai-v1beta1-java", +- name = "google-cloud-lifesciences-v2beta-java", - deps = [ -- ":documentai_java_gapic", -- ":documentai_java_grpc", -- ":documentai_java_proto", -- ":documentai_proto", +- ":lifesciences_java_gapic", +- ":lifesciences_java_grpc", +- ":lifesciences_java_proto", +- ":lifesciences_proto", - ], -) - @@ -26486,46 +42520,48 @@ diff -urN a/google/cloud/documentai/v1beta1/BUILD.bazel b/google/cloud/documenta -) - -go_proto_library( -- name = "documentai_go_proto", +- name = "lifesciences_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta1", -- protos = [":documentai_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/lifesciences/v2beta", +- protos = [":lifesciences_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/longrunning:longrunning_go_proto", -- "//google/rpc:status_go_proto", -- "//google/type:color_go_proto", +- "//google/rpc:code_go_proto", - ], -) - -go_gapic_library( -- name = "documentai_go_gapic", -- srcs = [":documentai_proto_with_info"], -- grpc_service_config = "documentai_grpc_service_config.json", -- importpath = "cloud.google.com/go/documentai/apiv1beta1;documentai", -- service_yaml = "//google/cloud/documentai:documentai_v1beta1.yaml", +- name = "lifesciences_go_gapic", +- srcs = [":lifesciences_proto_with_info"], +- grpc_service_config = "lifesciences_grpc_service_config.json", +- importpath = "cloud.google.com/go/lifesciences/apiv2beta;lifesciences", +- service_yaml = "lifesciences_v2beta.yaml", +- metadata = True, - deps = [ -- ":documentai_go_proto", +- ":lifesciences_go_proto", - "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "documentai_go_gapic_test", -- srcs = [":documentai_go_gapic_srcjar_test"], -- embed = [":documentai_go_gapic"], -- importpath = "cloud.google.com/go/documentai/apiv1beta1", +- name = "lifesciences_go_gapic_test", +- srcs = [":lifesciences_go_gapic_srcjar_test"], +- embed = [":lifesciences_go_gapic"], +- importpath = "cloud.google.com/go/lifesciences/apiv2beta", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-documentai-v1beta1-go", +- name = "gapi-cloud-lifesciences-v2beta-go", - deps = [ -- ":documentai_go_gapic", -- ":documentai_go_gapic_srcjar-test.srcjar", -- ":documentai_go_proto", +- ":lifesciences_go_gapic", +- ":lifesciences_go_gapic_srcjar-test.srcjar", +- ":lifesciences_go_gapic_srcjar-metadata.srcjar", +- ":lifesciences_go_proto", - ], -) - @@ -26539,16 +42575,17 @@ diff -urN a/google/cloud/documentai/v1beta1/BUILD.bazel b/google/cloud/documenta -) - -py_gapic_library( -- name = "documentai_py_gapic", -- srcs = [":documentai_proto"], -- grpc_service_config = "documentai_grpc_service_config.json", +- name = "lifesciences_py_gapic", +- srcs = [":lifesciences_proto"], +- grpc_service_config = "lifesciences_grpc_service_config.json", +- opt_args = ["warehouse-package-name=google-cloud-life-sciences"] -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "documentai-v1beta1-py", +- name = "lifesciences-v2beta-py", - deps = [ -- ":documentai_py_gapic", +- ":lifesciences_py_gapic", - ], -) - @@ -26564,36 +42601,34 @@ diff -urN a/google/cloud/documentai/v1beta1/BUILD.bazel b/google/cloud/documenta -) - -php_proto_library( -- name = "documentai_php_proto", -- deps = [":documentai_proto"], +- name = "lifesciences_php_proto", +- deps = [":lifesciences_proto"], -) - -php_grpc_library( -- name = "documentai_php_grpc", -- srcs = [":documentai_proto"], -- deps = [":documentai_php_proto"], +- name = "lifesciences_php_grpc", +- srcs = [":lifesciences_proto"], +- deps = [":lifesciences_php_proto"], -) - -php_gapic_library( -- name = "documentai_php_gapic", -- src = ":documentai_proto_with_info", -- gapic_yaml = "documentai_gapic.yaml", -- grpc_service_config = "documentai_grpc_service_config.json", -- package = "google.cloud.documentai.v1beta1", -- service_yaml = "//google/cloud/documentai:documentai_v1beta1.yaml", +- name = "lifesciences_php_gapic", +- srcs = [":lifesciences_proto_with_info"], +- grpc_service_config = "lifesciences_grpc_service_config.json", +- service_yaml = "lifesciences_v2beta.yaml", - deps = [ -- ":documentai_php_grpc", -- ":documentai_php_proto", +- ":lifesciences_php_grpc", +- ":lifesciences_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-documentai-v1beta1-php", +- name = "google-cloud-lifesciences-v2beta-php", - deps = [ -- ":documentai_php_gapic", -- ":documentai_php_grpc", -- ":documentai_php_proto", +- ":lifesciences_php_gapic", +- ":lifesciences_php_grpc", +- ":lifesciences_php_proto", - ], -) - @@ -26607,20 +42642,21 @@ diff -urN a/google/cloud/documentai/v1beta1/BUILD.bazel b/google/cloud/documenta -) - -nodejs_gapic_library( -- name = "documentai_nodejs_gapic", -- src = ":documentai_proto_with_info", +- name = "lifesciences_nodejs_gapic", +- package_name = "@google-cloud/lifesciences", +- src = ":lifesciences_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "documentai_grpc_service_config.json", -- package = "google.cloud.documentai.v1beta1", -- service_yaml = "//google/cloud/documentai:documentai_v1beta1.yaml", +- grpc_service_config = "lifesciences_grpc_service_config.json", +- package = "google.cloud.lifesciences.v2beta", +- service_yaml = "lifesciences_v2beta.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "documentai-v1beta1-nodejs", +- name = "lifesciences-v2beta-nodejs", - deps = [ -- ":documentai_nodejs_gapic", -- ":documentai_proto", +- ":lifesciences_nodejs_gapic", +- ":lifesciences_proto", - ], -) - @@ -26630,41 +42666,49 @@ diff -urN a/google/cloud/documentai/v1beta1/BUILD.bazel b/google/cloud/documenta -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "documentai_ruby_proto", -- deps = [":documentai_proto"], +- name = "lifesciences_ruby_proto", +- deps = [":lifesciences_proto"], -) - -ruby_grpc_library( -- name = "documentai_ruby_grpc", -- srcs = [":documentai_proto"], -- deps = [":documentai_ruby_proto"], +- name = "lifesciences_ruby_grpc", +- srcs = [":lifesciences_proto"], +- deps = [":lifesciences_ruby_proto"], -) - --ruby_gapic_library( -- name = "documentai_ruby_gapic", -- src = ":documentai_proto_with_info", -- gapic_yaml = "documentai_gapic.yaml", -- package = "google.cloud.documentai.v1beta1", -- service_yaml = "//google/cloud/documentai:documentai_v1beta1.yaml", +-ruby_cloud_gapic_library( +- name = "lifesciences_ruby_gapic", +- srcs = [":lifesciences_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-life_sciences-v2beta", +- "ruby-cloud-env-prefix=LIFE_SCIENCES", +- "ruby-cloud-product-url=https://cloud.google.com/life-sciences/", +- "ruby-cloud-api-id=lifesciences.googleapis.com", +- "ruby-cloud-api-shortname=lifesciences", +- "ruby-cloud-service-override=WorkflowsServiceV2Beta=WorkflowsService", +- ], +- grpc_service_config = "lifesciences_grpc_service_config.json", +- ruby_cloud_description = "Cloud Life Sciences is a suite of services and tools for managing, processing, and transforming life sciences data. It also enables advanced insights and operational workflows using highly scalable and compliant infrastructure.", +- ruby_cloud_title = "Cloud Life Sciences V2beta", - deps = [ -- ":documentai_ruby_grpc", -- ":documentai_ruby_proto", +- ":lifesciences_ruby_grpc", +- ":lifesciences_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-documentai-v1beta1-ruby", +- name = "google-cloud-lifesciences-v2beta-ruby", - deps = [ -- ":documentai_ruby_gapic", -- ":documentai_ruby_grpc", -- ":documentai_ruby_proto", +- ":lifesciences_ruby_gapic", +- ":lifesciences_ruby_grpc", +- ":lifesciences_ruby_proto", - ], -) - @@ -26680,34 +42724,34 @@ diff -urN a/google/cloud/documentai/v1beta1/BUILD.bazel b/google/cloud/documenta -) - -csharp_proto_library( -- name = "documentai_csharp_proto", -- deps = [":documentai_proto"], +- name = "lifesciences_csharp_proto", +- deps = [":lifesciences_proto"], -) - -csharp_grpc_library( -- name = "documentai_csharp_grpc", -- srcs = [":documentai_proto"], -- deps = [":documentai_csharp_proto"], +- name = "lifesciences_csharp_grpc", +- srcs = [":lifesciences_proto"], +- deps = [":lifesciences_csharp_proto"], -) - -csharp_gapic_library( -- name = "documentai_csharp_gapic", -- srcs = [":documentai_proto_with_info"], +- name = "lifesciences_csharp_gapic", +- srcs = [":lifesciences_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "documentai_grpc_service_config.json", +- grpc_service_config = "lifesciences_grpc_service_config.json", - deps = [ -- ":documentai_csharp_grpc", -- ":documentai_csharp_proto", +- ":lifesciences_csharp_grpc", +- ":lifesciences_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-documentai-v1beta1-csharp", +- name = "google-cloud-lifesciences-v2beta-csharp", - deps = [ -- ":documentai_csharp_gapic", -- ":documentai_csharp_grpc", -- ":documentai_csharp_proto", +- ":lifesciences_csharp_gapic", +- ":lifesciences_csharp_grpc", +- ":lifesciences_csharp_proto", - ], -) - @@ -26715,20 +42759,11 @@ diff -urN a/google/cloud/documentai/v1beta1/BUILD.bazel b/google/cloud/documenta -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/documentai/v1beta2/BUILD.bazel b/google/cloud/documentai/v1beta2/BUILD.bazel ---- a/google/cloud/documentai/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/documentai/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,342 +0,0 @@ +diff -urN a/google/cloud/location/BUILD.bazel b/google/cloud/location/BUILD.bazel +--- a/google/cloud/location/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/location/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,165 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel -- --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -26737,31 +42772,16 @@ diff -urN a/google/cloud/documentai/v1beta2/BUILD.bazel b/google/cloud/documenta -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") --load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "documentai_proto", +- name = "location_proto", - srcs = [ -- "document.proto", -- "document_understanding.proto", -- "geometry.proto", +- "locations.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", -- "//google/api:field_behavior_proto", -- "//google/longrunning:operations_proto", -- "//google/rpc:status_proto", -- "//google/type:color_proto", -- "@com_google_protobuf//:timestamp_proto", -- ], --) -- --proto_library_with_info( -- name = "documentai_proto_with_info", -- deps = [ -- ":documentai_proto", -- "//google/cloud:common_resources_proto", +- "@com_google_protobuf//:any_proto", - ], -) - @@ -26770,53 +42790,19 @@ diff -urN a/google/cloud/documentai/v1beta2/BUILD.bazel b/google/cloud/documenta -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "documentai_java_proto", -- deps = [":documentai_proto"], +- name = "location_java_proto", +- deps = [":location_proto"], -) - -java_grpc_library( -- name = "documentai_java_grpc", -- srcs = [":documentai_proto"], -- deps = [":documentai_java_proto"], --) -- --java_gapic_library( -- name = "documentai_java_gapic", -- srcs = [":documentai_proto_with_info"], -- grpc_service_config = "documentai_v1beta2_grpc_service_config.json", -- test_deps = [ -- ":documentai_java_grpc", -- ], -- deps = [ -- ":documentai_java_proto", -- ], --) -- --java_gapic_test( -- name = "documentai_java_gapic_test_suite", -- test_classes = [ -- "com.google.cloud.documentai.v1beta2.DocumentUnderstandingServiceClientTest", -- ], -- runtime_deps = [":documentai_java_gapic_test"], --) -- --# Open Source Packages --java_gapic_assembly_gradle_pkg( -- name = "google-cloud-documentai-v1beta2-java", -- deps = [ -- ":documentai_java_gapic", -- ":documentai_java_grpc", -- ":documentai_java_proto", -- ":documentai_proto", -- ], +- name = "location_java_grpc", +- srcs = [":location_proto"], +- deps = [":location_java_proto"], -) - -############################################################################## @@ -26824,53 +42810,16 @@ diff -urN a/google/cloud/documentai/v1beta2/BUILD.bazel b/google/cloud/documenta -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "go_gapic_assembly_pkg", -- "go_gapic_library", - "go_proto_library", -- "go_test", -) - -go_proto_library( -- name = "documentai_go_proto", +- name = "location_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta2", -- protos = [":documentai_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/location", +- protos = [":location_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "//google/rpc:status_go_proto", -- "//google/type:color_go_proto", -- ], --) -- --go_gapic_library( -- name = "documentai_go_gapic", -- srcs = [":documentai_proto_with_info"], -- grpc_service_config = "documentai_v1beta2_grpc_service_config.json", -- importpath = "cloud.google.com/go/documentai/apiv1beta2;documentai", -- service_yaml = "documentai_v1beta2.yaml", -- deps = [ -- ":documentai_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", -- ], --) -- --go_test( -- name = "documentai_go_gapic_test", -- srcs = [":documentai_go_gapic_srcjar_test"], -- embed = [":documentai_go_gapic"], -- importpath = "cloud.google.com/go/documentai/apiv1beta2", --) -- --# Open Source Packages --go_gapic_assembly_pkg( -- name = "gapi-cloud-documentai-v1beta2-go", -- deps = [ -- ":documentai_go_gapic", -- ":documentai_go_gapic_srcjar-test.srcjar", -- ":documentai_go_proto", - ], -) - @@ -26879,67 +42828,50 @@ diff -urN a/google/cloud/documentai/v1beta2/BUILD.bazel b/google/cloud/documenta -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "py_gapic_assembly_pkg", -- "py_gapic_library", --) -- --py_gapic_library( -- name = "documentai_py_gapic", -- srcs = [":documentai_proto"], -- grpc_service_config = "documentai_v1beta2_grpc_service_config.json", +- "moved_proto_library", +- "py_grpc_library", +- "py_proto_library", -) - --# Open Source Packages --py_gapic_assembly_pkg( -- name = "documentai-v1beta2-py", +-moved_proto_library( +- name = "location_moved_proto", +- srcs = [":location_proto"], - deps = [ -- ":documentai_py_gapic", +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "@com_google_protobuf//:any_proto", - ], -) - +-py_proto_library( +- name = "location_py_proto", +- deps = [":location_moved_proto"], +-) +- +-py_grpc_library( +- name = "location_py_grpc", +- srcs = [":location_moved_proto"], +- deps = [":location_py_proto"], +-) +- -############################################################################## -# PHP -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "php_gapic_assembly_pkg", -- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "documentai_php_proto", -- deps = [":documentai_proto"], +- name = "location_php_proto", +- deps = [":location_proto"], -) - -php_grpc_library( -- name = "documentai_php_grpc", -- srcs = [":documentai_proto"], -- deps = [":documentai_php_proto"], --) -- --php_gapic_library( -- name = "documentai_php_gapic", -- src = ":documentai_proto_with_info", -- gapic_yaml = "documentai_gapic.yaml", -- grpc_service_config = "documentai_v1beta2_grpc_service_config.json", -- package = "google.cloud.documentai.v1beta2", -- service_yaml = "documentai_v1beta2.yaml", -- deps = [ -- ":documentai_php_grpc", -- ":documentai_php_proto", -- ], --) -- --# Open Source Packages --php_gapic_assembly_pkg( -- name = "google-cloud-documentai-v1beta2-php", -- deps = [ -- ":documentai_php_gapic", -- ":documentai_php_grpc", -- ":documentai_php_proto", -- ], +- name = "location_php_grpc", +- srcs = [":location_proto"], +- deps = [":location_php_proto"], -) - -############################################################################## @@ -26951,67 +42883,25 @@ diff -urN a/google/cloud/documentai/v1beta2/BUILD.bazel b/google/cloud/documenta - "nodejs_gapic_library", -) - --nodejs_gapic_library( -- name = "documentai_nodejs_gapic", -- package_name = "@google-cloud/documentai", -- src = ":documentai_proto_with_info", -- extra_protoc_parameters = ["metadata"], -- grpc_service_config = "documentai_v1beta2_grpc_service_config.json", -- package = "google.cloud.documentai.v1beta2", -- service_yaml = "documentai_v1beta2.yaml", -- deps = [], --) -- --nodejs_gapic_assembly_pkg( -- name = "documentai-v1beta2-nodejs", -- deps = [ -- ":documentai_nodejs_gapic", -- ":documentai_proto", -- ], --) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "documentai_ruby_proto", -- deps = [":documentai_proto"], +- name = "location_ruby_proto", +- deps = [":location_proto"], -) - -ruby_grpc_library( -- name = "documentai_ruby_grpc", -- srcs = [":documentai_proto"], -- deps = [":documentai_ruby_proto"], --) -- --ruby_gapic_library( -- name = "documentai_ruby_gapic", -- src = ":documentai_proto_with_info", -- gapic_yaml = "documentai_gapic.yaml", -- package = "google.cloud.documentai.v1beta2", -- service_yaml = "documentai_v1beta2.yaml", -- deps = [ -- ":documentai_ruby_grpc", -- ":documentai_ruby_proto", -- ], --) -- --# Open Source Packages --ruby_gapic_assembly_pkg( -- name = "google-cloud-documentai-v1beta2-ruby", -- deps = [ -- ":documentai_ruby_gapic", -- ":documentai_ruby_grpc", -- ":documentai_ruby_proto", -- ], +- name = "location_ruby_grpc", +- srcs = [":location_proto"], +- deps = [":location_ruby_proto"], -) - -############################################################################## @@ -27019,52 +42909,29 @@ diff -urN a/google/cloud/documentai/v1beta2/BUILD.bazel b/google/cloud/documenta -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "documentai_csharp_proto", -- deps = [":documentai_proto"], +- name = "location_csharp_proto", +- deps = [":location_proto"], -) - -csharp_grpc_library( -- name = "documentai_csharp_grpc", -- srcs = [":documentai_proto"], -- deps = [":documentai_csharp_proto"], --) -- --csharp_gapic_library( -- name = "documentai_csharp_gapic", -- srcs = [":documentai_proto_with_info"], -- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "documentai_v1beta2_grpc_service_config.json", -- deps = [ -- ":documentai_csharp_grpc", -- ":documentai_csharp_proto", -- ], --) -- --# Open Source Packages --csharp_gapic_assembly_pkg( -- name = "google-cloud-documentai-v1beta2-csharp", -- deps = [ -- ":documentai_csharp_gapic", -- ":documentai_csharp_grpc", -- ":documentai_csharp_proto", -- ], +- name = "location_csharp_grpc", +- srcs = [":location_proto"], +- deps = [":location_csharp_proto"], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ rules here -diff -urN a/google/cloud/documentai/v1beta3/BUILD.bazel b/google/cloud/documentai/v1beta3/BUILD.bazel ---- a/google/cloud/documentai/v1beta3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/documentai/v1beta3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,361 +0,0 @@ +-# Put your C++ code here +diff -urN a/google/cloud/managedidentities/v1/BUILD.bazel b/google/cloud/managedidentities/v1/BUILD.bazel +--- a/google/cloud/managedidentities/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/managedidentities/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,344 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - @@ -27086,12 +42953,10 @@ diff -urN a/google/cloud/documentai/v1beta3/BUILD.bazel b/google/cloud/documenta -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "documentai_proto", +- name = "managedidentities_proto", - srcs = [ -- "document.proto", -- "document_io.proto", -- "document_processor_service.proto", -- "geometry.proto", +- "managed_identities_service.proto", +- "resource.proto", - ], - deps = [ - "//google/api:annotations_proto", @@ -27099,21 +42964,15 @@ diff -urN a/google/cloud/documentai/v1beta3/BUILD.bazel b/google/cloud/documenta - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "//google/longrunning:operations_proto", -- "//google/rpc:status_proto", -- "//google/type:color_proto", -- "//google/type:date_proto", -- "//google/type:datetime_proto", -- "//google/type:money_proto", -- "//google/type:postal_address_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "documentai_proto_with_info", +- name = "managedidentities_proto_with_info", - deps = [ -- ":documentai_proto", +- ":managedidentities_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -27131,44 +42990,44 @@ diff -urN a/google/cloud/documentai/v1beta3/BUILD.bazel b/google/cloud/documenta -) - -java_proto_library( -- name = "documentai_java_proto", -- deps = [":documentai_proto"], +- name = "managedidentities_java_proto", +- deps = [":managedidentities_proto"], -) - -java_grpc_library( -- name = "documentai_java_grpc", -- srcs = [":documentai_proto"], -- deps = [":documentai_java_proto"], +- name = "managedidentities_java_grpc", +- srcs = [":managedidentities_proto"], +- deps = [":managedidentities_java_proto"], -) - -java_gapic_library( -- name = "documentai_java_gapic", -- srcs = [":documentai_proto_with_info"], -- grpc_service_config = "documentai_v1beta3_grpc_service_config.json", +- name = "managedidentities_java_gapic", +- srcs = [":managedidentities_proto_with_info"], +- grpc_service_config = "managedidentities_grpc_service_config.json", - test_deps = [ -- ":documentai_java_grpc", +- ":managedidentities_java_grpc", - ], - deps = [ -- ":documentai_java_proto", +- ":managedidentities_java_proto", - ], -) - -java_gapic_test( -- name = "documentai_java_gapic_test_suite", +- name = "managedidentities_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.documentai.v1beta3.DocumentProcessorServiceClientTest", +- "com.google.cloud.managedidentities.v1.ManagedIdentitiesServiceClientTest", - ], -- runtime_deps = [":documentai_java_gapic_test"], +- runtime_deps = [":managedidentities_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-documentai-v1beta3-java", +- name = "google-cloud-managedidentities-v1-java", - deps = [ -- ":documentai_java_gapic", -- ":documentai_java_grpc", -- ":documentai_java_proto", -- ":documentai_proto", +- ":managedidentities_java_gapic", +- ":managedidentities_java_grpc", +- ":managedidentities_java_proto", +- ":managedidentities_proto", - ], -) - @@ -27184,30 +43043,24 @@ diff -urN a/google/cloud/documentai/v1beta3/BUILD.bazel b/google/cloud/documenta -) - -go_proto_library( -- name = "documentai_go_proto", +- name = "managedidentities_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta3", -- protos = [":documentai_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/managedidentities/v1", +- protos = [":managedidentities_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/longrunning:longrunning_go_proto", -- "//google/rpc:status_go_proto", -- "//google/type:color_go_proto", -- "//google/type:date_go_proto", -- "//google/type:datetime_go_proto", -- "//google/type:money_go_proto", -- "//google/type:postaladdress_go_proto", - ], -) - -go_gapic_library( -- name = "documentai_go_gapic", -- srcs = [":documentai_proto_with_info"], -- grpc_service_config = "documentai_v1beta3_grpc_service_config.json", -- importpath = "cloud.google.com/go/documentai/apiv1beta3;documentai", -- service_yaml = "documentai_v1beta3.yaml", +- name = "managedidentities_go_gapic", +- srcs = [":managedidentities_proto_with_info"], +- grpc_service_config = "managedidentities_grpc_service_config.json", +- importpath = "cloud.google.com/go/managedidentities/apiv1;managedidentities", +- service_yaml = "managedidentities_v1.yaml", - deps = [ -- ":documentai_go_proto", +- ":managedidentities_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", @@ -27215,19 +43068,19 @@ diff -urN a/google/cloud/documentai/v1beta3/BUILD.bazel b/google/cloud/documenta -) - -go_test( -- name = "documentai_go_gapic_test", -- srcs = [":documentai_go_gapic_srcjar_test"], -- embed = [":documentai_go_gapic"], -- importpath = "cloud.google.com/go/documentai/apiv1beta3", +- name = "managedidentities_go_gapic_test", +- srcs = [":managedidentities_go_gapic_srcjar_test"], +- embed = [":managedidentities_go_gapic"], +- importpath = "cloud.google.com/go/managedidentities/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-documentai-v1beta3-go", +- name = "gapi-cloud-managedidentities-v1-go", - deps = [ -- ":documentai_go_gapic", -- ":documentai_go_gapic_srcjar-test.srcjar", -- ":documentai_go_proto", +- ":managedidentities_go_gapic", +- ":managedidentities_go_gapic_srcjar-test.srcjar", +- ":managedidentities_go_proto", - ], -) - @@ -27241,16 +43094,17 @@ diff -urN a/google/cloud/documentai/v1beta3/BUILD.bazel b/google/cloud/documenta -) - -py_gapic_library( -- name = "documentai_py_gapic", -- srcs = [":documentai_proto"], -- grpc_service_config = "documentai_v1beta3_grpc_service_config.json", +- name = "managedidentities_py_gapic", +- srcs = [":managedidentities_proto"], +- grpc_service_config = "managedidentities_grpc_service_config.json", +- opt_args = ["warehouse-package-name=google-cloud-managed-identities"] -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "documentai-v1beta3-py", +- name = "managedidentities-v1-py", - deps = [ -- ":documentai_py_gapic", +- ":managedidentities_py_gapic", - ], -) - @@ -27266,36 +43120,33 @@ diff -urN a/google/cloud/documentai/v1beta3/BUILD.bazel b/google/cloud/documenta -) - -php_proto_library( -- name = "documentai_php_proto", -- deps = [":documentai_proto"], +- name = "managedidentities_php_proto", +- deps = [":managedidentities_proto"], -) - -php_grpc_library( -- name = "documentai_php_grpc", -- srcs = [":documentai_proto"], -- deps = [":documentai_php_proto"], +- name = "managedidentities_php_grpc", +- srcs = [":managedidentities_proto"], +- deps = [":managedidentities_php_proto"], -) - -php_gapic_library( -- name = "documentai_php_gapic", -- src = ":documentai_proto_with_info", -- gapic_yaml = "documentai_gapic.yaml", -- grpc_service_config = "documentai_v1beta3_grpc_service_config.json", -- package = "google.cloud.documentai.v1beta3", -- service_yaml = "documentai_v1beta3.yaml", +- name = "managedidentities_php_gapic", +- srcs = [":managedidentities_proto_with_info"], +- grpc_service_config = "managedidentities_grpc_service_config.json", - deps = [ -- ":documentai_php_grpc", -- ":documentai_php_proto", +- ":managedidentities_php_grpc", +- ":managedidentities_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-documentai-v1beta3-php", +- name = "google-cloud-managedidentities-v1-php", - deps = [ -- ":documentai_php_gapic", -- ":documentai_php_grpc", -- ":documentai_php_proto", +- ":managedidentities_php_gapic", +- ":managedidentities_php_grpc", +- ":managedidentities_php_proto", - ], -) - @@ -27309,21 +43160,21 @@ diff -urN a/google/cloud/documentai/v1beta3/BUILD.bazel b/google/cloud/documenta -) - -nodejs_gapic_library( -- name = "documentai_nodejs_gapic", -- package_name = "@google-cloud/documentai", -- src = ":documentai_proto_with_info", +- name = "managedidentities_nodejs_gapic", +- package_name = "@google-cloud/managed-identities", +- src = ":managedidentities_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "documentai_v1beta3_grpc_service_config.json", -- package = "google.cloud.documentai.v1beta3", -- service_yaml = "documentai_v1beta3.yaml", +- grpc_service_config = "managedidentities_grpc_service_config.json", +- package = "google.cloud.managedidentities.v1", +- service_yaml = "managedidentities_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "documentai-v1beta3-nodejs", +- name = "managedidentities-v1-nodejs", - deps = [ -- ":documentai_nodejs_gapic", -- ":documentai_proto", +- ":managedidentities_nodejs_gapic", +- ":managedidentities_proto", - ], -) - @@ -27332,50 +43183,49 @@ diff -urN a/google/cloud/documentai/v1beta3/BUILD.bazel b/google/cloud/documenta -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "documentai_ruby_proto", -- deps = [":documentai_proto"], +- name = "managedidentities_ruby_proto", +- deps = [":managedidentities_proto"], -) - -ruby_grpc_library( -- name = "documentai_ruby_grpc", -- srcs = [":documentai_proto"], -- deps = [":documentai_ruby_proto"], +- name = "managedidentities_ruby_grpc", +- srcs = [":managedidentities_proto"], +- deps = [":managedidentities_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "documentai_ruby_gapic", -- srcs = [":documentai_proto_with_info"], +- name = "managedidentities_ruby_gapic", +- srcs = [":managedidentities_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-document_ai-v1beta3", -- "ruby-cloud-env-prefix=DOCUMENT_AI", -- "ruby-cloud-product-url=https://cloud.google.com/document-ai/", -- "ruby-cloud-api-id=us-documentai.googleapis.com", -- "ruby-cloud-api-shortname=documentai", -- "ruby-cloud-namespace-override=DocumentAi=DocumentAI", +- "ruby-cloud-gem-name=google-cloud-managed_identities-v1", +- "ruby-cloud-env-prefix=MANAGED_IDENTITIES", +- "ruby-cloud-product-url=https://cloud.google.com/managed-microsoft-ad/", +- "ruby-cloud-api-id=managedidentities.googleapis.com", +- "ruby-cloud-api-shortname=managedidentities", - ], -- grpc_service_config = "documentai_v1beta3_grpc_service_config.json", -- ruby_cloud_description = "Document AI uses machine learning on a single cloud-based platform to automatically classify, extract, and enrich data within your documents to unlock insights.", -- ruby_cloud_title = "Document AI V1beta3", +- grpc_service_config = "managedidentities_grpc_service_config.json", +- ruby_cloud_description = "The Managed Service for Microsoft Active Directory API is used for managing a highly available, hardened service running Microsoft Active Directory.", +- ruby_cloud_title = "Managed Service for Microsoft Active Directory API V1", - deps = [ -- ":documentai_ruby_grpc", -- ":documentai_ruby_proto", +- ":managedidentities_ruby_grpc", +- ":managedidentities_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-documentai-v1beta3-ruby", +- name = "google-cloud-managedidentities-v1-ruby", - deps = [ -- ":documentai_ruby_gapic", -- ":documentai_ruby_grpc", -- ":documentai_ruby_proto", +- ":managedidentities_ruby_gapic", +- ":managedidentities_ruby_grpc", +- ":managedidentities_ruby_proto", - ], -) - @@ -27391,34 +43241,34 @@ diff -urN a/google/cloud/documentai/v1beta3/BUILD.bazel b/google/cloud/documenta -) - -csharp_proto_library( -- name = "documentai_csharp_proto", -- deps = [":documentai_proto"], +- name = "managedidentities_csharp_proto", +- deps = [":managedidentities_proto"], -) - -csharp_grpc_library( -- name = "documentai_csharp_grpc", -- srcs = [":documentai_proto"], -- deps = [":documentai_csharp_proto"], +- name = "managedidentities_csharp_grpc", +- srcs = [":managedidentities_proto"], +- deps = [":managedidentities_csharp_proto"], -) - -csharp_gapic_library( -- name = "documentai_csharp_gapic", -- srcs = [":documentai_proto_with_info"], +- name = "managedidentities_csharp_gapic", +- srcs = [":managedidentities_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "documentai_v1beta3_grpc_service_config.json", +- grpc_service_config = "managedidentities_grpc_service_config.json", - deps = [ -- ":documentai_csharp_grpc", -- ":documentai_csharp_proto", +- ":managedidentities_csharp_grpc", +- ":managedidentities_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-documentai-v1beta3-csharp", +- name = "google-cloud-managedidentities-v1-csharp", - deps = [ -- ":documentai_csharp_gapic", -- ":documentai_csharp_grpc", -- ":documentai_csharp_proto", +- ":managedidentities_csharp_gapic", +- ":managedidentities_csharp_grpc", +- ":managedidentities_csharp_proto", - ], -) - @@ -27426,10 +43276,10 @@ diff -urN a/google/cloud/documentai/v1beta3/BUILD.bazel b/google/cloud/documenta -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/domains/v1alpha2/BUILD.bazel b/google/cloud/domains/v1alpha2/BUILD.bazel ---- a/google/cloud/domains/v1alpha2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/domains/v1alpha2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,344 +0,0 @@ +diff -urN a/google/cloud/managedidentities/v1beta1/BUILD.bazel b/google/cloud/managedidentities/v1beta1/BUILD.bazel +--- a/google/cloud/managedidentities/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/managedidentities/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,332 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - @@ -27451,27 +43301,25 @@ diff -urN a/google/cloud/domains/v1alpha2/BUILD.bazel b/google/cloud/domains/v1a -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "domains_proto", +- name = "managedidentities_proto", - srcs = [ -- "domains.proto", +- "managed_identities_service.proto", +- "resource.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/api:resource_proto", - "//google/longrunning:operations_proto", -- "//google/type:money_proto", -- "//google/type:postal_address_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "domains_proto_with_info", +- name = "managedidentities_proto_with_info", - deps = [ -- ":domains_proto", +- ":managedidentities_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -27489,45 +43337,44 @@ diff -urN a/google/cloud/domains/v1alpha2/BUILD.bazel b/google/cloud/domains/v1a -) - -java_proto_library( -- name = "domains_java_proto", -- deps = [":domains_proto"], +- name = "managedidentities_java_proto", +- deps = [":managedidentities_proto"], -) - -java_grpc_library( -- name = "domains_java_grpc", -- srcs = [":domains_proto"], -- deps = [":domains_java_proto"], +- name = "managedidentities_java_grpc", +- srcs = [":managedidentities_proto"], +- deps = [":managedidentities_java_proto"], -) - -java_gapic_library( -- name = "domains_java_gapic", -- srcs = [":domains_proto_with_info"], -- grpc_service_config = "domains_grpc_service_config.json", +- name = "managedidentities_java_gapic", +- srcs = [":managedidentities_proto_with_info"], +- grpc_service_config = "managedidentities_grpc_service_config.json", - test_deps = [ -- ":domains_java_grpc", +- ":managedidentities_java_grpc", - ], - deps = [ -- ":domains_java_proto", -- "//google/type:type_java_proto", +- ":managedidentities_java_proto", - ], -) - -java_gapic_test( -- name = "domains_java_gapic_test_suite", +- name = "managedidentities_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.domains.v1alpha2.DomainsClientTest", +- "com.google.cloud.managedidentities.v1beta1.ManagedIdentitiesServiceClientTest", - ], -- runtime_deps = [":domains_java_gapic_test"], +- runtime_deps = [":managedidentities_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-domains-v1alpha2-java", +- name = "google-cloud-managedidentities-v1beta1-java", - deps = [ -- ":domains_java_gapic", -- ":domains_java_grpc", -- ":domains_java_proto", -- ":domains_proto", +- ":managedidentities_java_gapic", +- ":managedidentities_java_grpc", +- ":managedidentities_java_proto", +- ":managedidentities_proto", - ], -) - @@ -27543,26 +43390,24 @@ diff -urN a/google/cloud/domains/v1alpha2/BUILD.bazel b/google/cloud/domains/v1a -) - -go_proto_library( -- name = "domains_go_proto", +- name = "managedidentities_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/domains/v1alpha2", -- protos = [":domains_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/managedidentities/v1beta1", +- protos = [":managedidentities_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/longrunning:longrunning_go_proto", -- "//google/type:money_go_proto", -- "//google/type:postaladdress_go_proto", - ], -) - -go_gapic_library( -- name = "domains_go_gapic", -- srcs = [":domains_proto_with_info"], -- grpc_service_config = "domains_grpc_service_config.json", -- importpath = "cloud.google.com/go/domains/apiv1alpha2;domains", -- service_yaml = "domains_v1alpha2.yaml", +- name = "managedidentities_go_gapic", +- srcs = [":managedidentities_proto_with_info"], +- grpc_service_config = "", +- importpath = "cloud.google.com/go/managedidentities/apiv1beta1;managedidentities", +- service_yaml = "managedidentities_v1beta1.yaml", - deps = [ -- ":domains_go_proto", +- ":managedidentities_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", @@ -27570,19 +43415,19 @@ diff -urN a/google/cloud/domains/v1alpha2/BUILD.bazel b/google/cloud/domains/v1a -) - -go_test( -- name = "domains_go_gapic_test", -- srcs = [":domains_go_gapic_srcjar_test"], -- embed = [":domains_go_gapic"], -- importpath = "cloud.google.com/go/domains/apiv1alpha2", +- name = "managedidentities_go_gapic_test", +- srcs = [":managedidentities_go_gapic_srcjar_test"], +- embed = [":managedidentities_go_gapic"], +- importpath = "cloud.google.com/go/managedidentities/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-domains-v1alpha2-go", +- name = "gapi-cloud-managedidentities-v1beta1-go", - deps = [ -- ":domains_go_gapic", -- ":domains_go_gapic_srcjar-test.srcjar", -- ":domains_go_proto", +- ":managedidentities_go_gapic", +- ":managedidentities_go_gapic_srcjar-test.srcjar", +- ":managedidentities_go_proto", - ], -) - @@ -27596,16 +43441,16 @@ diff -urN a/google/cloud/domains/v1alpha2/BUILD.bazel b/google/cloud/domains/v1a -) - -py_gapic_library( -- name = "domains_py_gapic", -- srcs = [":domains_proto"], -- grpc_service_config = "domains_grpc_service_config.json", +- name = "managedidentities_py_gapic", +- srcs = [":managedidentities_proto"], +- grpc_service_config = "managedidentities_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "domains-v1alpha2-py", +- name = "managedidentities-v1beta1-py", - deps = [ -- ":domains_py_gapic", +- ":managedidentities_py_gapic", - ], -) - @@ -27621,36 +43466,33 @@ diff -urN a/google/cloud/domains/v1alpha2/BUILD.bazel b/google/cloud/domains/v1a -) - -php_proto_library( -- name = "domains_php_proto", -- deps = [":domains_proto"], +- name = "managedidentities_php_proto", +- deps = [":managedidentities_proto"], -) - -php_grpc_library( -- name = "domains_php_grpc", -- srcs = [":domains_proto"], -- deps = [":domains_php_proto"], +- name = "managedidentities_php_grpc", +- srcs = [":managedidentities_proto"], +- deps = [":managedidentities_php_proto"], -) - -php_gapic_library( -- name = "domains_php_gapic", -- src = ":domains_proto_with_info", -- gapic_yaml = "domains_gapic.yaml", -- grpc_service_config = "domains_grpc_service_config.json", -- package = "google.cloud.domains.v1alpha2", -- service_yaml = "domains_v1alpha2.yaml", +- name = "managedidentities_php_gapic", +- srcs = [":managedidentities_proto_with_info"], +- grpc_service_config = "managedidentities_grpc_service_config.json", - deps = [ -- ":domains_php_grpc", -- ":domains_php_proto", +- ":managedidentities_php_grpc", +- ":managedidentities_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-domains-v1alpha2-php", +- name = "google-cloud-managedidentities-v1beta1-php", - deps = [ -- ":domains_php_gapic", -- ":domains_php_grpc", -- ":domains_php_proto", +- ":managedidentities_php_gapic", +- ":managedidentities_php_grpc", +- ":managedidentities_php_proto", - ], -) - @@ -27664,21 +43506,21 @@ diff -urN a/google/cloud/domains/v1alpha2/BUILD.bazel b/google/cloud/domains/v1a -) - -nodejs_gapic_library( -- name = "domains_nodejs_gapic", -- src = ":domains_proto_with_info", +- name = "managedidentities_nodejs_gapic", +- package_name = "@google-cloud/managed-identities", +- src = ":managedidentities_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "domains_grpc_service_config.json", -- package = "google.cloud.domains.v1alpha2", -- package_name = "@google-cloud/domains", -- service_yaml = "domains_v1alpha2.yaml", +- grpc_service_config = None, +- package = "google.cloud.managedidentities.v1beta1", +- service_yaml = "managedidentities_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "domains-v1alpha2-nodejs", +- name = "managedidentities-v1beta1-nodejs", - deps = [ -- ":domains_nodejs_gapic", -- ":domains_proto", +- ":managedidentities_nodejs_gapic", +- ":managedidentities_proto", - ], -) - @@ -27688,42 +43530,39 @@ diff -urN a/google/cloud/domains/v1alpha2/BUILD.bazel b/google/cloud/domains/v1a -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "domains_ruby_proto", -- deps = [":domains_proto"], +- name = "managedidentities_ruby_proto", +- deps = [":managedidentities_proto"], -) - -ruby_grpc_library( -- name = "domains_ruby_grpc", -- srcs = [":domains_proto"], -- deps = [":domains_ruby_proto"], +- name = "managedidentities_ruby_grpc", +- srcs = [":managedidentities_proto"], +- deps = [":managedidentities_ruby_proto"], -) - --ruby_gapic_library( -- name = "domains_ruby_gapic", -- src = ":domains_proto_with_info", -- gapic_yaml = "domains_gapic.yaml", -- grpc_service_config = "domains_grpc_service_config.json", -- package = "google.cloud.domains.v1alpha2", -- service_yaml = "domains_v1alpha2.yaml", +-ruby_cloud_gapic_library( +- name = "managedidentities_ruby_gapic", +- srcs = [":managedidentities_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-managedidentities-v1beta1"], - deps = [ -- ":domains_ruby_grpc", -- ":domains_ruby_proto", +- ":managedidentities_ruby_grpc", +- ":managedidentities_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-domains-v1alpha2-ruby", +- name = "google-cloud-managedidentities-v1beta1-ruby", - deps = [ -- ":domains_ruby_gapic", -- ":domains_ruby_grpc", -- ":domains_ruby_proto", +- ":managedidentities_ruby_gapic", +- ":managedidentities_ruby_grpc", +- ":managedidentities_ruby_proto", - ], -) - @@ -27739,34 +43578,33 @@ diff -urN a/google/cloud/domains/v1alpha2/BUILD.bazel b/google/cloud/domains/v1a -) - -csharp_proto_library( -- name = "domains_csharp_proto", -- deps = [":domains_proto"], +- name = "managedidentities_csharp_proto", +- deps = [":managedidentities_proto"], -) - -csharp_grpc_library( -- name = "domains_csharp_grpc", -- srcs = [":domains_proto"], -- deps = [":domains_csharp_proto"], +- name = "managedidentities_csharp_grpc", +- srcs = [":managedidentities_proto"], +- deps = [":managedidentities_csharp_proto"], -) - -csharp_gapic_library( -- name = "domains_csharp_gapic", -- srcs = [":domains_proto_with_info"], +- name = "managedidentities_csharp_gapic", +- srcs = [":managedidentities_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "domains_grpc_service_config.json", - deps = [ -- ":domains_csharp_grpc", -- ":domains_csharp_proto", +- ":managedidentities_csharp_grpc", +- ":managedidentities_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-domains-v1alpha2-csharp", +- name = "google-cloud-managedidentities-v1beta1-csharp", - deps = [ -- ":domains_csharp_gapic", -- ":domains_csharp_grpc", -- ":domains_csharp_proto", +- ":managedidentities_csharp_gapic", +- ":managedidentities_csharp_grpc", +- ":managedidentities_csharp_proto", - ], -) - @@ -27774,20 +43612,11 @@ diff -urN a/google/cloud/domains/v1alpha2/BUILD.bazel b/google/cloud/domains/v1a -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/domains/v1beta1/BUILD.bazel b/google/cloud/domains/v1beta1/BUILD.bazel ---- a/google/cloud/domains/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/domains/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,350 +0,0 @@ +diff -urN a/google/cloud/mediatranslation/v1alpha1/BUILD.bazel b/google/cloud/mediatranslation/v1alpha1/BUILD.bazel +--- a/google/cloud/mediatranslation/v1alpha1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/mediatranslation/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,166 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel -- --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -27796,31 +43625,16 @@ diff -urN a/google/cloud/domains/v1beta1/BUILD.bazel b/google/cloud/domains/v1be -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") --load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "domains_proto", +- name = "mediatranslation_proto", - srcs = [ -- "domains.proto", +- "media_translation.proto", - ], - deps = [ -- "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/longrunning:operations_proto", -- "//google/type:money_proto", -- "//google/type:postal_address_proto", -- "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:timestamp_proto", -- ], --) -- --proto_library_with_info( -- name = "domains_proto_with_info", -- deps = [ -- ":domains_proto", -- "//google/cloud:common_resources_proto", +- "//google/rpc:status_proto", - ], -) - @@ -27829,108 +43643,37 @@ diff -urN a/google/cloud/domains/v1beta1/BUILD.bazel b/google/cloud/domains/v1be -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - --java_proto_library( -- name = "domains_java_proto", -- deps = [":domains_proto"], --) -- --java_grpc_library( -- name = "domains_java_grpc", -- srcs = [":domains_proto"], -- deps = [":domains_java_proto"], --) -- --java_gapic_library( -- name = "domains_java_gapic", -- srcs = [":domains_proto_with_info"], -- grpc_service_config = "domains_grpc_service_config.json", -- test_deps = [ -- ":domains_java_grpc", -- ], -- deps = [ -- ":domains_java_proto", -- "//google/type:type_java_proto", -- ], --) -- --java_gapic_test( -- name = "domains_java_gapic_test_suite", -- test_classes = [ -- "com.google.cloud.domains.v1beta1.DomainsClientTest", -- ], -- runtime_deps = [":domains_java_gapic_test"], --) -- --# Open Source Packages --java_gapic_assembly_gradle_pkg( -- name = "google-cloud-domains-v1beta1-java", -- deps = [ -- ":domains_java_gapic", -- ":domains_java_grpc", -- ":domains_java_proto", -- ":domains_proto", -- ], --) -- --############################################################################## --# Go --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "go_gapic_assembly_pkg", -- "go_gapic_library", -- "go_proto_library", -- "go_test", --) -- --go_proto_library( -- name = "domains_go_proto", -- compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/domains/v1beta1", -- protos = [":domains_proto"], -- deps = [ -- "//google/api:annotations_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "//google/type:money_go_proto", -- "//google/type:postaladdress_go_proto", -- ], --) -- --go_gapic_library( -- name = "domains_go_gapic", -- srcs = [":domains_proto_with_info"], -- grpc_service_config = "domains_grpc_service_config.json", -- importpath = "cloud.google.com/go/domains/apiv1beta1;domains", -- service_yaml = "domains_v1beta1.yaml", -- deps = [ -- ":domains_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", -- ], --) -- --go_test( -- name = "domains_go_gapic_test", -- srcs = [":domains_go_gapic_srcjar_test"], -- embed = [":domains_go_gapic"], -- importpath = "cloud.google.com/go/domains/apiv1beta1", +-java_proto_library( +- name = "mediatranslation_java_proto", +- deps = [":mediatranslation_proto"], -) - --# Open Source Packages --go_gapic_assembly_pkg( -- name = "gapi-cloud-domains-v1beta1-go", +-java_grpc_library( +- name = "mediatranslation_java_grpc", +- srcs = [":mediatranslation_proto"], +- deps = [":mediatranslation_java_proto"], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "mediatranslation_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/mediatranslation/v1alpha1", +- protos = [":mediatranslation_proto"], - deps = [ -- ":domains_go_gapic", -- ":domains_go_gapic_srcjar-test.srcjar", -- ":domains_go_proto", +- "//google/api:annotations_go_proto", +- "//google/rpc:status_go_proto", - ], -) - @@ -27939,67 +43682,50 @@ diff -urN a/google/cloud/domains/v1beta1/BUILD.bazel b/google/cloud/domains/v1be -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "py_gapic_assembly_pkg", -- "py_gapic_library", --) -- --py_gapic_library( -- name = "domains_py_gapic", -- srcs = [":domains_proto"], -- grpc_service_config = "domains_grpc_service_config.json", +- "moved_proto_library", +- "py_grpc_library", +- "py_proto_library", -) - --# Open Source Packages --py_gapic_assembly_pkg( -- name = "domains-v1beta1-py", +-moved_proto_library( +- name = "mediatranslation_moved_proto", +- srcs = [":mediatranslation_proto"], - deps = [ -- ":domains_py_gapic", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/rpc:status_proto", - ], -) - +-py_proto_library( +- name = "mediatranslation_py_proto", +- deps = [":mediatranslation_moved_proto"], +-) +- +-py_grpc_library( +- name = "mediatranslation_py_grpc", +- srcs = [":mediatranslation_moved_proto"], +- deps = [":mediatranslation_py_proto"], +-) +- -############################################################################## -# PHP -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "php_gapic_assembly_pkg", -- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "domains_php_proto", -- deps = [":domains_proto"], +- name = "mediatranslation_php_proto", +- deps = [":mediatranslation_proto"], -) - -php_grpc_library( -- name = "domains_php_grpc", -- srcs = [":domains_proto"], -- deps = [":domains_php_proto"], --) -- --php_gapic_library( -- name = "domains_php_gapic", -- src = ":domains_proto_with_info", -- gapic_yaml = "domains_gapic.yaml", -- grpc_service_config = "domains_grpc_service_config.json", -- package = "google.cloud.domains.v1beta1", -- service_yaml = "domains_v1beta1.yaml", -- deps = [ -- ":domains_php_grpc", -- ":domains_php_proto", -- ], --) -- --# Open Source Packages --php_gapic_assembly_pkg( -- name = "google-cloud-domains-v1beta1-php", -- deps = [ -- ":domains_php_gapic", -- ":domains_php_grpc", -- ":domains_php_proto", -- ], +- name = "mediatranslation_php_grpc", +- srcs = [":mediatranslation_proto"], +- deps = [":mediatranslation_php_proto"], -) - -############################################################################## @@ -28011,74 +43737,25 @@ diff -urN a/google/cloud/domains/v1beta1/BUILD.bazel b/google/cloud/domains/v1be - "nodejs_gapic_library", -) - --nodejs_gapic_library( -- name = "domains_nodejs_gapic", -- package_name = "@google-cloud/domains", -- src = ":domains_proto_with_info", -- extra_protoc_parameters = ["metadata"], -- grpc_service_config = "domains_grpc_service_config.json", -- package = "google.cloud.domains.v1beta1", -- service_yaml = "domains_v1beta1.yaml", -- deps = [], --) -- --nodejs_gapic_assembly_pkg( -- name = "domains-v1beta1-nodejs", -- deps = [ -- ":domains_nodejs_gapic", -- ":domains_proto", -- ], --) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", -- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "domains_ruby_proto", -- deps = [":domains_proto"], +- name = "mediatranslation_ruby_proto", +- deps = [":mediatranslation_proto"], -) - -ruby_grpc_library( -- name = "domains_ruby_grpc", -- srcs = [":domains_proto"], -- deps = [":domains_ruby_proto"], --) -- --ruby_cloud_gapic_library( -- name = "domains_ruby_gapic", -- srcs = [":domains_proto_with_info",], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-domains-v1beta1", -- "ruby-cloud-env-prefix=DOMAINS", -- "ruby-cloud-product-url=https://cloud.google.com/domains", -- "ruby-cloud-api-id=domains.googleapis.com", -- "ruby-cloud-api-shortname=domains", -- ], -- grpc_service_config = "domains_grpc_service_config.json", -- ruby_cloud_description = "The Cloud Domains API provides registration, management and configuration of domain names.", -- ruby_cloud_title = "Cloud Domains V1beta1", -- deps = [ -- ":domains_ruby_grpc", -- ":domains_ruby_proto", -- ], --) -- --# Open Source Packages --ruby_gapic_assembly_pkg( -- name = "google-cloud-domains-v1beta1-ruby", -- deps = [ -- ":domains_ruby_gapic", -- ":domains_ruby_grpc", -- ":domains_ruby_proto", -- ], +- name = "mediatranslation_ruby_grpc", +- srcs = [":mediatranslation_proto"], +- deps = [":mediatranslation_ruby_proto"], -) - -############################################################################## @@ -28086,54 +43763,31 @@ diff -urN a/google/cloud/domains/v1beta1/BUILD.bazel b/google/cloud/domains/v1be -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "domains_csharp_proto", -- deps = [":domains_proto"], +- name = "mediatranslation_csharp_proto", +- deps = [":mediatranslation_proto"], -) - -csharp_grpc_library( -- name = "domains_csharp_grpc", -- srcs = [":domains_proto"], -- deps = [":domains_csharp_proto"], --) -- --csharp_gapic_library( -- name = "domains_csharp_gapic", -- srcs = [":domains_proto_with_info"], -- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "domains_grpc_service_config.json", -- deps = [ -- ":domains_csharp_grpc", -- ":domains_csharp_proto", -- ], --) -- --# Open Source Packages --csharp_gapic_assembly_pkg( -- name = "google-cloud-domains-v1beta1-csharp", -- deps = [ -- ":domains_csharp_gapic", -- ":domains_csharp_grpc", -- ":domains_csharp_proto", -- ], +- name = "mediatranslation_csharp_grpc", +- srcs = [":mediatranslation_proto"], +- deps = [":mediatranslation_csharp_proto"], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ rules here -diff -urN a/google/cloud/functions/v1/BUILD.bazel b/google/cloud/functions/v1/BUILD.bazel ---- a/google/cloud/functions/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/functions/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,356 +0,0 @@ +-# Put your C++ code here +diff -urN a/google/cloud/mediatranslation/v1beta1/BUILD.bazel b/google/cloud/mediatranslation/v1beta1/BUILD.bazel +--- a/google/cloud/mediatranslation/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/mediatranslation/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,338 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +-# https://github.com/googleapis/rules_gapic/tree/master/bazel - -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: @@ -28153,30 +43807,21 @@ diff -urN a/google/cloud/functions/v1/BUILD.bazel b/google/cloud/functions/v1/BU -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "functions_proto", +- name = "mediatranslation_proto", - srcs = [ -- "functions.proto", -- "operations.proto", +- "media_translation.proto", - ], - deps = [ -- "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/iam/v1:iam_policy_proto", -- "//google/iam/v1:policy_proto", -- "//google/longrunning:operations_proto", -- "@com_google_protobuf//:any_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:timestamp_proto", +- "//google/rpc:status_proto", - ], -) - -proto_library_with_info( -- name = "functions_proto_with_info", +- name = "mediatranslation_proto_with_info", - deps = [ -- ":functions_proto", +- ":mediatranslation_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -28184,7 +43829,6 @@ diff -urN a/google/cloud/functions/v1/BUILD.bazel b/google/cloud/functions/v1/BU -############################################################################## -# Java -############################################################################## -- -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_gapic_assembly_gradle_pkg", @@ -28195,46 +43839,44 @@ diff -urN a/google/cloud/functions/v1/BUILD.bazel b/google/cloud/functions/v1/BU -) - -java_proto_library( -- name = "functions_java_proto", -- deps = [":functions_proto"], +- name = "mediatranslation_java_proto", +- deps = [":mediatranslation_proto"], -) - -java_grpc_library( -- name = "functions_java_grpc", -- srcs = [":functions_proto"], -- deps = [":functions_java_proto"], +- name = "mediatranslation_java_grpc", +- srcs = [":mediatranslation_proto"], +- deps = [":mediatranslation_java_proto"], -) - -java_gapic_library( -- name = "functions_java_gapic", -- srcs = [":functions_proto_with_info"], -- grpc_service_config = "functions_grpc_service_config.json", +- name = "mediatranslation_java_gapic", +- srcs = [":mediatranslation_proto_with_info"], +- grpc_service_config = "mediatranslation_grpc_service_config.json", - test_deps = [ -- ":functions_java_grpc", -- "//google/iam/v1:iam_java_grpc", +- ":mediatranslation_java_grpc", - ], - deps = [ -- ":functions_java_proto", -- "//google/iam/v1:iam_java_proto", +- ":mediatranslation_java_proto", - ], -) - -java_gapic_test( -- name = "functions_java_gapic_test_suite", +- name = "mediatranslation_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.functions.v1.CloudFunctionsServiceClientTest", +- "com.google.cloud.mediatranslation.v1beta1.SpeechTranslationServiceClientTest", - ], -- runtime_deps = [":functions_java_gapic_test"], +- runtime_deps = [":mediatranslation_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-functions-v1-java", +- name = "google-cloud-mediatranslation-v1beta1-java", - deps = [ -- ":functions_java_gapic", -- ":functions_java_grpc", -- ":functions_java_proto", -- ":functions_proto", +- ":mediatranslation_java_gapic", +- ":mediatranslation_java_grpc", +- ":mediatranslation_java_proto", +- ":mediatranslation_proto", - ], -) - @@ -28250,48 +43892,43 @@ diff -urN a/google/cloud/functions/v1/BUILD.bazel b/google/cloud/functions/v1/BU -) - -go_proto_library( -- name = "functions_go_proto", +- name = "mediatranslation_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/functions/v1", -- protos = [":functions_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/mediatranslation/v1beta1", +- protos = [":mediatranslation_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/iam/v1:iam_go_proto", -- "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", - ], -) - -go_gapic_library( -- name = "functions_go_gapic", -- srcs = [":functions_proto_with_info"], -- grpc_service_config = "functions_grpc_service_config.json", -- importpath = "cloud.google.com/go/functions/apiv1;functions", -- service_yaml = "cloudfunctions_v1.yaml", +- name = "mediatranslation_go_gapic", +- srcs = [":mediatranslation_proto_with_info"], +- grpc_service_config = "mediatranslation_grpc_service_config.json", +- importpath = "cloud.google.com/go/mediatranslation/apiv1beta1;mediatranslation", +- metadata = True, +- service_yaml = "mediatranslation_v1beta1.yaml", - deps = [ -- ":functions_go_proto", -- "//google/iam/v1:iam_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:any_go_proto", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- ":mediatranslation_go_proto", - ], -) - -go_test( -- name = "functions_go_gapic_test", -- srcs = [":functions_go_gapic_srcjar_test"], -- embed = [":functions_go_gapic"], -- importpath = "cloud.google.com/go/functions/apiv1", +- name = "mediatranslation_go_gapic_test", +- srcs = [":mediatranslation_go_gapic_srcjar_test"], +- embed = [":mediatranslation_go_gapic"], +- importpath = "cloud.google.com/go/mediatranslation/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-functions-v1-go", +- name = "gapi-cloud-mediatranslation-v1beta1-go", - deps = [ -- ":functions_go_gapic", -- ":functions_go_gapic_srcjar-test.srcjar", -- ":functions_go_proto", +- ":mediatranslation_go_gapic", +- ":mediatranslation_go_gapic_srcjar-metadata.srcjar", +- ":mediatranslation_go_gapic_srcjar-test.srcjar", +- ":mediatranslation_go_proto", - ], -) - @@ -28305,15 +43942,16 @@ diff -urN a/google/cloud/functions/v1/BUILD.bazel b/google/cloud/functions/v1/BU -) - -py_gapic_library( -- name = "functions_py_gapic", -- srcs = [":functions_proto"], -- grpc_service_config = "functions_grpc_service_config.json", +- name = "mediatranslation_py_gapic", +- srcs = [":mediatranslation_proto"], +- grpc_service_config = "mediatranslation_grpc_service_config.json", -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "functions-v1-py", +- name = "mediatranslation-v1beta1-py", - deps = [ -- ":functions_py_gapic", +- ":mediatranslation_py_gapic", - ], -) - @@ -28329,36 +43967,34 @@ diff -urN a/google/cloud/functions/v1/BUILD.bazel b/google/cloud/functions/v1/BU -) - -php_proto_library( -- name = "functions_php_proto", -- deps = [":functions_proto"], +- name = "mediatranslation_php_proto", +- deps = [":mediatranslation_proto"], -) - -php_grpc_library( -- name = "functions_php_grpc", -- srcs = [":functions_proto"], -- deps = [":functions_php_proto"], +- name = "mediatranslation_php_grpc", +- srcs = [":mediatranslation_proto"], +- deps = [":mediatranslation_php_proto"], -) - -php_gapic_library( -- name = "functions_php_gapic", -- src = ":functions_proto_with_info", -- gapic_yaml = "functions_gapic.yaml", -- grpc_service_config = "functions_grpc_service_config.json", -- package = "google.cloud.functions.v1", -- service_yaml = "cloudfunctions_v1.yaml", +- name = "mediatranslation_php_gapic", +- srcs = [":mediatranslation_proto_with_info"], +- grpc_service_config = "mediatranslation_grpc_service_config.json", +- service_yaml = "mediatranslation_v1beta1.yaml", - deps = [ -- ":functions_php_grpc", -- ":functions_php_proto", +- ":mediatranslation_php_grpc", +- ":mediatranslation_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-functions-v1-php", +- name = "google-cloud-mediatranslation-v1beta1-php", - deps = [ -- ":functions_php_gapic", -- ":functions_php_grpc", -- ":functions_php_proto", +- ":mediatranslation_php_gapic", +- ":mediatranslation_php_grpc", +- ":mediatranslation_php_proto", - ], -) - @@ -28372,21 +44008,21 @@ diff -urN a/google/cloud/functions/v1/BUILD.bazel b/google/cloud/functions/v1/BU -) - -nodejs_gapic_library( -- name = "functions_nodejs_gapic", -- package_name = "@google-cloud/functions", -- src = ":functions_proto_with_info", +- name = "mediatranslation_nodejs_gapic", +- package_name = "@google-cloud/media-translation", +- src = ":mediatranslation_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "functions_grpc_service_config.json", -- package = "google.cloud.functions.v1", -- service_yaml = "cloudfunctions_v1.yaml", +- grpc_service_config = "mediatranslation_grpc_service_config.json", +- package = "google.cloud.mediatranslation.v1beta1", +- service_yaml = "mediatranslation_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "functions-v1-nodejs", +- name = "mediatranslation-v1beta1-nodejs", - deps = [ -- ":functions_nodejs_gapic", -- ":functions_proto", +- ":mediatranslation_nodejs_gapic", +- ":mediatranslation_proto", - ], -) - @@ -28395,49 +44031,49 @@ diff -urN a/google/cloud/functions/v1/BUILD.bazel b/google/cloud/functions/v1/BU -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "functions_ruby_proto", -- deps = [":functions_proto"], +- name = "mediatranslation_ruby_proto", +- deps = [":mediatranslation_proto"], -) - -ruby_grpc_library( -- name = "functions_ruby_grpc", -- srcs = [":functions_proto"], -- deps = [":functions_ruby_proto"], +- name = "mediatranslation_ruby_grpc", +- srcs = [":mediatranslation_proto"], +- deps = [":mediatranslation_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "functions_ruby_gapic", -- srcs = [":functions_proto_with_info"], +- name = "mediatranslation_ruby_gapic", +- srcs = [":mediatranslation_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-functions-v1", -- "ruby-cloud-env-prefix=FUNCTIONS", -- "ruby-cloud-product-url=https://cloud.google.com/functions", -- "ruby-cloud-api-id=cloudfunctions.googleapis.com", -- "ruby-cloud-api-shortname=cloudfunctions", +- "ruby-cloud-api-id=mediatranslation.googleapis.com", +- "ruby-cloud-api-shortname=mediatranslation", +- "ruby-cloud-env-prefix=MEDIA_TRANSLATION", +- "ruby-cloud-gem-name=google-cloud-media_translation-v1beta1", +- "ruby-cloud-product-url=https://cloud.google.com/media-translation/", - ], -- grpc_service_config = "functions_grpc_service_config.json", -- ruby_cloud_description = "The Cloud Functions API manages lightweight user-provided functions executed in response to events.", -- ruby_cloud_title = "Cloud Functions V1", +- grpc_service_config = "mediatranslation_grpc_service_config.json", +- ruby_cloud_description = "Media Translation API delivers real-time speech translation to your content and applications directly from your audio data. Leveraging Google’s machine learning technologies, the API offers enhanced accuracy and simplified integration while equipping you with a comprehensive set of features to further refine your translation results. Improve user experience with low-latency streaming translation and scale quickly with straightforward internationalization.", +- ruby_cloud_title = "Media Translation V1beta1", - deps = [ -- ":functions_ruby_grpc", -- ":functions_ruby_proto", +- ":mediatranslation_ruby_grpc", +- ":mediatranslation_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-functions-v1-ruby", +- name = "google-cloud-mediatranslation-v1beta1-ruby", - deps = [ -- ":functions_ruby_gapic", -- ":functions_ruby_grpc", -- ":functions_ruby_proto", +- ":mediatranslation_ruby_gapic", +- ":mediatranslation_ruby_grpc", +- ":mediatranslation_ruby_proto", - ], -) - @@ -28453,34 +44089,34 @@ diff -urN a/google/cloud/functions/v1/BUILD.bazel b/google/cloud/functions/v1/BU -) - -csharp_proto_library( -- name = "functions_csharp_proto", -- deps = [":functions_proto"], +- name = "mediatranslation_csharp_proto", +- deps = [":mediatranslation_proto"], -) - -csharp_grpc_library( -- name = "functions_csharp_grpc", -- srcs = [":functions_proto"], -- deps = [":functions_csharp_proto"], +- name = "mediatranslation_csharp_grpc", +- srcs = [":mediatranslation_proto"], +- deps = [":mediatranslation_csharp_proto"], -) - -csharp_gapic_library( -- name = "functions_csharp_gapic", -- srcs = [":functions_proto_with_info"], +- name = "mediatranslation_csharp_gapic", +- srcs = [":mediatranslation_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "functions_grpc_service_config.json", +- grpc_service_config = "mediatranslation_grpc_service_config.json", - deps = [ -- ":functions_csharp_grpc", -- ":functions_csharp_proto", +- ":mediatranslation_csharp_grpc", +- ":mediatranslation_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-functions-v1-csharp", +- name = "google-cloud-mediatranslation-v1beta1-csharp", - deps = [ -- ":functions_csharp_gapic", -- ":functions_csharp_grpc", -- ":functions_csharp_proto", +- ":mediatranslation_csharp_gapic", +- ":mediatranslation_csharp_grpc", +- ":mediatranslation_csharp_proto", - ], -) - @@ -28488,10 +44124,10 @@ diff -urN a/google/cloud/functions/v1/BUILD.bazel b/google/cloud/functions/v1/BU -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/gaming/v1/BUILD.bazel b/google/cloud/gaming/v1/BUILD.bazel ---- a/google/cloud/gaming/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/gaming/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,357 +0,0 @@ +diff -urN a/google/cloud/memcache/v1/BUILD.bazel b/google/cloud/memcache/v1/BUILD.bazel +--- a/google/cloud/memcache/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/memcache/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,341 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - @@ -28513,17 +44149,9 @@ diff -urN a/google/cloud/gaming/v1/BUILD.bazel b/google/cloud/gaming/v1/BUILD.ba -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "gaming_proto", +- name = "memcache_proto", - srcs = [ -- "common.proto", -- "game_server_clusters.proto", -- "game_server_clusters_service.proto", -- "game_server_configs.proto", -- "game_server_configs_service.proto", -- "game_server_deployments.proto", -- "game_server_deployments_service.proto", -- "realms.proto", -- "realms_service.proto", +- "cloud_memcache.proto", - ], - deps = [ - "//google/api:annotations_proto", @@ -28531,16 +44159,15 @@ diff -urN a/google/cloud/gaming/v1/BUILD.bazel b/google/cloud/gaming/v1/BUILD.ba - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "//google/longrunning:operations_proto", -- "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "gaming_proto_with_info", +- name = "memcache_proto_with_info", - deps = [ -- ":gaming_proto", +- ":memcache_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -28558,47 +44185,43 @@ diff -urN a/google/cloud/gaming/v1/BUILD.bazel b/google/cloud/gaming/v1/BUILD.ba -) - -java_proto_library( -- name = "gaming_java_proto", -- deps = [":gaming_proto"], +- name = "memcache_java_proto", +- deps = [":memcache_proto"], -) - -java_grpc_library( -- name = "gaming_java_grpc", -- srcs = [":gaming_proto"], -- deps = [":gaming_java_proto"], +- name = "memcache_java_grpc", +- srcs = [":memcache_proto"], +- deps = [":memcache_java_proto"], -) - -java_gapic_library( -- name = "gaming_java_gapic", -- srcs = [":gaming_proto_with_info"], -- grpc_service_config = "gaming_grpc_service_config.json", +- name = "memcache_java_gapic", +- srcs = [":memcache_proto_with_info"], +- grpc_service_config = "memcache_grpc_service_config.json", - test_deps = [ -- ":gaming_java_grpc", +- ":memcache_java_grpc", - ], - deps = [ -- ":gaming_java_proto", +- ":memcache_java_proto", - ], -) - -java_gapic_test( -- name = "gaming_java_gapic_test_suite", +- name = "memcache_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.gaming.v1.GameServerClustersServiceClientTest", -- "com.google.cloud.gaming.v1.GameServerConfigsServiceClientTest", -- "com.google.cloud.gaming.v1.GameServerDeploymentsServiceClientTest", -- "com.google.cloud.gaming.v1.RealmsServiceClientTest", - ], -- runtime_deps = [":gaming_java_gapic_test"], +- runtime_deps = [":memcache_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-gaming-v1-java", +- name = "google-cloud-memcache-v1-java", - deps = [ -- ":gaming_java_gapic", -- ":gaming_java_grpc", -- ":gaming_java_proto", -- ":gaming_proto", +- ":memcache_java_gapic", +- ":memcache_java_grpc", +- ":memcache_java_proto", +- ":memcache_proto", - ], -) - @@ -28614,10 +44237,10 @@ diff -urN a/google/cloud/gaming/v1/BUILD.bazel b/google/cloud/gaming/v1/BUILD.ba -) - -go_proto_library( -- name = "gaming_go_proto", +- name = "memcache_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/gaming/v1", -- protos = [":gaming_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/memcache/v1", +- protos = [":memcache_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/longrunning:longrunning_go_proto", @@ -28625,34 +44248,33 @@ diff -urN a/google/cloud/gaming/v1/BUILD.bazel b/google/cloud/gaming/v1/BUILD.ba -) - -go_gapic_library( -- name = "gaming_go_gapic", -- srcs = [":gaming_proto_with_info"], -- grpc_service_config = "gaming_grpc_service_config.json", -- importpath = "cloud.google.com/go/gaming/apiv1;gaming", -- service_yaml = "gameservices_v1.yaml", +- name = "memcache_go_gapic", +- srcs = [":memcache_proto_with_info"], +- grpc_service_config = "memcache_grpc_service_config.json", +- importpath = "cloud.google.com/go/memcache/apiv1;memcache", +- service_yaml = "memcache_v1.yaml", - deps = [ -- ":gaming_go_proto", +- ":memcache_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "gaming_go_gapic_test", -- srcs = [":gaming_go_gapic_srcjar_test"], -- embed = [":gaming_go_gapic"], -- importpath = "cloud.google.com/go/gaming/apiv1", +- name = "memcache_go_gapic_test", +- srcs = [":memcache_go_gapic_srcjar_test"], +- embed = [":memcache_go_gapic"], +- importpath = "cloud.google.com/go/memcache/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-gaming-v1-go", +- name = "gapi-cloud-memcache-v1-go", - deps = [ -- ":gaming_go_gapic", -- ":gaming_go_gapic_srcjar-test.srcjar", -- ":gaming_go_proto", +- ":memcache_go_gapic", +- ":memcache_go_gapic_srcjar-test.srcjar", +- ":memcache_go_proto", - ], -) - @@ -28666,16 +44288,16 @@ diff -urN a/google/cloud/gaming/v1/BUILD.bazel b/google/cloud/gaming/v1/BUILD.ba -) - -py_gapic_library( -- name = "gaming_py_gapic", -- srcs = [":gaming_proto"], -- grpc_service_config = "gaming_grpc_service_config.json", +- name = "memcache_py_gapic", +- srcs = [":memcache_proto"], +- grpc_service_config = "memcache_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "gaming-v1-py", +- name = "memcache-v1-py", - deps = [ -- ":gaming_py_gapic", +- ":memcache_py_gapic", - ], -) - @@ -28691,36 +44313,33 @@ diff -urN a/google/cloud/gaming/v1/BUILD.bazel b/google/cloud/gaming/v1/BUILD.ba -) - -php_proto_library( -- name = "gaming_php_proto", -- deps = [":gaming_proto"], +- name = "memcache_php_proto", +- deps = [":memcache_proto"], -) - -php_grpc_library( -- name = "gaming_php_grpc", -- srcs = [":gaming_proto"], -- deps = [":gaming_php_proto"], +- name = "memcache_php_grpc", +- srcs = [":memcache_proto"], +- deps = [":memcache_php_proto"], -) - -php_gapic_library( -- name = "gaming_php_gapic", -- src = ":gaming_proto_with_info", -- gapic_yaml = "gaming_gapic.yaml", -- grpc_service_config = "gaming_grpc_service_config.json", -- package = "google.cloud.gaming.v1", -- service_yaml = "gameservices_v1.yaml", +- name = "memcache_php_gapic", +- srcs = [":memcache_proto_with_info"], +- grpc_service_config = "memcache_grpc_service_config.json", - deps = [ -- ":gaming_php_grpc", -- ":gaming_php_proto", +- ":memcache_php_grpc", +- ":memcache_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-gaming-v1-php", +- name = "google-cloud-memcache-v1-php", - deps = [ -- ":gaming_php_gapic", -- ":gaming_php_grpc", -- ":gaming_php_proto", +- ":memcache_php_gapic", +- ":memcache_php_grpc", +- ":memcache_php_proto", - ], -) - @@ -28734,20 +44353,21 @@ diff -urN a/google/cloud/gaming/v1/BUILD.bazel b/google/cloud/gaming/v1/BUILD.ba -) - -nodejs_gapic_library( -- name = "gaming_nodejs_gapic", -- src = ":gaming_proto_with_info", +- name = "memcache_nodejs_gapic", +- package_name = "@google-cloud/memcache", +- src = ":memcache_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "gaming_grpc_service_config.json", -- package = "google.cloud.gaming.v1", -- service_yaml = "gameservices_v1.yaml", +- grpc_service_config = "memcache_grpc_service_config.json", +- package = "google.cloud.memcache.v1", +- service_yaml = "memcache_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "gaming-v1-nodejs", +- name = "memcache-v1-nodejs", - deps = [ -- ":gaming_nodejs_gapic", -- ":gaming_proto", +- ":memcache_nodejs_gapic", +- ":memcache_proto", - ], -) - @@ -28756,49 +44376,49 @@ diff -urN a/google/cloud/gaming/v1/BUILD.bazel b/google/cloud/gaming/v1/BUILD.ba -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "gaming_ruby_proto", -- deps = [":gaming_proto"], +- name = "memcache_ruby_proto", +- deps = [":memcache_proto"], -) - -ruby_grpc_library( -- name = "gaming_ruby_grpc", -- srcs = [":gaming_proto"], -- deps = [":gaming_ruby_proto"], +- name = "memcache_ruby_grpc", +- srcs = [":memcache_proto"], +- deps = [":memcache_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "gaming_ruby_gapic", -- srcs = [":gaming_proto_with_info"], +- name = "memcache_ruby_gapic", +- srcs = [":memcache_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-gaming-v1", -- "ruby-cloud-env-prefix=GAMING", -- "ruby-cloud-product-url=https://cloud.google.com/game-servers", -- "ruby-cloud-api-id=gameservices.googleapis.com", -- "ruby-cloud-api-shortname=gameservices", +- "ruby-cloud-gem-name=google-cloud-memcache-v1", +- "ruby-cloud-env-prefix=MEMCACHE", +- "ruby-cloud-product-url=https://cloud.google.com/memorystore/docs/memcached/", +- "ruby-cloud-api-id=memcache.googleapis.com", +- "ruby-cloud-api-shortname=memcache", - ], -- grpc_service_config = "gaming_grpc_service_config.json", -- ruby_cloud_description = "With Game Servers, studios and publishers can deploy and manage their game server infrastructure hosted on multiple Agones clusters around the world through a single interface.", -- ruby_cloud_title = "Cloud Gaming V1", +- grpc_service_config = "memcache_grpc_service_config.json", +- ruby_cloud_description = "Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP.", +- ruby_cloud_title = "Google Cloud Memorystore for Memcached V1", - deps = [ -- ":gaming_ruby_grpc", -- ":gaming_ruby_proto", +- ":memcache_ruby_grpc", +- ":memcache_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-gaming-v1-ruby", +- name = "google-cloud-memcache-v1-ruby", - deps = [ -- ":gaming_ruby_gapic", -- ":gaming_ruby_grpc", -- ":gaming_ruby_proto", +- ":memcache_ruby_gapic", +- ":memcache_ruby_grpc", +- ":memcache_ruby_proto", - ], -) - @@ -28814,34 +44434,34 @@ diff -urN a/google/cloud/gaming/v1/BUILD.bazel b/google/cloud/gaming/v1/BUILD.ba -) - -csharp_proto_library( -- name = "gaming_csharp_proto", -- deps = [":gaming_proto"], +- name = "memcache_csharp_proto", +- deps = [":memcache_proto"], -) - -csharp_grpc_library( -- name = "gaming_csharp_grpc", -- srcs = [":gaming_proto"], -- deps = [":gaming_csharp_proto"], +- name = "memcache_csharp_grpc", +- srcs = [":memcache_proto"], +- deps = [":memcache_csharp_proto"], -) - -csharp_gapic_library( -- name = "gaming_csharp_gapic", -- srcs = [":gaming_proto_with_info"], +- name = "memcache_csharp_gapic", +- srcs = [":memcache_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "gaming_grpc_service_config.json", +- grpc_service_config = "memcache_grpc_service_config.json", - deps = [ -- ":gaming_csharp_grpc", -- ":gaming_csharp_proto", +- ":memcache_csharp_grpc", +- ":memcache_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-gaming-v1-csharp", +- name = "google-cloud-memcache-v1-csharp", - deps = [ -- ":gaming_csharp_gapic", -- ":gaming_csharp_grpc", -- ":gaming_csharp_proto", +- ":memcache_csharp_gapic", +- ":memcache_csharp_grpc", +- ":memcache_csharp_proto", - ], -) - @@ -28849,11 +44469,20 @@ diff -urN a/google/cloud/gaming/v1/BUILD.bazel b/google/cloud/gaming/v1/BUILD.ba -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/gaming/v1beta/BUILD.bazel b/google/cloud/gaming/v1beta/BUILD.bazel ---- a/google/cloud/gaming/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/gaming/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +diff -urN a/google/cloud/memcache/v1beta2/BUILD.bazel b/google/cloud/memcache/v1beta2/BUILD.bazel +--- a/google/cloud/memcache/v1beta2/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/memcache/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,342 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -28865,17 +44494,9 @@ diff -urN a/google/cloud/gaming/v1beta/BUILD.bazel b/google/cloud/gaming/v1beta/ -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "gaming_proto", +- name = "memcache_proto", - srcs = [ -- "common.proto", -- "game_server_clusters.proto", -- "game_server_clusters_service.proto", -- "game_server_configs.proto", -- "game_server_configs_service.proto", -- "game_server_deployments.proto", -- "game_server_deployments_service.proto", -- "realms.proto", -- "realms_service.proto", +- "cloud_memcache.proto", - ], - deps = [ - "//google/api:annotations_proto", @@ -28883,16 +44504,15 @@ diff -urN a/google/cloud/gaming/v1beta/BUILD.bazel b/google/cloud/gaming/v1beta/ - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "//google/longrunning:operations_proto", -- "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "gaming_proto_with_info", +- name = "memcache_proto_with_info", - deps = [ -- ":gaming_proto", +- ":memcache_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -28910,47 +44530,43 @@ diff -urN a/google/cloud/gaming/v1beta/BUILD.bazel b/google/cloud/gaming/v1beta/ -) - -java_proto_library( -- name = "gaming_java_proto", -- deps = [":gaming_proto"], +- name = "memcache_java_proto", +- deps = [":memcache_proto"], -) - -java_grpc_library( -- name = "gaming_java_grpc", -- srcs = [":gaming_proto"], -- deps = [":gaming_java_proto"], +- name = "memcache_java_grpc", +- srcs = [":memcache_proto"], +- deps = [":memcache_java_proto"], -) - -java_gapic_library( -- name = "gaming_java_gapic", -- srcs = [":gaming_proto_with_info"], -- grpc_service_config = "gaming_grpc_service_config.json", +- name = "memcache_java_gapic", +- srcs = [":memcache_proto_with_info"], +- grpc_service_config = "memcache_grpc_service_config.json", - test_deps = [ -- ":gaming_java_grpc", +- ":memcache_java_grpc", - ], - deps = [ -- ":gaming_java_proto", +- ":memcache_java_proto", - ], -) - -java_gapic_test( -- name = "gaming_java_gapic_test_suite", +- name = "memcache_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.gaming.v1beta.GameServerClustersServiceClientTest", -- "com.google.cloud.gaming.v1beta.GameServerConfigsServiceClientTest", -- "com.google.cloud.gaming.v1beta.GameServerDeploymentsServiceClientTest", -- "com.google.cloud.gaming.v1beta.RealmsServiceClientTest", - ], -- runtime_deps = [":gaming_java_gapic_test"], +- runtime_deps = [":memcache_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-gaming-v1beta-java", +- name = "google-cloud-memcache-v1beta2-java", - deps = [ -- ":gaming_java_gapic", -- ":gaming_java_grpc", -- ":gaming_java_proto", -- ":gaming_proto", +- ":memcache_java_gapic", +- ":memcache_java_grpc", +- ":memcache_java_proto", +- ":memcache_proto", - ], -) - @@ -28966,10 +44582,10 @@ diff -urN a/google/cloud/gaming/v1beta/BUILD.bazel b/google/cloud/gaming/v1beta/ -) - -go_proto_library( -- name = "gaming_go_proto", +- name = "memcache_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/gaming/v1beta", -- protos = [":gaming_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/memcache/v1beta2", +- protos = [":memcache_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/longrunning:longrunning_go_proto", @@ -28977,34 +44593,33 @@ diff -urN a/google/cloud/gaming/v1beta/BUILD.bazel b/google/cloud/gaming/v1beta/ -) - -go_gapic_library( -- name = "gaming_go_gapic", -- srcs = [":gaming_proto_with_info"], -- grpc_service_config = "gaming_grpc_service_config.json", -- importpath = "cloud.google.com/go/gaming/apiv1beta;gaming", -- service_yaml = "gameservices_v1beta.yaml", +- name = "memcache_go_gapic", +- srcs = [":memcache_proto_with_info"], +- grpc_service_config = "memcache_grpc_service_config.json", +- importpath = "cloud.google.com/go/memcache/apiv1beta2;memcache", +- service_yaml = "memcache_v1beta2.yaml", - deps = [ -- ":gaming_go_proto", +- ":memcache_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "gaming_go_gapic_test", -- srcs = [":gaming_go_gapic_srcjar_test"], -- embed = [":gaming_go_gapic"], -- importpath = "cloud.google.com/go/gaming/apiv1beta", +- name = "memcache_go_gapic_test", +- srcs = [":memcache_go_gapic_srcjar_test"], +- embed = [":memcache_go_gapic"], +- importpath = "cloud.google.com/go/memcache/apiv1beta2", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-gaming-v1beta-go", +- name = "gapi-cloud-memcache-v1beta2-go", - deps = [ -- ":gaming_go_gapic", -- ":gaming_go_gapic_srcjar-test.srcjar", -- ":gaming_go_proto", +- ":memcache_go_gapic", +- ":memcache_go_gapic_srcjar-test.srcjar", +- ":memcache_go_proto", - ], -) - @@ -29018,16 +44633,16 @@ diff -urN a/google/cloud/gaming/v1beta/BUILD.bazel b/google/cloud/gaming/v1beta/ -) - -py_gapic_library( -- name = "gaming_py_gapic", -- srcs = [":gaming_proto"], -- grpc_service_config = "gaming_grpc_service_config.json", +- name = "memcache_py_gapic", +- srcs = [":memcache_proto"], +- grpc_service_config = "memcache_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "gaming-v1beta-py", +- name = "memcache-v1beta2-py", - deps = [ -- ":gaming_py_gapic", +- ":memcache_py_gapic", - ], -) - @@ -29043,36 +44658,34 @@ diff -urN a/google/cloud/gaming/v1beta/BUILD.bazel b/google/cloud/gaming/v1beta/ -) - -php_proto_library( -- name = "gaming_php_proto", -- deps = [":gaming_proto"], +- name = "memcache_php_proto", +- deps = [":memcache_proto"], -) - -php_grpc_library( -- name = "gaming_php_grpc", -- srcs = [":gaming_proto"], -- deps = [":gaming_php_proto"], +- name = "memcache_php_grpc", +- srcs = [":memcache_proto"], +- deps = [":memcache_php_proto"], -) - -php_gapic_library( -- name = "gaming_php_gapic", -- src = ":gaming_proto_with_info", -- gapic_yaml = "gaming_gapic.yaml", -- grpc_service_config = "gaming_grpc_service_config.json", -- package = "google.cloud.gaming.v1beta", -- service_yaml = "gameservices_v1beta.yaml", +- name = "memcache_php_gapic", +- srcs = [":memcache_proto_with_info"], +- grpc_service_config = "memcache_grpc_service_config.json", +- service_yaml = "memcache_v1beta2.yaml", - deps = [ -- ":gaming_php_grpc", -- ":gaming_php_proto", +- ":memcache_php_grpc", +- ":memcache_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-gaming-v1beta-php", +- name = "google-cloud-memcache-v1beta2-php", - deps = [ -- ":gaming_php_gapic", -- ":gaming_php_grpc", -- ":gaming_php_proto", +- ":memcache_php_gapic", +- ":memcache_php_grpc", +- ":memcache_php_proto", - ], -) - @@ -29086,21 +44699,21 @@ diff -urN a/google/cloud/gaming/v1beta/BUILD.bazel b/google/cloud/gaming/v1beta/ -) - -nodejs_gapic_library( -- name = "gaming_nodejs_gapic", -- package_name = "@google-cloud/game-servers", -- src = ":gaming_proto_with_info", +- name = "memcache_nodejs_gapic", +- package_name = "@google-cloud/memcache", +- src = ":memcache_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "gaming_grpc_service_config.json", -- package = "google.cloud.gaming.v1beta", -- service_yaml = "gameservices_v1beta.yaml", +- grpc_service_config = "memcache_grpc_service_config.json", +- package = "google.cloud.memcache.v1beta2", +- service_yaml = "memcache_v1beta2.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "gaming-v1beta-nodejs", +- name = "memcache-v1beta2-nodejs", - deps = [ -- ":gaming_nodejs_gapic", -- ":gaming_proto", +- ":memcache_nodejs_gapic", +- ":memcache_proto", - ], -) - @@ -29109,42 +44722,49 @@ diff -urN a/google/cloud/gaming/v1beta/BUILD.bazel b/google/cloud/gaming/v1beta/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "gaming_ruby_proto", -- deps = [":gaming_proto"], +- name = "memcache_ruby_proto", +- deps = [":memcache_proto"], -) - -ruby_grpc_library( -- name = "gaming_ruby_grpc", -- srcs = [":gaming_proto"], -- deps = [":gaming_ruby_proto"], +- name = "memcache_ruby_grpc", +- srcs = [":memcache_proto"], +- deps = [":memcache_ruby_proto"], -) - --ruby_gapic_library( -- name = "gaming_ruby_gapic", -- src = ":gaming_proto_with_info", -- gapic_yaml = "gaming_gapic.yaml", -- package = "google.cloud.gaming.v1beta", -- service_yaml = "gameservices_v1beta.yaml", +-ruby_cloud_gapic_library( +- name = "memcache_ruby_gapic", +- srcs = [":memcache_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-memcache-v1beta2", +- "ruby-cloud-env-prefix=MEMCACHE", +- "ruby-cloud-product-url=https://cloud.google.com/memorystore/docs/memcached/", +- "ruby-cloud-api-id=memcache.googleapis.com", +- "ruby-cloud-api-shortname=memcache", +- ], +- grpc_service_config = "memcache_grpc_service_config.json", +- ruby_cloud_description = "Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP.", +- ruby_cloud_title = "Google Cloud Memorystore for Memcached", - deps = [ -- ":gaming_ruby_grpc", -- ":gaming_ruby_proto", +- ":memcache_ruby_grpc", +- ":memcache_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-gaming-v1beta-ruby", +- name = "google-cloud-memcache-v1beta2-ruby", - deps = [ -- ":gaming_ruby_gapic", -- ":gaming_ruby_grpc", -- ":gaming_ruby_proto", +- ":memcache_ruby_gapic", +- ":memcache_ruby_grpc", +- ":memcache_ruby_proto", - ], -) - @@ -29160,34 +44780,34 @@ diff -urN a/google/cloud/gaming/v1beta/BUILD.bazel b/google/cloud/gaming/v1beta/ -) - -csharp_proto_library( -- name = "gaming_csharp_proto", -- deps = [":gaming_proto"], +- name = "memcache_csharp_proto", +- deps = [":memcache_proto"], -) - -csharp_grpc_library( -- name = "gaming_csharp_grpc", -- srcs = [":gaming_proto"], -- deps = [":gaming_csharp_proto"], +- name = "memcache_csharp_grpc", +- srcs = [":memcache_proto"], +- deps = [":memcache_csharp_proto"], -) - -csharp_gapic_library( -- name = "gaming_csharp_gapic", -- srcs = [":gaming_proto_with_info"], +- name = "memcache_csharp_gapic", +- srcs = [":memcache_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "gaming_grpc_service_config.json", +- grpc_service_config = "memcache_grpc_service_config.json", - deps = [ -- ":gaming_csharp_grpc", -- ":gaming_csharp_proto", +- ":memcache_csharp_grpc", +- ":memcache_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-gaming-v1beta-csharp", +- name = "google-cloud-memcache-v1beta2-csharp", - deps = [ -- ":gaming_csharp_gapic", -- ":gaming_csharp_grpc", -- ":gaming_csharp_proto", +- ":memcache_csharp_gapic", +- ":memcache_csharp_grpc", +- ":memcache_csharp_proto", - ], -) - @@ -29195,10 +44815,10 @@ diff -urN a/google/cloud/gaming/v1beta/BUILD.bazel b/google/cloud/gaming/v1beta/ -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/gkehub/v1alpha2/BUILD.bazel b/google/cloud/gkehub/v1alpha2/BUILD.bazel ---- a/google/cloud/gkehub/v1alpha2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/gkehub/v1alpha2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,175 +0,0 @@ +diff -urN a/google/cloud/metastore/logging/v1/BUILD.bazel b/google/cloud/metastore/logging/v1/BUILD.bazel +--- a/google/cloud/metastore/logging/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/metastore/logging/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,150 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -29210,19 +44830,11 @@ diff -urN a/google/cloud/gkehub/v1alpha2/BUILD.bazel b/google/cloud/gkehub/v1alp -load("@rules_proto//proto:defs.bzl", "proto_library") - -proto_library( -- name = "gkehub_proto", +- name = "logging_proto", - srcs = [ -- "membership.proto", -- ], -- deps = [ -- "//google/api:annotations_proto", -- "//google/api:client_proto", -- "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/longrunning:operations_proto", -- "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:timestamp_proto", +- "log_streams.proto", - ], +- deps = [], -) - -############################################################################## @@ -29235,14 +44847,14 @@ diff -urN a/google/cloud/gkehub/v1alpha2/BUILD.bazel b/google/cloud/gkehub/v1alp -) - -java_proto_library( -- name = "gkehub_java_proto", -- deps = [":gkehub_proto"], +- name = "logging_java_proto", +- deps = [":logging_proto"], -) - -java_grpc_library( -- name = "gkehub_java_grpc", -- srcs = [":gkehub_proto"], -- deps = [":gkehub_java_proto"], +- name = "logging_java_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_java_proto"], -) - -############################################################################## @@ -29254,14 +44866,11 @@ diff -urN a/google/cloud/gkehub/v1alpha2/BUILD.bazel b/google/cloud/gkehub/v1alp -) - -go_proto_library( -- name = "gkehub_go_proto", +- name = "logging_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/v1alpha2", -- protos = [":gkehub_proto"], -- deps = [ -- "//google/api:annotations_go_proto", -- "//google/longrunning:longrunning_go_proto", -- ], +- importpath = "google.golang.org/genproto/googleapis/cloud/metastore/logging/v1", +- protos = [":logging_proto"], +- deps = [], -) - -############################################################################## @@ -29275,29 +44884,20 @@ diff -urN a/google/cloud/gkehub/v1alpha2/BUILD.bazel b/google/cloud/gkehub/v1alp -) - -moved_proto_library( -- name = "gkehub_moved_proto", -- srcs = [":gkehub_proto"], -- deps = [ -- "//google/api:annotations_proto", -- "//google/api:client_proto", -- "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/longrunning:operations_proto", -- "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:timestamp_proto", -- ], +- name = "logging_moved_proto", +- srcs = [":logging_proto"], +- deps = [], -) - -py_proto_library( -- name = "gkehub_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":gkehub_moved_proto"], +- name = "logging_py_proto", +- deps = [":logging_moved_proto"], -) - -py_grpc_library( -- name = "gkehub_py_grpc", -- srcs = [":gkehub_moved_proto"], -- deps = [":gkehub_py_proto"], +- name = "logging_py_grpc", +- srcs = [":logging_moved_proto"], +- deps = [":logging_py_proto"], -) - -############################################################################## @@ -29310,14 +44910,14 @@ diff -urN a/google/cloud/gkehub/v1alpha2/BUILD.bazel b/google/cloud/gkehub/v1alp -) - -php_proto_library( -- name = "gkehub_php_proto", -- deps = [":gkehub_proto"], +- name = "logging_php_proto", +- deps = [":logging_proto"], -) - -php_grpc_library( -- name = "gkehub_php_grpc", -- srcs = [":gkehub_proto"], -- deps = [":gkehub_php_proto"], +- name = "logging_php_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_php_proto"], -) - -############################################################################## @@ -29340,14 +44940,14 @@ diff -urN a/google/cloud/gkehub/v1alpha2/BUILD.bazel b/google/cloud/gkehub/v1alp -) - -ruby_proto_library( -- name = "gkehub_ruby_proto", -- deps = [":gkehub_proto"], +- name = "logging_ruby_proto", +- deps = [":logging_proto"], -) - -ruby_grpc_library( -- name = "gkehub_ruby_grpc", -- srcs = [":gkehub_proto"], -- deps = [":gkehub_ruby_proto"], +- name = "logging_ruby_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_ruby_proto"], -) - -############################################################################## @@ -29360,26 +44960,21 @@ diff -urN a/google/cloud/gkehub/v1alpha2/BUILD.bazel b/google/cloud/gkehub/v1alp -) - -csharp_proto_library( -- name = "gkehub_csharp_proto", -- deps = [":gkehub_proto"], +- name = "logging_csharp_proto", +- deps = [":logging_proto"], -) - -csharp_grpc_library( -- name = "gkehub_csharp_grpc", -- srcs = [":gkehub_proto"], -- deps = [":gkehub_csharp_proto"], +- name = "logging_csharp_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_csharp_proto"], -) -- --############################################################################## --# C++ --############################################################################## --# Put your C++ code here -diff -urN a/google/cloud/gkehub/v1beta1/BUILD.bazel b/google/cloud/gkehub/v1beta1/BUILD.bazel ---- a/google/cloud/gkehub/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/gkehub/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,340 +0,0 @@ +diff -urN a/google/cloud/metastore/v1/BUILD.bazel b/google/cloud/metastore/v1/BUILD.bazel +--- a/google/cloud/metastore/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/metastore/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,349 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +-# https://github.com/googleapis/rules_gapic/tree/master/bazel - -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: @@ -29399,9 +44994,9 @@ diff -urN a/google/cloud/gkehub/v1beta1/BUILD.bazel b/google/cloud/gkehub/v1beta -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "gkehub_proto", +- name = "metastore_proto", - srcs = [ -- "membership.proto", +- "metastore.proto", - ], - deps = [ - "//google/api:annotations_proto", @@ -29409,16 +45004,17 @@ diff -urN a/google/cloud/gkehub/v1beta1/BUILD.bazel b/google/cloud/gkehub/v1beta - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "//google/longrunning:operations_proto", -- "//google/rpc:status_proto", +- "//google/type:dayofweek_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "gkehub_proto_with_info", +- name = "metastore_proto_with_info", - deps = [ -- ":gkehub_proto", +- ":metastore_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -29436,43 +45032,45 @@ diff -urN a/google/cloud/gkehub/v1beta1/BUILD.bazel b/google/cloud/gkehub/v1beta -) - -java_proto_library( -- name = "gkehub_java_proto", -- deps = [":gkehub_proto"], +- name = "metastore_java_proto", +- deps = [":metastore_proto"], -) - -java_grpc_library( -- name = "gkehub_java_grpc", -- srcs = [":gkehub_proto"], -- deps = [":gkehub_java_proto"], +- name = "metastore_java_grpc", +- srcs = [":metastore_proto"], +- deps = [":metastore_java_proto"], -) - -java_gapic_library( -- name = "gkehub_java_gapic", -- srcs = [":gkehub_proto_with_info"], -- grpc_service_config = "membership_grpc_service_config.json", +- name = "metastore_java_gapic", +- srcs = [":metastore_proto_with_info"], +- gapic_yaml = "metastore_gapic.yaml", +- grpc_service_config = "metastore_grpc_service_config.json", - test_deps = [ -- ":gkehub_java_grpc", +- ":metastore_java_grpc", - ], - deps = [ -- ":gkehub_java_proto", +- ":metastore_java_proto", - ], -) - -java_gapic_test( -- name = "gkehub_java_gapic_test_suite", +- name = "metastore_java_gapic_test_suite", - test_classes = [ +- "com.google.cloud.metastore.v1.DataprocMetastoreClientTest", - ], -- runtime_deps = [":gkehub_java_gapic_test"], +- runtime_deps = [":metastore_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-gkehub-v1beta1-java", +- name = "google-cloud-metastore-v1-java", - deps = [ -- ":gkehub_java_gapic", -- ":gkehub_java_grpc", -- ":gkehub_java_proto", -- ":gkehub_proto", +- ":metastore_java_gapic", +- ":metastore_java_grpc", +- ":metastore_java_proto", +- ":metastore_proto", - ], -) - @@ -29488,25 +45086,26 @@ diff -urN a/google/cloud/gkehub/v1beta1/BUILD.bazel b/google/cloud/gkehub/v1beta -) - -go_proto_library( -- name = "gkehub_go_proto", +- name = "metastore_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/v1beta1", -- protos = [":gkehub_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/metastore/v1", +- protos = [":metastore_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/longrunning:longrunning_go_proto", -- "//google/rpc:status_go_proto", +- "//google/type:dayofweek_go_proto", - ], -) - -go_gapic_library( -- name = "gkehub_go_gapic", -- srcs = [":gkehub_proto_with_info"], -- grpc_service_config = "membership_grpc_service_config.json", -- importpath = "cloud.google.com/go/gkehub/apiv1beta1;gkehub", -- service_yaml = "gkehub_v1beta1.yaml", +- name = "metastore_go_gapic", +- srcs = [":metastore_proto_with_info"], +- grpc_service_config = "metastore_grpc_service_config.json", +- importpath = "cloud.google.com/go/metastore/apiv1;metastore", +- metadata = True, +- service_yaml = "metastore_v1.yaml", - deps = [ -- ":gkehub_go_proto", +- ":metastore_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", @@ -29514,19 +45113,20 @@ diff -urN a/google/cloud/gkehub/v1beta1/BUILD.bazel b/google/cloud/gkehub/v1beta -) - -go_test( -- name = "gkehub_go_gapic_test", -- srcs = [":gkehub_go_gapic_srcjar_test"], -- embed = [":gkehub_go_gapic"], -- importpath = "cloud.google.com/go/gkehub/apiv1beta1", +- name = "metastore_go_gapic_test", +- srcs = [":metastore_go_gapic_srcjar_test"], +- embed = [":metastore_go_gapic"], +- importpath = "cloud.google.com/go/metastore/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-gkehub-v1beta1-go", +- name = "gapi-cloud-metastore-v1-go", - deps = [ -- ":gkehub_go_gapic", -- ":gkehub_go_gapic_srcjar-test.srcjar", -- ":gkehub_go_proto", +- ":metastore_go_gapic", +- ":metastore_go_gapic_srcjar-metadata.srcjar", +- ":metastore_go_gapic_srcjar-test.srcjar", +- ":metastore_go_proto", - ], -) - @@ -29540,16 +45140,16 @@ diff -urN a/google/cloud/gkehub/v1beta1/BUILD.bazel b/google/cloud/gkehub/v1beta -) - -py_gapic_library( -- name = "gkehub_py_gapic", -- srcs = [":gkehub_proto"], -- grpc_service_config = "membership_grpc_service_config.json", +- name = "metastore_py_gapic", +- srcs = [":metastore_proto"], +- grpc_service_config = "metastore_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "gkehub-v1beta1-py", +- name = "metastore-v1-py", - deps = [ -- ":gkehub_py_gapic", +- ":metastore_py_gapic", - ], -) - @@ -29565,36 +45165,34 @@ diff -urN a/google/cloud/gkehub/v1beta1/BUILD.bazel b/google/cloud/gkehub/v1beta -) - -php_proto_library( -- name = "gkehub_php_proto", -- deps = [":gkehub_proto"], +- name = "metastore_php_proto", +- deps = [":metastore_proto"], -) - -php_grpc_library( -- name = "gkehub_php_grpc", -- srcs = [":gkehub_proto"], -- deps = [":gkehub_php_proto"], +- name = "metastore_php_grpc", +- srcs = [":metastore_proto"], +- deps = [":metastore_php_proto"], -) - -php_gapic_library( -- name = "gkehub_php_gapic", -- src = ":gkehub_proto_with_info", -- gapic_yaml = "memberships_gapic.yaml", -- grpc_service_config = "membership_grpc_service_config.json", -- package = "google.cloud.gkehub.v1beta1", -- service_yaml = "gkehub_v1beta1.yaml", +- name = "metastore_php_gapic", +- srcs = [":metastore_proto_with_info"], +- grpc_service_config = "metastore_grpc_service_config.json", +- service_yaml = "metastore_v1.yaml", - deps = [ -- ":gkehub_php_grpc", -- ":gkehub_php_proto", +- ":metastore_php_grpc", +- ":metastore_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-gkehub-v1beta1-php", +- name = "google-cloud-metastore-v1-php", - deps = [ -- ":gkehub_php_gapic", -- ":gkehub_php_grpc", -- ":gkehub_php_proto", +- ":metastore_php_gapic", +- ":metastore_php_grpc", +- ":metastore_php_proto", - ], -) - @@ -29608,21 +45206,21 @@ diff -urN a/google/cloud/gkehub/v1beta1/BUILD.bazel b/google/cloud/gkehub/v1beta -) - -nodejs_gapic_library( -- name = "gkehub_nodejs_gapic", -- package_name = "@google-cloud/gke-hub", -- src = ":gkehub_proto_with_info", +- name = "metastore_nodejs_gapic", +- package_name = "@google-cloud/metastore", +- src = ":metastore_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "membership_grpc_service_config.json", -- package = "google.cloud.gkehub.v1beta1", -- service_yaml = "gkehub_v1beta1.yaml", +- grpc_service_config = "metastore_grpc_service_config.json", +- package = "google.cloud.metastore.v1", +- service_yaml = "metastore_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "gkehub-v1beta1-nodejs", +- name = "metastore-v1-nodejs", - deps = [ -- ":gkehub_nodejs_gapic", -- ":gkehub_proto", +- ":metastore_nodejs_gapic", +- ":metastore_proto", - ], -) - @@ -29631,43 +45229,49 @@ diff -urN a/google/cloud/gkehub/v1beta1/BUILD.bazel b/google/cloud/gkehub/v1beta -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "gkehub_ruby_proto", -- deps = [":gkehub_proto"], +- name = "metastore_ruby_proto", +- deps = [":metastore_proto"], -) - -ruby_grpc_library( -- name = "gkehub_ruby_grpc", -- srcs = [":gkehub_proto"], -- deps = [":gkehub_ruby_proto"], +- name = "metastore_ruby_grpc", +- srcs = [":metastore_proto"], +- deps = [":metastore_ruby_proto"], -) - --ruby_gapic_library( -- name = "gkehub_ruby_gapic", -- src = ":gkehub_proto_with_info", -- gapic_yaml = "memberships_gapic.yaml", -- grpc_service_config = "membership_grpc_service_config.json", -- package = "google.cloud.gkehub.v1beta1", -- service_yaml = "gkehub_v1beta1.yaml", +-ruby_cloud_gapic_library( +- name = "metastore_ruby_gapic", +- srcs = [":metastore_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-metastore-v1", +- "ruby-cloud-env-prefix=METASTORE", +- "ruby-cloud-product-url=https://cloud.google.com/dataproc-metastore/", +- "ruby-cloud-api-id=metastore.googleapis.com", +- "ruby-cloud-api-shortname=metastore", +- ], +- grpc_service_config = "metastore_grpc_service_config.json", +- ruby_cloud_description = "Dataproc Metastore is a fully managed, highly available within a region, autohealing serverless Apache Hive metastore (HMS) on Google Cloud for data analytics products. It supports HMS and serves as a critical component for managing the metadata of relational entities and provides interoperability between data processing applications in the open source data ecosystem.", +- ruby_cloud_title = "Dataproc Metastore V1", - deps = [ -- ":gkehub_ruby_grpc", -- ":gkehub_ruby_proto", +- ":metastore_ruby_grpc", +- ":metastore_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-gkehub-v1beta1-ruby", +- name = "google-cloud-metastore-v1-ruby", - deps = [ -- ":gkehub_ruby_gapic", -- ":gkehub_ruby_grpc", -- ":gkehub_ruby_proto", +- ":metastore_ruby_gapic", +- ":metastore_ruby_grpc", +- ":metastore_ruby_proto", - ], -) - @@ -29683,34 +45287,34 @@ diff -urN a/google/cloud/gkehub/v1beta1/BUILD.bazel b/google/cloud/gkehub/v1beta -) - -csharp_proto_library( -- name = "gkehub_csharp_proto", -- deps = [":gkehub_proto"], +- name = "metastore_csharp_proto", +- deps = [":metastore_proto"], -) - -csharp_grpc_library( -- name = "gkehub_csharp_grpc", -- srcs = [":gkehub_proto"], -- deps = [":gkehub_csharp_proto"], +- name = "metastore_csharp_grpc", +- srcs = [":metastore_proto"], +- deps = [":metastore_csharp_proto"], -) - -csharp_gapic_library( -- name = "gkehub_csharp_gapic", -- srcs = [":gkehub_proto_with_info"], +- name = "metastore_csharp_gapic", +- srcs = [":metastore_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "membership_grpc_service_config.json", +- grpc_service_config = "metastore_grpc_service_config.json", - deps = [ -- ":gkehub_csharp_grpc", -- ":gkehub_csharp_proto", +- ":metastore_csharp_grpc", +- ":metastore_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-gkehub-v1beta1-csharp", +- name = "google-cloud-metastore-v1-csharp", - deps = [ -- ":gkehub_csharp_gapic", -- ":gkehub_csharp_grpc", -- ":gkehub_csharp_proto", +- ":metastore_csharp_gapic", +- ":metastore_csharp_grpc", +- ":metastore_csharp_proto", - ], -) - @@ -29718,12 +45322,12 @@ diff -urN a/google/cloud/gkehub/v1beta1/BUILD.bazel b/google/cloud/gkehub/v1beta -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/gsuiteaddons/v1/BUILD.bazel b/google/cloud/gsuiteaddons/v1/BUILD.bazel ---- a/google/cloud/gsuiteaddons/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/gsuiteaddons/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,302 +0,0 @@ +diff -urN a/google/cloud/metastore/v1alpha/BUILD.bazel b/google/cloud/metastore/v1alpha/BUILD.bazel +--- a/google/cloud/metastore/v1alpha/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/metastore/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,342 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +-# https://github.com/googleapis/rules_gapic/tree/master/bazel - -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: @@ -29733,290 +45337,330 @@ diff -urN a/google/cloud/gsuiteaddons/v1/BUILD.bazel b/google/cloud/gsuiteaddons -# * extra_protoc_file_parameters -# The complete list of preserved parameters can be found in the source code. - +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", -- "csharp_grpc_library", -- "csharp_proto_library", -- "go_gapic_assembly_pkg", -- "go_gapic_library", -- "go_proto_library", -- "go_test", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", -- "java_grpc_library", -- "java_proto_library", -- "nodejs_gapic_assembly_pkg", -- "nodejs_gapic_library", -- "php_gapic_assembly_pkg", -- "php_gapic_library", -- "php_grpc_library", -- "php_proto_library", -- "proto_library_with_info", -- "py_gapic_assembly_pkg", -- "py_gapic_library", -- "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", -- "ruby_grpc_library", -- "ruby_proto_library", --) -- --# This is an API workspace, having public visibility by default makes perfect sense. --package(default_visibility = ["//visibility:public"]) +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "gsuiteaddons_proto", +- name = "metastore_proto", - srcs = [ -- "gsuiteaddons.proto", +- "metastore.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/apps/script/type:type_proto", -- "//google/apps/script/type/calendar:calendar_proto", -- "//google/apps/script/type/docs:docs_proto", -- "//google/apps/script/type/drive:drive_proto", -- "//google/apps/script/type/gmail:gmail_proto", -- "//google/apps/script/type/sheets:sheets_proto", -- "//google/apps/script/type/slides:slides_proto", -- "@com_google_protobuf//:empty_proto", +- "//google/longrunning:operations_proto", +- "//google/type:dayofweek_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", - "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "gsuiteaddons_proto_with_info", +- name = "metastore_proto_with_info", - deps = [ -- ":gsuiteaddons_proto", +- ":metastore_proto", - "//google/cloud:common_resources_proto", - ], -) - +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- -java_proto_library( -- name = "gsuiteaddons_java_proto", -- deps = [":gsuiteaddons_proto"], +- name = "metastore_java_proto", +- deps = [":metastore_proto"], -) - -java_grpc_library( -- name = "gsuiteaddons_java_grpc", -- srcs = [":gsuiteaddons_proto"], -- deps = [":gsuiteaddons_java_proto"], +- name = "metastore_java_grpc", +- srcs = [":metastore_proto"], +- deps = [":metastore_java_proto"], -) - -java_gapic_library( -- name = "gsuiteaddons_java_gapic", -- srcs = [":gsuiteaddons_proto_with_info"], -- grpc_service_config = "gsuiteaddons_grpc_service_config.json", +- name = "metastore_java_gapic", +- srcs = [":metastore_proto_with_info"], +- gapic_yaml = "metastore_gapic.yaml", +- grpc_service_config = "metastore_grpc_service_config.json", - test_deps = [ -- ":gsuiteaddons_java_grpc", +- ":metastore_java_grpc", - ], - deps = [ -- ":gsuiteaddons_java_proto", +- ":metastore_java_proto", - ], -) - -java_gapic_test( -- name = "gsuiteaddons_java_gapic_test_suite", +- name = "metastore_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.gsuiteaddons.v1.GSuiteAddOnsClientTest", +- "com.google.cloud.metastore.v1alpha.DataprocMetastoreClientTest", - ], -- runtime_deps = [":gsuiteaddons_java_gapic_test"], +- runtime_deps = [":metastore_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-gsuiteaddons-v1-java", +- name = "google-cloud-metastore-v1alpha-java", - deps = [ -- ":gsuiteaddons_java_gapic", -- ":gsuiteaddons_java_grpc", -- ":gsuiteaddons_java_proto", -- ":gsuiteaddons_proto", +- ":metastore_java_gapic", +- ":metastore_java_grpc", +- ":metastore_java_proto", +- ":metastore_proto", - ], -) - +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- -go_proto_library( -- name = "gsuiteaddons_go_proto", +- name = "metastore_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/gsuiteaddons/v1", -- protos = [":gsuiteaddons_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/metastore/v1alpha", +- protos = [":metastore_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/apps/script/type:type_go_proto", -- "//google/apps/script/type/calendar:calendar_go_proto", -- "//google/apps/script/type/docs:docs_go_proto", -- "//google/apps/script/type/drive:drive_go_proto", -- "//google/apps/script/type/gmail:gmail_go_proto", -- "//google/apps/script/type/sheets:sheets_go_proto", -- "//google/apps/script/type/slides:slides_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//google/type:dayofweek_go_proto", - ], -) - -go_gapic_library( -- name = "gsuiteaddons_go_gapic", -- srcs = [":gsuiteaddons_proto_with_info"], -- grpc_service_config = "gsuiteaddons_grpc_service_config.json", -- importpath = "cloud.google.com/go/gsuiteaddons/apiv1;gsuiteaddons", -- service_yaml = "gsuiteaddons_v1.yaml", +- name = "metastore_go_gapic", +- srcs = [":metastore_proto_with_info"], +- grpc_service_config = "metastore_grpc_service_config.json", +- importpath = "cloud.google.com/go/metastore/apiv1alpha;metastore", +- metadata = True, +- service_yaml = "metastore_v1alpha.yaml", - deps = [ -- ":gsuiteaddons_go_proto", +- ":metastore_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", - ], -) - -go_test( -- name = "gsuiteaddons_go_gapic_test", -- srcs = [":gsuiteaddons_go_gapic_srcjar_test"], -- embed = [":gsuiteaddons_go_gapic"], -- importpath = "cloud.google.com/go/gsuiteaddons/apiv1", +- name = "metastore_go_gapic_test", +- srcs = [":metastore_go_gapic_srcjar_test"], +- embed = [":metastore_go_gapic"], +- importpath = "cloud.google.com/go/metastore/apiv1alpha", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-gsuiteaddons-v1-go", +- name = "gapi-cloud-metastore-v1alpha-go", - deps = [ -- ":gsuiteaddons_go_gapic", -- ":gsuiteaddons_go_gapic_srcjar-test.srcjar", -- ":gsuiteaddons_go_proto", +- ":metastore_go_gapic", +- ":metastore_go_gapic_srcjar-metadata.srcjar", +- ":metastore_go_gapic_srcjar-test.srcjar", +- ":metastore_go_proto", - ], -) - +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- -py_gapic_library( -- name = "gsuiteaddons_py_gapic", -- srcs = [":gsuiteaddons_proto"], -- grpc_service_config = "gsuiteaddons_grpc_service_config.json", +- name = "metastore_py_gapic", +- srcs = [":metastore_proto"], +- grpc_service_config = "metastore_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "gsuiteaddons-v1-py", +- name = "metastore-v1alpha-py", - deps = [ -- ":gsuiteaddons_py_gapic", +- ":metastore_py_gapic", - ], -) - +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- -php_proto_library( -- name = "gsuiteaddons_php_proto", -- deps = [":gsuiteaddons_proto"], +- name = "metastore_php_proto", +- deps = [":metastore_proto"], -) - -php_grpc_library( -- name = "gsuiteaddons_php_grpc", -- srcs = [":gsuiteaddons_proto"], -- deps = [":gsuiteaddons_php_proto"], +- name = "metastore_php_grpc", +- srcs = [":metastore_proto"], +- deps = [":metastore_php_proto"], -) - -php_gapic_library( -- name = "gsuiteaddons_php_gapic", -- src = ":gsuiteaddons_proto_with_info", -- gapic_yaml = "gsuiteaddons_gapic.yaml", -- grpc_service_config = "gsuiteaddons_grpc_service_config.json", -- package = "google.cloud.gsuiteaddons.v1", -- service_yaml = "gsuiteaddons_v1.yaml", +- name = "metastore_php_gapic", +- srcs = [":metastore_proto_with_info"], +- gapic_yaml = "metastore_gapic.yaml", +- grpc_service_config = "metastore_grpc_service_config.json", +- service_yaml = "metastore_v1alpha.yaml", - deps = [ -- ":gsuiteaddons_php_grpc", -- ":gsuiteaddons_php_proto", +- ":metastore_php_grpc", +- ":metastore_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-gsuiteaddons-v1-php", +- name = "google-cloud-metastore-v1alpha-php", - deps = [ -- ":gsuiteaddons_php_gapic", -- ":gsuiteaddons_php_grpc", -- ":gsuiteaddons_php_proto", +- ":metastore_php_gapic", +- ":metastore_php_grpc", +- ":metastore_php_proto", - ], -) - +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- -nodejs_gapic_library( -- name = "gsuiteaddons_nodejs_gapic", -- package_name = "@google-cloud/gsuiteaddons", -- src = ":gsuiteaddons_proto_with_info", +- name = "metastore_nodejs_gapic", +- package_name = "@google-cloud/dataproc-metastore", +- src = ":metastore_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "gsuiteaddons_grpc_service_config.json", -- package = "google.cloud.gsuiteaddons.v1", -- service_yaml = "gsuiteaddons_v1.yaml", +- grpc_service_config = "metastore_grpc_service_config.json", +- package = "google.cloud.metastore.v1alpha", +- service_yaml = "metastore_v1alpha.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "gsuiteaddons-v1-nodejs", +- name = "metastore-v1alpha-nodejs", - deps = [ -- ":gsuiteaddons_nodejs_gapic", -- ":gsuiteaddons_proto", +- ":metastore_nodejs_gapic", +- ":metastore_proto", - ], -) - +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- -ruby_proto_library( -- name = "gsuiteaddons_ruby_proto", -- deps = [":gsuiteaddons_proto"], +- name = "metastore_ruby_proto", +- deps = [":metastore_proto"], -) - -ruby_grpc_library( -- name = "gsuiteaddons_ruby_grpc", -- srcs = [":gsuiteaddons_proto"], -- deps = [":gsuiteaddons_ruby_proto"], +- name = "metastore_ruby_grpc", +- srcs = [":metastore_proto"], +- deps = [":metastore_ruby_proto"], -) - --ruby_gapic_library( -- name = "gsuiteaddons_ruby_gapic", -- src = ":gsuiteaddons_proto_with_info", -- gapic_yaml = "gsuiteaddons_gapic.yaml", -- grpc_service_config = "gsuiteaddons_grpc_service_config.json", -- package = "google.cloud.gsuiteaddons.v1", -- service_yaml = "gsuiteaddons_v1.yaml", +-ruby_cloud_gapic_library( +- name = "metastore_ruby_gapic", +- srcs = [":metastore_proto_with_info"], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-metastore-v1alpha"], +- grpc_service_config = "metastore_grpc_service_config.json", - deps = [ -- ":gsuiteaddons_ruby_grpc", -- ":gsuiteaddons_ruby_proto", +- ":metastore_ruby_grpc", +- ":metastore_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-gsuiteaddons-v1-ruby", +- name = "google-cloud-metastore-v1alpha-ruby", - deps = [ -- ":gsuiteaddons_ruby_gapic", -- ":gsuiteaddons_ruby_grpc", -- ":gsuiteaddons_ruby_proto", +- ":metastore_ruby_gapic", +- ":metastore_ruby_grpc", +- ":metastore_ruby_proto", - ], -) - +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- -csharp_proto_library( -- name = "gsuiteaddons_csharp_proto", -- deps = [":gsuiteaddons_proto"], +- name = "metastore_csharp_proto", +- deps = [":metastore_proto"], -) - -csharp_grpc_library( -- name = "gsuiteaddons_csharp_grpc", -- srcs = [":gsuiteaddons_proto"], -- deps = [":gsuiteaddons_csharp_proto"], +- name = "metastore_csharp_grpc", +- srcs = [":metastore_proto"], +- deps = [":metastore_csharp_proto"], -) - -csharp_gapic_library( -- name = "gsuiteaddons_csharp_gapic", -- srcs = [":gsuiteaddons_proto_with_info"], +- name = "metastore_csharp_gapic", +- srcs = [":metastore_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "gsuiteaddons_grpc_service_config.json", +- grpc_service_config = "metastore_grpc_service_config.json", - deps = [ -- ":gsuiteaddons_csharp_grpc", -- ":gsuiteaddons_csharp_proto", +- ":metastore_csharp_grpc", +- ":metastore_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-gsuiteaddons-v1-csharp", +- name = "google-cloud-metastore-v1alpha-csharp", - deps = [ -- ":gsuiteaddons_csharp_gapic", -- ":gsuiteaddons_csharp_grpc", -- ":gsuiteaddons_csharp_proto", +- ":metastore_csharp_gapic", +- ":metastore_csharp_grpc", +- ":metastore_csharp_proto", - ], -) - @@ -30024,16 +45668,20 @@ diff -urN a/google/cloud/gsuiteaddons/v1/BUILD.bazel b/google/cloud/gsuiteaddons -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/iot/BUILD.bazel b/google/cloud/iot/BUILD.bazel ---- a/google/cloud/iot/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/iot/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/cloud/iot/v1/BUILD.bazel b/google/cloud/iot/v1/BUILD.bazel ---- a/google/cloud/iot/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/iot/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,341 +0,0 @@ +diff -urN a/google/cloud/metastore/v1beta/BUILD.bazel b/google/cloud/metastore/v1beta/BUILD.bazel +--- a/google/cloud/metastore/v1beta/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/metastore/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,351 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -30045,29 +45693,27 @@ diff -urN a/google/cloud/iot/v1/BUILD.bazel b/google/cloud/iot/v1/BUILD.bazel -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "iot_proto", +- name = "metastore_proto", - srcs = [ -- "device_manager.proto", -- "resources.proto", +- "metastore.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/iam/v1:iam_policy_proto", -- "//google/iam/v1:policy_proto", -- "//google/rpc:status_proto", -- "@com_google_protobuf//:empty_proto", +- "//google/longrunning:operations_proto", +- "//google/type:dayofweek_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "iot_proto_with_info", +- name = "metastore_proto_with_info", - deps = [ -- ":iot_proto", +- ":metastore_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -30085,46 +45731,45 @@ diff -urN a/google/cloud/iot/v1/BUILD.bazel b/google/cloud/iot/v1/BUILD.bazel -) - -java_proto_library( -- name = "iot_java_proto", -- deps = [":iot_proto"], +- name = "metastore_java_proto", +- deps = [":metastore_proto"], -) - -java_grpc_library( -- name = "iot_java_grpc", -- srcs = [":iot_proto"], -- deps = [":iot_java_proto"], +- name = "metastore_java_grpc", +- srcs = [":metastore_proto"], +- deps = [":metastore_java_proto"], -) - -java_gapic_library( -- name = "iot_java_gapic", -- srcs = [":iot_proto_with_info"], -- grpc_service_config = "cloudiot_grpc_service_config.json", +- name = "metastore_java_gapic", +- srcs = [":metastore_proto_with_info"], +- gapic_yaml = "metastore_gapic.yaml", +- grpc_service_config = "metastore_grpc_service_config.json", - test_deps = [ -- ":iot_java_grpc", -- "//google/iam/v1:iam_java_grpc", +- ":metastore_java_grpc", - ], - deps = [ -- ":iot_java_proto", -- "//google/iam/v1:iam_java_proto", +- ":metastore_java_proto", - ], -) - -java_gapic_test( -- name = "iot_java_gapic_test_suite", +- name = "metastore_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.iot.v1.DeviceManagerClientTest", +- "com.google.cloud.metastore.v1beta.DataprocMetastoreClientTest", - ], -- runtime_deps = [":iot_java_gapic_test"], +- runtime_deps = [":metastore_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-iot-v1-java", +- name = "google-cloud-metastore-v1beta-java", - deps = [ -- ":iot_java_gapic", -- ":iot_java_grpc", -- ":iot_java_proto", -- ":iot_proto", +- ":metastore_java_gapic", +- ":metastore_java_grpc", +- ":metastore_java_proto", +- ":metastore_proto", - ], -) - @@ -30140,43 +45785,47 @@ diff -urN a/google/cloud/iot/v1/BUILD.bazel b/google/cloud/iot/v1/BUILD.bazel -) - -go_proto_library( -- name = "iot_go_proto", +- name = "metastore_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/iot/v1", -- protos = [":iot_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/metastore/v1beta", +- protos = [":metastore_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/iam/v1:iam_go_proto", -- "//google/rpc:status_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//google/type:dayofweek_go_proto", - ], -) - -go_gapic_library( -- name = "iot_go_gapic", -- srcs = [":iot_proto_with_info"], -- grpc_service_config = "cloudiot_grpc_service_config.json", -- importpath = "cloud.google.com/go/iot/apiv1;iot", -- service_yaml = "cloudiot_v1.yaml", +- name = "metastore_go_gapic", +- srcs = [":metastore_proto_with_info"], +- grpc_service_config = "metastore_grpc_service_config.json", +- importpath = "cloud.google.com/go/metastore/apiv1beta;metastore", +- metadata = True, +- service_yaml = "metastore_v1beta.yaml", - deps = [ -- ":iot_go_proto", -- "//google/iam/v1:iam_go_proto", +- ":metastore_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", - ], -) - -go_test( -- name = "iot_go_gapic_test", -- srcs = [":iot_go_gapic_srcjar_test"], -- embed = [":iot_go_gapic"], -- importpath = "cloud.google.com/go/iot/apiv1", +- name = "metastore_go_gapic_test", +- srcs = [":metastore_go_gapic_srcjar_test"], +- embed = [":metastore_go_gapic"], +- importpath = "cloud.google.com/go/metastore/apiv1beta", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-iot-v1-go", +- name = "gapi-cloud-metastore-v1beta-go", - deps = [ -- ":iot_go_gapic", -- ":iot_go_gapic_srcjar-test.srcjar", -- ":iot_go_proto", +- ":metastore_go_gapic", +- ":metastore_go_gapic_srcjar-metadata.srcjar", +- ":metastore_go_gapic_srcjar-test.srcjar", +- ":metastore_go_proto", - ], -) - @@ -30190,15 +45839,17 @@ diff -urN a/google/cloud/iot/v1/BUILD.bazel b/google/cloud/iot/v1/BUILD.bazel -) - -py_gapic_library( -- name = "iot_py_gapic", -- srcs = [":iot_proto"], -- grpc_service_config = "cloudiot_grpc_service_config.json", +- name = "metastore_py_gapic", +- srcs = [":metastore_proto"], +- grpc_service_config = "metastore_grpc_service_config.json", +- opt_args = ["warehouse-package-name=google-cloud-dataproc-metastore"], -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "iot-v1-py", +- name = "metastore-v1beta-py", - deps = [ -- ":iot_py_gapic", +- ":metastore_py_gapic", - ], -) - @@ -30214,36 +45865,35 @@ diff -urN a/google/cloud/iot/v1/BUILD.bazel b/google/cloud/iot/v1/BUILD.bazel -) - -php_proto_library( -- name = "iot_php_proto", -- deps = [":iot_proto"], +- name = "metastore_php_proto", +- deps = [":metastore_proto"], -) - -php_grpc_library( -- name = "iot_php_grpc", -- srcs = [":iot_proto"], -- deps = [":iot_php_proto"], +- name = "metastore_php_grpc", +- srcs = [":metastore_proto"], +- deps = [":metastore_php_proto"], -) - -php_gapic_library( -- name = "iot_php_gapic", -- src = ":iot_proto_with_info", -- gapic_yaml = "cloudiot_gapic.yaml", -- grpc_service_config = "cloudiot_grpc_service_config.json", -- package = "google.cloud.iot.v1", -- service_yaml = "cloudiot_v1.yaml", +- name = "metastore_php_gapic", +- srcs = [":metastore_proto_with_info"], +- gapic_yaml = "metastore_gapic.yaml", +- grpc_service_config = "metastore_grpc_service_config.json", +- service_yaml = "metastore_v1beta.yaml", - deps = [ -- ":iot_php_grpc", -- ":iot_php_proto", +- ":metastore_php_grpc", +- ":metastore_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-iot-v1-php", +- name = "google-cloud-metastore-v1beta-php", - deps = [ -- ":iot_php_gapic", -- ":iot_php_grpc", -- ":iot_php_proto", +- ":metastore_php_gapic", +- ":metastore_php_grpc", +- ":metastore_php_proto", - ], -) - @@ -30257,22 +45907,21 @@ diff -urN a/google/cloud/iot/v1/BUILD.bazel b/google/cloud/iot/v1/BUILD.bazel -) - -nodejs_gapic_library( -- name = "iot_nodejs_gapic", -- package_name = "@google-cloud/iot", -- src = ":iot_proto_with_info", +- name = "metastore_nodejs_gapic", +- package_name = "@google-cloud/dataproc-metastore", +- src = ":metastore_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "cloudiot_grpc_service_config.json", -- main_service = "iot", -- package = "google.cloud.iot.v1", -- service_yaml = "cloudiot_v1.yaml", +- grpc_service_config = "metastore_grpc_service_config.json", +- package = "google.cloud.metastore.v1beta", +- service_yaml = "metastore_v1beta.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "iot-v1-nodejs", +- name = "metastore-v1beta-nodejs", - deps = [ -- ":iot_nodejs_gapic", -- ":iot_proto", +- ":metastore_nodejs_gapic", +- ":metastore_proto", - ], -) - @@ -30288,42 +45937,42 @@ diff -urN a/google/cloud/iot/v1/BUILD.bazel b/google/cloud/iot/v1/BUILD.bazel -) - -ruby_proto_library( -- name = "iot_ruby_proto", -- deps = [":iot_proto"], +- name = "metastore_ruby_proto", +- deps = [":metastore_proto"], -) - -ruby_grpc_library( -- name = "iot_ruby_grpc", -- srcs = [":iot_proto"], -- deps = [":iot_ruby_proto"], +- name = "metastore_ruby_grpc", +- srcs = [":metastore_proto"], +- deps = [":metastore_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "iot_ruby_gapic", -- srcs = [":iot_proto_with_info"], +- name = "metastore_ruby_gapic", +- srcs = [":metastore_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-iot-v1", -- "ruby-cloud-env-prefix=IOT", -- "ruby-cloud-product-url=https://cloud.google.com/iot", -- "ruby-cloud-api-id=cloudiot.googleapis.com", -- "ruby-cloud-api-shortname=cloudiot", +- "ruby-cloud-gem-name=google-cloud-metastore-v1beta", +- "ruby-cloud-env-prefix=METASTORE", +- "ruby-cloud-product-url=https://cloud.google.com/dataproc-metastore/", +- "ruby-cloud-api-id=metastore.googleapis.com", +- "ruby-cloud-api-shortname=metastore", - ], -- grpc_service_config = "cloudiot_grpc_service_config.json", -- ruby_cloud_description = "Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform.", -- ruby_cloud_title = "Cloud IoT V1", +- grpc_service_config = "metastore_grpc_service_config.json", +- ruby_cloud_description = "Dataproc Metastore is a fully managed, highly available within a region, autohealing serverless Apache Hive metastore (HMS) on Google Cloud for data analytics products. It supports HMS and serves as a critical component for managing the metadata of relational entities and provides interoperability between data processing applications in the open source data ecosystem.", +- ruby_cloud_title = "Dataproc Metastore V1beta", - deps = [ -- ":iot_ruby_grpc", -- ":iot_ruby_proto", +- ":metastore_ruby_grpc", +- ":metastore_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-iot-v1-ruby", +- name = "google-cloud-metastore-v1beta-ruby", - deps = [ -- ":iot_ruby_gapic", -- ":iot_ruby_grpc", -- ":iot_ruby_proto", +- ":metastore_ruby_gapic", +- ":metastore_ruby_grpc", +- ":metastore_ruby_proto", - ], -) - @@ -30339,34 +45988,34 @@ diff -urN a/google/cloud/iot/v1/BUILD.bazel b/google/cloud/iot/v1/BUILD.bazel -) - -csharp_proto_library( -- name = "iot_csharp_proto", -- deps = [":iot_proto"], +- name = "metastore_csharp_proto", +- deps = [":metastore_proto"], -) - -csharp_grpc_library( -- name = "iot_csharp_grpc", -- srcs = [":iot_proto"], -- deps = [":iot_csharp_proto"], +- name = "metastore_csharp_grpc", +- srcs = [":metastore_proto"], +- deps = [":metastore_csharp_proto"], -) - -csharp_gapic_library( -- name = "iot_csharp_gapic", -- srcs = [":iot_proto_with_info"], +- name = "metastore_csharp_gapic", +- srcs = [":metastore_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "cloudiot_grpc_service_config.json", +- grpc_service_config = "metastore_grpc_service_config.json", - deps = [ -- ":iot_csharp_grpc", -- ":iot_csharp_proto", +- ":metastore_csharp_grpc", +- ":metastore_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-iot-v1-csharp", +- name = "google-cloud-metastore-v1beta-csharp", - deps = [ -- ":iot_csharp_gapic", -- ":iot_csharp_grpc", -- ":iot_csharp_proto", +- ":metastore_csharp_gapic", +- ":metastore_csharp_grpc", +- ":metastore_csharp_proto", - ], -) - @@ -30374,16 +46023,20 @@ diff -urN a/google/cloud/iot/v1/BUILD.bazel b/google/cloud/iot/v1/BUILD.bazel -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/kms/BUILD.bazel b/google/cloud/kms/BUILD.bazel ---- a/google/cloud/kms/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/kms/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/cloud/kms/v1/BUILD.bazel b/google/cloud/kms/v1/BUILD.bazel ---- a/google/cloud/kms/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/kms/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,375 +0,0 @@ --load("@rules_proto//proto:defs.bzl", "proto_library") +diff -urN a/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel b/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel +--- a/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,344 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -30391,106 +46044,84 @@ diff -urN a/google/cloud/kms/v1/BUILD.bazel b/google/cloud/kms/v1/BUILD.bazel -############################################################################## -# Common -############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "kms_proto", +- name = "networkconnectivity_proto", - srcs = [ -- "resources.proto", -- "service.proto", +- "common.proto", +- "hub.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "@com_google_protobuf//:duration_proto", +- "//google/longrunning:operations_proto", - "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", -- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "kms_proto_with_info", +- name = "networkconnectivity_proto_with_info", - deps = [ -- ":kms_proto", +- ":networkconnectivity_proto", - "//google/cloud:common_resources_proto", -- "//google/iam/v1:iam_policy_proto", -- "//google/iam/v1:policy_proto", - ], -) - -############################################################################## -# Java --# DO NOT OVERRIDE with autogenerated rules if NOT migrated to Java Microgen -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -- java_gapic_assembly_gradle_pkg = "java_gapic_assembly_gradle_pkg_legacy", -- java_gapic_library = "java_gapic_library_legacy", -- java_gapic_test = "java_gapic_test_legacy", -- java_resource_name_proto_library = "java_resource_name_proto_library_legacy", -) - -java_proto_library( -- name = "kms_java_proto", -- deps = [":kms_proto"], +- name = "networkconnectivity_java_proto", +- deps = [":networkconnectivity_proto"], -) - -java_grpc_library( -- name = "kms_java_grpc", -- srcs = [":kms_proto"], -- deps = [":kms_java_proto"], --) -- --java_resource_name_proto_library( -- name = "kms_java_gapic_resource_name", -- gapic_yaml = "cloudkms_gapic.yaml", -- deps = [ -- ":kms_proto", -- "//google/cloud:common_resources_proto", -- ], +- name = "networkconnectivity_java_grpc", +- srcs = [":networkconnectivity_proto"], +- deps = [":networkconnectivity_java_proto"], -) - -java_gapic_library( -- name = "kms_java_gapic", -- src = ":kms_proto_with_info", -- gapic_yaml = "cloudkms_gapic.yaml", -- gen_resource_name = False, -- grpc_service_config = "cloudkms_grpc_service_config.json", -- service_yaml = "cloudkms_v1.yaml", +- name = "networkconnectivity_java_gapic", +- srcs = [":networkconnectivity_proto_with_info"], +- grpc_service_config = "networkconnectivity_grpc_service_config.json", - test_deps = [ -- ":kms_java_grpc", -- "//google/iam/v1:iam_java_grpc", +- ":networkconnectivity_java_grpc", - ], - deps = [ -- ":kms_java_gapic_resource_name", -- ":kms_java_proto", -- "//google/iam/v1:iam_java_proto", +- ":networkconnectivity_java_proto", - ], -) - -java_gapic_test( -- name = "kms_java_gapic_test_suite", +- name = "networkconnectivity_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.kms.v1.KeyManagementServiceClientTest", - ], -- runtime_deps = [":kms_java_gapic_test"], +- runtime_deps = [":networkconnectivity_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-kms-v1-java", +- name = "google-cloud-networkconnectivity-v1alpha1-java", - deps = [ -- ":kms_java_gapic", -- ":kms_java_gapic_resource_name", -- ":kms_java_grpc", -- ":kms_java_proto", -- ":kms_proto", +- ":networkconnectivity_java_gapic", +- ":networkconnectivity_java_grpc", +- ":networkconnectivity_java_proto", +- ":networkconnectivity_proto", - ], -) - @@ -30506,43 +46137,44 @@ diff -urN a/google/cloud/kms/v1/BUILD.bazel b/google/cloud/kms/v1/BUILD.bazel -) - -go_proto_library( -- name = "kms_go_proto", +- name = "networkconnectivity_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/kms/v1", -- protos = [":kms_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/networkconnectivity/v1alpha1", +- protos = [":networkconnectivity_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "kms_go_gapic", -- srcs = [":kms_proto_with_info"], -- grpc_service_config = "cloudkms_grpc_service_config.json", -- importpath = "cloud.google.com/go/kms/apiv1;kms", -- service_yaml = "cloudkms_v1.yaml", +- name = "networkconnectivity_go_gapic", +- srcs = [":networkconnectivity_proto_with_info"], +- grpc_service_config = "networkconnectivity_grpc_service_config.json", +- importpath = "cloud.google.com/go/networkconnectivity/apiv1alpha1;networkconnectivity", +- service_yaml = "networkconnectivity_v1alpha1.yaml", - deps = [ -- ":kms_go_proto", -- "//google/iam/v1:iam_go_proto", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- ":networkconnectivity_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", - ], -) - -go_test( -- name = "kms_go_gapic_test", -- srcs = [":kms_go_gapic_srcjar_test"], -- embed = [":kms_go_gapic"], -- importpath = "cloud.google.com/go/kms/apiv1", +- name = "networkconnectivity_go_gapic_test", +- srcs = [":networkconnectivity_go_gapic_srcjar_test"], +- embed = [":networkconnectivity_go_gapic"], +- importpath = "cloud.google.com/go/networkconnectivity/apiv1alpha1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-kms-v1-go", +- name = "gapi-cloud-networkconnectivity-v1alpha1-go", - deps = [ -- ":kms_go_gapic", -- ":kms_go_gapic_srcjar-test.srcjar", -- ":kms_go_proto", +- ":networkconnectivity_go_gapic", +- ":networkconnectivity_go_gapic_srcjar-test.srcjar", +- ":networkconnectivity_go_proto", - ], -) - @@ -30556,16 +46188,17 @@ diff -urN a/google/cloud/kms/v1/BUILD.bazel b/google/cloud/kms/v1/BUILD.bazel -) - -py_gapic_library( -- name = "kms_py_gapic", -- srcs = [":kms_proto"], -- grpc_service_config = "cloudkms_grpc_service_config.json", -- opt_args = ["add-iam-methods"], +- name = "networkconnectivity_py_gapic", +- srcs = [":networkconnectivity_proto"], +- grpc_service_config = "networkconnectivity_grpc_service_config.json", +- opt_args = ["warehouse-package-name=google-cloud-network-connectivity"], -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "kms-v1-py", +- name = "networkconnectivity-v1alpha1-py", - deps = [ -- ":kms_py_gapic", +- ":networkconnectivity_py_gapic", - ], -) - @@ -30581,36 +46214,34 @@ diff -urN a/google/cloud/kms/v1/BUILD.bazel b/google/cloud/kms/v1/BUILD.bazel -) - -php_proto_library( -- name = "kms_php_proto", -- deps = [":kms_proto"], +- name = "networkconnectivity_php_proto", +- deps = [":networkconnectivity_proto"], -) - -php_grpc_library( -- name = "kms_php_grpc", -- srcs = [":kms_proto"], -- deps = [":kms_php_proto"], +- name = "networkconnectivity_php_grpc", +- srcs = [":networkconnectivity_proto"], +- deps = [":networkconnectivity_php_proto"], -) - -php_gapic_library( -- name = "kms_php_gapic", -- src = ":kms_proto_with_info", -- # Do not change this to the cloudkms_gapic.yaml, see tracking bug. -- gapic_yaml = "cloudkms_gapic.legacy.yaml", -- package = "google.cloud.kms.v1", -- service_yaml = "cloudkms_v1.yaml", +- name = "networkconnectivity_php_gapic", +- srcs = [":networkconnectivity_proto_with_info"], +- grpc_service_config = "networkconnectivity_grpc_service_config.json", +- service_yaml = "networkconnectivity_v1alpha1.yaml", - deps = [ -- ":kms_php_grpc", -- ":kms_php_proto", +- ":networkconnectivity_php_grpc", +- ":networkconnectivity_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-kms-v1-php", +- name = "google-cloud-networkconnectivity-v1alpha1-php", - deps = [ -- ":kms_php_gapic", -- ":kms_php_grpc", -- ":kms_php_proto", +- ":networkconnectivity_php_gapic", +- ":networkconnectivity_php_grpc", +- ":networkconnectivity_php_proto", - ], -) - @@ -30624,22 +46255,21 @@ diff -urN a/google/cloud/kms/v1/BUILD.bazel b/google/cloud/kms/v1/BUILD.bazel -) - -nodejs_gapic_library( -- name = "kms_nodejs_gapic", -- package_name = "@google-cloud/kms", -- src = ":kms_proto_with_info", +- name = "networkconnectivity_nodejs_gapic", +- package_name = "@google-cloud/network-connectivity", +- src = ":networkconnectivity_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "cloudkms_grpc_service_config.json", -- iam_service = "true", -- package = "google.cloud.kms.v1", -- service_yaml = "cloudkms_v1.yaml", +- grpc_service_config = "networkconnectivity_grpc_service_config.json", +- package = "google.cloud.networkconnectivity.v1alpha1", +- service_yaml = "networkconnectivity_v1alpha1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "kms-v1-nodejs", +- name = "networkconnectivity-v1alpha1-nodejs", - deps = [ -- ":kms_nodejs_gapic", -- ":kms_proto", +- ":networkconnectivity_nodejs_gapic", +- ":networkconnectivity_proto", - ], -) - @@ -30648,50 +46278,49 @@ diff -urN a/google/cloud/kms/v1/BUILD.bazel b/google/cloud/kms/v1/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "kms_ruby_proto", -- deps = [":kms_proto"], +- name = "networkconnectivity_ruby_proto", +- deps = [":networkconnectivity_proto"], -) - -ruby_grpc_library( -- name = "kms_ruby_grpc", -- srcs = [":kms_proto"], -- deps = [":kms_ruby_proto"], +- name = "networkconnectivity_ruby_grpc", +- srcs = [":networkconnectivity_proto"], +- deps = [":networkconnectivity_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "kms_ruby_gapic", -- srcs = [":kms_proto_with_info"], +- name = "networkconnectivity_ruby_gapic", +- srcs = [":networkconnectivity_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-kms-v1", -- "ruby-cloud-env-prefix=KMS", -- "ruby-cloud-common-services=google.iam.v1.IAMPolicy=google.cloud.kms.v1.KeyManagementService", -- "ruby-cloud-product-url=https://cloud.google.com/kms", -- "ruby-cloud-api-id=cloudkms.googleapis.com", -- "ruby-cloud-api-shortname=cloudkms", +- "ruby-cloud-gem-name=google-cloud-network_connectivity-v1alpha1", +- "ruby-cloud-env-prefix=NETWORK_CONNECTIVITY", +- "ruby-cloud-product-url=https://cloud.google.com/network-connectivity/docs", +- "ruby-cloud-api-id=networkconnectivity.googleapis.com", +- "ruby-cloud-api-shortname=networkconnectivity", - ], -- grpc_service_config = "cloudkms_grpc_service_config.json", -- ruby_cloud_description = "Manages keys and performs cryptographic operations in a central cloud service, for direct use by other cloud resources and applications.", -- ruby_cloud_title = "Cloud Key Management Service (KMS) V1", +- grpc_service_config = "networkconnectivity_grpc_service_config.json", +- ruby_cloud_description = "Network Connectivity is Google's suite of products that provide enterprise connectivity from your on-premises network or from another cloud provider to your Virtual Private Cloud (VPC) network.", +- ruby_cloud_title = "Network Connectivity V1alpha1", - deps = [ -- ":kms_ruby_grpc", -- ":kms_ruby_proto", +- ":networkconnectivity_ruby_grpc", +- ":networkconnectivity_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-kms-v1-ruby", +- name = "google-cloud-networkconnectivity-v1alpha1-ruby", - deps = [ -- ":kms_ruby_gapic", -- ":kms_ruby_grpc", -- ":kms_ruby_proto", +- ":networkconnectivity_ruby_gapic", +- ":networkconnectivity_ruby_grpc", +- ":networkconnectivity_ruby_proto", - ], -) - @@ -30707,68 +46336,47 @@ diff -urN a/google/cloud/kms/v1/BUILD.bazel b/google/cloud/kms/v1/BUILD.bazel -) - -csharp_proto_library( -- name = "kms_csharp_proto", -- deps = [":kms_proto"], +- name = "networkconnectivity_csharp_proto", +- deps = [":networkconnectivity_proto"], -) - -csharp_grpc_library( -- name = "kms_csharp_grpc", -- srcs = [":kms_proto"], -- deps = [":kms_csharp_proto"], +- name = "networkconnectivity_csharp_grpc", +- srcs = [":networkconnectivity_proto"], +- deps = [":networkconnectivity_csharp_proto"], -) - -csharp_gapic_library( -- name = "kms_csharp_gapic", -- srcs = [":kms_proto_with_info"], +- name = "networkconnectivity_csharp_gapic", +- srcs = [":networkconnectivity_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "cloudkms_grpc_service_config.json", +- grpc_service_config = "networkconnectivity_grpc_service_config.json", - deps = [ -- ":kms_csharp_grpc", -- ":kms_csharp_proto", +- ":networkconnectivity_csharp_grpc", +- ":networkconnectivity_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-kms-v1-csharp", +- name = "google-cloud-networkconnectivity-v1alpha1-csharp", - deps = [ -- ":kms_csharp_gapic", -- ":kms_csharp_grpc", -- ":kms_csharp_proto", +- ":networkconnectivity_csharp_gapic", +- ":networkconnectivity_csharp_grpc", +- ":networkconnectivity_csharp_proto", - ], -) - -############################################################################## -# C++ -############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "cc_grpc_library", -- "cc_proto_library", --) -- --cc_proto_library( -- name = "kms_cc_proto", -- deps = [":kms_proto"], --) -- --cc_grpc_library( -- name = "kms_cc_grpc", -- srcs = [":kms_proto"], -- grpc_only = True, -- deps = [":kms_cc_proto"], --) -diff -urN a/google/cloud/language/BUILD.bazel b/google/cloud/language/BUILD.bazel ---- a/google/cloud/language/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/language/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/cloud/language/v1/BUILD.bazel b/google/cloud/language/v1/BUILD.bazel ---- a/google/cloud/language/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/language/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,338 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/networkmanagement/v1/BUILD.bazel b/google/cloud/networkmanagement/v1/BUILD.bazel +--- a/google/cloud/networkmanagement/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/networkmanagement/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,346 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +-# https://github.com/googleapis/rules_gapic/tree/master/bazel - -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: @@ -30788,21 +46396,28 @@ diff -urN a/google/cloud/language/v1/BUILD.bazel b/google/cloud/language/v1/BUIL -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "language_proto", +- name = "networkmanagement_proto", - srcs = [ -- "language_service.proto", +- "connectivity_test.proto", +- "reachability.proto", +- "trace.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "language_proto_with_info", +- name = "networkmanagement_proto_with_info", - deps = [ -- ":language_proto", +- ":networkmanagement_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -30820,44 +46435,44 @@ diff -urN a/google/cloud/language/v1/BUILD.bazel b/google/cloud/language/v1/BUIL -) - -java_proto_library( -- name = "language_java_proto", -- deps = [":language_proto"], +- name = "networkmanagement_java_proto", +- deps = [":networkmanagement_proto"], -) - -java_grpc_library( -- name = "language_java_grpc", -- srcs = [":language_proto"], -- deps = [":language_java_proto"], +- name = "networkmanagement_java_grpc", +- srcs = [":networkmanagement_proto"], +- deps = [":networkmanagement_java_proto"], -) - -java_gapic_library( -- name = "language_java_gapic", -- srcs = [":language_proto_with_info"], -- grpc_service_config = "language_grpc_service_config.json", +- name = "networkmanagement_java_gapic", +- srcs = [":networkmanagement_proto_with_info"], +- grpc_service_config = "networkmanagement_grpc_service_config.json", - test_deps = [ -- ":language_java_grpc", +- ":networkmanagement_java_grpc", - ], - deps = [ -- ":language_java_proto", +- ":networkmanagement_java_proto", - ], -) - -java_gapic_test( -- name = "language_java_gapic_test_suite", +- name = "networkmanagement_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.language.v1.LanguageServiceClientTest", +- "com.google.cloud.networkmanagement.v1.ReachabilityServiceClientTest", - ], -- runtime_deps = [":language_java_gapic_test"], +- runtime_deps = [":networkmanagement_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-language-v1-java", +- name = "google-cloud-networkmanagement-v1-java", - deps = [ -- ":language_java_gapic", -- ":language_java_grpc", -- ":language_java_proto", -- ":language_proto", +- ":networkmanagement_java_gapic", +- ":networkmanagement_java_grpc", +- ":networkmanagement_java_proto", +- ":networkmanagement_proto", - ], -) - @@ -30873,47 +46488,53 @@ diff -urN a/google/cloud/language/v1/BUILD.bazel b/google/cloud/language/v1/BUIL -) - -go_proto_library( -- name = "language_go_proto", -- compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/language/v1", -- protos = [":language_proto"], +- name = "networkmanagement_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/networkmanagement/v1", +- protos = [":networkmanagement_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", - ], -) - -go_gapic_library( -- name = "language_go_gapic", -- srcs = [":language_proto_with_info"], -- grpc_service_config = "language_grpc_service_config.json", -- importpath = "cloud.google.com/go/language/apiv1;language", -- service_yaml = "//google/cloud/language:language_v1.yaml", +- name = "networkmanagement_go_gapic", +- srcs = [":networkmanagement_proto_with_info"], +- grpc_service_config = "networkmanagement_grpc_service_config.json", +- importpath = "cloud.google.com/go/networkmanagement/apiv1;networkmanagement", +- metadata = True, +- service_yaml = "networkmanagement_v1.yaml", - deps = [ -- ":language_go_proto", +- ":networkmanagement_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", - ], -) - -go_test( -- name = "language_go_gapic_test", -- srcs = [":language_go_gapic_srcjar_test"], -- embed = [":language_go_gapic"], -- importpath = "cloud.google.com/go/language/apiv1", +- name = "networkmanagement_go_gapic_test", +- srcs = [":networkmanagement_go_gapic_srcjar_test"], +- embed = [":networkmanagement_go_gapic"], +- importpath = "cloud.google.com/go/networkmanagement/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-language-v1-go", +- name = "gapi-cloud-networkmanagement-v1-go", - deps = [ -- ":language_go_gapic", -- ":language_go_gapic_srcjar-test.srcjar", -- ":language_go_proto", +- ":networkmanagement_go_gapic", +- ":networkmanagement_go_gapic_srcjar-metadata.srcjar", +- ":networkmanagement_go_gapic_srcjar-test.srcjar", +- ":networkmanagement_go_proto", - ], -) - -############################################################################## -# Python -############################################################################## -- -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_gapic_assembly_pkg", @@ -30921,16 +46542,21 @@ diff -urN a/google/cloud/language/v1/BUILD.bazel b/google/cloud/language/v1/BUIL -) - -py_gapic_library( -- name = "language_py_gapic", -- srcs = [":language_proto"], -- grpc_service_config = "language_grpc_service_config.json", +- name = "networkmanagement_py_gapic", +- srcs = [":networkmanagement_proto"], +- grpc_service_config = "networkmanagement_grpc_service_config.json", +- opt_args = [ +- "warehouse-package-name=google-cloud-network-management", +- "python-gapic-namespace=google.cloud", +- "python-gapic-name=network_management", +- ], -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "language-v1-py", +- name = "networkmanagement-v1-py", - deps = [ -- ":language_py_gapic", +- ":networkmanagement_py_gapic", - ], -) - @@ -30946,36 +46572,34 @@ diff -urN a/google/cloud/language/v1/BUILD.bazel b/google/cloud/language/v1/BUIL -) - -php_proto_library( -- name = "language_php_proto", -- deps = [":language_proto"], +- name = "networkmanagement_php_proto", +- deps = [":networkmanagement_proto"], -) - -php_grpc_library( -- name = "language_php_grpc", -- srcs = [":language_proto"], -- deps = [":language_php_proto"], +- name = "networkmanagement_php_grpc", +- srcs = [":networkmanagement_proto"], +- deps = [":networkmanagement_php_proto"], -) - -php_gapic_library( -- name = "language_php_gapic", -- src = ":language_proto_with_info", -- gapic_yaml = "language_gapic.yaml", -- grpc_service_config = "language_grpc_service_config.json", -- package = "google.cloud.language.v1", -- service_yaml = "//google/cloud/language:language_v1.yaml", +- name = "networkmanagement_php_gapic", +- srcs = [":networkmanagement_proto_with_info"], +- grpc_service_config = "networkmanagement_grpc_service_config.json", +- service_yaml = "networkmanagement_v1.yaml", - deps = [ -- ":language_php_grpc", -- ":language_php_proto", +- ":networkmanagement_php_grpc", +- ":networkmanagement_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-language-v1-php", +- name = "google-cloud-networkmanagement-v1-php", - deps = [ -- ":language_php_gapic", -- ":language_php_grpc", -- ":language_php_proto", +- ":networkmanagement_php_gapic", +- ":networkmanagement_php_grpc", +- ":networkmanagement_php_proto", - ], -) - @@ -30989,21 +46613,21 @@ diff -urN a/google/cloud/language/v1/BUILD.bazel b/google/cloud/language/v1/BUIL -) - -nodejs_gapic_library( -- name = "language_nodejs_gapic", -- package_name = "@google-cloud/language", -- src = ":language_proto_with_info", +- name = "networkmanagement_nodejs_gapic", +- package_name = "@google-cloud/networkmanagement", +- src = ":networkmanagement_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "language_grpc_service_config.json", -- package = "google.cloud.language.v1", -- service_yaml = "//google/cloud/language:language_v1.yaml", +- grpc_service_config = "networkmanagement_grpc_service_config.json", +- package = "google.cloud.networkmanagement.v1", +- service_yaml = "networkmanagement_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "language-v1-nodejs", +- name = "networkmanagement-v1-nodejs", - deps = [ -- ":language_nodejs_gapic", -- ":language_proto", +- ":networkmanagement_nodejs_gapic", +- ":networkmanagement_proto", - ], -) - @@ -31012,49 +46636,41 @@ diff -urN a/google/cloud/language/v1/BUILD.bazel b/google/cloud/language/v1/BUIL -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "language_ruby_proto", -- deps = [":language_proto"], +- name = "networkmanagement_ruby_proto", +- deps = [":networkmanagement_proto"], -) - -ruby_grpc_library( -- name = "language_ruby_grpc", -- srcs = [":language_proto"], -- deps = [":language_ruby_proto"], +- name = "networkmanagement_ruby_grpc", +- srcs = [":networkmanagement_proto"], +- deps = [":networkmanagement_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "language_ruby_gapic", -- srcs = [":language_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-language-v1", -- "ruby-cloud-env-prefix=LANGUAGE", -- "ruby-cloud-product-url=https://cloud.google.com/natural-language", -- "ruby-cloud-api-id=language.googleapis.com", -- "ruby-cloud-api-shortname=language", -- ], -- grpc_service_config = "language_grpc_service_config.json", -- ruby_cloud_description = "Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations.", -- ruby_cloud_title = "Natural Language V1", +- name = "networkmanagement_ruby_gapic", +- srcs = [":networkmanagement_proto_with_info"], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-networkmanagement-v1"], +- grpc_service_config = "networkmanagement_grpc_service_config.json", - deps = [ -- ":language_ruby_grpc", -- ":language_ruby_proto", +- ":networkmanagement_ruby_grpc", +- ":networkmanagement_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-language-v1-ruby", +- name = "google-cloud-networkmanagement-v1-ruby", - deps = [ -- ":language_ruby_gapic", -- ":language_ruby_grpc", -- ":language_ruby_proto", +- ":networkmanagement_ruby_gapic", +- ":networkmanagement_ruby_grpc", +- ":networkmanagement_ruby_proto", - ], -) - @@ -31070,34 +46686,34 @@ diff -urN a/google/cloud/language/v1/BUILD.bazel b/google/cloud/language/v1/BUIL -) - -csharp_proto_library( -- name = "language_csharp_proto", -- deps = [":language_proto"], +- name = "networkmanagement_csharp_proto", +- deps = [":networkmanagement_proto"], -) - -csharp_grpc_library( -- name = "language_csharp_grpc", -- srcs = [":language_proto"], -- deps = [":language_csharp_proto"], +- name = "networkmanagement_csharp_grpc", +- srcs = [":networkmanagement_proto"], +- deps = [":networkmanagement_csharp_proto"], -) - -csharp_gapic_library( -- name = "language_csharp_gapic", -- srcs = [":language_proto_with_info"], +- name = "networkmanagement_csharp_gapic", +- srcs = [":networkmanagement_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "language_grpc_service_config.json", +- grpc_service_config = "networkmanagement_grpc_service_config.json", - deps = [ -- ":language_csharp_grpc", -- ":language_csharp_proto", +- ":networkmanagement_csharp_grpc", +- ":networkmanagement_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-language-v1-csharp", +- name = "google-cloud-networkmanagement-v1-csharp", - deps = [ -- ":language_csharp_gapic", -- ":language_csharp_grpc", -- ":language_csharp_proto", +- ":networkmanagement_csharp_gapic", +- ":networkmanagement_csharp_grpc", +- ":networkmanagement_csharp_proto", - ], -) - @@ -31105,12 +46721,12 @@ diff -urN a/google/cloud/language/v1/BUILD.bazel b/google/cloud/language/v1/BUIL -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/language/v1beta2/BUILD.bazel b/google/cloud/language/v1beta2/BUILD.bazel ---- a/google/cloud/language/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/language/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,338 +0,0 @@ +diff -urN a/google/cloud/networkmanagement/v1beta1/BUILD.bazel b/google/cloud/networkmanagement/v1beta1/BUILD.bazel +--- a/google/cloud/networkmanagement/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/networkmanagement/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,341 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +-# https://github.com/googleapis/rules_gapic/tree/master/bazel - -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: @@ -31130,22 +46746,28 @@ diff -urN a/google/cloud/language/v1beta2/BUILD.bazel b/google/cloud/language/v1 -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "language_proto", +- name = "networkmanagement_proto", - srcs = [ -- "language_service.proto", +- "connectivity_test.proto", +- "reachability.proto", +- "trace.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "language_proto_with_info", +- name = "networkmanagement_proto_with_info", - deps = [ -- ":language_proto", +- ":networkmanagement_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -31163,44 +46785,44 @@ diff -urN a/google/cloud/language/v1beta2/BUILD.bazel b/google/cloud/language/v1 -) - -java_proto_library( -- name = "language_java_proto", -- deps = [":language_proto"], +- name = "networkmanagement_java_proto", +- deps = [":networkmanagement_proto"], -) - -java_grpc_library( -- name = "language_java_grpc", -- srcs = [":language_proto"], -- deps = [":language_java_proto"], +- name = "networkmanagement_java_grpc", +- srcs = [":networkmanagement_proto"], +- deps = [":networkmanagement_java_proto"], -) - -java_gapic_library( -- name = "language_java_gapic", -- srcs = [":language_proto_with_info"], -- grpc_service_config = "language_grpc_service_config.json", +- name = "networkmanagement_java_gapic", +- srcs = [":networkmanagement_proto_with_info"], +- grpc_service_config = "networkmanagement_grpc_service_config.json", - test_deps = [ -- ":language_java_grpc", +- ":networkmanagement_java_grpc", - ], - deps = [ -- ":language_java_proto", +- ":networkmanagement_java_proto", - ], -) - -java_gapic_test( -- name = "language_java_gapic_test_suite", +- name = "networkmanagement_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.language.v1beta2.LanguageServiceClientTest", +- "com.google.cloud.networkmanagement.v1beta1.ReachabilityServiceClientTest", - ], -- runtime_deps = [":language_java_gapic_test"], +- runtime_deps = [":networkmanagement_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-language-v1beta2-java", +- name = "google-cloud-networkmanagement-v1beta1-java", - deps = [ -- ":language_java_gapic", -- ":language_java_grpc", -- ":language_java_proto", -- ":language_proto", +- ":networkmanagement_java_gapic", +- ":networkmanagement_java_grpc", +- ":networkmanagement_java_proto", +- ":networkmanagement_proto", - ], -) - @@ -31216,40 +46838,47 @@ diff -urN a/google/cloud/language/v1beta2/BUILD.bazel b/google/cloud/language/v1 -) - -go_proto_library( -- name = "language_go_proto", +- name = "networkmanagement_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/language/v1beta2", -- protos = [":language_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/networkmanagement/v1beta1", +- protos = [":networkmanagement_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", - ], -) - -go_gapic_library( -- name = "language_go_gapic", -- srcs = [":language_proto_with_info"], -- grpc_service_config = "language_grpc_service_config.json", -- importpath = "cloud.google.com/go/language/apiv1beta2;language", -- service_yaml = "language_v1beta2.yaml", +- name = "networkmanagement_go_gapic", +- srcs = [":networkmanagement_proto_with_info"], +- grpc_service_config = "networkmanagement_grpc_service_config.json", +- importpath = "cloud.google.com/go/networkmanagement/apiv1beta1;networkmanagement", +- metadata = True, +- service_yaml = "networkmanagement_v1beta1.yaml", - deps = [ -- ":language_go_proto", +- ":networkmanagement_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", - ], -) - -go_test( -- name = "language_go_gapic_test", -- srcs = [":language_go_gapic_srcjar_test"], -- embed = [":language_go_gapic"], -- importpath = "cloud.google.com/go/language/apiv1beta2", +- name = "networkmanagement_go_gapic_test", +- srcs = [":networkmanagement_go_gapic_srcjar_test"], +- embed = [":networkmanagement_go_gapic"], +- importpath = "cloud.google.com/go/networkmanagement/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-language-v1beta2-go", +- name = "gapi-cloud-networkmanagement-v1beta1-go", - deps = [ -- ":language_go_gapic", -- ":language_go_gapic_srcjar-test.srcjar", -- ":language_go_proto", +- ":networkmanagement_go_gapic", +- ":networkmanagement_go_gapic_srcjar-metadata.srcjar", +- ":networkmanagement_go_gapic_srcjar-test.srcjar", +- ":networkmanagement_go_proto", - ], -) - @@ -31263,16 +46892,16 @@ diff -urN a/google/cloud/language/v1beta2/BUILD.bazel b/google/cloud/language/v1 -) - -py_gapic_library( -- name = "language_py_gapic", -- srcs = [":language_proto"], -- grpc_service_config = "language_grpc_service_config.json", +- name = "networkmanagement_py_gapic", +- srcs = [":networkmanagement_proto"], +- grpc_service_config = "networkmanagement_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "language-v1beta2-py", +- name = "networkmanagement-v1beta1-py", - deps = [ -- ":language_py_gapic", +- ":networkmanagement_py_gapic", - ], -) - @@ -31288,36 +46917,34 @@ diff -urN a/google/cloud/language/v1beta2/BUILD.bazel b/google/cloud/language/v1 -) - -php_proto_library( -- name = "language_php_proto", -- deps = [":language_proto"], +- name = "networkmanagement_php_proto", +- deps = [":networkmanagement_proto"], -) - -php_grpc_library( -- name = "language_php_grpc", -- srcs = [":language_proto"], -- deps = [":language_php_proto"], +- name = "networkmanagement_php_grpc", +- srcs = [":networkmanagement_proto"], +- deps = [":networkmanagement_php_proto"], -) - -php_gapic_library( -- name = "language_php_gapic", -- src = ":language_proto_with_info", -- gapic_yaml = "language_gapic.yaml", -- grpc_service_config = "language_grpc_service_config.json", -- package = "google.cloud.language.v1beta2", -- service_yaml = "language_v1beta2.yaml", +- name = "networkmanagement_php_gapic", +- srcs = [":networkmanagement_proto_with_info"], +- grpc_service_config = "networkmanagement_grpc_service_config.json", +- service_yaml = "networkmanagement_v1beta1.yaml", - deps = [ -- ":language_php_grpc", -- ":language_php_proto", +- ":networkmanagement_php_grpc", +- ":networkmanagement_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-language-v1beta2-php", +- name = "google-cloud-networkmanagement-v1beta1-php", - deps = [ -- ":language_php_gapic", -- ":language_php_grpc", -- ":language_php_proto", +- ":networkmanagement_php_gapic", +- ":networkmanagement_php_grpc", +- ":networkmanagement_php_proto", - ], -) - @@ -31331,21 +46958,21 @@ diff -urN a/google/cloud/language/v1beta2/BUILD.bazel b/google/cloud/language/v1 -) - -nodejs_gapic_library( -- name = "language_nodejs_gapic", -- package_name = "@google-cloud/language", -- src = ":language_proto_with_info", +- name = "networkmanagement_nodejs_gapic", +- package_name = "@google-cloud/networkmanagement", +- src = ":networkmanagement_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "language_grpc_service_config.json", -- package = "google.cloud.language.v1beta2", -- service_yaml = "language_v1beta2.yaml", +- grpc_service_config = "networkmanagement_grpc_service_config.json", +- package = "google.cloud.networkmanagement.v1beta1", +- service_yaml = "networkmanagement_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "language-v1beta2-nodejs", +- name = "networkmanagement-v1beta1-nodejs", - deps = [ -- ":language_nodejs_gapic", -- ":language_proto", +- ":networkmanagement_nodejs_gapic", +- ":networkmanagement_proto", - ], -) - @@ -31354,49 +46981,41 @@ diff -urN a/google/cloud/language/v1beta2/BUILD.bazel b/google/cloud/language/v1 -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "language_ruby_proto", -- deps = [":language_proto"], +- name = "networkmanagement_ruby_proto", +- deps = [":networkmanagement_proto"], -) - -ruby_grpc_library( -- name = "language_ruby_grpc", -- srcs = [":language_proto"], -- deps = [":language_ruby_proto"], +- name = "networkmanagement_ruby_grpc", +- srcs = [":networkmanagement_proto"], +- deps = [":networkmanagement_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "language_ruby_gapic", -- srcs = [":language_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-language-v1beta2", -- "ruby-cloud-env-prefix=LANGUAGE", -- "ruby-cloud-product-url=https://cloud.google.com/natural-language", -- "ruby-cloud-api-id=language.googleapis.com", -- "ruby-cloud-api-shortname=language", -- ], -- grpc_service_config = "language_grpc_service_config.json", -- ruby_cloud_description = "Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations.", -- ruby_cloud_title = "Natural Language V1beta2", +- name = "networkmanagement_ruby_gapic", +- srcs = [":networkmanagement_proto_with_info"], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-networkmanagement-v1beta1"], +- grpc_service_config = "networkmanagement_grpc_service_config.json", - deps = [ -- ":language_ruby_grpc", -- ":language_ruby_proto", +- ":networkmanagement_ruby_grpc", +- ":networkmanagement_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-language-v1beta2-ruby", +- name = "google-cloud-networkmanagement-v1beta1-ruby", - deps = [ -- ":language_ruby_gapic", -- ":language_ruby_grpc", -- ":language_ruby_proto", +- ":networkmanagement_ruby_gapic", +- ":networkmanagement_ruby_grpc", +- ":networkmanagement_ruby_proto", - ], -) - @@ -31412,34 +47031,34 @@ diff -urN a/google/cloud/language/v1beta2/BUILD.bazel b/google/cloud/language/v1 -) - -csharp_proto_library( -- name = "language_csharp_proto", -- deps = [":language_proto"], +- name = "networkmanagement_csharp_proto", +- deps = [":networkmanagement_proto"], -) - -csharp_grpc_library( -- name = "language_csharp_grpc", -- srcs = [":language_proto"], -- deps = [":language_csharp_proto"], +- name = "networkmanagement_csharp_grpc", +- srcs = [":networkmanagement_proto"], +- deps = [":networkmanagement_csharp_proto"], -) - -csharp_gapic_library( -- name = "language_csharp_gapic", -- srcs = [":language_proto_with_info"], +- name = "networkmanagement_csharp_gapic", +- srcs = [":networkmanagement_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "language_grpc_service_config.json", +- grpc_service_config = "networkmanagement_grpc_service_config.json", - deps = [ -- ":language_csharp_grpc", -- ":language_csharp_proto", +- ":networkmanagement_csharp_grpc", +- ":networkmanagement_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-language-v1beta2-csharp", +- name = "google-cloud-networkmanagement-v1beta1-csharp", - deps = [ -- ":language_csharp_gapic", -- ":language_csharp_grpc", -- ":language_csharp_proto", +- ":networkmanagement_csharp_gapic", +- ":networkmanagement_csharp_grpc", +- ":networkmanagement_csharp_proto", - ], -) - @@ -31447,11 +47066,20 @@ diff -urN a/google/cloud/language/v1beta2/BUILD.bazel b/google/cloud/language/v1 -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/location/BUILD.bazel b/google/cloud/location/BUILD.bazel ---- a/google/cloud/location/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/location/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,166 +0,0 @@ +diff -urN a/google/cloud/networksecurity/v1beta1/BUILD.bazel b/google/cloud/networksecurity/v1beta1/BUILD.bazel +--- a/google/cloud/networksecurity/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/networksecurity/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,347 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -31460,16 +47088,34 @@ diff -urN a/google/cloud/location/BUILD.bazel b/google/cloud/location/BUILD.baze -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "location_proto", +- name = "networksecurity_proto", - srcs = [ -- "locations.proto", +- "authorization_policy.proto", +- "client_tls_policy.proto", +- "common.proto", +- "network_security.proto", +- "server_tls_policy.proto", +- "tls.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", -- "@com_google_protobuf//:any_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "networksecurity_proto_with_info", +- deps = [ +- ":networksecurity_proto", +- "//google/cloud:common_resources_proto", - ], -) - @@ -31478,19 +47124,53 @@ diff -urN a/google/cloud/location/BUILD.bazel b/google/cloud/location/BUILD.baze -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "location_java_proto", -- deps = [":location_proto"], +- name = "networksecurity_java_proto", +- deps = [":networksecurity_proto"], -) - -java_grpc_library( -- name = "location_java_grpc", -- srcs = [":location_proto"], -- deps = [":location_java_proto"], +- name = "networksecurity_java_grpc", +- srcs = [":networksecurity_proto"], +- deps = [":networksecurity_java_proto"], +-) +- +-java_gapic_library( +- name = "networksecurity_java_gapic", +- srcs = [":networksecurity_proto_with_info"], +- grpc_service_config = "networksecurity_v1beta1_grpc_service_config.json", +- test_deps = [ +- ":networksecurity_java_grpc", +- ], +- deps = [ +- ":networksecurity_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "networksecurity_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.networksecurity.v1beta1.NetworkSecurityClientTest", +- ], +- runtime_deps = [":networksecurity_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-networksecurity-v1beta1-java", +- deps = [ +- ":networksecurity_java_gapic", +- ":networksecurity_java_grpc", +- ":networksecurity_java_proto", +- ":networksecurity_proto", +- ], -) - -############################################################################## @@ -31498,16 +47178,53 @@ diff -urN a/google/cloud/location/BUILD.bazel b/google/cloud/location/BUILD.baze -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", - "go_proto_library", +- "go_test", -) - -go_proto_library( -- name = "location_go_proto", +- name = "networksecurity_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/location", -- protos = [":location_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/networksecurity/v1beta1", +- protos = [":networksecurity_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/longrunning:longrunning_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "networksecurity_go_gapic", +- srcs = [":networksecurity_proto_with_info"], +- grpc_service_config = "networksecurity_v1beta1_grpc_service_config.json", +- importpath = "cloud.google.com/go/networksecurity/apiv1beta1;networksecurity", +- metadata = True, +- service_yaml = "networksecurity_v1beta1.yaml", +- deps = [ +- ":networksecurity_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- ], +-) +- +-go_test( +- name = "networksecurity_go_gapic_test", +- srcs = [":networksecurity_go_gapic_srcjar_test"], +- embed = [":networksecurity_go_gapic"], +- importpath = "cloud.google.com/go/networksecurity/apiv1beta1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-networksecurity-v1beta1-go", +- deps = [ +- ":networksecurity_go_gapic", +- ":networksecurity_go_gapic_srcjar-metadata.srcjar", +- ":networksecurity_go_gapic_srcjar-test.srcjar", +- ":networksecurity_go_proto", - ], -) - @@ -31516,31 +47233,27 @@ diff -urN a/google/cloud/location/BUILD.bazel b/google/cloud/location/BUILD.baze -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", -- "py_grpc_library", -- "py_proto_library", +- "py_gapic_assembly_pkg", +- "py_gapic_library", -) - --moved_proto_library( -- name = "location_moved_proto", -- srcs = [":location_proto"], -- deps = [ -- "//google/api:annotations_proto", -- "//google/api:client_proto", -- "@com_google_protobuf//:any_proto", +-py_gapic_library( +- name = "networksecurity_py_gapic", +- srcs = [":networksecurity_proto"], +- grpc_service_config = "networksecurity_v1beta1_grpc_service_config.json", +- opt_args = [ +- "warehouse-package-name=google-cloud-network-security", +- "python-gapic-namespace=google.cloud", +- "python-gapic-name=network-security", - ], -) - --py_proto_library( -- name = "location_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":location_moved_proto"], --) -- --py_grpc_library( -- name = "location_py_grpc", -- srcs = [":location_moved_proto"], -- deps = [":location_py_proto"], +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "networksecurity-v1beta1-py", +- deps = [ +- ":networksecurity_py_gapic", +- ], -) - -############################################################################## @@ -31548,19 +47261,42 @@ diff -urN a/google/cloud/location/BUILD.bazel b/google/cloud/location/BUILD.baze -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "location_php_proto", -- deps = [":location_proto"], +- name = "networksecurity_php_proto", +- deps = [":networksecurity_proto"], -) - -php_grpc_library( -- name = "location_php_grpc", -- srcs = [":location_proto"], -- deps = [":location_php_proto"], +- name = "networksecurity_php_grpc", +- srcs = [":networksecurity_proto"], +- deps = [":networksecurity_php_proto"], +-) +- +-php_gapic_library( +- name = "networksecurity_php_gapic", +- srcs = [":networksecurity_proto_with_info"], +- grpc_service_config = "networksecurity_v1beta1_grpc_service_config.json", +- service_yaml = "networksecurity_v1beta1.yaml", +- deps = [ +- ":networksecurity_php_grpc", +- ":networksecurity_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-networksecurity-v1beta1-php", +- deps = [ +- ":networksecurity_php_gapic", +- ":networksecurity_php_grpc", +- ":networksecurity_php_proto", +- ], -) - -############################################################################## @@ -31572,25 +47308,66 @@ diff -urN a/google/cloud/location/BUILD.bazel b/google/cloud/location/BUILD.baze - "nodejs_gapic_library", -) - +-nodejs_gapic_library( +- name = "networksecurity_nodejs_gapic", +- package_name = "@google-cloud/networksecurity", +- src = ":networksecurity_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "networksecurity_v1beta1_grpc_service_config.json", +- package = "google.cloud.networksecurity.v1beta1", +- service_yaml = "networksecurity_v1beta1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "networksecurity-v1beta1-nodejs", +- deps = [ +- ":networksecurity_nodejs_gapic", +- ":networksecurity_proto", +- ], +-) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "location_ruby_proto", -- deps = [":location_proto"], +- name = "networksecurity_ruby_proto", +- deps = [":networksecurity_proto"], -) - -ruby_grpc_library( -- name = "location_ruby_grpc", -- srcs = [":location_proto"], -- deps = [":location_ruby_proto"], +- name = "networksecurity_ruby_grpc", +- srcs = [":networksecurity_proto"], +- deps = [":networksecurity_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "networksecurity_ruby_gapic", +- srcs = [":networksecurity_proto_with_info"], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-networksecurity-v1beta1"], +- grpc_service_config = "networksecurity_v1beta1_grpc_service_config.json", +- deps = [ +- ":networksecurity_ruby_grpc", +- ":networksecurity_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-networksecurity-v1beta1-ruby", +- deps = [ +- ":networksecurity_ruby_gapic", +- ":networksecurity_ruby_grpc", +- ":networksecurity_ruby_proto", +- ], -) - -############################################################################## @@ -31598,29 +47375,52 @@ diff -urN a/google/cloud/location/BUILD.bazel b/google/cloud/location/BUILD.baze -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "location_csharp_proto", -- deps = [":location_proto"], +- name = "networksecurity_csharp_proto", +- deps = [":networksecurity_proto"], -) - -csharp_grpc_library( -- name = "location_csharp_grpc", -- srcs = [":location_proto"], -- deps = [":location_csharp_proto"], +- name = "networksecurity_csharp_grpc", +- srcs = [":networksecurity_proto"], +- deps = [":networksecurity_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "networksecurity_csharp_gapic", +- srcs = [":networksecurity_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "networksecurity_v1beta1_grpc_service_config.json", +- deps = [ +- ":networksecurity_csharp_grpc", +- ":networksecurity_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-networksecurity-v1beta1-csharp", +- deps = [ +- ":networksecurity_csharp_gapic", +- ":networksecurity_csharp_grpc", +- ":networksecurity_csharp_proto", +- ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ code here -diff -urN a/google/cloud/managedidentities/v1/BUILD.bazel b/google/cloud/managedidentities/v1/BUILD.bazel ---- a/google/cloud/managedidentities/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/managedidentities/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,346 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/notebooks/v1beta1/BUILD.bazel b/google/cloud/notebooks/v1beta1/BUILD.bazel +--- a/google/cloud/notebooks/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/notebooks/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,344 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - @@ -31642,10 +47442,11 @@ diff -urN a/google/cloud/managedidentities/v1/BUILD.bazel b/google/cloud/managed -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "managedidentities_proto", +- name = "notebooks_proto", - srcs = [ -- "managed_identities_service.proto", -- "resource.proto", +- "environment.proto", +- "instance.proto", +- "service.proto", - ], - deps = [ - "//google/api:annotations_proto", @@ -31653,15 +47454,14 @@ diff -urN a/google/cloud/managedidentities/v1/BUILD.bazel b/google/cloud/managed - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "//google/longrunning:operations_proto", -- "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "managedidentities_proto_with_info", +- name = "notebooks_proto_with_info", - deps = [ -- ":managedidentities_proto", +- ":notebooks_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -31679,44 +47479,44 @@ diff -urN a/google/cloud/managedidentities/v1/BUILD.bazel b/google/cloud/managed -) - -java_proto_library( -- name = "managedidentities_java_proto", -- deps = [":managedidentities_proto"], +- name = "notebooks_java_proto", +- deps = [":notebooks_proto"], -) - -java_grpc_library( -- name = "managedidentities_java_grpc", -- srcs = [":managedidentities_proto"], -- deps = [":managedidentities_java_proto"], +- name = "notebooks_java_grpc", +- srcs = [":notebooks_proto"], +- deps = [":notebooks_java_proto"], -) - -java_gapic_library( -- name = "managedidentities_java_gapic", -- srcs = [":managedidentities_proto_with_info"], -- grpc_service_config = "managedidentities_grpc_service_config.json", +- name = "notebooks_java_gapic", +- srcs = [":notebooks_proto_with_info"], +- grpc_service_config = "notebooks_grpc_service_config.json", - test_deps = [ -- ":managedidentities_java_grpc", +- ":notebooks_java_grpc", - ], - deps = [ -- ":managedidentities_java_proto", +- ":notebooks_java_proto", - ], -) - -java_gapic_test( -- name = "managedidentities_java_gapic_test_suite", +- name = "notebooks_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.managedidentities.v1.ManagedIdentitiesServiceClientTest", +- "com.google.cloud.notebooks.v1beta1.NotebookServiceClientTest", - ], -- runtime_deps = [":managedidentities_java_gapic_test"], +- runtime_deps = [":notebooks_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-managedidentities-v1-java", +- name = "google-cloud-notebooks-v1beta1-java", - deps = [ -- ":managedidentities_java_gapic", -- ":managedidentities_java_grpc", -- ":managedidentities_java_proto", -- ":managedidentities_proto", +- ":notebooks_java_gapic", +- ":notebooks_java_grpc", +- ":notebooks_java_proto", +- ":notebooks_proto", - ], -) - @@ -31732,10 +47532,10 @@ diff -urN a/google/cloud/managedidentities/v1/BUILD.bazel b/google/cloud/managed -) - -go_proto_library( -- name = "managedidentities_go_proto", +- name = "notebooks_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/managedidentities/v1", -- protos = [":managedidentities_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/notebooks/v1beta1", +- protos = [":notebooks_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/longrunning:longrunning_go_proto", @@ -31743,13 +47543,13 @@ diff -urN a/google/cloud/managedidentities/v1/BUILD.bazel b/google/cloud/managed -) - -go_gapic_library( -- name = "managedidentities_go_gapic", -- srcs = [":managedidentities_proto_with_info"], -- grpc_service_config = "managedidentities_grpc_service_config.json", -- importpath = "cloud.google.com/go/managedidentities/apiv1;managedidentities", -- service_yaml = "managedidentities_v1.yaml", +- name = "notebooks_go_gapic", +- srcs = [":notebooks_proto_with_info"], +- grpc_service_config = "notebooks_grpc_service_config.json", +- importpath = "cloud.google.com/go/notebooks/apiv1beta1;notebooks", +- service_yaml = "notebooks_v1beta1.yaml", - deps = [ -- ":managedidentities_go_proto", +- ":notebooks_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", @@ -31757,19 +47557,19 @@ diff -urN a/google/cloud/managedidentities/v1/BUILD.bazel b/google/cloud/managed -) - -go_test( -- name = "managedidentities_go_gapic_test", -- srcs = [":managedidentities_go_gapic_srcjar_test"], -- embed = [":managedidentities_go_gapic"], -- importpath = "cloud.google.com/go/managedidentities/apiv1", +- name = "notebooks_go_gapic_test", +- srcs = [":notebooks_go_gapic_srcjar_test"], +- embed = [":notebooks_go_gapic"], +- importpath = "cloud.google.com/go/notebooks/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-managedidentities-v1-go", +- name = "gapi-cloud-notebooks-v1beta1-go", - deps = [ -- ":managedidentities_go_gapic", -- ":managedidentities_go_gapic_srcjar-test.srcjar", -- ":managedidentities_go_proto", +- ":notebooks_go_gapic", +- ":notebooks_go_gapic_srcjar-test.srcjar", +- ":notebooks_go_proto", - ], -) - @@ -31783,16 +47583,16 @@ diff -urN a/google/cloud/managedidentities/v1/BUILD.bazel b/google/cloud/managed -) - -py_gapic_library( -- name = "managedidentities_py_gapic", -- srcs = [":managedidentities_proto"], -- grpc_service_config = "managedidentities_grpc_service_config.json", +- name = "notebooks_py_gapic", +- srcs = [":notebooks_proto"], +- grpc_service_config = "notebooks_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "managedidentities-v1-py", +- name = "notebooks-v1beta1-py", - deps = [ -- ":managedidentities_py_gapic", +- ":notebooks_py_gapic", - ], -) - @@ -31808,36 +47608,34 @@ diff -urN a/google/cloud/managedidentities/v1/BUILD.bazel b/google/cloud/managed -) - -php_proto_library( -- name = "managedidentities_php_proto", -- deps = [":managedidentities_proto"], +- name = "notebooks_php_proto", +- deps = [":notebooks_proto"], -) - -php_grpc_library( -- name = "managedidentities_php_grpc", -- srcs = [":managedidentities_proto"], -- deps = [":managedidentities_php_proto"], +- name = "notebooks_php_grpc", +- srcs = [":notebooks_proto"], +- deps = [":notebooks_php_proto"], -) - -php_gapic_library( -- name = "managedidentities_php_gapic", -- src = ":managedidentities_proto_with_info", -- gapic_yaml = "managedidentities_gapic.yaml", -- grpc_service_config = "managedidentities_grpc_service_config.json", -- package = "google.cloud.managedidentities.v1", -- service_yaml = "managedidentities_v1.yaml", +- name = "notebooks_php_gapic", +- srcs = [":notebooks_proto_with_info"], +- grpc_service_config = "notebooks_grpc_service_config.json", +- service_yaml = "notebooks_v1beta1.yaml", - deps = [ -- ":managedidentities_php_grpc", -- ":managedidentities_php_proto", +- ":notebooks_php_grpc", +- ":notebooks_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-managedidentities-v1-php", +- name = "google-cloud-notebooks-v1beta1-php", - deps = [ -- ":managedidentities_php_gapic", -- ":managedidentities_php_grpc", -- ":managedidentities_php_proto", +- ":notebooks_php_gapic", +- ":notebooks_php_grpc", +- ":notebooks_php_proto", - ], -) - @@ -31851,21 +47649,21 @@ diff -urN a/google/cloud/managedidentities/v1/BUILD.bazel b/google/cloud/managed -) - -nodejs_gapic_library( -- name = "managedidentities_nodejs_gapic", -- package_name = "@google-cloud/managed-identities", -- src = ":managedidentities_proto_with_info", +- name = "notebooks_nodejs_gapic", +- package_name = "@google-cloud/notebooks", +- src = ":notebooks_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "managedidentities_grpc_service_config.json", -- package = "google.cloud.managedidentities.v1", -- service_yaml = "managedidentities_v1.yaml", +- grpc_service_config = "notebooks_grpc_service_config.json", +- package = "google.cloud.notebooks.v1beta1", +- service_yaml = "notebooks_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "managedidentities-v1-nodejs", +- name = "notebooks-v1beta1-nodejs", - deps = [ -- ":managedidentities_nodejs_gapic", -- ":managedidentities_proto", +- ":notebooks_nodejs_gapic", +- ":notebooks_proto", - ], -) - @@ -31874,49 +47672,49 @@ diff -urN a/google/cloud/managedidentities/v1/BUILD.bazel b/google/cloud/managed -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "managedidentities_ruby_proto", -- deps = [":managedidentities_proto"], +- name = "notebooks_ruby_proto", +- deps = [":notebooks_proto"], -) - -ruby_grpc_library( -- name = "managedidentities_ruby_grpc", -- srcs = [":managedidentities_proto"], -- deps = [":managedidentities_ruby_proto"], +- name = "notebooks_ruby_grpc", +- srcs = [":notebooks_proto"], +- deps = [":notebooks_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "managedidentities_ruby_gapic", -- srcs = [":managedidentities_proto_with_info"], +- name = "notebooks_ruby_gapic", +- srcs = [":notebooks_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-managed_identities-v1", -- "ruby-cloud-env-prefix=MANAGED_IDENTITIES", -- "ruby-cloud-product-url=https://cloud.google.com/managed-microsoft-ad/", -- "ruby-cloud-api-id=managedidentities.googleapis.com", -- "ruby-cloud-api-shortname=managedidentities", +- "ruby-cloud-gem-name=google-cloud-notebooks-v1beta1", +- "ruby-cloud-env-prefix=NOTEBOOKS", +- "ruby-cloud-product-url=https://cloud.google.com/ai-platform-notebooks", +- "ruby-cloud-api-id=notebooks.googleapis.com", +- "ruby-cloud-api-shortname=notebooks", - ], -- grpc_service_config = "managedidentities_grpc_service_config.json", -- ruby_cloud_description = "The Managed Service for Microsoft Active Directory API is used for managing a highly available, hardened service running Microsoft Active Directory.", -- ruby_cloud_title = "Managed Service for Microsoft Active Directory API V1", +- grpc_service_config = "notebooks_grpc_service_config.json", +- ruby_cloud_description = "AI Platform Notebooks makes it easy to manage JupyterLab instances through a protected, publicly available notebook instance URL. A JupyterLab instance is a Deep Learning virtual machine instance with the latest machine learning and data science libraries pre-installed.", +- ruby_cloud_title = "AI Platform Notebooks V1beta1", - deps = [ -- ":managedidentities_ruby_grpc", -- ":managedidentities_ruby_proto", +- ":notebooks_ruby_grpc", +- ":notebooks_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-managedidentities-v1-ruby", +- name = "google-cloud-notebooks-v1beta1-ruby", - deps = [ -- ":managedidentities_ruby_gapic", -- ":managedidentities_ruby_grpc", -- ":managedidentities_ruby_proto", +- ":notebooks_ruby_gapic", +- ":notebooks_ruby_grpc", +- ":notebooks_ruby_proto", - ], -) - @@ -31932,34 +47730,34 @@ diff -urN a/google/cloud/managedidentities/v1/BUILD.bazel b/google/cloud/managed -) - -csharp_proto_library( -- name = "managedidentities_csharp_proto", -- deps = [":managedidentities_proto"], +- name = "notebooks_csharp_proto", +- deps = [":notebooks_proto"], -) - -csharp_grpc_library( -- name = "managedidentities_csharp_grpc", -- srcs = [":managedidentities_proto"], -- deps = [":managedidentities_csharp_proto"], +- name = "notebooks_csharp_grpc", +- srcs = [":notebooks_proto"], +- deps = [":notebooks_csharp_proto"], -) - -csharp_gapic_library( -- name = "managedidentities_csharp_gapic", -- srcs = [":managedidentities_proto_with_info"], +- name = "notebooks_csharp_gapic", +- srcs = [":notebooks_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "managedidentities_grpc_service_config.json", +- grpc_service_config = "notebooks_grpc_service_config.json", - deps = [ -- ":managedidentities_csharp_grpc", -- ":managedidentities_csharp_proto", +- ":notebooks_csharp_grpc", +- ":notebooks_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-managedidentities-v1-csharp", +- name = "google-cloud-notebooks-v1beta1-csharp", - deps = [ -- ":managedidentities_csharp_gapic", -- ":managedidentities_csharp_grpc", -- ":managedidentities_csharp_proto", +- ":notebooks_csharp_gapic", +- ":notebooks_csharp_grpc", +- ":notebooks_csharp_proto", - ], -) - @@ -31967,20 +47765,13 @@ diff -urN a/google/cloud/managedidentities/v1/BUILD.bazel b/google/cloud/managed -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/managedidentities/v1beta1/BUILD.bazel b/google/cloud/managedidentities/v1beta1/BUILD.bazel ---- a/google/cloud/managedidentities/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/managedidentities/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,336 +0,0 @@ --# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel -- --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. +diff -urN a/google/cloud/ondemandscanning/v1/BUILD.bazel b/google/cloud/ondemandscanning/v1/BUILD.bazel +--- a/google/cloud/ondemandscanning/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/ondemandscanning/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,346 +0,0 @@ +-# This file was edited to accomodate build dependencies +-# after the automatic generation by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -31992,26 +47783,29 @@ diff -urN a/google/cloud/managedidentities/v1beta1/BUILD.bazel b/google/cloud/ma -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "managedidentities_proto", +- name = "ondemandscanning_proto", - srcs = [ -- "managed_identities_service.proto", -- "resource.proto", +- "scanner_service.proto", - ], - deps = [ +- "//cloud/containers/workflow/vulnerability/proto:package_proto", - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/longrunning:operations_proto", -- "@com_google_protobuf//:field_mask_proto", +- "//grafeas/v1:grafeas_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - +-## Must be built based on both scannerservice v1beta1 and +-## Grafeas v1 protos. -proto_library_with_info( -- name = "managedidentities_proto_with_info", +- name = "ondemandscanning_proto_with_info", - deps = [ -- ":managedidentities_proto", +- ":ondemandscanning_proto", - "//google/cloud:common_resources_proto", +- "//grafeas/v1:grafeas_proto", - ], -) - @@ -32028,97 +47822,49 @@ diff -urN a/google/cloud/managedidentities/v1beta1/BUILD.bazel b/google/cloud/ma -) - -java_proto_library( -- name = "managedidentities_java_proto", -- deps = [":managedidentities_proto"], +- name = "ondemandscanning_java_proto", +- deps = [":ondemandscanning_proto"], -) - -java_grpc_library( -- name = "managedidentities_java_grpc", -- srcs = [":managedidentities_proto"], -- deps = [":managedidentities_java_proto"], +- name = "ondemandscanning_java_grpc", +- srcs = [":ondemandscanning_proto"], +- deps = [":ondemandscanning_java_proto"], -) - -java_gapic_library( -- name = "managedidentities_java_gapic", -- srcs = [":managedidentities_proto_with_info"], -- grpc_service_config = "managedidentities_grpc_service_config.json", +- name = "ondemandscanning_java_gapic", +- srcs = [":ondemandscanning_proto_with_info"], +- grpc_service_config = "ondemandscanning_grpc_service_config.json", - test_deps = [ -- ":managedidentities_java_grpc", +- ":ondemandscanning_java_grpc", +- "//grafeas/v1:grafeas_java_grpc", - ], - deps = [ -- ":managedidentities_java_proto", +- ":ondemandscanning_java_proto", +- "//grafeas/v1:grafeas_java_proto", - ], -) - -java_gapic_test( -- name = "managedidentities_java_gapic_test_suite", +- name = "ondemandscanning_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.managedidentities.v1beta1.ManagedIdentitiesServiceClientTest", +- "com.google.cloud.ondemandscanning.v1.ScannerServiceClientTest", - ], -- runtime_deps = [":managedidentities_java_gapic_test"], +- runtime_deps = [":ondemandscanning_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-managedidentities-v1beta1-java", -- deps = [ -- ":managedidentities_java_gapic", -- ":managedidentities_java_grpc", -- ":managedidentities_java_proto", -- ":managedidentities_proto", -- ], --) -- --############################################################################## --# Go --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "go_gapic_assembly_pkg", -- "go_gapic_library", -- "go_proto_library", -- "go_test", --) -- --go_proto_library( -- name = "managedidentities_go_proto", -- compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/managedidentities/v1beta1", -- protos = [":managedidentities_proto"], -- deps = [ -- "//google/api:annotations_go_proto", -- "//google/longrunning:longrunning_go_proto", -- ], --) -- --go_gapic_library( -- name = "managedidentities_go_gapic", -- srcs = [":managedidentities_proto_with_info"], -- grpc_service_config = "", -- importpath = "cloud.google.com/go/managedidentities/apiv1beta1;managedidentities", -- service_yaml = "managedidentities_v1beta1.yaml", -- deps = [ -- ":managedidentities_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", -- ], --) -- --go_test( -- name = "managedidentities_go_gapic_test", -- srcs = [":managedidentities_go_gapic_srcjar_test"], -- embed = [":managedidentities_go_gapic"], -- importpath = "cloud.google.com/go/managedidentities/apiv1beta1", --) -- --# Open Source Packages --go_gapic_assembly_pkg( -- name = "gapi-cloud-managedidentities-v1beta1-go", +- name = "google-cloud-ondemandscanning-v1-java", - deps = [ -- ":managedidentities_go_gapic", -- ":managedidentities_go_gapic_srcjar-test.srcjar", -- ":managedidentities_go_proto", +- ":ondemandscanning_java_gapic", +- ":ondemandscanning_java_grpc", +- ":ondemandscanning_java_proto", +- ":ondemandscanning_proto", +- "//cloud/containers/workflow/vulnerability/proto:package_java_proto", +- "//grafeas/v1:grafeas_java_grpc", +- "//grafeas/v1:grafeas_java_proto", - ], -) - @@ -32132,16 +47878,16 @@ diff -urN a/google/cloud/managedidentities/v1beta1/BUILD.bazel b/google/cloud/ma -) - -py_gapic_library( -- name = "managedidentities_py_gapic", -- srcs = [":managedidentities_proto"], -- grpc_service_config = "managedidentities_grpc_service_config.json", +- name = "ondemandscanning_py_gapic", +- srcs = [":ondemandscanning_proto"], +- grpc_service_config = "ondemandscanning_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "managedidentities-v1beta1-py", +- name = "ondemandscanning-v1-py", - deps = [ -- ":managedidentities_py_gapic", +- ":ondemandscanning_py_gapic", - ], -) - @@ -32157,63 +47903,34 @@ diff -urN a/google/cloud/managedidentities/v1beta1/BUILD.bazel b/google/cloud/ma -) - -php_proto_library( -- name = "managedidentities_php_proto", -- deps = [":managedidentities_proto"], +- name = "ondemandscanning_php_proto", +- deps = [":ondemandscanning_proto"], -) - -php_grpc_library( -- name = "managedidentities_php_grpc", -- srcs = [":managedidentities_proto"], -- deps = [":managedidentities_php_proto"], +- name = "ondemandscanning_php_grpc", +- srcs = [":ondemandscanning_proto"], +- deps = [":ondemandscanning_php_proto"], -) - -php_gapic_library( -- name = "managedidentities_php_gapic", -- src = ":managedidentities_proto_with_info", -- gapic_yaml = "managedidentities_gapic.yaml", -- package = "google.cloud.managedidentities.v1beta1", -- service_yaml = "managedidentities_v1beta1.yaml", +- name = "ondemandscanning_php_gapic", +- srcs = [":ondemandscanning_proto_with_info"], +- grpc_service_config = "ondemandscanning_grpc_service_config.json", +- service_yaml = "ondemandscanning_v1.yaml", - deps = [ -- ":managedidentities_php_grpc", -- ":managedidentities_php_proto", +- ":ondemandscanning_php_grpc", +- ":ondemandscanning_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-managedidentities-v1beta1-php", -- deps = [ -- ":managedidentities_php_gapic", -- ":managedidentities_php_grpc", -- ":managedidentities_php_proto", -- ], --) -- --############################################################################## --# Node.js --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "nodejs_gapic_assembly_pkg", -- "nodejs_gapic_library", --) -- --nodejs_gapic_library( -- name = "managedidentities_nodejs_gapic", -- package_name = "@google-cloud/managed-identities", -- src = ":managedidentities_proto_with_info", -- extra_protoc_parameters = ["metadata"], -- grpc_service_config = None, -- package = "google.cloud.managedidentities.v1beta1", -- service_yaml = "managedidentities_v1beta1.yaml", -- deps = [], --) -- --nodejs_gapic_assembly_pkg( -- name = "managedidentities-v1beta1-nodejs", +- name = "google-cloud-ondemandscanning-v1-php", - deps = [ -- ":managedidentities_nodejs_gapic", -- ":managedidentities_proto", +- ":ondemandscanning_php_gapic", +- ":ondemandscanning_php_grpc", +- ":ondemandscanning_php_proto", - ], -) - @@ -32222,42 +47939,44 @@ diff -urN a/google/cloud/managedidentities/v1beta1/BUILD.bazel b/google/cloud/ma -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "managedidentities_ruby_proto", -- deps = [":managedidentities_proto"], +- name = "ondemandscanning_ruby_proto", +- deps = [":ondemandscanning_proto"], -) - -ruby_grpc_library( -- name = "managedidentities_ruby_grpc", -- srcs = [":managedidentities_proto"], -- deps = [":managedidentities_ruby_proto"], +- name = "ondemandscanning_ruby_grpc", +- srcs = [":ondemandscanning_proto"], +- deps = [":ondemandscanning_ruby_proto"], -) - --ruby_gapic_library( -- name = "managedidentities_ruby_gapic", -- src = ":managedidentities_proto_with_info", -- gapic_yaml = "managedidentities_gapic.yaml", -- package = "google.cloud.managedidentities.v1beta1", -- service_yaml = "managedidentities_v1beta1.yaml", +-ruby_cloud_gapic_library( +- name = "ondemandscanning_ruby_gapic", +- srcs = [":ondemandscanning_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-ondemandscanning-v1", +- "ruby-cloud-extra-dependencies=grafeas-v1=~> 0.0", +- ], +- grpc_service_config = "ondemandscanning_grpc_service_config.json", - deps = [ -- ":managedidentities_ruby_grpc", -- ":managedidentities_ruby_proto", +- ":ondemandscanning_ruby_grpc", +- ":ondemandscanning_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-managedidentities-v1beta1-ruby", +- name = "google-cloud-ondemandscanning-v1-ruby", - deps = [ -- ":managedidentities_ruby_gapic", -- ":managedidentities_ruby_grpc", -- ":managedidentities_ruby_proto", +- ":ondemandscanning_ruby_gapic", +- ":ondemandscanning_ruby_grpc", +- ":ondemandscanning_ruby_proto", - ], -) - @@ -32273,33 +47992,122 @@ diff -urN a/google/cloud/managedidentities/v1beta1/BUILD.bazel b/google/cloud/ma -) - -csharp_proto_library( -- name = "managedidentities_csharp_proto", -- deps = [":managedidentities_proto"], +- name = "ondemandscanning_csharp_proto", +- deps = [":ondemandscanning_proto"], -) - -csharp_grpc_library( -- name = "managedidentities_csharp_grpc", -- srcs = [":managedidentities_proto"], -- deps = [":managedidentities_csharp_proto"], +- name = "ondemandscanning_csharp_grpc", +- srcs = [":ondemandscanning_proto"], +- deps = [":ondemandscanning_csharp_proto"], -) - -csharp_gapic_library( -- name = "managedidentities_csharp_gapic", -- srcs = [":managedidentities_proto_with_info"], +- name = "ondemandscanning_csharp_gapic", +- srcs = [":ondemandscanning_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "ondemandscanning_grpc_service_config.json", - deps = [ -- ":managedidentities_csharp_grpc", -- ":managedidentities_csharp_proto", +- ":ondemandscanning_csharp_grpc", +- ":ondemandscanning_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-managedidentities-v1beta1-csharp", +- name = "google-cloud-ondemandscanning-v1-csharp", - deps = [ -- ":managedidentities_csharp_gapic", -- ":managedidentities_csharp_grpc", -- ":managedidentities_csharp_proto", +- ":ondemandscanning_csharp_gapic", +- ":ondemandscanning_csharp_grpc", +- ":ondemandscanning_csharp_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "ondemandscanning_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/ondemandscanning/v1", +- protos = [":ondemandscanning_proto"], +- deps = [ +- "//cloud/containers/workflow/vulnerability/proto:package_go_proto", +- "//google/api:annotations_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//grafeas/v1:grafeas_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "ondemandscanning_go_gapic", +- srcs = [":ondemandscanning_proto_with_info"], +- grpc_service_config = "ondemandscanning_grpc_service_config.json", +- importpath = "cloud.google.com/go/ondemandscanning/apiv1;ondemandscanning", +- metadata = True, +- service_yaml = "ondemandscanning_v1.yaml", +- deps = [ +- ":ondemandscanning_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//grafeas/v1:grafeas_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- ], +-) +- +-go_test( +- name = "ondemandscanning_go_gapic_test", +- srcs = [":ondemandscanning_go_gapic_srcjar_test"], +- embed = [":ondemandscanning_go_gapic"], +- importpath = "cloud.google.com/go/ondemandscanning/apiv1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-ondemandscanning-v1-go", +- deps = [ +- ":ondemandscanning_go_gapic", +- ":ondemandscanning_go_gapic_srcjar-metadata.srcjar", +- ":ondemandscanning_go_gapic_srcjar-test.srcjar", +- ":ondemandscanning_go_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "ondemandscanning_nodejs_gapic", +- package_name = "@google-cloud/ondemandscanning", +- src = ":ondemandscanning_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "ondemandscanning_grpc_service_config.json", +- main_service = "ondemandscanning", +- package = "google.cloud.ondemandscanning.v1", +- service_yaml = "ondemandscanning_v1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "ondemandscanning-v1-nodejs", +- deps = [ +- ":ondemandscanning_nodejs_gapic", +- ":ondemandscanning_proto", +- "//grafeas/v1:grafeas_proto", - ], -) - @@ -32307,11 +48115,13 @@ diff -urN a/google/cloud/managedidentities/v1beta1/BUILD.bazel b/google/cloud/ma -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/mediatranslation/v1alpha1/BUILD.bazel b/google/cloud/mediatranslation/v1alpha1/BUILD.bazel ---- a/google/cloud/mediatranslation/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/mediatranslation/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,167 +0,0 @@ --# This file was automatically generated by BuildFileGenerator +diff -urN a/google/cloud/ondemandscanning/v1beta1/BUILD.bazel b/google/cloud/ondemandscanning/v1beta1/BUILD.bazel +--- a/google/cloud/ondemandscanning/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/ondemandscanning/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,343 +0,0 @@ +-# This file was edited to accomodate build dependencies +-# after the automatic generation by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -32320,16 +48130,32 @@ diff -urN a/google/cloud/mediatranslation/v1alpha1/BUILD.bazel b/google/cloud/me -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "mediatranslation_proto", +- name = "ondemandscanning_proto", - srcs = [ -- "media_translation.proto", +- "scanner_service.proto", - ], - deps = [ +- "//cloud/containers/workflow/vulnerability/proto:package_proto", +- "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/rpc:status_proto", +- "//google/longrunning:operations_proto", +- "//grafeas/v1:grafeas_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-## Must be built based on both scannerservice v1beta1 and +-## Grafeas v1 protos. +-proto_library_with_info( +- name = "ondemandscanning_proto_with_info", +- deps = [ +- ":ondemandscanning_proto", +- "//google/cloud:common_resources_proto", +- "//grafeas/v1:grafeas_proto", - ], -) - @@ -32338,19 +48164,55 @@ diff -urN a/google/cloud/mediatranslation/v1alpha1/BUILD.bazel b/google/cloud/me -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "mediatranslation_java_proto", -- deps = [":mediatranslation_proto"], +- name = "ondemandscanning_java_proto", +- deps = [":ondemandscanning_proto"], -) - -java_grpc_library( -- name = "mediatranslation_java_grpc", -- srcs = [":mediatranslation_proto"], -- deps = [":mediatranslation_java_proto"], +- name = "ondemandscanning_java_grpc", +- srcs = [":ondemandscanning_proto"], +- deps = [":ondemandscanning_java_proto"], +-) +- +-java_gapic_library( +- name = "ondemandscanning_java_gapic", +- srcs = [":ondemandscanning_proto_with_info"], +- grpc_service_config = "ondemandscanning_grpc_service_config.json", +- test_deps = [ +- ":ondemandscanning_java_grpc", +- "//grafeas/v1:grafeas_java_grpc", +- ], +- deps = [ +- ":ondemandscanning_java_proto", +- "//grafeas/v1:grafeas_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "ondemandscanning_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.ondemandscanning.v1beta1.ScannerServiceClientTest", +- ], +- runtime_deps = [":ondemandscanning_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-ondemandscanning-v1beta1-java", +- deps = [ +- ":ondemandscanning_java_gapic", +- ":ondemandscanning_java_grpc", +- ":ondemandscanning_java_proto", +- ":ondemandscanning_proto", +- ], -) - -############################################################################## @@ -32358,17 +48220,56 @@ diff -urN a/google/cloud/mediatranslation/v1alpha1/BUILD.bazel b/google/cloud/me -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", - "go_proto_library", +- "go_test", -) - -go_proto_library( -- name = "mediatranslation_go_proto", +- name = "ondemandscanning_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/mediatranslation/v1alpha1", -- protos = [":mediatranslation_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/ondemandscanning/v1beta1", +- protos = [":ondemandscanning_proto"], - deps = [ +- "//cloud/containers/workflow/vulnerability/proto:package_go_proto", - "//google/api:annotations_go_proto", -- "//google/rpc:status_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//grafeas/v1:grafeas_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "ondemandscanning_go_gapic", +- srcs = [":ondemandscanning_proto_with_info"], +- grpc_service_config = "ondemandscanning_grpc_service_config.json", +- importpath = "cloud.google.com/go/ondemandscanning/apiv1beta1;ondemandscanning", +- metadata = True, +- service_yaml = "ondemandscanning_v1beta1.yaml", +- deps = [ +- ":ondemandscanning_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//grafeas/v1:grafeas_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- ], +-) +- +-go_test( +- name = "ondemandscanning_go_gapic_test", +- srcs = [":ondemandscanning_go_gapic_srcjar_test"], +- embed = [":ondemandscanning_go_gapic"], +- importpath = "cloud.google.com/go/ondemandscanning/apiv1beta1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-ondemandscanning-v1beta1-go", +- deps = [ +- ":ondemandscanning_go_gapic", +- ":ondemandscanning_go_gapic_srcjar-metadata.srcjar", +- ":ondemandscanning_go_gapic_srcjar-test.srcjar", +- ":ondemandscanning_go_proto", - ], -) - @@ -32377,31 +48278,22 @@ diff -urN a/google/cloud/mediatranslation/v1alpha1/BUILD.bazel b/google/cloud/me -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", -- "py_grpc_library", -- "py_proto_library", --) -- --moved_proto_library( -- name = "mediatranslation_moved_proto", -- srcs = [":mediatranslation_proto"], -- deps = [ -- "//google/api:client_proto", -- "//google/api:field_behavior_proto", -- "//google/rpc:status_proto", -- ], +- "py_gapic_assembly_pkg", +- "py_gapic_library", -) - --py_proto_library( -- name = "mediatranslation_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":mediatranslation_moved_proto"], +-py_gapic_library( +- name = "ondemandscanning_py_gapic", +- srcs = [":ondemandscanning_proto"], +- grpc_service_config = "ondemandscanning_grpc_service_config.json", -) - --py_grpc_library( -- name = "mediatranslation_py_grpc", -- srcs = [":mediatranslation_moved_proto"], -- deps = [":mediatranslation_py_proto"], +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "ondemandscanning-v1beta1-py", +- deps = [ +- ":ondemandscanning_py_gapic", +- ], -) - -############################################################################## @@ -32409,19 +48301,42 @@ diff -urN a/google/cloud/mediatranslation/v1alpha1/BUILD.bazel b/google/cloud/me -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "mediatranslation_php_proto", -- deps = [":mediatranslation_proto"], +- name = "ondemandscanning_php_proto", +- deps = [":ondemandscanning_proto"], -) - -php_grpc_library( -- name = "mediatranslation_php_grpc", -- srcs = [":mediatranslation_proto"], -- deps = [":mediatranslation_php_proto"], +- name = "ondemandscanning_php_grpc", +- srcs = [":ondemandscanning_proto"], +- deps = [":ondemandscanning_php_proto"], +-) +- +-php_gapic_library( +- name = "ondemandscanning_php_gapic", +- srcs = [":ondemandscanning_proto_with_info"], +- grpc_service_config = "ondemandscanning_grpc_service_config.json", +- service_yaml = "ondemandscanning_v1beta1.yaml", +- deps = [ +- ":ondemandscanning_php_grpc", +- ":ondemandscanning_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-ondemandscanning-v1beta1-php", +- deps = [ +- ":ondemandscanning_php_gapic", +- ":ondemandscanning_php_grpc", +- ":ondemandscanning_php_proto", +- ], -) - -############################################################################## @@ -32433,25 +48348,71 @@ diff -urN a/google/cloud/mediatranslation/v1alpha1/BUILD.bazel b/google/cloud/me - "nodejs_gapic_library", -) - +-nodejs_gapic_library( +- name = "ondemandscanning_nodejs_gapic", +- package_name = "@google-cloud/ondemandscanning", +- src = ":ondemandscanning_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "ondemandscanning_grpc_service_config.json", +- main_service = "ondemandscanning", +- package = "google.cloud.ondemandscanning.v1beta1", +- service_yaml = "ondemandscanning_v1beta1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "ondemandscanning-v1beta1-nodejs", +- deps = [ +- ":ondemandscanning_nodejs_gapic", +- ":ondemandscanning_proto", +- "//grafeas/v1:grafeas_proto", +- ], +-) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "mediatranslation_ruby_proto", -- deps = [":mediatranslation_proto"], +- name = "ondemandscanning_ruby_proto", +- deps = [":ondemandscanning_proto"], -) - -ruby_grpc_library( -- name = "mediatranslation_ruby_grpc", -- srcs = [":mediatranslation_proto"], -- deps = [":mediatranslation_ruby_proto"], +- name = "ondemandscanning_ruby_grpc", +- srcs = [":ondemandscanning_proto"], +- deps = [":ondemandscanning_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "ondemandscanning_ruby_gapic", +- srcs = [":ondemandscanning_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-ondemandscanning-v1beta1", +- "ruby-cloud-extra-dependencies=grafeas-v1=~> 0.0", +- ], +- grpc_service_config = "ondemandscanning_grpc_service_config.json", +- deps = [ +- ":ondemandscanning_ruby_grpc", +- ":ondemandscanning_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-ondemandscanning-v1beta1-ruby", +- deps = [ +- ":ondemandscanning_ruby_gapic", +- ":ondemandscanning_ruby_grpc", +- ":ondemandscanning_ruby_proto", +- ], -) - -############################################################################## @@ -32459,31 +48420,54 @@ diff -urN a/google/cloud/mediatranslation/v1alpha1/BUILD.bazel b/google/cloud/me -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "mediatranslation_csharp_proto", -- deps = [":mediatranslation_proto"], +- name = "ondemandscanning_csharp_proto", +- deps = [":ondemandscanning_proto"], -) - -csharp_grpc_library( -- name = "mediatranslation_csharp_grpc", -- srcs = [":mediatranslation_proto"], -- deps = [":mediatranslation_csharp_proto"], +- name = "ondemandscanning_csharp_grpc", +- srcs = [":ondemandscanning_proto"], +- deps = [":ondemandscanning_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "ondemandscanning_csharp_gapic", +- srcs = [":ondemandscanning_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "ondemandscanning_grpc_service_config.json", +- deps = [ +- ":ondemandscanning_csharp_grpc", +- ":ondemandscanning_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-ondemandscanning-v1beta1-csharp", +- deps = [ +- ":ondemandscanning_csharp_gapic", +- ":ondemandscanning_csharp_grpc", +- ":ondemandscanning_csharp_proto", +- ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ code here -diff -urN a/google/cloud/mediatranslation/v1beta1/BUILD.bazel b/google/cloud/mediatranslation/v1beta1/BUILD.bazel ---- a/google/cloud/mediatranslation/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/mediatranslation/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,339 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/orchestration/airflow/service/v1/BUILD.bazel b/google/cloud/orchestration/airflow/service/v1/BUILD.bazel +--- a/google/cloud/orchestration/airflow/service/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/orchestration/airflow/service/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,344 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +-# https://github.com/googleapis/rules_gapic/tree/master/bazel - -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: @@ -32503,21 +48487,28 @@ diff -urN a/google/cloud/mediatranslation/v1beta1/BUILD.bazel b/google/cloud/med -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "mediatranslation_proto", +- name = "service_proto", - srcs = [ -- "media_translation.proto", +- "environments.proto", +- "image_versions.proto", +- "operations.proto", - ], - deps = [ +- "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/rpc:status_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "//google/type:date_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "mediatranslation_proto_with_info", +- name = "service_proto_with_info", - deps = [ -- ":mediatranslation_proto", +- ":service_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -32535,45 +48526,45 @@ diff -urN a/google/cloud/mediatranslation/v1beta1/BUILD.bazel b/google/cloud/med -) - -java_proto_library( -- name = "mediatranslation_java_proto", -- deps = [":mediatranslation_proto"], +- name = "service_java_proto", +- deps = [":service_proto"], -) - -java_grpc_library( -- name = "mediatranslation_java_grpc", -- srcs = [":mediatranslation_proto"], -- deps = [":mediatranslation_java_proto"], +- name = "service_java_grpc", +- srcs = [":service_proto"], +- deps = [":service_java_proto"], -) - -java_gapic_library( -- name = "mediatranslation_java_gapic", -- srcs = [":mediatranslation_proto_with_info"], -- gapic_yaml = "mediatranslation_gapic.yaml", -- grpc_service_config = "mediatranslation_grpc_service_config.json", +- name = "service_java_gapic", +- srcs = [":service_proto_with_info"], +- grpc_service_config = "composer_grpc_service_config.json", - test_deps = [ -- ":mediatranslation_java_grpc", +- ":service_java_grpc", - ], - deps = [ -- ":mediatranslation_java_proto", +- ":service_java_proto", - ], -) - -java_gapic_test( -- name = "mediatranslation_java_gapic_test_suite", +- name = "service_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.mediatranslation.v1beta1.SpeechTranslationServiceClientTest", +- "com.google.cloud.orchestration.airflow.service.v1.EnvironmentsClientTest", +- "com.google.cloud.orchestration.airflow.service.v1.ImageVersionsClientTest", - ], -- runtime_deps = [":mediatranslation_java_gapic_test"], +- runtime_deps = [":service_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-mediatranslation-v1beta1-java", +- name = "google-cloud-airflow-service-v1-java", - deps = [ -- ":mediatranslation_java_gapic", -- ":mediatranslation_java_grpc", -- ":mediatranslation_java_proto", -- ":mediatranslation_proto", +- ":service_java_gapic", +- ":service_java_grpc", +- ":service_java_proto", +- ":service_proto", - ], -) - @@ -32589,41 +48580,47 @@ diff -urN a/google/cloud/mediatranslation/v1beta1/BUILD.bazel b/google/cloud/med -) - -go_proto_library( -- name = "mediatranslation_go_proto", +- name = "service_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/mediatranslation/v1beta1", -- protos = [":mediatranslation_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/orchestration/airflow/service/v1", +- protos = [":service_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/rpc:status_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//google/type:date_go_proto", - ], -) - -go_gapic_library( -- name = "mediatranslation_go_gapic", -- srcs = [":mediatranslation_proto_with_info"], -- grpc_service_config = "mediatranslation_grpc_service_config.json", -- importpath = "cloud.google.com/go/mediatranslation/apiv1beta1;mediatranslation", -- service_yaml = "mediatranslation_v1beta1.yaml", +- name = "service_go_gapic", +- srcs = [":service_proto_with_info"], +- grpc_service_config = "composer_grpc_service_config.json", +- importpath = "cloud.google.com/go/orchestration/airflow/service/apiv1;service", +- service_yaml = "composer_v1.yaml", +- metadata = True, - deps = [ -- ":mediatranslation_go_proto", +- ":service_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@com_google_cloud_go//longrunning:go_default_library", - ], -) - -go_test( -- name = "mediatranslation_go_gapic_test", -- srcs = [":mediatranslation_go_gapic_srcjar_test"], -- embed = [":mediatranslation_go_gapic"], -- importpath = "cloud.google.com/go/mediatranslation/apiv1beta1", +- name = "service_go_gapic_test", +- srcs = [":service_go_gapic_srcjar_test"], +- embed = [":service_go_gapic"], +- importpath = "cloud.google.com/go/orchestration/airflow/service/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-mediatranslation-v1beta1-go", +- name = "gapi-cloud-airflow-service-v1-go", - deps = [ -- ":mediatranslation_go_gapic", -- ":mediatranslation_go_gapic_srcjar-test.srcjar", -- ":mediatranslation_go_proto", +- ":service_go_gapic", +- ":service_go_gapic_srcjar-test.srcjar", +- ":service_go_gapic_srcjar-metadata.srcjar", +- ":service_go_proto", - ], -) - @@ -32637,16 +48634,16 @@ diff -urN a/google/cloud/mediatranslation/v1beta1/BUILD.bazel b/google/cloud/med -) - -py_gapic_library( -- name = "mediatranslation_py_gapic", -- srcs = [":mediatranslation_proto"], -- grpc_service_config = "mediatranslation_grpc_service_config.json", +- name = "service_py_gapic", +- srcs = [":service_proto"], +- grpc_service_config = "composer_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "mediatranslation-v1beta1-py", +- name = "airflow-service-v1-py", - deps = [ -- ":mediatranslation_py_gapic", +- ":service_py_gapic", - ], -) - @@ -32662,36 +48659,34 @@ diff -urN a/google/cloud/mediatranslation/v1beta1/BUILD.bazel b/google/cloud/med -) - -php_proto_library( -- name = "mediatranslation_php_proto", -- deps = [":mediatranslation_proto"], +- name = "service_php_proto", +- deps = [":service_proto"], -) - -php_grpc_library( -- name = "mediatranslation_php_grpc", -- srcs = [":mediatranslation_proto"], -- deps = [":mediatranslation_php_proto"], +- name = "service_php_grpc", +- srcs = [":service_proto"], +- deps = [":service_php_proto"], -) - -php_gapic_library( -- name = "mediatranslation_php_gapic", -- src = ":mediatranslation_proto_with_info", -- gapic_yaml = "mediatranslation_gapic.yaml", -- grpc_service_config = "mediatranslation_grpc_service_config.json", -- package = "google.cloud.mediatranslation.v1beta1", -- service_yaml = "mediatranslation_v1beta1.yaml", +- name = "service_php_gapic", +- srcs = [":service_proto_with_info"], +- grpc_service_config = "composer_grpc_service_config.json", +- service_yaml = "composer_v1.yaml", - deps = [ -- ":mediatranslation_php_grpc", -- ":mediatranslation_php_proto", +- ":service_php_grpc", +- ":service_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-mediatranslation-v1beta1-php", +- name = "google-cloud-airflow-service-v1-php", - deps = [ -- ":mediatranslation_php_gapic", -- ":mediatranslation_php_grpc", -- ":mediatranslation_php_proto", +- ":service_php_gapic", +- ":service_php_grpc", +- ":service_php_proto", - ], -) - @@ -32705,21 +48700,21 @@ diff -urN a/google/cloud/mediatranslation/v1beta1/BUILD.bazel b/google/cloud/med -) - -nodejs_gapic_library( -- name = "mediatranslation_nodejs_gapic", -- package_name = "@google-cloud/media-translation", -- src = ":mediatranslation_proto_with_info", +- name = "service_nodejs_gapic", +- package_name = "@google-cloud/composer", +- src = ":service_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "mediatranslation_grpc_service_config.json", -- package = "google.cloud.mediatranslation.v1beta1", -- service_yaml = "mediatranslation_v1beta1.yaml", +- grpc_service_config = "composer_grpc_service_config.json", +- package = "google.cloud.orchestration.airflow.service.v1", +- service_yaml = "composer_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "mediatranslation-v1beta1-nodejs", +- name = "airflow-service-v1-nodejs", - deps = [ -- ":mediatranslation_nodejs_gapic", -- ":mediatranslation_proto", +- ":service_nodejs_gapic", +- ":service_proto", - ], -) - @@ -32735,42 +48730,36 @@ diff -urN a/google/cloud/mediatranslation/v1beta1/BUILD.bazel b/google/cloud/med -) - -ruby_proto_library( -- name = "mediatranslation_ruby_proto", -- deps = [":mediatranslation_proto"], +- name = "service_ruby_proto", +- deps = [":service_proto"], -) - -ruby_grpc_library( -- name = "mediatranslation_ruby_grpc", -- srcs = [":mediatranslation_proto"], -- deps = [":mediatranslation_ruby_proto"], +- name = "service_ruby_grpc", +- srcs = [":service_proto"], +- deps = [":service_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "mediatranslation_ruby_gapic", -- srcs = [":mediatranslation_proto_with_info"], +- name = "service_ruby_gapic", +- srcs = [":service_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-media_translation-v1beta1", -- "ruby-cloud-env-prefix=MEDIA_TRANSLATION", -- "ruby-cloud-product-url=https://cloud.google.com/media-translation/", -- "ruby-cloud-api-id=mediatranslation.googleapis.com", -- "ruby-cloud-api-shortname=mediatranslation", +- "ruby-cloud-gem-name=google-cloud-airflow-service-v1", - ], -- grpc_service_config = "mediatranslation_grpc_service_config.json", -- ruby_cloud_description = "Media Translation API delivers real-time speech translation to your content and applications directly from your audio data. Leveraging Google’s machine learning technologies, the API offers enhanced accuracy and simplified integration while equipping you with a comprehensive set of features to further refine your translation results. Improve user experience with low-latency streaming translation and scale quickly with straightforward internationalization.", -- ruby_cloud_title = "Media Translation V1beta1", +- grpc_service_config = "composer_grpc_service_config.json", - deps = [ -- ":mediatranslation_ruby_grpc", -- ":mediatranslation_ruby_proto", +- ":service_ruby_grpc", +- ":service_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-mediatranslation-v1beta1-ruby", +- name = "google-cloud-airflow-service-v1-ruby", - deps = [ -- ":mediatranslation_ruby_gapic", -- ":mediatranslation_ruby_grpc", -- ":mediatranslation_ruby_proto", +- ":service_ruby_gapic", +- ":service_ruby_grpc", +- ":service_ruby_proto", - ], -) - @@ -32786,34 +48775,34 @@ diff -urN a/google/cloud/mediatranslation/v1beta1/BUILD.bazel b/google/cloud/med -) - -csharp_proto_library( -- name = "mediatranslation_csharp_proto", -- deps = [":mediatranslation_proto"], +- name = "service_csharp_proto", +- deps = [":service_proto"], -) - -csharp_grpc_library( -- name = "mediatranslation_csharp_grpc", -- srcs = [":mediatranslation_proto"], -- deps = [":mediatranslation_csharp_proto"], +- name = "service_csharp_grpc", +- srcs = [":service_proto"], +- deps = [":service_csharp_proto"], -) - -csharp_gapic_library( -- name = "mediatranslation_csharp_gapic", -- srcs = [":mediatranslation_proto_with_info"], +- name = "service_csharp_gapic", +- srcs = [":service_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "mediatranslation_grpc_service_config.json", +- grpc_service_config = "composer_grpc_service_config.json", - deps = [ -- ":mediatranslation_csharp_grpc", -- ":mediatranslation_csharp_proto", +- ":service_csharp_grpc", +- ":service_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-mediatranslation-v1beta1-csharp", +- name = "google-cloud-airflow-service-v1-csharp", - deps = [ -- ":mediatranslation_csharp_gapic", -- ":mediatranslation_csharp_grpc", -- ":mediatranslation_csharp_proto", +- ":service_csharp_gapic", +- ":service_csharp_grpc", +- ":service_csharp_proto", - ], -) - @@ -32821,12 +48810,12 @@ diff -urN a/google/cloud/mediatranslation/v1beta1/BUILD.bazel b/google/cloud/med -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/memcache/v1/BUILD.bazel b/google/cloud/memcache/v1/BUILD.bazel ---- a/google/cloud/memcache/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/memcache/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +diff -urN a/google/cloud/orchestration/airflow/service/v1beta1/BUILD.bazel b/google/cloud/orchestration/airflow/service/v1beta1/BUILD.bazel +--- a/google/cloud/orchestration/airflow/service/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/orchestration/airflow/service/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,344 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +-# https://github.com/googleapis/rules_gapic/tree/master/bazel - -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: @@ -32846,9 +48835,11 @@ diff -urN a/google/cloud/memcache/v1/BUILD.bazel b/google/cloud/memcache/v1/BUIL -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "memcache_proto", +- name = "service_proto", - srcs = [ -- "cloud_memcache.proto", +- "environments.proto", +- "image_versions.proto", +- "operations.proto", - ], - deps = [ - "//google/api:annotations_proto", @@ -32856,15 +48847,16 @@ diff -urN a/google/cloud/memcache/v1/BUILD.bazel b/google/cloud/memcache/v1/BUIL - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "//google/longrunning:operations_proto", +- "//google/type:date_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "memcache_proto_with_info", +- name = "service_proto_with_info", - deps = [ -- ":memcache_proto", +- ":service_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -32882,43 +48874,45 @@ diff -urN a/google/cloud/memcache/v1/BUILD.bazel b/google/cloud/memcache/v1/BUIL -) - -java_proto_library( -- name = "memcache_java_proto", -- deps = [":memcache_proto"], +- name = "service_java_proto", +- deps = [":service_proto"], -) - -java_grpc_library( -- name = "memcache_java_grpc", -- srcs = [":memcache_proto"], -- deps = [":memcache_java_proto"], +- name = "service_java_grpc", +- srcs = [":service_proto"], +- deps = [":service_java_proto"], -) - -java_gapic_library( -- name = "memcache_java_gapic", -- srcs = [":memcache_proto_with_info"], -- grpc_service_config = "memcache_grpc_service_config.json", +- name = "service_java_gapic", +- srcs = [":service_proto_with_info"], +- grpc_service_config = "composer_grpc_service_config.json", - test_deps = [ -- ":memcache_java_grpc", +- ":service_java_grpc", - ], - deps = [ -- ":memcache_java_proto", +- ":service_java_proto", - ], -) - -java_gapic_test( -- name = "memcache_java_gapic_test_suite", +- name = "service_java_gapic_test_suite", - test_classes = [ +- "com.google.cloud.orchestration.airflow.service.v1beta1.EnvironmentsClientTest", +- "com.google.cloud.orchestration.airflow.service.v1beta1.ImageVersionsClientTest", - ], -- runtime_deps = [":memcache_java_gapic_test"], +- runtime_deps = [":service_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-memcache-v1-java", +- name = "google-cloud-airflow-service-v1beta1-java", - deps = [ -- ":memcache_java_gapic", -- ":memcache_java_grpc", -- ":memcache_java_proto", -- ":memcache_proto", +- ":service_java_gapic", +- ":service_java_grpc", +- ":service_java_proto", +- ":service_proto", - ], -) - @@ -32934,44 +48928,47 @@ diff -urN a/google/cloud/memcache/v1/BUILD.bazel b/google/cloud/memcache/v1/BUIL -) - -go_proto_library( -- name = "memcache_go_proto", +- name = "service_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/memcache/v1", -- protos = [":memcache_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/orchestration/airflow/service/v1beta1", +- protos = [":service_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/longrunning:longrunning_go_proto", +- "//google/type:date_go_proto", - ], -) - -go_gapic_library( -- name = "memcache_go_gapic", -- srcs = [":memcache_proto_with_info"], -- grpc_service_config = "memcache_grpc_service_config.json", -- importpath = "cloud.google.com/go/memcache/apiv1;memcache", -- service_yaml = "memcache_v1.yaml", +- name = "service_go_gapic", +- srcs = [":service_proto_with_info"], +- grpc_service_config = "composer_grpc_service_config.json", +- importpath = "cloud.google.com/go/orchestration/airflow/service/apiv1beta1;service", +- service_yaml = "composer_v1beta1.yaml", +- metadata = True, - deps = [ -- ":memcache_go_proto", +- ":service_go_proto", - "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@com_google_cloud_go//longrunning:go_default_library", - ], -) - -go_test( -- name = "memcache_go_gapic_test", -- srcs = [":memcache_go_gapic_srcjar_test"], -- embed = [":memcache_go_gapic"], -- importpath = "cloud.google.com/go/memcache/apiv1", +- name = "service_go_gapic_test", +- srcs = [":service_go_gapic_srcjar_test"], +- embed = [":service_go_gapic"], +- importpath = "cloud.google.com/go/orchestration/airflow/service/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-memcache-v1-go", +- name = "gapi-cloud-airflow-service-v1beta1-go", - deps = [ -- ":memcache_go_gapic", -- ":memcache_go_gapic_srcjar-test.srcjar", -- ":memcache_go_proto", +- ":service_go_gapic", +- ":service_go_gapic_srcjar-test.srcjar", +- ":service_go_gapic_srcjar-metadata.srcjar", +- ":service_go_proto", - ], -) - @@ -32985,16 +48982,16 @@ diff -urN a/google/cloud/memcache/v1/BUILD.bazel b/google/cloud/memcache/v1/BUIL -) - -py_gapic_library( -- name = "memcache_py_gapic", -- srcs = [":memcache_proto"], -- grpc_service_config = "memcache_grpc_service_config.json", +- name = "service_py_gapic", +- srcs = [":service_proto"], +- grpc_service_config = "composer_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "memcache-v1-py", +- name = "airflow-service-v1beta1-py", - deps = [ -- ":memcache_py_gapic", +- ":service_py_gapic", - ], -) - @@ -33010,36 +49007,34 @@ diff -urN a/google/cloud/memcache/v1/BUILD.bazel b/google/cloud/memcache/v1/BUIL -) - -php_proto_library( -- name = "memcache_php_proto", -- deps = [":memcache_proto"], +- name = "service_php_proto", +- deps = [":service_proto"], -) - -php_grpc_library( -- name = "memcache_php_grpc", -- srcs = [":memcache_proto"], -- deps = [":memcache_php_proto"], +- name = "service_php_grpc", +- srcs = [":service_proto"], +- deps = [":service_php_proto"], -) - -php_gapic_library( -- name = "memcache_php_gapic", -- src = ":memcache_proto_with_info", -- gapic_yaml = "memcache_gapic.yaml", -- grpc_service_config = "memcache_grpc_service_config.json", -- package = "google.cloud.memcache.v1", -- service_yaml = "memcache_v1.yaml", +- name = "service_php_gapic", +- srcs = [":service_proto_with_info"], +- grpc_service_config = "composer_grpc_service_config.json", +- service_yaml = "composer_v1beta1.yaml", - deps = [ -- ":memcache_php_grpc", -- ":memcache_php_proto", +- ":service_php_grpc", +- ":service_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-memcache-v1-php", +- name = "google-cloud-airflow-service-v1beta1-php", - deps = [ -- ":memcache_php_gapic", -- ":memcache_php_grpc", -- ":memcache_php_proto", +- ":service_php_gapic", +- ":service_php_grpc", +- ":service_php_proto", - ], -) - @@ -33053,21 +49048,21 @@ diff -urN a/google/cloud/memcache/v1/BUILD.bazel b/google/cloud/memcache/v1/BUIL -) - -nodejs_gapic_library( -- name = "memcache_nodejs_gapic", -- package_name = "@google-cloud/memcache", -- src = ":memcache_proto_with_info", +- name = "service_nodejs_gapic", +- package_name = "@google-cloud/composer", +- src = ":service_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "memcache_grpc_service_config.json", -- package = "google.cloud.memcache.v1", -- service_yaml = "memcache_v1.yaml", +- grpc_service_config = "composer_grpc_service_config.json", +- package = "google.cloud.orchestration.airflow.service.v1beta1", +- service_yaml = "composer_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "memcache-v1-nodejs", +- name = "airflow-service-v1beta1-nodejs", - deps = [ -- ":memcache_nodejs_gapic", -- ":memcache_proto", +- ":service_nodejs_gapic", +- ":service_proto", - ], -) - @@ -33083,42 +49078,36 @@ diff -urN a/google/cloud/memcache/v1/BUILD.bazel b/google/cloud/memcache/v1/BUIL -) - -ruby_proto_library( -- name = "memcache_ruby_proto", -- deps = [":memcache_proto"], +- name = "service_ruby_proto", +- deps = [":service_proto"], -) - -ruby_grpc_library( -- name = "memcache_ruby_grpc", -- srcs = [":memcache_proto"], -- deps = [":memcache_ruby_proto"], +- name = "service_ruby_grpc", +- srcs = [":service_proto"], +- deps = [":service_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "memcache_ruby_gapic", -- srcs = [":memcache_proto_with_info",], +- name = "service_ruby_gapic", +- srcs = [":service_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-memcache-v1", -- "ruby-cloud-env-prefix=MEMCACHE", -- "ruby-cloud-product-url=https://cloud.google.com/memorystore/docs/memcached/", -- "ruby-cloud-api-id=memcache.googleapis.com", -- "ruby-cloud-api-shortname=memcache", +- "ruby-cloud-gem-name=google-cloud-airflow-service-v1beta1", - ], -- grpc_service_config = "memcache_grpc_service_config.json", -- ruby_cloud_description = "Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP.", -- ruby_cloud_title = "Google Cloud Memorystore for Memcached V1", +- grpc_service_config = "composer_grpc_service_config.json", - deps = [ -- ":memcache_ruby_grpc", -- ":memcache_ruby_proto", +- ":service_ruby_grpc", +- ":service_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-memcache-v1-ruby", +- name = "google-cloud-airflow-service-v1beta1-ruby", - deps = [ -- ":memcache_ruby_gapic", -- ":memcache_ruby_grpc", -- ":memcache_ruby_proto", +- ":service_ruby_gapic", +- ":service_ruby_grpc", +- ":service_ruby_proto", - ], -) - @@ -33134,34 +49123,34 @@ diff -urN a/google/cloud/memcache/v1/BUILD.bazel b/google/cloud/memcache/v1/BUIL -) - -csharp_proto_library( -- name = "memcache_csharp_proto", -- deps = [":memcache_proto"], +- name = "service_csharp_proto", +- deps = [":service_proto"], -) - -csharp_grpc_library( -- name = "memcache_csharp_grpc", -- srcs = [":memcache_proto"], -- deps = [":memcache_csharp_proto"], +- name = "service_csharp_grpc", +- srcs = [":service_proto"], +- deps = [":service_csharp_proto"], -) - -csharp_gapic_library( -- name = "memcache_csharp_gapic", -- srcs = [":memcache_proto_with_info"], +- name = "service_csharp_gapic", +- srcs = [":service_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "memcache_grpc_service_config.json", +- grpc_service_config = "composer_grpc_service_config.json", - deps = [ -- ":memcache_csharp_grpc", -- ":memcache_csharp_proto", +- ":service_csharp_grpc", +- ":service_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-memcache-v1-csharp", +- name = "google-cloud-airflow-service-v1beta1-csharp", - deps = [ -- ":memcache_csharp_gapic", -- ":memcache_csharp_grpc", -- ":memcache_csharp_proto", +- ":service_csharp_gapic", +- ":service_csharp_grpc", +- ":service_csharp_proto", - ], -) - @@ -33169,10 +49158,202 @@ diff -urN a/google/cloud/memcache/v1/BUILD.bazel b/google/cloud/memcache/v1/BUIL -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/memcache/v1beta2/BUILD.bazel b/google/cloud/memcache/v1beta2/BUILD.bazel ---- a/google/cloud/memcache/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/memcache/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,344 +0,0 @@ +diff -urN a/google/cloud/orgpolicy/v1/BUILD.bazel b/google/cloud/orgpolicy/v1/BUILD.bazel +--- a/google/cloud/orgpolicy/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/orgpolicy/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,188 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-proto_library( +- name = "orgpolicy_proto", +- srcs = [ +- "orgpolicy.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "orgpolicy_java_proto", +- deps = [":orgpolicy_proto"], +-) +- +-java_grpc_library( +- name = "orgpolicy_java_grpc", +- srcs = [":orgpolicy_proto"], +- deps = [":orgpolicy_java_proto"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-orgpolicy-v1-java", +- deps = [ +- ":orgpolicy_java_grpc", +- ":orgpolicy_java_proto", +- ":orgpolicy_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "orgpolicy_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/orgpolicy/v1", +- protos = [":orgpolicy_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "moved_proto_library", +- "py_gapic_assembly_pkg", +- "py_grpc_library", +- "py_proto_library", +-) +- +-moved_proto_library( +- name = "orgpolicy_moved_proto", +- srcs = [":orgpolicy_proto"], +- deps = [ +- "//google/api:annotations_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-py_proto_library( +- name = "orgpolicy_py_proto", +- deps = [":orgpolicy_moved_proto"], +-) +- +-py_grpc_library( +- name = "orgpolicy_py_grpc", +- srcs = [":orgpolicy_moved_proto"], +- deps = [":orgpolicy_py_proto"], +-) +- +-# Open Source Packages +-# DO NOT REMOVE, this is needed to generate a Python package +-# with the orgpolicy protos. +-py_gapic_assembly_pkg( +- name = "orgpolicy-v1-py", +- deps = [ +- ":orgpolicy_proto", +- ":orgpolicy_py_grpc", +- ":orgpolicy_py_proto", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "orgpolicy_php_proto", +- deps = [":orgpolicy_proto"], +-) +- +-php_grpc_library( +- name = "orgpolicy_php_grpc", +- srcs = [":orgpolicy_proto"], +- deps = [":orgpolicy_php_proto"], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "orgpolicy_ruby_proto", +- deps = [":orgpolicy_proto"], +-) +- +-ruby_grpc_library( +- name = "orgpolicy_ruby_grpc", +- srcs = [":orgpolicy_proto"], +- deps = [":orgpolicy_ruby_proto"], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "orgpolicy_csharp_proto", +- deps = [":orgpolicy_proto"], +-) +- +-csharp_grpc_library( +- name = "orgpolicy_csharp_grpc", +- srcs = [":orgpolicy_proto"], +- deps = [":orgpolicy_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/cloud/orgpolicy/v2/BUILD.bazel b/google/cloud/orgpolicy/v2/BUILD.bazel +--- a/google/cloud/orgpolicy/v2/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/orgpolicy/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,340 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - @@ -33194,25 +49375,26 @@ diff -urN a/google/cloud/memcache/v1beta2/BUILD.bazel b/google/cloud/memcache/v1 -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "memcache_proto", +- name = "orgpolicy_proto", - srcs = [ -- "cloud_memcache.proto", +- "constraint.proto", +- "orgpolicy.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/longrunning:operations_proto", -- "@com_google_protobuf//:field_mask_proto", +- "//google/type:expr_proto", +- "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "memcache_proto_with_info", +- name = "orgpolicy_proto_with_info", - deps = [ -- ":memcache_proto", +- ":orgpolicy_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -33230,43 +49412,44 @@ diff -urN a/google/cloud/memcache/v1beta2/BUILD.bazel b/google/cloud/memcache/v1 -) - -java_proto_library( -- name = "memcache_java_proto", -- deps = [":memcache_proto"], +- name = "orgpolicy_java_proto", +- deps = [":orgpolicy_proto"], -) - -java_grpc_library( -- name = "memcache_java_grpc", -- srcs = [":memcache_proto"], -- deps = [":memcache_java_proto"], +- name = "orgpolicy_java_grpc", +- srcs = [":orgpolicy_proto"], +- deps = [":orgpolicy_java_proto"], -) - -java_gapic_library( -- name = "memcache_java_gapic", -- srcs = [":memcache_proto_with_info"], -- grpc_service_config = "memcache_grpc_service_config.json", +- name = "orgpolicy_java_gapic", +- srcs = [":orgpolicy_proto_with_info"], +- grpc_service_config = "orgpolicy_grpc_service_config.json", - test_deps = [ -- ":memcache_java_grpc", +- ":orgpolicy_java_grpc", - ], - deps = [ -- ":memcache_java_proto", +- ":orgpolicy_java_proto", - ], -) - -java_gapic_test( -- name = "memcache_java_gapic_test_suite", +- name = "orgpolicy_java_gapic_test_suite", - test_classes = [ +- "com.google.cloud.orgpolicy.v2.OrgPolicyClientTest", - ], -- runtime_deps = [":memcache_java_gapic_test"], +- runtime_deps = [":orgpolicy_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-memcache-v1beta2-java", +- name = "google-cloud-orgpolicy-v2-java", - deps = [ -- ":memcache_java_gapic", -- ":memcache_java_grpc", -- ":memcache_java_proto", -- ":memcache_proto", +- ":orgpolicy_java_gapic", +- ":orgpolicy_java_grpc", +- ":orgpolicy_java_proto", +- ":orgpolicy_proto", - ], -) - @@ -33282,44 +49465,41 @@ diff -urN a/google/cloud/memcache/v1beta2/BUILD.bazel b/google/cloud/memcache/v1 -) - -go_proto_library( -- name = "memcache_go_proto", +- name = "orgpolicy_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/memcache/v1beta2", -- protos = [":memcache_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/orgpolicy/v2", +- protos = [":orgpolicy_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/longrunning:longrunning_go_proto", +- "//google/type:expr_go_proto", - ], -) - -go_gapic_library( -- name = "memcache_go_gapic", -- srcs = [":memcache_proto_with_info"], -- grpc_service_config = "memcache_grpc_service_config.json", -- importpath = "cloud.google.com/go/memcache/apiv1beta2;memcache", -- service_yaml = "memcache_v1beta2.yaml", +- name = "orgpolicy_go_gapic", +- srcs = [":orgpolicy_proto_with_info"], +- grpc_service_config = "orgpolicy_grpc_service_config.json", +- importpath = "cloud.google.com/go/orgpolicy/apiv2;orgpolicy", +- service_yaml = "orgpolicy_v2.yaml", - deps = [ -- ":memcache_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- ":orgpolicy_go_proto", - ], -) - -go_test( -- name = "memcache_go_gapic_test", -- srcs = [":memcache_go_gapic_srcjar_test"], -- embed = [":memcache_go_gapic"], -- importpath = "cloud.google.com/go/memcache/apiv1beta2", +- name = "orgpolicy_go_gapic_test", +- srcs = [":orgpolicy_go_gapic_srcjar_test"], +- embed = [":orgpolicy_go_gapic"], +- importpath = "cloud.google.com/go/orgpolicy/apiv2", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-memcache-v1beta2-go", +- name = "gapi-cloud-orgpolicy-v2-go", - deps = [ -- ":memcache_go_gapic", -- ":memcache_go_gapic_srcjar-test.srcjar", -- ":memcache_go_proto", +- ":orgpolicy_go_gapic", +- ":orgpolicy_go_gapic_srcjar-test.srcjar", +- ":orgpolicy_go_proto", - ], -) - @@ -33333,16 +49513,16 @@ diff -urN a/google/cloud/memcache/v1beta2/BUILD.bazel b/google/cloud/memcache/v1 -) - -py_gapic_library( -- name = "memcache_py_gapic", -- srcs = [":memcache_proto"], -- grpc_service_config = "memcache_grpc_service_config.json", +- name = "orgpolicy_py_gapic", +- srcs = [":orgpolicy_proto"], +- grpc_service_config = "orgpolicy_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "memcache-v1beta2-py", +- name = "orgpolicy-v2-py", - deps = [ -- ":memcache_py_gapic", +- ":orgpolicy_py_gapic", - ], -) - @@ -33358,36 +49538,33 @@ diff -urN a/google/cloud/memcache/v1beta2/BUILD.bazel b/google/cloud/memcache/v1 -) - -php_proto_library( -- name = "memcache_php_proto", -- deps = [":memcache_proto"], +- name = "orgpolicy_php_proto", +- deps = [":orgpolicy_proto"], -) - -php_grpc_library( -- name = "memcache_php_grpc", -- srcs = [":memcache_proto"], -- deps = [":memcache_php_proto"], +- name = "orgpolicy_php_grpc", +- srcs = [":orgpolicy_proto"], +- deps = [":orgpolicy_php_proto"], -) - -php_gapic_library( -- name = "memcache_php_gapic", -- src = ":memcache_proto_with_info", -- gapic_yaml = "memcache_gapic.yaml", -- grpc_service_config = "memcache_grpc_service_config.json", -- package = "google.cloud.memcache.v1beta2", -- service_yaml = "memcache_v1beta2.yaml", +- name = "orgpolicy_php_gapic", +- srcs = [":orgpolicy_proto_with_info"], +- grpc_service_config = "orgpolicy_grpc_service_config.json", - deps = [ -- ":memcache_php_grpc", -- ":memcache_php_proto", +- ":orgpolicy_php_grpc", +- ":orgpolicy_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-memcache-v1beta2-php", +- name = "google-cloud-orgpolicy-v2-php", - deps = [ -- ":memcache_php_gapic", -- ":memcache_php_grpc", -- ":memcache_php_proto", +- ":orgpolicy_php_gapic", +- ":orgpolicy_php_grpc", +- ":orgpolicy_php_proto", - ], -) - @@ -33401,21 +49578,21 @@ diff -urN a/google/cloud/memcache/v1beta2/BUILD.bazel b/google/cloud/memcache/v1 -) - -nodejs_gapic_library( -- name = "memcache_nodejs_gapic", -- package_name = "@google-cloud/memcache", -- src = ":memcache_proto_with_info", +- name = "orgpolicy_nodejs_gapic", +- package_name = "@google-cloud/org-policy", +- src = ":orgpolicy_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "memcache_grpc_service_config.json", -- package = "google.cloud.memcache.v1beta2", -- service_yaml = "memcache_v1beta2.yaml", +- grpc_service_config = "orgpolicy_grpc_service_config.json", +- package = "google.cloud.orgpolicy.v2", +- service_yaml = "orgpolicy_v2.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "memcache-v1beta2-nodejs", +- name = "orgpolicy-v2-nodejs", - deps = [ -- ":memcache_nodejs_gapic", -- ":memcache_proto", +- ":orgpolicy_nodejs_gapic", +- ":orgpolicy_proto", - ], -) - @@ -33424,49 +49601,49 @@ diff -urN a/google/cloud/memcache/v1beta2/BUILD.bazel b/google/cloud/memcache/v1 -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "memcache_ruby_proto", -- deps = [":memcache_proto"], +- name = "orgpolicy_ruby_proto", +- deps = [":orgpolicy_proto"], -) - -ruby_grpc_library( -- name = "memcache_ruby_grpc", -- srcs = [":memcache_proto"], -- deps = [":memcache_ruby_proto"], +- name = "orgpolicy_ruby_grpc", +- srcs = [":orgpolicy_proto"], +- deps = [":orgpolicy_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "memcache_ruby_gapic", -- srcs = [":memcache_proto_with_info"], +- name = "orgpolicy_ruby_gapic", +- srcs = [":orgpolicy_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-memcache-v1beta2", -- "ruby-cloud-env-prefix=MEMCACHE", -- "ruby-cloud-product-url=https://cloud.google.com/memorystore/docs/memcached/", -- "ruby-cloud-api-id=memcache.googleapis.com", -- "ruby-cloud-api-shortname=memcache", +- "ruby-cloud-gem-name=google-cloud-org_policy-v2", +- "ruby-cloud-env-prefix=ORG_POLICY", +- "ruby-cloud-product-url=https://cloud.google.com/resource-manager/docs/organization-policy/overview", +- "ruby-cloud-api-id=orgpolicy.googleapis.com", +- "ruby-cloud-api-shortname=orgpolicy", - ], -- grpc_service_config = "memcache_grpc_service_config.json", -- ruby_cloud_description = "Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP.", -- ruby_cloud_title = "Google Cloud Memorystore for Memcached", +- grpc_service_config = "orgpolicy_grpc_service_config.json", +- ruby_cloud_description = "The Cloud Org Policy service provides a simple mechanism for organizations to restrict the allowed configurations across their entire Cloud Resource hierarchy.", +- ruby_cloud_title = "Organization Policy V2", - deps = [ -- ":memcache_ruby_grpc", -- ":memcache_ruby_proto", +- ":orgpolicy_ruby_grpc", +- ":orgpolicy_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-memcache-v1beta2-ruby", +- name = "google-cloud-orgpolicy-v2-ruby", - deps = [ -- ":memcache_ruby_gapic", -- ":memcache_ruby_grpc", -- ":memcache_ruby_proto", +- ":orgpolicy_ruby_gapic", +- ":orgpolicy_ruby_grpc", +- ":orgpolicy_ruby_proto", - ], -) - @@ -33482,34 +49659,34 @@ diff -urN a/google/cloud/memcache/v1beta2/BUILD.bazel b/google/cloud/memcache/v1 -) - -csharp_proto_library( -- name = "memcache_csharp_proto", -- deps = [":memcache_proto"], +- name = "orgpolicy_csharp_proto", +- deps = [":orgpolicy_proto"], -) - -csharp_grpc_library( -- name = "memcache_csharp_grpc", -- srcs = [":memcache_proto"], -- deps = [":memcache_csharp_proto"], +- name = "orgpolicy_csharp_grpc", +- srcs = [":orgpolicy_proto"], +- deps = [":orgpolicy_csharp_proto"], -) - -csharp_gapic_library( -- name = "memcache_csharp_gapic", -- srcs = [":memcache_proto_with_info"], +- name = "orgpolicy_csharp_gapic", +- srcs = [":orgpolicy_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "memcache_grpc_service_config.json", +- grpc_service_config = "orgpolicy_grpc_service_config.json", - deps = [ -- ":memcache_csharp_grpc", -- ":memcache_csharp_proto", +- ":orgpolicy_csharp_grpc", +- ":orgpolicy_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-memcache-v1beta2-csharp", +- name = "google-cloud-orgpolicy-v2-csharp", - deps = [ -- ":memcache_csharp_gapic", -- ":memcache_csharp_grpc", -- ":memcache_csharp_proto", +- ":orgpolicy_csharp_gapic", +- ":orgpolicy_csharp_grpc", +- ":orgpolicy_csharp_proto", - ], -) - @@ -33517,11 +49694,20 @@ diff -urN a/google/cloud/memcache/v1beta2/BUILD.bazel b/google/cloud/memcache/v1 -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/metastore/logging/v1/BUILD.bazel b/google/cloud/metastore/logging/v1/BUILD.bazel ---- a/google/cloud/metastore/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/metastore/logging/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,151 +0,0 @@ +diff -urN a/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel b/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel +--- a/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,332 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -33530,13 +49716,32 @@ diff -urN a/google/cloud/metastore/logging/v1/BUILD.bazel b/google/cloud/metasto -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "logging_proto", +- name = "agentendpoint_proto", - srcs = [ -- "log_streams.proto", +- "agentendpoint.proto", +- "config_common.proto", +- "inventory.proto", +- "os_policy.proto", +- "patch_jobs.proto", +- "tasks.proto", +- ], +- deps = [ +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "agentendpoint_proto_with_info", +- deps = [ +- ":agentendpoint_proto", +- "//google/cloud:common_resources_proto", - ], -- deps = [], -) - -############################################################################## @@ -33544,19 +49749,53 @@ diff -urN a/google/cloud/metastore/logging/v1/BUILD.bazel b/google/cloud/metasto -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "logging_java_proto", -- deps = [":logging_proto"], +- name = "agentendpoint_java_proto", +- deps = [":agentendpoint_proto"], -) - -java_grpc_library( -- name = "logging_java_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_java_proto"], +- name = "agentendpoint_java_grpc", +- srcs = [":agentendpoint_proto"], +- deps = [":agentendpoint_java_proto"], +-) +- +-java_gapic_library( +- name = "agentendpoint_java_gapic", +- srcs = [":agentendpoint_proto_with_info"], +- grpc_service_config = "agentendpoint_grpc_service_config.json", +- test_deps = [ +- ":agentendpoint_java_grpc", +- ], +- deps = [ +- ":agentendpoint_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "agentendpoint_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.osconfig.agentendpoint.v1.AgentEndpointServiceClientTest", +- ], +- runtime_deps = [":agentendpoint_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-osconfig-agentendpoint-v1-java", +- deps = [ +- ":agentendpoint_java_gapic", +- ":agentendpoint_java_grpc", +- ":agentendpoint_java_proto", +- ":agentendpoint_proto", +- ], -) - -############################################################################## @@ -33564,66 +49803,117 @@ diff -urN a/google/cloud/metastore/logging/v1/BUILD.bazel b/google/cloud/metasto -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", - "go_proto_library", +- "go_test", -) - -go_proto_library( -- name = "logging_go_proto", +- name = "agentendpoint_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/metastore/logging/v1", -- protos = [":logging_proto"], -- deps = [], --) -- --############################################################################## --# Python --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", -- "py_grpc_library", -- "py_proto_library", +- importpath = "google.golang.org/genproto/googleapis/cloud/osconfig/agentendpoint/v1", +- protos = [":agentendpoint_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- ], -) - --moved_proto_library( -- name = "logging_moved_proto", -- srcs = [":logging_proto"], -- deps = [], +-go_gapic_library( +- name = "agentendpoint_go_gapic", +- srcs = [":agentendpoint_proto_with_info"], +- grpc_service_config = "agentendpoint_grpc_service_config.json", +- importpath = "cloud.google.com/go/osconfig/agentendpoint/apiv1;agentendpoint", +- service_yaml = "osconfig_v1.yaml", +- deps = [ +- ":agentendpoint_go_proto", +- ], -) - --py_proto_library( -- name = "logging_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":logging_moved_proto"], +-go_test( +- name = "agentendpoint_go_gapic_test", +- srcs = [":agentendpoint_go_gapic_srcjar_test"], +- embed = [":agentendpoint_go_gapic"], +- importpath = "cloud.google.com/go/osconfig/agentendpoint/apiv1", -) - --py_grpc_library( -- name = "logging_py_grpc", -- srcs = [":logging_moved_proto"], -- deps = [":logging_py_proto"], +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-osconfig-agentendpoint-v1-go", +- deps = [ +- ":agentendpoint_go_gapic", +- ":agentendpoint_go_gapic_srcjar-test.srcjar", +- ":agentendpoint_go_proto", +- ], -) - -############################################################################## --# PHP +-# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "php_grpc_library", -- "php_proto_library", +- "py_gapic_assembly_pkg", +- "py_gapic_library", -) - --php_proto_library( -- name = "logging_php_proto", -- deps = [":logging_proto"], +-py_gapic_library( +- name = "agentendpoint_py_gapic", +- srcs = [":agentendpoint_proto"], +- grpc_service_config = "agentendpoint_grpc_service_config.json", -) - --php_grpc_library( -- name = "logging_php_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_php_proto"], +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "osconfig-agentendpoint-v1-py", +- deps = [ +- ":agentendpoint_py_gapic", +- ], -) - -############################################################################## +-# PHP +-############################################################################## +-# load( +-# "@com_google_googleapis_imports//:imports.bzl", +-# "php_gapic_assembly_pkg", +-# "php_gapic_library", +-# "php_grpc_library", +-# "php_proto_library", +-# ) +-# +-# php_proto_library( +-# name = "agentendpoint_php_proto", +-# deps = [":agentendpoint_proto"], +-# ) +-# +-# php_grpc_library( +-# name = "agentendpoint_php_grpc", +-# srcs = [":agentendpoint_proto"], +-# deps = [":agentendpoint_php_proto"], +-# ) +-# +-# php_gapic_library( +-# name = "agentendpoint_php_gapic", +-# srcs = [":agentendpoint_proto_with_info"], +-# grpc_service_config = "agentendpoint_grpc_service_config.json", +-# service_yaml = "osconfig_v1.yaml", +-# deps = [ +-# ":agentendpoint_php_grpc", +-# ":agentendpoint_php_proto", +-# ], +-# ) +-# +-# # Open Source Packages +-# php_gapic_assembly_pkg( +-# name = "google-cloud-osconfig-agentendpoint-v1-php", +-# deps = [ +-# ":agentendpoint_php_gapic", +-# ":agentendpoint_php_grpc", +-# ":agentendpoint_php_proto", +-# ], +-# ) +- +-############################################################################## -# Node.js -############################################################################## -load( @@ -33632,25 +49922,65 @@ diff -urN a/google/cloud/metastore/logging/v1/BUILD.bazel b/google/cloud/metasto - "nodejs_gapic_library", -) - +-nodejs_gapic_library( +- name = "agentendpoint_nodejs_gapic", +- src = ":agentendpoint_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "agentendpoint_grpc_service_config.json", +- package = "google.cloud.osconfig.agentendpoint.v1", +- service_yaml = "osconfig_v1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "osconfig-agentendpoint-v1-nodejs", +- deps = [ +- ":agentendpoint_nodejs_gapic", +- ":agentendpoint_proto", +- ], +-) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "logging_ruby_proto", -- deps = [":logging_proto"], +- name = "agentendpoint_ruby_proto", +- deps = [":agentendpoint_proto"], -) - -ruby_grpc_library( -- name = "logging_ruby_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_ruby_proto"], +- name = "agentendpoint_ruby_grpc", +- srcs = [":agentendpoint_proto"], +- deps = [":agentendpoint_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "agentendpoint_ruby_gapic", +- srcs = [":agentendpoint_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-agentendpoint-v1"], +- grpc_service_config = "agentendpoint_grpc_service_config.json", +- deps = [ +- ":agentendpoint_ruby_grpc", +- ":agentendpoint_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-osconfig-agentendpoint-v1-ruby", +- deps = [ +- ":agentendpoint_ruby_gapic", +- ":agentendpoint_ruby_grpc", +- ":agentendpoint_ruby_proto", +- ], -) - -############################################################################## @@ -33658,26 +49988,54 @@ diff -urN a/google/cloud/metastore/logging/v1/BUILD.bazel b/google/cloud/metasto -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "logging_csharp_proto", -- deps = [":logging_proto"], +- name = "agentendpoint_csharp_proto", +- deps = [":agentendpoint_proto"], -) - -csharp_grpc_library( -- name = "logging_csharp_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_csharp_proto"], +- name = "agentendpoint_csharp_grpc", +- srcs = [":agentendpoint_proto"], +- deps = [":agentendpoint_csharp_proto"], -) -diff -urN a/google/cloud/metastore/v1alpha/BUILD.bazel b/google/cloud/metastore/v1alpha/BUILD.bazel ---- a/google/cloud/metastore/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/metastore/v1alpha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,344 +0,0 @@ +- +-csharp_gapic_library( +- name = "agentendpoint_csharp_gapic", +- srcs = [":agentendpoint_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "agentendpoint_grpc_service_config.json", +- deps = [ +- ":agentendpoint_csharp_grpc", +- ":agentendpoint_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-osconfig-agentendpoint-v1-csharp", +- deps = [ +- ":agentendpoint_csharp_gapic", +- ":agentendpoint_csharp_grpc", +- ":agentendpoint_csharp_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel b/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel +--- a/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,330 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/rules_gapic/tree/master/bazel +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: @@ -33697,27 +50055,23 @@ diff -urN a/google/cloud/metastore/v1alpha/BUILD.bazel b/google/cloud/metastore/ -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "metastore_proto", +- name = "agentendpoint_proto", - srcs = [ -- "metastore.proto", +- "agentendpoint.proto", +- "guest_policies.proto", +- "patch_jobs.proto", +- "tasks.proto", - ], - deps = [ -- "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/longrunning:operations_proto", -- "//google/type:dayofweek_proto", -- "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:timestamp_proto", -- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "metastore_proto_with_info", +- name = "agentendpoint_proto_with_info", - deps = [ -- ":metastore_proto", +- ":agentendpoint_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -33735,44 +50089,44 @@ diff -urN a/google/cloud/metastore/v1alpha/BUILD.bazel b/google/cloud/metastore/ -) - -java_proto_library( -- name = "metastore_java_proto", -- deps = [":metastore_proto"], +- name = "agentendpoint_java_proto", +- deps = [":agentendpoint_proto"], -) - -java_grpc_library( -- name = "metastore_java_grpc", -- srcs = [":metastore_proto"], -- deps = [":metastore_java_proto"], +- name = "agentendpoint_java_grpc", +- srcs = [":agentendpoint_proto"], +- deps = [":agentendpoint_java_proto"], -) - -java_gapic_library( -- name = "metastore_java_gapic", -- srcs = [":metastore_proto_with_info"], -- grpc_service_config = "metastore_grpc_service_config.json", +- name = "agentendpoint_java_gapic", +- srcs = [":agentendpoint_proto_with_info"], +- grpc_service_config = "agentendpoint_grpc_service_config.json", - test_deps = [ -- ":metastore_java_grpc", +- ":agentendpoint_java_grpc", - ], - deps = [ -- ":metastore_java_proto", +- ":agentendpoint_java_proto", - ], -) - -java_gapic_test( -- name = "metastore_java_gapic_test_suite", +- name = "agentendpoint_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.metastore.v1alpha.DataprocMetastoreClientTest", +- "com.google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointServiceClientTest", - ], -- runtime_deps = [":metastore_java_gapic_test"], +- runtime_deps = [":agentendpoint_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-metastore-v1alpha-java", +- name = "google-cloud-osconfig-agentendpoint-v1beta-java", - deps = [ -- ":metastore_java_gapic", -- ":metastore_java_grpc", -- ":metastore_java_proto", -- ":metastore_proto", +- ":agentendpoint_java_gapic", +- ":agentendpoint_java_grpc", +- ":agentendpoint_java_proto", +- ":agentendpoint_proto", - ], -) - @@ -33788,47 +50142,40 @@ diff -urN a/google/cloud/metastore/v1alpha/BUILD.bazel b/google/cloud/metastore/ -) - -go_proto_library( -- name = "metastore_go_proto", +- name = "agentendpoint_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/metastore/v1alpha", -- protos = [":metastore_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/osconfig/agentendpoint/v1beta", +- protos = [":agentendpoint_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "//google/type:dayofweek_go_proto", - ], -) - -go_gapic_library( -- name = "metastore_go_gapic", -- srcs = [":metastore_proto_with_info"], -- grpc_service_config = "metastore_grpc_service_config.json", -- importpath = "cloud.google.com/go/metastore/apiv1alpha;metastore", -- metadata = True, -- service_yaml = "metastore_v1alpha.yaml", +- name = "agentendpoint_go_gapic", +- srcs = [":agentendpoint_proto_with_info"], +- grpc_service_config = "agentendpoint_grpc_service_config.json", +- importpath = "cloud.google.com/go/osconfig/agentendpoint/apiv1beta;agentendpoint", +- service_yaml = "osconfig_v1beta.yaml", - deps = [ -- ":metastore_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- ":agentendpoint_go_proto", - ], -) - -go_test( -- name = "metastore_go_gapic_test", -- srcs = [":metastore_go_gapic_srcjar_test"], -- embed = [":metastore_go_gapic"], -- importpath = "cloud.google.com/go/metastore/apiv1alpha", +- name = "agentendpoint_go_gapic_test", +- srcs = [":agentendpoint_go_gapic_srcjar_test"], +- embed = [":agentendpoint_go_gapic"], +- importpath = "cloud.google.com/go/osconfig/agentendpoint/apiv1beta", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-metastore-v1alpha-go", +- name = "gapi-cloud-osconfig-agentendpoint-v1beta-go", - deps = [ -- ":metastore_go_gapic", -- ":metastore_go_gapic_srcjar-metadata.srcjar", -- ":metastore_go_gapic_srcjar-test.srcjar", -- ":metastore_go_proto", +- ":agentendpoint_go_gapic", +- ":agentendpoint_go_gapic_srcjar-test.srcjar", +- ":agentendpoint_go_proto", - ], -) - @@ -33842,16 +50189,16 @@ diff -urN a/google/cloud/metastore/v1alpha/BUILD.bazel b/google/cloud/metastore/ -) - -py_gapic_library( -- name = "metastore_py_gapic", -- srcs = [":metastore_proto"], -- grpc_service_config = "metastore_grpc_service_config.json", +- name = "agentendpoint_py_gapic", +- srcs = [":agentendpoint_proto"], +- grpc_service_config = "agentendpoint_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "metastore-v1alpha-py", +- name = "osconfig-agentendpoint-v1beta-py", - deps = [ -- ":metastore_py_gapic", +- ":agentendpoint_py_gapic", - ], -) - @@ -33867,38 +50214,38 @@ diff -urN a/google/cloud/metastore/v1alpha/BUILD.bazel b/google/cloud/metastore/ -) - -php_proto_library( -- name = "metastore_php_proto", -- deps = [":metastore_proto"], +- name = "agentendpoint_php_proto", +- deps = [":agentendpoint_proto"], -) - -php_grpc_library( -- name = "metastore_php_grpc", -- srcs = [":metastore_proto"], -- deps = [":metastore_php_proto"], --) -- --php_gapic_library( -- name = "metastore_php_gapic", -- src = ":metastore_proto_with_info", -- gapic_yaml = "metastore_gapic.yaml", -- grpc_service_config = "metastore_grpc_service_config.json", -- package = "google.cloud.metastore.v1alpha", -- service_yaml = "metastore_v1alpha.yaml", -- deps = [ -- ":metastore_php_grpc", -- ":metastore_php_proto", -- ], +- name = "agentendpoint_php_grpc", +- srcs = [":agentendpoint_proto"], +- deps = [":agentendpoint_php_proto"], -) - --# Open Source Packages --php_gapic_assembly_pkg( -- name = "google-cloud-metastore-v1alpha-php", -- deps = [ -- ":metastore_php_gapic", -- ":metastore_php_grpc", -- ":metastore_php_proto", -- ], --) +-# Add api.http options to all RPCs in the services to enable PHP GAPIC +-# generation +-#php_gapic_library( +-# name = "agentendpoint_php_gapic", +-# srcs = [":agentendpoint_proto_with_info"], +-# grpc_service_config = "agentendpoint_grpc_service_config.json", +-# package = "google.cloud.osconfig.agentendpoint.v1beta", +-# deps = [ +-# ":agentendpoint_php_grpc", +-# ":agentendpoint_php_proto", +-# ], +-#) +-# +-## Open Source Packages +-#php_gapic_assembly_pkg( +-# name = "google-cloud-osconfig-agentendpoint-v1beta-php", +-# deps = [ +-# ":agentendpoint_php_gapic", +-# ":agentendpoint_php_grpc", +-# ":agentendpoint_php_proto", +-# ], +-#) - -############################################################################## -# Node.js @@ -33910,21 +50257,20 @@ diff -urN a/google/cloud/metastore/v1alpha/BUILD.bazel b/google/cloud/metastore/ -) - -nodejs_gapic_library( -- name = "metastore_nodejs_gapic", -- package_name = "@google-cloud/dataproc-metastore", -- src = ":metastore_proto_with_info", +- name = "agentendpoint_nodejs_gapic", +- src = ":agentendpoint_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "metastore_grpc_service_config.json", -- package = "google.cloud.metastore.v1alpha", -- service_yaml = "metastore_v1alpha.yaml", +- grpc_service_config = "agentendpoint_grpc_service_config.json", +- package = "google.cloud.osconfig.agentendpoint.v1beta", +- service_yaml = "osconfig_v1beta.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "metastore-v1alpha-nodejs", +- name = "osconfig-agentendpoint-v1beta-nodejs", - deps = [ -- ":metastore_nodejs_gapic", -- ":metastore_proto", +- ":agentendpoint_nodejs_gapic", +- ":agentendpoint_proto", - ], -) - @@ -33933,43 +50279,41 @@ diff -urN a/google/cloud/metastore/v1alpha/BUILD.bazel b/google/cloud/metastore/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "metastore_ruby_proto", -- deps = [":metastore_proto"], +- name = "agentendpoint_ruby_proto", +- deps = [":agentendpoint_proto"], -) - -ruby_grpc_library( -- name = "metastore_ruby_grpc", -- srcs = [":metastore_proto"], -- deps = [":metastore_ruby_proto"], +- name = "agentendpoint_ruby_grpc", +- srcs = [":agentendpoint_proto"], +- deps = [":agentendpoint_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "metastore_ruby_gapic", -- srcs = [":metastore_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-metastore-v1alpha", -- ], -- grpc_service_config = "metastore_grpc_service_config.json", +- name = "agentendpoint_ruby_gapic", +- srcs = [":agentendpoint_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-agentendpoint-v1beta"], +- grpc_service_config = "agentendpoint_grpc_service_config.json", - deps = [ -- ":metastore_ruby_grpc", -- ":metastore_ruby_proto", +- ":agentendpoint_ruby_grpc", +- ":agentendpoint_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-metastore-v1alpha-ruby", +- name = "google-cloud-osconfig-agentendpoint-v1beta-ruby", - deps = [ -- ":metastore_ruby_gapic", -- ":metastore_ruby_grpc", -- ":metastore_ruby_proto", +- ":agentendpoint_ruby_gapic", +- ":agentendpoint_ruby_grpc", +- ":agentendpoint_ruby_proto", - ], -) - @@ -33985,34 +50329,34 @@ diff -urN a/google/cloud/metastore/v1alpha/BUILD.bazel b/google/cloud/metastore/ -) - -csharp_proto_library( -- name = "metastore_csharp_proto", -- deps = [":metastore_proto"], +- name = "agentendpoint_csharp_proto", +- deps = [":agentendpoint_proto"], -) - -csharp_grpc_library( -- name = "metastore_csharp_grpc", -- srcs = [":metastore_proto"], -- deps = [":metastore_csharp_proto"], +- name = "agentendpoint_csharp_grpc", +- srcs = [":agentendpoint_proto"], +- deps = [":agentendpoint_csharp_proto"], -) - -csharp_gapic_library( -- name = "metastore_csharp_gapic", -- srcs = [":metastore_proto_with_info"], +- name = "agentendpoint_csharp_gapic", +- srcs = [":agentendpoint_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "metastore_grpc_service_config.json", +- grpc_service_config = "agentendpoint_grpc_service_config.json", - deps = [ -- ":metastore_csharp_grpc", -- ":metastore_csharp_proto", +- ":agentendpoint_csharp_grpc", +- ":agentendpoint_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-metastore-v1alpha-csharp", +- name = "google-cloud-osconfig-agentendpoint-v1beta-csharp", - deps = [ -- ":metastore_csharp_gapic", -- ":metastore_csharp_grpc", -- ":metastore_csharp_proto", +- ":agentendpoint_csharp_gapic", +- ":agentendpoint_csharp_grpc", +- ":agentendpoint_csharp_proto", - ], -) - @@ -34020,12 +50364,12 @@ diff -urN a/google/cloud/metastore/v1alpha/BUILD.bazel b/google/cloud/metastore/ -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel b/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel ---- a/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,346 +0,0 @@ +diff -urN a/google/cloud/osconfig/v1/BUILD.bazel b/google/cloud/osconfig/v1/BUILD.bazel +--- a/google/cloud/osconfig/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/osconfig/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,353 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +-# https://github.com/googleapis/rules_gapic/tree/master/bazel - -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: @@ -34045,26 +50389,32 @@ diff -urN a/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel b/google/cloud -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "networkconnectivity_proto", +- name = "osconfig_proto", - srcs = [ -- "common.proto", -- "hub.proto", +- "inventory.proto", +- "osconfig_common.proto", +- "osconfig_service.proto", +- "patch_deployments.proto", +- "patch_jobs.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/longrunning:operations_proto", -- "@com_google_protobuf//:field_mask_proto", +- "//google/type:datetime_proto", +- "//google/type:dayofweek_proto", +- "//google/type:timeofday_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "networkconnectivity_proto_with_info", +- name = "osconfig_proto_with_info", - deps = [ -- ":networkconnectivity_proto", +- ":osconfig_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -34082,43 +50432,44 @@ diff -urN a/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel b/google/cloud -) - -java_proto_library( -- name = "networkconnectivity_java_proto", -- deps = [":networkconnectivity_proto"], +- name = "osconfig_java_proto", +- deps = [":osconfig_proto"], -) - -java_grpc_library( -- name = "networkconnectivity_java_grpc", -- srcs = [":networkconnectivity_proto"], -- deps = [":networkconnectivity_java_proto"], +- name = "osconfig_java_grpc", +- srcs = [":osconfig_proto"], +- deps = [":osconfig_java_proto"], -) - -java_gapic_library( -- name = "networkconnectivity_java_gapic", -- srcs = [":networkconnectivity_proto_with_info"], -- grpc_service_config = "networkconnectivity_grpc_service_config.json", +- name = "osconfig_java_gapic", +- srcs = [":osconfig_proto_with_info"], +- grpc_service_config = "osconfig_grpc_service_config.json", - test_deps = [ -- ":networkconnectivity_java_grpc", +- ":osconfig_java_grpc", - ], - deps = [ -- ":networkconnectivity_java_proto", +- ":osconfig_java_proto", - ], -) - -java_gapic_test( -- name = "networkconnectivity_java_gapic_test_suite", +- name = "osconfig_java_gapic_test_suite", - test_classes = [ +- "com.google.cloud.osconfig.v1.OsConfigServiceClientTest", - ], -- runtime_deps = [":networkconnectivity_java_gapic_test"], +- runtime_deps = [":osconfig_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-networkconnectivity-v1alpha1-java", +- name = "google-cloud-osconfig-v1-java", - deps = [ -- ":networkconnectivity_java_gapic", -- ":networkconnectivity_java_grpc", -- ":networkconnectivity_java_proto", -- ":networkconnectivity_proto", +- ":osconfig_java_gapic", +- ":osconfig_java_grpc", +- ":osconfig_java_proto", +- ":osconfig_proto", - ], -) - @@ -34134,44 +50485,46 @@ diff -urN a/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel b/google/cloud -) - -go_proto_library( -- name = "networkconnectivity_go_proto", +- name = "osconfig_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/networkconnectivity/v1alpha1", -- protos = [":networkconnectivity_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/osconfig/v1", +- protos = [":osconfig_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/longrunning:longrunning_go_proto", +- "//google/type:datetime_go_proto", +- "//google/type:dayofweek_go_proto", +- "//google/type:timeofday_go_proto", - ], -) - -go_gapic_library( -- name = "networkconnectivity_go_gapic", -- srcs = [":networkconnectivity_proto_with_info"], -- grpc_service_config = "networkconnectivity_grpc_service_config.json", -- importpath = "cloud.google.com/go/networkconnectivity/apiv1alpha1;networkconnectivity", -- service_yaml = "networkconnectivity_v1alpha1.yaml", +- name = "osconfig_go_gapic", +- srcs = [":osconfig_proto_with_info"], +- grpc_service_config = "osconfig_grpc_service_config.json", +- importpath = "cloud.google.com/go/osconfig/apiv1;osconfig", +- metadata = True, +- service_yaml = "osconfig_v1.yaml", - deps = [ -- ":networkconnectivity_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- ":osconfig_go_proto", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "networkconnectivity_go_gapic_test", -- srcs = [":networkconnectivity_go_gapic_srcjar_test"], -- embed = [":networkconnectivity_go_gapic"], -- importpath = "cloud.google.com/go/networkconnectivity/apiv1alpha1", +- name = "osconfig_go_gapic_test", +- srcs = [":osconfig_go_gapic_srcjar_test"], +- embed = [":osconfig_go_gapic"], +- importpath = "cloud.google.com/go/osconfig/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-networkconnectivity-v1alpha1-go", +- name = "gapi-cloud-osconfig-v1-go", - deps = [ -- ":networkconnectivity_go_gapic", -- ":networkconnectivity_go_gapic_srcjar-test.srcjar", -- ":networkconnectivity_go_proto", +- ":osconfig_go_gapic", +- ":osconfig_go_gapic_srcjar-metadata.srcjar", +- ":osconfig_go_gapic_srcjar-test.srcjar", +- ":osconfig_go_proto", - ], -) - @@ -34185,17 +50538,16 @@ diff -urN a/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel b/google/cloud -) - -py_gapic_library( -- name = "networkconnectivity_py_gapic", -- srcs = [":networkconnectivity_proto"], -- grpc_service_config = "networkconnectivity_grpc_service_config.json", -- opt_args = ["warehouse-package-name=google-cloud-network-connectivity"], +- name = "osconfig_py_gapic", +- srcs = [":osconfig_proto"], +- grpc_service_config = "osconfig_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "networkconnectivity-v1alpha1-py", +- name = "osconfig-v1-py", - deps = [ -- ":networkconnectivity_py_gapic", +- ":osconfig_py_gapic", - ], -) - @@ -34211,36 +50563,34 @@ diff -urN a/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel b/google/cloud -) - -php_proto_library( -- name = "networkconnectivity_php_proto", -- deps = [":networkconnectivity_proto"], +- name = "osconfig_php_proto", +- deps = [":osconfig_proto"], -) - -php_grpc_library( -- name = "networkconnectivity_php_grpc", -- srcs = [":networkconnectivity_proto"], -- deps = [":networkconnectivity_php_proto"], +- name = "osconfig_php_grpc", +- srcs = [":osconfig_proto"], +- deps = [":osconfig_php_proto"], -) - -php_gapic_library( -- name = "networkconnectivity_php_gapic", -- src = ":networkconnectivity_proto_with_info", -- gapic_yaml = "networkconnectivity_gapic.yaml", -- grpc_service_config = "networkconnectivity_grpc_service_config.json", -- package = "google.cloud.networkconnectivity.v1alpha1", -- service_yaml = "networkconnectivity_v1alpha1.yaml", +- name = "osconfig_php_gapic", +- srcs = [":osconfig_proto_with_info"], +- grpc_service_config = "osconfig_grpc_service_config.json", +- service_yaml = "osconfig_v1.yaml", - deps = [ -- ":networkconnectivity_php_grpc", -- ":networkconnectivity_php_proto", +- ":osconfig_php_grpc", +- ":osconfig_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-networkconnectivity-v1alpha1-php", +- name = "google-cloud-osconfig-v1-php", - deps = [ -- ":networkconnectivity_php_gapic", -- ":networkconnectivity_php_grpc", -- ":networkconnectivity_php_proto", +- ":osconfig_php_gapic", +- ":osconfig_php_grpc", +- ":osconfig_php_proto", - ], -) - @@ -34254,21 +50604,22 @@ diff -urN a/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel b/google/cloud -) - -nodejs_gapic_library( -- name = "networkconnectivity_nodejs_gapic", -- package_name = "@google-cloud/network-connectivity", -- src = ":networkconnectivity_proto_with_info", +- name = "osconfig_nodejs_gapic", +- package_name = "@google-cloud/os-config", +- src = ":osconfig_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "networkconnectivity_grpc_service_config.json", -- package = "google.cloud.networkconnectivity.v1alpha1", -- service_yaml = "networkconnectivity_v1alpha1.yaml", +- grpc_service_config = "osconfig_grpc_service_config.json", +- main_service = "OsConfigServiceClient", +- package = "google.cloud.osconfig.v1", +- service_yaml = "osconfig_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "networkconnectivity-v1alpha1-nodejs", +- name = "osconfig-v1-nodejs", - deps = [ -- ":networkconnectivity_nodejs_gapic", -- ":networkconnectivity_proto", +- ":osconfig_nodejs_gapic", +- ":osconfig_proto", - ], -) - @@ -34277,49 +50628,49 @@ diff -urN a/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel b/google/cloud -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "networkconnectivity_ruby_proto", -- deps = [":networkconnectivity_proto"], +- name = "osconfig_ruby_proto", +- deps = [":osconfig_proto"], -) - -ruby_grpc_library( -- name = "networkconnectivity_ruby_grpc", -- srcs = [":networkconnectivity_proto"], -- deps = [":networkconnectivity_ruby_proto"], +- name = "osconfig_ruby_grpc", +- srcs = [":osconfig_proto"], +- deps = [":osconfig_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "networkconnectivity_ruby_gapic", -- srcs = [":networkconnectivity_proto_with_info",], +- name = "osconfig_ruby_gapic", +- srcs = [":osconfig_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-network_connectivity-v1alpha1", -- "ruby-cloud-env-prefix=NETWORK_CONNECTIVITY", -- "ruby-cloud-product-url=https://cloud.google.com/network-connectivity/docs", -- "ruby-cloud-api-id=networkconnectivity.googleapis.com", -- "ruby-cloud-api-shortname=networkconnectivity", +- "ruby-cloud-api-id=osconfig.googleapis.com", +- "ruby-cloud-api-shortname=osconfig", +- "ruby-cloud-env-prefix=OS_CONFIG", +- "ruby-cloud-gem-name=google-cloud-os_config-v1", +- "ruby-cloud-product-url=https://cloud.google.com/compute/docs/manage-os", - ], -- grpc_service_config = "networkconnectivity_grpc_service_config.json", -- ruby_cloud_description = "Network Connectivity is Google's suite of products that provide enterprise connectivity from your on-premises network or from another cloud provider to your Virtual Private Cloud (VPC) network.", -- ruby_cloud_title = "Network Connectivity V1alpha1", +- grpc_service_config = "osconfig_grpc_service_config.json", +- ruby_cloud_description = "Cloud OS Config provides OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", +- ruby_cloud_title = "Cloud OS Config V1", - deps = [ -- ":networkconnectivity_ruby_grpc", -- ":networkconnectivity_ruby_proto", +- ":osconfig_ruby_grpc", +- ":osconfig_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-networkconnectivity-v1alpha1-ruby", +- name = "google-cloud-osconfig-v1-ruby", - deps = [ -- ":networkconnectivity_ruby_gapic", -- ":networkconnectivity_ruby_grpc", -- ":networkconnectivity_ruby_proto", +- ":osconfig_ruby_gapic", +- ":osconfig_ruby_grpc", +- ":osconfig_ruby_proto", - ], -) - @@ -34335,34 +50686,34 @@ diff -urN a/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel b/google/cloud -) - -csharp_proto_library( -- name = "networkconnectivity_csharp_proto", -- deps = [":networkconnectivity_proto"], +- name = "osconfig_csharp_proto", +- deps = [":osconfig_proto"], -) - -csharp_grpc_library( -- name = "networkconnectivity_csharp_grpc", -- srcs = [":networkconnectivity_proto"], -- deps = [":networkconnectivity_csharp_proto"], +- name = "osconfig_csharp_grpc", +- srcs = [":osconfig_proto"], +- deps = [":osconfig_csharp_proto"], -) - -csharp_gapic_library( -- name = "networkconnectivity_csharp_gapic", -- srcs = [":networkconnectivity_proto_with_info"], +- name = "osconfig_csharp_gapic", +- srcs = [":osconfig_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "networkconnectivity_grpc_service_config.json", +- grpc_service_config = "osconfig_grpc_service_config.json", - deps = [ -- ":networkconnectivity_csharp_grpc", -- ":networkconnectivity_csharp_proto", +- ":osconfig_csharp_grpc", +- ":osconfig_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-networkconnectivity-v1alpha1-csharp", +- name = "google-cloud-osconfig-v1-csharp", - deps = [ -- ":networkconnectivity_csharp_gapic", -- ":networkconnectivity_csharp_grpc", -- ":networkconnectivity_csharp_proto", +- ":osconfig_csharp_gapic", +- ":osconfig_csharp_grpc", +- ":osconfig_csharp_proto", - ], -) - @@ -34370,12 +50721,12 @@ diff -urN a/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel b/google/cloud -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/notebooks/v1beta1/BUILD.bazel b/google/cloud/notebooks/v1beta1/BUILD.bazel ---- a/google/cloud/notebooks/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/notebooks/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,346 +0,0 @@ +diff -urN a/google/cloud/osconfig/v1alpha/BUILD.bazel b/google/cloud/osconfig/v1alpha/BUILD.bazel +--- a/google/cloud/osconfig/v1alpha/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/osconfig/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,354 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +-# https://github.com/googleapis/rules_gapic/tree/master/bazel - -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: @@ -34395,11 +50746,16 @@ diff -urN a/google/cloud/notebooks/v1beta1/BUILD.bazel b/google/cloud/notebooks/ -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "notebooks_proto", +- name = "osconfig_proto", - srcs = [ -- "environment.proto", -- "instance.proto", -- "service.proto", +- "config_common.proto", +- "instance_os_policies_compliance.proto", +- "inventory.proto", +- "os_policy.proto", +- "os_policy_assignments.proto", +- "osconfig_common.proto", +- "osconfig_zonal_service.proto", +- "vulnerability.proto", - ], - deps = [ - "//google/api:annotations_proto", @@ -34407,14 +50763,16 @@ diff -urN a/google/cloud/notebooks/v1beta1/BUILD.bazel b/google/cloud/notebooks/ - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "//google/longrunning:operations_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "notebooks_proto_with_info", +- name = "osconfig_proto_with_info", - deps = [ -- ":notebooks_proto", +- ":osconfig_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -34432,44 +50790,44 @@ diff -urN a/google/cloud/notebooks/v1beta1/BUILD.bazel b/google/cloud/notebooks/ -) - -java_proto_library( -- name = "notebooks_java_proto", -- deps = [":notebooks_proto"], +- name = "osconfig_java_proto", +- deps = [":osconfig_proto"], -) - -java_grpc_library( -- name = "notebooks_java_grpc", -- srcs = [":notebooks_proto"], -- deps = [":notebooks_java_proto"], +- name = "osconfig_java_grpc", +- srcs = [":osconfig_proto"], +- deps = [":osconfig_java_proto"], -) - -java_gapic_library( -- name = "notebooks_java_gapic", -- srcs = [":notebooks_proto_with_info"], -- grpc_service_config = "notebooks_grpc_service_config.json", +- name = "osconfig_java_gapic", +- srcs = [":osconfig_proto_with_info"], +- grpc_service_config = "osconfig_grpc_service_config.json", - test_deps = [ -- ":notebooks_java_grpc", +- ":osconfig_java_grpc", - ], - deps = [ -- ":notebooks_java_proto", +- ":osconfig_java_proto", - ], -) - -java_gapic_test( -- name = "notebooks_java_gapic_test_suite", +- name = "osconfig_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.notebooks.v1beta1.NotebookServiceClientTest", +- "com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceClientTest", - ], -- runtime_deps = [":notebooks_java_gapic_test"], +- runtime_deps = [":osconfig_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-notebooks-v1beta1-java", +- name = "google-cloud-osconfig-v1alpha-java", - deps = [ -- ":notebooks_java_gapic", -- ":notebooks_java_grpc", -- ":notebooks_java_proto", -- ":notebooks_proto", +- ":osconfig_java_gapic", +- ":osconfig_java_grpc", +- ":osconfig_java_proto", +- ":osconfig_proto", - ], -) - @@ -34485,10 +50843,10 @@ diff -urN a/google/cloud/notebooks/v1beta1/BUILD.bazel b/google/cloud/notebooks/ -) - -go_proto_library( -- name = "notebooks_go_proto", +- name = "osconfig_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/notebooks/v1beta1", -- protos = [":notebooks_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/osconfig/v1alpha", +- protos = [":osconfig_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/longrunning:longrunning_go_proto", @@ -34496,33 +50854,36 @@ diff -urN a/google/cloud/notebooks/v1beta1/BUILD.bazel b/google/cloud/notebooks/ -) - -go_gapic_library( -- name = "notebooks_go_gapic", -- srcs = [":notebooks_proto_with_info"], -- grpc_service_config = "notebooks_grpc_service_config.json", -- importpath = "cloud.google.com/go/notebooks/apiv1beta1;notebooks", -- service_yaml = "notebooks_v1beta1.yaml", +- name = "osconfig_go_gapic", +- srcs = [":osconfig_proto_with_info"], +- grpc_service_config = "osconfig_grpc_service_config.json", +- importpath = "cloud.google.com/go/osconfig/apiv1alpha;osconfig", +- service_yaml = "osconfig_v1alpha.yaml", +- metadata = True, - deps = [ -- ":notebooks_go_proto", +- ":osconfig_go_proto", - "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "notebooks_go_gapic_test", -- srcs = [":notebooks_go_gapic_srcjar_test"], -- embed = [":notebooks_go_gapic"], -- importpath = "cloud.google.com/go/notebooks/apiv1beta1", +- name = "osconfig_go_gapic_test", +- srcs = [":osconfig_go_gapic_srcjar_test"], +- embed = [":osconfig_go_gapic"], +- importpath = "cloud.google.com/go/osconfig/apiv1alpha", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-notebooks-v1beta1-go", +- name = "gapi-cloud-osconfig-v1alpha-go", - deps = [ -- ":notebooks_go_gapic", -- ":notebooks_go_gapic_srcjar-test.srcjar", -- ":notebooks_go_proto", +- ":osconfig_go_gapic", +- ":osconfig_go_gapic_srcjar-test.srcjar", +- ":osconfig_go_gapic_srcjar-metadata.srcjar", +- ":osconfig_go_proto", - ], -) - @@ -34536,16 +50897,16 @@ diff -urN a/google/cloud/notebooks/v1beta1/BUILD.bazel b/google/cloud/notebooks/ -) - -py_gapic_library( -- name = "notebooks_py_gapic", -- srcs = [":notebooks_proto"], -- grpc_service_config = "notebooks_grpc_service_config.json", +- name = "osconfig_py_gapic", +- srcs = [":osconfig_proto"], +- grpc_service_config = "osconfig_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "notebooks-v1beta1-py", +- name = "osconfig-v1alpha-py", - deps = [ -- ":notebooks_py_gapic", +- ":osconfig_py_gapic", - ], -) - @@ -34561,36 +50922,34 @@ diff -urN a/google/cloud/notebooks/v1beta1/BUILD.bazel b/google/cloud/notebooks/ -) - -php_proto_library( -- name = "notebooks_php_proto", -- deps = [":notebooks_proto"], +- name = "osconfig_php_proto", +- deps = [":osconfig_proto"], -) - -php_grpc_library( -- name = "notebooks_php_grpc", -- srcs = [":notebooks_proto"], -- deps = [":notebooks_php_proto"], +- name = "osconfig_php_grpc", +- srcs = [":osconfig_proto"], +- deps = [":osconfig_php_proto"], -) - -php_gapic_library( -- name = "notebooks_php_gapic", -- src = ":notebooks_proto_with_info", -- gapic_yaml = "notebooks_gapic.yaml", -- grpc_service_config = "notebooks_grpc_service_config.json", -- package = "google.cloud.notebooks.v1beta1", -- service_yaml = "notebooks_v1beta1.yaml", +- name = "osconfig_php_gapic", +- srcs = [":osconfig_proto_with_info"], +- grpc_service_config = "osconfig_grpc_service_config.json", +- service_yaml = "osconfig_v1alpha.yaml", - deps = [ -- ":notebooks_php_grpc", -- ":notebooks_php_proto", +- ":osconfig_php_grpc", +- ":osconfig_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-notebooks-v1beta1-php", -- deps = [ -- ":notebooks_php_gapic", -- ":notebooks_php_grpc", -- ":notebooks_php_proto", +- name = "google-cloud-osconfig-v1alpha-php", +- deps = [ +- ":osconfig_php_gapic", +- ":osconfig_php_grpc", +- ":osconfig_php_proto", - ], -) - @@ -34604,21 +50963,21 @@ diff -urN a/google/cloud/notebooks/v1beta1/BUILD.bazel b/google/cloud/notebooks/ -) - -nodejs_gapic_library( -- name = "notebooks_nodejs_gapic", -- package_name = "@google-cloud/notebooks", -- src = ":notebooks_proto_with_info", +- name = "osconfig_nodejs_gapic", +- package_name = "@google-cloud/osconfig", +- src = ":osconfig_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "notebooks_grpc_service_config.json", -- package = "google.cloud.notebooks.v1beta1", -- service_yaml = "notebooks_v1beta1.yaml", +- grpc_service_config = "osconfig_grpc_service_config.json", +- package = "google.cloud.osconfig.v1alpha", +- service_yaml = "osconfig_v1alpha.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "notebooks-v1beta1-nodejs", +- name = "osconfig-v1alpha-nodejs", - deps = [ -- ":notebooks_nodejs_gapic", -- ":notebooks_proto", +- ":osconfig_nodejs_gapic", +- ":osconfig_proto", - ], -) - @@ -34634,42 +50993,42 @@ diff -urN a/google/cloud/notebooks/v1beta1/BUILD.bazel b/google/cloud/notebooks/ -) - -ruby_proto_library( -- name = "notebooks_ruby_proto", -- deps = [":notebooks_proto"], +- name = "osconfig_ruby_proto", +- deps = [":osconfig_proto"], -) - -ruby_grpc_library( -- name = "notebooks_ruby_grpc", -- srcs = [":notebooks_proto"], -- deps = [":notebooks_ruby_proto"], +- name = "osconfig_ruby_grpc", +- srcs = [":osconfig_proto"], +- deps = [":osconfig_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "notebooks_ruby_gapic", -- srcs = [":notebooks_proto_with_info"], +- name = "osconfig_ruby_gapic", +- srcs = [":osconfig_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-notebooks-v1beta1", -- "ruby-cloud-env-prefix=NOTEBOOKS", -- "ruby-cloud-product-url=https://cloud.google.com/ai-platform-notebooks", -- "ruby-cloud-api-id=notebooks.googleapis.com", -- "ruby-cloud-api-shortname=notebooks", +- "ruby-cloud-api-id=osconfig.googleapis.com", +- "ruby-cloud-api-shortname=osconfig", +- "ruby-cloud-env-prefix=OS_CONFIG", +- "ruby-cloud-gem-name=google-cloud-os_config-v1alpha", +- "ruby-cloud-product-url=https://cloud.google.com/compute/docs/manage-os", - ], -- grpc_service_config = "notebooks_grpc_service_config.json", -- ruby_cloud_description = "AI Platform Notebooks makes it easy to manage JupyterLab instances through a protected, publicly available notebook instance URL. A JupyterLab instance is a Deep Learning virtual machine instance with the latest machine learning and data science libraries pre-installed.", -- ruby_cloud_title = "AI Platform Notebooks V1beta1", +- grpc_service_config = "osconfig_grpc_service_config.json", +- ruby_cloud_description = "Cloud OS Config provides OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", +- ruby_cloud_title = "Cloud OS Config V1alpha", - deps = [ -- ":notebooks_ruby_grpc", -- ":notebooks_ruby_proto", +- ":osconfig_ruby_grpc", +- ":osconfig_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-notebooks-v1beta1-ruby", +- name = "google-cloud-osconfig-v1alpha-ruby", - deps = [ -- ":notebooks_ruby_gapic", -- ":notebooks_ruby_grpc", -- ":notebooks_ruby_proto", +- ":osconfig_ruby_gapic", +- ":osconfig_ruby_grpc", +- ":osconfig_ruby_proto", - ], -) - @@ -34685,34 +51044,34 @@ diff -urN a/google/cloud/notebooks/v1beta1/BUILD.bazel b/google/cloud/notebooks/ -) - -csharp_proto_library( -- name = "notebooks_csharp_proto", -- deps = [":notebooks_proto"], +- name = "osconfig_csharp_proto", +- deps = [":osconfig_proto"], -) - -csharp_grpc_library( -- name = "notebooks_csharp_grpc", -- srcs = [":notebooks_proto"], -- deps = [":notebooks_csharp_proto"], +- name = "osconfig_csharp_grpc", +- srcs = [":osconfig_proto"], +- deps = [":osconfig_csharp_proto"], -) - -csharp_gapic_library( -- name = "notebooks_csharp_gapic", -- srcs = [":notebooks_proto_with_info"], +- name = "osconfig_csharp_gapic", +- srcs = [":osconfig_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "notebooks_grpc_service_config.json", +- grpc_service_config = "osconfig_grpc_service_config.json", - deps = [ -- ":notebooks_csharp_grpc", -- ":notebooks_csharp_proto", +- ":osconfig_csharp_grpc", +- ":osconfig_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-notebooks-v1beta1-csharp", +- name = "google-cloud-osconfig-v1alpha-csharp", - deps = [ -- ":notebooks_csharp_gapic", -- ":notebooks_csharp_grpc", -- ":notebooks_csharp_proto", +- ":osconfig_csharp_gapic", +- ":osconfig_csharp_grpc", +- ":osconfig_csharp_proto", - ], -) - @@ -34720,11 +51079,20 @@ diff -urN a/google/cloud/notebooks/v1beta1/BUILD.bazel b/google/cloud/notebooks/ -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/orgpolicy/v1/BUILD.bazel b/google/cloud/orgpolicy/v1/BUILD.bazel ---- a/google/cloud/orgpolicy/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/orgpolicy/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,189 +0,0 @@ +diff -urN a/google/cloud/osconfig/v1beta/BUILD.bazel b/google/cloud/osconfig/v1beta/BUILD.bazel +--- a/google/cloud/osconfig/v1beta/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/osconfig/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,339 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -34733,47 +51101,90 @@ diff -urN a/google/cloud/orgpolicy/v1/BUILD.bazel b/google/cloud/orgpolicy/v1/BU -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "orgpolicy_proto", +- name = "osconfig_proto", - srcs = [ -- "orgpolicy.proto", +- "guest_policies.proto", +- "osconfig_service.proto", +- "patch_deployments.proto", +- "patch_jobs.proto", - ], - deps = [ - "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/type:datetime_proto", +- "//google/type:dayofweek_proto", +- "//google/type:timeofday_proto", +- "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - +-proto_library_with_info( +- name = "osconfig_proto_with_info", +- deps = [ +- ":osconfig_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "orgpolicy_java_proto", -- deps = [":orgpolicy_proto"], +- name = "osconfig_java_proto", +- deps = [":osconfig_proto"], -) - -java_grpc_library( -- name = "orgpolicy_java_grpc", -- srcs = [":orgpolicy_proto"], -- deps = [":orgpolicy_java_proto"], +- name = "osconfig_java_grpc", +- srcs = [":osconfig_proto"], +- deps = [":osconfig_java_proto"], +-) +- +-java_gapic_library( +- name = "osconfig_java_gapic", +- srcs = [":osconfig_proto_with_info"], +- grpc_service_config = "osconfig_grpc_service_config.json", +- test_deps = [ +- ":osconfig_java_grpc", +- ], +- deps = [ +- ":osconfig_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "osconfig_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.osconfig.v1beta.OsConfigServiceClientTest", +- ], +- runtime_deps = [":osconfig_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-orgpolicy-v1-java", +- name = "google-cloud-osconfig-v1beta-java", - deps = [ -- ":orgpolicy_java_grpc", -- ":orgpolicy_java_proto", -- ":orgpolicy_proto", +- ":osconfig_java_gapic", +- ":osconfig_java_grpc", +- ":osconfig_java_proto", +- ":osconfig_proto", - ], -) - @@ -34782,61 +51193,74 @@ diff -urN a/google/cloud/orgpolicy/v1/BUILD.bazel b/google/cloud/orgpolicy/v1/BU -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", - "go_proto_library", +- "go_test", -) - -go_proto_library( -- name = "orgpolicy_go_proto", +- name = "osconfig_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/orgpolicy/v1", -- protos = [":orgpolicy_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/osconfig/v1beta", +- protos = [":osconfig_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/type:datetime_go_proto", +- "//google/type:dayofweek_go_proto", +- "//google/type:timeofday_go_proto", - ], -) - --############################################################################## --# Python --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", -- "py_gapic_assembly_pkg", -- "py_grpc_library", -- "py_proto_library", +-go_gapic_library( +- name = "osconfig_go_gapic", +- srcs = [":osconfig_proto_with_info"], +- grpc_service_config = "osconfig_grpc_service_config.json", +- importpath = "cloud.google.com/go/osconfig/apiv1beta;osconfig", +- service_yaml = "osconfig_v1beta.yaml", +- deps = [ +- ":osconfig_go_proto", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- ], -) - --moved_proto_library( -- name = "orgpolicy_moved_proto", -- srcs = [":orgpolicy_proto"], +-go_test( +- name = "osconfig_go_gapic_test", +- srcs = [":osconfig_go_gapic_srcjar_test"], +- embed = [":osconfig_go_gapic"], +- importpath = "cloud.google.com/go/osconfig/apiv1beta", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-osconfig-v1beta-go", - deps = [ -- "//google/api:annotations_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:timestamp_proto", +- ":osconfig_go_gapic", +- ":osconfig_go_gapic_srcjar-test.srcjar", +- ":osconfig_go_proto", - ], -) - --py_proto_library( -- name = "orgpolicy_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":orgpolicy_moved_proto"], +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", -) - --py_grpc_library( -- name = "orgpolicy_py_grpc", -- srcs = [":orgpolicy_moved_proto"], -- deps = [":orgpolicy_py_proto"], +-py_gapic_library( +- name = "osconfig_py_gapic", +- srcs = [":osconfig_proto"], +- grpc_service_config = "osconfig_grpc_service_config.json", -) - -# Open Source Packages --# DO NOT REMOVE, this is needed to generate a Python package --# with the orgpolicy protos. -py_gapic_assembly_pkg( -- name = "orgpolicy-v1-py", +- name = "osconfig-v1beta-py", - deps = [ -- ":orgpolicy_proto", -- ":orgpolicy_py_grpc", -- ":orgpolicy_py_proto", +- ":osconfig_py_gapic", - ], -) - @@ -34845,19 +51269,41 @@ diff -urN a/google/cloud/orgpolicy/v1/BUILD.bazel b/google/cloud/orgpolicy/v1/BU -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "orgpolicy_php_proto", -- deps = [":orgpolicy_proto"], +- name = "osconfig_php_proto", +- deps = [":osconfig_proto"], -) - -php_grpc_library( -- name = "orgpolicy_php_grpc", -- srcs = [":orgpolicy_proto"], -- deps = [":orgpolicy_php_proto"], +- name = "osconfig_php_grpc", +- srcs = [":osconfig_proto"], +- deps = [":osconfig_php_proto"], +-) +- +-php_gapic_library( +- name = "osconfig_php_gapic", +- srcs = [":osconfig_proto_with_info"], +- grpc_service_config = "osconfig_grpc_service_config.json", +- deps = [ +- ":osconfig_php_grpc", +- ":osconfig_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-osconfig-v1beta-php", +- deps = [ +- ":osconfig_php_gapic", +- ":osconfig_php_grpc", +- ":osconfig_php_proto", +- ], -) - -############################################################################## @@ -34869,24 +51315,64 @@ diff -urN a/google/cloud/orgpolicy/v1/BUILD.bazel b/google/cloud/orgpolicy/v1/BU - "nodejs_gapic_library", -) - +-nodejs_gapic_library( +- name = "osconfig_nodejs_gapic", +- src = ":osconfig_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "osconfig_grpc_service_config.json", +- package = "google.cloud.osconfig.v1beta", +- service_yaml = "osconfig_v1beta.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "osconfig-v1beta-nodejs", +- deps = [ +- ":osconfig_nodejs_gapic", +- ":osconfig_proto", +- ], +-) +- -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "orgpolicy_ruby_proto", -- deps = [":orgpolicy_proto"], +- name = "osconfig_ruby_proto", +- deps = [":osconfig_proto"], -) - -ruby_grpc_library( -- name = "orgpolicy_ruby_grpc", -- srcs = [":orgpolicy_proto"], -- deps = [":orgpolicy_ruby_proto"], +- name = "osconfig_ruby_grpc", +- srcs = [":osconfig_proto"], +- deps = [":osconfig_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "osconfig_ruby_gapic", +- srcs = [":osconfig_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-osconfig-v1beta"], +- deps = [ +- ":osconfig_ruby_grpc", +- ":osconfig_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-osconfig-v1beta-ruby", +- deps = [ +- ":osconfig_ruby_gapic", +- ":osconfig_ruby_grpc", +- ":osconfig_ruby_proto", +- ], -) - -############################################################################## @@ -34894,39 +51380,58 @@ diff -urN a/google/cloud/orgpolicy/v1/BUILD.bazel b/google/cloud/orgpolicy/v1/BU -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "orgpolicy_csharp_proto", -- deps = [":orgpolicy_proto"], +- name = "osconfig_csharp_proto", +- deps = [":osconfig_proto"], -) - -csharp_grpc_library( -- name = "orgpolicy_csharp_grpc", -- srcs = [":orgpolicy_proto"], -- deps = [":orgpolicy_csharp_proto"], +- name = "osconfig_csharp_grpc", +- srcs = [":osconfig_proto"], +- deps = [":osconfig_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "osconfig_csharp_gapic", +- srcs = [":osconfig_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "osconfig_grpc_service_config.json", +- deps = [ +- ":osconfig_csharp_grpc", +- ":osconfig_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-osconfig-v1beta-csharp", +- deps = [ +- ":osconfig_csharp_gapic", +- ":osconfig_csharp_grpc", +- ":osconfig_csharp_proto", +- ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ code here -diff -urN a/google/cloud/orgpolicy/v2/BUILD.bazel b/google/cloud/orgpolicy/v2/BUILD.bazel ---- a/google/cloud/orgpolicy/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/orgpolicy/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,343 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/oslogin/BUILD.bazel b/google/cloud/oslogin/BUILD.bazel +--- a/google/cloud/oslogin/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/oslogin/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/cloud/oslogin/common/BUILD.bazel b/google/cloud/oslogin/common/BUILD.bazel +--- a/google/cloud/oslogin/common/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/oslogin/common/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,153 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel -- --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -34934,31 +51439,23 @@ diff -urN a/google/cloud/orgpolicy/v2/BUILD.bazel b/google/cloud/orgpolicy/v2/BU -############################################################################## -# Common -############################################################################## --load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "orgpolicy_proto", +- name = "common_proto", - srcs = [ -- "constraint.proto", -- "orgpolicy.proto", +- "common.proto", - ], - deps = [ -- "//google/api:annotations_proto", -- "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/type:expr_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "orgpolicy_proto_with_info", +- name = "common_proto_with_info", - deps = [ -- ":orgpolicy_proto", -- "//google/cloud:common_resources_proto", +- ":common_proto", - ], -) - @@ -34967,53 +51464,19 @@ diff -urN a/google/cloud/orgpolicy/v2/BUILD.bazel b/google/cloud/orgpolicy/v2/BU -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "orgpolicy_java_proto", -- deps = [":orgpolicy_proto"], +- name = "common_java_proto", +- deps = [":common_proto"], -) - -java_grpc_library( -- name = "orgpolicy_java_grpc", -- srcs = [":orgpolicy_proto"], -- deps = [":orgpolicy_java_proto"], --) -- --java_gapic_library( -- name = "orgpolicy_java_gapic", -- srcs = [":orgpolicy_proto_with_info"], -- grpc_service_config = "orgpolicy_grpc_service_config.json", -- test_deps = [ -- ":orgpolicy_java_grpc", -- ], -- deps = [ -- ":orgpolicy_java_proto", -- ], --) -- --java_gapic_test( -- name = "orgpolicy_java_gapic_test_suite", -- test_classes = [ -- "com.google.cloud.orgpolicy.v2.OrgPolicyClientTest", -- ], -- runtime_deps = [":orgpolicy_java_gapic_test"], --) -- --# Open Source Packages --java_gapic_assembly_gradle_pkg( -- name = "google-cloud-orgpolicy-v2-java", -- deps = [ -- ":orgpolicy_java_gapic", -- ":orgpolicy_java_grpc", -- ":orgpolicy_java_proto", -- ":orgpolicy_proto", -- ], +- name = "common_java_grpc", +- srcs = [":common_proto"], +- deps = [":common_java_proto"], -) - -############################################################################## @@ -35021,48 +51484,16 @@ diff -urN a/google/cloud/orgpolicy/v2/BUILD.bazel b/google/cloud/orgpolicy/v2/BU -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "go_gapic_assembly_pkg", -- "go_gapic_library", - "go_proto_library", -- "go_test", -) - -go_proto_library( -- name = "orgpolicy_go_proto", +- name = "common_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/orgpolicy/v2", -- protos = [":orgpolicy_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/oslogin/common", +- protos = [":common_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/type:expr_go_proto", -- ], --) -- --go_gapic_library( -- name = "orgpolicy_go_gapic", -- srcs = [":orgpolicy_proto_with_info"], -- grpc_service_config = "orgpolicy_grpc_service_config.json", -- importpath = "cloud.google.com/go/orgpolicy/apiv2;orgpolicy", -- service_yaml = "orgpolicy_v2.yaml", -- deps = [ -- ":orgpolicy_go_proto", -- ], --) -- --go_test( -- name = "orgpolicy_go_gapic_test", -- srcs = [":orgpolicy_go_gapic_srcjar_test"], -- embed = [":orgpolicy_go_gapic"], -- importpath = "cloud.google.com/go/orgpolicy/apiv2", --) -- --# Open Source Packages --go_gapic_assembly_pkg( -- name = "gapi-cloud-orgpolicy-v2-go", -- deps = [ -- ":orgpolicy_go_gapic", -- ":orgpolicy_go_gapic_srcjar-test.srcjar", -- ":orgpolicy_go_proto", - ], -) - @@ -35076,17 +51507,8 @@ diff -urN a/google/cloud/orgpolicy/v2/BUILD.bazel b/google/cloud/orgpolicy/v2/BU -) - -py_gapic_library( -- name = "orgpolicy_py_gapic", -- srcs = [":orgpolicy_proto"], -- grpc_service_config = "orgpolicy_grpc_service_config.json", --) -- --# Open Source Packages --py_gapic_assembly_pkg( -- name = "orgpolicy-v2-py", -- deps = [ -- ":orgpolicy_py_gapic", -- ], +- name = "common_py_gapic", +- srcs = [":common_proto"], -) - -############################################################################## @@ -35094,44 +51516,19 @@ diff -urN a/google/cloud/orgpolicy/v2/BUILD.bazel b/google/cloud/orgpolicy/v2/BU -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "php_gapic_assembly_pkg", -- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "orgpolicy_php_proto", -- deps = [":orgpolicy_proto"], +- name = "common_php_proto", +- deps = [":common_proto"], -) - -php_grpc_library( -- name = "orgpolicy_php_grpc", -- srcs = [":orgpolicy_proto"], -- deps = [":orgpolicy_php_proto"], --) -- --php_gapic_library( -- name = "orgpolicy_php_gapic", -- src = ":orgpolicy_proto_with_info", -- gapic_yaml = "orgpolicy_gapic.yaml", -- grpc_service_config = "orgpolicy_grpc_service_config.json", -- package = "google.cloud.orgpolicy.v2", -- service_yaml = "orgpolicy_v2.yaml", -- deps = [ -- ":orgpolicy_php_grpc", -- ":orgpolicy_php_proto", -- ], --) -- --# Open Source Packages --php_gapic_assembly_pkg( -- name = "google-cloud-orgpolicy-v2-php", -- deps = [ -- ":orgpolicy_php_gapic", -- ":orgpolicy_php_grpc", -- ":orgpolicy_php_proto", -- ], +- name = "common_php_grpc", +- srcs = [":common_proto"], +- deps = [":common_php_proto"], -) - -############################################################################## @@ -35143,74 +51540,24 @@ diff -urN a/google/cloud/orgpolicy/v2/BUILD.bazel b/google/cloud/orgpolicy/v2/BU - "nodejs_gapic_library", -) - --nodejs_gapic_library( -- name = "orgpolicy_nodejs_gapic", -- package_name = "@google-cloud/org-policy", -- src = ":orgpolicy_proto_with_info", -- extra_protoc_parameters = ["metadata"], -- grpc_service_config = "orgpolicy_grpc_service_config.json", -- package = "google.cloud.orgpolicy.v2", -- service_yaml = "orgpolicy_v2.yaml", -- deps = [], --) -- --nodejs_gapic_assembly_pkg( -- name = "orgpolicy-v2-nodejs", -- deps = [ -- ":orgpolicy_nodejs_gapic", -- ":orgpolicy_proto", -- ], --) -- -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", -- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "orgpolicy_ruby_proto", -- deps = [":orgpolicy_proto"], +- name = "common_ruby_proto", +- deps = [":common_proto"], -) - -ruby_grpc_library( -- name = "orgpolicy_ruby_grpc", -- srcs = [":orgpolicy_proto"], -- deps = [":orgpolicy_ruby_proto"], --) -- --ruby_cloud_gapic_library( -- name = "orgpolicy_ruby_gapic", -- srcs = [":orgpolicy_proto_with_info",], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-org_policy-v2", -- "ruby-cloud-env-prefix=ORG_POLICY", -- "ruby-cloud-product-url=https://cloud.google.com/resource-manager/docs/organization-policy/overview", -- "ruby-cloud-api-id=orgpolicy.googleapis.com", -- "ruby-cloud-api-shortname=orgpolicy", -- ], -- grpc_service_config = "orgpolicy_grpc_service_config.json", -- ruby_cloud_description = "The Cloud Org Policy service provides a simple mechanism for organizations to restrict the allowed configurations across their entire Cloud Resource hierarchy.", -- ruby_cloud_title = "Organization Policy V2", -- deps = [ -- ":orgpolicy_ruby_grpc", -- ":orgpolicy_ruby_proto", -- ], --) -- --# Open Source Packages --ruby_gapic_assembly_pkg( -- name = "google-cloud-orgpolicy-v2-ruby", -- deps = [ -- ":orgpolicy_ruby_gapic", -- ":orgpolicy_ruby_grpc", -- ":orgpolicy_ruby_proto", -- ], +- name = "common_ruby_grpc", +- srcs = [":common_proto"], +- deps = [":common_ruby_proto"], -) - -############################################################################## @@ -35218,62 +51565,30 @@ diff -urN a/google/cloud/orgpolicy/v2/BUILD.bazel b/google/cloud/orgpolicy/v2/BU -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "orgpolicy_csharp_proto", -- deps = [":orgpolicy_proto"], +- name = "common_csharp_proto", +- deps = [":common_proto"], -) - -csharp_grpc_library( -- name = "orgpolicy_csharp_grpc", -- srcs = [":orgpolicy_proto"], -- deps = [":orgpolicy_csharp_proto"], --) -- --csharp_gapic_library( -- name = "orgpolicy_csharp_gapic", -- srcs = [":orgpolicy_proto_with_info"], -- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "orgpolicy_grpc_service_config.json", -- deps = [ -- ":orgpolicy_csharp_grpc", -- ":orgpolicy_csharp_proto", -- ], --) -- --# Open Source Packages --csharp_gapic_assembly_pkg( -- name = "google-cloud-orgpolicy-v2-csharp", -- deps = [ -- ":orgpolicy_csharp_gapic", -- ":orgpolicy_csharp_grpc", -- ":orgpolicy_csharp_proto", -- ], +- name = "common_csharp_grpc", +- srcs = [":common_proto"], +- deps = [":common_csharp_proto"], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ rules here -diff -urN a/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel b/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel ---- a/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,337 +0,0 @@ +-# Put your C++ code here +diff -urN a/google/cloud/oslogin/v1/BUILD.bazel b/google/cloud/oslogin/v1/BUILD.bazel +--- a/google/cloud/oslogin/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/oslogin/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,360 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel -- --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -35284,30 +51599,31 @@ diff -urN a/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel b/google/cloud/os -load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - +-_PROTO_SUBPACKAGE_DEPS = [ +- "//google/cloud/oslogin/common:common_proto", +-] +- -proto_library( -- name = "agentendpoint_proto", +- name = "oslogin_proto", - srcs = [ -- "agentendpoint.proto", -- "config_common.proto", -- "inventory.proto", -- "os_policy.proto", -- "patch_jobs.proto", -- "tasks.proto", +- "oslogin.proto", - ], - deps = [ +- "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "@com_google_protobuf//:timestamp_proto", -- ], +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- ] + _PROTO_SUBPACKAGE_DEPS, -) - -proto_library_with_info( -- name = "agentendpoint_proto_with_info", +- name = "oslogin_proto_with_info", - deps = [ -- ":agentendpoint_proto", +- ":oslogin_proto", - "//google/cloud:common_resources_proto", -- ], +- ] + _PROTO_SUBPACKAGE_DEPS, -) - -############################################################################## @@ -35322,47 +51638,54 @@ diff -urN a/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel b/google/cloud/os - "java_proto_library", -) - +-_JAVA_PROTO_SUBPACKAGE_DEPS = [ +- "//google/cloud/oslogin/common:common_java_proto", +-] +- +-_JAVA_GRPC_SUBPACKAGE_DEPS = [ +- "//google/cloud/oslogin/common:common_java_grpc", +-] +- -java_proto_library( -- name = "agentendpoint_java_proto", -- deps = [":agentendpoint_proto"], +- name = "oslogin_java_proto", +- deps = [":oslogin_proto"], -) - -java_grpc_library( -- name = "agentendpoint_java_grpc", -- srcs = [":agentendpoint_proto"], -- deps = [":agentendpoint_java_proto"], +- name = "oslogin_java_grpc", +- srcs = [":oslogin_proto"], +- deps = [":oslogin_java_proto"] + _JAVA_PROTO_SUBPACKAGE_DEPS, -) - -java_gapic_library( -- name = "agentendpoint_java_gapic", -- srcs = [":agentendpoint_proto_with_info"], -- gapic_yaml = "osconfig_gapic.yaml", -- grpc_service_config = "agentendpoint_grpc_service_config.json", +- name = "oslogin_java_gapic", +- srcs = [":oslogin_proto_with_info"], +- grpc_service_config = "oslogin_grpc_service_config.json", - test_deps = [ -- ":agentendpoint_java_grpc", -- ], +- ":oslogin_java_grpc", +- ] + _JAVA_GRPC_SUBPACKAGE_DEPS, - deps = [ -- ":agentendpoint_java_proto", -- ], +- ":oslogin_java_proto", +- ] + _JAVA_PROTO_SUBPACKAGE_DEPS, -) - -java_gapic_test( -- name = "agentendpoint_java_gapic_test_suite", +- name = "oslogin_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.osconfig.agentendpoint.v1.AgentEndpointServiceClientTest", +- "com.google.cloud.oslogin.v1.OsLoginServiceClientTest", - ], -- runtime_deps = [":agentendpoint_java_gapic_test"], +- runtime_deps = [":oslogin_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-osconfig-agentendpoint-v1-java", +- name = "google-cloud-oslogin-v1-java", - deps = [ -- ":agentendpoint_java_gapic", -- ":agentendpoint_java_grpc", -- ":agentendpoint_java_proto", -- ":agentendpoint_proto", -- ], +- ":oslogin_java_gapic", +- ":oslogin_java_grpc", +- ":oslogin_java_proto", +- ":oslogin_proto", +- ] + _JAVA_PROTO_SUBPACKAGE_DEPS + _PROTO_SUBPACKAGE_DEPS + _JAVA_GRPC_SUBPACKAGE_DEPS, -) - -############################################################################## @@ -35377,40 +51700,43 @@ diff -urN a/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel b/google/cloud/os -) - -go_proto_library( -- name = "agentendpoint_go_proto", +- name = "oslogin_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/osconfig/agentendpoint/v1", -- protos = [":agentendpoint_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/oslogin/v1", +- protos = [":oslogin_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/cloud/oslogin/common:common_go_proto", - ], -) - -go_gapic_library( -- name = "agentendpoint_go_gapic", -- srcs = [":agentendpoint_proto_with_info"], -- grpc_service_config = "agentendpoint_grpc_service_config.json", -- importpath = "cloud.google.com/go/osconfig/agentendpoint/apiv1;agentendpoint", -- service_yaml = "osconfig_v1.yaml", +- name = "oslogin_go_gapic", +- srcs = [":oslogin_proto_with_info"], +- grpc_service_config = "oslogin_grpc_service_config.json", +- importpath = "cloud.google.com/go/oslogin/apiv1;oslogin", +- service_yaml = "oslogin_v1.yaml", - deps = [ -- ":agentendpoint_go_proto", +- ":oslogin_go_proto", +- "//google/cloud/oslogin/common:common_go_proto", - ], -) - -go_test( -- name = "agentendpoint_go_gapic_test", -- srcs = [":agentendpoint_go_gapic_srcjar_test"], -- embed = [":agentendpoint_go_gapic"], -- importpath = "cloud.google.com/go/osconfig/agentendpoint/apiv1", +- name = "oslogin_go_gapic_test", +- srcs = [":oslogin_go_gapic_srcjar_test"], +- embed = [":oslogin_go_gapic"], +- importpath = "cloud.google.com/go/oslogin/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-osconfig-agentendpoint-v1-go", +- name = "gapi-cloud-oslogin-v1-go", - deps = [ -- ":agentendpoint_go_gapic", -- ":agentendpoint_go_gapic_srcjar-test.srcjar", -- ":agentendpoint_go_proto", +- ":oslogin_go_gapic", +- ":oslogin_go_gapic_srcjar-test.srcjar", +- ":oslogin_go_proto", +- "//google/cloud/oslogin/common:common_go_proto", - ], -) - @@ -35424,63 +51750,67 @@ diff -urN a/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel b/google/cloud/os -) - -py_gapic_library( -- name = "agentendpoint_py_gapic", -- srcs = [":agentendpoint_proto"], -- grpc_service_config = "agentendpoint_grpc_service_config.json", +- name = "oslogin_py_gapic", +- srcs = [ +- ":oslogin_proto", +- ], +- grpc_service_config = "oslogin_grpc_service_config.json", -) - --# Open Source Packages -py_gapic_assembly_pkg( -- name = "osconfig-agentendpoint-v1-py", +- name = "oslogin-v1-py", - deps = [ -- ":agentendpoint_py_gapic", +- ":oslogin_py_gapic", +- "//google/cloud/oslogin/common:common_py_gapic", - ], -) - -############################################################################## -# PHP -############################################################################## --# load( --# "@com_google_googleapis_imports//:imports.bzl", --# "php_gapic_assembly_pkg", --# "php_gapic_library", --# "php_grpc_library", --# "php_proto_library", --# ) --# --# php_proto_library( --# name = "agentendpoint_php_proto", --# deps = [":agentendpoint_proto"], --# ) --# --# php_grpc_library( --# name = "agentendpoint_php_grpc", --# srcs = [":agentendpoint_proto"], --# deps = [":agentendpoint_php_proto"], --# ) --# --# php_gapic_library( --# name = "agentendpoint_php_gapic", --# src = ":agentendpoint_proto_with_info", --# gapic_yaml = "osconfig_gapic.yaml", --# grpc_service_config = "agentendpoint_grpc_service_config.json", --# package = "google.cloud.osconfig.agentendpoint.v1", --# service_yaml = "osconfig_v1.yaml", --# deps = [ --# ":agentendpoint_php_grpc", --# ":agentendpoint_php_proto", --# ], --# ) --# --# # Open Source Packages --# php_gapic_assembly_pkg( --# name = "google-cloud-osconfig-agentendpoint-v1-php", --# deps = [ --# ":agentendpoint_php_gapic", --# ":agentendpoint_php_grpc", --# ":agentendpoint_php_proto", --# ], --# ) +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-_PHP_SUBPACKAGE_DEPS = [ +- "//google/cloud/oslogin/common:common_php_proto", +- "//google/cloud/oslogin/common:common_php_grpc", +-] +- +-php_proto_library( +- name = "oslogin_php_proto", +- deps = [":oslogin_proto"], +-) +- +-php_grpc_library( +- name = "oslogin_php_grpc", +- srcs = [":oslogin_proto"], +- deps = [":oslogin_php_proto"], +-) +- +-php_gapic_library( +- name = "oslogin_php_gapic", +- srcs = [":oslogin_proto_with_info"], +- grpc_service_config = "oslogin_grpc_service_config.json", +- deps = [ +- ":oslogin_php_grpc", +- ":oslogin_php_proto", +- ] + _PHP_SUBPACKAGE_DEPS, +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-oslogin-v1-php", +- deps = [ +- ":oslogin_php_gapic", +- ":oslogin_php_grpc", +- ":oslogin_php_proto", +- ] + _PHP_SUBPACKAGE_DEPS, +-) - -############################################################################## -# Node.js @@ -35492,21 +51822,22 @@ diff -urN a/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel b/google/cloud/os -) - -nodejs_gapic_library( -- name = "agentendpoint_nodejs_gapic", -- src = ":agentendpoint_proto_with_info", +- name = "oslogin_nodejs_gapic", +- package_name = "@google-cloud/os-login", +- src = ":oslogin_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "agentendpoint_grpc_service_config.json", -- package = "google.cloud.osconfig.agentendpoint.v1", -- service_yaml = "osconfig_v1.yaml", +- grpc_service_config = "oslogin_grpc_service_config.json", +- package = "google.cloud.oslogin.v1", +- service_yaml = "oslogin_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "osconfig-agentendpoint-v1-nodejs", +- name = "oslogin-v1-nodejs", - deps = [ -- ":agentendpoint_nodejs_gapic", -- ":agentendpoint_proto", -- ], +- ":oslogin_nodejs_gapic", +- ":oslogin_proto", +- ] + _PROTO_SUBPACKAGE_DEPS, -) - -############################################################################## @@ -35514,44 +51845,55 @@ diff -urN a/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel b/google/cloud/os -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - +-_RUBY_SUBPACKAGE_DEPS = [ +- "//google/cloud/oslogin/common:common_ruby_proto", +- "//google/cloud/oslogin/common:common_ruby_grpc", +-] +- -ruby_proto_library( -- name = "agentendpoint_ruby_proto", -- deps = [":agentendpoint_proto"], +- name = "oslogin_ruby_proto", +- deps = [":oslogin_proto"], -) - -ruby_grpc_library( -- name = "agentendpoint_ruby_grpc", -- srcs = [":agentendpoint_proto"], -- deps = [":agentendpoint_ruby_proto"], +- name = "oslogin_ruby_grpc", +- srcs = [":oslogin_proto"], +- deps = [":oslogin_ruby_proto"], -) - --ruby_gapic_library( -- name = "agentendpoint_ruby_gapic", -- src = ":agentendpoint_proto_with_info", -- gapic_yaml = "osconfig_gapic.yaml", -- grpc_service_config = "agentendpoint_grpc_service_config.json", -- package = "google.cloud.osconfig.agentendpoint.v1", -- service_yaml = "osconfig_v1.yaml", -- deps = [ -- ":agentendpoint_ruby_grpc", -- ":agentendpoint_ruby_proto", +-ruby_cloud_gapic_library( +- name = "oslogin_ruby_gapic", +- srcs = [":oslogin_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-os_login-v1", +- "ruby-cloud-env-prefix=OS_LOGIN", +- "ruby-cloud-product-url=https://cloud.google.com/compute/docs/oslogin", +- "ruby-cloud-api-id=oslogin.googleapis.com", +- "ruby-cloud-api-shortname=oslogin", - ], +- grpc_service_config = "oslogin_grpc_service_config.json", +- ruby_cloud_description = "Use OS Login to manage SSH access to your instances using IAM without having to create and manage individual SSH keys. OS Login maintains a consistent Linux user identity across VM instances and is the recommended way to manage many users across multiple instances or projects.", +- ruby_cloud_title = "Cloud OS Login V1", +- deps = [ +- ":oslogin_ruby_grpc", +- ":oslogin_ruby_proto", +- ] + _RUBY_SUBPACKAGE_DEPS, -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-osconfig-agentendpoint-v1-ruby", +- name = "google-cloud-oslogin-v1-ruby", - deps = [ -- ":agentendpoint_ruby_gapic", -- ":agentendpoint_ruby_grpc", -- ":agentendpoint_ruby_proto", -- ], +- ":oslogin_ruby_gapic", +- ":oslogin_ruby_grpc", +- ":oslogin_ruby_proto", +- ] + _RUBY_SUBPACKAGE_DEPS, -) - -############################################################################## @@ -35565,56 +51907,52 @@ diff -urN a/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel b/google/cloud/os - "csharp_proto_library", -) - +-_CSHARP_SUBPACKAGE_DEPS = [ +- "//google/cloud/oslogin/common:common_csharp_proto", +- "//google/cloud/oslogin/common:common_csharp_grpc", +-] +- -csharp_proto_library( -- name = "agentendpoint_csharp_proto", -- deps = [":agentendpoint_proto"], +- name = "oslogin_csharp_proto", +- deps = [":oslogin_proto"], -) - -csharp_grpc_library( -- name = "agentendpoint_csharp_grpc", -- srcs = [":agentendpoint_proto"], -- deps = [":agentendpoint_csharp_proto"], +- name = "oslogin_csharp_grpc", +- srcs = [":oslogin_proto"], +- deps = [":oslogin_csharp_proto"], -) - -csharp_gapic_library( -- name = "agentendpoint_csharp_gapic", -- srcs = [":agentendpoint_proto_with_info"], +- name = "oslogin_csharp_gapic", +- srcs = [":oslogin_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "agentendpoint_grpc_service_config.json", +- grpc_service_config = "oslogin_grpc_service_config.json", - deps = [ -- ":agentendpoint_csharp_grpc", -- ":agentendpoint_csharp_proto", -- ], +- ":oslogin_csharp_grpc", +- ":oslogin_csharp_proto", +- ] + _CSHARP_SUBPACKAGE_DEPS, -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-osconfig-agentendpoint-v1-csharp", +- name = "google-cloud-oslogin-v1-csharp", - deps = [ -- ":agentendpoint_csharp_gapic", -- ":agentendpoint_csharp_grpc", -- ":agentendpoint_csharp_proto", -- ], +- ":oslogin_csharp_gapic", +- ":oslogin_csharp_grpc", +- ":oslogin_csharp_proto", +- ] + _CSHARP_SUBPACKAGE_DEPS, -) - -############################################################################## -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel b/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel ---- a/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,335 +0,0 @@ --# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel -- --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. +diff -urN a/google/cloud/oslogin/v1beta/BUILD.bazel b/google/cloud/oslogin/v1beta/BUILD.bazel +--- a/google/cloud/oslogin/v1beta/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/oslogin/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,357 +0,0 @@ +-load("@rules_proto//proto:defs.bzl", "proto_library") - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -35622,29 +51960,33 @@ diff -urN a/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel b/google/clou -############################################################################## -# Common -############################################################################## --load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - +-_PROTO_SUBPACKAGE_DEPS = [ +- "//google/cloud/oslogin/common:common_proto", +-] +- -proto_library( -- name = "agentendpoint_proto", +- name = "oslogin_proto", - srcs = [ -- "agentendpoint.proto", -- "guest_policies.proto", -- "patch_jobs.proto", -- "tasks.proto", +- "oslogin.proto", - ], - deps = [ +- "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- ], +- "//google/api:resource_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- ] + _PROTO_SUBPACKAGE_DEPS, -) - -proto_library_with_info( -- name = "agentendpoint_proto_with_info", +- name = "oslogin_proto_with_info", - deps = [ -- ":agentendpoint_proto", +- ":oslogin_proto", - "//google/cloud:common_resources_proto", -- ], +- ] + _PROTO_SUBPACKAGE_DEPS, -) - -############################################################################## @@ -35659,47 +52001,52 @@ diff -urN a/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel b/google/clou - "java_proto_library", -) - +-_JAVA_PROTO_SUBPACKAGE_DEPS = [ +- "//google/cloud/oslogin/common:common_java_proto", +-] +- +-_JAVA_GRPC_SUBPACKAGE_DEPS = [ +- "//google/cloud/oslogin/common:common_java_grpc", +-] +- -java_proto_library( -- name = "agentendpoint_java_proto", -- deps = [":agentendpoint_proto"], +- name = "oslogin_java_proto", +- deps = [":oslogin_proto"], -) - -java_grpc_library( -- name = "agentendpoint_java_grpc", -- srcs = [":agentendpoint_proto"], -- deps = [":agentendpoint_java_proto"], +- name = "oslogin_java_grpc", +- srcs = [":oslogin_proto"], +- deps = [":oslogin_java_proto"] + _JAVA_PROTO_SUBPACKAGE_DEPS, -) - -java_gapic_library( -- name = "agentendpoint_java_gapic", -- srcs = [":agentendpoint_proto_with_info"], -- gapic_yaml = "osconfig_gapic.yaml", -- grpc_service_config = "agentendpoint_grpc_service_config.json", -- test_deps = [ -- ":agentendpoint_java_grpc", -- ], +- name = "oslogin_java_gapic", +- srcs = [":oslogin_proto_with_info"], +- grpc_service_config = "oslogin_grpc_service_config.json", +- test_deps = [":oslogin_java_grpc"], - deps = [ -- ":agentendpoint_java_proto", -- ], +- ":oslogin_java_proto", +- ] + _JAVA_PROTO_SUBPACKAGE_DEPS, -) - -java_gapic_test( -- name = "agentendpoint_java_gapic_test_suite", +- name = "oslogin_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointServiceClientTest", +- "com.google.cloud.oslogin.v1beta.OsLoginServiceClientTest", - ], -- runtime_deps = [":agentendpoint_java_gapic_test"], +- runtime_deps = [":oslogin_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-osconfig-agentendpoint-v1beta-java", +- name = "google-cloud-oslogin-v1beta-java", - deps = [ -- ":agentendpoint_java_gapic", -- ":agentendpoint_java_grpc", -- ":agentendpoint_java_proto", -- ":agentendpoint_proto", -- ], +- ":oslogin_java_gapic", +- ":oslogin_java_grpc", +- ":oslogin_java_proto", +- ":oslogin_proto", +- ] + _JAVA_PROTO_SUBPACKAGE_DEPS + _PROTO_SUBPACKAGE_DEPS, -) - -############################################################################## @@ -35714,40 +52061,43 @@ diff -urN a/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel b/google/clou -) - -go_proto_library( -- name = "agentendpoint_go_proto", +- name = "oslogin_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/osconfig/agentendpoint/v1beta", -- protos = [":agentendpoint_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/oslogin/v1beta", +- protos = [":oslogin_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/cloud/oslogin/common:common_go_proto", - ], -) - -go_gapic_library( -- name = "agentendpoint_go_gapic", -- srcs = [":agentendpoint_proto_with_info"], -- grpc_service_config = "agentendpoint_grpc_service_config.json", -- importpath = "cloud.google.com/go/osconfig/agentendpoint/apiv1beta;agentendpoint", -- service_yaml = "osconfig_v1beta.yaml", +- name = "oslogin_go_gapic", +- srcs = [":oslogin_proto_with_info"], +- grpc_service_config = "oslogin_grpc_service_config.json", +- importpath = "cloud.google.com/go/oslogin/apiv1beta;oslogin", +- service_yaml = "//google/cloud/oslogin:oslogin_v1beta.yaml", - deps = [ -- ":agentendpoint_go_proto", +- ":oslogin_go_proto", +- "//google/cloud/oslogin/common:common_go_proto", - ], -) - -go_test( -- name = "agentendpoint_go_gapic_test", -- srcs = [":agentendpoint_go_gapic_srcjar_test"], -- embed = [":agentendpoint_go_gapic"], -- importpath = "cloud.google.com/go/osconfig/agentendpoint/apiv1beta", +- name = "oslogin_go_gapic_test", +- srcs = [":oslogin_go_gapic_srcjar_test"], +- embed = [":oslogin_go_gapic"], +- importpath = "cloud.google.com/go/oslogin/apiv1beta", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-osconfig-agentendpoint-v1beta-go", +- name = "gapi-cloud-oslogin-v1beta-go", - deps = [ -- ":agentendpoint_go_gapic", -- ":agentendpoint_go_gapic_srcjar-test.srcjar", -- ":agentendpoint_go_proto", +- ":oslogin_go_gapic", +- ":oslogin_go_gapic_srcjar-test.srcjar", +- ":oslogin_go_proto", +- "//google/cloud/oslogin/common:common_go_proto", - ], -) - @@ -35761,16 +52111,18 @@ diff -urN a/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel b/google/clou -) - -py_gapic_library( -- name = "agentendpoint_py_gapic", -- srcs = [":agentendpoint_proto"], -- grpc_service_config = "agentendpoint_grpc_service_config.json", +- name = "oslogin_py_gapic", +- srcs = [ +- ":oslogin_proto", +- ], +- grpc_service_config = "oslogin_grpc_service_config.json", -) - --# Open Source Packages -py_gapic_assembly_pkg( -- name = "osconfig-agentendpoint-v1beta-py", +- name = "oslogin-v1beta-py", - deps = [ -- ":agentendpoint_py_gapic", +- ":oslogin_py_gapic", +- "//google/cloud/oslogin/common:common_py_gapic", - ], -) - @@ -35785,41 +52137,41 @@ diff -urN a/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel b/google/clou - "php_proto_library", -) - +-_PHP_SUBPACKAGE_DEPS = [ +- "//google/cloud/oslogin/common:common_php_proto", +- "//google/cloud/oslogin/common:common_php_grpc", +-] +- -php_proto_library( -- name = "agentendpoint_php_proto", -- deps = [":agentendpoint_proto"], +- name = "oslogin_php_proto", +- deps = [":oslogin_proto"], -) - -php_grpc_library( -- name = "agentendpoint_php_grpc", -- srcs = [":agentendpoint_proto"], -- deps = [":agentendpoint_php_proto"], +- name = "oslogin_php_grpc", +- srcs = [":oslogin_proto"], +- deps = [":oslogin_php_proto"], -) - --# Add api.http options to all RPCs in the services to enable PHP GAPIC --# generation --#php_gapic_library( --# name = "agentendpoint_php_gapic", --# src = ":agentendpoint_proto_with_info", --# gapic_yaml = "osconfig_gapic.yaml", --# grpc_service_config = "agentendpoint_grpc_service_config.json", --# package = "google.cloud.osconfig.agentendpoint.v1beta", --# service_yaml = "osconfig_v1beta.yaml", --# deps = [ --# ":agentendpoint_php_grpc", --# ":agentendpoint_php_proto", --# ], --#) --# --## Open Source Packages --#php_gapic_assembly_pkg( --# name = "google-cloud-osconfig-agentendpoint-v1beta-php", --# deps = [ --# ":agentendpoint_php_gapic", --# ":agentendpoint_php_grpc", --# ":agentendpoint_php_proto", --# ], --#) +-php_gapic_library( +- name = "oslogin_php_gapic", +- srcs = [":oslogin_proto_with_info"], +- grpc_service_config = "oslogin_grpc_service_config.json", +- deps = [ +- ":oslogin_php_grpc", +- ":oslogin_php_proto", +- ] + _PHP_SUBPACKAGE_DEPS, +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-oslogin-v1beta-php", +- deps = [ +- ":oslogin_php_gapic", +- ":oslogin_php_grpc", +- ":oslogin_php_proto", +- ] + _PHP_SUBPACKAGE_DEPS, +-) - -############################################################################## -# Node.js @@ -35831,21 +52183,22 @@ diff -urN a/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel b/google/clou -) - -nodejs_gapic_library( -- name = "agentendpoint_nodejs_gapic", -- src = ":agentendpoint_proto_with_info", +- name = "oslogin_nodejs_gapic", +- package_name = "@google-cloud/os-login", +- src = ":oslogin_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "agentendpoint_grpc_service_config.json", -- package = "google.cloud.osconfig.agentendpoint.v1beta", -- service_yaml = "osconfig_v1beta.yaml", +- grpc_service_config = "oslogin_grpc_service_config.json", +- package = "google.cloud.oslogin.v1beta", +- service_yaml = "oslogin_v1beta.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "osconfig-agentendpoint-v1beta-nodejs", +- name = "oslogin-v1beta-nodejs", - deps = [ -- ":agentendpoint_nodejs_gapic", -- ":agentendpoint_proto", -- ], +- ":oslogin_nodejs_gapic", +- ":oslogin_proto", +- ] + _PROTO_SUBPACKAGE_DEPS, -) - -############################################################################## @@ -35853,44 +52206,55 @@ diff -urN a/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel b/google/clou -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - +-_RUBY_SUBPACKAGE_DEPS = [ +- "//google/cloud/oslogin/common:common_ruby_proto", +- "//google/cloud/oslogin/common:common_ruby_grpc", +-] +- -ruby_proto_library( -- name = "agentendpoint_ruby_proto", -- deps = [":agentendpoint_proto"], +- name = "oslogin_ruby_proto", +- deps = [":oslogin_proto"], -) - -ruby_grpc_library( -- name = "agentendpoint_ruby_grpc", -- srcs = [":agentendpoint_proto"], -- deps = [":agentendpoint_ruby_proto"], +- name = "oslogin_ruby_grpc", +- srcs = [":oslogin_proto"], +- deps = [":oslogin_ruby_proto"], -) - --ruby_gapic_library( -- name = "agentendpoint_ruby_gapic", -- src = ":agentendpoint_proto_with_info", -- gapic_yaml = "osconfig_gapic.yaml", -- grpc_service_config = "agentendpoint_grpc_service_config.json", -- package = "google.cloud.osconfig.agentendpoint.v1beta", -- service_yaml = "osconfig_v1beta.yaml", -- deps = [ -- ":agentendpoint_ruby_grpc", -- ":agentendpoint_ruby_proto", +-ruby_cloud_gapic_library( +- name = "oslogin_ruby_gapic", +- srcs = [":oslogin_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-os_login-v1beta", +- "ruby-cloud-env-prefix=OS_LOGIN", +- "ruby-cloud-product-url=https://cloud.google.com/compute/docs/oslogin", +- "ruby-cloud-api-id=oslogin.googleapis.com", +- "ruby-cloud-api-shortname=oslogin", - ], +- grpc_service_config = "oslogin_grpc_service_config.json", +- ruby_cloud_description = "Use OS Login to manage SSH access to your instances using IAM without having to create and manage individual SSH keys. OS Login maintains a consistent Linux user identity across VM instances and is the recommended way to manage many users across multiple instances or projects.", +- ruby_cloud_title = "Cloud OS Login V1beta", +- deps = [ +- ":oslogin_ruby_grpc", +- ":oslogin_ruby_proto", +- ] + _RUBY_SUBPACKAGE_DEPS, -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-osconfig-agentendpoint-v1beta-ruby", +- name = "google-cloud-oslogin-v1beta-ruby", - deps = [ -- ":agentendpoint_ruby_gapic", -- ":agentendpoint_ruby_grpc", -- ":agentendpoint_ruby_proto", -- ], +- ":oslogin_ruby_gapic", +- ":oslogin_ruby_grpc", +- ":oslogin_ruby_proto", +- ] + _RUBY_SUBPACKAGE_DEPS, -) - -############################################################################## @@ -35904,56 +52268,52 @@ diff -urN a/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel b/google/clou - "csharp_proto_library", -) - +-_CSHARP_SUBPACKAGE_DEPS = [ +- "//google/cloud/oslogin/common:common_csharp_proto", +- "//google/cloud/oslogin/common:common_csharp_grpc", +-] +- -csharp_proto_library( -- name = "agentendpoint_csharp_proto", -- deps = [":agentendpoint_proto"], +- name = "oslogin_csharp_proto", +- deps = [":oslogin_proto"], -) - -csharp_grpc_library( -- name = "agentendpoint_csharp_grpc", -- srcs = [":agentendpoint_proto"], -- deps = [":agentendpoint_csharp_proto"], +- name = "oslogin_csharp_grpc", +- srcs = [":oslogin_proto"], +- deps = [":oslogin_csharp_proto"], -) - -csharp_gapic_library( -- name = "agentendpoint_csharp_gapic", -- srcs = [":agentendpoint_proto_with_info"], +- name = "oslogin_csharp_gapic", +- srcs = [":oslogin_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "agentendpoint_grpc_service_config.json", +- grpc_service_config = "oslogin_grpc_service_config.json", - deps = [ -- ":agentendpoint_csharp_grpc", -- ":agentendpoint_csharp_proto", -- ], +- ":oslogin_csharp_grpc", +- ":oslogin_csharp_proto", +- ] + _CSHARP_SUBPACKAGE_DEPS, -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-osconfig-agentendpoint-v1beta-csharp", +- name = "google-cloud-oslogin-v1beta-csharp", - deps = [ -- ":agentendpoint_csharp_gapic", -- ":agentendpoint_csharp_grpc", -- ":agentendpoint_csharp_proto", -- ], +- ":oslogin_csharp_gapic", +- ":oslogin_csharp_grpc", +- ":oslogin_csharp_proto", +- ] + _CSHARP_SUBPACKAGE_DEPS, -) - -############################################################################## -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/osconfig/v1/BUILD.bazel b/google/cloud/osconfig/v1/BUILD.bazel ---- a/google/cloud/osconfig/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/osconfig/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,353 +0,0 @@ +diff -urN a/google/cloud/phishingprotection/v1beta1/BUILD.bazel b/google/cloud/phishingprotection/v1beta1/BUILD.bazel +--- a/google/cloud/phishingprotection/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/phishingprotection/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,327 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel -- --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -35965,32 +52325,22 @@ diff -urN a/google/cloud/osconfig/v1/BUILD.bazel b/google/cloud/osconfig/v1/BUIL -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "osconfig_proto", +- name = "phishingprotection_proto", - srcs = [ -- "inventory.proto", -- "osconfig_common.proto", -- "osconfig_service.proto", -- "patch_deployments.proto", -- "patch_jobs.proto", +- "phishingprotection.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/type:datetime_proto", -- "//google/type:dayofweek_proto", -- "//google/type:timeofday_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "osconfig_proto_with_info", +- name = "phishingprotection_proto_with_info", - deps = [ -- ":osconfig_proto", +- ":phishingprotection_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -36008,44 +52358,45 @@ diff -urN a/google/cloud/osconfig/v1/BUILD.bazel b/google/cloud/osconfig/v1/BUIL -) - -java_proto_library( -- name = "osconfig_java_proto", -- deps = [":osconfig_proto"], +- name = "phishingprotection_java_proto", +- deps = [":phishingprotection_proto"], -) - -java_grpc_library( -- name = "osconfig_java_grpc", -- srcs = [":osconfig_proto"], -- deps = [":osconfig_java_proto"], +- name = "phishingprotection_java_grpc", +- srcs = [":phishingprotection_proto"], +- deps = [":phishingprotection_java_proto"], -) - -java_gapic_library( -- name = "osconfig_java_gapic", -- srcs = [":osconfig_proto_with_info"], -- grpc_service_config = "osconfig_grpc_service_config.json", +- name = "phishingprotection_java_gapic", +- srcs = [":phishingprotection_proto_with_info"], +- gapic_yaml = "phishingprotection_gapic.yaml", +- grpc_service_config = "phishingprotection_grpc_service_config.json", - test_deps = [ -- ":osconfig_java_grpc", +- ":phishingprotection_java_grpc", - ], - deps = [ -- ":osconfig_java_proto", +- ":phishingprotection_java_proto", - ], -) - -java_gapic_test( -- name = "osconfig_java_gapic_test_suite", +- name = "phishingprotection_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.osconfig.v1.OsConfigServiceClientTest", +- "com.google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1ClientTest", - ], -- runtime_deps = [":osconfig_java_gapic_test"], +- runtime_deps = [":phishingprotection_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-osconfig-v1-java", +- name = "google-cloud-phishingprotection-v1beta1-java", - deps = [ -- ":osconfig_java_gapic", -- ":osconfig_java_grpc", -- ":osconfig_java_proto", -- ":osconfig_proto", +- ":phishingprotection_java_gapic", +- ":phishingprotection_java_grpc", +- ":phishingprotection_java_proto", +- ":phishingprotection_proto", - ], -) - @@ -36061,44 +52412,40 @@ diff -urN a/google/cloud/osconfig/v1/BUILD.bazel b/google/cloud/osconfig/v1/BUIL -) - -go_proto_library( -- name = "osconfig_go_proto", +- name = "phishingprotection_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/osconfig/v1", -- protos = [":osconfig_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/phishingprotection/v1beta1", +- protos = [":phishingprotection_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/type:datetime_go_proto", -- "//google/type:dayofweek_go_proto", -- "//google/type:timeofday_go_proto", - ], -) - -go_gapic_library( -- name = "osconfig_go_gapic", -- srcs = [":osconfig_proto_with_info"], -- grpc_service_config = "osconfig_grpc_service_config.json", -- importpath = "cloud.google.com/go/osconfig/apiv1;osconfig", -- service_yaml = "osconfig_v1.yaml", +- name = "phishingprotection_go_gapic", +- srcs = [":phishingprotection_proto_with_info"], +- grpc_service_config = "phishingprotection_grpc_service_config.json", +- importpath = "cloud.google.com/go/phishingprotection/apiv1beta1;phishingprotection", +- service_yaml = "phishingprotection_v1beta1.yaml", - deps = [ -- ":osconfig_go_proto", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- ":phishingprotection_go_proto", - ], -) - -go_test( -- name = "osconfig_go_gapic_test", -- srcs = [":osconfig_go_gapic_srcjar_test"], -- embed = [":osconfig_go_gapic"], -- importpath = "cloud.google.com/go/osconfig/apiv1", +- name = "phishingprotection_go_gapic_test", +- srcs = [":phishingprotection_go_gapic_srcjar_test"], +- embed = [":phishingprotection_go_gapic"], +- importpath = "cloud.google.com/go/phishingprotection/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-osconfig-v1-go", +- name = "gapi-cloud-phishingprotection-v1beta1-go", - deps = [ -- ":osconfig_go_gapic", -- ":osconfig_go_gapic_srcjar-test.srcjar", -- ":osconfig_go_proto", +- ":phishingprotection_go_gapic", +- ":phishingprotection_go_gapic_srcjar-test.srcjar", +- ":phishingprotection_go_proto", - ], -) - @@ -36112,16 +52459,15 @@ diff -urN a/google/cloud/osconfig/v1/BUILD.bazel b/google/cloud/osconfig/v1/BUIL -) - -py_gapic_library( -- name = "osconfig_py_gapic", -- srcs = [":osconfig_proto"], -- grpc_service_config = "osconfig_grpc_service_config.json", +- name = "phishingprotection_py_gapic", +- srcs = [":phishingprotection_proto"], +- grpc_service_config = "phishingprotection_grpc_service_config.json", -) - --# Open Source Packages -py_gapic_assembly_pkg( -- name = "osconfig-v1-py", +- name = "phishingprotection-v1beta1-py", - deps = [ -- ":osconfig_py_gapic", +- ":phishingprotection_py_gapic", - ], -) - @@ -36137,36 +52483,33 @@ diff -urN a/google/cloud/osconfig/v1/BUILD.bazel b/google/cloud/osconfig/v1/BUIL -) - -php_proto_library( -- name = "osconfig_php_proto", -- deps = [":osconfig_proto"], +- name = "phishingprotection_php_proto", +- deps = [":phishingprotection_proto"], -) - -php_grpc_library( -- name = "osconfig_php_grpc", -- srcs = [":osconfig_proto"], -- deps = [":osconfig_php_proto"], +- name = "phishingprotection_php_grpc", +- srcs = [":phishingprotection_proto"], +- deps = [":phishingprotection_php_proto"], -) - -php_gapic_library( -- name = "osconfig_php_gapic", -- src = ":osconfig_proto_with_info", -- gapic_yaml = "osconfig_gapic.yaml", -- grpc_service_config = "osconfig_grpc_service_config.json", -- package = "google.cloud.osconfig.v1", -- service_yaml = "osconfig_v1.yaml", +- name = "phishingprotection_php_gapic", +- srcs = [":phishingprotection_proto_with_info"], +- grpc_service_config = "phishingprotection_grpc_service_config.json", - deps = [ -- ":osconfig_php_grpc", -- ":osconfig_php_proto", +- ":phishingprotection_php_grpc", +- ":phishingprotection_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-osconfig-v1-php", +- name = "google-cloud-phishingprotection-v1beta1-php", - deps = [ -- ":osconfig_php_gapic", -- ":osconfig_php_grpc", -- ":osconfig_php_proto", +- ":phishingprotection_php_gapic", +- ":phishingprotection_php_grpc", +- ":phishingprotection_php_proto", - ], -) - @@ -36180,22 +52523,21 @@ diff -urN a/google/cloud/osconfig/v1/BUILD.bazel b/google/cloud/osconfig/v1/BUIL -) - -nodejs_gapic_library( -- name = "osconfig_nodejs_gapic", -- package_name = "@google-cloud/os-config", -- src = ":osconfig_proto_with_info", +- name = "phishingprotection_nodejs_gapic", +- package_name = "@google-cloud/phishing-protection", +- src = ":phishingprotection_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "osconfig_grpc_service_config.json", -- main_service = "OsConfigServiceClient", -- package = "google.cloud.osconfig.v1", -- service_yaml = "osconfig_v1.yaml", +- grpc_service_config = "phishingprotection_grpc_service_config.json", +- package = "google.cloud.phishingprotection.v1beta1", +- service_yaml = "phishingprotection_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "osconfig-v1-nodejs", +- name = "phishingprotection-v1beta1-nodejs", - deps = [ -- ":osconfig_nodejs_gapic", -- ":osconfig_proto", +- ":phishingprotection_nodejs_gapic", +- ":phishingprotection_proto", - ], -) - @@ -36204,49 +52546,50 @@ diff -urN a/google/cloud/osconfig/v1/BUILD.bazel b/google/cloud/osconfig/v1/BUIL -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "osconfig_ruby_proto", -- deps = [":osconfig_proto"], +- name = "phishingprotection_ruby_proto", +- deps = [":phishingprotection_proto"], -) - -ruby_grpc_library( -- name = "osconfig_ruby_grpc", -- srcs = [":osconfig_proto"], -- deps = [":osconfig_ruby_proto"], +- name = "phishingprotection_ruby_grpc", +- srcs = [":phishingprotection_proto"], +- deps = [":phishingprotection_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "osconfig_ruby_gapic", -- srcs = [":osconfig_proto_with_info"], +- name = "phishingprotection_ruby_gapic", +- srcs = [":phishingprotection_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-os_config-v1", -- "ruby-cloud-env-prefix=OS_CONFIG", -- "ruby-cloud-product-url=https://cloud.google.com/compute/docs/manage-os", -- "ruby-cloud-api-id=osconfig.googleapis.com", -- "ruby-cloud-api-shortname=osconfig", +- "ruby-cloud-gem-name=google-cloud-phishing_protection-v1beta1", +- "ruby-cloud-env-prefix=PHISHING_PROTECTION", +- "ruby-cloud-product-url=https://cloud.google.com/phishing-protection", +- "ruby-cloud-api-id=phishingprotection.googleapis.com", +- "ruby-cloud-api-shortname=phishingprotection", +- "ruby-cloud-service-override=PhishingProtectionServiceV1Beta1=PhishingProtectionService", - ], -- grpc_service_config = "osconfig_grpc_service_config.json", -- ruby_cloud_description = "Cloud OS Config provides OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", -- ruby_cloud_title = "Cloud OS Config V1", +- grpc_service_config = "phishingprotection_grpc_service_config.json", +- ruby_cloud_description = "Phishing Protection helps prevent users from accessing phishing sites by identifying various signals associated with malicious content, including the use of your brand assets, classifying malicious content that uses your brand and reporting the unsafe URLs to Google Safe Browsing.", +- ruby_cloud_title = "Phishing Protection V1beta1", - deps = [ -- ":osconfig_ruby_grpc", -- ":osconfig_ruby_proto", +- ":phishingprotection_ruby_grpc", +- ":phishingprotection_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-osconfig-v1-ruby", +- name = "google-cloud-phishingprotection-v1beta1-ruby", - deps = [ -- ":osconfig_ruby_gapic", -- ":osconfig_ruby_grpc", -- ":osconfig_ruby_proto", +- ":phishingprotection_ruby_gapic", +- ":phishingprotection_ruby_grpc", +- ":phishingprotection_ruby_proto", - ], -) - @@ -36262,34 +52605,34 @@ diff -urN a/google/cloud/osconfig/v1/BUILD.bazel b/google/cloud/osconfig/v1/BUIL -) - -csharp_proto_library( -- name = "osconfig_csharp_proto", -- deps = [":osconfig_proto"], +- name = "phishingprotection_csharp_proto", +- deps = [":phishingprotection_proto"], -) - -csharp_grpc_library( -- name = "osconfig_csharp_grpc", -- srcs = [":osconfig_proto"], -- deps = [":osconfig_csharp_proto"], +- name = "phishingprotection_csharp_grpc", +- srcs = [":phishingprotection_proto"], +- deps = [":phishingprotection_csharp_proto"], -) - -csharp_gapic_library( -- name = "osconfig_csharp_gapic", -- srcs = [":osconfig_proto_with_info"], +- name = "phishingprotection_csharp_gapic", +- srcs = [":phishingprotection_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "osconfig_grpc_service_config.json", +- grpc_service_config = "phishingprotection_grpc_service_config.json", - deps = [ -- ":osconfig_csharp_grpc", -- ":osconfig_csharp_proto", +- ":phishingprotection_csharp_grpc", +- ":phishingprotection_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-osconfig-v1-csharp", +- name = "google-cloud-phishingprotection-v1beta1-csharp", - deps = [ -- ":osconfig_csharp_gapic", -- ":osconfig_csharp_grpc", -- ":osconfig_csharp_proto", +- ":phishingprotection_csharp_gapic", +- ":phishingprotection_csharp_grpc", +- ":phishingprotection_csharp_proto", - ], -) - @@ -36297,12 +52640,12 @@ diff -urN a/google/cloud/osconfig/v1/BUILD.bazel b/google/cloud/osconfig/v1/BUIL -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/osconfig/v1beta/BUILD.bazel b/google/cloud/osconfig/v1beta/BUILD.bazel ---- a/google/cloud/osconfig/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/osconfig/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,344 +0,0 @@ +diff -urN a/google/cloud/policytroubleshooter/v1/BUILD.bazel b/google/cloud/policytroubleshooter/v1/BUILD.bazel +--- a/google/cloud/policytroubleshooter/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/policytroubleshooter/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,343 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +-# https://github.com/googleapis/rules_gapic/tree/master/bazel - -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: @@ -36322,32 +52665,24 @@ diff -urN a/google/cloud/osconfig/v1beta/BUILD.bazel b/google/cloud/osconfig/v1b -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "osconfig_proto", +- name = "policytroubleshooter_proto", - srcs = [ -- "guest_policies.proto", -- "osconfig_service.proto", -- "patch_deployments.proto", -- "patch_jobs.proto", +- "checker.proto", +- "explanations.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/type:datetime_proto", -- "//google/type:dayofweek_proto", -- "//google/type:timeofday_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:timestamp_proto", +- "//google/iam/v1:policy_proto", +- "//google/type:expr_proto", - ], -) - -proto_library_with_info( -- name = "osconfig_proto_with_info", +- name = "policytroubleshooter_proto_with_info", - deps = [ -- ":osconfig_proto", +- ":policytroubleshooter_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -36365,44 +52700,46 @@ diff -urN a/google/cloud/osconfig/v1beta/BUILD.bazel b/google/cloud/osconfig/v1b -) - -java_proto_library( -- name = "osconfig_java_proto", -- deps = [":osconfig_proto"], +- name = "policytroubleshooter_java_proto", +- deps = [":policytroubleshooter_proto"], -) - -java_grpc_library( -- name = "osconfig_java_grpc", -- srcs = [":osconfig_proto"], -- deps = [":osconfig_java_proto"], +- name = "policytroubleshooter_java_grpc", +- srcs = [":policytroubleshooter_proto"], +- deps = [":policytroubleshooter_java_proto"], -) - -java_gapic_library( -- name = "osconfig_java_gapic", -- srcs = [":osconfig_proto_with_info"], -- grpc_service_config = "osconfig_grpc_service_config.json", +- name = "policytroubleshooter_java_gapic", +- srcs = [":policytroubleshooter_proto_with_info"], +- grpc_service_config = "checker_grpc_service_config.json", - test_deps = [ -- ":osconfig_java_grpc", +- ":policytroubleshooter_java_grpc", +- "//google/iam/v1:iam_java_grpc", - ], - deps = [ -- ":osconfig_java_proto", +- ":policytroubleshooter_java_proto", +- "//google/iam/v1:iam_java_proto", - ], -) - -java_gapic_test( -- name = "osconfig_java_gapic_test_suite", +- name = "policytroubleshooter_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.osconfig.v1beta.OsConfigServiceClientTest", +- "com.google.cloud.policytroubleshooter.v1.IamCheckerClientTest", - ], -- runtime_deps = [":osconfig_java_gapic_test"], +- runtime_deps = [":policytroubleshooter_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-osconfig-v1beta-java", -- deps = [ -- ":osconfig_java_gapic", -- ":osconfig_java_grpc", -- ":osconfig_java_proto", -- ":osconfig_proto", +- name = "google-cloud-policytroubleshooter-v1-java", +- deps = [ +- ":policytroubleshooter_java_gapic", +- ":policytroubleshooter_java_grpc", +- ":policytroubleshooter_java_proto", +- ":policytroubleshooter_proto", - ], -) - @@ -36418,44 +52755,43 @@ diff -urN a/google/cloud/osconfig/v1beta/BUILD.bazel b/google/cloud/osconfig/v1b -) - -go_proto_library( -- name = "osconfig_go_proto", +- name = "policytroubleshooter_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/osconfig/v1beta", -- protos = [":osconfig_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/policytroubleshooter/v1", +- protos = [":policytroubleshooter_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/type:datetime_go_proto", -- "//google/type:dayofweek_go_proto", -- "//google/type:timeofday_go_proto", +- "//google/iam/v1:iam_go_proto", +- "//google/type:expr_go_proto", - ], -) - -go_gapic_library( -- name = "osconfig_go_gapic", -- srcs = [":osconfig_proto_with_info"], -- grpc_service_config = "osconfig_grpc_service_config.json", -- importpath = "cloud.google.com/go/osconfig/apiv1beta;osconfig", -- service_yaml = "osconfig_v1beta.yaml", +- name = "policytroubleshooter_go_gapic", +- srcs = [":policytroubleshooter_proto_with_info"], +- grpc_service_config = "checker_grpc_service_config.json", +- importpath = "cloud.google.com/go/policytroubleshooter/apiv1;policytroubleshooter", +- service_yaml = "policytroubleshooter_v1.yaml", - deps = [ -- ":osconfig_go_proto", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- ":policytroubleshooter_go_proto", +- "//google/iam/v1:iam_go_proto", - ], -) - -go_test( -- name = "osconfig_go_gapic_test", -- srcs = [":osconfig_go_gapic_srcjar_test"], -- embed = [":osconfig_go_gapic"], -- importpath = "cloud.google.com/go/osconfig/apiv1beta", +- name = "policytroubleshooter_go_gapic_test", +- srcs = [":policytroubleshooter_go_gapic_srcjar_test"], +- embed = [":policytroubleshooter_go_gapic"], +- importpath = "cloud.google.com/go/policytroubleshooter/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-osconfig-v1beta-go", +- name = "gapi-cloud-policytroubleshooter-v1-go", - deps = [ -- ":osconfig_go_gapic", -- ":osconfig_go_gapic_srcjar-test.srcjar", -- ":osconfig_go_proto", +- ":policytroubleshooter_go_gapic", +- ":policytroubleshooter_go_gapic_srcjar-test.srcjar", +- ":policytroubleshooter_go_proto", - ], -) - @@ -36469,16 +52805,17 @@ diff -urN a/google/cloud/osconfig/v1beta/BUILD.bazel b/google/cloud/osconfig/v1b -) - -py_gapic_library( -- name = "osconfig_py_gapic", -- srcs = [":osconfig_proto"], -- grpc_service_config = "osconfig_grpc_service_config.json", +- name = "policytroubleshooter_py_gapic", +- srcs = [":policytroubleshooter_proto"], +- grpc_service_config = "checker_grpc_service_config.json", +- opt_args = ["warehouse-package-name=google-cloud-policy-troubleshooter"] -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "osconfig-v1beta-py", +- name = "google-cloud-policytroubleshooter-v1-py", - deps = [ -- ":osconfig_py_gapic", +- ":policytroubleshooter_py_gapic", - ], -) - @@ -36494,36 +52831,33 @@ diff -urN a/google/cloud/osconfig/v1beta/BUILD.bazel b/google/cloud/osconfig/v1b -) - -php_proto_library( -- name = "osconfig_php_proto", -- deps = [":osconfig_proto"], +- name = "policytroubleshooter_php_proto", +- deps = [":policytroubleshooter_proto"], -) - -php_grpc_library( -- name = "osconfig_php_grpc", -- srcs = [":osconfig_proto"], -- deps = [":osconfig_php_proto"], +- name = "policytroubleshooter_php_grpc", +- srcs = [":policytroubleshooter_proto"], +- deps = [":policytroubleshooter_php_proto"], -) - -php_gapic_library( -- name = "osconfig_php_gapic", -- src = ":osconfig_proto_with_info", -- gapic_yaml = "osconfig_gapic.yaml", -- grpc_service_config = "osconfig_grpc_service_config.json", -- package = "google.cloud.osconfig.v1beta", -- service_yaml = "osconfig_v1beta.yaml", +- name = "policytroubleshooter_php_gapic", +- srcs = [":policytroubleshooter_proto_with_info"], +- grpc_service_config = "checker_grpc_service_config.json", - deps = [ -- ":osconfig_php_grpc", -- ":osconfig_php_proto", +- ":policytroubleshooter_php_grpc", +- ":policytroubleshooter_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-osconfig-v1beta-php", +- name = "google-cloud-policytroubleshooter-v1-php", - deps = [ -- ":osconfig_php_gapic", -- ":osconfig_php_grpc", -- ":osconfig_php_proto", +- ":policytroubleshooter_php_gapic", +- ":policytroubleshooter_php_grpc", +- ":policytroubleshooter_php_proto", - ], -) - @@ -36537,20 +52871,21 @@ diff -urN a/google/cloud/osconfig/v1beta/BUILD.bazel b/google/cloud/osconfig/v1b -) - -nodejs_gapic_library( -- name = "osconfig_nodejs_gapic", -- src = ":osconfig_proto_with_info", +- name = "policytroubleshooter_nodejs_gapic", +- package_name = "@google-cloud/policy-troubleshooter", +- src = ":policytroubleshooter_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "osconfig_grpc_service_config.json", -- package = "google.cloud.osconfig.v1beta", -- service_yaml = "osconfig_v1beta.yaml", +- grpc_service_config = "checker_grpc_service_config.json", +- package = "google.cloud.policytroubleshooter.v1", +- service_yaml = "policytroubleshooter_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "osconfig-v1beta-nodejs", +- name = "policytroubleshooter-v1-nodejs", - deps = [ -- ":osconfig_nodejs_gapic", -- ":osconfig_proto", +- ":policytroubleshooter_nodejs_gapic", +- ":policytroubleshooter_proto", - ], -) - @@ -36559,42 +52894,49 @@ diff -urN a/google/cloud/osconfig/v1beta/BUILD.bazel b/google/cloud/osconfig/v1b -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "osconfig_ruby_proto", -- deps = [":osconfig_proto"], +- name = "policytroubleshooter_ruby_proto", +- deps = [":policytroubleshooter_proto"], -) - -ruby_grpc_library( -- name = "osconfig_ruby_grpc", -- srcs = [":osconfig_proto"], -- deps = [":osconfig_ruby_proto"], +- name = "policytroubleshooter_ruby_grpc", +- srcs = [":policytroubleshooter_proto"], +- deps = [":policytroubleshooter_ruby_proto"], -) - --ruby_gapic_library( -- name = "osconfig_ruby_gapic", -- src = ":osconfig_proto_with_info", -- gapic_yaml = "osconfig_gapic.yaml", -- package = "google.cloud.osconfig.v1beta", -- service_yaml = "osconfig_v1beta.yaml", +-ruby_cloud_gapic_library( +- name = "policytroubleshooter_ruby_gapic", +- srcs = [":policytroubleshooter_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-api-id=policytroubleshooter.googleapis.com", +- "ruby-cloud-api-shortname=policytroubleshooter", +- "ruby-cloud-env-prefix=POLICY_TROUBLESHOOTER", +- "ruby-cloud-gem-name=google-cloud-policy_troubleshooter-v1", +- "ruby-cloud-product-url=https://cloud.google.com/iam/docs/troubleshooting-access", +- ], +- grpc_service_config = "checker_grpc_service_config.json", +- ruby_cloud_description = "Policy Troubleshooter makes it easier to understand why a user has access to a resource or doesn't have permission to call an API. Given an email, resource, and permission, Policy Troubleshooter will examine all IAM policies that apply to the resource. It then reveals whether the member's roles include the permission on that resource and, if so, which policies bind the member to those roles.", +- ruby_cloud_title = "IAM Policy Troubleshooter V1", - deps = [ -- ":osconfig_ruby_grpc", -- ":osconfig_ruby_proto", +- ":policytroubleshooter_ruby_grpc", +- ":policytroubleshooter_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-osconfig-v1beta-ruby", +- name = "google-cloud-policytroubleshooter-v1-ruby", - deps = [ -- ":osconfig_ruby_gapic", -- ":osconfig_ruby_grpc", -- ":osconfig_ruby_proto", +- ":policytroubleshooter_ruby_gapic", +- ":policytroubleshooter_ruby_grpc", +- ":policytroubleshooter_ruby_proto", - ], -) - @@ -36610,34 +52952,34 @@ diff -urN a/google/cloud/osconfig/v1beta/BUILD.bazel b/google/cloud/osconfig/v1b -) - -csharp_proto_library( -- name = "osconfig_csharp_proto", -- deps = [":osconfig_proto"], +- name = "policytroubleshooter_csharp_proto", +- deps = [":policytroubleshooter_proto"], -) - -csharp_grpc_library( -- name = "osconfig_csharp_grpc", -- srcs = [":osconfig_proto"], -- deps = [":osconfig_csharp_proto"], +- name = "policytroubleshooter_csharp_grpc", +- srcs = [":policytroubleshooter_proto"], +- deps = [":policytroubleshooter_csharp_proto"], -) - -csharp_gapic_library( -- name = "osconfig_csharp_gapic", -- srcs = [":osconfig_proto_with_info"], +- name = "policytroubleshooter_csharp_gapic", +- srcs = [":policytroubleshooter_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "osconfig_grpc_service_config.json", +- grpc_service_config = "checker_grpc_service_config.json", - deps = [ -- ":osconfig_csharp_grpc", -- ":osconfig_csharp_proto", +- ":policytroubleshooter_csharp_grpc", +- ":policytroubleshooter_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-osconfig-v1beta-csharp", +- name = "google-cloud-policytroubleshooter-v1-csharp", - deps = [ -- ":osconfig_csharp_gapic", -- ":osconfig_csharp_grpc", -- ":osconfig_csharp_proto", +- ":policytroubleshooter_csharp_gapic", +- ":policytroubleshooter_csharp_grpc", +- ":policytroubleshooter_csharp_proto", - ], -) - @@ -36645,16 +52987,20 @@ diff -urN a/google/cloud/osconfig/v1beta/BUILD.bazel b/google/cloud/osconfig/v1b -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/oslogin/BUILD.bazel b/google/cloud/oslogin/BUILD.bazel ---- a/google/cloud/oslogin/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/oslogin/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/cloud/oslogin/common/BUILD.bazel b/google/cloud/oslogin/common/BUILD.bazel ---- a/google/cloud/oslogin/common/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/oslogin/common/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,153 +0,0 @@ +diff -urN a/google/cloud/privatecatalog/v1beta1/BUILD.bazel b/google/cloud/privatecatalog/v1beta1/BUILD.bazel +--- a/google/cloud/privatecatalog/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/privatecatalog/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,352 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -36662,23 +53008,33 @@ diff -urN a/google/cloud/oslogin/common/BUILD.bazel b/google/cloud/oslogin/commo -############################################################################## -# Common -############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "common_proto", +- name = "privatecatalog_proto", - srcs = [ -- "common.proto", +- "private_catalog.proto", - ], - deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "common_proto_with_info", +- name = "privatecatalog_proto_with_info", - deps = [ -- ":common_proto", +- ":privatecatalog_proto", +- "//google/cloud:common_resources_proto", - ], -) - @@ -36687,19 +53043,53 @@ diff -urN a/google/cloud/oslogin/common/BUILD.bazel b/google/cloud/oslogin/commo -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "common_java_proto", -- deps = [":common_proto"], +- name = "privatecatalog_java_proto", +- deps = [":privatecatalog_proto"], -) - -java_grpc_library( -- name = "common_java_grpc", -- srcs = [":common_proto"], -- deps = [":common_java_proto"], +- name = "privatecatalog_java_grpc", +- srcs = [":privatecatalog_proto"], +- deps = [":privatecatalog_java_proto"], +-) +- +-java_gapic_library( +- name = "privatecatalog_java_gapic", +- srcs = [":privatecatalog_proto_with_info"], +- grpc_service_config = "cloudprivatecatalog_grpc_service_config.json", +- test_deps = [ +- ":privatecatalog_java_grpc", +- ], +- deps = [ +- ":privatecatalog_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "privatecatalog_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.privatecatalog.v1beta1.PrivateCatalogClientTest", +- ], +- runtime_deps = [":privatecatalog_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-privatecatalog-v1beta1-java", +- deps = [ +- ":privatecatalog_java_gapic", +- ":privatecatalog_java_grpc", +- ":privatecatalog_java_proto", +- ":privatecatalog_proto", +- ], -) - -############################################################################## @@ -36707,16 +53097,55 @@ diff -urN a/google/cloud/oslogin/common/BUILD.bazel b/google/cloud/oslogin/commo -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", - "go_proto_library", +- "go_test", -) - -go_proto_library( -- name = "common_go_proto", +- name = "privatecatalog_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/oslogin/common", -- protos = [":common_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/privatecatalog/v1beta1", +- protos = [":privatecatalog_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/longrunning:longrunning_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "privatecatalog_go_gapic", +- srcs = [":privatecatalog_proto_with_info"], +- grpc_service_config = "cloudprivatecatalog_grpc_service_config.json", +- importpath = "cloud.google.com/go/privatecatalog/apiv1beta1;privatecatalog", +- service_yaml = "cloudprivatecatalog_v1beta1.yaml", +- metadata = True, +- deps = [ +- ":privatecatalog_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@io_bazel_rules_go//proto/wkt:any_go_proto", +- "@io_bazel_rules_go//proto/wkt:struct_go_proto", +- ], +-) +- +-go_test( +- name = "privatecatalog_go_gapic_test", +- srcs = [":privatecatalog_go_gapic_srcjar_test"], +- embed = [":privatecatalog_go_gapic"], +- importpath = "cloud.google.com/go/privatecatalog/apiv1beta1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-privatecatalog-v1beta1-go", +- deps = [ +- ":privatecatalog_go_gapic", +- ":privatecatalog_go_gapic_srcjar-test.srcjar", +- ":privatecatalog_go_gapic_srcjar-metadata.srcjar", +- ":privatecatalog_go_proto", - ], -) - @@ -36730,8 +53159,18 @@ diff -urN a/google/cloud/oslogin/common/BUILD.bazel b/google/cloud/oslogin/commo -) - -py_gapic_library( -- name = "common_py_gapic", -- srcs = [":common_proto"], +- name = "privatecatalog_py_gapic", +- srcs = [":privatecatalog_proto"], +- grpc_service_config = "cloudprivatecatalog_grpc_service_config.json", +- opt_args = ["warehouse-package-name=google-cloud-private-catalog"] +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "privatecatalog-v1beta1-py", +- deps = [ +- ":privatecatalog_py_gapic", +- ], -) - -############################################################################## @@ -36739,19 +53178,42 @@ diff -urN a/google/cloud/oslogin/common/BUILD.bazel b/google/cloud/oslogin/commo -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "common_php_proto", -- deps = [":common_proto"], +- name = "privatecatalog_php_proto", +- deps = [":privatecatalog_proto"], -) - -php_grpc_library( -- name = "common_php_grpc", -- srcs = [":common_proto"], -- deps = [":common_php_proto"], +- name = "privatecatalog_php_grpc", +- srcs = [":privatecatalog_proto"], +- deps = [":privatecatalog_php_proto"], +-) +- +-php_gapic_library( +- name = "privatecatalog_php_gapic", +- srcs = [":privatecatalog_proto_with_info"], +- grpc_service_config = "cloudprivatecatalog_grpc_service_config.json", +- service_yaml = "cloudprivatecatalog_v1beta1.yaml", +- deps = [ +- ":privatecatalog_php_grpc", +- ":privatecatalog_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-privatecatalog-v1beta1-php", +- deps = [ +- ":privatecatalog_php_gapic", +- ":privatecatalog_php_grpc", +- ":privatecatalog_php_proto", +- ], -) - -############################################################################## @@ -36763,24 +53225,75 @@ diff -urN a/google/cloud/oslogin/common/BUILD.bazel b/google/cloud/oslogin/commo - "nodejs_gapic_library", -) - +-nodejs_gapic_library( +- name = "privatecatalog_nodejs_gapic", +- package_name = "@google-cloud/privatecatalog", +- src = ":privatecatalog_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "cloudprivatecatalog_grpc_service_config.json", +- package = "google.cloud.privatecatalog.v1beta1", +- service_yaml = "cloudprivatecatalog_v1beta1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "privatecatalog-v1beta1-nodejs", +- deps = [ +- ":privatecatalog_nodejs_gapic", +- ":privatecatalog_proto", +- ], +-) +- -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "common_ruby_proto", -- deps = [":common_proto"], +- name = "privatecatalog_ruby_proto", +- deps = [":privatecatalog_proto"], -) - -ruby_grpc_library( -- name = "common_ruby_grpc", -- srcs = [":common_proto"], -- deps = [":common_ruby_proto"], +- name = "privatecatalog_ruby_grpc", +- srcs = [":privatecatalog_proto"], +- deps = [":privatecatalog_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "privatecatalog_ruby_gapic", +- srcs = [":privatecatalog_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-private_catalog-v1beta1", +- "ruby-cloud-env-prefix=PRIVATE_CATALOG", +- "ruby-cloud-product-url=https://cloud.google.com/private-catalog/", +- "ruby-cloud-api-id=cloudprivatecatalog.googleapis.com", +- "ruby-cloud-api-shortname=cloudprivatecatalog", +- "ruby-cloud-yard-strict=false", +- ], +- grpc_service_config = "cloudprivatecatalog_grpc_service_config.json", +- ruby_cloud_description = "With Private Catalog, developers and cloud admins can make their solutions discoverable to their internal enterprise users. Cloud admins can manage their solutions and ensure their users are always launching the latest versions.", +- ruby_cloud_title = "Private Catalog V1beta1", +- deps = [ +- ":privatecatalog_ruby_grpc", +- ":privatecatalog_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-privatecatalog-v1beta1-ruby", +- deps = [ +- ":privatecatalog_ruby_gapic", +- ":privatecatalog_ruby_grpc", +- ":privatecatalog_ruby_proto", +- ], -) - -############################################################################## @@ -36788,30 +53301,62 @@ diff -urN a/google/cloud/oslogin/common/BUILD.bazel b/google/cloud/oslogin/commo -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "common_csharp_proto", -- deps = [":common_proto"], +- name = "privatecatalog_csharp_proto", +- deps = [":privatecatalog_proto"], -) - -csharp_grpc_library( -- name = "common_csharp_grpc", -- srcs = [":common_proto"], -- deps = [":common_csharp_proto"], +- name = "privatecatalog_csharp_grpc", +- srcs = [":privatecatalog_proto"], +- deps = [":privatecatalog_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "privatecatalog_csharp_gapic", +- srcs = [":privatecatalog_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "cloudprivatecatalog_grpc_service_config.json", +- deps = [ +- ":privatecatalog_csharp_grpc", +- ":privatecatalog_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-privatecatalog-v1beta1-csharp", +- deps = [ +- ":privatecatalog_csharp_gapic", +- ":privatecatalog_csharp_grpc", +- ":privatecatalog_csharp_proto", +- ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ code here -diff -urN a/google/cloud/oslogin/v1/BUILD.bazel b/google/cloud/oslogin/v1/BUILD.bazel ---- a/google/cloud/oslogin/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/oslogin/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,364 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/pubsublite/v1/BUILD.bazel b/google/cloud/pubsublite/v1/BUILD.bazel +--- a/google/cloud/pubsublite/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/pubsublite/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,306 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -36822,31 +53367,35 @@ diff -urN a/google/cloud/oslogin/v1/BUILD.bazel b/google/cloud/oslogin/v1/BUILD. -load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - --_PROTO_SUBPACKAGE_DEPS = [ -- "//google/cloud/oslogin/common:common_proto", --] -- -proto_library( -- name = "oslogin_proto", +- name = "pubsublite_proto", - srcs = [ -- "oslogin.proto", +- "admin.proto", +- "common.proto", +- "cursor.proto", +- "publisher.proto", +- "subscriber.proto", +- "topic_stats.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", -- ] + _PROTO_SUBPACKAGE_DEPS, +- "@com_google_protobuf//:timestamp_proto", +- ], -) - -proto_library_with_info( -- name = "oslogin_proto_with_info", +- name = "pubsublite_proto_with_info", - deps = [ -- ":oslogin_proto", +- ":pubsublite_proto", - "//google/cloud:common_resources_proto", -- ] + _PROTO_SUBPACKAGE_DEPS, +- ], -) - -############################################################################## @@ -36861,55 +53410,52 @@ diff -urN a/google/cloud/oslogin/v1/BUILD.bazel b/google/cloud/oslogin/v1/BUILD. - "java_proto_library", -) - --_JAVA_PROTO_SUBPACKAGE_DEPS = [ -- "//google/cloud/oslogin/common:common_java_proto", --] -- --_JAVA_GRPC_SUBPACKAGE_DEPS = [ -- "//google/cloud/oslogin/common:common_java_grpc", --] -- -java_proto_library( -- name = "oslogin_java_proto", -- deps = [":oslogin_proto"], +- name = "pubsublite_java_proto", +- deps = [":pubsublite_proto"], -) - -java_grpc_library( -- name = "oslogin_java_grpc", -- srcs = [":oslogin_proto"], -- deps = [":oslogin_java_proto"] + _JAVA_PROTO_SUBPACKAGE_DEPS, +- name = "pubsublite_java_grpc", +- srcs = [":pubsublite_proto"], +- deps = [":pubsublite_java_proto"], -) - -java_gapic_library( -- name = "oslogin_java_gapic", -- srcs = [":oslogin_proto_with_info"], -- gapic_yaml = "oslogin_gapic.yaml", -- grpc_service_config = "oslogin_grpc_service_config.json", +- name = "pubsublite_java_gapic", +- srcs = [":pubsublite_proto_with_info"], +- gapic_yaml = "gapic.yaml", +- grpc_service_config = "pubsublite_grpc_service_config.json", - test_deps = [ -- ":oslogin_java_grpc", -- ] + _JAVA_GRPC_SUBPACKAGE_DEPS, +- ":pubsublite_java_grpc", +- ], - deps = [ -- ":oslogin_java_proto", -- ] + _JAVA_PROTO_SUBPACKAGE_DEPS, +- ":pubsublite_java_proto", +- ], -) - -java_gapic_test( -- name = "oslogin_java_gapic_test_suite", +- name = "pubsublite_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.oslogin.v1.OsLoginServiceClientTest", +- "com.google.cloud.pubsublite.v1.AdminServiceClientTest", +- "com.google.cloud.pubsublite.v1.CursorServiceClientTest", +- "com.google.cloud.pubsublite.v1.PartitionAssignmentServiceClientTest", +- "com.google.cloud.pubsublite.v1.PublisherServiceClientTest", +- "com.google.cloud.pubsublite.v1.SubscriberServiceClientTest", +- "com.google.cloud.pubsublite.v1.TopicStatsServiceClientTest", - ], -- runtime_deps = [":oslogin_java_gapic_test"], +- runtime_deps = [":pubsublite_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-oslogin-v1-java", +- name = "google-cloud-pubsublite-v1-java", - deps = [ -- ":oslogin_java_gapic", -- ":oslogin_java_grpc", -- ":oslogin_java_proto", -- ":oslogin_proto", -- ] + _JAVA_PROTO_SUBPACKAGE_DEPS + _PROTO_SUBPACKAGE_DEPS + _JAVA_GRPC_SUBPACKAGE_DEPS, +- ":pubsublite_java_gapic", +- ":pubsublite_java_grpc", +- ":pubsublite_java_proto", +- ":pubsublite_proto", +- ], -) - -############################################################################## @@ -36924,119 +53470,69 @@ diff -urN a/google/cloud/oslogin/v1/BUILD.bazel b/google/cloud/oslogin/v1/BUILD. -) - -go_proto_library( -- name = "oslogin_go_proto", +- name = "pubsublite_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/oslogin/v1", -- protos = [":oslogin_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/pubsublite/v1", +- protos = [":pubsublite_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/cloud/oslogin/common:common_go_proto", +- "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "oslogin_go_gapic", -- srcs = [":oslogin_proto_with_info"], -- grpc_service_config = "oslogin_grpc_service_config.json", -- importpath = "cloud.google.com/go/oslogin/apiv1;oslogin", -- service_yaml = "oslogin_v1.yaml", +- name = "pubsublite_go_gapic", +- srcs = [":pubsublite_proto_with_info"], +- grpc_service_config = "pubsublite_grpc_service_config.json", +- importpath = "cloud.google.com/go/pubsublite/apiv1;pubsublite", +- service_yaml = "pubsublite_v1.yaml", - deps = [ -- ":oslogin_go_proto", -- "//google/cloud/oslogin/common:common_go_proto", +- ":pubsublite_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "oslogin_go_gapic_test", -- srcs = [":oslogin_go_gapic_srcjar_test"], -- embed = [":oslogin_go_gapic"], -- importpath = "cloud.google.com/go/oslogin/apiv1", +- name = "pubsublite_go_gapic_test", +- srcs = [":pubsublite_go_gapic_srcjar_test"], +- embed = [":pubsublite_go_gapic"], +- importpath = "cloud.google.com/go/pubsublite/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-oslogin-v1-go", +- name = "gapi-cloud-pubsublite-v1-go", - deps = [ -- ":oslogin_go_gapic", -- ":oslogin_go_gapic_srcjar-test.srcjar", -- ":oslogin_go_proto", -- "//google/cloud/oslogin/common:common_go_proto", +- ":pubsublite_go_gapic", +- ":pubsublite_go_gapic_srcjar-test.srcjar", +- ":pubsublite_go_proto", - ], -) - -############################################################################## -# Python --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "py_gapic_assembly_pkg", -- "py_gapic_library", --) -- --py_gapic_library( -- name = "oslogin_py_gapic", -- srcs = [ -- ":oslogin_proto", -- ], -- grpc_service_config = "oslogin_grpc_service_config.json", --) -- --py_gapic_assembly_pkg( -- name = "oslogin-v1-py", -- deps = [ -- ":oslogin_py_gapic", -- "//google/cloud/oslogin/common:common_py_gapic", -- ], --) -- --############################################################################## --# PHP --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "php_gapic_assembly_pkg", -- "php_gapic_library", -- "php_grpc_library", -- "php_proto_library", --) -- --_PHP_SUBPACKAGE_DEPS = [ -- "//google/cloud/oslogin/common:common_php_proto", -- "//google/cloud/oslogin/common:common_php_grpc", --] -- --php_proto_library( -- name = "oslogin_php_proto", -- deps = [":oslogin_proto"], --) -- --php_grpc_library( -- name = "oslogin_php_grpc", -- srcs = [":oslogin_proto"], -- deps = [":oslogin_php_proto"], +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", -) - --php_gapic_library( -- name = "oslogin_php_gapic", -- src = ":oslogin_proto_with_info", -- gapic_yaml = "oslogin_gapic.yaml", -- grpc_service_config = "oslogin_grpc_service_config.json", -- package = "google.cloud.oslogin.v1", -- service_yaml = "oslogin_v1.yaml", -- deps = [ -- ":oslogin_php_grpc", -- ":oslogin_php_proto", -- ] + _PHP_SUBPACKAGE_DEPS, +-py_gapic_library( +- name = "pubsublite_py_gapic", +- srcs = [":pubsublite_proto"], +- grpc_service_config = "pubsublite_grpc_service_config.json", -) - -# Open Source Packages --php_gapic_assembly_pkg( -- name = "google-cloud-oslogin-v1-php", +-py_gapic_assembly_pkg( +- name = "pubsublite-v1-py", - deps = [ -- ":oslogin_php_gapic", -- ":oslogin_php_grpc", -- ":oslogin_php_proto", -- ] + _PHP_SUBPACKAGE_DEPS, +- ":pubsublite_py_gapic", +- ], -) - -############################################################################## @@ -37049,22 +53545,22 @@ diff -urN a/google/cloud/oslogin/v1/BUILD.bazel b/google/cloud/oslogin/v1/BUILD. -) - -nodejs_gapic_library( -- name = "oslogin_nodejs_gapic", -- package_name = "@google-cloud/os-login", -- src = ":oslogin_proto_with_info", +- name = "pubsublite_nodejs_gapic", +- package_name = "@google-cloud/pubsublite", +- src = ":pubsublite_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "oslogin_grpc_service_config.json", -- package = "google.cloud.oslogin.v1", -- service_yaml = "oslogin_v1.yaml", +- grpc_service_config = "pubsublite_grpc_service_config.json", +- package = "google.cloud.pubsublite.v1", +- service_yaml = "pubsublite_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "oslogin-v1-nodejs", +- name = "pubsublite-v1-nodejs", - deps = [ -- ":oslogin_nodejs_gapic", -- ":oslogin_proto", -- ] + _PROTO_SUBPACKAGE_DEPS, +- ":pubsublite_nodejs_gapic", +- ":pubsublite_proto", +- ], -) - -############################################################################## @@ -37078,49 +53574,36 @@ diff -urN a/google/cloud/oslogin/v1/BUILD.bazel b/google/cloud/oslogin/v1/BUILD. - "ruby_proto_library", -) - --_RUBY_SUBPACKAGE_DEPS = [ -- "//google/cloud/oslogin/common:common_ruby_proto", -- "//google/cloud/oslogin/common:common_ruby_grpc", --] -- -ruby_proto_library( -- name = "oslogin_ruby_proto", -- deps = [":oslogin_proto"], +- name = "pubsublite_ruby_proto", +- deps = [":pubsublite_proto"], -) - -ruby_grpc_library( -- name = "oslogin_ruby_grpc", -- srcs = [":oslogin_proto"], -- deps = [":oslogin_ruby_proto"], +- name = "pubsublite_ruby_grpc", +- srcs = [":pubsublite_proto"], +- deps = [":pubsublite_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "oslogin_ruby_gapic", -- srcs = [":oslogin_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-os_login-v1", -- "ruby-cloud-env-prefix=OS_LOGIN", -- "ruby-cloud-product-url=https://cloud.google.com/compute/docs/oslogin", -- "ruby-cloud-api-id=oslogin.googleapis.com", -- "ruby-cloud-api-shortname=oslogin", -- ], -- grpc_service_config = "oslogin_grpc_service_config.json", -- ruby_cloud_description = "Use OS Login to manage SSH access to your instances using IAM without having to create and manage individual SSH keys. OS Login maintains a consistent Linux user identity across VM instances and is the recommended way to manage many users across multiple instances or projects.", -- ruby_cloud_title = "Cloud OS Login V1", +- name = "pubsublite_ruby_gapic", +- srcs = [":pubsublite_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-pubsublite-v1"], +- grpc_service_config = "pubsublite_grpc_service_config.json", - deps = [ -- ":oslogin_ruby_grpc", -- ":oslogin_ruby_proto", -- ] + _RUBY_SUBPACKAGE_DEPS, +- ":pubsublite_ruby_grpc", +- ":pubsublite_ruby_proto", +- ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-oslogin-v1-ruby", +- name = "google-cloud-pubsublite-v1-ruby", - deps = [ -- ":oslogin_ruby_gapic", -- ":oslogin_ruby_grpc", -- ":oslogin_ruby_proto", -- ] + _RUBY_SUBPACKAGE_DEPS, +- ":pubsublite_ruby_gapic", +- ":pubsublite_ruby_grpc", +- ":pubsublite_ruby_proto", +- ], -) - -############################################################################## @@ -37134,52 +53617,61 @@ diff -urN a/google/cloud/oslogin/v1/BUILD.bazel b/google/cloud/oslogin/v1/BUILD. - "csharp_proto_library", -) - --_CSHARP_SUBPACKAGE_DEPS = [ -- "//google/cloud/oslogin/common:common_csharp_proto", -- "//google/cloud/oslogin/common:common_csharp_grpc", --] -- -csharp_proto_library( -- name = "oslogin_csharp_proto", -- deps = [":oslogin_proto"], +- name = "pubsublite_csharp_proto", +- deps = [":pubsublite_proto"], -) - -csharp_grpc_library( -- name = "oslogin_csharp_grpc", -- srcs = [":oslogin_proto"], -- deps = [":oslogin_csharp_proto"], +- name = "pubsublite_csharp_grpc", +- srcs = [":pubsublite_proto"], +- deps = [":pubsublite_csharp_proto"], -) - -csharp_gapic_library( -- name = "oslogin_csharp_gapic", -- srcs = [":oslogin_proto_with_info"], +- name = "pubsublite_csharp_gapic", +- srcs = [":pubsublite_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "oslogin_grpc_service_config.json", +- grpc_service_config = "pubsublite_grpc_service_config.json", - deps = [ -- ":oslogin_csharp_grpc", -- ":oslogin_csharp_proto", -- ] + _CSHARP_SUBPACKAGE_DEPS, +- ":pubsublite_csharp_grpc", +- ":pubsublite_csharp_proto", +- ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-oslogin-v1-csharp", +- name = "google-cloud-pubsublite-v1-csharp", - deps = [ -- ":oslogin_csharp_gapic", -- ":oslogin_csharp_grpc", -- ":oslogin_csharp_proto", -- ] + _CSHARP_SUBPACKAGE_DEPS, +- ":pubsublite_csharp_gapic", +- ":pubsublite_csharp_grpc", +- ":pubsublite_csharp_proto", +- ], -) - -############################################################################## -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/oslogin/v1beta/BUILD.bazel b/google/cloud/oslogin/v1beta/BUILD.bazel ---- a/google/cloud/oslogin/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/oslogin/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,361 +0,0 @@ --load("@rules_proto//proto:defs.bzl", "proto_library") +diff -urN a/google/cloud/recaptchaenterprise/BUILD.bazel b/google/cloud/recaptchaenterprise/BUILD.bazel +--- a/google/cloud/recaptchaenterprise/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/recaptchaenterprise/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/cloud/recaptchaenterprise/v1/BUILD.bazel b/google/cloud/recaptchaenterprise/v1/BUILD.bazel +--- a/google/cloud/recaptchaenterprise/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/recaptchaenterprise/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,339 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -37187,16 +53679,13 @@ diff -urN a/google/cloud/oslogin/v1beta/BUILD.bazel b/google/cloud/oslogin/v1bet -############################################################################## -# Common -############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - --_PROTO_SUBPACKAGE_DEPS = [ -- "//google/cloud/oslogin/common:common_proto", --] -- -proto_library( -- name = "oslogin_proto", +- name = "recaptchaenterprise_proto", - srcs = [ -- "oslogin.proto", +- "recaptchaenterprise.proto", - ], - deps = [ - "//google/api:annotations_proto", @@ -37205,15 +53694,16 @@ diff -urN a/google/cloud/oslogin/v1beta/BUILD.bazel b/google/cloud/oslogin/v1bet - "//google/api:resource_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", -- ] + _PROTO_SUBPACKAGE_DEPS, +- "@com_google_protobuf//:timestamp_proto", +- ], -) - -proto_library_with_info( -- name = "oslogin_proto_with_info", +- name = "recaptchaenterprise_proto_with_info", - deps = [ -- ":oslogin_proto", +- ":recaptchaenterprise_proto", - "//google/cloud:common_resources_proto", -- ] + _PROTO_SUBPACKAGE_DEPS, +- ], -) - -############################################################################## @@ -37228,53 +53718,47 @@ diff -urN a/google/cloud/oslogin/v1beta/BUILD.bazel b/google/cloud/oslogin/v1bet - "java_proto_library", -) - --_JAVA_PROTO_SUBPACKAGE_DEPS = [ -- "//google/cloud/oslogin/common:common_java_proto", --] -- --_JAVA_GRPC_SUBPACKAGE_DEPS = [ -- "//google/cloud/oslogin/common:common_java_grpc", --] -- -java_proto_library( -- name = "oslogin_java_proto", -- deps = [":oslogin_proto"], +- name = "recaptchaenterprise_java_proto", +- deps = [":recaptchaenterprise_proto"], -) - -java_grpc_library( -- name = "oslogin_java_grpc", -- srcs = [":oslogin_proto"], -- deps = [":oslogin_java_proto"] + _JAVA_PROTO_SUBPACKAGE_DEPS, +- name = "recaptchaenterprise_java_grpc", +- srcs = [":recaptchaenterprise_proto"], +- deps = [":recaptchaenterprise_java_proto"], -) - -java_gapic_library( -- name = "oslogin_java_gapic", -- srcs = [":oslogin_proto_with_info"], -- gapic_yaml = "oslogin_gapic.yaml", -- grpc_service_config = "oslogin_grpc_service_config.json", -- test_deps = [":oslogin_java_grpc"], +- name = "recaptchaenterprise_java_gapic", +- srcs = [":recaptchaenterprise_proto_with_info"], +- gapic_yaml = "recaptchaenterprise_gapic.yaml", +- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", +- test_deps = [ +- ":recaptchaenterprise_java_grpc", +- ], - deps = [ -- ":oslogin_java_proto", -- ] + _JAVA_PROTO_SUBPACKAGE_DEPS, +- ":recaptchaenterprise_java_proto", +- ], -) - -java_gapic_test( -- name = "oslogin_java_gapic_test_suite", +- name = "recaptchaenterprise_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.oslogin.v1beta.OsLoginServiceClientTest", +- "com.google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseServiceClientTest", - ], -- runtime_deps = [":oslogin_java_gapic_test"], +- runtime_deps = [":recaptchaenterprise_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-oslogin-v1beta-java", +- name = "google-cloud-recaptchaenterprise-v1-java", - deps = [ -- ":oslogin_java_gapic", -- ":oslogin_java_grpc", -- ":oslogin_java_proto", -- ":oslogin_proto", -- ] + _JAVA_PROTO_SUBPACKAGE_DEPS + _PROTO_SUBPACKAGE_DEPS, +- ":recaptchaenterprise_java_gapic", +- ":recaptchaenterprise_java_grpc", +- ":recaptchaenterprise_java_proto", +- ":recaptchaenterprise_proto", +- ], -) - -############################################################################## @@ -37289,43 +53773,40 @@ diff -urN a/google/cloud/oslogin/v1beta/BUILD.bazel b/google/cloud/oslogin/v1bet -) - -go_proto_library( -- name = "oslogin_go_proto", +- name = "recaptchaenterprise_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/oslogin/v1beta", -- protos = [":oslogin_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/recaptchaenterprise/v1", +- protos = [":recaptchaenterprise_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/cloud/oslogin/common:common_go_proto", - ], -) - -go_gapic_library( -- name = "oslogin_go_gapic", -- srcs = [":oslogin_proto_with_info"], -- grpc_service_config = "oslogin_grpc_service_config.json", -- importpath = "cloud.google.com/go/oslogin/apiv1beta;oslogin", -- service_yaml = "//google/cloud/oslogin:oslogin_v1beta.yaml", +- name = "recaptchaenterprise_go_gapic", +- srcs = [":recaptchaenterprise_proto_with_info"], +- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", +- importpath = "cloud.google.com/go/recaptchaenterprise/apiv1;recaptchaenterprise", +- service_yaml = "recaptchaenterprise_v1.yaml", - deps = [ -- ":oslogin_go_proto", -- "//google/cloud/oslogin/common:common_go_proto", +- ":recaptchaenterprise_go_proto", - ], -) - -go_test( -- name = "oslogin_go_gapic_test", -- srcs = [":oslogin_go_gapic_srcjar_test"], -- embed = [":oslogin_go_gapic"], -- importpath = "cloud.google.com/go/oslogin/apiv1beta", +- name = "recaptchaenterprise_go_gapic_test", +- srcs = [":recaptchaenterprise_go_gapic_srcjar_test"], +- embed = [":recaptchaenterprise_go_gapic"], +- importpath = "cloud.google.com/go/recaptchaenterprise/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-oslogin-v1beta-go", +- name = "gapi-cloud-recaptchaenterprise-v1-go", - deps = [ -- ":oslogin_go_gapic", -- ":oslogin_go_gapic_srcjar-test.srcjar", -- ":oslogin_go_proto", -- "//google/cloud/oslogin/common:common_go_proto", +- ":recaptchaenterprise_go_gapic", +- ":recaptchaenterprise_go_gapic_srcjar-test.srcjar", +- ":recaptchaenterprise_go_proto", - ], -) - @@ -37339,18 +53820,16 @@ diff -urN a/google/cloud/oslogin/v1beta/BUILD.bazel b/google/cloud/oslogin/v1bet -) - -py_gapic_library( -- name = "oslogin_py_gapic", -- srcs = [ -- ":oslogin_proto", -- ], -- grpc_service_config = "oslogin_grpc_service_config.json", +- name = "recaptchaenterprise_py_gapic", +- srcs = [":recaptchaenterprise_proto"], +- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "oslogin-v1beta-py", +- name = "recaptchaenterprise-v1-py", - deps = [ -- ":oslogin_py_gapic", -- "//google/cloud/oslogin/common:common_py_gapic", +- ":recaptchaenterprise_py_gapic", - ], -) - @@ -37365,43 +53844,35 @@ diff -urN a/google/cloud/oslogin/v1beta/BUILD.bazel b/google/cloud/oslogin/v1bet - "php_proto_library", -) - --_PHP_SUBPACKAGE_DEPS = [ -- "//google/cloud/oslogin/common:common_php_proto", -- "//google/cloud/oslogin/common:common_php_grpc", --] -- -php_proto_library( -- name = "oslogin_php_proto", -- deps = [":oslogin_proto"], +- name = "recaptchaenterprise_php_proto", +- deps = [":recaptchaenterprise_proto"], -) - -php_grpc_library( -- name = "oslogin_php_grpc", -- srcs = [":oslogin_proto"], -- deps = [":oslogin_php_proto"], +- name = "recaptchaenterprise_php_grpc", +- srcs = [":recaptchaenterprise_proto"], +- deps = [":recaptchaenterprise_php_proto"], -) - -php_gapic_library( -- name = "oslogin_php_gapic", -- src = ":oslogin_proto_with_info", -- gapic_yaml = "oslogin_gapic.yaml", -- grpc_service_config = "oslogin_grpc_service_config.json", -- package = "google.cloud.oslogin.v1beta", -- service_yaml = "oslogin_v1beta.yaml", +- name = "recaptchaenterprise_php_gapic", +- srcs = [":recaptchaenterprise_proto_with_info"], +- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", - deps = [ -- ":oslogin_php_grpc", -- ":oslogin_php_proto", -- ] + _PHP_SUBPACKAGE_DEPS, +- ":recaptchaenterprise_php_grpc", +- ":recaptchaenterprise_php_proto", +- ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-oslogin-v1beta-php", +- name = "google-cloud-recaptchaenterprise-v1-php", - deps = [ -- ":oslogin_php_gapic", -- ":oslogin_php_grpc", -- ":oslogin_php_proto", -- ] + _PHP_SUBPACKAGE_DEPS, +- ":recaptchaenterprise_php_gapic", +- ":recaptchaenterprise_php_grpc", +- ":recaptchaenterprise_php_proto", +- ], -) - -############################################################################## @@ -37414,22 +53885,22 @@ diff -urN a/google/cloud/oslogin/v1beta/BUILD.bazel b/google/cloud/oslogin/v1bet -) - -nodejs_gapic_library( -- name = "oslogin_nodejs_gapic", -- package_name = "@google-cloud/os-login", -- src = ":oslogin_proto_with_info", +- name = "recaptchaenterprise_nodejs_gapic", +- package_name = "@google-cloud/recaptcha-enterprise", +- src = ":recaptchaenterprise_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "oslogin_grpc_service_config.json", -- package = "google.cloud.oslogin.v1beta", -- service_yaml = "oslogin_v1beta.yaml", +- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", +- package = "google.cloud.recaptchaenterprise.v1", +- service_yaml = "recaptchaenterprise_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "oslogin-v1beta-nodejs", +- name = "recaptchaenterprise-v1-nodejs", - deps = [ -- ":oslogin_nodejs_gapic", -- ":oslogin_proto", -- ] + _PROTO_SUBPACKAGE_DEPS, +- ":recaptchaenterprise_nodejs_gapic", +- ":recaptchaenterprise_proto", +- ], -) - -############################################################################## @@ -37437,55 +53908,50 @@ diff -urN a/google/cloud/oslogin/v1beta/BUILD.bazel b/google/cloud/oslogin/v1bet -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - --_RUBY_SUBPACKAGE_DEPS = [ -- "//google/cloud/oslogin/common:common_ruby_proto", -- "//google/cloud/oslogin/common:common_ruby_grpc", --] -- -ruby_proto_library( -- name = "oslogin_ruby_proto", -- deps = [":oslogin_proto"], +- name = "recaptchaenterprise_ruby_proto", +- deps = [":recaptchaenterprise_proto"], -) - -ruby_grpc_library( -- name = "oslogin_ruby_grpc", -- srcs = [":oslogin_proto"], -- deps = [":oslogin_ruby_proto"], +- name = "recaptchaenterprise_ruby_grpc", +- srcs = [":recaptchaenterprise_proto"], +- deps = [":recaptchaenterprise_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "oslogin_ruby_gapic", -- srcs = [":oslogin_proto_with_info"], +- name = "recaptchaenterprise_ruby_gapic", +- srcs = [":recaptchaenterprise_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-os_login-v1beta", -- "ruby-cloud-env-prefix=OS_LOGIN", -- "ruby-cloud-product-url=https://cloud.google.com/compute/docs/oslogin", -- "ruby-cloud-api-id=oslogin.googleapis.com", -- "ruby-cloud-api-shortname=oslogin", +- "ruby-cloud-gem-name=google-cloud-recaptcha_enterprise-v1", +- "ruby-cloud-env-prefix=RECAPTCHA_ENTERPRISE", +- "ruby-cloud-product-url=https://cloud.google.com/recaptcha-enterprise", +- "ruby-cloud-api-id=recaptchaenterprise.googleapis.com", +- "ruby-cloud-api-shortname=recaptchaenterprise", - ], -- grpc_service_config = "oslogin_grpc_service_config.json", -- ruby_cloud_description = "Use OS Login to manage SSH access to your instances using IAM without having to create and manage individual SSH keys. OS Login maintains a consistent Linux user identity across VM instances and is the recommended way to manage many users across multiple instances or projects.", -- ruby_cloud_title = "Cloud OS Login V1beta", +- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", +- ruby_cloud_description = "reCAPTCHA Enterprise is a service that protects your site from spam and abuse.", +- ruby_cloud_title = "reCAPTCHA Enterprise V1", - deps = [ -- ":oslogin_ruby_grpc", -- ":oslogin_ruby_proto", -- ] + _RUBY_SUBPACKAGE_DEPS, +- ":recaptchaenterprise_ruby_grpc", +- ":recaptchaenterprise_ruby_proto", +- ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-oslogin-v1beta-ruby", +- name = "google-cloud-recaptchaenterprise-v1-ruby", - deps = [ -- ":oslogin_ruby_gapic", -- ":oslogin_ruby_grpc", -- ":oslogin_ruby_proto", -- ] + _RUBY_SUBPACKAGE_DEPS, +- ":recaptchaenterprise_ruby_gapic", +- ":recaptchaenterprise_ruby_grpc", +- ":recaptchaenterprise_ruby_proto", +- ], -) - -############################################################################## @@ -37499,52 +53965,56 @@ diff -urN a/google/cloud/oslogin/v1beta/BUILD.bazel b/google/cloud/oslogin/v1bet - "csharp_proto_library", -) - --_CSHARP_SUBPACKAGE_DEPS = [ -- "//google/cloud/oslogin/common:common_csharp_proto", -- "//google/cloud/oslogin/common:common_csharp_grpc", --] -- -csharp_proto_library( -- name = "oslogin_csharp_proto", -- deps = [":oslogin_proto"], +- name = "recaptchaenterprise_csharp_proto", +- deps = [":recaptchaenterprise_proto"], -) - -csharp_grpc_library( -- name = "oslogin_csharp_grpc", -- srcs = [":oslogin_proto"], -- deps = [":oslogin_csharp_proto"], +- name = "recaptchaenterprise_csharp_grpc", +- srcs = [":recaptchaenterprise_proto"], +- deps = [":recaptchaenterprise_csharp_proto"], -) - -csharp_gapic_library( -- name = "oslogin_csharp_gapic", -- srcs = [":oslogin_proto_with_info"], +- name = "recaptchaenterprise_csharp_gapic", +- srcs = [":recaptchaenterprise_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "oslogin_grpc_service_config.json", +- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", - deps = [ -- ":oslogin_csharp_grpc", -- ":oslogin_csharp_proto", -- ] + _CSHARP_SUBPACKAGE_DEPS, +- ":recaptchaenterprise_csharp_grpc", +- ":recaptchaenterprise_csharp_proto", +- ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-oslogin-v1beta-csharp", +- name = "google-cloud-recaptchaenterprise-v1-csharp", - deps = [ -- ":oslogin_csharp_gapic", -- ":oslogin_csharp_grpc", -- ":oslogin_csharp_proto", -- ] + _CSHARP_SUBPACKAGE_DEPS, +- ":recaptchaenterprise_csharp_gapic", +- ":recaptchaenterprise_csharp_grpc", +- ":recaptchaenterprise_csharp_proto", +- ], -) - -############################################################################## -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/phishingprotection/v1beta1/BUILD.bazel b/google/cloud/phishingprotection/v1beta1/BUILD.bazel ---- a/google/cloud/phishingprotection/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/phishingprotection/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,330 +0,0 @@ +diff -urN a/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel b/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel +--- a/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,340 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -37556,22 +54026,25 @@ diff -urN a/google/cloud/phishingprotection/v1beta1/BUILD.bazel b/google/cloud/p -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "phishingprotection_proto", +- name = "recaptchaenterprise_proto", - srcs = [ -- "phishingprotection.proto", +- "recaptchaenterprise.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "phishingprotection_proto_with_info", +- name = "recaptchaenterprise_proto_with_info", - deps = [ -- ":phishingprotection_proto", +- ":recaptchaenterprise_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -37589,45 +54062,45 @@ diff -urN a/google/cloud/phishingprotection/v1beta1/BUILD.bazel b/google/cloud/p -) - -java_proto_library( -- name = "phishingprotection_java_proto", -- deps = [":phishingprotection_proto"], +- name = "recaptchaenterprise_java_proto", +- deps = [":recaptchaenterprise_proto"], -) - -java_grpc_library( -- name = "phishingprotection_java_grpc", -- srcs = [":phishingprotection_proto"], -- deps = [":phishingprotection_java_proto"], +- name = "recaptchaenterprise_java_grpc", +- srcs = [":recaptchaenterprise_proto"], +- deps = [":recaptchaenterprise_java_proto"], -) - -java_gapic_library( -- name = "phishingprotection_java_gapic", -- srcs = [":phishingprotection_proto_with_info"], -- gapic_yaml = "phishingprotection_gapic.yaml", -- grpc_service_config = "phishingprotection_grpc_service_config.json", +- name = "recaptchaenterprise_java_gapic", +- srcs = [":recaptchaenterprise_proto_with_info"], +- gapic_yaml = "recaptchaenterprise_gapic.yaml", +- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", - test_deps = [ -- ":phishingprotection_java_grpc", +- ":recaptchaenterprise_java_grpc", - ], - deps = [ -- ":phishingprotection_java_proto", +- ":recaptchaenterprise_java_proto", - ], -) - -java_gapic_test( -- name = "phishingprotection_java_gapic_test_suite", +- name = "recaptchaenterprise_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1ClientTest", +- "com.google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1ClientTest", - ], -- runtime_deps = [":phishingprotection_java_gapic_test"], +- runtime_deps = [":recaptchaenterprise_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-phishingprotection-v1beta1-java", +- name = "google-cloud-recaptchaenterprise-v1beta1-java", - deps = [ -- ":phishingprotection_java_gapic", -- ":phishingprotection_java_grpc", -- ":phishingprotection_java_proto", -- ":phishingprotection_proto", +- ":recaptchaenterprise_java_gapic", +- ":recaptchaenterprise_java_grpc", +- ":recaptchaenterprise_java_proto", +- ":recaptchaenterprise_proto", - ], -) - @@ -37643,40 +54116,40 @@ diff -urN a/google/cloud/phishingprotection/v1beta1/BUILD.bazel b/google/cloud/p -) - -go_proto_library( -- name = "phishingprotection_go_proto", +- name = "recaptchaenterprise_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/phishingprotection/v1beta1", -- protos = [":phishingprotection_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/recaptchaenterprise/v1beta1", +- protos = [":recaptchaenterprise_proto"], - deps = [ - "//google/api:annotations_go_proto", - ], -) - -go_gapic_library( -- name = "phishingprotection_go_gapic", -- srcs = [":phishingprotection_proto_with_info"], -- grpc_service_config = "phishingprotection_grpc_service_config.json", -- importpath = "cloud.google.com/go/phishingprotection/apiv1beta1;phishingprotection", -- service_yaml = "phishingprotection_v1beta1.yaml", +- name = "recaptchaenterprise_go_gapic", +- srcs = [":recaptchaenterprise_proto_with_info"], +- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", +- importpath = "cloud.google.com/go/recaptchaenterprise/apiv1beta1;recaptchaenterprise", +- service_yaml = "recaptchaenterprise_v1beta1.yaml", - deps = [ -- ":phishingprotection_go_proto", +- ":recaptchaenterprise_go_proto", - ], -) - -go_test( -- name = "phishingprotection_go_gapic_test", -- srcs = [":phishingprotection_go_gapic_srcjar_test"], -- embed = [":phishingprotection_go_gapic"], -- importpath = "cloud.google.com/go/phishingprotection/apiv1beta1", +- name = "recaptchaenterprise_go_gapic_test", +- srcs = [":recaptchaenterprise_go_gapic_srcjar_test"], +- embed = [":recaptchaenterprise_go_gapic"], +- importpath = "cloud.google.com/go/recaptchaenterprise/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-phishingprotection-v1beta1-go", -- deps = [ -- ":phishingprotection_go_gapic", -- ":phishingprotection_go_gapic_srcjar-test.srcjar", -- ":phishingprotection_go_proto", +- name = "gapi-cloud-recaptchaenterprise-v1beta1-go", +- deps = [ +- ":recaptchaenterprise_go_gapic", +- ":recaptchaenterprise_go_gapic_srcjar-test.srcjar", +- ":recaptchaenterprise_go_proto", - ], -) - @@ -37690,15 +54163,16 @@ diff -urN a/google/cloud/phishingprotection/v1beta1/BUILD.bazel b/google/cloud/p -) - -py_gapic_library( -- name = "phishingprotection_py_gapic", -- srcs = [":phishingprotection_proto"], -- grpc_service_config = "phishingprotection_grpc_service_config.json", +- name = "recaptchaenterprise_py_gapic", +- srcs = [":recaptchaenterprise_proto"], +- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "phishingprotection-v1beta1-py", +- name = "recaptchaenterprise-v1beta1-py", - deps = [ -- ":phishingprotection_py_gapic", +- ":recaptchaenterprise_py_gapic", - ], -) - @@ -37714,36 +54188,33 @@ diff -urN a/google/cloud/phishingprotection/v1beta1/BUILD.bazel b/google/cloud/p -) - -php_proto_library( -- name = "phishingprotection_php_proto", -- deps = [":phishingprotection_proto"], +- name = "recaptchaenterprise_php_proto", +- deps = [":recaptchaenterprise_proto"], -) - -php_grpc_library( -- name = "phishingprotection_php_grpc", -- srcs = [":phishingprotection_proto"], -- deps = [":phishingprotection_php_proto"], +- name = "recaptchaenterprise_php_grpc", +- srcs = [":recaptchaenterprise_proto"], +- deps = [":recaptchaenterprise_php_proto"], -) - -php_gapic_library( -- name = "phishingprotection_php_gapic", -- src = ":phishingprotection_proto_with_info", -- gapic_yaml = "phishingprotection_gapic.yaml", -- grpc_service_config = "phishingprotection_grpc_service_config.json", -- package = "google.cloud.phishingprotection.v1beta1", -- service_yaml = "phishingprotection_v1beta1.yaml", +- name = "recaptchaenterprise_php_gapic", +- srcs = [":recaptchaenterprise_proto_with_info"], +- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", - deps = [ -- ":phishingprotection_php_grpc", -- ":phishingprotection_php_proto", +- ":recaptchaenterprise_php_grpc", +- ":recaptchaenterprise_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-phishingprotection-v1beta1-php", +- name = "google-cloud-recaptchaenterprise-v1beta1-php", - deps = [ -- ":phishingprotection_php_gapic", -- ":phishingprotection_php_grpc", -- ":phishingprotection_php_proto", +- ":recaptchaenterprise_php_gapic", +- ":recaptchaenterprise_php_grpc", +- ":recaptchaenterprise_php_proto", - ], -) - @@ -37757,21 +54228,21 @@ diff -urN a/google/cloud/phishingprotection/v1beta1/BUILD.bazel b/google/cloud/p -) - -nodejs_gapic_library( -- name = "phishingprotection_nodejs_gapic", -- package_name = "@google-cloud/phishing-protection", -- src = ":phishingprotection_proto_with_info", +- name = "recaptchaenterprise_nodejs_gapic", +- package_name = "@google-cloud/recaptcha-enterprise", +- src = ":recaptchaenterprise_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "phishingprotection_grpc_service_config.json", -- package = "google.cloud.phishingprotection.v1beta1", -- service_yaml = "phishingprotection_v1beta1.yaml", +- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", +- package = "google.cloud.recaptchaenterprise.v1beta1", +- service_yaml = "recaptchaenterprise_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "phishingprotection-v1beta1-nodejs", +- name = "recaptchaenterprise-v1beta1-nodejs", - deps = [ -- ":phishingprotection_nodejs_gapic", -- ":phishingprotection_proto", +- ":recaptchaenterprise_nodejs_gapic", +- ":recaptchaenterprise_proto", - ], -) - @@ -37780,50 +54251,50 @@ diff -urN a/google/cloud/phishingprotection/v1beta1/BUILD.bazel b/google/cloud/p -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "phishingprotection_ruby_proto", -- deps = [":phishingprotection_proto"], +- name = "recaptchaenterprise_ruby_proto", +- deps = [":recaptchaenterprise_proto"], -) - -ruby_grpc_library( -- name = "phishingprotection_ruby_grpc", -- srcs = [":phishingprotection_proto"], -- deps = [":phishingprotection_ruby_proto"], +- name = "recaptchaenterprise_ruby_grpc", +- srcs = [":recaptchaenterprise_proto"], +- deps = [":recaptchaenterprise_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "phishingprotection_ruby_gapic", -- srcs = [":phishingprotection_proto_with_info"], +- name = "recaptchaenterprise_ruby_gapic", +- srcs = [":recaptchaenterprise_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-phishing_protection-v1beta1", -- "ruby-cloud-env-prefix=PHISHING_PROTECTION", -- "ruby-cloud-product-url=https://cloud.google.com/phishing-protection", -- "ruby-cloud-api-id=phishingprotection.googleapis.com", -- "ruby-cloud-api-shortname=phishingprotection", -- "ruby-cloud-service-override=PhishingProtectionServiceV1Beta1=PhishingProtectionService", +- "ruby-cloud-gem-name=google-cloud-recaptcha_enterprise-v1beta1", +- "ruby-cloud-env-prefix=RECAPTCHA_ENTERPRISE", +- "ruby-cloud-product-url=https://cloud.google.com/recaptcha-enterprise", +- "ruby-cloud-api-id=recaptchaenterprise.googleapis.com", +- "ruby-cloud-api-shortname=recaptchaenterprise", +- "ruby-cloud-service-override=RecaptchaEnterpriseServiceV1Beta1=RecaptchaEnterpriseService", - ], -- grpc_service_config = "phishingprotection_grpc_service_config.json", -- ruby_cloud_description = "Phishing Protection helps prevent users from accessing phishing sites by identifying various signals associated with malicious content, including the use of your brand assets, classifying malicious content that uses your brand and reporting the unsafe URLs to Google Safe Browsing.", -- ruby_cloud_title = "Phishing Protection V1beta1", +- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", +- ruby_cloud_description = "reCAPTCHA Enterprise is a service that protects your site from spam and abuse.", +- ruby_cloud_title = "reCAPTCHA Enterprise V1beta1", - deps = [ -- ":phishingprotection_ruby_grpc", -- ":phishingprotection_ruby_proto", +- ":recaptchaenterprise_ruby_grpc", +- ":recaptchaenterprise_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-phishingprotection-v1beta1-ruby", +- name = "google-cloud-recaptchaenterprise-v1beta1-ruby", - deps = [ -- ":phishingprotection_ruby_gapic", -- ":phishingprotection_ruby_grpc", -- ":phishingprotection_ruby_proto", +- ":recaptchaenterprise_ruby_gapic", +- ":recaptchaenterprise_ruby_grpc", +- ":recaptchaenterprise_ruby_proto", - ], -) - @@ -37839,34 +54310,34 @@ diff -urN a/google/cloud/phishingprotection/v1beta1/BUILD.bazel b/google/cloud/p -) - -csharp_proto_library( -- name = "phishingprotection_csharp_proto", -- deps = [":phishingprotection_proto"], +- name = "recaptchaenterprise_csharp_proto", +- deps = [":recaptchaenterprise_proto"], -) - -csharp_grpc_library( -- name = "phishingprotection_csharp_grpc", -- srcs = [":phishingprotection_proto"], -- deps = [":phishingprotection_csharp_proto"], +- name = "recaptchaenterprise_csharp_grpc", +- srcs = [":recaptchaenterprise_proto"], +- deps = [":recaptchaenterprise_csharp_proto"], -) - -csharp_gapic_library( -- name = "phishingprotection_csharp_gapic", -- srcs = [":phishingprotection_proto_with_info"], +- name = "recaptchaenterprise_csharp_gapic", +- srcs = [":recaptchaenterprise_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "phishingprotection_grpc_service_config.json", +- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", - deps = [ -- ":phishingprotection_csharp_grpc", -- ":phishingprotection_csharp_proto", +- ":recaptchaenterprise_csharp_grpc", +- ":recaptchaenterprise_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-phishingprotection-v1beta1-csharp", +- name = "google-cloud-recaptchaenterprise-v1beta1-csharp", - deps = [ -- ":phishingprotection_csharp_gapic", -- ":phishingprotection_csharp_grpc", -- ":phishingprotection_csharp_proto", +- ":recaptchaenterprise_csharp_gapic", +- ":recaptchaenterprise_csharp_grpc", +- ":recaptchaenterprise_csharp_proto", - ], -) - @@ -37874,158 +54345,392 @@ diff -urN a/google/cloud/phishingprotection/v1beta1/BUILD.bazel b/google/cloud/p -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/policytroubleshooter/v1/BUILD.bazel b/google/cloud/policytroubleshooter/v1/BUILD.bazel ---- a/google/cloud/policytroubleshooter/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/policytroubleshooter/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,345 +0,0 @@ +diff -urN a/google/cloud/recommendationengine/v1beta1/BUILD.bazel b/google/cloud/recommendationengine/v1beta1/BUILD.bazel +--- a/google/cloud/recommendationengine/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/recommendationengine/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,315 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/rules_gapic/tree/master/bazel -- --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. -- --# This is an API workspace, having public visibility by default makes perfect sense. --package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") --load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +- "proto_library_with_info", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) - -proto_library( -- name = "policytroubleshooter_proto", +- name = "recommendationengine_proto", - srcs = [ -- "checker.proto", -- "explanations.proto", +- "catalog.proto", +- "catalog_service.proto", +- "common.proto", +- "import.proto", +- "prediction_apikey_registry_service.proto", +- "prediction_service.proto", +- "recommendationengine_resources.proto", +- "user_event.proto", +- "user_event_service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/iam/v1:policy_proto", -- "//google/type:expr_proto", +- "//google/api:httpbody_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "//google/rpc:status_proto", +- "//google/type:date_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:struct_proto", +- "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "policytroubleshooter_proto_with_info", +- name = "recommendationengine_proto_with_info", - deps = [ -- ":policytroubleshooter_proto", +- ":recommendationengine_proto", - "//google/cloud:common_resources_proto", - ], -) - --############################################################################## --# Java --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", -- "java_grpc_library", -- "java_proto_library", --) -- -java_proto_library( -- name = "policytroubleshooter_java_proto", -- deps = [":policytroubleshooter_proto"], +- name = "recommendationengine_java_proto", +- deps = [ +- ":recommendationengine_proto", +- ], -) - -java_grpc_library( -- name = "policytroubleshooter_java_grpc", -- srcs = [":policytroubleshooter_proto"], -- deps = [":policytroubleshooter_java_proto"], +- name = "recommendationengine_java_grpc", +- srcs = [":recommendationengine_proto"], +- deps = [":recommendationengine_java_proto"], -) - -java_gapic_library( -- name = "policytroubleshooter_java_gapic", -- srcs = [":policytroubleshooter_proto_with_info"], -- grpc_service_config = "checker_grpc_service_config.json", +- name = "recommendationengine_java_gapic", +- srcs = [":recommendationengine_proto_with_info"], +- gapic_yaml = "recommendationengine_gapic.yaml", +- grpc_service_config = "recommendationengine_grpc_service_config.json", - test_deps = [ -- ":policytroubleshooter_java_grpc", -- "//google/iam/v1:iam_java_grpc", +- ":recommendationengine_java_grpc", - ], - deps = [ -- ":policytroubleshooter_java_proto", -- "//google/iam/v1:iam_java_proto", +- ":recommendationengine_java_proto", +- "//google/api:api_java_proto", - ], -) - -java_gapic_test( -- name = "policytroubleshooter_java_gapic_test_suite", +- name = "recommendationengine_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.policytroubleshooter.v1.IamCheckerClientTest", +- "com.google.cloud.recommendationengine.v1beta1.CatalogServiceClientTest", +- "com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistryClientTest", +- "com.google.cloud.recommendationengine.v1beta1.PredictionServiceClientTest", +- "com.google.cloud.recommendationengine.v1beta1.UserEventServiceClientTest", - ], -- runtime_deps = [":policytroubleshooter_java_gapic_test"], +- runtime_deps = [":recommendationengine_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-policytroubleshooter-v1-java", +- name = "google-cloud-recommendationengine-v1beta1-java", - deps = [ -- ":policytroubleshooter_java_gapic", -- ":policytroubleshooter_java_grpc", -- ":policytroubleshooter_java_proto", -- ":policytroubleshooter_proto", +- ":recommendationengine_java_gapic", +- ":recommendationengine_java_grpc", +- ":recommendationengine_java_proto", +- ":recommendationengine_proto", - ], -) - --############################################################################## --# Go --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "go_gapic_assembly_pkg", -- "go_gapic_library", -- "go_proto_library", -- "go_test", --) -- -go_proto_library( -- name = "policytroubleshooter_go_proto", +- name = "recommendationengine_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/policytroubleshooter/v1", -- protos = [":policytroubleshooter_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/recommendationengine/v1beta1", +- protos = [":recommendationengine_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/iam/v1:iam_go_proto", -- "//google/type:expr_go_proto", +- "//google/api:httpbody_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", +- "//google/type:date_go_proto", - ], -) - -go_gapic_library( -- name = "policytroubleshooter_go_gapic", -- srcs = [":policytroubleshooter_proto_with_info"], -- grpc_service_config = "checker_grpc_service_config.json", -- importpath = "cloud.google.com/go/policytroubleshooter/apiv1;policytroubleshooter", -- service_yaml = "policytroubleshooter_v1.yaml", +- name = "recommendationengine_go_gapic", +- srcs = [":recommendationengine_proto_with_info"], +- grpc_service_config = "recommendationengine_grpc_service_config.json", +- importpath = "cloud.google.com/go/recommendationengine/apiv1beta1;recommendationengine", +- service_yaml = "recommendationengine_v1beta1.yaml", - deps = [ -- ":policytroubleshooter_go_proto", -- "//google/iam/v1:iam_go_proto", +- ":recommendationengine_go_proto", +- "//google/api:httpbody_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:struct_go_proto", +- ], +-) +- +-go_test( +- name = "recommendationengine_go_gapic_test", +- srcs = [":recommendationengine_go_gapic_srcjar_test"], +- embed = [":recommendationengine_go_gapic"], +- importpath = "cloud.google.com/go/recommendationengine/apiv1beta1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-recommendationengine-v1beta1-go", +- deps = [ +- ":recommendationengine_go_gapic", +- ":recommendationengine_go_gapic_srcjar-test.srcjar", +- ":recommendationengine_go_proto", +- ], +-) +- +-py_gapic_library( +- name = "recommendationengine_py_gapic", +- srcs = [":recommendationengine_proto"], +- grpc_service_config = "recommendationengine_grpc_service_config.json", +- opt_args = ["warehouse-package-name=google-cloud-recommendations-ai"] +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "recommendationengine-v1beta1-py", +- deps = [ +- ":recommendationengine_py_gapic", +- ], +-) +- +-php_proto_library( +- name = "recommendationengine_php_proto", +- deps = [":recommendationengine_proto"], +-) +- +-php_grpc_library( +- name = "recommendationengine_php_grpc", +- srcs = [":recommendationengine_proto"], +- deps = [":recommendationengine_php_proto"], +-) +- +-php_gapic_library( +- name = "recommendationengine_php_gapic", +- srcs = [":recommendationengine_proto_with_info"], +- gapic_yaml = "recommendationengine_gapic.yaml", +- grpc_service_config = "recommendationengine_grpc_service_config.json", +- service_yaml = "recommendationengine_v1beta1.yaml", +- deps = [ +- ":recommendationengine_php_grpc", +- ":recommendationengine_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-recommendationengine-v1beta1-php", +- deps = [ +- ":recommendationengine_php_gapic", +- ":recommendationengine_php_grpc", +- ":recommendationengine_php_proto", +- ], +-) +- +-nodejs_gapic_library( +- name = "recommendationengine_nodejs_gapic", +- src = ":recommendationengine_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "recommendationengine_grpc_service_config.json", +- package = "google.cloud.recommendationengine.v1beta1", +- service_yaml = "recommendationengine_v1beta1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "recommendationengine-v1beta1-nodejs", +- deps = [ +- ":recommendationengine_nodejs_gapic", +- ":recommendationengine_proto", +- ], +-) +- +-ruby_proto_library( +- name = "recommendationengine_ruby_proto", +- deps = [":recommendationengine_proto"], +-) +- +-ruby_grpc_library( +- name = "recommendationengine_ruby_grpc", +- srcs = [":recommendationengine_proto"], +- deps = [":recommendationengine_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "recommendationengine_ruby_gapic", +- srcs = [":recommendationengine_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-recommendation_engine-v1beta1", +- "ruby-cloud-env-prefix=RECOMMENDATION_ENGINE", +- "ruby-cloud-product-url=https://cloud.google.com/recommendations-ai/", +- "ruby-cloud-api-id=recommendationengine.googleapis.com", +- "ruby-cloud-api-shortname=recommendationengine", +- ], +- grpc_service_config = "recommendationengine_grpc_service_config.json", +- ruby_cloud_description = "Recommendations AI enables you to build an end-to-end personalized recommendation system based on state-of-the-art deep learning ML models, without a need for expertise in ML or recommendation systems.", +- ruby_cloud_title = "Recommendations AI V1beta1", +- deps = [ +- ":recommendationengine_ruby_grpc", +- ":recommendationengine_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-recommendationengine-v1beta1-ruby", +- deps = [ +- ":recommendationengine_ruby_gapic", +- ":recommendationengine_ruby_grpc", +- ":recommendationengine_ruby_proto", +- ], +-) +- +-csharp_proto_library( +- name = "recommendationengine_csharp_proto", +- deps = [":recommendationengine_proto"], +-) +- +-csharp_grpc_library( +- name = "recommendationengine_csharp_grpc", +- srcs = [":recommendationengine_proto"], +- deps = [":recommendationengine_csharp_proto"], +-) +- +-# Invalid C# namespaces, cannot build. +-# csharp_gapic_library( +-# name = "recommendationengine_csharp_gapic", +-# srcs = [":recommendationengine_proto_with_info"], +-# grpc_service_config = "recommendationengine_grpc_service_config.json", +-# common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +-# deps = [ +-# ":recommendationengine_csharp_grpc", +-# ":recommendationengine_csharp_proto", +-# ], +-# ) +- +-# # Open Source Packages +-# csharp_gapic_assembly_pkg( +-# name = "google-cloud-recommendationengine-v1beta1-csharp", +-# deps = [ +-# ":recommendationengine_csharp_gapic", +-# ":recommendationengine_csharp_grpc", +-# ":recommendationengine_csharp_proto", +-# ], +-# ) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/recommender/BUILD.bazel b/google/cloud/recommender/BUILD.bazel +--- a/google/cloud/recommender/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/recommender/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/cloud/recommender/logging/v1/BUILD.bazel b/google/cloud/recommender/logging/v1/BUILD.bazel +--- a/google/cloud/recommender/logging/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/recommender/logging/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,166 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-proto_library( +- name = "logging_proto", +- srcs = [ +- "action_log.proto", +- ], +- deps = [ +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/cloud/recommender/v1:recommender_proto", - ], -) - --go_test( -- name = "policytroubleshooter_go_gapic_test", -- srcs = [":policytroubleshooter_go_gapic_srcjar_test"], -- embed = [":policytroubleshooter_go_gapic"], -- importpath = "cloud.google.com/go/policytroubleshooter/apiv1", +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "logging_java_proto", +- deps = [":logging_proto"], +-) +- +-java_grpc_library( +- name = "logging_java_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_java_proto"], -) - --# Open Source Packages --go_gapic_assembly_pkg( -- name = "gapi-cloud-policytroubleshooter-v1-go", +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "logging_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/recommender/logging/v1", +- protos = [":logging_proto"], - deps = [ -- ":policytroubleshooter_go_gapic", -- ":policytroubleshooter_go_gapic_srcjar-test.srcjar", -- ":policytroubleshooter_go_proto", +- "//google/api:annotations_go_proto", +- "//google/cloud/recommender/v1:recommender_go_proto", - ], -) - @@ -38034,67 +54739,50 @@ diff -urN a/google/cloud/policytroubleshooter/v1/BUILD.bazel b/google/cloud/poli -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "py_gapic_assembly_pkg", -- "py_gapic_library", --) -- --py_gapic_library( -- name = "policytroubleshooter_py_gapic", -- srcs = [":policytroubleshooter_proto"], -- grpc_service_config = "checker_grpc_service_config.json", +- "moved_proto_library", +- "py_grpc_library", +- "py_proto_library", -) - --# Open Source Packages --py_gapic_assembly_pkg( -- name = "policytroubleshooter-v1-py", +-moved_proto_library( +- name = "logging_moved_proto", +- srcs = [":logging_proto"], - deps = [ -- ":policytroubleshooter_py_gapic", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/cloud/recommender/v1:recommender_proto", - ], -) - +-py_proto_library( +- name = "logging_py_proto", +- deps = [":logging_moved_proto"], +-) +- +-py_grpc_library( +- name = "logging_py_grpc", +- srcs = [":logging_moved_proto"], +- deps = [":logging_py_proto"], +-) +- -############################################################################## -# PHP -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "php_gapic_assembly_pkg", -- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "policytroubleshooter_php_proto", -- deps = [":policytroubleshooter_proto"], +- name = "logging_php_proto", +- deps = [":logging_proto"], -) - -php_grpc_library( -- name = "policytroubleshooter_php_grpc", -- srcs = [":policytroubleshooter_proto"], -- deps = [":policytroubleshooter_php_proto"], --) -- --php_gapic_library( -- name = "policytroubleshooter_php_gapic", -- src = ":policytroubleshooter_proto_with_info", -- gapic_yaml = "policytroubleshooter_gapic.yaml", -- grpc_service_config = "checker_grpc_service_config.json", -- package = "google.cloud.policytroubleshooter.v1", -- service_yaml = "policytroubleshooter_v1.yaml", -- deps = [ -- ":policytroubleshooter_php_grpc", -- ":policytroubleshooter_php_proto", -- ], --) -- --# Open Source Packages --php_gapic_assembly_pkg( -- name = "google-cloud-policytroubleshooter-v1-php", -- deps = [ -- ":policytroubleshooter_php_gapic", -- ":policytroubleshooter_php_grpc", -- ":policytroubleshooter_php_proto", -- ], +- name = "logging_php_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_php_proto"], -) - -############################################################################## @@ -38106,74 +54794,25 @@ diff -urN a/google/cloud/policytroubleshooter/v1/BUILD.bazel b/google/cloud/poli - "nodejs_gapic_library", -) - --nodejs_gapic_library( -- name = "policytroubleshooter_nodejs_gapic", -- package_name = "@google-cloud/policy-troubleshooter", -- src = ":policytroubleshooter_proto_with_info", -- extra_protoc_parameters = ["metadata"], -- grpc_service_config = "checker_grpc_service_config.json", -- package = "google.cloud.policytroubleshooter.v1", -- service_yaml = "policytroubleshooter_v1.yaml", -- deps = [], --) -- --nodejs_gapic_assembly_pkg( -- name = "policytroubleshooter-v1-nodejs", -- deps = [ -- ":policytroubleshooter_nodejs_gapic", -- ":policytroubleshooter_proto", -- ], --) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_cloud_gapic_library", -- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "policytroubleshooter_ruby_proto", -- deps = [":policytroubleshooter_proto"], +- name = "logging_ruby_proto", +- deps = [":logging_proto"], -) - -ruby_grpc_library( -- name = "policytroubleshooter_ruby_grpc", -- srcs = [":policytroubleshooter_proto"], -- deps = [":policytroubleshooter_ruby_proto"], --) -- --ruby_cloud_gapic_library( -- name = "policytroubleshooter_ruby_gapic", -- srcs = [":policytroubleshooter_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-api-id=policytroubleshooter.googleapis.com", -- "ruby-cloud-api-shortname=policytroubleshooter", -- "ruby-cloud-env-prefix=POLICY_TROUBLESHOOTER", -- "ruby-cloud-gem-name=google-cloud-policy_troubleshooter-v1", -- "ruby-cloud-product-url=https://cloud.google.com/iam/docs/troubleshooting-access", -- ], -- grpc_service_config = "checker_grpc_service_config.json", -- ruby_cloud_description = "Policy Troubleshooter makes it easier to understand why a user has access to a resource or doesn't have permission to call an API. Given an email, resource, and permission, Policy Troubleshooter will examine all IAM policies that apply to the resource. It then reveals whether the member's roles include the permission on that resource and, if so, which policies bind the member to those roles.", -- ruby_cloud_title = "IAM Policy Troubleshooter V1", -- deps = [ -- ":policytroubleshooter_ruby_grpc", -- ":policytroubleshooter_ruby_proto", -- ], --) -- --# Open Source Packages --ruby_gapic_assembly_pkg( -- name = "google-cloud-policytroubleshooter-v1-ruby", -- deps = [ -- ":policytroubleshooter_ruby_gapic", -- ":policytroubleshooter_ruby_grpc", -- ":policytroubleshooter_ruby_proto", -- ], +- name = "logging_ruby_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_ruby_proto"], -) - -############################################################################## @@ -38181,62 +54820,30 @@ diff -urN a/google/cloud/policytroubleshooter/v1/BUILD.bazel b/google/cloud/poli -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "policytroubleshooter_csharp_proto", -- deps = [":policytroubleshooter_proto"], +- name = "logging_csharp_proto", +- deps = [":logging_proto"], -) - -csharp_grpc_library( -- name = "policytroubleshooter_csharp_grpc", -- srcs = [":policytroubleshooter_proto"], -- deps = [":policytroubleshooter_csharp_proto"], --) -- --csharp_gapic_library( -- name = "policytroubleshooter_csharp_gapic", -- srcs = [":policytroubleshooter_proto_with_info"], -- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "checker_grpc_service_config.json", -- deps = [ -- ":policytroubleshooter_csharp_grpc", -- ":policytroubleshooter_csharp_proto", -- ], --) -- --# Open Source Packages --csharp_gapic_assembly_pkg( -- name = "google-cloud-policytroubleshooter-v1-csharp", -- deps = [ -- ":policytroubleshooter_csharp_gapic", -- ":policytroubleshooter_csharp_grpc", -- ":policytroubleshooter_csharp_proto", -- ], +- name = "logging_csharp_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_csharp_proto"], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ rules here -diff -urN a/google/cloud/pubsublite/v1/BUILD.bazel b/google/cloud/pubsublite/v1/BUILD.bazel ---- a/google/cloud/pubsublite/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/pubsublite/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,303 +0,0 @@ +-# Put your C++ code here +diff -urN a/google/cloud/recommender/logging/v1beta1/BUILD.bazel b/google/cloud/recommender/logging/v1beta1/BUILD.bazel +--- a/google/cloud/recommender/logging/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/recommender/logging/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,164 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel -- --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -38245,35 +54852,15 @@ diff -urN a/google/cloud/pubsublite/v1/BUILD.bazel b/google/cloud/pubsublite/v1/ -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") --load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "pubsublite_proto", +- name = "logging_proto", - srcs = [ -- "admin.proto", -- "common.proto", -- "cursor.proto", -- "publisher.proto", -- "subscriber.proto", -- "topic_stats.proto", +- "action_log.proto", - ], - deps = [ -- "//google/api:annotations_proto", -- "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:timestamp_proto", -- ], --) -- --proto_library_with_info( -- name = "pubsublite_proto_with_info", -- deps = [ -- ":pubsublite_proto", -- "//google/cloud:common_resources_proto", +- "//google/cloud/recommender/v1beta1:recommender_proto", - ], -) - @@ -38282,59 +54869,19 @@ diff -urN a/google/cloud/pubsublite/v1/BUILD.bazel b/google/cloud/pubsublite/v1/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "pubsublite_java_proto", -- deps = [":pubsublite_proto"], +- name = "logging_java_proto", +- deps = [":logging_proto"], -) - -java_grpc_library( -- name = "pubsublite_java_grpc", -- srcs = [":pubsublite_proto"], -- deps = [":pubsublite_java_proto"], --) -- --java_gapic_library( -- name = "pubsublite_java_gapic", -- srcs = [":pubsublite_proto_with_info"], -- gapic_yaml = "gapic.yaml", -- grpc_service_config = "pubsublite_grpc_service_config.json", -- test_deps = [ -- ":pubsublite_java_grpc", -- ], -- deps = [ -- ":pubsublite_java_proto", -- ], --) -- --java_gapic_test( -- name = "pubsublite_java_gapic_test_suite", -- test_classes = [ -- "com.google.cloud.pubsublite.v1.AdminServiceClientTest", -- "com.google.cloud.pubsublite.v1.CursorServiceClientTest", -- "com.google.cloud.pubsublite.v1.PartitionAssignmentServiceClientTest", -- "com.google.cloud.pubsublite.v1.PublisherServiceClientTest", -- "com.google.cloud.pubsublite.v1.SubscriberServiceClientTest", -- "com.google.cloud.pubsublite.v1.TopicStatsServiceClientTest", -- ], -- runtime_deps = [":pubsublite_java_gapic_test"], --) -- --# Open Source Packages --java_gapic_assembly_gradle_pkg( -- name = "google-cloud-pubsublite-v1-java", -- deps = [ -- ":pubsublite_java_gapic", -- ":pubsublite_java_grpc", -- ":pubsublite_java_proto", -- ":pubsublite_proto", -- ], +- name = "logging_java_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_java_proto"], -) - -############################################################################## @@ -38342,72 +54889,68 @@ diff -urN a/google/cloud/pubsublite/v1/BUILD.bazel b/google/cloud/pubsublite/v1/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "go_gapic_assembly_pkg", -- "go_gapic_library", - "go_proto_library", -- "go_test", -) - -go_proto_library( -- name = "pubsublite_go_proto", +- name = "logging_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/pubsublite/v1", -- protos = [":pubsublite_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/recommender/logging/v1beta1", +- protos = [":logging_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/cloud/recommender/v1beta1:recommender_go_proto", - ], -) - --go_gapic_library( -- name = "pubsublite_go_gapic", -- srcs = [":pubsublite_proto_with_info"], -- grpc_service_config = "pubsublite_grpc_service_config.json", -- importpath = "cloud.google.com/go/pubsublite/apiv1;pubsublite", -- service_yaml = "pubsublite_v1.yaml", +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "moved_proto_library", +- "py_grpc_library", +- "py_proto_library", +-) +- +-moved_proto_library( +- name = "logging_moved_proto", +- srcs = [":logging_proto"], - deps = [ -- ":pubsublite_go_proto", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- "//google/api:field_behavior_proto", +- "//google/cloud/recommender/v1beta1:recommender_proto", - ], -) - --go_test( -- name = "pubsublite_go_gapic_test", -- srcs = [":pubsublite_go_gapic_srcjar_test"], -- embed = [":pubsublite_go_gapic"], -- importpath = "cloud.google.com/go/pubsublite/apiv1", +-py_proto_library( +- name = "logging_py_proto", +- deps = [":logging_moved_proto"], -) - --# Open Source Packages --go_gapic_assembly_pkg( -- name = "gapi-cloud-pubsublite-v1-go", -- deps = [ -- ":pubsublite_go_gapic", -- ":pubsublite_go_gapic_srcjar-test.srcjar", -- ":pubsublite_go_proto", -- ], +-py_grpc_library( +- name = "logging_py_grpc", +- srcs = [":logging_moved_proto"], +- deps = [":logging_py_proto"], -) - -############################################################################## --# Python +-# PHP -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "py_gapic_assembly_pkg", -- "py_gapic_library", +- "php_grpc_library", +- "php_proto_library", -) - --py_gapic_library( -- name = "pubsublite_py_gapic", -- srcs = [":pubsublite_proto"], -- grpc_service_config = "pubsublite_grpc_service_config.json", +-php_proto_library( +- name = "logging_php_proto", +- deps = [":logging_proto"], -) - --# Open Source Packages --py_gapic_assembly_pkg( -- name = "pubsublite-v1-py", -- deps = [ -- ":pubsublite_py_gapic", -- ], +-php_grpc_library( +- name = "logging_php_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_php_proto"], -) - -############################################################################## @@ -38419,68 +54962,25 @@ diff -urN a/google/cloud/pubsublite/v1/BUILD.bazel b/google/cloud/pubsublite/v1/ - "nodejs_gapic_library", -) - --nodejs_gapic_library( -- name = "pubsublite_nodejs_gapic", -- package_name = "@google-cloud/pubsublite", -- src = ":pubsublite_proto_with_info", -- extra_protoc_parameters = ["metadata"], -- grpc_service_config = "pubsublite_grpc_service_config.json", -- package = "google.cloud.pubsublite.v1", -- service_yaml = "pubsublite_v1.yaml", -- deps = [], --) -- --nodejs_gapic_assembly_pkg( -- name = "pubsublite-v1-nodejs", -- deps = [ -- ":pubsublite_nodejs_gapic", -- ":pubsublite_proto", -- ], --) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "pubsublite_ruby_proto", -- deps = [":pubsublite_proto"], +- name = "logging_ruby_proto", +- deps = [":logging_proto"], -) - -ruby_grpc_library( -- name = "pubsublite_ruby_grpc", -- srcs = [":pubsublite_proto"], -- deps = [":pubsublite_ruby_proto"], --) -- --ruby_gapic_library( -- name = "pubsublite_ruby_gapic", -- src = ":pubsublite_proto_with_info", -- gapic_yaml = "gapic.yaml", -- grpc_service_config = "pubsublite_grpc_service_config.json", -- package = "google.cloud.pubsublite.v1", -- service_yaml = "pubsublite_v1.yaml", -- deps = [ -- ":pubsublite_ruby_grpc", -- ":pubsublite_ruby_proto", -- ], --) -- --# Open Source Packages --ruby_gapic_assembly_pkg( -- name = "google-cloud-pubsublite-v1-ruby", -- deps = [ -- ":pubsublite_ruby_gapic", -- ":pubsublite_ruby_grpc", -- ":pubsublite_ruby_proto", -- ], +- name = "logging_ruby_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_ruby_proto"], -) - -############################################################################## @@ -38488,56 +54988,28 @@ diff -urN a/google/cloud/pubsublite/v1/BUILD.bazel b/google/cloud/pubsublite/v1/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "pubsublite_csharp_proto", -- deps = [":pubsublite_proto"], +- name = "logging_csharp_proto", +- deps = [":logging_proto"], -) - -csharp_grpc_library( -- name = "pubsublite_csharp_grpc", -- srcs = [":pubsublite_proto"], -- deps = [":pubsublite_csharp_proto"], --) -- --csharp_gapic_library( -- name = "pubsublite_csharp_gapic", -- srcs = [":pubsublite_proto_with_info"], -- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "pubsublite_grpc_service_config.json", -- deps = [ -- ":pubsublite_csharp_grpc", -- ":pubsublite_csharp_proto", -- ], --) -- --# Open Source Packages --csharp_gapic_assembly_pkg( -- name = "google-cloud-pubsublite-v1-csharp", -- deps = [ -- ":pubsublite_csharp_gapic", -- ":pubsublite_csharp_grpc", -- ":pubsublite_csharp_proto", -- ], +- name = "logging_csharp_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_csharp_proto"], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ rules here -diff -urN a/google/cloud/recaptchaenterprise/BUILD.bazel b/google/cloud/recaptchaenterprise/BUILD.bazel ---- a/google/cloud/recaptchaenterprise/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/recaptchaenterprise/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/cloud/recaptchaenterprise/v1/BUILD.bazel b/google/cloud/recaptchaenterprise/v1/BUILD.bazel ---- a/google/cloud/recaptchaenterprise/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/recaptchaenterprise/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +-# Put your C++ code here +diff -urN a/google/cloud/recommender/v1/BUILD.bazel b/google/cloud/recommender/v1/BUILD.bazel +--- a/google/cloud/recommender/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/recommender/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,342 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel @@ -38560,25 +55032,28 @@ diff -urN a/google/cloud/recaptchaenterprise/v1/BUILD.bazel b/google/cloud/recap -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "recaptchaenterprise_proto", +- name = "recommender_proto", - srcs = [ -- "recaptchaenterprise.proto", +- "insight.proto", +- "recommendation.proto", +- "recommender_service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", +- "//google/type:money_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "recaptchaenterprise_proto_with_info", +- name = "recommender_proto_with_info", - deps = [ -- ":recaptchaenterprise_proto", +- ":recommender_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -38596,45 +55071,44 @@ diff -urN a/google/cloud/recaptchaenterprise/v1/BUILD.bazel b/google/cloud/recap -) - -java_proto_library( -- name = "recaptchaenterprise_java_proto", -- deps = [":recaptchaenterprise_proto"], +- name = "recommender_java_proto", +- deps = [":recommender_proto"], -) - -java_grpc_library( -- name = "recaptchaenterprise_java_grpc", -- srcs = [":recaptchaenterprise_proto"], -- deps = [":recaptchaenterprise_java_proto"], +- name = "recommender_java_grpc", +- srcs = [":recommender_proto"], +- deps = [":recommender_java_proto"], -) - -java_gapic_library( -- name = "recaptchaenterprise_java_gapic", -- srcs = [":recaptchaenterprise_proto_with_info"], -- gapic_yaml = "recaptchaenterprise_gapic.yaml", -- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", +- name = "recommender_java_gapic", +- srcs = [":recommender_proto_with_info"], +- grpc_service_config = "recommender_grpc_service_config.json", - test_deps = [ -- ":recaptchaenterprise_java_grpc", +- ":recommender_java_grpc", - ], - deps = [ -- ":recaptchaenterprise_java_proto", +- ":recommender_java_proto", - ], -) - -java_gapic_test( -- name = "recaptchaenterprise_java_gapic_test_suite", +- name = "recommender_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseServiceClientTest", +- "com.google.cloud.recommender.v1.RecommenderClientTest", - ], -- runtime_deps = [":recaptchaenterprise_java_gapic_test"], +- runtime_deps = [":recommender_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-recaptchaenterprise-v1-java", +- name = "google-cloud-recommender-v1-java", - deps = [ -- ":recaptchaenterprise_java_gapic", -- ":recaptchaenterprise_java_grpc", -- ":recaptchaenterprise_java_proto", -- ":recaptchaenterprise_proto", +- ":recommender_java_gapic", +- ":recommender_java_grpc", +- ":recommender_java_proto", +- ":recommender_proto", - ], -) - @@ -38650,40 +55124,42 @@ diff -urN a/google/cloud/recaptchaenterprise/v1/BUILD.bazel b/google/cloud/recap -) - -go_proto_library( -- name = "recaptchaenterprise_go_proto", +- name = "recommender_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/recaptchaenterprise/v1", -- protos = [":recaptchaenterprise_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/recommender/v1", +- protos = [":recommender_proto"], - deps = [ - "//google/api:annotations_go_proto", -- ], --) -- --go_gapic_library( -- name = "recaptchaenterprise_go_gapic", -- srcs = [":recaptchaenterprise_proto_with_info"], -- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", -- importpath = "cloud.google.com/go/recaptchaenterprise/apiv1;recaptchaenterprise", -- service_yaml = "recaptchaenterprise_v1.yaml", +- "//google/type:money_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "recommender_go_gapic", +- srcs = [":recommender_proto_with_info"], +- grpc_service_config = "recommender_grpc_service_config.json", +- importpath = "cloud.google.com/go/recommender/apiv1;recommender", +- service_yaml = "recommender_v1.yaml", - deps = [ -- ":recaptchaenterprise_go_proto", +- ":recommender_go_proto", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "recaptchaenterprise_go_gapic_test", -- srcs = [":recaptchaenterprise_go_gapic_srcjar_test"], -- embed = [":recaptchaenterprise_go_gapic"], -- importpath = "cloud.google.com/go/recaptchaenterprise/apiv1", +- name = "recommender_go_gapic_test", +- srcs = [":recommender_go_gapic_srcjar_test"], +- embed = [":recommender_go_gapic"], +- importpath = "cloud.google.com/go/recommender/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-recaptchaenterprise-v1-go", +- name = "gapi-cloud-recommender-v1-go", - deps = [ -- ":recaptchaenterprise_go_gapic", -- ":recaptchaenterprise_go_gapic_srcjar-test.srcjar", -- ":recaptchaenterprise_go_proto", +- ":recommender_go_gapic", +- ":recommender_go_gapic_srcjar-test.srcjar", +- ":recommender_go_proto", - ], -) - @@ -38697,16 +55173,15 @@ diff -urN a/google/cloud/recaptchaenterprise/v1/BUILD.bazel b/google/cloud/recap -) - -py_gapic_library( -- name = "recaptchaenterprise_py_gapic", -- srcs = [":recaptchaenterprise_proto"], -- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", +- name = "recommender_py_gapic", +- srcs = [":recommender_proto"], +- grpc_service_config = "recommender_grpc_service_config.json", -) - --# Open Source Packages -py_gapic_assembly_pkg( -- name = "recaptchaenterprise-v1-py", +- name = "recommender-v1-py", - deps = [ -- ":recaptchaenterprise_py_gapic", +- ":recommender_py_gapic", - ], -) - @@ -38722,36 +55197,33 @@ diff -urN a/google/cloud/recaptchaenterprise/v1/BUILD.bazel b/google/cloud/recap -) - -php_proto_library( -- name = "recaptchaenterprise_php_proto", -- deps = [":recaptchaenterprise_proto"], +- name = "recommender_php_proto", +- deps = [":recommender_proto"], -) - -php_grpc_library( -- name = "recaptchaenterprise_php_grpc", -- srcs = [":recaptchaenterprise_proto"], -- deps = [":recaptchaenterprise_php_proto"], +- name = "recommender_php_grpc", +- srcs = [":recommender_proto"], +- deps = [":recommender_php_proto"], -) - -php_gapic_library( -- name = "recaptchaenterprise_php_gapic", -- src = ":recaptchaenterprise_proto_with_info", -- gapic_yaml = "recaptchaenterprise_gapic.yaml", -- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", -- package = "google.cloud.recaptchaenterprise.v1", -- service_yaml = "recaptchaenterprise_v1.yaml", +- name = "recommender_php_gapic", +- srcs = [":recommender_proto_with_info"], +- grpc_service_config = "recommender_grpc_service_config.json", - deps = [ -- ":recaptchaenterprise_php_grpc", -- ":recaptchaenterprise_php_proto", +- ":recommender_php_grpc", +- ":recommender_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-recaptchaenterprise-v1-php", +- name = "google-cloud-recommender-v1-php", - deps = [ -- ":recaptchaenterprise_php_gapic", -- ":recaptchaenterprise_php_grpc", -- ":recaptchaenterprise_php_proto", +- ":recommender_php_gapic", +- ":recommender_php_grpc", +- ":recommender_php_proto", - ], -) - @@ -38765,21 +55237,21 @@ diff -urN a/google/cloud/recaptchaenterprise/v1/BUILD.bazel b/google/cloud/recap -) - -nodejs_gapic_library( -- name = "recaptchaenterprise_nodejs_gapic", -- package_name = "@google-cloud/recaptcha-enterprise", -- src = ":recaptchaenterprise_proto_with_info", +- name = "recommender_nodejs_gapic", +- package_name = "@google-cloud/recommender", +- src = ":recommender_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", -- package = "google.cloud.recaptchaenterprise.v1", -- service_yaml = "recaptchaenterprise_v1.yaml", +- grpc_service_config = "recommender_grpc_service_config.json", +- package = "google.cloud.recommender.v1", +- service_yaml = "recommender_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "recaptchaenterprise-v1-nodejs", +- name = "recommender-v1-nodejs", - deps = [ -- ":recaptchaenterprise_nodejs_gapic", -- ":recaptchaenterprise_proto", +- ":recommender_nodejs_gapic", +- ":recommender_proto", - ], -) - @@ -38788,49 +55260,49 @@ diff -urN a/google/cloud/recaptchaenterprise/v1/BUILD.bazel b/google/cloud/recap -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "recaptchaenterprise_ruby_proto", -- deps = [":recaptchaenterprise_proto"], +- name = "recommender_ruby_proto", +- deps = [":recommender_proto"], -) - -ruby_grpc_library( -- name = "recaptchaenterprise_ruby_grpc", -- srcs = [":recaptchaenterprise_proto"], -- deps = [":recaptchaenterprise_ruby_proto"], +- name = "recommender_ruby_grpc", +- srcs = [":recommender_proto"], +- deps = [":recommender_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "recaptchaenterprise_ruby_gapic", -- srcs = [":recaptchaenterprise_proto_with_info"], +- name = "recommender_ruby_gapic", +- srcs = [":recommender_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-recaptcha_enterprise-v1", -- "ruby-cloud-env-prefix=RECAPTCHA_ENTERPRISE", -- "ruby-cloud-product-url=https://cloud.google.com/recaptcha-enterprise", -- "ruby-cloud-api-id=recaptchaenterprise.googleapis.com", -- "ruby-cloud-api-shortname=recaptchaenterprise", +- "ruby-cloud-gem-name=google-cloud-recommender-v1", +- "ruby-cloud-env-prefix=RECOMMENDER", +- "ruby-cloud-product-url=https://cloud.google.com/recommender", +- "ruby-cloud-api-id=recommender.googleapis.com", +- "ruby-cloud-api-shortname=recommender", - ], -- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", -- ruby_cloud_description = "reCAPTCHA Enterprise is a service that protects your site from spam and abuse.", -- ruby_cloud_title = "reCAPTCHA Enterprise V1", +- grpc_service_config = "recommender_grpc_service_config.json", +- ruby_cloud_description = "Recommender is a service on Google Cloud that provides usage recommendations for Cloud products and services.", +- ruby_cloud_title = "Recommender V1", - deps = [ -- ":recaptchaenterprise_ruby_grpc", -- ":recaptchaenterprise_ruby_proto", +- ":recommender_ruby_grpc", +- ":recommender_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-recaptchaenterprise-v1-ruby", +- name = "google-cloud-recommender-v1-ruby", - deps = [ -- ":recaptchaenterprise_ruby_gapic", -- ":recaptchaenterprise_ruby_grpc", -- ":recaptchaenterprise_ruby_proto", +- ":recommender_ruby_gapic", +- ":recommender_ruby_grpc", +- ":recommender_ruby_proto", - ], -) - @@ -38846,34 +55318,34 @@ diff -urN a/google/cloud/recaptchaenterprise/v1/BUILD.bazel b/google/cloud/recap -) - -csharp_proto_library( -- name = "recaptchaenterprise_csharp_proto", -- deps = [":recaptchaenterprise_proto"], +- name = "recommender_csharp_proto", +- deps = [":recommender_proto"], -) - -csharp_grpc_library( -- name = "recaptchaenterprise_csharp_grpc", -- srcs = [":recaptchaenterprise_proto"], -- deps = [":recaptchaenterprise_csharp_proto"], +- name = "recommender_csharp_grpc", +- srcs = [":recommender_proto"], +- deps = [":recommender_csharp_proto"], -) - -csharp_gapic_library( -- name = "recaptchaenterprise_csharp_gapic", -- srcs = [":recaptchaenterprise_proto_with_info"], +- name = "recommender_csharp_gapic", +- srcs = [":recommender_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", +- grpc_service_config = "recommender_grpc_service_config.json", - deps = [ -- ":recaptchaenterprise_csharp_grpc", -- ":recaptchaenterprise_csharp_proto", +- ":recommender_csharp_grpc", +- ":recommender_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-recaptchaenterprise-v1-csharp", +- name = "google-cloud-recommender-v1-csharp", - deps = [ -- ":recaptchaenterprise_csharp_gapic", -- ":recaptchaenterprise_csharp_grpc", -- ":recaptchaenterprise_csharp_proto", +- ":recommender_csharp_gapic", +- ":recommender_csharp_grpc", +- ":recommender_csharp_proto", - ], -) - @@ -38881,10 +55353,10 @@ diff -urN a/google/cloud/recaptchaenterprise/v1/BUILD.bazel b/google/cloud/recap -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel b/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel ---- a/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,343 +0,0 @@ +diff -urN a/google/cloud/recommender/v1beta1/BUILD.bazel b/google/cloud/recommender/v1beta1/BUILD.bazel +--- a/google/cloud/recommender/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/recommender/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,333 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - @@ -38906,25 +55378,28 @@ diff -urN a/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel b/google/cloud/ -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "recaptchaenterprise_proto", +- name = "recommender_proto", - srcs = [ -- "recaptchaenterprise.proto", +- "insight.proto", +- "recommendation.proto", +- "recommender_service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", +- "//google/type:money_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "recaptchaenterprise_proto_with_info", +- name = "recommender_proto_with_info", - deps = [ -- ":recaptchaenterprise_proto", +- ":recommender_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -38942,45 +55417,44 @@ diff -urN a/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel b/google/cloud/ -) - -java_proto_library( -- name = "recaptchaenterprise_java_proto", -- deps = [":recaptchaenterprise_proto"], +- name = "recommender_java_proto", +- deps = [":recommender_proto"], -) - -java_grpc_library( -- name = "recaptchaenterprise_java_grpc", -- srcs = [":recaptchaenterprise_proto"], -- deps = [":recaptchaenterprise_java_proto"], +- name = "recommender_java_grpc", +- srcs = [":recommender_proto"], +- deps = [":recommender_java_proto"], -) - -java_gapic_library( -- name = "recaptchaenterprise_java_gapic", -- srcs = [":recaptchaenterprise_proto_with_info"], -- gapic_yaml = "recaptchaenterprise_gapic.yaml", -- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", +- name = "recommender_java_gapic", +- srcs = [":recommender_proto_with_info"], +- grpc_service_config = "recommender_grpc_service_config.json", - test_deps = [ -- ":recaptchaenterprise_java_grpc", +- ":recommender_java_grpc", - ], - deps = [ -- ":recaptchaenterprise_java_proto", +- ":recommender_java_proto", - ], -) - -java_gapic_test( -- name = "recaptchaenterprise_java_gapic_test_suite", +- name = "recommender_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1ClientTest", +- "com.google.cloud.recommender.v1beta1.RecommenderClientTest", - ], -- runtime_deps = [":recaptchaenterprise_java_gapic_test"], +- runtime_deps = [":recommender_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-recaptchaenterprise-v1beta1-java", +- name = "google-cloud-recommender-v1beta1-java", - deps = [ -- ":recaptchaenterprise_java_gapic", -- ":recaptchaenterprise_java_grpc", -- ":recaptchaenterprise_java_proto", -- ":recaptchaenterprise_proto", +- ":recommender_java_gapic", +- ":recommender_java_grpc", +- ":recommender_java_proto", +- ":recommender_proto", - ], -) - @@ -38996,40 +55470,42 @@ diff -urN a/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel b/google/cloud/ -) - -go_proto_library( -- name = "recaptchaenterprise_go_proto", +- name = "recommender_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/recaptchaenterprise/v1beta1", -- protos = [":recaptchaenterprise_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/recommender/v1beta1", +- protos = [":recommender_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/type:money_go_proto", - ], -) - -go_gapic_library( -- name = "recaptchaenterprise_go_gapic", -- srcs = [":recaptchaenterprise_proto_with_info"], -- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", -- importpath = "cloud.google.com/go/recaptchaenterprise/apiv1beta1;recaptchaenterprise", -- service_yaml = "recaptchaenterprise_v1beta1.yaml", +- name = "recommender_go_gapic", +- srcs = [":recommender_proto_with_info"], +- grpc_service_config = "recommender_grpc_service_config.json", +- importpath = "cloud.google.com/go/recommender/apiv1beta1;recommender", +- service_yaml = "recommender_v1beta1.yaml", - deps = [ -- ":recaptchaenterprise_go_proto", +- ":recommender_go_proto", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "recaptchaenterprise_go_gapic_test", -- srcs = [":recaptchaenterprise_go_gapic_srcjar_test"], -- embed = [":recaptchaenterprise_go_gapic"], -- importpath = "cloud.google.com/go/recaptchaenterprise/apiv1beta1", +- name = "recommender_go_gapic_test", +- srcs = [":recommender_go_gapic_srcjar_test"], +- embed = [":recommender_go_gapic"], +- importpath = "cloud.google.com/go/recommender/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-recaptchaenterprise-v1beta1-go", +- name = "gapi-cloud-recommender-v1beta1-go", - deps = [ -- ":recaptchaenterprise_go_gapic", -- ":recaptchaenterprise_go_gapic_srcjar-test.srcjar", -- ":recaptchaenterprise_go_proto", +- ":recommender_go_gapic", +- ":recommender_go_gapic_srcjar-test.srcjar", +- ":recommender_go_proto", - ], -) - @@ -39043,16 +55519,15 @@ diff -urN a/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel b/google/cloud/ -) - -py_gapic_library( -- name = "recaptchaenterprise_py_gapic", -- srcs = [":recaptchaenterprise_proto"], -- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", +- name = "recommender_py_gapic", +- srcs = [":recommender_proto"], +- grpc_service_config = "recommender_grpc_service_config.json", -) - --# Open Source Packages -py_gapic_assembly_pkg( -- name = "recaptchaenterprise-v1beta1-py", +- name = "recommender-v1beta1-py", - deps = [ -- ":recaptchaenterprise_py_gapic", +- ":recommender_py_gapic", - ], -) - @@ -39068,36 +55543,33 @@ diff -urN a/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel b/google/cloud/ -) - -php_proto_library( -- name = "recaptchaenterprise_php_proto", -- deps = [":recaptchaenterprise_proto"], +- name = "recommender_php_proto", +- deps = [":recommender_proto"], -) - -php_grpc_library( -- name = "recaptchaenterprise_php_grpc", -- srcs = [":recaptchaenterprise_proto"], -- deps = [":recaptchaenterprise_php_proto"], +- name = "recommender_php_grpc", +- srcs = [":recommender_proto"], +- deps = [":recommender_php_proto"], -) - -php_gapic_library( -- name = "recaptchaenterprise_php_gapic", -- src = ":recaptchaenterprise_proto_with_info", -- gapic_yaml = "recaptchaenterprise_gapic.yaml", -- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", -- package = "google.cloud.recaptchaenterprise.v1beta1", -- service_yaml = "recaptchaenterprise_v1beta1.yaml", +- name = "recommender_php_gapic", +- srcs = [":recommender_proto_with_info"], +- grpc_service_config = "recommender_grpc_service_config.json", - deps = [ -- ":recaptchaenterprise_php_grpc", -- ":recaptchaenterprise_php_proto", +- ":recommender_php_grpc", +- ":recommender_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-recaptchaenterprise-v1beta1-php", +- name = "google-cloud-recommender-v1beta1-php", - deps = [ -- ":recaptchaenterprise_php_gapic", -- ":recaptchaenterprise_php_grpc", -- ":recaptchaenterprise_php_proto", +- ":recommender_php_gapic", +- ":recommender_php_grpc", +- ":recommender_php_proto", - ], -) - @@ -39111,21 +55583,20 @@ diff -urN a/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel b/google/cloud/ -) - -nodejs_gapic_library( -- name = "recaptchaenterprise_nodejs_gapic", -- package_name = "@google-cloud/recaptcha-enterprise", -- src = ":recaptchaenterprise_proto_with_info", +- name = "recommender_nodejs_gapic", +- src = ":recommender_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", -- package = "google.cloud.recaptchaenterprise.v1beta1", -- service_yaml = "recaptchaenterprise_v1beta1.yaml", +- grpc_service_config = "recommender_grpc_service_config.json", +- package = "google.cloud.recommender.v1beta1", +- service_yaml = "recommender_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "recaptchaenterprise-v1beta1-nodejs", +- name = "recommender-v1beta1-nodejs", - deps = [ -- ":recaptchaenterprise_nodejs_gapic", -- ":recaptchaenterprise_proto", +- ":recommender_nodejs_gapic", +- ":recommender_proto", - ], -) - @@ -39141,43 +55612,34 @@ diff -urN a/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel b/google/cloud/ -) - -ruby_proto_library( -- name = "recaptchaenterprise_ruby_proto", -- deps = [":recaptchaenterprise_proto"], +- name = "recommender_ruby_proto", +- deps = [":recommender_proto"], -) - -ruby_grpc_library( -- name = "recaptchaenterprise_ruby_grpc", -- srcs = [":recaptchaenterprise_proto"], -- deps = [":recaptchaenterprise_ruby_proto"], +- name = "recommender_ruby_grpc", +- srcs = [":recommender_proto"], +- deps = [":recommender_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "recaptchaenterprise_ruby_gapic", -- srcs = [":recaptchaenterprise_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-recaptcha_enterprise-v1beta1", -- "ruby-cloud-env-prefix=RECAPTCHA_ENTERPRISE", -- "ruby-cloud-product-url=https://cloud.google.com/recaptcha-enterprise", -- "ruby-cloud-api-id=recaptchaenterprise.googleapis.com", -- "ruby-cloud-api-shortname=recaptchaenterprise", -- "ruby-cloud-service-override=RecaptchaEnterpriseServiceV1Beta1=RecaptchaEnterpriseService", -- ], -- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", -- ruby_cloud_description = "reCAPTCHA Enterprise is a service that protects your site from spam and abuse.", -- ruby_cloud_title = "reCAPTCHA Enterprise V1beta1", +- name = "recommender_ruby_gapic", +- srcs = [":recommender_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-recommender-v1beta1"], +- grpc_service_config = "recommender_grpc_service_config.json", - deps = [ -- ":recaptchaenterprise_ruby_grpc", -- ":recaptchaenterprise_ruby_proto", +- ":recommender_ruby_grpc", +- ":recommender_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-recaptchaenterprise-v1beta1-ruby", +- name = "google-cloud-recommender-v1beta1-ruby", - deps = [ -- ":recaptchaenterprise_ruby_gapic", -- ":recaptchaenterprise_ruby_grpc", -- ":recaptchaenterprise_ruby_proto", +- ":recommender_ruby_gapic", +- ":recommender_ruby_grpc", +- ":recommender_ruby_proto", - ], -) - @@ -39193,34 +55655,34 @@ diff -urN a/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel b/google/cloud/ -) - -csharp_proto_library( -- name = "recaptchaenterprise_csharp_proto", -- deps = [":recaptchaenterprise_proto"], +- name = "recommender_csharp_proto", +- deps = [":recommender_proto"], -) - -csharp_grpc_library( -- name = "recaptchaenterprise_csharp_grpc", -- srcs = [":recaptchaenterprise_proto"], -- deps = [":recaptchaenterprise_csharp_proto"], +- name = "recommender_csharp_grpc", +- srcs = [":recommender_proto"], +- deps = [":recommender_csharp_proto"], -) - -csharp_gapic_library( -- name = "recaptchaenterprise_csharp_gapic", -- srcs = [":recaptchaenterprise_proto_with_info"], +- name = "recommender_csharp_gapic", +- srcs = [":recommender_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "recaptchaenterprise_grpc_service_config.json", +- grpc_service_config = "recommender_grpc_service_config.json", - deps = [ -- ":recaptchaenterprise_csharp_grpc", -- ":recaptchaenterprise_csharp_proto", +- ":recommender_csharp_grpc", +- ":recommender_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-recaptchaenterprise-v1beta1-csharp", +- name = "google-cloud-recommender-v1beta1-csharp", - deps = [ -- ":recaptchaenterprise_csharp_gapic", -- ":recaptchaenterprise_csharp_grpc", -- ":recaptchaenterprise_csharp_proto", +- ":recommender_csharp_gapic", +- ":recommender_csharp_grpc", +- ":recommender_csharp_proto", - ], -) - @@ -39228,334 +55690,354 @@ diff -urN a/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel b/google/cloud/ -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/recommendationengine/v1beta1/BUILD.bazel b/google/cloud/recommendationengine/v1beta1/BUILD.bazel ---- a/google/cloud/recommendationengine/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/recommendationengine/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,315 +0,0 @@ +diff -urN a/google/cloud/redis/BUILD.bazel b/google/cloud/redis/BUILD.bazel +--- a/google/cloud/redis/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/redis/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/cloud/redis/v1/BUILD.bazel b/google/cloud/redis/v1/BUILD.bazel +--- a/google/cloud/redis/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/redis/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,335 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", -- "csharp_grpc_library", -- "csharp_proto_library", -- "go_gapic_assembly_pkg", -- "go_gapic_library", -- "go_proto_library", -- "go_test", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", -- "java_grpc_library", -- "java_proto_library", -- "nodejs_gapic_assembly_pkg", -- "nodejs_gapic_library", -- "php_gapic_assembly_pkg", -- "php_gapic_library", -- "php_grpc_library", -- "php_proto_library", -- "proto_library_with_info", -- "py_gapic_assembly_pkg", -- "py_gapic_library", -- "ruby_gapic_assembly_pkg", -- "ruby_cloud_gapic_library", -- "ruby_grpc_library", -- "ruby_proto_library", --) -- --# This is an API workspace, having public visibility by default makes perfect sense. --package(default_visibility = ["//visibility:public"]) +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "recommendationengine_proto", +- name = "redis_proto", - srcs = [ -- "catalog.proto", -- "catalog_service.proto", -- "common.proto", -- "import.proto", -- "prediction_apikey_registry_service.proto", -- "prediction_service.proto", -- "recommendationengine_resources.proto", -- "user_event.proto", -- "user_event_service.proto", +- "cloud_redis.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/api:httpbody_proto", - "//google/api:resource_proto", - "//google/longrunning:operations_proto", -- "//google/rpc:status_proto", -- "//google/type:date_proto", -- "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "recommendationengine_proto_with_info", +- name = "redis_proto_with_info", - deps = [ -- ":recommendationengine_proto", +- ":redis_proto", - "//google/cloud:common_resources_proto", - ], -) - +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- -java_proto_library( -- name = "recommendationengine_java_proto", -- deps = [ -- ":recommendationengine_proto", -- ], +- name = "redis_java_proto", +- deps = [":redis_proto"], -) - -java_grpc_library( -- name = "recommendationengine_java_grpc", -- srcs = [":recommendationengine_proto"], -- deps = [":recommendationengine_java_proto"], +- name = "redis_java_grpc", +- srcs = [":redis_proto"], +- deps = [":redis_java_proto"], -) - -java_gapic_library( -- name = "recommendationengine_java_gapic", -- srcs = [":recommendationengine_proto_with_info"], -- gapic_yaml = "recommendationengine_gapic.yaml", -- grpc_service_config = "recommendationengine_grpc_service_config.json", +- name = "redis_java_gapic", +- srcs = [":redis_proto_with_info"], +- gapic_yaml = "redis_gapic.yaml", +- grpc_service_config = "redis_grpc_service_config.json", - test_deps = [ -- ":recommendationengine_java_grpc", +- ":redis_java_grpc", - ], - deps = [ -- ":recommendationengine_java_proto", -- "//google/api:api_java_proto", +- ":redis_java_proto", - ], -) - -java_gapic_test( -- name = "recommendationengine_java_gapic_test_suite", +- name = "redis_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.recommendationengine.v1beta1.CatalogServiceClientTest", -- "com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistryClientTest", -- "com.google.cloud.recommendationengine.v1beta1.PredictionServiceClientTest", -- "com.google.cloud.recommendationengine.v1beta1.UserEventServiceClientTest", +- "com.google.cloud.redis.v1.CloudRedisClientTest", - ], -- runtime_deps = [":recommendationengine_java_gapic_test"], +- runtime_deps = [":redis_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-recommendationengine-v1beta1-java", +- name = "google-cloud-redis-v1-java", - deps = [ -- ":recommendationengine_java_gapic", -- ":recommendationengine_java_grpc", -- ":recommendationengine_java_proto", -- ":recommendationengine_proto", +- ":redis_java_gapic", +- ":redis_java_grpc", +- ":redis_java_proto", +- ":redis_proto", - ], -) - +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- -go_proto_library( -- name = "recommendationengine_go_proto", +- name = "redis_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/recommendationengine/v1beta1", -- protos = [":recommendationengine_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/redis/v1", +- protos = [":redis_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/api:httpbody_go_proto", - "//google/longrunning:longrunning_go_proto", -- "//google/rpc:status_go_proto", -- "//google/type:date_go_proto", - ], -) - -go_gapic_library( -- name = "recommendationengine_go_gapic", -- srcs = [":recommendationengine_proto_with_info"], -- grpc_service_config = "recommendationengine_grpc_service_config.json", -- importpath = "cloud.google.com/go/recommendationengine/apiv1beta1;recommendationengine", -- service_yaml = "recommendationengine_v1beta1.yaml", +- name = "redis_go_gapic", +- srcs = [":redis_proto_with_info"], +- grpc_service_config = "redis_grpc_service_config.json", +- importpath = "cloud.google.com/go/redis/apiv1;redis", +- service_yaml = "redis_v1.yaml", - deps = [ -- ":recommendationengine_go_proto", -- "//google/api:httpbody_go_proto", +- ":redis_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:struct_go_proto", - ], -) - -go_test( -- name = "recommendationengine_go_gapic_test", -- srcs = [":recommendationengine_go_gapic_srcjar_test"], -- embed = [":recommendationengine_go_gapic"], -- importpath = "cloud.google.com/go/recommendationengine/apiv1beta1", +- name = "redis_go_gapic_test", +- srcs = [":redis_go_gapic_srcjar_test"], +- embed = [":redis_go_gapic"], +- importpath = "cloud.google.com/go/redis/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-recommendationengine-v1beta1-go", +- name = "gapi-cloud-redis-v1-go", - deps = [ -- ":recommendationengine_go_gapic", -- ":recommendationengine_go_gapic_srcjar-test.srcjar", -- ":recommendationengine_go_proto", +- ":redis_go_gapic", +- ":redis_go_gapic_srcjar-test.srcjar", +- ":redis_go_proto", - ], -) - +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- -py_gapic_library( -- name = "recommendationengine_py_gapic", -- srcs = [":recommendationengine_proto"], -- grpc_service_config = "recommendationengine_grpc_service_config.json", +- name = "redis_py_gapic", +- srcs = [":redis_proto"], +- grpc_service_config = "redis_grpc_service_config.json", -) - --# Open Source Packages -py_gapic_assembly_pkg( -- name = "recommendationengine-v1beta1-py", +- name = "redis-v1-py", - deps = [ -- ":recommendationengine_py_gapic", +- ":redis_py_gapic", - ], -) - +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- -php_proto_library( -- name = "recommendationengine_php_proto", -- deps = [":recommendationengine_proto"], +- name = "redis_php_proto", +- deps = [":redis_proto"], -) - -php_grpc_library( -- name = "recommendationengine_php_grpc", -- srcs = [":recommendationengine_proto"], -- deps = [":recommendationengine_php_proto"], +- name = "redis_php_grpc", +- srcs = [":redis_proto"], +- deps = [":redis_php_proto"], -) - -php_gapic_library( -- name = "recommendationengine_php_gapic", -- src = ":recommendationengine_proto_with_info", -- gapic_yaml = "recommendationengine_gapic.yaml", -- grpc_service_config = "recommendationengine_grpc_service_config.json", -- package = "google.cloud.recommendationengine.v1beta1", -- service_yaml = "recommendationengine_v1beta1.yaml", +- name = "redis_php_gapic", +- srcs = [":redis_proto_with_info"], +- gapic_yaml = "redis_gapic.yaml", +- grpc_service_config = "redis_grpc_service_config.json", +- service_yaml = "redis_v1.yaml", - deps = [ -- ":recommendationengine_php_grpc", -- ":recommendationengine_php_proto", +- ":redis_php_grpc", +- ":redis_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-recommendationengine-v1beta1-php", +- name = "google-cloud-redis-v1-php", - deps = [ -- ":recommendationengine_php_gapic", -- ":recommendationengine_php_grpc", -- ":recommendationengine_php_proto", +- ":redis_php_gapic", +- ":redis_php_grpc", +- ":redis_php_proto", - ], -) - +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- -nodejs_gapic_library( -- name = "recommendationengine_nodejs_gapic", -- src = ":recommendationengine_proto_with_info", +- name = "redis_nodejs_gapic", +- package_name = "@google-cloud/redis", +- src = ":redis_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "recommendationengine_grpc_service_config.json", -- package = "google.cloud.recommendationengine.v1beta1", -- service_yaml = "recommendationengine_v1beta1.yaml", +- grpc_service_config = "redis_grpc_service_config.json", +- package = "google.cloud.redis.v1", +- service_yaml = "redis_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "recommendationengine-v1beta1-nodejs", +- name = "redis-v1-nodejs", - deps = [ -- ":recommendationengine_nodejs_gapic", -- ":recommendationengine_proto", +- ":redis_nodejs_gapic", +- ":redis_proto", - ], -) - +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- -ruby_proto_library( -- name = "recommendationengine_ruby_proto", -- deps = [":recommendationengine_proto"], +- name = "redis_ruby_proto", +- deps = [":redis_proto"], -) - -ruby_grpc_library( -- name = "recommendationengine_ruby_grpc", -- srcs = [":recommendationengine_proto"], -- deps = [":recommendationengine_ruby_proto"], +- name = "redis_ruby_grpc", +- srcs = [":redis_proto"], +- deps = [":redis_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "recommendationengine_ruby_gapic", -- srcs = [":recommendationengine_proto_with_info"], +- name = "redis_ruby_gapic", +- srcs = [":redis_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-recommendation_engine-v1beta1", -- "ruby-cloud-env-prefix=RECOMMENDATION_ENGINE", -- "ruby-cloud-product-url=https://cloud.google.com/recommendations-ai/", -- "ruby-cloud-api-id=recommendationengine.googleapis.com", -- "ruby-cloud-api-shortname=recommendationengine", +- "ruby-cloud-gem-name=google-cloud-redis-v1", +- "ruby-cloud-env-prefix=REDIS", +- "ruby-cloud-product-url=https://cloud.google.com/memorystore/docs/redis", +- "ruby-cloud-api-id=redis.googleapis.com", +- "ruby-cloud-api-shortname=redis", - ], -- grpc_service_config = "recommendationengine_grpc_service_config.json", -- ruby_cloud_description = "Recommendations AI enables you to build an end-to-end personalized recommendation system based on state-of-the-art deep learning ML models, without a need for expertise in ML or recommendation systems.", -- ruby_cloud_title = "Recommendations AI V1beta1", +- grpc_service_config = "redis_grpc_service_config.json", +- ruby_cloud_description = "Creates and manages Redis instances on the Google Cloud Platform.", +- ruby_cloud_title = "Google Cloud Memorystore for Redis V1", - deps = [ -- ":recommendationengine_ruby_grpc", -- ":recommendationengine_ruby_proto", +- ":redis_ruby_grpc", +- ":redis_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-recommendationengine-v1beta1-ruby", +- name = "google-cloud-redis-v1-ruby", - deps = [ -- ":recommendationengine_ruby_gapic", -- ":recommendationengine_ruby_grpc", -- ":recommendationengine_ruby_proto", +- ":redis_ruby_gapic", +- ":redis_ruby_grpc", +- ":redis_ruby_proto", - ], -) - +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- -csharp_proto_library( -- name = "recommendationengine_csharp_proto", -- deps = [":recommendationengine_proto"], +- name = "redis_csharp_proto", +- deps = [":redis_proto"], -) - -csharp_grpc_library( -- name = "recommendationengine_csharp_grpc", -- srcs = [":recommendationengine_proto"], -- deps = [":recommendationengine_csharp_proto"], +- name = "redis_csharp_grpc", +- srcs = [":redis_proto"], +- deps = [":redis_csharp_proto"], -) - --# Invalid C# namespaces, cannot build. --# csharp_gapic_library( --# name = "recommendationengine_csharp_gapic", --# srcs = [":recommendationengine_proto_with_info"], --# grpc_service_config = "recommendationengine_grpc_service_config.json", --# common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", --# deps = [ --# ":recommendationengine_csharp_grpc", --# ":recommendationengine_csharp_proto", --# ], --# ) +-csharp_gapic_library( +- name = "redis_csharp_gapic", +- srcs = [":redis_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "redis_grpc_service_config.json", +- deps = [ +- ":redis_csharp_grpc", +- ":redis_csharp_proto", +- ], +-) - --# # Open Source Packages --# csharp_gapic_assembly_pkg( --# name = "google-cloud-recommendationengine-v1beta1-csharp", --# deps = [ --# ":recommendationengine_csharp_gapic", --# ":recommendationengine_csharp_grpc", --# ":recommendationengine_csharp_proto", --# ], --# ) +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-redis-v1-csharp", +- deps = [ +- ":redis_csharp_gapic", +- ":redis_csharp_grpc", +- ":redis_csharp_proto", +- ], +-) - -############################################################################## -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/recommender/BUILD.bazel b/google/cloud/recommender/BUILD.bazel ---- a/google/cloud/recommender/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/recommender/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/cloud/recommender/logging/v1/BUILD.bazel b/google/cloud/recommender/logging/v1/BUILD.bazel ---- a/google/cloud/recommender/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/recommender/logging/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,167 +0,0 @@ +diff -urN a/google/cloud/redis/v1beta1/BUILD.bazel b/google/cloud/redis/v1beta1/BUILD.bazel +--- a/google/cloud/redis/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/redis/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,336 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -39565,16 +56047,29 @@ diff -urN a/google/cloud/recommender/logging/v1/BUILD.bazel b/google/cloud/recom -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "logging_proto", +- name = "redis_proto", - srcs = [ -- "action_log.proto", +- "cloud_redis.proto", - ], - deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/cloud/recommender/v1:recommender_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "redis_proto_with_info", +- deps = [ +- ":redis_proto", +- "//google/cloud:common_resources_proto", - ], -) - @@ -39583,19 +56078,54 @@ diff -urN a/google/cloud/recommender/logging/v1/BUILD.bazel b/google/cloud/recom -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "logging_java_proto", -- deps = [":logging_proto"], +- name = "redis_java_proto", +- deps = [":redis_proto"], -) - -java_grpc_library( -- name = "logging_java_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_java_proto"], +- name = "redis_java_grpc", +- srcs = [":redis_proto"], +- deps = [":redis_java_proto"], +-) +- +-java_gapic_library( +- name = "redis_java_gapic", +- srcs = [":redis_proto_with_info"], +- gapic_yaml = "redis_gapic.yaml", +- grpc_service_config = "redis_grpc_service_config.json", +- test_deps = [ +- ":redis_java_grpc", +- ], +- deps = [ +- ":redis_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "redis_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.redis.v1beta1.CloudRedisClientTest", +- ], +- runtime_deps = [":redis_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-redis-v1beta1-java", +- deps = [ +- ":redis_java_gapic", +- ":redis_java_grpc", +- ":redis_java_proto", +- ":redis_proto", +- ], -) - -############################################################################## @@ -39603,17 +56133,52 @@ diff -urN a/google/cloud/recommender/logging/v1/BUILD.bazel b/google/cloud/recom -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", - "go_proto_library", +- "go_test", -) - -go_proto_library( -- name = "logging_go_proto", +- name = "redis_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/recommender/logging/v1", -- protos = [":logging_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/redis/v1beta1", +- protos = [":redis_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/cloud/recommender/v1:recommender_go_proto", +- "//google/longrunning:longrunning_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "redis_go_gapic", +- srcs = [":redis_proto_with_info"], +- grpc_service_config = "redis_grpc_service_config.json", +- importpath = "cloud.google.com/go/redis/apiv1beta1;redis", +- service_yaml = "redis_v1beta1.yaml", +- deps = [ +- ":redis_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:any_go_proto", +- ], +-) +- +-go_test( +- name = "redis_go_gapic_test", +- srcs = [":redis_go_gapic_srcjar_test"], +- embed = [":redis_go_gapic"], +- importpath = "cloud.google.com/go/redis/apiv1beta1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-redis-v1beta1-go", +- deps = [ +- ":redis_go_gapic", +- ":redis_go_gapic_srcjar-test.srcjar", +- ":redis_go_proto", - ], -) - @@ -39622,31 +56187,21 @@ diff -urN a/google/cloud/recommender/logging/v1/BUILD.bazel b/google/cloud/recom -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", -- "py_grpc_library", -- "py_proto_library", --) -- --moved_proto_library( -- name = "logging_moved_proto", -- srcs = [":logging_proto"], -- deps = [ -- "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/cloud/recommender/v1:recommender_proto", -- ], +- "py_gapic_assembly_pkg", +- "py_gapic_library", -) - --py_proto_library( -- name = "logging_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":logging_moved_proto"], +-py_gapic_library( +- name = "redis_py_gapic", +- srcs = [":redis_proto"], +- grpc_service_config = "redis_grpc_service_config.json", -) - --py_grpc_library( -- name = "logging_py_grpc", -- srcs = [":logging_moved_proto"], -- deps = [":logging_py_proto"], +-py_gapic_assembly_pkg( +- name = "redis-v1beta1-py", +- deps = [ +- ":redis_py_gapic", +- ], -) - -############################################################################## @@ -39654,19 +56209,43 @@ diff -urN a/google/cloud/recommender/logging/v1/BUILD.bazel b/google/cloud/recom -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "logging_php_proto", -- deps = [":logging_proto"], +- name = "redis_php_proto", +- deps = [":redis_proto"], -) - -php_grpc_library( -- name = "logging_php_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_php_proto"], +- name = "redis_php_grpc", +- srcs = [":redis_proto"], +- deps = [":redis_php_proto"], +-) +- +-php_gapic_library( +- name = "redis_php_gapic", +- srcs = [":redis_proto_with_info"], +- gapic_yaml = "redis_gapic.yaml", +- grpc_service_config = "redis_grpc_service_config.json", +- service_yaml = "redis_v1beta1.yaml", +- deps = [ +- ":redis_php_grpc", +- ":redis_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-redis-v1beta1-php", +- deps = [ +- ":redis_php_gapic", +- ":redis_php_grpc", +- ":redis_php_proto", +- ], -) - -############################################################################## @@ -39678,25 +56257,74 @@ diff -urN a/google/cloud/recommender/logging/v1/BUILD.bazel b/google/cloud/recom - "nodejs_gapic_library", -) - +-nodejs_gapic_library( +- name = "redis_nodejs_gapic", +- package_name = "@google-cloud/redis", +- src = ":redis_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "redis_grpc_service_config.json", +- package = "google.cloud.redis.v1beta1", +- service_yaml = "redis_v1beta1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "redis-v1beta1-nodejs", +- deps = [ +- ":redis_nodejs_gapic", +- ":redis_proto", +- ], +-) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "logging_ruby_proto", -- deps = [":logging_proto"], +- name = "redis_ruby_proto", +- deps = [":redis_proto"], -) - -ruby_grpc_library( -- name = "logging_ruby_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_ruby_proto"], +- name = "redis_ruby_grpc", +- srcs = [":redis_proto"], +- deps = [":redis_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "redis_ruby_gapic", +- srcs = [":redis_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-redis-v1beta1", +- "ruby-cloud-env-prefix=REDIS", +- "ruby-cloud-product-url=https://cloud.google.com/memorystore/docs/redis", +- "ruby-cloud-api-id=redis.googleapis.com", +- "ruby-cloud-api-shortname=redis", +- ], +- grpc_service_config = "redis_grpc_service_config.json", +- ruby_cloud_description = "Creates and manages Redis instances on the Google Cloud Platform.", +- ruby_cloud_title = "Google Cloud Memorystore for Redis V1beta1", +- deps = [ +- ":redis_ruby_grpc", +- ":redis_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-redis-v1beta1-ruby", +- deps = [ +- ":redis_ruby_gapic", +- ":redis_ruby_grpc", +- ":redis_ruby_proto", +- ], -) - -############################################################################## @@ -39704,29 +56332,52 @@ diff -urN a/google/cloud/recommender/logging/v1/BUILD.bazel b/google/cloud/recom -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "logging_csharp_proto", -- deps = [":logging_proto"], +- name = "redis_csharp_proto", +- deps = [":redis_proto"], -) - -csharp_grpc_library( -- name = "logging_csharp_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_csharp_proto"], +- name = "redis_csharp_grpc", +- srcs = [":redis_proto"], +- deps = [":redis_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "redis_csharp_gapic", +- srcs = [":redis_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "redis_grpc_service_config.json", +- deps = [ +- ":redis_csharp_grpc", +- ":redis_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-redis-v1beta1-csharp", +- deps = [ +- ":redis_csharp_gapic", +- ":redis_csharp_grpc", +- ":redis_csharp_proto", +- ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ code here -diff -urN a/google/cloud/recommender/logging/v1beta1/BUILD.bazel b/google/cloud/recommender/logging/v1beta1/BUILD.bazel ---- a/google/cloud/recommender/logging/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/recommender/logging/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,165 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/resourcemanager/v2/BUILD.bazel b/google/cloud/resourcemanager/v2/BUILD.bazel +--- a/google/cloud/resourcemanager/v2/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/resourcemanager/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,174 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -39736,15 +56387,31 @@ diff -urN a/google/cloud/recommender/logging/v1beta1/BUILD.bazel b/google/cloud/ -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "logging_proto", +- name = "resourcemanager_proto", - srcs = [ -- "action_log.proto", +- "folders.proto", - ], - deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/cloud/recommender/v1beta1:recommender_proto", +- "//google/api:resource_proto", +- "//google/iam/v1:iam_policy_proto", +- "//google/iam/v1:policy_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "resourcemanager_proto_with_info", +- deps = [ +- ":resourcemanager_proto", +- "//google/cloud:common_resources_proto", - ], -) - @@ -39758,32 +56425,34 @@ diff -urN a/google/cloud/recommender/logging/v1beta1/BUILD.bazel b/google/cloud/ -) - -java_proto_library( -- name = "logging_java_proto", -- deps = [":logging_proto"], +- name = "resourcemanager_java_proto", +- deps = [":resourcemanager_proto"], -) - -java_grpc_library( -- name = "logging_java_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_java_proto"], +- name = "resourcemanager_java_grpc", +- srcs = [":resourcemanager_proto"], +- deps = [":resourcemanager_java_proto"], -) - --############################################################################## +-############################################################################# -# Go -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "go_proto_library", +- "go_test", -) - -go_proto_library( -- name = "logging_go_proto", +- name = "resourcemanager_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/recommender/logging/v1beta1", -- protos = [":logging_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/resourcemanager/v2", +- protos = [":resourcemanager_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/cloud/recommender/v1beta1:recommender_go_proto", +- "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", - ], -) - @@ -39798,24 +56467,30 @@ diff -urN a/google/cloud/recommender/logging/v1beta1/BUILD.bazel b/google/cloud/ -) - -moved_proto_library( -- name = "logging_moved_proto", -- srcs = [":logging_proto"], +- name = "resourcemanager_moved_proto", +- srcs = [":resourcemanager_proto"], - deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/cloud/recommender/v1beta1:recommender_proto", +- "//google/api:resource_proto", +- "//google/iam/v1:iam_policy_proto", +- "//google/iam/v1:policy_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", - ], -) - -py_proto_library( -- name = "logging_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":logging_moved_proto"], +- name = "resourcemanager_py_proto", +- deps = [":resourcemanager_moved_proto"], -) - -py_grpc_library( -- name = "logging_py_grpc", -- srcs = [":logging_moved_proto"], -- deps = [":logging_py_proto"], +- name = "resourcemanager_py_grpc", +- srcs = [":resourcemanager_moved_proto"], +- deps = [":resourcemanager_py_proto"], -) - -############################################################################## @@ -39828,26 +56503,16 @@ diff -urN a/google/cloud/recommender/logging/v1beta1/BUILD.bazel b/google/cloud/ -) - -php_proto_library( -- name = "logging_php_proto", -- deps = [":logging_proto"], +- name = "resourcemanager_php_proto", +- deps = [":resourcemanager_proto"], -) - -php_grpc_library( -- name = "logging_php_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_php_proto"], --) -- --############################################################################## --# Node.js --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "nodejs_gapic_assembly_pkg", -- "nodejs_gapic_library", +- name = "resourcemanager_php_grpc", +- srcs = [":resourcemanager_proto"], +- deps = [":resourcemanager_php_proto"], -) - -- -############################################################################## -# Ruby -############################################################################## @@ -39858,14 +56523,14 @@ diff -urN a/google/cloud/recommender/logging/v1beta1/BUILD.bazel b/google/cloud/ -) - -ruby_proto_library( -- name = "logging_ruby_proto", -- deps = [":logging_proto"], +- name = "resourcemanager_ruby_proto", +- deps = [":resourcemanager_proto"], -) - -ruby_grpc_library( -- name = "logging_ruby_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_ruby_proto"], +- name = "resourcemanager_ruby_grpc", +- srcs = [":resourcemanager_proto"], +- deps = [":resourcemanager_ruby_proto"], -) - -############################################################################## @@ -39878,26 +56543,21 @@ diff -urN a/google/cloud/recommender/logging/v1beta1/BUILD.bazel b/google/cloud/ -) - -csharp_proto_library( -- name = "logging_csharp_proto", -- deps = [":logging_proto"], +- name = "resourcemanager_csharp_proto", +- deps = [":resourcemanager_proto"], -) - -csharp_grpc_library( -- name = "logging_csharp_grpc", -- srcs = [":logging_proto"], -- deps = [":logging_csharp_proto"], +- name = "resourcemanager_csharp_grpc", +- srcs = [":resourcemanager_proto"], +- deps = [":resourcemanager_csharp_proto"], -) -- --############################################################################## --# C++ --############################################################################## --# Put your C++ code here -diff -urN a/google/cloud/recommender/v1/BUILD.bazel b/google/cloud/recommender/v1/BUILD.bazel ---- a/google/cloud/recommender/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/recommender/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,345 +0,0 @@ +diff -urN a/google/cloud/resourcemanager/v3/BUILD.bazel b/google/cloud/resourcemanager/v3/BUILD.bazel +--- a/google/cloud/resourcemanager/v3/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/resourcemanager/v3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,363 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +-# https://github.com/googleapis/rules_gapic/tree/master/bazel - -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: @@ -39917,29 +56577,35 @@ diff -urN a/google/cloud/recommender/v1/BUILD.bazel b/google/cloud/recommender/v -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "recommender_proto", +- name = "resourcemanager_proto", - srcs = [ -- "insight.proto", -- "recommendation.proto", -- "recommender_service.proto", +- "folders.proto", +- "organizations.proto", +- "projects.proto", +- "tag_bindings.proto", +- "tag_keys.proto", +- "tag_values.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/type:money_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:struct_proto", +- "//google/iam/v1:iam_policy_proto", +- "//google/iam/v1:policy_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "recommender_proto_with_info", +- name = "resourcemanager_proto_with_info", - deps = [ -- ":recommender_proto", -- "//google/cloud:common_resources_proto", +- ":resourcemanager_proto", +- # This line was manually modified since Projects, Folders, Organizations +- # are special cased since they are also common resources. +- #"//google/cloud:common_resources_proto", - ], -) - @@ -39956,44 +56622,51 @@ diff -urN a/google/cloud/recommender/v1/BUILD.bazel b/google/cloud/recommender/v -) - -java_proto_library( -- name = "recommender_java_proto", -- deps = [":recommender_proto"], +- name = "resourcemanager_java_proto", +- deps = [":resourcemanager_proto"], -) - -java_grpc_library( -- name = "recommender_java_grpc", -- srcs = [":recommender_proto"], -- deps = [":recommender_java_proto"], +- name = "resourcemanager_java_grpc", +- srcs = [":resourcemanager_proto"], +- deps = [":resourcemanager_java_proto"], -) - -java_gapic_library( -- name = "recommender_java_gapic", -- srcs = [":recommender_proto_with_info"], -- grpc_service_config = "recommender_grpc_service_config.json", +- name = "resourcemanager_java_gapic", +- srcs = [":resourcemanager_proto_with_info"], +- grpc_service_config = "cloudresourcemanager_v3_grpc_service_config.json", - test_deps = [ -- ":recommender_java_grpc", +- ":resourcemanager_java_grpc", +- "//google/iam/v1:iam_java_grpc", - ], - deps = [ -- ":recommender_java_proto", +- ":resourcemanager_java_proto", +- "//google/iam/v1:iam_java_proto", - ], -) - -java_gapic_test( -- name = "recommender_java_gapic_test_suite", +- name = "resourcemanager_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.recommender.v1.RecommenderClientTest", +- "com.google.cloud.resourcemanager.v3.FoldersClientTest", +- "com.google.cloud.resourcemanager.v3.OrganizationsClientTest", +- "com.google.cloud.resourcemanager.v3.ProjectsClientTest", +- "com.google.cloud.resourcemanager.v3.TagBindingsClientTest", +- "com.google.cloud.resourcemanager.v3.TagKeysClientTest", +- "com.google.cloud.resourcemanager.v3.TagValuesClientTest", - ], -- runtime_deps = [":recommender_java_gapic_test"], +- runtime_deps = [":resourcemanager_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-recommender-v1-java", +- name = "google-cloud-resourcemanager-v3-java", - deps = [ -- ":recommender_java_gapic", -- ":recommender_java_grpc", -- ":recommender_java_proto", -- ":recommender_proto", +- ":resourcemanager_java_gapic", +- ":resourcemanager_java_grpc", +- ":resourcemanager_java_proto", +- ":resourcemanager_proto", - ], -) - @@ -40009,42 +56682,48 @@ diff -urN a/google/cloud/recommender/v1/BUILD.bazel b/google/cloud/recommender/v -) - -go_proto_library( -- name = "recommender_go_proto", +- name = "resourcemanager_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/recommender/v1", -- protos = [":recommender_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/resourcemanager/v3", +- protos = [":resourcemanager_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/type:money_go_proto", +- "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "recommender_go_gapic", -- srcs = [":recommender_proto_with_info"], -- grpc_service_config = "recommender_grpc_service_config.json", -- importpath = "cloud.google.com/go/recommender/apiv1;recommender", -- service_yaml = "recommender_v1.yaml", +- name = "resourcemanager_go_gapic", +- srcs = [":resourcemanager_proto_with_info"], +- grpc_service_config = "cloudresourcemanager_v3_grpc_service_config.json", +- importpath = "cloud.google.com/go/resourcemanager/apiv3;resourcemanager", +- metadata = True, +- service_yaml = "cloudresourcemanager_v3.yaml", - deps = [ -- ":recommender_go_proto", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- ":resourcemanager_go_proto", +- "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", - ], -) - -go_test( -- name = "recommender_go_gapic_test", -- srcs = [":recommender_go_gapic_srcjar_test"], -- embed = [":recommender_go_gapic"], -- importpath = "cloud.google.com/go/recommender/apiv1", +- name = "resourcemanager_go_gapic_test", +- srcs = [":resourcemanager_go_gapic_srcjar_test"], +- embed = [":resourcemanager_go_gapic"], +- importpath = "cloud.google.com/go/resourcemanager/apiv3", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-recommender-v1-go", +- name = "gapi-cloud-resourcemanager-v3-go", - deps = [ -- ":recommender_go_gapic", -- ":recommender_go_gapic_srcjar-test.srcjar", -- ":recommender_go_proto", +- ":resourcemanager_go_gapic", +- ":resourcemanager_go_gapic_srcjar-metadata.srcjar", +- ":resourcemanager_go_gapic_srcjar-test.srcjar", +- ":resourcemanager_go_proto", - ], -) - @@ -40058,15 +56737,16 @@ diff -urN a/google/cloud/recommender/v1/BUILD.bazel b/google/cloud/recommender/v -) - -py_gapic_library( -- name = "recommender_py_gapic", -- srcs = [":recommender_proto"], -- grpc_service_config = "recommender_grpc_service_config.json", +- name = "resourcemanager_py_gapic", +- srcs = [":resourcemanager_proto"], +- grpc_service_config = "cloudresourcemanager_v3_grpc_service_config.json", -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "recommender-v1-py", +- name = "resourcemanager-v3-py", - deps = [ -- ":recommender_py_gapic", +- ":resourcemanager_py_gapic", - ], -) - @@ -40082,36 +56762,34 @@ diff -urN a/google/cloud/recommender/v1/BUILD.bazel b/google/cloud/recommender/v -) - -php_proto_library( -- name = "recommender_php_proto", -- deps = [":recommender_proto"], +- name = "resourcemanager_php_proto", +- deps = [":resourcemanager_proto"], -) - -php_grpc_library( -- name = "recommender_php_grpc", -- srcs = [":recommender_proto"], -- deps = [":recommender_php_proto"], +- name = "resourcemanager_php_grpc", +- srcs = [":resourcemanager_proto"], +- deps = [":resourcemanager_php_proto"], -) - -php_gapic_library( -- name = "recommender_php_gapic", -- src = ":recommender_proto_with_info", -- gapic_yaml = "recommender_gapic.yaml", -- grpc_service_config = "recommender_grpc_service_config.json", -- package = "google.cloud.recommender.v1", -- service_yaml = "recommender_v1.yaml", +- name = "resourcemanager_php_gapic", +- srcs = [":resourcemanager_proto_with_info"], +- grpc_service_config = "cloudresourcemanager_v3_grpc_service_config.json", +- service_yaml = "cloudresourcemanager_v3.yaml", - deps = [ -- ":recommender_php_grpc", -- ":recommender_php_proto", +- ":resourcemanager_php_grpc", +- ":resourcemanager_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-recommender-v1-php", +- name = "google-cloud-resourcemanager-v3-php", - deps = [ -- ":recommender_php_gapic", -- ":recommender_php_grpc", -- ":recommender_php_proto", +- ":resourcemanager_php_gapic", +- ":resourcemanager_php_grpc", +- ":resourcemanager_php_proto", - ], -) - @@ -40125,21 +56803,21 @@ diff -urN a/google/cloud/recommender/v1/BUILD.bazel b/google/cloud/recommender/v -) - -nodejs_gapic_library( -- name = "recommender_nodejs_gapic", -- package_name = "@google-cloud/recommender", -- src = ":recommender_proto_with_info", +- name = "resourcemanager_nodejs_gapic", +- package_name = "@google-cloud/resourcemanager", +- src = ":resourcemanager_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "recommender_grpc_service_config.json", -- package = "google.cloud.recommender.v1", -- service_yaml = "recommender_v1.yaml", +- grpc_service_config = "cloudresourcemanager_v3_grpc_service_config.json", +- package = "google.cloud.resourcemanager.v3", +- service_yaml = "cloudresourcemanager_v3.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "recommender-v1-nodejs", +- name = "resourcemanager-v3-nodejs", - deps = [ -- ":recommender_nodejs_gapic", -- ":recommender_proto", +- ":resourcemanager_nodejs_gapic", +- ":resourcemanager_proto", - ], -) - @@ -40148,49 +56826,49 @@ diff -urN a/google/cloud/recommender/v1/BUILD.bazel b/google/cloud/recommender/v -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "recommender_ruby_proto", -- deps = [":recommender_proto"], +- name = "resourcemanager_ruby_proto", +- deps = [":resourcemanager_proto"], -) - -ruby_grpc_library( -- name = "recommender_ruby_grpc", -- srcs = [":recommender_proto"], -- deps = [":recommender_ruby_proto"], +- name = "resourcemanager_ruby_grpc", +- srcs = [":resourcemanager_proto"], +- deps = [":resourcemanager_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "recommender_ruby_gapic", -- srcs = [":recommender_proto_with_info"], +- name = "resourcemanager_ruby_gapic", +- srcs = [":resourcemanager_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-recommender-v1", -- "ruby-cloud-env-prefix=RECOMMENDER", -- "ruby-cloud-product-url=https://cloud.google.com/recommender", -- "ruby-cloud-api-id=recommender.googleapis.com", -- "ruby-cloud-api-shortname=recommender", +- "ruby-cloud-gem-name=google-cloud-resource_manager-v3", +- "ruby-cloud-env-prefix=RESOURCE_MANAGER", +- "ruby-cloud-product-url=https://cloud.google.com/resource-manager/", +- "ruby-cloud-api-id=cloudresourcemanager.googleapis.com", +- "ruby-cloud-api-shortname=cloudresourcemanager", - ], -- grpc_service_config = "recommender_grpc_service_config.json", -- ruby_cloud_description = "Recommender is a service on Google Cloud that provides usage recommendations for Cloud products and services.", -- ruby_cloud_title = "Recommender V1", +- grpc_service_config = "cloudresourcemanager_v3_grpc_service_config.json", +- ruby_cloud_description = "Google Cloud provides container resources such as organizations and projects that allow you to group and hierarchically organize other Google Cloud resources. This hierarchical organization helps you manage common aspects of your resources, such as access control and configuration settings. The Resource Manager API enables you to programmatically manage these container resources.", +- ruby_cloud_title = "Resource Manager V3", - deps = [ -- ":recommender_ruby_grpc", -- ":recommender_ruby_proto", +- ":resourcemanager_ruby_grpc", +- ":resourcemanager_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-recommender-v1-ruby", +- name = "google-cloud-resourcemanager-v3-ruby", - deps = [ -- ":recommender_ruby_gapic", -- ":recommender_ruby_grpc", -- ":recommender_ruby_proto", +- ":resourcemanager_ruby_gapic", +- ":resourcemanager_ruby_grpc", +- ":resourcemanager_ruby_proto", - ], -) - @@ -40206,34 +56884,34 @@ diff -urN a/google/cloud/recommender/v1/BUILD.bazel b/google/cloud/recommender/v -) - -csharp_proto_library( -- name = "recommender_csharp_proto", -- deps = [":recommender_proto"], +- name = "resourcemanager_csharp_proto", +- deps = [":resourcemanager_proto"], -) - -csharp_grpc_library( -- name = "recommender_csharp_grpc", -- srcs = [":recommender_proto"], -- deps = [":recommender_csharp_proto"], +- name = "resourcemanager_csharp_grpc", +- srcs = [":resourcemanager_proto"], +- deps = [":resourcemanager_csharp_proto"], -) - -csharp_gapic_library( -- name = "recommender_csharp_gapic", -- srcs = [":recommender_proto_with_info"], +- name = "resourcemanager_csharp_gapic", +- srcs = [":resourcemanager_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "recommender_grpc_service_config.json", +- grpc_service_config = "cloudresourcemanager_v3_grpc_service_config.json", - deps = [ -- ":recommender_csharp_grpc", -- ":recommender_csharp_proto", +- ":resourcemanager_csharp_grpc", +- ":resourcemanager_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-recommender-v1-csharp", +- name = "google-cloud-resourcemanager-v3-csharp", - deps = [ -- ":recommender_csharp_gapic", -- ":recommender_csharp_grpc", -- ":recommender_csharp_proto", +- ":resourcemanager_csharp_gapic", +- ":resourcemanager_csharp_grpc", +- ":resourcemanager_csharp_proto", - ], -) - @@ -40241,13 +56919,17 @@ diff -urN a/google/cloud/recommender/v1/BUILD.bazel b/google/cloud/recommender/v -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/recommender/v1beta1/BUILD.bazel b/google/cloud/recommender/v1beta1/BUILD.bazel ---- a/google/cloud/recommender/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/recommender/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +diff -urN a/google/cloud/resourcesettings/BUILD.bazel b/google/cloud/resourcesettings/BUILD.bazel +--- a/google/cloud/resourcesettings/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/resourcesettings/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/cloud/resourcesettings/v1/BUILD.bazel b/google/cloud/resourcesettings/v1/BUILD.bazel +--- a/google/cloud/resourcesettings/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/resourcesettings/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,338 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel -- +-# https://github.com/googleapis/rules_gapic/tree/master/bazel -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: -# - names of *_gapic_assembly_* rules @@ -40266,28 +56948,22 @@ diff -urN a/google/cloud/recommender/v1beta1/BUILD.bazel b/google/cloud/recommen -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "recommender_proto", +- name = "resourcesettings_proto", - srcs = [ -- "insight.proto", -- "recommendation.proto", -- "recommender_service.proto", +- "resource_settings.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/type:money_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:struct_proto", -- "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "recommender_proto_with_info", +- name = "resourcesettings_proto_with_info", - deps = [ -- ":recommender_proto", +- ":resourcesettings_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -40305,44 +56981,44 @@ diff -urN a/google/cloud/recommender/v1beta1/BUILD.bazel b/google/cloud/recommen -) - -java_proto_library( -- name = "recommender_java_proto", -- deps = [":recommender_proto"], +- name = "resourcesettings_java_proto", +- deps = [":resourcesettings_proto"], -) - -java_grpc_library( -- name = "recommender_java_grpc", -- srcs = [":recommender_proto"], -- deps = [":recommender_java_proto"], +- name = "resourcesettings_java_grpc", +- srcs = [":resourcesettings_proto"], +- deps = [":resourcesettings_java_proto"], -) - -java_gapic_library( -- name = "recommender_java_gapic", -- srcs = [":recommender_proto_with_info"], -- grpc_service_config = "recommender_grpc_service_config.json", +- name = "resourcesettings_java_gapic", +- srcs = [":resourcesettings_proto_with_info"], +- grpc_service_config = "resourcesettings_grpc_service_config.json", - test_deps = [ -- ":recommender_java_grpc", +- ":resourcesettings_java_grpc", - ], - deps = [ -- ":recommender_java_proto", +- ":resourcesettings_java_proto", - ], -) - -java_gapic_test( -- name = "recommender_java_gapic_test_suite", +- name = "resourcesettings_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.recommender.v1beta1.RecommenderClientTest", +- "com.google.cloud.resourcesettings.v1.ResourceSettingsServiceClientTest", - ], -- runtime_deps = [":recommender_java_gapic_test"], +- runtime_deps = [":resourcesettings_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-recommender-v1beta1-java", +- name = "google-cloud-resourcesettings-v1-java", - deps = [ -- ":recommender_java_gapic", -- ":recommender_java_grpc", -- ":recommender_java_proto", -- ":recommender_proto", +- ":resourcesettings_java_gapic", +- ":resourcesettings_java_grpc", +- ":resourcesettings_java_proto", +- ":resourcesettings_proto", - ], -) - @@ -40358,42 +57034,42 @@ diff -urN a/google/cloud/recommender/v1beta1/BUILD.bazel b/google/cloud/recommen -) - -go_proto_library( -- name = "recommender_go_proto", +- name = "resourcesettings_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/recommender/v1beta1", -- protos = [":recommender_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/resourcesettings/v1", +- protos = [":resourcesettings_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/type:money_go_proto", - ], -) - -go_gapic_library( -- name = "recommender_go_gapic", -- srcs = [":recommender_proto_with_info"], -- grpc_service_config = "recommender_grpc_service_config.json", -- importpath = "cloud.google.com/go/recommender/apiv1beta1;recommender", -- service_yaml = "recommender_v1beta1.yaml", +- name = "resourcesettings_go_gapic", +- srcs = [":resourcesettings_proto_with_info"], +- grpc_service_config = "resourcesettings_grpc_service_config.json", +- importpath = "cloud.google.com/go/resourcesettings/apiv1;resourcesettings", +- metadata = True, +- service_yaml = "resourcesettings_v1.yaml", - deps = [ -- ":recommender_go_proto", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- ":resourcesettings_go_proto", - ], -) - -go_test( -- name = "recommender_go_gapic_test", -- srcs = [":recommender_go_gapic_srcjar_test"], -- embed = [":recommender_go_gapic"], -- importpath = "cloud.google.com/go/recommender/apiv1beta1", +- name = "resourcesettings_go_gapic_test", +- srcs = [":resourcesettings_go_gapic_srcjar_test"], +- embed = [":resourcesettings_go_gapic"], +- importpath = "cloud.google.com/go/resourcesettings/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-recommender-v1beta1-go", +- name = "gapi-cloud-resourcesettings-v1-go", - deps = [ -- ":recommender_go_gapic", -- ":recommender_go_gapic_srcjar-test.srcjar", -- ":recommender_go_proto", +- ":resourcesettings_go_gapic", +- ":resourcesettings_go_gapic_srcjar-metadata.srcjar", +- ":resourcesettings_go_gapic_srcjar-test.srcjar", +- ":resourcesettings_go_proto", - ], -) - @@ -40407,15 +57083,17 @@ diff -urN a/google/cloud/recommender/v1beta1/BUILD.bazel b/google/cloud/recommen -) - -py_gapic_library( -- name = "recommender_py_gapic", -- srcs = [":recommender_proto"], -- grpc_service_config = "recommender_grpc_service_config.json", +- name = "resourcesettings_py_gapic", +- srcs = [":resourcesettings_proto"], +- grpc_service_config = "resourcesettings_grpc_service_config.json", +- opt_args = ["warehouse-package-name=google-cloud-resource-settings"], -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "recommender-v1beta1-py", +- name = "resourcesettings-v1-py", - deps = [ -- ":recommender_py_gapic", +- ":resourcesettings_py_gapic", - ], -) - @@ -40431,36 +57109,34 @@ diff -urN a/google/cloud/recommender/v1beta1/BUILD.bazel b/google/cloud/recommen -) - -php_proto_library( -- name = "recommender_php_proto", -- deps = [":recommender_proto"], +- name = "resourcesettings_php_proto", +- deps = [":resourcesettings_proto"], -) - -php_grpc_library( -- name = "recommender_php_grpc", -- srcs = [":recommender_proto"], -- deps = [":recommender_php_proto"], +- name = "resourcesettings_php_grpc", +- srcs = [":resourcesettings_proto"], +- deps = [":resourcesettings_php_proto"], -) - -php_gapic_library( -- name = "recommender_php_gapic", -- src = ":recommender_proto_with_info", -- gapic_yaml = "recommender_gapic.yaml", -- grpc_service_config = "recommender_grpc_service_config.json", -- package = "google.cloud.recommender.v1beta1", -- service_yaml = "recommender_v1beta1.yaml", +- name = "resourcesettings_php_gapic", +- srcs = [":resourcesettings_proto_with_info"], +- grpc_service_config = "resourcesettings_grpc_service_config.json", +- service_yaml = "resourcesettings_v1.yaml", - deps = [ -- ":recommender_php_grpc", -- ":recommender_php_proto", +- ":resourcesettings_php_grpc", +- ":resourcesettings_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-recommender-v1beta1-php", +- name = "google-cloud-resourcesettings-v1-php", - deps = [ -- ":recommender_php_gapic", -- ":recommender_php_grpc", -- ":recommender_php_proto", +- ":resourcesettings_php_gapic", +- ":resourcesettings_php_grpc", +- ":resourcesettings_php_proto", - ], -) - @@ -40474,20 +57150,21 @@ diff -urN a/google/cloud/recommender/v1beta1/BUILD.bazel b/google/cloud/recommen -) - -nodejs_gapic_library( -- name = "recommender_nodejs_gapic", -- src = ":recommender_proto_with_info", +- name = "resourcesettings_nodejs_gapic", +- package_name = "@google-cloud/resourcesettings", +- src = ":resourcesettings_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "recommender_grpc_service_config.json", -- package = "google.cloud.recommender.v1beta1", -- service_yaml = "recommender_v1beta1.yaml", +- grpc_service_config = "resourcesettings_grpc_service_config.json", +- package = "google.cloud.resourcesettings.v1", +- service_yaml = "resourcesettings_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "recommender-v1beta1-nodejs", +- name = "resourcesettings-v1-nodejs", - deps = [ -- ":recommender_nodejs_gapic", -- ":recommender_proto", +- ":resourcesettings_nodejs_gapic", +- ":resourcesettings_proto", - ], -) - @@ -40496,43 +57173,49 @@ diff -urN a/google/cloud/recommender/v1beta1/BUILD.bazel b/google/cloud/recommen -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "recommender_ruby_proto", -- deps = [":recommender_proto"], +- name = "resourcesettings_ruby_proto", +- deps = [":resourcesettings_proto"], -) - -ruby_grpc_library( -- name = "recommender_ruby_grpc", -- srcs = [":recommender_proto"], -- deps = [":recommender_ruby_proto"], +- name = "resourcesettings_ruby_grpc", +- srcs = [":resourcesettings_proto"], +- deps = [":resourcesettings_ruby_proto"], -) - --ruby_gapic_library( -- name = "recommender_ruby_gapic", -- src = ":recommender_proto_with_info", -- gapic_yaml = "recommender_gapic.yaml", -- grpc_service_config = "recommender_grpc_service_config.json", -- package = "google.cloud.recommender.v1beta1", -- service_yaml = "recommender_v1beta1.yaml", +-ruby_cloud_gapic_library( +- name = "resourcesettings_ruby_gapic", +- srcs = [":resourcesettings_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-resource_settings-v1", +- "ruby-cloud-env-prefix=RESOURCE_SETTINGS", +- "ruby-cloud-product-url=https://cloud.google.com/resource-manager/docs/resource-settings/overview", +- "ruby-cloud-api-id=resourcesettings.googleapis.com", +- "ruby-cloud-api-shortname=resourcesettings", +- ], +- grpc_service_config = "resourcesettings_grpc_service_config.json", +- ruby_cloud_description = "You can use Resource Settings to centrally configure settings for your Google Cloud projects, folders, and organization. These settings are inherited by their descendants in the resource hierarchy. Each setting is created and managed by Google.", +- ruby_cloud_title = "Resource Settings V1", - deps = [ -- ":recommender_ruby_grpc", -- ":recommender_ruby_proto", +- ":resourcesettings_ruby_grpc", +- ":resourcesettings_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-recommender-v1beta1-ruby", +- name = "google-cloud-resourcesettings-v1-ruby", - deps = [ -- ":recommender_ruby_gapic", -- ":recommender_ruby_grpc", -- ":recommender_ruby_proto", +- ":resourcesettings_ruby_gapic", +- ":resourcesettings_ruby_grpc", +- ":resourcesettings_ruby_proto", - ], -) - @@ -40548,34 +57231,34 @@ diff -urN a/google/cloud/recommender/v1beta1/BUILD.bazel b/google/cloud/recommen -) - -csharp_proto_library( -- name = "recommender_csharp_proto", -- deps = [":recommender_proto"], +- name = "resourcesettings_csharp_proto", +- deps = [":resourcesettings_proto"], -) - -csharp_grpc_library( -- name = "recommender_csharp_grpc", -- srcs = [":recommender_proto"], -- deps = [":recommender_csharp_proto"], +- name = "resourcesettings_csharp_grpc", +- srcs = [":resourcesettings_proto"], +- deps = [":resourcesettings_csharp_proto"], -) - -csharp_gapic_library( -- name = "recommender_csharp_gapic", -- srcs = [":recommender_proto_with_info"], +- name = "resourcesettings_csharp_gapic", +- srcs = [":resourcesettings_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "recommender_grpc_service_config.json", +- grpc_service_config = "resourcesettings_grpc_service_config.json", - deps = [ -- ":recommender_csharp_grpc", -- ":recommender_csharp_proto", +- ":resourcesettings_csharp_grpc", +- ":resourcesettings_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-recommender-v1beta1-csharp", +- name = "google-cloud-resourcesettings-v1-csharp", - deps = [ -- ":recommender_csharp_gapic", -- ":recommender_csharp_grpc", -- ":recommender_csharp_proto", +- ":resourcesettings_csharp_gapic", +- ":resourcesettings_csharp_grpc", +- ":resourcesettings_csharp_proto", - ], -) - @@ -40583,344 +57266,331 @@ diff -urN a/google/cloud/recommender/v1beta1/BUILD.bazel b/google/cloud/recommen -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/redis/BUILD.bazel b/google/cloud/redis/BUILD.bazel ---- a/google/cloud/redis/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/redis/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/cloud/redis/v1/BUILD.bazel b/google/cloud/redis/v1/BUILD.bazel ---- a/google/cloud/redis/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/redis/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,336 +0,0 @@ +diff -urN a/google/cloud/retail/v2/BUILD.bazel b/google/cloud/retail/v2/BUILD.bazel +--- a/google/cloud/retail/v2/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/retail/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,328 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - --# This is an API workspace, having public visibility by default makes perfect sense. --package(default_visibility = ["//visibility:public"]) +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") --load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +- "moved_proto_library", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +- "proto_library_with_info", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +- "py_grpc_library", +- "py_proto_library", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) - -proto_library( -- name = "redis_proto", +- name = "retail_proto", - srcs = [ -- "cloud_redis.proto", +- "catalog.proto", +- "catalog_service.proto", +- "common.proto", +- "import_config.proto", +- "prediction_service.proto", +- "product.proto", +- "product_service.proto", +- "purge_config.proto", +- "user_event.proto", +- "user_event_service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", +- "//google/api:httpbody_proto", - "//google/api:resource_proto", - "//google/longrunning:operations_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "redis_proto_with_info", +- name = "retail_proto_with_info", - deps = [ -- ":redis_proto", +- ":retail_proto", - "//google/cloud:common_resources_proto", - ], -) - --############################################################################## --# Java --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", -- "java_grpc_library", -- "java_proto_library", --) -- --java_proto_library( -- name = "redis_java_proto", -- deps = [":redis_proto"], +-java_proto_library( +- name = "retail_java_proto", +- deps = [":retail_proto"], -) - -java_grpc_library( -- name = "redis_java_grpc", -- srcs = [":redis_proto"], -- deps = [":redis_java_proto"], +- name = "retail_java_grpc", +- srcs = [":retail_proto"], +- deps = [":retail_java_proto"], -) - -java_gapic_library( -- name = "redis_java_gapic", -- srcs = [":redis_proto_with_info"], -- gapic_yaml = "redis_gapic.yaml", -- grpc_service_config = "redis_grpc_service_config.json", +- name = "retail_java_gapic", +- srcs = [":retail_proto_with_info"], +- grpc_service_config = "retail_grpc_service_config.json", - test_deps = [ -- ":redis_java_grpc", +- ":retail_java_grpc", - ], - deps = [ -- ":redis_java_proto", +- ":retail_java_proto", +- "//google/api:api_java_proto", - ], -) - -java_gapic_test( -- name = "redis_java_gapic_test_suite", +- name = "retail_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.redis.v1.CloudRedisClientTest", +- "com.google.cloud.retail.v2.CatalogServiceClientTest", +- "com.google.cloud.retail.v2.PredictionServiceClientTest", +- "com.google.cloud.retail.v2.ProductServiceClientTest", +- "com.google.cloud.retail.v2.UserEventServiceClientTest", - ], -- runtime_deps = [":redis_java_gapic_test"], +- runtime_deps = [":retail_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-redis-v1-java", +- name = "google-cloud-retail-v2-java", - deps = [ -- ":redis_java_gapic", -- ":redis_java_grpc", -- ":redis_java_proto", -- ":redis_proto", +- ":retail_java_gapic", +- ":retail_java_grpc", +- ":retail_java_proto", +- ":retail_proto", - ], -) - --############################################################################## --# Go --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "go_gapic_assembly_pkg", -- "go_gapic_library", -- "go_proto_library", -- "go_test", --) -- -go_proto_library( -- name = "redis_go_proto", +- name = "retail_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/redis/v1", -- protos = [":redis_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/retail/v2", +- protos = [":retail_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/api:httpbody_go_proto", - "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", - ], -) - -go_gapic_library( -- name = "redis_go_gapic", -- srcs = [":redis_proto_with_info"], -- grpc_service_config = "redis_grpc_service_config.json", -- importpath = "cloud.google.com/go/redis/apiv1;redis", -- service_yaml = "redis_v1.yaml", +- name = "retail_go_gapic", +- srcs = [":retail_proto_with_info"], +- grpc_service_config = "retail_grpc_service_config.json", +- importpath = "cloud.google.com/go/retail/apiv2;retail", +- service_yaml = "retail_v2.yaml", - deps = [ -- ":redis_go_proto", +- ":retail_go_proto", +- "//google/api:httpbody_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- "@io_bazel_rules_go//proto/wkt:struct_go_proto", - ], -) - -go_test( -- name = "redis_go_gapic_test", -- srcs = [":redis_go_gapic_srcjar_test"], -- embed = [":redis_go_gapic"], -- importpath = "cloud.google.com/go/redis/apiv1", +- name = "retail_go_gapic_test", +- srcs = [":retail_go_gapic_srcjar_test"], +- embed = [":retail_go_gapic"], +- importpath = "cloud.google.com/go/retail/apiv2", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-redis-v1-go", +- name = "gapi-cloud-retail-v2-go", - deps = [ -- ":redis_go_gapic", -- ":redis_go_gapic_srcjar-test.srcjar", -- ":redis_go_proto", +- ":retail_go_gapic", +- ":retail_go_gapic_srcjar-test.srcjar", +- ":retail_go_proto", - ], -) - -############################################################################## -# Python -############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "py_gapic_assembly_pkg", -- "py_gapic_library", --) - -py_gapic_library( -- name = "redis_py_gapic", -- srcs = [":redis_proto"], -- grpc_service_config = "redis_grpc_service_config.json", +- name = "retail_py_gapic", +- srcs = [":retail_proto"], +- grpc_service_config = "retail_grpc_service_config.json", -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "redis-v1-py", +- name = "retail-v2-py", - deps = [ -- ":redis_py_gapic", +- ":retail_py_gapic", - ], -) - --############################################################################## --# PHP --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "php_gapic_assembly_pkg", -- "php_gapic_library", -- "php_grpc_library", -- "php_proto_library", --) -- -php_proto_library( -- name = "redis_php_proto", -- deps = [":redis_proto"], +- name = "retail_php_proto", +- deps = [":retail_proto"], -) - -php_grpc_library( -- name = "redis_php_grpc", -- srcs = [":redis_proto"], -- deps = [":redis_php_proto"], +- name = "retail_php_grpc", +- srcs = [":retail_proto"], +- deps = [":retail_php_proto"], -) - -php_gapic_library( -- name = "redis_php_gapic", -- src = ":redis_proto_with_info", -- gapic_yaml = "redis_gapic.yaml", -- grpc_service_config = "redis_grpc_service_config.json", -- package = "google.cloud.redis.v1", -- service_yaml = "redis_v1.yaml", +- name = "retail_php_gapic", +- srcs = [":retail_proto_with_info"], +- grpc_service_config = "retail_grpc_service_config.json", +- service_yaml = "retail_v2.yaml", - deps = [ -- ":redis_php_grpc", -- ":redis_php_proto", +- ":retail_php_grpc", +- ":retail_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-redis-v1-php", +- name = "google-cloud-retail-v2-php", - deps = [ -- ":redis_php_gapic", -- ":redis_php_grpc", -- ":redis_php_proto", +- ":retail_php_gapic", +- ":retail_php_grpc", +- ":retail_php_proto", - ], -) - --############################################################################## --# Node.js --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "nodejs_gapic_assembly_pkg", -- "nodejs_gapic_library", --) -- -nodejs_gapic_library( -- name = "redis_nodejs_gapic", -- package_name = "@google-cloud/redis", -- src = ":redis_proto_with_info", +- name = "retail_nodejs_gapic", +- package_name = "@google-cloud/retail", +- src = ":retail_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "redis_grpc_service_config.json", -- package = "google.cloud.redis.v1", -- service_yaml = "redis_v1.yaml", +- grpc_service_config = "retail_grpc_service_config.json", +- package = "google.cloud.retail.v2", +- service_yaml = "retail_v2.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "redis-v1-nodejs", +- name = "retail-v2-nodejs", - deps = [ -- ":redis_nodejs_gapic", -- ":redis_proto", +- ":retail_nodejs_gapic", +- ":retail_proto", - ], -) - --############################################################################## --# Ruby --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", -- "ruby_cloud_gapic_library", -- "ruby_grpc_library", -- "ruby_proto_library", --) -- -ruby_proto_library( -- name = "redis_ruby_proto", -- deps = [":redis_proto"], +- name = "retail_ruby_proto", +- deps = [":retail_proto"], -) - -ruby_grpc_library( -- name = "redis_ruby_grpc", -- srcs = [":redis_proto"], -- deps = [":redis_ruby_proto"], +- name = "retail_ruby_grpc", +- srcs = [":retail_proto"], +- deps = [":retail_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "redis_ruby_gapic", -- srcs = [":redis_proto_with_info"], +- name = "retail_ruby_gapic", +- srcs = [":retail_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-redis-v1", -- "ruby-cloud-env-prefix=REDIS", -- "ruby-cloud-product-url=https://cloud.google.com/memorystore/docs/redis", -- "ruby-cloud-api-id=redis.googleapis.com", -- "ruby-cloud-api-shortname=redis", +- "ruby-cloud-gem-name=google-cloud-retail-v2", +- "ruby-cloud-env-prefix=RETAIL", +- "ruby-cloud-product-url=https://cloud.google.com/retail/docs/apis", +- "ruby-cloud-api-id=retail.googleapis.com", +- "ruby-cloud-api-shortname=retail", - ], -- grpc_service_config = "redis_grpc_service_config.json", -- ruby_cloud_description = "Creates and manages Redis instances on the Google Cloud Platform.", -- ruby_cloud_title = "Google Cloud Memorystore for Redis V1", +- grpc_service_config = "retail_grpc_service_config.json", +- ruby_cloud_description = "Retail enables you to build an end-to-end personalized recommendation system based on state-of-the-art deep learning ML models, without a need for expertise in ML or recommendation systems.", +- ruby_cloud_title = "Retail V2", - deps = [ -- ":redis_ruby_grpc", -- ":redis_ruby_proto", +- ":retail_ruby_grpc", +- ":retail_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-redis-v1-ruby", +- name = "google-cloud-retail-v2-ruby", - deps = [ -- ":redis_ruby_gapic", -- ":redis_ruby_grpc", -- ":redis_ruby_proto", +- ":retail_ruby_gapic", +- ":retail_ruby_grpc", +- ":retail_ruby_proto", - ], -) - --############################################################################## --# C# --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", -- "csharp_grpc_library", -- "csharp_proto_library", --) -- -csharp_proto_library( -- name = "redis_csharp_proto", -- deps = [":redis_proto"], +- name = "retail_csharp_proto", +- deps = [":retail_proto"], -) - -csharp_grpc_library( -- name = "redis_csharp_grpc", -- srcs = [":redis_proto"], -- deps = [":redis_csharp_proto"], +- name = "retail_csharp_grpc", +- srcs = [":retail_proto"], +- deps = [":retail_csharp_proto"], -) - -csharp_gapic_library( -- name = "redis_csharp_gapic", -- srcs = [":redis_proto_with_info"], +- name = "retail_csharp_gapic", +- srcs = [":retail_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "redis_grpc_service_config.json", +- grpc_service_config = "retail_grpc_service_config.json", - deps = [ -- ":redis_csharp_grpc", -- ":redis_csharp_proto", +- ":retail_csharp_grpc", +- ":retail_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-redis-v1-csharp", +- name = "google-cloud-retail-v2-csharp", - deps = [ -- ":redis_csharp_gapic", -- ":redis_csharp_grpc", -- ":redis_csharp_proto", +- ":retail_csharp_gapic", +- ":retail_csharp_grpc", +- ":retail_csharp_proto", - ], -) - @@ -40928,340 +57598,316 @@ diff -urN a/google/cloud/redis/v1/BUILD.bazel b/google/cloud/redis/v1/BUILD.baze -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/redis/v1beta1/BUILD.bazel b/google/cloud/redis/v1beta1/BUILD.bazel ---- a/google/cloud/redis/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/redis/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,337 +0,0 @@ +diff -urN a/google/cloud/retail/v2alpha/BUILD.bazel b/google/cloud/retail/v2alpha/BUILD.bazel +--- a/google/cloud/retail/v2alpha/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/retail/v2alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,313 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - --# This is an API workspace, having public visibility by default makes perfect sense. --package(default_visibility = ["//visibility:public"]) +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") --load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +- "proto_library_with_info", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", +- "ruby_grpc_library", +- "ruby_proto_library", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) - -proto_library( -- name = "redis_proto", +- name = "retail_proto", - srcs = [ -- "cloud_redis.proto", +- "catalog.proto", +- "catalog_service.proto", +- "common.proto", +- "import_config.proto", +- "prediction_service.proto", +- "product.proto", +- "product_service.proto", +- "purge_config.proto", +- "user_event.proto", +- "user_event_service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", +- "//google/api:httpbody_proto", - "//google/api:resource_proto", - "//google/longrunning:operations_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "redis_proto_with_info", +- name = "retail_proto_with_info", - deps = [ -- ":redis_proto", +- ":retail_proto", - "//google/cloud:common_resources_proto", - ], -) - --############################################################################## --# Java --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", -- "java_grpc_library", -- "java_proto_library", --) -- -java_proto_library( -- name = "redis_java_proto", -- deps = [":redis_proto"], +- name = "retail_java_proto", +- deps = [":retail_proto"], -) - -java_grpc_library( -- name = "redis_java_grpc", -- srcs = [":redis_proto"], -- deps = [":redis_java_proto"], +- name = "retail_java_grpc", +- srcs = [":retail_proto"], +- deps = [":retail_java_proto"], -) - -java_gapic_library( -- name = "redis_java_gapic", -- srcs = [":redis_proto_with_info"], -- gapic_yaml = "redis_gapic.yaml", -- grpc_service_config = "redis_grpc_service_config.json", +- name = "retail_java_gapic", +- srcs = [":retail_proto_with_info"], +- grpc_service_config = "retail_grpc_service_config.json", - test_deps = [ -- ":redis_java_grpc", +- ":retail_java_grpc", - ], - deps = [ -- ":redis_java_proto", +- ":retail_java_proto", +- "//google/api:api_java_proto", - ], -) - -java_gapic_test( -- name = "redis_java_gapic_test_suite", +- name = "retail_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.redis.v1beta1.CloudRedisClientTest", +- "com.google.cloud.retail.v2alpha.CatalogServiceClientTest", +- "com.google.cloud.retail.v2alpha.PredictionServiceClientTest", +- "com.google.cloud.retail.v2alpha.ProductServiceClientTest", +- "com.google.cloud.retail.v2alpha.UserEventServiceClientTest", - ], -- runtime_deps = [":redis_java_gapic_test"], +- runtime_deps = [":retail_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-redis-v1beta1-java", +- name = "google-cloud-retail-v2alpha-java", - deps = [ -- ":redis_java_gapic", -- ":redis_java_grpc", -- ":redis_java_proto", -- ":redis_proto", +- ":retail_java_gapic", +- ":retail_java_grpc", +- ":retail_java_proto", +- ":retail_proto", - ], -) - --############################################################################## --# Go --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "go_gapic_assembly_pkg", -- "go_gapic_library", -- "go_proto_library", -- "go_test", --) -- -go_proto_library( -- name = "redis_go_proto", +- name = "retail_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/redis/v1beta1", -- protos = [":redis_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/retail/v2alpha", +- protos = [":retail_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/api:httpbody_go_proto", - "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", - ], -) - -go_gapic_library( -- name = "redis_go_gapic", -- srcs = [":redis_proto_with_info"], -- grpc_service_config = "redis_grpc_service_config.json", -- importpath = "cloud.google.com/go/redis/apiv1beta1;redis", -- service_yaml = "redis_v1beta1.yaml", +- name = "retail_go_gapic", +- srcs = [":retail_proto_with_info"], +- grpc_service_config = "retail_grpc_service_config.json", +- importpath = "cloud.google.com/go/retail/apiv2alpha;retail", +- service_yaml = "retail_v2alpha.yaml", - deps = [ -- ":redis_go_proto", +- ":retail_go_proto", +- "//google/api:httpbody_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:any_go_proto", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- "@io_bazel_rules_go//proto/wkt:struct_go_proto", - ], -) - -go_test( -- name = "redis_go_gapic_test", -- srcs = [":redis_go_gapic_srcjar_test"], -- embed = [":redis_go_gapic"], -- importpath = "cloud.google.com/go/redis/apiv1beta1", +- name = "retail_go_gapic_test", +- srcs = [":retail_go_gapic_srcjar_test"], +- embed = [":retail_go_gapic"], +- importpath = "cloud.google.com/go/retail/apiv2alpha", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-redis-v1beta1-go", +- name = "gapi-cloud-retail-v2alpha-go", - deps = [ -- ":redis_go_gapic", -- ":redis_go_gapic_srcjar-test.srcjar", -- ":redis_go_proto", +- ":retail_go_gapic", +- ":retail_go_gapic_srcjar-test.srcjar", +- ":retail_go_proto", - ], -) - --############################################################################## --# Python --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "py_gapic_assembly_pkg", -- "py_gapic_library", --) -- -py_gapic_library( -- name = "redis_py_gapic", -- srcs = [":redis_proto"], -- grpc_service_config = "redis_grpc_service_config.json", +- name = "retail_py_gapic", +- srcs = [":retail_proto"], +- grpc_service_config = "retail_grpc_service_config.json", -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "redis-v1beta1-py", +- name = "retail-v2alpha-py", - deps = [ -- ":redis_py_gapic", +- ":retail_py_gapic", - ], -) - --############################################################################## --# PHP --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "php_gapic_assembly_pkg", -- "php_gapic_library", -- "php_grpc_library", -- "php_proto_library", --) -- -php_proto_library( -- name = "redis_php_proto", -- deps = [":redis_proto"], +- name = "retail_php_proto", +- deps = [":retail_proto"], -) - -php_grpc_library( -- name = "redis_php_grpc", -- srcs = [":redis_proto"], -- deps = [":redis_php_proto"], +- name = "retail_php_grpc", +- srcs = [":retail_proto"], +- deps = [":retail_php_proto"], -) - -php_gapic_library( -- name = "redis_php_gapic", -- src = ":redis_proto_with_info", -- gapic_yaml = "redis_gapic.yaml", -- grpc_service_config = "redis_grpc_service_config.json", -- package = "google.cloud.redis.v1beta1", -- service_yaml = "redis_v1beta1.yaml", +- name = "retail_php_gapic", +- srcs = [":retail_proto_with_info"], +- grpc_service_config = "retail_grpc_service_config.json", +- service_yaml = "retail_v2alpha.yaml", - deps = [ -- ":redis_php_grpc", -- ":redis_php_proto", +- ":retail_php_grpc", +- ":retail_php_proto", - ], -) - -# Open Source Packages --php_gapic_assembly_pkg( -- name = "google-cloud-redis-v1beta1-php", -- deps = [ -- ":redis_php_gapic", -- ":redis_php_grpc", -- ":redis_php_proto", -- ], --) -- --############################################################################## --# Node.js --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "nodejs_gapic_assembly_pkg", -- "nodejs_gapic_library", +-php_gapic_assembly_pkg( +- name = "google-cloud-retail-v2alpha-php", +- deps = [ +- ":retail_php_gapic", +- ":retail_php_grpc", +- ":retail_php_proto", +- ], -) - -nodejs_gapic_library( -- name = "redis_nodejs_gapic", -- package_name = "@google-cloud/redis", -- src = ":redis_proto_with_info", +- name = "retail_nodejs_gapic", +- package_name = "@google-cloud/retail", +- src = ":retail_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "redis_grpc_service_config.json", -- package = "google.cloud.redis.v1beta1", -- service_yaml = "redis_v1beta1.yaml", +- grpc_service_config = "retail_grpc_service_config.json", +- package = "google.cloud.retail.v2alpha", +- service_yaml = "retail_v2alpha.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "redis-v1beta1-nodejs", +- name = "retail-v2alpha-nodejs", - deps = [ -- ":redis_nodejs_gapic", -- ":redis_proto", +- ":retail_nodejs_gapic", +- ":retail_proto", - ], -) - --############################################################################## --# Ruby --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", -- "ruby_cloud_gapic_library", -- "ruby_grpc_library", -- "ruby_proto_library", --) -- -ruby_proto_library( -- name = "redis_ruby_proto", -- deps = [":redis_proto"], +- name = "retail_ruby_proto", +- deps = [":retail_proto"], -) - -ruby_grpc_library( -- name = "redis_ruby_grpc", -- srcs = [":redis_proto"], -- deps = [":redis_ruby_proto"], +- name = "retail_ruby_grpc", +- srcs = [":retail_proto"], +- deps = [":retail_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "redis_ruby_gapic", -- srcs = [":redis_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-redis-v1beta1", -- "ruby-cloud-env-prefix=REDIS", -- "ruby-cloud-product-url=https://cloud.google.com/memorystore/docs/redis", -- "ruby-cloud-api-id=redis.googleapis.com", -- "ruby-cloud-api-shortname=redis", -- ], -- grpc_service_config = "redis_grpc_service_config.json", -- ruby_cloud_description = "Creates and manages Redis instances on the Google Cloud Platform.", -- ruby_cloud_title = "Google Cloud Memorystore for Redis V1beta1", +- name = "retail_ruby_gapic", +- srcs = [":retail_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-retail-v2alpha"], +- grpc_service_config = "retail_grpc_service_config.json", - deps = [ -- ":redis_ruby_grpc", -- ":redis_ruby_proto", +- ":retail_ruby_grpc", +- ":retail_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-redis-v1beta1-ruby", +- name = "google-cloud-retail-v2alpha-ruby", - deps = [ -- ":redis_ruby_gapic", -- ":redis_ruby_grpc", -- ":redis_ruby_proto", +- ":retail_ruby_gapic", +- ":retail_ruby_grpc", +- ":retail_ruby_proto", - ], -) - --############################################################################## --# C# --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", -- "csharp_grpc_library", -- "csharp_proto_library", --) -- -csharp_proto_library( -- name = "redis_csharp_proto", -- deps = [":redis_proto"], +- name = "retail_csharp_proto", +- deps = [":retail_proto"], -) - -csharp_grpc_library( -- name = "redis_csharp_grpc", -- srcs = [":redis_proto"], -- deps = [":redis_csharp_proto"], +- name = "retail_csharp_grpc", +- srcs = [":retail_proto"], +- deps = [":retail_csharp_proto"], -) - -csharp_gapic_library( -- name = "redis_csharp_gapic", -- srcs = [":redis_proto_with_info"], +- name = "retail_csharp_gapic", +- srcs = [":retail_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "redis_grpc_service_config.json", +- grpc_service_config = "retail_grpc_service_config.json", - deps = [ -- ":redis_csharp_grpc", -- ":redis_csharp_proto", +- ":retail_csharp_grpc", +- ":retail_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-redis-v1beta1-csharp", +- name = "google-cloud-retail-v2alpha-csharp", - deps = [ -- ":redis_csharp_gapic", -- ":redis_csharp_grpc", -- ":redis_csharp_proto", +- ":retail_csharp_gapic", +- ":retail_csharp_grpc", +- ":retail_csharp_proto", - ], -) - @@ -41269,194 +57915,327 @@ diff -urN a/google/cloud/redis/v1beta1/BUILD.bazel b/google/cloud/redis/v1beta1/ -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/resourcemanager/v2/BUILD.bazel b/google/cloud/resourcemanager/v2/BUILD.bazel ---- a/google/cloud/resourcemanager/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/resourcemanager/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,175 +0,0 @@ +diff -urN a/google/cloud/retail/v2beta/BUILD.bazel b/google/cloud/retail/v2beta/BUILD.bazel +--- a/google/cloud/retail/v2beta/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/retail/v2beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,313 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - --# This is an API workspace, having public visibility by default makes perfect sense. --package(default_visibility = ["//visibility:public"]) +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") --load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +- "proto_library_with_info", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", +- "ruby_grpc_library", +- "ruby_proto_library", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) - -proto_library( -- name = "resourcemanager_proto", +- name = "retail_proto", - srcs = [ -- "folders.proto", +- "catalog.proto", +- "catalog_service.proto", +- "common.proto", +- "import_config.proto", +- "prediction_service.proto", +- "product.proto", +- "product_service.proto", +- "purge_config.proto", +- "user_event.proto", +- "user_event_service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", +- "//google/api:httpbody_proto", - "//google/api:resource_proto", -- "//google/iam/v1:iam_policy_proto", -- "//google/iam/v1:policy_proto", - "//google/longrunning:operations_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "resourcemanager_proto_with_info", +- name = "retail_proto_with_info", - deps = [ -- ":resourcemanager_proto", +- ":retail_proto", - "//google/cloud:common_resources_proto", - ], -) - --############################################################################## --# Java --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "java_grpc_library", -- "java_proto_library", --) -- -java_proto_library( -- name = "resourcemanager_java_proto", -- deps = [":resourcemanager_proto"], +- name = "retail_java_proto", +- deps = [":retail_proto"], -) - -java_grpc_library( -- name = "resourcemanager_java_grpc", -- srcs = [":resourcemanager_proto"], -- deps = [":resourcemanager_java_proto"], +- name = "retail_java_grpc", +- srcs = [":retail_proto"], +- deps = [":retail_java_proto"], -) - --############################################################################# --# Go --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "go_proto_library", -- "go_test", +-java_gapic_library( +- name = "retail_java_gapic", +- srcs = [":retail_proto_with_info"], +- grpc_service_config = "retail_grpc_service_config.json", +- test_deps = [ +- ":retail_java_grpc", +- ], +- deps = [ +- ":retail_java_proto", +- "//google/api:api_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "retail_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.retail.v2beta.CatalogServiceClientTest", +- "com.google.cloud.retail.v2beta.PredictionServiceClientTest", +- "com.google.cloud.retail.v2beta.ProductServiceClientTest", +- "com.google.cloud.retail.v2beta.UserEventServiceClientTest", +- ], +- runtime_deps = [":retail_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-retail-v2beta-java", +- deps = [ +- ":retail_java_gapic", +- ":retail_java_grpc", +- ":retail_java_proto", +- ":retail_proto", +- ], -) - -go_proto_library( -- name = "resourcemanager_go_proto", +- name = "retail_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/resourcemanager/v2", -- protos = [":resourcemanager_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/retail/v2beta", +- protos = [":retail_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/iam/v1:iam_go_proto", +- "//google/api:httpbody_go_proto", - "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", - ], -) - --############################################################################## --# Python --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", -- "py_grpc_library", -- "py_proto_library", --) -- --moved_proto_library( -- name = "resourcemanager_moved_proto", -- srcs = [":resourcemanager_proto"], +-go_gapic_library( +- name = "retail_go_gapic", +- srcs = [":retail_proto_with_info"], +- grpc_service_config = "retail_grpc_service_config.json", +- importpath = "cloud.google.com/go/retail/apiv2beta;retail", +- service_yaml = "retail_v2beta.yaml", - deps = [ -- "//google/api:annotations_proto", -- "//google/api:client_proto", -- "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/iam/v1:iam_policy_proto", -- "//google/iam/v1:policy_proto", -- "//google/longrunning:operations_proto", -- "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:timestamp_proto", +- ":retail_go_proto", +- "//google/api:httpbody_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- "@io_bazel_rules_go//proto/wkt:struct_go_proto", - ], -) - --py_proto_library( -- name = "resourcemanager_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":resourcemanager_moved_proto"], +-go_test( +- name = "retail_go_gapic_test", +- srcs = [":retail_go_gapic_srcjar_test"], +- embed = [":retail_go_gapic"], +- importpath = "cloud.google.com/go/retail/apiv2beta", -) - --py_grpc_library( -- name = "resourcemanager_py_grpc", -- srcs = [":resourcemanager_moved_proto"], -- deps = [":resourcemanager_py_proto"], +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-retail-v2beta-go", +- deps = [ +- ":retail_go_gapic", +- ":retail_go_gapic_srcjar-test.srcjar", +- ":retail_go_proto", +- ], -) - --############################################################################## --# PHP --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "php_grpc_library", -- "php_proto_library", +-py_gapic_library( +- name = "retail_py_gapic", +- srcs = [":retail_proto"], +- grpc_service_config = "retail_grpc_service_config.json", +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "retail-v2beta-py", +- deps = [ +- ":retail_py_gapic", +- ], -) - -php_proto_library( -- name = "resourcemanager_php_proto", -- deps = [":resourcemanager_proto"], +- name = "retail_php_proto", +- deps = [":retail_proto"], -) - -php_grpc_library( -- name = "resourcemanager_php_grpc", -- srcs = [":resourcemanager_proto"], -- deps = [":resourcemanager_php_proto"], +- name = "retail_php_grpc", +- srcs = [":retail_proto"], +- deps = [":retail_php_proto"], -) - --############################################################################## --# Ruby --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "ruby_grpc_library", -- "ruby_proto_library", +-php_gapic_library( +- name = "retail_php_gapic", +- srcs = [":retail_proto_with_info"], +- grpc_service_config = "retail_grpc_service_config.json", +- service_yaml = "retail_v2beta.yaml", +- deps = [ +- ":retail_php_grpc", +- ":retail_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-retail-v2beta-php", +- deps = [ +- ":retail_php_gapic", +- ":retail_php_grpc", +- ":retail_php_proto", +- ], +-) +- +-nodejs_gapic_library( +- name = "retail_nodejs_gapic", +- package_name = "@google-cloud/retail", +- src = ":retail_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "retail_grpc_service_config.json", +- package = "google.cloud.retail.v2beta", +- service_yaml = "retail_v2beta.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "retail-v2beta-nodejs", +- deps = [ +- ":retail_nodejs_gapic", +- ":retail_proto", +- ], -) - -ruby_proto_library( -- name = "resourcemanager_ruby_proto", -- deps = [":resourcemanager_proto"], +- name = "retail_ruby_proto", +- deps = [":retail_proto"], -) - -ruby_grpc_library( -- name = "resourcemanager_ruby_grpc", -- srcs = [":resourcemanager_proto"], -- deps = [":resourcemanager_ruby_proto"], +- name = "retail_ruby_grpc", +- srcs = [":retail_proto"], +- deps = [":retail_ruby_proto"], -) - --############################################################################## --# C# --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "csharp_grpc_library", -- "csharp_proto_library", +-ruby_cloud_gapic_library( +- name = "retail_ruby_gapic", +- srcs = [":retail_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-retail-v2beta"], +- grpc_service_config = "retail_grpc_service_config.json", +- deps = [ +- ":retail_ruby_grpc", +- ":retail_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-retail-v2beta-ruby", +- deps = [ +- ":retail_ruby_gapic", +- ":retail_ruby_grpc", +- ":retail_ruby_proto", +- ], -) - -csharp_proto_library( -- name = "resourcemanager_csharp_proto", -- deps = [":resourcemanager_proto"], +- name = "retail_csharp_proto", +- deps = [":retail_proto"], -) - -csharp_grpc_library( -- name = "resourcemanager_csharp_grpc", -- srcs = [":resourcemanager_proto"], -- deps = [":resourcemanager_csharp_proto"], +- name = "retail_csharp_grpc", +- srcs = [":retail_proto"], +- deps = [":retail_csharp_proto"], -) -diff -urN a/google/cloud/resourcesettings/BUILD.bazel b/google/cloud/resourcesettings/BUILD.bazel ---- a/google/cloud/resourcesettings/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/resourcesettings/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/cloud/resourcesettings/v1/BUILD.bazel b/google/cloud/resourcesettings/v1/BUILD.bazel ---- a/google/cloud/resourcesettings/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/resourcesettings/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,172 +0,0 @@ +- +-csharp_gapic_library( +- name = "retail_csharp_gapic", +- srcs = [":retail_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "retail_grpc_service_config.json", +- deps = [ +- ":retail_csharp_grpc", +- ":retail_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-retail-v2beta-csharp", +- deps = [ +- ":retail_csharp_gapic", +- ":retail_csharp_grpc", +- ":retail_csharp_proto", +- ], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel b/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel +--- a/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,155 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -41468,18 +58247,11 @@ diff -urN a/google/cloud/resourcesettings/v1/BUILD.bazel b/google/cloud/resource -load("@rules_proto//proto:defs.bzl", "proto_library") - -proto_library( -- name = "resourcesettings_proto", +- name = "logs_proto", - srcs = [ -- "resource_settings.proto", -- ], -- deps = [ -- "//google/api:annotations_proto", -- "//google/api:client_proto", -- "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:timestamp_proto", +- "saas_instance_payload.proto", - ], +- deps = [], -) - -############################################################################## @@ -41492,14 +58264,14 @@ diff -urN a/google/cloud/resourcesettings/v1/BUILD.bazel b/google/cloud/resource -) - -java_proto_library( -- name = "resourcesettings_java_proto", -- deps = [":resourcesettings_proto"], +- name = "logs_java_proto", +- deps = [":logs_proto"], -) - -java_grpc_library( -- name = "resourcesettings_java_grpc", -- srcs = [":resourcesettings_proto"], -- deps = [":resourcesettings_java_proto"], +- name = "logs_java_grpc", +- srcs = [":logs_proto"], +- deps = [":logs_java_proto"], -) - -############################################################################## @@ -41511,13 +58283,11 @@ diff -urN a/google/cloud/resourcesettings/v1/BUILD.bazel b/google/cloud/resource -) - -go_proto_library( -- name = "resourcesettings_go_proto", +- name = "logs_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/resourcesettings/v1", -- protos = [":resourcesettings_proto"], -- deps = [ -- "//google/api:annotations_go_proto", -- ], +- importpath = "google.golang.org/genproto/googleapis/cloud/saasaccelerator/management/logs/v1", +- protos = [":logs_proto"], +- deps = [], -) - -############################################################################## @@ -41531,28 +58301,20 @@ diff -urN a/google/cloud/resourcesettings/v1/BUILD.bazel b/google/cloud/resource -) - -moved_proto_library( -- name = "resourcesettings_moved_proto", -- srcs = [":resourcesettings_proto"], -- deps = [ -- "//google/api:annotations_proto", -- "//google/api:client_proto", -- "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:timestamp_proto", -- ], +- name = "logs_moved_proto", +- srcs = [":logs_proto"], +- deps = [], -) - -py_proto_library( -- name = "resourcesettings_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":resourcesettings_moved_proto"], +- name = "logs_py_proto", +- deps = [":logs_moved_proto"], -) - -py_grpc_library( -- name = "resourcesettings_py_grpc", -- srcs = [":resourcesettings_moved_proto"], -- deps = [":resourcesettings_py_proto"], +- name = "logs_py_grpc", +- srcs = [":logs_moved_proto"], +- deps = [":logs_py_proto"], -) - -############################################################################## @@ -41565,14 +58327,14 @@ diff -urN a/google/cloud/resourcesettings/v1/BUILD.bazel b/google/cloud/resource -) - -php_proto_library( -- name = "resourcesettings_php_proto", -- deps = [":resourcesettings_proto"], +- name = "logs_php_proto", +- deps = [":logs_proto"], -) - -php_grpc_library( -- name = "resourcesettings_php_grpc", -- srcs = [":resourcesettings_proto"], -- deps = [":resourcesettings_php_proto"], +- name = "logs_php_grpc", +- srcs = [":logs_proto"], +- deps = [":logs_php_proto"], -) - -############################################################################## @@ -41595,14 +58357,14 @@ diff -urN a/google/cloud/resourcesettings/v1/BUILD.bazel b/google/cloud/resource -) - -ruby_proto_library( -- name = "resourcesettings_ruby_proto", -- deps = [":resourcesettings_proto"], +- name = "logs_ruby_proto", +- deps = [":logs_proto"], -) - -ruby_grpc_library( -- name = "resourcesettings_ruby_grpc", -- srcs = [":resourcesettings_proto"], -- deps = [":resourcesettings_ruby_proto"], +- name = "logs_ruby_grpc", +- srcs = [":logs_proto"], +- deps = [":logs_ruby_proto"], -) - -############################################################################## @@ -41615,347 +58377,357 @@ diff -urN a/google/cloud/resourcesettings/v1/BUILD.bazel b/google/cloud/resource -) - -csharp_proto_library( -- name = "resourcesettings_csharp_proto", -- deps = [":resourcesettings_proto"], +- name = "logs_csharp_proto", +- deps = [":logs_proto"], -) - -csharp_grpc_library( -- name = "resourcesettings_csharp_grpc", -- srcs = [":resourcesettings_proto"], -- deps = [":resourcesettings_csharp_proto"], +- name = "logs_csharp_grpc", +- srcs = [":logs_proto"], +- deps = [":logs_csharp_proto"], -) - -############################################################################## -# C++ -############################################################################## -# Put your C++ code here -diff -urN a/google/cloud/retail/v2/BUILD.bazel b/google/cloud/retail/v2/BUILD.bazel ---- a/google/cloud/retail/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/retail/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,330 +0,0 @@ +diff -urN a/google/cloud/scheduler/BUILD.bazel b/google/cloud/scheduler/BUILD.bazel +--- a/google/cloud/scheduler/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/scheduler/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/cloud/scheduler/v1/BUILD.bazel b/google/cloud/scheduler/v1/BUILD.bazel +--- a/google/cloud/scheduler/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/scheduler/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,335 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", -- "csharp_grpc_library", -- "csharp_proto_library", -- "go_gapic_assembly_pkg", -- "go_gapic_library", -- "go_proto_library", -- "go_test", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", -- "java_grpc_library", -- "java_proto_library", -- "moved_proto_library", -- "nodejs_gapic_assembly_pkg", -- "nodejs_gapic_library", -- "php_gapic_assembly_pkg", -- "php_gapic_library", -- "php_grpc_library", -- "php_proto_library", -- "proto_library_with_info", -- "py_gapic_assembly_pkg", -- "py_gapic_library", -- "py_grpc_library", -- "py_proto_library", -- "ruby_gapic_assembly_pkg", -- "ruby_cloud_gapic_library", -- "ruby_grpc_library", -- "ruby_proto_library", --) -- --# This is an API workspace, having public visibility by default makes perfect sense. --package(default_visibility = ["//visibility:public"]) +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "retail_proto", +- name = "scheduler_proto", - srcs = [ -- "catalog.proto", -- "catalog_service.proto", -- "common.proto", -- "import_config.proto", -- "prediction_service.proto", -- "product.proto", -- "product_service.proto", -- "purge_config.proto", -- "user_event.proto", -- "user_event_service.proto", +- "cloudscheduler.proto", +- "job.proto", +- "target.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/api:httpbody_proto", - "//google/api:resource_proto", -- "//google/longrunning:operations_proto", - "//google/rpc:status_proto", - "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", -- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "retail_proto_with_info", +- name = "scheduler_proto_with_info", - deps = [ -- ":retail_proto", +- ":scheduler_proto", - "//google/cloud:common_resources_proto", - ], -) - +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- -java_proto_library( -- name = "retail_java_proto", -- deps = [":retail_proto"], +- name = "scheduler_java_proto", +- deps = [":scheduler_proto"], -) - -java_grpc_library( -- name = "retail_java_grpc", -- srcs = [":retail_proto"], -- deps = [":retail_java_proto"], +- name = "scheduler_java_grpc", +- srcs = [":scheduler_proto"], +- deps = [":scheduler_java_proto"], -) - -java_gapic_library( -- name = "retail_java_gapic", -- srcs = [":retail_proto_with_info"], -- grpc_service_config = "retail_grpc_service_config.json", +- name = "scheduler_java_gapic", +- srcs = [":scheduler_proto_with_info"], +- grpc_service_config = "cloudscheduler_grpc_service_config.json", - test_deps = [ -- ":retail_java_grpc", +- ":scheduler_java_grpc", - ], - deps = [ -- ":retail_java_proto", -- "//google/api:api_java_proto", +- ":scheduler_java_proto", - ], -) - -java_gapic_test( -- name = "retail_java_gapic_test_suite", +- name = "scheduler_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.retail.v2.CatalogServiceClientTest", -- "com.google.cloud.retail.v2.PredictionServiceClientTest", -- "com.google.cloud.retail.v2.ProductServiceClientTest", -- "com.google.cloud.retail.v2.UserEventServiceClientTest", +- "com.google.cloud.scheduler.v1.CloudSchedulerClientTest", - ], -- runtime_deps = [":retail_java_gapic_test"], +- runtime_deps = [":scheduler_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-retail-v2-java", +- name = "google-cloud-scheduler-v1-java", - deps = [ -- ":retail_java_gapic", -- ":retail_java_grpc", -- ":retail_java_proto", -- ":retail_proto", +- ":scheduler_java_gapic", +- ":scheduler_java_grpc", +- ":scheduler_java_proto", +- ":scheduler_proto", - ], -) - +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- -go_proto_library( -- name = "retail_go_proto", +- name = "scheduler_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/retail/v2", -- protos = [":retail_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/scheduler/v1", +- protos = [":scheduler_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/api:httpbody_go_proto", -- "//google/longrunning:longrunning_go_proto", - "//google/rpc:status_go_proto", - ], -) - -go_gapic_library( -- name = "retail_go_gapic", -- srcs = [":retail_proto_with_info"], -- grpc_service_config = "retail_grpc_service_config.json", -- importpath = "cloud.google.com/go/retail/apiv2;retail", -- service_yaml = "retail_v2.yaml", +- name = "scheduler_go_gapic", +- srcs = [":scheduler_proto_with_info"], +- grpc_service_config = "cloudscheduler_grpc_service_config.json", +- importpath = "cloud.google.com/go/scheduler/apiv1;scheduler", +- service_yaml = "cloudscheduler_v1.yaml", - deps = [ -- ":retail_go_proto", -- "//google/api:httpbody_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", -- "@io_bazel_rules_go//proto/wkt:struct_go_proto", +- ":scheduler_go_proto", - ], -) - -go_test( -- name = "retail_go_gapic_test", -- srcs = [":retail_go_gapic_srcjar_test"], -- embed = [":retail_go_gapic"], -- importpath = "cloud.google.com/go/retail/apiv2", +- name = "scheduler_go_gapic_test", +- srcs = [":scheduler_go_gapic_srcjar_test"], +- embed = [":scheduler_go_gapic"], +- importpath = "cloud.google.com/go/scheduler/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-retail-v2-go", +- name = "gapi-cloud-scheduler-v1-go", - deps = [ -- ":retail_go_gapic", -- ":retail_go_gapic_srcjar-test.srcjar", -- ":retail_go_proto", +- ":scheduler_go_gapic", +- ":scheduler_go_gapic_srcjar-test.srcjar", +- ":scheduler_go_proto", - ], -) - -############################################################################## -# Python -############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) - -py_gapic_library( -- name = "retail_py_gapic", -- srcs = [":retail_proto"], -- grpc_service_config = "retail_grpc_service_config.json", +- name = "scheduler_py_gapic", +- srcs = [":scheduler_proto"], +- grpc_service_config = "cloudscheduler_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "retail-v2-py", +- name = "scheduler-v1-py", - deps = [ -- ":retail_py_gapic", +- ":scheduler_py_gapic", - ], -) - +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- -php_proto_library( -- name = "retail_php_proto", -- deps = [":retail_proto"], +- name = "scheduler_php_proto", +- deps = [":scheduler_proto"], -) - -php_grpc_library( -- name = "retail_php_grpc", -- srcs = [":retail_proto"], -- deps = [":retail_php_proto"], +- name = "scheduler_php_grpc", +- srcs = [":scheduler_proto"], +- deps = [":scheduler_php_proto"], -) - -php_gapic_library( -- name = "retail_php_gapic", -- src = ":retail_proto_with_info", -- gapic_yaml = "retail_gapic.yaml", -- grpc_service_config = "retail_grpc_service_config.json", -- package = "google.cloud.retail.v2", -- service_yaml = "retail_v2.yaml", +- name = "scheduler_php_gapic", +- srcs = [":scheduler_proto_with_info"], +- grpc_service_config = "cloudscheduler_grpc_service_config.json", - deps = [ -- ":retail_php_grpc", -- ":retail_php_proto", +- ":scheduler_php_grpc", +- ":scheduler_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-retail-v2-php", +- name = "google-cloud-scheduler-v1-php", - deps = [ -- ":retail_php_gapic", -- ":retail_php_grpc", -- ":retail_php_proto", +- ":scheduler_php_gapic", +- ":scheduler_php_grpc", +- ":scheduler_php_proto", - ], -) - +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- -nodejs_gapic_library( -- name = "retail_nodejs_gapic", -- package_name = "@google-cloud/retail", -- src = ":retail_proto_with_info", +- name = "scheduler_nodejs_gapic", +- package_name = "@google-cloud/scheduler", +- src = ":scheduler_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "retail_grpc_service_config.json", -- package = "google.cloud.retail.v2", -- service_yaml = "retail_v2.yaml", +- grpc_service_config = "cloudscheduler_grpc_service_config.json", +- main_service = "scheduler", +- package = "google.cloud.scheduler.v1", +- service_yaml = "cloudscheduler_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "retail-v2-nodejs", +- name = "scheduler-v1-nodejs", - deps = [ -- ":retail_nodejs_gapic", -- ":retail_proto", +- ":scheduler_nodejs_gapic", +- ":scheduler_proto", - ], -) - +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- -ruby_proto_library( -- name = "retail_ruby_proto", -- deps = [":retail_proto"], +- name = "scheduler_ruby_proto", +- deps = [":scheduler_proto"], -) - -ruby_grpc_library( -- name = "retail_ruby_grpc", -- srcs = [":retail_proto"], -- deps = [":retail_ruby_proto"], +- name = "scheduler_ruby_grpc", +- srcs = [":scheduler_proto"], +- deps = [":scheduler_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "retail_ruby_gapic", -- srcs = [":retail_proto_with_info"], +- name = "scheduler_ruby_gapic", +- srcs = [":scheduler_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-retail-v2", -- "ruby-cloud-env-prefix=RETAIL", -- "ruby-cloud-product-url=https://cloud.google.com/retail/docs/apis", -- "ruby-cloud-api-id=retail.googleapis.com", -- "ruby-cloud-api-shortname=retail", +- "ruby-cloud-gem-name=google-cloud-scheduler-v1", +- "ruby-cloud-env-prefix=SCHEDULER", +- "ruby-cloud-product-url=https://cloud.google.com/scheduler", +- "ruby-cloud-api-id=cloudscheduler.googleapis.com", +- "ruby-cloud-api-shortname=cloudscheduler", - ], -- grpc_service_config = "retail_grpc_service_config.json", -- ruby_cloud_description = "Retail enables you to build an end-to-end personalized recommendation system based on state-of-the-art deep learning ML models, without a need for expertise in ML or recommendation systems.", -- ruby_cloud_title = "Retail V2", +- grpc_service_config = "cloudscheduler_grpc_service_config.json", +- ruby_cloud_description = "Cloud Scheduler is a fully managed enterprise-grade cron job scheduler. It allows you to schedule virtually any job, including batch, big data jobs, cloud infrastructure operations, and more. You can automate everything, including retries in case of failure to reduce manual toil and intervention. Cloud Scheduler even acts as a single pane of glass, allowing you to manage all your automation tasks from one place.", +- ruby_cloud_title = "Cloud Scheduler V1", - deps = [ -- ":retail_ruby_grpc", -- ":retail_ruby_proto", +- ":scheduler_ruby_grpc", +- ":scheduler_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-retail-v2-ruby", +- name = "google-cloud-scheduler-v1-ruby", - deps = [ -- ":retail_ruby_gapic", -- ":retail_ruby_grpc", -- ":retail_ruby_proto", +- ":scheduler_ruby_gapic", +- ":scheduler_ruby_grpc", +- ":scheduler_ruby_proto", - ], -) - +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- -csharp_proto_library( -- name = "retail_csharp_proto", -- deps = [":retail_proto"], +- name = "scheduler_csharp_proto", +- deps = [":scheduler_proto"], -) - -csharp_grpc_library( -- name = "retail_csharp_grpc", -- srcs = [":retail_proto"], -- deps = [":retail_csharp_proto"], +- name = "scheduler_csharp_grpc", +- srcs = [":scheduler_proto"], +- deps = [":scheduler_csharp_proto"], -) - -csharp_gapic_library( -- name = "retail_csharp_gapic", -- srcs = [":retail_proto_with_info"], +- name = "scheduler_csharp_gapic", +- srcs = [":scheduler_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "retail_grpc_service_config.json", +- grpc_service_config = "cloudscheduler_grpc_service_config.json", - deps = [ -- ":retail_csharp_grpc", -- ":retail_csharp_proto", +- ":scheduler_csharp_grpc", +- ":scheduler_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-retail-v2-csharp", +- name = "google-cloud-scheduler-v1-csharp", - deps = [ -- ":retail_csharp_gapic", -- ":retail_csharp_grpc", -- ":retail_csharp_proto", +- ":scheduler_csharp_gapic", +- ":scheduler_csharp_grpc", +- ":scheduler_csharp_proto", - ], -) - @@ -41963,320 +58735,338 @@ diff -urN a/google/cloud/retail/v2/BUILD.bazel b/google/cloud/retail/v2/BUILD.ba -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/retail/v2alpha/BUILD.bazel b/google/cloud/retail/v2alpha/BUILD.bazel ---- a/google/cloud/retail/v2alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/retail/v2alpha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,317 +0,0 @@ +diff -urN a/google/cloud/scheduler/v1beta1/BUILD.bazel b/google/cloud/scheduler/v1beta1/BUILD.bazel +--- a/google/cloud/scheduler/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/scheduler/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,335 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", -- "csharp_grpc_library", -- "csharp_proto_library", -- "go_gapic_assembly_pkg", -- "go_gapic_library", -- "go_proto_library", -- "go_test", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", -- "java_grpc_library", -- "java_proto_library", -- "nodejs_gapic_assembly_pkg", -- "nodejs_gapic_library", -- "php_gapic_assembly_pkg", -- "php_gapic_library", -- "php_grpc_library", -- "php_proto_library", -- "proto_library_with_info", -- "py_gapic_assembly_pkg", -- "py_gapic_library", -- "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", -- "ruby_grpc_library", -- "ruby_proto_library", --) -- --# This is an API workspace, having public visibility by default makes perfect sense. --package(default_visibility = ["//visibility:public"]) +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "retail_proto", +- name = "scheduler_proto", - srcs = [ -- "catalog.proto", -- "catalog_service.proto", -- "common.proto", -- "import_config.proto", -- "prediction_service.proto", -- "product.proto", -- "product_service.proto", -- "purge_config.proto", -- "user_event.proto", -- "user_event_service.proto", +- "cloudscheduler.proto", +- "job.proto", +- "target.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/api:httpbody_proto", - "//google/api:resource_proto", -- "//google/longrunning:operations_proto", - "//google/rpc:status_proto", - "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", -- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "retail_proto_with_info", +- name = "scheduler_proto_with_info", - deps = [ -- ":retail_proto", +- ":scheduler_proto", - "//google/cloud:common_resources_proto", - ], -) - +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- -java_proto_library( -- name = "retail_java_proto", -- deps = [":retail_proto"], +- name = "scheduler_java_proto", +- deps = [":scheduler_proto"], -) - -java_grpc_library( -- name = "retail_java_grpc", -- srcs = [":retail_proto"], -- deps = [":retail_java_proto"], +- name = "scheduler_java_grpc", +- srcs = [":scheduler_proto"], +- deps = [":scheduler_java_proto"], -) - -java_gapic_library( -- name = "retail_java_gapic", -- srcs = [":retail_proto_with_info"], -- grpc_service_config = "retail_grpc_service_config.json", +- name = "scheduler_java_gapic", +- srcs = [":scheduler_proto_with_info"], +- grpc_service_config = "cloudscheduler_grpc_service_config.json", - test_deps = [ -- ":retail_java_grpc", +- ":scheduler_java_grpc", - ], - deps = [ -- ":retail_java_proto", -- "//google/api:api_java_proto", +- ":scheduler_java_proto", - ], -) - -java_gapic_test( -- name = "retail_java_gapic_test_suite", +- name = "scheduler_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.retail.v2alpha.CatalogServiceClientTest", -- "com.google.cloud.retail.v2alpha.PredictionServiceClientTest", -- "com.google.cloud.retail.v2alpha.ProductServiceClientTest", -- "com.google.cloud.retail.v2alpha.UserEventServiceClientTest", +- "com.google.cloud.scheduler.v1beta1.CloudSchedulerClientTest", - ], -- runtime_deps = [":retail_java_gapic_test"], +- runtime_deps = [":scheduler_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-retail-v2alpha-java", +- name = "google-cloud-scheduler-v1beta1-java", - deps = [ -- ":retail_java_gapic", -- ":retail_java_grpc", -- ":retail_java_proto", -- ":retail_proto", +- ":scheduler_java_gapic", +- ":scheduler_java_grpc", +- ":scheduler_java_proto", +- ":scheduler_proto", - ], -) - +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- -go_proto_library( -- name = "retail_go_proto", +- name = "scheduler_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/retail/v2alpha", -- protos = [":retail_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1", +- protos = [":scheduler_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/api:httpbody_go_proto", -- "//google/longrunning:longrunning_go_proto", - "//google/rpc:status_go_proto", - ], -) - -go_gapic_library( -- name = "retail_go_gapic", -- srcs = [":retail_proto_with_info"], -- grpc_service_config = "retail_grpc_service_config.json", -- importpath = "cloud.google.com/go/retail/apiv2alpha;retail", -- service_yaml = "retail_v2alpha.yaml", +- name = "scheduler_go_gapic", +- srcs = [":scheduler_proto_with_info"], +- grpc_service_config = "cloudscheduler_grpc_service_config.json", +- importpath = "cloud.google.com/go/scheduler/apiv1beta1;scheduler", +- service_yaml = "cloudscheduler_v1beta1.yaml", - deps = [ -- ":retail_go_proto", -- "//google/api:httpbody_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", -- "@io_bazel_rules_go//proto/wkt:struct_go_proto", +- ":scheduler_go_proto", - ], -) - -go_test( -- name = "retail_go_gapic_test", -- srcs = [":retail_go_gapic_srcjar_test"], -- embed = [":retail_go_gapic"], -- importpath = "cloud.google.com/go/retail/apiv2alpha", +- name = "scheduler_go_gapic_test", +- srcs = [":scheduler_go_gapic_srcjar_test"], +- embed = [":scheduler_go_gapic"], +- importpath = "cloud.google.com/go/scheduler/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-retail-v2alpha-go", +- name = "gapi-cloud-scheduler-v1beta1-go", - deps = [ -- ":retail_go_gapic", -- ":retail_go_gapic_srcjar-test.srcjar", -- ":retail_go_proto", +- ":scheduler_go_gapic", +- ":scheduler_go_gapic_srcjar-test.srcjar", +- ":scheduler_go_proto", - ], -) - +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- -py_gapic_library( -- name = "retail_py_gapic", -- srcs = [":retail_proto"], -- grpc_service_config = "retail_grpc_service_config.json", +- name = "scheduler_py_gapic", +- srcs = [":scheduler_proto"], +- grpc_service_config = "cloudscheduler_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "retail-v2alpha-py", +- name = "scheduler-v1beta1-py", - deps = [ -- ":retail_py_gapic", +- ":scheduler_py_gapic", - ], -) - +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- -php_proto_library( -- name = "retail_php_proto", -- deps = [":retail_proto"], +- name = "scheduler_php_proto", +- deps = [":scheduler_proto"], -) - -php_grpc_library( -- name = "retail_php_grpc", -- srcs = [":retail_proto"], -- deps = [":retail_php_proto"], +- name = "scheduler_php_grpc", +- srcs = [":scheduler_proto"], +- deps = [":scheduler_php_proto"], -) - -php_gapic_library( -- name = "retail_php_gapic", -- src = ":retail_proto_with_info", -- gapic_yaml = "retail_gapic.yaml", -- grpc_service_config = "retail_grpc_service_config.json", -- package = "google.cloud.retail.v2alpha", -- service_yaml = "retail_v2alpha.yaml", +- name = "scheduler_php_gapic", +- srcs = [":scheduler_proto_with_info"], +- grpc_service_config = "cloudscheduler_grpc_service_config.json", - deps = [ -- ":retail_php_grpc", -- ":retail_php_proto", +- ":scheduler_php_grpc", +- ":scheduler_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-retail-v2alpha-php", +- name = "google-cloud-scheduler-v1beta1-php", - deps = [ -- ":retail_php_gapic", -- ":retail_php_grpc", -- ":retail_php_proto", +- ":scheduler_php_gapic", +- ":scheduler_php_grpc", +- ":scheduler_php_proto", - ], -) - +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- -nodejs_gapic_library( -- name = "retail_nodejs_gapic", -- src = ":retail_proto_with_info", +- name = "scheduler_nodejs_gapic", +- package_name = "@google-cloud/scheduler", +- src = ":scheduler_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "retail_grpc_service_config.json", -- package = "google.cloud.retail.v2alpha", -- package_name = "@google-cloud/retail", -- service_yaml = "retail_v2alpha.yaml", +- grpc_service_config = "cloudscheduler_grpc_service_config.json", +- main_service = "scheduler", +- package = "google.cloud.scheduler.v1beta1", +- service_yaml = "cloudscheduler_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "retail-v2alpha-nodejs", +- name = "scheduler-v1beta1-nodejs", - deps = [ -- ":retail_nodejs_gapic", -- ":retail_proto", +- ":scheduler_nodejs_gapic", +- ":scheduler_proto", - ], -) - +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- -ruby_proto_library( -- name = "retail_ruby_proto", -- deps = [":retail_proto"], +- name = "scheduler_ruby_proto", +- deps = [":scheduler_proto"], -) - -ruby_grpc_library( -- name = "retail_ruby_grpc", -- srcs = [":retail_proto"], -- deps = [":retail_ruby_proto"], +- name = "scheduler_ruby_grpc", +- srcs = [":scheduler_proto"], +- deps = [":scheduler_ruby_proto"], -) - --ruby_gapic_library( -- name = "retail_ruby_gapic", -- src = ":retail_proto_with_info", -- gapic_yaml = "retail_gapic.yaml", -- grpc_service_config = "retail_grpc_service_config.json", -- package = "google.cloud.retail.v2alpha", -- service_yaml = "retail_v2alpha.yaml", +-ruby_cloud_gapic_library( +- name = "scheduler_ruby_gapic", +- srcs = [":scheduler_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-scheduler-v1beta1", +- "ruby-cloud-env-prefix=SCHEDULER", +- "ruby-cloud-product-url=https://cloud.google.com/scheduler", +- "ruby-cloud-api-id=cloudscheduler.googleapis.com", +- "ruby-cloud-api-shortname=cloudscheduler", +- ], +- grpc_service_config = "cloudscheduler_grpc_service_config.json", +- ruby_cloud_description = "Cloud Scheduler is a fully managed enterprise-grade cron job scheduler. It allows you to schedule virtually any job, including batch, big data jobs, cloud infrastructure operations, and more. You can automate everything, including retries in case of failure to reduce manual toil and intervention. Cloud Scheduler even acts as a single pane of glass, allowing you to manage all your automation tasks from one place.", +- ruby_cloud_title = "Cloud Scheduler V1beta1", - deps = [ -- ":retail_ruby_grpc", -- ":retail_ruby_proto", +- ":scheduler_ruby_grpc", +- ":scheduler_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-retail-v2alpha-ruby", +- name = "google-cloud-scheduler-v1beta1-ruby", - deps = [ -- ":retail_ruby_gapic", -- ":retail_ruby_grpc", -- ":retail_ruby_proto", +- ":scheduler_ruby_gapic", +- ":scheduler_ruby_grpc", +- ":scheduler_ruby_proto", - ], -) - +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- -csharp_proto_library( -- name = "retail_csharp_proto", -- deps = [":retail_proto"], +- name = "scheduler_csharp_proto", +- deps = [":scheduler_proto"], -) - -csharp_grpc_library( -- name = "retail_csharp_grpc", -- srcs = [":retail_proto"], -- deps = [":retail_csharp_proto"], +- name = "scheduler_csharp_grpc", +- srcs = [":scheduler_proto"], +- deps = [":scheduler_csharp_proto"], -) - -csharp_gapic_library( -- name = "retail_csharp_gapic", -- srcs = [":retail_proto_with_info"], +- name = "scheduler_csharp_gapic", +- srcs = [":scheduler_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "retail_grpc_service_config.json", +- grpc_service_config = "cloudscheduler_grpc_service_config.json", - deps = [ -- ":retail_csharp_grpc", -- ":retail_csharp_proto", +- ":scheduler_csharp_grpc", +- ":scheduler_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-retail-v2alpha-csharp", +- name = "google-cloud-scheduler-v1beta1-csharp", - deps = [ -- ":retail_csharp_gapic", -- ":retail_csharp_grpc", -- ":retail_csharp_proto", +- ":scheduler_csharp_gapic", +- ":scheduler_csharp_grpc", +- ":scheduler_csharp_proto", - ], -) - @@ -42284,320 +59074,513 @@ diff -urN a/google/cloud/retail/v2alpha/BUILD.bazel b/google/cloud/retail/v2alph -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/retail/v2beta/BUILD.bazel b/google/cloud/retail/v2beta/BUILD.bazel ---- a/google/cloud/retail/v2beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/retail/v2beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,317 +0,0 @@ +diff -urN a/google/cloud/secretmanager/logging/v1/BUILD.bazel b/google/cloud/secretmanager/logging/v1/BUILD.bazel +--- a/google/cloud/secretmanager/logging/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/secretmanager/logging/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,157 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") +- +-proto_library( +- name = "logging_proto", +- srcs = [ +- "secret_event.proto", +- ], +- deps = [ +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", -- "csharp_grpc_library", -- "csharp_proto_library", -- "go_gapic_assembly_pkg", -- "go_gapic_library", -- "go_proto_library", -- "go_test", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -- "nodejs_gapic_assembly_pkg", -- "nodejs_gapic_library", -- "php_gapic_assembly_pkg", -- "php_gapic_library", +-) +- +-java_proto_library( +- name = "logging_java_proto", +- deps = [":logging_proto"], +-) +- +-java_grpc_library( +- name = "logging_java_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_java_proto"], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "logging_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/secretmanager/logging/v1", +- protos = [":logging_proto"], +- deps = [ +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "moved_proto_library", +- "py_grpc_library", +- "py_proto_library", +-) +- +-moved_proto_library( +- name = "logging_moved_proto", +- srcs = [":logging_proto"], +- deps = [ +- ], +-) +- +-py_proto_library( +- name = "logging_py_proto", +- deps = [":logging_moved_proto"], +-) +- +-py_grpc_library( +- name = "logging_py_grpc", +- srcs = [":logging_moved_proto"], +- deps = [":logging_py_proto"], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", - "php_proto_library", -- "proto_library_with_info", -- "py_gapic_assembly_pkg", -- "py_gapic_library", -- "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", +-) +- +-php_proto_library( +- name = "logging_php_proto", +- deps = [":logging_proto"], +-) +- +-php_grpc_library( +- name = "logging_php_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_php_proto"], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", - "ruby_grpc_library", - "ruby_proto_library", -) - +-ruby_proto_library( +- name = "logging_ruby_proto", +- deps = [":logging_proto"], +-) +- +-ruby_grpc_library( +- name = "logging_ruby_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_ruby_proto"], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "logging_csharp_proto", +- deps = [":logging_proto"], +-) +- +-csharp_grpc_library( +- name = "logging_csharp_grpc", +- srcs = [":logging_proto"], +- deps = [":logging_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here +diff -urN a/google/cloud/secretmanager/v1/BUILD.bazel b/google/cloud/secretmanager/v1/BUILD.bazel +--- a/google/cloud/secretmanager/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/secretmanager/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,349 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. +- -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) - +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- -proto_library( -- name = "retail_proto", +- name = "secretmanager_proto", - srcs = [ -- "catalog.proto", -- "catalog_service.proto", -- "common.proto", -- "import_config.proto", -- "prediction_service.proto", -- "product.proto", -- "product_service.proto", -- "purge_config.proto", -- "user_event.proto", -- "user_event_service.proto", +- "resources.proto", +- "service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/api:httpbody_proto", - "//google/api:resource_proto", -- "//google/longrunning:operations_proto", -- "//google/rpc:status_proto", +- "//google/iam/v1:iam_policy_proto", +- "//google/iam/v1:policy_proto", - "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", -- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "retail_proto_with_info", +- name = "secretmanager_proto_with_info", - deps = [ -- ":retail_proto", +- ":secretmanager_proto", - "//google/cloud:common_resources_proto", - ], -) - +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- -java_proto_library( -- name = "retail_java_proto", -- deps = [":retail_proto"], +- name = "secretmanager_java_proto", +- deps = [":secretmanager_proto"], -) - -java_grpc_library( -- name = "retail_java_grpc", -- srcs = [":retail_proto"], -- deps = [":retail_java_proto"], +- name = "secretmanager_java_grpc", +- srcs = [":secretmanager_proto"], +- deps = [":secretmanager_java_proto"], -) - -java_gapic_library( -- name = "retail_java_gapic", -- srcs = [":retail_proto_with_info"], -- grpc_service_config = "retail_grpc_service_config.json", +- name = "secretmanager_java_gapic", +- srcs = [":secretmanager_proto_with_info"], +- grpc_service_config = "secretmanager_grpc_service_config.json", - test_deps = [ -- ":retail_java_grpc", +- ":secretmanager_java_grpc", +- "//google/iam/v1:iam_java_grpc", - ], - deps = [ -- ":retail_java_proto", -- "//google/api:api_java_proto", +- ":secretmanager_java_proto", +- "//google/iam/v1:iam_java_proto", - ], -) - -java_gapic_test( -- name = "retail_java_gapic_test_suite", +- name = "secretmanager_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.retail.v2beta.CatalogServiceClientTest", -- "com.google.cloud.retail.v2beta.PredictionServiceClientTest", -- "com.google.cloud.retail.v2beta.ProductServiceClientTest", -- "com.google.cloud.retail.v2beta.UserEventServiceClientTest", +- "com.google.cloud.secretmanager.v1.SecretManagerServiceClientTest", - ], -- runtime_deps = [":retail_java_gapic_test"], +- runtime_deps = [":secretmanager_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-retail-v2beta-java", +- name = "google-cloud-secretmanager-v1-java", - deps = [ -- ":retail_java_gapic", -- ":retail_java_grpc", -- ":retail_java_proto", -- ":retail_proto", +- ":secretmanager_java_gapic", +- ":secretmanager_java_grpc", +- ":secretmanager_java_proto", +- ":secretmanager_proto", - ], -) - +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- -go_proto_library( -- name = "retail_go_proto", +- name = "secretmanager_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/retail/v2beta", -- protos = [":retail_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/secretmanager/v1", +- protos = [":secretmanager_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/api:httpbody_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "//google/rpc:status_go_proto", +- "//google/iam/v1:iam_go_proto", - ], -) - -go_gapic_library( -- name = "retail_go_gapic", -- srcs = [":retail_proto_with_info"], -- grpc_service_config = "retail_grpc_service_config.json", -- importpath = "cloud.google.com/go/retail/apiv2beta;retail", -- service_yaml = "retail_v2beta.yaml", +- name = "secretmanager_go_gapic", +- srcs = [":secretmanager_proto_with_info"], +- grpc_service_config = "secretmanager_grpc_service_config.json", +- importpath = "cloud.google.com/go/secretmanager/apiv1;secretmanager", +- metadata = True, +- service_yaml = "secretmanager_v1.yaml", - deps = [ -- ":retail_go_proto", -- "//google/api:httpbody_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- ":secretmanager_go_proto", +- "//google/iam/v1:iam_go_proto", - "@io_bazel_rules_go//proto/wkt:duration_go_proto", -- "@io_bazel_rules_go//proto/wkt:struct_go_proto", - ], -) - -go_test( -- name = "retail_go_gapic_test", -- srcs = [":retail_go_gapic_srcjar_test"], -- embed = [":retail_go_gapic"], -- importpath = "cloud.google.com/go/retail/apiv2beta", +- name = "secretmanager_go_gapic_test", +- srcs = [":secretmanager_go_gapic_srcjar_test"], +- embed = [":secretmanager_go_gapic"], +- importpath = "cloud.google.com/go/secretmanager/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-retail-v2beta-go", +- name = "gapi-cloud-secretmanager-v1-go", - deps = [ -- ":retail_go_gapic", -- ":retail_go_gapic_srcjar-test.srcjar", -- ":retail_go_proto", +- ":secretmanager_go_gapic", +- ":secretmanager_go_gapic_srcjar-metadata.srcjar", +- ":secretmanager_go_gapic_srcjar-test.srcjar", +- ":secretmanager_go_proto", - ], -) - +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- -py_gapic_library( -- name = "retail_py_gapic", -- srcs = [":retail_proto"], -- grpc_service_config = "retail_grpc_service_config.json", +- name = "secretmanager_py_gapic", +- srcs = [":secretmanager_proto"], +- grpc_service_config = "secretmanager_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "retail-v2beta-py", +- name = "secretmanager-v1-py", - deps = [ -- ":retail_py_gapic", +- ":secretmanager_py_gapic", - ], -) - +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- -php_proto_library( -- name = "retail_php_proto", -- deps = [":retail_proto"], +- name = "secretmanager_php_proto", +- deps = [":secretmanager_proto"], -) - -php_grpc_library( -- name = "retail_php_grpc", -- srcs = [":retail_proto"], -- deps = [":retail_php_proto"], +- name = "secretmanager_php_grpc", +- srcs = [":secretmanager_proto"], +- deps = [":secretmanager_php_proto"], -) - -php_gapic_library( -- name = "retail_php_gapic", -- src = ":retail_proto_with_info", -- gapic_yaml = "retail_gapic.yaml", -- grpc_service_config = "retail_grpc_service_config.json", -- package = "google.cloud.retail.v2beta", -- service_yaml = "retail_v2beta.yaml", +- name = "secretmanager_php_gapic", +- srcs = [":secretmanager_proto_with_info"], +- grpc_service_config = "secretmanager_grpc_service_config.json", - deps = [ -- ":retail_php_grpc", -- ":retail_php_proto", +- ":secretmanager_php_grpc", +- ":secretmanager_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-retail-v2beta-php", +- name = "google-cloud-secretmanager-v1-php", - deps = [ -- ":retail_php_gapic", -- ":retail_php_grpc", -- ":retail_php_proto", +- ":secretmanager_php_gapic", +- ":secretmanager_php_grpc", +- ":secretmanager_php_proto", - ], -) - +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- -nodejs_gapic_library( -- name = "retail_nodejs_gapic", -- src = ":retail_proto_with_info", +- name = "secretmanager_nodejs_gapic", +- package_name = "@google-cloud/secret-manager", +- src = ":secretmanager_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "retail_grpc_service_config.json", -- package = "google.cloud.retail.v2beta", -- package_name = "@google-cloud/retail", -- service_yaml = "retail_v2beta.yaml", +- grpc_service_config = "secretmanager_grpc_service_config.json", +- package = "google.cloud.secretmanager.v1", +- service_yaml = "secretmanager_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "retail-v2beta-nodejs", +- name = "secretmanager-v1-nodejs", - deps = [ -- ":retail_nodejs_gapic", -- ":retail_proto", +- ":secretmanager_nodejs_gapic", +- ":secretmanager_proto", - ], -) - +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- -ruby_proto_library( -- name = "retail_ruby_proto", -- deps = [":retail_proto"], +- name = "secretmanager_ruby_proto", +- deps = [":secretmanager_proto"], -) - -ruby_grpc_library( -- name = "retail_ruby_grpc", -- srcs = [":retail_proto"], -- deps = [":retail_ruby_proto"], +- name = "secretmanager_ruby_grpc", +- srcs = [":secretmanager_proto"], +- deps = [":secretmanager_ruby_proto"], -) - --ruby_gapic_library( -- name = "retail_ruby_gapic", -- src = ":retail_proto_with_info", -- gapic_yaml = "retail_gapic.yaml", -- grpc_service_config = "retail_grpc_service_config.json", -- package = "google.cloud.retail.v2beta", -- service_yaml = "retail_v2beta.yaml", +-ruby_cloud_gapic_library( +- name = "secretmanager_ruby_gapic", +- srcs = [":secretmanager_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-api-id=secretmanager.googleapis.com", +- "ruby-cloud-api-shortname=secretmanager", +- "ruby-cloud-env-prefix=SECRET_MANAGER", +- "ruby-cloud-gem-name=google-cloud-secret_manager-v1", +- "ruby-cloud-product-url=https://cloud.google.com/secret-manager", +- ], +- grpc_service_config = "secretmanager_grpc_service_config.json", +- ruby_cloud_description = "Secret Manager is a secure and convenient storage system for API keys, passwords, certificates, and other sensitive data. Secret Manager provides a central place and single source of truth to manage, access, and audit secrets across Google Cloud.", +- ruby_cloud_title = "Secret Manager V1", - deps = [ -- ":retail_ruby_grpc", -- ":retail_ruby_proto", +- ":secretmanager_ruby_grpc", +- ":secretmanager_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-retail-v2beta-ruby", +- name = "google-cloud-secretmanager-v1-ruby", - deps = [ -- ":retail_ruby_gapic", -- ":retail_ruby_grpc", -- ":retail_ruby_proto", +- ":secretmanager_ruby_gapic", +- ":secretmanager_ruby_grpc", +- ":secretmanager_ruby_proto", - ], -) - +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- -csharp_proto_library( -- name = "retail_csharp_proto", -- deps = [":retail_proto"], +- name = "secretmanager_csharp_proto", +- deps = [":secretmanager_proto"], -) - -csharp_grpc_library( -- name = "retail_csharp_grpc", -- srcs = [":retail_proto"], -- deps = [":retail_csharp_proto"], +- name = "secretmanager_csharp_grpc", +- srcs = [":secretmanager_proto"], +- deps = [":secretmanager_csharp_proto"], -) - -csharp_gapic_library( -- name = "retail_csharp_gapic", -- srcs = [":retail_proto_with_info"], +- name = "secretmanager_csharp_gapic", +- srcs = [":secretmanager_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "retail_grpc_service_config.json", +- grpc_service_config = "secretmanager_grpc_service_config.json", - deps = [ -- ":retail_csharp_grpc", -- ":retail_csharp_proto", +- ":secretmanager_csharp_grpc", +- ":secretmanager_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-retail-v2beta-csharp", +- name = "google-cloud-secretmanager-v1-csharp", - deps = [ -- ":retail_csharp_gapic", -- ":retail_csharp_grpc", -- ":retail_csharp_proto", +- ":secretmanager_csharp_gapic", +- ":secretmanager_csharp_grpc", +- ":secretmanager_csharp_proto", - ], -) - @@ -42605,12 +59588,10 @@ diff -urN a/google/cloud/retail/v2beta/BUILD.bazel b/google/cloud/retail/v2beta/ -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel b/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel ---- a/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,162 +0,0 @@ --# This file was automatically generated by BuildFileGenerator -- +diff -urN a/google/cloud/secrets/v1beta1/BUILD.bazel b/google/cloud/secrets/v1beta1/BUILD.bazel +--- a/google/cloud/secrets/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/secrets/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,337 +0,0 @@ -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) - @@ -42618,14 +59599,32 @@ diff -urN a/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel b/google -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "logs_proto", +- name = "secretmanager_proto", - srcs = [ -- "saas_instance_payload.proto", +- "resources.proto", +- "service.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/iam/v1:iam_policy_proto", +- "//google/iam/v1:policy_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", - ], +-) +- +-proto_library_with_info( +- name = "secretmanager_proto_with_info", - deps = [ -- +- ":secretmanager_proto", +- "//google/cloud:common_resources_proto", - ], -) - @@ -42634,19 +59633,55 @@ diff -urN a/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel b/google -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( -- name = "logs_java_proto", -- deps = [":logs_proto"], +- name = "secretmanager_java_proto", +- deps = [":secretmanager_proto"], -) - -java_grpc_library( -- name = "logs_java_grpc", -- srcs = [":logs_proto"], -- deps = [":logs_java_proto"], +- name = "secretmanager_java_grpc", +- srcs = [":secretmanager_proto"], +- deps = [":secretmanager_java_proto"], +-) +- +-java_gapic_library( +- name = "secretmanager_java_gapic", +- srcs = [":secretmanager_proto_with_info"], +- grpc_service_config = "secretmanager_grpc_service_config.json", +- test_deps = [ +- ":secretmanager_java_grpc", +- "//google/iam/v1:iam_java_grpc", +- ], +- deps = [ +- ":secretmanager_java_proto", +- "//google/iam/v1:iam_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "secretmanager_java_gapic_test_suite", +- test_classes = [ +- "com.google.cloud.secretmanager.v1beta1.SecretManagerServiceClientTest", +- ], +- runtime_deps = [":secretmanager_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-secretmanager-v1beta1-java", +- deps = [ +- ":secretmanager_java_gapic", +- ":secretmanager_java_grpc", +- ":secretmanager_java_proto", +- ":secretmanager_proto", +- ], -) - -############################################################################## @@ -42654,16 +59689,49 @@ diff -urN a/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel b/google -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", - "go_proto_library", +- "go_test", -) - -go_proto_library( -- name = "logs_go_proto", +- name = "secretmanager_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/saasaccelerator/management/logs/v1", -- protos = [":logs_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/secretmanager/v1beta1", +- protos = [":secretmanager_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/iam/v1:iam_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "secretmanager_go_gapic", +- srcs = [":secretmanager_proto_with_info"], +- grpc_service_config = "secretmanager_grpc_service_config.json", +- importpath = "cloud.google.com/go/secretmanager/apiv1beta1;secretmanager", +- service_yaml = "//google/cloud/secrets/v1beta1:secretmanager_v1beta1.yaml", +- deps = [ +- ":secretmanager_go_proto", +- "//google/iam/v1:iam_go_proto", +- ], +-) +- +-go_test( +- name = "secretmanager_go_gapic_test", +- srcs = [":secretmanager_go_gapic_srcjar_test"], +- embed = [":secretmanager_go_gapic"], +- importpath = "cloud.google.com/go/secretmanager/apiv1beta1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-secretmanager-v1beta1-go", - deps = [ -- +- ":secretmanager_go_gapic", +- ":secretmanager_go_gapic_srcjar-test.srcjar", +- ":secretmanager_go_proto", - ], -) - @@ -42672,29 +59740,25 @@ diff -urN a/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel b/google -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", -- "py_grpc_library", -- "py_proto_library", +- "py_gapic_assembly_pkg", +- "py_gapic_library", -) - --moved_proto_library( -- name = "logs_moved_proto", -- srcs = [":logs_proto"], -- deps = [ -- +-py_gapic_library( +- name = "secretmanager_py_gapic", +- srcs = [":secretmanager_proto"], +- grpc_service_config = "secretmanager_grpc_service_config.json", +- opt_args = [ +- "python-gapic-namespace=google.cloud", +- "python-gapic-name=secretmanager", - ], -) - --py_proto_library( -- name = "logs_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":logs_moved_proto"], --) -- --py_grpc_library( -- name = "logs_py_grpc", -- srcs = [":logs_moved_proto"], -- deps = [":logs_py_proto"], +-py_gapic_assembly_pkg( +- name = "secretmanager-v1beta1-py", +- deps = [ +- ":secretmanager_py_gapic", +- ], -) - -############################################################################## @@ -42702,19 +59766,41 @@ diff -urN a/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel b/google -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( -- name = "logs_php_proto", -- deps = [":logs_proto"], +- name = "secretmanager_php_proto", +- deps = [":secretmanager_proto"], -) - -php_grpc_library( -- name = "logs_php_grpc", -- srcs = [":logs_proto"], -- deps = [":logs_php_proto"], +- name = "secretmanager_php_grpc", +- srcs = [":secretmanager_proto"], +- deps = [":secretmanager_php_proto"], +-) +- +-php_gapic_library( +- name = "secretmanager_php_gapic", +- srcs = [":secretmanager_proto_with_info"], +- grpc_service_config = "secretmanager_grpc_service_config.json", +- deps = [ +- ":secretmanager_php_grpc", +- ":secretmanager_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-secretmanager-v1beta1-php", +- deps = [ +- ":secretmanager_php_gapic", +- ":secretmanager_php_grpc", +- ":secretmanager_php_proto", +- ], -) - -############################################################################## @@ -42726,25 +59812,74 @@ diff -urN a/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel b/google - "nodejs_gapic_library", -) - +-nodejs_gapic_library( +- name = "secretmanager_nodejs_gapic", +- package_name = "@google-cloud/secret-manager", +- src = ":secretmanager_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "secretmanager_grpc_service_config.json", +- package = "google.cloud.secrets.v1beta1", +- service_yaml = "//google/cloud/secrets/v1beta1:secretmanager_v1beta1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "secretmanager-v1beta1-nodejs", +- deps = [ +- ":secretmanager_nodejs_gapic", +- ":secretmanager_proto", +- ], +-) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "logs_ruby_proto", -- deps = [":logs_proto"], +- name = "secretmanager_ruby_proto", +- deps = [":secretmanager_proto"], -) - -ruby_grpc_library( -- name = "logs_ruby_grpc", -- srcs = [":logs_proto"], -- deps = [":logs_ruby_proto"], +- name = "secretmanager_ruby_grpc", +- srcs = [":secretmanager_proto"], +- deps = [":secretmanager_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "secretmanager_ruby_gapic", +- srcs = [":secretmanager_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-secret_manager-v1beta1", +- "ruby-cloud-env-prefix=SECRET_MANAGER", +- "ruby-cloud-product-url=https://cloud.google.com/secret-manager", +- "ruby-cloud-api-id=secretmanager.googleapis.com", +- "ruby-cloud-api-shortname=secretmanager", +- ], +- grpc_service_config = "secretmanager_grpc_service_config.json", +- ruby_cloud_description = "Secret Manager is a secure and convenient storage system for API keys, passwords, certificates, and other sensitive data. Secret Manager provides a central place and single source of truth to manage, access, and audit secrets across Google Cloud.", +- ruby_cloud_title = "Secret Manager V1beta1", +- deps = [ +- ":secretmanager_ruby_grpc", +- ":secretmanager_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-secretmanager-v1beta1-ruby", +- deps = [ +- ":secretmanager_ruby_gapic", +- ":secretmanager_ruby_grpc", +- ":secretmanager_ruby_proto", +- ], -) - -############################################################################## @@ -42752,35 +59887,62 @@ diff -urN a/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel b/google -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( -- name = "logs_csharp_proto", -- deps = [":logs_proto"], +- name = "secretmanager_csharp_proto", +- deps = [":secretmanager_proto"], -) - -csharp_grpc_library( -- name = "logs_csharp_grpc", -- srcs = [":logs_proto"], -- deps = [":logs_csharp_proto"], +- name = "secretmanager_csharp_grpc", +- srcs = [":secretmanager_proto"], +- deps = [":secretmanager_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "secretmanager_csharp_gapic", +- srcs = [":secretmanager_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "secretmanager_grpc_service_config.json", +- deps = [ +- ":secretmanager_csharp_grpc", +- ":secretmanager_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-secretmanager-v1beta1-csharp", +- deps = [ +- ":secretmanager_csharp_gapic", +- ":secretmanager_csharp_grpc", +- ":secretmanager_csharp_proto", +- ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ code here -diff -urN a/google/cloud/scheduler/BUILD.bazel b/google/cloud/scheduler/BUILD.bazel ---- a/google/cloud/scheduler/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/scheduler/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/cloud/scheduler/v1/BUILD.bazel b/google/cloud/scheduler/v1/BUILD.bazel ---- a/google/cloud/scheduler/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/scheduler/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,338 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/security/privateca/v1/BUILD.bazel b/google/cloud/security/privateca/v1/BUILD.bazel +--- a/google/cloud/security/privateca/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/security/privateca/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,351 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -42792,29 +59954,28 @@ diff -urN a/google/cloud/scheduler/v1/BUILD.bazel b/google/cloud/scheduler/v1/BU -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "scheduler_proto", +- name = "privateca_proto", - srcs = [ -- "cloudscheduler.proto", -- "job.proto", -- "target.proto", +- "resources.proto", +- "service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/rpc:status_proto", +- "//google/longrunning:operations_proto", +- "//google/type:expr_proto", - "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "scheduler_proto_with_info", +- name = "privateca_proto_with_info", - deps = [ -- ":scheduler_proto", +- ":privateca_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -42832,44 +59993,44 @@ diff -urN a/google/cloud/scheduler/v1/BUILD.bazel b/google/cloud/scheduler/v1/BU -) - -java_proto_library( -- name = "scheduler_java_proto", -- deps = [":scheduler_proto"], +- name = "privateca_java_proto", +- deps = [":privateca_proto"], -) -- --java_grpc_library( -- name = "scheduler_java_grpc", -- srcs = [":scheduler_proto"], -- deps = [":scheduler_java_proto"], +- +-java_grpc_library( +- name = "privateca_java_grpc", +- srcs = [":privateca_proto"], +- deps = [":privateca_java_proto"], -) - -java_gapic_library( -- name = "scheduler_java_gapic", -- srcs = [":scheduler_proto_with_info"], -- grpc_service_config = "cloudscheduler_grpc_service_config.json", +- name = "privateca_java_gapic", +- srcs = [":privateca_proto_with_info"], +- grpc_service_config = "privateca_grpc_service_config.json", - test_deps = [ -- ":scheduler_java_grpc", +- ":privateca_java_grpc", - ], - deps = [ -- ":scheduler_java_proto", +- ":privateca_java_proto", - ], -) - -java_gapic_test( -- name = "scheduler_java_gapic_test_suite", +- name = "privateca_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.scheduler.v1.CloudSchedulerClientTest", +- "com.google.cloud.security.privateca.v1.CertificateAuthorityServiceClientTest", - ], -- runtime_deps = [":scheduler_java_gapic_test"], +- runtime_deps = [":privateca_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-scheduler-v1-java", +- name = "google-cloud-security-privateca-v1-java", - deps = [ -- ":scheduler_java_gapic", -- ":scheduler_java_grpc", -- ":scheduler_java_proto", -- ":scheduler_proto", +- ":privateca_java_gapic", +- ":privateca_java_grpc", +- ":privateca_java_proto", +- ":privateca_proto", - ], -) - @@ -42885,41 +60046,48 @@ diff -urN a/google/cloud/scheduler/v1/BUILD.bazel b/google/cloud/scheduler/v1/BU -) - -go_proto_library( -- name = "scheduler_go_proto", +- name = "privateca_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/scheduler/v1", -- protos = [":scheduler_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/security/privateca/v1", +- protos = [":privateca_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/rpc:status_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//google/type:expr_go_proto", - ], -) - -go_gapic_library( -- name = "scheduler_go_gapic", -- srcs = [":scheduler_proto_with_info"], -- grpc_service_config = "cloudscheduler_grpc_service_config.json", -- importpath = "cloud.google.com/go/scheduler/apiv1;scheduler", -- service_yaml = "cloudscheduler_v1.yaml", +- name = "privateca_go_gapic", +- srcs = [":privateca_proto_with_info"], +- grpc_service_config = "privateca_grpc_service_config.json", +- importpath = "cloud.google.com/go/security/privateca/apiv1;privateca", +- metadata = True, +- service_yaml = "privateca_v1.yaml", - deps = [ -- ":scheduler_go_proto", +- ":privateca_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "scheduler_go_gapic_test", -- srcs = [":scheduler_go_gapic_srcjar_test"], -- embed = [":scheduler_go_gapic"], -- importpath = "cloud.google.com/go/scheduler/apiv1", +- name = "privateca_go_gapic_test", +- srcs = [":privateca_go_gapic_srcjar_test"], +- embed = [":privateca_go_gapic"], +- importpath = "cloud.google.com/go/security/privateca/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-scheduler-v1-go", +- name = "gapi-cloud-security-privateca-v1-go", - deps = [ -- ":scheduler_go_gapic", -- ":scheduler_go_gapic_srcjar-test.srcjar", -- ":scheduler_go_proto", +- ":privateca_go_gapic", +- ":privateca_go_gapic_srcjar-metadata.srcjar", +- ":privateca_go_gapic_srcjar-test.srcjar", +- ":privateca_go_proto", - ], -) - @@ -42933,16 +60101,16 @@ diff -urN a/google/cloud/scheduler/v1/BUILD.bazel b/google/cloud/scheduler/v1/BU -) - -py_gapic_library( -- name = "scheduler_py_gapic", -- srcs = [":scheduler_proto"], -- grpc_service_config = "cloudscheduler_grpc_service_config.json", +- name = "privateca_py_gapic", +- srcs = [":privateca_proto"], +- grpc_service_config = "privateca_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "scheduler-v1-py", +- name = "security-privateca-v1-py", - deps = [ -- ":scheduler_py_gapic", +- ":privateca_py_gapic", - ], -) - @@ -42958,36 +60126,34 @@ diff -urN a/google/cloud/scheduler/v1/BUILD.bazel b/google/cloud/scheduler/v1/BU -) - -php_proto_library( -- name = "scheduler_php_proto", -- deps = [":scheduler_proto"], +- name = "privateca_php_proto", +- deps = [":privateca_proto"], -) - -php_grpc_library( -- name = "scheduler_php_grpc", -- srcs = [":scheduler_proto"], -- deps = [":scheduler_php_proto"], +- name = "privateca_php_grpc", +- srcs = [":privateca_proto"], +- deps = [":privateca_php_proto"], -) - -php_gapic_library( -- name = "scheduler_php_gapic", -- src = ":scheduler_proto_with_info", -- gapic_yaml = "cloudscheduler_gapic.yaml", -- grpc_service_config = "cloudscheduler_grpc_service_config.json", -- package = "google.cloud.scheduler.v1", -- service_yaml = "cloudscheduler_v1.yaml", +- name = "privateca_php_gapic", +- srcs = [":privateca_proto_with_info"], +- grpc_service_config = "privateca_grpc_service_config.json", +- service_yaml = "privateca_v1.yaml", - deps = [ -- ":scheduler_php_grpc", -- ":scheduler_php_proto", +- ":privateca_php_grpc", +- ":privateca_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-scheduler-v1-php", +- name = "google-cloud-security-privateca-v1-php", - deps = [ -- ":scheduler_php_gapic", -- ":scheduler_php_grpc", -- ":scheduler_php_proto", +- ":privateca_php_gapic", +- ":privateca_php_grpc", +- ":privateca_php_proto", - ], -) - @@ -43001,22 +60167,21 @@ diff -urN a/google/cloud/scheduler/v1/BUILD.bazel b/google/cloud/scheduler/v1/BU -) - -nodejs_gapic_library( -- name = "scheduler_nodejs_gapic", -- package_name = "@google-cloud/scheduler", -- src = ":scheduler_proto_with_info", +- name = "privateca_nodejs_gapic", +- package_name = "@google-cloud/privateca", +- src = ":privateca_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "cloudscheduler_grpc_service_config.json", -- main_service = "scheduler", -- package = "google.cloud.scheduler.v1", -- service_yaml = "cloudscheduler_v1.yaml", +- grpc_service_config = "privateca_grpc_service_config.json", +- package = "google.cloud.security.privateca.v1", +- service_yaml = "privateca_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "scheduler-v1-nodejs", +- name = "security-privateca-v1-nodejs", - deps = [ -- ":scheduler_nodejs_gapic", -- ":scheduler_proto", +- ":privateca_nodejs_gapic", +- ":privateca_proto", - ], -) - @@ -43025,49 +60190,50 @@ diff -urN a/google/cloud/scheduler/v1/BUILD.bazel b/google/cloud/scheduler/v1/BU -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "scheduler_ruby_proto", -- deps = [":scheduler_proto"], +- name = "privateca_ruby_proto", +- deps = [":privateca_proto"], -) - -ruby_grpc_library( -- name = "scheduler_ruby_grpc", -- srcs = [":scheduler_proto"], -- deps = [":scheduler_ruby_proto"], +- name = "privateca_ruby_grpc", +- srcs = [":privateca_proto"], +- deps = [":privateca_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "scheduler_ruby_gapic", -- srcs = [":scheduler_proto_with_info"], +- name = "privateca_ruby_gapic", +- srcs = [":privateca_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-scheduler-v1", -- "ruby-cloud-env-prefix=SCHEDULER", -- "ruby-cloud-product-url=https://cloud.google.com/scheduler", -- "ruby-cloud-api-id=cloudscheduler.googleapis.com", -- "ruby-cloud-api-shortname=cloudscheduler", +- "ruby-cloud-gem-name=google-cloud-security-private_ca-v1", +- "ruby-cloud-gem-namespace=Google::Cloud::Security::PrivateCA::V1", +- "ruby-cloud-env-prefix=PRIVATE_CA", +- "ruby-cloud-product-url=https://cloud.google.com/certificate-authority-service/", +- "ruby-cloud-api-id=privateca.googleapis.com", +- "ruby-cloud-api-shortname=privateca", - ], -- grpc_service_config = "cloudscheduler_grpc_service_config.json", -- ruby_cloud_description = "Cloud Scheduler is a fully managed enterprise-grade cron job scheduler. It allows you to schedule virtually any job, including batch, big data jobs, cloud infrastructure operations, and more. You can automate everything, including retries in case of failure to reduce manual toil and intervention. Cloud Scheduler even acts as a single pane of glass, allowing you to manage all your automation tasks from one place.", -- ruby_cloud_title = "Cloud Scheduler V1", +- grpc_service_config = "privateca_grpc_service_config.json", +- ruby_cloud_description = "Certificate Authority Service is a highly available, scalable Google Cloud service that enables you to simplify, automate, and customize the deployment, management, and security of private certificate authorities (CA).", +- ruby_cloud_title = "Ceritificate Authority Service V1", - deps = [ -- ":scheduler_ruby_grpc", -- ":scheduler_ruby_proto", +- ":privateca_ruby_grpc", +- ":privateca_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-scheduler-v1-ruby", +- name = "google-cloud-security-privateca-v1-ruby", - deps = [ -- ":scheduler_ruby_gapic", -- ":scheduler_ruby_grpc", -- ":scheduler_ruby_proto", +- ":privateca_ruby_gapic", +- ":privateca_ruby_grpc", +- ":privateca_ruby_proto", - ], -) - @@ -43083,34 +60249,34 @@ diff -urN a/google/cloud/scheduler/v1/BUILD.bazel b/google/cloud/scheduler/v1/BU -) - -csharp_proto_library( -- name = "scheduler_csharp_proto", -- deps = [":scheduler_proto"], +- name = "privateca_csharp_proto", +- deps = [":privateca_proto"], -) - -csharp_grpc_library( -- name = "scheduler_csharp_grpc", -- srcs = [":scheduler_proto"], -- deps = [":scheduler_csharp_proto"], +- name = "privateca_csharp_grpc", +- srcs = [":privateca_proto"], +- deps = [":privateca_csharp_proto"], -) - -csharp_gapic_library( -- name = "scheduler_csharp_gapic", -- srcs = [":scheduler_proto_with_info"], +- name = "privateca_csharp_gapic", +- srcs = [":privateca_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "cloudscheduler_grpc_service_config.json", +- grpc_service_config = "privateca_grpc_service_config.json", - deps = [ -- ":scheduler_csharp_grpc", -- ":scheduler_csharp_proto", +- ":privateca_csharp_grpc", +- ":privateca_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-scheduler-v1-csharp", +- name = "google-cloud-security-privateca-v1-csharp", - deps = [ -- ":scheduler_csharp_gapic", -- ":scheduler_csharp_grpc", -- ":scheduler_csharp_proto", +- ":privateca_csharp_gapic", +- ":privateca_csharp_grpc", +- ":privateca_csharp_proto", - ], -) - @@ -43118,11 +60284,20 @@ diff -urN a/google/cloud/scheduler/v1/BUILD.bazel b/google/cloud/scheduler/v1/BU -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/scheduler/v1beta1/BUILD.bazel b/google/cloud/scheduler/v1beta1/BUILD.bazel ---- a/google/cloud/scheduler/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/scheduler/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,338 +0,0 @@ +diff -urN a/google/cloud/security/privateca/v1beta1/BUILD.bazel b/google/cloud/security/privateca/v1beta1/BUILD.bazel +--- a/google/cloud/security/privateca/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/security/privateca/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,346 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -43134,29 +60309,28 @@ diff -urN a/google/cloud/scheduler/v1beta1/BUILD.bazel b/google/cloud/scheduler/ -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "scheduler_proto", +- name = "privateca_proto", - srcs = [ -- "cloudscheduler.proto", -- "job.proto", -- "target.proto", +- "resources.proto", +- "service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/rpc:status_proto", +- "//google/longrunning:operations_proto", - "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "scheduler_proto_with_info", +- name = "privateca_proto_with_info", - deps = [ -- ":scheduler_proto", +- ":privateca_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -43174,44 +60348,44 @@ diff -urN a/google/cloud/scheduler/v1beta1/BUILD.bazel b/google/cloud/scheduler/ -) - -java_proto_library( -- name = "scheduler_java_proto", -- deps = [":scheduler_proto"], +- name = "privateca_java_proto", +- deps = [":privateca_proto"], -) - -java_grpc_library( -- name = "scheduler_java_grpc", -- srcs = [":scheduler_proto"], -- deps = [":scheduler_java_proto"], +- name = "privateca_java_grpc", +- srcs = [":privateca_proto"], +- deps = [":privateca_java_proto"], -) - -java_gapic_library( -- name = "scheduler_java_gapic", -- srcs = [":scheduler_proto_with_info"], -- grpc_service_config = "cloudscheduler_grpc_service_config.json", +- name = "privateca_java_gapic", +- srcs = [":privateca_proto_with_info"], +- grpc_service_config = "privateca_grpc_service_config.json", - test_deps = [ -- ":scheduler_java_grpc", +- ":privateca_java_grpc", - ], - deps = [ -- ":scheduler_java_proto", +- ":privateca_java_proto", - ], -) - -java_gapic_test( -- name = "scheduler_java_gapic_test_suite", +- name = "privateca_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.scheduler.v1beta1.CloudSchedulerClientTest", +- "com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClientTest", - ], -- runtime_deps = [":scheduler_java_gapic_test"], +- runtime_deps = [":privateca_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-scheduler-v1beta1-java", +- name = "google-cloud-security-privateca-v1beta1-java", - deps = [ -- ":scheduler_java_gapic", -- ":scheduler_java_grpc", -- ":scheduler_java_proto", -- ":scheduler_proto", +- ":privateca_java_gapic", +- ":privateca_java_grpc", +- ":privateca_java_proto", +- ":privateca_proto", - ], -) - @@ -43227,41 +60401,45 @@ diff -urN a/google/cloud/scheduler/v1beta1/BUILD.bazel b/google/cloud/scheduler/ -) - -go_proto_library( -- name = "scheduler_go_proto", +- name = "privateca_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/scheduler/v1beta1", -- protos = [":scheduler_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/security/privateca/v1beta1", +- protos = [":privateca_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/rpc:status_go_proto", +- "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "scheduler_go_gapic", -- srcs = [":scheduler_proto_with_info"], -- grpc_service_config = "cloudscheduler_grpc_service_config.json", -- importpath = "cloud.google.com/go/scheduler/apiv1beta1;scheduler", -- service_yaml = "cloudscheduler_v1beta1.yaml", +- name = "privateca_go_gapic", +- srcs = [":privateca_proto_with_info"], +- grpc_service_config = "privateca_grpc_service_config.json", +- importpath = "cloud.google.com/go/security/privateca/apiv1beta1;privateca", +- service_yaml = "privateca_v1beta1.yaml", - deps = [ -- ":scheduler_go_proto", +- ":privateca_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "scheduler_go_gapic_test", -- srcs = [":scheduler_go_gapic_srcjar_test"], -- embed = [":scheduler_go_gapic"], -- importpath = "cloud.google.com/go/scheduler/apiv1beta1", +- name = "privateca_go_gapic_test", +- srcs = [":privateca_go_gapic_srcjar_test"], +- embed = [":privateca_go_gapic"], +- importpath = "cloud.google.com/go/security/privateca/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-scheduler-v1beta1-go", +- name = "gapi-cloud-security-privateca-v1beta1-go", - deps = [ -- ":scheduler_go_gapic", -- ":scheduler_go_gapic_srcjar-test.srcjar", -- ":scheduler_go_proto", +- ":privateca_go_gapic", +- ":privateca_go_gapic_srcjar-test.srcjar", +- ":privateca_go_proto", - ], -) - @@ -43275,16 +60453,15 @@ diff -urN a/google/cloud/scheduler/v1beta1/BUILD.bazel b/google/cloud/scheduler/ -) - -py_gapic_library( -- name = "scheduler_py_gapic", -- srcs = [":scheduler_proto"], -- grpc_service_config = "cloudscheduler_grpc_service_config.json", +- name = "privateca_py_gapic", +- srcs = [":privateca_proto"], +- grpc_service_config = "privateca_grpc_service_config.json", -) - --# Open Source Packages -py_gapic_assembly_pkg( -- name = "scheduler-v1beta1-py", +- name = "security-privateca-v1beta1-py", - deps = [ -- ":scheduler_py_gapic", +- ":privateca_py_gapic", - ], -) - @@ -43300,36 +60477,33 @@ diff -urN a/google/cloud/scheduler/v1beta1/BUILD.bazel b/google/cloud/scheduler/ -) - -php_proto_library( -- name = "scheduler_php_proto", -- deps = [":scheduler_proto"], +- name = "privateca_php_proto", +- deps = [":privateca_proto"], -) - -php_grpc_library( -- name = "scheduler_php_grpc", -- srcs = [":scheduler_proto"], -- deps = [":scheduler_php_proto"], +- name = "privateca_php_grpc", +- srcs = [":privateca_proto"], +- deps = [":privateca_php_proto"], -) - -php_gapic_library( -- name = "scheduler_php_gapic", -- src = ":scheduler_proto_with_info", -- gapic_yaml = "cloudscheduler_gapic.yaml", -- grpc_service_config = "cloudscheduler_grpc_service_config.json", -- package = "google.cloud.scheduler.v1beta1", -- service_yaml = "cloudscheduler_v1beta1.yaml", +- name = "privateca_php_gapic", +- srcs = [":privateca_proto_with_info"], +- grpc_service_config = "privateca_grpc_service_config.json", - deps = [ -- ":scheduler_php_grpc", -- ":scheduler_php_proto", +- ":privateca_php_grpc", +- ":privateca_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-scheduler-v1beta1-php", +- name = "google-cloud-security-privateca-v1beta1-php", - deps = [ -- ":scheduler_php_gapic", -- ":scheduler_php_grpc", -- ":scheduler_php_proto", +- ":privateca_php_gapic", +- ":privateca_php_grpc", +- ":privateca_php_proto", - ], -) - @@ -43343,22 +60517,21 @@ diff -urN a/google/cloud/scheduler/v1beta1/BUILD.bazel b/google/cloud/scheduler/ -) - -nodejs_gapic_library( -- name = "scheduler_nodejs_gapic", -- package_name = "@google-cloud/scheduler", -- src = ":scheduler_proto_with_info", +- name = "privateca_nodejs_gapic", +- package_name = "@google-cloud/security-private-ca", +- src = ":privateca_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "cloudscheduler_grpc_service_config.json", -- main_service = "scheduler", -- package = "google.cloud.scheduler.v1beta1", -- service_yaml = "cloudscheduler_v1beta1.yaml", +- grpc_service_config = "privateca_grpc_service_config.json", +- package = "google.cloud.security.privateca.v1beta1", +- service_yaml = "privateca_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "scheduler-v1beta1-nodejs", +- name = "security-privateca-v1beta1-nodejs", - deps = [ -- ":scheduler_nodejs_gapic", -- ":scheduler_proto", +- ":privateca_nodejs_gapic", +- ":privateca_proto", - ], -) - @@ -43367,49 +60540,50 @@ diff -urN a/google/cloud/scheduler/v1beta1/BUILD.bazel b/google/cloud/scheduler/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "scheduler_ruby_proto", -- deps = [":scheduler_proto"], +- name = "privateca_ruby_proto", +- deps = [":privateca_proto"], -) - -ruby_grpc_library( -- name = "scheduler_ruby_grpc", -- srcs = [":scheduler_proto"], -- deps = [":scheduler_ruby_proto"], +- name = "privateca_ruby_grpc", +- srcs = [":privateca_proto"], +- deps = [":privateca_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "scheduler_ruby_gapic", -- srcs = [":scheduler_proto_with_info"], +- name = "privateca_ruby_gapic", +- srcs = [":privateca_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-scheduler-v1beta1", -- "ruby-cloud-env-prefix=SCHEDULER", -- "ruby-cloud-product-url=https://cloud.google.com/scheduler", -- "ruby-cloud-api-id=cloudscheduler.googleapis.com", -- "ruby-cloud-api-shortname=cloudscheduler", +- "ruby-cloud-gem-name=google-cloud-security-private_ca-v1beta1", +- "ruby-cloud-gem-namespace=Google::Cloud::Security::PrivateCA::V1beta1", +- "ruby-cloud-env-prefix=PRIVATE_CA", +- "ruby-cloud-product-url=https://cloud.google.com/certificate-authority-service/", +- "ruby-cloud-api-id=privateca.googleapis.com", +- "ruby-cloud-api-shortname=privateca", - ], -- grpc_service_config = "cloudscheduler_grpc_service_config.json", -- ruby_cloud_description = "Cloud Scheduler is a fully managed enterprise-grade cron job scheduler. It allows you to schedule virtually any job, including batch, big data jobs, cloud infrastructure operations, and more. You can automate everything, including retries in case of failure to reduce manual toil and intervention. Cloud Scheduler even acts as a single pane of glass, allowing you to manage all your automation tasks from one place.", -- ruby_cloud_title = "Cloud Scheduler V1beta1", +- grpc_service_config = "privateca_grpc_service_config.json", +- ruby_cloud_description = "Certificate Authority Service is a highly available, scalable Google Cloud service that enables you to simplify, automate, and customize the deployment, management, and security of private certificate authorities (CA).", +- ruby_cloud_title = "Certificate Authority Service V1beta1", - deps = [ -- ":scheduler_ruby_grpc", -- ":scheduler_ruby_proto", +- ":privateca_ruby_grpc", +- ":privateca_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-scheduler-v1beta1-ruby", +- name = "google-cloud-security-privateca-v1beta1-ruby", - deps = [ -- ":scheduler_ruby_gapic", -- ":scheduler_ruby_grpc", -- ":scheduler_ruby_proto", +- ":privateca_ruby_gapic", +- ":privateca_ruby_grpc", +- ":privateca_ruby_proto", - ], -) - @@ -43425,34 +60599,34 @@ diff -urN a/google/cloud/scheduler/v1beta1/BUILD.bazel b/google/cloud/scheduler/ -) - -csharp_proto_library( -- name = "scheduler_csharp_proto", -- deps = [":scheduler_proto"], +- name = "privateca_csharp_proto", +- deps = [":privateca_proto"], -) - -csharp_grpc_library( -- name = "scheduler_csharp_grpc", -- srcs = [":scheduler_proto"], -- deps = [":scheduler_csharp_proto"], +- name = "privateca_csharp_grpc", +- srcs = [":privateca_proto"], +- deps = [":privateca_csharp_proto"], -) - -csharp_gapic_library( -- name = "scheduler_csharp_gapic", -- srcs = [":scheduler_proto_with_info"], +- name = "privateca_csharp_gapic", +- srcs = [":privateca_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "cloudscheduler_grpc_service_config.json", +- grpc_service_config = "privateca_grpc_service_config.json", - deps = [ -- ":scheduler_csharp_grpc", -- ":scheduler_csharp_proto", +- ":privateca_csharp_grpc", +- ":privateca_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-scheduler-v1beta1-csharp", +- name = "google-cloud-security-privateca-v1beta1-csharp", - deps = [ -- ":scheduler_csharp_gapic", -- ":scheduler_csharp_grpc", -- ":scheduler_csharp_proto", +- ":privateca_csharp_gapic", +- ":privateca_csharp_grpc", +- ":privateca_csharp_proto", - ], -) - @@ -43460,11 +60634,25 @@ diff -urN a/google/cloud/scheduler/v1beta1/BUILD.bazel b/google/cloud/scheduler/ -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/secretmanager/v1/BUILD.bazel b/google/cloud/secretmanager/v1/BUILD.bazel ---- a/google/cloud/secretmanager/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/secretmanager/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,339 +0,0 @@ +diff -urN a/google/cloud/securitycenter/BUILD.bazel b/google/cloud/securitycenter/BUILD.bazel +--- a/google/cloud/securitycenter/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/securitycenter/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel b/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel +--- a/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,333 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -43476,19 +60664,20 @@ diff -urN a/google/cloud/secretmanager/v1/BUILD.bazel b/google/cloud/secretmanag -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "secretmanager_proto", +- name = "settings_proto", - srcs = [ -- "resources.proto", -- "service.proto", +- "billing_settings.proto", +- "component_settings.proto", +- "detector.proto", +- "securitycenter_settings_service.proto", +- "settings.proto", +- "sink_settings.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/iam/v1:iam_policy_proto", -- "//google/iam/v1:policy_proto", -- "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", @@ -43496,9 +60685,9 @@ diff -urN a/google/cloud/secretmanager/v1/BUILD.bazel b/google/cloud/secretmanag -) - -proto_library_with_info( -- name = "secretmanager_proto_with_info", +- name = "settings_proto_with_info", - deps = [ -- ":secretmanager_proto", +- ":settings_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -43516,46 +60705,44 @@ diff -urN a/google/cloud/secretmanager/v1/BUILD.bazel b/google/cloud/secretmanag -) - -java_proto_library( -- name = "secretmanager_java_proto", -- deps = [":secretmanager_proto"], +- name = "settings_java_proto", +- deps = [":settings_proto"], -) - -java_grpc_library( -- name = "secretmanager_java_grpc", -- srcs = [":secretmanager_proto"], -- deps = [":secretmanager_java_proto"], +- name = "settings_java_grpc", +- srcs = [":settings_proto"], +- deps = [":settings_java_proto"], -) - -java_gapic_library( -- name = "secretmanager_java_gapic", -- srcs = [":secretmanager_proto_with_info"], -- grpc_service_config = "secretmanager_grpc_service_config.json", +- name = "settings_java_gapic", +- srcs = [":settings_proto_with_info"], +- grpc_service_config = "securitycenter_settings_grpc_service_config.json", - test_deps = [ -- ":secretmanager_java_grpc", -- "//google/iam/v1:iam_java_grpc", +- ":settings_java_grpc", - ], - deps = [ -- ":secretmanager_java_proto", -- "//google/iam/v1:iam_java_proto", +- ":settings_java_proto", - ], -) - -java_gapic_test( -- name = "secretmanager_java_gapic_test_suite", +- name = "settings_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.secretmanager.v1.SecretManagerServiceClientTest", +- "com.google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsServiceClientTest", - ], -- runtime_deps = [":secretmanager_java_gapic_test"], +- runtime_deps = [":settings_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-secretmanager-v1-java", +- name = "google-cloud-securitycenter-settings-v1beta1-java", - deps = [ -- ":secretmanager_java_gapic", -- ":secretmanager_java_grpc", -- ":secretmanager_java_proto", -- ":secretmanager_proto", +- ":settings_java_gapic", +- ":settings_java_grpc", +- ":settings_java_proto", +- ":settings_proto", - ], -) - @@ -43571,42 +60758,40 @@ diff -urN a/google/cloud/secretmanager/v1/BUILD.bazel b/google/cloud/secretmanag -) - -go_proto_library( -- name = "secretmanager_go_proto", +- name = "settings_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/secretmanager/v1", -- protos = [":secretmanager_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/securitycenter/settings/v1beta1", +- protos = [":settings_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/iam/v1:iam_go_proto", - ], -) - -go_gapic_library( -- name = "secretmanager_go_gapic", -- srcs = [":secretmanager_proto_with_info"], -- grpc_service_config = "secretmanager_grpc_service_config.json", -- importpath = "cloud.google.com/go/secretmanager/apiv1;secretmanager", -- service_yaml = "secretmanager_v1.yaml", +- name = "settings_go_gapic", +- srcs = [":settings_proto_with_info"], +- grpc_service_config = "securitycenter_settings_grpc_service_config.json", +- importpath = "cloud.google.com/go/securitycenter/settings/apiv1beta1;settings", +- service_yaml = "securitycenter_settings.yaml", - deps = [ -- ":secretmanager_go_proto", -- "//google/iam/v1:iam_go_proto", +- ":settings_go_proto", - ], -) - -go_test( -- name = "secretmanager_go_gapic_test", -- srcs = [":secretmanager_go_gapic_srcjar_test"], -- embed = [":secretmanager_go_gapic"], -- importpath = "cloud.google.com/go/secretmanager/apiv1", +- name = "settings_go_gapic_test", +- srcs = [":settings_go_gapic_srcjar_test"], +- embed = [":settings_go_gapic"], +- importpath = "cloud.google.com/go/securitycenter/settings/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-secretmanager-v1-go", +- name = "gapi-cloud-securitycenter-settings-v1beta1-go", - deps = [ -- ":secretmanager_go_gapic", -- ":secretmanager_go_gapic_srcjar-test.srcjar", -- ":secretmanager_go_proto", +- ":settings_go_gapic", +- ":settings_go_gapic_srcjar-test.srcjar", +- ":settings_go_proto", - ], -) - @@ -43620,15 +60805,16 @@ diff -urN a/google/cloud/secretmanager/v1/BUILD.bazel b/google/cloud/secretmanag -) - -py_gapic_library( -- name = "secretmanager_py_gapic", -- srcs = [":secretmanager_proto"], -- grpc_service_config = "secretmanager_grpc_service_config.json", +- name = "settings_py_gapic", +- srcs = [":settings_proto"], +- grpc_service_config = "securitycenter_settings_grpc_service_config.json", -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "secretmanager-v1-py", +- name = "securitycenter-settings-v1beta1-py", - deps = [ -- ":secretmanager_py_gapic", +- ":settings_py_gapic", - ], -) - @@ -43644,36 +60830,33 @@ diff -urN a/google/cloud/secretmanager/v1/BUILD.bazel b/google/cloud/secretmanag -) - -php_proto_library( -- name = "secretmanager_php_proto", -- deps = [":secretmanager_proto"], +- name = "settings_php_proto", +- deps = [":settings_proto"], -) - -php_grpc_library( -- name = "secretmanager_php_grpc", -- srcs = [":secretmanager_proto"], -- deps = [":secretmanager_php_proto"], +- name = "settings_php_grpc", +- srcs = [":settings_proto"], +- deps = [":settings_php_proto"], -) - -php_gapic_library( -- name = "secretmanager_php_gapic", -- src = ":secretmanager_proto_with_info", -- gapic_yaml = "secretmanager_gapic.yaml", -- grpc_service_config = "secretmanager_grpc_service_config.json", -- package = "google.cloud.secretmanager.v1", -- service_yaml = "secretmanager_v1.yaml", +- name = "settings_php_gapic", +- srcs = [":settings_proto_with_info"], +- grpc_service_config = "securitycenter_settings_grpc_service_config.json", - deps = [ -- ":secretmanager_php_grpc", -- ":secretmanager_php_proto", +- ":settings_php_grpc", +- ":settings_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-secretmanager-v1-php", +- name = "google-cloud-securitycenter-settings-v1beta1-php", - deps = [ -- ":secretmanager_php_gapic", -- ":secretmanager_php_grpc", -- ":secretmanager_php_proto", +- ":settings_php_gapic", +- ":settings_php_grpc", +- ":settings_php_proto", - ], -) - @@ -43687,21 +60870,20 @@ diff -urN a/google/cloud/secretmanager/v1/BUILD.bazel b/google/cloud/secretmanag -) - -nodejs_gapic_library( -- name = "secretmanager_nodejs_gapic", -- package_name = "@google-cloud/secret-manager", -- src = ":secretmanager_proto_with_info", +- name = "settings_nodejs_gapic", +- src = ":settings_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "secretmanager_grpc_service_config.json", -- package = "google.cloud.secretmanager.v1", -- service_yaml = "secretmanager_v1.yaml", +- grpc_service_config = "securitycenter_settings_grpc_service_config.json", +- package = "google.cloud.securitycenter.settings.v1beta1", +- service_yaml = "securitycenter_settings.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "secretmanager-v1-nodejs", +- name = "securitycenter-settings-v1beta1-nodejs", - deps = [ -- ":secretmanager_nodejs_gapic", -- ":secretmanager_proto", +- ":settings_nodejs_gapic", +- ":settings_proto", - ], -) - @@ -43717,42 +60899,33 @@ diff -urN a/google/cloud/secretmanager/v1/BUILD.bazel b/google/cloud/secretmanag -) - -ruby_proto_library( -- name = "secretmanager_ruby_proto", -- deps = [":secretmanager_proto"], +- name = "settings_ruby_proto", +- deps = [":settings_proto"], -) - -ruby_grpc_library( -- name = "secretmanager_ruby_grpc", -- srcs = [":secretmanager_proto"], -- deps = [":secretmanager_ruby_proto"], +- name = "settings_ruby_grpc", +- srcs = [":settings_proto"], +- deps = [":settings_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "secretmanager_ruby_gapic", -- srcs = [":secretmanager_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-secret_manager-v1", -- "ruby-cloud-env-prefix=SECRET_MANAGER", -- "ruby-cloud-product-url=https://cloud.google.com/secret-manager", -- "ruby-cloud-api-id=secretmanager.googleapis.com", -- "ruby-cloud-api-shortname=secretmanager", -- ], -- grpc_service_config = "secretmanager_grpc_service_config.json", -- ruby_cloud_description = "Secret Manager is a secure and convenient storage system for API keys, passwords, certificates, and other sensitive data. Secret Manager provides a central place and single source of truth to manage, access, and audit secrets across Google Cloud.", -- ruby_cloud_title = "Secret Manager V1", +- name = "settings_ruby_gapic", +- srcs = [":settings_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-settings-v1beta1"], - deps = [ -- ":secretmanager_ruby_grpc", -- ":secretmanager_ruby_proto", +- ":settings_ruby_grpc", +- ":settings_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-secretmanager-v1-ruby", +- name = "google-cloud-securitycenter-settings-v1beta1-ruby", - deps = [ -- ":secretmanager_ruby_gapic", -- ":secretmanager_ruby_grpc", -- ":secretmanager_ruby_proto", +- ":settings_ruby_gapic", +- ":settings_ruby_grpc", +- ":settings_ruby_proto", - ], -) - @@ -43768,34 +60941,34 @@ diff -urN a/google/cloud/secretmanager/v1/BUILD.bazel b/google/cloud/secretmanag -) - -csharp_proto_library( -- name = "secretmanager_csharp_proto", -- deps = [":secretmanager_proto"], +- name = "settings_csharp_proto", +- deps = [":settings_proto"], -) - -csharp_grpc_library( -- name = "secretmanager_csharp_grpc", -- srcs = [":secretmanager_proto"], -- deps = [":secretmanager_csharp_proto"], +- name = "settings_csharp_grpc", +- srcs = [":settings_proto"], +- deps = [":settings_csharp_proto"], -) - -csharp_gapic_library( -- name = "secretmanager_csharp_gapic", -- srcs = [":secretmanager_proto_with_info"], +- name = "settings_csharp_gapic", +- srcs = [":settings_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "secretmanager_grpc_service_config.json", +- grpc_service_config = "securitycenter_settings_grpc_service_config.json", - deps = [ -- ":secretmanager_csharp_grpc", -- ":secretmanager_csharp_proto", +- ":settings_csharp_grpc", +- ":settings_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-secretmanager-v1-csharp", +- name = "google-cloud-securitycenter-settings-v1beta1-csharp", - deps = [ -- ":secretmanager_csharp_gapic", -- ":secretmanager_csharp_grpc", -- ":secretmanager_csharp_proto", +- ":settings_csharp_gapic", +- ":settings_csharp_grpc", +- ":settings_csharp_proto", - ], -) - @@ -43803,10 +60976,12 @@ diff -urN a/google/cloud/secretmanager/v1/BUILD.bazel b/google/cloud/secretmanag -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/secrets/v1beta1/BUILD.bazel b/google/cloud/secrets/v1beta1/BUILD.bazel ---- a/google/cloud/secrets/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/secrets/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,340 +0,0 @@ +diff -urN a/google/cloud/securitycenter/v1/BUILD.bazel b/google/cloud/securitycenter/v1/BUILD.bazel +--- a/google/cloud/securitycenter/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/securitycenter/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,350 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) - @@ -43817,10 +60992,19 @@ diff -urN a/google/cloud/secrets/v1beta1/BUILD.bazel b/google/cloud/secrets/v1be -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "secretmanager_proto", +- name = "securitycenter_proto", - srcs = [ -- "resources.proto", -- "service.proto", +- "asset.proto", +- "finding.proto", +- "folder.proto", +- "notification_config.proto", +- "notification_message.proto", +- "organization_settings.proto", +- "resource.proto", +- "run_asset_discovery_response.proto", +- "security_marks.proto", +- "securitycenter_service.proto", +- "source.proto", - ], - deps = [ - "//google/api:annotations_proto", @@ -43829,16 +61013,19 @@ diff -urN a/google/cloud/secrets/v1beta1/BUILD.bazel b/google/cloud/secrets/v1be - "//google/api:resource_proto", - "//google/iam/v1:iam_policy_proto", - "//google/iam/v1:policy_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "secretmanager_proto_with_info", +- name = "securitycenter_proto_with_info", - deps = [ -- ":secretmanager_proto", +- ":securitycenter_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -43856,46 +61043,46 @@ diff -urN a/google/cloud/secrets/v1beta1/BUILD.bazel b/google/cloud/secrets/v1be -) - -java_proto_library( -- name = "secretmanager_java_proto", -- deps = [":secretmanager_proto"], +- name = "securitycenter_java_proto", +- deps = [":securitycenter_proto"], -) - -java_grpc_library( -- name = "secretmanager_java_grpc", -- srcs = [":secretmanager_proto"], -- deps = [":secretmanager_java_proto"], +- name = "securitycenter_java_grpc", +- srcs = [":securitycenter_proto"], +- deps = [":securitycenter_java_proto"], -) - -java_gapic_library( -- name = "secretmanager_java_gapic", -- srcs = [":secretmanager_proto_with_info"], -- grpc_service_config = "secretmanager_grpc_service_config.json", +- name = "securitycenter_java_gapic", +- srcs = [":securitycenter_proto_with_info"], +- grpc_service_config = "securitycenter_grpc_service_config.json", - test_deps = [ -- ":secretmanager_java_grpc", +- ":securitycenter_java_grpc", - "//google/iam/v1:iam_java_grpc", - ], - deps = [ -- ":secretmanager_java_proto", +- ":securitycenter_java_proto", - "//google/iam/v1:iam_java_proto", - ], -) - -java_gapic_test( -- name = "secretmanager_java_gapic_test_suite", +- name = "securitycenter_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.secretmanager.v1beta1.SecretManagerServiceClientTest", +- "com.google.cloud.securitycenter.v1.SecurityCenterClientTest", - ], -- runtime_deps = [":secretmanager_java_gapic_test"], +- runtime_deps = [":securitycenter_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-secretmanager-v1beta1-java", +- name = "google-cloud-securitycenter-v1-java", - deps = [ -- ":secretmanager_java_gapic", -- ":secretmanager_java_grpc", -- ":secretmanager_java_proto", -- ":secretmanager_proto", +- ":securitycenter_java_gapic", +- ":securitycenter_java_grpc", +- ":securitycenter_java_proto", +- ":securitycenter_proto", - ], -) - @@ -43911,42 +61098,48 @@ diff -urN a/google/cloud/secrets/v1beta1/BUILD.bazel b/google/cloud/secrets/v1be -) - -go_proto_library( -- name = "secretmanager_go_proto", +- name = "securitycenter_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/secretmanager/v1beta1", -- protos = [":secretmanager_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1", +- protos = [":securitycenter_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "secretmanager_go_gapic", -- srcs = [":secretmanager_proto_with_info"], -- grpc_service_config = "secretmanager_grpc_service_config.json", -- importpath = "cloud.google.com/go/secretmanager/apiv1beta1;secretmanager", -- service_yaml = "//google/cloud/secrets/v1beta1:secretmanager_v1beta1.yaml", +- name = "securitycenter_go_gapic", +- srcs = [":securitycenter_proto_with_info"], +- grpc_service_config = "securitycenter_grpc_service_config.json", +- importpath = "cloud.google.com/go/securitycenter/apiv1;securitycenter", +- service_yaml = "securitycenter_v1.yaml", - deps = [ -- ":secretmanager_go_proto", +- ":securitycenter_go_proto", - "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- "@io_bazel_rules_go//proto/wkt:struct_go_proto", - ], -) - -go_test( -- name = "secretmanager_go_gapic_test", -- srcs = [":secretmanager_go_gapic_srcjar_test"], -- embed = [":secretmanager_go_gapic"], -- importpath = "cloud.google.com/go/secretmanager/apiv1beta1", +- name = "securitycenter_go_gapic_test", +- srcs = [":securitycenter_go_gapic_srcjar_test"], +- embed = [":securitycenter_go_gapic"], +- importpath = "cloud.google.com/go/securitycenter/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-secretmanager-v1beta1-go", +- name = "gapi-cloud-securitycenter-v1-go", - deps = [ -- ":secretmanager_go_gapic", -- ":secretmanager_go_gapic_srcjar-test.srcjar", -- ":secretmanager_go_proto", +- ":securitycenter_go_gapic", +- ":securitycenter_go_gapic_srcjar-test.srcjar", +- ":securitycenter_go_proto", - ], -) - @@ -43960,19 +61153,16 @@ diff -urN a/google/cloud/secrets/v1beta1/BUILD.bazel b/google/cloud/secrets/v1be -) - -py_gapic_library( -- name = "secretmanager_py_gapic", -- srcs = [":secretmanager_proto"], -- grpc_service_config = "secretmanager_grpc_service_config.json", -- opt_args = [ -- "python-gapic-namespace=google.cloud", -- "python-gapic-name=secretmanager", -- ], +- name = "securitycenter_py_gapic", +- srcs = [":securitycenter_proto"], +- grpc_service_config = "securitycenter_grpc_service_config.json", -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "secretmanager-v1beta1-py", +- name = "securitycenter-v1-py", - deps = [ -- ":secretmanager_py_gapic", +- ":securitycenter_py_gapic", - ], -) - @@ -43988,36 +61178,34 @@ diff -urN a/google/cloud/secrets/v1beta1/BUILD.bazel b/google/cloud/secrets/v1be -) - -php_proto_library( -- name = "secretmanager_php_proto", -- deps = [":secretmanager_proto"], +- name = "securitycenter_php_proto", +- deps = [":securitycenter_proto"], -) - -php_grpc_library( -- name = "secretmanager_php_grpc", -- srcs = [":secretmanager_proto"], -- deps = [":secretmanager_php_proto"], +- name = "securitycenter_php_grpc", +- srcs = [":securitycenter_proto"], +- deps = [":securitycenter_php_proto"], -) - -php_gapic_library( -- name = "secretmanager_php_gapic", -- src = ":secretmanager_proto_with_info", -- gapic_yaml = "secretmanager_gapic.yaml", -- grpc_service_config = "secretmanager_grpc_service_config.json", -- package = "google.cloud.secrets.v1beta1", -- service_yaml = "//google/cloud/secrets/v1beta1:secretmanager_v1beta1.yaml", +- name = "securitycenter_php_gapic", +- srcs = [":securitycenter_proto_with_info"], +- grpc_service_config = "securitycenter_grpc_service_config.json", +- service_yaml = "securitycenter_v1.yaml", - deps = [ -- ":secretmanager_php_grpc", -- ":secretmanager_php_proto", +- ":securitycenter_php_grpc", +- ":securitycenter_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-secretmanager-v1beta1-php", +- name = "google-cloud-securitycenter-v1-php", - deps = [ -- ":secretmanager_php_gapic", -- ":secretmanager_php_grpc", -- ":secretmanager_php_proto", +- ":securitycenter_php_gapic", +- ":securitycenter_php_grpc", +- ":securitycenter_php_proto", - ], -) - @@ -44031,21 +61219,21 @@ diff -urN a/google/cloud/secrets/v1beta1/BUILD.bazel b/google/cloud/secrets/v1be -) - -nodejs_gapic_library( -- name = "secretmanager_nodejs_gapic", -- package_name = "@google-cloud/secret-manager", -- src = ":secretmanager_proto_with_info", +- name = "securitycenter_nodejs_gapic", +- package_name = "@google-cloud/security-center", +- src = ":securitycenter_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "secretmanager_grpc_service_config.json", -- package = "google.cloud.secrets.v1beta1", -- service_yaml = "//google/cloud/secrets/v1beta1:secretmanager_v1beta1.yaml", +- grpc_service_config = "securitycenter_grpc_service_config.json", +- package = "google.cloud.securitycenter.v1", +- service_yaml = "securitycenter_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "secretmanager-v1beta1-nodejs", +- name = "securitycenter-v1-nodejs", - deps = [ -- ":secretmanager_nodejs_gapic", -- ":secretmanager_proto", +- ":securitycenter_nodejs_gapic", +- ":securitycenter_proto", - ], -) - @@ -44054,49 +61242,49 @@ diff -urN a/google/cloud/secrets/v1beta1/BUILD.bazel b/google/cloud/secrets/v1be -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "secretmanager_ruby_proto", -- deps = [":secretmanager_proto"], +- name = "securitycenter_ruby_proto", +- deps = [":securitycenter_proto"], -) - -ruby_grpc_library( -- name = "secretmanager_ruby_grpc", -- srcs = [":secretmanager_proto"], -- deps = [":secretmanager_ruby_proto"], +- name = "securitycenter_ruby_grpc", +- srcs = [":securitycenter_proto"], +- deps = [":securitycenter_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "secretmanager_ruby_gapic", -- srcs = [":secretmanager_proto_with_info"], +- name = "securitycenter_ruby_gapic", +- srcs = [":securitycenter_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-secret_manager-v1beta1", -- "ruby-cloud-env-prefix=SECRET_MANAGER", -- "ruby-cloud-product-url=https://cloud.google.com/secret-manager", -- "ruby-cloud-api-id=secretmanager.googleapis.com", -- "ruby-cloud-api-shortname=secretmanager", +- "ruby-cloud-gem-name=google-cloud-security_center-v1", +- "ruby-cloud-env-prefix=SECURITY_CENTER", +- "ruby-cloud-product-url=https://cloud.google.com/security-command-center", +- "ruby-cloud-api-id=securitycenter.googleapis.com", +- "ruby-cloud-api-shortname=securitycenter", - ], -- grpc_service_config = "secretmanager_grpc_service_config.json", -- ruby_cloud_description = "Secret Manager is a secure and convenient storage system for API keys, passwords, certificates, and other sensitive data. Secret Manager provides a central place and single source of truth to manage, access, and audit secrets across Google Cloud.", -- ruby_cloud_title = "Secret Manager V1beta1", +- grpc_service_config = "securitycenter_grpc_service_config.json", +- ruby_cloud_description = "Security Command Center API provides access to temporal views of assets and findings within an organization.", +- ruby_cloud_title = "Cloud Security Command Center V1", - deps = [ -- ":secretmanager_ruby_grpc", -- ":secretmanager_ruby_proto", +- ":securitycenter_ruby_grpc", +- ":securitycenter_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-secretmanager-v1beta1-ruby", +- name = "google-cloud-securitycenter-v1-ruby", - deps = [ -- ":secretmanager_ruby_gapic", -- ":secretmanager_ruby_grpc", -- ":secretmanager_ruby_proto", +- ":securitycenter_ruby_gapic", +- ":securitycenter_ruby_grpc", +- ":securitycenter_ruby_proto", - ], -) - @@ -44112,55 +61300,41 @@ diff -urN a/google/cloud/secrets/v1beta1/BUILD.bazel b/google/cloud/secrets/v1be -) - -csharp_proto_library( -- name = "secretmanager_csharp_proto", -- deps = [":secretmanager_proto"], +- name = "securitycenter_csharp_proto", +- deps = [":securitycenter_proto"], -) - -csharp_grpc_library( -- name = "secretmanager_csharp_grpc", -- srcs = [":secretmanager_proto"], -- deps = [":secretmanager_csharp_proto"], +- name = "securitycenter_csharp_grpc", +- srcs = [":securitycenter_proto"], +- deps = [":securitycenter_csharp_proto"], -) - -csharp_gapic_library( -- name = "secretmanager_csharp_gapic", -- srcs = [":secretmanager_proto_with_info"], +- name = "securitycenter_csharp_gapic", +- srcs = [":securitycenter_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "secretmanager_grpc_service_config.json", +- grpc_service_config = "securitycenter_grpc_service_config.json", - deps = [ -- ":secretmanager_csharp_grpc", -- ":secretmanager_csharp_proto", +- ":securitycenter_csharp_grpc", +- ":securitycenter_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-secretmanager-v1beta1-csharp", +- name = "google-cloud-securitycenter-v1-csharp", - deps = [ -- ":secretmanager_csharp_gapic", -- ":secretmanager_csharp_grpc", -- ":secretmanager_csharp_proto", +- ":securitycenter_csharp_gapic", +- ":securitycenter_csharp_grpc", +- ":securitycenter_csharp_proto", - ], -) -- --############################################################################## --# C++ --############################################################################## --# Put your C++ rules here -diff -urN a/google/cloud/security/privateca/v1beta1/BUILD.bazel b/google/cloud/security/privateca/v1beta1/BUILD.bazel ---- a/google/cloud/security/privateca/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/security/privateca/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,349 +0,0 @@ +diff -urN a/google/cloud/securitycenter/v1beta1/BUILD.bazel b/google/cloud/securitycenter/v1beta1/BUILD.bazel +--- a/google/cloud/securitycenter/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/securitycenter/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,337 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel -- --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -44172,28 +61346,36 @@ diff -urN a/google/cloud/security/privateca/v1beta1/BUILD.bazel b/google/cloud/s -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "privateca_proto", +- name = "securitycenter_proto", - srcs = [ -- "resources.proto", -- "service.proto", +- "asset.proto", +- "finding.proto", +- "organization_settings.proto", +- "run_asset_discovery_response.proto", +- "security_marks.proto", +- "securitycenter_service.proto", +- "source.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", +- "//google/iam/v1:iam_policy_proto", +- "//google/iam/v1:policy_proto", - "//google/longrunning:operations_proto", - "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", -- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "privateca_proto_with_info", +- name = "securitycenter_proto_with_info", - deps = [ -- ":privateca_proto", +- ":securitycenter_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -44211,44 +61393,46 @@ diff -urN a/google/cloud/security/privateca/v1beta1/BUILD.bazel b/google/cloud/s -) - -java_proto_library( -- name = "privateca_java_proto", -- deps = [":privateca_proto"], +- name = "securitycenter_java_proto", +- deps = [":securitycenter_proto"], -) - -java_grpc_library( -- name = "privateca_java_grpc", -- srcs = [":privateca_proto"], -- deps = [":privateca_java_proto"], +- name = "securitycenter_java_grpc", +- srcs = [":securitycenter_proto"], +- deps = [":securitycenter_java_proto"], -) - -java_gapic_library( -- name = "privateca_java_gapic", -- srcs = [":privateca_proto_with_info"], -- grpc_service_config = "privateca_grpc_service_config.json", +- name = "securitycenter_java_gapic", +- srcs = [":securitycenter_proto_with_info"], +- grpc_service_config = "securitycenter_grpc_service_config.json", - test_deps = [ -- ":privateca_java_grpc", +- ":securitycenter_java_grpc", +- "//google/iam/v1:iam_java_grpc", - ], - deps = [ -- ":privateca_java_proto", +- ":securitycenter_java_proto", +- "//google/iam/v1:iam_java_proto", - ], -) - -java_gapic_test( -- name = "privateca_java_gapic_test_suite", +- name = "securitycenter_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.security.privateca.v1beta1.CertificateAuthorityServiceClientTest", +- "com.google.cloud.securitycenter.v1beta1.SecurityCenterClientTest", - ], -- runtime_deps = [":privateca_java_gapic_test"], +- runtime_deps = [":securitycenter_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-security-privateca-v1beta1-java", +- name = "google-cloud-securitycenter-v1beta1-java", - deps = [ -- ":privateca_java_gapic", -- ":privateca_java_grpc", -- ":privateca_java_proto", -- ":privateca_proto", +- ":securitycenter_java_gapic", +- ":securitycenter_java_grpc", +- ":securitycenter_java_proto", +- ":securitycenter_proto", - ], -) - @@ -44264,45 +61448,48 @@ diff -urN a/google/cloud/security/privateca/v1beta1/BUILD.bazel b/google/cloud/s -) - -go_proto_library( -- name = "privateca_go_proto", +- name = "securitycenter_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/security/privateca/v1beta1", -- protos = [":privateca_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1", +- protos = [":securitycenter_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/iam/v1:iam_go_proto", - "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "privateca_go_gapic", -- srcs = [":privateca_proto_with_info"], -- grpc_service_config = "privateca_grpc_service_config.json", -- importpath = "cloud.google.com/go/security/privateca/apiv1beta1;privateca", -- service_yaml = "privateca_v1beta1.yaml", +- name = "securitycenter_go_gapic", +- srcs = [":securitycenter_proto_with_info"], +- grpc_service_config = "securitycenter_grpc_service_config.json", +- importpath = "cloud.google.com/go/securitycenter/apiv1beta1;securitycenter", +- service_yaml = "securitycenter_v1beta1.yaml", - deps = [ -- ":privateca_go_proto", +- ":securitycenter_go_proto", +- "//google/iam/v1:iam_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", - "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- "@io_bazel_rules_go//proto/wkt:struct_go_proto", - ], -) - -go_test( -- name = "privateca_go_gapic_test", -- srcs = [":privateca_go_gapic_srcjar_test"], -- embed = [":privateca_go_gapic"], -- importpath = "cloud.google.com/go/security/privateca/apiv1beta1", +- name = "securitycenter_go_gapic_test", +- srcs = [":securitycenter_go_gapic_srcjar_test"], +- embed = [":securitycenter_go_gapic"], +- importpath = "cloud.google.com/go/securitycenter/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-security-privateca-v1beta1-go", +- name = "gapi-cloud-securitycenter-v1beta1-go", - deps = [ -- ":privateca_go_gapic", -- ":privateca_go_gapic_srcjar-test.srcjar", -- ":privateca_go_proto", +- ":securitycenter_go_gapic", +- ":securitycenter_go_gapic_srcjar-test.srcjar", +- ":securitycenter_go_proto", - ], -) - @@ -44316,15 +61503,16 @@ diff -urN a/google/cloud/security/privateca/v1beta1/BUILD.bazel b/google/cloud/s -) - -py_gapic_library( -- name = "privateca_py_gapic", -- srcs = [":privateca_proto"], -- grpc_service_config = "privateca_grpc_service_config.json", +- name = "securitycenter_py_gapic", +- srcs = [":securitycenter_proto"], +- grpc_service_config = "securitycenter_grpc_service_config.json", -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "security-privateca-v1beta1-py", +- name = "securitycenter-v1beta1-py", - deps = [ -- ":privateca_py_gapic", +- ":securitycenter_py_gapic", - ], -) - @@ -44340,36 +61528,34 @@ diff -urN a/google/cloud/security/privateca/v1beta1/BUILD.bazel b/google/cloud/s -) - -php_proto_library( -- name = "privateca_php_proto", -- deps = [":privateca_proto"], +- name = "securitycenter_php_proto", +- deps = [":securitycenter_proto"], -) - -php_grpc_library( -- name = "privateca_php_grpc", -- srcs = [":privateca_proto"], -- deps = [":privateca_php_proto"], +- name = "securitycenter_php_grpc", +- srcs = [":securitycenter_proto"], +- deps = [":securitycenter_php_proto"], -) - -php_gapic_library( -- name = "privateca_php_gapic", -- src = ":privateca_proto_with_info", -- gapic_yaml = "privateca_gapic.yaml", -- grpc_service_config = "privateca_grpc_service_config.json", -- package = "google.cloud.security.privateca.v1beta1", -- service_yaml = "privateca_v1beta1.yaml", +- name = "securitycenter_php_gapic", +- srcs = [":securitycenter_proto_with_info"], +- grpc_service_config = "securitycenter_grpc_service_config.json", +- service_yaml = "securitycenter_v1beta1.yaml", - deps = [ -- ":privateca_php_grpc", -- ":privateca_php_proto", +- ":securitycenter_php_grpc", +- ":securitycenter_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-security-privateca-v1beta1-php", +- name = "google-cloud-securitycenter-v1beta1-php", - deps = [ -- ":privateca_php_gapic", -- ":privateca_php_grpc", -- ":privateca_php_proto", +- ":securitycenter_php_gapic", +- ":securitycenter_php_grpc", +- ":securitycenter_php_proto", - ], -) - @@ -44383,21 +61569,21 @@ diff -urN a/google/cloud/security/privateca/v1beta1/BUILD.bazel b/google/cloud/s -) - -nodejs_gapic_library( -- name = "privateca_nodejs_gapic", -- package_name = "@google-cloud/security-private-ca", -- src = ":privateca_proto_with_info", +- name = "securitycenter_nodejs_gapic", +- package_name = "@google-cloud/security-center", +- src = ":securitycenter_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "privateca_grpc_service_config.json", -- package = "google.cloud.security.privateca.v1beta1", -- service_yaml = "privateca_v1beta1.yaml", +- grpc_service_config = "securitycenter_grpc_service_config.json", +- package = "google.cloud.securitycenter.v1beta1", +- service_yaml = "securitycenter_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "security-privateca-v1beta1-nodejs", +- name = "securitycenter-v1beta1-nodejs", - deps = [ -- ":privateca_nodejs_gapic", -- ":privateca_proto", +- ":securitycenter_nodejs_gapic", +- ":securitycenter_proto", - ], -) - @@ -44413,43 +61599,33 @@ diff -urN a/google/cloud/security/privateca/v1beta1/BUILD.bazel b/google/cloud/s -) - -ruby_proto_library( -- name = "privateca_ruby_proto", -- deps = [":privateca_proto"], +- name = "securitycenter_ruby_proto", +- deps = [":securitycenter_proto"], -) - -ruby_grpc_library( -- name = "privateca_ruby_grpc", -- srcs = [":privateca_proto"], -- deps = [":privateca_ruby_proto"], +- name = "securitycenter_ruby_grpc", +- srcs = [":securitycenter_proto"], +- deps = [":securitycenter_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "privateca_ruby_gapic", -- srcs = [":privateca_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-security-private_ca-v1beta1", -- "ruby-cloud-gem-namespace=Google::Cloud::Security::PrivateCA::V1beta1", -- "ruby-cloud-env-prefix=PRIVATE_CA", -- "ruby-cloud-product-url=https://cloud.google.com/certificate-authority-service/", -- "ruby-cloud-api-id=privateca.googleapis.com", -- "ruby-cloud-api-shortname=privateca", -- ], -- grpc_service_config = "privateca_grpc_service_config.json", -- ruby_cloud_description = "Certificate Authority Service is a highly available, scalable Google Cloud service that enables you to simplify, automate, and customize the deployment, management, and security of private certificate authorities (CA).", -- ruby_cloud_title = "Certificate Authority Service V1beta1", +- name = "securitycenter_ruby_gapic", +- srcs = [":securitycenter_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-securitycenter-v1beta1"], - deps = [ -- ":privateca_ruby_grpc", -- ":privateca_ruby_proto", +- ":securitycenter_ruby_grpc", +- ":securitycenter_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-security-privateca-v1beta1-ruby", +- name = "google-cloud-securitycenter-v1beta1-ruby", - deps = [ -- ":privateca_ruby_gapic", -- ":privateca_ruby_grpc", -- ":privateca_ruby_proto", +- ":securitycenter_ruby_gapic", +- ":securitycenter_ruby_grpc", +- ":securitycenter_ruby_proto", - ], -) - @@ -44465,50 +61641,40 @@ diff -urN a/google/cloud/security/privateca/v1beta1/BUILD.bazel b/google/cloud/s -) - -csharp_proto_library( -- name = "privateca_csharp_proto", -- deps = [":privateca_proto"], +- name = "securitycenter_csharp_proto", +- deps = [":securitycenter_proto"], -) - -csharp_grpc_library( -- name = "privateca_csharp_grpc", -- srcs = [":privateca_proto"], -- deps = [":privateca_csharp_proto"], +- name = "securitycenter_csharp_grpc", +- srcs = [":securitycenter_proto"], +- deps = [":securitycenter_csharp_proto"], -) - -csharp_gapic_library( -- name = "privateca_csharp_gapic", -- srcs = [":privateca_proto_with_info"], +- name = "securitycenter_csharp_gapic", +- srcs = [":securitycenter_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "privateca_grpc_service_config.json", +- grpc_service_config = "securitycenter_grpc_service_config.json", - deps = [ -- ":privateca_csharp_grpc", -- ":privateca_csharp_proto", +- ":securitycenter_csharp_grpc", +- ":securitycenter_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-security-privateca-v1beta1-csharp", +- name = "google-cloud-securitycenter-v1beta1-csharp", - deps = [ -- ":privateca_csharp_gapic", -- ":privateca_csharp_grpc", -- ":privateca_csharp_proto", +- ":securitycenter_csharp_gapic", +- ":securitycenter_csharp_grpc", +- ":securitycenter_csharp_proto", - ], -) -- --############################################################################## --# C++ --############################################################################## --# Put your C++ rules here -diff -urN a/google/cloud/securitycenter/BUILD.bazel b/google/cloud/securitycenter/BUILD.bazel ---- a/google/cloud/securitycenter/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/securitycenter/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel b/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel ---- a/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,338 +0,0 @@ +diff -urN a/google/cloud/securitycenter/v1p1beta1/BUILD.bazel b/google/cloud/securitycenter/v1p1beta1/BUILD.bazel +--- a/google/cloud/securitycenter/v1p1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/securitycenter/v1p1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,359 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - @@ -44530,30 +61696,40 @@ diff -urN a/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel b/google/cl -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "settings_proto", +- name = "securitycenter_proto", - srcs = [ -- "billing_settings.proto", -- "component_settings.proto", -- "detector.proto", -- "securitycenter_settings_service.proto", -- "settings.proto", -- "sink_settings.proto", +- "asset.proto", +- "finding.proto", +- "folder.proto", +- "notification_config.proto", +- "notification_message.proto", +- "organization_settings.proto", +- "resource.proto", +- "run_asset_discovery_response.proto", +- "security_marks.proto", +- "securitycenter_service.proto", +- "source.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", +- "//google/iam/v1:iam_policy_proto", +- "//google/iam/v1:policy_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "settings_proto_with_info", +- name = "securitycenter_proto_with_info", - deps = [ -- ":settings_proto", +- ":securitycenter_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -44571,44 +61747,46 @@ diff -urN a/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel b/google/cl -) - -java_proto_library( -- name = "settings_java_proto", -- deps = [":settings_proto"], +- name = "securitycenter_java_proto", +- deps = [":securitycenter_proto"], -) - -java_grpc_library( -- name = "settings_java_grpc", -- srcs = [":settings_proto"], -- deps = [":settings_java_proto"], +- name = "securitycenter_java_grpc", +- srcs = [":securitycenter_proto"], +- deps = [":securitycenter_java_proto"], -) - -java_gapic_library( -- name = "settings_java_gapic", -- srcs = [":settings_proto_with_info"], -- grpc_service_config = "securitycenter_settings_grpc_service_config.json", +- name = "securitycenter_java_gapic", +- srcs = [":securitycenter_proto_with_info"], +- grpc_service_config = "securitycenter_grpc_service_config.json", - test_deps = [ -- ":settings_java_grpc", +- ":securitycenter_java_grpc", +- "//google/iam/v1:iam_java_grpc", - ], - deps = [ -- ":settings_java_proto", +- ":securitycenter_java_proto", +- "//google/iam/v1:iam_java_proto", - ], -) - -java_gapic_test( -- name = "settings_java_gapic_test_suite", +- name = "securitycenter_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsServiceClientTest", +- "com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClientTest", - ], -- runtime_deps = [":settings_java_gapic_test"], +- runtime_deps = [":securitycenter_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-securitycenter-settings-v1beta1-java", +- name = "google-cloud-securitycenter-v1p1beta1-java", - deps = [ -- ":settings_java_gapic", -- ":settings_java_grpc", -- ":settings_java_proto", -- ":settings_proto", +- ":securitycenter_java_gapic", +- ":securitycenter_java_grpc", +- ":securitycenter_java_proto", +- ":securitycenter_proto", - ], -) - @@ -44624,40 +61802,48 @@ diff -urN a/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel b/google/cl -) - -go_proto_library( -- name = "settings_go_proto", +- name = "securitycenter_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/securitycenter/settings/v1beta1", -- protos = [":settings_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1", +- protos = [":securitycenter_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "settings_go_gapic", -- srcs = [":settings_proto_with_info"], -- grpc_service_config = "securitycenter_settings_grpc_service_config.json", -- importpath = "cloud.google.com/go/securitycenter/settings/apiv1beta1;settings", -- service_yaml = "securitycenter_settings.yaml", +- name = "securitycenter_go_gapic", +- srcs = [":securitycenter_proto_with_info"], +- grpc_service_config = "securitycenter_grpc_service_config.json", +- importpath = "cloud.google.com/go/securitycenter/apiv1p1beta1;securitycenter", +- service_yaml = "securitycenter_v1p1beta1.yaml", - deps = [ -- ":settings_go_proto", +- ":securitycenter_go_proto", +- "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- "@io_bazel_rules_go//proto/wkt:struct_go_proto", - ], -) - -go_test( -- name = "settings_go_gapic_test", -- srcs = [":settings_go_gapic_srcjar_test"], -- embed = [":settings_go_gapic"], -- importpath = "cloud.google.com/go/securitycenter/settings/apiv1beta1", +- name = "securitycenter_go_gapic_test", +- srcs = [":securitycenter_go_gapic_srcjar_test"], +- embed = [":securitycenter_go_gapic"], +- importpath = "cloud.google.com/go/securitycenter/apiv1p1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-securitycenter-settings-v1beta1-go", +- name = "gapi-cloud-securitycenter-v1p1beta1-go", - deps = [ -- ":settings_go_gapic", -- ":settings_go_gapic_srcjar-test.srcjar", -- ":settings_go_proto", +- ":securitycenter_go_gapic", +- ":securitycenter_go_gapic_srcjar-test.srcjar", +- ":securitycenter_go_proto", - ], -) - @@ -44671,16 +61857,16 @@ diff -urN a/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel b/google/cl -) - -py_gapic_library( -- name = "settings_py_gapic", -- srcs = [":settings_proto"], -- grpc_service_config = "securitycenter_settings_grpc_service_config.json", +- name = "securitycenter_py_gapic", +- srcs = [":securitycenter_proto"], +- grpc_service_config = "securitycenter_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "securitycenter-settings-v1beta1-py", +- name = "securitycenter-v1p1beta1-py", - deps = [ -- ":settings_py_gapic", +- ":securitycenter_py_gapic", - ], -) - @@ -44696,36 +61882,34 @@ diff -urN a/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel b/google/cl -) - -php_proto_library( -- name = "settings_php_proto", -- deps = [":settings_proto"], +- name = "securitycenter_php_proto", +- deps = [":securitycenter_proto"], -) - -php_grpc_library( -- name = "settings_php_grpc", -- srcs = [":settings_proto"], -- deps = [":settings_php_proto"], +- name = "securitycenter_php_grpc", +- srcs = [":securitycenter_proto"], +- deps = [":securitycenter_php_proto"], -) - -php_gapic_library( -- name = "settings_php_gapic", -- src = ":settings_proto_with_info", -- gapic_yaml = "securitycenter_settings_gapic.yaml", -- grpc_service_config = "securitycenter_settings_grpc_service_config.json", -- package = "google.cloud.securitycenter.settings.v1beta1", -- service_yaml = "securitycenter_settings.yaml", +- name = "securitycenter_php_gapic", +- srcs = [":securitycenter_proto_with_info"], +- grpc_service_config = "securitycenter_grpc_service_config.json", +- service_yaml = "securitycenter_v1p1beta1.yaml", - deps = [ -- ":settings_php_grpc", -- ":settings_php_proto", +- ":securitycenter_php_grpc", +- ":securitycenter_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-securitycenter-settings-v1beta1-php", +- name = "google-cloud-securitycenter-v1p1beta1-php", - deps = [ -- ":settings_php_gapic", -- ":settings_php_grpc", -- ":settings_php_proto", +- ":securitycenter_php_gapic", +- ":securitycenter_php_grpc", +- ":securitycenter_php_proto", - ], -) - @@ -44739,20 +61923,21 @@ diff -urN a/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel b/google/cl -) - -nodejs_gapic_library( -- name = "settings_nodejs_gapic", -- src = ":settings_proto_with_info", +- name = "securitycenter_nodejs_gapic", +- package_name = "@google-cloud/security-center", +- src = ":securitycenter_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "securitycenter_settings_grpc_service_config.json", -- package = "google.cloud.securitycenter.settings.v1beta1", -- service_yaml = "securitycenter_settings.yaml", +- grpc_service_config = "securitycenter_grpc_service_config.json", +- package = "google.cloud.securitycenter.v1p1beta1", +- service_yaml = "securitycenter_v1p1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "securitycenter-settings-v1beta1-nodejs", +- name = "securitycenter-v1p1beta1-nodejs", - deps = [ -- ":settings_nodejs_gapic", -- ":settings_proto", +- ":securitycenter_nodejs_gapic", +- ":securitycenter_proto", - ], -) - @@ -44761,42 +61946,49 @@ diff -urN a/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel b/google/cl -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "settings_ruby_proto", -- deps = [":settings_proto"], +- name = "securitycenter_ruby_proto", +- deps = [":securitycenter_proto"], -) - -ruby_grpc_library( -- name = "settings_ruby_grpc", -- srcs = [":settings_proto"], -- deps = [":settings_ruby_proto"], +- name = "securitycenter_ruby_grpc", +- srcs = [":securitycenter_proto"], +- deps = [":securitycenter_ruby_proto"], -) - --ruby_gapic_library( -- name = "settings_ruby_gapic", -- src = ":settings_proto_with_info", -- gapic_yaml = "securitycenter_settings_gapic.yaml", -- package = "google.cloud.securitycenter.settings.v1beta1", -- service_yaml = "securitycenter_settings.yaml", +-ruby_cloud_gapic_library( +- name = "securitycenter_ruby_gapic", +- srcs = [":securitycenter_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-security_center-v1p1beta1", +- "ruby-cloud-env-prefix=SECURITY_CENTER", +- "ruby-cloud-product-url=https://cloud.google.com/security-command-center", +- "ruby-cloud-api-id=securitycenter.googleapis.com", +- "ruby-cloud-api-shortname=securitycenter", +- ], +- grpc_service_config = "securitycenter_grpc_service_config.json", +- ruby_cloud_description = "Security Command Center API provides access to temporal views of assets and findings within an organization.", +- ruby_cloud_title = "Cloud Security Command Center V1p1beta1", - deps = [ -- ":settings_ruby_grpc", -- ":settings_ruby_proto", +- ":securitycenter_ruby_grpc", +- ":securitycenter_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-securitycenter-settings-v1beta1-ruby", +- name = "google-cloud-securitycenter-v1p1beta1-ruby", - deps = [ -- ":settings_ruby_gapic", -- ":settings_ruby_grpc", -- ":settings_ruby_proto", +- ":securitycenter_ruby_gapic", +- ":securitycenter_ruby_grpc", +- ":securitycenter_ruby_proto", - ], -) - @@ -44812,69 +62004,99 @@ diff -urN a/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel b/google/cl -) - -csharp_proto_library( -- name = "settings_csharp_proto", -- deps = [":settings_proto"], +- name = "securitycenter_csharp_proto", +- deps = [":securitycenter_proto"], -) - -csharp_grpc_library( -- name = "settings_csharp_grpc", -- srcs = [":settings_proto"], -- deps = [":settings_csharp_proto"], +- name = "securitycenter_csharp_grpc", +- srcs = [":securitycenter_proto"], +- deps = [":securitycenter_csharp_proto"], -) - -csharp_gapic_library( -- name = "settings_csharp_gapic", -- srcs = [":settings_proto_with_info"], +- name = "securitycenter_csharp_gapic", +- srcs = [":securitycenter_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "securitycenter_settings_grpc_service_config.json", +- grpc_service_config = "securitycenter_grpc_service_config.json", - deps = [ -- ":settings_csharp_grpc", -- ":settings_csharp_proto", +- ":securitycenter_csharp_grpc", +- ":securitycenter_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-securitycenter-settings-v1beta1-csharp", +- name = "google-cloud-securitycenter-v1p1beta1-csharp", - deps = [ -- ":settings_csharp_gapic", -- ":settings_csharp_grpc", -- ":settings_csharp_proto", +- ":securitycenter_csharp_gapic", +- ":securitycenter_csharp_grpc", +- ":securitycenter_csharp_proto", - ], -) -- --############################################################################## --# C++ --############################################################################## --# Put your C++ rules here -diff -urN a/google/cloud/securitycenter/v1/BUILD.bazel b/google/cloud/securitycenter/v1/BUILD.bazel ---- a/google/cloud/securitycenter/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/securitycenter/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,351 +0,0 @@ +diff -urN a/google/cloud/servicedirectory/v1/BUILD.bazel b/google/cloud/servicedirectory/v1/BUILD.bazel +--- a/google/cloud/servicedirectory/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/servicedirectory/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,301 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - --# This is an API workspace, having public visibility by default makes perfect sense. --package(default_visibility = ["//visibility:public"]) +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") --load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +- "moved_proto_library", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +- "proto_library_with_info", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +- "py_grpc_library", +- "py_proto_library", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) - -proto_library( -- name = "securitycenter_proto", +- name = "servicedirectory_proto", - srcs = [ -- "asset.proto", -- "finding.proto", -- "notification_config.proto", -- "notification_message.proto", -- "organization_settings.proto", -- "resource.proto", -- "run_asset_discovery_response.proto", -- "security_marks.proto", -- "securitycenter_service.proto", -- "source.proto", +- "endpoint.proto", +- "lookup_service.proto", +- "namespace.proto", +- "registration_service.proto", +- "service.proto", - ], - deps = [ - "//google/api:annotations_proto", @@ -44883,330 +62105,254 @@ diff -urN a/google/cloud/securitycenter/v1/BUILD.bazel b/google/cloud/securityce - "//google/api:resource_proto", - "//google/iam/v1:iam_policy_proto", - "//google/iam/v1:policy_proto", -- "//google/longrunning:operations_proto", -- "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:struct_proto", -- "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "securitycenter_proto_with_info", +- name = "servicedirectory_proto_with_info", - deps = [ -- ":securitycenter_proto", +- ":servicedirectory_proto", - "//google/cloud:common_resources_proto", - ], -) - --############################################################################## --# Java --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", -- "java_grpc_library", -- "java_proto_library", --) -- -java_proto_library( -- name = "securitycenter_java_proto", -- deps = [":securitycenter_proto"], +- name = "servicedirectory_java_proto", +- deps = [":servicedirectory_proto"], -) - -java_grpc_library( -- name = "securitycenter_java_grpc", -- srcs = [":securitycenter_proto"], -- deps = [":securitycenter_java_proto"], +- name = "servicedirectory_java_grpc", +- srcs = [":servicedirectory_proto"], +- deps = [":servicedirectory_java_proto"], -) - -java_gapic_library( -- name = "securitycenter_java_gapic", -- srcs = [":securitycenter_proto_with_info"], -- grpc_service_config = "securitycenter_grpc_service_config.json", +- name = "servicedirectory_java_gapic", +- srcs = [":servicedirectory_proto_with_info"], +- grpc_service_config = "servicedirectory_grpc_service_config.json", - test_deps = [ -- ":securitycenter_java_grpc", +- ":servicedirectory_java_grpc", - "//google/iam/v1:iam_java_grpc", - ], - deps = [ -- ":securitycenter_java_proto", +- ":servicedirectory_java_proto", - "//google/iam/v1:iam_java_proto", - ], -) - -java_gapic_test( -- name = "securitycenter_java_gapic_test_suite", +- name = "servicedirectory_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.securitycenter.v1.SecurityCenterClientTest", +- "com.google.cloud.servicedirectory.v1.LookupServiceClientTest", +- "com.google.cloud.servicedirectory.v1.RegistrationServiceClientTest", - ], -- runtime_deps = [":securitycenter_java_gapic_test"], +- runtime_deps = [":servicedirectory_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-securitycenter-v1-java", +- name = "google-cloud-servicedirectory-v1-java", - deps = [ -- ":securitycenter_java_gapic", -- ":securitycenter_java_grpc", -- ":securitycenter_java_proto", -- ":securitycenter_proto", +- ":servicedirectory_java_gapic", +- ":servicedirectory_java_grpc", +- ":servicedirectory_java_proto", +- ":servicedirectory_proto", - ], -) - --############################################################################## --# Go --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "go_gapic_assembly_pkg", -- "go_gapic_library", -- "go_proto_library", -- "go_test", --) -- -go_proto_library( -- name = "securitycenter_go_proto", +- name = "servicedirectory_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1", -- protos = [":securitycenter_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/servicedirectory/v1", +- protos = [":servicedirectory_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/iam/v1:iam_go_proto", -- "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "securitycenter_go_gapic", -- srcs = [":securitycenter_proto_with_info"], -- grpc_service_config = "securitycenter_grpc_service_config.json", -- importpath = "cloud.google.com/go/securitycenter/apiv1;securitycenter", -- service_yaml = "securitycenter_v1.yaml", +- name = "servicedirectory_go_gapic", +- srcs = [":servicedirectory_proto_with_info"], +- grpc_service_config = "servicedirectory_grpc_service_config.json", +- importpath = "cloud.google.com/go/servicedirectory/apiv1;servicedirectory", +- service_yaml = "servicedirectory_v1.yaml", - deps = [ -- ":securitycenter_go_proto", +- ":servicedirectory_go_proto", - "//google/iam/v1:iam_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", -- "@io_bazel_rules_go//proto/wkt:struct_go_proto", - ], -) - -go_test( -- name = "securitycenter_go_gapic_test", -- srcs = [":securitycenter_go_gapic_srcjar_test"], -- embed = [":securitycenter_go_gapic"], -- importpath = "cloud.google.com/go/securitycenter/apiv1", +- name = "servicedirectory_go_gapic_test", +- srcs = [":servicedirectory_go_gapic_srcjar_test"], +- embed = [":servicedirectory_go_gapic"], +- importpath = "cloud.google.com/go/servicedirectory/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-securitycenter-v1-go", +- name = "gapi-cloud-servicedirectory-v1-go", - deps = [ -- ":securitycenter_go_gapic", -- ":securitycenter_go_gapic_srcjar-test.srcjar", -- ":securitycenter_go_proto", +- ":servicedirectory_go_gapic", +- ":servicedirectory_go_gapic_srcjar-test.srcjar", +- ":servicedirectory_go_proto", - ], -) - --############################################################################## --# Python --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "py_gapic_assembly_pkg", -- "py_gapic_library", --) -- -py_gapic_library( -- name = "securitycenter_py_gapic", -- srcs = [":securitycenter_proto"], -- grpc_service_config = "securitycenter_grpc_service_config.json", +- name = "servicedirectory_py_gapic", +- srcs = [":servicedirectory_proto"], +- grpc_service_config = "servicedirectory_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "securitycenter-v1-py", +- name = "servicedirectory-v1-py", - deps = [ -- ":securitycenter_py_gapic", +- ":servicedirectory_py_gapic", - ], -) - --############################################################################## --# PHP --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "php_gapic_assembly_pkg", -- "php_gapic_library", -- "php_grpc_library", -- "php_proto_library", --) -- -php_proto_library( -- name = "securitycenter_php_proto", -- deps = [":securitycenter_proto"], +- name = "servicedirectory_php_proto", +- deps = [":servicedirectory_proto"], -) - -php_grpc_library( -- name = "securitycenter_php_grpc", -- srcs = [":securitycenter_proto"], -- deps = [":securitycenter_php_proto"], +- name = "servicedirectory_php_grpc", +- srcs = [":servicedirectory_proto"], +- deps = [":servicedirectory_php_proto"], -) - -php_gapic_library( -- name = "securitycenter_php_gapic", -- src = ":securitycenter_proto_with_info", -- gapic_yaml = "securitycenter_gapic.yaml", -- grpc_service_config = "securitycenter_grpc_service_config.json", -- package = "google.cloud.securitycenter.v1", -- service_yaml = "securitycenter_v1.yaml", +- name = "servicedirectory_php_gapic", +- srcs = [":servicedirectory_proto_with_info"], +- grpc_service_config = "servicedirectory_grpc_service_config.json", - deps = [ -- ":securitycenter_php_grpc", -- ":securitycenter_php_proto", +- ":servicedirectory_php_grpc", +- ":servicedirectory_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-securitycenter-v1-php", +- name = "google-cloud-servicedirectory-v1-php", - deps = [ -- ":securitycenter_php_gapic", -- ":securitycenter_php_grpc", -- ":securitycenter_php_proto", +- ":servicedirectory_php_gapic", +- ":servicedirectory_php_grpc", +- ":servicedirectory_php_proto", - ], -) - --############################################################################## --# Node.js --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "nodejs_gapic_assembly_pkg", -- "nodejs_gapic_library", --) -- -nodejs_gapic_library( -- name = "securitycenter_nodejs_gapic", -- package_name = "@google-cloud/security-center", -- src = ":securitycenter_proto_with_info", +- name = "servicedirectory_nodejs_gapic", +- package_name = "@google-cloud/service-directory", +- src = ":servicedirectory_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "securitycenter_grpc_service_config.json", -- package = "google.cloud.securitycenter.v1", -- service_yaml = "securitycenter_v1.yaml", +- grpc_service_config = "servicedirectory_grpc_service_config.json", +- main_service = "ServiceDirectory", +- package = "google.cloud.servicedirectory.v1", +- service_yaml = "servicedirectory_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "securitycenter-v1-nodejs", +- name = "servicedirectory-v1-nodejs", - deps = [ -- ":securitycenter_nodejs_gapic", -- ":securitycenter_proto", +- ":servicedirectory_nodejs_gapic", +- ":servicedirectory_proto", - ], -) - --############################################################################## --# Ruby --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", -- "ruby_cloud_gapic_library", -- "ruby_grpc_library", -- "ruby_proto_library", --) -- -ruby_proto_library( -- name = "securitycenter_ruby_proto", -- deps = [":securitycenter_proto"], +- name = "servicedirectory_ruby_proto", +- deps = [":servicedirectory_proto"], -) - -ruby_grpc_library( -- name = "securitycenter_ruby_grpc", -- srcs = [":securitycenter_proto"], -- deps = [":securitycenter_ruby_proto"], +- name = "servicedirectory_ruby_grpc", +- srcs = [":servicedirectory_proto"], +- deps = [":servicedirectory_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "securitycenter_ruby_gapic", -- srcs = [":securitycenter_proto_with_info"], +- name = "servicedirectory_ruby_gapic", +- srcs = [":servicedirectory_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-security_center-v1", -- "ruby-cloud-env-prefix=SECURITY_CENTER", -- "ruby-cloud-product-url=https://cloud.google.com/security-command-center", -- "ruby-cloud-api-id=securitycenter.googleapis.com", -- "ruby-cloud-api-shortname=securitycenter", +- "ruby-cloud-gem-name=google-cloud-service_directory-v1", +- "ruby-cloud-env-prefix=SERVICE_DIRECTORY", +- "ruby-cloud-product-url=https://cloud.google.com/service-directory", +- "ruby-cloud-api-id=servicedirectory.googleapis.com", +- "ruby-cloud-api-shortname=servicedirectory", - ], -- grpc_service_config = "securitycenter_grpc_service_config.json", -- ruby_cloud_description = "Security Command Center API provides access to temporal views of assets and findings within an organization.", -- ruby_cloud_title = "Cloud Security Command Center V1", +- grpc_service_config = "servicedirectory_grpc_service_config.json", +- ruby_cloud_description = "Service Directory is the single place to register, browse, and resolve application services.", +- ruby_cloud_title = "Service Directory V1", - deps = [ -- ":securitycenter_ruby_grpc", -- ":securitycenter_ruby_proto", +- ":servicedirectory_ruby_grpc", +- ":servicedirectory_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-securitycenter-v1-ruby", +- name = "google-cloud-servicedirectory-v1-ruby", - deps = [ -- ":securitycenter_ruby_gapic", -- ":securitycenter_ruby_grpc", -- ":securitycenter_ruby_proto", +- ":servicedirectory_ruby_gapic", +- ":servicedirectory_ruby_grpc", +- ":servicedirectory_ruby_proto", - ], -) - --############################################################################## --# C# --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", -- "csharp_grpc_library", -- "csharp_proto_library", --) -- -csharp_proto_library( -- name = "securitycenter_csharp_proto", -- deps = [":securitycenter_proto"], +- name = "servicedirectory_csharp_proto", +- deps = [":servicedirectory_proto"], -) - -csharp_grpc_library( -- name = "securitycenter_csharp_grpc", -- srcs = [":securitycenter_proto"], -- deps = [":securitycenter_csharp_proto"], +- name = "servicedirectory_csharp_grpc", +- srcs = [":servicedirectory_proto"], +- deps = [":servicedirectory_csharp_proto"], -) - -csharp_gapic_library( -- name = "securitycenter_csharp_gapic", -- srcs = [":securitycenter_proto_with_info"], +- name = "servicedirectory_csharp_gapic", +- srcs = [":servicedirectory_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "securitycenter_grpc_service_config.json", +- grpc_service_config = "servicedirectory_grpc_service_config.json", - deps = [ -- ":securitycenter_csharp_grpc", -- ":securitycenter_csharp_proto", +- ":servicedirectory_csharp_grpc", +- ":servicedirectory_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-securitycenter-v1-csharp", +- name = "google-cloud-servicedirectory-v1-csharp", - deps = [ -- ":securitycenter_csharp_gapic", -- ":securitycenter_csharp_grpc", -- ":securitycenter_csharp_proto", +- ":servicedirectory_csharp_gapic", +- ":servicedirectory_csharp_grpc", +- ":servicedirectory_csharp_proto", - ], -) -diff -urN a/google/cloud/securitycenter/v1beta1/BUILD.bazel b/google/cloud/securitycenter/v1beta1/BUILD.bazel ---- a/google/cloud/securitycenter/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/securitycenter/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,341 +0,0 @@ +diff -urN a/google/cloud/servicedirectory/v1beta1/BUILD.bazel b/google/cloud/servicedirectory/v1beta1/BUILD.bazel +--- a/google/cloud/servicedirectory/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/servicedirectory/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,354 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -45218,15 +62364,13 @@ diff -urN a/google/cloud/securitycenter/v1beta1/BUILD.bazel b/google/cloud/secur -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "securitycenter_proto", +- name = "servicedirectory_proto", - srcs = [ -- "asset.proto", -- "finding.proto", -- "organization_settings.proto", -- "run_asset_discovery_response.proto", -- "security_marks.proto", -- "securitycenter_service.proto", -- "source.proto", +- "endpoint.proto", +- "lookup_service.proto", +- "namespace.proto", +- "registration_service.proto", +- "service.proto", - ], - deps = [ - "//google/api:annotations_proto", @@ -45235,19 +62379,16 @@ diff -urN a/google/cloud/securitycenter/v1beta1/BUILD.bazel b/google/cloud/secur - "//google/api:resource_proto", - "//google/iam/v1:iam_policy_proto", - "//google/iam/v1:policy_proto", -- "//google/longrunning:operations_proto", -- "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "securitycenter_proto_with_info", +- name = "servicedirectory_proto_with_info", - deps = [ -- ":securitycenter_proto", +- ":servicedirectory_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -45265,46 +62406,47 @@ diff -urN a/google/cloud/securitycenter/v1beta1/BUILD.bazel b/google/cloud/secur -) - -java_proto_library( -- name = "securitycenter_java_proto", -- deps = [":securitycenter_proto"], +- name = "servicedirectory_java_proto", +- deps = [":servicedirectory_proto"], -) - -java_grpc_library( -- name = "securitycenter_java_grpc", -- srcs = [":securitycenter_proto"], -- deps = [":securitycenter_java_proto"], +- name = "servicedirectory_java_grpc", +- srcs = [":servicedirectory_proto"], +- deps = [":servicedirectory_java_proto"], -) - -java_gapic_library( -- name = "securitycenter_java_gapic", -- srcs = [":securitycenter_proto_with_info"], -- grpc_service_config = "securitycenter_grpc_service_config.json", +- name = "servicedirectory_java_gapic", +- srcs = [":servicedirectory_proto_with_info"], +- grpc_service_config = "servicedirectory_grpc_service_config.json", - test_deps = [ -- ":securitycenter_java_grpc", +- ":servicedirectory_java_grpc", - "//google/iam/v1:iam_java_grpc", - ], - deps = [ -- ":securitycenter_java_proto", +- ":servicedirectory_java_proto", - "//google/iam/v1:iam_java_proto", - ], -) - -java_gapic_test( -- name = "securitycenter_java_gapic_test_suite", +- name = "servicedirectory_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.securitycenter.v1beta1.SecurityCenterClientTest", +- "com.google.cloud.servicedirectory.v1beta1.LookupServiceClientTest", +- "com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClientTest", - ], -- runtime_deps = [":securitycenter_java_gapic_test"], +- runtime_deps = [":servicedirectory_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-securitycenter-v1beta1-java", +- name = "google-cloud-servicedirectory-v1beta1-java", - deps = [ -- ":securitycenter_java_gapic", -- ":securitycenter_java_grpc", -- ":securitycenter_java_proto", -- ":securitycenter_proto", +- ":servicedirectory_java_gapic", +- ":servicedirectory_java_grpc", +- ":servicedirectory_java_proto", +- ":servicedirectory_proto", - ], -) - @@ -45320,48 +62462,44 @@ diff -urN a/google/cloud/securitycenter/v1beta1/BUILD.bazel b/google/cloud/secur -) - -go_proto_library( -- name = "securitycenter_go_proto", +- name = "servicedirectory_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1beta1", -- protos = [":securitycenter_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/servicedirectory/v1beta1", +- protos = [":servicedirectory_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/iam/v1:iam_go_proto", -- "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "securitycenter_go_gapic", -- srcs = [":securitycenter_proto_with_info"], -- grpc_service_config = "securitycenter_grpc_service_config.json", -- importpath = "cloud.google.com/go/securitycenter/apiv1beta1;securitycenter", -- service_yaml = "securitycenter_v1beta1.yaml", +- name = "servicedirectory_go_gapic", +- srcs = [":servicedirectory_proto_with_info"], +- grpc_service_config = "servicedirectory_grpc_service_config.json", +- importpath = "cloud.google.com/go/servicedirectory/apiv1beta1;servicedirectory", +- metadata = True, +- service_yaml = "servicedirectory_v1beta1.yaml", - deps = [ -- ":securitycenter_go_proto", +- ":servicedirectory_go_proto", - "//google/iam/v1:iam_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", -- "@io_bazel_rules_go//proto/wkt:struct_go_proto", - ], -) - -go_test( -- name = "securitycenter_go_gapic_test", -- srcs = [":securitycenter_go_gapic_srcjar_test"], -- embed = [":securitycenter_go_gapic"], -- importpath = "cloud.google.com/go/securitycenter/apiv1beta1", +- name = "servicedirectory_go_gapic_test", +- srcs = [":servicedirectory_go_gapic_srcjar_test"], +- embed = [":servicedirectory_go_gapic"], +- importpath = "cloud.google.com/go/servicedirectory/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-securitycenter-v1beta1-go", +- name = "gapi-cloud-servicedirectory-v1beta1-go", - deps = [ -- ":securitycenter_go_gapic", -- ":securitycenter_go_gapic_srcjar-test.srcjar", -- ":securitycenter_go_proto", +- ":servicedirectory_go_gapic", +- ":servicedirectory_go_gapic_srcjar-metadata.srcjar", +- ":servicedirectory_go_gapic_srcjar-test.srcjar", +- ":servicedirectory_go_proto", - ], -) - @@ -45375,16 +62513,17 @@ diff -urN a/google/cloud/securitycenter/v1beta1/BUILD.bazel b/google/cloud/secur -) - -py_gapic_library( -- name = "securitycenter_py_gapic", -- srcs = [":securitycenter_proto"], -- grpc_service_config = "securitycenter_grpc_service_config.json", +- name = "servicedirectory_py_gapic", +- srcs = [":servicedirectory_proto"], +- grpc_service_config = "servicedirectory_grpc_service_config.json", +- opt_args = ["warehouse-package-name=google-cloud-service-directory"], -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "securitycenter-v1beta1-py", +- name = "servicedirectory-v1beta1-py", - deps = [ -- ":securitycenter_py_gapic", +- ":servicedirectory_py_gapic", - ], -) - @@ -45400,36 +62539,34 @@ diff -urN a/google/cloud/securitycenter/v1beta1/BUILD.bazel b/google/cloud/secur -) - -php_proto_library( -- name = "securitycenter_php_proto", -- deps = [":securitycenter_proto"], +- name = "servicedirectory_php_proto", +- deps = [":servicedirectory_proto"], -) - -php_grpc_library( -- name = "securitycenter_php_grpc", -- srcs = [":securitycenter_proto"], -- deps = [":securitycenter_php_proto"], +- name = "servicedirectory_php_grpc", +- srcs = [":servicedirectory_proto"], +- deps = [":servicedirectory_php_proto"], -) - -php_gapic_library( -- name = "securitycenter_php_gapic", -- src = ":securitycenter_proto_with_info", -- gapic_yaml = "securitycenter_gapic.yaml", -- grpc_service_config = "securitycenter_grpc_service_config.json", -- package = "google.cloud.securitycenter.v1beta1", -- service_yaml = "securitycenter_v1beta1.yaml", +- name = "servicedirectory_php_gapic", +- srcs = [":servicedirectory_proto_with_info"], +- grpc_service_config = "servicedirectory_grpc_service_config.json", +- service_yaml = "servicedirectory_v1beta1.yaml", - deps = [ -- ":securitycenter_php_grpc", -- ":securitycenter_php_proto", +- ":servicedirectory_php_grpc", +- ":servicedirectory_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-securitycenter-v1beta1-php", +- name = "google-cloud-servicedirectory-v1beta1-php", - deps = [ -- ":securitycenter_php_gapic", -- ":securitycenter_php_grpc", -- ":securitycenter_php_proto", +- ":servicedirectory_php_gapic", +- ":servicedirectory_php_grpc", +- ":servicedirectory_php_proto", - ], -) - @@ -45443,21 +62580,22 @@ diff -urN a/google/cloud/securitycenter/v1beta1/BUILD.bazel b/google/cloud/secur -) - -nodejs_gapic_library( -- name = "securitycenter_nodejs_gapic", -- package_name = "@google-cloud/security-center", -- src = ":securitycenter_proto_with_info", +- name = "servicedirectory_nodejs_gapic", +- package_name = "@google-cloud/service-directory", +- src = ":servicedirectory_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "securitycenter_grpc_service_config.json", -- package = "google.cloud.securitycenter.v1beta1", -- service_yaml = "securitycenter_v1beta1.yaml", +- grpc_service_config = "servicedirectory_grpc_service_config.json", +- main_service = "ServiceDirectory", +- package = "google.cloud.servicedirectory.v1beta1", +- service_yaml = "servicedirectory_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "securitycenter-v1beta1-nodejs", +- name = "servicedirectory-v1beta1-nodejs", - deps = [ -- ":securitycenter_nodejs_gapic", -- ":securitycenter_proto", +- ":servicedirectory_nodejs_gapic", +- ":servicedirectory_proto", - ], -) - @@ -45466,42 +62604,49 @@ diff -urN a/google/cloud/securitycenter/v1beta1/BUILD.bazel b/google/cloud/secur -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "securitycenter_ruby_proto", -- deps = [":securitycenter_proto"], +- name = "servicedirectory_ruby_proto", +- deps = [":servicedirectory_proto"], -) - -ruby_grpc_library( -- name = "securitycenter_ruby_grpc", -- srcs = [":securitycenter_proto"], -- deps = [":securitycenter_ruby_proto"], +- name = "servicedirectory_ruby_grpc", +- srcs = [":servicedirectory_proto"], +- deps = [":servicedirectory_ruby_proto"], -) - --ruby_gapic_library( -- name = "securitycenter_ruby_gapic", -- src = ":securitycenter_proto_with_info", -- gapic_yaml = "securitycenter_gapic.yaml", -- package = "google.cloud.securitycenter.v1beta1", -- service_yaml = "securitycenter_v1beta1.yaml", +-ruby_cloud_gapic_library( +- name = "servicedirectory_ruby_gapic", +- srcs = [":servicedirectory_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-api-id=servicedirectory.googleapis.com", +- "ruby-cloud-api-shortname=servicedirectory", +- "ruby-cloud-env-prefix=SERVICE_DIRECTORY", +- "ruby-cloud-gem-name=google-cloud-service_directory-v1beta1", +- "ruby-cloud-product-url=https://cloud.google.com/service-directory", +- ], +- grpc_service_config = "servicedirectory_grpc_service_config.json", +- ruby_cloud_description = "Service directory is the single place to register, browse, and resolve application services.", +- ruby_cloud_title = "Service Directory V1beta1", - deps = [ -- ":securitycenter_ruby_grpc", -- ":securitycenter_ruby_proto", +- ":servicedirectory_ruby_grpc", +- ":servicedirectory_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-securitycenter-v1beta1-ruby", +- name = "google-cloud-servicedirectory-v1beta1-ruby", - deps = [ -- ":securitycenter_ruby_gapic", -- ":securitycenter_ruby_grpc", -- ":securitycenter_ruby_proto", +- ":servicedirectory_ruby_gapic", +- ":servicedirectory_ruby_grpc", +- ":servicedirectory_ruby_proto", - ], -) - @@ -45517,42 +62662,47 @@ diff -urN a/google/cloud/securitycenter/v1beta1/BUILD.bazel b/google/cloud/secur -) - -csharp_proto_library( -- name = "securitycenter_csharp_proto", -- deps = [":securitycenter_proto"], +- name = "servicedirectory_csharp_proto", +- deps = [":servicedirectory_proto"], -) - -csharp_grpc_library( -- name = "securitycenter_csharp_grpc", -- srcs = [":securitycenter_proto"], -- deps = [":securitycenter_csharp_proto"], +- name = "servicedirectory_csharp_grpc", +- srcs = [":servicedirectory_proto"], +- deps = [":servicedirectory_csharp_proto"], -) - -csharp_gapic_library( -- name = "securitycenter_csharp_gapic", -- srcs = [":securitycenter_proto_with_info"], +- name = "servicedirectory_csharp_gapic", +- srcs = [":servicedirectory_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "securitycenter_grpc_service_config.json", +- grpc_service_config = "servicedirectory_grpc_service_config.json", - deps = [ -- ":securitycenter_csharp_grpc", -- ":securitycenter_csharp_proto", +- ":servicedirectory_csharp_grpc", +- ":servicedirectory_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-securitycenter-v1beta1-csharp", +- name = "google-cloud-servicedirectory-v1beta1-csharp", - deps = [ -- ":securitycenter_csharp_gapic", -- ":securitycenter_csharp_grpc", -- ":securitycenter_csharp_proto", +- ":servicedirectory_csharp_gapic", +- ":servicedirectory_csharp_grpc", +- ":servicedirectory_csharp_proto", - ], -) -diff -urN a/google/cloud/securitycenter/v1p1beta1/BUILD.bazel b/google/cloud/securitycenter/v1p1beta1/BUILD.bazel ---- a/google/cloud/securitycenter/v1p1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/securitycenter/v1p1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,360 +0,0 @@ +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/shell/v1/BUILD.bazel b/google/cloud/shell/v1/BUILD.bazel +--- a/google/cloud/shell/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/shell/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,344 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +-# https://github.com/googleapis/rules_gapic/tree/master/bazel - -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: @@ -45572,39 +62722,25 @@ diff -urN a/google/cloud/securitycenter/v1p1beta1/BUILD.bazel b/google/cloud/sec -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "securitycenter_proto", +- name = "shell_proto", - srcs = [ -- "asset.proto", -- "finding.proto", -- "notification_config.proto", -- "notification_message.proto", -- "organization_settings.proto", -- "resource.proto", -- "run_asset_discovery_response.proto", -- "security_marks.proto", -- "securitycenter_service.proto", -- "source.proto", +- "cloudshell.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/iam/v1:iam_policy_proto", -- "//google/iam/v1:policy_proto", - "//google/longrunning:operations_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "securitycenter_proto_with_info", +- name = "shell_proto_with_info", - deps = [ -- ":securitycenter_proto", +- ":shell_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -45622,46 +62758,44 @@ diff -urN a/google/cloud/securitycenter/v1p1beta1/BUILD.bazel b/google/cloud/sec -) - -java_proto_library( -- name = "securitycenter_java_proto", -- deps = [":securitycenter_proto"], +- name = "shell_java_proto", +- deps = [":shell_proto"], -) - -java_grpc_library( -- name = "securitycenter_java_grpc", -- srcs = [":securitycenter_proto"], -- deps = [":securitycenter_java_proto"], +- name = "shell_java_grpc", +- srcs = [":shell_proto"], +- deps = [":shell_java_proto"], -) - -java_gapic_library( -- name = "securitycenter_java_gapic", -- srcs = [":securitycenter_proto_with_info"], -- grpc_service_config = "securitycenter_grpc_service_config.json", +- name = "shell_java_gapic", +- srcs = [":shell_proto_with_info"], +- grpc_service_config = "cloudshell_grpc_service_config.json", - test_deps = [ -- ":securitycenter_java_grpc", -- "//google/iam/v1:iam_java_grpc", +- ":shell_java_grpc", - ], - deps = [ -- ":securitycenter_java_proto", -- "//google/iam/v1:iam_java_proto", +- ":shell_java_proto", - ], -) - -java_gapic_test( -- name = "securitycenter_java_gapic_test_suite", +- name = "shell_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.securitycenter.v1p1beta1.SecurityCenterClientTest", +- "com.google.cloud.shell.v1.CloudShellServiceClientTest", - ], -- runtime_deps = [":securitycenter_java_gapic_test"], +- runtime_deps = [":shell_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-securitycenter-v1p1beta1-java", +- name = "google-cloud-shell-v1-java", - deps = [ -- ":securitycenter_java_gapic", -- ":securitycenter_java_grpc", -- ":securitycenter_java_proto", -- ":securitycenter_proto", +- ":shell_java_gapic", +- ":shell_java_grpc", +- ":shell_java_proto", +- ":shell_proto", - ], -) - @@ -45677,48 +62811,46 @@ diff -urN a/google/cloud/securitycenter/v1p1beta1/BUILD.bazel b/google/cloud/sec -) - -go_proto_library( -- name = "securitycenter_go_proto", +- name = "shell_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1p1beta1", -- protos = [":securitycenter_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/shell/v1", +- protos = [":shell_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/iam/v1:iam_go_proto", - "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "securitycenter_go_gapic", -- srcs = [":securitycenter_proto_with_info"], -- grpc_service_config = "securitycenter_grpc_service_config.json", -- importpath = "cloud.google.com/go/securitycenter/apiv1p1beta1;securitycenter", -- service_yaml = "securitycenter_v1p1beta1.yaml", +- name = "shell_go_gapic", +- srcs = [":shell_proto_with_info"], +- grpc_service_config = "cloudshell_grpc_service_config.json", +- importpath = "cloud.google.com/go/shell/apiv1;shell", +- metadata = True, +- service_yaml = "cloudshell_v1.yaml", - deps = [ -- ":securitycenter_go_proto", -- "//google/iam/v1:iam_go_proto", +- ":shell_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", -- "@io_bazel_rules_go//proto/wkt:struct_go_proto", - ], -) - -go_test( -- name = "securitycenter_go_gapic_test", -- srcs = [":securitycenter_go_gapic_srcjar_test"], -- embed = [":securitycenter_go_gapic"], -- importpath = "cloud.google.com/go/securitycenter/apiv1p1beta1", +- name = "shell_go_gapic_test", +- srcs = [":shell_go_gapic_srcjar_test"], +- embed = [":shell_go_gapic"], +- importpath = "cloud.google.com/go/shell/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-securitycenter-v1p1beta1-go", +- name = "gapi-cloud-shell-v1-go", - deps = [ -- ":securitycenter_go_gapic", -- ":securitycenter_go_gapic_srcjar-test.srcjar", -- ":securitycenter_go_proto", +- ":shell_go_gapic", +- ":shell_go_gapic_srcjar-metadata.srcjar", +- ":shell_go_gapic_srcjar-test.srcjar", +- ":shell_go_proto", - ], -) - @@ -45732,16 +62864,16 @@ diff -urN a/google/cloud/securitycenter/v1p1beta1/BUILD.bazel b/google/cloud/sec -) - -py_gapic_library( -- name = "securitycenter_py_gapic", -- srcs = [":securitycenter_proto"], -- grpc_service_config = "securitycenter_grpc_service_config.json", +- name = "shell_py_gapic", +- srcs = [":shell_proto"], +- grpc_service_config = "cloudshell_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "securitycenter-v1p1beta1-py", +- name = "shell-v1-py", - deps = [ -- ":securitycenter_py_gapic", +- ":shell_py_gapic", - ], -) - @@ -45757,36 +62889,33 @@ diff -urN a/google/cloud/securitycenter/v1p1beta1/BUILD.bazel b/google/cloud/sec -) - -php_proto_library( -- name = "securitycenter_php_proto", -- deps = [":securitycenter_proto"], +- name = "shell_php_proto", +- deps = [":shell_proto"], -) - -php_grpc_library( -- name = "securitycenter_php_grpc", -- srcs = [":securitycenter_proto"], -- deps = [":securitycenter_php_proto"], +- name = "shell_php_grpc", +- srcs = [":shell_proto"], +- deps = [":shell_php_proto"], -) - -php_gapic_library( -- name = "securitycenter_php_gapic", -- src = ":securitycenter_proto_with_info", -- gapic_yaml = "securitycenter_gapic.yaml", -- grpc_service_config = "securitycenter_grpc_service_config.json", -- package = "google.cloud.securitycenter.v1p1beta1", -- service_yaml = "securitycenter_v1p1beta1.yaml", +- name = "shell_php_gapic", +- srcs = [":shell_proto_with_info"], +- grpc_service_config = "cloudshell_grpc_service_config.json", - deps = [ -- ":securitycenter_php_grpc", -- ":securitycenter_php_proto", +- ":shell_php_grpc", +- ":shell_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-securitycenter-v1p1beta1-php", +- name = "google-cloud-shell-v1-php", - deps = [ -- ":securitycenter_php_gapic", -- ":securitycenter_php_grpc", -- ":securitycenter_php_proto", +- ":shell_php_gapic", +- ":shell_php_grpc", +- ":shell_php_proto", - ], -) - @@ -45800,21 +62929,21 @@ diff -urN a/google/cloud/securitycenter/v1p1beta1/BUILD.bazel b/google/cloud/sec -) - -nodejs_gapic_library( -- name = "securitycenter_nodejs_gapic", -- package_name = "@google-cloud/security-center", -- src = ":securitycenter_proto_with_info", +- name = "shell_nodejs_gapic", +- package_name = "@google-cloud/shell", +- src = ":shell_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "securitycenter_grpc_service_config.json", -- package = "google.cloud.securitycenter.v1p1beta1", -- service_yaml = "securitycenter_v1p1beta1.yaml", +- grpc_service_config = "cloudshell_grpc_service_config.json", +- package = "google.cloud.shell.v1", +- service_yaml = "cloudshell_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "securitycenter-v1p1beta1-nodejs", +- name = "shell-v1-nodejs", - deps = [ -- ":securitycenter_nodejs_gapic", -- ":securitycenter_proto", +- ":shell_nodejs_gapic", +- ":shell_proto", - ], -) - @@ -45823,49 +62952,49 @@ diff -urN a/google/cloud/securitycenter/v1p1beta1/BUILD.bazel b/google/cloud/sec -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "securitycenter_ruby_proto", -- deps = [":securitycenter_proto"], +- name = "shell_ruby_proto", +- deps = [":shell_proto"], -) - -ruby_grpc_library( -- name = "securitycenter_ruby_grpc", -- srcs = [":securitycenter_proto"], -- deps = [":securitycenter_ruby_proto"], +- name = "shell_ruby_grpc", +- srcs = [":shell_proto"], +- deps = [":shell_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "securitycenter_ruby_gapic", -- srcs = [":securitycenter_proto_with_info"], +- name = "shell_ruby_gapic", +- srcs = [":shell_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-security_center-v1p1beta1", -- "ruby-cloud-env-prefix=SECURITY_CENTER", -- "ruby-cloud-product-url=https://cloud.google.com/security-command-center", -- "ruby-cloud-api-id=securitycenter.googleapis.com", -- "ruby-cloud-api-shortname=securitycenter", +- "ruby-cloud-gem-name=google-cloud-shell-v1", +- "ruby-cloud-env-prefix=CLOUD_SHELL", +- "ruby-cloud-product-url=https://cloud.google.com/shell/", +- "ruby-cloud-api-id=cloudshell.googleapis.com", +- "ruby-cloud-api-shortname=cloudshell", - ], -- grpc_service_config = "securitycenter_grpc_service_config.json", -- ruby_cloud_description = "Security Command Center API provides access to temporal views of assets and findings within an organization.", -- ruby_cloud_title = "Cloud Security Command Center V1p1beta1", +- grpc_service_config = "cloudshell_grpc_service_config.json", +- ruby_cloud_description = "Cloud Shell is an interactive shell environment for Google Cloud that makes it easy for you to learn and experiment with Google Cloud and manage your projects and resources from your web browser.", +- ruby_cloud_title = "Cloud Shell V1", - deps = [ -- ":securitycenter_ruby_grpc", -- ":securitycenter_ruby_proto", +- ":shell_ruby_grpc", +- ":shell_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-securitycenter-v1p1beta1-ruby", +- name = "google-cloud-shell-v1-ruby", - deps = [ -- ":securitycenter_ruby_gapic", -- ":securitycenter_ruby_grpc", -- ":securitycenter_ruby_proto", +- ":shell_ruby_gapic", +- ":shell_ruby_grpc", +- ":shell_ruby_proto", - ], -) - @@ -45881,349 +63010,418 @@ diff -urN a/google/cloud/securitycenter/v1p1beta1/BUILD.bazel b/google/cloud/sec -) - -csharp_proto_library( -- name = "securitycenter_csharp_proto", -- deps = [":securitycenter_proto"], +- name = "shell_csharp_proto", +- deps = [":shell_proto"], -) - -csharp_grpc_library( -- name = "securitycenter_csharp_grpc", -- srcs = [":securitycenter_proto"], -- deps = [":securitycenter_csharp_proto"], +- name = "shell_csharp_grpc", +- srcs = [":shell_proto"], +- deps = [":shell_csharp_proto"], -) - -csharp_gapic_library( -- name = "securitycenter_csharp_gapic", -- srcs = [":securitycenter_proto_with_info"], +- name = "shell_csharp_gapic", +- srcs = [":shell_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "securitycenter_grpc_service_config.json", +- grpc_service_config = "cloudshell_grpc_service_config.json", - deps = [ -- ":securitycenter_csharp_grpc", -- ":securitycenter_csharp_proto", +- ":shell_csharp_grpc", +- ":shell_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-securitycenter-v1p1beta1-csharp", +- name = "google-cloud-shell-v1-csharp", - deps = [ -- ":securitycenter_csharp_gapic", -- ":securitycenter_csharp_grpc", -- ":securitycenter_csharp_proto", +- ":shell_csharp_gapic", +- ":shell_csharp_grpc", +- ":shell_csharp_proto", - ], -) -diff -urN a/google/cloud/servicedirectory/v1/BUILD.bazel b/google/cloud/servicedirectory/v1/BUILD.bazel ---- a/google/cloud/servicedirectory/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/servicedirectory/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,304 +0,0 @@ +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/speech/BUILD.bazel b/google/cloud/speech/BUILD.bazel +--- a/google/cloud/speech/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/speech/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/cloud/speech/v1/BUILD.bazel b/google/cloud/speech/v1/BUILD.bazel +--- a/google/cloud/speech/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/speech/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,354 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", -- "csharp_grpc_library", -- "csharp_proto_library", -- "go_gapic_assembly_pkg", -- "go_gapic_library", -- "go_proto_library", -- "go_test", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", -- "java_grpc_library", -- "java_proto_library", -- "moved_proto_library", -- "nodejs_gapic_assembly_pkg", -- "nodejs_gapic_library", -- "php_gapic_assembly_pkg", -- "php_gapic_library", -- "php_grpc_library", -- "php_proto_library", -- "proto_library_with_info", -- "py_gapic_assembly_pkg", -- "py_gapic_library", -- "py_grpc_library", -- "py_proto_library", -- "ruby_gapic_assembly_pkg", -- "ruby_cloud_gapic_library", -- "ruby_grpc_library", -- "ruby_proto_library", --) -- --# This is an API workspace, having public visibility by default makes perfect sense. --package(default_visibility = ["//visibility:public"]) +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "servicedirectory_proto", +- name = "speech_proto", - srcs = [ -- "endpoint.proto", -- "lookup_service.proto", -- "namespace.proto", -- "registration_service.proto", -- "service.proto", +- "cloud_speech.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/iam/v1:iam_policy_proto", -- "//google/iam/v1:policy_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", +- "//google/longrunning:operations_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "servicedirectory_proto_with_info", +- name = "speech_proto_with_info", - deps = [ -- ":servicedirectory_proto", +- ":speech_proto", - "//google/cloud:common_resources_proto", - ], -) - +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- -java_proto_library( -- name = "servicedirectory_java_proto", -- deps = [":servicedirectory_proto"], +- name = "speech_java_proto", +- deps = [":speech_proto"], -) - -java_grpc_library( -- name = "servicedirectory_java_grpc", -- srcs = [":servicedirectory_proto"], -- deps = [":servicedirectory_java_proto"], +- name = "speech_java_grpc", +- srcs = [":speech_proto"], +- deps = [":speech_java_proto"], -) - -java_gapic_library( -- name = "servicedirectory_java_gapic", -- srcs = [":servicedirectory_proto_with_info"], -- grpc_service_config = "servicedirectory_grpc_service_config.json", +- name = "speech_java_gapic", +- srcs = [":speech_proto_with_info"], +- grpc_service_config = "speech_grpc_service_config.json", - test_deps = [ -- ":servicedirectory_java_grpc", -- "//google/iam/v1:iam_java_grpc", +- ":speech_java_grpc", - ], - deps = [ -- ":servicedirectory_java_proto", -- "//google/iam/v1:iam_java_proto", +- ":speech_java_proto", - ], -) - -java_gapic_test( -- name = "servicedirectory_java_gapic_test_suite", +- name = "speech_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.servicedirectory.v1.LookupServiceClientTest", -- "com.google.cloud.servicedirectory.v1.RegistrationServiceClientTest", +- "com.google.cloud.speech.v1.SpeechClientTest", - ], -- runtime_deps = [":servicedirectory_java_gapic_test"], +- runtime_deps = [":speech_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-servicedirectory-v1-java", +- name = "google-cloud-speech-v1-java", - deps = [ -- ":servicedirectory_java_gapic", -- ":servicedirectory_java_grpc", -- ":servicedirectory_java_proto", -- ":servicedirectory_proto", +- ":speech_java_gapic", +- ":speech_java_grpc", +- ":speech_java_proto", +- ":speech_proto", - ], -) - +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- -go_proto_library( -- name = "servicedirectory_go_proto", +- name = "speech_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/servicedirectory/v1", -- protos = [":servicedirectory_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/speech/v1", +- protos = [":speech_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", - ], -) - -go_gapic_library( -- name = "servicedirectory_go_gapic", -- srcs = [":servicedirectory_proto_with_info"], -- grpc_service_config = "servicedirectory_grpc_service_config.json", -- importpath = "cloud.google.com/go/servicedirectory/apiv1;servicedirectory", -- service_yaml = "servicedirectory_v1.yaml", +- name = "speech_go_gapic", +- srcs = [":speech_proto_with_info"], +- grpc_service_config = "speech_grpc_service_config.json", +- importpath = "cloud.google.com/go/speech/apiv1;speech", +- service_yaml = "speech_v1.yaml", - deps = [ -- ":servicedirectory_go_proto", -- "//google/iam/v1:iam_go_proto", +- ":speech_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:any_go_proto", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "servicedirectory_go_gapic_test", -- srcs = [":servicedirectory_go_gapic_srcjar_test"], -- embed = [":servicedirectory_go_gapic"], -- importpath = "cloud.google.com/go/servicedirectory/apiv1", +- name = "speech_go_gapic_test", +- srcs = [":speech_go_gapic_srcjar_test"], +- embed = [":speech_go_gapic"], +- importpath = "cloud.google.com/go/speech/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-servicedirectory-v1-go", +- name = "gapi-cloud-speech-v1-go", - deps = [ -- ":servicedirectory_go_gapic", -- ":servicedirectory_go_gapic_srcjar-test.srcjar", -- ":servicedirectory_go_proto", +- ":speech_go_gapic", +- ":speech_go_gapic_srcjar-test.srcjar", +- ":speech_go_proto", - ], -) - +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- -py_gapic_library( -- name = "servicedirectory_py_gapic", -- srcs = [":servicedirectory_proto"], -- grpc_service_config = "servicedirectory_grpc_service_config.json", +- name = "speech_py_gapic", +- srcs = [":speech_proto"], +- grpc_service_config = "speech_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "servicedirectory-v1-py", +- name = "speech-v1-py", - deps = [ -- ":servicedirectory_py_gapic", +- ":speech_py_gapic", - ], -) - +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- -php_proto_library( -- name = "servicedirectory_php_proto", -- deps = [":servicedirectory_proto"], +- name = "speech_php_proto", +- deps = [":speech_proto"], -) - -php_grpc_library( -- name = "servicedirectory_php_grpc", -- srcs = [":servicedirectory_proto"], -- deps = [":servicedirectory_php_proto"], +- name = "speech_php_grpc", +- srcs = [":speech_proto"], +- deps = [":speech_php_proto"], -) - -php_gapic_library( -- name = "servicedirectory_php_gapic", -- src = ":servicedirectory_proto_with_info", -- gapic_yaml = "servicedirectory_gapic.yaml", -- grpc_service_config = "servicedirectory_grpc_service_config.json", -- package = "google.cloud.servicedirectory.v1", -- service_yaml = "servicedirectory_v1.yaml", +- name = "speech_php_gapic", +- srcs = [":speech_proto_with_info"], +- grpc_service_config = "speech_grpc_service_config.json", +- service_yaml = "speech_v1.yaml", - deps = [ -- ":servicedirectory_php_grpc", -- ":servicedirectory_php_proto", +- ":speech_php_grpc", +- ":speech_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-servicedirectory-v1-php", +- name = "google-cloud-speech-v1-php", - deps = [ -- ":servicedirectory_php_gapic", -- ":servicedirectory_php_grpc", -- ":servicedirectory_php_proto", +- ":speech_php_gapic", +- ":speech_php_grpc", +- ":speech_php_proto", - ], -) - +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- -nodejs_gapic_library( -- name = "servicedirectory_nodejs_gapic", -- package_name = "@google-cloud/service-directory", -- src = ":servicedirectory_proto_with_info", +- name = "speech_nodejs_gapic", +- package_name = "@google-cloud/speech", +- src = ":speech_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "servicedirectory_grpc_service_config.json", -- main_service = "ServiceDirectory", -- package = "google.cloud.servicedirectory.v1", -- service_yaml = "servicedirectory_v1.yaml", +- grpc_service_config = "speech_grpc_service_config.json", +- package = "google.cloud.speech.v1", +- service_yaml = "speech_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "servicedirectory-v1-nodejs", +- name = "speech-v1-nodejs", - deps = [ -- ":servicedirectory_nodejs_gapic", -- ":servicedirectory_proto", +- ":speech_nodejs_gapic", +- ":speech_proto", - ], -) - +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- -ruby_proto_library( -- name = "servicedirectory_ruby_proto", -- deps = [":servicedirectory_proto"], +- name = "speech_ruby_proto", +- deps = [":speech_proto"], -) - -ruby_grpc_library( -- name = "servicedirectory_ruby_grpc", -- srcs = [":servicedirectory_proto"], -- deps = [":servicedirectory_ruby_proto"], +- name = "speech_ruby_grpc", +- srcs = [":speech_proto"], +- deps = [":speech_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "servicedirectory_ruby_gapic", -- srcs = [":servicedirectory_proto_with_info"], +- name = "speech_ruby_gapic", +- srcs = [":speech_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-service_directory-v1", -- "ruby-cloud-env-prefix=SERVICE_DIRECTORY", -- "ruby-cloud-product-url=https://cloud.google.com/service-directory", -- "ruby-cloud-api-id=servicedirectory.googleapis.com", -- "ruby-cloud-api-shortname=servicedirectory", +- "ruby-cloud-gem-name=google-cloud-speech-v1", +- "ruby-cloud-env-prefix=SPEECH", +- "ruby-cloud-product-url=https://cloud.google.com/speech-to-text", +- "ruby-cloud-api-id=speech.googleapis.com", +- "ruby-cloud-api-shortname=speech", - ], -- grpc_service_config = "servicedirectory_grpc_service_config.json", -- ruby_cloud_description = "Service Directory is the single place to register, browse, and resolve application services.", -- ruby_cloud_title = "Service Directory V1", +- grpc_service_config = "speech_grpc_service_config.json", +- ruby_cloud_description = "Google Speech-to-Text enables developers to convert audio to text by applying powerful neural network models in an easy-to-use API. The API recognizes more than 120 languages and variants to support your global user base. You can enable voice command-and-control, transcribe audio from call centers, and more. It can process real-time streaming or prerecorded audio, using Google's machine learning technology.", +- ruby_cloud_title = "Cloud Speech-to-Text V1", - deps = [ -- ":servicedirectory_ruby_grpc", -- ":servicedirectory_ruby_proto", +- ":speech_ruby_grpc", +- ":speech_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-servicedirectory-v1-ruby", +- name = "google-cloud-speech-v1-ruby", - deps = [ -- ":servicedirectory_ruby_gapic", -- ":servicedirectory_ruby_grpc", -- ":servicedirectory_ruby_proto", +- ":speech_ruby_gapic", +- ":speech_ruby_grpc", +- ":speech_ruby_proto", - ], -) - +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- -csharp_proto_library( -- name = "servicedirectory_csharp_proto", -- deps = [":servicedirectory_proto"], +- name = "speech_csharp_proto", +- deps = [":speech_proto"], -) - -csharp_grpc_library( -- name = "servicedirectory_csharp_grpc", -- srcs = [":servicedirectory_proto"], -- deps = [":servicedirectory_csharp_proto"], +- name = "speech_csharp_grpc", +- srcs = [":speech_proto"], +- deps = [":speech_csharp_proto"], -) - -csharp_gapic_library( -- name = "servicedirectory_csharp_gapic", -- srcs = [":servicedirectory_proto_with_info"], +- name = "speech_csharp_gapic", +- srcs = [":speech_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "servicedirectory_grpc_service_config.json", +- grpc_service_config = "speech_grpc_service_config.json", - deps = [ -- ":servicedirectory_csharp_grpc", -- ":servicedirectory_csharp_proto", +- ":speech_csharp_grpc", +- ":speech_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-servicedirectory-v1-csharp", +- name = "google-cloud-speech-v1-csharp", - deps = [ -- ":servicedirectory_csharp_gapic", -- ":servicedirectory_csharp_grpc", -- ":servicedirectory_csharp_proto", +- ":speech_csharp_gapic", +- ":speech_csharp_grpc", +- ":speech_csharp_proto", - ], -) -diff -urN a/google/cloud/servicedirectory/v1beta1/BUILD.bazel b/google/cloud/servicedirectory/v1beta1/BUILD.bazel ---- a/google/cloud/servicedirectory/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/servicedirectory/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,338 +0,0 @@ +- +-############################################################################## +-# C++ +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "cc_grpc_library", +- "cc_proto_library", +-) +- +-cc_proto_library( +- name = "speech_cc_proto", +- deps = [":speech_proto"], +-) +- +-cc_grpc_library( +- name = "speech_cc_grpc", +- srcs = [":speech_proto"], +- grpc_only = True, +- deps = [":speech_cc_proto"], +-) +diff -urN a/google/cloud/speech/v1p1beta1/BUILD.bazel b/google/cloud/speech/v1p1beta1/BUILD.bazel +--- a/google/cloud/speech/v1p1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/speech/v1p1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,356 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -46235,30 +63433,32 @@ diff -urN a/google/cloud/servicedirectory/v1beta1/BUILD.bazel b/google/cloud/ser -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "servicedirectory_proto", +- name = "speech_proto", - srcs = [ -- "endpoint.proto", -- "lookup_service.proto", -- "namespace.proto", -- "registration_service.proto", -- "service.proto", +- "cloud_speech.proto", +- "cloud_speech_adaptation.proto", +- "resource.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/iam/v1:iam_policy_proto", -- "//google/iam/v1:policy_proto", +- "//google/longrunning:operations_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "servicedirectory_proto_with_info", +- name = "speech_proto_with_info", - deps = [ -- ":servicedirectory_proto", +- ":speech_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -46276,47 +63476,45 @@ diff -urN a/google/cloud/servicedirectory/v1beta1/BUILD.bazel b/google/cloud/ser -) - -java_proto_library( -- name = "servicedirectory_java_proto", -- deps = [":servicedirectory_proto"], +- name = "speech_java_proto", +- deps = [":speech_proto"], -) - -java_grpc_library( -- name = "servicedirectory_java_grpc", -- srcs = [":servicedirectory_proto"], -- deps = [":servicedirectory_java_proto"], +- name = "speech_java_grpc", +- srcs = [":speech_proto"], +- deps = [":speech_java_proto"], -) - -java_gapic_library( -- name = "servicedirectory_java_gapic", -- srcs = [":servicedirectory_proto_with_info"], -- grpc_service_config = "servicedirectory_grpc_service_config.json", +- name = "speech_java_gapic", +- srcs = [":speech_proto_with_info"], +- grpc_service_config = "speech_grpc_service_config.json", - test_deps = [ -- ":servicedirectory_java_grpc", -- "//google/iam/v1:iam_java_grpc", +- ":speech_java_grpc", - ], - deps = [ -- ":servicedirectory_java_proto", -- "//google/iam/v1:iam_java_proto", +- ":speech_java_proto", - ], -) - -java_gapic_test( -- name = "servicedirectory_java_gapic_test_suite", +- name = "speech_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.servicedirectory.v1beta1.LookupServiceClientTest", -- "com.google.cloud.servicedirectory.v1beta1.RegistrationServiceClientTest", +- "com.google.cloud.speech.v1p1beta1.AdaptationClientTest", +- "com.google.cloud.speech.v1p1beta1.SpeechClientTest", - ], -- runtime_deps = [":servicedirectory_java_gapic_test"], +- runtime_deps = [":speech_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-servicedirectory-v1beta1-java", +- name = "google-cloud-speech-v1p1beta1-java", - deps = [ -- ":servicedirectory_java_gapic", -- ":servicedirectory_java_grpc", -- ":servicedirectory_java_proto", -- ":servicedirectory_proto", +- ":speech_java_gapic", +- ":speech_java_grpc", +- ":speech_java_proto", +- ":speech_proto", - ], -) - @@ -46332,42 +63530,49 @@ diff -urN a/google/cloud/servicedirectory/v1beta1/BUILD.bazel b/google/cloud/ser -) - -go_proto_library( -- name = "servicedirectory_go_proto", +- name = "speech_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/servicedirectory/v1beta1", -- protos = [":servicedirectory_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1", +- protos = [":speech_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/iam/v1:iam_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", - ], -) - -go_gapic_library( -- name = "servicedirectory_go_gapic", -- srcs = [":servicedirectory_proto_with_info"], -- grpc_service_config = "servicedirectory_grpc_service_config.json", -- importpath = "cloud.google.com/go/servicedirectory/apiv1beta1;servicedirectory", -- service_yaml = "servicedirectory_v1beta1.yaml", +- name = "speech_go_gapic", +- srcs = [":speech_proto_with_info"], +- grpc_service_config = "speech_grpc_service_config.json", +- importpath = "cloud.google.com/go/speech/apiv1p1beta1;speech", +- metadata = True, +- service_yaml = "speech_v1p1beta1.yaml", - deps = [ -- ":servicedirectory_go_proto", -- "//google/iam/v1:iam_go_proto", +- ":speech_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:any_go_proto", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "servicedirectory_go_gapic_test", -- srcs = [":servicedirectory_go_gapic_srcjar_test"], -- embed = [":servicedirectory_go_gapic"], -- importpath = "cloud.google.com/go/servicedirectory/apiv1beta1", +- name = "speech_go_gapic_test", +- srcs = [":speech_go_gapic_srcjar_test"], +- embed = [":speech_go_gapic"], +- importpath = "cloud.google.com/go/speech/apiv1p1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-servicedirectory-v1beta1-go", +- name = "gapi-cloud-speech-v1p1beta1-go", - deps = [ -- ":servicedirectory_go_gapic", -- ":servicedirectory_go_gapic_srcjar-test.srcjar", -- ":servicedirectory_go_proto", +- ":speech_go_gapic", +- ":speech_go_gapic_srcjar-metadata.srcjar", +- ":speech_go_gapic_srcjar-test.srcjar", +- ":speech_go_proto", - ], -) - @@ -46381,16 +63586,16 @@ diff -urN a/google/cloud/servicedirectory/v1beta1/BUILD.bazel b/google/cloud/ser -) - -py_gapic_library( -- name = "servicedirectory_py_gapic", -- srcs = [":servicedirectory_proto"], -- grpc_service_config = "servicedirectory_grpc_service_config.json", +- name = "speech_py_gapic", +- srcs = [":speech_proto"], +- grpc_service_config = "speech_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "servicedirectory-v1beta1-py", +- name = "speech-v1p1beta1-py", - deps = [ -- ":servicedirectory_py_gapic", +- ":speech_py_gapic", - ], -) - @@ -46406,36 +63611,34 @@ diff -urN a/google/cloud/servicedirectory/v1beta1/BUILD.bazel b/google/cloud/ser -) - -php_proto_library( -- name = "servicedirectory_php_proto", -- deps = [":servicedirectory_proto"], +- name = "speech_php_proto", +- deps = [":speech_proto"], -) - -php_grpc_library( -- name = "servicedirectory_php_grpc", -- srcs = [":servicedirectory_proto"], -- deps = [":servicedirectory_php_proto"], +- name = "speech_php_grpc", +- srcs = [":speech_proto"], +- deps = [":speech_php_proto"], -) - -php_gapic_library( -- name = "servicedirectory_php_gapic", -- src = ":servicedirectory_proto_with_info", -- gapic_yaml = "servicedirectory_gapic.yaml", -- grpc_service_config = "servicedirectory_grpc_service_config.json", -- package = "google.cloud.servicedirectory.v1beta1", -- service_yaml = "servicedirectory_v1beta1.yaml", +- name = "speech_php_gapic", +- srcs = [":speech_proto_with_info"], +- grpc_service_config = "speech_grpc_service_config.json", +- service_yaml = "speech_v1p1beta1.yaml", - deps = [ -- ":servicedirectory_php_grpc", -- ":servicedirectory_php_proto", +- ":speech_php_grpc", +- ":speech_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-servicedirectory-v1beta1-php", +- name = "google-cloud-speech-v1p1beta1-php", - deps = [ -- ":servicedirectory_php_gapic", -- ":servicedirectory_php_grpc", -- ":servicedirectory_php_proto", +- ":speech_php_gapic", +- ":speech_php_grpc", +- ":speech_php_proto", - ], -) - @@ -46449,22 +63652,21 @@ diff -urN a/google/cloud/servicedirectory/v1beta1/BUILD.bazel b/google/cloud/ser -) - -nodejs_gapic_library( -- name = "servicedirectory_nodejs_gapic", -- package_name = "@google-cloud/service-directory", -- src = ":servicedirectory_proto_with_info", +- name = "speech_nodejs_gapic", +- package_name = "@google-cloud/speech", +- src = ":speech_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "servicedirectory_grpc_service_config.json", -- main_service = "ServiceDirectory", -- package = "google.cloud.servicedirectory.v1beta1", -- service_yaml = "servicedirectory_v1beta1.yaml", +- grpc_service_config = "speech_grpc_service_config.json", +- package = "google.cloud.speech.v1p1beta1", +- service_yaml = "speech_v1p1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "servicedirectory-v1beta1-nodejs", +- name = "speech-v1p1beta1-nodejs", - deps = [ -- ":servicedirectory_nodejs_gapic", -- ":servicedirectory_proto", +- ":speech_nodejs_gapic", +- ":speech_proto", - ], -) - @@ -46473,49 +63675,49 @@ diff -urN a/google/cloud/servicedirectory/v1beta1/BUILD.bazel b/google/cloud/ser -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "servicedirectory_ruby_proto", -- deps = [":servicedirectory_proto"], +- name = "speech_ruby_proto", +- deps = [":speech_proto"], -) - -ruby_grpc_library( -- name = "servicedirectory_ruby_grpc", -- srcs = [":servicedirectory_proto"], -- deps = [":servicedirectory_ruby_proto"], +- name = "speech_ruby_grpc", +- srcs = [":speech_proto"], +- deps = [":speech_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "servicedirectory_ruby_gapic", -- srcs = [":servicedirectory_proto_with_info"], +- name = "speech_ruby_gapic", +- srcs = [":speech_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-service_directory-v1beta1", -- "ruby-cloud-env-prefix=SERVICE_DIRECTORY", -- "ruby-cloud-product-url=https://cloud.google.com/service-directory", -- "ruby-cloud-api-id=servicedirectory.googleapis.com", -- "ruby-cloud-api-shortname=servicedirectory", +- "ruby-cloud-api-id=speech.googleapis.com", +- "ruby-cloud-api-shortname=speech", +- "ruby-cloud-env-prefix=SPEECH", +- "ruby-cloud-gem-name=google-cloud-speech-v1p1beta1", +- "ruby-cloud-product-url=https://cloud.google.com/speech-to-text", - ], -- grpc_service_config = "servicedirectory_grpc_service_config.json", -- ruby_cloud_description = "Service directory is the single place to register, browse, and resolve application services.", -- ruby_cloud_title = "Service Directory V1beta1", +- grpc_service_config = "speech_grpc_service_config.json", +- ruby_cloud_description = "Google Speech-to-Text enables developers to convert audio to text by applying powerful neural network models in an easy-to-use API. The API recognizes more than 120 languages and variants to support your global user base. You can enable voice command-and-control, transcribe audio from call centers, and more. It can process real-time streaming or prerecorded audio, using Google's machine learning technology.", +- ruby_cloud_title = "Cloud Speech-to-Text V1p1beta1", - deps = [ -- ":servicedirectory_ruby_grpc", -- ":servicedirectory_ruby_proto", +- ":speech_ruby_grpc", +- ":speech_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-servicedirectory-v1beta1-ruby", +- name = "google-cloud-speech-v1p1beta1-ruby", - deps = [ -- ":servicedirectory_ruby_gapic", -- ":servicedirectory_ruby_grpc", -- ":servicedirectory_ruby_proto", +- ":speech_ruby_gapic", +- ":speech_ruby_grpc", +- ":speech_ruby_proto", - ], -) - @@ -46531,40 +63733,45 @@ diff -urN a/google/cloud/servicedirectory/v1beta1/BUILD.bazel b/google/cloud/ser -) - -csharp_proto_library( -- name = "servicedirectory_csharp_proto", -- deps = [":servicedirectory_proto"], +- name = "speech_csharp_proto", +- deps = [":speech_proto"], -) - -csharp_grpc_library( -- name = "servicedirectory_csharp_grpc", -- srcs = [":servicedirectory_proto"], -- deps = [":servicedirectory_csharp_proto"], +- name = "speech_csharp_grpc", +- srcs = [":speech_proto"], +- deps = [":speech_csharp_proto"], -) - -csharp_gapic_library( -- name = "servicedirectory_csharp_gapic", -- srcs = [":servicedirectory_proto_with_info"], +- name = "speech_csharp_gapic", +- srcs = [":speech_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "servicedirectory_grpc_service_config.json", +- grpc_service_config = "speech_grpc_service_config.json", - deps = [ -- ":servicedirectory_csharp_grpc", -- ":servicedirectory_csharp_proto", +- ":speech_csharp_grpc", +- ":speech_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-servicedirectory-v1beta1-csharp", +- name = "google-cloud-speech-v1p1beta1-csharp", - deps = [ -- ":servicedirectory_csharp_gapic", -- ":servicedirectory_csharp_grpc", -- ":servicedirectory_csharp_proto", +- ":speech_csharp_gapic", +- ":speech_csharp_grpc", +- ":speech_csharp_proto", - ], -) -diff -urN a/google/cloud/shell/v1/BUILD.bazel b/google/cloud/shell/v1/BUILD.bazel ---- a/google/cloud/shell/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/shell/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,341 +0,0 @@ +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/sql/v1beta4/BUILD.bazel b/google/cloud/sql/v1beta4/BUILD.bazel +--- a/google/cloud/sql/v1beta4/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/sql/v1beta4/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,293 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/rules_gapic/tree/master/bazel - @@ -46576,6 +63783,308 @@ diff -urN a/google/cloud/shell/v1/BUILD.bazel b/google/cloud/shell/v1/BUILD.baze -# * extra_protoc_file_parameters -# The complete list of preserved parameters can be found in the source code. - +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +- "go_proto_library", +- "java_grpc_library", +- "java_proto_library", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +- "proto_library_with_info", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-proto_library( +- name = "sql_proto", +- srcs = [ +- "cloud_sql.proto", +- "cloud_sql_resources.proto", +- "cloud_sql_tiers.proto", +- "cloud_sql_users.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", +- ], +-) +- +-proto_library_with_info( +- name = "sql_proto_with_info", +- deps = [ +- ":sql_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-java_proto_library( +- name = "sql_java_proto", +- deps = [":sql_proto"], +-) +- +-java_grpc_library( +- name = "sql_java_grpc", +- srcs = [":sql_proto"], +- deps = [":sql_java_proto"], +-) +- +-# Excluded because of generation errors. +-# +-# java_gapic_library( +-# name = "sql_java_gapic", +-# srcs = [":sql_proto_with_info"], +-# grpc_service_config = "sqladmin_grpc_service_config.json", +-# test_deps = [ +-# ":sql_java_grpc", +-# ], +-# deps = [ +-# ":sql_java_proto", +-# ], +-# ) +- +-# java_gapic_test( +-# name = "sql_java_gapic_test_suite", +-# test_classes = [ +-# "com.google.cloud.sql.v1beta4.SqlBackupRunsServiceClientTest", +-# "com.google.cloud.sql.v1beta4.SqlDatabasesServiceClientTest", +-# "com.google.cloud.sql.v1beta4.SqlFlagsServiceClientTest", +-# "com.google.cloud.sql.v1beta4.SqlInstancesServiceClientTest", +-# "com.google.cloud.sql.v1beta4.SqlOperationsServiceClientTest", +-# "com.google.cloud.sql.v1beta4.SqlSslCertsServiceClientTest", +-# "com.google.cloud.sql.v1beta4.SqlTiersServiceClientTest", +-# "com.google.cloud.sql.v1beta4.SqlUsersServiceClientTest", +-# ], +-# runtime_deps = [":sql_java_gapic_test"], +-# ) +- +-# # Open Source Packages +-# java_gapic_assembly_gradle_pkg( +-# name = "google-cloud-sql-v1beta4-java", +-# deps = [ +-# ":sql_java_gapic", +-# ":sql_java_grpc", +-# ":sql_java_proto", +-# ":sql_proto", +-# ], +-# ) +- +-go_proto_library( +- name = "sql_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/cloud/sql/v1beta4", +- protos = [":sql_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- ], +-) +- +-# Excluded because of generation errors. +-# +-# go_gapic_library( +-# name = "sql_go_gapic", +-# srcs = [":sql_proto_with_info"], +-# grpc_service_config = "sqladmin_grpc_service_config.json", +-# importpath = "cloud.google.com/go/sql/apiv1beta4;sql", +-# metadata = True, +-# service_yaml = "sqladmin_v1beta4.yaml", +-# deps = [ +-# ":sql_go_proto", +-# ], +-# ) +- +-# go_test( +-# name = "sql_go_gapic_test", +-# srcs = [":sql_go_gapic_srcjar_test"], +-# embed = [":sql_go_gapic"], +-# importpath = "cloud.google.com/go/sql/apiv1beta4", +-# ) +- +-# # Open Source Packages +-# go_gapic_assembly_pkg( +-# name = "gapi-cloud-sql-v1beta4-go", +-# deps = [ +-# ":sql_go_gapic", +-# ":sql_go_gapic_srcjar-metadata.srcjar", +-# ":sql_go_gapic_srcjar-test.srcjar", +-# ":sql_go_proto", +-# ], +-# ) +- +-py_gapic_library( +- name = "sql_py_gapic", +- srcs = [":sql_proto"], +- grpc_service_config = "sqladmin_grpc_service_config.json", +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "sql-v1beta4-py", +- deps = [ +- ":sql_py_gapic", +- ], +-) +- +-php_proto_library( +- name = "sql_php_proto", +- deps = [":sql_proto"], +-) +- +-php_grpc_library( +- name = "sql_php_grpc", +- srcs = [":sql_proto"], +- deps = [":sql_php_proto"], +-) +- +-php_gapic_library( +- name = "sql_php_gapic", +- srcs = [":sql_proto_with_info"], +- grpc_service_config = "sqladmin_grpc_service_config.json", +- service_yaml = "sqladmin_v1beta4.yaml", +- deps = [ +- ":sql_php_grpc", +- ":sql_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-sql-v1beta4-php", +- deps = [ +- ":sql_php_gapic", +- ":sql_php_grpc", +- ":sql_php_proto", +- ], +-) +- +-nodejs_gapic_library( +- name = "sql_nodejs_gapic", +- package_name = "@google-cloud/sql", +- src = ":sql_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "sqladmin_grpc_service_config.json", +- package = "google.cloud.sql.v1beta4", +- service_yaml = "sqladmin_v1beta4.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "sql-v1beta4-nodejs", +- deps = [ +- ":sql_nodejs_gapic", +- ":sql_proto", +- ], +-) +- +-ruby_proto_library( +- name = "sql_ruby_proto", +- deps = [":sql_proto"], +-) +- +-ruby_grpc_library( +- name = "sql_ruby_grpc", +- srcs = [":sql_proto"], +- deps = [":sql_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "sql_ruby_gapic", +- srcs = [":sql_proto_with_info"], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-sql-v1beta4"], +- grpc_service_config = "sqladmin_grpc_service_config.json", +- deps = [ +- ":sql_ruby_grpc", +- ":sql_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-sql-v1beta4-ruby", +- deps = [ +- ":sql_ruby_gapic", +- ":sql_ruby_grpc", +- ":sql_ruby_proto", +- ], +-) +- +-csharp_proto_library( +- name = "sql_csharp_proto", +- deps = [":sql_proto"], +-) +- +-csharp_grpc_library( +- name = "sql_csharp_grpc", +- srcs = [":sql_proto"], +- deps = [":sql_csharp_proto"], +-) +- +-# Excluded because of generation errors. +-# +-# csharp_gapic_library( +-# name = "sql_csharp_gapic", +-# srcs = [":sql_proto_with_info"], +-# common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +-# grpc_service_config = "sqladmin_grpc_service_config.json", +-# deps = [ +-# ":sql_csharp_grpc", +-# ":sql_csharp_proto", +-# ], +-# ) +- +-# # Open Source Packages +-# csharp_gapic_assembly_pkg( +-# name = "google-cloud-sql-v1beta4-csharp", +-# deps = [ +-# ":sql_csharp_gapic", +-# ":sql_csharp_grpc", +-# ":sql_csharp_proto", +-# ], +-# ) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here +diff -urN a/google/cloud/talent/BUILD.bazel b/google/cloud/talent/BUILD.bazel +--- a/google/cloud/talent/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/talent/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/cloud/talent/v4/BUILD.bazel b/google/cloud/talent/v4/BUILD.bazel +--- a/google/cloud/talent/v4/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/talent/v4/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,371 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. +- -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) - @@ -46586,9 +64095,20 @@ diff -urN a/google/cloud/shell/v1/BUILD.bazel b/google/cloud/shell/v1/BUILD.baze -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "shell_proto", +- name = "talent_proto", - srcs = [ -- "cloudshell.proto", +- "common.proto", +- "company.proto", +- "company_service.proto", +- "completion_service.proto", +- "event.proto", +- "event_service.proto", +- "filters.proto", +- "histogram.proto", +- "job.proto", +- "job_service.proto", +- "tenant.proto", +- "tenant_service.proto", - ], - deps = [ - "//google/api:annotations_proto", @@ -46596,15 +64116,24 @@ diff -urN a/google/cloud/shell/v1/BUILD.bazel b/google/cloud/shell/v1/BUILD.baze - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "//google/longrunning:operations_proto", +- "//google/rpc:status_proto", +- "//google/type:latlng_proto", +- "//google/type:money_proto", +- "//google/type:postal_address_proto", +- "//google/type:timeofday_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "shell_proto_with_info", +- name = "talent_proto_with_info", - deps = [ -- ":shell_proto", +- ":talent_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -46622,44 +64151,48 @@ diff -urN a/google/cloud/shell/v1/BUILD.bazel b/google/cloud/shell/v1/BUILD.baze -) - -java_proto_library( -- name = "shell_java_proto", -- deps = [":shell_proto"], +- name = "talent_java_proto", +- deps = [":talent_proto"], -) - -java_grpc_library( -- name = "shell_java_grpc", -- srcs = [":shell_proto"], -- deps = [":shell_java_proto"], +- name = "talent_java_grpc", +- srcs = [":talent_proto"], +- deps = [":talent_java_proto"], -) - -java_gapic_library( -- name = "shell_java_gapic", -- srcs = [":shell_proto_with_info"], -- grpc_service_config = "cloudshell_grpc_service_config.json", +- name = "talent_java_gapic", +- srcs = [":talent_proto_with_info"], +- grpc_service_config = "talent_grpc_service_config.json", - test_deps = [ -- ":shell_java_grpc", +- ":talent_java_grpc", - ], - deps = [ -- ":shell_java_proto", +- ":talent_java_proto", - ], -) - -java_gapic_test( -- name = "shell_java_gapic_test_suite", +- name = "talent_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.shell.v1.CloudShellServiceClientTest", +- "com.google.cloud.talent.v4.CompanyServiceClientTest", +- "com.google.cloud.talent.v4.CompletionClientTest", +- "com.google.cloud.talent.v4.EventServiceClientTest", +- "com.google.cloud.talent.v4.JobServiceClientTest", +- "com.google.cloud.talent.v4.TenantServiceClientTest", - ], -- runtime_deps = [":shell_java_gapic_test"], +- runtime_deps = [":talent_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-shell-v1-java", +- name = "google-cloud-talent-v4-java", - deps = [ -- ":shell_java_gapic", -- ":shell_java_grpc", -- ":shell_java_proto", -- ":shell_proto", +- ":talent_java_gapic", +- ":talent_java_grpc", +- ":talent_java_proto", +- ":talent_proto", - ], -) - @@ -46675,46 +64208,51 @@ diff -urN a/google/cloud/shell/v1/BUILD.bazel b/google/cloud/shell/v1/BUILD.baze -) - -go_proto_library( -- name = "shell_go_proto", +- name = "talent_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/shell/v1", -- protos = [":shell_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/talent/v4", +- protos = [":talent_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", +- "//google/type:latlng_go_proto", +- "//google/type:money_go_proto", +- "//google/type:postaladdress_go_proto", +- "//google/type:timeofday_go_proto", - ], -) - -go_gapic_library( -- name = "shell_go_gapic", -- srcs = [":shell_proto_with_info"], -- grpc_service_config = "cloudshell_grpc_service_config.json", -- importpath = "cloud.google.com/go/shell/apiv1;shell", -- service_yaml = "cloudshell_v1.yaml", -- metadata = True, +- name = "talent_go_gapic", +- srcs = [":talent_proto_with_info"], +- grpc_service_config = "talent_grpc_service_config.json", +- importpath = "cloud.google.com/go/talent/apiv4;talent", +- service_yaml = "//google/cloud/talent:talent_v4.yaml", - deps = [ -- ":shell_go_proto", +- ":talent_go_proto", - "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", - "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:any_go_proto", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "shell_go_gapic_test", -- srcs = [":shell_go_gapic_srcjar_test"], -- embed = [":shell_go_gapic"], -- importpath = "cloud.google.com/go/shell/apiv1", +- name = "talent_go_gapic_test", +- srcs = [":talent_go_gapic_srcjar_test"], +- embed = [":talent_go_gapic"], +- importpath = "cloud.google.com/go/talent/apiv4", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-shell-v1-go", +- name = "gapi-cloud-talent-v4-go", - deps = [ -- ":shell_go_gapic", -- ":shell_go_gapic_srcjar-test.srcjar", -- ":shell_go_gapic_srcjar-metadata.srcjar", -- ":shell_go_proto", +- ":talent_go_gapic", +- ":talent_go_gapic_srcjar-test.srcjar", +- ":talent_go_proto", - ], -) - @@ -46728,16 +64266,15 @@ diff -urN a/google/cloud/shell/v1/BUILD.bazel b/google/cloud/shell/v1/BUILD.baze -) - -py_gapic_library( -- name = "shell_py_gapic", -- srcs = [":shell_proto"], -- grpc_service_config = "cloudshell_grpc_service_config.json", +- name = "talent_py_gapic", +- srcs = [":talent_proto"], +- grpc_service_config = "talent_grpc_service_config.json", -) - --# Open Source Packages -py_gapic_assembly_pkg( -- name = "shell-v1-py", +- name = "talent-v4-py", - deps = [ -- ":shell_py_gapic", +- ":talent_py_gapic", - ], -) - @@ -46753,36 +64290,33 @@ diff -urN a/google/cloud/shell/v1/BUILD.bazel b/google/cloud/shell/v1/BUILD.baze -) - -php_proto_library( -- name = "shell_php_proto", -- deps = [":shell_proto"], +- name = "talent_php_proto", +- deps = [":talent_proto"], -) - -php_grpc_library( -- name = "shell_php_grpc", -- srcs = [":shell_proto"], -- deps = [":shell_php_proto"], +- name = "talent_php_grpc", +- srcs = [":talent_proto"], +- deps = [":talent_php_proto"], -) - -php_gapic_library( -- name = "shell_php_gapic", -- src = ":shell_proto_with_info", -- gapic_yaml = "cloudshell_gapic.yaml", -- grpc_service_config = "cloudshell_grpc_service_config.json", -- package = "google.cloud.shell.v1", -- service_yaml = "cloudshell_v1.yaml", +- name = "talent_php_gapic", +- srcs = [":talent_proto_with_info"], +- grpc_service_config = "talent_grpc_service_config.json", - deps = [ -- ":shell_php_grpc", -- ":shell_php_proto", +- ":talent_php_grpc", +- ":talent_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-shell-v1-php", +- name = "google-cloud-talent-v4-php", - deps = [ -- ":shell_php_gapic", -- ":shell_php_grpc", -- ":shell_php_proto", +- ":talent_php_gapic", +- ":talent_php_grpc", +- ":talent_php_proto", - ], -) - @@ -46796,21 +64330,22 @@ diff -urN a/google/cloud/shell/v1/BUILD.bazel b/google/cloud/shell/v1/BUILD.baze -) - -nodejs_gapic_library( -- name = "shell_nodejs_gapic", -- package_name = "@google-cloud/shell", -- src = ":shell_proto_with_info", +- name = "talent_nodejs_gapic", +- package_name = "@google-cloud/talent", +- src = ":talent_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "cloudshell_grpc_service_config.json", -- package = "google.cloud.shell.v1", -- service_yaml = "cloudshell_v1.yaml", +- grpc_service_config = "talent_grpc_service_config.json", +- main_service = "talent", +- package = "google.cloud.talent.v4", +- service_yaml = "//google/cloud/talent:talent_v4.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "shell-v1-nodejs", +- name = "talent-v4-nodejs", - deps = [ -- ":shell_nodejs_gapic", -- ":shell_proto", +- ":talent_nodejs_gapic", +- ":talent_proto", - ], -) - @@ -46819,43 +64354,49 @@ diff -urN a/google/cloud/shell/v1/BUILD.bazel b/google/cloud/shell/v1/BUILD.baze -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "shell_ruby_proto", -- deps = [":shell_proto"], +- name = "talent_ruby_proto", +- deps = [":talent_proto"], -) - -ruby_grpc_library( -- name = "shell_ruby_grpc", -- srcs = [":shell_proto"], -- deps = [":shell_ruby_proto"], +- name = "talent_ruby_grpc", +- srcs = [":talent_proto"], +- deps = [":talent_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "shell_ruby_gapic", -- srcs = [":shell_proto_with_info"], +- name = "talent_ruby_gapic", +- srcs = [":talent_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-shell-v1", +- "ruby-cloud-gem-name=google-cloud-talent-v4", +- "ruby-cloud-env-prefix=TALENT", +- "ruby-cloud-product-url=https://cloud.google.com/solutions/talent-solution", +- "ruby-cloud-api-id=jobs.googleapis.com", +- "ruby-cloud-api-shortname=jobs", - ], -- grpc_service_config = "cloudshell_grpc_service_config.json", +- grpc_service_config = "talent_grpc_service_config.json", +- ruby_cloud_description = "Transform your job search and candidate matching capabilities with Cloud Talent Solution, designed to support enterprise talent acquisition technology and evolve with your growing needs. This AI solution includes features such as Job Search and Profile Search to provide candidates and employers with an enhanced talent acquisition experience.", +- ruby_cloud_title = "Cloud Talent Solution V4", - deps = [ -- ":shell_ruby_grpc", -- ":shell_ruby_proto", +- ":talent_ruby_grpc", +- ":talent_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-shell-v1-ruby", +- name = "google-cloud-talent-v4-ruby", - deps = [ -- ":shell_ruby_gapic", -- ":shell_ruby_grpc", -- ":shell_ruby_proto", +- ":talent_ruby_gapic", +- ":talent_ruby_grpc", +- ":talent_ruby_proto", - ], -) - @@ -46871,34 +64412,32 @@ diff -urN a/google/cloud/shell/v1/BUILD.bazel b/google/cloud/shell/v1/BUILD.baze -) - -csharp_proto_library( -- name = "shell_csharp_proto", -- deps = [":shell_proto"], +- name = "talent_csharp_proto", +- deps = [":talent_proto"], -) - -csharp_grpc_library( -- name = "shell_csharp_grpc", -- srcs = [":shell_proto"], -- deps = [":shell_csharp_proto"], +- name = "talent_csharp_grpc", +- srcs = [":talent_proto"], +- deps = [":talent_csharp_proto"], -) - -csharp_gapic_library( -- name = "shell_csharp_gapic", -- srcs = [":shell_proto_with_info"], -- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "cloudshell_grpc_service_config.json", +- name = "talent_csharp_gapic", +- srcs = [":talent_proto_with_info"], - deps = [ -- ":shell_csharp_grpc", -- ":shell_csharp_proto", +- ":talent_csharp_grpc", +- ":talent_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-shell-v1-csharp", +- name = "google-cloud-talent-v4-csharp", - deps = [ -- ":shell_csharp_gapic", -- ":shell_csharp_grpc", -- ":shell_csharp_proto", +- ":talent_csharp_gapic", +- ":talent_csharp_grpc", +- ":talent_csharp_proto", - ], -) - @@ -46906,15 +64445,10 @@ diff -urN a/google/cloud/shell/v1/BUILD.bazel b/google/cloud/shell/v1/BUILD.baze -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/speech/BUILD.bazel b/google/cloud/speech/BUILD.bazel ---- a/google/cloud/speech/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/speech/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/cloud/speech/v1/BUILD.bazel b/google/cloud/speech/v1/BUILD.bazel ---- a/google/cloud/speech/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/speech/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,356 +0,0 @@ +diff -urN a/google/cloud/talent/v4beta1/BUILD.bazel b/google/cloud/talent/v4beta1/BUILD.bazel +--- a/google/cloud/talent/v4beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/talent/v4beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,373 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -46927,26 +64461,51 @@ diff -urN a/google/cloud/speech/v1/BUILD.bazel b/google/cloud/speech/v1/BUILD.ba -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "speech_proto", +- name = "talent_proto", - srcs = [ -- "cloud_speech.proto", +- "application.proto", +- "application_service.proto", +- "batch.proto", +- "common.proto", +- "company.proto", +- "company_service.proto", +- "completion_service.proto", +- "event.proto", +- "event_service.proto", +- "filters.proto", +- "histogram.proto", +- "job.proto", +- "job_service.proto", +- "profile.proto", +- "profile_service.proto", +- "tenant.proto", +- "tenant_service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", +- "//google/api:resource_proto", - "//google/longrunning:operations_proto", - "//google/rpc:status_proto", +- "//google/type:date_proto", +- "//google/type:latlng_proto", +- "//google/type:money_proto", +- "//google/type:postal_address_proto", +- "//google/type:timeofday_proto", - "@com_google_protobuf//:any_proto", - "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "speech_proto_with_info", +- name = "talent_proto_with_info", - deps = [ -- ":speech_proto", +- ":talent_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -46964,44 +64523,50 @@ diff -urN a/google/cloud/speech/v1/BUILD.bazel b/google/cloud/speech/v1/BUILD.ba -) - -java_proto_library( -- name = "speech_java_proto", -- deps = [":speech_proto"], +- name = "talent_java_proto", +- deps = [":talent_proto"], -) - -java_grpc_library( -- name = "speech_java_grpc", -- srcs = [":speech_proto"], -- deps = [":speech_java_proto"], +- name = "talent_java_grpc", +- srcs = [":talent_proto"], +- deps = [":talent_java_proto"], -) - -java_gapic_library( -- name = "speech_java_gapic", -- srcs = [":speech_proto_with_info"], -- grpc_service_config = "speech_grpc_service_config.json", +- name = "talent_java_gapic", +- srcs = [":talent_proto_with_info"], +- grpc_service_config = "talent_grpc_service_config.json", - test_deps = [ -- ":speech_java_grpc", +- ":talent_java_grpc", - ], - deps = [ -- ":speech_java_proto", +- ":talent_java_proto", - ], -) - -java_gapic_test( -- name = "speech_java_gapic_test_suite", +- name = "talent_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.speech.v1.SpeechClientTest", +- "com.google.cloud.talent.v4beta1.ApplicationServiceClientTest", +- "com.google.cloud.talent.v4beta1.CompanyServiceClientTest", +- "com.google.cloud.talent.v4beta1.CompletionClientTest", +- "com.google.cloud.talent.v4beta1.EventServiceClientTest", +- "com.google.cloud.talent.v4beta1.JobServiceClientTest", +- "com.google.cloud.talent.v4beta1.ProfileServiceClientTest", +- "com.google.cloud.talent.v4beta1.TenantServiceClientTest", - ], -- runtime_deps = [":speech_java_gapic_test"], +- runtime_deps = [":talent_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-speech-v1-java", +- name = "google-cloud-talent-v4beta1-java", - deps = [ -- ":speech_java_gapic", -- ":speech_java_grpc", -- ":speech_java_proto", -- ":speech_proto", +- ":talent_java_gapic", +- ":talent_java_grpc", +- ":talent_java_proto", +- ":talent_proto", - ], -) - @@ -47017,25 +64582,30 @@ diff -urN a/google/cloud/speech/v1/BUILD.bazel b/google/cloud/speech/v1/BUILD.ba -) - -go_proto_library( -- name = "speech_go_proto", +- name = "talent_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/speech/v1", -- protos = [":speech_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/talent/v4beta1", +- protos = [":talent_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/longrunning:longrunning_go_proto", - "//google/rpc:status_go_proto", +- "//google/type:date_go_proto", +- "//google/type:latlng_go_proto", +- "//google/type:money_go_proto", +- "//google/type:postaladdress_go_proto", +- "//google/type:timeofday_go_proto", - ], -) - -go_gapic_library( -- name = "speech_go_gapic", -- srcs = [":speech_proto_with_info"], -- grpc_service_config = "speech_grpc_service_config.json", -- importpath = "cloud.google.com/go/speech/apiv1;speech", -- service_yaml = "speech_v1.yaml", +- name = "talent_go_gapic", +- srcs = [":talent_proto_with_info"], +- grpc_service_config = "talent_grpc_service_config.json", +- importpath = "cloud.google.com/go/talent/apiv4beta1;talent", +- service_yaml = "//google/cloud/talent:talent_v4beta1.yaml", - deps = [ -- ":speech_go_proto", +- ":talent_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", @@ -47045,19 +64615,19 @@ diff -urN a/google/cloud/speech/v1/BUILD.bazel b/google/cloud/speech/v1/BUILD.ba -) - -go_test( -- name = "speech_go_gapic_test", -- srcs = [":speech_go_gapic_srcjar_test"], -- embed = [":speech_go_gapic"], -- importpath = "cloud.google.com/go/speech/apiv1", +- name = "talent_go_gapic_test", +- srcs = [":talent_go_gapic_srcjar_test"], +- embed = [":talent_go_gapic"], +- importpath = "cloud.google.com/go/talent/apiv4beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-speech-v1-go", +- name = "gapi-cloud-talent-v4beta1-go", - deps = [ -- ":speech_go_gapic", -- ":speech_go_gapic_srcjar-test.srcjar", -- ":speech_go_proto", +- ":talent_go_gapic", +- ":talent_go_gapic_srcjar-test.srcjar", +- ":talent_go_proto", - ], -) - @@ -47071,16 +64641,15 @@ diff -urN a/google/cloud/speech/v1/BUILD.bazel b/google/cloud/speech/v1/BUILD.ba -) - -py_gapic_library( -- name = "speech_py_gapic", -- srcs = [":speech_proto"], -- grpc_service_config = "speech_grpc_service_config.json", +- name = "talent_py_gapic", +- srcs = [":talent_proto"], +- grpc_service_config = "talent_grpc_service_config.json", -) - --# Open Source Packages -py_gapic_assembly_pkg( -- name = "speech-v1-py", +- name = "talent-v4beta1-py", - deps = [ -- ":speech_py_gapic", +- ":talent_py_gapic", - ], -) - @@ -47096,36 +64665,33 @@ diff -urN a/google/cloud/speech/v1/BUILD.bazel b/google/cloud/speech/v1/BUILD.ba -) - -php_proto_library( -- name = "speech_php_proto", -- deps = [":speech_proto"], +- name = "talent_php_proto", +- deps = [":talent_proto"], -) - -php_grpc_library( -- name = "speech_php_grpc", -- srcs = [":speech_proto"], -- deps = [":speech_php_proto"], +- name = "talent_php_grpc", +- srcs = [":talent_proto"], +- deps = [":talent_php_proto"], -) - -php_gapic_library( -- name = "speech_php_gapic", -- src = ":speech_proto_with_info", -- gapic_yaml = "speech_gapic.yaml", -- grpc_service_config = "speech_grpc_service_config.json", -- package = "google.cloud.speech.v1", -- service_yaml = "speech_v1.yaml", +- name = "talent_php_gapic", +- srcs = [":talent_proto_with_info"], +- grpc_service_config = "talent_grpc_service_config.json", - deps = [ -- ":speech_php_grpc", -- ":speech_php_proto", +- ":talent_php_grpc", +- ":talent_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-speech-v1-php", +- name = "google-cloud-talent-v4beta1-php", - deps = [ -- ":speech_php_gapic", -- ":speech_php_grpc", -- ":speech_php_proto", +- ":talent_php_gapic", +- ":talent_php_grpc", +- ":talent_php_proto", - ], -) - @@ -47139,21 +64705,22 @@ diff -urN a/google/cloud/speech/v1/BUILD.bazel b/google/cloud/speech/v1/BUILD.ba -) - -nodejs_gapic_library( -- name = "speech_nodejs_gapic", -- package_name = "@google-cloud/speech", -- src = ":speech_proto_with_info", +- name = "talent_nodejs_gapic", +- package_name = "@google-cloud/talent", +- src = ":talent_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "speech_grpc_service_config.json", -- package = "google.cloud.speech.v1", -- service_yaml = "speech_v1.yaml", +- grpc_service_config = "talent_grpc_service_config.json", +- main_service = "talent", +- package = "google.cloud.talent.v4beta1", +- service_yaml = "//google/cloud/talent:talent_v4beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "speech-v1-nodejs", +- name = "talent-v4beta1-nodejs", - deps = [ -- ":speech_nodejs_gapic", -- ":speech_proto", +- ":talent_nodejs_gapic", +- ":talent_proto", - ], -) - @@ -47162,49 +64729,49 @@ diff -urN a/google/cloud/speech/v1/BUILD.bazel b/google/cloud/speech/v1/BUILD.ba -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "speech_ruby_proto", -- deps = [":speech_proto"], +- name = "talent_ruby_proto", +- deps = [":talent_proto"], -) - -ruby_grpc_library( -- name = "speech_ruby_grpc", -- srcs = [":speech_proto"], -- deps = [":speech_ruby_proto"], +- name = "talent_ruby_grpc", +- srcs = [":talent_proto"], +- deps = [":talent_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "speech_ruby_gapic", -- srcs = [":speech_proto_with_info"], +- name = "talent_ruby_gapic", +- srcs = [":talent_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-speech-v1", -- "ruby-cloud-env-prefix=SPEECH", -- "ruby-cloud-product-url=https://cloud.google.com/speech-to-text", -- "ruby-cloud-api-id=speech.googleapis.com", -- "ruby-cloud-api-shortname=speech", +- "ruby-cloud-gem-name=google-cloud-talent-v4beta1", +- "ruby-cloud-env-prefix=TALENT", +- "ruby-cloud-product-url=https://cloud.google.com/solutions/talent-solution", +- "ruby-cloud-api-id=jobs.googleapis.com", +- "ruby-cloud-api-shortname=jobs", - ], -- grpc_service_config = "speech_grpc_service_config.json", -- ruby_cloud_description = "Google Speech-to-Text enables developers to convert audio to text by applying powerful neural network models in an easy-to-use API. The API recognizes more than 120 languages and variants to support your global user base. You can enable voice command-and-control, transcribe audio from call centers, and more. It can process real-time streaming or prerecorded audio, using Google's machine learning technology.", -- ruby_cloud_title = "Cloud Speech-to-Text V1", +- grpc_service_config = "talent_grpc_service_config.json", +- ruby_cloud_description = "Transform your job search and candidate matching capabilities with Cloud Talent Solution, designed to support enterprise talent acquisition technology and evolve with your growing needs. This AI solution includes features such as Job Search and Profile Search to provide candidates and employers with an enhanced talent acquisition experience.", +- ruby_cloud_title = "Cloud Talent Solution V4beta1", - deps = [ -- ":speech_ruby_grpc", -- ":speech_ruby_proto", +- ":talent_ruby_grpc", +- ":talent_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-speech-v1-ruby", +- name = "google-cloud-talent-v4beta1-ruby", - deps = [ -- ":speech_ruby_gapic", -- ":speech_ruby_grpc", -- ":speech_ruby_proto", +- ":talent_ruby_gapic", +- ":talent_ruby_grpc", +- ":talent_ruby_proto", - ], -) - @@ -47220,61 +64787,50 @@ diff -urN a/google/cloud/speech/v1/BUILD.bazel b/google/cloud/speech/v1/BUILD.ba -) - -csharp_proto_library( -- name = "speech_csharp_proto", -- deps = [":speech_proto"], +- name = "talent_csharp_proto", +- deps = [":talent_proto"], -) - -csharp_grpc_library( -- name = "speech_csharp_grpc", -- srcs = [":speech_proto"], -- deps = [":speech_csharp_proto"], +- name = "talent_csharp_grpc", +- srcs = [":talent_proto"], +- deps = [":talent_csharp_proto"], -) - -csharp_gapic_library( -- name = "speech_csharp_gapic", -- srcs = [":speech_proto_with_info"], +- name = "talent_csharp_gapic", +- srcs = [":talent_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "speech_grpc_service_config.json", +- grpc_service_config = "talent_grpc_service_config.json", - deps = [ -- ":speech_csharp_grpc", -- ":speech_csharp_proto", +- ":talent_csharp_grpc", +- ":talent_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-speech-v1-csharp", +- name = "google-cloud-talent-v4beta1-csharp", - deps = [ -- ":speech_csharp_gapic", -- ":speech_csharp_grpc", -- ":speech_csharp_proto", +- ":talent_csharp_gapic", +- ":talent_csharp_grpc", +- ":talent_csharp_proto", - ], -) - -############################################################################## -# C++ -############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "cc_grpc_library", -- "cc_proto_library", --) -- --cc_proto_library( -- name = "speech_cc_proto", -- deps = [":speech_proto"], --) -- --cc_grpc_library( -- name = "speech_cc_grpc", -- srcs = [":speech_proto"], -- grpc_only = True, -- deps = [":speech_cc_proto"], --) -diff -urN a/google/cloud/speech/v1p1beta1/BUILD.bazel b/google/cloud/speech/v1p1beta1/BUILD.bazel ---- a/google/cloud/speech/v1p1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/speech/v1p1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,345 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/tasks/BUILD.bazel b/google/cloud/tasks/BUILD.bazel +--- a/google/cloud/tasks/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/tasks/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/cloud/tasks/v2/BUILD.bazel b/google/cloud/tasks/v2/BUILD.bazel +--- a/google/cloud/tasks/v2/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/tasks/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,341 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -47287,20 +64843,21 @@ diff -urN a/google/cloud/speech/v1p1beta1/BUILD.bazel b/google/cloud/speech/v1p1 -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "speech_proto", +- name = "tasks_proto", - srcs = [ -- "cloud_speech.proto", -- "cloud_speech_adaptation.proto", -- "resource.proto", +- "cloudtasks.proto", +- "queue.proto", +- "target.proto", +- "task.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/longrunning:operations_proto", +- "//google/iam/v1:iam_policy_proto", +- "//google/iam/v1:policy_proto", - "//google/rpc:status_proto", -- "@com_google_protobuf//:any_proto", - "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", @@ -47309,9 +64866,9 @@ diff -urN a/google/cloud/speech/v1p1beta1/BUILD.bazel b/google/cloud/speech/v1p1 -) - -proto_library_with_info( -- name = "speech_proto_with_info", +- name = "tasks_proto_with_info", - deps = [ -- ":speech_proto", +- ":tasks_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -47329,44 +64886,46 @@ diff -urN a/google/cloud/speech/v1p1beta1/BUILD.bazel b/google/cloud/speech/v1p1 -) - -java_proto_library( -- name = "speech_java_proto", -- deps = [":speech_proto"], +- name = "tasks_java_proto", +- deps = [":tasks_proto"], -) - -java_grpc_library( -- name = "speech_java_grpc", -- srcs = [":speech_proto"], -- deps = [":speech_java_proto"], +- name = "tasks_java_grpc", +- srcs = [":tasks_proto"], +- deps = [":tasks_java_proto"], -) - -java_gapic_library( -- name = "speech_java_gapic", -- srcs = [":speech_proto_with_info"], -- grpc_service_config = "speech_grpc_service_config.json", +- name = "tasks_java_gapic", +- srcs = [":tasks_proto_with_info"], +- grpc_service_config = "cloudtasks_grpc_service_config.json", - test_deps = [ -- ":speech_java_grpc", +- ":tasks_java_grpc", +- "//google/iam/v1:iam_java_grpc", - ], - deps = [ -- ":speech_java_proto", +- ":tasks_java_proto", +- "//google/iam/v1:iam_java_proto", - ], -) - -java_gapic_test( -- name = "speech_java_gapic_test_suite", +- name = "tasks_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.speech.v1p1beta1.SpeechClientTest", +- "com.google.cloud.tasks.v2.CloudTasksClientTest", - ], -- runtime_deps = [":speech_java_gapic_test"], +- runtime_deps = [":tasks_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-speech-v1p1beta1-java", +- name = "google-cloud-tasks-v2-java", - deps = [ -- ":speech_java_gapic", -- ":speech_java_grpc", -- ":speech_java_proto", -- ":speech_proto", +- ":tasks_java_gapic", +- ":tasks_java_grpc", +- ":tasks_java_proto", +- ":tasks_proto", - ], -) - @@ -47382,47 +64941,43 @@ diff -urN a/google/cloud/speech/v1p1beta1/BUILD.bazel b/google/cloud/speech/v1p1 -) - -go_proto_library( -- name = "speech_go_proto", +- name = "tasks_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1", -- protos = [":speech_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/tasks/v2", +- protos = [":tasks_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/longrunning:longrunning_go_proto", +- "//google/iam/v1:iam_go_proto", - "//google/rpc:status_go_proto", - ], -) - -go_gapic_library( -- name = "speech_go_gapic", -- srcs = [":speech_proto_with_info"], -- grpc_service_config = "speech_grpc_service_config.json", -- importpath = "cloud.google.com/go/speech/apiv1p1beta1;speech", -- service_yaml = "speech_v1p1beta1.yaml", +- name = "tasks_go_gapic", +- srcs = [":tasks_proto_with_info"], +- grpc_service_config = "cloudtasks_grpc_service_config.json", +- importpath = "cloud.google.com/go/cloudtasks/apiv2;tasks", +- service_yaml = "cloudtasks_v2.yaml", - deps = [ -- ":speech_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:any_go_proto", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- ":tasks_go_proto", +- "//google/iam/v1:iam_go_proto", - ], -) - -go_test( -- name = "speech_go_gapic_test", -- srcs = [":speech_go_gapic_srcjar_test"], -- embed = [":speech_go_gapic"], -- importpath = "cloud.google.com/go/speech/apiv1p1beta1", +- name = "tasks_go_gapic_test", +- srcs = [":tasks_go_gapic_srcjar_test"], +- embed = [":tasks_go_gapic"], +- importpath = "cloud.google.com/go/cloudtasks/apiv2", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-speech-v1p1beta1-go", +- name = "gapi-cloud-tasks-v2-go", - deps = [ -- ":speech_go_gapic", -- ":speech_go_gapic_srcjar-test.srcjar", -- ":speech_go_proto", +- ":tasks_go_gapic", +- ":tasks_go_gapic_srcjar-test.srcjar", +- ":tasks_go_proto", - ], -) - @@ -47436,16 +64991,15 @@ diff -urN a/google/cloud/speech/v1p1beta1/BUILD.bazel b/google/cloud/speech/v1p1 -) - -py_gapic_library( -- name = "speech_py_gapic", -- srcs = [":speech_proto"], -- grpc_service_config = "speech_grpc_service_config.json", +- name = "tasks_py_gapic", +- srcs = [":tasks_proto"], +- grpc_service_config = "cloudtasks_grpc_service_config.json", -) - --# Open Source Packages -py_gapic_assembly_pkg( -- name = "speech-v1p1beta1-py", +- name = "tasks-v2-py", - deps = [ -- ":speech_py_gapic", +- ":tasks_py_gapic", - ], -) - @@ -47461,36 +65015,33 @@ diff -urN a/google/cloud/speech/v1p1beta1/BUILD.bazel b/google/cloud/speech/v1p1 -) - -php_proto_library( -- name = "speech_php_proto", -- deps = [":speech_proto"], +- name = "tasks_php_proto", +- deps = [":tasks_proto"], -) - -php_grpc_library( -- name = "speech_php_grpc", -- srcs = [":speech_proto"], -- deps = [":speech_php_proto"], +- name = "tasks_php_grpc", +- srcs = [":tasks_proto"], +- deps = [":tasks_php_proto"], -) - -php_gapic_library( -- name = "speech_php_gapic", -- src = ":speech_proto_with_info", -- gapic_yaml = "speech_gapic.yaml", -- grpc_service_config = "speech_grpc_service_config.json", -- package = "google.cloud.speech.v1p1beta1", -- service_yaml = "speech_v1p1beta1.yaml", +- name = "tasks_php_gapic", +- srcs = [":tasks_proto_with_info"], +- grpc_service_config = "cloudtasks_grpc_service_config.json", - deps = [ -- ":speech_php_grpc", -- ":speech_php_proto", +- ":tasks_php_grpc", +- ":tasks_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-speech-v1p1beta1-php", +- name = "google-cloud-tasks-v2-php", - deps = [ -- ":speech_php_gapic", -- ":speech_php_grpc", -- ":speech_php_proto", +- ":tasks_php_gapic", +- ":tasks_php_grpc", +- ":tasks_php_proto", - ], -) - @@ -47504,21 +65055,22 @@ diff -urN a/google/cloud/speech/v1p1beta1/BUILD.bazel b/google/cloud/speech/v1p1 -) - -nodejs_gapic_library( -- name = "speech_nodejs_gapic", -- package_name = "@google-cloud/speech", -- src = ":speech_proto_with_info", +- name = "tasks_nodejs_gapic", +- package_name = "@google-cloud/tasks", +- src = ":tasks_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "speech_grpc_service_config.json", -- package = "google.cloud.speech.v1p1beta1", -- service_yaml = "speech_v1p1beta1.yaml", +- grpc_service_config = "cloudtasks_grpc_service_config.json", +- main_service = "tasks", +- package = "google.cloud.tasks.v2", +- service_yaml = "cloudtasks_v2.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "speech-v1p1beta1-nodejs", +- name = "tasks-v2-nodejs", - deps = [ -- ":speech_nodejs_gapic", -- ":speech_proto", +- ":tasks_nodejs_gapic", +- ":tasks_proto", - ], -) - @@ -47527,49 +65079,49 @@ diff -urN a/google/cloud/speech/v1p1beta1/BUILD.bazel b/google/cloud/speech/v1p1 -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "speech_ruby_proto", -- deps = [":speech_proto"], +- name = "tasks_ruby_proto", +- deps = [":tasks_proto"], -) - -ruby_grpc_library( -- name = "speech_ruby_grpc", -- srcs = [":speech_proto"], -- deps = [":speech_ruby_proto"], +- name = "tasks_ruby_grpc", +- srcs = [":tasks_proto"], +- deps = [":tasks_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "speech_ruby_gapic", -- srcs = [":speech_proto_with_info"], +- name = "tasks_ruby_gapic", +- srcs = [":tasks_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-speech-v1p1beta1", -- "ruby-cloud-env-prefix=SPEECH", -- "ruby-cloud-product-url=https://cloud.google.com/speech-to-text", -- "ruby-cloud-api-id=speech.googleapis.com", -- "ruby-cloud-api-shortname=speech", +- "ruby-cloud-gem-name=google-cloud-tasks-v2", +- "ruby-cloud-env-prefix=TASKS", +- "ruby-cloud-product-url=https://cloud.google.com/tasks", +- "ruby-cloud-api-id=cloudtasks.googleapis.com", +- "ruby-cloud-api-shortname=cloudtasks", - ], -- grpc_service_config = "speech_grpc_service_config.json", -- ruby_cloud_description = "Google Speech-to-Text enables developers to convert audio to text by applying powerful neural network models in an easy-to-use API. The API recognizes more than 120 languages and variants to support your global user base. You can enable voice command-and-control, transcribe audio from call centers, and more. It can process real-time streaming or prerecorded audio, using Google's machine learning technology.", -- ruby_cloud_title = "Cloud Speech-to-Text V1p1beta1", +- grpc_service_config = "cloudtasks_grpc_service_config.json", +- ruby_cloud_description = "Cloud Tasks is a fully managed service that allows you to manage the execution, dispatch and delivery of a large number of distributed tasks. You can asynchronously perform work outside of a user request. Your tasks can be executed on App Engine or any arbitrary HTTP endpoint.", +- ruby_cloud_title = "Cloud Tasks V2", - deps = [ -- ":speech_ruby_grpc", -- ":speech_ruby_proto", +- ":tasks_ruby_grpc", +- ":tasks_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-speech-v1p1beta1-ruby", +- name = "google-cloud-tasks-v2-ruby", - deps = [ -- ":speech_ruby_gapic", -- ":speech_ruby_grpc", -- ":speech_ruby_proto", +- ":tasks_ruby_gapic", +- ":tasks_ruby_grpc", +- ":tasks_ruby_proto", - ], -) - @@ -47585,34 +65137,34 @@ diff -urN a/google/cloud/speech/v1p1beta1/BUILD.bazel b/google/cloud/speech/v1p1 -) - -csharp_proto_library( -- name = "speech_csharp_proto", -- deps = [":speech_proto"], +- name = "tasks_csharp_proto", +- deps = [":tasks_proto"], -) - -csharp_grpc_library( -- name = "speech_csharp_grpc", -- srcs = [":speech_proto"], -- deps = [":speech_csharp_proto"], +- name = "tasks_csharp_grpc", +- srcs = [":tasks_proto"], +- deps = [":tasks_csharp_proto"], -) - -csharp_gapic_library( -- name = "speech_csharp_gapic", -- srcs = [":speech_proto_with_info"], +- name = "tasks_csharp_gapic", +- srcs = [":tasks_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "speech_grpc_service_config.json", +- grpc_service_config = "cloudtasks_grpc_service_config.json", - deps = [ -- ":speech_csharp_grpc", -- ":speech_csharp_proto", +- ":tasks_csharp_grpc", +- ":tasks_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-speech-v1p1beta1-csharp", +- name = "google-cloud-tasks-v2-csharp", - deps = [ -- ":speech_csharp_gapic", -- ":speech_csharp_grpc", -- ":speech_csharp_proto", +- ":tasks_csharp_gapic", +- ":tasks_csharp_grpc", +- ":tasks_csharp_proto", - ], -) - @@ -47620,25 +65172,11 @@ diff -urN a/google/cloud/speech/v1p1beta1/BUILD.bazel b/google/cloud/speech/v1p1 -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/talent/BUILD.bazel b/google/cloud/talent/BUILD.bazel ---- a/google/cloud/talent/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/talent/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/cloud/talent/v4/BUILD.bazel b/google/cloud/talent/v4/BUILD.bazel ---- a/google/cloud/talent/v4/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/talent/v4/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,374 +0,0 @@ +diff -urN a/google/cloud/tasks/v2beta2/BUILD.bazel b/google/cloud/tasks/v2beta2/BUILD.bazel +--- a/google/cloud/tasks/v2beta2/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/tasks/v2beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,342 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel -- --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -47650,45 +65188,32 @@ diff -urN a/google/cloud/talent/v4/BUILD.bazel b/google/cloud/talent/v4/BUILD.ba -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "talent_proto", +- name = "tasks_proto", - srcs = [ -- "common.proto", -- "company.proto", -- "company_service.proto", -- "completion_service.proto", -- "event.proto", -- "event_service.proto", -- "filters.proto", -- "histogram.proto", -- "job.proto", -- "job_service.proto", -- "tenant.proto", -- "tenant_service.proto", +- "cloudtasks.proto", +- "queue.proto", +- "target.proto", +- "task.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/longrunning:operations_proto", +- "//google/iam/v1:iam_policy_proto", +- "//google/iam/v1:policy_proto", - "//google/rpc:status_proto", -- "//google/type:latlng_proto", -- "//google/type:money_proto", -- "//google/type:postal_address_proto", -- "//google/type:timeofday_proto", -- "@com_google_protobuf//:any_proto", - "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", -- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "talent_proto_with_info", +- name = "tasks_proto_with_info", - deps = [ -- ":talent_proto", +- ":tasks_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -47706,48 +65231,46 @@ diff -urN a/google/cloud/talent/v4/BUILD.bazel b/google/cloud/talent/v4/BUILD.ba -) - -java_proto_library( -- name = "talent_java_proto", -- deps = [":talent_proto"], +- name = "tasks_java_proto", +- deps = [":tasks_proto"], -) - -java_grpc_library( -- name = "talent_java_grpc", -- srcs = [":talent_proto"], -- deps = [":talent_java_proto"], +- name = "tasks_java_grpc", +- srcs = [":tasks_proto"], +- deps = [":tasks_java_proto"], -) - -java_gapic_library( -- name = "talent_java_gapic", -- srcs = [":talent_proto_with_info"], -- grpc_service_config = "talent_grpc_service_config.json", +- name = "tasks_java_gapic", +- srcs = [":tasks_proto_with_info"], +- grpc_service_config = "cloudtasks_grpc_service_config.json", - test_deps = [ -- ":talent_java_grpc", +- ":tasks_java_grpc", +- "//google/iam/v1:iam_java_grpc", - ], - deps = [ -- ":talent_java_proto", +- ":tasks_java_proto", +- "//google/iam/v1:iam_java_proto", - ], -) - -java_gapic_test( -- name = "talent_java_gapic_test_suite", +- name = "tasks_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.talent.v4.CompanyServiceClientTest", -- "com.google.cloud.talent.v4.CompletionClientTest", -- "com.google.cloud.talent.v4.EventServiceClientTest", -- "com.google.cloud.talent.v4.JobServiceClientTest", -- "com.google.cloud.talent.v4.TenantServiceClientTest", +- "com.google.cloud.tasks.v2beta2.CloudTasksClientTest", - ], -- runtime_deps = [":talent_java_gapic_test"], +- runtime_deps = [":tasks_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-talent-v4-java", +- name = "google-cloud-tasks-v2beta2-java", - deps = [ -- ":talent_java_gapic", -- ":talent_java_grpc", -- ":talent_java_proto", -- ":talent_proto", +- ":tasks_java_gapic", +- ":tasks_java_grpc", +- ":tasks_java_proto", +- ":tasks_proto", - ], -) - @@ -47763,51 +65286,44 @@ diff -urN a/google/cloud/talent/v4/BUILD.bazel b/google/cloud/talent/v4/BUILD.ba -) - -go_proto_library( -- name = "talent_go_proto", +- name = "tasks_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/talent/v4", -- protos = [":talent_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta2", +- protos = [":tasks_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/longrunning:longrunning_go_proto", +- "//google/iam/v1:iam_go_proto", - "//google/rpc:status_go_proto", -- "//google/type:latlng_go_proto", -- "//google/type:money_go_proto", -- "//google/type:postaladdress_go_proto", -- "//google/type:timeofday_go_proto", - ], -) - -go_gapic_library( -- name = "talent_go_gapic", -- srcs = [":talent_proto_with_info"], -- grpc_service_config = "talent_grpc_service_config.json", -- importpath = "cloud.google.com/go/talent/apiv4;talent", -- service_yaml = "//google/cloud/talent:talent_v4.yaml", +- name = "tasks_go_gapic", +- srcs = [":tasks_proto_with_info"], +- grpc_service_config = "cloudtasks_grpc_service_config.json", +- importpath = "cloud.google.com/go/cloudtasks/apiv2beta2;tasks", +- service_yaml = "cloudtasks_v2beta2.yaml", - deps = [ -- ":talent_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:any_go_proto", +- ":tasks_go_proto", +- "//google/iam/v1:iam_go_proto", - "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "talent_go_gapic_test", -- srcs = [":talent_go_gapic_srcjar_test"], -- embed = [":talent_go_gapic"], -- importpath = "cloud.google.com/go/talent/apiv4", +- name = "tasks_go_gapic_test", +- srcs = [":tasks_go_gapic_srcjar_test"], +- embed = [":tasks_go_gapic"], +- importpath = "cloud.google.com/go/cloudtasks/apiv2beta2", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-talent-v4-go", +- name = "gapi-cloud-tasks-v2beta2-go", - deps = [ -- ":talent_go_gapic", -- ":talent_go_gapic_srcjar-test.srcjar", -- ":talent_go_proto", +- ":tasks_go_gapic", +- ":tasks_go_gapic_srcjar-test.srcjar", +- ":tasks_go_proto", - ], -) - @@ -47821,15 +65337,15 @@ diff -urN a/google/cloud/talent/v4/BUILD.bazel b/google/cloud/talent/v4/BUILD.ba -) - -py_gapic_library( -- name = "talent_py_gapic", -- srcs = [":talent_proto"], -- grpc_service_config = "talent_grpc_service_config.json", +- name = "tasks_py_gapic", +- srcs = [":tasks_proto"], +- grpc_service_config = "cloudtasks_grpc_service_config.json", -) - -py_gapic_assembly_pkg( -- name = "talent-v4-py", +- name = "tasks-v2beta2-py", - deps = [ -- ":talent_py_gapic", +- ":tasks_py_gapic", - ], -) - @@ -47845,36 +65361,33 @@ diff -urN a/google/cloud/talent/v4/BUILD.bazel b/google/cloud/talent/v4/BUILD.ba -) - -php_proto_library( -- name = "talent_php_proto", -- deps = [":talent_proto"], +- name = "tasks_php_proto", +- deps = [":tasks_proto"], -) - -php_grpc_library( -- name = "talent_php_grpc", -- srcs = [":talent_proto"], -- deps = [":talent_php_proto"], +- name = "tasks_php_grpc", +- srcs = [":tasks_proto"], +- deps = [":tasks_php_proto"], -) - -php_gapic_library( -- name = "talent_php_gapic", -- src = ":talent_proto_with_info", -- gapic_yaml = "talent_gapic.yaml", -- grpc_service_config = "talent_grpc_service_config.json", -- package = "google.cloud.talent.v4", -- service_yaml = "//google/cloud/talent:talent_v4.yaml", +- name = "tasks_php_gapic", +- srcs = [":tasks_proto_with_info"], +- grpc_service_config = "cloudtasks_grpc_service_config.json", - deps = [ -- ":talent_php_grpc", -- ":talent_php_proto", +- ":tasks_php_grpc", +- ":tasks_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-talent-v4-php", +- name = "google-cloud-tasks-v2beta2-php", - deps = [ -- ":talent_php_gapic", -- ":talent_php_grpc", -- ":talent_php_proto", +- ":tasks_php_gapic", +- ":tasks_php_grpc", +- ":tasks_php_proto", - ], -) - @@ -47888,22 +65401,22 @@ diff -urN a/google/cloud/talent/v4/BUILD.bazel b/google/cloud/talent/v4/BUILD.ba -) - -nodejs_gapic_library( -- name = "talent_nodejs_gapic", -- package_name = "@google-cloud/talent", -- src = ":talent_proto_with_info", +- name = "tasks_nodejs_gapic", +- package_name = "@google-cloud/tasks", +- src = ":tasks_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "talent_grpc_service_config.json", -- main_service = "talent", -- package = "google.cloud.talent.v4", -- service_yaml = "//google/cloud/talent:talent_v4.yaml", +- grpc_service_config = "cloudtasks_grpc_service_config.json", +- main_service = "tasks", +- package = "google.cloud.tasks.v2beta2", +- service_yaml = "cloudtasks_v2beta2.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "talent-v4-nodejs", +- name = "tasks-v2beta2-nodejs", - deps = [ -- ":talent_nodejs_gapic", -- ":talent_proto", +- ":tasks_nodejs_gapic", +- ":tasks_proto", - ], -) - @@ -47912,49 +65425,49 @@ diff -urN a/google/cloud/talent/v4/BUILD.bazel b/google/cloud/talent/v4/BUILD.ba -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "talent_ruby_proto", -- deps = [":talent_proto"], +- name = "tasks_ruby_proto", +- deps = [":tasks_proto"], -) - -ruby_grpc_library( -- name = "talent_ruby_grpc", -- srcs = [":talent_proto"], -- deps = [":talent_ruby_proto"], +- name = "tasks_ruby_grpc", +- srcs = [":tasks_proto"], +- deps = [":tasks_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "talent_ruby_gapic", -- srcs = [":talent_proto_with_info"], +- name = "tasks_ruby_gapic", +- srcs = [":tasks_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-talent-v4", -- "ruby-cloud-env-prefix=TALENT", -- "ruby-cloud-product-url=https://cloud.google.com/solutions/talent-solution", -- "ruby-cloud-api-id=jobs.googleapis.com", -- "ruby-cloud-api-shortname=jobs", +- "ruby-cloud-gem-name=google-cloud-tasks-v2beta2", +- "ruby-cloud-env-prefix=TASKS", +- "ruby-cloud-product-url=https://cloud.google.com/tasks", +- "ruby-cloud-api-id=cloudtasks.googleapis.com", +- "ruby-cloud-api-shortname=cloudtasks", - ], -- grpc_service_config = "talent_grpc_service_config.json", -- ruby_cloud_description = "Transform your job search and candidate matching capabilities with Cloud Talent Solution, designed to support enterprise talent acquisition technology and evolve with your growing needs. This AI solution includes features such as Job Search and Profile Search to provide candidates and employers with an enhanced talent acquisition experience.", -- ruby_cloud_title = "Cloud Talent Solution V4", +- grpc_service_config = "cloudtasks_grpc_service_config.json", +- ruby_cloud_description = "Cloud Tasks is a fully managed service that allows you to manage the execution, dispatch and delivery of a large number of distributed tasks. You can asynchronously perform work outside of a user request. Your tasks can be executed on App Engine or any arbitrary HTTP endpoint.", +- ruby_cloud_title = "Cloud Tasks V2beta2", - deps = [ -- ":talent_ruby_grpc", -- ":talent_ruby_proto", +- ":tasks_ruby_grpc", +- ":tasks_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-talent-v4-ruby", +- name = "google-cloud-tasks-v2beta2-ruby", - deps = [ -- ":talent_ruby_gapic", -- ":talent_ruby_grpc", -- ":talent_ruby_proto", +- ":tasks_ruby_gapic", +- ":tasks_ruby_grpc", +- ":tasks_ruby_proto", - ], -) - @@ -47970,32 +65483,34 @@ diff -urN a/google/cloud/talent/v4/BUILD.bazel b/google/cloud/talent/v4/BUILD.ba -) - -csharp_proto_library( -- name = "talent_csharp_proto", -- deps = [":talent_proto"], +- name = "tasks_csharp_proto", +- deps = [":tasks_proto"], -) - -csharp_grpc_library( -- name = "talent_csharp_grpc", -- srcs = [":talent_proto"], -- deps = [":talent_csharp_proto"], +- name = "tasks_csharp_grpc", +- srcs = [":tasks_proto"], +- deps = [":tasks_csharp_proto"], -) - -csharp_gapic_library( -- name = "talent_csharp_gapic", -- srcs = [":talent_proto_with_info"], +- name = "tasks_csharp_gapic", +- srcs = [":tasks_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "cloudtasks_grpc_service_config.json", - deps = [ -- ":talent_csharp_grpc", -- ":talent_csharp_proto", +- ":tasks_csharp_grpc", +- ":tasks_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-talent-v4-csharp", +- name = "google-cloud-tasks-v2beta2-csharp", - deps = [ -- ":talent_csharp_gapic", -- ":talent_csharp_grpc", -- ":talent_csharp_proto", +- ":tasks_csharp_gapic", +- ":tasks_csharp_grpc", +- ":tasks_csharp_proto", - ], -) - @@ -48003,10 +65518,10 @@ diff -urN a/google/cloud/talent/v4/BUILD.bazel b/google/cloud/talent/v4/BUILD.ba -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/talent/v4beta1/BUILD.bazel b/google/cloud/talent/v4beta1/BUILD.bazel ---- a/google/cloud/talent/v4beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/talent/v4beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,376 +0,0 @@ +diff -urN a/google/cloud/tasks/v2beta3/BUILD.bazel b/google/cloud/tasks/v2beta3/BUILD.bazel +--- a/google/cloud/tasks/v2beta3/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/tasks/v2beta3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,342 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -48019,51 +65534,32 @@ diff -urN a/google/cloud/talent/v4beta1/BUILD.bazel b/google/cloud/talent/v4beta -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "talent_proto", +- name = "tasks_proto", - srcs = [ -- "application.proto", -- "application_service.proto", -- "batch.proto", -- "common.proto", -- "company.proto", -- "company_service.proto", -- "completion_service.proto", -- "event.proto", -- "event_service.proto", -- "filters.proto", -- "histogram.proto", -- "job.proto", -- "job_service.proto", -- "profile.proto", -- "profile_service.proto", -- "tenant.proto", -- "tenant_service.proto", +- "cloudtasks.proto", +- "queue.proto", +- "target.proto", +- "task.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/longrunning:operations_proto", +- "//google/iam/v1:iam_policy_proto", +- "//google/iam/v1:policy_proto", - "//google/rpc:status_proto", -- "//google/type:date_proto", -- "//google/type:latlng_proto", -- "//google/type:money_proto", -- "//google/type:postal_address_proto", -- "//google/type:timeofday_proto", -- "@com_google_protobuf//:any_proto", - "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", -- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "talent_proto_with_info", +- name = "tasks_proto_with_info", - deps = [ -- ":talent_proto", +- ":tasks_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -48081,50 +65577,46 @@ diff -urN a/google/cloud/talent/v4beta1/BUILD.bazel b/google/cloud/talent/v4beta -) - -java_proto_library( -- name = "talent_java_proto", -- deps = [":talent_proto"], +- name = "tasks_java_proto", +- deps = [":tasks_proto"], -) - -java_grpc_library( -- name = "talent_java_grpc", -- srcs = [":talent_proto"], -- deps = [":talent_java_proto"], +- name = "tasks_java_grpc", +- srcs = [":tasks_proto"], +- deps = [":tasks_java_proto"], -) - -java_gapic_library( -- name = "talent_java_gapic", -- srcs = [":talent_proto_with_info"], -- grpc_service_config = "talent_grpc_service_config.json", +- name = "tasks_java_gapic", +- srcs = [":tasks_proto_with_info"], +- grpc_service_config = "cloudtasks_grpc_service_config.json", - test_deps = [ -- ":talent_java_grpc", +- ":tasks_java_grpc", +- "//google/iam/v1:iam_java_grpc", - ], - deps = [ -- ":talent_java_proto", +- ":tasks_java_proto", +- "//google/iam/v1:iam_java_proto", - ], -) - -java_gapic_test( -- name = "talent_java_gapic_test_suite", +- name = "tasks_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.talent.v4beta1.ApplicationServiceClientTest", -- "com.google.cloud.talent.v4beta1.CompanyServiceClientTest", -- "com.google.cloud.talent.v4beta1.CompletionClientTest", -- "com.google.cloud.talent.v4beta1.EventServiceClientTest", -- "com.google.cloud.talent.v4beta1.JobServiceClientTest", -- "com.google.cloud.talent.v4beta1.ProfileServiceClientTest", -- "com.google.cloud.talent.v4beta1.TenantServiceClientTest", +- "com.google.cloud.tasks.v2beta3.CloudTasksClientTest", - ], -- runtime_deps = [":talent_java_gapic_test"], +- runtime_deps = [":tasks_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-talent-v4beta1-java", +- name = "google-cloud-tasks-v2beta3-java", - deps = [ -- ":talent_java_gapic", -- ":talent_java_grpc", -- ":talent_java_proto", -- ":talent_proto", +- ":tasks_java_gapic", +- ":tasks_java_grpc", +- ":tasks_java_proto", +- ":tasks_proto", - ], -) - @@ -48140,52 +65632,44 @@ diff -urN a/google/cloud/talent/v4beta1/BUILD.bazel b/google/cloud/talent/v4beta -) - -go_proto_library( -- name = "talent_go_proto", +- name = "tasks_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/talent/v4beta1", -- protos = [":talent_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta3", +- protos = [":tasks_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/longrunning:longrunning_go_proto", +- "//google/iam/v1:iam_go_proto", - "//google/rpc:status_go_proto", -- "//google/type:date_go_proto", -- "//google/type:latlng_go_proto", -- "//google/type:money_go_proto", -- "//google/type:postaladdress_go_proto", -- "//google/type:timeofday_go_proto", - ], -) - -go_gapic_library( -- name = "talent_go_gapic", -- srcs = [":talent_proto_with_info"], -- grpc_service_config = "talent_grpc_service_config.json", -- importpath = "cloud.google.com/go/talent/apiv4beta1;talent", -- service_yaml = "//google/cloud/talent:talent_v4beta1.yaml", +- name = "tasks_go_gapic", +- srcs = [":tasks_proto_with_info"], +- grpc_service_config = "cloudtasks_grpc_service_config.json", +- importpath = "cloud.google.com/go/cloudtasks/apiv2beta3;tasks", +- service_yaml = "cloudtasks_v2beta3.yaml", - deps = [ -- ":talent_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:any_go_proto", +- ":tasks_go_proto", +- "//google/iam/v1:iam_go_proto", - "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "talent_go_gapic_test", -- srcs = [":talent_go_gapic_srcjar_test"], -- embed = [":talent_go_gapic"], -- importpath = "cloud.google.com/go/talent/apiv4beta1", +- name = "tasks_go_gapic_test", +- srcs = [":tasks_go_gapic_srcjar_test"], +- embed = [":tasks_go_gapic"], +- importpath = "cloud.google.com/go/cloudtasks/apiv2beta3", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-talent-v4beta1-go", +- name = "gapi-cloud-tasks-v2beta3-go", - deps = [ -- ":talent_go_gapic", -- ":talent_go_gapic_srcjar-test.srcjar", -- ":talent_go_proto", +- ":tasks_go_gapic", +- ":tasks_go_gapic_srcjar-test.srcjar", +- ":tasks_go_proto", - ], -) - @@ -48199,15 +65683,15 @@ diff -urN a/google/cloud/talent/v4beta1/BUILD.bazel b/google/cloud/talent/v4beta -) - -py_gapic_library( -- name = "talent_py_gapic", -- srcs = [":talent_proto"], -- grpc_service_config = "talent_grpc_service_config.json", +- name = "tasks_py_gapic", +- srcs = [":tasks_proto"], +- grpc_service_config = "cloudtasks_grpc_service_config.json", -) - -py_gapic_assembly_pkg( -- name = "talent-v4beta1-py", +- name = "tasks-v2beta3-py", - deps = [ -- ":talent_py_gapic", +- ":tasks_py_gapic", - ], -) - @@ -48223,36 +65707,33 @@ diff -urN a/google/cloud/talent/v4beta1/BUILD.bazel b/google/cloud/talent/v4beta -) - -php_proto_library( -- name = "talent_php_proto", -- deps = [":talent_proto"], +- name = "tasks_php_proto", +- deps = [":tasks_proto"], -) - -php_grpc_library( -- name = "talent_php_grpc", -- srcs = [":talent_proto"], -- deps = [":talent_php_proto"], +- name = "tasks_php_grpc", +- srcs = [":tasks_proto"], +- deps = [":tasks_php_proto"], -) - -php_gapic_library( -- name = "talent_php_gapic", -- src = ":talent_proto_with_info", -- gapic_yaml = "talent_gapic.yaml", -- grpc_service_config = "talent_grpc_service_config.json", -- package = "google.cloud.talent.v4beta1", -- service_yaml = "//google/cloud/talent:talent_v4beta1.yaml", +- name = "tasks_php_gapic", +- srcs = [":tasks_proto_with_info"], +- grpc_service_config = "cloudtasks_grpc_service_config.json", - deps = [ -- ":talent_php_grpc", -- ":talent_php_proto", +- ":tasks_php_grpc", +- ":tasks_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-talent-v4beta1-php", +- name = "google-cloud-tasks-v2beta3-php", - deps = [ -- ":talent_php_gapic", -- ":talent_php_grpc", -- ":talent_php_proto", +- ":tasks_php_gapic", +- ":tasks_php_grpc", +- ":tasks_php_proto", - ], -) - @@ -48266,22 +65747,22 @@ diff -urN a/google/cloud/talent/v4beta1/BUILD.bazel b/google/cloud/talent/v4beta -) - -nodejs_gapic_library( -- name = "talent_nodejs_gapic", -- package_name = "@google-cloud/talent", -- src = ":talent_proto_with_info", +- name = "tasks_nodejs_gapic", +- package_name = "@google-cloud/tasks", +- src = ":tasks_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "talent_grpc_service_config.json", -- main_service = "talent", -- package = "google.cloud.talent.v4beta1", -- service_yaml = "//google/cloud/talent:talent_v4beta1.yaml", +- grpc_service_config = "cloudtasks_grpc_service_config.json", +- main_service = "tasks", +- package = "google.cloud.tasks.v2beta3", +- service_yaml = "cloudtasks_v2beta3.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "talent-v4beta1-nodejs", +- name = "tasks-v2beta3-nodejs", - deps = [ -- ":talent_nodejs_gapic", -- ":talent_proto", +- ":tasks_nodejs_gapic", +- ":tasks_proto", - ], -) - @@ -48290,49 +65771,49 @@ diff -urN a/google/cloud/talent/v4beta1/BUILD.bazel b/google/cloud/talent/v4beta -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "talent_ruby_proto", -- deps = [":talent_proto"], +- name = "tasks_ruby_proto", +- deps = [":tasks_proto"], -) - -ruby_grpc_library( -- name = "talent_ruby_grpc", -- srcs = [":talent_proto"], -- deps = [":talent_ruby_proto"], +- name = "tasks_ruby_grpc", +- srcs = [":tasks_proto"], +- deps = [":tasks_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "talent_ruby_gapic", -- srcs = [":talent_proto_with_info"], +- name = "tasks_ruby_gapic", +- srcs = [":tasks_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-talent-v4beta1", -- "ruby-cloud-env-prefix=TALENT", -- "ruby-cloud-product-url=https://cloud.google.com/solutions/talent-solution", -- "ruby-cloud-api-id=jobs.googleapis.com", -- "ruby-cloud-api-shortname=jobs", +- "ruby-cloud-gem-name=google-cloud-tasks-v2beta3", +- "ruby-cloud-env-prefix=TASKS", +- "ruby-cloud-product-url=https://cloud.google.com/tasks", +- "ruby-cloud-api-id=cloudtasks.googleapis.com", +- "ruby-cloud-api-shortname=cloudtasks", - ], -- grpc_service_config = "talent_grpc_service_config.json", -- ruby_cloud_description = "Transform your job search and candidate matching capabilities with Cloud Talent Solution, designed to support enterprise talent acquisition technology and evolve with your growing needs. This AI solution includes features such as Job Search and Profile Search to provide candidates and employers with an enhanced talent acquisition experience.", -- ruby_cloud_title = "Cloud Talent Solution V4beta1", +- grpc_service_config = "cloudtasks_grpc_service_config.json", +- ruby_cloud_description = "Cloud Tasks is a fully managed service that allows you to manage the execution, dispatch and delivery of a large number of distributed tasks. You can asynchronously perform work outside of a user request. Your tasks can be executed on App Engine or any arbitrary HTTP endpoint.", +- ruby_cloud_title = "Cloud Tasks V2beta3", - deps = [ -- ":talent_ruby_grpc", -- ":talent_ruby_proto", +- ":tasks_ruby_grpc", +- ":tasks_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-talent-v4beta1-ruby", +- name = "google-cloud-tasks-v2beta3-ruby", - deps = [ -- ":talent_ruby_gapic", -- ":talent_ruby_grpc", -- ":talent_ruby_proto", +- ":tasks_ruby_gapic", +- ":tasks_ruby_grpc", +- ":tasks_ruby_proto", - ], -) - @@ -48348,34 +65829,34 @@ diff -urN a/google/cloud/talent/v4beta1/BUILD.bazel b/google/cloud/talent/v4beta -) - -csharp_proto_library( -- name = "talent_csharp_proto", -- deps = [":talent_proto"], +- name = "tasks_csharp_proto", +- deps = [":tasks_proto"], -) - -csharp_grpc_library( -- name = "talent_csharp_grpc", -- srcs = [":talent_proto"], -- deps = [":talent_csharp_proto"], +- name = "tasks_csharp_grpc", +- srcs = [":tasks_proto"], +- deps = [":tasks_csharp_proto"], -) - -csharp_gapic_library( -- name = "talent_csharp_gapic", -- srcs = [":talent_proto_with_info"], +- name = "tasks_csharp_gapic", +- srcs = [":tasks_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "talent_grpc_service_config.json", +- grpc_service_config = "cloudtasks_grpc_service_config.json", - deps = [ -- ":talent_csharp_grpc", -- ":talent_csharp_proto", +- ":tasks_csharp_grpc", +- ":tasks_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-talent-v4beta1-csharp", +- name = "google-cloud-tasks-v2beta3-csharp", - deps = [ -- ":talent_csharp_gapic", -- ":talent_csharp_grpc", -- ":talent_csharp_proto", +- ":tasks_csharp_gapic", +- ":tasks_csharp_grpc", +- ":tasks_csharp_proto", - ], -) - @@ -48383,15 +65864,15 @@ diff -urN a/google/cloud/talent/v4beta1/BUILD.bazel b/google/cloud/talent/v4beta -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/tasks/BUILD.bazel b/google/cloud/tasks/BUILD.bazel ---- a/google/cloud/tasks/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/tasks/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +diff -urN a/google/cloud/texttospeech/BUILD.bazel b/google/cloud/texttospeech/BUILD.bazel +--- a/google/cloud/texttospeech/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/texttospeech/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) -diff -urN a/google/cloud/tasks/v2/BUILD.bazel b/google/cloud/tasks/v2/BUILD.bazel ---- a/google/cloud/tasks/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/tasks/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,344 +0,0 @@ +diff -urN a/google/cloud/texttospeech/v1/BUILD.bazel b/google/cloud/texttospeech/v1/BUILD.bazel +--- a/google/cloud/texttospeech/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/texttospeech/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,341 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -48404,32 +65885,21 @@ diff -urN a/google/cloud/tasks/v2/BUILD.bazel b/google/cloud/tasks/v2/BUILD.baze -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "tasks_proto", +- name = "texttospeech_proto", - srcs = [ -- "cloudtasks.proto", -- "queue.proto", -- "target.proto", -- "task.proto", +- "cloud_tts.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/iam/v1:iam_policy_proto", -- "//google/iam/v1:policy_proto", -- "//google/rpc:status_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "tasks_proto_with_info", +- name = "texttospeech_proto_with_info", - deps = [ -- ":tasks_proto", +- ":texttospeech_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -48447,46 +65917,44 @@ diff -urN a/google/cloud/tasks/v2/BUILD.bazel b/google/cloud/tasks/v2/BUILD.baze -) - -java_proto_library( -- name = "tasks_java_proto", -- deps = [":tasks_proto"], +- name = "texttospeech_java_proto", +- deps = [":texttospeech_proto"], -) - -java_grpc_library( -- name = "tasks_java_grpc", -- srcs = [":tasks_proto"], -- deps = [":tasks_java_proto"], +- name = "texttospeech_java_grpc", +- srcs = [":texttospeech_proto"], +- deps = [":texttospeech_java_proto"], -) - -java_gapic_library( -- name = "tasks_java_gapic", -- srcs = [":tasks_proto_with_info"], -- grpc_service_config = "cloudtasks_grpc_service_config.json", +- name = "texttospeech_java_gapic", +- srcs = [":texttospeech_proto_with_info"], +- grpc_service_config = "texttospeech_grpc_service_config.json", - test_deps = [ -- ":tasks_java_grpc", -- "//google/iam/v1:iam_java_grpc", +- ":texttospeech_java_grpc", - ], - deps = [ -- ":tasks_java_proto", -- "//google/iam/v1:iam_java_proto", +- ":texttospeech_java_proto", - ], -) - -java_gapic_test( -- name = "tasks_java_gapic_test_suite", +- name = "texttospeech_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.tasks.v2.CloudTasksClientTest", +- "com.google.cloud.texttospeech.v1.TextToSpeechClientTest", - ], -- runtime_deps = [":tasks_java_gapic_test"], +- runtime_deps = [":texttospeech_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-tasks-v2-java", +- name = "google-cloud-texttospeech-v1-java", - deps = [ -- ":tasks_java_gapic", -- ":tasks_java_grpc", -- ":tasks_java_proto", -- ":tasks_proto", +- ":texttospeech_java_gapic", +- ":texttospeech_java_grpc", +- ":texttospeech_java_proto", +- ":texttospeech_proto", - ], -) - @@ -48502,43 +65970,40 @@ diff -urN a/google/cloud/tasks/v2/BUILD.bazel b/google/cloud/tasks/v2/BUILD.baze -) - -go_proto_library( -- name = "tasks_go_proto", +- name = "texttospeech_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/tasks/v2", -- protos = [":tasks_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/texttospeech/v1", +- protos = [":texttospeech_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/iam/v1:iam_go_proto", -- "//google/rpc:status_go_proto", - ], -) - -go_gapic_library( -- name = "tasks_go_gapic", -- srcs = [":tasks_proto_with_info"], -- grpc_service_config = "cloudtasks_grpc_service_config.json", -- importpath = "cloud.google.com/go/cloudtasks/apiv2;tasks", -- service_yaml = "cloudtasks_v2.yaml", +- name = "texttospeech_go_gapic", +- srcs = [":texttospeech_proto_with_info"], +- grpc_service_config = "texttospeech_grpc_service_config.json", +- importpath = "cloud.google.com/go/texttospeech/apiv1;texttospeech", +- service_yaml = "texttospeech_v1.yaml", - deps = [ -- ":tasks_go_proto", -- "//google/iam/v1:iam_go_proto", +- ":texttospeech_go_proto", - ], -) - -go_test( -- name = "tasks_go_gapic_test", -- srcs = [":tasks_go_gapic_srcjar_test"], -- embed = [":tasks_go_gapic"], -- importpath = "cloud.google.com/go/cloudtasks/apiv2", +- name = "texttospeech_go_gapic_test", +- srcs = [":texttospeech_go_gapic_srcjar_test"], +- embed = [":texttospeech_go_gapic"], +- importpath = "cloud.google.com/go/texttospeech/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-tasks-v2-go", +- name = "gapi-cloud-texttospeech-v1-go", - deps = [ -- ":tasks_go_gapic", -- ":tasks_go_gapic_srcjar-test.srcjar", -- ":tasks_go_proto", +- ":texttospeech_go_gapic", +- ":texttospeech_go_gapic_srcjar-test.srcjar", +- ":texttospeech_go_proto", - ], -) - @@ -48552,15 +66017,16 @@ diff -urN a/google/cloud/tasks/v2/BUILD.bazel b/google/cloud/tasks/v2/BUILD.baze -) - -py_gapic_library( -- name = "tasks_py_gapic", -- srcs = [":tasks_proto"], -- grpc_service_config = "cloudtasks_grpc_service_config.json", +- name = "texttospeech_py_gapic", +- srcs = [":texttospeech_proto"], +- grpc_service_config = "texttospeech_grpc_service_config.json", -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "tasks-v2-py", +- name = "texttospeech-v1-py", - deps = [ -- ":tasks_py_gapic", +- ":texttospeech_py_gapic", - ], -) - @@ -48576,36 +66042,33 @@ diff -urN a/google/cloud/tasks/v2/BUILD.bazel b/google/cloud/tasks/v2/BUILD.baze -) - -php_proto_library( -- name = "tasks_php_proto", -- deps = [":tasks_proto"], +- name = "texttospeech_php_proto", +- deps = [":texttospeech_proto"], -) - -php_grpc_library( -- name = "tasks_php_grpc", -- srcs = [":tasks_proto"], -- deps = [":tasks_php_proto"], +- name = "texttospeech_php_grpc", +- srcs = [":texttospeech_proto"], +- deps = [":texttospeech_php_proto"], -) - -php_gapic_library( -- name = "tasks_php_gapic", -- src = ":tasks_proto_with_info", -- gapic_yaml = "cloudtasks_gapic.yaml", -- grpc_service_config = "cloudtasks_grpc_service_config.json", -- package = "google.cloud.tasks.v2", -- service_yaml = "cloudtasks_v2.yaml", +- name = "texttospeech_php_gapic", +- srcs = [":texttospeech_proto_with_info"], +- grpc_service_config = "texttospeech_grpc_service_config.json", - deps = [ -- ":tasks_php_grpc", -- ":tasks_php_proto", +- ":texttospeech_php_grpc", +- ":texttospeech_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-tasks-v2-php", +- name = "google-cloud-texttospeech-v1-php", - deps = [ -- ":tasks_php_gapic", -- ":tasks_php_grpc", -- ":tasks_php_proto", +- ":texttospeech_php_gapic", +- ":texttospeech_php_grpc", +- ":texttospeech_php_proto", - ], -) - @@ -48619,22 +66082,21 @@ diff -urN a/google/cloud/tasks/v2/BUILD.bazel b/google/cloud/tasks/v2/BUILD.baze -) - -nodejs_gapic_library( -- name = "tasks_nodejs_gapic", -- package_name = "@google-cloud/tasks", -- src = ":tasks_proto_with_info", +- name = "texttospeech_nodejs_gapic", +- package_name = "@google-cloud/text-to-speech", +- src = ":texttospeech_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "cloudtasks_grpc_service_config.json", -- main_service = "tasks", -- package = "google.cloud.tasks.v2", -- service_yaml = "cloudtasks_v2.yaml", +- grpc_service_config = "texttospeech_grpc_service_config.json", +- package = "google.cloud.texttospeech.v1", +- service_yaml = "texttospeech_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "tasks-v2-nodejs", +- name = "texttospeech-v1-nodejs", - deps = [ -- ":tasks_nodejs_gapic", -- ":tasks_proto", +- ":texttospeech_nodejs_gapic", +- ":texttospeech_proto", - ], -) - @@ -48643,49 +66105,49 @@ diff -urN a/google/cloud/tasks/v2/BUILD.bazel b/google/cloud/tasks/v2/BUILD.baze -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "tasks_ruby_proto", -- deps = [":tasks_proto"], +- name = "texttospeech_ruby_proto", +- deps = [":texttospeech_proto"], -) - -ruby_grpc_library( -- name = "tasks_ruby_grpc", -- srcs = [":tasks_proto"], -- deps = [":tasks_ruby_proto"], +- name = "texttospeech_ruby_grpc", +- srcs = [":texttospeech_proto"], +- deps = [":texttospeech_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "tasks_ruby_gapic", -- srcs = [":tasks_proto_with_info"], +- name = "texttospeech_ruby_gapic", +- srcs = [":texttospeech_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-tasks-v2", -- "ruby-cloud-env-prefix=TASKS", -- "ruby-cloud-product-url=https://cloud.google.com/tasks", -- "ruby-cloud-api-id=cloudtasks.googleapis.com", -- "ruby-cloud-api-shortname=cloudtasks", +- "ruby-cloud-gem-name=google-cloud-text_to_speech-v1", +- "ruby-cloud-env-prefix=TEXTTOSPEECH", +- "ruby-cloud-product-url=https://cloud.google.com/text-to-speech", +- "ruby-cloud-api-id=texttospeech.googleapis.com", +- "ruby-cloud-api-shortname=texttospeech", - ], -- grpc_service_config = "cloudtasks_grpc_service_config.json", -- ruby_cloud_description = "Cloud Tasks is a fully managed service that allows you to manage the execution, dispatch and delivery of a large number of distributed tasks. You can asynchronously perform work outside of a user request. Your tasks can be executed on App Engine or any arbitrary HTTP endpoint.", -- ruby_cloud_title = "Cloud Tasks V2", +- grpc_service_config = "texttospeech_grpc_service_config.json", +- ruby_cloud_description = "Text-to-Speech converts text or Speech Synthesis Markup Language (SSML) input into audio data of natural human speech.", +- ruby_cloud_title = "Cloud Text-to-Speech V1", - deps = [ -- ":tasks_ruby_grpc", -- ":tasks_ruby_proto", +- ":texttospeech_ruby_grpc", +- ":texttospeech_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-tasks-v2-ruby", +- name = "google-cloud-texttospeech-v1-ruby", - deps = [ -- ":tasks_ruby_gapic", -- ":tasks_ruby_grpc", -- ":tasks_ruby_proto", +- ":texttospeech_ruby_gapic", +- ":texttospeech_ruby_grpc", +- ":texttospeech_ruby_proto", - ], -) - @@ -48701,45 +66163,61 @@ diff -urN a/google/cloud/tasks/v2/BUILD.bazel b/google/cloud/tasks/v2/BUILD.baze -) - -csharp_proto_library( -- name = "tasks_csharp_proto", -- deps = [":tasks_proto"], +- name = "texttospeech_csharp_proto", +- deps = [":texttospeech_proto"], -) - -csharp_grpc_library( -- name = "tasks_csharp_grpc", -- srcs = [":tasks_proto"], -- deps = [":tasks_csharp_proto"], +- name = "texttospeech_csharp_grpc", +- srcs = [":texttospeech_proto"], +- deps = [":texttospeech_csharp_proto"], -) - -csharp_gapic_library( -- name = "tasks_csharp_gapic", -- srcs = [":tasks_proto_with_info"], +- name = "texttospeech_csharp_gapic", +- srcs = [":texttospeech_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "cloudtasks_grpc_service_config.json", +- grpc_service_config = "texttospeech_grpc_service_config.json", - deps = [ -- ":tasks_csharp_grpc", -- ":tasks_csharp_proto", +- ":texttospeech_csharp_grpc", +- ":texttospeech_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-tasks-v2-csharp", +- name = "google-cloud-texttospeech-v1-csharp", - deps = [ -- ":tasks_csharp_gapic", -- ":tasks_csharp_grpc", -- ":tasks_csharp_proto", +- ":texttospeech_csharp_gapic", +- ":texttospeech_csharp_grpc", +- ":texttospeech_csharp_proto", - ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ rules here -diff -urN a/google/cloud/tasks/v2beta2/BUILD.bazel b/google/cloud/tasks/v2beta2/BUILD.bazel ---- a/google/cloud/tasks/v2beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/tasks/v2beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,345 +0,0 @@ +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "cc_grpc_library", +- "cc_proto_library", +-) +- +-cc_proto_library( +- name = "texttospeech_cc_proto", +- deps = [":texttospeech_proto"], +-) +- +-cc_grpc_library( +- name = "texttospeech_cc_grpc", +- srcs = [":texttospeech_proto"], +- grpc_only = True, +- deps = [":texttospeech_cc_proto"], +-) +diff -urN a/google/cloud/texttospeech/v1beta1/BUILD.bazel b/google/cloud/texttospeech/v1beta1/BUILD.bazel +--- a/google/cloud/texttospeech/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/texttospeech/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,325 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -48752,32 +66230,21 @@ diff -urN a/google/cloud/tasks/v2beta2/BUILD.bazel b/google/cloud/tasks/v2beta2/ -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "tasks_proto", +- name = "texttospeech_proto", - srcs = [ -- "cloudtasks.proto", -- "queue.proto", -- "target.proto", -- "task.proto", +- "cloud_tts.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/iam/v1:iam_policy_proto", -- "//google/iam/v1:policy_proto", -- "//google/rpc:status_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", -- "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "tasks_proto_with_info", +- name = "texttospeech_proto_with_info", - deps = [ -- ":tasks_proto", +- ":texttospeech_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -48795,46 +66262,44 @@ diff -urN a/google/cloud/tasks/v2beta2/BUILD.bazel b/google/cloud/tasks/v2beta2/ -) - -java_proto_library( -- name = "tasks_java_proto", -- deps = [":tasks_proto"], +- name = "texttospeech_java_proto", +- deps = [":texttospeech_proto"], -) - -java_grpc_library( -- name = "tasks_java_grpc", -- srcs = [":tasks_proto"], -- deps = [":tasks_java_proto"], +- name = "texttospeech_java_grpc", +- srcs = [":texttospeech_proto"], +- deps = [":texttospeech_java_proto"], -) - -java_gapic_library( -- name = "tasks_java_gapic", -- srcs = [":tasks_proto_with_info"], -- grpc_service_config = "cloudtasks_grpc_service_config.json", +- name = "texttospeech_java_gapic", +- srcs = [":texttospeech_proto_with_info"], +- grpc_service_config = "texttospeech_grpc_service_config.json", - test_deps = [ -- ":tasks_java_grpc", -- "//google/iam/v1:iam_java_grpc", +- ":texttospeech_java_grpc", - ], - deps = [ -- ":tasks_java_proto", -- "//google/iam/v1:iam_java_proto", +- ":texttospeech_java_proto", - ], -) - -java_gapic_test( -- name = "tasks_java_gapic_test_suite", +- name = "texttospeech_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.tasks.v2beta2.CloudTasksClientTest", +- "com.google.cloud.texttospeech.v1beta1.TextToSpeechClientTest", - ], -- runtime_deps = [":tasks_java_gapic_test"], +- runtime_deps = [":texttospeech_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-tasks-v2beta2-java", +- name = "google-cloud-texttospeech-v1beta1-java", - deps = [ -- ":tasks_java_gapic", -- ":tasks_java_grpc", -- ":tasks_java_proto", -- ":tasks_proto", +- ":texttospeech_java_gapic", +- ":texttospeech_java_grpc", +- ":texttospeech_java_proto", +- ":texttospeech_proto", - ], -) - @@ -48850,44 +66315,40 @@ diff -urN a/google/cloud/tasks/v2beta2/BUILD.bazel b/google/cloud/tasks/v2beta2/ -) - -go_proto_library( -- name = "tasks_go_proto", +- name = "texttospeech_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta2", -- protos = [":tasks_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/texttospeech/v1beta1", +- protos = [":texttospeech_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/iam/v1:iam_go_proto", -- "//google/rpc:status_go_proto", - ], -) - -go_gapic_library( -- name = "tasks_go_gapic", -- srcs = [":tasks_proto_with_info"], -- grpc_service_config = "cloudtasks_grpc_service_config.json", -- importpath = "cloud.google.com/go/cloudtasks/apiv2beta2;tasks", -- service_yaml = "cloudtasks_v2beta2.yaml", +- name = "texttospeech_go_gapic", +- srcs = [":texttospeech_proto_with_info"], +- grpc_service_config = "texttospeech_grpc_service_config.json", +- importpath = "cloud.google.com/go/texttospeech/apiv1beta1;texttospeech", +- service_yaml = "texttospeech_v1beta1.yaml", - deps = [ -- ":tasks_go_proto", -- "//google/iam/v1:iam_go_proto", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- ":texttospeech_go_proto", - ], -) - -go_test( -- name = "tasks_go_gapic_test", -- srcs = [":tasks_go_gapic_srcjar_test"], -- embed = [":tasks_go_gapic"], -- importpath = "cloud.google.com/go/cloudtasks/apiv2beta2", +- name = "texttospeech_go_gapic_test", +- srcs = [":texttospeech_go_gapic_srcjar_test"], +- embed = [":texttospeech_go_gapic"], +- importpath = "cloud.google.com/go/texttospeech/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-tasks-v2beta2-go", +- name = "gapi-cloud-texttospeech-v1beta1-go", - deps = [ -- ":tasks_go_gapic", -- ":tasks_go_gapic_srcjar-test.srcjar", -- ":tasks_go_proto", +- ":texttospeech_go_gapic", +- ":texttospeech_go_gapic_srcjar-test.srcjar", +- ":texttospeech_go_proto", - ], -) - @@ -48901,15 +66362,16 @@ diff -urN a/google/cloud/tasks/v2beta2/BUILD.bazel b/google/cloud/tasks/v2beta2/ -) - -py_gapic_library( -- name = "tasks_py_gapic", -- srcs = [":tasks_proto"], -- grpc_service_config = "cloudtasks_grpc_service_config.json", +- name = "texttospeech_py_gapic", +- srcs = [":texttospeech_proto"], +- grpc_service_config = "texttospeech_grpc_service_config.json", -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "tasks-v2beta2-py", +- name = "texttospeech-v1beta1-py", - deps = [ -- ":tasks_py_gapic", +- ":texttospeech_py_gapic", - ], -) - @@ -48925,36 +66387,33 @@ diff -urN a/google/cloud/tasks/v2beta2/BUILD.bazel b/google/cloud/tasks/v2beta2/ -) - -php_proto_library( -- name = "tasks_php_proto", -- deps = [":tasks_proto"], +- name = "texttospeech_php_proto", +- deps = [":texttospeech_proto"], -) - -php_grpc_library( -- name = "tasks_php_grpc", -- srcs = [":tasks_proto"], -- deps = [":tasks_php_proto"], +- name = "texttospeech_php_grpc", +- srcs = [":texttospeech_proto"], +- deps = [":texttospeech_php_proto"], -) - -php_gapic_library( -- name = "tasks_php_gapic", -- src = ":tasks_proto_with_info", -- gapic_yaml = "cloudtasks_gapic.yaml", -- grpc_service_config = "cloudtasks_grpc_service_config.json", -- package = "google.cloud.tasks.v2beta2", -- service_yaml = "cloudtasks_v2beta2.yaml", +- name = "texttospeech_php_gapic", +- srcs = [":texttospeech_proto_with_info"], +- grpc_service_config = "texttospeech_grpc_service_config.json", - deps = [ -- ":tasks_php_grpc", -- ":tasks_php_proto", +- ":texttospeech_php_grpc", +- ":texttospeech_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-tasks-v2beta2-php", +- name = "google-cloud-texttospeech-v1beta1-php", - deps = [ -- ":tasks_php_gapic", -- ":tasks_php_grpc", -- ":tasks_php_proto", +- ":texttospeech_php_gapic", +- ":texttospeech_php_grpc", +- ":texttospeech_php_proto", - ], -) - @@ -48968,22 +66427,21 @@ diff -urN a/google/cloud/tasks/v2beta2/BUILD.bazel b/google/cloud/tasks/v2beta2/ -) - -nodejs_gapic_library( -- name = "tasks_nodejs_gapic", -- package_name = "@google-cloud/tasks", -- src = ":tasks_proto_with_info", +- name = "texttospeech_nodejs_gapic", +- package_name = "@google-cloud/text-to-speech", +- src = ":texttospeech_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "cloudtasks_grpc_service_config.json", -- main_service = "tasks", -- package = "google.cloud.tasks.v2beta2", -- service_yaml = "cloudtasks_v2beta2.yaml", +- grpc_service_config = "texttospeech_grpc_service_config.json", +- package = "google.cloud.texttospeech.v1beta1", +- service_yaml = "texttospeech_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "tasks-v2beta2-nodejs", +- name = "texttospeech-v1beta1-nodejs", - deps = [ -- ":tasks_nodejs_gapic", -- ":tasks_proto", +- ":texttospeech_nodejs_gapic", +- ":texttospeech_proto", - ], -) - @@ -48992,49 +66450,49 @@ diff -urN a/google/cloud/tasks/v2beta2/BUILD.bazel b/google/cloud/tasks/v2beta2/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "tasks_ruby_proto", -- deps = [":tasks_proto"], +- name = "texttospeech_ruby_proto", +- deps = [":texttospeech_proto"], -) - -ruby_grpc_library( -- name = "tasks_ruby_grpc", -- srcs = [":tasks_proto"], -- deps = [":tasks_ruby_proto"], +- name = "texttospeech_ruby_grpc", +- srcs = [":texttospeech_proto"], +- deps = [":texttospeech_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "tasks_ruby_gapic", -- srcs = [":tasks_proto_with_info"], +- name = "texttospeech_ruby_gapic", +- srcs = [":texttospeech_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-tasks-v2beta2", -- "ruby-cloud-env-prefix=TASKS", -- "ruby-cloud-product-url=https://cloud.google.com/tasks", -- "ruby-cloud-api-id=cloudtasks.googleapis.com", -- "ruby-cloud-api-shortname=cloudtasks", +- "ruby-cloud-gem-name=google-cloud-text_to_speech-v1beta1", +- "ruby-cloud-env-prefix=TEXTTOSPEECH", +- "ruby-cloud-product-url=https://cloud.google.com/text-to-speech", +- "ruby-cloud-api-id=texttospeech.googleapis.com", +- "ruby-cloud-api-shortname=texttospeech", - ], -- grpc_service_config = "cloudtasks_grpc_service_config.json", -- ruby_cloud_description = "Cloud Tasks is a fully managed service that allows you to manage the execution, dispatch and delivery of a large number of distributed tasks. You can asynchronously perform work outside of a user request. Your tasks can be executed on App Engine or any arbitrary HTTP endpoint.", -- ruby_cloud_title = "Cloud Tasks V2beta2", +- grpc_service_config = "texttospeech_grpc_service_config.json", +- ruby_cloud_description = "Text-to-Speech converts text or Speech Synthesis Markup Language (SSML) input into audio data of natural human speech.", +- ruby_cloud_title = "Cloud Text-to-Speech V1beta1", - deps = [ -- ":tasks_ruby_grpc", -- ":tasks_ruby_proto", +- ":texttospeech_ruby_grpc", +- ":texttospeech_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-tasks-v2beta2-ruby", +- name = "google-cloud-texttospeech-v1beta1-ruby", - deps = [ -- ":tasks_ruby_gapic", -- ":tasks_ruby_grpc", -- ":tasks_ruby_proto", +- ":texttospeech_ruby_gapic", +- ":texttospeech_ruby_grpc", +- ":texttospeech_ruby_proto", - ], -) - @@ -49050,34 +66508,34 @@ diff -urN a/google/cloud/tasks/v2beta2/BUILD.bazel b/google/cloud/tasks/v2beta2/ -) - -csharp_proto_library( -- name = "tasks_csharp_proto", -- deps = [":tasks_proto"], +- name = "texttospeech_csharp_proto", +- deps = [":texttospeech_proto"], -) - -csharp_grpc_library( -- name = "tasks_csharp_grpc", -- srcs = [":tasks_proto"], -- deps = [":tasks_csharp_proto"], +- name = "texttospeech_csharp_grpc", +- srcs = [":texttospeech_proto"], +- deps = [":texttospeech_csharp_proto"], -) - -csharp_gapic_library( -- name = "tasks_csharp_gapic", -- srcs = [":tasks_proto_with_info"], +- name = "texttospeech_csharp_gapic", +- srcs = [":texttospeech_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "cloudtasks_grpc_service_config.json", +- grpc_service_config = "texttospeech_grpc_service_config.json", - deps = [ -- ":tasks_csharp_grpc", -- ":tasks_csharp_proto", +- ":texttospeech_csharp_grpc", +- ":texttospeech_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-tasks-v2beta2-csharp", +- name = "google-cloud-texttospeech-v1beta1-csharp", - deps = [ -- ":tasks_csharp_gapic", -- ":tasks_csharp_grpc", -- ":tasks_csharp_proto", +- ":texttospeech_csharp_gapic", +- ":texttospeech_csharp_grpc", +- ":texttospeech_csharp_proto", - ], -) - @@ -49085,11 +66543,20 @@ diff -urN a/google/cloud/tasks/v2beta2/BUILD.bazel b/google/cloud/tasks/v2beta2/ -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/tasks/v2beta3/BUILD.bazel b/google/cloud/tasks/v2beta3/BUILD.bazel ---- a/google/cloud/tasks/v2beta3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/tasks/v2beta3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,345 +0,0 @@ +diff -urN a/google/cloud/tpu/v1/BUILD.bazel b/google/cloud/tpu/v1/BUILD.bazel +--- a/google/cloud/tpu/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/tpu/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,344 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -49101,32 +66568,24 @@ diff -urN a/google/cloud/tasks/v2beta3/BUILD.bazel b/google/cloud/tasks/v2beta3/ -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "tasks_proto", +- name = "tpu_proto", - srcs = [ -- "cloudtasks.proto", -- "queue.proto", -- "target.proto", -- "task.proto", +- "cloud_tpu.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/iam/v1:iam_policy_proto", -- "//google/iam/v1:policy_proto", -- "//google/rpc:status_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", +- "//google/longrunning:operations_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "tasks_proto_with_info", +- name = "tpu_proto_with_info", - deps = [ -- ":tasks_proto", +- ":tpu_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -49144,46 +66603,44 @@ diff -urN a/google/cloud/tasks/v2beta3/BUILD.bazel b/google/cloud/tasks/v2beta3/ -) - -java_proto_library( -- name = "tasks_java_proto", -- deps = [":tasks_proto"], +- name = "tpu_java_proto", +- deps = [":tpu_proto"], -) - -java_grpc_library( -- name = "tasks_java_grpc", -- srcs = [":tasks_proto"], -- deps = [":tasks_java_proto"], +- name = "tpu_java_grpc", +- srcs = [":tpu_proto"], +- deps = [":tpu_java_proto"], -) - -java_gapic_library( -- name = "tasks_java_gapic", -- srcs = [":tasks_proto_with_info"], -- grpc_service_config = "cloudtasks_grpc_service_config.json", +- name = "tpu_java_gapic", +- srcs = [":tpu_proto_with_info"], +- grpc_service_config = "tpu_grpc_service_config.json", - test_deps = [ -- ":tasks_java_grpc", -- "//google/iam/v1:iam_java_grpc", +- ":tpu_java_grpc", - ], - deps = [ -- ":tasks_java_proto", -- "//google/iam/v1:iam_java_proto", +- ":tpu_java_proto", - ], -) - -java_gapic_test( -- name = "tasks_java_gapic_test_suite", +- name = "tpu_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.tasks.v2beta3.CloudTasksClientTest", +- "com.google.cloud.tpu.v1.TpuClientTest", - ], -- runtime_deps = [":tasks_java_gapic_test"], +- runtime_deps = [":tpu_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-tasks-v2beta3-java", +- name = "google-cloud-tpu-v1-java", - deps = [ -- ":tasks_java_gapic", -- ":tasks_java_grpc", -- ":tasks_java_proto", -- ":tasks_proto", +- ":tpu_java_gapic", +- ":tpu_java_grpc", +- ":tpu_java_proto", +- ":tpu_proto", - ], -) - @@ -49199,44 +66656,46 @@ diff -urN a/google/cloud/tasks/v2beta3/BUILD.bazel b/google/cloud/tasks/v2beta3/ -) - -go_proto_library( -- name = "tasks_go_proto", +- name = "tpu_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta3", -- protos = [":tasks_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/tpu/v1", +- protos = [":tpu_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/iam/v1:iam_go_proto", -- "//google/rpc:status_go_proto", +- "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "tasks_go_gapic", -- srcs = [":tasks_proto_with_info"], -- grpc_service_config = "cloudtasks_grpc_service_config.json", -- importpath = "cloud.google.com/go/cloudtasks/apiv2beta3;tasks", -- service_yaml = "cloudtasks_v2beta3.yaml", +- name = "tpu_go_gapic", +- srcs = [":tpu_proto_with_info"], +- grpc_service_config = "tpu_grpc_service_config.json", +- importpath = "cloud.google.com/go/tpu/apiv1;tpu", +- metadata = True, +- service_yaml = "tpu_v1.yaml", - deps = [ -- ":tasks_go_proto", -- "//google/iam/v1:iam_go_proto", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- ":tpu_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", - ], -) - -go_test( -- name = "tasks_go_gapic_test", -- srcs = [":tasks_go_gapic_srcjar_test"], -- embed = [":tasks_go_gapic"], -- importpath = "cloud.google.com/go/cloudtasks/apiv2beta3", +- name = "tpu_go_gapic_test", +- srcs = [":tpu_go_gapic_srcjar_test"], +- embed = [":tpu_go_gapic"], +- importpath = "cloud.google.com/go/tpu/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-tasks-v2beta3-go", +- name = "gapi-cloud-tpu-v1-go", - deps = [ -- ":tasks_go_gapic", -- ":tasks_go_gapic_srcjar-test.srcjar", -- ":tasks_go_proto", +- ":tpu_go_gapic", +- ":tpu_go_gapic_srcjar-metadata.srcjar", +- ":tpu_go_gapic_srcjar-test.srcjar", +- ":tpu_go_proto", - ], -) - @@ -49250,15 +66709,16 @@ diff -urN a/google/cloud/tasks/v2beta3/BUILD.bazel b/google/cloud/tasks/v2beta3/ -) - -py_gapic_library( -- name = "tasks_py_gapic", -- srcs = [":tasks_proto"], -- grpc_service_config = "cloudtasks_grpc_service_config.json", +- name = "tpu_py_gapic", +- srcs = [":tpu_proto"], +- grpc_service_config = "tpu_grpc_service_config.json", -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "tasks-v2beta3-py", +- name = "tpu-v1-py", - deps = [ -- ":tasks_py_gapic", +- ":tpu_py_gapic", - ], -) - @@ -49274,36 +66734,34 @@ diff -urN a/google/cloud/tasks/v2beta3/BUILD.bazel b/google/cloud/tasks/v2beta3/ -) - -php_proto_library( -- name = "tasks_php_proto", -- deps = [":tasks_proto"], +- name = "tpu_php_proto", +- deps = [":tpu_proto"], -) - -php_grpc_library( -- name = "tasks_php_grpc", -- srcs = [":tasks_proto"], -- deps = [":tasks_php_proto"], +- name = "tpu_php_grpc", +- srcs = [":tpu_proto"], +- deps = [":tpu_php_proto"], -) - -php_gapic_library( -- name = "tasks_php_gapic", -- src = ":tasks_proto_with_info", -- gapic_yaml = "cloudtasks_gapic.yaml", -- grpc_service_config = "cloudtasks_grpc_service_config.json", -- package = "google.cloud.tasks.v2beta3", -- service_yaml = "cloudtasks_v2beta3.yaml", +- name = "tpu_php_gapic", +- srcs = [":tpu_proto_with_info"], +- grpc_service_config = "tpu_grpc_service_config.json", +- service_yaml = "tpu_v1.yaml", - deps = [ -- ":tasks_php_grpc", -- ":tasks_php_proto", +- ":tpu_php_grpc", +- ":tpu_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-tasks-v2beta3-php", +- name = "google-cloud-tpu-v1-php", - deps = [ -- ":tasks_php_gapic", -- ":tasks_php_grpc", -- ":tasks_php_proto", +- ":tpu_php_gapic", +- ":tpu_php_grpc", +- ":tpu_php_proto", - ], -) - @@ -49317,22 +66775,21 @@ diff -urN a/google/cloud/tasks/v2beta3/BUILD.bazel b/google/cloud/tasks/v2beta3/ -) - -nodejs_gapic_library( -- name = "tasks_nodejs_gapic", -- package_name = "@google-cloud/tasks", -- src = ":tasks_proto_with_info", +- name = "tpu_nodejs_gapic", +- package_name = "@google-cloud/tpu", +- src = ":tpu_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "cloudtasks_grpc_service_config.json", -- main_service = "tasks", -- package = "google.cloud.tasks.v2beta3", -- service_yaml = "cloudtasks_v2beta3.yaml", +- grpc_service_config = "tpu_grpc_service_config.json", +- package = "google.cloud.tpu.v1", +- service_yaml = "tpu_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "tasks-v2beta3-nodejs", +- name = "tpu-v1-nodejs", - deps = [ -- ":tasks_nodejs_gapic", -- ":tasks_proto", +- ":tpu_nodejs_gapic", +- ":tpu_proto", - ], -) - @@ -49341,49 +66798,49 @@ diff -urN a/google/cloud/tasks/v2beta3/BUILD.bazel b/google/cloud/tasks/v2beta3/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "tasks_ruby_proto", -- deps = [":tasks_proto"], +- name = "tpu_ruby_proto", +- deps = [":tpu_proto"], -) - -ruby_grpc_library( -- name = "tasks_ruby_grpc", -- srcs = [":tasks_proto"], -- deps = [":tasks_ruby_proto"], +- name = "tpu_ruby_grpc", +- srcs = [":tpu_proto"], +- deps = [":tpu_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "tasks_ruby_gapic", -- srcs = [":tasks_proto_with_info"], +- name = "tpu_ruby_gapic", +- srcs = [":tpu_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-tasks-v2beta3", -- "ruby-cloud-env-prefix=TASKS", -- "ruby-cloud-product-url=https://cloud.google.com/tasks", -- "ruby-cloud-api-id=cloudtasks.googleapis.com", -- "ruby-cloud-api-shortname=cloudtasks", +- "ruby-cloud-gem-name=google-cloud-tpu-v1", +- "ruby-cloud-env-prefix=CLOUD_TPU", +- "ruby-cloud-product-url=https://cloud.google.com/tpu/", +- "ruby-cloud-api-id=tpu.googleapis.com", +- "ruby-cloud-api-shortname=tpu", - ], -- grpc_service_config = "cloudtasks_grpc_service_config.json", -- ruby_cloud_description = "Cloud Tasks is a fully managed service that allows you to manage the execution, dispatch and delivery of a large number of distributed tasks. You can asynchronously perform work outside of a user request. Your tasks can be executed on App Engine or any arbitrary HTTP endpoint.", -- ruby_cloud_title = "Cloud Tasks V2beta3", +- grpc_service_config = "tpu_grpc_service_config.json", +- ruby_cloud_description = "Tensor Processing Units (TPUs) are Google's custom-developed application-specific integrated circuits (ASICs) used to accelerate machine learning workloads. Cloud TPUs allow you to access TPUs from Compute Engine, Google Kubernetes Engine and AI Platform.", +- ruby_cloud_title = "Cloud TPU V1", - deps = [ -- ":tasks_ruby_grpc", -- ":tasks_ruby_proto", +- ":tpu_ruby_grpc", +- ":tpu_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-tasks-v2beta3-ruby", +- name = "google-cloud-tpu-v1-ruby", - deps = [ -- ":tasks_ruby_gapic", -- ":tasks_ruby_grpc", -- ":tasks_ruby_proto", +- ":tpu_ruby_gapic", +- ":tpu_ruby_grpc", +- ":tpu_ruby_proto", - ], -) - @@ -49399,34 +66856,34 @@ diff -urN a/google/cloud/tasks/v2beta3/BUILD.bazel b/google/cloud/tasks/v2beta3/ -) - -csharp_proto_library( -- name = "tasks_csharp_proto", -- deps = [":tasks_proto"], +- name = "tpu_csharp_proto", +- deps = [":tpu_proto"], -) - -csharp_grpc_library( -- name = "tasks_csharp_grpc", -- srcs = [":tasks_proto"], -- deps = [":tasks_csharp_proto"], +- name = "tpu_csharp_grpc", +- srcs = [":tpu_proto"], +- deps = [":tpu_csharp_proto"], -) - -csharp_gapic_library( -- name = "tasks_csharp_gapic", -- srcs = [":tasks_proto_with_info"], +- name = "tpu_csharp_gapic", +- srcs = [":tpu_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "cloudtasks_grpc_service_config.json", +- grpc_service_config = "tpu_grpc_service_config.json", - deps = [ -- ":tasks_csharp_grpc", -- ":tasks_csharp_proto", +- ":tpu_csharp_grpc", +- ":tpu_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-tasks-v2beta3-csharp", +- name = "google-cloud-tpu-v1-csharp", - deps = [ -- ":tasks_csharp_gapic", -- ":tasks_csharp_grpc", -- ":tasks_csharp_proto", +- ":tpu_csharp_gapic", +- ":tpu_csharp_grpc", +- ":tpu_csharp_proto", - ], -) - @@ -49434,15 +66891,10 @@ diff -urN a/google/cloud/tasks/v2beta3/BUILD.bazel b/google/cloud/tasks/v2beta3/ -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/texttospeech/BUILD.bazel b/google/cloud/texttospeech/BUILD.bazel ---- a/google/cloud/texttospeech/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/texttospeech/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/cloud/texttospeech/v1/BUILD.bazel b/google/cloud/texttospeech/v1/BUILD.bazel ---- a/google/cloud/texttospeech/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/texttospeech/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,344 +0,0 @@ +diff -urN a/google/cloud/translate/v3/BUILD.bazel b/google/cloud/translate/v3/BUILD.bazel +--- a/google/cloud/translate/v3/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/translate/v3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,332 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -49455,21 +66907,24 @@ diff -urN a/google/cloud/texttospeech/v1/BUILD.bazel b/google/cloud/texttospeech -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "texttospeech_proto", +- name = "translation_proto", - srcs = [ -- "cloud_tts.proto", +- "translation_service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "texttospeech_proto_with_info", +- name = "translation_proto_with_info", - deps = [ -- ":texttospeech_proto", +- ":translation_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -49487,44 +66942,44 @@ diff -urN a/google/cloud/texttospeech/v1/BUILD.bazel b/google/cloud/texttospeech -) - -java_proto_library( -- name = "texttospeech_java_proto", -- deps = [":texttospeech_proto"], +- name = "translation_java_proto", +- deps = [":translation_proto"], -) - -java_grpc_library( -- name = "texttospeech_java_grpc", -- srcs = [":texttospeech_proto"], -- deps = [":texttospeech_java_proto"], +- name = "translation_java_grpc", +- srcs = [":translation_proto"], +- deps = [":translation_java_proto"], -) - -java_gapic_library( -- name = "texttospeech_java_gapic", -- srcs = [":texttospeech_proto_with_info"], -- grpc_service_config = "texttospeech_grpc_service_config.json", +- name = "translation_java_gapic", +- srcs = [":translation_proto_with_info"], +- grpc_service_config = "translate_grpc_service_config.json", - test_deps = [ -- ":texttospeech_java_grpc", +- ":translation_java_grpc", - ], - deps = [ -- ":texttospeech_java_proto", +- ":translation_java_proto", - ], -) - -java_gapic_test( -- name = "texttospeech_java_gapic_test_suite", +- name = "translation_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.texttospeech.v1.TextToSpeechClientTest", +- "com.google.cloud.translate.v3.TranslationServiceClientTest", - ], -- runtime_deps = [":texttospeech_java_gapic_test"], +- runtime_deps = [":translation_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-texttospeech-v1-java", +- name = "google-cloud-translation-v3-java", - deps = [ -- ":texttospeech_java_gapic", -- ":texttospeech_java_grpc", -- ":texttospeech_java_proto", -- ":texttospeech_proto", +- ":translation_java_gapic", +- ":translation_java_grpc", +- ":translation_java_proto", +- ":translation_proto", - ], -) - @@ -49540,40 +66995,44 @@ diff -urN a/google/cloud/texttospeech/v1/BUILD.bazel b/google/cloud/texttospeech -) - -go_proto_library( -- name = "texttospeech_go_proto", +- name = "translation_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/texttospeech/v1", -- protos = [":texttospeech_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/translate/v3", +- protos = [":translation_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "texttospeech_go_gapic", -- srcs = [":texttospeech_proto_with_info"], -- grpc_service_config = "texttospeech_grpc_service_config.json", -- importpath = "cloud.google.com/go/texttospeech/apiv1;texttospeech", -- service_yaml = "texttospeech_v1.yaml", +- name = "translation_go_gapic", +- srcs = [":translation_proto_with_info"], +- grpc_service_config = "translate_grpc_service_config.json", +- importpath = "cloud.google.com/go/translate/apiv3;translate", +- service_yaml = "translate_v3.yaml", - deps = [ -- ":texttospeech_go_proto", +- ":translation_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", - ], -) - -go_test( -- name = "texttospeech_go_gapic_test", -- srcs = [":texttospeech_go_gapic_srcjar_test"], -- embed = [":texttospeech_go_gapic"], -- importpath = "cloud.google.com/go/texttospeech/apiv1", +- name = "translation_go_gapic_test", +- srcs = [":translation_go_gapic_srcjar_test"], +- embed = [":translation_go_gapic"], +- importpath = "cloud.google.com/go/translate/apiv3", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-texttospeech-v1-go", +- name = "gapi-cloud-translation-v3-go", - deps = [ -- ":texttospeech_go_gapic", -- ":texttospeech_go_gapic_srcjar-test.srcjar", -- ":texttospeech_go_proto", +- ":translation_go_gapic", +- ":translation_go_gapic_srcjar-test.srcjar", +- ":translation_go_proto", - ], -) - @@ -49587,16 +67046,16 @@ diff -urN a/google/cloud/texttospeech/v1/BUILD.bazel b/google/cloud/texttospeech -) - -py_gapic_library( -- name = "texttospeech_py_gapic", -- srcs = [":texttospeech_proto"], -- grpc_service_config = "texttospeech_grpc_service_config.json", +- name = "translation_py_gapic", +- srcs = [":translation_proto"], +- grpc_service_config = "translate_grpc_service_config.json", +- opt_args = ["python-gapic-name=translate"], -) - --# Open Source Packages -py_gapic_assembly_pkg( -- name = "texttospeech-v1-py", +- name = "translation-v3-py", - deps = [ -- ":texttospeech_py_gapic", +- ":translation_py_gapic", - ], -) - @@ -49612,36 +67071,33 @@ diff -urN a/google/cloud/texttospeech/v1/BUILD.bazel b/google/cloud/texttospeech -) - -php_proto_library( -- name = "texttospeech_php_proto", -- deps = [":texttospeech_proto"], +- name = "translation_php_proto", +- deps = [":translation_proto"], -) - -php_grpc_library( -- name = "texttospeech_php_grpc", -- srcs = [":texttospeech_proto"], -- deps = [":texttospeech_php_proto"], +- name = "translation_php_grpc", +- srcs = [":translation_proto"], +- deps = [":translation_php_proto"], -) - -php_gapic_library( -- name = "texttospeech_php_gapic", -- src = ":texttospeech_proto_with_info", -- gapic_yaml = "texttospeech_gapic.yaml", -- grpc_service_config = "texttospeech_grpc_service_config.json", -- package = "google.cloud.texttospeech.v1", -- service_yaml = "texttospeech_v1.yaml", +- name = "translation_php_gapic", +- srcs = [":translation_proto_with_info"], +- grpc_service_config = "translate_grpc_service_config.json", - deps = [ -- ":texttospeech_php_grpc", -- ":texttospeech_php_proto", +- ":translation_php_grpc", +- ":translation_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-texttospeech-v1-php", +- name = "google-cloud-translation-v3-php", - deps = [ -- ":texttospeech_php_gapic", -- ":texttospeech_php_grpc", -- ":texttospeech_php_proto", +- ":translation_php_gapic", +- ":translation_php_grpc", +- ":translation_php_proto", - ], -) - @@ -49655,21 +67111,21 @@ diff -urN a/google/cloud/texttospeech/v1/BUILD.bazel b/google/cloud/texttospeech -) - -nodejs_gapic_library( -- name = "texttospeech_nodejs_gapic", -- package_name = "@google-cloud/text-to-speech", -- src = ":texttospeech_proto_with_info", +- name = "translation_nodejs_gapic", +- package_name = "@google-cloud/translate", +- src = ":translation_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "texttospeech_grpc_service_config.json", -- package = "google.cloud.texttospeech.v1", -- service_yaml = "texttospeech_v1.yaml", +- grpc_service_config = "translate_grpc_service_config.json", +- package = "google.cloud.translation.v3", +- service_yaml = "translate_v3.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "texttospeech-v1-nodejs", +- name = "translation-v3-nodejs", - deps = [ -- ":texttospeech_nodejs_gapic", -- ":texttospeech_proto", +- ":translation_nodejs_gapic", +- ":translation_proto", - ], -) - @@ -49678,49 +67134,49 @@ diff -urN a/google/cloud/texttospeech/v1/BUILD.bazel b/google/cloud/texttospeech -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "texttospeech_ruby_proto", -- deps = [":texttospeech_proto"], +- name = "translation_ruby_proto", +- deps = [":translation_proto"], -) - -ruby_grpc_library( -- name = "texttospeech_ruby_grpc", -- srcs = [":texttospeech_proto"], -- deps = [":texttospeech_ruby_proto"], +- name = "translation_ruby_grpc", +- srcs = [":translation_proto"], +- deps = [":translation_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "texttospeech_ruby_gapic", -- srcs = [":texttospeech_proto_with_info"], +- name = "translation_ruby_gapic", +- srcs = [":translation_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-text_to_speech-v1", -- "ruby-cloud-env-prefix=TEXTTOSPEECH", -- "ruby-cloud-product-url=https://cloud.google.com/text-to-speech", -- "ruby-cloud-api-id=texttospeech.googleapis.com", -- "ruby-cloud-api-shortname=texttospeech", +- "ruby-cloud-gem-name=google-cloud-translate-v3", +- "ruby-cloud-env-prefix=TRANSLATE", +- "ruby-cloud-product-url=https://cloud.google.com/translate", +- "ruby-cloud-api-id=translate.googleapis.com", +- "ruby-cloud-api-shortname=translate", - ], -- grpc_service_config = "texttospeech_grpc_service_config.json", -- ruby_cloud_description = "Text-to-Speech converts text or Speech Synthesis Markup Language (SSML) input into audio data of natural human speech.", -- ruby_cloud_title = "Cloud Text-to-Speech V1", +- grpc_service_config = "translate_grpc_service_config.json", +- ruby_cloud_description = "Cloud Translation can dynamically translate text between thousands of language pairs. Translation lets websites and programs programmatically integrate with the translation service.", +- ruby_cloud_title = "Cloud Translation V3", - deps = [ -- ":texttospeech_ruby_grpc", -- ":texttospeech_ruby_proto", +- ":translation_ruby_grpc", +- ":translation_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-texttospeech-v1-ruby", +- name = "google-cloud-translation-v3-ruby", - deps = [ -- ":texttospeech_ruby_gapic", -- ":texttospeech_ruby_grpc", -- ":texttospeech_ruby_proto", +- ":translation_ruby_gapic", +- ":translation_ruby_grpc", +- ":translation_ruby_proto", - ], -) - @@ -49736,62 +67192,55 @@ diff -urN a/google/cloud/texttospeech/v1/BUILD.bazel b/google/cloud/texttospeech -) - -csharp_proto_library( -- name = "texttospeech_csharp_proto", -- deps = [":texttospeech_proto"], +- name = "translation_csharp_proto", +- deps = [":translation_proto"], -) - -csharp_grpc_library( -- name = "texttospeech_csharp_grpc", -- srcs = [":texttospeech_proto"], -- deps = [":texttospeech_csharp_proto"], +- name = "translation_csharp_grpc", +- srcs = [":translation_proto"], +- deps = [":translation_csharp_proto"], -) - -csharp_gapic_library( -- name = "texttospeech_csharp_gapic", -- srcs = [":texttospeech_proto_with_info"], +- name = "translation_csharp_gapic", +- srcs = [":translation_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "texttospeech_grpc_service_config.json", +- grpc_service_config = "translate_grpc_service_config.json", - deps = [ -- ":texttospeech_csharp_grpc", -- ":texttospeech_csharp_proto", +- ":translation_csharp_grpc", +- ":translation_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-texttospeech-v1-csharp", +- name = "google-cloud-translation-v3-csharp", - deps = [ -- ":texttospeech_csharp_gapic", -- ":texttospeech_csharp_grpc", -- ":texttospeech_csharp_proto", +- ":translation_csharp_gapic", +- ":translation_csharp_grpc", +- ":translation_csharp_proto", - ], -) - -############################################################################## -# C++ -############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "cc_grpc_library", -- "cc_proto_library", --) -- --cc_proto_library( -- name = "texttospeech_cc_proto", -- deps = [":texttospeech_proto"], --) -- --cc_grpc_library( -- name = "texttospeech_cc_grpc", -- srcs = [":texttospeech_proto"], -- grpc_only = True, -- deps = [":texttospeech_cc_proto"], --) -diff -urN a/google/cloud/texttospeech/v1beta1/BUILD.bazel b/google/cloud/texttospeech/v1beta1/BUILD.bazel ---- a/google/cloud/texttospeech/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/texttospeech/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,328 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/translate/v3beta1/BUILD.bazel b/google/cloud/translate/v3beta1/BUILD.bazel +--- a/google/cloud/translate/v3beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/translate/v3beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,339 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -49803,21 +67252,24 @@ diff -urN a/google/cloud/texttospeech/v1beta1/BUILD.bazel b/google/cloud/texttos -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "texttospeech_proto", +- name = "translation_proto", - srcs = [ -- "cloud_tts.proto", +- "translation_service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "texttospeech_proto_with_info", +- name = "translation_proto_with_info", - deps = [ -- ":texttospeech_proto", +- ":translation_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -49835,44 +67287,44 @@ diff -urN a/google/cloud/texttospeech/v1beta1/BUILD.bazel b/google/cloud/texttos -) - -java_proto_library( -- name = "texttospeech_java_proto", -- deps = [":texttospeech_proto"], +- name = "translation_java_proto", +- deps = [":translation_proto"], -) - -java_grpc_library( -- name = "texttospeech_java_grpc", -- srcs = [":texttospeech_proto"], -- deps = [":texttospeech_java_proto"], +- name = "translation_java_grpc", +- srcs = [":translation_proto"], +- deps = [":translation_java_proto"], -) - -java_gapic_library( -- name = "texttospeech_java_gapic", -- srcs = [":texttospeech_proto_with_info"], -- grpc_service_config = "texttospeech_grpc_service_config.json", +- name = "translation_java_gapic", +- srcs = [":translation_proto_with_info"], +- grpc_service_config = "translate_grpc_service_config.json", - test_deps = [ -- ":texttospeech_java_grpc", +- ":translation_java_grpc", - ], - deps = [ -- ":texttospeech_java_proto", +- ":translation_java_proto", - ], -) - -java_gapic_test( -- name = "texttospeech_java_gapic_test_suite", +- name = "translation_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.texttospeech.v1beta1.TextToSpeechClientTest", +- "com.google.cloud.translate.v3beta1.TranslationServiceClientTest", - ], -- runtime_deps = [":texttospeech_java_gapic_test"], +- runtime_deps = [":translation_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-texttospeech-v1beta1-java", +- name = "google-cloud-translation-v3beta1-java", - deps = [ -- ":texttospeech_java_gapic", -- ":texttospeech_java_grpc", -- ":texttospeech_java_proto", -- ":texttospeech_proto", +- ":translation_java_gapic", +- ":translation_java_grpc", +- ":translation_java_proto", +- ":translation_proto", - ], -) - @@ -49888,40 +67340,46 @@ diff -urN a/google/cloud/texttospeech/v1beta1/BUILD.bazel b/google/cloud/texttos -) - -go_proto_library( -- name = "texttospeech_go_proto", +- name = "translation_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/texttospeech/v1beta1", -- protos = [":texttospeech_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/translate/v3beta1", +- protos = [":translation_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "texttospeech_go_gapic", -- srcs = [":texttospeech_proto_with_info"], -- grpc_service_config = "texttospeech_grpc_service_config.json", -- importpath = "cloud.google.com/go/texttospeech/apiv1beta1;texttospeech", -- service_yaml = "texttospeech_v1beta1.yaml", +- name = "translation_go_gapic", +- srcs = [":translation_proto_with_info"], +- grpc_service_config = "translate_grpc_service_config.json", +- importpath = "cloud.google.com/go/translate/apiv3beta1;translate", +- metadata = True, +- service_yaml = "translate_v3beta1.yaml", - deps = [ -- ":texttospeech_go_proto", +- ":translation_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", - ], -) - -go_test( -- name = "texttospeech_go_gapic_test", -- srcs = [":texttospeech_go_gapic_srcjar_test"], -- embed = [":texttospeech_go_gapic"], -- importpath = "cloud.google.com/go/texttospeech/apiv1beta1", +- name = "translation_go_gapic_test", +- srcs = [":translation_go_gapic_srcjar_test"], +- embed = [":translation_go_gapic"], +- importpath = "cloud.google.com/go/translate/apiv3beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-texttospeech-v1beta1-go", +- name = "gapi-cloud-translation-v3beta1-go", - deps = [ -- ":texttospeech_go_gapic", -- ":texttospeech_go_gapic_srcjar-test.srcjar", -- ":texttospeech_go_proto", +- ":translation_go_gapic", +- ":translation_go_gapic_srcjar-metadata.srcjar", +- ":translation_go_gapic_srcjar-test.srcjar", +- ":translation_go_proto", - ], -) - @@ -49935,16 +67393,17 @@ diff -urN a/google/cloud/texttospeech/v1beta1/BUILD.bazel b/google/cloud/texttos -) - -py_gapic_library( -- name = "texttospeech_py_gapic", -- srcs = [":texttospeech_proto"], -- grpc_service_config = "texttospeech_grpc_service_config.json", +- name = "translation_py_gapic", +- srcs = [":translation_proto"], +- grpc_service_config = "translate_grpc_service_config.json", +- opt_args = ["python-gapic-name=translate"], -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "texttospeech-v1beta1-py", +- name = "translation-v3beta1-py", - deps = [ -- ":texttospeech_py_gapic", +- ":translation_py_gapic", - ], -) - @@ -49960,36 +67419,34 @@ diff -urN a/google/cloud/texttospeech/v1beta1/BUILD.bazel b/google/cloud/texttos -) - -php_proto_library( -- name = "texttospeech_php_proto", -- deps = [":texttospeech_proto"], +- name = "translation_php_proto", +- deps = [":translation_proto"], -) - -php_grpc_library( -- name = "texttospeech_php_grpc", -- srcs = [":texttospeech_proto"], -- deps = [":texttospeech_php_proto"], +- name = "translation_php_grpc", +- srcs = [":translation_proto"], +- deps = [":translation_php_proto"], -) - -php_gapic_library( -- name = "texttospeech_php_gapic", -- src = ":texttospeech_proto_with_info", -- gapic_yaml = "texttospeech_gapic.yaml", -- grpc_service_config = "texttospeech_grpc_service_config.json", -- package = "google.cloud.texttospeech.v1beta1", -- service_yaml = "texttospeech_v1beta1.yaml", +- name = "translation_php_gapic", +- srcs = [":translation_proto_with_info"], +- grpc_service_config = "translate_grpc_service_config.json", +- service_yaml = "translate_v3beta1.yaml", - deps = [ -- ":texttospeech_php_grpc", -- ":texttospeech_php_proto", +- ":translation_php_grpc", +- ":translation_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-texttospeech-v1beta1-php", +- name = "google-cloud-translation-v3beta1-php", - deps = [ -- ":texttospeech_php_gapic", -- ":texttospeech_php_grpc", -- ":texttospeech_php_proto", +- ":translation_php_gapic", +- ":translation_php_grpc", +- ":translation_php_proto", - ], -) - @@ -50003,21 +67460,21 @@ diff -urN a/google/cloud/texttospeech/v1beta1/BUILD.bazel b/google/cloud/texttos -) - -nodejs_gapic_library( -- name = "texttospeech_nodejs_gapic", -- package_name = "@google-cloud/text-to-speech", -- src = ":texttospeech_proto_with_info", +- name = "translation_nodejs_gapic", +- package_name = "@google-cloud/translate", +- src = ":translation_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "texttospeech_grpc_service_config.json", -- package = "google.cloud.texttospeech.v1beta1", -- service_yaml = "texttospeech_v1beta1.yaml", +- grpc_service_config = "translate_grpc_service_config.json", +- package = "google.cloud.translation.v3beta1", +- service_yaml = "translate_v3beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "texttospeech-v1beta1-nodejs", +- name = "translation-v3beta1-nodejs", - deps = [ -- ":texttospeech_nodejs_gapic", -- ":texttospeech_proto", +- ":translation_nodejs_gapic", +- ":translation_proto", - ], -) - @@ -50026,49 +67483,43 @@ diff -urN a/google/cloud/texttospeech/v1beta1/BUILD.bazel b/google/cloud/texttos -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "texttospeech_ruby_proto", -- deps = [":texttospeech_proto"], +- name = "translation_ruby_proto", +- deps = [":translation_proto"], -) - -ruby_grpc_library( -- name = "texttospeech_ruby_grpc", -- srcs = [":texttospeech_proto"], -- deps = [":texttospeech_ruby_proto"], +- name = "translation_ruby_grpc", +- srcs = [":translation_proto"], +- deps = [":translation_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "texttospeech_ruby_gapic", -- srcs = [":texttospeech_proto_with_info"], +- name = "translation_ruby_gapic", +- srcs = [":translation_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-text_to_speech-v1beta1", -- "ruby-cloud-env-prefix=TEXTTOSPEECH", -- "ruby-cloud-product-url=https://cloud.google.com/text-to-speech", -- "ruby-cloud-api-id=texttospeech.googleapis.com", -- "ruby-cloud-api-shortname=texttospeech", +- "ruby-cloud-gem-name=google-cloud-translation-v3beta1", - ], -- grpc_service_config = "texttospeech_grpc_service_config.json", -- ruby_cloud_description = "Text-to-Speech converts text or Speech Synthesis Markup Language (SSML) input into audio data of natural human speech.", -- ruby_cloud_title = "Cloud Text-to-Speech V1beta1", +- grpc_service_config = "translate_grpc_service_config.json", - deps = [ -- ":texttospeech_ruby_grpc", -- ":texttospeech_ruby_proto", +- ":translation_ruby_grpc", +- ":translation_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-texttospeech-v1beta1-ruby", +- name = "google-cloud-translation-v3beta1-ruby", - deps = [ -- ":texttospeech_ruby_gapic", -- ":texttospeech_ruby_grpc", -- ":texttospeech_ruby_proto", +- ":translation_ruby_gapic", +- ":translation_ruby_grpc", +- ":translation_ruby_proto", - ], -) - @@ -50084,34 +67535,34 @@ diff -urN a/google/cloud/texttospeech/v1beta1/BUILD.bazel b/google/cloud/texttos -) - -csharp_proto_library( -- name = "texttospeech_csharp_proto", -- deps = [":texttospeech_proto"], +- name = "translation_csharp_proto", +- deps = [":translation_proto"], -) - -csharp_grpc_library( -- name = "texttospeech_csharp_grpc", -- srcs = [":texttospeech_proto"], -- deps = [":texttospeech_csharp_proto"], +- name = "translation_csharp_grpc", +- srcs = [":translation_proto"], +- deps = [":translation_csharp_proto"], -) - -csharp_gapic_library( -- name = "texttospeech_csharp_gapic", -- srcs = [":texttospeech_proto_with_info"], +- name = "translation_csharp_gapic", +- srcs = [":translation_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "texttospeech_grpc_service_config.json", +- grpc_service_config = "translate_grpc_service_config.json", - deps = [ -- ":texttospeech_csharp_grpc", -- ":texttospeech_csharp_proto", +- ":translation_csharp_grpc", +- ":translation_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-texttospeech-v1beta1-csharp", +- name = "google-cloud-translation-v3beta1-csharp", - deps = [ -- ":texttospeech_csharp_gapic", -- ":texttospeech_csharp_grpc", -- ":texttospeech_csharp_proto", +- ":translation_csharp_gapic", +- ":translation_csharp_grpc", +- ":translation_csharp_proto", - ], -) - @@ -50119,11 +67570,20 @@ diff -urN a/google/cloud/texttospeech/v1beta1/BUILD.bazel b/google/cloud/texttos -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/translate/v3/BUILD.bazel b/google/cloud/translate/v3/BUILD.bazel ---- a/google/cloud/translate/v3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/translate/v3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,335 +0,0 @@ +diff -urN a/google/cloud/video/transcoder/v1beta1/BUILD.bazel b/google/cloud/video/transcoder/v1beta1/BUILD.bazel +--- a/google/cloud/video/transcoder/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/video/transcoder/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,341 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -50135,24 +67595,26 @@ diff -urN a/google/cloud/translate/v3/BUILD.bazel b/google/cloud/translate/v3/BU -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "translation_proto", +- name = "transcoder_proto", - srcs = [ -- "translation_service.proto", +- "resources.proto", +- "services.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "translation_proto_with_info", +- name = "transcoder_proto_with_info", - deps = [ -- ":translation_proto", +- ":transcoder_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -50170,44 +67632,44 @@ diff -urN a/google/cloud/translate/v3/BUILD.bazel b/google/cloud/translate/v3/BU -) - -java_proto_library( -- name = "translation_java_proto", -- deps = [":translation_proto"], +- name = "transcoder_java_proto", +- deps = [":transcoder_proto"], -) - -java_grpc_library( -- name = "translation_java_grpc", -- srcs = [":translation_proto"], -- deps = [":translation_java_proto"], +- name = "transcoder_java_grpc", +- srcs = [":transcoder_proto"], +- deps = [":transcoder_java_proto"], -) - -java_gapic_library( -- name = "translation_java_gapic", -- srcs = [":translation_proto_with_info"], -- grpc_service_config = "translate_grpc_service_config.json", +- name = "transcoder_java_gapic", +- srcs = [":transcoder_proto_with_info"], +- grpc_service_config = "transcoder_grpc_service_config.json", - test_deps = [ -- ":translation_java_grpc", +- ":transcoder_java_grpc", - ], - deps = [ -- ":translation_java_proto", +- ":transcoder_java_proto", - ], -) - -java_gapic_test( -- name = "translation_java_gapic_test_suite", +- name = "transcoder_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.translate.v3.TranslationServiceClientTest", +- "com.google.cloud.video.transcoder.v1beta1.TranscoderServiceClientTest", - ], -- runtime_deps = [":translation_java_gapic_test"], +- runtime_deps = [":transcoder_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-translation-v3-java", +- name = "google-cloud-video-transcoder-v1beta1-java", - deps = [ -- ":translation_java_gapic", -- ":translation_java_grpc", -- ":translation_java_proto", -- ":translation_proto", +- ":transcoder_java_gapic", +- ":transcoder_java_grpc", +- ":transcoder_java_proto", +- ":transcoder_proto", - ], -) - @@ -50223,44 +67685,42 @@ diff -urN a/google/cloud/translate/v3/BUILD.bazel b/google/cloud/translate/v3/BU -) - -go_proto_library( -- name = "translation_go_proto", +- name = "transcoder_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/translate/v3", -- protos = [":translation_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/video/transcoder/v1beta1", +- protos = [":transcoder_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "translation_go_gapic", -- srcs = [":translation_proto_with_info"], -- grpc_service_config = "translate_grpc_service_config.json", -- importpath = "cloud.google.com/go/translate/apiv3;translate", -- service_yaml = "translate_v3.yaml", +- name = "transcoder_go_gapic", +- srcs = [":transcoder_proto_with_info"], +- grpc_service_config = "transcoder_grpc_service_config.json", +- importpath = "cloud.google.com/go/video/transcoder/apiv1beta1;transcoder", +- service_yaml = "transcoder_v1beta1.yaml", - deps = [ -- ":translation_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- ":transcoder_go_proto", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- "@io_bazel_rules_go//proto/wkt:timestamp_go_proto", - ], -) - -go_test( -- name = "translation_go_gapic_test", -- srcs = [":translation_go_gapic_srcjar_test"], -- embed = [":translation_go_gapic"], -- importpath = "cloud.google.com/go/translate/apiv3", +- name = "transcoder_go_gapic_test", +- srcs = [":transcoder_go_gapic_srcjar_test"], +- embed = [":transcoder_go_gapic"], +- importpath = "cloud.google.com/go/video/transcoder/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-translation-v3-go", +- name = "gapi-cloud-video-transcoder-v1beta1-go", - deps = [ -- ":translation_go_gapic", -- ":translation_go_gapic_srcjar-test.srcjar", -- ":translation_go_proto", +- ":transcoder_go_gapic", +- ":transcoder_go_gapic_srcjar-test.srcjar", +- ":transcoder_go_proto", - ], -) - @@ -50274,16 +67734,16 @@ diff -urN a/google/cloud/translate/v3/BUILD.bazel b/google/cloud/translate/v3/BU -) - -py_gapic_library( -- name = "translation_py_gapic", -- srcs = [":translation_proto"], -- grpc_service_config = "translate_grpc_service_config.json", -- opt_args = ["python-gapic-name=translate"], +- name = "transcoder_py_gapic", +- srcs = [":transcoder_proto"], +- grpc_service_config = "transcoder_grpc_service_config.json", -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "translation-v3-py", +- name = "video-transcoder-v1beta1-py", - deps = [ -- ":translation_py_gapic", +- ":transcoder_py_gapic", - ], -) - @@ -50299,36 +67759,33 @@ diff -urN a/google/cloud/translate/v3/BUILD.bazel b/google/cloud/translate/v3/BU -) - -php_proto_library( -- name = "translation_php_proto", -- deps = [":translation_proto"], +- name = "transcoder_php_proto", +- deps = [":transcoder_proto"], -) - -php_grpc_library( -- name = "translation_php_grpc", -- srcs = [":translation_proto"], -- deps = [":translation_php_proto"], +- name = "transcoder_php_grpc", +- srcs = [":transcoder_proto"], +- deps = [":transcoder_php_proto"], -) - -php_gapic_library( -- name = "translation_php_gapic", -- src = ":translation_proto_with_info", -- gapic_yaml = "translate_gapic.yaml", -- grpc_service_config = "translate_grpc_service_config.json", -- package = "google.cloud.translation.v3", -- service_yaml = "translate_v3.yaml", +- name = "transcoder_php_gapic", +- srcs = [":transcoder_proto_with_info"], +- grpc_service_config = "transcoder_grpc_service_config.json", - deps = [ -- ":translation_php_grpc", -- ":translation_php_proto", +- ":transcoder_php_grpc", +- ":transcoder_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-translation-v3-php", +- name = "google-cloud-video-transcoder-v1beta1-php", - deps = [ -- ":translation_php_gapic", -- ":translation_php_grpc", -- ":translation_php_proto", +- ":transcoder_php_gapic", +- ":transcoder_php_grpc", +- ":transcoder_php_proto", - ], -) - @@ -50342,21 +67799,21 @@ diff -urN a/google/cloud/translate/v3/BUILD.bazel b/google/cloud/translate/v3/BU -) - -nodejs_gapic_library( -- name = "translation_nodejs_gapic", -- package_name = "@google-cloud/translate", -- src = ":translation_proto_with_info", +- name = "transcoder_nodejs_gapic", +- package_name = "@google-cloud/video-transcoder", +- src = ":transcoder_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "translate_grpc_service_config.json", -- package = "google.cloud.translation.v3", -- service_yaml = "translate_v3.yaml", +- grpc_service_config = "transcoder_grpc_service_config.json", +- package = "google.cloud.video.transcoder.v1beta1", +- service_yaml = "transcoder_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "translation-v3-nodejs", +- name = "video-transcoder-v1beta1-nodejs", - deps = [ -- ":translation_nodejs_gapic", -- ":translation_proto", +- ":transcoder_nodejs_gapic", +- ":transcoder_proto", - ], -) - @@ -50365,49 +67822,49 @@ diff -urN a/google/cloud/translate/v3/BUILD.bazel b/google/cloud/translate/v3/BU -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "translation_ruby_proto", -- deps = [":translation_proto"], +- name = "transcoder_ruby_proto", +- deps = [":transcoder_proto"], -) - -ruby_grpc_library( -- name = "translation_ruby_grpc", -- srcs = [":translation_proto"], -- deps = [":translation_ruby_proto"], +- name = "transcoder_ruby_grpc", +- srcs = [":transcoder_proto"], +- deps = [":transcoder_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "translation_ruby_gapic", -- srcs = [":translation_proto_with_info"], +- name = "transcoder_ruby_gapic", +- srcs = [":transcoder_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-translate-v3", -- "ruby-cloud-env-prefix=TRANSLATE", -- "ruby-cloud-product-url=https://cloud.google.com/translate", -- "ruby-cloud-api-id=translate.googleapis.com", -- "ruby-cloud-api-shortname=translate", +- "ruby-cloud-gem-name=google-cloud-video-transcoder-v1beta1", +- "ruby-cloud-env-prefix=TRANSCODER", +- "ruby-cloud-product-url=https://cloud.google.com/transcoder/", +- "ruby-cloud-api-id=transcoder.googleapis.com", +- "ruby-cloud-api-shortname=transcoder", - ], -- grpc_service_config = "translate_grpc_service_config.json", -- ruby_cloud_description = "Cloud Translation can dynamically translate text between thousands of language pairs. Translation lets websites and programs programmatically integrate with the translation service.", -- ruby_cloud_title = "Cloud Translation V3", +- grpc_service_config = "transcoder_grpc_service_config.json", +- ruby_cloud_description = "The Transcoder API allows you to convert video files and package them for optimized delivery to web, mobile and connected TVs.", +- ruby_cloud_title = "Transcoder V1beta1", - deps = [ -- ":translation_ruby_grpc", -- ":translation_ruby_proto", +- ":transcoder_ruby_grpc", +- ":transcoder_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-translation-v3-ruby", +- name = "google-cloud-video-transcoder-v1beta1-ruby", - deps = [ -- ":translation_ruby_gapic", -- ":translation_ruby_grpc", -- ":translation_ruby_proto", +- ":transcoder_ruby_gapic", +- ":transcoder_ruby_grpc", +- ":transcoder_ruby_proto", - ], -) - @@ -50423,45 +67880,50 @@ diff -urN a/google/cloud/translate/v3/BUILD.bazel b/google/cloud/translate/v3/BU -) - -csharp_proto_library( -- name = "translation_csharp_proto", -- deps = [":translation_proto"], +- name = "transcoder_csharp_proto", +- deps = [":transcoder_proto"], -) - -csharp_grpc_library( -- name = "translation_csharp_grpc", -- srcs = [":translation_proto"], -- deps = [":translation_csharp_proto"], +- name = "transcoder_csharp_grpc", +- srcs = [":transcoder_proto"], +- deps = [":transcoder_csharp_proto"], -) - -csharp_gapic_library( -- name = "translation_csharp_gapic", -- srcs = [":translation_proto_with_info"], +- name = "transcoder_csharp_gapic", +- srcs = [":transcoder_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "translate_grpc_service_config.json", +- grpc_service_config = "transcoder_grpc_service_config.json", - deps = [ -- ":translation_csharp_grpc", -- ":translation_csharp_proto", +- ":transcoder_csharp_grpc", +- ":transcoder_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-translation-v3-csharp", +- name = "google-cloud-video-transcoder-v1beta1-csharp", - deps = [ -- ":translation_csharp_gapic", -- ":translation_csharp_grpc", -- ":translation_csharp_proto", +- ":transcoder_csharp_gapic", +- ":transcoder_csharp_grpc", +- ":transcoder_csharp_proto", - ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ rules here -diff -urN a/google/cloud/translate/v3beta1/BUILD.bazel b/google/cloud/translate/v3beta1/BUILD.bazel ---- a/google/cloud/translate/v3beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/translate/v3beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,328 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/videointelligence/BUILD.bazel b/google/cloud/videointelligence/BUILD.bazel +--- a/google/cloud/videointelligence/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/videointelligence/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/cloud/videointelligence/v1/BUILD.bazel b/google/cloud/videointelligence/v1/BUILD.bazel +--- a/google/cloud/videointelligence/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/videointelligence/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,337 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -50474,24 +67936,25 @@ diff -urN a/google/cloud/translate/v3beta1/BUILD.bazel b/google/cloud/translate/ -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "translation_proto", +- name = "videointelligence_proto", - srcs = [ -- "translation_service.proto", +- "video_intelligence.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/api:resource_proto", - "//google/longrunning:operations_proto", +- "//google/rpc:status_proto", +- "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "translation_proto_with_info", +- name = "videointelligence_proto_with_info", - deps = [ -- ":translation_proto", +- ":videointelligence_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -50509,44 +67972,45 @@ diff -urN a/google/cloud/translate/v3beta1/BUILD.bazel b/google/cloud/translate/ -) - -java_proto_library( -- name = "translation_java_proto", -- deps = [":translation_proto"], +- name = "videointelligence_java_proto", +- deps = [":videointelligence_proto"], -) - -java_grpc_library( -- name = "translation_java_grpc", -- srcs = [":translation_proto"], -- deps = [":translation_java_proto"], +- name = "videointelligence_java_grpc", +- srcs = [":videointelligence_proto"], +- deps = [":videointelligence_java_proto"], -) - -java_gapic_library( -- name = "translation_java_gapic", -- srcs = [":translation_proto_with_info"], -- grpc_service_config = "translate_grpc_service_config.json", +- name = "videointelligence_java_gapic", +- srcs = [":videointelligence_proto_with_info"], +- gapic_yaml = "videointelligence_gapic.yaml", +- grpc_service_config = "videointelligence_grpc_service_config.json", - test_deps = [ -- ":translation_java_grpc", +- ":videointelligence_java_grpc", - ], - deps = [ -- ":translation_java_proto", +- ":videointelligence_java_proto", - ], -) - -java_gapic_test( -- name = "translation_java_gapic_test_suite", +- name = "videointelligence_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.translate.v3beta1.TranslationServiceClientTest", +- "com.google.cloud.videointelligence.v1.VideoIntelligenceServiceClientTest", - ], -- runtime_deps = [":translation_java_gapic_test"], +- runtime_deps = [":videointelligence_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-translation-v3beta1-java", +- name = "google-cloud-videointelligence-v1-java", - deps = [ -- ":translation_java_gapic", -- ":translation_java_grpc", -- ":translation_java_proto", -- ":translation_proto", +- ":videointelligence_java_gapic", +- ":videointelligence_java_grpc", +- ":videointelligence_java_proto", +- ":videointelligence_proto", - ], -) - @@ -50562,44 +68026,46 @@ diff -urN a/google/cloud/translate/v3beta1/BUILD.bazel b/google/cloud/translate/ -) - -go_proto_library( -- name = "translation_go_proto", +- name = "videointelligence_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/translate/v3beta1", -- protos = [":translation_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/videointelligence/v1", +- protos = [":videointelligence_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", - ], -) - -go_gapic_library( -- name = "translation_go_gapic", -- srcs = [":translation_proto_with_info"], -- grpc_service_config = "translate_grpc_service_config.json", -- importpath = "cloud.google.com/go/translate/apiv3beta1;translate", -- service_yaml = "translate_v3beta1.yaml", +- name = "videointelligence_go_gapic", +- srcs = [":videointelligence_proto_with_info"], +- grpc_service_config = "videointelligence_grpc_service_config.json", +- importpath = "cloud.google.com/go/videointelligence/apiv1;videointelligence", +- service_yaml = "videointelligence_v1.yaml", - deps = [ -- ":translation_go_proto", +- ":videointelligence_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "translation_go_gapic_test", -- srcs = [":translation_go_gapic_srcjar_test"], -- embed = [":translation_go_gapic"], -- importpath = "cloud.google.com/go/translate/apiv3beta1", +- name = "videointelligence_go_gapic_test", +- srcs = [":videointelligence_go_gapic_srcjar_test"], +- embed = [":videointelligence_go_gapic"], +- importpath = "cloud.google.com/go/videointelligence/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-translation-v3beta1-go", +- name = "gapi-cloud-videointelligence-v1-go", - deps = [ -- ":translation_go_gapic", -- ":translation_go_gapic_srcjar-test.srcjar", -- ":translation_go_proto", +- ":videointelligence_go_gapic", +- ":videointelligence_go_gapic_srcjar-test.srcjar", +- ":videointelligence_go_proto", - ], -) - @@ -50613,16 +68079,15 @@ diff -urN a/google/cloud/translate/v3beta1/BUILD.bazel b/google/cloud/translate/ -) - -py_gapic_library( -- name = "translation_py_gapic", -- srcs = [":translation_proto"], -- grpc_service_config = "translate_grpc_service_config.json", -- opt_args = ["python-gapic-name=translate"], +- name = "videointelligence_py_gapic", +- srcs = [":videointelligence_proto"], +- grpc_service_config = "videointelligence_grpc_service_config.json", -) - -py_gapic_assembly_pkg( -- name = "translation-v3beta1-py", +- name = "videointelligence-v1-py", - deps = [ -- ":translation_py_gapic", +- ":videointelligence_py_gapic", - ], -) - @@ -50638,36 +68103,34 @@ diff -urN a/google/cloud/translate/v3beta1/BUILD.bazel b/google/cloud/translate/ -) - -php_proto_library( -- name = "translation_php_proto", -- deps = [":translation_proto"], +- name = "videointelligence_php_proto", +- deps = [":videointelligence_proto"], -) - -php_grpc_library( -- name = "translation_php_grpc", -- srcs = [":translation_proto"], -- deps = [":translation_php_proto"], +- name = "videointelligence_php_grpc", +- srcs = [":videointelligence_proto"], +- deps = [":videointelligence_php_proto"], -) - -php_gapic_library( -- name = "translation_php_gapic", -- src = ":translation_proto_with_info", -- gapic_yaml = "translate_gapic.yaml", -- grpc_service_config = "translate_grpc_service_config.json", -- package = "google.cloud.translation.v3beta1", -- service_yaml = "translate_v3beta1.yaml", +- name = "videointelligence_php_gapic", +- srcs = [":videointelligence_proto_with_info"], +- # Do not change this to the videointelligence_gapic.yaml, see tracking bug. +- gapic_yaml = "videointelligence_gapic.legacy.yaml", - deps = [ -- ":translation_php_grpc", -- ":translation_php_proto", +- ":videointelligence_php_grpc", +- ":videointelligence_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-translation-v3beta1-php", +- name = "google-cloud-videointelligence-v1-php", - deps = [ -- ":translation_php_gapic", -- ":translation_php_grpc", -- ":translation_php_proto", +- ":videointelligence_php_gapic", +- ":videointelligence_php_grpc", +- ":videointelligence_php_proto", - ], -) - @@ -50681,21 +68144,22 @@ diff -urN a/google/cloud/translate/v3beta1/BUILD.bazel b/google/cloud/translate/ -) - -nodejs_gapic_library( -- name = "translation_nodejs_gapic", -- package_name = "@google-cloud/translate", -- src = ":translation_proto_with_info", +- name = "videointelligence_nodejs_gapic", +- package_name = "@google-cloud/video-intelligence", +- src = ":videointelligence_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "translate_grpc_service_config.json", -- package = "google.cloud.translation.v3beta1", -- service_yaml = "translate_v3beta1.yaml", +- grpc_service_config = "videointelligence_grpc_service_config.json", +- main_service = "videointelligence", +- package = "google.cloud.videointelligence.v1", +- service_yaml = "videointelligence_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "translation-v3beta1-nodejs", +- name = "videointelligence-v1-nodejs", - deps = [ -- ":translation_nodejs_gapic", -- ":translation_proto", +- ":videointelligence_nodejs_gapic", +- ":videointelligence_proto", - ], -) - @@ -50704,42 +68168,49 @@ diff -urN a/google/cloud/translate/v3beta1/BUILD.bazel b/google/cloud/translate/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "translation_ruby_proto", -- deps = [":translation_proto"], +- name = "videointelligence_ruby_proto", +- deps = [":videointelligence_proto"], -) - -ruby_grpc_library( -- name = "translation_ruby_grpc", -- srcs = [":translation_proto"], -- deps = [":translation_ruby_proto"], +- name = "videointelligence_ruby_grpc", +- srcs = [":videointelligence_proto"], +- deps = [":videointelligence_ruby_proto"], -) - --ruby_gapic_library( -- name = "translation_ruby_gapic", -- src = ":translation_proto_with_info", -- gapic_yaml = "translate_gapic.yaml", -- package = "google.cloud.translation.v3beta1", -- service_yaml = "translate_v3beta1.yaml", +-ruby_cloud_gapic_library( +- name = "videointelligence_ruby_gapic", +- srcs = [":videointelligence_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-video_intelligence-v1", +- "ruby-cloud-env-prefix=VIDEO_INTELLIGENCE", +- "ruby-cloud-product-url=https://cloud.google.com/video-intelligence", +- "ruby-cloud-api-id=videointelligence.googleapis.com", +- "ruby-cloud-api-shortname=videointelligence", +- ], +- grpc_service_config = "videointelligence_grpc_service_config.json", +- ruby_cloud_description = "Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API.", +- ruby_cloud_title = "Cloud Video Intelligence V1", - deps = [ -- ":translation_ruby_grpc", -- ":translation_ruby_proto", +- ":videointelligence_ruby_grpc", +- ":videointelligence_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-translation-v3beta1-ruby", +- name = "google-cloud-videointelligence-v1-ruby", - deps = [ -- ":translation_ruby_gapic", -- ":translation_ruby_grpc", -- ":translation_ruby_proto", +- ":videointelligence_ruby_gapic", +- ":videointelligence_ruby_grpc", +- ":videointelligence_ruby_proto", - ], -) - @@ -50755,34 +68226,34 @@ diff -urN a/google/cloud/translate/v3beta1/BUILD.bazel b/google/cloud/translate/ -) - -csharp_proto_library( -- name = "translation_csharp_proto", -- deps = [":translation_proto"], +- name = "videointelligence_csharp_proto", +- deps = [":videointelligence_proto"], -) - -csharp_grpc_library( -- name = "translation_csharp_grpc", -- srcs = [":translation_proto"], -- deps = [":translation_csharp_proto"], +- name = "videointelligence_csharp_grpc", +- srcs = [":videointelligence_proto"], +- deps = [":videointelligence_csharp_proto"], -) - -csharp_gapic_library( -- name = "translation_csharp_gapic", -- srcs = [":translation_proto_with_info"], +- name = "videointelligence_csharp_gapic", +- srcs = [":videointelligence_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "translate_grpc_service_config.json", +- grpc_service_config = "videointelligence_grpc_service_config.json", - deps = [ -- ":translation_csharp_grpc", -- ":translation_csharp_proto", +- ":videointelligence_csharp_grpc", +- ":videointelligence_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-translation-v3beta1-csharp", +- name = "google-cloud-videointelligence-v1-csharp", - deps = [ -- ":translation_csharp_gapic", -- ":translation_csharp_grpc", -- ":translation_csharp_proto", +- ":videointelligence_csharp_gapic", +- ":videointelligence_csharp_grpc", +- ":videointelligence_csharp_proto", - ], -) - @@ -50790,20 +68261,11 @@ diff -urN a/google/cloud/translate/v3beta1/BUILD.bazel b/google/cloud/translate/ -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/video/transcoder/v1beta1/BUILD.bazel b/google/cloud/video/transcoder/v1beta1/BUILD.bazel ---- a/google/cloud/video/transcoder/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/video/transcoder/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,344 +0,0 @@ +diff -urN a/google/cloud/videointelligence/v1beta2/BUILD.bazel b/google/cloud/videointelligence/v1beta2/BUILD.bazel +--- a/google/cloud/videointelligence/v1beta2/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/videointelligence/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,337 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel -- --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -50815,26 +68277,25 @@ diff -urN a/google/cloud/video/transcoder/v1beta1/BUILD.bazel b/google/cloud/vid -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "transcoder_proto", +- name = "videointelligence_proto", - srcs = [ -- "resources.proto", -- "services.proto", +- "video_intelligence.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "//google/rpc:status_proto", - "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "transcoder_proto_with_info", +- name = "videointelligence_proto_with_info", - deps = [ -- ":transcoder_proto", +- ":videointelligence_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -50852,44 +68313,45 @@ diff -urN a/google/cloud/video/transcoder/v1beta1/BUILD.bazel b/google/cloud/vid -) - -java_proto_library( -- name = "transcoder_java_proto", -- deps = [":transcoder_proto"], +- name = "videointelligence_java_proto", +- deps = [":videointelligence_proto"], -) - -java_grpc_library( -- name = "transcoder_java_grpc", -- srcs = [":transcoder_proto"], -- deps = [":transcoder_java_proto"], +- name = "videointelligence_java_grpc", +- srcs = [":videointelligence_proto"], +- deps = [":videointelligence_java_proto"], -) - -java_gapic_library( -- name = "transcoder_java_gapic", -- srcs = [":transcoder_proto_with_info"], -- grpc_service_config = "transcoder_grpc_service_config.json", +- name = "videointelligence_java_gapic", +- srcs = [":videointelligence_proto_with_info"], +- gapic_yaml = "videointelligence_gapic.yaml", +- grpc_service_config = "videointelligence_grpc_service_config.json", - test_deps = [ -- ":transcoder_java_grpc", +- ":videointelligence_java_grpc", - ], - deps = [ -- ":transcoder_java_proto", +- ":videointelligence_java_proto", - ], -) - -java_gapic_test( -- name = "transcoder_java_gapic_test_suite", +- name = "videointelligence_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.video.transcoder.v1beta1.TranscoderServiceClientTest", +- "com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceClientTest", - ], -- runtime_deps = [":transcoder_java_gapic_test"], +- runtime_deps = [":videointelligence_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-video-transcoder-v1beta1-java", +- name = "google-cloud-videointelligence-v1beta2-java", - deps = [ -- ":transcoder_java_gapic", -- ":transcoder_java_grpc", -- ":transcoder_java_proto", -- ":transcoder_proto", +- ":videointelligence_java_gapic", +- ":videointelligence_java_grpc", +- ":videointelligence_java_proto", +- ":videointelligence_proto", - ], -) - @@ -50905,42 +68367,46 @@ diff -urN a/google/cloud/video/transcoder/v1beta1/BUILD.bazel b/google/cloud/vid -) - -go_proto_library( -- name = "transcoder_go_proto", +- name = "videointelligence_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/video/transcoder/v1beta1", -- protos = [":transcoder_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/videointelligence/v1beta2", +- protos = [":videointelligence_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "//google/rpc:status_go_proto", - ], -) - -go_gapic_library( -- name = "transcoder_go_gapic", -- srcs = [":transcoder_proto_with_info"], -- grpc_service_config = "transcoder_grpc_service_config.json", -- importpath = "cloud.google.com/go/video/transcoder/apiv1beta1;transcoder", -- service_yaml = "transcoder_v1beta1.yaml", +- name = "videointelligence_go_gapic", +- srcs = [":videointelligence_proto_with_info"], +- grpc_service_config = "videointelligence_grpc_service_config.json", +- importpath = "cloud.google.com/go/videointelligence/apiv1beta2;videointelligence", +- service_yaml = "//google/cloud/videointelligence:videointelligence_v1beta2.yaml", - deps = [ -- ":transcoder_go_proto", +- ":videointelligence_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", - "@io_bazel_rules_go//proto/wkt:duration_go_proto", -- "@io_bazel_rules_go//proto/wkt:timestamp_go_proto", - ], -) - -go_test( -- name = "transcoder_go_gapic_test", -- srcs = [":transcoder_go_gapic_srcjar_test"], -- embed = [":transcoder_go_gapic"], -- importpath = "cloud.google.com/go/video/transcoder/apiv1beta1", +- name = "videointelligence_go_gapic_test", +- srcs = [":videointelligence_go_gapic_srcjar_test"], +- embed = [":videointelligence_go_gapic"], +- importpath = "cloud.google.com/go/videointelligence/apiv1beta2", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-video-transcoder-v1beta1-go", +- name = "gapi-cloud-videointelligence-v1beta2-go", - deps = [ -- ":transcoder_go_gapic", -- ":transcoder_go_gapic_srcjar-test.srcjar", -- ":transcoder_go_proto", +- ":videointelligence_go_gapic", +- ":videointelligence_go_gapic_srcjar-test.srcjar", +- ":videointelligence_go_proto", - ], -) - @@ -50954,16 +68420,15 @@ diff -urN a/google/cloud/video/transcoder/v1beta1/BUILD.bazel b/google/cloud/vid -) - -py_gapic_library( -- name = "transcoder_py_gapic", -- srcs = [":transcoder_proto"], -- grpc_service_config = "transcoder_grpc_service_config.json", +- name = "videointelligence_py_gapic", +- srcs = [":videointelligence_proto"], +- grpc_service_config = "videointelligence_grpc_service_config.json", -) - --# Open Source Packages -py_gapic_assembly_pkg( -- name = "video-transcoder-v1beta1-py", +- name = "videointelligence-v1beta2-py", - deps = [ -- ":transcoder_py_gapic", +- ":videointelligence_py_gapic", - ], -) - @@ -50979,36 +68444,34 @@ diff -urN a/google/cloud/video/transcoder/v1beta1/BUILD.bazel b/google/cloud/vid -) - -php_proto_library( -- name = "transcoder_php_proto", -- deps = [":transcoder_proto"], +- name = "videointelligence_php_proto", +- deps = [":videointelligence_proto"], -) - -php_grpc_library( -- name = "transcoder_php_grpc", -- srcs = [":transcoder_proto"], -- deps = [":transcoder_php_proto"], +- name = "videointelligence_php_grpc", +- srcs = [":videointelligence_proto"], +- deps = [":videointelligence_php_proto"], -) - -php_gapic_library( -- name = "transcoder_php_gapic", -- src = ":transcoder_proto_with_info", -- gapic_yaml = "transcoder_gapic.yaml", -- grpc_service_config = "transcoder_grpc_service_config.json", -- package = "google.cloud.video.transcoder.v1beta1", -- service_yaml = "transcoder_v1beta1.yaml", +- name = "videointelligence_php_gapic", +- srcs = [":videointelligence_proto_with_info"], +- gapic_yaml = "videointelligence_gapic.yaml", +- service_yaml = "//google/cloud/videointelligence:videointelligence_v1beta2.yaml", - deps = [ -- ":transcoder_php_grpc", -- ":transcoder_php_proto", +- ":videointelligence_php_grpc", +- ":videointelligence_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-video-transcoder-v1beta1-php", +- name = "google-cloud-videointelligence-v1beta2-php", - deps = [ -- ":transcoder_php_gapic", -- ":transcoder_php_grpc", -- ":transcoder_php_proto", +- ":videointelligence_php_gapic", +- ":videointelligence_php_grpc", +- ":videointelligence_php_proto", - ], -) - @@ -51022,21 +68485,22 @@ diff -urN a/google/cloud/video/transcoder/v1beta1/BUILD.bazel b/google/cloud/vid -) - -nodejs_gapic_library( -- name = "transcoder_nodejs_gapic", -- package_name = "@google-cloud/video-transcoder", -- src = ":transcoder_proto_with_info", +- name = "videointelligence_nodejs_gapic", +- package_name = "@google-cloud/video-intelligence", +- src = ":videointelligence_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "transcoder_grpc_service_config.json", -- package = "google.cloud.video.transcoder.v1beta1", -- service_yaml = "transcoder_v1beta1.yaml", +- grpc_service_config = "videointelligence_grpc_service_config.json", +- main_service = "videointelligence", +- package = "google.cloud.videointelligence.v1beta2", +- service_yaml = "//google/cloud/videointelligence:videointelligence_v1beta2.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "video-transcoder-v1beta1-nodejs", +- name = "videointelligence-v1beta2-nodejs", - deps = [ -- ":transcoder_nodejs_gapic", -- ":transcoder_proto", +- ":videointelligence_nodejs_gapic", +- ":videointelligence_proto", - ], -) - @@ -51045,49 +68509,49 @@ diff -urN a/google/cloud/video/transcoder/v1beta1/BUILD.bazel b/google/cloud/vid -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "transcoder_ruby_proto", -- deps = [":transcoder_proto"], +- name = "videointelligence_ruby_proto", +- deps = [":videointelligence_proto"], -) - -ruby_grpc_library( -- name = "transcoder_ruby_grpc", -- srcs = [":transcoder_proto"], -- deps = [":transcoder_ruby_proto"], +- name = "videointelligence_ruby_grpc", +- srcs = [":videointelligence_proto"], +- deps = [":videointelligence_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "transcoder_ruby_gapic", -- srcs = [":transcoder_proto_with_info",], +- name = "videointelligence_ruby_gapic", +- srcs = [":videointelligence_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-video-transcoder-v1beta1", -- "ruby-cloud-env-prefix=TRANSCODER", -- "ruby-cloud-product-url=https://cloud.google.com/transcoder/", -- "ruby-cloud-api-id=transcoder.googleapis.com", -- "ruby-cloud-api-shortname=transcoder", +- "ruby-cloud-gem-name=google-cloud-video_intelligence-v1beta2", +- "ruby-cloud-env-prefix=VIDEO_INTELLIGENCE", +- "ruby-cloud-product-url=https://cloud.google.com/video-intelligence", +- "ruby-cloud-api-id=videointelligence.googleapis.com", +- "ruby-cloud-api-shortname=videointelligence", - ], -- grpc_service_config = "transcoder_grpc_service_config.json", -- ruby_cloud_description = "The Transcoder API allows you to convert video files and package them for optimized delivery to web, mobile and connected TVs.", -- ruby_cloud_title = "Transcoder V1beta1", +- grpc_service_config = "videointelligence_grpc_service_config.json", +- ruby_cloud_description = "Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API.", +- ruby_cloud_title = "Cloud Video Intelligence V1beta2", - deps = [ -- ":transcoder_ruby_grpc", -- ":transcoder_ruby_proto", +- ":videointelligence_ruby_grpc", +- ":videointelligence_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-video-transcoder-v1beta1-ruby", +- name = "google-cloud-videointelligence-v1beta2-ruby", - deps = [ -- ":transcoder_ruby_gapic", -- ":transcoder_ruby_grpc", -- ":transcoder_ruby_proto", +- ":videointelligence_ruby_gapic", +- ":videointelligence_ruby_grpc", +- ":videointelligence_ruby_proto", - ], -) - @@ -51103,34 +68567,34 @@ diff -urN a/google/cloud/video/transcoder/v1beta1/BUILD.bazel b/google/cloud/vid -) - -csharp_proto_library( -- name = "transcoder_csharp_proto", -- deps = [":transcoder_proto"], +- name = "videointelligence_csharp_proto", +- deps = [":videointelligence_proto"], -) - -csharp_grpc_library( -- name = "transcoder_csharp_grpc", -- srcs = [":transcoder_proto"], -- deps = [":transcoder_csharp_proto"], +- name = "videointelligence_csharp_grpc", +- srcs = [":videointelligence_proto"], +- deps = [":videointelligence_csharp_proto"], -) - -csharp_gapic_library( -- name = "transcoder_csharp_gapic", -- srcs = [":transcoder_proto_with_info"], +- name = "videointelligence_csharp_gapic", +- srcs = [":videointelligence_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "transcoder_grpc_service_config.json", +- grpc_service_config = "videointelligence_grpc_service_config.json", - deps = [ -- ":transcoder_csharp_grpc", -- ":transcoder_csharp_proto", +- ":videointelligence_csharp_grpc", +- ":videointelligence_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-video-transcoder-v1beta1-csharp", +- name = "google-cloud-videointelligence-v1beta2-csharp", - deps = [ -- ":transcoder_csharp_gapic", -- ":transcoder_csharp_grpc", -- ":transcoder_csharp_proto", +- ":videointelligence_csharp_gapic", +- ":videointelligence_csharp_grpc", +- ":videointelligence_csharp_proto", - ], -) - @@ -51138,15 +68602,10 @@ diff -urN a/google/cloud/video/transcoder/v1beta1/BUILD.bazel b/google/cloud/vid -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/videointelligence/BUILD.bazel b/google/cloud/videointelligence/BUILD.bazel ---- a/google/cloud/videointelligence/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/videointelligence/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/cloud/videointelligence/v1/BUILD.bazel b/google/cloud/videointelligence/v1/BUILD.bazel ---- a/google/cloud/videointelligence/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/videointelligence/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,339 +0,0 @@ +diff -urN a/google/cloud/videointelligence/v1p1beta1/BUILD.bazel b/google/cloud/videointelligence/v1p1beta1/BUILD.bazel +--- a/google/cloud/videointelligence/v1p1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/videointelligence/v1p1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,338 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -51221,14 +68680,14 @@ diff -urN a/google/cloud/videointelligence/v1/BUILD.bazel b/google/cloud/videoin -java_gapic_test( - name = "videointelligence_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.videointelligence.v1.VideoIntelligenceServiceClientTest", +- "com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceClientTest", - ], - runtime_deps = [":videointelligence_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-videointelligence-v1-java", +- name = "google-cloud-videointelligence-v1p1beta1-java", - deps = [ - ":videointelligence_java_gapic", - ":videointelligence_java_grpc", @@ -51251,7 +68710,7 @@ diff -urN a/google/cloud/videointelligence/v1/BUILD.bazel b/google/cloud/videoin -go_proto_library( - name = "videointelligence_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/videointelligence/v1", +- importpath = "google.golang.org/genproto/googleapis/cloud/videointelligence/v1p1beta1", - protos = [":videointelligence_proto"], - deps = [ - "//google/api:annotations_go_proto", @@ -51264,8 +68723,8 @@ diff -urN a/google/cloud/videointelligence/v1/BUILD.bazel b/google/cloud/videoin - name = "videointelligence_go_gapic", - srcs = [":videointelligence_proto_with_info"], - grpc_service_config = "videointelligence_grpc_service_config.json", -- importpath = "cloud.google.com/go/videointelligence/apiv1;videointelligence", -- service_yaml = "videointelligence_v1.yaml", +- importpath = "cloud.google.com/go/videointelligence/apiv1p1beta1;videointelligence", +- service_yaml = "//google/cloud/videointelligence:videointelligence_v1p1beta1.yaml", - deps = [ - ":videointelligence_go_proto", - "//google/longrunning:longrunning_go_proto", @@ -51279,12 +68738,12 @@ diff -urN a/google/cloud/videointelligence/v1/BUILD.bazel b/google/cloud/videoin - name = "videointelligence_go_gapic_test", - srcs = [":videointelligence_go_gapic_srcjar_test"], - embed = [":videointelligence_go_gapic"], -- importpath = "cloud.google.com/go/videointelligence/apiv1", +- importpath = "cloud.google.com/go/videointelligence/apiv1p1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-videointelligence-v1-go", +- name = "gapi-cloud-videointelligence-v1p1beta1-go", - deps = [ - ":videointelligence_go_gapic", - ":videointelligence_go_gapic_srcjar-test.srcjar", @@ -51308,7 +68767,7 @@ diff -urN a/google/cloud/videointelligence/v1/BUILD.bazel b/google/cloud/videoin -) - -py_gapic_assembly_pkg( -- name = "videointelligence-v1-py", +- name = "videointelligence-v1p1beta1-py", - deps = [ - ":videointelligence_py_gapic", - ], @@ -51338,11 +68797,10 @@ diff -urN a/google/cloud/videointelligence/v1/BUILD.bazel b/google/cloud/videoin - -php_gapic_library( - name = "videointelligence_php_gapic", -- src = ":videointelligence_proto_with_info", -- # Do not change this to the videointelligence_gapic.yaml, see tracking bug. -- gapic_yaml = "videointelligence_gapic.legacy.yaml", -- package = "google.cloud.videointelligence.v1", -- service_yaml = "videointelligence_v1.yaml", +- srcs = [":videointelligence_proto_with_info"], +- gapic_yaml = "videointelligence_gapic.yaml", +- grpc_service_config = "videointelligence_grpc_service_config.json", +- service_yaml = "//google/cloud/videointelligence:videointelligence_v1p1beta1.yaml", - deps = [ - ":videointelligence_php_grpc", - ":videointelligence_php_proto", @@ -51351,7 +68809,7 @@ diff -urN a/google/cloud/videointelligence/v1/BUILD.bazel b/google/cloud/videoin - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-videointelligence-v1-php", +- name = "google-cloud-videointelligence-v1p1beta1-php", - deps = [ - ":videointelligence_php_gapic", - ":videointelligence_php_grpc", @@ -51375,13 +68833,13 @@ diff -urN a/google/cloud/videointelligence/v1/BUILD.bazel b/google/cloud/videoin - extra_protoc_parameters = ["metadata"], - grpc_service_config = "videointelligence_grpc_service_config.json", - main_service = "videointelligence", -- package = "google.cloud.videointelligence.v1", -- service_yaml = "videointelligence_v1.yaml", +- package = "google.cloud.videointelligence.v1p1beta1", +- service_yaml = "//google/cloud/videointelligence:videointelligence_v1p1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "videointelligence-v1-nodejs", +- name = "videointelligence-v1p1beta1-nodejs", - deps = [ - ":videointelligence_nodejs_gapic", - ":videointelligence_proto", @@ -51393,8 +68851,8 @@ diff -urN a/google/cloud/videointelligence/v1/BUILD.bazel b/google/cloud/videoin -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -51414,7 +68872,7 @@ diff -urN a/google/cloud/videointelligence/v1/BUILD.bazel b/google/cloud/videoin - name = "videointelligence_ruby_gapic", - srcs = [":videointelligence_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-video_intelligence-v1", +- "ruby-cloud-gem-name=google-cloud-video_intelligence-v1p1beta1", - "ruby-cloud-env-prefix=VIDEO_INTELLIGENCE", - "ruby-cloud-product-url=https://cloud.google.com/video-intelligence", - "ruby-cloud-api-id=videointelligence.googleapis.com", @@ -51422,7 +68880,7 @@ diff -urN a/google/cloud/videointelligence/v1/BUILD.bazel b/google/cloud/videoin - ], - grpc_service_config = "videointelligence_grpc_service_config.json", - ruby_cloud_description = "Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API.", -- ruby_cloud_title = "Cloud Video Intelligence V1", +- ruby_cloud_title = "Cloud Video Intelligence V1p1beta1", - deps = [ - ":videointelligence_ruby_grpc", - ":videointelligence_ruby_proto", @@ -51431,7 +68889,7 @@ diff -urN a/google/cloud/videointelligence/v1/BUILD.bazel b/google/cloud/videoin - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-videointelligence-v1-ruby", +- name = "google-cloud-videointelligence-v1p1beta1-ruby", - deps = [ - ":videointelligence_ruby_gapic", - ":videointelligence_ruby_grpc", @@ -51474,7 +68932,7 @@ diff -urN a/google/cloud/videointelligence/v1/BUILD.bazel b/google/cloud/videoin - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-videointelligence-v1-csharp", +- name = "google-cloud-videointelligence-v1p1beta1-csharp", - deps = [ - ":videointelligence_csharp_gapic", - ":videointelligence_csharp_grpc", @@ -51486,10 +68944,10 @@ diff -urN a/google/cloud/videointelligence/v1/BUILD.bazel b/google/cloud/videoin -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/videointelligence/v1beta2/BUILD.bazel b/google/cloud/videointelligence/v1beta2/BUILD.bazel ---- a/google/cloud/videointelligence/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/videointelligence/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,339 +0,0 @@ +diff -urN a/google/cloud/videointelligence/v1p2beta1/BUILD.bazel b/google/cloud/videointelligence/v1p2beta1/BUILD.bazel +--- a/google/cloud/videointelligence/v1p2beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/videointelligence/v1p2beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,338 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -51564,14 +69022,14 @@ diff -urN a/google/cloud/videointelligence/v1beta2/BUILD.bazel b/google/cloud/vi -java_gapic_test( - name = "videointelligence_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceClientTest", +- "com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceClientTest", - ], - runtime_deps = [":videointelligence_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-videointelligence-v1beta2-java", +- name = "google-cloud-videointelligence-v1p2beta1-java", - deps = [ - ":videointelligence_java_gapic", - ":videointelligence_java_grpc", @@ -51594,7 +69052,7 @@ diff -urN a/google/cloud/videointelligence/v1beta2/BUILD.bazel b/google/cloud/vi -go_proto_library( - name = "videointelligence_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/videointelligence/v1beta2", +- importpath = "google.golang.org/genproto/googleapis/cloud/videointelligence/v1p2beta1", - protos = [":videointelligence_proto"], - deps = [ - "//google/api:annotations_go_proto", @@ -51607,8 +69065,8 @@ diff -urN a/google/cloud/videointelligence/v1beta2/BUILD.bazel b/google/cloud/vi - name = "videointelligence_go_gapic", - srcs = [":videointelligence_proto_with_info"], - grpc_service_config = "videointelligence_grpc_service_config.json", -- importpath = "cloud.google.com/go/videointelligence/apiv1beta2;videointelligence", -- service_yaml = "//google/cloud/videointelligence:videointelligence_v1beta2.yaml", +- importpath = "cloud.google.com/go/videointelligence/apiv1p2beta1;videointelligence", +- service_yaml = "//google/cloud/videointelligence:videointelligence_v1p2beta1.yaml", - deps = [ - ":videointelligence_go_proto", - "//google/longrunning:longrunning_go_proto", @@ -51622,12 +69080,12 @@ diff -urN a/google/cloud/videointelligence/v1beta2/BUILD.bazel b/google/cloud/vi - name = "videointelligence_go_gapic_test", - srcs = [":videointelligence_go_gapic_srcjar_test"], - embed = [":videointelligence_go_gapic"], -- importpath = "cloud.google.com/go/videointelligence/apiv1beta2", +- importpath = "cloud.google.com/go/videointelligence/apiv1p2beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-videointelligence-v1beta2-go", +- name = "gapi-cloud-videointelligence-v1p2beta1-go", - deps = [ - ":videointelligence_go_gapic", - ":videointelligence_go_gapic_srcjar-test.srcjar", @@ -51651,7 +69109,7 @@ diff -urN a/google/cloud/videointelligence/v1beta2/BUILD.bazel b/google/cloud/vi -) - -py_gapic_assembly_pkg( -- name = "videointelligence-v1beta2-py", +- name = "videointelligence-v1p2beta1-py", - deps = [ - ":videointelligence_py_gapic", - ], @@ -51681,11 +69139,10 @@ diff -urN a/google/cloud/videointelligence/v1beta2/BUILD.bazel b/google/cloud/vi - -php_gapic_library( - name = "videointelligence_php_gapic", -- src = ":videointelligence_proto_with_info", -- # Do not change this to the videointelligence_gapic.yaml, see tracking bug. -- gapic_yaml = "videointelligence_gapic.legacy.yaml", -- package = "google.cloud.videointelligence.v1beta2", -- service_yaml = "//google/cloud/videointelligence:videointelligence_v1beta2.yaml", +- srcs = [":videointelligence_proto_with_info"], +- gapic_yaml = "videointelligence_gapic.yaml", +- grpc_service_config = "videointelligence_grpc_service_config.json", +- service_yaml = "//google/cloud/videointelligence:videointelligence_v1p2beta1.yaml", - deps = [ - ":videointelligence_php_grpc", - ":videointelligence_php_proto", @@ -51694,7 +69151,7 @@ diff -urN a/google/cloud/videointelligence/v1beta2/BUILD.bazel b/google/cloud/vi - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-videointelligence-v1beta2-php", +- name = "google-cloud-videointelligence-v1p2beta1-php", - deps = [ - ":videointelligence_php_gapic", - ":videointelligence_php_grpc", @@ -51718,13 +69175,13 @@ diff -urN a/google/cloud/videointelligence/v1beta2/BUILD.bazel b/google/cloud/vi - extra_protoc_parameters = ["metadata"], - grpc_service_config = "videointelligence_grpc_service_config.json", - main_service = "videointelligence", -- package = "google.cloud.videointelligence.v1beta2", -- service_yaml = "//google/cloud/videointelligence:videointelligence_v1beta2.yaml", +- package = "google.cloud.videointelligence.v1p2beta1", +- service_yaml = "//google/cloud/videointelligence:videointelligence_v1p2beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "videointelligence-v1beta2-nodejs", +- name = "videointelligence-v1p2beta1-nodejs", - deps = [ - ":videointelligence_nodejs_gapic", - ":videointelligence_proto", @@ -51736,8 +69193,8 @@ diff -urN a/google/cloud/videointelligence/v1beta2/BUILD.bazel b/google/cloud/vi -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -51757,7 +69214,7 @@ diff -urN a/google/cloud/videointelligence/v1beta2/BUILD.bazel b/google/cloud/vi - name = "videointelligence_ruby_gapic", - srcs = [":videointelligence_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-video_intelligence-v1beta2", +- "ruby-cloud-gem-name=google-cloud-video_intelligence-v1p2beta1", - "ruby-cloud-env-prefix=VIDEO_INTELLIGENCE", - "ruby-cloud-product-url=https://cloud.google.com/video-intelligence", - "ruby-cloud-api-id=videointelligence.googleapis.com", @@ -51765,7 +69222,7 @@ diff -urN a/google/cloud/videointelligence/v1beta2/BUILD.bazel b/google/cloud/vi - ], - grpc_service_config = "videointelligence_grpc_service_config.json", - ruby_cloud_description = "Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API.", -- ruby_cloud_title = "Cloud Video Intelligence V1beta2", +- ruby_cloud_title = "Cloud Video Intelligence V1p2beta1", - deps = [ - ":videointelligence_ruby_grpc", - ":videointelligence_ruby_proto", @@ -51774,7 +69231,7 @@ diff -urN a/google/cloud/videointelligence/v1beta2/BUILD.bazel b/google/cloud/vi - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-videointelligence-v1beta2-ruby", +- name = "google-cloud-videointelligence-v1p2beta1-ruby", - deps = [ - ":videointelligence_ruby_gapic", - ":videointelligence_ruby_grpc", @@ -51817,7 +69274,7 @@ diff -urN a/google/cloud/videointelligence/v1beta2/BUILD.bazel b/google/cloud/vi - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-videointelligence-v1beta2-csharp", +- name = "google-cloud-videointelligence-v1p2beta1-csharp", - deps = [ - ":videointelligence_csharp_gapic", - ":videointelligence_csharp_grpc", @@ -51829,10 +69286,10 @@ diff -urN a/google/cloud/videointelligence/v1beta2/BUILD.bazel b/google/cloud/vi -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/videointelligence/v1p1beta1/BUILD.bazel b/google/cloud/videointelligence/v1p1beta1/BUILD.bazel ---- a/google/cloud/videointelligence/v1p1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/videointelligence/v1p1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,339 +0,0 @@ +diff -urN a/google/cloud/videointelligence/v1p3beta1/BUILD.bazel b/google/cloud/videointelligence/v1p3beta1/BUILD.bazel +--- a/google/cloud/videointelligence/v1p3beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/videointelligence/v1p3beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,330 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -51907,14 +69364,15 @@ diff -urN a/google/cloud/videointelligence/v1p1beta1/BUILD.bazel b/google/cloud/ -java_gapic_test( - name = "videointelligence_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.videointelligence.v1p1beta1.VideoIntelligenceServiceClientTest", +- "com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceClientTest", +- "com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceClientTest", - ], - runtime_deps = [":videointelligence_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-videointelligence-v1p1beta1-java", +- name = "google-cloud-videointelligence-v1p3beta1-java", - deps = [ - ":videointelligence_java_gapic", - ":videointelligence_java_grpc", @@ -51937,7 +69395,7 @@ diff -urN a/google/cloud/videointelligence/v1p1beta1/BUILD.bazel b/google/cloud/ -go_proto_library( - name = "videointelligence_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/videointelligence/v1p1beta1", +- importpath = "google.golang.org/genproto/googleapis/cloud/videointelligence/v1p3beta1", - protos = [":videointelligence_proto"], - deps = [ - "//google/api:annotations_go_proto", @@ -51950,8 +69408,8 @@ diff -urN a/google/cloud/videointelligence/v1p1beta1/BUILD.bazel b/google/cloud/ - name = "videointelligence_go_gapic", - srcs = [":videointelligence_proto_with_info"], - grpc_service_config = "videointelligence_grpc_service_config.json", -- importpath = "cloud.google.com/go/videointelligence/apiv1p1beta1;videointelligence", -- service_yaml = "//google/cloud/videointelligence:videointelligence_v1p1beta1.yaml", +- importpath = "cloud.google.com/go/videointelligence/apiv1p3beta1;videointelligence", +- service_yaml = "//google/cloud/videointelligence:videointelligence_v1p3beta1.yaml", - deps = [ - ":videointelligence_go_proto", - "//google/longrunning:longrunning_go_proto", @@ -51965,12 +69423,12 @@ diff -urN a/google/cloud/videointelligence/v1p1beta1/BUILD.bazel b/google/cloud/ - name = "videointelligence_go_gapic_test", - srcs = [":videointelligence_go_gapic_srcjar_test"], - embed = [":videointelligence_go_gapic"], -- importpath = "cloud.google.com/go/videointelligence/apiv1p1beta1", +- importpath = "cloud.google.com/go/videointelligence/apiv1p3beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-videointelligence-v1p1beta1-go", +- name = "gapi-cloud-videointelligence-v1p3beta1-go", - deps = [ - ":videointelligence_go_gapic", - ":videointelligence_go_gapic_srcjar-test.srcjar", @@ -51994,7 +69452,7 @@ diff -urN a/google/cloud/videointelligence/v1p1beta1/BUILD.bazel b/google/cloud/ -) - -py_gapic_assembly_pkg( -- name = "videointelligence-v1p1beta1-py", +- name = "videointelligence-v1p3beta1-py", - deps = [ - ":videointelligence_py_gapic", - ], @@ -52024,11 +69482,10 @@ diff -urN a/google/cloud/videointelligence/v1p1beta1/BUILD.bazel b/google/cloud/ - -php_gapic_library( - name = "videointelligence_php_gapic", -- src = ":videointelligence_proto_with_info", +- srcs = [":videointelligence_proto_with_info"], - gapic_yaml = "videointelligence_gapic.yaml", - grpc_service_config = "videointelligence_grpc_service_config.json", -- package = "google.cloud.videointelligence.v1p1beta1", -- service_yaml = "//google/cloud/videointelligence:videointelligence_v1p1beta1.yaml", +- service_yaml = "//google/cloud/videointelligence:videointelligence_v1p3beta1.yaml", - deps = [ - ":videointelligence_php_grpc", - ":videointelligence_php_proto", @@ -52037,7 +69494,7 @@ diff -urN a/google/cloud/videointelligence/v1p1beta1/BUILD.bazel b/google/cloud/ - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-videointelligence-v1p1beta1-php", +- name = "google-cloud-videointelligence-v1p3beta1-php", - deps = [ - ":videointelligence_php_gapic", - ":videointelligence_php_grpc", @@ -52061,13 +69518,13 @@ diff -urN a/google/cloud/videointelligence/v1p1beta1/BUILD.bazel b/google/cloud/ - extra_protoc_parameters = ["metadata"], - grpc_service_config = "videointelligence_grpc_service_config.json", - main_service = "videointelligence", -- package = "google.cloud.videointelligence.v1p1beta1", -- service_yaml = "//google/cloud/videointelligence:videointelligence_v1p1beta1.yaml", +- package = "google.cloud.videointelligence.v1p3beta1", +- service_yaml = "//google/cloud/videointelligence:videointelligence_v1p3beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "videointelligence-v1p1beta1-nodejs", +- name = "videointelligence-v1p3beta1-nodejs", - deps = [ - ":videointelligence_nodejs_gapic", - ":videointelligence_proto", @@ -52098,17 +69555,8 @@ diff -urN a/google/cloud/videointelligence/v1p1beta1/BUILD.bazel b/google/cloud/ - -ruby_cloud_gapic_library( - name = "videointelligence_ruby_gapic", -- srcs = [":videointelligence_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-video_intelligence-v1p1beta1", -- "ruby-cloud-env-prefix=VIDEO_INTELLIGENCE", -- "ruby-cloud-product-url=https://cloud.google.com/video-intelligence", -- "ruby-cloud-api-id=videointelligence.googleapis.com", -- "ruby-cloud-api-shortname=videointelligence", -- ], -- grpc_service_config = "videointelligence_grpc_service_config.json", -- ruby_cloud_description = "Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API.", -- ruby_cloud_title = "Cloud Video Intelligence V1p1beta1", +- srcs = [":videointelligence_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-videointelligence-v1p3beta1"], - deps = [ - ":videointelligence_ruby_grpc", - ":videointelligence_ruby_proto", @@ -52117,7 +69565,7 @@ diff -urN a/google/cloud/videointelligence/v1p1beta1/BUILD.bazel b/google/cloud/ - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-videointelligence-v1p1beta1-ruby", +- name = "google-cloud-videointelligence-v1p3beta1-ruby", - deps = [ - ":videointelligence_ruby_gapic", - ":videointelligence_ruby_grpc", @@ -52160,7 +69608,7 @@ diff -urN a/google/cloud/videointelligence/v1p1beta1/BUILD.bazel b/google/cloud/ - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-videointelligence-v1p1beta1-csharp", +- name = "google-cloud-videointelligence-v1p3beta1-csharp", - deps = [ - ":videointelligence_csharp_gapic", - ":videointelligence_csharp_grpc", @@ -52172,10 +69620,15 @@ diff -urN a/google/cloud/videointelligence/v1p1beta1/BUILD.bazel b/google/cloud/ -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/videointelligence/v1p2beta1/BUILD.bazel b/google/cloud/videointelligence/v1p2beta1/BUILD.bazel ---- a/google/cloud/videointelligence/v1p2beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/videointelligence/v1p2beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,339 +0,0 @@ +diff -urN a/google/cloud/vision/BUILD.bazel b/google/cloud/vision/BUILD.bazel +--- a/google/cloud/vision/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/vision/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/cloud/vision/v1/BUILD.bazel b/google/cloud/vision/v1/BUILD.bazel +--- a/google/cloud/vision/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/vision/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,377 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -52188,25 +69641,34 @@ diff -urN a/google/cloud/videointelligence/v1p2beta1/BUILD.bazel b/google/cloud/ -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "videointelligence_proto", +- name = "vision_proto", - srcs = [ -- "video_intelligence.proto", +- "geometry.proto", +- "image_annotator.proto", +- "product_search.proto", +- "product_search_service.proto", +- "text_annotation.proto", +- "web_detection.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", +- "//google/api:resource_proto", - "//google/longrunning:operations_proto", - "//google/rpc:status_proto", -- "@com_google_protobuf//:duration_proto", +- "//google/type:color_proto", +- "//google/type:latlng_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "videointelligence_proto_with_info", +- name = "vision_proto_with_info", - deps = [ -- ":videointelligence_proto", +- ":vision_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -52224,45 +69686,46 @@ diff -urN a/google/cloud/videointelligence/v1p2beta1/BUILD.bazel b/google/cloud/ -) - -java_proto_library( -- name = "videointelligence_java_proto", -- deps = [":videointelligence_proto"], +- name = "vision_java_proto", +- deps = [":vision_proto"], -) - -java_grpc_library( -- name = "videointelligence_java_grpc", -- srcs = [":videointelligence_proto"], -- deps = [":videointelligence_java_proto"], +- name = "vision_java_grpc", +- srcs = [":vision_proto"], +- deps = [":vision_java_proto"], -) - -java_gapic_library( -- name = "videointelligence_java_gapic", -- srcs = [":videointelligence_proto_with_info"], -- gapic_yaml = "videointelligence_gapic.yaml", -- grpc_service_config = "videointelligence_grpc_service_config.json", +- name = "vision_java_gapic", +- srcs = [":vision_proto_with_info"], +- gapic_yaml = "vision_gapic.yaml", +- grpc_service_config = "vision_grpc_service_config.json", - test_deps = [ -- ":videointelligence_java_grpc", +- ":vision_java_grpc", - ], - deps = [ -- ":videointelligence_java_proto", +- ":vision_java_proto", - ], -) - -java_gapic_test( -- name = "videointelligence_java_gapic_test_suite", +- name = "vision_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.videointelligence.v1p2beta1.VideoIntelligenceServiceClientTest", +- "com.google.cloud.vision.v1.ImageAnnotatorClientTest", +- "com.google.cloud.vision.v1.ProductSearchClientTest", - ], -- runtime_deps = [":videointelligence_java_gapic_test"], +- runtime_deps = [":vision_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-videointelligence-v1p2beta1-java", +- name = "google-cloud-vision-v1-java", - deps = [ -- ":videointelligence_java_gapic", -- ":videointelligence_java_grpc", -- ":videointelligence_java_proto", -- ":videointelligence_proto", +- ":vision_java_gapic", +- ":vision_java_grpc", +- ":vision_java_proto", +- ":vision_proto", - ], -) - @@ -52278,46 +69741,47 @@ diff -urN a/google/cloud/videointelligence/v1p2beta1/BUILD.bazel b/google/cloud/ -) - -go_proto_library( -- name = "videointelligence_go_proto", +- name = "vision_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/videointelligence/v1p2beta1", -- protos = [":videointelligence_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/vision/v1", +- protos = [":vision_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/longrunning:longrunning_go_proto", - "//google/rpc:status_go_proto", +- "//google/type:color_go_proto", +- "//google/type:latlng_go_proto", - ], -) - -go_gapic_library( -- name = "videointelligence_go_gapic", -- srcs = [":videointelligence_proto_with_info"], -- grpc_service_config = "videointelligence_grpc_service_config.json", -- importpath = "cloud.google.com/go/videointelligence/apiv1p2beta1;videointelligence", -- service_yaml = "//google/cloud/videointelligence:videointelligence_v1p2beta1.yaml", +- name = "vision_go_gapic", +- srcs = [":vision_proto_with_info"], +- grpc_service_config = "vision_grpc_service_config.json", +- importpath = "cloud.google.com/go/vision/apiv1;vision", +- service_yaml = "vision_v1.yaml", - deps = [ -- ":videointelligence_go_proto", +- ":vision_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "videointelligence_go_gapic_test", -- srcs = [":videointelligence_go_gapic_srcjar_test"], -- embed = [":videointelligence_go_gapic"], -- importpath = "cloud.google.com/go/videointelligence/apiv1p2beta1", +- name = "vision_go_gapic_test", +- srcs = [":vision_go_gapic_srcjar_test"], +- embed = [":vision_go_gapic"], +- importpath = "cloud.google.com/go/vision/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-videointelligence-v1p2beta1-go", +- name = "gapi-cloud-vision-v1-go", - deps = [ -- ":videointelligence_go_gapic", -- ":videointelligence_go_gapic_srcjar-test.srcjar", -- ":videointelligence_go_proto", +- ":vision_go_gapic", +- ":vision_go_gapic_srcjar-test.srcjar", +- ":vision_go_proto", - ], -) - @@ -52331,15 +69795,15 @@ diff -urN a/google/cloud/videointelligence/v1p2beta1/BUILD.bazel b/google/cloud/ -) - -py_gapic_library( -- name = "videointelligence_py_gapic", -- srcs = [":videointelligence_proto"], -- grpc_service_config = "videointelligence_grpc_service_config.json", +- name = "vision_py_gapic", +- srcs = [":vision_proto"], +- grpc_service_config = "vision_grpc_service_config.json", -) - -py_gapic_assembly_pkg( -- name = "videointelligence-v1p2beta1-py", +- name = "vision-v1-py", - deps = [ -- ":videointelligence_py_gapic", +- ":vision_py_gapic", - ], -) - @@ -52355,36 +69819,35 @@ diff -urN a/google/cloud/videointelligence/v1p2beta1/BUILD.bazel b/google/cloud/ -) - -php_proto_library( -- name = "videointelligence_php_proto", -- deps = [":videointelligence_proto"], +- name = "vision_php_proto", +- deps = [":vision_proto"], -) - -php_grpc_library( -- name = "videointelligence_php_grpc", -- srcs = [":videointelligence_proto"], -- deps = [":videointelligence_php_proto"], +- name = "vision_php_grpc", +- srcs = [":vision_proto"], +- deps = [":vision_php_proto"], -) - -php_gapic_library( -- name = "videointelligence_php_gapic", -- src = ":videointelligence_proto_with_info", -- gapic_yaml = "videointelligence_gapic.yaml", -- grpc_service_config = "videointelligence_grpc_service_config.json", -- package = "google.cloud.videointelligence.v1p2beta1", -- service_yaml = "//google/cloud/videointelligence:videointelligence_v1p2beta1.yaml", +- name = "vision_php_gapic", +- srcs = [":vision_proto_with_info"], +- gapic_yaml = "vision_gapic.yaml", +- grpc_service_config = "vision_grpc_service_config.json", +- service_yaml = "vision_v1.yaml", - deps = [ -- ":videointelligence_php_grpc", -- ":videointelligence_php_proto", +- ":vision_php_grpc", +- ":vision_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-videointelligence-v1p2beta1-php", +- name = "google-cloud-vision-v1-php", - deps = [ -- ":videointelligence_php_gapic", -- ":videointelligence_php_grpc", -- ":videointelligence_php_proto", +- ":vision_php_gapic", +- ":vision_php_grpc", +- ":vision_php_proto", - ], -) - @@ -52398,22 +69861,22 @@ diff -urN a/google/cloud/videointelligence/v1p2beta1/BUILD.bazel b/google/cloud/ -) - -nodejs_gapic_library( -- name = "videointelligence_nodejs_gapic", -- package_name = "@google-cloud/video-intelligence", -- src = ":videointelligence_proto_with_info", +- name = "vision_nodejs_gapic", +- package_name = "@google-cloud/vision", +- src = ":vision_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "videointelligence_grpc_service_config.json", -- main_service = "videointelligence", -- package = "google.cloud.videointelligence.v1p2beta1", -- service_yaml = "//google/cloud/videointelligence:videointelligence_v1p2beta1.yaml", +- grpc_service_config = "vision_grpc_service_config.json", +- main_service = "vision", +- package = "google.cloud.vision.v1", +- service_yaml = "vision_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "videointelligence-v1p2beta1-nodejs", +- name = "vision-v1-nodejs", - deps = [ -- ":videointelligence_nodejs_gapic", -- ":videointelligence_proto", +- ":vision_nodejs_gapic", +- ":vision_proto", - ], -) - @@ -52422,49 +69885,49 @@ diff -urN a/google/cloud/videointelligence/v1p2beta1/BUILD.bazel b/google/cloud/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "videointelligence_ruby_proto", -- deps = [":videointelligence_proto"], +- name = "vision_ruby_proto", +- deps = [":vision_proto"], -) - -ruby_grpc_library( -- name = "videointelligence_ruby_grpc", -- srcs = [":videointelligence_proto"], -- deps = [":videointelligence_ruby_proto"], +- name = "vision_ruby_grpc", +- srcs = [":vision_proto"], +- deps = [":vision_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "videointelligence_ruby_gapic", -- srcs = [":videointelligence_proto_with_info"], +- name = "vision_ruby_gapic", +- srcs = [":vision_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-video_intelligence-v1p2beta1", -- "ruby-cloud-env-prefix=VIDEO_INTELLIGENCE", -- "ruby-cloud-product-url=https://cloud.google.com/video-intelligence", -- "ruby-cloud-api-id=videointelligence.googleapis.com", -- "ruby-cloud-api-shortname=videointelligence", +- "ruby-cloud-gem-name=google-cloud-vision-v1", +- "ruby-cloud-env-prefix=VISION", +- "ruby-cloud-product-url=https://cloud.google.com/vision", +- "ruby-cloud-api-id=vision.googleapis.com", +- "ruby-cloud-api-shortname=vision", - ], -- grpc_service_config = "videointelligence_grpc_service_config.json", -- ruby_cloud_description = "Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API.", -- ruby_cloud_title = "Cloud Video Intelligence V1p2beta1", +- grpc_service_config = "vision_grpc_service_config.json", +- ruby_cloud_description = "Cloud Vision API allows developers to easily integrate vision detection features within applications, including image labeling, face and landmark detection, optical character recognition (OCR), and tagging of explicit content.", +- ruby_cloud_title = "Cloud Vision V1", - deps = [ -- ":videointelligence_ruby_grpc", -- ":videointelligence_ruby_proto", +- ":vision_ruby_grpc", +- ":vision_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-videointelligence-v1p2beta1-ruby", +- name = "google-cloud-vision-v1-ruby", - deps = [ -- ":videointelligence_ruby_gapic", -- ":videointelligence_ruby_grpc", -- ":videointelligence_ruby_proto", +- ":vision_ruby_gapic", +- ":vision_ruby_grpc", +- ":vision_ruby_proto", - ], -) - @@ -52480,45 +69943,73 @@ diff -urN a/google/cloud/videointelligence/v1p2beta1/BUILD.bazel b/google/cloud/ -) - -csharp_proto_library( -- name = "videointelligence_csharp_proto", -- deps = [":videointelligence_proto"], +- name = "vision_csharp_proto", +- deps = [":vision_proto"], -) - -csharp_grpc_library( -- name = "videointelligence_csharp_grpc", -- srcs = [":videointelligence_proto"], -- deps = [":videointelligence_csharp_proto"], +- name = "vision_csharp_grpc", +- srcs = [":vision_proto"], +- deps = [":vision_csharp_proto"], -) - -csharp_gapic_library( -- name = "videointelligence_csharp_gapic", -- srcs = [":videointelligence_proto_with_info"], +- name = "vision_csharp_gapic", +- srcs = [":vision_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "videointelligence_grpc_service_config.json", +- grpc_service_config = "vision_grpc_service_config.json", - deps = [ -- ":videointelligence_csharp_grpc", -- ":videointelligence_csharp_proto", +- ":vision_csharp_grpc", +- ":vision_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-videointelligence-v1p2beta1-csharp", +- name = "google-cloud-vision-v1-csharp", - deps = [ -- ":videointelligence_csharp_gapic", -- ":videointelligence_csharp_grpc", -- ":videointelligence_csharp_proto", +- ":vision_csharp_gapic", +- ":vision_csharp_grpc", +- ":vision_csharp_proto", - ], -) - -############################################################################## -# C++ -############################################################################## --# Put your C++ rules here -diff -urN a/google/cloud/videointelligence/v1p3beta1/BUILD.bazel b/google/cloud/videointelligence/v1p3beta1/BUILD.bazel ---- a/google/cloud/videointelligence/v1p3beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/videointelligence/v1p3beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,333 +0,0 @@ +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "cc_gapic_library", +- "cc_grpc_library", +- "cc_proto_library", +-) +- +-cc_proto_library( +- name = "vision_cc_proto", +- deps = [":vision_proto"], +-) +- +-cc_grpc_library( +- name = "vision_cc_grpc", +- srcs = [":vision_proto"], +- generate_mocks = True, +- grpc_only = True, +- deps = [":vision_cc_proto"], +-) +- +-cc_gapic_library( +- name = "vision_cc_gapic", +- src = ":vision_proto_with_info", +- package = "google.cloud.vision.v1", +- deps = [ +- ":vision_cc_grpc", +- ":vision_cc_proto", +- ], +-) +diff -urN a/google/cloud/vision/v1p1beta1/BUILD.bazel b/google/cloud/vision/v1p1beta1/BUILD.bazel +--- a/google/cloud/vision/v1p1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/vision/v1p1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,326 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -52531,25 +70022,27 @@ diff -urN a/google/cloud/videointelligence/v1p3beta1/BUILD.bazel b/google/cloud/ -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "videointelligence_proto", +- name = "vision_proto", - srcs = [ -- "video_intelligence.proto", +- "geometry.proto", +- "image_annotator.proto", +- "text_annotation.proto", +- "web_detection.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/longrunning:operations_proto", - "//google/rpc:status_proto", -- "@com_google_protobuf//:duration_proto", -- "@com_google_protobuf//:timestamp_proto", +- "//google/type:color_proto", +- "//google/type:latlng_proto", - ], -) - -proto_library_with_info( -- name = "videointelligence_proto_with_info", +- name = "vision_proto_with_info", - deps = [ -- ":videointelligence_proto", +- ":vision_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -52567,46 +70060,44 @@ diff -urN a/google/cloud/videointelligence/v1p3beta1/BUILD.bazel b/google/cloud/ -) - -java_proto_library( -- name = "videointelligence_java_proto", -- deps = [":videointelligence_proto"], +- name = "vision_java_proto", +- deps = [":vision_proto"], -) - -java_grpc_library( -- name = "videointelligence_java_grpc", -- srcs = [":videointelligence_proto"], -- deps = [":videointelligence_java_proto"], +- name = "vision_java_grpc", +- srcs = [":vision_proto"], +- deps = [":vision_java_proto"], -) - -java_gapic_library( -- name = "videointelligence_java_gapic", -- srcs = [":videointelligence_proto_with_info"], -- gapic_yaml = "videointelligence_gapic.yaml", -- grpc_service_config = "videointelligence_grpc_service_config.json", +- name = "vision_java_gapic", +- srcs = [":vision_proto_with_info"], +- grpc_service_config = "vision_grpc_service_config.json", - test_deps = [ -- ":videointelligence_java_grpc", +- ":vision_java_grpc", - ], - deps = [ -- ":videointelligence_java_proto", +- ":vision_java_proto", - ], -) - -java_gapic_test( -- name = "videointelligence_java_gapic_test_suite", +- name = "vision_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceServiceClientTest", -- "com.google.cloud.videointelligence.v1p3beta1.VideoIntelligenceServiceClientTest", +- "com.google.cloud.vision.v1p1beta1.ImageAnnotatorClientTest", - ], -- runtime_deps = [":videointelligence_java_gapic_test"], +- runtime_deps = [":vision_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-videointelligence-v1p3beta1-java", +- name = "google-cloud-vision-v1p1beta1-java", - deps = [ -- ":videointelligence_java_gapic", -- ":videointelligence_java_grpc", -- ":videointelligence_java_proto", -- ":videointelligence_proto", +- ":vision_java_gapic", +- ":vision_java_grpc", +- ":vision_java_proto", +- ":vision_proto", - ], -) - @@ -52622,46 +70113,43 @@ diff -urN a/google/cloud/videointelligence/v1p3beta1/BUILD.bazel b/google/cloud/ -) - -go_proto_library( -- name = "videointelligence_go_proto", +- name = "vision_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/videointelligence/v1p3beta1", -- protos = [":videointelligence_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1", +- protos = [":vision_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/longrunning:longrunning_go_proto", - "//google/rpc:status_go_proto", +- "//google/type:color_go_proto", +- "//google/type:latlng_go_proto", - ], -) - -go_gapic_library( -- name = "videointelligence_go_gapic", -- srcs = [":videointelligence_proto_with_info"], -- grpc_service_config = "videointelligence_grpc_service_config.json", -- importpath = "cloud.google.com/go/videointelligence/apiv1p3beta1;videointelligence", -- service_yaml = "//google/cloud/videointelligence:videointelligence_v1p3beta1.yaml", +- name = "vision_go_gapic", +- srcs = [":vision_proto_with_info"], +- grpc_service_config = "vision_grpc_service_config.json", +- importpath = "cloud.google.com/go/vision/apiv1p1beta1;vision", +- service_yaml = "//google/cloud/vision:vision_v1p1beta1.yaml", - deps = [ -- ":videointelligence_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", -- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- ":vision_go_proto", - ], -) - -go_test( -- name = "videointelligence_go_gapic_test", -- srcs = [":videointelligence_go_gapic_srcjar_test"], -- embed = [":videointelligence_go_gapic"], -- importpath = "cloud.google.com/go/videointelligence/apiv1p3beta1", +- name = "vision_go_gapic_test", +- srcs = [":vision_go_gapic_srcjar_test"], +- embed = [":vision_go_gapic"], +- importpath = "cloud.google.com/go/vision/apiv1p1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-videointelligence-v1p3beta1-go", +- name = "gapi-cloud-vision-v1p1beta1-go", - deps = [ -- ":videointelligence_go_gapic", -- ":videointelligence_go_gapic_srcjar-test.srcjar", -- ":videointelligence_go_proto", +- ":vision_go_gapic", +- ":vision_go_gapic_srcjar-test.srcjar", +- ":vision_go_proto", - ], -) - @@ -52675,15 +70163,15 @@ diff -urN a/google/cloud/videointelligence/v1p3beta1/BUILD.bazel b/google/cloud/ -) - -py_gapic_library( -- name = "videointelligence_py_gapic", -- srcs = [":videointelligence_proto"], -- grpc_service_config = "videointelligence_grpc_service_config.json", +- name = "vision_py_gapic", +- srcs = [":vision_proto"], +- grpc_service_config = "vision_grpc_service_config.json", -) - -py_gapic_assembly_pkg( -- name = "videointelligence-v1p3beta1-py", +- name = "vision-v1p1beta1-py", - deps = [ -- ":videointelligence_py_gapic", +- ":vision_py_gapic", - ], -) - @@ -52699,36 +70187,34 @@ diff -urN a/google/cloud/videointelligence/v1p3beta1/BUILD.bazel b/google/cloud/ -) - -php_proto_library( -- name = "videointelligence_php_proto", -- deps = [":videointelligence_proto"], +- name = "vision_php_proto", +- deps = [":vision_proto"], -) - -php_grpc_library( -- name = "videointelligence_php_grpc", -- srcs = [":videointelligence_proto"], -- deps = [":videointelligence_php_proto"], +- name = "vision_php_grpc", +- srcs = [":vision_proto"], +- deps = [":vision_php_proto"], -) - -php_gapic_library( -- name = "videointelligence_php_gapic", -- src = ":videointelligence_proto_with_info", -- gapic_yaml = "videointelligence_gapic.yaml", -- grpc_service_config = "videointelligence_grpc_service_config.json", -- package = "google.cloud.videointelligence.v1p3beta1", -- service_yaml = "//google/cloud/videointelligence:videointelligence_v1p3beta1.yaml", +- name = "vision_php_gapic", +- srcs = [":vision_proto_with_info"], +- gapic_yaml = "vision_gapic.yaml", +- grpc_service_config = "vision_grpc_service_config.json", - deps = [ -- ":videointelligence_php_grpc", -- ":videointelligence_php_proto", +- ":vision_php_grpc", +- ":vision_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-videointelligence-v1p3beta1-php", +- name = "google-cloud-vision-v1p1beta1-php", - deps = [ -- ":videointelligence_php_gapic", -- ":videointelligence_php_grpc", -- ":videointelligence_php_proto", +- ":vision_php_gapic", +- ":vision_php_grpc", +- ":vision_php_proto", - ], -) - @@ -52742,22 +70228,22 @@ diff -urN a/google/cloud/videointelligence/v1p3beta1/BUILD.bazel b/google/cloud/ -) - -nodejs_gapic_library( -- name = "videointelligence_nodejs_gapic", -- package_name = "@google-cloud/video-intelligence", -- src = ":videointelligence_proto_with_info", +- name = "vision_nodejs_gapic", +- package_name = "@google-cloud/vision", +- src = ":vision_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "videointelligence_grpc_service_config.json", -- main_service = "videointelligence", -- package = "google.cloud.videointelligence.v1p3beta1", -- service_yaml = "//google/cloud/videointelligence:videointelligence_v1p3beta1.yaml", +- grpc_service_config = "vision_grpc_service_config.json", +- main_service = "vision", +- package = "google.cloud.vision.v1p1beta1", +- service_yaml = "//google/cloud/vision:vision_v1p1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "videointelligence-v1p3beta1-nodejs", +- name = "vision-v1p1beta1-nodejs", - deps = [ -- ":videointelligence_nodejs_gapic", -- ":videointelligence_proto", +- ":vision_nodejs_gapic", +- ":vision_proto", - ], -) - @@ -52767,41 +70253,39 @@ diff -urN a/google/cloud/videointelligence/v1p3beta1/BUILD.bazel b/google/cloud/ -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "videointelligence_ruby_proto", -- deps = [":videointelligence_proto"], +- name = "vision_ruby_proto", +- deps = [":vision_proto"], -) - -ruby_grpc_library( -- name = "videointelligence_ruby_grpc", -- srcs = [":videointelligence_proto"], -- deps = [":videointelligence_ruby_proto"], +- name = "vision_ruby_grpc", +- srcs = [":vision_proto"], +- deps = [":vision_ruby_proto"], -) - --ruby_gapic_library( -- name = "videointelligence_ruby_gapic", -- src = ":videointelligence_proto_with_info", -- gapic_yaml = "videointelligence_gapic.yaml", -- package = "google.cloud.videointelligence.v1p3beta1", -- service_yaml = "//google/cloud/videointelligence:videointelligence_v1p3beta1.yaml", +-ruby_cloud_gapic_library( +- name = "vision_ruby_gapic", +- srcs = [":vision_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-vision-v1p1beta1"], - deps = [ -- ":videointelligence_ruby_grpc", -- ":videointelligence_ruby_proto", +- ":vision_ruby_grpc", +- ":vision_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-videointelligence-v1p3beta1-ruby", +- name = "google-cloud-vision-v1p1beta1-ruby", - deps = [ -- ":videointelligence_ruby_gapic", -- ":videointelligence_ruby_grpc", -- ":videointelligence_ruby_proto", +- ":vision_ruby_gapic", +- ":vision_ruby_grpc", +- ":vision_ruby_proto", - ], -) - @@ -52817,34 +70301,34 @@ diff -urN a/google/cloud/videointelligence/v1p3beta1/BUILD.bazel b/google/cloud/ -) - -csharp_proto_library( -- name = "videointelligence_csharp_proto", -- deps = [":videointelligence_proto"], +- name = "vision_csharp_proto", +- deps = [":vision_proto"], -) - -csharp_grpc_library( -- name = "videointelligence_csharp_grpc", -- srcs = [":videointelligence_proto"], -- deps = [":videointelligence_csharp_proto"], +- name = "vision_csharp_grpc", +- srcs = [":vision_proto"], +- deps = [":vision_csharp_proto"], -) - -csharp_gapic_library( -- name = "videointelligence_csharp_gapic", -- srcs = [":videointelligence_proto_with_info"], +- name = "vision_csharp_gapic", +- srcs = [":vision_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "videointelligence_grpc_service_config.json", +- grpc_service_config = "vision_grpc_service_config.json", - deps = [ -- ":videointelligence_csharp_grpc", -- ":videointelligence_csharp_proto", +- ":vision_csharp_grpc", +- ":vision_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-videointelligence-v1p3beta1-csharp", +- name = "google-cloud-vision-v1p1beta1-csharp", - deps = [ -- ":videointelligence_csharp_gapic", -- ":videointelligence_csharp_grpc", -- ":videointelligence_csharp_proto", +- ":vision_csharp_gapic", +- ":vision_csharp_grpc", +- ":vision_csharp_proto", - ], -) - @@ -52852,15 +70336,10 @@ diff -urN a/google/cloud/videointelligence/v1p3beta1/BUILD.bazel b/google/cloud/ -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/vision/BUILD.bazel b/google/cloud/vision/BUILD.bazel ---- a/google/cloud/vision/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/vision/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/cloud/vision/v1/BUILD.bazel b/google/cloud/vision/v1/BUILD.bazel ---- a/google/cloud/vision/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/vision/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,378 +0,0 @@ +diff -urN a/google/cloud/vision/v1p2beta1/BUILD.bazel b/google/cloud/vision/v1p2beta1/BUILD.bazel +--- a/google/cloud/vision/v1p2beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/vision/v1p2beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,333 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -52877,8 +70356,6 @@ diff -urN a/google/cloud/vision/v1/BUILD.bazel b/google/cloud/vision/v1/BUILD.ba - srcs = [ - "geometry.proto", - "image_annotator.proto", -- "product_search.proto", -- "product_search_service.proto", - "text_annotation.proto", - "web_detection.proto", - ], @@ -52886,13 +70363,10 @@ diff -urN a/google/cloud/vision/v1/BUILD.bazel b/google/cloud/vision/v1/BUILD.ba - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/api:resource_proto", - "//google/longrunning:operations_proto", - "//google/rpc:status_proto", - "//google/type:color_proto", - "//google/type:latlng_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) @@ -52944,15 +70418,14 @@ diff -urN a/google/cloud/vision/v1/BUILD.bazel b/google/cloud/vision/v1/BUILD.ba -java_gapic_test( - name = "vision_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.vision.v1.ImageAnnotatorClientTest", -- "com.google.cloud.vision.v1.ProductSearchClientTest", +- "com.google.cloud.vision.v1p2beta1.ImageAnnotatorClientTest", - ], - runtime_deps = [":vision_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-vision-v1-java", +- name = "google-cloud-vision-v1p2beta1-java", - deps = [ - ":vision_java_gapic", - ":vision_java_grpc", @@ -52975,7 +70448,7 @@ diff -urN a/google/cloud/vision/v1/BUILD.bazel b/google/cloud/vision/v1/BUILD.ba -go_proto_library( - name = "vision_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/vision/v1", +- importpath = "google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1", - protos = [":vision_proto"], - deps = [ - "//google/api:annotations_go_proto", @@ -52990,8 +70463,8 @@ diff -urN a/google/cloud/vision/v1/BUILD.bazel b/google/cloud/vision/v1/BUILD.ba - name = "vision_go_gapic", - srcs = [":vision_proto_with_info"], - grpc_service_config = "vision_grpc_service_config.json", -- importpath = "cloud.google.com/go/vision/apiv1;vision", -- service_yaml = "vision_v1.yaml", +- importpath = "cloud.google.com/go/vision/apiv1p2beta1;vision", +- service_yaml = "//google/cloud/vision:vision_v1p2beta1.yaml", - deps = [ - ":vision_go_proto", - "//google/longrunning:longrunning_go_proto", @@ -53004,12 +70477,12 @@ diff -urN a/google/cloud/vision/v1/BUILD.bazel b/google/cloud/vision/v1/BUILD.ba - name = "vision_go_gapic_test", - srcs = [":vision_go_gapic_srcjar_test"], - embed = [":vision_go_gapic"], -- importpath = "cloud.google.com/go/vision/apiv1", +- importpath = "cloud.google.com/go/vision/apiv1p2beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-vision-v1-go", +- name = "gapi-cloud-vision-v1p2beta1-go", - deps = [ - ":vision_go_gapic", - ":vision_go_gapic_srcjar-test.srcjar", @@ -53033,7 +70506,7 @@ diff -urN a/google/cloud/vision/v1/BUILD.bazel b/google/cloud/vision/v1/BUILD.ba -) - -py_gapic_assembly_pkg( -- name = "vision-v1-py", +- name = "vision-v1p2beta1-py", - deps = [ - ":vision_py_gapic", - ], @@ -53063,11 +70536,9 @@ diff -urN a/google/cloud/vision/v1/BUILD.bazel b/google/cloud/vision/v1/BUILD.ba - -php_gapic_library( - name = "vision_php_gapic", -- src = ":vision_proto_with_info", +- srcs = [":vision_proto_with_info"], - gapic_yaml = "vision_gapic.yaml", - grpc_service_config = "vision_grpc_service_config.json", -- package = "google.cloud.vision.v1", -- service_yaml = "vision_v1.yaml", - deps = [ - ":vision_php_grpc", - ":vision_php_proto", @@ -53076,7 +70547,7 @@ diff -urN a/google/cloud/vision/v1/BUILD.bazel b/google/cloud/vision/v1/BUILD.ba - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-vision-v1-php", +- name = "google-cloud-vision-v1p2beta1-php", - deps = [ - ":vision_php_gapic", - ":vision_php_grpc", @@ -53100,13 +70571,13 @@ diff -urN a/google/cloud/vision/v1/BUILD.bazel b/google/cloud/vision/v1/BUILD.ba - extra_protoc_parameters = ["metadata"], - grpc_service_config = "vision_grpc_service_config.json", - main_service = "vision", -- package = "google.cloud.vision.v1", -- service_yaml = "vision_v1.yaml", +- package = "google.cloud.vision.v1p2beta1", +- service_yaml = "//google/cloud/vision:vision_v1p2beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "vision-v1-nodejs", +- name = "vision-v1p2beta1-nodejs", - deps = [ - ":vision_nodejs_gapic", - ":vision_proto", @@ -53137,17 +70608,8 @@ diff -urN a/google/cloud/vision/v1/BUILD.bazel b/google/cloud/vision/v1/BUILD.ba - -ruby_cloud_gapic_library( - name = "vision_ruby_gapic", -- srcs = [":vision_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-vision-v1", -- "ruby-cloud-env-prefix=VISION", -- "ruby-cloud-product-url=https://cloud.google.com/vision", -- "ruby-cloud-api-id=vision.googleapis.com", -- "ruby-cloud-api-shortname=vision", -- ], -- grpc_service_config = "vision_grpc_service_config.json", -- ruby_cloud_description = "Cloud Vision API allows developers to easily integrate vision detection features within applications, including image labeling, face and landmark detection, optical character recognition (OCR), and tagging of explicit content.", -- ruby_cloud_title = "Cloud Vision V1", +- srcs = [":vision_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-vision-v1p2beta1"], - deps = [ - ":vision_ruby_grpc", - ":vision_ruby_proto", @@ -53156,7 +70618,7 @@ diff -urN a/google/cloud/vision/v1/BUILD.bazel b/google/cloud/vision/v1/BUILD.ba - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-vision-v1-ruby", +- name = "google-cloud-vision-v1p2beta1-ruby", - deps = [ - ":vision_ruby_gapic", - ":vision_ruby_grpc", @@ -53199,7 +70661,7 @@ diff -urN a/google/cloud/vision/v1/BUILD.bazel b/google/cloud/vision/v1/BUILD.ba - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-vision-v1-csharp", +- name = "google-cloud-vision-v1p2beta1-csharp", - deps = [ - ":vision_csharp_gapic", - ":vision_csharp_grpc", @@ -53210,39 +70672,11 @@ diff -urN a/google/cloud/vision/v1/BUILD.bazel b/google/cloud/vision/v1/BUILD.ba -############################################################################## -# C++ -############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "cc_gapic_library", -- "cc_grpc_library", -- "cc_proto_library", --) -- --cc_proto_library( -- name = "vision_cc_proto", -- deps = [":vision_proto"], --) -- --cc_grpc_library( -- name = "vision_cc_grpc", -- srcs = [":vision_proto"], -- generate_mocks = True, -- grpc_only = True, -- deps = [":vision_cc_proto"], --) -- --cc_gapic_library( -- name = "vision_cc_gapic", -- src = ":vision_proto_with_info", -- package = "google.cloud.vision.v1", -- deps = [ -- ":vision_cc_grpc", -- ":vision_cc_proto", -- ], --) -diff -urN a/google/cloud/vision/v1p1beta1/BUILD.bazel b/google/cloud/vision/v1p1beta1/BUILD.bazel ---- a/google/cloud/vision/v1p1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/vision/v1p1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,330 +0,0 @@ +-# Put your C++ rules here +diff -urN a/google/cloud/vision/v1p3beta1/BUILD.bazel b/google/cloud/vision/v1p3beta1/BUILD.bazel +--- a/google/cloud/vision/v1p3beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/vision/v1p3beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,349 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -53259,6 +70693,8 @@ diff -urN a/google/cloud/vision/v1p1beta1/BUILD.bazel b/google/cloud/vision/v1p1 - srcs = [ - "geometry.proto", - "image_annotator.proto", +- "product_search.proto", +- "product_search_service.proto", - "text_annotation.proto", - "web_detection.proto", - ], @@ -53266,9 +70702,14 @@ diff -urN a/google/cloud/vision/v1p1beta1/BUILD.bazel b/google/cloud/vision/v1p1 - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/longrunning:operations_proto", - "//google/rpc:status_proto", - "//google/type:color_proto", - "//google/type:latlng_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", - ], -) - @@ -53306,6 +70747,7 @@ diff -urN a/google/cloud/vision/v1p1beta1/BUILD.bazel b/google/cloud/vision/v1p1 -java_gapic_library( - name = "vision_java_gapic", - srcs = [":vision_proto_with_info"], +- gapic_yaml = "vision_gapic.yaml", - grpc_service_config = "vision_grpc_service_config.json", - test_deps = [ - ":vision_java_grpc", @@ -53318,14 +70760,15 @@ diff -urN a/google/cloud/vision/v1p1beta1/BUILD.bazel b/google/cloud/vision/v1p1 -java_gapic_test( - name = "vision_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.vision.v1p1beta1.ImageAnnotatorClientTest", +- "com.google.cloud.vision.v1p3beta1.ImageAnnotatorClientTest", +- "com.google.cloud.vision.v1p3beta1.ProductSearchClientTest", - ], - runtime_deps = [":vision_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-vision-v1p1beta1-java", +- name = "google-cloud-vision-v1p3beta1-java", - deps = [ - ":vision_java_gapic", - ":vision_java_grpc", @@ -53348,10 +70791,11 @@ diff -urN a/google/cloud/vision/v1p1beta1/BUILD.bazel b/google/cloud/vision/v1p1 -go_proto_library( - name = "vision_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/vision/v1p1beta1", +- importpath = "google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1", - protos = [":vision_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/longrunning:longrunning_go_proto", - "//google/rpc:status_go_proto", - "//google/type:color_go_proto", - "//google/type:latlng_go_proto", @@ -53362,10 +70806,13 @@ diff -urN a/google/cloud/vision/v1p1beta1/BUILD.bazel b/google/cloud/vision/v1p1 - name = "vision_go_gapic", - srcs = [":vision_proto_with_info"], - grpc_service_config = "vision_grpc_service_config.json", -- importpath = "cloud.google.com/go/vision/apiv1p1beta1;vision", -- service_yaml = "//google/cloud/vision:vision_v1p1beta1.yaml", +- importpath = "cloud.google.com/go/vision/apiv1p3beta1;vision", +- service_yaml = "//google/cloud/vision:vision_v1p3beta1.yaml", - deps = [ - ":vision_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", - ], -) - @@ -53373,12 +70820,12 @@ diff -urN a/google/cloud/vision/v1p1beta1/BUILD.bazel b/google/cloud/vision/v1p1 - name = "vision_go_gapic_test", - srcs = [":vision_go_gapic_srcjar_test"], - embed = [":vision_go_gapic"], -- importpath = "cloud.google.com/go/vision/apiv1p1beta1", +- importpath = "cloud.google.com/go/vision/apiv1p3beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-vision-v1p1beta1-go", +- name = "gapi-cloud-vision-v1p3beta1-go", - deps = [ - ":vision_go_gapic", - ":vision_go_gapic_srcjar-test.srcjar", @@ -53402,7 +70849,7 @@ diff -urN a/google/cloud/vision/v1p1beta1/BUILD.bazel b/google/cloud/vision/v1p1 -) - -py_gapic_assembly_pkg( -- name = "vision-v1p1beta1-py", +- name = "vision-v1p3beta1-py", - deps = [ - ":vision_py_gapic", - ], @@ -53432,11 +70879,10 @@ diff -urN a/google/cloud/vision/v1p1beta1/BUILD.bazel b/google/cloud/vision/v1p1 - -php_gapic_library( - name = "vision_php_gapic", -- src = ":vision_proto_with_info", +- srcs = [":vision_proto_with_info"], - gapic_yaml = "vision_gapic.yaml", - grpc_service_config = "vision_grpc_service_config.json", -- package = "google.cloud.vision.v1p1beta1", -- service_yaml = "//google/cloud/vision:vision_v1p1beta1.yaml", +- service_yaml = "//google/cloud/vision:vision_v1p3beta1.yaml", - deps = [ - ":vision_php_grpc", - ":vision_php_proto", @@ -53445,7 +70891,7 @@ diff -urN a/google/cloud/vision/v1p1beta1/BUILD.bazel b/google/cloud/vision/v1p1 - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-vision-v1p1beta1-php", +- name = "google-cloud-vision-v1p3beta1-php", - deps = [ - ":vision_php_gapic", - ":vision_php_grpc", @@ -53469,13 +70915,13 @@ diff -urN a/google/cloud/vision/v1p1beta1/BUILD.bazel b/google/cloud/vision/v1p1 - extra_protoc_parameters = ["metadata"], - grpc_service_config = "vision_grpc_service_config.json", - main_service = "vision", -- package = "google.cloud.vision.v1p1beta1", -- service_yaml = "//google/cloud/vision:vision_v1p1beta1.yaml", +- package = "google.cloud.vision.v1p3beta1", +- service_yaml = "//google/cloud/vision:vision_v1p3beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "vision-v1p1beta1-nodejs", +- name = "vision-v1p3beta1-nodejs", - deps = [ - ":vision_nodejs_gapic", - ":vision_proto", @@ -53487,8 +70933,8 @@ diff -urN a/google/cloud/vision/v1p1beta1/BUILD.bazel b/google/cloud/vision/v1p1 -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -53504,12 +70950,19 @@ diff -urN a/google/cloud/vision/v1p1beta1/BUILD.bazel b/google/cloud/vision/v1p1 - deps = [":vision_ruby_proto"], -) - --ruby_gapic_library( +-ruby_cloud_gapic_library( - name = "vision_ruby_gapic", -- src = ":vision_proto_with_info", -- gapic_yaml = "vision_gapic.yaml", -- package = "google.cloud.vision.v1p1beta1", -- service_yaml = "//google/cloud/vision:vision_v1p1beta1.yaml", +- srcs = [":vision_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-vision-v1p3beta1", +- "ruby-cloud-env-prefix=VISION", +- "ruby-cloud-product-url=https://cloud.google.com/vision", +- "ruby-cloud-api-id=vision.googleapis.com", +- "ruby-cloud-api-shortname=vision", +- ], +- grpc_service_config = "vision_grpc_service_config.json", +- ruby_cloud_description = "Cloud Vision API allows developers to easily integrate vision detection features within applications, including image labeling, face and landmark detection, optical character recognition (OCR), and tagging of explicit content.", +- ruby_cloud_title = "Cloud Vision V1p3beta1", - deps = [ - ":vision_ruby_grpc", - ":vision_ruby_proto", @@ -53518,7 +70971,7 @@ diff -urN a/google/cloud/vision/v1p1beta1/BUILD.bazel b/google/cloud/vision/v1p1 - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-vision-v1p1beta1-ruby", +- name = "google-cloud-vision-v1p3beta1-ruby", - deps = [ - ":vision_ruby_gapic", - ":vision_ruby_grpc", @@ -53561,7 +71014,7 @@ diff -urN a/google/cloud/vision/v1p1beta1/BUILD.bazel b/google/cloud/vision/v1p1 - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-vision-v1p1beta1-csharp", +- name = "google-cloud-vision-v1p3beta1-csharp", - deps = [ - ":vision_csharp_gapic", - ":vision_csharp_grpc", @@ -53573,10 +71026,10 @@ diff -urN a/google/cloud/vision/v1p1beta1/BUILD.bazel b/google/cloud/vision/v1p1 -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/vision/v1p2beta1/BUILD.bazel b/google/cloud/vision/v1p2beta1/BUILD.bazel ---- a/google/cloud/vision/v1p2beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/vision/v1p2beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,337 +0,0 @@ +diff -urN a/google/cloud/vision/v1p4beta1/BUILD.bazel b/google/cloud/vision/v1p4beta1/BUILD.bazel +--- a/google/cloud/vision/v1p4beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/vision/v1p4beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,341 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -53591,8 +71044,11 @@ diff -urN a/google/cloud/vision/v1p2beta1/BUILD.bazel b/google/cloud/vision/v1p2 -proto_library( - name = "vision_proto", - srcs = [ +- "face.proto", - "geometry.proto", - "image_annotator.proto", +- "product_search.proto", +- "product_search_service.proto", - "text_annotation.proto", - "web_detection.proto", - ], @@ -53600,10 +71056,13 @@ diff -urN a/google/cloud/vision/v1p2beta1/BUILD.bazel b/google/cloud/vision/v1p2 - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", +- "//google/api:resource_proto", - "//google/longrunning:operations_proto", - "//google/rpc:status_proto", - "//google/type:color_proto", - "//google/type:latlng_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) @@ -53655,14 +71114,15 @@ diff -urN a/google/cloud/vision/v1p2beta1/BUILD.bazel b/google/cloud/vision/v1p2 -java_gapic_test( - name = "vision_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.vision.v1p2beta1.ImageAnnotatorClientTest", +- "com.google.cloud.vision.v1p4beta1.ImageAnnotatorClientTest", +- "com.google.cloud.vision.v1p4beta1.ProductSearchClientTest", - ], - runtime_deps = [":vision_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-vision-v1p2beta1-java", +- name = "google-cloud-vision-v1p4beta1-java", - deps = [ - ":vision_java_gapic", - ":vision_java_grpc", @@ -53685,7 +71145,7 @@ diff -urN a/google/cloud/vision/v1p2beta1/BUILD.bazel b/google/cloud/vision/v1p2 -go_proto_library( - name = "vision_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/vision/v1p2beta1", +- importpath = "google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1", - protos = [":vision_proto"], - deps = [ - "//google/api:annotations_go_proto", @@ -53700,8 +71160,8 @@ diff -urN a/google/cloud/vision/v1p2beta1/BUILD.bazel b/google/cloud/vision/v1p2 - name = "vision_go_gapic", - srcs = [":vision_proto_with_info"], - grpc_service_config = "vision_grpc_service_config.json", -- importpath = "cloud.google.com/go/vision/apiv1p2beta1;vision", -- service_yaml = "//google/cloud/vision:vision_v1p2beta1.yaml", +- importpath = "cloud.google.com/go/vision/apiv1p4beta1;vision", +- service_yaml = "//google/cloud/vision:vision_v1p4beta1.yaml", - deps = [ - ":vision_go_proto", - "//google/longrunning:longrunning_go_proto", @@ -53714,12 +71174,12 @@ diff -urN a/google/cloud/vision/v1p2beta1/BUILD.bazel b/google/cloud/vision/v1p2 - name = "vision_go_gapic_test", - srcs = [":vision_go_gapic_srcjar_test"], - embed = [":vision_go_gapic"], -- importpath = "cloud.google.com/go/vision/apiv1p2beta1", +- importpath = "cloud.google.com/go/vision/apiv1p4beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-vision-v1p2beta1-go", +- name = "gapi-cloud-vision-v1p4beta1-go", - deps = [ - ":vision_go_gapic", - ":vision_go_gapic_srcjar-test.srcjar", @@ -53743,7 +71203,7 @@ diff -urN a/google/cloud/vision/v1p2beta1/BUILD.bazel b/google/cloud/vision/v1p2 -) - -py_gapic_assembly_pkg( -- name = "vision-v1p2beta1-py", +- name = "vision-v1p4beta1-py", - deps = [ - ":vision_py_gapic", - ], @@ -53773,11 +71233,10 @@ diff -urN a/google/cloud/vision/v1p2beta1/BUILD.bazel b/google/cloud/vision/v1p2 - -php_gapic_library( - name = "vision_php_gapic", -- src = ":vision_proto_with_info", +- srcs = [":vision_proto_with_info"], - gapic_yaml = "vision_gapic.yaml", - grpc_service_config = "vision_grpc_service_config.json", -- package = "google.cloud.vision.v1p2beta1", -- service_yaml = "//google/cloud/vision:vision_v1p2beta1.yaml", +- service_yaml = "//google/cloud/vision:vision_v1p4beta1.yaml", - deps = [ - ":vision_php_grpc", - ":vision_php_proto", @@ -53786,7 +71245,7 @@ diff -urN a/google/cloud/vision/v1p2beta1/BUILD.bazel b/google/cloud/vision/v1p2 - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-vision-v1p2beta1-php", +- name = "google-cloud-vision-v1p4beta1-php", - deps = [ - ":vision_php_gapic", - ":vision_php_grpc", @@ -53810,13 +71269,13 @@ diff -urN a/google/cloud/vision/v1p2beta1/BUILD.bazel b/google/cloud/vision/v1p2 - extra_protoc_parameters = ["metadata"], - grpc_service_config = "vision_grpc_service_config.json", - main_service = "vision", -- package = "google.cloud.vision.v1p2beta1", -- service_yaml = "//google/cloud/vision:vision_v1p2beta1.yaml", +- package = "google.cloud.vision.v1p4beta1", +- service_yaml = "//google/cloud/vision:vision_v1p4beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "vision-v1p2beta1-nodejs", +- name = "vision-v1p4beta1-nodejs", - deps = [ - ":vision_nodejs_gapic", - ":vision_proto", @@ -53829,7 +71288,7 @@ diff -urN a/google/cloud/vision/v1p2beta1/BUILD.bazel b/google/cloud/vision/v1p2 -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -53845,12 +71304,10 @@ diff -urN a/google/cloud/vision/v1p2beta1/BUILD.bazel b/google/cloud/vision/v1p2 - deps = [":vision_ruby_proto"], -) - --ruby_gapic_library( +-ruby_cloud_gapic_library( - name = "vision_ruby_gapic", -- src = ":vision_proto_with_info", -- gapic_yaml = "vision_gapic.yaml", -- package = "google.cloud.vision.v1p2beta1", -- service_yaml = "//google/cloud/vision:vision_v1p2beta1.yaml", +- srcs = [":vision_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-vision-v1p4beta1"], - deps = [ - ":vision_ruby_grpc", - ":vision_ruby_proto", @@ -53859,7 +71316,7 @@ diff -urN a/google/cloud/vision/v1p2beta1/BUILD.bazel b/google/cloud/vision/v1p2 - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-vision-v1p2beta1-ruby", +- name = "google-cloud-vision-v1p4beta1-ruby", - deps = [ - ":vision_ruby_gapic", - ":vision_ruby_grpc", @@ -53902,7 +71359,7 @@ diff -urN a/google/cloud/vision/v1p2beta1/BUILD.bazel b/google/cloud/vision/v1p2 - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-vision-v1p2beta1-csharp", +- name = "google-cloud-vision-v1p4beta1-csharp", - deps = [ - ":vision_csharp_gapic", - ":vision_csharp_grpc", @@ -53914,11 +71371,20 @@ diff -urN a/google/cloud/vision/v1p2beta1/BUILD.bazel b/google/cloud/vision/v1p2 -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/vision/v1p3beta1/BUILD.bazel b/google/cloud/vision/v1p3beta1/BUILD.bazel ---- a/google/cloud/vision/v1p3beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/vision/v1p3beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,350 +0,0 @@ +diff -urN a/google/cloud/vpcaccess/v1/BUILD.bazel b/google/cloud/vpcaccess/v1/BUILD.bazel +--- a/google/cloud/vpcaccess/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/vpcaccess/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,345 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -53930,14 +71396,9 @@ diff -urN a/google/cloud/vision/v1p3beta1/BUILD.bazel b/google/cloud/vision/v1p3 -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "vision_proto", +- name = "vpcaccess_proto", - srcs = [ -- "geometry.proto", -- "image_annotator.proto", -- "product_search.proto", -- "product_search_service.proto", -- "text_annotation.proto", -- "web_detection.proto", +- "vpc_access.proto", - ], - deps = [ - "//google/api:annotations_proto", @@ -53945,19 +71406,14 @@ diff -urN a/google/cloud/vision/v1p3beta1/BUILD.bazel b/google/cloud/vision/v1p3 - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "//google/longrunning:operations_proto", -- "//google/rpc:status_proto", -- "//google/type:color_proto", -- "//google/type:latlng_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "vision_proto_with_info", +- name = "vpcaccess_proto_with_info", - deps = [ -- ":vision_proto", +- ":vpcaccess_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -53975,46 +71431,44 @@ diff -urN a/google/cloud/vision/v1p3beta1/BUILD.bazel b/google/cloud/vision/v1p3 -) - -java_proto_library( -- name = "vision_java_proto", -- deps = [":vision_proto"], +- name = "vpcaccess_java_proto", +- deps = [":vpcaccess_proto"], -) - -java_grpc_library( -- name = "vision_java_grpc", -- srcs = [":vision_proto"], -- deps = [":vision_java_proto"], +- name = "vpcaccess_java_grpc", +- srcs = [":vpcaccess_proto"], +- deps = [":vpcaccess_java_proto"], -) - -java_gapic_library( -- name = "vision_java_gapic", -- srcs = [":vision_proto_with_info"], -- gapic_yaml = "vision_gapic.yaml", -- grpc_service_config = "vision_grpc_service_config.json", +- name = "vpcaccess_java_gapic", +- srcs = [":vpcaccess_proto_with_info"], +- grpc_service_config = "vpcaccess_grpc_service_config.json", - test_deps = [ -- ":vision_java_grpc", +- ":vpcaccess_java_grpc", - ], - deps = [ -- ":vision_java_proto", +- ":vpcaccess_java_proto", - ], -) - -java_gapic_test( -- name = "vision_java_gapic_test_suite", +- name = "vpcaccess_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.vision.v1p3beta1.ImageAnnotatorClientTest", -- "com.google.cloud.vision.v1p3beta1.ProductSearchClientTest", +- "com.google.cloud.vpcaccess.v1.VpcAccessServiceClientTest", - ], -- runtime_deps = [":vision_java_gapic_test"], +- runtime_deps = [":vpcaccess_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-vision-v1p3beta1-java", +- name = "google-cloud-vpcaccess-v1-java", - deps = [ -- ":vision_java_gapic", -- ":vision_java_grpc", -- ":vision_java_proto", -- ":vision_proto", +- ":vpcaccess_java_gapic", +- ":vpcaccess_java_grpc", +- ":vpcaccess_java_proto", +- ":vpcaccess_proto", - ], -) - @@ -54030,27 +71484,25 @@ diff -urN a/google/cloud/vision/v1p3beta1/BUILD.bazel b/google/cloud/vision/v1p3 -) - -go_proto_library( -- name = "vision_go_proto", +- name = "vpcaccess_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/vision/v1p3beta1", -- protos = [":vision_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/vpcaccess/v1", +- protos = [":vpcaccess_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/longrunning:longrunning_go_proto", -- "//google/rpc:status_go_proto", -- "//google/type:color_go_proto", -- "//google/type:latlng_go_proto", - ], -) - -go_gapic_library( -- name = "vision_go_gapic", -- srcs = [":vision_proto_with_info"], -- grpc_service_config = "vision_grpc_service_config.json", -- importpath = "cloud.google.com/go/vision/apiv1p3beta1;vision", -- service_yaml = "//google/cloud/vision:vision_v1p3beta1.yaml", +- name = "vpcaccess_go_gapic", +- srcs = [":vpcaccess_proto_with_info"], +- grpc_service_config = "vpcaccess_grpc_service_config.json", +- importpath = "cloud.google.com/go/vpcaccess/apiv1;vpcaccess", +- metadata = True, +- service_yaml = "vpcaccess_v1.yaml", - deps = [ -- ":vision_go_proto", +- ":vpcaccess_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", @@ -54058,19 +71510,20 @@ diff -urN a/google/cloud/vision/v1p3beta1/BUILD.bazel b/google/cloud/vision/v1p3 -) - -go_test( -- name = "vision_go_gapic_test", -- srcs = [":vision_go_gapic_srcjar_test"], -- embed = [":vision_go_gapic"], -- importpath = "cloud.google.com/go/vision/apiv1p3beta1", +- name = "vpcaccess_go_gapic_test", +- srcs = [":vpcaccess_go_gapic_srcjar_test"], +- embed = [":vpcaccess_go_gapic"], +- importpath = "cloud.google.com/go/vpcaccess/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-vision-v1p3beta1-go", +- name = "gapi-cloud-vpcaccess-v1-go", - deps = [ -- ":vision_go_gapic", -- ":vision_go_gapic_srcjar-test.srcjar", -- ":vision_go_proto", +- ":vpcaccess_go_gapic", +- ":vpcaccess_go_gapic_srcjar-metadata.srcjar", +- ":vpcaccess_go_gapic_srcjar-test.srcjar", +- ":vpcaccess_go_proto", - ], -) - @@ -54084,15 +71537,17 @@ diff -urN a/google/cloud/vision/v1p3beta1/BUILD.bazel b/google/cloud/vision/v1p3 -) - -py_gapic_library( -- name = "vision_py_gapic", -- srcs = [":vision_proto"], -- grpc_service_config = "vision_grpc_service_config.json", +- name = "vpcaccess_py_gapic", +- srcs = [":vpcaccess_proto"], +- grpc_service_config = "vpcaccess_grpc_service_config.json", +- opt_args = ["warehouse-package-name=google-cloud-vpc-access"] -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "vision-v1p3beta1-py", +- name = "vpcaccess-v1-py", - deps = [ -- ":vision_py_gapic", +- ":vpcaccess_py_gapic", - ], -) - @@ -54108,36 +71563,34 @@ diff -urN a/google/cloud/vision/v1p3beta1/BUILD.bazel b/google/cloud/vision/v1p3 -) - -php_proto_library( -- name = "vision_php_proto", -- deps = [":vision_proto"], +- name = "vpcaccess_php_proto", +- deps = [":vpcaccess_proto"], -) - -php_grpc_library( -- name = "vision_php_grpc", -- srcs = [":vision_proto"], -- deps = [":vision_php_proto"], +- name = "vpcaccess_php_grpc", +- srcs = [":vpcaccess_proto"], +- deps = [":vpcaccess_php_proto"], -) - -php_gapic_library( -- name = "vision_php_gapic", -- src = ":vision_proto_with_info", -- gapic_yaml = "vision_gapic.yaml", -- grpc_service_config = "vision_grpc_service_config.json", -- package = "google.cloud.vision.v1p3beta1", -- service_yaml = "//google/cloud/vision:vision_v1p3beta1.yaml", +- name = "vpcaccess_php_gapic", +- srcs = [":vpcaccess_proto_with_info"], +- grpc_service_config = "vpcaccess_grpc_service_config.json", +- service_yaml = "vpcaccess_v1.yaml", - deps = [ -- ":vision_php_grpc", -- ":vision_php_proto", +- ":vpcaccess_php_grpc", +- ":vpcaccess_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-vision-v1p3beta1-php", +- name = "google-cloud-vpcaccess-v1-php", - deps = [ -- ":vision_php_gapic", -- ":vision_php_grpc", -- ":vision_php_proto", +- ":vpcaccess_php_gapic", +- ":vpcaccess_php_grpc", +- ":vpcaccess_php_proto", - ], -) - @@ -54151,22 +71604,21 @@ diff -urN a/google/cloud/vision/v1p3beta1/BUILD.bazel b/google/cloud/vision/v1p3 -) - -nodejs_gapic_library( -- name = "vision_nodejs_gapic", -- package_name = "@google-cloud/vision", -- src = ":vision_proto_with_info", +- name = "vpcaccess_nodejs_gapic", +- package_name = "@google-cloud/vpcaccess", +- src = ":vpcaccess_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "vision_grpc_service_config.json", -- main_service = "vision", -- package = "google.cloud.vision.v1p3beta1", -- service_yaml = "//google/cloud/vision:vision_v1p3beta1.yaml", +- grpc_service_config = "vpcaccess_grpc_service_config.json", +- package = "google.cloud.vpcaccess.v1", +- service_yaml = "vpcaccess_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "vision-v1p3beta1-nodejs", +- name = "vpcaccess-v1-nodejs", - deps = [ -- ":vision_nodejs_gapic", -- ":vision_proto", +- ":vpcaccess_nodejs_gapic", +- ":vpcaccess_proto", - ], -) - @@ -54175,49 +71627,49 @@ diff -urN a/google/cloud/vision/v1p3beta1/BUILD.bazel b/google/cloud/vision/v1p3 -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "vision_ruby_proto", -- deps = [":vision_proto"], +- name = "vpcaccess_ruby_proto", +- deps = [":vpcaccess_proto"], -) - -ruby_grpc_library( -- name = "vision_ruby_grpc", -- srcs = [":vision_proto"], -- deps = [":vision_ruby_proto"], +- name = "vpcaccess_ruby_grpc", +- srcs = [":vpcaccess_proto"], +- deps = [":vpcaccess_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "vision_ruby_gapic", -- srcs = [":vision_proto_with_info"], +- name = "vpcaccess_ruby_gapic", +- srcs = [":vpcaccess_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-vision-v1p3beta1", -- "ruby-cloud-env-prefix=VISION", -- "ruby-cloud-product-url=https://cloud.google.com/vision", -- "ruby-cloud-api-id=vision.googleapis.com", -- "ruby-cloud-api-shortname=vision", +- "ruby-cloud-gem-name=google-cloud-vpc_access-v1", +- "ruby-cloud-env-prefix=VPC_ACCESS", +- "ruby-cloud-product-url=https://cloud.google.com/vpc/docs/serverless-vpc-access", +- "ruby-cloud-api-id=vpcaccess.googleapis.com", +- "ruby-cloud-api-shortname=vpcaccess", - ], -- grpc_service_config = "vision_grpc_service_config.json", -- ruby_cloud_description = "Cloud Vision API allows developers to easily integrate vision detection features within applications, including image labeling, face and landmark detection, optical character recognition (OCR), and tagging of explicit content.", -- ruby_cloud_title = "Cloud Vision V1p3beta1", +- grpc_service_config = "vpcaccess_grpc_service_config.json", +- ruby_cloud_description = "Serverless VPC Access enables you to connect from a serverless environment on Google Cloud (Cloud Run, Cloud Functions, or the App Engine standard environment) directly to your VPC network. This connection makes it possible for your serverless environment to access Compute Engine VM instances, Memorystore instances, and any other resources with an internal IP address.", +- ruby_cloud_title = "Serverless VPC Access V1", - deps = [ -- ":vision_ruby_grpc", -- ":vision_ruby_proto", +- ":vpcaccess_ruby_grpc", +- ":vpcaccess_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-vision-v1p3beta1-ruby", +- name = "google-cloud-vpcaccess-v1-ruby", - deps = [ -- ":vision_ruby_gapic", -- ":vision_ruby_grpc", -- ":vision_ruby_proto", +- ":vpcaccess_ruby_gapic", +- ":vpcaccess_ruby_grpc", +- ":vpcaccess_ruby_proto", - ], -) - @@ -54233,34 +71685,34 @@ diff -urN a/google/cloud/vision/v1p3beta1/BUILD.bazel b/google/cloud/vision/v1p3 -) - -csharp_proto_library( -- name = "vision_csharp_proto", -- deps = [":vision_proto"], +- name = "vpcaccess_csharp_proto", +- deps = [":vpcaccess_proto"], -) - -csharp_grpc_library( -- name = "vision_csharp_grpc", -- srcs = [":vision_proto"], -- deps = [":vision_csharp_proto"], +- name = "vpcaccess_csharp_grpc", +- srcs = [":vpcaccess_proto"], +- deps = [":vpcaccess_csharp_proto"], -) - -csharp_gapic_library( -- name = "vision_csharp_gapic", -- srcs = [":vision_proto_with_info"], +- name = "vpcaccess_csharp_gapic", +- srcs = [":vpcaccess_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "vision_grpc_service_config.json", +- grpc_service_config = "vpcaccess_grpc_service_config.json", - deps = [ -- ":vision_csharp_grpc", -- ":vision_csharp_proto", +- ":vpcaccess_csharp_grpc", +- ":vpcaccess_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-vision-v1p3beta1-csharp", +- name = "google-cloud-vpcaccess-v1-csharp", - deps = [ -- ":vision_csharp_gapic", -- ":vision_csharp_grpc", -- ":vision_csharp_proto", +- ":vpcaccess_csharp_gapic", +- ":vpcaccess_csharp_grpc", +- ":vpcaccess_csharp_proto", - ], -) - @@ -54268,10 +71720,10 @@ diff -urN a/google/cloud/vision/v1p3beta1/BUILD.bazel b/google/cloud/vision/v1p3 -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/vision/v1p4beta1/BUILD.bazel b/google/cloud/vision/v1p4beta1/BUILD.bazel ---- a/google/cloud/vision/v1p4beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/vision/v1p4beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,344 +0,0 @@ +diff -urN a/google/cloud/webrisk/v1/BUILD.bazel b/google/cloud/webrisk/v1/BUILD.bazel +--- a/google/cloud/webrisk/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/webrisk/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,328 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -54284,35 +71736,23 @@ diff -urN a/google/cloud/vision/v1p4beta1/BUILD.bazel b/google/cloud/vision/v1p4 -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "vision_proto", +- name = "webrisk_proto", - srcs = [ -- "face.proto", -- "geometry.proto", -- "image_annotator.proto", -- "product_search.proto", -- "product_search_service.proto", -- "text_annotation.proto", -- "web_detection.proto", +- "webrisk.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "//google/longrunning:operations_proto", -- "//google/rpc:status_proto", -- "//google/type:color_proto", -- "//google/type:latlng_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "vision_proto_with_info", +- name = "webrisk_proto_with_info", - deps = [ -- ":vision_proto", +- ":webrisk_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -54330,46 +71770,45 @@ diff -urN a/google/cloud/vision/v1p4beta1/BUILD.bazel b/google/cloud/vision/v1p4 -) - -java_proto_library( -- name = "vision_java_proto", -- deps = [":vision_proto"], +- name = "webrisk_java_proto", +- deps = [":webrisk_proto"], -) - -java_grpc_library( -- name = "vision_java_grpc", -- srcs = [":vision_proto"], -- deps = [":vision_java_proto"], +- name = "webrisk_java_grpc", +- srcs = [":webrisk_proto"], +- deps = [":webrisk_java_proto"], -) - -java_gapic_library( -- name = "vision_java_gapic", -- srcs = [":vision_proto_with_info"], -- gapic_yaml = "vision_gapic.yaml", -- grpc_service_config = "vision_grpc_service_config.json", +- name = "webrisk_java_gapic", +- srcs = [":webrisk_proto_with_info"], +- gapic_yaml = "webrisk_gapic.yaml", +- grpc_service_config = "webrisk_grpc_service_config.json", - test_deps = [ -- ":vision_java_grpc", +- ":webrisk_java_grpc", - ], - deps = [ -- ":vision_java_proto", +- ":webrisk_java_proto", - ], -) - -java_gapic_test( -- name = "vision_java_gapic_test_suite", +- name = "webrisk_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.vision.v1p4beta1.ImageAnnotatorClientTest", -- "com.google.cloud.vision.v1p4beta1.ProductSearchClientTest", +- "com.google.cloud.webrisk.v1.WebRiskServiceClientTest", - ], -- runtime_deps = [":vision_java_gapic_test"], +- runtime_deps = [":webrisk_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-vision-v1p4beta1-java", +- name = "google-cloud-webrisk-v1-java", - deps = [ -- ":vision_java_gapic", -- ":vision_java_grpc", -- ":vision_java_proto", -- ":vision_proto", +- ":webrisk_java_gapic", +- ":webrisk_java_grpc", +- ":webrisk_java_proto", +- ":webrisk_proto", - ], -) - @@ -54385,53 +71824,47 @@ diff -urN a/google/cloud/vision/v1p4beta1/BUILD.bazel b/google/cloud/vision/v1p4 -) - -go_proto_library( -- name = "vision_go_proto", +- name = "webrisk_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/vision/v1p4beta1", -- protos = [":vision_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/webrisk/v1", +- protos = [":webrisk_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "//google/rpc:status_go_proto", -- "//google/type:color_go_proto", -- "//google/type:latlng_go_proto", - ], -) - -go_gapic_library( -- name = "vision_go_gapic", -- srcs = [":vision_proto_with_info"], -- grpc_service_config = "vision_grpc_service_config.json", -- importpath = "cloud.google.com/go/vision/apiv1p4beta1;vision", -- service_yaml = "//google/cloud/vision:vision_v1p4beta1.yaml", +- name = "webrisk_go_gapic", +- srcs = [":webrisk_proto_with_info"], +- grpc_service_config = "webrisk_grpc_service_config.json", +- importpath = "cloud.google.com/go/webrisk/apiv1;webrisk", +- service_yaml = "webrisk_v1.yaml", - deps = [ -- ":vision_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- ":webrisk_go_proto", - ], -) - -go_test( -- name = "vision_go_gapic_test", -- srcs = [":vision_go_gapic_srcjar_test"], -- embed = [":vision_go_gapic"], -- importpath = "cloud.google.com/go/vision/apiv1p4beta1", +- name = "webrisk_go_gapic_test", +- srcs = [":webrisk_go_gapic_srcjar_test"], +- embed = [":webrisk_go_gapic"], +- importpath = "cloud.google.com/go/webrisk/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-vision-v1p4beta1-go", +- name = "gapi-cloud-webrisk-v1-go", - deps = [ -- ":vision_go_gapic", -- ":vision_go_gapic_srcjar-test.srcjar", -- ":vision_go_proto", +- ":webrisk_go_gapic", +- ":webrisk_go_gapic_srcjar-test.srcjar", +- ":webrisk_go_proto", - ], -) - -############################################################################## -# Python -############################################################################## +- -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_gapic_assembly_pkg", @@ -54439,15 +71872,15 @@ diff -urN a/google/cloud/vision/v1p4beta1/BUILD.bazel b/google/cloud/vision/v1p4 -) - -py_gapic_library( -- name = "vision_py_gapic", -- srcs = [":vision_proto"], -- grpc_service_config = "vision_grpc_service_config.json", +- name = "webrisk_py_gapic", +- srcs = [":webrisk_proto"], +- grpc_service_config = "webrisk_grpc_service_config.json", -) - -py_gapic_assembly_pkg( -- name = "vision-v1p4beta1-py", +- name = "webrisk-v1-py", - deps = [ -- ":vision_py_gapic", +- ":webrisk_py_gapic", - ], -) - @@ -54463,36 +71896,33 @@ diff -urN a/google/cloud/vision/v1p4beta1/BUILD.bazel b/google/cloud/vision/v1p4 -) - -php_proto_library( -- name = "vision_php_proto", -- deps = [":vision_proto"], +- name = "webrisk_php_proto", +- deps = [":webrisk_proto"], -) - -php_grpc_library( -- name = "vision_php_grpc", -- srcs = [":vision_proto"], -- deps = [":vision_php_proto"], +- name = "webrisk_php_grpc", +- srcs = [":webrisk_proto"], +- deps = [":webrisk_php_proto"], -) - -php_gapic_library( -- name = "vision_php_gapic", -- src = ":vision_proto_with_info", -- gapic_yaml = "vision_gapic.yaml", -- grpc_service_config = "vision_grpc_service_config.json", -- package = "google.cloud.vision.v1p4beta1", -- service_yaml = "//google/cloud/vision:vision_v1p4beta1.yaml", +- name = "webrisk_php_gapic", +- srcs = [":webrisk_proto_with_info"], +- grpc_service_config = "webrisk_grpc_service_config.json", - deps = [ -- ":vision_php_grpc", -- ":vision_php_proto", +- ":webrisk_php_grpc", +- ":webrisk_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-vision-v1p4beta1-php", +- name = "google-cloud-webrisk-v1-php", - deps = [ -- ":vision_php_gapic", -- ":vision_php_grpc", -- ":vision_php_proto", +- ":webrisk_php_gapic", +- ":webrisk_php_grpc", +- ":webrisk_php_proto", - ], -) - @@ -54506,22 +71936,21 @@ diff -urN a/google/cloud/vision/v1p4beta1/BUILD.bazel b/google/cloud/vision/v1p4 -) - -nodejs_gapic_library( -- name = "vision_nodejs_gapic", -- package_name = "@google-cloud/vision", -- src = ":vision_proto_with_info", +- name = "webrisk_nodejs_gapic", +- package_name = "@google-cloud/web-risk", +- src = ":webrisk_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "vision_grpc_service_config.json", -- main_service = "vision", -- package = "google.cloud.vision.v1p4beta1", -- service_yaml = "//google/cloud/vision:vision_v1p4beta1.yaml", +- grpc_service_config = "webrisk_grpc_service_config.json", +- package = "google.cloud.webrisk.v1", +- service_yaml = "webrisk_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "vision-v1p4beta1-nodejs", +- name = "webrisk-v1-nodejs", - deps = [ -- ":vision_nodejs_gapic", -- ":vision_proto", +- ":webrisk_nodejs_gapic", +- ":webrisk_proto", - ], -) - @@ -54530,42 +71959,49 @@ diff -urN a/google/cloud/vision/v1p4beta1/BUILD.bazel b/google/cloud/vision/v1p4 -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "vision_ruby_proto", -- deps = [":vision_proto"], +- name = "webrisk_ruby_proto", +- deps = [":webrisk_proto"], -) - -ruby_grpc_library( -- name = "vision_ruby_grpc", -- srcs = [":vision_proto"], -- deps = [":vision_ruby_proto"], +- name = "webrisk_ruby_grpc", +- srcs = [":webrisk_proto"], +- deps = [":webrisk_ruby_proto"], -) - --ruby_gapic_library( -- name = "vision_ruby_gapic", -- src = ":vision_proto_with_info", -- gapic_yaml = "vision_gapic.yaml", -- package = "google.cloud.vision.v1p4beta1", -- service_yaml = "//google/cloud/vision:vision_v1p4beta1.yaml", +-ruby_cloud_gapic_library( +- name = "webrisk_ruby_gapic", +- srcs = [":webrisk_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-web_risk-v1", +- "ruby-cloud-env-prefix=WEBRISK", +- "ruby-cloud-product-url=https://cloud.google.com/web-risk", +- "ruby-cloud-api-id=webrisk.googleapis.com", +- "ruby-cloud-api-shortname=webrisk", +- ], +- grpc_service_config = "webrisk_grpc_service_config.json", +- ruby_cloud_description = "Web Risk is an enterprise security product that lets your client applications check URLs against Google's constantly updated lists of unsafe web resources.", +- ruby_cloud_title = "Web Risk V1", - deps = [ -- ":vision_ruby_grpc", -- ":vision_ruby_proto", +- ":webrisk_ruby_grpc", +- ":webrisk_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-vision-v1p4beta1-ruby", +- name = "google-cloud-webrisk-v1-ruby", - deps = [ -- ":vision_ruby_gapic", -- ":vision_ruby_grpc", -- ":vision_ruby_proto", +- ":webrisk_ruby_gapic", +- ":webrisk_ruby_grpc", +- ":webrisk_ruby_proto", - ], -) - @@ -54581,34 +72017,34 @@ diff -urN a/google/cloud/vision/v1p4beta1/BUILD.bazel b/google/cloud/vision/v1p4 -) - -csharp_proto_library( -- name = "vision_csharp_proto", -- deps = [":vision_proto"], +- name = "webrisk_csharp_proto", +- deps = [":webrisk_proto"], -) - -csharp_grpc_library( -- name = "vision_csharp_grpc", -- srcs = [":vision_proto"], -- deps = [":vision_csharp_proto"], +- name = "webrisk_csharp_grpc", +- srcs = [":webrisk_proto"], +- deps = [":webrisk_csharp_proto"], -) - -csharp_gapic_library( -- name = "vision_csharp_gapic", -- srcs = [":vision_proto_with_info"], +- name = "webrisk_csharp_gapic", +- srcs = [":webrisk_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "vision_grpc_service_config.json", +- grpc_service_config = "webrisk_grpc_service_config.json", - deps = [ -- ":vision_csharp_grpc", -- ":vision_csharp_proto", +- ":webrisk_csharp_grpc", +- ":webrisk_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-vision-v1p4beta1-csharp", +- name = "google-cloud-webrisk-v1-csharp", - deps = [ -- ":vision_csharp_gapic", -- ":vision_csharp_grpc", -- ":vision_csharp_proto", +- ":webrisk_csharp_gapic", +- ":webrisk_csharp_grpc", +- ":webrisk_csharp_proto", - ], -) - @@ -54616,10 +72052,10 @@ diff -urN a/google/cloud/vision/v1p4beta1/BUILD.bazel b/google/cloud/vision/v1p4 -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/webrisk/v1/BUILD.bazel b/google/cloud/webrisk/v1/BUILD.bazel ---- a/google/cloud/webrisk/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/webrisk/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,331 +0,0 @@ +diff -urN a/google/cloud/webrisk/v1beta1/BUILD.bazel b/google/cloud/webrisk/v1beta1/BUILD.bazel +--- a/google/cloud/webrisk/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/webrisk/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,328 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -54640,7 +72076,6 @@ diff -urN a/google/cloud/webrisk/v1/BUILD.bazel b/google/cloud/webrisk/v1/BUILD. - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/api:resource_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) @@ -54692,14 +72127,14 @@ diff -urN a/google/cloud/webrisk/v1/BUILD.bazel b/google/cloud/webrisk/v1/BUILD. -java_gapic_test( - name = "webrisk_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.webrisk.v1.WebRiskServiceClientTest", +- "com.google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1ClientTest", - ], - runtime_deps = [":webrisk_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-webrisk-v1-java", +- name = "google-cloud-webrisk-v1beta1-java", - deps = [ - ":webrisk_java_gapic", - ":webrisk_java_grpc", @@ -54722,7 +72157,7 @@ diff -urN a/google/cloud/webrisk/v1/BUILD.bazel b/google/cloud/webrisk/v1/BUILD. -go_proto_library( - name = "webrisk_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/webrisk/v1", +- importpath = "google.golang.org/genproto/googleapis/cloud/webrisk/v1beta1", - protos = [":webrisk_proto"], - deps = [ - "//google/api:annotations_go_proto", @@ -54733,8 +72168,8 @@ diff -urN a/google/cloud/webrisk/v1/BUILD.bazel b/google/cloud/webrisk/v1/BUILD. - name = "webrisk_go_gapic", - srcs = [":webrisk_proto_with_info"], - grpc_service_config = "webrisk_grpc_service_config.json", -- importpath = "cloud.google.com/go/webrisk/apiv1;webrisk", -- service_yaml = "webrisk_v1.yaml", +- importpath = "cloud.google.com/go/webrisk/apiv1beta1;webrisk", +- service_yaml = "webrisk_v1beta1.yaml", - deps = [ - ":webrisk_go_proto", - ], @@ -54744,12 +72179,12 @@ diff -urN a/google/cloud/webrisk/v1/BUILD.bazel b/google/cloud/webrisk/v1/BUILD. - name = "webrisk_go_gapic_test", - srcs = [":webrisk_go_gapic_srcjar_test"], - embed = [":webrisk_go_gapic"], -- importpath = "cloud.google.com/go/webrisk/apiv1", +- importpath = "cloud.google.com/go/webrisk/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-webrisk-v1-go", +- name = "gapi-cloud-webrisk-v1beta1-go", - deps = [ - ":webrisk_go_gapic", - ":webrisk_go_gapic_srcjar-test.srcjar", @@ -54774,7 +72209,7 @@ diff -urN a/google/cloud/webrisk/v1/BUILD.bazel b/google/cloud/webrisk/v1/BUILD. -) - -py_gapic_assembly_pkg( -- name = "webrisk-v1-py", +- name = "webrisk-v1beta1-py", - deps = [ - ":webrisk_py_gapic", - ], @@ -54804,11 +72239,8 @@ diff -urN a/google/cloud/webrisk/v1/BUILD.bazel b/google/cloud/webrisk/v1/BUILD. - -php_gapic_library( - name = "webrisk_php_gapic", -- src = ":webrisk_proto_with_info", -- gapic_yaml = "webrisk_gapic.yaml", +- srcs = [":webrisk_proto_with_info"], - grpc_service_config = "webrisk_grpc_service_config.json", -- package = "google.cloud.webrisk.v1", -- service_yaml = "webrisk_v1.yaml", - deps = [ - ":webrisk_php_grpc", - ":webrisk_php_proto", @@ -54817,7 +72249,7 @@ diff -urN a/google/cloud/webrisk/v1/BUILD.bazel b/google/cloud/webrisk/v1/BUILD. - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-webrisk-v1-php", +- name = "google-cloud-webrisk-v1beta1-php", - deps = [ - ":webrisk_php_gapic", - ":webrisk_php_grpc", @@ -54840,13 +72272,13 @@ diff -urN a/google/cloud/webrisk/v1/BUILD.bazel b/google/cloud/webrisk/v1/BUILD. - src = ":webrisk_proto_with_info", - extra_protoc_parameters = ["metadata"], - grpc_service_config = "webrisk_grpc_service_config.json", -- package = "google.cloud.webrisk.v1", -- service_yaml = "webrisk_v1.yaml", +- package = "google.cloud.webrisk.v1beta1", +- service_yaml = "webrisk_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "webrisk-v1-nodejs", +- name = "webrisk-v1beta1-nodejs", - deps = [ - ":webrisk_nodejs_gapic", - ":webrisk_proto", @@ -54858,8 +72290,8 @@ diff -urN a/google/cloud/webrisk/v1/BUILD.bazel b/google/cloud/webrisk/v1/BUILD. -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -54879,15 +72311,16 @@ diff -urN a/google/cloud/webrisk/v1/BUILD.bazel b/google/cloud/webrisk/v1/BUILD. - name = "webrisk_ruby_gapic", - srcs = [":webrisk_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-web_risk-v1", +- "ruby-cloud-gem-name=google-cloud-web_risk-v1beta1", - "ruby-cloud-env-prefix=WEBRISK", +- "ruby-cloud-service-override=WebRiskServiceV1Beta1=WebRiskService", - "ruby-cloud-product-url=https://cloud.google.com/web-risk", - "ruby-cloud-api-id=webrisk.googleapis.com", - "ruby-cloud-api-shortname=webrisk", - ], - grpc_service_config = "webrisk_grpc_service_config.json", - ruby_cloud_description = "Web Risk is an enterprise security product that lets your client applications check URLs against Google's constantly updated lists of unsafe web resources.", -- ruby_cloud_title = "Web Risk V1", +- ruby_cloud_title = "Web Risk V1beta1", - deps = [ - ":webrisk_ruby_grpc", - ":webrisk_ruby_proto", @@ -54896,7 +72329,7 @@ diff -urN a/google/cloud/webrisk/v1/BUILD.bazel b/google/cloud/webrisk/v1/BUILD. - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-webrisk-v1-ruby", +- name = "google-cloud-webrisk-v1beta1-ruby", - deps = [ - ":webrisk_ruby_gapic", - ":webrisk_ruby_grpc", @@ -54939,7 +72372,7 @@ diff -urN a/google/cloud/webrisk/v1/BUILD.bazel b/google/cloud/webrisk/v1/BUILD. - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-webrisk-v1-csharp", +- name = "google-cloud-webrisk-v1beta1-csharp", - deps = [ - ":webrisk_csharp_gapic", - ":webrisk_csharp_grpc", @@ -54951,10 +72384,15 @@ diff -urN a/google/cloud/webrisk/v1/BUILD.bazel b/google/cloud/webrisk/v1/BUILD. -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/webrisk/v1beta1/BUILD.bazel b/google/cloud/webrisk/v1beta1/BUILD.bazel ---- a/google/cloud/webrisk/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/webrisk/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,331 +0,0 @@ +diff -urN a/google/cloud/websecurityscanner/BUILD.bazel b/google/cloud/websecurityscanner/BUILD.bazel +--- a/google/cloud/websecurityscanner/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/websecurityscanner/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/cloud/websecurityscanner/v1/BUILD.bazel b/google/cloud/websecurityscanner/v1/BUILD.bazel +--- a/google/cloud/websecurityscanner/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/websecurityscanner/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,338 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -54967,22 +72405,34 @@ diff -urN a/google/cloud/webrisk/v1beta1/BUILD.bazel b/google/cloud/webrisk/v1be -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "webrisk_proto", +- name = "websecurityscanner_proto", - srcs = [ -- "webrisk.proto", +- "crawled_url.proto", +- "finding.proto", +- "finding_addon.proto", +- "finding_type_stats.proto", +- "scan_config.proto", +- "scan_config_error.proto", +- "scan_run.proto", +- "scan_run_error_trace.proto", +- "scan_run_warning_trace.proto", +- "web_security_scanner.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "webrisk_proto_with_info", +- name = "websecurityscanner_proto_with_info", - deps = [ -- ":webrisk_proto", +- ":websecurityscanner_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -55000,45 +72450,44 @@ diff -urN a/google/cloud/webrisk/v1beta1/BUILD.bazel b/google/cloud/webrisk/v1be -) - -java_proto_library( -- name = "webrisk_java_proto", -- deps = [":webrisk_proto"], +- name = "websecurityscanner_java_proto", +- deps = [":websecurityscanner_proto"], -) - -java_grpc_library( -- name = "webrisk_java_grpc", -- srcs = [":webrisk_proto"], -- deps = [":webrisk_java_proto"], +- name = "websecurityscanner_java_grpc", +- srcs = [":websecurityscanner_proto"], +- deps = [":websecurityscanner_java_proto"], -) - -java_gapic_library( -- name = "webrisk_java_gapic", -- srcs = [":webrisk_proto_with_info"], -- gapic_yaml = "webrisk_gapic.yaml", -- grpc_service_config = "webrisk_grpc_service_config.json", +- name = "websecurityscanner_java_gapic", +- srcs = [":websecurityscanner_proto_with_info"], +- grpc_service_config = "websecurityscanner_grpc_service_config.json", - test_deps = [ -- ":webrisk_java_grpc", +- ":websecurityscanner_java_grpc", - ], - deps = [ -- ":webrisk_java_proto", +- ":websecurityscanner_java_proto", - ], -) - -java_gapic_test( -- name = "webrisk_java_gapic_test_suite", +- name = "websecurityscanner_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1ClientTest", +- "com.google.cloud.websecurityscanner.v1.WebSecurityScannerClientTest", - ], -- runtime_deps = [":webrisk_java_gapic_test"], +- runtime_deps = [":websecurityscanner_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-webrisk-v1beta1-java", +- name = "google-cloud-websecurityscanner-v1-java", - deps = [ -- ":webrisk_java_gapic", -- ":webrisk_java_grpc", -- ":webrisk_java_proto", -- ":webrisk_proto", +- ":websecurityscanner_java_gapic", +- ":websecurityscanner_java_grpc", +- ":websecurityscanner_java_proto", +- ":websecurityscanner_proto", - ], -) - @@ -55054,47 +72503,46 @@ diff -urN a/google/cloud/webrisk/v1beta1/BUILD.bazel b/google/cloud/webrisk/v1be -) - -go_proto_library( -- name = "webrisk_go_proto", +- name = "websecurityscanner_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/webrisk/v1beta1", -- protos = [":webrisk_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1", +- protos = [":websecurityscanner_proto"], - deps = [ - "//google/api:annotations_go_proto", - ], -) - -go_gapic_library( -- name = "webrisk_go_gapic", -- srcs = [":webrisk_proto_with_info"], -- grpc_service_config = "webrisk_grpc_service_config.json", -- importpath = "cloud.google.com/go/webrisk/apiv1beta1;webrisk", -- service_yaml = "webrisk_v1beta1.yaml", +- name = "websecurityscanner_go_gapic", +- srcs = [":websecurityscanner_proto_with_info"], +- grpc_service_config = "websecurityscanner_grpc_service_config.json", +- importpath = "cloud.google.com/go/websecurityscanner/apiv1;websecurityscanner", +- service_yaml = "websecurityscanner_v1.yaml", - deps = [ -- ":webrisk_go_proto", +- ":websecurityscanner_go_proto", - ], -) - -go_test( -- name = "webrisk_go_gapic_test", -- srcs = [":webrisk_go_gapic_srcjar_test"], -- embed = [":webrisk_go_gapic"], -- importpath = "cloud.google.com/go/webrisk/apiv1beta1", +- name = "websecurityscanner_go_gapic_test", +- srcs = [":websecurityscanner_go_gapic_srcjar_test"], +- embed = [":websecurityscanner_go_gapic"], +- importpath = "cloud.google.com/go/websecurityscanner/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-webrisk-v1beta1-go", +- name = "gapi-cloud-websecurityscanner-v1-go", - deps = [ -- ":webrisk_go_gapic", -- ":webrisk_go_gapic_srcjar-test.srcjar", -- ":webrisk_go_proto", +- ":websecurityscanner_go_gapic", +- ":websecurityscanner_go_gapic_srcjar-test.srcjar", +- ":websecurityscanner_go_proto", - ], -) - -############################################################################## -# Python -############################################################################## -- -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_gapic_assembly_pkg", @@ -55102,15 +72550,16 @@ diff -urN a/google/cloud/webrisk/v1beta1/BUILD.bazel b/google/cloud/webrisk/v1be -) - -py_gapic_library( -- name = "webrisk_py_gapic", -- srcs = [":webrisk_proto"], -- grpc_service_config = "webrisk_grpc_service_config.json", +- name = "websecurityscanner_py_gapic", +- srcs = [":websecurityscanner_proto"], +- grpc_service_config = "websecurityscanner_grpc_service_config.json", -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "webrisk-v1beta1-py", +- name = "websecurityscanner-v1-py", - deps = [ -- ":webrisk_py_gapic", +- ":websecurityscanner_py_gapic", - ], -) - @@ -55126,36 +72575,33 @@ diff -urN a/google/cloud/webrisk/v1beta1/BUILD.bazel b/google/cloud/webrisk/v1be -) - -php_proto_library( -- name = "webrisk_php_proto", -- deps = [":webrisk_proto"], +- name = "websecurityscanner_php_proto", +- deps = [":websecurityscanner_proto"], -) - -php_grpc_library( -- name = "webrisk_php_grpc", -- srcs = [":webrisk_proto"], -- deps = [":webrisk_php_proto"], +- name = "websecurityscanner_php_grpc", +- srcs = [":websecurityscanner_proto"], +- deps = [":websecurityscanner_php_proto"], -) - -php_gapic_library( -- name = "webrisk_php_gapic", -- src = ":webrisk_proto_with_info", -- gapic_yaml = "webrisk_gapic.yaml", -- grpc_service_config = "webrisk_grpc_service_config.json", -- package = "google.cloud.webrisk.v1beta1", -- service_yaml = "webrisk_v1beta1.yaml", +- name = "websecurityscanner_php_gapic", +- srcs = [":websecurityscanner_proto_with_info"], +- grpc_service_config = "websecurityscanner_grpc_service_config.json", - deps = [ -- ":webrisk_php_grpc", -- ":webrisk_php_proto", +- ":websecurityscanner_php_grpc", +- ":websecurityscanner_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-webrisk-v1beta1-php", +- name = "google-cloud-websecurityscanner-v1-php", - deps = [ -- ":webrisk_php_gapic", -- ":webrisk_php_grpc", -- ":webrisk_php_proto", +- ":websecurityscanner_php_gapic", +- ":websecurityscanner_php_grpc", +- ":websecurityscanner_php_proto", - ], -) - @@ -55169,21 +72615,21 @@ diff -urN a/google/cloud/webrisk/v1beta1/BUILD.bazel b/google/cloud/webrisk/v1be -) - -nodejs_gapic_library( -- name = "webrisk_nodejs_gapic", -- package_name = "@google-cloud/web-risk", -- src = ":webrisk_proto_with_info", +- name = "websecurityscanner_nodejs_gapic", +- package_name = "@google-cloud/web-security-scanner", +- src = ":websecurityscanner_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "webrisk_grpc_service_config.json", -- package = "google.cloud.webrisk.v1beta1", -- service_yaml = "webrisk_v1beta1.yaml", +- grpc_service_config = "websecurityscanner_grpc_service_config.json", +- package = "google.cloud.websecurityscanner.v1", +- service_yaml = "websecurityscanner_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "webrisk-v1beta1-nodejs", +- name = "websecurityscanner-v1-nodejs", - deps = [ -- ":webrisk_nodejs_gapic", -- ":webrisk_proto", +- ":websecurityscanner_nodejs_gapic", +- ":websecurityscanner_proto", - ], -) - @@ -55192,50 +72638,49 @@ diff -urN a/google/cloud/webrisk/v1beta1/BUILD.bazel b/google/cloud/webrisk/v1be -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "webrisk_ruby_proto", -- deps = [":webrisk_proto"], +- name = "websecurityscanner_ruby_proto", +- deps = [":websecurityscanner_proto"], -) - -ruby_grpc_library( -- name = "webrisk_ruby_grpc", -- srcs = [":webrisk_proto"], -- deps = [":webrisk_ruby_proto"], +- name = "websecurityscanner_ruby_grpc", +- srcs = [":websecurityscanner_proto"], +- deps = [":websecurityscanner_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "webrisk_ruby_gapic", -- srcs = [":webrisk_proto_with_info"], +- name = "websecurityscanner_ruby_gapic", +- srcs = [":websecurityscanner_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-web_risk-v1beta1", -- "ruby-cloud-env-prefix=WEBRISK", -- "ruby-cloud-service-override=WebRiskServiceV1Beta1=WebRiskService", -- "ruby-cloud-product-url=https://cloud.google.com/web-risk", -- "ruby-cloud-api-id=webrisk.googleapis.com", -- "ruby-cloud-api-shortname=webrisk", +- "ruby-cloud-gem-name=google-cloud-web_security_scanner-v1", +- "ruby-cloud-env-prefix=WEB_SECURITY_SCANNER", +- "ruby-cloud-product-url=https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/", +- "ruby-cloud-api-id=websecurityscanner.googleapis.com", +- "ruby-cloud-api-shortname=websecurityscanner", - ], -- grpc_service_config = "webrisk_grpc_service_config.json", -- ruby_cloud_description = "Web Risk is an enterprise security product that lets your client applications check URLs against Google's constantly updated lists of unsafe web resources.", -- ruby_cloud_title = "Web Risk V1beta1", +- grpc_service_config = "websecurityscanner_grpc_service_config.json", +- ruby_cloud_description = "Web Security Scanner scans your Compute and App Engine apps for common web vulnerabilities.", +- ruby_cloud_title = "Web Security Scanner V1", - deps = [ -- ":webrisk_ruby_grpc", -- ":webrisk_ruby_proto", +- ":websecurityscanner_ruby_grpc", +- ":websecurityscanner_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-webrisk-v1beta1-ruby", +- name = "google-cloud-websecurityscanner-v1-ruby", - deps = [ -- ":webrisk_ruby_gapic", -- ":webrisk_ruby_grpc", -- ":webrisk_ruby_proto", +- ":websecurityscanner_ruby_gapic", +- ":websecurityscanner_ruby_grpc", +- ":websecurityscanner_ruby_proto", - ], -) - @@ -55251,34 +72696,34 @@ diff -urN a/google/cloud/webrisk/v1beta1/BUILD.bazel b/google/cloud/webrisk/v1be -) - -csharp_proto_library( -- name = "webrisk_csharp_proto", -- deps = [":webrisk_proto"], +- name = "websecurityscanner_csharp_proto", +- deps = [":websecurityscanner_proto"], -) - -csharp_grpc_library( -- name = "webrisk_csharp_grpc", -- srcs = [":webrisk_proto"], -- deps = [":webrisk_csharp_proto"], +- name = "websecurityscanner_csharp_grpc", +- srcs = [":websecurityscanner_proto"], +- deps = [":websecurityscanner_csharp_proto"], -) - -csharp_gapic_library( -- name = "webrisk_csharp_gapic", -- srcs = [":webrisk_proto_with_info"], +- name = "websecurityscanner_csharp_gapic", +- srcs = [":websecurityscanner_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "webrisk_grpc_service_config.json", +- grpc_service_config = "websecurityscanner_grpc_service_config.json", - deps = [ -- ":webrisk_csharp_grpc", -- ":webrisk_csharp_proto", +- ":websecurityscanner_csharp_grpc", +- ":websecurityscanner_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-webrisk-v1beta1-csharp", +- name = "google-cloud-websecurityscanner-v1-csharp", - deps = [ -- ":webrisk_csharp_gapic", -- ":webrisk_csharp_grpc", -- ":webrisk_csharp_proto", +- ":websecurityscanner_csharp_gapic", +- ":websecurityscanner_csharp_grpc", +- ":websecurityscanner_csharp_proto", - ], -) - @@ -55286,15 +72731,10 @@ diff -urN a/google/cloud/webrisk/v1beta1/BUILD.bazel b/google/cloud/webrisk/v1be -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/websecurityscanner/BUILD.bazel b/google/cloud/websecurityscanner/BUILD.bazel ---- a/google/cloud/websecurityscanner/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/websecurityscanner/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/cloud/websecurityscanner/v1/BUILD.bazel b/google/cloud/websecurityscanner/v1/BUILD.bazel ---- a/google/cloud/websecurityscanner/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/websecurityscanner/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,341 +0,0 @@ +diff -urN a/google/cloud/websecurityscanner/v1alpha/BUILD.bazel b/google/cloud/websecurityscanner/v1alpha/BUILD.bazel +--- a/google/cloud/websecurityscanner/v1alpha/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/websecurityscanner/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,325 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -55314,10 +72754,7 @@ diff -urN a/google/cloud/websecurityscanner/v1/BUILD.bazel b/google/cloud/websec - "finding_addon.proto", - "finding_type_stats.proto", - "scan_config.proto", -- "scan_config_error.proto", - "scan_run.proto", -- "scan_run_error_trace.proto", -- "scan_run_warning_trace.proto", - "web_security_scanner.proto", - ], - deps = [ @@ -55377,14 +72814,14 @@ diff -urN a/google/cloud/websecurityscanner/v1/BUILD.bazel b/google/cloud/websec -java_gapic_test( - name = "websecurityscanner_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.websecurityscanner.v1.WebSecurityScannerClientTest", +- "com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClientTest", - ], - runtime_deps = [":websecurityscanner_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-websecurityscanner-v1-java", +- name = "google-cloud-websecurityscanner-v1alpha-java", - deps = [ - ":websecurityscanner_java_gapic", - ":websecurityscanner_java_grpc", @@ -55407,7 +72844,7 @@ diff -urN a/google/cloud/websecurityscanner/v1/BUILD.bazel b/google/cloud/websec -go_proto_library( - name = "websecurityscanner_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1", +- importpath = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha", - protos = [":websecurityscanner_proto"], - deps = [ - "//google/api:annotations_go_proto", @@ -55418,8 +72855,8 @@ diff -urN a/google/cloud/websecurityscanner/v1/BUILD.bazel b/google/cloud/websec - name = "websecurityscanner_go_gapic", - srcs = [":websecurityscanner_proto_with_info"], - grpc_service_config = "websecurityscanner_grpc_service_config.json", -- importpath = "cloud.google.com/go/websecurityscanner/apiv1;websecurityscanner", -- service_yaml = "websecurityscanner_v1.yaml", +- importpath = "cloud.google.com/go/cloud/websecurityscanner/apiv1alpha;websecurityscanner", +- service_yaml = "websecurityscanner_v1alpha.yaml", - deps = [ - ":websecurityscanner_go_proto", - ], @@ -55429,12 +72866,12 @@ diff -urN a/google/cloud/websecurityscanner/v1/BUILD.bazel b/google/cloud/websec - name = "websecurityscanner_go_gapic_test", - srcs = [":websecurityscanner_go_gapic_srcjar_test"], - embed = [":websecurityscanner_go_gapic"], -- importpath = "cloud.google.com/go/websecurityscanner/apiv1", +- importpath = "cloud.google.com/go/cloud/websecurityscanner/apiv1alpha", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-websecurityscanner-v1-go", +- name = "gapi-cloud-websecurityscanner-v1alpha-go", - deps = [ - ":websecurityscanner_go_gapic", - ":websecurityscanner_go_gapic_srcjar-test.srcjar", @@ -55457,9 +72894,8 @@ diff -urN a/google/cloud/websecurityscanner/v1/BUILD.bazel b/google/cloud/websec - grpc_service_config = "websecurityscanner_grpc_service_config.json", -) - --# Open Source Packages -py_gapic_assembly_pkg( -- name = "websecurityscanner-v1-py", +- name = "websecurityscanner-v1alpha-py", - deps = [ - ":websecurityscanner_py_gapic", - ], @@ -55489,11 +72925,8 @@ diff -urN a/google/cloud/websecurityscanner/v1/BUILD.bazel b/google/cloud/websec - -php_gapic_library( - name = "websecurityscanner_php_gapic", -- src = ":websecurityscanner_proto_with_info", -- gapic_yaml = "websecurityscanner_gapic.yaml", +- srcs = [":websecurityscanner_proto_with_info"], - grpc_service_config = "websecurityscanner_grpc_service_config.json", -- package = "google.cloud.websecurityscanner.v1", -- service_yaml = "websecurityscanner_v1.yaml", - deps = [ - ":websecurityscanner_php_grpc", - ":websecurityscanner_php_proto", @@ -55502,7 +72935,7 @@ diff -urN a/google/cloud/websecurityscanner/v1/BUILD.bazel b/google/cloud/websec - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-websecurityscanner-v1-php", +- name = "google-cloud-websecurityscanner-v1alpha-php", - deps = [ - ":websecurityscanner_php_gapic", - ":websecurityscanner_php_grpc", @@ -55525,13 +72958,13 @@ diff -urN a/google/cloud/websecurityscanner/v1/BUILD.bazel b/google/cloud/websec - src = ":websecurityscanner_proto_with_info", - extra_protoc_parameters = ["metadata"], - grpc_service_config = "websecurityscanner_grpc_service_config.json", -- package = "google.cloud.websecurityscanner.v1", -- service_yaml = "websecurityscanner_v1.yaml", +- package = "google.cloud.websecurityscanner.v1alpha", +- service_yaml = "websecurityscanner_v1alpha.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "websecurityscanner-v1-nodejs", +- name = "websecurityscanner-v1alpha-nodejs", - deps = [ - ":websecurityscanner_nodejs_gapic", - ":websecurityscanner_proto", @@ -55562,17 +72995,8 @@ diff -urN a/google/cloud/websecurityscanner/v1/BUILD.bazel b/google/cloud/websec - -ruby_cloud_gapic_library( - name = "websecurityscanner_ruby_gapic", -- srcs = [":websecurityscanner_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-web_security_scanner-v1", -- "ruby-cloud-env-prefix=WEB_SECURITY_SCANNER", -- "ruby-cloud-product-url=https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/", -- "ruby-cloud-api-id=websecurityscanner.googleapis.com", -- "ruby-cloud-api-shortname=websecurityscanner", -- ], -- grpc_service_config = "websecurityscanner_grpc_service_config.json", -- ruby_cloud_description = "Web Security Scanner scans your Compute and App Engine apps for common web vulnerabilities.", -- ruby_cloud_title = "Web Security Scanner V1", +- srcs = [":websecurityscanner_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-websecurityscanner-v1alpha"], - deps = [ - ":websecurityscanner_ruby_grpc", - ":websecurityscanner_ruby_proto", @@ -55581,7 +73005,7 @@ diff -urN a/google/cloud/websecurityscanner/v1/BUILD.bazel b/google/cloud/websec - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-websecurityscanner-v1-ruby", +- name = "google-cloud-websecurityscanner-v1alpha-ruby", - deps = [ - ":websecurityscanner_ruby_gapic", - ":websecurityscanner_ruby_grpc", @@ -55624,7 +73048,7 @@ diff -urN a/google/cloud/websecurityscanner/v1/BUILD.bazel b/google/cloud/websec - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-websecurityscanner-v1-csharp", +- name = "google-cloud-websecurityscanner-v1alpha-csharp", - deps = [ - ":websecurityscanner_csharp_gapic", - ":websecurityscanner_csharp_grpc", @@ -55636,10 +73060,10 @@ diff -urN a/google/cloud/websecurityscanner/v1/BUILD.bazel b/google/cloud/websec -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/websecurityscanner/v1alpha/BUILD.bazel b/google/cloud/websecurityscanner/v1alpha/BUILD.bazel ---- a/google/cloud/websecurityscanner/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/websecurityscanner/v1alpha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,330 +0,0 @@ +diff -urN a/google/cloud/websecurityscanner/v1beta/BUILD.bazel b/google/cloud/websecurityscanner/v1beta/BUILD.bazel +--- a/google/cloud/websecurityscanner/v1beta/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/websecurityscanner/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,337 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -55659,7 +73083,10 @@ diff -urN a/google/cloud/websecurityscanner/v1alpha/BUILD.bazel b/google/cloud/w - "finding_addon.proto", - "finding_type_stats.proto", - "scan_config.proto", +- "scan_config_error.proto", - "scan_run.proto", +- "scan_run_error_trace.proto", +- "scan_run_warning_trace.proto", - "web_security_scanner.proto", - ], - deps = [ @@ -55719,14 +73146,14 @@ diff -urN a/google/cloud/websecurityscanner/v1alpha/BUILD.bazel b/google/cloud/w -java_gapic_test( - name = "websecurityscanner_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.websecurityscanner.v1alpha.WebSecurityScannerClientTest", +- "com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClientTest", - ], - runtime_deps = [":websecurityscanner_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-websecurityscanner-v1alpha-java", +- name = "google-cloud-websecurityscanner-v1beta-java", - deps = [ - ":websecurityscanner_java_gapic", - ":websecurityscanner_java_grpc", @@ -55749,7 +73176,7 @@ diff -urN a/google/cloud/websecurityscanner/v1alpha/BUILD.bazel b/google/cloud/w -go_proto_library( - name = "websecurityscanner_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha", +- importpath = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta", - protos = [":websecurityscanner_proto"], - deps = [ - "//google/api:annotations_go_proto", @@ -55760,8 +73187,8 @@ diff -urN a/google/cloud/websecurityscanner/v1alpha/BUILD.bazel b/google/cloud/w - name = "websecurityscanner_go_gapic", - srcs = [":websecurityscanner_proto_with_info"], - grpc_service_config = "websecurityscanner_grpc_service_config.json", -- importpath = "cloud.google.com/go/cloud/websecurityscanner/apiv1alpha;websecurityscanner", -- service_yaml = "websecurityscanner_v1alpha.yaml", +- importpath = "cloud.google.com/go/websecurityscanner/apiv1beta;websecurityscanner", +- service_yaml = "websecurityscanner_v1beta.yaml", - deps = [ - ":websecurityscanner_go_proto", - ], @@ -55771,12 +73198,12 @@ diff -urN a/google/cloud/websecurityscanner/v1alpha/BUILD.bazel b/google/cloud/w - name = "websecurityscanner_go_gapic_test", - srcs = [":websecurityscanner_go_gapic_srcjar_test"], - embed = [":websecurityscanner_go_gapic"], -- importpath = "cloud.google.com/go/cloud/websecurityscanner/apiv1alpha", +- importpath = "cloud.google.com/go/websecurityscanner/apiv1beta", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-websecurityscanner-v1alpha-go", +- name = "gapi-cloud-websecurityscanner-v1beta-go", - deps = [ - ":websecurityscanner_go_gapic", - ":websecurityscanner_go_gapic_srcjar-test.srcjar", @@ -55800,7 +73227,7 @@ diff -urN a/google/cloud/websecurityscanner/v1alpha/BUILD.bazel b/google/cloud/w -) - -py_gapic_assembly_pkg( -- name = "websecurityscanner-v1alpha-py", +- name = "websecurityscanner-v1beta-py", - deps = [ - ":websecurityscanner_py_gapic", - ], @@ -55830,11 +73257,8 @@ diff -urN a/google/cloud/websecurityscanner/v1alpha/BUILD.bazel b/google/cloud/w - -php_gapic_library( - name = "websecurityscanner_php_gapic", -- src = ":websecurityscanner_proto_with_info", -- gapic_yaml = "websecurityscanner_gapic.yaml", +- srcs = [":websecurityscanner_proto_with_info"], - grpc_service_config = "websecurityscanner_grpc_service_config.json", -- package = "google.cloud.websecurityscanner.v1alpha", -- service_yaml = "websecurityscanner_v1alpha.yaml", - deps = [ - ":websecurityscanner_php_grpc", - ":websecurityscanner_php_proto", @@ -55843,7 +73267,7 @@ diff -urN a/google/cloud/websecurityscanner/v1alpha/BUILD.bazel b/google/cloud/w - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-websecurityscanner-v1alpha-php", +- name = "google-cloud-websecurityscanner-v1beta-php", - deps = [ - ":websecurityscanner_php_gapic", - ":websecurityscanner_php_grpc", @@ -55866,13 +73290,13 @@ diff -urN a/google/cloud/websecurityscanner/v1alpha/BUILD.bazel b/google/cloud/w - src = ":websecurityscanner_proto_with_info", - extra_protoc_parameters = ["metadata"], - grpc_service_config = "websecurityscanner_grpc_service_config.json", -- package = "google.cloud.websecurityscanner.v1alpha", -- service_yaml = "websecurityscanner_v1alpha.yaml", +- package = "google.cloud.websecurityscanner.v1beta", +- service_yaml = "websecurityscanner_v1beta.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "websecurityscanner-v1alpha-nodejs", +- name = "websecurityscanner-v1beta-nodejs", - deps = [ - ":websecurityscanner_nodejs_gapic", - ":websecurityscanner_proto", @@ -55884,8 +73308,8 @@ diff -urN a/google/cloud/websecurityscanner/v1alpha/BUILD.bazel b/google/cloud/w -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -55901,12 +73325,19 @@ diff -urN a/google/cloud/websecurityscanner/v1alpha/BUILD.bazel b/google/cloud/w - deps = [":websecurityscanner_ruby_proto"], -) - --ruby_gapic_library( +-ruby_cloud_gapic_library( - name = "websecurityscanner_ruby_gapic", -- src = ":websecurityscanner_proto_with_info", -- gapic_yaml = "websecurityscanner_gapic.yaml", -- package = "google.cloud.websecurityscanner.v1alpha", -- service_yaml = "websecurityscanner_v1alpha.yaml", +- srcs = [":websecurityscanner_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-web_security_scanner-v1beta", +- "ruby-cloud-env-prefix=WEB_SECURITY_SCANNER", +- "ruby-cloud-product-url=https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/", +- "ruby-cloud-api-id=websecurityscanner.googleapis.com", +- "ruby-cloud-api-shortname=websecurityscanner", +- ], +- grpc_service_config = "websecurityscanner_grpc_service_config.json", +- ruby_cloud_description = "Web Security Scanner scans your Compute and App Engine apps for common web vulnerabilities.", +- ruby_cloud_title = "Web Security Scanner V1beta", - deps = [ - ":websecurityscanner_ruby_grpc", - ":websecurityscanner_ruby_proto", @@ -55915,7 +73346,7 @@ diff -urN a/google/cloud/websecurityscanner/v1alpha/BUILD.bazel b/google/cloud/w - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-websecurityscanner-v1alpha-ruby", +- name = "google-cloud-websecurityscanner-v1beta-ruby", - deps = [ - ":websecurityscanner_ruby_gapic", - ":websecurityscanner_ruby_grpc", @@ -55958,7 +73389,7 @@ diff -urN a/google/cloud/websecurityscanner/v1alpha/BUILD.bazel b/google/cloud/w - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-websecurityscanner-v1alpha-csharp", +- name = "google-cloud-websecurityscanner-v1beta-csharp", - deps = [ - ":websecurityscanner_csharp_gapic", - ":websecurityscanner_csharp_grpc", @@ -55970,11 +73401,20 @@ diff -urN a/google/cloud/websecurityscanner/v1alpha/BUILD.bazel b/google/cloud/w -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/websecurityscanner/v1beta/BUILD.bazel b/google/cloud/websecurityscanner/v1beta/BUILD.bazel ---- a/google/cloud/websecurityscanner/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/websecurityscanner/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,340 +0,0 @@ +diff -urN a/google/cloud/workflows/executions/v1/BUILD.bazel b/google/cloud/workflows/executions/v1/BUILD.bazel +--- a/google/cloud/workflows/executions/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/workflows/executions/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,328 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -55986,34 +73426,23 @@ diff -urN a/google/cloud/websecurityscanner/v1beta/BUILD.bazel b/google/cloud/we -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "websecurityscanner_proto", +- name = "executions_proto", - srcs = [ -- "crawled_url.proto", -- "finding.proto", -- "finding_addon.proto", -- "finding_type_stats.proto", -- "scan_config.proto", -- "scan_config_error.proto", -- "scan_run.proto", -- "scan_run_error_trace.proto", -- "scan_run_warning_trace.proto", -- "web_security_scanner.proto", +- "executions.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", -- "@com_google_protobuf//:empty_proto", -- "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "websecurityscanner_proto_with_info", +- name = "executions_proto_with_info", - deps = [ -- ":websecurityscanner_proto", +- ":executions_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -56031,44 +73460,44 @@ diff -urN a/google/cloud/websecurityscanner/v1beta/BUILD.bazel b/google/cloud/we -) - -java_proto_library( -- name = "websecurityscanner_java_proto", -- deps = [":websecurityscanner_proto"], +- name = "executions_java_proto", +- deps = [":executions_proto"], -) - -java_grpc_library( -- name = "websecurityscanner_java_grpc", -- srcs = [":websecurityscanner_proto"], -- deps = [":websecurityscanner_java_proto"], +- name = "executions_java_grpc", +- srcs = [":executions_proto"], +- deps = [":executions_java_proto"], -) - -java_gapic_library( -- name = "websecurityscanner_java_gapic", -- srcs = [":websecurityscanner_proto_with_info"], -- grpc_service_config = "websecurityscanner_grpc_service_config.json", +- name = "executions_java_gapic", +- srcs = [":executions_proto_with_info"], +- grpc_service_config = "executions_grpc_service_config.json", - test_deps = [ -- ":websecurityscanner_java_grpc", +- ":executions_java_grpc", - ], - deps = [ -- ":websecurityscanner_java_proto", +- ":executions_java_proto", - ], -) - -java_gapic_test( -- name = "websecurityscanner_java_gapic_test_suite", +- name = "executions_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.websecurityscanner.v1beta.WebSecurityScannerClientTest", +- "com.google.cloud.workflows.executions.v1.ExecutionsClientTest", - ], -- runtime_deps = [":websecurityscanner_java_gapic_test"], +- runtime_deps = [":executions_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-websecurityscanner-v1beta-java", +- name = "google-cloud-workflows-executions-v1-java", - deps = [ -- ":websecurityscanner_java_gapic", -- ":websecurityscanner_java_grpc", -- ":websecurityscanner_java_proto", -- ":websecurityscanner_proto", +- ":executions_java_gapic", +- ":executions_java_grpc", +- ":executions_java_proto", +- ":executions_proto", - ], -) - @@ -56084,40 +73513,40 @@ diff -urN a/google/cloud/websecurityscanner/v1beta/BUILD.bazel b/google/cloud/we -) - -go_proto_library( -- name = "websecurityscanner_go_proto", +- name = "executions_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta", -- protos = [":websecurityscanner_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/workflows/executions/v1", +- protos = [":executions_proto"], - deps = [ - "//google/api:annotations_go_proto", - ], -) - -go_gapic_library( -- name = "websecurityscanner_go_gapic", -- srcs = [":websecurityscanner_proto_with_info"], -- grpc_service_config = "websecurityscanner_grpc_service_config.json", -- importpath = "cloud.google.com/go/websecurityscanner/apiv1beta;websecurityscanner", -- service_yaml = "websecurityscanner_v1beta.yaml", +- name = "executions_go_gapic", +- srcs = [":executions_proto_with_info"], +- grpc_service_config = "executions_grpc_service_config.json", +- importpath = "cloud.google.com/go/workflows/executions/apiv1;executions", +- service_yaml = "workflowexecutions_v1.yaml", - deps = [ -- ":websecurityscanner_go_proto", +- ":executions_go_proto", - ], -) - -go_test( -- name = "websecurityscanner_go_gapic_test", -- srcs = [":websecurityscanner_go_gapic_srcjar_test"], -- embed = [":websecurityscanner_go_gapic"], -- importpath = "cloud.google.com/go/websecurityscanner/apiv1beta", +- name = "executions_go_gapic_test", +- srcs = [":executions_go_gapic_srcjar_test"], +- embed = [":executions_go_gapic"], +- importpath = "cloud.google.com/go/workflows/executions/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-websecurityscanner-v1beta-go", +- name = "gapi-cloud-workflows-executions-v1-go", - deps = [ -- ":websecurityscanner_go_gapic", -- ":websecurityscanner_go_gapic_srcjar-test.srcjar", -- ":websecurityscanner_go_proto", +- ":executions_go_gapic", +- ":executions_go_gapic_srcjar-test.srcjar", +- ":executions_go_proto", - ], -) - @@ -56131,15 +73560,16 @@ diff -urN a/google/cloud/websecurityscanner/v1beta/BUILD.bazel b/google/cloud/we -) - -py_gapic_library( -- name = "websecurityscanner_py_gapic", -- srcs = [":websecurityscanner_proto"], -- grpc_service_config = "websecurityscanner_grpc_service_config.json", +- name = "executions_py_gapic", +- srcs = [":executions_proto"], +- grpc_service_config = "executions_grpc_service_config.json", -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "websecurityscanner-v1beta-py", +- name = "workflows-executions-v1-py", - deps = [ -- ":websecurityscanner_py_gapic", +- ":executions_py_gapic", - ], -) - @@ -56155,36 +73585,33 @@ diff -urN a/google/cloud/websecurityscanner/v1beta/BUILD.bazel b/google/cloud/we -) - -php_proto_library( -- name = "websecurityscanner_php_proto", -- deps = [":websecurityscanner_proto"], +- name = "executions_php_proto", +- deps = [":executions_proto"], -) - -php_grpc_library( -- name = "websecurityscanner_php_grpc", -- srcs = [":websecurityscanner_proto"], -- deps = [":websecurityscanner_php_proto"], +- name = "executions_php_grpc", +- srcs = [":executions_proto"], +- deps = [":executions_php_proto"], -) - -php_gapic_library( -- name = "websecurityscanner_php_gapic", -- src = ":websecurityscanner_proto_with_info", -- gapic_yaml = "websecurityscanner_gapic.yaml", -- grpc_service_config = "websecurityscanner_grpc_service_config.json", -- package = "google.cloud.websecurityscanner.v1beta", -- service_yaml = "websecurityscanner_v1beta.yaml", +- name = "executions_php_gapic", +- srcs = [":executions_proto_with_info"], +- grpc_service_config = "executions_grpc_service_config.json", - deps = [ -- ":websecurityscanner_php_grpc", -- ":websecurityscanner_php_proto", +- ":executions_php_grpc", +- ":executions_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-websecurityscanner-v1beta-php", +- name = "google-cloud-workflows-executions-v1-php", - deps = [ -- ":websecurityscanner_php_gapic", -- ":websecurityscanner_php_grpc", -- ":websecurityscanner_php_proto", +- ":executions_php_gapic", +- ":executions_php_grpc", +- ":executions_php_proto", - ], -) - @@ -56198,21 +73625,21 @@ diff -urN a/google/cloud/websecurityscanner/v1beta/BUILD.bazel b/google/cloud/we -) - -nodejs_gapic_library( -- name = "websecurityscanner_nodejs_gapic", -- package_name = "@google-cloud/web-security-scanner", -- src = ":websecurityscanner_proto_with_info", +- name = "executions_nodejs_gapic", +- package_name = "@google-cloud/workflow-executions", +- src = ":executions_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "websecurityscanner_grpc_service_config.json", -- package = "google.cloud.websecurityscanner.v1beta", -- service_yaml = "websecurityscanner_v1beta.yaml", +- grpc_service_config = "executions_grpc_service_config.json", +- package = "google.cloud.workflows.executions.v1", +- service_yaml = "workflowexecutions_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "websecurityscanner-v1beta-nodejs", +- name = "workflows-executions-v1-nodejs", - deps = [ -- ":websecurityscanner_nodejs_gapic", -- ":websecurityscanner_proto", +- ":executions_nodejs_gapic", +- ":executions_proto", - ], -) - @@ -56228,42 +73655,34 @@ diff -urN a/google/cloud/websecurityscanner/v1beta/BUILD.bazel b/google/cloud/we -) - -ruby_proto_library( -- name = "websecurityscanner_ruby_proto", -- deps = [":websecurityscanner_proto"], +- name = "executions_ruby_proto", +- deps = [":executions_proto"], -) - -ruby_grpc_library( -- name = "websecurityscanner_ruby_grpc", -- srcs = [":websecurityscanner_proto"], -- deps = [":websecurityscanner_ruby_proto"], +- name = "executions_ruby_grpc", +- srcs = [":executions_proto"], +- deps = [":executions_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "websecurityscanner_ruby_gapic", -- srcs = [":websecurityscanner_proto_with_info"], -- extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-web_security_scanner-v1beta", -- "ruby-cloud-env-prefix=WEB_SECURITY_SCANNER", -- "ruby-cloud-product-url=https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/", -- "ruby-cloud-api-id=websecurityscanner.googleapis.com", -- "ruby-cloud-api-shortname=websecurityscanner", -- ], -- grpc_service_config = "websecurityscanner_grpc_service_config.json", -- ruby_cloud_description = "Web Security Scanner scans your Compute and App Engine apps for common web vulnerabilities.", -- ruby_cloud_title = "Web Security Scanner V1beta", +- name = "executions_ruby_gapic", +- srcs = [":executions_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-executions-v1"], +- grpc_service_config = "executions_grpc_service_config.json", - deps = [ -- ":websecurityscanner_ruby_grpc", -- ":websecurityscanner_ruby_proto", +- ":executions_ruby_grpc", +- ":executions_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-websecurityscanner-v1beta-ruby", +- name = "google-cloud-workflows-executions-v1-ruby", - deps = [ -- ":websecurityscanner_ruby_gapic", -- ":websecurityscanner_ruby_grpc", -- ":websecurityscanner_ruby_proto", +- ":executions_ruby_gapic", +- ":executions_ruby_grpc", +- ":executions_ruby_proto", - ], -) - @@ -56279,34 +73698,34 @@ diff -urN a/google/cloud/websecurityscanner/v1beta/BUILD.bazel b/google/cloud/we -) - -csharp_proto_library( -- name = "websecurityscanner_csharp_proto", -- deps = [":websecurityscanner_proto"], +- name = "executions_csharp_proto", +- deps = [":executions_proto"], -) - -csharp_grpc_library( -- name = "websecurityscanner_csharp_grpc", -- srcs = [":websecurityscanner_proto"], -- deps = [":websecurityscanner_csharp_proto"], +- name = "executions_csharp_grpc", +- srcs = [":executions_proto"], +- deps = [":executions_csharp_proto"], -) - -csharp_gapic_library( -- name = "websecurityscanner_csharp_gapic", -- srcs = [":websecurityscanner_proto_with_info"], +- name = "executions_csharp_gapic", +- srcs = [":executions_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "websecurityscanner_grpc_service_config.json", +- grpc_service_config = "executions_grpc_service_config.json", - deps = [ -- ":websecurityscanner_csharp_grpc", -- ":websecurityscanner_csharp_proto", +- ":executions_csharp_grpc", +- ":executions_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-websecurityscanner-v1beta-csharp", +- name = "google-cloud-workflows-executions-v1-csharp", - deps = [ -- ":websecurityscanner_csharp_gapic", -- ":websecurityscanner_csharp_grpc", -- ":websecurityscanner_csharp_proto", +- ":executions_csharp_gapic", +- ":executions_csharp_grpc", +- ":executions_csharp_proto", - ], -) - @@ -56314,20 +73733,11 @@ diff -urN a/google/cloud/websecurityscanner/v1beta/BUILD.bazel b/google/cloud/we -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/workflows/executions/v1/BUILD.bazel b/google/cloud/workflows/executions/v1/BUILD.bazel ---- a/google/cloud/workflows/executions/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/workflows/executions/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,333 +0,0 @@ +diff -urN a/google/cloud/workflows/executions/v1beta/BUILD.bazel b/google/cloud/workflows/executions/v1beta/BUILD.bazel +--- a/google/cloud/workflows/executions/v1beta/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/workflows/executions/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,328 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel -- --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -56398,14 +73808,14 @@ diff -urN a/google/cloud/workflows/executions/v1/BUILD.bazel b/google/cloud/work -java_gapic_test( - name = "executions_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.workflows.executions.v1.ExecutionsClientTest", +- "com.google.cloud.workflows.executions.v1beta.ExecutionsClientTest", - ], - runtime_deps = [":executions_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-workflows-executions-v1-java", +- name = "google-cloud-workflows-executions-v1beta-java", - deps = [ - ":executions_java_gapic", - ":executions_java_grpc", @@ -56428,7 +73838,7 @@ diff -urN a/google/cloud/workflows/executions/v1/BUILD.bazel b/google/cloud/work -go_proto_library( - name = "executions_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/workflows/executions/v1", +- importpath = "google.golang.org/genproto/googleapis/cloud/workflows/executions/v1beta", - protos = [":executions_proto"], - deps = [ - "//google/api:annotations_go_proto", @@ -56439,8 +73849,8 @@ diff -urN a/google/cloud/workflows/executions/v1/BUILD.bazel b/google/cloud/work - name = "executions_go_gapic", - srcs = [":executions_proto_with_info"], - grpc_service_config = "executions_grpc_service_config.json", -- importpath = "cloud.google.com/go/workflows/executions/apiv1;executions", -- service_yaml = "workflowexecutions_v1.yaml", +- importpath = "cloud.google.com/go/workflows/executions/apiv1beta;executions", +- service_yaml = "workflowexecutions_v1beta.yaml", - deps = [ - ":executions_go_proto", - ], @@ -56450,12 +73860,12 @@ diff -urN a/google/cloud/workflows/executions/v1/BUILD.bazel b/google/cloud/work - name = "executions_go_gapic_test", - srcs = [":executions_go_gapic_srcjar_test"], - embed = [":executions_go_gapic"], -- importpath = "cloud.google.com/go/workflows/executions/apiv1", +- importpath = "cloud.google.com/go/workflows/executions/apiv1beta", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-workflows-executions-v1-go", +- name = "gapi-cloud-workflows-executions-v1beta-go", - deps = [ - ":executions_go_gapic", - ":executions_go_gapic_srcjar-test.srcjar", @@ -56480,9 +73890,11 @@ diff -urN a/google/cloud/workflows/executions/v1/BUILD.bazel b/google/cloud/work - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "workflows-executions-v1-py", +- name = "workflows-executions-v1beta-py", - deps = [ - ":executions_py_gapic", +- ":executions_py_grpc", +- ":executions_py_proto", - ], -) - @@ -56510,11 +73922,7 @@ diff -urN a/google/cloud/workflows/executions/v1/BUILD.bazel b/google/cloud/work - -php_gapic_library( - name = "executions_php_gapic", -- src = ":executions_proto_with_info", -- gapic_yaml = "executions_gapic.yaml", -- grpc_service_config = "executions_grpc_service_config.json", -- package = "google.cloud.workflows.executions.v1", -- service_yaml = "workflowexecutions_v1.yaml", +- srcs = [":executions_proto_with_info"], - deps = [ - ":executions_php_grpc", - ":executions_php_proto", @@ -56523,7 +73931,7 @@ diff -urN a/google/cloud/workflows/executions/v1/BUILD.bazel b/google/cloud/work - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-workflows-executions-v1-php", +- name = "google-cloud-workflows-executions-v1beta-php", - deps = [ - ":executions_php_gapic", - ":executions_php_grpc", @@ -56542,17 +73950,17 @@ diff -urN a/google/cloud/workflows/executions/v1/BUILD.bazel b/google/cloud/work - -nodejs_gapic_library( - name = "executions_nodejs_gapic", -- package_name = "@google-cloud/executions", +- package_name = "@google-cloud/workflows-executions", - src = ":executions_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "executions_grpc_service_config.json", -- package = "google.cloud.workflows.executions.v1", -- service_yaml = "workflowexecutions_v1.yaml", +- gapic_yaml = "executions_gapic.yaml", +- package = "google.cloud.workflows.executions.v1beta", +- service_yaml = "workflowexecutions_v1beta.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "workflows-executions-v1-nodejs", +- name = "workflows-executions-v1beta-nodejs", - deps = [ - ":executions_nodejs_gapic", - ":executions_proto", @@ -56564,8 +73972,8 @@ diff -urN a/google/cloud/workflows/executions/v1/BUILD.bazel b/google/cloud/work -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -56581,13 +73989,19 @@ diff -urN a/google/cloud/workflows/executions/v1/BUILD.bazel b/google/cloud/work - deps = [":executions_ruby_proto"], -) - --ruby_gapic_library( +-ruby_cloud_gapic_library( - name = "executions_ruby_gapic", -- src = ":executions_proto_with_info", -- gapic_yaml = "executions_gapic.yaml", +- srcs = [":executions_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-workflows-executions-v1beta", +- "ruby-cloud-env-prefix=WORKFLOWS", +- "ruby-cloud-product-url=https://cloud.google.com/workflows/", +- "ruby-cloud-api-id=workflowexecutions.googleapis.com", +- "ruby-cloud-api-shortname=workflowexecutions", +- ], - grpc_service_config = "executions_grpc_service_config.json", -- package = "google.cloud.workflows.executions.v1", -- service_yaml = "workflowexecutions_v1.yaml", +- ruby_cloud_description = "Workflows link series of serverless tasks together in an order you define. Combine the power of Google Cloud's APIs, serverless products like Cloud Functions and Cloud Run, and calls to external APIs to create flexible serverless applications. Workflows requires no infrastructure management and scales seamlessly with demand, including scaling down to zero..", +- ruby_cloud_title = "Workflows Executions V1beta", - deps = [ - ":executions_ruby_grpc", - ":executions_ruby_proto", @@ -56596,7 +74010,7 @@ diff -urN a/google/cloud/workflows/executions/v1/BUILD.bazel b/google/cloud/work - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-workflows-executions-v1-ruby", +- name = "google-cloud-workflows-executions-v1beta-ruby", - deps = [ - ":executions_ruby_gapic", - ":executions_ruby_grpc", @@ -56639,7 +74053,7 @@ diff -urN a/google/cloud/workflows/executions/v1/BUILD.bazel b/google/cloud/work - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-workflows-executions-v1-csharp", +- name = "google-cloud-workflows-executions-v1beta-csharp", - deps = [ - ":executions_csharp_gapic", - ":executions_csharp_grpc", @@ -56651,11 +74065,20 @@ diff -urN a/google/cloud/workflows/executions/v1/BUILD.bazel b/google/cloud/work -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/workflows/executions/v1beta/BUILD.bazel b/google/cloud/workflows/executions/v1beta/BUILD.bazel ---- a/google/cloud/workflows/executions/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/workflows/executions/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,331 +0,0 @@ +diff -urN a/google/cloud/workflows/v1/BUILD.bazel b/google/cloud/workflows/v1/BUILD.bazel +--- a/google/cloud/workflows/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/workflows/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,342 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -56667,23 +74090,25 @@ diff -urN a/google/cloud/workflows/executions/v1beta/BUILD.bazel b/google/cloud/ -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "executions_proto", +- name = "workflows_proto", - srcs = [ -- "executions.proto", +- "workflows.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", +- "//google/longrunning:operations_proto", +- "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "executions_proto_with_info", +- name = "workflows_proto_with_info", - deps = [ -- ":executions_proto", +- ":workflows_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -56701,44 +74126,44 @@ diff -urN a/google/cloud/workflows/executions/v1beta/BUILD.bazel b/google/cloud/ -) - -java_proto_library( -- name = "executions_java_proto", -- deps = [":executions_proto"], +- name = "workflows_java_proto", +- deps = [":workflows_proto"], -) - -java_grpc_library( -- name = "executions_java_grpc", -- srcs = [":executions_proto"], -- deps = [":executions_java_proto"], +- name = "workflows_java_grpc", +- srcs = [":workflows_proto"], +- deps = [":workflows_java_proto"], -) - -java_gapic_library( -- name = "executions_java_gapic", -- srcs = [":executions_proto_with_info"], -- grpc_service_config = "executions_grpc_service_config.json", +- name = "workflows_java_gapic", +- srcs = [":workflows_proto_with_info"], +- grpc_service_config = "workflows_grpc_service_config.json", - test_deps = [ -- ":executions_java_grpc", +- ":workflows_java_grpc", - ], - deps = [ -- ":executions_java_proto", +- ":workflows_java_proto", - ], -) - -java_gapic_test( -- name = "executions_java_gapic_test_suite", +- name = "workflows_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.workflows.executions.v1beta.ExecutionsClientTest", +- "com.google.cloud.workflows.v1.WorkflowsClientTest", - ], -- runtime_deps = [":executions_java_gapic_test"], +- runtime_deps = [":workflows_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-workflows-executions-v1beta-java", +- name = "google-cloud-workflows-v1-java", - deps = [ -- ":executions_java_gapic", -- ":executions_java_grpc", -- ":executions_java_proto", -- ":executions_proto", +- ":workflows_java_gapic", +- ":workflows_java_grpc", +- ":workflows_java_proto", +- ":workflows_proto", - ], -) - @@ -56754,40 +74179,44 @@ diff -urN a/google/cloud/workflows/executions/v1beta/BUILD.bazel b/google/cloud/ -) - -go_proto_library( -- name = "executions_go_proto", +- name = "workflows_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/workflows/executions/v1beta", -- protos = [":executions_proto"], +- importpath = "google.golang.org/genproto/googleapis/cloud/workflows/v1", +- protos = [":workflows_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "executions_go_gapic", -- srcs = [":executions_proto_with_info"], -- grpc_service_config = "executions_grpc_service_config.json", -- importpath = "cloud.google.com/go/workflows/executions/apiv1beta;executions", -- service_yaml = "workflowexecutions_v1beta.yaml", +- name = "workflows_go_gapic", +- srcs = [":workflows_proto_with_info"], +- grpc_service_config = "workflows_grpc_service_config.json", +- importpath = "cloud.google.com/go/workflows/apiv1;workflows", +- service_yaml = "workflows_v1.yaml", - deps = [ -- ":executions_go_proto", +- ":workflows_go_proto", +- "//google/longrunning:longrunning_go_proto", +- "@com_google_cloud_go//longrunning:go_default_library", +- "@com_google_cloud_go//longrunning/autogen:go_default_library", - ], -) - -go_test( -- name = "executions_go_gapic_test", -- srcs = [":executions_go_gapic_srcjar_test"], -- embed = [":executions_go_gapic"], -- importpath = "cloud.google.com/go/workflows/executions/apiv1beta", +- name = "workflows_go_gapic_test", +- srcs = [":workflows_go_gapic_srcjar_test"], +- embed = [":workflows_go_gapic"], +- importpath = "cloud.google.com/go/workflows/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-workflows-executions-v1beta-go", +- name = "gapi-cloud-workflows-v1-go", - deps = [ -- ":executions_go_gapic", -- ":executions_go_gapic_srcjar-test.srcjar", -- ":executions_go_proto", +- ":workflows_go_gapic", +- ":workflows_go_gapic_srcjar-test.srcjar", +- ":workflows_go_proto", - ], -) - @@ -56801,18 +74230,16 @@ diff -urN a/google/cloud/workflows/executions/v1beta/BUILD.bazel b/google/cloud/ -) - -py_gapic_library( -- name = "executions_py_gapic", -- srcs = [":executions_proto"], -- grpc_service_config = "executions_grpc_service_config.json", +- name = "workflows_py_gapic", +- srcs = [":workflows_proto"], +- grpc_service_config = "workflows_grpc_service_config.json", -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "workflows-executions-v1beta-py", +- name = "workflows-v1-py", - deps = [ -- ":executions_py_gapic", -- ":executions_py_grpc", -- ":executions_py_proto", +- ":workflows_py_gapic", - ], -) - @@ -56828,35 +74255,33 @@ diff -urN a/google/cloud/workflows/executions/v1beta/BUILD.bazel b/google/cloud/ -) - -php_proto_library( -- name = "executions_php_proto", -- deps = [":executions_proto"], +- name = "workflows_php_proto", +- deps = [":workflows_proto"], -) - -php_grpc_library( -- name = "executions_php_grpc", -- srcs = [":executions_proto"], -- deps = [":executions_php_proto"], +- name = "workflows_php_grpc", +- srcs = [":workflows_proto"], +- deps = [":workflows_php_proto"], -) - -php_gapic_library( -- name = "executions_php_gapic", -- src = ":executions_proto_with_info", -- gapic_yaml = "executions_gapic.yaml", -- package = "google.cloud.workflows.executions.v1beta", -- service_yaml = "workflowexecutions_v1beta.yaml", +- name = "workflows_php_gapic", +- srcs = [":workflows_proto_with_info"], +- grpc_service_config = "workflows_grpc_service_config.json", - deps = [ -- ":executions_php_grpc", -- ":executions_php_proto", +- ":workflows_php_grpc", +- ":workflows_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-workflows-executions-v1beta-php", +- name = "google-cloud-workflows-v1-php", - deps = [ -- ":executions_php_gapic", -- ":executions_php_grpc", -- ":executions_php_proto", +- ":workflows_php_gapic", +- ":workflows_php_grpc", +- ":workflows_php_proto", - ], -) - @@ -56870,21 +74295,21 @@ diff -urN a/google/cloud/workflows/executions/v1beta/BUILD.bazel b/google/cloud/ -) - -nodejs_gapic_library( -- name = "executions_nodejs_gapic", -- package_name = "@google-cloud/workflows-executions", -- src = ":executions_proto_with_info", +- name = "workflows_nodejs_gapic", +- package_name = "@google-cloud/workflows", +- src = ":workflows_proto_with_info", - extra_protoc_parameters = ["metadata"], -- gapic_yaml = "executions_gapic.yaml", -- package = "google.cloud.workflows.executions.v1beta", -- service_yaml = "workflowexecutions_v1beta.yaml", +- grpc_service_config = "workflows_grpc_service_config.json", +- package = "google.cloud.workflows.v1", +- service_yaml = "workflows_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "workflows-executions-v1beta-nodejs", +- name = "workflows-v1-nodejs", - deps = [ -- ":executions_nodejs_gapic", -- ":executions_proto", +- ":workflows_nodejs_gapic", +- ":workflows_proto", - ], -) - @@ -56900,42 +74325,42 @@ diff -urN a/google/cloud/workflows/executions/v1beta/BUILD.bazel b/google/cloud/ -) - -ruby_proto_library( -- name = "executions_ruby_proto", -- deps = [":executions_proto"], +- name = "workflows_ruby_proto", +- deps = [":workflows_proto"], -) - -ruby_grpc_library( -- name = "executions_ruby_grpc", -- srcs = [":executions_proto"], -- deps = [":executions_ruby_proto"], +- name = "workflows_ruby_grpc", +- srcs = [":workflows_proto"], +- deps = [":workflows_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "executions_ruby_gapic", -- srcs = [":executions_proto_with_info"], +- name = "workflows_ruby_gapic", +- srcs = [":workflows_proto_with_info",], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-workflows-executions-v1beta", +- "ruby-cloud-gem-name=google-cloud-workflows-v1", - "ruby-cloud-env-prefix=WORKFLOWS", - "ruby-cloud-product-url=https://cloud.google.com/workflows/", -- "ruby-cloud-api-id=workflowexecutions.googleapis.com", -- "ruby-cloud-api-shortname=workflowexecutions", +- "ruby-cloud-api-id=workflows.googleapis.com", +- "ruby-cloud-api-shortname=workflows", - ], -- grpc_service_config = "executions_grpc_service_config.json", +- grpc_service_config = "workflows_grpc_service_config.json", - ruby_cloud_description = "Workflows link series of serverless tasks together in an order you define. Combine the power of Google Cloud's APIs, serverless products like Cloud Functions and Cloud Run, and calls to external APIs to create flexible serverless applications. Workflows requires no infrastructure management and scales seamlessly with demand, including scaling down to zero..", -- ruby_cloud_title = "Workflows Executions V1beta", +- ruby_cloud_title = "Workflows V1", - deps = [ -- ":executions_ruby_grpc", -- ":executions_ruby_proto", +- ":workflows_ruby_grpc", +- ":workflows_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-workflows-executions-v1beta-ruby", +- name = "google-cloud-workflows-v1-ruby", - deps = [ -- ":executions_ruby_gapic", -- ":executions_ruby_grpc", -- ":executions_ruby_proto", +- ":workflows_ruby_gapic", +- ":workflows_ruby_grpc", +- ":workflows_ruby_proto", - ], -) - @@ -56951,34 +74376,34 @@ diff -urN a/google/cloud/workflows/executions/v1beta/BUILD.bazel b/google/cloud/ -) - -csharp_proto_library( -- name = "executions_csharp_proto", -- deps = [":executions_proto"], +- name = "workflows_csharp_proto", +- deps = [":workflows_proto"], -) - -csharp_grpc_library( -- name = "executions_csharp_grpc", -- srcs = [":executions_proto"], -- deps = [":executions_csharp_proto"], +- name = "workflows_csharp_grpc", +- srcs = [":workflows_proto"], +- deps = [":workflows_csharp_proto"], -) - -csharp_gapic_library( -- name = "executions_csharp_gapic", -- srcs = [":executions_proto_with_info"], +- name = "workflows_csharp_gapic", +- srcs = [":workflows_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "executions_grpc_service_config.json", +- grpc_service_config = "workflows_grpc_service_config.json", - deps = [ -- ":executions_csharp_grpc", -- ":executions_csharp_proto", +- ":workflows_csharp_grpc", +- ":workflows_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-workflows-executions-v1beta-csharp", +- name = "google-cloud-workflows-v1-csharp", - deps = [ -- ":executions_csharp_gapic", -- ":executions_csharp_grpc", -- ":executions_csharp_proto", +- ":workflows_csharp_gapic", +- ":workflows_csharp_grpc", +- ":workflows_csharp_proto", - ], -) - @@ -56986,20 +74411,11 @@ diff -urN a/google/cloud/workflows/executions/v1beta/BUILD.bazel b/google/cloud/ -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/workflows/v1/BUILD.bazel b/google/cloud/workflows/v1/BUILD.bazel ---- a/google/cloud/workflows/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/workflows/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,339 +0,0 @@ +diff -urN a/google/cloud/workflows/v1beta/BUILD.bazel b/google/cloud/workflows/v1beta/BUILD.bazel +--- a/google/cloud/workflows/v1beta/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/cloud/workflows/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,332 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel -- --# Most of the manual changes to this file will be overwritten. --# It's **only** allowed to change the following rule attribute values: --# - names of *_gapic_assembly_* rules --# - certain parameters of *_gapic_library rules, including but not limited to: --# * extra_protoc_parameters --# * extra_protoc_file_parameters --# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -57072,14 +74488,14 @@ diff -urN a/google/cloud/workflows/v1/BUILD.bazel b/google/cloud/workflows/v1/BU -java_gapic_test( - name = "workflows_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.workflows.v1.WorkflowsClientTest", +- "com.google.cloud.workflows.v1beta.WorkflowsClientTest", - ], - runtime_deps = [":workflows_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-workflows-v1-java", +- name = "google-cloud-workflows-v1beta-java", - deps = [ - ":workflows_java_gapic", - ":workflows_java_grpc", @@ -57102,7 +74518,7 @@ diff -urN a/google/cloud/workflows/v1/BUILD.bazel b/google/cloud/workflows/v1/BU -go_proto_library( - name = "workflows_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/workflows/v1", +- importpath = "google.golang.org/genproto/googleapis/cloud/workflows/v1beta", - protos = [":workflows_proto"], - deps = [ - "//google/api:annotations_go_proto", @@ -57114,8 +74530,8 @@ diff -urN a/google/cloud/workflows/v1/BUILD.bazel b/google/cloud/workflows/v1/BU - name = "workflows_go_gapic", - srcs = [":workflows_proto_with_info"], - grpc_service_config = "workflows_grpc_service_config.json", -- importpath = "cloud.google.com/go/workflows/apiv1;workflows", -- service_yaml = "workflows_v1.yaml", +- importpath = "cloud.google.com/go/workflows/apiv1beta;workflows", +- service_yaml = "workflows_v1beta.yaml", - deps = [ - ":workflows_go_proto", - "//google/longrunning:longrunning_go_proto", @@ -57128,12 +74544,12 @@ diff -urN a/google/cloud/workflows/v1/BUILD.bazel b/google/cloud/workflows/v1/BU - name = "workflows_go_gapic_test", - srcs = [":workflows_go_gapic_srcjar_test"], - embed = [":workflows_go_gapic"], -- importpath = "cloud.google.com/go/workflows/apiv1", +- importpath = "cloud.google.com/go/workflows/apiv1beta", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-workflows-v1-go", +- name = "gapi-cloud-workflows-v1beta-go", - deps = [ - ":workflows_go_gapic", - ":workflows_go_gapic_srcjar-test.srcjar", @@ -57158,7 +74574,7 @@ diff -urN a/google/cloud/workflows/v1/BUILD.bazel b/google/cloud/workflows/v1/BU - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "workflows-v1-py", +- name = "workflows-v1beta-py", - deps = [ - ":workflows_py_gapic", - ], @@ -57188,11 +74604,7 @@ diff -urN a/google/cloud/workflows/v1/BUILD.bazel b/google/cloud/workflows/v1/BU - -php_gapic_library( - name = "workflows_php_gapic", -- src = ":workflows_proto_with_info", -- gapic_yaml = "workflows_gapic.yaml", -- grpc_service_config = "workflows_grpc_service_config.json", -- package = "google.cloud.workflows.v1", -- service_yaml = "workflows_v1.yaml", +- srcs = [":workflows_proto_with_info"], - deps = [ - ":workflows_php_grpc", - ":workflows_php_proto", @@ -57201,7 +74613,7 @@ diff -urN a/google/cloud/workflows/v1/BUILD.bazel b/google/cloud/workflows/v1/BU - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-workflows-v1-php", +- name = "google-cloud-workflows-v1beta-php", - deps = [ - ":workflows_php_gapic", - ":workflows_php_grpc", @@ -57223,14 +74635,14 @@ diff -urN a/google/cloud/workflows/v1/BUILD.bazel b/google/cloud/workflows/v1/BU - package_name = "@google-cloud/workflows", - src = ":workflows_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "workflows_grpc_service_config.json", -- package = "google.cloud.workflows.v1", -- service_yaml = "workflows_v1.yaml", +- gapic_yaml = "workflows_gapic.yaml", +- package = "google.cloud.workflows.v1beta", +- service_yaml = "workflows_v1beta.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "workflows-v1-nodejs", +- name = "workflows-v1beta-nodejs", - deps = [ - ":workflows_nodejs_gapic", - ":workflows_proto", @@ -57242,8 +74654,8 @@ diff -urN a/google/cloud/workflows/v1/BUILD.bazel b/google/cloud/workflows/v1/BU -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -57259,13 +74671,19 @@ diff -urN a/google/cloud/workflows/v1/BUILD.bazel b/google/cloud/workflows/v1/BU - deps = [":workflows_ruby_proto"], -) - --ruby_gapic_library( +-ruby_cloud_gapic_library( - name = "workflows_ruby_gapic", -- src = ":workflows_proto_with_info", -- gapic_yaml = "workflows_gapic.yaml", +- srcs = [":workflows_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-workflows-v1beta", +- "ruby-cloud-env-prefix=WORKFLOWS", +- "ruby-cloud-product-url=https://cloud.google.com/workflows/", +- "ruby-cloud-api-id=workflows.googleapis.com", +- "ruby-cloud-api-shortname=workflows", +- ], - grpc_service_config = "workflows_grpc_service_config.json", -- package = "google.cloud.workflows.v1", -- service_yaml = "workflows_v1.yaml", +- ruby_cloud_description = "Workflows link series of serverless tasks together in an order you define. Combine the power of Google Cloud's APIs, serverless products like Cloud Functions and Cloud Run, and calls to external APIs to create flexible serverless applications. Workflows requires no infrastructure management and scales seamlessly with demand, including scaling down to zero..", +- ruby_cloud_title = "Workflows V1beta", - deps = [ - ":workflows_ruby_grpc", - ":workflows_ruby_proto", @@ -57274,7 +74692,7 @@ diff -urN a/google/cloud/workflows/v1/BUILD.bazel b/google/cloud/workflows/v1/BU - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-workflows-v1-ruby", +- name = "google-cloud-workflows-v1beta-ruby", - deps = [ - ":workflows_ruby_gapic", - ":workflows_ruby_grpc", @@ -57317,7 +74735,7 @@ diff -urN a/google/cloud/workflows/v1/BUILD.bazel b/google/cloud/workflows/v1/BU - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-workflows-v1-csharp", +- name = "google-cloud-workflows-v1beta-csharp", - deps = [ - ":workflows_csharp_gapic", - ":workflows_csharp_grpc", @@ -57329,10 +74747,15 @@ diff -urN a/google/cloud/workflows/v1/BUILD.bazel b/google/cloud/workflows/v1/BU -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/cloud/workflows/v1beta/BUILD.bazel b/google/cloud/workflows/v1beta/BUILD.bazel ---- a/google/cloud/workflows/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/cloud/workflows/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,335 +0,0 @@ +diff -urN a/google/container/BUILD.bazel b/google/container/BUILD.bazel +--- a/google/container/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/container/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1 +0,0 @@ +-exports_files(glob(["*.yaml"])) +diff -urN a/google/container/v1/BUILD.bazel b/google/container/v1/BUILD.bazel +--- a/google/container/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/container/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,327 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -57345,25 +74768,23 @@ diff -urN a/google/cloud/workflows/v1beta/BUILD.bazel b/google/cloud/workflows/v -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "workflows_proto", +- name = "container_proto", - srcs = [ -- "workflows.proto", +- "cluster_service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/longrunning:operations_proto", -- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( -- name = "workflows_proto_with_info", +- name = "container_proto_with_info", - deps = [ -- ":workflows_proto", +- ":container_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -57381,44 +74802,45 @@ diff -urN a/google/cloud/workflows/v1beta/BUILD.bazel b/google/cloud/workflows/v -) - -java_proto_library( -- name = "workflows_java_proto", -- deps = [":workflows_proto"], +- name = "container_java_proto", +- deps = [":container_proto"], -) - -java_grpc_library( -- name = "workflows_java_grpc", -- srcs = [":workflows_proto"], -- deps = [":workflows_java_proto"], +- name = "container_java_grpc", +- srcs = [":container_proto"], +- deps = [":container_java_proto"], -) - -java_gapic_library( -- name = "workflows_java_gapic", -- srcs = [":workflows_proto_with_info"], -- grpc_service_config = "workflows_grpc_service_config.json", +- name = "container_java_gapic", +- srcs = [":container_proto_with_info"], +- gapic_yaml = "container_gapic.yaml", +- grpc_service_config = "container_grpc_service_config.json", - test_deps = [ -- ":workflows_java_grpc", +- ":container_java_grpc", - ], - deps = [ -- ":workflows_java_proto", +- ":container_java_proto", - ], -) - -java_gapic_test( -- name = "workflows_java_gapic_test_suite", +- name = "container_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.workflows.v1beta.WorkflowsClientTest", +- "com.google.cloud.container.v1.ClusterManagerClientTest", - ], -- runtime_deps = [":workflows_java_gapic_test"], +- runtime_deps = [":container_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-workflows-v1beta-java", +- name = "google-cloud-container-v1-java", - deps = [ -- ":workflows_java_gapic", -- ":workflows_java_grpc", -- ":workflows_java_proto", -- ":workflows_proto", +- ":container_java_gapic", +- ":container_java_grpc", +- ":container_java_proto", +- ":container_proto", - ], -) - @@ -57434,44 +74856,40 @@ diff -urN a/google/cloud/workflows/v1beta/BUILD.bazel b/google/cloud/workflows/v -) - -go_proto_library( -- name = "workflows_go_proto", +- name = "container_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/cloud/workflows/v1beta", -- protos = [":workflows_proto"], +- importpath = "google.golang.org/genproto/googleapis/container/v1", +- protos = [":container_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( -- name = "workflows_go_gapic", -- srcs = [":workflows_proto_with_info"], -- grpc_service_config = "workflows_grpc_service_config.json", -- importpath = "cloud.google.com/go/workflows/apiv1beta;workflows", -- service_yaml = "workflows_v1beta.yaml", +- name = "container_go_gapic", +- srcs = [":container_proto_with_info"], +- grpc_service_config = "container_grpc_service_config.json", +- importpath = "cloud.google.com/go/container/apiv1;container", +- service_yaml = "container_v1.yaml", - deps = [ -- ":workflows_go_proto", -- "//google/longrunning:longrunning_go_proto", -- "@com_google_cloud_go//longrunning:go_default_library", -- "@com_google_cloud_go//longrunning/autogen:go_default_library", +- ":container_go_proto", - ], -) - -go_test( -- name = "workflows_go_gapic_test", -- srcs = [":workflows_go_gapic_srcjar_test"], -- embed = [":workflows_go_gapic"], -- importpath = "cloud.google.com/go/workflows/apiv1beta", +- name = "container_go_gapic_test", +- srcs = [":container_go_gapic_srcjar_test"], +- embed = [":container_go_gapic"], +- importpath = "cloud.google.com/go/container/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-workflows-v1beta-go", +- name = "gapi-cloud-container-v1-go", - deps = [ -- ":workflows_go_gapic", -- ":workflows_go_gapic_srcjar-test.srcjar", -- ":workflows_go_proto", +- ":container_go_gapic", +- ":container_go_gapic_srcjar-test.srcjar", +- ":container_go_proto", - ], -) - @@ -57485,16 +74903,15 @@ diff -urN a/google/cloud/workflows/v1beta/BUILD.bazel b/google/cloud/workflows/v -) - -py_gapic_library( -- name = "workflows_py_gapic", -- srcs = [":workflows_proto"], -- grpc_service_config = "workflows_grpc_service_config.json", +- name = "container_py_gapic", +- srcs = [":container_proto"], +- grpc_service_config = "container_grpc_service_config.json", -) - --# Open Source Packages -py_gapic_assembly_pkg( -- name = "workflows-v1beta-py", +- name = "container-v1-py", - deps = [ -- ":workflows_py_gapic", +- ":container_py_gapic", - ], -) - @@ -57510,35 +74927,33 @@ diff -urN a/google/cloud/workflows/v1beta/BUILD.bazel b/google/cloud/workflows/v -) - -php_proto_library( -- name = "workflows_php_proto", -- deps = [":workflows_proto"], +- name = "container_php_proto", +- deps = [":container_proto"], -) - -php_grpc_library( -- name = "workflows_php_grpc", -- srcs = [":workflows_proto"], -- deps = [":workflows_php_proto"], +- name = "container_php_grpc", +- srcs = [":container_proto"], +- deps = [":container_php_proto"], -) - -php_gapic_library( -- name = "workflows_php_gapic", -- src = ":workflows_proto_with_info", -- gapic_yaml = "workflows_gapic.yaml", -- package = "google.cloud.workflows.v1beta", -- service_yaml = "workflows_v1beta.yaml", +- name = "container_php_gapic", +- srcs = [":container_proto_with_info"], +- grpc_service_config = "container_grpc_service_config.json", - deps = [ -- ":workflows_php_grpc", -- ":workflows_php_proto", +- ":container_php_grpc", +- ":container_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-workflows-v1beta-php", +- name = "google-cloud-container-v1-php", - deps = [ -- ":workflows_php_gapic", -- ":workflows_php_grpc", -- ":workflows_php_proto", +- ":container_php_gapic", +- ":container_php_grpc", +- ":container_php_proto", - ], -) - @@ -57552,21 +74967,21 @@ diff -urN a/google/cloud/workflows/v1beta/BUILD.bazel b/google/cloud/workflows/v -) - -nodejs_gapic_library( -- name = "workflows_nodejs_gapic", -- package_name = "@google-cloud/workflows", -- src = ":workflows_proto_with_info", +- name = "container_nodejs_gapic", +- package_name = "@google-cloud/container", +- src = ":container_proto_with_info", - extra_protoc_parameters = ["metadata"], -- gapic_yaml = "workflows_gapic.yaml", -- package = "google.cloud.workflows.v1beta", -- service_yaml = "workflows_v1beta.yaml", +- grpc_service_config = "container_grpc_service_config.json", +- package = "google.container.v1", +- service_yaml = "container_v1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "workflows-v1beta-nodejs", +- name = "container-v1-nodejs", - deps = [ -- ":workflows_nodejs_gapic", -- ":workflows_proto", +- ":container_nodejs_gapic", +- ":container_proto", - ], -) - @@ -57575,49 +74990,49 @@ diff -urN a/google/cloud/workflows/v1beta/BUILD.bazel b/google/cloud/workflows/v -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( -- name = "workflows_ruby_proto", -- deps = [":workflows_proto"], +- name = "container_ruby_proto", +- deps = [":container_proto"], -) - -ruby_grpc_library( -- name = "workflows_ruby_grpc", -- srcs = [":workflows_proto"], -- deps = [":workflows_ruby_proto"], +- name = "container_ruby_grpc", +- srcs = [":container_proto"], +- deps = [":container_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "workflows_ruby_gapic", -- srcs = [":workflows_proto_with_info"], +- name = "container_ruby_gapic", +- srcs = [":container_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-workflows-v1beta", -- "ruby-cloud-env-prefix=WORKFLOWS", -- "ruby-cloud-product-url=https://cloud.google.com/workflows/", -- "ruby-cloud-api-id=workflows.googleapis.com", -- "ruby-cloud-api-shortname=workflows", +- "ruby-cloud-gem-name=google-cloud-container-v1", +- "ruby-cloud-env-prefix=CONTAINER", +- "ruby-cloud-product-url=https://cloud.google.com/kubernetes-engine", +- "ruby-cloud-api-id=container.googleapis.com", +- "ruby-cloud-api-shortname=container", - ], -- grpc_service_config = "workflows_grpc_service_config.json", -- ruby_cloud_description = "Workflows link series of serverless tasks together in an order you define. Combine the power of Google Cloud's APIs, serverless products like Cloud Functions and Cloud Run, and calls to external APIs to create flexible serverless applications. Workflows requires no infrastructure management and scales seamlessly with demand, including scaling down to zero..", -- ruby_cloud_title = "Workflows V1beta", +- grpc_service_config = "container_grpc_service_config.json", +- ruby_cloud_description = "Builds and manages container-based applications, powered by the open source Kubernetes technology.", +- ruby_cloud_title = "Kubernetes Engine V1", - deps = [ -- ":workflows_ruby_grpc", -- ":workflows_ruby_proto", +- ":container_ruby_grpc", +- ":container_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-workflows-v1beta-ruby", +- name = "google-cloud-container-v1-ruby", - deps = [ -- ":workflows_ruby_gapic", -- ":workflows_ruby_grpc", -- ":workflows_ruby_proto", +- ":container_ruby_gapic", +- ":container_ruby_grpc", +- ":container_ruby_proto", - ], -) - @@ -57633,34 +75048,34 @@ diff -urN a/google/cloud/workflows/v1beta/BUILD.bazel b/google/cloud/workflows/v -) - -csharp_proto_library( -- name = "workflows_csharp_proto", -- deps = [":workflows_proto"], +- name = "container_csharp_proto", +- deps = [":container_proto"], -) - -csharp_grpc_library( -- name = "workflows_csharp_grpc", -- srcs = [":workflows_proto"], -- deps = [":workflows_csharp_proto"], +- name = "container_csharp_grpc", +- srcs = [":container_proto"], +- deps = [":container_csharp_proto"], -) - -csharp_gapic_library( -- name = "workflows_csharp_gapic", -- srcs = [":workflows_proto_with_info"], +- name = "container_csharp_gapic", +- srcs = [":container_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "workflows_grpc_service_config.json", +- grpc_service_config = "container_grpc_service_config.json", - deps = [ -- ":workflows_csharp_grpc", -- ":workflows_csharp_proto", +- ":container_csharp_grpc", +- ":container_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-workflows-v1beta-csharp", +- name = "google-cloud-container-v1-csharp", - deps = [ -- ":workflows_csharp_gapic", -- ":workflows_csharp_grpc", -- ":workflows_csharp_proto", +- ":container_csharp_gapic", +- ":container_csharp_grpc", +- ":container_csharp_proto", - ], -) - @@ -57668,15 +75083,10 @@ diff -urN a/google/cloud/workflows/v1beta/BUILD.bazel b/google/cloud/workflows/v -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/container/BUILD.bazel b/google/container/BUILD.bazel ---- a/google/container/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/container/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1 +0,0 @@ --exports_files(glob(["*.yaml"])) -diff -urN a/google/container/v1/BUILD.bazel b/google/container/v1/BUILD.bazel ---- a/google/container/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/container/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,330 +0,0 @@ +diff -urN a/google/container/v1beta1/BUILD.bazel b/google/container/v1beta1/BUILD.bazel +--- a/google/container/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/container/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,332 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -57697,8 +75107,12 @@ diff -urN a/google/container/v1/BUILD.bazel b/google/container/v1/BUILD.bazel - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/rpc:code_proto", +- "//google/rpc:status_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", - ], -) - @@ -57749,14 +75163,14 @@ diff -urN a/google/container/v1/BUILD.bazel b/google/container/v1/BUILD.bazel -java_gapic_test( - name = "container_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.container.v1.ClusterManagerClientTest", +- "com.google.cloud.container.v1beta1.ClusterManagerClientTest", - ], - runtime_deps = [":container_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-container-v1-java", +- name = "google-cloud-container-v1beta1-java", - deps = [ - ":container_java_gapic", - ":container_java_grpc", @@ -57779,10 +75193,12 @@ diff -urN a/google/container/v1/BUILD.bazel b/google/container/v1/BUILD.bazel -go_proto_library( - name = "container_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/container/v1", +- importpath = "google.golang.org/genproto/googleapis/container/v1beta1", - protos = [":container_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/rpc:code_go_proto", +- "//google/rpc:status_go_proto", - ], -) - @@ -57790,8 +75206,8 @@ diff -urN a/google/container/v1/BUILD.bazel b/google/container/v1/BUILD.bazel - name = "container_go_gapic", - srcs = [":container_proto_with_info"], - grpc_service_config = "container_grpc_service_config.json", -- importpath = "cloud.google.com/go/container/apiv1;container", -- service_yaml = "container_v1.yaml", +- importpath = "cloud.google.com/go/container/apiv1beta1;container", +- service_yaml = "container_v1beta1.yaml", - deps = [ - ":container_go_proto", - ], @@ -57801,12 +75217,12 @@ diff -urN a/google/container/v1/BUILD.bazel b/google/container/v1/BUILD.bazel - name = "container_go_gapic_test", - srcs = [":container_go_gapic_srcjar_test"], - embed = [":container_go_gapic"], -- importpath = "cloud.google.com/go/container/apiv1", +- importpath = "cloud.google.com/go/container/apiv1beta1", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-container-v1-go", +- name = "gapi-cloud-container-v1beta1-go", - deps = [ - ":container_go_gapic", - ":container_go_gapic_srcjar-test.srcjar", @@ -57830,7 +75246,7 @@ diff -urN a/google/container/v1/BUILD.bazel b/google/container/v1/BUILD.bazel -) - -py_gapic_assembly_pkg( -- name = "container-v1-py", +- name = "container-v1beta1-py", - deps = [ - ":container_py_gapic", - ], @@ -57860,11 +75276,8 @@ diff -urN a/google/container/v1/BUILD.bazel b/google/container/v1/BUILD.bazel - -php_gapic_library( - name = "container_php_gapic", -- src = ":container_proto_with_info", -- gapic_yaml = "container_gapic.yaml", +- srcs = [":container_proto_with_info"], - grpc_service_config = "container_grpc_service_config.json", -- package = "google.container.v1", -- service_yaml = "container_v1.yaml", - deps = [ - ":container_php_grpc", - ":container_php_proto", @@ -57873,7 +75286,7 @@ diff -urN a/google/container/v1/BUILD.bazel b/google/container/v1/BUILD.bazel - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-container-v1-php", +- name = "google-cloud-container-v1beta1-php", - deps = [ - ":container_php_gapic", - ":container_php_grpc", @@ -57892,17 +75305,16 @@ diff -urN a/google/container/v1/BUILD.bazel b/google/container/v1/BUILD.bazel - -nodejs_gapic_library( - name = "container_nodejs_gapic", -- package_name = "@google-cloud/container", - src = ":container_proto_with_info", - extra_protoc_parameters = ["metadata"], - grpc_service_config = "container_grpc_service_config.json", -- package = "google.container.v1", -- service_yaml = "container_v1.yaml", +- package = "google.container.v1beta1", +- service_yaml = "container_v1beta1.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "container-v1-nodejs", +- name = "container-v1beta1-nodejs", - deps = [ - ":container_nodejs_gapic", - ":container_proto", @@ -57914,8 +75326,8 @@ diff -urN a/google/container/v1/BUILD.bazel b/google/container/v1/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -57935,7 +75347,7 @@ diff -urN a/google/container/v1/BUILD.bazel b/google/container/v1/BUILD.bazel - name = "container_ruby_gapic", - srcs = [":container_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-container-v1", +- "ruby-cloud-gem-name=google-cloud-container-v1beta1", - "ruby-cloud-env-prefix=CONTAINER", - "ruby-cloud-product-url=https://cloud.google.com/kubernetes-engine", - "ruby-cloud-api-id=container.googleapis.com", @@ -57943,7 +75355,7 @@ diff -urN a/google/container/v1/BUILD.bazel b/google/container/v1/BUILD.bazel - ], - grpc_service_config = "container_grpc_service_config.json", - ruby_cloud_description = "Builds and manages container-based applications, powered by the open source Kubernetes technology.", -- ruby_cloud_title = "Kubernetes Engine V1", +- ruby_cloud_title = "Kubernetes Engine V1beta1", - deps = [ - ":container_ruby_grpc", - ":container_ruby_proto", @@ -57952,7 +75364,7 @@ diff -urN a/google/container/v1/BUILD.bazel b/google/container/v1/BUILD.bazel - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-container-v1-ruby", +- name = "google-cloud-container-v1beta1-ruby", - deps = [ - ":container_ruby_gapic", - ":container_ruby_grpc", @@ -57995,7 +75407,7 @@ diff -urN a/google/container/v1/BUILD.bazel b/google/container/v1/BUILD.bazel - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-container-v1-csharp", +- name = "google-cloud-container-v1beta1-csharp", - deps = [ - ":container_csharp_gapic", - ":container_csharp_grpc", @@ -58007,11 +75419,20 @@ diff -urN a/google/container/v1/BUILD.bazel b/google/container/v1/BUILD.bazel -# C++ -############################################################################## -# Put your C++ rules here -diff -urN a/google/container/v1beta1/BUILD.bazel b/google/container/v1beta1/BUILD.bazel ---- a/google/container/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/container/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,335 +0,0 @@ +diff -urN a/google/dataflow/v1beta3/BUILD.bazel b/google/dataflow/v1beta3/BUILD.bazel +--- a/google/dataflow/v1beta3/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/dataflow/v1beta3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,361 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -58023,27 +75444,32 @@ diff -urN a/google/container/v1beta1/BUILD.bazel b/google/container/v1beta1/BUIL -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( -- name = "container_proto", +- name = "dataflow_proto", - srcs = [ -- "cluster_service.proto", +- "environment.proto", +- "jobs.proto", +- "messages.proto", +- "metrics.proto", +- "snapshots.proto", +- "streaming.proto", +- "templates.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", -- "//google/api:resource_proto", -- "//google/rpc:code_proto", - "//google/rpc:status_proto", -- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:struct_proto", - "@com_google_protobuf//:timestamp_proto", -- "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( -- name = "container_proto_with_info", +- name = "dataflow_proto_with_info", - deps = [ -- ":container_proto", +- ":dataflow_proto", - "//google/cloud:common_resources_proto", - ], -) @@ -58061,45 +75487,49 @@ diff -urN a/google/container/v1beta1/BUILD.bazel b/google/container/v1beta1/BUIL -) - -java_proto_library( -- name = "container_java_proto", -- deps = [":container_proto"], +- name = "dataflow_java_proto", +- deps = [":dataflow_proto"], -) - -java_grpc_library( -- name = "container_java_grpc", -- srcs = [":container_proto"], -- deps = [":container_java_proto"], +- name = "dataflow_java_grpc", +- srcs = [":dataflow_proto"], +- deps = [":dataflow_java_proto"], -) - -java_gapic_library( -- name = "container_java_gapic", -- srcs = [":container_proto_with_info"], -- gapic_yaml = "container_gapic.yaml", -- grpc_service_config = "container_grpc_service_config.json", +- name = "dataflow_java_gapic", +- srcs = [":dataflow_proto_with_info"], +- grpc_service_config = "dataflow_grpc_service_config.json", - test_deps = [ -- ":container_java_grpc", +- ":dataflow_java_grpc", - ], - deps = [ -- ":container_java_proto", +- ":dataflow_java_proto", - ], -) - -java_gapic_test( -- name = "container_java_gapic_test_suite", +- name = "dataflow_java_gapic_test_suite", - test_classes = [ -- "com.google.cloud.container.v1beta1.ClusterManagerClientTest", +- "com.google.dataflow.v1beta3.FlexTemplatesServiceClientTest", +- "com.google.dataflow.v1beta3.JobsV1Beta3ClientTest", +- "com.google.dataflow.v1beta3.MessagesV1Beta3ClientTest", +- "com.google.dataflow.v1beta3.MetricsV1Beta3ClientTest", +- "com.google.dataflow.v1beta3.SnapshotsV1Beta3ClientTest", +- "com.google.dataflow.v1beta3.TemplatesServiceClientTest", - ], -- runtime_deps = [":container_java_gapic_test"], +- runtime_deps = [":dataflow_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( -- name = "google-cloud-container-v1beta1-java", +- name = "google-cloud-dataflow-v1beta3-java", - deps = [ -- ":container_java_gapic", -- ":container_java_grpc", -- ":container_java_proto", -- ":container_proto", +- ":dataflow_java_gapic", +- ":dataflow_java_grpc", +- ":dataflow_java_proto", +- ":dataflow_proto", - ], -) - @@ -58115,42 +75545,44 @@ diff -urN a/google/container/v1beta1/BUILD.bazel b/google/container/v1beta1/BUIL -) - -go_proto_library( -- name = "container_go_proto", +- name = "dataflow_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], -- importpath = "google.golang.org/genproto/googleapis/container/v1beta1", -- protos = [":container_proto"], +- importpath = "google.golang.org/genproto/googleapis/dataflow/v1beta3", +- protos = [":dataflow_proto"], - deps = [ - "//google/api:annotations_go_proto", -- "//google/rpc:code_go_proto", - "//google/rpc:status_go_proto", - ], -) - -go_gapic_library( -- name = "container_go_gapic", -- srcs = [":container_proto_with_info"], -- grpc_service_config = "container_grpc_service_config.json", -- importpath = "cloud.google.com/go/container/apiv1beta1;container", -- service_yaml = "container_v1beta1.yaml", +- name = "dataflow_go_gapic", +- srcs = [":dataflow_proto_with_info"], +- grpc_service_config = "dataflow_grpc_service_config.json", +- importpath = "cloud.google.com/go/dataflow/apiv1beta3;dataflow", +- service_yaml = "dataflow_v1beta3.yaml", +- metadata = True, - deps = [ -- ":container_go_proto", +- ":dataflow_go_proto", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( -- name = "container_go_gapic_test", -- srcs = [":container_go_gapic_srcjar_test"], -- embed = [":container_go_gapic"], -- importpath = "cloud.google.com/go/container/apiv1beta1", +- name = "dataflow_go_gapic_test", +- srcs = [":dataflow_go_gapic_srcjar_test"], +- embed = [":dataflow_go_gapic"], +- importpath = "cloud.google.com/go/dataflow/apiv1beta3", -) - -# Open Source Packages -go_gapic_assembly_pkg( -- name = "gapi-cloud-container-v1beta1-go", +- name = "gapi-cloud-dataflow-v1beta3-go", - deps = [ -- ":container_go_gapic", -- ":container_go_gapic_srcjar-test.srcjar", -- ":container_go_proto", +- ":dataflow_go_gapic", +- ":dataflow_go_gapic_srcjar-test.srcjar", +- ":dataflow_go_gapic_srcjar-metadata.srcjar", +- ":dataflow_go_proto", - ], -) - @@ -58164,15 +75596,21 @@ diff -urN a/google/container/v1beta1/BUILD.bazel b/google/container/v1beta1/BUIL -) - -py_gapic_library( -- name = "container_py_gapic", -- srcs = [":container_proto"], -- grpc_service_config = "container_grpc_service_config.json", +- name = "dataflow_py_gapic", +- srcs = [":dataflow_proto"], +- grpc_service_config = "dataflow_grpc_service_config.json", +- opt_args = [ +- "warehouse-package-name=google-cloud-dataflow-client", +- "python-gapic-namespace=google.cloud", +- "python-gapic-name=dataflow", +- ], -) - +-# Open Source Packages -py_gapic_assembly_pkg( -- name = "container-v1beta1-py", +- name = "dataflow-v1beta3-py", - deps = [ -- ":container_py_gapic", +- ":dataflow_py_gapic", - ], -) - @@ -58188,36 +75626,34 @@ diff -urN a/google/container/v1beta1/BUILD.bazel b/google/container/v1beta1/BUIL -) - -php_proto_library( -- name = "container_php_proto", -- deps = [":container_proto"], +- name = "dataflow_php_proto", +- deps = [":dataflow_proto"], -) - -php_grpc_library( -- name = "container_php_grpc", -- srcs = [":container_proto"], -- deps = [":container_php_proto"], +- name = "dataflow_php_grpc", +- srcs = [":dataflow_proto"], +- deps = [":dataflow_php_proto"], -) - -php_gapic_library( -- name = "container_php_gapic", -- src = ":container_proto_with_info", -- gapic_yaml = "container_gapic.yaml", -- grpc_service_config = "container_grpc_service_config.json", -- package = "google.container.v1beta1", -- service_yaml = "container_v1beta1.yaml", +- name = "dataflow_php_gapic", +- srcs = [":dataflow_proto_with_info"], +- grpc_service_config = "dataflow_grpc_service_config.json", +- service_yaml = "dataflow_v1beta3.yaml", - deps = [ -- ":container_php_grpc", -- ":container_php_proto", +- ":dataflow_php_grpc", +- ":dataflow_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( -- name = "google-cloud-container-v1beta1-php", +- name = "google-cloud-dataflow-v1beta3-php", - deps = [ -- ":container_php_gapic", -- ":container_php_grpc", -- ":container_php_proto", +- ":dataflow_php_gapic", +- ":dataflow_php_grpc", +- ":dataflow_php_proto", - ], -) - @@ -58231,20 +75667,21 @@ diff -urN a/google/container/v1beta1/BUILD.bazel b/google/container/v1beta1/BUIL -) - -nodejs_gapic_library( -- name = "container_nodejs_gapic", -- src = ":container_proto_with_info", +- name = "dataflow_nodejs_gapic", +- package_name = "@google-cloud/dataflow", +- src = ":dataflow_proto_with_info", - extra_protoc_parameters = ["metadata"], -- grpc_service_config = "container_grpc_service_config.json", -- package = "google.container.v1beta1", -- service_yaml = "container_v1beta1.yaml", +- grpc_service_config = "dataflow_grpc_service_config.json", +- package = "google.dataflow.v1beta3", +- service_yaml = "dataflow_v1beta3.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( -- name = "container-v1beta1-nodejs", +- name = "dataflow-v1beta3-nodejs", - deps = [ -- ":container_nodejs_gapic", -- ":container_proto", +- ":dataflow_nodejs_gapic", +- ":dataflow_proto", - ], -) - @@ -58260,42 +75697,43 @@ diff -urN a/google/container/v1beta1/BUILD.bazel b/google/container/v1beta1/BUIL -) - -ruby_proto_library( -- name = "container_ruby_proto", -- deps = [":container_proto"], +- name = "dataflow_ruby_proto", +- deps = [":dataflow_proto"], -) - -ruby_grpc_library( -- name = "container_ruby_grpc", -- srcs = [":container_proto"], -- deps = [":container_ruby_proto"], +- name = "dataflow_ruby_grpc", +- srcs = [":dataflow_proto"], +- deps = [":dataflow_ruby_proto"], -) - -ruby_cloud_gapic_library( -- name = "container_ruby_gapic", -- srcs = [":container_proto_with_info"], +- name = "dataflow_ruby_gapic", +- srcs = [":dataflow_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-container-v1beta1", -- "ruby-cloud-env-prefix=CONTAINER", -- "ruby-cloud-product-url=https://cloud.google.com/kubernetes-engine", -- "ruby-cloud-api-id=container.googleapis.com", -- "ruby-cloud-api-shortname=container", +- "ruby-cloud-gem-name=google-cloud-dataflow-v1beta3", +- "ruby-cloud-env-prefix=DATAFLOW", +- "ruby-cloud-product-url=https://cloud.google.com/dataflow", +- "ruby-cloud-api-id=dataflow.googleapis.com", +- "ruby-cloud-api-shortname=dataflow", +- "ruby-cloud-service-override=JobsV1Beta3=Jobs;MessagesV1Beta3=Messages;MetricsV1Beta3=Metrics;SnapshotsV1Beta3=Snapshots", - ], -- grpc_service_config = "container_grpc_service_config.json", -- ruby_cloud_description = "Builds and manages container-based applications, powered by the open source Kubernetes technology.", -- ruby_cloud_title = "Kubernetes Engine V1beta1", +- grpc_service_config = "dataflow_grpc_service_config.json", +- ruby_cloud_description = "Dataflow is a managed service for executing a wide variety of data processing patterns.", +- ruby_cloud_title = "Dataflow V1beta3", - deps = [ -- ":container_ruby_grpc", -- ":container_ruby_proto", +- ":dataflow_ruby_grpc", +- ":dataflow_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( -- name = "google-cloud-container-v1beta1-ruby", +- name = "google-cloud-dataflow-v1beta3-ruby", - deps = [ -- ":container_ruby_gapic", -- ":container_ruby_grpc", -- ":container_ruby_proto", +- ":dataflow_ruby_gapic", +- ":dataflow_ruby_grpc", +- ":dataflow_ruby_proto", - ], -) - @@ -58311,34 +75749,34 @@ diff -urN a/google/container/v1beta1/BUILD.bazel b/google/container/v1beta1/BUIL -) - -csharp_proto_library( -- name = "container_csharp_proto", -- deps = [":container_proto"], +- name = "dataflow_csharp_proto", +- deps = [":dataflow_proto"], -) - -csharp_grpc_library( -- name = "container_csharp_grpc", -- srcs = [":container_proto"], -- deps = [":container_csharp_proto"], +- name = "dataflow_csharp_grpc", +- srcs = [":dataflow_proto"], +- deps = [":dataflow_csharp_proto"], -) - -csharp_gapic_library( -- name = "container_csharp_gapic", -- srcs = [":container_proto_with_info"], +- name = "dataflow_csharp_gapic", +- srcs = [":dataflow_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -- grpc_service_config = "container_grpc_service_config.json", +- grpc_service_config = "dataflow_grpc_service_config.json", - deps = [ -- ":container_csharp_grpc", -- ":container_csharp_proto", +- ":dataflow_csharp_grpc", +- ":dataflow_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( -- name = "google-cloud-container-v1beta1-csharp", +- name = "google-cloud-dataflow-v1beta3-csharp", - deps = [ -- ":container_csharp_gapic", -- ":container_csharp_grpc", -- ":container_csharp_proto", +- ":dataflow_csharp_gapic", +- ":dataflow_csharp_grpc", +- ":dataflow_csharp_proto", - ], -) - @@ -58347,19 +75785,19 @@ diff -urN a/google/container/v1beta1/BUILD.bazel b/google/container/v1beta1/BUIL -############################################################################## -# Put your C++ rules here diff -urN a/google/datastore/BUILD.bazel b/google/datastore/BUILD.bazel ---- a/google/datastore/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/datastore/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/datastore/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/datastore/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) diff -urN a/google/datastore/admin/BUILD.bazel b/google/datastore/admin/BUILD.bazel ---- a/google/datastore/admin/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/datastore/admin/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/datastore/admin/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/datastore/admin/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) diff -urN a/google/datastore/admin/v1/BUILD.bazel b/google/datastore/admin/v1/BUILD.bazel ---- a/google/datastore/admin/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/datastore/admin/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,335 +0,0 @@ +--- a/google/datastore/admin/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/datastore/admin/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,333 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -58549,10 +75987,8 @@ diff -urN a/google/datastore/admin/v1/BUILD.bazel b/google/datastore/admin/v1/BU - -php_gapic_library( - name = "admin_php_gapic", -- src = ":admin_proto_with_info", -- gapic_yaml = "datastore_admin_gapic.yaml", +- srcs = [":admin_proto_with_info"], - grpc_service_config = "datastore_admin_grpc_service_config.json", -- package = "google.datastore.admin.v1", - service_yaml = "datastore_admin_v1.yaml", - deps = [ - ":admin_php_grpc", @@ -58602,8 +76038,8 @@ diff -urN a/google/datastore/admin/v1/BUILD.bazel b/google/datastore/admin/v1/BU -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -58696,9 +76132,9 @@ diff -urN a/google/datastore/admin/v1/BUILD.bazel b/google/datastore/admin/v1/BU -############################################################################## -# Put your C++ rules here diff -urN a/google/datastore/v1/BUILD.bazel b/google/datastore/v1/BUILD.bazel ---- a/google/datastore/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/datastore/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,337 +0,0 @@ +--- a/google/datastore/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/datastore/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,333 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -58888,11 +76324,7 @@ diff -urN a/google/datastore/v1/BUILD.bazel b/google/datastore/v1/BUILD.bazel - -php_gapic_library( - name = "datastore_php_gapic", -- src = ":datastore_proto_with_info", -- # Do not change this to the datastore_gapic.yaml, see tracking bug. -- gapic_yaml = "datastore_gapic.legacy.yaml", -- package = "google.datastore.v1", -- service_yaml = "datastore_v1.yaml", +- srcs = [":datastore_proto_with_info"], - deps = [ - ":datastore_php_grpc", - ":datastore_php_proto", @@ -58943,8 +76375,8 @@ diff -urN a/google/datastore/v1/BUILD.bazel b/google/datastore/v1/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -59037,9 +76469,9 @@ diff -urN a/google/datastore/v1/BUILD.bazel b/google/datastore/v1/BUILD.bazel -############################################################################## -# Put your C++ rules here diff -urN a/google/devtools/artifactregistry/v1beta2/BUILD.bazel b/google/devtools/artifactregistry/v1beta2/BUILD.bazel ---- a/google/devtools/artifactregistry/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/artifactregistry/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,358 +0,0 @@ +--- a/google/devtools/artifactregistry/v1beta2/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/artifactregistry/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,360 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - @@ -59217,11 +76649,16 @@ diff -urN a/google/devtools/artifactregistry/v1beta2/BUILD.bazel b/google/devtoo - name = "artifactregistry_py_gapic", - srcs = [":artifactregistry_proto"], - grpc_service_config = "artifactregistry_grpc_service_config.json", +- opt_args = [ +- "python-gapic-namespace=google.cloud", +- "python-gapic-name=artifactregistry", +- "warehouse-package-name=google-cloud-artifact-registry", +- ], -) - -# Open Source Packages -py_gapic_assembly_pkg( -- name = "devtools-artifactregistry-v1beta2-py", +- name = "google-cloud-artifactregistry-v1beta2-py", - deps = [ - ":artifactregistry_py_gapic", - ], @@ -59251,11 +76688,8 @@ diff -urN a/google/devtools/artifactregistry/v1beta2/BUILD.bazel b/google/devtoo - -php_gapic_library( - name = "artifactregistry_php_gapic", -- src = ":artifactregistry_proto_with_info", -- gapic_yaml = "artifactregistry_gapic.yaml", +- srcs = [":artifactregistry_proto_with_info"], - grpc_service_config = "artifactregistry_grpc_service_config.json", -- package = "google.devtools.artifactregistry.v1beta2", -- service_yaml = "artifactregistry_v1beta2.yaml", - deps = [ - ":artifactregistry_php_grpc", - ":artifactregistry_php_proto", @@ -59305,8 +76739,8 @@ diff -urN a/google/devtools/artifactregistry/v1beta2/BUILD.bazel b/google/devtoo -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -59399,14 +76833,14 @@ diff -urN a/google/devtools/artifactregistry/v1beta2/BUILD.bazel b/google/devtoo -############################################################################## -# Put your C++ rules here diff -urN a/google/devtools/build/BUILD.bazel b/google/devtools/build/BUILD.bazel ---- a/google/devtools/build/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/build/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/devtools/build/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/build/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) diff -urN a/google/devtools/build/v1/BUILD.bazel b/google/devtools/build/v1/BUILD.bazel ---- a/google/devtools/build/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/build/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,338 +0,0 @@ +--- a/google/devtools/build/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/build/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,333 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - @@ -59606,11 +77040,8 @@ diff -urN a/google/devtools/build/v1/BUILD.bazel b/google/devtools/build/v1/BUIL - -php_gapic_library( - name = "build_php_gapic", -- src = ":build_proto_with_info", -- gapic_yaml = "buildeventservice_gapic.yaml", +- srcs = [":build_proto_with_info"], - grpc_service_config = "buildeventservice_grpc_service_config.json", -- package = "google.devtools.build.v1", -- service_yaml = "buildeventservice_v1.yaml", - deps = [ - ":build_php_grpc", - ":build_php_proto", @@ -59660,7 +77091,7 @@ diff -urN a/google/devtools/build/v1/BUILD.bazel b/google/devtools/build/v1/BUIL -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -59676,12 +77107,10 @@ diff -urN a/google/devtools/build/v1/BUILD.bazel b/google/devtools/build/v1/BUIL - deps = [":build_ruby_proto"], -) - --ruby_gapic_library( +-ruby_cloud_gapic_library( - name = "build_ruby_gapic", -- src = ":build_proto_with_info", -- gapic_yaml = "buildeventservice_gapic.yaml", -- package = "google.devtools.build.v1", -- service_yaml = "buildeventservice_v1.yaml", +- srcs = [":build_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-build-v1"], - deps = [ - ":build_ruby_grpc", - ":build_ruby_proto", @@ -59746,19 +77175,43 @@ diff -urN a/google/devtools/build/v1/BUILD.bazel b/google/devtools/build/v1/BUIL -############################################################################## -# Put your C++ rules here diff -urN a/google/devtools/cloudbuild/v1/BUILD.bazel b/google/devtools/cloudbuild/v1/BUILD.bazel ---- a/google/devtools/cloudbuild/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/cloudbuild/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,339 +0,0 @@ +--- a/google/devtools/cloudbuild/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/cloudbuild/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,321 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - --# This is an API workspace, having public visibility by default makes perfect sense. --package(default_visibility = ["//visibility:public"]) -- -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") --load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +- "proto_library_with_info", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) - -proto_library( - name = "cloudbuild_proto", @@ -59769,6 +77222,7 @@ diff -urN a/google/devtools/cloudbuild/v1/BUILD.bazel b/google/devtools/cloudbui - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", +- "//google/api:httpbody_proto", - "//google/api:resource_proto", - "//google/longrunning:operations_proto", - "@com_google_protobuf//:duration_proto", @@ -59786,18 +77240,6 @@ diff -urN a/google/devtools/cloudbuild/v1/BUILD.bazel b/google/devtools/cloudbui - ], -) - --############################################################################## --# Java --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "java_gapic_assembly_gradle_pkg", -- "java_gapic_library", -- "java_gapic_test", -- "java_grpc_library", -- "java_proto_library", --) -- -java_proto_library( - name = "cloudbuild_java_proto", - deps = [":cloudbuild_proto"], @@ -59819,6 +77261,7 @@ diff -urN a/google/devtools/cloudbuild/v1/BUILD.bazel b/google/devtools/cloudbui - ], - deps = [ - ":cloudbuild_java_proto", +- "//google/api:api_java_proto", - ], -) - @@ -59841,17 +77284,6 @@ diff -urN a/google/devtools/cloudbuild/v1/BUILD.bazel b/google/devtools/cloudbui - ], -) - --############################################################################## --# Go --############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "go_gapic_assembly_pkg", -- "go_gapic_library", -- "go_proto_library", -- "go_test", --) -- -go_proto_library( - name = "cloudbuild_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], @@ -59859,6 +77291,7 @@ diff -urN a/google/devtools/cloudbuild/v1/BUILD.bazel b/google/devtools/cloudbui - protos = [":cloudbuild_proto"], - deps = [ - "//google/api:annotations_go_proto", +- "//google/api:httpbody_go_proto", - "//google/longrunning:longrunning_go_proto", - ], -) @@ -59871,6 +77304,7 @@ diff -urN a/google/devtools/cloudbuild/v1/BUILD.bazel b/google/devtools/cloudbui - service_yaml = "cloudbuild_v1.yaml", - deps = [ - ":cloudbuild_go_proto", +- "//google/api:httpbody_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go//longrunning:go_default_library", - "@com_google_cloud_go//longrunning/autogen:go_default_library", @@ -59898,12 +77332,6 @@ diff -urN a/google/devtools/cloudbuild/v1/BUILD.bazel b/google/devtools/cloudbui -############################################################################## -# Python -############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "py_gapic_assembly_pkg", -- "py_gapic_library", --) -- -py_gapic_library( - name = "cloudbuild_py_gapic", - srcs = [":cloudbuild_proto"], @@ -59942,9 +77370,7 @@ diff -urN a/google/devtools/cloudbuild/v1/BUILD.bazel b/google/devtools/cloudbui -# Add api.http options to all RPCs in the services to enable PHP GAPIC -#php_gapic_library( -# name = "cloudbuild_php_gapic", --# src = ":cloudbuild_proto_with_info", --# gapic_yaml = "cloudbuild_gapic.yaml", --# package = "google.devtools.cloudbuild.v1", +-# srcs = [":cloudbuild_proto_with_info"], -# service_yaml = "cloudbuild_v1.yaml", -# deps = [ -# ":cloudbuild_php_grpc", @@ -59970,7 +77396,6 @@ diff -urN a/google/devtools/cloudbuild/v1/BUILD.bazel b/google/devtools/cloudbui - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) -- -nodejs_gapic_library( - name = "cloudbuild_nodejs_gapic", - package_name = "@google-cloud/cloudbuild", @@ -59993,13 +77418,6 @@ diff -urN a/google/devtools/cloudbuild/v1/BUILD.bazel b/google/devtools/cloudbui -############################################################################## -# Ruby -############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", -- "ruby_cloud_gapic_library", -- "ruby_grpc_library", -- "ruby_proto_library", --) - -ruby_proto_library( - name = "cloudbuild_ruby_proto", @@ -60044,13 +77462,6 @@ diff -urN a/google/devtools/cloudbuild/v1/BUILD.bazel b/google/devtools/cloudbui -############################################################################## -# C# -############################################################################## --load( -- "@com_google_googleapis_imports//:imports.bzl", -- "csharp_gapic_assembly_pkg", -- "csharp_gapic_library", -- "csharp_grpc_library", -- "csharp_proto_library", --) - -csharp_proto_library( - name = "cloudbuild_csharp_proto", @@ -60089,14 +77500,14 @@ diff -urN a/google/devtools/cloudbuild/v1/BUILD.bazel b/google/devtools/cloudbui -############################################################################## -# Put your C++ rules here diff -urN a/google/devtools/clouddebugger/BUILD.bazel b/google/devtools/clouddebugger/BUILD.bazel ---- a/google/devtools/clouddebugger/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/clouddebugger/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/devtools/clouddebugger/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/clouddebugger/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) diff -urN a/google/devtools/clouddebugger/v2/BUILD.bazel b/google/devtools/clouddebugger/v2/BUILD.bazel ---- a/google/devtools/clouddebugger/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/clouddebugger/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,352 +0,0 @@ +--- a/google/devtools/clouddebugger/v2/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/clouddebugger/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,353 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -60253,6 +77664,11 @@ diff -urN a/google/devtools/clouddebugger/v2/BUILD.bazel b/google/devtools/cloud - name = "clouddebugger_py_gapic", - srcs = [":clouddebugger_proto"], - grpc_service_config = "clouddebugger_grpc_service_config.json", +- opt_args = [ +- "warehouse-package-name=google-cloud-debugger-client", +- "python-gapic-namespace=google.cloud", +- "python-gapic-name=debugger", +- ], -) - -# Open Source Packages @@ -60260,8 +77676,7 @@ diff -urN a/google/devtools/clouddebugger/v2/BUILD.bazel b/google/devtools/cloud - name = "devtools-clouddebugger-v2-py", - deps = [ - ":clouddebugger_py_gapic", -- "//google/devtools/source/v1:source_py_grpc", -- "//google/devtools/source/v1:source_py_proto", +- "//google/devtools/source/v1:google-cloud-source-v1-py", - ], -) - @@ -60289,11 +77704,8 @@ diff -urN a/google/devtools/clouddebugger/v2/BUILD.bazel b/google/devtools/cloud - -php_gapic_library( - name = "clouddebugger_php_gapic", -- src = ":clouddebugger_proto_with_info", -- gapic_yaml = "clouddebugger_gapic.yaml", +- srcs = [":clouddebugger_proto_with_info"], - grpc_service_config = "clouddebugger_grpc_service_config.json", -- package = "google.devtools.clouddebugger.v2", -- service_yaml = "clouddebugger_v2.yaml", - deps = [ - ":clouddebugger_php_grpc", - ":clouddebugger_php_proto", @@ -60347,8 +77759,8 @@ diff -urN a/google/devtools/clouddebugger/v2/BUILD.bazel b/google/devtools/cloud -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -60450,14 +77862,14 @@ diff -urN a/google/devtools/clouddebugger/v2/BUILD.bazel b/google/devtools/cloud -############################################################################## -# Put your C++ rules here diff -urN a/google/devtools/clouderrorreporting/BUILD.bazel b/google/devtools/clouderrorreporting/BUILD.bazel ---- a/google/devtools/clouderrorreporting/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/clouderrorreporting/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/devtools/clouderrorreporting/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/clouderrorreporting/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) diff -urN a/google/devtools/clouderrorreporting/v1beta1/BUILD.bazel b/google/devtools/clouderrorreporting/v1beta1/BUILD.bazel ---- a/google/devtools/clouderrorreporting/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/clouderrorreporting/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,351 +0,0 @@ +--- a/google/devtools/clouderrorreporting/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/clouderrorreporting/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,348 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - @@ -60662,11 +78074,8 @@ diff -urN a/google/devtools/clouderrorreporting/v1beta1/BUILD.bazel b/google/dev - -php_gapic_library( - name = "clouderrorreporting_php_gapic", -- src = ":clouderrorreporting_proto_with_info", -- gapic_yaml = "errorreporting_gapic.yaml", +- srcs = [":clouderrorreporting_proto_with_info"], - grpc_service_config = "errorreporting_grpc_service_config.json", -- package = "google.devtools.clouderrorreporting.v1beta1", -- service_yaml = "clouderrorreporting_v1beta1.yaml", - deps = [ - ":clouderrorreporting_php_grpc", - ":clouderrorreporting_php_proto", @@ -60716,8 +78125,8 @@ diff -urN a/google/devtools/clouderrorreporting/v1beta1/BUILD.bazel b/google/dev -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -60810,14 +78219,14 @@ diff -urN a/google/devtools/clouderrorreporting/v1beta1/BUILD.bazel b/google/dev -############################################################################## -# Put your C++ rules here diff -urN a/google/devtools/cloudprofiler/BUILD.bazel b/google/devtools/cloudprofiler/BUILD.bazel ---- a/google/devtools/cloudprofiler/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/cloudprofiler/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/devtools/cloudprofiler/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/cloudprofiler/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) diff -urN a/google/devtools/cloudprofiler/v2/BUILD.bazel b/google/devtools/cloudprofiler/v2/BUILD.bazel ---- a/google/devtools/cloudprofiler/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/cloudprofiler/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,339 +0,0 @@ +--- a/google/devtools/cloudprofiler/v2/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/cloudprofiler/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,336 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - @@ -61010,11 +78419,8 @@ diff -urN a/google/devtools/cloudprofiler/v2/BUILD.bazel b/google/devtools/cloud - -php_gapic_library( - name = "cloudprofiler_php_gapic", -- src = ":cloudprofiler_proto_with_info", -- gapic_yaml = "cloudprofiler_gapic.yaml", +- srcs = [":cloudprofiler_proto_with_info"], - grpc_service_config = "cloudprofiler_grpc_service_config.json", -- package = "google.devtools.cloudprofiler.v2", -- service_yaml = "cloudprofiler_v2.yaml", - deps = [ - ":cloudprofiler_php_grpc", - ":cloudprofiler_php_proto", @@ -61064,8 +78470,8 @@ diff -urN a/google/devtools/cloudprofiler/v2/BUILD.bazel b/google/devtools/cloud -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -61083,7 +78489,7 @@ diff -urN a/google/devtools/cloudprofiler/v2/BUILD.bazel b/google/devtools/cloud - -ruby_cloud_gapic_library( - name = "cloudprofiler_ruby_gapic", -- srcs = [":cloudprofiler_proto_with_info",], +- srcs = [":cloudprofiler_proto_with_info"], - extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-profiler-v2", - "ruby-cloud-env-prefix=PROFILER", @@ -61158,14 +78564,14 @@ diff -urN a/google/devtools/cloudprofiler/v2/BUILD.bazel b/google/devtools/cloud -############################################################################## -# Put your C++ rules here diff -urN a/google/devtools/cloudtrace/BUILD.bazel b/google/devtools/cloudtrace/BUILD.bazel ---- a/google/devtools/cloudtrace/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/cloudtrace/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/devtools/cloudtrace/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/cloudtrace/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) diff -urN a/google/devtools/cloudtrace/v1/BUILD.bazel b/google/devtools/cloudtrace/v1/BUILD.bazel ---- a/google/devtools/cloudtrace/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/cloudtrace/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,357 +0,0 @@ +--- a/google/devtools/cloudtrace/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/cloudtrace/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,355 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - @@ -61326,6 +78732,7 @@ diff -urN a/google/devtools/cloudtrace/v1/BUILD.bazel b/google/devtools/cloudtra - name = "cloudtrace_py_gapic", - srcs = [":cloudtrace_proto"], - grpc_service_config = "cloudtrace_grpc_service_config.json", +- opt_args=["python-gapic-namespace=google.cloud", "python-gapic-name=trace"] -) - -# Open Source Packages @@ -61360,11 +78767,8 @@ diff -urN a/google/devtools/cloudtrace/v1/BUILD.bazel b/google/devtools/cloudtra - -php_gapic_library( - name = "cloudtrace_php_gapic", -- src = ":cloudtrace_proto_with_info", -- gapic_yaml = "cloudtrace_gapic.yaml", +- srcs = [":cloudtrace_proto_with_info"], - grpc_service_config = "cloudtrace_grpc_service_config.json", -- package = "google.devtools.cloudtrace.v1", -- service_yaml = "cloudtrace_v1.yaml", - deps = [ - ":cloudtrace_php_grpc", - ":cloudtrace_php_proto", @@ -61413,8 +78817,8 @@ diff -urN a/google/devtools/cloudtrace/v1/BUILD.bazel b/google/devtools/cloudtra -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -61524,9 +78928,9 @@ diff -urN a/google/devtools/cloudtrace/v1/BUILD.bazel b/google/devtools/cloudtra - deps = [":cloudtrace_cc_proto"], -) diff -urN a/google/devtools/cloudtrace/v2/BUILD.bazel b/google/devtools/cloudtrace/v2/BUILD.bazel ---- a/google/devtools/cloudtrace/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/cloudtrace/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,362 +0,0 @@ +--- a/google/devtools/cloudtrace/v2/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/cloudtrace/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,360 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - @@ -61692,6 +79096,7 @@ diff -urN a/google/devtools/cloudtrace/v2/BUILD.bazel b/google/devtools/cloudtra - name = "cloudtrace_py_gapic", - srcs = [":cloudtrace_proto"], - grpc_service_config = "cloudtrace_grpc_service_config.json", +- opt_args=["python-gapic-namespace=google.cloud", "python-gapic-name=trace"] -) - -# Open Source Packages @@ -61726,11 +79131,8 @@ diff -urN a/google/devtools/cloudtrace/v2/BUILD.bazel b/google/devtools/cloudtra - -php_gapic_library( - name = "cloudtrace_php_gapic", -- src = ":cloudtrace_proto_with_info", -- gapic_yaml = "cloudtrace_gapic.yaml", +- srcs = [":cloudtrace_proto_with_info"], - grpc_service_config = "cloudtrace_grpc_service_config.json", -- package = "google.devtools.cloudtrace.v2", -- service_yaml = "cloudtrace_v2.yaml", - deps = [ - ":cloudtrace_php_grpc", - ":cloudtrace_php_proto", @@ -61779,8 +79181,8 @@ diff -urN a/google/devtools/cloudtrace/v2/BUILD.bazel b/google/devtools/cloudtra -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -61890,14 +79292,14 @@ diff -urN a/google/devtools/cloudtrace/v2/BUILD.bazel b/google/devtools/cloudtra - deps = [":cloudtrace_cc_proto"], -) diff -urN a/google/devtools/containeranalysis/BUILD.bazel b/google/devtools/containeranalysis/BUILD.bazel ---- a/google/devtools/containeranalysis/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/containeranalysis/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/devtools/containeranalysis/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/containeranalysis/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) diff -urN a/google/devtools/containeranalysis/v1/BUILD.bazel b/google/devtools/containeranalysis/v1/BUILD.bazel ---- a/google/devtools/containeranalysis/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/containeranalysis/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,360 +0,0 @@ +--- a/google/devtools/containeranalysis/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/containeranalysis/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,357 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -62106,11 +79508,8 @@ diff -urN a/google/devtools/containeranalysis/v1/BUILD.bazel b/google/devtools/c - -php_gapic_library( - name = "containeranalysis_php_gapic", -- src = ":containeranalysis_proto_with_info", -- gapic_yaml = "containeranalysis_gapic.yaml", +- srcs = [":containeranalysis_proto_with_info"], - grpc_service_config = "containeranalysis_grpc_service_config.json", -- package = "google.devtools.containeranalysis.v1", -- service_yaml = "containeranalysis_v1.yaml", - deps = [ - ":containeranalysis_php_grpc", - ":containeranalysis_php_proto", @@ -62164,8 +79563,8 @@ diff -urN a/google/devtools/containeranalysis/v1/BUILD.bazel b/google/devtools/c -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -62259,8 +79658,8 @@ diff -urN a/google/devtools/containeranalysis/v1/BUILD.bazel b/google/devtools/c -############################################################################## -# Put your C++ rules here diff -urN a/google/devtools/containeranalysis/v1beta1/BUILD.bazel b/google/devtools/containeranalysis/v1beta1/BUILD.bazel ---- a/google/devtools/containeranalysis/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/containeranalysis/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/devtools/containeranalysis/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/containeranalysis/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,235 +0,0 @@ -load("@rules_proto//proto:defs.bzl", "proto_library") - @@ -62498,8 +79897,8 @@ diff -urN a/google/devtools/containeranalysis/v1beta1/BUILD.bazel b/google/devto - ] + _PROTO_SUBPACKAGE_DEPS, -) diff -urN a/google/devtools/containeranalysis/v1beta1/attestation/BUILD.bazel b/google/devtools/containeranalysis/v1beta1/attestation/BUILD.bazel ---- a/google/devtools/containeranalysis/v1beta1/attestation/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/containeranalysis/v1beta1/attestation/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/devtools/containeranalysis/v1beta1/attestation/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/containeranalysis/v1beta1/attestation/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,59 +0,0 @@ -load("@rules_proto//proto:defs.bzl", "proto_library") - @@ -62561,8 +79960,8 @@ diff -urN a/google/devtools/containeranalysis/v1beta1/attestation/BUILD.bazel b/ - ], -) diff -urN a/google/devtools/containeranalysis/v1beta1/build/BUILD.bazel b/google/devtools/containeranalysis/v1beta1/build/BUILD.bazel ---- a/google/devtools/containeranalysis/v1beta1/build/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/containeranalysis/v1beta1/build/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/devtools/containeranalysis/v1beta1/build/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/containeranalysis/v1beta1/build/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,58 +0,0 @@ -load("@rules_proto//proto:defs.bzl", "proto_library") - @@ -62623,8 +80022,8 @@ diff -urN a/google/devtools/containeranalysis/v1beta1/build/BUILD.bazel b/google - ], -) diff -urN a/google/devtools/containeranalysis/v1beta1/common/BUILD.bazel b/google/devtools/containeranalysis/v1beta1/common/BUILD.bazel ---- a/google/devtools/containeranalysis/v1beta1/common/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/containeranalysis/v1beta1/common/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/devtools/containeranalysis/v1beta1/common/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/containeranalysis/v1beta1/common/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,55 +0,0 @@ -load("@rules_proto//proto:defs.bzl", "proto_library") - @@ -62682,8 +80081,8 @@ diff -urN a/google/devtools/containeranalysis/v1beta1/common/BUILD.bazel b/googl - deps = [], -) diff -urN a/google/devtools/containeranalysis/v1beta1/cvss/BUILD.bazel b/google/devtools/containeranalysis/v1beta1/cvss/BUILD.bazel ---- a/google/devtools/containeranalysis/v1beta1/cvss/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/containeranalysis/v1beta1/cvss/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/devtools/containeranalysis/v1beta1/cvss/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/containeranalysis/v1beta1/cvss/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,55 +0,0 @@ -load("@rules_proto//proto:defs.bzl", "proto_library") - @@ -62741,8 +80140,8 @@ diff -urN a/google/devtools/containeranalysis/v1beta1/cvss/BUILD.bazel b/google/ - deps = [], -) diff -urN a/google/devtools/containeranalysis/v1beta1/deployment/BUILD.bazel b/google/devtools/containeranalysis/v1beta1/deployment/BUILD.bazel ---- a/google/devtools/containeranalysis/v1beta1/deployment/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/containeranalysis/v1beta1/deployment/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/devtools/containeranalysis/v1beta1/deployment/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/containeranalysis/v1beta1/deployment/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,56 +0,0 @@ -load("@rules_proto//proto:defs.bzl", "proto_library") - @@ -62801,8 +80200,8 @@ diff -urN a/google/devtools/containeranalysis/v1beta1/deployment/BUILD.bazel b/g - deps = [], -) diff -urN a/google/devtools/containeranalysis/v1beta1/discovery/BUILD.bazel b/google/devtools/containeranalysis/v1beta1/discovery/BUILD.bazel ---- a/google/devtools/containeranalysis/v1beta1/discovery/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/containeranalysis/v1beta1/discovery/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/devtools/containeranalysis/v1beta1/discovery/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/containeranalysis/v1beta1/discovery/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,61 +0,0 @@ -load("@rules_proto//proto:defs.bzl", "proto_library") - @@ -62866,8 +80265,8 @@ diff -urN a/google/devtools/containeranalysis/v1beta1/discovery/BUILD.bazel b/go - ], -) diff -urN a/google/devtools/containeranalysis/v1beta1/grafeas/BUILD.bazel b/google/devtools/containeranalysis/v1beta1/grafeas/BUILD.bazel ---- a/google/devtools/containeranalysis/v1beta1/grafeas/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/containeranalysis/v1beta1/grafeas/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/devtools/containeranalysis/v1beta1/grafeas/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/containeranalysis/v1beta1/grafeas/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,82 +0,0 @@ -load("@rules_proto//proto:defs.bzl", "proto_library") - @@ -62952,8 +80351,8 @@ diff -urN a/google/devtools/containeranalysis/v1beta1/grafeas/BUILD.bazel b/goog - ], -) diff -urN a/google/devtools/containeranalysis/v1beta1/image/BUILD.bazel b/google/devtools/containeranalysis/v1beta1/image/BUILD.bazel ---- a/google/devtools/containeranalysis/v1beta1/image/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/containeranalysis/v1beta1/image/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/devtools/containeranalysis/v1beta1/image/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/containeranalysis/v1beta1/image/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,54 +0,0 @@ -load("@rules_proto//proto:defs.bzl", "proto_library") - @@ -63010,8 +80409,8 @@ diff -urN a/google/devtools/containeranalysis/v1beta1/image/BUILD.bazel b/google - deps = [], -) diff -urN a/google/devtools/containeranalysis/v1beta1/package/BUILD.bazel b/google/devtools/containeranalysis/v1beta1/package/BUILD.bazel ---- a/google/devtools/containeranalysis/v1beta1/package/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/containeranalysis/v1beta1/package/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/devtools/containeranalysis/v1beta1/package/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/containeranalysis/v1beta1/package/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,55 +0,0 @@ -load("@rules_proto//proto:defs.bzl", "proto_library") - @@ -63069,8 +80468,8 @@ diff -urN a/google/devtools/containeranalysis/v1beta1/package/BUILD.bazel b/goog - deps = [], -) diff -urN a/google/devtools/containeranalysis/v1beta1/provenance/BUILD.bazel b/google/devtools/containeranalysis/v1beta1/provenance/BUILD.bazel ---- a/google/devtools/containeranalysis/v1beta1/provenance/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/containeranalysis/v1beta1/provenance/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/devtools/containeranalysis/v1beta1/provenance/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/containeranalysis/v1beta1/provenance/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,60 +0,0 @@ -load("@rules_proto//proto:defs.bzl", "proto_library") - @@ -63133,8 +80532,8 @@ diff -urN a/google/devtools/containeranalysis/v1beta1/provenance/BUILD.bazel b/g - ], -) diff -urN a/google/devtools/containeranalysis/v1beta1/source/BUILD.bazel b/google/devtools/containeranalysis/v1beta1/source/BUILD.bazel ---- a/google/devtools/containeranalysis/v1beta1/source/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/containeranalysis/v1beta1/source/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/devtools/containeranalysis/v1beta1/source/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/containeranalysis/v1beta1/source/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,55 +0,0 @@ -load("@rules_proto//proto:defs.bzl", "proto_library") - @@ -63192,8 +80591,8 @@ diff -urN a/google/devtools/containeranalysis/v1beta1/source/BUILD.bazel b/googl - deps = [], -) diff -urN a/google/devtools/containeranalysis/v1beta1/vulnerability/BUILD.bazel b/google/devtools/containeranalysis/v1beta1/vulnerability/BUILD.bazel ---- a/google/devtools/containeranalysis/v1beta1/vulnerability/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/containeranalysis/v1beta1/vulnerability/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/devtools/containeranalysis/v1beta1/vulnerability/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/containeranalysis/v1beta1/vulnerability/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,64 +0,0 @@ -load("@rules_proto//proto:defs.bzl", "proto_library") - @@ -63260,9 +80659,9 @@ diff -urN a/google/devtools/containeranalysis/v1beta1/vulnerability/BUILD.bazel - ], -) diff -urN a/google/devtools/remoteworkers/v1test2/BUILD.bazel b/google/devtools/remoteworkers/v1test2/BUILD.bazel ---- a/google/devtools/remoteworkers/v1test2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/remoteworkers/v1test2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,340 +0,0 @@ +--- a/google/devtools/remoteworkers/v1test2/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/remoteworkers/v1test2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,335 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - @@ -63464,11 +80863,8 @@ diff -urN a/google/devtools/remoteworkers/v1test2/BUILD.bazel b/google/devtools/ - -php_gapic_library( - name = "remoteworkers_php_gapic", -- src = ":remoteworkers_proto_with_info", -- gapic_yaml = "remoteworkers_gapic.yaml", +- srcs = [":remoteworkers_proto_with_info"], - grpc_service_config = "remoteworkers_grpc_service_config.json", -- package = "google.devtools.remoteworkers.v1test2", -- service_yaml = "remoteworkers_v1beta2.yaml", - deps = [ - ":remoteworkers_php_grpc", - ":remoteworkers_php_proto", @@ -63518,7 +80914,7 @@ diff -urN a/google/devtools/remoteworkers/v1test2/BUILD.bazel b/google/devtools/ -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -63534,12 +80930,10 @@ diff -urN a/google/devtools/remoteworkers/v1test2/BUILD.bazel b/google/devtools/ - deps = [":remoteworkers_ruby_proto"], -) - --ruby_gapic_library( +-ruby_cloud_gapic_library( - name = "remoteworkers_ruby_gapic", -- src = ":remoteworkers_proto_with_info", -- gapic_yaml = "remoteworkers_gapic.yaml", -- package = "google.devtools.remoteworkers.v1test2", -- service_yaml = "remoteworkers_v1beta2.yaml", +- srcs = [":remoteworkers_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-remoteworkers-v1test2"], - deps = [ - ":remoteworkers_ruby_grpc", - ":remoteworkers_ruby_proto", @@ -63603,10 +80997,207 @@ diff -urN a/google/devtools/remoteworkers/v1test2/BUILD.bazel b/google/devtools/ -# C++ -############################################################################## -# Put your C++ rules here +diff -urN a/google/devtools/resultstore/v2/BUILD.bazel b/google/devtools/resultstore/v2/BUILD.bazel +--- a/google/devtools/resultstore/v2/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/resultstore/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,193 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +- +-proto_library( +- name = "resultstore_proto", +- srcs = [ +- "action.proto", +- "common.proto", +- "configuration.proto", +- "configured_target.proto", +- "coverage.proto", +- "coverage_summary.proto", +- "download_metadata.proto", +- "file.proto", +- "file_processing_error.proto", +- "file_set.proto", +- "invocation.proto", +- "resultstore_download.proto", +- "resultstore_file_download.proto", +- "resultstore_upload.proto", +- "target.proto", +- "test_suite.proto", +- "upload_metadata.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "resultstore_java_proto", +- deps = [":resultstore_proto"], +-) +- +-java_grpc_library( +- name = "resultstore_java_grpc", +- srcs = [":resultstore_proto"], +- deps = [":resultstore_java_proto"], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_proto_library", +-) +- +-go_proto_library( +- name = "resultstore_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/devtools/resultstore/v2", +- protos = [":resultstore_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "moved_proto_library", +- "py_grpc_library", +- "py_proto_library", +-) +- +-moved_proto_library( +- name = "resultstore_moved_proto", +- srcs = [":resultstore_proto"], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", +- ], +-) +- +-py_proto_library( +- name = "resultstore_py_proto", +- deps = [":resultstore_moved_proto"], +-) +- +-py_grpc_library( +- name = "resultstore_py_grpc", +- srcs = [":resultstore_moved_proto"], +- deps = [":resultstore_py_proto"], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "resultstore_php_proto", +- deps = [":resultstore_proto"], +-) +- +-php_grpc_library( +- name = "resultstore_php_grpc", +- srcs = [":resultstore_proto"], +- deps = [":resultstore_php_proto"], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "resultstore_ruby_proto", +- deps = [":resultstore_proto"], +-) +- +-ruby_grpc_library( +- name = "resultstore_ruby_grpc", +- srcs = [":resultstore_proto"], +- deps = [":resultstore_ruby_proto"], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "resultstore_csharp_proto", +- deps = [":resultstore_proto"], +-) +- +-csharp_grpc_library( +- name = "resultstore_csharp_grpc", +- srcs = [":resultstore_proto"], +- deps = [":resultstore_csharp_proto"], +-) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ code here diff -urN a/google/devtools/source/v1/BUILD.bazel b/google/devtools/source/v1/BUILD.bazel ---- a/google/devtools/source/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/devtools/source/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,169 +0,0 @@ +--- a/google/devtools/source/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/source/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,166 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -63677,29 +81268,26 @@ diff -urN a/google/devtools/source/v1/BUILD.bazel b/google/devtools/source/v1/BU -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "moved_proto_library", -- "py_grpc_library", -- "py_proto_library", +- "py_gapic_library", +- "py_gapic_assembly_pkg", -) - --moved_proto_library( -- name = "source_moved_proto", +-py_gapic_library( +- name = "source_py_gapic", - srcs = [":source_proto"], -- deps = [ -- "//google/api:annotations_proto", +- opt_args = [ +- "warehouse-package-name=google-cloud-source-context", +- "python-gapic-namespace=google.cloud", +- "python-gapic-name=source_context", - ], -) - --py_proto_library( -- name = "source_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", -- deps = [":source_moved_proto"], --) -- --py_grpc_library( -- name = "source_py_grpc", -- srcs = [":source_moved_proto"], -- deps = [":source_py_proto"], +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "google-cloud-source-v1-py", +- deps = [ +- ":source_py_gapic", +- ], -) - -############################################################################## @@ -63776,20 +81364,373 @@ diff -urN a/google/devtools/source/v1/BUILD.bazel b/google/devtools/source/v1/BU -# C++ -############################################################################## -# Put your C++ code here +diff -urN a/google/devtools/testing/v1/BUILD.bazel b/google/devtools/testing/v1/BUILD.bazel +--- a/google/devtools/testing/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/devtools/testing/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,349 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. +- +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "testing_proto", +- srcs = [ +- "application_details.proto", +- "test_environment_discovery.proto", +- "test_execution.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/type:date_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:timestamp_proto", +- ], +-) +- +-proto_library_with_info( +- name = "testing_proto_with_info", +- deps = [ +- ":testing_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "testing_java_proto", +- deps = [":testing_proto"], +-) +- +-java_grpc_library( +- name = "testing_java_grpc", +- srcs = [":testing_proto"], +- deps = [":testing_java_proto"], +-) +- +-java_gapic_library( +- name = "testing_java_gapic", +- srcs = [":testing_proto_with_info"], +- grpc_service_config = "testing_grpc_service_config.json", +- test_deps = [ +- ":testing_java_grpc", +- ], +- deps = [ +- ":testing_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "testing_java_gapic_test_suite", +- test_classes = [ +- "com.google.devtools.testing.v1.ApplicationDetailServiceClientTest", +- "com.google.devtools.testing.v1.TestEnvironmentDiscoveryServiceClientTest", +- "com.google.devtools.testing.v1.TestExecutionServiceClientTest", +- ], +- runtime_deps = [":testing_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-devtools-testing-v1-java", +- deps = [ +- ":testing_java_gapic", +- ":testing_java_grpc", +- ":testing_java_proto", +- ":testing_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-# +-# Commented out because of a build failure: +-# bazel-out/k8-fastbuild/bin/google/devtools/testing/v1/testing_go_gapic_srcjar_main.go/cloud.google.com/go/devtools/testing/apiv1/test_environment_discovery_client.go:23:2: imported and not used: "net/url" +-# compilepkg: error running subcommand external/go_sdk/pkg/tool/linux_amd64/compile: exit status 2 +-# +-# load( +-# "@com_google_googleapis_imports//:imports.bzl", +-# "go_gapic_assembly_pkg", +-# "go_gapic_library", +-# "go_proto_library", +-# "go_test", +-# ) +- +-# go_proto_library( +-# name = "testing_go_proto", +-# compilers = ["@io_bazel_rules_go//proto:go_grpc"], +-# importpath = "google.golang.org/genproto/googleapis/devtools/testing/v1", +-# protos = [":testing_proto"], +-# deps = [ +-# "//google/api:annotations_go_proto", +-# "//google/type:date_go_proto", +-# ], +-# ) +- +-# go_gapic_library( +-# name = "testing_go_gapic", +-# srcs = [":testing_proto_with_info"], +-# grpc_service_config = "testing_grpc_service_config.json", +-# importpath = "cloud.google.com/go/devtools/testing/apiv1;testing", +-# service_yaml = "testing_v1.yaml", +-# metadata = True, +-# deps = [ +-# ":testing_go_proto", +-# "@io_bazel_rules_go//proto/wkt:duration_go_proto", +-# ], +-# ) +- +-# go_test( +-# name = "testing_go_gapic_test", +-# srcs = [":testing_go_gapic_srcjar_test"], +-# embed = [":testing_go_gapic"], +-# importpath = "cloud.google.com/go/devtools/testing/apiv1", +-# ) +- +-# # Open Source Packages +-# go_gapic_assembly_pkg( +-# name = "gapi-cloud-devtools-testing-v1-go", +-# deps = [ +-# ":testing_go_gapic", +-# ":testing_go_gapic_srcjar-test.srcjar", +-# ":testing_go_gapic_srcjar-metadata.srcjar", +-# ":testing_go_proto", +-# ], +-# ) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "testing_py_gapic", +- srcs = [":testing_proto"], +- grpc_service_config = "testing_grpc_service_config.json", +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "devtools-testing-v1-py", +- deps = [ +- ":testing_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "testing_php_proto", +- deps = [":testing_proto"], +-) +- +-php_grpc_library( +- name = "testing_php_grpc", +- srcs = [":testing_proto"], +- deps = [":testing_php_proto"], +-) +- +-php_gapic_library( +- name = "testing_php_gapic", +- srcs = [":testing_proto_with_info"], +- grpc_service_config = "testing_grpc_service_config.json", +- service_yaml = "testing_v1.yaml", +- deps = [ +- ":testing_php_grpc", +- ":testing_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-devtools-testing-v1-php", +- deps = [ +- ":testing_php_gapic", +- ":testing_php_grpc", +- ":testing_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "testing_nodejs_gapic", +- package_name = "@google-cloud/testing", +- src = ":testing_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "testing_grpc_service_config.json", +- package = "google.devtools.testing.v1", +- service_yaml = "testing_v1.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "devtools-testing-v1-nodejs", +- deps = [ +- ":testing_nodejs_gapic", +- ":testing_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_gapic_assembly_pkg", +- "ruby_cloud_gapic_library", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "testing_ruby_proto", +- deps = [":testing_proto"], +-) +- +-ruby_grpc_library( +- name = "testing_ruby_grpc", +- srcs = [":testing_proto"], +- deps = [":testing_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "testing_ruby_gapic", +- srcs = [":testing_proto_with_info"], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-cloud-devtools-testing-v1", +- ], +- grpc_service_config = "testing_grpc_service_config.json", +- deps = [ +- ":testing_ruby_grpc", +- ":testing_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-devtools-testing-v1-ruby", +- deps = [ +- ":testing_ruby_gapic", +- ":testing_ruby_grpc", +- ":testing_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-# +-# Commented out until enum path segments are supported. +-# --gapic_out: System.InvalidOperationException: Path in http url must resolve to a string field: 'environment_type'. +-# +-# load( +-# "@com_google_googleapis_imports//:imports.bzl", +-# "csharp_gapic_assembly_pkg", +-# "csharp_gapic_library", +-# "csharp_grpc_library", +-# "csharp_proto_library", +-# ) +- +-# csharp_proto_library( +-# name = "testing_csharp_proto", +-# deps = [":testing_proto"], +-# ) +- +-# csharp_grpc_library( +-# name = "testing_csharp_grpc", +-# srcs = [":testing_proto"], +-# deps = [":testing_csharp_proto"], +-# ) +- +-# csharp_gapic_library( +-# name = "testing_csharp_gapic", +-# srcs = [":testing_proto_with_info"], +-# common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +-# grpc_service_config = "testing_grpc_service_config.json", +-# deps = [ +-# ":testing_csharp_grpc", +-# ":testing_csharp_proto", +-# ], +-# ) +- +-# # Open Source Packages +-# csharp_gapic_assembly_pkg( +-# name = "google-cloud-devtools-testing-v1-csharp", +-# deps = [ +-# ":testing_csharp_gapic", +-# ":testing_csharp_grpc", +-# ":testing_csharp_proto", +-# ], +-# ) +- +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here diff -urN a/google/example/endpointsapis/BUILD.bazel b/google/example/endpointsapis/BUILD.bazel ---- a/google/example/endpointsapis/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/example/endpointsapis/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/example/endpointsapis/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/example/endpointsapis/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) diff -urN a/google/example/library/BUILD.bazel b/google/example/library/BUILD.bazel ---- a/google/example/library/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/example/library/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/example/library/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/example/library/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) diff -urN a/google/example/library/v1/BUILD.bazel b/google/example/library/v1/BUILD.bazel ---- a/google/example/library/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/example/library/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,298 +0,0 @@ +--- a/google/example/library/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/example/library/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,296 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/rules_gapic/tree/master/bazel - @@ -63971,10 +81912,8 @@ diff -urN a/google/example/library/v1/BUILD.bazel b/google/example/library/v1/BU - -php_gapic_library( - name = "library_php_gapic", -- src = ":library_proto_with_info", -- gapic_yaml = "library_example_gapic.yaml", +- srcs = [":library_proto_with_info"], - grpc_service_config = "library_grpc_service_config.json", -- package = "google.example.library.v1", - service_yaml = "//google/example/library:library_example_v1.yaml", - deps = [ - ":library_php_grpc", @@ -64034,8 +81973,8 @@ diff -urN a/google/example/library/v1/BUILD.bazel b/google/example/library/v1/BU - "ruby-cloud-api-shortname=library", - ], - grpc_service_config = "library_grpc_service_config.json", -- ruby_cloud_title = "Example Library V1", - ruby_cloud_description = "This is a Google example service representing a simple digital library. It manages a collection of shelf resources, and each shelf owns a collection of book resources.", +- ruby_cloud_title = "Example Library V1", - deps = [ - ":library_ruby_grpc", - ":library_ruby_proto", @@ -64089,19 +82028,19 @@ diff -urN a/google/example/library/v1/BUILD.bazel b/google/example/library/v1/BU -############################################################################## -# Put your C++ rules here diff -urN a/google/firestore/BUILD.bazel b/google/firestore/BUILD.bazel ---- a/google/firestore/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/firestore/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/firestore/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/firestore/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) diff -urN a/google/firestore/admin/BUILD.bazel b/google/firestore/admin/BUILD.bazel ---- a/google/firestore/admin/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/firestore/admin/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/firestore/admin/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/firestore/admin/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) diff -urN a/google/firestore/admin/v1/BUILD.bazel b/google/firestore/admin/v1/BUILD.bazel ---- a/google/firestore/admin/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/firestore/admin/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,346 +0,0 @@ +--- a/google/firestore/admin/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/firestore/admin/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,342 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -64302,11 +82241,7 @@ diff -urN a/google/firestore/admin/v1/BUILD.bazel b/google/firestore/admin/v1/BU - -php_gapic_library( - name = "admin_php_gapic", -- src = ":admin_proto_with_info", -- # Do not change this to the firestore_gapic.yaml, see tracking bug. -- gapic_yaml = "firestore_gapic.legacy.yaml", -- package = "google.firestore.admin.v1", -- service_yaml = "//google/firestore/admin:firestore_admin_v1.yaml", +- srcs = [":admin_proto_with_info"], - deps = [ - ":admin_php_grpc", - ":admin_php_proto", @@ -64355,8 +82290,8 @@ diff -urN a/google/firestore/admin/v1/BUILD.bazel b/google/firestore/admin/v1/BU -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -64449,8 +82384,8 @@ diff -urN a/google/firestore/admin/v1/BUILD.bazel b/google/firestore/admin/v1/BU -############################################################################## -# Put your C++ rules here diff -urN a/google/firestore/bundle/BUILD.bazel b/google/firestore/bundle/BUILD.bazel ---- a/google/firestore/bundle/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/firestore/bundle/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/firestore/bundle/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/firestore/bundle/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,102 +0,0 @@ -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -64555,9 +82490,9 @@ diff -urN a/google/firestore/bundle/BUILD.bazel b/google/firestore/bundle/BUILD. -############################################################################## -# Put your C++ rules here diff -urN a/google/firestore/v1/BUILD.bazel b/google/firestore/v1/BUILD.bazel ---- a/google/firestore/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/firestore/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,341 +0,0 @@ +--- a/google/firestore/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/firestore/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,337 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -64752,11 +82687,7 @@ diff -urN a/google/firestore/v1/BUILD.bazel b/google/firestore/v1/BUILD.bazel - -php_gapic_library( - name = "firestore_php_gapic", -- src = ":firestore_proto_with_info", -- # Do not change this to the firestore_gapic.yaml, see tracking bug. -- gapic_yaml = "firestore_gapic.legacy.yaml", -- package = "google.firestore.v1", -- service_yaml = "//google/firestore:firestore_v1.yaml", +- srcs = [":firestore_proto_with_info"], - deps = [ - ":firestore_php_grpc", - ":firestore_php_proto", @@ -64806,8 +82737,8 @@ diff -urN a/google/firestore/v1/BUILD.bazel b/google/firestore/v1/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -64900,9 +82831,9 @@ diff -urN a/google/firestore/v1/BUILD.bazel b/google/firestore/v1/BUILD.bazel -############################################################################## -# Put your C++ rules here diff -urN a/google/firestore/v1beta1/BUILD.bazel b/google/firestore/v1beta1/BUILD.bazel ---- a/google/firestore/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/firestore/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,341 +0,0 @@ +--- a/google/firestore/v1beta1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/firestore/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,336 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - @@ -65106,10 +83037,7 @@ diff -urN a/google/firestore/v1beta1/BUILD.bazel b/google/firestore/v1beta1/BUIL - -php_gapic_library( - name = "firestore_php_gapic", -- src = ":firestore_proto_with_info", -- gapic_yaml = "firestore_gapic.yaml", -- package = "google.firestore.v1beta1", -- service_yaml = "//google/firestore:firestore_v1beta1.yaml", +- srcs = [":firestore_proto_with_info"], - deps = [ - ":firestore_php_grpc", - ":firestore_php_proto", @@ -65159,7 +83087,7 @@ diff -urN a/google/firestore/v1beta1/BUILD.bazel b/google/firestore/v1beta1/BUIL -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -65175,12 +83103,10 @@ diff -urN a/google/firestore/v1beta1/BUILD.bazel b/google/firestore/v1beta1/BUIL - deps = [":firestore_ruby_proto"], -) - --ruby_gapic_library( +-ruby_cloud_gapic_library( - name = "firestore_ruby_gapic", -- src = ":firestore_proto_with_info", -- gapic_yaml = "firestore_gapic.yaml", -- package = "google.firestore.v1beta1", -- service_yaml = "//google/firestore:firestore_v1beta1.yaml", +- srcs = [":firestore_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-firestore-v1beta1"], - deps = [ - ":firestore_ruby_grpc", - ":firestore_ruby_proto", @@ -65245,8 +83171,8 @@ diff -urN a/google/firestore/v1beta1/BUILD.bazel b/google/firestore/v1beta1/BUIL -############################################################################## -# Put your C++ rules here diff -urN a/google/geo/type/BUILD.bazel b/google/geo/type/BUILD.bazel ---- a/google/geo/type/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/geo/type/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/geo/type/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/geo/type/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,41 +0,0 @@ -load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "cc_proto_library", "go_proto_library", "java_proto_library") @@ -65290,9 +83216,9 @@ diff -urN a/google/geo/type/BUILD.bazel b/google/geo/type/BUILD.bazel - deps = [":viewport_proto"], -) diff -urN a/google/home/enterprise/sdm/v1/BUILD.bazel b/google/home/enterprise/sdm/v1/BUILD.bazel ---- a/google/home/enterprise/sdm/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/home/enterprise/sdm/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,334 +0,0 @@ +--- a/google/home/enterprise/sdm/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/home/enterprise/sdm/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,329 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - @@ -65487,11 +83413,8 @@ diff -urN a/google/home/enterprise/sdm/v1/BUILD.bazel b/google/home/enterprise/s - -php_gapic_library( - name = "sdm_php_gapic", -- src = ":sdm_proto_with_info", -- gapic_yaml = "smartdevicemanagement_gapic.yaml", +- srcs = [":sdm_proto_with_info"], - grpc_service_config = "smart_device_management_grpc_service_config.json", -- package = "google.home.enterprise.sdm.v1", -- service_yaml = "smartdevicemanagement_v1.yaml", - deps = [ - ":sdm_php_grpc", - ":sdm_php_proto", @@ -65541,7 +83464,7 @@ diff -urN a/google/home/enterprise/sdm/v1/BUILD.bazel b/google/home/enterprise/s -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -65557,13 +83480,11 @@ diff -urN a/google/home/enterprise/sdm/v1/BUILD.bazel b/google/home/enterprise/s - deps = [":sdm_ruby_proto"], -) - --ruby_gapic_library( +-ruby_cloud_gapic_library( - name = "sdm_ruby_gapic", -- src = ":sdm_proto_with_info", -- gapic_yaml = "smartdevicemanagement_gapic.yaml", +- srcs = [":sdm_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-sdm-v1"], - grpc_service_config = "smart_device_management_grpc_service_config.json", -- package = "google.home.enterprise.sdm.v1", -- service_yaml = "smartdevicemanagement_v1.yaml", - deps = [ - ":sdm_ruby_grpc", - ":sdm_ruby_proto", @@ -65628,14 +83549,14 @@ diff -urN a/google/home/enterprise/sdm/v1/BUILD.bazel b/google/home/enterprise/s -############################################################################## -# Put your C++ rules here diff -urN a/google/home/graph/BUILD.bazel b/google/home/graph/BUILD.bazel ---- a/google/home/graph/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/home/graph/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/home/graph/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/home/graph/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) diff -urN a/google/home/graph/v1/BUILD.bazel b/google/home/graph/v1/BUILD.bazel ---- a/google/home/graph/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/home/graph/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,323 +0,0 @@ +--- a/google/home/graph/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/home/graph/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,318 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -65821,10 +83742,7 @@ diff -urN a/google/home/graph/v1/BUILD.bazel b/google/home/graph/v1/BUILD.bazel - -php_gapic_library( - name = "graph_php_gapic", -- src = ":graph_proto_with_info", -- gapic_yaml = "homegraph_gapic.yaml", -- package = "google.home.graph.v1", -- service_yaml = "homegraph_v1.yaml", +- srcs = [":graph_proto_with_info"], - deps = [ - ":graph_php_grpc", - ":graph_php_proto", @@ -65874,7 +83792,7 @@ diff -urN a/google/home/graph/v1/BUILD.bazel b/google/home/graph/v1/BUILD.bazel -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -65890,12 +83808,10 @@ diff -urN a/google/home/graph/v1/BUILD.bazel b/google/home/graph/v1/BUILD.bazel - deps = [":graph_ruby_proto"], -) - --ruby_gapic_library( +-ruby_cloud_gapic_library( - name = "graph_ruby_gapic", -- src = ":graph_proto_with_info", -- gapic_yaml = "homegraph_gapic.yaml", -- package = "google.home.graph.v1", -- service_yaml = "homegraph_v1.yaml", +- srcs = [":graph_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-graph-v1"], - deps = [ - ":graph_ruby_grpc", - ":graph_ruby_proto", @@ -65960,16 +83876,16 @@ diff -urN a/google/home/graph/v1/BUILD.bazel b/google/home/graph/v1/BUILD.bazel -############################################################################## -# Put your C++ rules here diff -urN a/google/iam/BUILD.bazel b/google/iam/BUILD.bazel ---- a/google/iam/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/iam/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/iam/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/iam/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) diff -urN a/google/iam/admin/v1/BUILD.bazel b/google/iam/admin/v1/BUILD.bazel ---- a/google/iam/admin/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/iam/admin/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,358 +0,0 @@ +--- a/google/iam/admin/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/iam/admin/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,364 +0,0 @@ -# This file was automatically generated by BuildFileGenerator --# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +-# https://github.com/googleapis/rules_gapic/tree/master/bazel - -# Most of the manual changes to this file will be overwritten. -# It's **only** allowed to change the following rule attribute values: @@ -66000,7 +83916,10 @@ diff -urN a/google/iam/admin/v1/BUILD.bazel b/google/iam/admin/v1/BUILD.bazel - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "//google/iam/v1:iam_policy_proto", +- "//google/iam/v1:options_proto", - "//google/iam/v1:policy_proto", +- "//google/type:expr_proto", +- "@com_google_protobuf//:any_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", @@ -66041,6 +83960,7 @@ diff -urN a/google/iam/admin/v1/BUILD.bazel b/google/iam/admin/v1/BUILD.bazel -java_gapic_library( - name = "admin_java_gapic", - srcs = [":admin_proto_with_info"], +- # This was manually replaced - build_gen shouldn't have removed it. - gapic_yaml = "iam_gapic.yaml", - grpc_service_config = "iam_grpc_service_config.json", - test_deps = [ @@ -66055,7 +83975,10 @@ diff -urN a/google/iam/admin/v1/BUILD.bazel b/google/iam/admin/v1/BUILD.bazel - -java_gapic_test( - name = "admin_java_gapic_test_suite", +- # This was manually named IAMClientTest - build_gen attempts to rename it to +- # IamClientTest. - test_classes = [ +- # Java package override from gapic.yaml. - "com.google.cloud.iam.admin.v1.IAMClientTest", - ], - runtime_deps = [":admin_java_gapic_test"], @@ -66091,6 +84014,7 @@ diff -urN a/google/iam/admin/v1/BUILD.bazel b/google/iam/admin/v1/BUILD.bazel - deps = [ - "//google/api:annotations_go_proto", - "//google/iam/v1:iam_go_proto", +- "//google/type:expr_go_proto", - ], -) - @@ -66099,6 +84023,7 @@ diff -urN a/google/iam/admin/v1/BUILD.bazel b/google/iam/admin/v1/BUILD.bazel - srcs = [":admin_proto_with_info"], - grpc_service_config = "iam_grpc_service_config.json", - importpath = "cloud.google.com/go/iam/admin/apiv1;admin", +- metadata = True, - service_yaml = "iam.yaml", - deps = [ - ":admin_go_proto", @@ -66118,6 +84043,7 @@ diff -urN a/google/iam/admin/v1/BUILD.bazel b/google/iam/admin/v1/BUILD.bazel - name = "gapi-cloud-iam-admin-v1-go", - deps = [ - ":admin_go_gapic", +- ":admin_go_gapic_srcjar-metadata.srcjar", - ":admin_go_gapic_srcjar-test.srcjar", - ":admin_go_proto", - ], @@ -66170,11 +84096,8 @@ diff -urN a/google/iam/admin/v1/BUILD.bazel b/google/iam/admin/v1/BUILD.bazel - -php_gapic_library( - name = "admin_php_gapic", -- src = ":admin_proto_with_info", -- gapic_yaml = "iam_gapic.yaml", +- srcs = [":admin_proto_with_info"], - grpc_service_config = "iam_grpc_service_config.json", -- package = "google.iam.admin.v1", -- service_yaml = "iam.yaml", - deps = [ - ":admin_php_grpc", - ":admin_php_proto", @@ -66202,6 +84125,7 @@ diff -urN a/google/iam/admin/v1/BUILD.bazel b/google/iam/admin/v1/BUILD.bazel - -nodejs_gapic_library( - name = "admin_nodejs_gapic", +- package_name = "@google-cloud/admin", - src = ":admin_proto_with_info", - extra_protoc_parameters = ["metadata"], - grpc_service_config = "iam_grpc_service_config.json", @@ -66223,8 +84147,8 @@ diff -urN a/google/iam/admin/v1/BUILD.bazel b/google/iam/admin/v1/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -66240,13 +84164,11 @@ diff -urN a/google/iam/admin/v1/BUILD.bazel b/google/iam/admin/v1/BUILD.bazel - deps = [":admin_ruby_proto"], -) - --ruby_gapic_library( +-ruby_cloud_gapic_library( - name = "admin_ruby_gapic", -- src = ":admin_proto_with_info", -- gapic_yaml = "iam_gapic.yaml", +- srcs = [":admin_proto_with_info"], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-iam-admin-v1"], - grpc_service_config = "iam_grpc_service_config.json", -- package = "google.iam.admin.v1", -- service_yaml = "iam.yaml", - deps = [ - ":admin_ruby_grpc", - ":admin_ruby_proto", @@ -66327,14 +84249,14 @@ diff -urN a/google/iam/admin/v1/BUILD.bazel b/google/iam/admin/v1/BUILD.bazel - deps = [":admin_cc_proto"], -) diff -urN a/google/iam/credentials/BUILD.bazel b/google/iam/credentials/BUILD.bazel ---- a/google/iam/credentials/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/iam/credentials/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/iam/credentials/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/iam/credentials/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) diff -urN a/google/iam/credentials/v1/BUILD.bazel b/google/iam/credentials/v1/BUILD.bazel ---- a/google/iam/credentials/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/iam/credentials/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,341 +0,0 @@ +--- a/google/iam/credentials/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/iam/credentials/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,345 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -66520,11 +84442,8 @@ diff -urN a/google/iam/credentials/v1/BUILD.bazel b/google/iam/credentials/v1/BU - -php_gapic_library( - name = "credentials_php_gapic", -- src = ":credentials_proto_with_info", -- gapic_yaml = "iamcredentials_gapic.yaml", +- srcs = [":credentials_proto_with_info"], - grpc_service_config = "iamcredentials_grpc_service_config.json", -- package = "google.iam.credentials.v1", -- service_yaml = "//google/iam/credentials:iamcredentials_v1.yaml", - deps = [ - ":credentials_php_grpc", - ":credentials_php_proto", @@ -66575,7 +84494,7 @@ diff -urN a/google/iam/credentials/v1/BUILD.bazel b/google/iam/credentials/v1/BU -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -66591,12 +84510,19 @@ diff -urN a/google/iam/credentials/v1/BUILD.bazel b/google/iam/credentials/v1/BU - deps = [":credentials_ruby_proto"], -) - --ruby_gapic_library( +-ruby_cloud_gapic_library( - name = "credentials_ruby_gapic", -- src = ":credentials_proto_with_info", -- gapic_yaml = "iamcredentials_gapic.yaml", -- package = "google.iam.credentials.v1", -- service_yaml = "//google/iam/credentials:iamcredentials_v1.yaml", +- srcs = [":credentials_proto_with_info",], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-iam-credentials-v1", +- "ruby-cloud-env-prefix=IAM_CREDENTIALS", +- "ruby-cloud-product-url=https://cloud.google.com/iam", +- "ruby-cloud-api-id=iamcredentials.googleapis.com", +- "ruby-cloud-api-shortname=iamcredentials", +- ], +- grpc_service_config = "iamcredentials_grpc_service_config.json", +- ruby_cloud_description = "The Service Account Credentials API creates short-lived credentials for Identity and Access Management (IAM) service accounts. You can also use this API to sign JSON Web Tokens (JWTs), as well as blobs of binary data that contain other types of tokens.", +- ruby_cloud_title = "IAM Service Account Credentials V1", - deps = [ - ":credentials_ruby_grpc", - ":credentials_ruby_proto", @@ -66677,8 +84603,8 @@ diff -urN a/google/iam/credentials/v1/BUILD.bazel b/google/iam/credentials/v1/BU - deps = [":credentials_cc_proto"], -) diff -urN a/google/iam/v1/BUILD.bazel b/google/iam/v1/BUILD.bazel ---- a/google/iam/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/iam/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/iam/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/iam/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,152 +0,0 @@ -load("@rules_proto//proto:defs.bzl", "proto_library") - @@ -66833,9 +84759,9 @@ diff -urN a/google/iam/v1/BUILD.bazel b/google/iam/v1/BUILD.bazel - deps = [":options_proto"] -) diff -urN a/google/iam/v1/logging/BUILD.bazel b/google/iam/v1/logging/BUILD.bazel ---- a/google/iam/v1/logging/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/iam/v1/logging/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,75 +0,0 @@ +--- a/google/iam/v1/logging/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/iam/v1/logging/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,90 +0,0 @@ -load("@rules_proto//proto:defs.bzl", "proto_library") - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -66904,17 +84830,32 @@ diff -urN a/google/iam/v1/logging/BUILD.bazel b/google/iam/v1/logging/BUILD.baze -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "py_proto_library", +- "py_gapic_library", +- "py_gapic_assembly_pkg" -) - --py_proto_library( -- name = "logging_py_proto", -- deps = [":audit_data_proto"] +-py_gapic_library( +- name = "logging_py_gapic", +- srcs =[":audit_data_proto"], +- opt_args = [ +- "warehouse-package-name=google-cloud-iam-logging", +- "python-gapic-namespace=google.cloud", +- "python-gapic-name=iam_logging", +- ], -) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "google-cloud-iam-logging-v1-py", +- deps = [ +- ":logging_py_gapic", +- ], +-) +- diff -urN a/google/iam/v1beta/BUILD.bazel b/google/iam/v1beta/BUILD.bazel ---- a/google/iam/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/iam/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,338 +0,0 @@ +--- a/google/iam/v1beta/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/iam/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,342 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - @@ -67113,10 +85054,8 @@ diff -urN a/google/iam/v1beta/BUILD.bazel b/google/iam/v1beta/BUILD.bazel - -php_gapic_library( - name = "iam_php_gapic", -- src = ":iam_proto_with_info", -- gapic_yaml = "iam_gapic.yaml", +- srcs = [":iam_proto_with_info"], - grpc_service_config = "iam_grpc_service_config.json", -- package = "google.iam.v1beta", - service_yaml = "iam_v1beta.yaml", - deps = [ - ":iam_php_grpc", @@ -67167,7 +85106,7 @@ diff -urN a/google/iam/v1beta/BUILD.bazel b/google/iam/v1beta/BUILD.bazel -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -67183,13 +85122,19 @@ diff -urN a/google/iam/v1beta/BUILD.bazel b/google/iam/v1beta/BUILD.bazel - deps = [":iam_ruby_proto"], -) - --ruby_gapic_library( +-ruby_cloud_gapic_library( - name = "iam_ruby_gapic", -- src = ":iam_proto_with_info", -- gapic_yaml = "iam_gapic.yaml", +- srcs = [":iam_proto_with_info",], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=google-iam-v1beta", +- "ruby-cloud-env-prefix=IAM", +- "ruby-cloud-product-url=https://cloud.google.com/iam/docs/manage-workload-identity-pools-providers", +- "ruby-cloud-api-id=iam.googleapis.com", +- "ruby-cloud-api-shortname=iam", +- ], - grpc_service_config = "iam_grpc_service_config.json", -- package = "google.iam.v1beta", -- service_yaml = "iam_v1beta.yaml", +- ruby_cloud_description = "Pre-release client for the WorkloadIdentityPools service.", +- ruby_cloud_title = "Google IAM V1beta", - deps = [ - ":iam_ruby_grpc", - ":iam_ruby_proto", @@ -67254,9 +85199,9 @@ diff -urN a/google/iam/v1beta/BUILD.bazel b/google/iam/v1beta/BUILD.bazel -############################################################################## -# Put your C++ rules here diff -urN a/google/identity/accesscontextmanager/type/BUILD.bazel b/google/identity/accesscontextmanager/type/BUILD.bazel ---- a/google/identity/accesscontextmanager/type/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/identity/accesscontextmanager/type/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,172 +0,0 @@ +--- a/google/identity/accesscontextmanager/type/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/identity/accesscontextmanager/type/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,171 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -67346,7 +85291,6 @@ diff -urN a/google/identity/accesscontextmanager/type/BUILD.bazel b/google/ident - -py_proto_library( - name = "type_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", - deps = [":type_moved_proto"], -) - @@ -67430,9 +85374,9 @@ diff -urN a/google/identity/accesscontextmanager/type/BUILD.bazel b/google/ident -############################################################################## -# Put your C++ code here diff -urN a/google/identity/accesscontextmanager/v1/BUILD.bazel b/google/identity/accesscontextmanager/v1/BUILD.bazel ---- a/google/identity/accesscontextmanager/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/identity/accesscontextmanager/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,182 +0,0 @@ +--- a/google/identity/accesscontextmanager/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/identity/accesscontextmanager/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,181 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -67532,7 +85476,6 @@ diff -urN a/google/identity/accesscontextmanager/v1/BUILD.bazel b/google/identit - -py_proto_library( - name = "accesscontextmanager_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", - deps = [":accesscontextmanager_moved_proto"], -) - @@ -67616,14 +85559,14 @@ diff -urN a/google/identity/accesscontextmanager/v1/BUILD.bazel b/google/identit -############################################################################## -# Put your C++ code here diff -urN a/google/logging/BUILD.bazel b/google/logging/BUILD.bazel ---- a/google/logging/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/logging/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/logging/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/logging/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) diff -urN a/google/logging/type/BUILD.bazel b/google/logging/type/BUILD.bazel ---- a/google/logging/type/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/logging/type/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,181 +0,0 @@ +--- a/google/logging/type/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/logging/type/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,180 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -67705,7 +85648,6 @@ diff -urN a/google/logging/type/BUILD.bazel b/google/logging/type/BUILD.bazel - -py_proto_library( - name = "type_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", - deps = [":type_moved_proto"], -) - @@ -67806,9 +85748,9 @@ diff -urN a/google/logging/type/BUILD.bazel b/google/logging/type/BUILD.bazel - deps = [":type_cc_proto"], -) diff -urN a/google/logging/v2/BUILD.bazel b/google/logging/v2/BUILD.bazel ---- a/google/logging/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/logging/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,387 +0,0 @@ +--- a/google/logging/v2/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/logging/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,385 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - @@ -68029,11 +85971,9 @@ diff -urN a/google/logging/v2/BUILD.bazel b/google/logging/v2/BUILD.bazel - -php_gapic_library( - name = "logging_php_gapic", -- src = ":logging_proto_with_info", +- srcs = [":logging_proto_with_info"], - gapic_yaml = "logging_gapic.yaml", - grpc_service_config = "logging_grpc_service_config.json", -- package = "google.logging.v2", -- service_yaml = "logging.yaml", - deps = [ - ":logging_php_grpc", - ":logging_php_proto", @@ -68085,8 +86025,8 @@ diff -urN a/google/logging/v2/BUILD.bazel b/google/logging/v2/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -68197,8 +86137,8 @@ diff -urN a/google/logging/v2/BUILD.bazel b/google/logging/v2/BUILD.bazel - deps = [":logging_cc_proto"], -) diff -urN a/google/longrunning/BUILD.bazel b/google/longrunning/BUILD.bazel ---- a/google/longrunning/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/longrunning/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/longrunning/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/longrunning/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,114 +0,0 @@ -load("@rules_proto//proto:defs.bzl", "proto_library") - @@ -68315,8 +86255,8 @@ diff -urN a/google/longrunning/BUILD.bazel b/google/longrunning/BUILD.bazel - deps = [":longrunning_cc_proto"], -) diff -urN a/google/maps/BUILD.bazel b/google/maps/BUILD.bazel ---- a/google/maps/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/maps/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/maps/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/maps/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,11 +0,0 @@ -package(default_visibility = ["//google/maps:__subpackages__"]) - @@ -68329,10 +86269,356 @@ diff -urN a/google/maps/BUILD.bazel b/google/maps/BUILD.bazel - name = "postprocessing_py", - srcs = ["postprocessing_py.sh"], -) +diff -urN a/google/maps/fleetengine/v1/BUILD.bazel b/google/maps/fleetengine/v1/BUILD.bazel +--- a/google/maps/fleetengine/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/maps/fleetengine/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,342 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. +-# This is an API workspace, having public visibility by default makes perfect sense. +-package(default_visibility = ["//visibility:public"]) +- +-############################################################################## +-# Common +-############################################################################## +-load("@rules_proto//proto:defs.bzl", "proto_library") +-load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +- +-proto_library( +- name = "fleetengine_proto", +- srcs = [ +- "fleetengine.proto", +- "header.proto", +- "trip_api.proto", +- "trips.proto", +- "vehicle_api.proto", +- "vehicles.proto", +- ], +- deps = [ +- "//google/api:annotations_proto", +- "//google/api:client_proto", +- "//google/api:field_behavior_proto", +- "//google/api:resource_proto", +- "//google/type:latlng_proto", +- "@com_google_protobuf//:any_proto", +- "@com_google_protobuf//:duration_proto", +- "@com_google_protobuf//:empty_proto", +- "@com_google_protobuf//:field_mask_proto", +- "@com_google_protobuf//:timestamp_proto", +- "@com_google_protobuf//:wrappers_proto", +- ], +-) +- +-proto_library_with_info( +- name = "fleetengine_proto_with_info", +- deps = [ +- ":fleetengine_proto", +- "//google/cloud:common_resources_proto", +- ], +-) +- +-############################################################################## +-# Java +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", +- "java_grpc_library", +- "java_proto_library", +-) +- +-java_proto_library( +- name = "fleetengine_java_proto", +- deps = [":fleetengine_proto"], +-) +- +-java_grpc_library( +- name = "fleetengine_java_grpc", +- srcs = [":fleetengine_proto"], +- deps = [":fleetengine_java_proto"], +-) +- +-java_gapic_library( +- name = "fleetengine_java_gapic", +- srcs = [":fleetengine_proto_with_info"], +- grpc_service_config = "fleetengine_grpc_service_config.json", +- test_deps = [ +- ":fleetengine_java_grpc", +- ], +- deps = [ +- ":fleetengine_java_proto", +- ], +-) +- +-java_gapic_test( +- name = "fleetengine_java_gapic_test_suite", +- test_classes = [ +- "google.maps.fleetengine.v1.TripServiceClientTest", +- "google.maps.fleetengine.v1.VehicleServiceClientTest", +- ], +- runtime_deps = [":fleetengine_java_gapic_test"], +-) +- +-# Open Source Packages +-java_gapic_assembly_gradle_pkg( +- name = "google-cloud-maps-fleetengine-v1-java", +- deps = [ +- ":fleetengine_java_gapic", +- ":fleetengine_java_grpc", +- ":fleetengine_java_proto", +- ":fleetengine_proto", +- ], +-) +- +-############################################################################## +-# Go +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "go_gapic_assembly_pkg", +- "go_gapic_library", +- "go_proto_library", +- "go_test", +-) +- +-go_proto_library( +- name = "fleetengine_go_proto", +- compilers = ["@io_bazel_rules_go//proto:go_grpc"], +- importpath = "google.golang.org/genproto/googleapis/maps/fleetengine/v1", +- protos = [":fleetengine_proto"], +- deps = [ +- "//google/api:annotations_go_proto", +- "//google/type:latlng_go_proto", +- ], +-) +- +-go_gapic_library( +- name = "fleetengine_go_gapic", +- srcs = [":fleetengine_proto_with_info"], +- grpc_service_config = "fleetengine_grpc_service_config.json", +- importpath = "google.golang.org/maps/fleetengine/v1;fleetengine", +- metadata = True, +- service_yaml = "fleetengine.yaml", +- deps = [ +- ":fleetengine_go_proto", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", +- ], +-) +- +-go_test( +- name = "fleetengine_go_gapic_test", +- srcs = [":fleetengine_go_gapic_srcjar_test"], +- embed = [":fleetengine_go_gapic"], +- importpath = "google.golang.org/maps/fleetengine/v1", +-) +- +-# Open Source Packages +-go_gapic_assembly_pkg( +- name = "gapi-cloud-maps-fleetengine-v1-go", +- deps = [ +- ":fleetengine_go_gapic", +- ":fleetengine_go_gapic_srcjar-metadata.srcjar", +- ":fleetengine_go_gapic_srcjar-test.srcjar", +- ":fleetengine_go_proto", +- ], +-) +- +-############################################################################## +-# Python +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "py_gapic_assembly_pkg", +- "py_gapic_library", +-) +- +-py_gapic_library( +- name = "fleetengine_py_gapic", +- srcs = [":fleetengine_proto"], +- grpc_service_config = "fleetengine_grpc_service_config.json", +-) +- +-# Open Source Packages +-py_gapic_assembly_pkg( +- name = "maps-fleetengine-v1-py", +- deps = [ +- ":fleetengine_py_gapic", +- ], +-) +- +-############################################################################## +-# PHP +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "php_gapic_assembly_pkg", +- "php_gapic_library", +- "php_grpc_library", +- "php_proto_library", +-) +- +-php_proto_library( +- name = "fleetengine_php_proto", +- deps = [":fleetengine_proto"], +-) +- +-php_grpc_library( +- name = "fleetengine_php_grpc", +- srcs = [":fleetengine_proto"], +- deps = [":fleetengine_php_proto"], +-) +- +-php_gapic_library( +- name = "fleetengine_php_gapic", +- srcs = [":fleetengine_proto_with_info"], +- grpc_service_config = "fleetengine_grpc_service_config.json", +- service_yaml = "fleetengine.yaml", +- deps = [ +- ":fleetengine_php_grpc", +- ":fleetengine_php_proto", +- ], +-) +- +-# Open Source Packages +-php_gapic_assembly_pkg( +- name = "google-cloud-maps-fleetengine-v1-php", +- deps = [ +- ":fleetengine_php_gapic", +- ":fleetengine_php_grpc", +- ":fleetengine_php_proto", +- ], +-) +- +-############################################################################## +-# Node.js +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "nodejs_gapic_assembly_pkg", +- "nodejs_gapic_library", +-) +- +-nodejs_gapic_library( +- name = "fleetengine_nodejs_gapic", +- package_name = "@google-cloud/fleetengine", +- src = ":fleetengine_proto_with_info", +- extra_protoc_parameters = ["metadata"], +- grpc_service_config = "fleetengine_grpc_service_config.json", +- package = "maps.fleetengine.v1", +- service_yaml = "fleetengine.yaml", +- deps = [], +-) +- +-nodejs_gapic_assembly_pkg( +- name = "maps-fleetengine-v1-nodejs", +- deps = [ +- ":fleetengine_nodejs_gapic", +- ":fleetengine_proto", +- ], +-) +- +-############################################################################## +-# Ruby +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", +- "ruby_grpc_library", +- "ruby_proto_library", +-) +- +-ruby_proto_library( +- name = "fleetengine_ruby_proto", +- deps = [":fleetengine_proto"], +-) +- +-ruby_grpc_library( +- name = "fleetengine_ruby_grpc", +- srcs = [":fleetengine_proto"], +- deps = [":fleetengine_ruby_proto"], +-) +- +-ruby_cloud_gapic_library( +- name = "fleetengine_ruby_gapic", +- srcs = [":fleetengine_proto_with_info"], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-maps-fleetengine-v1"], +- grpc_service_config = "fleetengine_grpc_service_config.json", +- deps = [ +- ":fleetengine_ruby_grpc", +- ":fleetengine_ruby_proto", +- ], +-) +- +-# Open Source Packages +-ruby_gapic_assembly_pkg( +- name = "google-cloud-maps-fleetengine-v1-ruby", +- deps = [ +- ":fleetengine_ruby_gapic", +- ":fleetengine_ruby_grpc", +- ":fleetengine_ruby_proto", +- ], +-) +- +-############################################################################## +-# C# +-############################################################################## +-load( +- "@com_google_googleapis_imports//:imports.bzl", +- "csharp_gapic_assembly_pkg", +- "csharp_gapic_library", +- "csharp_grpc_library", +- "csharp_proto_library", +-) +- +-csharp_proto_library( +- name = "fleetengine_csharp_proto", +- deps = [":fleetengine_proto"], +-) +- +-csharp_grpc_library( +- name = "fleetengine_csharp_grpc", +- srcs = [":fleetengine_proto"], +- deps = [":fleetengine_csharp_proto"], +-) +- +-csharp_gapic_library( +- name = "fleetengine_csharp_gapic", +- srcs = [":fleetengine_proto_with_info"], +- common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", +- grpc_service_config = "fleetengine_grpc_service_config.json", +- deps = [ +- ":fleetengine_csharp_grpc", +- ":fleetengine_csharp_proto", +- ], +-) +- +-# Open Source Packages +-csharp_gapic_assembly_pkg( +- name = "google-cloud-maps-fleetengine-v1-csharp", +- deps = [ +- ":fleetengine_csharp_gapic", +- ":fleetengine_csharp_grpc", +- ":fleetengine_csharp_proto", +- ], +-) +-############################################################################## +-# C++ +-############################################################################## +-# Put your C++ rules here diff -urN a/google/maps/playablelocations/v3/BUILD.bazel b/google/maps/playablelocations/v3/BUILD.bazel ---- a/google/maps/playablelocations/v3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/maps/playablelocations/v3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,310 +0,0 @@ +--- a/google/maps/playablelocations/v3/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/maps/playablelocations/v3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,305 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -68505,10 +86791,7 @@ diff -urN a/google/maps/playablelocations/v3/BUILD.bazel b/google/maps/playablel - -php_gapic_library( - name = "playablelocations_php_gapic", -- src = ":playablelocations_proto_with_info", -- gapic_yaml = "playablelocations_gapic.yaml", -- package = "google.maps.playablelocations.v3", -- service_yaml = "playablelocations_v3.yaml", +- srcs = [":playablelocations_proto_with_info"], - deps = [ - ":playablelocations_php_grpc", - ":playablelocations_php_proto", @@ -68558,7 +86841,7 @@ diff -urN a/google/maps/playablelocations/v3/BUILD.bazel b/google/maps/playablel -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -68574,12 +86857,10 @@ diff -urN a/google/maps/playablelocations/v3/BUILD.bazel b/google/maps/playablel - deps = [":playablelocations_ruby_proto"], -) - --ruby_gapic_library( +-ruby_cloud_gapic_library( - name = "playablelocations_ruby_gapic", -- src = ":playablelocations_proto_with_info", -- gapic_yaml = "playablelocations_gapic.yaml", -- package = "google.maps.playablelocations.v3", -- service_yaml = "playablelocations_v3.yaml", +- srcs = [":playablelocations_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-playablelocations-v3"], - deps = [ - ":playablelocations_ruby_grpc", - ":playablelocations_ruby_proto", @@ -68644,8 +86925,8 @@ diff -urN a/google/maps/playablelocations/v3/BUILD.bazel b/google/maps/playablel -############################################################################## -# Put your C++ rules here diff -urN a/google/maps/playablelocations/v3/sample/BUILD.bazel b/google/maps/playablelocations/v3/sample/BUILD.bazel ---- a/google/maps/playablelocations/v3/sample/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/maps/playablelocations/v3/sample/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/maps/playablelocations/v3/sample/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/maps/playablelocations/v3/sample/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,134 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - @@ -68782,9 +87063,9 @@ diff -urN a/google/maps/playablelocations/v3/sample/BUILD.bazel b/google/maps/pl -############################################################################## -# Put your C++ code here diff -urN a/google/maps/roads/v1op/BUILD.bazel b/google/maps/roads/v1op/BUILD.bazel ---- a/google/maps/roads/v1op/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/maps/roads/v1op/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,362 +0,0 @@ +--- a/google/maps/roads/v1op/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/maps/roads/v1op/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,357 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -68845,7 +87126,6 @@ diff -urN a/google/maps/roads/v1op/BUILD.bazel b/google/maps/roads/v1op/BUILD.ba -java_gapic_library( - name = "roads_java_gapic", - srcs = [":roads_proto_with_info"], -- gapic_yaml = "roads_gapic.yaml", - grpc_service_config = "roads_grpc_service_config.json", - test_deps = [ - ":roads_java_grpc", @@ -68981,9 +87261,7 @@ diff -urN a/google/maps/roads/v1op/BUILD.bazel b/google/maps/roads/v1op/BUILD.ba -# A HttpRule option must be defined -# php_gapic_library( -# name = "roads_php_gapic", --# src = ":roads_proto_with_info", --# gapic_yaml = "roads_gapic.yaml", --# package = "google.maps.roads.v1op", +-# srcs = [":roads_proto_with_info"], -# service_yaml = "roads_v1op.yaml", -# deps = [ -# ":roads_php_grpc", @@ -69034,7 +87312,7 @@ diff -urN a/google/maps/roads/v1op/BUILD.bazel b/google/maps/roads/v1op/BUILD.ba -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -69050,12 +87328,10 @@ diff -urN a/google/maps/roads/v1op/BUILD.bazel b/google/maps/roads/v1op/BUILD.ba - deps = [":roads_ruby_proto"], -) - --ruby_gapic_library( +-ruby_cloud_gapic_library( - name = "roads_ruby_gapic", -- src = ":roads_proto_with_info", -- gapic_yaml = "roads_gapic.yaml", -- package = "google.maps.roads.v1op", -- service_yaml = "roads_v1op.yaml", +- srcs = [":roads_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-roads-v1op"], - deps = [ - ":roads_ruby_grpc", - ":roads_ruby_proto", @@ -69148,9 +87424,9 @@ diff -urN a/google/maps/roads/v1op/BUILD.bazel b/google/maps/roads/v1op/BUILD.ba - ], -) diff -urN a/google/maps/routes/v1/BUILD.bazel b/google/maps/routes/v1/BUILD.bazel ---- a/google/maps/routes/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/maps/routes/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,207 +0,0 @@ +--- a/google/maps/routes/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/maps/routes/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,210 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -69166,9 +87442,12 @@ diff -urN a/google/maps/routes/v1/BUILD.bazel b/google/maps/routes/v1/BUILD.baze -proto_library( - name = "routes_proto", - srcs = [ +- "compute_custom_routes_request.proto", +- "compute_custom_routes_response.proto", - "compute_route_matrix_request.proto", - "compute_routes_request.proto", - "compute_routes_response.proto", +- "custom_route.proto", - "fallback_info.proto", - "polyline.proto", - "route.proto", @@ -69359,9 +87638,9 @@ diff -urN a/google/maps/routes/v1/BUILD.bazel b/google/maps/routes/v1/BUILD.baze - deps = [":routes_cc_proto"], -) diff -urN a/google/maps/routes/v1alpha/BUILD.bazel b/google/maps/routes/v1alpha/BUILD.bazel ---- a/google/maps/routes/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/maps/routes/v1alpha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,167 +0,0 @@ +--- a/google/maps/routes/v1alpha/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/maps/routes/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,166 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -69445,7 +87724,6 @@ diff -urN a/google/maps/routes/v1alpha/BUILD.bazel b/google/maps/routes/v1alpha/ - -py_proto_library( - name = "routes_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", - deps = [":routes_moved_proto"], -) - @@ -69530,8 +87808,8 @@ diff -urN a/google/maps/routes/v1alpha/BUILD.bazel b/google/maps/routes/v1alpha/ -############################################################################## -# Put your C++ code here diff -urN a/google/maps/routespreferred/v1/BUILD.bazel b/google/maps/routespreferred/v1/BUILD.bazel ---- a/google/maps/routespreferred/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/maps/routespreferred/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/maps/routespreferred/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/maps/routespreferred/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,108 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - @@ -69642,8 +87920,8 @@ diff -urN a/google/maps/routespreferred/v1/BUILD.bazel b/google/maps/routesprefe - ], -) diff -urN a/google/maps/unity/BUILD.bazel b/google/maps/unity/BUILD.bazel ---- a/google/maps/unity/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/maps/unity/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/maps/unity/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/maps/unity/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,129 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - @@ -69775,16 +88053,26 @@ diff -urN a/google/maps/unity/BUILD.bazel b/google/maps/unity/BUILD.bazel -############################################################################## -# Put your C++ code here diff -urN a/google/monitoring/BUILD.bazel b/google/monitoring/BUILD.bazel ---- a/google/monitoring/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/monitoring/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/monitoring/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/monitoring/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) diff -urN a/google/monitoring/dashboard/v1/BUILD.bazel b/google/monitoring/dashboard/v1/BUILD.bazel ---- a/google/monitoring/dashboard/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/monitoring/dashboard/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,363 +0,0 @@ --# This file was automatically generated by BuildFileGenerator except for the --# c++ rules at the end of the file. +--- a/google/monitoring/dashboard/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/monitoring/dashboard/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,373 +0,0 @@ +-# This file was automatically generated by BuildFileGenerator +-# except for the gapic_yaml field in the java_gapic_library +-# and the C++ rules at the end of the file. +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -69912,6 +88200,7 @@ diff -urN a/google/monitoring/dashboard/v1/BUILD.bazel b/google/monitoring/dashb - srcs = [":dashboard_proto_with_info"], - grpc_service_config = "dashboards_grpc_service_config.json", - importpath = "cloud.google.com/go/monitoring/dashboard/apiv1;dashboard", +- metadata = True, - service_yaml = "monitoring.yaml", - deps = [ - ":dashboard_go_proto", @@ -69931,6 +88220,7 @@ diff -urN a/google/monitoring/dashboard/v1/BUILD.bazel b/google/monitoring/dashb - name = "gapi-cloud-monitoring-dashboard-v1-go", - deps = [ - ":dashboard_go_gapic", +- ":dashboard_go_gapic_srcjar-metadata.srcjar", - ":dashboard_go_gapic_srcjar-test.srcjar", - ":dashboard_go_proto", - ], @@ -69951,6 +88241,7 @@ diff -urN a/google/monitoring/dashboard/v1/BUILD.bazel b/google/monitoring/dashb - grpc_service_config = "dashboards_grpc_service_config.json", -) - +-# Open Source Packages -py_gapic_assembly_pkg( - name = "monitoring-dashboard-v1-py", - deps = [ @@ -69982,11 +88273,8 @@ diff -urN a/google/monitoring/dashboard/v1/BUILD.bazel b/google/monitoring/dashb - -php_gapic_library( - name = "dashboard_php_gapic", -- src = ":dashboard_proto_with_info", -- gapic_yaml = "monitoring_gapic.yaml", +- srcs = [":dashboard_proto_with_info"], - grpc_service_config = "dashboards_grpc_service_config.json", -- package = "google.monitoring.dashboard.v1", -- service_yaml = "monitoring.yaml", - deps = [ - ":dashboard_php_grpc", - ":dashboard_php_proto", @@ -70036,8 +88324,8 @@ diff -urN a/google/monitoring/dashboard/v1/BUILD.bazel b/google/monitoring/dashb -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -70057,11 +88345,11 @@ diff -urN a/google/monitoring/dashboard/v1/BUILD.bazel b/google/monitoring/dashb - name = "dashboard_ruby_gapic", - srcs = [":dashboard_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-monitoring-dashboard-v1", -- "ruby-cloud-env-prefix=MONITORING_DASHBOARD", -- "ruby-cloud-product-url=https://cloud.google.com/monitoring", - "ruby-cloud-api-id=monitoring.googleapis.com", - "ruby-cloud-api-shortname=monitoring", +- "ruby-cloud-env-prefix=MONITORING_DASHBOARD", +- "ruby-cloud-gem-name=google-cloud-monitoring-dashboard-v1", +- "ruby-cloud-product-url=https://cloud.google.com/monitoring", - ], - grpc_service_config = "dashboards_grpc_service_config.json", - ruby_cloud_description = "Cloud Monitoring collects metrics, events, and metadata from Google Cloud, Amazon Web Services (AWS), hosted uptime probes, and application instrumentation. The Dashboards API manages arrangements of display widgets.", @@ -70147,10 +88435,19 @@ diff -urN a/google/monitoring/dashboard/v1/BUILD.bazel b/google/monitoring/dashb - deps = [":dashboard_cc_proto"], -) diff -urN a/google/monitoring/v3/BUILD.bazel b/google/monitoring/v3/BUILD.bazel ---- a/google/monitoring/v3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/monitoring/v3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,392 +0,0 @@ +--- a/google/monitoring/v3/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/monitoring/v3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,403 +0,0 @@ -# This file was automatically generated by BuildFileGenerator +-# https://github.com/googleapis/rules_gapic/tree/master/bazel +- +-# Most of the manual changes to this file will be overwritten. +-# It's **only** allowed to change the following rule attribute values: +-# - names of *_gapic_assembly_* rules +-# - certain parameters of *_gapic_library rules, including but not limited to: +-# * extra_protoc_parameters +-# * extra_protoc_file_parameters +-# The complete list of preserved parameters can be found in the source code. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) @@ -70175,6 +88472,7 @@ diff -urN a/google/monitoring/v3/BUILD.bazel b/google/monitoring/v3/BUILD.bazel - "mutation_record.proto", - "notification.proto", - "notification_service.proto", +- "query_service.proto", - "service.proto", - "service_service.proto", - "span_context.proto", @@ -70254,6 +88552,7 @@ diff -urN a/google/monitoring/v3/BUILD.bazel b/google/monitoring/v3/BUILD.bazel - "com.google.cloud.monitoring.v3.GroupServiceClientTest", - "com.google.cloud.monitoring.v3.MetricServiceClientTest", - "com.google.cloud.monitoring.v3.NotificationChannelServiceClientTest", +- "com.google.cloud.monitoring.v3.QueryServiceClientTest", - "com.google.cloud.monitoring.v3.ServiceMonitoringServiceClientTest", - "com.google.cloud.monitoring.v3.UptimeCheckServiceClientTest", - ], @@ -70294,7 +88593,6 @@ diff -urN a/google/monitoring/v3/BUILD.bazel b/google/monitoring/v3/BUILD.bazel - "//google/api:label_go_proto", - "//google/api:metric_go_proto", - "//google/api:monitoredres_go_proto", -- "//google/longrunning:longrunning_go_proto", - "//google/rpc:status_go_proto", - "//google/type:calendar_period_go_proto", - ], @@ -70305,11 +88603,13 @@ diff -urN a/google/monitoring/v3/BUILD.bazel b/google/monitoring/v3/BUILD.bazel - srcs = [":monitoring_proto_with_info"], - grpc_service_config = "monitoring_grpc_service_config.json", - importpath = "cloud.google.com/go/monitoring/apiv3;monitoring", +- metadata = True, - service_yaml = "monitoring.yaml", - deps = [ - ":monitoring_go_proto", - "//google/api:metric_go_proto", - "//google/api:monitoredres_go_proto", +- "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - @@ -70325,6 +88625,7 @@ diff -urN a/google/monitoring/v3/BUILD.bazel b/google/monitoring/v3/BUILD.bazel - name = "gapi-cloud-monitoring-v3-go", - deps = [ - ":monitoring_go_gapic", +- ":monitoring_go_gapic_srcjar-metadata.srcjar", - ":monitoring_go_gapic_srcjar-test.srcjar", - ":monitoring_go_proto", - ], @@ -70346,6 +88647,7 @@ diff -urN a/google/monitoring/v3/BUILD.bazel b/google/monitoring/v3/BUILD.bazel - opt_args = ["python-gapic-namespace=google.cloud"], -) - +-# Open Source Packages -py_gapic_assembly_pkg( - name = "monitoring-v3-py", - deps = [ @@ -70377,11 +88679,8 @@ diff -urN a/google/monitoring/v3/BUILD.bazel b/google/monitoring/v3/BUILD.bazel - -php_gapic_library( - name = "monitoring_php_gapic", -- src = ":monitoring_proto_with_info", -- gapic_yaml = "monitoring_gapic.yaml", +- srcs = [":monitoring_proto_with_info"], - grpc_service_config = "monitoring_grpc_service_config.json", -- package = "google.monitoring.v3", -- service_yaml = "monitoring.yaml", - deps = [ - ":monitoring_php_grpc", - ":monitoring_php_proto", @@ -70432,8 +88731,8 @@ diff -urN a/google/monitoring/v3/BUILD.bazel b/google/monitoring/v3/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -70453,11 +88752,11 @@ diff -urN a/google/monitoring/v3/BUILD.bazel b/google/monitoring/v3/BUILD.bazel - name = "monitoring_ruby_gapic", - srcs = [":monitoring_proto_with_info"], - extra_protoc_parameters = [ -- "ruby-cloud-gem-name=google-cloud-monitoring-v3", -- "ruby-cloud-env-prefix=MONITORING", -- "ruby-cloud-product-url=https://cloud.google.com/monitoring", - "ruby-cloud-api-id=monitoring.googleapis.com", - "ruby-cloud-api-shortname=monitoring", +- "ruby-cloud-env-prefix=MONITORING", +- "ruby-cloud-gem-name=google-cloud-monitoring-v3", +- "ruby-cloud-product-url=https://cloud.google.com/monitoring", - ], - grpc_service_config = "monitoring_grpc_service_config.json", - ruby_cloud_description = "Cloud Monitoring collects metrics, events, and metadata from Google Cloud, Amazon Web Services (AWS), hosted uptime probes, and application instrumentation.", @@ -70543,9 +88842,9 @@ diff -urN a/google/monitoring/v3/BUILD.bazel b/google/monitoring/v3/BUILD.bazel - deps = [":monitoring_cc_proto"], -) diff -urN a/google/partner/aistreams/v1alpha1/BUILD.bazel b/google/partner/aistreams/v1alpha1/BUILD.bazel ---- a/google/partner/aistreams/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/partner/aistreams/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,355 +0,0 @@ +--- a/google/partner/aistreams/v1alpha1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/partner/aistreams/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,351 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel - @@ -70744,10 +89043,8 @@ diff -urN a/google/partner/aistreams/v1alpha1/BUILD.bazel b/google/partner/aistr - -php_gapic_library( - name = "aistreams_php_gapic", -- src = ":aistreams_proto_with_info", -- gapic_yaml = "aistreams_gapic.yaml", +- srcs = [":aistreams_proto_with_info"], - grpc_service_config = "aistreams_grpc_service_config.json", -- package = "google.partner.aistreams.v1alpha1", - service_yaml = "aistreams_v1alpha1.yaml", - deps = [ - ":aistreams_php_grpc", @@ -70798,7 +89095,7 @@ diff -urN a/google/partner/aistreams/v1alpha1/BUILD.bazel b/google/partner/aistr -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -70814,13 +89111,11 @@ diff -urN a/google/partner/aistreams/v1alpha1/BUILD.bazel b/google/partner/aistr - deps = [":aistreams_ruby_proto"], -) - --ruby_gapic_library( +-ruby_cloud_gapic_library( - name = "aistreams_ruby_gapic", -- src = ":aistreams_proto_with_info", -- gapic_yaml = "aistreams_gapic.yaml", +- srcs = [":aistreams_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-aistreams-v1alpha1"], - grpc_service_config = "aistreams_grpc_service_config.json", -- package = "google.partner.aistreams.v1alpha1", -- service_yaml = "aistreams_v1alpha1.yaml", - deps = [ - ":aistreams_ruby_grpc", - ":aistreams_ruby_proto", @@ -70902,14 +89197,14 @@ diff -urN a/google/partner/aistreams/v1alpha1/BUILD.bazel b/google/partner/aistr - deps = [":aistreams_cc_proto"], -) diff -urN a/google/privacy/dlp/BUILD.bazel b/google/privacy/dlp/BUILD.bazel ---- a/google/privacy/dlp/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/privacy/dlp/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/privacy/dlp/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/privacy/dlp/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) diff -urN a/google/privacy/dlp/v2/BUILD.bazel b/google/privacy/dlp/v2/BUILD.bazel ---- a/google/privacy/dlp/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/privacy/dlp/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,344 +0,0 @@ +--- a/google/privacy/dlp/v2/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/privacy/dlp/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,341 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -71107,11 +89402,8 @@ diff -urN a/google/privacy/dlp/v2/BUILD.bazel b/google/privacy/dlp/v2/BUILD.baze - -php_gapic_library( - name = "dlp_php_gapic", -- src = ":dlp_proto_with_info", -- gapic_yaml = "dlp_gapic.yaml", +- srcs = [":dlp_proto_with_info"], - grpc_service_config = "dlp_grpc_service_config.json", -- package = "google.privacy.dlp.v2", -- service_yaml = "dlp_v2.yaml", - deps = [ - ":dlp_php_grpc", - ":dlp_php_proto", @@ -71161,8 +89453,8 @@ diff -urN a/google/privacy/dlp/v2/BUILD.bazel b/google/privacy/dlp/v2/BUILD.baze -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -71255,14 +89547,14 @@ diff -urN a/google/privacy/dlp/v2/BUILD.bazel b/google/privacy/dlp/v2/BUILD.baze -############################################################################## -# Put your C++ rules here diff -urN a/google/pubsub/BUILD.bazel b/google/pubsub/BUILD.bazel ---- a/google/pubsub/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/pubsub/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/pubsub/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/pubsub/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) diff -urN a/google/pubsub/v1/BUILD.bazel b/google/pubsub/v1/BUILD.bazel ---- a/google/pubsub/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/pubsub/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,373 +0,0 @@ +--- a/google/pubsub/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/pubsub/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,359 +0,0 @@ -load("@rules_proto//proto:defs.bzl", "proto_library") - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -71303,16 +89595,14 @@ diff -urN a/google/pubsub/v1/BUILD.bazel b/google/pubsub/v1/BUILD.bazel - -############################################################################## -# Java --# DO NOT OVERRIDE with autogenerated rules if NOT migrated to Java Microgen -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", +- "java_gapic_assembly_gradle_pkg", +- "java_gapic_library", +- "java_gapic_test", - "java_grpc_library", - "java_proto_library", -- java_gapic_assembly_gradle_pkg = "java_gapic_assembly_gradle_pkg_legacy", -- java_gapic_library = "java_gapic_library_legacy", -- java_gapic_test = "java_gapic_test_legacy", -- java_resource_name_proto_library = "java_resource_name_proto_library_legacy", -) - -java_proto_library( @@ -71326,20 +89616,10 @@ diff -urN a/google/pubsub/v1/BUILD.bazel b/google/pubsub/v1/BUILD.bazel - deps = [":pubsub_java_proto"], -) - --java_resource_name_proto_library( -- name = "pubsub_java_gapic_resource_name", -- gapic_yaml = "pubsub_gapic.yaml", -- deps = [ -- ":pubsub_proto", -- "//google/cloud:common_resources_proto", -- ], --) -- -java_gapic_library( - name = "pubsub_java_gapic", -- src = ":pubsub_proto_with_info", +- srcs = [":pubsub_proto_with_info"], - gapic_yaml = "pubsub_gapic.yaml", -- gen_resource_name = False, - grpc_service_config = "pubsub_grpc_service_config.json", - service_yaml = ":pubsub_v1.yaml", - test_deps = [ @@ -71347,7 +89627,6 @@ diff -urN a/google/pubsub/v1/BUILD.bazel b/google/pubsub/v1/BUILD.bazel - "//google/iam/v1:iam_java_grpc", - ], - deps = [ -- ":pubsub_java_gapic_resource_name", - ":pubsub_java_proto", - "//google/iam/v1:iam_java_proto", - ], @@ -71367,7 +89646,6 @@ diff -urN a/google/pubsub/v1/BUILD.bazel b/google/pubsub/v1/BUILD.bazel - name = "google-cloud-pubsub-v1-java", - deps = [ - ":pubsub_java_gapic", -- ":pubsub_java_gapic_resource_name", - ":pubsub_java_grpc", - ":pubsub_java_proto", - ":pubsub_proto", @@ -71470,7 +89748,7 @@ diff -urN a/google/pubsub/v1/BUILD.bazel b/google/pubsub/v1/BUILD.bazel - -php_gapic_library( - name = "pubsub_php_gapic", -- src = ":pubsub_proto_with_info", +- srcs = [":pubsub_proto_with_info"], - gapic_yaml = "pubsub_gapic.yaml", - grpc_service_config = "pubsub_grpc_service_config.json", - service_yaml = ":pubsub_v1.yaml", @@ -71525,8 +89803,8 @@ diff -urN a/google/pubsub/v1/BUILD.bazel b/google/pubsub/v1/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -71637,8 +89915,8 @@ diff -urN a/google/pubsub/v1/BUILD.bazel b/google/pubsub/v1/BUILD.bazel - deps = [":pubsub_cc_proto"], -) diff -urN a/google/rpc/BUILD.bazel b/google/rpc/BUILD.bazel ---- a/google/rpc/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/rpc/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/rpc/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/rpc/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1,109 +0,0 @@ -load("@rules_proto//proto:defs.bzl", "proto_library") - @@ -71750,9 +90028,9 @@ diff -urN a/google/rpc/BUILD.bazel b/google/rpc/BUILD.bazel - deps = [":status_proto"], -) diff -urN a/google/rpc/context/BUILD.bazel b/google/rpc/context/BUILD.bazel ---- a/google/rpc/context/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/rpc/context/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,133 +0,0 @@ +--- a/google/rpc/context/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/rpc/context/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,132 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -71829,7 +90107,6 @@ diff -urN a/google/rpc/context/BUILD.bazel b/google/rpc/context/BUILD.bazel - -py_proto_library( - name = "attribute_context_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", - deps = [":attribute_context_moved_proto"], -) - @@ -71887,9 +90164,9 @@ diff -urN a/google/rpc/context/BUILD.bazel b/google/rpc/context/BUILD.bazel - - diff -urN a/google/search/partnerdataingestion/logging/v1/BUILD.bazel b/google/search/partnerdataingestion/logging/v1/BUILD.bazel ---- a/google/search/partnerdataingestion/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/search/partnerdataingestion/logging/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,162 +0,0 @@ +--- a/google/search/partnerdataingestion/logging/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/search/partnerdataingestion/logging/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,155 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -71905,9 +90182,7 @@ diff -urN a/google/search/partnerdataingestion/logging/v1/BUILD.bazel b/google/s - srcs = [ - "platformlog.proto", - ], -- deps = [ -- -- ], +- deps = [], -) - -############################################################################## @@ -71943,9 +90218,7 @@ diff -urN a/google/search/partnerdataingestion/logging/v1/BUILD.bazel b/google/s - compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/search/partnerdataingestion/logging/v1", - protos = [":logging_proto"], -- deps = [ -- -- ], +- deps = [], -) - -############################################################################## @@ -71961,14 +90234,11 @@ diff -urN a/google/search/partnerdataingestion/logging/v1/BUILD.bazel b/google/s -moved_proto_library( - name = "logging_moved_proto", - srcs = [":logging_proto"], -- deps = [ -- -- ], +- deps = [], -) - -py_proto_library( - name = "logging_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", - deps = [":logging_moved_proto"], -) - @@ -72053,19 +90323,19 @@ diff -urN a/google/search/partnerdataingestion/logging/v1/BUILD.bazel b/google/s -############################################################################## -# Put your C++ code here diff -urN a/google/spanner/BUILD.bazel b/google/spanner/BUILD.bazel ---- a/google/spanner/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/spanner/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/spanner/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/spanner/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) diff -urN a/google/spanner/admin/database/BUILD.bazel b/google/spanner/admin/database/BUILD.bazel ---- a/google/spanner/admin/database/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/spanner/admin/database/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/spanner/admin/database/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/spanner/admin/database/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) diff -urN a/google/spanner/admin/database/v1/BUILD.bazel b/google/spanner/admin/database/v1/BUILD.bazel ---- a/google/spanner/admin/database/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/spanner/admin/database/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,366 +0,0 @@ +--- a/google/spanner/admin/database/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/spanner/admin/database/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,365 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -72270,10 +90540,9 @@ diff -urN a/google/spanner/admin/database/v1/BUILD.bazel b/google/spanner/admin/ - -php_gapic_library( - name = "database_php_gapic", -- src = ":database_proto_with_info", +- srcs = [":database_proto_with_info"], - gapic_yaml = "spanner_admin_database_gapic.yaml", - grpc_service_config = "spanner_admin_database_grpc_service_config.json", -- package = "google.spanner.admin.database.v1", - service_yaml = "spanner_admin_database.yaml", - deps = [ - ":database_php_grpc", @@ -72323,8 +90592,8 @@ diff -urN a/google/spanner/admin/database/v1/BUILD.bazel b/google/spanner/admin/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -72433,14 +90702,14 @@ diff -urN a/google/spanner/admin/database/v1/BUILD.bazel b/google/spanner/admin/ - deps = [":database_cc_proto"], -) diff -urN a/google/spanner/admin/instance/BUILD.bazel b/google/spanner/admin/instance/BUILD.bazel ---- a/google/spanner/admin/instance/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/spanner/admin/instance/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/spanner/admin/instance/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/spanner/admin/instance/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) diff -urN a/google/spanner/admin/instance/v1/BUILD.bazel b/google/spanner/admin/instance/v1/BUILD.bazel ---- a/google/spanner/admin/instance/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/spanner/admin/instance/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,362 +0,0 @@ +--- a/google/spanner/admin/instance/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/spanner/admin/instance/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,361 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -72641,10 +90910,9 @@ diff -urN a/google/spanner/admin/instance/v1/BUILD.bazel b/google/spanner/admin/ - -php_gapic_library( - name = "instance_php_gapic", -- src = ":instance_proto_with_info", +- srcs = [":instance_proto_with_info"], - gapic_yaml = "spanner_admin_instance_gapic.yaml", - grpc_service_config = "spanner_admin_instance_grpc_service_config.json", -- package = "google.spanner.admin.instance.v1", - service_yaml = "spanner_admin_instance.yaml", - deps = [ - ":instance_php_grpc", @@ -72694,8 +90962,8 @@ diff -urN a/google/spanner/admin/instance/v1/BUILD.bazel b/google/spanner/admin/ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -72804,9 +91072,9 @@ diff -urN a/google/spanner/admin/instance/v1/BUILD.bazel b/google/spanner/admin/ - deps = [":instance_cc_proto"], -) diff -urN a/google/spanner/v1/BUILD.bazel b/google/spanner/v1/BUILD.bazel ---- a/google/spanner/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/spanner/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,360 +0,0 @@ +--- a/google/spanner/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/spanner/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,359 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -72821,6 +91089,7 @@ diff -urN a/google/spanner/v1/BUILD.bazel b/google/spanner/v1/BUILD.bazel -proto_library( - name = "spanner_proto", - srcs = [ +- "commit_response.proto", - "keys.proto", - "mutation.proto", - "query_plan.proto", @@ -73003,10 +91272,8 @@ diff -urN a/google/spanner/v1/BUILD.bazel b/google/spanner/v1/BUILD.bazel - -php_gapic_library( - name = "spanner_php_gapic", -- src = ":spanner_proto_with_info", -- gapic_yaml = "spanner_gapic.yaml", +- srcs = [":spanner_proto_with_info"], - grpc_service_config = "spanner_grpc_service_config.json", -- package = "google.spanner.v1", - service_yaml = "spanner.yaml", - deps = [ - ":spanner_php_grpc", @@ -73058,8 +91325,8 @@ diff -urN a/google/spanner/v1/BUILD.bazel b/google/spanner/v1/BUILD.bazel -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", -- "ruby_gapic_assembly_pkg", - "ruby_cloud_gapic_library", +- "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -73168,9 +91435,9 @@ diff -urN a/google/spanner/v1/BUILD.bazel b/google/spanner/v1/BUILD.bazel - deps = [":spanner_cc_proto"], -) diff -urN a/google/storage/v1/BUILD.bazel b/google/storage/v1/BUILD.bazel ---- a/google/storage/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/storage/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,354 +0,0 @@ +--- a/google/storage/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/storage/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,352 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -73422,7 +91689,7 @@ diff -urN a/google/storage/v1/BUILD.bazel b/google/storage/v1/BUILD.bazel -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -73438,12 +91705,10 @@ diff -urN a/google/storage/v1/BUILD.bazel b/google/storage/v1/BUILD.bazel - deps = [":storage_ruby_proto"], -) - --ruby_gapic_library( +-ruby_cloud_gapic_library( - name = "storage_ruby_gapic", -- src = ":storage_proto_with_info", -- gapic_yaml = "storage_gapic.yaml", -- package = "google.storage.v1", -- service_yaml = "storage_v1.yaml", +- srcs = [":storage_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-storage-v1"], - deps = [ - ":storage_ruby_grpc", - ":storage_ruby_proto", @@ -73526,14 +91791,14 @@ diff -urN a/google/storage/v1/BUILD.bazel b/google/storage/v1/BUILD.bazel - deps = [":storage_cc_proto"], -) diff -urN a/google/streetview/publish/BUILD.bazel b/google/streetview/publish/BUILD.bazel ---- a/google/streetview/publish/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/streetview/publish/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/google/streetview/publish/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/streetview/publish/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) diff -urN a/google/streetview/publish/v1/BUILD.bazel b/google/streetview/publish/v1/BUILD.bazel ---- a/google/streetview/publish/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/streetview/publish/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,329 +0,0 @@ +--- a/google/streetview/publish/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/streetview/publish/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,324 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -73726,10 +91991,7 @@ diff -urN a/google/streetview/publish/v1/BUILD.bazel b/google/streetview/publish - -php_gapic_library( - name = "publish_php_gapic", -- src = ":publish_proto_with_info", -- gapic_yaml = "streetview_publish_gapic.yaml", -- package = "google.streetview.publish.v1", -- service_yaml = "streetview_publish.yaml", +- srcs = [":publish_proto_with_info"], - deps = [ - ":publish_php_grpc", - ":publish_php_proto", @@ -73779,7 +92041,7 @@ diff -urN a/google/streetview/publish/v1/BUILD.bazel b/google/streetview/publish -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -73795,12 +92057,10 @@ diff -urN a/google/streetview/publish/v1/BUILD.bazel b/google/streetview/publish - deps = [":publish_ruby_proto"], -) - --ruby_gapic_library( +-ruby_cloud_gapic_library( - name = "publish_ruby_gapic", -- src = ":publish_proto_with_info", -- gapic_yaml = "streetview_publish_gapic.yaml", -- package = "google.streetview.publish.v1", -- service_yaml = "streetview_publish.yaml", +- srcs = [":publish_proto_with_info",], +- extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-publish-v1"], - deps = [ - ":publish_ruby_grpc", - ":publish_ruby_proto", @@ -73864,9 +92124,9 @@ diff -urN a/google/streetview/publish/v1/BUILD.bazel b/google/streetview/publish -############################################################################## -# Put your C++ rules here diff -urN a/google/type/BUILD.bazel b/google/type/BUILD.bazel ---- a/google/type/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/google/type/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,478 +0,0 @@ +--- a/google/type/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/google/type/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,505 +0,0 @@ -load("@rules_proto//proto:defs.bzl", "proto_library") - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -73907,6 +92167,11 @@ diff -urN a/google/type/BUILD.bazel b/google/type/BUILD.bazel -) - -proto_library( +- name = "decimal_proto", +- srcs = ["decimal.proto"], +-) +- +-proto_library( - name = "expr_proto", - srcs = ["expr.proto"], -) @@ -73977,6 +92242,7 @@ diff -urN a/google/type/BUILD.bazel b/google/type/BUILD.bazel - ":date_proto", - ":datetime_proto", - ":dayofweek_proto", +- ":decimal_proto", - ":expr_proto", - ":fraction_proto", - ":interval_proto", @@ -74026,6 +92292,12 @@ diff -urN a/google/type/BUILD.bazel b/google/type/BUILD.bazel -) - -go_proto_library( +- name = "decimal_go_proto", +- importpath = "google.golang.org/genproto/googleapis/type/decimal", +- protos = [":decimal_proto"], +-) +- +-go_proto_library( - name = "expr_go_proto", - importpath = "google.golang.org/genproto/googleapis/type/expr", - protos = [":expr_proto"], @@ -74125,6 +92397,11 @@ diff -urN a/google/type/BUILD.bazel b/google/type/BUILD.bazel -) - -cc_proto_library( +- name = "decimal_cc_proto", +- deps = [":decimal_proto"], +-) +- +-cc_proto_library( - name = "expr_cc_proto", - deps = [":expr_proto"], -) @@ -74208,6 +92485,11 @@ diff -urN a/google/type/BUILD.bazel b/google/type/BUILD.bazel -) - -py_proto_library( +- name = "decimal_py_proto", +- deps = [":decimal_proto"], +-) +- +-py_proto_library( - name = "expr_py_proto", - deps = [":expr_proto"], -) @@ -74297,6 +92579,11 @@ diff -urN a/google/type/BUILD.bazel b/google/type/BUILD.bazel -) - -csharp_proto_library( +- name = "decimal_csharp_proto", +- deps = [":decimal_proto"], +-) +- +-csharp_proto_library( - name = "expr_csharp_proto", - deps = [":expr_proto"], -) @@ -74346,14 +92633,14 @@ diff -urN a/google/type/BUILD.bazel b/google/type/BUILD.bazel - deps = [":quaternion_proto"], -) diff -urN a/grafeas/BUILD.bazel b/grafeas/BUILD.bazel ---- a/grafeas/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/grafeas/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/grafeas/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/grafeas/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 @@ -1 +0,0 @@ -exports_files(glob(["*.yaml"])) diff -urN a/grafeas/v1/BUILD.bazel b/grafeas/v1/BUILD.bazel ---- a/grafeas/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/grafeas/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,339 +0,0 @@ +--- a/grafeas/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/grafeas/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,342 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -74553,10 +92840,8 @@ diff -urN a/grafeas/v1/BUILD.bazel b/grafeas/v1/BUILD.bazel - -php_gapic_library( - name = "grafeas_php_gapic", -- src = ":grafeas_proto_with_info", -- gapic_yaml = "grafeas_gapic.yaml", +- srcs = [":grafeas_proto_with_info"], - grpc_service_config = "grafeas_grpc_service_config.json", -- package = "grafeas.v1", - service_yaml = "//grafeas:grafeas_v1.yaml", - deps = [ - ":grafeas_php_grpc", @@ -74608,7 +92893,7 @@ diff -urN a/grafeas/v1/BUILD.bazel b/grafeas/v1/BUILD.bazel -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_gapic_assembly_pkg", -- "ruby_gapic_library", +- "ruby_cloud_gapic_library", - "ruby_grpc_library", - "ruby_proto_library", -) @@ -74624,12 +92909,17 @@ diff -urN a/grafeas/v1/BUILD.bazel b/grafeas/v1/BUILD.bazel - deps = [":grafeas_ruby_proto"], -) - --ruby_gapic_library( +-ruby_cloud_gapic_library( - name = "grafeas_ruby_gapic", -- src = ":grafeas_proto_with_info", -- gapic_yaml = "grafeas_gapic.yaml", -- package = "grafeas.v1", -- service_yaml = "//grafeas:grafeas_v1.yaml", +- srcs = [":grafeas_proto_with_info",], +- extra_protoc_parameters = [ +- "ruby-cloud-gem-name=grafeas-v1", +- "ruby-cloud-env-prefix=GRAFEAS", +- "ruby-cloud-generic-endpoint=true", +- ], +- grpc_service_config = "grafeas_grpc_service_config.json", +- ruby_cloud_description = "The Grafeas API stores, and enables querying and retrieval of, critical metadata about all of your software artifacts.", +- ruby_cloud_title = "Grafeas V1", - deps = [ - ":grafeas_ruby_grpc", - ":grafeas_ruby_proto", @@ -74694,9 +92984,9 @@ diff -urN a/grafeas/v1/BUILD.bazel b/grafeas/v1/BUILD.bazel -############################################################################## -# Put your C++ rules here diff -urN a/storage/clouddms/logging/v1/BUILD.bazel b/storage/clouddms/logging/v1/BUILD.bazel ---- a/storage/clouddms/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -+++ b/storage/clouddms/logging/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -@@ -1,166 +0,0 @@ +--- a/storage/clouddms/logging/v1/BUILD.bazel 2021-06-30 08:59:11.000000000 -0700 ++++ b/storage/clouddms/logging/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +@@ -1,165 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. @@ -74779,7 +93069,6 @@ diff -urN a/storage/clouddms/logging/v1/BUILD.bazel b/storage/clouddms/logging/v - -py_proto_library( - name = "logging_py_proto", -- plugin = "@protoc_docs_plugin//:docs_plugin", - deps = [":logging_moved_proto"], -) - diff --git a/third_party/go_googleapis-directives.patch b/third_party/go_googleapis-directives.patch index 8be25f98b5..d89d90aca8 100644 --- a/third_party/go_googleapis-directives.patch +++ b/third_party/go_googleapis-directives.patch @@ -1,5 +1,5 @@ diff -urN b/BUILD.bazel c/BUILD.bazel ---- b/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,6 @@ +# gazelle:go_naming_convention import_alias @@ -9,7 +9,7 @@ diff -urN b/BUILD.bazel c/BUILD.bazel +# gazelle:exclude third_party +# gazelle:exclude google/example/endpointsapis/goapp diff -urN b/google/BUILD.bazel c/google/BUILD.bazel ---- b/google/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/google/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/google/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1 @@ +# gazelle:prefix google.golang.org/genproto/googleapis diff --git a/third_party/go_googleapis-gazelle.patch b/third_party/go_googleapis-gazelle.patch index c4d95cec19..86e0e33117 100644 --- a/third_party/go_googleapis-gazelle.patch +++ b/third_party/go_googleapis-gazelle.patch @@ -1,5 +1,24 @@ +diff -urN c/cloud/containers/workflow/vulnerability/proto/BUILD.bazel d/cloud/containers/workflow/vulnerability/proto/BUILD.bazel +--- c/cloud/containers/workflow/vulnerability/proto/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/cloud/containers/workflow/vulnerability/proto/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,15 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "vulnerability_proto", ++ srcs = ["package.proto"], ++ visibility = ["//visibility:public"], ++) ++ ++go_proto_library( ++ name = "vulnerability_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/containers/workflow/analysis", ++ proto = ":vulnerability_proto", ++ visibility = ["//visibility:public"], ++) diff -urN c/google/actions/sdk/v2/BUILD.bazel d/google/actions/sdk/v2/BUILD.bazel ---- c/google/actions/sdk/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/actions/sdk/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/actions/sdk/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,61 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -64,7 +83,7 @@ diff -urN c/google/actions/sdk/v2/BUILD.bazel d/google/actions/sdk/v2/BUILD.baze + ], +) diff -urN c/google/actions/sdk/v2/conversation/BUILD.bazel d/google/actions/sdk/v2/conversation/BUILD.bazel ---- c/google/actions/sdk/v2/conversation/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/actions/sdk/v2/conversation/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/actions/sdk/v2/conversation/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,23 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -91,7 +110,7 @@ diff -urN c/google/actions/sdk/v2/conversation/BUILD.bazel d/google/actions/sdk/ + deps = ["//google/actions/sdk/v2/conversation/prompt:conversation_go_proto"], +) diff -urN c/google/actions/sdk/v2/conversation/prompt/BUILD.bazel d/google/actions/sdk/v2/conversation/prompt/BUILD.bazel ---- c/google/actions/sdk/v2/conversation/prompt/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/actions/sdk/v2/conversation/prompt/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/actions/sdk/v2/conversation/prompt/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -116,7 +135,7 @@ diff -urN c/google/actions/sdk/v2/conversation/prompt/BUILD.bazel d/google/actio + deps = ["//google/actions/sdk/v2/conversation/prompt/content:conversation_go_proto"], +) diff -urN c/google/actions/sdk/v2/conversation/prompt/content/BUILD.bazel d/google/actions/sdk/v2/conversation/prompt/content/BUILD.bazel ---- c/google/actions/sdk/v2/conversation/prompt/content/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/actions/sdk/v2/conversation/prompt/content/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/actions/sdk/v2/conversation/prompt/content/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -149,9 +168,9 @@ diff -urN c/google/actions/sdk/v2/conversation/prompt/content/BUILD.bazel d/goog + visibility = ["//visibility:public"], +) diff -urN c/google/actions/sdk/v2/interactionmodel/BUILD.bazel d/google/actions/sdk/v2/interactionmodel/BUILD.bazel ---- c/google/actions/sdk/v2/interactionmodel/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/actions/sdk/v2/interactionmodel/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/actions/sdk/v2/interactionmodel/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,34 @@ +@@ -0,0 +1,35 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + @@ -159,6 +178,7 @@ diff -urN c/google/actions/sdk/v2/interactionmodel/BUILD.bazel d/google/actions/ + name = "interactionmodel_proto", + srcs = [ + "conditional_event.proto", ++ "entity_set.proto", + "event_handler.proto", + "global_intent_event.proto", + "intent.proto", @@ -187,7 +207,7 @@ diff -urN c/google/actions/sdk/v2/interactionmodel/BUILD.bazel d/google/actions/ + ], +) diff -urN c/google/actions/sdk/v2/interactionmodel/prompt/BUILD.bazel d/google/actions/sdk/v2/interactionmodel/prompt/BUILD.bazel ---- c/google/actions/sdk/v2/interactionmodel/prompt/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/actions/sdk/v2/interactionmodel/prompt/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/actions/sdk/v2/interactionmodel/prompt/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,28 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -219,7 +239,7 @@ diff -urN c/google/actions/sdk/v2/interactionmodel/prompt/BUILD.bazel d/google/a + ], +) diff -urN c/google/actions/sdk/v2/interactionmodel/prompt/content/BUILD.bazel d/google/actions/sdk/v2/interactionmodel/prompt/content/BUILD.bazel ---- c/google/actions/sdk/v2/interactionmodel/prompt/content/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/actions/sdk/v2/interactionmodel/prompt/content/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/actions/sdk/v2/interactionmodel/prompt/content/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,32 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -255,7 +275,7 @@ diff -urN c/google/actions/sdk/v2/interactionmodel/prompt/content/BUILD.bazel d/ + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/actions/sdk/v2/interactionmodel/type/BUILD.bazel d/google/actions/sdk/v2/interactionmodel/type/BUILD.bazel ---- c/google/actions/sdk/v2/interactionmodel/type/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/actions/sdk/v2/interactionmodel/type/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/actions/sdk/v2/interactionmodel/type/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,24 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -283,7 +303,7 @@ diff -urN c/google/actions/sdk/v2/interactionmodel/type/BUILD.bazel d/google/act + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/actions/type/BUILD.bazel d/google/actions/type/BUILD.bazel ---- c/google/actions/type/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/actions/type/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/actions/type/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,32 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -319,7 +339,7 @@ diff -urN c/google/actions/type/BUILD.bazel d/google/actions/type/BUILD.bazel + deps = ["//google/type:datetime_go_proto"], +) diff -urN c/google/ads/admob/v1/BUILD.bazel d/google/ads/admob/v1/BUILD.bazel ---- c/google/ads/admob/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/ads/admob/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/ads/admob/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,27 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -350,7 +370,7 @@ diff -urN c/google/ads/admob/v1/BUILD.bazel d/google/ads/admob/v1/BUILD.bazel + ], +) diff -urN c/google/ads/googleads/v4/common/BUILD.bazel d/google/ads/googleads/v4/common/BUILD.bazel ---- c/google/ads/googleads/v4/common/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/ads/googleads/v4/common/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/ads/googleads/v4/common/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,53 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -407,7 +427,7 @@ diff -urN c/google/ads/googleads/v4/common/BUILD.bazel d/google/ads/googleads/v4 + ], +) diff -urN c/google/ads/googleads/v4/enums/BUILD.bazel d/google/ads/googleads/v4/enums/BUILD.bazel ---- c/google/ads/googleads/v4/enums/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/ads/googleads/v4/enums/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/ads/googleads/v4/enums/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,240 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -651,7 +671,7 @@ diff -urN c/google/ads/googleads/v4/enums/BUILD.bazel d/google/ads/googleads/v4/ + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/ads/googleads/v4/errors/BUILD.bazel d/google/ads/googleads/v4/errors/BUILD.bazel ---- c/google/ads/googleads/v4/errors/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/ads/googleads/v4/errors/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/ads/googleads/v4/errors/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,139 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -794,7 +814,7 @@ diff -urN c/google/ads/googleads/v4/errors/BUILD.bazel d/google/ads/googleads/v4 + ], +) diff -urN c/google/ads/googleads/v4/resources/BUILD.bazel d/google/ads/googleads/v4/resources/BUILD.bazel ---- c/google/ads/googleads/v4/resources/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/ads/googleads/v4/resources/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/ads/googleads/v4/resources/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,135 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -933,7 +953,7 @@ diff -urN c/google/ads/googleads/v4/resources/BUILD.bazel d/google/ads/googleads + ], +) diff -urN c/google/ads/googleads/v4/services/BUILD.bazel d/google/ads/googleads/v4/services/BUILD.bazel ---- c/google/ads/googleads/v4/services/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/ads/googleads/v4/services/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/ads/googleads/v4/services/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,148 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -1085,7 +1105,7 @@ diff -urN c/google/ads/googleads/v4/services/BUILD.bazel d/google/ads/googleads/ + ], +) diff -urN c/google/ads/googleads/v5/common/BUILD.bazel d/google/ads/googleads/v5/common/BUILD.bazel ---- c/google/ads/googleads/v5/common/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/ads/googleads/v5/common/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/ads/googleads/v5/common/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,53 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -1142,7 +1162,7 @@ diff -urN c/google/ads/googleads/v5/common/BUILD.bazel d/google/ads/googleads/v5 + ], +) diff -urN c/google/ads/googleads/v5/enums/BUILD.bazel d/google/ads/googleads/v5/enums/BUILD.bazel ---- c/google/ads/googleads/v5/enums/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/ads/googleads/v5/enums/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/ads/googleads/v5/enums/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,243 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -1389,7 +1409,7 @@ diff -urN c/google/ads/googleads/v5/enums/BUILD.bazel d/google/ads/googleads/v5/ + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/ads/googleads/v5/errors/BUILD.bazel d/google/ads/googleads/v5/errors/BUILD.bazel ---- c/google/ads/googleads/v5/errors/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/ads/googleads/v5/errors/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/ads/googleads/v5/errors/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,140 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -1533,7 +1553,7 @@ diff -urN c/google/ads/googleads/v5/errors/BUILD.bazel d/google/ads/googleads/v5 + ], +) diff -urN c/google/ads/googleads/v5/resources/BUILD.bazel d/google/ads/googleads/v5/resources/BUILD.bazel ---- c/google/ads/googleads/v5/resources/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/ads/googleads/v5/resources/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/ads/googleads/v5/resources/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,136 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -1673,7 +1693,7 @@ diff -urN c/google/ads/googleads/v5/resources/BUILD.bazel d/google/ads/googleads + ], +) diff -urN c/google/ads/googleads/v5/services/BUILD.bazel d/google/ads/googleads/v5/services/BUILD.bazel ---- c/google/ads/googleads/v5/services/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/ads/googleads/v5/services/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/ads/googleads/v5/services/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,149 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -1826,7 +1846,7 @@ diff -urN c/google/ads/googleads/v5/services/BUILD.bazel d/google/ads/googleads/ + ], +) diff -urN c/google/ads/googleads/v6/common/BUILD.bazel d/google/ads/googleads/v6/common/BUILD.bazel ---- c/google/ads/googleads/v6/common/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/ads/googleads/v6/common/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/ads/googleads/v6/common/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,54 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -1884,7 +1904,7 @@ diff -urN c/google/ads/googleads/v6/common/BUILD.bazel d/google/ads/googleads/v6 + ], +) diff -urN c/google/ads/googleads/v6/enums/BUILD.bazel d/google/ads/googleads/v6/enums/BUILD.bazel ---- c/google/ads/googleads/v6/enums/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/ads/googleads/v6/enums/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/ads/googleads/v6/enums/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,263 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -2151,7 +2171,7 @@ diff -urN c/google/ads/googleads/v6/enums/BUILD.bazel d/google/ads/googleads/v6/ + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/ads/googleads/v6/errors/BUILD.bazel d/google/ads/googleads/v6/errors/BUILD.bazel ---- c/google/ads/googleads/v6/errors/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/ads/googleads/v6/errors/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/ads/googleads/v6/errors/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,144 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -2299,7 +2319,7 @@ diff -urN c/google/ads/googleads/v6/errors/BUILD.bazel d/google/ads/googleads/v6 + ], +) diff -urN c/google/ads/googleads/v6/resources/BUILD.bazel d/google/ads/googleads/v6/resources/BUILD.bazel ---- c/google/ads/googleads/v6/resources/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/ads/googleads/v6/resources/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/ads/googleads/v6/resources/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,144 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -2447,7 +2467,7 @@ diff -urN c/google/ads/googleads/v6/resources/BUILD.bazel d/google/ads/googleads + ], +) diff -urN c/google/ads/googleads/v6/services/BUILD.bazel d/google/ads/googleads/v6/services/BUILD.bazel ---- c/google/ads/googleads/v6/services/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/ads/googleads/v6/services/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/ads/googleads/v6/services/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,154 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -2604,1014 +2624,3967 @@ diff -urN c/google/ads/googleads/v6/services/BUILD.bazel d/google/ads/googleads/ + "//google/rpc:status_go_proto", + ], +) -diff -urN c/google/analytics/admin/v1alpha/BUILD.bazel d/google/analytics/admin/v1alpha/BUILD.bazel ---- c/google/analytics/admin/v1alpha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/analytics/admin/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,27 @@ +diff -urN c/google/ads/googleads/v7/common/BUILD.bazel d/google/ads/googleads/v7/common/BUILD.bazel +--- c/google/ads/googleads/v7/common/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/ads/googleads/v7/common/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,54 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "admin_proto", ++ name = "common_proto", + srcs = [ -+ "analytics_admin.proto", -+ "resources.proto", ++ "ad_asset.proto", ++ "ad_type_infos.proto", ++ "asset_policy.proto", ++ "asset_types.proto", ++ "bidding.proto", ++ "click_location.proto", ++ "criteria.proto", ++ "criterion_category_availability.proto", ++ "custom_parameter.proto", ++ "dates.proto", ++ "explorer_auto_optimizer_setting.proto", ++ "extensions.proto", ++ "feed_common.proto", ++ "feed_item_set_filter_type_infos.proto", ++ "final_app_url.proto", ++ "frequency_cap.proto", ++ "keyword_plan_common.proto", ++ "matching_function.proto", ++ "metrics.proto", ++ "offline_user_data.proto", ++ "policy.proto", ++ "real_time_bidding_setting.proto", ++ "segments.proto", ++ "simulation.proto", ++ "tag_snippet.proto", ++ "targeting_setting.proto", ++ "text_label.proto", ++ "url_collection.proto", ++ "user_lists.proto", ++ "value.proto", + ], + visibility = ["//visibility:public"], + deps = [ ++ "//google/ads/googleads/v7/enums:enums_proto", + "//google/api:annotations_proto", -+ "@com_google_protobuf//:empty_proto", -+ "@com_google_protobuf//:field_mask_proto", -+ "@com_google_protobuf//:timestamp_proto", -+ "@com_google_protobuf//:wrappers_proto", -+ ], -+) -+ -+go_proto_library( -+ name = "admin_go_proto", -+ compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/analytics/admin/v1alpha", -+ proto = ":admin_proto", -+ visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_go_proto"], -+) -diff -urN c/google/analytics/data/v1alpha/BUILD.bazel d/google/analytics/data/v1alpha/BUILD.bazel ---- c/google/analytics/data/v1alpha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/analytics/data/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,21 @@ -+load("@rules_proto//proto:defs.bzl", "proto_library") -+load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") -+ -+proto_library( -+ name = "data_proto", -+ srcs = [ -+ "analytics_data_api.proto", -+ "data.proto", + ], -+ visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_proto"], +) + +go_proto_library( -+ name = "data_go_proto", -+ compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/analytics/data/v1alpha", -+ proto = ":data_proto", ++ name = "common_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/ads/googleads/v7/common", ++ proto = ":common_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_go_proto"], -+) -diff -urN c/google/analytics/data/v1beta/BUILD.bazel d/google/analytics/data/v1beta/BUILD.bazel ---- c/google/analytics/data/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/analytics/data/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,21 @@ -+load("@rules_proto//proto:defs.bzl", "proto_library") -+load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") -+ -+proto_library( -+ name = "data_proto", -+ srcs = [ -+ "analytics_data_api.proto", -+ "data.proto", ++ deps = [ ++ "//google/ads/googleads/v7/enums:enums_go_proto", ++ "//google/api:annotations_go_proto", + ], -+ visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_proto"], -+) -+ -+go_proto_library( -+ name = "data_go_proto", -+ compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/analytics/data/v1beta", -+ proto = ":data_proto", -+ visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/api/BUILD.bazel d/google/api/BUILD.bazel ---- c/google/api/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/api/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,195 @@ +diff -urN c/google/ads/googleads/v7/enums/BUILD.bazel d/google/ads/googleads/v7/enums/BUILD.bazel +--- c/google/ads/googleads/v7/enums/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/ads/googleads/v7/enums/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,267 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "annotations_proto", -+ srcs = [ -+ "annotations.proto", -+ "client.proto", -+ "field_behavior.proto", -+ "http.proto", -+ "resource.proto", -+ ], -+ visibility = ["//visibility:public"], -+ deps = ["@com_google_protobuf//:descriptor_proto"], -+) -+ -+proto_library( -+ name = "api_proto", -+ srcs = ["launch_stage.proto"], -+ visibility = ["//visibility:public"], -+) -+ -+proto_library( -+ name = "configchange_proto", -+ srcs = ["config_change.proto"], -+ visibility = ["//visibility:public"], -+) -+ -+proto_library( -+ name = "distribution_proto", -+ srcs = ["distribution.proto"], -+ visibility = ["//visibility:public"], -+ deps = [ -+ "@com_google_protobuf//:any_proto", -+ "@com_google_protobuf//:timestamp_proto", -+ ], -+) -+ -+proto_library( -+ name = "error_reason_proto", -+ srcs = ["error_reason.proto"], -+ visibility = ["//visibility:public"], -+) -+ -+proto_library( -+ name = "httpbody_proto", -+ srcs = ["httpbody.proto"], -+ visibility = ["//visibility:public"], -+ deps = ["@com_google_protobuf//:any_proto"], -+) -+ -+proto_library( -+ name = "label_proto", -+ srcs = ["label.proto"], -+ visibility = ["//visibility:public"], -+) -+ -+proto_library( -+ name = "metric_proto", -+ srcs = ["metric.proto"], -+ visibility = ["//visibility:public"], -+ deps = [ -+ ":api_proto", -+ ":label_proto", -+ "@com_google_protobuf//:duration_proto", -+ ], -+) -+ -+proto_library( -+ name = "monitoredres_proto", -+ srcs = ["monitored_resource.proto"], -+ visibility = ["//visibility:public"], -+ deps = [ -+ ":api_proto", -+ ":label_proto", -+ "@com_google_protobuf//:struct_proto", -+ ], -+) -+ -+proto_library( -+ name = "serviceconfig_proto", ++ name = "enums_proto", + srcs = [ -+ "auth.proto", -+ "backend.proto", -+ "billing.proto", -+ "consumer.proto", -+ "context.proto", -+ "control.proto", -+ "documentation.proto", -+ "endpoint.proto", -+ "log.proto", -+ "logging.proto", -+ "monitoring.proto", -+ "quota.proto", -+ "service.proto", -+ "source_info.proto", -+ "system_parameter.proto", -+ "usage.proto", -+ ], -+ visibility = ["//visibility:public"], -+ deps = [ -+ ":annotations_proto", -+ ":label_proto", -+ ":metric_proto", -+ ":monitoredres_proto", -+ "@com_google_protobuf//:any_proto", -+ "@com_google_protobuf//:api_proto", -+ "@com_google_protobuf//:type_proto", -+ "@com_google_protobuf//:wrappers_proto", -+ ], -+) -+ -+go_proto_library( -+ name = "annotations_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/api/annotations", -+ proto = ":annotations_proto", -+ visibility = ["//visibility:public"], -+) -+ -+go_proto_library( -+ name = "api_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/api", -+ proto = ":api_proto", -+ visibility = ["//visibility:public"], -+) -+ -+go_proto_library( -+ name = "configchange_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/api/configchange", -+ proto = ":configchange_proto", -+ visibility = ["//visibility:public"], -+) -+ -+go_proto_library( -+ name = "distribution_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/api/distribution", -+ proto = ":distribution_proto", -+ visibility = ["//visibility:public"], -+) -+ -+go_proto_library( -+ name = "error_reason_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/api/error_reason", ++ "access_invitation_status.proto", ++ "access_reason.proto", ++ "access_role.proto", ++ "account_budget_proposal_status.proto", ++ "account_budget_proposal_type.proto", ++ "account_budget_status.proto", ++ "account_link_status.proto", ++ "ad_customizer_placeholder_field.proto", ++ "ad_destination_type.proto", ++ "ad_group_ad_rotation_mode.proto", ++ "ad_group_ad_status.proto", ++ "ad_group_criterion_approval_status.proto", ++ "ad_group_criterion_status.proto", ++ "ad_group_status.proto", ++ "ad_group_type.proto", ++ "ad_network_type.proto", ++ "ad_serving_optimization_status.proto", ++ "ad_strength.proto", ++ "ad_type.proto", ++ "advertising_channel_sub_type.proto", ++ "advertising_channel_type.proto", ++ "affiliate_location_feed_relationship_type.proto", ++ "affiliate_location_placeholder_field.proto", ++ "age_range_type.proto", ++ "app_campaign_app_store.proto", ++ "app_campaign_bidding_strategy_goal_type.proto", ++ "app_payment_model_type.proto", ++ "app_placeholder_field.proto", ++ "app_store.proto", ++ "app_url_operating_system_type.proto", ++ "asset_field_type.proto", ++ "asset_link_status.proto", ++ "asset_performance_label.proto", ++ "asset_type.proto", ++ "attribution_model.proto", ++ "batch_job_status.proto", ++ "bid_modifier_source.proto", ++ "bidding_source.proto", ++ "bidding_strategy_status.proto", ++ "bidding_strategy_type.proto", ++ "billing_setup_status.proto", ++ "brand_safety_suitability.proto", ++ "budget_campaign_association_status.proto", ++ "budget_delivery_method.proto", ++ "budget_period.proto", ++ "budget_status.proto", ++ "budget_type.proto", ++ "call_conversion_reporting_state.proto", ++ "call_placeholder_field.proto", ++ "call_tracking_display_location.proto", ++ "call_type.proto", ++ "callout_placeholder_field.proto", ++ "campaign_criterion_status.proto", ++ "campaign_draft_status.proto", ++ "campaign_experiment_status.proto", ++ "campaign_experiment_traffic_split_type.proto", ++ "campaign_experiment_type.proto", ++ "campaign_serving_status.proto", ++ "campaign_shared_set_status.proto", ++ "campaign_status.proto", ++ "change_client_type.proto", ++ "change_event_resource_type.proto", ++ "change_status_operation.proto", ++ "change_status_resource_type.proto", ++ "click_type.proto", ++ "combined_audience_status.proto", ++ "content_label_type.proto", ++ "conversion_action_category.proto", ++ "conversion_action_counting_type.proto", ++ "conversion_action_status.proto", ++ "conversion_action_type.proto", ++ "conversion_adjustment_type.proto", ++ "conversion_attribution_event_type.proto", ++ "conversion_custom_variable_status.proto", ++ "conversion_lag_bucket.proto", ++ "conversion_or_adjustment_lag_bucket.proto", ++ "criterion_category_channel_availability_mode.proto", ++ "criterion_category_locale_availability_mode.proto", ++ "criterion_system_serving_status.proto", ++ "criterion_type.proto", ++ "custom_audience_member_type.proto", ++ "custom_audience_status.proto", ++ "custom_audience_type.proto", ++ "custom_interest_member_type.proto", ++ "custom_interest_status.proto", ++ "custom_interest_type.proto", ++ "custom_placeholder_field.proto", ++ "customer_match_upload_key_type.proto", ++ "customer_pay_per_conversion_eligibility_failure_reason.proto", ++ "data_driven_model_status.proto", ++ "day_of_week.proto", ++ "device.proto", ++ "display_ad_format_setting.proto", ++ "display_upload_product_type.proto", ++ "distance_bucket.proto", ++ "dsa_page_feed_criterion_field.proto", ++ "education_placeholder_field.proto", ++ "extension_setting_device.proto", ++ "extension_type.proto", ++ "external_conversion_source.proto", ++ "feed_attribute_type.proto", ++ "feed_item_quality_approval_status.proto", ++ "feed_item_quality_disapproval_reason.proto", ++ "feed_item_set_status.proto", ++ "feed_item_set_string_filter_type.proto", ++ "feed_item_status.proto", ++ "feed_item_target_device.proto", ++ "feed_item_target_status.proto", ++ "feed_item_target_type.proto", ++ "feed_item_validation_status.proto", ++ "feed_link_status.proto", ++ "feed_mapping_criterion_type.proto", ++ "feed_mapping_status.proto", ++ "feed_origin.proto", ++ "feed_status.proto", ++ "flight_placeholder_field.proto", ++ "frequency_cap_event_type.proto", ++ "frequency_cap_level.proto", ++ "frequency_cap_time_unit.proto", ++ "gender_type.proto", ++ "geo_target_constant_status.proto", ++ "geo_targeting_restriction.proto", ++ "geo_targeting_type.proto", ++ "google_ads_field_category.proto", ++ "google_ads_field_data_type.proto", ++ "google_voice_call_status.proto", ++ "hotel_date_selection_type.proto", ++ "hotel_placeholder_field.proto", ++ "hotel_price_bucket.proto", ++ "hotel_rate_type.proto", ++ "image_placeholder_field.proto", ++ "income_range_type.proto", ++ "interaction_event_type.proto", ++ "interaction_type.proto", ++ "invoice_type.proto", ++ "job_placeholder_field.proto", ++ "keyword_match_type.proto", ++ "keyword_plan_aggregate_metric_type.proto", ++ "keyword_plan_competition_level.proto", ++ "keyword_plan_concept_group_type.proto", ++ "keyword_plan_forecast_interval.proto", ++ "keyword_plan_keyword_annotation.proto", ++ "keyword_plan_network.proto", ++ "label_status.proto", ++ "lead_form_call_to_action_type.proto", ++ "lead_form_desired_intent.proto", ++ "lead_form_field_user_input_type.proto", ++ "lead_form_post_submit_call_to_action_type.proto", ++ "legacy_app_install_ad_app_store.proto", ++ "linked_account_type.proto", ++ "listing_group_type.proto", ++ "local_placeholder_field.proto", ++ "location_extension_targeting_criterion_field.proto", ++ "location_group_radius_units.proto", ++ "location_placeholder_field.proto", ++ "location_source_type.proto", ++ "manager_link_status.proto", ++ "matching_function_context_type.proto", ++ "matching_function_operator.proto", ++ "media_type.proto", ++ "merchant_center_link_status.proto", ++ "message_placeholder_field.proto", ++ "mime_type.proto", ++ "minute_of_hour.proto", ++ "mobile_app_vendor.proto", ++ "mobile_device_type.proto", ++ "month_of_year.proto", ++ "negative_geo_target_type.proto", ++ "offline_user_data_job_failure_reason.proto", ++ "offline_user_data_job_status.proto", ++ "offline_user_data_job_type.proto", ++ "operating_system_version_operator_type.proto", ++ "optimization_goal_type.proto", ++ "parental_status_type.proto", ++ "payment_mode.proto", ++ "placeholder_type.proto", ++ "placement_type.proto", ++ "policy_approval_status.proto", ++ "policy_review_status.proto", ++ "policy_topic_entry_type.proto", ++ "policy_topic_evidence_destination_mismatch_url_type.proto", ++ "policy_topic_evidence_destination_not_working_device.proto", ++ "policy_topic_evidence_destination_not_working_dns_error_type.proto", ++ "positive_geo_target_type.proto", ++ "preferred_content_type.proto", ++ "price_extension_price_qualifier.proto", ++ "price_extension_price_unit.proto", ++ "price_extension_type.proto", ++ "price_placeholder_field.proto", ++ "product_bidding_category_level.proto", ++ "product_bidding_category_status.proto", ++ "product_channel.proto", ++ "product_channel_exclusivity.proto", ++ "product_condition.proto", ++ "product_custom_attribute_index.proto", ++ "product_type_level.proto", ++ "promotion_extension_discount_modifier.proto", ++ "promotion_extension_occasion.proto", ++ "promotion_placeholder_field.proto", ++ "proximity_radius_units.proto", ++ "quality_score_bucket.proto", ++ "reach_plan_ad_length.proto", ++ "reach_plan_age_range.proto", ++ "reach_plan_network.proto", ++ "real_estate_placeholder_field.proto", ++ "recommendation_type.proto", ++ "resource_change_operation.proto", ++ "resource_limit_type.proto", ++ "response_content_type.proto", ++ "search_engine_results_page_type.proto", ++ "search_term_match_type.proto", ++ "search_term_targeting_status.proto", ++ "served_asset_field_type.proto", ++ "shared_set_status.proto", ++ "shared_set_type.proto", ++ "simulation_modification_method.proto", ++ "simulation_type.proto", ++ "sitelink_placeholder_field.proto", ++ "slot.proto", ++ "spending_limit_type.proto", ++ "structured_snippet_placeholder_field.proto", ++ "summary_row_setting.proto", ++ "system_managed_entity_source.proto", ++ "target_cpa_opt_in_recommendation_goal.proto", ++ "target_impression_share_location.proto", ++ "targeting_dimension.proto", ++ "time_type.proto", ++ "tracking_code_page_format.proto", ++ "tracking_code_type.proto", ++ "travel_placeholder_field.proto", ++ "user_identifier_source.proto", ++ "user_interest_taxonomy_type.proto", ++ "user_list_access_status.proto", ++ "user_list_closing_reason.proto", ++ "user_list_combined_rule_operator.proto", ++ "user_list_crm_data_source_type.proto", ++ "user_list_date_rule_item_operator.proto", ++ "user_list_logical_rule_operator.proto", ++ "user_list_membership_status.proto", ++ "user_list_number_rule_item_operator.proto", ++ "user_list_prepopulation_status.proto", ++ "user_list_rule_type.proto", ++ "user_list_size_range.proto", ++ "user_list_string_rule_item_operator.proto", ++ "user_list_type.proto", ++ "vanity_pharma_display_url_mode.proto", ++ "vanity_pharma_text.proto", ++ "webpage_condition_operand.proto", ++ "webpage_condition_operator.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_proto"], ++) ++ ++go_proto_library( ++ name = "enums_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/ads/googleads/v7/enums", ++ proto = ":enums_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_go_proto"], ++) +diff -urN c/google/ads/googleads/v7/errors/BUILD.bazel d/google/ads/googleads/v7/errors/BUILD.bazel +--- c/google/ads/googleads/v7/errors/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/ads/googleads/v7/errors/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,147 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "errors_proto", ++ srcs = [ ++ "access_invitation_error.proto", ++ "account_budget_proposal_error.proto", ++ "account_link_error.proto", ++ "ad_customizer_error.proto", ++ "ad_error.proto", ++ "ad_group_ad_error.proto", ++ "ad_group_bid_modifier_error.proto", ++ "ad_group_criterion_error.proto", ++ "ad_group_error.proto", ++ "ad_group_feed_error.proto", ++ "ad_parameter_error.proto", ++ "ad_sharing_error.proto", ++ "adx_error.proto", ++ "asset_error.proto", ++ "asset_link_error.proto", ++ "authentication_error.proto", ++ "authorization_error.proto", ++ "batch_job_error.proto", ++ "bidding_error.proto", ++ "bidding_strategy_error.proto", ++ "billing_setup_error.proto", ++ "campaign_budget_error.proto", ++ "campaign_criterion_error.proto", ++ "campaign_draft_error.proto", ++ "campaign_error.proto", ++ "campaign_experiment_error.proto", ++ "campaign_feed_error.proto", ++ "campaign_shared_set_error.proto", ++ "change_event_error.proto", ++ "change_status_error.proto", ++ "collection_size_error.proto", ++ "context_error.proto", ++ "conversion_action_error.proto", ++ "conversion_adjustment_upload_error.proto", ++ "conversion_custom_variable_error.proto", ++ "conversion_upload_error.proto", ++ "country_code_error.proto", ++ "criterion_error.proto", ++ "currency_code_error.proto", ++ "custom_audience_error.proto", ++ "custom_interest_error.proto", ++ "customer_client_link_error.proto", ++ "customer_error.proto", ++ "customer_feed_error.proto", ++ "customer_manager_link_error.proto", ++ "customer_user_access_error.proto", ++ "database_error.proto", ++ "date_error.proto", ++ "date_range_error.proto", ++ "distinct_error.proto", ++ "enum_error.proto", ++ "errors.proto", ++ "extension_feed_item_error.proto", ++ "extension_setting_error.proto", ++ "feed_attribute_reference_error.proto", ++ "feed_error.proto", ++ "feed_item_error.proto", ++ "feed_item_set_error.proto", ++ "feed_item_set_link_error.proto", ++ "feed_item_target_error.proto", ++ "feed_item_validation_error.proto", ++ "feed_mapping_error.proto", ++ "field_error.proto", ++ "field_mask_error.proto", ++ "function_error.proto", ++ "function_parsing_error.proto", ++ "geo_target_constant_suggestion_error.proto", ++ "header_error.proto", ++ "id_error.proto", ++ "image_error.proto", ++ "internal_error.proto", ++ "invoice_error.proto", ++ "keyword_plan_ad_group_error.proto", ++ "keyword_plan_ad_group_keyword_error.proto", ++ "keyword_plan_campaign_error.proto", ++ "keyword_plan_campaign_keyword_error.proto", ++ "keyword_plan_error.proto", ++ "keyword_plan_idea_error.proto", ++ "label_error.proto", ++ "language_code_error.proto", ++ "list_operation_error.proto", ++ "manager_link_error.proto", ++ "media_bundle_error.proto", ++ "media_file_error.proto", ++ "media_upload_error.proto", ++ "multiplier_error.proto", ++ "mutate_error.proto", ++ "new_resource_creation_error.proto", ++ "not_allowlisted_error.proto", ++ "not_empty_error.proto", ++ "null_error.proto", ++ "offline_user_data_job_error.proto", ++ "operation_access_denied_error.proto", ++ "operator_error.proto", ++ "partial_failure_error.proto", ++ "payments_account_error.proto", ++ "policy_finding_error.proto", ++ "policy_validation_parameter_error.proto", ++ "policy_violation_error.proto", ++ "query_error.proto", ++ "quota_error.proto", ++ "range_error.proto", ++ "reach_plan_error.proto", ++ "recommendation_error.proto", ++ "region_code_error.proto", ++ "request_error.proto", ++ "resource_access_denied_error.proto", ++ "resource_count_limit_exceeded_error.proto", ++ "setting_error.proto", ++ "shared_criterion_error.proto", ++ "shared_set_error.proto", ++ "size_limit_error.proto", ++ "string_format_error.proto", ++ "string_length_error.proto", ++ "third_party_app_analytics_link_error.proto", ++ "time_zone_error.proto", ++ "url_field_error.proto", ++ "user_data_error.proto", ++ "user_list_error.proto", ++ "youtube_video_registration_error.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/ads/googleads/v7/common:common_proto", ++ "//google/ads/googleads/v7/enums:enums_proto", ++ "//google/api:annotations_proto", ++ "@com_google_protobuf//:duration_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "errors_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/ads/googleads/v7/errors", ++ proto = ":errors_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/ads/googleads/v7/common:common_go_proto", ++ "//google/ads/googleads/v7/enums:enums_go_proto", ++ "//google/api:annotations_go_proto", ++ ], ++) +diff -urN c/google/ads/googleads/v7/resources/BUILD.bazel d/google/ads/googleads/v7/resources/BUILD.bazel +--- c/google/ads/googleads/v7/resources/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/ads/googleads/v7/resources/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,151 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "resources_proto", ++ srcs = [ ++ "account_budget.proto", ++ "account_budget_proposal.proto", ++ "account_link.proto", ++ "ad.proto", ++ "ad_group.proto", ++ "ad_group_ad.proto", ++ "ad_group_ad_asset_view.proto", ++ "ad_group_ad_label.proto", ++ "ad_group_asset.proto", ++ "ad_group_audience_view.proto", ++ "ad_group_bid_modifier.proto", ++ "ad_group_criterion.proto", ++ "ad_group_criterion_label.proto", ++ "ad_group_criterion_simulation.proto", ++ "ad_group_extension_setting.proto", ++ "ad_group_feed.proto", ++ "ad_group_label.proto", ++ "ad_group_simulation.proto", ++ "ad_parameter.proto", ++ "ad_schedule_view.proto", ++ "age_range_view.proto", ++ "asset.proto", ++ "batch_job.proto", ++ "bidding_strategy.proto", ++ "bidding_strategy_simulation.proto", ++ "billing_setup.proto", ++ "call_view.proto", ++ "campaign.proto", ++ "campaign_asset.proto", ++ "campaign_audience_view.proto", ++ "campaign_bid_modifier.proto", ++ "campaign_budget.proto", ++ "campaign_criterion.proto", ++ "campaign_criterion_simulation.proto", ++ "campaign_draft.proto", ++ "campaign_experiment.proto", ++ "campaign_extension_setting.proto", ++ "campaign_feed.proto", ++ "campaign_label.proto", ++ "campaign_shared_set.proto", ++ "campaign_simulation.proto", ++ "carrier_constant.proto", ++ "change_event.proto", ++ "change_status.proto", ++ "click_view.proto", ++ "combined_audience.proto", ++ "conversion_action.proto", ++ "conversion_custom_variable.proto", ++ "currency_constant.proto", ++ "custom_audience.proto", ++ "custom_interest.proto", ++ "customer.proto", ++ "customer_asset.proto", ++ "customer_client.proto", ++ "customer_client_link.proto", ++ "customer_extension_setting.proto", ++ "customer_feed.proto", ++ "customer_label.proto", ++ "customer_manager_link.proto", ++ "customer_negative_criterion.proto", ++ "customer_user_access.proto", ++ "customer_user_access_invitation.proto", ++ "detail_placement_view.proto", ++ "display_keyword_view.proto", ++ "distance_view.proto", ++ "domain_category.proto", ++ "dynamic_search_ads_search_term_view.proto", ++ "expanded_landing_page_view.proto", ++ "extension_feed_item.proto", ++ "feed.proto", ++ "feed_item.proto", ++ "feed_item_set.proto", ++ "feed_item_set_link.proto", ++ "feed_item_target.proto", ++ "feed_mapping.proto", ++ "feed_placeholder_view.proto", ++ "gender_view.proto", ++ "geo_target_constant.proto", ++ "geographic_view.proto", ++ "google_ads_field.proto", ++ "group_placement_view.proto", ++ "hotel_group_view.proto", ++ "hotel_performance_view.proto", ++ "income_range_view.proto", ++ "invoice.proto", ++ "keyword_plan.proto", ++ "keyword_plan_ad_group.proto", ++ "keyword_plan_ad_group_keyword.proto", ++ "keyword_plan_campaign.proto", ++ "keyword_plan_campaign_keyword.proto", ++ "keyword_view.proto", ++ "label.proto", ++ "landing_page_view.proto", ++ "language_constant.proto", ++ "life_event.proto", ++ "location_view.proto", ++ "managed_placement_view.proto", ++ "media_file.proto", ++ "merchant_center_link.proto", ++ "mobile_app_category_constant.proto", ++ "mobile_device_constant.proto", ++ "offline_user_data_job.proto", ++ "operating_system_version_constant.proto", ++ "paid_organic_search_term_view.proto", ++ "parental_status_view.proto", ++ "payments_account.proto", ++ "product_bidding_category_constant.proto", ++ "product_group_view.proto", ++ "recommendation.proto", ++ "remarketing_action.proto", ++ "search_term_view.proto", ++ "shared_criterion.proto", ++ "shared_set.proto", ++ "shopping_performance_view.proto", ++ "third_party_app_analytics_link.proto", ++ "topic_constant.proto", ++ "topic_view.proto", ++ "user_interest.proto", ++ "user_list.proto", ++ "user_location_view.proto", ++ "video.proto", ++ "webpage_view.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/ads/googleads/v7/common:common_proto", ++ "//google/ads/googleads/v7/enums:enums_proto", ++ "//google/ads/googleads/v7/errors:errors_proto", ++ "//google/api:annotations_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "resources_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/ads/googleads/v7/resources", ++ proto = ":resources_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/ads/googleads/v7/common:common_go_proto", ++ "//google/ads/googleads/v7/enums:enums_go_proto", ++ "//google/ads/googleads/v7/errors:errors_go_proto", ++ "//google/api:annotations_go_proto", ++ ], ++) +diff -urN c/google/ads/googleads/v7/services/BUILD.bazel d/google/ads/googleads/v7/services/BUILD.bazel +--- c/google/ads/googleads/v7/services/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/ads/googleads/v7/services/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,161 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "services_proto", ++ srcs = [ ++ "account_budget_proposal_service.proto", ++ "account_budget_service.proto", ++ "account_link_service.proto", ++ "ad_group_ad_asset_view_service.proto", ++ "ad_group_ad_label_service.proto", ++ "ad_group_ad_service.proto", ++ "ad_group_asset_service.proto", ++ "ad_group_audience_view_service.proto", ++ "ad_group_bid_modifier_service.proto", ++ "ad_group_criterion_label_service.proto", ++ "ad_group_criterion_service.proto", ++ "ad_group_criterion_simulation_service.proto", ++ "ad_group_extension_setting_service.proto", ++ "ad_group_feed_service.proto", ++ "ad_group_label_service.proto", ++ "ad_group_service.proto", ++ "ad_group_simulation_service.proto", ++ "ad_parameter_service.proto", ++ "ad_schedule_view_service.proto", ++ "ad_service.proto", ++ "age_range_view_service.proto", ++ "asset_service.proto", ++ "batch_job_service.proto", ++ "bidding_strategy_service.proto", ++ "bidding_strategy_simulation_service.proto", ++ "billing_setup_service.proto", ++ "campaign_asset_service.proto", ++ "campaign_audience_view_service.proto", ++ "campaign_bid_modifier_service.proto", ++ "campaign_budget_service.proto", ++ "campaign_criterion_service.proto", ++ "campaign_criterion_simulation_service.proto", ++ "campaign_draft_service.proto", ++ "campaign_experiment_service.proto", ++ "campaign_extension_setting_service.proto", ++ "campaign_feed_service.proto", ++ "campaign_label_service.proto", ++ "campaign_service.proto", ++ "campaign_shared_set_service.proto", ++ "campaign_simulation_service.proto", ++ "carrier_constant_service.proto", ++ "change_status_service.proto", ++ "click_view_service.proto", ++ "combined_audience_service.proto", ++ "conversion_action_service.proto", ++ "conversion_adjustment_upload_service.proto", ++ "conversion_custom_variable_service.proto", ++ "conversion_upload_service.proto", ++ "currency_constant_service.proto", ++ "custom_audience_service.proto", ++ "custom_interest_service.proto", ++ "customer_asset_service.proto", ++ "customer_client_link_service.proto", ++ "customer_client_service.proto", ++ "customer_extension_setting_service.proto", ++ "customer_feed_service.proto", ++ "customer_label_service.proto", ++ "customer_manager_link_service.proto", ++ "customer_negative_criterion_service.proto", ++ "customer_service.proto", ++ "customer_user_access_invitation_service.proto", ++ "customer_user_access_service.proto", ++ "detail_placement_view_service.proto", ++ "display_keyword_view_service.proto", ++ "distance_view_service.proto", ++ "domain_category_service.proto", ++ "dynamic_search_ads_search_term_view_service.proto", ++ "expanded_landing_page_view_service.proto", ++ "extension_feed_item_service.proto", ++ "feed_item_service.proto", ++ "feed_item_set_link_service.proto", ++ "feed_item_set_service.proto", ++ "feed_item_target_service.proto", ++ "feed_mapping_service.proto", ++ "feed_placeholder_view_service.proto", ++ "feed_service.proto", ++ "gender_view_service.proto", ++ "geo_target_constant_service.proto", ++ "geographic_view_service.proto", ++ "google_ads_field_service.proto", ++ "google_ads_service.proto", ++ "group_placement_view_service.proto", ++ "hotel_group_view_service.proto", ++ "hotel_performance_view_service.proto", ++ "income_range_view_service.proto", ++ "invoice_service.proto", ++ "keyword_plan_ad_group_keyword_service.proto", ++ "keyword_plan_ad_group_service.proto", ++ "keyword_plan_campaign_keyword_service.proto", ++ "keyword_plan_campaign_service.proto", ++ "keyword_plan_idea_service.proto", ++ "keyword_plan_service.proto", ++ "keyword_view_service.proto", ++ "label_service.proto", ++ "landing_page_view_service.proto", ++ "language_constant_service.proto", ++ "life_event_service.proto", ++ "location_view_service.proto", ++ "managed_placement_view_service.proto", ++ "media_file_service.proto", ++ "merchant_center_link_service.proto", ++ "mobile_app_category_constant_service.proto", ++ "mobile_device_constant_service.proto", ++ "offline_user_data_job_service.proto", ++ "operating_system_version_constant_service.proto", ++ "paid_organic_search_term_view_service.proto", ++ "parental_status_view_service.proto", ++ "payments_account_service.proto", ++ "product_bidding_category_constant_service.proto", ++ "product_group_view_service.proto", ++ "reach_plan_service.proto", ++ "recommendation_service.proto", ++ "remarketing_action_service.proto", ++ "search_term_view_service.proto", ++ "shared_criterion_service.proto", ++ "shared_set_service.proto", ++ "shopping_performance_view_service.proto", ++ "third_party_app_analytics_link_service.proto", ++ "topic_constant_service.proto", ++ "topic_view_service.proto", ++ "user_data_service.proto", ++ "user_interest_service.proto", ++ "user_list_service.proto", ++ "user_location_view_service.proto", ++ "video_service.proto", ++ "webpage_view_service.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/ads/googleads/v7/common:common_proto", ++ "//google/ads/googleads/v7/enums:enums_proto", ++ "//google/ads/googleads/v7/resources:resources_proto", ++ "//google/api:annotations_proto", ++ "//google/longrunning:longrunning_proto", ++ "//google/rpc:status_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "services_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/ads/googleads/v7/services", ++ proto = ":services_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/ads/googleads/v7/common:common_go_proto", ++ "//google/ads/googleads/v7/enums:enums_go_proto", ++ "//google/ads/googleads/v7/resources:resources_go_proto", ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ "//google/rpc:status_go_proto", ++ ], ++) +diff -urN c/google/ads/googleads/v8/common/BUILD.bazel d/google/ads/googleads/v8/common/BUILD.bazel +--- c/google/ads/googleads/v8/common/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/ads/googleads/v8/common/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,54 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "common_proto", ++ srcs = [ ++ "ad_asset.proto", ++ "ad_type_infos.proto", ++ "asset_policy.proto", ++ "asset_types.proto", ++ "bidding.proto", ++ "click_location.proto", ++ "criteria.proto", ++ "criterion_category_availability.proto", ++ "custom_parameter.proto", ++ "dates.proto", ++ "explorer_auto_optimizer_setting.proto", ++ "extensions.proto", ++ "feed_common.proto", ++ "feed_item_set_filter_type_infos.proto", ++ "final_app_url.proto", ++ "frequency_cap.proto", ++ "keyword_plan_common.proto", ++ "matching_function.proto", ++ "metrics.proto", ++ "offline_user_data.proto", ++ "policy.proto", ++ "real_time_bidding_setting.proto", ++ "segments.proto", ++ "simulation.proto", ++ "tag_snippet.proto", ++ "targeting_setting.proto", ++ "text_label.proto", ++ "url_collection.proto", ++ "user_lists.proto", ++ "value.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/ads/googleads/v8/enums:enums_proto", ++ "//google/api:annotations_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "common_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/ads/googleads/v8/common", ++ proto = ":common_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/ads/googleads/v8/enums:enums_go_proto", ++ "//google/api:annotations_go_proto", ++ ], ++) +diff -urN c/google/ads/googleads/v8/enums/BUILD.bazel d/google/ads/googleads/v8/enums/BUILD.bazel +--- c/google/ads/googleads/v8/enums/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/ads/googleads/v8/enums/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,267 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "enums_proto", ++ srcs = [ ++ "access_invitation_status.proto", ++ "access_reason.proto", ++ "access_role.proto", ++ "account_budget_proposal_status.proto", ++ "account_budget_proposal_type.proto", ++ "account_budget_status.proto", ++ "account_link_status.proto", ++ "ad_customizer_placeholder_field.proto", ++ "ad_destination_type.proto", ++ "ad_group_ad_rotation_mode.proto", ++ "ad_group_ad_status.proto", ++ "ad_group_criterion_approval_status.proto", ++ "ad_group_criterion_status.proto", ++ "ad_group_status.proto", ++ "ad_group_type.proto", ++ "ad_network_type.proto", ++ "ad_serving_optimization_status.proto", ++ "ad_strength.proto", ++ "ad_type.proto", ++ "advertising_channel_sub_type.proto", ++ "advertising_channel_type.proto", ++ "affiliate_location_feed_relationship_type.proto", ++ "affiliate_location_placeholder_field.proto", ++ "age_range_type.proto", ++ "app_campaign_app_store.proto", ++ "app_campaign_bidding_strategy_goal_type.proto", ++ "app_payment_model_type.proto", ++ "app_placeholder_field.proto", ++ "app_store.proto", ++ "app_url_operating_system_type.proto", ++ "asset_field_type.proto", ++ "asset_link_status.proto", ++ "asset_performance_label.proto", ++ "asset_type.proto", ++ "attribution_model.proto", ++ "batch_job_status.proto", ++ "bid_modifier_source.proto", ++ "bidding_source.proto", ++ "bidding_strategy_status.proto", ++ "bidding_strategy_type.proto", ++ "billing_setup_status.proto", ++ "brand_safety_suitability.proto", ++ "budget_campaign_association_status.proto", ++ "budget_delivery_method.proto", ++ "budget_period.proto", ++ "budget_status.proto", ++ "budget_type.proto", ++ "call_conversion_reporting_state.proto", ++ "call_placeholder_field.proto", ++ "call_tracking_display_location.proto", ++ "call_type.proto", ++ "callout_placeholder_field.proto", ++ "campaign_criterion_status.proto", ++ "campaign_draft_status.proto", ++ "campaign_experiment_status.proto", ++ "campaign_experiment_traffic_split_type.proto", ++ "campaign_experiment_type.proto", ++ "campaign_serving_status.proto", ++ "campaign_shared_set_status.proto", ++ "campaign_status.proto", ++ "change_client_type.proto", ++ "change_event_resource_type.proto", ++ "change_status_operation.proto", ++ "change_status_resource_type.proto", ++ "click_type.proto", ++ "combined_audience_status.proto", ++ "content_label_type.proto", ++ "conversion_action_category.proto", ++ "conversion_action_counting_type.proto", ++ "conversion_action_status.proto", ++ "conversion_action_type.proto", ++ "conversion_adjustment_type.proto", ++ "conversion_attribution_event_type.proto", ++ "conversion_custom_variable_status.proto", ++ "conversion_lag_bucket.proto", ++ "conversion_or_adjustment_lag_bucket.proto", ++ "criterion_category_channel_availability_mode.proto", ++ "criterion_category_locale_availability_mode.proto", ++ "criterion_system_serving_status.proto", ++ "criterion_type.proto", ++ "custom_audience_member_type.proto", ++ "custom_audience_status.proto", ++ "custom_audience_type.proto", ++ "custom_interest_member_type.proto", ++ "custom_interest_status.proto", ++ "custom_interest_type.proto", ++ "custom_placeholder_field.proto", ++ "customer_match_upload_key_type.proto", ++ "customer_pay_per_conversion_eligibility_failure_reason.proto", ++ "data_driven_model_status.proto", ++ "day_of_week.proto", ++ "device.proto", ++ "display_ad_format_setting.proto", ++ "display_upload_product_type.proto", ++ "distance_bucket.proto", ++ "dsa_page_feed_criterion_field.proto", ++ "education_placeholder_field.proto", ++ "extension_setting_device.proto", ++ "extension_type.proto", ++ "external_conversion_source.proto", ++ "feed_attribute_type.proto", ++ "feed_item_quality_approval_status.proto", ++ "feed_item_quality_disapproval_reason.proto", ++ "feed_item_set_status.proto", ++ "feed_item_set_string_filter_type.proto", ++ "feed_item_status.proto", ++ "feed_item_target_device.proto", ++ "feed_item_target_status.proto", ++ "feed_item_target_type.proto", ++ "feed_item_validation_status.proto", ++ "feed_link_status.proto", ++ "feed_mapping_criterion_type.proto", ++ "feed_mapping_status.proto", ++ "feed_origin.proto", ++ "feed_status.proto", ++ "flight_placeholder_field.proto", ++ "frequency_cap_event_type.proto", ++ "frequency_cap_level.proto", ++ "frequency_cap_time_unit.proto", ++ "gender_type.proto", ++ "geo_target_constant_status.proto", ++ "geo_targeting_restriction.proto", ++ "geo_targeting_type.proto", ++ "google_ads_field_category.proto", ++ "google_ads_field_data_type.proto", ++ "google_voice_call_status.proto", ++ "hotel_date_selection_type.proto", ++ "hotel_placeholder_field.proto", ++ "hotel_price_bucket.proto", ++ "hotel_rate_type.proto", ++ "image_placeholder_field.proto", ++ "income_range_type.proto", ++ "interaction_event_type.proto", ++ "interaction_type.proto", ++ "invoice_type.proto", ++ "job_placeholder_field.proto", ++ "keyword_match_type.proto", ++ "keyword_plan_aggregate_metric_type.proto", ++ "keyword_plan_competition_level.proto", ++ "keyword_plan_concept_group_type.proto", ++ "keyword_plan_forecast_interval.proto", ++ "keyword_plan_keyword_annotation.proto", ++ "keyword_plan_network.proto", ++ "label_status.proto", ++ "lead_form_call_to_action_type.proto", ++ "lead_form_desired_intent.proto", ++ "lead_form_field_user_input_type.proto", ++ "lead_form_post_submit_call_to_action_type.proto", ++ "legacy_app_install_ad_app_store.proto", ++ "linked_account_type.proto", ++ "listing_group_type.proto", ++ "local_placeholder_field.proto", ++ "location_extension_targeting_criterion_field.proto", ++ "location_group_radius_units.proto", ++ "location_placeholder_field.proto", ++ "location_source_type.proto", ++ "manager_link_status.proto", ++ "matching_function_context_type.proto", ++ "matching_function_operator.proto", ++ "media_type.proto", ++ "merchant_center_link_status.proto", ++ "message_placeholder_field.proto", ++ "mime_type.proto", ++ "minute_of_hour.proto", ++ "mobile_app_vendor.proto", ++ "mobile_device_type.proto", ++ "month_of_year.proto", ++ "negative_geo_target_type.proto", ++ "offline_user_data_job_failure_reason.proto", ++ "offline_user_data_job_status.proto", ++ "offline_user_data_job_type.proto", ++ "operating_system_version_operator_type.proto", ++ "optimization_goal_type.proto", ++ "parental_status_type.proto", ++ "payment_mode.proto", ++ "placeholder_type.proto", ++ "placement_type.proto", ++ "policy_approval_status.proto", ++ "policy_review_status.proto", ++ "policy_topic_entry_type.proto", ++ "policy_topic_evidence_destination_mismatch_url_type.proto", ++ "policy_topic_evidence_destination_not_working_device.proto", ++ "policy_topic_evidence_destination_not_working_dns_error_type.proto", ++ "positive_geo_target_type.proto", ++ "preferred_content_type.proto", ++ "price_extension_price_qualifier.proto", ++ "price_extension_price_unit.proto", ++ "price_extension_type.proto", ++ "price_placeholder_field.proto", ++ "product_bidding_category_level.proto", ++ "product_bidding_category_status.proto", ++ "product_channel.proto", ++ "product_channel_exclusivity.proto", ++ "product_condition.proto", ++ "product_custom_attribute_index.proto", ++ "product_type_level.proto", ++ "promotion_extension_discount_modifier.proto", ++ "promotion_extension_occasion.proto", ++ "promotion_placeholder_field.proto", ++ "proximity_radius_units.proto", ++ "quality_score_bucket.proto", ++ "reach_plan_ad_length.proto", ++ "reach_plan_age_range.proto", ++ "reach_plan_network.proto", ++ "real_estate_placeholder_field.proto", ++ "recommendation_type.proto", ++ "resource_change_operation.proto", ++ "resource_limit_type.proto", ++ "response_content_type.proto", ++ "search_engine_results_page_type.proto", ++ "search_term_match_type.proto", ++ "search_term_targeting_status.proto", ++ "served_asset_field_type.proto", ++ "shared_set_status.proto", ++ "shared_set_type.proto", ++ "simulation_modification_method.proto", ++ "simulation_type.proto", ++ "sitelink_placeholder_field.proto", ++ "slot.proto", ++ "spending_limit_type.proto", ++ "structured_snippet_placeholder_field.proto", ++ "summary_row_setting.proto", ++ "system_managed_entity_source.proto", ++ "target_cpa_opt_in_recommendation_goal.proto", ++ "target_impression_share_location.proto", ++ "targeting_dimension.proto", ++ "time_type.proto", ++ "tracking_code_page_format.proto", ++ "tracking_code_type.proto", ++ "travel_placeholder_field.proto", ++ "user_identifier_source.proto", ++ "user_interest_taxonomy_type.proto", ++ "user_list_access_status.proto", ++ "user_list_closing_reason.proto", ++ "user_list_combined_rule_operator.proto", ++ "user_list_crm_data_source_type.proto", ++ "user_list_date_rule_item_operator.proto", ++ "user_list_logical_rule_operator.proto", ++ "user_list_membership_status.proto", ++ "user_list_number_rule_item_operator.proto", ++ "user_list_prepopulation_status.proto", ++ "user_list_rule_type.proto", ++ "user_list_size_range.proto", ++ "user_list_string_rule_item_operator.proto", ++ "user_list_type.proto", ++ "vanity_pharma_display_url_mode.proto", ++ "vanity_pharma_text.proto", ++ "webpage_condition_operand.proto", ++ "webpage_condition_operator.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_proto"], ++) ++ ++go_proto_library( ++ name = "enums_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/ads/googleads/v8/enums", ++ proto = ":enums_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_go_proto"], ++) +diff -urN c/google/ads/googleads/v8/errors/BUILD.bazel d/google/ads/googleads/v8/errors/BUILD.bazel +--- c/google/ads/googleads/v8/errors/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/ads/googleads/v8/errors/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,147 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "errors_proto", ++ srcs = [ ++ "access_invitation_error.proto", ++ "account_budget_proposal_error.proto", ++ "account_link_error.proto", ++ "ad_customizer_error.proto", ++ "ad_error.proto", ++ "ad_group_ad_error.proto", ++ "ad_group_bid_modifier_error.proto", ++ "ad_group_criterion_error.proto", ++ "ad_group_error.proto", ++ "ad_group_feed_error.proto", ++ "ad_parameter_error.proto", ++ "ad_sharing_error.proto", ++ "adx_error.proto", ++ "asset_error.proto", ++ "asset_link_error.proto", ++ "authentication_error.proto", ++ "authorization_error.proto", ++ "batch_job_error.proto", ++ "bidding_error.proto", ++ "bidding_strategy_error.proto", ++ "billing_setup_error.proto", ++ "campaign_budget_error.proto", ++ "campaign_criterion_error.proto", ++ "campaign_draft_error.proto", ++ "campaign_error.proto", ++ "campaign_experiment_error.proto", ++ "campaign_feed_error.proto", ++ "campaign_shared_set_error.proto", ++ "change_event_error.proto", ++ "change_status_error.proto", ++ "collection_size_error.proto", ++ "context_error.proto", ++ "conversion_action_error.proto", ++ "conversion_adjustment_upload_error.proto", ++ "conversion_custom_variable_error.proto", ++ "conversion_upload_error.proto", ++ "country_code_error.proto", ++ "criterion_error.proto", ++ "currency_code_error.proto", ++ "custom_audience_error.proto", ++ "custom_interest_error.proto", ++ "customer_client_link_error.proto", ++ "customer_error.proto", ++ "customer_feed_error.proto", ++ "customer_manager_link_error.proto", ++ "customer_user_access_error.proto", ++ "database_error.proto", ++ "date_error.proto", ++ "date_range_error.proto", ++ "distinct_error.proto", ++ "enum_error.proto", ++ "errors.proto", ++ "extension_feed_item_error.proto", ++ "extension_setting_error.proto", ++ "feed_attribute_reference_error.proto", ++ "feed_error.proto", ++ "feed_item_error.proto", ++ "feed_item_set_error.proto", ++ "feed_item_set_link_error.proto", ++ "feed_item_target_error.proto", ++ "feed_item_validation_error.proto", ++ "feed_mapping_error.proto", ++ "field_error.proto", ++ "field_mask_error.proto", ++ "function_error.proto", ++ "function_parsing_error.proto", ++ "geo_target_constant_suggestion_error.proto", ++ "header_error.proto", ++ "id_error.proto", ++ "image_error.proto", ++ "internal_error.proto", ++ "invoice_error.proto", ++ "keyword_plan_ad_group_error.proto", ++ "keyword_plan_ad_group_keyword_error.proto", ++ "keyword_plan_campaign_error.proto", ++ "keyword_plan_campaign_keyword_error.proto", ++ "keyword_plan_error.proto", ++ "keyword_plan_idea_error.proto", ++ "label_error.proto", ++ "language_code_error.proto", ++ "list_operation_error.proto", ++ "manager_link_error.proto", ++ "media_bundle_error.proto", ++ "media_file_error.proto", ++ "media_upload_error.proto", ++ "multiplier_error.proto", ++ "mutate_error.proto", ++ "new_resource_creation_error.proto", ++ "not_allowlisted_error.proto", ++ "not_empty_error.proto", ++ "null_error.proto", ++ "offline_user_data_job_error.proto", ++ "operation_access_denied_error.proto", ++ "operator_error.proto", ++ "partial_failure_error.proto", ++ "payments_account_error.proto", ++ "policy_finding_error.proto", ++ "policy_validation_parameter_error.proto", ++ "policy_violation_error.proto", ++ "query_error.proto", ++ "quota_error.proto", ++ "range_error.proto", ++ "reach_plan_error.proto", ++ "recommendation_error.proto", ++ "region_code_error.proto", ++ "request_error.proto", ++ "resource_access_denied_error.proto", ++ "resource_count_limit_exceeded_error.proto", ++ "setting_error.proto", ++ "shared_criterion_error.proto", ++ "shared_set_error.proto", ++ "size_limit_error.proto", ++ "string_format_error.proto", ++ "string_length_error.proto", ++ "third_party_app_analytics_link_error.proto", ++ "time_zone_error.proto", ++ "url_field_error.proto", ++ "user_data_error.proto", ++ "user_list_error.proto", ++ "youtube_video_registration_error.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/ads/googleads/v8/common:common_proto", ++ "//google/ads/googleads/v8/enums:enums_proto", ++ "//google/api:annotations_proto", ++ "@com_google_protobuf//:duration_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "errors_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/ads/googleads/v8/errors", ++ proto = ":errors_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/ads/googleads/v8/common:common_go_proto", ++ "//google/ads/googleads/v8/enums:enums_go_proto", ++ "//google/api:annotations_go_proto", ++ ], ++) +diff -urN c/google/ads/googleads/v8/resources/BUILD.bazel d/google/ads/googleads/v8/resources/BUILD.bazel +--- c/google/ads/googleads/v8/resources/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/ads/googleads/v8/resources/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,157 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "resources_proto", ++ srcs = [ ++ "accessible_bidding_strategy.proto", ++ "account_budget.proto", ++ "account_budget_proposal.proto", ++ "account_link.proto", ++ "ad.proto", ++ "ad_group.proto", ++ "ad_group_ad.proto", ++ "ad_group_ad_asset_view.proto", ++ "ad_group_ad_label.proto", ++ "ad_group_asset.proto", ++ "ad_group_audience_view.proto", ++ "ad_group_bid_modifier.proto", ++ "ad_group_criterion.proto", ++ "ad_group_criterion_label.proto", ++ "ad_group_criterion_simulation.proto", ++ "ad_group_extension_setting.proto", ++ "ad_group_feed.proto", ++ "ad_group_label.proto", ++ "ad_group_simulation.proto", ++ "ad_parameter.proto", ++ "ad_schedule_view.proto", ++ "age_range_view.proto", ++ "asset.proto", ++ "asset_field_type_view.proto", ++ "batch_job.proto", ++ "bidding_strategy.proto", ++ "bidding_strategy_simulation.proto", ++ "billing_setup.proto", ++ "call_view.proto", ++ "campaign.proto", ++ "campaign_asset.proto", ++ "campaign_audience_view.proto", ++ "campaign_bid_modifier.proto", ++ "campaign_budget.proto", ++ "campaign_criterion.proto", ++ "campaign_criterion_simulation.proto", ++ "campaign_draft.proto", ++ "campaign_experiment.proto", ++ "campaign_extension_setting.proto", ++ "campaign_feed.proto", ++ "campaign_label.proto", ++ "campaign_shared_set.proto", ++ "campaign_simulation.proto", ++ "carrier_constant.proto", ++ "change_event.proto", ++ "change_status.proto", ++ "click_view.proto", ++ "combined_audience.proto", ++ "conversion_action.proto", ++ "conversion_custom_variable.proto", ++ "currency_constant.proto", ++ "custom_audience.proto", ++ "custom_interest.proto", ++ "customer.proto", ++ "customer_asset.proto", ++ "customer_client.proto", ++ "customer_client_link.proto", ++ "customer_extension_setting.proto", ++ "customer_feed.proto", ++ "customer_label.proto", ++ "customer_manager_link.proto", ++ "customer_negative_criterion.proto", ++ "customer_user_access.proto", ++ "customer_user_access_invitation.proto", ++ "detail_placement_view.proto", ++ "detailed_demographic.proto", ++ "display_keyword_view.proto", ++ "distance_view.proto", ++ "domain_category.proto", ++ "dynamic_search_ads_search_term_view.proto", ++ "expanded_landing_page_view.proto", ++ "extension_feed_item.proto", ++ "feed.proto", ++ "feed_item.proto", ++ "feed_item_set.proto", ++ "feed_item_set_link.proto", ++ "feed_item_target.proto", ++ "feed_mapping.proto", ++ "feed_placeholder_view.proto", ++ "gender_view.proto", ++ "geo_target_constant.proto", ++ "geographic_view.proto", ++ "google_ads_field.proto", ++ "group_placement_view.proto", ++ "hotel_group_view.proto", ++ "hotel_performance_view.proto", ++ "income_range_view.proto", ++ "invoice.proto", ++ "keyword_plan.proto", ++ "keyword_plan_ad_group.proto", ++ "keyword_plan_ad_group_keyword.proto", ++ "keyword_plan_campaign.proto", ++ "keyword_plan_campaign_keyword.proto", ++ "keyword_theme_constant.proto", ++ "keyword_view.proto", ++ "label.proto", ++ "landing_page_view.proto", ++ "language_constant.proto", ++ "life_event.proto", ++ "location_view.proto", ++ "managed_placement_view.proto", ++ "media_file.proto", ++ "merchant_center_link.proto", ++ "mobile_app_category_constant.proto", ++ "mobile_device_constant.proto", ++ "offline_user_data_job.proto", ++ "operating_system_version_constant.proto", ++ "paid_organic_search_term_view.proto", ++ "parental_status_view.proto", ++ "payments_account.proto", ++ "product_bidding_category_constant.proto", ++ "product_group_view.proto", ++ "recommendation.proto", ++ "remarketing_action.proto", ++ "search_term_view.proto", ++ "shared_criterion.proto", ++ "shared_set.proto", ++ "shopping_performance_view.proto", ++ "smart_campaign_search_term_view.proto", ++ "smart_campaign_setting.proto", ++ "third_party_app_analytics_link.proto", ++ "topic_constant.proto", ++ "topic_view.proto", ++ "user_interest.proto", ++ "user_list.proto", ++ "user_location_view.proto", ++ "video.proto", ++ "webpage_view.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/ads/googleads/v8/common:common_proto", ++ "//google/ads/googleads/v8/enums:enums_proto", ++ "//google/ads/googleads/v8/errors:errors_proto", ++ "//google/api:annotations_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "resources_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/ads/googleads/v8/resources", ++ proto = ":resources_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/ads/googleads/v8/common:common_go_proto", ++ "//google/ads/googleads/v8/enums:enums_go_proto", ++ "//google/ads/googleads/v8/errors:errors_go_proto", ++ "//google/api:annotations_go_proto", ++ ], ++) +diff -urN c/google/ads/googleads/v8/services/BUILD.bazel d/google/ads/googleads/v8/services/BUILD.bazel +--- c/google/ads/googleads/v8/services/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/ads/googleads/v8/services/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,168 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "services_proto", ++ srcs = [ ++ "accessible_bidding_strategy_service.proto", ++ "account_budget_proposal_service.proto", ++ "account_budget_service.proto", ++ "account_link_service.proto", ++ "ad_group_ad_asset_view_service.proto", ++ "ad_group_ad_label_service.proto", ++ "ad_group_ad_service.proto", ++ "ad_group_asset_service.proto", ++ "ad_group_audience_view_service.proto", ++ "ad_group_bid_modifier_service.proto", ++ "ad_group_criterion_label_service.proto", ++ "ad_group_criterion_service.proto", ++ "ad_group_criterion_simulation_service.proto", ++ "ad_group_extension_setting_service.proto", ++ "ad_group_feed_service.proto", ++ "ad_group_label_service.proto", ++ "ad_group_service.proto", ++ "ad_group_simulation_service.proto", ++ "ad_parameter_service.proto", ++ "ad_schedule_view_service.proto", ++ "ad_service.proto", ++ "age_range_view_service.proto", ++ "asset_field_type_view_service.proto", ++ "asset_service.proto", ++ "batch_job_service.proto", ++ "bidding_strategy_service.proto", ++ "bidding_strategy_simulation_service.proto", ++ "billing_setup_service.proto", ++ "campaign_asset_service.proto", ++ "campaign_audience_view_service.proto", ++ "campaign_bid_modifier_service.proto", ++ "campaign_budget_service.proto", ++ "campaign_criterion_service.proto", ++ "campaign_criterion_simulation_service.proto", ++ "campaign_draft_service.proto", ++ "campaign_experiment_service.proto", ++ "campaign_extension_setting_service.proto", ++ "campaign_feed_service.proto", ++ "campaign_label_service.proto", ++ "campaign_service.proto", ++ "campaign_shared_set_service.proto", ++ "campaign_simulation_service.proto", ++ "carrier_constant_service.proto", ++ "change_status_service.proto", ++ "click_view_service.proto", ++ "combined_audience_service.proto", ++ "conversion_action_service.proto", ++ "conversion_adjustment_upload_service.proto", ++ "conversion_custom_variable_service.proto", ++ "conversion_upload_service.proto", ++ "currency_constant_service.proto", ++ "custom_audience_service.proto", ++ "custom_interest_service.proto", ++ "customer_asset_service.proto", ++ "customer_client_link_service.proto", ++ "customer_client_service.proto", ++ "customer_extension_setting_service.proto", ++ "customer_feed_service.proto", ++ "customer_label_service.proto", ++ "customer_manager_link_service.proto", ++ "customer_negative_criterion_service.proto", ++ "customer_service.proto", ++ "customer_user_access_invitation_service.proto", ++ "customer_user_access_service.proto", ++ "detail_placement_view_service.proto", ++ "detailed_demographic_service.proto", ++ "display_keyword_view_service.proto", ++ "distance_view_service.proto", ++ "domain_category_service.proto", ++ "dynamic_search_ads_search_term_view_service.proto", ++ "expanded_landing_page_view_service.proto", ++ "extension_feed_item_service.proto", ++ "feed_item_service.proto", ++ "feed_item_set_link_service.proto", ++ "feed_item_set_service.proto", ++ "feed_item_target_service.proto", ++ "feed_mapping_service.proto", ++ "feed_placeholder_view_service.proto", ++ "feed_service.proto", ++ "gender_view_service.proto", ++ "geo_target_constant_service.proto", ++ "geographic_view_service.proto", ++ "google_ads_field_service.proto", ++ "google_ads_service.proto", ++ "group_placement_view_service.proto", ++ "hotel_group_view_service.proto", ++ "hotel_performance_view_service.proto", ++ "income_range_view_service.proto", ++ "invoice_service.proto", ++ "keyword_plan_ad_group_keyword_service.proto", ++ "keyword_plan_ad_group_service.proto", ++ "keyword_plan_campaign_keyword_service.proto", ++ "keyword_plan_campaign_service.proto", ++ "keyword_plan_idea_service.proto", ++ "keyword_plan_service.proto", ++ "keyword_theme_constant_service.proto", ++ "keyword_view_service.proto", ++ "label_service.proto", ++ "landing_page_view_service.proto", ++ "language_constant_service.proto", ++ "life_event_service.proto", ++ "location_view_service.proto", ++ "managed_placement_view_service.proto", ++ "media_file_service.proto", ++ "merchant_center_link_service.proto", ++ "mobile_app_category_constant_service.proto", ++ "mobile_device_constant_service.proto", ++ "offline_user_data_job_service.proto", ++ "operating_system_version_constant_service.proto", ++ "paid_organic_search_term_view_service.proto", ++ "parental_status_view_service.proto", ++ "payments_account_service.proto", ++ "product_bidding_category_constant_service.proto", ++ "product_group_view_service.proto", ++ "reach_plan_service.proto", ++ "recommendation_service.proto", ++ "remarketing_action_service.proto", ++ "search_term_view_service.proto", ++ "shared_criterion_service.proto", ++ "shared_set_service.proto", ++ "shopping_performance_view_service.proto", ++ "smart_campaign_search_term_view_service.proto", ++ "smart_campaign_setting_service.proto", ++ "smart_campaign_suggest_service.proto", ++ "third_party_app_analytics_link_service.proto", ++ "topic_constant_service.proto", ++ "topic_view_service.proto", ++ "user_data_service.proto", ++ "user_interest_service.proto", ++ "user_list_service.proto", ++ "user_location_view_service.proto", ++ "video_service.proto", ++ "webpage_view_service.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/ads/googleads/v8/common:common_proto", ++ "//google/ads/googleads/v8/enums:enums_proto", ++ "//google/ads/googleads/v8/resources:resources_proto", ++ "//google/api:annotations_proto", ++ "//google/longrunning:longrunning_proto", ++ "//google/rpc:status_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "services_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/ads/googleads/v8/services", ++ proto = ":services_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/ads/googleads/v8/common:common_go_proto", ++ "//google/ads/googleads/v8/enums:enums_go_proto", ++ "//google/ads/googleads/v8/resources:resources_go_proto", ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ "//google/rpc:status_go_proto", ++ ], ++) +diff -urN c/google/analytics/admin/v1alpha/BUILD.bazel d/google/analytics/admin/v1alpha/BUILD.bazel +--- c/google/analytics/admin/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/analytics/admin/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,27 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "admin_proto", ++ srcs = [ ++ "analytics_admin.proto", ++ "resources.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ "@com_google_protobuf//:wrappers_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "admin_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/analytics/admin/v1alpha", ++ proto = ":admin_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_go_proto"], ++) +diff -urN c/google/analytics/data/v1alpha/BUILD.bazel d/google/analytics/data/v1alpha/BUILD.bazel +--- c/google/analytics/data/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/analytics/data/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,21 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "data_proto", ++ srcs = [ ++ "analytics_data_api.proto", ++ "data.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_proto"], ++) ++ ++go_proto_library( ++ name = "data_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/analytics/data/v1alpha", ++ proto = ":data_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_go_proto"], ++) +diff -urN c/google/analytics/data/v1beta/BUILD.bazel d/google/analytics/data/v1beta/BUILD.bazel +--- c/google/analytics/data/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/analytics/data/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,21 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "data_proto", ++ srcs = [ ++ "analytics_data_api.proto", ++ "data.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_proto"], ++) ++ ++go_proto_library( ++ name = "data_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/analytics/data/v1beta", ++ proto = ":data_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_go_proto"], ++) +diff -urN c/google/api/BUILD.bazel d/google/api/BUILD.bazel +--- c/google/api/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/api/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,209 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "annotations_proto", ++ srcs = [ ++ "annotations.proto", ++ "client.proto", ++ "field_behavior.proto", ++ "http.proto", ++ "resource.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = ["@com_google_protobuf//:descriptor_proto"], ++) ++ ++proto_library( ++ name = "api_proto", ++ srcs = ["launch_stage.proto"], ++ visibility = ["//visibility:public"], ++) ++ ++proto_library( ++ name = "configchange_proto", ++ srcs = ["config_change.proto"], ++ visibility = ["//visibility:public"], ++) ++ ++proto_library( ++ name = "distribution_proto", ++ srcs = ["distribution.proto"], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "@com_google_protobuf//:any_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], ++) ++ ++proto_library( ++ name = "error_reason_proto", ++ srcs = ["error_reason.proto"], ++ visibility = ["//visibility:public"], ++) ++ ++proto_library( ++ name = "httpbody_proto", ++ srcs = ["httpbody.proto"], ++ visibility = ["//visibility:public"], ++ deps = ["@com_google_protobuf//:any_proto"], ++) ++ ++proto_library( ++ name = "label_proto", ++ srcs = ["label.proto"], ++ visibility = ["//visibility:public"], ++) ++ ++proto_library( ++ name = "metric_proto", ++ srcs = ["metric.proto"], ++ visibility = ["//visibility:public"], ++ deps = [ ++ ":api_proto", ++ ":label_proto", ++ "@com_google_protobuf//:duration_proto", ++ ], ++) ++ ++proto_library( ++ name = "monitoredres_proto", ++ srcs = ["monitored_resource.proto"], ++ visibility = ["//visibility:public"], ++ deps = [ ++ ":api_proto", ++ ":label_proto", ++ "@com_google_protobuf//:struct_proto", ++ ], ++) ++ ++proto_library( ++ name = "serviceconfig_proto", ++ srcs = [ ++ "auth.proto", ++ "backend.proto", ++ "billing.proto", ++ "consumer.proto", ++ "context.proto", ++ "control.proto", ++ "documentation.proto", ++ "endpoint.proto", ++ "log.proto", ++ "logging.proto", ++ "monitoring.proto", ++ "quota.proto", ++ "service.proto", ++ "source_info.proto", ++ "system_parameter.proto", ++ "usage.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ ":annotations_proto", ++ ":label_proto", ++ ":metric_proto", ++ ":monitoredres_proto", ++ "@com_google_protobuf//:any_proto", ++ "@com_google_protobuf//:api_proto", ++ "@com_google_protobuf//:type_proto", ++ "@com_google_protobuf//:wrappers_proto", ++ ], ++) ++ ++proto_library( ++ name = "visibility_proto", ++ srcs = ["visibility.proto"], ++ visibility = ["//visibility:public"], ++ deps = ["@com_google_protobuf//:descriptor_proto"], ++) ++ ++go_proto_library( ++ name = "annotations_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/api/annotations", ++ proto = ":annotations_proto", ++ visibility = ["//visibility:public"], ++) ++ ++go_proto_library( ++ name = "api_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/api", ++ proto = ":api_proto", ++ visibility = ["//visibility:public"], ++) ++ ++go_proto_library( ++ name = "configchange_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/api/configchange", ++ proto = ":configchange_proto", ++ visibility = ["//visibility:public"], ++) ++ ++go_proto_library( ++ name = "distribution_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/api/distribution", ++ proto = ":distribution_proto", ++ visibility = ["//visibility:public"], ++) ++ ++go_proto_library( ++ name = "error_reason_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/api/error_reason", + proto = ":error_reason_proto", + visibility = ["//visibility:public"], +) + +go_proto_library( -+ name = "httpbody_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/api/httpbody", -+ proto = ":httpbody_proto", ++ name = "httpbody_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/api/httpbody", ++ proto = ":httpbody_proto", ++ visibility = ["//visibility:public"], ++) ++ ++go_proto_library( ++ name = "label_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/api/label", ++ proto = ":label_proto", ++ visibility = ["//visibility:public"], ++) ++ ++go_proto_library( ++ name = "metric_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/api/metric", ++ proto = ":metric_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ ":api_go_proto", ++ ":label_go_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "monitoredres_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/api/monitoredres", ++ proto = ":monitoredres_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ ":api_go_proto", ++ ":label_go_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "serviceconfig_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/api/serviceconfig", ++ proto = ":serviceconfig_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ ":annotations_go_proto", ++ ":label_go_proto", ++ ":metric_go_proto", ++ ":monitoredres_go_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "visibility_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/api/visibility", ++ proto = ":visibility_proto", ++ visibility = ["//visibility:public"], ++) +diff -urN c/google/api/expr/v1alpha1/BUILD.bazel d/google/api/expr/v1alpha1/BUILD.bazel +--- c/google/api/expr/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/api/expr/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,52 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "confpb_proto", ++ srcs = ["conformance_service.proto"], ++ visibility = ["//visibility:public"], ++ deps = [ ++ ":expr_proto", ++ "//google/rpc:status_proto", ++ ], ++) ++ ++proto_library( ++ name = "expr_proto", ++ srcs = [ ++ "checked.proto", ++ "eval.proto", ++ "explain.proto", ++ "syntax.proto", ++ "value.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/rpc:status_proto", ++ "@com_google_protobuf//:any_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:struct_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "confpb_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/api/expr/conformance/v1alpha1", ++ proto = ":confpb_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ ":expr_go_proto", ++ "//google/rpc:status_go_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "expr_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/api/expr/v1alpha1", ++ proto = ":expr_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/rpc:status_go_proto"], ++) +diff -urN c/google/api/expr/v1beta1/BUILD.bazel d/google/api/expr/v1beta1/BUILD.bazel +--- c/google/api/expr/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/api/expr/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,27 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "expr_proto", ++ srcs = [ ++ "decl.proto", ++ "eval.proto", ++ "expr.proto", ++ "source.proto", ++ "value.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/rpc:status_proto", ++ "@com_google_protobuf//:any_proto", ++ "@com_google_protobuf//:struct_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "expr_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/api/expr/v1beta1", ++ proto = ":expr_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/rpc:status_go_proto"], ++) +diff -urN c/google/api/servicecontrol/v1/BUILD.bazel d/google/api/servicecontrol/v1/BUILD.bazel +--- c/google/api/servicecontrol/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/api/servicecontrol/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,41 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "servicecontrol_proto", ++ srcs = [ ++ "check_error.proto", ++ "distribution.proto", ++ "http_request.proto", ++ "log_entry.proto", ++ "metric_value.proto", ++ "operation.proto", ++ "quota_controller.proto", ++ "service_controller.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/api:distribution_proto", ++ "//google/logging/type:ltype_proto", ++ "//google/rpc:status_proto", ++ "@com_google_protobuf//:any_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:struct_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "servicecontrol_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/api/servicecontrol/v1", ++ proto = ":servicecontrol_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/api:distribution_go_proto", ++ "//google/logging/type:ltype_go_proto", ++ "//google/rpc:status_go_proto", ++ ], ++) +diff -urN c/google/api/servicemanagement/v1/BUILD.bazel d/google/api/servicemanagement/v1/BUILD.bazel +--- c/google/api/servicemanagement/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/api/servicemanagement/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,38 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "servicemanagement_proto", ++ srcs = [ ++ "resources.proto", ++ "servicemanager.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/api:configchange_proto", ++ "//google/api:metric_proto", ++ "//google/api:serviceconfig_proto", ++ "//google/longrunning:longrunning_proto", ++ "//google/rpc:status_proto", ++ "@com_google_protobuf//:any_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "servicemanagement_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/api/servicemanagement/v1", ++ proto = ":servicemanagement_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/api:configchange_go_proto", ++ "//google/api:metric_go_proto", ++ "//google/api:serviceconfig_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ "//google/rpc:status_go_proto", ++ ], ++) +diff -urN c/google/api/serviceusage/v1/BUILD.bazel d/google/api/serviceusage/v1/BUILD.bazel +--- c/google/api/serviceusage/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/api/serviceusage/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,32 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "serviceusage_proto", ++ srcs = [ ++ "resources.proto", ++ "serviceusage.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/api:monitoredres_proto", ++ "//google/api:serviceconfig_proto", ++ "//google/longrunning:longrunning_proto", ++ "@com_google_protobuf//:api_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "serviceusage_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/api/serviceusage/v1", ++ proto = ":serviceusage_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/api:monitoredres_go_proto", ++ "//google/api:serviceconfig_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ ], ++) +diff -urN c/google/api/serviceusage/v1beta1/BUILD.bazel d/google/api/serviceusage/v1beta1/BUILD.bazel +--- c/google/api/serviceusage/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/api/serviceusage/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,33 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "serviceusage_proto", ++ srcs = [ ++ "resources.proto", ++ "serviceusage.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/api:monitoredres_proto", ++ "//google/api:serviceconfig_proto", ++ "//google/longrunning:longrunning_proto", ++ "@com_google_protobuf//:api_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "serviceusage_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/api/serviceusage/v1beta1", ++ proto = ":serviceusage_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/api:monitoredres_go_proto", ++ "//google/api:serviceconfig_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ ], ++) +diff -urN c/google/appengine/legacy/BUILD.bazel d/google/appengine/legacy/BUILD.bazel +--- c/google/appengine/legacy/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/appengine/legacy/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,17 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "legacy_proto", ++ srcs = ["audit_data.proto"], ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_proto"], ++) ++ ++go_proto_library( ++ name = "legacy_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/appengine/legacy", ++ proto = ":legacy_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_go_proto"], ++) +diff -urN c/google/appengine/logging/v1/BUILD.bazel d/google/appengine/logging/v1/BUILD.bazel +--- c/google/appengine/logging/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/appengine/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,21 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "logging_proto", ++ srcs = ["request_log.proto"], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/logging/type:ltype_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "logging_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/appengine/logging/v1", ++ proto = ":logging_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/logging/type:ltype_go_proto"], ++) +diff -urN c/google/appengine/v1/BUILD.bazel d/google/appengine/v1/BUILD.bazel +--- c/google/appengine/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/appengine/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,45 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "appengine_proto", ++ srcs = [ ++ "app_yaml.proto", ++ "appengine.proto", ++ "application.proto", ++ "audit_data.proto", ++ "certificate.proto", ++ "deploy.proto", ++ "deployed_files.proto", ++ "domain.proto", ++ "domain_mapping.proto", ++ "firewall.proto", ++ "instance.proto", ++ "location.proto", ++ "network_settings.proto", ++ "operation.proto", ++ "service.proto", ++ "version.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/longrunning:longrunning_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "appengine_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/appengine/v1", ++ proto = ":appengine_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ ], ++) +diff -urN c/google/appengine/v1beta/BUILD.bazel d/google/appengine/v1beta/BUILD.bazel +--- c/google/appengine/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/appengine/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,44 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "appengine_proto", ++ srcs = [ ++ "app_yaml.proto", ++ "appengine.proto", ++ "application.proto", ++ "audit_data.proto", ++ "certificate.proto", ++ "deploy.proto", ++ "domain.proto", ++ "domain_mapping.proto", ++ "firewall.proto", ++ "instance.proto", ++ "location.proto", ++ "network_settings.proto", ++ "operation.proto", ++ "service.proto", ++ "version.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/longrunning:longrunning_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "appengine_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/appengine/v1beta", ++ proto = ":appengine_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ ], ++) +diff -urN c/google/apps/alertcenter/v1beta1/BUILD.bazel d/google/apps/alertcenter/v1beta1/BUILD.bazel +--- c/google/apps/alertcenter/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/apps/alertcenter/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,27 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "alertcenter_proto", ++ srcs = ["alertcenter.proto"], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/rpc:status_proto", ++ "@com_google_protobuf//:any_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "alertcenter_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/apps/alertcenter/v1beta1", ++ proto = ":alertcenter_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/rpc:status_go_proto", ++ ], ++) +diff -urN c/google/apps/drive/activity/v2/BUILD.bazel d/google/apps/drive/activity/v2/BUILD.bazel +--- c/google/apps/drive/activity/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/apps/drive/activity/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,29 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "activity_proto", ++ srcs = [ ++ "action.proto", ++ "actor.proto", ++ "common.proto", ++ "drive_activity_service.proto", ++ "query_drive_activity_request.proto", ++ "query_drive_activity_response.proto", ++ "target.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "activity_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/apps/drive/activity/v2", ++ proto = ":activity_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_go_proto"], ++) +diff -urN c/google/apps/market/v2/BUILD.bazel d/google/apps/market/v2/BUILD.bazel +--- c/google/apps/market/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/apps/market/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,21 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "marketplace_proto", ++ srcs = [ ++ "resources.proto", ++ "services.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_proto"], ++) ++ ++go_proto_library( ++ name = "marketplace_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/ccc/hosted/marketplace/v2", ++ proto = ":marketplace_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_go_proto"], ++) +diff -urN c/google/apps/script/type/BUILD.bazel d/google/apps/script/type/BUILD.bazel +--- c/google/apps/script/type/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/apps/script/type/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,23 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "type_proto", ++ srcs = [ ++ "addon_widget_set.proto", ++ "extension_point.proto", ++ "script_manifest.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "@com_google_protobuf//:struct_proto", ++ "@com_google_protobuf//:wrappers_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "type_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/apps/script/type", ++ proto = ":type_proto", ++ visibility = ["//visibility:public"], ++) +diff -urN c/google/apps/script/type/calendar/BUILD.bazel d/google/apps/script/type/calendar/BUILD.bazel +--- c/google/apps/script/type/calendar/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/apps/script/type/calendar/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,23 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "calendar_proto", ++ srcs = ["calendar_addon_manifest.proto"], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/apps/script/type:type_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "calendar_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/apps/script/type/calendar", ++ proto = ":calendar_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/apps/script/type:type_go_proto", ++ ], ++) +diff -urN c/google/apps/script/type/docs/BUILD.bazel d/google/apps/script/type/docs/BUILD.bazel +--- c/google/apps/script/type/docs/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/apps/script/type/docs/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,23 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "docs_proto", ++ srcs = ["docs_addon_manifest.proto"], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/apps/script/type:type_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "docs_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/apps/script/type/docs", ++ proto = ":docs_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/apps/script/type:type_go_proto", ++ ], ++) +diff -urN c/google/apps/script/type/drive/BUILD.bazel d/google/apps/script/type/drive/BUILD.bazel +--- c/google/apps/script/type/drive/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/apps/script/type/drive/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,17 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "drive_proto", ++ srcs = ["drive_addon_manifest.proto"], ++ visibility = ["//visibility:public"], ++ deps = ["//google/apps/script/type:type_proto"], ++) ++ ++go_proto_library( ++ name = "drive_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/apps/script/type/drive", ++ proto = ":drive_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/apps/script/type:type_go_proto"], ++) +diff -urN c/google/apps/script/type/gmail/BUILD.bazel d/google/apps/script/type/gmail/BUILD.bazel +--- c/google/apps/script/type/gmail/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/apps/script/type/gmail/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,20 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "gmail_proto", ++ srcs = ["gmail_addon_manifest.proto"], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/apps/script/type:type_proto", ++ "@com_google_protobuf//:struct_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "gmail_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/apps/script/type/gmail", ++ proto = ":gmail_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/apps/script/type:type_go_proto"], ++) +diff -urN c/google/apps/script/type/sheets/BUILD.bazel d/google/apps/script/type/sheets/BUILD.bazel +--- c/google/apps/script/type/sheets/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/apps/script/type/sheets/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,23 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "sheets_proto", ++ srcs = ["sheets_addon_manifest.proto"], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/apps/script/type:type_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "sheets_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/apps/script/type/sheets", ++ proto = ":sheets_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/apps/script/type:type_go_proto", ++ ], ++) +diff -urN c/google/apps/script/type/slides/BUILD.bazel d/google/apps/script/type/slides/BUILD.bazel +--- c/google/apps/script/type/slides/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/apps/script/type/slides/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,23 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "slides_proto", ++ srcs = ["slides_addon_manifest.proto"], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/apps/script/type:type_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "slides_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/apps/script/type/slides", ++ proto = ":slides_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/apps/script/type:type_go_proto", ++ ], ++) +diff -urN c/google/area120/tables/v1alpha1/BUILD.bazel d/google/area120/tables/v1alpha1/BUILD.bazel +--- c/google/area120/tables/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/area120/tables/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,23 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "tables_proto", ++ srcs = ["tables.proto"], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:struct_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "tables_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/area120/tables/v1alpha1", ++ proto = ":tables_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_go_proto"], ++) +diff -urN c/google/assistant/embedded/v1alpha1/BUILD.bazel d/google/assistant/embedded/v1alpha1/BUILD.bazel +--- c/google/assistant/embedded/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/assistant/embedded/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,24 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "embedded_proto", ++ srcs = ["embedded_assistant.proto"], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/rpc:status_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "embedded_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/assistant/embedded/v1alpha1", ++ proto = ":embedded_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/rpc:status_go_proto", ++ ], ++) +diff -urN c/google/assistant/embedded/v1alpha2/BUILD.bazel d/google/assistant/embedded/v1alpha2/BUILD.bazel +--- c/google/assistant/embedded/v1alpha2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/assistant/embedded/v1alpha2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,24 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "embedded_proto", ++ srcs = ["embedded_assistant.proto"], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/type:latlng_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "embedded_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/assistant/embedded/v1alpha2", ++ proto = ":embedded_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/type:latlng_go_proto", ++ ], ++) +diff -urN c/google/bigtable/admin/v2/BUILD.bazel d/google/bigtable/admin/v2/BUILD.bazel +--- c/google/bigtable/admin/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/bigtable/admin/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,38 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "admin_proto", ++ srcs = [ ++ "bigtable_instance_admin.proto", ++ "bigtable_table_admin.proto", ++ "common.proto", ++ "instance.proto", ++ "table.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/iam/v1:iam_proto", ++ "//google/longrunning:longrunning_proto", ++ "//google/rpc:status_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "admin_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/bigtable/admin/v2", ++ proto = ":admin_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/iam/v1:iam_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ "//google/rpc:status_go_proto", ++ ], ++) +diff -urN c/google/bigtable/v2/BUILD.bazel d/google/bigtable/v2/BUILD.bazel +--- c/google/bigtable/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/bigtable/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,28 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "bigtable_proto", ++ srcs = [ ++ "bigtable.proto", ++ "data.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/rpc:status_proto", ++ "@com_google_protobuf//:wrappers_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "bigtable_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/bigtable/v2", ++ proto = ":bigtable_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/rpc:status_go_proto", ++ ], ++) +diff -urN c/google/bytestream/BUILD.bazel d/google/bytestream/BUILD.bazel +--- c/google/bytestream/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/bytestream/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,21 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "bytestream_proto", ++ srcs = ["bytestream.proto"], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "@com_google_protobuf//:wrappers_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "bytestream_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/bytestream", ++ proto = ":bytestream_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_go_proto"], ++) +diff -urN c/google/chromeos/moblab/v1beta1/BUILD.bazel d/google/chromeos/moblab/v1beta1/BUILD.bazel +--- c/google/chromeos/moblab/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/chromeos/moblab/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,29 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "moblab_proto", ++ srcs = [ ++ "build_service.proto", ++ "resources.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/longrunning:longrunning_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "moblab_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/chromeos/moblab/v1beta1", ++ proto = ":moblab_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ ], ++) +diff -urN c/google/cloud/BUILD.bazel d/google/cloud/BUILD.bazel +--- c/google/cloud/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,17 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "cloud_proto", ++ srcs = ["common_resources.proto"], + visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_proto"], +) + +go_proto_library( -+ name = "label_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/api/label", -+ proto = ":label_proto", ++ name = "cloud_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud", ++ proto = ":cloud_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_go_proto"], ++) +diff -urN c/google/cloud/accessapproval/v1/BUILD.bazel d/google/cloud/accessapproval/v1/BUILD.bazel +--- c/google/cloud/accessapproval/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/accessapproval/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,23 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "accessapproval_proto", ++ srcs = ["accessapproval.proto"], + visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], +) + +go_proto_library( -+ name = "metric_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/api/metric", -+ proto = ":metric_proto", ++ name = "accessapproval_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/accessapproval/v1", ++ proto = ":accessapproval_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_go_proto"], ++) +diff -urN c/google/cloud/aiplatform/logging/BUILD.bazel d/google/cloud/aiplatform/logging/BUILD.bazel +--- c/google/cloud/aiplatform/logging/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/aiplatform/logging/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,17 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "logging_proto", ++ srcs = ["prediction.proto"], ++ visibility = ["//visibility:public"], ++ deps = ["//google/rpc:status_proto"], ++) ++ ++go_proto_library( ++ name = "logging_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/logging", ++ proto = ":logging_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/rpc:status_go_proto"], ++) +diff -urN c/google/cloud/aiplatform/v1/BUILD.bazel d/google/cloud/aiplatform/v1/BUILD.bazel +--- c/google/cloud/aiplatform/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/aiplatform/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,71 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "aiplatform_proto", ++ srcs = [ ++ "accelerator_type.proto", ++ "annotation.proto", ++ "annotation_spec.proto", ++ "batch_prediction_job.proto", ++ "completion_stats.proto", ++ "custom_job.proto", ++ "data_item.proto", ++ "data_labeling_job.proto", ++ "dataset.proto", ++ "dataset_service.proto", ++ "deployed_model_ref.proto", ++ "encryption_spec.proto", ++ "endpoint.proto", ++ "endpoint_service.proto", ++ "env_var.proto", ++ "hyperparameter_tuning_job.proto", ++ "io.proto", ++ "job_service.proto", ++ "job_state.proto", ++ "machine_resources.proto", ++ "manual_batch_tuning_parameters.proto", ++ "migratable_resource.proto", ++ "migration_service.proto", ++ "model.proto", ++ "model_evaluation.proto", ++ "model_evaluation_slice.proto", ++ "model_service.proto", ++ "operation.proto", ++ "pipeline_service.proto", ++ "pipeline_state.proto", ++ "prediction_service.proto", ++ "specialist_pool.proto", ++ "specialist_pool_service.proto", ++ "study.proto", ++ "training_pipeline.proto", ++ "user_action_reference.proto", ++ ], + visibility = ["//visibility:public"], + deps = [ -+ ":api_go_proto", -+ ":label_go_proto", ++ "//google/api:annotations_proto", ++ "//google/longrunning:longrunning_proto", ++ "//google/rpc:status_proto", ++ "//google/type:money_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:struct_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ "@com_google_protobuf//:wrappers_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "aiplatform_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1", ++ proto = ":aiplatform_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ "//google/rpc:status_go_proto", ++ "//google/type:money_go_proto", ++ ], ++) +diff -urN c/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel d/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel +--- c/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,27 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "instance_proto", ++ srcs = [ ++ "image_classification.proto", ++ "image_object_detection.proto", ++ "image_segmentation.proto", ++ "text_classification.proto", ++ "text_extraction.proto", ++ "text_sentiment.proto", ++ "video_action_recognition.proto", ++ "video_classification.proto", ++ "video_object_tracking.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_proto"], ++) ++ ++go_proto_library( ++ name = "instance_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance", ++ proto = ":instance_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_go_proto"], ++) +diff -urN c/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel d/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel +--- c/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,24 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "params_proto", ++ srcs = [ ++ "image_classification.proto", ++ "image_object_detection.proto", ++ "image_segmentation.proto", ++ "video_action_recognition.proto", ++ "video_classification.proto", ++ "video_object_tracking.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_proto"], ++) ++ ++go_proto_library( ++ name = "params_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/params", ++ proto = ":params_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_go_proto"], ++) +diff -urN c/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel d/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel +--- c/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,33 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "prediction_proto", ++ srcs = [ ++ "classification.proto", ++ "image_object_detection.proto", ++ "image_segmentation.proto", ++ "tabular_classification.proto", ++ "tabular_regression.proto", ++ "text_extraction.proto", ++ "text_sentiment.proto", ++ "video_action_recognition.proto", ++ "video_classification.proto", ++ "video_object_tracking.proto", + ], -+) -+ -+go_proto_library( -+ name = "monitoredres_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/api/monitoredres", -+ proto = ":monitoredres_proto", + visibility = ["//visibility:public"], + deps = [ -+ ":api_go_proto", -+ ":label_go_proto", ++ "//google/api:annotations_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:struct_proto", ++ "@com_google_protobuf//:wrappers_proto", + ], +) + +go_proto_library( -+ name = "serviceconfig_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/api/serviceconfig", -+ proto = ":serviceconfig_proto", ++ name = "prediction_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction", ++ proto = ":prediction_proto", + visibility = ["//visibility:public"], -+ deps = [ -+ ":annotations_go_proto", -+ ":label_go_proto", -+ ":metric_go_proto", -+ ":monitoredres_go_proto", -+ ], ++ deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/api/expr/v1alpha1/BUILD.bazel d/google/api/expr/v1alpha1/BUILD.bazel ---- c/google/api/expr/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/api/expr/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,52 @@ +diff -urN c/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel d/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel +--- c/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,29 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "confpb_proto", -+ srcs = ["conformance_service.proto"], -+ visibility = ["//visibility:public"], -+ deps = [ -+ ":expr_proto", -+ "//google/rpc:status_proto", ++ name = "definition_proto", ++ srcs = [ ++ "automl_image_classification.proto", ++ "automl_image_object_detection.proto", ++ "automl_image_segmentation.proto", ++ "automl_tables.proto", ++ "automl_text_classification.proto", ++ "automl_text_extraction.proto", ++ "automl_text_sentiment.proto", ++ "automl_video_action_recognition.proto", ++ "automl_video_classification.proto", ++ "automl_video_object_tracking.proto", ++ "export_evaluated_data_items_config.proto", + ], ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_proto"], ++) ++ ++go_proto_library( ++ name = "definition_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition", ++ proto = ":definition_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_go_proto"], +) +diff -urN c/google/cloud/aiplatform/v1beta1/BUILD.bazel d/google/cloud/aiplatform/v1beta1/BUILD.bazel +--- c/google/cloud/aiplatform/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/aiplatform/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,106 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "expr_proto", ++ name = "aiplatform_proto", + srcs = [ -+ "checked.proto", -+ "eval.proto", -+ "explain.proto", -+ "syntax.proto", ++ "accelerator_type.proto", ++ "annotation.proto", ++ "annotation_spec.proto", ++ "artifact.proto", ++ "batch_prediction_job.proto", ++ "completion_stats.proto", ++ "context.proto", ++ "custom_job.proto", ++ "data_item.proto", ++ "data_labeling_job.proto", ++ "dataset.proto", ++ "dataset_service.proto", ++ "deployed_index_ref.proto", ++ "deployed_model_ref.proto", ++ "encryption_spec.proto", ++ "endpoint.proto", ++ "endpoint_service.proto", ++ "entity_type.proto", ++ "env_var.proto", ++ "event.proto", ++ "execution.proto", ++ "explanation.proto", ++ "explanation_metadata.proto", ++ "feature.proto", ++ "feature_monitoring_stats.proto", ++ "feature_selector.proto", ++ "featurestore.proto", ++ "featurestore_monitoring.proto", ++ "featurestore_online_service.proto", ++ "featurestore_service.proto", ++ "hyperparameter_tuning_job.proto", ++ "index.proto", ++ "index_endpoint.proto", ++ "index_endpoint_service.proto", ++ "index_service.proto", ++ "io.proto", ++ "job_service.proto", ++ "job_state.proto", ++ "lineage_subgraph.proto", ++ "machine_resources.proto", ++ "manual_batch_tuning_parameters.proto", ++ "metadata_schema.proto", ++ "metadata_service.proto", ++ "metadata_store.proto", ++ "migratable_resource.proto", ++ "migration_service.proto", ++ "model.proto", ++ "model_deployment_monitoring_job.proto", ++ "model_evaluation.proto", ++ "model_evaluation_slice.proto", ++ "model_monitoring.proto", ++ "model_service.proto", ++ "operation.proto", ++ "pipeline_job.proto", ++ "pipeline_service.proto", ++ "pipeline_state.proto", ++ "prediction_service.proto", ++ "specialist_pool.proto", ++ "specialist_pool_service.proto", ++ "study.proto", ++ "tensorboard.proto", ++ "tensorboard_data.proto", ++ "tensorboard_experiment.proto", ++ "tensorboard_run.proto", ++ "tensorboard_service.proto", ++ "tensorboard_time_series.proto", ++ "training_pipeline.proto", ++ "types.proto", ++ "user_action_reference.proto", + "value.proto", ++ "vizier_service.proto", + ], + visibility = ["//visibility:public"], + deps = [ ++ "//google/api:annotations_proto", ++ "//google/longrunning:longrunning_proto", + "//google/rpc:status_proto", -+ "@com_google_protobuf//:any_proto", ++ "//google/type:money_proto", + "@com_google_protobuf//:duration_proto", + "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:struct_proto", + "@com_google_protobuf//:timestamp_proto", ++ "@com_google_protobuf//:wrappers_proto", + ], +) + +go_proto_library( -+ name = "confpb_go_proto", ++ name = "aiplatform_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/api/expr/conformance/v1alpha1", -+ proto = ":confpb_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1", ++ proto = ":aiplatform_proto", + visibility = ["//visibility:public"], + deps = [ -+ ":expr_go_proto", ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", + "//google/rpc:status_go_proto", ++ "//google/type:money_go_proto", ++ ], ++) +diff -urN c/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel d/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel +--- c/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,30 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "schema_proto", ++ srcs = [ ++ "annotation_payload.proto", ++ "annotation_spec_color.proto", ++ "data_item_payload.proto", ++ "dataset_metadata.proto", ++ "geometry.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/type:color_proto", ++ "@com_google_protobuf//:duration_proto", + ], +) + +go_proto_library( -+ name = "expr_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/api/expr/v1alpha1", -+ proto = ":expr_proto", ++ name = "schema_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema", ++ proto = ":schema_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/rpc:status_go_proto"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/type:color_go_proto", ++ ], +) -diff -urN c/google/api/expr/v1beta1/BUILD.bazel d/google/api/expr/v1beta1/BUILD.bazel ---- c/google/api/expr/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/api/expr/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +diff -urN c/google/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel d/google/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel +--- c/google/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,27 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "expr_proto", ++ name = "instance_proto", + srcs = [ -+ "decl.proto", -+ "eval.proto", -+ "expr.proto", -+ "source.proto", -+ "value.proto", ++ "image_classification.proto", ++ "image_object_detection.proto", ++ "image_segmentation.proto", ++ "text_classification.proto", ++ "text_extraction.proto", ++ "text_sentiment.proto", ++ "video_action_recognition.proto", ++ "video_classification.proto", ++ "video_object_tracking.proto", + ], + visibility = ["//visibility:public"], -+ deps = [ -+ "//google/rpc:status_proto", -+ "@com_google_protobuf//:any_proto", -+ "@com_google_protobuf//:struct_proto", -+ ], ++ deps = ["//google/api:annotations_proto"], +) + +go_proto_library( -+ name = "expr_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/api/expr/v1beta1", -+ proto = ":expr_proto", ++ name = "instance_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance", ++ proto = ":instance_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/rpc:status_go_proto"], ++ deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/api/servicecontrol/v1/BUILD.bazel d/google/api/servicecontrol/v1/BUILD.bazel ---- c/google/api/servicecontrol/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/api/servicecontrol/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,39 @@ +diff -urN c/google/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel d/google/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel +--- c/google/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,24 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "servicecontrol_proto", ++ name = "params_proto", + srcs = [ -+ "check_error.proto", -+ "distribution.proto", -+ "http_request.proto", -+ "log_entry.proto", -+ "metric_value.proto", -+ "operation.proto", -+ "quota_controller.proto", -+ "service_controller.proto", ++ "image_classification.proto", ++ "image_object_detection.proto", ++ "image_segmentation.proto", ++ "video_action_recognition.proto", ++ "video_classification.proto", ++ "video_object_tracking.proto", + ], + visibility = ["//visibility:public"], -+ deps = [ -+ "//google/api:annotations_proto", -+ "//google/logging/type:ltype_proto", -+ "//google/rpc:status_proto", -+ "@com_google_protobuf//:any_proto", -+ "@com_google_protobuf//:duration_proto", -+ "@com_google_protobuf//:struct_proto", -+ "@com_google_protobuf//:timestamp_proto", -+ ], ++ deps = ["//google/api:annotations_proto"], +) + +go_proto_library( -+ name = "servicecontrol_go_proto", -+ compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/api/servicecontrol/v1", -+ proto = ":servicecontrol_proto", ++ name = "params_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/params", ++ proto = ":params_proto", + visibility = ["//visibility:public"], -+ deps = [ -+ "//google/api:annotations_go_proto", -+ "//google/logging/type:ltype_go_proto", -+ "//google/rpc:status_go_proto", -+ ], ++ deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/api/servicemanagement/v1/BUILD.bazel d/google/api/servicemanagement/v1/BUILD.bazel ---- c/google/api/servicemanagement/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/api/servicemanagement/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,38 @@ +diff -urN c/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel d/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel +--- c/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,34 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "servicemanagement_proto", ++ name = "prediction_proto", + srcs = [ -+ "resources.proto", -+ "servicemanager.proto", ++ "classification.proto", ++ "image_object_detection.proto", ++ "image_segmentation.proto", ++ "tabular_classification.proto", ++ "tabular_regression.proto", ++ "text_extraction.proto", ++ "text_sentiment.proto", ++ "time_series_forecasting.proto", ++ "video_action_recognition.proto", ++ "video_classification.proto", ++ "video_object_tracking.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/api:configchange_proto", -+ "//google/api:metric_proto", -+ "//google/api:serviceconfig_proto", -+ "//google/longrunning:longrunning_proto", -+ "//google/rpc:status_proto", -+ "@com_google_protobuf//:any_proto", -+ "@com_google_protobuf//:field_mask_proto", -+ "@com_google_protobuf//:timestamp_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:struct_proto", ++ "@com_google_protobuf//:wrappers_proto", + ], +) + +go_proto_library( -+ name = "servicemanagement_go_proto", -+ compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/api/servicemanagement/v1", -+ proto = ":servicemanagement_proto", ++ name = "prediction_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction", ++ proto = ":prediction_proto", + visibility = ["//visibility:public"], -+ deps = [ -+ "//google/api:annotations_go_proto", -+ "//google/api:configchange_go_proto", -+ "//google/api:metric_go_proto", -+ "//google/api:serviceconfig_go_proto", -+ "//google/longrunning:longrunning_go_proto", -+ "//google/rpc:status_go_proto", -+ ], ++ deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/appengine/legacy/BUILD.bazel d/google/appengine/legacy/BUILD.bazel ---- c/google/appengine/legacy/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/appengine/legacy/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,17 @@ +diff -urN c/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel d/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel +--- c/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,30 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "legacy_proto", -+ srcs = ["audit_data.proto"], ++ name = "definition_proto", ++ srcs = [ ++ "automl_image_classification.proto", ++ "automl_image_object_detection.proto", ++ "automl_image_segmentation.proto", ++ "automl_tables.proto", ++ "automl_text_classification.proto", ++ "automl_text_extraction.proto", ++ "automl_text_sentiment.proto", ++ "automl_time_series_forecasting.proto", ++ "automl_video_action_recognition.proto", ++ "automl_video_classification.proto", ++ "automl_video_object_tracking.proto", ++ "export_evaluated_data_items_config.proto", ++ ], + visibility = ["//visibility:public"], + deps = ["//google/api:annotations_proto"], +) + +go_proto_library( -+ name = "legacy_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/appengine/legacy", -+ proto = ":legacy_proto", ++ name = "definition_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition", ++ proto = ":definition_proto", + visibility = ["//visibility:public"], + deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/appengine/logging/v1/BUILD.bazel d/google/appengine/logging/v1/BUILD.bazel ---- c/google/appengine/logging/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/appengine/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,21 @@ +diff -urN c/google/cloud/apigateway/v1/BUILD.bazel d/google/cloud/apigateway/v1/BUILD.bazel +--- c/google/cloud/apigateway/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/apigateway/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,29 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "logging_proto", -+ srcs = ["request_log.proto"], ++ name = "apigateway_proto", ++ srcs = [ ++ "apigateway.proto", ++ "apigateway_service.proto", ++ ], + visibility = ["//visibility:public"], + deps = [ -+ "//google/logging/type:ltype_proto", -+ "@com_google_protobuf//:duration_proto", ++ "//google/api:annotations_proto", ++ "//google/longrunning:longrunning_proto", ++ "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "logging_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/appengine/logging/v1", -+ proto = ":logging_proto", ++ name = "apigateway_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/apigateway/v1", ++ proto = ":apigateway_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/logging/type:ltype_go_proto"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ ], +) -diff -urN c/google/appengine/v1/BUILD.bazel d/google/appengine/v1/BUILD.bazel ---- c/google/appengine/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/appengine/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,45 @@ +diff -urN c/google/cloud/apigeeconnect/v1/BUILD.bazel d/google/cloud/apigeeconnect/v1/BUILD.bazel +--- c/google/cloud/apigeeconnect/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/apigeeconnect/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,28 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "appengine_proto", ++ name = "apigeeconnect_proto", + srcs = [ -+ "app_yaml.proto", -+ "appengine.proto", -+ "application.proto", -+ "audit_data.proto", -+ "certificate.proto", -+ "deploy.proto", -+ "deployed_files.proto", -+ "domain.proto", -+ "domain_mapping.proto", -+ "firewall.proto", -+ "instance.proto", -+ "location.proto", -+ "network_settings.proto", -+ "operation.proto", -+ "service.proto", -+ "version.proto", ++ "connection.proto", ++ "tether.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/longrunning:longrunning_proto", ++ "//google/rpc:status_proto", + "@com_google_protobuf//:duration_proto", -+ "@com_google_protobuf//:empty_proto", -+ "@com_google_protobuf//:field_mask_proto", -+ "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "appengine_go_proto", ++ name = "apigeeconnect_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/appengine/v1", -+ proto = ":appengine_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/apigeeconnect/v1", ++ proto = ":apigeeconnect_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/longrunning:longrunning_go_proto", ++ "//google/rpc:status_go_proto", + ], +) -diff -urN c/google/appengine/v1beta/BUILD.bazel d/google/appengine/v1beta/BUILD.bazel ---- c/google/appengine/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/appengine/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +diff -urN c/google/cloud/asset/v1/BUILD.bazel d/google/cloud/asset/v1/BUILD.bazel +--- c/google/cloud/asset/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/asset/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,45 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "appengine_proto", ++ name = "asset_proto", + srcs = [ -+ "app_yaml.proto", -+ "appengine.proto", -+ "application.proto", -+ "audit_data.proto", -+ "certificate.proto", -+ "deploy.proto", -+ "deployed_files.proto", -+ "domain.proto", -+ "domain_mapping.proto", -+ "firewall.proto", -+ "instance.proto", -+ "location.proto", -+ "network_settings.proto", -+ "operation.proto", -+ "service.proto", -+ "version.proto", ++ "asset_service.proto", ++ "assets.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", ++ "//google/cloud/orgpolicy/v1:orgpolicy_proto", ++ "//google/cloud/osconfig/v1:osconfig_proto", ++ "//google/iam/v1:iam_proto", ++ "//google/identity/accesscontextmanager/v1:accesscontextmanager_proto", + "//google/longrunning:longrunning_proto", ++ "//google/rpc:code_proto", ++ "//google/type:expr_proto", ++ "@com_google_protobuf//:any_proto", + "@com_google_protobuf//:duration_proto", + "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:struct_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "appengine_go_proto", ++ name = "asset_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/appengine/v1beta", -+ proto = ":appengine_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/asset/v1", ++ proto = ":asset_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", ++ "//google/cloud/orgpolicy/v1:orgpolicy_go_proto", ++ "//google/cloud/osconfig/v1:osconfig_go_proto", ++ "//google/iam/v1:iam_go_proto", ++ "//google/identity/accesscontextmanager/v1:accesscontextmanager_go_proto", + "//google/longrunning:longrunning_go_proto", ++ "//google/rpc:code_go_proto", ++ "//google/type:expr_go_proto", + ], +) -diff -urN c/google/apps/drive/activity/v2/BUILD.bazel d/google/apps/drive/activity/v2/BUILD.bazel ---- c/google/apps/drive/activity/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/apps/drive/activity/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,29 @@ +diff -urN c/google/cloud/asset/v1p1beta1/BUILD.bazel d/google/cloud/asset/v1p1beta1/BUILD.bazel +--- c/google/cloud/asset/v1p1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/asset/v1p1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,27 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "activity_proto", ++ name = "asset_proto", + srcs = [ -+ "action.proto", -+ "actor.proto", -+ "common.proto", -+ "drive_activity_service.proto", -+ "query_drive_activity_request.proto", -+ "query_drive_activity_response.proto", -+ "target.proto", ++ "asset_service.proto", ++ "assets.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "@com_google_protobuf//:timestamp_proto", ++ "//google/iam/v1:iam_proto", + ], +) + +go_proto_library( -+ name = "activity_go_proto", ++ name = "asset_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/apps/drive/activity/v2", -+ proto = ":activity_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/asset/v1p1beta1", ++ proto = ":asset_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_go_proto"], -+) -diff -urN c/google/apps/market/v2/BUILD.bazel d/google/apps/market/v2/BUILD.bazel ---- c/google/apps/market/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/apps/market/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,21 @@ -+load("@rules_proto//proto:defs.bzl", "proto_library") -+load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") -+ -+proto_library( -+ name = "marketplace_proto", -+ srcs = [ -+ "resources.proto", -+ "services.proto", ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/iam/v1:iam_go_proto", + ], -+ visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_proto"], -+) -+ -+go_proto_library( -+ name = "marketplace_go_proto", -+ compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/ccc/hosted/marketplace/v2", -+ proto = ":marketplace_proto", -+ visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/apps/script/type/BUILD.bazel d/google/apps/script/type/BUILD.bazel ---- c/google/apps/script/type/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/apps/script/type/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,23 @@ +diff -urN c/google/cloud/asset/v1p2beta1/BUILD.bazel d/google/cloud/asset/v1p2beta1/BUILD.bazel +--- c/google/cloud/asset/v1p2beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/asset/v1p2beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,34 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "type_proto", ++ name = "asset_proto", + srcs = [ -+ "addon_widget_set.proto", -+ "extension_point.proto", -+ "script_manifest.proto", ++ "asset_service.proto", ++ "assets.proto", + ], + visibility = ["//visibility:public"], + deps = [ ++ "//google/api:annotations_proto", ++ "//google/iam/v1:iam_proto", ++ "//google/longrunning:longrunning_proto", ++ "@com_google_protobuf//:any_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:struct_proto", -+ "@com_google_protobuf//:wrappers_proto", ++ "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "type_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/apps/script/type", -+ proto = ":type_proto", ++ name = "asset_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/asset/v1p2beta1", ++ proto = ":asset_proto", + visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/iam/v1:iam_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ ], +) -diff -urN c/google/apps/script/type/calendar/BUILD.bazel d/google/apps/script/type/calendar/BUILD.bazel ---- c/google/apps/script/type/calendar/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/apps/script/type/calendar/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,23 @@ +diff -urN c/google/cloud/asset/v1p4beta1/BUILD.bazel d/google/cloud/asset/v1p4beta1/BUILD.bazel +--- c/google/cloud/asset/v1p4beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/asset/v1p4beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,32 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "calendar_proto", -+ srcs = ["calendar_addon_manifest.proto"], ++ name = "asset_proto", ++ srcs = [ ++ "asset_service.proto", ++ "assets.proto", ++ ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/apps/script/type:type_proto", ++ "//google/iam/v1:iam_proto", ++ "//google/longrunning:longrunning_proto", ++ "//google/rpc:code_proto", ++ "@com_google_protobuf//:duration_proto", + ], +) + +go_proto_library( -+ name = "calendar_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/apps/script/type/calendar", -+ proto = ":calendar_proto", ++ name = "asset_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/asset/v1p4beta1", ++ proto = ":asset_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/apps/script/type:type_go_proto", ++ "//google/iam/v1:iam_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ "//google/rpc:code_go_proto", + ], +) -diff -urN c/google/apps/script/type/docs/BUILD.bazel d/google/apps/script/type/docs/BUILD.bazel ---- c/google/apps/script/type/docs/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/apps/script/type/docs/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,23 @@ +diff -urN c/google/cloud/asset/v1p5beta1/BUILD.bazel d/google/cloud/asset/v1p5beta1/BUILD.bazel +--- c/google/cloud/asset/v1p5beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/asset/v1p5beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,34 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "docs_proto", -+ srcs = ["docs_addon_manifest.proto"], ++ name = "asset_proto", ++ srcs = [ ++ "asset_service.proto", ++ "assets.proto", ++ ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/apps/script/type:type_proto", ++ "//google/cloud/orgpolicy/v1:orgpolicy_proto", ++ "//google/iam/v1:iam_proto", ++ "//google/identity/accesscontextmanager/v1:accesscontextmanager_proto", ++ "@com_google_protobuf//:any_proto", ++ "@com_google_protobuf//:struct_proto", ++ "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "docs_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/apps/script/type/docs", -+ proto = ":docs_proto", ++ name = "asset_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/asset/v1p5beta1", ++ proto = ":asset_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/apps/script/type:type_go_proto", ++ "//google/cloud/orgpolicy/v1:orgpolicy_go_proto", ++ "//google/iam/v1:iam_go_proto", ++ "//google/identity/accesscontextmanager/v1:accesscontextmanager_go_proto", + ], +) -diff -urN c/google/apps/script/type/drive/BUILD.bazel d/google/apps/script/type/drive/BUILD.bazel ---- c/google/apps/script/type/drive/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/apps/script/type/drive/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,17 @@ +diff -urN c/google/cloud/asset/v1p7beta1/BUILD.bazel d/google/cloud/asset/v1p7beta1/BUILD.bazel +--- c/google/cloud/asset/v1p7beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/asset/v1p7beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,40 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "drive_proto", -+ srcs = ["drive_addon_manifest.proto"], ++ name = "asset_proto", ++ srcs = [ ++ "asset_service.proto", ++ "assets.proto", ++ ], + visibility = ["//visibility:public"], -+ deps = ["//google/apps/script/type:type_proto"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/cloud/orgpolicy/v1:orgpolicy_proto", ++ "//google/cloud/osconfig/v1:osconfig_proto", ++ "//google/iam/v1:iam_proto", ++ "//google/identity/accesscontextmanager/v1:accesscontextmanager_proto", ++ "//google/longrunning:longrunning_proto", ++ "@com_google_protobuf//:any_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:struct_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], +) + +go_proto_library( -+ name = "drive_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/apps/script/type/drive", -+ proto = ":drive_proto", ++ name = "asset_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/asset/v1p7beta1", ++ proto = ":asset_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/apps/script/type:type_go_proto"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/cloud/orgpolicy/v1:orgpolicy_go_proto", ++ "//google/cloud/osconfig/v1:osconfig_go_proto", ++ "//google/iam/v1:iam_go_proto", ++ "//google/identity/accesscontextmanager/v1:accesscontextmanager_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ ], +) -diff -urN c/google/apps/script/type/gmail/BUILD.bazel d/google/apps/script/type/gmail/BUILD.bazel ---- c/google/apps/script/type/gmail/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/apps/script/type/gmail/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,20 @@ +diff -urN c/google/cloud/assuredworkloads/v1beta1/BUILD.bazel d/google/cloud/assuredworkloads/v1beta1/BUILD.bazel +--- c/google/cloud/assuredworkloads/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/assuredworkloads/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,28 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "gmail_proto", -+ srcs = ["gmail_addon_manifest.proto"], ++ name = "assuredworkloads_proto", ++ srcs = ["assuredworkloads_v1beta1.proto"], + visibility = ["//visibility:public"], + deps = [ -+ "//google/apps/script/type:type_proto", -+ "@com_google_protobuf//:struct_proto", ++ "//google/api:annotations_proto", ++ "//google/longrunning:longrunning_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "gmail_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/apps/script/type/gmail", -+ proto = ":gmail_proto", ++ name = "assuredworkloads_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/assuredworkloads/v1beta1", ++ proto = ":assuredworkloads_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/apps/script/type:type_go_proto"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ ], +) -diff -urN c/google/apps/script/type/sheets/BUILD.bazel d/google/apps/script/type/sheets/BUILD.bazel ---- c/google/apps/script/type/sheets/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/apps/script/type/sheets/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,23 @@ +diff -urN c/google/cloud/audit/BUILD.bazel d/google/cloud/audit/BUILD.bazel +--- c/google/cloud/audit/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/audit/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,25 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "sheets_proto", -+ srcs = ["sheets_addon_manifest.proto"], ++ name = "audit_proto", ++ srcs = ["audit_log.proto"], + visibility = ["//visibility:public"], + deps = [ -+ "//google/api:annotations_proto", -+ "//google/apps/script/type:type_proto", ++ "//google/rpc:status_proto", ++ "//google/rpc/context:attribute_context_proto", ++ "@com_google_protobuf//:any_proto", ++ "@com_google_protobuf//:struct_proto", + ], +) + +go_proto_library( -+ name = "sheets_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/apps/script/type/sheets", -+ proto = ":sheets_proto", ++ name = "audit_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/audit", ++ proto = ":audit_proto", + visibility = ["//visibility:public"], + deps = [ -+ "//google/api:annotations_go_proto", -+ "//google/apps/script/type:type_go_proto", ++ "//google/rpc:status_go_proto", ++ "//google/rpc/context:attribute_context_go_proto", + ], +) -diff -urN c/google/apps/script/type/slides/BUILD.bazel d/google/apps/script/type/slides/BUILD.bazel ---- c/google/apps/script/type/slides/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/apps/script/type/slides/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,23 @@ +diff -urN c/google/cloud/automl/v1/BUILD.bazel d/google/cloud/automl/v1/BUILD.bazel +--- c/google/cloud/automl/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/automl/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,51 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "slides_proto", -+ srcs = ["slides_addon_manifest.proto"], ++ name = "automl_proto", ++ srcs = [ ++ "annotation_payload.proto", ++ "annotation_spec.proto", ++ "classification.proto", ++ "data_items.proto", ++ "dataset.proto", ++ "detection.proto", ++ "geometry.proto", ++ "image.proto", ++ "io.proto", ++ "model.proto", ++ "model_evaluation.proto", ++ "operations.proto", ++ "prediction_service.proto", ++ "service.proto", ++ "text.proto", ++ "text_extraction.proto", ++ "text_segment.proto", ++ "text_sentiment.proto", ++ "translation.proto", ++ ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/apps/script/type:type_proto", ++ "//google/longrunning:longrunning_proto", ++ "//google/rpc:status_proto", ++ "@com_google_protobuf//:any_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:struct_proto", ++ "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "slides_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/apps/script/type/slides", -+ proto = ":slides_proto", ++ name = "automl_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/automl/v1", ++ proto = ":automl_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/apps/script/type:type_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ "//google/rpc:status_go_proto", + ], +) -diff -urN c/google/area120/tables/v1alpha1/BUILD.bazel d/google/area120/tables/v1alpha1/BUILD.bazel ---- c/google/area120/tables/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/area120/tables/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,23 @@ +diff -urN c/google/cloud/automl/v1beta1/BUILD.bazel d/google/cloud/automl/v1beta1/BUILD.bazel +--- c/google/cloud/automl/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/automl/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,61 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "tables_proto", -+ srcs = ["tables.proto"], ++ name = "automl_proto", ++ srcs = [ ++ "annotation_payload.proto", ++ "annotation_spec.proto", ++ "classification.proto", ++ "column_spec.proto", ++ "data_items.proto", ++ "data_stats.proto", ++ "data_types.proto", ++ "dataset.proto", ++ "detection.proto", ++ "geometry.proto", ++ "image.proto", ++ "io.proto", ++ "model.proto", ++ "model_evaluation.proto", ++ "operations.proto", ++ "prediction_service.proto", ++ "ranges.proto", ++ "regression.proto", ++ "service.proto", ++ "table_spec.proto", ++ "tables.proto", ++ "temporal.proto", ++ "text.proto", ++ "text_extraction.proto", ++ "text_segment.proto", ++ "text_sentiment.proto", ++ "translation.proto", ++ "video.proto", ++ ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", ++ "//google/longrunning:longrunning_proto", ++ "//google/rpc:status_proto", ++ "@com_google_protobuf//:any_proto", ++ "@com_google_protobuf//:duration_proto", + "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:struct_proto", ++ "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "tables_go_proto", ++ name = "automl_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/area120/tables/v1alpha1", -+ proto = ":tables_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1", ++ proto = ":automl_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_go_proto"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ "//google/rpc:status_go_proto", ++ ], +) -diff -urN c/google/assistant/embedded/v1alpha1/BUILD.bazel d/google/assistant/embedded/v1alpha1/BUILD.bazel ---- c/google/assistant/embedded/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/assistant/embedded/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,24 @@ +diff -urN c/google/cloud/bigquery/connection/v1/BUILD.bazel d/google/cloud/bigquery/connection/v1/BUILD.bazel +--- c/google/cloud/bigquery/connection/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/bigquery/connection/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,27 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "embedded_proto", -+ srcs = ["embedded_assistant.proto"], ++ name = "connection_proto", ++ srcs = ["connection.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/rpc:status_proto", ++ "//google/iam/v1:iam_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:wrappers_proto", + ], +) + +go_proto_library( -+ name = "embedded_go_proto", ++ name = "connection_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/assistant/embedded/v1alpha1", -+ proto = ":embedded_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/connection/v1", ++ proto = ":connection_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/rpc:status_go_proto", ++ "//google/iam/v1:iam_go_proto", + ], +) -diff -urN c/google/assistant/embedded/v1alpha2/BUILD.bazel d/google/assistant/embedded/v1alpha2/BUILD.bazel ---- c/google/assistant/embedded/v1alpha2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/assistant/embedded/v1alpha2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,24 @@ +diff -urN c/google/cloud/bigquery/connection/v1beta1/BUILD.bazel d/google/cloud/bigquery/connection/v1beta1/BUILD.bazel +--- c/google/cloud/bigquery/connection/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/bigquery/connection/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,27 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "embedded_proto", -+ srcs = ["embedded_assistant.proto"], ++ name = "connection_proto", ++ srcs = ["connection.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/type:latlng_proto", ++ "//google/iam/v1:iam_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:wrappers_proto", + ], +) + +go_proto_library( -+ name = "embedded_go_proto", ++ name = "connection_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/assistant/embedded/v1alpha2", -+ proto = ":embedded_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/connection/v1beta1", ++ proto = ":connection_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/type:latlng_go_proto", ++ "//google/iam/v1:iam_go_proto", + ], +) -diff -urN c/google/bigtable/admin/cluster/v1/BUILD.bazel d/google/bigtable/admin/cluster/v1/BUILD.bazel ---- c/google/bigtable/admin/cluster/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/bigtable/admin/cluster/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,30 @@ +diff -urN c/google/cloud/bigquery/datatransfer/v1/BUILD.bazel d/google/cloud/bigquery/datatransfer/v1/BUILD.bazel +--- c/google/cloud/bigquery/datatransfer/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/bigquery/datatransfer/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,33 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "cluster_proto", ++ name = "datatransfer_proto", + srcs = [ -+ "bigtable_cluster_data.proto", -+ "bigtable_cluster_service.proto", -+ "bigtable_cluster_service_messages.proto", ++ "datatransfer.proto", ++ "transfer.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/longrunning:longrunning_proto", ++ "//google/rpc:status_proto", ++ "@com_google_protobuf//:duration_proto", + "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:struct_proto", + "@com_google_protobuf//:timestamp_proto", ++ "@com_google_protobuf//:wrappers_proto", + ], +) + +go_proto_library( -+ name = "cluster_go_proto", ++ name = "datatransfer_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1", -+ proto = ":cluster_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1", ++ proto = ":datatransfer_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/longrunning:longrunning_go_proto", ++ "//google/rpc:status_go_proto", + ], +) -diff -urN c/google/bigtable/admin/table/v1/BUILD.bazel d/google/bigtable/admin/table/v1/BUILD.bazel ---- c/google/bigtable/admin/table/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/bigtable/admin/table/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,30 @@ +diff -urN c/google/cloud/bigquery/logging/v1/BUILD.bazel d/google/cloud/bigquery/logging/v1/BUILD.bazel +--- c/google/cloud/bigquery/logging/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/bigquery/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,25 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "table_proto", -+ srcs = [ -+ "bigtable_table_data.proto", -+ "bigtable_table_service.proto", -+ "bigtable_table_service_messages.proto", -+ ], ++ name = "logging_proto", ++ srcs = ["audit_data.proto"], + visibility = ["//visibility:public"], + deps = [ -+ "//google/api:annotations_proto", -+ "//google/longrunning:longrunning_proto", ++ "//google/iam/v1:iam_proto", ++ "//google/rpc:status_proto", + "@com_google_protobuf//:duration_proto", -+ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "table_go_proto", -+ compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/bigtable/admin/table/v1", -+ proto = ":table_proto", ++ name = "logging_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/logging/v1", ++ proto = ":logging_proto", + visibility = ["//visibility:public"], + deps = [ -+ "//google/api:annotations_go_proto", -+ "//google/longrunning:longrunning_go_proto", ++ "//google/iam/v1:iam_go_proto", ++ "//google/rpc:status_go_proto", + ], +) -diff -urN c/google/bigtable/admin/v2/BUILD.bazel d/google/bigtable/admin/v2/BUILD.bazel ---- c/google/bigtable/admin/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/bigtable/admin/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,38 @@ +diff -urN c/google/cloud/bigquery/migration/v2alpha/BUILD.bazel d/google/cloud/bigquery/migration/v2alpha/BUILD.bazel +--- c/google/cloud/bigquery/migration/v2alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/bigquery/migration/v2alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,37 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "admin_proto", ++ name = "migration_proto", + srcs = [ -+ "bigtable_instance_admin.proto", -+ "bigtable_table_admin.proto", -+ "common.proto", -+ "instance.proto", -+ "table.proto", ++ "migration_entities.proto", ++ "migration_error_details.proto", ++ "migration_metrics.proto", ++ "migration_service.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/iam/v1:iam_proto", -+ "//google/longrunning:longrunning_proto", -+ "//google/rpc:status_proto", -+ "@com_google_protobuf//:duration_proto", ++ "//google/api:distribution_proto", ++ "//google/api:metric_proto", ++ "//google/rpc:errdetails_proto", ++ "@com_google_protobuf//:any_proto", + "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", @@ -3619,901 +6592,979 @@ diff -urN c/google/bigtable/admin/v2/BUILD.bazel d/google/bigtable/admin/v2/BUIL +) + +go_proto_library( -+ name = "admin_go_proto", ++ name = "migration_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/bigtable/admin/v2", -+ proto = ":admin_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/migration/v2alpha", ++ proto = ":migration_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/iam/v1:iam_go_proto", -+ "//google/longrunning:longrunning_go_proto", -+ "//google/rpc:status_go_proto", ++ "//google/api:distribution_go_proto", ++ "//google/api:metric_go_proto", ++ "//google/rpc:errdetails_go_proto", + ], +) -diff -urN c/google/bigtable/v1/BUILD.bazel d/google/bigtable/v1/BUILD.bazel ---- c/google/bigtable/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/bigtable/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,29 @@ +diff -urN c/google/cloud/bigquery/reservation/v1/BUILD.bazel d/google/cloud/bigquery/reservation/v1/BUILD.bazel +--- c/google/cloud/bigquery/reservation/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/bigquery/reservation/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,27 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "bigtable_proto", -+ srcs = [ -+ "bigtable_data.proto", -+ "bigtable_service.proto", -+ "bigtable_service_messages.proto", -+ ], ++ name = "reservation_proto", ++ srcs = ["reservation.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", + "//google/rpc:status_proto", + "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "bigtable_go_proto", ++ name = "reservation_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/bigtable/v1", -+ proto = ":bigtable_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/reservation/v1", ++ proto = ":reservation_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", + "//google/rpc:status_go_proto", + ], +) -diff -urN c/google/bigtable/v2/BUILD.bazel d/google/bigtable/v2/BUILD.bazel ---- c/google/bigtable/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/bigtable/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,28 @@ +diff -urN c/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel d/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel +--- c/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,27 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "bigtable_proto", -+ srcs = [ -+ "bigtable.proto", -+ "data.proto", -+ ], ++ name = "reservation_proto", ++ srcs = ["reservation.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", + "//google/rpc:status_proto", -+ "@com_google_protobuf//:wrappers_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "bigtable_go_proto", ++ name = "reservation_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/bigtable/v2", -+ proto = ":bigtable_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/reservation/v1beta1", ++ proto = ":reservation_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", + "//google/rpc:status_go_proto", + ], +) -diff -urN c/google/bytestream/BUILD.bazel d/google/bytestream/BUILD.bazel ---- c/google/bytestream/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/bytestream/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,21 @@ +diff -urN c/google/cloud/bigquery/storage/v1/BUILD.bazel d/google/cloud/bigquery/storage/v1/BUILD.bazel +--- c/google/cloud/bigquery/storage/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/bigquery/storage/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,26 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "bytestream_proto", -+ srcs = ["bytestream.proto"], ++ name = "storage_proto", ++ srcs = [ ++ "arrow.proto", ++ "avro.proto", ++ "storage.proto", ++ "stream.proto", ++ ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "@com_google_protobuf//:wrappers_proto", ++ "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "bytestream_go_proto", ++ name = "storage_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/bytestream", -+ proto = ":bytestream_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1", ++ proto = ":storage_proto", + visibility = ["//visibility:public"], + deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/chromeos/moblab/v1beta1/BUILD.bazel d/google/chromeos/moblab/v1beta1/BUILD.bazel ---- c/google/chromeos/moblab/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/chromeos/moblab/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,29 @@ +diff -urN c/google/cloud/bigquery/storage/v1beta1/BUILD.bazel d/google/cloud/bigquery/storage/v1beta1/BUILD.bazel +--- c/google/cloud/bigquery/storage/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/bigquery/storage/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,28 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "moblab_proto", ++ name = "storage_proto", + srcs = [ -+ "build_service.proto", -+ "resources.proto", ++ "arrow.proto", ++ "avro.proto", ++ "read_options.proto", ++ "storage.proto", ++ "table_reference.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/longrunning:longrunning_proto", -+ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "moblab_go_proto", ++ name = "storage_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/chromeos/moblab/v1beta1", -+ proto = ":moblab_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1", ++ proto = ":storage_proto", + visibility = ["//visibility:public"], -+ deps = [ -+ "//google/api:annotations_go_proto", -+ "//google/longrunning:longrunning_go_proto", -+ ], ++ deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/cloud/BUILD.bazel d/google/cloud/BUILD.bazel ---- c/google/cloud/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,17 @@ +diff -urN c/google/cloud/bigquery/storage/v1beta2/BUILD.bazel d/google/cloud/bigquery/storage/v1beta2/BUILD.bazel +--- c/google/cloud/bigquery/storage/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/bigquery/storage/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,34 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "cloud_proto", -+ srcs = ["common_resources.proto"], ++ name = "storage_proto", ++ srcs = [ ++ "arrow.proto", ++ "avro.proto", ++ "protobuf.proto", ++ "storage.proto", ++ "stream.proto", ++ "table.proto", ++ ], + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_proto"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/rpc:status_proto", ++ "@com_google_protobuf//:descriptor_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ "@com_google_protobuf//:wrappers_proto", ++ ], +) + +go_proto_library( -+ name = "cloud_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/cloud", -+ proto = ":cloud_proto", ++ name = "storage_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta2", ++ proto = ":storage_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_go_proto"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/rpc:status_go_proto", ++ ], +) -diff -urN c/google/cloud/accessapproval/v1/BUILD.bazel d/google/cloud/accessapproval/v1/BUILD.bazel ---- c/google/cloud/accessapproval/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/accessapproval/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,23 @@ +diff -urN c/google/cloud/bigquery/v2/BUILD.bazel d/google/cloud/bigquery/v2/BUILD.bazel +--- c/google/cloud/bigquery/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/bigquery/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,29 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "accessapproval_proto", -+ srcs = ["accessapproval.proto"], ++ name = "bigquery_proto", ++ srcs = [ ++ "encryption_config.proto", ++ "model.proto", ++ "model_reference.proto", ++ "standard_sql.proto", ++ "table_reference.proto", ++ ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", + "@com_google_protobuf//:empty_proto", -+ "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", ++ "@com_google_protobuf//:wrappers_proto", + ], +) + +go_proto_library( -+ name = "accessapproval_go_proto", ++ name = "bigquery_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/accessapproval/v1", -+ proto = ":accessapproval_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/v2", ++ proto = ":bigquery_proto", + visibility = ["//visibility:public"], + deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/cloud/aiplatform/logging/BUILD.bazel d/google/cloud/aiplatform/logging/BUILD.bazel ---- c/google/cloud/aiplatform/logging/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/aiplatform/logging/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,17 @@ +diff -urN c/google/cloud/billing/budgets/v1/BUILD.bazel d/google/cloud/billing/budgets/v1/BUILD.bazel +--- c/google/cloud/billing/budgets/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/billing/budgets/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,32 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "logging_proto", -+ srcs = ["prediction.proto"], ++ name = "budgets_proto", ++ srcs = [ ++ "budget_model.proto", ++ "budget_service.proto", ++ ], + visibility = ["//visibility:public"], -+ deps = ["//google/rpc:status_proto"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/type:date_proto", ++ "//google/type:money_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:struct_proto", ++ ], +) + +go_proto_library( -+ name = "logging_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/logging", -+ proto = ":logging_proto", ++ name = "budgets_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/billing/budgets/v1", ++ proto = ":budgets_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/rpc:status_go_proto"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/type:date_go_proto", ++ "//google/type:money_go_proto", ++ ], +) -diff -urN c/google/cloud/aiplatform/v1/BUILD.bazel d/google/cloud/aiplatform/v1/BUILD.bazel ---- c/google/cloud/aiplatform/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/aiplatform/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,71 @@ +diff -urN c/google/cloud/billing/budgets/v1beta1/BUILD.bazel d/google/cloud/billing/budgets/v1beta1/BUILD.bazel +--- c/google/cloud/billing/budgets/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/billing/budgets/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,32 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "aiplatform_proto", ++ name = "budgets_proto", + srcs = [ -+ "accelerator_type.proto", -+ "annotation.proto", -+ "annotation_spec.proto", -+ "batch_prediction_job.proto", -+ "completion_stats.proto", -+ "custom_job.proto", -+ "data_item.proto", -+ "data_labeling_job.proto", -+ "dataset.proto", -+ "dataset_service.proto", -+ "deployed_model_ref.proto", -+ "encryption_spec.proto", -+ "endpoint.proto", -+ "endpoint_service.proto", -+ "env_var.proto", -+ "hyperparameter_tuning_job.proto", -+ "io.proto", -+ "job_service.proto", -+ "job_state.proto", -+ "machine_resources.proto", -+ "manual_batch_tuning_parameters.proto", -+ "migratable_resource.proto", -+ "migration_service.proto", -+ "model.proto", -+ "model_evaluation.proto", -+ "model_evaluation_slice.proto", -+ "model_service.proto", -+ "operation.proto", -+ "pipeline_service.proto", -+ "pipeline_state.proto", -+ "prediction_service.proto", -+ "specialist_pool.proto", -+ "specialist_pool_service.proto", -+ "study.proto", -+ "training_pipeline.proto", -+ "user_action_reference.proto", ++ "budget_model.proto", ++ "budget_service.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/longrunning:longrunning_proto", -+ "//google/rpc:status_proto", ++ "//google/type:date_proto", + "//google/type:money_proto", -+ "@com_google_protobuf//:duration_proto", + "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:struct_proto", -+ "@com_google_protobuf//:timestamp_proto", -+ "@com_google_protobuf//:wrappers_proto", + ], +) + +go_proto_library( -+ name = "aiplatform_go_proto", ++ name = "budgets_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1", -+ proto = ":aiplatform_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/billing/budgets/v1beta1", ++ proto = ":budgets_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/longrunning:longrunning_go_proto", -+ "//google/rpc:status_go_proto", ++ "//google/type:date_go_proto", + "//google/type:money_go_proto", + ], +) -diff -urN c/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel d/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel ---- c/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,27 @@ +diff -urN c/google/cloud/billing/v1/BUILD.bazel d/google/cloud/billing/v1/BUILD.bazel +--- c/google/cloud/billing/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/billing/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,31 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "instance_proto", ++ name = "billing_proto", + srcs = [ -+ "image_classification.proto", -+ "image_object_detection.proto", -+ "image_segmentation.proto", -+ "text_classification.proto", -+ "text_extraction.proto", -+ "text_sentiment.proto", -+ "video_action_recognition.proto", -+ "video_classification.proto", -+ "video_object_tracking.proto", ++ "cloud_billing.proto", ++ "cloud_catalog.proto", + ], + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_proto"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/iam/v1:iam_proto", ++ "//google/type:money_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], +) + +go_proto_library( -+ name = "instance_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/instance", -+ proto = ":instance_proto", ++ name = "billing_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/billing/v1", ++ proto = ":billing_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_go_proto"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/iam/v1:iam_go_proto", ++ "//google/type:money_go_proto", ++ ], +) -diff -urN c/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel d/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel ---- c/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,24 @@ +diff -urN c/google/cloud/binaryauthorization/v1beta1/BUILD.bazel d/google/cloud/binaryauthorization/v1beta1/BUILD.bazel +--- c/google/cloud/binaryauthorization/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/binaryauthorization/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,26 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "params_proto", ++ name = "binaryauthorization_proto", + srcs = [ -+ "image_classification.proto", -+ "image_object_detection.proto", -+ "image_segmentation.proto", -+ "video_action_recognition.proto", -+ "video_classification.proto", -+ "video_object_tracking.proto", ++ "continuous_validation_logging.proto", ++ "resources.proto", ++ "service.proto", + ], + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_proto"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], +) + +go_proto_library( -+ name = "params_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/params", -+ proto = ":params_proto", ++ name = "binaryauthorization_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/binaryauthorization/v1beta1", ++ proto = ":binaryauthorization_proto", + visibility = ["//visibility:public"], + deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel d/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel ---- c/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,33 @@ +diff -urN c/google/cloud/channel/v1/BUILD.bazel d/google/cloud/channel/v1/BUILD.bazel +--- c/google/cloud/channel/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/channel/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,43 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "prediction_proto", ++ name = "channel_proto", + srcs = [ -+ "classification.proto", -+ "image_object_detection.proto", -+ "image_segmentation.proto", -+ "tabular_classification.proto", -+ "tabular_regression.proto", -+ "text_extraction.proto", -+ "text_sentiment.proto", -+ "video_action_recognition.proto", -+ "video_classification.proto", -+ "video_object_tracking.proto", ++ "channel_partner_links.proto", ++ "common.proto", ++ "customers.proto", ++ "entitlements.proto", ++ "offers.proto", ++ "operations.proto", ++ "products.proto", ++ "service.proto", ++ "subscriber_event.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "@com_google_protobuf//:duration_proto", -+ "@com_google_protobuf//:struct_proto", ++ "//google/longrunning:longrunning_proto", ++ "//google/type:money_proto", ++ "//google/type:postaladdress_proto", ++ "@com_google_protobuf//:any_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", + "@com_google_protobuf//:wrappers_proto", + ], +) + +go_proto_library( -+ name = "prediction_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/predict/prediction", -+ proto = ":prediction_proto", ++ name = "channel_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/channel/v1", ++ proto = ":channel_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_go_proto"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ "//google/type:money_go_proto", ++ "//google/type:postaladdress_go_proto", ++ ], +) -diff -urN c/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel d/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel ---- c/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,29 @@ +diff -urN c/google/cloud/clouddms/logging/v1/BUILD.bazel d/google/cloud/clouddms/logging/v1/BUILD.bazel +--- c/google/cloud/clouddms/logging/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/clouddms/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,25 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "definition_proto", -+ srcs = [ -+ "automl_image_classification.proto", -+ "automl_image_object_detection.proto", -+ "automl_image_segmentation.proto", -+ "automl_tables.proto", -+ "automl_text_classification.proto", -+ "automl_text_extraction.proto", -+ "automl_text_sentiment.proto", -+ "automl_video_action_recognition.proto", -+ "automl_video_classification.proto", -+ "automl_video_object_tracking.proto", -+ "export_evaluated_data_items_config.proto", -+ ], ++ name = "logging_proto", ++ srcs = ["clouddms_platform_logs.proto"], + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_proto"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/rpc:status_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], +) -+ -+go_proto_library( -+ name = "definition_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition", -+ proto = ":definition_proto", ++ ++go_proto_library( ++ name = "logging_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/clouddms/logging/v1", ++ proto = ":logging_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_go_proto"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/rpc:status_go_proto", ++ ], +) -diff -urN c/google/cloud/aiplatform/v1beta1/BUILD.bazel d/google/cloud/aiplatform/v1beta1/BUILD.bazel ---- c/google/cloud/aiplatform/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/aiplatform/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,73 @@ +diff -urN c/google/cloud/clouddms/v1/BUILD.bazel d/google/cloud/clouddms/v1/BUILD.bazel +--- c/google/cloud/clouddms/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/clouddms/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,33 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "aiplatform_proto", ++ name = "clouddms_proto", + srcs = [ -+ "accelerator_type.proto", -+ "annotation.proto", -+ "annotation_spec.proto", -+ "batch_prediction_job.proto", -+ "completion_stats.proto", -+ "custom_job.proto", -+ "data_item.proto", -+ "data_labeling_job.proto", -+ "dataset.proto", -+ "dataset_service.proto", -+ "deployed_model_ref.proto", -+ "encryption_spec.proto", -+ "endpoint.proto", -+ "endpoint_service.proto", -+ "env_var.proto", -+ "explanation.proto", -+ "explanation_metadata.proto", -+ "hyperparameter_tuning_job.proto", -+ "io.proto", -+ "job_service.proto", -+ "job_state.proto", -+ "machine_resources.proto", -+ "manual_batch_tuning_parameters.proto", -+ "migratable_resource.proto", -+ "migration_service.proto", -+ "model.proto", -+ "model_evaluation.proto", -+ "model_evaluation_slice.proto", -+ "model_service.proto", -+ "operation.proto", -+ "pipeline_service.proto", -+ "pipeline_state.proto", -+ "prediction_service.proto", -+ "specialist_pool.proto", -+ "specialist_pool_service.proto", -+ "study.proto", -+ "training_pipeline.proto", -+ "user_action_reference.proto", ++ "clouddms.proto", ++ "clouddms_resources.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", + "//google/longrunning:longrunning_proto", + "//google/rpc:status_proto", -+ "//google/type:money_proto", + "@com_google_protobuf//:duration_proto", -+ "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", -+ "@com_google_protobuf//:struct_proto", + "@com_google_protobuf//:timestamp_proto", + "@com_google_protobuf//:wrappers_proto", + ], +) + +go_proto_library( -+ name = "aiplatform_go_proto", ++ name = "clouddms_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1", -+ proto = ":aiplatform_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/clouddms/v1", ++ proto = ":clouddms_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", + "//google/longrunning:longrunning_go_proto", + "//google/rpc:status_go_proto", -+ "//google/type:money_go_proto", + ], +) -diff -urN c/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel d/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel ---- c/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,30 @@ +diff -urN c/google/cloud/common/BUILD.bazel d/google/cloud/common/BUILD.bazel +--- c/google/cloud/common/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/common/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,20 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "schema_proto", ++ name = "common_proto", ++ srcs = ["operation_metadata.proto"], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "common_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/common", ++ proto = ":common_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_go_proto"], ++) +diff -urN c/google/cloud/contactcenterinsights/v1/BUILD.bazel d/google/cloud/contactcenterinsights/v1/BUILD.bazel +--- c/google/cloud/contactcenterinsights/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/contactcenterinsights/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,33 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "contactcenterinsights_proto", + srcs = [ -+ "annotation_payload.proto", -+ "annotation_spec_color.proto", -+ "data_item_payload.proto", -+ "dataset_metadata.proto", -+ "geometry.proto", ++ "contact_center_insights.proto", ++ "resources.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/type:color_proto", ++ "//google/longrunning:longrunning_proto", ++ "//google/rpc:status_proto", + "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "schema_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema", -+ proto = ":schema_proto", ++ name = "contactcenterinsights_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/contactcenterinsights/v1", ++ proto = ":contactcenterinsights_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/type:color_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ "//google/rpc:status_go_proto", + ], +) -diff -urN c/google/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel d/google/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel ---- c/google/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,27 @@ +diff -urN c/google/cloud/datacatalog/v1/BUILD.bazel d/google/cloud/datacatalog/v1/BUILD.bazel +--- c/google/cloud/datacatalog/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/datacatalog/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,39 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "instance_proto", ++ name = "datacatalog_proto", + srcs = [ -+ "image_classification.proto", -+ "image_object_detection.proto", -+ "image_segmentation.proto", -+ "text_classification.proto", -+ "text_extraction.proto", -+ "text_sentiment.proto", -+ "video_action_recognition.proto", -+ "video_classification.proto", -+ "video_object_tracking.proto", ++ "common.proto", ++ "data_source.proto", ++ "datacatalog.proto", ++ "gcs_fileset_spec.proto", ++ "policytagmanager.proto", ++ "policytagmanagerserialization.proto", ++ "schema.proto", ++ "search.proto", ++ "table_spec.proto", ++ "tags.proto", ++ "timestamps.proto", + ], + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_proto"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/iam/v1:iam_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], +) + +go_proto_library( -+ name = "instance_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance", -+ proto = ":instance_proto", ++ name = "datacatalog_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1", ++ proto = ":datacatalog_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_go_proto"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/iam/v1:iam_go_proto", ++ ], +) -diff -urN c/google/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel d/google/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel ---- c/google/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,24 @@ +diff -urN c/google/cloud/datacatalog/v1beta1/BUILD.bazel d/google/cloud/datacatalog/v1beta1/BUILD.bazel +--- c/google/cloud/datacatalog/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/datacatalog/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,38 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "params_proto", ++ name = "datacatalog_proto", + srcs = [ -+ "image_classification.proto", -+ "image_object_detection.proto", -+ "image_segmentation.proto", -+ "video_action_recognition.proto", -+ "video_classification.proto", -+ "video_object_tracking.proto", ++ "common.proto", ++ "datacatalog.proto", ++ "gcs_fileset_spec.proto", ++ "policytagmanager.proto", ++ "policytagmanagerserialization.proto", ++ "schema.proto", ++ "search.proto", ++ "table_spec.proto", ++ "tags.proto", ++ "timestamps.proto", + ], + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_proto"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/iam/v1:iam_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], +) + +go_proto_library( -+ name = "params_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/params", -+ proto = ":params_proto", ++ name = "datacatalog_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1", ++ proto = ":datacatalog_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_go_proto"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/iam/v1:iam_go_proto", ++ ], +) -diff -urN c/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel d/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel ---- c/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,33 @@ +diff -urN c/google/cloud/datafusion/v1/BUILD.bazel d/google/cloud/datafusion/v1/BUILD.bazel +--- c/google/cloud/datafusion/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/datafusion/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,26 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "prediction_proto", -+ srcs = [ -+ "classification.proto", -+ "image_object_detection.proto", -+ "image_segmentation.proto", -+ "tabular_classification.proto", -+ "tabular_regression.proto", -+ "text_extraction.proto", -+ "text_sentiment.proto", -+ "video_action_recognition.proto", -+ "video_classification.proto", -+ "video_object_tracking.proto", -+ ], ++ name = "datafusion_proto", ++ srcs = ["datafusion.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "@com_google_protobuf//:duration_proto", -+ "@com_google_protobuf//:struct_proto", -+ "@com_google_protobuf//:wrappers_proto", ++ "//google/longrunning:longrunning_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "prediction_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction", -+ proto = ":prediction_proto", ++ name = "datafusion_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/datafusion/v1", ++ proto = ":datafusion_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_go_proto"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ ], +) -diff -urN c/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel d/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel ---- c/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,29 @@ +diff -urN c/google/cloud/datafusion/v1beta1/BUILD.bazel d/google/cloud/datafusion/v1beta1/BUILD.bazel +--- c/google/cloud/datafusion/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/datafusion/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,30 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "definition_proto", -+ srcs = [ -+ "automl_image_classification.proto", -+ "automl_image_object_detection.proto", -+ "automl_image_segmentation.proto", -+ "automl_tables.proto", -+ "automl_text_classification.proto", -+ "automl_text_extraction.proto", -+ "automl_text_sentiment.proto", -+ "automl_video_action_recognition.proto", -+ "automl_video_classification.proto", -+ "automl_video_object_tracking.proto", -+ "export_evaluated_data_items_config.proto", -+ ], ++ name = "datafusion_proto", ++ srcs = ["v1beta1.proto"], + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_proto"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/iam/v1:iam_proto", ++ "//google/longrunning:longrunning_proto", ++ "//google/rpc:status_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], +) + +go_proto_library( -+ name = "definition_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition", -+ proto = ":definition_proto", ++ name = "datafusion_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/datafusion/v1beta1", ++ proto = ":datafusion_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_go_proto"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/iam/v1:iam_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ "//google/rpc:status_go_proto", ++ ], +) -diff -urN c/google/cloud/apigateway/v1/BUILD.bazel d/google/cloud/apigateway/v1/BUILD.bazel ---- c/google/cloud/apigateway/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/apigateway/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,29 @@ +diff -urN c/google/cloud/datalabeling/v1beta1/BUILD.bazel d/google/cloud/datalabeling/v1beta1/BUILD.bazel +--- c/google/cloud/datalabeling/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/datalabeling/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,41 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "apigateway_proto", ++ name = "datalabeling_proto", + srcs = [ -+ "apigateway.proto", -+ "apigateway_service.proto", ++ "annotation.proto", ++ "annotation_spec_set.proto", ++ "data_labeling_service.proto", ++ "data_payloads.proto", ++ "dataset.proto", ++ "evaluation.proto", ++ "evaluation_job.proto", ++ "human_annotation_config.proto", ++ "instruction.proto", ++ "operations.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", + "//google/longrunning:longrunning_proto", ++ "//google/rpc:status_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "apigateway_go_proto", ++ name = "datalabeling_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/apigateway/v1", -+ proto = ":apigateway_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1", ++ proto = ":datalabeling_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", + "//google/longrunning:longrunning_go_proto", ++ "//google/rpc:status_go_proto", + ], +) -diff -urN c/google/cloud/asset/v1/BUILD.bazel d/google/cloud/asset/v1/BUILD.bazel ---- c/google/cloud/asset/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/asset/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,45 @@ +diff -urN c/google/cloud/dataproc/logging/BUILD.bazel d/google/cloud/dataproc/logging/BUILD.bazel +--- c/google/cloud/dataproc/logging/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/dataproc/logging/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,16 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "asset_proto", ++ name = "logging_proto", ++ srcs = ["autoscaler_log.proto"], ++ visibility = ["//visibility:public"], ++ deps = ["@com_google_protobuf//:duration_proto"], ++) ++ ++go_proto_library( ++ name = "logging_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/dataproc/logging", ++ proto = ":logging_proto", ++ visibility = ["//visibility:public"], ++) +diff -urN c/google/cloud/dataproc/v1/BUILD.bazel d/google/cloud/dataproc/v1/BUILD.bazel +--- c/google/cloud/dataproc/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/dataproc/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,35 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "dataproc_proto", + srcs = [ -+ "asset_service.proto", -+ "assets.proto", ++ "autoscaling_policies.proto", ++ "clusters.proto", ++ "jobs.proto", ++ "operations.proto", ++ "shared.proto", ++ "workflow_templates.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/cloud/orgpolicy/v1:orgpolicy_proto", -+ "//google/cloud/osconfig/v1:osconfig_proto", -+ "//google/iam/v1:iam_proto", -+ "//google/identity/accesscontextmanager/v1:accesscontextmanager_proto", + "//google/longrunning:longrunning_proto", -+ "//google/rpc:code_proto", -+ "//google/type:expr_proto", -+ "@com_google_protobuf//:any_proto", + "@com_google_protobuf//:duration_proto", + "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", -+ "@com_google_protobuf//:struct_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "asset_go_proto", ++ name = "dataproc_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/asset/v1", -+ proto = ":asset_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/dataproc/v1", ++ proto = ":dataproc_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/cloud/orgpolicy/v1:orgpolicy_go_proto", -+ "//google/cloud/osconfig/v1:osconfig_go_proto", -+ "//google/iam/v1:iam_go_proto", -+ "//google/identity/accesscontextmanager/v1:accesscontextmanager_go_proto", + "//google/longrunning:longrunning_go_proto", -+ "//google/rpc:code_go_proto", -+ "//google/type:expr_go_proto", + ], +) -diff -urN c/google/cloud/asset/v1p1beta1/BUILD.bazel d/google/cloud/asset/v1p1beta1/BUILD.bazel ---- c/google/cloud/asset/v1p1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/asset/v1p1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,27 @@ +diff -urN c/google/cloud/dataproc/v1beta2/BUILD.bazel d/google/cloud/dataproc/v1beta2/BUILD.bazel +--- c/google/cloud/dataproc/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/dataproc/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,35 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "asset_proto", ++ name = "dataproc_proto", + srcs = [ -+ "asset_service.proto", -+ "assets.proto", ++ "autoscaling_policies.proto", ++ "clusters.proto", ++ "jobs.proto", ++ "operations.proto", ++ "shared.proto", ++ "workflow_templates.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/iam/v1:iam_proto", ++ "//google/longrunning:longrunning_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "asset_go_proto", ++ name = "dataproc_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/asset/v1p1beta1", -+ proto = ":asset_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2", ++ proto = ":dataproc_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/iam/v1:iam_go_proto", ++ "//google/longrunning:longrunning_go_proto", + ], +) -diff -urN c/google/cloud/asset/v1p2beta1/BUILD.bazel d/google/cloud/asset/v1p2beta1/BUILD.bazel ---- c/google/cloud/asset/v1p2beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/asset/v1p2beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,34 @@ +diff -urN c/google/cloud/dataqna/v1alpha/BUILD.bazel d/google/cloud/dataqna/v1alpha/BUILD.bazel +--- c/google/cloud/dataqna/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/dataqna/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,33 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "asset_proto", ++ name = "dataqna_proto", + srcs = [ -+ "asset_service.proto", -+ "assets.proto", ++ "annotated_string.proto", ++ "auto_suggestion_service.proto", ++ "question.proto", ++ "question_service.proto", ++ "user_feedback.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/iam/v1:iam_proto", -+ "//google/longrunning:longrunning_proto", ++ "//google/rpc:status_proto", + "@com_google_protobuf//:any_proto", -+ "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", -+ "@com_google_protobuf//:struct_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "asset_go_proto", ++ name = "dataqna_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/asset/v1p2beta1", -+ proto = ":asset_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/dataqna/v1alpha", ++ proto = ":dataqna_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/iam/v1:iam_go_proto", -+ "//google/longrunning:longrunning_go_proto", ++ "//google/rpc:status_go_proto", + ], +) -diff -urN c/google/cloud/asset/v1p4beta1/BUILD.bazel d/google/cloud/asset/v1p4beta1/BUILD.bazel ---- c/google/cloud/asset/v1p4beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/asset/v1p4beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,32 @@ +diff -urN c/google/cloud/datastream/v1alpha1/BUILD.bazel d/google/cloud/datastream/v1alpha1/BUILD.bazel +--- c/google/cloud/datastream/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/datastream/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,30 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "asset_proto", ++ name = "datastream_proto", + srcs = [ -+ "asset_service.proto", -+ "assets.proto", ++ "datastream.proto", ++ "datastream_resources.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/iam/v1:iam_proto", + "//google/longrunning:longrunning_proto", -+ "//google/rpc:code_proto", + "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "asset_go_proto", ++ name = "datastream_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/asset/v1p4beta1", -+ proto = ":asset_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/datastream/v1alpha1", ++ proto = ":datastream_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/iam/v1:iam_go_proto", + "//google/longrunning:longrunning_go_proto", -+ "//google/rpc:code_go_proto", + ], +) -diff -urN c/google/cloud/asset/v1p5beta1/BUILD.bazel d/google/cloud/asset/v1p5beta1/BUILD.bazel ---- c/google/cloud/asset/v1p5beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/asset/v1p5beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,34 @@ +diff -urN c/google/cloud/dialogflow/cx/v3/BUILD.bazel d/google/cloud/dialogflow/cx/v3/BUILD.bazel +--- c/google/cloud/dialogflow/cx/v3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/dialogflow/cx/v3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,52 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "asset_proto", ++ name = "cx_proto", + srcs = [ -+ "asset_service.proto", -+ "assets.proto", ++ "agent.proto", ++ "audio_config.proto", ++ "entity_type.proto", ++ "environment.proto", ++ "experiment.proto", ++ "flow.proto", ++ "fulfillment.proto", ++ "intent.proto", ++ "page.proto", ++ "response_message.proto", ++ "security_settings.proto", ++ "session.proto", ++ "session_entity_type.proto", ++ "test_case.proto", ++ "transition_route_group.proto", ++ "validation_message.proto", ++ "version.proto", ++ "webhook.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/cloud/orgpolicy/v1:orgpolicy_proto", -+ "//google/iam/v1:iam_proto", -+ "//google/identity/accesscontextmanager/v1:accesscontextmanager_proto", -+ "@com_google_protobuf//:any_proto", ++ "//google/longrunning:longrunning_proto", ++ "//google/rpc:status_proto", ++ "//google/type:latlng_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:struct_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "asset_go_proto", ++ name = "cx_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/asset/v1p5beta1", -+ proto = ":asset_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/dialogflow/cx/v3", ++ proto = ":cx_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/cloud/orgpolicy/v1:orgpolicy_go_proto", -+ "//google/iam/v1:iam_go_proto", -+ "//google/identity/accesscontextmanager/v1:accesscontextmanager_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ "//google/rpc:status_go_proto", ++ "//google/type:latlng_go_proto", + ], +) -diff -urN c/google/cloud/asset/v1p7beta1/BUILD.bazel d/google/cloud/asset/v1p7beta1/BUILD.bazel ---- c/google/cloud/asset/v1p7beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/asset/v1p7beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,40 @@ +diff -urN c/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel d/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel +--- c/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,52 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "asset_proto", ++ name = "cx_proto", + srcs = [ -+ "asset_service.proto", -+ "assets.proto", ++ "agent.proto", ++ "audio_config.proto", ++ "entity_type.proto", ++ "environment.proto", ++ "experiment.proto", ++ "flow.proto", ++ "fulfillment.proto", ++ "intent.proto", ++ "page.proto", ++ "response_message.proto", ++ "security_settings.proto", ++ "session.proto", ++ "session_entity_type.proto", ++ "test_case.proto", ++ "transition_route_group.proto", ++ "validation_message.proto", ++ "version.proto", ++ "webhook.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/cloud/orgpolicy/v1:orgpolicy_proto", -+ "//google/cloud/osconfig/v1:osconfig_proto", -+ "//google/iam/v1:iam_proto", -+ "//google/identity/accesscontextmanager/v1:accesscontextmanager_proto", + "//google/longrunning:longrunning_proto", -+ "@com_google_protobuf//:any_proto", ++ "//google/rpc:status_proto", ++ "//google/type:latlng_proto", ++ "@com_google_protobuf//:duration_proto", + "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:struct_proto", @@ -4522,343 +7573,394 @@ diff -urN c/google/cloud/asset/v1p7beta1/BUILD.bazel d/google/cloud/asset/v1p7be +) + +go_proto_library( -+ name = "asset_go_proto", ++ name = "cx_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/asset/v1p7beta1", -+ proto = ":asset_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/dialogflow/cx/v3beta1", ++ proto = ":cx_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/cloud/orgpolicy/v1:orgpolicy_go_proto", -+ "//google/cloud/osconfig/v1:osconfig_go_proto", -+ "//google/iam/v1:iam_go_proto", -+ "//google/identity/accesscontextmanager/v1:accesscontextmanager_go_proto", + "//google/longrunning:longrunning_go_proto", ++ "//google/rpc:status_go_proto", ++ "//google/type:latlng_go_proto", + ], +) -diff -urN c/google/cloud/assuredworkloads/v1beta1/BUILD.bazel d/google/cloud/assuredworkloads/v1beta1/BUILD.bazel ---- c/google/cloud/assuredworkloads/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/assuredworkloads/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,28 @@ +diff -urN c/google/cloud/dialogflow/v2/BUILD.bazel d/google/cloud/dialogflow/v2/BUILD.bazel +--- c/google/cloud/dialogflow/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/dialogflow/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,56 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "assuredworkloads_proto", -+ srcs = ["assuredworkloads_v1beta1.proto"], ++ name = "dialogflow_proto", ++ srcs = [ ++ "agent.proto", ++ "answer_record.proto", ++ "audio_config.proto", ++ "context.proto", ++ "conversation.proto", ++ "conversation_event.proto", ++ "conversation_profile.proto", ++ "document.proto", ++ "entity_type.proto", ++ "environment.proto", ++ "fulfillment.proto", ++ "gcs.proto", ++ "human_agent_assistant_event.proto", ++ "intent.proto", ++ "knowledge_base.proto", ++ "participant.proto", ++ "session.proto", ++ "session_entity_type.proto", ++ "validation_result.proto", ++ "version.proto", ++ "webhook.proto", ++ ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", + "//google/longrunning:longrunning_proto", ++ "//google/rpc:status_proto", ++ "//google/type:latlng_proto", ++ "@com_google_protobuf//:any_proto", + "@com_google_protobuf//:duration_proto", + "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:struct_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "assuredworkloads_go_proto", ++ name = "dialogflow_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/assuredworkloads/v1beta1", -+ proto = ":assuredworkloads_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2", ++ proto = ":dialogflow_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", + "//google/longrunning:longrunning_go_proto", ++ "//google/rpc:status_go_proto", ++ "//google/type:latlng_go_proto", + ], +) -diff -urN c/google/cloud/audit/BUILD.bazel d/google/cloud/audit/BUILD.bazel ---- c/google/cloud/audit/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/audit/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,25 @@ +diff -urN c/google/cloud/dialogflow/v2beta1/BUILD.bazel d/google/cloud/dialogflow/v2beta1/BUILD.bazel +--- c/google/cloud/dialogflow/v2beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/dialogflow/v2beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,56 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "audit_proto", -+ srcs = ["audit_log.proto"], ++ name = "dialogflow_proto", ++ srcs = [ ++ "agent.proto", ++ "answer_record.proto", ++ "audio_config.proto", ++ "context.proto", ++ "conversation.proto", ++ "conversation_event.proto", ++ "conversation_profile.proto", ++ "document.proto", ++ "entity_type.proto", ++ "environment.proto", ++ "fulfillment.proto", ++ "gcs.proto", ++ "human_agent_assistant_event.proto", ++ "intent.proto", ++ "knowledge_base.proto", ++ "participant.proto", ++ "session.proto", ++ "session_entity_type.proto", ++ "validation_result.proto", ++ "version.proto", ++ "webhook.proto", ++ ], + visibility = ["//visibility:public"], + deps = [ ++ "//google/api:annotations_proto", ++ "//google/longrunning:longrunning_proto", + "//google/rpc:status_proto", -+ "//google/rpc/context:attribute_context_proto", ++ "//google/type:latlng_proto", + "@com_google_protobuf//:any_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:struct_proto", ++ "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "audit_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/cloud/audit", -+ proto = ":audit_proto", ++ name = "dialogflow_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1", ++ proto = ":dialogflow_proto", + visibility = ["//visibility:public"], + deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", + "//google/rpc:status_go_proto", -+ "//google/rpc/context:attribute_context_go_proto", ++ "//google/type:latlng_go_proto", + ], +) -diff -urN c/google/cloud/automl/v1/BUILD.bazel d/google/cloud/automl/v1/BUILD.bazel ---- c/google/cloud/automl/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/automl/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,51 @@ +diff -urN c/google/cloud/documentai/v1/BUILD.bazel d/google/cloud/documentai/v1/BUILD.bazel +--- c/google/cloud/documentai/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/documentai/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,44 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "automl_proto", ++ name = "documentai_proto", + srcs = [ -+ "annotation_payload.proto", -+ "annotation_spec.proto", -+ "classification.proto", -+ "data_items.proto", -+ "dataset.proto", -+ "detection.proto", ++ "document.proto", ++ "document_io.proto", ++ "document_processor_service.proto", + "geometry.proto", -+ "image.proto", -+ "io.proto", -+ "model.proto", -+ "model_evaluation.proto", -+ "operations.proto", -+ "prediction_service.proto", -+ "service.proto", -+ "text.proto", -+ "text_extraction.proto", -+ "text_segment.proto", -+ "text_sentiment.proto", -+ "translation.proto", ++ "operation_metadata.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", + "//google/longrunning:longrunning_proto", + "//google/rpc:status_proto", -+ "@com_google_protobuf//:any_proto", -+ "@com_google_protobuf//:duration_proto", ++ "//google/type:color_proto", ++ "//google/type:date_proto", ++ "//google/type:datetime_proto", ++ "//google/type:money_proto", ++ "//google/type:postaladdress_proto", + "@com_google_protobuf//:field_mask_proto", -+ "@com_google_protobuf//:struct_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "automl_go_proto", ++ name = "documentai_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/automl/v1", -+ proto = ":automl_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/documentai/v1", ++ proto = ":documentai_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", + "//google/longrunning:longrunning_go_proto", + "//google/rpc:status_go_proto", ++ "//google/type:color_go_proto", ++ "//google/type:date_go_proto", ++ "//google/type:datetime_go_proto", ++ "//google/type:money_go_proto", ++ "//google/type:postaladdress_go_proto", + ], +) -diff -urN c/google/cloud/automl/v1beta1/BUILD.bazel d/google/cloud/automl/v1beta1/BUILD.bazel ---- c/google/cloud/automl/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/automl/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,61 @@ +diff -urN c/google/cloud/documentai/v1beta1/BUILD.bazel d/google/cloud/documentai/v1beta1/BUILD.bazel +--- c/google/cloud/documentai/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/documentai/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,33 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "automl_proto", ++ name = "documentai_proto", + srcs = [ -+ "annotation_payload.proto", -+ "annotation_spec.proto", -+ "classification.proto", -+ "column_spec.proto", -+ "data_items.proto", -+ "data_stats.proto", -+ "data_types.proto", -+ "dataset.proto", -+ "detection.proto", ++ "document.proto", ++ "document_understanding.proto", + "geometry.proto", -+ "image.proto", -+ "io.proto", -+ "model.proto", -+ "model_evaluation.proto", -+ "operations.proto", -+ "prediction_service.proto", -+ "ranges.proto", -+ "regression.proto", -+ "service.proto", -+ "table_spec.proto", -+ "tables.proto", -+ "temporal.proto", -+ "text.proto", -+ "text_extraction.proto", -+ "text_segment.proto", -+ "text_sentiment.proto", -+ "translation.proto", -+ "video.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", + "//google/longrunning:longrunning_proto", + "//google/rpc:status_proto", -+ "@com_google_protobuf//:any_proto", -+ "@com_google_protobuf//:duration_proto", -+ "@com_google_protobuf//:empty_proto", -+ "@com_google_protobuf//:field_mask_proto", -+ "@com_google_protobuf//:struct_proto", ++ "//google/type:color_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "automl_go_proto", ++ name = "documentai_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1", -+ proto = ":automl_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta1", ++ proto = ":documentai_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", + "//google/longrunning:longrunning_go_proto", + "//google/rpc:status_go_proto", ++ "//google/type:color_go_proto", + ], +) -diff -urN c/google/cloud/bigquery/connection/v1/BUILD.bazel d/google/cloud/bigquery/connection/v1/BUILD.bazel ---- c/google/cloud/bigquery/connection/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/bigquery/connection/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,27 @@ +diff -urN c/google/cloud/documentai/v1beta2/BUILD.bazel d/google/cloud/documentai/v1beta2/BUILD.bazel +--- c/google/cloud/documentai/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/documentai/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,33 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "connection_proto", -+ srcs = ["connection.proto"], ++ name = "documentai_proto", ++ srcs = [ ++ "document.proto", ++ "document_understanding.proto", ++ "geometry.proto", ++ ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/iam/v1:iam_proto", -+ "@com_google_protobuf//:empty_proto", -+ "@com_google_protobuf//:field_mask_proto", -+ "@com_google_protobuf//:wrappers_proto", ++ "//google/longrunning:longrunning_proto", ++ "//google/rpc:status_proto", ++ "//google/type:color_proto", ++ "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "connection_go_proto", ++ name = "documentai_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/connection/v1", -+ proto = ":connection_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta2", ++ proto = ":documentai_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/iam/v1:iam_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ "//google/rpc:status_go_proto", ++ "//google/type:color_go_proto", + ], +) -diff -urN c/google/cloud/bigquery/connection/v1beta1/BUILD.bazel d/google/cloud/bigquery/connection/v1beta1/BUILD.bazel ---- c/google/cloud/bigquery/connection/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/bigquery/connection/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,27 @@ +diff -urN c/google/cloud/documentai/v1beta3/BUILD.bazel d/google/cloud/documentai/v1beta3/BUILD.bazel +--- c/google/cloud/documentai/v1beta3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/documentai/v1beta3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,46 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "connection_proto", -+ srcs = ["connection.proto"], ++ name = "documentai_proto", ++ srcs = [ ++ "document.proto", ++ "document_io.proto", ++ "document_processor_service.proto", ++ "geometry.proto", ++ "operation_metadata.proto", ++ "processor.proto", ++ "processor_type.proto", ++ ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/iam/v1:iam_proto", -+ "@com_google_protobuf//:empty_proto", ++ "//google/longrunning:longrunning_proto", ++ "//google/rpc:status_proto", ++ "//google/type:color_proto", ++ "//google/type:date_proto", ++ "//google/type:datetime_proto", ++ "//google/type:money_proto", ++ "//google/type:postaladdress_proto", + "@com_google_protobuf//:field_mask_proto", -+ "@com_google_protobuf//:wrappers_proto", ++ "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "connection_go_proto", ++ name = "documentai_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/connection/v1beta1", -+ proto = ":connection_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta3", ++ proto = ":documentai_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/iam/v1:iam_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ "//google/rpc:status_go_proto", ++ "//google/type:color_go_proto", ++ "//google/type:date_go_proto", ++ "//google/type:datetime_go_proto", ++ "//google/type:money_go_proto", ++ "//google/type:postaladdress_go_proto", + ], +) -diff -urN c/google/cloud/bigquery/datatransfer/v1/BUILD.bazel d/google/cloud/bigquery/datatransfer/v1/BUILD.bazel ---- c/google/cloud/bigquery/datatransfer/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/bigquery/datatransfer/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,33 @@ +diff -urN c/google/cloud/domains/v1alpha2/BUILD.bazel d/google/cloud/domains/v1alpha2/BUILD.bazel +--- c/google/cloud/domains/v1alpha2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/domains/v1alpha2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,30 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "datatransfer_proto", -+ srcs = [ -+ "datatransfer.proto", -+ "transfer.proto", -+ ], ++ name = "domains_proto", ++ srcs = ["domains.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/rpc:status_proto", -+ "@com_google_protobuf//:duration_proto", -+ "@com_google_protobuf//:empty_proto", ++ "//google/longrunning:longrunning_proto", ++ "//google/type:money_proto", ++ "//google/type:postaladdress_proto", + "@com_google_protobuf//:field_mask_proto", -+ "@com_google_protobuf//:struct_proto", + "@com_google_protobuf//:timestamp_proto", -+ "@com_google_protobuf//:wrappers_proto", + ], +) + +go_proto_library( -+ name = "datatransfer_go_proto", ++ name = "domains_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/datatransfer/v1", -+ proto = ":datatransfer_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/domains/v1alpha2", ++ proto = ":domains_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/rpc:status_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ "//google/type:money_go_proto", ++ "//google/type:postaladdress_go_proto", + ], +) -diff -urN c/google/cloud/bigquery/logging/v1/BUILD.bazel d/google/cloud/bigquery/logging/v1/BUILD.bazel ---- c/google/cloud/bigquery/logging/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/bigquery/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,25 @@ +diff -urN c/google/cloud/domains/v1beta1/BUILD.bazel d/google/cloud/domains/v1beta1/BUILD.bazel +--- c/google/cloud/domains/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/domains/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,30 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "logging_proto", -+ srcs = ["audit_data.proto"], ++ name = "domains_proto", ++ srcs = ["domains.proto"], + visibility = ["//visibility:public"], + deps = [ -+ "//google/iam/v1:iam_proto", -+ "//google/rpc:status_proto", -+ "@com_google_protobuf//:duration_proto", ++ "//google/api:annotations_proto", ++ "//google/longrunning:longrunning_proto", ++ "//google/type:money_proto", ++ "//google/type:postaladdress_proto", ++ "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "logging_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/logging/v1", -+ proto = ":logging_proto", ++ name = "domains_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/domains/v1beta1", ++ proto = ":domains_proto", + visibility = ["//visibility:public"], + deps = [ -+ "//google/iam/v1:iam_go_proto", -+ "//google/rpc:status_go_proto", ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ "//google/type:money_go_proto", ++ "//google/type:postaladdress_go_proto", + ], +) -diff -urN c/google/cloud/bigquery/reservation/v1/BUILD.bazel d/google/cloud/bigquery/reservation/v1/BUILD.bazel ---- c/google/cloud/bigquery/reservation/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/bigquery/reservation/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,27 @@ +diff -urN c/google/cloud/essentialcontacts/v1/BUILD.bazel d/google/cloud/essentialcontacts/v1/BUILD.bazel +--- c/google/cloud/essentialcontacts/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/essentialcontacts/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,26 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "reservation_proto", -+ srcs = ["reservation.proto"], ++ name = "essentialcontacts_proto", ++ srcs = [ ++ "enums.proto", ++ "service.proto", ++ ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/rpc:status_proto", + "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", @@ -4866,1305 +7968,1061 @@ diff -urN c/google/cloud/bigquery/reservation/v1/BUILD.bazel d/google/cloud/bigq +) + +go_proto_library( -+ name = "reservation_go_proto", ++ name = "essentialcontacts_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/reservation/v1", -+ proto = ":reservation_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/essentialcontacts/v1", ++ proto = ":essentialcontacts_proto", + visibility = ["//visibility:public"], -+ deps = [ -+ "//google/api:annotations_go_proto", -+ "//google/rpc:status_go_proto", -+ ], ++ deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel d/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel ---- c/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/bigquery/reservation/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,27 @@ +diff -urN c/google/cloud/eventarc/v1/BUILD.bazel d/google/cloud/eventarc/v1/BUILD.bazel +--- c/google/cloud/eventarc/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/eventarc/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,29 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "reservation_proto", -+ srcs = ["reservation.proto"], ++ name = "eventarc_proto", ++ srcs = [ ++ "eventarc.proto", ++ "trigger.proto", ++ ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/rpc:status_proto", -+ "@com_google_protobuf//:empty_proto", ++ "//google/longrunning:longrunning_proto", + "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "reservation_go_proto", ++ name = "eventarc_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/reservation/v1beta1", -+ proto = ":reservation_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/eventarc/v1", ++ proto = ":eventarc_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/rpc:status_go_proto", ++ "//google/longrunning:longrunning_go_proto", + ], +) -diff -urN c/google/cloud/bigquery/storage/v1/BUILD.bazel d/google/cloud/bigquery/storage/v1/BUILD.bazel ---- c/google/cloud/bigquery/storage/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/bigquery/storage/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +diff -urN c/google/cloud/filestore/v1/BUILD.bazel d/google/cloud/filestore/v1/BUILD.bazel +--- c/google/cloud/filestore/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/filestore/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,27 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "storage_proto", -+ srcs = [ -+ "arrow.proto", -+ "avro.proto", -+ "storage.proto", -+ "stream.proto", -+ ], ++ name = "filestore_proto", ++ srcs = ["cloud_filestore_service.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", ++ "//google/longrunning:longrunning_proto", ++ "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", ++ "@com_google_protobuf//:wrappers_proto", + ], +) + +go_proto_library( -+ name = "storage_go_proto", ++ name = "filestore_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1", -+ proto = ":storage_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/filestore/v1", ++ proto = ":filestore_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_go_proto"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ ], +) -diff -urN c/google/cloud/bigquery/storage/v1alpha2/BUILD.bazel d/google/cloud/bigquery/storage/v1alpha2/BUILD.bazel ---- c/google/cloud/bigquery/storage/v1alpha2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/bigquery/storage/v1alpha2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,33 @@ +diff -urN c/google/cloud/filestore/v1beta1/BUILD.bazel d/google/cloud/filestore/v1beta1/BUILD.bazel +--- c/google/cloud/filestore/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/filestore/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,27 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "storage_proto", -+ srcs = [ -+ "protobuf.proto", -+ "storage.proto", -+ "stream.proto", -+ "table.proto", -+ ], ++ name = "filestore_proto", ++ srcs = ["cloud_filestore_service.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/rpc:status_proto", -+ "@com_google_protobuf//:descriptor_proto", -+ "@com_google_protobuf//:empty_proto", ++ "//google/longrunning:longrunning_proto", ++ "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", + "@com_google_protobuf//:wrappers_proto", + ], +) + +go_proto_library( -+ name = "storage_go_proto", ++ name = "filestore_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1alpha2", -+ proto = ":storage_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/filestore/v1beta1", ++ proto = ":filestore_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/rpc:status_go_proto", ++ "//google/longrunning:longrunning_go_proto", + ], +) -diff -urN c/google/cloud/bigquery/storage/v1beta1/BUILD.bazel d/google/cloud/bigquery/storage/v1beta1/BUILD.bazel ---- c/google/cloud/bigquery/storage/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/bigquery/storage/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,28 @@ +diff -urN c/google/cloud/functions/v1/BUILD.bazel d/google/cloud/functions/v1/BUILD.bazel +--- c/google/cloud/functions/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/functions/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,33 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "storage_proto", ++ name = "functions_proto", + srcs = [ -+ "arrow.proto", -+ "avro.proto", -+ "read_options.proto", -+ "storage.proto", -+ "table_reference.proto", ++ "functions.proto", ++ "operations.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "@com_google_protobuf//:empty_proto", ++ "//google/iam/v1:iam_proto", ++ "//google/longrunning:longrunning_proto", ++ "@com_google_protobuf//:any_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "storage_go_proto", ++ name = "functions_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1", -+ proto = ":storage_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/functions/v1", ++ proto = ":functions_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_go_proto"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/iam/v1:iam_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ ], +) -diff -urN c/google/cloud/bigquery/storage/v1beta2/BUILD.bazel d/google/cloud/bigquery/storage/v1beta2/BUILD.bazel ---- c/google/cloud/bigquery/storage/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/bigquery/storage/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,34 @@ +diff -urN c/google/cloud/gaming/v1/BUILD.bazel d/google/cloud/gaming/v1/BUILD.bazel +--- c/google/cloud/gaming/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/gaming/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,37 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "storage_proto", ++ name = "gaming_proto", + srcs = [ -+ "arrow.proto", -+ "avro.proto", -+ "protobuf.proto", -+ "storage.proto", -+ "stream.proto", -+ "table.proto", ++ "common.proto", ++ "game_server_clusters.proto", ++ "game_server_clusters_service.proto", ++ "game_server_configs.proto", ++ "game_server_configs_service.proto", ++ "game_server_deployments.proto", ++ "game_server_deployments_service.proto", ++ "realms.proto", ++ "realms_service.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/rpc:status_proto", -+ "@com_google_protobuf//:descriptor_proto", ++ "//google/longrunning:longrunning_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", -+ "@com_google_protobuf//:wrappers_proto", + ], +) + +go_proto_library( -+ name = "storage_go_proto", ++ name = "gaming_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta2", -+ proto = ":storage_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/gaming/v1", ++ proto = ":gaming_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/rpc:status_go_proto", ++ "//google/longrunning:longrunning_go_proto", + ], +) -diff -urN c/google/cloud/bigquery/v2/BUILD.bazel d/google/cloud/bigquery/v2/BUILD.bazel ---- c/google/cloud/bigquery/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/bigquery/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,29 @@ +diff -urN c/google/cloud/gaming/v1beta/BUILD.bazel d/google/cloud/gaming/v1beta/BUILD.bazel +--- c/google/cloud/gaming/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/gaming/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,37 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "bigquery_proto", ++ name = "gaming_proto", + srcs = [ -+ "encryption_config.proto", -+ "model.proto", -+ "model_reference.proto", -+ "standard_sql.proto", -+ "table_reference.proto", ++ "common.proto", ++ "game_server_clusters.proto", ++ "game_server_clusters_service.proto", ++ "game_server_configs.proto", ++ "game_server_configs_service.proto", ++ "game_server_deployments.proto", ++ "game_server_deployments_service.proto", ++ "realms.proto", ++ "realms_service.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "@com_google_protobuf//:empty_proto", ++ "//google/longrunning:longrunning_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", -+ "@com_google_protobuf//:wrappers_proto", + ], +) + +go_proto_library( -+ name = "bigquery_go_proto", ++ name = "gaming_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/v2", -+ proto = ":bigquery_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/gaming/v1beta", ++ proto = ":gaming_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_go_proto"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ ], +) -diff -urN c/google/cloud/billing/budgets/v1/BUILD.bazel d/google/cloud/billing/budgets/v1/BUILD.bazel ---- c/google/cloud/billing/budgets/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/billing/budgets/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,30 @@ +diff -urN c/google/cloud/gkeconnect/gateway/v1/BUILD.bazel d/google/cloud/gkeconnect/gateway/v1/BUILD.bazel +--- c/google/cloud/gkeconnect/gateway/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/gkeconnect/gateway/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,24 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "budgets_proto", -+ srcs = [ -+ "budget_model.proto", -+ "budget_service.proto", -+ ], ++ name = "gateway_proto", ++ srcs = ["gateway.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/type:money_proto", -+ "@com_google_protobuf//:empty_proto", -+ "@com_google_protobuf//:field_mask_proto", -+ "@com_google_protobuf//:struct_proto", ++ "//google/api:httpbody_proto", + ], +) + +go_proto_library( -+ name = "budgets_go_proto", ++ name = "gateway_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/billing/budgets/v1", -+ proto = ":budgets_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkeconnect/gateway/v1", ++ proto = ":gateway_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/type:money_go_proto", ++ "//google/api:httpbody_go_proto", + ], +) -diff -urN c/google/cloud/billing/budgets/v1alpha1/BUILD.bazel d/google/cloud/billing/budgets/v1alpha1/BUILD.bazel ---- c/google/cloud/billing/budgets/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/billing/budgets/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,30 @@ +diff -urN c/google/cloud/gkeconnect/gateway/v1alpha1/BUILD.bazel d/google/cloud/gkeconnect/gateway/v1alpha1/BUILD.bazel +--- c/google/cloud/gkeconnect/gateway/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/gkeconnect/gateway/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,24 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "budgets_proto", -+ srcs = [ -+ "budget_model.proto", -+ "budget_service.proto", -+ ], ++ name = "gateway_proto", ++ srcs = ["gateway.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/type:money_proto", -+ "@com_google_protobuf//:empty_proto", -+ "@com_google_protobuf//:field_mask_proto", -+ "@com_google_protobuf//:struct_proto", ++ "//google/api:httpbody_proto", + ], +) + +go_proto_library( -+ name = "budgets_go_proto", ++ name = "gateway_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/billing/budgets/v1alpha1", -+ proto = ":budgets_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkeconnect/gateway/v1alpha1", ++ proto = ":gateway_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/type:money_go_proto", ++ "//google/api:httpbody_go_proto", + ], +) -diff -urN c/google/cloud/billing/budgets/v1beta1/BUILD.bazel d/google/cloud/billing/budgets/v1beta1/BUILD.bazel ---- c/google/cloud/billing/budgets/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/billing/budgets/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,30 @@ +diff -urN c/google/cloud/gkeconnect/gateway/v1beta1/BUILD.bazel d/google/cloud/gkeconnect/gateway/v1beta1/BUILD.bazel +--- c/google/cloud/gkeconnect/gateway/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/gkeconnect/gateway/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,24 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "budgets_proto", -+ srcs = [ -+ "budget_model.proto", -+ "budget_service.proto", -+ ], ++ name = "gateway_proto", ++ srcs = ["gateway.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/type:money_proto", -+ "@com_google_protobuf//:empty_proto", -+ "@com_google_protobuf//:field_mask_proto", -+ "@com_google_protobuf//:struct_proto", ++ "//google/api:httpbody_proto", + ], +) + +go_proto_library( -+ name = "budgets_go_proto", ++ name = "gateway_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/billing/budgets/v1beta1", -+ proto = ":budgets_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkeconnect/gateway/v1beta1", ++ proto = ":gateway_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/type:money_go_proto", ++ "//google/api:httpbody_go_proto", + ], +) -diff -urN c/google/cloud/billing/v1/BUILD.bazel d/google/cloud/billing/v1/BUILD.bazel ---- c/google/cloud/billing/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/billing/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,31 @@ +diff -urN c/google/cloud/gkehub/v1/BUILD.bazel d/google/cloud/gkehub/v1/BUILD.bazel +--- c/google/cloud/gkehub/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/gkehub/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,34 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "billing_proto", ++ name = "gkehub_proto", + srcs = [ -+ "cloud_billing.proto", -+ "cloud_catalog.proto", ++ "feature.proto", ++ "membership.proto", ++ "service.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/iam/v1:iam_proto", -+ "//google/type:money_proto", ++ "//google/cloud/gkehub/v1/configmanagement:configmanagement_proto", ++ "//google/cloud/gkehub/v1/multiclusteringress:multiclusteringress_proto", ++ "//google/longrunning:longrunning_proto", + "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "billing_go_proto", ++ name = "gkehub_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/billing/v1", -+ proto = ":billing_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/v1", ++ proto = ":gkehub_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/iam/v1:iam_go_proto", -+ "//google/type:money_go_proto", ++ "//google/cloud/gkehub/v1/configmanagement:configmanagement_go_proto", ++ "//google/cloud/gkehub/v1/multiclusteringress:multiclusteringress_go_proto", ++ "//google/longrunning:longrunning_go_proto", + ], +) -diff -urN c/google/cloud/binaryauthorization/v1beta1/BUILD.bazel d/google/cloud/binaryauthorization/v1beta1/BUILD.bazel ---- c/google/cloud/binaryauthorization/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/binaryauthorization/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,25 @@ +diff -urN c/google/cloud/gkehub/v1/configmanagement/BUILD.bazel d/google/cloud/gkehub/v1/configmanagement/BUILD.bazel +--- c/google/cloud/gkehub/v1/configmanagement/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/gkehub/v1/configmanagement/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,20 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "binaryauthorization_proto", -+ srcs = [ -+ "resources.proto", -+ "service.proto", -+ ], ++ name = "configmanagement_proto", ++ srcs = ["configmanagement.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "binaryauthorization_go_proto", -+ compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/binaryauthorization/v1beta1", -+ proto = ":binaryauthorization_proto", ++ name = "configmanagement_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/configmanagement/v1", ++ proto = ":configmanagement_proto", + visibility = ["//visibility:public"], + deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/cloud/channel/v1/BUILD.bazel d/google/cloud/channel/v1/BUILD.bazel ---- c/google/cloud/channel/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/channel/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,43 @@ +diff -urN c/google/cloud/gkehub/v1/multiclusteringress/BUILD.bazel d/google/cloud/gkehub/v1/multiclusteringress/BUILD.bazel +--- c/google/cloud/gkehub/v1/multiclusteringress/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/gkehub/v1/multiclusteringress/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,17 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "channel_proto", ++ name = "multiclusteringress_proto", ++ srcs = ["multiclusteringress.proto"], ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_proto"], ++) ++ ++go_proto_library( ++ name = "multiclusteringress_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/multiclusteringress/v1", ++ proto = ":multiclusteringress_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_go_proto"], ++) +diff -urN c/google/cloud/gkehub/v1alpha/BUILD.bazel d/google/cloud/gkehub/v1alpha/BUILD.bazel +--- c/google/cloud/gkehub/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/gkehub/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,39 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "gkehub_proto", + srcs = [ -+ "channel_partner_links.proto", -+ "common.proto", -+ "customers.proto", -+ "entitlements.proto", -+ "offers.proto", -+ "operations.proto", -+ "products.proto", ++ "feature.proto", + "service.proto", -+ "subscriber_event.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", ++ "//google/cloud/gkehub/v1alpha/cloudauditlogging:cloudauditlogging_proto", ++ "//google/cloud/gkehub/v1alpha/configmanagement:configmanagement_proto", ++ "//google/cloud/gkehub/v1alpha/metering:metering_proto", ++ "//google/cloud/gkehub/v1alpha/multiclusteringress:multiclusteringress_proto", ++ "//google/cloud/gkehub/v1alpha/servicemesh:servicemesh_proto", + "//google/longrunning:longrunning_proto", -+ "//google/type:money_proto", -+ "//google/type:postaladdress_proto", -+ "@com_google_protobuf//:any_proto", -+ "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", -+ "@com_google_protobuf//:wrappers_proto", + ], +) + +go_proto_library( -+ name = "channel_go_proto", ++ name = "gkehub_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/channel/v1", -+ proto = ":channel_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/v1alpha", ++ proto = ":gkehub_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", ++ "//google/cloud/gkehub/v1alpha/cloudauditlogging:cloudauditlogging_go_proto", ++ "//google/cloud/gkehub/v1alpha/configmanagement:configmanagement_go_proto", ++ "//google/cloud/gkehub/v1alpha/metering:metering_go_proto", ++ "//google/cloud/gkehub/v1alpha/multiclusteringress:multiclusteringress_go_proto", ++ "//google/cloud/gkehub/v1alpha/servicemesh:servicemesh_go_proto", + "//google/longrunning:longrunning_go_proto", -+ "//google/type:money_go_proto", -+ "//google/type:postaladdress_go_proto", + ], +) -diff -urN c/google/cloud/datacatalog/v1/BUILD.bazel d/google/cloud/datacatalog/v1/BUILD.bazel ---- c/google/cloud/datacatalog/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/datacatalog/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,36 @@ +diff -urN c/google/cloud/gkehub/v1alpha/cloudauditlogging/BUILD.bazel d/google/cloud/gkehub/v1alpha/cloudauditlogging/BUILD.bazel +--- c/google/cloud/gkehub/v1alpha/cloudauditlogging/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/gkehub/v1alpha/cloudauditlogging/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,17 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "datacatalog_proto", -+ srcs = [ -+ "common.proto", -+ "datacatalog.proto", -+ "gcs_fileset_spec.proto", -+ "schema.proto", -+ "search.proto", -+ "table_spec.proto", -+ "tags.proto", -+ "timestamps.proto", -+ ], ++ name = "cloudauditlogging_proto", ++ srcs = ["cloudauditlogging.proto"], + visibility = ["//visibility:public"], -+ deps = [ -+ "//google/api:annotations_proto", -+ "//google/iam/v1:iam_proto", -+ "@com_google_protobuf//:empty_proto", -+ "@com_google_protobuf//:field_mask_proto", -+ "@com_google_protobuf//:timestamp_proto", -+ ], ++ deps = ["//google/api:annotations_proto"], +) + +go_proto_library( -+ name = "datacatalog_go_proto", -+ compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1", -+ proto = ":datacatalog_proto", ++ name = "cloudauditlogging_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/cloudauditlogging/v1alpha", ++ proto = ":cloudauditlogging_proto", + visibility = ["//visibility:public"], -+ deps = [ -+ "//google/api:annotations_go_proto", -+ "//google/iam/v1:iam_go_proto", -+ ], ++ deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/cloud/datacatalog/v1beta1/BUILD.bazel d/google/cloud/datacatalog/v1beta1/BUILD.bazel ---- c/google/cloud/datacatalog/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/datacatalog/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,38 @@ +diff -urN c/google/cloud/gkehub/v1alpha/configmanagement/BUILD.bazel d/google/cloud/gkehub/v1alpha/configmanagement/BUILD.bazel +--- c/google/cloud/gkehub/v1alpha/configmanagement/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/gkehub/v1alpha/configmanagement/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,20 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "datacatalog_proto", -+ srcs = [ -+ "common.proto", -+ "datacatalog.proto", -+ "gcs_fileset_spec.proto", -+ "policytagmanager.proto", -+ "policytagmanagerserialization.proto", -+ "schema.proto", -+ "search.proto", -+ "table_spec.proto", -+ "tags.proto", -+ "timestamps.proto", -+ ], ++ name = "configmanagement_proto", ++ srcs = ["configmanagement.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/iam/v1:iam_proto", -+ "@com_google_protobuf//:empty_proto", -+ "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "datacatalog_go_proto", -+ compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1", -+ proto = ":datacatalog_proto", ++ name = "configmanagement_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/configmanagement/v1alpha", ++ proto = ":configmanagement_proto", + visibility = ["//visibility:public"], -+ deps = [ -+ "//google/api:annotations_go_proto", -+ "//google/iam/v1:iam_go_proto", -+ ], ++ deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/cloud/datalabeling/v1beta1/BUILD.bazel d/google/cloud/datalabeling/v1beta1/BUILD.bazel ---- c/google/cloud/datalabeling/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/datalabeling/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,41 @@ +diff -urN c/google/cloud/gkehub/v1alpha/metering/BUILD.bazel d/google/cloud/gkehub/v1alpha/metering/BUILD.bazel +--- c/google/cloud/gkehub/v1alpha/metering/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/gkehub/v1alpha/metering/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,20 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "datalabeling_proto", -+ srcs = [ -+ "annotation.proto", -+ "annotation_spec_set.proto", -+ "data_labeling_service.proto", -+ "data_payloads.proto", -+ "dataset.proto", -+ "evaluation.proto", -+ "evaluation_job.proto", -+ "human_annotation_config.proto", -+ "instruction.proto", -+ "operations.proto", -+ ], ++ name = "metering_proto", ++ srcs = ["metering.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/longrunning:longrunning_proto", -+ "//google/rpc:status_proto", -+ "@com_google_protobuf//:duration_proto", -+ "@com_google_protobuf//:empty_proto", -+ "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "datalabeling_go_proto", -+ compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1", -+ proto = ":datalabeling_proto", ++ name = "metering_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/metering/v1alpha", ++ proto = ":metering_proto", + visibility = ["//visibility:public"], -+ deps = [ -+ "//google/api:annotations_go_proto", -+ "//google/longrunning:longrunning_go_proto", -+ "//google/rpc:status_go_proto", -+ ], ++ deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/cloud/dataproc/logging/BUILD.bazel d/google/cloud/dataproc/logging/BUILD.bazel ---- c/google/cloud/dataproc/logging/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/dataproc/logging/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,16 @@ +diff -urN c/google/cloud/gkehub/v1alpha/multiclusteringress/BUILD.bazel d/google/cloud/gkehub/v1alpha/multiclusteringress/BUILD.bazel +--- c/google/cloud/gkehub/v1alpha/multiclusteringress/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/gkehub/v1alpha/multiclusteringress/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,17 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "logging_proto", -+ srcs = ["autoscaler_log.proto"], ++ name = "multiclusteringress_proto", ++ srcs = ["multiclusteringress.proto"], + visibility = ["//visibility:public"], -+ deps = ["@com_google_protobuf//:duration_proto"], ++ deps = ["//google/api:annotations_proto"], +) + +go_proto_library( -+ name = "logging_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/cloud/dataproc/logging", -+ proto = ":logging_proto", ++ name = "multiclusteringress_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/multiclusteringress/v1alpha", ++ proto = ":multiclusteringress_proto", + visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/cloud/dataproc/v1/BUILD.bazel d/google/cloud/dataproc/v1/BUILD.bazel ---- c/google/cloud/dataproc/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/dataproc/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,35 @@ +diff -urN c/google/cloud/gkehub/v1alpha/servicemesh/BUILD.bazel d/google/cloud/gkehub/v1alpha/servicemesh/BUILD.bazel +--- c/google/cloud/gkehub/v1alpha/servicemesh/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/gkehub/v1alpha/servicemesh/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,20 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "servicemesh_proto", ++ srcs = ["servicemesh.proto"], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "@com_google_protobuf//:struct_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "servicemesh_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/servicemesh/v1alpha", ++ proto = ":servicemesh_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_go_proto"], ++) +diff -urN c/google/cloud/gkehub/v1alpha2/BUILD.bazel d/google/cloud/gkehub/v1alpha2/BUILD.bazel +--- c/google/cloud/gkehub/v1alpha2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/gkehub/v1alpha2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,26 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "dataproc_proto", -+ srcs = [ -+ "autoscaling_policies.proto", -+ "clusters.proto", -+ "jobs.proto", -+ "operations.proto", -+ "shared.proto", -+ "workflow_templates.proto", -+ ], ++ name = "gkehub_proto", ++ srcs = ["membership.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", + "//google/longrunning:longrunning_proto", -+ "@com_google_protobuf//:duration_proto", -+ "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "dataproc_go_proto", ++ name = "gkehub_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/dataproc/v1", -+ proto = ":dataproc_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/v1alpha2", ++ proto = ":gkehub_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", + "//google/longrunning:longrunning_go_proto", + ], +) -diff -urN c/google/cloud/dataproc/v1beta2/BUILD.bazel d/google/cloud/dataproc/v1beta2/BUILD.bazel ---- c/google/cloud/dataproc/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/dataproc/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +diff -urN c/google/cloud/gkehub/v1beta/BUILD.bazel d/google/cloud/gkehub/v1beta/BUILD.bazel +--- c/google/cloud/gkehub/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/gkehub/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "dataproc_proto", ++ name = "gkehub_proto", + srcs = [ -+ "autoscaling_policies.proto", -+ "clusters.proto", -+ "jobs.proto", -+ "operations.proto", -+ "shared.proto", -+ "workflow_templates.proto", ++ "feature.proto", ++ "service.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", ++ "//google/cloud/gkehub/v1beta/configmanagement:configmanagement_proto", ++ "//google/cloud/gkehub/v1beta/metering:metering_proto", ++ "//google/cloud/gkehub/v1beta/multiclusteringress:multiclusteringress_proto", + "//google/longrunning:longrunning_proto", -+ "@com_google_protobuf//:duration_proto", -+ "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "dataproc_go_proto", ++ name = "gkehub_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2", -+ proto = ":dataproc_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/v1beta", ++ proto = ":gkehub_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", ++ "//google/cloud/gkehub/v1beta/configmanagement:configmanagement_go_proto", ++ "//google/cloud/gkehub/v1beta/metering:metering_go_proto", ++ "//google/cloud/gkehub/v1beta/multiclusteringress:multiclusteringress_go_proto", + "//google/longrunning:longrunning_go_proto", + ], +) -diff -urN c/google/cloud/dataqna/v1alpha/BUILD.bazel d/google/cloud/dataqna/v1alpha/BUILD.bazel ---- c/google/cloud/dataqna/v1alpha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/dataqna/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,33 @@ +diff -urN c/google/cloud/gkehub/v1beta/configmanagement/BUILD.bazel d/google/cloud/gkehub/v1beta/configmanagement/BUILD.bazel +--- c/google/cloud/gkehub/v1beta/configmanagement/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/gkehub/v1beta/configmanagement/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,20 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "dataqna_proto", -+ srcs = [ -+ "annotated_string.proto", -+ "auto_suggestion_service.proto", -+ "question.proto", -+ "question_service.proto", -+ "user_feedback.proto", -+ ], ++ name = "configmanagement_proto", ++ srcs = ["configmanagement.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/rpc:status_proto", -+ "@com_google_protobuf//:any_proto", -+ "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "dataqna_go_proto", -+ compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/dataqna/v1alpha", -+ proto = ":dataqna_proto", ++ name = "configmanagement_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/configmanagement/v1beta", ++ proto = ":configmanagement_proto", + visibility = ["//visibility:public"], -+ deps = [ -+ "//google/api:annotations_go_proto", -+ "//google/rpc:status_go_proto", -+ ], ++ deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/cloud/dialogflow/BUILD.bazel d/google/cloud/dialogflow/BUILD.bazel ---- c/google/cloud/dialogflow/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/dialogflow/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,17 @@ +diff -urN c/google/cloud/gkehub/v1beta/metering/BUILD.bazel d/google/cloud/gkehub/v1beta/metering/BUILD.bazel +--- c/google/cloud/gkehub/v1beta/metering/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/gkehub/v1beta/metering/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,20 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "cloud_proto", -+ srcs = ["common_resources.proto"], ++ name = "metering_proto", ++ srcs = ["metering.proto"], + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_proto"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], +) + +go_proto_library( -+ name = "cloud_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/cloud/dialogflow", -+ proto = ":cloud_proto", ++ name = "metering_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/metering/v1beta", ++ proto = ":metering_proto", + visibility = ["//visibility:public"], + deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/cloud/dialogflow/cx/v3/BUILD.bazel d/google/cloud/dialogflow/cx/v3/BUILD.bazel ---- c/google/cloud/dialogflow/cx/v3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/dialogflow/cx/v3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,52 @@ +diff -urN c/google/cloud/gkehub/v1beta/multiclusteringress/BUILD.bazel d/google/cloud/gkehub/v1beta/multiclusteringress/BUILD.bazel +--- c/google/cloud/gkehub/v1beta/multiclusteringress/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/gkehub/v1beta/multiclusteringress/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,17 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "cx_proto", -+ srcs = [ -+ "agent.proto", -+ "audio_config.proto", -+ "entity_type.proto", -+ "environment.proto", -+ "experiment.proto", -+ "flow.proto", -+ "fulfillment.proto", -+ "intent.proto", -+ "page.proto", -+ "response_message.proto", -+ "security_settings.proto", -+ "session.proto", -+ "session_entity_type.proto", -+ "test_case.proto", -+ "transition_route_group.proto", -+ "validation_message.proto", -+ "version.proto", -+ "webhook.proto", -+ ], ++ name = "multiclusteringress_proto", ++ srcs = ["multiclusteringress.proto"], + visibility = ["//visibility:public"], -+ deps = [ -+ "//google/api:annotations_proto", -+ "//google/longrunning:longrunning_proto", -+ "//google/rpc:status_proto", -+ "//google/type:latlng_proto", -+ "@com_google_protobuf//:duration_proto", -+ "@com_google_protobuf//:empty_proto", -+ "@com_google_protobuf//:field_mask_proto", -+ "@com_google_protobuf//:struct_proto", -+ "@com_google_protobuf//:timestamp_proto", -+ ], ++ deps = ["//google/api:annotations_proto"], +) + +go_proto_library( -+ name = "cx_go_proto", -+ compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/dialogflow/cx/v3", -+ proto = ":cx_proto", ++ name = "multiclusteringress_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/multiclusteringress/v1beta", ++ proto = ":multiclusteringress_proto", + visibility = ["//visibility:public"], -+ deps = [ -+ "//google/api:annotations_go_proto", -+ "//google/longrunning:longrunning_go_proto", -+ "//google/rpc:status_go_proto", -+ "//google/type:latlng_go_proto", -+ ], ++ deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel d/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel ---- c/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,52 @@ +diff -urN c/google/cloud/gkehub/v1beta1/BUILD.bazel d/google/cloud/gkehub/v1beta1/BUILD.bazel +--- c/google/cloud/gkehub/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/gkehub/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,28 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "cx_proto", -+ srcs = [ -+ "agent.proto", -+ "audio_config.proto", -+ "entity_type.proto", -+ "environment.proto", -+ "experiment.proto", -+ "flow.proto", -+ "fulfillment.proto", -+ "intent.proto", -+ "page.proto", -+ "response_message.proto", -+ "security_settings.proto", -+ "session.proto", -+ "session_entity_type.proto", -+ "test_case.proto", -+ "transition_route_group.proto", -+ "validation_message.proto", -+ "version.proto", -+ "webhook.proto", -+ ], ++ name = "gkehub_proto", ++ srcs = ["membership.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", + "//google/longrunning:longrunning_proto", + "//google/rpc:status_proto", -+ "//google/type:latlng_proto", -+ "@com_google_protobuf//:duration_proto", -+ "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", -+ "@com_google_protobuf//:struct_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "cx_go_proto", ++ name = "gkehub_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/dialogflow/cx/v3beta1", -+ proto = ":cx_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/v1beta1", ++ proto = ":gkehub_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", + "//google/longrunning:longrunning_go_proto", + "//google/rpc:status_go_proto", -+ "//google/type:latlng_go_proto", + ], +) -diff -urN c/google/cloud/dialogflow/v2/BUILD.bazel d/google/cloud/dialogflow/v2/BUILD.bazel ---- c/google/cloud/dialogflow/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/dialogflow/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,53 @@ +diff -urN c/google/cloud/gsuiteaddons/v1/BUILD.bazel d/google/cloud/gsuiteaddons/v1/BUILD.bazel +--- c/google/cloud/gsuiteaddons/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/gsuiteaddons/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,38 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "dialogflow_proto", -+ srcs = [ -+ "agent.proto", -+ "answer_record.proto", -+ "audio_config.proto", -+ "context.proto", -+ "conversation.proto", -+ "conversation_event.proto", -+ "conversation_profile.proto", -+ "document.proto", -+ "entity_type.proto", -+ "environment.proto", -+ "gcs.proto", -+ "human_agent_assistant_event.proto", -+ "intent.proto", -+ "knowledge_base.proto", -+ "participant.proto", -+ "session.proto", -+ "session_entity_type.proto", -+ "validation_result.proto", -+ "webhook.proto", -+ ], ++ name = "gsuiteaddons_proto", ++ srcs = ["gsuiteaddons.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/longrunning:longrunning_proto", -+ "//google/rpc:status_proto", -+ "//google/type:latlng_proto", -+ "@com_google_protobuf//:duration_proto", ++ "//google/apps/script/type:type_proto", ++ "//google/apps/script/type/calendar:calendar_proto", ++ "//google/apps/script/type/docs:docs_proto", ++ "//google/apps/script/type/drive:drive_proto", ++ "//google/apps/script/type/gmail:gmail_proto", ++ "//google/apps/script/type/sheets:sheets_proto", ++ "//google/apps/script/type/slides:slides_proto", + "@com_google_protobuf//:empty_proto", -+ "@com_google_protobuf//:field_mask_proto", -+ "@com_google_protobuf//:struct_proto", -+ "@com_google_protobuf//:timestamp_proto", ++ "@com_google_protobuf//:wrappers_proto", + ], +) + +go_proto_library( -+ name = "dialogflow_go_proto", ++ name = "gsuiteaddons_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2", -+ proto = ":dialogflow_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/gsuiteaddons/v1", ++ proto = ":gsuiteaddons_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/longrunning:longrunning_go_proto", -+ "//google/rpc:status_go_proto", -+ "//google/type:latlng_go_proto", ++ "//google/apps/script/type:type_go_proto", ++ "//google/apps/script/type/calendar:calendar_go_proto", ++ "//google/apps/script/type/docs:docs_go_proto", ++ "//google/apps/script/type/drive:drive_go_proto", ++ "//google/apps/script/type/gmail:gmail_go_proto", ++ "//google/apps/script/type/sheets:sheets_go_proto", ++ "//google/apps/script/type/slides:slides_go_proto", + ], +) -diff -urN c/google/cloud/dialogflow/v2beta1/BUILD.bazel d/google/cloud/dialogflow/v2beta1/BUILD.bazel ---- c/google/cloud/dialogflow/v2beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/dialogflow/v2beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,54 @@ +diff -urN c/google/cloud/iap/v1/BUILD.bazel d/google/cloud/iap/v1/BUILD.bazel +--- c/google/cloud/iap/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/iap/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,27 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "dialogflow_proto", -+ srcs = [ -+ "agent.proto", -+ "answer_record.proto", -+ "audio_config.proto", -+ "context.proto", -+ "conversation.proto", -+ "conversation_event.proto", -+ "conversation_profile.proto", -+ "document.proto", -+ "entity_type.proto", -+ "environment.proto", -+ "gcs.proto", -+ "human_agent_assistant_event.proto", -+ "intent.proto", -+ "knowledge_base.proto", -+ "participant.proto", -+ "session.proto", -+ "session_entity_type.proto", -+ "validation_result.proto", -+ "webhook.proto", -+ ], ++ name = "iap_proto", ++ srcs = ["service.proto"], + visibility = ["//visibility:public"], + deps = [ -+ "//google/api:annotations_proto", -+ "//google/longrunning:longrunning_proto", -+ "//google/rpc:status_proto", -+ "//google/type:latlng_proto", -+ "@com_google_protobuf//:any_proto", -+ "@com_google_protobuf//:duration_proto", ++ "//google/api:annotations_proto", ++ "//google/iam/v1:iam_proto", + "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", -+ "@com_google_protobuf//:struct_proto", -+ "@com_google_protobuf//:timestamp_proto", ++ "@com_google_protobuf//:wrappers_proto", + ], +) + +go_proto_library( -+ name = "dialogflow_go_proto", ++ name = "iap_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1", -+ proto = ":dialogflow_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/iap/v1", ++ proto = ":iap_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/longrunning:longrunning_go_proto", -+ "//google/rpc:status_go_proto", -+ "//google/type:latlng_go_proto", ++ "//google/iam/v1:iam_go_proto", + ], +) -diff -urN c/google/cloud/documentai/v1/BUILD.bazel d/google/cloud/documentai/v1/BUILD.bazel ---- c/google/cloud/documentai/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/documentai/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,43 @@ +diff -urN c/google/cloud/iap/v1beta1/BUILD.bazel d/google/cloud/iap/v1beta1/BUILD.bazel +--- c/google/cloud/iap/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/iap/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,24 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "documentai_proto", -+ srcs = [ -+ "document.proto", -+ "document_io.proto", -+ "document_processor_service.proto", -+ "geometry.proto", -+ ], ++ name = "iap_proto", ++ srcs = ["service.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/longrunning:longrunning_proto", -+ "//google/rpc:status_proto", -+ "//google/type:color_proto", -+ "//google/type:date_proto", -+ "//google/type:datetime_proto", -+ "//google/type:money_proto", -+ "//google/type:postaladdress_proto", -+ "@com_google_protobuf//:field_mask_proto", -+ "@com_google_protobuf//:timestamp_proto", ++ "//google/iam/v1:iam_proto", + ], +) + +go_proto_library( -+ name = "documentai_go_proto", ++ name = "iap_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/documentai/v1", -+ proto = ":documentai_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/iap/v1beta1", ++ proto = ":iap_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/longrunning:longrunning_go_proto", -+ "//google/rpc:status_go_proto", -+ "//google/type:color_go_proto", -+ "//google/type:date_go_proto", -+ "//google/type:datetime_go_proto", -+ "//google/type:money_go_proto", -+ "//google/type:postaladdress_go_proto", ++ "//google/iam/v1:iam_go_proto", + ], +) -diff -urN c/google/cloud/documentai/v1beta1/BUILD.bazel d/google/cloud/documentai/v1beta1/BUILD.bazel ---- c/google/cloud/documentai/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/documentai/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,33 @@ +diff -urN c/google/cloud/iot/v1/BUILD.bazel d/google/cloud/iot/v1/BUILD.bazel +--- c/google/cloud/iot/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/iot/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,32 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "documentai_proto", ++ name = "iot_proto", + srcs = [ -+ "document.proto", -+ "document_understanding.proto", -+ "geometry.proto", ++ "device_manager.proto", ++ "resources.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/longrunning:longrunning_proto", ++ "//google/iam/v1:iam_proto", + "//google/rpc:status_proto", -+ "//google/type:color_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "documentai_go_proto", ++ name = "iot_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta1", -+ proto = ":documentai_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/iot/v1", ++ proto = ":iot_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/longrunning:longrunning_go_proto", ++ "//google/iam/v1:iam_go_proto", + "//google/rpc:status_go_proto", -+ "//google/type:color_go_proto", + ], +) -diff -urN c/google/cloud/documentai/v1beta2/BUILD.bazel d/google/cloud/documentai/v1beta2/BUILD.bazel ---- c/google/cloud/documentai/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/documentai/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,33 @@ +diff -urN c/google/cloud/kms/v1/BUILD.bazel d/google/cloud/kms/v1/BUILD.bazel +--- c/google/cloud/kms/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/kms/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,27 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "documentai_proto", ++ name = "kms_proto", + srcs = [ -+ "document.proto", -+ "document_understanding.proto", -+ "geometry.proto", ++ "resources.proto", ++ "service.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/longrunning:longrunning_proto", -+ "//google/rpc:status_proto", -+ "//google/type:color_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", ++ "@com_google_protobuf//:wrappers_proto", + ], +) + +go_proto_library( -+ name = "documentai_go_proto", ++ name = "kms_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta2", -+ proto = ":documentai_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/kms/v1", ++ proto = ":kms_proto", + visibility = ["//visibility:public"], -+ deps = [ -+ "//google/api:annotations_go_proto", -+ "//google/longrunning:longrunning_go_proto", -+ "//google/rpc:status_go_proto", -+ "//google/type:color_go_proto", -+ ], ++ deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/cloud/documentai/v1beta3/BUILD.bazel d/google/cloud/documentai/v1beta3/BUILD.bazel ---- c/google/cloud/documentai/v1beta3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/documentai/v1beta3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,43 @@ +diff -urN c/google/cloud/language/v1/BUILD.bazel d/google/cloud/language/v1/BUILD.bazel +--- c/google/cloud/language/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/language/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,18 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "documentai_proto", -+ srcs = [ -+ "document.proto", -+ "document_io.proto", -+ "document_processor_service.proto", -+ "geometry.proto", -+ ], ++ name = "language_proto", ++ srcs = ["language_service.proto"], + visibility = ["//visibility:public"], -+ deps = [ -+ "//google/api:annotations_proto", -+ "//google/longrunning:longrunning_proto", -+ "//google/rpc:status_proto", -+ "//google/type:color_proto", -+ "//google/type:date_proto", -+ "//google/type:datetime_proto", -+ "//google/type:money_proto", -+ "//google/type:postaladdress_proto", -+ "@com_google_protobuf//:field_mask_proto", -+ "@com_google_protobuf//:timestamp_proto", -+ ], ++ deps = ["//google/api:annotations_proto"], +) + +go_proto_library( -+ name = "documentai_go_proto", ++ name = "language_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta3", -+ proto = ":documentai_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/language/v1", ++ proto = ":language_proto", + visibility = ["//visibility:public"], -+ deps = [ -+ "//google/api:annotations_go_proto", -+ "//google/longrunning:longrunning_go_proto", -+ "//google/rpc:status_go_proto", -+ "//google/type:color_go_proto", -+ "//google/type:date_go_proto", -+ "//google/type:datetime_go_proto", -+ "//google/type:money_go_proto", -+ "//google/type:postaladdress_go_proto", -+ ], ++ deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/cloud/domains/v1alpha2/BUILD.bazel d/google/cloud/domains/v1alpha2/BUILD.bazel ---- c/google/cloud/domains/v1alpha2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/domains/v1alpha2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,30 @@ +diff -urN c/google/cloud/language/v1beta1/BUILD.bazel d/google/cloud/language/v1beta1/BUILD.bazel +--- c/google/cloud/language/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/language/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,18 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "domains_proto", -+ srcs = ["domains.proto"], ++ name = "language_proto", ++ srcs = ["language_service.proto"], + visibility = ["//visibility:public"], -+ deps = [ -+ "//google/api:annotations_proto", -+ "//google/longrunning:longrunning_proto", -+ "//google/type:money_proto", -+ "//google/type:postaladdress_proto", -+ "@com_google_protobuf//:field_mask_proto", -+ "@com_google_protobuf//:timestamp_proto", -+ ], ++ deps = ["//google/api:annotations_proto"], +) + +go_proto_library( -+ name = "domains_go_proto", ++ name = "language_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/domains/v1alpha2", -+ proto = ":domains_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/language/v1beta1", ++ proto = ":language_proto", + visibility = ["//visibility:public"], -+ deps = [ -+ "//google/api:annotations_go_proto", -+ "//google/longrunning:longrunning_go_proto", -+ "//google/type:money_go_proto", -+ "//google/type:postaladdress_go_proto", -+ ], ++ deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/cloud/domains/v1beta1/BUILD.bazel d/google/cloud/domains/v1beta1/BUILD.bazel ---- c/google/cloud/domains/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/domains/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,30 @@ +diff -urN c/google/cloud/language/v1beta2/BUILD.bazel d/google/cloud/language/v1beta2/BUILD.bazel +--- c/google/cloud/language/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/language/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,21 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "domains_proto", -+ srcs = ["domains.proto"], ++ name = "language_proto", ++ srcs = ["language_service.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/longrunning:longrunning_proto", -+ "//google/type:money_proto", -+ "//google/type:postaladdress_proto", -+ "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "domains_go_proto", ++ name = "language_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/domains/v1beta1", -+ proto = ":domains_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/language/v1beta2", ++ proto = ":language_proto", + visibility = ["//visibility:public"], -+ deps = [ -+ "//google/api:annotations_go_proto", -+ "//google/longrunning:longrunning_go_proto", -+ "//google/type:money_go_proto", -+ "//google/type:postaladdress_go_proto", -+ ], ++ deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/cloud/functions/v1/BUILD.bazel d/google/cloud/functions/v1/BUILD.bazel ---- c/google/cloud/functions/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/functions/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,33 @@ +diff -urN c/google/cloud/lifesciences/v2beta/BUILD.bazel d/google/cloud/lifesciences/v2beta/BUILD.bazel +--- c/google/cloud/lifesciences/v2beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/lifesciences/v2beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,28 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "functions_proto", -+ srcs = [ -+ "functions.proto", -+ "operations.proto", -+ ], ++ name = "lifesciences_proto", ++ srcs = ["workflows.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/iam/v1:iam_proto", + "//google/longrunning:longrunning_proto", -+ "@com_google_protobuf//:any_proto", ++ "//google/rpc:code_proto", + "@com_google_protobuf//:duration_proto", -+ "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "functions_go_proto", ++ name = "lifesciences_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/functions/v1", -+ proto = ":functions_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/lifesciences/v2beta", ++ proto = ":lifesciences_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/iam/v1:iam_go_proto", + "//google/longrunning:longrunning_go_proto", ++ "//google/rpc:code_go_proto", + ], +) -diff -urN c/google/cloud/gaming/v1/BUILD.bazel d/google/cloud/gaming/v1/BUILD.bazel ---- c/google/cloud/gaming/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/gaming/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,37 @@ +diff -urN c/google/cloud/location/BUILD.bazel d/google/cloud/location/BUILD.bazel +--- c/google/cloud/location/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/location/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,21 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "gaming_proto", -+ srcs = [ -+ "common.proto", -+ "game_server_clusters.proto", -+ "game_server_clusters_service.proto", -+ "game_server_configs.proto", -+ "game_server_configs_service.proto", -+ "game_server_deployments.proto", -+ "game_server_deployments_service.proto", -+ "realms.proto", -+ "realms_service.proto", -+ ], ++ name = "location_proto", ++ srcs = ["locations.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/longrunning:longrunning_proto", -+ "@com_google_protobuf//:duration_proto", -+ "@com_google_protobuf//:field_mask_proto", -+ "@com_google_protobuf//:timestamp_proto", ++ "@com_google_protobuf//:any_proto", + ], +) + +go_proto_library( -+ name = "gaming_go_proto", -+ compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/gaming/v1", -+ proto = ":gaming_proto", ++ name = "location_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/location", ++ proto = ":location_proto", + visibility = ["//visibility:public"], -+ deps = [ -+ "//google/api:annotations_go_proto", -+ "//google/longrunning:longrunning_go_proto", -+ ], ++ deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/cloud/gaming/v1beta/BUILD.bazel d/google/cloud/gaming/v1beta/BUILD.bazel ---- c/google/cloud/gaming/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/gaming/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,37 @@ +diff -urN c/google/cloud/managedidentities/v1/BUILD.bazel d/google/cloud/managedidentities/v1/BUILD.bazel +--- c/google/cloud/managedidentities/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/managedidentities/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,29 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "gaming_proto", ++ name = "managedidentities_proto", + srcs = [ -+ "common.proto", -+ "game_server_clusters.proto", -+ "game_server_clusters_service.proto", -+ "game_server_configs.proto", -+ "game_server_configs_service.proto", -+ "game_server_deployments.proto", -+ "game_server_deployments_service.proto", -+ "realms.proto", -+ "realms_service.proto", ++ "managed_identities_service.proto", ++ "resource.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", + "//google/longrunning:longrunning_proto", -+ "@com_google_protobuf//:duration_proto", + "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "gaming_go_proto", ++ name = "managedidentities_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/gaming/v1beta", -+ proto = ":gaming_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/managedidentities/v1", ++ proto = ":managedidentities_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", + "//google/longrunning:longrunning_go_proto", + ], +) -diff -urN c/google/cloud/gkehub/v1alpha2/BUILD.bazel d/google/cloud/gkehub/v1alpha2/BUILD.bazel ---- c/google/cloud/gkehub/v1alpha2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/gkehub/v1alpha2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +diff -urN c/google/cloud/managedidentities/v1beta1/BUILD.bazel d/google/cloud/managedidentities/v1beta1/BUILD.bazel +--- c/google/cloud/managedidentities/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/managedidentities/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,29 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "gkehub_proto", -+ srcs = ["membership.proto"], ++ name = "managedidentities_proto", ++ srcs = [ ++ "managed_identities_service.proto", ++ "resource.proto", ++ ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", @@ -6175,296 +9033,302 @@ diff -urN c/google/cloud/gkehub/v1alpha2/BUILD.bazel d/google/cloud/gkehub/v1alp +) + +go_proto_library( -+ name = "gkehub_go_proto", ++ name = "managedidentities_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/v1alpha2", -+ proto = ":gkehub_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/managedidentities/v1beta1", ++ proto = ":managedidentities_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", + "//google/longrunning:longrunning_go_proto", + ], +) -diff -urN c/google/cloud/gkehub/v1beta1/BUILD.bazel d/google/cloud/gkehub/v1beta1/BUILD.bazel ---- c/google/cloud/gkehub/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/gkehub/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,28 @@ +diff -urN c/google/cloud/mediatranslation/v1alpha1/BUILD.bazel d/google/cloud/mediatranslation/v1alpha1/BUILD.bazel +--- c/google/cloud/mediatranslation/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/mediatranslation/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,24 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "gkehub_proto", -+ srcs = ["membership.proto"], ++ name = "mediatranslation_proto", ++ srcs = ["media_translation.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/longrunning:longrunning_proto", + "//google/rpc:status_proto", -+ "@com_google_protobuf//:field_mask_proto", -+ "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "gkehub_go_proto", ++ name = "mediatranslation_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/v1beta1", -+ proto = ":gkehub_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/mediatranslation/v1alpha1", ++ proto = ":mediatranslation_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/longrunning:longrunning_go_proto", + "//google/rpc:status_go_proto", + ], +) -diff -urN c/google/cloud/gsuiteaddons/v1/BUILD.bazel d/google/cloud/gsuiteaddons/v1/BUILD.bazel ---- c/google/cloud/gsuiteaddons/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/gsuiteaddons/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,38 @@ +diff -urN c/google/cloud/mediatranslation/v1beta1/BUILD.bazel d/google/cloud/mediatranslation/v1beta1/BUILD.bazel +--- c/google/cloud/mediatranslation/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/mediatranslation/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,24 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "gsuiteaddons_proto", -+ srcs = ["gsuiteaddons.proto"], ++ name = "mediatranslation_proto", ++ srcs = ["media_translation.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/apps/script/type:type_proto", -+ "//google/apps/script/type/calendar:calendar_proto", -+ "//google/apps/script/type/docs:docs_proto", -+ "//google/apps/script/type/drive:drive_proto", -+ "//google/apps/script/type/gmail:gmail_proto", -+ "//google/apps/script/type/sheets:sheets_proto", -+ "//google/apps/script/type/slides:slides_proto", -+ "@com_google_protobuf//:empty_proto", -+ "@com_google_protobuf//:wrappers_proto", ++ "//google/rpc:status_proto", + ], +) + +go_proto_library( -+ name = "gsuiteaddons_go_proto", ++ name = "mediatranslation_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/gsuiteaddons/v1", -+ proto = ":gsuiteaddons_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/mediatranslation/v1beta1", ++ proto = ":mediatranslation_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/apps/script/type:type_go_proto", -+ "//google/apps/script/type/calendar:calendar_go_proto", -+ "//google/apps/script/type/docs:docs_go_proto", -+ "//google/apps/script/type/drive:drive_go_proto", -+ "//google/apps/script/type/gmail:gmail_go_proto", -+ "//google/apps/script/type/sheets:sheets_go_proto", -+ "//google/apps/script/type/slides:slides_go_proto", ++ "//google/rpc:status_go_proto", + ], +) -diff -urN c/google/cloud/iot/v1/BUILD.bazel d/google/cloud/iot/v1/BUILD.bazel ---- c/google/cloud/iot/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/iot/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,32 @@ +diff -urN c/google/cloud/memcache/v1/BUILD.bazel d/google/cloud/memcache/v1/BUILD.bazel +--- c/google/cloud/memcache/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/memcache/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,26 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "iot_proto", -+ srcs = [ -+ "device_manager.proto", -+ "resources.proto", -+ ], ++ name = "memcache_proto", ++ srcs = ["cloud_memcache.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "//google/iam/v1:iam_proto", -+ "//google/rpc:status_proto", -+ "@com_google_protobuf//:empty_proto", ++ "//google/longrunning:longrunning_proto", + "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "iot_go_proto", ++ name = "memcache_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/iot/v1", -+ proto = ":iot_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/memcache/v1", ++ proto = ":memcache_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", -+ "//google/iam/v1:iam_go_proto", -+ "//google/rpc:status_go_proto", ++ "//google/longrunning:longrunning_go_proto", + ], +) -diff -urN c/google/cloud/kms/v1/BUILD.bazel d/google/cloud/kms/v1/BUILD.bazel ---- c/google/cloud/kms/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/kms/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,27 @@ +diff -urN c/google/cloud/memcache/v1beta2/BUILD.bazel d/google/cloud/memcache/v1beta2/BUILD.bazel +--- c/google/cloud/memcache/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/memcache/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,26 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "kms_proto", -+ srcs = [ -+ "resources.proto", -+ "service.proto", -+ ], ++ name = "memcache_proto", ++ srcs = ["cloud_memcache.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "@com_google_protobuf//:duration_proto", ++ "//google/longrunning:longrunning_proto", + "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", -+ "@com_google_protobuf//:wrappers_proto", + ], +) + +go_proto_library( -+ name = "kms_go_proto", ++ name = "memcache_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/kms/v1", -+ proto = ":kms_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/memcache/v1beta2", ++ proto = ":memcache_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_go_proto"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ ], +) -diff -urN c/google/cloud/language/v1/BUILD.bazel d/google/cloud/language/v1/BUILD.bazel ---- c/google/cloud/language/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/language/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,18 @@ +diff -urN c/google/cloud/metastore/logging/v1/BUILD.bazel d/google/cloud/metastore/logging/v1/BUILD.bazel +--- c/google/cloud/metastore/logging/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/metastore/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,15 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "language_proto", -+ srcs = ["language_service.proto"], ++ name = "logging_proto", ++ srcs = ["log_streams.proto"], + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_proto"], +) + +go_proto_library( -+ name = "language_go_proto", -+ compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/language/v1", -+ proto = ":language_proto", ++ name = "logging_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/metastore/logging/v1", ++ proto = ":logging_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_go_proto"], +) -diff -urN c/google/cloud/language/v1beta1/BUILD.bazel d/google/cloud/language/v1beta1/BUILD.bazel ---- c/google/cloud/language/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/language/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,18 @@ +diff -urN c/google/cloud/metastore/v1/BUILD.bazel d/google/cloud/metastore/v1/BUILD.bazel +--- c/google/cloud/metastore/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/metastore/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,29 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "language_proto", -+ srcs = ["language_service.proto"], ++ name = "metastore_proto", ++ srcs = ["metastore.proto"], + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_proto"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/longrunning:longrunning_proto", ++ "//google/type:dayofweek_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ "@com_google_protobuf//:wrappers_proto", ++ ], +) + +go_proto_library( -+ name = "language_go_proto", ++ name = "metastore_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/language/v1beta1", -+ proto = ":language_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/metastore/v1", ++ proto = ":metastore_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_go_proto"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ "//google/type:dayofweek_go_proto", ++ ], +) -diff -urN c/google/cloud/language/v1beta2/BUILD.bazel d/google/cloud/language/v1beta2/BUILD.bazel ---- c/google/cloud/language/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/language/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,21 @@ +diff -urN c/google/cloud/metastore/v1alpha/BUILD.bazel d/google/cloud/metastore/v1alpha/BUILD.bazel +--- c/google/cloud/metastore/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/metastore/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,29 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "language_proto", -+ srcs = ["language_service.proto"], ++ name = "metastore_proto", ++ srcs = ["metastore.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", ++ "//google/longrunning:longrunning_proto", ++ "//google/type:dayofweek_proto", ++ "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", ++ "@com_google_protobuf//:wrappers_proto", + ], +) + +go_proto_library( -+ name = "language_go_proto", ++ name = "metastore_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/language/v1beta2", -+ proto = ":language_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/metastore/v1alpha", ++ proto = ":metastore_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_go_proto"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ "//google/type:dayofweek_go_proto", ++ ], +) -diff -urN c/google/cloud/location/BUILD.bazel d/google/cloud/location/BUILD.bazel ---- c/google/cloud/location/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/location/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,21 @@ +diff -urN c/google/cloud/metastore/v1beta/BUILD.bazel d/google/cloud/metastore/v1beta/BUILD.bazel +--- c/google/cloud/metastore/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/metastore/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,29 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "location_proto", -+ srcs = ["locations.proto"], ++ name = "metastore_proto", ++ srcs = ["metastore.proto"], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "@com_google_protobuf//:any_proto", ++ "//google/longrunning:longrunning_proto", ++ "//google/type:dayofweek_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ "@com_google_protobuf//:wrappers_proto", + ], +) + +go_proto_library( -+ name = "location_go_proto", ++ name = "metastore_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/location", -+ proto = ":location_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/metastore/v1beta", ++ proto = ":metastore_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_go_proto"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ "//google/type:dayofweek_go_proto", ++ ], +) -diff -urN c/google/cloud/managedidentities/v1/BUILD.bazel d/google/cloud/managedidentities/v1/BUILD.bazel ---- c/google/cloud/managedidentities/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/managedidentities/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,29 @@ +diff -urN c/google/cloud/ml/v1/BUILD.bazel d/google/cloud/ml/v1/BUILD.bazel +--- c/google/cloud/ml/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/ml/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,36 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "managedidentities_proto", ++ name = "ml_proto", + srcs = [ -+ "managed_identities_service.proto", -+ "resource.proto", ++ "job_service.proto", ++ "model_service.proto", ++ "operation_metadata.proto", ++ "prediction_service.proto", ++ "project_service.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", ++ "//google/api:httpbody_proto", ++ "//google/api:serviceconfig_proto", + "//google/longrunning:longrunning_proto", -+ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "managedidentities_go_proto", ++ name = "ml_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/managedidentities/v1", -+ proto = ":managedidentities_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/ml/v1", ++ proto = ":ml_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", ++ "//google/api:httpbody_go_proto", ++ "//google/api:serviceconfig_go_proto", + "//google/longrunning:longrunning_go_proto", + ], +) -diff -urN c/google/cloud/managedidentities/v1beta1/BUILD.bazel d/google/cloud/managedidentities/v1beta1/BUILD.bazel ---- c/google/cloud/managedidentities/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/managedidentities/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +diff -urN c/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel d/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel +--- c/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "managedidentities_proto", ++ name = "networkconnectivity_proto", + srcs = [ -+ "managed_identities_service.proto", -+ "resource.proto", ++ "common.proto", ++ "hub.proto", + ], + visibility = ["//visibility:public"], + deps = [ @@ -6476,82 +9340,105 @@ diff -urN c/google/cloud/managedidentities/v1beta1/BUILD.bazel d/google/cloud/ma +) + +go_proto_library( -+ name = "managedidentities_go_proto", ++ name = "networkconnectivity_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/managedidentities/v1beta1", -+ proto = ":managedidentities_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/networkconnectivity/v1alpha1", ++ proto = ":networkconnectivity_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", + "//google/longrunning:longrunning_go_proto", + ], +) -diff -urN c/google/cloud/mediatranslation/v1alpha1/BUILD.bazel d/google/cloud/mediatranslation/v1alpha1/BUILD.bazel ---- c/google/cloud/mediatranslation/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/mediatranslation/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,24 @@ +diff -urN c/google/cloud/networkmanagement/v1/BUILD.bazel d/google/cloud/networkmanagement/v1/BUILD.bazel +--- c/google/cloud/networkmanagement/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/networkmanagement/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,32 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "mediatranslation_proto", -+ srcs = ["media_translation.proto"], ++ name = "networkmanagement_proto", ++ srcs = [ ++ "connectivity_test.proto", ++ "reachability.proto", ++ "trace.proto", ++ ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", ++ "//google/longrunning:longrunning_proto", + "//google/rpc:status_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "mediatranslation_go_proto", ++ name = "networkmanagement_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/mediatranslation/v1alpha1", -+ proto = ":mediatranslation_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/networkmanagement/v1", ++ proto = ":networkmanagement_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", + "//google/rpc:status_go_proto", + ], +) -diff -urN c/google/cloud/mediatranslation/v1beta1/BUILD.bazel d/google/cloud/mediatranslation/v1beta1/BUILD.bazel ---- c/google/cloud/mediatranslation/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/mediatranslation/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,24 @@ +diff -urN c/google/cloud/networkmanagement/v1beta1/BUILD.bazel d/google/cloud/networkmanagement/v1beta1/BUILD.bazel +--- c/google/cloud/networkmanagement/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/networkmanagement/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,32 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "mediatranslation_proto", -+ srcs = ["media_translation.proto"], ++ name = "networkmanagement_proto", ++ srcs = [ ++ "connectivity_test.proto", ++ "reachability.proto", ++ "trace.proto", ++ ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", ++ "//google/longrunning:longrunning_proto", + "//google/rpc:status_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "mediatranslation_go_proto", ++ name = "networkmanagement_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/mediatranslation/v1beta1", -+ proto = ":mediatranslation_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/networkmanagement/v1beta1", ++ proto = ":networkmanagement_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", + "//google/rpc:status_go_proto", + ], +) -diff -urN c/google/cloud/memcache/v1/BUILD.bazel d/google/cloud/memcache/v1/BUILD.bazel ---- c/google/cloud/memcache/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/memcache/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +diff -urN c/google/cloud/networksecurity/v1beta1/BUILD.bazel d/google/cloud/networksecurity/v1beta1/BUILD.bazel +--- c/google/cloud/networksecurity/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/networksecurity/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,33 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "memcache_proto", -+ srcs = ["cloud_memcache.proto"], ++ name = "networksecurity_proto", ++ srcs = [ ++ "authorization_policy.proto", ++ "client_tls_policy.proto", ++ "common.proto", ++ "network_security.proto", ++ "server_tls_policy.proto", ++ "tls.proto", ++ ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", @@ -6562,206 +9449,189 @@ diff -urN c/google/cloud/memcache/v1/BUILD.bazel d/google/cloud/memcache/v1/BUIL +) + +go_proto_library( -+ name = "memcache_go_proto", ++ name = "networksecurity_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/memcache/v1", -+ proto = ":memcache_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/networksecurity/v1beta1", ++ proto = ":networksecurity_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", + "//google/longrunning:longrunning_go_proto", + ], +) -diff -urN c/google/cloud/memcache/v1beta2/BUILD.bazel d/google/cloud/memcache/v1beta2/BUILD.bazel ---- c/google/cloud/memcache/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/memcache/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +diff -urN c/google/cloud/notebooks/v1beta1/BUILD.bazel d/google/cloud/notebooks/v1beta1/BUILD.bazel +--- c/google/cloud/notebooks/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/notebooks/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,29 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "memcache_proto", -+ srcs = ["cloud_memcache.proto"], ++ name = "notebooks_proto", ++ srcs = [ ++ "environment.proto", ++ "instance.proto", ++ "service.proto", ++ ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", + "//google/longrunning:longrunning_proto", -+ "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "memcache_go_proto", ++ name = "notebooks_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/memcache/v1beta2", -+ proto = ":memcache_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/notebooks/v1beta1", ++ proto = ":notebooks_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", + "//google/longrunning:longrunning_go_proto", + ], +) -diff -urN c/google/cloud/metastore/logging/v1/BUILD.bazel d/google/cloud/metastore/logging/v1/BUILD.bazel ---- c/google/cloud/metastore/logging/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/metastore/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,15 @@ -+load("@rules_proto//proto:defs.bzl", "proto_library") -+load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") -+ -+proto_library( -+ name = "logging_proto", -+ srcs = ["log_streams.proto"], -+ visibility = ["//visibility:public"], -+) -+ -+go_proto_library( -+ name = "logging_go_proto", -+ importpath = "google.golang.org/genproto/googleapis/cloud/metastore/logging/v1", -+ proto = ":logging_proto", -+ visibility = ["//visibility:public"], -+) -diff -urN c/google/cloud/metastore/v1alpha/BUILD.bazel d/google/cloud/metastore/v1alpha/BUILD.bazel ---- c/google/cloud/metastore/v1alpha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/metastore/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +diff -urN c/google/cloud/ondemandscanning/v1/BUILD.bazel d/google/cloud/ondemandscanning/v1/BUILD.bazel +--- c/google/cloud/ondemandscanning/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/ondemandscanning/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "metastore_proto", -+ srcs = ["metastore.proto"], ++ name = "ondemandscanning_proto", ++ srcs = ["scanner_service.proto"], + visibility = ["//visibility:public"], + deps = [ ++ "//cloud/containers/workflow/vulnerability/proto:vulnerability_proto", + "//google/api:annotations_proto", + "//google/longrunning:longrunning_proto", -+ "//google/type:dayofweek_proto", -+ "@com_google_protobuf//:field_mask_proto", ++ "//grafeas/v1:grafeas_proto", + "@com_google_protobuf//:timestamp_proto", -+ "@com_google_protobuf//:wrappers_proto", + ], +) + +go_proto_library( -+ name = "metastore_go_proto", ++ name = "ondemandscanning_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/metastore/v1alpha", -+ proto = ":metastore_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/ondemandscanning/v1", ++ proto = ":ondemandscanning_proto", + visibility = ["//visibility:public"], + deps = [ ++ "//cloud/containers/workflow/vulnerability/proto:vulnerability_go_proto", + "//google/api:annotations_go_proto", + "//google/longrunning:longrunning_go_proto", -+ "//google/type:dayofweek_go_proto", ++ "//grafeas/v1:grafeas_go_proto", + ], +) -diff -urN c/google/cloud/ml/v1/BUILD.bazel d/google/cloud/ml/v1/BUILD.bazel ---- c/google/cloud/ml/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/ml/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,36 @@ +diff -urN c/google/cloud/ondemandscanning/v1beta1/BUILD.bazel d/google/cloud/ondemandscanning/v1beta1/BUILD.bazel +--- c/google/cloud/ondemandscanning/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/ondemandscanning/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,29 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "ml_proto", -+ srcs = [ -+ "job_service.proto", -+ "model_service.proto", -+ "operation_metadata.proto", -+ "prediction_service.proto", -+ "project_service.proto", -+ ], ++ name = "ondemandscanning_proto", ++ srcs = ["scanner_service.proto"], + visibility = ["//visibility:public"], + deps = [ ++ "//cloud/containers/workflow/vulnerability/proto:vulnerability_proto", + "//google/api:annotations_proto", -+ "//google/api:httpbody_proto", -+ "//google/api:serviceconfig_proto", + "//google/longrunning:longrunning_proto", -+ "@com_google_protobuf//:empty_proto", ++ "//grafeas/v1:grafeas_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "ml_go_proto", ++ name = "ondemandscanning_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/ml/v1", -+ proto = ":ml_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/ondemandscanning/v1beta1", ++ proto = ":ondemandscanning_proto", + visibility = ["//visibility:public"], + deps = [ ++ "//cloud/containers/workflow/vulnerability/proto:vulnerability_go_proto", + "//google/api:annotations_go_proto", -+ "//google/api:httpbody_go_proto", -+ "//google/api:serviceconfig_go_proto", + "//google/longrunning:longrunning_go_proto", ++ "//grafeas/v1:grafeas_go_proto", + ], +) -diff -urN c/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel d/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel ---- c/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,29 @@ +diff -urN c/google/cloud/orchestration/airflow/service/v1/BUILD.bazel d/google/cloud/orchestration/airflow/service/v1/BUILD.bazel +--- c/google/cloud/orchestration/airflow/service/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/orchestration/airflow/service/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,32 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "networkconnectivity_proto", ++ name = "service_proto", + srcs = [ -+ "common.proto", -+ "hub.proto", ++ "environments.proto", ++ "image_versions.proto", ++ "operations.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", + "//google/longrunning:longrunning_proto", ++ "//google/type:date_proto", + "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "networkconnectivity_go_proto", ++ name = "service_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/networkconnectivity/v1alpha1", -+ proto = ":networkconnectivity_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/orchestration/airflow/service/v1", ++ proto = ":service_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", + "//google/longrunning:longrunning_go_proto", ++ "//google/type:date_go_proto", + ], +) -diff -urN c/google/cloud/notebooks/v1beta1/BUILD.bazel d/google/cloud/notebooks/v1beta1/BUILD.bazel ---- c/google/cloud/notebooks/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/notebooks/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,29 @@ +diff -urN c/google/cloud/orchestration/airflow/service/v1beta1/BUILD.bazel d/google/cloud/orchestration/airflow/service/v1beta1/BUILD.bazel +--- c/google/cloud/orchestration/airflow/service/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/orchestration/airflow/service/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,32 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "notebooks_proto", ++ name = "service_proto", + srcs = [ -+ "environment.proto", -+ "instance.proto", -+ "service.proto", ++ "environments.proto", ++ "image_versions.proto", ++ "operations.proto", + ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", + "//google/longrunning:longrunning_proto", ++ "//google/type:date_proto", ++ "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( -+ name = "notebooks_go_proto", ++ name = "service_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/notebooks/v1beta1", -+ proto = ":notebooks_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/orchestration/airflow/service/v1beta1", ++ proto = ":service_proto", + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", + "//google/longrunning:longrunning_go_proto", ++ "//google/type:date_go_proto", + ], +) diff -urN c/google/cloud/orgpolicy/v1/BUILD.bazel d/google/cloud/orgpolicy/v1/BUILD.bazel ---- c/google/cloud/orgpolicy/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/orgpolicy/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/orgpolicy/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -6786,7 +9656,7 @@ diff -urN c/google/cloud/orgpolicy/v1/BUILD.bazel d/google/cloud/orgpolicy/v1/BU + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/cloud/orgpolicy/v2/BUILD.bazel d/google/cloud/orgpolicy/v2/BUILD.bazel ---- c/google/cloud/orgpolicy/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/orgpolicy/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/orgpolicy/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -6819,7 +9689,7 @@ diff -urN c/google/cloud/orgpolicy/v2/BUILD.bazel d/google/cloud/orgpolicy/v2/BU + ], +) diff -urN c/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel d/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel ---- c/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,28 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -6851,7 +9721,7 @@ diff -urN c/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel d/google/cloud/os + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel d/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel ---- c/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,23 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -6878,7 +9748,7 @@ diff -urN c/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel d/google/clou + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/cloud/osconfig/v1/BUILD.bazel d/google/cloud/osconfig/v1/BUILD.bazel ---- c/google/cloud/osconfig/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/osconfig/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/osconfig/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,37 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -6918,8 +9788,48 @@ diff -urN c/google/cloud/osconfig/v1/BUILD.bazel d/google/cloud/osconfig/v1/BUIL + "//google/type:timeofday_go_proto", + ], +) +diff -urN c/google/cloud/osconfig/v1alpha/BUILD.bazel d/google/cloud/osconfig/v1alpha/BUILD.bazel +--- c/google/cloud/osconfig/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/osconfig/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,36 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "osconfig_proto", ++ srcs = [ ++ "config_common.proto", ++ "instance_os_policies_compliance.proto", ++ "inventory.proto", ++ "os_policy.proto", ++ "os_policy_assignments.proto", ++ "osconfig_common.proto", ++ "osconfig_zonal_service.proto", ++ "vulnerability.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/longrunning:longrunning_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "osconfig_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/osconfig/v1alpha", ++ proto = ":osconfig_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ ], ++) diff -urN c/google/cloud/osconfig/v1beta/BUILD.bazel d/google/cloud/osconfig/v1beta/BUILD.bazel ---- c/google/cloud/osconfig/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/osconfig/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/osconfig/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,37 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -6960,7 +9870,7 @@ diff -urN c/google/cloud/osconfig/v1beta/BUILD.bazel d/google/cloud/osconfig/v1b + ], +) diff -urN c/google/cloud/oslogin/common/BUILD.bazel d/google/cloud/oslogin/common/BUILD.bazel ---- c/google/cloud/oslogin/common/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/oslogin/common/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/oslogin/common/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,17 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -6981,7 +9891,7 @@ diff -urN c/google/cloud/oslogin/common/BUILD.bazel d/google/cloud/oslogin/commo + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/cloud/oslogin/v1/BUILD.bazel d/google/cloud/oslogin/v1/BUILD.bazel ---- c/google/cloud/oslogin/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/oslogin/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/oslogin/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,26 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7011,7 +9921,7 @@ diff -urN c/google/cloud/oslogin/v1/BUILD.bazel d/google/cloud/oslogin/v1/BUILD. + ], +) diff -urN c/google/cloud/oslogin/v1alpha/BUILD.bazel d/google/cloud/oslogin/v1alpha/BUILD.bazel ---- c/google/cloud/oslogin/v1alpha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/oslogin/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/oslogin/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,26 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7041,7 +9951,7 @@ diff -urN c/google/cloud/oslogin/v1alpha/BUILD.bazel d/google/cloud/oslogin/v1al + ], +) diff -urN c/google/cloud/oslogin/v1beta/BUILD.bazel d/google/cloud/oslogin/v1beta/BUILD.bazel ---- c/google/cloud/oslogin/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/oslogin/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/oslogin/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,26 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7071,7 +9981,7 @@ diff -urN c/google/cloud/oslogin/v1beta/BUILD.bazel d/google/cloud/oslogin/v1bet + ], +) diff -urN c/google/cloud/phishingprotection/v1beta1/BUILD.bazel d/google/cloud/phishingprotection/v1beta1/BUILD.bazel ---- c/google/cloud/phishingprotection/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/phishingprotection/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/phishingprotection/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7093,7 +10003,7 @@ diff -urN c/google/cloud/phishingprotection/v1beta1/BUILD.bazel d/google/cloud/p + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/cloud/policytroubleshooter/v1/BUILD.bazel d/google/cloud/policytroubleshooter/v1/BUILD.bazel ---- c/google/cloud/policytroubleshooter/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/policytroubleshooter/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/policytroubleshooter/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7125,10 +10035,43 @@ diff -urN c/google/cloud/policytroubleshooter/v1/BUILD.bazel d/google/cloud/poli + "//google/type:expr_go_proto", + ], +) +diff -urN c/google/cloud/privatecatalog/v1beta1/BUILD.bazel d/google/cloud/privatecatalog/v1beta1/BUILD.bazel +--- c/google/cloud/privatecatalog/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/privatecatalog/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,29 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "privatecatalog_proto", ++ srcs = ["private_catalog.proto"], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/longrunning:longrunning_proto", ++ "@com_google_protobuf//:any_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:struct_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "privatecatalog_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/privatecatalog/v1beta1", ++ proto = ":privatecatalog_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ ], ++) diff -urN c/google/cloud/pubsublite/v1/BUILD.bazel d/google/cloud/pubsublite/v1/BUILD.bazel ---- c/google/cloud/pubsublite/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/pubsublite/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/pubsublite/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,31 @@ +@@ -0,0 +1,35 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + @@ -7145,6 +10088,7 @@ diff -urN c/google/cloud/pubsublite/v1/BUILD.bazel d/google/cloud/pubsublite/v1/ + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", ++ "//google/longrunning:longrunning_proto", + "@com_google_protobuf//:duration_proto", + "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", @@ -7158,10 +10102,13 @@ diff -urN c/google/cloud/pubsublite/v1/BUILD.bazel d/google/cloud/pubsublite/v1/ + importpath = "google.golang.org/genproto/googleapis/cloud/pubsublite/v1", + proto = ":pubsublite_proto", + visibility = ["//visibility:public"], -+ deps = ["//google/api:annotations_go_proto"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ ], +) diff -urN c/google/cloud/recaptchaenterprise/v1/BUILD.bazel d/google/cloud/recaptchaenterprise/v1/BUILD.bazel ---- c/google/cloud/recaptchaenterprise/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/recaptchaenterprise/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/recaptchaenterprise/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,23 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7188,7 +10135,7 @@ diff -urN c/google/cloud/recaptchaenterprise/v1/BUILD.bazel d/google/cloud/recap + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel d/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel ---- c/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,23 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7215,7 +10162,7 @@ diff -urN c/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel d/google/cloud/ + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/cloud/recommendationengine/v1beta1/BUILD.bazel d/google/cloud/recommendationengine/v1beta1/BUILD.bazel ---- c/google/cloud/recommendationengine/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/recommendationengine/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/recommendationengine/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,44 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7263,7 +10210,7 @@ diff -urN c/google/cloud/recommendationengine/v1beta1/BUILD.bazel d/google/cloud + ], +) diff -urN c/google/cloud/recommender/logging/v1/BUILD.bazel d/google/cloud/recommender/logging/v1/BUILD.bazel ---- c/google/cloud/recommender/logging/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/recommender/logging/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/recommender/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,23 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7290,7 +10237,7 @@ diff -urN c/google/cloud/recommender/logging/v1/BUILD.bazel d/google/cloud/recom + ], +) diff -urN c/google/cloud/recommender/logging/v1beta1/BUILD.bazel d/google/cloud/recommender/logging/v1beta1/BUILD.bazel ---- c/google/cloud/recommender/logging/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/recommender/logging/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/recommender/logging/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,23 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7317,7 +10264,7 @@ diff -urN c/google/cloud/recommender/logging/v1beta1/BUILD.bazel d/google/cloud/ + ], +) diff -urN c/google/cloud/recommender/v1/BUILD.bazel d/google/cloud/recommender/v1/BUILD.bazel ---- c/google/cloud/recommender/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/recommender/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/recommender/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7352,7 +10299,7 @@ diff -urN c/google/cloud/recommender/v1/BUILD.bazel d/google/cloud/recommender/v + ], +) diff -urN c/google/cloud/recommender/v1beta1/BUILD.bazel d/google/cloud/recommender/v1beta1/BUILD.bazel ---- c/google/cloud/recommender/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/recommender/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/recommender/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7387,7 +10334,7 @@ diff -urN c/google/cloud/recommender/v1beta1/BUILD.bazel d/google/cloud/recommen + ], +) diff -urN c/google/cloud/redis/v1/BUILD.bazel d/google/cloud/redis/v1/BUILD.bazel ---- c/google/cloud/redis/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/redis/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/redis/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,26 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7417,7 +10364,7 @@ diff -urN c/google/cloud/redis/v1/BUILD.bazel d/google/cloud/redis/v1/BUILD.baze + ], +) diff -urN c/google/cloud/redis/v1beta1/BUILD.bazel d/google/cloud/redis/v1beta1/BUILD.bazel ---- c/google/cloud/redis/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/redis/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/redis/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,26 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7447,7 +10394,7 @@ diff -urN c/google/cloud/redis/v1beta1/BUILD.bazel d/google/cloud/redis/v1beta1/ + ], +) diff -urN c/google/cloud/resourcemanager/v2/BUILD.bazel d/google/cloud/resourcemanager/v2/BUILD.bazel ---- c/google/cloud/resourcemanager/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/resourcemanager/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/resourcemanager/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,28 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7478,25 +10425,60 @@ diff -urN c/google/cloud/resourcemanager/v2/BUILD.bazel d/google/cloud/resourcem + "//google/longrunning:longrunning_go_proto", + ], +) -diff -urN c/google/cloud/resourcesettings/v1/BUILD.bazel d/google/cloud/resourcesettings/v1/BUILD.bazel ---- c/google/cloud/resourcesettings/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ d/google/cloud/resourcesettings/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,22 @@ +diff -urN c/google/cloud/resourcemanager/v3/BUILD.bazel d/google/cloud/resourcemanager/v3/BUILD.bazel +--- c/google/cloud/resourcemanager/v3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/resourcemanager/v3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,35 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( -+ name = "resourcesettings_proto", -+ srcs = ["resource_settings.proto"], ++ name = "resourcemanager_proto", ++ srcs = [ ++ "folders.proto", ++ "organizations.proto", ++ "projects.proto", ++ "tag_bindings.proto", ++ "tag_keys.proto", ++ "tag_values.proto", ++ ], + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", -+ "@com_google_protobuf//:empty_proto", ++ "//google/iam/v1:iam_proto", ++ "//google/longrunning:longrunning_proto", ++ "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + +go_proto_library( ++ name = "resourcemanager_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/resourcemanager/v3", ++ proto = ":resourcemanager_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/iam/v1:iam_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ ], ++) +diff -urN c/google/cloud/resourcesettings/v1/BUILD.bazel d/google/cloud/resourcesettings/v1/BUILD.bazel +--- c/google/cloud/resourcesettings/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/resourcesettings/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,18 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "resourcesettings_proto", ++ srcs = ["resource_settings.proto"], ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_proto"], ++) ++ ++go_proto_library( + name = "resourcesettings_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], + importpath = "google.golang.org/genproto/googleapis/cloud/resourcesettings/v1", @@ -7505,7 +10487,7 @@ diff -urN c/google/cloud/resourcesettings/v1/BUILD.bazel d/google/cloud/resource + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/cloud/retail/v2/BUILD.bazel d/google/cloud/retail/v2/BUILD.bazel ---- c/google/cloud/retail/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/retail/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/retail/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,44 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7553,7 +10535,7 @@ diff -urN c/google/cloud/retail/v2/BUILD.bazel d/google/cloud/retail/v2/BUILD.ba + ], +) diff -urN c/google/cloud/retail/v2alpha/BUILD.bazel d/google/cloud/retail/v2alpha/BUILD.bazel ---- c/google/cloud/retail/v2alpha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/retail/v2alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/retail/v2alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,44 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7601,7 +10583,7 @@ diff -urN c/google/cloud/retail/v2alpha/BUILD.bazel d/google/cloud/retail/v2alph + ], +) diff -urN c/google/cloud/retail/v2beta/BUILD.bazel d/google/cloud/retail/v2beta/BUILD.bazel ---- c/google/cloud/retail/v2beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/retail/v2beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/retail/v2beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,44 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7649,7 +10631,7 @@ diff -urN c/google/cloud/retail/v2beta/BUILD.bazel d/google/cloud/retail/v2beta/ + ], +) diff -urN c/google/cloud/runtimeconfig/v1beta1/BUILD.bazel d/google/cloud/runtimeconfig/v1beta1/BUILD.bazel ---- c/google/cloud/runtimeconfig/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/runtimeconfig/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/runtimeconfig/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,32 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7685,7 +10667,7 @@ diff -urN c/google/cloud/runtimeconfig/v1beta1/BUILD.bazel d/google/cloud/runtim + ], +) diff -urN c/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel d/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel ---- c/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7704,7 +10686,7 @@ diff -urN c/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel d/google + visibility = ["//visibility:public"], +) diff -urN c/google/cloud/scheduler/v1/BUILD.bazel d/google/cloud/scheduler/v1/BUILD.bazel ---- c/google/cloud/scheduler/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/scheduler/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/scheduler/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,32 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7740,7 +10722,7 @@ diff -urN c/google/cloud/scheduler/v1/BUILD.bazel d/google/cloud/scheduler/v1/BU + ], +) diff -urN c/google/cloud/scheduler/v1beta1/BUILD.bazel d/google/cloud/scheduler/v1beta1/BUILD.bazel ---- c/google/cloud/scheduler/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/scheduler/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/scheduler/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,32 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7775,8 +10757,27 @@ diff -urN c/google/cloud/scheduler/v1beta1/BUILD.bazel d/google/cloud/scheduler/ + "//google/rpc:status_go_proto", + ], +) +diff -urN c/google/cloud/secretmanager/logging/v1/BUILD.bazel d/google/cloud/secretmanager/logging/v1/BUILD.bazel +--- c/google/cloud/secretmanager/logging/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/secretmanager/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,15 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "logging_proto", ++ srcs = ["secret_event.proto"], ++ visibility = ["//visibility:public"], ++) ++ ++go_proto_library( ++ name = "logging_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/cloud/secretmanager/logging/v1", ++ proto = ":logging_proto", ++ visibility = ["//visibility:public"], ++) diff -urN c/google/cloud/secretmanager/v1/BUILD.bazel d/google/cloud/secretmanager/v1/BUILD.bazel ---- c/google/cloud/secretmanager/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/secretmanager/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/secretmanager/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7811,7 +10812,7 @@ diff -urN c/google/cloud/secretmanager/v1/BUILD.bazel d/google/cloud/secretmanag + ], +) diff -urN c/google/cloud/secrets/v1beta1/BUILD.bazel d/google/cloud/secrets/v1beta1/BUILD.bazel ---- c/google/cloud/secrets/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/secrets/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/secrets/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,30 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7844,8 +10845,44 @@ diff -urN c/google/cloud/secrets/v1beta1/BUILD.bazel d/google/cloud/secrets/v1be + "//google/iam/v1:iam_go_proto", + ], +) +diff -urN c/google/cloud/security/privateca/v1/BUILD.bazel d/google/cloud/security/privateca/v1/BUILD.bazel +--- c/google/cloud/security/privateca/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/security/privateca/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,32 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "privateca_proto", ++ srcs = [ ++ "resources.proto", ++ "service.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/longrunning:longrunning_proto", ++ "//google/type:expr_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "privateca_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/security/privateca/v1", ++ proto = ":privateca_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ "//google/type:expr_go_proto", ++ ], ++) diff -urN c/google/cloud/security/privateca/v1beta1/BUILD.bazel d/google/cloud/security/privateca/v1beta1/BUILD.bazel ---- c/google/cloud/security/privateca/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/security/privateca/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/security/privateca/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7880,7 +10917,7 @@ diff -urN c/google/cloud/security/privateca/v1beta1/BUILD.bazel d/google/cloud/s + ], +) diff -urN c/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel d/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel ---- c/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,30 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -7914,9 +10951,9 @@ diff -urN c/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel d/google/cl + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/cloud/securitycenter/v1/BUILD.bazel d/google/cloud/securitycenter/v1/BUILD.bazel ---- c/google/cloud/securitycenter/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/securitycenter/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/securitycenter/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,42 @@ +@@ -0,0 +1,43 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + @@ -7925,6 +10962,7 @@ diff -urN c/google/cloud/securitycenter/v1/BUILD.bazel d/google/cloud/securityce + srcs = [ + "asset.proto", + "finding.proto", ++ "folder.proto", + "notification_config.proto", + "notification_message.proto", + "organization_settings.proto", @@ -7960,7 +10998,7 @@ diff -urN c/google/cloud/securitycenter/v1/BUILD.bazel d/google/cloud/securityce + ], +) diff -urN c/google/cloud/securitycenter/v1beta1/BUILD.bazel d/google/cloud/securitycenter/v1beta1/BUILD.bazel ---- c/google/cloud/securitycenter/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/securitycenter/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/securitycenter/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,39 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8003,9 +11041,9 @@ diff -urN c/google/cloud/securitycenter/v1beta1/BUILD.bazel d/google/cloud/secur + ], +) diff -urN c/google/cloud/securitycenter/v1p1beta1/BUILD.bazel d/google/cloud/securitycenter/v1p1beta1/BUILD.bazel ---- c/google/cloud/securitycenter/v1p1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/securitycenter/v1p1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/securitycenter/v1p1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,42 @@ +@@ -0,0 +1,43 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + @@ -8014,6 +11052,7 @@ diff -urN c/google/cloud/securitycenter/v1p1beta1/BUILD.bazel d/google/cloud/sec + srcs = [ + "asset.proto", + "finding.proto", ++ "folder.proto", + "notification_config.proto", + "notification_message.proto", + "organization_settings.proto", @@ -8049,7 +11088,7 @@ diff -urN c/google/cloud/securitycenter/v1p1beta1/BUILD.bazel d/google/cloud/sec + ], +) diff -urN c/google/cloud/servicedirectory/v1/BUILD.bazel d/google/cloud/servicedirectory/v1/BUILD.bazel ---- c/google/cloud/servicedirectory/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/servicedirectory/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/servicedirectory/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,32 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8085,9 +11124,9 @@ diff -urN c/google/cloud/servicedirectory/v1/BUILD.bazel d/google/cloud/serviced + ], +) diff -urN c/google/cloud/servicedirectory/v1beta1/BUILD.bazel d/google/cloud/servicedirectory/v1beta1/BUILD.bazel ---- c/google/cloud/servicedirectory/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/servicedirectory/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/servicedirectory/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,32 @@ +@@ -0,0 +1,33 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + @@ -8106,6 +11145,7 @@ diff -urN c/google/cloud/servicedirectory/v1beta1/BUILD.bazel d/google/cloud/ser + "//google/iam/v1:iam_proto", + "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", + ], +) + @@ -8121,7 +11161,7 @@ diff -urN c/google/cloud/servicedirectory/v1beta1/BUILD.bazel d/google/cloud/ser + ], +) diff -urN c/google/cloud/shell/v1/BUILD.bazel d/google/cloud/shell/v1/BUILD.bazel ---- c/google/cloud/shell/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/shell/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/shell/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,26 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8151,7 +11191,7 @@ diff -urN c/google/cloud/shell/v1/BUILD.bazel d/google/cloud/shell/v1/BUILD.baze + ], +) diff -urN c/google/cloud/speech/v1/BUILD.bazel d/google/cloud/speech/v1/BUILD.bazel ---- c/google/cloud/speech/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/speech/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/speech/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8184,9 +11224,9 @@ diff -urN c/google/cloud/speech/v1/BUILD.bazel d/google/cloud/speech/v1/BUILD.ba + ], +) diff -urN c/google/cloud/speech/v1p1beta1/BUILD.bazel d/google/cloud/speech/v1p1beta1/BUILD.bazel ---- c/google/cloud/speech/v1p1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/speech/v1p1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/speech/v1p1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,35 @@ +@@ -0,0 +1,36 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + @@ -8207,6 +11247,7 @@ diff -urN c/google/cloud/speech/v1p1beta1/BUILD.bazel d/google/cloud/speech/v1p1 + "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", ++ "@com_google_protobuf//:wrappers_proto", + ], +) + @@ -8222,8 +11263,39 @@ diff -urN c/google/cloud/speech/v1p1beta1/BUILD.bazel d/google/cloud/speech/v1p1 + "//google/rpc:status_go_proto", + ], +) +diff -urN c/google/cloud/sql/v1beta4/BUILD.bazel d/google/cloud/sql/v1beta4/BUILD.bazel +--- c/google/cloud/sql/v1beta4/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/sql/v1beta4/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,27 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "sql_proto", ++ srcs = [ ++ "cloud_sql.proto", ++ "cloud_sql_resources.proto", ++ "cloud_sql_tiers.proto", ++ "cloud_sql_users.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ "@com_google_protobuf//:wrappers_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "sql_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/sql/v1beta4", ++ proto = ":sql_proto", ++ visibility = ["//visibility:public"], ++ deps = ["//google/api:annotations_go_proto"], ++) diff -urN c/google/cloud/support/BUILD.bazel d/google/cloud/support/BUILD.bazel ---- c/google/cloud/support/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/support/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/support/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8247,7 +11319,7 @@ diff -urN c/google/cloud/support/BUILD.bazel d/google/cloud/support/BUILD.bazel + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/cloud/support/v1alpha1/BUILD.bazel d/google/cloud/support/v1alpha1/BUILD.bazel ---- c/google/cloud/support/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/support/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/support/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,26 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8277,7 +11349,7 @@ diff -urN c/google/cloud/support/v1alpha1/BUILD.bazel d/google/cloud/support/v1a + ], +) diff -urN c/google/cloud/talent/v4/BUILD.bazel d/google/cloud/talent/v4/BUILD.bazel ---- c/google/cloud/talent/v4/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/talent/v4/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/talent/v4/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,53 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8334,7 +11406,7 @@ diff -urN c/google/cloud/talent/v4/BUILD.bazel d/google/cloud/talent/v4/BUILD.ba + ], +) diff -urN c/google/cloud/talent/v4beta1/BUILD.bazel d/google/cloud/talent/v4beta1/BUILD.bazel ---- c/google/cloud/talent/v4beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/talent/v4beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/talent/v4beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,60 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8398,7 +11470,7 @@ diff -urN c/google/cloud/talent/v4beta1/BUILD.bazel d/google/cloud/talent/v4beta + ], +) diff -urN c/google/cloud/tasks/v2/BUILD.bazel d/google/cloud/tasks/v2/BUILD.bazel ---- c/google/cloud/tasks/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/tasks/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/tasks/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8437,7 +11509,7 @@ diff -urN c/google/cloud/tasks/v2/BUILD.bazel d/google/cloud/tasks/v2/BUILD.baze + ], +) diff -urN c/google/cloud/tasks/v2beta2/BUILD.bazel d/google/cloud/tasks/v2beta2/BUILD.bazel ---- c/google/cloud/tasks/v2beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/tasks/v2beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/tasks/v2beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,36 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8477,7 +11549,7 @@ diff -urN c/google/cloud/tasks/v2beta2/BUILD.bazel d/google/cloud/tasks/v2beta2/ + ], +) diff -urN c/google/cloud/tasks/v2beta3/BUILD.bazel d/google/cloud/tasks/v2beta3/BUILD.bazel ---- c/google/cloud/tasks/v2beta3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/tasks/v2beta3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/tasks/v2beta3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8516,7 +11588,7 @@ diff -urN c/google/cloud/tasks/v2beta3/BUILD.bazel d/google/cloud/tasks/v2beta3/ + ], +) diff -urN c/google/cloud/texttospeech/v1/BUILD.bazel d/google/cloud/texttospeech/v1/BUILD.bazel ---- c/google/cloud/texttospeech/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/texttospeech/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/texttospeech/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8538,7 +11610,7 @@ diff -urN c/google/cloud/texttospeech/v1/BUILD.bazel d/google/cloud/texttospeech + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/cloud/texttospeech/v1beta1/BUILD.bazel d/google/cloud/texttospeech/v1beta1/BUILD.bazel ---- c/google/cloud/texttospeech/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/texttospeech/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/texttospeech/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8559,8 +11631,37 @@ diff -urN c/google/cloud/texttospeech/v1beta1/BUILD.bazel d/google/cloud/texttos + visibility = ["//visibility:public"], + deps = ["//google/api:annotations_go_proto"], +) +diff -urN c/google/cloud/tpu/v1/BUILD.bazel d/google/cloud/tpu/v1/BUILD.bazel +--- c/google/cloud/tpu/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/tpu/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,25 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "tpu_proto", ++ srcs = ["cloud_tpu.proto"], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/longrunning:longrunning_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "tpu_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/tpu/v1", ++ proto = ":tpu_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ ], ++) diff -urN c/google/cloud/translate/v3/BUILD.bazel d/google/cloud/translate/v3/BUILD.bazel ---- c/google/cloud/translate/v3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/translate/v3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/translate/v3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8589,7 +11690,7 @@ diff -urN c/google/cloud/translate/v3/BUILD.bazel d/google/cloud/translate/v3/BU + ], +) diff -urN c/google/cloud/translate/v3beta1/BUILD.bazel d/google/cloud/translate/v3beta1/BUILD.bazel ---- c/google/cloud/translate/v3beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/translate/v3beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/translate/v3beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8618,7 +11719,7 @@ diff -urN c/google/cloud/translate/v3beta1/BUILD.bazel d/google/cloud/translate/ + ], +) diff -urN c/google/cloud/video/transcoder/v1beta1/BUILD.bazel d/google/cloud/video/transcoder/v1beta1/BUILD.bazel ---- c/google/cloud/video/transcoder/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/video/transcoder/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/video/transcoder/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,26 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8648,7 +11749,7 @@ diff -urN c/google/cloud/video/transcoder/v1beta1/BUILD.bazel d/google/cloud/vid + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/cloud/videointelligence/v1/BUILD.bazel d/google/cloud/videointelligence/v1/BUILD.bazel ---- c/google/cloud/videointelligence/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/videointelligence/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/videointelligence/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,28 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8680,7 +11781,7 @@ diff -urN c/google/cloud/videointelligence/v1/BUILD.bazel d/google/cloud/videoin + ], +) diff -urN c/google/cloud/videointelligence/v1beta2/BUILD.bazel d/google/cloud/videointelligence/v1beta2/BUILD.bazel ---- c/google/cloud/videointelligence/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/videointelligence/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/videointelligence/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,28 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8712,7 +11813,7 @@ diff -urN c/google/cloud/videointelligence/v1beta2/BUILD.bazel d/google/cloud/vi + ], +) diff -urN c/google/cloud/videointelligence/v1p1beta1/BUILD.bazel d/google/cloud/videointelligence/v1p1beta1/BUILD.bazel ---- c/google/cloud/videointelligence/v1p1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/videointelligence/v1p1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/videointelligence/v1p1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,28 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8744,7 +11845,7 @@ diff -urN c/google/cloud/videointelligence/v1p1beta1/BUILD.bazel d/google/cloud/ + ], +) diff -urN c/google/cloud/videointelligence/v1p2beta1/BUILD.bazel d/google/cloud/videointelligence/v1p2beta1/BUILD.bazel ---- c/google/cloud/videointelligence/v1p2beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/videointelligence/v1p2beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/videointelligence/v1p2beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,28 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8776,7 +11877,7 @@ diff -urN c/google/cloud/videointelligence/v1p2beta1/BUILD.bazel d/google/cloud/ + ], +) diff -urN c/google/cloud/videointelligence/v1p3beta1/BUILD.bazel d/google/cloud/videointelligence/v1p3beta1/BUILD.bazel ---- c/google/cloud/videointelligence/v1p3beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/videointelligence/v1p3beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/videointelligence/v1p3beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,28 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8808,7 +11909,7 @@ diff -urN c/google/cloud/videointelligence/v1p3beta1/BUILD.bazel d/google/cloud/ + ], +) diff -urN c/google/cloud/vision/v1/BUILD.bazel d/google/cloud/vision/v1/BUILD.bazel ---- c/google/cloud/vision/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/vision/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/vision/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8852,7 +11953,7 @@ diff -urN c/google/cloud/vision/v1/BUILD.bazel d/google/cloud/vision/v1/BUILD.ba + ], +) diff -urN c/google/cloud/vision/v1p1beta1/BUILD.bazel d/google/cloud/vision/v1p1beta1/BUILD.bazel ---- c/google/cloud/vision/v1p1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/vision/v1p1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/vision/v1p1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,33 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8889,7 +11990,7 @@ diff -urN c/google/cloud/vision/v1p1beta1/BUILD.bazel d/google/cloud/vision/v1p1 + ], +) diff -urN c/google/cloud/vision/v1p2beta1/BUILD.bazel d/google/cloud/vision/v1p2beta1/BUILD.bazel ---- c/google/cloud/vision/v1p2beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/vision/v1p2beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/vision/v1p2beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,36 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8929,7 +12030,7 @@ diff -urN c/google/cloud/vision/v1p2beta1/BUILD.bazel d/google/cloud/vision/v1p2 + ], +) diff -urN c/google/cloud/vision/v1p3beta1/BUILD.bazel d/google/cloud/vision/v1p3beta1/BUILD.bazel ---- c/google/cloud/vision/v1p3beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/vision/v1p3beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/vision/v1p3beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -8973,7 +12074,7 @@ diff -urN c/google/cloud/vision/v1p3beta1/BUILD.bazel d/google/cloud/vision/v1p3 + ], +) diff -urN c/google/cloud/vision/v1p4beta1/BUILD.bazel d/google/cloud/vision/v1p4beta1/BUILD.bazel ---- c/google/cloud/vision/v1p4beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/vision/v1p4beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/vision/v1p4beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,41 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9017,8 +12118,37 @@ diff -urN c/google/cloud/vision/v1p4beta1/BUILD.bazel d/google/cloud/vision/v1p4 + "//google/type:latlng_go_proto", + ], +) +diff -urN c/google/cloud/vpcaccess/v1/BUILD.bazel d/google/cloud/vpcaccess/v1/BUILD.bazel +--- c/google/cloud/vpcaccess/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/cloud/vpcaccess/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,25 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "vpcaccess_proto", ++ srcs = ["vpc_access.proto"], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/longrunning:longrunning_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "vpcaccess_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/vpcaccess/v1", ++ proto = ":vpcaccess_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/longrunning:longrunning_go_proto", ++ ], ++) diff -urN c/google/cloud/webrisk/v1/BUILD.bazel d/google/cloud/webrisk/v1/BUILD.bazel ---- c/google/cloud/webrisk/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/webrisk/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/webrisk/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9043,7 +12173,7 @@ diff -urN c/google/cloud/webrisk/v1/BUILD.bazel d/google/cloud/webrisk/v1/BUILD. + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/cloud/webrisk/v1beta1/BUILD.bazel d/google/cloud/webrisk/v1beta1/BUILD.bazel ---- c/google/cloud/webrisk/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/webrisk/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/webrisk/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9068,7 +12198,7 @@ diff -urN c/google/cloud/webrisk/v1beta1/BUILD.bazel d/google/cloud/webrisk/v1be + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/cloud/websecurityscanner/v1/BUILD.bazel d/google/cloud/websecurityscanner/v1/BUILD.bazel ---- c/google/cloud/websecurityscanner/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/websecurityscanner/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/websecurityscanner/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,34 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9106,7 +12236,7 @@ diff -urN c/google/cloud/websecurityscanner/v1/BUILD.bazel d/google/cloud/websec + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/cloud/websecurityscanner/v1alpha/BUILD.bazel d/google/cloud/websecurityscanner/v1alpha/BUILD.bazel ---- c/google/cloud/websecurityscanner/v1alpha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/websecurityscanner/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/websecurityscanner/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9141,7 +12271,7 @@ diff -urN c/google/cloud/websecurityscanner/v1alpha/BUILD.bazel d/google/cloud/w + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/cloud/websecurityscanner/v1beta/BUILD.bazel d/google/cloud/websecurityscanner/v1beta/BUILD.bazel ---- c/google/cloud/websecurityscanner/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/websecurityscanner/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/websecurityscanner/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,34 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9179,7 +12309,7 @@ diff -urN c/google/cloud/websecurityscanner/v1beta/BUILD.bazel d/google/cloud/we + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/cloud/workflows/executions/v1/BUILD.bazel d/google/cloud/workflows/executions/v1/BUILD.bazel ---- c/google/cloud/workflows/executions/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/workflows/executions/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/workflows/executions/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9204,7 +12334,7 @@ diff -urN c/google/cloud/workflows/executions/v1/BUILD.bazel d/google/cloud/work + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/cloud/workflows/executions/v1beta/BUILD.bazel d/google/cloud/workflows/executions/v1beta/BUILD.bazel ---- c/google/cloud/workflows/executions/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/workflows/executions/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/workflows/executions/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9229,7 +12359,7 @@ diff -urN c/google/cloud/workflows/executions/v1beta/BUILD.bazel d/google/cloud/ + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/cloud/workflows/v1/BUILD.bazel d/google/cloud/workflows/v1/BUILD.bazel ---- c/google/cloud/workflows/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/workflows/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/workflows/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,26 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9259,7 +12389,7 @@ diff -urN c/google/cloud/workflows/v1/BUILD.bazel d/google/cloud/workflows/v1/BU + ], +) diff -urN c/google/cloud/workflows/v1beta/BUILD.bazel d/google/cloud/workflows/v1beta/BUILD.bazel ---- c/google/cloud/workflows/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/cloud/workflows/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/cloud/workflows/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,26 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9289,7 +12419,7 @@ diff -urN c/google/cloud/workflows/v1beta/BUILD.bazel d/google/cloud/workflows/v + ], +) diff -urN c/google/container/v1/BUILD.bazel d/google/container/v1/BUILD.bazel ---- c/google/container/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/container/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/container/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,22 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9315,7 +12445,7 @@ diff -urN c/google/container/v1/BUILD.bazel d/google/container/v1/BUILD.bazel + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/container/v1alpha1/BUILD.bazel d/google/container/v1alpha1/BUILD.bazel ---- c/google/container/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/container/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/container/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9340,7 +12470,7 @@ diff -urN c/google/container/v1alpha1/BUILD.bazel d/google/container/v1alpha1/BU + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/container/v1beta1/BUILD.bazel d/google/container/v1beta1/BUILD.bazel ---- c/google/container/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/container/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/container/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9372,8 +12502,48 @@ diff -urN c/google/container/v1beta1/BUILD.bazel d/google/container/v1beta1/BUIL + "//google/rpc:status_go_proto", + ], +) +diff -urN c/google/dataflow/v1beta3/BUILD.bazel d/google/dataflow/v1beta3/BUILD.bazel +--- c/google/dataflow/v1beta3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/dataflow/v1beta3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,36 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "dataflow_proto", ++ srcs = [ ++ "environment.proto", ++ "jobs.proto", ++ "messages.proto", ++ "metrics.proto", ++ "snapshots.proto", ++ "streaming.proto", ++ "templates.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/rpc:status_proto", ++ "@com_google_protobuf//:any_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:struct_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "dataflow_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/dataflow/v1beta3", ++ proto = ":dataflow_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/rpc:status_go_proto", ++ ], ++) diff -urN c/google/datastore/admin/v1/BUILD.bazel d/google/datastore/admin/v1/BUILD.bazel ---- c/google/datastore/admin/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/datastore/admin/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/datastore/admin/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9406,7 +12576,7 @@ diff -urN c/google/datastore/admin/v1/BUILD.bazel d/google/datastore/admin/v1/BU + ], +) diff -urN c/google/datastore/admin/v1beta1/BUILD.bazel d/google/datastore/admin/v1beta1/BUILD.bazel ---- c/google/datastore/admin/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/datastore/admin/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/datastore/admin/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9435,7 +12605,7 @@ diff -urN c/google/datastore/admin/v1beta1/BUILD.bazel d/google/datastore/admin/ + ], +) diff -urN c/google/datastore/v1/BUILD.bazel d/google/datastore/v1/BUILD.bazel ---- c/google/datastore/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/datastore/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/datastore/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9470,7 +12640,7 @@ diff -urN c/google/datastore/v1/BUILD.bazel d/google/datastore/v1/BUILD.bazel + ], +) diff -urN c/google/datastore/v1beta3/BUILD.bazel d/google/datastore/v1beta3/BUILD.bazel ---- c/google/datastore/v1beta3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/datastore/v1beta3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/datastore/v1beta3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9505,7 +12675,7 @@ diff -urN c/google/datastore/v1beta3/BUILD.bazel d/google/datastore/v1beta3/BUIL + ], +) diff -urN c/google/devtools/artifactregistry/v1beta2/BUILD.bazel d/google/devtools/artifactregistry/v1beta2/BUILD.bazel ---- c/google/devtools/artifactregistry/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/artifactregistry/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/artifactregistry/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,37 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9546,7 +12716,7 @@ diff -urN c/google/devtools/artifactregistry/v1beta2/BUILD.bazel d/google/devtoo + ], +) diff -urN c/google/devtools/build/v1/BUILD.bazel d/google/devtools/build/v1/BUILD.bazel ---- c/google/devtools/build/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/build/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/build/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9579,9 +12749,9 @@ diff -urN c/google/devtools/build/v1/BUILD.bazel d/google/devtools/build/v1/BUIL + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/devtools/cloudbuild/v1/BUILD.bazel d/google/devtools/cloudbuild/v1/BUILD.bazel ---- c/google/devtools/cloudbuild/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/cloudbuild/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/cloudbuild/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,28 @@ +@@ -0,0 +1,30 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + @@ -9591,6 +12761,7 @@ diff -urN c/google/devtools/cloudbuild/v1/BUILD.bazel d/google/devtools/cloudbui + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_proto", ++ "//google/api:httpbody_proto", + "//google/longrunning:longrunning_proto", + "@com_google_protobuf//:duration_proto", + "@com_google_protobuf//:empty_proto", @@ -9607,11 +12778,12 @@ diff -urN c/google/devtools/cloudbuild/v1/BUILD.bazel d/google/devtools/cloudbui + visibility = ["//visibility:public"], + deps = [ + "//google/api:annotations_go_proto", ++ "//google/api:httpbody_go_proto", + "//google/longrunning:longrunning_go_proto", + ], +) diff -urN c/google/devtools/clouddebugger/v2/BUILD.bazel d/google/devtools/clouddebugger/v2/BUILD.bazel ---- c/google/devtools/clouddebugger/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/clouddebugger/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/clouddebugger/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9646,7 +12818,7 @@ diff -urN c/google/devtools/clouddebugger/v2/BUILD.bazel d/google/devtools/cloud + ], +) diff -urN c/google/devtools/clouderrorreporting/v1beta1/BUILD.bazel d/google/devtools/clouderrorreporting/v1beta1/BUILD.bazel ---- c/google/devtools/clouderrorreporting/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/clouderrorreporting/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/clouderrorreporting/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,27 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9677,7 +12849,7 @@ diff -urN c/google/devtools/clouderrorreporting/v1beta1/BUILD.bazel d/google/dev + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/devtools/cloudprofiler/v2/BUILD.bazel d/google/devtools/cloudprofiler/v2/BUILD.bazel ---- c/google/devtools/cloudprofiler/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/cloudprofiler/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/cloudprofiler/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,22 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9703,7 +12875,7 @@ diff -urN c/google/devtools/cloudprofiler/v2/BUILD.bazel d/google/devtools/cloud + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/devtools/cloudtrace/v1/BUILD.bazel d/google/devtools/cloudtrace/v1/BUILD.bazel ---- c/google/devtools/cloudtrace/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/cloudtrace/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/cloudtrace/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,22 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9729,7 +12901,7 @@ diff -urN c/google/devtools/cloudtrace/v1/BUILD.bazel d/google/devtools/cloudtra + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/devtools/cloudtrace/v2/BUILD.bazel d/google/devtools/cloudtrace/v2/BUILD.bazel ---- c/google/devtools/cloudtrace/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/cloudtrace/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/cloudtrace/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,30 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9763,7 +12935,7 @@ diff -urN c/google/devtools/cloudtrace/v2/BUILD.bazel d/google/devtools/cloudtra + ], +) diff -urN c/google/devtools/containeranalysis/v1/BUILD.bazel d/google/devtools/containeranalysis/v1/BUILD.bazel ---- c/google/devtools/containeranalysis/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/containeranalysis/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/containeranalysis/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,27 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9794,7 +12966,7 @@ diff -urN c/google/devtools/containeranalysis/v1/BUILD.bazel d/google/devtools/c + ], +) diff -urN c/google/devtools/containeranalysis/v1beta1/BUILD.bazel d/google/devtools/containeranalysis/v1beta1/BUILD.bazel ---- c/google/devtools/containeranalysis/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/containeranalysis/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/containeranalysis/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9823,7 +12995,7 @@ diff -urN c/google/devtools/containeranalysis/v1beta1/BUILD.bazel d/google/devto + ], +) diff -urN c/google/devtools/containeranalysis/v1beta1/attestation/BUILD.bazel d/google/devtools/containeranalysis/v1beta1/attestation/BUILD.bazel ---- c/google/devtools/containeranalysis/v1beta1/attestation/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/containeranalysis/v1beta1/attestation/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/containeranalysis/v1beta1/attestation/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,17 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9844,7 +13016,7 @@ diff -urN c/google/devtools/containeranalysis/v1beta1/attestation/BUILD.bazel d/ + deps = ["//google/devtools/containeranalysis/v1beta1/common:common_go_proto"], +) diff -urN c/google/devtools/containeranalysis/v1beta1/build/BUILD.bazel d/google/devtools/containeranalysis/v1beta1/build/BUILD.bazel ---- c/google/devtools/containeranalysis/v1beta1/build/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/containeranalysis/v1beta1/build/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/containeranalysis/v1beta1/build/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,17 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9865,7 +13037,7 @@ diff -urN c/google/devtools/containeranalysis/v1beta1/build/BUILD.bazel d/google + deps = ["//google/devtools/containeranalysis/v1beta1/provenance:provenance_go_proto"], +) diff -urN c/google/devtools/containeranalysis/v1beta1/common/BUILD.bazel d/google/devtools/containeranalysis/v1beta1/common/BUILD.bazel ---- c/google/devtools/containeranalysis/v1beta1/common/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/containeranalysis/v1beta1/common/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/containeranalysis/v1beta1/common/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9884,7 +13056,7 @@ diff -urN c/google/devtools/containeranalysis/v1beta1/common/BUILD.bazel d/googl + visibility = ["//visibility:public"], +) diff -urN c/google/devtools/containeranalysis/v1beta1/cvss/BUILD.bazel d/google/devtools/containeranalysis/v1beta1/cvss/BUILD.bazel ---- c/google/devtools/containeranalysis/v1beta1/cvss/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/containeranalysis/v1beta1/cvss/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/containeranalysis/v1beta1/cvss/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9903,7 +13075,7 @@ diff -urN c/google/devtools/containeranalysis/v1beta1/cvss/BUILD.bazel d/google/ + visibility = ["//visibility:public"], +) diff -urN c/google/devtools/containeranalysis/v1beta1/deployment/BUILD.bazel d/google/devtools/containeranalysis/v1beta1/deployment/BUILD.bazel ---- c/google/devtools/containeranalysis/v1beta1/deployment/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/containeranalysis/v1beta1/deployment/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/containeranalysis/v1beta1/deployment/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,16 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9923,7 +13095,7 @@ diff -urN c/google/devtools/containeranalysis/v1beta1/deployment/BUILD.bazel d/g + visibility = ["//visibility:public"], +) diff -urN c/google/devtools/containeranalysis/v1beta1/discovery/BUILD.bazel d/google/devtools/containeranalysis/v1beta1/discovery/BUILD.bazel ---- c/google/devtools/containeranalysis/v1beta1/discovery/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/containeranalysis/v1beta1/discovery/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/containeranalysis/v1beta1/discovery/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,24 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9951,7 +13123,7 @@ diff -urN c/google/devtools/containeranalysis/v1beta1/discovery/BUILD.bazel d/go + ], +) diff -urN c/google/devtools/containeranalysis/v1beta1/grafeas/BUILD.bazel d/google/devtools/containeranalysis/v1beta1/grafeas/BUILD.bazel ---- c/google/devtools/containeranalysis/v1beta1/grafeas/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/containeranalysis/v1beta1/grafeas/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/containeranalysis/v1beta1/grafeas/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,43 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -9998,7 +13170,7 @@ diff -urN c/google/devtools/containeranalysis/v1beta1/grafeas/BUILD.bazel d/goog + ], +) diff -urN c/google/devtools/containeranalysis/v1beta1/image/BUILD.bazel d/google/devtools/containeranalysis/v1beta1/image/BUILD.bazel ---- c/google/devtools/containeranalysis/v1beta1/image/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/containeranalysis/v1beta1/image/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/containeranalysis/v1beta1/image/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10017,7 +13189,7 @@ diff -urN c/google/devtools/containeranalysis/v1beta1/image/BUILD.bazel d/google + visibility = ["//visibility:public"], +) diff -urN c/google/devtools/containeranalysis/v1beta1/package/BUILD.bazel d/google/devtools/containeranalysis/v1beta1/package/BUILD.bazel ---- c/google/devtools/containeranalysis/v1beta1/package/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/containeranalysis/v1beta1/package/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/containeranalysis/v1beta1/package/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10036,7 +13208,7 @@ diff -urN c/google/devtools/containeranalysis/v1beta1/package/BUILD.bazel d/goog + visibility = ["//visibility:public"], +) diff -urN c/google/devtools/containeranalysis/v1beta1/provenance/BUILD.bazel d/google/devtools/containeranalysis/v1beta1/provenance/BUILD.bazel ---- c/google/devtools/containeranalysis/v1beta1/provenance/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/containeranalysis/v1beta1/provenance/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/containeranalysis/v1beta1/provenance/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10060,7 +13232,7 @@ diff -urN c/google/devtools/containeranalysis/v1beta1/provenance/BUILD.bazel d/g + deps = ["//google/devtools/containeranalysis/v1beta1/source:source_go_proto"], +) diff -urN c/google/devtools/containeranalysis/v1beta1/source/BUILD.bazel d/google/devtools/containeranalysis/v1beta1/source/BUILD.bazel ---- c/google/devtools/containeranalysis/v1beta1/source/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/containeranalysis/v1beta1/source/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/containeranalysis/v1beta1/source/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10079,7 +13251,7 @@ diff -urN c/google/devtools/containeranalysis/v1beta1/source/BUILD.bazel d/googl + visibility = ["//visibility:public"], +) diff -urN c/google/devtools/containeranalysis/v1beta1/vulnerability/BUILD.bazel d/google/devtools/containeranalysis/v1beta1/vulnerability/BUILD.bazel ---- c/google/devtools/containeranalysis/v1beta1/vulnerability/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/containeranalysis/v1beta1/vulnerability/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/containeranalysis/v1beta1/vulnerability/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,26 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10109,7 +13281,7 @@ diff -urN c/google/devtools/containeranalysis/v1beta1/vulnerability/BUILD.bazel + ], +) diff -urN c/google/devtools/remoteworkers/v1test2/BUILD.bazel d/google/devtools/remoteworkers/v1test2/BUILD.bazel ---- c/google/devtools/remoteworkers/v1test2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/remoteworkers/v1test2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/remoteworkers/v1test2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,32 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10145,7 +13317,7 @@ diff -urN c/google/devtools/remoteworkers/v1test2/BUILD.bazel d/google/devtools/ + ], +) diff -urN c/google/devtools/resultstore/v2/BUILD.bazel d/google/devtools/resultstore/v2/BUILD.bazel ---- c/google/devtools/resultstore/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/resultstore/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/resultstore/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,43 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10192,7 +13364,7 @@ diff -urN c/google/devtools/resultstore/v2/BUILD.bazel d/google/devtools/results + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/devtools/source/v1/BUILD.bazel d/google/devtools/source/v1/BUILD.bazel ---- c/google/devtools/source/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/source/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/source/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,17 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10213,7 +13385,7 @@ diff -urN c/google/devtools/source/v1/BUILD.bazel d/google/devtools/source/v1/BU + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/devtools/sourcerepo/v1/BUILD.bazel d/google/devtools/sourcerepo/v1/BUILD.bazel ---- c/google/devtools/sourcerepo/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/devtools/sourcerepo/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/devtools/sourcerepo/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10241,8 +13413,42 @@ diff -urN c/google/devtools/sourcerepo/v1/BUILD.bazel d/google/devtools/sourcere + "//google/iam/v1:iam_go_proto", + ], +) +diff -urN c/google/devtools/testing/v1/BUILD.bazel d/google/devtools/testing/v1/BUILD.bazel +--- c/google/devtools/testing/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/devtools/testing/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,30 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "testing_proto", ++ srcs = [ ++ "application_details.proto", ++ "test_environment_discovery.proto", ++ "test_execution.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/type:date_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "testing_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/devtools/testing/v1", ++ proto = ":testing_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/type:date_go_proto", ++ ], ++) diff -urN c/google/example/endpointsapis/v1/BUILD.bazel d/google/example/endpointsapis/v1/BUILD.bazel ---- c/google/example/endpointsapis/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/example/endpointsapis/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/example/endpointsapis/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10267,7 +13473,7 @@ diff -urN c/google/example/endpointsapis/v1/BUILD.bazel d/google/example/endpoin + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/example/library/v1/BUILD.bazel d/google/example/library/v1/BUILD.bazel ---- c/google/example/library/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/example/library/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/example/library/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,22 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10293,7 +13499,7 @@ diff -urN c/google/example/library/v1/BUILD.bazel d/google/example/library/v1/BU + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/firebase/fcm/connection/v1alpha1/BUILD.bazel d/google/firebase/fcm/connection/v1alpha1/BUILD.bazel ---- c/google/firebase/fcm/connection/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/firebase/fcm/connection/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/firebase/fcm/connection/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10318,7 +13524,7 @@ diff -urN c/google/firebase/fcm/connection/v1alpha1/BUILD.bazel d/google/firebas + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/firestore/admin/v1/BUILD.bazel d/google/firestore/admin/v1/BUILD.bazel ---- c/google/firestore/admin/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/firestore/admin/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/firestore/admin/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10357,7 +13563,7 @@ diff -urN c/google/firestore/admin/v1/BUILD.bazel d/google/firestore/admin/v1/BU + ], +) diff -urN c/google/firestore/admin/v1beta1/BUILD.bazel d/google/firestore/admin/v1beta1/BUILD.bazel ---- c/google/firestore/admin/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/firestore/admin/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/firestore/admin/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,32 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10393,7 +13599,7 @@ diff -urN c/google/firestore/admin/v1beta1/BUILD.bazel d/google/firestore/admin/ + ], +) diff -urN c/google/firestore/admin/v1beta2/BUILD.bazel d/google/firestore/admin/v1beta2/BUILD.bazel ---- c/google/firestore/admin/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/firestore/admin/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/firestore/admin/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,32 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10429,7 +13635,7 @@ diff -urN c/google/firestore/admin/v1beta2/BUILD.bazel d/google/firestore/admin/ + ], +) diff -urN c/google/firestore/bundle/BUILD.bazel d/google/firestore/bundle/BUILD.bazel ---- c/google/firestore/bundle/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/firestore/bundle/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/firestore/bundle/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10453,7 +13659,7 @@ diff -urN c/google/firestore/bundle/BUILD.bazel d/google/firestore/bundle/BUILD. + deps = ["//google/firestore/v1:firestore_go_proto"], +) diff -urN c/google/firestore/v1/BUILD.bazel d/google/firestore/v1/BUILD.bazel ---- c/google/firestore/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/firestore/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/firestore/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,36 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10493,7 +13699,7 @@ diff -urN c/google/firestore/v1/BUILD.bazel d/google/firestore/v1/BUILD.bazel + ], +) diff -urN c/google/firestore/v1beta1/BUILD.bazel d/google/firestore/v1beta1/BUILD.bazel ---- c/google/firestore/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/firestore/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/firestore/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,36 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10533,7 +13739,7 @@ diff -urN c/google/firestore/v1beta1/BUILD.bazel d/google/firestore/v1beta1/BUIL + ], +) diff -urN c/google/genomics/v1/BUILD.bazel d/google/genomics/v1/BUILD.bazel ---- c/google/genomics/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/genomics/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/genomics/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,47 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10584,7 +13790,7 @@ diff -urN c/google/genomics/v1/BUILD.bazel d/google/genomics/v1/BUILD.bazel + ], +) diff -urN c/google/genomics/v1alpha2/BUILD.bazel d/google/genomics/v1alpha2/BUILD.bazel ---- c/google/genomics/v1alpha2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/genomics/v1alpha2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/genomics/v1alpha2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10617,7 +13823,7 @@ diff -urN c/google/genomics/v1alpha2/BUILD.bazel d/google/genomics/v1alpha2/BUIL + ], +) diff -urN c/google/geo/type/BUILD.bazel d/google/geo/type/BUILD.bazel ---- c/google/geo/type/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/geo/type/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/geo/type/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,17 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10638,7 +13844,7 @@ diff -urN c/google/geo/type/BUILD.bazel d/google/geo/type/BUILD.bazel + deps = ["//google/type:latlng_go_proto"], +) diff -urN c/google/home/enterprise/sdm/v1/BUILD.bazel d/google/home/enterprise/sdm/v1/BUILD.bazel ---- c/google/home/enterprise/sdm/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/home/enterprise/sdm/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/home/enterprise/sdm/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10667,7 +13873,7 @@ diff -urN c/google/home/enterprise/sdm/v1/BUILD.bazel d/google/home/enterprise/s + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/home/graph/v1/BUILD.bazel d/google/home/graph/v1/BUILD.bazel ---- c/google/home/graph/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/home/graph/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/home/graph/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10696,9 +13902,9 @@ diff -urN c/google/home/graph/v1/BUILD.bazel d/google/home/graph/v1/BUILD.bazel + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/iam/admin/v1/BUILD.bazel d/google/iam/admin/v1/BUILD.bazel ---- c/google/iam/admin/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/iam/admin/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/iam/admin/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,30 @@ +@@ -0,0 +1,33 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + @@ -10712,6 +13918,8 @@ diff -urN c/google/iam/admin/v1/BUILD.bazel d/google/iam/admin/v1/BUILD.bazel + deps = [ + "//google/api:annotations_proto", + "//google/iam/v1:iam_proto", ++ "//google/type:expr_proto", ++ "@com_google_protobuf//:any_proto", + "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", @@ -10727,10 +13935,11 @@ diff -urN c/google/iam/admin/v1/BUILD.bazel d/google/iam/admin/v1/BUILD.bazel + deps = [ + "//google/api:annotations_go_proto", + "//google/iam/v1:iam_go_proto", ++ "//google/type:expr_go_proto", + ], +) diff -urN c/google/iam/credentials/v1/BUILD.bazel d/google/iam/credentials/v1/BUILD.bazel ---- c/google/iam/credentials/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/iam/credentials/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/iam/credentials/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10759,7 +13968,7 @@ diff -urN c/google/iam/credentials/v1/BUILD.bazel d/google/iam/credentials/v1/BU + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/iam/v1/BUILD.bazel d/google/iam/v1/BUILD.bazel ---- c/google/iam/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/iam/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/iam/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,28 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10791,7 +14000,7 @@ diff -urN c/google/iam/v1/BUILD.bazel d/google/iam/v1/BUILD.bazel + ], +) diff -urN c/google/iam/v1/logging/BUILD.bazel d/google/iam/v1/logging/BUILD.bazel ---- c/google/iam/v1/logging/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/iam/v1/logging/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/iam/v1/logging/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,23 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10818,7 +14027,7 @@ diff -urN c/google/iam/v1/logging/BUILD.bazel d/google/iam/v1/logging/BUILD.baze + ], +) diff -urN c/google/iam/v1beta/BUILD.bazel d/google/iam/v1beta/BUILD.bazel ---- c/google/iam/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/iam/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/iam/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10847,7 +14056,7 @@ diff -urN c/google/iam/v1beta/BUILD.bazel d/google/iam/v1beta/BUILD.bazel + ], +) diff -urN c/google/identity/accesscontextmanager/type/BUILD.bazel d/google/identity/accesscontextmanager/type/BUILD.bazel ---- c/google/identity/accesscontextmanager/type/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/identity/accesscontextmanager/type/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/identity/accesscontextmanager/type/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,17 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10868,7 +14077,7 @@ diff -urN c/google/identity/accesscontextmanager/type/BUILD.bazel d/google/ident + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/identity/accesscontextmanager/v1/BUILD.bazel d/google/identity/accesscontextmanager/v1/BUILD.bazel ---- c/google/identity/accesscontextmanager/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/identity/accesscontextmanager/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/identity/accesscontextmanager/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,30 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10902,7 +14111,7 @@ diff -urN c/google/identity/accesscontextmanager/v1/BUILD.bazel d/google/identit + ], +) diff -urN c/google/logging/type/BUILD.bazel d/google/logging/type/BUILD.bazel ---- c/google/logging/type/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/logging/type/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/logging/type/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,23 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10929,7 +14138,7 @@ diff -urN c/google/logging/type/BUILD.bazel d/google/logging/type/BUILD.bazel + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/logging/v2/BUILD.bazel d/google/logging/v2/BUILD.bazel ---- c/google/logging/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/logging/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/logging/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,43 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -10976,7 +14185,7 @@ diff -urN c/google/logging/v2/BUILD.bazel d/google/logging/v2/BUILD.bazel + ], +) diff -urN c/google/longrunning/BUILD.bazel d/google/longrunning/BUILD.bazel ---- c/google/longrunning/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/longrunning/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/longrunning/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,28 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -11007,8 +14216,49 @@ diff -urN c/google/longrunning/BUILD.bazel d/google/longrunning/BUILD.bazel + "//google/rpc:status_go_proto", + ], +) +diff -urN c/google/maps/fleetengine/v1/BUILD.bazel d/google/maps/fleetengine/v1/BUILD.bazel +--- c/google/maps/fleetengine/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ d/google/maps/fleetengine/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,37 @@ ++load("@rules_proto//proto:defs.bzl", "proto_library") ++load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") ++ ++proto_library( ++ name = "fleetengine_proto", ++ srcs = [ ++ "fleetengine.proto", ++ "header.proto", ++ "trip_api.proto", ++ "trips.proto", ++ "vehicle_api.proto", ++ "vehicles.proto", ++ ], ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_proto", ++ "//google/type:latlng_proto", ++ "@com_google_protobuf//:any_proto", ++ "@com_google_protobuf//:duration_proto", ++ "@com_google_protobuf//:empty_proto", ++ "@com_google_protobuf//:field_mask_proto", ++ "@com_google_protobuf//:timestamp_proto", ++ "@com_google_protobuf//:wrappers_proto", ++ ], ++) ++ ++go_proto_library( ++ name = "fleetengine_go_proto", ++ compilers = ["@io_bazel_rules_go//proto:go_grpc"], ++ importpath = "google.golang.org/genproto/googleapis/maps/fleetengine/v1", ++ proto = ":fleetengine_proto", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//google/api:annotations_go_proto", ++ "//google/type:latlng_go_proto", ++ ], ++) diff -urN c/google/maps/playablelocations/v3/BUILD.bazel d/google/maps/playablelocations/v3/BUILD.bazel ---- c/google/maps/playablelocations/v3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/maps/playablelocations/v3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/maps/playablelocations/v3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,33 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -11045,7 +14295,7 @@ diff -urN c/google/maps/playablelocations/v3/BUILD.bazel d/google/maps/playablel + ], +) diff -urN c/google/maps/playablelocations/v3/sample/BUILD.bazel d/google/maps/playablelocations/v3/sample/BUILD.bazel ---- c/google/maps/playablelocations/v3/sample/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/maps/playablelocations/v3/sample/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/maps/playablelocations/v3/sample/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,24 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -11073,7 +14323,7 @@ diff -urN c/google/maps/playablelocations/v3/sample/BUILD.bazel d/google/maps/pl + ], +) diff -urN c/google/maps/roads/v1op/BUILD.bazel d/google/maps/roads/v1op/BUILD.bazel ---- c/google/maps/roads/v1op/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/maps/roads/v1op/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/maps/roads/v1op/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -11102,18 +14352,21 @@ diff -urN c/google/maps/roads/v1op/BUILD.bazel d/google/maps/roads/v1op/BUILD.ba + ], +) diff -urN c/google/maps/routes/v1/BUILD.bazel d/google/maps/routes/v1/BUILD.bazel ---- c/google/maps/routes/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/maps/routes/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/maps/routes/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,46 @@ +@@ -0,0 +1,49 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( + name = "routes_proto", + srcs = [ ++ "compute_custom_routes_request.proto", ++ "compute_custom_routes_response.proto", + "compute_route_matrix_request.proto", + "compute_routes_request.proto", + "compute_routes_response.proto", ++ "custom_route.proto", + "fallback_info.proto", + "polyline.proto", + "route.proto", @@ -11152,7 +14405,7 @@ diff -urN c/google/maps/routes/v1/BUILD.bazel d/google/maps/routes/v1/BUILD.baze + ], +) diff -urN c/google/maps/routes/v1alpha/BUILD.bazel d/google/maps/routes/v1alpha/BUILD.bazel ---- c/google/maps/routes/v1alpha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/maps/routes/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/maps/routes/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,24 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -11180,7 +14433,7 @@ diff -urN c/google/maps/routes/v1alpha/BUILD.bazel d/google/maps/routes/v1alpha/ + ], +) diff -urN c/google/maps/unity/BUILD.bazel d/google/maps/unity/BUILD.bazel ---- c/google/maps/unity/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/maps/unity/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/maps/unity/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -11199,7 +14452,7 @@ diff -urN c/google/maps/unity/BUILD.bazel d/google/maps/unity/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN c/google/monitoring/dashboard/v1/BUILD.bazel d/google/monitoring/dashboard/v1/BUILD.bazel ---- c/google/monitoring/dashboard/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/monitoring/dashboard/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/monitoring/dashboard/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,39 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -11242,9 +14495,9 @@ diff -urN c/google/monitoring/dashboard/v1/BUILD.bazel d/google/monitoring/dashb + ], +) diff -urN c/google/monitoring/v3/BUILD.bazel d/google/monitoring/v3/BUILD.bazel ---- c/google/monitoring/v3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/monitoring/v3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/monitoring/v3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,59 @@ +@@ -0,0 +1,60 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + @@ -11262,6 +14515,7 @@ diff -urN c/google/monitoring/v3/BUILD.bazel d/google/monitoring/v3/BUILD.bazel + "mutation_record.proto", + "notification.proto", + "notification_service.proto", ++ "query_service.proto", + "service.proto", + "service_service.proto", + "span_context.proto", @@ -11305,7 +14559,7 @@ diff -urN c/google/monitoring/v3/BUILD.bazel d/google/monitoring/v3/BUILD.bazel + ], +) diff -urN c/google/partner/aistreams/v1alpha1/BUILD.bazel d/google/partner/aistreams/v1alpha1/BUILD.bazel ---- c/google/partner/aistreams/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/partner/aistreams/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/partner/aistreams/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,26 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -11335,7 +14589,7 @@ diff -urN c/google/partner/aistreams/v1alpha1/BUILD.bazel d/google/partner/aistr + ], +) diff -urN c/google/privacy/dlp/v2/BUILD.bazel d/google/privacy/dlp/v2/BUILD.bazel ---- c/google/privacy/dlp/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/privacy/dlp/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/privacy/dlp/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,37 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -11376,7 +14630,7 @@ diff -urN c/google/privacy/dlp/v2/BUILD.bazel d/google/privacy/dlp/v2/BUILD.baze + ], +) diff -urN c/google/pubsub/v1/BUILD.bazel d/google/pubsub/v1/BUILD.bazel ---- c/google/pubsub/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/pubsub/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/pubsub/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,27 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -11407,7 +14661,7 @@ diff -urN c/google/pubsub/v1/BUILD.bazel d/google/pubsub/v1/BUILD.bazel + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/google/pubsub/v1beta2/BUILD.bazel d/google/pubsub/v1beta2/BUILD.bazel ---- c/google/pubsub/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/pubsub/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/pubsub/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,17 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -11428,7 +14682,7 @@ diff -urN c/google/pubsub/v1beta2/BUILD.bazel d/google/pubsub/v1beta2/BUILD.baze + visibility = ["//visibility:public"], +) diff -urN c/google/rpc/BUILD.bazel d/google/rpc/BUILD.bazel ---- c/google/rpc/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/rpc/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/rpc/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,43 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -11475,7 +14729,7 @@ diff -urN c/google/rpc/BUILD.bazel d/google/rpc/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN c/google/rpc/context/BUILD.bazel d/google/rpc/context/BUILD.bazel ---- c/google/rpc/context/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/rpc/context/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/rpc/context/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -11500,7 +14754,7 @@ diff -urN c/google/rpc/context/BUILD.bazel d/google/rpc/context/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN c/google/search/partnerdataingestion/logging/v1/BUILD.bazel d/google/search/partnerdataingestion/logging/v1/BUILD.bazel ---- c/google/search/partnerdataingestion/logging/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/search/partnerdataingestion/logging/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/search/partnerdataingestion/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -11519,7 +14773,7 @@ diff -urN c/google/search/partnerdataingestion/logging/v1/BUILD.bazel d/google/s + visibility = ["//visibility:public"], +) diff -urN c/google/spanner/admin/database/v1/BUILD.bazel d/google/spanner/admin/database/v1/BUILD.bazel ---- c/google/spanner/admin/database/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/spanner/admin/database/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/spanner/admin/database/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -11558,7 +14812,7 @@ diff -urN c/google/spanner/admin/database/v1/BUILD.bazel d/google/spanner/admin/ + ], +) diff -urN c/google/spanner/admin/instance/v1/BUILD.bazel d/google/spanner/admin/instance/v1/BUILD.bazel ---- c/google/spanner/admin/instance/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/spanner/admin/instance/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/spanner/admin/instance/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -11591,15 +14845,16 @@ diff -urN c/google/spanner/admin/instance/v1/BUILD.bazel d/google/spanner/admin/ + ], +) diff -urN c/google/spanner/v1/BUILD.bazel d/google/spanner/v1/BUILD.bazel ---- c/google/spanner/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/spanner/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/spanner/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,36 @@ +@@ -0,0 +1,37 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + +proto_library( + name = "spanner_proto", + srcs = [ ++ "commit_response.proto", + "keys.proto", + "mutation.proto", + "query_plan.proto", @@ -11631,7 +14886,7 @@ diff -urN c/google/spanner/v1/BUILD.bazel d/google/spanner/v1/BUILD.bazel + ], +) diff -urN c/google/storage/v1/BUILD.bazel d/google/storage/v1/BUILD.bazel ---- c/google/storage/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/storage/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/storage/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -11666,7 +14921,7 @@ diff -urN c/google/storage/v1/BUILD.bazel d/google/storage/v1/BUILD.bazel + ], +) diff -urN c/google/storagetransfer/v1/BUILD.bazel d/google/storagetransfer/v1/BUILD.bazel ---- c/google/storagetransfer/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/storagetransfer/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/storagetransfer/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -11705,7 +14960,7 @@ diff -urN c/google/storagetransfer/v1/BUILD.bazel d/google/storagetransfer/v1/BU + ], +) diff -urN c/google/streetview/publish/v1/BUILD.bazel d/google/streetview/publish/v1/BUILD.bazel ---- c/google/streetview/publish/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/streetview/publish/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/streetview/publish/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,33 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -11742,9 +14997,9 @@ diff -urN c/google/streetview/publish/v1/BUILD.bazel d/google/streetview/publish + ], +) diff -urN c/google/type/BUILD.bazel d/google/type/BUILD.bazel ---- c/google/type/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/type/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/type/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,213 @@ +@@ -0,0 +1,226 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") +load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") + @@ -11781,6 +15036,12 @@ diff -urN c/google/type/BUILD.bazel d/google/type/BUILD.bazel +) + +proto_library( ++ name = "decimal_proto", ++ srcs = ["decimal.proto"], ++ visibility = ["//visibility:public"], ++) ++ ++proto_library( + name = "expr_proto", + srcs = ["expr.proto"], + visibility = ["//visibility:public"], @@ -11883,6 +15144,13 @@ diff -urN c/google/type/BUILD.bazel d/google/type/BUILD.bazel +) + +go_proto_library( ++ name = "decimal_go_proto", ++ importpath = "google.golang.org/genproto/googleapis/type/decimal", ++ proto = ":decimal_proto", ++ visibility = ["//visibility:public"], ++) ++ ++go_proto_library( + name = "expr_go_proto", + importpath = "google.golang.org/genproto/googleapis/type/expr", + proto = ":expr_proto", @@ -11959,7 +15227,7 @@ diff -urN c/google/type/BUILD.bazel d/google/type/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN c/google/watcher/v1/BUILD.bazel d/google/watcher/v1/BUILD.bazel ---- c/google/watcher/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/google/watcher/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/google/watcher/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,22 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -11985,7 +15253,7 @@ diff -urN c/google/watcher/v1/BUILD.bazel d/google/watcher/v1/BUILD.bazel + deps = ["//google/api:annotations_go_proto"], +) diff -urN c/grafeas/v1/BUILD.bazel d/grafeas/v1/BUILD.bazel ---- c/grafeas/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/grafeas/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/grafeas/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") @@ -12029,7 +15297,7 @@ diff -urN c/grafeas/v1/BUILD.bazel d/grafeas/v1/BUILD.bazel + ], +) diff -urN c/storage/clouddms/logging/v1/BUILD.bazel d/storage/clouddms/logging/v1/BUILD.bazel ---- c/storage/clouddms/logging/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- c/storage/clouddms/logging/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ d/storage/clouddms/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@rules_proto//proto:defs.bzl", "proto_library") diff --git a/third_party/org_golang_google_genproto-gazelle.patch b/third_party/org_golang_google_genproto-gazelle.patch index b16c88d0ec..d2f46bed91 100644 --- a/third_party/org_golang_google_genproto-gazelle.patch +++ b/third_party/org_golang_google_genproto-gazelle.patch @@ -1,5 +1,5 @@ diff -urN a/firestore/bundle/BUILD.bazel b/firestore/bundle/BUILD.bazel ---- a/firestore/bundle/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/firestore/bundle/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/firestore/bundle/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -24,9 +24,9 @@ diff -urN a/firestore/bundle/BUILD.bazel b/firestore/bundle/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/googleapis/actions/sdk/v2/BUILD.bazel b/googleapis/actions/sdk/v2/BUILD.bazel ---- a/googleapis/actions/sdk/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/actions/sdk/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/actions/sdk/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,52 @@ +@@ -0,0 +1,51 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -61,7 +61,6 @@ diff -urN a/googleapis/actions/sdk/v2/BUILD.bazel b/googleapis/actions/sdk/v2/BU + "//googleapis/api/annotations", + "//googleapis/rpc/status", + "//googleapis/type/latlng", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -80,9 +79,9 @@ diff -urN a/googleapis/actions/sdk/v2/BUILD.bazel b/googleapis/actions/sdk/v2/BU + visibility = ["//visibility:public"], +) diff -urN a/googleapis/actions/sdk/v2/conversation/BUILD.bazel b/googleapis/actions/sdk/v2/conversation/BUILD.bazel ---- a/googleapis/actions/sdk/v2/conversation/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/actions/sdk/v2/conversation/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/actions/sdk/v2/conversation/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,36 @@ +@@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -106,7 +105,6 @@ diff -urN a/googleapis/actions/sdk/v2/conversation/BUILD.bazel b/googleapis/acti + importpath = "google.golang.org/genproto/googleapis/actions/sdk/v2/conversation", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/durationpb:go_default_library", @@ -120,7 +118,7 @@ diff -urN a/googleapis/actions/sdk/v2/conversation/BUILD.bazel b/googleapis/acti + visibility = ["//visibility:public"], +) diff -urN a/googleapis/actions/sdk/v2/interactionmodel/BUILD.bazel b/googleapis/actions/sdk/v2/interactionmodel/BUILD.bazel ---- a/googleapis/actions/sdk/v2/interactionmodel/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/actions/sdk/v2/interactionmodel/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/actions/sdk/v2/interactionmodel/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -129,6 +127,7 @@ diff -urN a/googleapis/actions/sdk/v2/interactionmodel/BUILD.bazel b/googleapis/ + name = "interactionmodel", + srcs = [ + "conditional_event.pb.go", ++ "entity_set.pb.go", + "event_handler.pb.go", + "global_intent_event.pb.go", + "intent.pb.go", @@ -142,7 +141,6 @@ diff -urN a/googleapis/actions/sdk/v2/interactionmodel/BUILD.bazel b/googleapis/ + "//googleapis/actions/sdk/v2/interactionmodel/prompt", + "//googleapis/actions/sdk/v2/interactionmodel/type", + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/structpb:go_default_library", @@ -155,9 +153,9 @@ diff -urN a/googleapis/actions/sdk/v2/interactionmodel/BUILD.bazel b/googleapis/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/actions/sdk/v2/interactionmodel/prompt/BUILD.bazel b/googleapis/actions/sdk/v2/interactionmodel/prompt/BUILD.bazel ---- a/googleapis/actions/sdk/v2/interactionmodel/prompt/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/actions/sdk/v2/interactionmodel/prompt/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/actions/sdk/v2/interactionmodel/prompt/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,37 @@ +@@ -0,0 +1,36 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -182,7 +180,6 @@ diff -urN a/googleapis/actions/sdk/v2/interactionmodel/prompt/BUILD.bazel b/goog + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/durationpb:go_default_library", @@ -196,9 +193,9 @@ diff -urN a/googleapis/actions/sdk/v2/interactionmodel/prompt/BUILD.bazel b/goog + visibility = ["//visibility:public"], +) diff -urN a/googleapis/actions/sdk/v2/interactionmodel/type/BUILD.bazel b/googleapis/actions/sdk/v2/interactionmodel/type/BUILD.bazel ---- a/googleapis/actions/sdk/v2/interactionmodel/type/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/actions/sdk/v2/interactionmodel/type/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/actions/sdk/v2/interactionmodel/type/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,27 @@ +@@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -215,7 +212,6 @@ diff -urN a/googleapis/actions/sdk/v2/interactionmodel/type/BUILD.bazel b/google + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -227,9 +223,9 @@ diff -urN a/googleapis/actions/sdk/v2/interactionmodel/type/BUILD.bazel b/google + visibility = ["//visibility:public"], +) diff -urN a/googleapis/analytics/admin/v1alpha/BUILD.bazel b/googleapis/analytics/admin/v1alpha/BUILD.bazel ---- a/googleapis/analytics/admin/v1alpha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/analytics/admin/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/analytics/admin/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,30 @@ +@@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -242,7 +238,6 @@ diff -urN a/googleapis/analytics/admin/v1alpha/BUILD.bazel b/googleapis/analytic + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -261,9 +256,9 @@ diff -urN a/googleapis/analytics/admin/v1alpha/BUILD.bazel b/googleapis/analytic + visibility = ["//visibility:public"], +) diff -urN a/googleapis/analytics/data/v1alpha/BUILD.bazel b/googleapis/analytics/data/v1alpha/BUILD.bazel ---- a/googleapis/analytics/data/v1alpha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/analytics/data/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/analytics/data/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +@@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -276,7 +271,6 @@ diff -urN a/googleapis/analytics/data/v1alpha/BUILD.bazel b/googleapis/analytics + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -291,9 +285,9 @@ diff -urN a/googleapis/analytics/data/v1alpha/BUILD.bazel b/googleapis/analytics + visibility = ["//visibility:public"], +) diff -urN a/googleapis/analytics/data/v1beta/BUILD.bazel b/googleapis/analytics/data/v1beta/BUILD.bazel ---- a/googleapis/analytics/data/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/analytics/data/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/analytics/data/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +@@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -306,7 +300,6 @@ diff -urN a/googleapis/analytics/data/v1beta/BUILD.bazel b/googleapis/analytics/ + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -321,7 +314,7 @@ diff -urN a/googleapis/analytics/data/v1beta/BUILD.bazel b/googleapis/analytics/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/analytics/management/v1alpha/BUILD.bazel b/googleapis/analytics/management/v1alpha/BUILD.bazel ---- a/googleapis/analytics/management/v1alpha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/analytics/management/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/analytics/management/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -354,9 +347,9 @@ diff -urN a/googleapis/analytics/management/v1alpha/BUILD.bazel b/googleapis/ana + visibility = ["//visibility:public"], +) diff -urN a/googleapis/api/BUILD.bazel b/googleapis/api/BUILD.bazel ---- a/googleapis/api/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/api/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/api/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -365,7 +358,6 @@ diff -urN a/googleapis/api/BUILD.bazel b/googleapis/api/BUILD.bazel + importpath = "google.golang.org/genproto/googleapis/api", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -377,9 +369,9 @@ diff -urN a/googleapis/api/BUILD.bazel b/googleapis/api/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/googleapis/api/annotations/BUILD.bazel b/googleapis/api/annotations/BUILD.bazel ---- a/googleapis/api/annotations/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/api/annotations/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/api/annotations/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +@@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -394,7 +386,6 @@ diff -urN a/googleapis/api/annotations/BUILD.bazel b/googleapis/api/annotations/ + importpath = "google.golang.org/genproto/googleapis/api/annotations", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/descriptorpb:go_default_library", @@ -407,9 +398,9 @@ diff -urN a/googleapis/api/annotations/BUILD.bazel b/googleapis/api/annotations/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/api/configchange/BUILD.bazel b/googleapis/api/configchange/BUILD.bazel ---- a/googleapis/api/configchange/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/api/configchange/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/api/configchange/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -418,7 +409,6 @@ diff -urN a/googleapis/api/configchange/BUILD.bazel b/googleapis/api/configchang + importpath = "google.golang.org/genproto/googleapis/api/configchange", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -430,9 +420,9 @@ diff -urN a/googleapis/api/configchange/BUILD.bazel b/googleapis/api/configchang + visibility = ["//visibility:public"], +) diff -urN a/googleapis/api/distribution/BUILD.bazel b/googleapis/api/distribution/BUILD.bazel ---- a/googleapis/api/distribution/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/api/distribution/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/api/distribution/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,21 @@ +@@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -441,7 +431,6 @@ diff -urN a/googleapis/api/distribution/BUILD.bazel b/googleapis/api/distributio + importpath = "google.golang.org/genproto/googleapis/api/distribution", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/anypb:go_default_library", @@ -455,9 +444,9 @@ diff -urN a/googleapis/api/distribution/BUILD.bazel b/googleapis/api/distributio + visibility = ["//visibility:public"], +) diff -urN a/googleapis/api/error_reason/BUILD.bazel b/googleapis/api/error_reason/BUILD.bazel ---- a/googleapis/api/error_reason/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/api/error_reason/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/api/error_reason/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -466,7 +455,6 @@ diff -urN a/googleapis/api/error_reason/BUILD.bazel b/googleapis/api/error_reaso + importpath = "google.golang.org/genproto/googleapis/api/error_reason", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -478,9 +466,9 @@ diff -urN a/googleapis/api/error_reason/BUILD.bazel b/googleapis/api/error_reaso + visibility = ["//visibility:public"], +) diff -urN a/googleapis/api/expr/conformance/v1alpha1/BUILD.bazel b/googleapis/api/expr/conformance/v1alpha1/BUILD.bazel ---- a/googleapis/api/expr/conformance/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/api/expr/conformance/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/api/expr/conformance/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,24 @@ +@@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -491,7 +479,6 @@ diff -urN a/googleapis/api/expr/conformance/v1alpha1/BUILD.bazel b/googleapis/ap + deps = [ + "//googleapis/api/expr/v1alpha1", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -506,9 +493,9 @@ diff -urN a/googleapis/api/expr/conformance/v1alpha1/BUILD.bazel b/googleapis/ap + visibility = ["//visibility:public"], +) diff -urN a/googleapis/api/expr/v1alpha1/BUILD.bazel b/googleapis/api/expr/v1alpha1/BUILD.bazel ---- a/googleapis/api/expr/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/api/expr/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/api/expr/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,31 @@ +@@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -524,7 +511,6 @@ diff -urN a/googleapis/api/expr/v1alpha1/BUILD.bazel b/googleapis/api/expr/v1alp + visibility = ["//visibility:public"], + deps = [ + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/anypb:go_default_library", @@ -541,9 +527,9 @@ diff -urN a/googleapis/api/expr/v1alpha1/BUILD.bazel b/googleapis/api/expr/v1alp + visibility = ["//visibility:public"], +) diff -urN a/googleapis/api/expr/v1beta1/BUILD.bazel b/googleapis/api/expr/v1beta1/BUILD.bazel ---- a/googleapis/api/expr/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/api/expr/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/api/expr/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,28 @@ +@@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -559,7 +545,6 @@ diff -urN a/googleapis/api/expr/v1beta1/BUILD.bazel b/googleapis/api/expr/v1beta + visibility = ["//visibility:public"], + deps = [ + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/anypb:go_default_library", @@ -573,9 +558,9 @@ diff -urN a/googleapis/api/expr/v1beta1/BUILD.bazel b/googleapis/api/expr/v1beta + visibility = ["//visibility:public"], +) diff -urN a/googleapis/api/httpbody/BUILD.bazel b/googleapis/api/httpbody/BUILD.bazel ---- a/googleapis/api/httpbody/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/api/httpbody/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/api/httpbody/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,20 @@ +@@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -584,7 +569,6 @@ diff -urN a/googleapis/api/httpbody/BUILD.bazel b/googleapis/api/httpbody/BUILD. + importpath = "google.golang.org/genproto/googleapis/api/httpbody", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/anypb:go_default_library", @@ -597,9 +581,9 @@ diff -urN a/googleapis/api/httpbody/BUILD.bazel b/googleapis/api/httpbody/BUILD. + visibility = ["//visibility:public"], +) diff -urN a/googleapis/api/label/BUILD.bazel b/googleapis/api/label/BUILD.bazel ---- a/googleapis/api/label/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/api/label/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/api/label/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -608,7 +592,6 @@ diff -urN a/googleapis/api/label/BUILD.bazel b/googleapis/api/label/BUILD.bazel + importpath = "google.golang.org/genproto/googleapis/api/label", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -620,9 +603,9 @@ diff -urN a/googleapis/api/label/BUILD.bazel b/googleapis/api/label/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/googleapis/api/metric/BUILD.bazel b/googleapis/api/metric/BUILD.bazel ---- a/googleapis/api/metric/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/api/metric/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/api/metric/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,22 @@ +@@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -633,7 +616,6 @@ diff -urN a/googleapis/api/metric/BUILD.bazel b/googleapis/api/metric/BUILD.baze + deps = [ + "//googleapis/api", + "//googleapis/api/label", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/durationpb:go_default_library", @@ -646,9 +628,9 @@ diff -urN a/googleapis/api/metric/BUILD.bazel b/googleapis/api/metric/BUILD.baze + visibility = ["//visibility:public"], +) diff -urN a/googleapis/api/monitoredres/BUILD.bazel b/googleapis/api/monitoredres/BUILD.bazel ---- a/googleapis/api/monitoredres/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/api/monitoredres/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/api/monitoredres/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,22 @@ +@@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -659,7 +641,6 @@ diff -urN a/googleapis/api/monitoredres/BUILD.bazel b/googleapis/api/monitoredre + deps = [ + "//googleapis/api", + "//googleapis/api/label", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/structpb:go_default_library", @@ -672,9 +653,9 @@ diff -urN a/googleapis/api/monitoredres/BUILD.bazel b/googleapis/api/monitoredre + visibility = ["//visibility:public"], +) diff -urN a/googleapis/api/serviceconfig/BUILD.bazel b/googleapis/api/serviceconfig/BUILD.bazel ---- a/googleapis/api/serviceconfig/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/api/serviceconfig/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/api/serviceconfig/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,44 @@ +@@ -0,0 +1,43 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -704,7 +685,6 @@ diff -urN a/googleapis/api/serviceconfig/BUILD.bazel b/googleapis/api/servicecon + "//googleapis/api/label", + "//googleapis/api/metric", + "//googleapis/api/monitoredres", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/anypb:go_default_library", @@ -720,7 +700,7 @@ diff -urN a/googleapis/api/serviceconfig/BUILD.bazel b/googleapis/api/servicecon + visibility = ["//visibility:public"], +) diff -urN a/googleapis/api/servicecontrol/v1/BUILD.bazel b/googleapis/api/servicecontrol/v1/BUILD.bazel ---- a/googleapis/api/servicecontrol/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/api/servicecontrol/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/api/servicecontrol/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -741,9 +721,9 @@ diff -urN a/googleapis/api/servicecontrol/v1/BUILD.bazel b/googleapis/api/servic + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", ++ "//googleapis/api/distribution", + "//googleapis/logging/type", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -762,9 +742,9 @@ diff -urN a/googleapis/api/servicecontrol/v1/BUILD.bazel b/googleapis/api/servic + visibility = ["//visibility:public"], +) diff -urN a/googleapis/api/servicemanagement/v1/BUILD.bazel b/googleapis/api/servicemanagement/v1/BUILD.bazel ---- a/googleapis/api/servicemanagement/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/api/servicemanagement/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/api/servicemanagement/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,34 @@ +@@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -782,7 +762,6 @@ diff -urN a/googleapis/api/servicemanagement/v1/BUILD.bazel b/googleapis/api/ser + "//googleapis/api/serviceconfig", + "//googleapis/longrunning", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -799,10 +778,100 @@ diff -urN a/googleapis/api/servicemanagement/v1/BUILD.bazel b/googleapis/api/ser + actual = ":servicemanagement", + visibility = ["//visibility:public"], +) +diff -urN a/googleapis/api/serviceusage/v1/BUILD.bazel b/googleapis/api/serviceusage/v1/BUILD.bazel +--- a/googleapis/api/serviceusage/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/api/serviceusage/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,29 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "serviceusage", ++ srcs = [ ++ "resources.pb.go", ++ "serviceusage.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/api/serviceusage/v1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/api/monitoredres", ++ "//googleapis/api/serviceconfig", ++ "//googleapis/longrunning", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/apipb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":serviceusage", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/api/serviceusage/v1beta1/BUILD.bazel b/googleapis/api/serviceusage/v1beta1/BUILD.bazel +--- a/googleapis/api/serviceusage/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/api/serviceusage/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,30 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1beta1", ++ srcs = [ ++ "resources.pb.go", ++ "serviceusage.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/api/serviceusage/v1beta1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/api/monitoredres", ++ "//googleapis/api/serviceconfig", ++ "//googleapis/longrunning", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/apipb:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v1beta1", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/api/visibility/BUILD.bazel b/googleapis/api/visibility/BUILD.bazel +--- a/googleapis/api/visibility/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/api/visibility/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,19 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "visibility", ++ srcs = ["visibility.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/api/visibility", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/descriptorpb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":visibility", ++ visibility = ["//visibility:public"], ++) diff -urN a/googleapis/appengine/legacy/BUILD.bazel b/googleapis/appengine/legacy/BUILD.bazel ---- a/googleapis/appengine/legacy/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/appengine/legacy/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/appengine/legacy/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,20 @@ +@@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -812,7 +881,6 @@ diff -urN a/googleapis/appengine/legacy/BUILD.bazel b/googleapis/appengine/legac + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -824,9 +892,9 @@ diff -urN a/googleapis/appengine/legacy/BUILD.bazel b/googleapis/appengine/legac + visibility = ["//visibility:public"], +) diff -urN a/googleapis/appengine/logging/v1/BUILD.bazel b/googleapis/appengine/logging/v1/BUILD.bazel ---- a/googleapis/appengine/logging/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/appengine/logging/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/appengine/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,22 @@ +@@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -836,7 +904,6 @@ diff -urN a/googleapis/appengine/logging/v1/BUILD.bazel b/googleapis/appengine/l + visibility = ["//visibility:public"], + deps = [ + "//googleapis/logging/type", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/durationpb:go_default_library", @@ -850,9 +917,9 @@ diff -urN a/googleapis/appengine/logging/v1/BUILD.bazel b/googleapis/appengine/l + visibility = ["//visibility:public"], +) diff -urN a/googleapis/appengine/v1/BUILD.bazel b/googleapis/appengine/v1/BUILD.bazel ---- a/googleapis/appengine/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/appengine/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/appengine/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,45 @@ +@@ -0,0 +1,44 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -880,7 +947,6 @@ diff -urN a/googleapis/appengine/v1/BUILD.bazel b/googleapis/appengine/v1/BUILD. + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -899,7 +965,7 @@ diff -urN a/googleapis/appengine/v1/BUILD.bazel b/googleapis/appengine/v1/BUILD. + visibility = ["//visibility:public"], +) diff -urN a/googleapis/appengine/v1beta/BUILD.bazel b/googleapis/appengine/v1beta/BUILD.bazel ---- a/googleapis/appengine/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/appengine/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/appengine/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,45 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -947,10 +1013,75 @@ diff -urN a/googleapis/appengine/v1beta/BUILD.bazel b/googleapis/appengine/v1bet + actual = ":v1beta", + visibility = ["//visibility:public"], +) +diff -urN a/googleapis/apps/alertcenter/v1beta1/BUILD.bazel b/googleapis/apps/alertcenter/v1beta1/BUILD.bazel +--- a/googleapis/apps/alertcenter/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/apps/alertcenter/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,26 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1beta1", ++ srcs = ["alertcenter.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/apps/alertcenter/v1beta1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/rpc/status", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/anypb:go_default_library", ++ "@org_golang_google_protobuf//types/known/emptypb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v1beta1", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/apps/drive/activity/v2/BUILD.bazel b/googleapis/apps/drive/activity/v2/BUILD.bazel +--- a/googleapis/apps/drive/activity/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/apps/drive/activity/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,31 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "activity", ++ srcs = [ ++ "action.pb.go", ++ "actor.pb.go", ++ "common.pb.go", ++ "drive_activity_service.pb.go", ++ "query_drive_activity_request.pb.go", ++ "query_drive_activity_response.pb.go", ++ "target.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/apps/drive/activity/v2", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":activity", ++ visibility = ["//visibility:public"], ++) diff -urN a/googleapis/apps/script/type/BUILD.bazel b/googleapis/apps/script/type/BUILD.bazel ---- a/googleapis/apps/script/type/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/apps/script/type/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/apps/script/type/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,25 @@ +@@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -963,7 +1094,6 @@ diff -urN a/googleapis/apps/script/type/BUILD.bazel b/googleapis/apps/script/typ + importpath = "google.golang.org/genproto/googleapis/apps/script/type", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/structpb:go_default_library", @@ -977,9 +1107,9 @@ diff -urN a/googleapis/apps/script/type/BUILD.bazel b/googleapis/apps/script/typ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/apps/script/type/calendar/BUILD.bazel b/googleapis/apps/script/type/calendar/BUILD.bazel ---- a/googleapis/apps/script/type/calendar/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/apps/script/type/calendar/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/apps/script/type/calendar/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,21 @@ +@@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -990,7 +1120,6 @@ diff -urN a/googleapis/apps/script/type/calendar/BUILD.bazel b/googleapis/apps/s + deps = [ + "//googleapis/api/annotations", + "//googleapis/apps/script/type", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -1002,9 +1131,9 @@ diff -urN a/googleapis/apps/script/type/calendar/BUILD.bazel b/googleapis/apps/s + visibility = ["//visibility:public"], +) diff -urN a/googleapis/apps/script/type/docs/BUILD.bazel b/googleapis/apps/script/type/docs/BUILD.bazel ---- a/googleapis/apps/script/type/docs/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/apps/script/type/docs/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/apps/script/type/docs/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,21 @@ +@@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -1015,7 +1144,6 @@ diff -urN a/googleapis/apps/script/type/docs/BUILD.bazel b/googleapis/apps/scrip + deps = [ + "//googleapis/api/annotations", + "//googleapis/apps/script/type", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -1027,9 +1155,9 @@ diff -urN a/googleapis/apps/script/type/docs/BUILD.bazel b/googleapis/apps/scrip + visibility = ["//visibility:public"], +) diff -urN a/googleapis/apps/script/type/drive/BUILD.bazel b/googleapis/apps/script/type/drive/BUILD.bazel ---- a/googleapis/apps/script/type/drive/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/apps/script/type/drive/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/apps/script/type/drive/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,20 @@ +@@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -1039,7 +1167,6 @@ diff -urN a/googleapis/apps/script/type/drive/BUILD.bazel b/googleapis/apps/scri + visibility = ["//visibility:public"], + deps = [ + "//googleapis/apps/script/type", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -1051,9 +1178,9 @@ diff -urN a/googleapis/apps/script/type/drive/BUILD.bazel b/googleapis/apps/scri + visibility = ["//visibility:public"], +) diff -urN a/googleapis/apps/script/type/gmail/BUILD.bazel b/googleapis/apps/script/type/gmail/BUILD.bazel ---- a/googleapis/apps/script/type/gmail/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/apps/script/type/gmail/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/apps/script/type/gmail/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,21 @@ +@@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -1063,7 +1190,6 @@ diff -urN a/googleapis/apps/script/type/gmail/BUILD.bazel b/googleapis/apps/scri + visibility = ["//visibility:public"], + deps = [ + "//googleapis/apps/script/type", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/structpb:go_default_library", @@ -1076,9 +1202,9 @@ diff -urN a/googleapis/apps/script/type/gmail/BUILD.bazel b/googleapis/apps/scri + visibility = ["//visibility:public"], +) diff -urN a/googleapis/apps/script/type/sheets/BUILD.bazel b/googleapis/apps/script/type/sheets/BUILD.bazel ---- a/googleapis/apps/script/type/sheets/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/apps/script/type/sheets/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/apps/script/type/sheets/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,21 @@ +@@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -1089,7 +1215,6 @@ diff -urN a/googleapis/apps/script/type/sheets/BUILD.bazel b/googleapis/apps/scr + deps = [ + "//googleapis/api/annotations", + "//googleapis/apps/script/type", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -1101,9 +1226,9 @@ diff -urN a/googleapis/apps/script/type/sheets/BUILD.bazel b/googleapis/apps/scr + visibility = ["//visibility:public"], +) diff -urN a/googleapis/apps/script/type/slides/BUILD.bazel b/googleapis/apps/script/type/slides/BUILD.bazel ---- a/googleapis/apps/script/type/slides/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/apps/script/type/slides/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/apps/script/type/slides/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,21 @@ +@@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -1114,7 +1239,6 @@ diff -urN a/googleapis/apps/script/type/slides/BUILD.bazel b/googleapis/apps/scr + deps = [ + "//googleapis/api/annotations", + "//googleapis/apps/script/type", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -1126,9 +1250,9 @@ diff -urN a/googleapis/apps/script/type/slides/BUILD.bazel b/googleapis/apps/scr + visibility = ["//visibility:public"], +) diff -urN a/googleapis/area120/tables/v1alpha1/BUILD.bazel b/googleapis/area120/tables/v1alpha1/BUILD.bazel ---- a/googleapis/area120/tables/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/area120/tables/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/area120/tables/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +@@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -1138,7 +1262,6 @@ diff -urN a/googleapis/area120/tables/v1alpha1/BUILD.bazel b/googleapis/area120/ + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -1156,9 +1279,9 @@ diff -urN a/googleapis/area120/tables/v1alpha1/BUILD.bazel b/googleapis/area120/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/assistant/embedded/v1alpha1/BUILD.bazel b/googleapis/assistant/embedded/v1alpha1/BUILD.bazel ---- a/googleapis/assistant/embedded/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/assistant/embedded/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/assistant/embedded/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,24 @@ +@@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -1169,7 +1292,6 @@ diff -urN a/googleapis/assistant/embedded/v1alpha1/BUILD.bazel b/googleapis/assi + deps = [ + "//googleapis/api/annotations", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -1184,9 +1306,9 @@ diff -urN a/googleapis/assistant/embedded/v1alpha1/BUILD.bazel b/googleapis/assi + visibility = ["//visibility:public"], +) diff -urN a/googleapis/assistant/embedded/v1alpha2/BUILD.bazel b/googleapis/assistant/embedded/v1alpha2/BUILD.bazel ---- a/googleapis/assistant/embedded/v1alpha2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/assistant/embedded/v1alpha2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/assistant/embedded/v1alpha2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,24 @@ +@@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -1197,7 +1319,6 @@ diff -urN a/googleapis/assistant/embedded/v1alpha2/BUILD.bazel b/googleapis/assi + deps = [ + "//googleapis/api/annotations", + "//googleapis/type/latlng", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -1212,7 +1333,7 @@ diff -urN a/googleapis/assistant/embedded/v1alpha2/BUILD.bazel b/googleapis/assi + visibility = ["//visibility:public"], +) diff -urN a/googleapis/bigtable/admin/cluster/v1/BUILD.bazel b/googleapis/bigtable/admin/cluster/v1/BUILD.bazel ---- a/googleapis/bigtable/admin/cluster/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/bigtable/admin/cluster/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/bigtable/admin/cluster/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1246,7 +1367,7 @@ diff -urN a/googleapis/bigtable/admin/cluster/v1/BUILD.bazel b/googleapis/bigtab + visibility = ["//visibility:public"], +) diff -urN a/googleapis/bigtable/admin/table/v1/BUILD.bazel b/googleapis/bigtable/admin/table/v1/BUILD.bazel ---- a/googleapis/bigtable/admin/table/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/bigtable/admin/table/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/bigtable/admin/table/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1280,9 +1401,9 @@ diff -urN a/googleapis/bigtable/admin/table/v1/BUILD.bazel b/googleapis/bigtable + visibility = ["//visibility:public"], +) diff -urN a/googleapis/bigtable/admin/v2/BUILD.bazel b/googleapis/bigtable/admin/v2/BUILD.bazel ---- a/googleapis/bigtable/admin/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/bigtable/admin/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/bigtable/admin/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,36 @@ +@@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -1301,7 +1422,6 @@ diff -urN a/googleapis/bigtable/admin/v2/BUILD.bazel b/googleapis/bigtable/admin + "//googleapis/iam/v1:iam", + "//googleapis/longrunning", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -1320,7 +1440,7 @@ diff -urN a/googleapis/bigtable/admin/v2/BUILD.bazel b/googleapis/bigtable/admin + visibility = ["//visibility:public"], +) diff -urN a/googleapis/bigtable/v1/BUILD.bazel b/googleapis/bigtable/v1/BUILD.bazel ---- a/googleapis/bigtable/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/bigtable/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/bigtable/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1353,9 +1473,9 @@ diff -urN a/googleapis/bigtable/v1/BUILD.bazel b/googleapis/bigtable/v1/BUILD.ba + visibility = ["//visibility:public"], +) diff -urN a/googleapis/bigtable/v2/BUILD.bazel b/googleapis/bigtable/v2/BUILD.bazel ---- a/googleapis/bigtable/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/bigtable/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/bigtable/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,28 @@ +@@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -1369,7 +1489,6 @@ diff -urN a/googleapis/bigtable/v2/BUILD.bazel b/googleapis/bigtable/v2/BUILD.ba + deps = [ + "//googleapis/api/annotations", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -1385,9 +1504,9 @@ diff -urN a/googleapis/bigtable/v2/BUILD.bazel b/googleapis/bigtable/v2/BUILD.ba + visibility = ["//visibility:public"], +) diff -urN a/googleapis/bytestream/BUILD.bazel b/googleapis/bytestream/BUILD.bazel ---- a/googleapis/bytestream/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/bytestream/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/bytestream/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,24 @@ +@@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -1397,7 +1516,6 @@ diff -urN a/googleapis/bytestream/BUILD.bazel b/googleapis/bytestream/BUILD.baze + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -1413,9 +1531,9 @@ diff -urN a/googleapis/bytestream/BUILD.bazel b/googleapis/bytestream/BUILD.baze + visibility = ["//visibility:public"], +) diff -urN a/googleapis/ccc/hosted/marketplace/v2/BUILD.bazel b/googleapis/ccc/hosted/marketplace/v2/BUILD.bazel ---- a/googleapis/ccc/hosted/marketplace/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/ccc/hosted/marketplace/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/ccc/hosted/marketplace/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +@@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -1428,7 +1546,6 @@ diff -urN a/googleapis/ccc/hosted/marketplace/v2/BUILD.bazel b/googleapis/ccc/ho + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -1443,9 +1560,9 @@ diff -urN a/googleapis/ccc/hosted/marketplace/v2/BUILD.bazel b/googleapis/ccc/ho + visibility = ["//visibility:public"], +) diff -urN a/googleapis/chromeos/moblab/v1beta1/BUILD.bazel b/googleapis/chromeos/moblab/v1beta1/BUILD.bazel ---- a/googleapis/chromeos/moblab/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/chromeos/moblab/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/chromeos/moblab/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,29 @@ +@@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -1459,7 +1576,6 @@ diff -urN a/googleapis/chromeos/moblab/v1beta1/BUILD.bazel b/googleapis/chromeos + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -1476,9 +1592,9 @@ diff -urN a/googleapis/chromeos/moblab/v1beta1/BUILD.bazel b/googleapis/chromeos + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/accessapproval/v1/BUILD.bazel b/googleapis/cloud/accessapproval/v1/BUILD.bazel ---- a/googleapis/cloud/accessapproval/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/accessapproval/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/accessapproval/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +@@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -1488,7 +1604,6 @@ diff -urN a/googleapis/cloud/accessapproval/v1/BUILD.bazel b/googleapis/cloud/ac + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -1506,9 +1621,9 @@ diff -urN a/googleapis/cloud/accessapproval/v1/BUILD.bazel b/googleapis/cloud/ac + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/aiplatform/logging/BUILD.bazel b/googleapis/cloud/aiplatform/logging/BUILD.bazel ---- a/googleapis/cloud/aiplatform/logging/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/aiplatform/logging/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/aiplatform/logging/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,20 @@ +@@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -1518,7 +1633,6 @@ diff -urN a/googleapis/cloud/aiplatform/logging/BUILD.bazel b/googleapis/cloud/a + visibility = ["//visibility:public"], + deps = [ + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -1530,9 +1644,9 @@ diff -urN a/googleapis/cloud/aiplatform/logging/BUILD.bazel b/googleapis/cloud/a + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/aiplatform/v1/BUILD.bazel b/googleapis/cloud/aiplatform/v1/BUILD.bazel ---- a/googleapis/cloud/aiplatform/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/aiplatform/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/aiplatform/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,69 @@ +@@ -0,0 +1,68 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -1582,7 +1696,6 @@ diff -urN a/googleapis/cloud/aiplatform/v1/BUILD.bazel b/googleapis/cloud/aiplat + "//googleapis/longrunning", + "//googleapis/rpc/status", + "//googleapis/type/money", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -1603,9 +1716,9 @@ diff -urN a/googleapis/cloud/aiplatform/v1/BUILD.bazel b/googleapis/cloud/aiplat + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel b/googleapis/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel ---- a/googleapis/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,30 @@ +@@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -1625,7 +1738,6 @@ diff -urN a/googleapis/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel b + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -1637,9 +1749,9 @@ diff -urN a/googleapis/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel b + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel b/googleapis/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel ---- a/googleapis/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,27 @@ +@@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -1656,7 +1768,6 @@ diff -urN a/googleapis/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel b/g + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -1668,9 +1779,9 @@ diff -urN a/googleapis/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel b/g + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel b/googleapis/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel ---- a/googleapis/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,34 @@ +@@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -1691,7 +1802,6 @@ diff -urN a/googleapis/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/durationpb:go_default_library", @@ -1706,7 +1816,7 @@ diff -urN a/googleapis/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel ---- a/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1743,9 +1853,9 @@ diff -urN a/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.b + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/aiplatform/v1beta1/BUILD.bazel b/googleapis/cloud/aiplatform/v1beta1/BUILD.bazel ---- a/googleapis/cloud/aiplatform/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/aiplatform/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/aiplatform/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,71 @@ +@@ -0,0 +1,103 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -1754,41 +1864,74 @@ diff -urN a/googleapis/cloud/aiplatform/v1beta1/BUILD.bazel b/googleapis/cloud/a + "accelerator_type.pb.go", + "annotation.pb.go", + "annotation_spec.pb.go", ++ "artifact.pb.go", + "batch_prediction_job.pb.go", + "completion_stats.pb.go", ++ "context.pb.go", + "custom_job.pb.go", + "data_item.pb.go", + "data_labeling_job.pb.go", + "dataset.pb.go", + "dataset_service.pb.go", ++ "deployed_index_ref.pb.go", + "deployed_model_ref.pb.go", + "encryption_spec.pb.go", + "endpoint.pb.go", + "endpoint_service.pb.go", ++ "entity_type.pb.go", + "env_var.pb.go", ++ "event.pb.go", ++ "execution.pb.go", + "explanation.pb.go", + "explanation_metadata.pb.go", ++ "feature.pb.go", ++ "feature_monitoring_stats.pb.go", ++ "feature_selector.pb.go", ++ "featurestore.pb.go", ++ "featurestore_monitoring.pb.go", ++ "featurestore_online_service.pb.go", ++ "featurestore_service.pb.go", + "hyperparameter_tuning_job.pb.go", ++ "index.pb.go", ++ "index_endpoint.pb.go", ++ "index_endpoint_service.pb.go", ++ "index_service.pb.go", + "io.pb.go", + "job_service.pb.go", + "job_state.pb.go", ++ "lineage_subgraph.pb.go", + "machine_resources.pb.go", + "manual_batch_tuning_parameters.pb.go", ++ "metadata_schema.pb.go", ++ "metadata_service.pb.go", ++ "metadata_store.pb.go", + "migratable_resource.pb.go", + "migration_service.pb.go", + "model.pb.go", ++ "model_deployment_monitoring_job.pb.go", + "model_evaluation.pb.go", + "model_evaluation_slice.pb.go", ++ "model_monitoring.pb.go", + "model_service.pb.go", + "operation.pb.go", ++ "pipeline_job.pb.go", + "pipeline_service.pb.go", + "pipeline_state.pb.go", + "prediction_service.pb.go", + "specialist_pool.pb.go", + "specialist_pool_service.pb.go", + "study.pb.go", ++ "tensorboard.pb.go", ++ "tensorboard_data.pb.go", ++ "tensorboard_experiment.pb.go", ++ "tensorboard_run.pb.go", ++ "tensorboard_service.pb.go", ++ "tensorboard_time_series.pb.go", + "training_pipeline.pb.go", ++ "types.pb.go", + "user_action_reference.pb.go", ++ "value.pb.go", ++ "vizier_service.pb.go", + ], + importpath = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1", + visibility = ["//visibility:public"], @@ -1797,7 +1940,6 @@ diff -urN a/googleapis/cloud/aiplatform/v1beta1/BUILD.bazel b/googleapis/cloud/a + "//googleapis/longrunning", + "//googleapis/rpc/status", + "//googleapis/type/money", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -1818,9 +1960,9 @@ diff -urN a/googleapis/cloud/aiplatform/v1beta1/BUILD.bazel b/googleapis/cloud/a + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/aiplatform/v1beta1/schema/BUILD.bazel b/googleapis/cloud/aiplatform/v1beta1/schema/BUILD.bazel ---- a/googleapis/cloud/aiplatform/v1beta1/schema/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/aiplatform/v1beta1/schema/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/aiplatform/v1beta1/schema/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,28 @@ +@@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -1837,7 +1979,6 @@ diff -urN a/googleapis/cloud/aiplatform/v1beta1/schema/BUILD.bazel b/googleapis/ + deps = [ + "//googleapis/api/annotations", + "//googleapis/type/color", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/durationpb:go_default_library", @@ -1850,7 +1991,7 @@ diff -urN a/googleapis/cloud/aiplatform/v1beta1/schema/BUILD.bazel b/googleapis/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel b/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel ---- a/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1860,6 +2001,7 @@ diff -urN a/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.ba + srcs = [ + "image_classification.pb.go", + "image_object_detection.pb.go", ++ "image_segmentation.pb.go", + "text_classification.pb.go", + "text_extraction.pb.go", + "text_sentiment.pb.go", @@ -1871,7 +2013,6 @@ diff -urN a/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.ba + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -1883,7 +2024,7 @@ diff -urN a/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.ba + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel b/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel ---- a/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1893,6 +2034,7 @@ diff -urN a/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.baze + srcs = [ + "image_classification.pb.go", + "image_object_detection.pb.go", ++ "image_segmentation.pb.go", + "video_action_recognition.pb.go", + "video_classification.pb.go", + "video_object_tracking.pb.go", @@ -1901,7 +2043,6 @@ diff -urN a/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.baze + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -1913,7 +2054,7 @@ diff -urN a/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.baze + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel b/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel ---- a/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,34 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1928,6 +2069,7 @@ diff -urN a/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD. + "tabular_regression.pb.go", + "text_extraction.pb.go", + "text_sentiment.pb.go", ++ "time_series_forecasting.pb.go", + "video_action_recognition.pb.go", + "video_classification.pb.go", + "video_object_tracking.pb.go", @@ -1936,7 +2078,6 @@ diff -urN a/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD. + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/durationpb:go_default_library", @@ -1951,7 +2092,7 @@ diff -urN a/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD. + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel ---- a/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,32 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1959,6 +2100,7 @@ diff -urN a/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BU +go_library( + name = "definition", + srcs = [ ++ "automl_image_classification.pb.go", + "automl_image_object_detection.pb.go", + "automl_image_segmentation.pb.go", + "automl_tables.pb.go", @@ -1975,7 +2117,6 @@ diff -urN a/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BU + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -1987,9 +2128,9 @@ diff -urN a/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BU + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/apigateway/v1/BUILD.bazel b/googleapis/cloud/apigateway/v1/BUILD.bazel ---- a/googleapis/cloud/apigateway/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/apigateway/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/apigateway/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,29 @@ +@@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2003,7 +2144,6 @@ diff -urN a/googleapis/cloud/apigateway/v1/BUILD.bazel b/googleapis/cloud/apigat + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -2019,10 +2159,41 @@ diff -urN a/googleapis/cloud/apigateway/v1/BUILD.bazel b/googleapis/cloud/apigat + actual = ":apigateway", + visibility = ["//visibility:public"], +) +diff -urN a/googleapis/cloud/apigeeconnect/v1/BUILD.bazel b/googleapis/cloud/apigeeconnect/v1/BUILD.bazel +--- a/googleapis/cloud/apigeeconnect/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/apigeeconnect/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,27 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "apigeeconnect", ++ srcs = [ ++ "connection.pb.go", ++ "tether.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/apigeeconnect/v1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/rpc/status", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/durationpb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":apigeeconnect", ++ visibility = ["//visibility:public"], ++) diff -urN a/googleapis/cloud/asset/v1/BUILD.bazel b/googleapis/cloud/asset/v1/BUILD.bazel ---- a/googleapis/cloud/asset/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/asset/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/asset/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,39 @@ +@@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2042,7 +2213,6 @@ diff -urN a/googleapis/cloud/asset/v1/BUILD.bazel b/googleapis/cloud/asset/v1/BU + "//googleapis/longrunning", + "//googleapis/rpc/code", + "//googleapis/type/expr", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -2063,9 +2233,9 @@ diff -urN a/googleapis/cloud/asset/v1/BUILD.bazel b/googleapis/cloud/asset/v1/BU + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/asset/v1p1beta1/BUILD.bazel b/googleapis/cloud/asset/v1p1beta1/BUILD.bazel ---- a/googleapis/cloud/asset/v1p1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/asset/v1p1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/asset/v1p1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,27 @@ +@@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2079,7 +2249,6 @@ diff -urN a/googleapis/cloud/asset/v1p1beta1/BUILD.bazel b/googleapis/cloud/asse + deps = [ + "//googleapis/api/annotations", + "//googleapis/iam/v1:iam", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -2094,9 +2263,9 @@ diff -urN a/googleapis/cloud/asset/v1p1beta1/BUILD.bazel b/googleapis/cloud/asse + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/asset/v1p2beta1/BUILD.bazel b/googleapis/cloud/asset/v1p2beta1/BUILD.bazel ---- a/googleapis/cloud/asset/v1p2beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/asset/v1p2beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/asset/v1p2beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,33 @@ +@@ -0,0 +1,32 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2111,7 +2280,6 @@ diff -urN a/googleapis/cloud/asset/v1p2beta1/BUILD.bazel b/googleapis/cloud/asse + "//googleapis/api/annotations", + "//googleapis/iam/v1:iam", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -2131,9 +2299,9 @@ diff -urN a/googleapis/cloud/asset/v1p2beta1/BUILD.bazel b/googleapis/cloud/asse + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/asset/v1p4beta1/BUILD.bazel b/googleapis/cloud/asset/v1p4beta1/BUILD.bazel ---- a/googleapis/cloud/asset/v1p4beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/asset/v1p4beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/asset/v1p4beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,30 @@ +@@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2149,7 +2317,6 @@ diff -urN a/googleapis/cloud/asset/v1p4beta1/BUILD.bazel b/googleapis/cloud/asse + "//googleapis/iam/v1:iam", + "//googleapis/longrunning", + "//googleapis/rpc/code", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -2165,9 +2332,9 @@ diff -urN a/googleapis/cloud/asset/v1p4beta1/BUILD.bazel b/googleapis/cloud/asse + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/asset/v1p5beta1/BUILD.bazel b/googleapis/cloud/asset/v1p5beta1/BUILD.bazel ---- a/googleapis/cloud/asset/v1p5beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/asset/v1p5beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/asset/v1p5beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,32 @@ +@@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2183,7 +2350,6 @@ diff -urN a/googleapis/cloud/asset/v1p5beta1/BUILD.bazel b/googleapis/cloud/asse + "//googleapis/cloud/orgpolicy/v1:orgpolicy", + "//googleapis/iam/v1:iam", + "//googleapis/identity/accesscontextmanager/v1:accesscontextmanager", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -2201,9 +2367,9 @@ diff -urN a/googleapis/cloud/asset/v1p5beta1/BUILD.bazel b/googleapis/cloud/asse + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/asset/v1p7beta1/BUILD.bazel b/googleapis/cloud/asset/v1p7beta1/BUILD.bazel ---- a/googleapis/cloud/asset/v1p7beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/asset/v1p7beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/asset/v1p7beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,36 @@ +@@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2221,7 +2387,6 @@ diff -urN a/googleapis/cloud/asset/v1p7beta1/BUILD.bazel b/googleapis/cloud/asse + "//googleapis/iam/v1:iam", + "//googleapis/identity/accesscontextmanager/v1:accesscontextmanager", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -2241,9 +2406,9 @@ diff -urN a/googleapis/cloud/asset/v1p7beta1/BUILD.bazel b/googleapis/cloud/asse + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/assuredworkloads/v1beta1/BUILD.bazel b/googleapis/cloud/assuredworkloads/v1beta1/BUILD.bazel ---- a/googleapis/cloud/assuredworkloads/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/assuredworkloads/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/assuredworkloads/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,28 @@ +@@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2254,7 +2419,6 @@ diff -urN a/googleapis/cloud/assuredworkloads/v1beta1/BUILD.bazel b/googleapis/c + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -2273,9 +2437,9 @@ diff -urN a/googleapis/cloud/assuredworkloads/v1beta1/BUILD.bazel b/googleapis/c + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/audit/BUILD.bazel b/googleapis/cloud/audit/BUILD.bazel ---- a/googleapis/cloud/audit/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/audit/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/audit/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,23 @@ +@@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2286,7 +2450,6 @@ diff -urN a/googleapis/cloud/audit/BUILD.bazel b/googleapis/cloud/audit/BUILD.ba + deps = [ + "//googleapis/rpc/context/attribute_context", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/anypb:go_default_library", @@ -2300,9 +2463,9 @@ diff -urN a/googleapis/cloud/audit/BUILD.bazel b/googleapis/cloud/audit/BUILD.ba + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/automl/v1/BUILD.bazel b/googleapis/cloud/automl/v1/BUILD.bazel ---- a/googleapis/cloud/automl/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/automl/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/automl/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,50 @@ +@@ -0,0 +1,49 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2334,7 +2497,6 @@ diff -urN a/googleapis/cloud/automl/v1/BUILD.bazel b/googleapis/cloud/automl/v1/ + "//googleapis/api/annotations", + "//googleapis/longrunning", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -2354,9 +2516,9 @@ diff -urN a/googleapis/cloud/automl/v1/BUILD.bazel b/googleapis/cloud/automl/v1/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/automl/v1beta1/BUILD.bazel b/googleapis/cloud/automl/v1beta1/BUILD.bazel ---- a/googleapis/cloud/automl/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/automl/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/automl/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,60 @@ +@@ -0,0 +1,59 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2397,7 +2559,6 @@ diff -urN a/googleapis/cloud/automl/v1beta1/BUILD.bazel b/googleapis/cloud/autom + "//googleapis/api/annotations", + "//googleapis/longrunning", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -2418,9 +2579,9 @@ diff -urN a/googleapis/cloud/automl/v1beta1/BUILD.bazel b/googleapis/cloud/autom + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/bigquery/connection/v1/BUILD.bazel b/googleapis/cloud/bigquery/connection/v1/BUILD.bazel ---- a/googleapis/cloud/bigquery/connection/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/bigquery/connection/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/bigquery/connection/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,27 @@ +@@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2431,7 +2592,6 @@ diff -urN a/googleapis/cloud/bigquery/connection/v1/BUILD.bazel b/googleapis/clo + deps = [ + "//googleapis/api/annotations", + "//googleapis/iam/v1:iam", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -2449,9 +2609,9 @@ diff -urN a/googleapis/cloud/bigquery/connection/v1/BUILD.bazel b/googleapis/clo + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/bigquery/connection/v1beta1/BUILD.bazel b/googleapis/cloud/bigquery/connection/v1beta1/BUILD.bazel ---- a/googleapis/cloud/bigquery/connection/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/bigquery/connection/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/bigquery/connection/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,27 @@ +@@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2462,7 +2622,6 @@ diff -urN a/googleapis/cloud/bigquery/connection/v1beta1/BUILD.bazel b/googleapi + deps = [ + "//googleapis/api/annotations", + "//googleapis/iam/v1:iam", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -2480,7 +2639,7 @@ diff -urN a/googleapis/cloud/bigquery/connection/v1beta1/BUILD.bazel b/googleapi + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/bigquery/datatransfer/v1/BUILD.bazel b/googleapis/cloud/bigquery/datatransfer/v1/BUILD.bazel ---- a/googleapis/cloud/bigquery/datatransfer/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/bigquery/datatransfer/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/bigquery/datatransfer/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,39 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2523,9 +2682,9 @@ diff -urN a/googleapis/cloud/bigquery/datatransfer/v1/BUILD.bazel b/googleapis/c + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/bigquery/logging/v1/BUILD.bazel b/googleapis/cloud/bigquery/logging/v1/BUILD.bazel ---- a/googleapis/cloud/bigquery/logging/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/bigquery/logging/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/bigquery/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,23 @@ +@@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2536,7 +2695,6 @@ diff -urN a/googleapis/cloud/bigquery/logging/v1/BUILD.bazel b/googleapis/cloud/ + deps = [ + "//googleapis/iam/v1:iam", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/durationpb:go_default_library", @@ -2549,10 +2707,48 @@ diff -urN a/googleapis/cloud/bigquery/logging/v1/BUILD.bazel b/googleapis/cloud/ + actual = ":logging", + visibility = ["//visibility:public"], +) +diff -urN a/googleapis/cloud/bigquery/migration/v2alpha/BUILD.bazel b/googleapis/cloud/bigquery/migration/v2alpha/BUILD.bazel +--- a/googleapis/cloud/bigquery/migration/v2alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/bigquery/migration/v2alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,34 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v2alpha", ++ srcs = [ ++ "migration_entities.pb.go", ++ "migration_error_details.pb.go", ++ "migration_metrics.pb.go", ++ "migration_service.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/bigquery/migration/v2alpha", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/api/distribution", ++ "//googleapis/api/metric", ++ "//googleapis/rpc/errdetails", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/anypb:go_default_library", ++ "@org_golang_google_protobuf//types/known/emptypb:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v2alpha", ++ visibility = ["//visibility:public"], ++) diff -urN a/googleapis/cloud/bigquery/reservation/v1/BUILD.bazel b/googleapis/cloud/bigquery/reservation/v1/BUILD.bazel ---- a/googleapis/cloud/bigquery/reservation/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/bigquery/reservation/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/bigquery/reservation/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,27 @@ +@@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2563,7 +2759,6 @@ diff -urN a/googleapis/cloud/bigquery/reservation/v1/BUILD.bazel b/googleapis/cl + deps = [ + "//googleapis/api/annotations", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -2581,9 +2776,9 @@ diff -urN a/googleapis/cloud/bigquery/reservation/v1/BUILD.bazel b/googleapis/cl + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/bigquery/reservation/v1beta1/BUILD.bazel b/googleapis/cloud/bigquery/reservation/v1beta1/BUILD.bazel ---- a/googleapis/cloud/bigquery/reservation/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/bigquery/reservation/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/bigquery/reservation/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,27 @@ +@@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2594,7 +2789,6 @@ diff -urN a/googleapis/cloud/bigquery/reservation/v1beta1/BUILD.bazel b/googleap + deps = [ + "//googleapis/api/annotations", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -2612,9 +2806,9 @@ diff -urN a/googleapis/cloud/bigquery/reservation/v1beta1/BUILD.bazel b/googleap + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/bigquery/storage/v1/BUILD.bazel b/googleapis/cloud/bigquery/storage/v1/BUILD.bazel ---- a/googleapis/cloud/bigquery/storage/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/bigquery/storage/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/bigquery/storage/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,29 @@ +@@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2629,7 +2823,6 @@ diff -urN a/googleapis/cloud/bigquery/storage/v1/BUILD.bazel b/googleapis/cloud/ + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -2645,7 +2838,7 @@ diff -urN a/googleapis/cloud/bigquery/storage/v1/BUILD.bazel b/googleapis/cloud/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/bigquery/storage/v1alpha2/BUILD.bazel b/googleapis/cloud/bigquery/storage/v1alpha2/BUILD.bazel ---- a/googleapis/cloud/bigquery/storage/v1alpha2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/bigquery/storage/v1alpha2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/bigquery/storage/v1alpha2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2682,9 +2875,9 @@ diff -urN a/googleapis/cloud/bigquery/storage/v1alpha2/BUILD.bazel b/googleapis/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/bigquery/storage/v1beta1/BUILD.bazel b/googleapis/cloud/bigquery/storage/v1beta1/BUILD.bazel ---- a/googleapis/cloud/bigquery/storage/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/bigquery/storage/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/bigquery/storage/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,31 @@ +@@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2700,7 +2893,6 @@ diff -urN a/googleapis/cloud/bigquery/storage/v1beta1/BUILD.bazel b/googleapis/c + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -2717,9 +2909,9 @@ diff -urN a/googleapis/cloud/bigquery/storage/v1beta1/BUILD.bazel b/googleapis/c + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/bigquery/storage/v1beta2/BUILD.bazel b/googleapis/cloud/bigquery/storage/v1beta2/BUILD.bazel ---- a/googleapis/cloud/bigquery/storage/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/bigquery/storage/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/bigquery/storage/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,34 @@ +@@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2737,7 +2929,6 @@ diff -urN a/googleapis/cloud/bigquery/storage/v1beta2/BUILD.bazel b/googleapis/c + deps = [ + "//googleapis/api/annotations", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -2755,9 +2946,9 @@ diff -urN a/googleapis/cloud/bigquery/storage/v1beta2/BUILD.bazel b/googleapis/c + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/bigquery/v2/BUILD.bazel b/googleapis/cloud/bigquery/v2/BUILD.bazel ---- a/googleapis/cloud/bigquery/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/bigquery/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/bigquery/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,32 @@ +@@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2773,7 +2964,6 @@ diff -urN a/googleapis/cloud/bigquery/v2/BUILD.bazel b/googleapis/cloud/bigquery + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -2791,7 +2981,7 @@ diff -urN a/googleapis/cloud/bigquery/v2/BUILD.bazel b/googleapis/cloud/bigquery + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/billing/budgets/v1/BUILD.bazel b/googleapis/cloud/billing/budgets/v1/BUILD.bazel ---- a/googleapis/cloud/billing/budgets/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/billing/budgets/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/billing/budgets/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2806,8 +2996,8 @@ diff -urN a/googleapis/cloud/billing/budgets/v1/BUILD.bazel b/googleapis/cloud/b + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", ++ "//googleapis/type/date", + "//googleapis/type/money", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -2825,7 +3015,7 @@ diff -urN a/googleapis/cloud/billing/budgets/v1/BUILD.bazel b/googleapis/cloud/b + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/billing/budgets/v1alpha1/BUILD.bazel b/googleapis/cloud/billing/budgets/v1alpha1/BUILD.bazel ---- a/googleapis/cloud/billing/budgets/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/billing/budgets/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/billing/budgets/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2859,7 +3049,7 @@ diff -urN a/googleapis/cloud/billing/budgets/v1alpha1/BUILD.bazel b/googleapis/c + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/billing/budgets/v1beta1/BUILD.bazel b/googleapis/cloud/billing/budgets/v1beta1/BUILD.bazel ---- a/googleapis/cloud/billing/budgets/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/billing/budgets/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/billing/budgets/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2874,8 +3064,8 @@ diff -urN a/googleapis/cloud/billing/budgets/v1beta1/BUILD.bazel b/googleapis/cl + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", ++ "//googleapis/type/date", + "//googleapis/type/money", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -2893,9 +3083,9 @@ diff -urN a/googleapis/cloud/billing/budgets/v1beta1/BUILD.bazel b/googleapis/cl + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/billing/v1/BUILD.bazel b/googleapis/cloud/billing/v1/BUILD.bazel ---- a/googleapis/cloud/billing/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/billing/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/billing/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,30 @@ +@@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2910,7 +3100,6 @@ diff -urN a/googleapis/cloud/billing/v1/BUILD.bazel b/googleapis/cloud/billing/v + "//googleapis/api/annotations", + "//googleapis/iam/v1:iam", + "//googleapis/type/money", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -2927,7 +3116,7 @@ diff -urN a/googleapis/cloud/billing/v1/BUILD.bazel b/googleapis/cloud/billing/v + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/binaryauthorization/v1beta1/BUILD.bazel b/googleapis/cloud/binaryauthorization/v1beta1/BUILD.bazel ---- a/googleapis/cloud/binaryauthorization/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/binaryauthorization/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/binaryauthorization/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2935,6 +3124,7 @@ diff -urN a/googleapis/cloud/binaryauthorization/v1beta1/BUILD.bazel b/googleapi +go_library( + name = "v1beta1", + srcs = [ ++ "continuous_validation_logging.pb.go", + "resources.pb.go", + "service.pb.go", + ], @@ -2942,7 +3132,6 @@ diff -urN a/googleapis/cloud/binaryauthorization/v1beta1/BUILD.bazel b/googleapi + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -2959,9 +3148,9 @@ diff -urN a/googleapis/cloud/binaryauthorization/v1beta1/BUILD.bazel b/googleapi + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/channel/v1/BUILD.bazel b/googleapis/cloud/channel/v1/BUILD.bazel ---- a/googleapis/cloud/channel/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/channel/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/channel/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,41 @@ +@@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2984,7 +3173,6 @@ diff -urN a/googleapis/cloud/channel/v1/BUILD.bazel b/googleapis/cloud/channel/v + "//googleapis/longrunning", + "//googleapis/type/money", + "//googleapis/type/postaladdress", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -3003,178 +3191,132 @@ diff -urN a/googleapis/cloud/channel/v1/BUILD.bazel b/googleapis/cloud/channel/v + actual = ":channel", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/datacatalog/v1/BUILD.bazel b/googleapis/cloud/datacatalog/v1/BUILD.bazel ---- a/googleapis/cloud/datacatalog/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/datacatalog/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,36 @@ +diff -urN a/googleapis/cloud/clouddms/logging/v1/BUILD.bazel b/googleapis/cloud/clouddms/logging/v1/BUILD.bazel +--- a/googleapis/cloud/clouddms/logging/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/clouddms/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "datacatalog", -+ srcs = [ -+ "common.pb.go", -+ "datacatalog.pb.go", -+ "gcs_fileset_spec.pb.go", -+ "schema.pb.go", -+ "search.pb.go", -+ "table_spec.pb.go", -+ "tags.pb.go", -+ "timestamps.pb.go", -+ ], -+ importpath = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1", ++ name = "logging", ++ srcs = ["clouddms_platform_logs.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/clouddms/logging/v1", + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "//googleapis/iam/v1:iam", -+ "@com_github_golang_protobuf//proto:go_default_library", -+ "@org_golang_google_grpc//:go_default_library", -+ "@org_golang_google_grpc//codes:go_default_library", -+ "@org_golang_google_grpc//status:go_default_library", ++ "//googleapis/rpc/status", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", -+ "@org_golang_google_protobuf//types/known/emptypb:go_default_library", -+ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/durationpb:go_default_library", + "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", + ], +) + +alias( + name = "go_default_library", -+ actual = ":datacatalog", ++ actual = ":logging", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/datacatalog/v1beta1/BUILD.bazel b/googleapis/cloud/datacatalog/v1beta1/BUILD.bazel ---- a/googleapis/cloud/datacatalog/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/datacatalog/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,38 @@ +diff -urN a/googleapis/cloud/clouddms/v1/BUILD.bazel b/googleapis/cloud/clouddms/v1/BUILD.bazel +--- a/googleapis/cloud/clouddms/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/clouddms/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "v1beta1", ++ name = "clouddms", + srcs = [ -+ "common.pb.go", -+ "datacatalog.pb.go", -+ "gcs_fileset_spec.pb.go", -+ "policytagmanager.pb.go", -+ "policytagmanagerserialization.pb.go", -+ "schema.pb.go", -+ "search.pb.go", -+ "table_spec.pb.go", -+ "tags.pb.go", -+ "timestamps.pb.go", ++ "clouddms.pb.go", ++ "clouddms_resources.pb.go", + ], -+ importpath = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1", ++ importpath = "google.golang.org/genproto/googleapis/cloud/clouddms/v1", + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "//googleapis/iam/v1:iam", -+ "@com_github_golang_protobuf//proto:go_default_library", ++ "//googleapis/longrunning", ++ "//googleapis/rpc/status", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", -+ "@org_golang_google_protobuf//types/known/emptypb:go_default_library", ++ "@org_golang_google_protobuf//types/known/durationpb:go_default_library", + "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", + "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ "@org_golang_google_protobuf//types/known/wrapperspb:go_default_library", + ], +) + +alias( + name = "go_default_library", -+ actual = ":v1beta1", ++ actual = ":clouddms", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/datalabeling/v1beta1/BUILD.bazel b/googleapis/cloud/datalabeling/v1beta1/BUILD.bazel ---- a/googleapis/cloud/datalabeling/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/datalabeling/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,40 @@ +diff -urN a/googleapis/cloud/common/BUILD.bazel b/googleapis/cloud/common/BUILD.bazel +--- a/googleapis/cloud/common/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/common/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "v1beta1", -+ srcs = [ -+ "annotation.pb.go", -+ "annotation_spec_set.pb.go", -+ "data_labeling_service.pb.go", -+ "data_payloads.pb.go", -+ "dataset.pb.go", -+ "evaluation.pb.go", -+ "evaluation_job.pb.go", -+ "human_annotation_config.pb.go", -+ "instruction.pb.go", -+ "operations.pb.go", -+ ], -+ importpath = "google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1", ++ name = "common", ++ srcs = ["operation_metadata.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/common", + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "//googleapis/longrunning", -+ "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", -+ "@org_golang_google_grpc//:go_default_library", -+ "@org_golang_google_grpc//codes:go_default_library", -+ "@org_golang_google_grpc//status:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", -+ "@org_golang_google_protobuf//types/known/durationpb:go_default_library", -+ "@org_golang_google_protobuf//types/known/emptypb:go_default_library", -+ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", + "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", + ], +) + +alias( + name = "go_default_library", -+ actual = ":v1beta1", ++ actual = ":common", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/dataproc/logging/BUILD.bazel b/googleapis/cloud/dataproc/logging/BUILD.bazel ---- a/googleapis/cloud/dataproc/logging/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/dataproc/logging/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,20 @@ +diff -urN a/googleapis/cloud/compute/v1/BUILD.bazel b/googleapis/cloud/compute/v1/BUILD.bazel +--- a/googleapis/cloud/compute/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/compute/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "logging", -+ srcs = ["autoscaler_log.pb.go"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/dataproc/logging", ++ name = "compute", ++ srcs = ["compute.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/compute/v1", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", ++ "//googleapis/api/annotations", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", -+ "@org_golang_google_protobuf//types/known/durationpb:go_default_library", + ], +) + +alias( + name = "go_default_library", -+ actual = ":logging", ++ actual = ":compute", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/dataproc/v1/BUILD.bazel b/googleapis/cloud/dataproc/v1/BUILD.bazel ---- a/googleapis/cloud/dataproc/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/dataproc/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,35 @@ +diff -urN a/googleapis/cloud/contactcenterinsights/v1/BUILD.bazel b/googleapis/cloud/contactcenterinsights/v1/BUILD.bazel +--- a/googleapis/cloud/contactcenterinsights/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/contactcenterinsights/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "dataproc", ++ name = "contactcenterinsights", + srcs = [ -+ "autoscaling_policies.pb.go", -+ "clusters.pb.go", -+ "jobs.pb.go", -+ "operations.pb.go", -+ "shared.pb.go", -+ "workflow_templates.pb.go", ++ "contact_center_insights.pb.go", ++ "resources.pb.go", + ], -+ importpath = "google.golang.org/genproto/googleapis/cloud/dataproc/v1", ++ importpath = "google.golang.org/genproto/googleapis/cloud/contactcenterinsights/v1", + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", ++ "//googleapis/rpc/status", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -3189,31 +3331,239 @@ diff -urN a/googleapis/cloud/dataproc/v1/BUILD.bazel b/googleapis/cloud/dataproc + +alias( + name = "go_default_library", -+ actual = ":dataproc", ++ actual = ":contactcenterinsights", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/dataproc/v1beta2/BUILD.bazel b/googleapis/cloud/dataproc/v1beta2/BUILD.bazel ---- a/googleapis/cloud/dataproc/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/dataproc/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,35 @@ +diff -urN a/googleapis/cloud/containers/workflow/analysis/BUILD.bazel b/googleapis/cloud/containers/workflow/analysis/BUILD.bazel +--- a/googleapis/cloud/containers/workflow/analysis/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/containers/workflow/analysis/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "v1beta2", -+ srcs = [ -+ "autoscaling_policies.pb.go", -+ "clusters.pb.go", -+ "jobs.pb.go", -+ "operations.pb.go", -+ "shared.pb.go", -+ "workflow_templates.pb.go", -+ ], -+ importpath = "google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2", ++ name = "analysis", ++ srcs = ["package.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/containers/workflow/analysis", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":analysis", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/datacatalog/v1/BUILD.bazel b/googleapis/cloud/datacatalog/v1/BUILD.bazel +--- a/googleapis/cloud/datacatalog/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/datacatalog/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,38 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "datacatalog", ++ srcs = [ ++ "common.pb.go", ++ "data_source.pb.go", ++ "datacatalog.pb.go", ++ "gcs_fileset_spec.pb.go", ++ "policytagmanager.pb.go", ++ "policytagmanagerserialization.pb.go", ++ "schema.pb.go", ++ "search.pb.go", ++ "table_spec.pb.go", ++ "tags.pb.go", ++ "timestamps.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/iam/v1:iam", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/emptypb:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":datacatalog", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/datacatalog/v1beta1/BUILD.bazel b/googleapis/cloud/datacatalog/v1beta1/BUILD.bazel +--- a/googleapis/cloud/datacatalog/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/datacatalog/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,37 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1beta1", ++ srcs = [ ++ "common.pb.go", ++ "datacatalog.pb.go", ++ "gcs_fileset_spec.pb.go", ++ "policytagmanager.pb.go", ++ "policytagmanagerserialization.pb.go", ++ "schema.pb.go", ++ "search.pb.go", ++ "table_spec.pb.go", ++ "tags.pb.go", ++ "timestamps.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/datacatalog/v1beta1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/iam/v1:iam", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/emptypb:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v1beta1", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/datalabeling/v1beta1/BUILD.bazel b/googleapis/cloud/datalabeling/v1beta1/BUILD.bazel +--- a/googleapis/cloud/datalabeling/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/datalabeling/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,39 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1beta1", ++ srcs = [ ++ "annotation.pb.go", ++ "annotation_spec_set.pb.go", ++ "data_labeling_service.pb.go", ++ "data_payloads.pb.go", ++ "dataset.pb.go", ++ "evaluation.pb.go", ++ "evaluation_job.pb.go", ++ "human_annotation_config.pb.go", ++ "instruction.pb.go", ++ "operations.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/longrunning", ++ "//googleapis/rpc/status", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/durationpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/emptypb:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v1beta1", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/dataproc/logging/BUILD.bazel b/googleapis/cloud/dataproc/logging/BUILD.bazel +--- a/googleapis/cloud/dataproc/logging/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/dataproc/logging/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,19 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "logging", ++ srcs = ["autoscaler_log.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/dataproc/logging", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/durationpb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":logging", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/dataproc/v1/BUILD.bazel b/googleapis/cloud/dataproc/v1/BUILD.bazel +--- a/googleapis/cloud/dataproc/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/dataproc/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,34 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "dataproc", ++ srcs = [ ++ "autoscaling_policies.pb.go", ++ "clusters.pb.go", ++ "jobs.pb.go", ++ "operations.pb.go", ++ "shared.pb.go", ++ "workflow_templates.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/dataproc/v1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/longrunning", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/durationpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/emptypb:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":dataproc", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/dataproc/v1beta2/BUILD.bazel b/googleapis/cloud/dataproc/v1beta2/BUILD.bazel +--- a/googleapis/cloud/dataproc/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/dataproc/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,34 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1beta2", ++ srcs = [ ++ "autoscaling_policies.pb.go", ++ "clusters.pb.go", ++ "jobs.pb.go", ++ "operations.pb.go", ++ "shared.pb.go", ++ "workflow_templates.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/dataproc/v1beta2", + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -3232,9 +3582,9 @@ diff -urN a/googleapis/cloud/dataproc/v1beta2/BUILD.bazel b/googleapis/cloud/dat + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/dataqna/v1alpha/BUILD.bazel b/googleapis/cloud/dataqna/v1alpha/BUILD.bazel ---- a/googleapis/cloud/dataqna/v1alpha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/dataqna/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/dataqna/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,33 @@ +@@ -0,0 +1,32 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -3251,7 +3601,6 @@ diff -urN a/googleapis/cloud/dataqna/v1alpha/BUILD.bazel b/googleapis/cloud/data + deps = [ + "//googleapis/api/annotations", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -3268,10 +3617,43 @@ diff -urN a/googleapis/cloud/dataqna/v1alpha/BUILD.bazel b/googleapis/cloud/data + actual = ":v1alpha", + visibility = ["//visibility:public"], +) +diff -urN a/googleapis/cloud/datastream/v1alpha1/BUILD.bazel b/googleapis/cloud/datastream/v1alpha1/BUILD.bazel +--- a/googleapis/cloud/datastream/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/datastream/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,29 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1alpha1", ++ srcs = [ ++ "datastream.pb.go", ++ "datastream_resources.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/datastream/v1alpha1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/longrunning", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/durationpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v1alpha1", ++ visibility = ["//visibility:public"], ++) diff -urN a/googleapis/cloud/dialogflow/cx/v3/BUILD.bazel b/googleapis/cloud/dialogflow/cx/v3/BUILD.bazel ---- a/googleapis/cloud/dialogflow/cx/v3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/dialogflow/cx/v3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/dialogflow/cx/v3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,50 @@ +@@ -0,0 +1,49 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -3303,7 +3685,6 @@ diff -urN a/googleapis/cloud/dialogflow/cx/v3/BUILD.bazel b/googleapis/cloud/dia + "//googleapis/longrunning", + "//googleapis/rpc/status", + "//googleapis/type/latlng", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -3323,7 +3704,7 @@ diff -urN a/googleapis/cloud/dialogflow/cx/v3/BUILD.bazel b/googleapis/cloud/dia + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/dialogflow/cx/v3beta1/BUILD.bazel b/googleapis/cloud/dialogflow/cx/v3beta1/BUILD.bazel ---- a/googleapis/cloud/dialogflow/cx/v3beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/dialogflow/cx/v3beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/dialogflow/cx/v3beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,52 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3379,23 +3760,34 @@ diff -urN a/googleapis/cloud/dialogflow/cx/v3beta1/BUILD.bazel b/googleapis/clou + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/dialogflow/v2/BUILD.bazel b/googleapis/cloud/dialogflow/v2/BUILD.bazel ---- a/googleapis/cloud/dialogflow/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/dialogflow/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/dialogflow/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,42 @@ +@@ -0,0 +1,53 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "dialogflow", + srcs = [ + "agent.pb.go", ++ "answer_record.pb.go", + "audio_config.pb.go", + "context.pb.go", ++ "conversation.pb.go", ++ "conversation_event.pb.go", ++ "conversation_profile.pb.go", ++ "document.pb.go", + "entity_type.pb.go", + "environment.pb.go", ++ "fulfillment.pb.go", ++ "gcs.pb.go", ++ "human_agent_assistant_event.pb.go", + "intent.pb.go", ++ "knowledge_base.pb.go", ++ "participant.pb.go", + "session.pb.go", + "session_entity_type.pb.go", + "validation_result.pb.go", ++ "version.pb.go", + "webhook.pb.go", + ], + importpath = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2", @@ -3405,12 +3797,12 @@ diff -urN a/googleapis/cloud/dialogflow/v2/BUILD.bazel b/googleapis/cloud/dialog + "//googleapis/longrunning", + "//googleapis/rpc/status", + "//googleapis/type/latlng", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/anypb:go_default_library", + "@org_golang_google_protobuf//types/known/durationpb:go_default_library", + "@org_golang_google_protobuf//types/known/emptypb:go_default_library", + "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", @@ -3425,26 +3817,34 @@ diff -urN a/googleapis/cloud/dialogflow/v2/BUILD.bazel b/googleapis/cloud/dialog + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/dialogflow/v2beta1/BUILD.bazel b/googleapis/cloud/dialogflow/v2beta1/BUILD.bazel ---- a/googleapis/cloud/dialogflow/v2beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/dialogflow/v2beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/dialogflow/v2beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,45 @@ +@@ -0,0 +1,53 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "v2beta1", + srcs = [ + "agent.pb.go", ++ "answer_record.pb.go", + "audio_config.pb.go", + "context.pb.go", ++ "conversation.pb.go", ++ "conversation_event.pb.go", ++ "conversation_profile.pb.go", + "document.pb.go", + "entity_type.pb.go", + "environment.pb.go", ++ "fulfillment.pb.go", + "gcs.pb.go", ++ "human_agent_assistant_event.pb.go", + "intent.pb.go", + "knowledge_base.pb.go", ++ "participant.pb.go", + "session.pb.go", + "session_entity_type.pb.go", + "validation_result.pb.go", ++ "version.pb.go", + "webhook.pb.go", + ], + importpath = "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1", @@ -3454,12 +3854,12 @@ diff -urN a/googleapis/cloud/dialogflow/v2beta1/BUILD.bazel b/googleapis/cloud/d + "//googleapis/longrunning", + "//googleapis/rpc/status", + "//googleapis/type/latlng", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/anypb:go_default_library", + "@org_golang_google_protobuf//types/known/durationpb:go_default_library", + "@org_golang_google_protobuf//types/known/emptypb:go_default_library", + "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", @@ -3474,7 +3874,7 @@ diff -urN a/googleapis/cloud/dialogflow/v2beta1/BUILD.bazel b/googleapis/cloud/d + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/documentai/v1/BUILD.bazel b/googleapis/cloud/documentai/v1/BUILD.bazel ---- a/googleapis/cloud/documentai/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/documentai/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/documentai/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,37 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3486,6 +3886,7 @@ diff -urN a/googleapis/cloud/documentai/v1/BUILD.bazel b/googleapis/cloud/docume + "document_io.pb.go", + "document_processor_service.pb.go", + "geometry.pb.go", ++ "operation_metadata.pb.go", + ], + importpath = "google.golang.org/genproto/googleapis/cloud/documentai/v1", + visibility = ["//visibility:public"], @@ -3498,7 +3899,6 @@ diff -urN a/googleapis/cloud/documentai/v1/BUILD.bazel b/googleapis/cloud/docume + "//googleapis/type/datetime", + "//googleapis/type/money", + "//googleapis/type/postaladdress", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -3515,9 +3915,9 @@ diff -urN a/googleapis/cloud/documentai/v1/BUILD.bazel b/googleapis/cloud/docume + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/documentai/v1beta1/BUILD.bazel b/googleapis/cloud/documentai/v1beta1/BUILD.bazel ---- a/googleapis/cloud/documentai/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/documentai/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/documentai/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,31 @@ +@@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -3534,7 +3934,6 @@ diff -urN a/googleapis/cloud/documentai/v1beta1/BUILD.bazel b/googleapis/cloud/d + "//googleapis/longrunning", + "//googleapis/rpc/status", + "//googleapis/type/color", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -3550,9 +3949,9 @@ diff -urN a/googleapis/cloud/documentai/v1beta1/BUILD.bazel b/googleapis/cloud/d + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/documentai/v1beta2/BUILD.bazel b/googleapis/cloud/documentai/v1beta2/BUILD.bazel ---- a/googleapis/cloud/documentai/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/documentai/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/documentai/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,31 @@ +@@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -3569,7 +3968,6 @@ diff -urN a/googleapis/cloud/documentai/v1beta2/BUILD.bazel b/googleapis/cloud/d + "//googleapis/longrunning", + "//googleapis/rpc/status", + "//googleapis/type/color", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -3585,9 +3983,9 @@ diff -urN a/googleapis/cloud/documentai/v1beta2/BUILD.bazel b/googleapis/cloud/d + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/documentai/v1beta3/BUILD.bazel b/googleapis/cloud/documentai/v1beta3/BUILD.bazel ---- a/googleapis/cloud/documentai/v1beta3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/documentai/v1beta3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/documentai/v1beta3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,37 @@ +@@ -0,0 +1,39 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -3597,6 +3995,9 @@ diff -urN a/googleapis/cloud/documentai/v1beta3/BUILD.bazel b/googleapis/cloud/d + "document_io.pb.go", + "document_processor_service.pb.go", + "geometry.pb.go", ++ "operation_metadata.pb.go", ++ "processor.pb.go", ++ "processor_type.pb.go", + ], + importpath = "google.golang.org/genproto/googleapis/cloud/documentai/v1beta3", + visibility = ["//visibility:public"], @@ -3609,7 +4010,6 @@ diff -urN a/googleapis/cloud/documentai/v1beta3/BUILD.bazel b/googleapis/cloud/d + "//googleapis/type/datetime", + "//googleapis/type/money", + "//googleapis/type/postaladdress", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -3626,9 +4026,9 @@ diff -urN a/googleapis/cloud/documentai/v1beta3/BUILD.bazel b/googleapis/cloud/d + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/domains/v1alpha2/BUILD.bazel b/googleapis/cloud/domains/v1alpha2/BUILD.bazel ---- a/googleapis/cloud/domains/v1alpha2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/domains/v1alpha2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/domains/v1alpha2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,28 @@ +@@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -3641,7 +4041,6 @@ diff -urN a/googleapis/cloud/domains/v1alpha2/BUILD.bazel b/googleapis/cloud/dom + "//googleapis/longrunning", + "//googleapis/type/money", + "//googleapis/type/postaladdress", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -3658,9 +4057,9 @@ diff -urN a/googleapis/cloud/domains/v1alpha2/BUILD.bazel b/googleapis/cloud/dom + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/domains/v1beta1/BUILD.bazel b/googleapis/cloud/domains/v1beta1/BUILD.bazel ---- a/googleapis/cloud/domains/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/domains/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/domains/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,28 @@ +@@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -3673,7 +4072,6 @@ diff -urN a/googleapis/cloud/domains/v1beta1/BUILD.bazel b/googleapis/cloud/doma + "//googleapis/longrunning", + "//googleapis/type/money", + "//googleapis/type/postaladdress", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -3689,10 +4087,134 @@ diff -urN a/googleapis/cloud/domains/v1beta1/BUILD.bazel b/googleapis/cloud/doma + actual = ":v1beta1", + visibility = ["//visibility:public"], +) +diff -urN a/googleapis/cloud/essentialcontacts/v1/BUILD.bazel b/googleapis/cloud/essentialcontacts/v1/BUILD.bazel +--- a/googleapis/cloud/essentialcontacts/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/essentialcontacts/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,28 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "essentialcontacts", ++ srcs = [ ++ "enums.pb.go", ++ "service.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/essentialcontacts/v1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/emptypb:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":essentialcontacts", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/eventarc/v1/BUILD.bazel b/googleapis/cloud/eventarc/v1/BUILD.bazel +--- a/googleapis/cloud/eventarc/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/eventarc/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,28 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "eventarc", ++ srcs = [ ++ "eventarc.pb.go", ++ "trigger.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/eventarc/v1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/longrunning", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":eventarc", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/filestore/v1/BUILD.bazel b/googleapis/cloud/filestore/v1/BUILD.bazel +--- a/googleapis/cloud/filestore/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/filestore/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,26 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "filestore", ++ srcs = ["cloud_filestore_service.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/filestore/v1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/longrunning", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ "@org_golang_google_protobuf//types/known/wrapperspb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":filestore", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/filestore/v1beta1/BUILD.bazel b/googleapis/cloud/filestore/v1beta1/BUILD.bazel +--- a/googleapis/cloud/filestore/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/filestore/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,26 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1beta1", ++ srcs = ["cloud_filestore_service.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/filestore/v1beta1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/longrunning", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ "@org_golang_google_protobuf//types/known/wrapperspb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v1beta1", ++ visibility = ["//visibility:public"], ++) diff -urN a/googleapis/cloud/functions/v1/BUILD.bazel b/googleapis/cloud/functions/v1/BUILD.bazel ---- a/googleapis/cloud/functions/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/functions/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/functions/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,32 @@ +@@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -3707,7 +4229,6 @@ diff -urN a/googleapis/cloud/functions/v1/BUILD.bazel b/googleapis/cloud/functio + "//googleapis/api/annotations", + "//googleapis/iam/v1:iam", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -3726,7 +4247,7 @@ diff -urN a/googleapis/cloud/functions/v1/BUILD.bazel b/googleapis/cloud/functio + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/functions/v1beta2/BUILD.bazel b/googleapis/cloud/functions/v1beta2/BUILD.bazel ---- a/googleapis/cloud/functions/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/functions/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/functions/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3760,9 +4281,9 @@ diff -urN a/googleapis/cloud/functions/v1beta2/BUILD.bazel b/googleapis/cloud/fu + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/gaming/v1/BUILD.bazel b/googleapis/cloud/gaming/v1/BUILD.bazel ---- a/googleapis/cloud/gaming/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/gaming/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/gaming/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,37 @@ +@@ -0,0 +1,36 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -3783,7 +4304,6 @@ diff -urN a/googleapis/cloud/gaming/v1/BUILD.bazel b/googleapis/cloud/gaming/v1/ + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -3801,9 +4321,9 @@ diff -urN a/googleapis/cloud/gaming/v1/BUILD.bazel b/googleapis/cloud/gaming/v1/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/gaming/v1beta/BUILD.bazel b/googleapis/cloud/gaming/v1beta/BUILD.bazel ---- a/googleapis/cloud/gaming/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/gaming/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/gaming/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,37 @@ +@@ -0,0 +1,36 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -3824,7 +4344,6 @@ diff -urN a/googleapis/cloud/gaming/v1beta/BUILD.bazel b/googleapis/cloud/gaming + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -3841,236 +4360,707 @@ diff -urN a/googleapis/cloud/gaming/v1beta/BUILD.bazel b/googleapis/cloud/gaming + actual = ":v1beta", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/gkehub/v1alpha2/BUILD.bazel b/googleapis/cloud/gkehub/v1alpha2/BUILD.bazel ---- a/googleapis/cloud/gkehub/v1alpha2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/gkehub/v1alpha2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +diff -urN a/googleapis/cloud/gkeconnect/gateway/v1/BUILD.bazel b/googleapis/cloud/gkeconnect/gateway/v1/BUILD.bazel +--- a/googleapis/cloud/gkeconnect/gateway/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/gkeconnect/gateway/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "v1alpha2", -+ srcs = ["membership.pb.go"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/v1alpha2", ++ name = "gateway", ++ srcs = ["gateway.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkeconnect/gateway/v1", + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", ++ "//googleapis/api/httpbody", + "@org_golang_google_grpc//:go_default_library", -+ "@org_golang_google_grpc//codes:go_default_library", -+ "@org_golang_google_grpc//status:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", -+ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", -+ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", + ], +) + +alias( + name = "go_default_library", -+ actual = ":v1alpha2", ++ actual = ":gateway", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/gkehub/v1beta1/BUILD.bazel b/googleapis/cloud/gkehub/v1beta1/BUILD.bazel ---- a/googleapis/cloud/gkehub/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/gkehub/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,27 @@ +diff -urN a/googleapis/cloud/gkeconnect/gateway/v1alpha1/BUILD.bazel b/googleapis/cloud/gkeconnect/gateway/v1alpha1/BUILD.bazel +--- a/googleapis/cloud/gkeconnect/gateway/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/gkeconnect/gateway/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "v1beta1", -+ srcs = ["membership.pb.go"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/v1beta1", ++ name = "v1alpha1", ++ srcs = ["gateway.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkeconnect/gateway/v1alpha1", + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "//googleapis/longrunning", -+ "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", ++ "//googleapis/api/httpbody", + "@org_golang_google_grpc//:go_default_library", -+ "@org_golang_google_grpc//codes:go_default_library", -+ "@org_golang_google_grpc//status:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", -+ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", -+ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", + ], +) + +alias( + name = "go_default_library", -+ actual = ":v1beta1", ++ actual = ":v1alpha1", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/gsuiteaddons/v1/BUILD.bazel b/googleapis/cloud/gsuiteaddons/v1/BUILD.bazel ---- a/googleapis/cloud/gsuiteaddons/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/gsuiteaddons/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,32 @@ +diff -urN a/googleapis/cloud/gkeconnect/gateway/v1beta1/BUILD.bazel b/googleapis/cloud/gkeconnect/gateway/v1beta1/BUILD.bazel +--- a/googleapis/cloud/gkeconnect/gateway/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/gkeconnect/gateway/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "gsuiteaddons", -+ srcs = ["gsuiteaddons.pb.go"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/gsuiteaddons/v1", ++ name = "v1beta1", ++ srcs = ["gateway.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkeconnect/gateway/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "//googleapis/apps/script/type", -+ "//googleapis/apps/script/type/calendar", -+ "//googleapis/apps/script/type/docs", -+ "//googleapis/apps/script/type/drive", -+ "//googleapis/apps/script/type/gmail", -+ "//googleapis/apps/script/type/sheets", -+ "//googleapis/apps/script/type/slides", -+ "@com_github_golang_protobuf//proto:go_default_library", ++ "//googleapis/api/httpbody", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", -+ "@org_golang_google_protobuf//types/known/emptypb:go_default_library", -+ "@org_golang_google_protobuf//types/known/wrapperspb:go_default_library", + ], +) + +alias( + name = "go_default_library", -+ actual = ":gsuiteaddons", ++ actual = ":v1beta1", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/iot/v1/BUILD.bazel b/googleapis/cloud/iot/v1/BUILD.bazel ---- a/googleapis/cloud/iot/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/iot/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,31 @@ +diff -urN a/googleapis/cloud/gkehub/cloudauditlogging/v1alpha/BUILD.bazel b/googleapis/cloud/gkehub/cloudauditlogging/v1alpha/BUILD.bazel +--- a/googleapis/cloud/gkehub/cloudauditlogging/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/gkehub/cloudauditlogging/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "iot", -+ srcs = [ -+ "device_manager.pb.go", -+ "resources.pb.go", -+ ], -+ importpath = "google.golang.org/genproto/googleapis/cloud/iot/v1", ++ name = "v1alpha", ++ srcs = ["cloudauditlogging.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/cloudauditlogging/v1alpha", + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "//googleapis/iam/v1:iam", -+ "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", -+ "@org_golang_google_grpc//:go_default_library", -+ "@org_golang_google_grpc//codes:go_default_library", -+ "@org_golang_google_grpc//status:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", -+ "@org_golang_google_protobuf//types/known/emptypb:go_default_library", -+ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", -+ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", + ], +) + +alias( + name = "go_default_library", -+ actual = ":iot", ++ actual = ":v1alpha", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/irm/v1alpha2/BUILD.bazel b/googleapis/cloud/irm/v1alpha2/BUILD.bazel ---- a/googleapis/cloud/irm/v1alpha2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/irm/v1alpha2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,29 @@ +diff -urN a/googleapis/cloud/gkehub/configmanagement/v1/BUILD.bazel b/googleapis/cloud/gkehub/configmanagement/v1/BUILD.bazel +--- a/googleapis/cloud/gkehub/configmanagement/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/gkehub/configmanagement/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "v1alpha2", -+ srcs = [ -+ "incidents.pb.go", -+ "incidents_service.pb.go", -+ ], -+ importpath = "google.golang.org/genproto/googleapis/cloud/irm/v1alpha2", ++ name = "configmanagement", ++ srcs = ["configmanagement.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/configmanagement/v1", + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "//protobuf/field_mask", -+ "@com_github_golang_protobuf//proto:go_default_library", -+ "@com_github_golang_protobuf//ptypes/empty:go_default_library", -+ "@com_github_golang_protobuf//ptypes/timestamp:go_default_library", -+ "@org_golang_google_grpc//:go_default_library", -+ "@org_golang_google_grpc//codes:go_default_library", -+ "@org_golang_google_grpc//status:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", + ], +) + +alias( + name = "go_default_library", -+ actual = ":v1alpha2", ++ actual = ":configmanagement", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/kms/v1/BUILD.bazel b/googleapis/cloud/kms/v1/BUILD.bazel ---- a/googleapis/cloud/kms/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/kms/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,30 @@ +diff -urN a/googleapis/cloud/gkehub/configmanagement/v1alpha/BUILD.bazel b/googleapis/cloud/gkehub/configmanagement/v1alpha/BUILD.bazel +--- a/googleapis/cloud/gkehub/configmanagement/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/gkehub/configmanagement/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "kms", -+ srcs = [ -+ "resources.pb.go", -+ "service.pb.go", -+ ], -+ importpath = "google.golang.org/genproto/googleapis/cloud/kms/v1", ++ name = "v1alpha", ++ srcs = ["configmanagement.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/configmanagement/v1alpha", + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", -+ "@org_golang_google_grpc//:go_default_library", -+ "@org_golang_google_grpc//codes:go_default_library", -+ "@org_golang_google_grpc//status:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", -+ "@org_golang_google_protobuf//types/known/durationpb:go_default_library", -+ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", + "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", -+ "@org_golang_google_protobuf//types/known/wrapperspb:go_default_library", + ], +) + +alias( + name = "go_default_library", -+ actual = ":kms", ++ actual = ":v1alpha", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/language/v1/BUILD.bazel b/googleapis/cloud/language/v1/BUILD.bazel ---- a/googleapis/cloud/language/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/language/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,23 @@ +diff -urN a/googleapis/cloud/gkehub/configmanagement/v1beta/BUILD.bazel b/googleapis/cloud/gkehub/configmanagement/v1beta/BUILD.bazel +--- a/googleapis/cloud/gkehub/configmanagement/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/gkehub/configmanagement/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "language", -+ srcs = ["language_service.pb.go"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/language/v1", ++ name = "v1beta", ++ srcs = ["configmanagement.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/configmanagement/v1beta", + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", -+ "@org_golang_google_grpc//:go_default_library", -+ "@org_golang_google_grpc//codes:go_default_library", -+ "@org_golang_google_grpc//status:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", + ], +) + +alias( + name = "go_default_library", -+ actual = ":language", ++ actual = ":v1beta", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/language/v1beta1/BUILD.bazel b/googleapis/cloud/language/v1beta1/BUILD.bazel ---- a/googleapis/cloud/language/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/language/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,23 @@ +diff -urN a/googleapis/cloud/gkehub/metering/v1alpha/BUILD.bazel b/googleapis/cloud/gkehub/metering/v1alpha/BUILD.bazel +--- a/googleapis/cloud/gkehub/metering/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/gkehub/metering/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,20 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1alpha", ++ srcs = ["metering.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/metering/v1alpha", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v1alpha", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/gkehub/metering/v1beta/BUILD.bazel b/googleapis/cloud/gkehub/metering/v1beta/BUILD.bazel +--- a/googleapis/cloud/gkehub/metering/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/gkehub/metering/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,20 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1beta", ++ srcs = ["metering.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/metering/v1beta", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v1beta", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/gkehub/multiclusteringress/v1/BUILD.bazel b/googleapis/cloud/gkehub/multiclusteringress/v1/BUILD.bazel +--- a/googleapis/cloud/gkehub/multiclusteringress/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/gkehub/multiclusteringress/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,19 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "multiclusteringress", ++ srcs = ["multiclusteringress.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/multiclusteringress/v1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":multiclusteringress", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/gkehub/multiclusteringress/v1alpha/BUILD.bazel b/googleapis/cloud/gkehub/multiclusteringress/v1alpha/BUILD.bazel +--- a/googleapis/cloud/gkehub/multiclusteringress/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/gkehub/multiclusteringress/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,19 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1alpha", ++ srcs = ["multiclusteringress.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/multiclusteringress/v1alpha", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v1alpha", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/gkehub/multiclusteringress/v1beta/BUILD.bazel b/googleapis/cloud/gkehub/multiclusteringress/v1beta/BUILD.bazel +--- a/googleapis/cloud/gkehub/multiclusteringress/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/gkehub/multiclusteringress/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,19 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1beta", ++ srcs = ["multiclusteringress.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/multiclusteringress/v1beta", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v1beta", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/gkehub/servicemesh/v1alpha/BUILD.bazel b/googleapis/cloud/gkehub/servicemesh/v1alpha/BUILD.bazel +--- a/googleapis/cloud/gkehub/servicemesh/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/gkehub/servicemesh/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,20 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1alpha", ++ srcs = ["servicemesh.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/servicemesh/v1alpha", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/structpb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v1alpha", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/gkehub/v1/BUILD.bazel b/googleapis/cloud/gkehub/v1/BUILD.bazel +--- a/googleapis/cloud/gkehub/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/gkehub/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,31 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "gkehub", ++ srcs = [ ++ "feature.pb.go", ++ "membership.pb.go", ++ "service.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/v1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/cloud/gkehub/configmanagement/v1:configmanagement", ++ "//googleapis/cloud/gkehub/multiclusteringress/v1:multiclusteringress", ++ "//googleapis/longrunning", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":gkehub", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/gkehub/v1alpha/BUILD.bazel b/googleapis/cloud/gkehub/v1alpha/BUILD.bazel +--- a/googleapis/cloud/gkehub/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/gkehub/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,33 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1alpha", ++ srcs = [ ++ "feature.pb.go", ++ "service.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/v1alpha", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/cloud/gkehub/cloudauditlogging/v1alpha", ++ "//googleapis/cloud/gkehub/configmanagement/v1alpha", ++ "//googleapis/cloud/gkehub/metering/v1alpha", ++ "//googleapis/cloud/gkehub/multiclusteringress/v1alpha", ++ "//googleapis/cloud/gkehub/servicemesh/v1alpha", ++ "//googleapis/longrunning", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v1alpha", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/gkehub/v1alpha2/BUILD.bazel b/googleapis/cloud/gkehub/v1alpha2/BUILD.bazel +--- a/googleapis/cloud/gkehub/v1alpha2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/gkehub/v1alpha2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,25 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1alpha2", ++ srcs = ["membership.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/v1alpha2", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/longrunning", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v1alpha2", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/gkehub/v1beta/BUILD.bazel b/googleapis/cloud/gkehub/v1beta/BUILD.bazel +--- a/googleapis/cloud/gkehub/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/gkehub/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,31 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1beta", ++ srcs = [ ++ "feature.pb.go", ++ "service.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/v1beta", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/cloud/gkehub/configmanagement/v1beta", ++ "//googleapis/cloud/gkehub/metering/v1beta", ++ "//googleapis/cloud/gkehub/multiclusteringress/v1beta", ++ "//googleapis/longrunning", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v1beta", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/gkehub/v1beta1/BUILD.bazel b/googleapis/cloud/gkehub/v1beta1/BUILD.bazel +--- a/googleapis/cloud/gkehub/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/gkehub/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,26 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1beta1", ++ srcs = ["membership.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/gkehub/v1beta1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/longrunning", ++ "//googleapis/rpc/status", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v1beta1", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/gsuiteaddons/v1/BUILD.bazel b/googleapis/cloud/gsuiteaddons/v1/BUILD.bazel +--- a/googleapis/cloud/gsuiteaddons/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/gsuiteaddons/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,31 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "gsuiteaddons", ++ srcs = ["gsuiteaddons.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/gsuiteaddons/v1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/apps/script/type", ++ "//googleapis/apps/script/type/calendar", ++ "//googleapis/apps/script/type/docs", ++ "//googleapis/apps/script/type/drive", ++ "//googleapis/apps/script/type/gmail", ++ "//googleapis/apps/script/type/sheets", ++ "//googleapis/apps/script/type/slides", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/emptypb:go_default_library", ++ "@org_golang_google_protobuf//types/known/wrapperspb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":gsuiteaddons", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/iap/v1/BUILD.bazel b/googleapis/cloud/iap/v1/BUILD.bazel +--- a/googleapis/cloud/iap/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/iap/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,26 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "iap", ++ srcs = ["service.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/iap/v1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/iam/v1:iam", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/emptypb:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/wrapperspb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":iap", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/iap/v1beta1/BUILD.bazel b/googleapis/cloud/iap/v1beta1/BUILD.bazel +--- a/googleapis/cloud/iap/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/iap/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,23 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1beta1", ++ srcs = ["service.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/iap/v1beta1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/iam/v1:iam", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v1beta1", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/iot/v1/BUILD.bazel b/googleapis/cloud/iot/v1/BUILD.bazel +--- a/googleapis/cloud/iot/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/iot/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,30 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "iot", ++ srcs = [ ++ "device_manager.pb.go", ++ "resources.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/iot/v1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/iam/v1:iam", ++ "//googleapis/rpc/status", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/emptypb:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":iot", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/irm/v1alpha2/BUILD.bazel b/googleapis/cloud/irm/v1alpha2/BUILD.bazel +--- a/googleapis/cloud/irm/v1alpha2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/irm/v1alpha2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,29 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1alpha2", ++ srcs = [ ++ "incidents.pb.go", ++ "incidents_service.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/irm/v1alpha2", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//protobuf/field_mask", ++ "@com_github_golang_protobuf//proto:go_default_library", ++ "@com_github_golang_protobuf//ptypes/empty:go_default_library", ++ "@com_github_golang_protobuf//ptypes/timestamp:go_default_library", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v1alpha2", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/kms/v1/BUILD.bazel b/googleapis/cloud/kms/v1/BUILD.bazel +--- a/googleapis/cloud/kms/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/kms/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,29 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "kms", ++ srcs = [ ++ "resources.pb.go", ++ "service.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/kms/v1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/durationpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ "@org_golang_google_protobuf//types/known/wrapperspb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":kms", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/language/v1/BUILD.bazel b/googleapis/cloud/language/v1/BUILD.bazel +--- a/googleapis/cloud/language/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/language/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,22 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "language", ++ srcs = ["language_service.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/language/v1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":language", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/language/v1beta1/BUILD.bazel b/googleapis/cloud/language/v1beta1/BUILD.bazel +--- a/googleapis/cloud/language/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/language/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -4080,7 +5070,6 @@ diff -urN a/googleapis/cloud/language/v1beta1/BUILD.bazel b/googleapis/cloud/lan + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -4095,9 +5084,9 @@ diff -urN a/googleapis/cloud/language/v1beta1/BUILD.bazel b/googleapis/cloud/lan + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/language/v1beta2/BUILD.bazel b/googleapis/cloud/language/v1beta2/BUILD.bazel ---- a/googleapis/cloud/language/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/language/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/language/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,24 @@ +@@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -4107,7 +5096,6 @@ diff -urN a/googleapis/cloud/language/v1beta2/BUILD.bazel b/googleapis/cloud/lan + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -4122,52 +5110,276 @@ diff -urN a/googleapis/cloud/language/v1beta2/BUILD.bazel b/googleapis/cloud/lan + actual = ":v1beta2", + visibility = ["//visibility:public"], +) +diff -urN a/googleapis/cloud/lifesciences/v2beta/BUILD.bazel b/googleapis/cloud/lifesciences/v2beta/BUILD.bazel +--- a/googleapis/cloud/lifesciences/v2beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/lifesciences/v2beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,26 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v2beta", ++ srcs = ["workflows.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/lifesciences/v2beta", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/longrunning", ++ "//googleapis/rpc/code", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/durationpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v2beta", ++ visibility = ["//visibility:public"], ++) diff -urN a/googleapis/cloud/location/BUILD.bazel b/googleapis/cloud/location/BUILD.bazel ---- a/googleapis/cloud/location/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/location/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/location/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,24 @@ +@@ -0,0 +1,23 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "location", ++ srcs = ["locations.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/location", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/anypb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":location", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/managedidentities/v1/BUILD.bazel b/googleapis/cloud/managedidentities/v1/BUILD.bazel +--- a/googleapis/cloud/managedidentities/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/managedidentities/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,28 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "managedidentities", ++ srcs = [ ++ "managed_identities_service.pb.go", ++ "resource.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/managedidentities/v1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/longrunning", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":managedidentities", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/managedidentities/v1beta1/BUILD.bazel b/googleapis/cloud/managedidentities/v1beta1/BUILD.bazel +--- a/googleapis/cloud/managedidentities/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/managedidentities/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,28 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1beta1", ++ srcs = [ ++ "managed_identities_service.pb.go", ++ "resource.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/managedidentities/v1beta1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/longrunning", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v1beta1", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/mediatranslation/v1alpha1/BUILD.bazel b/googleapis/cloud/mediatranslation/v1alpha1/BUILD.bazel +--- a/googleapis/cloud/mediatranslation/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/mediatranslation/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,23 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1alpha1", ++ srcs = ["media_translation.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/mediatranslation/v1alpha1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/rpc/status", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v1alpha1", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/mediatranslation/v1beta1/BUILD.bazel b/googleapis/cloud/mediatranslation/v1beta1/BUILD.bazel +--- a/googleapis/cloud/mediatranslation/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/mediatranslation/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,23 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1beta1", ++ srcs = ["media_translation.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/mediatranslation/v1beta1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/rpc/status", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v1beta1", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/memcache/v1/BUILD.bazel b/googleapis/cloud/memcache/v1/BUILD.bazel +--- a/googleapis/cloud/memcache/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/memcache/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,25 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "memcache", ++ srcs = ["cloud_memcache.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/memcache/v1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/longrunning", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":memcache", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/memcache/v1beta2/BUILD.bazel b/googleapis/cloud/memcache/v1beta2/BUILD.bazel +--- a/googleapis/cloud/memcache/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/memcache/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,25 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1beta2", ++ srcs = ["cloud_memcache.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/memcache/v1beta2", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/longrunning", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v1beta2", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/metastore/logging/v1/BUILD.bazel b/googleapis/cloud/metastore/logging/v1/BUILD.bazel +--- a/googleapis/cloud/metastore/logging/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/metastore/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "location", -+ srcs = ["locations.pb.go"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/location", ++ name = "logging", ++ srcs = ["log_streams.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/metastore/logging/v1", + visibility = ["//visibility:public"], + deps = [ -+ "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", -+ "@org_golang_google_grpc//:go_default_library", -+ "@org_golang_google_grpc//codes:go_default_library", -+ "@org_golang_google_grpc//status:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", -+ "@org_golang_google_protobuf//types/known/anypb:go_default_library", + ], +) + +alias( + name = "go_default_library", -+ actual = ":location", ++ actual = ":logging", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/managedidentities/v1/BUILD.bazel b/googleapis/cloud/managedidentities/v1/BUILD.bazel ---- a/googleapis/cloud/managedidentities/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/managedidentities/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,29 @@ +diff -urN a/googleapis/cloud/metastore/v1/BUILD.bazel b/googleapis/cloud/metastore/v1/BUILD.bazel +--- a/googleapis/cloud/metastore/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/metastore/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "managedidentities", -+ srcs = [ -+ "managed_identities_service.pb.go", -+ "resource.pb.go", -+ ], -+ importpath = "google.golang.org/genproto/googleapis/cloud/managedidentities/v1", ++ name = "metastore", ++ srcs = ["metastore.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/metastore/v1", + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", ++ "//googleapis/type/dayofweek", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -4175,32 +5387,30 @@ diff -urN a/googleapis/cloud/managedidentities/v1/BUILD.bazel b/googleapis/cloud + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", + "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ "@org_golang_google_protobuf//types/known/wrapperspb:go_default_library", + ], +) + +alias( + name = "go_default_library", -+ actual = ":managedidentities", ++ actual = ":metastore", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/managedidentities/v1beta1/BUILD.bazel b/googleapis/cloud/managedidentities/v1beta1/BUILD.bazel ---- a/googleapis/cloud/managedidentities/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/managedidentities/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,29 @@ +diff -urN a/googleapis/cloud/metastore/v1alpha/BUILD.bazel b/googleapis/cloud/metastore/v1alpha/BUILD.bazel +--- a/googleapis/cloud/metastore/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/metastore/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "v1beta1", -+ srcs = [ -+ "managed_identities_service.pb.go", -+ "resource.pb.go", -+ ], -+ importpath = "google.golang.org/genproto/googleapis/cloud/managedidentities/v1beta1", ++ name = "v1alpha", ++ srcs = ["metastore.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/metastore/v1alpha", + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", ++ "//googleapis/type/dayofweek", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -4208,85 +5418,100 @@ diff -urN a/googleapis/cloud/managedidentities/v1beta1/BUILD.bazel b/googleapis/ + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", + "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ "@org_golang_google_protobuf//types/known/wrapperspb:go_default_library", + ], +) + +alias( + name = "go_default_library", -+ actual = ":v1beta1", ++ actual = ":v1alpha", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/mediatranslation/v1alpha1/BUILD.bazel b/googleapis/cloud/mediatranslation/v1alpha1/BUILD.bazel ---- a/googleapis/cloud/mediatranslation/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/mediatranslation/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,24 @@ +diff -urN a/googleapis/cloud/metastore/v1beta/BUILD.bazel b/googleapis/cloud/metastore/v1beta/BUILD.bazel +--- a/googleapis/cloud/metastore/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/metastore/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "v1alpha1", -+ srcs = ["media_translation.pb.go"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/mediatranslation/v1alpha1", ++ name = "v1beta", ++ srcs = ["metastore.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/metastore/v1beta", + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", ++ "//googleapis/longrunning", ++ "//googleapis/type/dayofweek", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ "@org_golang_google_protobuf//types/known/wrapperspb:go_default_library", + ], +) + +alias( + name = "go_default_library", -+ actual = ":v1alpha1", ++ actual = ":v1beta", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/mediatranslation/v1beta1/BUILD.bazel b/googleapis/cloud/mediatranslation/v1beta1/BUILD.bazel ---- a/googleapis/cloud/mediatranslation/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/mediatranslation/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,24 @@ +diff -urN a/googleapis/cloud/ml/v1/BUILD.bazel b/googleapis/cloud/ml/v1/BUILD.bazel +--- a/googleapis/cloud/ml/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/ml/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "v1beta1", -+ srcs = ["media_translation.pb.go"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/mediatranslation/v1beta1", ++ name = "ml", ++ srcs = [ ++ "job_service.pb.go", ++ "model_service.pb.go", ++ "operation_metadata.pb.go", ++ "prediction_service.pb.go", ++ "project_service.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/ml/v1", + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", ++ "//googleapis/api/httpbody", ++ "//googleapis/api/serviceconfig", ++ "//googleapis/longrunning", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/emptypb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", + ], +) + +alias( + name = "go_default_library", -+ actual = ":v1beta1", ++ actual = ":ml", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/memcache/v1/BUILD.bazel b/googleapis/cloud/memcache/v1/BUILD.bazel ---- a/googleapis/cloud/memcache/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/memcache/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +diff -urN a/googleapis/cloud/networkconnectivity/v1alpha1/BUILD.bazel b/googleapis/cloud/networkconnectivity/v1alpha1/BUILD.bazel +--- a/googleapis/cloud/networkconnectivity/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/networkconnectivity/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "memcache", -+ srcs = ["cloud_memcache.pb.go"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/memcache/v1", ++ name = "v1alpha1", ++ srcs = [ ++ "common.pb.go", ++ "hub.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/networkconnectivity/v1alpha1", + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -4299,24 +5524,28 @@ diff -urN a/googleapis/cloud/memcache/v1/BUILD.bazel b/googleapis/cloud/memcache + +alias( + name = "go_default_library", -+ actual = ":memcache", ++ actual = ":v1alpha1", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/memcache/v1beta2/BUILD.bazel b/googleapis/cloud/memcache/v1beta2/BUILD.bazel ---- a/googleapis/cloud/memcache/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/memcache/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +diff -urN a/googleapis/cloud/networkmanagement/v1/BUILD.bazel b/googleapis/cloud/networkmanagement/v1/BUILD.bazel +--- a/googleapis/cloud/networkmanagement/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/networkmanagement/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "v1beta2", -+ srcs = ["cloud_memcache.pb.go"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/memcache/v1beta2", ++ name = "networkmanagement", ++ srcs = [ ++ "connectivity_test.pb.go", ++ "reachability.pb.go", ++ "trace.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/networkmanagement/v1", + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", ++ "//googleapis/rpc/status", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -4329,47 +5558,64 @@ diff -urN a/googleapis/cloud/memcache/v1beta2/BUILD.bazel b/googleapis/cloud/mem + +alias( + name = "go_default_library", -+ actual = ":v1beta2", ++ actual = ":networkmanagement", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/metastore/logging/v1/BUILD.bazel b/googleapis/cloud/metastore/logging/v1/BUILD.bazel ---- a/googleapis/cloud/metastore/logging/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/metastore/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +diff -urN a/googleapis/cloud/networkmanagement/v1beta1/BUILD.bazel b/googleapis/cloud/networkmanagement/v1beta1/BUILD.bazel +--- a/googleapis/cloud/networkmanagement/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/networkmanagement/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "logging", -+ srcs = ["log_streams.pb.go"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/metastore/logging/v1", ++ name = "v1beta1", ++ srcs = [ ++ "connectivity_test.pb.go", ++ "reachability.pb.go", ++ "trace.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/networkmanagement/v1beta1", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", ++ "//googleapis/api/annotations", ++ "//googleapis/longrunning", ++ "//googleapis/rpc/status", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", + ], +) + +alias( + name = "go_default_library", -+ actual = ":logging", ++ actual = ":v1beta1", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/metastore/v1alpha/BUILD.bazel b/googleapis/cloud/metastore/v1alpha/BUILD.bazel ---- a/googleapis/cloud/metastore/v1alpha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/metastore/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +diff -urN a/googleapis/cloud/networksecurity/v1beta1/BUILD.bazel b/googleapis/cloud/networksecurity/v1beta1/BUILD.bazel +--- a/googleapis/cloud/networksecurity/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/networksecurity/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,32 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "v1alpha", -+ srcs = ["metastore.pb.go"], -+ importpath = "google.golang.org/genproto/googleapis/cloud/metastore/v1alpha", ++ name = "v1beta1", ++ srcs = [ ++ "authorization_policy.pb.go", ++ "client_tls_policy.pb.go", ++ "common.pb.go", ++ "network_security.pb.go", ++ "server_tls_policy.pb.go", ++ "tls.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/networksecurity/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -4382,65 +5628,60 @@ diff -urN a/googleapis/cloud/metastore/v1alpha/BUILD.bazel b/googleapis/cloud/me + +alias( + name = "go_default_library", -+ actual = ":v1alpha", ++ actual = ":v1beta1", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/ml/v1/BUILD.bazel b/googleapis/cloud/ml/v1/BUILD.bazel ---- a/googleapis/cloud/ml/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/ml/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,34 @@ +diff -urN a/googleapis/cloud/notebooks/v1beta1/BUILD.bazel b/googleapis/cloud/notebooks/v1beta1/BUILD.bazel +--- a/googleapis/cloud/notebooks/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/notebooks/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "ml", ++ name = "v1beta1", + srcs = [ -+ "job_service.pb.go", -+ "model_service.pb.go", -+ "operation_metadata.pb.go", -+ "prediction_service.pb.go", -+ "project_service.pb.go", ++ "environment.pb.go", ++ "instance.pb.go", ++ "service.pb.go", + ], -+ importpath = "google.golang.org/genproto/googleapis/cloud/ml/v1", ++ importpath = "google.golang.org/genproto/googleapis/cloud/notebooks/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "//googleapis/api/httpbody", -+ "//googleapis/api/serviceconfig", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", -+ "@org_golang_google_protobuf//types/known/emptypb:go_default_library", + "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", + ], +) + +alias( + name = "go_default_library", -+ actual = ":ml", ++ actual = ":v1beta1", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/networkconnectivity/v1alpha1/BUILD.bazel b/googleapis/cloud/networkconnectivity/v1alpha1/BUILD.bazel ---- a/googleapis/cloud/networkconnectivity/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/networkconnectivity/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,29 @@ +diff -urN a/googleapis/cloud/orchestration/airflow/service/v1/BUILD.bazel b/googleapis/cloud/orchestration/airflow/service/v1/BUILD.bazel +--- a/googleapis/cloud/orchestration/airflow/service/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/orchestration/airflow/service/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "v1alpha1", ++ name = "service", + srcs = [ -+ "common.pb.go", -+ "hub.pb.go", ++ "environments.pb.go", ++ "image_versions.pb.go", ++ "operations.pb.go", + ], -+ importpath = "google.golang.org/genproto/googleapis/cloud/networkconnectivity/v1alpha1", ++ importpath = "google.golang.org/genproto/googleapis/cloud/orchestration/airflow/service/v1", + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", ++ "//googleapis/type/date", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -4453,33 +5694,34 @@ diff -urN a/googleapis/cloud/networkconnectivity/v1alpha1/BUILD.bazel b/googleap + +alias( + name = "go_default_library", -+ actual = ":v1alpha1", ++ actual = ":service", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/notebooks/v1beta1/BUILD.bazel b/googleapis/cloud/notebooks/v1beta1/BUILD.bazel ---- a/googleapis/cloud/notebooks/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/notebooks/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,29 @@ +diff -urN a/googleapis/cloud/orchestration/airflow/service/v1beta1/BUILD.bazel b/googleapis/cloud/orchestration/airflow/service/v1beta1/BUILD.bazel +--- a/googleapis/cloud/orchestration/airflow/service/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/orchestration/airflow/service/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "v1beta1", + srcs = [ -+ "environment.pb.go", -+ "instance.pb.go", -+ "service.pb.go", ++ "environments.pb.go", ++ "image_versions.pb.go", ++ "operations.pb.go", + ], -+ importpath = "google.golang.org/genproto/googleapis/cloud/notebooks/v1beta1", ++ importpath = "google.golang.org/genproto/googleapis/cloud/orchestration/airflow/service/v1beta1", + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", ++ "//googleapis/type/date", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", + "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", + ], +) @@ -4490,9 +5732,9 @@ diff -urN a/googleapis/cloud/notebooks/v1beta1/BUILD.bazel b/googleapis/cloud/no + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/orgpolicy/v1/BUILD.bazel b/googleapis/cloud/orgpolicy/v1/BUILD.bazel ---- a/googleapis/cloud/orgpolicy/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/orgpolicy/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/orgpolicy/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,22 @@ +@@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -4502,7 +5744,6 @@ diff -urN a/googleapis/cloud/orgpolicy/v1/BUILD.bazel b/googleapis/cloud/orgpoli + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/emptypb:go_default_library", @@ -4516,9 +5757,9 @@ diff -urN a/googleapis/cloud/orgpolicy/v1/BUILD.bazel b/googleapis/cloud/orgpoli + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/orgpolicy/v2/BUILD.bazel b/googleapis/cloud/orgpolicy/v2/BUILD.bazel ---- a/googleapis/cloud/orgpolicy/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/orgpolicy/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/orgpolicy/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,29 @@ +@@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -4532,7 +5773,6 @@ diff -urN a/googleapis/cloud/orgpolicy/v2/BUILD.bazel b/googleapis/cloud/orgpoli + deps = [ + "//googleapis/api/annotations", + "//googleapis/type/expr", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -4549,9 +5789,9 @@ diff -urN a/googleapis/cloud/orgpolicy/v2/BUILD.bazel b/googleapis/cloud/orgpoli + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/osconfig/agentendpoint/v1/BUILD.bazel b/googleapis/cloud/osconfig/agentendpoint/v1/BUILD.bazel ---- a/googleapis/cloud/osconfig/agentendpoint/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/osconfig/agentendpoint/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/osconfig/agentendpoint/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,31 @@ +@@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -4568,7 +5808,6 @@ diff -urN a/googleapis/cloud/osconfig/agentendpoint/v1/BUILD.bazel b/googleapis/ + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -4584,9 +5823,9 @@ diff -urN a/googleapis/cloud/osconfig/agentendpoint/v1/BUILD.bazel b/googleapis/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel b/googleapis/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel ---- a/googleapis/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,28 @@ +@@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -4601,7 +5840,6 @@ diff -urN a/googleapis/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel b/googlea + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -4612,52 +5850,90 @@ diff -urN a/googleapis/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel b/googlea + +alias( + name = "go_default_library", -+ actual = ":v1beta", ++ actual = ":v1beta", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/osconfig/v1/BUILD.bazel b/googleapis/cloud/osconfig/v1/BUILD.bazel +--- a/googleapis/cloud/osconfig/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/osconfig/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,34 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "osconfig", ++ srcs = [ ++ "inventory.pb.go", ++ "osconfig_common.pb.go", ++ "osconfig_service.pb.go", ++ "patch_deployments.pb.go", ++ "patch_jobs.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/osconfig/v1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/type/datetime", ++ "//googleapis/type/dayofweek", ++ "//googleapis/type/timeofday", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/durationpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/emptypb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":osconfig", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/osconfig/v1/BUILD.bazel b/googleapis/cloud/osconfig/v1/BUILD.bazel ---- a/googleapis/cloud/osconfig/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/osconfig/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +diff -urN a/googleapis/cloud/osconfig/v1alpha/BUILD.bazel b/googleapis/cloud/osconfig/v1alpha/BUILD.bazel +--- a/googleapis/cloud/osconfig/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/osconfig/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "osconfig", ++ name = "v1alpha", + srcs = [ ++ "config_common.pb.go", ++ "instance_os_policies_compliance.pb.go", + "inventory.pb.go", ++ "os_policy.pb.go", ++ "os_policy_assignments.pb.go", + "osconfig_common.pb.go", -+ "osconfig_service.pb.go", -+ "patch_deployments.pb.go", -+ "patch_jobs.pb.go", ++ "osconfig_zonal_service.pb.go", ++ "vulnerability.pb.go", + ], -+ importpath = "google.golang.org/genproto/googleapis/cloud/osconfig/v1", ++ importpath = "google.golang.org/genproto/googleapis/cloud/osconfig/v1alpha", + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "//googleapis/type/datetime", -+ "//googleapis/type/dayofweek", -+ "//googleapis/type/timeofday", -+ "@com_github_golang_protobuf//proto:go_default_library", ++ "//googleapis/longrunning", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/durationpb:go_default_library", -+ "@org_golang_google_protobuf//types/known/emptypb:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", + "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", + ], +) + +alias( + name = "go_default_library", -+ actual = ":osconfig", ++ actual = ":v1alpha", + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/osconfig/v1beta/BUILD.bazel b/googleapis/cloud/osconfig/v1beta/BUILD.bazel ---- a/googleapis/cloud/osconfig/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/osconfig/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/osconfig/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,35 @@ +@@ -0,0 +1,34 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -4675,7 +5951,6 @@ diff -urN a/googleapis/cloud/osconfig/v1beta/BUILD.bazel b/googleapis/cloud/osco + "//googleapis/type/datetime", + "//googleapis/type/dayofweek", + "//googleapis/type/timeofday", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -4694,9 +5969,9 @@ diff -urN a/googleapis/cloud/osconfig/v1beta/BUILD.bazel b/googleapis/cloud/osco + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/oslogin/common/BUILD.bazel b/googleapis/cloud/oslogin/common/BUILD.bazel ---- a/googleapis/cloud/oslogin/common/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/oslogin/common/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/oslogin/common/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,20 @@ +@@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -4706,7 +5981,6 @@ diff -urN a/googleapis/cloud/oslogin/common/BUILD.bazel b/googleapis/cloud/oslog + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -4718,9 +5992,9 @@ diff -urN a/googleapis/cloud/oslogin/common/BUILD.bazel b/googleapis/cloud/oslog + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/oslogin/v1/BUILD.bazel b/googleapis/cloud/oslogin/v1/BUILD.bazel ---- a/googleapis/cloud/oslogin/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/oslogin/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/oslogin/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +@@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -4731,7 +6005,6 @@ diff -urN a/googleapis/cloud/oslogin/v1/BUILD.bazel b/googleapis/cloud/oslogin/v + deps = [ + "//googleapis/api/annotations", + "//googleapis/cloud/oslogin/common", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -4748,9 +6021,9 @@ diff -urN a/googleapis/cloud/oslogin/v1/BUILD.bazel b/googleapis/cloud/oslogin/v + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/oslogin/v1alpha/BUILD.bazel b/googleapis/cloud/oslogin/v1alpha/BUILD.bazel ---- a/googleapis/cloud/oslogin/v1alpha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/oslogin/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/oslogin/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +@@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -4761,7 +6034,6 @@ diff -urN a/googleapis/cloud/oslogin/v1alpha/BUILD.bazel b/googleapis/cloud/oslo + deps = [ + "//googleapis/api/annotations", + "//googleapis/cloud/oslogin/common", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -4778,9 +6050,9 @@ diff -urN a/googleapis/cloud/oslogin/v1alpha/BUILD.bazel b/googleapis/cloud/oslo + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/oslogin/v1beta/BUILD.bazel b/googleapis/cloud/oslogin/v1beta/BUILD.bazel ---- a/googleapis/cloud/oslogin/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/oslogin/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/oslogin/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +@@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -4791,7 +6063,6 @@ diff -urN a/googleapis/cloud/oslogin/v1beta/BUILD.bazel b/googleapis/cloud/oslog + deps = [ + "//googleapis/api/annotations", + "//googleapis/cloud/oslogin/common", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -4808,9 +6079,9 @@ diff -urN a/googleapis/cloud/oslogin/v1beta/BUILD.bazel b/googleapis/cloud/oslog + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/phishingprotection/v1beta1/BUILD.bazel b/googleapis/cloud/phishingprotection/v1beta1/BUILD.bazel ---- a/googleapis/cloud/phishingprotection/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/phishingprotection/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/phishingprotection/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,23 @@ +@@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -4820,7 +6091,6 @@ diff -urN a/googleapis/cloud/phishingprotection/v1beta1/BUILD.bazel b/googleapis + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -4835,9 +6105,9 @@ diff -urN a/googleapis/cloud/phishingprotection/v1beta1/BUILD.bazel b/googleapis + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/policytroubleshooter/v1/BUILD.bazel b/googleapis/cloud/policytroubleshooter/v1/BUILD.bazel ---- a/googleapis/cloud/policytroubleshooter/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/policytroubleshooter/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/policytroubleshooter/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,28 @@ +@@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -4852,7 +6122,6 @@ diff -urN a/googleapis/cloud/policytroubleshooter/v1/BUILD.bazel b/googleapis/cl + "//googleapis/api/annotations", + "//googleapis/iam/v1:iam", + "//googleapis/type/expr", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -4866,8 +6135,40 @@ diff -urN a/googleapis/cloud/policytroubleshooter/v1/BUILD.bazel b/googleapis/cl + actual = ":policytroubleshooter", + visibility = ["//visibility:public"], +) +diff -urN a/googleapis/cloud/privatecatalog/v1beta1/BUILD.bazel b/googleapis/cloud/privatecatalog/v1beta1/BUILD.bazel +--- a/googleapis/cloud/privatecatalog/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/privatecatalog/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,28 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1beta1", ++ srcs = ["private_catalog.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/privatecatalog/v1beta1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/longrunning", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/anypb:go_default_library", ++ "@org_golang_google_protobuf//types/known/emptypb:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/structpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v1beta1", ++ visibility = ["//visibility:public"], ++) diff -urN a/googleapis/cloud/pubsublite/v1/BUILD.bazel b/googleapis/cloud/pubsublite/v1/BUILD.bazel ---- a/googleapis/cloud/pubsublite/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/pubsublite/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/pubsublite/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,34 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -4886,7 +6187,7 @@ diff -urN a/googleapis/cloud/pubsublite/v1/BUILD.bazel b/googleapis/cloud/pubsub + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", ++ "//googleapis/longrunning", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -4905,9 +6206,9 @@ diff -urN a/googleapis/cloud/pubsublite/v1/BUILD.bazel b/googleapis/cloud/pubsub + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/recaptchaenterprise/v1/BUILD.bazel b/googleapis/cloud/recaptchaenterprise/v1/BUILD.bazel ---- a/googleapis/cloud/recaptchaenterprise/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/recaptchaenterprise/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/recaptchaenterprise/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +@@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -4917,7 +6218,6 @@ diff -urN a/googleapis/cloud/recaptchaenterprise/v1/BUILD.bazel b/googleapis/clo + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -4935,9 +6235,9 @@ diff -urN a/googleapis/cloud/recaptchaenterprise/v1/BUILD.bazel b/googleapis/clo + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/recaptchaenterprise/v1beta1/BUILD.bazel b/googleapis/cloud/recaptchaenterprise/v1beta1/BUILD.bazel ---- a/googleapis/cloud/recaptchaenterprise/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/recaptchaenterprise/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/recaptchaenterprise/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +@@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -4947,7 +6247,6 @@ diff -urN a/googleapis/cloud/recaptchaenterprise/v1beta1/BUILD.bazel b/googleapi + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -4965,7 +6264,7 @@ diff -urN a/googleapis/cloud/recaptchaenterprise/v1beta1/BUILD.bazel b/googleapi + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/recommendationengine/v1beta1/BUILD.bazel b/googleapis/cloud/recommendationengine/v1beta1/BUILD.bazel ---- a/googleapis/cloud/recommendationengine/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/recommendationengine/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/recommendationengine/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -5007,9 +6306,9 @@ diff -urN a/googleapis/cloud/recommendationengine/v1beta1/BUILD.bazel b/googleap + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/recommender/logging/v1/BUILD.bazel b/googleapis/cloud/recommender/logging/v1/BUILD.bazel ---- a/googleapis/cloud/recommender/logging/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/recommender/logging/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/recommender/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,21 @@ +@@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -5020,7 +6319,6 @@ diff -urN a/googleapis/cloud/recommender/logging/v1/BUILD.bazel b/googleapis/clo + deps = [ + "//googleapis/api/annotations", + "//googleapis/cloud/recommender/v1:recommender", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -5032,9 +6330,9 @@ diff -urN a/googleapis/cloud/recommender/logging/v1/BUILD.bazel b/googleapis/clo + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/recommender/logging/v1beta1/BUILD.bazel b/googleapis/cloud/recommender/logging/v1beta1/BUILD.bazel ---- a/googleapis/cloud/recommender/logging/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/recommender/logging/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/recommender/logging/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,21 @@ +@@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -5045,7 +6343,6 @@ diff -urN a/googleapis/cloud/recommender/logging/v1beta1/BUILD.bazel b/googleapi + deps = [ + "//googleapis/api/annotations", + "//googleapis/cloud/recommender/v1beta1", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -5057,9 +6354,9 @@ diff -urN a/googleapis/cloud/recommender/logging/v1beta1/BUILD.bazel b/googleapi + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/recommender/v1/BUILD.bazel b/googleapis/cloud/recommender/v1/BUILD.bazel ---- a/googleapis/cloud/recommender/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/recommender/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/recommender/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,31 @@ +@@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -5074,7 +6371,6 @@ diff -urN a/googleapis/cloud/recommender/v1/BUILD.bazel b/googleapis/cloud/recom + deps = [ + "//googleapis/api/annotations", + "//googleapis/type/money", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -5092,9 +6388,9 @@ diff -urN a/googleapis/cloud/recommender/v1/BUILD.bazel b/googleapis/cloud/recom + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/recommender/v1beta1/BUILD.bazel b/googleapis/cloud/recommender/v1beta1/BUILD.bazel ---- a/googleapis/cloud/recommender/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/recommender/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/recommender/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,31 @@ +@@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -5109,7 +6405,6 @@ diff -urN a/googleapis/cloud/recommender/v1beta1/BUILD.bazel b/googleapis/cloud/ + deps = [ + "//googleapis/api/annotations", + "//googleapis/type/money", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -5127,9 +6422,9 @@ diff -urN a/googleapis/cloud/recommender/v1beta1/BUILD.bazel b/googleapis/cloud/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/redis/v1/BUILD.bazel b/googleapis/cloud/redis/v1/BUILD.bazel ---- a/googleapis/cloud/redis/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/redis/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/redis/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +@@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -5140,7 +6435,6 @@ diff -urN a/googleapis/cloud/redis/v1/BUILD.bazel b/googleapis/cloud/redis/v1/BU + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -5157,9 +6451,9 @@ diff -urN a/googleapis/cloud/redis/v1/BUILD.bazel b/googleapis/cloud/redis/v1/BU + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/redis/v1beta1/BUILD.bazel b/googleapis/cloud/redis/v1beta1/BUILD.bazel ---- a/googleapis/cloud/redis/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/redis/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/redis/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +@@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -5170,7 +6464,6 @@ diff -urN a/googleapis/cloud/redis/v1beta1/BUILD.bazel b/googleapis/cloud/redis/ + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -5187,9 +6480,9 @@ diff -urN a/googleapis/cloud/redis/v1beta1/BUILD.bazel b/googleapis/cloud/redis/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/resourcemanager/v2/BUILD.bazel b/googleapis/cloud/resourcemanager/v2/BUILD.bazel ---- a/googleapis/cloud/resourcemanager/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/resourcemanager/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/resourcemanager/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,27 @@ +@@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -5201,7 +6494,43 @@ diff -urN a/googleapis/cloud/resourcemanager/v2/BUILD.bazel b/googleapis/cloud/r + "//googleapis/api/annotations", + "//googleapis/iam/v1:iam", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":resourcemanager", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/resourcemanager/v3/BUILD.bazel b/googleapis/cloud/resourcemanager/v3/BUILD.bazel +--- a/googleapis/cloud/resourcemanager/v3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/resourcemanager/v3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,33 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "resourcemanager", ++ srcs = [ ++ "folders.pb.go", ++ "organizations.pb.go", ++ "projects.pb.go", ++ "tag_bindings.pb.go", ++ "tag_keys.pb.go", ++ "tag_values.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/resourcemanager/v3", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/iam/v1:iam", ++ "//googleapis/longrunning", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -5218,9 +6547,9 @@ diff -urN a/googleapis/cloud/resourcemanager/v2/BUILD.bazel b/googleapis/cloud/r + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/resourcesettings/v1/BUILD.bazel b/googleapis/cloud/resourcesettings/v1/BUILD.bazel ---- a/googleapis/cloud/resourcesettings/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/resourcesettings/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/resourcesettings/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,25 @@ +@@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -5230,14 +6559,11 @@ diff -urN a/googleapis/cloud/resourcesettings/v1/BUILD.bazel b/googleapis/cloud/ + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", -+ "@org_golang_google_protobuf//types/known/emptypb:go_default_library", -+ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", + ], +) + @@ -5247,9 +6573,9 @@ diff -urN a/googleapis/cloud/resourcesettings/v1/BUILD.bazel b/googleapis/cloud/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/retail/v2/BUILD.bazel b/googleapis/cloud/retail/v2/BUILD.bazel ---- a/googleapis/cloud/retail/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/retail/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/retail/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,42 @@ +@@ -0,0 +1,41 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -5273,7 +6599,6 @@ diff -urN a/googleapis/cloud/retail/v2/BUILD.bazel b/googleapis/cloud/retail/v2/ + "//googleapis/api/httpbody", + "//googleapis/longrunning", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -5293,7 +6618,7 @@ diff -urN a/googleapis/cloud/retail/v2/BUILD.bazel b/googleapis/cloud/retail/v2/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/retail/v2alpha/BUILD.bazel b/googleapis/cloud/retail/v2alpha/BUILD.bazel ---- a/googleapis/cloud/retail/v2alpha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/retail/v2alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/retail/v2alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,43 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -5340,7 +6665,7 @@ diff -urN a/googleapis/cloud/retail/v2alpha/BUILD.bazel b/googleapis/cloud/retai + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/retail/v2beta/BUILD.bazel b/googleapis/cloud/retail/v2beta/BUILD.bazel ---- a/googleapis/cloud/retail/v2beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/retail/v2beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/retail/v2beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,43 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -5387,9 +6712,9 @@ diff -urN a/googleapis/cloud/retail/v2beta/BUILD.bazel b/googleapis/cloud/retail + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/runtimeconfig/v1beta1/BUILD.bazel b/googleapis/cloud/runtimeconfig/v1beta1/BUILD.bazel ---- a/googleapis/cloud/runtimeconfig/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/runtimeconfig/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/runtimeconfig/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,31 @@ +@@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -5404,7 +6729,6 @@ diff -urN a/googleapis/cloud/runtimeconfig/v1beta1/BUILD.bazel b/googleapis/clou + "//googleapis/api/annotations", + "//googleapis/longrunning", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -5422,9 +6746,9 @@ diff -urN a/googleapis/cloud/runtimeconfig/v1beta1/BUILD.bazel b/googleapis/clou + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/saasaccelerator/management/logs/v1/BUILD.bazel b/googleapis/cloud/saasaccelerator/management/logs/v1/BUILD.bazel ---- a/googleapis/cloud/saasaccelerator/management/logs/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/saasaccelerator/management/logs/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/saasaccelerator/management/logs/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -5433,7 +6757,6 @@ diff -urN a/googleapis/cloud/saasaccelerator/management/logs/v1/BUILD.bazel b/go + importpath = "google.golang.org/genproto/googleapis/cloud/saasaccelerator/management/logs/v1", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -5445,9 +6768,9 @@ diff -urN a/googleapis/cloud/saasaccelerator/management/logs/v1/BUILD.bazel b/go + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/scheduler/v1/BUILD.bazel b/googleapis/cloud/scheduler/v1/BUILD.bazel ---- a/googleapis/cloud/scheduler/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/scheduler/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/scheduler/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,32 @@ +@@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -5462,7 +6785,6 @@ diff -urN a/googleapis/cloud/scheduler/v1/BUILD.bazel b/googleapis/cloud/schedul + deps = [ + "//googleapis/api/annotations", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -5481,9 +6803,9 @@ diff -urN a/googleapis/cloud/scheduler/v1/BUILD.bazel b/googleapis/cloud/schedul + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/scheduler/v1beta1/BUILD.bazel b/googleapis/cloud/scheduler/v1beta1/BUILD.bazel ---- a/googleapis/cloud/scheduler/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/scheduler/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/scheduler/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,32 @@ +@@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -5498,7 +6820,6 @@ diff -urN a/googleapis/cloud/scheduler/v1beta1/BUILD.bazel b/googleapis/cloud/sc + deps = [ + "//googleapis/api/annotations", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -5516,10 +6837,32 @@ diff -urN a/googleapis/cloud/scheduler/v1beta1/BUILD.bazel b/googleapis/cloud/sc + actual = ":v1beta1", + visibility = ["//visibility:public"], +) +diff -urN a/googleapis/cloud/secretmanager/logging/v1/BUILD.bazel b/googleapis/cloud/secretmanager/logging/v1/BUILD.bazel +--- a/googleapis/cloud/secretmanager/logging/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/secretmanager/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,18 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "logging", ++ srcs = ["secret_event.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/secretmanager/logging/v1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":logging", ++ visibility = ["//visibility:public"], ++) diff -urN a/googleapis/cloud/secretmanager/v1/BUILD.bazel b/googleapis/cloud/secretmanager/v1/BUILD.bazel ---- a/googleapis/cloud/secretmanager/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/secretmanager/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/secretmanager/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,31 @@ +@@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -5533,7 +6876,6 @@ diff -urN a/googleapis/cloud/secretmanager/v1/BUILD.bazel b/googleapis/cloud/sec + deps = [ + "//googleapis/api/annotations", + "//googleapis/iam/v1:iam", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -5552,9 +6894,9 @@ diff -urN a/googleapis/cloud/secretmanager/v1/BUILD.bazel b/googleapis/cloud/sec + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/secretmanager/v1beta1/BUILD.bazel b/googleapis/cloud/secretmanager/v1beta1/BUILD.bazel ---- a/googleapis/cloud/secretmanager/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/secretmanager/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/secretmanager/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,30 @@ +@@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -5568,7 +6910,6 @@ diff -urN a/googleapis/cloud/secretmanager/v1beta1/BUILD.bazel b/googleapis/clou + deps = [ + "//googleapis/api/annotations", + "//googleapis/iam/v1:iam", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -5586,7 +6927,7 @@ diff -urN a/googleapis/cloud/secretmanager/v1beta1/BUILD.bazel b/googleapis/clou + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/secrets/v1beta1/BUILD.bazel b/googleapis/cloud/secrets/v1beta1/BUILD.bazel ---- a/googleapis/cloud/secrets/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/secrets/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/secrets/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -5617,10 +6958,44 @@ diff -urN a/googleapis/cloud/secrets/v1beta1/BUILD.bazel b/googleapis/cloud/secr + actual = ":v1beta1", + visibility = ["//visibility:public"], +) +diff -urN a/googleapis/cloud/security/privateca/v1/BUILD.bazel b/googleapis/cloud/security/privateca/v1/BUILD.bazel +--- a/googleapis/cloud/security/privateca/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/security/privateca/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,30 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "privateca", ++ srcs = [ ++ "resources.pb.go", ++ "service.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/security/privateca/v1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/longrunning", ++ "//googleapis/type/expr", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/durationpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":privateca", ++ visibility = ["//visibility:public"], ++) diff -urN a/googleapis/cloud/security/privateca/v1beta1/BUILD.bazel b/googleapis/cloud/security/privateca/v1beta1/BUILD.bazel ---- a/googleapis/cloud/security/privateca/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/security/privateca/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/security/privateca/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,31 @@ +@@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -5634,7 +7009,6 @@ diff -urN a/googleapis/cloud/security/privateca/v1beta1/BUILD.bazel b/googleapis + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -5653,9 +7027,9 @@ diff -urN a/googleapis/cloud/security/privateca/v1beta1/BUILD.bazel b/googleapis + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/securitycenter/settings/v1beta1/BUILD.bazel b/googleapis/cloud/securitycenter/settings/v1beta1/BUILD.bazel ---- a/googleapis/cloud/securitycenter/settings/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/securitycenter/settings/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/securitycenter/settings/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,33 @@ +@@ -0,0 +1,32 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -5672,7 +7046,6 @@ diff -urN a/googleapis/cloud/securitycenter/settings/v1beta1/BUILD.bazel b/googl + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -5690,7 +7063,7 @@ diff -urN a/googleapis/cloud/securitycenter/settings/v1beta1/BUILD.bazel b/googl + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/securitycenter/v1/BUILD.bazel b/googleapis/cloud/securitycenter/v1/BUILD.bazel ---- a/googleapis/cloud/securitycenter/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/securitycenter/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/securitycenter/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,41 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -5700,6 +7073,7 @@ diff -urN a/googleapis/cloud/securitycenter/v1/BUILD.bazel b/googleapis/cloud/se + srcs = [ + "asset.pb.go", + "finding.pb.go", ++ "folder.pb.go", + "notification_config.pb.go", + "notification_message.pb.go", + "organization_settings.pb.go", @@ -5715,7 +7089,6 @@ diff -urN a/googleapis/cloud/securitycenter/v1/BUILD.bazel b/googleapis/cloud/se + "//googleapis/api/annotations", + "//googleapis/iam/v1:iam", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -5735,9 +7108,9 @@ diff -urN a/googleapis/cloud/securitycenter/v1/BUILD.bazel b/googleapis/cloud/se + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/securitycenter/v1beta1/BUILD.bazel b/googleapis/cloud/securitycenter/v1beta1/BUILD.bazel ---- a/googleapis/cloud/securitycenter/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/securitycenter/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/securitycenter/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,38 @@ +@@ -0,0 +1,37 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -5757,7 +7130,6 @@ diff -urN a/googleapis/cloud/securitycenter/v1beta1/BUILD.bazel b/googleapis/clo + "//googleapis/api/annotations", + "//googleapis/iam/v1:iam", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -5777,7 +7149,7 @@ diff -urN a/googleapis/cloud/securitycenter/v1beta1/BUILD.bazel b/googleapis/clo + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/securitycenter/v1p1beta1/BUILD.bazel b/googleapis/cloud/securitycenter/v1p1beta1/BUILD.bazel ---- a/googleapis/cloud/securitycenter/v1p1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/securitycenter/v1p1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/securitycenter/v1p1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,41 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -5787,6 +7159,7 @@ diff -urN a/googleapis/cloud/securitycenter/v1p1beta1/BUILD.bazel b/googleapis/c + srcs = [ + "asset.pb.go", + "finding.pb.go", ++ "folder.pb.go", + "notification_config.pb.go", + "notification_message.pb.go", + "organization_settings.pb.go", @@ -5802,7 +7175,6 @@ diff -urN a/googleapis/cloud/securitycenter/v1p1beta1/BUILD.bazel b/googleapis/c + "//googleapis/api/annotations", + "//googleapis/iam/v1:iam", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -5822,9 +7194,9 @@ diff -urN a/googleapis/cloud/securitycenter/v1p1beta1/BUILD.bazel b/googleapis/c + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/servicedirectory/v1/BUILD.bazel b/googleapis/cloud/servicedirectory/v1/BUILD.bazel ---- a/googleapis/cloud/servicedirectory/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/servicedirectory/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/servicedirectory/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,32 @@ +@@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -5841,7 +7213,6 @@ diff -urN a/googleapis/cloud/servicedirectory/v1/BUILD.bazel b/googleapis/cloud/ + deps = [ + "//googleapis/api/annotations", + "//googleapis/iam/v1:iam", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -5858,7 +7229,7 @@ diff -urN a/googleapis/cloud/servicedirectory/v1/BUILD.bazel b/googleapis/cloud/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/servicedirectory/v1beta1/BUILD.bazel b/googleapis/cloud/servicedirectory/v1beta1/BUILD.bazel ---- a/googleapis/cloud/servicedirectory/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/servicedirectory/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/servicedirectory/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,32 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -5877,7 +7248,6 @@ diff -urN a/googleapis/cloud/servicedirectory/v1beta1/BUILD.bazel b/googleapis/c + deps = [ + "//googleapis/api/annotations", + "//googleapis/iam/v1:iam", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -5885,6 +7255,7 @@ diff -urN a/googleapis/cloud/servicedirectory/v1beta1/BUILD.bazel b/googleapis/c + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/emptypb:go_default_library", + "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", + ], +) + @@ -5894,9 +7265,9 @@ diff -urN a/googleapis/cloud/servicedirectory/v1beta1/BUILD.bazel b/googleapis/c + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/shell/v1/BUILD.bazel b/googleapis/cloud/shell/v1/BUILD.bazel ---- a/googleapis/cloud/shell/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/shell/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/shell/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +@@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -5907,7 +7278,6 @@ diff -urN a/googleapis/cloud/shell/v1/BUILD.bazel b/googleapis/cloud/shell/v1/BU + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -5924,9 +7294,9 @@ diff -urN a/googleapis/cloud/shell/v1/BUILD.bazel b/googleapis/cloud/shell/v1/BU + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/speech/v1/BUILD.bazel b/googleapis/cloud/speech/v1/BUILD.bazel ---- a/googleapis/cloud/speech/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/speech/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/speech/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,28 @@ +@@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -5938,7 +7308,6 @@ diff -urN a/googleapis/cloud/speech/v1/BUILD.bazel b/googleapis/cloud/speech/v1/ + "//googleapis/api/annotations", + "//googleapis/longrunning", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -5952,51 +7321,84 @@ diff -urN a/googleapis/cloud/speech/v1/BUILD.bazel b/googleapis/cloud/speech/v1/ + +alias( + name = "go_default_library", -+ actual = ":speech", ++ actual = ":speech", ++ visibility = ["//visibility:public"], ++) +diff -urN a/googleapis/cloud/speech/v1p1beta1/BUILD.bazel b/googleapis/cloud/speech/v1p1beta1/BUILD.bazel +--- a/googleapis/cloud/speech/v1p1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/speech/v1p1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,34 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1p1beta1", ++ srcs = [ ++ "cloud_speech.pb.go", ++ "cloud_speech_adaptation.pb.go", ++ "resource.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/longrunning", ++ "//googleapis/rpc/status", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/anypb:go_default_library", ++ "@org_golang_google_protobuf//types/known/durationpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/emptypb:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ "@org_golang_google_protobuf//types/known/wrapperspb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v1p1beta1", + visibility = ["//visibility:public"], +) -diff -urN a/googleapis/cloud/speech/v1p1beta1/BUILD.bazel b/googleapis/cloud/speech/v1p1beta1/BUILD.bazel ---- a/googleapis/cloud/speech/v1p1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/googleapis/cloud/speech/v1p1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,34 @@ +diff -urN a/googleapis/cloud/sql/v1beta4/BUILD.bazel b/googleapis/cloud/sql/v1beta4/BUILD.bazel +--- a/googleapis/cloud/sql/v1beta4/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/sql/v1beta4/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( -+ name = "v1p1beta1", ++ name = "v1beta4", + srcs = [ -+ "cloud_speech.pb.go", -+ "cloud_speech_adaptation.pb.go", -+ "resource.pb.go", ++ "cloud_sql.pb.go", ++ "cloud_sql_resources.pb.go", ++ "cloud_sql_tiers.pb.go", ++ "cloud_sql_users.pb.go", + ], -+ importpath = "google.golang.org/genproto/googleapis/cloud/speech/v1p1beta1", ++ importpath = "google.golang.org/genproto/googleapis/cloud/sql/v1beta4", + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "//googleapis/longrunning", -+ "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", -+ "@org_golang_google_protobuf//types/known/anypb:go_default_library", -+ "@org_golang_google_protobuf//types/known/durationpb:go_default_library", -+ "@org_golang_google_protobuf//types/known/emptypb:go_default_library", -+ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", + "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ "@org_golang_google_protobuf//types/known/wrapperspb:go_default_library", + ], +) + +alias( + name = "go_default_library", -+ actual = ":v1p1beta1", ++ actual = ":v1beta4", + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/support/common/BUILD.bazel b/googleapis/cloud/support/common/BUILD.bazel ---- a/googleapis/cloud/support/common/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/support/common/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/support/common/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,21 @@ +@@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6006,7 +7408,6 @@ diff -urN a/googleapis/cloud/support/common/BUILD.bazel b/googleapis/cloud/suppo + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", @@ -6019,9 +7420,9 @@ diff -urN a/googleapis/cloud/support/common/BUILD.bazel b/googleapis/cloud/suppo + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/support/v1alpha1/BUILD.bazel b/googleapis/cloud/support/v1alpha1/BUILD.bazel ---- a/googleapis/cloud/support/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/support/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/support/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +@@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6032,7 +7433,6 @@ diff -urN a/googleapis/cloud/support/v1alpha1/BUILD.bazel b/googleapis/cloud/sup + deps = [ + "//googleapis/api/annotations", + "//googleapis/cloud/support/common", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6049,9 +7449,9 @@ diff -urN a/googleapis/cloud/support/v1alpha1/BUILD.bazel b/googleapis/cloud/sup + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/talent/v4/BUILD.bazel b/googleapis/cloud/talent/v4/BUILD.bazel ---- a/googleapis/cloud/talent/v4/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/talent/v4/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/talent/v4/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,48 @@ +@@ -0,0 +1,47 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6080,7 +7480,6 @@ diff -urN a/googleapis/cloud/talent/v4/BUILD.bazel b/googleapis/cloud/talent/v4/ + "//googleapis/type/money", + "//googleapis/type/postaladdress", + "//googleapis/type/timeofday", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6101,9 +7500,9 @@ diff -urN a/googleapis/cloud/talent/v4/BUILD.bazel b/googleapis/cloud/talent/v4/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/talent/v4beta1/BUILD.bazel b/googleapis/cloud/talent/v4beta1/BUILD.bazel ---- a/googleapis/cloud/talent/v4beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/talent/v4beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/talent/v4beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,54 @@ +@@ -0,0 +1,53 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6138,7 +7537,6 @@ diff -urN a/googleapis/cloud/talent/v4beta1/BUILD.bazel b/googleapis/cloud/talen + "//googleapis/type/money", + "//googleapis/type/postaladdress", + "//googleapis/type/timeofday", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6159,9 +7557,9 @@ diff -urN a/googleapis/cloud/talent/v4beta1/BUILD.bazel b/googleapis/cloud/talen + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/tasks/v2/BUILD.bazel b/googleapis/cloud/tasks/v2/BUILD.bazel ---- a/googleapis/cloud/tasks/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/tasks/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/tasks/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,34 @@ +@@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6178,7 +7576,6 @@ diff -urN a/googleapis/cloud/tasks/v2/BUILD.bazel b/googleapis/cloud/tasks/v2/BU + "//googleapis/api/annotations", + "//googleapis/iam/v1:iam", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6197,9 +7594,9 @@ diff -urN a/googleapis/cloud/tasks/v2/BUILD.bazel b/googleapis/cloud/tasks/v2/BU + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/tasks/v2beta2/BUILD.bazel b/googleapis/cloud/tasks/v2beta2/BUILD.bazel ---- a/googleapis/cloud/tasks/v2beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/tasks/v2beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/tasks/v2beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,35 @@ +@@ -0,0 +1,34 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6217,7 +7614,6 @@ diff -urN a/googleapis/cloud/tasks/v2beta2/BUILD.bazel b/googleapis/cloud/tasks/ + "//googleapis/api/annotations", + "//googleapis/iam/v1:iam", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6236,9 +7632,9 @@ diff -urN a/googleapis/cloud/tasks/v2beta2/BUILD.bazel b/googleapis/cloud/tasks/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/tasks/v2beta3/BUILD.bazel b/googleapis/cloud/tasks/v2beta3/BUILD.bazel ---- a/googleapis/cloud/tasks/v2beta3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/tasks/v2beta3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/tasks/v2beta3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,34 @@ +@@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6255,7 +7651,6 @@ diff -urN a/googleapis/cloud/tasks/v2beta3/BUILD.bazel b/googleapis/cloud/tasks/ + "//googleapis/api/annotations", + "//googleapis/iam/v1:iam", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6274,9 +7669,9 @@ diff -urN a/googleapis/cloud/tasks/v2beta3/BUILD.bazel b/googleapis/cloud/tasks/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/texttospeech/v1/BUILD.bazel b/googleapis/cloud/texttospeech/v1/BUILD.bazel ---- a/googleapis/cloud/texttospeech/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/texttospeech/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/texttospeech/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,23 @@ +@@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6286,7 +7681,6 @@ diff -urN a/googleapis/cloud/texttospeech/v1/BUILD.bazel b/googleapis/cloud/text + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6301,9 +7695,9 @@ diff -urN a/googleapis/cloud/texttospeech/v1/BUILD.bazel b/googleapis/cloud/text + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/texttospeech/v1beta1/BUILD.bazel b/googleapis/cloud/texttospeech/v1beta1/BUILD.bazel ---- a/googleapis/cloud/texttospeech/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/texttospeech/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/texttospeech/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,23 @@ +@@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6313,7 +7707,6 @@ diff -urN a/googleapis/cloud/texttospeech/v1beta1/BUILD.bazel b/googleapis/cloud + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6327,10 +7720,38 @@ diff -urN a/googleapis/cloud/texttospeech/v1beta1/BUILD.bazel b/googleapis/cloud + actual = ":v1beta1", + visibility = ["//visibility:public"], +) +diff -urN a/googleapis/cloud/tpu/v1/BUILD.bazel b/googleapis/cloud/tpu/v1/BUILD.bazel +--- a/googleapis/cloud/tpu/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/tpu/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,24 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "tpu", ++ srcs = ["cloud_tpu.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/tpu/v1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/longrunning", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":tpu", ++ visibility = ["//visibility:public"], ++) diff -urN a/googleapis/cloud/translate/v3/BUILD.bazel b/googleapis/cloud/translate/v3/BUILD.bazel ---- a/googleapis/cloud/translate/v3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/translate/v3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/translate/v3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,25 @@ +@@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6341,7 +7762,6 @@ diff -urN a/googleapis/cloud/translate/v3/BUILD.bazel b/googleapis/cloud/transla + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6357,9 +7777,9 @@ diff -urN a/googleapis/cloud/translate/v3/BUILD.bazel b/googleapis/cloud/transla + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/translate/v3beta1/BUILD.bazel b/googleapis/cloud/translate/v3beta1/BUILD.bazel ---- a/googleapis/cloud/translate/v3beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/translate/v3beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/translate/v3beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,25 @@ +@@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6370,7 +7790,6 @@ diff -urN a/googleapis/cloud/translate/v3beta1/BUILD.bazel b/googleapis/cloud/tr + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6386,9 +7805,9 @@ diff -urN a/googleapis/cloud/translate/v3beta1/BUILD.bazel b/googleapis/cloud/tr + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/video/transcoder/v1beta1/BUILD.bazel b/googleapis/cloud/video/transcoder/v1beta1/BUILD.bazel ---- a/googleapis/cloud/video/transcoder/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/video/transcoder/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/video/transcoder/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,29 @@ +@@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6401,7 +7820,6 @@ diff -urN a/googleapis/cloud/video/transcoder/v1beta1/BUILD.bazel b/googleapis/c + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6419,9 +7837,9 @@ diff -urN a/googleapis/cloud/video/transcoder/v1beta1/BUILD.bazel b/googleapis/c + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/videointelligence/v1/BUILD.bazel b/googleapis/cloud/videointelligence/v1/BUILD.bazel ---- a/googleapis/cloud/videointelligence/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/videointelligence/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/videointelligence/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,27 @@ +@@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6433,7 +7851,6 @@ diff -urN a/googleapis/cloud/videointelligence/v1/BUILD.bazel b/googleapis/cloud + "//googleapis/api/annotations", + "//googleapis/longrunning", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6450,9 +7867,9 @@ diff -urN a/googleapis/cloud/videointelligence/v1/BUILD.bazel b/googleapis/cloud + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/videointelligence/v1beta2/BUILD.bazel b/googleapis/cloud/videointelligence/v1beta2/BUILD.bazel ---- a/googleapis/cloud/videointelligence/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/videointelligence/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/videointelligence/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,27 @@ +@@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6464,7 +7881,6 @@ diff -urN a/googleapis/cloud/videointelligence/v1beta2/BUILD.bazel b/googleapis/ + "//googleapis/api/annotations", + "//googleapis/longrunning", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6481,9 +7897,9 @@ diff -urN a/googleapis/cloud/videointelligence/v1beta2/BUILD.bazel b/googleapis/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/videointelligence/v1p1beta1/BUILD.bazel b/googleapis/cloud/videointelligence/v1p1beta1/BUILD.bazel ---- a/googleapis/cloud/videointelligence/v1p1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/videointelligence/v1p1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/videointelligence/v1p1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,27 @@ +@@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6495,7 +7911,6 @@ diff -urN a/googleapis/cloud/videointelligence/v1p1beta1/BUILD.bazel b/googleapi + "//googleapis/api/annotations", + "//googleapis/longrunning", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6512,9 +7927,9 @@ diff -urN a/googleapis/cloud/videointelligence/v1p1beta1/BUILD.bazel b/googleapi + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/videointelligence/v1p2beta1/BUILD.bazel b/googleapis/cloud/videointelligence/v1p2beta1/BUILD.bazel ---- a/googleapis/cloud/videointelligence/v1p2beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/videointelligence/v1p2beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/videointelligence/v1p2beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,27 @@ +@@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6526,7 +7941,6 @@ diff -urN a/googleapis/cloud/videointelligence/v1p2beta1/BUILD.bazel b/googleapi + "//googleapis/api/annotations", + "//googleapis/longrunning", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6543,9 +7957,9 @@ diff -urN a/googleapis/cloud/videointelligence/v1p2beta1/BUILD.bazel b/googleapi + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/videointelligence/v1p3beta1/BUILD.bazel b/googleapis/cloud/videointelligence/v1p3beta1/BUILD.bazel ---- a/googleapis/cloud/videointelligence/v1p3beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/videointelligence/v1p3beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/videointelligence/v1p3beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,27 @@ +@@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6557,7 +7971,6 @@ diff -urN a/googleapis/cloud/videointelligence/v1p3beta1/BUILD.bazel b/googleapi + "//googleapis/api/annotations", + "//googleapis/longrunning", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6574,9 +7987,9 @@ diff -urN a/googleapis/cloud/videointelligence/v1p3beta1/BUILD.bazel b/googleapi + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/vision/v1/BUILD.bazel b/googleapis/cloud/vision/v1/BUILD.bazel ---- a/googleapis/cloud/vision/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/vision/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/vision/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,37 @@ +@@ -0,0 +1,36 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6597,7 +8010,6 @@ diff -urN a/googleapis/cloud/vision/v1/BUILD.bazel b/googleapis/cloud/vision/v1/ + "//googleapis/rpc/status", + "//googleapis/type/color", + "//googleapis/type/latlng", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6615,9 +8027,9 @@ diff -urN a/googleapis/cloud/vision/v1/BUILD.bazel b/googleapis/cloud/vision/v1/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/vision/v1p1beta1/BUILD.bazel b/googleapis/cloud/vision/v1p1beta1/BUILD.bazel ---- a/googleapis/cloud/vision/v1p1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/vision/v1p1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/vision/v1p1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,31 @@ +@@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6635,7 +8047,6 @@ diff -urN a/googleapis/cloud/vision/v1p1beta1/BUILD.bazel b/googleapis/cloud/vis + "//googleapis/rpc/status", + "//googleapis/type/color", + "//googleapis/type/latlng", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6650,9 +8061,9 @@ diff -urN a/googleapis/cloud/vision/v1p1beta1/BUILD.bazel b/googleapis/cloud/vis + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/vision/v1p2beta1/BUILD.bazel b/googleapis/cloud/vision/v1p2beta1/BUILD.bazel ---- a/googleapis/cloud/vision/v1p2beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/vision/v1p2beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/vision/v1p2beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,33 @@ +@@ -0,0 +1,32 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6671,7 +8082,6 @@ diff -urN a/googleapis/cloud/vision/v1p2beta1/BUILD.bazel b/googleapis/cloud/vis + "//googleapis/rpc/status", + "//googleapis/type/color", + "//googleapis/type/latlng", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6687,9 +8097,9 @@ diff -urN a/googleapis/cloud/vision/v1p2beta1/BUILD.bazel b/googleapis/cloud/vis + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/vision/v1p3beta1/BUILD.bazel b/googleapis/cloud/vision/v1p3beta1/BUILD.bazel ---- a/googleapis/cloud/vision/v1p3beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/vision/v1p3beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/vision/v1p3beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,37 @@ +@@ -0,0 +1,36 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6710,7 +8120,6 @@ diff -urN a/googleapis/cloud/vision/v1p3beta1/BUILD.bazel b/googleapis/cloud/vis + "//googleapis/rpc/status", + "//googleapis/type/color", + "//googleapis/type/latlng", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6728,9 +8137,9 @@ diff -urN a/googleapis/cloud/vision/v1p3beta1/BUILD.bazel b/googleapis/cloud/vis + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/vision/v1p4beta1/BUILD.bazel b/googleapis/cloud/vision/v1p4beta1/BUILD.bazel ---- a/googleapis/cloud/vision/v1p4beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/vision/v1p4beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/vision/v1p4beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,38 @@ +@@ -0,0 +1,37 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6752,7 +8161,6 @@ diff -urN a/googleapis/cloud/vision/v1p4beta1/BUILD.bazel b/googleapis/cloud/vis + "//googleapis/rpc/status", + "//googleapis/type/color", + "//googleapis/type/latlng", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6770,7 +8178,7 @@ diff -urN a/googleapis/cloud/vision/v1p4beta1/BUILD.bazel b/googleapis/cloud/vis + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/visualinspection/v1beta1/BUILD.bazel b/googleapis/cloud/visualinspection/v1beta1/BUILD.bazel ---- a/googleapis/cloud/visualinspection/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/visualinspection/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/visualinspection/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,46 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6819,10 +8227,38 @@ diff -urN a/googleapis/cloud/visualinspection/v1beta1/BUILD.bazel b/googleapis/c + actual = ":v1beta1", + visibility = ["//visibility:public"], +) +diff -urN a/googleapis/cloud/vpcaccess/v1/BUILD.bazel b/googleapis/cloud/vpcaccess/v1/BUILD.bazel +--- a/googleapis/cloud/vpcaccess/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/cloud/vpcaccess/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,24 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "vpcaccess", ++ srcs = ["vpc_access.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/cloud/vpcaccess/v1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/longrunning", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":vpcaccess", ++ visibility = ["//visibility:public"], ++) diff -urN a/googleapis/cloud/webrisk/v1/BUILD.bazel b/googleapis/cloud/webrisk/v1/BUILD.bazel ---- a/googleapis/cloud/webrisk/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/webrisk/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/webrisk/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,24 @@ +@@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6832,7 +8268,6 @@ diff -urN a/googleapis/cloud/webrisk/v1/BUILD.bazel b/googleapis/cloud/webrisk/v + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6848,9 +8283,9 @@ diff -urN a/googleapis/cloud/webrisk/v1/BUILD.bazel b/googleapis/cloud/webrisk/v + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/webrisk/v1beta1/BUILD.bazel b/googleapis/cloud/webrisk/v1beta1/BUILD.bazel ---- a/googleapis/cloud/webrisk/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/webrisk/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/webrisk/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,24 @@ +@@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6860,7 +8295,6 @@ diff -urN a/googleapis/cloud/webrisk/v1beta1/BUILD.bazel b/googleapis/cloud/webr + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6876,9 +8310,9 @@ diff -urN a/googleapis/cloud/webrisk/v1beta1/BUILD.bazel b/googleapis/cloud/webr + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/websecurityscanner/v1/BUILD.bazel b/googleapis/cloud/websecurityscanner/v1/BUILD.bazel ---- a/googleapis/cloud/websecurityscanner/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/websecurityscanner/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/websecurityscanner/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,37 @@ +@@ -0,0 +1,36 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6899,7 +8333,6 @@ diff -urN a/googleapis/cloud/websecurityscanner/v1/BUILD.bazel b/googleapis/clou + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6917,9 +8350,9 @@ diff -urN a/googleapis/cloud/websecurityscanner/v1/BUILD.bazel b/googleapis/clou + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/websecurityscanner/v1alpha/BUILD.bazel b/googleapis/cloud/websecurityscanner/v1alpha/BUILD.bazel ---- a/googleapis/cloud/websecurityscanner/v1alpha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/websecurityscanner/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/websecurityscanner/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,34 @@ +@@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6937,7 +8370,6 @@ diff -urN a/googleapis/cloud/websecurityscanner/v1alpha/BUILD.bazel b/googleapis + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6955,9 +8387,9 @@ diff -urN a/googleapis/cloud/websecurityscanner/v1alpha/BUILD.bazel b/googleapis + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/websecurityscanner/v1beta/BUILD.bazel b/googleapis/cloud/websecurityscanner/v1beta/BUILD.bazel ---- a/googleapis/cloud/websecurityscanner/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/websecurityscanner/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/websecurityscanner/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,37 @@ +@@ -0,0 +1,36 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -6978,7 +8410,6 @@ diff -urN a/googleapis/cloud/websecurityscanner/v1beta/BUILD.bazel b/googleapis/ + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -6996,9 +8427,9 @@ diff -urN a/googleapis/cloud/websecurityscanner/v1beta/BUILD.bazel b/googleapis/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/workflows/executions/v1/BUILD.bazel b/googleapis/cloud/workflows/executions/v1/BUILD.bazel ---- a/googleapis/cloud/workflows/executions/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/workflows/executions/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/workflows/executions/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,24 @@ +@@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7008,7 +8439,6 @@ diff -urN a/googleapis/cloud/workflows/executions/v1/BUILD.bazel b/googleapis/cl + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -7024,9 +8454,9 @@ diff -urN a/googleapis/cloud/workflows/executions/v1/BUILD.bazel b/googleapis/cl + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/workflows/executions/v1beta/BUILD.bazel b/googleapis/cloud/workflows/executions/v1beta/BUILD.bazel ---- a/googleapis/cloud/workflows/executions/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/workflows/executions/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/workflows/executions/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,24 @@ +@@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7036,7 +8466,6 @@ diff -urN a/googleapis/cloud/workflows/executions/v1beta/BUILD.bazel b/googleapi + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -7052,9 +8481,9 @@ diff -urN a/googleapis/cloud/workflows/executions/v1beta/BUILD.bazel b/googleapi + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/workflows/v1/BUILD.bazel b/googleapis/cloud/workflows/v1/BUILD.bazel ---- a/googleapis/cloud/workflows/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/workflows/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/workflows/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +@@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7065,7 +8494,6 @@ diff -urN a/googleapis/cloud/workflows/v1/BUILD.bazel b/googleapis/cloud/workflo + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -7082,9 +8510,9 @@ diff -urN a/googleapis/cloud/workflows/v1/BUILD.bazel b/googleapis/cloud/workflo + visibility = ["//visibility:public"], +) diff -urN a/googleapis/cloud/workflows/v1beta/BUILD.bazel b/googleapis/cloud/workflows/v1beta/BUILD.bazel ---- a/googleapis/cloud/workflows/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/cloud/workflows/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/cloud/workflows/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +@@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7095,7 +8523,6 @@ diff -urN a/googleapis/cloud/workflows/v1beta/BUILD.bazel b/googleapis/cloud/wor + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -7112,9 +8539,9 @@ diff -urN a/googleapis/cloud/workflows/v1beta/BUILD.bazel b/googleapis/cloud/wor + visibility = ["//visibility:public"], +) diff -urN a/googleapis/container/v1/BUILD.bazel b/googleapis/container/v1/BUILD.bazel ---- a/googleapis/container/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/container/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/container/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,25 @@ +@@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7124,7 +8551,6 @@ diff -urN a/googleapis/container/v1/BUILD.bazel b/googleapis/container/v1/BUILD. + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -7141,9 +8567,9 @@ diff -urN a/googleapis/container/v1/BUILD.bazel b/googleapis/container/v1/BUILD. + visibility = ["//visibility:public"], +) diff -urN a/googleapis/container/v1alpha1/BUILD.bazel b/googleapis/container/v1alpha1/BUILD.bazel ---- a/googleapis/container/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/container/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/container/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,24 @@ +@@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7153,7 +8579,6 @@ diff -urN a/googleapis/container/v1alpha1/BUILD.bazel b/googleapis/container/v1a + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -7169,9 +8594,9 @@ diff -urN a/googleapis/container/v1alpha1/BUILD.bazel b/googleapis/container/v1a + visibility = ["//visibility:public"], +) diff -urN a/googleapis/container/v1beta1/BUILD.bazel b/googleapis/container/v1beta1/BUILD.bazel ---- a/googleapis/container/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/container/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/container/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,28 @@ +@@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7183,7 +8608,6 @@ diff -urN a/googleapis/container/v1beta1/BUILD.bazel b/googleapis/container/v1be + "//googleapis/api/annotations", + "//googleapis/rpc/code", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -7200,10 +8624,49 @@ diff -urN a/googleapis/container/v1beta1/BUILD.bazel b/googleapis/container/v1be + actual = ":v1beta1", + visibility = ["//visibility:public"], +) +diff -urN a/googleapis/dataflow/v1beta3/BUILD.bazel b/googleapis/dataflow/v1beta3/BUILD.bazel +--- a/googleapis/dataflow/v1beta3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/dataflow/v1beta3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,35 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "v1beta3", ++ srcs = [ ++ "environment.pb.go", ++ "jobs.pb.go", ++ "messages.pb.go", ++ "metrics.pb.go", ++ "snapshots.pb.go", ++ "streaming.pb.go", ++ "templates.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/dataflow/v1beta3", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/rpc/status", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/anypb:go_default_library", ++ "@org_golang_google_protobuf//types/known/durationpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/structpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":v1beta3", ++ visibility = ["//visibility:public"], ++) diff -urN a/googleapis/datastore/admin/v1/BUILD.bazel b/googleapis/datastore/admin/v1/BUILD.bazel ---- a/googleapis/datastore/admin/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/datastore/admin/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/datastore/admin/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,29 @@ +@@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7218,7 +8681,6 @@ diff -urN a/googleapis/datastore/admin/v1/BUILD.bazel b/googleapis/datastore/adm + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -7234,9 +8696,9 @@ diff -urN a/googleapis/datastore/admin/v1/BUILD.bazel b/googleapis/datastore/adm + visibility = ["//visibility:public"], +) diff -urN a/googleapis/datastore/admin/v1beta1/BUILD.bazel b/googleapis/datastore/admin/v1beta1/BUILD.bazel ---- a/googleapis/datastore/admin/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/datastore/admin/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/datastore/admin/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,25 @@ +@@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7247,7 +8709,6 @@ diff -urN a/googleapis/datastore/admin/v1beta1/BUILD.bazel b/googleapis/datastor + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -7263,9 +8724,9 @@ diff -urN a/googleapis/datastore/admin/v1beta1/BUILD.bazel b/googleapis/datastor + visibility = ["//visibility:public"], +) diff -urN a/googleapis/datastore/v1/BUILD.bazel b/googleapis/datastore/v1/BUILD.bazel ---- a/googleapis/datastore/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/datastore/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/datastore/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,31 @@ +@@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7280,7 +8741,6 @@ diff -urN a/googleapis/datastore/v1/BUILD.bazel b/googleapis/datastore/v1/BUILD. + deps = [ + "//googleapis/api/annotations", + "//googleapis/type/latlng", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -7298,9 +8758,9 @@ diff -urN a/googleapis/datastore/v1/BUILD.bazel b/googleapis/datastore/v1/BUILD. + visibility = ["//visibility:public"], +) diff -urN a/googleapis/datastore/v1beta3/BUILD.bazel b/googleapis/datastore/v1beta3/BUILD.bazel ---- a/googleapis/datastore/v1beta3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/datastore/v1beta3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/datastore/v1beta3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,31 @@ +@@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7315,7 +8775,6 @@ diff -urN a/googleapis/datastore/v1beta3/BUILD.bazel b/googleapis/datastore/v1be + deps = [ + "//googleapis/api/annotations", + "//googleapis/type/latlng", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -7333,7 +8792,7 @@ diff -urN a/googleapis/datastore/v1beta3/BUILD.bazel b/googleapis/datastore/v1be + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/artifactregistry/v1beta2/BUILD.bazel b/googleapis/devtools/artifactregistry/v1beta2/BUILD.bazel ---- a/googleapis/devtools/artifactregistry/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/artifactregistry/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/artifactregistry/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,37 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -7374,9 +8833,9 @@ diff -urN a/googleapis/devtools/artifactregistry/v1beta2/BUILD.bazel b/googleapi + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/build/v1/BUILD.bazel b/googleapis/devtools/build/v1/BUILD.bazel ---- a/googleapis/devtools/build/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/build/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/build/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,32 @@ +@@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7390,7 +8849,6 @@ diff -urN a/googleapis/devtools/build/v1/BUILD.bazel b/googleapis/devtools/build + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -7410,7 +8868,7 @@ diff -urN a/googleapis/devtools/build/v1/BUILD.bazel b/googleapis/devtools/build + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/cloudbuild/v1/BUILD.bazel b/googleapis/devtools/cloudbuild/v1/BUILD.bazel ---- a/googleapis/devtools/cloudbuild/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/cloudbuild/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/cloudbuild/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -7422,8 +8880,8 @@ diff -urN a/googleapis/devtools/cloudbuild/v1/BUILD.bazel b/googleapis/devtools/ + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", ++ "//googleapis/api/httpbody", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -7442,9 +8900,9 @@ diff -urN a/googleapis/devtools/cloudbuild/v1/BUILD.bazel b/googleapis/devtools/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/clouddebugger/v2/BUILD.bazel b/googleapis/devtools/clouddebugger/v2/BUILD.bazel ---- a/googleapis/devtools/clouddebugger/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/clouddebugger/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/clouddebugger/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,31 @@ +@@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7459,7 +8917,6 @@ diff -urN a/googleapis/devtools/clouddebugger/v2/BUILD.bazel b/googleapis/devtoo + deps = [ + "//googleapis/api/annotations", + "//googleapis/devtools/source/v1:source", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -7477,9 +8934,9 @@ diff -urN a/googleapis/devtools/clouddebugger/v2/BUILD.bazel b/googleapis/devtoo + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/clouderrorreporting/v1beta1/BUILD.bazel b/googleapis/devtools/clouderrorreporting/v1beta1/BUILD.bazel ---- a/googleapis/devtools/clouderrorreporting/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/clouderrorreporting/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/clouderrorreporting/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,30 @@ +@@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7494,7 +8951,6 @@ diff -urN a/googleapis/devtools/clouderrorreporting/v1beta1/BUILD.bazel b/google + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -7511,9 +8967,9 @@ diff -urN a/googleapis/devtools/clouderrorreporting/v1beta1/BUILD.bazel b/google + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/cloudprofiler/v2/BUILD.bazel b/googleapis/devtools/cloudprofiler/v2/BUILD.bazel ---- a/googleapis/devtools/cloudprofiler/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/cloudprofiler/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/cloudprofiler/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,25 @@ +@@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7523,7 +8979,6 @@ diff -urN a/googleapis/devtools/cloudprofiler/v2/BUILD.bazel b/googleapis/devtoo + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -7540,9 +8995,9 @@ diff -urN a/googleapis/devtools/cloudprofiler/v2/BUILD.bazel b/googleapis/devtoo + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/cloudtrace/v1/BUILD.bazel b/googleapis/devtools/cloudtrace/v1/BUILD.bazel ---- a/googleapis/devtools/cloudtrace/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/cloudtrace/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/cloudtrace/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,25 @@ +@@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7552,7 +9007,6 @@ diff -urN a/googleapis/devtools/cloudtrace/v1/BUILD.bazel b/googleapis/devtools/ + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -7569,9 +9023,9 @@ diff -urN a/googleapis/devtools/cloudtrace/v1/BUILD.bazel b/googleapis/devtools/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/cloudtrace/v2/BUILD.bazel b/googleapis/devtools/cloudtrace/v2/BUILD.bazel ---- a/googleapis/devtools/cloudtrace/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/cloudtrace/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/cloudtrace/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,30 @@ +@@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7585,7 +9039,6 @@ diff -urN a/googleapis/devtools/cloudtrace/v2/BUILD.bazel b/googleapis/devtools/ + deps = [ + "//googleapis/api/annotations", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -7603,7 +9056,7 @@ diff -urN a/googleapis/devtools/cloudtrace/v2/BUILD.bazel b/googleapis/devtools/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/containeranalysis/v1/BUILD.bazel b/googleapis/devtools/containeranalysis/v1/BUILD.bazel ---- a/googleapis/devtools/containeranalysis/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/containeranalysis/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/containeranalysis/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -7630,7 +9083,7 @@ diff -urN a/googleapis/devtools/containeranalysis/v1/BUILD.bazel b/googleapis/de + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/containeranalysis/v1alpha1/BUILD.bazel b/googleapis/devtools/containeranalysis/v1alpha1/BUILD.bazel ---- a/googleapis/devtools/containeranalysis/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/containeranalysis/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/containeranalysis/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -7669,9 +9122,9 @@ diff -urN a/googleapis/devtools/containeranalysis/v1alpha1/BUILD.bazel b/googlea + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/containeranalysis/v1beta1/BUILD.bazel b/googleapis/devtools/containeranalysis/v1beta1/BUILD.bazel ---- a/googleapis/devtools/containeranalysis/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/containeranalysis/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/containeranalysis/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,25 @@ +@@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7682,7 +9135,6 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/BUILD.bazel b/googleap + deps = [ + "//googleapis/api/annotations", + "//googleapis/iam/v1:iam", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -7698,9 +9150,9 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/BUILD.bazel b/googleap + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/containeranalysis/v1beta1/attestation/BUILD.bazel b/googleapis/devtools/containeranalysis/v1beta1/attestation/BUILD.bazel ---- a/googleapis/devtools/containeranalysis/v1beta1/attestation/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/containeranalysis/v1beta1/attestation/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/containeranalysis/v1beta1/attestation/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,20 @@ +@@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7710,7 +9162,6 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/attestation/BUILD.baze + visibility = ["//visibility:public"], + deps = [ + "//googleapis/devtools/containeranalysis/v1beta1/common", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -7722,9 +9173,9 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/attestation/BUILD.baze + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/containeranalysis/v1beta1/build/BUILD.bazel b/googleapis/devtools/containeranalysis/v1beta1/build/BUILD.bazel ---- a/googleapis/devtools/containeranalysis/v1beta1/build/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/containeranalysis/v1beta1/build/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/containeranalysis/v1beta1/build/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,20 @@ +@@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7734,7 +9185,6 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/build/BUILD.bazel b/go + visibility = ["//visibility:public"], + deps = [ + "//googleapis/devtools/containeranalysis/v1beta1/provenance", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -7746,9 +9196,9 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/build/BUILD.bazel b/go + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/containeranalysis/v1beta1/common/BUILD.bazel b/googleapis/devtools/containeranalysis/v1beta1/common/BUILD.bazel ---- a/googleapis/devtools/containeranalysis/v1beta1/common/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/containeranalysis/v1beta1/common/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/containeranalysis/v1beta1/common/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7757,7 +9207,6 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/common/BUILD.bazel b/g + importpath = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/common", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -7769,9 +9218,9 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/common/BUILD.bazel b/g + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/containeranalysis/v1beta1/cvss/BUILD.bazel b/googleapis/devtools/containeranalysis/v1beta1/cvss/BUILD.bazel ---- a/googleapis/devtools/containeranalysis/v1beta1/cvss/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/containeranalysis/v1beta1/cvss/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/containeranalysis/v1beta1/cvss/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7780,7 +9229,6 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/cvss/BUILD.bazel b/goo + importpath = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/cvss", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -7792,9 +9240,9 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/cvss/BUILD.bazel b/goo + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/containeranalysis/v1beta1/deployment/BUILD.bazel b/googleapis/devtools/containeranalysis/v1beta1/deployment/BUILD.bazel ---- a/googleapis/devtools/containeranalysis/v1beta1/deployment/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/containeranalysis/v1beta1/deployment/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/containeranalysis/v1beta1/deployment/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,20 @@ +@@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7803,7 +9251,6 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/deployment/BUILD.bazel + importpath = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", @@ -7816,9 +9263,9 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/deployment/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/containeranalysis/v1beta1/discovery/BUILD.bazel b/googleapis/devtools/containeranalysis/v1beta1/discovery/BUILD.bazel ---- a/googleapis/devtools/containeranalysis/v1beta1/discovery/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/containeranalysis/v1beta1/discovery/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/containeranalysis/v1beta1/discovery/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,22 @@ +@@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7829,7 +9276,6 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/discovery/BUILD.bazel + deps = [ + "//googleapis/devtools/containeranalysis/v1beta1/common", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", @@ -7842,9 +9288,9 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/discovery/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/containeranalysis/v1beta1/grafeas/BUILD.bazel b/googleapis/devtools/containeranalysis/v1beta1/grafeas/BUILD.bazel ---- a/googleapis/devtools/containeranalysis/v1beta1/grafeas/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/containeranalysis/v1beta1/grafeas/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/containeranalysis/v1beta1/grafeas/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,35 @@ +@@ -0,0 +1,34 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7863,7 +9309,6 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/grafeas/BUILD.bazel b/ + "//googleapis/devtools/containeranalysis/v1beta1/package", + "//googleapis/devtools/containeranalysis/v1beta1/provenance", + "//googleapis/devtools/containeranalysis/v1beta1/vulnerability", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -7881,9 +9326,9 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/grafeas/BUILD.bazel b/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/containeranalysis/v1beta1/image/BUILD.bazel b/googleapis/devtools/containeranalysis/v1beta1/image/BUILD.bazel ---- a/googleapis/devtools/containeranalysis/v1beta1/image/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/containeranalysis/v1beta1/image/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/containeranalysis/v1beta1/image/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7892,7 +9337,6 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/image/BUILD.bazel b/go + importpath = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/image", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -7904,9 +9348,9 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/image/BUILD.bazel b/go + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/containeranalysis/v1beta1/package/BUILD.bazel b/googleapis/devtools/containeranalysis/v1beta1/package/BUILD.bazel ---- a/googleapis/devtools/containeranalysis/v1beta1/package/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/containeranalysis/v1beta1/package/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/containeranalysis/v1beta1/package/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7915,7 +9359,6 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/package/BUILD.bazel b/ + importpath = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/package", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -7927,9 +9370,9 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/package/BUILD.bazel b/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/containeranalysis/v1beta1/provenance/BUILD.bazel b/googleapis/devtools/containeranalysis/v1beta1/provenance/BUILD.bazel ---- a/googleapis/devtools/containeranalysis/v1beta1/provenance/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/containeranalysis/v1beta1/provenance/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/containeranalysis/v1beta1/provenance/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,21 @@ +@@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7939,7 +9382,6 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/provenance/BUILD.bazel + visibility = ["//visibility:public"], + deps = [ + "//googleapis/devtools/containeranalysis/v1beta1/source", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", @@ -7952,9 +9394,9 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/provenance/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/containeranalysis/v1beta1/source/BUILD.bazel b/googleapis/devtools/containeranalysis/v1beta1/source/BUILD.bazel ---- a/googleapis/devtools/containeranalysis/v1beta1/source/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/containeranalysis/v1beta1/source/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/containeranalysis/v1beta1/source/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7963,7 +9405,6 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/source/BUILD.bazel b/g + importpath = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/source", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -7975,9 +9416,9 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/source/BUILD.bazel b/g + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/containeranalysis/v1beta1/vulnerability/BUILD.bazel b/googleapis/devtools/containeranalysis/v1beta1/vulnerability/BUILD.bazel ---- a/googleapis/devtools/containeranalysis/v1beta1/vulnerability/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/containeranalysis/v1beta1/vulnerability/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/containeranalysis/v1beta1/vulnerability/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,23 @@ +@@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -7989,7 +9430,6 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/vulnerability/BUILD.ba + "//googleapis/devtools/containeranalysis/v1beta1/common", + "//googleapis/devtools/containeranalysis/v1beta1/cvss", + "//googleapis/devtools/containeranalysis/v1beta1/package", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", @@ -8002,7 +9442,7 @@ diff -urN a/googleapis/devtools/containeranalysis/v1beta1/vulnerability/BUILD.ba + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/remoteworkers/v1test2/BUILD.bazel b/googleapis/devtools/remoteworkers/v1test2/BUILD.bazel ---- a/googleapis/devtools/remoteworkers/v1test2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/remoteworkers/v1test2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/remoteworkers/v1test2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -8041,9 +9481,9 @@ diff -urN a/googleapis/devtools/remoteworkers/v1test2/BUILD.bazel b/googleapis/d + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/resultstore/v2/BUILD.bazel b/googleapis/devtools/resultstore/v2/BUILD.bazel ---- a/googleapis/devtools/resultstore/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/resultstore/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/resultstore/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,46 @@ +@@ -0,0 +1,45 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8071,7 +9511,6 @@ diff -urN a/googleapis/devtools/resultstore/v2/BUILD.bazel b/googleapis/devtools + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -8091,9 +9530,9 @@ diff -urN a/googleapis/devtools/resultstore/v2/BUILD.bazel b/googleapis/devtools + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/source/v1/BUILD.bazel b/googleapis/devtools/source/v1/BUILD.bazel ---- a/googleapis/devtools/source/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/source/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/source/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,20 @@ +@@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8103,7 +9542,6 @@ diff -urN a/googleapis/devtools/source/v1/BUILD.bazel b/googleapis/devtools/sour + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -8115,9 +9553,9 @@ diff -urN a/googleapis/devtools/source/v1/BUILD.bazel b/googleapis/devtools/sour + visibility = ["//visibility:public"], +) diff -urN a/googleapis/devtools/sourcerepo/v1/BUILD.bazel b/googleapis/devtools/sourcerepo/v1/BUILD.bazel ---- a/googleapis/devtools/sourcerepo/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/devtools/sourcerepo/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/devtools/sourcerepo/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,25 @@ +@@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8128,7 +9566,6 @@ diff -urN a/googleapis/devtools/sourcerepo/v1/BUILD.bazel b/googleapis/devtools/ + deps = [ + "//googleapis/api/annotations", + "//googleapis/iam/v1:iam", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -8143,10 +9580,43 @@ diff -urN a/googleapis/devtools/sourcerepo/v1/BUILD.bazel b/googleapis/devtools/ + actual = ":sourcerepo", + visibility = ["//visibility:public"], +) +diff -urN a/googleapis/devtools/testing/v1/BUILD.bazel b/googleapis/devtools/testing/v1/BUILD.bazel +--- a/googleapis/devtools/testing/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/devtools/testing/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,29 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "testing", ++ srcs = [ ++ "application_details.pb.go", ++ "test_environment_discovery.pb.go", ++ "test_execution.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/devtools/testing/v1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/type/date", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/durationpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":testing", ++ visibility = ["//visibility:public"], ++) diff -urN a/googleapis/example/library/v1/BUILD.bazel b/googleapis/example/library/v1/BUILD.bazel ---- a/googleapis/example/library/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/example/library/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/example/library/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,25 @@ +@@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8156,7 +9626,6 @@ diff -urN a/googleapis/example/library/v1/BUILD.bazel b/googleapis/example/libra + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -8173,9 +9642,9 @@ diff -urN a/googleapis/example/library/v1/BUILD.bazel b/googleapis/example/libra + visibility = ["//visibility:public"], +) diff -urN a/googleapis/firebase/fcm/connection/v1alpha1/BUILD.bazel b/googleapis/firebase/fcm/connection/v1alpha1/BUILD.bazel ---- a/googleapis/firebase/fcm/connection/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/firebase/fcm/connection/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/firebase/fcm/connection/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,24 @@ +@@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8185,7 +9654,6 @@ diff -urN a/googleapis/firebase/fcm/connection/v1alpha1/BUILD.bazel b/googleapis + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -8201,9 +9669,9 @@ diff -urN a/googleapis/firebase/fcm/connection/v1alpha1/BUILD.bazel b/googleapis + visibility = ["//visibility:public"], +) diff -urN a/googleapis/firestore/admin/v1/BUILD.bazel b/googleapis/firestore/admin/v1/BUILD.bazel ---- a/googleapis/firestore/admin/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/firestore/admin/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/firestore/admin/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,34 @@ +@@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8221,7 +9689,6 @@ diff -urN a/googleapis/firestore/admin/v1/BUILD.bazel b/googleapis/firestore/adm + "//googleapis/api/annotations", + "//googleapis/longrunning", + "//googleapis/type/latlng", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -8239,9 +9706,9 @@ diff -urN a/googleapis/firestore/admin/v1/BUILD.bazel b/googleapis/firestore/adm + visibility = ["//visibility:public"], +) diff -urN a/googleapis/firestore/admin/v1beta1/BUILD.bazel b/googleapis/firestore/admin/v1beta1/BUILD.bazel ---- a/googleapis/firestore/admin/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/firestore/admin/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/firestore/admin/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,31 @@ +@@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8257,7 +9724,6 @@ diff -urN a/googleapis/firestore/admin/v1beta1/BUILD.bazel b/googleapis/firestor + "//googleapis/api/annotations", + "//googleapis/longrunning", + "//googleapis/type/latlng", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -8274,9 +9740,9 @@ diff -urN a/googleapis/firestore/admin/v1beta1/BUILD.bazel b/googleapis/firestor + visibility = ["//visibility:public"], +) diff -urN a/googleapis/firestore/admin/v1beta2/BUILD.bazel b/googleapis/firestore/admin/v1beta2/BUILD.bazel ---- a/googleapis/firestore/admin/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/firestore/admin/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/firestore/admin/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,32 @@ +@@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8292,7 +9758,6 @@ diff -urN a/googleapis/firestore/admin/v1beta2/BUILD.bazel b/googleapis/firestor + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -8310,9 +9775,9 @@ diff -urN a/googleapis/firestore/admin/v1beta2/BUILD.bazel b/googleapis/firestor + visibility = ["//visibility:public"], +) diff -urN a/googleapis/firestore/v1/BUILD.bazel b/googleapis/firestore/v1/BUILD.bazel ---- a/googleapis/firestore/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/firestore/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/firestore/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,35 @@ +@@ -0,0 +1,34 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8330,7 +9795,6 @@ diff -urN a/googleapis/firestore/v1/BUILD.bazel b/googleapis/firestore/v1/BUILD. + "//googleapis/api/annotations", + "//googleapis/rpc/status", + "//googleapis/type/latlng", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -8349,9 +9813,9 @@ diff -urN a/googleapis/firestore/v1/BUILD.bazel b/googleapis/firestore/v1/BUILD. + visibility = ["//visibility:public"], +) diff -urN a/googleapis/firestore/v1beta1/BUILD.bazel b/googleapis/firestore/v1beta1/BUILD.bazel ---- a/googleapis/firestore/v1beta1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/firestore/v1beta1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/firestore/v1beta1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,35 @@ +@@ -0,0 +1,34 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8369,7 +9833,6 @@ diff -urN a/googleapis/firestore/v1beta1/BUILD.bazel b/googleapis/firestore/v1be + "//googleapis/api/annotations", + "//googleapis/rpc/status", + "//googleapis/type/latlng", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -8388,9 +9851,9 @@ diff -urN a/googleapis/firestore/v1beta1/BUILD.bazel b/googleapis/firestore/v1be + visibility = ["//visibility:public"], +) diff -urN a/googleapis/gapic/metadata/BUILD.bazel b/googleapis/gapic/metadata/BUILD.bazel ---- a/googleapis/gapic/metadata/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/gapic/metadata/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/gapic/metadata/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8399,7 +9862,6 @@ diff -urN a/googleapis/gapic/metadata/BUILD.bazel b/googleapis/gapic/metadata/BU + importpath = "google.golang.org/genproto/googleapis/gapic/metadata", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -8411,9 +9873,9 @@ diff -urN a/googleapis/gapic/metadata/BUILD.bazel b/googleapis/gapic/metadata/BU + visibility = ["//visibility:public"], +) diff -urN a/googleapis/genomics/v1/BUILD.bazel b/googleapis/genomics/v1/BUILD.bazel ---- a/googleapis/genomics/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/genomics/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/genomics/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,45 @@ +@@ -0,0 +1,44 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8439,7 +9901,6 @@ diff -urN a/googleapis/genomics/v1/BUILD.bazel b/googleapis/genomics/v1/BUILD.ba + "//googleapis/iam/v1:iam", + "//googleapis/longrunning", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -8460,9 +9921,9 @@ diff -urN a/googleapis/genomics/v1/BUILD.bazel b/googleapis/genomics/v1/BUILD.ba + visibility = ["//visibility:public"], +) diff -urN a/googleapis/genomics/v1alpha2/BUILD.bazel b/googleapis/genomics/v1alpha2/BUILD.bazel ---- a/googleapis/genomics/v1alpha2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/genomics/v1alpha2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/genomics/v1alpha2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,28 @@ +@@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8474,7 +9935,6 @@ diff -urN a/googleapis/genomics/v1alpha2/BUILD.bazel b/googleapis/genomics/v1alp + "//googleapis/api/annotations", + "//googleapis/longrunning", + "//googleapis/rpc/code", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -8492,9 +9952,9 @@ diff -urN a/googleapis/genomics/v1alpha2/BUILD.bazel b/googleapis/genomics/v1alp + visibility = ["//visibility:public"], +) diff -urN a/googleapis/geo/type/viewport/BUILD.bazel b/googleapis/geo/type/viewport/BUILD.bazel ---- a/googleapis/geo/type/viewport/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/geo/type/viewport/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/geo/type/viewport/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,20 @@ +@@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8504,7 +9964,6 @@ diff -urN a/googleapis/geo/type/viewport/BUILD.bazel b/googleapis/geo/type/viewp + visibility = ["//visibility:public"], + deps = [ + "//googleapis/type/latlng", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -8516,7 +9975,7 @@ diff -urN a/googleapis/geo/type/viewport/BUILD.bazel b/googleapis/geo/type/viewp + visibility = ["//visibility:public"], +) diff -urN a/googleapis/grafeas/v1/BUILD.bazel b/googleapis/grafeas/v1/BUILD.bazel ---- a/googleapis/grafeas/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/grafeas/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/grafeas/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,37 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -8557,9 +10016,9 @@ diff -urN a/googleapis/grafeas/v1/BUILD.bazel b/googleapis/grafeas/v1/BUILD.baze + visibility = ["//visibility:public"], +) diff -urN a/googleapis/home/enterprise/sdm/v1/BUILD.bazel b/googleapis/home/enterprise/sdm/v1/BUILD.bazel ---- a/googleapis/home/enterprise/sdm/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/home/enterprise/sdm/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/home/enterprise/sdm/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,28 @@ +@@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8573,7 +10032,6 @@ diff -urN a/googleapis/home/enterprise/sdm/v1/BUILD.bazel b/googleapis/home/ente + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -8589,9 +10047,9 @@ diff -urN a/googleapis/home/enterprise/sdm/v1/BUILD.bazel b/googleapis/home/ente + visibility = ["//visibility:public"], +) diff -urN a/googleapis/home/graph/v1/BUILD.bazel b/googleapis/home/graph/v1/BUILD.bazel ---- a/googleapis/home/graph/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/home/graph/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/home/graph/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,28 @@ +@@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8604,7 +10062,6 @@ diff -urN a/googleapis/home/graph/v1/BUILD.bazel b/googleapis/home/graph/v1/BUIL + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -8621,9 +10078,9 @@ diff -urN a/googleapis/home/graph/v1/BUILD.bazel b/googleapis/home/graph/v1/BUIL + visibility = ["//visibility:public"], +) diff -urN a/googleapis/iam/admin/v1/BUILD.bazel b/googleapis/iam/admin/v1/BUILD.bazel ---- a/googleapis/iam/admin/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/iam/admin/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/iam/admin/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,30 @@ +@@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8637,12 +10094,13 @@ diff -urN a/googleapis/iam/admin/v1/BUILD.bazel b/googleapis/iam/admin/v1/BUILD. + deps = [ + "//googleapis/api/annotations", + "//googleapis/iam/v1:iam", -+ "@com_github_golang_protobuf//proto:go_default_library", ++ "//googleapis/type/expr", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/anypb:go_default_library", + "@org_golang_google_protobuf//types/known/emptypb:go_default_library", + "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", + "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", @@ -8655,9 +10113,9 @@ diff -urN a/googleapis/iam/admin/v1/BUILD.bazel b/googleapis/iam/admin/v1/BUILD. + visibility = ["//visibility:public"], +) diff -urN a/googleapis/iam/credentials/v1/BUILD.bazel b/googleapis/iam/credentials/v1/BUILD.bazel ---- a/googleapis/iam/credentials/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/iam/credentials/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/iam/credentials/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,28 @@ +@@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8670,7 +10128,6 @@ diff -urN a/googleapis/iam/credentials/v1/BUILD.bazel b/googleapis/iam/credentia + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -8687,9 +10144,9 @@ diff -urN a/googleapis/iam/credentials/v1/BUILD.bazel b/googleapis/iam/credentia + visibility = ["//visibility:public"], +) diff -urN a/googleapis/iam/v1/BUILD.bazel b/googleapis/iam/v1/BUILD.bazel ---- a/googleapis/iam/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/iam/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/iam/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,28 @@ +@@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8704,7 +10161,6 @@ diff -urN a/googleapis/iam/v1/BUILD.bazel b/googleapis/iam/v1/BUILD.bazel + deps = [ + "//googleapis/api/annotations", + "//googleapis/type/expr", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -8719,9 +10175,9 @@ diff -urN a/googleapis/iam/v1/BUILD.bazel b/googleapis/iam/v1/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/googleapis/iam/v1/logging/BUILD.bazel b/googleapis/iam/v1/logging/BUILD.bazel ---- a/googleapis/iam/v1/logging/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/iam/v1/logging/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/iam/v1/logging/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,21 @@ +@@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8732,7 +10188,6 @@ diff -urN a/googleapis/iam/v1/logging/BUILD.bazel b/googleapis/iam/v1/logging/BU + deps = [ + "//googleapis/api/annotations", + "//googleapis/iam/v1:iam", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -8744,9 +10199,9 @@ diff -urN a/googleapis/iam/v1/logging/BUILD.bazel b/googleapis/iam/v1/logging/BU + visibility = ["//visibility:public"], +) diff -urN a/googleapis/iam/v1beta/BUILD.bazel b/googleapis/iam/v1beta/BUILD.bazel ---- a/googleapis/iam/v1beta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/iam/v1beta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/iam/v1beta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,25 @@ +@@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8757,7 +10212,6 @@ diff -urN a/googleapis/iam/v1beta/BUILD.bazel b/googleapis/iam/v1beta/BUILD.baze + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -8773,9 +10227,9 @@ diff -urN a/googleapis/iam/v1beta/BUILD.bazel b/googleapis/iam/v1beta/BUILD.baze + visibility = ["//visibility:public"], +) diff -urN a/googleapis/identity/accesscontextmanager/type/BUILD.bazel b/googleapis/identity/accesscontextmanager/type/BUILD.bazel ---- a/googleapis/identity/accesscontextmanager/type/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/identity/accesscontextmanager/type/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/identity/accesscontextmanager/type/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,20 @@ +@@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8785,7 +10239,6 @@ diff -urN a/googleapis/identity/accesscontextmanager/type/BUILD.bazel b/googleap + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -8797,9 +10250,9 @@ diff -urN a/googleapis/identity/accesscontextmanager/type/BUILD.bazel b/googleap + visibility = ["//visibility:public"], +) diff -urN a/googleapis/identity/accesscontextmanager/v1/BUILD.bazel b/googleapis/identity/accesscontextmanager/v1/BUILD.bazel ---- a/googleapis/identity/accesscontextmanager/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/identity/accesscontextmanager/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/identity/accesscontextmanager/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,27 @@ +@@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8815,7 +10268,6 @@ diff -urN a/googleapis/identity/accesscontextmanager/v1/BUILD.bazel b/googleapis + "//googleapis/api/annotations", + "//googleapis/identity/accesscontextmanager/type", + "//googleapis/type/expr", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", @@ -8828,9 +10280,9 @@ diff -urN a/googleapis/identity/accesscontextmanager/v1/BUILD.bazel b/googleapis + visibility = ["//visibility:public"], +) diff -urN a/googleapis/logging/type/BUILD.bazel b/googleapis/logging/type/BUILD.bazel ---- a/googleapis/logging/type/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/logging/type/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/logging/type/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,24 @@ +@@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8843,7 +10295,6 @@ diff -urN a/googleapis/logging/type/BUILD.bazel b/googleapis/logging/type/BUILD. + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/durationpb:go_default_library", @@ -8856,9 +10307,9 @@ diff -urN a/googleapis/logging/type/BUILD.bazel b/googleapis/logging/type/BUILD. + visibility = ["//visibility:public"], +) diff -urN a/googleapis/logging/v2/BUILD.bazel b/googleapis/logging/v2/BUILD.bazel ---- a/googleapis/logging/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/logging/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/logging/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,39 @@ +@@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8878,7 +10329,6 @@ diff -urN a/googleapis/logging/v2/BUILD.bazel b/googleapis/logging/v2/BUILD.baze + "//googleapis/api/monitoredres", + "//googleapis/logging/type", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -8899,9 +10349,9 @@ diff -urN a/googleapis/logging/v2/BUILD.bazel b/googleapis/logging/v2/BUILD.baze + visibility = ["//visibility:public"], +) diff -urN a/googleapis/longrunning/BUILD.bazel b/googleapis/longrunning/BUILD.bazel ---- a/googleapis/longrunning/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/longrunning/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/longrunning/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,28 @@ +@@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8912,7 +10362,6 @@ diff -urN a/googleapis/longrunning/BUILD.bazel b/googleapis/longrunning/BUILD.ba + deps = [ + "//googleapis/api/annotations", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -8930,10 +10379,50 @@ diff -urN a/googleapis/longrunning/BUILD.bazel b/googleapis/longrunning/BUILD.ba + actual = ":longrunning", + visibility = ["//visibility:public"], +) +diff -urN a/googleapis/maps/fleetengine/v1/BUILD.bazel b/googleapis/maps/fleetengine/v1/BUILD.bazel +--- a/googleapis/maps/fleetengine/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/maps/fleetengine/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,36 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "fleetengine", ++ srcs = [ ++ "fleetengine.pb.go", ++ "header.pb.go", ++ "trip_api.pb.go", ++ "trips.pb.go", ++ "vehicle_api.pb.go", ++ "vehicles.pb.go", ++ ], ++ importpath = "google.golang.org/genproto/googleapis/maps/fleetengine/v1", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//googleapis/api/annotations", ++ "//googleapis/type/latlng", ++ "@org_golang_google_grpc//:go_default_library", ++ "@org_golang_google_grpc//codes:go_default_library", ++ "@org_golang_google_grpc//status:go_default_library", ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ "@org_golang_google_protobuf//types/known/anypb:go_default_library", ++ "@org_golang_google_protobuf//types/known/durationpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/emptypb:go_default_library", ++ "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", ++ "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", ++ "@org_golang_google_protobuf//types/known/wrapperspb:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":fleetengine", ++ visibility = ["//visibility:public"], ++) diff -urN a/googleapis/maps/playablelocations/v3/BUILD.bazel b/googleapis/maps/playablelocations/v3/BUILD.bazel ---- a/googleapis/maps/playablelocations/v3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/maps/playablelocations/v3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/maps/playablelocations/v3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,31 @@ +@@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8949,7 +10438,6 @@ diff -urN a/googleapis/maps/playablelocations/v3/BUILD.bazel b/googleapis/maps/p + "//googleapis/maps/playablelocations/v3/sample", + "//googleapis/maps/unity", + "//googleapis/type/latlng", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -8966,9 +10454,9 @@ diff -urN a/googleapis/maps/playablelocations/v3/BUILD.bazel b/googleapis/maps/p + visibility = ["//visibility:public"], +) diff -urN a/googleapis/maps/playablelocations/v3/sample/BUILD.bazel b/googleapis/maps/playablelocations/v3/sample/BUILD.bazel ---- a/googleapis/maps/playablelocations/v3/sample/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/maps/playablelocations/v3/sample/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/maps/playablelocations/v3/sample/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,22 @@ +@@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -8979,7 +10467,6 @@ diff -urN a/googleapis/maps/playablelocations/v3/sample/BUILD.bazel b/googleapis + deps = [ + "//googleapis/api/annotations", + "//googleapis/type/latlng", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/fieldmaskpb:go_default_library", @@ -8992,9 +10479,9 @@ diff -urN a/googleapis/maps/playablelocations/v3/sample/BUILD.bazel b/googleapis + visibility = ["//visibility:public"], +) diff -urN a/googleapis/maps/roads/v1op/BUILD.bazel b/googleapis/maps/roads/v1op/BUILD.bazel ---- a/googleapis/maps/roads/v1op/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/maps/roads/v1op/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/maps/roads/v1op/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,25 @@ +@@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9005,7 +10492,6 @@ diff -urN a/googleapis/maps/roads/v1op/BUILD.bazel b/googleapis/maps/roads/v1op/ + deps = [ + "//googleapis/api/annotations", + "//googleapis/type/latlng", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -9021,17 +10507,20 @@ diff -urN a/googleapis/maps/roads/v1op/BUILD.bazel b/googleapis/maps/roads/v1op/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/maps/routes/v1/BUILD.bazel b/googleapis/maps/routes/v1/BUILD.bazel ---- a/googleapis/maps/routes/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/maps/routes/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/maps/routes/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,43 @@ +@@ -0,0 +1,45 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "routes", + srcs = [ ++ "compute_custom_routes_request.pb.go", ++ "compute_custom_routes_response.pb.go", + "compute_route_matrix_request.pb.go", + "compute_routes_request.pb.go", + "compute_routes_response.pb.go", ++ "custom_route.pb.go", + "fallback_info.pb.go", + "polyline.pb.go", + "route.pb.go", @@ -9049,7 +10538,6 @@ diff -urN a/googleapis/maps/routes/v1/BUILD.bazel b/googleapis/maps/routes/v1/BU + "//googleapis/rpc/status", + "//googleapis/type/latlng", + "//googleapis/type/money", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -9068,9 +10556,9 @@ diff -urN a/googleapis/maps/routes/v1/BUILD.bazel b/googleapis/maps/routes/v1/BU + visibility = ["//visibility:public"], +) diff -urN a/googleapis/maps/routes/v1alpha/BUILD.bazel b/googleapis/maps/routes/v1alpha/BUILD.bazel ---- a/googleapis/maps/routes/v1alpha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/maps/routes/v1alpha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/maps/routes/v1alpha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,24 @@ +@@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9081,7 +10569,6 @@ diff -urN a/googleapis/maps/routes/v1alpha/BUILD.bazel b/googleapis/maps/routes/ + deps = [ + "//googleapis/api/annotations", + "//googleapis/maps/routes/v1:routes", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -9096,9 +10583,9 @@ diff -urN a/googleapis/maps/routes/v1alpha/BUILD.bazel b/googleapis/maps/routes/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/maps/unity/BUILD.bazel b/googleapis/maps/unity/BUILD.bazel ---- a/googleapis/maps/unity/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/maps/unity/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/maps/unity/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9107,7 +10594,6 @@ diff -urN a/googleapis/maps/unity/BUILD.bazel b/googleapis/maps/unity/BUILD.baze + importpath = "google.golang.org/genproto/googleapis/maps/unity", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -9119,9 +10605,9 @@ diff -urN a/googleapis/maps/unity/BUILD.bazel b/googleapis/maps/unity/BUILD.baze + visibility = ["//visibility:public"], +) diff -urN a/googleapis/monitoring/dashboard/v1/BUILD.bazel b/googleapis/monitoring/dashboard/v1/BUILD.bazel ---- a/googleapis/monitoring/dashboard/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/monitoring/dashboard/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/monitoring/dashboard/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,39 @@ +@@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9144,7 +10630,6 @@ diff -urN a/googleapis/monitoring/dashboard/v1/BUILD.bazel b/googleapis/monitori + deps = [ + "//googleapis/api/annotations", + "//googleapis/api/distribution", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -9162,7 +10647,7 @@ diff -urN a/googleapis/monitoring/dashboard/v1/BUILD.bazel b/googleapis/monitori + visibility = ["//visibility:public"], +) diff -urN a/googleapis/monitoring/v3/BUILD.bazel b/googleapis/monitoring/v3/BUILD.bazel ---- a/googleapis/monitoring/v3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/monitoring/v3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/monitoring/v3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,53 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9181,6 +10666,7 @@ diff -urN a/googleapis/monitoring/v3/BUILD.bazel b/googleapis/monitoring/v3/BUIL + "mutation_record.pb.go", + "notification.pb.go", + "notification_service.pb.go", ++ "query_service.pb.go", + "service.pb.go", + "service_service.pb.go", + "span_context.pb.go", @@ -9198,7 +10684,6 @@ diff -urN a/googleapis/monitoring/v3/BUILD.bazel b/googleapis/monitoring/v3/BUIL + "//googleapis/api/monitoredres", + "//googleapis/rpc/status", + "//googleapis/type/calendarperiod", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -9219,9 +10704,9 @@ diff -urN a/googleapis/monitoring/v3/BUILD.bazel b/googleapis/monitoring/v3/BUIL + visibility = ["//visibility:public"], +) diff -urN a/googleapis/partner/aistreams/v1alpha1/BUILD.bazel b/googleapis/partner/aistreams/v1alpha1/BUILD.bazel ---- a/googleapis/partner/aistreams/v1alpha1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/partner/aistreams/v1alpha1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/partner/aistreams/v1alpha1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +@@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9232,7 +10717,6 @@ diff -urN a/googleapis/partner/aistreams/v1alpha1/BUILD.bazel b/googleapis/partn + deps = [ + "//googleapis/api/annotations", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -9249,9 +10733,9 @@ diff -urN a/googleapis/partner/aistreams/v1alpha1/BUILD.bazel b/googleapis/partn + visibility = ["//visibility:public"], +) diff -urN a/googleapis/privacy/dlp/v2/BUILD.bazel b/googleapis/privacy/dlp/v2/BUILD.bazel ---- a/googleapis/privacy/dlp/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/privacy/dlp/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/privacy/dlp/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,34 @@ +@@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9268,7 +10752,6 @@ diff -urN a/googleapis/privacy/dlp/v2/BUILD.bazel b/googleapis/privacy/dlp/v2/BU + "//googleapis/type/date", + "//googleapis/type/dayofweek", + "//googleapis/type/timeofday", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -9287,9 +10770,9 @@ diff -urN a/googleapis/privacy/dlp/v2/BUILD.bazel b/googleapis/privacy/dlp/v2/BU + visibility = ["//visibility:public"], +) diff -urN a/googleapis/pubsub/v1/BUILD.bazel b/googleapis/pubsub/v1/BUILD.bazel ---- a/googleapis/pubsub/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/pubsub/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/pubsub/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,30 @@ +@@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9302,7 +10785,6 @@ diff -urN a/googleapis/pubsub/v1/BUILD.bazel b/googleapis/pubsub/v1/BUILD.bazel + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -9321,9 +10803,9 @@ diff -urN a/googleapis/pubsub/v1/BUILD.bazel b/googleapis/pubsub/v1/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/googleapis/pubsub/v1beta2/BUILD.bazel b/googleapis/pubsub/v1beta2/BUILD.bazel ---- a/googleapis/pubsub/v1beta2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/pubsub/v1beta2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/pubsub/v1beta2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,23 @@ +@@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9332,7 +10814,6 @@ diff -urN a/googleapis/pubsub/v1beta2/BUILD.bazel b/googleapis/pubsub/v1beta2/BU + importpath = "google.golang.org/genproto/googleapis/pubsub/v1beta2", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -9348,9 +10829,9 @@ diff -urN a/googleapis/pubsub/v1beta2/BUILD.bazel b/googleapis/pubsub/v1beta2/BU + visibility = ["//visibility:public"], +) diff -urN a/googleapis/rpc/code/BUILD.bazel b/googleapis/rpc/code/BUILD.bazel ---- a/googleapis/rpc/code/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/rpc/code/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/rpc/code/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9359,7 +10840,6 @@ diff -urN a/googleapis/rpc/code/BUILD.bazel b/googleapis/rpc/code/BUILD.bazel + importpath = "google.golang.org/genproto/googleapis/rpc/code", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -9371,9 +10851,9 @@ diff -urN a/googleapis/rpc/code/BUILD.bazel b/googleapis/rpc/code/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/googleapis/rpc/context/attribute_context/BUILD.bazel b/googleapis/rpc/context/attribute_context/BUILD.bazel ---- a/googleapis/rpc/context/attribute_context/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/rpc/context/attribute_context/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/rpc/context/attribute_context/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,23 @@ +@@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9382,7 +10862,6 @@ diff -urN a/googleapis/rpc/context/attribute_context/BUILD.bazel b/googleapis/rp + importpath = "google.golang.org/genproto/googleapis/rpc/context/attribute_context", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/anypb:go_default_library", @@ -9398,9 +10877,9 @@ diff -urN a/googleapis/rpc/context/attribute_context/BUILD.bazel b/googleapis/rp + visibility = ["//visibility:public"], +) diff -urN a/googleapis/rpc/errdetails/BUILD.bazel b/googleapis/rpc/errdetails/BUILD.bazel ---- a/googleapis/rpc/errdetails/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/rpc/errdetails/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/rpc/errdetails/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,20 @@ +@@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9409,7 +10888,6 @@ diff -urN a/googleapis/rpc/errdetails/BUILD.bazel b/googleapis/rpc/errdetails/BU + importpath = "google.golang.org/genproto/googleapis/rpc/errdetails", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/durationpb:go_default_library", @@ -9422,9 +10900,9 @@ diff -urN a/googleapis/rpc/errdetails/BUILD.bazel b/googleapis/rpc/errdetails/BU + visibility = ["//visibility:public"], +) diff -urN a/googleapis/rpc/status/BUILD.bazel b/googleapis/rpc/status/BUILD.bazel ---- a/googleapis/rpc/status/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/rpc/status/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/rpc/status/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,20 @@ +@@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9433,7 +10911,6 @@ diff -urN a/googleapis/rpc/status/BUILD.bazel b/googleapis/rpc/status/BUILD.baze + importpath = "google.golang.org/genproto/googleapis/rpc/status", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/anypb:go_default_library", @@ -9446,9 +10923,9 @@ diff -urN a/googleapis/rpc/status/BUILD.bazel b/googleapis/rpc/status/BUILD.baze + visibility = ["//visibility:public"], +) diff -urN a/googleapis/search/partnerdataingestion/logging/v1/BUILD.bazel b/googleapis/search/partnerdataingestion/logging/v1/BUILD.bazel ---- a/googleapis/search/partnerdataingestion/logging/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/search/partnerdataingestion/logging/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/search/partnerdataingestion/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9457,7 +10934,6 @@ diff -urN a/googleapis/search/partnerdataingestion/logging/v1/BUILD.bazel b/goog + importpath = "google.golang.org/genproto/googleapis/search/partnerdataingestion/logging/v1", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -9469,9 +10945,9 @@ diff -urN a/googleapis/search/partnerdataingestion/logging/v1/BUILD.bazel b/goog + visibility = ["//visibility:public"], +) diff -urN a/googleapis/spanner/admin/database/v1/BUILD.bazel b/googleapis/spanner/admin/database/v1/BUILD.bazel ---- a/googleapis/spanner/admin/database/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/spanner/admin/database/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/spanner/admin/database/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,33 @@ +@@ -0,0 +1,32 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9488,7 +10964,6 @@ diff -urN a/googleapis/spanner/admin/database/v1/BUILD.bazel b/googleapis/spanne + "//googleapis/iam/v1:iam", + "//googleapis/longrunning", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -9506,9 +10981,9 @@ diff -urN a/googleapis/spanner/admin/database/v1/BUILD.bazel b/googleapis/spanne + visibility = ["//visibility:public"], +) diff -urN a/googleapis/spanner/admin/instance/v1/BUILD.bazel b/googleapis/spanner/admin/instance/v1/BUILD.bazel ---- a/googleapis/spanner/admin/instance/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/spanner/admin/instance/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/spanner/admin/instance/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,28 @@ +@@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9520,7 +10995,6 @@ diff -urN a/googleapis/spanner/admin/instance/v1/BUILD.bazel b/googleapis/spanne + "//googleapis/api/annotations", + "//googleapis/iam/v1:iam", + "//googleapis/longrunning", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -9538,7 +11012,7 @@ diff -urN a/googleapis/spanner/admin/instance/v1/BUILD.bazel b/googleapis/spanne + visibility = ["//visibility:public"], +) diff -urN a/googleapis/spanner/v1/BUILD.bazel b/googleapis/spanner/v1/BUILD.bazel ---- a/googleapis/spanner/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/spanner/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/spanner/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,36 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9546,6 +11020,7 @@ diff -urN a/googleapis/spanner/v1/BUILD.bazel b/googleapis/spanner/v1/BUILD.baze +go_library( + name = "spanner", + srcs = [ ++ "commit_response.pb.go", + "keys.pb.go", + "mutation.pb.go", + "query_plan.pb.go", @@ -9559,7 +11034,6 @@ diff -urN a/googleapis/spanner/v1/BUILD.bazel b/googleapis/spanner/v1/BUILD.baze + deps = [ + "//googleapis/api/annotations", + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -9578,9 +11052,9 @@ diff -urN a/googleapis/spanner/v1/BUILD.bazel b/googleapis/spanner/v1/BUILD.baze + visibility = ["//visibility:public"], +) diff -urN a/googleapis/storage/clouddms/logging/v1/BUILD.bazel b/googleapis/storage/clouddms/logging/v1/BUILD.bazel ---- a/googleapis/storage/clouddms/logging/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/storage/clouddms/logging/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/storage/clouddms/logging/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,22 @@ +@@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9590,7 +11064,6 @@ diff -urN a/googleapis/storage/clouddms/logging/v1/BUILD.bazel b/googleapis/stor + visibility = ["//visibility:public"], + deps = [ + "//googleapis/rpc/status", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/durationpb:go_default_library", @@ -9604,9 +11077,9 @@ diff -urN a/googleapis/storage/clouddms/logging/v1/BUILD.bazel b/googleapis/stor + visibility = ["//visibility:public"], +) diff -urN a/googleapis/storage/v1/BUILD.bazel b/googleapis/storage/v1/BUILD.bazel ---- a/googleapis/storage/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/storage/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/storage/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,31 @@ +@@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9620,7 +11093,6 @@ diff -urN a/googleapis/storage/v1/BUILD.bazel b/googleapis/storage/v1/BUILD.baze + deps = [ + "//googleapis/api/annotations", + "//googleapis/iam/v1:iam", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -9639,9 +11111,9 @@ diff -urN a/googleapis/storage/v1/BUILD.bazel b/googleapis/storage/v1/BUILD.baze + visibility = ["//visibility:public"], +) diff -urN a/googleapis/storagetransfer/v1/BUILD.bazel b/googleapis/storagetransfer/v1/BUILD.bazel ---- a/googleapis/storagetransfer/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/storagetransfer/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/storagetransfer/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,33 @@ +@@ -0,0 +1,32 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9657,7 +11129,6 @@ diff -urN a/googleapis/storagetransfer/v1/BUILD.bazel b/googleapis/storagetransf + "//googleapis/rpc/code", + "//googleapis/type/date", + "//googleapis/type/timeofday", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -9676,9 +11147,9 @@ diff -urN a/googleapis/storagetransfer/v1/BUILD.bazel b/googleapis/storagetransf + visibility = ["//visibility:public"], +) diff -urN a/googleapis/streetview/publish/v1/BUILD.bazel b/googleapis/streetview/publish/v1/BUILD.bazel ---- a/googleapis/streetview/publish/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/streetview/publish/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/streetview/publish/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,32 @@ +@@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9694,7 +11165,6 @@ diff -urN a/googleapis/streetview/publish/v1/BUILD.bazel b/googleapis/streetview + "//googleapis/api/annotations", + "//googleapis/rpc/status", + "//googleapis/type/latlng", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -9712,9 +11182,9 @@ diff -urN a/googleapis/streetview/publish/v1/BUILD.bazel b/googleapis/streetview + visibility = ["//visibility:public"], +) diff -urN a/googleapis/type/calendarperiod/BUILD.bazel b/googleapis/type/calendarperiod/BUILD.bazel ---- a/googleapis/type/calendarperiod/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/type/calendarperiod/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/type/calendarperiod/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9723,7 +11193,6 @@ diff -urN a/googleapis/type/calendarperiod/BUILD.bazel b/googleapis/type/calenda + importpath = "google.golang.org/genproto/googleapis/type/calendarperiod", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -9735,9 +11204,9 @@ diff -urN a/googleapis/type/calendarperiod/BUILD.bazel b/googleapis/type/calenda + visibility = ["//visibility:public"], +) diff -urN a/googleapis/type/color/BUILD.bazel b/googleapis/type/color/BUILD.bazel ---- a/googleapis/type/color/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/type/color/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/type/color/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,20 @@ +@@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9746,7 +11215,6 @@ diff -urN a/googleapis/type/color/BUILD.bazel b/googleapis/type/color/BUILD.baze + importpath = "google.golang.org/genproto/googleapis/type/color", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/wrapperspb:go_default_library", @@ -9759,9 +11227,9 @@ diff -urN a/googleapis/type/color/BUILD.bazel b/googleapis/type/color/BUILD.baze + visibility = ["//visibility:public"], +) diff -urN a/googleapis/type/date/BUILD.bazel b/googleapis/type/date/BUILD.bazel ---- a/googleapis/type/date/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/type/date/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/type/date/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9770,7 +11238,6 @@ diff -urN a/googleapis/type/date/BUILD.bazel b/googleapis/type/date/BUILD.bazel + importpath = "google.golang.org/genproto/googleapis/type/date", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -9782,9 +11249,9 @@ diff -urN a/googleapis/type/date/BUILD.bazel b/googleapis/type/date/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/googleapis/type/date_range/BUILD.bazel b/googleapis/type/date_range/BUILD.bazel ---- a/googleapis/type/date_range/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/type/date_range/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/type/date_range/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,20 @@ +@@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9794,7 +11261,6 @@ diff -urN a/googleapis/type/date_range/BUILD.bazel b/googleapis/type/date_range/ + visibility = ["//visibility:public"], + deps = [ + "//googleapis/type/date", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -9806,9 +11272,9 @@ diff -urN a/googleapis/type/date_range/BUILD.bazel b/googleapis/type/date_range/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/type/date_time_range/BUILD.bazel b/googleapis/type/date_time_range/BUILD.bazel ---- a/googleapis/type/date_time_range/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/type/date_time_range/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/type/date_time_range/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,20 @@ +@@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9818,7 +11284,6 @@ diff -urN a/googleapis/type/date_time_range/BUILD.bazel b/googleapis/type/date_t + visibility = ["//visibility:public"], + deps = [ + "//googleapis/type/datetime", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -9830,9 +11295,9 @@ diff -urN a/googleapis/type/date_time_range/BUILD.bazel b/googleapis/type/date_t + visibility = ["//visibility:public"], +) diff -urN a/googleapis/type/datetime/BUILD.bazel b/googleapis/type/datetime/BUILD.bazel ---- a/googleapis/type/datetime/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/type/datetime/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/type/datetime/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,20 @@ +@@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9841,7 +11306,6 @@ diff -urN a/googleapis/type/datetime/BUILD.bazel b/googleapis/type/datetime/BUIL + importpath = "google.golang.org/genproto/googleapis/type/datetime", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/durationpb:go_default_library", @@ -9854,9 +11318,9 @@ diff -urN a/googleapis/type/datetime/BUILD.bazel b/googleapis/type/datetime/BUIL + visibility = ["//visibility:public"], +) diff -urN a/googleapis/type/dayofweek/BUILD.bazel b/googleapis/type/dayofweek/BUILD.bazel ---- a/googleapis/type/dayofweek/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/type/dayofweek/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/type/dayofweek/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9865,7 +11329,6 @@ diff -urN a/googleapis/type/dayofweek/BUILD.bazel b/googleapis/type/dayofweek/BU + importpath = "google.golang.org/genproto/googleapis/type/dayofweek", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -9876,10 +11339,32 @@ diff -urN a/googleapis/type/dayofweek/BUILD.bazel b/googleapis/type/dayofweek/BU + actual = ":dayofweek", + visibility = ["//visibility:public"], +) +diff -urN a/googleapis/type/decimal/BUILD.bazel b/googleapis/type/decimal/BUILD.bazel +--- a/googleapis/type/decimal/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/googleapis/type/decimal/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,18 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "decimal", ++ srcs = ["decimal.pb.go"], ++ importpath = "google.golang.org/genproto/googleapis/type/decimal", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", ++ "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":decimal", ++ visibility = ["//visibility:public"], ++) diff -urN a/googleapis/type/expr/BUILD.bazel b/googleapis/type/expr/BUILD.bazel ---- a/googleapis/type/expr/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/type/expr/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/type/expr/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9888,7 +11373,6 @@ diff -urN a/googleapis/type/expr/BUILD.bazel b/googleapis/type/expr/BUILD.bazel + importpath = "google.golang.org/genproto/googleapis/type/expr", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -9900,9 +11384,9 @@ diff -urN a/googleapis/type/expr/BUILD.bazel b/googleapis/type/expr/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/googleapis/type/fraction/BUILD.bazel b/googleapis/type/fraction/BUILD.bazel ---- a/googleapis/type/fraction/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/type/fraction/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/type/fraction/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9911,7 +11395,6 @@ diff -urN a/googleapis/type/fraction/BUILD.bazel b/googleapis/type/fraction/BUIL + importpath = "google.golang.org/genproto/googleapis/type/fraction", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -9923,9 +11406,9 @@ diff -urN a/googleapis/type/fraction/BUILD.bazel b/googleapis/type/fraction/BUIL + visibility = ["//visibility:public"], +) diff -urN a/googleapis/type/interval/BUILD.bazel b/googleapis/type/interval/BUILD.bazel ---- a/googleapis/type/interval/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/type/interval/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/type/interval/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,20 @@ +@@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9934,7 +11417,6 @@ diff -urN a/googleapis/type/interval/BUILD.bazel b/googleapis/type/interval/BUIL + importpath = "google.golang.org/genproto/googleapis/type/interval", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + "@org_golang_google_protobuf//types/known/timestamppb:go_default_library", @@ -9947,9 +11429,9 @@ diff -urN a/googleapis/type/interval/BUILD.bazel b/googleapis/type/interval/BUIL + visibility = ["//visibility:public"], +) diff -urN a/googleapis/type/latlng/BUILD.bazel b/googleapis/type/latlng/BUILD.bazel ---- a/googleapis/type/latlng/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/type/latlng/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/type/latlng/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9958,7 +11440,6 @@ diff -urN a/googleapis/type/latlng/BUILD.bazel b/googleapis/type/latlng/BUILD.ba + importpath = "google.golang.org/genproto/googleapis/type/latlng", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -9970,9 +11451,9 @@ diff -urN a/googleapis/type/latlng/BUILD.bazel b/googleapis/type/latlng/BUILD.ba + visibility = ["//visibility:public"], +) diff -urN a/googleapis/type/localized_text/BUILD.bazel b/googleapis/type/localized_text/BUILD.bazel ---- a/googleapis/type/localized_text/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/type/localized_text/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/type/localized_text/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9981,7 +11462,6 @@ diff -urN a/googleapis/type/localized_text/BUILD.bazel b/googleapis/type/localiz + importpath = "google.golang.org/genproto/googleapis/type/localized_text", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -9993,9 +11473,9 @@ diff -urN a/googleapis/type/localized_text/BUILD.bazel b/googleapis/type/localiz + visibility = ["//visibility:public"], +) diff -urN a/googleapis/type/money/BUILD.bazel b/googleapis/type/money/BUILD.bazel ---- a/googleapis/type/money/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/type/money/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/type/money/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -10004,7 +11484,6 @@ diff -urN a/googleapis/type/money/BUILD.bazel b/googleapis/type/money/BUILD.baze + importpath = "google.golang.org/genproto/googleapis/type/money", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -10016,9 +11495,9 @@ diff -urN a/googleapis/type/money/BUILD.bazel b/googleapis/type/money/BUILD.baze + visibility = ["//visibility:public"], +) diff -urN a/googleapis/type/month/BUILD.bazel b/googleapis/type/month/BUILD.bazel ---- a/googleapis/type/month/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/type/month/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/type/month/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -10027,7 +11506,6 @@ diff -urN a/googleapis/type/month/BUILD.bazel b/googleapis/type/month/BUILD.baze + importpath = "google.golang.org/genproto/googleapis/type/month", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -10039,9 +11517,9 @@ diff -urN a/googleapis/type/month/BUILD.bazel b/googleapis/type/month/BUILD.baze + visibility = ["//visibility:public"], +) diff -urN a/googleapis/type/phone_number/BUILD.bazel b/googleapis/type/phone_number/BUILD.bazel ---- a/googleapis/type/phone_number/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/type/phone_number/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/type/phone_number/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -10050,7 +11528,6 @@ diff -urN a/googleapis/type/phone_number/BUILD.bazel b/googleapis/type/phone_num + importpath = "google.golang.org/genproto/googleapis/type/phone_number", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -10062,9 +11539,9 @@ diff -urN a/googleapis/type/phone_number/BUILD.bazel b/googleapis/type/phone_num + visibility = ["//visibility:public"], +) diff -urN a/googleapis/type/postaladdress/BUILD.bazel b/googleapis/type/postaladdress/BUILD.bazel ---- a/googleapis/type/postaladdress/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/type/postaladdress/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/type/postaladdress/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -10073,7 +11550,6 @@ diff -urN a/googleapis/type/postaladdress/BUILD.bazel b/googleapis/type/postalad + importpath = "google.golang.org/genproto/googleapis/type/postaladdress", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -10085,9 +11561,9 @@ diff -urN a/googleapis/type/postaladdress/BUILD.bazel b/googleapis/type/postalad + visibility = ["//visibility:public"], +) diff -urN a/googleapis/type/quaternion/BUILD.bazel b/googleapis/type/quaternion/BUILD.bazel ---- a/googleapis/type/quaternion/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/type/quaternion/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/type/quaternion/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -10096,7 +11572,6 @@ diff -urN a/googleapis/type/quaternion/BUILD.bazel b/googleapis/type/quaternion/ + importpath = "google.golang.org/genproto/googleapis/type/quaternion", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -10108,9 +11583,9 @@ diff -urN a/googleapis/type/quaternion/BUILD.bazel b/googleapis/type/quaternion/ + visibility = ["//visibility:public"], +) diff -urN a/googleapis/type/timeofday/BUILD.bazel b/googleapis/type/timeofday/BUILD.bazel ---- a/googleapis/type/timeofday/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/type/timeofday/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/type/timeofday/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -10119,7 +11594,6 @@ diff -urN a/googleapis/type/timeofday/BUILD.bazel b/googleapis/type/timeofday/BU + importpath = "google.golang.org/genproto/googleapis/type/timeofday", + visibility = ["//visibility:public"], + deps = [ -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_protobuf//reflect/protoreflect:go_default_library", + "@org_golang_google_protobuf//runtime/protoimpl:go_default_library", + ], @@ -10131,9 +11605,9 @@ diff -urN a/googleapis/type/timeofday/BUILD.bazel b/googleapis/type/timeofday/BU + visibility = ["//visibility:public"], +) diff -urN a/googleapis/watcher/v1/BUILD.bazel b/googleapis/watcher/v1/BUILD.bazel ---- a/googleapis/watcher/v1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/googleapis/watcher/v1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/googleapis/watcher/v1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,25 @@ +@@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -10143,7 +11617,6 @@ diff -urN a/googleapis/watcher/v1/BUILD.bazel b/googleapis/watcher/v1/BUILD.baze + visibility = ["//visibility:public"], + deps = [ + "//googleapis/api/annotations", -+ "@com_github_golang_protobuf//proto:go_default_library", + "@org_golang_google_grpc//:go_default_library", + "@org_golang_google_grpc//codes:go_default_library", + "@org_golang_google_grpc//status:go_default_library", @@ -10160,7 +11633,7 @@ diff -urN a/googleapis/watcher/v1/BUILD.bazel b/googleapis/watcher/v1/BUILD.baze + visibility = ["//visibility:public"], +) diff -urN a/protobuf/api/BUILD.bazel b/protobuf/api/BUILD.bazel ---- a/protobuf/api/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protobuf/api/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protobuf/api/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10179,7 +11652,7 @@ diff -urN a/protobuf/api/BUILD.bazel b/protobuf/api/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/protobuf/field_mask/BUILD.bazel b/protobuf/field_mask/BUILD.bazel ---- a/protobuf/field_mask/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protobuf/field_mask/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protobuf/field_mask/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10198,7 +11671,7 @@ diff -urN a/protobuf/field_mask/BUILD.bazel b/protobuf/field_mask/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/protobuf/ptype/BUILD.bazel b/protobuf/ptype/BUILD.bazel ---- a/protobuf/ptype/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protobuf/ptype/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protobuf/ptype/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10217,7 +11690,7 @@ diff -urN a/protobuf/ptype/BUILD.bazel b/protobuf/ptype/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/protobuf/source_context/BUILD.bazel b/protobuf/source_context/BUILD.bazel ---- a/protobuf/source_context/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/protobuf/source_context/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/protobuf/source_context/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") diff --git a/third_party/org_golang_google_protobuf-gazelle.patch b/third_party/org_golang_google_protobuf-gazelle.patch index 47362b577c..cede730da5 100644 --- a/third_party/org_golang_google_protobuf-gazelle.patch +++ b/third_party/org_golang_google_protobuf-gazelle.patch @@ -1,5 +1,5 @@ diff -urN a/cmd/protoc-gen-go/BUILD.bazel b/cmd/protoc-gen-go/BUILD.bazel ---- a/cmd/protoc-gen-go/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/cmd/protoc-gen-go/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/cmd/protoc-gen-go/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test") @@ -34,9 +34,9 @@ diff -urN a/cmd/protoc-gen-go/BUILD.bazel b/cmd/protoc-gen-go/BUILD.bazel + ], +) diff -urN a/cmd/protoc-gen-go/internal_gengo/BUILD.bazel b/cmd/protoc-gen-go/internal_gengo/BUILD.bazel ---- a/cmd/protoc-gen-go/internal_gengo/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/cmd/protoc-gen-go/internal_gengo/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/cmd/protoc-gen-go/internal_gengo/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,32 @@ +@@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -52,7 +52,6 @@ diff -urN a/cmd/protoc-gen-go/internal_gengo/BUILD.bazel b/cmd/protoc-gen-go/int + deps = [ + "//compiler/protogen", + "//encoding/protowire", -+ "//internal/encoding/messageset", + "//internal/encoding/tag", + "//internal/genid", + "//internal/version", @@ -70,7 +69,7 @@ diff -urN a/cmd/protoc-gen-go/internal_gengo/BUILD.bazel b/cmd/protoc-gen-go/int + visibility = ["//visibility:public"], +) diff -urN a/cmd/protoc-gen-go/testdata/BUILD.bazel b/cmd/protoc-gen-go/testdata/BUILD.bazel ---- a/cmd/protoc-gen-go/testdata/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/cmd/protoc-gen-go/testdata/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/cmd/protoc-gen-go/testdata/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_test") @@ -107,7 +106,7 @@ diff -urN a/cmd/protoc-gen-go/testdata/BUILD.bazel b/cmd/protoc-gen-go/testdata/ + ], +) diff -urN a/cmd/protoc-gen-go/testdata/annotations/BUILD.bazel b/cmd/protoc-gen-go/testdata/annotations/BUILD.bazel ---- a/cmd/protoc-gen-go/testdata/annotations/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/cmd/protoc-gen-go/testdata/annotations/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/cmd/protoc-gen-go/testdata/annotations/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -129,9 +128,9 @@ diff -urN a/cmd/protoc-gen-go/testdata/annotations/BUILD.bazel b/cmd/protoc-gen- + visibility = ["//visibility:public"], +) diff -urN a/cmd/protoc-gen-go/testdata/comments/BUILD.bazel b/cmd/protoc-gen-go/testdata/comments/BUILD.bazel ---- a/cmd/protoc-gen-go/testdata/comments/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/cmd/protoc-gen-go/testdata/comments/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/cmd/protoc-gen-go/testdata/comments/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,22 @@ +@@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -144,7 +143,6 @@ diff -urN a/cmd/protoc-gen-go/testdata/comments/BUILD.bazel b/cmd/protoc-gen-go/ + visibility = ["//visibility:public"], + deps = [ + "//reflect/protoreflect", -+ "//runtime/protoiface", + "//runtime/protoimpl", + ], +) @@ -155,9 +153,9 @@ diff -urN a/cmd/protoc-gen-go/testdata/comments/BUILD.bazel b/cmd/protoc-gen-go/ + visibility = ["//visibility:public"], +) diff -urN a/cmd/protoc-gen-go/testdata/extensions/base/BUILD.bazel b/cmd/protoc-gen-go/testdata/extensions/base/BUILD.bazel ---- a/cmd/protoc-gen-go/testdata/extensions/base/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/cmd/protoc-gen-go/testdata/extensions/base/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/cmd/protoc-gen-go/testdata/extensions/base/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -167,7 +165,6 @@ diff -urN a/cmd/protoc-gen-go/testdata/extensions/base/BUILD.bazel b/cmd/protoc- + visibility = ["//visibility:public"], + deps = [ + "//reflect/protoreflect", -+ "//runtime/protoiface", + "//runtime/protoimpl", + ], +) @@ -178,9 +175,9 @@ diff -urN a/cmd/protoc-gen-go/testdata/extensions/base/BUILD.bazel b/cmd/protoc- + visibility = ["//visibility:public"], +) diff -urN a/cmd/protoc-gen-go/testdata/extensions/ext/BUILD.bazel b/cmd/protoc-gen-go/testdata/extensions/ext/BUILD.bazel ---- a/cmd/protoc-gen-go/testdata/extensions/ext/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/cmd/protoc-gen-go/testdata/extensions/ext/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/cmd/protoc-gen-go/testdata/extensions/ext/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,21 @@ +@@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -192,7 +189,6 @@ diff -urN a/cmd/protoc-gen-go/testdata/extensions/ext/BUILD.bazel b/cmd/protoc-g + "//cmd/protoc-gen-go/testdata/extensions/base", + "//cmd/protoc-gen-go/testdata/extensions/extra", + "//reflect/protoreflect", -+ "//runtime/protoiface", + "//runtime/protoimpl", + ], +) @@ -203,7 +199,7 @@ diff -urN a/cmd/protoc-gen-go/testdata/extensions/ext/BUILD.bazel b/cmd/protoc-g + visibility = ["//visibility:public"], +) diff -urN a/cmd/protoc-gen-go/testdata/extensions/extra/BUILD.bazel b/cmd/protoc-gen-go/testdata/extensions/extra/BUILD.bazel ---- a/cmd/protoc-gen-go/testdata/extensions/extra/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/cmd/protoc-gen-go/testdata/extensions/extra/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/cmd/protoc-gen-go/testdata/extensions/extra/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -225,7 +221,7 @@ diff -urN a/cmd/protoc-gen-go/testdata/extensions/extra/BUILD.bazel b/cmd/protoc + visibility = ["//visibility:public"], +) diff -urN a/cmd/protoc-gen-go/testdata/extensions/proto3/BUILD.bazel b/cmd/protoc-gen-go/testdata/extensions/proto3/BUILD.bazel ---- a/cmd/protoc-gen-go/testdata/extensions/proto3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/cmd/protoc-gen-go/testdata/extensions/proto3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/cmd/protoc-gen-go/testdata/extensions/proto3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -248,7 +244,7 @@ diff -urN a/cmd/protoc-gen-go/testdata/extensions/proto3/BUILD.bazel b/cmd/proto + visibility = ["//visibility:public"], +) diff -urN a/cmd/protoc-gen-go/testdata/fieldnames/BUILD.bazel b/cmd/protoc-gen-go/testdata/fieldnames/BUILD.bazel ---- a/cmd/protoc-gen-go/testdata/fieldnames/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/cmd/protoc-gen-go/testdata/fieldnames/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/cmd/protoc-gen-go/testdata/fieldnames/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -270,7 +266,7 @@ diff -urN a/cmd/protoc-gen-go/testdata/fieldnames/BUILD.bazel b/cmd/protoc-gen-g + visibility = ["//visibility:public"], +) diff -urN a/cmd/protoc-gen-go/testdata/import_public/BUILD.bazel b/cmd/protoc-gen-go/testdata/import_public/BUILD.bazel ---- a/cmd/protoc-gen-go/testdata/import_public/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/cmd/protoc-gen-go/testdata/import_public/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/cmd/protoc-gen-go/testdata/import_public/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -298,9 +294,9 @@ diff -urN a/cmd/protoc-gen-go/testdata/import_public/BUILD.bazel b/cmd/protoc-ge + visibility = ["//visibility:public"], +) diff -urN a/cmd/protoc-gen-go/testdata/import_public/sub/BUILD.bazel b/cmd/protoc-gen-go/testdata/import_public/sub/BUILD.bazel ---- a/cmd/protoc-gen-go/testdata/import_public/sub/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/cmd/protoc-gen-go/testdata/import_public/sub/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/cmd/protoc-gen-go/testdata/import_public/sub/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,23 @@ +@@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -314,7 +310,6 @@ diff -urN a/cmd/protoc-gen-go/testdata/import_public/sub/BUILD.bazel b/cmd/proto + deps = [ + "//cmd/protoc-gen-go/testdata/import_public/sub2", + "//reflect/protoreflect", -+ "//runtime/protoiface", + "//runtime/protoimpl", + ], +) @@ -325,7 +320,7 @@ diff -urN a/cmd/protoc-gen-go/testdata/import_public/sub/BUILD.bazel b/cmd/proto + visibility = ["//visibility:public"], +) diff -urN a/cmd/protoc-gen-go/testdata/import_public/sub2/BUILD.bazel b/cmd/protoc-gen-go/testdata/import_public/sub2/BUILD.bazel ---- a/cmd/protoc-gen-go/testdata/import_public/sub2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/cmd/protoc-gen-go/testdata/import_public/sub2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/cmd/protoc-gen-go/testdata/import_public/sub2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -347,7 +342,7 @@ diff -urN a/cmd/protoc-gen-go/testdata/import_public/sub2/BUILD.bazel b/cmd/prot + visibility = ["//visibility:public"], +) diff -urN a/cmd/protoc-gen-go/testdata/imports/BUILD.bazel b/cmd/protoc-gen-go/testdata/imports/BUILD.bazel ---- a/cmd/protoc-gen-go/testdata/imports/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/cmd/protoc-gen-go/testdata/imports/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/cmd/protoc-gen-go/testdata/imports/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -377,7 +372,7 @@ diff -urN a/cmd/protoc-gen-go/testdata/imports/BUILD.bazel b/cmd/protoc-gen-go/t + visibility = ["//visibility:public"], +) diff -urN a/cmd/protoc-gen-go/testdata/imports/fmt/BUILD.bazel b/cmd/protoc-gen-go/testdata/imports/fmt/BUILD.bazel ---- a/cmd/protoc-gen-go/testdata/imports/fmt/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/cmd/protoc-gen-go/testdata/imports/fmt/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/cmd/protoc-gen-go/testdata/imports/fmt/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -399,7 +394,7 @@ diff -urN a/cmd/protoc-gen-go/testdata/imports/fmt/BUILD.bazel b/cmd/protoc-gen- + visibility = ["//visibility:public"], +) diff -urN a/cmd/protoc-gen-go/testdata/imports/test_a_1/BUILD.bazel b/cmd/protoc-gen-go/testdata/imports/test_a_1/BUILD.bazel ---- a/cmd/protoc-gen-go/testdata/imports/test_a_1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/cmd/protoc-gen-go/testdata/imports/test_a_1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/cmd/protoc-gen-go/testdata/imports/test_a_1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -424,7 +419,7 @@ diff -urN a/cmd/protoc-gen-go/testdata/imports/test_a_1/BUILD.bazel b/cmd/protoc + visibility = ["//visibility:public"], +) diff -urN a/cmd/protoc-gen-go/testdata/imports/test_a_2/BUILD.bazel b/cmd/protoc-gen-go/testdata/imports/test_a_2/BUILD.bazel ---- a/cmd/protoc-gen-go/testdata/imports/test_a_2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/cmd/protoc-gen-go/testdata/imports/test_a_2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/cmd/protoc-gen-go/testdata/imports/test_a_2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -449,7 +444,7 @@ diff -urN a/cmd/protoc-gen-go/testdata/imports/test_a_2/BUILD.bazel b/cmd/protoc + visibility = ["//visibility:public"], +) diff -urN a/cmd/protoc-gen-go/testdata/imports/test_b_1/BUILD.bazel b/cmd/protoc-gen-go/testdata/imports/test_b_1/BUILD.bazel ---- a/cmd/protoc-gen-go/testdata/imports/test_b_1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/cmd/protoc-gen-go/testdata/imports/test_b_1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/cmd/protoc-gen-go/testdata/imports/test_b_1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -474,7 +469,7 @@ diff -urN a/cmd/protoc-gen-go/testdata/imports/test_b_1/BUILD.bazel b/cmd/protoc + visibility = ["//visibility:public"], +) diff -urN a/cmd/protoc-gen-go/testdata/issue780_oneof_conflict/BUILD.bazel b/cmd/protoc-gen-go/testdata/issue780_oneof_conflict/BUILD.bazel ---- a/cmd/protoc-gen-go/testdata/issue780_oneof_conflict/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/cmd/protoc-gen-go/testdata/issue780_oneof_conflict/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/cmd/protoc-gen-go/testdata/issue780_oneof_conflict/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -496,7 +491,7 @@ diff -urN a/cmd/protoc-gen-go/testdata/issue780_oneof_conflict/BUILD.bazel b/cmd + visibility = ["//visibility:public"], +) diff -urN a/cmd/protoc-gen-go/testdata/nopackage/BUILD.bazel b/cmd/protoc-gen-go/testdata/nopackage/BUILD.bazel ---- a/cmd/protoc-gen-go/testdata/nopackage/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/cmd/protoc-gen-go/testdata/nopackage/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/cmd/protoc-gen-go/testdata/nopackage/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -518,7 +513,7 @@ diff -urN a/cmd/protoc-gen-go/testdata/nopackage/BUILD.bazel b/cmd/protoc-gen-go + visibility = ["//visibility:public"], +) diff -urN a/cmd/protoc-gen-go/testdata/proto2/BUILD.bazel b/cmd/protoc-gen-go/testdata/proto2/BUILD.bazel ---- a/cmd/protoc-gen-go/testdata/proto2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/cmd/protoc-gen-go/testdata/proto2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/cmd/protoc-gen-go/testdata/proto2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -545,7 +540,7 @@ diff -urN a/cmd/protoc-gen-go/testdata/proto2/BUILD.bazel b/cmd/protoc-gen-go/te + visibility = ["//visibility:public"], +) diff -urN a/cmd/protoc-gen-go/testdata/proto3/BUILD.bazel b/cmd/protoc-gen-go/testdata/proto3/BUILD.bazel ---- a/cmd/protoc-gen-go/testdata/proto3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/cmd/protoc-gen-go/testdata/proto3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/cmd/protoc-gen-go/testdata/proto3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -570,7 +565,7 @@ diff -urN a/cmd/protoc-gen-go/testdata/proto3/BUILD.bazel b/cmd/protoc-gen-go/te + visibility = ["//visibility:public"], +) diff -urN a/compiler/protogen/BUILD.bazel b/compiler/protogen/BUILD.bazel ---- a/compiler/protogen/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/compiler/protogen/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/compiler/protogen/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -612,7 +607,7 @@ diff -urN a/compiler/protogen/BUILD.bazel b/compiler/protogen/BUILD.bazel + ], +) diff -urN a/encoding/BUILD.bazel b/encoding/BUILD.bazel ---- a/encoding/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/encoding/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/encoding/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,12 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_test") @@ -628,9 +623,9 @@ diff -urN a/encoding/BUILD.bazel b/encoding/BUILD.bazel + ], +) diff -urN a/encoding/protojson/BUILD.bazel b/encoding/protojson/BUILD.bazel ---- a/encoding/protojson/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/encoding/protojson/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/encoding/protojson/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,62 @@ +@@ -0,0 +1,64 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( @@ -647,8 +642,10 @@ diff -urN a/encoding/protojson/BUILD.bazel b/encoding/protojson/BUILD.bazel + "//internal/encoding/json", + "//internal/encoding/messageset", + "//internal/errors", ++ "//internal/filedesc", + "//internal/flags", + "//internal/genid", ++ "//internal/order", + "//internal/pragma", + "//internal/set", + "//internal/strs", @@ -671,8 +668,8 @@ diff -urN a/encoding/protojson/BUILD.bazel b/encoding/protojson/BUILD.bazel + "decode_test.go", + "encode_test.go", + ], -+ embed = [":protojson"], + deps = [ ++ ":protojson", + "//internal/detrand", + "//internal/errors", + "//internal/flags", @@ -694,7 +691,7 @@ diff -urN a/encoding/protojson/BUILD.bazel b/encoding/protojson/BUILD.bazel + ], +) diff -urN a/encoding/prototext/BUILD.bazel b/encoding/prototext/BUILD.bazel ---- a/encoding/prototext/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/encoding/prototext/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/encoding/prototext/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,61 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -715,7 +712,7 @@ diff -urN a/encoding/prototext/BUILD.bazel b/encoding/prototext/BUILD.bazel + "//internal/errors", + "//internal/flags", + "//internal/genid", -+ "//internal/mapsort", ++ "//internal/order", + "//internal/pragma", + "//internal/set", + "//internal/strs", @@ -738,8 +735,8 @@ diff -urN a/encoding/prototext/BUILD.bazel b/encoding/prototext/BUILD.bazel + "encode_test.go", + "other_test.go", + ], -+ embed = [":prototext"], + deps = [ ++ ":prototext", + "//internal/detrand", + "//internal/flags", + "//internal/testprotos/test", @@ -759,7 +756,7 @@ diff -urN a/encoding/prototext/BUILD.bazel b/encoding/prototext/BUILD.bazel + ], +) diff -urN a/encoding/protowire/BUILD.bazel b/encoding/protowire/BUILD.bazel ---- a/encoding/protowire/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/encoding/protowire/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/encoding/protowire/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -784,7 +781,7 @@ diff -urN a/encoding/protowire/BUILD.bazel b/encoding/protowire/BUILD.bazel + embed = [":protowire"], +) diff -urN a/internal/benchmarks/BUILD.bazel b/internal/benchmarks/BUILD.bazel ---- a/internal/benchmarks/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/benchmarks/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/benchmarks/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_test") @@ -807,7 +804,7 @@ diff -urN a/internal/benchmarks/BUILD.bazel b/internal/benchmarks/BUILD.bazel + ], +) diff -urN a/internal/benchmarks/micro/BUILD.bazel b/internal/benchmarks/micro/BUILD.bazel ---- a/internal/benchmarks/micro/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/benchmarks/micro/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/benchmarks/micro/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_test") @@ -825,7 +822,7 @@ diff -urN a/internal/benchmarks/micro/BUILD.bazel b/internal/benchmarks/micro/BU + ], +) diff -urN a/internal/cmd/generate-corpus/BUILD.bazel b/internal/cmd/generate-corpus/BUILD.bazel ---- a/internal/cmd/generate-corpus/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/cmd/generate-corpus/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/cmd/generate-corpus/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -850,7 +847,7 @@ diff -urN a/internal/cmd/generate-corpus/BUILD.bazel b/internal/cmd/generate-cor + visibility = ["//:__subpackages__"], +) diff -urN a/internal/cmd/generate-protos/BUILD.bazel b/internal/cmd/generate-protos/BUILD.bazel ---- a/internal/cmd/generate-protos/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/cmd/generate-protos/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/cmd/generate-protos/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -873,7 +870,7 @@ diff -urN a/internal/cmd/generate-protos/BUILD.bazel b/internal/cmd/generate-pro + visibility = ["//:__subpackages__"], +) diff -urN a/internal/cmd/generate-types/BUILD.bazel b/internal/cmd/generate-types/BUILD.bazel ---- a/internal/cmd/generate-types/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/cmd/generate-types/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/cmd/generate-types/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -895,7 +892,7 @@ diff -urN a/internal/cmd/generate-types/BUILD.bazel b/internal/cmd/generate-type + visibility = ["//:__subpackages__"], +) diff -urN a/internal/cmd/pbdump/BUILD.bazel b/internal/cmd/pbdump/BUILD.bazel ---- a/internal/cmd/pbdump/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/cmd/pbdump/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/cmd/pbdump/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test") @@ -934,7 +931,7 @@ diff -urN a/internal/cmd/pbdump/BUILD.bazel b/internal/cmd/pbdump/BUILD.bazel + ], +) diff -urN a/internal/conformance/BUILD.bazel b/internal/conformance/BUILD.bazel ---- a/internal/conformance/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/conformance/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/conformance/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,12 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_test") @@ -950,7 +947,7 @@ diff -urN a/internal/conformance/BUILD.bazel b/internal/conformance/BUILD.bazel + ], +) diff -urN a/internal/descfmt/BUILD.bazel b/internal/descfmt/BUILD.bazel ---- a/internal/descfmt/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/descfmt/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/descfmt/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -979,7 +976,7 @@ diff -urN a/internal/descfmt/BUILD.bazel b/internal/descfmt/BUILD.bazel + embed = [":descfmt"], +) diff -urN a/internal/descopts/BUILD.bazel b/internal/descopts/BUILD.bazel ---- a/internal/descopts/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/descopts/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/descopts/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -998,7 +995,7 @@ diff -urN a/internal/descopts/BUILD.bazel b/internal/descopts/BUILD.bazel + visibility = ["//:__subpackages__"], +) diff -urN a/internal/detrand/BUILD.bazel b/internal/detrand/BUILD.bazel ---- a/internal/detrand/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/detrand/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/detrand/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -1022,7 +1019,7 @@ diff -urN a/internal/detrand/BUILD.bazel b/internal/detrand/BUILD.bazel + embed = [":detrand"], +) diff -urN a/internal/encoding/defval/BUILD.bazel b/internal/encoding/defval/BUILD.bazel ---- a/internal/encoding/defval/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/encoding/defval/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/encoding/defval/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -1048,14 +1045,14 @@ diff -urN a/internal/encoding/defval/BUILD.bazel b/internal/encoding/defval/BUIL +go_test( + name = "defval_test", + srcs = ["default_test.go"], -+ embed = [":defval"], + deps = [ ++ ":defval", + "//internal/filedesc", + "//reflect/protoreflect", + ], +) diff -urN a/internal/encoding/json/BUILD.bazel b/internal/encoding/json/BUILD.bazel ---- a/internal/encoding/json/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/encoding/json/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/encoding/json/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -1091,17 +1088,17 @@ diff -urN a/internal/encoding/json/BUILD.bazel b/internal/encoding/json/BUILD.ba + "decode_test.go", + "encode_test.go", + ], -+ embed = [":json"], + deps = [ ++ ":json", + "//internal/detrand", + "@com_github_google_go_cmp//cmp:go_default_library", + "@com_github_google_go_cmp//cmp/cmpopts:go_default_library", + ], +) diff -urN a/internal/encoding/messageset/BUILD.bazel b/internal/encoding/messageset/BUILD.bazel ---- a/internal/encoding/messageset/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/encoding/messageset/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/encoding/messageset/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,20 @@ +@@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -1113,7 +1110,6 @@ diff -urN a/internal/encoding/messageset/BUILD.bazel b/internal/encoding/message + "//encoding/protowire", + "//internal/errors", + "//reflect/protoreflect", -+ "//reflect/protoregistry", + ], +) + @@ -1123,7 +1119,7 @@ diff -urN a/internal/encoding/messageset/BUILD.bazel b/internal/encoding/message + visibility = ["//:__subpackages__"], +) diff -urN a/internal/encoding/tag/BUILD.bazel b/internal/encoding/tag/BUILD.bazel ---- a/internal/encoding/tag/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/encoding/tag/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/encoding/tag/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,32 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -1150,8 +1146,8 @@ diff -urN a/internal/encoding/tag/BUILD.bazel b/internal/encoding/tag/BUILD.baze +go_test( + name = "tag_test", + srcs = ["tag_test.go"], -+ embed = [":tag"], + deps = [ ++ ":tag", + "//internal/filedesc", + "//proto", + "//reflect/protodesc", @@ -1159,7 +1155,7 @@ diff -urN a/internal/encoding/tag/BUILD.bazel b/internal/encoding/tag/BUILD.baze + ], +) diff -urN a/internal/encoding/text/BUILD.bazel b/internal/encoding/text/BUILD.bazel ---- a/internal/encoding/text/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/encoding/text/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/encoding/text/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,41 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -1196,15 +1192,15 @@ diff -urN a/internal/encoding/text/BUILD.bazel b/internal/encoding/text/BUILD.ba + "decode_test.go", + "encode_test.go", + ], -+ embed = [":text"], + deps = [ ++ ":text", + "//internal/detrand", + "//internal/flags", + "@com_github_google_go_cmp//cmp:go_default_library", + ], +) diff -urN a/internal/errors/BUILD.bazel b/internal/errors/BUILD.bazel ---- a/internal/errors/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/errors/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/errors/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -1232,29 +1228,10 @@ diff -urN a/internal/errors/BUILD.bazel b/internal/errors/BUILD.bazel + srcs = ["errors_test.go"], + embed = [":errors"], +) -diff -urN a/internal/fieldsort/BUILD.bazel b/internal/fieldsort/BUILD.bazel ---- a/internal/fieldsort/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/internal/fieldsort/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,15 @@ -+load("@io_bazel_rules_go//go:def.bzl", "go_library") -+ -+go_library( -+ name = "fieldsort", -+ srcs = ["fieldsort.go"], -+ importpath = "google.golang.org/protobuf/internal/fieldsort", -+ visibility = ["//:__subpackages__"], -+ deps = ["//reflect/protoreflect"], -+) -+ -+alias( -+ name = "go_default_library", -+ actual = ":fieldsort", -+ visibility = ["//:__subpackages__"], -+) diff -urN a/internal/filedesc/BUILD.bazel b/internal/filedesc/BUILD.bazel ---- a/internal/filedesc/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/filedesc/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/filedesc/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,54 @@ +@@ -0,0 +1,55 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( @@ -1275,6 +1252,7 @@ diff -urN a/internal/filedesc/BUILD.bazel b/internal/filedesc/BUILD.bazel + "//internal/descfmt", + "//internal/descopts", + "//internal/encoding/defval", ++ "//internal/encoding/messageset", + "//internal/errors", + "//internal/genid", + "//internal/pragma", @@ -1297,8 +1275,8 @@ diff -urN a/internal/filedesc/BUILD.bazel b/internal/filedesc/BUILD.bazel + "build_test.go", + "desc_test.go", + ], -+ embed = [":filedesc"], + deps = [ ++ ":filedesc", + "//internal/detrand", + "//internal/testprotos/test", + "//internal/testprotos/test/weak1", @@ -1310,7 +1288,7 @@ diff -urN a/internal/filedesc/BUILD.bazel b/internal/filedesc/BUILD.bazel + ], +) diff -urN a/internal/filetype/BUILD.bazel b/internal/filetype/BUILD.bazel ---- a/internal/filetype/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/filetype/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/filetype/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1335,7 +1313,7 @@ diff -urN a/internal/filetype/BUILD.bazel b/internal/filetype/BUILD.bazel + visibility = ["//:__subpackages__"], +) diff -urN a/internal/flags/BUILD.bazel b/internal/flags/BUILD.bazel ---- a/internal/flags/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/flags/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/flags/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1356,7 +1334,7 @@ diff -urN a/internal/flags/BUILD.bazel b/internal/flags/BUILD.bazel + visibility = ["//:__subpackages__"], +) diff -urN a/internal/fuzz/jsonfuzz/BUILD.bazel b/internal/fuzz/jsonfuzz/BUILD.bazel ---- a/internal/fuzz/jsonfuzz/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/fuzz/jsonfuzz/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/fuzz/jsonfuzz/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -1386,7 +1364,7 @@ diff -urN a/internal/fuzz/jsonfuzz/BUILD.bazel b/internal/fuzz/jsonfuzz/BUILD.ba + deps = ["//internal/fuzztest"], +) diff -urN a/internal/fuzz/textfuzz/BUILD.bazel b/internal/fuzz/textfuzz/BUILD.bazel ---- a/internal/fuzz/textfuzz/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/fuzz/textfuzz/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/fuzz/textfuzz/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -1416,7 +1394,7 @@ diff -urN a/internal/fuzz/textfuzz/BUILD.bazel b/internal/fuzz/textfuzz/BUILD.ba + deps = ["//internal/fuzztest"], +) diff -urN a/internal/fuzz/wirefuzz/BUILD.bazel b/internal/fuzz/wirefuzz/BUILD.bazel ---- a/internal/fuzz/wirefuzz/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/fuzz/wirefuzz/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/fuzz/wirefuzz/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -1448,7 +1426,7 @@ diff -urN a/internal/fuzz/wirefuzz/BUILD.bazel b/internal/fuzz/wirefuzz/BUILD.ba + deps = ["//internal/fuzztest"], +) diff -urN a/internal/fuzztest/BUILD.bazel b/internal/fuzztest/BUILD.bazel ---- a/internal/fuzztest/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/fuzztest/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/fuzztest/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1466,7 +1444,7 @@ diff -urN a/internal/fuzztest/BUILD.bazel b/internal/fuzztest/BUILD.bazel + visibility = ["//:__subpackages__"], +) diff -urN a/internal/genid/BUILD.bazel b/internal/genid/BUILD.bazel ---- a/internal/genid/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/genid/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/genid/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1501,9 +1479,9 @@ diff -urN a/internal/genid/BUILD.bazel b/internal/genid/BUILD.bazel + visibility = ["//:__subpackages__"], +) diff -urN a/internal/impl/BUILD.bazel b/internal/impl/BUILD.bazel ---- a/internal/impl/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/impl/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/impl/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,109 @@ +@@ -0,0 +1,111 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( @@ -1549,13 +1527,14 @@ diff -urN a/internal/impl/BUILD.bazel b/internal/impl/BUILD.bazel + "//encoding/prototext", + "//encoding/protowire", + "//internal/descopts", ++ "//internal/detrand", + "//internal/encoding/messageset", + "//internal/encoding/tag", + "//internal/errors", -+ "//internal/fieldsort", + "//internal/filedesc", + "//internal/flags", + "//internal/genid", ++ "//internal/order", + "//internal/pragma", + "//internal/strs", + "//proto", @@ -1608,42 +1587,14 @@ diff -urN a/internal/impl/BUILD.bazel b/internal/impl/BUILD.bazel + "//reflect/protoregistry", + "//runtime/protoiface", + "//testing/protocmp", ++ "//testing/protopack", + "//types/descriptorpb", + "@com_github_google_go_cmp//cmp:go_default_library", + "@com_github_google_go_cmp//cmp/cmpopts:go_default_library", + ], +) -diff -urN a/internal/mapsort/BUILD.bazel b/internal/mapsort/BUILD.bazel ---- a/internal/mapsort/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ b/internal/mapsort/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,25 @@ -+load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") -+ -+go_library( -+ name = "mapsort", -+ srcs = ["mapsort.go"], -+ importpath = "google.golang.org/protobuf/internal/mapsort", -+ visibility = ["//:__subpackages__"], -+ deps = ["//reflect/protoreflect"], -+) -+ -+alias( -+ name = "go_default_library", -+ actual = ":mapsort", -+ visibility = ["//:__subpackages__"], -+) -+ -+go_test( -+ name = "mapsort_test", -+ srcs = ["mapsort_test.go"], -+ embed = [":mapsort"], -+ deps = [ -+ "//internal/testprotos/test", -+ "//reflect/protoreflect", -+ ], -+) diff -urN a/internal/msgfmt/BUILD.bazel b/internal/msgfmt/BUILD.bazel ---- a/internal/msgfmt/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/msgfmt/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/msgfmt/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,43 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -1657,7 +1608,7 @@ diff -urN a/internal/msgfmt/BUILD.bazel b/internal/msgfmt/BUILD.bazel + "//encoding/protowire", + "//internal/detrand", + "//internal/genid", -+ "//internal/mapsort", ++ "//internal/order", + "//proto", + "//reflect/protoreflect", + "//reflect/protoregistry", @@ -1673,8 +1624,8 @@ diff -urN a/internal/msgfmt/BUILD.bazel b/internal/msgfmt/BUILD.bazel +go_test( + name = "msgfmt_test", + srcs = ["format_test.go"], -+ embed = [":msgfmt"], + deps = [ ++ ":msgfmt", + "//internal/detrand", + "//internal/testprotos/test", + "//internal/testprotos/textpb2", @@ -1689,8 +1640,40 @@ diff -urN a/internal/msgfmt/BUILD.bazel b/internal/msgfmt/BUILD.bazel + "@com_github_google_go_cmp//cmp:go_default_library", + ], +) +diff -urN a/internal/order/BUILD.bazel b/internal/order/BUILD.bazel +--- a/internal/order/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/internal/order/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,28 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") ++ ++go_library( ++ name = "order", ++ srcs = [ ++ "order.go", ++ "range.go", ++ ], ++ importpath = "google.golang.org/protobuf/internal/order", ++ visibility = ["//:__subpackages__"], ++ deps = ["//reflect/protoreflect"], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":order", ++ visibility = ["//:__subpackages__"], ++) ++ ++go_test( ++ name = "order_test", ++ srcs = ["order_test.go"], ++ embed = [":order"], ++ deps = [ ++ "//reflect/protoreflect", ++ "@com_github_google_go_cmp//cmp:go_default_library", ++ ], ++) diff -urN a/internal/pragma/BUILD.bazel b/internal/pragma/BUILD.bazel ---- a/internal/pragma/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/pragma/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/pragma/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1708,7 +1691,7 @@ diff -urN a/internal/pragma/BUILD.bazel b/internal/pragma/BUILD.bazel + visibility = ["//:__subpackages__"], +) diff -urN a/internal/protobuild/BUILD.bazel b/internal/protobuild/BUILD.bazel ---- a/internal/protobuild/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/protobuild/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/protobuild/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1730,7 +1713,7 @@ diff -urN a/internal/protobuild/BUILD.bazel b/internal/protobuild/BUILD.bazel + visibility = ["//:__subpackages__"], +) diff -urN a/internal/protolegacy/BUILD.bazel b/internal/protolegacy/BUILD.bazel ---- a/internal/protolegacy/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/protolegacy/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/protolegacy/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1754,7 +1737,7 @@ diff -urN a/internal/protolegacy/BUILD.bazel b/internal/protolegacy/BUILD.bazel + visibility = ["//:__subpackages__"], +) diff -urN a/internal/set/BUILD.bazel b/internal/set/BUILD.bazel ---- a/internal/set/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/set/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/set/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -1778,7 +1761,7 @@ diff -urN a/internal/set/BUILD.bazel b/internal/set/BUILD.bazel + embed = [":set"], +) diff -urN a/internal/strs/BUILD.bazel b/internal/strs/BUILD.bazel ---- a/internal/strs/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/strs/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/strs/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -1809,7 +1792,7 @@ diff -urN a/internal/strs/BUILD.bazel b/internal/strs/BUILD.bazel + embed = [":strs"], +) diff -urN a/internal/testprotos/annotation/BUILD.bazel b/internal/testprotos/annotation/BUILD.bazel ---- a/internal/testprotos/annotation/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/annotation/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/annotation/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1832,7 +1815,7 @@ diff -urN a/internal/testprotos/annotation/BUILD.bazel b/internal/testprotos/ann + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/benchmarks/BUILD.bazel b/internal/testprotos/benchmarks/BUILD.bazel ---- a/internal/testprotos/benchmarks/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/benchmarks/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/benchmarks/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1854,7 +1837,7 @@ diff -urN a/internal/testprotos/benchmarks/BUILD.bazel b/internal/testprotos/ben + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/benchmarks/datasets/google_message1/proto2/BUILD.bazel b/internal/testprotos/benchmarks/datasets/google_message1/proto2/BUILD.bazel ---- a/internal/testprotos/benchmarks/datasets/google_message1/proto2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/benchmarks/datasets/google_message1/proto2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/benchmarks/datasets/google_message1/proto2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1876,7 +1859,7 @@ diff -urN a/internal/testprotos/benchmarks/datasets/google_message1/proto2/BUILD + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/benchmarks/datasets/google_message1/proto3/BUILD.bazel b/internal/testprotos/benchmarks/datasets/google_message1/proto3/BUILD.bazel ---- a/internal/testprotos/benchmarks/datasets/google_message1/proto3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/benchmarks/datasets/google_message1/proto3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/benchmarks/datasets/google_message1/proto3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1898,7 +1881,7 @@ diff -urN a/internal/testprotos/benchmarks/datasets/google_message1/proto3/BUILD + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/benchmarks/datasets/google_message2/BUILD.bazel b/internal/testprotos/benchmarks/datasets/google_message2/BUILD.bazel ---- a/internal/testprotos/benchmarks/datasets/google_message2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/benchmarks/datasets/google_message2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/benchmarks/datasets/google_message2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1920,9 +1903,9 @@ diff -urN a/internal/testprotos/benchmarks/datasets/google_message2/BUILD.bazel + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/benchmarks/datasets/google_message3/BUILD.bazel b/internal/testprotos/benchmarks/datasets/google_message3/BUILD.bazel ---- a/internal/testprotos/benchmarks/datasets/google_message3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/benchmarks/datasets/google_message3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/benchmarks/datasets/google_message3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,29 @@ +@@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -1942,7 +1925,6 @@ diff -urN a/internal/testprotos/benchmarks/datasets/google_message3/BUILD.bazel + visibility = ["//:__subpackages__"], + deps = [ + "//reflect/protoreflect", -+ "//runtime/protoiface", + "//runtime/protoimpl", + ], +) @@ -1953,9 +1935,9 @@ diff -urN a/internal/testprotos/benchmarks/datasets/google_message3/BUILD.bazel + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/benchmarks/datasets/google_message4/BUILD.bazel b/internal/testprotos/benchmarks/datasets/google_message4/BUILD.bazel ---- a/internal/testprotos/benchmarks/datasets/google_message4/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/benchmarks/datasets/google_message4/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/benchmarks/datasets/google_message4/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,24 @@ +@@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -1970,7 +1952,6 @@ diff -urN a/internal/testprotos/benchmarks/datasets/google_message4/BUILD.bazel + visibility = ["//:__subpackages__"], + deps = [ + "//reflect/protoreflect", -+ "//runtime/protoiface", + "//runtime/protoimpl", + ], +) @@ -1981,7 +1962,7 @@ diff -urN a/internal/testprotos/benchmarks/datasets/google_message4/BUILD.bazel + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/benchmarks/micro/BUILD.bazel b/internal/testprotos/benchmarks/micro/BUILD.bazel ---- a/internal/testprotos/benchmarks/micro/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/benchmarks/micro/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/benchmarks/micro/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2003,9 +1984,9 @@ diff -urN a/internal/testprotos/benchmarks/micro/BUILD.bazel b/internal/testprot + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/conformance/BUILD.bazel b/internal/testprotos/conformance/BUILD.bazel ---- a/internal/testprotos/conformance/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/conformance/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/conformance/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,29 @@ +@@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2019,7 +2000,6 @@ diff -urN a/internal/testprotos/conformance/BUILD.bazel b/internal/testprotos/co + visibility = ["//:__subpackages__"], + deps = [ + "//reflect/protoreflect", -+ "//runtime/protoiface", + "//runtime/protoimpl", + "//types/known/anypb", + "//types/known/durationpb", @@ -2035,8 +2015,30 @@ diff -urN a/internal/testprotos/conformance/BUILD.bazel b/internal/testprotos/co + actual = ":conformance", + visibility = ["//:__subpackages__"], +) +diff -urN a/internal/testprotos/enums/BUILD.bazel b/internal/testprotos/enums/BUILD.bazel +--- a/internal/testprotos/enums/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/internal/testprotos/enums/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,18 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "enums", ++ srcs = ["enums.pb.go"], ++ importpath = "google.golang.org/protobuf/internal/testprotos/enums", ++ visibility = ["//:__subpackages__"], ++ deps = [ ++ "//reflect/protoreflect", ++ "//runtime/protoimpl", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":enums", ++ visibility = ["//:__subpackages__"], ++) diff -urN a/internal/testprotos/fieldtrack/BUILD.bazel b/internal/testprotos/fieldtrack/BUILD.bazel ---- a/internal/testprotos/fieldtrack/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/fieldtrack/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/fieldtrack/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2061,7 +2063,7 @@ diff -urN a/internal/testprotos/fieldtrack/BUILD.bazel b/internal/testprotos/fie + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/fuzz/BUILD.bazel b/internal/testprotos/fuzz/BUILD.bazel ---- a/internal/testprotos/fuzz/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/fuzz/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/fuzz/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2085,7 +2087,7 @@ diff -urN a/internal/testprotos/fuzz/BUILD.bazel b/internal/testprotos/fuzz/BUIL + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/irregular/BUILD.bazel b/internal/testprotos/irregular/BUILD.bazel ---- a/internal/testprotos/irregular/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/irregular/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/irregular/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2114,7 +2116,7 @@ diff -urN a/internal/testprotos/irregular/BUILD.bazel b/internal/testprotos/irre + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/legacy/BUILD.bazel b/internal/testprotos/legacy/BUILD.bazel ---- a/internal/testprotos/legacy/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/legacy/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/legacy/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2148,7 +2150,7 @@ diff -urN a/internal/testprotos/legacy/BUILD.bazel b/internal/testprotos/legacy/ + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/legacy/bug1052/BUILD.bazel b/internal/testprotos/legacy/bug1052/BUILD.bazel ---- a/internal/testprotos/legacy/bug1052/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/legacy/bug1052/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/legacy/bug1052/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2173,10 +2175,10 @@ diff -urN a/internal/testprotos/legacy/bug1052/BUILD.bazel b/internal/testprotos +go_test( + name = "bug1052_test", + srcs = ["bug1052_test.go"], -+ embed = [":bug1052"], ++ deps = [":bug1052"], +) diff -urN a/internal/testprotos/legacy/proto2_20160225_2fc053c5/BUILD.bazel b/internal/testprotos/legacy/proto2_20160225_2fc053c5/BUILD.bazel ---- a/internal/testprotos/legacy/proto2_20160225_2fc053c5/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/legacy/proto2_20160225_2fc053c5/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/legacy/proto2_20160225_2fc053c5/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2195,7 +2197,7 @@ diff -urN a/internal/testprotos/legacy/proto2_20160225_2fc053c5/BUILD.bazel b/in + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/legacy/proto2_20160519_a4ab9ec5/BUILD.bazel b/internal/testprotos/legacy/proto2_20160519_a4ab9ec5/BUILD.bazel ---- a/internal/testprotos/legacy/proto2_20160519_a4ab9ec5/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/legacy/proto2_20160519_a4ab9ec5/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/legacy/proto2_20160519_a4ab9ec5/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2214,7 +2216,7 @@ diff -urN a/internal/testprotos/legacy/proto2_20160519_a4ab9ec5/BUILD.bazel b/in + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/legacy/proto2_20180125_92554152/BUILD.bazel b/internal/testprotos/legacy/proto2_20180125_92554152/BUILD.bazel ---- a/internal/testprotos/legacy/proto2_20180125_92554152/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/legacy/proto2_20180125_92554152/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/legacy/proto2_20180125_92554152/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2233,7 +2235,7 @@ diff -urN a/internal/testprotos/legacy/proto2_20180125_92554152/BUILD.bazel b/in + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/legacy/proto2_20180430_b4deda09/BUILD.bazel b/internal/testprotos/legacy/proto2_20180430_b4deda09/BUILD.bazel ---- a/internal/testprotos/legacy/proto2_20180430_b4deda09/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/legacy/proto2_20180430_b4deda09/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/legacy/proto2_20180430_b4deda09/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2252,7 +2254,7 @@ diff -urN a/internal/testprotos/legacy/proto2_20180430_b4deda09/BUILD.bazel b/in + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/legacy/proto2_20180814_aa810b61/BUILD.bazel b/internal/testprotos/legacy/proto2_20180814_aa810b61/BUILD.bazel ---- a/internal/testprotos/legacy/proto2_20180814_aa810b61/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/legacy/proto2_20180814_aa810b61/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/legacy/proto2_20180814_aa810b61/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2271,7 +2273,7 @@ diff -urN a/internal/testprotos/legacy/proto2_20180814_aa810b61/BUILD.bazel b/in + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/legacy/proto2_20190205_c823c79e/BUILD.bazel b/internal/testprotos/legacy/proto2_20190205_c823c79e/BUILD.bazel ---- a/internal/testprotos/legacy/proto2_20190205_c823c79e/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/legacy/proto2_20190205_c823c79e/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/legacy/proto2_20190205_c823c79e/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2290,7 +2292,7 @@ diff -urN a/internal/testprotos/legacy/proto2_20190205_c823c79e/BUILD.bazel b/in + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/legacy/proto3_20160225_2fc053c5/BUILD.bazel b/internal/testprotos/legacy/proto3_20160225_2fc053c5/BUILD.bazel ---- a/internal/testprotos/legacy/proto3_20160225_2fc053c5/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/legacy/proto3_20160225_2fc053c5/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/legacy/proto3_20160225_2fc053c5/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2309,7 +2311,7 @@ diff -urN a/internal/testprotos/legacy/proto3_20160225_2fc053c5/BUILD.bazel b/in + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/legacy/proto3_20160519_a4ab9ec5/BUILD.bazel b/internal/testprotos/legacy/proto3_20160519_a4ab9ec5/BUILD.bazel ---- a/internal/testprotos/legacy/proto3_20160519_a4ab9ec5/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/legacy/proto3_20160519_a4ab9ec5/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/legacy/proto3_20160519_a4ab9ec5/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2328,7 +2330,7 @@ diff -urN a/internal/testprotos/legacy/proto3_20160519_a4ab9ec5/BUILD.bazel b/in + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/legacy/proto3_20180125_92554152/BUILD.bazel b/internal/testprotos/legacy/proto3_20180125_92554152/BUILD.bazel ---- a/internal/testprotos/legacy/proto3_20180125_92554152/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/legacy/proto3_20180125_92554152/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/legacy/proto3_20180125_92554152/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2347,7 +2349,7 @@ diff -urN a/internal/testprotos/legacy/proto3_20180125_92554152/BUILD.bazel b/in + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/legacy/proto3_20180430_b4deda09/BUILD.bazel b/internal/testprotos/legacy/proto3_20180430_b4deda09/BUILD.bazel ---- a/internal/testprotos/legacy/proto3_20180430_b4deda09/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/legacy/proto3_20180430_b4deda09/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/legacy/proto3_20180430_b4deda09/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2366,7 +2368,7 @@ diff -urN a/internal/testprotos/legacy/proto3_20180430_b4deda09/BUILD.bazel b/in + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/legacy/proto3_20180814_aa810b61/BUILD.bazel b/internal/testprotos/legacy/proto3_20180814_aa810b61/BUILD.bazel ---- a/internal/testprotos/legacy/proto3_20180814_aa810b61/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/legacy/proto3_20180814_aa810b61/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/legacy/proto3_20180814_aa810b61/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2385,7 +2387,7 @@ diff -urN a/internal/testprotos/legacy/proto3_20180814_aa810b61/BUILD.bazel b/in + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/legacy/proto3_20190205_c823c79e/BUILD.bazel b/internal/testprotos/legacy/proto3_20190205_c823c79e/BUILD.bazel ---- a/internal/testprotos/legacy/proto3_20190205_c823c79e/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/legacy/proto3_20190205_c823c79e/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/legacy/proto3_20190205_c823c79e/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2404,9 +2406,9 @@ diff -urN a/internal/testprotos/legacy/proto3_20190205_c823c79e/BUILD.bazel b/in + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/messageset/messagesetpb/BUILD.bazel b/internal/testprotos/messageset/messagesetpb/BUILD.bazel ---- a/internal/testprotos/messageset/messagesetpb/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/messageset/messagesetpb/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/messageset/messagesetpb/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2416,7 +2418,6 @@ diff -urN a/internal/testprotos/messageset/messagesetpb/BUILD.bazel b/internal/t + visibility = ["//:__subpackages__"], + deps = [ + "//reflect/protoreflect", -+ "//runtime/protoiface", + "//runtime/protoimpl", + ], +) @@ -2427,7 +2428,7 @@ diff -urN a/internal/testprotos/messageset/messagesetpb/BUILD.bazel b/internal/t + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/messageset/msetextpb/BUILD.bazel b/internal/testprotos/messageset/msetextpb/BUILD.bazel ---- a/internal/testprotos/messageset/msetextpb/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/messageset/msetextpb/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/messageset/msetextpb/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2449,10 +2450,71 @@ diff -urN a/internal/testprotos/messageset/msetextpb/BUILD.bazel b/internal/test + actual = ":msetextpb", + visibility = ["//:__subpackages__"], +) +diff -urN a/internal/testprotos/news/BUILD.bazel b/internal/testprotos/news/BUILD.bazel +--- a/internal/testprotos/news/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/internal/testprotos/news/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,20 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "news", ++ srcs = ["news.pb.go"], ++ importpath = "google.golang.org/protobuf/internal/testprotos/news", ++ visibility = ["//:__subpackages__"], ++ deps = [ ++ "//reflect/protoreflect", ++ "//runtime/protoimpl", ++ "//types/known/anypb", ++ "//types/known/timestamppb", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":news", ++ visibility = ["//:__subpackages__"], ++) +diff -urN a/internal/testprotos/nullable/BUILD.bazel b/internal/testprotos/nullable/BUILD.bazel +--- a/internal/testprotos/nullable/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/internal/testprotos/nullable/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,33 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") ++ ++go_library( ++ name = "nullable", ++ srcs = ["nullable.go"], ++ importpath = "google.golang.org/protobuf/internal/testprotos/nullable", ++ visibility = ["//:__subpackages__"], ++ deps = [ ++ "//encoding/prototext", ++ "//encoding/protowire", ++ "//runtime/protoimpl", ++ "//types/descriptorpb", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":nullable", ++ visibility = ["//:__subpackages__"], ++) ++ ++go_test( ++ name = "nullable_test", ++ srcs = ["nullable_test.go"], ++ embed = [":nullable"], ++ deps = [ ++ "//proto", ++ "//reflect/protoreflect", ++ "//runtime/protoimpl", ++ "//testing/protocmp", ++ "@com_github_google_go_cmp//cmp:go_default_library", ++ ], ++) diff -urN a/internal/testprotos/order/BUILD.bazel b/internal/testprotos/order/BUILD.bazel ---- a/internal/testprotos/order/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/order/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/order/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2462,7 +2524,6 @@ diff -urN a/internal/testprotos/order/BUILD.bazel b/internal/testprotos/order/BU + visibility = ["//:__subpackages__"], + deps = [ + "//reflect/protoreflect", -+ "//runtime/protoiface", + "//runtime/protoimpl", + ], +) @@ -2473,9 +2534,9 @@ diff -urN a/internal/testprotos/order/BUILD.bazel b/internal/testprotos/order/BU + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/registry/BUILD.bazel b/internal/testprotos/registry/BUILD.bazel ---- a/internal/testprotos/registry/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/registry/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/registry/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2485,7 +2546,6 @@ diff -urN a/internal/testprotos/registry/BUILD.bazel b/internal/testprotos/regis + visibility = ["//:__subpackages__"], + deps = [ + "//reflect/protoreflect", -+ "//runtime/protoiface", + "//runtime/protoimpl", + ], +) @@ -2496,7 +2556,7 @@ diff -urN a/internal/testprotos/registry/BUILD.bazel b/internal/testprotos/regis + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/required/BUILD.bazel b/internal/testprotos/required/BUILD.bazel ---- a/internal/testprotos/required/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/required/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/required/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2518,7 +2578,7 @@ diff -urN a/internal/testprotos/required/BUILD.bazel b/internal/testprotos/requi + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/test/BUILD.bazel b/internal/testprotos/test/BUILD.bazel ---- a/internal/testprotos/test/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/test/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/test/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2534,9 +2594,9 @@ diff -urN a/internal/testprotos/test/BUILD.bazel b/internal/testprotos/test/BUIL + importpath = "google.golang.org/protobuf/internal/testprotos/test", + visibility = ["//:__subpackages__"], + deps = [ ++ "//internal/testprotos/enums", + "//proto", + "//reflect/protoreflect", -+ "//runtime/protoiface", + "//runtime/protoimpl", + ], +) @@ -2547,7 +2607,7 @@ diff -urN a/internal/testprotos/test/BUILD.bazel b/internal/testprotos/test/BUIL + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/test/weak1/BUILD.bazel b/internal/testprotos/test/weak1/BUILD.bazel ---- a/internal/testprotos/test/weak1/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/test/weak1/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/test/weak1/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2569,7 +2629,7 @@ diff -urN a/internal/testprotos/test/weak1/BUILD.bazel b/internal/testprotos/tes + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/test/weak2/BUILD.bazel b/internal/testprotos/test/weak2/BUILD.bazel ---- a/internal/testprotos/test/weak2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/test/weak2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/test/weak2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2591,7 +2651,7 @@ diff -urN a/internal/testprotos/test/weak2/BUILD.bazel b/internal/testprotos/tes + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/test3/BUILD.bazel b/internal/testprotos/test3/BUILD.bazel ---- a/internal/testprotos/test3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/test3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/test3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2618,9 +2678,9 @@ diff -urN a/internal/testprotos/test3/BUILD.bazel b/internal/testprotos/test3/BU + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/textpb2/BUILD.bazel b/internal/testprotos/textpb2/BUILD.bazel ---- a/internal/testprotos/textpb2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/textpb2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/textpb2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +@@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -2630,7 +2690,6 @@ diff -urN a/internal/testprotos/textpb2/BUILD.bazel b/internal/testprotos/textpb + visibility = ["//:__subpackages__"], + deps = [ + "//reflect/protoreflect", -+ "//runtime/protoiface", + "//runtime/protoimpl", + "//types/known/anypb", + "//types/known/durationpb", @@ -2648,7 +2707,7 @@ diff -urN a/internal/testprotos/textpb2/BUILD.bazel b/internal/testprotos/textpb + visibility = ["//:__subpackages__"], +) diff -urN a/internal/testprotos/textpb3/BUILD.bazel b/internal/testprotos/textpb3/BUILD.bazel ---- a/internal/testprotos/textpb3/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/testprotos/textpb3/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/testprotos/textpb3/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2670,7 +2729,7 @@ diff -urN a/internal/testprotos/textpb3/BUILD.bazel b/internal/testprotos/textpb + visibility = ["//:__subpackages__"], +) diff -urN a/internal/version/BUILD.bazel b/internal/version/BUILD.bazel ---- a/internal/version/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/version/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/version/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2688,7 +2747,7 @@ diff -urN a/internal/version/BUILD.bazel b/internal/version/BUILD.bazel + visibility = ["//:__subpackages__"], +) diff -urN a/internal/weakdeps/BUILD.bazel b/internal/weakdeps/BUILD.bazel ---- a/internal/weakdeps/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/weakdeps/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/weakdeps/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2706,7 +2765,7 @@ diff -urN a/internal/weakdeps/BUILD.bazel b/internal/weakdeps/BUILD.bazel + visibility = ["//:__subpackages__"], +) diff -urN a/proto/BUILD.bazel b/proto/BUILD.bazel ---- a/proto/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/proto/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/proto/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,94 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2737,10 +2796,9 @@ diff -urN a/proto/BUILD.bazel b/proto/BUILD.bazel + "//encoding/protowire", + "//internal/encoding/messageset", + "//internal/errors", -+ "//internal/fieldsort", + "//internal/flags", + "//internal/genid", -+ "//internal/mapsort", ++ "//internal/order", + "//internal/pragma", + "//internal/strs", + "//reflect/protoreflect", @@ -2774,10 +2832,11 @@ diff -urN a/proto/BUILD.bazel b/proto/BUILD.bazel + "validate_test.go", + "weak_test.go", + ], -+ embed = [":proto"], + deps = [ ++ ":proto", + "//encoding/prototext", + "//encoding/protowire", ++ "//internal/errors", + "//internal/filedesc", + "//internal/flags", + "//internal/impl", @@ -2804,7 +2863,7 @@ diff -urN a/proto/BUILD.bazel b/proto/BUILD.bazel + ], +) diff -urN a/reflect/protodesc/BUILD.bazel b/reflect/protodesc/BUILD.bazel ---- a/reflect/protodesc/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/reflect/protodesc/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/reflect/protodesc/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,48 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2855,10 +2914,86 @@ diff -urN a/reflect/protodesc/BUILD.bazel b/reflect/protodesc/BUILD.bazel + "//types/descriptorpb", + ], +) +diff -urN a/reflect/protopath/BUILD.bazel b/reflect/protopath/BUILD.bazel +--- a/reflect/protopath/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/reflect/protopath/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,22 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "protopath", ++ srcs = [ ++ "path.go", ++ "step.go", ++ ], ++ importpath = "google.golang.org/protobuf/reflect/protopath", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//internal/encoding/text", ++ "//internal/msgfmt", ++ "//reflect/protoreflect", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":protopath", ++ visibility = ["//visibility:public"], ++) +diff -urN a/reflect/protorange/BUILD.bazel b/reflect/protorange/BUILD.bazel +--- a/reflect/protorange/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ b/reflect/protorange/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,46 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") ++ ++go_library( ++ name = "protorange", ++ srcs = ["range.go"], ++ importpath = "google.golang.org/protobuf/reflect/protorange", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//internal/genid", ++ "//internal/order", ++ "//proto", ++ "//reflect/protopath", ++ "//reflect/protoreflect", ++ "//reflect/protoregistry", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":protorange", ++ visibility = ["//visibility:public"], ++) ++ ++go_test( ++ name = "protorange_test", ++ srcs = [ ++ "example_test.go", ++ "range_test.go", ++ ], ++ embed = [":protorange"], ++ deps = [ ++ "//encoding/protojson", ++ "//internal/detrand", ++ "//internal/testprotos/news", ++ "//proto", ++ "//reflect/protopath", ++ "//reflect/protoreflect", ++ "//reflect/protoregistry", ++ "//testing/protocmp", ++ "//testing/protopack", ++ "//types/known/anypb", ++ "//types/known/timestamppb", ++ "@com_github_google_go_cmp//cmp:go_default_library", ++ "@com_github_google_go_cmp//cmp/cmpopts:go_default_library", ++ ], ++) diff -urN a/reflect/protoreflect/BUILD.bazel b/reflect/protoreflect/BUILD.bazel ---- a/reflect/protoreflect/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/reflect/protoreflect/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/reflect/protoreflect/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,35 @@ +@@ -0,0 +1,37 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( @@ -2867,6 +3002,7 @@ diff -urN a/reflect/protoreflect/BUILD.bazel b/reflect/protoreflect/BUILD.bazel + "methods.go", + "proto.go", + "source.go", ++ "source_gen.go", + "type.go", + "value.go", + "value_union.go", @@ -2890,14 +3026,15 @@ diff -urN a/reflect/protoreflect/BUILD.bazel b/reflect/protoreflect/BUILD.bazel + name = "protoreflect_test", + srcs = [ + "proto_test.go", ++ "source_test.go", + "value_test.go", + ], + embed = [":protoreflect"], +) diff -urN a/reflect/protoregistry/BUILD.bazel b/reflect/protoregistry/BUILD.bazel ---- a/reflect/protoregistry/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/reflect/protoregistry/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/reflect/protoregistry/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,34 @@ +@@ -0,0 +1,36 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( @@ -2906,7 +3043,9 @@ diff -urN a/reflect/protoregistry/BUILD.bazel b/reflect/protoregistry/BUILD.baze + importpath = "google.golang.org/protobuf/reflect/protoregistry", + visibility = ["//visibility:public"], + deps = [ ++ "//internal/encoding/messageset", + "//internal/errors", ++ "//internal/flags", + "//reflect/protoreflect", + ], +) @@ -2920,8 +3059,8 @@ diff -urN a/reflect/protoregistry/BUILD.bazel b/reflect/protoregistry/BUILD.baze +go_test( + name = "protoregistry_test", + srcs = ["registry_test.go"], -+ embed = [":protoregistry"], + deps = [ ++ ":protoregistry", + "//encoding/prototext", + "//internal/impl", + "//internal/testprotos/registry", @@ -2933,7 +3072,7 @@ diff -urN a/reflect/protoregistry/BUILD.bazel b/reflect/protoregistry/BUILD.baze + ], +) diff -urN a/runtime/protoiface/BUILD.bazel b/runtime/protoiface/BUILD.bazel ---- a/runtime/protoiface/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/runtime/protoiface/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/runtime/protoiface/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2958,7 +3097,7 @@ diff -urN a/runtime/protoiface/BUILD.bazel b/runtime/protoiface/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/runtime/protoimpl/BUILD.bazel b/runtime/protoimpl/BUILD.bazel ---- a/runtime/protoimpl/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/runtime/protoimpl/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/runtime/protoimpl/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2985,7 +3124,7 @@ diff -urN a/runtime/protoimpl/BUILD.bazel b/runtime/protoimpl/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/testing/protocmp/BUILD.bazel b/testing/protocmp/BUILD.bazel ---- a/testing/protocmp/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/testing/protocmp/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/testing/protocmp/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,52 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3041,7 +3180,7 @@ diff -urN a/testing/protocmp/BUILD.bazel b/testing/protocmp/BUILD.bazel + ], +) diff -urN a/testing/protopack/BUILD.bazel b/testing/protopack/BUILD.bazel ---- a/testing/protopack/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/testing/protopack/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/testing/protopack/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3076,7 +3215,7 @@ diff -urN a/testing/protopack/BUILD.bazel b/testing/protopack/BUILD.bazel + ], +) diff -urN a/testing/prototest/BUILD.bazel b/testing/prototest/BUILD.bazel ---- a/testing/prototest/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/testing/prototest/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/testing/prototest/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3085,7 +3224,7 @@ diff -urN a/testing/prototest/BUILD.bazel b/testing/prototest/BUILD.bazel + name = "prototest", + srcs = [ + "enum.go", -+ "prototest.go", ++ "message.go", + ], + importpath = "google.golang.org/protobuf/testing/prototest", + visibility = ["//visibility:public"], @@ -3107,8 +3246,8 @@ diff -urN a/testing/prototest/BUILD.bazel b/testing/prototest/BUILD.bazel +go_test( + name = "prototest_test", + srcs = ["prototest_test.go"], -+ embed = [":prototest"], + deps = [ ++ ":prototest", + "//internal/flags", + "//internal/testprotos/irregular", + "//internal/testprotos/legacy", @@ -3122,9 +3261,9 @@ diff -urN a/testing/prototest/BUILD.bazel b/testing/prototest/BUILD.bazel + ], +) diff -urN a/types/descriptorpb/BUILD.bazel b/types/descriptorpb/BUILD.bazel ---- a/types/descriptorpb/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/types/descriptorpb/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/types/descriptorpb/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,19 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -3134,7 +3273,6 @@ diff -urN a/types/descriptorpb/BUILD.bazel b/types/descriptorpb/BUILD.bazel + visibility = ["//visibility:public"], + deps = [ + "//reflect/protoreflect", -+ "//runtime/protoiface", + "//runtime/protoimpl", + ], +) @@ -3145,7 +3283,7 @@ diff -urN a/types/descriptorpb/BUILD.bazel b/types/descriptorpb/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/types/dynamicpb/BUILD.bazel b/types/dynamicpb/BUILD.bazel ---- a/types/dynamicpb/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/types/dynamicpb/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/types/dynamicpb/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,34 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3172,8 +3310,8 @@ diff -urN a/types/dynamicpb/BUILD.bazel b/types/dynamicpb/BUILD.bazel +go_test( + name = "dynamicpb_test", + srcs = ["dynamic_test.go"], -+ embed = [":dynamicpb"], + deps = [ ++ ":dynamicpb", + "//internal/testprotos/test", + "//internal/testprotos/test3", + "//proto", @@ -3183,7 +3321,7 @@ diff -urN a/types/dynamicpb/BUILD.bazel b/types/dynamicpb/BUILD.bazel + ], +) diff -urN a/types/known/anypb/BUILD.bazel b/types/known/anypb/BUILD.bazel ---- a/types/known/anypb/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/types/known/anypb/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/types/known/anypb/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3210,8 +3348,8 @@ diff -urN a/types/known/anypb/BUILD.bazel b/types/known/anypb/BUILD.bazel +go_test( + name = "anypb_test", + srcs = ["any_test.go"], -+ embed = [":anypb"], + deps = [ ++ ":anypb", + "//internal/testprotos/test", + "//proto", + "//reflect/protoreflect", @@ -3222,7 +3360,7 @@ diff -urN a/types/known/anypb/BUILD.bazel b/types/known/anypb/BUILD.bazel + ], +) diff -urN a/types/known/apipb/BUILD.bazel b/types/known/apipb/BUILD.bazel ---- a/types/known/apipb/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/types/known/apipb/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/types/known/apipb/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3246,7 +3384,7 @@ diff -urN a/types/known/apipb/BUILD.bazel b/types/known/apipb/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/types/known/durationpb/BUILD.bazel b/types/known/durationpb/BUILD.bazel ---- a/types/known/durationpb/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/types/known/durationpb/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/types/known/durationpb/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3271,8 +3409,8 @@ diff -urN a/types/known/durationpb/BUILD.bazel b/types/known/durationpb/BUILD.ba +go_test( + name = "durationpb_test", + srcs = ["duration_test.go"], -+ embed = [":durationpb"], + deps = [ ++ ":durationpb", + "//internal/detrand", + "//testing/protocmp", + "@com_github_google_go_cmp//cmp:go_default_library", @@ -3280,7 +3418,7 @@ diff -urN a/types/known/durationpb/BUILD.bazel b/types/known/durationpb/BUILD.ba + ], +) diff -urN a/types/known/emptypb/BUILD.bazel b/types/known/emptypb/BUILD.bazel ---- a/types/known/emptypb/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/types/known/emptypb/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/types/known/emptypb/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3302,7 +3440,7 @@ diff -urN a/types/known/emptypb/BUILD.bazel b/types/known/emptypb/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/types/known/fieldmaskpb/BUILD.bazel b/types/known/fieldmaskpb/BUILD.bazel ---- a/types/known/fieldmaskpb/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/types/known/fieldmaskpb/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/types/known/fieldmaskpb/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3328,8 +3466,8 @@ diff -urN a/types/known/fieldmaskpb/BUILD.bazel b/types/known/fieldmaskpb/BUILD. +go_test( + name = "fieldmaskpb_test", + srcs = ["field_mask_test.go"], -+ embed = [":fieldmaskpb"], + deps = [ ++ ":fieldmaskpb", + "//internal/testprotos/test", + "//proto", + "@com_github_google_go_cmp//cmp:go_default_library", @@ -3337,7 +3475,7 @@ diff -urN a/types/known/fieldmaskpb/BUILD.bazel b/types/known/fieldmaskpb/BUILD. + ], +) diff -urN a/types/known/sourcecontextpb/BUILD.bazel b/types/known/sourcecontextpb/BUILD.bazel ---- a/types/known/sourcecontextpb/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/types/known/sourcecontextpb/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/types/known/sourcecontextpb/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3359,7 +3497,7 @@ diff -urN a/types/known/sourcecontextpb/BUILD.bazel b/types/known/sourcecontextp + visibility = ["//visibility:public"], +) diff -urN a/types/known/structpb/BUILD.bazel b/types/known/structpb/BUILD.bazel ---- a/types/known/structpb/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/types/known/structpb/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/types/known/structpb/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3385,8 +3523,8 @@ diff -urN a/types/known/structpb/BUILD.bazel b/types/known/structpb/BUILD.bazel +go_test( + name = "structpb_test", + srcs = ["struct_test.go"], -+ embed = [":structpb"], + deps = [ ++ ":structpb", + "//reflect/protoreflect", + "//testing/protocmp", + "@com_github_google_go_cmp//cmp:go_default_library", @@ -3394,7 +3532,7 @@ diff -urN a/types/known/structpb/BUILD.bazel b/types/known/structpb/BUILD.bazel + ], +) diff -urN a/types/known/timestamppb/BUILD.bazel b/types/known/timestamppb/BUILD.bazel ---- a/types/known/timestamppb/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/types/known/timestamppb/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/types/known/timestamppb/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -3419,8 +3557,8 @@ diff -urN a/types/known/timestamppb/BUILD.bazel b/types/known/timestamppb/BUILD. +go_test( + name = "timestamppb_test", + srcs = ["timestamp_test.go"], -+ embed = [":timestamppb"], + deps = [ ++ ":timestamppb", + "//internal/detrand", + "//testing/protocmp", + "@com_github_google_go_cmp//cmp:go_default_library", @@ -3428,7 +3566,7 @@ diff -urN a/types/known/timestamppb/BUILD.bazel b/types/known/timestamppb/BUILD. + ], +) diff -urN a/types/known/typepb/BUILD.bazel b/types/known/typepb/BUILD.bazel ---- a/types/known/typepb/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/types/known/typepb/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/types/known/typepb/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3452,7 +3590,7 @@ diff -urN a/types/known/typepb/BUILD.bazel b/types/known/typepb/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/types/known/wrapperspb/BUILD.bazel b/types/known/wrapperspb/BUILD.bazel ---- a/types/known/wrapperspb/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/types/known/wrapperspb/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/types/known/wrapperspb/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3474,7 +3612,7 @@ diff -urN a/types/known/wrapperspb/BUILD.bazel b/types/known/wrapperspb/BUILD.ba + visibility = ["//visibility:public"], +) diff -urN a/types/pluginpb/BUILD.bazel b/types/pluginpb/BUILD.bazel ---- a/types/pluginpb/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/types/pluginpb/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/types/pluginpb/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") diff --git a/third_party/org_golang_x_sys-gazelle.patch b/third_party/org_golang_x_sys-gazelle.patch index da6c3292f3..6b8beaac69 100644 --- a/third_party/org_golang_x_sys-gazelle.patch +++ b/third_party/org_golang_x_sys-gazelle.patch @@ -1,5 +1,5 @@ diff -urN a/cpu/BUILD.bazel b/cpu/BUILD.bazel ---- a/cpu/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/cpu/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/cpu/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,57 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -60,7 +60,7 @@ diff -urN a/cpu/BUILD.bazel b/cpu/BUILD.bazel + deps = [":cpu"], +) diff -urN a/execabs/BUILD.bazel b/execabs/BUILD.bazel ---- a/execabs/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/execabs/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/execabs/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -84,7 +84,7 @@ diff -urN a/execabs/BUILD.bazel b/execabs/BUILD.bazel + embed = [":execabs"], +) diff -urN a/internal/unsafeheader/BUILD.bazel b/internal/unsafeheader/BUILD.bazel ---- a/internal/unsafeheader/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/unsafeheader/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/unsafeheader/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -108,7 +108,7 @@ diff -urN a/internal/unsafeheader/BUILD.bazel b/internal/unsafeheader/BUILD.baze + deps = [":unsafeheader"], +) diff -urN a/plan9/BUILD.bazel b/plan9/BUILD.bazel ---- a/plan9/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/plan9/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/plan9/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,51 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -163,9 +163,9 @@ diff -urN a/plan9/BUILD.bazel b/plan9/BUILD.bazel + }), +) diff -urN a/unix/BUILD.bazel b/unix/BUILD.bazel ---- a/unix/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/unix/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/unix/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,338 @@ +@@ -0,0 +1,324 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( @@ -211,6 +211,7 @@ diff -urN a/unix/BUILD.bazel b/unix/BUILD.bazel + "fcntl_linux_32bit.go", + "fdset.go", + "ioctl.go", ++ "ioctl_linux.go", + "pagesize_unix.go", + "pledge_openbsd.go", + "ptrace_darwin.go", @@ -231,9 +232,7 @@ diff -urN a/unix/BUILD.bazel b/unix/BUILD.bazel + "syscall_darwin.1_12.go", + "syscall_darwin.1_13.go", + "syscall_darwin.go", -+ "syscall_darwin_386.go", + "syscall_darwin_amd64.go", -+ "syscall_darwin_arm.go", + "syscall_darwin_arm64.go", + "syscall_darwin_libSystem.go", + "syscall_dragonfly.go", @@ -277,9 +276,7 @@ diff -urN a/unix/BUILD.bazel b/unix/BUILD.bazel + "unveil_openbsd.go", + "xattr_bsd.go", + "zerrors_aix_ppc64.go", -+ "zerrors_darwin_386.go", + "zerrors_darwin_amd64.go", -+ "zerrors_darwin_arm.go", + "zerrors_darwin_arm64.go", + "zerrors_dragonfly_amd64.go", + "zerrors_freebsd_386.go", @@ -315,18 +312,10 @@ diff -urN a/unix/BUILD.bazel b/unix/BUILD.bazel + "zptrace_x86_linux.go", + "zsyscall_aix_ppc64.go", + "zsyscall_aix_ppc64_gc.go", -+ "zsyscall_darwin_386.1_13.go", -+ "zsyscall_darwin_386.1_13.s", -+ "zsyscall_darwin_386.go", -+ "zsyscall_darwin_386.s", + "zsyscall_darwin_amd64.1_13.go", + "zsyscall_darwin_amd64.1_13.s", + "zsyscall_darwin_amd64.go", + "zsyscall_darwin_amd64.s", -+ "zsyscall_darwin_arm.1_13.go", -+ "zsyscall_darwin_arm.1_13.s", -+ "zsyscall_darwin_arm.go", -+ "zsyscall_darwin_arm.s", + "zsyscall_darwin_arm64.1_13.go", + "zsyscall_darwin_arm64.1_13.s", + "zsyscall_darwin_arm64.go", @@ -363,9 +352,7 @@ diff -urN a/unix/BUILD.bazel b/unix/BUILD.bazel + "zsysctl_openbsd_amd64.go", + "zsysctl_openbsd_arm.go", + "zsysctl_openbsd_arm64.go", -+ "zsysnum_darwin_386.go", + "zsysnum_darwin_amd64.go", -+ "zsysnum_darwin_arm.go", + "zsysnum_darwin_arm64.go", + "zsysnum_dragonfly_amd64.go", + "zsysnum_freebsd_386.go", @@ -393,9 +380,7 @@ diff -urN a/unix/BUILD.bazel b/unix/BUILD.bazel + "zsysnum_openbsd_arm.go", + "zsysnum_openbsd_arm64.go", + "ztypes_aix_ppc64.go", -+ "ztypes_darwin_386.go", + "ztypes_darwin_amd64.go", -+ "ztypes_darwin_arm.go", + "ztypes_darwin_arm64.go", + "ztypes_dragonfly_amd64.go", + "ztypes_freebsd_386.go", @@ -490,6 +475,7 @@ diff -urN a/unix/BUILD.bazel b/unix/BUILD.bazel + "syscall_bsd_test.go", + "syscall_darwin_test.go", + "syscall_freebsd_test.go", ++ "syscall_illumos_test.go", + "syscall_internal_bsd_test.go", + "syscall_internal_darwin_test.go", + "syscall_internal_linux_test.go", @@ -505,7 +491,7 @@ diff -urN a/unix/BUILD.bazel b/unix/BUILD.bazel + embed = [":unix"], +) diff -urN a/windows/BUILD.bazel b/windows/BUILD.bazel ---- a/windows/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/windows/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/windows/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,57 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -566,7 +552,7 @@ diff -urN a/windows/BUILD.bazel b/windows/BUILD.bazel + }), +) diff -urN a/windows/mkwinsyscall/BUILD.bazel b/windows/mkwinsyscall/BUILD.bazel ---- a/windows/mkwinsyscall/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/windows/mkwinsyscall/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/windows/mkwinsyscall/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -584,7 +570,7 @@ diff -urN a/windows/mkwinsyscall/BUILD.bazel b/windows/mkwinsyscall/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/windows/registry/BUILD.bazel b/windows/registry/BUILD.bazel ---- a/windows/registry/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/windows/registry/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/windows/registry/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,34 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -622,7 +608,7 @@ diff -urN a/windows/registry/BUILD.bazel b/windows/registry/BUILD.bazel + embed = [":registry"], +) diff -urN a/windows/svc/BUILD.bazel b/windows/svc/BUILD.bazel ---- a/windows/svc/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/windows/svc/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/windows/svc/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -668,7 +654,7 @@ diff -urN a/windows/svc/BUILD.bazel b/windows/svc/BUILD.bazel + }), +) diff -urN a/windows/svc/debug/BUILD.bazel b/windows/svc/debug/BUILD.bazel ---- a/windows/svc/debug/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/windows/svc/debug/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/windows/svc/debug/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -695,7 +681,7 @@ diff -urN a/windows/svc/debug/BUILD.bazel b/windows/svc/debug/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/windows/svc/eventlog/BUILD.bazel b/windows/svc/eventlog/BUILD.bazel ---- a/windows/svc/eventlog/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/windows/svc/eventlog/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/windows/svc/eventlog/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -734,7 +720,7 @@ diff -urN a/windows/svc/eventlog/BUILD.bazel b/windows/svc/eventlog/BUILD.bazel + }), +) diff -urN a/windows/svc/example/BUILD.bazel b/windows/svc/example/BUILD.bazel ---- a/windows/svc/example/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/windows/svc/example/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/windows/svc/example/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -767,7 +753,7 @@ diff -urN a/windows/svc/example/BUILD.bazel b/windows/svc/example/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN a/windows/svc/mgr/BUILD.bazel b/windows/svc/mgr/BUILD.bazel ---- a/windows/svc/mgr/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/windows/svc/mgr/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/windows/svc/mgr/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") diff --git a/third_party/org_golang_x_tools-deletegopls.patch b/third_party/org_golang_x_tools-deletegopls.patch index 5729a25ceb..9aaa3e9d35 100644 --- a/third_party/org_golang_x_tools-deletegopls.patch +++ b/third_party/org_golang_x_tools-deletegopls.patch @@ -1,95 +1,194 @@ diff -urN a/gopls/README.md b/gopls/README.md ---- a/gopls/README.md 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/README.md 1969-12-31 19:00:00.000000000 -0500 -@@ -1,73 +0,0 @@ --# gopls documentation +--- a/gopls/README.md 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/README.md 1969-12-31 16:00:00.000000000 -0800 +@@ -1,106 +0,0 @@ +-# `gopls`, the Go language server - -[![PkgGoDev](https://pkg.go.dev/badge/golang.org/x/tools/gopls)](https://pkg.go.dev/golang.org/x/tools/gopls) - --gopls (pronounced: "go please") is the official [language server] for the Go language. +-`gopls` (pronounced "Go please") is the official Go [language server] developed +-by the Go team. It provides IDE features to any [LSP]-compatible editor. +- +- - --## Status +-You should not need to interact with `gopls` directly--it will be automatically +-integrated into your editor. The specific features and settings vary slightly +-by editor, so we recommend that you proceed to the [documentation for your +-editor](#editors) below. +- +-## Editors - --It is currently in **alpha**, so it is **not stable**. +-To get started with `gopls`, install an LSP plugin in your editor of choice. - --You can see more information about the status of gopls and its supported features [here](doc/status.md). +-* [VSCode](https://github.com/golang/vscode-go/blob/master/README.md) +-* [Vim / Neovim](doc/vim.md) +-* [Emacs](doc/emacs.md) +-* [Atom](https://github.com/MordFustang21/ide-gopls) +-* [Sublime Text](doc/subl.md) +-* [Acme](https://github.com/fhs/acme-lsp) - --## Roadmap +-If you use `gopls` with an editor that is not on this list, please let us know +-by [filing an issue](#new-issue) or [modifying this documentation](doc/contributing.md). - --The current goal is a fully stable build with the existing feature set, aiming --for the first half of 2020, with release candidates earlier in the year. +-## Installation - --This will be the first build that we recommend people use, and will be tagged as the 1.0 version. --You can see the set of things being worked on in the [1.0 milestone], in general --we are focused on stability, specifically, making sure we have a reliable service that produces an experience in module mode that is not a retrograde step from the old tools in GOPATH mode. +-For the most part, you should not need to install or update `gopls`. Your +-editor should handle that step for you. - --There is also considerable effort being put into testing in order to make sure that we both have a stable service and also that we do not regress after launch. +-If you do want to get the latest stable version of `gopls`, change to any +-directory that is both outside of your `GOPATH` and outside of a module (a temp +-directory is fine), and run: - --While we may continue to accept contributions for new features, they may be turned off behind a configuration flag if they are not yet stable. See the [gopls unplanned] milestone for deprioritized features. +-```sh +-GO111MODULE=on go get golang.org/x/tools/gopls@latest +-``` - --This is just a milestone for gopls itself. We work with editor integrators to make sure they can use the latest builds of gopls, and will help them use the 1.0 version as soon as it is ready, but that does not imply anything about the stability, supported features or version of the plugins. +-**NOTE**: Do not use the `-u` flag, as it will update your dependencies to +-incompatible versions. - --## Using +-Learn more in the [advanced installation +-instructions](doc/advanced.md#installing-unreleased-versions). - --In general you should not need to know anything about gopls, it should be integrated into your editor for you. +-## Setting up your workspace - --To install for your specific editor you can follow the following instructions +-`gopls` supports both Go module and GOPATH modes, but if you are working with +-multiple modules or uncommon project layouts, you will need to specifically +-configure your workspace. See the [Workspace document](doc/workspace.md) for +-information on supported workspace layouts. - --* [VSCode](doc/vscode.md) --* [Vim / Neovim](doc/vim.md) --* [Emacs](doc/emacs.md) --* [Acme](doc/acme.md) --* [Sublime Text](doc/subl.md) --* [Atom](doc/atom.md) +-## Configuration - --See the [user guide](doc/user.md) for more information, including the how to install gopls by hand if you need. +-You can configure `gopls` to change your editor experience or view additional +-debugging information. Configuration options will be made available by your +-editor, so see your [editor's instructions](#editors) for specific details. A +-full list of `gopls` settings can be found in the [Settings documentation](doc/settings.md). - --## Issues +-### Environment variables +- +-`gopls` inherits your editor's environment, so be aware of any environment +-variables you configure. Some editors, such as VS Code, allow users to +-selectively override the values of some environment variables. +- +-## Troubleshooting - --If you are having issues with gopls, please first check the [known issues](doc/status.md#known-issues) before following the [troubleshooting](doc/troubleshooting.md#steps) guide. --If that does not give you the information you need, reach out to us. +-If you are having issues with `gopls`, please follow the steps described in the +-[troubleshooting guide](doc/troubleshooting.md). - --You can chat with us on: --* the golang-tools [mailing list] --* the #gopls [slack channel] on the gophers slack +-## Supported Go versions and build systems - --If you think you have an issue that needs fixing, or a feature suggestion, then please make sure you follow the steps to [file an issue](doc/troubleshooting.md#file-an-issue) with the right information to allow us to address it. +-`gopls` follows the [Go Release +-Policy](https://golang.org/doc/devel/release.html#policy), meaning that it +-officially supports the last 2 major Go releases. Per +-[issue #39146](golang.org/issues/39146), we attempt to maintain best-effort +-support for the last 4 major Go releases, but this support extends only to not +-breaking the build and avoiding easily fixable regressions. - --If you need to talk to us directly (for instance to file an issue with confidential information in it) you can reach out directly to [@stamblerre] or [@ianthehat]. +-Our extended support is enforced via [continuous integration with older Go +-versions](doc/contributing.md#ci). This legacy Go CI may not block releases: +-test failures may be skipped rather than fixed. Furthermore, if a regression in +-an older Go version causes irreconcilable CI failures, we may drop support for +-that Go version in CI if it is 3 or 4 Go versions old. - --## More information +-`gopls` currently only supports the `go` command, so if you are using a +-different build system, `gopls` will not work well. Bazel support is currently +-blocked on +-[bazelbuild/rules_go#512](https://github.com/bazelbuild/rules_go/issues/512). - --If you want to know more about it, have an unusual use case, or want to contribute, please read the following documents +-## Additional information - --* [Using gopls](doc/user.md) --* [Troubleshooting and reporting issues](doc/troubleshooting.md) --* [Integrating gopls with an editor](doc/integrating.md) --* [Contributing to gopls](doc/contributing.md) --* [Design requirements and decisions](doc/design.md) --* [Implementation details](doc/implementation.md) +-* [Features](doc/features.md) +-* [Command-line interface](doc/command-line.md) +-* [Advanced topics](doc/advanced.md) +-* [Contributing to `gopls`](doc/contributing.md) +-* [Integrating `gopls` with an editor](doc/design/integrating.md) +-* [Design requirements and decisions](doc/design/design.md) +-* [Implementation details](doc/design/implementation.md) +-* [Open issues](https://github.com/golang/go/issues?q=is%3Aissue+is%3Aopen+label%3Agopls) - -[language server]: https://langserver.org --[mailing list]: https://groups.google.com/forum/#!forum/golang-tools --[slack channel]: https://gophers.slack.com/messages/CJZH85XCZ --[@stamblerre]: https://github.com/stamblerre "Rebecca Stambler" --[@ianthehat]: https://github.com/ianthehat "Ian Cottrell" --[1.0 milestone]: https://github.com/golang/go/milestone/112 --[gopls unplanned]: https://github.com/golang/go/milestone/124 -diff -urN a/gopls/doc/acme.md b/gopls/doc/acme.md ---- a/gopls/doc/acme.md 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/doc/acme.md 1969-12-31 19:00:00.000000000 -0500 -@@ -1,7 +0,0 @@ --# Acme -- --Use the experimental [`acme-lsp`] plugin. --Get started by following the[installation guide]. -- --[`acme-lsp`]: https://github.com/fhs/acme-lsp --[installation guide]: https://github.com/fhs/acme-lsp#gopls +-[LSP]: https://microsoft.github.io/language-server-protocol/ +-[Gophers Slack]: https://gophers.slack.com/ +diff -urN a/gopls/doc/advanced.md b/gopls/doc/advanced.md +--- a/gopls/doc/advanced.md 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/doc/advanced.md 1969-12-31 16:00:00.000000000 -0800 +@@ -1,73 +0,0 @@ +-# Advanced topics +- +-This documentation is for advanced `gopls` users, who may want to test +-unreleased versions or try out special features. +- +-## Installing unreleased versions +- +-To get a specific version of `gopls` (for example, to test a prerelease +-version), run: +- +-```sh +-GO111MODULE=on go get golang.org/x/tools/gopls@vX.Y.Z +-``` +- +-Where `vX.Y.Z` is the desired version. +- +-### Unstable versions +- +-To update `gopls` to the latest **unstable** version, use: +- +-```sh +-GO111MODULE=on go get golang.org/x/tools/gopls@master golang.org/x/tools@master +-``` +- +-## Working on the Go source distribution +- +-If you are working on the [Go project] itself, the `go` command that `gopls` +-invokes will have to correspond to the version of the source you are working +-on. That is, if you have checked out the Go project to `$HOME/go`, your `go` +-command should be the `$HOME/go/bin/go` executable that you built with +-`make.bash` or equivalent. +- +-You can achieve this by adding the right version of `go` to your `PATH` +-(`export PATH=$HOME/go/bin:$PATH` on Unix systems) or by configuring your +-editor. +- +-## Working with generic code +- +-Gopls has experimental support for generic Go, as defined by the type +-parameters proposal ([golang/go#43651](https://golang.org/issues/43651)) and +-type set addendum ([golang/go#45346](https://golang.org/issues/45346)). +- +-To enable this support, you need to build gopls with a version of Go that +-supports type parameters: the +-[dev.typeparams branch](https://github.com/golang/go/tree/dev.typeparams). This +-can be done by checking out this branch in the Go repository, or by using +-`golang.org/dl/gotip`: +- +-``` +-$ go get golang.org/dl/gotip +-$ gotip download dev.typeparams +-``` +- +-For building gopls with type parameter support, it is recommended that you +-build gopls at tip. External APIs are under active development on the +-`dev.typeparams` branch, so building gopls at tip minimizes the chances of +-a build failure (though it is still possible). To get enhanced gopls features +-for generic code, build gopls with the `typeparams` build constraint (though +-this increases your chances of a build failure). +- +-``` +-$ GO111MODULE=on gotip get -tags=typeparams golang.org/x/tools/gopls@master golang.org/x/tools@master +-``` +- +-This will build a version of gopls that understands generic code. To actually +-run the generic code you develop, you must also tell the compiler to speak +-generics using the `-G=3` compiler flag. For example +- +-``` +-$ gotip run -gcflags=-G=3 . +-``` +- +-[Go project]: https://go.googlesource.com/go diff -urN a/gopls/doc/analyzers.md b/gopls/doc/analyzers.md ---- a/gopls/doc/analyzers.md 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/doc/analyzers.md 1969-12-31 19:00:00.000000000 -0500 -@@ -1,540 +0,0 @@ +--- a/gopls/doc/analyzers.md 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/doc/analyzers.md 1969-12-31 16:00:00.000000000 -0800 +@@ -1,626 +0,0 @@ -# Analyzers - -This document describes the analyzers that `gopls` uses inside the editor. @@ -211,11 +310,28 @@ diff -urN a/gopls/doc/analyzers.md b/gopls/doc/analyzers.md - -## **fieldalignment** - --find structs that would take less memory if their fields were sorted +-find structs that would use less memory if their fields were sorted - --This analyzer find structs that can be rearranged to take less memory, and provides +-This analyzer find structs that can be rearranged to use less memory, and provides -a suggested edit with the optimal order. - +-Note that there are two different diagnostics reported. One checks struct size, +-and the other reports "pointer bytes" used. Pointer bytes is how many bytes of the +-object that the garbage collector has to potentially scan for pointers, for example: +- +- struct { uint32; string } +- +-have 16 pointer bytes because the garbage collector has to scan up through the string's +-inner pointer. +- +- struct { string; *uint32 } +- +-has 24 pointer bytes because it has to scan further through the *uint32. +- +- struct { string; uint32 } +- +-has 8 because it can stop immediately after the string pointer. +- - -**Disabled by default. Enable it by setting `"analyses": {"fieldalignment": true}`.** - @@ -300,6 +416,46 @@ diff -urN a/gopls/doc/analyzers.md b/gopls/doc/analyzers.md - -**Enabled by default.** - +-## **nilness** +- +-check for redundant or impossible nil comparisons +- +-The nilness checker inspects the control-flow graph of each function in +-a package and reports nil pointer dereferences, degenerate nil +-pointers, and panics with nil values. A degenerate comparison is of the form +-x==nil or x!=nil where x is statically known to be nil or non-nil. These are +-often a mistake, especially in control flow related to errors. Panics with nil +-values are checked because they are not detectable by +- +- if r := recover(); r != nil { +- +-This check reports conditions such as: +- +- if f == nil { // impossible condition (f is a function) +- } +- +-and: +- +- p := &v +- ... +- if p != nil { // tautological condition +- } +- +-and: +- +- if p == nil { +- print(*p) // nil dereference +- } +- +-and: +- +- if p == nil { +- panic(p) +- } +- +- +-**Disabled by default. Enable it by setting `"analyses": {"nilness": true}`.** +- -## **printf** - -check consistency of Printf format strings and arguments @@ -560,6 +716,35 @@ diff -urN a/gopls/doc/analyzers.md b/gopls/doc/analyzers.md - -**Enabled by default.** - +-## **unusedwrite** +- +-checks for unused writes +- +-The analyzer reports instances of writes to struct fields and +-arrays that are never read. Specifically, when a struct object +-or an array is copied, its elements are copied implicitly by +-the compiler, and any element write to this copy does nothing +-with the original object. +- +-For example: +- +- type T struct { x int } +- func f(input []T) { +- for i, v := range input { // v is a copy +- v.x = i // unused write to field x +- } +- } +- +-Another example is about non-pointer receiver: +- +- type T struct { x int } +- func (t T) f() { // t is a copy +- t.x = i // unused write to field x +- } +- +- +-**Disabled by default. Enable it by setting `"analyses": {"unusedwrite": true}`.** +- -## **fillreturns** - -suggested fixes for "wrong number of return values (want %d, got %d)" @@ -630,20 +815,9 @@ diff -urN a/gopls/doc/analyzers.md b/gopls/doc/analyzers.md -**Enabled by default.** - - -diff -urN a/gopls/doc/atom.md b/gopls/doc/atom.md ---- a/gopls/doc/atom.md 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/doc/atom.md 1969-12-31 19:00:00.000000000 -0500 -@@ -1,7 +0,0 @@ --# Atom -- --Use the [`ide-gopls`] package. --You will also need to install the [`atom-ide-ui`] package. -- --[`ide-gopls`]: https://github.com/MordFustang21/ide-gopls --[`atom-ide-ui`]: https://github.com/facebookarchive/atom-ide-ui diff -urN a/gopls/doc/command-line.md b/gopls/doc/command-line.md ---- a/gopls/doc/command-line.md 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/doc/command-line.md 1969-12-31 19:00:00.000000000 -0500 +--- a/gopls/doc/command-line.md 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/doc/command-line.md 1969-12-31 16:00:00.000000000 -0800 @@ -1,17 +0,0 @@ -# Command line - @@ -663,179 +837,445 @@ diff -urN a/gopls/doc/command-line.md b/gopls/doc/command-line.md - -For more information, see the `gopls` [command line page](command-line.md). diff -urN a/gopls/doc/commands.md b/gopls/doc/commands.md ---- a/gopls/doc/commands.md 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/doc/commands.md 1969-12-31 19:00:00.000000000 -0500 -@@ -1,104 +0,0 @@ +--- a/gopls/doc/commands.md 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/doc/commands.md 1969-12-31 16:00:00.000000000 -0800 +@@ -1,370 +0,0 @@ -# Commands - -This document describes the LSP-level commands supported by `gopls`. They cannot be invoked directly by users, and all the details are subject to change, so nobody should rely on this information. - - --### **Run go generate** --Identifier: `gopls.generate` -- --generate runs `go generate` for a given directory. +-### **Add a dependency** +-Identifier: `gopls.add_dependency` - +-Adds a dependency to the go.mod file for a module. - --### **Fill struct** --Identifier: `gopls.fill_struct` +-Args: - --fill_struct is a gopls command to fill a struct with default --values. +-``` +-{ +- // The go.mod file URI. +- "URI": string, +- // Additional args to pass to the go command. +- "GoCmdArgs": []string, +- // Whether to add a require directive. +- "AddRequire": bool, +-} +-``` - +-### **Add an import** +-Identifier: `gopls.add_import` - --### **Regenerate cgo** --Identifier: `gopls.regenerate_cgo` +-Ask the server to add an import path to a given Go file. The method will +-call applyEdit on the client so that clients don't have to apply the edit +-themselves. - --regenerate_cgo regenerates cgo definitions. +-Args: - +-``` +-{ +- // ImportPath is the target import path that should +- // be added to the URI file +- "ImportPath": string, +- // URI is the file that the ImportPath should be +- // added to +- "URI": string, +-} +-``` - --### **Run test(s)** --Identifier: `gopls.test` +-### **Apply a fix** +-Identifier: `gopls.apply_fix` - --test runs `go test` for a specific test function. +-Applies a fix to a region of source code. - +-Args: - --### **Run go mod tidy** --Identifier: `gopls.tidy` +-``` +-{ +- // The fix to apply. +- "Fix": string, +- // The file URI for the document to fix. +- "URI": string, +- // The document range to scan for fixes. +- "Range": { +- "start": { +- "line": uint32, +- "character": uint32, +- }, +- "end": { +- "line": uint32, +- "character": uint32, +- }, +- }, +-} +-``` - --tidy runs `go mod tidy` for a module. +-### **Check for upgrades** +-Identifier: `gopls.check_upgrades` - +-Checks for module upgrades. - --### **Update go.sum** --Identifier: `gopls.update_go_sum` +-Args: - --update_go_sum updates the go.sum file for a module. +-``` +-{ +- // The go.mod file URI. +- "URI": string, +- // The modules to check. +- "Modules": []string, +-} +-``` - +-### **Toggle gc_details** +-Identifier: `gopls.gc_details` - --### **Undeclared name** --Identifier: `gopls.undeclared_name` +-Toggle the calculation of gc annotations. - --undeclared_name adds a variable declaration for an undeclared --name. +-Args: - +-``` +-string +-``` - --### **go get package** --Identifier: `gopls.go_get_package` +-### **Run go generate** +-Identifier: `gopls.generate` - --go_get_package runs `go get` to fetch a package. +-Runs `go generate` for a given directory. - +-Args: - --### **Add dependency** --Identifier: `gopls.add_dependency` +-``` +-{ +- // URI for the directory to generate. +- "Dir": string, +- // Whether to generate recursively (go generate ./...) +- "Recursive": bool, +-} +-``` - --add_dependency adds a dependency. +-### **Generate gopls.mod** +-Identifier: `gopls.generate_gopls_mod` - +-(Re)generate the gopls.mod file for a workspace. - --### **Upgrade dependency** --Identifier: `gopls.upgrade_dependency` +-Args: - --upgrade_dependency upgrades a dependency. +-``` +-{ +- // The file URI. +- "URI": string, +-} +-``` - +-### **go get a package** +-Identifier: `gopls.go_get_package` - --### **Remove dependency** --Identifier: `gopls.remove_dependency` +-Runs `go get` to fetch a package. - --remove_dependency removes a dependency. +-Args: - +-``` +-{ +- // Any document URI within the relevant module. +- "URI": string, +- // The package to go get. +- "Pkg": string, +- "AddRequire": bool, +-} +-``` - --### **Run go mod vendor** --Identifier: `gopls.vendor` +-### **List known packages** +-Identifier: `gopls.list_known_packages` - --vendor runs `go mod vendor` for a module. +-Retrieve a list of packages that are importable from the given URI. - +-Args: - --### **Extract to variable** --Identifier: `gopls.extract_variable` +-``` +-{ +- // The file URI. +- "URI": string, +-} +-``` - --extract_variable extracts an expression to a variable. +-Result: - +-``` +-{ +- // Packages is a list of packages relative +- // to the URIArg passed by the command request. +- // In other words, it omits paths that are already +- // imported or cannot be imported due to compiler +- // restrictions. +- "Packages": []string, +-} +-``` - --### **Extract to function** --Identifier: `gopls.extract_function` +-### **Regenerate cgo** +-Identifier: `gopls.regenerate_cgo` - --extract_function extracts statements to a function. +-Regenerates cgo definitions. - +-Args: - --### **Toggle gc_details** --Identifier: `gopls.gc_details` +-``` +-{ +- // The file URI. +- "URI": string, +-} +-``` - --gc_details controls calculation of gc annotations. +-### **Remove a dependency** +-Identifier: `gopls.remove_dependency` - +-Removes a dependency from the go.mod file of a module. - --### **Generate gopls.mod** --Identifier: `gopls.generate_gopls_mod` +-Args: - --generate_gopls_mod (re)generates the gopls.mod file. +-``` +-{ +- // The go.mod file URI. +- "URI": string, +- // The module path to remove. +- "ModulePath": string, +- "OnlyDiagnostic": bool, +-} +-``` - +-### **Run test(s)** +-Identifier: `gopls.run_tests` - -- -diff -urN a/gopls/doc/contributing.md b/gopls/doc/contributing.md ---- a/gopls/doc/contributing.md 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/doc/contributing.md 1969-12-31 19:00:00.000000000 -0500 -@@ -1,111 +0,0 @@ --# Documentation for contributors +-Runs `go test` for a specific set of test or benchmark functions. - --This documentation augments the general documentation for contributing to the --x/tools repository, described at the [repository root](../CONTRIBUTING.md). +-Args: - --Contributions are welcome, but since development is so active, we request that --you file an issue and claim it before starting to work on something. Otherwise, --it is likely that we might already be working on a fix for your issue. +-``` +-{ +- // The test file containing the tests to run. +- "URI": string, +- // Specific test names to run, e.g. TestFoo. +- "Tests": []string, +- // Specific benchmarks to run, e.g. BenchmarkFoo. +- "Benchmarks": []string, +-} +-``` - --## Finding issues +-### **Start the gopls debug server** +-Identifier: `gopls.start_debugging` - --All `gopls` issues are labeled as such (see the [`gopls` label][issue-gopls]). --Issues that are suitable for contributors are additionally tagged with the --[`help-wanted` label][issue-wanted]. +-Start the gopls debug server if it isn't running, and return the debug +-address. - --Before you begin working on an issue, please leave a comment that you are --claiming it. +-Args: - --## Getting started +-``` +-{ +- // Optional: the address (including port) for the debug server to listen on. +- // If not provided, the debug server will bind to "localhost:0", and the +- // full debug URL will be contained in the result. +- // +- // If there is more than one gopls instance along the serving path (i.e. you +- // are using a daemon), each gopls instance will attempt to start debugging. +- // If Addr specifies a port, only the daemon will be able to bind to that +- // port, and each intermediate gopls instance will fail to start debugging. +- // For this reason it is recommended not to specify a port (or equivalently, +- // to specify ":0"). +- // +- // If the server was already debugging this field has no effect, and the +- // result will contain the previously configured debug URL(s). +- "Addr": string, +-} +-``` - --Most of the `gopls` logic is actually in the `golang.org/x/tools/internal/lsp` --directory, so you are most likely to develop in the golang.org/x/tools module. +-Result: - --## Build +-``` +-{ +- // The URLs to use to access the debug servers, for all gopls instances in +- // the serving path. For the common case of a single gopls instance (i.e. no +- // daemon), this will be exactly one address. +- // +- // In the case of one or more gopls instances forwarding the LSP to a daemon, +- // URLs will contain debug addresses for each server in the serving path, in +- // serving order. The daemon debug address will be the last entry in the +- // slice. If any intermediate gopls instance fails to start debugging, no +- // error will be returned but the debug URL for that server in the URLs slice +- // will be empty. +- "URLs": []string, +-} +-``` - --To build a version of `gopls` with your changes applied: +-### **Run test(s) (legacy)** +-Identifier: `gopls.test` - --```bash --cd /path/to/tools/gopls --go install --``` +-Runs `go test` for a specific set of test or benchmark functions. - --To confirm that you are testing with the correct `gopls` version, check that --your `gopls` version looks like this: +-Args: - --```bash --$ gopls version --golang.org/x/tools/gopls master -- golang.org/x/tools/gopls@(devel) +-``` +-string, +-[]string, +-[]string -``` - --## Getting help -- --The best way to contact the gopls team directly is via the --[#gopls-dev](https://app.slack.com/client/T029RQSE6/CRWSN9NCD) channel on the --gophers slack. Please feel free to ask any questions about your contribution or --about contributing in general. +-### **Run go mod tidy** +-Identifier: `gopls.tidy` - --## Testing +-Runs `go mod tidy` for a module. - --To run tests for just `gopls/`, run, +-Args: - --```bash --cd /path/to/tools/gopls --go test ./... +-``` +-{ +- // The file URIs. +- "URIs": []string, +-} -``` - --But, much of the gopls work involves `internal/lsp` too, so you will want to --run both: +-### **Toggle gc_details** +-Identifier: `gopls.toggle_gc_details` - --```bash --cd /path/to/tools +-Toggle the calculation of gc annotations. +- +-Args: +- +-``` +-{ +- // The file URI. +- "URI": string, +-} +-``` +- +-### **Update go.sum** +-Identifier: `gopls.update_go_sum` +- +-Updates the go.sum file for a module. +- +-Args: +- +-``` +-{ +- // The file URIs. +- "URIs": []string, +-} +-``` +- +-### **Upgrade a dependency** +-Identifier: `gopls.upgrade_dependency` +- +-Upgrades a dependency in the go.mod file for a module. +- +-Args: +- +-``` +-{ +- // The go.mod file URI. +- "URI": string, +- // Additional args to pass to the go command. +- "GoCmdArgs": []string, +- // Whether to add a require directive. +- "AddRequire": bool, +-} +-``` +- +-### **Run go mod vendor** +-Identifier: `gopls.vendor` +- +-Runs `go mod vendor` for a module. +- +-Args: +- +-``` +-{ +- // The file URI. +- "URI": string, +-} +-``` +- +-### **Query workspace metadata** +-Identifier: `gopls.workspace_metadata` +- +-Query the server for information about active workspaces. +- +-Result: +- +-``` +-{ +- // All workspaces for this session. +- "Workspaces": []{ +- "Name": string, +- "ModuleDir": string, +- }, +-} +-``` +- +- +diff -urN a/gopls/doc/contributing.md b/gopls/doc/contributing.md +--- a/gopls/doc/contributing.md 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/doc/contributing.md 1969-12-31 16:00:00.000000000 -0800 +@@ -1,119 +0,0 @@ +-# Documentation for contributors +- +-This documentation augments the general documentation for contributing to the +-x/tools repository, described at the [repository root](../../CONTRIBUTING.md). +- +-Contributions are welcome, but since development is so active, we request that +-you file an issue and claim it before starting to work on something. Otherwise, +-it is likely that we might already be working on a fix for your issue. +- +-## Finding issues +- +-All `gopls` issues are labeled as such (see the [`gopls` label][issue-gopls]). +-Issues that are suitable for contributors are additionally tagged with the +-[`help-wanted` label][issue-wanted]. +- +-Before you begin working on an issue, please leave a comment that you are +-claiming it. +- +-## Getting started +- +-Most of the `gopls` logic is actually in the `golang.org/x/tools/internal/lsp` +-directory, so you are most likely to develop in the golang.org/x/tools module. +- +-## Build +- +-To build a version of `gopls` with your changes applied: +- +-```bash +-cd /path/to/tools/gopls +-go install +-``` +- +-To confirm that you are testing with the correct `gopls` version, check that +-your `gopls` version looks like this: +- +-```bash +-$ gopls version +-golang.org/x/tools/gopls master +- golang.org/x/tools/gopls@(devel) +-``` +- +-## Getting help +- +-The best way to contact the gopls team directly is via the +-[#gopls-dev](https://app.slack.com/client/T029RQSE6/CRWSN9NCD) channel on the +-gophers slack. Please feel free to ask any questions about your contribution or +-about contributing in general. +- +-## Testing +- +-To run tests for just `gopls/`, run, +- +-```bash +-cd /path/to/tools/gopls +-go test ./... +-``` +- +-But, much of the gopls work involves `internal/lsp` too, so you will want to +-run both: +- +-```bash +-cd /path/to/tools -cd gopls && go test ./... -cd .. -go test ./internal/lsp/... @@ -872,8 +1312,16 @@ diff -urN a/gopls/doc/contributing.md b/gopls/doc/contributing.md -Jenkins-like Google infrastructure for running Dockerized tests. This allows us -to run gopls tests in various environments that would be difficult to add to -the TryBots. Notably, Kokoro runs tests on --[older Go versions](user.md#supported-go-versions) that are no longer supported --by the TryBots. +-[older Go versions](../README.md#supported-go-versions) that are no longer supported +-by the TryBots. Per that that policy, support for these older Go versions is +-best-effort, and test failures may be skipped rather than fixed. +- +-Kokoro runs are triggered by the `Run-TryBot=1` label, just like TryBots, but +-unlike TryBots they do not automatically re-run if the "gopls-CI" result is +-removed in Gerrit. In order to force a new run, you must upload a new patch +-set. (Technically, Googlers can force a new run on an existing patch-set via an +-internal Kokoro dashboard, but unfortunately this ability can't be made more +-generally available). - -## Debugging - @@ -886,9 +1334,9 @@ diff -urN a/gopls/doc/contributing.md b/gopls/doc/contributing.md -[issue-gopls]: https://github.com/golang/go/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+label%3Agopls "gopls issues" -[issue-wanted]: https://github.com/golang/go/issues?utf8=✓&q=is%3Aissue+is%3Aopen+label%3Agopls+label%3A"help+wanted" "help wanted" diff -urN a/gopls/doc/daemon.md b/gopls/doc/daemon.md ---- a/gopls/doc/daemon.md 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/doc/daemon.md 1969-12-31 19:00:00.000000000 -0500 -@@ -1,182 +0,0 @@ +--- a/gopls/doc/daemon.md 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/doc/daemon.md 1969-12-31 16:00:00.000000000 -0800 +@@ -1,183 +0,0 @@ -# Running gopls as a daemon - -**Note: this feature is new. If you encounter bugs, please [file an @@ -1041,10 +1489,10 @@ diff -urN a/gopls/doc/daemon.md b/gopls/doc/daemon.md - -**Q: Why am I not saving as much memory as I expected when using a shared gopls?** - --A: As described in [implementation.md](implementation.md), gopls has a concept --of view/session/cache. Each session and view map onto exactly one editor --session (because they contain things like edited but unsaved buffers). The --cache contains things that are independent of any editor session, and can +-A: As described in [implementation.md](design/implementation.md), gopls has a +-concept of view/session/cache. Each session and view map onto exactly one +-editor session (because they contain things like edited but unsaved buffers). +-The cache contains things that are independent of any editor session, and can -therefore be shared. - -When, for example, three editor session are sharing a single gopls process, @@ -1065,15 +1513,16 @@ diff -urN a/gopls/doc/daemon.md b/gopls/doc/daemon.md -* `-remote.logfile`: the location of the daemon logfile -* `-remote.debug`: the daemon's debug address -* `-remote.listen.timeout`: the amount of time the daemon should wait for new -- connections while there are no current connections, before shutting down. If -- `0`, listen indefinitely. +- connections while there are no current connections, before shutting down. +- Must be set to a valid `time.Duration` (e.g. `30s` or `5m`). If `0`, listen +- indefinitely. Default: `1m`. - -Note that once the daemon is already running, setting these flags will not -change its configuration. These flags only matter for the forwarder process -that actually starts the daemon. diff -urN a/gopls/doc/design/design.md b/gopls/doc/design/design.md ---- a/gopls/doc/design/design.md 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/doc/design/design.md 1969-12-31 19:00:00.000000000 -0500 +--- a/gopls/doc/design/design.md 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/doc/design/design.md 1969-12-31 16:00:00.000000000 -0800 @@ -1,394 +0,0 @@ -# `gopls` design documentation - @@ -1470,8 +1919,8 @@ diff -urN a/gopls/doc/design/design.md b/gopls/doc/design/design.md -[`textDocument/typeDefinition`]: https://github.com/Microsoft/language-server-protocol/blob/gh-pages/_specifications/specification-3-14.md#textDocument_typeDefinition -[`workspace/didChangeWatchedFiles`]: https://github.com/Microsoft/language-server-protocol/blob/gh-pages/_specifications/specification-3-14.md#workspace_didChangeWatchedFiles diff -urN a/gopls/doc/design/implementation.md b/gopls/doc/design/implementation.md ---- a/gopls/doc/design/implementation.md 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/doc/design/implementation.md 1969-12-31 19:00:00.000000000 -0500 +--- a/gopls/doc/design/implementation.md 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/doc/design/implementation.md 1969-12-31 16:00:00.000000000 -0800 @@ -1,48 +0,0 @@ -# gopls implementation documentation - @@ -1522,8 +1971,8 @@ diff -urN a/gopls/doc/design/implementation.md b/gopls/doc/design/implementation -[internal/span]: https://github.com/golang/tools/tree/master/internal/span -[x/tools]: https://github.com/golang/tools diff -urN a/gopls/doc/design/integrating.md b/gopls/doc/design/integrating.md ---- a/gopls/doc/design/integrating.md 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/doc/design/integrating.md 1969-12-31 19:00:00.000000000 -0500 +--- a/gopls/doc/design/integrating.md 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/doc/design/integrating.md 1969-12-31 16:00:00.000000000 -0800 @@ -1,91 +0,0 @@ -# Documentation for plugin authors - @@ -1617,15 +2066,15 @@ diff -urN a/gopls/doc/design/integrating.md b/gopls/doc/design/integrating.md -[#31553]: https://github.com/golang/go/issues/31553 -[#31526]: https://github.com/golang/go/issues/31526 diff -urN a/gopls/doc/emacs.md b/gopls/doc/emacs.md ---- a/gopls/doc/emacs.md 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/doc/emacs.md 1969-12-31 19:00:00.000000000 -0500 -@@ -1,177 +0,0 @@ +--- a/gopls/doc/emacs.md 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/doc/emacs.md 1969-12-31 16:00:00.000000000 -0800 +@@ -1,183 +0,0 @@ -# Emacs - -## Installing `gopls` - -To use `gopls` with Emacs, you must first --[install the `gopls` binary](user.md#installation) and ensure that the directory +-[install the `gopls` binary](../README.md#installation) and ensure that the directory -containing the resulting binary (either `$(go env GOBIN)` or `$(go env -GOPATH)/bin`) is in your `PATH`. - @@ -1743,9 +2192,9 @@ diff -urN a/gopls/doc/emacs.md b/gopls/doc/emacs.md -See [settings] for information about available gopls settings. - -LSP server settings are controlled by the `eglot-workspace-configuration` --variable, which can be set either globally in `.emacs` (as below) or in a --`.dir-locals.el` file in the project root. +-variable, which can be set either globally in `.emacs` or in a `.dir-locals.el` file in the project root. - +-`.emacs`: -```elisp -(setq-default eglot-workspace-configuration - '((:gopls . @@ -1753,6 +2202,12 @@ diff -urN a/gopls/doc/emacs.md b/gopls/doc/emacs.md - (matcher . "CaseSensitive"))))) -``` - +-`.dir-locals.el`: +-```elisp +-((nil (eglot-workspace-configuration . ((gopls . ((staticcheck . t) +- (matcher . "CaseSensitive"))))))) +-``` +- -### Organizing imports with Eglot - -`gopls` provides the import-organizing functionality of `goimports` as an LSP @@ -1798,8 +2253,8 @@ diff -urN a/gopls/doc/emacs.md b/gopls/doc/emacs.md -[settings]: settings.md -[Gophers slack]: https://invite.slack.golangbridge.org/ diff -urN a/gopls/doc/features.md b/gopls/doc/features.md ---- a/gopls/doc/features.md 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/doc/features.md 1969-12-31 19:00:00.000000000 -0500 +--- a/gopls/doc/features.md 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/doc/features.md 1969-12-31 16:00:00.000000000 -0800 @@ -1,24 +0,0 @@ -# Features - @@ -1826,9 +2281,9 @@ diff -urN a/gopls/doc/features.md b/gopls/doc/features.md - - diff -urN a/gopls/doc/generate.go b/gopls/doc/generate.go ---- a/gopls/doc/generate.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/doc/generate.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,766 +0,0 @@ +--- a/gopls/doc/generate.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/doc/generate.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,778 +0,0 @@ -// Copyright 2020 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. @@ -1860,6 +2315,8 @@ diff -urN a/gopls/doc/generate.go b/gopls/doc/generate.go - "github.com/sanity-io/litter" - "golang.org/x/tools/go/ast/astutil" - "golang.org/x/tools/go/packages" +- "golang.org/x/tools/internal/lsp/command" +- "golang.org/x/tools/internal/lsp/command/commandmeta" - "golang.org/x/tools/internal/lsp/mod" - "golang.org/x/tools/internal/lsp/source" -) @@ -1918,9 +2375,9 @@ diff -urN a/gopls/doc/generate.go b/gopls/doc/generate.go - - // Transform the internal command name to the external command name. - for _, c := range api.Commands { -- c.Command = source.CommandPrefix + c.Command +- c.Command = command.ID(c.Command) - } -- for _, m := range []map[string]source.Analyzer{ +- for _, m := range []map[string]*source.Analyzer{ - defaults.DefaultAnalyzers, - defaults.TypeErrorAnalyzers, - defaults.ConvenienceAnalyzers, @@ -2199,90 +2656,94 @@ diff -urN a/gopls/doc/generate.go b/gopls/doc/generate.go -} - -func loadCommands(pkg *packages.Package) ([]*source.CommandJSON, error) { -- // The code that defines commands is much more complicated than the -- // code that defines options, so reading comments for the Doc is very -- // fragile. If this causes problems, we should switch to a dynamic -- // approach and put the doc in the Commands struct rather than reading -- // from the source code. -- -- // Find the Commands slice. -- typesSlice := pkg.Types.Scope().Lookup("Commands") -- f, err := fileForPos(pkg, typesSlice.Pos()) +- +- var commands []*source.CommandJSON +- +- _, cmds, err := commandmeta.Load() - if err != nil { - return nil, err - } -- path, _ := astutil.PathEnclosingInterval(f, typesSlice.Pos(), typesSlice.Pos()) -- vspec := path[1].(*ast.ValueSpec) -- var astSlice *ast.CompositeLit -- for i, name := range vspec.Names { -- if name.Name == "Commands" { -- astSlice = vspec.Values[i].(*ast.CompositeLit) +- // Parse the objects it contains. +- for _, cmd := range cmds { +- cmdjson := &source.CommandJSON{ +- Command: cmd.Name, +- Title: cmd.Title, +- Doc: cmd.Doc, +- ArgDoc: argsDoc(cmd.Args), - } +- if cmd.Result != nil { +- cmdjson.ResultDoc = typeDoc(cmd.Result, 0) +- } +- commands = append(commands, cmdjson) - } +- return commands, nil +-} - -- var commands []*source.CommandJSON +-func argsDoc(args []*commandmeta.Field) string { +- var b strings.Builder +- for i, arg := range args { +- b.WriteString(typeDoc(arg, 0)) +- if i != len(args)-1 { +- b.WriteString(",\n") +- } +- } +- return b.String() +-} - -- // Parse the objects it contains. -- for _, elt := range astSlice.Elts { -- // Find the composite literal of the Command. -- typesCommand := pkg.TypesInfo.ObjectOf(elt.(*ast.Ident)) -- path, _ := astutil.PathEnclosingInterval(f, typesCommand.Pos(), typesCommand.Pos()) -- vspec := path[1].(*ast.ValueSpec) -- -- var astCommand ast.Expr -- for i, name := range vspec.Names { -- if name.Name == typesCommand.Name() { -- astCommand = vspec.Values[i] -- } +-func typeDoc(arg *commandmeta.Field, level int) string { +- // Max level to expand struct fields. +- const maxLevel = 3 +- if len(arg.Fields) > 0 { +- if level < maxLevel { +- return arg.FieldMod + structDoc(arg.Fields, level) - } +- return "{ ... }" +- } +- under := arg.Type.Underlying() +- switch u := under.(type) { +- case *types.Slice: +- return fmt.Sprintf("[]%s", u.Elem().Underlying().String()) +- } +- return types.TypeString(under, nil) +-} - -- // Read the Name and Title fields of the literal. -- var name, title string -- ast.Inspect(astCommand, func(n ast.Node) bool { -- kv, ok := n.(*ast.KeyValueExpr) -- if ok { -- k := kv.Key.(*ast.Ident).Name -- switch k { -- case "Name": -- name = strings.Trim(kv.Value.(*ast.BasicLit).Value, `"`) -- case "Title": -- title = strings.Trim(kv.Value.(*ast.BasicLit).Value, `"`) -- } +-func structDoc(fields []*commandmeta.Field, level int) string { +- var b strings.Builder +- b.WriteString("{\n") +- indent := strings.Repeat("\t", level) +- for _, fld := range fields { +- if fld.Doc != "" && level == 0 { +- doclines := strings.Split(fld.Doc, "\n") +- for _, line := range doclines { +- fmt.Fprintf(&b, "%s\t// %s\n", indent, line) - } -- return true -- }) -- -- if title == "" { -- title = name - } -- -- // Conventionally, the doc starts with the name of the variable. -- // Replace it with the name of the command. -- doc := vspec.Doc.Text() -- doc = strings.Replace(doc, typesCommand.Name(), name, 1) -- -- commands = append(commands, &source.CommandJSON{ -- Command: name, -- Title: title, -- Doc: doc, -- }) +- tag := fld.JSONTag +- if tag == "" { +- tag = fld.Name +- } +- fmt.Fprintf(&b, "%s\t%q: %s,\n", indent, tag, typeDoc(fld, level+1)) - } -- return commands, nil +- fmt.Fprintf(&b, "%s}", indent) +- return b.String() -} - -func loadLenses(commands []*source.CommandJSON) []*source.LensJSON { -- lensNames := map[string]struct{}{} +- all := map[command.Command]struct{}{} - for k := range source.LensFuncs() { -- lensNames[k] = struct{}{} +- all[k] = struct{}{} - } - for k := range mod.LensFuncs() { -- lensNames[k] = struct{}{} +- if _, ok := all[k]; ok { +- panic(fmt.Sprintf("duplicate lens %q", string(k))) +- } +- all[k] = struct{}{} - } - - var lenses []*source.LensJSON - - for _, cmd := range commands { -- if _, ok := lensNames[cmd.Command]; ok { +- if _, ok := all[command.Command(cmd.Command)]; ok { - lenses = append(lenses, &source.LensJSON{ - Lens: cmd.Command, - Title: cmd.Title, @@ -2293,7 +2754,7 @@ diff -urN a/gopls/doc/generate.go b/gopls/doc/generate.go - return lenses -} - --func loadAnalyzers(m map[string]source.Analyzer) []*source.AnalyzerJSON { +-func loadAnalyzers(m map[string]*source.Analyzer) []*source.AnalyzerJSON { - var sorted []string - for _, a := range m { - sorted = append(sorted, a.Analyzer.Name) @@ -2565,6 +3026,12 @@ diff -urN a/gopls/doc/generate.go b/gopls/doc/generate.go - section := bytes.NewBuffer(nil) - for _, command := range api.Commands { - fmt.Fprintf(section, "### **%v**\nIdentifier: `%v`\n\n%v\n\n", command.Title, command.Command, command.Doc) +- if command.ArgDoc != "" { +- fmt.Fprintf(section, "Args:\n\n```\n%s\n```\n\n", command.ArgDoc) +- } +- if command.ResultDoc != "" { +- fmt.Fprintf(section, "Result:\n\n```\n%s\n```\n\n", command.ResultDoc) +- } - } - return replaceSection(doc, "Commands", section.Bytes()) -} @@ -2596,8 +3063,8 @@ diff -urN a/gopls/doc/generate.go b/gopls/doc/generate.go - return result, nil -} diff -urN a/gopls/doc/generate_test.go b/gopls/doc/generate_test.go ---- a/gopls/doc/generate_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/doc/generate_test.go 1969-12-31 19:00:00.000000000 -0500 +--- a/gopls/doc/generate_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/doc/generate_test.go 1969-12-31 16:00:00.000000000 -0800 @@ -1,23 +0,0 @@ -// Copyright 2020 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style @@ -2623,9 +3090,9 @@ diff -urN a/gopls/doc/generate_test.go b/gopls/doc/generate_test.go - } -} diff -urN a/gopls/doc/settings.md b/gopls/doc/settings.md ---- a/gopls/doc/settings.md 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/doc/settings.md 1969-12-31 19:00:00.000000000 -0500 -@@ -1,429 +0,0 @@ +--- a/gopls/doc/settings.md 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/doc/settings.md 1969-12-31 16:00:00.000000000 -0800 +@@ -1,472 +0,0 @@ -# Settings - - @@ -2691,12 +3158,33 @@ diff -urN a/gopls/doc/settings.md b/gopls/doc/settings.md -The path prefix can be empty, so an initial `-` excludes everything. - -Examples: +- -Exclude node_modules: `-node_modules` +- -Include only project_a: `-` (exclude everything), `+project_a` +- -Include only project_a, but not node_modules inside it: `-`, `+project_a`, `-project_a/node_modules` - -Default: `[]`. - +-#### **memoryMode** *enum* +- +-**This setting is experimental and may be deleted.** +- +-memoryMode controls the tradeoff `gopls` makes between memory usage and +-correctness. +- +-Values other than `Normal` are untested and may break in surprising ways. +- +-Must be one of: +- +-* `"DegradeClosed"`: In DegradeClosed mode, `gopls` will collect less information about +-packages without open files. As a result, features like Find +-References and Rename will miss results in such packages. +- +-* `"Normal"` +-Default: `"Normal"`. +- -#### **expandWorkspaceToModule** *bool* - -**This setting is experimental and may be deleted.** @@ -2719,6 +3207,15 @@ diff -urN a/gopls/doc/settings.md b/gopls/doc/settings.md - -Default: `false`. - +-#### **experimentalTemplateSupport** *bool* +- +-**This setting is experimental and may be deleted.** +- +-experimentalTemplateSupport opts into the experimental support +-for template files. +- +-Default: `false`. +- -#### **experimentalPackageCacheKey** *bool* - -**This setting is experimental and may be deleted.** @@ -2752,6 +3249,17 @@ diff -urN a/gopls/doc/settings.md b/gopls/doc/settings.md - -Default: `false`. - +-#### **experimentalUseInvalidMetadata** *bool* +- +-**This setting is experimental and may be deleted.** +- +-experimentalUseInvalidMetadata enables gopls to fall back on outdated +-package metadata to provide editor features if the go command fails to +-load packages for some reason (like an invalid go.mod file). This will +-eventually be the default behavior, and this setting will be removed. +- +-Default: `false`. +- -### Formatting - -#### **local** *string* @@ -2837,6 +3345,15 @@ diff -urN a/gopls/doc/settings.md b/gopls/doc/settings.md -* `"Fuzzy"` -Default: `"Fuzzy"`. - +-##### **experimentalPostfixCompletions** *bool* +- +-**This setting is experimental and may be deleted.** +- +-experimentalPostfixCompletions enables artifical method snippets +-such as "someSlice.sort!". +- +-Default: `true`. +- -#### Diagnostic - -##### **analyses** *map[string]bool* @@ -3012,52 +3529,45 @@ diff -urN a/gopls/doc/settings.md b/gopls/doc/settings.md -features are subject to change. - - +-### **Toggle gc_details** +- +-Identifier: `gc_details` +- +-Toggle the calculation of gc annotations. -### **Run go generate** - -Identifier: `generate` - --generate runs `go generate` for a given directory. -- +-Runs `go generate` for a given directory. -### **Regenerate cgo** - -Identifier: `regenerate_cgo` - --regenerate_cgo regenerates cgo definitions. -- --### **Run test(s)** +-Regenerates cgo definitions. +-### **Run test(s) (legacy)** - -Identifier: `test` - --test runs `go test` for a specific test function. -- +-Runs `go test` for a specific set of test or benchmark functions. -### **Run go mod tidy** - -Identifier: `tidy` - --tidy runs `go mod tidy` for a module. -- --### **Upgrade dependency** +-Runs `go mod tidy` for a module. +-### **Upgrade a dependency** - -Identifier: `upgrade_dependency` - --upgrade_dependency upgrades a dependency. -- +-Upgrades a dependency in the go.mod file for a module. -### **Run go mod vendor** - -Identifier: `vendor` - --vendor runs `go mod vendor` for a module. -- --### **Toggle gc_details** -- --Identifier: `gc_details` -- --gc_details controls calculation of gc annotations. -- +-Runs `go mod vendor` for a module. - diff -urN a/gopls/doc/subl.md b/gopls/doc/subl.md ---- a/gopls/doc/subl.md 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/doc/subl.md 1969-12-31 19:00:00.000000000 -0500 +--- a/gopls/doc/subl.md 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/doc/subl.md 1969-12-31 16:00:00.000000000 -0800 @@ -1,11 +0,0 @@ -# Sublime Text - @@ -3071,8 +3581,8 @@ diff -urN a/gopls/doc/subl.md b/gopls/doc/subl.md - -[LSP]: https://packagecontrol.io/packages/LSP diff -urN a/gopls/doc/troubleshooting.md b/gopls/doc/troubleshooting.md ---- a/gopls/doc/troubleshooting.md 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/doc/troubleshooting.md 1969-12-31 19:00:00.000000000 -0500 +--- a/gopls/doc/troubleshooting.md 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/doc/troubleshooting.md 1969-12-31 16:00:00.000000000 -0800 @@ -1,48 +0,0 @@ -# Troubleshooting - @@ -3086,7 +3596,7 @@ diff -urN a/gopls/doc/troubleshooting.md b/gopls/doc/troubleshooting.md - -1. Verify that your project is in good shape by working with it outside of your editor. Running a command like `go build ./...` in the workspace directory will compile everything. For modules, `go mod tidy` is another good check, though it may modify your `go.mod`. -1. Check that your editor isn't showing any diagnostics that indicate a problem with your workspace. They may appear as diagnostics on a Go file's package declaration, diagnostics in a go.mod file, or as a status or progress message. Problems in the workspace configuration can cause many different symptoms. See the [workspace setup instructions](workspace.md) for help. --1. Make sure `gopls` is up to date by following the [installation instructions](user.md#installing), then [restarting gopls](#restart-gopls). +-1. Make sure `gopls` is up to date by following the [installation instructions](../README.md#installation), then [restarting gopls](#restart-gopls). -1. Optionally, [ask for help](#ask-for-help) on Gophers Slack. -1. Finally, [report the issue](#file-an-issue) to the `gopls` developers. - @@ -3117,237 +3627,68 @@ diff -urN a/gopls/doc/troubleshooting.md b/gopls/doc/troubleshooting.md - -To increase the level of detail in your logs, start `gopls` with the `-rpc.trace` flag. To start a debug server that will allow you to see profiles and memory usage, start `gopls` with `serve --debug=localhost:6060`. You will then be able to view debug information by navigating to `localhost:6060`. - --If you are unsure of how to pass a flag to `gopls` through your editor, please see the [documentation for your editor](user.md#editors). +-If you are unsure of how to pass a flag to `gopls` through your editor, please see the [documentation for your editor](../README.md#editors). - -## Debug memory usage - -`gopls` automatically writes out memory debug information when your usage exceeds 1GB. This information can be found in your temporary directory with names like `gopls.1234-5GiB-withnames.zip`. On Windows, your temporary directory will be located at `%TMP%`, and on Unixes, it will be `$TMPDIR`, which is usually `/tmp`. Please [file an issue](#file-an-issue) with this memory debug information attached. If you are uncomfortable sharing the package names of your code, you can share the `-nonames` zip instead, but it's much less useful. -diff -urN a/gopls/doc/user.md b/gopls/doc/user.md ---- a/gopls/doc/user.md 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/doc/user.md 1969-12-31 19:00:00.000000000 -0500 -@@ -1,165 +0,0 @@ --# User guide -- --**If you're having issues with `gopls`, please see the --[troubleshooting guide](troubleshooting.md).** -- --## Editors -- --The following is the list of editors with known integrations for `gopls`. -- --* [VSCode](vscode.md) --* [Vim / Neovim](vim.md) --* [Emacs](emacs.md) --* [Acme](acme.md) --* [Sublime Text](subl.md) --* [Atom](atom.md) -- --If you use `gopls` with an editor that is not on this list, please let us know --by [filing an issue](#new-issue) or [modifying this documentation](contributing.md). -- --## Overview -- --* [Installation](#installation) --* [Configuration](#configuration) -- --Learn more at the following pages: -- --* [Features](features.md) --* [Command-line](command-line.md) +diff -urN a/gopls/doc/vim.md b/gopls/doc/vim.md +--- a/gopls/doc/vim.md 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/doc/vim.md 1969-12-31 16:00:00.000000000 -0800 +@@ -1,229 +0,0 @@ +-# Vim / Neovim - --## Installation +-* [vim-go](#vimgo) +-* [LanguageClient-neovim](#lcneovim) +-* [Ale](#ale) +-* [vim-lsp](#vimlsp) +-* [vim-lsc](#vimlsc) +-* [coc.nvim](#cocnvim) +-* [govim](#govim) +-* [Neovim v0.5.0+](#neovim) +- * [Installation](#neovim-install) +- * [Custom Configuration](#neovim-config) +- * [Imports](#neovim-imports) +- * [Omnifunc](#neovim-omnifunc) +- * [Additional Links](#neovim-links) - --For the most part, you should not need to install or update `gopls`. Your editor should handle that step for you. +-## vim-go - --If you do want to get the latest stable version of `gopls`, change to any directory that is both outside of your `GOPATH` and outside of a module (a temp directory is fine), and run +-Use [vim-go] ver 1.20+, with the following configuration: - --```sh --go get golang.org/x/tools/gopls@latest +-```vim +-let g:go_def_mode='gopls' +-let g:go_info_mode='gopls' -``` - --**Do not** use the `-u` flag, as it will update your dependencies to incompatible versions. +-## LanguageClient-neovim - --To get a specific version of `gopls` (for example, to test a prerelease --version), run: +-Use [LanguageClient-neovim], with the following configuration: - --```sh --go get golang.org/x/tools/gopls@vX.Y.Z +-```vim +-" Launch gopls when Go files are in use +-let g:LanguageClient_serverCommands = { +- \ 'go': ['gopls'] +- \ } +-" Run gofmt on save +-autocmd BufWritePre *.go :call LanguageClient#textDocument_formatting_sync() -``` - --Where `vX.Y.Z` is the desired version. +-## Ale - --If you see this error: +-Use [ale]: - --```sh --$ go get golang.org/x/tools/gopls@latest --go: cannot use path@version syntax in GOPATH mode +-```vim +-let g:ale_linters = { +- \ 'go': ['gopls'], +- \} -``` - --then run -- --```sh --GO111MODULE=on go get golang.org/x/tools/gopls@latest --``` +-see [this issue][ale-issue-2179] - --### Unstable versions +-## vim-lsp - --`go get` doesn't honor the `replace` directive in the `go.mod` of --`gopls` when you are outside of the `gopls` module, so a simple `go get` --with `@master` could fail. To actually update your `gopls` to the --latest **unstable** version, use: -- --```sh --go get golang.org/x/tools/gopls@master golang.org/x/tools@master --``` -- --In general, you should use `@latest` instead, to prevent frequent --breakages. -- --### Supported Go versions -- --`gopls` follows the --[Go Release Policy](https://golang.org/doc/devel/release.html#policy), --meaning that it officially supports the last 2 major Go releases. We run CI to --verify that the `gopls` tests pass for the last 4 major Go releases, but do not --prioritize issues only affecting legacy Go release (3 or 4 releases ago). -- --## Configuration -- --### Environment variables -- --These are often inherited from the editor that launches `gopls`, and sometimes --the editor has a way to add or replace values before launching. For example, --VSCode allows you to configure `go.toolsEnvVars`. -- --Configuring your environment correctly is important, as `gopls` relies on the --`go` command. -- --### Command-line flags -- --See the [command-line page](command-line.md) for more information about the --flags you might specify. All editors support some way of adding flags to --`gopls`, for the most part you should not need to do this unless you have very --unusual requirements or are trying to [troubleshoot](troubleshooting.md#steps) --`gopls` behavior. -- --### Editor settings -- --For the most part these will be settings that control how the editor interacts --with or uses the results of `gopls`, not modifications to `gopls` itself. This --means they are not standardized across editors, and you will have to look at --the specific instructions for your editor integration to change them. -- --#### The set of workspace folders -- --This is one of the most important pieces of configuration. It is the set of --folders that gopls considers to be "roots" that it should consider files to --be a part of. -- --If you are using modules there should be one of these per go.mod that you --are working on. If you do not open the right folders, very little will work. --**This is the most common misconfiguration of `gopls` that we see**. -- --#### Global configuration -- --There should be a way of declaring global settings for `gopls` inside the --editor. The settings block will be called `"gopls"` and contains a collection --of controls for `gopls` that the editor is not expected to understand or --control. -- --In VSCode, this would be a section in your settings file that might look like --this: -- --```json5 -- "gopls": { -- "usePlaceholders": true, -- "completeUnimported": true -- }, --``` -- --See [Settings](settings.md) for more information about the available --configurations. -- --#### Workspace folder configuration -- --This contains exactly the same set of values that are in the global --configuration, but it is fetched for every workspace folder separately. --The editor can choose to respond with different values per-folder. -- --### Working on the Go source distribution -- --If you are working on the [Go project](https://go.googlesource.com/go) itself, --your `go` command will have to correspond to the version of the source you are --working on. That is, if you have downloaded the code to `$HOME/go`, your `go` --command should be the `$HOME/go/bin/go` executable that you built with --`make.bash` or equivalent. -- --You can achieve this by adding the right version of `go` to your `PATH` (`export PATH=$HOME/go/bin:$PATH` on Unix systems) or by configuring your editor. In VS Code, you can use the `go.alternateTools` setting to point to the correct version of `go`: -- --```json5 --{ -- -- "go.alternateTools": { -- "go": "$HOME/bin/go" -- } --} --``` -diff -urN a/gopls/doc/vim.md b/gopls/doc/vim.md ---- a/gopls/doc/vim.md 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/doc/vim.md 1969-12-31 19:00:00.000000000 -0500 -@@ -1,219 +0,0 @@ --# Vim / Neovim -- --* [vim-go](#vimgo) --* [LanguageClient-neovim](#lcneovim) --* [Ale](#ale) --* [vim-lsp](#vimlsp) --* [vim-lsc](#vimlsc) --* [coc.nvim](#cocnvim) --* [govim](#govim) --* [Neovim v0.5.0+](#neovim) -- * [Installation](#neovim-install) -- * [Custom Configuration](#neovim-config) -- * [Imports](#neovim-imports) -- * [Omnifunc](#neovim-omnifunc) -- * [Additional Links](#neovim-links) -- --## vim-go -- --Use [vim-go] ver 1.20+, with the following configuration: -- --```vim --let g:go_def_mode='gopls' --let g:go_info_mode='gopls' --``` -- --## LanguageClient-neovim -- --Use [LanguageClient-neovim], with the following configuration: -- --```vim --" Launch gopls when Go files are in use --let g:LanguageClient_serverCommands = { -- \ 'go': ['gopls'] -- \ } --" Run gofmt on save --autocmd BufWritePre *.go :call LanguageClient#textDocument_formatting_sync() --``` -- --## Ale -- --Use [ale]: -- --```vim --let g:ale_linters = { -- \ 'go': ['gopls'], -- \} --``` -- --see [this issue][ale-issue-2179] -- --## vim-lsp -- --Use [prabirshrestha/vim-lsp], with the following configuration: +-Use [prabirshrestha/vim-lsp], with the following configuration: - -```vim -augroup LspGo @@ -3461,24 +3802,34 @@ diff -urN a/gopls/doc/vim.md b/gopls/doc/vim.md -lua < ../ diff -urN a/gopls/go.sum b/gopls/go.sum ---- a/gopls/go.sum 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/go.sum 1969-12-31 19:00:00.000000000 -0500 -@@ -1,71 +0,0 @@ +--- a/gopls/go.sum 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/go.sum 1969-12-31 16:00:00.000000000 -0800 +@@ -1,70 +0,0 @@ -github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/davecgh/go-spew v0.0.0-20161028175848-04cdfd42973b/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= --github.com/google/go-cmp v0.5.4 h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= --github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +-github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= +-github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/safehtml v0.0.2 h1:ZOt2VXg4x24bW0m2jtzAOkhoXV0iM8vNKc0paByCZqM= -github.com/google/safehtml v0.0.2/go.mod h1:L4KWwDsUJdECRAEpZoBn3O64bQaywRscowZjJAzjHnU= --github.com/jba/templatecheck v0.5.0 h1:sZwNjXG3xNApuwKmgUWEo2JuxmG0sgNaELl0zwRQ9x8= --github.com/jba/templatecheck v0.5.0/go.mod h1:/1k7EajoSErFI9GLHAsiIJEaNLt3ALKNw2TV7z2SYv4= +-github.com/jba/templatecheck v0.6.0 h1:SwM8C4hlK/YNLsdcXStfnHWE2HKkuTVwy5FKQHt5ro8= +-github.com/jba/templatecheck v0.6.0/go.mod h1:/1k7EajoSErFI9GLHAsiIJEaNLt3ALKNw2TV7z2SYv4= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= --github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= --github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= --github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.5.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= -github.com/rogpeppe/go-internal v1.6.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= --github.com/sanity-io/litter v1.3.0 h1:5ZO+weUsqdSWMUng5JnpkW/Oz8iTXiIdeumhQr1sSjs= --github.com/sanity-io/litter v1.3.0/go.mod h1:5Z71SvaYy5kcGtyglXOC9rrUi3c1E8CamFWjQsazTh0= +-github.com/sanity-io/litter v1.5.0 h1:cHM1wTJiOETY9LKRPd3tqUHGquaBaTteD1tZFesEoi8= +-github.com/sanity-io/litter v1.5.0/go.mod h1:5Z71SvaYy5kcGtyglXOC9rrUi3c1E8CamFWjQsazTh0= -github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0= -github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v0.0.0-20161117074351-18a02ba4a312/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= -github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= --github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +-github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= --golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= --golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= --golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= --golang.org/x/mod v0.4.0 h1:8pl+sMODzuvGJkmj2W4kZihvVb5mKm8pB/X44PIQHv8= -golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +-golang.org/x/mod v0.4.2 h1:Gz96sIWK3OalVv/I/qNygP42zyoKp3xptRVCWRFEBvo= +-golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= --golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= --golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9 h1:SQFwaSi55rU7vdNs9Yr0Z324VNlrF+0wMqRXT4St8ck= --golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +-golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= +-golang.org/x/sync v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ= +-golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= --golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= --golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 h1:myAQVi0cGEoqQVR5POX+8RR2mrocKqNN1hmeMqhX27k= --golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +-golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +-golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +-golang.org/x/sys v0.0.0-20210510120138-977fb7262007 h1:gG67DSER+11cZvqIMb8S8bt0vZtiN6xWYARwirrOSfE= +-golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +-golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= --golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +-golang.org/x/text v0.3.6 h1:aRYxNxv6iGQlyVaZmk6ZgYEDa+Jg18DxebPSrd6bg1M= +-golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= --gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= -gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.4 h1:/eiJrUcujPVeJ3xlSWaiNi3uSVmDGBK1pDHUHAnao1I= -gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= --honnef.co/go/tools v0.0.1-2020.1.6 h1:W18jzjh8mfPez+AwGLxmOImucz/IFjpNlrKVnaj2YVc= --honnef.co/go/tools v0.0.1-2020.1.6/go.mod h1:pyyisuGw24ruLjrr1ddx39WE0y9OooInRzEYLhQB2YY= --mvdan.cc/gofumpt v0.1.0 h1:hsVv+Y9UsZ/mFZTxJZuHVI6shSQCtzZ11h1JEFPAZLw= --mvdan.cc/gofumpt v0.1.0/go.mod h1:yXG1r1WqZVKWbVRtBWKWX9+CxGYfA51nSomhM0woR48= +-honnef.co/go/tools v0.1.4 h1:SadWOkti5uVN1FAMgxn165+Mw00fuQKyk4Gyn/inxNQ= +-honnef.co/go/tools v0.1.4/go.mod h1:NgwopIslSNH47DimFoV78dnkksY2EFtX0ajyb3K/las= +-honnef.co/go/tools v0.2.0 h1:ws8AfbgTX3oIczLPNPCu5166oBg9ST2vNs0rcht+mDE= +-honnef.co/go/tools v0.2.0/go.mod h1:lPVVZ2BS5TfnjLyizF7o7hv7j9/L+8cZY2hLyjP9cGY= +-mvdan.cc/gofumpt v0.1.1 h1:bi/1aS/5W00E2ny5q65w9SnKpWEF/UIOqDYBILpo9rA= +-mvdan.cc/gofumpt v0.1.1/go.mod h1:yXG1r1WqZVKWbVRtBWKWX9+CxGYfA51nSomhM0woR48= -mvdan.cc/xurls/v2 v2.2.0 h1:NSZPykBXJFCetGZykLAxaL6SIpvbVy/UFEniIfHAa8A= -mvdan.cc/xurls/v2 v2.2.0/go.mod h1:EV1RMtya9D6G5DMYPGD8zTQzaHet6Jh8gFlRgGRJeO8= diff -urN a/gopls/integration/govim/Dockerfile b/gopls/integration/govim/Dockerfile ---- a/gopls/integration/govim/Dockerfile 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/integration/govim/Dockerfile 1969-12-31 19:00:00.000000000 -0500 +--- a/gopls/integration/govim/Dockerfile 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/integration/govim/Dockerfile 1969-12-31 16:00:00.000000000 -0800 @@ -1,16 +0,0 @@ -# Copyright 2019 The Go Authors. All rights reserved. -# Use of this source code is governed by a BSD-style @@ -3781,8 +4066,8 @@ diff -urN a/gopls/integration/govim/Dockerfile b/gopls/integration/govim/Dockerf -RUN git clone https://github.com/govim/govim /src/govim && cd /src/govim && \ - git checkout $GOVIM_REF diff -urN a/gopls/integration/govim/README.md b/gopls/integration/govim/README.md ---- a/gopls/integration/govim/README.md 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/integration/govim/README.md 1969-12-31 19:00:00.000000000 -0500 +--- a/gopls/integration/govim/README.md 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/integration/govim/README.md 1969-12-31 16:00:00.000000000 -0800 @@ -1,47 +0,0 @@ -# govim integration tests - @@ -3832,8 +4117,8 @@ diff -urN a/gopls/integration/govim/README.md b/gopls/integration/govim/README.m - -[govim]: https://github.com/govim/govim diff -urN a/gopls/integration/govim/artifacts.go b/gopls/integration/govim/artifacts.go ---- a/gopls/integration/govim/artifacts.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/integration/govim/artifacts.go 1969-12-31 19:00:00.000000000 -0500 +--- a/gopls/integration/govim/artifacts.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/integration/govim/artifacts.go 1969-12-31 16:00:00.000000000 -0800 @@ -1,67 +0,0 @@ -// Copyright 2020 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style @@ -3903,8 +4188,8 @@ diff -urN a/gopls/integration/govim/artifacts.go b/gopls/integration/govim/artif - return nil -} diff -urN a/gopls/integration/govim/cloudbuild.harness.yaml b/gopls/integration/govim/cloudbuild.harness.yaml ---- a/gopls/integration/govim/cloudbuild.harness.yaml 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/integration/govim/cloudbuild.harness.yaml 1969-12-31 19:00:00.000000000 -0500 +--- a/gopls/integration/govim/cloudbuild.harness.yaml 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/integration/govim/cloudbuild.harness.yaml 1969-12-31 16:00:00.000000000 -0800 @@ -1,21 +0,0 @@ -# Copyright 2019 The Go Authors. All rights reserved. -# Use of this source code is governed by a BSD-style @@ -3928,8 +4213,8 @@ diff -urN a/gopls/integration/govim/cloudbuild.harness.yaml b/gopls/integration/ -images: - - gcr.io/$PROJECT_ID/govim-harness diff -urN a/gopls/integration/govim/cloudbuild.yaml b/gopls/integration/govim/cloudbuild.yaml ---- a/gopls/integration/govim/cloudbuild.yaml 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/integration/govim/cloudbuild.yaml 1969-12-31 19:00:00.000000000 -0500 +--- a/gopls/integration/govim/cloudbuild.yaml 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/integration/govim/cloudbuild.yaml 1969-12-31 16:00:00.000000000 -0800 @@ -1,51 +0,0 @@ -# Copyright 2019 The Go Authors. All rights reserved. -# Use of this source code is governed by a BSD-style @@ -3983,8 +4268,8 @@ diff -urN a/gopls/integration/govim/cloudbuild.yaml b/gopls/integration/govim/cl -# shared. -logsBucket: 'gs://${_RESULT_BUCKET}' diff -urN a/gopls/integration/govim/run_local.sh b/gopls/integration/govim/run_local.sh ---- a/gopls/integration/govim/run_local.sh 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/integration/govim/run_local.sh 1969-12-31 19:00:00.000000000 -0500 +--- a/gopls/integration/govim/run_local.sh 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/integration/govim/run_local.sh 1969-12-31 16:00:00.000000000 -0800 @@ -1,96 +0,0 @@ -#!/bin/bash -e - @@ -4083,8 +4368,8 @@ diff -urN a/gopls/integration/govim/run_local.sh b/gopls/integration/govim/run_l - go test ${TEST_SHORT} ./cmd/govim \ - -gopls "/src/tools/gopls/${temp_gopls_name}" diff -urN a/gopls/integration/govim/run_tests_for_cloudbuild.sh b/gopls/integration/govim/run_tests_for_cloudbuild.sh ---- a/gopls/integration/govim/run_tests_for_cloudbuild.sh 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/integration/govim/run_tests_for_cloudbuild.sh 1969-12-31 19:00:00.000000000 -0500 +--- a/gopls/integration/govim/run_tests_for_cloudbuild.sh 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/integration/govim/run_tests_for_cloudbuild.sh 1969-12-31 16:00:00.000000000 -0800 @@ -1,28 +0,0 @@ -#!/bin/bash - @@ -4114,1119 +4399,354 @@ diff -urN a/gopls/integration/govim/run_tests_for_cloudbuild.sh b/gopls/integrat - # Remove directories we don't care about. - find "$GOVIM_TESTSCRIPT_WORKDIR_ROOT" -type d \( -name .vim -o -name gopath \) -prune -exec rm -rf '{}' \; -fi -diff -urN a/gopls/integration/parse/parse.go b/gopls/integration/parse/parse.go ---- a/gopls/integration/parse/parse.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/integration/parse/parse.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,230 +0,0 @@ --// Copyright 2019 The Go Authors. All rights reserved. +diff -urN a/gopls/internal/coverage/coverage.go b/gopls/internal/coverage/coverage.go +--- a/gopls/internal/coverage/coverage.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/coverage/coverage.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,261 +0,0 @@ +-// Copyright 2021 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - --// Package parse provides functions to parse LSP logs. --// Fully processed logs are returned by ToRLog(). --package parse +-//go:build go.1.16 +-// +build go.1.16 +- +-// Running this program in the tools directory will produce a coverage file /tmp/cover.out +-// and a coverage report for all the packages under internal/lsp, accumulated by all the tests +-// under gopls. +-// +-// -o controls where the coverage file is written, defaulting to /tmp/cover.out +-// -i coverage-file will generate the report from an existing coverage file +-// -v controls verbosity (0: only report coverage, 1: report as each directory is finished, +-// 2: report on each test, 3: more details, 4: too much) +-// -t tests only tests packages in the given comma-separated list of directories in gopls. +-// The names should start with ., as in ./internal/regtest/bench +-// -run tests. If set, -run tests is passed on to the go test command. +-// +-// Despite gopls' use of goroutines, the counts are almost deterministic. +-package main - -import ( -- "bufio" +- "bytes" - "encoding/json" -- "errors" +- "flag" - "fmt" - "log" - "os" -- "regexp" +- "os/exec" +- "path/filepath" +- "sort" - "strings" --) +- "time" - --// MsgType is the type of message. --type MsgType int +- "golang.org/x/tools/cover" +-) - --const ( -- // ClRequest from client to server has method and id -- ClRequest MsgType = iota -- // ClResponse from server to client -- ClResponse -- // SvRequest from server to client, has method and id -- SvRequest -- // SvResponse from client to server -- SvResponse -- // ToServer notification has method, but no id -- ToServer -- // ToClient notification -- ToClient -- // ReportErr is an error message -- ReportErr // errors have method and id +-var ( +- proFile = flag.String("i", "", "existing profile file") +- outFile = flag.String("o", "/tmp/cover.out", "where to write the coverage file") +- verbose = flag.Int("v", 0, "how much detail to print as tests are running") +- tests = flag.String("t", "", "list of tests to run") +- run = flag.String("run", "", "value of -run to pass to go test") -) - --// Logmsg is the type of a parsed log entry. --type Logmsg struct { -- Type MsgType -- Method string -- ID string // for requests/responses. Client and server request ids overlap -- Elapsed string // for responses -- Hdr string // header. do we need to keep all these strings? -- Rest string // the unparsed result, with newlines or not -- Body interface{} // the parsed result --} -- --// ReadLogs from a file. Most users should use ToRlog(). --func ReadLogs(fname string) ([]*Logmsg, error) { -- byid := make(map[string]int) -- msgs := []*Logmsg{} -- fd, err := os.Open(fname) -- if err != nil { -- return nil, err +-func main() { +- log.SetFlags(log.Lshortfile) +- flag.Parse() +- +- if *proFile != "" { +- report(*proFile) +- return - } -- defer fd.Close() -- logrdr := bufio.NewScanner(fd) -- logrdr.Buffer(nil, 1<<25) // a large buffer, for safety -- logrdr.Split(scanLogs) -- for i := 0; logrdr.Scan(); i++ { -- flds := strings.SplitN(logrdr.Text(), "\n", 2) -- if len(flds) == 1 { -- flds = append(flds, "") // for Errors +- +- checkCwd() +- // find the packages under gopls containing tests +- tests := listDirs("gopls") +- tests = onlyTests(tests) +- tests = realTestName(tests) +- +- // report coverage for packages under internal/lsp +- parg := "golang.org/x/tools/internal/lsp/..." +- +- accum := []string{} +- seen := make(map[string]bool) +- now := time.Now() +- for _, toRun := range tests { +- if excluded(toRun) { +- continue - } -- msg, err := parselog(flds[0], flds[1]) -- if err != nil { -- return nil, fmt.Errorf("failed to parse %q: %v", logrdr.Text(), err) +- x := runTest(toRun, parg) +- if *verbose > 0 { +- fmt.Printf("finished %s %.1fs\n", toRun, time.Since(now).Seconds()) - } -- switch msg.Type { -- case ClRequest, SvRequest: -- v, err := msg.unmarshal(Requests(msg.Method)) -- if err != nil { -- return nil, fmt.Errorf("%v for %s, %T", err, msg.Method, Requests(msg.Method)) -- } -- msg.Body = v -- case ClResponse, SvResponse: -- v, err := msg.doresponse() -- if err != nil { -- return nil, fmt.Errorf("%v %s", err, msg.Method) +- lines := bytes.Split(x, []byte{'\n'}) +- for _, l := range lines { +- if len(l) == 0 { +- continue - } -- msg.Body = v -- case ToServer, ToClient: -- v, err := msg.unmarshal(Notifs(msg.Method)) -- if err != nil && Notifs(msg.Method) != nil { -- return nil, fmt.Errorf("%s/%T: %v", msg.Method, Notifs(msg.Method), err) +- if !seen[string(l)] { +- // not accumulating counts, so only works for mode:set +- seen[string(l)] = true +- accum = append(accum, string(l)) - } -- msg.Body = v -- case ReportErr: -- msg.Body = msg.Rest // save cause -- } -- byid[msg.ID]++ -- msgs = append(msgs, msg) -- } -- if err = logrdr.Err(); err != nil { -- return msgs, err -- } -- return msgs, nil --} -- --// parse a single log message, given first line, and the rest --func parselog(first, rest string) (*Logmsg, error) { -- if strings.HasPrefix(rest, "Params: ") { -- rest = rest[8:] -- } else if strings.HasPrefix(rest, "Result: ") { -- rest = rest[8:] -- } -- msg := &Logmsg{Hdr: first, Rest: rest} -- fixid := func(s string) string { -- // emacs does (n)., gopls does (n)'. -- s = strings.Trim(s, "()'.{)") -- return s -- } -- flds := strings.Fields(first) -- chk := func(s string, n int) bool { return strings.Contains(first, s) && len(flds) == n } -- // gopls and emacs differ in how they report elapsed time -- switch { -- case chk("Sending request", 9): -- msg.Type = ClRequest -- msg.Method = flds[6][1:] -- msg.ID = fixid(flds[8][:len(flds[8])-2]) -- case chk("Received response", 11): -- msg.Type = ClResponse -- msg.Method = flds[6][1:] -- msg.ID = fixid(flds[8]) -- msg.Elapsed = flds[10] -- case chk("Received request", 9): -- msg.Type = SvRequest -- msg.Method = flds[6][1:] -- msg.ID = fixid(flds[8]) -- case chk("Sending response", 11), // gopls -- chk("Sending response", 13): // emacs -- msg.Type = SvResponse -- msg.Method = flds[6][1:] -- msg.ID = fixid(flds[8][:len(flds[8])-1]) -- msg.Elapsed = flds[10] -- case chk("Sending notification", 7): -- msg.Type = ToServer -- msg.Method = strings.Trim(flds[6], ".'") -- if len(flds) == 9 { -- log.Printf("len=%d method=%s %q", len(flds), msg.Method, first) -- } -- case chk("Received notification", 7): -- msg.Type = ToClient -- msg.Method = flds[6][1 : len(flds[6])-2] -- case strings.HasPrefix(first, "[Error - "): -- msg.Type = ReportErr -- both := flds[5] -- idx := strings.Index(both, "#") // relies on ID.Number -- msg.Method = both[:idx] -- msg.ID = fixid(both[idx+1:]) -- msg.Rest = strings.Join(flds[6:], " ") -- msg.Rest = `"` + msg.Rest + `"` -- default: -- return nil, fmt.Errorf("surprise, first=%q with %d flds", first, len(flds)) +- } +- } +- sort.Strings(accum[1:]) +- if err := os.WriteFile(*outFile, []byte(strings.Join(accum, "\n")), 0644); err != nil { +- log.Print(err) - } -- return msg, nil +- report(*outFile) -} - --// unmarshal into a proposed type --func (l *Logmsg) unmarshal(p interface{}) (interface{}, error) { -- r := []byte(l.Rest) -- if err := json.Unmarshal(r, p); err != nil { -- // need general alternatives, but for now -- // if p is *[]foo and rest is {}, return an empty p (or *p?) -- // or, cheat: -- if l.Rest == "{}" { -- return nil, nil -- } -- return nil, err -- } -- return p, nil +-type result struct { +- Time time.Time +- Test string +- Action string +- Package string +- Output string +- Elapsed float64 -} - --func (l *Logmsg) doresponse() (interface{}, error) { -- for _, x := range Responses(l.Method) { -- v, err := l.unmarshal(x) -- if err == nil { -- return v, nil -- } -- if x == nil { -- return new(interface{}), nil +-func runTest(tName, parg string) []byte { +- args := []string{"test", "-short", "-coverpkg", parg, "-coverprofile", *outFile, +- "-json"} +- if *run != "" { +- args = append(args, fmt.Sprintf("-run=%s", *run)) +- } +- args = append(args, tName) +- cmd := exec.Command("go", args...) +- cmd.Dir = "./gopls" +- ans, err := cmd.Output() +- if *verbose > 1 { +- got := strings.Split(string(ans), "\n") +- for _, g := range got { +- if g == "" { +- continue +- } +- var m result +- if err := json.Unmarshal([]byte(g), &m); err != nil { +- log.Printf("%T/%v", err, err) // shouldn't happen +- continue +- } +- maybePrint(m) - } - } -- // failure! -- rr := Responses(l.Method) -- for _, x := range rr { -- log.Printf("tried %T", x) +- if err != nil { +- log.Printf("%s: %q, cmd=%s", tName, ans, cmd.String()) +- } +- buf, err := os.ReadFile(*outFile) +- if err != nil { +- log.Fatal(err) - } -- log.Fatalf("(%d) doresponse failed for %s %q", len(rr), l.Method, l.Rest) -- return nil, nil +- return buf -} - --// be a little forgiving in separating log records --var recSep = regexp.MustCompile("\n\n\n|\r\n\r\n\r\n") -- --// return offset of start of next record, contents of record, error --func scanLogs(b []byte, atEOF bool) (int, []byte, error) { //bufio.SplitFunc -- got := recSep.FindIndex(b) -- if got == nil { -- if atEOF && len(b) > 0 { -- return 0, nil, errors.New("malformed log: all logs should end with a separator") -- } -- return 0, nil, nil -- } -- return got[1], b[:got[0]], nil --} -- --// String returns a user-useful versin of a Direction --func (d MsgType) String() string { -- switch d { -- case ClRequest: -- return "clrequest" -- case ClResponse: -- return "clresponse" -- case SvRequest: -- return "svrequest" -- case SvResponse: -- return "svresponse" -- case ToServer: -- return "toserver" -- case ToClient: -- return "toclient" -- case ReportErr: -- return "reporterr" -- } -- return fmt.Sprintf("dirname: %d unknown", d) --} -diff -urN a/gopls/integration/parse/protocol.go b/gopls/integration/parse/protocol.go ---- a/gopls/integration/parse/protocol.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/integration/parse/protocol.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,320 +0,0 @@ --// Copyright 2019 The Go Authors. All rights reserved. --// Use of this source code is governed by a BSD-style --// license that can be found in the LICENSE file. -- --package parse -- --import ( -- "log" +-func report(fn string) { +- profs, err := cover.ParseProfiles(fn) +- if err != nil { +- log.Fatal(err) +- } +- for _, p := range profs { +- statements, counts := 0, 0 +- for _, x := range p.Blocks { +- statements += x.NumStmt +- if x.Count != 0 { +- counts += x.NumStmt // sic: if any were executed, all were +- } +- } +- pc := 100 * float64(counts) / float64(statements) +- fmt.Printf("%3.0f%% %3d/%3d %s\n", pc, counts, statements, p.FileName) +- } +-} - -- p "golang.org/x/tools/internal/lsp/protocol" --) +-var todo []string // tests to run - --// Requests and notifications are fixed types --// Responses may be one of several types -- --// Requests returns a pointer to a type suitable for Unmarshal --func Requests(m string) interface{} { -- // these are in the documentation's order -- switch m { -- case "initialize": -- return new(p.InitializeParams) -- case "shutdown": -- return new(struct{}) -- case "window/showMessgeRequest": -- return new(p.ShowMessageRequestParams) -- case "client/registerCapability": -- return new(p.RegistrationParams) -- case "client/unregisterCapability": -- return new(p.UnregistrationParams) -- case "workspace/workspaceFolders": -- return nil -- case "workspace/configuration": -- return new(p.ConfigurationParams) -- case "workspace/symbol": -- return new(p.WorkspaceSymbolParams) -- case "workspace/executeCommand": -- return new(p.ExecuteCommandParams) -- case "workspace/applyEdit": -- return new(p.ApplyWorkspaceEditParams) -- case "textDocument/willSaveWaitUntil": -- return new(p.WillSaveTextDocumentParams) -- case "textDocument/completion": -- return new(p.CompletionParams) -- case "completionItem/resolve": -- return new(p.CompletionItem) -- case "textDocument/hover": -- return new(p.TextDocumentPositionParams) -- case "textDocument/signatureHelp": -- return new(p.TextDocumentPositionParams) -- case "textDocument/declaration": -- return new(p.TextDocumentPositionParams) -- case "textDocument/definition": -- return new(p.TextDocumentPositionParams) -- case "textDocument/typeDefinition": -- return new(p.TextDocumentPositionParams) -- case "textDocument/implementation": -- return new(p.TextDocumentPositionParams) -- case "textDocument/references": -- return new(p.ReferenceParams) -- case "textDocument/documentHighlight": -- return new(p.TextDocumentPositionParams) -- case "textDocument/documentSymbol": -- return new(p.DocumentSymbolParams) -- case "textDocument/codeAction": -- return new(p.CodeActionParams) -- case "textDocument/codeLens": -- return new(p.CodeLensParams) -- case "codeLens/resolve": -- return new(p.CodeLens) -- case "textDocument/documentLink": -- return new(p.DocumentLinkParams) -- case "documentLink/resolve": -- return new(p.DocumentLink) -- case "textDocument/documentColor": -- return new(p.DocumentColorParams) -- case "textDocument/colorPressentation": -- return new(p.ColorPresentationParams) -- case "textDocument/formatting": -- return new(p.DocumentFormattingParams) -- case "textDocument/rangeFormatting": -- return new(p.DocumentRangeFormattingParams) -- case "textDocument/typeFormatting": -- return new(p.DocumentOnTypeFormattingParams) -- case "textDocument/rename": -- return new(p.RenameParams) -- case "textDocument/prepareRename": -- return new(p.TextDocumentPositionParams) -- case "textDocument/foldingRange": -- return new(p.FoldingRangeParams) -- case "textDocument/incomingCalls": -- return new(p.CallHierarchyIncomingCallsParams) -- case "textDocument/outgoingCalls": -- return new(p.CallHierarchyOutgoingCallsParams) -- } -- log.Fatalf("request(%s) undefined", m) -- return "" +-func excluded(tname string) bool { +- if *tests == "" { // run all tests +- return false +- } +- if todo == nil { +- todo = strings.Split(*tests, ",") +- } +- for _, nm := range todo { +- if tname == nm { // run this test +- return false +- } +- } +- // not in list, skip it +- return true -} - --// Notifs returns a pointer to a type suitable for Unmarshal --func Notifs(m string) interface{} { -- switch m { -- case "$/cancelRequest": -- return new(p.CancelParams) -- case "$/setTraceNotification": -- return new(struct{ Value string }) -- case "client/registerCapability": // why is this a notification? (serer->client rpc) -- return new(p.RegistrationParams) -- case "initialized": -- return new(p.InitializedParams) -- case "exit": -- return nil -- case "window/showMessage": -- return new(p.ShowMessageParams) -- case "window/logMessage": -- return new(p.LogMessageParams) -- case "telemetry/event": -- return new(interface{}) // any -- case "workspace/didChangeWorkspaceFolders": -- return new(p.DidChangeWorkspaceFoldersParams) -- case "workspace/didChangeConfiguration": -- return new(p.DidChangeConfigurationParams) -- case "workspace/didChangeWatchedFiles": -- return new(p.DidChangeWatchedFilesParams) -- case "textDocument/didOpen": -- return new(p.DidOpenTextDocumentParams) -- case "textDocument/didChange": -- return new(p.DidChangeTextDocumentParams) -- case "textDocument/willSave": -- return new(p.WillSaveTextDocumentParams) -- case "textDocument/didSave": -- return new(p.DidSaveTextDocumentParams) -- case "textDocument/didClose": -- return new(p.DidCloseTextDocumentParams) -- case "textDocument/willClose": -- return new(p.DidCloseTextDocumentParams) -- case "textDocument/publishDiagnostics": -- return new(p.PublishDiagnosticsParams) -- } -- log.Fatalf("notif(%s) undefined", m) -- return "" +-// should m.Package be printed sometime? +-func maybePrint(m result) { +- switch m.Action { +- case "pass", "fail", "skip": +- fmt.Printf("%s %s %.3f\n", m.Action, m.Test, m.Elapsed) +- case "run": +- if *verbose > 2 { +- fmt.Printf("%s %s %.3f\n", m.Action, m.Test, m.Elapsed) +- } +- case "output": +- if *verbose > 3 { +- fmt.Printf("%s %s %q %.3f\n", m.Action, m.Test, m.Output, m.Elapsed) +- } +- default: +- log.Fatalf("unknown action %s\n", m.Action) +- } -} - --// Responses returns a slice of types, one of which should be --// suitable for Unmarshal --func Responses(m string) []interface{} { -- switch m { -- case "initialize": -- return []interface{}{new(p.InitializeResult)} -- case "shutdown": -- return []interface{}{nil} -- case "window/showMessageRequest": -- return []interface{}{new(p.MessageActionItem), nil} -- case "client/registerCapability": -- return []interface{}{nil} -- case "client/unregisterCapability": -- return []interface{}{nil} -- case "workspace/workspaceFolder": -- return []interface{}{new([]p.WorkspaceFolder), nil} -- case "workspace/configuration": -- return []interface{}{new([]interface{}), new(interface{})} -- case "workspace/symbol": -- return []interface{}{new([]p.SymbolInformation), nil} -- case "workspace/executeCommand": -- return []interface{}{new(interface{}), nil} -- case "workspace/applyEdit": -- return []interface{}{new(p.ApplyWorkspaceEditResponse)} -- case "textDocument/willSaveWaitUntil": -- return []interface{}{new([]p.TextEdit), nil} -- case "textDocument/completion": -- return []interface{}{new(p.CompletionList), new([]p.CompletionItem), nil} -- case "completionItem/resolve": -- return []interface{}{new(p.CompletionItem)} -- case "textDocument/hover": -- return []interface{}{new(p.Hover), nil} -- case "textDocument/signatureHelp": -- return []interface{}{new(p.SignatureHelp), nil} -- case "textDocument/declaration": -- return []interface{}{new(p.Location), new([]p.Location), new([]p.LocationLink), nil} -- case "textDocument/definition": -- return []interface{}{new([]p.Location), new([]p.Location), new([]p.LocationLink), nil} -- case "textDocument/typeDefinition": -- return []interface{}{new([]p.Location), new([]p.LocationLink), new(p.Location), nil} -- case "textDocument/implementation": -- return []interface{}{new(p.Location), new([]p.Location), new([]p.LocationLink), nil} -- case "textDocument/references": -- return []interface{}{new([]p.Location), nil} -- case "textDocument/documentHighlight": -- return []interface{}{new([]p.DocumentHighlight), nil} -- case "textDocument/documentSymbol": -- return []interface{}{new([]p.DocumentSymbol), new([]p.SymbolInformation), nil} -- case "textDocument/codeAction": -- return []interface{}{new([]p.CodeAction), new(p.Command), nil} -- case "textDocument/codeLens": -- return []interface{}{new([]p.CodeLens), nil} -- case "codelens/resolve": -- return []interface{}{new(p.CodeLens)} -- case "textDocument/documentLink": -- return []interface{}{new([]p.DocumentLink), nil} -- case "documentLink/resolve": -- return []interface{}{new(p.DocumentLink)} -- case "textDocument/documentColor": -- return []interface{}{new([]p.ColorInformation)} -- case "textDocument/colorPresentation": -- return []interface{}{new([]p.ColorPresentation)} -- case "textDocument/formatting": -- return []interface{}{new([]p.TextEdit), nil} -- case "textDocument/rangeFormatting": -- return []interface{}{new([]p.TextEdit), nil} -- case "textDocument/onTypeFormatting": -- return []interface{}{new([]p.TextEdit), nil} -- case "textDocument/rename": -- return []interface{}{new(p.WorkspaceEdit), nil} -- case "textDocument/prepareRename": -- return []interface{}{new(p.Range), nil} -- case "textDocument/foldingRange": -- return []interface{}{new([]p.FoldingRange), nil} -- case "callHierarchy/incomingCalls": -- return []interface{}{new([]p.CallHierarchyIncomingCall), nil} -- case "callHierarchy/outgoingCalls": -- return []interface{}{new([]p.CallHierarchyOutgoingCall), nil} -- } -- log.Fatalf("responses(%q) undefined", m) -- return nil +-// return only the directories that contain tests +-func onlyTests(s []string) []string { +- ans := []string{} +-outer: +- for _, d := range s { +- files, err := os.ReadDir(d) +- if err != nil { +- log.Fatalf("%s: %v", d, err) +- } +- for _, de := range files { +- if strings.Contains(de.Name(), "_test.go") { +- ans = append(ans, d) +- continue outer +- } +- } +- } +- return ans -} - --// Msgtype given method names. Note that mSrv|mCl is possible --type Msgtype int -- --const ( -- // Mnot for notifications -- Mnot Msgtype = 1 -- // Mreq for requests -- Mreq Msgtype = 2 -- // Msrv for messages from the server -- Msrv Msgtype = 4 -- // Mcl for messages from the client -- Mcl Msgtype = 8 --) -- --// IsNotify says if the message is a notification --func IsNotify(msg string) bool { -- m, ok := fromMethod[msg] -- if !ok { -- log.Fatalf("%q", msg) +-// replace the prefix gopls/ with ./ as the tests are run in the gopls directory +-func realTestName(p []string) []string { +- ans := []string{} +- for _, x := range p { +- x = x[len("gopls/"):] +- ans = append(ans, "./"+x) - } -- return m&Mnot != 0 +- return ans -} - --// FromServer says if the message is from the server --func FromServer(msg string) bool { -- m, ok := fromMethod[msg] -- if !ok { -- log.Fatalf("%q", msg) +-// make sure we start in a tools directory +-func checkCwd() { +- dir, err := os.Getwd() +- if err != nil { +- log.Fatal(err) +- } +- // we expect to be a the root of golang.org/x/tools +- cmd := exec.Command("go", "list", "-m", "-f", "{{.Dir}}", "golang.org/x/tools") +- buf, err := cmd.Output() +- buf = bytes.Trim(buf, "\n \t") // remove \n at end +- if err != nil { +- log.Fatal(err) +- } +- if string(buf) != dir { +- log.Fatalf("wrong directory: in %q, should be in %q", dir, string(buf)) +- } +- // and we expect gopls and internal/lsp as subdirectories +- _, err = os.Stat("gopls") +- if err != nil { +- log.Fatalf("expected a gopls directory, %v", err) +- } +- _, err = os.Stat("internal/lsp") +- if err != nil { +- log.Fatalf("expected to see internal/lsp, %v", err) - } -- return m&Msrv != 0 -} - --// FromClient says if the message is from the client --func FromClient(msg string) bool { -- m, ok := fromMethod[msg] -- if !ok { -- log.Fatalf("%q", msg) -- } -- return m&Mcl != 0 --} -- --// rpc name to message type --var fromMethod = map[string]Msgtype{ -- "$/cancelRequest": Mnot | Msrv | Mcl, -- "initialize": Mreq | Msrv, -- "initialized": Mnot | Mcl, -- "shutdown": Mreq | Mcl, -- "exit": Mnot | Mcl, -- "window/showMessage": Mreq | Msrv, -- "window/logMessage": Mnot | Msrv, -- "telemetry'event": Mnot | Msrv, -- "client/registerCapability": Mreq | Msrv, -- "client/unregisterCapability": Mreq | Msrv, -- "workspace/workspaceFolders": Mreq | Msrv, -- "workspace/workspaceDidChangeWorkspaceFolders": Mnot | Mcl, -- "workspace/didChangeConfiguration": Mnot | Mcl, -- "workspace/configuration": Mreq | Msrv, -- "workspace/didChangeWatchedFiles": Mnot | Mcl, -- "workspace/symbol": Mreq | Mcl, -- "workspace/executeCommand": Mreq | Mcl, -- "workspace/applyEdit": Mreq | Msrv, -- "textDocument/didOpen": Mnot | Mcl, -- "textDocument/didChange": Mnot | Mcl, -- "textDocument/willSave": Mnot | Mcl, -- "textDocument/willSaveWaitUntil": Mreq | Mcl, -- "textDocument/didSave": Mnot | Mcl, -- "textDocument/didClose": Mnot | Mcl, -- "textDocument/publishDiagnostics": Mnot | Msrv, -- "textDocument/completion": Mreq | Mcl, -- "completionItem/resolve": Mreq | Mcl, -- "textDocument/hover": Mreq | Mcl, -- "textDocument/signatureHelp": Mreq | Mcl, -- "textDocument/declaration": Mreq | Mcl, -- "textDocument/definition": Mreq | Mcl, -- "textDocument/typeDefinition": Mreq | Mcl, -- "textDocument/implementation": Mreq | Mcl, -- "textDocument/references": Mreq | Mcl, -- "textDocument/documentHighlight": Mreq | Mcl, -- "textDocument/documentSymbol": Mreq | Mcl, -- "textDocument/codeAction": Mreq | Mcl, -- "textDocument/codeLens": Mreq | Mcl, -- "codeLens/resolve": Mreq | Mcl, -- "textDocument/documentLink": Mreq | Mcl, -- "documentLink/resolve": Mreq | Mcl, -- "textDocument/documentColor": Mreq | Mcl, -- "textDocument/colorPresentation": Mreq | Mcl, -- "textDocument/formatting": Mreq | Mcl, -- "textDocument/rangeFormatting": Mreq | Mcl, -- "textDocument/onTypeFormatting": Mreq | Mcl, -- "textDocument/rename": Mreq | Mcl, -- "textDocument/prepareRename": Mreq | Mcl, -- "textDocument/foldingRange": Mreq | Mcl, -- "callHierarchy/incomingCalls": Mreq | Mcl, -- "callHierarchy/outgoingCalls": Mreq | Mcl, --} -diff -urN a/gopls/integration/parse/rlog.go b/gopls/integration/parse/rlog.go ---- a/gopls/integration/parse/rlog.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/integration/parse/rlog.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,126 +0,0 @@ +-func listDirs(dir string) []string { +- ans := []string{} +- f := func(path string, dirEntry os.DirEntry, err error) error { +- if strings.HasSuffix(path, "/testdata") || strings.HasSuffix(path, "/typescript") { +- return filepath.SkipDir +- } +- if dirEntry.IsDir() { +- ans = append(ans, path) +- } +- return nil +- } +- filepath.WalkDir(dir, f) +- return ans +-} +diff -urN a/gopls/internal/hooks/analysis.go b/gopls/internal/hooks/analysis.go +--- a/gopls/internal/hooks/analysis.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/hooks/analysis.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,60 +0,0 @@ -// Copyright 2019 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - --package parse +-//go:build go1.15 +-// +build go1.15 +- +-package hooks - -import ( -- "fmt" -- "log" -- "strings" +- "golang.org/x/tools/internal/lsp/protocol" +- "golang.org/x/tools/internal/lsp/source" +- "honnef.co/go/tools/analysis/lint" +- "honnef.co/go/tools/quickfix" +- "honnef.co/go/tools/simple" +- "honnef.co/go/tools/staticcheck" +- "honnef.co/go/tools/stylecheck" -) - --// Rlog contains the processed logs --type Rlog struct { -- Logs []*Logmsg // In the order in the log file -- ServerCall map[string]*Logmsg // ID->Request, client->server -- ServerReply map[string]*Logmsg // ID->Response, server->client (includes Errors) -- ClientCall map[string]*Logmsg -- ClientReply map[string]*Logmsg -- ClientNotifs []*Logmsg -- ServerNotifs []*Logmsg -- Histogram *LogHist --} -- --func newRlog(x []*Logmsg) *Rlog { -- return &Rlog{Logs: x, -- ServerCall: make(map[string]*Logmsg), -- ServerReply: make(map[string]*Logmsg), -- ClientCall: make(map[string]*Logmsg), -- ClientReply: make(map[string]*Logmsg), -- ClientNotifs: []*Logmsg{}, -- ServerNotifs: []*Logmsg{}, -- Histogram: &LogHist{}, -- } --} -- --// Counts returns a one-line summary of an Rlog --func (r *Rlog) Counts() string { -- return fmt.Sprintf("logs:%d srvC:%d srvR:%d clC:%d clR:%d clN:%d srvN:%d", -- len(r.Logs), -- len(r.ServerCall), len(r.ServerReply), len(r.ClientCall), len(r.ClientReply), -- len(r.ClientNotifs), len(r.ServerNotifs)) --} -- --// ToRlog reads a log file and returns a *Rlog --func ToRlog(fname string) (*Rlog, error) { -- x, err := ReadLogs(fname) -- if err != nil { -- return nil, err +-func updateAnalyzers(options *source.Options) { +- mapSeverity := func(severity lint.Severity) protocol.DiagnosticSeverity { +- switch severity { +- case lint.SeverityError: +- return protocol.SeverityError +- case lint.SeverityDeprecated: +- // TODO(dh): in LSP, deprecated is a tag, not a severity. +- // We'll want to support this once we enable SA5011. +- return protocol.SeverityWarning +- case lint.SeverityWarning: +- return protocol.SeverityWarning +- case lint.SeverityInfo: +- return protocol.SeverityInformation +- case lint.SeverityHint: +- return protocol.SeverityHint +- default: +- return protocol.SeverityWarning +- } - } -- ans := newRlog(x) -- for _, l := range x { -- switch l.Type { -- case ClRequest: -- ans.ServerCall[l.ID] = l -- case ClResponse: -- ans.ServerReply[l.ID] = l -- if l.Type != ReportErr { -- n := 0 -- fmt.Sscanf(l.Elapsed, "%d", &n) -- ans.Histogram.add(n) +- add := func(analyzers []*lint.Analyzer, skip map[string]struct{}) { +- for _, a := range analyzers { +- if _, ok := skip[a.Analyzer.Name]; ok { +- continue - } -- case SvRequest: -- ans.ClientCall[l.ID] = l -- case SvResponse: -- ans.ClientReply[l.ID] = l -- case ToClient: -- ans.ClientNotifs = append(ans.ClientNotifs, l) -- case ToServer: -- ans.ServerNotifs = append(ans.ServerNotifs, l) -- case ReportErr: -- ans.ServerReply[l.ID] = l -- l.Method = ans.ServerCall[l.ID].Method // Method not in log message -- default: -- log.Fatalf("eh? %s/%s (%s)", l.Type, l.Method, l.ID) +- +- enabled := !a.Doc.NonDefault +- options.AddStaticcheckAnalyzer(a.Analyzer, enabled, mapSeverity(a.Doc.Severity)) - } - } -- return ans, nil --} - --// LogHist gets ints, and puts them into buckets: --// <=10, <=30, 100, 300, 1000, ... --// It produces a historgram of elapsed times in milliseconds --type LogHist struct { -- cnts []int --} -- --func (l *LogHist) add(n int) { -- if n < 0 { -- n = 0 -- } -- bucket := 0 -- for ; n > 0; n /= 10 { -- if n < 10 { -- break -- } -- if n < 30 { -- bucket++ -- break -- } -- bucket += 2 -- } -- if len(l.cnts) <= bucket { -- for j := len(l.cnts); j < bucket+10; j++ { -- l.cnts = append(l.cnts, 0) -- } -- } -- l.cnts[bucket]++ --} -- --// String returns a string describing a histogram --func (l *LogHist) String() string { -- top := len(l.cnts) - 1 -- for ; top > 0 && l.cnts[top] == 0; top-- { -- } -- labs := []string{"10", "30"} -- out := strings.Builder{} -- out.WriteByte('[') -- for i := 0; i <= top; i++ { -- label := labs[i%2] -- labs[i%2] += "0" -- fmt.Fprintf(&out, "%s:%d ", label, l.cnts[i]) -- } -- out.WriteByte(']') -- return out.String() +- add(simple.Analyzers, nil) +- add(staticcheck.Analyzers, map[string]struct{}{ +- // This check conflicts with the vet printf check (golang/go#34494). +- "SA5009": {}, +- // This check relies on facts from dependencies, which +- // we don't currently compute. +- "SA5011": {}, +- }) +- add(stylecheck.Analyzers, nil) +- add(quickfix.Analyzers, nil) -} -diff -urN a/gopls/integration/replay/README.md b/gopls/integration/replay/README.md ---- a/gopls/integration/replay/README.md 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/integration/replay/README.md 1969-12-31 19:00:00.000000000 -0500 -@@ -1,79 +0,0 @@ --# Replaying Logs -- --The LSP log replayer takes a log from a gopls session, starts up an instance of gopls, --and tries to replay the session. It produces a log from the replayed session and reports --some comparative statistics of the two logs. -- --```replay -log ``` -- --The `logfile` should be the log produced by gopls. It will have a name like --`/tmp/gopls-89775` or, on a Mac, `$TMPDIR/gopls-29388`. -- --If `replay` cannot find a copy of gopls to execute, use `-cmd `. --It looks in the same places where `go install` would put its output, --namely `$GOBIN/gopls`, `$GOPATH/bin/gopls`, `$HOME/go/bin/gopls`. -- --The log for the replayed session is saved in `/tmp/seen`. -- --There is also a boolean argument `-cmp` which compares the log file --with `/tmp/seen` without invoking gopls and rerunning the session. -- --The output is fairly cryptic, and generated by logging. Ideas for better output would be welcome. --Here's an example, with intermingled comments: -- --``` --main.go:50: old 1856, hist:[10:177 30:1 100:0 300:3 1000:4 ] --``` --This says that the original log had 1856 records in it. The histogram is --counting how long RPCs took, in milliseconds. In this case 177 took no more --than 10ms, and 4 took between 300ms and 1000ms. --``` --main.go:53: calling mimic --main.go:293: mimic 1856 --``` --This is a reminder that it's replaying in a new session, with a log file --containing 1856 records --``` --main.go:61: new 1846, hist:[10:181 30:1 100:1 300:1 1000:1 ] --``` --The new session produced 1846 log records (that's 10 fewer), --and a vaguely similar histogram. --``` --main.go:96: old: clrequest:578 clresponse:185 svrequest:2 svresponse:2 toserver:244 toclient:460 reporterr:385 --main.go:96: new: clrequest:571 clresponse:185 svrequest:2 svresponse:2 toserver:241 toclient:460 reporterr:385 --``` --The first line is for the original log, the second for the new log. The new log has 7 fewer RPC requests --from the client *clrequest* (578 vs 571), the same number of client responses *clresponse*, 3 fewer --notifications *toserver* from the client, the same number from the server *toclient* to the client, and --the same number of errors *reporterr*. (That's mysterious, but a look at the ends of the log files shows --that the original session ended with several RPCs that don't show up, for whatever reason, in the new session.) -- --Finally, there are counts of the various notifications seen, in the new log and the old log, and --which direction they went. (The 3 fewer notifications in the summary above can be seen here to be from cancels --and a didChange.) --``` --main.go:107: counts of notifications --main.go:110: '$/cancelRequest'. new toserver 1 --main.go:110: '$/cancelRequest'. old toserver 3 --main.go:110: 'initialized'. new toserver 1 --main.go:110: 'initialized'. old toserver 1 --main.go:110: 'textDocument/didChange'. new toserver 231 --main.go:110: 'textDocument/didChange'. old toserver 232 --main.go:110: 'textDocument/didOpen'. new toserver 1 --main.go:110: 'textDocument/didOpen'. old toserver 1 --main.go:110: 'textDocument/didSave'. new toserver 7 --main.go:110: 'textDocument/didSave'. old toserver 7 --main.go:110: 'textDocument/publishDiagnostics'. new toclient 182 --main.go:110: 'textDocument/publishDiagnostics'. old toclient 182 --main.go:110: 'window/logMessage'. new toclient 278 --main.go:110: 'window/logMessage'. old toclient 278 --``` --### Caveats --Replay cannot restore the exact environment gopls saw for the original session. --For instance, the first didOpen message in the new session will see the file --as it was left by the original session. -- --Gopls invokes various tools, and the environment they see could have changed too. -- --Replay will use the gopls it finds (or is given). It has no way of using --the same version that created the original session. -diff -urN a/gopls/integration/replay/main.go b/gopls/integration/replay/main.go ---- a/gopls/integration/replay/main.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/integration/replay/main.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,292 +0,0 @@ --// Copyright 2019 The Go Authors. All rights reserved. +diff -urN a/gopls/internal/hooks/analysis_115.go b/gopls/internal/hooks/analysis_115.go +--- a/gopls/internal/hooks/analysis_115.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/hooks/analysis_115.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,12 +0,0 @@ +-// Copyright 2021 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - --// Replay logs. See README.md --package main -- --import ( -- "bufio" -- "context" -- "flag" -- "fmt" -- exec "golang.org/x/sys/execabs" -- "log" -- "os" -- "sort" -- "strconv" -- "strings" -- -- "golang.org/x/tools/gopls/integration/parse" -- "golang.org/x/tools/internal/fakenet" -- "golang.org/x/tools/internal/jsonrpc2" -- p "golang.org/x/tools/internal/lsp/protocol" --) -- --var ( -- command = flag.String("cmd", "", "location of server to send to, looks for gopls") -- cmp = flag.Bool("cmp", false, "only compare log and /tmp/seen") -- logrdr *bufio.Scanner -- msgs []*parse.Logmsg -- // requests and responses/errors, by id -- clreq = make(map[string]*parse.Logmsg) -- clresp = make(map[string]*parse.Logmsg) -- svreq = make(map[string]*parse.Logmsg) -- svresp = make(map[string]*parse.Logmsg) --) -- --func main() { -- log.SetFlags(log.Lshortfile) -- flag.Usage = func() { -- fmt.Fprintln(flag.CommandLine.Output(), "replay [options] ") -- flag.PrintDefaults() -- } -- flag.Parse() -- if flag.NArg() != 1 { -- flag.Usage() -- os.Exit(2) -- } -- logf := flag.Arg(0) -- -- orig, err := parse.ToRlog(logf) -- if err != nil { -- log.Fatalf("error parsing logfile %q: %v", logf, err) -- } -- ctx := context.Background() -- msgs = orig.Logs -- log.Printf("old %d, hist:%s", len(msgs), orig.Histogram) -- -- if !*cmp { -- log.Print("calling mimic") -- mimic(ctx) -- } -- seen, err := parse.ToRlog("/tmp/seen") -- if err != nil { -- log.Fatal(err) -- } -- newMsgs := seen.Logs -- log.Printf("new %d, hist:%s", len(newMsgs), seen.Histogram) -- -- ok := make(map[string]int) -- f := func(x []*parse.Logmsg, label string, diags map[p.DocumentURI][]p.Diagnostic) { -- counts := make(map[parse.MsgType]int) -- for _, l := range x { -- if l.Method == "window/logMessage" { -- // don't care -- //continue -- } -- if l.Method == "textDocument/publishDiagnostics" { -- v, ok := l.Body.(*p.PublishDiagnosticsParams) -- if !ok { -- log.Fatalf("got %T expected PublishDiagnosticsParams", l.Body) -- } -- diags[v.URI] = v.Diagnostics -- } -- counts[l.Type]++ -- // notifications only -- if l.Type != parse.ToServer && l.Type != parse.ToClient { -- continue -- } -- s := fmt.Sprintf("%s %s %s", strings.Replace(l.Hdr, "\r", "", -1), label, l.Type) -- if i := strings.Index(s, "notification"); i != -1 { -- s = s[i+12:] -- } -- if len(s) > 120 { -- s = s[:120] -- } -- ok[s]++ -- } -- msg := "" -- for i := parse.ClRequest; i <= parse.ReportErr; i++ { -- msg += fmt.Sprintf("%s:%d ", i, counts[i]) -- } -- log.Printf("%s: %s", label, msg) -- } -- mdiags := make(map[p.DocumentURI][]p.Diagnostic) -- f(msgs, "old", mdiags) -- vdiags := make(map[p.DocumentURI][]p.Diagnostic) -- f(newMsgs, "new", vdiags) -- buf := []string{} -- for k := range ok { -- buf = append(buf, fmt.Sprintf("%s %d", k, ok[k])) -- } -- if len(buf) > 0 { -- log.Printf("counts of notifications") -- sort.Strings(buf) -- for _, k := range buf { -- log.Print(k) -- } -- } -- buf = buf[0:0] -- for k, v := range mdiags { -- va := vdiags[k] -- if len(v) != len(va) { -- buf = append(buf, fmt.Sprintf("new has %d, old has %d for %s", -- len(va), len(v), k)) -- } -- } -- for ka := range vdiags { -- if _, ok := mdiags[ka]; !ok { -- buf = append(buf, fmt.Sprintf("new diagnostics, but no old ones, for %s", -- ka)) -- } -- } -- if len(buf) > 0 { -- log.Print("diagnostics differ:") -- for _, s := range buf { -- log.Print(s) -- } -- } --} -- --func send(ctx context.Context, l *parse.Logmsg, stream jsonrpc2.Stream, id *jsonrpc2.ID) { -- if id == nil { -- // need to use the number version of ID -- n, err := strconv.Atoi(l.ID) -- if err != nil { -- n = 0 -- } -- nid := jsonrpc2.NewIntID(int64(n)) -- id = &nid -- } -- var msg jsonrpc2.Message -- var err error -- switch l.Type { -- case parse.ClRequest: -- msg, err = jsonrpc2.NewCall(*id, l.Method, l.Body) -- case parse.SvResponse: -- msg, err = jsonrpc2.NewResponse(*id, l.Body, nil) -- case parse.ToServer: -- msg, err = jsonrpc2.NewNotification(l.Method, l.Body) -- default: -- log.Fatalf("sending %s", l.Type) -- } -- if err != nil { -- log.Fatal(err) -- } -- stream.Write(ctx, msg) --} -- --func respond(ctx context.Context, c *jsonrpc2.Call, stream jsonrpc2.Stream) { -- // c is a server request -- // pick out the id, and look for the response in msgs -- id := c.ID() -- idstr := fmt.Sprint(id) -- for _, l := range msgs { -- if l.ID == idstr && l.Type == parse.SvResponse { -- // check that the methods match? -- // need to send back the same ID we got. -- send(ctx, l, stream, &id) -- return -- } -- } -- log.Fatalf("no response found %q %+v %+v", c.Method(), c.ID(), c) --} -- --func findgopls() string { -- totry := [][]string{{"GOBIN", "/gopls"}, {"GOPATH", "/bin/gopls"}, {"HOME", "/go/bin/gopls"}} -- // looks in the places go install would install: -- // GOBIN, else GOPATH/bin, else HOME/go/bin -- ok := func(s string) bool { -- fd, err := os.Open(s) -- if err != nil { -- return false -- } -- fi, err := fd.Stat() -- if err != nil { -- return false -- } -- return fi.Mode()&0111 != 0 -- } -- for _, t := range totry { -- g := os.Getenv(t[0]) -- if g != "" && ok(g+t[1]) { -- gopls := g + t[1] -- log.Printf("using gopls at %s", gopls) -- return gopls -- } -- } -- log.Fatal("could not find gopls") -- return "" --} -- --func mimic(ctx context.Context) { -- log.Printf("mimic %d", len(msgs)) -- if *command == "" { -- *command = findgopls() -- } -- cmd := exec.Command(*command, "-logfile", "/tmp/seen", "-rpc.trace") -- toServer, err := cmd.StdinPipe() -- if err != nil { -- log.Fatal(err) -- } -- fromServer, err := cmd.StdoutPipe() -- if err != nil { -- log.Fatal(err) -- } -- err = cmd.Start() -- if err != nil { -- log.Fatal(err) -- } -- conn := fakenet.NewConn("stdio", fromServer, toServer) -- stream := jsonrpc2.NewHeaderStream(conn) -- rchan := make(chan jsonrpc2.Message, 10) // do we need buffering? -- rdr := func() { -- for { -- msg, _, err := stream.Read(ctx) -- if err != nil { -- rchan <- nil // close it instead? -- return -- } -- rchan <- msg -- } -- } -- go rdr() -- // send as many as possible: all clrequests and toservers up to a clresponse -- // and loop -- seenids := make(map[string]bool) // id's that have been responded to: --big: -- for _, l := range msgs { -- switch l.Type { -- case parse.ToServer: // just send these as we get to them -- send(ctx, l, stream, nil) -- case parse.ClRequest: -- send(ctx, l, stream, nil) // for now, wait for a response, to make sure code is ok -- fallthrough -- case parse.ClResponse, parse.ReportErr: // don't go past these until they're received -- if seenids[l.ID] { -- break // onward, as it has been received already -- } -- done: -- for { -- msg := <-rchan -- if msg == nil { -- break big -- } -- // if it's svrequest, do something -- // if it's clresponse or reporterr, add to seenids, and if it -- // is l.id, break out of the loop, and continue the outer loop -- -- switch msg := msg.(type) { -- case *jsonrpc2.Call: -- if parse.FromServer(msg.Method()) { -- respond(ctx, msg, stream) -- continue done // still waiting -- } -- case *jsonrpc2.Response: -- id := fmt.Sprint(msg.ID()) -- seenids[id] = true -- if id == l.ID { -- break done -- } -- } -- } -- case parse.SvRequest: // not ours to send -- continue -- case parse.SvResponse: // sent by us, if the request arrives -- continue -- case parse.ToClient: // we don't send these -- continue -- } -- } --} -diff -urN a/gopls/internal/hooks/analysis.go b/gopls/internal/hooks/analysis.go ---- a/gopls/internal/hooks/analysis.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/hooks/analysis.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,39 +0,0 @@ --// Copyright 2019 The Go Authors. All rights reserved. --// Use of this source code is governed by a BSD-style --// license that can be found in the LICENSE file. +-//go:build !go1.15 +-// +build !go1.15 - -package hooks - --import ( -- "golang.org/x/tools/go/analysis" -- "golang.org/x/tools/internal/lsp/source" -- "honnef.co/go/tools/simple" -- "honnef.co/go/tools/staticcheck" -- "honnef.co/go/tools/stylecheck" --) +-import "golang.org/x/tools/internal/lsp/source" - --func updateAnalyzers(options *source.Options) { -- var analyzers []*analysis.Analyzer -- for _, a := range simple.Analyzers { -- analyzers = append(analyzers, a) -- } -- for _, a := range staticcheck.Analyzers { -- switch a.Name { -- case "SA5009": -- // This check conflicts with the vet printf check (golang/go#34494). -- case "SA5011": -- // This check relies on facts from dependencies, which -- // we don't currently compute. -- default: -- analyzers = append(analyzers, a) -- } -- } -- for _, a := range stylecheck.Analyzers { -- analyzers = append(analyzers, a) -- } -- // Always add hooks for all available analyzers, but disable them if the -- // user does not have staticcheck enabled (they may enable it later on). -- for _, a := range analyzers { -- options.AddStaticcheckAnalyzer(a) -- } --} +-func updateAnalyzers(_ *source.Options) {} diff -urN a/gopls/internal/hooks/diff.go b/gopls/internal/hooks/diff.go ---- a/gopls/internal/hooks/diff.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/hooks/diff.go 1969-12-31 19:00:00.000000000 -0500 +--- a/gopls/internal/hooks/diff.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/hooks/diff.go 1969-12-31 16:00:00.000000000 -0800 @@ -1,41 +0,0 @@ -// Copyright 2019 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style @@ -5270,8 +4790,8 @@ diff -urN a/gopls/internal/hooks/diff.go b/gopls/internal/hooks/diff.go - return edits, nil -} diff -urN a/gopls/internal/hooks/diff_test.go b/gopls/internal/hooks/diff_test.go ---- a/gopls/internal/hooks/diff_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/hooks/diff_test.go 1969-12-31 19:00:00.000000000 -0500 +--- a/gopls/internal/hooks/diff_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/hooks/diff_test.go 1969-12-31 16:00:00.000000000 -0800 @@ -1,16 +0,0 @@ -// Copyright 2019 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style @@ -5290,9 +4810,9 @@ diff -urN a/gopls/internal/hooks/diff_test.go b/gopls/internal/hooks/diff_test.g - difftest.DiffTest(t, hooks.ComputeEdits) -} diff -urN a/gopls/internal/hooks/gen-licenses.sh b/gopls/internal/hooks/gen-licenses.sh ---- a/gopls/internal/hooks/gen-licenses.sh 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/hooks/gen-licenses.sh 1969-12-31 19:00:00.000000000 -0500 -@@ -1,45 +0,0 @@ +--- a/gopls/internal/hooks/gen-licenses.sh 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/hooks/gen-licenses.sh 1969-12-31 16:00:00.000000000 -0800 +@@ -1,38 +0,0 @@ -#!/bin/bash -eu - -# Copyright 2020 The Go Authors. All rights reserved. @@ -5301,13 +4821,10 @@ diff -urN a/gopls/internal/hooks/gen-licenses.sh b/gopls/internal/hooks/gen-lice - -set -o pipefail - +-output=$1 -tempfile=$(mktemp) -cd $(dirname $0) - --modhash=$(sha256sum ../../go.sum | awk '{print $1}') --# Make sure we have the code for all the modules we depend on. --go mod download -- -cat > $tempfile <> $tempfile -done - --cat >> $tempfile << END --\` -- --const licensesGeneratedFrom = "$modhash" --END --mv $tempfile licenses.go +-echo "\`" >> $tempfile +-mv $tempfile $output \ No newline at end of file diff -urN a/gopls/internal/hooks/hooks.go b/gopls/internal/hooks/hooks.go ---- a/gopls/internal/hooks/hooks.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/hooks/hooks.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,36 +0,0 @@ +--- a/gopls/internal/hooks/hooks.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/hooks/hooks.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,37 +0,0 @@ -// Copyright 2019 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. @@ -5366,23 +4879,24 @@ diff -urN a/gopls/internal/hooks/hooks.go b/gopls/internal/hooks/hooks.go - if options.GoDiff { - options.ComputeEdits = ComputeEdits - } -- options.URLRegexp = urlRegexp() +- options.URLRegexp = relaxedFullWord - options.GofumptFormat = func(ctx context.Context, src []byte) ([]byte, error) { - return format.Source(src, format.Options{}) - } - updateAnalyzers(options) -} - --func urlRegexp() *regexp.Regexp { -- // Ensure links are matched as full words, not anywhere. -- re := regexp.MustCompile(`\b(` + xurls.Relaxed().String() + `)\b`) -- re.Longest() -- return re +-var relaxedFullWord *regexp.Regexp +- +-// Ensure links are matched as full words, not anywhere. +-func init() { +- relaxedFullWord = regexp.MustCompile(`\b(` + xurls.Relaxed().String() + `)\b`) +- relaxedFullWord.Longest() -} diff -urN a/gopls/internal/hooks/licenses.go b/gopls/internal/hooks/licenses.go ---- a/gopls/internal/hooks/licenses.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/hooks/licenses.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,171 +0,0 @@ +--- a/gopls/internal/hooks/licenses.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/hooks/licenses.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,169 +0,0 @@ -// Copyright 2020 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. @@ -5552,12 +5066,10 @@ diff -urN a/gopls/internal/hooks/licenses.go b/gopls/internal/hooks/licenses.go -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -` -- --const licensesGeneratedFrom = "029a0f934a7bad22a7d47185055bc554b1ea23ce427351caa87d9a088fcfba4e" diff -urN a/gopls/internal/hooks/licenses_test.go b/gopls/internal/hooks/licenses_test.go ---- a/gopls/internal/hooks/licenses_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/hooks/licenses_test.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,23 +0,0 @@ +--- a/gopls/internal/hooks/licenses_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/hooks/licenses_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,46 +0,0 @@ -// Copyright 2020 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. @@ -5565,40 +5077,90 @@ diff -urN a/gopls/internal/hooks/licenses_test.go b/gopls/internal/hooks/license -package hooks - -import ( -- "crypto/sha256" -- "encoding/hex" +- "bytes" - "io/ioutil" +- "os/exec" +- "runtime" - "testing" +- +- "golang.org/x/tools/internal/testenv" -) - -func TestLicenses(t *testing.T) { -- sumBytes, err := ioutil.ReadFile("../../go.sum") +- // License text differs for older Go versions because staticcheck isn't +- // supported for those versions. +- testenv.NeedsGo1Point(t, 15) +- +- if runtime.GOOS != "linux" && runtime.GOOS != "darwin" { +- t.Skip("generating licenses only works on Unixes") +- } +- tmp, err := ioutil.TempFile("", "") - if err != nil { - t.Fatal(err) - } -- sumSum := sha256.Sum256(sumBytes) -- if licensesGeneratedFrom != hex.EncodeToString(sumSum[:]) { +- tmp.Close() +- +- if out, err := exec.Command("./gen-licenses.sh", tmp.Name()).CombinedOutput(); err != nil { +- t.Fatalf("generating licenses failed: %q, %v", out, err) +- } +- +- got, err := ioutil.ReadFile(tmp.Name()) +- if err != nil { +- t.Fatal(err) +- } +- want, err := ioutil.ReadFile("licenses.go") +- if err != nil { +- t.Fatal(err) +- } +- if !bytes.Equal(got, want) { - t.Error("combined license text needs updating. Run: `go generate ./internal/hooks` from the gopls module.") - } -} -diff -urN a/gopls/internal/regtest/bench_test.go b/gopls/internal/regtest/bench_test.go ---- a/gopls/internal/regtest/bench_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/bench_test.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,104 +0,0 @@ +diff -urN a/gopls/internal/regtest/bench/bench_test.go b/gopls/internal/regtest/bench/bench_test.go +--- a/gopls/internal/regtest/bench/bench_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/bench/bench_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,179 +0,0 @@ -// Copyright 2020 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - --package regtest +-package bench - -import ( - "flag" - "fmt" - "testing" +- "time" +- +- "golang.org/x/tools/gopls/internal/hooks" +- "golang.org/x/tools/internal/lsp/fake" +- . "golang.org/x/tools/internal/lsp/regtest" - - "golang.org/x/tools/internal/lsp/protocol" -) - +-func TestMain(m *testing.M) { +- Main(m, hooks.Options) +-} +- +-func benchmarkOptions(dir string) []RunOption { +- return []RunOption{ +- // Run in an existing directory, since we're trying to simulate known cases +- // that cause gopls memory problems. +- InExistingDir(dir), +- // Skip logs as they buffer up memory unnaturally. +- SkipLogs(), +- // The Debug server only makes sense if running in singleton mode. +- Modes(Singleton), +- // Set a generous timeout. Individual tests should control their own +- // graceful termination. +- Timeout(20 * time.Minute), +- +- // Use the actual proxy, since we want our builds to succeed. +- GOPROXY("https://proxy.golang.org"), +- } +-} +- -func printBenchmarkResults(result testing.BenchmarkResult) { - fmt.Println("Benchmark Statistics:") - fmt.Println(result.String()) @@ -5624,7 +5186,7 @@ diff -urN a/gopls/internal/regtest/bench_test.go b/gopls/internal/regtest/bench_ - - results := testing.Benchmark(func(b *testing.B) { - for i := 0; i < b.N; i++ { -- withOptions(opts...).run(t, "", func(t *testing.T, env *Env) {}) +- WithOptions(opts...).Run(t, "", func(t *testing.T, env *Env) {}) - } - }) - @@ -5659,7 +5221,7 @@ diff -urN a/gopls/internal/regtest/bench_test.go b/gopls/internal/regtest/bench_ - } - opts = append(opts, conf) - -- withOptions(opts...).run(t, "", func(t *testing.T, env *Env) { +- WithOptions(opts...).Run(t, "", func(t *testing.T, env *Env) { - // We can't Await in this test, since we have disabled hooks. Instead, run - // one symbol request to completion to ensure all necessary cache entries - // are populated. @@ -5689,43 +5251,375 @@ diff -urN a/gopls/internal/regtest/bench_test.go b/gopls/internal/regtest/bench_ - printBenchmarkResults(results) - }) -} -diff -urN a/gopls/internal/regtest/codelens_test.go b/gopls/internal/regtest/codelens_test.go ---- a/gopls/internal/regtest/codelens_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/codelens_test.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,319 +0,0 @@ +- +-var ( +- benchDir = flag.String("didchange_dir", "", "If set, run benchmarks in this dir. Must also set regtest_bench_file.") +- benchFile = flag.String("didchange_file", "", "The file to modify") +-) +- +-// TestBenchmarkDidChange benchmarks modifications of a single file by making +-// synthetic modifications in a comment. It controls pacing by waiting for the +-// server to actually start processing the didChange notification before +-// proceeding. Notably it does not wait for diagnostics to complete. +-// +-// Run it by passing -didchange_dir and -didchange_file, where -didchange_dir +-// is the path to a workspace root, and -didchange_file is the +-// workspace-relative path to a file to modify. e.g.: +-// +-// go test -run=TestBenchmarkDidChange \ +-// -didchange_dir=path/to/kubernetes \ +-// -didchange_file=pkg/util/hash/hash.go +-func TestBenchmarkDidChange(t *testing.T) { +- if *benchDir == "" { +- t.Skip("-didchange_dir is not set") +- } +- if *benchFile == "" { +- t.Fatal("-didchange_file must be set if -didchange_dir is set") +- } +- +- opts := benchmarkOptions(*benchDir) +- WithOptions(opts...).Run(t, "", func(_ *testing.T, env *Env) { +- env.OpenFile(*benchFile) +- env.Await(env.DoneWithOpen()) +- // Insert the text we'll be modifying at the top of the file. +- env.EditBuffer(*benchFile, fake.Edit{Text: "// __REGTEST_PLACEHOLDER_0__\n"}) +- result := testing.Benchmark(func(b *testing.B) { +- b.ResetTimer() +- for i := 0; i < b.N; i++ { +- env.EditBuffer(*benchFile, fake.Edit{ +- Start: fake.Pos{Line: 0, Column: 0}, +- End: fake.Pos{Line: 1, Column: 0}, +- // Increment +- Text: fmt.Sprintf("// __REGTEST_PLACEHOLDER_%d__\n", i+1), +- }) +- env.Await(StartedChange(uint64(i + 1))) +- } +- b.StopTimer() +- }) +- printBenchmarkResults(result) +- }) +-} +diff -urN a/gopls/internal/regtest/bench/completion_bench_test.go b/gopls/internal/regtest/bench/completion_bench_test.go +--- a/gopls/internal/regtest/bench/completion_bench_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/bench/completion_bench_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,202 +0,0 @@ -// Copyright 2020 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - --package regtest +-package bench - -import ( +- "flag" +- "fmt" - "runtime" - "strings" - "testing" - -- "golang.org/x/tools/internal/lsp" +- . "golang.org/x/tools/internal/lsp/regtest" +- - "golang.org/x/tools/internal/lsp/fake" -- "golang.org/x/tools/internal/lsp/protocol" -- "golang.org/x/tools/internal/lsp/source" -- "golang.org/x/tools/internal/lsp/tests" -- "golang.org/x/tools/internal/testenv" -) - --func TestDisablingCodeLens(t *testing.T) { -- const workspace = ` ---- go.mod -- --module codelens.test +-// dummyCompletionFunction to test manually configured completion using CLI. +-func dummyCompletionFunction() { const s = "placeholder"; fmt.Printf("%s", s) } - --go 1.12 ---- lib.go -- --package lib +-type completionBenchOptions struct { +- workdir, file, locationRegexp string +- printResults bool +- // hook to run edits before initial completion, not supported for manually +- // configured completions. +- preCompletionEdits func(*Env) +-} - --type Number int +-var completionOptions = completionBenchOptions{} - --const ( -- Zero Number = iota -- One +-func init() { +- flag.StringVar(&completionOptions.workdir, "completion_workdir", "", "directory to run completion benchmarks in") +- flag.StringVar(&completionOptions.file, "completion_file", "", "relative path to the file to complete in") +- flag.StringVar(&completionOptions.locationRegexp, "completion_regexp", "", "regexp location to complete at") +- flag.BoolVar(&completionOptions.printResults, "completion_print_results", false, "whether to print completion results") +-} +- +-func benchmarkCompletion(options completionBenchOptions, t *testing.T) { +- if completionOptions.workdir == "" { +- t.Skip("-completion_workdir not configured, skipping benchmark") +- } +- +- opts := stressTestOptions(options.workdir) +- +- // Completion gives bad results if IWL is not yet complete, so we must await +- // it first (and therefore need hooks). +- opts = append(opts, SkipHooks(false)) +- +- WithOptions(opts...).Run(t, "", func(t *testing.T, env *Env) { +- env.OpenFile(options.file) +- +- // Run edits required for this completion. +- if options.preCompletionEdits != nil { +- options.preCompletionEdits(env) +- } +- +- // Add a comment as a marker at the start of the file, we'll replace +- // this in every iteration to trigger type checking and hence emulate +- // a more real world scenario. +- env.EditBuffer(options.file, fake.Edit{Text: "// 0\n"}) +- +- // Run a completion to make sure the system is warm. +- pos := env.RegexpSearch(options.file, options.locationRegexp) +- completions := env.Completion(options.file, pos) +- +- if options.printResults { +- fmt.Println("Results:") +- for i := 0; i < len(completions.Items); i++ { +- fmt.Printf("\t%d. %v\n", i, completions.Items[i]) +- } +- } +- +- results := testing.Benchmark(func(b *testing.B) { +- for i := 0; i < b.N; i++ { +- b.StopTimer() +- env.RegexpReplace(options.file, `\/\/ \d*`, fmt.Sprintf("// %d", i)) +- +- // explicitly garbage collect since we don't want to count this +- // time in completion benchmarks. +- if i%10 == 0 { +- runtime.GC() +- } +- b.StartTimer() +- +- env.Completion(options.file, pos) +- } +- }) +- +- printBenchmarkResults(results) +- }) +-} +- +-// endPosInBuffer returns the position for last character in the buffer for +-// the given file. +-func endPosInBuffer(env *Env, name string) fake.Pos { +- buffer := env.Editor.BufferText(name) +- lines := strings.Split(buffer, "\n") +- numLines := len(lines) +- +- return fake.Pos{ +- Line: numLines - 1, +- Column: len([]rune(lines[numLines-1])), +- } +-} +- +-// Benchmark completion at a specified file and location. When no CLI options +-// are specified, this test is skipped. +-// To Run (from x/tools/gopls) against the dummy function above: +-// go test -v ./internal/regtest -run=TestBenchmarkConfiguredCompletion +-// -completion_workdir="$HOME/Developer/tools" +-// -completion_file="gopls/internal/regtest/completion_bench_test.go" +-// -completion_regexp="dummyCompletionFunction.*fmt\.Printf\(\"%s\", s(\))" +-func TestBenchmarkConfiguredCompletion(t *testing.T) { +- benchmarkCompletion(completionOptions, t) +-} +- +-// To run (from x/tools/gopls): +-// go test -v ./internal/regtest -run TestBenchmark<>Completion +-// -completion_workdir="$HOME/Developer/tools" +-// where <> is one of the tests below. completion_workdir should be path to +-// x/tools on your system. +- +-// Benchmark struct completion in tools codebase. +-func TestBenchmarkStructCompletion(t *testing.T) { +- file := "internal/lsp/cache/session.go" +- +- preCompletionEdits := func(env *Env) { +- env.OpenFile(file) +- originalBuffer := env.Editor.BufferText(file) +- env.EditBuffer(file, fake.Edit{ +- End: endPosInBuffer(env, file), +- Text: originalBuffer + "\nvar testVariable map[string]bool = Session{}.\n", +- }) +- } +- +- benchmarkCompletion(completionBenchOptions{ +- workdir: completionOptions.workdir, +- file: file, +- locationRegexp: `var testVariable map\[string\]bool = Session{}(\.)`, +- preCompletionEdits: preCompletionEdits, +- printResults: completionOptions.printResults, +- }, t) +-} +- +-// Benchmark import completion in tools codebase. +-func TestBenchmarkImportCompletion(t *testing.T) { +- benchmarkCompletion(completionBenchOptions{ +- workdir: completionOptions.workdir, +- file: "internal/lsp/source/completion/completion.go", +- locationRegexp: `go\/()`, +- printResults: completionOptions.printResults, +- }, t) +-} +- +-// Benchmark slice completion in tools codebase. +-func TestBenchmarkSliceCompletion(t *testing.T) { +- file := "internal/lsp/cache/session.go" +- +- preCompletionEdits := func(env *Env) { +- env.OpenFile(file) +- originalBuffer := env.Editor.BufferText(file) +- env.EditBuffer(file, fake.Edit{ +- End: endPosInBuffer(env, file), +- Text: originalBuffer + "\nvar testVariable []byte = \n", +- }) +- } +- +- benchmarkCompletion(completionBenchOptions{ +- workdir: completionOptions.workdir, +- file: file, +- locationRegexp: `var testVariable \[\]byte (=)`, +- preCompletionEdits: preCompletionEdits, +- printResults: completionOptions.printResults, +- }, t) +-} +- +-// Benchmark deep completion in function call in tools codebase. +-func TestBenchmarkFuncDeepCompletion(t *testing.T) { +- file := "internal/lsp/source/completion/completion.go" +- fileContent := ` +-func (c *completer) _() { +- c.inference.kindMatches(c.) +-} +-` +- preCompletionEdits := func(env *Env) { +- env.OpenFile(file) +- originalBuffer := env.Editor.BufferText(file) +- env.EditBuffer(file, fake.Edit{ +- End: endPosInBuffer(env, file), +- Text: originalBuffer + fileContent, +- }) +- } +- +- benchmarkCompletion(completionBenchOptions{ +- workdir: completionOptions.workdir, +- file: file, +- locationRegexp: `func \(c \*completer\) _\(\) {\n\tc\.inference\.kindMatches\((c)`, +- preCompletionEdits: preCompletionEdits, +- printResults: completionOptions.printResults, +- }, t) +-} +diff -urN a/gopls/internal/regtest/bench/stress_test.go b/gopls/internal/regtest/bench/stress_test.go +--- a/gopls/internal/regtest/bench/stress_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/bench/stress_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,66 +0,0 @@ +-// Copyright 2020 The Go Authors. All rights reserved. +-// Use of this source code is governed by a BSD-style +-// license that can be found in the LICENSE file. +- +-package bench +- +-import ( +- "context" +- "flag" +- "fmt" +- "testing" +- "time" +- +- . "golang.org/x/tools/internal/lsp/regtest" +-) +- +-// Pilosa is a repository that has historically caused significant memory +-// problems for Gopls. We use it for a simple stress test that types +-// arbitrarily in a file with lots of dependents. +- +-var pilosaPath = flag.String("pilosa_path", "", "Path to a directory containing "+ +- "github.com/pilosa/pilosa, for stress testing. Do not set this unless you "+ +- "know what you're doing!") +- +-func stressTestOptions(dir string) []RunOption { +- opts := benchmarkOptions(dir) +- opts = append(opts, SkipHooks(true), DebugAddress(":8087")) +- return opts +-} +- +-func TestPilosaStress(t *testing.T) { +- if *pilosaPath == "" { +- t.Skip("-pilosa_path not configured") +- } +- opts := stressTestOptions(*pilosaPath) +- +- WithOptions(opts...).Run(t, "", func(_ *testing.T, env *Env) { +- files := []string{ +- "cmd.go", +- "internal/private.pb.go", +- "roaring/roaring.go", +- "roaring/roaring_internal_test.go", +- "server/handler_test.go", +- } +- for _, file := range files { +- env.OpenFile(file) +- } +- ctx, cancel := context.WithTimeout(env.Ctx, 10*time.Minute) +- defer cancel() +- +- i := 1 +- // MagicNumber is an identifier that occurs in roaring.go. Just change it +- // arbitrarily. +- env.RegexpReplace("roaring/roaring.go", "MagicNumber", fmt.Sprintf("MagicNumber%d", 1)) +- for { +- select { +- case <-ctx.Done(): +- return +- default: +- } +- env.RegexpReplace("roaring/roaring.go", fmt.Sprintf("MagicNumber%d", i), fmt.Sprintf("MagicNumber%d", i+1)) +- time.Sleep(20 * time.Millisecond) +- i++ +- } +- }) +-} +diff -urN a/gopls/internal/regtest/codelens/codelens_test.go b/gopls/internal/regtest/codelens/codelens_test.go +--- a/gopls/internal/regtest/codelens/codelens_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/codelens/codelens_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,352 +0,0 @@ +-// Copyright 2020 The Go Authors. All rights reserved. +-// Use of this source code is governed by a BSD-style +-// license that can be found in the LICENSE file. +- +-package codelens +- +-import ( +- "fmt" +- "runtime" +- "strings" +- "testing" +- "time" +- +- "golang.org/x/tools/gopls/internal/hooks" +- . "golang.org/x/tools/internal/lsp/regtest" +- +- "golang.org/x/tools/internal/lsp/command" +- "golang.org/x/tools/internal/lsp/fake" +- "golang.org/x/tools/internal/lsp/protocol" +- "golang.org/x/tools/internal/lsp/tests" +- "golang.org/x/tools/internal/testenv" +-) +- +-func TestMain(m *testing.M) { +- Main(m, hooks.Options) +-} +- +-func TestDisablingCodeLens(t *testing.T) { +- const workspace = ` +--- go.mod -- +-module codelens.test +- +-go 1.12 +--- lib.go -- +-package lib +- +-type Number int +- +-const ( +- Zero Number = iota +- One - Two -) - @@ -5742,17 +5636,17 @@ diff -urN a/gopls/internal/regtest/codelens_test.go b/gopls/internal/regtest/cod - }, - { - label: "generate disabled", -- enabled: map[string]bool{source.CommandGenerate.Name: false}, +- enabled: map[string]bool{string(command.Generate): false}, - wantCodeLens: false, - }, - } - for _, test := range tests { - t.Run(test.label, func(t *testing.T) { -- withOptions( +- WithOptions( - EditorConfig{ - CodeLenses: test.enabled, - }, -- ).run(t, workspace, func(t *testing.T, env *Env) { +- ).Run(t, workspace, func(t *testing.T, env *Env) { - env.OpenFile("lib.go") - lens := env.CodeLens("lib.go") - if gotCodeLens := len(lens) > 0; gotCodeLens != test.wantCodeLens { @@ -5777,7 +5671,7 @@ diff -urN a/gopls/internal/regtest/codelens_test.go b/gopls/internal/regtest/cod -package hi - -var Goodbye error -- -- golang.org/x/hello@v1.2.3/go.mod -- +--- golang.org/x/hello@v1.2.3/go.mod -- -module golang.org/x/hello - -go 1.12 @@ -5791,12 +5685,12 @@ diff -urN a/gopls/internal/regtest/codelens_test.go b/gopls/internal/regtest/cod --- go.mod -- -module mod.com - --go 1.12 +-go 1.14 - -require golang.org/x/hello v1.2.3 --- go.sum -- --golang.org/x/hello v1.2.3 h1:jOtNXLsiCuLzU6KM3wRHidpc29IxcKpofHZiOW1hYKA= --golang.org/x/hello v1.2.3/go.mod h1:X79D30QqR94cGK8aIhQNhCZLq4mIr5Gimj5qekF08rY= +-golang.org/x/hello v1.2.3 h1:7Wesfkx/uBd+eFgPrq0irYj/1XfmbvLV8jZ/W7C2Dwg= +-golang.org/x/hello v1.2.3/go.mod h1:OgtlzsxVMUUdsdQCIDYgaauCTH47B8T8vofouNJfzgY= --- main.go -- -package main - @@ -5806,14 +5700,22 @@ diff -urN a/gopls/internal/regtest/codelens_test.go b/gopls/internal/regtest/cod - _ = hi.Goodbye -} -` +- +- const wantGoMod = `module mod.com +- +-go 1.14 +- +-require golang.org/x/hello v1.3.3 +-` +- - for _, commandTitle := range []string{ - "Upgrade transitive dependencies", - "Upgrade direct dependencies", - } { - t.Run(commandTitle, func(t *testing.T) { -- withOptions( +- WithOptions( - ProxyFiles(proxyWithLatest), -- ).run(t, shouldUpdateDep, func(t *testing.T, env *Env) { +- ).Run(t, shouldUpdateDep, func(t *testing.T, env *Env) { - env.OpenFile("go.mod") - var lens protocol.CodeLens - var found bool @@ -5832,15 +5734,27 @@ diff -urN a/gopls/internal/regtest/codelens_test.go b/gopls/internal/regtest/cod - }); err != nil { - t.Fatal(err) - } -- env.Await(CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 1)) -- got := env.Editor.BufferText("go.mod") -- const wantGoMod = `module mod.com -- --go 1.12 -- --require golang.org/x/hello v1.3.3 --` -- if got != wantGoMod { +- env.Await(env.DoneWithChangeWatchedFiles()) +- if got := env.Editor.BufferText("go.mod"); got != wantGoMod { +- t.Fatalf("go.mod upgrade failed:\n%s", tests.Diff(t, wantGoMod, got)) +- } +- }) +- }) +- } +- for _, vendoring := range []bool{false, true} { +- t.Run(fmt.Sprintf("Upgrade individual dependency vendoring=%v", vendoring), func(t *testing.T) { +- WithOptions(ProxyFiles(proxyWithLatest)).Run(t, shouldUpdateDep, func(t *testing.T, env *Env) { +- if vendoring { +- env.RunGoCommand("mod", "vendor") +- } +- env.OpenFile("go.mod") +- env.ExecuteCodeLensCommand("go.mod", command.CheckUpgrades) +- d := &protocol.PublishDiagnosticsParams{} +- env.Await(OnceMet(env.DiagnosticAtRegexpWithMessage("go.mod", `require`, "can be upgraded"), +- ReadDiagnostics("go.mod", d))) +- env.ApplyQuickFixes("go.mod", d.Diagnostics) +- env.Await(env.DoneWithChangeWatchedFiles()) +- if got := env.Editor.BufferText("go.mod"); got != wantGoMod { - t.Fatalf("go.mod upgrade failed:\n%s", tests.Diff(t, wantGoMod, got)) - } - }) @@ -5891,10 +5805,10 @@ diff -urN a/gopls/internal/regtest/codelens_test.go b/gopls/internal/regtest/cod - _ = hi.Goodbye -} -` -- runner.Run(t, shouldRemoveDep, func(t *testing.T, env *Env) { +- WithOptions(ProxyFiles(proxy)).Run(t, shouldRemoveDep, func(t *testing.T, env *Env) { - env.OpenFile("go.mod") -- env.ExecuteCodeLensCommand("go.mod", source.CommandTidy) -- env.Await(CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 1)) +- env.ExecuteCodeLensCommand("go.mod", command.Tidy) +- env.Await(env.DoneWithChangeWatchedFiles()) - got := env.Editor.BufferText("go.mod") - const wantGoMod = `module mod.com - @@ -5905,7 +5819,7 @@ diff -urN a/gopls/internal/regtest/codelens_test.go b/gopls/internal/regtest/cod - if got != wantGoMod { - t.Fatalf("go.mod tidy failed:\n%s", tests.Diff(t, wantGoMod, got)) - } -- }, ProxyFiles(proxy)) +- }) -} - -func TestRegenerateCgo(t *testing.T) { @@ -5929,18 +5843,21 @@ diff -urN a/gopls/internal/regtest/codelens_test.go b/gopls/internal/regtest/cod - print(C.fortytwo()) -} -` -- runner.Run(t, workspace, func(t *testing.T, env *Env) { -- // Open the file. We should have a nonexistant symbol. +- Run(t, workspace, func(t *testing.T, env *Env) { +- // Open the file. We have a nonexistant symbol that will break cgo processing. - env.OpenFile("cgo.go") -- env.Await(env.DiagnosticAtRegexp("cgo.go", `C\.(fortytwo)`)) // could not determine kind of name for C.fortytwo +- env.Await(env.DiagnosticAtRegexpWithMessage("cgo.go", ``, "go list failed to return CompiledGoFiles")) - - // Fix the C function name. We haven't regenerated cgo, so nothing should be fixed. - env.RegexpReplace("cgo.go", `int fortythree`, "int fortytwo") - env.SaveBuffer("cgo.go") -- env.Await(env.DiagnosticAtRegexp("cgo.go", `C\.(fortytwo)`)) +- env.Await(OnceMet( +- env.DoneWithSave(), +- env.DiagnosticAtRegexpWithMessage("cgo.go", ``, "go list failed to return CompiledGoFiles"), +- )) - - // Regenerate cgo, fixing the diagnostic. -- env.ExecuteCodeLensCommand("cgo.go", source.CommandRegenerateCgo) +- env.ExecuteCodeLensCommand("cgo.go", command.RegenerateCgo) - env.Await(EmptyDiagnostics("cgo.go")) - }) -} @@ -5966,14 +5883,16 @@ diff -urN a/gopls/internal/regtest/codelens_test.go b/gopls/internal/regtest/cod - fmt.Println(x) -} -` -- withOptions( +- WithOptions( - EditorConfig{ - CodeLenses: map[string]bool{ - "gc_details": true, - }}, -- ).run(t, mod, func(t *testing.T, env *Env) { +- // TestGCDetails seems to suffer from poor performance on certain builders. Give it some more time to complete. +- Timeout(60*time.Second), +- ).Run(t, mod, func(t *testing.T, env *Env) { - env.OpenFile("main.go") -- env.ExecuteCodeLensCommand("main.go", source.CommandToggleDetails) +- env.ExecuteCodeLensCommand("main.go", command.GCDetails) - d := &protocol.PublishDiagnosticsParams{} - env.Await( - OnceMet( @@ -6000,759 +5919,1041 @@ diff -urN a/gopls/internal/regtest/codelens_test.go b/gopls/internal/regtest/cod - env.EditBuffer("main.go", fake.NewEdit(0, 0, 0, 0, "\n\n")) - env.Await(EmptyDiagnostics("main.go")) - -- // Saving a buffer should re-format back to the original state, and -- // re-enable the gc_details diagnostics. -- env.SaveBuffer("main.go") -- env.Await(DiagnosticAt("main.go", 6, 12)) +- // Saving a buffer should re-format back to the original state, and +- // re-enable the gc_details diagnostics. +- env.SaveBuffer("main.go") +- env.Await(DiagnosticAt("main.go", 6, 12)) +- +- // Toggle the GC details code lens again so now it should be off. +- env.ExecuteCodeLensCommand("main.go", command.GCDetails) +- env.Await( +- EmptyDiagnostics("main.go"), +- ) +- }) +-} +diff -urN a/gopls/internal/regtest/completion/completion_test.go b/gopls/internal/regtest/completion/completion_test.go +--- a/gopls/internal/regtest/completion/completion_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/completion/completion_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,542 +0,0 @@ +-// Copyright 2020 The Go Authors. All rights reserved. +-// Use of this source code is governed by a BSD-style +-// license that can be found in the LICENSE file. +- +-package completion +- +-import ( +- "fmt" +- "strings" +- "testing" +- +- "golang.org/x/tools/gopls/internal/hooks" +- . "golang.org/x/tools/internal/lsp/regtest" +- +- "golang.org/x/tools/internal/lsp/fake" +- "golang.org/x/tools/internal/lsp/protocol" +- "golang.org/x/tools/internal/testenv" +-) +- +-func TestMain(m *testing.M) { +- Main(m, hooks.Options) +-} +- +-const proxy = ` +--- example.com@v1.2.3/go.mod -- +-module example.com +- +-go 1.12 +--- example.com@v1.2.3/blah/blah.go -- +-package blah +- +-const Name = "Blah" +--- random.org@v1.2.3/go.mod -- +-module random.org +- +-go 1.12 +--- random.org@v1.2.3/blah/blah.go -- +-package hello +- +-const Name = "Hello" +-` +- +-func TestPackageCompletion(t *testing.T) { +- testenv.NeedsGo1Point(t, 14) +- const files = ` +--- go.mod -- +-module mod.com +- +-go 1.12 +--- fruits/apple.go -- +-package apple +- +-fun apple() int { +- return 0 +-} +- +--- fruits/testfile.go -- +-// this is a comment +- +-/* +- this is a multiline comment +-*/ +- +-import "fmt" +- +-func test() {} +- +--- fruits/testfile2.go -- +-package +- +--- fruits/testfile3.go -- +-pac +--- 123f_r.u~its-123/testfile.go -- +-package +- +--- .invalid-dir@-name/testfile.go -- +-package +-` +- var ( +- testfile4 = "" +- testfile5 = "/*a comment*/ " +- testfile6 = "/*a comment*/\n" +- ) +- for _, tc := range []struct { +- name string +- filename string +- content *string +- triggerRegexp string +- want []string +- editRegexp string +- }{ +- { +- name: "package completion at valid position", +- filename: "fruits/testfile.go", +- triggerRegexp: "\n()", +- want: []string{"package apple", "package apple_test", "package fruits", "package fruits_test", "package main"}, +- editRegexp: "\n()", +- }, +- { +- name: "package completion in a comment", +- filename: "fruits/testfile.go", +- triggerRegexp: "th(i)s", +- want: nil, +- }, +- { +- name: "package completion in a multiline comment", +- filename: "fruits/testfile.go", +- triggerRegexp: `\/\*\n()`, +- want: nil, +- }, +- { +- name: "package completion at invalid position", +- filename: "fruits/testfile.go", +- triggerRegexp: "import \"fmt\"\n()", +- want: nil, +- }, +- { +- name: "package completion after keyword 'package'", +- filename: "fruits/testfile2.go", +- triggerRegexp: "package()", +- want: []string{"package apple", "package apple_test", "package fruits", "package fruits_test", "package main"}, +- editRegexp: "package\n", +- }, +- { +- name: "package completion with 'pac' prefix", +- filename: "fruits/testfile3.go", +- triggerRegexp: "pac()", +- want: []string{"package apple", "package apple_test", "package fruits", "package fruits_test", "package main"}, +- editRegexp: "pac", +- }, +- { +- name: "package completion for empty file", +- filename: "fruits/testfile4.go", +- triggerRegexp: "^$", +- content: &testfile4, +- want: []string{"package apple", "package apple_test", "package fruits", "package fruits_test", "package main"}, +- editRegexp: "^$", +- }, +- { +- name: "package completion without terminal newline", +- filename: "fruits/testfile5.go", +- triggerRegexp: `\*\/ ()`, +- content: &testfile5, +- want: []string{"package apple", "package apple_test", "package fruits", "package fruits_test", "package main"}, +- editRegexp: `\*\/ ()`, +- }, +- { +- name: "package completion on terminal newline", +- filename: "fruits/testfile6.go", +- triggerRegexp: `\*\/\n()`, +- content: &testfile6, +- want: []string{"package apple", "package apple_test", "package fruits", "package fruits_test", "package main"}, +- editRegexp: `\*\/\n()`, +- }, +- // Issue golang/go#44680 +- { +- name: "package completion for dir name with punctuation", +- filename: "123f_r.u~its-123/testfile.go", +- triggerRegexp: "package()", +- want: []string{"package fruits123", "package fruits123_test", "package main"}, +- editRegexp: "package\n", +- }, +- { +- name: "package completion for invalid dir name", +- filename: ".invalid-dir@-name/testfile.go", +- triggerRegexp: "package()", +- want: []string{"package main"}, +- editRegexp: "package\n", +- }, +- } { +- t.Run(tc.name, func(t *testing.T) { +- Run(t, files, func(t *testing.T, env *Env) { +- if tc.content != nil { +- env.WriteWorkspaceFile(tc.filename, *tc.content) +- env.Await( +- env.DoneWithChangeWatchedFiles(), +- ) +- } +- env.OpenFile(tc.filename) +- completions := env.Completion(tc.filename, env.RegexpSearch(tc.filename, tc.triggerRegexp)) +- +- // Check that the completion item suggestions are in the range +- // of the file. +- lineCount := len(strings.Split(env.Editor.BufferText(tc.filename), "\n")) +- for _, item := range completions.Items { +- if start := int(item.TextEdit.Range.Start.Line); start >= lineCount { +- t.Fatalf("unexpected text edit range start line number: got %d, want less than %d", start, lineCount) +- } +- if end := int(item.TextEdit.Range.End.Line); end >= lineCount { +- t.Fatalf("unexpected text edit range end line number: got %d, want less than %d", end, lineCount) +- } +- } +- +- if tc.want != nil { +- start, end := env.RegexpRange(tc.filename, tc.editRegexp) +- expectedRng := protocol.Range{ +- Start: fake.Pos.ToProtocolPosition(start), +- End: fake.Pos.ToProtocolPosition(end), +- } +- for _, item := range completions.Items { +- gotRng := item.TextEdit.Range +- if expectedRng != gotRng { +- t.Errorf("unexpected completion range for completion item %s: got %v, want %v", +- item.Label, gotRng, expectedRng) +- } +- } +- } +- +- diff := compareCompletionResults(tc.want, completions.Items) +- if diff != "" { +- t.Error(diff) +- } +- }) +- }) +- } +-} +- +-func TestPackageNameCompletion(t *testing.T) { +- const files = ` +--- go.mod -- +-module mod.com +- +-go 1.12 +--- math/add.go -- +-package ma +-` +- +- want := []string{"ma", "ma_test", "main", "math", "math_test"} +- Run(t, files, func(t *testing.T, env *Env) { +- env.OpenFile("math/add.go") +- completions := env.Completion("math/add.go", fake.Pos{ +- Line: 0, +- Column: 10, +- }) - -- // Toggle the GC details code lens again so now it should be off. -- env.ExecuteCodeLensCommand("main.go", source.CommandToggleDetails) -- env.Await( -- EmptyDiagnostics("main.go"), -- ) +- diff := compareCompletionResults(want, completions.Items) +- if diff != "" { +- t.Fatal(diff) +- } - }) -} -diff -urN a/gopls/internal/regtest/completion_bench_test.go b/gopls/internal/regtest/completion_bench_test.go ---- a/gopls/internal/regtest/completion_bench_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/completion_bench_test.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,200 +0,0 @@ --// Copyright 2020 The Go Authors. All rights reserved. --// Use of this source code is governed by a BSD-style --// license that can be found in the LICENSE file. -- --package regtest - --import ( -- "flag" -- "fmt" -- "runtime" -- "strings" -- "testing" +-func compareCompletionResults(want []string, gotItems []protocol.CompletionItem) string { +- if len(gotItems) != len(want) { +- return fmt.Sprintf("got %v completion(s), want %v", len(gotItems), len(want)) +- } - -- "golang.org/x/tools/internal/lsp/fake" --) +- var got []string +- for _, item := range gotItems { +- got = append(got, item.Label) +- } - --// dummyCompletionFunction to test manually configured completion using CLI. --func dummyCompletionFunction() { const s = "placeholder"; fmt.Printf("%s", s) } +- for i, v := range got { +- if v != want[i] { +- return fmt.Sprintf("completion results are not the same: got %v, want %v", got, want) +- } +- } - --type completionBenchOptions struct { -- workdir, file, locationRegexp string -- printResults bool -- // hook to run edits before initial completion, not supported for manually -- // configured completions. -- preCompletionEdits func(*Env) +- return "" -} - --var completionOptions = completionBenchOptions{} +-func TestUnimportedCompletion(t *testing.T) { +- testenv.NeedsGo1Point(t, 14) - --func init() { -- flag.StringVar(&completionOptions.workdir, "completion_workdir", "", "directory to run completion benchmarks in") -- flag.StringVar(&completionOptions.file, "completion_file", "", "relative path to the file to complete in") -- flag.StringVar(&completionOptions.locationRegexp, "completion_regexp", "", "regexp location to complete at") -- flag.BoolVar(&completionOptions.printResults, "completion_print_results", false, "whether to print completion results") --} +- const mod = ` +--- go.mod -- +-module mod.com - --func benchmarkCompletion(options completionBenchOptions, t *testing.T) { -- if completionOptions.workdir == "" { -- t.Skip("-completion_workdir not configured, skipping benchmark") -- } +-go 1.14 - -- opts := stressTestOptions(options.workdir) +-require example.com v1.2.3 +--- go.sum -- +-example.com v1.2.3 h1:ihBTGWGjTU3V4ZJ9OmHITkU9WQ4lGdQkMjgyLFk0FaY= +-example.com v1.2.3/go.mod h1:Y2Rc5rVWjWur0h3pd9aEvK5Pof8YKDANh9gHA2Maujo= +--- main.go -- +-package main - -- // Completion gives bad results if IWL is not yet complete, so we must await -- // it first (and therefore need hooks). -- opts = append(opts, SkipHooks(false)) +-func main() { +- _ = blah +-} +--- main2.go -- +-package main - -- withOptions(opts...).run(t, "", func(t *testing.T, env *Env) { -- env.OpenFile(options.file) +-import "example.com/blah" - -- // Run edits required for this completion. -- if options.preCompletionEdits != nil { -- options.preCompletionEdits(env) +-func _() { +- _ = blah.Hello +-} +-` +- WithOptions( +- ProxyFiles(proxy), +- ).Run(t, mod, func(t *testing.T, env *Env) { +- // Make sure the dependency is in the module cache and accessible for +- // unimported completions, and then remove it before proceeding. +- env.RemoveWorkspaceFile("main2.go") +- env.RunGoCommand("mod", "tidy") +- env.Await(env.DoneWithChangeWatchedFiles()) +- +- // Trigger unimported completions for the example.com/blah package. +- env.OpenFile("main.go") +- env.Await(env.DoneWithOpen()) +- pos := env.RegexpSearch("main.go", "ah") +- completions := env.Completion("main.go", pos) +- if len(completions.Items) == 0 { +- t.Fatalf("no completion items") - } +- env.AcceptCompletion("main.go", pos, completions.Items[0]) +- env.Await(env.DoneWithChange()) - -- // Add a comment as a marker at the start of the file, we'll replace -- // this in every iteration to trigger type checking and hence emulate -- // a more real world scenario. -- env.EditBuffer(options.file, fake.Edit{Text: "// 0\n"}) +- // Trigger completions once again for the blah.<> selector. +- env.RegexpReplace("main.go", "_ = blah", "_ = blah.") +- env.Await(env.DoneWithChange()) +- pos = env.RegexpSearch("main.go", "\n}") +- completions = env.Completion("main.go", pos) +- if len(completions.Items) != 1 { +- t.Fatalf("expected 1 completion item, got %v", len(completions.Items)) +- } +- item := completions.Items[0] +- if item.Label != "Name" { +- t.Fatalf("expected completion item blah.Name, got %v", item.Label) +- } +- env.AcceptCompletion("main.go", pos, item) - -- // Run a completion to make sure the system is warm. -- pos := env.RegexpSearch(options.file, options.locationRegexp) -- completions := env.Completion(options.file, pos) +- // Await the diagnostics to add example.com/blah to the go.mod file. +- env.Await( +- env.DiagnosticAtRegexp("main.go", `"example.com/blah"`), +- ) +- }) +-} - -- if options.printResults { -- fmt.Println("Results:") -- for i := 0; i < len(completions.Items); i++ { -- fmt.Printf("\t%d. %v\n", i, completions.Items[i]) -- } -- } +-// Test that completions still work with an undownloaded module, golang/go#43333. +-func TestUndownloadedModule(t *testing.T) { +- // mod.com depends on example.com, but only in a file that's hidden by a +- // build tag, so the IWL won't download example.com. That will cause errors +- // in the go list -m call performed by the imports package. +- const files = ` +--- go.mod -- +-module mod.com - -- results := testing.Benchmark(func(b *testing.B) { -- for i := 0; i < b.N; i++ { -- b.StopTimer() -- env.RegexpReplace(options.file, `\/\/ \d*`, fmt.Sprintf("// %d", i)) +-go 1.14 - -- // explicitly garbage collect since we don't want to count this -- // time in completion benchmarks. -- if i%10 == 0 { -- runtime.GC() -- } -- b.StartTimer() +-require example.com v1.2.3 +--- go.sum -- +-example.com v1.2.3 h1:ihBTGWGjTU3V4ZJ9OmHITkU9WQ4lGdQkMjgyLFk0FaY= +-example.com v1.2.3/go.mod h1:Y2Rc5rVWjWur0h3pd9aEvK5Pof8YKDANh9gHA2Maujo= +--- useblah.go -- +-// +build hidden - -- env.Completion(options.file, pos) -- } -- }) +-package pkg +-import "example.com/blah" +-var _ = blah.Name +--- mainmod/mainmod.go -- +-package mainmod - -- printBenchmarkResults(results) +-const Name = "mainmod" +-` +- WithOptions(ProxyFiles(proxy)).Run(t, files, func(t *testing.T, env *Env) { +- env.CreateBuffer("import.go", "package pkg\nvar _ = mainmod.Name\n") +- env.SaveBuffer("import.go") +- content := env.ReadWorkspaceFile("import.go") +- if !strings.Contains(content, `import "mod.com/mainmod`) { +- t.Errorf("expected import of mod.com/mainmod in %q", content) +- } - }) -} - --// endPosInBuffer returns the position for last character in the buffer for --// the given file. --func endPosInBuffer(env *Env, name string) fake.Pos { -- buffer := env.Editor.BufferText(name) -- lines := strings.Split(buffer, "\n") -- numLines := len(lines) +-// Test that we can doctor the source code enough so the file is +-// parseable and completion works as expected. +-func TestSourceFixup(t *testing.T) { +- const files = ` +--- go.mod -- +-module mod.com - -- return fake.Pos{ -- Line: numLines - 1, -- Column: len([]rune(lines[numLines-1])), -- } +-go 1.12 +--- foo.go -- +-package foo +- +-func _() { +- var s S +- if s. -} - --// Benchmark completion at a specified file and location. When no CLI options --// are specified, this test is skipped. --// To Run (from x/tools/gopls) against the dummy function above: --// go test -v ./internal/regtest -run=TestBenchmarkConfiguredCompletion --// -completion_workdir="$HOME/Developer/tools" --// -completion_file="gopls/internal/regtest/completion_bench_test.go" --// -completion_regexp="dummyCompletionFunction.*fmt\.Printf\(\"%s\", s(\))" --func TestBenchmarkConfiguredCompletion(t *testing.T) { -- benchmarkCompletion(completionOptions, t) +-type S struct { +- i int -} +-` - --// To run (from x/tools/gopls): --// go test -v ./internal/regtest -run TestBenchmark<>Completion --// -completion_workdir="$HOME/Developer/tools" --// where <> is one of the tests below. completion_workdir should be path to --// x/tools on your system. +- Run(t, files, func(t *testing.T, env *Env) { +- env.OpenFile("foo.go") +- completions := env.Completion("foo.go", env.RegexpSearch("foo.go", `if s\.()`)) +- diff := compareCompletionResults([]string{"i"}, completions.Items) +- if diff != "" { +- t.Fatal(diff) +- } +- }) +-} - --// Benchmark struct completion in tools codebase. --func TestBenchmarkStructCompletion(t *testing.T) { -- file := "internal/lsp/cache/session.go" +-func TestCompletion_Issue45510(t *testing.T) { +- const files = ` +--- go.mod -- +-module mod.com - -- preCompletionEdits := func(env *Env) { -- env.OpenFile(file) -- originalBuffer := env.Editor.BufferText(file) -- env.EditBuffer(file, fake.Edit{ -- End: endPosInBuffer(env, file), -- Text: originalBuffer + "\nvar testVariable map[string]bool = Session{}.\n", -- }) -- } +-go 1.12 +--- main.go -- +-package main - -- benchmarkCompletion(completionBenchOptions{ -- workdir: completionOptions.workdir, -- file: file, -- locationRegexp: `var testVariable map\[string\]bool = Session{}(\.)`, -- preCompletionEdits: preCompletionEdits, -- printResults: completionOptions.printResults, -- }, t) +-func _() { +- type a *a +- var aaaa1, aaaa2 a +- var _ a = aaaa +- +- type b a +- var bbbb1, bbbb2 b +- var _ b = bbbb -} - --// Benchmark import completion in tools codebase. --func TestBenchmarkImportCompletion(t *testing.T) { -- benchmarkCompletion(completionBenchOptions{ -- workdir: completionOptions.workdir, -- file: "internal/lsp/source/completion/completion.go", -- locationRegexp: `go\/()`, -- printResults: completionOptions.printResults, -- }, t) +-type ( +- c *d +- d *e +- e **c +-) +- +-func _() { +- var ( +- xxxxc c +- xxxxd d +- xxxxe e +- ) +- +- var _ c = xxxx +- var _ d = xxxx +- var _ e = xxxx -} +-` - --// Benchmark slice completion in tools codebase. --func TestBenchmarkSliceCompletion(t *testing.T) { -- file := "internal/lsp/cache/session.go" +- Run(t, files, func(t *testing.T, env *Env) { +- env.OpenFile("main.go") - -- preCompletionEdits := func(env *Env) { -- env.OpenFile(file) -- originalBuffer := env.Editor.BufferText(file) -- env.EditBuffer(file, fake.Edit{ -- End: endPosInBuffer(env, file), -- Text: originalBuffer + "\nvar testVariable []byte = \n", -- }) -- } +- tests := []struct { +- re string +- want []string +- }{ +- {`var _ a = aaaa()`, []string{"aaaa1", "aaaa2"}}, +- {`var _ b = bbbb()`, []string{"bbbb1", "bbbb2"}}, +- {`var _ c = xxxx()`, []string{"xxxxc", "xxxxd", "xxxxe"}}, +- {`var _ d = xxxx()`, []string{"xxxxc", "xxxxd", "xxxxe"}}, +- {`var _ e = xxxx()`, []string{"xxxxc", "xxxxd", "xxxxe"}}, +- } +- for _, tt := range tests { +- completions := env.Completion("main.go", env.RegexpSearch("main.go", tt.re)) +- diff := compareCompletionResults(tt.want, completions.Items) +- if diff != "" { +- t.Errorf("%s: %s", tt.re, diff) +- } +- } +- }) +-} - -- benchmarkCompletion(completionBenchOptions{ -- workdir: completionOptions.workdir, -- file: file, -- locationRegexp: `var testVariable \[\]byte (=)`, -- preCompletionEdits: preCompletionEdits, -- printResults: completionOptions.printResults, -- }, t) +-func TestCompletionDeprecation(t *testing.T) { +- const files = ` +--- go.mod -- +-module test.com +- +-go 1.16 +--- prog.go -- +-package waste +-// Deprecated, use newFoof +-func fooFunc() bool { +- return false -} - --// Benchmark deep completion in function call in tools codebase. --func TestBenchmarkFuncDeepCompletion(t *testing.T) { -- file := "internal/lsp/source/completion/completion.go" -- fileContent := ` --func (c *completer) _() { -- c.inference.kindMatches(c.) +-// Deprecated +-const badPi = 3.14 +- +-func doit() { +- if fooF +- panic() +- x := badP -} -` -- preCompletionEdits := func(env *Env) { -- env.OpenFile(file) -- originalBuffer := env.Editor.BufferText(file) -- env.EditBuffer(file, fake.Edit{ -- End: endPosInBuffer(env, file), -- Text: originalBuffer + fileContent, -- }) -- } +- Run(t, files, func(t *testing.T, env *Env) { +- env.OpenFile("prog.go") +- pos := env.RegexpSearch("prog.go", "if fooF") +- pos.Column += len("if fooF") +- completions := env.Completion("prog.go", pos) +- diff := compareCompletionResults([]string{"fooFunc"}, completions.Items) +- if diff != "" { +- t.Error(diff) +- } +- if completions.Items[0].Tags == nil { +- t.Errorf("expected Tags to show deprecation %#v", diff[0]) +- } +- pos = env.RegexpSearch("prog.go", "= badP") +- pos.Column += len("= badP") +- completions = env.Completion("prog.go", pos) +- diff = compareCompletionResults([]string{"badPi"}, completions.Items) +- if diff != "" { +- t.Error(diff) +- } +- if completions.Items[0].Tags == nil { +- t.Errorf("expected Tags to show deprecation %#v", diff[0]) +- } +- }) +-} - -- benchmarkCompletion(completionBenchOptions{ -- workdir: completionOptions.workdir, -- file: file, -- locationRegexp: `func \(c \*completer\) _\(\) {\n\tc\.inference\.kindMatches\((c)`, -- preCompletionEdits: preCompletionEdits, -- printResults: completionOptions.printResults, -- }, t) +-func TestUnimportedCompletion_VSCodeIssue1489(t *testing.T) { +- t.Skip("broken due to golang/vscode-go#1489") +- testenv.NeedsGo1Point(t, 14) +- +- const src = ` +--- go.mod -- +-module mod.com +- +-go 1.14 +- +--- main.go -- +-package main +- +-import "fmt" +- +-func main() { +- fmt.Println("a") +- math.Sqr -} -diff -urN a/gopls/internal/regtest/completion_test.go b/gopls/internal/regtest/completion_test.go ---- a/gopls/internal/regtest/completion_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/completion_test.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,325 +0,0 @@ --// Copyright 2020 The Go Authors. All rights reserved. +-` +- WithOptions( +- WindowsLineEndings, +- ProxyFiles(proxy), +- ).Run(t, src, func(t *testing.T, env *Env) { +- // Trigger unimported completions for the example.com/blah package. +- env.OpenFile("main.go") +- env.Await(env.DoneWithOpen()) +- pos := env.RegexpSearch("main.go", "Sqr()") +- completions := env.Completion("main.go", pos) +- if len(completions.Items) == 0 { +- t.Fatalf("no completion items") +- } +- env.AcceptCompletion("main.go", pos, completions.Items[0]) +- env.Await(env.DoneWithChange()) +- t.Log(env.Editor.BufferText("main.go")) +- }) +-} +diff -urN a/gopls/internal/regtest/completion/postfix_snippet_test.go b/gopls/internal/regtest/completion/postfix_snippet_test.go +--- a/gopls/internal/regtest/completion/postfix_snippet_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/completion/postfix_snippet_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,402 +0,0 @@ +-// Copyright 2021 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - --package regtest +-package completion - -import ( -- "fmt" - "strings" - "testing" - -- "golang.org/x/tools/internal/lsp" -- "golang.org/x/tools/internal/lsp/fake" -- "golang.org/x/tools/internal/lsp/protocol" -- "golang.org/x/tools/internal/testenv" +- . "golang.org/x/tools/internal/lsp/regtest" +- "golang.org/x/tools/internal/lsp/source" -) - --func TestPackageCompletion(t *testing.T) { -- testenv.NeedsGo1Point(t, 14) -- const files = ` +-func TestPostfixSnippetCompletion(t *testing.T) { +- const mod = ` --- go.mod -- -module mod.com - -go 1.12 ---- fruits/apple.go -- --package apple -- --fun apple() int { -- return 0 --} -- ---- fruits/testfile.go -- --// this is a comment -- --/* -- this is a multiline comment --*/ -- --import "fmt" -- --func test() {} -- ---- fruits/testfile2.go -- --package -- ---- fruits/testfile3.go -- --pac -` -- var ( -- testfile4 = "" -- testfile5 = "/*a comment*/ " -- testfile6 = "/*a comment*/\n" -- ) -- for _, tc := range []struct { +- +- cases := []struct { - name string -- filename string -- content *string -- triggerRegexp string -- want []string -- editRegexp string +- before, after string - }{ - { -- name: "package completion at valid position", -- filename: "fruits/testfile.go", -- triggerRegexp: "\n()", -- want: []string{"package apple", "package apple_test", "package fruits", "package fruits_test", "package main"}, -- editRegexp: "\n()", -- }, -- { -- name: "package completion in a comment", -- filename: "fruits/testfile.go", -- triggerRegexp: "th(i)s", -- want: nil, -- }, -- { -- name: "package completion in a multiline comment", -- filename: "fruits/testfile.go", -- triggerRegexp: `\/\*\n()`, -- want: nil, -- }, -- { -- name: "package completion at invalid position", -- filename: "fruits/testfile.go", -- triggerRegexp: "import \"fmt\"\n()", -- want: nil, -- }, -- { -- name: "package completion after keyword 'package'", -- filename: "fruits/testfile2.go", -- triggerRegexp: "package()", -- want: []string{"package apple", "package apple_test", "package fruits", "package fruits_test", "package main"}, -- editRegexp: "package\n", -- }, -- { -- name: "package completion with 'pac' prefix", -- filename: "fruits/testfile3.go", -- triggerRegexp: "pac()", -- want: []string{"package apple", "package apple_test", "package fruits", "package fruits_test", "package main"}, -- editRegexp: "pac", -- }, -- { -- name: "package completion for empty file", -- filename: "fruits/testfile4.go", -- triggerRegexp: "^$", -- content: &testfile4, -- want: []string{"package apple", "package apple_test", "package fruits", "package fruits_test", "package main"}, -- editRegexp: "^$", -- }, -- { -- name: "package completion without terminal newline", -- filename: "fruits/testfile5.go", -- triggerRegexp: `\*\/ ()`, -- content: &testfile5, -- want: []string{"package apple", "package apple_test", "package fruits", "package fruits_test", "package main"}, -- editRegexp: `\*\/ ()`, +- name: "sort", +- before: ` +-package foo +- +-func _() { +- var foo []int +- foo.sort +-} +-`, +- after: ` +-package foo +- +-import "sort" +- +-func _() { +- var foo []int +- sort.Slice(foo, func(i, j int) bool { +- $0 +-}) +-} +-`, - }, - { -- name: "package completion on terminal newline", -- filename: "fruits/testfile6.go", -- triggerRegexp: `\*\/\n()`, -- content: &testfile6, -- want: []string{"package apple", "package apple_test", "package fruits", "package fruits_test", "package main"}, -- editRegexp: `\*\/\n()`, -- }, -- } { -- t.Run(tc.name, func(t *testing.T) { -- run(t, files, func(t *testing.T, env *Env) { -- if tc.content != nil { -- env.WriteWorkspaceFile(tc.filename, *tc.content) -- env.Await( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 1), -- ) -- } -- env.OpenFile(tc.filename) -- completions := env.Completion(tc.filename, env.RegexpSearch(tc.filename, tc.triggerRegexp)) +- name: "sort_renamed_sort_package", +- before: ` +-package foo - -- // Check that the completion item suggestions are in the range -- // of the file. -- lineCount := len(strings.Split(env.Editor.BufferText(tc.filename), "\n")) -- for _, item := range completions.Items { -- if start := int(item.TextEdit.Range.Start.Line); start >= lineCount { -- t.Fatalf("unexpected text edit range start line number: got %d, want less than %d", start, lineCount) -- } -- if end := int(item.TextEdit.Range.End.Line); end >= lineCount { -- t.Fatalf("unexpected text edit range end line number: got %d, want less than %d", end, lineCount) -- } -- } +-import blahsort "sort" - -- if tc.want != nil { -- start, end := env.RegexpRange(tc.filename, tc.editRegexp) -- expectedRng := protocol.Range{ -- Start: fake.Pos.ToProtocolPosition(start), -- End: fake.Pos.ToProtocolPosition(end), -- } -- for _, item := range completions.Items { -- gotRng := item.TextEdit.Range -- if expectedRng != gotRng { -- t.Errorf("unexpected completion range for completion item %s: got %v, want %v", -- item.Label, gotRng, expectedRng) -- } -- } -- } +-var j int - -- diff := compareCompletionResults(tc.want, completions.Items) -- if diff != "" { -- t.Error(diff) -- } -- }) -- }) -- } +-func _() { +- var foo []int +- foo.sort -} +-`, +- after: ` +-package foo - --func TestPackageNameCompletion(t *testing.T) { -- const files = ` ---- go.mod -- --module mod.com +-import blahsort "sort" - --go 1.12 ---- math/add.go -- --package ma --` +-var j int - -- want := []string{"ma", "ma_test", "main", "math", "math_test"} -- run(t, files, func(t *testing.T, env *Env) { -- env.OpenFile("math/add.go") -- completions := env.Completion("math/add.go", fake.Pos{ -- Line: 0, -- Column: 10, -- }) +-func _() { +- var foo []int +- blahsort.Slice(foo, func(i, j2 int) bool { +- $0 +-}) +-} +-`, +- }, +- { +- name: "last", +- before: ` +-package foo - -- diff := compareCompletionResults(want, completions.Items) -- if diff != "" { -- t.Fatal(diff) -- } -- }) +-func _() { +- var s struct { i []int } +- s.i.last -} +-`, +- after: ` +-package foo - --func compareCompletionResults(want []string, gotItems []protocol.CompletionItem) string { -- if len(gotItems) != len(want) { -- return fmt.Sprintf("got %v completion(s), want %v", len(gotItems), len(want)) -- } +-func _() { +- var s struct { i []int } +- s.i[len(s.i)-1] +-} +-`, +- }, +- { +- name: "reverse", +- before: ` +-package foo - -- var got []string -- for _, item := range gotItems { -- got = append(got, item.Label) -- } +-func _() { +- var foo []int +- foo.reverse +-} +-`, +- after: ` +-package foo - -- for i, v := range got { -- if v != want[i] { -- return fmt.Sprintf("completion results are not the same: got %v, want %v", got, want) -- } -- } +-func _() { +- var foo []int +- for i, j := 0, len(foo)-1; i < j; i, j = i+1, j-1 { +- foo[i], foo[j] = foo[j], foo[i] +-} - -- return "" -} +-`, +- }, +- { +- name: "slice_range", +- before: ` +-package foo - --func TestUnimportedCompletion(t *testing.T) { -- testenv.NeedsGo1Point(t, 14) +-func _() { +- type myThing struct{} +- var foo []myThing +- foo.range +-} +-`, +- after: ` +-package foo - -- const mod = ` ---- go.mod -- --module mod.com +-func _() { +- type myThing struct{} +- var foo []myThing +- for i, mt := range foo { +- $0 +-} +-} +-`, +- }, +- { +- name: "append_stmt", +- before: ` +-package foo - --go 1.14 +-func _() { +- var foo []int +- foo.append +-} +-`, +- after: ` +-package foo - --require example.com v1.2.3 ---- go.sum -- --example.com v1.2.3 h1:ihBTGWGjTU3V4ZJ9OmHITkU9WQ4lGdQkMjgyLFk0FaY= --example.com v1.2.3/go.mod h1:Y2Rc5rVWjWur0h3pd9aEvK5Pof8YKDANh9gHA2Maujo= ---- main.go -- --package main +-func _() { +- var foo []int +- foo = append(foo, $0) +-} +-`, +- }, +- { +- name: "append_expr", +- before: ` +-package foo - --func main() { -- _ = blah +-func _() { +- var foo []int +- var _ []int = foo.append -} ---- main2.go -- --package main +-`, +- after: ` +-package foo - --import "example.com/blah" +-func _() { +- var foo []int +- var _ []int = append(foo, $0) +-} +-`, +- }, +- { +- name: "slice_copy", +- before: ` +-package foo - -func _() { -- _ = blah.Hello +- var foo []int +- foo.copy -} --` -- withOptions( -- ProxyFiles(proxy), -- ).run(t, mod, func(t *testing.T, env *Env) { -- // Make sure the dependency is in the module cache and accessible for -- // unimported completions, and then remove it before proceeding. -- env.RemoveWorkspaceFile("main2.go") -- env.RunGoCommand("mod", "tidy") -- env.Await(CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 2)) +-`, +- after: ` +-package foo - -- // Trigger unimported completions for the example.com/blah package. -- env.OpenFile("main.go") -- env.Await(CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidOpen), 1)) -- pos := env.RegexpSearch("main.go", "ah") -- completions := env.Completion("main.go", pos) -- if len(completions.Items) == 0 { -- t.Fatalf("no completion items") -- } -- env.AcceptCompletion("main.go", pos, completions.Items[0]) -- env.Await(CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChange), 1)) +-func _() { +- var foo []int +- fooCopy := make([]int, len(foo)) +-copy(fooCopy, foo) - -- // Trigger completions once again for the blah.<> selector. -- env.RegexpReplace("main.go", "_ = blah", "_ = blah.") -- env.Await( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChange), 2), -- ) -- pos = env.RegexpSearch("main.go", "\n}") -- completions = env.Completion("main.go", pos) -- if len(completions.Items) != 1 { -- t.Fatalf("expected 1 completion item, got %v", len(completions.Items)) -- } -- item := completions.Items[0] -- if item.Label != "Name" { -- t.Fatalf("expected completion item blah.Name, got %v", item.Label) -- } -- env.AcceptCompletion("main.go", pos, item) +-} +-`, +- }, +- { +- name: "map_range", +- before: ` +-package foo - -- // Await the diagnostics to add example.com/blah to the go.mod file. -- env.SaveBufferWithoutActions("main.go") -- env.Await( -- env.DiagnosticAtRegexp("go.mod", "module mod.com"), -- env.DiagnosticAtRegexp("main.go", `"example.com/blah"`), -- ) -- }) +-func _() { +- var foo map[string]int +- foo.range -} +-`, +- after: ` +-package foo - --// Test that completions still work with an undownloaded module, golang/go#43333. --func TestUndownloadedModule(t *testing.T) { -- // mod.com depends on example.com, but only in a file that's hidden by a -- // build tag, so the IWL won't download example.com. That will cause errors -- // in the go list -m call performed by the imports package. -- const files = ` ---- go.mod -- --module mod.com +-func _() { +- var foo map[string]int +- for k, v := range foo { +- $0 +-} +-} +-`, +- }, +- { +- name: "map_clear", +- before: ` +-package foo - --go 1.14 +-func _() { +- var foo map[string]int +- foo.clear +-} +-`, +- after: ` +-package foo - --require example.com v1.2.3 ---- go.sum -- --example.com v1.2.3 h1:ihBTGWGjTU3V4ZJ9OmHITkU9WQ4lGdQkMjgyLFk0FaY= --example.com v1.2.3/go.mod h1:Y2Rc5rVWjWur0h3pd9aEvK5Pof8YKDANh9gHA2Maujo= ---- useblah.go -- --// +build hidden +-func _() { +- var foo map[string]int +- for k := range foo { +- delete(foo, k) +-} - --package pkg --import "example.com/blah" --var _ = blah.Name ---- mainmod/mainmod.go -- --package mainmod +-} +-`, +- }, +- { +- name: "map_keys", +- before: ` +-package foo - --const Name = "mainmod" --` -- withOptions(ProxyFiles(proxy)).run(t, files, func(t *testing.T, env *Env) { -- env.CreateBuffer("import.go", "package pkg\nvar _ = mainmod.Name\n") -- env.SaveBuffer("import.go") -- content := env.ReadWorkspaceFile("import.go") -- if !strings.Contains(content, `import "mod.com/mainmod`) { -- t.Errorf("expected import of mod.com/mainmod in %q", content) -- } -- }) +-func _() { +- var foo map[string]int +- foo.keys +-} +-`, +- after: ` +-package foo - +-func _() { +- var foo map[string]int +- keys := make([]string, 0, len(foo)) +-for k := range foo { +- keys = append(keys, k) -} -diff -urN a/gopls/internal/regtest/configuration_test.go b/gopls/internal/regtest/configuration_test.go ---- a/gopls/internal/regtest/configuration_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/configuration_test.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,42 +0,0 @@ --// Copyright 2020 The Go Authors. All rights reserved. --// Use of this source code is governed by a BSD-style --// license that can be found in the LICENSE file. - --package regtest +-} +-`, +- }, +- { +- name: "var", +- before: ` +-package foo - --import ( -- "testing" +-func foo() (int, error) { return 0, nil } - -- "golang.org/x/tools/internal/lsp" -- "golang.org/x/tools/internal/lsp/fake" --) +-func _() { +- foo().var +-} +-`, +- after: ` +-package foo - --// Test that enabling and disabling produces the expected results of showing --// and hiding staticcheck analysis results. --func TestChangeConfiguration(t *testing.T) { -- const files = ` ---- go.mod -- --module mod.com +-func foo() (int, error) { return 0, nil } - --go 1.12 ---- a/a.go -- --package a +-func _() { +- i, err := foo() +-} +-`, +- }, +- { +- name: "var_single_value", +- before: ` +-package foo - --// NotThisVariable should really start with ThisVariable. --const ThisVariable = 7 --` -- run(t, files, func(t *testing.T, env *Env) { -- env.OpenFile("a/a.go") -- env.Await( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidOpen), 1), -- NoDiagnostics("a/a.go"), -- ) -- cfg := &fake.EditorConfig{} -- *cfg = env.Editor.Config -- cfg.EnableStaticcheck = true -- env.changeConfiguration(t, cfg) -- env.Await( -- DiagnosticAt("a/a.go", 2, 0), -- ) -- }) +-func foo() error { return nil } +- +-func _() { +- foo().var -} -diff -urN a/gopls/internal/regtest/definition_test.go b/gopls/internal/regtest/definition_test.go ---- a/gopls/internal/regtest/definition_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/definition_test.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,134 +0,0 @@ --// Copyright 2020 The Go Authors. All rights reserved. --// Use of this source code is governed by a BSD-style --// license that can be found in the LICENSE file. +-`, +- after: ` +-package foo - --package regtest +-func foo() error { return nil } - --import ( -- "path" -- "strings" -- "testing" +-func _() { +- err := foo() +-} +-`, +- }, +- { +- name: "var_same_type", +- before: ` +-package foo - -- "golang.org/x/tools/internal/lsp/tests" --) +-func foo() (int, int) { return 0, 0 } - --const internalDefinition = ` ---- go.mod -- --module mod.com +-func _() { +- foo().var +-} +-`, +- after: ` +-package foo - --go 1.12 ---- main.go -- --package main +-func foo() (int, int) { return 0, 0 } - --import "fmt" +-func _() { +- i, i2 := foo() +-} +-`, +- }, +- { +- name: "print_scalar", +- before: ` +-package foo - --func main() { -- fmt.Println(message) +-func _() { +- var foo int +- foo.print -} ---- const.go -- --package main +-`, +- after: ` +-package foo - --const message = "Hello World." --` +-import "fmt" - --func TestGoToInternalDefinition(t *testing.T) { -- runner.Run(t, internalDefinition, func(t *testing.T, env *Env) { -- env.OpenFile("main.go") -- name, pos := env.GoToDefinition("main.go", env.RegexpSearch("main.go", "message")) -- if want := "const.go"; name != want { -- t.Errorf("GoToDefinition: got file %q, want %q", name, want) -- } -- if want := env.RegexpSearch("const.go", "message"); pos != want { -- t.Errorf("GoToDefinition: got position %v, want %v", pos, want) -- } -- }) +-func _() { +- var foo int +- fmt.Printf("foo: %v\n", foo) -} +-`, +- }, +- { +- name: "print_multi", +- before: ` +-package foo - --const stdlibDefinition = ` ---- go.mod -- --module mod.com +-func foo() (int, error) { return 0, nil } - --go 1.12 ---- main.go -- --package main +-func _() { +- foo().print +-} +-`, +- after: ` +-package foo - -import "fmt" - --func main() { -- fmt.Printf() --}` -- --func TestGoToStdlibDefinition_Issue37045(t *testing.T) { -- runner.Run(t, stdlibDefinition, func(t *testing.T, env *Env) { -- env.OpenFile("main.go") -- name, pos := env.GoToDefinition("main.go", env.RegexpSearch("main.go", `fmt.(Printf)`)) -- if got, want := path.Base(name), "print.go"; got != want { -- t.Errorf("GoToDefinition: got file %q, want %q", name, want) -- } +-func foo() (int, error) { return 0, nil } - -- // Test that we can jump to definition from outside our workspace. -- // See golang.org/issues/37045. -- newName, newPos := env.GoToDefinition(name, pos) -- if newName != name { -- t.Errorf("GoToDefinition is not idempotent: got %q, want %q", newName, name) -- } -- if newPos != pos { -- t.Errorf("GoToDefinition is not idempotent: got %v, want %v", newPos, pos) -- } -- }) +-func _() { +- fmt.Println(foo()) -} +-`, +- }, +- } - --func TestUnexportedStdlib_Issue40809(t *testing.T) { -- runner.Run(t, stdlibDefinition, func(t *testing.T, env *Env) { -- env.OpenFile("main.go") -- name, _ := env.GoToDefinition("main.go", env.RegexpSearch("main.go", `fmt.(Printf)`)) -- env.OpenFile(name) +- r := WithOptions(Options(func(o *source.Options) { +- o.ExperimentalPostfixCompletions = true +- })) +- r.Run(t, mod, func(t *testing.T, env *Env) { +- for _, c := range cases { +- t.Run(c.name, func(t *testing.T) { +- c.before = strings.Trim(c.before, "\n") +- c.after = strings.Trim(c.after, "\n") - -- pos := env.RegexpSearch(name, `:=\s*(newPrinter)\(\)`) +- env.CreateBuffer("foo.go", c.before) - -- // Check that we can find references on a reference -- refs := env.References(name, pos) -- if len(refs) < 5 { -- t.Errorf("expected 5+ references to newPrinter, found: %#v", refs) -- } +- pos := env.RegexpSearch("foo.go", "\n}") +- completions := env.Completion("foo.go", pos) +- if len(completions.Items) != 1 { +- t.Fatalf("expected one completion, got %v", completions.Items) +- } - -- name, pos = env.GoToDefinition(name, pos) -- content, _ := env.Hover(name, pos) -- if !strings.Contains(content.Value, "newPrinter") { -- t.Fatal("definition of newPrinter went to the incorrect place") -- } -- // And on the definition too. -- refs = env.References(name, pos) -- if len(refs) < 5 { -- t.Errorf("expected 5+ references to newPrinter, found: %#v", refs) +- env.AcceptCompletion("foo.go", pos, completions.Items[0]) +- +- if buf := env.Editor.BufferText("foo.go"); buf != c.after { +- t.Errorf("\nGOT:\n%s\nEXPECTED:\n%s", buf, c.after) +- } +- }) - } - }) -} +diff -urN a/gopls/internal/regtest/diagnostics/builtin_test.go b/gopls/internal/regtest/diagnostics/builtin_test.go +--- a/gopls/internal/regtest/diagnostics/builtin_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/diagnostics/builtin_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,38 +0,0 @@ +-// Copyright 2021 The Go Authors. All rights reserved. +-// Use of this source code is governed by a BSD-style +-// license that can be found in the LICENSE file. - --// Test the hover on an error's Error function. --// This can't be done via the marker tests because Error is a builtin. --func TestHoverOnError(t *testing.T) { -- const mod = ` +-package diagnostics +- +-import ( +- "strings" +- "testing" +- +- . "golang.org/x/tools/internal/lsp/regtest" +-) +- +-func TestIssue44866(t *testing.T) { +- src := ` --- go.mod -- -module mod.com - -go 1.12 ---- main.go -- --package main +--- a.go -- +-package a - --func main() { -- var err error -- err.Error() --}` -- run(t, mod, func(t *testing.T, env *Env) { -- env.OpenFile("main.go") -- content, _ := env.Hover("main.go", env.RegexpSearch("main.go", "Error")) -- if content == nil { -- t.Fatalf("nil hover content for Error") -- } -- want := "```go\nfunc (error).Error() string\n```" -- if content.Value != want { -- t.Fatalf("hover failed:\n%s", tests.Diff(t, want, content.Value)) +-const ( +- c = iota +-) +-` +- Run(t, src, func(t *testing.T, env *Env) { +- env.OpenFile("a.go") +- name, _ := env.GoToDefinition("a.go", env.RegexpSearch("a.go", "iota")) +- if !strings.HasSuffix(name, "builtin.go") { +- t.Fatalf("jumped to %q, want builtin.go", name) - } +- env.Await(OnceMet( +- env.DoneWithOpen(), +- NoDiagnostics("builtin.go"), +- )) - }) -} -diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/diagnostics_test.go ---- a/gopls/internal/regtest/diagnostics_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/diagnostics_test.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,1791 +0,0 @@ +diff -urN a/gopls/internal/regtest/diagnostics/diagnostics_test.go b/gopls/internal/regtest/diagnostics/diagnostics_test.go +--- a/gopls/internal/regtest/diagnostics/diagnostics_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/diagnostics/diagnostics_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,2136 +0,0 @@ -// Copyright 2020 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - --package regtest +-package diagnostics - -import ( - "context" - "fmt" -- "log" -- "os" +- "os/exec" - "testing" - +- "golang.org/x/tools/gopls/internal/hooks" +- . "golang.org/x/tools/internal/lsp/regtest" +- - "golang.org/x/tools/internal/lsp" - "golang.org/x/tools/internal/lsp/fake" - "golang.org/x/tools/internal/lsp/protocol" -- "golang.org/x/tools/internal/lsp/tests" - "golang.org/x/tools/internal/testenv" -) - +-func TestMain(m *testing.M) { +- Main(m, hooks.Options) +-} +- -// Use mod.com for all go.mod files due to golang/go#35230. -const exampleProgram = ` --- go.mod -- @@ -6772,7 +6973,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - // This test is very basic: start with a clean Go program, make an error, and - // get a diagnostic for that error. However, it also demonstrates how to - // combine Expectations to await more complex state in the editor. -- runner.Run(t, exampleProgram, func(t *testing.T, env *Env) { +- Run(t, exampleProgram, func(t *testing.T, env *Env) { - // Deleting the 'n' at the end of Println should generate a single error - // diagnostic. - env.OpenFile("main.go") @@ -6781,7 +6982,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - // Once we have gotten diagnostics for the change above, we should - // satisfy the DiagnosticAtRegexp assertion. - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChange), 1), +- env.DoneWithChange(), - env.DiagnosticAtRegexp("main.go", "Printl"), - ), - // Assert that this test has sent no error logs to the client. This is not @@ -6800,7 +7001,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - -go 1.12 -` -- runner.Run(t, onlyMod, func(t *testing.T, env *Env) { +- Run(t, onlyMod, func(t *testing.T, env *Env) { - env.CreateBuffer("main.go", `package main - -func m() { @@ -6822,7 +7023,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - -const Foo = "abc -` -- runner.Run(t, brokenFile, func(t *testing.T, env *Env) { +- Run(t, brokenFile, func(t *testing.T, env *Env) { - env.CreateBuffer("broken.go", brokenFile) - env.Await(env.DiagnosticAtRegexp("broken.go", "\"abc")) - }) @@ -6845,7 +7046,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ -` - -func TestDiagnosticClearingOnEdit(t *testing.T) { -- runner.Run(t, badPackage, func(t *testing.T, env *Env) { +- Run(t, badPackage, func(t *testing.T, env *Env) { - env.OpenFile("b.go") - env.Await(env.DiagnosticAtRegexp("a.go", "a = 1"), env.DiagnosticAtRegexp("b.go", "a = 2")) - @@ -6859,7 +7060,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ -} - -func TestDiagnosticClearingOnDelete_Issue37049(t *testing.T) { -- runner.Run(t, badPackage, func(t *testing.T, env *Env) { +- Run(t, badPackage, func(t *testing.T, env *Env) { - env.OpenFile("a.go") - env.Await(env.DiagnosticAtRegexp("a.go", "a = 1"), env.DiagnosticAtRegexp("b.go", "a = 2")) - env.RemoveWorkspaceFile("b.go") @@ -6869,25 +7070,27 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ -} - -func TestDiagnosticClearingOnClose(t *testing.T) { -- runner.Run(t, badPackage, func(t *testing.T, env *Env) { +- Run(t, badPackage, func(t *testing.T, env *Env) { - env.CreateBuffer("c.go", `package consts - -const a = 3`) - env.Await( - env.DiagnosticAtRegexp("a.go", "a = 1"), - env.DiagnosticAtRegexp("b.go", "a = 2"), -- env.DiagnosticAtRegexp("c.go", "a = 3")) +- env.DiagnosticAtRegexp("c.go", "a = 3"), +- ) - env.CloseBuffer("c.go") - env.Await( - env.DiagnosticAtRegexp("a.go", "a = 1"), - env.DiagnosticAtRegexp("b.go", "a = 2"), -- EmptyDiagnostics("c.go")) +- EmptyDiagnostics("c.go"), +- ) - }) -} - -// Tests golang/go#37978. -func TestIssue37978(t *testing.T) { -- runner.Run(t, exampleProgram, func(t *testing.T, env *Env) { +- Run(t, exampleProgram, func(t *testing.T, env *Env) { - // Create a new workspace-level directory and empty file. - env.CreateBuffer("c/c.go", "") - @@ -6938,7 +7141,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ -// Tests golang/go#38878: deleting a test file should clear its errors, and -// not break the workspace. -func TestDeleteTestVariant(t *testing.T) { -- runner.Run(t, test38878, func(t *testing.T, env *Env) { +- Run(t, test38878, func(t *testing.T, env *Env) { - env.Await(env.DiagnosticAtRegexp("a_test.go", `f\((3)\)`)) - env.RemoveWorkspaceFile("a_test.go") - env.Await(EmptyDiagnostics("a_test.go")) @@ -6954,13 +7157,12 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ -// Tests golang/go#38878: deleting a test file on disk while it's still open -// should not clear its errors. -func TestDeleteTestVariant_DiskOnly(t *testing.T) { -- log.SetFlags(log.Lshortfile) -- runner.Run(t, test38878, func(t *testing.T, env *Env) { +- Run(t, test38878, func(t *testing.T, env *Env) { - env.OpenFile("a_test.go") - env.Await(DiagnosticAt("a_test.go", 5, 3)) - env.Sandbox.Workdir.RemoveFile(context.Background(), "a_test.go") - env.Await(OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 1), +- env.DoneWithChangeWatchedFiles(), - DiagnosticAt("a_test.go", 5, 3))) - }) -} @@ -6986,7 +7188,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ -` - - t.Run("manual", func(t *testing.T) { -- runner.Run(t, noMod, func(t *testing.T, env *Env) { +- Run(t, noMod, func(t *testing.T, env *Env) { - env.Await( - env.DiagnosticAtRegexp("main.go", `"mod.com/bob"`), - ) @@ -7011,7 +7213,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - }) - }) - t.Run("initialized", func(t *testing.T) { -- runner.Run(t, noMod, func(t *testing.T, env *Env) { +- Run(t, noMod, func(t *testing.T, env *Env) { - env.Await( - env.DiagnosticAtRegexp("main.go", `"mod.com/bob"`), - ) @@ -7024,13 +7226,13 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - }) - - t.Run("without workspace module", func(t *testing.T) { -- withOptions( +- WithOptions( - Modes(Singleton), -- ).run(t, noMod, func(t *testing.T, env *Env) { +- ).Run(t, noMod, func(t *testing.T, env *Env) { - env.Await( - env.DiagnosticAtRegexp("main.go", `"mod.com/bob"`), - ) -- if err := env.Sandbox.RunGoCommand(env.Ctx, "", "mod", []string{"init", "mod.com"}); err != nil { +- if err := env.Sandbox.RunGoCommand(env.Ctx, "", "mod", []string{"init", "mod.com"}, true); err != nil { - t.Fatal(err) - } - env.Await( @@ -7074,7 +7276,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ -} -` - -- runner.Run(t, testPackage, func(t *testing.T, env *Env) { +- Run(t, testPackage, func(t *testing.T, env *Env) { - env.OpenFile("lib_test.go") - env.Await( - DiagnosticAt("lib_test.go", 10, 2), @@ -7100,7 +7302,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ -package foo -func main() {} -` -- runner.Run(t, packageChange, func(t *testing.T, env *Env) { +- Run(t, packageChange, func(t *testing.T, env *Env) { - env.OpenFile("a.go") - env.RegexpReplace("a.go", "foo", "foox") - env.Await( @@ -7110,7 +7312,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - // test to actually exercise the bug, we must wait until that work has - // completed. - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChange), 1), +- env.DoneWithChange(), - NoDiagnostics("a.go"), - ), - ) @@ -7153,19 +7355,21 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ -` - -func TestResolveDiagnosticWithDownload(t *testing.T) { -- runner.Run(t, testPackageWithRequire, func(t *testing.T, env *Env) { +- WithOptions( +- ProxyFiles(testPackageWithRequireProxy), +- ).Run(t, testPackageWithRequire, func(t *testing.T, env *Env) { - env.OpenFile("print.go") - // Check that gopackages correctly loaded this dependency. We should get a - // diagnostic for the wrong formatting type. - // TODO: we should be able to easily also match the diagnostic message. - env.Await(env.DiagnosticAtRegexp("print.go", "fmt.Printf")) -- }, ProxyFiles(testPackageWithRequireProxy)) +- }) -} - -func TestMissingDependency(t *testing.T) { -- runner.Run(t, testPackageWithRequire, func(t *testing.T, env *Env) { +- Run(t, testPackageWithRequire, func(t *testing.T, env *Env) { - env.OpenFile("print.go") -- env.Await(LogMatching(protocol.Error, "initial workspace load failed", 1)) +- env.Await(LogMatching(protocol.Error, "initial workspace load failed", 1, false)) - }) -} - @@ -7179,7 +7383,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - var x int -} -` -- runner.Run(t, adHoc, func(t *testing.T, env *Env) { +- Run(t, adHoc, func(t *testing.T, env *Env) { - env.OpenFile("b/b.go") - env.Await(env.DiagnosticAtRegexp("b/b.go", "x")) - }) @@ -7195,13 +7399,13 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - fmt.Println("Hello World") -} -` -- withOptions( +- WithOptions( - EditorConfig{ - Env: map[string]string{ - "GOPATH": "", - "GO111MODULE": "off", - }, -- }).run(t, files, func(t *testing.T, env *Env) { +- }).Run(t, files, func(t *testing.T, env *Env) { - env.OpenFile("main.go") - env.Await(env.DiagnosticAtRegexp("main.go", "fmt")) - env.SaveBuffer("main.go") @@ -7226,7 +7430,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ -var X = 0 -` - editorConfig := EditorConfig{Env: map[string]string{"GOFLAGS": "-tags=foo"}} -- withOptions(editorConfig).run(t, files, func(t *testing.T, env *Env) { +- WithOptions(editorConfig).Run(t, files, func(t *testing.T, env *Env) { - env.OpenFile("main.go") - env.OrganizeImports("main.go") - env.Await(EmptyDiagnostics("main.go")) @@ -7251,9 +7455,8 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - } -} -` -- runner.Run(t, generated, func(t *testing.T, env *Env) { +- Run(t, generated, func(t *testing.T, env *Env) { - env.OpenFile("main.go") -- original := env.ReadWorkspaceFile("main.go") - var d protocol.PublishDiagnosticsParams - env.Await( - OnceMet( @@ -7261,12 +7464,8 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - ReadDiagnostics("main.go", &d), - ), - ) -- // Apply fixes and save the buffer. -- env.ApplyQuickFixes("main.go", d.Diagnostics) -- env.SaveBuffer("main.go") -- fixed := env.ReadWorkspaceFile("main.go") -- if original != fixed { -- t.Fatalf("generated file was changed by quick fixes:\n%s", tests.Diff(t, original, fixed)) +- if fixes := env.GetQuickFixes("main.go", d.Diagnostics); len(fixes) != 0 { +- t.Errorf("got quick fixes %v, wanted none", fixes) - } - }) -} @@ -7284,7 +7483,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - hello.Goodbye() -} -` -- runner.Run(t, noModule, func(t *testing.T, env *Env) { +- Run(t, noModule, func(t *testing.T, env *Env) { - env.OpenFile("a.go") - env.Await( - OutstandingWork(lsp.WorkspaceLoadFailure, "outside of a module"), @@ -7303,23 +7502,20 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ -` - for _, go111module := range []string{"on", "off", ""} { - t.Run(fmt.Sprintf("GO111MODULE_%v", go111module), func(t *testing.T) { -- withOptions(EditorConfig{ +- WithOptions(EditorConfig{ - Env: map[string]string{"GO111MODULE": go111module}, -- }).run(t, files, func(t *testing.T, env *Env) { -- env.OpenFile("hello.txt") +- }).Run(t, files, func(t *testing.T, env *Env) { - env.Await( -- OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidOpen), 1), -- NoShowMessage(), -- ), +- NoOutstandingWork(), - ) - }) - }) - } -} - --// Tests golang/go#38602. --func TestNonexistentFileDiagnostics_Issue38602(t *testing.T) { +-// Tests the repro case from golang/go#38602. Diagnostics are now handled properly, +-// which blocks type checking. +-func TestConflictingMainPackageErrors(t *testing.T) { - const collision = ` --- x/x.go -- -package x @@ -7336,29 +7532,28 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - fmt.Println("") -} -` -- runner.Run(t, collision, func(t *testing.T, env *Env) { -- env.OpenFile("x/main.go") +- WithOptions( +- InGOPATH(), +- EditorConfig{ +- Env: map[string]string{ +- "GO111MODULE": "off", +- }, +- }, +- ).Run(t, collision, func(t *testing.T, env *Env) { +- env.OpenFile("x/x.go") - env.Await( -- env.DiagnosticAtRegexp("x/main.go", "fmt.Println"), +- env.DiagnosticAtRegexpWithMessage("x/x.go", `^`, "found packages main (main.go) and x (x.go)"), +- env.DiagnosticAtRegexpWithMessage("x/main.go", `^`, "found packages main (main.go) and x (x.go)"), - ) -- env.OrganizeImports("x/main.go") -- // span.Parse misparses the error message when multiple packages are -- // defined in the same directory, creating a garbage filename. -- // Previously, we would send diagnostics for this nonexistent file. -- // This test checks that we don't send diagnostics for this file. -- dir, err := os.Getwd() -- if err != nil { -- t.Fatal(err) +- +- // We don't recover cleanly from the errors without good overlay support. +- if testenv.Go1Point() >= 16 { +- env.RegexpReplace("x/x.go", `package x`, `package main`) +- env.Await(OnceMet( +- env.DoneWithChange(), +- env.DiagnosticAtRegexpWithMessage("x/main.go", `fmt`, "undeclared name"))) - } -- badFile := fmt.Sprintf("%s/found packages main (main.go) and x (x.go) in %s/src/x", dir, env.Sandbox.GOPATH()) -- env.Await( -- OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChange), 1), -- EmptyDiagnostics("x/main.go"), -- ), -- NoDiagnostics(badFile), -- ) -- }, InGOPATH()) +- }) -} - -const ardanLabsProxy = ` @@ -7389,9 +7584,9 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - _ = conf.ErrHelpWanted -} -` -- withOptions( +- WithOptions( - ProxyFiles(ardanLabsProxy), -- ).run(t, ardanLabs, func(t *testing.T, env *Env) { +- ).Run(t, ardanLabs, func(t *testing.T, env *Env) { - // Expect a diagnostic with a suggested fix to add - // "github.com/ardanlabs/conf" to the go.mod file. - env.OpenFile("go.mod") @@ -7419,7 +7614,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - env.Await(EmptyDiagnostics("main.go")) - env.Await( - OnceMet( -- env.DiagnosticAtRegexp("go.mod", "require github.com/ardanlabs/conf"), +- env.DiagnosticAtRegexpWithMessage("go.mod", "require github.com/ardanlabs/conf", "not used in this module"), - ReadDiagnostics("go.mod", &d), - ), - ) @@ -7447,28 +7642,26 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ -go 1.12 --- main.go -- -` -- withOptions( +- WithOptions( - ProxyFiles(ardanLabsProxy), -- ).run(t, emptyFile, func(t *testing.T, env *Env) { -- env.OpenFile("main.go") -- env.EditBuffer("main.go", fake.NewEdit(0, 0, 0, 0, `package main +- ).Run(t, emptyFile, func(t *testing.T, env *Env) { +- env.CreateBuffer("main.go", `package main - -import "github.com/ardanlabs/conf" - -func main() { - _ = conf.ErrHelpWanted -} --`)) +-`) - env.SaveBuffer("main.go") - var d protocol.PublishDiagnosticsParams - env.Await( - OnceMet( -- env.DiagnosticAtRegexpWithMessage("main.go", `"github.com/ardanlabs/conf"`, "your go.mod file"), +- env.DiagnosticAtRegexpWithMessage("main.go", `"github.com/ardanlabs/conf"`, "no required module"), - ReadDiagnostics("main.go", &d), - ), - ) - env.ApplyQuickFixes("main.go", d.Diagnostics) -- env.CheckForFileChanges() - env.Await( - EmptyDiagnostics("main.go"), - ) @@ -7492,22 +7685,19 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - fmt.Println("hi") -} -` -- runner.Run(t, simplePackage, func(t *testing.T, env *Env) { +- Run(t, simplePackage, func(t *testing.T, env *Env) { - env.OpenFile("a/a1.go") - env.CreateBuffer("a/a2.go", ``) - env.SaveBufferWithoutActions("a/a2.go") - env.Await( - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidSave), 1), +- env.DoneWithSave(), - NoDiagnostics("a/a1.go"), - ), - ) - env.EditBuffer("a/a2.go", fake.NewEdit(0, 0, 0, 0, `package a`)) - env.Await( -- OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChange), 1), -- NoDiagnostics("a/a1.go"), -- ), +- OnceMet(env.DoneWithChange(), NoDiagnostics("a/a1.go")), - ) - }) -} @@ -7540,7 +7730,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - Hello() -} -` -- runner.Run(t, testVariant, func(t *testing.T, env *Env) { +- Run(t, testVariant, func(t *testing.T, env *Env) { - // Open the file, triggering the workspace load. - // There are errors in the code to ensure all is working as expected. - env.OpenFile("hello/hello.go") @@ -7596,12 +7786,10 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ -package foo --- foo/bar_test.go -- -` -- run(t, mod, func(t *testing.T, env *Env) { +- Run(t, mod, func(t *testing.T, env *Env) { - env.OpenFile("foo/bar_test.go") - env.EditBuffer("foo/bar_test.go", fake.NewEdit(0, 0, 0, 0, "package foo")) -- env.Await( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChange), 1), -- ) +- env.Await(env.DoneWithChange()) - env.RegexpReplace("foo/bar_test.go", "package foo", `package foo_test - -import "testing" @@ -7629,41 +7817,23 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ --- foo/bar_test.go -- -package foo_ -` -- run(t, mod, func(t *testing.T, env *Env) { +- Run(t, mod, func(t *testing.T, env *Env) { - env.OpenFile("foo/bar_test.go") - env.RegexpReplace("foo/bar_test.go", "package foo_", "package foo_test") - env.SaveBuffer("foo/bar_test.go") - env.Await( - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidSave), 1), +- env.DoneWithSave(), - NoDiagnostics("foo/bar_test.go"), - ), - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidSave), 1), +- env.DoneWithSave(), - NoDiagnostics("foo/foo.go"), - ), - ) - }) -} - --// Reproduces golang/go#40825. --func TestEmptyGOPATHXTest_40825(t *testing.T) { -- const files = ` ---- x.go -- --package x ---- x_test.go -- --` -- -- withOptions(InGOPATH()).run(t, files, func(t *testing.T, env *Env) { -- env.OpenFile("x_test.go") -- env.EditBuffer("x_test.go", fake.NewEdit(0, 0, 0, 0, "pack")) -- env.Await( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChange), 1), -- NoShowMessage(), -- ) -- }) --} -- -func TestIgnoredFiles(t *testing.T) { - const ws = ` --- go.mod -- @@ -7675,11 +7845,11 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - -var _ = foo.Bar -` -- runner.Run(t, ws, func(t *testing.T, env *Env) { +- Run(t, ws, func(t *testing.T, env *Env) { - env.OpenFile("_foo/x.go") - env.Await( - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidOpen), 1), +- env.DoneWithOpen(), - NoDiagnostics("_foo/x.go"), - )) - }) @@ -7713,9 +7883,9 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - -const C = a.A -` -- runner.Run(t, ws, func(t *testing.T, env *Env) { +- Run(t, ws, func(t *testing.T, env *Env) { - env.OpenFile("b/b.go") -- env.Await(CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidOpen), 1)) +- env.Await(env.DoneWithOpen()) - // Delete c/c.go, the only file in package c. - env.RemoveWorkspaceFile("c/c.go") - @@ -7742,16 +7912,16 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - // package loads. - writeGoVim := func(env *Env, name, content string) { - env.WriteWorkspaceFile(name, "") -- env.Await(CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 1)) +- env.Await(env.DoneWithChangeWatchedFiles()) - - env.CreateBuffer(name, "\n") -- env.Await(CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidOpen), 1)) +- env.Await(env.DoneWithOpen()) - - env.EditBuffer(name, fake.NewEdit(1, 0, 1, 0, content)) -- env.Await(CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChange), 1)) +- env.Await(env.DoneWithChange()) - - env.EditBuffer(name, fake.NewEdit(0, 0, 1, 0, "")) -- env.Await(CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChange), 1)) +- env.Await(env.DoneWithChange()) - } - - const p = `package p; func DoIt(s string) {};` @@ -7766,7 +7936,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - // A simple version of the test that reproduces most of the problems it - // exposes. - t.Run("short", func(t *testing.T) { -- runner.Run(t, mod, func(t *testing.T, env *Env) { +- Run(t, mod, func(t *testing.T, env *Env) { - writeGoVim(env, "p/p.go", p) - writeGoVim(env, "main.go", main) - env.Await(env.DiagnosticAtRegexp("main.go", "5")) @@ -7775,7 +7945,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - - // A full version that replicates the whole flow of the test. - t.Run("full", func(t *testing.T) { -- runner.Run(t, mod, func(t *testing.T, env *Env) { +- Run(t, mod, func(t *testing.T, env *Env) { - writeGoVim(env, "p/p.go", p) - writeGoVim(env, "main.go", main) - writeGoVim(env, "p/p_test.go", `package p @@ -7826,10 +7996,10 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - var x int -} -` -- withOptions( +- WithOptions( - // Empty workspace folders. - WorkspaceFolders(), -- ).run(t, mod, func(t *testing.T, env *Env) { +- ).Run(t, mod, func(t *testing.T, env *Env) { - env.OpenFile("a/a.go") - env.Await( - env.DiagnosticAtRegexp("a/a.go", "x"), @@ -7854,8 +8024,8 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - fmt.Println("") -} -` -- runner.Run(t, basic, func(t *testing.T, env *Env) { -- testenv.NeedsGo1Point(t, 15) +- Run(t, basic, func(t *testing.T, env *Env) { +- testenv.NeedsGo1Point(t, 16) // We can't recover cleanly from this case without good overlay support. - - env.WriteWorkspaceFile("foo/foo_test.go", `package main - @@ -7866,7 +8036,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - env.RegexpReplace("foo/foo_test.go", `package main`, `package foo`) - env.Await( - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChange), 1), +- env.DoneWithChange(), - NoDiagnostics("foo/foo.go"), - ), - ) @@ -7884,15 +8054,15 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - -func main() {} -` -- runner.Run(t, basic, func(t *testing.T, env *Env) { +- Run(t, basic, func(t *testing.T, env *Env) { - env.Editor.CreateBuffer(env.Ctx, "foo.go", `package main`) - env.Await( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidOpen), 1), +- env.DoneWithOpen(), - ) - env.CloseBuffer("foo.go") - env.Await( - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidClose), 1), +- env.DoneWithClose(), - NoLogMatching(protocol.Info, "packages=0"), - ), - ) @@ -7909,31 +8079,25 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ --- main2.go -- -package main -` -- runner.Run(t, basic, func(t *testing.T, env *Env) { +- Run(t, basic, func(t *testing.T, env *Env) { - env.CreateBuffer("main.go", "") -- env.Await(CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidOpen), 1)) +- env.Await(env.DoneWithOpen()) - - env.SaveBufferWithoutActions("main.go") -- env.Await( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidSave), 1), -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 1), -- ) +- env.Await(env.DoneWithSave(), env.DoneWithChangeWatchedFiles()) - - env.EditBuffer("main.go", fake.NewEdit(0, 0, 0, 0, `package main - -func main() { -} -`)) -- env.Await(CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChange), 1)) +- env.Await(env.DoneWithChange()) - - env.SaveBuffer("main.go") -- env.Await( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidSave), 2), -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 2), -- ) +- env.Await(env.DoneWithSave(), env.DoneWithChangeWatchedFiles()) - - env.EditBuffer("main.go", fake.NewEdit(0, 0, 4, 0, "")) -- env.Await(CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChange), 2)) +- env.Await(env.DoneWithChange()) - - env.EditBuffer("main.go", fake.NewEdit(0, 0, 0, 0, `package main - @@ -7961,10 +8125,10 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - -func main() {} -` -- runner.Run(t, pkgDefault, func(t *testing.T, env *Env) { +- Run(t, pkgDefault, func(t *testing.T, env *Env) { - env.OpenFile("main.go") - env.Await( -- env.DiagnosticAtRegexp("main.go", "default"), +- env.DiagnosticAtRegexpWithMessage("main.go", "default", "expected 'IDENT'"), - ) - }) -} @@ -7987,18 +8151,18 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - var x int -} -` -- withOptions( +- WithOptions( - WorkspaceFolders("a"), -- ).run(t, mod, func(t *testing.T, env *Env) { +- ).Run(t, mod, func(t *testing.T, env *Env) { - env.OpenFile("a/main.go") - env.Await( - env.DiagnosticAtRegexp("main.go", "x"), - ) - }) -- withOptions( +- WithOptions( - WorkspaceFolders("a"), - LimitWorkspaceScope(), -- ).run(t, mod, func(t *testing.T, env *Env) { +- ).Run(t, mod, func(t *testing.T, env *Env) { - env.OpenFile("a/main.go") - env.Await( - NoDiagnostics("main.go"), @@ -8006,7 +8170,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - }) -} - --func TestStaticcheckDiagnostic(t *testing.T) { +-func TestSimplifyCompositeLitDiagnostic(t *testing.T) { - const files = ` --- go.mod -- -module mod.com @@ -8027,12 +8191,20 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ -} -` - -- withOptions( +- WithOptions( - EditorConfig{EnableStaticcheck: true}, -- ).run(t, files, func(t *testing.T, env *Env) { +- ).Run(t, files, func(t *testing.T, env *Env) { - env.OpenFile("main.go") -- // Staticcheck should generate a diagnostic to simplify this literal. -- env.Await(env.DiagnosticAtRegexp("main.go", `t{"msg"}`)) +- var d protocol.PublishDiagnosticsParams +- env.Await(OnceMet( +- env.DiagnosticAtRegexpWithMessage("main.go", `t{"msg"}`, "redundant type"), +- ReadDiagnostics("main.go", &d), +- )) +- if tags := d.Diagnostics[0].Tags; len(tags) == 0 || tags[0] != protocol.Unnecessary { +- t.Errorf("wanted Unnecessary tag on diagnostic, got %v", tags) +- } +- env.ApplyQuickFixes("main.go", d.Diagnostics) +- env.Await(EmptyDiagnostics("main.go")) - }) -} - @@ -8052,8 +8224,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ -package main -func main() {} -` -- runner.Run(t, dir, func(t *testing.T, env *Env) { -- log.SetFlags(log.Lshortfile) +- Run(t, dir, func(t *testing.T, env *Env) { - env.OpenFile("main.go") - env.OpenFile("other.go") - x := env.DiagnosticsFor("main.go") @@ -8103,7 +8274,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - var x int -} -` -- run(t, files, func(t *testing.T, env *Env) { +- Run(t, files, func(t *testing.T, env *Env) { - env.OpenFile("a/a.go") - env.Await( - env.DiagnosticAtRegexp("a/a.go", "x"), @@ -8130,18 +8301,26 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - _ = 1 -} -` -- withOptions( +- WithOptions( - EditorConfig{ - AllExperiments: true, - }, -- ).run(t, mod, func(t *testing.T, env *Env) { +- ).Run(t, mod, func(t *testing.T, env *Env) { - // Confirm that the setting doesn't cause any warnings. - env.Await(NoShowMessage()) - }) -} - -func TestSwig(t *testing.T) { -- t.Skipf("skipped until golang/go#37098 is resolved") +- // This is fixed in Go 1.17, but not earlier. +- testenv.NeedsGo1Point(t, 17) +- +- if _, err := exec.LookPath("swig"); err != nil { +- t.Skip("skipping test: swig not available") +- } +- if _, err := exec.LookPath("g++"); err != nil { +- t.Skip("skipping test: g++ not available") +- } - - const mod = ` --- go.mod -- @@ -8177,7 +8356,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - var x int -} -` -- run(t, mod, func(t *testing.T, env *Env) { +- Run(t, mod, func(t *testing.T, env *Env) { - env.Await( - OnceMet( - InitialWorkspaceLoad, @@ -8194,6 +8373,25 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ -func TestRenamePackage(t *testing.T) { - testenv.NeedsGo1Point(t, 16) - +- const proxy = ` +--- example.com@v1.2.3/go.mod -- +-module example.com +- +-go 1.12 +--- example.com@v1.2.3/blah/blah.go -- +-package blah +- +-const Name = "Blah" +--- random.org@v1.2.3/go.mod -- +-module random.org +- +-go 1.12 +--- random.org@v1.2.3/blah/blah.go -- +-package hello +- +-const Name = "Hello" +-` +- - const contents = ` --- go.mod -- -module mod.com @@ -8215,17 +8413,22 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ -package foo_ -` - -- withOptions( +- WithOptions( - ProxyFiles(proxy), - InGOPATH(), -- ).run(t, contents, func(t *testing.T, env *Env) { +- EditorConfig{ +- Env: map[string]string{ +- "GO111MODULE": "off", +- }, +- }, +- ).Run(t, contents, func(t *testing.T, env *Env) { - // Simulate typing character by character. - env.OpenFile("foo/foo_test.go") -- env.Await(CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidOpen), 1)) +- env.Await(env.DoneWithOpen()) - env.RegexpReplace("foo/foo_test.go", "_", "_t") -- env.Await(CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChange), 1)) +- env.Await(env.DoneWithChange()) - env.RegexpReplace("foo/foo_test.go", "_t", "_test") -- env.Await(CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChange), 2)) +- env.Await(env.DoneWithChange()) - - env.Await( - EmptyDiagnostics("foo/foo_test.go"), @@ -8247,7 +8450,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ --- main.go -- -package main -` -- run(t, pkg, func(t *testing.T, env *Env) { +- Run(t, pkg, func(t *testing.T, env *Env) { - env.OpenFile("go.mod") - env.Await( - OutstandingWork(lsp.WorkspaceLoadFailure, "unknown directive"), @@ -8291,11 +8494,12 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - bob.Hello() -} -` -- run(t, mod, func(t *testing.T, env *Env) { +- Run(t, mod, func(t *testing.T, env *Env) { - env.RemoveWorkspaceFile("bob") - env.Await( - env.DiagnosticAtRegexp("main.go", `"mod.com/bob"`), - EmptyDiagnostics("bob/bob.go"), +- RegistrationMatching("didChangeWatchedFiles"), - ) - }) -} @@ -8323,21 +8527,58 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ --- triple/a/a.go -- -package a - --import _ "mod.com/triple/b" ---- triple/b/b.go -- +-import _ "mod.com/triple/b" +--- triple/b/b.go -- +-package b +- +-import _ "mod.com/triple/c" +--- triple/c/c.go -- +-package c +- +-import _ "mod.com/triple/a" +-` +- Run(t, mod, func(t *testing.T, env *Env) { +- env.Await( +- env.DiagnosticAtRegexpWithMessage("self/self.go", `_ "mod.com/self"`, "import cycle not allowed"), +- env.DiagnosticAtRegexpWithMessage("double/a/a.go", `_ "mod.com/double/b"`, "import cycle not allowed"), +- env.DiagnosticAtRegexpWithMessage("triple/a/a.go", `_ "mod.com/triple/b"`, "import cycle not allowed"), +- ) +- }) +-} +- +-// Tests golang/go#46667: deleting a problematic import path should resolve +-// import cycle errors. +-func TestResolveImportCycle(t *testing.T) { +- t.Skip("flaky test: see golang/go#46773") +- const mod = ` +--- go.mod -- +-module mod.test +- +-go 1.16 +--- a/a.go -- +-package a +- +-import "mod.test/b" +- +-const A = b.A +-const B = 2 +--- b/b.go -- -package b - --import _ "mod.com/triple/c" ---- triple/c/c.go -- --package c +-import "mod.test/a" - --import _ "mod.com/triple/a" --` -- run(t, mod, func(t *testing.T, env *Env) { +-const A = 1 +-const B = a.B +- ` +- Run(t, mod, func(t *testing.T, env *Env) { +- env.OpenFile("a/a.go") +- env.OpenFile("b/b.go") +- env.Await(env.DiagnosticAtRegexp("a/a.go", `"mod.test/b"`)) +- env.RegexpReplace("b/b.go", `const B = a\.B`, "") +- env.SaveBuffer("b/b.go") - env.Await( -- env.DiagnosticAtRegexpWithMessage("self/self.go", `_ "mod.com/self"`, "import cycle not allowed"), -- env.DiagnosticAtRegexpWithMessage("double/a/a.go", `_ "mod.com/double/b"`, "import cycle not allowed"), -- env.DiagnosticAtRegexpWithMessage("triple/a/a.go", `_ "mod.com/triple/b"`, "import cycle not allowed"), +- EmptyDiagnostics("a/a.go"), +- EmptyDiagnostics("b/b.go"), - ) - }) -} @@ -8358,20 +8599,20 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ -) -` - t.Run("module", func(t *testing.T) { -- run(t, mod, func(t *testing.T, env *Env) { +- Run(t, mod, func(t *testing.T, env *Env) { - env.Await( - env.DiagnosticAtRegexpWithMessage("main.go", `"nosuchpkg"`, `could not import nosuchpkg (no required module provides package "nosuchpkg"`), - ) - }) - }) - t.Run("GOPATH", func(t *testing.T) { -- withOptions( +- WithOptions( - InGOPATH(), - EditorConfig{ - Env: map[string]string{"GO111MODULE": "off"}, - }, - Modes(Singleton), -- ).run(t, mod, func(t *testing.T, env *Env) { +- ).Run(t, mod, func(t *testing.T, env *Env) { - env.Await( - env.DiagnosticAtRegexpWithMessage("main.go", `"nosuchpkg"`, `cannot find package "nosuchpkg" in any of`), - ) @@ -8396,14 +8637,14 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ -` - for _, go111module := range []string{"on", "auto"} { - t.Run("GO111MODULE="+go111module, func(t *testing.T) { -- withOptions( +- WithOptions( - Modes(Singleton), - EditorConfig{ - Env: map[string]string{ - "GO111MODULE": go111module, - }, - }, -- ).run(t, modules, func(t *testing.T, env *Env) { +- ).Run(t, modules, func(t *testing.T, env *Env) { - env.OpenFile("a/a.go") - env.OpenFile("b/go.mod") - env.Await( @@ -8417,7 +8658,7 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - - // Expect no warning if GO111MODULE=auto in a directory in GOPATH. - t.Run("GOPATH_GO111MODULE_auto", func(t *testing.T) { -- withOptions( +- WithOptions( - Modes(Singleton), - EditorConfig{ - Env: map[string]string{ @@ -8425,11 +8666,11 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - }, - }, - InGOPATH(), -- ).run(t, modules, func(t *testing.T, env *Env) { +- ).Run(t, modules, func(t *testing.T, env *Env) { - env.OpenFile("a/a.go") - env.Await( - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidOpen), 1), +- env.DoneWithOpen(), - NoDiagnostics("a/a.go"), - ), - NoOutstandingWork(), @@ -8482,13 +8723,13 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - -func helloHelper() {} -` -- withOptions( +- WithOptions( - ProxyFiles(proxy), - Modes(Singleton), -- ).run(t, nested, func(t *testing.T, env *Env) { +- ).Run(t, nested, func(t *testing.T, env *Env) { - // Expect a diagnostic in a nested module. - env.OpenFile("nested/hello/hello.go") -- didOpen := CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidOpen), 1) +- didOpen := env.DoneWithOpen() - env.Await( - OnceMet( - didOpen, @@ -8513,1031 +8754,775 @@ diff -urN a/gopls/internal/regtest/diagnostics_test.go b/gopls/internal/regtest/ - -func main() {} -` -- run(t, nomod, func(t *testing.T, env *Env) { +- Run(t, nomod, func(t *testing.T, env *Env) { - env.OpenFile("main.go") - env.RegexpReplace("main.go", "{}", "{ var x int; }") // simulate typing - env.Await( - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChange), 1), +- env.DoneWithChange(), - NoLogMatching(protocol.Info, "packages=1"), - ), - ) - }) -} -diff -urN a/gopls/internal/regtest/doc.go b/gopls/internal/regtest/doc.go ---- a/gopls/internal/regtest/doc.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/doc.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,36 +0,0 @@ --// Copyright 2020 The Go Authors. All rights reserved. --// Use of this source code is governed by a BSD-style --// license that can be found in the LICENSE file. - --// Package regtest provides a framework for writing gopls regression tests. --// --// User reported regressions are often expressed in terms of editor --// interactions. For example: "When I open my editor in this directory, --// navigate to this file, and change this line, I get a diagnostic that doesn't --// make sense". In these cases reproducing, diagnosing, and writing a test to --// protect against this regression can be difficult. --// --// The regtest package provides an API for developers to express these types of --// user interactions in ordinary Go tests, validate them, and run them in a --// variety of execution modes (see gopls/doc/daemon.md for more information on --// execution modes). This is achieved roughly as follows: --// + the Runner type starts and connects to a gopls instance for each --// configured execution mode. --// + the Env type provides a collection of resources to use in writing tests --// (for example a temporary working directory and fake text editor) --// + user interactions with these resources are scripted using test wrappers --// around the API provided by the golang.org/x/tools/internal/lsp/fake --// package. --// --// Regressions are expressed in terms of Expectations, which at a high level --// are conditions that we expect to be met (or not to be met) at some point --// after performing the interactions in the test. This is necessary because the --// LSP is by construction asynchronous: both client and server can send --// eachother notifications without formal acknowledgement that they have been --// fully processed. --// --// Simple Expectations may be combined to match specific conditions reported by --// the user. In the example above, a regtest validating that the user-reported --// bug had been fixed would "expect" that the editor never displays the --// confusing diagnostic. --package regtest -diff -urN a/gopls/internal/regtest/env.go b/gopls/internal/regtest/env.go ---- a/gopls/internal/regtest/env.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/env.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,314 +0,0 @@ --// Copyright 2020 The Go Authors. All rights reserved. --// Use of this source code is governed by a BSD-style --// license that can be found in the LICENSE file. +-func TestBuildTagChange(t *testing.T) { +- const files = ` +--- go.mod -- +-module mod.com - --package regtest +-go 1.12 +--- foo.go -- +-// decoy comment +-// +build hidden +-// decoy comment - --import ( -- "context" -- "fmt" -- "strings" -- "sync" -- "testing" +-package foo +-var Foo = 1 +--- bar.go -- +-package foo +-var Bar = Foo +-` - -- "golang.org/x/tools/internal/jsonrpc2/servertest" -- "golang.org/x/tools/internal/lsp/fake" -- "golang.org/x/tools/internal/lsp/protocol" --) +- Run(t, files, func(t *testing.T, env *Env) { +- env.OpenFile("foo.go") +- env.Await(env.DiagnosticAtRegexpWithMessage("bar.go", `Foo`, "undeclared name")) +- env.RegexpReplace("foo.go", `\+build`, "") +- env.Await(EmptyDiagnostics("bar.go")) +- }) - --// Env holds an initialized fake Editor, Workspace, and Server, which may be --// used for writing tests. It also provides adapter methods that call t.Fatal --// on any error, so that tests for the happy path may be written without --// checking errors. --type Env struct { -- T *testing.T -- Ctx context.Context -- -- // Most tests should not need to access the scratch area, editor, server, or -- // connection, but they are available if needed. -- Sandbox *fake.Sandbox -- Editor *fake.Editor -- Server servertest.Connector -- -- // mu guards the fields below, for the purpose of checking conditions on -- // every change to diagnostics. -- mu sync.Mutex -- // For simplicity, each waiter gets a unique ID. -- nextWaiterID int -- state State -- waiters map[int]*condition --} -- --// State encapsulates the server state TODO: explain more --type State struct { -- // diagnostics are a map of relative path->diagnostics params -- diagnostics map[string]*protocol.PublishDiagnosticsParams -- logs []*protocol.LogMessageParams -- showMessage []*protocol.ShowMessageParams -- showMessageRequest []*protocol.ShowMessageRequestParams -- -- registrations []*protocol.RegistrationParams -- unregistrations []*protocol.UnregistrationParams -- -- // outstandingWork is a map of token->work summary. All tokens are assumed to -- // be string, though the spec allows for numeric tokens as well. When work -- // completes, it is deleted from this map. -- outstandingWork map[protocol.ProgressToken]*workProgress -- completedWork map[string]int --} -- --type workProgress struct { -- title, msg string -- percent float64 --} -- --func (s State) String() string { -- var b strings.Builder -- b.WriteString("#### log messages (see RPC logs for full text):\n") -- for _, msg := range s.logs { -- summary := fmt.Sprintf("%v: %q", msg.Type, msg.Message) -- if len(summary) > 60 { -- summary = summary[:57] + "..." -- } -- // Some logs are quite long, and since they should be reproduced in the RPC -- // logs on any failure we include here just a short summary. -- fmt.Fprint(&b, "\t"+summary+"\n") -- } -- b.WriteString("\n") -- b.WriteString("#### diagnostics:\n") -- for name, params := range s.diagnostics { -- fmt.Fprintf(&b, "\t%s (version %d):\n", name, int(params.Version)) -- for _, d := range params.Diagnostics { -- fmt.Fprintf(&b, "\t\t(%d, %d): %s\n", int(d.Range.Start.Line), int(d.Range.Start.Character), d.Message) -- } -- } -- b.WriteString("\n") -- b.WriteString("#### outstanding work:\n") -- for token, state := range s.outstandingWork { -- name := state.title -- if name == "" { -- name = fmt.Sprintf("!NO NAME(token: %s)", token) -- } -- fmt.Fprintf(&b, "\t%s: %.2f\n", name, state.percent) -- } -- b.WriteString("#### completed work:\n") -- for name, count := range s.completedWork { -- fmt.Fprintf(&b, "\t%s: %d\n", name, count) -- } -- return b.String() -} - --// A condition is satisfied when all expectations are simultaneously --// met. At that point, the 'met' channel is closed. On any failure, err is set --// and the failed channel is closed. --type condition struct { -- expectations []Expectation -- verdict chan Verdict +-func TestIssue44736(t *testing.T) { +- const files = ` +- -- go.mod -- +-module blah.com +- +-go 1.16 +--- main.go -- +-package main +- +-import "fmt" +- +-func main() { +- asdf +- fmt.Printf("This is a test %v") +- fdas -} +--- other.go -- +-package main - --// NewEnv creates a new test environment using the given scratch environment --// and gopls server. --func NewEnv(ctx context.Context, t *testing.T, sandbox *fake.Sandbox, ts servertest.Connector, editorConfig fake.EditorConfig, withHooks bool) *Env { -- t.Helper() -- conn := ts.Connect(ctx) -- env := &Env{ -- T: t, -- Ctx: ctx, -- Sandbox: sandbox, -- Server: ts, -- state: State{ -- diagnostics: make(map[string]*protocol.PublishDiagnosticsParams), -- outstandingWork: make(map[protocol.ProgressToken]*workProgress), -- completedWork: make(map[string]int), -- }, -- waiters: make(map[int]*condition), -- } -- var hooks fake.ClientHooks -- if withHooks { -- hooks = fake.ClientHooks{ -- OnDiagnostics: env.onDiagnostics, -- OnLogMessage: env.onLogMessage, -- OnWorkDoneProgressCreate: env.onWorkDoneProgressCreate, -- OnProgress: env.onProgress, -- OnShowMessage: env.onShowMessage, -- OnShowMessageRequest: env.onShowMessageRequest, -- OnRegistration: env.onRegistration, -- OnUnregistration: env.onUnregistration, -- } -- } -- editor, err := fake.NewEditor(sandbox, editorConfig).Connect(ctx, conn, hooks) -- if err != nil { -- t.Fatal(err) -- } -- env.Editor = editor -- return env +-` +- Run(t, files, func(t *testing.T, env *Env) { +- env.OpenFile("main.go") +- env.OpenFile("other.go") +- env.Await( +- env.DiagnosticAtRegexpWithMessage("main.go", "asdf", "undeclared name"), +- env.DiagnosticAtRegexpWithMessage("main.go", "fdas", "undeclared name"), +- ) +- env.SetBufferContent("other.go", "package main\n\nasdf") +- // The new diagnostic in other.go should not suppress diagnostics in main.go. +- env.Await( +- OnceMet( +- env.DiagnosticAtRegexpWithMessage("other.go", "asdf", "expected declaration"), +- env.DiagnosticAtRegexpWithMessage("main.go", "asdf", "undeclared name"), +- ), +- ) +- }) -} - --func (e *Env) onDiagnostics(_ context.Context, d *protocol.PublishDiagnosticsParams) error { -- e.mu.Lock() -- defer e.mu.Unlock() +-func TestInitialization(t *testing.T) { +- const files = ` +--- go.mod -- +-module mod.com - -- pth := e.Sandbox.Workdir.URIToPath(d.URI) -- e.state.diagnostics[pth] = d -- e.checkConditionsLocked() -- return nil +-go 1.16 +--- main.go -- +-package main +-` +- Run(t, files, func(t *testing.T, env *Env) { +- env.OpenFile("go.mod") +- env.Await(env.DoneWithOpen()) +- env.RegexpReplace("go.mod", "module", "modul") +- env.SaveBufferWithoutActions("go.mod") +- env.Await( +- OnceMet( +- env.DoneWithSave(), +- NoLogMatching(protocol.Error, "initial workspace load failed"), +- ), +- ) +- }) -} - --func (e *Env) onShowMessage(_ context.Context, m *protocol.ShowMessageParams) error { -- e.mu.Lock() -- defer e.mu.Unlock() +-// Tests golang/go#45075: A panic in fillreturns broke diagnostics. +-// Expect an error log indicating that fillreturns panicked, as well type +-// errors for the broken code. +-func TestFillReturnsPanic(t *testing.T) { +- // At tip, the panic no longer reproduces. +- testenv.SkipAfterGo1Point(t, 16) - -- e.state.showMessage = append(e.state.showMessage, m) -- e.checkConditionsLocked() -- return nil --} +- const files = ` +--- go.mod -- +-module mod.com - --func (e *Env) onShowMessageRequest(_ context.Context, m *protocol.ShowMessageRequestParams) error { -- e.mu.Lock() -- defer e.mu.Unlock() +-go 1.15 +--- main.go -- +-package main - -- e.state.showMessageRequest = append(e.state.showMessageRequest, m) -- e.checkConditionsLocked() -- return nil +-func foo() int { +- return x, nil +-} +-` +- Run(t, files, func(t *testing.T, env *Env) { +- env.OpenFile("main.go") +- env.Await( +- OnceMet( +- env.DoneWithOpen(), +- LogMatching(protocol.Error, `.*analysis fillreturns.*panicked.*`, 1, true), +- env.DiagnosticAtRegexpWithMessage("main.go", `return x`, "wrong number of return values"), +- ), +- ) +- }) -} - --func (e *Env) onLogMessage(_ context.Context, m *protocol.LogMessageParams) error { -- e.mu.Lock() -- defer e.mu.Unlock() +-// This test confirms that the view does not reinitialize when a go.mod file is +-// opened. +-func TestNoReinitialize(t *testing.T) { +- const files = ` +--- go.mod -- +-module mod.com +- +-go 1.12 +--- main.go -- +-package main - -- e.state.logs = append(e.state.logs, m) -- e.checkConditionsLocked() -- return nil +-func main() {} +-` +- Run(t, files, func(t *testing.T, env *Env) { +- env.OpenFile("go.mod") +- env.Await( +- OnceMet( +- env.DoneWithOpen(), +- LogMatching(protocol.Info, `.*query=\[builtin mod.com/...\].*`, 1, false), +- ), +- ) +- }) -} - --func (e *Env) onWorkDoneProgressCreate(_ context.Context, m *protocol.WorkDoneProgressCreateParams) error { -- e.mu.Lock() -- defer e.mu.Unlock() +-func TestUseOfInvalidMetadata(t *testing.T) { +- testenv.NeedsGo1Point(t, 13) - -- e.state.outstandingWork[m.Token] = &workProgress{} -- return nil +- const mod = ` +--- go.mod -- +-module mod.com +- +-go 1.12 +--- main.go -- +-package main +- +-import ( +- "mod.com/a" +- //"os" +-) +- +-func _() { +- a.Hello() +- os.Getenv("") +- //var x int -} +--- a/a.go -- +-package a - --func (e *Env) onProgress(_ context.Context, m *protocol.ProgressParams) error { -- e.mu.Lock() -- defer e.mu.Unlock() -- work, ok := e.state.outstandingWork[m.Token] -- if !ok { -- panic(fmt.Sprintf("got progress report for unknown report %v: %v", m.Token, m)) -- } -- v := m.Value.(map[string]interface{}) -- switch kind := v["kind"]; kind { -- case "begin": -- work.title = v["title"].(string) -- if msg, ok := v["message"]; ok { -- work.msg = msg.(string) -- } -- case "report": -- if pct, ok := v["percentage"]; ok { -- work.percent = pct.(float64) -- } -- if msg, ok := v["message"]; ok { -- work.msg = msg.(string) -- } -- case "end": -- title := e.state.outstandingWork[m.Token].title -- e.state.completedWork[title] = e.state.completedWork[title] + 1 -- delete(e.state.outstandingWork, m.Token) -- } -- e.checkConditionsLocked() -- return nil +-func Hello() {} +-` +- WithOptions( +- EditorConfig{ +- ExperimentalUseInvalidMetadata: true, +- }, +- Modes(Singleton), +- ).Run(t, mod, func(t *testing.T, env *Env) { +- env.OpenFile("go.mod") +- env.RegexpReplace("go.mod", "module mod.com", "modul mod.com") // break the go.mod file +- env.SaveBufferWithoutActions("go.mod") +- env.Await( +- env.DiagnosticAtRegexp("go.mod", "modul"), +- ) +- // Confirm that language features work with invalid metadata. +- env.OpenFile("main.go") +- file, pos := env.GoToDefinition("main.go", env.RegexpSearch("main.go", "Hello")) +- wantPos := env.RegexpSearch("a/a.go", "Hello") +- if file != "a/a.go" && pos != wantPos { +- t.Fatalf("expected a/a.go:%s, got %s:%s", wantPos, file, pos) +- } +- // Confirm that new diagnostics appear with invalid metadata by adding +- // an unused variable to the body of the function. +- env.RegexpReplace("main.go", "//var x int", "var x int") +- env.Await( +- env.DiagnosticAtRegexp("main.go", "x"), +- ) +- // Add an import and confirm that we get a diagnostic for it, since the +- // metadata will not have been updated. +- env.RegexpReplace("main.go", "//\"os\"", "\"os\"") +- env.Await( +- env.DiagnosticAtRegexp("main.go", `"os"`), +- ) +- // Fix the go.mod file and expect the diagnostic to resolve itself. +- env.RegexpReplace("go.mod", "modul mod.com", "module mod.com") +- env.SaveBuffer("go.mod") +- env.Await( +- env.DiagnosticAtRegexp("main.go", "x"), +- env.NoDiagnosticAtRegexp("main.go", `"os"`), +- EmptyDiagnostics("go.mod"), +- ) +- }) -} - --func (e *Env) onRegistration(_ context.Context, m *protocol.RegistrationParams) error { -- e.mu.Lock() -- defer e.mu.Unlock() +-func TestReloadInvalidMetadata(t *testing.T) { +- // We only use invalid metadata for Go versions > 1.12. +- testenv.NeedsGo1Point(t, 13) - -- e.state.registrations = append(e.state.registrations, m) -- e.checkConditionsLocked() -- return nil --} +- const mod = ` +--- go.mod -- +-module mod.com - --func (e *Env) onUnregistration(_ context.Context, m *protocol.UnregistrationParams) error { -- e.mu.Lock() -- defer e.mu.Unlock() +-go 1.12 +--- main.go -- +-package main - -- e.state.unregistrations = append(e.state.unregistrations, m) -- e.checkConditionsLocked() -- return nil --} +-func _() {} +-` +- WithOptions( +- EditorConfig{ +- ExperimentalUseInvalidMetadata: true, +- }, +- // ExperimentalWorkspaceModule has a different failure mode for this +- // case. +- Modes(Singleton), +- ).Run(t, mod, func(t *testing.T, env *Env) { +- env.Await( +- OnceMet( +- InitialWorkspaceLoad, +- CompletedWork("Load", 1, false), +- ), +- ) - --func (e *Env) checkConditionsLocked() { -- for id, condition := range e.waiters { -- if v, _ := checkExpectations(e.state, condition.expectations); v != Unmet { -- delete(e.waiters, id) -- condition.verdict <- v -- } -- } --} +- // Break the go.mod file on disk, expecting a reload. +- env.WriteWorkspaceFile("go.mod", `modul mod.com - --// checkExpectations reports whether s meets all expectations. --func checkExpectations(s State, expectations []Expectation) (Verdict, string) { -- finalVerdict := Met -- var summary strings.Builder -- for _, e := range expectations { -- v := e.Check(s) -- if v > finalVerdict { -- finalVerdict = v -- } -- summary.WriteString(fmt.Sprintf("\t%v: %s\n", v, e.Description())) -- } -- return finalVerdict, summary.String() --} +-go 1.12 +-`) +- env.Await( +- OnceMet( +- env.DoneWithChangeWatchedFiles(), +- env.DiagnosticAtRegexp("go.mod", "modul"), +- CompletedWork("Load", 1, false), +- ), +- ) - --// DiagnosticsFor returns the current diagnostics for the file. It is useful --// after waiting on AnyDiagnosticAtCurrentVersion, when the desired diagnostic --// is not simply described by DiagnosticAt. --func (e *Env) DiagnosticsFor(name string) *protocol.PublishDiagnosticsParams { -- e.mu.Lock() -- defer e.mu.Unlock() -- return e.state.diagnostics[name] --} +- env.OpenFile("main.go") +- env.Await(env.DoneWithOpen()) +- // The first edit after the go.mod file invalidation should cause a reload. +- // Any subsequent simple edits should not. +- content := `package main - --// Await waits for all expectations to simultaneously be met. It should only be --// called from the main test goroutine. --func (e *Env) Await(expectations ...Expectation) { -- e.T.Helper() -- e.mu.Lock() -- // Before adding the waiter, we check if the condition is currently met or -- // failed to avoid a race where the condition was realized before Await was -- // called. -- switch verdict, summary := checkExpectations(e.state, expectations); verdict { -- case Met: -- e.mu.Unlock() -- return -- case Unmeetable: -- e.mu.Unlock() -- e.T.Fatalf("unmeetable expectations:\n%s\nstate:\n%v", summary, e.state) -- } -- cond := &condition{ -- expectations: expectations, -- verdict: make(chan Verdict), -- } -- e.waiters[e.nextWaiterID] = cond -- e.nextWaiterID++ -- e.mu.Unlock() +-func main() { +- _ = 1 +-} +-` +- env.EditBuffer("main.go", fake.NewEdit(0, 0, 3, 0, content)) +- env.Await( +- OnceMet( +- env.DoneWithChange(), +- CompletedWork("Load", 2, false), +- NoLogMatching(protocol.Error, "error loading file"), +- ), +- ) +- env.RegexpReplace("main.go", "_ = 1", "_ = 2") +- env.Await( +- OnceMet( +- env.DoneWithChange(), +- CompletedWork("Load", 2, false), +- NoLogMatching(protocol.Error, "error loading file"), +- ), +- ) +- // Add an import to the main.go file and confirm that it does get +- // reloaded, but the reload fails, so we see a diagnostic on the new +- // "fmt" import. +- env.EditBuffer("main.go", fake.NewEdit(0, 0, 5, 0, `package main - -- var err error -- select { -- case <-e.Ctx.Done(): -- err = e.Ctx.Err() -- case v := <-cond.verdict: -- if v != Met { -- err = fmt.Errorf("condition has final verdict %v", v) -- } -- } -- e.mu.Lock() -- defer e.mu.Unlock() -- _, summary := checkExpectations(e.state, expectations) +-import "fmt" - -- // Debugging an unmet expectation can be tricky, so we put some effort into -- // nicely formatting the failure. -- if err != nil { -- e.T.Fatalf("waiting on:\n%s\nerr:%v\n\nstate:\n%v", summary, err, e.state) -- } +-func main() { +- fmt.Println("") -} -diff -urN a/gopls/internal/regtest/env_test.go b/gopls/internal/regtest/env_test.go ---- a/gopls/internal/regtest/env_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/env_test.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,67 +0,0 @@ --// Copyright 2020 The Go Authors. All rights reserved. +-`)) +- env.Await( +- OnceMet( +- env.DoneWithChange(), +- env.DiagnosticAtRegexp("main.go", `"fmt"`), +- CompletedWork("Load", 3, false), +- ), +- ) +- }) +-} +diff -urN a/gopls/internal/regtest/misc/add_import_test.go b/gopls/internal/regtest/misc/add_import_test.go +--- a/gopls/internal/regtest/misc/add_import_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/misc/add_import_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,59 +0,0 @@ +-// Copyright 2021 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - --package regtest +-package misc +- +-import ( +- "testing" +- +- "golang.org/x/tools/internal/lsp/command" +- "golang.org/x/tools/internal/lsp/protocol" +- . "golang.org/x/tools/internal/lsp/regtest" +- "golang.org/x/tools/internal/lsp/tests" +-) +- +-func TestAddImport(t *testing.T) { +- const before = `package main +- +-import "fmt" +- +-func main() { +- fmt.Println("hello world") +-} +-` +- +- const want = `package main - -import ( -- "context" -- "encoding/json" -- "testing" -- -- "golang.org/x/tools/internal/lsp/protocol" +- "bytes" +- "fmt" -) - --func TestProgressUpdating(t *testing.T) { -- e := &Env{ -- state: State{ -- outstandingWork: make(map[protocol.ProgressToken]*workProgress), -- completedWork: make(map[string]int), -- }, -- } -- ctx := context.Background() -- if err := e.onWorkDoneProgressCreate(ctx, &protocol.WorkDoneProgressCreateParams{ -- Token: "foo", -- }); err != nil { -- t.Fatal(err) -- } -- if err := e.onWorkDoneProgressCreate(ctx, &protocol.WorkDoneProgressCreateParams{ -- Token: "bar", -- }); err != nil { -- t.Fatal(err) -- } -- updates := []struct { -- token string -- value interface{} -- }{ -- {"foo", protocol.WorkDoneProgressBegin{Kind: "begin", Title: "foo work"}}, -- {"bar", protocol.WorkDoneProgressBegin{Kind: "begin", Title: "bar work"}}, -- {"foo", protocol.WorkDoneProgressEnd{Kind: "end"}}, -- {"bar", protocol.WorkDoneProgressReport{Kind: "report", Percentage: 42}}, -- } -- for _, update := range updates { -- params := &protocol.ProgressParams{ -- Token: update.token, -- Value: update.value, -- } -- data, err := json.Marshal(params) +-func main() { +- fmt.Println("hello world") +-} +-` +- +- Run(t, "", func(t *testing.T, env *Env) { +- env.CreateBuffer("main.go", before) +- cmd, err := command.NewAddImportCommand("Add Import", command.AddImportArgs{ +- URI: protocol.URIFromSpanURI(env.Sandbox.Workdir.URI("main.go").SpanURI()), +- ImportPath: "bytes", +- }) - if err != nil { - t.Fatal(err) - } -- var unmarshaled protocol.ProgressParams -- if err := json.Unmarshal(data, &unmarshaled); err != nil { +- _, err = env.Editor.ExecuteCommand(env.Ctx, &protocol.ExecuteCommandParams{ +- Command: "gopls.add_import", +- Arguments: cmd.Arguments, +- }) +- if err != nil { - t.Fatal(err) - } -- if err := e.onProgress(ctx, &unmarshaled); err != nil { -- t.Fatal(err) +- got := env.Editor.BufferText("main.go") +- if got != want { +- t.Fatalf("gopls.add_import failed\n%s", tests.Diff(t, want, got)) - } -- } -- if _, ok := e.state.outstandingWork["foo"]; ok { -- t.Error("got work entry for \"foo\", want none") -- } -- got := *e.state.outstandingWork["bar"] -- want := workProgress{title: "bar work", percent: 42} -- if got != want { -- t.Errorf("work progress for \"bar\": %v, want %v", got, want) -- } +- }) -} -diff -urN a/gopls/internal/regtest/expectation.go b/gopls/internal/regtest/expectation.go ---- a/gopls/internal/regtest/expectation.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/expectation.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,568 +0,0 @@ +diff -urN a/gopls/internal/regtest/misc/configuration_test.go b/gopls/internal/regtest/misc/configuration_test.go +--- a/gopls/internal/regtest/misc/configuration_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/misc/configuration_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,49 +0,0 @@ -// Copyright 2020 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - --package regtest +-package misc - -import ( -- "fmt" -- "regexp" -- "strings" +- "testing" +- +- . "golang.org/x/tools/internal/lsp/regtest" - -- "golang.org/x/tools/internal/lsp" - "golang.org/x/tools/internal/lsp/fake" -- "golang.org/x/tools/internal/lsp/protocol" +- "golang.org/x/tools/internal/testenv" -) - --// An Expectation asserts that the state of the editor at a point in time --// matches an expected condition. This is used for signaling in tests when --// certain conditions in the editor are met. --type Expectation interface { -- // Check determines whether the state of the editor satisfies the -- // expectation, returning the results that met the condition. -- Check(State) Verdict -- // Description is a human-readable description of the expectation. -- Description() string --} +-// Test that enabling and disabling produces the expected results of showing +-// and hiding staticcheck analysis results. +-func TestChangeConfiguration(t *testing.T) { +- // Staticcheck only supports Go versions > 1.14. +- testenv.NeedsGo1Point(t, 15) - --var ( -- // InitialWorkspaceLoad is an expectation that the workspace initial load has -- // completed. It is verified via workdone reporting. -- InitialWorkspaceLoad = CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromInitialWorkspaceLoad), 1) --) +- const files = ` +--- go.mod -- +-module mod.com - --// A Verdict is the result of checking an expectation against the current --// editor state. --type Verdict int +-go 1.12 +--- a/a.go -- +-package a - --// Order matters for the following constants: verdicts are sorted in order of --// decisiveness. --const ( -- // Met indicates that an expectation is satisfied by the current state. -- Met Verdict = iota -- // Unmet indicates that an expectation is not currently met, but could be met -- // in the future. -- Unmet -- // Unmeetable indicates that an expectation cannot be satisfied in the -- // future. -- Unmeetable --) +-import "errors" - --func (v Verdict) String() string { -- switch v { -- case Met: -- return "Met" -- case Unmet: -- return "Unmet" -- case Unmeetable: -- return "Unmeetable" -- } -- return fmt.Sprintf("unrecognized verdict %d", v) +-// FooErr should be called ErrFoo (ST1012) +-var FooErr = errors.New("foo") +-` +- Run(t, files, func(t *testing.T, env *Env) { +- env.OpenFile("a/a.go") +- env.Await( +- env.DoneWithOpen(), +- NoDiagnostics("a/a.go"), +- ) +- cfg := &fake.EditorConfig{} +- *cfg = env.Editor.Config +- cfg.EnableStaticcheck = true +- env.ChangeConfiguration(t, cfg) +- env.Await( +- DiagnosticAt("a/a.go", 5, 4), +- ) +- }) -} +diff -urN a/gopls/internal/regtest/misc/debugserver_test.go b/gopls/internal/regtest/misc/debugserver_test.go +--- a/gopls/internal/regtest/misc/debugserver_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/misc/debugserver_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,46 +0,0 @@ +-// Copyright 2021 The Go Authors. All rights reserved. +-// Use of this source code is governed by a BSD-style +-// license that can be found in the LICENSE file. - --// SimpleExpectation holds an arbitrary check func, and implements the Expectation interface. --type SimpleExpectation struct { -- check func(State) Verdict -- description string --} +-package misc - --// Check invokes e.check. --func (e SimpleExpectation) Check(s State) Verdict { -- return e.check(s) --} +-import ( +- "net/http" +- "testing" - --// Description returns e.descriptin. --func (e SimpleExpectation) Description() string { -- return e.description --} +- "golang.org/x/tools/internal/lsp/command" +- "golang.org/x/tools/internal/lsp/protocol" - --// OnceMet returns an Expectation that, once the precondition is met, asserts --// that mustMeet is met. --func OnceMet(precondition Expectation, mustMeet Expectation) *SimpleExpectation { -- check := func(s State) Verdict { -- switch pre := precondition.Check(s); pre { -- case Unmeetable: -- return Unmeetable -- case Met: -- verdict := mustMeet.Check(s) -- if verdict != Met { -- return Unmeetable -- } -- return Met -- default: -- return Unmet -- } -- } -- return &SimpleExpectation{ -- check: check, -- description: fmt.Sprintf("once %q is met, must have %q", precondition.Description(), mustMeet.Description()), -- } --} +- . "golang.org/x/tools/internal/lsp/regtest" +-) - --// ReadDiagnostics is an 'expectation' that is used to read diagnostics --// atomically. It is intended to be used with 'OnceMet'. --func ReadDiagnostics(fileName string, into *protocol.PublishDiagnosticsParams) *SimpleExpectation { -- check := func(s State) Verdict { -- diags, ok := s.diagnostics[fileName] -- if !ok { -- return Unmeetable +-func TestStartDebugging(t *testing.T) { +- WithOptions( +- Modes(Forwarded), +- ).Run(t, "", func(t *testing.T, env *Env) { +- args, err := command.MarshalArgs(command.DebuggingArgs{}) +- if err != nil { +- t.Fatal(err) - } -- *into = *diags -- return Met -- } -- return &SimpleExpectation{ -- check: check, -- description: fmt.Sprintf("read diagnostics for %q", fileName), -- } --} -- --// NoOutstandingWork asserts that there is no work initiated using the LSP --// $/progress API that has not completed. --func NoOutstandingWork() SimpleExpectation { -- check := func(s State) Verdict { -- if len(s.outstandingWork) == 0 { -- return Met +- params := &protocol.ExecuteCommandParams{ +- Command: command.StartDebugging.ID(), +- Arguments: args, - } -- return Unmet -- } -- return SimpleExpectation{ -- check: check, -- description: "no outstanding work", -- } --} -- --// NoShowMessage asserts that the editor has not received a ShowMessage. --func NoShowMessage() SimpleExpectation { -- check := func(s State) Verdict { -- if len(s.showMessage) == 0 { -- return Met +- var result command.DebuggingResult +- env.ExecuteCommand(params, &result) +- if got, want := len(result.URLs), 2; got != want { +- t.Fatalf("got %d urls, want %d; urls: %#v", got, want, result.URLs) - } -- return Unmeetable -- } -- return SimpleExpectation{ -- check: check, -- description: "no ShowMessage received", -- } --} -- --// ShownMessage asserts that the editor has received a ShownMessage with the --// given title. --func ShownMessage(title string) SimpleExpectation { -- check := func(s State) Verdict { -- for _, m := range s.showMessage { -- if strings.Contains(m.Message, title) { -- return Met +- for i, u := range result.URLs { +- resp, err := http.Get(u) +- if err != nil { +- t.Errorf("getting url #%d (%q): %v", i, u, err) +- continue +- } +- defer resp.Body.Close() +- if got, want := resp.StatusCode, http.StatusOK; got != want { +- t.Errorf("debug server #%d returned HTTP %d, want %d", i, got, want) - } - } -- return Unmet -- } -- return SimpleExpectation{ -- check: check, -- description: "received ShowMessage", -- } +- }) -} +diff -urN a/gopls/internal/regtest/misc/definition_test.go b/gopls/internal/regtest/misc/definition_test.go +--- a/gopls/internal/regtest/misc/definition_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/misc/definition_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,236 +0,0 @@ +-// Copyright 2020 The Go Authors. All rights reserved. +-// Use of this source code is governed by a BSD-style +-// license that can be found in the LICENSE file. - --// ShowMessageRequest asserts that the editor has received a ShowMessageRequest --// with an action item that has the given title. --func ShowMessageRequest(title string) SimpleExpectation { -- check := func(s State) Verdict { -- if len(s.showMessageRequest) == 0 { -- return Unmet -- } -- // Only check the most recent one. -- m := s.showMessageRequest[len(s.showMessageRequest)-1] -- if len(m.Actions) == 0 || len(m.Actions) > 1 { -- return Unmet -- } -- if m.Actions[0].Title == title { -- return Met -- } -- return Unmet -- } -- return SimpleExpectation{ -- check: check, -- description: "received ShowMessageRequest", -- } --} +-package misc - --// DoneWithOpen expects all didOpen notifications currently sent by the editor --// to be completely processed. --func (e *Env) DoneWithOpen() Expectation { -- opens := e.Editor.Stats().DidOpen -- return CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidOpen), opens) --} +-import ( +- "path" +- "strings" +- "testing" - --// DoneWithChange expects all didChange notifications currently sent by the --// editor to be completely processed. --func (e *Env) DoneWithChange() Expectation { -- changes := e.Editor.Stats().DidChange -- return CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChange), changes) --} +- . "golang.org/x/tools/internal/lsp/regtest" - --// DoneWithChangeWatchedFiles expects all didChangeWatchedFiles notifications --// currently sent by the editor to be completely processed. --func (e *Env) DoneWithChangeWatchedFiles() Expectation { -- changes := e.Editor.Stats().DidChangeWatchedFiles -- return CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), changes) --} +- "golang.org/x/tools/internal/lsp/fake" +- "golang.org/x/tools/internal/lsp/tests" +-) - --// CompletedWork expects a work item to have been completed >= atLeast times. --// --// Since the Progress API doesn't include any hidden metadata, we must use the --// progress notification title to identify the work we expect to be completed. --func CompletedWork(title string, atLeast int) SimpleExpectation { -- check := func(s State) Verdict { -- if s.completedWork[title] >= atLeast { -- return Met -- } -- return Unmet -- } -- return SimpleExpectation{ -- check: check, -- description: fmt.Sprintf("completed work %q at least %d time(s)", title, atLeast), -- } +-const internalDefinition = ` +--- go.mod -- +-module mod.com +- +-go 1.12 +--- main.go -- +-package main +- +-import "fmt" +- +-func main() { +- fmt.Println(message) -} +--- const.go -- +-package main - --// OutstandingWork expects a work item to be outstanding. The given title must --// be an exact match, whereas the given msg must only be contained in the work --// item's message. --func OutstandingWork(title, msg string) SimpleExpectation { -- check := func(s State) Verdict { -- for _, work := range s.outstandingWork { -- if work.title == title && strings.Contains(work.msg, msg) { -- return Met -- } +-const message = "Hello World." +-` +- +-func TestGoToInternalDefinition(t *testing.T) { +- Run(t, internalDefinition, func(t *testing.T, env *Env) { +- env.OpenFile("main.go") +- name, pos := env.GoToDefinition("main.go", env.RegexpSearch("main.go", "message")) +- if want := "const.go"; name != want { +- t.Errorf("GoToDefinition: got file %q, want %q", name, want) - } -- return Unmet -- } -- return SimpleExpectation{ -- check: check, -- description: fmt.Sprintf("outstanding work: %s", title), -- } +- if want := env.RegexpSearch("const.go", "message"); pos != want { +- t.Errorf("GoToDefinition: got position %v, want %v", pos, want) +- } +- }) -} - --// LogExpectation is an expectation on the log messages received by the editor --// from gopls. --type LogExpectation struct { -- check func([]*protocol.LogMessageParams) Verdict -- description string --} +-const stdlibDefinition = ` +--- go.mod -- +-module mod.com - --// Check implements the Expectation interface. --func (e LogExpectation) Check(s State) Verdict { -- return e.check(s.logs) --} +-go 1.12 +--- main.go -- +-package main - --// Description implements the Expectation interface. --func (e LogExpectation) Description() string { -- return e.description --} +-import "fmt" - --// NoErrorLogs asserts that the client has not received any log messages of --// error severity. --func NoErrorLogs() LogExpectation { -- return NoLogMatching(protocol.Error, "") --} +-func main() { +- fmt.Printf() +-}` - --// LogMatching asserts that the client has received a log message --// of type typ matching the regexp re. --func LogMatching(typ protocol.MessageType, re string, count int) LogExpectation { -- rec, err := regexp.Compile(re) -- if err != nil { -- panic(err) -- } -- check := func(msgs []*protocol.LogMessageParams) Verdict { -- var found int -- for _, msg := range msgs { -- if msg.Type == typ && rec.Match([]byte(msg.Message)) { -- found++ -- } -- } -- if found == count { -- return Met +-func TestGoToStdlibDefinition_Issue37045(t *testing.T) { +- Run(t, stdlibDefinition, func(t *testing.T, env *Env) { +- env.OpenFile("main.go") +- name, pos := env.GoToDefinition("main.go", env.RegexpSearch("main.go", `fmt.(Printf)`)) +- if got, want := path.Base(name), "print.go"; got != want { +- t.Errorf("GoToDefinition: got file %q, want %q", name, want) - } -- return Unmet -- } -- return LogExpectation{ -- check: check, -- description: fmt.Sprintf("log message matching %q", re), -- } --} - --// NoLogMatching asserts that the client has not received a log message --// of type typ matching the regexp re. If re is an empty string, any log --// message is considered a match. --func NoLogMatching(typ protocol.MessageType, re string) LogExpectation { -- var r *regexp.Regexp -- if re != "" { -- var err error -- r, err = regexp.Compile(re) -- if err != nil { -- panic(err) +- // Test that we can jump to definition from outside our workspace. +- // See golang.org/issues/37045. +- newName, newPos := env.GoToDefinition(name, pos) +- if newName != name { +- t.Errorf("GoToDefinition is not idempotent: got %q, want %q", newName, name) - } -- } -- check := func(msgs []*protocol.LogMessageParams) Verdict { -- for _, msg := range msgs { -- if msg.Type != typ { -- continue -- } -- if r == nil || r.Match([]byte(msg.Message)) { -- return Unmeetable -- } +- if newPos != pos { +- t.Errorf("GoToDefinition is not idempotent: got %v, want %v", newPos, pos) - } -- return Met -- } -- return LogExpectation{ -- check: check, -- description: fmt.Sprintf("no log message matching %q", re), -- } --} -- --// RegistrationExpectation is an expectation on the capability registrations --// received by the editor from gopls. --type RegistrationExpectation struct { -- check func([]*protocol.RegistrationParams) Verdict -- description string +- }) -} - --// Check implements the Expectation interface. --func (e RegistrationExpectation) Check(s State) Verdict { -- return e.check(s.registrations) --} +-func TestUnexportedStdlib_Issue40809(t *testing.T) { +- Run(t, stdlibDefinition, func(t *testing.T, env *Env) { +- env.OpenFile("main.go") +- name, _ := env.GoToDefinition("main.go", env.RegexpSearch("main.go", `fmt.(Printf)`)) +- env.OpenFile(name) - --// Description implements the Expectation interface. --func (e RegistrationExpectation) Description() string { -- return e.description --} +- pos := env.RegexpSearch(name, `:=\s*(newPrinter)\(\)`) - --// RegistrationMatching asserts that the client has received a capability --// registration matching the given regexp. --func RegistrationMatching(re string) RegistrationExpectation { -- rec, err := regexp.Compile(re) -- if err != nil { -- panic(err) -- } -- check := func(params []*protocol.RegistrationParams) Verdict { -- for _, p := range params { -- for _, r := range p.Registrations { -- if rec.Match([]byte(r.Method)) { -- return Met -- } -- } +- // Check that we can find references on a reference +- refs := env.References(name, pos) +- if len(refs) < 5 { +- t.Errorf("expected 5+ references to newPrinter, found: %#v", refs) - } -- return Unmet -- } -- return RegistrationExpectation{ -- check: check, -- description: fmt.Sprintf("registration matching %q", re), -- } --} - --// UnregistrationExpectation is an expectation on the capability --// unregistrations received by the editor from gopls. --type UnregistrationExpectation struct { -- check func([]*protocol.UnregistrationParams) Verdict -- description string +- name, pos = env.GoToDefinition(name, pos) +- content, _ := env.Hover(name, pos) +- if !strings.Contains(content.Value, "newPrinter") { +- t.Fatal("definition of newPrinter went to the incorrect place") +- } +- // And on the definition too. +- refs = env.References(name, pos) +- if len(refs) < 5 { +- t.Errorf("expected 5+ references to newPrinter, found: %#v", refs) +- } +- }) -} - --// Check implements the Expectation interface. --func (e UnregistrationExpectation) Check(s State) Verdict { -- return e.check(s.unregistrations) --} +-// Test the hover on an error's Error function. +-// This can't be done via the marker tests because Error is a builtin. +-func TestHoverOnError(t *testing.T) { +- const mod = ` +--- go.mod -- +-module mod.com - --// Description implements the Expectation interface. --func (e UnregistrationExpectation) Description() string { -- return e.description --} +-go 1.12 +--- main.go -- +-package main - --// UnregistrationMatching asserts that the client has received an --// unregistration whose ID matches the given regexp. --func UnregistrationMatching(re string) UnregistrationExpectation { -- rec, err := regexp.Compile(re) -- if err != nil { -- panic(err) -- } -- check := func(params []*protocol.UnregistrationParams) Verdict { -- for _, p := range params { -- for _, r := range p.Unregisterations { -- if rec.Match([]byte(r.Method)) { -- return Met -- } -- } +-func main() { +- var err error +- err.Error() +-}` +- Run(t, mod, func(t *testing.T, env *Env) { +- env.OpenFile("main.go") +- content, _ := env.Hover("main.go", env.RegexpSearch("main.go", "Error")) +- if content == nil { +- t.Fatalf("nil hover content for Error") +- } +- want := "```go\nfunc (error).Error() string\n```" +- if content.Value != want { +- t.Fatalf("hover failed:\n%s", tests.Diff(t, want, content.Value)) - } -- return Unmet -- } -- return UnregistrationExpectation{ -- check: check, -- description: fmt.Sprintf("unregistration matching %q", re), -- } +- }) -} - --// A DiagnosticExpectation is a condition that must be met by the current set --// of diagnostics for a file. --type DiagnosticExpectation struct { -- // optionally, the position of the diagnostic and the regex used to calculate it. -- pos *fake.Pos -- re string +-func TestImportShortcut(t *testing.T) { +- const mod = ` +--- go.mod -- +-module mod.com - -- // optionally, the message that the diagnostic should contain. -- message string +-go 1.12 +--- main.go -- +-package main - -- // whether the expectation is that the diagnostic is present, or absent. -- present bool +-import "fmt" - -- // path is the scratch workdir-relative path to the file being asserted on. -- path string +-func main() {} +-` +- for _, tt := range []struct { +- wantLinks int +- wantDef bool +- importShortcut string +- }{ +- {1, false, "Link"}, +- {0, true, "Definition"}, +- {1, true, "Both"}, +- } { +- t.Run(tt.importShortcut, func(t *testing.T) { +- WithOptions( +- EditorConfig{ +- ImportShortcut: tt.importShortcut, +- }, +- ).Run(t, mod, func(t *testing.T, env *Env) { +- env.OpenFile("main.go") +- file, pos := env.GoToDefinition("main.go", env.RegexpSearch("main.go", `"fmt"`)) +- if !tt.wantDef && (file != "" || pos != (fake.Pos{})) { +- t.Fatalf("expected no definition, got one: %s:%v", file, pos) +- } else if tt.wantDef && file == "" && pos == (fake.Pos{}) { +- t.Fatalf("expected definition, got none") +- } +- links := env.DocumentLink("main.go") +- if len(links) != tt.wantLinks { +- t.Fatalf("expected %v links, got %v", tt.wantLinks, len(links)) +- } +- }) +- }) +- } -} - --// Check implements the Expectation interface. --func (e DiagnosticExpectation) Check(s State) Verdict { -- diags, ok := s.diagnostics[e.path] -- if !ok { -- if !e.present { -- return Met -- } -- return Unmet -- } +-func TestGoToTypeDefinition_Issue38589(t *testing.T) { +- const mod = ` +--- go.mod -- +-module mod.com - -- found := false -- for _, d := range diags.Diagnostics { -- if e.pos != nil { -- if d.Range.Start.Line != float64(e.pos.Line) || d.Range.Start.Character != float64(e.pos.Column) { -- continue -- } -- } -- if e.message != "" { -- if !strings.Contains(d.Message, e.message) { -- continue -- } -- } -- found = true -- break -- } +-go 1.12 +--- main.go -- +-package main - -- if found == e.present { -- return Met -- } -- return Unmet --} +-type Int int - --// Description implements the Expectation interface. --func (e DiagnosticExpectation) Description() string { -- desc := e.path + ":" -- if !e.present { -- desc += " no" -- } -- desc += " diagnostic" -- if e.pos != nil { -- desc += fmt.Sprintf(" at {line:%d, column:%d}", e.pos.Line, e.pos.Column) -- if e.re != "" { -- desc += fmt.Sprintf(" (location of %q)", e.re) -- } -- } -- if e.message != "" { -- desc += fmt.Sprintf(" with message %q", e.message) -- } -- return desc --} +-type Struct struct{} - --// EmptyDiagnostics asserts that empty diagnostics are sent for the --// workspace-relative path name. --func EmptyDiagnostics(name string) Expectation { -- check := func(s State) Verdict { -- if diags := s.diagnostics[name]; diags != nil && len(diags.Diagnostics) == 0 { -- return Met -- } -- return Unmet -- } -- return SimpleExpectation{ -- check: check, -- description: "empty diagnostics", -- } --} +-func F1() {} +-func F2() (int, error) { return 0, nil } +-func F3() (**Struct, bool, *Int, error) { return nil, false, nil, nil } +-func F4() (**Struct, bool, *float64, error) { return nil, false, nil, nil } - --// NoDiagnostics asserts that no diagnostics are sent for the --// workspace-relative path name. It should be used primarily in conjunction --// with a OnceMet, as it has to check that all outstanding diagnostics have --// already been delivered. --func NoDiagnostics(name string) Expectation { -- check := func(s State) Verdict { -- if _, ok := s.diagnostics[name]; !ok { -- return Met -- } -- return Unmet -- } -- return SimpleExpectation{ -- check: check, -- description: "no diagnostics", -- } --} +-func main() {} +-` - --// AnyDiagnosticAtCurrentVersion asserts that there is a diagnostic report for --// the current edited version of the buffer corresponding to the given --// workdir-relative pathname. --func (e *Env) AnyDiagnosticAtCurrentVersion(name string) Expectation { -- version := e.Editor.BufferVersion(name) -- check := func(s State) Verdict { -- diags, ok := s.diagnostics[name] -- if ok && diags.Version == float64(version) { -- return Met -- } -- return Unmet -- } -- return SimpleExpectation{ -- check: check, -- description: fmt.Sprintf("any diagnostics at version %d", version), +- for _, tt := range []struct { +- re string +- wantError bool +- wantTypeRe string +- }{ +- {re: `F1`, wantError: true}, +- {re: `F2`, wantError: true}, +- {re: `F3`, wantError: true}, +- {re: `F4`, wantError: false, wantTypeRe: `type (Struct)`}, +- } { +- t.Run(tt.re, func(t *testing.T) { +- Run(t, mod, func(t *testing.T, env *Env) { +- env.OpenFile("main.go") +- +- _, pos, err := env.Editor.GoToTypeDefinition(env.Ctx, "main.go", env.RegexpSearch("main.go", tt.re)) +- if tt.wantError { +- if err == nil { +- t.Fatal("expected error, got nil") +- } +- return +- } +- if err != nil { +- t.Fatalf("expected nil error, got %s", err) +- } +- +- typePos := env.RegexpSearch("main.go", tt.wantTypeRe) +- if pos != typePos { +- t.Errorf("invalid pos: want %+v, got %+v", typePos, pos) +- } +- }) +- }) - } -} +diff -urN a/gopls/internal/regtest/misc/embed_test.go b/gopls/internal/regtest/misc/embed_test.go +--- a/gopls/internal/regtest/misc/embed_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/misc/embed_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,34 +0,0 @@ +-// Copyright 2021 The Go Authors. All rights reserved. +-// Use of this source code is governed by a BSD-style +-// license that can be found in the LICENSE file. +-package misc - --// DiagnosticAtRegexp expects that there is a diagnostic entry at the start --// position matching the regexp search string re in the buffer specified by --// name. Note that this currently ignores the end position. --func (e *Env) DiagnosticAtRegexp(name, re string) DiagnosticExpectation { -- e.T.Helper() -- pos := e.RegexpSearch(name, re) -- return DiagnosticExpectation{path: name, pos: &pos, re: re, present: true} --} +-import ( +- "testing" - --// DiagnosticAtRegexpWithMessage is like DiagnosticAtRegexp, but it also --// checks for the content of the diagnostic message, --func (e *Env) DiagnosticAtRegexpWithMessage(name, re, msg string) DiagnosticExpectation { -- e.T.Helper() -- pos := e.RegexpSearch(name, re) -- return DiagnosticExpectation{path: name, pos: &pos, re: re, present: true, message: msg} --} +- . "golang.org/x/tools/internal/lsp/regtest" +- "golang.org/x/tools/internal/testenv" +-) - --// DiagnosticAt asserts that there is a diagnostic entry at the position --// specified by line and col, for the workdir-relative path name. --func DiagnosticAt(name string, line, col int) DiagnosticExpectation { -- return DiagnosticExpectation{path: name, pos: &fake.Pos{Line: line, Column: col}, present: true} --} +-func TestMissingPatternDiagnostic(t *testing.T) { +- testenv.NeedsGo1Point(t, 16) +- const files = ` +--- go.mod -- +-module example.com +--- x.go -- +-package x - --// NoDiagnosticAtRegexp expects that there is no diagnostic entry at the start --// position matching the regexp search string re in the buffer specified by --// name. Note that this currently ignores the end position. --// This should only be used in combination with OnceMet for a given condition, --// otherwise it may always succeed. --func (e *Env) NoDiagnosticAtRegexp(name, re string) DiagnosticExpectation { -- e.T.Helper() -- pos := e.RegexpSearch(name, re) -- return DiagnosticExpectation{path: name, pos: &pos, re: re, present: false} --} +-import ( +- _ "embed" +-) - --// NoDiagnosticAt asserts that there is no diagnostic entry at the position --// specified by line and col, for the workdir-relative path name. --// This should only be used in combination with OnceMet for a given condition, --// otherwise it may always succeed. --func NoDiagnosticAt(name string, line, col int) DiagnosticExpectation { -- return DiagnosticExpectation{path: name, pos: &fake.Pos{Line: line, Column: col}, present: false} +-//go:embed NONEXISTENT +-var foo string +-` +- Run(t, files, func(t *testing.T, env *Env) { +- env.OpenFile("x.go") +- env.Await(env.DiagnosticAtRegexpWithMessage("x.go", `NONEXISTENT`, "no matching files found")) +- env.RegexpReplace("x.go", `NONEXISTENT`, "x.go") +- env.Await(EmptyDiagnostics("x.go")) +- }) -} -- --// NoDiagnosticWithMessage asserts that there is no diagnostic entry with the --// given message. --// --// This should only be used in combination with OnceMet for a given condition, --// otherwise it may always succeed. --func NoDiagnosticWithMessage(name, msg string) DiagnosticExpectation { -- return DiagnosticExpectation{path: name, message: msg, present: false} --} -diff -urN a/gopls/internal/regtest/failures_test.go b/gopls/internal/regtest/failures_test.go ---- a/gopls/internal/regtest/failures_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/failures_test.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,74 +0,0 @@ +diff -urN a/gopls/internal/regtest/misc/failures_test.go b/gopls/internal/regtest/misc/failures_test.go +--- a/gopls/internal/regtest/misc/failures_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/misc/failures_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,70 +0,0 @@ -// Copyright 2020 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - --package regtest +-package misc - -import ( -- "log" - "testing" +- +- . "golang.org/x/tools/internal/lsp/regtest" -) - -// This test passes (TestHoverOnError in definition_test.go) without @@ -9559,7 +9544,7 @@ diff -urN a/gopls/internal/regtest/failures_test.go b/gopls/internal/regtest/fai - var err error - err.Error() -}` -- withOptions(SkipLogs()).run(t, mod, func(t *testing.T, env *Env) { +- WithOptions(SkipLogs()).Run(t, mod, func(t *testing.T, env *Env) { - env.OpenFile("main.go") - content, _ := env.Hover("main.go", env.RegexpSearch("main.go", "Error")) - // without the //line comment content would be non-nil @@ -9587,35 +9572,32 @@ diff -urN a/gopls/internal/regtest/failures_test.go b/gopls/internal/regtest/fai -` - -func TestFailingDiagnosticClearingOnEdit(t *testing.T) { -- runner.Run(t, badPackageDup, func(t *testing.T, env *Env) { -- log.SetFlags(log.Lshortfile) +- Run(t, badPackageDup, func(t *testing.T, env *Env) { - env.OpenFile("b.go") -- env.Await(env.AnyDiagnosticAtCurrentVersion("a.go")) -- // no diagnostics for either b.go or 'gen.go', but there should be -- env.Await(NoDiagnostics("b.go")) +- // no diagnostics for any files, but there should be +- env.Await(NoDiagnostics("a.go"), NoDiagnostics("b.go")) - - // Fix the error by editing the const name in b.go to `b`. - env.RegexpReplace("b.go", "(a) = 2", "b") -- env.Await( -- EmptyDiagnostics("a.go"), -- // expected, as there have never been any diagnostics for b.go -- NoDiagnostics("b.go"), -- ) +- +- // The diagnostics that weren't sent above should now be cleared. - }) -} -diff -urN a/gopls/internal/regtest/fix_test.go b/gopls/internal/regtest/fix_test.go ---- a/gopls/internal/regtest/fix_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/fix_test.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,64 +0,0 @@ +diff -urN a/gopls/internal/regtest/misc/fix_test.go b/gopls/internal/regtest/misc/fix_test.go +--- a/gopls/internal/regtest/misc/fix_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/misc/fix_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,106 +0,0 @@ -// Copyright 2020 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - --package regtest +-package misc - -import ( - "testing" - +- . "golang.org/x/tools/internal/lsp/regtest" +- - "golang.org/x/tools/internal/lsp/protocol" - "golang.org/x/tools/internal/lsp/tests" -) @@ -9630,39 +9612,35 @@ diff -urN a/gopls/internal/regtest/fix_test.go b/gopls/internal/regtest/fix_test --- main.go -- -package main - --import "go/types" +-type Info struct { +- WordCounts map[string]int +- Words []string +-} - -func Foo() { -- _ = types.Info{} +- _ = Info{} -} -` -- runner.Run(t, basic, func(t *testing.T, env *Env) { +- Run(t, basic, func(t *testing.T, env *Env) { - env.OpenFile("main.go") +- pos := env.RegexpSearch("main.go", "Info{}").ToProtocolPosition() - if err := env.Editor.RefactorRewrite(env.Ctx, "main.go", &protocol.Range{ -- Start: protocol.Position{ -- Line: 5, -- Character: 16, -- }, -- End: protocol.Position{ -- Line: 5, -- Character: 16, -- }, +- Start: pos, +- End: pos, - }); err != nil { - t.Fatal(err) - } - want := `package main - --import "go/types" +-type Info struct { +- WordCounts map[string]int +- Words []string +-} - -func Foo() { -- _ = types.Info{ -- Types: map[ast.Expr]types.TypeAndValue{}, -- Defs: map[*ast.Ident]types.Object{}, -- Uses: map[*ast.Ident]types.Object{}, -- Implicits: map[ast.Node]types.Object{}, -- Selections: map[*ast.SelectorExpr]*types.Selection{}, -- Scopes: map[ast.Node]*types.Scope{}, -- InitOrder: []*types.Initializer{}, +- _ = Info{ +- WordCounts: map[string]int{}, +- Words: []string{}, - } -} -` @@ -9671,21 +9649,66 @@ diff -urN a/gopls/internal/regtest/fix_test.go b/gopls/internal/regtest/fix_test - } - }) -} -diff -urN a/gopls/internal/regtest/formatting_test.go b/gopls/internal/regtest/formatting_test.go ---- a/gopls/internal/regtest/formatting_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/formatting_test.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,241 +0,0 @@ +- +-func TestFillReturns(t *testing.T) { +- const files = ` +--- go.mod -- +-module mod.com +- +-go 1.12 +--- main.go -- +-package main +- +-func Foo() error { +- return +-} +-` +- Run(t, files, func(t *testing.T, env *Env) { +- env.OpenFile("main.go") +- var d protocol.PublishDiagnosticsParams +- env.Await(OnceMet( +- env.DiagnosticAtRegexpWithMessage("main.go", `return`, "wrong number of return values"), +- ReadDiagnostics("main.go", &d), +- )) +- codeActions := env.CodeAction("main.go", d.Diagnostics) +- if len(codeActions) != 2 { +- t.Fatalf("expected 2 code actions, got %v", len(codeActions)) +- } +- var foundQuickFix, foundFixAll bool +- for _, a := range codeActions { +- if a.Kind == protocol.QuickFix { +- foundQuickFix = true +- } +- if a.Kind == protocol.SourceFixAll { +- foundFixAll = true +- } +- } +- if !foundQuickFix { +- t.Fatalf("expected quickfix code action, got none") +- } +- if !foundFixAll { +- t.Fatalf("expected fixall code action, got none") +- } +- env.ApplyQuickFixes("main.go", d.Diagnostics) +- env.Await(EmptyDiagnostics("main.go")) +- }) +-} +diff -urN a/gopls/internal/regtest/misc/formatting_test.go b/gopls/internal/regtest/misc/formatting_test.go +--- a/gopls/internal/regtest/misc/formatting_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/misc/formatting_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,242 +0,0 @@ -// Copyright 2020 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - --package regtest +-package misc - -import ( - "strings" - "testing" - -- "golang.org/x/tools/internal/lsp" +- . "golang.org/x/tools/internal/lsp/regtest" +- - "golang.org/x/tools/internal/lsp/tests" -) - @@ -9707,7 +9730,7 @@ diff -urN a/gopls/internal/regtest/formatting_test.go b/gopls/internal/regtest/f -` - -func TestFormatting(t *testing.T) { -- runner.Run(t, unformattedProgram, func(t *testing.T, env *Env) { +- Run(t, unformattedProgram, func(t *testing.T, env *Env) { - env.OpenFile("main.go") - env.FormatBuffer("main.go") - got := env.Editor.BufferText("main.go") @@ -9729,7 +9752,7 @@ diff -urN a/gopls/internal/regtest/formatting_test.go b/gopls/internal/regtest/f - -func f() {} -` -- runner.Run(t, onelineProgram, func(t *testing.T, env *Env) { +- Run(t, onelineProgram, func(t *testing.T, env *Env) { - env.OpenFile("a.go") - env.FormatBuffer("a.go") - got := env.Editor.BufferText("a.go") @@ -9753,7 +9776,7 @@ diff -urN a/gopls/internal/regtest/formatting_test.go b/gopls/internal/regtest/f - -func f() { fmt.Println() } -` -- runner.Run(t, onelineProgramA, func(t *testing.T, env *Env) { +- Run(t, onelineProgramA, func(t *testing.T, env *Env) { - env.OpenFile("a.go") - env.OrganizeImports("a.go") - got := env.Editor.BufferText("a.go") @@ -9774,7 +9797,7 @@ diff -urN a/gopls/internal/regtest/formatting_test.go b/gopls/internal/regtest/f - -func f() {} -` -- runner.Run(t, onelineProgramB, func(t *testing.T, env *Env) { +- Run(t, onelineProgramB, func(t *testing.T, env *Env) { - env.OpenFile("a.go") - env.OrganizeImports("a.go") - got := env.Editor.BufferText("a.go") @@ -9820,7 +9843,7 @@ diff -urN a/gopls/internal/regtest/formatting_test.go b/gopls/internal/regtest/f -` - -func TestOrganizeImports(t *testing.T) { -- runner.Run(t, disorganizedProgram, func(t *testing.T, env *Env) { +- Run(t, disorganizedProgram, func(t *testing.T, env *Env) { - env.OpenFile("main.go") - env.OrganizeImports("main.go") - got := env.Editor.BufferText("main.go") @@ -9832,7 +9855,7 @@ diff -urN a/gopls/internal/regtest/formatting_test.go b/gopls/internal/regtest/f -} - -func TestFormattingOnSave(t *testing.T) { -- runner.Run(t, disorganizedProgram, func(t *testing.T, env *Env) { +- Run(t, disorganizedProgram, func(t *testing.T, env *Env) { - env.OpenFile("main.go") - env.SaveBuffer("main.go") - got := env.Editor.BufferText("main.go") @@ -9902,10 +9925,10 @@ diff -urN a/gopls/internal/regtest/formatting_test.go b/gopls/internal/regtest/f - }, - } { - t.Run(tt.issue, func(t *testing.T) { -- run(t, "-- main.go --", func(t *testing.T, env *Env) { +- Run(t, "-- main.go --", func(t *testing.T, env *Env) { - crlf := strings.ReplaceAll(tt.want, "\n", "\r\n") - env.CreateBuffer("main.go", crlf) -- env.Await(CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidOpen), 1)) +- env.Await(env.DoneWithOpen()) - env.OrganizeImports("main.go") - got := env.Editor.BufferText("main.go") - got = strings.ReplaceAll(got, "\r\n", "\n") // convert everything to LF for simplicity @@ -9916,24 +9939,25 @@ diff -urN a/gopls/internal/regtest/formatting_test.go b/gopls/internal/regtest/f - }) - } -} -diff -urN a/gopls/internal/regtest/generate_test.go b/gopls/internal/regtest/generate_test.go ---- a/gopls/internal/regtest/generate_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/generate_test.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,54 +0,0 @@ +diff -urN a/gopls/internal/regtest/misc/generate_test.go b/gopls/internal/regtest/misc/generate_test.go +--- a/gopls/internal/regtest/misc/generate_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/misc/generate_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,55 +0,0 @@ -// Copyright 2020 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -// TODO(rfindley): figure out why go generate fails on android builders. - +-//go:build !android -// +build !android - --package regtest +-package misc - -import ( - "testing" - -- "golang.org/x/tools/internal/lsp" +- . "golang.org/x/tools/internal/lsp/regtest" -) - -func TestGenerateProgress(t *testing.T) { @@ -9962,27 +9986,244 @@ diff -urN a/gopls/internal/regtest/generate_test.go b/gopls/internal/regtest/gen -//go:generate go run generate.go -` - -- runner.Run(t, generatedWorkspace, func(t *testing.T, env *Env) { +- Run(t, generatedWorkspace, func(t *testing.T, env *Env) { - env.Await( - env.DiagnosticAtRegexp("lib/lib.go", "answer"), - ) - env.RunGenerate("./lib") - env.Await( - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 1), +- env.DoneWithChangeWatchedFiles(), - EmptyDiagnostics("lib/lib.go")), - ) - }) -} -diff -urN a/gopls/internal/regtest/imports_test.go b/gopls/internal/regtest/imports_test.go ---- a/gopls/internal/regtest/imports_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/imports_test.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,214 +0,0 @@ +diff -urN a/gopls/internal/regtest/misc/highlight_test.go b/gopls/internal/regtest/misc/highlight_test.go +--- a/gopls/internal/regtest/misc/highlight_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/misc/highlight_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,151 +0,0 @@ +-// Copyright 2021 The Go Authors. All rights reserved. +-// Use of this source code is governed by a BSD-style +-// license that can be found in the LICENSE file. +- +-package misc +- +-import ( +- "sort" +- "testing" +- +- "golang.org/x/tools/internal/lsp/fake" +- "golang.org/x/tools/internal/lsp/protocol" +- . "golang.org/x/tools/internal/lsp/regtest" +-) +- +-func TestWorkspacePackageHighlight(t *testing.T) { +- const mod = ` +--- go.mod -- +-module mod.com +- +-go 1.12 +--- main.go -- +-package main +- +-func main() { +- var A string = "A" +- x := "x-" + A +- println(A, x) +-}` +- +- Run(t, mod, func(t *testing.T, env *Env) { +- const file = "main.go" +- env.OpenFile(file) +- _, pos := env.GoToDefinition(file, env.RegexpSearch(file, `var (A) string`)) +- +- checkHighlights(env, file, pos, 3) +- }) +-} +- +-func TestStdPackageHighlight_Issue43511(t *testing.T) { +- const mod = ` +--- go.mod -- +-module mod.com +- +-go 1.12 +--- main.go -- +-package main +- +-import "fmt" +- +-func main() { +- fmt.Printf() +-}` +- +- Run(t, mod, func(t *testing.T, env *Env) { +- env.OpenFile("main.go") +- file, _ := env.GoToDefinition("main.go", env.RegexpSearch("main.go", `fmt\.(Printf)`)) +- pos := env.RegexpSearch(file, `func Printf\((format) string`) +- +- checkHighlights(env, file, pos, 2) +- }) +-} +- +-func TestThirdPartyPackageHighlight_Issue43511(t *testing.T) { +- const proxy = ` +--- example.com@v1.2.3/go.mod -- +-module example.com +- +-go 1.12 +--- example.com@v1.2.3/global/global.go -- +-package global +- +-const A = 1 +- +-func foo() { +- _ = A +-} +- +-func bar() int { +- return A + A +-} +--- example.com@v1.2.3/local/local.go -- +-package local +- +-func foo() int { +- const b = 2 +- +- return b * b * (b+1) + b +-}` +- +- const mod = ` +--- go.mod -- +-module mod.com +- +-go 1.12 +- +-require example.com v1.2.3 +--- go.sum -- +-example.com v1.2.3 h1:WFzrgiQJwEDJNLDUOV1f9qlasQkvzXf2UNLaNIqbWsI= +-example.com v1.2.3/go.mod h1:Y2Rc5rVWjWur0h3pd9aEvK5Pof8YKDANh9gHA2Maujo= +--- main.go -- +-package main +- +-import ( +- _ "example.com/global" +- _ "example.com/local" +-) +- +-func main() {}` +- +- WithOptions( +- ProxyFiles(proxy), +- ).Run(t, mod, func(t *testing.T, env *Env) { +- env.OpenFile("main.go") +- +- file, _ := env.GoToDefinition("main.go", env.RegexpSearch("main.go", `"example.com/global"`)) +- pos := env.RegexpSearch(file, `const (A)`) +- checkHighlights(env, file, pos, 4) +- +- file, _ = env.GoToDefinition("main.go", env.RegexpSearch("main.go", `"example.com/local"`)) +- pos = env.RegexpSearch(file, `const (b)`) +- checkHighlights(env, file, pos, 5) +- }) +-} +- +-func checkHighlights(env *Env, file string, pos fake.Pos, highlightCount int) { +- t := env.T +- t.Helper() +- +- highlights := env.DocumentHighlight(file, pos) +- if len(highlights) != highlightCount { +- t.Fatalf("expected %v highlight(s), got %v", highlightCount, len(highlights)) +- } +- +- references := env.References(file, pos) +- if len(highlights) != len(references) { +- t.Fatalf("number of highlights and references is expected to be equal: %v != %v", len(highlights), len(references)) +- } +- +- sort.Slice(highlights, func(i, j int) bool { +- return protocol.CompareRange(highlights[i].Range, highlights[j].Range) < 0 +- }) +- sort.Slice(references, func(i, j int) bool { +- return protocol.CompareRange(references[i].Range, references[j].Range) < 0 +- }) +- for i := range highlights { +- if highlights[i].Range != references[i].Range { +- t.Errorf("highlight and reference ranges are expected to be equal: %v != %v", highlights[i].Range, references[i].Range) +- } +- } +-} +diff -urN a/gopls/internal/regtest/misc/hover_test.go b/gopls/internal/regtest/misc/hover_test.go +--- a/gopls/internal/regtest/misc/hover_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/misc/hover_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,58 +0,0 @@ +-// Copyright 2021 The Go Authors. All rights reserved. +-// Use of this source code is governed by a BSD-style +-// license that can be found in the LICENSE file. +- +-package misc +- +-import ( +- "strings" +- "testing" +- +- . "golang.org/x/tools/internal/lsp/regtest" +-) +- +-func TestHoverUnexported(t *testing.T) { +- const proxy = ` +--- golang.org/x/structs@v1.0.0/go.mod -- +-module golang.org/x/structs +- +-go 1.12 +- +--- golang.org/x/structs@v1.0.0/types.go -- +-package structs +- +-type Mixed struct { +- Exported int +- unexported string +-} +-` +- const mod = ` +--- go.mod -- +-module mod.com +- +-go 1.12 +- +-require golang.org/x/structs v1.0.0 +--- go.sum -- +-golang.org/x/structs v1.0.0 h1:oxD5q25qV458xBbXf5+QX+Johgg71KFtwuJzt145c9A= +-golang.org/x/structs v1.0.0/go.mod h1:47gkSIdo5AaQaWJS0upVORsxfEr1LL1MWv9dmYF3iq4= +--- main.go -- +-package main +- +-import "golang.org/x/structs" +- +-func main() { +- var _ structs.Mixed +-} +-` +- // TODO: use a nested workspace folder here. +- WithOptions( +- ProxyFiles(proxy), +- ).Run(t, mod, func(t *testing.T, env *Env) { +- env.OpenFile("main.go") +- got, _ := env.Hover("main.go", env.RegexpSearch("main.go", "Mixed")) +- if !strings.Contains(got.Value, "unexported") { +- t.Errorf("Hover: missing expected field 'unexported'. Got:\n%q", got.Value) +- } +- }) +-} +diff -urN a/gopls/internal/regtest/misc/imports_test.go b/gopls/internal/regtest/misc/imports_test.go +--- a/gopls/internal/regtest/misc/imports_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/misc/imports_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,216 +0,0 @@ -// Copyright 2020 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - --package regtest +-package misc - -import ( - "io/ioutil" @@ -9991,6 +10232,8 @@ diff -urN a/gopls/internal/regtest/imports_test.go b/gopls/internal/regtest/impo - "strings" - "testing" - +- . "golang.org/x/tools/internal/lsp/regtest" +- - "golang.org/x/tools/internal/lsp/protocol" - "golang.org/x/tools/internal/testenv" -) @@ -10022,7 +10265,7 @@ diff -urN a/gopls/internal/regtest/imports_test.go b/gopls/internal/regtest/impo - - // it was returning - // "package main\nimport \"testing\"\npackage main..." -- runner.Run(t, needs, func(t *testing.T, env *Env) { +- Run(t, needs, func(t *testing.T, env *Env) { - env.CreateBuffer("a_test.go", ntest) - env.SaveBuffer("a_test.go") - got := env.Editor.BufferText("a_test.go") @@ -10049,10 +10292,10 @@ diff -urN a/gopls/internal/regtest/imports_test.go b/gopls/internal/regtest/impo - - // The file remains unchanged, but if there are any CodeActions returned, they confuse vim. - // Therefore check for no CodeActions -- runner.Run(t, "", func(t *testing.T, env *Env) { +- Run(t, "", func(t *testing.T, env *Env) { - env.CreateBuffer("main.go", vim1) - env.OrganizeImports("main.go") -- actions := env.CodeAction("main.go") +- actions := env.CodeAction("main.go", nil) - if len(actions) > 0 { - got := env.Editor.BufferText("main.go") - t.Errorf("unexpected actions %#v", actions) @@ -10082,10 +10325,10 @@ diff -urN a/gopls/internal/regtest/imports_test.go b/gopls/internal/regtest/impo -} -` - -- runner.Run(t, "", func(t *testing.T, env *Env) { +- Run(t, "", func(t *testing.T, env *Env) { - env.CreateBuffer("main.go", vim2) - env.OrganizeImports("main.go") -- actions := env.CodeAction("main.go") +- actions := env.CodeAction("main.go", nil) - if len(actions) > 0 { - t.Errorf("unexpected actions %#v", actions) - } @@ -10132,10 +10375,10 @@ diff -urN a/gopls/internal/regtest/imports_test.go b/gopls/internal/regtest/impo - } - defer os.RemoveAll(modcache) - editorConfig := EditorConfig{Env: map[string]string{"GOMODCACHE": modcache}} -- withOptions( +- WithOptions( - editorConfig, - ProxyFiles(proxy), -- ).run(t, files, func(t *testing.T, env *Env) { +- ).Run(t, files, func(t *testing.T, env *Env) { - env.OpenFile("main.go") - env.Await(env.DiagnosticAtRegexp("main.go", `y.Y`)) - env.SaveBuffer("main.go") @@ -10177,7 +10420,7 @@ diff -urN a/gopls/internal/regtest/imports_test.go b/gopls/internal/regtest/impo - os.Stat("") -} -` -- run(t, pkg, func(t *testing.T, env *Env) { +- Run(t, pkg, func(t *testing.T, env *Env) { - env.OpenFile("a/a.go") - var d protocol.PublishDiagnosticsParams - env.Await( @@ -10192,20 +10435,22 @@ diff -urN a/gopls/internal/regtest/imports_test.go b/gopls/internal/regtest/impo - ) - }) -} -diff -urN a/gopls/internal/regtest/link_test.go b/gopls/internal/regtest/link_test.go ---- a/gopls/internal/regtest/link_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/link_test.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,91 +0,0 @@ +diff -urN a/gopls/internal/regtest/misc/link_test.go b/gopls/internal/regtest/misc/link_test.go +--- a/gopls/internal/regtest/misc/link_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/misc/link_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,95 +0,0 @@ -// Copyright 2020 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - --package regtest +-package misc - -import ( - "strings" - "testing" - +- . "golang.org/x/tools/internal/lsp/regtest" +- - "golang.org/x/tools/internal/testenv" -) - @@ -10240,7 +10485,9 @@ diff -urN a/gopls/internal/regtest/link_test.go b/gopls/internal/regtest/link_te - -const Hello = "Hello" -` -- runner.Run(t, program, func(t *testing.T, env *Env) { +- WithOptions( +- ProxyFiles(proxy), +- ).Run(t, program, func(t *testing.T, env *Env) { - env.OpenFile("main.go") - env.OpenFile("go.mod") - @@ -10285,606 +10532,399 @@ diff -urN a/gopls/internal/regtest/link_test.go b/gopls/internal/regtest/link_te - if len(links) != 0 { - t.Errorf("documentLink: got %d document links for go.mod, want 0\nlinks: %v", len(links), links) - } -- }, ProxyFiles(proxy)) +- }) -} -diff -urN a/gopls/internal/regtest/modfile_test.go b/gopls/internal/regtest/modfile_test.go ---- a/gopls/internal/regtest/modfile_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/modfile_test.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,1023 +0,0 @@ +diff -urN a/gopls/internal/regtest/misc/misc_test.go b/gopls/internal/regtest/misc/misc_test.go +--- a/gopls/internal/regtest/misc/misc_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/misc/misc_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,16 +0,0 @@ -// Copyright 2020 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - --package regtest +-package misc - -import ( -- "path/filepath" -- "strings" - "testing" - -- "golang.org/x/tools/internal/lsp" -- "golang.org/x/tools/internal/lsp/protocol" -- "golang.org/x/tools/internal/lsp/tests" -- "golang.org/x/tools/internal/testenv" +- "golang.org/x/tools/gopls/internal/hooks" +- "golang.org/x/tools/internal/lsp/regtest" -) - --const proxy = ` ---- example.com@v1.2.3/go.mod -- --module example.com -- --go 1.12 ---- example.com@v1.2.3/blah/blah.go -- --package blah -- --const Name = "Blah" ---- random.org@v1.2.3/go.mod -- --module random.org -- --go 1.12 ---- random.org@v1.2.3/blah/blah.go -- --package hello -- --const Name = "Hello" --` -- --func TestModFileModification(t *testing.T) { -- testenv.NeedsGo1Point(t, 14) -- -- const untidyModule = ` ---- a/go.mod -- --module mod.com -- ---- a/main.go -- --package main -- --import "example.com/blah" -- --func main() { -- println(blah.Name) --} --` -- -- runner := runMultiple{ -- {"default", withOptions(ProxyFiles(proxy), WorkspaceFolders("a"))}, -- {"nested", withOptions(ProxyFiles(proxy))}, -- } -- -- t.Run("basic", func(t *testing.T) { -- runner.run(t, untidyModule, func(t *testing.T, env *Env) { -- // Open the file and make sure that the initial workspace load does not -- // modify the go.mod file. -- goModContent := env.ReadWorkspaceFile("a/go.mod") -- env.OpenFile("a/main.go") -- env.Await( -- env.DiagnosticAtRegexp("a/main.go", "\"example.com/blah\""), -- ) -- if got := env.ReadWorkspaceFile("a/go.mod"); got != goModContent { -- t.Fatalf("go.mod changed on disk:\n%s", tests.Diff(t, goModContent, got)) -- } -- // Save the buffer, which will format and organize imports. -- // Confirm that the go.mod file still does not change. -- env.SaveBuffer("a/main.go") -- env.Await( -- env.DiagnosticAtRegexp("a/main.go", "\"example.com/blah\""), -- ) -- if got := env.ReadWorkspaceFile("a/go.mod"); got != goModContent { -- t.Fatalf("go.mod changed on disk:\n%s", tests.Diff(t, goModContent, got)) -- } -- }) -- }) -- -- // Reproduce golang/go#40269 by deleting and recreating main.go. -- t.Run("delete main.go", func(t *testing.T) { -- t.Skip("This test will be flaky until golang/go#40269 is resolved.") -- -- runner.run(t, untidyModule, func(t *testing.T, env *Env) { -- goModContent := env.ReadWorkspaceFile("a/go.mod") -- mainContent := env.ReadWorkspaceFile("a/main.go") -- env.OpenFile("a/main.go") -- env.SaveBuffer("a/main.go") -- -- env.RemoveWorkspaceFile("a/main.go") -- env.Await( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidOpen), 1), -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidSave), 1), -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 2), -- ) -- -- env.WriteWorkspaceFile("main.go", mainContent) -- env.Await( -- env.DiagnosticAtRegexp("main.go", "\"example.com/blah\""), -- ) -- if got := env.ReadWorkspaceFile("go.mod"); got != goModContent { -- t.Fatalf("go.mod changed on disk:\n%s", tests.Diff(t, goModContent, got)) -- } -- }) -- }) --} -- --func TestGoGetFix(t *testing.T) { -- testenv.NeedsGo1Point(t, 14) -- const mod = ` ---- a/go.mod -- --module mod.com -- --go 1.12 -- ---- a/main.go -- --package main -- --import "example.com/blah" -- --var _ = blah.Name --` -- -- const want = `module mod.com -- --go 1.12 -- --require example.com v1.2.3 --` -- -- runMultiple{ -- {"default", withOptions(ProxyFiles(proxy), WorkspaceFolders("a"))}, -- {"nested", withOptions(ProxyFiles(proxy))}, -- }.run(t, mod, func(t *testing.T, env *Env) { -- if strings.Contains(t.Name(), "workspace_module") { -- t.Skip("workspace module mode doesn't set -mod=readonly") -- } -- env.OpenFile("a/main.go") -- var d protocol.PublishDiagnosticsParams -- env.Await( -- OnceMet( -- env.DiagnosticAtRegexp("a/main.go", `"example.com/blah"`), -- ReadDiagnostics("a/main.go", &d), -- ), -- ) -- var goGetDiag protocol.Diagnostic -- for _, diag := range d.Diagnostics { -- if strings.Contains(diag.Message, "could not import") { -- goGetDiag = diag -- } -- } -- env.ApplyQuickFixes("a/main.go", []protocol.Diagnostic{goGetDiag}) -- if got := env.ReadWorkspaceFile("a/go.mod"); got != want { -- t.Fatalf("unexpected go.mod content:\n%s", tests.Diff(t, want, got)) -- } -- }) --} -- --// Tests that multiple missing dependencies gives good single fixes. --func TestMissingDependencyFixes(t *testing.T) { -- testenv.NeedsGo1Point(t, 14) -- const mod = ` ---- a/go.mod -- --module mod.com -- --go 1.12 -- ---- a/main.go -- --package main -- --import "example.com/blah" --import "random.org/blah" -- --var _, _ = blah.Name, hello.Name --` -- -- const want = `module mod.com -- --go 1.12 -- --require random.org v1.2.3 --` -- -- runMultiple{ -- {"default", withOptions(ProxyFiles(proxy), WorkspaceFolders("a"))}, -- {"nested", withOptions(ProxyFiles(proxy))}, -- }.run(t, mod, func(t *testing.T, env *Env) { -- env.OpenFile("a/main.go") -- var d protocol.PublishDiagnosticsParams -- env.Await( -- OnceMet( -- env.DiagnosticAtRegexp("a/main.go", `"random.org/blah"`), -- ReadDiagnostics("a/main.go", &d), -- ), -- ) -- var randomDiag protocol.Diagnostic -- for _, diag := range d.Diagnostics { -- if strings.Contains(diag.Message, "random.org") { -- randomDiag = diag -- } -- } -- env.ApplyQuickFixes("a/main.go", []protocol.Diagnostic{randomDiag}) -- if got := env.ReadWorkspaceFile("a/go.mod"); got != want { -- t.Fatalf("unexpected go.mod content:\n%s", tests.Diff(t, want, got)) -- } -- }) --} -- --func TestIndirectDependencyFix(t *testing.T) { -- testenv.NeedsGo1Point(t, 14) -- -- const mod = ` ---- a/go.mod -- --module mod.com -- --go 1.12 -- --require example.com v1.2.3 // indirect ---- a/go.sum -- --example.com v1.2.3 h1:ihBTGWGjTU3V4ZJ9OmHITkU9WQ4lGdQkMjgyLFk0FaY= --example.com v1.2.3/go.mod h1:Y2Rc5rVWjWur0h3pd9aEvK5Pof8YKDANh9gHA2Maujo= ---- a/main.go -- --package main -- --import "example.com/blah" -- --func main() { -- fmt.Println(blah.Name) --` -- const want = `module mod.com -- --go 1.12 -- --require example.com v1.2.3 --` -- -- runMultiple{ -- {"default", withOptions(ProxyFiles(proxy), WorkspaceFolders("a"))}, -- {"nested", withOptions(ProxyFiles(proxy))}, -- }.run(t, mod, func(t *testing.T, env *Env) { -- env.OpenFile("a/go.mod") -- var d protocol.PublishDiagnosticsParams -- env.Await( -- OnceMet( -- env.DiagnosticAtRegexp("a/go.mod", "// indirect"), -- ReadDiagnostics("a/go.mod", &d), -- ), -- ) -- env.ApplyQuickFixes("a/go.mod", d.Diagnostics) -- if got := env.Editor.BufferText("a/go.mod"); got != want { -- t.Fatalf("unexpected go.mod content:\n%s", tests.Diff(t, want, got)) -- } -- }) +-func TestMain(m *testing.M) { +- regtest.Main(m, hooks.Options) -} +diff -urN a/gopls/internal/regtest/misc/references_test.go b/gopls/internal/regtest/misc/references_test.go +--- a/gopls/internal/regtest/misc/references_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/misc/references_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,44 +0,0 @@ +-// Copyright 2020 The Go Authors. All rights reserved. +-// Use of this source code is governed by a BSD-style +-// license that can be found in the LICENSE file. - --func TestUnusedDiag(t *testing.T) { -- testenv.NeedsGo1Point(t, 14) +-package misc - -- const proxy = ` ---- example.com@v1.0.0/x.go -- --package pkg --const X = 1 --` +-import ( +- "testing" +- +- . "golang.org/x/tools/internal/lsp/regtest" +-) +- +-func TestStdlibReferences(t *testing.T) { - const files = ` ---- a/go.mod -- +--- go.mod -- -module mod.com --go 1.14 --require example.com v1.0.0 ---- a/go.sum -- --example.com v1.0.0 h1:38O7j5rEBajXk+Q5wzLbRN7KqMkSgEiN9NqcM1O2bBM= --example.com v1.0.0/go.mod h1:vUsPMGpx9ZXXzECCOsOmYCW7npJTwuA16yl89n3Mgls= ---- a/main.go -- +- +-go 1.12 +--- main.go -- -package main --func main() {} --` - -- const want = `module mod.com +-import "fmt" - --go 1.14 +-func main() { +- fmt.Print() +-} -` - -- runMultiple{ -- {"default", withOptions(ProxyFiles(proxy), WorkspaceFolders("a"))}, -- {"nested", withOptions(ProxyFiles(proxy))}, -- }.run(t, files, func(t *testing.T, env *Env) { -- env.OpenFile("a/go.mod") -- var d protocol.PublishDiagnosticsParams -- env.Await( -- OnceMet( -- env.DiagnosticAtRegexp("a/go.mod", `require example.com`), -- ReadDiagnostics("a/go.mod", &d), -- ), -- ) -- env.ApplyQuickFixes("a/go.mod", d.Diagnostics) -- if got := env.ReadWorkspaceFile("a/go.mod"); got != want { -- t.Fatalf("unexpected go.mod content:\n%s", tests.Diff(t, want, got)) +- Run(t, files, func(t *testing.T, env *Env) { +- env.OpenFile("main.go") +- file, pos := env.GoToDefinition("main.go", env.RegexpSearch("main.go", `fmt.(Print)`)) +- refs, err := env.Editor.References(env.Ctx, file, pos) +- if err != nil { +- t.Fatal(err) +- } +- if len(refs) != 2 { +- t.Fatalf("got %v reference(s), want 2", len(refs)) +- } +- // The first reference is guaranteed to be the definition. +- if got, want := refs[1].URI, env.Sandbox.Workdir.URI("main.go"); got != want { +- t.Errorf("found reference in %v, wanted %v", got, want) - } - }) -} +diff -urN a/gopls/internal/regtest/misc/semantictokens_test.go b/gopls/internal/regtest/misc/semantictokens_test.go +--- a/gopls/internal/regtest/misc/semantictokens_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/misc/semantictokens_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,44 +0,0 @@ +-// Copyright 2021 The Go Authors. All rights reserved. +-// Use of this source code is governed by a BSD-style +-// license that can be found in the LICENSE file. - --// Test to reproduce golang/go#39041. It adds a new require to a go.mod file --// that already has an unused require. --func TestNewDepWithUnusedDep(t *testing.T) { -- testenv.NeedsGo1Point(t, 14) +-package misc - -- const proxy = ` ---- github.com/esimov/caire@v1.2.5/go.mod -- --module github.com/esimov/caire +-import ( +- "testing" - --go 1.12 ---- github.com/esimov/caire@v1.2.5/caire.go -- --package caire +- "golang.org/x/tools/internal/lsp/protocol" +- . "golang.org/x/tools/internal/lsp/regtest" +-) - --func RemoveTempImage() {} ---- google.golang.org/protobuf@v1.20.0/go.mod -- --module google.golang.org/protobuf +-func TestBadURICrash_VSCodeIssue1498(t *testing.T) { +- const src = ` +--- go.mod -- +-module example.com - -go 1.12 ---- google.golang.org/protobuf@v1.20.0/hello/hello.go -- --package hello --` -- const repro = ` ---- a/go.mod -- --module mod.com -- --go 1.14 - --require google.golang.org/protobuf v1.20.0 ---- a/go.sum -- --github.com/esimov/caire v1.2.5 h1:OcqDII/BYxcBYj3DuwDKjd+ANhRxRqLa2n69EGje7qw= --github.com/esimov/caire v1.2.5/go.mod h1:mXnjRjg3+WUtuhfSC1rKRmdZU9vJZyS1ZWU0qSvJhK8= --google.golang.org/protobuf v1.20.0 h1:y9T1vAtFKQg0faFNMOxJU7WuEqPWolVkjIkU6aI8qCY= --google.golang.org/protobuf v1.20.0/go.mod h1:FcqsytGClbtLv1ot8NvsJHjBi0h22StKVP+K/j2liKA= ---- a/main.go -- +--- main.go -- -package main - +-func main() {} +- +-` +- WithOptions( +- Modes(Singleton), +- EditorConfig{ +- AllExperiments: true, +- }, +- ).Run(t, src, func(t *testing.T, env *Env) { +- params := &protocol.SemanticTokensParams{} +- const badURI = "http://foo" +- params.TextDocument.URI = badURI +- // This call panicked in the past: golang/vscode-go#1498. +- if _, err := env.Editor.Server.SemanticTokensFull(env.Ctx, params); err != nil { +- // Requests to an invalid URI scheme shouldn't result in an error, we +- // simply don't support this so return empty result. This could be +- // changed, but for now assert on the current behavior. +- t.Errorf("SemanticTokensFull(%q): %v", badURI, err) +- } +- }) +-} +diff -urN a/gopls/internal/regtest/misc/shared_test.go b/gopls/internal/regtest/misc/shared_test.go +--- a/gopls/internal/regtest/misc/shared_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/misc/shared_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,61 +0,0 @@ +-// Copyright 2020 The Go Authors. All rights reserved. +-// Use of this source code is governed by a BSD-style +-// license that can be found in the LICENSE file. +- +-package misc +- -import ( -- "github.com/esimov/caire" +- "testing" +- +- . "golang.org/x/tools/internal/lsp/regtest" -) - --func _() { -- caire.RemoveTempImage() +-const sharedProgram = ` +--- go.mod -- +-module mod +- +-go 1.12 +--- main.go -- +-package main +- +-import "fmt" +- +-func main() { +- fmt.Println("Hello World.") -}` - -- runMultiple{ -- {"default", withOptions(ProxyFiles(proxy), WorkspaceFolders("a"))}, -- {"nested", withOptions(ProxyFiles(proxy))}, -- }.run(t, repro, func(t *testing.T, env *Env) { -- env.OpenFile("a/main.go") -- var d protocol.PublishDiagnosticsParams -- env.Await( -- OnceMet( -- env.DiagnosticAtRegexp("a/main.go", `"github.com/esimov/caire"`), -- ReadDiagnostics("a/main.go", &d), -- ), -- ) -- env.ApplyQuickFixes("a/main.go", d.Diagnostics) -- want := `module mod.com +-func runShared(t *testing.T, testFunc func(env1 *Env, env2 *Env)) { +- // Only run these tests in forwarded modes. +- modes := DefaultModes() & (Forwarded | SeparateProcess) +- WithOptions(Modes(modes)).Run(t, sharedProgram, func(t *testing.T, env1 *Env) { +- // Create a second test session connected to the same workspace and server +- // as the first. +- env2 := NewEnv(env1.Ctx, t, env1.Sandbox, env1.Server, env1.Editor.Config, true) +- testFunc(env1, env2) +- }) +-} - --go 1.14 +-func TestSimultaneousEdits(t *testing.T) { +- runShared(t, func(env1 *Env, env2 *Env) { +- // In editor #1, break fmt.Println as before. +- env1.OpenFile("main.go") +- env1.RegexpReplace("main.go", "Printl(n)", "") +- // In editor #2 remove the closing brace. +- env2.OpenFile("main.go") +- env2.RegexpReplace("main.go", "\\)\n(})", "") - --require ( -- github.com/esimov/caire v1.2.5 -- google.golang.org/protobuf v1.20.0 --) --` -- if got := env.ReadWorkspaceFile("a/go.mod"); got != want { -- t.Fatalf("TestNewDepWithUnusedDep failed:\n%s", tests.Diff(t, want, got)) -- } +- // Now check that we got different diagnostics in each environment. +- env1.Await(env1.DiagnosticAtRegexp("main.go", "Printl")) +- env2.Await(env2.DiagnosticAtRegexp("main.go", "$")) - }) -} - --// TODO: For this test to be effective, the sandbox's file watcher must respect --// the file watching GlobPattern in the capability registration. See --// golang/go#39384. --func TestModuleChangesOnDisk(t *testing.T) { -- testenv.NeedsGo1Point(t, 14) +-func TestShutdown(t *testing.T) { +- runShared(t, func(env1 *Env, env2 *Env) { +- env1.CloseEditor() +- // Now make an edit in editor #2 to trigger diagnostics. +- env2.OpenFile("main.go") +- env2.RegexpReplace("main.go", "\\)\n(})", "") +- env2.Await(env2.DiagnosticAtRegexp("main.go", "$")) +- }) +-} +diff -urN a/gopls/internal/regtest/misc/template_test.go b/gopls/internal/regtest/misc/template_test.go +--- a/gopls/internal/regtest/misc/template_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/misc/template_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,72 +0,0 @@ +-// Copyright 2021 The Go Authors. All rights reserved. +-// Use of this source code is governed by a BSD-style +-// license that can be found in the LICENSE file. - -- const mod = ` ---- a/go.mod -- +-package misc +- +-import ( +- "strings" +- "testing" +- +- "golang.org/x/tools/internal/lsp/protocol" +- . "golang.org/x/tools/internal/lsp/regtest" +-) +- +-const filesA = ` +--- go.mod -- -module mod.com - -go 1.12 +--- b.gotmpl -- +-{{define "A"}}goo{{end}} +--- a.tmpl -- +-{{template "A"}} +-` - --require example.com v1.2.3 ---- a/go.sum -- --example.com v1.2.3 h1:ihBTGWGjTU3V4ZJ9OmHITkU9WQ4lGdQkMjgyLFk0FaY= --example.com v1.2.3/go.mod h1:Y2Rc5rVWjWur0h3pd9aEvK5Pof8YKDANh9gHA2Maujo= ---- a/main.go -- --package main +-func TestSuffixes(t *testing.T) { +- WithOptions( +- EditorConfig{ +- AllExperiments: true, +- }, +- ).Run(t, filesA, func(t *testing.T, env *Env) { +- env.OpenFile("a.tmpl") +- x := env.RegexpSearch("a.tmpl", `A`) +- file, pos := env.GoToDefinition("a.tmpl", x) +- refs := env.References(file, pos) +- if len(refs) != 2 { +- t.Fatalf("got %v reference(s), want 2", len(refs)) +- } +- // make sure we got one from b.gotmpl +- want := env.Sandbox.Workdir.URI("b.gotmpl") +- if refs[0].URI != want && refs[1].URI != want { +- t.Errorf("failed to find reference to %s", shorten(want)) +- for i, r := range refs { +- t.Logf("%d: URI:%s %v", i, shorten(r.URI), r.Range) +- } +- } - --func main() { -- fmt.Println(blah.Name) --` -- runMultiple{ -- {"default", withOptions(ProxyFiles(proxy), WorkspaceFolders("a"))}, -- {"nested", withOptions(ProxyFiles(proxy))}, -- }.run(t, mod, func(t *testing.T, env *Env) { -- env.Await(env.DiagnosticAtRegexp("a/go.mod", "require")) -- env.RunGoCommandInDir("a", "mod", "tidy") -- env.Await( -- EmptyDiagnostics("a/go.mod"), -- ) +- content, npos := env.Hover(file, pos) +- if pos != npos { +- t.Errorf("pos? got %v, wanted %v", npos, pos) +- } +- if content.Value != "template A defined" { +- t.Errorf("got %s, wanted 'template A defined", content.Value) +- } - }) -} - --// Tests golang/go#39784: a missing indirect dependency, necessary --// due to blah@v2.0.0's incomplete go.mod file. --func TestBadlyVersionedModule(t *testing.T) { -- testenv.NeedsGo1Point(t, 14) +-// shorten long URIs +-func shorten(fn protocol.DocumentURI) string { +- if len(fn) <= 20 { +- return string(fn) +- } +- pieces := strings.Split(string(fn), "/") +- if len(pieces) < 2 { +- return string(fn) +- } +- j := len(pieces) +- return pieces[j-2] + "/" + pieces[j-1] +-} - -- const proxy = ` ---- example.com/blah/@v/v1.0.0.mod -- --module example.com +-// Hover, SemTok, Diagnose with errors +-// and better coverage +diff -urN a/gopls/internal/regtest/misc/vendor_test.go b/gopls/internal/regtest/misc/vendor_test.go +--- a/gopls/internal/regtest/misc/vendor_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/misc/vendor_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,69 +0,0 @@ +-// Copyright 2020 The Go Authors. All rights reserved. +-// Use of this source code is governed by a BSD-style +-// license that can be found in the LICENSE file. - --go 1.12 ---- example.com/blah@v1.0.0/blah.go -- --package blah +-package misc - --const Name = "Blah" ---- example.com/blah/v2/@v/v2.0.0.mod -- --module example.com +-import ( +- "testing" - --go 1.12 ---- example.com/blah/v2@v2.0.0/blah.go -- --package blah +- . "golang.org/x/tools/internal/lsp/regtest" - --import "example.com/blah" +- "golang.org/x/tools/internal/lsp/protocol" +- "golang.org/x/tools/internal/testenv" +-) - --var _ = blah.Name --const Name = "Blah" +-const basicProxy = ` +--- golang.org/x/hello@v1.2.3/go.mod -- +-module golang.org/x/hello +- +-go 1.14 +--- golang.org/x/hello@v1.2.3/hi/hi.go -- +-package hi +- +-var Goodbye error -` -- const files = ` ---- a/go.mod -- +- +-func TestInconsistentVendoring(t *testing.T) { +- testenv.NeedsGo1Point(t, 14) +- +- const pkgThatUsesVendoring = ` +--- go.mod -- -module mod.com - --go 1.12 +-go 1.14 - --require example.com/blah/v2 v2.0.0 ---- a/go.sum -- --example.com/blah v1.0.0 h1:kGPlWJbMsn1P31H9xp/q2mYI32cxLnCvauHN0AVaHnc= --example.com/blah v1.0.0/go.mod h1:PZUQaGFeVjyDmAE8ywmLbmDn3fj4Ws8epg4oLuDzW3M= --example.com/blah/v2 v2.0.0 h1:w5baE9JuuU11s3de3yWx2sU05AhNkgLYdZ4qukv+V0k= --example.com/blah/v2 v2.0.0/go.mod h1:UZiKbTwobERo/hrqFLvIQlJwQZQGxWMVY4xere8mj7w= ---- a/main.go -- --package main +-require golang.org/x/hello v1.2.3 +--- go.sum -- +-golang.org/x/hello v1.2.3 h1:EcMp5gSkIhaTkPXp8/3+VH+IFqTpk3ZbpOhqk0Ncmho= +-golang.org/x/hello v1.2.3/go.mod h1:WW7ER2MRNXWA6c8/4bDIek4Hc/+DofTrMaQQitGXcco= +--- vendor/modules.txt -- +--- a/a1.go -- +-package a - --import "example.com/blah/v2" +-import "golang.org/x/hello/hi" - --var _ = blah.Name +-func _() { +- _ = hi.Goodbye +- var q int // hardcode a diagnostic +-} -` -- runMultiple{ -- {"default", withOptions(ProxyFiles(proxy), WorkspaceFolders("a"))}, -- {"nested", withOptions(ProxyFiles(proxy))}, -- }.run(t, files, func(t *testing.T, env *Env) { -- env.OpenFile("a/main.go") -- env.OpenFile("a/go.mod") -- var d protocol.PublishDiagnosticsParams +- WithOptions( +- Modes(Singleton), +- ProxyFiles(basicProxy), +- ).Run(t, pkgThatUsesVendoring, func(t *testing.T, env *Env) { +- env.OpenFile("a/a1.go") +- d := &protocol.PublishDiagnosticsParams{} - env.Await( - OnceMet( -- DiagnosticAt("a/go.mod", 0, 0), -- ReadDiagnostics("a/go.mod", &d), +- env.DiagnosticAtRegexpWithMessage("go.mod", "module mod.com", "Inconsistent vendoring"), +- ReadDiagnostics("go.mod", d), - ), - ) -- env.ApplyQuickFixes("a/main.go", d.Diagnostics) -- const want = `module mod.com -- --go 1.12 +- env.ApplyQuickFixes("go.mod", d.Diagnostics) - --require ( -- example.com/blah v1.0.0 // indirect -- example.com/blah/v2 v2.0.0 --) --` -- env.Await(EmptyDiagnostics("a/go.mod")) -- if got := env.Editor.BufferText("a/go.mod"); got != want { -- t.Fatalf("suggested fixes failed:\n%s", tests.Diff(t, want, got)) -- } +- env.Await( +- env.DiagnosticAtRegexpWithMessage("a/a1.go", `q int`, "not used"), +- ) - }) -} +diff -urN a/gopls/internal/regtest/modfile/modfile_test.go b/gopls/internal/regtest/modfile/modfile_test.go +--- a/gopls/internal/regtest/modfile/modfile_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/modfile/modfile_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,1117 +0,0 @@ +-// Copyright 2020 The Go Authors. All rights reserved. +-// Use of this source code is governed by a BSD-style +-// license that can be found in the LICENSE file. - --// Reproduces golang/go#38232. --func TestUnknownRevision(t *testing.T) { -- testenv.NeedsGo1Point(t, 14) +-package modfile - -- const unknown = ` ---- a/go.mod -- --module mod.com +-import ( +- "path/filepath" +- "strings" +- "testing" - --require ( -- example.com v1.2.2 --) ---- a/main.go -- --package main +- "golang.org/x/tools/gopls/internal/hooks" +- . "golang.org/x/tools/internal/lsp/regtest" - --import "example.com/blah" +- "golang.org/x/tools/internal/lsp/protocol" +- "golang.org/x/tools/internal/lsp/tests" +- "golang.org/x/tools/internal/testenv" +-) - --func main() { -- var x = blah.Name +-func TestMain(m *testing.M) { +- Main(m, hooks.Options) -} --` -- -- runner := runMultiple{ -- {"default", withOptions(ProxyFiles(proxy), WorkspaceFolders("a"))}, -- {"nested", withOptions(ProxyFiles(proxy))}, -- } -- // Start from a bad state/bad IWL, and confirm that we recover. -- t.Run("bad", func(t *testing.T) { -- runner.run(t, unknown, func(t *testing.T, env *Env) { -- env.OpenFile("a/go.mod") -- env.Await( -- env.DiagnosticAtRegexp("a/go.mod", "example.com v1.2.2"), -- ) -- env.RegexpReplace("a/go.mod", "v1.2.2", "v1.2.3") -- env.Editor.SaveBuffer(env.Ctx, "a/go.mod") // go.mod changes must be on disk -- -- d := protocol.PublishDiagnosticsParams{} -- env.Await( -- OnceMet( -- env.DiagnosticAtRegexpWithMessage("a/go.mod", "example.com v1.2.3", "example.com@v1.2.3"), -- ReadDiagnostics("a/go.mod", &d), -- ), -- ) -- env.ApplyQuickFixes("a/go.mod", d.Diagnostics) - -- env.Await( -- EmptyDiagnostics("a/go.mod"), -- env.DiagnosticAtRegexp("a/main.go", "x = "), -- ) -- }) -- }) +-const workspaceProxy = ` +--- example.com@v1.2.3/go.mod -- +-module example.com - -- const known = ` ---- a/go.mod -- --module mod.com +-go 1.12 +--- example.com@v1.2.3/blah/blah.go -- +-package blah - --require ( -- example.com v1.2.3 --) ---- a/go.sum -- --example.com v1.2.3 h1:ihBTGWGjTU3V4ZJ9OmHITkU9WQ4lGdQkMjgyLFk0FaY= --example.com v1.2.3/go.mod h1:Y2Rc5rVWjWur0h3pd9aEvK5Pof8YKDANh9gHA2Maujo= ---- a/main.go -- --package main +-func SaySomething() { +- fmt.Println("something") +-} +--- random.org@v1.2.3/go.mod -- +-module random.org - --import "example.com/blah" +-go 1.12 +--- random.org@v1.2.3/bye/bye.go -- +-package bye - --func main() { -- var x = blah.Name +-func Goodbye() { +- println("Bye") -} -` -- // Start from a good state, transform to a bad state, and confirm that we -- // still recover. -- t.Run("good", func(t *testing.T) { -- runner.run(t, known, func(t *testing.T, env *Env) { -- env.OpenFile("a/go.mod") -- env.Await( -- env.DiagnosticAtRegexp("a/main.go", "x = "), -- ) -- env.RegexpReplace("a/go.mod", "v1.2.3", "v1.2.2") -- env.Editor.SaveBuffer(env.Ctx, "a/go.mod") // go.mod changes must be on disk -- env.Await( -- env.DiagnosticAtRegexp("a/go.mod", "example.com v1.2.2"), -- ) -- env.RegexpReplace("a/go.mod", "v1.2.2", "v1.2.3") -- env.Editor.SaveBuffer(env.Ctx, "a/go.mod") // go.mod changes must be on disk -- env.Await( -- env.DiagnosticAtRegexp("a/main.go", "x = "), -- ) -- }) -- }) --} -- --// Confirm that an error in an indirect dependency of a requirement is surfaced --// as a diagnostic in the go.mod file. --func TestErrorInIndirectDependency(t *testing.T) { -- testenv.NeedsGo1Point(t, 14) - -- const badProxy = ` +-const proxy = ` --- example.com@v1.2.3/go.mod -- -module example.com - -go 1.12 -- --require random.org v1.2.3 // indirect --- example.com@v1.2.3/blah/blah.go -- -package blah - -const Name = "Blah" --- random.org@v1.2.3/go.mod -- --module bob.org +-module random.org - -go 1.12 --- random.org@v1.2.3/blah/blah.go -- @@ -10892,13 +10932,14 @@ diff -urN a/gopls/internal/regtest/modfile_test.go b/gopls/internal/regtest/modf - -const Name = "Hello" -` -- const module = ` +- +-func TestModFileModification(t *testing.T) { +- testenv.NeedsGo1Point(t, 14) +- +- const untidyModule = ` --- a/go.mod -- -module mod.com - --go 1.14 -- --require example.com v1.2.3 --- a/main.go -- -package main - @@ -10908,1298 +10949,1046 @@ diff -urN a/gopls/internal/regtest/modfile_test.go b/gopls/internal/regtest/modf - println(blah.Name) -} -` -- runMultiple{ -- {"default", withOptions(ProxyFiles(badProxy), WorkspaceFolders("a"))}, -- {"nested", withOptions(ProxyFiles(badProxy))}, -- }.run(t, module, func(t *testing.T, env *Env) { -- env.OpenFile("a/go.mod") -- env.Await( -- env.DiagnosticAtRegexp("a/go.mod", "require example.com v1.2.3"), -- ) +- +- runner := RunMultiple{ +- {"default", WithOptions(ProxyFiles(proxy), WorkspaceFolders("a"))}, +- {"nested", WithOptions(ProxyFiles(proxy))}, +- } +- +- t.Run("basic", func(t *testing.T) { +- runner.Run(t, untidyModule, func(t *testing.T, env *Env) { +- // Open the file and make sure that the initial workspace load does not +- // modify the go.mod file. +- goModContent := env.ReadWorkspaceFile("a/go.mod") +- env.OpenFile("a/main.go") +- env.Await( +- env.DiagnosticAtRegexp("a/main.go", "\"example.com/blah\""), +- ) +- if got := env.ReadWorkspaceFile("a/go.mod"); got != goModContent { +- t.Fatalf("go.mod changed on disk:\n%s", tests.Diff(t, goModContent, got)) +- } +- // Save the buffer, which will format and organize imports. +- // Confirm that the go.mod file still does not change. +- env.SaveBuffer("a/main.go") +- env.Await( +- env.DiagnosticAtRegexp("a/main.go", "\"example.com/blah\""), +- ) +- if got := env.ReadWorkspaceFile("a/go.mod"); got != goModContent { +- t.Fatalf("go.mod changed on disk:\n%s", tests.Diff(t, goModContent, got)) +- } +- }) - }) --} - --// A copy of govim's config_set_env_goflags_mod_readonly test. --func TestGovimModReadonly(t *testing.T) { -- const mod = ` ---- go.mod -- --module mod.com +- // Reproduce golang/go#40269 by deleting and recreating main.go. +- t.Run("delete main.go", func(t *testing.T) { +- t.Skip("This test will be flaky until golang/go#40269 is resolved.") - --go 1.13 ---- main.go -- --package main +- runner.Run(t, untidyModule, func(t *testing.T, env *Env) { +- goModContent := env.ReadWorkspaceFile("a/go.mod") +- mainContent := env.ReadWorkspaceFile("a/main.go") +- env.OpenFile("a/main.go") +- env.SaveBuffer("a/main.go") - --import "example.com/blah" +- env.RemoveWorkspaceFile("a/main.go") +- env.Await( +- env.DoneWithOpen(), +- env.DoneWithSave(), +- env.DoneWithChangeWatchedFiles(), +- ) - --func main() { -- println(blah.Name) --} --` -- withOptions( -- EditorConfig{ -- Env: map[string]string{ -- "GOFLAGS": "-mod=readonly", -- }, -- }, -- ProxyFiles(proxy), -- Modes(Singleton), -- ).run(t, mod, func(t *testing.T, env *Env) { -- env.OpenFile("main.go") -- original := env.ReadWorkspaceFile("go.mod") -- env.Await( -- env.DiagnosticAtRegexp("main.go", `"example.com/blah"`), -- ) -- got := env.ReadWorkspaceFile("go.mod") -- if got != original { -- t.Fatalf("go.mod file modified:\n%s", tests.Diff(t, original, got)) -- } -- env.RunGoCommand("get", "example.com/blah@v1.2.3") -- env.RunGoCommand("mod", "tidy") -- env.Await( -- EmptyDiagnostics("main.go"), -- ) +- env.WriteWorkspaceFile("main.go", mainContent) +- env.Await( +- env.DiagnosticAtRegexp("main.go", "\"example.com/blah\""), +- ) +- if got := env.ReadWorkspaceFile("go.mod"); got != goModContent { +- t.Fatalf("go.mod changed on disk:\n%s", tests.Diff(t, goModContent, got)) +- } +- }) - }) -} - --func TestMultiModuleModDiagnostics(t *testing.T) { +-func TestGoGetFix(t *testing.T) { - testenv.NeedsGo1Point(t, 14) -- - const mod = ` ---- a/go.mod -- --module mod.com -- --go 1.14 -- --require ( -- example.com v1.2.3 --) ---- a/main.go -- --package main -- --func main() {} ---- b/go.mod -- +--- a/go.mod -- -module mod.com - --go 1.14 ---- b/main.go -- +-go 1.12 +- +--- a/main.go -- -package main - -import "example.com/blah" - --func main() { -- blah.SaySomething() --} +-var _ = blah.Name -` -- withOptions( -- ProxyFiles(workspaceProxy), -- Modes(Experimental), -- ).run(t, mod, func(t *testing.T, env *Env) { +- +- const want = `module mod.com +- +-go 1.12 +- +-require example.com v1.2.3 +-` +- +- RunMultiple{ +- {"default", WithOptions(ProxyFiles(proxy), WorkspaceFolders("a"))}, +- {"nested", WithOptions(ProxyFiles(proxy))}, +- }.Run(t, mod, func(t *testing.T, env *Env) { +- if strings.Contains(t.Name(), "workspace_module") { +- t.Skip("workspace module mode doesn't set -mod=readonly") +- } +- env.OpenFile("a/main.go") +- var d protocol.PublishDiagnosticsParams - env.Await( -- env.DiagnosticAtRegexp("a/go.mod", "example.com v1.2.3"), -- env.DiagnosticAtRegexp("b/go.mod", "module mod.com"), +- OnceMet( +- env.DiagnosticAtRegexp("a/main.go", `"example.com/blah"`), +- ReadDiagnostics("a/main.go", &d), +- ), - ) +- var goGetDiag protocol.Diagnostic +- for _, diag := range d.Diagnostics { +- if strings.Contains(diag.Message, "could not import") { +- goGetDiag = diag +- } +- } +- env.ApplyQuickFixes("a/main.go", []protocol.Diagnostic{goGetDiag}) +- if got := env.ReadWorkspaceFile("a/go.mod"); got != want { +- t.Fatalf("unexpected go.mod content:\n%s", tests.Diff(t, want, got)) +- } - }) -} - --func TestModTidyWithBuildTags(t *testing.T) { +-// Tests that multiple missing dependencies gives good single fixes. +-func TestMissingDependencyFixes(t *testing.T) { - testenv.NeedsGo1Point(t, 14) -- - const mod = ` ---- go.mod -- +--- a/go.mod -- -module mod.com - --go 1.14 ---- main.go -- --// +build bob +-go 1.12 - +--- a/main.go -- -package main - -import "example.com/blah" +-import "random.org/blah" - --func main() { -- blah.SaySomething() --} +-var _, _ = blah.Name, hello.Name -` -- withOptions( -- ProxyFiles(workspaceProxy), -- EditorConfig{ -- BuildFlags: []string{"-tags", "bob"}, -- }, -- ).run(t, mod, func(t *testing.T, env *Env) { -- env.Await( -- env.DiagnosticAtRegexp("main.go", `"example.com/blah"`), -- ) -- }) --} - --func TestModTypoDiagnostic(t *testing.T) { -- const mod = ` ---- go.mod -- --module mod.com +- const want = `module mod.com - -go 1.12 ---- main.go -- --package main - --func main() {} +-require random.org v1.2.3 -` -- run(t, mod, func(t *testing.T, env *Env) { -- env.OpenFile("go.mod") -- env.RegexpReplace("go.mod", "module", "modul") +- +- RunMultiple{ +- {"default", WithOptions(ProxyFiles(proxy), WorkspaceFolders("a"))}, +- {"nested", WithOptions(ProxyFiles(proxy))}, +- }.Run(t, mod, func(t *testing.T, env *Env) { +- env.OpenFile("a/main.go") +- var d protocol.PublishDiagnosticsParams - env.Await( -- env.DiagnosticAtRegexp("go.mod", "modul"), +- OnceMet( +- env.DiagnosticAtRegexp("a/main.go", `"random.org/blah"`), +- ReadDiagnostics("a/main.go", &d), +- ), - ) +- var randomDiag protocol.Diagnostic +- for _, diag := range d.Diagnostics { +- if strings.Contains(diag.Message, "random.org") { +- randomDiag = diag +- } +- } +- env.ApplyQuickFixes("a/main.go", []protocol.Diagnostic{randomDiag}) +- if got := env.ReadWorkspaceFile("a/go.mod"); got != want { +- t.Fatalf("unexpected go.mod content:\n%s", tests.Diff(t, want, got)) +- } - }) -} - --func TestSumUpdateFixesDiagnostics(t *testing.T) { +-func TestIndirectDependencyFix(t *testing.T) { - testenv.NeedsGo1Point(t, 14) - - const mod = ` ---- go.mod -- +--- a/go.mod -- -module mod.com - -go 1.12 - --require ( -- example.com v1.2.3 --) ---- go.sum -- ---- main.go -- +-require example.com v1.2.3 // indirect +--- a/go.sum -- +-example.com v1.2.3 h1:ihBTGWGjTU3V4ZJ9OmHITkU9WQ4lGdQkMjgyLFk0FaY= +-example.com v1.2.3/go.mod h1:Y2Rc5rVWjWur0h3pd9aEvK5Pof8YKDANh9gHA2Maujo= +--- a/main.go -- -package main - --import ( -- "example.com/blah" --) +-import "example.com/blah" - -func main() { -- println(blah.Name) --} +- fmt.Println(blah.Name) -` -- withOptions( -- Modes(Singleton), // workspace modules don't use -mod=readonly (golang/go#43346) -- ProxyFiles(workspaceProxy), -- ).run(t, mod, func(t *testing.T, env *Env) { -- d := &protocol.PublishDiagnosticsParams{} -- env.OpenFile("go.mod") +- const want = `module mod.com +- +-go 1.12 +- +-require example.com v1.2.3 +-` +- +- RunMultiple{ +- {"default", WithOptions(ProxyFiles(proxy), WorkspaceFolders("a"))}, +- {"nested", WithOptions(ProxyFiles(proxy))}, +- }.Run(t, mod, func(t *testing.T, env *Env) { +- env.OpenFile("a/go.mod") +- var d protocol.PublishDiagnosticsParams - env.Await( - OnceMet( -- DiagnosticAt("go.mod", 0, 0), -- ReadDiagnostics("go.mod", d), +- env.DiagnosticAtRegexp("a/go.mod", "// indirect"), +- ReadDiagnostics("a/go.mod", &d), - ), - ) -- env.ApplyQuickFixes("go.mod", d.Diagnostics) -- env.Await( -- EmptyDiagnostics("go.mod"), -- ) +- env.ApplyQuickFixes("a/go.mod", d.Diagnostics) +- if got := env.Editor.BufferText("a/go.mod"); got != want { +- t.Fatalf("unexpected go.mod content:\n%s", tests.Diff(t, want, got)) +- } - }) -} - --// This test confirms that editing a go.mod file only causes metadata --// to be invalidated when it's saved. --func TestGoModInvalidatesOnSave(t *testing.T) { -- const mod = ` ---- go.mod -- --module mod.com +-func TestUnusedDiag(t *testing.T) { +- testenv.NeedsGo1Point(t, 14) - --go 1.12 ---- main.go -- +- const proxy = ` +--- example.com@v1.0.0/x.go -- +-package pkg +-const X = 1 +-` +- const files = ` +--- a/go.mod -- +-module mod.com +-go 1.14 +-require example.com v1.0.0 +--- a/go.sum -- +-example.com v1.0.0 h1:38O7j5rEBajXk+Q5wzLbRN7KqMkSgEiN9NqcM1O2bBM= +-example.com v1.0.0/go.mod h1:vUsPMGpx9ZXXzECCOsOmYCW7npJTwuA16yl89n3Mgls= +--- a/main.go -- -package main +-func main() {} +-` - --func main() { -- hello() --} ---- hello.go -- --package main +- const want = `module mod.com - --func hello() {} +-go 1.14 -` -- withOptions( -- // TODO(rFindley) this doesn't work in multi-module workspace mode, because -- // it keeps around the last parsing modfile. Update this test to also -- // exercise the workspace module. -- Modes(Singleton), -- ).run(t, mod, func(t *testing.T, env *Env) { -- env.OpenFile("go.mod") -- env.Await(CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidOpen), 1)) -- env.RegexpReplace("go.mod", "module", "modul") -- // Confirm that we still have metadata with only on-disk edits. -- env.OpenFile("main.go") -- file, _ := env.GoToDefinition("main.go", env.RegexpSearch("main.go", "hello")) -- if filepath.Base(file) != "hello.go" { -- t.Fatalf("expected definition in hello.go, got %s", file) -- } -- // Confirm that we no longer have metadata when the file is saved. -- env.SaveBufferWithoutActions("go.mod") -- _, _, err := env.Editor.GoToDefinition(env.Ctx, "main.go", env.RegexpSearch("main.go", "hello")) -- if err == nil { -- t.Fatalf("expected error, got none") +- +- RunMultiple{ +- {"default", WithOptions(ProxyFiles(proxy), WorkspaceFolders("a"))}, +- {"nested", WithOptions(ProxyFiles(proxy))}, +- }.Run(t, files, func(t *testing.T, env *Env) { +- env.OpenFile("a/go.mod") +- var d protocol.PublishDiagnosticsParams +- env.Await( +- OnceMet( +- env.DiagnosticAtRegexp("a/go.mod", `require example.com`), +- ReadDiagnostics("a/go.mod", &d), +- ), +- ) +- env.ApplyQuickFixes("a/go.mod", d.Diagnostics) +- if got := env.Editor.BufferText("a/go.mod"); got != want { +- t.Fatalf("unexpected go.mod content:\n%s", tests.Diff(t, want, got)) - } - }) -} - --func TestRemoveUnusedDependency(t *testing.T) { +-// Test to reproduce golang/go#39041. It adds a new require to a go.mod file +-// that already has an unused require. +-func TestNewDepWithUnusedDep(t *testing.T) { - testenv.NeedsGo1Point(t, 14) - - const proxy = ` ---- hasdep.com@v1.2.3/go.mod -- --module hasdep.com -- --go 1.12 -- --require example.com v1.2.3 ---- hasdep.com@v1.2.3/a/a.go -- --package a ---- example.com@v1.2.3/go.mod -- --module example.com -- --go 1.12 ---- example.com@v1.2.3/blah/blah.go -- --package blah -- --const Name = "Blah" ---- random.com@v1.2.3/go.mod -- --module random.com -- --go 1.12 ---- random.com@v1.2.3/blah/blah.go -- --package blah -- --const Name = "Blah" --` -- t.Run("almost tidied", func(t *testing.T) { -- const mod = ` ---- go.mod -- --module mod.com +--- github.com/esimov/caire@v1.2.5/go.mod -- +-module github.com/esimov/caire - -go 1.12 -- --require hasdep.com v1.2.3 ---- go.sum -- --example.com v1.2.3 h1:ihBTGWGjTU3V4ZJ9OmHITkU9WQ4lGdQkMjgyLFk0FaY= --example.com v1.2.3/go.mod h1:Y2Rc5rVWjWur0h3pd9aEvK5Pof8YKDANh9gHA2Maujo= --hasdep.com v1.2.3 h1:00y+N5oD+SpKoqV1zP2VOPawcW65Zb9NebANY3GSzGI= --hasdep.com v1.2.3/go.mod h1:ePVZOlez+KZEOejfLPGL2n4i8qiAjrkhQZ4wcImqAes= ---- main.go -- --package main -- --func main() {} --` -- withOptions( -- ProxyFiles(proxy), -- ).run(t, mod, func(t *testing.T, env *Env) { -- d := &protocol.PublishDiagnosticsParams{} -- env.Await( -- OnceMet( -- env.DiagnosticAtRegexp("go.mod", "require hasdep.com v1.2.3"), -- ReadDiagnostics("go.mod", d), -- ), -- ) -- const want = `module mod.com +--- github.com/esimov/caire@v1.2.5/caire.go -- +-package caire +- +-func RemoveTempImage() {} +--- google.golang.org/protobuf@v1.20.0/go.mod -- +-module google.golang.org/protobuf - -go 1.12 +--- google.golang.org/protobuf@v1.20.0/hello/hello.go -- +-package hello -` -- env.ApplyQuickFixes("go.mod", d.Diagnostics) -- if got := env.ReadWorkspaceFile("go.mod"); got != want { -- t.Fatalf("unexpected content in go.mod:\n%s", tests.Diff(t, want, got)) -- } -- }) -- }) -- -- t.Run("not tidied", func(t *testing.T) { -- const mod = ` ---- go.mod -- +- const repro = ` +--- a/go.mod -- -module mod.com - --go 1.12 +-go 1.14 - --require hasdep.com v1.2.3 --require random.com v1.2.3 ---- go.sum -- --example.com v1.2.3 h1:ihBTGWGjTU3V4ZJ9OmHITkU9WQ4lGdQkMjgyLFk0FaY= --example.com v1.2.3/go.mod h1:Y2Rc5rVWjWur0h3pd9aEvK5Pof8YKDANh9gHA2Maujo= --hasdep.com v1.2.3 h1:00y+N5oD+SpKoqV1zP2VOPawcW65Zb9NebANY3GSzGI= --hasdep.com v1.2.3/go.mod h1:ePVZOlez+KZEOejfLPGL2n4i8qiAjrkhQZ4wcImqAes= --random.com v1.2.3 h1:PzYTykzqqH6+qU0dIgh9iPFbfb4Mm8zNBjWWreRKtx0= --random.com v1.2.3/go.mod h1:8EGj+8a4Hw1clAp8vbaeHAsKE4sbm536FP7nKyXO+qQ= ---- main.go -- +-require google.golang.org/protobuf v1.20.0 +--- a/go.sum -- +-github.com/esimov/caire v1.2.5 h1:OcqDII/BYxcBYj3DuwDKjd+ANhRxRqLa2n69EGje7qw= +-github.com/esimov/caire v1.2.5/go.mod h1:mXnjRjg3+WUtuhfSC1rKRmdZU9vJZyS1ZWU0qSvJhK8= +-google.golang.org/protobuf v1.20.0 h1:y9T1vAtFKQg0faFNMOxJU7WuEqPWolVkjIkU6aI8qCY= +-google.golang.org/protobuf v1.20.0/go.mod h1:FcqsytGClbtLv1ot8NvsJHjBi0h22StKVP+K/j2liKA= +--- a/main.go -- -package main - --func main() {} --` -- withOptions( -- ProxyFiles(proxy), -- ).run(t, mod, func(t *testing.T, env *Env) { -- d := &protocol.PublishDiagnosticsParams{} -- env.OpenFile("go.mod") -- pos := env.RegexpSearch("go.mod", "require hasdep.com v1.2.3") -- env.Await( -- OnceMet( -- DiagnosticAt("go.mod", pos.Line, pos.Column), -- ReadDiagnostics("go.mod", d), -- ), -- ) -- const want = `module mod.com +-import ( +- "github.com/esimov/caire" +-) - --go 1.12 +-func _() { +- caire.RemoveTempImage() +-}` - --require random.com v1.2.3 +- RunMultiple{ +- {"default", WithOptions(ProxyFiles(proxy), WorkspaceFolders("a"))}, +- {"nested", WithOptions(ProxyFiles(proxy))}, +- }.Run(t, repro, func(t *testing.T, env *Env) { +- env.OpenFile("a/main.go") +- var d protocol.PublishDiagnosticsParams +- env.Await( +- OnceMet( +- env.DiagnosticAtRegexp("a/main.go", `"github.com/esimov/caire"`), +- ReadDiagnostics("a/main.go", &d), +- ), +- ) +- env.ApplyQuickFixes("a/main.go", d.Diagnostics) +- want := `module mod.com +- +-go 1.14 +- +-require ( +- github.com/esimov/caire v1.2.5 +- google.golang.org/protobuf v1.20.0 +-) -` -- var diagnostics []protocol.Diagnostic -- for _, d := range d.Diagnostics { -- if d.Range.Start.Line != float64(pos.Line) { -- continue -- } -- diagnostics = append(diagnostics, d) -- } -- env.ApplyQuickFixes("go.mod", diagnostics) -- if got := env.Editor.BufferText("go.mod"); got != want { -- t.Fatalf("unexpected content in go.mod:\n%s", tests.Diff(t, want, got)) -- } -- }) +- if got := env.ReadWorkspaceFile("a/go.mod"); got != want { +- t.Fatalf("TestNewDepWithUnusedDep failed:\n%s", tests.Diff(t, want, got)) +- } - }) -} - --func TestSumUpdateQuickFix(t *testing.T) { -- // Error messages changed in 1.16 that changed the diagnostic positions. -- testenv.NeedsGo1Point(t, 16) +-// TODO: For this test to be effective, the sandbox's file watcher must respect +-// the file watching GlobPattern in the capability registration. See +-// golang/go#39384. +-func TestModuleChangesOnDisk(t *testing.T) { +- testenv.NeedsGo1Point(t, 14) - - const mod = ` ---- go.mod -- +--- a/go.mod -- -module mod.com - -go 1.12 - --require ( -- example.com v1.2.3 --) ---- go.sum -- ---- main.go -- +-require example.com v1.2.3 +--- a/go.sum -- +-example.com v1.2.3 h1:ihBTGWGjTU3V4ZJ9OmHITkU9WQ4lGdQkMjgyLFk0FaY= +-example.com v1.2.3/go.mod h1:Y2Rc5rVWjWur0h3pd9aEvK5Pof8YKDANh9gHA2Maujo= +--- a/main.go -- -package main - --import ( -- "example.com/blah" --) -- -func main() { -- blah.Hello() --} +- fmt.Println(blah.Name) -` -- withOptions( -- ProxyFiles(workspaceProxy), -- Modes(Singleton), -- ).run(t, mod, func(t *testing.T, env *Env) { -- env.OpenFile("go.mod") -- pos := env.RegexpSearch("go.mod", "example.com") -- params := &protocol.PublishDiagnosticsParams{} +- RunMultiple{ +- {"default", WithOptions(ProxyFiles(proxy), WorkspaceFolders("a"))}, +- {"nested", WithOptions(ProxyFiles(proxy))}, +- }.Run(t, mod, func(t *testing.T, env *Env) { +- env.Await(env.DiagnosticAtRegexp("a/go.mod", "require")) +- env.RunGoCommandInDir("a", "mod", "tidy") - env.Await( -- OnceMet( -- env.DiagnosticAtRegexp("go.mod", "example.com"), -- ReadDiagnostics("go.mod", params), -- ), +- EmptyDiagnostics("a/go.mod"), - ) -- var diagnostic protocol.Diagnostic -- for _, d := range params.Diagnostics { -- if d.Range.Start.Line == float64(pos.Line) { -- diagnostic = d -- break -- } -- } -- env.ApplyQuickFixes("go.mod", []protocol.Diagnostic{diagnostic}) -- const want = `example.com v1.2.3 h1:Yryq11hF02fEf2JlOS2eph+ICE2/ceevGV3C9dl5V/c= --example.com v1.2.3/go.mod h1:Y2Rc5rVWjWur0h3pd9aEvK5Pof8YKDANh9gHA2Maujo= --` -- if got := env.ReadWorkspaceFile("go.sum"); got != want { -- t.Fatalf("unexpected go.sum contents:\n%s", tests.Diff(t, want, got)) -- } - }) -} -diff -urN a/gopls/internal/regtest/references_test.go b/gopls/internal/regtest/references_test.go ---- a/gopls/internal/regtest/references_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/references_test.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,42 +0,0 @@ --// Copyright 2020 The Go Authors. All rights reserved. --// Use of this source code is governed by a BSD-style --// license that can be found in the LICENSE file. - --package regtest +-// Tests golang/go#39784: a missing indirect dependency, necessary +-// due to blah@v2.0.0's incomplete go.mod file. +-func TestBadlyVersionedModule(t *testing.T) { +- testenv.NeedsGo1Point(t, 14) - --import ( -- "testing" --) +- const proxy = ` +--- example.com/blah/@v/v1.0.0.mod -- +-module example.com - --func TestStdlibReferences(t *testing.T) { +-go 1.12 +--- example.com/blah@v1.0.0/blah.go -- +-package blah +- +-const Name = "Blah" +--- example.com/blah/v2/@v/v2.0.0.mod -- +-module example.com +- +-go 1.12 +--- example.com/blah/v2@v2.0.0/blah.go -- +-package blah +- +-import "example.com/blah" +- +-var V1Name = blah.Name +-const Name = "Blah" +-` - const files = ` ---- go.mod -- +--- a/go.mod -- -module mod.com - -go 1.12 ---- main.go -- +- +-require example.com/blah/v2 v2.0.0 +--- a/go.sum -- +-example.com/blah v1.0.0 h1:kGPlWJbMsn1P31H9xp/q2mYI32cxLnCvauHN0AVaHnc= +-example.com/blah v1.0.0/go.mod h1:PZUQaGFeVjyDmAE8ywmLbmDn3fj4Ws8epg4oLuDzW3M= +-example.com/blah/v2 v2.0.0 h1:DNPsFPkKtTdxclRheaMCiYAoYizp6PuBzO0OmLOO0pY= +-example.com/blah/v2 v2.0.0/go.mod h1:UZiKbTwobERo/hrqFLvIQlJwQZQGxWMVY4xere8mj7w= +--- a/main.go -- -package main - --import "fmt" +-import "example.com/blah/v2" - --func main() { -- fmt.Print() --} +-var _ = blah.Name -` +- RunMultiple{ +- {"default", WithOptions(ProxyFiles(proxy), WorkspaceFolders("a"))}, +- {"nested", WithOptions(ProxyFiles(proxy))}, +- }.Run(t, files, func(t *testing.T, env *Env) { +- env.OpenFile("a/main.go") +- env.OpenFile("a/go.mod") +- env.Await( +- // We would like for the error to appear in the v2 module, but +- // as of writing non-workspace packages are not diagnosed. +- env.DiagnosticAtRegexpWithMessage("a/main.go", `"example.com/blah/v2"`, "cannot find module providing"), +- env.DiagnosticAtRegexpWithMessage("a/go.mod", `require example.com/blah/v2`, "cannot find module providing"), +- ) +- env.ApplyQuickFixes("a/go.mod", env.DiagnosticsFor("a/go.mod").Diagnostics) +- const want = `module mod.com - -- run(t, files, func(t *testing.T, env *Env) { -- env.OpenFile("main.go") -- file, pos := env.GoToDefinition("main.go", env.RegexpSearch("main.go", `fmt.(Print)`)) -- refs, err := env.Editor.References(env.Ctx, file, pos) -- if err != nil { -- t.Fatal(err) -- } -- if len(refs) != 2 { -- t.Fatalf("got %v reference(s), want 2", len(refs)) -- } -- // The first reference is guaranteed to be the definition. -- if got, want := refs[1].URI, env.Sandbox.Workdir.URI("main.go"); got != want { -- t.Errorf("found reference in %v, wanted %v", got, want) +-go 1.12 +- +-require ( +- example.com/blah v1.0.0 // indirect +- example.com/blah/v2 v2.0.0 +-) +-` +- env.SaveBuffer("a/go.mod") +- env.Await(EmptyDiagnostics("a/main.go")) +- if got := env.Editor.BufferText("a/go.mod"); got != want { +- t.Fatalf("suggested fixes failed:\n%s", tests.Diff(t, want, got)) - } - }) -} -diff -urN a/gopls/internal/regtest/reg_test.go b/gopls/internal/regtest/reg_test.go ---- a/gopls/internal/regtest/reg_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/reg_test.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,107 +0,0 @@ --// Copyright 2020 The Go Authors. All rights reserved. --// Use of this source code is governed by a BSD-style --// license that can be found in the LICENSE file. -- --package regtest - --import ( -- "context" -- "flag" -- "fmt" -- "io/ioutil" -- "os" -- "runtime" -- "testing" -- "time" +-// Reproduces golang/go#38232. +-func TestUnknownRevision(t *testing.T) { +- testenv.NeedsGo1Point(t, 14) - -- "golang.org/x/tools/internal/lsp/cmd" -- "golang.org/x/tools/internal/testenv" -- "golang.org/x/tools/internal/tool" --) +- const unknown = ` +--- a/go.mod -- +-module mod.com - --var ( -- runSubprocessTests = flag.Bool("enable_gopls_subprocess_tests", false, "run regtests against a gopls subprocess") -- goplsBinaryPath = flag.String("gopls_test_binary", "", "path to the gopls binary for use as a remote, for use with the -enable_gopls_subprocess_tests flag") -- regtestTimeout = flag.Duration("regtest_timeout", 20*time.Second, "default timeout for each regtest") -- skipCleanup = flag.Bool("regtest_skip_cleanup", false, "whether to skip cleaning up temp directories") -- printGoroutinesOnFailure = flag.Bool("regtest_print_goroutines", false, "whether to print goroutines info on failure") +-require ( +- example.com v1.2.2 -) +--- a/main.go -- +-package main - --var runner *Runner +-import "example.com/blah" - --type regtestRunner interface { -- run(t *testing.T, files string, f TestFunc) +-func main() { +- var x = blah.Name -} +-` - --func run(t *testing.T, files string, f TestFunc) { -- runner.Run(t, files, f) --} +- runner := RunMultiple{ +- {"default", WithOptions(ProxyFiles(proxy), WorkspaceFolders("a"))}, +- {"nested", WithOptions(ProxyFiles(proxy))}, +- } +- // Start from a bad state/bad IWL, and confirm that we recover. +- t.Run("bad", func(t *testing.T) { +- runner.Run(t, unknown, func(t *testing.T, env *Env) { +- env.OpenFile("a/go.mod") +- env.Await( +- env.DiagnosticAtRegexp("a/go.mod", "example.com v1.2.2"), +- ) +- env.RegexpReplace("a/go.mod", "v1.2.2", "v1.2.3") +- env.SaveBuffer("a/go.mod") // Save to trigger diagnostics. +- +- d := protocol.PublishDiagnosticsParams{} +- env.Await( +- OnceMet( +- // Make sure the diagnostic mentions the new version -- the old diagnostic is in the same place. +- env.DiagnosticAtRegexpWithMessage("a/go.mod", "example.com v1.2.3", "example.com@v1.2.3"), +- ReadDiagnostics("a/go.mod", &d), +- ), +- ) +- qfs := env.GetQuickFixes("a/go.mod", d.Diagnostics) +- if len(qfs) == 0 { +- t.Fatalf("got 0 code actions to fix %v, wanted at least 1", d.Diagnostics) +- } +- env.ApplyCodeAction(qfs[0]) // Arbitrarily pick a single fix to apply. Applying all of them seems to cause trouble in this particular test. +- env.SaveBuffer("a/go.mod") // Save to trigger diagnostics. +- env.Await( +- EmptyDiagnostics("a/go.mod"), +- env.DiagnosticAtRegexp("a/main.go", "x = "), +- ) +- }) +- }) - --func withOptions(opts ...RunOption) configuredRunner { -- return configuredRunner{opts: opts} --} +- const known = ` +--- a/go.mod -- +-module mod.com - --type configuredRunner struct { -- opts []RunOption --} +-require ( +- example.com v1.2.3 +-) +--- a/go.sum -- +-example.com v1.2.3 h1:ihBTGWGjTU3V4ZJ9OmHITkU9WQ4lGdQkMjgyLFk0FaY= +-example.com v1.2.3/go.mod h1:Y2Rc5rVWjWur0h3pd9aEvK5Pof8YKDANh9gHA2Maujo= +--- a/main.go -- +-package main - --func (r configuredRunner) run(t *testing.T, files string, f TestFunc) { -- runner.Run(t, files, f, r.opts...) --} +-import "example.com/blah" - --type runMultiple []struct { -- name string -- runner regtestRunner +-func main() { +- var x = blah.Name -} -- --func (r runMultiple) run(t *testing.T, files string, f TestFunc) { -- for _, runner := range r { -- t.Run(runner.name, func(t *testing.T) { -- runner.runner.run(t, files, f) +-` +- // Start from a good state, transform to a bad state, and confirm that we +- // still recover. +- t.Run("good", func(t *testing.T) { +- runner.Run(t, known, func(t *testing.T, env *Env) { +- env.OpenFile("a/go.mod") +- env.Await( +- env.DiagnosticAtRegexp("a/main.go", "x = "), +- ) +- env.RegexpReplace("a/go.mod", "v1.2.3", "v1.2.2") +- env.Editor.SaveBuffer(env.Ctx, "a/go.mod") // go.mod changes must be on disk +- env.Await( +- env.DiagnosticAtRegexp("a/go.mod", "example.com v1.2.2"), +- ) +- env.RegexpReplace("a/go.mod", "v1.2.2", "v1.2.3") +- env.Editor.SaveBuffer(env.Ctx, "a/go.mod") // go.mod changes must be on disk +- env.Await( +- env.DiagnosticAtRegexp("a/main.go", "x = "), +- ) - }) -- } +- }) -} --func TestMain(m *testing.M) { -- flag.Parse() -- if os.Getenv("_GOPLS_TEST_BINARY_RUN_AS_GOPLS") == "true" { -- tool.Main(context.Background(), cmd.New("gopls", "", nil, nil), os.Args[1:]) -- os.Exit(0) -- } - -- runner = &Runner{ -- DefaultModes: NormalModes, -- Timeout: *regtestTimeout, -- PrintGoroutinesOnFailure: *printGoroutinesOnFailure, -- SkipCleanup: *skipCleanup, -- } -- if *runSubprocessTests { -- goplsPath := *goplsBinaryPath -- if goplsPath == "" { -- var err error -- goplsPath, err = os.Executable() -- if err != nil { -- panic(fmt.Sprintf("finding test binary path: %v", err)) -- } -- } -- runner.DefaultModes = NormalModes | SeparateProcess -- runner.GoplsPath = goplsPath -- } -- dir, err := ioutil.TempDir("", "gopls-regtest-") -- if err != nil { -- panic(fmt.Errorf("creating regtest temp directory: %v", err)) -- } -- runner.TempDir = dir +-// Confirm that an error in an indirect dependency of a requirement is surfaced +-// as a diagnostic in the go.mod file. +-func TestErrorInIndirectDependency(t *testing.T) { +- testenv.NeedsGo1Point(t, 14) - -- code := m.Run() -- if err := runner.Close(); err != nil { -- fmt.Fprintf(os.Stderr, "closing test runner: %v\n", err) -- // Regtest cleanup is broken in go1.12 and earlier, and sometimes flakes on -- // Windows due to file locking, but this is OK for our CI. -- // -- // Fail on go1.13+, except for windows and android which have shutdown problems. -- if testenv.Go1Point() >= 13 && runtime.GOOS != "windows" && runtime.GOOS != "android" { -- os.Exit(1) -- } -- } -- os.Exit(code) --} -diff -urN a/gopls/internal/regtest/runner.go b/gopls/internal/regtest/runner.go ---- a/gopls/internal/regtest/runner.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/runner.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,486 +0,0 @@ --// Copyright 2020 The Go Authors. All rights reserved. --// Use of this source code is governed by a BSD-style --// license that can be found in the LICENSE file. +- const badProxy = ` +--- example.com@v1.2.3/go.mod -- +-module example.com - --package regtest +-go 1.12 - --import ( -- "bytes" -- "context" -- "fmt" -- exec "golang.org/x/sys/execabs" -- "io" -- "io/ioutil" -- "net" -- "os" -- "path/filepath" -- "runtime/pprof" -- "strings" -- "sync" -- "testing" -- "time" +-require random.org v1.2.3 // indirect +--- example.com@v1.2.3/blah/blah.go -- +-package blah - -- "golang.org/x/tools/gopls/internal/hooks" -- "golang.org/x/tools/internal/jsonrpc2" -- "golang.org/x/tools/internal/jsonrpc2/servertest" -- "golang.org/x/tools/internal/lsp/cache" -- "golang.org/x/tools/internal/lsp/debug" -- "golang.org/x/tools/internal/lsp/fake" -- "golang.org/x/tools/internal/lsp/lsprpc" -- "golang.org/x/tools/internal/lsp/protocol" -- "golang.org/x/tools/internal/lsp/source" --) +-const Name = "Blah" +--- random.org@v1.2.3/go.mod -- +-module bob.org - --// Mode is a bitmask that defines for which execution modes a test should run. --type Mode int +-go 1.12 +--- random.org@v1.2.3/blah/blah.go -- +-package hello - --const ( -- // Singleton mode uses a separate in-process gopls instance for each test, -- // and communicates over pipes to mimic the gopls sidecar execution mode, -- // which communicates over stdin/stderr. -- Singleton Mode = 1 << iota -- // Forwarded forwards connections to a shared in-process gopls instance. -- Forwarded -- // SeparateProcess forwards connection to a shared separate gopls process. -- SeparateProcess -- // Experimental enables all of the experimental configurations that are -- // being developed. Currently, it enables the workspace module. -- Experimental -- // NormalModes are the global default execution modes, when unmodified by -- // test flags or by individual test options. -- NormalModes = Singleton | Experimental --) +-const Name = "Hello" +-` +- const module = ` +--- a/go.mod -- +-module mod.com - --// A Runner runs tests in gopls execution environments, as specified by its --// modes. For modes that share state (for example, a shared cache or common --// remote), any tests that execute on the same Runner will share the same --// state. --type Runner struct { -- DefaultModes Mode -- Timeout time.Duration -- GoplsPath string -- PrintGoroutinesOnFailure bool -- TempDir string -- SkipCleanup bool +-go 1.14 - -- mu sync.Mutex -- ts *servertest.TCPServer -- socketDir string -- // closers is a queue of clean-up functions to run at the end of the entire -- // test suite. -- closers []io.Closer --} +-require example.com v1.2.3 +--- a/main.go -- +-package main - --type runConfig struct { -- editor fake.EditorConfig -- sandbox fake.SandboxConfig -- modes Mode -- timeout time.Duration -- debugAddr string -- skipLogs bool -- skipHooks bool --} +-import "example.com/blah" - --func (r *Runner) defaultConfig() *runConfig { -- return &runConfig{ -- modes: r.DefaultModes, -- timeout: r.Timeout, -- } +-func main() { +- println(blah.Name) -} -- --// A RunOption augments the behavior of the test runner. --type RunOption interface { -- set(*runConfig) +-` +- RunMultiple{ +- {"default", WithOptions(ProxyFiles(badProxy), WorkspaceFolders("a"))}, +- {"nested", WithOptions(ProxyFiles(badProxy))}, +- }.Run(t, module, func(t *testing.T, env *Env) { +- env.OpenFile("a/go.mod") +- env.Await( +- env.DiagnosticAtRegexp("a/go.mod", "require example.com v1.2.3"), +- ) +- }) -} - --type optionSetter func(*runConfig) -- --func (f optionSetter) set(opts *runConfig) { -- f(opts) --} +-// A copy of govim's config_set_env_goflags_mod_readonly test. +-func TestGovimModReadonly(t *testing.T) { +- const mod = ` +--- go.mod -- +-module mod.com - --// Timeout configures a custom timeout for this test run. --func Timeout(d time.Duration) RunOption { -- return optionSetter(func(opts *runConfig) { -- opts.timeout = d -- }) --} +-go 1.13 +--- main.go -- +-package main - --// ProxyFiles configures a file proxy using the given txtar-encoded string. --func ProxyFiles(txt string) RunOption { -- return optionSetter(func(opts *runConfig) { -- opts.sandbox.ProxyFiles = txt -- }) --} +-import "example.com/blah" - --// Modes configures the execution modes that the test should run in. --func Modes(modes Mode) RunOption { -- return optionSetter(func(opts *runConfig) { -- opts.modes = modes -- }) +-func main() { +- println(blah.Name) -} -- --func SendPID() RunOption { -- return optionSetter(func(opts *runConfig) { -- opts.editor.SendPID = true +-` +- WithOptions( +- EditorConfig{ +- Env: map[string]string{ +- "GOFLAGS": "-mod=readonly", +- }, +- }, +- ProxyFiles(proxy), +- Modes(Singleton), +- ).Run(t, mod, func(t *testing.T, env *Env) { +- env.OpenFile("main.go") +- original := env.ReadWorkspaceFile("go.mod") +- env.Await( +- env.DiagnosticAtRegexp("main.go", `"example.com/blah"`), +- ) +- got := env.ReadWorkspaceFile("go.mod") +- if got != original { +- t.Fatalf("go.mod file modified:\n%s", tests.Diff(t, original, got)) +- } +- env.RunGoCommand("get", "example.com/blah@v1.2.3") +- env.RunGoCommand("mod", "tidy") +- env.Await( +- EmptyDiagnostics("main.go"), +- ) - }) -} - --// EditorConfig is a RunOption option that configured the regtest editor. --type EditorConfig fake.EditorConfig +-func TestMultiModuleModDiagnostics(t *testing.T) { +- testenv.NeedsGo1Point(t, 14) - --func (c EditorConfig) set(opts *runConfig) { -- opts.editor = fake.EditorConfig(c) --} +- const mod = ` +--- a/go.mod -- +-module moda.com - --// WorkspaceFolders configures the workdir-relative workspace folders to send --// to the LSP server. By default the editor sends a single workspace folder --// corresponding to the workdir root. To explicitly configure no workspace --// folders, use WorkspaceFolders with no arguments. --func WorkspaceFolders(relFolders ...string) RunOption { -- if len(relFolders) == 0 { -- // Use an empty non-nil slice to signal explicitly no folders. -- relFolders = []string{} -- } -- return optionSetter(func(opts *runConfig) { -- opts.editor.WorkspaceFolders = relFolders -- }) --} +-go 1.14 - --// InGOPATH configures the workspace working directory to be GOPATH, rather --// than a separate working directory for use with modules. --func InGOPATH() RunOption { -- return optionSetter(func(opts *runConfig) { -- opts.sandbox.InGoPath = true -- }) --} +-require ( +- example.com v1.2.3 +-) +--- a/go.sum -- +-example.com v1.2.3 h1:Yryq11hF02fEf2JlOS2eph+ICE2/ceevGV3C9dl5V/c= +-example.com v1.2.3/go.mod h1:Y2Rc5rVWjWur0h3pd9aEvK5Pof8YKDANh9gHA2Maujo= +--- a/main.go -- +-package main - --// DebugAddress configures a debug server bound to addr. This option is --// currently only supported when executing in Singleton mode. It is intended to --// be used for long-running stress tests. --func DebugAddress(addr string) RunOption { -- return optionSetter(func(opts *runConfig) { -- opts.debugAddr = addr -- }) --} +-func main() {} +--- b/go.mod -- +-module modb.com - --// SkipLogs skips the buffering of logs during test execution. It is intended --// for long-running stress tests. --func SkipLogs() RunOption { -- return optionSetter(func(opts *runConfig) { -- opts.skipLogs = true -- }) --} +-require example.com v1.2.3 - --// InExistingDir runs the test in a pre-existing directory. If set, no initial --// files may be passed to the runner. It is intended for long-running stress --// tests. --func InExistingDir(dir string) RunOption { -- return optionSetter(func(opts *runConfig) { -- opts.sandbox.Workdir = dir -- }) --} +-go 1.14 +--- b/main.go -- +-package main - --// SkipHooks allows for disabling the test runner's client hooks that are used --// for instrumenting expectations (tracking diagnostics, logs, work done, --// etc.). It is intended for performance-sensitive stress tests or benchmarks. --func SkipHooks(skip bool) RunOption { -- return optionSetter(func(opts *runConfig) { -- opts.skipHooks = skip -- }) --} +-import "example.com/blah" - --// GOPROXY configures the test environment to have an explicit proxy value. --// This is intended for stress tests -- to ensure their isolation, regtests --// should instead use WithProxyFiles. --func GOPROXY(goproxy string) RunOption { -- return optionSetter(func(opts *runConfig) { -- opts.sandbox.GOPROXY = goproxy -- }) +-func main() { +- blah.SaySomething() -} -- --// LimitWorkspaceScope sets the LimitWorkspaceScope configuration. --func LimitWorkspaceScope() RunOption { -- return optionSetter(func(opts *runConfig) { -- opts.editor.LimitWorkspaceScope = true +-` +- WithOptions( +- ProxyFiles(workspaceProxy), +- Modes(Experimental), +- ).Run(t, mod, func(t *testing.T, env *Env) { +- env.Await( +- env.DiagnosticAtRegexpWithMessage("a/go.mod", "example.com v1.2.3", "is not used"), +- ) - }) -} - --type TestFunc func(t *testing.T, env *Env) -- --// Run executes the test function in the default configured gopls execution --// modes. For each a test run, a new workspace is created containing the --// un-txtared files specified by filedata. --func (r *Runner) Run(t *testing.T, files string, test TestFunc, opts ...RunOption) { -- t.Helper() -- checkBuilder(t) -- -- tests := []struct { -- name string -- mode Mode -- getServer func(context.Context, *testing.T) jsonrpc2.StreamServer -- }{ -- {"singleton", Singleton, singletonServer}, -- {"forwarded", Forwarded, r.forwardedServer}, -- {"separate_process", SeparateProcess, r.separateProcessServer}, -- {"experimental_workspace_module", Experimental, experimentalWorkspaceModule}, -- } +-func TestModTidyWithBuildTags(t *testing.T) { +- testenv.NeedsGo1Point(t, 14) - -- for _, tc := range tests { -- tc := tc -- config := r.defaultConfig() -- for _, opt := range opts { -- opt.set(config) -- } -- if config.modes&tc.mode == 0 { -- continue -- } -- if config.debugAddr != "" && tc.mode != Singleton { -- // Debugging is useful for running stress tests, but since the daemon has -- // likely already been started, it would be too late to debug. -- t.Fatalf("debugging regtest servers only works in Singleton mode, "+ -- "got debug addr %q and mode %v", config.debugAddr, tc.mode) -- } +- const mod = ` +--- go.mod -- +-module mod.com - -- t.Run(tc.name, func(t *testing.T) { -- ctx, cancel := context.WithTimeout(context.Background(), config.timeout) -- defer cancel() -- ctx = debug.WithInstance(ctx, "", "off") -- if config.debugAddr != "" { -- di := debug.GetInstance(ctx) -- di.DebugAddress = config.debugAddr -- di.Serve(ctx) -- di.MonitorMemory(ctx) -- } +-go 1.14 +--- main.go -- +-// +build bob - -- rootDir := filepath.Join(r.TempDir, filepath.FromSlash(t.Name())) -- if err := os.MkdirAll(rootDir, 0755); err != nil { -- t.Fatal(err) -- } -- config.sandbox.Files = files -- config.sandbox.RootDir = rootDir -- sandbox, err := fake.NewSandbox(&config.sandbox) -- if err != nil { -- t.Fatal(err) -- } -- // Deferring the closure of ws until the end of the entire test suite -- // has, in testing, given the LSP server time to properly shutdown and -- // release any file locks held in workspace, which is a problem on -- // Windows. This may still be flaky however, and in the future we need a -- // better solution to ensure that all Go processes started by gopls have -- // exited before we clean up. -- r.AddCloser(sandbox) -- ss := tc.getServer(ctx, t) -- framer := jsonrpc2.NewRawStream -- ls := &loggingFramer{} -- if !config.skipLogs { -- framer = ls.framer(jsonrpc2.NewRawStream) -- } -- ts := servertest.NewPipeServer(ctx, ss, framer) -- env := NewEnv(ctx, t, sandbox, ts, config.editor, !config.skipHooks) -- defer func() { -- if t.Failed() && r.PrintGoroutinesOnFailure { -- pprof.Lookup("goroutine").WriteTo(os.Stderr, 1) -- } -- if t.Failed() || testing.Verbose() { -- ls.printBuffers(t.Name(), os.Stderr) -- } -- env.CloseEditor() -- }() -- // Always await the initial workspace load. -- env.Await(InitialWorkspaceLoad) -- test(t, env) -- }) -- } --} +-package main - --// longBuilders maps builders that are skipped when -short is set to a --// (possibly empty) justification. --var longBuilders = map[string]string{ -- "openbsd-amd64-64": "golang.org/issues/42789", -- "openbsd-386-64": "golang.org/issues/42789", -- "openbsd-386-68": "golang.org/issues/42789", -- "openbsd-amd64-68": "golang.org/issues/42789", -- "linux-arm": "golang.org/issues/43355", -- "darwin-amd64-10_12": "", -- "freebsd-amd64-race": "", -- "illumos-amd64": "", -- "netbsd-arm-bsiegert": "", -- "solaris-amd64-oraclerel": "", -- "windows-arm-zx2c4": "", -- "android-amd64-emu": "golang.org/issue/43554", --} +-import "example.com/blah" - --func checkBuilder(t *testing.T) { -- t.Helper() -- builder := os.Getenv("GO_BUILDER_NAME") -- if reason, ok := longBuilders[builder]; ok && testing.Short() { -- if reason != "" { -- t.Skipf("Skipping %s with -short due to %s", builder, reason) -- } else { -- t.Skipf("Skipping %s with -short", builder) -- } -- } +-func main() { +- blah.SaySomething() -} -- --type loggingFramer struct { -- mu sync.Mutex -- buf *safeBuffer +-` +- WithOptions( +- ProxyFiles(workspaceProxy), +- EditorConfig{ +- BuildFlags: []string{"-tags", "bob"}, +- }, +- ).Run(t, mod, func(t *testing.T, env *Env) { +- env.Await( +- env.DiagnosticAtRegexp("main.go", `"example.com/blah"`), +- ) +- }) -} - --// safeBuffer is a threadsafe buffer for logs. --type safeBuffer struct { -- mu sync.Mutex -- buf bytes.Buffer --} +-func TestModTypoDiagnostic(t *testing.T) { +- const mod = ` +--- go.mod -- +-module mod.com - --func (b *safeBuffer) Write(p []byte) (int, error) { -- b.mu.Lock() -- defer b.mu.Unlock() -- return b.buf.Write(p) --} +-go 1.12 +--- main.go -- +-package main - --func (s *loggingFramer) framer(f jsonrpc2.Framer) jsonrpc2.Framer { -- return func(nc net.Conn) jsonrpc2.Stream { -- s.mu.Lock() -- framed := false -- if s.buf == nil { -- s.buf = &safeBuffer{buf: bytes.Buffer{}} -- framed = true -- } -- s.mu.Unlock() -- stream := f(nc) -- if framed { -- return protocol.LoggingStream(stream, s.buf) -- } -- return stream -- } +-func main() {} +-` +- Run(t, mod, func(t *testing.T, env *Env) { +- env.OpenFile("go.mod") +- env.RegexpReplace("go.mod", "module", "modul") +- env.Await( +- env.DiagnosticAtRegexp("go.mod", "modul"), +- ) +- }) -} - --func (s *loggingFramer) printBuffers(testname string, w io.Writer) { -- s.mu.Lock() -- defer s.mu.Unlock() +-func TestSumUpdateFixesDiagnostics(t *testing.T) { +- testenv.NeedsGo1Point(t, 14) - -- if s.buf == nil { -- return -- } -- fmt.Fprintf(os.Stderr, "#### Start Gopls Test Logs for %q\n", testname) -- s.buf.mu.Lock() -- io.Copy(w, &s.buf.buf) -- s.buf.mu.Unlock() -- fmt.Fprintf(os.Stderr, "#### End Gopls Test Logs for %q\n", testname) --} +- const mod = ` +--- go.mod -- +-module mod.com - --func singletonServer(ctx context.Context, t *testing.T) jsonrpc2.StreamServer { -- return lsprpc.NewStreamServer(cache.New(ctx, hooks.Options), false) --} +-go 1.12 - --func experimentalWorkspaceModule(ctx context.Context, t *testing.T) jsonrpc2.StreamServer { -- options := func(o *source.Options) { -- hooks.Options(o) -- o.ExperimentalWorkspaceModule = true -- } -- return lsprpc.NewStreamServer(cache.New(ctx, options), false) --} +-require ( +- example.com v1.2.3 +-) +--- go.sum -- +--- main.go -- +-package main - --func (r *Runner) forwardedServer(ctx context.Context, t *testing.T) jsonrpc2.StreamServer { -- ts := r.getTestServer() -- return lsprpc.NewForwarder("tcp", ts.Addr) --} +-import ( +- "example.com/blah" +-) - --// getTestServer gets the shared test server instance to connect to, or creates --// one if it doesn't exist. --func (r *Runner) getTestServer() *servertest.TCPServer { -- r.mu.Lock() -- defer r.mu.Unlock() -- if r.ts == nil { -- ctx := context.Background() -- ctx = debug.WithInstance(ctx, "", "off") -- ss := lsprpc.NewStreamServer(cache.New(ctx, hooks.Options), false) -- r.ts = servertest.NewTCPServer(ctx, ss, nil) -- } -- return r.ts +-func main() { +- println(blah.Name) -} -- --func (r *Runner) separateProcessServer(ctx context.Context, t *testing.T) jsonrpc2.StreamServer { -- // TODO(rfindley): can we use the autostart behavior here, instead of -- // pre-starting the remote? -- socket := r.getRemoteSocket(t) -- return lsprpc.NewForwarder("unix", socket) +-` +- WithOptions( +- ProxyFiles(workspaceProxy), +- ).Run(t, mod, func(t *testing.T, env *Env) { +- d := &protocol.PublishDiagnosticsParams{} +- env.OpenFile("go.mod") +- env.Await( +- OnceMet( +- env.GoSumDiagnostic("go.mod", `example.com v1.2.3`), +- ReadDiagnostics("go.mod", d), +- ), +- ) +- env.ApplyQuickFixes("go.mod", d.Diagnostics) +- env.SaveBuffer("go.mod") // Save to trigger diagnostics. +- env.Await( +- EmptyDiagnostics("go.mod"), +- ) +- }) -} - --// runTestAsGoplsEnvvar triggers TestMain to run gopls instead of running --// tests. It's a trick to allow tests to find a binary to use to start a gopls --// subprocess. --const runTestAsGoplsEnvvar = "_GOPLS_TEST_BINARY_RUN_AS_GOPLS" -- --func (r *Runner) getRemoteSocket(t *testing.T) string { -- t.Helper() -- r.mu.Lock() -- defer r.mu.Unlock() -- const daemonFile = "gopls-test-daemon" -- if r.socketDir != "" { -- return filepath.Join(r.socketDir, daemonFile) -- } +-// This test confirms that editing a go.mod file only causes metadata +-// to be invalidated when it's saved. +-func TestGoModInvalidatesOnSave(t *testing.T) { +- const mod = ` +--- go.mod -- +-module mod.com - -- if r.GoplsPath == "" { -- t.Fatal("cannot run tests with a separate process unless a path to a gopls binary is configured") -- } -- var err error -- r.socketDir, err = ioutil.TempDir(r.TempDir, "gopls-regtest-socket") -- if err != nil { -- t.Fatalf("creating tempdir: %v", err) -- } -- socket := filepath.Join(r.socketDir, daemonFile) -- args := []string{"serve", "-listen", "unix;" + socket, "-listen.timeout", "10s"} -- cmd := exec.Command(r.GoplsPath, args...) -- cmd.Env = append(os.Environ(), runTestAsGoplsEnvvar+"=true") -- var stderr bytes.Buffer -- cmd.Stderr = &stderr -- go func() { -- if err := cmd.Run(); err != nil { -- panic(fmt.Sprintf("error running external gopls: %v\nstderr:\n%s", err, stderr.String())) -- } -- }() -- return socket --} +-go 1.12 +--- main.go -- +-package main - --// AddCloser schedules a closer to be closed at the end of the test run. This --// is useful for Windows in particular, as --func (r *Runner) AddCloser(closer io.Closer) { -- r.mu.Lock() -- defer r.mu.Unlock() -- r.closers = append(r.closers, closer) +-func main() { +- hello() -} +--- hello.go -- +-package main - --// Close cleans up resource that have been allocated to this workspace. --func (r *Runner) Close() error { -- r.mu.Lock() -- defer r.mu.Unlock() -- -- var errmsgs []string -- if r.ts != nil { -- if err := r.ts.Close(); err != nil { -- errmsgs = append(errmsgs, err.Error()) -- } -- } -- if r.socketDir != "" { -- if err := os.RemoveAll(r.socketDir); err != nil { -- errmsgs = append(errmsgs, err.Error()) -- } -- } -- if !r.SkipCleanup { -- for _, closer := range r.closers { -- if err := closer.Close(); err != nil { -- errmsgs = append(errmsgs, err.Error()) -- } +-func hello() {} +-` +- WithOptions( +- // TODO(rFindley) this doesn't work in multi-module workspace mode, because +- // it keeps around the last parsing modfile. Update this test to also +- // exercise the workspace module. +- Modes(Singleton), +- ).Run(t, mod, func(t *testing.T, env *Env) { +- env.OpenFile("go.mod") +- env.Await(env.DoneWithOpen()) +- env.RegexpReplace("go.mod", "module", "modul") +- // Confirm that we still have metadata with only on-disk edits. +- env.OpenFile("main.go") +- file, _ := env.GoToDefinition("main.go", env.RegexpSearch("main.go", "hello")) +- if filepath.Base(file) != "hello.go" { +- t.Fatalf("expected definition in hello.go, got %s", file) - } -- if err := os.RemoveAll(r.TempDir); err != nil { -- errmsgs = append(errmsgs, err.Error()) +- // Confirm that we no longer have metadata when the file is saved. +- env.SaveBufferWithoutActions("go.mod") +- _, _, err := env.Editor.GoToDefinition(env.Ctx, "main.go", env.RegexpSearch("main.go", "hello")) +- if err == nil { +- t.Fatalf("expected error, got none") - } -- } -- if len(errmsgs) > 0 { -- return fmt.Errorf("errors closing the test runner:\n\t%s", strings.Join(errmsgs, "\n\t")) -- } -- return nil +- }) -} -diff -urN a/gopls/internal/regtest/shared_test.go b/gopls/internal/regtest/shared_test.go ---- a/gopls/internal/regtest/shared_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/shared_test.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,59 +0,0 @@ --// Copyright 2020 The Go Authors. All rights reserved. --// Use of this source code is governed by a BSD-style --// license that can be found in the LICENSE file. - --package regtest +-func TestRemoveUnusedDependency(t *testing.T) { +- testenv.NeedsGo1Point(t, 14) - --import ( -- "testing" --) +- const proxy = ` +--- hasdep.com@v1.2.3/go.mod -- +-module hasdep.com - --const sharedProgram = ` ---- go.mod -- --module mod +-go 1.12 +- +-require example.com v1.2.3 +--- hasdep.com@v1.2.3/a/a.go -- +-package a +--- example.com@v1.2.3/go.mod -- +-module example.com - -go 1.12 ---- main.go -- --package main +--- example.com@v1.2.3/blah/blah.go -- +-package blah - --import "fmt" +-const Name = "Blah" +--- random.com@v1.2.3/go.mod -- +-module random.com - --func main() { -- fmt.Println("Hello World.") --}` +-go 1.12 +--- random.com@v1.2.3/blah/blah.go -- +-package blah - --func runShared(t *testing.T, program string, testFunc func(env1 *Env, env2 *Env)) { -- // Only run these tests in forwarded modes. -- modes := runner.DefaultModes & (Forwarded | SeparateProcess) -- runner.Run(t, sharedProgram, func(t *testing.T, env1 *Env) { -- // Create a second test session connected to the same workspace and server -- // as the first. -- env2 := NewEnv(env1.Ctx, t, env1.Sandbox, env1.Server, env1.Editor.Config, true) -- testFunc(env1, env2) -- }, Modes(modes)) --} +-const Name = "Blah" +-` +- t.Run("almost tidied", func(t *testing.T) { +- const mod = ` +--- go.mod -- +-module mod.com - --func TestSimultaneousEdits(t *testing.T) { -- runShared(t, exampleProgram, func(env1 *Env, env2 *Env) { -- // In editor #1, break fmt.Println as before. -- env1.OpenFile("main.go") -- env1.RegexpReplace("main.go", "Printl(n)", "") -- // In editor #2 remove the closing brace. -- env2.OpenFile("main.go") -- env2.RegexpReplace("main.go", "\\)\n(})", "") +-go 1.12 - -- // Now check that we got different diagnostics in each environment. -- env1.Await(env1.DiagnosticAtRegexp("main.go", "Printl")) -- env2.Await(env2.DiagnosticAtRegexp("main.go", "$")) -- }) --} +-require hasdep.com v1.2.3 +--- go.sum -- +-example.com v1.2.3 h1:ihBTGWGjTU3V4ZJ9OmHITkU9WQ4lGdQkMjgyLFk0FaY= +-example.com v1.2.3/go.mod h1:Y2Rc5rVWjWur0h3pd9aEvK5Pof8YKDANh9gHA2Maujo= +-hasdep.com v1.2.3 h1:00y+N5oD+SpKoqV1zP2VOPawcW65Zb9NebANY3GSzGI= +-hasdep.com v1.2.3/go.mod h1:ePVZOlez+KZEOejfLPGL2n4i8qiAjrkhQZ4wcImqAes= +--- main.go -- +-package main - --func TestShutdown(t *testing.T) { -- runShared(t, sharedProgram, func(env1 *Env, env2 *Env) { -- env1.CloseEditor() -- // Now make an edit in editor #2 to trigger diagnostics. -- env2.OpenFile("main.go") -- env2.RegexpReplace("main.go", "\\)\n(})", "") -- env2.Await(env2.DiagnosticAtRegexp("main.go", "$")) +-func main() {} +-` +- WithOptions( +- ProxyFiles(proxy), +- ).Run(t, mod, func(t *testing.T, env *Env) { +- env.OpenFile("go.mod") +- d := &protocol.PublishDiagnosticsParams{} +- env.Await( +- OnceMet( +- env.DiagnosticAtRegexp("go.mod", "require hasdep.com v1.2.3"), +- ReadDiagnostics("go.mod", d), +- ), +- ) +- const want = `module mod.com +- +-go 1.12 +-` +- env.ApplyQuickFixes("go.mod", d.Diagnostics) +- if got := env.Editor.BufferText("go.mod"); got != want { +- t.Fatalf("unexpected content in go.mod:\n%s", tests.Diff(t, want, got)) +- } +- }) - }) --} -diff -urN a/gopls/internal/regtest/stress_test.go b/gopls/internal/regtest/stress_test.go ---- a/gopls/internal/regtest/stress_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/stress_test.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,82 +0,0 @@ --// Copyright 2020 The Go Authors. All rights reserved. --// Use of this source code is governed by a BSD-style --// license that can be found in the LICENSE file. - --package regtest +- t.Run("not tidied", func(t *testing.T) { +- const mod = ` +--- go.mod -- +-module mod.com - --import ( -- "context" -- "flag" -- "fmt" -- "testing" -- "time" --) +-go 1.12 - --// Pilosa is a repository that has historically caused significant memory --// problems for Gopls. We use it for a simple stress test that types --// arbitrarily in a file with lots of dependents. +-require hasdep.com v1.2.3 +-require random.com v1.2.3 +--- go.sum -- +-example.com v1.2.3 h1:ihBTGWGjTU3V4ZJ9OmHITkU9WQ4lGdQkMjgyLFk0FaY= +-example.com v1.2.3/go.mod h1:Y2Rc5rVWjWur0h3pd9aEvK5Pof8YKDANh9gHA2Maujo= +-hasdep.com v1.2.3 h1:00y+N5oD+SpKoqV1zP2VOPawcW65Zb9NebANY3GSzGI= +-hasdep.com v1.2.3/go.mod h1:ePVZOlez+KZEOejfLPGL2n4i8qiAjrkhQZ4wcImqAes= +-random.com v1.2.3 h1:PzYTykzqqH6+qU0dIgh9iPFbfb4Mm8zNBjWWreRKtx0= +-random.com v1.2.3/go.mod h1:8EGj+8a4Hw1clAp8vbaeHAsKE4sbm536FP7nKyXO+qQ= +--- main.go -- +-package main - --var pilosaPath = flag.String("pilosa_path", "", "Path to a directory containing "+ -- "github.com/pilosa/pilosa, for stress testing. Do not set this unless you "+ -- "know what you're doing!") +-func main() {} +-` +- WithOptions( +- ProxyFiles(proxy), +- ).Run(t, mod, func(t *testing.T, env *Env) { +- d := &protocol.PublishDiagnosticsParams{} +- env.OpenFile("go.mod") +- pos := env.RegexpSearch("go.mod", "require hasdep.com v1.2.3") +- env.Await( +- OnceMet( +- DiagnosticAt("go.mod", pos.Line, pos.Column), +- ReadDiagnostics("go.mod", d), +- ), +- ) +- const want = `module mod.com - --func stressTestOptions(dir string) []RunOption { -- return []RunOption{ -- // Run in an existing directory, since we're trying to simulate known cases -- // that cause gopls memory problems. -- InExistingDir(dir), +-go 1.12 - -- // Enable live debugging. -- DebugAddress(":8087"), +-require random.com v1.2.3 +-` +- var diagnostics []protocol.Diagnostic +- for _, d := range d.Diagnostics { +- if d.Range.Start.Line != uint32(pos.Line) { +- continue +- } +- diagnostics = append(diagnostics, d) +- } +- env.ApplyQuickFixes("go.mod", diagnostics) +- if got := env.Editor.BufferText("go.mod"); got != want { +- t.Fatalf("unexpected content in go.mod:\n%s", tests.Diff(t, want, got)) +- } +- }) +- }) +-} - -- // Skip logs as they buffer up memory unnaturally. -- SkipLogs(), -- // Similarly to logs: disable hooks so that they don't affect performance. -- SkipHooks(true), -- // The Debug server only makes sense if running in singleton mode. -- Modes(Singleton), -- // Set a generous timeout. Individual tests should control their own -- // graceful termination. -- Timeout(20 * time.Minute), +-func TestSumUpdateQuickFix(t *testing.T) { +- testenv.NeedsGo1Point(t, 14) +- const mod = ` +--- go.mod -- +-module mod.com - -- // Use the actual proxy, since we want our builds to succeed. -- GOPROXY("https://proxy.golang.org"), -- } --} +-go 1.12 - --func TestPilosaStress(t *testing.T) { -- if *pilosaPath == "" { -- t.Skip("-pilosa_path not configured") -- } -- opts := stressTestOptions(*pilosaPath) +-require ( +- example.com v1.2.3 +-) +--- go.sum -- +--- main.go -- +-package main - -- withOptions(opts...).run(t, "", func(t *testing.T, env *Env) { -- files := []string{ -- "cmd.go", -- "internal/private.pb.go", -- "roaring/roaring.go", -- "roaring/roaring_internal_test.go", -- "server/handler_test.go", -- } -- for _, file := range files { -- env.OpenFile(file) -- } -- ctx, cancel := context.WithTimeout(env.Ctx, 10*time.Minute) -- defer cancel() +-import ( +- "example.com/blah" +-) - -- i := 1 -- // MagicNumber is an identifier that occurs in roaring.go. Just change it -- // arbitrarily. -- env.RegexpReplace("roaring/roaring.go", "MagicNumber", fmt.Sprintf("MagicNumber%d", 1)) -- for { -- select { -- case <-ctx.Done(): -- return -- default: -- } -- env.RegexpReplace("roaring/roaring.go", fmt.Sprintf("MagicNumber%d", i), fmt.Sprintf("MagicNumber%d", i+1)) -- time.Sleep(20 * time.Millisecond) -- i++ +-func main() { +- blah.Hello() +-} +-` +- WithOptions( +- ProxyFiles(workspaceProxy), +- Modes(Singleton), +- ).Run(t, mod, func(t *testing.T, env *Env) { +- env.OpenFile("go.mod") +- params := &protocol.PublishDiagnosticsParams{} +- env.Await( +- OnceMet( +- env.GoSumDiagnostic("go.mod", "example.com"), +- ReadDiagnostics("go.mod", params), +- ), +- ) +- env.ApplyQuickFixes("go.mod", params.Diagnostics) +- const want = `example.com v1.2.3 h1:Yryq11hF02fEf2JlOS2eph+ICE2/ceevGV3C9dl5V/c= +-example.com v1.2.3/go.mod h1:Y2Rc5rVWjWur0h3pd9aEvK5Pof8YKDANh9gHA2Maujo= +-` +- if got := env.ReadWorkspaceFile("go.sum"); got != want { +- t.Fatalf("unexpected go.sum contents:\n%s", tests.Diff(t, want, got)) - } - }) -} -diff -urN a/gopls/internal/regtest/vendor_test.go b/gopls/internal/regtest/vendor_test.go ---- a/gopls/internal/regtest/vendor_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/vendor_test.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,82 +0,0 @@ --// Copyright 2020 The Go Authors. All rights reserved. --// Use of this source code is governed by a BSD-style --// license that can be found in the LICENSE file. - --package regtest +-func TestDownloadDeps(t *testing.T) { +- testenv.NeedsGo1Point(t, 14) - --import ( -- "testing" +- const proxy = ` +--- example.com@v1.2.3/go.mod -- +-module example.com - -- "golang.org/x/tools/internal/lsp" -- "golang.org/x/tools/internal/lsp/protocol" -- "golang.org/x/tools/internal/lsp/source" -- "golang.org/x/tools/internal/testenv" --) +-go 1.12 - --const basicProxy = ` ---- golang.org/x/hello@v1.2.3/go.mod -- --module golang.org/x/hello +-require random.org v1.2.3 +--- example.com@v1.2.3/blah/blah.go -- +-package blah - --go 1.14 ---- golang.org/x/hello@v1.2.3/hi/hi.go -- --package hi +-import "random.org/bye" - --var Goodbye error --` +-func SaySomething() { +- bye.Goodbye() +-} +--- random.org@v1.2.3/go.mod -- +-module random.org - --func TestInconsistentVendoring(t *testing.T) { -- testenv.NeedsGo1Point(t, 14) +-go 1.12 +--- random.org@v1.2.3/bye/bye.go -- +-package bye - -- const pkgThatUsesVendoring = ` +-func Goodbye() { +- println("Bye") +-} +-` +- +- const mod = ` --- go.mod -- -module mod.com - --go 1.14 -- --require golang.org/x/hello v1.2.3 +-go 1.12 --- go.sum -- --golang.org/x/hello v1.2.3 h1:EcMp5gSkIhaTkPXp8/3+VH+IFqTpk3ZbpOhqk0Ncmho= --golang.org/x/hello v1.2.3/go.mod h1:WW7ER2MRNXWA6c8/4bDIek4Hc/+DofTrMaQQitGXcco= ---- vendor/modules.txt -- ---- a/a1.go -- --package a +--- main.go -- +-package main - --import "golang.org/x/hello/hi" +-import ( +- "example.com/blah" +-) - --func _() { -- _ = hi.Goodbye -- var q int // hardcode a diagnostic +-func main() { +- blah.SaySomething() -} -` -- // TODO(rstambler): Remove this when golang/go#41819 is resolved. -- withOptions( +- WithOptions( +- ProxyFiles(proxy), - Modes(Singleton), -- ProxyFiles(basicProxy), -- ).run(t, pkgThatUsesVendoring, func(t *testing.T, env *Env) { -- env.OpenFile("a/a1.go") +- ).Run(t, mod, func(t *testing.T, env *Env) { +- env.OpenFile("main.go") +- d := &protocol.PublishDiagnosticsParams{} - env.Await( -- // The editor should pop up a message suggesting that the user -- // run `go mod vendor`, along with a button to do so. -- // By default, the fake editor always accepts such suggestions, -- // so once we see the request, we can assume that `go mod vendor` -- // will be executed. -- OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidOpen), 1), -- env.DiagnosticAtRegexp("go.mod", "module mod.com"), -- ), +- env.DiagnosticAtRegexpWithMessage("main.go", `"example.com/blah"`, `could not import example.com/blah (no required module provides package "example.com/blah")`), +- ReadDiagnostics("main.go", d), - ) -- // Apply the quickfix associated with the diagnostic. -- d := &protocol.PublishDiagnosticsParams{} -- env.Await(ReadDiagnostics("go.mod", d)) -- env.ApplyQuickFixes("go.mod", d.Diagnostics) -- -- // Check for file changes when the command completes. -- env.Await(CompletedWork(source.CommandVendor.Title, 1)) -- env.CheckForFileChanges() -- -- // Confirm that there is no longer any inconsistent vendoring. +- env.ApplyQuickFixes("main.go", d.Diagnostics) - env.Await( -- DiagnosticAt("a/a1.go", 6, 5), +- EmptyDiagnostics("main.go"), +- NoDiagnostics("go.mod"), - ) - }) -} -diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_test.go ---- a/gopls/internal/regtest/watch_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/watch_test.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,755 +0,0 @@ +diff -urN a/gopls/internal/regtest/watch/watch_test.go b/gopls/internal/regtest/watch/watch_test.go +--- a/gopls/internal/regtest/watch/watch_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/watch/watch_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,766 +0,0 @@ -// Copyright 2020 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. @@ -12209,12 +11998,18 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ -import ( - "testing" - -- "golang.org/x/tools/internal/lsp" +- "golang.org/x/tools/gopls/internal/hooks" +- . "golang.org/x/tools/internal/lsp/regtest" +- - "golang.org/x/tools/internal/lsp/fake" - "golang.org/x/tools/internal/lsp/protocol" - "golang.org/x/tools/internal/testenv" -) - +-func TestMain(m *testing.M) { +- Main(m, hooks.Options) +-} +- -func TestEditFile(t *testing.T) { - const pkg = ` --- go.mod -- @@ -12231,7 +12026,7 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ - // Edit the file when it's *not open* in the workspace, and check that - // diagnostics are updated. - t.Run("unopened", func(t *testing.T) { -- runner.Run(t, pkg, func(t *testing.T, env *Env) { +- Run(t, pkg, func(t *testing.T, env *Env) { - env.Await( - env.DiagnosticAtRegexp("a/a.go", "x"), - ) @@ -12245,16 +12040,16 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ - // Edit the file when it *is open* in the workspace, and check that - // diagnostics are *not* updated. - t.Run("opened", func(t *testing.T) { -- runner.Run(t, pkg, func(t *testing.T, env *Env) { +- Run(t, pkg, func(t *testing.T, env *Env) { - env.OpenFile("a/a.go") - // Insert a trivial edit so that we don't automatically update the buffer - // (see CL 267577). - env.EditBuffer("a/a.go", fake.NewEdit(0, 0, 0, 0, " ")) -- env.Await(CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidOpen), 1)) +- env.Await(env.DoneWithOpen()) - env.WriteWorkspaceFile("a/a.go", `package a; func _() {};`) - env.Await( - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 1), +- env.DoneWithChangeWatchedFiles(), - env.DiagnosticAtRegexp("a/a.go", "x"), - )) - }) @@ -12283,9 +12078,9 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ - _ = b.B() -} -` -- runner.Run(t, pkg, func(t *testing.T, env *Env) { +- Run(t, pkg, func(t *testing.T, env *Env) { - env.OpenFile("a/a.go") -- env.Await(CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidOpen), 1)) +- env.Await(env.DoneWithOpen()) - env.WriteWorkspaceFile("b/b.go", `package b; func B() {};`) - env.Await( - env.DiagnosticAtRegexp("a/a.go", "b.B"), @@ -12317,7 +12112,7 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ - _ = b.B() -} -` -- runner.Run(t, pkg, func(t *testing.T, env *Env) { +- Run(t, pkg, func(t *testing.T, env *Env) { - env.Await( - env.DiagnosticAtRegexp("a/a.go", "x"), - ) @@ -12360,9 +12155,9 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ - _ = b.B() -} -` -- runner.Run(t, pkg, func(t *testing.T, env *Env) { +- Run(t, pkg, func(t *testing.T, env *Env) { - env.OpenFile("a/a.go") -- env.Await(CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidOpen), 1)) +- env.Await(env.DoneWithOpen()) - env.RemoveWorkspaceFile("b/b.go") - env.Await( - env.DiagnosticAtRegexp("a/a.go", "\"mod.com/b\""), @@ -12392,7 +12187,7 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ - c.C() -} -` -- runner.Run(t, missing, func(t *testing.T, env *Env) { +- Run(t, missing, func(t *testing.T, env *Env) { - t.Skip("the initial workspace load fails and never retries") - - env.Await( @@ -12418,7 +12213,7 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ - -func _() {} -` -- runner.Run(t, original, func(t *testing.T, env *Env) { +- Run(t, original, func(t *testing.T, env *Env) { - env.WriteWorkspaceFile("c/c.go", `package c; func C() {};`) - env.WriteWorkspaceFile("a/a.go", `package a; import "mod.com/c"; func _() { c.C() }`) - env.Await( @@ -12441,7 +12236,7 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ - hello() -} -` -- runner.Run(t, pkg, func(t *testing.T, env *Env) { +- Run(t, pkg, func(t *testing.T, env *Env) { - env.Await( - env.DiagnosticAtRegexp("a/a.go", "hello"), - ) @@ -12516,11 +12311,11 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ - - // Add the new method before the implementation. Expect diagnostics. - t.Run("method before implementation", func(t *testing.T) { -- runner.Run(t, pkg, func(t *testing.T, env *Env) { +- Run(t, pkg, func(t *testing.T, env *Env) { - env.WriteWorkspaceFile("b/b.go", newMethod) - env.Await( - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 1), +- env.DoneWithChangeWatchedFiles(), - DiagnosticAt("a/a.go", 12, 12), - ), - ) @@ -12532,11 +12327,11 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ - }) - // Add the new implementation before the new method. Expect no diagnostics. - t.Run("implementation before method", func(t *testing.T) { -- runner.Run(t, pkg, func(t *testing.T, env *Env) { +- Run(t, pkg, func(t *testing.T, env *Env) { - env.WriteWorkspaceFile("a/a.go", implementation) - env.Await( - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 1), +- env.DoneWithChangeWatchedFiles(), - NoDiagnostics("a/a.go"), - ), - ) @@ -12548,14 +12343,14 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ - }) - // Add both simultaneously. Expect no diagnostics. - t.Run("implementation and method simultaneously", func(t *testing.T) { -- runner.Run(t, pkg, func(t *testing.T, env *Env) { +- Run(t, pkg, func(t *testing.T, env *Env) { - env.WriteWorkspaceFiles(map[string]string{ - "a/a.go": implementation, - "b/b.go": newMethod, - }) - env.Await( - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 1), +- env.DoneWithChangeWatchedFiles(), - NoDiagnostics("a/a.go"), - ), - NoDiagnostics("b/b.go"), @@ -12567,6 +12362,7 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ -// Tests golang/go#38498. Delete a file and then force a reload. -// Assert that we no longer try to load the file. -func TestDeleteFiles(t *testing.T) { +- testenv.NeedsGo1Point(t, 13) // Poor overlay support causes problems on 1.12. - const pkg = ` --- go.mod -- -module mod.com @@ -12582,15 +12378,15 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ -package a -` - t.Run("close then delete", func(t *testing.T) { -- withOptions(EditorConfig{ +- WithOptions(EditorConfig{ - VerboseOutput: true, -- }).run(t, pkg, func(t *testing.T, env *Env) { +- }).Run(t, pkg, func(t *testing.T, env *Env) { - env.OpenFile("a/a.go") - env.OpenFile("a/a_unneeded.go") - env.Await( - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidOpen), 2), -- LogMatching(protocol.Info, "a_unneeded.go", 1), +- env.DoneWithOpen(), +- LogMatching(protocol.Info, "a_unneeded.go", 1, false), - ), - ) - @@ -12604,11 +12400,11 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ - env.SaveBuffer("a/a.go") - env.Await( - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidSave), 1), +- env.DoneWithSave(), - // There should only be one log message containing - // a_unneeded.go, from the initial workspace load, which we - // check for earlier. If there are more, there's a bug. -- LogMatching(protocol.Info, "a_unneeded.go", 1), +- LogMatching(protocol.Info, "a_unneeded.go", 1, false), - ), - EmptyDiagnostics("a/a.go"), - ) @@ -12616,15 +12412,15 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ - }) - - t.Run("delete then close", func(t *testing.T) { -- withOptions( +- WithOptions( - EditorConfig{VerboseOutput: true}, -- ).run(t, pkg, func(t *testing.T, env *Env) { +- ).Run(t, pkg, func(t *testing.T, env *Env) { - env.OpenFile("a/a.go") - env.OpenFile("a/a_unneeded.go") - env.Await( - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidOpen), 2), -- LogMatching(protocol.Info, "a_unneeded.go", 1), +- env.DoneWithOpen(), +- LogMatching(protocol.Info, "a_unneeded.go", 1, false), - ), - ) - @@ -12638,11 +12434,11 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ - env.SaveBuffer("a/a.go") - env.Await( - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidSave), 1), +- env.DoneWithSave(), - // There should only be one log message containing - // a_unneeded.go, from the initial workspace load, which we - // check for earlier. If there are more, there's a bug. -- LogMatching(protocol.Info, "a_unneeded.go", 1), +- LogMatching(protocol.Info, "a_unneeded.go", 1, false), - ), - EmptyDiagnostics("a/a.go"), - ) @@ -12681,7 +12477,7 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ - -func _() {} -` -- runner.Run(t, pkg, func(t *testing.T, env *Env) { +- Run(t, pkg, func(t *testing.T, env *Env) { - env.ChangeFilesOnDisk([]fake.FileEvent{ - { - Path: "a/a3.go", @@ -12712,7 +12508,7 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ - }) - env.Await( - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 1), +- env.DoneWithChangeWatchedFiles(), - NoDiagnostics("main.go"), - ), - ) @@ -12767,7 +12563,7 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ - blah.X() -} -` -- withOptions(ProxyFiles(proxy)).run(t, mod, func(t *testing.T, env *Env) { +- WithOptions(ProxyFiles(proxy)).Run(t, mod, func(t *testing.T, env *Env) { - env.WriteWorkspaceFiles(map[string]string{ - "go.mod": `module mod.com - @@ -12787,7 +12583,7 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ -`, - }) - env.Await( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 1), +- env.DoneWithChangeWatchedFiles(), - NoDiagnostics("main.go"), - ) - }) @@ -12811,21 +12607,20 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ - _ = blah.Name -} -` -- withOptions( +- WithOptions( - InGOPATH(), +- EditorConfig{ +- Env: map[string]string{ +- "GO111MODULE": "auto", +- }, +- }, - Modes(Experimental), // module is in a subdirectory -- ).run(t, files, func(t *testing.T, env *Env) { +- ).Run(t, files, func(t *testing.T, env *Env) { - env.OpenFile("foo/main.go") - env.Await(env.DiagnosticAtRegexp("foo/main.go", `"blah"`)) -- if err := env.Sandbox.RunGoCommand(env.Ctx, "foo", "mod", []string{"init", "mod.com"}); err != nil { +- if err := env.Sandbox.RunGoCommand(env.Ctx, "foo", "mod", []string{"init", "mod.com"}, true); err != nil { - t.Fatal(err) - } -- env.Await( -- OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 1), -- env.DiagnosticAtRegexp("foo/main.go", `"blah"`), -- ), -- ) - env.RegexpReplace("foo/main.go", `"blah"`, `"mod.com/blah"`) - env.Await( - EmptyDiagnostics("foo/main.go"), @@ -12855,14 +12650,19 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ - _ = blah.Name -} -` -- withOptions( +- WithOptions( - InGOPATH(), -- ).run(t, files, func(t *testing.T, env *Env) { +- EditorConfig{ +- Env: map[string]string{ +- "GO111MODULE": "auto", +- }, +- }, +- ).Run(t, files, func(t *testing.T, env *Env) { - env.OpenFile("foo/main.go") - env.RemoveWorkspaceFile("foo/go.mod") - env.Await( - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 1), +- env.DoneWithChangeWatchedFiles(), - env.DiagnosticAtRegexp("foo/main.go", `"mod.com/blah"`), - ), - ) @@ -12892,7 +12692,7 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ - bob() -} -` -- run(t, files, func(t *testing.T, env *Env) { +- Run(t, files, func(t *testing.T, env *Env) { - // Add a new symbol to the package under test and use it in the test - // variant. Expect no diagnostics. - env.WriteWorkspaceFiles(map[string]string{ @@ -12913,11 +12713,11 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ - }) - env.Await( - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 1), +- env.DoneWithChangeWatchedFiles(), - NoDiagnostics("a/a.go"), - ), - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 1), +- env.DoneWithChangeWatchedFiles(), - NoDiagnostics("a/a_test.go"), - ), - ) @@ -12945,40 +12745,47 @@ diff -urN a/gopls/internal/regtest/watch_test.go b/gopls/internal/regtest/watch_ - }) - env.Await( - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 2), +- env.DoneWithChangeWatchedFiles(), - NoDiagnostics("a/a_test.go"), - ), - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 2), +- env.DoneWithChangeWatchedFiles(), - NoDiagnostics("a/a2_test.go"), - ), - ) - }) -} -diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/workspace_test.go ---- a/gopls/internal/regtest/workspace_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/workspace_test.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,771 +0,0 @@ +diff -urN a/gopls/internal/regtest/workspace/workspace_test.go b/gopls/internal/regtest/workspace/workspace_test.go +--- a/gopls/internal/regtest/workspace/workspace_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/internal/regtest/workspace/workspace_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,957 +0,0 @@ -// Copyright 2020 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - --package regtest +-package workspace - -import ( +- "encoding/json" - "fmt" - "io/ioutil" -- "os" - "path/filepath" - "strings" - "testing" - -- "golang.org/x/tools/internal/lsp" +- "golang.org/x/tools/gopls/internal/hooks" +- . "golang.org/x/tools/internal/lsp/regtest" +- +- "golang.org/x/tools/internal/lsp/command" - "golang.org/x/tools/internal/lsp/fake" - "golang.org/x/tools/internal/lsp/protocol" - "golang.org/x/tools/internal/testenv" -) - +-func TestMain(m *testing.M) { +- Main(m, hooks.Options) +-} +- -const workspaceProxy = ` --- example.com@v1.2.3/go.mod -- -module example.com @@ -13078,7 +12885,7 @@ diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/wo - if tt.rootPath != "" { - opts = append(opts, WorkspaceFolders(tt.rootPath)) - } -- withOptions(opts...).run(t, workspaceModule, func(t *testing.T, env *Env) { +- WithOptions(opts...).Run(t, workspaceModule, func(t *testing.T, env *Env) { - f := "pkg/inner/inner.go" - env.OpenFile(f) - locations := env.References(f, env.RegexpSearch(f, `SaySomething`)) @@ -13096,10 +12903,10 @@ diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/wo -// VS Code, where clicking on a reference result triggers a -// textDocument/didOpen without a corresponding textDocument/didClose. -func TestClearAnalysisDiagnostics(t *testing.T) { -- withOptions( +- WithOptions( - ProxyFiles(workspaceProxy), - WorkspaceFolders("pkg/inner"), -- ).run(t, workspaceModule, func(t *testing.T, env *Env) { +- ).Run(t, workspaceModule, func(t *testing.T, env *Env) { - env.OpenFile("pkg/main.go") - env.Await( - env.DiagnosticAtRegexp("pkg/main2.go", "fmt.Print"), @@ -13114,10 +12921,10 @@ diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/wo -// This test checks that gopls updates the set of files it watches when a -// replace target is added to the go.mod. -func TestWatchReplaceTargets(t *testing.T) { -- withOptions( +- WithOptions( - ProxyFiles(workspaceProxy), - WorkspaceFolders("pkg"), -- ).run(t, workspaceModule, func(t *testing.T, env *Env) { +- ).Run(t, workspaceModule, func(t *testing.T, env *Env) { - // Add a replace directive and expect the files that gopls is watching - // to change. - dir := env.Sandbox.Workdir.URI("goodbye").SpanURI().Filename() @@ -13126,7 +12933,7 @@ diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/wo -`, env.ReadWorkspaceFile("pkg/go.mod"), dir) - env.WriteWorkspaceFile("pkg/go.mod", goModWithReplace) - env.Await( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 1), +- env.DoneWithChangeWatchedFiles(), - UnregistrationMatching("didChangeWatchedFiles"), - RegistrationMatching("didChangeWatchedFiles"), - ) @@ -13160,7 +12967,9 @@ diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/wo -module a.com - -require b.com v1.2.3 -- +--- moda/a/go.sum -- +-b.com v1.2.3 h1:tXrlXP0rnjRpKNmkbLYoWBdq0ikb3C3bKK9//moAWBI= +-b.com v1.2.3/go.mod h1:D+J7pfFBZK5vdIdZEFquR586vKKIkqG7Qjw9AxG5BQ8= --- moda/a/a.go -- -package a - @@ -13182,10 +12991,10 @@ diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/wo - var x int -} -` -- withOptions( +- WithOptions( - ProxyFiles(workspaceModuleProxy), - Modes(Experimental), -- ).run(t, multiModule, func(t *testing.T, env *Env) { +- ).Run(t, multiModule, func(t *testing.T, env *Env) { - env.Await( - env.DiagnosticAtRegexp("moda/a/a.go", "x"), - env.DiagnosticAtRegexp("modb/b/b.go", "x"), @@ -13194,15 +13003,79 @@ diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/wo - }) -} - +-func TestMultiModuleWithExclude(t *testing.T) { +- testenv.NeedsGo1Point(t, 16) +- +- const proxy = ` +--- c.com@v1.2.3/go.mod -- +-module c.com +- +-go 1.12 +- +-require b.com v1.2.3 +--- c.com@v1.2.3/blah/blah.go -- +-package blah +- +-func SaySomething() { +- fmt.Println("something") +-} +--- b.com@v1.2.3/go.mod -- +-module b.com +- +-go 1.12 +--- b.com@v1.2.4/b/b.go -- +-package b +- +-func Hello() {} +--- b.com@v1.2.4/go.mod -- +-module b.com +- +-go 1.12 +--- b.com@v1.2.4/b/b.go -- +-package b +- +-func Hello() {} +-` +- const multiModule = ` +--- go.mod -- +-module a.com +- +-require c.com v1.2.3 +- +-exclude b.com v1.2.3 +--- go.sum -- +-c.com v1.2.3 h1:n07Dz9fYmpNqvZMwZi5NEqFcSHbvLa9lacMX+/g25tw= +-c.com v1.2.3/go.mod h1:/4TyYgU9Nu5tA4NymP5xyqE8R2VMzGD3TbJCwCOvHAg= +--- main.go -- +-package a +- +-func main() { +- var x int +-} +-` +- WithOptions( +- ProxyFiles(proxy), +- Modes(Experimental), +- ).Run(t, multiModule, func(t *testing.T, env *Env) { +- env.Await( +- env.DiagnosticAtRegexp("main.go", "x"), +- ) +- }) +-} +- -// This change tests that the version of the module used changes after it has -// been deleted from the workspace. -func TestDeleteModule_Interdependent(t *testing.T) { +- t.Skip("Skipping due to golang/go#46375: race due to orphaned file reloading") +- - const multiModule = ` --- moda/a/go.mod -- -module a.com - -require b.com v1.2.3 -- +--- moda/a/go.sum -- +-b.com v1.2.3 h1:tXrlXP0rnjRpKNmkbLYoWBdq0ikb3C3bKK9//moAWBI= +-b.com v1.2.3/go.mod h1:D+J7pfFBZK5vdIdZEFquR586vKKIkqG7Qjw9AxG5BQ8= --- moda/a/a.go -- -package a - @@ -13224,34 +13097,35 @@ diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/wo - var x int -} -` -- withOptions( +- WithOptions( - ProxyFiles(workspaceModuleProxy), - Modes(Experimental), -- ).run(t, multiModule, func(t *testing.T, env *Env) { +- ).Run(t, multiModule, func(t *testing.T, env *Env) { - env.OpenFile("moda/a/a.go") +- env.Await(env.DoneWithOpen()) - - original, _ := env.GoToDefinition("moda/a/a.go", env.RegexpSearch("moda/a/a.go", "Hello")) - if want := "modb/b/b.go"; !strings.HasSuffix(original, want) { - t.Errorf("expected %s, got %v", want, original) - } - env.CloseBuffer(original) +- env.Await(env.DoneWithClose()) +- - env.RemoveWorkspaceFile("modb/b/b.go") - env.RemoveWorkspaceFile("modb/go.mod") - env.Await( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 2), +- env.DoneWithChangeWatchedFiles(), - ) -- if testenv.Go1Point() < 14 { -- // On 1.14 and above, the go mod tidy diagnostics accidentally -- // download for us. This is the behavior we actually want. -- d := protocol.PublishDiagnosticsParams{} -- env.Await( -- OnceMet( -- env.DiagnosticAtRegexpWithMessage("moda/a/go.mod", "require b.com v1.2.3", "b.com@v1.2.3"), -- ReadDiagnostics("moda/a/go.mod", &d), -- ), -- ) -- env.ApplyQuickFixes("moda/a/go.mod", d.Diagnostics) -- } +- +- d := protocol.PublishDiagnosticsParams{} +- env.Await( +- OnceMet( +- env.DiagnosticAtRegexpWithMessage("moda/a/go.mod", "require b.com v1.2.3", "b.com@v1.2.3 has not been downloaded"), +- ReadDiagnostics("moda/a/go.mod", &d), +- ), +- ) +- env.ApplyQuickFixes("moda/a/go.mod", d.Diagnostics) +- env.Await(env.DoneWithChangeWatchedFiles()) - got, _ := env.GoToDefinition("moda/a/a.go", env.RegexpSearch("moda/a/a.go", "Hello")) - if want := "b.com@v1.2.3/b/b.go"; !strings.HasSuffix(got, want) { - t.Errorf("expected %s, got %v", want, got) @@ -13267,7 +13141,9 @@ diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/wo -module a.com - -require b.com v1.2.3 -- +--- moda/a/go.sum -- +-b.com v1.2.3 h1:tXrlXP0rnjRpKNmkbLYoWBdq0ikb3C3bKK9//moAWBI= +-b.com v1.2.3/go.mod h1:D+J7pfFBZK5vdIdZEFquR586vKKIkqG7Qjw9AxG5BQ8= --- moda/a/a.go -- -package a - @@ -13280,10 +13156,10 @@ diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/wo - _ = b.Hello() -} -` -- withOptions( +- WithOptions( - Modes(Experimental), - ProxyFiles(workspaceModuleProxy), -- ).run(t, multiModule, func(t *testing.T, env *Env) { +- ).Run(t, multiModule, func(t *testing.T, env *Env) { - env.OpenFile("moda/a/a.go") - original, _ := env.GoToDefinition("moda/a/a.go", env.RegexpSearch("moda/a/a.go", "Hello")) - if want := "b.com@v1.2.3/b/b.go"; !strings.HasSuffix(original, want) { @@ -13301,7 +13177,7 @@ diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/wo - }) - env.Await( - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 1), +- env.DoneWithChangeWatchedFiles(), - env.DiagnosticAtRegexp("modb/b/b.go", "x"), - ), - ) @@ -13342,14 +13218,14 @@ diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/wo - var x int -} -` -- withOptions( +- WithOptions( - ProxyFiles(workspaceModuleProxy), - Modes(Experimental), -- ).run(t, multiModule, func(t *testing.T, env *Env) { +- ).Run(t, multiModule, func(t *testing.T, env *Env) { - env.OpenFile("modb/go.mod") - env.Await( - OnceMet( -- CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidOpen), 1), +- env.DoneWithOpen(), - DiagnosticAt("modb/go.mod", 0, 0), - ), - ) @@ -13370,7 +13246,9 @@ diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/wo -module a.com - -require b.com v1.2.3 -- +--- moda/a/go.sum -- +-b.com v1.2.3 h1:tXrlXP0rnjRpKNmkbLYoWBdq0ikb3C3bKK9//moAWBI= +-b.com v1.2.3/go.mod h1:D+J7pfFBZK5vdIdZEFquR586vKKIkqG7Qjw9AxG5BQ8= --- moda/a/a.go -- -package a - @@ -13386,6 +13264,9 @@ diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/wo -module b.com - -require example.com v1.2.3 +--- modb/go.sum -- +-example.com v1.2.3 h1:Yryq11hF02fEf2JlOS2eph+ICE2/ceevGV3C9dl5V/c= +-example.com v1.2.3/go.mod h1:Y2Rc5rVWjWur0h3pd9aEvK5Pof8YKDANh9gHA2Maujo= --- modb/b/b.go -- -package b - @@ -13402,10 +13283,10 @@ diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/wo - -replace a.com => $SANDBOX_WORKDIR/moda/a -` -- withOptions( +- WithOptions( - ProxyFiles(workspaceModuleProxy), - Modes(Experimental), -- ).run(t, multiModule, func(t *testing.T, env *Env) { +- ).Run(t, multiModule, func(t *testing.T, env *Env) { - // Initially, the gopls.mod should cause only the a.com module to be - // loaded. Validate this by jumping to a definition in b.com and ensuring - // that we go to the module cache. @@ -13433,8 +13314,8 @@ diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/wo - env.WriteWorkspaceFile("gopls.mod", fmt.Sprintf(`module gopls-workspace - -require ( -- a.com v0.0.0-goplsworkspace -- b.com v0.0.0-goplsworkspace +- a.com v1.9999999.0-goplsworkspace +- b.com v1.9999999.0-goplsworkspace -) - -replace a.com => %s/moda/a @@ -13449,7 +13330,7 @@ diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/wo - var d protocol.PublishDiagnosticsParams - env.Await( - OnceMet( -- env.DiagnosticAtRegexp("modb/go.mod", `require example.com v1.2.3`), +- env.DiagnosticAtRegexpWithMessage("modb/go.mod", `require example.com v1.2.3`, "has not been downloaded"), - ReadDiagnostics("modb/go.mod", &d), - ), - ) @@ -13508,7 +13389,7 @@ diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/wo -import "fmt" -var _ = fmt.Printf -` -- run(t, files, func(t *testing.T, env *Env) { +- Run(t, files, func(t *testing.T, env *Env) { - env.CreateBuffer("/tmp/foo.go", "") - env.EditBuffer("/tmp/foo.go", fake.NewEdit(0, 0, 0, 0, code)) - env.GoToDefinition("/tmp/foo.go", env.RegexpSearch("/tmp/foo.go", `Printf`)) @@ -13559,9 +13440,9 @@ diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/wo - var x int -} -` -- withOptions( +- WithOptions( - Modes(Experimental), -- ).run(t, multiModule, func(t *testing.T, env *Env) { +- ).Run(t, multiModule, func(t *testing.T, env *Env) { - env.Await( - env.DiagnosticAtRegexp("moda/a/a.go", "x"), - env.DiagnosticAtRegexp("modb/b/b.go", "x"), @@ -13591,20 +13472,29 @@ diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/wo - fmt.Println("World") -} -` -- withOptions( +- WithOptions( - Modes(Experimental), - SendPID(), -- ).run(t, multiModule, func(t *testing.T, env *Env) { -- pid := os.Getpid() +- ).Run(t, multiModule, func(t *testing.T, env *Env) { +- params := &protocol.ExecuteCommandParams{ +- Command: command.WorkspaceMetadata.ID(), +- Arguments: []json.RawMessage{json.RawMessage("{}")}, +- } +- var result command.WorkspaceMetadataResult +- env.ExecuteCommand(params, &result) +- +- if n := len(result.Workspaces); n != 1 { +- env.T.Fatalf("got %d workspaces, want 1", n) +- } - // Don't factor this out of Server.addFolders. vscode-go expects this - // directory. -- modPath := filepath.Join(os.TempDir(), fmt.Sprintf("gopls-%d.workspace", pid), "go.mod") +- modPath := filepath.Join(result.Workspaces[0].ModuleDir, "go.mod") - gotb, err := ioutil.ReadFile(modPath) - if err != nil { - t.Fatalf("reading expected workspace modfile: %v", err) - } - got := string(gotb) -- for _, want := range []string{"a.com v0.0.0-goplsworkspace", "b.com v0.0.0-goplsworkspace"} { +- for _, want := range []string{"a.com v1.9999999.0-goplsworkspace", "b.com v1.9999999.0-goplsworkspace"} { - if !strings.Contains(got, want) { - // want before got here, since the go.mod is multi-line - t.Fatalf("workspace go.mod missing %q. got:\n%s", want, got) @@ -13615,18 +13505,18 @@ diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/wo - module gopls-workspace - - require ( -- a.com v0.0.0-goplsworkspace +- a.com v1.9999999.0-goplsworkspace - ) - - replace a.com => %s/moda/a - `, workdir)) -- env.Await(CompletedWork(lsp.DiagnosticWorkTitle(lsp.FromDidChangeWatchedFiles), 1)) +- env.Await(env.DoneWithChangeWatchedFiles()) - gotb, err = ioutil.ReadFile(modPath) - if err != nil { - t.Fatalf("reading expected workspace modfile: %v", err) - } - got = string(gotb) -- want := "b.com v0.0.0-goplsworkspace" +- want := "b.com v1.9999999.0-goplsworkspace" - if strings.Contains(got, want) { - t.Fatalf("workspace go.mod contains unexpected %q. got:\n%s", want, got) - } @@ -13648,7 +13538,7 @@ diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/wo - cfg := EditorConfig{ - DirectoryFilters: []string{"-exclude"}, - } -- withOptions(cfg).run(t, files, func(t *testing.T, env *Env) { +- WithOptions(cfg).Run(t, files, func(t *testing.T, env *Env) { - env.Await(NoDiagnostics("exclude/x.go")) - }) -} @@ -13676,7 +13566,7 @@ diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/wo - cfg := EditorConfig{ - DirectoryFilters: []string{"-exclude"}, - } -- withOptions(cfg).run(t, files, func(t *testing.T, env *Env) { +- WithOptions(cfg).Run(t, files, func(t *testing.T, env *Env) { - env.Await( - NoDiagnostics("exclude/exclude.go"), // filtered out - NoDiagnostics("include/include.go"), // successfully builds @@ -13726,408 +13616,109 @@ diff -urN a/gopls/internal/regtest/workspace_test.go b/gopls/internal/regtest/wo - cfg := EditorConfig{ - DirectoryFilters: []string{"-exclude"}, - } -- withOptions(cfg, Modes(Experimental), ProxyFiles(proxy)).run(t, files, func(t *testing.T, env *Env) { +- WithOptions(cfg, Modes(Experimental), ProxyFiles(proxy)).Run(t, files, func(t *testing.T, env *Env) { - env.Await(env.DiagnosticAtRegexp("include/include.go", `exclude.(X)`)) - }) -} -diff -urN a/gopls/internal/regtest/wrappers.go b/gopls/internal/regtest/wrappers.go ---- a/gopls/internal/regtest/wrappers.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/internal/regtest/wrappers.go 1969-12-31 19:00:00.000000000 -0500 -@@ -1,391 +0,0 @@ --// Copyright 2020 The Go Authors. All rights reserved. --// Use of this source code is governed by a BSD-style --// license that can be found in the LICENSE file. -- --package regtest -- --import ( -- "io" -- "path" -- "testing" -- -- "golang.org/x/tools/internal/lsp/fake" -- "golang.org/x/tools/internal/lsp/protocol" -- "golang.org/x/tools/internal/lsp/source" -- errors "golang.org/x/xerrors" --) -- --func (e *Env) ChangeFilesOnDisk(events []fake.FileEvent) { -- e.T.Helper() -- if err := e.Sandbox.Workdir.ChangeFilesOnDisk(e.Ctx, events); err != nil { -- e.T.Fatal(err) -- } --} -- --// RemoveWorkspaceFile deletes a file on disk but does nothing in the --// editor. It calls t.Fatal on any error. --func (e *Env) RemoveWorkspaceFile(name string) { -- e.T.Helper() -- if err := e.Sandbox.Workdir.RemoveFile(e.Ctx, name); err != nil { -- e.T.Fatal(err) -- } --} -- --// ReadWorkspaceFile reads a file from the workspace, calling t.Fatal on any --// error. --func (e *Env) ReadWorkspaceFile(name string) string { -- e.T.Helper() -- content, err := e.Sandbox.Workdir.ReadFile(name) -- if err != nil { -- e.T.Fatal(err) -- } -- return content --} -- --// WriteWorkspaceFile writes a file to disk but does nothing in the editor. --// It calls t.Fatal on any error. --func (e *Env) WriteWorkspaceFile(name, content string) { -- e.T.Helper() -- if err := e.Sandbox.Workdir.WriteFile(e.Ctx, name, content); err != nil { -- e.T.Fatal(err) -- } --} -- --// WriteWorkspaceFiles deletes a file on disk but does nothing in the --// editor. It calls t.Fatal on any error. --func (e *Env) WriteWorkspaceFiles(files map[string]string) { -- e.T.Helper() -- if err := e.Sandbox.Workdir.WriteFiles(e.Ctx, files); err != nil { -- e.T.Fatal(err) -- } --} -- --// OpenFile opens a file in the editor, calling t.Fatal on any error. --func (e *Env) OpenFile(name string) { -- e.T.Helper() -- if err := e.Editor.OpenFile(e.Ctx, name); err != nil { -- e.T.Fatal(err) -- } --} -- --// CreateBuffer creates a buffer in the editor, calling t.Fatal on any error. --func (e *Env) CreateBuffer(name string, content string) { -- e.T.Helper() -- if err := e.Editor.CreateBuffer(e.Ctx, name, content); err != nil { -- e.T.Fatal(err) -- } --} -- --// CloseBuffer closes an editor buffer without saving, calling t.Fatal on any --// error. --func (e *Env) CloseBuffer(name string) { -- e.T.Helper() -- if err := e.Editor.CloseBuffer(e.Ctx, name); err != nil { -- e.T.Fatal(err) -- } --} -- --// EditBuffer applies edits to an editor buffer, calling t.Fatal on any error. --func (e *Env) EditBuffer(name string, edits ...fake.Edit) { -- e.T.Helper() -- if err := e.Editor.EditBuffer(e.Ctx, name, edits); err != nil { -- e.T.Fatal(err) -- } --} -- --func (e *Env) SetBufferContent(name string, content string) { -- e.T.Helper() -- if err := e.Editor.SetBufferContent(e.Ctx, name, content); err != nil { -- e.T.Fatal(err) -- } --} -- --// RegexpRange returns the range of the first match for re in the buffer --// specified by name, calling t.Fatal on any error. It first searches for the --// position in open buffers, then in workspace files. --func (e *Env) RegexpRange(name, re string) (fake.Pos, fake.Pos) { -- e.T.Helper() -- start, end, err := e.Editor.RegexpRange(name, re) -- if err == fake.ErrUnknownBuffer { -- start, end, err = e.Sandbox.Workdir.RegexpRange(name, re) -- } -- if err != nil { -- e.T.Fatalf("RegexpRange: %v, %v", name, err) -- } -- return start, end --} -- --// RegexpSearch returns the starting position of the first match for re in the --// buffer specified by name, calling t.Fatal on any error. It first searches --// for the position in open buffers, then in workspace files. --func (e *Env) RegexpSearch(name, re string) fake.Pos { -- e.T.Helper() -- pos, err := e.Editor.RegexpSearch(name, re) -- if err == fake.ErrUnknownBuffer { -- pos, err = e.Sandbox.Workdir.RegexpSearch(name, re) -- } -- if err != nil { -- e.T.Fatalf("RegexpSearch: %v, %v", name, err) -- } -- return pos --} -- --// RegexpReplace replaces the first group in the first match of regexpStr with --// the replace text, calling t.Fatal on any error. --func (e *Env) RegexpReplace(name, regexpStr, replace string) { -- e.T.Helper() -- if err := e.Editor.RegexpReplace(e.Ctx, name, regexpStr, replace); err != nil { -- e.T.Fatalf("RegexpReplace: %v", err) -- } --} -- --// SaveBuffer saves an editor buffer, calling t.Fatal on any error. --func (e *Env) SaveBuffer(name string) { -- e.T.Helper() -- if err := e.Editor.SaveBuffer(e.Ctx, name); err != nil { -- e.T.Fatal(err) -- } --} -- --func (e *Env) SaveBufferWithoutActions(name string) { -- e.T.Helper() -- if err := e.Editor.SaveBufferWithoutActions(e.Ctx, name); err != nil { -- e.T.Fatal(err) -- } --} -- --// GoToDefinition goes to definition in the editor, calling t.Fatal on any --// error. --func (e *Env) GoToDefinition(name string, pos fake.Pos) (string, fake.Pos) { -- e.T.Helper() -- n, p, err := e.Editor.GoToDefinition(e.Ctx, name, pos) -- if err != nil { -- e.T.Fatal(err) -- } -- return n, p --} -- --// Symbol returns symbols matching query --func (e *Env) Symbol(query string) []fake.SymbolInformation { -- e.T.Helper() -- r, err := e.Editor.Symbol(e.Ctx, query) -- if err != nil { -- e.T.Fatal(err) -- } -- return r --} -- --// FormatBuffer formats the editor buffer, calling t.Fatal on any error. --func (e *Env) FormatBuffer(name string) { -- e.T.Helper() -- if err := e.Editor.FormatBuffer(e.Ctx, name); err != nil { -- e.T.Fatal(err) -- } --} -- --// OrganizeImports processes the source.organizeImports codeAction, calling --// t.Fatal on any error. --func (e *Env) OrganizeImports(name string) { -- e.T.Helper() -- if err := e.Editor.OrganizeImports(e.Ctx, name); err != nil { -- e.T.Fatal(err) -- } --} -- --// ApplyQuickFixes processes the quickfix codeAction, calling t.Fatal on any error. --func (e *Env) ApplyQuickFixes(path string, diagnostics []protocol.Diagnostic) { -- e.T.Helper() -- if err := e.Editor.ApplyQuickFixes(e.Ctx, path, nil, diagnostics); err != nil { -- e.T.Fatal(err) -- } --} -- --// Hover in the editor, calling t.Fatal on any error. --func (e *Env) Hover(name string, pos fake.Pos) (*protocol.MarkupContent, fake.Pos) { -- e.T.Helper() -- c, p, err := e.Editor.Hover(e.Ctx, name, pos) -- if err != nil { -- e.T.Fatal(err) -- } -- return c, p --} -- --func (e *Env) DocumentLink(name string) []protocol.DocumentLink { -- e.T.Helper() -- links, err := e.Editor.DocumentLink(e.Ctx, name) -- if err != nil { -- e.T.Fatal(err) -- } -- return links --} - --func checkIsFatal(t *testing.T, err error) { -- t.Helper() -- if err != nil && !errors.Is(err, io.EOF) && !errors.Is(err, io.ErrClosedPipe) { -- t.Fatal(err) -- } --} -- --// CloseEditor shuts down the editor, calling t.Fatal on any error. --func (e *Env) CloseEditor() { -- e.T.Helper() -- checkIsFatal(e.T, e.Editor.Close(e.Ctx)) --} -- --// RunGenerate runs go:generate on the given dir, calling t.Fatal on any error. --// It waits for the generate command to complete and checks for file changes --// before returning. --func (e *Env) RunGenerate(dir string) { -- e.T.Helper() -- if err := e.Editor.RunGenerate(e.Ctx, dir); err != nil { -- e.T.Fatal(err) -- } -- e.Await(NoOutstandingWork()) -- // Ideally the fake.Workspace would handle all synthetic file watching, but -- // we help it out here as we need to wait for the generate command to -- // complete before checking the filesystem. -- e.CheckForFileChanges() --} +-// Confirm that a fix for a tidy module will correct all modules in the +-// workspace. +-func TestMultiModule_OneBrokenModule(t *testing.T) { +- testenv.NeedsGo1Point(t, 15) - --// RunGoCommand runs the given command in the sandbox's default working --// directory. --func (e *Env) RunGoCommand(verb string, args ...string) { -- e.T.Helper() -- if err := e.Sandbox.RunGoCommand(e.Ctx, "", verb, args); err != nil { -- e.T.Fatal(err) -- } --} +- const mod = ` +--- a/go.mod -- +-module a.com - --// RunGoCommandInDir is like RunGoCommand, but executes in the given --// relative directory of the sandbox. --func (e *Env) RunGoCommandInDir(dir, verb string, args ...string) { -- e.T.Helper() -- if err := e.Sandbox.RunGoCommand(e.Ctx, dir, verb, args); err != nil { -- e.T.Fatal(err) -- } --} +-go 1.12 +--- a/main.go -- +-package main +--- b/go.mod -- +-module b.com - --func (e *Env) DumpGoSum(dir string) { -- e.T.Helper() +-go 1.12 - -- if err := e.Sandbox.RunGoCommand(e.Ctx, dir, "list", []string{"-mod=mod", "..."}); err != nil { -- e.T.Fatal(err) -- } -- sumFile := path.Join(dir, "/go.sum") -- e.T.Log("\n\n-- " + sumFile + " --\n" + e.ReadWorkspaceFile(sumFile)) -- e.T.Fatal("see contents above") --} +-require ( +- example.com v1.2.3 +-) +--- b/go.sum -- +--- b/main.go -- +-package b - --// CheckForFileChanges triggers a manual poll of the workspace for any file --// changes since creation, or since last polling. It is a workaround for the --// lack of true file watching support in the fake workspace. --func (e *Env) CheckForFileChanges() { -- e.T.Helper() -- if err := e.Sandbox.Workdir.CheckForFileChanges(e.Ctx); err != nil { -- e.T.Fatal(err) -- } --} +-import "example.com/blah" - --// CodeLens calls textDocument/codeLens for the given path, calling t.Fatal on --// any error. --func (e *Env) CodeLens(path string) []protocol.CodeLens { -- e.T.Helper() -- lens, err := e.Editor.CodeLens(e.Ctx, path) -- if err != nil { -- e.T.Fatal(err) -- } -- return lens +-func main() { +- blah.Hello() -} -- --// ExecuteCodeLensCommand executes the command for the code lens matching the --// given command name. --func (e *Env) ExecuteCodeLensCommand(path string, cmd *source.Command) { -- lenses := e.CodeLens(path) -- var lens protocol.CodeLens -- var found bool -- for _, l := range lenses { -- if l.Command.Command == cmd.ID() { -- lens = l -- found = true +-` +- WithOptions( +- ProxyFiles(workspaceProxy), +- Modes(Experimental), +- ).Run(t, mod, func(t *testing.T, env *Env) { +- params := &protocol.PublishDiagnosticsParams{} +- env.OpenFile("b/go.mod") +- env.Await( +- OnceMet( +- env.GoSumDiagnostic("b/go.mod", `example.com v1.2.3`), +- ReadDiagnostics("b/go.mod", params), +- ), +- ) +- for _, d := range params.Diagnostics { +- if !strings.Contains(d.Message, "go.sum is out of sync") { +- continue +- } +- actions := env.GetQuickFixes("b/go.mod", []protocol.Diagnostic{d}) +- if len(actions) != 2 { +- t.Fatalf("expected 2 code actions, got %v", len(actions)) +- } +- env.ApplyQuickFixes("b/go.mod", []protocol.Diagnostic{d}) - } -- } -- if !found { -- e.T.Fatalf("found no command with the ID %s", cmd.ID()) -- } -- if _, err := e.Editor.ExecuteCommand(e.Ctx, &protocol.ExecuteCommandParams{ -- Command: lens.Command.Command, -- Arguments: lens.Command.Arguments, -- }); err != nil { -- e.T.Fatal(err) -- } --} -- --// References calls textDocument/references for the given path at the given --// position. --func (e *Env) References(path string, pos fake.Pos) []protocol.Location { -- e.T.Helper() -- locations, err := e.Editor.References(e.Ctx, path, pos) -- if err != nil { -- e.T.Fatal(err) -- } -- return locations --} -- --// Completion executes a completion request on the server. --func (e *Env) Completion(path string, pos fake.Pos) *protocol.CompletionList { -- e.T.Helper() -- completions, err := e.Editor.Completion(e.Ctx, path, pos) -- if err != nil { -- e.T.Fatal(err) -- } -- return completions +- env.Await( +- EmptyDiagnostics("b/go.mod"), +- ) +- }) -} - --// AcceptCompletion accepts a completion for the given item at the given --// position. --func (e *Env) AcceptCompletion(path string, pos fake.Pos, item protocol.CompletionItem) { -- e.T.Helper() -- if err := e.Editor.AcceptCompletion(e.Ctx, path, pos, item); err != nil { -- e.T.Fatal(err) -- } --} +-// Sometimes users may have their module cache within the workspace. +-// We shouldn't consider any module in the module cache to be in the workspace. +-func TestGOMODCACHEInWorkspace(t *testing.T) { +- const mod = ` +--- a/go.mod -- +-module a.com - --// CodeAction calls testDocument/codeAction for the given path, and calls --// t.Fatal if there are errors. --func (e *Env) CodeAction(path string) []protocol.CodeAction { -- e.T.Helper() -- actions, err := e.Editor.CodeAction(e.Ctx, path, nil) -- if err != nil { -- e.T.Fatal(err) -- } -- return actions --} +-go 1.12 +--- a/a.go -- +-package a - --func (e *Env) changeConfiguration(t *testing.T, config *fake.EditorConfig) { -- e.Editor.Config = *config -- if err := e.Editor.Server.DidChangeConfiguration(e.Ctx, &protocol.DidChangeConfigurationParams{ -- // gopls currently ignores the Settings field -- }); err != nil { -- t.Fatal(err) -- } --} +-func _() {} +--- a/c/c.go -- +-package c +--- gopath/src/b/b.go -- +-package b +--- gopath/pkg/mod/example.com/go.mod -- +-module example.com - --// ChangeEnv modifies the editor environment and reconfigures the LSP client. --// TODO: extend this to "ChangeConfiguration", once we refactor the way editor --// configuration is defined. --func (e *Env) ChangeEnv(overlay map[string]string) { -- e.T.Helper() -- // TODO: to be correct, this should probably be synchronized, but right now -- // configuration is only ever modified synchronously in a regtest, so this -- // correctness can wait for the previously mentioned refactoring. -- if e.Editor.Config.Env == nil { -- e.Editor.Config.Env = make(map[string]string) -- } -- for k, v := range overlay { -- e.Editor.Config.Env[k] = v -- } -- var params protocol.DidChangeConfigurationParams -- if err := e.Editor.Server.DidChangeConfiguration(e.Ctx, ¶ms); err != nil { -- e.T.Fatal(err) -- } +-go 1.12 +--- gopath/pkg/mod/example.com/main.go -- +-package main +-` +- WithOptions( +- EditorConfig{Env: map[string]string{ +- "GOPATH": filepath.FromSlash("$SANDBOX_WORKDIR/gopath"), +- }}, +- Modes(Singleton), +- ).Run(t, mod, func(t *testing.T, env *Env) { +- env.Await( +- // Confirm that the build configuration is seen as valid, +- // even though there are technically multiple go.mod files in the +- // worskpace. +- LogMatching(protocol.Info, ".*valid build configuration = true.*", 1, false), +- ) +- }) -} diff -urN a/gopls/main.go b/gopls/main.go ---- a/gopls/main.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/main.go 1969-12-31 19:00:00.000000000 -0500 +--- a/gopls/main.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/main.go 1969-12-31 16:00:00.000000000 -0800 @@ -1,26 +0,0 @@ -// Copyright 2019 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style @@ -14156,8 +13747,8 @@ diff -urN a/gopls/main.go b/gopls/main.go - tool.Main(ctx, cmd.New("gopls", "", nil, hooks.Options), os.Args[1:]) -} diff -urN a/gopls/release/release.go b/gopls/release/release.go ---- a/gopls/release/release.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/release/release.go 1969-12-31 19:00:00.000000000 -0500 +--- a/gopls/release/release.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/release/release.go 1969-12-31 16:00:00.000000000 -0800 @@ -1,213 +0,0 @@ -// Copyright 2020 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style @@ -14373,8 +13964,8 @@ diff -urN a/gopls/release/release.go b/gopls/release/release.go - return nil -} diff -urN a/gopls/test/debug/debug_test.go b/gopls/test/debug/debug_test.go ---- a/gopls/test/debug/debug_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/test/debug/debug_test.go 1969-12-31 19:00:00.000000000 -0500 +--- a/gopls/test/debug/debug_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/test/debug/debug_test.go 1969-12-31 16:00:00.000000000 -0800 @@ -1,181 +0,0 @@ -// Copyright 2020 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style @@ -14428,7 +14019,7 @@ diff -urN a/gopls/test/debug/debug_test.go b/gopls/test/debug/debug_test.go -// construct a source.Overlay for fileTmpl -type fakeOverlay struct{} - --func (fakeOverlay) Version() float64 { +-func (fakeOverlay) Version() int32 { - return 0 -} -func (fakeOverlay) Session() string { @@ -14558,8 +14149,8 @@ diff -urN a/gopls/test/debug/debug_test.go b/gopls/test/debug/debug_test.go - return nil -} diff -urN a/gopls/test/gopls_test.go b/gopls/test/gopls_test.go ---- a/gopls/test/gopls_test.go 2000-01-01 00:00:00.000000000 -0000 -+++ b/gopls/test/gopls_test.go 1969-12-31 19:00:00.000000000 -0500 +--- a/gopls/test/gopls_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/test/gopls_test.go 1969-12-31 16:00:00.000000000 -0800 @@ -1,32 +0,0 @@ -// Copyright 2019 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style @@ -14593,3 +14184,141 @@ diff -urN a/gopls/test/gopls_test.go b/gopls/test/gopls_test.go - tests.DefaultOptions(options) - hooks.Options(options) -} +diff -urN a/gopls/test/json_test.go b/gopls/test/json_test.go +--- a/gopls/test/json_test.go 2021-06-30 08:59:09.000000000 -0700 ++++ b/gopls/test/json_test.go 1969-12-31 16:00:00.000000000 -0800 +@@ -1,134 +0,0 @@ +-// Copyright 2021 The Go Authors. All rights reserved. +-// Use of this source code is governed by a BSD-style +-// license that can be found in the LICENSE file. +- +-package gopls_test +- +-import ( +- "encoding/json" +- "fmt" +- "regexp" +- "strings" +- "testing" +- +- "github.com/google/go-cmp/cmp" +- "golang.org/x/tools/internal/lsp/protocol" +-) +- +-// verify that type errors in Initialize lsp messages don't cause +-// any other unmarshalling errors. The code looks at single values and the +-// first component of array values. Each occurrence is replaced by something +-// of a different type, the resulting string unmarshalled, and compared to +-// the unmarshalling of the unchanged strings. The test passes if there is no +-// more than a single difference reported. That is, if changing a single value +-// in the message changes no more than a single value in the unmarshalled struct, +-// it is safe to ignore *json.UnmarshalTypeError. +- +-// strings are changed to numbers or bools (true) +-// bools are changed to numbers or strings +-// numbers are changed to strings or bools +- +-// a recent Initialize message taken from a log +-const input = `{"processId":38349,"clientInfo":{"name":"vscode","version":"1.56.0-insider"},"rootPath":"/Users/pjw/latest/tools","rootUri":"file:///Users/pjw/latest/tools","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"],"failureHandling":"textOnlyTransactional"},"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"tagSupport":{"valueSet":[1]}},"executeCommand":{"dynamicRegistration":true},"configuration":true,"workspaceFolders":true,"semanticTokens":{"refreshSupport":true}},"textDocument":{"publishDiagnostics":{"relatedInformation":true,"versionSupport":false,"tagSupport":{"valueSet":[1,2]},"codeDescriptionSupport":true,"dataSupport":true},"synchronization":{"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":true,"contextSupport":true,"completionItem":{"snippetSupport":true,"commitCharactersSupport":true,"documentationFormat":["markdown","plaintext"],"deprecatedSupport":true,"preselectSupport":true,"tagSupport":{"valueSet":[1]},"insertReplaceSupport":true,"resolveSupport":{"properties":["documentation","detail","additionalTextEdits"]}},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]}},"hover":{"dynamicRegistration":true,"contentFormat":["markdown","plaintext"]},"signatureHelp":{"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true},"activeParameterSupport":true},"contextSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"dynamicRegistration":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"hierarchicalDocumentSymbolSupport":true,"tagSupport":{"valueSet":[1]},"labelSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"disabledSupport":true,"dataSupport":true,"resolveSupport":{"properties":["edit"]},"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"codeLens":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true,"prepareSupportDefaultBehavior":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"colorProvider":{"dynamicRegistration":true},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"selectionRange":{"dynamicRegistration":true},"callHierarchy":{"dynamicRegistration":true},"semanticTokens":{"dynamicRegistration":true,"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","member","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":["relative"],"requests":{"range":true,"full":{"delta":true}}}},"window":{"workDoneProgress":true}},"initializationOptions":{"usePlaceholders":true,"completionDocumentation":true,"verboseOutput":false,"codelenses":{"gc_details":true},"analyses":{"fillstruct":true,"staticcheck":true},"experimentalWorkspaceModule":true,"semanticTokens":true},"trace":"off","workspaceFolders":[{"uri":"file:///Users/pjw/latest/tools","name":"tools"}]}` +- +-type DiffReporter struct { +- path cmp.Path +- diffs []string +-} +- +-func (r *DiffReporter) PushStep(ps cmp.PathStep) { +- r.path = append(r.path, ps) +-} +- +-func (r *DiffReporter) Report(rs cmp.Result) { +- if !rs.Equal() { +- vx, vy := r.path.Last().Values() +- r.diffs = append(r.diffs, fmt.Sprintf("%#v:\n\t-: %+v\n\t+: %+v\n", r.path, vx, vy)) +- } +-} +- +-func (r *DiffReporter) PopStep() { +- r.path = r.path[:len(r.path)-1] +-} +- +-func (r *DiffReporter) String() string { +- return strings.Join(r.diffs, "\n") +-} +- +-func TestStringChanges(t *testing.T) { +- // string as value +- stringLeaf := regexp.MustCompile(`:("[^"]*")`) +- leafs := stringLeaf.FindAllStringSubmatchIndex(input, -1) +- allDeltas(t, leafs, "23", "true") +- // string as first element of array +- stringArray := regexp.MustCompile(`[[]("[^"]*")`) +- arrays := stringArray.FindAllStringSubmatchIndex(input, -1) +- allDeltas(t, arrays, "23", "true") +-} +- +-func TestBoolChanges(t *testing.T) { +- boolLeaf := regexp.MustCompile(`:(true|false)(,|})`) +- leafs := boolLeaf.FindAllStringSubmatchIndex(input, -1) +- allDeltas(t, leafs, "23", `"xx"`) +- boolArray := regexp.MustCompile(`:[[](true|false)(,|])`) +- arrays := boolArray.FindAllStringSubmatchIndex(input, -1) +- allDeltas(t, arrays, "23", `"xx"`) +-} +- +-func TestNumberChanges(t *testing.T) { +- numLeaf := regexp.MustCompile(`:(\d+)(,|})`) +- leafs := numLeaf.FindAllStringSubmatchIndex(input, -1) +- allDeltas(t, leafs, "true", `"xx"`) +- numArray := regexp.MustCompile(`:[[](\d+)(,|])`) +- arrays := numArray.FindAllStringSubmatchIndex(input, -1) +- allDeltas(t, arrays, "true", `"xx"`) +-} +- +-// v is a set of matches. check that substituting any repl never +-// creates more than 1 unmarshaling error +-func allDeltas(t *testing.T, v [][]int, repls ...string) { +- t.Helper() +- for _, repl := range repls { +- for i, x := range v { +- err := tryChange(x[2], x[3], repl) +- if err != nil { +- t.Errorf("%d:%q %v", i, input[x[2]:x[3]], err) +- } +- } +- } +-} +- +-func tryChange(start, end int, repl string) error { +- var p, q protocol.InitializeParams +- mod := input[:start] + repl + input[end:] +- excerpt := func() (string, string) { +- a := start - 5 +- if a < 0 { +- a = 0 +- } +- b := end + 5 +- if b > len(input) { +- // trusting repl to be no longer than what it replaces +- b = len(input) +- } +- ma := input[a:b] +- mb := mod[a:b] +- return ma, mb +- } +- if err := json.Unmarshal([]byte(input), &p); err != nil { +- return fmt.Errorf("%s %v", repl, err) +- } +- if err := json.Unmarshal([]byte(mod), &q); err == nil { +- return nil // no errors is ok +- } else if _, ok := err.(*json.UnmarshalTypeError); !ok { +- return fmt.Errorf("%T, not *json.UnmarshalTypeError", err) +- } +- +- var r DiffReporter +- cmp.Diff(p, q, cmp.Reporter(&r)) +- if len(r.diffs) > 1 { // 0 is possible, e.g., for interface{} +- ma, mb := excerpt() +- return fmt.Errorf("got %d diffs for %q\n%s\n%s", len(r.diffs), repl, ma, mb) +- } +- return nil +-} diff --git a/third_party/org_golang_x_tools-gazelle.patch b/third_party/org_golang_x_tools-gazelle.patch index 91a3b596cc..21f8456a6f 100644 --- a/third_party/org_golang_x_tools-gazelle.patch +++ b/third_party/org_golang_x_tools-gazelle.patch @@ -1,5 +1,5 @@ diff -urN b/benchmark/parse/BUILD.bazel c/benchmark/parse/BUILD.bazel ---- b/benchmark/parse/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/benchmark/parse/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/benchmark/parse/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -23,7 +23,7 @@ diff -urN b/benchmark/parse/BUILD.bazel c/benchmark/parse/BUILD.bazel + embed = [":parse"], +) diff -urN b/blog/BUILD.bazel c/blog/BUILD.bazel ---- b/blog/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/blog/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/blog/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -51,7 +51,7 @@ diff -urN b/blog/BUILD.bazel c/blog/BUILD.bazel + embed = [":blog"], +) diff -urN b/blog/atom/BUILD.bazel c/blog/atom/BUILD.bazel ---- b/blog/atom/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/blog/atom/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/blog/atom/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -69,7 +69,7 @@ diff -urN b/blog/atom/BUILD.bazel c/blog/atom/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/cmd/auth/authtest/BUILD.bazel c/cmd/auth/authtest/BUILD.bazel ---- b/cmd/auth/authtest/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/auth/authtest/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/auth/authtest/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -88,7 +88,7 @@ diff -urN b/cmd/auth/authtest/BUILD.bazel c/cmd/auth/authtest/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/cmd/auth/cookieauth/BUILD.bazel c/cmd/auth/cookieauth/BUILD.bazel ---- b/cmd/auth/cookieauth/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/auth/cookieauth/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/auth/cookieauth/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -106,7 +106,7 @@ diff -urN b/cmd/auth/cookieauth/BUILD.bazel c/cmd/auth/cookieauth/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/cmd/auth/gitauth/BUILD.bazel c/cmd/auth/gitauth/BUILD.bazel ---- b/cmd/auth/gitauth/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/auth/gitauth/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/auth/gitauth/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -125,7 +125,7 @@ diff -urN b/cmd/auth/gitauth/BUILD.bazel c/cmd/auth/gitauth/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/cmd/auth/netrcauth/BUILD.bazel c/cmd/auth/netrcauth/BUILD.bazel ---- b/cmd/auth/netrcauth/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/auth/netrcauth/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/auth/netrcauth/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -143,7 +143,7 @@ diff -urN b/cmd/auth/netrcauth/BUILD.bazel c/cmd/auth/netrcauth/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/cmd/benchcmp/BUILD.bazel c/cmd/benchcmp/BUILD.bazel ---- b/cmd/benchcmp/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/benchcmp/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/benchcmp/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test") @@ -176,7 +176,7 @@ diff -urN b/cmd/benchcmp/BUILD.bazel c/cmd/benchcmp/BUILD.bazel + deps = ["//benchmark/parse"], +) diff -urN b/cmd/bundle/BUILD.bazel c/cmd/bundle/BUILD.bazel ---- b/cmd/bundle/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/bundle/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/bundle/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test") @@ -202,7 +202,7 @@ diff -urN b/cmd/bundle/BUILD.bazel c/cmd/bundle/BUILD.bazel + deps = ["//go/packages/packagestest"], +) diff -urN b/cmd/bundle/testdata/src/domain.name/importdecl/BUILD.bazel c/cmd/bundle/testdata/src/domain.name/importdecl/BUILD.bazel ---- b/cmd/bundle/testdata/src/domain.name/importdecl/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/bundle/testdata/src/domain.name/importdecl/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/bundle/testdata/src/domain.name/importdecl/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -220,7 +220,7 @@ diff -urN b/cmd/bundle/testdata/src/domain.name/importdecl/BUILD.bazel c/cmd/bun + visibility = ["//visibility:public"], +) diff -urN b/cmd/bundle/testdata/src/initial/BUILD.bazel c/cmd/bundle/testdata/src/initial/BUILD.bazel ---- b/cmd/bundle/testdata/src/initial/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/bundle/testdata/src/initial/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/bundle/testdata/src/initial/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -242,7 +242,7 @@ diff -urN b/cmd/bundle/testdata/src/initial/BUILD.bazel c/cmd/bundle/testdata/sr + visibility = ["//visibility:public"], +) diff -urN b/cmd/callgraph/BUILD.bazel c/cmd/callgraph/BUILD.bazel ---- b/cmd/callgraph/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/callgraph/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/callgraph/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,73 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test") @@ -319,7 +319,7 @@ diff -urN b/cmd/callgraph/BUILD.bazel c/cmd/callgraph/BUILD.bazel + }), +) diff -urN b/cmd/callgraph/testdata/src/pkg/BUILD.bazel c/cmd/callgraph/testdata/src/pkg/BUILD.bazel ---- b/cmd/callgraph/testdata/src/pkg/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/callgraph/testdata/src/pkg/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/callgraph/testdata/src/pkg/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test") @@ -343,7 +343,7 @@ diff -urN b/cmd/callgraph/testdata/src/pkg/BUILD.bazel c/cmd/callgraph/testdata/ + embed = [":pkg_lib"], +) diff -urN b/cmd/compilebench/BUILD.bazel c/cmd/compilebench/BUILD.bazel ---- b/cmd/compilebench/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/compilebench/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/compilebench/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -362,7 +362,7 @@ diff -urN b/cmd/compilebench/BUILD.bazel c/cmd/compilebench/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/cmd/cover/BUILD.bazel c/cmd/cover/BUILD.bazel ---- b/cmd/cover/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/cover/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/cover/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,70 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test") @@ -436,7 +436,7 @@ diff -urN b/cmd/cover/BUILD.bazel c/cmd/cover/BUILD.bazel + }), +) diff -urN b/cmd/cover/testdata/BUILD.bazel c/cmd/cover/testdata/BUILD.bazel ---- b/cmd/cover/testdata/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/cover/testdata/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/cover/testdata/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -457,7 +457,7 @@ diff -urN b/cmd/cover/testdata/BUILD.bazel c/cmd/cover/testdata/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/cmd/digraph/BUILD.bazel c/cmd/digraph/BUILD.bazel ---- b/cmd/digraph/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/digraph/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/digraph/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test") @@ -481,9 +481,9 @@ diff -urN b/cmd/digraph/BUILD.bazel c/cmd/digraph/BUILD.bazel + embed = [":digraph_lib"], +) diff -urN b/cmd/eg/BUILD.bazel c/cmd/eg/BUILD.bazel ---- b/cmd/eg/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/eg/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/eg/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,20 @@ +@@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") + +go_library( @@ -492,8 +492,7 @@ diff -urN b/cmd/eg/BUILD.bazel c/cmd/eg/BUILD.bazel + importpath = "golang.org/x/tools/cmd/eg", + visibility = ["//visibility:private"], + deps = [ -+ "//go/buildutil", -+ "//go/loader", ++ "//go/packages", + "//refactor/eg", + "@org_golang_x_sys//execabs:go_default_library", + ], @@ -505,7 +504,7 @@ diff -urN b/cmd/eg/BUILD.bazel c/cmd/eg/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/cmd/fiximports/BUILD.bazel c/cmd/fiximports/BUILD.bazel ---- b/cmd/fiximports/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/fiximports/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/fiximports/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,63 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test") @@ -572,7 +571,7 @@ diff -urN b/cmd/fiximports/BUILD.bazel c/cmd/fiximports/BUILD.bazel + }), +) diff -urN b/cmd/fiximports/testdata/src/fruit.io/banana/BUILD.bazel c/cmd/fiximports/testdata/src/fruit.io/banana/BUILD.bazel ---- b/cmd/fiximports/testdata/src/fruit.io/banana/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/fiximports/testdata/src/fruit.io/banana/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/fiximports/testdata/src/fruit.io/banana/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -590,7 +589,7 @@ diff -urN b/cmd/fiximports/testdata/src/fruit.io/banana/BUILD.bazel c/cmd/fiximp + visibility = ["//visibility:public"], +) diff -urN b/cmd/fiximports/testdata/src/fruit.io/orange/BUILD.bazel c/cmd/fiximports/testdata/src/fruit.io/orange/BUILD.bazel ---- b/cmd/fiximports/testdata/src/fruit.io/orange/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/fiximports/testdata/src/fruit.io/orange/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/fiximports/testdata/src/fruit.io/orange/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -608,7 +607,7 @@ diff -urN b/cmd/fiximports/testdata/src/fruit.io/orange/BUILD.bazel c/cmd/fiximp + visibility = ["//visibility:public"], +) diff -urN b/cmd/fiximports/testdata/src/fruit.io/pear/BUILD.bazel c/cmd/fiximports/testdata/src/fruit.io/pear/BUILD.bazel ---- b/cmd/fiximports/testdata/src/fruit.io/pear/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/fiximports/testdata/src/fruit.io/pear/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/fiximports/testdata/src/fruit.io/pear/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -626,7 +625,7 @@ diff -urN b/cmd/fiximports/testdata/src/fruit.io/pear/BUILD.bazel c/cmd/fiximpor + visibility = ["//visibility:public"], +) diff -urN b/cmd/fiximports/testdata/src/new.com/one/BUILD.bazel c/cmd/fiximports/testdata/src/new.com/one/BUILD.bazel ---- b/cmd/fiximports/testdata/src/new.com/one/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/fiximports/testdata/src/new.com/one/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/fiximports/testdata/src/new.com/one/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -644,7 +643,7 @@ diff -urN b/cmd/fiximports/testdata/src/new.com/one/BUILD.bazel c/cmd/fiximports + visibility = ["//visibility:public"], +) diff -urN b/cmd/fiximports/testdata/src/old.com/bad/BUILD.bazel c/cmd/fiximports/testdata/src/old.com/bad/BUILD.bazel ---- b/cmd/fiximports/testdata/src/old.com/bad/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/fiximports/testdata/src/old.com/bad/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/fiximports/testdata/src/old.com/bad/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -662,7 +661,7 @@ diff -urN b/cmd/fiximports/testdata/src/old.com/bad/BUILD.bazel c/cmd/fiximports + visibility = ["//visibility:public"], +) diff -urN b/cmd/fiximports/testdata/src/old.com/one/BUILD.bazel c/cmd/fiximports/testdata/src/old.com/one/BUILD.bazel ---- b/cmd/fiximports/testdata/src/old.com/one/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/fiximports/testdata/src/old.com/one/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/fiximports/testdata/src/old.com/one/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -680,7 +679,7 @@ diff -urN b/cmd/fiximports/testdata/src/old.com/one/BUILD.bazel c/cmd/fiximports + visibility = ["//visibility:public"], +) diff -urN b/cmd/fiximports/testdata/src/titanic.biz/bar/BUILD.bazel c/cmd/fiximports/testdata/src/titanic.biz/bar/BUILD.bazel ---- b/cmd/fiximports/testdata/src/titanic.biz/bar/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/fiximports/testdata/src/titanic.biz/bar/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/fiximports/testdata/src/titanic.biz/bar/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -698,7 +697,7 @@ diff -urN b/cmd/fiximports/testdata/src/titanic.biz/bar/BUILD.bazel c/cmd/fiximp + visibility = ["//visibility:public"], +) diff -urN b/cmd/fiximports/testdata/src/titanic.biz/foo/BUILD.bazel c/cmd/fiximports/testdata/src/titanic.biz/foo/BUILD.bazel ---- b/cmd/fiximports/testdata/src/titanic.biz/foo/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/fiximports/testdata/src/titanic.biz/foo/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/fiximports/testdata/src/titanic.biz/foo/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -716,7 +715,7 @@ diff -urN b/cmd/fiximports/testdata/src/titanic.biz/foo/BUILD.bazel c/cmd/fiximp + visibility = ["//visibility:public"], +) diff -urN b/cmd/getgo/BUILD.bazel c/cmd/getgo/BUILD.bazel ---- b/cmd/getgo/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/getgo/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/getgo/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,74 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test") @@ -794,7 +793,7 @@ diff -urN b/cmd/getgo/BUILD.bazel c/cmd/getgo/BUILD.bazel + embed = [":getgo_lib"], +) diff -urN b/cmd/getgo/server/BUILD.bazel c/cmd/getgo/server/BUILD.bazel ---- b/cmd/getgo/server/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/getgo/server/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/getgo/server/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -812,7 +811,7 @@ diff -urN b/cmd/getgo/server/BUILD.bazel c/cmd/getgo/server/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/cmd/go-contrib-init/BUILD.bazel c/cmd/go-contrib-init/BUILD.bazel ---- b/cmd/go-contrib-init/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/go-contrib-init/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/go-contrib-init/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test") @@ -837,7 +836,7 @@ diff -urN b/cmd/go-contrib-init/BUILD.bazel c/cmd/go-contrib-init/BUILD.bazel + embed = [":go-contrib-init_lib"], +) diff -urN b/cmd/godex/BUILD.bazel c/cmd/godex/BUILD.bazel ---- b/cmd/godex/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/godex/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/godex/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -865,7 +864,7 @@ diff -urN b/cmd/godex/BUILD.bazel c/cmd/godex/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/cmd/godoc/BUILD.bazel c/cmd/godoc/BUILD.bazel ---- b/cmd/godoc/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/godoc/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/godoc/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test") @@ -911,7 +910,7 @@ diff -urN b/cmd/godoc/BUILD.bazel c/cmd/godoc/BUILD.bazel + ], +) diff -urN b/cmd/goimports/BUILD.bazel c/cmd/goimports/BUILD.bazel ---- b/cmd/goimports/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/goimports/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/goimports/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -938,7 +937,7 @@ diff -urN b/cmd/goimports/BUILD.bazel c/cmd/goimports/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/cmd/gomvpkg/BUILD.bazel c/cmd/gomvpkg/BUILD.bazel ---- b/cmd/gomvpkg/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/gomvpkg/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/gomvpkg/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -960,7 +959,7 @@ diff -urN b/cmd/gomvpkg/BUILD.bazel c/cmd/gomvpkg/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/cmd/gorename/BUILD.bazel c/cmd/gorename/BUILD.bazel ---- b/cmd/gorename/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/gorename/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/gorename/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test") @@ -988,7 +987,7 @@ diff -urN b/cmd/gorename/BUILD.bazel c/cmd/gorename/BUILD.bazel + deps = ["//internal/testenv"], +) diff -urN b/cmd/gotype/BUILD.bazel c/cmd/gotype/BUILD.bazel ---- b/cmd/gotype/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/gotype/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/gotype/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1010,7 +1009,7 @@ diff -urN b/cmd/gotype/BUILD.bazel c/cmd/gotype/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/cmd/goyacc/BUILD.bazel c/cmd/goyacc/BUILD.bazel ---- b/cmd/goyacc/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/goyacc/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/goyacc/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1031,7 +1030,7 @@ diff -urN b/cmd/goyacc/BUILD.bazel c/cmd/goyacc/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/cmd/goyacc/testdata/expr/BUILD.bazel c/cmd/goyacc/testdata/expr/BUILD.bazel ---- b/cmd/goyacc/testdata/expr/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/goyacc/testdata/expr/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/goyacc/testdata/expr/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1049,7 +1048,7 @@ diff -urN b/cmd/goyacc/testdata/expr/BUILD.bazel c/cmd/goyacc/testdata/expr/BUIL + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/BUILD.bazel c/cmd/guru/BUILD.bazel ---- b/cmd/guru/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,56 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test") @@ -1109,7 +1108,7 @@ diff -urN b/cmd/guru/BUILD.bazel c/cmd/guru/BUILD.bazel + deps = ["//internal/testenv"], +) diff -urN b/cmd/guru/serial/BUILD.bazel c/cmd/guru/serial/BUILD.bazel ---- b/cmd/guru/serial/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/serial/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/serial/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1127,7 +1126,7 @@ diff -urN b/cmd/guru/serial/BUILD.bazel c/cmd/guru/serial/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/alias/BUILD.bazel c/cmd/guru/testdata/src/alias/BUILD.bazel ---- b/cmd/guru/testdata/src/alias/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/alias/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/alias/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1145,7 +1144,7 @@ diff -urN b/cmd/guru/testdata/src/alias/BUILD.bazel c/cmd/guru/testdata/src/alia + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/calls/BUILD.bazel c/cmd/guru/testdata/src/calls/BUILD.bazel ---- b/cmd/guru/testdata/src/calls/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/calls/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/calls/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1163,7 +1162,7 @@ diff -urN b/cmd/guru/testdata/src/calls/BUILD.bazel c/cmd/guru/testdata/src/call + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/calls-json/BUILD.bazel c/cmd/guru/testdata/src/calls-json/BUILD.bazel ---- b/cmd/guru/testdata/src/calls-json/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/calls-json/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/calls-json/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1181,7 +1180,7 @@ diff -urN b/cmd/guru/testdata/src/calls-json/BUILD.bazel c/cmd/guru/testdata/src + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/definition-json/BUILD.bazel c/cmd/guru/testdata/src/definition-json/BUILD.bazel ---- b/cmd/guru/testdata/src/definition-json/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/definition-json/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/definition-json/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1202,7 +1201,7 @@ diff -urN b/cmd/guru/testdata/src/definition-json/BUILD.bazel c/cmd/guru/testdat + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/describe/BUILD.bazel c/cmd/guru/testdata/src/describe/BUILD.bazel ---- b/cmd/guru/testdata/src/describe/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/describe/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/describe/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1220,7 +1219,7 @@ diff -urN b/cmd/guru/testdata/src/describe/BUILD.bazel c/cmd/guru/testdata/src/d + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/describe-json/BUILD.bazel c/cmd/guru/testdata/src/describe-json/BUILD.bazel ---- b/cmd/guru/testdata/src/describe-json/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/describe-json/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/describe-json/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1238,7 +1237,7 @@ diff -urN b/cmd/guru/testdata/src/describe-json/BUILD.bazel c/cmd/guru/testdata/ + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/freevars/BUILD.bazel c/cmd/guru/testdata/src/freevars/BUILD.bazel ---- b/cmd/guru/testdata/src/freevars/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/freevars/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/freevars/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1256,7 +1255,7 @@ diff -urN b/cmd/guru/testdata/src/freevars/BUILD.bazel c/cmd/guru/testdata/src/f + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/implements/BUILD.bazel c/cmd/guru/testdata/src/implements/BUILD.bazel ---- b/cmd/guru/testdata/src/implements/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/implements/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/implements/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1274,7 +1273,7 @@ diff -urN b/cmd/guru/testdata/src/implements/BUILD.bazel c/cmd/guru/testdata/src + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/implements-json/BUILD.bazel c/cmd/guru/testdata/src/implements-json/BUILD.bazel ---- b/cmd/guru/testdata/src/implements-json/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/implements-json/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/implements-json/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1292,7 +1291,7 @@ diff -urN b/cmd/guru/testdata/src/implements-json/BUILD.bazel c/cmd/guru/testdat + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/implements-methods/BUILD.bazel c/cmd/guru/testdata/src/implements-methods/BUILD.bazel ---- b/cmd/guru/testdata/src/implements-methods/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/implements-methods/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/implements-methods/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1310,7 +1309,7 @@ diff -urN b/cmd/guru/testdata/src/implements-methods/BUILD.bazel c/cmd/guru/test + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/implements-methods-json/BUILD.bazel c/cmd/guru/testdata/src/implements-methods-json/BUILD.bazel ---- b/cmd/guru/testdata/src/implements-methods-json/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/implements-methods-json/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/implements-methods-json/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1328,7 +1327,7 @@ diff -urN b/cmd/guru/testdata/src/implements-methods-json/BUILD.bazel c/cmd/guru + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/imports/BUILD.bazel c/cmd/guru/testdata/src/imports/BUILD.bazel ---- b/cmd/guru/testdata/src/imports/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/imports/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/imports/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1346,7 +1345,7 @@ diff -urN b/cmd/guru/testdata/src/imports/BUILD.bazel c/cmd/guru/testdata/src/im + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/lib/BUILD.bazel c/cmd/guru/testdata/src/lib/BUILD.bazel ---- b/cmd/guru/testdata/src/lib/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/lib/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/lib/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1364,7 +1363,7 @@ diff -urN b/cmd/guru/testdata/src/lib/BUILD.bazel c/cmd/guru/testdata/src/lib/BU + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/lib/sublib/BUILD.bazel c/cmd/guru/testdata/src/lib/sublib/BUILD.bazel ---- b/cmd/guru/testdata/src/lib/sublib/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/lib/sublib/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/lib/sublib/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -1382,7 +1381,7 @@ diff -urN b/cmd/guru/testdata/src/lib/sublib/BUILD.bazel c/cmd/guru/testdata/src + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/main/BUILD.bazel c/cmd/guru/testdata/src/main/BUILD.bazel ---- b/cmd/guru/testdata/src/main/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/main/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/main/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1400,7 +1399,7 @@ diff -urN b/cmd/guru/testdata/src/main/BUILD.bazel c/cmd/guru/testdata/src/main/ + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/peers/BUILD.bazel c/cmd/guru/testdata/src/peers/BUILD.bazel ---- b/cmd/guru/testdata/src/peers/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/peers/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/peers/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1418,7 +1417,7 @@ diff -urN b/cmd/guru/testdata/src/peers/BUILD.bazel c/cmd/guru/testdata/src/peer + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/peers-json/BUILD.bazel c/cmd/guru/testdata/src/peers-json/BUILD.bazel ---- b/cmd/guru/testdata/src/peers-json/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/peers-json/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/peers-json/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1436,7 +1435,7 @@ diff -urN b/cmd/guru/testdata/src/peers-json/BUILD.bazel c/cmd/guru/testdata/src + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/pointsto/BUILD.bazel c/cmd/guru/testdata/src/pointsto/BUILD.bazel ---- b/cmd/guru/testdata/src/pointsto/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/pointsto/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/pointsto/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1454,7 +1453,7 @@ diff -urN b/cmd/guru/testdata/src/pointsto/BUILD.bazel c/cmd/guru/testdata/src/p + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/pointsto-json/BUILD.bazel c/cmd/guru/testdata/src/pointsto-json/BUILD.bazel ---- b/cmd/guru/testdata/src/pointsto-json/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/pointsto-json/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/pointsto-json/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1472,7 +1471,7 @@ diff -urN b/cmd/guru/testdata/src/pointsto-json/BUILD.bazel c/cmd/guru/testdata/ + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/referrers/BUILD.bazel c/cmd/guru/testdata/src/referrers/BUILD.bazel ---- b/cmd/guru/testdata/src/referrers/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/referrers/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/referrers/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test") @@ -1499,7 +1498,7 @@ diff -urN b/cmd/guru/testdata/src/referrers/BUILD.bazel c/cmd/guru/testdata/src/ + embed = [":referrers_lib"], +) diff -urN b/cmd/guru/testdata/src/referrers-json/BUILD.bazel c/cmd/guru/testdata/src/referrers-json/BUILD.bazel ---- b/cmd/guru/testdata/src/referrers-json/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/referrers-json/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/referrers-json/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1517,7 +1516,7 @@ diff -urN b/cmd/guru/testdata/src/referrers-json/BUILD.bazel c/cmd/guru/testdata + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/reflection/BUILD.bazel c/cmd/guru/testdata/src/reflection/BUILD.bazel ---- b/cmd/guru/testdata/src/reflection/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/reflection/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/reflection/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1535,7 +1534,7 @@ diff -urN b/cmd/guru/testdata/src/reflection/BUILD.bazel c/cmd/guru/testdata/src + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/softerrs/BUILD.bazel c/cmd/guru/testdata/src/softerrs/BUILD.bazel ---- b/cmd/guru/testdata/src/softerrs/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/softerrs/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/softerrs/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1553,7 +1552,7 @@ diff -urN b/cmd/guru/testdata/src/softerrs/BUILD.bazel c/cmd/guru/testdata/src/s + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/what/BUILD.bazel c/cmd/guru/testdata/src/what/BUILD.bazel ---- b/cmd/guru/testdata/src/what/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/what/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/what/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1571,7 +1570,7 @@ diff -urN b/cmd/guru/testdata/src/what/BUILD.bazel c/cmd/guru/testdata/src/what/ + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/what-json/BUILD.bazel c/cmd/guru/testdata/src/what-json/BUILD.bazel ---- b/cmd/guru/testdata/src/what-json/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/what-json/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/what-json/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1589,7 +1588,7 @@ diff -urN b/cmd/guru/testdata/src/what-json/BUILD.bazel c/cmd/guru/testdata/src/ + visibility = ["//visibility:public"], +) diff -urN b/cmd/guru/testdata/src/whicherrs/BUILD.bazel c/cmd/guru/testdata/src/whicherrs/BUILD.bazel ---- b/cmd/guru/testdata/src/whicherrs/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/guru/testdata/src/whicherrs/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/guru/testdata/src/whicherrs/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1607,7 +1606,7 @@ diff -urN b/cmd/guru/testdata/src/whicherrs/BUILD.bazel c/cmd/guru/testdata/src/ + visibility = ["//visibility:public"], +) diff -urN b/cmd/html2article/BUILD.bazel c/cmd/html2article/BUILD.bazel ---- b/cmd/html2article/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/html2article/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/html2article/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1629,7 +1628,7 @@ diff -urN b/cmd/html2article/BUILD.bazel c/cmd/html2article/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/cmd/present/BUILD.bazel c/cmd/present/BUILD.bazel ---- b/cmd/present/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/present/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/present/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1658,7 +1657,7 @@ diff -urN b/cmd/present/BUILD.bazel c/cmd/present/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/cmd/present2md/BUILD.bazel c/cmd/present2md/BUILD.bazel ---- b/cmd/present2md/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/present2md/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/present2md/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1677,7 +1676,7 @@ diff -urN b/cmd/present2md/BUILD.bazel c/cmd/present2md/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/cmd/splitdwarf/BUILD.bazel c/cmd/splitdwarf/BUILD.bazel ---- b/cmd/splitdwarf/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/splitdwarf/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/splitdwarf/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,47 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1728,7 +1727,7 @@ diff -urN b/cmd/splitdwarf/BUILD.bazel c/cmd/splitdwarf/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/cmd/splitdwarf/internal/macho/BUILD.bazel c/cmd/splitdwarf/internal/macho/BUILD.bazel ---- b/cmd/splitdwarf/internal/macho/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/splitdwarf/internal/macho/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/splitdwarf/internal/macho/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -1759,7 +1758,7 @@ diff -urN b/cmd/splitdwarf/internal/macho/BUILD.bazel c/cmd/splitdwarf/internal/ + embed = [":macho"], +) diff -urN b/cmd/ssadump/BUILD.bazel c/cmd/ssadump/BUILD.bazel ---- b/cmd/ssadump/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/ssadump/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/ssadump/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1784,7 +1783,7 @@ diff -urN b/cmd/ssadump/BUILD.bazel c/cmd/ssadump/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/cmd/stress/BUILD.bazel c/cmd/stress/BUILD.bazel ---- b/cmd/stress/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/stress/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/stress/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,56 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1844,7 +1843,7 @@ diff -urN b/cmd/stress/BUILD.bazel c/cmd/stress/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/cmd/stringer/BUILD.bazel c/cmd/stringer/BUILD.bazel ---- b/cmd/stringer/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/stringer/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/stringer/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_test") @@ -1874,7 +1873,7 @@ diff -urN b/cmd/stringer/BUILD.bazel c/cmd/stringer/BUILD.bazel + deps = ["//internal/testenv"], +) diff -urN b/cmd/stringer/testdata/BUILD.bazel c/cmd/stringer/testdata/BUILD.bazel ---- b/cmd/stringer/testdata/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/stringer/testdata/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/stringer/testdata/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1905,7 +1904,7 @@ diff -urN b/cmd/stringer/testdata/BUILD.bazel c/cmd/stringer/testdata/BUILD.baze + visibility = ["//visibility:public"], +) diff -urN b/cmd/toolstash/BUILD.bazel c/cmd/toolstash/BUILD.bazel ---- b/cmd/toolstash/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cmd/toolstash/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cmd/toolstash/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -1927,7 +1926,7 @@ diff -urN b/cmd/toolstash/BUILD.bazel c/cmd/toolstash/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/container/intsets/BUILD.bazel c/container/intsets/BUILD.bazel ---- b/container/intsets/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/container/intsets/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/container/intsets/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -1960,7 +1959,7 @@ diff -urN b/container/intsets/BUILD.bazel c/container/intsets/BUILD.bazel + embed = [":intsets"], +) diff -urN b/copyright/BUILD.bazel c/copyright/BUILD.bazel ---- b/copyright/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/copyright/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/copyright/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -1984,7 +1983,7 @@ diff -urN b/copyright/BUILD.bazel c/copyright/BUILD.bazel + embed = [":copyright"], +) diff -urN b/cover/BUILD.bazel c/cover/BUILD.bazel ---- b/cover/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/cover/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/cover/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2008,7 +2007,7 @@ diff -urN b/cover/BUILD.bazel c/cover/BUILD.bazel + embed = [":cover"], +) diff -urN b/go/analysis/BUILD.bazel c/go/analysis/BUILD.bazel ---- b/go/analysis/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,39 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -2051,7 +2050,7 @@ diff -urN b/go/analysis/BUILD.bazel c/go/analysis/BUILD.bazel + embed = [":analysis"], +) diff -urN b/go/analysis/analysistest/BUILD.bazel c/go/analysis/analysistest/BUILD.bazel ---- b/go/analysis/analysistest/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/analysistest/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/analysistest/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,34 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2089,7 +2088,7 @@ diff -urN b/go/analysis/analysistest/BUILD.bazel c/go/analysis/analysistest/BUIL + ], +) diff -urN b/go/analysis/internal/analysisflags/BUILD.bazel c/go/analysis/internal/analysisflags/BUILD.bazel ---- b/go/analysis/internal/analysisflags/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/internal/analysisflags/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/internal/analysisflags/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2120,7 +2119,7 @@ diff -urN b/go/analysis/internal/analysisflags/BUILD.bazel c/go/analysis/interna + ], +) diff -urN b/go/analysis/internal/checker/BUILD.bazel c/go/analysis/internal/checker/BUILD.bazel ---- b/go/analysis/internal/checker/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/internal/checker/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/internal/checker/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,34 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2158,7 +2157,7 @@ diff -urN b/go/analysis/internal/checker/BUILD.bazel c/go/analysis/internal/chec + ], +) diff -urN b/go/analysis/internal/facts/BUILD.bazel c/go/analysis/internal/facts/BUILD.bazel ---- b/go/analysis/internal/facts/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/internal/facts/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/internal/facts/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,46 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -2208,7 +2207,7 @@ diff -urN b/go/analysis/internal/facts/BUILD.bazel c/go/analysis/internal/facts/ + ], +) diff -urN b/go/analysis/multichecker/BUILD.bazel c/go/analysis/multichecker/BUILD.bazel ---- b/go/analysis/multichecker/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/multichecker/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/multichecker/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -2243,7 +2242,7 @@ diff -urN b/go/analysis/multichecker/BUILD.bazel c/go/analysis/multichecker/BUIL + ], +) diff -urN b/go/analysis/passes/asmdecl/BUILD.bazel c/go/analysis/passes/asmdecl/BUILD.bazel ---- b/go/analysis/passes/asmdecl/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/asmdecl/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/asmdecl/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -2285,7 +2284,7 @@ diff -urN b/go/analysis/passes/asmdecl/BUILD.bazel c/go/analysis/passes/asmdecl/ + ], +) diff -urN b/go/analysis/passes/asmdecl/testdata/src/a/BUILD.bazel c/go/analysis/passes/asmdecl/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/asmdecl/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/asmdecl/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/asmdecl/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2314,7 +2313,7 @@ diff -urN b/go/analysis/passes/asmdecl/testdata/src/a/BUILD.bazel c/go/analysis/ + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/assign/BUILD.bazel c/go/analysis/passes/assign/BUILD.bazel ---- b/go/analysis/passes/assign/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/assign/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/assign/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -2360,7 +2359,7 @@ diff -urN b/go/analysis/passes/assign/BUILD.bazel c/go/analysis/passes/assign/BU + ], +) diff -urN b/go/analysis/passes/assign/testdata/src/a/BUILD.bazel c/go/analysis/passes/assign/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/assign/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/assign/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/assign/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2378,7 +2377,7 @@ diff -urN b/go/analysis/passes/assign/testdata/src/a/BUILD.bazel c/go/analysis/p + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/atomic/BUILD.bazel c/go/analysis/passes/atomic/BUILD.bazel ---- b/go/analysis/passes/atomic/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/atomic/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/atomic/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -2424,7 +2423,7 @@ diff -urN b/go/analysis/passes/atomic/BUILD.bazel c/go/analysis/passes/atomic/BU + ], +) diff -urN b/go/analysis/passes/atomic/testdata/src/a/BUILD.bazel c/go/analysis/passes/atomic/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/atomic/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/atomic/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/atomic/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2442,7 +2441,7 @@ diff -urN b/go/analysis/passes/atomic/testdata/src/a/BUILD.bazel c/go/analysis/p + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/atomicalign/BUILD.bazel c/go/analysis/passes/atomicalign/BUILD.bazel ---- b/go/analysis/passes/atomicalign/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/atomicalign/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/atomicalign/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -2488,7 +2487,7 @@ diff -urN b/go/analysis/passes/atomicalign/BUILD.bazel c/go/analysis/passes/atom + ], +) diff -urN b/go/analysis/passes/atomicalign/testdata/src/a/BUILD.bazel c/go/analysis/passes/atomicalign/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/atomicalign/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/atomicalign/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/atomicalign/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2509,7 +2508,7 @@ diff -urN b/go/analysis/passes/atomicalign/testdata/src/a/BUILD.bazel c/go/analy + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/atomicalign/testdata/src/b/BUILD.bazel c/go/analysis/passes/atomicalign/testdata/src/b/BUILD.bazel ---- b/go/analysis/passes/atomicalign/testdata/src/b/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/atomicalign/testdata/src/b/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/atomicalign/testdata/src/b/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2530,7 +2529,7 @@ diff -urN b/go/analysis/passes/atomicalign/testdata/src/b/BUILD.bazel c/go/analy + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/bools/BUILD.bazel c/go/analysis/passes/bools/BUILD.bazel ---- b/go/analysis/passes/bools/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/bools/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/bools/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -2576,7 +2575,7 @@ diff -urN b/go/analysis/passes/bools/BUILD.bazel c/go/analysis/passes/bools/BUIL + ], +) diff -urN b/go/analysis/passes/bools/testdata/src/a/BUILD.bazel c/go/analysis/passes/bools/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/bools/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/bools/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/bools/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2594,7 +2593,7 @@ diff -urN b/go/analysis/passes/bools/testdata/src/a/BUILD.bazel c/go/analysis/pa + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/buildssa/BUILD.bazel c/go/analysis/passes/buildssa/BUILD.bazel ---- b/go/analysis/passes/buildssa/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/buildssa/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/buildssa/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -2636,7 +2635,7 @@ diff -urN b/go/analysis/passes/buildssa/BUILD.bazel c/go/analysis/passes/buildss + ], +) diff -urN b/go/analysis/passes/buildssa/testdata/src/a/BUILD.bazel c/go/analysis/passes/buildssa/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/buildssa/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/buildssa/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/buildssa/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2654,14 +2653,17 @@ diff -urN b/go/analysis/passes/buildssa/testdata/src/a/BUILD.bazel c/go/analysis + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/buildtag/BUILD.bazel c/go/analysis/passes/buildtag/BUILD.bazel ---- b/go/analysis/passes/buildtag/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/buildtag/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/buildtag/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,39 @@ +@@ -0,0 +1,45 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") + +go_library( + name = "buildtag", -+ srcs = ["buildtag.go"], ++ srcs = [ ++ "buildtag.go", ++ "buildtag_old.go", ++ ], + importpath = "golang.org/x/tools/go/analysis/passes/buildtag", + visibility = ["//visibility:public"], + deps = [ @@ -2672,7 +2674,10 @@ diff -urN b/go/analysis/passes/buildtag/BUILD.bazel c/go/analysis/passes/buildta + +go_tool_library( + name = "go_tool_library", -+ srcs = ["buildtag.go"], ++ srcs = [ ++ "buildtag.go", ++ "buildtag_old.go", ++ ], + importpath = "golang.org/x/tools/go/analysis/passes/buildtag", + visibility = ["//visibility:public"], + deps = [ @@ -2697,14 +2702,18 @@ diff -urN b/go/analysis/passes/buildtag/BUILD.bazel c/go/analysis/passes/buildta + ], +) diff -urN b/go/analysis/passes/buildtag/testdata/src/a/BUILD.bazel c/go/analysis/passes/buildtag/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/buildtag/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/buildtag/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/buildtag/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,14 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "a", -+ srcs = ["buildtag.go"], ++ srcs = [ ++ "buildtag4.go", ++ "buildtag5.go", ++ "buildtag6.s", ++ ], + importpath = "golang.org/x/tools/go/analysis/passes/buildtag/testdata/src/a", + visibility = ["//visibility:public"], +) @@ -2715,7 +2724,7 @@ diff -urN b/go/analysis/passes/buildtag/testdata/src/a/BUILD.bazel c/go/analysis + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/cgocall/BUILD.bazel c/go/analysis/passes/cgocall/BUILD.bazel ---- b/go/analysis/passes/cgocall/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/cgocall/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/cgocall/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -2757,7 +2766,7 @@ diff -urN b/go/analysis/passes/cgocall/BUILD.bazel c/go/analysis/passes/cgocall/ + ], +) diff -urN b/go/analysis/passes/cgocall/testdata/src/a/BUILD.bazel c/go/analysis/passes/cgocall/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/cgocall/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/cgocall/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/cgocall/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2779,7 +2788,7 @@ diff -urN b/go/analysis/passes/cgocall/testdata/src/a/BUILD.bazel c/go/analysis/ + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/cgocall/testdata/src/b/BUILD.bazel c/go/analysis/passes/cgocall/testdata/src/b/BUILD.bazel ---- b/go/analysis/passes/cgocall/testdata/src/b/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/cgocall/testdata/src/b/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/cgocall/testdata/src/b/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2797,7 +2806,7 @@ diff -urN b/go/analysis/passes/cgocall/testdata/src/b/BUILD.bazel c/go/analysis/ + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/cgocall/testdata/src/c/BUILD.bazel c/go/analysis/passes/cgocall/testdata/src/c/BUILD.bazel ---- b/go/analysis/passes/cgocall/testdata/src/c/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/cgocall/testdata/src/c/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/cgocall/testdata/src/c/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2815,7 +2824,7 @@ diff -urN b/go/analysis/passes/cgocall/testdata/src/c/BUILD.bazel c/go/analysis/ + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/composite/BUILD.bazel c/go/analysis/passes/composite/BUILD.bazel ---- b/go/analysis/passes/composite/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/composite/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/composite/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,46 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -2865,7 +2874,7 @@ diff -urN b/go/analysis/passes/composite/BUILD.bazel c/go/analysis/passes/compos + ], +) diff -urN b/go/analysis/passes/composite/testdata/src/a/BUILD.bazel c/go/analysis/passes/composite/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/composite/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/composite/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/composite/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2883,7 +2892,7 @@ diff -urN b/go/analysis/passes/composite/testdata/src/a/BUILD.bazel c/go/analysi + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/copylock/BUILD.bazel c/go/analysis/passes/copylock/BUILD.bazel ---- b/go/analysis/passes/copylock/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/copylock/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/copylock/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -2929,7 +2938,7 @@ diff -urN b/go/analysis/passes/copylock/BUILD.bazel c/go/analysis/passes/copyloc + ], +) diff -urN b/go/analysis/passes/copylock/testdata/src/a/BUILD.bazel c/go/analysis/passes/copylock/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/copylock/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/copylock/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/copylock/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -2951,7 +2960,7 @@ diff -urN b/go/analysis/passes/copylock/testdata/src/a/BUILD.bazel c/go/analysis + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/ctrlflow/BUILD.bazel c/go/analysis/passes/ctrlflow/BUILD.bazel ---- b/go/analysis/passes/ctrlflow/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/ctrlflow/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/ctrlflow/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,44 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -2999,7 +3008,7 @@ diff -urN b/go/analysis/passes/ctrlflow/BUILD.bazel c/go/analysis/passes/ctrlflo + ], +) diff -urN b/go/analysis/passes/ctrlflow/testdata/src/a/BUILD.bazel c/go/analysis/passes/ctrlflow/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/ctrlflow/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/ctrlflow/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/ctrlflow/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3017,7 +3026,7 @@ diff -urN b/go/analysis/passes/ctrlflow/testdata/src/a/BUILD.bazel c/go/analysis + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/ctrlflow/testdata/src/lib/BUILD.bazel c/go/analysis/passes/ctrlflow/testdata/src/lib/BUILD.bazel ---- b/go/analysis/passes/ctrlflow/testdata/src/lib/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/ctrlflow/testdata/src/lib/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/ctrlflow/testdata/src/lib/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3035,7 +3044,7 @@ diff -urN b/go/analysis/passes/ctrlflow/testdata/src/lib/BUILD.bazel c/go/analys + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/deepequalerrors/BUILD.bazel c/go/analysis/passes/deepequalerrors/BUILD.bazel ---- b/go/analysis/passes/deepequalerrors/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/deepequalerrors/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/deepequalerrors/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -3081,7 +3090,7 @@ diff -urN b/go/analysis/passes/deepequalerrors/BUILD.bazel c/go/analysis/passes/ + ], +) diff -urN b/go/analysis/passes/deepequalerrors/testdata/src/a/BUILD.bazel c/go/analysis/passes/deepequalerrors/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/deepequalerrors/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/deepequalerrors/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/deepequalerrors/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3099,7 +3108,7 @@ diff -urN b/go/analysis/passes/deepequalerrors/testdata/src/a/BUILD.bazel c/go/a + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/errorsas/BUILD.bazel c/go/analysis/passes/errorsas/BUILD.bazel ---- b/go/analysis/passes/errorsas/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/errorsas/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/errorsas/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -3145,7 +3154,7 @@ diff -urN b/go/analysis/passes/errorsas/BUILD.bazel c/go/analysis/passes/errorsa + ], +) diff -urN b/go/analysis/passes/errorsas/testdata/src/a/BUILD.bazel c/go/analysis/passes/errorsas/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/errorsas/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/errorsas/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/errorsas/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3163,7 +3172,7 @@ diff -urN b/go/analysis/passes/errorsas/testdata/src/a/BUILD.bazel c/go/analysis + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/fieldalignment/BUILD.bazel c/go/analysis/passes/fieldalignment/BUILD.bazel ---- b/go/analysis/passes/fieldalignment/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/fieldalignment/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/fieldalignment/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -3207,7 +3216,7 @@ diff -urN b/go/analysis/passes/fieldalignment/BUILD.bazel c/go/analysis/passes/f + ], +) diff -urN b/go/analysis/passes/fieldalignment/cmd/fieldalignment/BUILD.bazel c/go/analysis/passes/fieldalignment/cmd/fieldalignment/BUILD.bazel ---- b/go/analysis/passes/fieldalignment/cmd/fieldalignment/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/fieldalignment/cmd/fieldalignment/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/fieldalignment/cmd/fieldalignment/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -3229,7 +3238,7 @@ diff -urN b/go/analysis/passes/fieldalignment/cmd/fieldalignment/BUILD.bazel c/g + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/fieldalignment/testdata/src/a/BUILD.bazel c/go/analysis/passes/fieldalignment/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/fieldalignment/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/fieldalignment/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/fieldalignment/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3251,7 +3260,7 @@ diff -urN b/go/analysis/passes/fieldalignment/testdata/src/a/BUILD.bazel c/go/an + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/findcall/BUILD.bazel c/go/analysis/passes/findcall/BUILD.bazel ---- b/go/analysis/passes/findcall/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/findcall/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/findcall/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,32 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -3287,7 +3296,7 @@ diff -urN b/go/analysis/passes/findcall/BUILD.bazel c/go/analysis/passes/findcal + ], +) diff -urN b/go/analysis/passes/findcall/cmd/findcall/BUILD.bazel c/go/analysis/passes/findcall/cmd/findcall/BUILD.bazel ---- b/go/analysis/passes/findcall/cmd/findcall/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/findcall/cmd/findcall/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/findcall/cmd/findcall/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -3309,7 +3318,7 @@ diff -urN b/go/analysis/passes/findcall/cmd/findcall/BUILD.bazel c/go/analysis/p + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/findcall/testdata/src/a/BUILD.bazel c/go/analysis/passes/findcall/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/findcall/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/findcall/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/findcall/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -3327,7 +3336,7 @@ diff -urN b/go/analysis/passes/findcall/testdata/src/a/BUILD.bazel c/go/analysis + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/framepointer/BUILD.bazel c/go/analysis/passes/framepointer/BUILD.bazel ---- b/go/analysis/passes/framepointer/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/framepointer/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/framepointer/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -3369,7 +3378,7 @@ diff -urN b/go/analysis/passes/framepointer/BUILD.bazel c/go/analysis/passes/fra + ], +) diff -urN b/go/analysis/passes/framepointer/testdata/src/a/BUILD.bazel c/go/analysis/passes/framepointer/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/framepointer/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/framepointer/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/framepointer/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3393,7 +3402,7 @@ diff -urN b/go/analysis/passes/framepointer/testdata/src/a/BUILD.bazel c/go/anal + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/httpresponse/BUILD.bazel c/go/analysis/passes/httpresponse/BUILD.bazel ---- b/go/analysis/passes/httpresponse/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/httpresponse/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/httpresponse/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -3439,7 +3448,7 @@ diff -urN b/go/analysis/passes/httpresponse/BUILD.bazel c/go/analysis/passes/htt + ], +) diff -urN b/go/analysis/passes/httpresponse/testdata/src/a/BUILD.bazel c/go/analysis/passes/httpresponse/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/httpresponse/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/httpresponse/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/httpresponse/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3457,7 +3466,7 @@ diff -urN b/go/analysis/passes/httpresponse/testdata/src/a/BUILD.bazel c/go/anal + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/ifaceassert/BUILD.bazel c/go/analysis/passes/ifaceassert/BUILD.bazel ---- b/go/analysis/passes/ifaceassert/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/ifaceassert/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/ifaceassert/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -3501,7 +3510,7 @@ diff -urN b/go/analysis/passes/ifaceassert/BUILD.bazel c/go/analysis/passes/ifac + ], +) diff -urN b/go/analysis/passes/ifaceassert/cmd/ifaceassert/BUILD.bazel c/go/analysis/passes/ifaceassert/cmd/ifaceassert/BUILD.bazel ---- b/go/analysis/passes/ifaceassert/cmd/ifaceassert/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/ifaceassert/cmd/ifaceassert/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/ifaceassert/cmd/ifaceassert/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -3523,7 +3532,7 @@ diff -urN b/go/analysis/passes/ifaceassert/cmd/ifaceassert/BUILD.bazel c/go/anal + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/ifaceassert/testdata/src/a/BUILD.bazel c/go/analysis/passes/ifaceassert/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/ifaceassert/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/ifaceassert/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/ifaceassert/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3541,7 +3550,7 @@ diff -urN b/go/analysis/passes/ifaceassert/testdata/src/a/BUILD.bazel c/go/analy + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/inspect/BUILD.bazel c/go/analysis/passes/inspect/BUILD.bazel ---- b/go/analysis/passes/inspect/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/inspect/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/inspect/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_tool_library") @@ -3574,7 +3583,7 @@ diff -urN b/go/analysis/passes/inspect/BUILD.bazel c/go/analysis/passes/inspect/ + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/internal/analysisutil/BUILD.bazel c/go/analysis/passes/internal/analysisutil/BUILD.bazel ---- b/go/analysis/passes/internal/analysisutil/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/internal/analysisutil/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/internal/analysisutil/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_tool_library") @@ -3599,9 +3608,9 @@ diff -urN b/go/analysis/passes/internal/analysisutil/BUILD.bazel c/go/analysis/p + visibility = ["//go/analysis/passes:__subpackages__"], +) diff -urN b/go/analysis/passes/loopclosure/BUILD.bazel c/go/analysis/passes/loopclosure/BUILD.bazel ---- b/go/analysis/passes/loopclosure/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/loopclosure/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/loopclosure/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,40 @@ +@@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") + +go_library( @@ -3613,6 +3622,7 @@ diff -urN b/go/analysis/passes/loopclosure/BUILD.bazel c/go/analysis/passes/loop + "//go/analysis", + "//go/analysis/passes/inspect", + "//go/ast/inspector", ++ "//go/types/typeutil", + ], +) + @@ -3625,6 +3635,7 @@ diff -urN b/go/analysis/passes/loopclosure/BUILD.bazel c/go/analysis/passes/loop + "//go/analysis:go_tool_library", + "//go/analysis/passes/inspect:go_tool_library", + "//go/ast/inspector:go_tool_library", ++ "//go/types/typeutil:go_tool_library", + ], +) + @@ -3643,9 +3654,9 @@ diff -urN b/go/analysis/passes/loopclosure/BUILD.bazel c/go/analysis/passes/loop + ], +) diff -urN b/go/analysis/passes/loopclosure/testdata/src/a/BUILD.bazel c/go/analysis/passes/loopclosure/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/loopclosure/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/loopclosure/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/loopclosure/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,14 @@ +@@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -3653,6 +3664,7 @@ diff -urN b/go/analysis/passes/loopclosure/testdata/src/a/BUILD.bazel c/go/analy + srcs = ["a.go"], + importpath = "golang.org/x/tools/go/analysis/passes/loopclosure/testdata/src/a", + visibility = ["//visibility:public"], ++ deps = ["@org_golang_x_sync//errgroup:go_default_library"], +) + +alias( @@ -3660,8 +3672,26 @@ diff -urN b/go/analysis/passes/loopclosure/testdata/src/a/BUILD.bazel c/go/analy + actual = ":a", + visibility = ["//visibility:public"], +) +diff -urN b/go/analysis/passes/loopclosure/testdata/src/golang.org/x/sync/errgroup/BUILD.bazel c/go/analysis/passes/loopclosure/testdata/src/golang.org/x/sync/errgroup/BUILD.bazel +--- b/go/analysis/passes/loopclosure/testdata/src/golang.org/x/sync/errgroup/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ c/go/analysis/passes/loopclosure/testdata/src/golang.org/x/sync/errgroup/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,14 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "errgroup", ++ srcs = ["errgroup.go"], ++ importpath = "golang.org/x/tools/go/analysis/passes/loopclosure/testdata/src/golang.org/x/sync/errgroup", ++ visibility = ["//visibility:public"], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":errgroup", ++ visibility = ["//visibility:public"], ++) diff -urN b/go/analysis/passes/lostcancel/BUILD.bazel c/go/analysis/passes/lostcancel/BUILD.bazel ---- b/go/analysis/passes/lostcancel/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/lostcancel/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/lostcancel/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,44 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -3709,7 +3739,7 @@ diff -urN b/go/analysis/passes/lostcancel/BUILD.bazel c/go/analysis/passes/lostc + ], +) diff -urN b/go/analysis/passes/lostcancel/cmd/lostcancel/BUILD.bazel c/go/analysis/passes/lostcancel/cmd/lostcancel/BUILD.bazel ---- b/go/analysis/passes/lostcancel/cmd/lostcancel/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/lostcancel/cmd/lostcancel/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/lostcancel/cmd/lostcancel/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -3731,7 +3761,7 @@ diff -urN b/go/analysis/passes/lostcancel/cmd/lostcancel/BUILD.bazel c/go/analys + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/lostcancel/testdata/src/a/BUILD.bazel c/go/analysis/passes/lostcancel/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/lostcancel/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/lostcancel/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/lostcancel/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3749,7 +3779,7 @@ diff -urN b/go/analysis/passes/lostcancel/testdata/src/a/BUILD.bazel c/go/analys + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/lostcancel/testdata/src/b/BUILD.bazel c/go/analysis/passes/lostcancel/testdata/src/b/BUILD.bazel ---- b/go/analysis/passes/lostcancel/testdata/src/b/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/lostcancel/testdata/src/b/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/lostcancel/testdata/src/b/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -3767,7 +3797,7 @@ diff -urN b/go/analysis/passes/lostcancel/testdata/src/b/BUILD.bazel c/go/analys + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/nilfunc/BUILD.bazel c/go/analysis/passes/nilfunc/BUILD.bazel ---- b/go/analysis/passes/nilfunc/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/nilfunc/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/nilfunc/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -3811,7 +3841,7 @@ diff -urN b/go/analysis/passes/nilfunc/BUILD.bazel c/go/analysis/passes/nilfunc/ + ], +) diff -urN b/go/analysis/passes/nilfunc/testdata/src/a/BUILD.bazel c/go/analysis/passes/nilfunc/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/nilfunc/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/nilfunc/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/nilfunc/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3829,7 +3859,7 @@ diff -urN b/go/analysis/passes/nilfunc/testdata/src/a/BUILD.bazel c/go/analysis/ + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/nilness/BUILD.bazel c/go/analysis/passes/nilness/BUILD.bazel ---- b/go/analysis/passes/nilness/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/nilness/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/nilness/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -3873,7 +3903,7 @@ diff -urN b/go/analysis/passes/nilness/BUILD.bazel c/go/analysis/passes/nilness/ + ], +) diff -urN b/go/analysis/passes/nilness/cmd/nilness/BUILD.bazel c/go/analysis/passes/nilness/cmd/nilness/BUILD.bazel ---- b/go/analysis/passes/nilness/cmd/nilness/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/nilness/cmd/nilness/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/nilness/cmd/nilness/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -3895,7 +3925,7 @@ diff -urN b/go/analysis/passes/nilness/cmd/nilness/BUILD.bazel c/go/analysis/pas + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/nilness/testdata/src/a/BUILD.bazel c/go/analysis/passes/nilness/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/nilness/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/nilness/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/nilness/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3913,7 +3943,7 @@ diff -urN b/go/analysis/passes/nilness/testdata/src/a/BUILD.bazel c/go/analysis/ + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/pkgfact/BUILD.bazel c/go/analysis/passes/pkgfact/BUILD.bazel ---- b/go/analysis/passes/pkgfact/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/pkgfact/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/pkgfact/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,32 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -3949,7 +3979,7 @@ diff -urN b/go/analysis/passes/pkgfact/BUILD.bazel c/go/analysis/passes/pkgfact/ + ], +) diff -urN b/go/analysis/passes/pkgfact/testdata/src/a/BUILD.bazel c/go/analysis/passes/pkgfact/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/pkgfact/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/pkgfact/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/pkgfact/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3967,7 +3997,7 @@ diff -urN b/go/analysis/passes/pkgfact/testdata/src/a/BUILD.bazel c/go/analysis/ + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/pkgfact/testdata/src/b/BUILD.bazel c/go/analysis/passes/pkgfact/testdata/src/b/BUILD.bazel ---- b/go/analysis/passes/pkgfact/testdata/src/b/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/pkgfact/testdata/src/b/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/pkgfact/testdata/src/b/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -3985,7 +4015,7 @@ diff -urN b/go/analysis/passes/pkgfact/testdata/src/b/BUILD.bazel c/go/analysis/ + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/pkgfact/testdata/src/c/BUILD.bazel c/go/analysis/passes/pkgfact/testdata/src/c/BUILD.bazel ---- b/go/analysis/passes/pkgfact/testdata/src/c/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/pkgfact/testdata/src/c/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/pkgfact/testdata/src/c/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -4003,7 +4033,7 @@ diff -urN b/go/analysis/passes/pkgfact/testdata/src/c/BUILD.bazel c/go/analysis/ + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/printf/BUILD.bazel c/go/analysis/passes/printf/BUILD.bazel ---- b/go/analysis/passes/printf/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/printf/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/printf/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,50 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -4057,7 +4087,7 @@ diff -urN b/go/analysis/passes/printf/BUILD.bazel c/go/analysis/passes/printf/BU + ], +) diff -urN b/go/analysis/passes/printf/testdata/src/a/BUILD.bazel c/go/analysis/passes/printf/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/printf/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/printf/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/printf/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -4075,7 +4105,7 @@ diff -urN b/go/analysis/passes/printf/testdata/src/a/BUILD.bazel c/go/analysis/p + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/printf/testdata/src/b/BUILD.bazel c/go/analysis/passes/printf/testdata/src/b/BUILD.bazel ---- b/go/analysis/passes/printf/testdata/src/b/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/printf/testdata/src/b/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/printf/testdata/src/b/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -4093,7 +4123,7 @@ diff -urN b/go/analysis/passes/printf/testdata/src/b/BUILD.bazel c/go/analysis/p + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/printf/testdata/src/nofmt/BUILD.bazel c/go/analysis/passes/printf/testdata/src/nofmt/BUILD.bazel ---- b/go/analysis/passes/printf/testdata/src/nofmt/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/printf/testdata/src/nofmt/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/printf/testdata/src/nofmt/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -4110,8 +4140,72 @@ diff -urN b/go/analysis/passes/printf/testdata/src/nofmt/BUILD.bazel c/go/analys + actual = ":nofmt", + visibility = ["//visibility:public"], +) +diff -urN b/go/analysis/passes/reflectvaluecompare/BUILD.bazel c/go/analysis/passes/reflectvaluecompare/BUILD.bazel +--- b/go/analysis/passes/reflectvaluecompare/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ c/go/analysis/passes/reflectvaluecompare/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,42 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") ++ ++go_library( ++ name = "reflectvaluecompare", ++ srcs = ["reflectvaluecompare.go"], ++ importpath = "golang.org/x/tools/go/analysis/passes/reflectvaluecompare", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//go/analysis", ++ "//go/analysis/passes/inspect", ++ "//go/ast/inspector", ++ "//go/types/typeutil", ++ ], ++) ++ ++go_tool_library( ++ name = "go_tool_library", ++ srcs = ["reflectvaluecompare.go"], ++ importpath = "golang.org/x/tools/go/analysis/passes/reflectvaluecompare", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//go/analysis:go_tool_library", ++ "//go/analysis/passes/inspect:go_tool_library", ++ "//go/ast/inspector:go_tool_library", ++ "//go/types/typeutil:go_tool_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":reflectvaluecompare", ++ visibility = ["//visibility:public"], ++) ++ ++go_test( ++ name = "reflectvaluecompare_test", ++ srcs = ["reflectvaluecompare_test.go"], ++ deps = [ ++ ":reflectvaluecompare", ++ "//go/analysis/analysistest", ++ ], ++) +diff -urN b/go/analysis/passes/reflectvaluecompare/testdata/src/a/BUILD.bazel c/go/analysis/passes/reflectvaluecompare/testdata/src/a/BUILD.bazel +--- b/go/analysis/passes/reflectvaluecompare/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ c/go/analysis/passes/reflectvaluecompare/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,14 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "a", ++ srcs = ["a.go"], ++ importpath = "golang.org/x/tools/go/analysis/passes/reflectvaluecompare/testdata/src/a", ++ visibility = ["//visibility:public"], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":a", ++ visibility = ["//visibility:public"], ++) diff -urN b/go/analysis/passes/shadow/BUILD.bazel c/go/analysis/passes/shadow/BUILD.bazel ---- b/go/analysis/passes/shadow/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/shadow/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/shadow/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -4155,7 +4249,7 @@ diff -urN b/go/analysis/passes/shadow/BUILD.bazel c/go/analysis/passes/shadow/BU + ], +) diff -urN b/go/analysis/passes/shadow/cmd/shadow/BUILD.bazel c/go/analysis/passes/shadow/cmd/shadow/BUILD.bazel ---- b/go/analysis/passes/shadow/cmd/shadow/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/shadow/cmd/shadow/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/shadow/cmd/shadow/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -4177,7 +4271,7 @@ diff -urN b/go/analysis/passes/shadow/cmd/shadow/BUILD.bazel c/go/analysis/passe + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/shadow/testdata/src/a/BUILD.bazel c/go/analysis/passes/shadow/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/shadow/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/shadow/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/shadow/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -4195,7 +4289,7 @@ diff -urN b/go/analysis/passes/shadow/testdata/src/a/BUILD.bazel c/go/analysis/p + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/shift/BUILD.bazel c/go/analysis/passes/shift/BUILD.bazel ---- b/go/analysis/passes/shift/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/shift/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/shift/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,48 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -4247,7 +4341,7 @@ diff -urN b/go/analysis/passes/shift/BUILD.bazel c/go/analysis/passes/shift/BUIL + ], +) diff -urN b/go/analysis/passes/shift/testdata/src/a/BUILD.bazel c/go/analysis/passes/shift/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/shift/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/shift/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/shift/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -4264,8 +4358,70 @@ diff -urN b/go/analysis/passes/shift/testdata/src/a/BUILD.bazel c/go/analysis/pa + actual = ":a", + visibility = ["//visibility:public"], +) +diff -urN b/go/analysis/passes/sigchanyzer/BUILD.bazel c/go/analysis/passes/sigchanyzer/BUILD.bazel +--- b/go/analysis/passes/sigchanyzer/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ c/go/analysis/passes/sigchanyzer/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,40 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") ++ ++go_library( ++ name = "sigchanyzer", ++ srcs = ["sigchanyzer.go"], ++ importpath = "golang.org/x/tools/go/analysis/passes/sigchanyzer", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//go/analysis", ++ "//go/analysis/passes/inspect", ++ "//go/ast/inspector", ++ ], ++) ++ ++go_tool_library( ++ name = "go_tool_library", ++ srcs = ["sigchanyzer.go"], ++ importpath = "golang.org/x/tools/go/analysis/passes/sigchanyzer", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//go/analysis:go_tool_library", ++ "//go/analysis/passes/inspect:go_tool_library", ++ "//go/ast/inspector:go_tool_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":sigchanyzer", ++ visibility = ["//visibility:public"], ++) ++ ++go_test( ++ name = "sigchanyzer_test", ++ srcs = ["sigchanyzer_test.go"], ++ deps = [ ++ ":sigchanyzer", ++ "//go/analysis/analysistest", ++ ], ++) +diff -urN b/go/analysis/passes/sigchanyzer/testdata/src/a/BUILD.bazel c/go/analysis/passes/sigchanyzer/testdata/src/a/BUILD.bazel +--- b/go/analysis/passes/sigchanyzer/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ c/go/analysis/passes/sigchanyzer/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,14 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "a", ++ srcs = ["a.go"], ++ importpath = "golang.org/x/tools/go/analysis/passes/sigchanyzer/testdata/src/a", ++ visibility = ["//visibility:public"], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":a", ++ visibility = ["//visibility:public"], ++) diff -urN b/go/analysis/passes/sortslice/BUILD.bazel c/go/analysis/passes/sortslice/BUILD.bazel ---- b/go/analysis/passes/sortslice/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/sortslice/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/sortslice/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -4311,7 +4467,7 @@ diff -urN b/go/analysis/passes/sortslice/BUILD.bazel c/go/analysis/passes/sortsl + ], +) diff -urN b/go/analysis/passes/sortslice/testdata/src/a/BUILD.bazel c/go/analysis/passes/sortslice/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/sortslice/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/sortslice/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/sortslice/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -4329,7 +4485,7 @@ diff -urN b/go/analysis/passes/sortslice/testdata/src/a/BUILD.bazel c/go/analysi + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/stdmethods/BUILD.bazel c/go/analysis/passes/stdmethods/BUILD.bazel ---- b/go/analysis/passes/stdmethods/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/stdmethods/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/stdmethods/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -4373,7 +4529,7 @@ diff -urN b/go/analysis/passes/stdmethods/BUILD.bazel c/go/analysis/passes/stdme + ], +) diff -urN b/go/analysis/passes/stdmethods/testdata/src/a/BUILD.bazel c/go/analysis/passes/stdmethods/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/stdmethods/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/stdmethods/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/stdmethods/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -4391,7 +4547,7 @@ diff -urN b/go/analysis/passes/stdmethods/testdata/src/a/BUILD.bazel c/go/analys + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/stringintconv/BUILD.bazel c/go/analysis/passes/stringintconv/BUILD.bazel ---- b/go/analysis/passes/stringintconv/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/stringintconv/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/stringintconv/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -4435,7 +4591,7 @@ diff -urN b/go/analysis/passes/stringintconv/BUILD.bazel c/go/analysis/passes/st + ], +) diff -urN b/go/analysis/passes/stringintconv/cmd/stringintconv/BUILD.bazel c/go/analysis/passes/stringintconv/cmd/stringintconv/BUILD.bazel ---- b/go/analysis/passes/stringintconv/cmd/stringintconv/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/stringintconv/cmd/stringintconv/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/stringintconv/cmd/stringintconv/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -4457,7 +4613,7 @@ diff -urN b/go/analysis/passes/stringintconv/cmd/stringintconv/BUILD.bazel c/go/ + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/stringintconv/testdata/src/a/BUILD.bazel c/go/analysis/passes/stringintconv/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/stringintconv/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/stringintconv/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/stringintconv/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -4475,7 +4631,7 @@ diff -urN b/go/analysis/passes/stringintconv/testdata/src/a/BUILD.bazel c/go/ana + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/structtag/BUILD.bazel c/go/analysis/passes/structtag/BUILD.bazel ---- b/go/analysis/passes/structtag/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/structtag/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/structtag/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -4519,7 +4675,7 @@ diff -urN b/go/analysis/passes/structtag/BUILD.bazel c/go/analysis/passes/struct + ], +) diff -urN b/go/analysis/passes/structtag/testdata/src/a/BUILD.bazel c/go/analysis/passes/structtag/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/structtag/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/structtag/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/structtag/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -4537,7 +4693,7 @@ diff -urN b/go/analysis/passes/structtag/testdata/src/a/BUILD.bazel c/go/analysi + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/structtag/testdata/src/a/b/BUILD.bazel c/go/analysis/passes/structtag/testdata/src/a/b/BUILD.bazel ---- b/go/analysis/passes/structtag/testdata/src/a/b/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/structtag/testdata/src/a/b/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/structtag/testdata/src/a/b/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -4555,7 +4711,7 @@ diff -urN b/go/analysis/passes/structtag/testdata/src/a/b/BUILD.bazel c/go/analy + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/testinggoroutine/BUILD.bazel c/go/analysis/passes/testinggoroutine/BUILD.bazel ---- b/go/analysis/passes/testinggoroutine/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/testinggoroutine/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/testinggoroutine/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -4601,7 +4757,7 @@ diff -urN b/go/analysis/passes/testinggoroutine/BUILD.bazel c/go/analysis/passes + ], +) diff -urN b/go/analysis/passes/testinggoroutine/testdata/src/a/BUILD.bazel c/go/analysis/passes/testinggoroutine/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/testinggoroutine/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/testinggoroutine/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/testinggoroutine/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -4619,7 +4775,7 @@ diff -urN b/go/analysis/passes/testinggoroutine/testdata/src/a/BUILD.bazel c/go/ + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/tests/BUILD.bazel c/go/analysis/passes/tests/BUILD.bazel ---- b/go/analysis/passes/tests/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/tests/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/tests/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,32 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -4655,7 +4811,7 @@ diff -urN b/go/analysis/passes/tests/BUILD.bazel c/go/analysis/passes/tests/BUIL + ], +) diff -urN b/go/analysis/passes/tests/testdata/src/a/BUILD.bazel c/go/analysis/passes/tests/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/tests/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/tests/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/tests/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -4682,7 +4838,7 @@ diff -urN b/go/analysis/passes/tests/testdata/src/a/BUILD.bazel c/go/analysis/pa + embed = [":a"], +) diff -urN b/go/analysis/passes/tests/testdata/src/b/BUILD.bazel c/go/analysis/passes/tests/testdata/src/b/BUILD.bazel ---- b/go/analysis/passes/tests/testdata/src/b/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/tests/testdata/src/b/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/tests/testdata/src/b/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -4700,7 +4856,7 @@ diff -urN b/go/analysis/passes/tests/testdata/src/b/BUILD.bazel c/go/analysis/pa + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/tests/testdata/src/b_x_test/BUILD.bazel c/go/analysis/passes/tests/testdata/src/b_x_test/BUILD.bazel ---- b/go/analysis/passes/tests/testdata/src/b_x_test/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/tests/testdata/src/b_x_test/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/tests/testdata/src/b_x_test/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,6 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_test") @@ -4710,7 +4866,7 @@ diff -urN b/go/analysis/passes/tests/testdata/src/b_x_test/BUILD.bazel c/go/anal + srcs = ["b_test.go"], +) diff -urN b/go/analysis/passes/tests/testdata/src/divergent/BUILD.bazel c/go/analysis/passes/tests/testdata/src/divergent/BUILD.bazel ---- b/go/analysis/passes/tests/testdata/src/divergent/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/tests/testdata/src/divergent/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/tests/testdata/src/divergent/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -4734,7 +4890,7 @@ diff -urN b/go/analysis/passes/tests/testdata/src/divergent/BUILD.bazel c/go/ana + embed = [":divergent"], +) diff -urN b/go/analysis/passes/unmarshal/BUILD.bazel c/go/analysis/passes/unmarshal/BUILD.bazel ---- b/go/analysis/passes/unmarshal/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/unmarshal/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/unmarshal/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -4780,7 +4936,7 @@ diff -urN b/go/analysis/passes/unmarshal/BUILD.bazel c/go/analysis/passes/unmars + ], +) diff -urN b/go/analysis/passes/unmarshal/cmd/unmarshal/BUILD.bazel c/go/analysis/passes/unmarshal/cmd/unmarshal/BUILD.bazel ---- b/go/analysis/passes/unmarshal/cmd/unmarshal/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/unmarshal/cmd/unmarshal/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/unmarshal/cmd/unmarshal/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -4802,7 +4958,7 @@ diff -urN b/go/analysis/passes/unmarshal/cmd/unmarshal/BUILD.bazel c/go/analysis + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/unmarshal/testdata/src/a/BUILD.bazel c/go/analysis/passes/unmarshal/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/unmarshal/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/unmarshal/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/unmarshal/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -4820,7 +4976,7 @@ diff -urN b/go/analysis/passes/unmarshal/testdata/src/a/BUILD.bazel c/go/analysi + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/unreachable/BUILD.bazel c/go/analysis/passes/unreachable/BUILD.bazel ---- b/go/analysis/passes/unreachable/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/unreachable/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/unreachable/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -4864,7 +5020,7 @@ diff -urN b/go/analysis/passes/unreachable/BUILD.bazel c/go/analysis/passes/unre + ], +) diff -urN b/go/analysis/passes/unreachable/testdata/src/a/BUILD.bazel c/go/analysis/passes/unreachable/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/unreachable/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/unreachable/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/unreachable/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -4882,7 +5038,7 @@ diff -urN b/go/analysis/passes/unreachable/testdata/src/a/BUILD.bazel c/go/analy + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/unsafeptr/BUILD.bazel c/go/analysis/passes/unsafeptr/BUILD.bazel ---- b/go/analysis/passes/unsafeptr/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/unsafeptr/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/unsafeptr/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -4928,7 +5084,7 @@ diff -urN b/go/analysis/passes/unsafeptr/BUILD.bazel c/go/analysis/passes/unsafe + ], +) diff -urN b/go/analysis/passes/unsafeptr/testdata/src/a/BUILD.bazel c/go/analysis/passes/unsafeptr/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/unsafeptr/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/unsafeptr/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/unsafeptr/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -4949,7 +5105,7 @@ diff -urN b/go/analysis/passes/unsafeptr/testdata/src/a/BUILD.bazel c/go/analysi + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/passes/unusedresult/BUILD.bazel c/go/analysis/passes/unusedresult/BUILD.bazel ---- b/go/analysis/passes/unusedresult/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/unusedresult/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/unusedresult/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -4995,7 +5151,7 @@ diff -urN b/go/analysis/passes/unusedresult/BUILD.bazel c/go/analysis/passes/unu + ], +) diff -urN b/go/analysis/passes/unusedresult/testdata/src/a/BUILD.bazel c/go/analysis/passes/unusedresult/testdata/src/a/BUILD.bazel ---- b/go/analysis/passes/unusedresult/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/passes/unusedresult/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/passes/unusedresult/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -5012,8 +5168,70 @@ diff -urN b/go/analysis/passes/unusedresult/testdata/src/a/BUILD.bazel c/go/anal + actual = ":a", + visibility = ["//visibility:public"], +) +diff -urN b/go/analysis/passes/unusedwrite/BUILD.bazel c/go/analysis/passes/unusedwrite/BUILD.bazel +--- b/go/analysis/passes/unusedwrite/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ c/go/analysis/passes/unusedwrite/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,40 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") ++ ++go_library( ++ name = "unusedwrite", ++ srcs = ["unusedwrite.go"], ++ importpath = "golang.org/x/tools/go/analysis/passes/unusedwrite", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//go/analysis", ++ "//go/analysis/passes/buildssa", ++ "//go/ssa", ++ ], ++) ++ ++go_tool_library( ++ name = "go_tool_library", ++ srcs = ["unusedwrite.go"], ++ importpath = "golang.org/x/tools/go/analysis/passes/unusedwrite", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//go/analysis:go_tool_library", ++ "//go/analysis/passes/buildssa:go_tool_library", ++ "//go/ssa:go_tool_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":unusedwrite", ++ visibility = ["//visibility:public"], ++) ++ ++go_test( ++ name = "unusedwrite_test", ++ srcs = ["unusedwrite_test.go"], ++ deps = [ ++ ":unusedwrite", ++ "//go/analysis/analysistest", ++ ], ++) +diff -urN b/go/analysis/passes/unusedwrite/testdata/src/a/BUILD.bazel c/go/analysis/passes/unusedwrite/testdata/src/a/BUILD.bazel +--- b/go/analysis/passes/unusedwrite/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ c/go/analysis/passes/unusedwrite/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,14 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "a", ++ srcs = ["unusedwrite.go"], ++ importpath = "golang.org/x/tools/go/analysis/passes/unusedwrite/testdata/src/a", ++ visibility = ["//visibility:public"], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":a", ++ visibility = ["//visibility:public"], ++) diff -urN b/go/analysis/singlechecker/BUILD.bazel c/go/analysis/singlechecker/BUILD.bazel ---- b/go/analysis/singlechecker/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/singlechecker/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/singlechecker/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -5037,7 +5255,7 @@ diff -urN b/go/analysis/singlechecker/BUILD.bazel c/go/analysis/singlechecker/BU + visibility = ["//visibility:public"], +) diff -urN b/go/analysis/unitchecker/BUILD.bazel c/go/analysis/unitchecker/BUILD.bazel ---- b/go/analysis/unitchecker/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/analysis/unitchecker/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/analysis/unitchecker/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5074,9 +5292,9 @@ diff -urN b/go/analysis/unitchecker/BUILD.bazel c/go/analysis/unitchecker/BUILD. + ], +) diff -urN b/go/ast/astutil/BUILD.bazel c/go/ast/astutil/BUILD.bazel ---- b/go/ast/astutil/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/ast/astutil/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/ast/astutil/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,41 @@ +@@ -0,0 +1,44 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") + +go_library( @@ -5089,6 +5307,7 @@ diff -urN b/go/ast/astutil/BUILD.bazel c/go/ast/astutil/BUILD.bazel + ], + importpath = "golang.org/x/tools/go/ast/astutil", + visibility = ["//visibility:public"], ++ deps = ["//internal/typeparams"], +) + +go_tool_library( @@ -5101,6 +5320,7 @@ diff -urN b/go/ast/astutil/BUILD.bazel c/go/ast/astutil/BUILD.bazel + ], + importpath = "golang.org/x/tools/go/ast/astutil", + visibility = ["//visibility:public"], ++ deps = ["//internal/typeparams:go_tool_library"], +) + +alias( @@ -5117,9 +5337,10 @@ diff -urN b/go/ast/astutil/BUILD.bazel c/go/ast/astutil/BUILD.bazel + "rewrite_test.go", + ], + embed = [":astutil"], ++ deps = ["//internal/typeparams"], +) diff -urN b/go/ast/inspector/BUILD.bazel c/go/ast/inspector/BUILD.bazel ---- b/go/ast/inspector/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/ast/inspector/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/ast/inspector/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -5156,7 +5377,7 @@ diff -urN b/go/ast/inspector/BUILD.bazel c/go/ast/inspector/BUILD.bazel + deps = [":inspector"], +) diff -urN b/go/buildutil/BUILD.bazel c/go/buildutil/BUILD.bazel ---- b/go/buildutil/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/buildutil/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/buildutil/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5195,7 +5416,7 @@ diff -urN b/go/buildutil/BUILD.bazel c/go/buildutil/BUILD.bazel + ], +) diff -urN b/go/callgraph/BUILD.bazel c/go/callgraph/BUILD.bazel ---- b/go/callgraph/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/callgraph/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/callgraph/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -5217,7 +5438,7 @@ diff -urN b/go/callgraph/BUILD.bazel c/go/callgraph/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/go/callgraph/cha/BUILD.bazel c/go/callgraph/cha/BUILD.bazel ---- b/go/callgraph/cha/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/callgraph/cha/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/callgraph/cha/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,106 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5327,7 +5548,7 @@ diff -urN b/go/callgraph/cha/BUILD.bazel c/go/callgraph/cha/BUILD.bazel + }), +) diff -urN b/go/callgraph/cha/testdata/BUILD.bazel c/go/callgraph/cha/testdata/BUILD.bazel ---- b/go/callgraph/cha/testdata/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/callgraph/cha/testdata/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/callgraph/cha/testdata/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -5345,7 +5566,7 @@ diff -urN b/go/callgraph/cha/testdata/BUILD.bazel c/go/callgraph/cha/testdata/BU + visibility = ["//visibility:public"], +) diff -urN b/go/callgraph/rta/BUILD.bazel c/go/callgraph/rta/BUILD.bazel ---- b/go/callgraph/rta/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/callgraph/rta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/callgraph/rta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,119 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5468,7 +5689,7 @@ diff -urN b/go/callgraph/rta/BUILD.bazel c/go/callgraph/rta/BUILD.bazel + }), +) diff -urN b/go/callgraph/static/BUILD.bazel c/go/callgraph/static/BUILD.bazel ---- b/go/callgraph/static/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/callgraph/static/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/callgraph/static/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5501,8 +5722,99 @@ diff -urN b/go/callgraph/static/BUILD.bazel c/go/callgraph/static/BUILD.bazel + "//go/ssa/ssautil", + ], +) +diff -urN b/go/callgraph/vta/BUILD.bazel c/go/callgraph/vta/BUILD.bazel +--- b/go/callgraph/vta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ c/go/callgraph/vta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,43 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") ++ ++go_library( ++ name = "vta", ++ srcs = [ ++ "graph.go", ++ "propagation.go", ++ "utils.go", ++ "vta.go", ++ ], ++ importpath = "golang.org/x/tools/go/callgraph/vta", ++ visibility = ["//visibility:public"], ++ deps = [ ++ "//go/callgraph", ++ "//go/ssa", ++ "//go/types/typeutil", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":vta", ++ visibility = ["//visibility:public"], ++) ++ ++go_test( ++ name = "vta_test", ++ srcs = [ ++ "graph_test.go", ++ "helpers_test.go", ++ "propagation_test.go", ++ "vta_test.go", ++ ], ++ embed = [":vta"], ++ deps = [ ++ "//go/callgraph", ++ "//go/callgraph/cha", ++ "//go/loader", ++ "//go/ssa", ++ "//go/ssa/ssautil", ++ "//go/types/typeutil", ++ ], ++) +diff -urN b/go/callgraph/vta/testdata/BUILD.bazel c/go/callgraph/vta/testdata/BUILD.bazel +--- b/go/callgraph/vta/testdata/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ c/go/callgraph/vta/testdata/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,40 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "testdata", ++ srcs = [ ++ "callgraph_collections.go", ++ "callgraph_ho.go", ++ "callgraph_interfaces.go", ++ "callgraph_nested_ptr.go", ++ "callgraph_pointers.go", ++ "callgraph_static.go", ++ "channels.go", ++ "closures.go", ++ "dynamic_calls.go", ++ "fields.go", ++ "maps.go", ++ "node_uniqueness.go", ++ "panic.go", ++ "phi.go", ++ "phi_alias.go", ++ "ranges.go", ++ "returns.go", ++ "select.go", ++ "simple.go", ++ "static_calls.go", ++ "store.go", ++ "store_load_alias.go", ++ "stores_arrays.go", ++ "type_assertions.go", ++ "type_conversions.go", ++ ], ++ importpath = "golang.org/x/tools/go/callgraph/vta/testdata", ++ visibility = ["//visibility:public"], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":testdata", ++ visibility = ["//visibility:public"], ++) diff -urN b/go/cfg/BUILD.bazel c/go/cfg/BUILD.bazel ---- b/go/cfg/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/cfg/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/cfg/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -5539,7 +5851,7 @@ diff -urN b/go/cfg/BUILD.bazel c/go/cfg/BUILD.bazel + embed = [":cfg"], +) diff -urN b/go/expect/BUILD.bazel c/go/expect/BUILD.bazel ---- b/go/expect/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/expect/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/expect/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5567,7 +5879,7 @@ diff -urN b/go/expect/BUILD.bazel c/go/expect/BUILD.bazel + deps = [":expect"], +) diff -urN b/go/expect/testdata/BUILD.bazel c/go/expect/testdata/BUILD.bazel ---- b/go/expect/testdata/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/expect/testdata/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/expect/testdata/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -5585,7 +5897,7 @@ diff -urN b/go/expect/testdata/BUILD.bazel c/go/expect/testdata/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/go/gccgoexportdata/BUILD.bazel c/go/gccgoexportdata/BUILD.bazel ---- b/go/gccgoexportdata/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/gccgoexportdata/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/gccgoexportdata/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5611,7 +5923,7 @@ diff -urN b/go/gccgoexportdata/BUILD.bazel c/go/gccgoexportdata/BUILD.bazel + deps = [":gccgoexportdata"], +) diff -urN b/go/gcexportdata/BUILD.bazel c/go/gcexportdata/BUILD.bazel ---- b/go/gcexportdata/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/gcexportdata/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/gcexportdata/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,39 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -5654,7 +5966,7 @@ diff -urN b/go/gcexportdata/BUILD.bazel c/go/gcexportdata/BUILD.bazel + deps = [":gcexportdata"], +) diff -urN b/go/internal/cgo/BUILD.bazel c/go/internal/cgo/BUILD.bazel ---- b/go/internal/cgo/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/internal/cgo/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/internal/cgo/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -5676,7 +5988,7 @@ diff -urN b/go/internal/cgo/BUILD.bazel c/go/internal/cgo/BUILD.bazel + visibility = ["//go:__subpackages__"], +) diff -urN b/go/internal/gccgoimporter/BUILD.bazel c/go/internal/gccgoimporter/BUILD.bazel ---- b/go/internal/gccgoimporter/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/internal/gccgoimporter/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/internal/gccgoimporter/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5715,9 +6027,9 @@ diff -urN b/go/internal/gccgoimporter/BUILD.bazel c/go/internal/gccgoimporter/BU + embed = [":gccgoimporter"], +) diff -urN b/go/internal/gcimporter/BUILD.bazel c/go/internal/gcimporter/BUILD.bazel ---- b/go/internal/gcimporter/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/internal/gcimporter/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/internal/gcimporter/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,56 @@ +@@ -0,0 +1,55 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") + +go_library( @@ -5762,7 +6074,6 @@ diff -urN b/go/internal/gcimporter/BUILD.bazel c/go/internal/gcimporter/BUILD.ba + name = "gcimporter_test", + srcs = [ + "bexport_test.go", -+ "gcimporter11_test.go", + "gcimporter_test.go", + "iexport_test.go", + "israce_test.go", @@ -5775,7 +6086,7 @@ diff -urN b/go/internal/gcimporter/BUILD.bazel c/go/internal/gcimporter/BUILD.ba + ], +) diff -urN b/go/internal/gcimporter/testdata/versions/BUILD.bazel c/go/internal/gcimporter/testdata/versions/BUILD.bazel ---- b/go/internal/gcimporter/testdata/versions/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/internal/gcimporter/testdata/versions/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/internal/gcimporter/testdata/versions/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -5793,7 +6104,7 @@ diff -urN b/go/internal/gcimporter/testdata/versions/BUILD.bazel c/go/internal/g + visibility = ["//go:__subpackages__"], +) diff -urN b/go/internal/packagesdriver/BUILD.bazel c/go/internal/packagesdriver/BUILD.bazel ---- b/go/internal/packagesdriver/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/internal/packagesdriver/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/internal/packagesdriver/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -5812,7 +6123,7 @@ diff -urN b/go/internal/packagesdriver/BUILD.bazel c/go/internal/packagesdriver/ + visibility = ["//go:__subpackages__"], +) diff -urN b/go/loader/BUILD.bazel c/go/loader/BUILD.bazel ---- b/go/loader/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/loader/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/loader/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,36 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5852,7 +6163,7 @@ diff -urN b/go/loader/BUILD.bazel c/go/loader/BUILD.bazel + ], +) diff -urN b/go/loader/testdata/BUILD.bazel c/go/loader/testdata/BUILD.bazel ---- b/go/loader/testdata/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/loader/testdata/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/loader/testdata/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -5874,7 +6185,7 @@ diff -urN b/go/loader/testdata/BUILD.bazel c/go/loader/testdata/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/go/packages/BUILD.bazel c/go/packages/BUILD.bazel ---- b/go/packages/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/packages/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/packages/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,47 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -5925,7 +6236,7 @@ diff -urN b/go/packages/BUILD.bazel c/go/packages/BUILD.bazel + ], +) diff -urN b/go/packages/gopackages/BUILD.bazel c/go/packages/gopackages/BUILD.bazel ---- b/go/packages/gopackages/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/packages/gopackages/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/packages/gopackages/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -5948,9 +6259,9 @@ diff -urN b/go/packages/gopackages/BUILD.bazel c/go/packages/gopackages/BUILD.ba + visibility = ["//visibility:public"], +) diff -urN b/go/packages/packagestest/BUILD.bazel c/go/packages/packagestest/BUILD.bazel ---- b/go/packages/packagestest/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/packages/packagestest/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/packages/packagestest/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,45 @@ +@@ -0,0 +1,46 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( @@ -5972,6 +6283,7 @@ diff -urN b/go/packages/packagestest/BUILD.bazel c/go/packages/packagestest/BUIL + "//internal/proxydir", + "//internal/span", + "//internal/testenv", ++ "@org_golang_x_xerrors//:go_default_library", + ], +) + @@ -5997,7 +6309,7 @@ diff -urN b/go/packages/packagestest/BUILD.bazel c/go/packages/packagestest/BUIL + ], +) diff -urN b/go/packages/packagestest/testdata/BUILD.bazel c/go/packages/packagestest/testdata/BUILD.bazel ---- b/go/packages/packagestest/testdata/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/packages/packagestest/testdata/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/packages/packagestest/testdata/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -6024,7 +6336,7 @@ diff -urN b/go/packages/packagestest/testdata/BUILD.bazel c/go/packages/packages + embed = [":testdata"], +) diff -urN b/go/packages/packagestest/testdata/groups/one/modules/example.com/extra/BUILD.bazel c/go/packages/packagestest/testdata/groups/one/modules/example.com/extra/BUILD.bazel ---- b/go/packages/packagestest/testdata/groups/one/modules/example.com/extra/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/packages/packagestest/testdata/groups/one/modules/example.com/extra/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/packages/packagestest/testdata/groups/one/modules/example.com/extra/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6042,7 +6354,7 @@ diff -urN b/go/packages/packagestest/testdata/groups/one/modules/example.com/ext + visibility = ["//visibility:public"], +) diff -urN b/go/packages/packagestest/testdata/groups/one/primarymod/BUILD.bazel c/go/packages/packagestest/testdata/groups/one/primarymod/BUILD.bazel ---- b/go/packages/packagestest/testdata/groups/one/primarymod/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/packages/packagestest/testdata/groups/one/primarymod/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/packages/packagestest/testdata/groups/one/primarymod/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6060,7 +6372,7 @@ diff -urN b/go/packages/packagestest/testdata/groups/one/primarymod/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/BUILD.bazel c/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/BUILD.bazel ---- b/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6078,7 +6390,7 @@ diff -urN b/go/packages/packagestest/testdata/groups/two/modules/example.com/ext + visibility = ["//visibility:public"], +) diff -urN b/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/geez/BUILD.bazel c/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/geez/BUILD.bazel ---- b/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/geez/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/geez/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/geez/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6096,7 +6408,7 @@ diff -urN b/go/packages/packagestest/testdata/groups/two/modules/example.com/ext + visibility = ["//visibility:public"], +) diff -urN b/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/v2/BUILD.bazel c/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/v2/BUILD.bazel ---- b/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/v2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6114,7 +6426,7 @@ diff -urN b/go/packages/packagestest/testdata/groups/two/modules/example.com/ext + visibility = ["//visibility:public"], +) diff -urN b/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/v2/geez/BUILD.bazel c/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/v2/geez/BUILD.bazel ---- b/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/v2/geez/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/v2/geez/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/packages/packagestest/testdata/groups/two/modules/example.com/extra/v2/geez/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6132,7 +6444,7 @@ diff -urN b/go/packages/packagestest/testdata/groups/two/modules/example.com/ext + visibility = ["//visibility:public"], +) diff -urN b/go/packages/packagestest/testdata/groups/two/modules/example.com/tempmod/BUILD.bazel c/go/packages/packagestest/testdata/groups/two/modules/example.com/tempmod/BUILD.bazel ---- b/go/packages/packagestest/testdata/groups/two/modules/example.com/tempmod/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/packages/packagestest/testdata/groups/two/modules/example.com/tempmod/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/packages/packagestest/testdata/groups/two/modules/example.com/tempmod/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6150,7 +6462,7 @@ diff -urN b/go/packages/packagestest/testdata/groups/two/modules/example.com/tem + visibility = ["//visibility:public"], +) diff -urN b/go/packages/packagestest/testdata/groups/two/modules/example.com/what@v1.0.0/BUILD.bazel c/go/packages/packagestest/testdata/groups/two/modules/example.com/what@v1.0.0/BUILD.bazel ---- b/go/packages/packagestest/testdata/groups/two/modules/example.com/what@v1.0.0/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/packages/packagestest/testdata/groups/two/modules/example.com/what@v1.0.0/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/packages/packagestest/testdata/groups/two/modules/example.com/what@v1.0.0/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6168,7 +6480,7 @@ diff -urN b/go/packages/packagestest/testdata/groups/two/modules/example.com/wha + visibility = ["//visibility:public"], +) diff -urN b/go/packages/packagestest/testdata/groups/two/modules/example.com/what@v1.1.0/BUILD.bazel c/go/packages/packagestest/testdata/groups/two/modules/example.com/what@v1.1.0/BUILD.bazel ---- b/go/packages/packagestest/testdata/groups/two/modules/example.com/what@v1.1.0/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/packages/packagestest/testdata/groups/two/modules/example.com/what@v1.1.0/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/packages/packagestest/testdata/groups/two/modules/example.com/what@v1.1.0/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6186,7 +6498,7 @@ diff -urN b/go/packages/packagestest/testdata/groups/two/modules/example.com/wha + visibility = ["//visibility:public"], +) diff -urN b/go/packages/packagestest/testdata/groups/two/primarymod/BUILD.bazel c/go/packages/packagestest/testdata/groups/two/primarymod/BUILD.bazel ---- b/go/packages/packagestest/testdata/groups/two/primarymod/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/packages/packagestest/testdata/groups/two/primarymod/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/packages/packagestest/testdata/groups/two/primarymod/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6204,7 +6516,7 @@ diff -urN b/go/packages/packagestest/testdata/groups/two/primarymod/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/go/packages/packagestest/testdata/groups/two/primarymod/expect/BUILD.bazel c/go/packages/packagestest/testdata/groups/two/primarymod/expect/BUILD.bazel ---- b/go/packages/packagestest/testdata/groups/two/primarymod/expect/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/packages/packagestest/testdata/groups/two/primarymod/expect/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/packages/packagestest/testdata/groups/two/primarymod/expect/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -6227,7 +6539,7 @@ diff -urN b/go/packages/packagestest/testdata/groups/two/primarymod/expect/BUILD + srcs = ["yo_test.go"], +) diff -urN b/go/pointer/BUILD.bazel c/go/pointer/BUILD.bazel ---- b/go/pointer/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/pointer/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/pointer/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,108 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -6339,7 +6651,7 @@ diff -urN b/go/pointer/BUILD.bazel c/go/pointer/BUILD.bazel + }), +) diff -urN b/go/pointer/testdata/BUILD.bazel c/go/pointer/testdata/BUILD.bazel ---- b/go/pointer/testdata/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/pointer/testdata/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/pointer/testdata/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -6361,7 +6673,7 @@ diff -urN b/go/pointer/testdata/BUILD.bazel c/go/pointer/testdata/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/go/ssa/BUILD.bazel c/go/ssa/BUILD.bazel ---- b/go/ssa/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/ssa/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/ssa/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,148 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -6513,7 +6825,7 @@ diff -urN b/go/ssa/BUILD.bazel c/go/ssa/BUILD.bazel + }), +) diff -urN b/go/ssa/interp/BUILD.bazel c/go/ssa/interp/BUILD.bazel ---- b/go/ssa/interp/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/ssa/interp/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/ssa/interp/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,36 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -6553,7 +6865,7 @@ diff -urN b/go/ssa/interp/BUILD.bazel c/go/ssa/interp/BUILD.bazel + ], +) diff -urN b/go/ssa/interp/testdata/BUILD.bazel c/go/ssa/interp/testdata/BUILD.bazel ---- b/go/ssa/interp/testdata/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/ssa/interp/testdata/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/ssa/interp/testdata/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -6586,7 +6898,7 @@ diff -urN b/go/ssa/interp/testdata/BUILD.bazel c/go/ssa/interp/testdata/BUILD.ba + visibility = ["//visibility:public"], +) diff -urN b/go/ssa/interp/testdata/src/errors/BUILD.bazel c/go/ssa/interp/testdata/src/errors/BUILD.bazel ---- b/go/ssa/interp/testdata/src/errors/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/ssa/interp/testdata/src/errors/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/ssa/interp/testdata/src/errors/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6604,7 +6916,7 @@ diff -urN b/go/ssa/interp/testdata/src/errors/BUILD.bazel c/go/ssa/interp/testda + visibility = ["//visibility:public"], +) diff -urN b/go/ssa/interp/testdata/src/fmt/BUILD.bazel c/go/ssa/interp/testdata/src/fmt/BUILD.bazel ---- b/go/ssa/interp/testdata/src/fmt/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/ssa/interp/testdata/src/fmt/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/ssa/interp/testdata/src/fmt/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6622,7 +6934,7 @@ diff -urN b/go/ssa/interp/testdata/src/fmt/BUILD.bazel c/go/ssa/interp/testdata/ + visibility = ["//visibility:public"], +) diff -urN b/go/ssa/interp/testdata/src/math/BUILD.bazel c/go/ssa/interp/testdata/src/math/BUILD.bazel ---- b/go/ssa/interp/testdata/src/math/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/ssa/interp/testdata/src/math/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/ssa/interp/testdata/src/math/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6640,7 +6952,7 @@ diff -urN b/go/ssa/interp/testdata/src/math/BUILD.bazel c/go/ssa/interp/testdata + visibility = ["//visibility:public"], +) diff -urN b/go/ssa/interp/testdata/src/os/BUILD.bazel c/go/ssa/interp/testdata/src/os/BUILD.bazel ---- b/go/ssa/interp/testdata/src/os/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/ssa/interp/testdata/src/os/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/ssa/interp/testdata/src/os/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6658,7 +6970,7 @@ diff -urN b/go/ssa/interp/testdata/src/os/BUILD.bazel c/go/ssa/interp/testdata/s + visibility = ["//visibility:public"], +) diff -urN b/go/ssa/interp/testdata/src/reflect/BUILD.bazel c/go/ssa/interp/testdata/src/reflect/BUILD.bazel ---- b/go/ssa/interp/testdata/src/reflect/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/ssa/interp/testdata/src/reflect/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/ssa/interp/testdata/src/reflect/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6676,7 +6988,7 @@ diff -urN b/go/ssa/interp/testdata/src/reflect/BUILD.bazel c/go/ssa/interp/testd + visibility = ["//visibility:public"], +) diff -urN b/go/ssa/interp/testdata/src/runtime/BUILD.bazel c/go/ssa/interp/testdata/src/runtime/BUILD.bazel ---- b/go/ssa/interp/testdata/src/runtime/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/ssa/interp/testdata/src/runtime/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/ssa/interp/testdata/src/runtime/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6694,7 +7006,7 @@ diff -urN b/go/ssa/interp/testdata/src/runtime/BUILD.bazel c/go/ssa/interp/testd + visibility = ["//visibility:public"], +) diff -urN b/go/ssa/interp/testdata/src/strings/BUILD.bazel c/go/ssa/interp/testdata/src/strings/BUILD.bazel ---- b/go/ssa/interp/testdata/src/strings/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/ssa/interp/testdata/src/strings/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/ssa/interp/testdata/src/strings/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6712,7 +7024,7 @@ diff -urN b/go/ssa/interp/testdata/src/strings/BUILD.bazel c/go/ssa/interp/testd + visibility = ["//visibility:public"], +) diff -urN b/go/ssa/interp/testdata/src/time/BUILD.bazel c/go/ssa/interp/testdata/src/time/BUILD.bazel ---- b/go/ssa/interp/testdata/src/time/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/ssa/interp/testdata/src/time/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/ssa/interp/testdata/src/time/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6730,7 +7042,7 @@ diff -urN b/go/ssa/interp/testdata/src/time/BUILD.bazel c/go/ssa/interp/testdata + visibility = ["//visibility:public"], +) diff -urN b/go/ssa/interp/testdata/src/unicode/utf8/BUILD.bazel c/go/ssa/interp/testdata/src/unicode/utf8/BUILD.bazel ---- b/go/ssa/interp/testdata/src/unicode/utf8/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/ssa/interp/testdata/src/unicode/utf8/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/ssa/interp/testdata/src/unicode/utf8/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6748,7 +7060,7 @@ diff -urN b/go/ssa/interp/testdata/src/unicode/utf8/BUILD.bazel c/go/ssa/interp/ + visibility = ["//visibility:public"], +) diff -urN b/go/ssa/interp/testdata/src/unsafe/BUILD.bazel c/go/ssa/interp/testdata/src/unsafe/BUILD.bazel ---- b/go/ssa/interp/testdata/src/unsafe/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/ssa/interp/testdata/src/unsafe/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/ssa/interp/testdata/src/unsafe/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -6766,7 +7078,7 @@ diff -urN b/go/ssa/interp/testdata/src/unsafe/BUILD.bazel c/go/ssa/interp/testda + visibility = ["//visibility:public"], +) diff -urN b/go/ssa/ssautil/BUILD.bazel c/go/ssa/ssautil/BUILD.bazel ---- b/go/ssa/ssautil/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/ssa/ssautil/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/ssa/ssautil/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,91 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -6861,7 +7173,7 @@ diff -urN b/go/ssa/ssautil/BUILD.bazel c/go/ssa/ssautil/BUILD.bazel + }), +) diff -urN b/go/types/objectpath/BUILD.bazel c/go/types/objectpath/BUILD.bazel ---- b/go/types/objectpath/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/types/objectpath/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/types/objectpath/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,32 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -6897,7 +7209,7 @@ diff -urN b/go/types/objectpath/BUILD.bazel c/go/types/objectpath/BUILD.bazel + ], +) diff -urN b/go/types/typeutil/BUILD.bazel c/go/types/typeutil/BUILD.bazel ---- b/go/types/typeutil/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/types/typeutil/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/types/typeutil/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,47 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -6948,7 +7260,7 @@ diff -urN b/go/types/typeutil/BUILD.bazel c/go/types/typeutil/BUILD.bazel + deps = [":typeutil"], +) diff -urN b/go/vcs/BUILD.bazel c/go/vcs/BUILD.bazel ---- b/go/vcs/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/go/vcs/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/go/vcs/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,26 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -6978,9 +7290,9 @@ diff -urN b/go/vcs/BUILD.bazel c/go/vcs/BUILD.bazel + embed = [":vcs"], +) diff -urN b/godoc/BUILD.bazel c/godoc/BUILD.bazel ---- b/godoc/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/godoc/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/godoc/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,59 @@ +@@ -0,0 +1,62 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( @@ -6992,6 +7304,7 @@ diff -urN b/godoc/BUILD.bazel c/godoc/BUILD.bazel + "godoc.go", + "index.go", + "linkify.go", ++ "markdown.go", + "meta.go", + "page.go", + "parser.go", @@ -7009,10 +7322,12 @@ diff -urN b/godoc/BUILD.bazel c/godoc/BUILD.bazel + visibility = ["//visibility:public"], + deps = [ + "//godoc/analysis", -+ "//godoc/golangorgenv", + "//godoc/util", + "//godoc/vfs", + "//godoc/vfs/httpfs", ++ "@com_github_yuin_goldmark//:go_default_library", ++ "@com_github_yuin_goldmark//parser:go_default_library", ++ "@com_github_yuin_goldmark//renderer/html:go_default_library", + ], +) + @@ -7041,7 +7356,7 @@ diff -urN b/godoc/BUILD.bazel c/godoc/BUILD.bazel + ], +) diff -urN b/godoc/analysis/BUILD.bazel c/godoc/analysis/BUILD.bazel ---- b/godoc/analysis/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/godoc/analysis/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/godoc/analysis/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -7073,26 +7388,8 @@ diff -urN b/godoc/analysis/BUILD.bazel c/godoc/analysis/BUILD.bazel + actual = ":analysis", + visibility = ["//visibility:public"], +) -diff -urN b/godoc/golangorgenv/BUILD.bazel c/godoc/golangorgenv/BUILD.bazel ---- b/godoc/golangorgenv/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 -+++ c/godoc/golangorgenv/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,14 @@ -+load("@io_bazel_rules_go//go:def.bzl", "go_library") -+ -+go_library( -+ name = "golangorgenv", -+ srcs = ["golangorgenv.go"], -+ importpath = "golang.org/x/tools/godoc/golangorgenv", -+ visibility = ["//visibility:public"], -+) -+ -+alias( -+ name = "go_default_library", -+ actual = ":golangorgenv", -+ visibility = ["//visibility:public"], -+) diff -urN b/godoc/redirect/BUILD.bazel c/godoc/redirect/BUILD.bazel ---- b/godoc/redirect/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/godoc/redirect/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/godoc/redirect/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -7121,7 +7418,7 @@ diff -urN b/godoc/redirect/BUILD.bazel c/godoc/redirect/BUILD.bazel + embed = [":redirect"], +) diff -urN b/godoc/static/BUILD.bazel c/godoc/static/BUILD.bazel ---- b/godoc/static/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/godoc/static/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/godoc/static/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -7149,7 +7446,7 @@ diff -urN b/godoc/static/BUILD.bazel c/godoc/static/BUILD.bazel + embed = [":static"], +) diff -urN b/godoc/util/BUILD.bazel c/godoc/util/BUILD.bazel ---- b/godoc/util/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/godoc/util/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/godoc/util/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -7171,15 +7468,16 @@ diff -urN b/godoc/util/BUILD.bazel c/godoc/util/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/godoc/vfs/BUILD.bazel c/godoc/vfs/BUILD.bazel ---- b/godoc/vfs/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/godoc/vfs/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/godoc/vfs/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,31 @@ +@@ -0,0 +1,32 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( + name = "vfs", + srcs = [ + "emptyvfs.go", ++ "fs.go", + "namespace.go", + "os.go", + "vfs.go", @@ -7206,7 +7504,7 @@ diff -urN b/godoc/vfs/BUILD.bazel c/godoc/vfs/BUILD.bazel + ], +) diff -urN b/godoc/vfs/gatefs/BUILD.bazel c/godoc/vfs/gatefs/BUILD.bazel ---- b/godoc/vfs/gatefs/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/godoc/vfs/gatefs/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/godoc/vfs/gatefs/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -7234,7 +7532,7 @@ diff -urN b/godoc/vfs/gatefs/BUILD.bazel c/godoc/vfs/gatefs/BUILD.bazel + ], +) diff -urN b/godoc/vfs/httpfs/BUILD.bazel c/godoc/vfs/httpfs/BUILD.bazel ---- b/godoc/vfs/httpfs/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/godoc/vfs/httpfs/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/godoc/vfs/httpfs/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -7253,7 +7551,7 @@ diff -urN b/godoc/vfs/httpfs/BUILD.bazel c/godoc/vfs/httpfs/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/godoc/vfs/mapfs/BUILD.bazel c/godoc/vfs/mapfs/BUILD.bazel ---- b/godoc/vfs/mapfs/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/godoc/vfs/mapfs/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/godoc/vfs/mapfs/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -7278,7 +7576,7 @@ diff -urN b/godoc/vfs/mapfs/BUILD.bazel c/godoc/vfs/mapfs/BUILD.bazel + embed = [":mapfs"], +) diff -urN b/godoc/vfs/zipfs/BUILD.bazel c/godoc/vfs/zipfs/BUILD.bazel ---- b/godoc/vfs/zipfs/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/godoc/vfs/zipfs/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/godoc/vfs/zipfs/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -7304,7 +7602,7 @@ diff -urN b/godoc/vfs/zipfs/BUILD.bazel c/godoc/vfs/zipfs/BUILD.bazel + deps = ["//godoc/vfs"], +) diff -urN b/imports/BUILD.bazel c/imports/BUILD.bazel ---- b/imports/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/imports/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/imports/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -7326,7 +7624,7 @@ diff -urN b/imports/BUILD.bazel c/imports/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/internal/analysisinternal/BUILD.bazel c/internal/analysisinternal/BUILD.bazel ---- b/internal/analysisinternal/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/analysisinternal/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/analysisinternal/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_tool_library") @@ -7359,7 +7657,7 @@ diff -urN b/internal/analysisinternal/BUILD.bazel c/internal/analysisinternal/BU + visibility = ["//:__subpackages__"], +) diff -urN b/internal/apidiff/BUILD.bazel c/internal/apidiff/BUILD.bazel ---- b/internal/apidiff/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/apidiff/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/apidiff/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -7393,7 +7691,7 @@ diff -urN b/internal/apidiff/BUILD.bazel c/internal/apidiff/BUILD.bazel + ], +) diff -urN b/internal/apidiff/testdata/BUILD.bazel c/internal/apidiff/testdata/BUILD.bazel ---- b/internal/apidiff/testdata/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/apidiff/testdata/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/apidiff/testdata/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -7411,7 +7709,7 @@ diff -urN b/internal/apidiff/testdata/BUILD.bazel c/internal/apidiff/testdata/BU + visibility = ["//:__subpackages__"], +) diff -urN b/internal/apidiff/testdata/exported_fields/BUILD.bazel c/internal/apidiff/testdata/exported_fields/BUILD.bazel ---- b/internal/apidiff/testdata/exported_fields/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/apidiff/testdata/exported_fields/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/apidiff/testdata/exported_fields/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -7429,7 +7727,7 @@ diff -urN b/internal/apidiff/testdata/exported_fields/BUILD.bazel c/internal/api + visibility = ["//:__subpackages__"], +) diff -urN b/internal/event/BUILD.bazel c/internal/event/BUILD.bazel ---- b/internal/event/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/event/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/event/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,34 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -7467,7 +7765,7 @@ diff -urN b/internal/event/BUILD.bazel c/internal/event/BUILD.bazel + ], +) diff -urN b/internal/event/core/BUILD.bazel c/internal/event/core/BUILD.bazel ---- b/internal/event/core/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/event/core/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/event/core/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -7493,7 +7791,7 @@ diff -urN b/internal/event/core/BUILD.bazel c/internal/event/core/BUILD.bazel + visibility = ["//:__subpackages__"], +) diff -urN b/internal/event/export/BUILD.bazel c/internal/event/export/BUILD.bazel ---- b/internal/event/export/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/event/export/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/event/export/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,38 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -7535,7 +7833,7 @@ diff -urN b/internal/event/export/BUILD.bazel c/internal/event/export/BUILD.baze + ], +) diff -urN b/internal/event/export/eventtest/BUILD.bazel c/internal/event/export/eventtest/BUILD.bazel ---- b/internal/event/export/eventtest/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/event/export/eventtest/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/event/export/eventtest/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -7559,7 +7857,7 @@ diff -urN b/internal/event/export/eventtest/BUILD.bazel c/internal/event/export/ + visibility = ["//:__subpackages__"], +) diff -urN b/internal/event/export/metric/BUILD.bazel c/internal/event/export/metric/BUILD.bazel ---- b/internal/event/export/metric/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/event/export/metric/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/event/export/metric/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -7587,7 +7885,7 @@ diff -urN b/internal/event/export/metric/BUILD.bazel c/internal/event/export/met + visibility = ["//:__subpackages__"], +) diff -urN b/internal/event/export/ocagent/BUILD.bazel c/internal/event/export/ocagent/BUILD.bazel ---- b/internal/event/export/ocagent/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/event/export/ocagent/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/event/export/ocagent/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,44 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -7635,7 +7933,7 @@ diff -urN b/internal/event/export/ocagent/BUILD.bazel c/internal/event/export/oc + ], +) diff -urN b/internal/event/export/ocagent/wire/BUILD.bazel c/internal/event/export/ocagent/wire/BUILD.bazel ---- b/internal/event/export/ocagent/wire/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/event/export/ocagent/wire/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/event/export/ocagent/wire/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -7664,7 +7962,7 @@ diff -urN b/internal/event/export/ocagent/wire/BUILD.bazel c/internal/event/expo + embed = [":wire"], +) diff -urN b/internal/event/export/prometheus/BUILD.bazel c/internal/event/export/prometheus/BUILD.bazel ---- b/internal/event/export/prometheus/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/event/export/prometheus/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/event/export/prometheus/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -7688,7 +7986,7 @@ diff -urN b/internal/event/export/prometheus/BUILD.bazel c/internal/event/export + visibility = ["//:__subpackages__"], +) diff -urN b/internal/event/keys/BUILD.bazel c/internal/event/keys/BUILD.bazel ---- b/internal/event/keys/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/event/keys/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/event/keys/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -7710,7 +8008,7 @@ diff -urN b/internal/event/keys/BUILD.bazel c/internal/event/keys/BUILD.bazel + visibility = ["//:__subpackages__"], +) diff -urN b/internal/event/label/BUILD.bazel c/internal/event/label/BUILD.bazel ---- b/internal/event/label/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/event/label/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/event/label/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -7737,7 +8035,7 @@ diff -urN b/internal/event/label/BUILD.bazel c/internal/event/label/BUILD.bazel + ], +) diff -urN b/internal/fakenet/BUILD.bazel c/internal/fakenet/BUILD.bazel ---- b/internal/fakenet/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/fakenet/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/fakenet/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -7755,7 +8053,7 @@ diff -urN b/internal/fakenet/BUILD.bazel c/internal/fakenet/BUILD.bazel + visibility = ["//:__subpackages__"], +) diff -urN b/internal/fastwalk/BUILD.bazel c/internal/fastwalk/BUILD.bazel ---- b/internal/fastwalk/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/fastwalk/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/fastwalk/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -7787,7 +8085,7 @@ diff -urN b/internal/fastwalk/BUILD.bazel c/internal/fastwalk/BUILD.bazel + deps = [":fastwalk"], +) diff -urN b/internal/gocommand/BUILD.bazel c/internal/gocommand/BUILD.bazel ---- b/internal/gocommand/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/gocommand/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/gocommand/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -7820,7 +8118,7 @@ diff -urN b/internal/gocommand/BUILD.bazel c/internal/gocommand/BUILD.bazel + deps = [":gocommand"], +) diff -urN b/internal/gopathwalk/BUILD.bazel c/internal/gopathwalk/BUILD.bazel ---- b/internal/gopathwalk/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/gopathwalk/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/gopathwalk/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -7845,7 +8143,7 @@ diff -urN b/internal/gopathwalk/BUILD.bazel c/internal/gopathwalk/BUILD.bazel + embed = [":gopathwalk"], +) diff -urN b/internal/imports/BUILD.bazel c/internal/imports/BUILD.bazel ---- b/internal/imports/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/imports/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/imports/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,48 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -7897,7 +8195,7 @@ diff -urN b/internal/imports/BUILD.bazel c/internal/imports/BUILD.bazel + ], +) diff -urN b/internal/jsonrpc2/BUILD.bazel c/internal/jsonrpc2/BUILD.bazel ---- b/internal/jsonrpc2/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/jsonrpc2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/jsonrpc2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -7943,7 +8241,7 @@ diff -urN b/internal/jsonrpc2/BUILD.bazel c/internal/jsonrpc2/BUILD.bazel + ], +) diff -urN b/internal/jsonrpc2/servertest/BUILD.bazel c/internal/jsonrpc2/servertest/BUILD.bazel ---- b/internal/jsonrpc2/servertest/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/jsonrpc2/servertest/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/jsonrpc2/servertest/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,22 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -7968,8 +8266,55 @@ diff -urN b/internal/jsonrpc2/servertest/BUILD.bazel c/internal/jsonrpc2/servert + embed = [":servertest"], + deps = ["//internal/jsonrpc2"], +) +diff -urN b/internal/jsonrpc2_v2/BUILD.bazel c/internal/jsonrpc2_v2/BUILD.bazel +--- b/internal/jsonrpc2_v2/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ c/internal/jsonrpc2_v2/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,43 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") ++ ++go_library( ++ name = "jsonrpc2_v2", ++ srcs = [ ++ "conn.go", ++ "frame.go", ++ "jsonrpc2.go", ++ "messages.go", ++ "net.go", ++ "serve.go", ++ "wire.go", ++ ], ++ importpath = "golang.org/x/tools/internal/jsonrpc2_v2", ++ visibility = ["//:__subpackages__"], ++ deps = [ ++ "//internal/event", ++ "//internal/event/label", ++ "//internal/lsp/debug/tag", ++ "@org_golang_x_xerrors//:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":jsonrpc2_v2", ++ visibility = ["//:__subpackages__"], ++) ++ ++go_test( ++ name = "jsonrpc2_v2_test", ++ srcs = [ ++ "jsonrpc2_test.go", ++ "serve_test.go", ++ "wire_test.go", ++ ], ++ deps = [ ++ ":jsonrpc2_v2", ++ "//internal/event/export/eventtest", ++ "//internal/stack/stacktest", ++ "@org_golang_x_xerrors//:go_default_library", ++ ], ++) diff -urN b/internal/lsp/BUILD.bazel c/internal/lsp/BUILD.bazel ---- b/internal/lsp/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,81 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -7992,7 +8337,6 @@ diff -urN b/internal/lsp/BUILD.bazel c/internal/lsp/BUILD.bazel + "hover.go", + "implementation.go", + "link.go", -+ "progress.go", + "references.go", + "rename.go", + "semantic.go", @@ -8007,19 +8351,20 @@ diff -urN b/internal/lsp/BUILD.bazel c/internal/lsp/BUILD.bazel + importpath = "golang.org/x/tools/internal/lsp", + visibility = ["//:__subpackages__"], + deps = [ -+ "//go/analysis", + "//internal/event", + "//internal/gocommand", + "//internal/imports", + "//internal/jsonrpc2", -+ "//internal/lsp/cache", ++ "//internal/lsp/command", + "//internal/lsp/debug", + "//internal/lsp/debug/log", + "//internal/lsp/debug/tag", + "//internal/lsp/mod", ++ "//internal/lsp/progress", + "//internal/lsp/protocol", + "//internal/lsp/source", + "//internal/lsp/source/completion", ++ "//internal/lsp/template", + "//internal/span", + "//internal/xcontext", + "@org_golang_x_mod//modfile:go_default_library", @@ -8039,11 +8384,11 @@ diff -urN b/internal/lsp/BUILD.bazel c/internal/lsp/BUILD.bazel + "completion_test.go", + "debounce_test.go", + "lsp_test.go", -+ "progress_test.go", + ], + embed = [":lsp"], + deps = [ + "//internal/lsp/cache", ++ "//internal/lsp/command", + "//internal/lsp/diff", + "//internal/lsp/diff/myers", + "//internal/lsp/protocol", @@ -8054,7 +8399,7 @@ diff -urN b/internal/lsp/BUILD.bazel c/internal/lsp/BUILD.bazel + ], +) diff -urN b/internal/lsp/analysis/fillreturns/BUILD.bazel c/internal/lsp/analysis/fillreturns/BUILD.bazel ---- b/internal/lsp/analysis/fillreturns/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/analysis/fillreturns/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/analysis/fillreturns/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -8086,7 +8431,7 @@ diff -urN b/internal/lsp/analysis/fillreturns/BUILD.bazel c/internal/lsp/analysi + ], +) diff -urN b/internal/lsp/analysis/fillreturns/testdata/src/a/BUILD.bazel c/internal/lsp/analysis/fillreturns/testdata/src/a/BUILD.bazel ---- b/internal/lsp/analysis/fillreturns/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/analysis/fillreturns/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/analysis/fillreturns/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -8104,7 +8449,7 @@ diff -urN b/internal/lsp/analysis/fillreturns/testdata/src/a/BUILD.bazel c/inter + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/analysis/fillstruct/BUILD.bazel c/internal/lsp/analysis/fillstruct/BUILD.bazel ---- b/internal/lsp/analysis/fillstruct/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/analysis/fillstruct/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/analysis/fillstruct/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,31 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -8139,7 +8484,7 @@ diff -urN b/internal/lsp/analysis/fillstruct/BUILD.bazel c/internal/lsp/analysis + ], +) diff -urN b/internal/lsp/analysis/fillstruct/testdata/src/a/BUILD.bazel c/internal/lsp/analysis/fillstruct/testdata/src/a/BUILD.bazel ---- b/internal/lsp/analysis/fillstruct/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/analysis/fillstruct/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/analysis/fillstruct/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -8157,7 +8502,7 @@ diff -urN b/internal/lsp/analysis/fillstruct/testdata/src/a/BUILD.bazel c/intern + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/analysis/fillstruct/testdata/src/b/BUILD.bazel c/internal/lsp/analysis/fillstruct/testdata/src/b/BUILD.bazel ---- b/internal/lsp/analysis/fillstruct/testdata/src/b/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/analysis/fillstruct/testdata/src/b/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/analysis/fillstruct/testdata/src/b/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -8175,7 +8520,7 @@ diff -urN b/internal/lsp/analysis/fillstruct/testdata/src/b/BUILD.bazel c/intern + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/analysis/nonewvars/BUILD.bazel c/internal/lsp/analysis/nonewvars/BUILD.bazel ---- b/internal/lsp/analysis/nonewvars/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/analysis/nonewvars/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/analysis/nonewvars/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -8208,7 +8553,7 @@ diff -urN b/internal/lsp/analysis/nonewvars/BUILD.bazel c/internal/lsp/analysis/ + ], +) diff -urN b/internal/lsp/analysis/nonewvars/testdata/src/a/BUILD.bazel c/internal/lsp/analysis/nonewvars/testdata/src/a/BUILD.bazel ---- b/internal/lsp/analysis/nonewvars/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/analysis/nonewvars/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/analysis/nonewvars/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -8226,7 +8571,7 @@ diff -urN b/internal/lsp/analysis/nonewvars/testdata/src/a/BUILD.bazel c/interna + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/analysis/noresultvalues/BUILD.bazel c/internal/lsp/analysis/noresultvalues/BUILD.bazel ---- b/internal/lsp/analysis/noresultvalues/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/analysis/noresultvalues/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/analysis/noresultvalues/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -8259,7 +8604,7 @@ diff -urN b/internal/lsp/analysis/noresultvalues/BUILD.bazel c/internal/lsp/anal + ], +) diff -urN b/internal/lsp/analysis/noresultvalues/testdata/src/a/BUILD.bazel c/internal/lsp/analysis/noresultvalues/testdata/src/a/BUILD.bazel ---- b/internal/lsp/analysis/noresultvalues/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/analysis/noresultvalues/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/analysis/noresultvalues/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -8277,7 +8622,7 @@ diff -urN b/internal/lsp/analysis/noresultvalues/testdata/src/a/BUILD.bazel c/in + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/analysis/simplifycompositelit/BUILD.bazel c/internal/lsp/analysis/simplifycompositelit/BUILD.bazel ---- b/internal/lsp/analysis/simplifycompositelit/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/analysis/simplifycompositelit/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/analysis/simplifycompositelit/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -8309,7 +8654,7 @@ diff -urN b/internal/lsp/analysis/simplifycompositelit/BUILD.bazel c/internal/ls + ], +) diff -urN b/internal/lsp/analysis/simplifycompositelit/testdata/src/a/BUILD.bazel c/internal/lsp/analysis/simplifycompositelit/testdata/src/a/BUILD.bazel ---- b/internal/lsp/analysis/simplifycompositelit/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/analysis/simplifycompositelit/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/analysis/simplifycompositelit/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -8327,7 +8672,7 @@ diff -urN b/internal/lsp/analysis/simplifycompositelit/testdata/src/a/BUILD.baze + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/analysis/simplifyrange/BUILD.bazel c/internal/lsp/analysis/simplifyrange/BUILD.bazel ---- b/internal/lsp/analysis/simplifyrange/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/analysis/simplifyrange/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/analysis/simplifyrange/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -8359,7 +8704,7 @@ diff -urN b/internal/lsp/analysis/simplifyrange/BUILD.bazel c/internal/lsp/analy + ], +) diff -urN b/internal/lsp/analysis/simplifyrange/testdata/src/a/BUILD.bazel c/internal/lsp/analysis/simplifyrange/testdata/src/a/BUILD.bazel ---- b/internal/lsp/analysis/simplifyrange/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/analysis/simplifyrange/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/analysis/simplifyrange/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -8377,7 +8722,7 @@ diff -urN b/internal/lsp/analysis/simplifyrange/testdata/src/a/BUILD.bazel c/int + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/analysis/simplifyslice/BUILD.bazel c/internal/lsp/analysis/simplifyslice/BUILD.bazel ---- b/internal/lsp/analysis/simplifyslice/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/analysis/simplifyslice/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/analysis/simplifyslice/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -8409,7 +8754,7 @@ diff -urN b/internal/lsp/analysis/simplifyslice/BUILD.bazel c/internal/lsp/analy + ], +) diff -urN b/internal/lsp/analysis/simplifyslice/testdata/src/a/BUILD.bazel c/internal/lsp/analysis/simplifyslice/testdata/src/a/BUILD.bazel ---- b/internal/lsp/analysis/simplifyslice/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/analysis/simplifyslice/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/analysis/simplifyslice/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -8427,7 +8772,7 @@ diff -urN b/internal/lsp/analysis/simplifyslice/testdata/src/a/BUILD.bazel c/int + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/analysis/undeclaredname/BUILD.bazel c/internal/lsp/analysis/undeclaredname/BUILD.bazel ---- b/internal/lsp/analysis/undeclaredname/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/analysis/undeclaredname/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/analysis/undeclaredname/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -8460,7 +8805,7 @@ diff -urN b/internal/lsp/analysis/undeclaredname/BUILD.bazel c/internal/lsp/anal + ], +) diff -urN b/internal/lsp/analysis/undeclaredname/testdata/src/a/BUILD.bazel c/internal/lsp/analysis/undeclaredname/testdata/src/a/BUILD.bazel ---- b/internal/lsp/analysis/undeclaredname/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/analysis/undeclaredname/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/analysis/undeclaredname/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -8478,7 +8823,7 @@ diff -urN b/internal/lsp/analysis/undeclaredname/testdata/src/a/BUILD.bazel c/in + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/analysis/unusedparams/BUILD.bazel c/internal/lsp/analysis/unusedparams/BUILD.bazel ---- b/internal/lsp/analysis/unusedparams/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/analysis/unusedparams/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/analysis/unusedparams/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -8510,7 +8855,7 @@ diff -urN b/internal/lsp/analysis/unusedparams/BUILD.bazel c/internal/lsp/analys + ], +) diff -urN b/internal/lsp/analysis/unusedparams/testdata/src/a/BUILD.bazel c/internal/lsp/analysis/unusedparams/testdata/src/a/BUILD.bazel ---- b/internal/lsp/analysis/unusedparams/testdata/src/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/analysis/unusedparams/testdata/src/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/analysis/unusedparams/testdata/src/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -8528,7 +8873,7 @@ diff -urN b/internal/lsp/analysis/unusedparams/testdata/src/a/BUILD.bazel c/inte + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/browser/BUILD.bazel c/internal/lsp/browser/BUILD.bazel ---- b/internal/lsp/browser/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/browser/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/browser/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -8547,9 +8892,9 @@ diff -urN b/internal/lsp/browser/BUILD.bazel c/internal/lsp/browser/BUILD.bazel + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/cache/BUILD.bazel c/internal/lsp/cache/BUILD.bazel ---- b/internal/lsp/cache/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/cache/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/cache/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,76 @@ +@@ -0,0 +1,80 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( @@ -8577,6 +8922,7 @@ diff -urN b/internal/lsp/cache/BUILD.bazel c/internal/lsp/cache/BUILD.bazel + visibility = ["//:__subpackages__"], + deps = [ + "//go/analysis", ++ "//go/ast/astutil", + "//go/packages", + "//internal/analysisinternal", + "//internal/event", @@ -8584,14 +8930,18 @@ diff -urN b/internal/lsp/cache/BUILD.bazel c/internal/lsp/cache/BUILD.bazel + "//internal/event/label", + "//internal/gocommand", + "//internal/imports", ++ "//internal/lsp/command", + "//internal/lsp/debug/log", + "//internal/lsp/debug/tag", + "//internal/lsp/diff", ++ "//internal/lsp/diff/myers", ++ "//internal/lsp/progress", + "//internal/lsp/protocol", + "//internal/lsp/source", + "//internal/memoize", + "//internal/packagesinternal", + "//internal/span", ++ "//internal/typeparams", + "//internal/typesinternal", + "//internal/xcontext", + "@org_golang_x_mod//modfile:go_default_library", @@ -8619,17 +8969,16 @@ diff -urN b/internal/lsp/cache/BUILD.bazel c/internal/lsp/cache/BUILD.bazel + ], + embed = [":cache"], + deps = [ ++ "//go/packages", + "//internal/lsp/fake", -+ "//internal/lsp/protocol", + "//internal/lsp/source", + "//internal/span", -+ "@org_golang_x_mod//modfile:go_default_library", + ], +) diff -urN b/internal/lsp/cmd/BUILD.bazel c/internal/lsp/cmd/BUILD.bazel ---- b/internal/lsp/cmd/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/cmd/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/cmd/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,73 @@ +@@ -0,0 +1,74 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( @@ -8645,14 +8994,15 @@ diff -urN b/internal/lsp/cmd/BUILD.bazel c/internal/lsp/cmd/BUILD.bazel + "implementation.go", + "imports.go", + "info.go", -+ "inspect.go", + "links.go", + "prepare_rename.go", + "references.go", ++ "remote.go", + "rename.go", + "semantictokens.go", + "serve.go", + "signature.go", ++ "subcommands.go", + "suggested_fix.go", + "symbols.go", + "workspace.go", @@ -8666,6 +9016,7 @@ diff -urN b/internal/lsp/cmd/BUILD.bazel c/internal/lsp/cmd/BUILD.bazel + "//internal/lsp", + "//internal/lsp/browser", + "//internal/lsp/cache", ++ "//internal/lsp/command", + "//internal/lsp/debug", + "//internal/lsp/diff", + "//internal/lsp/lsprpc", @@ -8690,7 +9041,6 @@ diff -urN b/internal/lsp/cmd/BUILD.bazel c/internal/lsp/cmd/BUILD.bazel + "capabilities_test.go", + "cmd_test.go", + "export_test.go", -+ "serve_test.go", + ], + embed = [":cmd"], + deps = [ @@ -8704,7 +9054,7 @@ diff -urN b/internal/lsp/cmd/BUILD.bazel c/internal/lsp/cmd/BUILD.bazel + ], +) diff -urN b/internal/lsp/cmd/test/BUILD.bazel c/internal/lsp/cmd/test/BUILD.bazel ---- b/internal/lsp/cmd/test/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/cmd/test/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/cmd/test/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,49 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -8756,8 +9106,85 @@ diff -urN b/internal/lsp/cmd/test/BUILD.bazel c/internal/lsp/cmd/test/BUILD.baze + actual = ":test", + visibility = ["//:__subpackages__"], +) +diff -urN b/internal/lsp/command/BUILD.bazel c/internal/lsp/command/BUILD.bazel +--- b/internal/lsp/command/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ c/internal/lsp/command/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,28 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") ++ ++go_library( ++ name = "command", ++ srcs = [ ++ "command_gen.go", ++ "interface.go", ++ "util.go", ++ ], ++ importpath = "golang.org/x/tools/internal/lsp/command", ++ visibility = ["//:__subpackages__"], ++ deps = ["//internal/lsp/protocol"], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":command", ++ visibility = ["//:__subpackages__"], ++) ++ ++go_test( ++ name = "command_test", ++ srcs = ["interface_test.go"], ++ deps = [ ++ "//internal/lsp/command/gen", ++ "//internal/testenv", ++ ], ++) +diff -urN b/internal/lsp/command/commandmeta/BUILD.bazel c/internal/lsp/command/commandmeta/BUILD.bazel +--- b/internal/lsp/command/commandmeta/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ c/internal/lsp/command/commandmeta/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,19 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "commandmeta", ++ srcs = ["meta.go"], ++ importpath = "golang.org/x/tools/internal/lsp/command/commandmeta", ++ visibility = ["//:__subpackages__"], ++ deps = [ ++ "//go/ast/astutil", ++ "//go/packages", ++ "//internal/lsp/command", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":commandmeta", ++ visibility = ["//:__subpackages__"], ++) +diff -urN b/internal/lsp/command/gen/BUILD.bazel c/internal/lsp/command/gen/BUILD.bazel +--- b/internal/lsp/command/gen/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ c/internal/lsp/command/gen/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,18 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "gen", ++ srcs = ["gen.go"], ++ importpath = "golang.org/x/tools/internal/lsp/command/gen", ++ visibility = ["//:__subpackages__"], ++ deps = [ ++ "//internal/imports", ++ "//internal/lsp/command/commandmeta", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":gen", ++ visibility = ["//:__subpackages__"], ++) diff -urN b/internal/lsp/debug/BUILD.bazel c/internal/lsp/debug/BUILD.bazel ---- b/internal/lsp/debug/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/debug/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/debug/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,36 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -8797,7 +9224,7 @@ diff -urN b/internal/lsp/debug/BUILD.bazel c/internal/lsp/debug/BUILD.bazel + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/debug/log/BUILD.bazel c/internal/lsp/debug/log/BUILD.bazel ---- b/internal/lsp/debug/log/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/debug/log/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/debug/log/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -8820,7 +9247,7 @@ diff -urN b/internal/lsp/debug/log/BUILD.bazel c/internal/lsp/debug/log/BUILD.ba + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/debug/tag/BUILD.bazel c/internal/lsp/debug/tag/BUILD.bazel ---- b/internal/lsp/debug/tag/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/debug/tag/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/debug/tag/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -8839,7 +9266,7 @@ diff -urN b/internal/lsp/debug/tag/BUILD.bazel c/internal/lsp/debug/tag/BUILD.ba + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/diff/BUILD.bazel c/internal/lsp/diff/BUILD.bazel ---- b/internal/lsp/diff/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/diff/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/diff/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -8871,7 +9298,7 @@ diff -urN b/internal/lsp/diff/BUILD.bazel c/internal/lsp/diff/BUILD.bazel + ], +) diff -urN b/internal/lsp/diff/difftest/BUILD.bazel c/internal/lsp/diff/difftest/BUILD.bazel ---- b/internal/lsp/diff/difftest/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/diff/difftest/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/diff/difftest/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -8902,7 +9329,7 @@ diff -urN b/internal/lsp/diff/difftest/BUILD.bazel c/internal/lsp/diff/difftest/ + ], +) diff -urN b/internal/lsp/diff/myers/BUILD.bazel c/internal/lsp/diff/myers/BUILD.bazel ---- b/internal/lsp/diff/myers/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/diff/myers/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/diff/myers/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,27 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -8933,7 +9360,7 @@ diff -urN b/internal/lsp/diff/myers/BUILD.bazel c/internal/lsp/diff/myers/BUILD. + ], +) diff -urN b/internal/lsp/fake/BUILD.bazel c/internal/lsp/fake/BUILD.bazel ---- b/internal/lsp/fake/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/fake/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/fake/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,44 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -8954,8 +9381,8 @@ diff -urN b/internal/lsp/fake/BUILD.bazel c/internal/lsp/fake/BUILD.bazel + deps = [ + "//internal/gocommand", + "//internal/jsonrpc2", ++ "//internal/lsp/command", + "//internal/lsp/protocol", -+ "//internal/lsp/source", + "//internal/proxydir", + "//internal/span", + "//internal/testenv", @@ -8981,7 +9408,7 @@ diff -urN b/internal/lsp/fake/BUILD.bazel c/internal/lsp/fake/BUILD.bazel + deps = ["//internal/lsp/protocol"], +) diff -urN b/internal/lsp/fuzzy/BUILD.bazel c/internal/lsp/fuzzy/BUILD.bazel ---- b/internal/lsp/fuzzy/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/fuzzy/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/fuzzy/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,36 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test", "go_tool_library") @@ -9021,7 +9448,7 @@ diff -urN b/internal/lsp/fuzzy/BUILD.bazel c/internal/lsp/fuzzy/BUILD.bazel + deps = [":fuzzy"], +) diff -urN b/internal/lsp/helper/BUILD.bazel c/internal/lsp/helper/BUILD.bazel ---- b/internal/lsp/helper/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/helper/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/helper/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -9039,9 +9466,9 @@ diff -urN b/internal/lsp/helper/BUILD.bazel c/internal/lsp/helper/BUILD.bazel + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/lsprpc/BUILD.bazel c/internal/lsp/lsprpc/BUILD.bazel ---- b/internal/lsp/lsprpc/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/lsprpc/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/lsprpc/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,46 @@ +@@ -0,0 +1,53 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( @@ -9049,6 +9476,7 @@ diff -urN b/internal/lsp/lsprpc/BUILD.bazel c/internal/lsp/lsprpc/BUILD.bazel + srcs = [ + "autostart_default.go", + "autostart_posix.go", ++ "binder.go", + "lsprpc.go", + ], + importpath = "golang.org/x/tools/internal/lsp/lsprpc", @@ -9057,8 +9485,10 @@ diff -urN b/internal/lsp/lsprpc/BUILD.bazel c/internal/lsp/lsprpc/BUILD.bazel + "//internal/event", + "//internal/gocommand", + "//internal/jsonrpc2", ++ "//internal/jsonrpc2_v2", + "//internal/lsp", + "//internal/lsp/cache", ++ "//internal/lsp/command", + "//internal/lsp/debug", + "//internal/lsp/debug/tag", + "//internal/lsp/protocol", @@ -9075,12 +9505,16 @@ diff -urN b/internal/lsp/lsprpc/BUILD.bazel c/internal/lsp/lsprpc/BUILD.bazel + +go_test( + name = "lsprpc_test", -+ srcs = ["lsprpc_test.go"], ++ srcs = [ ++ "binder_test.go", ++ "lsprpc_test.go", ++ ], + embed = [":lsprpc"], + deps = [ + "//internal/event", + "//internal/jsonrpc2", + "//internal/jsonrpc2/servertest", ++ "//internal/jsonrpc2_v2", + "//internal/lsp/cache", + "//internal/lsp/debug", + "//internal/lsp/fake", @@ -9089,9 +9523,9 @@ diff -urN b/internal/lsp/lsprpc/BUILD.bazel c/internal/lsp/lsprpc/BUILD.bazel + ], +) diff -urN b/internal/lsp/mod/BUILD.bazel c/internal/lsp/mod/BUILD.bazel ---- b/internal/lsp/mod/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/mod/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/mod/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,41 @@ +@@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( @@ -9106,6 +9540,7 @@ diff -urN b/internal/lsp/mod/BUILD.bazel c/internal/lsp/mod/BUILD.bazel + visibility = ["//:__subpackages__"], + deps = [ + "//internal/event", ++ "//internal/lsp/command", + "//internal/lsp/debug/tag", + "//internal/lsp/protocol", + "//internal/lsp/source", @@ -9134,7 +9569,7 @@ diff -urN b/internal/lsp/mod/BUILD.bazel c/internal/lsp/mod/BUILD.bazel + ], +) diff -urN b/internal/lsp/mod/testdata/unchanged/BUILD.bazel c/internal/lsp/mod/testdata/unchanged/BUILD.bazel ---- b/internal/lsp/mod/testdata/unchanged/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/mod/testdata/unchanged/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/mod/testdata/unchanged/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9151,10 +9586,42 @@ diff -urN b/internal/lsp/mod/testdata/unchanged/BUILD.bazel c/internal/lsp/mod/t + actual = ":unchanged", + visibility = ["//:__subpackages__"], +) +diff -urN b/internal/lsp/progress/BUILD.bazel c/internal/lsp/progress/BUILD.bazel +--- b/internal/lsp/progress/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ c/internal/lsp/progress/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,28 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") ++ ++go_library( ++ name = "progress", ++ srcs = ["progress.go"], ++ importpath = "golang.org/x/tools/internal/lsp/progress", ++ visibility = ["//:__subpackages__"], ++ deps = [ ++ "//internal/event", ++ "//internal/lsp/debug/tag", ++ "//internal/lsp/protocol", ++ "//internal/xcontext", ++ "@org_golang_x_xerrors//:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":progress", ++ visibility = ["//:__subpackages__"], ++) ++ ++go_test( ++ name = "progress_test", ++ srcs = ["progress_test.go"], ++ embed = [":progress"], ++ deps = ["//internal/lsp/protocol"], ++) diff -urN b/internal/lsp/protocol/BUILD.bazel c/internal/lsp/protocol/BUILD.bazel ---- b/internal/lsp/protocol/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/protocol/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/protocol/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,35 @@ +@@ -0,0 +1,36 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9179,6 +9646,7 @@ diff -urN b/internal/lsp/protocol/BUILD.bazel c/internal/lsp/protocol/BUILD.baze + "//internal/event/export", + "//internal/event/label", + "//internal/jsonrpc2", ++ "//internal/jsonrpc2_v2", + "//internal/span", + "//internal/xcontext", + "@org_golang_x_xerrors//:go_default_library", @@ -9190,8 +9658,57 @@ diff -urN b/internal/lsp/protocol/BUILD.bazel c/internal/lsp/protocol/BUILD.baze + actual = ":protocol", + visibility = ["//:__subpackages__"], +) +diff -urN b/internal/lsp/regtest/BUILD.bazel c/internal/lsp/regtest/BUILD.bazel +--- b/internal/lsp/regtest/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ c/internal/lsp/regtest/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,45 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") ++ ++go_library( ++ name = "regtest", ++ srcs = [ ++ "doc.go", ++ "env.go", ++ "expectation.go", ++ "regtest.go", ++ "runner.go", ++ "wrappers.go", ++ ], ++ importpath = "golang.org/x/tools/internal/lsp/regtest", ++ visibility = ["//:__subpackages__"], ++ deps = [ ++ "//internal/jsonrpc2", ++ "//internal/jsonrpc2/servertest", ++ "//internal/lsp", ++ "//internal/lsp/cache", ++ "//internal/lsp/cmd", ++ "//internal/lsp/command", ++ "//internal/lsp/debug", ++ "//internal/lsp/fake", ++ "//internal/lsp/lsprpc", ++ "//internal/lsp/protocol", ++ "//internal/lsp/source", ++ "//internal/testenv", ++ "//internal/tool", ++ "@org_golang_x_sys//execabs:go_default_library", ++ "@org_golang_x_xerrors//:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":regtest", ++ visibility = ["//:__subpackages__"], ++) ++ ++go_test( ++ name = "regtest_test", ++ srcs = ["env_test.go"], ++ embed = [":regtest"], ++ deps = ["//internal/lsp/protocol"], ++) diff -urN b/internal/lsp/snippet/BUILD.bazel c/internal/lsp/snippet/BUILD.bazel ---- b/internal/lsp/snippet/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/snippet/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/snippet/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -9215,21 +9732,22 @@ diff -urN b/internal/lsp/snippet/BUILD.bazel c/internal/lsp/snippet/BUILD.bazel + embed = [":snippet"], +) diff -urN b/internal/lsp/source/BUILD.bazel c/internal/lsp/source/BUILD.bazel ---- b/internal/lsp/source/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/source/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/source/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,122 @@ +@@ -0,0 +1,129 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( + name = "source", + srcs = [ ++ "add_import.go", + "api_json.go", + "call_hierarchy.go", + "code_lens.go", -+ "command.go", + "comment.go", + "diagnostics.go", + "extract.go", ++ "fix.go", + "folding_range.go", + "format.go", + "gc_annotations.go", @@ -9237,6 +9755,7 @@ diff -urN b/internal/lsp/source/BUILD.bazel c/internal/lsp/source/BUILD.bazel + "hover.go", + "identifier.go", + "implementation.go", ++ "known_packages.go", + "options.go", + "references.go", + "rename.go", @@ -9269,6 +9788,7 @@ diff -urN b/internal/lsp/source/BUILD.bazel c/internal/lsp/source/BUILD.bazel + "//go/analysis/passes/loopclosure", + "//go/analysis/passes/lostcancel", + "//go/analysis/passes/nilfunc", ++ "//go/analysis/passes/nilness", + "//go/analysis/passes/printf", + "//go/analysis/passes/shadow", + "//go/analysis/passes/shift", @@ -9282,6 +9802,7 @@ diff -urN b/internal/lsp/source/BUILD.bazel c/internal/lsp/source/BUILD.bazel + "//go/analysis/passes/unreachable", + "//go/analysis/passes/unsafeptr", + "//go/analysis/passes/unusedresult", ++ "//go/analysis/passes/unusedwrite", + "//go/ast/astutil", + "//go/types/typeutil", + "//internal/analysisinternal", @@ -9297,12 +9818,15 @@ diff -urN b/internal/lsp/source/BUILD.bazel c/internal/lsp/source/BUILD.bazel + "//internal/lsp/analysis/simplifyslice", + "//internal/lsp/analysis/undeclaredname", + "//internal/lsp/analysis/unusedparams", ++ "//internal/lsp/command", + "//internal/lsp/debug/tag", + "//internal/lsp/diff", + "//internal/lsp/diff/myers", + "//internal/lsp/fuzzy", ++ "//internal/lsp/progress", + "//internal/lsp/protocol", + "//internal/span", ++ "//internal/typeparams", + "//refactor/satisfy", + "@org_golang_x_mod//modfile:go_default_library", + "@org_golang_x_mod//module:go_default_library", @@ -9341,9 +9865,9 @@ diff -urN b/internal/lsp/source/BUILD.bazel c/internal/lsp/source/BUILD.bazel + ], +) diff -urN b/internal/lsp/source/completion/BUILD.bazel c/internal/lsp/source/completion/BUILD.bazel ---- b/internal/lsp/source/completion/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/source/completion/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/source/completion/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,50 @@ +@@ -0,0 +1,53 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( @@ -9357,6 +9881,7 @@ diff -urN b/internal/lsp/source/completion/BUILD.bazel c/internal/lsp/source/com + "labels.go", + "literal.go", + "package.go", ++ "postfix_snippets.go", + "printf.go", + "snippet.go", + "statements.go", @@ -9368,6 +9893,7 @@ diff -urN b/internal/lsp/source/completion/BUILD.bazel c/internal/lsp/source/com + "//go/ast/astutil", + "//internal/event", + "//internal/imports", ++ "//internal/lsp/debug", + "//internal/lsp/debug/tag", + "//internal/lsp/diff", + "//internal/lsp/fuzzy", @@ -9389,13 +9915,52 @@ diff -urN b/internal/lsp/source/completion/BUILD.bazel c/internal/lsp/source/com + name = "completion_test", + srcs = [ + "deep_completion_test.go", ++ "package_test.go", + "printf_test.go", + "util_test.go", + ], + embed = [":completion"], +) +diff -urN b/internal/lsp/template/BUILD.bazel c/internal/lsp/template/BUILD.bazel +--- b/internal/lsp/template/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ c/internal/lsp/template/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,34 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") ++ ++go_library( ++ name = "template", ++ srcs = [ ++ "completion.go", ++ "highlight.go", ++ "implementations.go", ++ "parse.go", ++ "symbols.go", ++ ], ++ importpath = "golang.org/x/tools/internal/lsp/template", ++ visibility = ["//:__subpackages__"], ++ deps = [ ++ "//internal/event", ++ "//internal/lsp/protocol", ++ "//internal/lsp/source", ++ "//internal/lsp/source/completion", ++ "//internal/span", ++ "@org_golang_x_xerrors//:go_default_library", ++ ], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":template", ++ visibility = ["//:__subpackages__"], ++) ++ ++go_test( ++ name = "template_test", ++ srcs = ["parse_test.go"], ++ embed = [":template"], ++) diff -urN b/internal/lsp/testdata/%percent/BUILD.bazel c/internal/lsp/testdata/%percent/BUILD.bazel ---- b/internal/lsp/testdata/%percent/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/%percent/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/%percent/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9413,7 +9978,7 @@ diff -urN b/internal/lsp/testdata/%percent/BUILD.bazel c/internal/lsp/testdata/% + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/address/BUILD.bazel c/internal/lsp/testdata/address/BUILD.bazel ---- b/internal/lsp/testdata/address/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/address/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/address/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9431,7 +9996,7 @@ diff -urN b/internal/lsp/testdata/address/BUILD.bazel c/internal/lsp/testdata/ad + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/analyzer/BUILD.bazel c/internal/lsp/testdata/analyzer/BUILD.bazel ---- b/internal/lsp/testdata/analyzer/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/analyzer/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/analyzer/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,6 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_test") @@ -9441,7 +10006,7 @@ diff -urN b/internal/lsp/testdata/analyzer/BUILD.bazel c/internal/lsp/testdata/a + srcs = ["bad_test.go"], +) diff -urN b/internal/lsp/testdata/append/BUILD.bazel c/internal/lsp/testdata/append/BUILD.bazel ---- b/internal/lsp/testdata/append/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/append/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/append/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9459,7 +10024,7 @@ diff -urN b/internal/lsp/testdata/append/BUILD.bazel c/internal/lsp/testdata/app + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/assign/internal/secret/BUILD.bazel c/internal/lsp/testdata/assign/internal/secret/BUILD.bazel ---- b/internal/lsp/testdata/assign/internal/secret/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/assign/internal/secret/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/assign/internal/secret/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9477,7 +10042,7 @@ diff -urN b/internal/lsp/testdata/assign/internal/secret/BUILD.bazel c/internal/ + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/bad/BUILD.bazel c/internal/lsp/testdata/bad/BUILD.bazel ---- b/internal/lsp/testdata/bad/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/bad/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/bad/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9498,7 +10063,7 @@ diff -urN b/internal/lsp/testdata/bad/BUILD.bazel c/internal/lsp/testdata/bad/BU + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/basiclit/BUILD.bazel c/internal/lsp/testdata/basiclit/BUILD.bazel ---- b/internal/lsp/testdata/basiclit/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/basiclit/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/basiclit/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9516,7 +10081,7 @@ diff -urN b/internal/lsp/testdata/basiclit/BUILD.bazel c/internal/lsp/testdata/b + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/builtins/BUILD.bazel c/internal/lsp/testdata/builtins/BUILD.bazel ---- b/internal/lsp/testdata/builtins/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/builtins/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/builtins/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9539,7 +10104,7 @@ diff -urN b/internal/lsp/testdata/builtins/BUILD.bazel c/internal/lsp/testdata/b + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/callhierarchy/BUILD.bazel c/internal/lsp/testdata/callhierarchy/BUILD.bazel ---- b/internal/lsp/testdata/callhierarchy/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/callhierarchy/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/callhierarchy/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9557,7 +10122,7 @@ diff -urN b/internal/lsp/testdata/callhierarchy/BUILD.bazel c/internal/lsp/testd + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/callhierarchy/incoming/BUILD.bazel c/internal/lsp/testdata/callhierarchy/incoming/BUILD.bazel ---- b/internal/lsp/testdata/callhierarchy/incoming/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/callhierarchy/incoming/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/callhierarchy/incoming/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9575,7 +10140,7 @@ diff -urN b/internal/lsp/testdata/callhierarchy/incoming/BUILD.bazel c/internal/ + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/callhierarchy/outgoing/BUILD.bazel c/internal/lsp/testdata/callhierarchy/outgoing/BUILD.bazel ---- b/internal/lsp/testdata/callhierarchy/outgoing/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/callhierarchy/outgoing/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/callhierarchy/outgoing/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9593,7 +10158,7 @@ diff -urN b/internal/lsp/testdata/callhierarchy/outgoing/BUILD.bazel c/internal/ + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/casesensitive/BUILD.bazel c/internal/lsp/testdata/casesensitive/BUILD.bazel ---- b/internal/lsp/testdata/casesensitive/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/casesensitive/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/casesensitive/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9611,7 +10176,7 @@ diff -urN b/internal/lsp/testdata/casesensitive/BUILD.bazel c/internal/lsp/testd + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/cgo/BUILD.bazel c/internal/lsp/testdata/cgo/BUILD.bazel ---- b/internal/lsp/testdata/cgo/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/cgo/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/cgo/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9633,7 +10198,7 @@ diff -urN b/internal/lsp/testdata/cgo/BUILD.bazel c/internal/lsp/testdata/cgo/BU + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/channel/BUILD.bazel c/internal/lsp/testdata/channel/BUILD.bazel ---- b/internal/lsp/testdata/channel/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/channel/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/channel/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9651,7 +10216,7 @@ diff -urN b/internal/lsp/testdata/channel/BUILD.bazel c/internal/lsp/testdata/ch + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/codelens/BUILD.bazel c/internal/lsp/testdata/codelens/BUILD.bazel ---- b/internal/lsp/testdata/codelens/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/codelens/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/codelens/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,6 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_test") @@ -9661,7 +10226,7 @@ diff -urN b/internal/lsp/testdata/codelens/BUILD.bazel c/internal/lsp/testdata/c + srcs = ["codelens_test.go"], +) diff -urN b/internal/lsp/testdata/constant/BUILD.bazel c/internal/lsp/testdata/constant/BUILD.bazel ---- b/internal/lsp/testdata/constant/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/constant/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/constant/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9679,7 +10244,7 @@ diff -urN b/internal/lsp/testdata/constant/BUILD.bazel c/internal/lsp/testdata/c + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/danglingstmt/BUILD.bazel c/internal/lsp/testdata/danglingstmt/BUILD.bazel ---- b/internal/lsp/testdata/danglingstmt/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/danglingstmt/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/danglingstmt/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,28 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9711,7 +10276,7 @@ diff -urN b/internal/lsp/testdata/danglingstmt/BUILD.bazel c/internal/lsp/testda + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/deep/BUILD.bazel c/internal/lsp/testdata/deep/BUILD.bazel ---- b/internal/lsp/testdata/deep/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/deep/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/deep/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9729,7 +10294,7 @@ diff -urN b/internal/lsp/testdata/deep/BUILD.bazel c/internal/lsp/testdata/deep/ + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/errors/BUILD.bazel c/internal/lsp/testdata/errors/BUILD.bazel ---- b/internal/lsp/testdata/errors/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/errors/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/errors/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9747,9 +10312,9 @@ diff -urN b/internal/lsp/testdata/errors/BUILD.bazel c/internal/lsp/testdata/err + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/extract/extract_function/BUILD.bazel c/internal/lsp/testdata/extract/extract_function/BUILD.bazel ---- b/internal/lsp/testdata/extract/extract_function/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/extract/extract_function/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/extract/extract_function/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,26 @@ +@@ -0,0 +1,32 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -9757,11 +10322,17 @@ diff -urN b/internal/lsp/testdata/extract/extract_function/BUILD.bazel c/interna + srcs = [ + "extract_args_returns.go", + "extract_basic.go", ++ "extract_basic_comment.go", ++ "extract_issue_44813.go", + "extract_redefine.go", + "extract_return_basic.go", ++ "extract_return_basic_nonnested.go", + "extract_return_complex.go", ++ "extract_return_complex_nonnested.go", + "extract_return_func_lit.go", ++ "extract_return_func_lit_nonnested.go", + "extract_return_init.go", ++ "extract_return_init_nonnested.go", + "extract_scope.go", + "extract_smart_initialization.go", + "extract_smart_return.go", @@ -9777,7 +10348,7 @@ diff -urN b/internal/lsp/testdata/extract/extract_function/BUILD.bazel c/interna + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/extract/extract_variable/BUILD.bazel c/internal/lsp/testdata/extract/extract_variable/BUILD.bazel ---- b/internal/lsp/testdata/extract/extract_variable/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/extract/extract_variable/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/extract/extract_variable/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9799,7 +10370,7 @@ diff -urN b/internal/lsp/testdata/extract/extract_variable/BUILD.bazel c/interna + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/fieldlist/BUILD.bazel c/internal/lsp/testdata/fieldlist/BUILD.bazel ---- b/internal/lsp/testdata/fieldlist/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/fieldlist/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/fieldlist/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9817,7 +10388,7 @@ diff -urN b/internal/lsp/testdata/fieldlist/BUILD.bazel c/internal/lsp/testdata/ + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/fillstruct/BUILD.bazel c/internal/lsp/testdata/fillstruct/BUILD.bazel ---- b/internal/lsp/testdata/fillstruct/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/fillstruct/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/fillstruct/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9846,7 +10417,7 @@ diff -urN b/internal/lsp/testdata/fillstruct/BUILD.bazel c/internal/lsp/testdata + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/fillstruct/data/BUILD.bazel c/internal/lsp/testdata/fillstruct/data/BUILD.bazel ---- b/internal/lsp/testdata/fillstruct/data/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/fillstruct/data/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/fillstruct/data/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9864,7 +10435,7 @@ diff -urN b/internal/lsp/testdata/fillstruct/data/BUILD.bazel c/internal/lsp/tes + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/folding/BUILD.bazel c/internal/lsp/testdata/folding/BUILD.bazel ---- b/internal/lsp/testdata/folding/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/folding/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/folding/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9882,7 +10453,7 @@ diff -urN b/internal/lsp/testdata/folding/BUILD.bazel c/internal/lsp/testdata/fo + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/foo/BUILD.bazel c/internal/lsp/testdata/foo/BUILD.bazel ---- b/internal/lsp/testdata/foo/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/foo/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/foo/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9900,7 +10471,7 @@ diff -urN b/internal/lsp/testdata/foo/BUILD.bazel c/internal/lsp/testdata/foo/BU + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/format/BUILD.bazel c/internal/lsp/testdata/format/BUILD.bazel ---- b/internal/lsp/testdata/format/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/format/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/format/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9918,7 +10489,7 @@ diff -urN b/internal/lsp/testdata/format/BUILD.bazel c/internal/lsp/testdata/for + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/funcsig/BUILD.bazel c/internal/lsp/testdata/funcsig/BUILD.bazel ---- b/internal/lsp/testdata/funcsig/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/funcsig/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/funcsig/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9936,7 +10507,7 @@ diff -urN b/internal/lsp/testdata/funcsig/BUILD.bazel c/internal/lsp/testdata/fu + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/funcvalue/BUILD.bazel c/internal/lsp/testdata/funcvalue/BUILD.bazel ---- b/internal/lsp/testdata/funcvalue/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/funcvalue/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/funcvalue/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9954,7 +10525,7 @@ diff -urN b/internal/lsp/testdata/funcvalue/BUILD.bazel c/internal/lsp/testdata/ + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/fuzzymatch/BUILD.bazel c/internal/lsp/testdata/fuzzymatch/BUILD.bazel ---- b/internal/lsp/testdata/fuzzymatch/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/fuzzymatch/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/fuzzymatch/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9972,7 +10543,7 @@ diff -urN b/internal/lsp/testdata/fuzzymatch/BUILD.bazel c/internal/lsp/testdata + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/generate/BUILD.bazel c/internal/lsp/testdata/generate/BUILD.bazel ---- b/internal/lsp/testdata/generate/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/generate/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/generate/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -9990,7 +10561,7 @@ diff -urN b/internal/lsp/testdata/generate/BUILD.bazel c/internal/lsp/testdata/g + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/generated/BUILD.bazel c/internal/lsp/testdata/generated/BUILD.bazel ---- b/internal/lsp/testdata/generated/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/generated/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/generated/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10011,9 +10582,9 @@ diff -urN b/internal/lsp/testdata/generated/BUILD.bazel c/internal/lsp/testdata/ + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/godef/a/BUILD.bazel c/internal/lsp/testdata/godef/a/BUILD.bazel ---- b/internal/lsp/testdata/godef/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/godef/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/godef/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,28 @@ +@@ -0,0 +1,30 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( @@ -10022,6 +10593,8 @@ diff -urN b/internal/lsp/testdata/godef/a/BUILD.bazel c/internal/lsp/testdata/go + "a.go", + "d.go", + "f.go", ++ "g.go", ++ "h.go", + "random.go", + ], + importpath = "golang.org/x/tools/internal/lsp/testdata/godef/a", @@ -10043,9 +10616,9 @@ diff -urN b/internal/lsp/testdata/godef/a/BUILD.bazel c/internal/lsp/testdata/go + embed = [":a"], +) diff -urN b/internal/lsp/testdata/godef/b/BUILD.bazel c/internal/lsp/testdata/godef/b/BUILD.bazel ---- b/internal/lsp/testdata/godef/b/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/godef/b/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/godef/b/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,18 @@ +@@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -10054,6 +10627,7 @@ diff -urN b/internal/lsp/testdata/godef/b/BUILD.bazel c/internal/lsp/testdata/go + "b.go", + "c.go", + "e.go", ++ "h.go", + ], + importpath = "golang.org/x/tools/internal/lsp/testdata/godef/b", + visibility = ["//:__subpackages__"], @@ -10064,8 +10638,26 @@ diff -urN b/internal/lsp/testdata/godef/b/BUILD.bazel c/internal/lsp/testdata/go + actual = ":b", + visibility = ["//:__subpackages__"], +) +diff -urN b/internal/lsp/testdata/godef/infer_generics/BUILD.bazel c/internal/lsp/testdata/godef/infer_generics/BUILD.bazel +--- b/internal/lsp/testdata/godef/infer_generics/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ c/internal/lsp/testdata/godef/infer_generics/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,14 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "infer_generics", ++ srcs = ["inferred.go"], ++ importpath = "golang.org/x/tools/internal/lsp/testdata/godef/infer_generics", ++ visibility = ["//:__subpackages__"], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":infer_generics", ++ visibility = ["//:__subpackages__"], ++) diff -urN b/internal/lsp/testdata/good/BUILD.bazel c/internal/lsp/testdata/good/BUILD.bazel ---- b/internal/lsp/testdata/good/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/good/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/good/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10086,7 +10678,7 @@ diff -urN b/internal/lsp/testdata/good/BUILD.bazel c/internal/lsp/testdata/good/ + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/highlights/BUILD.bazel c/internal/lsp/testdata/highlights/BUILD.bazel ---- b/internal/lsp/testdata/highlights/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/highlights/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/highlights/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10104,7 +10696,7 @@ diff -urN b/internal/lsp/testdata/highlights/BUILD.bazel c/internal/lsp/testdata + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/implementation/BUILD.bazel c/internal/lsp/testdata/implementation/BUILD.bazel ---- b/internal/lsp/testdata/implementation/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/implementation/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/implementation/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10122,7 +10714,7 @@ diff -urN b/internal/lsp/testdata/implementation/BUILD.bazel c/internal/lsp/test + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/implementation/other/BUILD.bazel c/internal/lsp/testdata/implementation/other/BUILD.bazel ---- b/internal/lsp/testdata/implementation/other/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/implementation/other/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/implementation/other/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -10146,7 +10738,7 @@ diff -urN b/internal/lsp/testdata/implementation/other/BUILD.bazel c/internal/ls + embed = [":other"], +) diff -urN b/internal/lsp/testdata/index/BUILD.bazel c/internal/lsp/testdata/index/BUILD.bazel ---- b/internal/lsp/testdata/index/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/index/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/index/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10164,7 +10756,7 @@ diff -urN b/internal/lsp/testdata/index/BUILD.bazel c/internal/lsp/testdata/inde + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/interfacerank/BUILD.bazel c/internal/lsp/testdata/interfacerank/BUILD.bazel ---- b/internal/lsp/testdata/interfacerank/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/interfacerank/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/interfacerank/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10182,7 +10774,7 @@ diff -urN b/internal/lsp/testdata/interfacerank/BUILD.bazel c/internal/lsp/testd + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/keywords/BUILD.bazel c/internal/lsp/testdata/keywords/BUILD.bazel ---- b/internal/lsp/testdata/keywords/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/keywords/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/keywords/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10204,7 +10796,7 @@ diff -urN b/internal/lsp/testdata/keywords/BUILD.bazel c/internal/lsp/testdata/k + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/labels/BUILD.bazel c/internal/lsp/testdata/labels/BUILD.bazel ---- b/internal/lsp/testdata/labels/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/labels/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/labels/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10222,7 +10814,7 @@ diff -urN b/internal/lsp/testdata/labels/BUILD.bazel c/internal/lsp/testdata/lab + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/links/BUILD.bazel c/internal/lsp/testdata/links/BUILD.bazel ---- b/internal/lsp/testdata/links/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/links/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/links/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10240,7 +10832,7 @@ diff -urN b/internal/lsp/testdata/links/BUILD.bazel c/internal/lsp/testdata/link + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/nodisk/BUILD.bazel c/internal/lsp/testdata/nodisk/BUILD.bazel ---- b/internal/lsp/testdata/nodisk/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/nodisk/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/nodisk/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10258,7 +10850,7 @@ diff -urN b/internal/lsp/testdata/nodisk/BUILD.bazel c/internal/lsp/testdata/nod + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/printf/BUILD.bazel c/internal/lsp/testdata/printf/BUILD.bazel ---- b/internal/lsp/testdata/printf/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/printf/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/printf/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10276,7 +10868,7 @@ diff -urN b/internal/lsp/testdata/printf/BUILD.bazel c/internal/lsp/testdata/pri + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/rank/BUILD.bazel c/internal/lsp/testdata/rank/BUILD.bazel ---- b/internal/lsp/testdata/rank/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/rank/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/rank/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10294,7 +10886,7 @@ diff -urN b/internal/lsp/testdata/rank/BUILD.bazel c/internal/lsp/testdata/rank/ + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/rank/struct/BUILD.bazel c/internal/lsp/testdata/rank/struct/BUILD.bazel ---- b/internal/lsp/testdata/rank/struct/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/rank/struct/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/rank/struct/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10312,7 +10904,7 @@ diff -urN b/internal/lsp/testdata/rank/struct/BUILD.bazel c/internal/lsp/testdat + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/references/BUILD.bazel c/internal/lsp/testdata/references/BUILD.bazel ---- b/internal/lsp/testdata/references/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/references/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/references/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,6 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_test") @@ -10322,7 +10914,7 @@ diff -urN b/internal/lsp/testdata/references/BUILD.bazel c/internal/lsp/testdata + srcs = ["refs_test.go"], +) diff -urN b/internal/lsp/testdata/references/another/BUILD.bazel c/internal/lsp/testdata/references/another/BUILD.bazel ---- b/internal/lsp/testdata/references/another/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/references/another/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/references/another/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10340,7 +10932,7 @@ diff -urN b/internal/lsp/testdata/references/another/BUILD.bazel c/internal/lsp/ + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/references/interfaces/BUILD.bazel c/internal/lsp/testdata/references/interfaces/BUILD.bazel ---- b/internal/lsp/testdata/references/interfaces/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/references/interfaces/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/references/interfaces/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10358,7 +10950,7 @@ diff -urN b/internal/lsp/testdata/references/interfaces/BUILD.bazel c/internal/l + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/references/other/BUILD.bazel c/internal/lsp/testdata/references/other/BUILD.bazel ---- b/internal/lsp/testdata/references/other/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/references/other/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/references/other/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10376,7 +10968,7 @@ diff -urN b/internal/lsp/testdata/references/other/BUILD.bazel c/internal/lsp/te + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/rename/b/BUILD.bazel c/internal/lsp/testdata/rename/b/BUILD.bazel ---- b/internal/lsp/testdata/rename/b/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/rename/b/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/rename/b/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10394,7 +10986,7 @@ diff -urN b/internal/lsp/testdata/rename/b/BUILD.bazel c/internal/lsp/testdata/r + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/rename/c/BUILD.bazel c/internal/lsp/testdata/rename/c/BUILD.bazel ---- b/internal/lsp/testdata/rename/c/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/rename/c/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/rename/c/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10415,7 +11007,7 @@ diff -urN b/internal/lsp/testdata/rename/c/BUILD.bazel c/internal/lsp/testdata/r + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/rename/crosspkg/BUILD.bazel c/internal/lsp/testdata/rename/crosspkg/BUILD.bazel ---- b/internal/lsp/testdata/rename/crosspkg/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/rename/crosspkg/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/rename/crosspkg/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10433,7 +11025,7 @@ diff -urN b/internal/lsp/testdata/rename/crosspkg/BUILD.bazel c/internal/lsp/tes + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/rename/crosspkg/another/BUILD.bazel c/internal/lsp/testdata/rename/crosspkg/another/BUILD.bazel ---- b/internal/lsp/testdata/rename/crosspkg/another/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/rename/crosspkg/another/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/rename/crosspkg/another/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10451,7 +11043,7 @@ diff -urN b/internal/lsp/testdata/rename/crosspkg/another/BUILD.bazel c/internal + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/rename/crosspkg/other/BUILD.bazel c/internal/lsp/testdata/rename/crosspkg/other/BUILD.bazel ---- b/internal/lsp/testdata/rename/crosspkg/other/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/rename/crosspkg/other/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/rename/crosspkg/other/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10469,7 +11061,7 @@ diff -urN b/internal/lsp/testdata/rename/crosspkg/other/BUILD.bazel c/internal/l + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/rename/testy/BUILD.bazel c/internal/lsp/testdata/rename/testy/BUILD.bazel ---- b/internal/lsp/testdata/rename/testy/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/rename/testy/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/rename/testy/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -10493,7 +11085,7 @@ diff -urN b/internal/lsp/testdata/rename/testy/BUILD.bazel c/internal/lsp/testda + embed = [":testy"], +) diff -urN b/internal/lsp/testdata/semantic/BUILD.bazel c/internal/lsp/testdata/semantic/BUILD.bazel ---- b/internal/lsp/testdata/semantic/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/semantic/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/semantic/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -10520,7 +11112,7 @@ diff -urN b/internal/lsp/testdata/semantic/BUILD.bazel c/internal/lsp/testdata/s + embed = [":semantic"], +) diff -urN b/internal/lsp/testdata/signature/BUILD.bazel c/internal/lsp/testdata/signature/BUILD.bazel ---- b/internal/lsp/testdata/signature/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/signature/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/signature/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,19 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -10543,14 +11135,17 @@ diff -urN b/internal/lsp/testdata/signature/BUILD.bazel c/internal/lsp/testdata/ + srcs = ["signature_test.go"], +) diff -urN b/internal/lsp/testdata/snippets/BUILD.bazel c/internal/lsp/testdata/snippets/BUILD.bazel ---- b/internal/lsp/testdata/snippets/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/snippets/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/snippets/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,14 @@ +@@ -0,0 +1,17 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "snippets", -+ srcs = ["literal.go"], ++ srcs = [ ++ "literal.go", ++ "postfix.go", ++ ], + importpath = "golang.org/x/tools/internal/lsp/testdata/snippets", + visibility = ["//:__subpackages__"], +) @@ -10561,10 +11156,10 @@ diff -urN b/internal/lsp/testdata/snippets/BUILD.bazel c/internal/lsp/testdata/s + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/statements/BUILD.bazel c/internal/lsp/testdata/statements/BUILD.bazel ---- b/internal/lsp/testdata/statements/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/statements/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/statements/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,18 @@ -+load("@io_bazel_rules_go//go:def.bzl", "go_library") +@@ -0,0 +1,24 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( + name = "statements", @@ -10582,8 +11177,14 @@ diff -urN b/internal/lsp/testdata/statements/BUILD.bazel c/internal/lsp/testdata + actual = ":statements", + visibility = ["//:__subpackages__"], +) ++ ++go_test( ++ name = "statements_test", ++ srcs = ["if_err_check_test.go"], ++ embed = [":statements"], ++) diff -urN b/internal/lsp/testdata/suggestedfix/BUILD.bazel c/internal/lsp/testdata/suggestedfix/BUILD.bazel ---- b/internal/lsp/testdata/suggestedfix/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/suggestedfix/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/suggestedfix/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10601,7 +11202,7 @@ diff -urN b/internal/lsp/testdata/suggestedfix/BUILD.bazel c/internal/lsp/testda + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/symbols/BUILD.bazel c/internal/lsp/testdata/symbols/BUILD.bazel ---- b/internal/lsp/testdata/symbols/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/symbols/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/symbols/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -10619,7 +11220,7 @@ diff -urN b/internal/lsp/testdata/symbols/BUILD.bazel c/internal/lsp/testdata/sy + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/testy/BUILD.bazel c/internal/lsp/testdata/testy/BUILD.bazel ---- b/internal/lsp/testdata/testy/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/testy/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/testy/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -10642,8 +11243,26 @@ diff -urN b/internal/lsp/testdata/testy/BUILD.bazel c/internal/lsp/testdata/test + srcs = ["testy_test.go"], + embed = [":testy"], +) +diff -urN b/internal/lsp/testdata/typdef/BUILD.bazel c/internal/lsp/testdata/typdef/BUILD.bazel +--- b/internal/lsp/testdata/typdef/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ c/internal/lsp/testdata/typdef/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,14 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "typdef", ++ srcs = ["typdef.go"], ++ importpath = "golang.org/x/tools/internal/lsp/testdata/typdef", ++ visibility = ["//:__subpackages__"], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":typdef", ++ visibility = ["//:__subpackages__"], ++) diff -urN b/internal/lsp/testdata/typeassert/BUILD.bazel c/internal/lsp/testdata/typeassert/BUILD.bazel ---- b/internal/lsp/testdata/typeassert/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/typeassert/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/typeassert/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10661,7 +11280,7 @@ diff -urN b/internal/lsp/testdata/typeassert/BUILD.bazel c/internal/lsp/testdata + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/typeerrors/BUILD.bazel c/internal/lsp/testdata/typeerrors/BUILD.bazel ---- b/internal/lsp/testdata/typeerrors/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/typeerrors/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/typeerrors/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10678,8 +11297,26 @@ diff -urN b/internal/lsp/testdata/typeerrors/BUILD.bazel c/internal/lsp/testdata + actual = ":typeerrors", + visibility = ["//:__subpackages__"], +) +diff -urN b/internal/lsp/testdata/typemods/BUILD.bazel c/internal/lsp/testdata/typemods/BUILD.bazel +--- b/internal/lsp/testdata/typemods/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ c/internal/lsp/testdata/typemods/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,14 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library") ++ ++go_library( ++ name = "typemods", ++ srcs = ["type_mods.go"], ++ importpath = "golang.org/x/tools/internal/lsp/testdata/typemods", ++ visibility = ["//:__subpackages__"], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":typemods", ++ visibility = ["//:__subpackages__"], ++) diff -urN b/internal/lsp/testdata/types/BUILD.bazel c/internal/lsp/testdata/types/BUILD.bazel ---- b/internal/lsp/testdata/types/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/types/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/types/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10697,7 +11334,7 @@ diff -urN b/internal/lsp/testdata/types/BUILD.bazel c/internal/lsp/testdata/type + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/undeclared/BUILD.bazel c/internal/lsp/testdata/undeclared/BUILD.bazel ---- b/internal/lsp/testdata/undeclared/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/undeclared/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/undeclared/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10715,7 +11352,7 @@ diff -urN b/internal/lsp/testdata/undeclared/BUILD.bazel c/internal/lsp/testdata + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/unimported/BUILD.bazel c/internal/lsp/testdata/unimported/BUILD.bazel ---- b/internal/lsp/testdata/unimported/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/unimported/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/unimported/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -10742,7 +11379,7 @@ diff -urN b/internal/lsp/testdata/unimported/BUILD.bazel c/internal/lsp/testdata + embed = [":unimported"], +) diff -urN b/internal/lsp/testdata/unsafe/BUILD.bazel c/internal/lsp/testdata/unsafe/BUILD.bazel ---- b/internal/lsp/testdata/unsafe/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/unsafe/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/unsafe/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10760,7 +11397,7 @@ diff -urN b/internal/lsp/testdata/unsafe/BUILD.bazel c/internal/lsp/testdata/uns + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/variadic/BUILD.bazel c/internal/lsp/testdata/variadic/BUILD.bazel ---- b/internal/lsp/testdata/variadic/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/variadic/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/variadic/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10778,14 +11415,15 @@ diff -urN b/internal/lsp/testdata/variadic/BUILD.bazel c/internal/lsp/testdata/v + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/workspacesymbol/BUILD.bazel c/internal/lsp/testdata/workspacesymbol/BUILD.bazel ---- b/internal/lsp/testdata/workspacesymbol/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/workspacesymbol/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/workspacesymbol/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,17 @@ +@@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") + +go_library( + name = "workspacesymbol_lib", + srcs = [ ++ "issue44806.go", + "main.go", + "query.go", + ], @@ -10799,7 +11437,7 @@ diff -urN b/internal/lsp/testdata/workspacesymbol/BUILD.bazel c/internal/lsp/tes + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/workspacesymbol/a/BUILD.bazel c/internal/lsp/testdata/workspacesymbol/a/BUILD.bazel ---- b/internal/lsp/testdata/workspacesymbol/a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/workspacesymbol/a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/workspacesymbol/a/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,23 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -10826,7 +11464,7 @@ diff -urN b/internal/lsp/testdata/workspacesymbol/a/BUILD.bazel c/internal/lsp/t + embed = [":a"], +) diff -urN b/internal/lsp/testdata/workspacesymbol/b/BUILD.bazel c/internal/lsp/testdata/workspacesymbol/b/BUILD.bazel ---- b/internal/lsp/testdata/workspacesymbol/b/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/workspacesymbol/b/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/workspacesymbol/b/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10844,7 +11482,7 @@ diff -urN b/internal/lsp/testdata/workspacesymbol/b/BUILD.bazel c/internal/lsp/t + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/testdata/workspacesymbol/p/BUILD.bazel c/internal/lsp/testdata/workspacesymbol/p/BUILD.bazel ---- b/internal/lsp/testdata/workspacesymbol/p/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/testdata/workspacesymbol/p/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/testdata/workspacesymbol/p/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10862,9 +11500,9 @@ diff -urN b/internal/lsp/testdata/workspacesymbol/p/BUILD.bazel c/internal/lsp/t + visibility = ["//:__subpackages__"], +) diff -urN b/internal/lsp/tests/BUILD.bazel c/internal/lsp/tests/BUILD.bazel ---- b/internal/lsp/tests/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/lsp/tests/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/lsp/tests/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,31 @@ +@@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -10880,6 +11518,7 @@ diff -urN b/internal/lsp/tests/BUILD.bazel c/internal/lsp/tests/BUILD.bazel + "//go/expect", + "//go/packages", + "//go/packages/packagestest", ++ "//internal/lsp/command", + "//internal/lsp/diff", + "//internal/lsp/diff/myers", + "//internal/lsp/protocol", @@ -10887,6 +11526,7 @@ diff -urN b/internal/lsp/tests/BUILD.bazel c/internal/lsp/tests/BUILD.bazel + "//internal/lsp/source/completion", + "//internal/span", + "//internal/testenv", ++ "//internal/typeparams", + "//txtar", + ], +) @@ -10897,7 +11537,7 @@ diff -urN b/internal/lsp/tests/BUILD.bazel c/internal/lsp/tests/BUILD.bazel + visibility = ["//:__subpackages__"], +) diff -urN b/internal/memoize/BUILD.bazel c/internal/memoize/BUILD.bazel ---- b/internal/memoize/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/memoize/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/memoize/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -10922,7 +11562,7 @@ diff -urN b/internal/memoize/BUILD.bazel c/internal/memoize/BUILD.bazel + deps = [":memoize"], +) diff -urN b/internal/packagesinternal/BUILD.bazel c/internal/packagesinternal/BUILD.bazel ---- b/internal/packagesinternal/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/packagesinternal/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/packagesinternal/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -10941,7 +11581,7 @@ diff -urN b/internal/packagesinternal/BUILD.bazel c/internal/packagesinternal/BU + visibility = ["//:__subpackages__"], +) diff -urN b/internal/proxydir/BUILD.bazel c/internal/proxydir/BUILD.bazel ---- b/internal/proxydir/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/proxydir/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/proxydir/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -10966,7 +11606,7 @@ diff -urN b/internal/proxydir/BUILD.bazel c/internal/proxydir/BUILD.bazel + embed = [":proxydir"], +) diff -urN b/internal/span/BUILD.bazel c/internal/span/BUILD.bazel ---- b/internal/span/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/span/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/span/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,34 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -11004,7 +11644,7 @@ diff -urN b/internal/span/BUILD.bazel c/internal/span/BUILD.bazel + deps = [":span"], +) diff -urN b/internal/stack/BUILD.bazel c/internal/stack/BUILD.bazel ---- b/internal/stack/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/stack/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/stack/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,24 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -11032,7 +11672,7 @@ diff -urN b/internal/stack/BUILD.bazel c/internal/stack/BUILD.bazel + deps = [":stack"], +) diff -urN b/internal/stack/gostacks/BUILD.bazel c/internal/stack/gostacks/BUILD.bazel ---- b/internal/stack/gostacks/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/stack/gostacks/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/stack/gostacks/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") @@ -11051,7 +11691,7 @@ diff -urN b/internal/stack/gostacks/BUILD.bazel c/internal/stack/gostacks/BUILD. + visibility = ["//:__subpackages__"], +) diff -urN b/internal/stack/stacktest/BUILD.bazel c/internal/stack/stacktest/BUILD.bazel ---- b/internal/stack/stacktest/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/stack/stacktest/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/stack/stacktest/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,15 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -11070,7 +11710,7 @@ diff -urN b/internal/stack/stacktest/BUILD.bazel c/internal/stack/stacktest/BUIL + visibility = ["//:__subpackages__"], +) diff -urN b/internal/testenv/BUILD.bazel c/internal/testenv/BUILD.bazel ---- b/internal/testenv/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/testenv/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/testenv/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -11092,7 +11732,7 @@ diff -urN b/internal/testenv/BUILD.bazel c/internal/testenv/BUILD.bazel + visibility = ["//:__subpackages__"], +) diff -urN b/internal/tool/BUILD.bazel c/internal/tool/BUILD.bazel ---- b/internal/tool/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/tool/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/tool/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -11109,8 +11749,39 @@ diff -urN b/internal/tool/BUILD.bazel c/internal/tool/BUILD.bazel + actual = ":tool", + visibility = ["//:__subpackages__"], +) +diff -urN b/internal/typeparams/BUILD.bazel c/internal/typeparams/BUILD.bazel +--- b/internal/typeparams/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 ++++ c/internal/typeparams/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 +@@ -0,0 +1,27 @@ ++load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_tool_library") ++ ++go_library( ++ name = "typeparams", ++ srcs = [ ++ "doc.go", ++ "notypeparams.go", ++ ], ++ importpath = "golang.org/x/tools/internal/typeparams", ++ visibility = ["//:__subpackages__"], ++) ++ ++go_tool_library( ++ name = "go_tool_library", ++ srcs = [ ++ "doc.go", ++ "notypeparams.go", ++ ], ++ importpath = "golang.org/x/tools/internal/typeparams", ++ visibility = ["//:__subpackages__"], ++) ++ ++alias( ++ name = "go_default_library", ++ actual = ":typeparams", ++ visibility = ["//:__subpackages__"], ++) diff -urN b/internal/typesinternal/BUILD.bazel c/internal/typesinternal/BUILD.bazel ---- b/internal/typesinternal/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/typesinternal/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/typesinternal/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -11132,7 +11803,7 @@ diff -urN b/internal/typesinternal/BUILD.bazel c/internal/typesinternal/BUILD.ba + visibility = ["//:__subpackages__"], +) diff -urN b/internal/xcontext/BUILD.bazel c/internal/xcontext/BUILD.bazel ---- b/internal/xcontext/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/internal/xcontext/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/internal/xcontext/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -11150,9 +11821,9 @@ diff -urN b/internal/xcontext/BUILD.bazel c/internal/xcontext/BUILD.bazel + visibility = ["//:__subpackages__"], +) diff -urN b/playground/BUILD.bazel c/playground/BUILD.bazel ---- b/playground/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/playground/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/playground/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,15 @@ +@@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( @@ -11160,7 +11831,6 @@ diff -urN b/playground/BUILD.bazel c/playground/BUILD.bazel + srcs = ["playground.go"], + importpath = "golang.org/x/tools/playground", + visibility = ["//visibility:public"], -+ deps = ["//godoc/golangorgenv"], +) + +alias( @@ -11169,7 +11839,7 @@ diff -urN b/playground/BUILD.bazel c/playground/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/playground/socket/BUILD.bazel c/playground/socket/BUILD.bazel ---- b/playground/socket/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/playground/socket/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/playground/socket/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,25 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -11198,7 +11868,7 @@ diff -urN b/playground/socket/BUILD.bazel c/playground/socket/BUILD.bazel + embed = [":socket"], +) diff -urN b/present/BUILD.bazel c/present/BUILD.bazel ---- b/present/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/present/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/present/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,44 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -11246,7 +11916,7 @@ diff -urN b/present/BUILD.bazel c/present/BUILD.bazel + embed = [":present"], +) diff -urN b/refactor/eg/BUILD.bazel c/refactor/eg/BUILD.bazel ---- b/refactor/eg/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/refactor/eg/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/refactor/eg/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,93 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -11343,7 +12013,7 @@ diff -urN b/refactor/eg/BUILD.bazel c/refactor/eg/BUILD.bazel + }), +) diff -urN b/refactor/importgraph/BUILD.bazel c/refactor/importgraph/BUILD.bazel ---- b/refactor/importgraph/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/refactor/importgraph/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/refactor/importgraph/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,75 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -11422,7 +12092,7 @@ diff -urN b/refactor/importgraph/BUILD.bazel c/refactor/importgraph/BUILD.bazel + }), +) diff -urN b/refactor/rename/BUILD.bazel c/refactor/rename/BUILD.bazel ---- b/refactor/rename/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/refactor/rename/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/refactor/rename/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,42 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -11468,7 +12138,7 @@ diff -urN b/refactor/rename/BUILD.bazel c/refactor/rename/BUILD.bazel + ], +) diff -urN b/refactor/satisfy/BUILD.bazel c/refactor/satisfy/BUILD.bazel ---- b/refactor/satisfy/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/refactor/satisfy/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/refactor/satisfy/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") @@ -11490,7 +12160,7 @@ diff -urN b/refactor/satisfy/BUILD.bazel c/refactor/satisfy/BUILD.bazel + visibility = ["//visibility:public"], +) diff -urN b/txtar/BUILD.bazel c/txtar/BUILD.bazel ---- b/txtar/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- b/txtar/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ c/txtar/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,20 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") diff --git a/third_party/org_golang_x_xerrors-gazelle.patch b/third_party/org_golang_x_xerrors-gazelle.patch index c728311fda..b7867ce4da 100644 --- a/third_party/org_golang_x_xerrors-gazelle.patch +++ b/third_party/org_golang_x_xerrors-gazelle.patch @@ -1,5 +1,5 @@ diff -urN a/BUILD.bazel b/BUILD.bazel ---- a/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,40 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") @@ -43,7 +43,7 @@ diff -urN a/BUILD.bazel b/BUILD.bazel + deps = ["//internal"], +) diff -urN a/internal/BUILD.bazel b/internal/BUILD.bazel ---- a/internal/BUILD.bazel 1969-12-31 19:00:00.000000000 -0500 +--- a/internal/BUILD.bazel 1969-12-31 16:00:00.000000000 -0800 +++ b/internal/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 @@ -0,0 +1,14 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library")