Debian Codegraph @

xds/core/v3/extension.proto

raw
1 syntax = "proto3";
2
3 package xds.core.v3;
4
5 option java_outer_classname = "ExtensionProto";
6 option java_multiple_files = true;
7 option java_package = "com.github.xds.core.v3";
8 option go_package = "github.com/cncf/xds/go/xds/core/v3";
9
10 import "validate/validate.proto";
11 import "google/protobuf/any.proto";
12
13 // Message type for extension configuration.
14 message TypedExtensionConfig {
15 // The name of an extension. This is not used to select the extension, instead
16 // it serves the role of an opaque identifier.
17 string name = 1 [(validate.rules).string = {min_len: 1}];
18
19 // The typed config for the extension. The type URL will be used to identify
20 // the extension. In the case that the type URL is *xds.type.v3.TypedStruct*
21 // (or, for historical reasons, *udpa.type.v1.TypedStruct*), the inner type
22 // URL of *TypedStruct* will be utilized. See the
23 // :ref:`extension configuration overview
24 // <config_overview_extension_configuration>` for further details.
25 google.protobuf.Any typed_config = 2 [(validate.rules).any = {required: true}];
26 }