xref: /aosp_15_r20/external/grpc-grpc-java/xds/third_party/envoy/src/main/proto/envoy/config/cluster/v3/filter.proto (revision e07d83d3ffcef9ecfc9f7f475418ec639ff0e5fe)
1syntax = "proto3";
2
3package envoy.config.cluster.v3;
4
5import "google/protobuf/any.proto";
6
7import "udpa/annotations/status.proto";
8import "udpa/annotations/versioning.proto";
9import "validate/validate.proto";
10
11option java_package = "io.envoyproxy.envoy.config.cluster.v3";
12option java_outer_classname = "FilterProto";
13option java_multiple_files = true;
14option go_package = "github.com/envoyproxy/go-control-plane/envoy/config/cluster/v3;clusterv3";
15option (udpa.annotations.file_status).package_version_status = ACTIVE;
16
17// [#protodoc-title: Upstream filters]
18// Upstream filters apply to the connections to the upstream cluster hosts.
19
20message Filter {
21  option (udpa.annotations.versioning).previous_message_type = "envoy.api.v2.cluster.Filter";
22
23  // The name of the filter configuration.
24  string name = 1 [(validate.rules).string = {min_len: 1}];
25
26  // Filter specific configuration which depends on the filter being
27  // instantiated. See the supported filters for further documentation.
28  // Note that Envoy's :ref:`downstream network
29  // filters <config_network_filters>` are not valid upstream filters.
30  google.protobuf.Any typed_config = 2;
31}
32