diff options
Diffstat (limited to 'third_party/googleapis/gapic')
| -rw-r--r-- | third_party/googleapis/gapic/metadata/BUILD.bazel | 157 | ||||
| -rw-r--r-- | third_party/googleapis/gapic/metadata/gapic_metadata.proto | 92 | 
2 files changed, 0 insertions, 249 deletions
diff --git a/third_party/googleapis/gapic/metadata/BUILD.bazel b/third_party/googleapis/gapic/metadata/BUILD.bazel deleted file mode 100644 index caa07ce..0000000 --- a/third_party/googleapis/gapic/metadata/BUILD.bazel +++ /dev/null @@ -1,157 +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 = "metadata_proto", -    srcs = [ -        "gapic_metadata.proto", -    ], -    deps = [ -    ], -) - -############################################################################## -# Java -############################################################################## -load( -    "@com_google_googleapis_imports//:imports.bzl", -    "java_grpc_library", -    "java_proto_library", -) - -java_proto_library( -    name = "metadata_java_proto", -    deps = [":metadata_proto"], -) - -java_grpc_library( -    name = "metadata_java_grpc", -    srcs = [":metadata_proto"], -    deps = [":metadata_java_proto"], -) - -############################################################################## -# Go -############################################################################## -load( -    "@com_google_googleapis_imports//:imports.bzl", -    "go_proto_library", -) - -go_proto_library( -    name = "metadata_go_proto", -    compilers = ["@io_bazel_rules_go//proto:go_grpc"], -    importpath = "google.golang.org/genproto/googleapis/gapic/metadata", -    protos = [":metadata_proto"], -    deps = [ -    ], -) - -############################################################################## -# Python -############################################################################## -load( -    "@com_google_googleapis_imports//:imports.bzl", -    "moved_proto_library", -    "py_grpc_library", -    "py_proto_library", -) - -moved_proto_library( -    name = "metadata_moved_proto", -    srcs = [":metadata_proto"], -    deps = [ -    ], -) - -py_proto_library( -    name = "metadata_py_proto", -    deps = [":metadata_moved_proto"], -) - -py_grpc_library( -    name = "metadata_py_grpc", -    srcs = [":metadata_moved_proto"], -    deps = [":metadata_py_proto"], -) - -############################################################################## -# PHP -############################################################################## -load( -    "@com_google_googleapis_imports//:imports.bzl", -    "php_grpc_library", -    "php_proto_library", -) - -php_proto_library( -    name = "metadata_php_proto", -    deps = [":metadata_proto"], -) - -php_grpc_library( -    name = "metadata_php_grpc", -    srcs = [":metadata_proto"], -    deps = [":metadata_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 = "metadata_ruby_proto", -    deps = [":metadata_proto"], -) - -ruby_grpc_library( -    name = "metadata_ruby_grpc", -    srcs = [":metadata_proto"], -    deps = [":metadata_ruby_proto"], -) - -############################################################################## -# C# -############################################################################## -load( -    "@com_google_googleapis_imports//:imports.bzl", -    "csharp_grpc_library", -    "csharp_proto_library", -) - -csharp_proto_library( -    name = "metadata_csharp_proto", -    deps = [":metadata_proto"], -) - -csharp_grpc_library( -    name = "metadata_csharp_grpc", -    srcs = [":metadata_proto"], -    deps = [":metadata_csharp_proto"], -) - -############################################################################## -# C++ -############################################################################## -# Put your C++ code here diff --git a/third_party/googleapis/gapic/metadata/gapic_metadata.proto b/third_party/googleapis/gapic/metadata/gapic_metadata.proto deleted file mode 100644 index 16090ed..0000000 --- a/third_party/googleapis/gapic/metadata/gapic_metadata.proto +++ /dev/null @@ -1,92 +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 -// -//     http://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. -// - -syntax = "proto3"; - -package google.gapic.metadata; - -option csharp_namespace = "Google.Gapic.Metadata"; -option go_package = "google.golang.org/genproto/googleapis/gapic/metadata;metadata"; -option java_multiple_files = true; -option java_outer_classname = "GapicMetadataProto"; -option java_package = "com.google.gapic.metadata"; -option php_namespace = "Google\\Gapic\\Metadata"; -option ruby_package = "Google::Gapic::Metadata"; - -// Metadata about a GAPIC library for a specific combination of API, version, and -// computer language. -message GapicMetadata { -  // Schema version of this proto. Current value: 1.0 -  string schema = 1; - -  // Any human-readable comments to be included in this file. -  string comment = 2; - -  // Computer language of this generated language. This must be -  // spelled out as it spoken in English, with no capitalization or -  // separators (e.g. "csharp", "nodejs"). -  string language = 3; - -  // The proto package containing the API definition for which this -  // GAPIC library was generated. -  string proto_package = 4; - -  // The language-specific library package for this GAPIC library. -  string library_package = 5; - -  // A map from each proto-defined service to ServiceForTransports, -  // which allows listing information about transport-specific -  // implementations of the service. -  // -  // The key is the name of the service as it appears in the .proto -  // file. -  map<string, ServiceForTransport> services = 6; - -  // A map from a transport name to ServiceAsClient, which allows -  // listing information about the client objects that implement the -  // parent RPC service for the specified transport. -  // -  // The key name is the transport, lower-cased with no separators -  // (e.g. "grpc", "rest"). -  message ServiceForTransport { -    map<string, ServiceAsClient> clients = 1; -  } - -  // Information about a specific client implementing a proto-defined service. -  message ServiceAsClient { -    // The name of the library client formatted as it appears in the source code -    string library_client = 1; - -    // A mapping from each proto-defined RPC name to the the list of -    // methods in library_client that implement it. There can be more -    // than one library_client method for each RPC. RPCs with no -    // library_client methods need not be included. -    // -    // The key name is the name of the RPC as defined and formated in -    // the proto file. -    map<string, MethodList> rpcs = 2; -  } - -  // List of GAPIC client methods implementing the proto-defined RPC -  // for the transport and service specified in the containing -  // structures. -  message MethodList { -    // List of methods for a specific proto-service client in the -    // GAPIC. These names should be formatted as they appear in the -    // source code. -    repeated string methods = 1; -  } - -}  | 
