blob: b342a0a940125eb967fb0fe8b14aa6ef703e419f [file] [log] [blame]
Abhay Kumara2ae5992025-11-10 14:02:24 +00001// Copyright 2019, OpenTelemetry Authors
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15// Code generated by protoc-gen-go. DO NOT EDIT.
16// versions:
17// protoc-gen-go v1.26.0
18// protoc v3.21.6
19// source: opentelemetry/proto/trace/v1/trace.proto
20
21package v1
22
23import (
24 v11 "go.opentelemetry.io/proto/otlp/common/v1"
25 v1 "go.opentelemetry.io/proto/otlp/resource/v1"
26 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
27 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
28 reflect "reflect"
29 sync "sync"
30)
31
32const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37)
38
39// SpanFlags represents constants used to interpret the
40// Span.flags field, which is protobuf 'fixed32' type and is to
41// be used as bit-fields. Each non-zero value defined in this enum is
42// a bit-mask. To extract the bit-field, for example, use an
43// expression like:
44//
45// (span.flags & SPAN_FLAGS_TRACE_FLAGS_MASK)
46//
47// See https://www.w3.org/TR/trace-context-2/#trace-flags for the flag definitions.
48//
49// Note that Span flags were introduced in version 1.1 of the
50// OpenTelemetry protocol. Older Span producers do not set this
51// field, consequently consumers should not rely on the absence of a
52// particular flag bit to indicate the presence of a particular feature.
53type SpanFlags int32
54
55const (
56 // The zero value for the enum. Should not be used for comparisons.
57 // Instead use bitwise "and" with the appropriate mask as shown above.
58 SpanFlags_SPAN_FLAGS_DO_NOT_USE SpanFlags = 0
59 // Bits 0-7 are used for trace flags.
60 SpanFlags_SPAN_FLAGS_TRACE_FLAGS_MASK SpanFlags = 255
61 // Bits 8 and 9 are used to indicate that the parent span or link span is remote.
62 // Bit 8 (`HAS_IS_REMOTE`) indicates whether the value is known.
63 // Bit 9 (`IS_REMOTE`) indicates whether the span or link is remote.
64 SpanFlags_SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK SpanFlags = 256
65 SpanFlags_SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK SpanFlags = 512
66)
67
68// Enum value maps for SpanFlags.
69var (
70 SpanFlags_name = map[int32]string{
71 0: "SPAN_FLAGS_DO_NOT_USE",
72 255: "SPAN_FLAGS_TRACE_FLAGS_MASK",
73 256: "SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK",
74 512: "SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK",
75 }
76 SpanFlags_value = map[string]int32{
77 "SPAN_FLAGS_DO_NOT_USE": 0,
78 "SPAN_FLAGS_TRACE_FLAGS_MASK": 255,
79 "SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK": 256,
80 "SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK": 512,
81 }
82)
83
84func (x SpanFlags) Enum() *SpanFlags {
85 p := new(SpanFlags)
86 *p = x
87 return p
88}
89
90func (x SpanFlags) String() string {
91 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
92}
93
94func (SpanFlags) Descriptor() protoreflect.EnumDescriptor {
95 return file_opentelemetry_proto_trace_v1_trace_proto_enumTypes[0].Descriptor()
96}
97
98func (SpanFlags) Type() protoreflect.EnumType {
99 return &file_opentelemetry_proto_trace_v1_trace_proto_enumTypes[0]
100}
101
102func (x SpanFlags) Number() protoreflect.EnumNumber {
103 return protoreflect.EnumNumber(x)
104}
105
106// Deprecated: Use SpanFlags.Descriptor instead.
107func (SpanFlags) EnumDescriptor() ([]byte, []int) {
108 return file_opentelemetry_proto_trace_v1_trace_proto_rawDescGZIP(), []int{0}
109}
110
111// SpanKind is the type of span. Can be used to specify additional relationships between spans
112// in addition to a parent/child relationship.
113type Span_SpanKind int32
114
115const (
116 // Unspecified. Do NOT use as default.
117 // Implementations MAY assume SpanKind to be INTERNAL when receiving UNSPECIFIED.
118 Span_SPAN_KIND_UNSPECIFIED Span_SpanKind = 0
119 // Indicates that the span represents an internal operation within an application,
120 // as opposed to an operation happening at the boundaries. Default value.
121 Span_SPAN_KIND_INTERNAL Span_SpanKind = 1
122 // Indicates that the span covers server-side handling of an RPC or other
123 // remote network request.
124 Span_SPAN_KIND_SERVER Span_SpanKind = 2
125 // Indicates that the span describes a request to some remote service.
126 Span_SPAN_KIND_CLIENT Span_SpanKind = 3
127 // Indicates that the span describes a producer sending a message to a broker.
128 // Unlike CLIENT and SERVER, there is often no direct critical path latency relationship
129 // between producer and consumer spans. A PRODUCER span ends when the message was accepted
130 // by the broker while the logical processing of the message might span a much longer time.
131 Span_SPAN_KIND_PRODUCER Span_SpanKind = 4
132 // Indicates that the span describes consumer receiving a message from a broker.
133 // Like the PRODUCER kind, there is often no direct critical path latency relationship
134 // between producer and consumer spans.
135 Span_SPAN_KIND_CONSUMER Span_SpanKind = 5
136)
137
138// Enum value maps for Span_SpanKind.
139var (
140 Span_SpanKind_name = map[int32]string{
141 0: "SPAN_KIND_UNSPECIFIED",
142 1: "SPAN_KIND_INTERNAL",
143 2: "SPAN_KIND_SERVER",
144 3: "SPAN_KIND_CLIENT",
145 4: "SPAN_KIND_PRODUCER",
146 5: "SPAN_KIND_CONSUMER",
147 }
148 Span_SpanKind_value = map[string]int32{
149 "SPAN_KIND_UNSPECIFIED": 0,
150 "SPAN_KIND_INTERNAL": 1,
151 "SPAN_KIND_SERVER": 2,
152 "SPAN_KIND_CLIENT": 3,
153 "SPAN_KIND_PRODUCER": 4,
154 "SPAN_KIND_CONSUMER": 5,
155 }
156)
157
158func (x Span_SpanKind) Enum() *Span_SpanKind {
159 p := new(Span_SpanKind)
160 *p = x
161 return p
162}
163
164func (x Span_SpanKind) String() string {
165 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
166}
167
168func (Span_SpanKind) Descriptor() protoreflect.EnumDescriptor {
169 return file_opentelemetry_proto_trace_v1_trace_proto_enumTypes[1].Descriptor()
170}
171
172func (Span_SpanKind) Type() protoreflect.EnumType {
173 return &file_opentelemetry_proto_trace_v1_trace_proto_enumTypes[1]
174}
175
176func (x Span_SpanKind) Number() protoreflect.EnumNumber {
177 return protoreflect.EnumNumber(x)
178}
179
180// Deprecated: Use Span_SpanKind.Descriptor instead.
181func (Span_SpanKind) EnumDescriptor() ([]byte, []int) {
182 return file_opentelemetry_proto_trace_v1_trace_proto_rawDescGZIP(), []int{3, 0}
183}
184
185// For the semantics of status codes see
186// https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#set-status
187type Status_StatusCode int32
188
189const (
190 // The default status.
191 Status_STATUS_CODE_UNSET Status_StatusCode = 0
192 // The Span has been validated by an Application developer or Operator to
193 // have completed successfully.
194 Status_STATUS_CODE_OK Status_StatusCode = 1
195 // The Span contains an error.
196 Status_STATUS_CODE_ERROR Status_StatusCode = 2
197)
198
199// Enum value maps for Status_StatusCode.
200var (
201 Status_StatusCode_name = map[int32]string{
202 0: "STATUS_CODE_UNSET",
203 1: "STATUS_CODE_OK",
204 2: "STATUS_CODE_ERROR",
205 }
206 Status_StatusCode_value = map[string]int32{
207 "STATUS_CODE_UNSET": 0,
208 "STATUS_CODE_OK": 1,
209 "STATUS_CODE_ERROR": 2,
210 }
211)
212
213func (x Status_StatusCode) Enum() *Status_StatusCode {
214 p := new(Status_StatusCode)
215 *p = x
216 return p
217}
218
219func (x Status_StatusCode) String() string {
220 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
221}
222
223func (Status_StatusCode) Descriptor() protoreflect.EnumDescriptor {
224 return file_opentelemetry_proto_trace_v1_trace_proto_enumTypes[2].Descriptor()
225}
226
227func (Status_StatusCode) Type() protoreflect.EnumType {
228 return &file_opentelemetry_proto_trace_v1_trace_proto_enumTypes[2]
229}
230
231func (x Status_StatusCode) Number() protoreflect.EnumNumber {
232 return protoreflect.EnumNumber(x)
233}
234
235// Deprecated: Use Status_StatusCode.Descriptor instead.
236func (Status_StatusCode) EnumDescriptor() ([]byte, []int) {
237 return file_opentelemetry_proto_trace_v1_trace_proto_rawDescGZIP(), []int{4, 0}
238}
239
240// TracesData represents the traces data that can be stored in a persistent storage,
241// OR can be embedded by other protocols that transfer OTLP traces data but do
242// not implement the OTLP protocol.
243//
244// The main difference between this message and collector protocol is that
245// in this message there will not be any "control" or "metadata" specific to
246// OTLP protocol.
247//
248// When new fields are added into this message, the OTLP request MUST be updated
249// as well.
250type TracesData struct {
251 state protoimpl.MessageState
252 sizeCache protoimpl.SizeCache
253 unknownFields protoimpl.UnknownFields
254
255 // An array of ResourceSpans.
256 // For data coming from a single resource this array will typically contain
257 // one element. Intermediary nodes that receive data from multiple origins
258 // typically batch the data before forwarding further and in that case this
259 // array will contain multiple elements.
260 ResourceSpans []*ResourceSpans `protobuf:"bytes,1,rep,name=resource_spans,json=resourceSpans,proto3" json:"resource_spans,omitempty"`
261}
262
263func (x *TracesData) Reset() {
264 *x = TracesData{}
265 if protoimpl.UnsafeEnabled {
266 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[0]
267 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
268 ms.StoreMessageInfo(mi)
269 }
270}
271
272func (x *TracesData) String() string {
273 return protoimpl.X.MessageStringOf(x)
274}
275
276func (*TracesData) ProtoMessage() {}
277
278func (x *TracesData) ProtoReflect() protoreflect.Message {
279 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[0]
280 if protoimpl.UnsafeEnabled && x != nil {
281 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
282 if ms.LoadMessageInfo() == nil {
283 ms.StoreMessageInfo(mi)
284 }
285 return ms
286 }
287 return mi.MessageOf(x)
288}
289
290// Deprecated: Use TracesData.ProtoReflect.Descriptor instead.
291func (*TracesData) Descriptor() ([]byte, []int) {
292 return file_opentelemetry_proto_trace_v1_trace_proto_rawDescGZIP(), []int{0}
293}
294
295func (x *TracesData) GetResourceSpans() []*ResourceSpans {
296 if x != nil {
297 return x.ResourceSpans
298 }
299 return nil
300}
301
302// A collection of ScopeSpans from a Resource.
303type ResourceSpans struct {
304 state protoimpl.MessageState
305 sizeCache protoimpl.SizeCache
306 unknownFields protoimpl.UnknownFields
307
308 // The resource for the spans in this message.
309 // If this field is not set then no resource info is known.
310 Resource *v1.Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
311 // A list of ScopeSpans that originate from a resource.
312 ScopeSpans []*ScopeSpans `protobuf:"bytes,2,rep,name=scope_spans,json=scopeSpans,proto3" json:"scope_spans,omitempty"`
313 // The Schema URL, if known. This is the identifier of the Schema that the resource data
314 // is recorded in. Notably, the last part of the URL path is the version number of the
315 // schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see
316 // https://opentelemetry.io/docs/specs/otel/schemas/#schema-url
317 // This schema_url applies to the data in the "resource" field. It does not apply
318 // to the data in the "scope_spans" field which have their own schema_url field.
319 SchemaUrl string `protobuf:"bytes,3,opt,name=schema_url,json=schemaUrl,proto3" json:"schema_url,omitempty"`
320}
321
322func (x *ResourceSpans) Reset() {
323 *x = ResourceSpans{}
324 if protoimpl.UnsafeEnabled {
325 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[1]
326 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
327 ms.StoreMessageInfo(mi)
328 }
329}
330
331func (x *ResourceSpans) String() string {
332 return protoimpl.X.MessageStringOf(x)
333}
334
335func (*ResourceSpans) ProtoMessage() {}
336
337func (x *ResourceSpans) ProtoReflect() protoreflect.Message {
338 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[1]
339 if protoimpl.UnsafeEnabled && x != nil {
340 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
341 if ms.LoadMessageInfo() == nil {
342 ms.StoreMessageInfo(mi)
343 }
344 return ms
345 }
346 return mi.MessageOf(x)
347}
348
349// Deprecated: Use ResourceSpans.ProtoReflect.Descriptor instead.
350func (*ResourceSpans) Descriptor() ([]byte, []int) {
351 return file_opentelemetry_proto_trace_v1_trace_proto_rawDescGZIP(), []int{1}
352}
353
354func (x *ResourceSpans) GetResource() *v1.Resource {
355 if x != nil {
356 return x.Resource
357 }
358 return nil
359}
360
361func (x *ResourceSpans) GetScopeSpans() []*ScopeSpans {
362 if x != nil {
363 return x.ScopeSpans
364 }
365 return nil
366}
367
368func (x *ResourceSpans) GetSchemaUrl() string {
369 if x != nil {
370 return x.SchemaUrl
371 }
372 return ""
373}
374
375// A collection of Spans produced by an InstrumentationScope.
376type ScopeSpans struct {
377 state protoimpl.MessageState
378 sizeCache protoimpl.SizeCache
379 unknownFields protoimpl.UnknownFields
380
381 // The instrumentation scope information for the spans in this message.
382 // Semantically when InstrumentationScope isn't set, it is equivalent with
383 // an empty instrumentation scope name (unknown).
384 Scope *v11.InstrumentationScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
385 // A list of Spans that originate from an instrumentation scope.
386 Spans []*Span `protobuf:"bytes,2,rep,name=spans,proto3" json:"spans,omitempty"`
387 // The Schema URL, if known. This is the identifier of the Schema that the span data
388 // is recorded in. Notably, the last part of the URL path is the version number of the
389 // schema: http[s]://server[:port]/path/<version>. To learn more about Schema URL see
390 // https://opentelemetry.io/docs/specs/otel/schemas/#schema-url
391 // This schema_url applies to all spans and span events in the "spans" field.
392 SchemaUrl string `protobuf:"bytes,3,opt,name=schema_url,json=schemaUrl,proto3" json:"schema_url,omitempty"`
393}
394
395func (x *ScopeSpans) Reset() {
396 *x = ScopeSpans{}
397 if protoimpl.UnsafeEnabled {
398 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[2]
399 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
400 ms.StoreMessageInfo(mi)
401 }
402}
403
404func (x *ScopeSpans) String() string {
405 return protoimpl.X.MessageStringOf(x)
406}
407
408func (*ScopeSpans) ProtoMessage() {}
409
410func (x *ScopeSpans) ProtoReflect() protoreflect.Message {
411 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[2]
412 if protoimpl.UnsafeEnabled && x != nil {
413 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
414 if ms.LoadMessageInfo() == nil {
415 ms.StoreMessageInfo(mi)
416 }
417 return ms
418 }
419 return mi.MessageOf(x)
420}
421
422// Deprecated: Use ScopeSpans.ProtoReflect.Descriptor instead.
423func (*ScopeSpans) Descriptor() ([]byte, []int) {
424 return file_opentelemetry_proto_trace_v1_trace_proto_rawDescGZIP(), []int{2}
425}
426
427func (x *ScopeSpans) GetScope() *v11.InstrumentationScope {
428 if x != nil {
429 return x.Scope
430 }
431 return nil
432}
433
434func (x *ScopeSpans) GetSpans() []*Span {
435 if x != nil {
436 return x.Spans
437 }
438 return nil
439}
440
441func (x *ScopeSpans) GetSchemaUrl() string {
442 if x != nil {
443 return x.SchemaUrl
444 }
445 return ""
446}
447
448// A Span represents a single operation performed by a single component of the system.
449//
450// The next available field id is 17.
451type Span struct {
452 state protoimpl.MessageState
453 sizeCache protoimpl.SizeCache
454 unknownFields protoimpl.UnknownFields
455
456 // A unique identifier for a trace. All spans from the same trace share
457 // the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR
458 // of length other than 16 bytes is considered invalid (empty string in OTLP/JSON
459 // is zero-length and thus is also invalid).
460 //
461 // This field is required.
462 TraceId []byte `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
463 // A unique identifier for a span within a trace, assigned when the span
464 // is created. The ID is an 8-byte array. An ID with all zeroes OR of length
465 // other than 8 bytes is considered invalid (empty string in OTLP/JSON
466 // is zero-length and thus is also invalid).
467 //
468 // This field is required.
469 SpanId []byte `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
470 // trace_state conveys information about request position in multiple distributed tracing graphs.
471 // It is a trace_state in w3c-trace-context format: https://www.w3.org/TR/trace-context/#tracestate-header
472 // See also https://github.com/w3c/distributed-tracing for more details about this field.
473 TraceState string `protobuf:"bytes,3,opt,name=trace_state,json=traceState,proto3" json:"trace_state,omitempty"`
474 // The `span_id` of this span's parent span. If this is a root span, then this
475 // field must be empty. The ID is an 8-byte array.
476 ParentSpanId []byte `protobuf:"bytes,4,opt,name=parent_span_id,json=parentSpanId,proto3" json:"parent_span_id,omitempty"`
477 // Flags, a bit field.
478 //
479 // Bits 0-7 (8 least significant bits) are the trace flags as defined in W3C Trace
480 // Context specification. To read the 8-bit W3C trace flag, use
481 // `flags & SPAN_FLAGS_TRACE_FLAGS_MASK`.
482 //
483 // See https://www.w3.org/TR/trace-context-2/#trace-flags for the flag definitions.
484 //
485 // Bits 8 and 9 represent the 3 states of whether a span's parent
486 // is remote. The states are (unknown, is not remote, is remote).
487 // To read whether the value is known, use `(flags & SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK) != 0`.
488 // To read whether the span is remote, use `(flags & SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK) != 0`.
489 //
490 // When creating span messages, if the message is logically forwarded from another source
491 // with an equivalent flags fields (i.e., usually another OTLP span message), the field SHOULD
492 // be copied as-is. If creating from a source that does not have an equivalent flags field
493 // (such as a runtime representation of an OpenTelemetry span), the high 22 bits MUST
494 // be set to zero.
495 // Readers MUST NOT assume that bits 10-31 (22 most significant bits) will be zero.
496 //
497 // [Optional].
498 Flags uint32 `protobuf:"fixed32,16,opt,name=flags,proto3" json:"flags,omitempty"`
499 // A description of the span's operation.
500 //
501 // For example, the name can be a qualified method name or a file name
502 // and a line number where the operation is called. A best practice is to use
503 // the same display name at the same call point in an application.
504 // This makes it easier to correlate spans in different traces.
505 //
506 // This field is semantically required to be set to non-empty string.
507 // Empty value is equivalent to an unknown span name.
508 //
509 // This field is required.
510 Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
511 // Distinguishes between spans generated in a particular context. For example,
512 // two spans with the same name may be distinguished using `CLIENT` (caller)
513 // and `SERVER` (callee) to identify queueing latency associated with the span.
514 Kind Span_SpanKind `protobuf:"varint,6,opt,name=kind,proto3,enum=opentelemetry.proto.trace.v1.Span_SpanKind" json:"kind,omitempty"`
515 // start_time_unix_nano is the start time of the span. On the client side, this is the time
516 // kept by the local machine where the span execution starts. On the server side, this
517 // is the time when the server's application handler starts running.
518 // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
519 //
520 // This field is semantically required and it is expected that end_time >= start_time.
521 StartTimeUnixNano uint64 `protobuf:"fixed64,7,opt,name=start_time_unix_nano,json=startTimeUnixNano,proto3" json:"start_time_unix_nano,omitempty"`
522 // end_time_unix_nano is the end time of the span. On the client side, this is the time
523 // kept by the local machine where the span execution ends. On the server side, this
524 // is the time when the server application handler stops running.
525 // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
526 //
527 // This field is semantically required and it is expected that end_time >= start_time.
528 EndTimeUnixNano uint64 `protobuf:"fixed64,8,opt,name=end_time_unix_nano,json=endTimeUnixNano,proto3" json:"end_time_unix_nano,omitempty"`
529 // attributes is a collection of key/value pairs. Note, global attributes
530 // like server name can be set using the resource API. Examples of attributes:
531 //
532 // "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
533 // "/http/server_latency": 300
534 // "example.com/myattribute": true
535 // "example.com/score": 10.239
536 //
537 // The OpenTelemetry API specification further restricts the allowed value types:
538 // https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute
539 // Attribute keys MUST be unique (it is not allowed to have more than one
540 // attribute with the same key).
541 Attributes []*v11.KeyValue `protobuf:"bytes,9,rep,name=attributes,proto3" json:"attributes,omitempty"`
542 // dropped_attributes_count is the number of attributes that were discarded. Attributes
543 // can be discarded because their keys are too long or because there are too many
544 // attributes. If this value is 0, then no attributes were dropped.
545 DroppedAttributesCount uint32 `protobuf:"varint,10,opt,name=dropped_attributes_count,json=droppedAttributesCount,proto3" json:"dropped_attributes_count,omitempty"`
546 // events is a collection of Event items.
547 Events []*Span_Event `protobuf:"bytes,11,rep,name=events,proto3" json:"events,omitempty"`
548 // dropped_events_count is the number of dropped events. If the value is 0, then no
549 // events were dropped.
550 DroppedEventsCount uint32 `protobuf:"varint,12,opt,name=dropped_events_count,json=droppedEventsCount,proto3" json:"dropped_events_count,omitempty"`
551 // links is a collection of Links, which are references from this span to a span
552 // in the same or different trace.
553 Links []*Span_Link `protobuf:"bytes,13,rep,name=links,proto3" json:"links,omitempty"`
554 // dropped_links_count is the number of dropped links after the maximum size was
555 // enforced. If this value is 0, then no links were dropped.
556 DroppedLinksCount uint32 `protobuf:"varint,14,opt,name=dropped_links_count,json=droppedLinksCount,proto3" json:"dropped_links_count,omitempty"`
557 // An optional final status for this span. Semantically when Status isn't set, it means
558 // span's status code is unset, i.e. assume STATUS_CODE_UNSET (code = 0).
559 Status *Status `protobuf:"bytes,15,opt,name=status,proto3" json:"status,omitempty"`
560}
561
562func (x *Span) Reset() {
563 *x = Span{}
564 if protoimpl.UnsafeEnabled {
565 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[3]
566 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
567 ms.StoreMessageInfo(mi)
568 }
569}
570
571func (x *Span) String() string {
572 return protoimpl.X.MessageStringOf(x)
573}
574
575func (*Span) ProtoMessage() {}
576
577func (x *Span) ProtoReflect() protoreflect.Message {
578 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[3]
579 if protoimpl.UnsafeEnabled && x != nil {
580 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
581 if ms.LoadMessageInfo() == nil {
582 ms.StoreMessageInfo(mi)
583 }
584 return ms
585 }
586 return mi.MessageOf(x)
587}
588
589// Deprecated: Use Span.ProtoReflect.Descriptor instead.
590func (*Span) Descriptor() ([]byte, []int) {
591 return file_opentelemetry_proto_trace_v1_trace_proto_rawDescGZIP(), []int{3}
592}
593
594func (x *Span) GetTraceId() []byte {
595 if x != nil {
596 return x.TraceId
597 }
598 return nil
599}
600
601func (x *Span) GetSpanId() []byte {
602 if x != nil {
603 return x.SpanId
604 }
605 return nil
606}
607
608func (x *Span) GetTraceState() string {
609 if x != nil {
610 return x.TraceState
611 }
612 return ""
613}
614
615func (x *Span) GetParentSpanId() []byte {
616 if x != nil {
617 return x.ParentSpanId
618 }
619 return nil
620}
621
622func (x *Span) GetFlags() uint32 {
623 if x != nil {
624 return x.Flags
625 }
626 return 0
627}
628
629func (x *Span) GetName() string {
630 if x != nil {
631 return x.Name
632 }
633 return ""
634}
635
636func (x *Span) GetKind() Span_SpanKind {
637 if x != nil {
638 return x.Kind
639 }
640 return Span_SPAN_KIND_UNSPECIFIED
641}
642
643func (x *Span) GetStartTimeUnixNano() uint64 {
644 if x != nil {
645 return x.StartTimeUnixNano
646 }
647 return 0
648}
649
650func (x *Span) GetEndTimeUnixNano() uint64 {
651 if x != nil {
652 return x.EndTimeUnixNano
653 }
654 return 0
655}
656
657func (x *Span) GetAttributes() []*v11.KeyValue {
658 if x != nil {
659 return x.Attributes
660 }
661 return nil
662}
663
664func (x *Span) GetDroppedAttributesCount() uint32 {
665 if x != nil {
666 return x.DroppedAttributesCount
667 }
668 return 0
669}
670
671func (x *Span) GetEvents() []*Span_Event {
672 if x != nil {
673 return x.Events
674 }
675 return nil
676}
677
678func (x *Span) GetDroppedEventsCount() uint32 {
679 if x != nil {
680 return x.DroppedEventsCount
681 }
682 return 0
683}
684
685func (x *Span) GetLinks() []*Span_Link {
686 if x != nil {
687 return x.Links
688 }
689 return nil
690}
691
692func (x *Span) GetDroppedLinksCount() uint32 {
693 if x != nil {
694 return x.DroppedLinksCount
695 }
696 return 0
697}
698
699func (x *Span) GetStatus() *Status {
700 if x != nil {
701 return x.Status
702 }
703 return nil
704}
705
706// The Status type defines a logical error model that is suitable for different
707// programming environments, including REST APIs and RPC APIs.
708type Status struct {
709 state protoimpl.MessageState
710 sizeCache protoimpl.SizeCache
711 unknownFields protoimpl.UnknownFields
712
713 // A developer-facing human readable error message.
714 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
715 // The status code.
716 Code Status_StatusCode `protobuf:"varint,3,opt,name=code,proto3,enum=opentelemetry.proto.trace.v1.Status_StatusCode" json:"code,omitempty"`
717}
718
719func (x *Status) Reset() {
720 *x = Status{}
721 if protoimpl.UnsafeEnabled {
722 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[4]
723 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
724 ms.StoreMessageInfo(mi)
725 }
726}
727
728func (x *Status) String() string {
729 return protoimpl.X.MessageStringOf(x)
730}
731
732func (*Status) ProtoMessage() {}
733
734func (x *Status) ProtoReflect() protoreflect.Message {
735 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[4]
736 if protoimpl.UnsafeEnabled && x != nil {
737 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
738 if ms.LoadMessageInfo() == nil {
739 ms.StoreMessageInfo(mi)
740 }
741 return ms
742 }
743 return mi.MessageOf(x)
744}
745
746// Deprecated: Use Status.ProtoReflect.Descriptor instead.
747func (*Status) Descriptor() ([]byte, []int) {
748 return file_opentelemetry_proto_trace_v1_trace_proto_rawDescGZIP(), []int{4}
749}
750
751func (x *Status) GetMessage() string {
752 if x != nil {
753 return x.Message
754 }
755 return ""
756}
757
758func (x *Status) GetCode() Status_StatusCode {
759 if x != nil {
760 return x.Code
761 }
762 return Status_STATUS_CODE_UNSET
763}
764
765// Event is a time-stamped annotation of the span, consisting of user-supplied
766// text description and key-value pairs.
767type Span_Event struct {
768 state protoimpl.MessageState
769 sizeCache protoimpl.SizeCache
770 unknownFields protoimpl.UnknownFields
771
772 // time_unix_nano is the time the event occurred.
773 TimeUnixNano uint64 `protobuf:"fixed64,1,opt,name=time_unix_nano,json=timeUnixNano,proto3" json:"time_unix_nano,omitempty"`
774 // name of the event.
775 // This field is semantically required to be set to non-empty string.
776 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
777 // attributes is a collection of attribute key/value pairs on the event.
778 // Attribute keys MUST be unique (it is not allowed to have more than one
779 // attribute with the same key).
780 Attributes []*v11.KeyValue `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"`
781 // dropped_attributes_count is the number of dropped attributes. If the value is 0,
782 // then no attributes were dropped.
783 DroppedAttributesCount uint32 `protobuf:"varint,4,opt,name=dropped_attributes_count,json=droppedAttributesCount,proto3" json:"dropped_attributes_count,omitempty"`
784}
785
786func (x *Span_Event) Reset() {
787 *x = Span_Event{}
788 if protoimpl.UnsafeEnabled {
789 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[5]
790 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
791 ms.StoreMessageInfo(mi)
792 }
793}
794
795func (x *Span_Event) String() string {
796 return protoimpl.X.MessageStringOf(x)
797}
798
799func (*Span_Event) ProtoMessage() {}
800
801func (x *Span_Event) ProtoReflect() protoreflect.Message {
802 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[5]
803 if protoimpl.UnsafeEnabled && x != nil {
804 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
805 if ms.LoadMessageInfo() == nil {
806 ms.StoreMessageInfo(mi)
807 }
808 return ms
809 }
810 return mi.MessageOf(x)
811}
812
813// Deprecated: Use Span_Event.ProtoReflect.Descriptor instead.
814func (*Span_Event) Descriptor() ([]byte, []int) {
815 return file_opentelemetry_proto_trace_v1_trace_proto_rawDescGZIP(), []int{3, 0}
816}
817
818func (x *Span_Event) GetTimeUnixNano() uint64 {
819 if x != nil {
820 return x.TimeUnixNano
821 }
822 return 0
823}
824
825func (x *Span_Event) GetName() string {
826 if x != nil {
827 return x.Name
828 }
829 return ""
830}
831
832func (x *Span_Event) GetAttributes() []*v11.KeyValue {
833 if x != nil {
834 return x.Attributes
835 }
836 return nil
837}
838
839func (x *Span_Event) GetDroppedAttributesCount() uint32 {
840 if x != nil {
841 return x.DroppedAttributesCount
842 }
843 return 0
844}
845
846// A pointer from the current span to another span in the same trace or in a
847// different trace. For example, this can be used in batching operations,
848// where a single batch handler processes multiple requests from different
849// traces or when the handler receives a request from a different project.
850type Span_Link struct {
851 state protoimpl.MessageState
852 sizeCache protoimpl.SizeCache
853 unknownFields protoimpl.UnknownFields
854
855 // A unique identifier of a trace that this linked span is part of. The ID is a
856 // 16-byte array.
857 TraceId []byte `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
858 // A unique identifier for the linked span. The ID is an 8-byte array.
859 SpanId []byte `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
860 // The trace_state associated with the link.
861 TraceState string `protobuf:"bytes,3,opt,name=trace_state,json=traceState,proto3" json:"trace_state,omitempty"`
862 // attributes is a collection of attribute key/value pairs on the link.
863 // Attribute keys MUST be unique (it is not allowed to have more than one
864 // attribute with the same key).
865 Attributes []*v11.KeyValue `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty"`
866 // dropped_attributes_count is the number of dropped attributes. If the value is 0,
867 // then no attributes were dropped.
868 DroppedAttributesCount uint32 `protobuf:"varint,5,opt,name=dropped_attributes_count,json=droppedAttributesCount,proto3" json:"dropped_attributes_count,omitempty"`
869 // Flags, a bit field.
870 //
871 // Bits 0-7 (8 least significant bits) are the trace flags as defined in W3C Trace
872 // Context specification. To read the 8-bit W3C trace flag, use
873 // `flags & SPAN_FLAGS_TRACE_FLAGS_MASK`.
874 //
875 // See https://www.w3.org/TR/trace-context-2/#trace-flags for the flag definitions.
876 //
877 // Bits 8 and 9 represent the 3 states of whether the link is remote.
878 // The states are (unknown, is not remote, is remote).
879 // To read whether the value is known, use `(flags & SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK) != 0`.
880 // To read whether the link is remote, use `(flags & SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK) != 0`.
881 //
882 // Readers MUST NOT assume that bits 10-31 (22 most significant bits) will be zero.
883 // When creating new spans, bits 10-31 (most-significant 22-bits) MUST be zero.
884 //
885 // [Optional].
886 Flags uint32 `protobuf:"fixed32,6,opt,name=flags,proto3" json:"flags,omitempty"`
887}
888
889func (x *Span_Link) Reset() {
890 *x = Span_Link{}
891 if protoimpl.UnsafeEnabled {
892 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[6]
893 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
894 ms.StoreMessageInfo(mi)
895 }
896}
897
898func (x *Span_Link) String() string {
899 return protoimpl.X.MessageStringOf(x)
900}
901
902func (*Span_Link) ProtoMessage() {}
903
904func (x *Span_Link) ProtoReflect() protoreflect.Message {
905 mi := &file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[6]
906 if protoimpl.UnsafeEnabled && x != nil {
907 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
908 if ms.LoadMessageInfo() == nil {
909 ms.StoreMessageInfo(mi)
910 }
911 return ms
912 }
913 return mi.MessageOf(x)
914}
915
916// Deprecated: Use Span_Link.ProtoReflect.Descriptor instead.
917func (*Span_Link) Descriptor() ([]byte, []int) {
918 return file_opentelemetry_proto_trace_v1_trace_proto_rawDescGZIP(), []int{3, 1}
919}
920
921func (x *Span_Link) GetTraceId() []byte {
922 if x != nil {
923 return x.TraceId
924 }
925 return nil
926}
927
928func (x *Span_Link) GetSpanId() []byte {
929 if x != nil {
930 return x.SpanId
931 }
932 return nil
933}
934
935func (x *Span_Link) GetTraceState() string {
936 if x != nil {
937 return x.TraceState
938 }
939 return ""
940}
941
942func (x *Span_Link) GetAttributes() []*v11.KeyValue {
943 if x != nil {
944 return x.Attributes
945 }
946 return nil
947}
948
949func (x *Span_Link) GetDroppedAttributesCount() uint32 {
950 if x != nil {
951 return x.DroppedAttributesCount
952 }
953 return 0
954}
955
956func (x *Span_Link) GetFlags() uint32 {
957 if x != nil {
958 return x.Flags
959 }
960 return 0
961}
962
963var File_opentelemetry_proto_trace_v1_trace_proto protoreflect.FileDescriptor
964
965var file_opentelemetry_proto_trace_v1_trace_proto_rawDesc = []byte{
966 0x0a, 0x28, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2f,
967 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x74,
968 0x72, 0x61, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1c, 0x6f, 0x70, 0x65, 0x6e,
969 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
970 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x2a, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65,
971 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f,
972 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70,
973 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65,
974 0x74, 0x72, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
975 0x63, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70,
976 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x0a, 0x54, 0x72, 0x61, 0x63, 0x65, 0x73, 0x44, 0x61,
977 0x74, 0x61, 0x12, 0x52, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x73,
978 0x70, 0x61, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6f, 0x70, 0x65,
979 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
980 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,
981 0x63, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
982 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x22, 0xc8, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75,
983 0x72, 0x63, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x12, 0x45, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f,
984 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6f, 0x70, 0x65,
985 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
986 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73,
987 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12,
988 0x49, 0x0a, 0x0b, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x5f, 0x73, 0x70, 0x61, 0x6e, 0x73, 0x18, 0x02,
989 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d,
990 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65,
991 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x52, 0x0a,
992 0x73, 0x63, 0x6f, 0x70, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x63,
993 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
994 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x55, 0x72, 0x6c, 0x4a, 0x06, 0x08, 0xe8, 0x07, 0x10, 0xe9,
995 0x07, 0x22, 0xb0, 0x01, 0x0a, 0x0a, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x73,
996 0x12, 0x49, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
997 0x33, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e,
998 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e,
999 0x49, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53,
1000 0x63, 0x6f, 0x70, 0x65, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x38, 0x0a, 0x05, 0x73,
1001 0x70, 0x61, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x70, 0x65,
1002 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1003 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x05,
1004 0x73, 0x70, 0x61, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f,
1005 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x63, 0x68, 0x65, 0x6d,
1006 0x61, 0x55, 0x72, 0x6c, 0x22, 0xc8, 0x0a, 0x0a, 0x04, 0x53, 0x70, 0x61, 0x6e, 0x12, 0x19, 0x0a,
1007 0x08, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52,
1008 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x70, 0x61, 0x6e,
1009 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x70, 0x61, 0x6e, 0x49,
1010 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65,
1011 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x72, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61,
1012 0x74, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x70, 0x61,
1013 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x70, 0x61, 0x72, 0x65,
1014 0x6e, 0x74, 0x53, 0x70, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67,
1015 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x07, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x12,
1016 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
1017 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e,
1018 0x32, 0x2b, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79,
1019 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e,
1020 0x53, 0x70, 0x61, 0x6e, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b,
1021 0x69, 0x6e, 0x64, 0x12, 0x2f, 0x0a, 0x14, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d,
1022 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x78, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28,
1023 0x06, 0x52, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x78,
1024 0x4e, 0x61, 0x6e, 0x6f, 0x12, 0x2b, 0x0a, 0x12, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65,
1025 0x5f, 0x75, 0x6e, 0x69, 0x78, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x06,
1026 0x52, 0x0f, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x78, 0x4e, 0x61, 0x6e,
1027 0x6f, 0x12, 0x47, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18,
1028 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65,
1029 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
1030 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a,
1031 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x64, 0x72,
1032 0x6f, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73,
1033 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x64, 0x72,
1034 0x6f, 0x70, 0x70, 0x65, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x43,
1035 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x40, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0b,
1036 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d,
1037 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65,
1038 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06,
1039 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65,
1040 0x64, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0c,
1041 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x45, 0x76, 0x65,
1042 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3d, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x6b,
1043 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65,
1044 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72,
1045 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x70, 0x61, 0x6e, 0x2e, 0x4c, 0x69, 0x6e, 0x6b,
1046 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x64, 0x72, 0x6f, 0x70, 0x70,
1047 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0e,
1048 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x4c, 0x69, 0x6e,
1049 0x6b, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
1050 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65,
1051 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72,
1052 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73,
1053 0x74, 0x61, 0x74, 0x75, 0x73, 0x1a, 0xc4, 0x01, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12,
1054 0x24, 0x0a, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x78, 0x5f, 0x6e, 0x61, 0x6e,
1055 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x06, 0x52, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69,
1056 0x78, 0x4e, 0x61, 0x6e, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
1057 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x0a, 0x61, 0x74, 0x74,
1058 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e,
1059 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72,
1060 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65,
1061 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
1062 0x65, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x61, 0x74,
1063 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04,
1064 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x41, 0x74, 0x74,
1065 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0xf4, 0x01, 0x0a,
1066 0x04, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x69,
1067 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64,
1068 0x12, 0x17, 0x0a, 0x07, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
1069 0x0c, 0x52, 0x06, 0x73, 0x70, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x72, 0x61,
1070 0x63, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
1071 0x74, 0x72, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x47, 0x0a, 0x0a, 0x61, 0x74,
1072 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27,
1073 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70,
1074 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4b,
1075 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75,
1076 0x74, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x61,
1077 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
1078 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x41, 0x74,
1079 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a,
1080 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x07, 0x52, 0x05, 0x66, 0x6c,
1081 0x61, 0x67, 0x73, 0x22, 0x99, 0x01, 0x0a, 0x08, 0x53, 0x70, 0x61, 0x6e, 0x4b, 0x69, 0x6e, 0x64,
1082 0x12, 0x19, 0x0a, 0x15, 0x53, 0x50, 0x41, 0x4e, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x55, 0x4e,
1083 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x53,
1084 0x50, 0x41, 0x4e, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41,
1085 0x4c, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x50, 0x41, 0x4e, 0x5f, 0x4b, 0x49, 0x4e, 0x44,
1086 0x5f, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x50, 0x41,
1087 0x4e, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x10, 0x03, 0x12,
1088 0x16, 0x0a, 0x12, 0x53, 0x50, 0x41, 0x4e, 0x5f, 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x50, 0x52, 0x4f,
1089 0x44, 0x55, 0x43, 0x45, 0x52, 0x10, 0x04, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x50, 0x41, 0x4e, 0x5f,
1090 0x4b, 0x49, 0x4e, 0x44, 0x5f, 0x43, 0x4f, 0x4e, 0x53, 0x55, 0x4d, 0x45, 0x52, 0x10, 0x05, 0x22,
1091 0xbd, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65,
1092 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73,
1093 0x73, 0x61, 0x67, 0x65, 0x12, 0x43, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01,
1094 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74,
1095 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76,
1096 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43,
1097 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x4e, 0x0a, 0x0a, 0x53, 0x74, 0x61,
1098 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x55,
1099 0x53, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x45, 0x54, 0x10, 0x00, 0x12, 0x12,
1100 0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x4f, 0x4b,
1101 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x43, 0x4f, 0x44,
1102 0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x2a,
1103 0x9c, 0x01, 0x0a, 0x09, 0x53, 0x70, 0x61, 0x6e, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x19, 0x0a,
1104 0x15, 0x53, 0x50, 0x41, 0x4e, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x53, 0x5f, 0x44, 0x4f, 0x5f, 0x4e,
1105 0x4f, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1b, 0x53, 0x50, 0x41, 0x4e,
1106 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x53, 0x5f, 0x54, 0x52, 0x41, 0x43, 0x45, 0x5f, 0x46, 0x4c, 0x41,
1107 0x47, 0x53, 0x5f, 0x4d, 0x41, 0x53, 0x4b, 0x10, 0xff, 0x01, 0x12, 0x2a, 0x0a, 0x25, 0x53, 0x50,
1108 0x41, 0x4e, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x53, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x58, 0x54,
1109 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x49, 0x53, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, 0x5f, 0x4d,
1110 0x41, 0x53, 0x4b, 0x10, 0x80, 0x02, 0x12, 0x26, 0x0a, 0x21, 0x53, 0x50, 0x41, 0x4e, 0x5f, 0x46,
1111 0x4c, 0x41, 0x47, 0x53, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x58, 0x54, 0x5f, 0x49, 0x53, 0x5f,
1112 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, 0x5f, 0x4d, 0x41, 0x53, 0x4b, 0x10, 0x80, 0x04, 0x42, 0x77,
1113 0x0a, 0x1f, 0x69, 0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74,
1114 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76,
1115 0x31, 0x42, 0x0a, 0x54, 0x72, 0x61, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
1116 0x27, 0x67, 0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72,
1117 0x79, 0x2e, 0x69, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6f, 0x74, 0x6c, 0x70, 0x2f,
1118 0x74, 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x31, 0xaa, 0x02, 0x1c, 0x4f, 0x70, 0x65, 0x6e, 0x54,
1119 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54,
1120 0x72, 0x61, 0x63, 0x65, 0x2e, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1121}
1122
1123var (
1124 file_opentelemetry_proto_trace_v1_trace_proto_rawDescOnce sync.Once
1125 file_opentelemetry_proto_trace_v1_trace_proto_rawDescData = file_opentelemetry_proto_trace_v1_trace_proto_rawDesc
1126)
1127
1128func file_opentelemetry_proto_trace_v1_trace_proto_rawDescGZIP() []byte {
1129 file_opentelemetry_proto_trace_v1_trace_proto_rawDescOnce.Do(func() {
1130 file_opentelemetry_proto_trace_v1_trace_proto_rawDescData = protoimpl.X.CompressGZIP(file_opentelemetry_proto_trace_v1_trace_proto_rawDescData)
1131 })
1132 return file_opentelemetry_proto_trace_v1_trace_proto_rawDescData
1133}
1134
1135var file_opentelemetry_proto_trace_v1_trace_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
1136var file_opentelemetry_proto_trace_v1_trace_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
1137var file_opentelemetry_proto_trace_v1_trace_proto_goTypes = []interface{}{
1138 (SpanFlags)(0), // 0: opentelemetry.proto.trace.v1.SpanFlags
1139 (Span_SpanKind)(0), // 1: opentelemetry.proto.trace.v1.Span.SpanKind
1140 (Status_StatusCode)(0), // 2: opentelemetry.proto.trace.v1.Status.StatusCode
1141 (*TracesData)(nil), // 3: opentelemetry.proto.trace.v1.TracesData
1142 (*ResourceSpans)(nil), // 4: opentelemetry.proto.trace.v1.ResourceSpans
1143 (*ScopeSpans)(nil), // 5: opentelemetry.proto.trace.v1.ScopeSpans
1144 (*Span)(nil), // 6: opentelemetry.proto.trace.v1.Span
1145 (*Status)(nil), // 7: opentelemetry.proto.trace.v1.Status
1146 (*Span_Event)(nil), // 8: opentelemetry.proto.trace.v1.Span.Event
1147 (*Span_Link)(nil), // 9: opentelemetry.proto.trace.v1.Span.Link
1148 (*v1.Resource)(nil), // 10: opentelemetry.proto.resource.v1.Resource
1149 (*v11.InstrumentationScope)(nil), // 11: opentelemetry.proto.common.v1.InstrumentationScope
1150 (*v11.KeyValue)(nil), // 12: opentelemetry.proto.common.v1.KeyValue
1151}
1152var file_opentelemetry_proto_trace_v1_trace_proto_depIdxs = []int32{
1153 4, // 0: opentelemetry.proto.trace.v1.TracesData.resource_spans:type_name -> opentelemetry.proto.trace.v1.ResourceSpans
1154 10, // 1: opentelemetry.proto.trace.v1.ResourceSpans.resource:type_name -> opentelemetry.proto.resource.v1.Resource
1155 5, // 2: opentelemetry.proto.trace.v1.ResourceSpans.scope_spans:type_name -> opentelemetry.proto.trace.v1.ScopeSpans
1156 11, // 3: opentelemetry.proto.trace.v1.ScopeSpans.scope:type_name -> opentelemetry.proto.common.v1.InstrumentationScope
1157 6, // 4: opentelemetry.proto.trace.v1.ScopeSpans.spans:type_name -> opentelemetry.proto.trace.v1.Span
1158 1, // 5: opentelemetry.proto.trace.v1.Span.kind:type_name -> opentelemetry.proto.trace.v1.Span.SpanKind
1159 12, // 6: opentelemetry.proto.trace.v1.Span.attributes:type_name -> opentelemetry.proto.common.v1.KeyValue
1160 8, // 7: opentelemetry.proto.trace.v1.Span.events:type_name -> opentelemetry.proto.trace.v1.Span.Event
1161 9, // 8: opentelemetry.proto.trace.v1.Span.links:type_name -> opentelemetry.proto.trace.v1.Span.Link
1162 7, // 9: opentelemetry.proto.trace.v1.Span.status:type_name -> opentelemetry.proto.trace.v1.Status
1163 2, // 10: opentelemetry.proto.trace.v1.Status.code:type_name -> opentelemetry.proto.trace.v1.Status.StatusCode
1164 12, // 11: opentelemetry.proto.trace.v1.Span.Event.attributes:type_name -> opentelemetry.proto.common.v1.KeyValue
1165 12, // 12: opentelemetry.proto.trace.v1.Span.Link.attributes:type_name -> opentelemetry.proto.common.v1.KeyValue
1166 13, // [13:13] is the sub-list for method output_type
1167 13, // [13:13] is the sub-list for method input_type
1168 13, // [13:13] is the sub-list for extension type_name
1169 13, // [13:13] is the sub-list for extension extendee
1170 0, // [0:13] is the sub-list for field type_name
1171}
1172
1173func init() { file_opentelemetry_proto_trace_v1_trace_proto_init() }
1174func file_opentelemetry_proto_trace_v1_trace_proto_init() {
1175 if File_opentelemetry_proto_trace_v1_trace_proto != nil {
1176 return
1177 }
1178 if !protoimpl.UnsafeEnabled {
1179 file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1180 switch v := v.(*TracesData); i {
1181 case 0:
1182 return &v.state
1183 case 1:
1184 return &v.sizeCache
1185 case 2:
1186 return &v.unknownFields
1187 default:
1188 return nil
1189 }
1190 }
1191 file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1192 switch v := v.(*ResourceSpans); i {
1193 case 0:
1194 return &v.state
1195 case 1:
1196 return &v.sizeCache
1197 case 2:
1198 return &v.unknownFields
1199 default:
1200 return nil
1201 }
1202 }
1203 file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1204 switch v := v.(*ScopeSpans); i {
1205 case 0:
1206 return &v.state
1207 case 1:
1208 return &v.sizeCache
1209 case 2:
1210 return &v.unknownFields
1211 default:
1212 return nil
1213 }
1214 }
1215 file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1216 switch v := v.(*Span); i {
1217 case 0:
1218 return &v.state
1219 case 1:
1220 return &v.sizeCache
1221 case 2:
1222 return &v.unknownFields
1223 default:
1224 return nil
1225 }
1226 }
1227 file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1228 switch v := v.(*Status); i {
1229 case 0:
1230 return &v.state
1231 case 1:
1232 return &v.sizeCache
1233 case 2:
1234 return &v.unknownFields
1235 default:
1236 return nil
1237 }
1238 }
1239 file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1240 switch v := v.(*Span_Event); i {
1241 case 0:
1242 return &v.state
1243 case 1:
1244 return &v.sizeCache
1245 case 2:
1246 return &v.unknownFields
1247 default:
1248 return nil
1249 }
1250 }
1251 file_opentelemetry_proto_trace_v1_trace_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1252 switch v := v.(*Span_Link); i {
1253 case 0:
1254 return &v.state
1255 case 1:
1256 return &v.sizeCache
1257 case 2:
1258 return &v.unknownFields
1259 default:
1260 return nil
1261 }
1262 }
1263 }
1264 type x struct{}
1265 out := protoimpl.TypeBuilder{
1266 File: protoimpl.DescBuilder{
1267 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1268 RawDescriptor: file_opentelemetry_proto_trace_v1_trace_proto_rawDesc,
1269 NumEnums: 3,
1270 NumMessages: 7,
1271 NumExtensions: 0,
1272 NumServices: 0,
1273 },
1274 GoTypes: file_opentelemetry_proto_trace_v1_trace_proto_goTypes,
1275 DependencyIndexes: file_opentelemetry_proto_trace_v1_trace_proto_depIdxs,
1276 EnumInfos: file_opentelemetry_proto_trace_v1_trace_proto_enumTypes,
1277 MessageInfos: file_opentelemetry_proto_trace_v1_trace_proto_msgTypes,
1278 }.Build()
1279 File_opentelemetry_proto_trace_v1_trace_proto = out.File
1280 file_opentelemetry_proto_trace_v1_trace_proto_rawDesc = nil
1281 file_opentelemetry_proto_trace_v1_trace_proto_goTypes = nil
1282 file_opentelemetry_proto_trace_v1_trace_proto_depIdxs = nil
1283}