...

Source file src/go.opentelemetry.io/proto/otlp/trace/v1/trace.pb.go

Documentation: go.opentelemetry.io/proto/otlp/trace/v1

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

View as plain text