github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/config/trace/v3/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/v3/http_tracer.proto 6 7 package envoy_config_trace_v3 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 _ "github.com/hxx258456/ccgo/go-control-plane/envoy/annotations" 12 _ "github.com/envoyproxy/protoc-gen-validate/validate" 13 proto "github.com/golang/protobuf/proto" 14 any "github.com/golang/protobuf/ptypes/any" 15 _struct "github.com/golang/protobuf/ptypes/struct" 16 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 17 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 18 reflect "reflect" 19 sync "sync" 20 ) 21 22 const ( 23 // Verify that this generated code is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 25 // Verify that runtime/protoimpl is sufficiently up-to-date. 26 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 27 ) 28 29 // This is a compile-time assertion that a sufficiently up-to-date version 30 // of the legacy proto package is being used. 31 const _ = proto.ProtoPackageIsVersion4 32 33 // The tracing configuration specifies settings for an HTTP tracer provider used by Envoy. 34 // 35 // Envoy may support other tracers in the future, but right now the HTTP tracer is the only one 36 // supported. 37 // 38 // .. attention:: 39 // 40 // Use of this message type has been deprecated in favor of direct use of 41 // :ref:`Tracing.Http <envoy_v3_api_msg_config.trace.v3.Tracing.Http>`. 42 type Tracing struct { 43 state protoimpl.MessageState 44 sizeCache protoimpl.SizeCache 45 unknownFields protoimpl.UnknownFields 46 47 // Provides configuration for the HTTP tracer. 48 Http *Tracing_Http `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"` 49 } 50 51 func (x *Tracing) Reset() { 52 *x = Tracing{} 53 if protoimpl.UnsafeEnabled { 54 mi := &file_envoy_config_trace_v3_http_tracer_proto_msgTypes[0] 55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 56 ms.StoreMessageInfo(mi) 57 } 58 } 59 60 func (x *Tracing) String() string { 61 return protoimpl.X.MessageStringOf(x) 62 } 63 64 func (*Tracing) ProtoMessage() {} 65 66 func (x *Tracing) ProtoReflect() protoreflect.Message { 67 mi := &file_envoy_config_trace_v3_http_tracer_proto_msgTypes[0] 68 if protoimpl.UnsafeEnabled && x != nil { 69 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 70 if ms.LoadMessageInfo() == nil { 71 ms.StoreMessageInfo(mi) 72 } 73 return ms 74 } 75 return mi.MessageOf(x) 76 } 77 78 // Deprecated: Use Tracing.ProtoReflect.Descriptor instead. 79 func (*Tracing) Descriptor() ([]byte, []int) { 80 return file_envoy_config_trace_v3_http_tracer_proto_rawDescGZIP(), []int{0} 81 } 82 83 func (x *Tracing) GetHttp() *Tracing_Http { 84 if x != nil { 85 return x.Http 86 } 87 return nil 88 } 89 90 // Configuration for an HTTP tracer provider used by Envoy. 91 // 92 // The configuration is defined by the 93 // :ref:`HttpConnectionManager.Tracing <envoy_v3_api_msg_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing>` 94 // :ref:`provider <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>` 95 // field. 96 type Tracing_Http struct { 97 state protoimpl.MessageState 98 sizeCache protoimpl.SizeCache 99 unknownFields protoimpl.UnknownFields 100 101 // The name of the HTTP trace driver to instantiate. The name must match a 102 // supported HTTP trace driver. 103 // See the :ref:`extensions listed in typed_config below <extension_category_envoy.tracers>` for the default list of the HTTP trace driver. 104 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 105 // Trace driver specific configuration which must be set according to the driver being instantiated. 106 // [#extension-category: envoy.tracers] 107 // 108 // Types that are assignable to ConfigType: 109 // *Tracing_Http_TypedConfig 110 // *Tracing_Http_HiddenEnvoyDeprecatedConfig 111 ConfigType isTracing_Http_ConfigType `protobuf_oneof:"config_type"` 112 } 113 114 func (x *Tracing_Http) Reset() { 115 *x = Tracing_Http{} 116 if protoimpl.UnsafeEnabled { 117 mi := &file_envoy_config_trace_v3_http_tracer_proto_msgTypes[1] 118 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 119 ms.StoreMessageInfo(mi) 120 } 121 } 122 123 func (x *Tracing_Http) String() string { 124 return protoimpl.X.MessageStringOf(x) 125 } 126 127 func (*Tracing_Http) ProtoMessage() {} 128 129 func (x *Tracing_Http) ProtoReflect() protoreflect.Message { 130 mi := &file_envoy_config_trace_v3_http_tracer_proto_msgTypes[1] 131 if protoimpl.UnsafeEnabled && x != nil { 132 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 133 if ms.LoadMessageInfo() == nil { 134 ms.StoreMessageInfo(mi) 135 } 136 return ms 137 } 138 return mi.MessageOf(x) 139 } 140 141 // Deprecated: Use Tracing_Http.ProtoReflect.Descriptor instead. 142 func (*Tracing_Http) Descriptor() ([]byte, []int) { 143 return file_envoy_config_trace_v3_http_tracer_proto_rawDescGZIP(), []int{0, 0} 144 } 145 146 func (x *Tracing_Http) GetName() string { 147 if x != nil { 148 return x.Name 149 } 150 return "" 151 } 152 153 func (m *Tracing_Http) GetConfigType() isTracing_Http_ConfigType { 154 if m != nil { 155 return m.ConfigType 156 } 157 return nil 158 } 159 160 func (x *Tracing_Http) GetTypedConfig() *any.Any { 161 if x, ok := x.GetConfigType().(*Tracing_Http_TypedConfig); ok { 162 return x.TypedConfig 163 } 164 return nil 165 } 166 167 // Deprecated: Do not use. 168 func (x *Tracing_Http) GetHiddenEnvoyDeprecatedConfig() *_struct.Struct { 169 if x, ok := x.GetConfigType().(*Tracing_Http_HiddenEnvoyDeprecatedConfig); ok { 170 return x.HiddenEnvoyDeprecatedConfig 171 } 172 return nil 173 } 174 175 type isTracing_Http_ConfigType interface { 176 isTracing_Http_ConfigType() 177 } 178 179 type Tracing_Http_TypedConfig struct { 180 TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"` 181 } 182 183 type Tracing_Http_HiddenEnvoyDeprecatedConfig struct { 184 // Deprecated: Do not use. 185 HiddenEnvoyDeprecatedConfig *_struct.Struct `protobuf:"bytes,2,opt,name=hidden_envoy_deprecated_config,json=hiddenEnvoyDeprecatedConfig,proto3,oneof"` 186 } 187 188 func (*Tracing_Http_TypedConfig) isTracing_Http_ConfigType() {} 189 190 func (*Tracing_Http_HiddenEnvoyDeprecatedConfig) isTracing_Http_ConfigType() {} 191 192 var File_envoy_config_trace_v3_http_tracer_proto protoreflect.FileDescriptor 193 194 var file_envoy_config_trace_v3_http_tracer_proto_rawDesc = []byte{ 195 0x0a, 0x27, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74, 196 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x74, 0x72, 0x61, 197 0x63, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x65, 0x6e, 0x76, 0x6f, 0x79, 198 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 199 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 200 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 201 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 202 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 203 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x64, 0x65, 0x70, 204 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 205 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 206 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 207 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 208 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 209 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 210 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf0, 0x02, 0x0a, 0x07, 0x54, 0x72, 211 0x61, 0x63, 0x69, 0x6e, 0x67, 0x12, 0x37, 0x0a, 0x04, 0x68, 0x74, 0x74, 0x70, 0x18, 0x01, 0x20, 212 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 213 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x72, 0x61, 0x63, 214 0x69, 0x6e, 0x67, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x04, 0x68, 0x74, 0x74, 0x70, 0x1a, 0x85, 215 0x02, 0x0a, 0x04, 0x48, 0x74, 0x74, 0x70, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 216 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 217 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x63, 0x6f, 218 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 219 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 220 0x48, 0x00, 0x52, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 221 0x6b, 0x0a, 0x1e, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x5f, 222 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 223 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 224 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 225 0x42, 0x0b, 0x18, 0x01, 0x92, 0xc7, 0x86, 0xd8, 0x04, 0x03, 0x33, 0x2e, 0x30, 0x48, 0x00, 0x52, 226 0x1b, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x45, 0x6e, 0x76, 0x6f, 0x79, 0x44, 0x65, 0x70, 0x72, 227 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x29, 0x9a, 0xc5, 228 0x88, 0x1e, 0x24, 0x0a, 0x22, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 229 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x69, 230 0x6e, 0x67, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x42, 0x0d, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 231 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x24, 0x9a, 0xc5, 0x88, 0x1e, 0x1f, 0x0a, 0x1d, 0x65, 232 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 233 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x42, 0x40, 0x0a, 0x23, 234 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 235 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 236 0x2e, 0x76, 0x33, 0x42, 0x0f, 0x48, 0x74, 0x74, 0x70, 0x54, 0x72, 0x61, 0x63, 0x65, 0x72, 0x50, 237 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 238 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 239 } 240 241 var ( 242 file_envoy_config_trace_v3_http_tracer_proto_rawDescOnce sync.Once 243 file_envoy_config_trace_v3_http_tracer_proto_rawDescData = file_envoy_config_trace_v3_http_tracer_proto_rawDesc 244 ) 245 246 func file_envoy_config_trace_v3_http_tracer_proto_rawDescGZIP() []byte { 247 file_envoy_config_trace_v3_http_tracer_proto_rawDescOnce.Do(func() { 248 file_envoy_config_trace_v3_http_tracer_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_trace_v3_http_tracer_proto_rawDescData) 249 }) 250 return file_envoy_config_trace_v3_http_tracer_proto_rawDescData 251 } 252 253 var file_envoy_config_trace_v3_http_tracer_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 254 var file_envoy_config_trace_v3_http_tracer_proto_goTypes = []interface{}{ 255 (*Tracing)(nil), // 0: envoy.config.trace.v3.Tracing 256 (*Tracing_Http)(nil), // 1: envoy.config.trace.v3.Tracing.Http 257 (*any.Any)(nil), // 2: google.protobuf.Any 258 (*_struct.Struct)(nil), // 3: google.protobuf.Struct 259 } 260 var file_envoy_config_trace_v3_http_tracer_proto_depIdxs = []int32{ 261 1, // 0: envoy.config.trace.v3.Tracing.http:type_name -> envoy.config.trace.v3.Tracing.Http 262 2, // 1: envoy.config.trace.v3.Tracing.Http.typed_config:type_name -> google.protobuf.Any 263 3, // 2: envoy.config.trace.v3.Tracing.Http.hidden_envoy_deprecated_config:type_name -> google.protobuf.Struct 264 3, // [3:3] is the sub-list for method output_type 265 3, // [3:3] is the sub-list for method input_type 266 3, // [3:3] is the sub-list for extension type_name 267 3, // [3:3] is the sub-list for extension extendee 268 0, // [0:3] is the sub-list for field type_name 269 } 270 271 func init() { file_envoy_config_trace_v3_http_tracer_proto_init() } 272 func file_envoy_config_trace_v3_http_tracer_proto_init() { 273 if File_envoy_config_trace_v3_http_tracer_proto != nil { 274 return 275 } 276 if !protoimpl.UnsafeEnabled { 277 file_envoy_config_trace_v3_http_tracer_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 278 switch v := v.(*Tracing); i { 279 case 0: 280 return &v.state 281 case 1: 282 return &v.sizeCache 283 case 2: 284 return &v.unknownFields 285 default: 286 return nil 287 } 288 } 289 file_envoy_config_trace_v3_http_tracer_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 290 switch v := v.(*Tracing_Http); i { 291 case 0: 292 return &v.state 293 case 1: 294 return &v.sizeCache 295 case 2: 296 return &v.unknownFields 297 default: 298 return nil 299 } 300 } 301 } 302 file_envoy_config_trace_v3_http_tracer_proto_msgTypes[1].OneofWrappers = []interface{}{ 303 (*Tracing_Http_TypedConfig)(nil), 304 (*Tracing_Http_HiddenEnvoyDeprecatedConfig)(nil), 305 } 306 type x struct{} 307 out := protoimpl.TypeBuilder{ 308 File: protoimpl.DescBuilder{ 309 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 310 RawDescriptor: file_envoy_config_trace_v3_http_tracer_proto_rawDesc, 311 NumEnums: 0, 312 NumMessages: 2, 313 NumExtensions: 0, 314 NumServices: 0, 315 }, 316 GoTypes: file_envoy_config_trace_v3_http_tracer_proto_goTypes, 317 DependencyIndexes: file_envoy_config_trace_v3_http_tracer_proto_depIdxs, 318 MessageInfos: file_envoy_config_trace_v3_http_tracer_proto_msgTypes, 319 }.Build() 320 File_envoy_config_trace_v3_http_tracer_proto = out.File 321 file_envoy_config_trace_v3_http_tracer_proto_rawDesc = nil 322 file_envoy_config_trace_v3_http_tracer_proto_goTypes = nil 323 file_envoy_config_trace_v3_http_tracer_proto_depIdxs = nil 324 }