|
| 1 | +# This file was automatically generated by BuildFileGenerator |
| 2 | + |
| 3 | +# buildifier: disable=load-on-top |
| 4 | + |
| 5 | +# This is an API workspace, having public visibility by default makes perfect sense. |
| 6 | +package(default_visibility = ["//visibility:public"]) |
| 7 | + |
| 8 | +############################################################################## |
| 9 | +# Common |
| 10 | +############################################################################## |
| 11 | +load("@rules_proto//proto:defs.bzl", "proto_library") |
| 12 | + |
| 13 | +proto_library( |
| 14 | + name = "logging_proto", |
| 15 | + srcs = [ |
| 16 | + "enrollment_activity.proto", |
| 17 | + "google_api_source_activity.proto", |
| 18 | + "message_bus_activity.proto", |
| 19 | + "pipeline_activity.proto", |
| 20 | + ], |
| 21 | + deps = [ |
| 22 | + "//google/api:field_info_proto", |
| 23 | + "//google/rpc:status_proto", |
| 24 | + "@com_google_protobuf//:timestamp_proto", |
| 25 | + ], |
| 26 | +) |
| 27 | + |
| 28 | +############################################################################## |
| 29 | +# Java |
| 30 | +############################################################################## |
| 31 | +# buildifier: disable=same-origin-load |
| 32 | +load( |
| 33 | + "@com_google_googleapis_imports//:imports.bzl", |
| 34 | + "java_proto_library", |
| 35 | + "java_gapic_assembly_gradle_pkg", |
| 36 | +) |
| 37 | + |
| 38 | +java_proto_library( |
| 39 | + name = "logging_java_proto", |
| 40 | + deps = [":logging_proto"], |
| 41 | +) |
| 42 | + |
| 43 | +# Open Source Packages |
| 44 | +java_gapic_assembly_gradle_pkg( |
| 45 | + name = "google-cloud-eventarc-logging-v1-java", |
| 46 | + deps = [ |
| 47 | + ":logging_proto", |
| 48 | + ":logging_java_proto", |
| 49 | + ], |
| 50 | +) |
| 51 | + |
| 52 | +############################################################################## |
| 53 | +# Go |
| 54 | +############################################################################## |
| 55 | +# buildifier: disable=same-origin-load |
| 56 | +load( |
| 57 | + "@com_google_googleapis_imports//:imports.bzl", |
| 58 | + "go_proto_library", |
| 59 | + "go_gapic_assembly_pkg", |
| 60 | +) |
| 61 | + |
| 62 | +go_proto_library( |
| 63 | + name = "logging_go_proto", |
| 64 | + compilers = ["@io_bazel_rules_go//proto:go_grpc"], |
| 65 | + importpath = "cloud.google.com/go/eventarc/logging/apiv1/loggingpb", |
| 66 | + protos = [":logging_proto"], |
| 67 | + deps = [ |
| 68 | + "//google/api:annotations_go_proto", |
| 69 | + "//google/rpc:status_go_proto", |
| 70 | + ], |
| 71 | +) |
| 72 | + |
| 73 | +go_gapic_assembly_pkg( |
| 74 | + name = "google-cloud-eventarc-logging-v1-go", |
| 75 | + deps = [ |
| 76 | + ":logging_go_proto", |
| 77 | + ], |
| 78 | +) |
| 79 | + |
| 80 | +############################################################################## |
| 81 | +# Python |
| 82 | +############################################################################## |
| 83 | +# buildifier: disable=same-origin-load |
| 84 | +load( |
| 85 | + "@com_google_googleapis_imports//:imports.bzl", |
| 86 | + "moved_proto_library", |
| 87 | + "py_grpc_library", |
| 88 | + "py_proto_library", |
| 89 | + "py_gapic_library", |
| 90 | + "py_gapic_assembly_pkg", |
| 91 | +) |
| 92 | + |
| 93 | +moved_proto_library( |
| 94 | + name = "logging_moved_proto", |
| 95 | + srcs = [":logging_proto"], |
| 96 | + deps = [ |
| 97 | + "//google/api:field_info_proto", |
| 98 | + "//google/rpc:status_proto", |
| 99 | + "@com_google_protobuf//:timestamp_proto", |
| 100 | + ], |
| 101 | +) |
| 102 | + |
| 103 | +py_proto_library( |
| 104 | + name = "logging_py_proto", |
| 105 | + deps = [":logging_moved_proto"], |
| 106 | +) |
| 107 | + |
| 108 | +py_grpc_library( |
| 109 | + name = "logging_py_grpc", |
| 110 | + srcs = [":logging_moved_proto"], |
| 111 | + deps = [":logging_py_proto"], |
| 112 | +) |
| 113 | + |
| 114 | +py_gapic_library( |
| 115 | + name = "logging_py_gapic", |
| 116 | + srcs = [":logging_proto"], |
| 117 | + rest_numeric_enums = False, |
| 118 | + transport = "grpc+rest", |
| 119 | +) |
| 120 | + |
| 121 | +# Open Source Packages |
| 122 | +py_gapic_assembly_pkg( |
| 123 | + name = "google-cloud-eventarc-logging-v1-py", |
| 124 | + deps = [ |
| 125 | + ":logging_py_gapic", |
| 126 | + ], |
| 127 | +) |
| 128 | + |
| 129 | +############################################################################## |
| 130 | +# PHP |
| 131 | +############################################################################## |
| 132 | +# buildifier: disable=same-origin-load |
| 133 | +load( |
| 134 | + "@com_google_googleapis_imports//:imports.bzl", |
| 135 | + "php_gapic_assembly_pkg", |
| 136 | + "php_proto_library", |
| 137 | +) |
| 138 | + |
| 139 | +php_proto_library( |
| 140 | + name = "logging_php_proto", |
| 141 | + deps = [":logging_proto"], |
| 142 | +) |
| 143 | + |
| 144 | +php_gapic_assembly_pkg( |
| 145 | + name = "google-cloud-eventarc-logging-v1-php", |
| 146 | + deps = [ |
| 147 | + ":logging_php_proto", |
| 148 | + ], |
| 149 | +) |
| 150 | + |
| 151 | +############################################################################## |
| 152 | +# Ruby |
| 153 | +############################################################################## |
| 154 | +# buildifier: disable=same-origin-load |
| 155 | +load( |
| 156 | + "@com_google_googleapis_imports//:imports.bzl", |
| 157 | + "ruby_grpc_library", |
| 158 | + "ruby_proto_library", |
| 159 | +) |
| 160 | + |
| 161 | +ruby_proto_library( |
| 162 | + name = "logging_ruby_proto", |
| 163 | + deps = [":logging_proto"], |
| 164 | +) |
| 165 | + |
| 166 | +ruby_grpc_library( |
| 167 | + name = "logging_ruby_grpc", |
| 168 | + srcs = [":logging_proto"], |
| 169 | + deps = [":logging_ruby_proto"], |
| 170 | +) |
| 171 | + |
| 172 | +############################################################################## |
| 173 | +# C# |
| 174 | +############################################################################## |
| 175 | +# buildifier: disable=same-origin-load |
| 176 | +load( |
| 177 | + "@com_google_googleapis_imports//:imports.bzl", |
| 178 | + "csharp_proto_library", |
| 179 | + "csharp_gapic_assembly_pkg", |
| 180 | +) |
| 181 | + |
| 182 | +csharp_proto_library( |
| 183 | + name = "logging_csharp_proto", |
| 184 | + deps = [":logging_proto"], |
| 185 | +) |
| 186 | + |
| 187 | +# Open Source Packages |
| 188 | +csharp_gapic_assembly_pkg( |
| 189 | + name = "google-cloud-eventarc-logging-v1-csharp", |
| 190 | + package_name = "Google.Cloud.Eventarc.Logging.V1", |
| 191 | + generate_nongapic_package = True, |
| 192 | + deps = [ |
| 193 | + ":logging_csharp_proto", |
| 194 | + ], |
| 195 | +) |
| 196 | + |
| 197 | +############################################################################## |
| 198 | +# C++ |
| 199 | +############################################################################## |
| 200 | +# buildifier: disable=same-origin-load |
| 201 | +load( |
| 202 | + "@com_google_googleapis_imports//:imports.bzl", |
| 203 | + "cc_grpc_library", |
| 204 | + "cc_proto_library", |
| 205 | +) |
| 206 | + |
| 207 | +cc_proto_library( |
| 208 | + name = "logging_cc_proto", |
| 209 | + deps = [":logging_proto"], |
| 210 | +) |
| 211 | + |
| 212 | +cc_grpc_library( |
| 213 | + name = "logging_cc_grpc", |
| 214 | + srcs = [":logging_proto"], |
| 215 | + grpc_only = True, |
| 216 | + deps = [":logging_cc_proto"], |
| 217 | +) |
0 commit comments