...
1syntax = "proto3";
2
3package envoy.extensions.common.matching.v3;
4
5import "envoy/config/common/matcher/v3/matcher.proto";
6import "envoy/config/core/v3/extension.proto";
7
8import "udpa/annotations/migrate.proto";
9import "udpa/annotations/status.proto";
10import "validate/validate.proto";
11
12option java_package = "io.envoyproxy.envoy.extensions.common.matching.v3";
13option java_outer_classname = "ExtensionMatcherProto";
14option java_multiple_files = true;
15option (udpa.annotations.file_status).package_version_status = ACTIVE;
16
17// [#protodoc-title: Extension Matcher]
18
19// Wrapper around an existing extension that provides an associated matcher. This allows
20// decorating an existing extension with a matcher, which can be used to match against
21// relevant protocol data.
22message ExtensionWithMatcher {
23 // The associated matcher.
24 config.common.matcher.v3.Matcher matcher = 1 [(validate.rules).message = {required: true}];
25
26 // The underlying extension config.
27 config.core.v3.TypedExtensionConfig extension_config = 2
28 [(validate.rules).message = {required: true}];
29}
View as plain text