Debian Codegraph @

envoy/extensions/common/tap/v3/common.pb.go

raw
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.30.0
4 // protoc v5.29.1
5 // source: envoy/extensions/common/tap/v3/common.proto
6
7 package tapv3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 v3 "github.com/envoyproxy/go-control-plane/envoy/config/tap/v3"
12 _ "github.com/envoyproxy/protoc-gen-validate/validate"
13 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
14 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
15 reflect "reflect"
16 sync "sync"
17 )
18
19 const (
20 // Verify that this generated code is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
22 // Verify that runtime/protoimpl is sufficiently up-to-date.
23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
24 )
25
26 // Common configuration for all tap extensions.
27 type CommonExtensionConfig struct {
28 state protoimpl.MessageState
29 sizeCache protoimpl.SizeCache
30 unknownFields protoimpl.UnknownFields
31
32 // Types that are assignable to ConfigType:
33 //
34 // *CommonExtensionConfig_AdminConfig
35 // *CommonExtensionConfig_StaticConfig
36 ConfigType isCommonExtensionConfig_ConfigType `protobuf_oneof:"config_type"`
37 }
38
39 func (x *CommonExtensionConfig) Reset() {
40 *x = CommonExtensionConfig{}
41 if protoimpl.UnsafeEnabled {
42 mi := &file_envoy_extensions_common_tap_v3_common_proto_msgTypes[0]
43 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
44 ms.StoreMessageInfo(mi)
45 }
46 }
47
48 func (x *CommonExtensionConfig) String() string {
49 return protoimpl.X.MessageStringOf(x)
50 }
51
52 func (*CommonExtensionConfig) ProtoMessage() {}
53
54 func (x *CommonExtensionConfig) ProtoReflect() protoreflect.Message {
55 mi := &file_envoy_extensions_common_tap_v3_common_proto_msgTypes[0]
56 if protoimpl.UnsafeEnabled && x != nil {
57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
58 if ms.LoadMessageInfo() == nil {
59 ms.StoreMessageInfo(mi)
60 }
61 return ms
62 }
63 return mi.MessageOf(x)
64 }
65
66 // Deprecated: Use CommonExtensionConfig.ProtoReflect.Descriptor instead.
67 func (*CommonExtensionConfig) Descriptor() ([]byte, []int) {
68 return file_envoy_extensions_common_tap_v3_common_proto_rawDescGZIP(), []int{0}
69 }
70
71 func (m *CommonExtensionConfig) GetConfigType() isCommonExtensionConfig_ConfigType {
72 if m != nil {
73 return m.ConfigType
74 }
75 return nil
76 }
77
78 func (x *CommonExtensionConfig) GetAdminConfig() *AdminConfig {
79 if x, ok := x.GetConfigType().(*CommonExtensionConfig_AdminConfig); ok {
80 return x.AdminConfig
81 }
82 return nil
83 }
84
85 func (x *CommonExtensionConfig) GetStaticConfig() *v3.TapConfig {
86 if x, ok := x.GetConfigType().(*CommonExtensionConfig_StaticConfig); ok {
87 return x.StaticConfig
88 }
89 return nil
90 }
91
92 type isCommonExtensionConfig_ConfigType interface {
93 isCommonExtensionConfig_ConfigType()
94 }
95
96 type CommonExtensionConfig_AdminConfig struct {
97 // If specified, the tap filter will be configured via an admin handler.
98 AdminConfig *AdminConfig `protobuf:"bytes,1,opt,name=admin_config,json=adminConfig,proto3,oneof"`
99 }
100
101 type CommonExtensionConfig_StaticConfig struct {
102 // If specified, the tap filter will be configured via a static configuration that cannot be
103 // changed.
104 StaticConfig *v3.TapConfig `protobuf:"bytes,2,opt,name=static_config,json=staticConfig,proto3,oneof"`
105 }
106
107 func (*CommonExtensionConfig_AdminConfig) isCommonExtensionConfig_ConfigType() {}
108
109 func (*CommonExtensionConfig_StaticConfig) isCommonExtensionConfig_ConfigType() {}
110
111 // Configuration for the admin handler. See :ref:`here <config_http_filters_tap_admin_handler>` for
112 // more information.
113 type AdminConfig struct {
114 state protoimpl.MessageState
115 sizeCache protoimpl.SizeCache
116 unknownFields protoimpl.UnknownFields
117
118 // Opaque configuration ID. When requests are made to the admin handler, the passed opaque ID is
119 // matched to the configured filter opaque ID to determine which filter to configure.
120 ConfigId string `protobuf:"bytes,1,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
121 }
122
123 func (x *AdminConfig) Reset() {
124 *x = AdminConfig{}
125 if protoimpl.UnsafeEnabled {
126 mi := &file_envoy_extensions_common_tap_v3_common_proto_msgTypes[1]
127 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
128 ms.StoreMessageInfo(mi)
129 }
130 }
131
132 func (x *AdminConfig) String() string {
133 return protoimpl.X.MessageStringOf(x)
134 }
135
136 func (*AdminConfig) ProtoMessage() {}
137
138 func (x *AdminConfig) ProtoReflect() protoreflect.Message {
139 mi := &file_envoy_extensions_common_tap_v3_common_proto_msgTypes[1]
140 if protoimpl.UnsafeEnabled && x != nil {
141 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
142 if ms.LoadMessageInfo() == nil {
143 ms.StoreMessageInfo(mi)
144 }
145 return ms
146 }
147 return mi.MessageOf(x)
148 }
149
150 // Deprecated: Use AdminConfig.ProtoReflect.Descriptor instead.
151 func (*AdminConfig) Descriptor() ([]byte, []int) {
152 return file_envoy_extensions_common_tap_v3_common_proto_rawDescGZIP(), []int{1}
153 }
154
155 func (x *AdminConfig) GetConfigId() string {
156 if x != nil {
157 return x.ConfigId
158 }
159 return ""
160 }
161
162 var File_envoy_extensions_common_tap_v3_common_proto protoreflect.FileDescriptor
163
164 var file_envoy_extensions_common_tap_v3_common_proto_rawDesc = []byte{
165 0x0a, 0x2b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
166 0x6e, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x61, 0x70, 0x2f, 0x76, 0x33,
167 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x65,
168 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
169 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x33, 0x1a, 0x20, 0x65,
170 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74, 0x61, 0x70, 0x2f,
171 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
172 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
173 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21,
174 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
175 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74,
176 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69,
177 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x02, 0x0a, 0x15, 0x43,
178 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f,
179 0x6e, 0x66, 0x69, 0x67, 0x12, 0x50, 0x0a, 0x0c, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x63, 0x6f,
180 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x65, 0x6e, 0x76,
181 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x63, 0x6f,
182 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x64, 0x6d, 0x69,
183 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0b, 0x61, 0x64, 0x6d, 0x69, 0x6e,
184 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x45, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63,
185 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e,
186 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x61, 0x70,
187 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x61, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52,
188 0x0c, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x3c, 0x9a,
189 0xc5, 0x88, 0x1e, 0x37, 0x0a, 0x35, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66,
190 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32,
191 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x45, 0x78, 0x74, 0x65,
192 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x12, 0x0a, 0x0b, 0x63,
193 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x22,
194 0x67, 0x0a, 0x0b, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x24,
195 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
196 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x66,
197 0x69, 0x67, 0x49, 0x64, 0x3a, 0x32, 0x9a, 0xc5, 0x88, 0x1e, 0x2d, 0x0a, 0x2b, 0x65, 0x6e, 0x76,
198 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
199 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x64, 0x6d,
200 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x92, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06,
201 0x02, 0x10, 0x02, 0x0a, 0x2c, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f,
202 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
203 0x6f, 0x6e, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x74, 0x61, 0x70, 0x2e, 0x76,
204 0x33, 0x42, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
205 0x5a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76,
206 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72,
207 0x6f, 0x6c, 0x2d, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65,
208 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
209 0x2f, 0x74, 0x61, 0x70, 0x2f, 0x76, 0x33, 0x3b, 0x74, 0x61, 0x70, 0x76, 0x33, 0x62, 0x06, 0x70,
210 0x72, 0x6f, 0x74, 0x6f, 0x33,
211 }
212
213 var (
214 file_envoy_extensions_common_tap_v3_common_proto_rawDescOnce sync.Once
215 file_envoy_extensions_common_tap_v3_common_proto_rawDescData = file_envoy_extensions_common_tap_v3_common_proto_rawDesc
216 )
217
218 func file_envoy_extensions_common_tap_v3_common_proto_rawDescGZIP() []byte {
219 file_envoy_extensions_common_tap_v3_common_proto_rawDescOnce.Do(func() {
220 file_envoy_extensions_common_tap_v3_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_common_tap_v3_common_proto_rawDescData)
221 })
222 return file_envoy_extensions_common_tap_v3_common_proto_rawDescData
223 }
224
225 var file_envoy_extensions_common_tap_v3_common_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
226 var file_envoy_extensions_common_tap_v3_common_proto_goTypes = []interface{}{
227 (*CommonExtensionConfig)(nil), // 0: envoy.extensions.common.tap.v3.CommonExtensionConfig
228 (*AdminConfig)(nil), // 1: envoy.extensions.common.tap.v3.AdminConfig
229 (*v3.TapConfig)(nil), // 2: envoy.config.tap.v3.TapConfig
230 }
231 var file_envoy_extensions_common_tap_v3_common_proto_depIdxs = []int32{
232 1, // 0: envoy.extensions.common.tap.v3.CommonExtensionConfig.admin_config:type_name -> envoy.extensions.common.tap.v3.AdminConfig
233 2, // 1: envoy.extensions.common.tap.v3.CommonExtensionConfig.static_config:type_name -> envoy.config.tap.v3.TapConfig
234 2, // [2:2] is the sub-list for method output_type
235 2, // [2:2] is the sub-list for method input_type
236 2, // [2:2] is the sub-list for extension type_name
237 2, // [2:2] is the sub-list for extension extendee
238 0, // [0:2] is the sub-list for field type_name
239 }
240
241 func init() { file_envoy_extensions_common_tap_v3_common_proto_init() }
242 func file_envoy_extensions_common_tap_v3_common_proto_init() {
243 if File_envoy_extensions_common_tap_v3_common_proto != nil {
244 return
245 }
246 if !protoimpl.UnsafeEnabled {
247 file_envoy_extensions_common_tap_v3_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
248 switch v := v.(*CommonExtensionConfig); i {
249 case 0:
250 return &v.state
251 case 1:
252 return &v.sizeCache
253 case 2:
254 return &v.unknownFields
255 default:
256 return nil
257 }
258 }
259 file_envoy_extensions_common_tap_v3_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
260 switch v := v.(*AdminConfig); i {
261 case 0:
262 return &v.state
263 case 1:
264 return &v.sizeCache
265 case 2:
266 return &v.unknownFields
267 default:
268 return nil
269 }
270 }
271 }
272 file_envoy_extensions_common_tap_v3_common_proto_msgTypes[0].OneofWrappers = []interface{}{
273 (*CommonExtensionConfig_AdminConfig)(nil),
274 (*CommonExtensionConfig_StaticConfig)(nil),
275 }
276 type x struct{}
277 out := protoimpl.TypeBuilder{
278 File: protoimpl.DescBuilder{
279 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
280 RawDescriptor: file_envoy_extensions_common_tap_v3_common_proto_rawDesc,
281 NumEnums: 0,
282 NumMessages: 2,
283 NumExtensions: 0,
284 NumServices: 0,
285 },
286 GoTypes: file_envoy_extensions_common_tap_v3_common_proto_goTypes,
287 DependencyIndexes: file_envoy_extensions_common_tap_v3_common_proto_depIdxs,
288 MessageInfos: file_envoy_extensions_common_tap_v3_common_proto_msgTypes,
289 }.Build()
290 File_envoy_extensions_common_tap_v3_common_proto = out.File
291 file_envoy_extensions_common_tap_v3_common_proto_rawDesc = nil
292 file_envoy_extensions_common_tap_v3_common_proto_goTypes = nil
293 file_envoy_extensions_common_tap_v3_common_proto_depIdxs = nil
294 }