1// Code generated by protoc-gen-go. DO NOT EDIT.
2// versions:
3// 	protoc-gen-go v1.25.0
4// 	protoc        v3.16.0
5// source: envoy/type/tracing/v2/custom_tag.proto
6
7package envoy_type_tracing_v2
8
9import (
10	_ "github.com/cncf/xds/go/udpa/annotations"
11	v2 "github.com/envoyproxy/go-control-plane/envoy/type/metadata/v2"
12	_ "github.com/envoyproxy/protoc-gen-validate/validate"
13	proto "github.com/golang/protobuf/proto"
14	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
15	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
16	reflect "reflect"
17	sync "sync"
18)
19
20const (
21	// Verify that this generated code is sufficiently up-to-date.
22	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
23	// Verify that runtime/protoimpl is sufficiently up-to-date.
24	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
25)
26
27// This is a compile-time assertion that a sufficiently up-to-date version
28// of the legacy proto package is being used.
29const _ = proto.ProtoPackageIsVersion4
30
31// Describes custom tags for the active span.
32// [#next-free-field: 6]
33type CustomTag struct {
34	state         protoimpl.MessageState
35	sizeCache     protoimpl.SizeCache
36	unknownFields protoimpl.UnknownFields
37
38	// Used to populate the tag name.
39	Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
40	// Used to specify what kind of custom tag.
41	//
42	// Types that are assignable to Type:
43	//	*CustomTag_Literal_
44	//	*CustomTag_Environment_
45	//	*CustomTag_RequestHeader
46	//	*CustomTag_Metadata_
47	Type isCustomTag_Type `protobuf_oneof:"type"`
48}
49
50func (x *CustomTag) Reset() {
51	*x = CustomTag{}
52	if protoimpl.UnsafeEnabled {
53		mi := &file_envoy_type_tracing_v2_custom_tag_proto_msgTypes[0]
54		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
55		ms.StoreMessageInfo(mi)
56	}
57}
58
59func (x *CustomTag) String() string {
60	return protoimpl.X.MessageStringOf(x)
61}
62
63func (*CustomTag) ProtoMessage() {}
64
65func (x *CustomTag) ProtoReflect() protoreflect.Message {
66	mi := &file_envoy_type_tracing_v2_custom_tag_proto_msgTypes[0]
67	if protoimpl.UnsafeEnabled && x != nil {
68		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
69		if ms.LoadMessageInfo() == nil {
70			ms.StoreMessageInfo(mi)
71		}
72		return ms
73	}
74	return mi.MessageOf(x)
75}
76
77// Deprecated: Use CustomTag.ProtoReflect.Descriptor instead.
78func (*CustomTag) Descriptor() ([]byte, []int) {
79	return file_envoy_type_tracing_v2_custom_tag_proto_rawDescGZIP(), []int{0}
80}
81
82func (x *CustomTag) GetTag() string {
83	if x != nil {
84		return x.Tag
85	}
86	return ""
87}
88
89func (m *CustomTag) GetType() isCustomTag_Type {
90	if m != nil {
91		return m.Type
92	}
93	return nil
94}
95
96func (x *CustomTag) GetLiteral() *CustomTag_Literal {
97	if x, ok := x.GetType().(*CustomTag_Literal_); ok {
98		return x.Literal
99	}
100	return nil
101}
102
103func (x *CustomTag) GetEnvironment() *CustomTag_Environment {
104	if x, ok := x.GetType().(*CustomTag_Environment_); ok {
105		return x.Environment
106	}
107	return nil
108}
109
110func (x *CustomTag) GetRequestHeader() *CustomTag_Header {
111	if x, ok := x.GetType().(*CustomTag_RequestHeader); ok {
112		return x.RequestHeader
113	}
114	return nil
115}
116
117func (x *CustomTag) GetMetadata() *CustomTag_Metadata {
118	if x, ok := x.GetType().(*CustomTag_Metadata_); ok {
119		return x.Metadata
120	}
121	return nil
122}
123
124type isCustomTag_Type interface {
125	isCustomTag_Type()
126}
127
128type CustomTag_Literal_ struct {
129	// A literal custom tag.
130	Literal *CustomTag_Literal `protobuf:"bytes,2,opt,name=literal,proto3,oneof"`
131}
132
133type CustomTag_Environment_ struct {
134	// An environment custom tag.
135	Environment *CustomTag_Environment `protobuf:"bytes,3,opt,name=environment,proto3,oneof"`
136}
137
138type CustomTag_RequestHeader struct {
139	// A request header custom tag.
140	RequestHeader *CustomTag_Header `protobuf:"bytes,4,opt,name=request_header,json=requestHeader,proto3,oneof"`
141}
142
143type CustomTag_Metadata_ struct {
144	// A custom tag to obtain tag value from the metadata.
145	Metadata *CustomTag_Metadata `protobuf:"bytes,5,opt,name=metadata,proto3,oneof"`
146}
147
148func (*CustomTag_Literal_) isCustomTag_Type() {}
149
150func (*CustomTag_Environment_) isCustomTag_Type() {}
151
152func (*CustomTag_RequestHeader) isCustomTag_Type() {}
153
154func (*CustomTag_Metadata_) isCustomTag_Type() {}
155
156// Literal type custom tag with static value for the tag value.
157type CustomTag_Literal struct {
158	state         protoimpl.MessageState
159	sizeCache     protoimpl.SizeCache
160	unknownFields protoimpl.UnknownFields
161
162	// Static literal value to populate the tag value.
163	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
164}
165
166func (x *CustomTag_Literal) Reset() {
167	*x = CustomTag_Literal{}
168	if protoimpl.UnsafeEnabled {
169		mi := &file_envoy_type_tracing_v2_custom_tag_proto_msgTypes[1]
170		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
171		ms.StoreMessageInfo(mi)
172	}
173}
174
175func (x *CustomTag_Literal) String() string {
176	return protoimpl.X.MessageStringOf(x)
177}
178
179func (*CustomTag_Literal) ProtoMessage() {}
180
181func (x *CustomTag_Literal) ProtoReflect() protoreflect.Message {
182	mi := &file_envoy_type_tracing_v2_custom_tag_proto_msgTypes[1]
183	if protoimpl.UnsafeEnabled && x != nil {
184		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
185		if ms.LoadMessageInfo() == nil {
186			ms.StoreMessageInfo(mi)
187		}
188		return ms
189	}
190	return mi.MessageOf(x)
191}
192
193// Deprecated: Use CustomTag_Literal.ProtoReflect.Descriptor instead.
194func (*CustomTag_Literal) Descriptor() ([]byte, []int) {
195	return file_envoy_type_tracing_v2_custom_tag_proto_rawDescGZIP(), []int{0, 0}
196}
197
198func (x *CustomTag_Literal) GetValue() string {
199	if x != nil {
200		return x.Value
201	}
202	return ""
203}
204
205// Environment type custom tag with environment name and default value.
206type CustomTag_Environment struct {
207	state         protoimpl.MessageState
208	sizeCache     protoimpl.SizeCache
209	unknownFields protoimpl.UnknownFields
210
211	// Environment variable name to obtain the value to populate the tag value.
212	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
213	// When the environment variable is not found,
214	// the tag value will be populated with this default value if specified,
215	// otherwise no tag will be populated.
216	DefaultValue string `protobuf:"bytes,2,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
217}
218
219func (x *CustomTag_Environment) Reset() {
220	*x = CustomTag_Environment{}
221	if protoimpl.UnsafeEnabled {
222		mi := &file_envoy_type_tracing_v2_custom_tag_proto_msgTypes[2]
223		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
224		ms.StoreMessageInfo(mi)
225	}
226}
227
228func (x *CustomTag_Environment) String() string {
229	return protoimpl.X.MessageStringOf(x)
230}
231
232func (*CustomTag_Environment) ProtoMessage() {}
233
234func (x *CustomTag_Environment) ProtoReflect() protoreflect.Message {
235	mi := &file_envoy_type_tracing_v2_custom_tag_proto_msgTypes[2]
236	if protoimpl.UnsafeEnabled && x != nil {
237		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
238		if ms.LoadMessageInfo() == nil {
239			ms.StoreMessageInfo(mi)
240		}
241		return ms
242	}
243	return mi.MessageOf(x)
244}
245
246// Deprecated: Use CustomTag_Environment.ProtoReflect.Descriptor instead.
247func (*CustomTag_Environment) Descriptor() ([]byte, []int) {
248	return file_envoy_type_tracing_v2_custom_tag_proto_rawDescGZIP(), []int{0, 1}
249}
250
251func (x *CustomTag_Environment) GetName() string {
252	if x != nil {
253		return x.Name
254	}
255	return ""
256}
257
258func (x *CustomTag_Environment) GetDefaultValue() string {
259	if x != nil {
260		return x.DefaultValue
261	}
262	return ""
263}
264
265// Header type custom tag with header name and default value.
266type CustomTag_Header struct {
267	state         protoimpl.MessageState
268	sizeCache     protoimpl.SizeCache
269	unknownFields protoimpl.UnknownFields
270
271	// Header name to obtain the value to populate the tag value.
272	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
273	// When the header does not exist,
274	// the tag value will be populated with this default value if specified,
275	// otherwise no tag will be populated.
276	DefaultValue string `protobuf:"bytes,2,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
277}
278
279func (x *CustomTag_Header) Reset() {
280	*x = CustomTag_Header{}
281	if protoimpl.UnsafeEnabled {
282		mi := &file_envoy_type_tracing_v2_custom_tag_proto_msgTypes[3]
283		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
284		ms.StoreMessageInfo(mi)
285	}
286}
287
288func (x *CustomTag_Header) String() string {
289	return protoimpl.X.MessageStringOf(x)
290}
291
292func (*CustomTag_Header) ProtoMessage() {}
293
294func (x *CustomTag_Header) ProtoReflect() protoreflect.Message {
295	mi := &file_envoy_type_tracing_v2_custom_tag_proto_msgTypes[3]
296	if protoimpl.UnsafeEnabled && x != nil {
297		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
298		if ms.LoadMessageInfo() == nil {
299			ms.StoreMessageInfo(mi)
300		}
301		return ms
302	}
303	return mi.MessageOf(x)
304}
305
306// Deprecated: Use CustomTag_Header.ProtoReflect.Descriptor instead.
307func (*CustomTag_Header) Descriptor() ([]byte, []int) {
308	return file_envoy_type_tracing_v2_custom_tag_proto_rawDescGZIP(), []int{0, 2}
309}
310
311func (x *CustomTag_Header) GetName() string {
312	if x != nil {
313		return x.Name
314	}
315	return ""
316}
317
318func (x *CustomTag_Header) GetDefaultValue() string {
319	if x != nil {
320		return x.DefaultValue
321	}
322	return ""
323}
324
325// Metadata type custom tag using
326// :ref:`MetadataKey <envoy_api_msg_type.metadata.v2.MetadataKey>` to retrieve the protobuf value
327// from :ref:`Metadata <envoy_api_msg_core.Metadata>`, and populate the tag value with
328// `the canonical JSON <https://developers.google.com/protocol-buffers/docs/proto3#json>`_
329// representation of it.
330type CustomTag_Metadata struct {
331	state         protoimpl.MessageState
332	sizeCache     protoimpl.SizeCache
333	unknownFields protoimpl.UnknownFields
334
335	// Specify what kind of metadata to obtain tag value from.
336	Kind *v2.MetadataKind `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
337	// Metadata key to define the path to retrieve the tag value.
338	MetadataKey *v2.MetadataKey `protobuf:"bytes,2,opt,name=metadata_key,json=metadataKey,proto3" json:"metadata_key,omitempty"`
339	// When no valid metadata is found,
340	// the tag value would be populated with this default value if specified,
341	// otherwise no tag would be populated.
342	DefaultValue string `protobuf:"bytes,3,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
343}
344
345func (x *CustomTag_Metadata) Reset() {
346	*x = CustomTag_Metadata{}
347	if protoimpl.UnsafeEnabled {
348		mi := &file_envoy_type_tracing_v2_custom_tag_proto_msgTypes[4]
349		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
350		ms.StoreMessageInfo(mi)
351	}
352}
353
354func (x *CustomTag_Metadata) String() string {
355	return protoimpl.X.MessageStringOf(x)
356}
357
358func (*CustomTag_Metadata) ProtoMessage() {}
359
360func (x *CustomTag_Metadata) ProtoReflect() protoreflect.Message {
361	mi := &file_envoy_type_tracing_v2_custom_tag_proto_msgTypes[4]
362	if protoimpl.UnsafeEnabled && x != nil {
363		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
364		if ms.LoadMessageInfo() == nil {
365			ms.StoreMessageInfo(mi)
366		}
367		return ms
368	}
369	return mi.MessageOf(x)
370}
371
372// Deprecated: Use CustomTag_Metadata.ProtoReflect.Descriptor instead.
373func (*CustomTag_Metadata) Descriptor() ([]byte, []int) {
374	return file_envoy_type_tracing_v2_custom_tag_proto_rawDescGZIP(), []int{0, 3}
375}
376
377func (x *CustomTag_Metadata) GetKind() *v2.MetadataKind {
378	if x != nil {
379		return x.Kind
380	}
381	return nil
382}
383
384func (x *CustomTag_Metadata) GetMetadataKey() *v2.MetadataKey {
385	if x != nil {
386		return x.MetadataKey
387	}
388	return nil
389}
390
391func (x *CustomTag_Metadata) GetDefaultValue() string {
392	if x != nil {
393		return x.DefaultValue
394	}
395	return ""
396}
397
398var File_envoy_type_tracing_v2_custom_tag_proto protoreflect.FileDescriptor
399
400var file_envoy_type_tracing_v2_custom_tag_proto_rawDesc = []byte{
401	0x0a, 0x26, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x74, 0x72, 0x61,
402	0x63, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x74,
403	0x61, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
404	0x74, 0x79, 0x70, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x1a,
405	0x25, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x65, 0x74, 0x61,
406	0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
407	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e,
408	0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e,
409	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f,
410	0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe7,
411	0x05, 0x0a, 0x09, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x54, 0x61, 0x67, 0x12, 0x19, 0x0a, 0x03,
412	0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02,
413	0x20, 0x01, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x44, 0x0a, 0x07, 0x6c, 0x69, 0x74, 0x65, 0x72,
414	0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
415	0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32,
416	0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x54, 0x61, 0x67, 0x2e, 0x4c, 0x69, 0x74, 0x65, 0x72,
417	0x61, 0x6c, 0x48, 0x00, 0x52, 0x07, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x12, 0x50, 0x0a,
418	0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01,
419	0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e,
420	0x74, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f,
421	0x6d, 0x54, 0x61, 0x67, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74,
422	0x48, 0x00, 0x52, 0x0b, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12,
423	0x50, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65,
424	0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
425	0x74, 0x79, 0x70, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x2e,
426	0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x54, 0x61, 0x67, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
427	0x48, 0x00, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65,
428	0x72, 0x12, 0x47, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20,
429	0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65,
430	0x2e, 0x74, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x75, 0x73, 0x74,
431	0x6f, 0x6d, 0x54, 0x61, 0x67, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00,
432	0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x28, 0x0a, 0x07, 0x4c, 0x69,
433	0x74, 0x65, 0x72, 0x61, 0x6c, 0x12, 0x1d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01,
434	0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x05, 0x76,
435	0x61, 0x6c, 0x75, 0x65, 0x1a, 0x4f, 0x0a, 0x0b, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d,
436	0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
437	0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
438	0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75,
439	0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
440	0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x50, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12,
441	0x21, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0d, 0xfa,
442	0x42, 0x0a, 0x72, 0x08, 0x20, 0x01, 0xc0, 0x01, 0x01, 0xc8, 0x01, 0x00, 0x52, 0x04, 0x6e, 0x61,
443	0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61,
444	0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75,
445	0x6c, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0xb1, 0x01, 0x0a, 0x08, 0x4d, 0x65, 0x74, 0x61,
446	0x64, 0x61, 0x74, 0x61, 0x12, 0x38, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01,
447	0x28, 0x0b, 0x32, 0x24, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e,
448	0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x74, 0x61,
449	0x64, 0x61, 0x74, 0x61, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x46,
450	0x0a, 0x0c, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02,
451	0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70,
452	0x65, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65,
453	0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4b, 0x65, 0x79, 0x52, 0x0b, 0x6d, 0x65, 0x74, 0x61, 0x64,
454	0x61, 0x74, 0x61, 0x4b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c,
455	0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64,
456	0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0b, 0x0a, 0x04, 0x74,
457	0x79, 0x70, 0x65, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x42, 0x3f, 0x0a, 0x23, 0x69, 0x6f, 0x2e, 0x65,
458	0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
459	0x74, 0x79, 0x70, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x42,
460	0x0e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x54, 0x61, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
461	0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
462	0x33,
463}
464
465var (
466	file_envoy_type_tracing_v2_custom_tag_proto_rawDescOnce sync.Once
467	file_envoy_type_tracing_v2_custom_tag_proto_rawDescData = file_envoy_type_tracing_v2_custom_tag_proto_rawDesc
468)
469
470func file_envoy_type_tracing_v2_custom_tag_proto_rawDescGZIP() []byte {
471	file_envoy_type_tracing_v2_custom_tag_proto_rawDescOnce.Do(func() {
472		file_envoy_type_tracing_v2_custom_tag_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_type_tracing_v2_custom_tag_proto_rawDescData)
473	})
474	return file_envoy_type_tracing_v2_custom_tag_proto_rawDescData
475}
476
477var file_envoy_type_tracing_v2_custom_tag_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
478var file_envoy_type_tracing_v2_custom_tag_proto_goTypes = []interface{}{
479	(*CustomTag)(nil),             // 0: envoy.type.tracing.v2.CustomTag
480	(*CustomTag_Literal)(nil),     // 1: envoy.type.tracing.v2.CustomTag.Literal
481	(*CustomTag_Environment)(nil), // 2: envoy.type.tracing.v2.CustomTag.Environment
482	(*CustomTag_Header)(nil),      // 3: envoy.type.tracing.v2.CustomTag.Header
483	(*CustomTag_Metadata)(nil),    // 4: envoy.type.tracing.v2.CustomTag.Metadata
484	(*v2.MetadataKind)(nil),       // 5: envoy.type.metadata.v2.MetadataKind
485	(*v2.MetadataKey)(nil),        // 6: envoy.type.metadata.v2.MetadataKey
486}
487var file_envoy_type_tracing_v2_custom_tag_proto_depIdxs = []int32{
488	1, // 0: envoy.type.tracing.v2.CustomTag.literal:type_name -> envoy.type.tracing.v2.CustomTag.Literal
489	2, // 1: envoy.type.tracing.v2.CustomTag.environment:type_name -> envoy.type.tracing.v2.CustomTag.Environment
490	3, // 2: envoy.type.tracing.v2.CustomTag.request_header:type_name -> envoy.type.tracing.v2.CustomTag.Header
491	4, // 3: envoy.type.tracing.v2.CustomTag.metadata:type_name -> envoy.type.tracing.v2.CustomTag.Metadata
492	5, // 4: envoy.type.tracing.v2.CustomTag.Metadata.kind:type_name -> envoy.type.metadata.v2.MetadataKind
493	6, // 5: envoy.type.tracing.v2.CustomTag.Metadata.metadata_key:type_name -> envoy.type.metadata.v2.MetadataKey
494	6, // [6:6] is the sub-list for method output_type
495	6, // [6:6] is the sub-list for method input_type
496	6, // [6:6] is the sub-list for extension type_name
497	6, // [6:6] is the sub-list for extension extendee
498	0, // [0:6] is the sub-list for field type_name
499}
500
501func init() { file_envoy_type_tracing_v2_custom_tag_proto_init() }
502func file_envoy_type_tracing_v2_custom_tag_proto_init() {
503	if File_envoy_type_tracing_v2_custom_tag_proto != nil {
504		return
505	}
506	if !protoimpl.UnsafeEnabled {
507		file_envoy_type_tracing_v2_custom_tag_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
508			switch v := v.(*CustomTag); i {
509			case 0:
510				return &v.state
511			case 1:
512				return &v.sizeCache
513			case 2:
514				return &v.unknownFields
515			default:
516				return nil
517			}
518		}
519		file_envoy_type_tracing_v2_custom_tag_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
520			switch v := v.(*CustomTag_Literal); i {
521			case 0:
522				return &v.state
523			case 1:
524				return &v.sizeCache
525			case 2:
526				return &v.unknownFields
527			default:
528				return nil
529			}
530		}
531		file_envoy_type_tracing_v2_custom_tag_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
532			switch v := v.(*CustomTag_Environment); i {
533			case 0:
534				return &v.state
535			case 1:
536				return &v.sizeCache
537			case 2:
538				return &v.unknownFields
539			default:
540				return nil
541			}
542		}
543		file_envoy_type_tracing_v2_custom_tag_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
544			switch v := v.(*CustomTag_Header); i {
545			case 0:
546				return &v.state
547			case 1:
548				return &v.sizeCache
549			case 2:
550				return &v.unknownFields
551			default:
552				return nil
553			}
554		}
555		file_envoy_type_tracing_v2_custom_tag_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
556			switch v := v.(*CustomTag_Metadata); i {
557			case 0:
558				return &v.state
559			case 1:
560				return &v.sizeCache
561			case 2:
562				return &v.unknownFields
563			default:
564				return nil
565			}
566		}
567	}
568	file_envoy_type_tracing_v2_custom_tag_proto_msgTypes[0].OneofWrappers = []interface{}{
569		(*CustomTag_Literal_)(nil),
570		(*CustomTag_Environment_)(nil),
571		(*CustomTag_RequestHeader)(nil),
572		(*CustomTag_Metadata_)(nil),
573	}
574	type x struct{}
575	out := protoimpl.TypeBuilder{
576		File: protoimpl.DescBuilder{
577			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
578			RawDescriptor: file_envoy_type_tracing_v2_custom_tag_proto_rawDesc,
579			NumEnums:      0,
580			NumMessages:   5,
581			NumExtensions: 0,
582			NumServices:   0,
583		},
584		GoTypes:           file_envoy_type_tracing_v2_custom_tag_proto_goTypes,
585		DependencyIndexes: file_envoy_type_tracing_v2_custom_tag_proto_depIdxs,
586		MessageInfos:      file_envoy_type_tracing_v2_custom_tag_proto_msgTypes,
587	}.Build()
588	File_envoy_type_tracing_v2_custom_tag_proto = out.File
589	file_envoy_type_tracing_v2_custom_tag_proto_rawDesc = nil
590	file_envoy_type_tracing_v2_custom_tag_proto_goTypes = nil
591	file_envoy_type_tracing_v2_custom_tag_proto_depIdxs = nil
592}
593