Skip to content

Commit

Permalink
feat: publish DEP proto
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 618868225
  • Loading branch information
Google APIs authored and Copybara-Service committed Mar 25, 2024
1 parent 277145d commit d3ccbbd
Show file tree
Hide file tree
Showing 3 changed files with 758 additions and 2 deletions.
21 changes: 19 additions & 2 deletions google/cloud/networkservices/v1/BUILD.bazel
Expand Up @@ -9,19 +9,23 @@
# * extra_protoc_file_parameters
# The complete list of preserved parameters can be found in the source code.

# buildifier: disable=load-on-top

# 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")
# buildifier: disable=same-origin-load
load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info")
load("@rules_proto//proto:defs.bzl", "proto_library")

proto_library(
name = "networkservices_proto",
srcs = [
"common.proto",
"dep.proto",
"endpoint_policy.proto",
"gateway.proto",
"grpc_route.proto",
Expand All @@ -36,9 +40,11 @@ proto_library(
"//google/api:annotations_proto",
"//google/api:client_proto",
"//google/api:field_behavior_proto",
"//google/api:field_info_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",
],
Expand All @@ -57,6 +63,7 @@ proto_library_with_info(
##############################################################################
# Java
##############################################################################
# buildifier: disable=same-origin-load
load(
"@com_google_googleapis_imports//:imports.bzl",
"java_gapic_assembly_gradle_pkg",
Expand Down Expand Up @@ -85,9 +92,9 @@ java_gapic_library(
rest_numeric_enums = True,
service_yaml = "networkservices_v1.yaml",
test_deps = [
":networkservices_java_grpc",
"//google/cloud/location:location_java_grpc",
"//google/iam/v1:iam_java_grpc",
":networkservices_java_grpc",
],
transport = "grpc+rest",
deps = [
Expand All @@ -101,6 +108,8 @@ java_gapic_library(
java_gapic_test(
name = "networkservices_java_gapic_test_suite",
test_classes = [
"com.google.cloud.networkservices.v1.DepServiceClientHttpJsonTest",
"com.google.cloud.networkservices.v1.DepServiceClientTest",
"com.google.cloud.networkservices.v1.NetworkServicesClientHttpJsonTest",
"com.google.cloud.networkservices.v1.NetworkServicesClientTest",
],
Expand All @@ -123,6 +132,7 @@ java_gapic_assembly_gradle_pkg(
##############################################################################
# Go
##############################################################################
# buildifier: disable=same-origin-load
load(
"@com_google_googleapis_imports//:imports.bzl",
"go_gapic_assembly_pkg",
Expand Down Expand Up @@ -177,6 +187,7 @@ go_gapic_assembly_pkg(
##############################################################################
# Python
##############################################################################
# buildifier: disable=same-origin-load
load(
"@com_google_googleapis_imports//:imports.bzl",
"py_gapic_assembly_pkg",
Expand Down Expand Up @@ -222,6 +233,7 @@ py_gapic_assembly_pkg(
##############################################################################
# PHP
##############################################################################
# buildifier: disable=same-origin-load
load(
"@com_google_googleapis_imports//:imports.bzl",
"php_gapic_assembly_pkg",
Expand Down Expand Up @@ -259,6 +271,7 @@ php_gapic_assembly_pkg(
##############################################################################
# Node.js
##############################################################################
# buildifier: disable=same-origin-load
load(
"@com_google_googleapis_imports//:imports.bzl",
"nodejs_gapic_assembly_pkg",
Expand Down Expand Up @@ -289,6 +302,7 @@ nodejs_gapic_assembly_pkg(
##############################################################################
# Ruby
##############################################################################
# buildifier: disable=same-origin-load
load(
"@com_google_googleapis_imports//:imports.bzl",
"ruby_cloud_gapic_library",
Expand Down Expand Up @@ -335,6 +349,7 @@ ruby_gapic_assembly_pkg(
##############################################################################
# C#
##############################################################################
# buildifier: disable=same-origin-load
load(
"@com_google_googleapis_imports//:imports.bzl",
"csharp_gapic_assembly_pkg",
Expand All @@ -345,6 +360,7 @@ load(

csharp_proto_library(
name = "networkservices_csharp_proto",
extra_opts = [],
deps = [":networkservices_proto"],
)

Expand Down Expand Up @@ -381,6 +397,7 @@ csharp_gapic_assembly_pkg(
##############################################################################
# C++
##############################################################################
# buildifier: disable=same-origin-load
load(
"@com_google_googleapis_imports//:imports.bzl",
"cc_grpc_library",
Expand Down

0 comments on commit d3ccbbd

Please sign in to comment.