1// Code generated by protoc-gen-go. DO NOT EDIT.
2// versions:
3// 	protoc-gen-go v1.25.0
4// 	protoc        v3.14.0
5// source: envoy/config/filter/network/thrift_proxy/v2alpha1/thrift_proxy.proto
6
7package envoy_config_filter_network_thrift_proxy_v2alpha1
8
9import (
10	_ "github.com/cncf/xds/go/udpa/annotations"
11	_ "github.com/envoyproxy/protoc-gen-validate/validate"
12	proto "github.com/golang/protobuf/proto"
13	any "github.com/golang/protobuf/ptypes/any"
14	_struct "github.com/golang/protobuf/ptypes/struct"
15	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
16	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
17	reflect "reflect"
18	sync "sync"
19)
20
21const (
22	// Verify that this generated code is sufficiently up-to-date.
23	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
24	// Verify that runtime/protoimpl is sufficiently up-to-date.
25	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
26)
27
28// This is a compile-time assertion that a sufficiently up-to-date version
29// of the legacy proto package is being used.
30const _ = proto.ProtoPackageIsVersion4
31
32// Thrift transport types supported by Envoy.
33type TransportType int32
34
35const (
36	// For downstream connections, the Thrift proxy will attempt to determine which transport to use.
37	// For upstream connections, the Thrift proxy will use same transport as the downstream
38	// connection.
39	TransportType_AUTO_TRANSPORT TransportType = 0
40	// The Thrift proxy will use the Thrift framed transport.
41	TransportType_FRAMED TransportType = 1
42	// The Thrift proxy will use the Thrift unframed transport.
43	TransportType_UNFRAMED TransportType = 2
44	// The Thrift proxy will assume the client is using the Thrift header transport.
45	TransportType_HEADER TransportType = 3
46)
47
48// Enum value maps for TransportType.
49var (
50	TransportType_name = map[int32]string{
51		0: "AUTO_TRANSPORT",
52		1: "FRAMED",
53		2: "UNFRAMED",
54		3: "HEADER",
55	}
56	TransportType_value = map[string]int32{
57		"AUTO_TRANSPORT": 0,
58		"FRAMED":         1,
59		"UNFRAMED":       2,
60		"HEADER":         3,
61	}
62)
63
64func (x TransportType) Enum() *TransportType {
65	p := new(TransportType)
66	*p = x
67	return p
68}
69
70func (x TransportType) String() string {
71	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
72}
73
74func (TransportType) Descriptor() protoreflect.EnumDescriptor {
75	return file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_enumTypes[0].Descriptor()
76}
77
78func (TransportType) Type() protoreflect.EnumType {
79	return &file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_enumTypes[0]
80}
81
82func (x TransportType) Number() protoreflect.EnumNumber {
83	return protoreflect.EnumNumber(x)
84}
85
86// Deprecated: Use TransportType.Descriptor instead.
87func (TransportType) EnumDescriptor() ([]byte, []int) {
88	return file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_rawDescGZIP(), []int{0}
89}
90
91// Thrift Protocol types supported by Envoy.
92type ProtocolType int32
93
94const (
95	// For downstream connections, the Thrift proxy will attempt to determine which protocol to use.
96	// Note that the older, non-strict (or lax) binary protocol is not included in automatic protocol
97	// detection. For upstream connections, the Thrift proxy will use the same protocol as the
98	// downstream connection.
99	ProtocolType_AUTO_PROTOCOL ProtocolType = 0
100	// The Thrift proxy will use the Thrift binary protocol.
101	ProtocolType_BINARY ProtocolType = 1
102	// The Thrift proxy will use Thrift non-strict binary protocol.
103	ProtocolType_LAX_BINARY ProtocolType = 2
104	// The Thrift proxy will use the Thrift compact protocol.
105	ProtocolType_COMPACT ProtocolType = 3
106	// The Thrift proxy will use the Thrift "Twitter" protocol implemented by the finagle library.
107	ProtocolType_TWITTER ProtocolType = 4
108)
109
110// Enum value maps for ProtocolType.
111var (
112	ProtocolType_name = map[int32]string{
113		0: "AUTO_PROTOCOL",
114		1: "BINARY",
115		2: "LAX_BINARY",
116		3: "COMPACT",
117		4: "TWITTER",
118	}
119	ProtocolType_value = map[string]int32{
120		"AUTO_PROTOCOL": 0,
121		"BINARY":        1,
122		"LAX_BINARY":    2,
123		"COMPACT":       3,
124		"TWITTER":       4,
125	}
126)
127
128func (x ProtocolType) Enum() *ProtocolType {
129	p := new(ProtocolType)
130	*p = x
131	return p
132}
133
134func (x ProtocolType) String() string {
135	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
136}
137
138func (ProtocolType) Descriptor() protoreflect.EnumDescriptor {
139	return file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_enumTypes[1].Descriptor()
140}
141
142func (ProtocolType) Type() protoreflect.EnumType {
143	return &file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_enumTypes[1]
144}
145
146func (x ProtocolType) Number() protoreflect.EnumNumber {
147	return protoreflect.EnumNumber(x)
148}
149
150// Deprecated: Use ProtocolType.Descriptor instead.
151func (ProtocolType) EnumDescriptor() ([]byte, []int) {
152	return file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_rawDescGZIP(), []int{1}
153}
154
155// [#next-free-field: 6]
156type ThriftProxy struct {
157	state         protoimpl.MessageState
158	sizeCache     protoimpl.SizeCache
159	unknownFields protoimpl.UnknownFields
160
161	// Supplies the type of transport that the Thrift proxy should use. Defaults to
162	// :ref:`AUTO_TRANSPORT<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.TransportType.AUTO_TRANSPORT>`.
163	Transport TransportType `protobuf:"varint,2,opt,name=transport,proto3,enum=envoy.config.filter.network.thrift_proxy.v2alpha1.TransportType" json:"transport,omitempty"`
164	// Supplies the type of protocol that the Thrift proxy should use. Defaults to
165	// :ref:`AUTO_PROTOCOL<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.ProtocolType.AUTO_PROTOCOL>`.
166	Protocol ProtocolType `protobuf:"varint,3,opt,name=protocol,proto3,enum=envoy.config.filter.network.thrift_proxy.v2alpha1.ProtocolType" json:"protocol,omitempty"`
167	// The human readable prefix to use when emitting statistics.
168	StatPrefix string `protobuf:"bytes,1,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"`
169	// The route table for the connection manager is static and is specified in this property.
170	RouteConfig *RouteConfiguration `protobuf:"bytes,4,opt,name=route_config,json=routeConfig,proto3" json:"route_config,omitempty"`
171	// A list of individual Thrift filters that make up the filter chain for requests made to the
172	// Thrift proxy. Order matters as the filters are processed sequentially. For backwards
173	// compatibility, if no thrift_filters are specified, a default Thrift router filter
174	// (`envoy.filters.thrift.router`) is used.
175	ThriftFilters []*ThriftFilter `protobuf:"bytes,5,rep,name=thrift_filters,json=thriftFilters,proto3" json:"thrift_filters,omitempty"`
176}
177
178func (x *ThriftProxy) Reset() {
179	*x = ThriftProxy{}
180	if protoimpl.UnsafeEnabled {
181		mi := &file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_msgTypes[0]
182		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
183		ms.StoreMessageInfo(mi)
184	}
185}
186
187func (x *ThriftProxy) String() string {
188	return protoimpl.X.MessageStringOf(x)
189}
190
191func (*ThriftProxy) ProtoMessage() {}
192
193func (x *ThriftProxy) ProtoReflect() protoreflect.Message {
194	mi := &file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_msgTypes[0]
195	if protoimpl.UnsafeEnabled && x != nil {
196		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
197		if ms.LoadMessageInfo() == nil {
198			ms.StoreMessageInfo(mi)
199		}
200		return ms
201	}
202	return mi.MessageOf(x)
203}
204
205// Deprecated: Use ThriftProxy.ProtoReflect.Descriptor instead.
206func (*ThriftProxy) Descriptor() ([]byte, []int) {
207	return file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_rawDescGZIP(), []int{0}
208}
209
210func (x *ThriftProxy) GetTransport() TransportType {
211	if x != nil {
212		return x.Transport
213	}
214	return TransportType_AUTO_TRANSPORT
215}
216
217func (x *ThriftProxy) GetProtocol() ProtocolType {
218	if x != nil {
219		return x.Protocol
220	}
221	return ProtocolType_AUTO_PROTOCOL
222}
223
224func (x *ThriftProxy) GetStatPrefix() string {
225	if x != nil {
226		return x.StatPrefix
227	}
228	return ""
229}
230
231func (x *ThriftProxy) GetRouteConfig() *RouteConfiguration {
232	if x != nil {
233		return x.RouteConfig
234	}
235	return nil
236}
237
238func (x *ThriftProxy) GetThriftFilters() []*ThriftFilter {
239	if x != nil {
240		return x.ThriftFilters
241	}
242	return nil
243}
244
245// ThriftFilter configures a Thrift filter.
246type ThriftFilter struct {
247	state         protoimpl.MessageState
248	sizeCache     protoimpl.SizeCache
249	unknownFields protoimpl.UnknownFields
250
251	// The name of the filter to instantiate. The name must match a supported
252	// filter. The built-in filters are:
253	//
254	// [#comment:TODO(zuercher): Auto generate the following list]
255	// * :ref:`envoy.filters.thrift.router <config_thrift_filters_router>`
256	// * :ref:`envoy.filters.thrift.rate_limit <config_thrift_filters_rate_limit>`
257	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
258	// Filter specific configuration which depends on the filter being instantiated. See the supported
259	// filters for further documentation.
260	//
261	// Types that are assignable to ConfigType:
262	//	*ThriftFilter_Config
263	//	*ThriftFilter_TypedConfig
264	ConfigType isThriftFilter_ConfigType `protobuf_oneof:"config_type"`
265}
266
267func (x *ThriftFilter) Reset() {
268	*x = ThriftFilter{}
269	if protoimpl.UnsafeEnabled {
270		mi := &file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_msgTypes[1]
271		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
272		ms.StoreMessageInfo(mi)
273	}
274}
275
276func (x *ThriftFilter) String() string {
277	return protoimpl.X.MessageStringOf(x)
278}
279
280func (*ThriftFilter) ProtoMessage() {}
281
282func (x *ThriftFilter) ProtoReflect() protoreflect.Message {
283	mi := &file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_msgTypes[1]
284	if protoimpl.UnsafeEnabled && x != nil {
285		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
286		if ms.LoadMessageInfo() == nil {
287			ms.StoreMessageInfo(mi)
288		}
289		return ms
290	}
291	return mi.MessageOf(x)
292}
293
294// Deprecated: Use ThriftFilter.ProtoReflect.Descriptor instead.
295func (*ThriftFilter) Descriptor() ([]byte, []int) {
296	return file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_rawDescGZIP(), []int{1}
297}
298
299func (x *ThriftFilter) GetName() string {
300	if x != nil {
301		return x.Name
302	}
303	return ""
304}
305
306func (m *ThriftFilter) GetConfigType() isThriftFilter_ConfigType {
307	if m != nil {
308		return m.ConfigType
309	}
310	return nil
311}
312
313// Deprecated: Do not use.
314func (x *ThriftFilter) GetConfig() *_struct.Struct {
315	if x, ok := x.GetConfigType().(*ThriftFilter_Config); ok {
316		return x.Config
317	}
318	return nil
319}
320
321func (x *ThriftFilter) GetTypedConfig() *any.Any {
322	if x, ok := x.GetConfigType().(*ThriftFilter_TypedConfig); ok {
323		return x.TypedConfig
324	}
325	return nil
326}
327
328type isThriftFilter_ConfigType interface {
329	isThriftFilter_ConfigType()
330}
331
332type ThriftFilter_Config struct {
333	// Deprecated: Do not use.
334	Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"`
335}
336
337type ThriftFilter_TypedConfig struct {
338	TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
339}
340
341func (*ThriftFilter_Config) isThriftFilter_ConfigType() {}
342
343func (*ThriftFilter_TypedConfig) isThriftFilter_ConfigType() {}
344
345// ThriftProtocolOptions specifies Thrift upstream protocol options. This object is used in
346// in
347// :ref:`typed_extension_protocol_options<envoy_api_field_Cluster.typed_extension_protocol_options>`,
348// keyed by the name `envoy.filters.network.thrift_proxy`.
349type ThriftProtocolOptions struct {
350	state         protoimpl.MessageState
351	sizeCache     protoimpl.SizeCache
352	unknownFields protoimpl.UnknownFields
353
354	// Supplies the type of transport that the Thrift proxy should use for upstream connections.
355	// Selecting
356	// :ref:`AUTO_TRANSPORT<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.TransportType.AUTO_TRANSPORT>`,
357	// which is the default, causes the proxy to use the same transport as the downstream connection.
358	Transport TransportType `protobuf:"varint,1,opt,name=transport,proto3,enum=envoy.config.filter.network.thrift_proxy.v2alpha1.TransportType" json:"transport,omitempty"`
359	// Supplies the type of protocol that the Thrift proxy should use for upstream connections.
360	// Selecting
361	// :ref:`AUTO_PROTOCOL<envoy_api_enum_value_config.filter.network.thrift_proxy.v2alpha1.ProtocolType.AUTO_PROTOCOL>`,
362	// which is the default, causes the proxy to use the same protocol as the downstream connection.
363	Protocol ProtocolType `protobuf:"varint,2,opt,name=protocol,proto3,enum=envoy.config.filter.network.thrift_proxy.v2alpha1.ProtocolType" json:"protocol,omitempty"`
364}
365
366func (x *ThriftProtocolOptions) Reset() {
367	*x = ThriftProtocolOptions{}
368	if protoimpl.UnsafeEnabled {
369		mi := &file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_msgTypes[2]
370		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
371		ms.StoreMessageInfo(mi)
372	}
373}
374
375func (x *ThriftProtocolOptions) String() string {
376	return protoimpl.X.MessageStringOf(x)
377}
378
379func (*ThriftProtocolOptions) ProtoMessage() {}
380
381func (x *ThriftProtocolOptions) ProtoReflect() protoreflect.Message {
382	mi := &file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_msgTypes[2]
383	if protoimpl.UnsafeEnabled && x != nil {
384		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
385		if ms.LoadMessageInfo() == nil {
386			ms.StoreMessageInfo(mi)
387		}
388		return ms
389	}
390	return mi.MessageOf(x)
391}
392
393// Deprecated: Use ThriftProtocolOptions.ProtoReflect.Descriptor instead.
394func (*ThriftProtocolOptions) Descriptor() ([]byte, []int) {
395	return file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_rawDescGZIP(), []int{2}
396}
397
398func (x *ThriftProtocolOptions) GetTransport() TransportType {
399	if x != nil {
400		return x.Transport
401	}
402	return TransportType_AUTO_TRANSPORT
403}
404
405func (x *ThriftProtocolOptions) GetProtocol() ProtocolType {
406	if x != nil {
407		return x.Protocol
408	}
409	return ProtocolType_AUTO_PROTOCOL
410}
411
412var File_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto protoreflect.FileDescriptor
413
414var file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_rawDesc = []byte{
415	0x0a, 0x44, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x66,
416	0x69, 0x6c, 0x74, 0x65, 0x72, 0x2f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x74, 0x68,
417	0x72, 0x69, 0x66, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70,
418	0x68, 0x61, 0x31, 0x2f, 0x74, 0x68, 0x72, 0x69, 0x66, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79,
419	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x31, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f,
420	0x6e, 0x66, 0x69, 0x67, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x6e, 0x65, 0x74, 0x77,
421	0x6f, 0x72, 0x6b, 0x2e, 0x74, 0x68, 0x72, 0x69, 0x66, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79,
422	0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x3d, 0x65, 0x6e, 0x76, 0x6f, 0x79,
423	0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2f, 0x6e,
424	0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x74, 0x68, 0x72, 0x69, 0x66, 0x74, 0x5f, 0x70, 0x72,
425	0x6f, 0x78, 0x79, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x72, 0x6f, 0x75,
426	0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
427	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72,
428	0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
429	0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
430	0x6f, 0x1a, 0x1e, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
431	0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
432	0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
433	0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
434	0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64,
435	0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda, 0x03, 0x0a, 0x0b, 0x54, 0x68,
436	0x72, 0x69, 0x66, 0x74, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x12, 0x68, 0x0a, 0x09, 0x74, 0x72, 0x61,
437	0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x40, 0x2e, 0x65,
438	0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x66, 0x69, 0x6c, 0x74,
439	0x65, 0x72, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x74, 0x68, 0x72, 0x69, 0x66,
440	0x74, 0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
441	0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x08,
442	0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70,
443	0x6f, 0x72, 0x74, 0x12, 0x65, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18,
444	0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f,
445	0x6e, 0x66, 0x69, 0x67, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x6e, 0x65, 0x74, 0x77,
446	0x6f, 0x72, 0x6b, 0x2e, 0x74, 0x68, 0x72, 0x69, 0x66, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79,
447	0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63,
448	0x6f, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01,
449	0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x28, 0x0a, 0x0b, 0x73, 0x74,
450	0x61, 0x74, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
451	0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x50, 0x72,
452	0x65, 0x66, 0x69, 0x78, 0x12, 0x68, 0x0a, 0x0c, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x63, 0x6f,
453	0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x65, 0x6e, 0x76,
454	0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,
455	0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x74, 0x68, 0x72, 0x69, 0x66, 0x74, 0x5f,
456	0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52,
457	0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
458	0x6e, 0x52, 0x0b, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x66,
459	0x0a, 0x0e, 0x74, 0x68, 0x72, 0x69, 0x66, 0x74, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73,
460	0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
461	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x6e, 0x65, 0x74,
462	0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x74, 0x68, 0x72, 0x69, 0x66, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x78,
463	0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x68, 0x72, 0x69, 0x66,
464	0x74, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x0d, 0x74, 0x68, 0x72, 0x69, 0x66, 0x74, 0x46,
465	0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x22, 0xac, 0x01, 0x0a, 0x0c, 0x54, 0x68, 0x72, 0x69, 0x66,
466	0x74, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
467	0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x04,
468	0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02,
469	0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
470	0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x02, 0x18,
471	0x01, 0x48, 0x00, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x39, 0x0a, 0x0c, 0x74,
472	0x79, 0x70, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28,
473	0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
474	0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x64,
475	0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x0d, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
476	0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0xe8, 0x01, 0x0a, 0x15, 0x54, 0x68, 0x72, 0x69, 0x66, 0x74,
477	0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12,
478	0x68, 0x0a, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01,
479	0x28, 0x0e, 0x32, 0x40, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
480	0x67, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
481	0x2e, 0x74, 0x68, 0x72, 0x69, 0x66, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x32,
482	0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74,
483	0x54, 0x79, 0x70, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x09,
484	0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x65, 0x0a, 0x08, 0x70, 0x72, 0x6f,
485	0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3f, 0x2e, 0x65, 0x6e,
486	0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65,
487	0x72, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x74, 0x68, 0x72, 0x69, 0x66, 0x74,
488	0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
489	0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x42, 0x08, 0xfa, 0x42,
490	0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
491	0x2a, 0x49, 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x79, 0x70,
492	0x65, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x55, 0x54, 0x4f, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x50,
493	0x4f, 0x52, 0x54, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x44, 0x10,
494	0x01, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x4e, 0x46, 0x52, 0x41, 0x4d, 0x45, 0x44, 0x10, 0x02, 0x12,
495	0x0a, 0x0a, 0x06, 0x48, 0x45, 0x41, 0x44, 0x45, 0x52, 0x10, 0x03, 0x2a, 0x57, 0x0a, 0x0c, 0x50,
496	0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x11, 0x0a, 0x0d, 0x41,
497	0x55, 0x54, 0x4f, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x43, 0x4f, 0x4c, 0x10, 0x00, 0x12, 0x0a,
498	0x0a, 0x06, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x4c, 0x41,
499	0x58, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4f,
500	0x4d, 0x50, 0x41, 0x43, 0x54, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x57, 0x49, 0x54, 0x54,
501	0x45, 0x52, 0x10, 0x04, 0x42, 0x95, 0x01, 0x0a, 0x3f, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
502	0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
503	0x66, 0x69, 0x67, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x6e, 0x65, 0x74, 0x77, 0x6f,
504	0x72, 0x6b, 0x2e, 0x74, 0x68, 0x72, 0x69, 0x66, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e,
505	0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x10, 0x54, 0x68, 0x72, 0x69, 0x66, 0x74,
506	0x50, 0x72, 0x6f, 0x78, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xf2, 0x98, 0xfe, 0x8f,
507	0x05, 0x32, 0x12, 0x30, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73,
508	0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x6e, 0x65, 0x74,
509	0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x74, 0x68, 0x72, 0x69, 0x66, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x78,
510	0x79, 0x2e, 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72,
511	0x6f, 0x74, 0x6f, 0x33,
512}
513
514var (
515	file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_rawDescOnce sync.Once
516	file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_rawDescData = file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_rawDesc
517)
518
519func file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_rawDescGZIP() []byte {
520	file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_rawDescOnce.Do(func() {
521		file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_rawDescData)
522	})
523	return file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_rawDescData
524}
525
526var file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
527var file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
528var file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_goTypes = []interface{}{
529	(TransportType)(0),            // 0: envoy.config.filter.network.thrift_proxy.v2alpha1.TransportType
530	(ProtocolType)(0),             // 1: envoy.config.filter.network.thrift_proxy.v2alpha1.ProtocolType
531	(*ThriftProxy)(nil),           // 2: envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftProxy
532	(*ThriftFilter)(nil),          // 3: envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftFilter
533	(*ThriftProtocolOptions)(nil), // 4: envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftProtocolOptions
534	(*RouteConfiguration)(nil),    // 5: envoy.config.filter.network.thrift_proxy.v2alpha1.RouteConfiguration
535	(*_struct.Struct)(nil),        // 6: google.protobuf.Struct
536	(*any.Any)(nil),               // 7: google.protobuf.Any
537}
538var file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_depIdxs = []int32{
539	0, // 0: envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftProxy.transport:type_name -> envoy.config.filter.network.thrift_proxy.v2alpha1.TransportType
540	1, // 1: envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftProxy.protocol:type_name -> envoy.config.filter.network.thrift_proxy.v2alpha1.ProtocolType
541	5, // 2: envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftProxy.route_config:type_name -> envoy.config.filter.network.thrift_proxy.v2alpha1.RouteConfiguration
542	3, // 3: envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftProxy.thrift_filters:type_name -> envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftFilter
543	6, // 4: envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftFilter.config:type_name -> google.protobuf.Struct
544	7, // 5: envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftFilter.typed_config:type_name -> google.protobuf.Any
545	0, // 6: envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftProtocolOptions.transport:type_name -> envoy.config.filter.network.thrift_proxy.v2alpha1.TransportType
546	1, // 7: envoy.config.filter.network.thrift_proxy.v2alpha1.ThriftProtocolOptions.protocol:type_name -> envoy.config.filter.network.thrift_proxy.v2alpha1.ProtocolType
547	8, // [8:8] is the sub-list for method output_type
548	8, // [8:8] is the sub-list for method input_type
549	8, // [8:8] is the sub-list for extension type_name
550	8, // [8:8] is the sub-list for extension extendee
551	0, // [0:8] is the sub-list for field type_name
552}
553
554func init() { file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_init() }
555func file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_init() {
556	if File_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto != nil {
557		return
558	}
559	file_envoy_config_filter_network_thrift_proxy_v2alpha1_route_proto_init()
560	if !protoimpl.UnsafeEnabled {
561		file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
562			switch v := v.(*ThriftProxy); i {
563			case 0:
564				return &v.state
565			case 1:
566				return &v.sizeCache
567			case 2:
568				return &v.unknownFields
569			default:
570				return nil
571			}
572		}
573		file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
574			switch v := v.(*ThriftFilter); i {
575			case 0:
576				return &v.state
577			case 1:
578				return &v.sizeCache
579			case 2:
580				return &v.unknownFields
581			default:
582				return nil
583			}
584		}
585		file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
586			switch v := v.(*ThriftProtocolOptions); i {
587			case 0:
588				return &v.state
589			case 1:
590				return &v.sizeCache
591			case 2:
592				return &v.unknownFields
593			default:
594				return nil
595			}
596		}
597	}
598	file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_msgTypes[1].OneofWrappers = []interface{}{
599		(*ThriftFilter_Config)(nil),
600		(*ThriftFilter_TypedConfig)(nil),
601	}
602	type x struct{}
603	out := protoimpl.TypeBuilder{
604		File: protoimpl.DescBuilder{
605			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
606			RawDescriptor: file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_rawDesc,
607			NumEnums:      2,
608			NumMessages:   3,
609			NumExtensions: 0,
610			NumServices:   0,
611		},
612		GoTypes:           file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_goTypes,
613		DependencyIndexes: file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_depIdxs,
614		EnumInfos:         file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_enumTypes,
615		MessageInfos:      file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_msgTypes,
616	}.Build()
617	File_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto = out.File
618	file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_rawDesc = nil
619	file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_goTypes = nil
620	file_envoy_config_filter_network_thrift_proxy_v2alpha1_thrift_proxy_proto_depIdxs = nil
621}
622