gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/go-control-plane/envoy/config/trace/v2/http_tracer.pb.go (about) 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/config/trace/v2/http_tracer.proto 6 7 package envoy_config_trace_v2 8 9 import ( 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 21 const ( 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. 30 const _ = proto.ProtoPackageIsVersion4 31 32 // The tracing configuration specifies settings for an HTTP tracer provider used by Envoy. 33 // 34 // Envoy may support other tracers in the future, but right now the HTTP tracer is the only one 35 // supported. 36 // 37 // .. attention:: 38 // 39 // Use of this message type has been deprecated in favor of direct use of 40 // :ref:`Tracing.Http <envoy_api_msg_config.trace.v2.Tracing.Http>`. 41 type Tracing struct { 42 state protoimpl.MessageState 43 sizeCache protoimpl.SizeCache 44 unknownFields protoimpl.UnknownFields 45 46 // Provides configuration for the HTTP tracer. 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_v2_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_v2_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 // Deprecated: Use Tracing.ProtoReflect.Descriptor instead. 78 func (*Tracing) Descriptor() ([]byte, []int) { 79 return file_envoy_config_trace_v2_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 // Configuration for an HTTP tracer provider used by Envoy. 90 // 91 // The configuration is defined by the 92 // :ref:`HttpConnectionManager.Tracing <envoy_api_msg_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing>` 93 // :ref:`provider <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>` 94 // field. 95 type Tracing_Http struct { 96 state protoimpl.MessageState 97 sizeCache protoimpl.SizeCache 98 unknownFields protoimpl.UnknownFields 99 100 // The name of the HTTP trace driver to instantiate. The name must match a 101 // supported HTTP trace driver. Built-in trace drivers: 102 // 103 // - *envoy.tracers.lightstep* 104 // - *envoy.tracers.zipkin* 105 // - *envoy.tracers.dynamic_ot* 106 // - *envoy.tracers.datadog* 107 // - *envoy.tracers.opencensus* 108 // - *envoy.tracers.xray* 109 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 110 // Trace driver specific configuration which depends on the driver being instantiated. 111 // See the trace drivers for examples: 112 // 113 // - :ref:`LightstepConfig <envoy_api_msg_config.trace.v2.LightstepConfig>` 114 // - :ref:`ZipkinConfig <envoy_api_msg_config.trace.v2.ZipkinConfig>` 115 // - :ref:`DynamicOtConfig <envoy_api_msg_config.trace.v2.DynamicOtConfig>` 116 // - :ref:`DatadogConfig <envoy_api_msg_config.trace.v2.DatadogConfig>` 117 // - :ref:`OpenCensusConfig <envoy_api_msg_config.trace.v2.OpenCensusConfig>` 118 // - :ref:`AWS X-Ray <envoy_api_msg_config.trace.v2alpha.XRayConfig>` 119 // 120 // Types that are assignable to ConfigType: 121 // *Tracing_Http_Config 122 // *Tracing_Http_TypedConfig 123 ConfigType isTracing_Http_ConfigType `protobuf_oneof:"config_type"` 124 } 125 126 func (x *Tracing_Http) Reset() { 127 *x = Tracing_Http{} 128 if protoimpl.UnsafeEnabled { 129 mi := &file_envoy_config_trace_v2_http_tracer_proto_msgTypes[1] 130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 131 ms.StoreMessageInfo(mi) 132 } 133 } 134 135 func (x *Tracing_Http) String() string { 136 return protoimpl.X.MessageStringOf(x) 137 } 138 139 func (*Tracing_Http) ProtoMessage() {} 140 141 func (x *Tracing_Http) ProtoReflect() protoreflect.Message { 142 mi := &file_envoy_config_trace_v2_http_tracer_proto_msgTypes[1] 143 if protoimpl.UnsafeEnabled && x != nil { 144 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 145 if ms.LoadMessageInfo() == nil { 146 ms.StoreMessageInfo(mi) 147 } 148 return ms 149 } 150 return mi.MessageOf(x) 151 } 152 153 // Deprecated: Use Tracing_Http.ProtoReflect.Descriptor instead. 154 func (*Tracing_Http) Descriptor() ([]byte, []int) { 155 return file_envoy_config_trace_v2_http_tracer_proto_rawDescGZIP(), []int{0, 0} 156 } 157 158 func (x *Tracing_Http) GetName() string { 159 if x != nil { 160 return x.Name 161 } 162 return "" 163 } 164 165 func (m *Tracing_Http) GetConfigType() isTracing_Http_ConfigType { 166 if m != nil { 167 return m.ConfigType 168 } 169 return nil 170 } 171 172 // Deprecated: Do not use. 173 func (x *Tracing_Http) GetConfig() *_struct.Struct { 174 if x, ok := x.GetConfigType().(*Tracing_Http_Config); ok { 175 return x.Config 176 } 177 return nil 178 } 179 180 func (x *Tracing_Http) GetTypedConfig() *any.Any { 181 if x, ok := x.GetConfigType().(*Tracing_Http_TypedConfig); ok { 182 return x.TypedConfig 183 } 184 return nil 185 } 186 187 type isTracing_Http_ConfigType interface { 188 isTracing_Http_ConfigType() 189 } 190 191 type Tracing_Http_Config struct { 192 // Deprecated: Do not use. 193 Config *_struct.Struct `protobuf:"bytes,2,opt,name=config,proto3,oneof"` 194 } 195 196 type Tracing_Http_TypedConfig struct { 197 TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"` 198 } 199 200 func (*Tracing_Http_Config) isTracing_Http_ConfigType() {} 201 202 func (*Tracing_Http_TypedConfig) isTracing_Http_ConfigType() {} 203 204 var File_envoy_config_trace_v2_http_tracer_proto protoreflect.FileDescriptor 205 206 var file_envoy_config_trace_v2_http_tracer_proto_rawDesc = []byte{ 207 0x0a, 0x27, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74, 208 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x32, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x74, 0x72, 0x61, 209 0x63, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x65, 0x6e, 0x76, 0x6f, 0x79, 210 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x32, 211 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 212 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 213 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 214 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 215 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 216 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 217 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 218 0x6f, 0x22, 0xe9, 0x01, 0x0a, 0x07, 0x54, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x12, 0x37, 0x0a, 219 0x04, 0x68, 0x74, 0x74, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x6e, 220 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 221 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x2e, 0x48, 0x74, 0x74, 0x70, 222 0x52, 0x04, 0x68, 0x74, 0x74, 0x70, 0x1a, 0xa4, 0x01, 0x0a, 0x04, 0x48, 0x74, 0x74, 0x70, 0x12, 223 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 224 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x06, 225 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 226 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 227 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x06, 0x63, 0x6f, 0x6e, 228 0x66, 0x69, 0x67, 0x12, 0x39, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 229 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 230 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x48, 231 0x00, 0x52, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x0d, 232 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0x40, 0x0a, 233 0x23, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 234 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 235 0x65, 0x2e, 0x76, 0x32, 0x42, 0x0f, 0x48, 0x74, 0x74, 0x70, 0x54, 0x72, 0x61, 0x63, 0x65, 0x72, 236 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 237 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 238 } 239 240 var ( 241 file_envoy_config_trace_v2_http_tracer_proto_rawDescOnce sync.Once 242 file_envoy_config_trace_v2_http_tracer_proto_rawDescData = file_envoy_config_trace_v2_http_tracer_proto_rawDesc 243 ) 244 245 func file_envoy_config_trace_v2_http_tracer_proto_rawDescGZIP() []byte { 246 file_envoy_config_trace_v2_http_tracer_proto_rawDescOnce.Do(func() { 247 file_envoy_config_trace_v2_http_tracer_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_trace_v2_http_tracer_proto_rawDescData) 248 }) 249 return file_envoy_config_trace_v2_http_tracer_proto_rawDescData 250 } 251 252 var file_envoy_config_trace_v2_http_tracer_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 253 var file_envoy_config_trace_v2_http_tracer_proto_goTypes = []interface{}{ 254 (*Tracing)(nil), // 0: envoy.config.trace.v2.Tracing 255 (*Tracing_Http)(nil), // 1: envoy.config.trace.v2.Tracing.Http 256 (*_struct.Struct)(nil), // 2: google.protobuf.Struct 257 (*any.Any)(nil), // 3: google.protobuf.Any 258 } 259 var file_envoy_config_trace_v2_http_tracer_proto_depIdxs = []int32{ 260 1, // 0: envoy.config.trace.v2.Tracing.http:type_name -> envoy.config.trace.v2.Tracing.Http 261 2, // 1: envoy.config.trace.v2.Tracing.Http.config:type_name -> google.protobuf.Struct 262 3, // 2: envoy.config.trace.v2.Tracing.Http.typed_config:type_name -> google.protobuf.Any 263 3, // [3:3] is the sub-list for method output_type 264 3, // [3:3] is the sub-list for method input_type 265 3, // [3:3] is the sub-list for extension type_name 266 3, // [3:3] is the sub-list for extension extendee 267 0, // [0:3] is the sub-list for field type_name 268 } 269 270 func init() { file_envoy_config_trace_v2_http_tracer_proto_init() } 271 func file_envoy_config_trace_v2_http_tracer_proto_init() { 272 if File_envoy_config_trace_v2_http_tracer_proto != nil { 273 return 274 } 275 if !protoimpl.UnsafeEnabled { 276 file_envoy_config_trace_v2_http_tracer_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 277 switch v := v.(*Tracing); 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 file_envoy_config_trace_v2_http_tracer_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 289 switch v := v.(*Tracing_Http); i { 290 case 0: 291 return &v.state 292 case 1: 293 return &v.sizeCache 294 case 2: 295 return &v.unknownFields 296 default: 297 return nil 298 } 299 } 300 } 301 file_envoy_config_trace_v2_http_tracer_proto_msgTypes[1].OneofWrappers = []interface{}{ 302 (*Tracing_Http_Config)(nil), 303 (*Tracing_Http_TypedConfig)(nil), 304 } 305 type x struct{} 306 out := protoimpl.TypeBuilder{ 307 File: protoimpl.DescBuilder{ 308 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 309 RawDescriptor: file_envoy_config_trace_v2_http_tracer_proto_rawDesc, 310 NumEnums: 0, 311 NumMessages: 2, 312 NumExtensions: 0, 313 NumServices: 0, 314 }, 315 GoTypes: file_envoy_config_trace_v2_http_tracer_proto_goTypes, 316 DependencyIndexes: file_envoy_config_trace_v2_http_tracer_proto_depIdxs, 317 MessageInfos: file_envoy_config_trace_v2_http_tracer_proto_msgTypes, 318 }.Build() 319 File_envoy_config_trace_v2_http_tracer_proto = out.File 320 file_envoy_config_trace_v2_http_tracer_proto_rawDesc = nil 321 file_envoy_config_trace_v2_http_tracer_proto_goTypes = nil 322 file_envoy_config_trace_v2_http_tracer_proto_depIdxs = nil 323 }