1// Code generated by protoc-gen-go. DO NOT EDIT.
2// versions:
3// 	protoc-gen-go v1.25.0
4// 	protoc        v3.19.1
5// source: envoy/type/metadata/v2/metadata.proto
6
7package envoy_type_metadata_v2
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	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
14	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
15	reflect "reflect"
16	sync "sync"
17)
18
19const (
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// This is a compile-time assertion that a sufficiently up-to-date version
27// of the legacy proto package is being used.
28const _ = proto.ProtoPackageIsVersion4
29
30// MetadataKey provides a general interface using `key` and `path` to retrieve value from
31// :ref:`Metadata <envoy_api_msg_core.Metadata>`.
32//
33// For example, for the following Metadata:
34//
35// .. code-block:: yaml
36//
37//    filter_metadata:
38//      envoy.xxx:
39//        prop:
40//          foo: bar
41//          xyz:
42//            hello: envoy
43//
44// The following MetadataKey will retrieve a string value "bar" from the Metadata.
45//
46// .. code-block:: yaml
47//
48//    key: envoy.xxx
49//    path:
50//    - key: prop
51//    - key: foo
52//
53type MetadataKey struct {
54	state         protoimpl.MessageState
55	sizeCache     protoimpl.SizeCache
56	unknownFields protoimpl.UnknownFields
57
58	// The key name of Metadata to retrieve the Struct from the metadata.
59	// Typically, it represents a builtin subsystem or custom extension.
60	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
61	// The path to retrieve the Value from the Struct. It can be a prefix or a full path,
62	// e.g. ``[prop, xyz]`` for a struct or ``[prop, foo]`` for a string in the example,
63	// which depends on the particular scenario.
64	//
65	// Note: Due to that only the key type segment is supported, the path can not specify a list
66	// unless the list is the last segment.
67	Path []*MetadataKey_PathSegment `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"`
68}
69
70func (x *MetadataKey) Reset() {
71	*x = MetadataKey{}
72	if protoimpl.UnsafeEnabled {
73		mi := &file_envoy_type_metadata_v2_metadata_proto_msgTypes[0]
74		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
75		ms.StoreMessageInfo(mi)
76	}
77}
78
79func (x *MetadataKey) String() string {
80	return protoimpl.X.MessageStringOf(x)
81}
82
83func (*MetadataKey) ProtoMessage() {}
84
85func (x *MetadataKey) ProtoReflect() protoreflect.Message {
86	mi := &file_envoy_type_metadata_v2_metadata_proto_msgTypes[0]
87	if protoimpl.UnsafeEnabled && x != nil {
88		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
89		if ms.LoadMessageInfo() == nil {
90			ms.StoreMessageInfo(mi)
91		}
92		return ms
93	}
94	return mi.MessageOf(x)
95}
96
97// Deprecated: Use MetadataKey.ProtoReflect.Descriptor instead.
98func (*MetadataKey) Descriptor() ([]byte, []int) {
99	return file_envoy_type_metadata_v2_metadata_proto_rawDescGZIP(), []int{0}
100}
101
102func (x *MetadataKey) GetKey() string {
103	if x != nil {
104		return x.Key
105	}
106	return ""
107}
108
109func (x *MetadataKey) GetPath() []*MetadataKey_PathSegment {
110	if x != nil {
111		return x.Path
112	}
113	return nil
114}
115
116// Describes what kind of metadata.
117type MetadataKind struct {
118	state         protoimpl.MessageState
119	sizeCache     protoimpl.SizeCache
120	unknownFields protoimpl.UnknownFields
121
122	// Types that are assignable to Kind:
123	//	*MetadataKind_Request_
124	//	*MetadataKind_Route_
125	//	*MetadataKind_Cluster_
126	//	*MetadataKind_Host_
127	Kind isMetadataKind_Kind `protobuf_oneof:"kind"`
128}
129
130func (x *MetadataKind) Reset() {
131	*x = MetadataKind{}
132	if protoimpl.UnsafeEnabled {
133		mi := &file_envoy_type_metadata_v2_metadata_proto_msgTypes[1]
134		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
135		ms.StoreMessageInfo(mi)
136	}
137}
138
139func (x *MetadataKind) String() string {
140	return protoimpl.X.MessageStringOf(x)
141}
142
143func (*MetadataKind) ProtoMessage() {}
144
145func (x *MetadataKind) ProtoReflect() protoreflect.Message {
146	mi := &file_envoy_type_metadata_v2_metadata_proto_msgTypes[1]
147	if protoimpl.UnsafeEnabled && x != nil {
148		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
149		if ms.LoadMessageInfo() == nil {
150			ms.StoreMessageInfo(mi)
151		}
152		return ms
153	}
154	return mi.MessageOf(x)
155}
156
157// Deprecated: Use MetadataKind.ProtoReflect.Descriptor instead.
158func (*MetadataKind) Descriptor() ([]byte, []int) {
159	return file_envoy_type_metadata_v2_metadata_proto_rawDescGZIP(), []int{1}
160}
161
162func (m *MetadataKind) GetKind() isMetadataKind_Kind {
163	if m != nil {
164		return m.Kind
165	}
166	return nil
167}
168
169func (x *MetadataKind) GetRequest() *MetadataKind_Request {
170	if x, ok := x.GetKind().(*MetadataKind_Request_); ok {
171		return x.Request
172	}
173	return nil
174}
175
176func (x *MetadataKind) GetRoute() *MetadataKind_Route {
177	if x, ok := x.GetKind().(*MetadataKind_Route_); ok {
178		return x.Route
179	}
180	return nil
181}
182
183func (x *MetadataKind) GetCluster() *MetadataKind_Cluster {
184	if x, ok := x.GetKind().(*MetadataKind_Cluster_); ok {
185		return x.Cluster
186	}
187	return nil
188}
189
190func (x *MetadataKind) GetHost() *MetadataKind_Host {
191	if x, ok := x.GetKind().(*MetadataKind_Host_); ok {
192		return x.Host
193	}
194	return nil
195}
196
197type isMetadataKind_Kind interface {
198	isMetadataKind_Kind()
199}
200
201type MetadataKind_Request_ struct {
202	// Request kind of metadata.
203	Request *MetadataKind_Request `protobuf:"bytes,1,opt,name=request,proto3,oneof"`
204}
205
206type MetadataKind_Route_ struct {
207	// Route kind of metadata.
208	Route *MetadataKind_Route `protobuf:"bytes,2,opt,name=route,proto3,oneof"`
209}
210
211type MetadataKind_Cluster_ struct {
212	// Cluster kind of metadata.
213	Cluster *MetadataKind_Cluster `protobuf:"bytes,3,opt,name=cluster,proto3,oneof"`
214}
215
216type MetadataKind_Host_ struct {
217	// Host kind of metadata.
218	Host *MetadataKind_Host `protobuf:"bytes,4,opt,name=host,proto3,oneof"`
219}
220
221func (*MetadataKind_Request_) isMetadataKind_Kind() {}
222
223func (*MetadataKind_Route_) isMetadataKind_Kind() {}
224
225func (*MetadataKind_Cluster_) isMetadataKind_Kind() {}
226
227func (*MetadataKind_Host_) isMetadataKind_Kind() {}
228
229// Specifies the segment in a path to retrieve value from Metadata.
230// Currently it is only supported to specify the key, i.e. field name, as one segment of a path.
231type MetadataKey_PathSegment struct {
232	state         protoimpl.MessageState
233	sizeCache     protoimpl.SizeCache
234	unknownFields protoimpl.UnknownFields
235
236	// Types that are assignable to Segment:
237	//	*MetadataKey_PathSegment_Key
238	Segment isMetadataKey_PathSegment_Segment `protobuf_oneof:"segment"`
239}
240
241func (x *MetadataKey_PathSegment) Reset() {
242	*x = MetadataKey_PathSegment{}
243	if protoimpl.UnsafeEnabled {
244		mi := &file_envoy_type_metadata_v2_metadata_proto_msgTypes[2]
245		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
246		ms.StoreMessageInfo(mi)
247	}
248}
249
250func (x *MetadataKey_PathSegment) String() string {
251	return protoimpl.X.MessageStringOf(x)
252}
253
254func (*MetadataKey_PathSegment) ProtoMessage() {}
255
256func (x *MetadataKey_PathSegment) ProtoReflect() protoreflect.Message {
257	mi := &file_envoy_type_metadata_v2_metadata_proto_msgTypes[2]
258	if protoimpl.UnsafeEnabled && x != nil {
259		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
260		if ms.LoadMessageInfo() == nil {
261			ms.StoreMessageInfo(mi)
262		}
263		return ms
264	}
265	return mi.MessageOf(x)
266}
267
268// Deprecated: Use MetadataKey_PathSegment.ProtoReflect.Descriptor instead.
269func (*MetadataKey_PathSegment) Descriptor() ([]byte, []int) {
270	return file_envoy_type_metadata_v2_metadata_proto_rawDescGZIP(), []int{0, 0}
271}
272
273func (m *MetadataKey_PathSegment) GetSegment() isMetadataKey_PathSegment_Segment {
274	if m != nil {
275		return m.Segment
276	}
277	return nil
278}
279
280func (x *MetadataKey_PathSegment) GetKey() string {
281	if x, ok := x.GetSegment().(*MetadataKey_PathSegment_Key); ok {
282		return x.Key
283	}
284	return ""
285}
286
287type isMetadataKey_PathSegment_Segment interface {
288	isMetadataKey_PathSegment_Segment()
289}
290
291type MetadataKey_PathSegment_Key struct {
292	// If specified, use the key to retrieve the value in a Struct.
293	Key string `protobuf:"bytes,1,opt,name=key,proto3,oneof"`
294}
295
296func (*MetadataKey_PathSegment_Key) isMetadataKey_PathSegment_Segment() {}
297
298// Represents dynamic metadata associated with the request.
299type MetadataKind_Request struct {
300	state         protoimpl.MessageState
301	sizeCache     protoimpl.SizeCache
302	unknownFields protoimpl.UnknownFields
303}
304
305func (x *MetadataKind_Request) Reset() {
306	*x = MetadataKind_Request{}
307	if protoimpl.UnsafeEnabled {
308		mi := &file_envoy_type_metadata_v2_metadata_proto_msgTypes[3]
309		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
310		ms.StoreMessageInfo(mi)
311	}
312}
313
314func (x *MetadataKind_Request) String() string {
315	return protoimpl.X.MessageStringOf(x)
316}
317
318func (*MetadataKind_Request) ProtoMessage() {}
319
320func (x *MetadataKind_Request) ProtoReflect() protoreflect.Message {
321	mi := &file_envoy_type_metadata_v2_metadata_proto_msgTypes[3]
322	if protoimpl.UnsafeEnabled && x != nil {
323		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
324		if ms.LoadMessageInfo() == nil {
325			ms.StoreMessageInfo(mi)
326		}
327		return ms
328	}
329	return mi.MessageOf(x)
330}
331
332// Deprecated: Use MetadataKind_Request.ProtoReflect.Descriptor instead.
333func (*MetadataKind_Request) Descriptor() ([]byte, []int) {
334	return file_envoy_type_metadata_v2_metadata_proto_rawDescGZIP(), []int{1, 0}
335}
336
337// Represents metadata from :ref:`the route<envoy_api_field_route.Route.metadata>`.
338type MetadataKind_Route struct {
339	state         protoimpl.MessageState
340	sizeCache     protoimpl.SizeCache
341	unknownFields protoimpl.UnknownFields
342}
343
344func (x *MetadataKind_Route) Reset() {
345	*x = MetadataKind_Route{}
346	if protoimpl.UnsafeEnabled {
347		mi := &file_envoy_type_metadata_v2_metadata_proto_msgTypes[4]
348		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
349		ms.StoreMessageInfo(mi)
350	}
351}
352
353func (x *MetadataKind_Route) String() string {
354	return protoimpl.X.MessageStringOf(x)
355}
356
357func (*MetadataKind_Route) ProtoMessage() {}
358
359func (x *MetadataKind_Route) ProtoReflect() protoreflect.Message {
360	mi := &file_envoy_type_metadata_v2_metadata_proto_msgTypes[4]
361	if protoimpl.UnsafeEnabled && x != nil {
362		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
363		if ms.LoadMessageInfo() == nil {
364			ms.StoreMessageInfo(mi)
365		}
366		return ms
367	}
368	return mi.MessageOf(x)
369}
370
371// Deprecated: Use MetadataKind_Route.ProtoReflect.Descriptor instead.
372func (*MetadataKind_Route) Descriptor() ([]byte, []int) {
373	return file_envoy_type_metadata_v2_metadata_proto_rawDescGZIP(), []int{1, 1}
374}
375
376// Represents metadata from :ref:`the upstream cluster<envoy_api_field_Cluster.metadata>`.
377type MetadataKind_Cluster struct {
378	state         protoimpl.MessageState
379	sizeCache     protoimpl.SizeCache
380	unknownFields protoimpl.UnknownFields
381}
382
383func (x *MetadataKind_Cluster) Reset() {
384	*x = MetadataKind_Cluster{}
385	if protoimpl.UnsafeEnabled {
386		mi := &file_envoy_type_metadata_v2_metadata_proto_msgTypes[5]
387		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
388		ms.StoreMessageInfo(mi)
389	}
390}
391
392func (x *MetadataKind_Cluster) String() string {
393	return protoimpl.X.MessageStringOf(x)
394}
395
396func (*MetadataKind_Cluster) ProtoMessage() {}
397
398func (x *MetadataKind_Cluster) ProtoReflect() protoreflect.Message {
399	mi := &file_envoy_type_metadata_v2_metadata_proto_msgTypes[5]
400	if protoimpl.UnsafeEnabled && x != nil {
401		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
402		if ms.LoadMessageInfo() == nil {
403			ms.StoreMessageInfo(mi)
404		}
405		return ms
406	}
407	return mi.MessageOf(x)
408}
409
410// Deprecated: Use MetadataKind_Cluster.ProtoReflect.Descriptor instead.
411func (*MetadataKind_Cluster) Descriptor() ([]byte, []int) {
412	return file_envoy_type_metadata_v2_metadata_proto_rawDescGZIP(), []int{1, 2}
413}
414
415// Represents metadata from :ref:`the upstream
416// host<envoy_api_field_endpoint.LbEndpoint.metadata>`.
417type MetadataKind_Host struct {
418	state         protoimpl.MessageState
419	sizeCache     protoimpl.SizeCache
420	unknownFields protoimpl.UnknownFields
421}
422
423func (x *MetadataKind_Host) Reset() {
424	*x = MetadataKind_Host{}
425	if protoimpl.UnsafeEnabled {
426		mi := &file_envoy_type_metadata_v2_metadata_proto_msgTypes[6]
427		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
428		ms.StoreMessageInfo(mi)
429	}
430}
431
432func (x *MetadataKind_Host) String() string {
433	return protoimpl.X.MessageStringOf(x)
434}
435
436func (*MetadataKind_Host) ProtoMessage() {}
437
438func (x *MetadataKind_Host) ProtoReflect() protoreflect.Message {
439	mi := &file_envoy_type_metadata_v2_metadata_proto_msgTypes[6]
440	if protoimpl.UnsafeEnabled && x != nil {
441		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
442		if ms.LoadMessageInfo() == nil {
443			ms.StoreMessageInfo(mi)
444		}
445		return ms
446	}
447	return mi.MessageOf(x)
448}
449
450// Deprecated: Use MetadataKind_Host.ProtoReflect.Descriptor instead.
451func (*MetadataKind_Host) Descriptor() ([]byte, []int) {
452	return file_envoy_type_metadata_v2_metadata_proto_rawDescGZIP(), []int{1, 3}
453}
454
455var File_envoy_type_metadata_v2_metadata_proto protoreflect.FileDescriptor
456
457var file_envoy_type_metadata_v2_metadata_proto_rawDesc = []byte{
458	0x0a, 0x25, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x65, 0x74,
459	0x61, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
460	0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74,
461	0x79, 0x70, 0x65, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x32, 0x1a,
462	0x1e, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
463	0x73, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
464	0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
465	0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17,
466	0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
467	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb3, 0x01, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x61,
468	0x64, 0x61, 0x74, 0x61, 0x4b, 0x65, 0x79, 0x12, 0x19, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
469	0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x03, 0x6b,
470	0x65, 0x79, 0x12, 0x4d, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
471	0x32, 0x2f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x65,
472	0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
473	0x74, 0x61, 0x4b, 0x65, 0x79, 0x2e, 0x50, 0x61, 0x74, 0x68, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e,
474	0x74, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x92, 0x01, 0x02, 0x08, 0x01, 0x52, 0x04, 0x70, 0x61, 0x74,
475	0x68, 0x1a, 0x3a, 0x0a, 0x0b, 0x50, 0x61, 0x74, 0x68, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74,
476	0x12, 0x1b, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa,
477	0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x48, 0x00, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x42, 0x0e, 0x0a,
478	0x07, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x22, 0xdb, 0x02,
479	0x0a, 0x0c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x48,
480	0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
481	0x2c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x65, 0x74,
482	0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
483	0x61, 0x4b, 0x69, 0x6e, 0x64, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52,
484	0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x42, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x74,
485	0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
486	0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x32,
487	0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4b, 0x69, 0x6e, 0x64, 0x2e, 0x52, 0x6f,
488	0x75, 0x74, 0x65, 0x48, 0x00, 0x52, 0x05, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x48, 0x0a, 0x07,
489	0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e,
490	0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x64,
491	0x61, 0x74, 0x61, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4b,
492	0x69, 0x6e, 0x64, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x07, 0x63,
493	0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x3f, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x04,
494	0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70,
495	0x65, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65,
496	0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4b, 0x69, 0x6e, 0x64, 0x2e, 0x48, 0x6f, 0x73, 0x74, 0x48,
497	0x00, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x1a, 0x09, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65,
498	0x73, 0x74, 0x1a, 0x07, 0x0a, 0x05, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x1a, 0x09, 0x0a, 0x07, 0x43,
499	0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x1a, 0x06, 0x0a, 0x04, 0x48, 0x6f, 0x73, 0x74, 0x42, 0x0b,
500	0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x42, 0x5d, 0x0a, 0x24, 0x69,
501	0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76,
502	0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
503	0x2e, 0x76, 0x32, 0x42, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x50, 0x72, 0x6f,
504	0x74, 0x6f, 0x50, 0x01, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x18, 0x12, 0x16, 0x65, 0x6e, 0x76, 0x6f,
505	0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e,
506	0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
507	0x6f, 0x33,
508}
509
510var (
511	file_envoy_type_metadata_v2_metadata_proto_rawDescOnce sync.Once
512	file_envoy_type_metadata_v2_metadata_proto_rawDescData = file_envoy_type_metadata_v2_metadata_proto_rawDesc
513)
514
515func file_envoy_type_metadata_v2_metadata_proto_rawDescGZIP() []byte {
516	file_envoy_type_metadata_v2_metadata_proto_rawDescOnce.Do(func() {
517		file_envoy_type_metadata_v2_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_type_metadata_v2_metadata_proto_rawDescData)
518	})
519	return file_envoy_type_metadata_v2_metadata_proto_rawDescData
520}
521
522var file_envoy_type_metadata_v2_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
523var file_envoy_type_metadata_v2_metadata_proto_goTypes = []interface{}{
524	(*MetadataKey)(nil),             // 0: envoy.type.metadata.v2.MetadataKey
525	(*MetadataKind)(nil),            // 1: envoy.type.metadata.v2.MetadataKind
526	(*MetadataKey_PathSegment)(nil), // 2: envoy.type.metadata.v2.MetadataKey.PathSegment
527	(*MetadataKind_Request)(nil),    // 3: envoy.type.metadata.v2.MetadataKind.Request
528	(*MetadataKind_Route)(nil),      // 4: envoy.type.metadata.v2.MetadataKind.Route
529	(*MetadataKind_Cluster)(nil),    // 5: envoy.type.metadata.v2.MetadataKind.Cluster
530	(*MetadataKind_Host)(nil),       // 6: envoy.type.metadata.v2.MetadataKind.Host
531}
532var file_envoy_type_metadata_v2_metadata_proto_depIdxs = []int32{
533	2, // 0: envoy.type.metadata.v2.MetadataKey.path:type_name -> envoy.type.metadata.v2.MetadataKey.PathSegment
534	3, // 1: envoy.type.metadata.v2.MetadataKind.request:type_name -> envoy.type.metadata.v2.MetadataKind.Request
535	4, // 2: envoy.type.metadata.v2.MetadataKind.route:type_name -> envoy.type.metadata.v2.MetadataKind.Route
536	5, // 3: envoy.type.metadata.v2.MetadataKind.cluster:type_name -> envoy.type.metadata.v2.MetadataKind.Cluster
537	6, // 4: envoy.type.metadata.v2.MetadataKind.host:type_name -> envoy.type.metadata.v2.MetadataKind.Host
538	5, // [5:5] is the sub-list for method output_type
539	5, // [5:5] is the sub-list for method input_type
540	5, // [5:5] is the sub-list for extension type_name
541	5, // [5:5] is the sub-list for extension extendee
542	0, // [0:5] is the sub-list for field type_name
543}
544
545func init() { file_envoy_type_metadata_v2_metadata_proto_init() }
546func file_envoy_type_metadata_v2_metadata_proto_init() {
547	if File_envoy_type_metadata_v2_metadata_proto != nil {
548		return
549	}
550	if !protoimpl.UnsafeEnabled {
551		file_envoy_type_metadata_v2_metadata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
552			switch v := v.(*MetadataKey); i {
553			case 0:
554				return &v.state
555			case 1:
556				return &v.sizeCache
557			case 2:
558				return &v.unknownFields
559			default:
560				return nil
561			}
562		}
563		file_envoy_type_metadata_v2_metadata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
564			switch v := v.(*MetadataKind); i {
565			case 0:
566				return &v.state
567			case 1:
568				return &v.sizeCache
569			case 2:
570				return &v.unknownFields
571			default:
572				return nil
573			}
574		}
575		file_envoy_type_metadata_v2_metadata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
576			switch v := v.(*MetadataKey_PathSegment); i {
577			case 0:
578				return &v.state
579			case 1:
580				return &v.sizeCache
581			case 2:
582				return &v.unknownFields
583			default:
584				return nil
585			}
586		}
587		file_envoy_type_metadata_v2_metadata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
588			switch v := v.(*MetadataKind_Request); i {
589			case 0:
590				return &v.state
591			case 1:
592				return &v.sizeCache
593			case 2:
594				return &v.unknownFields
595			default:
596				return nil
597			}
598		}
599		file_envoy_type_metadata_v2_metadata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
600			switch v := v.(*MetadataKind_Route); i {
601			case 0:
602				return &v.state
603			case 1:
604				return &v.sizeCache
605			case 2:
606				return &v.unknownFields
607			default:
608				return nil
609			}
610		}
611		file_envoy_type_metadata_v2_metadata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
612			switch v := v.(*MetadataKind_Cluster); i {
613			case 0:
614				return &v.state
615			case 1:
616				return &v.sizeCache
617			case 2:
618				return &v.unknownFields
619			default:
620				return nil
621			}
622		}
623		file_envoy_type_metadata_v2_metadata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
624			switch v := v.(*MetadataKind_Host); i {
625			case 0:
626				return &v.state
627			case 1:
628				return &v.sizeCache
629			case 2:
630				return &v.unknownFields
631			default:
632				return nil
633			}
634		}
635	}
636	file_envoy_type_metadata_v2_metadata_proto_msgTypes[1].OneofWrappers = []interface{}{
637		(*MetadataKind_Request_)(nil),
638		(*MetadataKind_Route_)(nil),
639		(*MetadataKind_Cluster_)(nil),
640		(*MetadataKind_Host_)(nil),
641	}
642	file_envoy_type_metadata_v2_metadata_proto_msgTypes[2].OneofWrappers = []interface{}{
643		(*MetadataKey_PathSegment_Key)(nil),
644	}
645	type x struct{}
646	out := protoimpl.TypeBuilder{
647		File: protoimpl.DescBuilder{
648			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
649			RawDescriptor: file_envoy_type_metadata_v2_metadata_proto_rawDesc,
650			NumEnums:      0,
651			NumMessages:   7,
652			NumExtensions: 0,
653			NumServices:   0,
654		},
655		GoTypes:           file_envoy_type_metadata_v2_metadata_proto_goTypes,
656		DependencyIndexes: file_envoy_type_metadata_v2_metadata_proto_depIdxs,
657		MessageInfos:      file_envoy_type_metadata_v2_metadata_proto_msgTypes,
658	}.Build()
659	File_envoy_type_metadata_v2_metadata_proto = out.File
660	file_envoy_type_metadata_v2_metadata_proto_rawDesc = nil
661	file_envoy_type_metadata_v2_metadata_proto_goTypes = nil
662	file_envoy_type_metadata_v2_metadata_proto_depIdxs = nil
663}
664