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