...

Source file src/github.com/datawire/ambassador/v2/pkg/api/envoy/extensions/tracers/opencensus/v4alpha/opencensus.pb.go

Documentation: github.com/datawire/ambassador/v2/pkg/api/envoy/extensions/tracers/opencensus/v4alpha

     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/extensions/tracers/opencensus/v4alpha/opencensus.proto
     6  
     7  package envoy_extensions_tracers_opencensus_v4alpha
     8  
     9  import (
    10  	v1 "github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1"
    11  	_ "github.com/cncf/udpa/go/udpa/annotations"
    12  	v4alpha "github.com/datawire/ambassador/v2/pkg/api/envoy/config/core/v4alpha"
    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_extensions_tracers_opencensus_v4alpha_opencensus_proto_enumTypes[0].Descriptor()
    77  }
    78  
    79  func (OpenCensusConfig_TraceContext) Type() protoreflect.EnumType {
    80  	return &file_envoy_extensions_tracers_opencensus_v4alpha_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_extensions_tracers_opencensus_v4alpha_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 *v4alpha.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  	HiddenEnvoyDeprecatedZipkinExporterEnabled bool `protobuf:"varint,5,opt,name=hidden_envoy_deprecated_zipkin_exporter_enabled,json=hiddenEnvoyDeprecatedZipkinExporterEnabled,proto3" json:"hidden_envoy_deprecated_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  	HiddenEnvoyDeprecatedZipkinUrl string `protobuf:"bytes,6,opt,name=hidden_envoy_deprecated_zipkin_url,json=hiddenEnvoyDeprecatedZipkinUrl,proto3" json:"hidden_envoy_deprecated_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 *v4alpha.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.extensions.tracers.opencensus.v4alpha.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.extensions.tracers.opencensus.v4alpha.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_extensions_tracers_opencensus_v4alpha_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_extensions_tracers_opencensus_v4alpha_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_extensions_tracers_opencensus_v4alpha_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() *v4alpha.GrpcService {
   216  	if x != nil {
   217  		return x.StackdriverGrpcService
   218  	}
   219  	return nil
   220  }
   221  
   222  // Deprecated: Do not use.
   223  func (x *OpenCensusConfig) GetHiddenEnvoyDeprecatedZipkinExporterEnabled() bool {
   224  	if x != nil {
   225  		return x.HiddenEnvoyDeprecatedZipkinExporterEnabled
   226  	}
   227  	return false
   228  }
   229  
   230  // Deprecated: Do not use.
   231  func (x *OpenCensusConfig) GetHiddenEnvoyDeprecatedZipkinUrl() string {
   232  	if x != nil {
   233  		return x.HiddenEnvoyDeprecatedZipkinUrl
   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() *v4alpha.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_extensions_tracers_opencensus_v4alpha_opencensus_proto protoreflect.FileDescriptor
   274  
   275  var file_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto_rawDesc = []byte{
   276  	0x0a, 0x3c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
   277  	0x6e, 0x73, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x72, 0x73, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x63,
   278  	0x65, 0x6e, 0x73, 0x75, 0x73, 0x2f, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6f, 0x70,
   279  	0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2b,
   280  	0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73,
   281  	0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x72, 0x73, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e,
   282  	0x73, 0x75, 0x73, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x2c, 0x65, 0x6e, 0x76,
   283  	0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76,
   284  	0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76,
   285  	0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x6f, 0x70, 0x65, 0x6e, 0x63,
   286  	0x65, 0x6e, 0x73, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x72, 0x61, 0x63,
   287  	0x65, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
   288  	0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e,
   289  	0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
   290  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e,
   291  	0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
   292  	0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64,
   293  	0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   294  	0x74, 0x6f, 0x22, 0xb3, 0x09, 0x0a, 0x10, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x65, 0x6e, 0x73, 0x75,
   295  	0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x49, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x63, 0x65,
   296  	0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e,
   297  	0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   298  	0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x43,
   299  	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66,
   300  	0x69, 0x67, 0x12, 0x36, 0x0a, 0x17, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x5f, 0x65, 0x78, 0x70,
   301  	0x6f, 0x72, 0x74, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20,
   302  	0x01, 0x28, 0x08, 0x52, 0x15, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x72,
   303  	0x74, 0x65, 0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x40, 0x0a, 0x1c, 0x73, 0x74,
   304  	0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74,
   305  	0x65, 0x72, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
   306  	0x52, 0x1a, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x45, 0x78, 0x70,
   307  	0x6f, 0x72, 0x74, 0x65, 0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x34, 0x0a, 0x16,
   308  	0x73, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x6a,
   309  	0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x73, 0x74,
   310  	0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
   311  	0x49, 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65,
   312  	0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52,
   313  	0x12, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72,
   314  	0x65, 0x73, 0x73, 0x12, 0x60, 0x0a, 0x18, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76,
   315  	0x65, 0x72, 0x5f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18,
   316  	0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f,
   317  	0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68,
   318  	0x61, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x16, 0x73,
   319  	0x74, 0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65,
   320  	0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x67, 0x0a, 0x2f, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f,
   321  	0x65, 0x6e, 0x76, 0x6f, 0x79, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64,
   322  	0x5f, 0x7a, 0x69, 0x70, 0x6b, 0x69, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72,
   323  	0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02,
   324  	0x18, 0x01, 0x52, 0x2a, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x45, 0x6e, 0x76, 0x6f, 0x79, 0x44,
   325  	0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5a, 0x69, 0x70, 0x6b, 0x69, 0x6e, 0x45,
   326  	0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x4e,
   327  	0x0a, 0x22, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x5f, 0x64,
   328  	0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x7a, 0x69, 0x70, 0x6b, 0x69, 0x6e,
   329  	0x5f, 0x75, 0x72, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x1e,
   330  	0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x45, 0x6e, 0x76, 0x6f, 0x79, 0x44, 0x65, 0x70, 0x72, 0x65,
   331  	0x63, 0x61, 0x74, 0x65, 0x64, 0x5a, 0x69, 0x70, 0x6b, 0x69, 0x6e, 0x55, 0x72, 0x6c, 0x12, 0x38,
   332  	0x0a, 0x18, 0x6f, 0x63, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74,
   333  	0x65, 0x72, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08,
   334  	0x52, 0x16, 0x6f, 0x63, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65,
   335  	0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x63, 0x61, 0x67,
   336  	0x65, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28,
   337  	0x09, 0x52, 0x0e, 0x6f, 0x63, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73,
   338  	0x73, 0x12, 0x58, 0x0a, 0x14, 0x6f, 0x63, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x67, 0x72, 0x70,
   339  	0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32,
   340  	0x26, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63,
   341  	0x6f, 0x72, 0x65, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x47, 0x72, 0x70, 0x63,
   342  	0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x12, 0x6f, 0x63, 0x61, 0x67, 0x65, 0x6e, 0x74,
   343  	0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x16,
   344  	0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x63,
   345  	0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x4a, 0x2e, 0x65,
   346  	0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
   347  	0x74, 0x72, 0x61, 0x63, 0x65, 0x72, 0x73, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73,
   348  	0x75, 0x73, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x43,
   349  	0x65, 0x6e, 0x73, 0x75, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54, 0x72, 0x61, 0x63,
   350  	0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x14, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x69,
   351  	0x6e, 0x67, 0x54, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x80,
   352  	0x01, 0x0a, 0x16, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x72, 0x61, 0x63,
   353  	0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0e, 0x32,
   354  	0x4a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
   355  	0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x72, 0x73, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63,
   356  	0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x70,
   357  	0x65, 0x6e, 0x43, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54,
   358  	0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x14, 0x6f, 0x75, 0x74,
   359  	0x67, 0x6f, 0x69, 0x6e, 0x67, 0x54, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78,
   360  	0x74, 0x22, 0x60, 0x0a, 0x0c, 0x54, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78,
   361  	0x74, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x54,
   362  	0x52, 0x41, 0x43, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x58, 0x54, 0x10, 0x01, 0x12, 0x12,
   363  	0x0a, 0x0e, 0x47, 0x52, 0x50, 0x43, 0x5f, 0x54, 0x52, 0x41, 0x43, 0x45, 0x5f, 0x42, 0x49, 0x4e,
   364  	0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x54, 0x52, 0x41, 0x43,
   365  	0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x58, 0x54, 0x10, 0x03, 0x12, 0x06, 0x0a, 0x02, 0x42,
   366  	0x33, 0x10, 0x04, 0x3a, 0x2d, 0x9a, 0xc5, 0x88, 0x1e, 0x28, 0x0a, 0x26, 0x65, 0x6e, 0x76, 0x6f,
   367  	0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76,
   368  	0x33, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x43, 0x6f, 0x6e, 0x66,
   369  	0x69, 0x67, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, 0x42, 0x56, 0x0a, 0x39, 0x69, 0x6f, 0x2e, 0x65,
   370  	0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e,
   371  	0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65,
   372  	0x72, 0x73, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x76, 0x34,
   373  	0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x0f, 0x4f, 0x70, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75,
   374  	0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x03,
   375  	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   376  }
   377  
   378  var (
   379  	file_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto_rawDescOnce sync.Once
   380  	file_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto_rawDescData = file_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto_rawDesc
   381  )
   382  
   383  func file_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto_rawDescGZIP() []byte {
   384  	file_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto_rawDescOnce.Do(func() {
   385  		file_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto_rawDescData)
   386  	})
   387  	return file_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto_rawDescData
   388  }
   389  
   390  var file_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   391  var file_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   392  var file_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto_goTypes = []interface{}{
   393  	(OpenCensusConfig_TraceContext)(0), // 0: envoy.extensions.tracers.opencensus.v4alpha.OpenCensusConfig.TraceContext
   394  	(*OpenCensusConfig)(nil),           // 1: envoy.extensions.tracers.opencensus.v4alpha.OpenCensusConfig
   395  	(*v1.TraceConfig)(nil),             // 2: opencensus.proto.trace.v1.TraceConfig
   396  	(*v4alpha.GrpcService)(nil),        // 3: envoy.config.core.v4alpha.GrpcService
   397  }
   398  var file_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto_depIdxs = []int32{
   399  	2, // 0: envoy.extensions.tracers.opencensus.v4alpha.OpenCensusConfig.trace_config:type_name -> opencensus.proto.trace.v1.TraceConfig
   400  	3, // 1: envoy.extensions.tracers.opencensus.v4alpha.OpenCensusConfig.stackdriver_grpc_service:type_name -> envoy.config.core.v4alpha.GrpcService
   401  	3, // 2: envoy.extensions.tracers.opencensus.v4alpha.OpenCensusConfig.ocagent_grpc_service:type_name -> envoy.config.core.v4alpha.GrpcService
   402  	0, // 3: envoy.extensions.tracers.opencensus.v4alpha.OpenCensusConfig.incoming_trace_context:type_name -> envoy.extensions.tracers.opencensus.v4alpha.OpenCensusConfig.TraceContext
   403  	0, // 4: envoy.extensions.tracers.opencensus.v4alpha.OpenCensusConfig.outgoing_trace_context:type_name -> envoy.extensions.tracers.opencensus.v4alpha.OpenCensusConfig.TraceContext
   404  	5, // [5:5] is the sub-list for method output_type
   405  	5, // [5:5] is the sub-list for method input_type
   406  	5, // [5:5] is the sub-list for extension type_name
   407  	5, // [5:5] is the sub-list for extension extendee
   408  	0, // [0:5] is the sub-list for field type_name
   409  }
   410  
   411  func init() { file_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto_init() }
   412  func file_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto_init() {
   413  	if File_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto != nil {
   414  		return
   415  	}
   416  	if !protoimpl.UnsafeEnabled {
   417  		file_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   418  			switch v := v.(*OpenCensusConfig); i {
   419  			case 0:
   420  				return &v.state
   421  			case 1:
   422  				return &v.sizeCache
   423  			case 2:
   424  				return &v.unknownFields
   425  			default:
   426  				return nil
   427  			}
   428  		}
   429  	}
   430  	type x struct{}
   431  	out := protoimpl.TypeBuilder{
   432  		File: protoimpl.DescBuilder{
   433  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   434  			RawDescriptor: file_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto_rawDesc,
   435  			NumEnums:      1,
   436  			NumMessages:   1,
   437  			NumExtensions: 0,
   438  			NumServices:   0,
   439  		},
   440  		GoTypes:           file_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto_goTypes,
   441  		DependencyIndexes: file_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto_depIdxs,
   442  		EnumInfos:         file_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto_enumTypes,
   443  		MessageInfos:      file_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto_msgTypes,
   444  	}.Build()
   445  	File_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto = out.File
   446  	file_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto_rawDesc = nil
   447  	file_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto_goTypes = nil
   448  	file_envoy_extensions_tracers_opencensus_v4alpha_opencensus_proto_depIdxs = nil
   449  }
   450  

View as plain text