...

Source file src/github.com/datawire/ambassador/v2/pkg/api/envoy/config/trace/v3/http_tracer.pb.go

Documentation: github.com/datawire/ambassador/v2/pkg/api/envoy/config/trace/v3

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.25.0
     4  // 	protoc        v3.14.0
     5  // source: envoy/config/trace/v3/http_tracer.proto
     6  
     7  package envoy_config_trace_v3
     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  	_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.v3.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_v3_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_v3_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_v3_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_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing>`
    93  // :ref:`provider <envoy_api_field_extensions.filters.network.http_connection_manager.v3.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.v3.LightstepConfig>`
   114  	// - :ref:`ZipkinConfig <envoy_api_msg_config.trace.v3.ZipkinConfig>`
   115  	// - :ref:`DynamicOtConfig <envoy_api_msg_config.trace.v3.DynamicOtConfig>`
   116  	// - :ref:`DatadogConfig <envoy_api_msg_config.trace.v3.DatadogConfig>`
   117  	// - :ref:`OpenCensusConfig <envoy_api_msg_config.trace.v3.OpenCensusConfig>`
   118  	// - :ref:`AWS X-Ray <envoy_api_msg_config.trace.v3.XRayConfig>`
   119  	//
   120  	// Types that are assignable to ConfigType:
   121  	//	*Tracing_Http_TypedConfig
   122  	//	*Tracing_Http_HiddenEnvoyDeprecatedConfig
   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_v3_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_v3_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_v3_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  func (x *Tracing_Http) GetTypedConfig() *any.Any {
   173  	if x, ok := x.GetConfigType().(*Tracing_Http_TypedConfig); ok {
   174  		return x.TypedConfig
   175  	}
   176  	return nil
   177  }
   178  
   179  // Deprecated: Do not use.
   180  func (x *Tracing_Http) GetHiddenEnvoyDeprecatedConfig() *_struct.Struct {
   181  	if x, ok := x.GetConfigType().(*Tracing_Http_HiddenEnvoyDeprecatedConfig); ok {
   182  		return x.HiddenEnvoyDeprecatedConfig
   183  	}
   184  	return nil
   185  }
   186  
   187  type isTracing_Http_ConfigType interface {
   188  	isTracing_Http_ConfigType()
   189  }
   190  
   191  type Tracing_Http_TypedConfig struct {
   192  	TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
   193  }
   194  
   195  type Tracing_Http_HiddenEnvoyDeprecatedConfig struct {
   196  	// Deprecated: Do not use.
   197  	HiddenEnvoyDeprecatedConfig *_struct.Struct `protobuf:"bytes,2,opt,name=hidden_envoy_deprecated_config,json=hiddenEnvoyDeprecatedConfig,proto3,oneof"`
   198  }
   199  
   200  func (*Tracing_Http_TypedConfig) isTracing_Http_ConfigType() {}
   201  
   202  func (*Tracing_Http_HiddenEnvoyDeprecatedConfig) isTracing_Http_ConfigType() {}
   203  
   204  var File_envoy_config_trace_v3_http_tracer_proto protoreflect.FileDescriptor
   205  
   206  var file_envoy_config_trace_v3_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, 0x33, 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, 0x33,
   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, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61,
   217  	0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69,
   218  	0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c,
   219  	0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70,
   220  	0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe7, 0x02, 0x0a, 0x07, 0x54, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67,
   221  	0x12, 0x37, 0x0a, 0x04, 0x68, 0x74, 0x74, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23,
   222  	0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72,
   223  	0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x2e, 0x48,
   224  	0x74, 0x74, 0x70, 0x52, 0x04, 0x68, 0x74, 0x74, 0x70, 0x1a, 0xfc, 0x01, 0x0a, 0x04, 0x48, 0x74,
   225  	0x74, 0x70, 0x12, 0x1b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
   226  	0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x10, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
   227  	0x39, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18,
   228  	0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
   229  	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x48, 0x00, 0x52, 0x0b, 0x74,
   230  	0x79, 0x70, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x62, 0x0a, 0x1e, 0x68, 0x69,
   231  	0x64, 0x64, 0x65, 0x6e, 0x5f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65,
   232  	0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01,
   233  	0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   234  	0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42, 0x02, 0x18, 0x01, 0x48,
   235  	0x00, 0x52, 0x1b, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x45, 0x6e, 0x76, 0x6f, 0x79, 0x44, 0x65,
   236  	0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x29,
   237  	0x9a, 0xc5, 0x88, 0x1e, 0x24, 0x0a, 0x22, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
   238  	0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x72, 0x61,
   239  	0x63, 0x69, 0x6e, 0x67, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x42, 0x0d, 0x0a, 0x0b, 0x63, 0x6f, 0x6e,
   240  	0x66, 0x69, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x24, 0x9a, 0xc5, 0x88, 0x1e, 0x1f, 0x0a,
   241  	0x1d, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72,
   242  	0x61, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x42, 0x40,
   243  	0x0a, 0x23, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e,
   244  	0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61,
   245  	0x63, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x0f, 0x48, 0x74, 0x74, 0x70, 0x54, 0x72, 0x61, 0x63, 0x65,
   246  	0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02,
   247  	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   248  }
   249  
   250  var (
   251  	file_envoy_config_trace_v3_http_tracer_proto_rawDescOnce sync.Once
   252  	file_envoy_config_trace_v3_http_tracer_proto_rawDescData = file_envoy_config_trace_v3_http_tracer_proto_rawDesc
   253  )
   254  
   255  func file_envoy_config_trace_v3_http_tracer_proto_rawDescGZIP() []byte {
   256  	file_envoy_config_trace_v3_http_tracer_proto_rawDescOnce.Do(func() {
   257  		file_envoy_config_trace_v3_http_tracer_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_trace_v3_http_tracer_proto_rawDescData)
   258  	})
   259  	return file_envoy_config_trace_v3_http_tracer_proto_rawDescData
   260  }
   261  
   262  var file_envoy_config_trace_v3_http_tracer_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   263  var file_envoy_config_trace_v3_http_tracer_proto_goTypes = []interface{}{
   264  	(*Tracing)(nil),        // 0: envoy.config.trace.v3.Tracing
   265  	(*Tracing_Http)(nil),   // 1: envoy.config.trace.v3.Tracing.Http
   266  	(*any.Any)(nil),        // 2: google.protobuf.Any
   267  	(*_struct.Struct)(nil), // 3: google.protobuf.Struct
   268  }
   269  var file_envoy_config_trace_v3_http_tracer_proto_depIdxs = []int32{
   270  	1, // 0: envoy.config.trace.v3.Tracing.http:type_name -> envoy.config.trace.v3.Tracing.Http
   271  	2, // 1: envoy.config.trace.v3.Tracing.Http.typed_config:type_name -> google.protobuf.Any
   272  	3, // 2: envoy.config.trace.v3.Tracing.Http.hidden_envoy_deprecated_config:type_name -> google.protobuf.Struct
   273  	3, // [3:3] is the sub-list for method output_type
   274  	3, // [3:3] is the sub-list for method input_type
   275  	3, // [3:3] is the sub-list for extension type_name
   276  	3, // [3:3] is the sub-list for extension extendee
   277  	0, // [0:3] is the sub-list for field type_name
   278  }
   279  
   280  func init() { file_envoy_config_trace_v3_http_tracer_proto_init() }
   281  func file_envoy_config_trace_v3_http_tracer_proto_init() {
   282  	if File_envoy_config_trace_v3_http_tracer_proto != nil {
   283  		return
   284  	}
   285  	if !protoimpl.UnsafeEnabled {
   286  		file_envoy_config_trace_v3_http_tracer_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   287  			switch v := v.(*Tracing); i {
   288  			case 0:
   289  				return &v.state
   290  			case 1:
   291  				return &v.sizeCache
   292  			case 2:
   293  				return &v.unknownFields
   294  			default:
   295  				return nil
   296  			}
   297  		}
   298  		file_envoy_config_trace_v3_http_tracer_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   299  			switch v := v.(*Tracing_Http); i {
   300  			case 0:
   301  				return &v.state
   302  			case 1:
   303  				return &v.sizeCache
   304  			case 2:
   305  				return &v.unknownFields
   306  			default:
   307  				return nil
   308  			}
   309  		}
   310  	}
   311  	file_envoy_config_trace_v3_http_tracer_proto_msgTypes[1].OneofWrappers = []interface{}{
   312  		(*Tracing_Http_TypedConfig)(nil),
   313  		(*Tracing_Http_HiddenEnvoyDeprecatedConfig)(nil),
   314  	}
   315  	type x struct{}
   316  	out := protoimpl.TypeBuilder{
   317  		File: protoimpl.DescBuilder{
   318  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   319  			RawDescriptor: file_envoy_config_trace_v3_http_tracer_proto_rawDesc,
   320  			NumEnums:      0,
   321  			NumMessages:   2,
   322  			NumExtensions: 0,
   323  			NumServices:   0,
   324  		},
   325  		GoTypes:           file_envoy_config_trace_v3_http_tracer_proto_goTypes,
   326  		DependencyIndexes: file_envoy_config_trace_v3_http_tracer_proto_depIdxs,
   327  		MessageInfos:      file_envoy_config_trace_v3_http_tracer_proto_msgTypes,
   328  	}.Build()
   329  	File_envoy_config_trace_v3_http_tracer_proto = out.File
   330  	file_envoy_config_trace_v3_http_tracer_proto_rawDesc = nil
   331  	file_envoy_config_trace_v3_http_tracer_proto_goTypes = nil
   332  	file_envoy_config_trace_v3_http_tracer_proto_depIdxs = nil
   333  }
   334  

View as plain text