Debian Codegraph @

otlp/logs/v1/logs.pb.go

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