github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/config/trace/v3/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/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/xds/go/udpa/annotations" 12 _ "github.com/hxx258456/ccgo/go-control-plane/envoy/annotations" 13 v3 "github.com/hxx258456/ccgo/go-control-plane/envoy/config/core/v3" 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, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x6e, 286 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 287 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64, 0x70, 288 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 289 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 290 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 291 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 292 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 293 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb3, 0x08, 294 0x0a, 0x10, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x43, 0x6f, 0x6e, 0x66, 295 0x69, 0x67, 0x12, 0x49, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 296 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x63, 297 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 298 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 299 0x52, 0x0b, 0x74, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x36, 0x0a, 300 0x17, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 301 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 302 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x45, 0x6e, 303 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x40, 0x0a, 0x1c, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x72, 304 0x69, 0x76, 0x65, 0x72, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x5f, 0x65, 0x6e, 305 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a, 0x73, 0x74, 0x61, 306 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 307 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x34, 0x0a, 0x16, 0x73, 0x74, 0x61, 0x63, 0x6b, 308 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 309 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x72, 310 0x69, 0x76, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x2f, 0x0a, 311 0x13, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 312 0x72, 0x65, 0x73, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x73, 0x74, 0x61, 0x63, 313 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x5b, 314 0x0a, 0x18, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x67, 0x72, 315 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 316 0x32, 0x21, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 317 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 318 0x69, 0x63, 0x65, 0x52, 0x16, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 319 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x43, 0x0a, 0x17, 0x7a, 320 0x69, 0x70, 0x6b, 0x69, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x5f, 0x65, 321 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, 0x0b, 0x18, 0x01, 322 0x92, 0xc7, 0x86, 0xd8, 0x04, 0x03, 0x33, 0x2e, 0x30, 0x52, 0x15, 0x7a, 0x69, 0x70, 0x6b, 0x69, 323 0x6e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 324 0x12, 0x2a, 0x0a, 0x0a, 0x7a, 0x69, 0x70, 0x6b, 0x69, 0x6e, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x06, 325 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b, 0x18, 0x01, 0x92, 0xc7, 0x86, 0xd8, 0x04, 0x03, 0x33, 0x2e, 326 0x30, 0x52, 0x09, 0x7a, 0x69, 0x70, 0x6b, 0x69, 0x6e, 0x55, 0x72, 0x6c, 0x12, 0x38, 0x0a, 0x18, 327 0x6f, 0x63, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 328 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 329 0x6f, 0x63, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x45, 330 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x63, 0x61, 0x67, 0x65, 0x6e, 331 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 332 0x0e, 0x6f, 0x63, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 333 0x53, 0x0a, 0x14, 0x6f, 0x63, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x67, 0x72, 0x70, 0x63, 0x5f, 334 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 335 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 336 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 337 0x52, 0x12, 0x6f, 0x63, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 338 0x76, 0x69, 0x63, 0x65, 0x12, 0x6a, 0x0a, 0x16, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 339 0x5f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x08, 340 0x20, 0x03, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 341 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x70, 0x65, 342 0x6e, 0x43, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54, 0x72, 343 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x14, 0x69, 0x6e, 0x63, 0x6f, 344 0x6d, 0x69, 0x6e, 0x67, 0x54, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 345 0x12, 0x6a, 0x0a, 0x16, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x72, 0x61, 346 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0e, 347 0x32, 0x34, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 348 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x65, 0x6e, 349 0x73, 0x75, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x43, 350 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x14, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 351 0x54, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x60, 0x0a, 0x0c, 352 0x54, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x08, 0x0a, 0x04, 353 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x52, 0x41, 0x43, 0x45, 0x5f, 354 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x58, 0x54, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x47, 0x52, 0x50, 355 0x43, 0x5f, 0x54, 0x52, 0x41, 0x43, 0x45, 0x5f, 0x42, 0x49, 0x4e, 0x10, 0x02, 0x12, 0x17, 0x0a, 356 0x13, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x54, 0x52, 0x41, 0x43, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 357 0x54, 0x45, 0x58, 0x54, 0x10, 0x03, 0x12, 0x06, 0x0a, 0x02, 0x42, 0x33, 0x10, 0x04, 0x3a, 0x2d, 358 0x9a, 0xc5, 0x88, 0x1e, 0x28, 0x0a, 0x26, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 359 0x66, 0x69, 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x2e, 0x4f, 0x70, 0x65, 360 0x6e, 0x43, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4a, 0x04, 0x08, 361 0x07, 0x10, 0x08, 0x42, 0x73, 0x0a, 0x23, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 362 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 363 0x67, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x0f, 0x4f, 0x70, 0x65, 0x6e, 364 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xf2, 0x98, 0xfe, 365 0x8f, 0x05, 0x2d, 0x12, 0x2b, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 366 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x72, 0x73, 0x2e, 0x6f, 0x70, 367 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x2e, 0x76, 0x34, 0x61, 0x6c, 0x70, 0x68, 0x61, 368 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 369 } 370 371 var ( 372 file_envoy_config_trace_v3_opencensus_proto_rawDescOnce sync.Once 373 file_envoy_config_trace_v3_opencensus_proto_rawDescData = file_envoy_config_trace_v3_opencensus_proto_rawDesc 374 ) 375 376 func file_envoy_config_trace_v3_opencensus_proto_rawDescGZIP() []byte { 377 file_envoy_config_trace_v3_opencensus_proto_rawDescOnce.Do(func() { 378 file_envoy_config_trace_v3_opencensus_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_config_trace_v3_opencensus_proto_rawDescData) 379 }) 380 return file_envoy_config_trace_v3_opencensus_proto_rawDescData 381 } 382 383 var file_envoy_config_trace_v3_opencensus_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 384 var file_envoy_config_trace_v3_opencensus_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 385 var file_envoy_config_trace_v3_opencensus_proto_goTypes = []interface{}{ 386 (OpenCensusConfig_TraceContext)(0), // 0: envoy.config.trace.v3.OpenCensusConfig.TraceContext 387 (*OpenCensusConfig)(nil), // 1: envoy.config.trace.v3.OpenCensusConfig 388 (*v1.TraceConfig)(nil), // 2: opencensus.proto.trace.v1.TraceConfig 389 (*v3.GrpcService)(nil), // 3: envoy.config.core.v3.GrpcService 390 } 391 var file_envoy_config_trace_v3_opencensus_proto_depIdxs = []int32{ 392 2, // 0: envoy.config.trace.v3.OpenCensusConfig.trace_config:type_name -> opencensus.proto.trace.v1.TraceConfig 393 3, // 1: envoy.config.trace.v3.OpenCensusConfig.stackdriver_grpc_service:type_name -> envoy.config.core.v3.GrpcService 394 3, // 2: envoy.config.trace.v3.OpenCensusConfig.ocagent_grpc_service:type_name -> envoy.config.core.v3.GrpcService 395 0, // 3: envoy.config.trace.v3.OpenCensusConfig.incoming_trace_context:type_name -> envoy.config.trace.v3.OpenCensusConfig.TraceContext 396 0, // 4: envoy.config.trace.v3.OpenCensusConfig.outgoing_trace_context:type_name -> envoy.config.trace.v3.OpenCensusConfig.TraceContext 397 5, // [5:5] is the sub-list for method output_type 398 5, // [5:5] is the sub-list for method input_type 399 5, // [5:5] is the sub-list for extension type_name 400 5, // [5:5] is the sub-list for extension extendee 401 0, // [0:5] is the sub-list for field type_name 402 } 403 404 func init() { file_envoy_config_trace_v3_opencensus_proto_init() } 405 func file_envoy_config_trace_v3_opencensus_proto_init() { 406 if File_envoy_config_trace_v3_opencensus_proto != nil { 407 return 408 } 409 if !protoimpl.UnsafeEnabled { 410 file_envoy_config_trace_v3_opencensus_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 411 switch v := v.(*OpenCensusConfig); i { 412 case 0: 413 return &v.state 414 case 1: 415 return &v.sizeCache 416 case 2: 417 return &v.unknownFields 418 default: 419 return nil 420 } 421 } 422 } 423 type x struct{} 424 out := protoimpl.TypeBuilder{ 425 File: protoimpl.DescBuilder{ 426 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 427 RawDescriptor: file_envoy_config_trace_v3_opencensus_proto_rawDesc, 428 NumEnums: 1, 429 NumMessages: 1, 430 NumExtensions: 0, 431 NumServices: 0, 432 }, 433 GoTypes: file_envoy_config_trace_v3_opencensus_proto_goTypes, 434 DependencyIndexes: file_envoy_config_trace_v3_opencensus_proto_depIdxs, 435 EnumInfos: file_envoy_config_trace_v3_opencensus_proto_enumTypes, 436 MessageInfos: file_envoy_config_trace_v3_opencensus_proto_msgTypes, 437 }.Build() 438 File_envoy_config_trace_v3_opencensus_proto = out.File 439 file_envoy_config_trace_v3_opencensus_proto_rawDesc = nil 440 file_envoy_config_trace_v3_opencensus_proto_goTypes = nil 441 file_envoy_config_trace_v3_opencensus_proto_depIdxs = nil 442 }