1
2
3
4
5
6
7 package envoy_config_trace_v4alpha
8
9 import (
10 _ "github.com/cncf/udpa/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 _ "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
21 const (
22
23 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
24
25 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
26 )
27
28
29
30 const _ = proto.ProtoPackageIsVersion4
31
32
33
34
35
36
37
38
39
40
41 type Tracing struct {
42 state protoimpl.MessageState
43 sizeCache protoimpl.SizeCache
44 unknownFields protoimpl.UnknownFields
45
46
47 Http *Tracing_Http `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"`
48 }
49
50 func (x *Tracing) Reset() {
51 *x = Tracing{}
52 if protoimpl.UnsafeEnabled {
53 mi := &file_envoy_config_trace_v4alpha_http_tracer_proto_msgTypes[0]
54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
55 ms.StoreMessageInfo(mi)
56 }
57 }
58
59 func (x *Tracing) String() string {
60 return protoimpl.X.MessageStringOf(x)
61 }
62
63 func (*Tracing) ProtoMessage() {}
64
65 func (x *Tracing) ProtoReflect() protoreflect.Message {
66 mi := &file_envoy_config_trace_v4alpha_http_tracer_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
78 func (*Tracing) Descriptor() ([]byte, []int) {
79 return file_envoy_config_trace_v4alpha_http_tracer_proto_rawDescGZIP(), []int{0}
80 }
81
82 func (x *Tracing) GetHttp() *Tracing_Http {
83 if x != nil {
84 return x.Http
85 }
86 return nil
87 }
88
89
90
91
92
93
94
95 type Tracing_Http struct {
96 state protoimpl.MessageState
97 sizeCache protoimpl.SizeCache
98 unknownFields protoimpl.UnknownFields
99
100
101
102
103
104
105
106
107
108
109 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
110
111
112
113
114
115
116
117
118
119
120
121
122 ConfigType isTracing_Http_ConfigType `protobuf_oneof:"config_type"`
123 }
124
125 func (x *Tracing_Http) Reset() {
126 *x = Tracing_Http{}
127 if protoimpl.UnsafeEnabled {
128 mi := &file_envoy_config_trace_v4alpha_http_tracer_proto_msgTypes[1]
129 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
130 ms.StoreMessageInfo(mi)
131 }
132 }
133
134 func (x *Tracing_Http) String() string {
135 return protoimpl.X.MessageStringOf(x)
136 }
137
138 func (*Tracing_Http) ProtoMessage() {}
139
140 func (x *Tracing_Http) ProtoReflect() protoreflect.Message {
141 mi := &file_envoy_config_trace_v4alpha_http_tracer_proto_msgTypes[1]
142 if protoimpl.UnsafeEnabled && x != nil {
143 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
144 if ms.LoadMessageInfo() == nil {
145 ms.StoreMessageInfo(mi)
146 }
147 return ms
148 }
149 return mi.MessageOf(x)
150 }
151
152
153 func (*Tracing_Http) Descriptor() ([]byte, []int) {
154 return file_envoy_config_trace_v4alpha_http_tracer_proto_rawDescGZIP(), []int{0, 0}
155 }
156
157 func (x *Tracing_Http) GetName() string {
158 if x != nil {
159 return x.Name
160 }
161 return ""
162 }
163
164 func (m *Tracing_Http) GetConfigType() isTracing_Http_ConfigType {
165 if m != nil {
166 return m.ConfigType
167 }
168 return nil
169 }
170
171 func (x *Tracing_Http) GetTypedConfig() *any.Any {
172 if x, ok := x.GetConfigType().(*Tracing_Http_TypedConfig); ok {
173 return x.TypedConfig
174 }
175 return nil
176 }
177
178 type isTracing_Http_ConfigType interface {
179 isTracing_Http_ConfigType()
180 }
181
182 type Tracing_Http_TypedConfig struct {
183 TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
184 }
185
186 func (*Tracing_Http_TypedConfig) isTracing_Http_ConfigType() {}
187
188 var File_envoy_config_trace_v4alpha_http_tracer_proto protoreflect.FileDescriptor
189
190 var file_envoy_config_trace_v4alpha_http_tracer_proto_rawDesc = []byte{
191 0x0a, 0x2c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74,
192 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x68, 0x74, 0x74,
193 0x70, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a,
194 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61,
195 0x63, 0x65, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67,
196 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e,
197 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
198 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72,
199 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
200 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f,
201 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
202 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e,
203 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f,
204 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x96,
205 0x02, 0x0a, 0x07, 0x54, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x12, 0x3c, 0x0a, 0x04, 0x68, 0x74,
206 0x74, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79,
207 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x34,
208 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x2e, 0x48, 0x74,
209 0x74, 0x70, 0x52, 0x04, 0x68, 0x74, 0x74, 0x70, 0x1a, 0xa6, 0x01, 0x0a, 0x04, 0x48, 0x74, 0x74,
210 0x70, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
211 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39,
212 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03,
213 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
214 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x79,
215 0x70, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x29, 0x9a, 0xc5, 0x88, 0x1e, 0x24,
216 0x0a, 0x22, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74,
217 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x2e,
218 0x48, 0x74, 0x74, 0x70, 0x42, 0x0d, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x74,
219 0x79, 0x70, 0x65, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69,
220 0x67, 0x3a, 0x24, 0x9a, 0xc5, 0x88, 0x1e, 0x1f, 0x0a, 0x1d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
221 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x2e,
222 0x54, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x42, 0x45, 0x0a, 0x28, 0x69, 0x6f, 0x2e, 0x65, 0x6e,
223 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
224 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x34, 0x61, 0x6c,
225 0x70, 0x68, 0x61, 0x42, 0x0f, 0x48, 0x74, 0x74, 0x70, 0x54, 0x72, 0x61, 0x63, 0x65, 0x72, 0x50,
226 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x03, 0x62, 0x06,
227 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
228 }
229
230 var (
231 file_envoy_config_trace_v4alpha_http_tracer_proto_rawDescOnce sync.Once
232 file_envoy_config_trace_v4alpha_http_tracer_proto_rawDescData = file_envoy_config_trace_v4alpha_http_tracer_proto_rawDesc
233 )
234
235 func file_envoy_config_trace_v4alpha_http_tracer_proto_rawDescGZIP() []byte {
236 file_envoy_config_trace_v4alpha_http_tracer_proto_rawDescOnce.Do(func() {
237 file_envoy_config_trace_v4alpha_http_tracer_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_trace_v4alpha_http_tracer_proto_rawDescData)
238 })
239 return file_envoy_config_trace_v4alpha_http_tracer_proto_rawDescData
240 }
241
242 var file_envoy_config_trace_v4alpha_http_tracer_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
243 var file_envoy_config_trace_v4alpha_http_tracer_proto_goTypes = []interface{}{
244 (*Tracing)(nil),
245 (*Tracing_Http)(nil),
246 (*any.Any)(nil),
247 }
248 var file_envoy_config_trace_v4alpha_http_tracer_proto_depIdxs = []int32{
249 1,
250 2,
251 2,
252 2,
253 2,
254 2,
255 0,
256 }
257
258 func init() { file_envoy_config_trace_v4alpha_http_tracer_proto_init() }
259 func file_envoy_config_trace_v4alpha_http_tracer_proto_init() {
260 if File_envoy_config_trace_v4alpha_http_tracer_proto != nil {
261 return
262 }
263 if !protoimpl.UnsafeEnabled {
264 file_envoy_config_trace_v4alpha_http_tracer_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
265 switch v := v.(*Tracing); i {
266 case 0:
267 return &v.state
268 case 1:
269 return &v.sizeCache
270 case 2:
271 return &v.unknownFields
272 default:
273 return nil
274 }
275 }
276 file_envoy_config_trace_v4alpha_http_tracer_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
277 switch v := v.(*Tracing_Http); i {
278 case 0:
279 return &v.state
280 case 1:
281 return &v.sizeCache
282 case 2:
283 return &v.unknownFields
284 default:
285 return nil
286 }
287 }
288 }
289 file_envoy_config_trace_v4alpha_http_tracer_proto_msgTypes[1].OneofWrappers = []interface{}{
290 (*Tracing_Http_TypedConfig)(nil),
291 }
292 type x struct{}
293 out := protoimpl.TypeBuilder{
294 File: protoimpl.DescBuilder{
295 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
296 RawDescriptor: file_envoy_config_trace_v4alpha_http_tracer_proto_rawDesc,
297 NumEnums: 0,
298 NumMessages: 2,
299 NumExtensions: 0,
300 NumServices: 0,
301 },
302 GoTypes: file_envoy_config_trace_v4alpha_http_tracer_proto_goTypes,
303 DependencyIndexes: file_envoy_config_trace_v4alpha_http_tracer_proto_depIdxs,
304 MessageInfos: file_envoy_config_trace_v4alpha_http_tracer_proto_msgTypes,
305 }.Build()
306 File_envoy_config_trace_v4alpha_http_tracer_proto = out.File
307 file_envoy_config_trace_v4alpha_http_tracer_proto_rawDesc = nil
308 file_envoy_config_trace_v4alpha_http_tracer_proto_goTypes = nil
309 file_envoy_config_trace_v4alpha_http_tracer_proto_depIdxs = nil
310 }
311
View as plain text