...

Source file src/github.com/datawire/ambassador/v2/pkg/api/envoy/config/trace/v3/opencensus.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/opencensus.proto
     6  
     7  package envoy_config_trace_v3
     8  
     9  import (
    10  	v1 "github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1"
    11  	_ "github.com/cncf/udpa/go/udpa/annotations"
    12  	v3 "github.com/datawire/ambassador/v2/pkg/api/envoy/config/core/v3"
    13  	_ "github.com/envoyproxy/protoc-gen-validate/validate"
    14  	proto "github.com/golang/protobuf/proto"
    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  type OpenCensusConfig_TraceContext int32
    33  
    34  const (
    35  	// No-op default, no trace context is utilized.
    36  	OpenCensusConfig_NONE OpenCensusConfig_TraceContext = 0
    37  	// W3C Trace-Context format "traceparent:" header.
    38  	OpenCensusConfig_TRACE_CONTEXT OpenCensusConfig_TraceContext = 1
    39  	// Binary "grpc-trace-bin:" header.
    40  	OpenCensusConfig_GRPC_TRACE_BIN OpenCensusConfig_TraceContext = 2
    41  	// "X-Cloud-Trace-Context:" header.
    42  	OpenCensusConfig_CLOUD_TRACE_CONTEXT OpenCensusConfig_TraceContext = 3
    43  	// X-B3-* headers.
    44  	OpenCensusConfig_B3 OpenCensusConfig_TraceContext = 4
    45  )
    46  
    47  // Enum value maps for OpenCensusConfig_TraceContext.
    48  var (
    49  	OpenCensusConfig_TraceContext_name = map[int32]string{
    50  		0: "NONE",
    51  		1: "TRACE_CONTEXT",
    52  		2: "GRPC_TRACE_BIN",
    53  		3: "CLOUD_TRACE_CONTEXT",
    54  		4: "B3",
    55  	}
    56  	OpenCensusConfig_TraceContext_value = map[string]int32{
    57  		"NONE":                0,
    58  		"TRACE_CONTEXT":       1,
    59  		"GRPC_TRACE_BIN":      2,
    60  		"CLOUD_TRACE_CONTEXT": 3,
    61  		"B3":                  4,
    62  	}
    63  )
    64  
    65  func (x OpenCensusConfig_TraceContext) Enum() *OpenCensusConfig_TraceContext {
    66  	p := new(OpenCensusConfig_TraceContext)
    67  	*p = x
    68  	return p
    69  }
    70  
    71  func (x OpenCensusConfig_TraceContext) String() string {
    72  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    73  }
    74  
    75  func (OpenCensusConfig_TraceContext) Descriptor() protoreflect.EnumDescriptor {
    76  	return file_envoy_config_trace_v3_opencensus_proto_enumTypes[0].Descriptor()
    77  }
    78  
    79  func (OpenCensusConfig_TraceContext) Type() protoreflect.EnumType {
    80  	return &file_envoy_config_trace_v3_opencensus_proto_enumTypes[0]
    81  }
    82  
    83  func (x OpenCensusConfig_TraceContext) Number() protoreflect.EnumNumber {
    84  	return protoreflect.EnumNumber(x)
    85  }
    86  
    87  // Deprecated: Use OpenCensusConfig_TraceContext.Descriptor instead.
    88  func (OpenCensusConfig_TraceContext) EnumDescriptor() ([]byte, []int) {
    89  	return file_envoy_config_trace_v3_opencensus_proto_rawDescGZIP(), []int{0, 0}
    90  }
    91  
    92  // Configuration for the OpenCensus tracer.
    93  // [#next-free-field: 15]
    94  // [#extension: envoy.tracers.opencensus]
    95  type OpenCensusConfig struct {
    96  	state         protoimpl.MessageState
    97  	sizeCache     protoimpl.SizeCache
    98  	unknownFields protoimpl.UnknownFields
    99  
   100  	// Configures tracing, e.g. the sampler, max number of annotations, etc.
   101  	TraceConfig *v1.TraceConfig `protobuf:"bytes,1,opt,name=trace_config,json=traceConfig,proto3" json:"trace_config,omitempty"`
   102  	// Enables the stdout exporter if set to true. This is intended for debugging
   103  	// purposes.
   104  	StdoutExporterEnabled bool `protobuf:"varint,2,opt,name=stdout_exporter_enabled,json=stdoutExporterEnabled,proto3" json:"stdout_exporter_enabled,omitempty"`
   105  	// Enables the Stackdriver exporter if set to true. The project_id must also
   106  	// be set.
   107  	StackdriverExporterEnabled bool `protobuf:"varint,3,opt,name=stackdriver_exporter_enabled,json=stackdriverExporterEnabled,proto3" json:"stackdriver_exporter_enabled,omitempty"`
   108  	// The Cloud project_id to use for Stackdriver tracing.
   109  	StackdriverProjectId string `protobuf:"bytes,4,opt,name=stackdriver_project_id,json=stackdriverProjectId,proto3" json:"stackdriver_project_id,omitempty"`
   110  	// (optional) By default, the Stackdriver exporter will connect to production
   111  	// Stackdriver. If stackdriver_address is non-empty, it will instead connect
   112  	// to this address, which is in the gRPC format:
   113  	// https://github.com/grpc/grpc/blob/master/doc/naming.md
   114  	StackdriverAddress string `protobuf:"bytes,10,opt,name=stackdriver_address,json=stackdriverAddress,proto3" json:"stackdriver_address,omitempty"`
   115  	// (optional) The gRPC server that hosts Stackdriver tracing service. Only
   116  	// Google gRPC is supported. If :ref:`target_uri <envoy_v3_api_field_config.core.v3.GrpcService.GoogleGrpc.target_uri>`
   117  	// is not provided, the default production Stackdriver address will be used.
   118  	StackdriverGrpcService *v3.GrpcService `protobuf:"bytes,13,opt,name=stackdriver_grpc_service,json=stackdriverGrpcService,proto3" json:"stackdriver_grpc_service,omitempty"`
   119  	// Enables the Zipkin exporter if set to true. The url and service name must
   120  	// also be set. This is deprecated, prefer to use Envoy's :ref:`native Zipkin
   121  	// tracer <envoy_v3_api_msg_config.trace.v3.ZipkinConfig>`.
   122  	//
   123  	// Deprecated: Do not use.
   124  	ZipkinExporterEnabled bool `protobuf:"varint,5,opt,name=zipkin_exporter_enabled,json=zipkinExporterEnabled,proto3" json:"zipkin_exporter_enabled,omitempty"`
   125  	// The URL to Zipkin, e.g. "http://127.0.0.1:9411/api/v2/spans". This is
   126  	// deprecated, prefer to use Envoy's :ref:`native Zipkin tracer
   127  	// <envoy_v3_api_msg_config.trace.v3.ZipkinConfig>`.
   128  	//
   129  	// Deprecated: Do not use.
   130  	ZipkinUrl string `protobuf:"bytes,6,opt,name=zipkin_url,json=zipkinUrl,proto3" json:"zipkin_url,omitempty"`
   131  	// Enables the OpenCensus Agent exporter if set to true. The ocagent_address or
   132  	// ocagent_grpc_service must also be set.
   133  	OcagentExporterEnabled bool `protobuf:"varint,11,opt,name=ocagent_exporter_enabled,json=ocagentExporterEnabled,proto3" json:"ocagent_exporter_enabled,omitempty"`
   134  	// The address of the OpenCensus Agent, if its exporter is enabled, in gRPC
   135  	// format: https://github.com/grpc/grpc/blob/master/doc/naming.md
   136  	// [#comment:TODO: deprecate this field]
   137  	OcagentAddress string `protobuf:"bytes,12,opt,name=ocagent_address,json=ocagentAddress,proto3" json:"ocagent_address,omitempty"`
   138  	// (optional) The gRPC server hosted by the OpenCensus Agent. Only Google gRPC is supported.
   139  	// This is only used if the ocagent_address is left empty.
   140  	OcagentGrpcService *v3.GrpcService `protobuf:"bytes,14,opt,name=ocagent_grpc_service,json=ocagentGrpcService,proto3" json:"ocagent_grpc_service,omitempty"`
   141  	// List of incoming trace context headers we will accept. First one found
   142  	// wins.
   143  	IncomingTraceContext []OpenCensusConfig_TraceContext `protobuf:"varint,8,rep,packed,name=incoming_trace_context,json=incomingTraceContext,proto3,enum=envoy.config.trace.v3.OpenCensusConfig_TraceContext" json:"incoming_trace_context,omitempty"`
   144  	// List of outgoing trace context headers we will produce.
   145  	OutgoingTraceContext []OpenCensusConfig_TraceContext `protobuf:"varint,9,rep,packed,name=outgoing_trace_context,json=outgoingTraceContext,proto3,enum=envoy.config.trace.v3.OpenCensusConfig_TraceContext" json:"outgoing_trace_context,omitempty"`
   146  }
   147  
   148  func (x *OpenCensusConfig) Reset() {
   149  	*x = OpenCensusConfig{}
   150  	if protoimpl.UnsafeEnabled {
   151  		mi := &file_envoy_config_trace_v3_opencensus_proto_msgTypes[0]
   152  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   153  		ms.StoreMessageInfo(mi)
   154  	}
   155  }
   156  
   157  func (x *OpenCensusConfig) String() string {
   158  	return protoimpl.X.MessageStringOf(x)
   159  }
   160  
   161  func (*OpenCensusConfig) ProtoMessage() {}
   162  
   163  func (x *OpenCensusConfig) ProtoReflect() protoreflect.Message {
   164  	mi := &file_envoy_config_trace_v3_opencensus_proto_msgTypes[0]
   165  	if protoimpl.UnsafeEnabled && x != nil {
   166  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   167  		if ms.LoadMessageInfo() == nil {
   168  			ms.StoreMessageInfo(mi)
   169  		}
   170  		return ms
   171  	}
   172  	return mi.MessageOf(x)
   173  }
   174  
   175  // Deprecated: Use OpenCensusConfig.ProtoReflect.Descriptor instead.
   176  func (*OpenCensusConfig) Descriptor() ([]byte, []int) {
   177  	return file_envoy_config_trace_v3_opencensus_proto_rawDescGZIP(), []int{0}
   178  }
   179  
   180  func (x *OpenCensusConfig) GetTraceConfig() *v1.TraceConfig {
   181  	if x != nil {
   182  		return x.TraceConfig
   183  	}
   184  	return nil
   185  }
   186  
   187  func (x *OpenCensusConfig) GetStdoutExporterEnabled() bool {
   188  	if x != nil {
   189  		return x.StdoutExporterEnabled
   190  	}
   191  	return false
   192  }
   193  
   194  func (x *OpenCensusConfig) GetStackdriverExporterEnabled() bool {
   195  	if x != nil {
   196  		return x.StackdriverExporterEnabled
   197  	}
   198  	return false
   199  }
   200  
   201  func (x *OpenCensusConfig) GetStackdriverProjectId() string {
   202  	if x != nil {
   203  		return x.StackdriverProjectId
   204  	}
   205  	return ""
   206  }
   207  
   208  func (x *OpenCensusConfig) GetStackdriverAddress() string {
   209  	if x != nil {
   210  		return x.StackdriverAddress
   211  	}
   212  	return ""
   213  }
   214  
   215  func (x *OpenCensusConfig) GetStackdriverGrpcService() *v3.GrpcService {
   216  	if x != nil {
   217  		return x.StackdriverGrpcService
   218  	}
   219  	return nil
   220  }
   221  
   222  // Deprecated: Do not use.
   223  func (x *OpenCensusConfig) GetZipkinExporterEnabled() bool {
   224  	if x != nil {
   225  		return x.ZipkinExporterEnabled
   226  	}
   227  	return false
   228  }
   229  
   230  // Deprecated: Do not use.
   231  func (x *OpenCensusConfig) GetZipkinUrl() string {
   232  	if x != nil {
   233  		return x.ZipkinUrl
   234  	}
   235  	return ""
   236  }
   237  
   238  func (x *OpenCensusConfig) GetOcagentExporterEnabled() bool {
   239  	if x != nil {
   240  		return x.OcagentExporterEnabled
   241  	}
   242  	return false
   243  }
   244  
   245  func (x *OpenCensusConfig) GetOcagentAddress() string {
   246  	if x != nil {
   247  		return x.OcagentAddress
   248  	}
   249  	return ""
   250  }
   251  
   252  func (x *OpenCensusConfig) GetOcagentGrpcService() *v3.GrpcService {
   253  	if x != nil {
   254  		return x.OcagentGrpcService
   255  	}
   256  	return nil
   257  }
   258  
   259  func (x *OpenCensusConfig) GetIncomingTraceContext() []OpenCensusConfig_TraceContext {
   260  	if x != nil {
   261  		return x.IncomingTraceContext
   262  	}
   263  	return nil
   264  }
   265  
   266  func (x *OpenCensusConfig) GetOutgoingTraceContext() []OpenCensusConfig_TraceContext {
   267  	if x != nil {
   268  		return x.OutgoingTraceContext
   269  	}
   270  	return nil
   271  }
   272  
   273  var File_envoy_config_trace_v3_opencensus_proto protoreflect.FileDescriptor
   274  
   275  var file_envoy_config_trace_v3_opencensus_proto_rawDesc = []byte{
   276  	0x0a, 0x26, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x74,
   277  	0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73,
   278  	0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
   279  	0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x1a,
   280  	0x27, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f,
   281  	0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69,
   282  	0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65,
   283  	0x6e, 0x73, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65,
   284  	0x2f, 0x76, 0x31, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   285  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e,
   286  	0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65,
   287  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e,
   288  	0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e,
   289  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
   290  	0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69,
   291  	0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
   292  	0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   293  	0x6f, 0x22, 0xa1, 0x08, 0x0a, 0x10, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x65, 0x6e, 0x73, 0x75, 0x73,
   294  	0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x49, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f,
   295  	0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6f,
   296  	0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
   297  	0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f,
   298  	0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69,
   299  	0x67, 0x12, 0x36, 0x0a, 0x17, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x5f, 0x65, 0x78, 0x70, 0x6f,
   300  	0x72, 0x74, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01,
   301  	0x28, 0x08, 0x52, 0x15, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74,
   302  	0x65, 0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x40, 0x0a, 0x1c, 0x73, 0x74, 0x61,
   303  	0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65,
   304  	0x72, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
   305  	0x1a, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x45, 0x78, 0x70, 0x6f,
   306  	0x72, 0x74, 0x65, 0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x34, 0x0a, 0x16, 0x73,
   307  	0x74, 0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65,
   308  	0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x73, 0x74, 0x61,
   309  	0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49,
   310  	0x64, 0x12, 0x2f, 0x0a, 0x13, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72,
   311  	0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12,
   312  	0x73, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65,
   313  	0x73, 0x73, 0x12, 0x5b, 0x0a, 0x18, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65,
   314  	0x72, 0x5f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x0d,
   315  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
   316  	0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x70, 0x63,
   317  	0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x16, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x72,
   318  	0x69, 0x76, 0x65, 0x72, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
   319  	0x3a, 0x0a, 0x17, 0x7a, 0x69, 0x70, 0x6b, 0x69, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74,
   320  	0x65, 0x72, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08,
   321  	0x42, 0x02, 0x18, 0x01, 0x52, 0x15, 0x7a, 0x69, 0x70, 0x6b, 0x69, 0x6e, 0x45, 0x78, 0x70, 0x6f,
   322  	0x72, 0x74, 0x65, 0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x21, 0x0a, 0x0a, 0x7a,
   323  	0x69, 0x70, 0x6b, 0x69, 0x6e, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42,
   324  	0x02, 0x18, 0x01, 0x52, 0x09, 0x7a, 0x69, 0x70, 0x6b, 0x69, 0x6e, 0x55, 0x72, 0x6c, 0x12, 0x38,
   325  	0x0a, 0x18, 0x6f, 0x63, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74,
   326  	0x65, 0x72, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08,
   327  	0x52, 0x16, 0x6f, 0x63, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65,
   328  	0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x63, 0x61, 0x67,
   329  	0x65, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28,
   330  	0x09, 0x52, 0x0e, 0x6f, 0x63, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73,
   331  	0x73, 0x12, 0x53, 0x0a, 0x14, 0x6f, 0x63, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x67, 0x72, 0x70,
   332  	0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32,
   333  	0x21, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63,
   334  	0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69,
   335  	0x63, 0x65, 0x52, 0x12, 0x6f, 0x63, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x70, 0x63, 0x53,
   336  	0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6a, 0x0a, 0x16, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x69,
   337  	0x6e, 0x67, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74,
   338  	0x18, 0x08, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
   339  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x4f,
   340  	0x70, 0x65, 0x6e, 0x43, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
   341  	0x54, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x14, 0x69, 0x6e,
   342  	0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x54, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65,
   343  	0x78, 0x74, 0x12, 0x6a, 0x0a, 0x16, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x74,
   344  	0x72, 0x61, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x09, 0x20, 0x03,
   345  	0x28, 0x0e, 0x32, 0x34, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
   346  	0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x43,
   347  	0x65, 0x6e, 0x73, 0x75, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54, 0x72, 0x61, 0x63,
   348  	0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x14, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69,
   349  	0x6e, 0x67, 0x54, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x60,
   350  	0x0a, 0x0c, 0x54, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x08,
   351  	0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x52, 0x41, 0x43,
   352  	0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x58, 0x54, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x47,
   353  	0x52, 0x50, 0x43, 0x5f, 0x54, 0x52, 0x41, 0x43, 0x45, 0x5f, 0x42, 0x49, 0x4e, 0x10, 0x02, 0x12,
   354  	0x17, 0x0a, 0x13, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x54, 0x52, 0x41, 0x43, 0x45, 0x5f, 0x43,
   355  	0x4f, 0x4e, 0x54, 0x45, 0x58, 0x54, 0x10, 0x03, 0x12, 0x06, 0x0a, 0x02, 0x42, 0x33, 0x10, 0x04,
   356  	0x3a, 0x2d, 0x9a, 0xc5, 0x88, 0x1e, 0x28, 0x0a, 0x26, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63,
   357  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x4f,
   358  	0x70, 0x65, 0x6e, 0x43, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4a,
   359  	0x04, 0x08, 0x07, 0x10, 0x08, 0x42, 0x73, 0x0a, 0x23, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f,
   360  	0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e,
   361  	0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x0f, 0x4f, 0x70,
   362  	0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xf2,
   363  	0x98, 0xfe, 0x8f, 0x05, 0x2d, 0x12, 0x2b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74,
   364  	0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x72, 0x73, 0x2e,
   365  	0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70,
   366  	0x68, 0x61, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
   367  	0x6f, 0x33,
   368  }
   369  
   370  var (
   371  	file_envoy_config_trace_v3_opencensus_proto_rawDescOnce sync.Once
   372  	file_envoy_config_trace_v3_opencensus_proto_rawDescData = file_envoy_config_trace_v3_opencensus_proto_rawDesc
   373  )
   374  
   375  func file_envoy_config_trace_v3_opencensus_proto_rawDescGZIP() []byte {
   376  	file_envoy_config_trace_v3_opencensus_proto_rawDescOnce.Do(func() {
   377  		file_envoy_config_trace_v3_opencensus_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_trace_v3_opencensus_proto_rawDescData)
   378  	})
   379  	return file_envoy_config_trace_v3_opencensus_proto_rawDescData
   380  }
   381  
   382  var file_envoy_config_trace_v3_opencensus_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   383  var file_envoy_config_trace_v3_opencensus_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   384  var file_envoy_config_trace_v3_opencensus_proto_goTypes = []interface{}{
   385  	(OpenCensusConfig_TraceContext)(0), // 0: envoy.config.trace.v3.OpenCensusConfig.TraceContext
   386  	(*OpenCensusConfig)(nil),           // 1: envoy.config.trace.v3.OpenCensusConfig
   387  	(*v1.TraceConfig)(nil),             // 2: opencensus.proto.trace.v1.TraceConfig
   388  	(*v3.GrpcService)(nil),             // 3: envoy.config.core.v3.GrpcService
   389  }
   390  var file_envoy_config_trace_v3_opencensus_proto_depIdxs = []int32{
   391  	2, // 0: envoy.config.trace.v3.OpenCensusConfig.trace_config:type_name -> opencensus.proto.trace.v1.TraceConfig
   392  	3, // 1: envoy.config.trace.v3.OpenCensusConfig.stackdriver_grpc_service:type_name -> envoy.config.core.v3.GrpcService
   393  	3, // 2: envoy.config.trace.v3.OpenCensusConfig.ocagent_grpc_service:type_name -> envoy.config.core.v3.GrpcService
   394  	0, // 3: envoy.config.trace.v3.OpenCensusConfig.incoming_trace_context:type_name -> envoy.config.trace.v3.OpenCensusConfig.TraceContext
   395  	0, // 4: envoy.config.trace.v3.OpenCensusConfig.outgoing_trace_context:type_name -> envoy.config.trace.v3.OpenCensusConfig.TraceContext
   396  	5, // [5:5] is the sub-list for method output_type
   397  	5, // [5:5] is the sub-list for method input_type
   398  	5, // [5:5] is the sub-list for extension type_name
   399  	5, // [5:5] is the sub-list for extension extendee
   400  	0, // [0:5] is the sub-list for field type_name
   401  }
   402  
   403  func init() { file_envoy_config_trace_v3_opencensus_proto_init() }
   404  func file_envoy_config_trace_v3_opencensus_proto_init() {
   405  	if File_envoy_config_trace_v3_opencensus_proto != nil {
   406  		return
   407  	}
   408  	if !protoimpl.UnsafeEnabled {
   409  		file_envoy_config_trace_v3_opencensus_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   410  			switch v := v.(*OpenCensusConfig); i {
   411  			case 0:
   412  				return &v.state
   413  			case 1:
   414  				return &v.sizeCache
   415  			case 2:
   416  				return &v.unknownFields
   417  			default:
   418  				return nil
   419  			}
   420  		}
   421  	}
   422  	type x struct{}
   423  	out := protoimpl.TypeBuilder{
   424  		File: protoimpl.DescBuilder{
   425  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   426  			RawDescriptor: file_envoy_config_trace_v3_opencensus_proto_rawDesc,
   427  			NumEnums:      1,
   428  			NumMessages:   1,
   429  			NumExtensions: 0,
   430  			NumServices:   0,
   431  		},
   432  		GoTypes:           file_envoy_config_trace_v3_opencensus_proto_goTypes,
   433  		DependencyIndexes: file_envoy_config_trace_v3_opencensus_proto_depIdxs,
   434  		EnumInfos:         file_envoy_config_trace_v3_opencensus_proto_enumTypes,
   435  		MessageInfos:      file_envoy_config_trace_v3_opencensus_proto_msgTypes,
   436  	}.Build()
   437  	File_envoy_config_trace_v3_opencensus_proto = out.File
   438  	file_envoy_config_trace_v3_opencensus_proto_rawDesc = nil
   439  	file_envoy_config_trace_v3_opencensus_proto_goTypes = nil
   440  	file_envoy_config_trace_v3_opencensus_proto_depIdxs = nil
   441  }
   442  

View as plain text