Debian Codegraph @

envoy/config/trace/v3/http_tracer.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/config/trace/v3/http_tracer.proto
6
7 package tracev3
8
9 import (
10 _ "github.com/cncf/xds/go/udpa/annotations"
11 _ "github.com/envoyproxy/protoc-gen-validate/validate"
12 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14 anypb "google.golang.org/protobuf/types/known/anypb"
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 // The tracing configuration specifies settings for an HTTP tracer provider used by Envoy.
27 //
28 // Envoy may support other tracers in the future, but right now the HTTP tracer is the only one
29 // supported.
30 //
31 // .. attention::
32 //
33 // Use of this message type has been deprecated in favor of direct use of
34 // :ref:`Tracing.Http <envoy_v3_api_msg_config.trace.v3.Tracing.Http>`.
35 type Tracing struct {
36 state protoimpl.MessageState
37 sizeCache protoimpl.SizeCache
38 unknownFields protoimpl.UnknownFields
39
40 // Provides configuration for the HTTP tracer.
41 Http *Tracing_Http `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"`
42 }
43
44 func (x *Tracing) Reset() {
45 *x = Tracing{}
46 if protoimpl.UnsafeEnabled {
47 mi := &file_envoy_config_trace_v3_http_tracer_proto_msgTypes[0]
48 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
49 ms.StoreMessageInfo(mi)
50 }
51 }
52
53 func (x *Tracing) String() string {
54 return protoimpl.X.MessageStringOf(x)
55 }
56
57 func (*Tracing) ProtoMessage() {}
58
59 func (x *Tracing) ProtoReflect() protoreflect.Message {
60 mi := &file_envoy_config_trace_v3_http_tracer_proto_msgTypes[0]
61 if protoimpl.UnsafeEnabled && x != nil {
62 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
63 if ms.LoadMessageInfo() == nil {
64 ms.StoreMessageInfo(mi)
65 }
66 return ms
67 }
68 return mi.MessageOf(x)
69 }
70
71 // Deprecated: Use Tracing.ProtoReflect.Descriptor instead.
72 func (*Tracing) Descriptor() ([]byte, []int) {
73 return file_envoy_config_trace_v3_http_tracer_proto_rawDescGZIP(), []int{0}
74 }
75
76 func (x *Tracing) GetHttp() *Tracing_Http {
77 if x != nil {
78 return x.Http
79 }
80 return nil
81 }
82
83 // Configuration for an HTTP tracer provider used by Envoy.
84 //
85 // The configuration is defined by the
86 // :ref:`HttpConnectionManager.Tracing <envoy_v3_api_msg_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing>`
87 // :ref:`provider <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`
88 // field.
89 type Tracing_Http struct {
90 state protoimpl.MessageState
91 sizeCache protoimpl.SizeCache
92 unknownFields protoimpl.UnknownFields
93
94 // The name of the HTTP trace driver to instantiate. The name must match a
95 // supported HTTP trace driver.
96 // See the :ref:`extensions listed in typed_config below <extension_category_envoy.tracers>` for the default list of the HTTP trace driver.
97 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
98 // Trace driver specific configuration which must be set according to the driver being instantiated.
99 // [#extension-category: envoy.tracers]
100 //
101 // Types that are assignable to ConfigType:
102 //
103 // *Tracing_Http_TypedConfig
104 ConfigType isTracing_Http_ConfigType `protobuf_oneof:"config_type"`
105 }
106
107 func (x *Tracing_Http) Reset() {
108 *x = Tracing_Http{}
109 if protoimpl.UnsafeEnabled {
110 mi := &file_envoy_config_trace_v3_http_tracer_proto_msgTypes[1]
111 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
112 ms.StoreMessageInfo(mi)
113 }
114 }
115
116 func (x *Tracing_Http) String() string {
117 return protoimpl.X.MessageStringOf(x)
118 }
119
120 func (*Tracing_Http) ProtoMessage() {}
121
122 func (x *Tracing_Http) ProtoReflect() protoreflect.Message {
123 mi := &file_envoy_config_trace_v3_http_tracer_proto_msgTypes[1]
124 if protoimpl.UnsafeEnabled && x != nil {
125 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
126 if ms.LoadMessageInfo() == nil {
127 ms.StoreMessageInfo(mi)
128 }
129 return ms
130 }
131 return mi.MessageOf(x)
132 }
133
134 // Deprecated: Use Tracing_Http.ProtoReflect.Descriptor instead.
135 func (*Tracing_Http) Descriptor() ([]byte, []int) {
136 return file_envoy_config_trace_v3_http_tracer_proto_rawDescGZIP(), []int{0, 0}
137 }
138
139 func (x *Tracing_Http) GetName() string {
140 if x != nil {
141 return x.Name
142 }
143 return ""
144 }
145
146 func (m *Tracing_Http) GetConfigType() isTracing_Http_ConfigType {
147 if m != nil {
148 return m.ConfigType
149 }
150 return nil
151 }
152
153 func (x *Tracing_Http) GetTypedConfig() *anypb.Any {
154 if x, ok := x.GetConfigType().(*Tracing_Http_TypedConfig); ok {
155 return x.TypedConfig
156 }
157 return nil
158 }
159
160 type isTracing_Http_ConfigType interface {
161 isTracing_Http_ConfigType()
162 }
163
164 type Tracing_Http_TypedConfig struct {
165 TypedConfig *anypb.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
166 }
167
168 func (*Tracing_Http_TypedConfig) isTracing_Http_ConfigType() {}
169
170 var File_envoy_config_trace_v3_http_tracer_proto protoreflect.FileDescriptor
171
172 var file_envoy_config_trace_v3_http_tracer_proto_rawDesc = []byte{
173 0x0a, 0x27, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74,
174 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x74, 0x72, 0x61,
175 0x63, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x65, 0x6e, 0x76, 0x6f, 0x79,
176 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x33,
177 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
178 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70,
179 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74,
180 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61,
181 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72,
182 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76,
183 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
184 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x02, 0x0a, 0x07, 0x54, 0x72, 0x61, 0x63, 0x69,
185 0x6e, 0x67, 0x12, 0x37, 0x0a, 0x04, 0x68, 0x74, 0x74, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
186 0x32, 0x23, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
187 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67,
188 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x04, 0x68, 0x74, 0x74, 0x70, 0x1a, 0xa6, 0x01, 0x0a, 0x04,
189 0x48, 0x74, 0x74, 0x70, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
190 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d,
191 0x65, 0x12, 0x39, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
192 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
193 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x48, 0x00, 0x52,
194 0x0b, 0x74, 0x79, 0x70, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x29, 0x9a, 0xc5,
195 0x88, 0x1e, 0x24, 0x0a, 0x22, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
196 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x69,
197 0x6e, 0x67, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x42, 0x0d, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69,
198 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x06, 0x63, 0x6f,
199 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x24, 0x9a, 0xc5, 0x88, 0x1e, 0x1f, 0x0a, 0x1d, 0x65, 0x6e, 0x76,
200 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e,
201 0x76, 0x32, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x42, 0x86, 0x01, 0xba, 0x80, 0xc8,
202 0xd1, 0x06, 0x02, 0x10, 0x02, 0x0a, 0x23, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70,
203 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
204 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x0f, 0x48, 0x74, 0x74, 0x70,
205 0x54, 0x72, 0x61, 0x63, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x44, 0x67,
206 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70,
207 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2d,
208 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66,
209 0x69, 0x67, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x33, 0x3b, 0x74, 0x72, 0x61, 0x63,
210 0x65, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
211 }
212
213 var (
214 file_envoy_config_trace_v3_http_tracer_proto_rawDescOnce sync.Once
215 file_envoy_config_trace_v3_http_tracer_proto_rawDescData = file_envoy_config_trace_v3_http_tracer_proto_rawDesc
216 )
217
218 func file_envoy_config_trace_v3_http_tracer_proto_rawDescGZIP() []byte {
219 file_envoy_config_trace_v3_http_tracer_proto_rawDescOnce.Do(func() {
220 file_envoy_config_trace_v3_http_tracer_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_trace_v3_http_tracer_proto_rawDescData)
221 })
222 return file_envoy_config_trace_v3_http_tracer_proto_rawDescData
223 }
224
225 var file_envoy_config_trace_v3_http_tracer_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
226 var file_envoy_config_trace_v3_http_tracer_proto_goTypes = []interface{}{
227 (*Tracing)(nil), // 0: envoy.config.trace.v3.Tracing
228 (*Tracing_Http)(nil), // 1: envoy.config.trace.v3.Tracing.Http
229 (*anypb.Any)(nil), // 2: google.protobuf.Any
230 }
231 var file_envoy_config_trace_v3_http_tracer_proto_depIdxs = []int32{
232 1, // 0: envoy.config.trace.v3.Tracing.http:type_name -> envoy.config.trace.v3.Tracing.Http
233 2, // 1: envoy.config.trace.v3.Tracing.Http.typed_config:type_name -> google.protobuf.Any
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_config_trace_v3_http_tracer_proto_init() }
242 func file_envoy_config_trace_v3_http_tracer_proto_init() {
243 if File_envoy_config_trace_v3_http_tracer_proto != nil {
244 return
245 }
246 if !protoimpl.UnsafeEnabled {
247 file_envoy_config_trace_v3_http_tracer_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
248 switch v := v.(*Tracing); 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_config_trace_v3_http_tracer_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
260 switch v := v.(*Tracing_Http); 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_config_trace_v3_http_tracer_proto_msgTypes[1].OneofWrappers = []interface{}{
273 (*Tracing_Http_TypedConfig)(nil),
274 }
275 type x struct{}
276 out := protoimpl.TypeBuilder{
277 File: protoimpl.DescBuilder{
278 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
279 RawDescriptor: file_envoy_config_trace_v3_http_tracer_proto_rawDesc,
280 NumEnums: 0,
281 NumMessages: 2,
282 NumExtensions: 0,
283 NumServices: 0,
284 },
285 GoTypes: file_envoy_config_trace_v3_http_tracer_proto_goTypes,
286 DependencyIndexes: file_envoy_config_trace_v3_http_tracer_proto_depIdxs,
287 MessageInfos: file_envoy_config_trace_v3_http_tracer_proto_msgTypes,
288 }.Build()
289 File_envoy_config_trace_v3_http_tracer_proto = out.File
290 file_envoy_config_trace_v3_http_tracer_proto_rawDesc = nil
291 file_envoy_config_trace_v3_http_tracer_proto_goTypes = nil
292 file_envoy_config_trace_v3_http_tracer_proto_depIdxs = nil
293 }