Synchronize new proto/yaml changes.

PiperOrigin-RevId: 332460730
This commit is contained in:
Google APIs 2020-09-18 08:59:46 -07:00 committed by Copybara-Service
parent 89d295cdac
commit 67ac785c3c
4 changed files with 15 additions and 167 deletions

View File

@ -141,60 +141,25 @@ go_gapic_assembly_pkg(
##############################################################################
# Python
##############################################################################
# This library is using Python microgenerator.
# DO NOT OVERRIDE this Python section with autogenerated rules.
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 = "storage_moved_proto",
srcs = [":storage_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",
],
)
py_proto_library(
name = "storage_py_proto",
plugin = "@protoc_docs_plugin//:docs_plugin",
deps = [":storage_moved_proto"],
)
py_grpc_library(
name = "storage_py_grpc",
srcs = [":storage_moved_proto"],
deps = [":storage_py_proto"],
py_gapic_assembly_pkg = "py_gapic_assembly_pkg2",
py_gapic_library = "py_gapic_library2",
)
py_gapic_library(
name = "storage_py_gapic",
src = ":storage_proto_with_info",
gapic_yaml = "bigquerystorage_gapic.yaml",
srcs = [":storage_proto"],
grpc_service_config = "bigquerystorage_grpc_service_config.json",
package = "google.cloud.bigquery.storage.v1",
service_yaml = "bigquerystorage_v1.yaml",
deps = [
":storage_py_grpc",
":storage_py_proto",
],
)
# Open Source Packages
py_gapic_assembly_pkg(
name = "bigquery-storage-v1-py",
deps = [
":storage_py_gapic",
":storage_py_grpc",
":storage_py_proto",
],
)

View File

@ -150,61 +150,20 @@ go_gapic_assembly_pkg(
##############################################################################
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 = "storage_moved_proto",
srcs = [":storage_proto"],
deps = [
"//google/api:annotations_proto",
"//google/api:client_proto",
"//google/api:field_behavior_proto",
"//google/rpc:status_proto",
"//google/api:resource_proto",
"@com_google_protobuf//:descriptor_proto",
"@com_google_protobuf//:empty_proto",
"@com_google_protobuf//:timestamp_proto",
"@com_google_protobuf//:wrappers_proto",
],
)
py_proto_library(
name = "storage_py_proto",
plugin = "@protoc_docs_plugin//:docs_plugin",
deps = [":storage_moved_proto"],
)
py_grpc_library(
name = "storage_py_grpc",
srcs = [":storage_moved_proto"],
deps = [":storage_py_proto"],
py_gapic_assembly_pkg = "py_gapic_assembly_pkg2",
py_gapic_library = "py_gapic_library2",
)
py_gapic_library(
name = "storage_py_gapic",
src = ":storage_proto_with_info",
gapic_yaml = "bigquerystorage_gapic.yaml",
srcs = [":storage_proto"],
grpc_service_config = "bigquerystorage_grpc_service_config.json",
package = "google.cloud.bigquery.storage.v1alpha2",
service_yaml = "bigquerystorage_v1alpha2.yaml",
deps = [
":storage_py_grpc",
":storage_py_proto",
],
)
# Open Source Packages
py_gapic_assembly_pkg(
name = "bigquery-storage-v1alpha2-py",
deps = [
":storage_py_gapic",
":storage_py_grpc",
":storage_py_proto",
],
)

View File

@ -147,58 +147,20 @@ go_gapic_assembly_pkg(
##############################################################################
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 = "storage_moved_proto",
srcs = [":storage_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",
],
)
py_proto_library(
name = "storage_py_proto",
plugin = "@protoc_docs_plugin//:docs_plugin",
deps = [":storage_moved_proto"],
)
py_grpc_library(
name = "storage_py_grpc",
srcs = [":storage_moved_proto"],
deps = [":storage_py_proto"],
py_gapic_assembly_pkg = "py_gapic_assembly_pkg2",
py_gapic_library = "py_gapic_library2",
)
py_gapic_library(
name = "storage_py_gapic",
src = ":storage_proto_with_info",
gapic_yaml = "bigquerystorage_gapic.yaml",
srcs = [":storage_proto"],
grpc_service_config = "bigquerystorage_grpc_service_config.json",
package = "google.cloud.bigquery.storage.v1beta1",
service_yaml = "bigquerystorage_v1beta1.yaml",
deps = [
":storage_py_grpc",
":storage_py_proto",
],
)
# Open Source Packages
py_gapic_assembly_pkg(
name = "bigquery-storage-v1beta1-py",
deps = [
":storage_py_gapic",
":storage_py_grpc",
":storage_py_proto",
],
)

View File

@ -143,58 +143,20 @@ go_gapic_assembly_pkg(
##############################################################################
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 = "storage_moved_proto",
srcs = [":storage_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",
],
)
py_proto_library(
name = "storage_py_proto",
plugin = "@protoc_docs_plugin//:docs_plugin",
deps = [":storage_moved_proto"],
)
py_grpc_library(
name = "storage_py_grpc",
srcs = [":storage_moved_proto"],
deps = [":storage_py_proto"],
py_gapic_assembly_pkg = "py_gapic_assembly_pkg2",
py_gapic_library = "py_gapic_library2",
)
py_gapic_library(
name = "storage_py_gapic",
src = ":storage_proto_with_info",
gapic_yaml = "bigquerystorage_gapic.yaml",
srcs = [":storage_proto"],
grpc_service_config = "bigquerystorage_grpc_service_config.json",
package = "google.cloud.bigquery.storage.v1beta2",
service_yaml = "bigquerystorage_v1beta2.yaml",
deps = [
":storage_py_grpc",
":storage_py_proto",
],
)
# Open Source Packages
py_gapic_assembly_pkg(
name = "bigquery-storage-v1beta2-py",
deps = [
":storage_py_gapic",
":storage_py_grpc",
":storage_py_proto",
],
)