...

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

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

     1  // Copyright 2020, 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/logs/v1/logs.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  // Possible values for LogRecord.SeverityNumber.
    40  type SeverityNumber int32
    41  
    42  const (
    43  	// UNSPECIFIED is the default SeverityNumber, it MUST NOT be used.
    44  	SeverityNumber_SEVERITY_NUMBER_UNSPECIFIED SeverityNumber = 0
    45  	SeverityNumber_SEVERITY_NUMBER_TRACE       SeverityNumber = 1
    46  	SeverityNumber_SEVERITY_NUMBER_TRACE2      SeverityNumber = 2
    47  	SeverityNumber_SEVERITY_NUMBER_TRACE3      SeverityNumber = 3
    48  	SeverityNumber_SEVERITY_NUMBER_TRACE4      SeverityNumber = 4
    49  	SeverityNumber_SEVERITY_NUMBER_DEBUG       SeverityNumber = 5
    50  	SeverityNumber_SEVERITY_NUMBER_DEBUG2      SeverityNumber = 6
    51  	SeverityNumber_SEVERITY_NUMBER_DEBUG3      SeverityNumber = 7
    52  	SeverityNumber_SEVERITY_NUMBER_DEBUG4      SeverityNumber = 8
    53  	SeverityNumber_SEVERITY_NUMBER_INFO        SeverityNumber = 9
    54  	SeverityNumber_SEVERITY_NUMBER_INFO2       SeverityNumber = 10
    55  	SeverityNumber_SEVERITY_NUMBER_INFO3       SeverityNumber = 11
    56  	SeverityNumber_SEVERITY_NUMBER_INFO4       SeverityNumber = 12
    57  	SeverityNumber_SEVERITY_NUMBER_WARN        SeverityNumber = 13
    58  	SeverityNumber_SEVERITY_NUMBER_WARN2       SeverityNumber = 14
    59  	SeverityNumber_SEVERITY_NUMBER_WARN3       SeverityNumber = 15
    60  	SeverityNumber_SEVERITY_NUMBER_WARN4       SeverityNumber = 16
    61  	SeverityNumber_SEVERITY_NUMBER_ERROR       SeverityNumber = 17
    62  	SeverityNumber_SEVERITY_NUMBER_ERROR2      SeverityNumber = 18
    63  	SeverityNumber_SEVERITY_NUMBER_ERROR3      SeverityNumber = 19
    64  	SeverityNumber_SEVERITY_NUMBER_ERROR4      SeverityNumber = 20
    65  	SeverityNumber_SEVERITY_NUMBER_FATAL       SeverityNumber = 21
    66  	SeverityNumber_SEVERITY_NUMBER_FATAL2      SeverityNumber = 22
    67  	SeverityNumber_SEVERITY_NUMBER_FATAL3      SeverityNumber = 23
    68  	SeverityNumber_SEVERITY_NUMBER_FATAL4      SeverityNumber = 24
    69  )
    70  
    71  // Enum value maps for SeverityNumber.
    72  var (
    73  	SeverityNumber_name = map[int32]string{
    74  		0:  "SEVERITY_NUMBER_UNSPECIFIED",
    75  		1:  "SEVERITY_NUMBER_TRACE",
    76  		2:  "SEVERITY_NUMBER_TRACE2",
    77  		3:  "SEVERITY_NUMBER_TRACE3",
    78  		4:  "SEVERITY_NUMBER_TRACE4",
    79  		5:  "SEVERITY_NUMBER_DEBUG",
    80  		6:  "SEVERITY_NUMBER_DEBUG2",
    81  		7:  "SEVERITY_NUMBER_DEBUG3",
    82  		8:  "SEVERITY_NUMBER_DEBUG4",
    83  		9:  "SEVERITY_NUMBER_INFO",
    84  		10: "SEVERITY_NUMBER_INFO2",
    85  		11: "SEVERITY_NUMBER_INFO3",
    86  		12: "SEVERITY_NUMBER_INFO4",
    87  		13: "SEVERITY_NUMBER_WARN",
    88  		14: "SEVERITY_NUMBER_WARN2",
    89  		15: "SEVERITY_NUMBER_WARN3",
    90  		16: "SEVERITY_NUMBER_WARN4",
    91  		17: "SEVERITY_NUMBER_ERROR",
    92  		18: "SEVERITY_NUMBER_ERROR2",
    93  		19: "SEVERITY_NUMBER_ERROR3",
    94  		20: "SEVERITY_NUMBER_ERROR4",
    95  		21: "SEVERITY_NUMBER_FATAL",
    96  		22: "SEVERITY_NUMBER_FATAL2",
    97  		23: "SEVERITY_NUMBER_FATAL3",
    98  		24: "SEVERITY_NUMBER_FATAL4",
    99  	}
   100  	SeverityNumber_value = map[string]int32{
   101  		"SEVERITY_NUMBER_UNSPECIFIED": 0,
   102  		"SEVERITY_NUMBER_TRACE":       1,
   103  		"SEVERITY_NUMBER_TRACE2":      2,
   104  		"SEVERITY_NUMBER_TRACE3":      3,
   105  		"SEVERITY_NUMBER_TRACE4":      4,
   106  		"SEVERITY_NUMBER_DEBUG":       5,
   107  		"SEVERITY_NUMBER_DEBUG2":      6,
   108  		"SEVERITY_NUMBER_DEBUG3":      7,
   109  		"SEVERITY_NUMBER_DEBUG4":      8,
   110  		"SEVERITY_NUMBER_INFO":        9,
   111  		"SEVERITY_NUMBER_INFO2":       10,
   112  		"SEVERITY_NUMBER_INFO3":       11,
   113  		"SEVERITY_NUMBER_INFO4":       12,
   114  		"SEVERITY_NUMBER_WARN":        13,
   115  		"SEVERITY_NUMBER_WARN2":       14,
   116  		"SEVERITY_NUMBER_WARN3":       15,
   117  		"SEVERITY_NUMBER_WARN4":       16,
   118  		"SEVERITY_NUMBER_ERROR":       17,
   119  		"SEVERITY_NUMBER_ERROR2":      18,
   120  		"SEVERITY_NUMBER_ERROR3":      19,
   121  		"SEVERITY_NUMBER_ERROR4":      20,
   122  		"SEVERITY_NUMBER_FATAL":       21,
   123  		"SEVERITY_NUMBER_FATAL2":      22,
   124  		"SEVERITY_NUMBER_FATAL3":      23,
   125  		"SEVERITY_NUMBER_FATAL4":      24,
   126  	}
   127  )
   128  
   129  func (x SeverityNumber) Enum() *SeverityNumber {
   130  	p := new(SeverityNumber)
   131  	*p = x
   132  	return p
   133  }
   134  
   135  func (x SeverityNumber) String() string {
   136  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   137  }
   138  
   139  func (SeverityNumber) Descriptor() protoreflect.EnumDescriptor {
   140  	return file_opentelemetry_proto_logs_v1_logs_proto_enumTypes[0].Descriptor()
   141  }
   142  
   143  func (SeverityNumber) Type() protoreflect.EnumType {
   144  	return &file_opentelemetry_proto_logs_v1_logs_proto_enumTypes[0]
   145  }
   146  
   147  func (x SeverityNumber) Number() protoreflect.EnumNumber {
   148  	return protoreflect.EnumNumber(x)
   149  }
   150  
   151  // Deprecated: Use SeverityNumber.Descriptor instead.
   152  func (SeverityNumber) EnumDescriptor() ([]byte, []int) {
   153  	return file_opentelemetry_proto_logs_v1_logs_proto_rawDescGZIP(), []int{0}
   154  }
   155  
   156  // LogRecordFlags is defined as a protobuf 'uint32' type and is to be used as
   157  // bit-fields. Each non-zero value defined in this enum is a bit-mask.
   158  // To extract the bit-field, for example, use an expression like:
   159  //
   160  //   (logRecord.flags & LOG_RECORD_FLAGS_TRACE_FLAGS_MASK)
   161  //
   162  type LogRecordFlags int32
   163  
   164  const (
   165  	// The zero value for the enum. Should not be used for comparisons.
   166  	// Instead use bitwise "and" with the appropriate mask as shown above.
   167  	LogRecordFlags_LOG_RECORD_FLAGS_DO_NOT_USE LogRecordFlags = 0
   168  	// Bits 0-7 are used for trace flags.
   169  	LogRecordFlags_LOG_RECORD_FLAGS_TRACE_FLAGS_MASK LogRecordFlags = 255
   170  )
   171  
   172  // Enum value maps for LogRecordFlags.
   173  var (
   174  	LogRecordFlags_name = map[int32]string{
   175  		0:   "LOG_RECORD_FLAGS_DO_NOT_USE",
   176  		255: "LOG_RECORD_FLAGS_TRACE_FLAGS_MASK",
   177  	}
   178  	LogRecordFlags_value = map[string]int32{
   179  		"LOG_RECORD_FLAGS_DO_NOT_USE":       0,
   180  		"LOG_RECORD_FLAGS_TRACE_FLAGS_MASK": 255,
   181  	}
   182  )
   183  
   184  func (x LogRecordFlags) Enum() *LogRecordFlags {
   185  	p := new(LogRecordFlags)
   186  	*p = x
   187  	return p
   188  }
   189  
   190  func (x LogRecordFlags) String() string {
   191  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   192  }
   193  
   194  func (LogRecordFlags) Descriptor() protoreflect.EnumDescriptor {
   195  	return file_opentelemetry_proto_logs_v1_logs_proto_enumTypes[1].Descriptor()
   196  }
   197  
   198  func (LogRecordFlags) Type() protoreflect.EnumType {
   199  	return &file_opentelemetry_proto_logs_v1_logs_proto_enumTypes[1]
   200  }
   201  
   202  func (x LogRecordFlags) Number() protoreflect.EnumNumber {
   203  	return protoreflect.EnumNumber(x)
   204  }
   205  
   206  // Deprecated: Use LogRecordFlags.Descriptor instead.
   207  func (LogRecordFlags) EnumDescriptor() ([]byte, []int) {
   208  	return file_opentelemetry_proto_logs_v1_logs_proto_rawDescGZIP(), []int{1}
   209  }
   210  
   211  // LogsData represents the logs data that can be stored in a persistent storage,
   212  // OR can be embedded by other protocols that transfer OTLP logs data but do not
   213  // implement the OTLP protocol.
   214  //
   215  // The main difference between this message and collector protocol is that
   216  // in this message there will not be any "control" or "metadata" specific to
   217  // OTLP protocol.
   218  //
   219  // When new fields are added into this message, the OTLP request MUST be updated
   220  // as well.
   221  type LogsData struct {
   222  	state         protoimpl.MessageState
   223  	sizeCache     protoimpl.SizeCache
   224  	unknownFields protoimpl.UnknownFields
   225  
   226  	// An array of ResourceLogs.
   227  	// For data coming from a single resource this array will typically contain
   228  	// one element. Intermediary nodes that receive data from multiple origins
   229  	// typically batch the data before forwarding further and in that case this
   230  	// array will contain multiple elements.
   231  	ResourceLogs []*ResourceLogs `protobuf:"bytes,1,rep,name=resource_logs,json=resourceLogs,proto3" json:"resource_logs,omitempty"`
   232  }
   233  
   234  func (x *LogsData) Reset() {
   235  	*x = LogsData{}
   236  	if protoimpl.UnsafeEnabled {
   237  		mi := &file_opentelemetry_proto_logs_v1_logs_proto_msgTypes[0]
   238  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   239  		ms.StoreMessageInfo(mi)
   240  	}
   241  }
   242  
   243  func (x *LogsData) String() string {
   244  	return protoimpl.X.MessageStringOf(x)
   245  }
   246  
   247  func (*LogsData) ProtoMessage() {}
   248  
   249  func (x *LogsData) ProtoReflect() protoreflect.Message {
   250  	mi := &file_opentelemetry_proto_logs_v1_logs_proto_msgTypes[0]
   251  	if protoimpl.UnsafeEnabled && x != nil {
   252  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   253  		if ms.LoadMessageInfo() == nil {
   254  			ms.StoreMessageInfo(mi)
   255  		}
   256  		return ms
   257  	}
   258  	return mi.MessageOf(x)
   259  }
   260  
   261  // Deprecated: Use LogsData.ProtoReflect.Descriptor instead.
   262  func (*LogsData) Descriptor() ([]byte, []int) {
   263  	return file_opentelemetry_proto_logs_v1_logs_proto_rawDescGZIP(), []int{0}
   264  }
   265  
   266  func (x *LogsData) GetResourceLogs() []*ResourceLogs {
   267  	if x != nil {
   268  		return x.ResourceLogs
   269  	}
   270  	return nil
   271  }
   272  
   273  // A collection of ScopeLogs from a Resource.
   274  type ResourceLogs struct {
   275  	state         protoimpl.MessageState
   276  	sizeCache     protoimpl.SizeCache
   277  	unknownFields protoimpl.UnknownFields
   278  
   279  	// The resource for the logs in this message.
   280  	// If this field is not set then resource info is unknown.
   281  	Resource *v1.Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
   282  	// A list of ScopeLogs that originate from a resource.
   283  	ScopeLogs []*ScopeLogs `protobuf:"bytes,2,rep,name=scope_logs,json=scopeLogs,proto3" json:"scope_logs,omitempty"`
   284  	// This schema_url applies to the data in the "resource" field. It does not apply
   285  	// to the data in the "scope_logs" field which have their own schema_url field.
   286  	SchemaUrl string `protobuf:"bytes,3,opt,name=schema_url,json=schemaUrl,proto3" json:"schema_url,omitempty"`
   287  }
   288  
   289  func (x *ResourceLogs) Reset() {
   290  	*x = ResourceLogs{}
   291  	if protoimpl.UnsafeEnabled {
   292  		mi := &file_opentelemetry_proto_logs_v1_logs_proto_msgTypes[1]
   293  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   294  		ms.StoreMessageInfo(mi)
   295  	}
   296  }
   297  
   298  func (x *ResourceLogs) String() string {
   299  	return protoimpl.X.MessageStringOf(x)
   300  }
   301  
   302  func (*ResourceLogs) ProtoMessage() {}
   303  
   304  func (x *ResourceLogs) ProtoReflect() protoreflect.Message {
   305  	mi := &file_opentelemetry_proto_logs_v1_logs_proto_msgTypes[1]
   306  	if protoimpl.UnsafeEnabled && x != nil {
   307  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   308  		if ms.LoadMessageInfo() == nil {
   309  			ms.StoreMessageInfo(mi)
   310  		}
   311  		return ms
   312  	}
   313  	return mi.MessageOf(x)
   314  }
   315  
   316  // Deprecated: Use ResourceLogs.ProtoReflect.Descriptor instead.
   317  func (*ResourceLogs) Descriptor() ([]byte, []int) {
   318  	return file_opentelemetry_proto_logs_v1_logs_proto_rawDescGZIP(), []int{1}
   319  }
   320  
   321  func (x *ResourceLogs) GetResource() *v1.Resource {
   322  	if x != nil {
   323  		return x.Resource
   324  	}
   325  	return nil
   326  }
   327  
   328  func (x *ResourceLogs) GetScopeLogs() []*ScopeLogs {
   329  	if x != nil {
   330  		return x.ScopeLogs
   331  	}
   332  	return nil
   333  }
   334  
   335  func (x *ResourceLogs) GetSchemaUrl() string {
   336  	if x != nil {
   337  		return x.SchemaUrl
   338  	}
   339  	return ""
   340  }
   341  
   342  // A collection of Logs produced by a Scope.
   343  type ScopeLogs struct {
   344  	state         protoimpl.MessageState
   345  	sizeCache     protoimpl.SizeCache
   346  	unknownFields protoimpl.UnknownFields
   347  
   348  	// The instrumentation scope information for the logs in this message.
   349  	// Semantically when InstrumentationScope isn't set, it is equivalent with
   350  	// an empty instrumentation scope name (unknown).
   351  	Scope *v11.InstrumentationScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
   352  	// A list of log records.
   353  	LogRecords []*LogRecord `protobuf:"bytes,2,rep,name=log_records,json=logRecords,proto3" json:"log_records,omitempty"`
   354  	// This schema_url applies to all logs in the "logs" field.
   355  	SchemaUrl string `protobuf:"bytes,3,opt,name=schema_url,json=schemaUrl,proto3" json:"schema_url,omitempty"`
   356  }
   357  
   358  func (x *ScopeLogs) Reset() {
   359  	*x = ScopeLogs{}
   360  	if protoimpl.UnsafeEnabled {
   361  		mi := &file_opentelemetry_proto_logs_v1_logs_proto_msgTypes[2]
   362  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   363  		ms.StoreMessageInfo(mi)
   364  	}
   365  }
   366  
   367  func (x *ScopeLogs) String() string {
   368  	return protoimpl.X.MessageStringOf(x)
   369  }
   370  
   371  func (*ScopeLogs) ProtoMessage() {}
   372  
   373  func (x *ScopeLogs) ProtoReflect() protoreflect.Message {
   374  	mi := &file_opentelemetry_proto_logs_v1_logs_proto_msgTypes[2]
   375  	if protoimpl.UnsafeEnabled && x != nil {
   376  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   377  		if ms.LoadMessageInfo() == nil {
   378  			ms.StoreMessageInfo(mi)
   379  		}
   380  		return ms
   381  	}
   382  	return mi.MessageOf(x)
   383  }
   384  
   385  // Deprecated: Use ScopeLogs.ProtoReflect.Descriptor instead.
   386  func (*ScopeLogs) Descriptor() ([]byte, []int) {
   387  	return file_opentelemetry_proto_logs_v1_logs_proto_rawDescGZIP(), []int{2}
   388  }
   389  
   390  func (x *ScopeLogs) GetScope() *v11.InstrumentationScope {
   391  	if x != nil {
   392  		return x.Scope
   393  	}
   394  	return nil
   395  }
   396  
   397  func (x *ScopeLogs) GetLogRecords() []*LogRecord {
   398  	if x != nil {
   399  		return x.LogRecords
   400  	}
   401  	return nil
   402  }
   403  
   404  func (x *ScopeLogs) GetSchemaUrl() string {
   405  	if x != nil {
   406  		return x.SchemaUrl
   407  	}
   408  	return ""
   409  }
   410  
   411  // A log record according to OpenTelemetry Log Data Model:
   412  // https://github.com/open-telemetry/oteps/blob/main/text/logs/0097-log-data-model.md
   413  type LogRecord struct {
   414  	state         protoimpl.MessageState
   415  	sizeCache     protoimpl.SizeCache
   416  	unknownFields protoimpl.UnknownFields
   417  
   418  	// time_unix_nano is the time when the event occurred.
   419  	// Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
   420  	// Value of 0 indicates unknown or missing timestamp.
   421  	TimeUnixNano uint64 `protobuf:"fixed64,1,opt,name=time_unix_nano,json=timeUnixNano,proto3" json:"time_unix_nano,omitempty"`
   422  	// Time when the event was observed by the collection system.
   423  	// For events that originate in OpenTelemetry (e.g. using OpenTelemetry Logging SDK)
   424  	// this timestamp is typically set at the generation time and is equal to Timestamp.
   425  	// For events originating externally and collected by OpenTelemetry (e.g. using
   426  	// Collector) this is the time when OpenTelemetry's code observed the event measured
   427  	// by the clock of the OpenTelemetry code. This field MUST be set once the event is
   428  	// observed by OpenTelemetry.
   429  	//
   430  	// For converting OpenTelemetry log data to formats that support only one timestamp or
   431  	// when receiving OpenTelemetry log data by recipients that support only one timestamp
   432  	// internally the following logic is recommended:
   433  	//   - Use time_unix_nano if it is present, otherwise use observed_time_unix_nano.
   434  	//
   435  	// Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
   436  	// Value of 0 indicates unknown or missing timestamp.
   437  	ObservedTimeUnixNano uint64 `protobuf:"fixed64,11,opt,name=observed_time_unix_nano,json=observedTimeUnixNano,proto3" json:"observed_time_unix_nano,omitempty"`
   438  	// Numerical value of the severity, normalized to values described in Log Data Model.
   439  	// [Optional].
   440  	SeverityNumber SeverityNumber `protobuf:"varint,2,opt,name=severity_number,json=severityNumber,proto3,enum=opentelemetry.proto.logs.v1.SeverityNumber" json:"severity_number,omitempty"`
   441  	// The severity text (also known as log level). The original string representation as
   442  	// it is known at the source. [Optional].
   443  	SeverityText string `protobuf:"bytes,3,opt,name=severity_text,json=severityText,proto3" json:"severity_text,omitempty"`
   444  	// A value containing the body of the log record. Can be for example a human-readable
   445  	// string message (including multi-line) describing the event in a free form or it can
   446  	// be a structured data composed of arrays and maps of other values. [Optional].
   447  	Body *v11.AnyValue `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"`
   448  	// Additional attributes that describe the specific event occurrence. [Optional].
   449  	// Attribute keys MUST be unique (it is not allowed to have more than one
   450  	// attribute with the same key).
   451  	Attributes             []*v11.KeyValue `protobuf:"bytes,6,rep,name=attributes,proto3" json:"attributes,omitempty"`
   452  	DroppedAttributesCount uint32          `protobuf:"varint,7,opt,name=dropped_attributes_count,json=droppedAttributesCount,proto3" json:"dropped_attributes_count,omitempty"`
   453  	// Flags, a bit field. 8 least significant bits are the trace flags as
   454  	// defined in W3C Trace Context specification. 24 most significant bits are reserved
   455  	// and must be set to 0. Readers must not assume that 24 most significant bits
   456  	// will be zero and must correctly mask the bits when reading 8-bit trace flag (use
   457  	// flags & LOG_RECORD_FLAGS_TRACE_FLAGS_MASK). [Optional].
   458  	Flags uint32 `protobuf:"fixed32,8,opt,name=flags,proto3" json:"flags,omitempty"`
   459  	// A unique identifier for a trace. All logs from the same trace share
   460  	// the same `trace_id`. The ID is a 16-byte array. An ID with all zeroes OR
   461  	// of length other than 16 bytes is considered invalid (empty string in OTLP/JSON
   462  	// is zero-length and thus is also invalid).
   463  	//
   464  	// This field is optional.
   465  	//
   466  	// The receivers SHOULD assume that the log record is not associated with a
   467  	// trace if any of the following is true:
   468  	//   - the field is not present,
   469  	//   - the field contains an invalid value.
   470  	TraceId []byte `protobuf:"bytes,9,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
   471  	// A unique identifier for a span within a trace, assigned when the span
   472  	// is created. The ID is an 8-byte array. An ID with all zeroes OR of length
   473  	// other than 8 bytes is considered invalid (empty string in OTLP/JSON
   474  	// is zero-length and thus is also invalid).
   475  	//
   476  	// This field is optional. If the sender specifies a valid span_id then it SHOULD also
   477  	// specify a valid trace_id.
   478  	//
   479  	// The receivers SHOULD assume that the log record is not associated with a
   480  	// span if any of the following is true:
   481  	//   - the field is not present,
   482  	//   - the field contains an invalid value.
   483  	SpanId []byte `protobuf:"bytes,10,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
   484  }
   485  
   486  func (x *LogRecord) Reset() {
   487  	*x = LogRecord{}
   488  	if protoimpl.UnsafeEnabled {
   489  		mi := &file_opentelemetry_proto_logs_v1_logs_proto_msgTypes[3]
   490  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   491  		ms.StoreMessageInfo(mi)
   492  	}
   493  }
   494  
   495  func (x *LogRecord) String() string {
   496  	return protoimpl.X.MessageStringOf(x)
   497  }
   498  
   499  func (*LogRecord) ProtoMessage() {}
   500  
   501  func (x *LogRecord) ProtoReflect() protoreflect.Message {
   502  	mi := &file_opentelemetry_proto_logs_v1_logs_proto_msgTypes[3]
   503  	if protoimpl.UnsafeEnabled && x != nil {
   504  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   505  		if ms.LoadMessageInfo() == nil {
   506  			ms.StoreMessageInfo(mi)
   507  		}
   508  		return ms
   509  	}
   510  	return mi.MessageOf(x)
   511  }
   512  
   513  // Deprecated: Use LogRecord.ProtoReflect.Descriptor instead.
   514  func (*LogRecord) Descriptor() ([]byte, []int) {
   515  	return file_opentelemetry_proto_logs_v1_logs_proto_rawDescGZIP(), []int{3}
   516  }
   517  
   518  func (x *LogRecord) GetTimeUnixNano() uint64 {
   519  	if x != nil {
   520  		return x.TimeUnixNano
   521  	}
   522  	return 0
   523  }
   524  
   525  func (x *LogRecord) GetObservedTimeUnixNano() uint64 {
   526  	if x != nil {
   527  		return x.ObservedTimeUnixNano
   528  	}
   529  	return 0
   530  }
   531  
   532  func (x *LogRecord) GetSeverityNumber() SeverityNumber {
   533  	if x != nil {
   534  		return x.SeverityNumber
   535  	}
   536  	return SeverityNumber_SEVERITY_NUMBER_UNSPECIFIED
   537  }
   538  
   539  func (x *LogRecord) GetSeverityText() string {
   540  	if x != nil {
   541  		return x.SeverityText
   542  	}
   543  	return ""
   544  }
   545  
   546  func (x *LogRecord) GetBody() *v11.AnyValue {
   547  	if x != nil {
   548  		return x.Body
   549  	}
   550  	return nil
   551  }
   552  
   553  func (x *LogRecord) GetAttributes() []*v11.KeyValue {
   554  	if x != nil {
   555  		return x.Attributes
   556  	}
   557  	return nil
   558  }
   559  
   560  func (x *LogRecord) GetDroppedAttributesCount() uint32 {
   561  	if x != nil {
   562  		return x.DroppedAttributesCount
   563  	}
   564  	return 0
   565  }
   566  
   567  func (x *LogRecord) GetFlags() uint32 {
   568  	if x != nil {
   569  		return x.Flags
   570  	}
   571  	return 0
   572  }
   573  
   574  func (x *LogRecord) GetTraceId() []byte {
   575  	if x != nil {
   576  		return x.TraceId
   577  	}
   578  	return nil
   579  }
   580  
   581  func (x *LogRecord) GetSpanId() []byte {
   582  	if x != nil {
   583  		return x.SpanId
   584  	}
   585  	return nil
   586  }
   587  
   588  var File_opentelemetry_proto_logs_v1_logs_proto protoreflect.FileDescriptor
   589  
   590  var file_opentelemetry_proto_logs_v1_logs_proto_rawDesc = []byte{
   591  	0x0a, 0x26, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2f,
   592  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f,
   593  	0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65,
   594  	0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6c, 0x6f,
   595  	0x67, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x2a, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d,
   596  	0x65, 0x74, 0x72, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
   597  	0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   598  	0x6f, 0x1a, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79,
   599  	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2f,
   600  	0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   601  	0x6f, 0x22, 0x5a, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x73, 0x44, 0x61, 0x74, 0x61, 0x12, 0x4e, 0x0a,
   602  	0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01,
   603  	0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d,
   604  	0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x2e,
   605  	0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52,
   606  	0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x22, 0xc3, 0x01,
   607  	0x0a, 0x0c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x45,
   608  	0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
   609  	0x32, 0x29, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79,
   610  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e,
   611  	0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73,
   612  	0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x45, 0x0a, 0x0a, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x5f, 0x6c,
   613  	0x6f, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6f, 0x70, 0x65, 0x6e,
   614  	0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
   615  	0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x4c, 0x6f, 0x67,
   616  	0x73, 0x52, 0x09, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
   617  	0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
   618  	0x52, 0x09, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x55, 0x72, 0x6c, 0x4a, 0x06, 0x08, 0xe8, 0x07,
   619  	0x10, 0xe9, 0x07, 0x22, 0xbe, 0x01, 0x0a, 0x09, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x4c, 0x6f, 0x67,
   620  	0x73, 0x12, 0x49, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
   621  	0x32, 0x33, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79,
   622  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31,
   623  	0x2e, 0x49, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   624  	0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x47, 0x0a, 0x0b,
   625  	0x6c, 0x6f, 0x67, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
   626  	0x0b, 0x32, 0x26, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72,
   627  	0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e,
   628  	0x4c, 0x6f, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x0a, 0x6c, 0x6f, 0x67, 0x52, 0x65,
   629  	0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f,
   630  	0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x63, 0x68, 0x65, 0x6d,
   631  	0x61, 0x55, 0x72, 0x6c, 0x22, 0xf3, 0x03, 0x0a, 0x09, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x63, 0x6f,
   632  	0x72, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x78, 0x5f,
   633  	0x6e, 0x61, 0x6e, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x06, 0x52, 0x0c, 0x74, 0x69, 0x6d, 0x65,
   634  	0x55, 0x6e, 0x69, 0x78, 0x4e, 0x61, 0x6e, 0x6f, 0x12, 0x35, 0x0a, 0x17, 0x6f, 0x62, 0x73, 0x65,
   635  	0x72, 0x76, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x78, 0x5f, 0x6e,
   636  	0x61, 0x6e, 0x6f, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x06, 0x52, 0x14, 0x6f, 0x62, 0x73, 0x65, 0x72,
   637  	0x76, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x78, 0x4e, 0x61, 0x6e, 0x6f, 0x12,
   638  	0x54, 0x0a, 0x0f, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6e, 0x75, 0x6d, 0x62,
   639  	0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74,
   640  	0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6c,
   641  	0x6f, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x4e,
   642  	0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x0e, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x4e,
   643  	0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74,
   644  	0x79, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65,
   645  	0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x54, 0x65, 0x78, 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x62, 0x6f,
   646  	0x64, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74,
   647  	0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63,
   648  	0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x79, 0x56, 0x61, 0x6c, 0x75,
   649  	0x65, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x47, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69,
   650  	0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, 0x70,
   651  	0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   652  	0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x79, 0x56,
   653  	0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73,
   654  	0x12, 0x38, 0x0a, 0x18, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x74, 0x72,
   655  	0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01,
   656  	0x28, 0x0d, 0x52, 0x16, 0x64, 0x72, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x41, 0x74, 0x74, 0x72, 0x69,
   657  	0x62, 0x75, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c,
   658  	0x61, 0x67, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x07, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73,
   659  	0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01,
   660  	0x28, 0x0c, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x73,
   661  	0x70, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x70,
   662  	0x61, 0x6e, 0x49, 0x64, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x2a, 0xc3, 0x05, 0x0a, 0x0e, 0x53,
   663  	0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1f, 0x0a,
   664  	0x1b, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52,
   665  	0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19,
   666  	0x0a, 0x15, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45,
   667  	0x52, 0x5f, 0x54, 0x52, 0x41, 0x43, 0x45, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x45, 0x56,
   668  	0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x54, 0x52, 0x41,
   669  	0x43, 0x45, 0x32, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54,
   670  	0x59, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x54, 0x52, 0x41, 0x43, 0x45, 0x33, 0x10,
   671  	0x03, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4e, 0x55,
   672  	0x4d, 0x42, 0x45, 0x52, 0x5f, 0x54, 0x52, 0x41, 0x43, 0x45, 0x34, 0x10, 0x04, 0x12, 0x19, 0x0a,
   673  	0x15, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52,
   674  	0x5f, 0x44, 0x45, 0x42, 0x55, 0x47, 0x10, 0x05, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x45, 0x56, 0x45,
   675  	0x52, 0x49, 0x54, 0x59, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x44, 0x45, 0x42, 0x55,
   676  	0x47, 0x32, 0x10, 0x06, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59,
   677  	0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x44, 0x45, 0x42, 0x55, 0x47, 0x33, 0x10, 0x07,
   678  	0x12, 0x1a, 0x0a, 0x16, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4e, 0x55, 0x4d,
   679  	0x42, 0x45, 0x52, 0x5f, 0x44, 0x45, 0x42, 0x55, 0x47, 0x34, 0x10, 0x08, 0x12, 0x18, 0x0a, 0x14,
   680  	0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x5f,
   681  	0x49, 0x4e, 0x46, 0x4f, 0x10, 0x09, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49,
   682  	0x54, 0x59, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x32, 0x10,
   683  	0x0a, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4e, 0x55,
   684  	0x4d, 0x42, 0x45, 0x52, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x33, 0x10, 0x0b, 0x12, 0x19, 0x0a, 0x15,
   685  	0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x5f,
   686  	0x49, 0x4e, 0x46, 0x4f, 0x34, 0x10, 0x0c, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x45, 0x56, 0x45, 0x52,
   687  	0x49, 0x54, 0x59, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x57, 0x41, 0x52, 0x4e, 0x10,
   688  	0x0d, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4e, 0x55,
   689  	0x4d, 0x42, 0x45, 0x52, 0x5f, 0x57, 0x41, 0x52, 0x4e, 0x32, 0x10, 0x0e, 0x12, 0x19, 0x0a, 0x15,
   690  	0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x5f,
   691  	0x57, 0x41, 0x52, 0x4e, 0x33, 0x10, 0x0f, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x45, 0x56, 0x45, 0x52,
   692  	0x49, 0x54, 0x59, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x57, 0x41, 0x52, 0x4e, 0x34,
   693  	0x10, 0x10, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4e,
   694  	0x55, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x11, 0x12, 0x1a, 0x0a,
   695  	0x16, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52,
   696  	0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x32, 0x10, 0x12, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x45, 0x56,
   697  	0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x45, 0x52, 0x52,
   698  	0x4f, 0x52, 0x33, 0x10, 0x13, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54,
   699  	0x59, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x34, 0x10,
   700  	0x14, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4e, 0x55,
   701  	0x4d, 0x42, 0x45, 0x52, 0x5f, 0x46, 0x41, 0x54, 0x41, 0x4c, 0x10, 0x15, 0x12, 0x1a, 0x0a, 0x16,
   702  	0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x5f,
   703  	0x46, 0x41, 0x54, 0x41, 0x4c, 0x32, 0x10, 0x16, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x45, 0x56, 0x45,
   704  	0x52, 0x49, 0x54, 0x59, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x46, 0x41, 0x54, 0x41,
   705  	0x4c, 0x33, 0x10, 0x17, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59,
   706  	0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x5f, 0x46, 0x41, 0x54, 0x41, 0x4c, 0x34, 0x10, 0x18,
   707  	0x2a, 0x59, 0x0a, 0x0e, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x46, 0x6c, 0x61,
   708  	0x67, 0x73, 0x12, 0x1f, 0x0a, 0x1b, 0x4c, 0x4f, 0x47, 0x5f, 0x52, 0x45, 0x43, 0x4f, 0x52, 0x44,
   709  	0x5f, 0x46, 0x4c, 0x41, 0x47, 0x53, 0x5f, 0x44, 0x4f, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x55, 0x53,
   710  	0x45, 0x10, 0x00, 0x12, 0x26, 0x0a, 0x21, 0x4c, 0x4f, 0x47, 0x5f, 0x52, 0x45, 0x43, 0x4f, 0x52,
   711  	0x44, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x53, 0x5f, 0x54, 0x52, 0x41, 0x43, 0x45, 0x5f, 0x46, 0x4c,
   712  	0x41, 0x47, 0x53, 0x5f, 0x4d, 0x41, 0x53, 0x4b, 0x10, 0xff, 0x01, 0x42, 0x73, 0x0a, 0x1e, 0x69,
   713  	0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e,
   714  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6c, 0x6f, 0x67, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x09, 0x4c,
   715  	0x6f, 0x67, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x26, 0x67, 0x6f, 0x2e, 0x6f,
   716  	0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x69, 0x6f, 0x2f,
   717  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6f, 0x74, 0x6c, 0x70, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x2f,
   718  	0x76, 0x31, 0xaa, 0x02, 0x1b, 0x4f, 0x70, 0x65, 0x6e, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74,
   719  	0x72, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x2e, 0x56, 0x31,
   720  	0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   721  }
   722  
   723  var (
   724  	file_opentelemetry_proto_logs_v1_logs_proto_rawDescOnce sync.Once
   725  	file_opentelemetry_proto_logs_v1_logs_proto_rawDescData = file_opentelemetry_proto_logs_v1_logs_proto_rawDesc
   726  )
   727  
   728  func file_opentelemetry_proto_logs_v1_logs_proto_rawDescGZIP() []byte {
   729  	file_opentelemetry_proto_logs_v1_logs_proto_rawDescOnce.Do(func() {
   730  		file_opentelemetry_proto_logs_v1_logs_proto_rawDescData = protoimpl.X.CompressGZIP(file_opentelemetry_proto_logs_v1_logs_proto_rawDescData)
   731  	})
   732  	return file_opentelemetry_proto_logs_v1_logs_proto_rawDescData
   733  }
   734  
   735  var file_opentelemetry_proto_logs_v1_logs_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
   736  var file_opentelemetry_proto_logs_v1_logs_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   737  var file_opentelemetry_proto_logs_v1_logs_proto_goTypes = []interface{}{
   738  	(SeverityNumber)(0),              // 0: opentelemetry.proto.logs.v1.SeverityNumber
   739  	(LogRecordFlags)(0),              // 1: opentelemetry.proto.logs.v1.LogRecordFlags
   740  	(*LogsData)(nil),                 // 2: opentelemetry.proto.logs.v1.LogsData
   741  	(*ResourceLogs)(nil),             // 3: opentelemetry.proto.logs.v1.ResourceLogs
   742  	(*ScopeLogs)(nil),                // 4: opentelemetry.proto.logs.v1.ScopeLogs
   743  	(*LogRecord)(nil),                // 5: opentelemetry.proto.logs.v1.LogRecord
   744  	(*v1.Resource)(nil),              // 6: opentelemetry.proto.resource.v1.Resource
   745  	(*v11.InstrumentationScope)(nil), // 7: opentelemetry.proto.common.v1.InstrumentationScope
   746  	(*v11.AnyValue)(nil),             // 8: opentelemetry.proto.common.v1.AnyValue
   747  	(*v11.KeyValue)(nil),             // 9: opentelemetry.proto.common.v1.KeyValue
   748  }
   749  var file_opentelemetry_proto_logs_v1_logs_proto_depIdxs = []int32{
   750  	3, // 0: opentelemetry.proto.logs.v1.LogsData.resource_logs:type_name -> opentelemetry.proto.logs.v1.ResourceLogs
   751  	6, // 1: opentelemetry.proto.logs.v1.ResourceLogs.resource:type_name -> opentelemetry.proto.resource.v1.Resource
   752  	4, // 2: opentelemetry.proto.logs.v1.ResourceLogs.scope_logs:type_name -> opentelemetry.proto.logs.v1.ScopeLogs
   753  	7, // 3: opentelemetry.proto.logs.v1.ScopeLogs.scope:type_name -> opentelemetry.proto.common.v1.InstrumentationScope
   754  	5, // 4: opentelemetry.proto.logs.v1.ScopeLogs.log_records:type_name -> opentelemetry.proto.logs.v1.LogRecord
   755  	0, // 5: opentelemetry.proto.logs.v1.LogRecord.severity_number:type_name -> opentelemetry.proto.logs.v1.SeverityNumber
   756  	8, // 6: opentelemetry.proto.logs.v1.LogRecord.body:type_name -> opentelemetry.proto.common.v1.AnyValue
   757  	9, // 7: opentelemetry.proto.logs.v1.LogRecord.attributes:type_name -> opentelemetry.proto.common.v1.KeyValue
   758  	8, // [8:8] is the sub-list for method output_type
   759  	8, // [8:8] is the sub-list for method input_type
   760  	8, // [8:8] is the sub-list for extension type_name
   761  	8, // [8:8] is the sub-list for extension extendee
   762  	0, // [0:8] is the sub-list for field type_name
   763  }
   764  
   765  func init() { file_opentelemetry_proto_logs_v1_logs_proto_init() }
   766  func file_opentelemetry_proto_logs_v1_logs_proto_init() {
   767  	if File_opentelemetry_proto_logs_v1_logs_proto != nil {
   768  		return
   769  	}
   770  	if !protoimpl.UnsafeEnabled {
   771  		file_opentelemetry_proto_logs_v1_logs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   772  			switch v := v.(*LogsData); i {
   773  			case 0:
   774  				return &v.state
   775  			case 1:
   776  				return &v.sizeCache
   777  			case 2:
   778  				return &v.unknownFields
   779  			default:
   780  				return nil
   781  			}
   782  		}
   783  		file_opentelemetry_proto_logs_v1_logs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   784  			switch v := v.(*ResourceLogs); i {
   785  			case 0:
   786  				return &v.state
   787  			case 1:
   788  				return &v.sizeCache
   789  			case 2:
   790  				return &v.unknownFields
   791  			default:
   792  				return nil
   793  			}
   794  		}
   795  		file_opentelemetry_proto_logs_v1_logs_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   796  			switch v := v.(*ScopeLogs); i {
   797  			case 0:
   798  				return &v.state
   799  			case 1:
   800  				return &v.sizeCache
   801  			case 2:
   802  				return &v.unknownFields
   803  			default:
   804  				return nil
   805  			}
   806  		}
   807  		file_opentelemetry_proto_logs_v1_logs_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   808  			switch v := v.(*LogRecord); i {
   809  			case 0:
   810  				return &v.state
   811  			case 1:
   812  				return &v.sizeCache
   813  			case 2:
   814  				return &v.unknownFields
   815  			default:
   816  				return nil
   817  			}
   818  		}
   819  	}
   820  	type x struct{}
   821  	out := protoimpl.TypeBuilder{
   822  		File: protoimpl.DescBuilder{
   823  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   824  			RawDescriptor: file_opentelemetry_proto_logs_v1_logs_proto_rawDesc,
   825  			NumEnums:      2,
   826  			NumMessages:   4,
   827  			NumExtensions: 0,
   828  			NumServices:   0,
   829  		},
   830  		GoTypes:           file_opentelemetry_proto_logs_v1_logs_proto_goTypes,
   831  		DependencyIndexes: file_opentelemetry_proto_logs_v1_logs_proto_depIdxs,
   832  		EnumInfos:         file_opentelemetry_proto_logs_v1_logs_proto_enumTypes,
   833  		MessageInfos:      file_opentelemetry_proto_logs_v1_logs_proto_msgTypes,
   834  	}.Build()
   835  	File_opentelemetry_proto_logs_v1_logs_proto = out.File
   836  	file_opentelemetry_proto_logs_v1_logs_proto_rawDesc = nil
   837  	file_opentelemetry_proto_logs_v1_logs_proto_goTypes = nil
   838  	file_opentelemetry_proto_logs_v1_logs_proto_depIdxs = nil
   839  }
   840  

View as plain text