1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package loggingpb
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 monitoredres "google.golang.org/genproto/googleapis/api/monitoredres"
29 _type "google.golang.org/genproto/googleapis/logging/type"
30 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
31 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
32 anypb "google.golang.org/protobuf/types/known/anypb"
33 structpb "google.golang.org/protobuf/types/known/structpb"
34 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
35 )
36
37 const (
38
39 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
40
41 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
42 )
43
44
45 type LogEntry struct {
46 state protoimpl.MessageState
47 sizeCache protoimpl.SizeCache
48 unknownFields protoimpl.UnknownFields
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73 LogName string `protobuf:"bytes,12,opt,name=log_name,json=logName,proto3" json:"log_name,omitempty"`
74
75
76
77
78
79 Resource *monitoredres.MonitoredResource `protobuf:"bytes,8,opt,name=resource,proto3" json:"resource,omitempty"`
80
81
82
83
84
85
86
87 Payload isLogEntry_Payload `protobuf_oneof:"payload"`
88
89
90
91
92
93
94
95
96
97
98
99
100 Timestamp *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
101
102 ReceiveTimestamp *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=receive_timestamp,json=receiveTimestamp,proto3" json:"receive_timestamp,omitempty"`
103
104
105 Severity _type.LogSeverity `protobuf:"varint,10,opt,name=severity,proto3,enum=google.logging.type.LogSeverity" json:"severity,omitempty"`
106
107
108
109
110
111
112
113
114
115
116
117 InsertId string `protobuf:"bytes,4,opt,name=insert_id,json=insertId,proto3" json:"insert_id,omitempty"`
118
119
120 HttpRequest *_type.HttpRequest `protobuf:"bytes,7,opt,name=http_request,json=httpRequest,proto3" json:"http_request,omitempty"`
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135 Labels map[string]string `protobuf:"bytes,11,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
136
137
138 Operation *LogEntryOperation `protobuf:"bytes,15,opt,name=operation,proto3" json:"operation,omitempty"`
139
140
141
142
143
144
145
146
147
148 Trace string `protobuf:"bytes,22,opt,name=trace,proto3" json:"trace,omitempty"`
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179 SpanId string `protobuf:"bytes,27,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
180
181
182
183
184
185
186
187 TraceSampled bool `protobuf:"varint,30,opt,name=trace_sampled,json=traceSampled,proto3" json:"trace_sampled,omitempty"`
188
189
190 SourceLocation *LogEntrySourceLocation `protobuf:"bytes,23,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty"`
191
192
193 Split *LogSplit `protobuf:"bytes,35,opt,name=split,proto3" json:"split,omitempty"`
194 }
195
196 func (x *LogEntry) Reset() {
197 *x = LogEntry{}
198 if protoimpl.UnsafeEnabled {
199 mi := &file_google_logging_v2_log_entry_proto_msgTypes[0]
200 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
201 ms.StoreMessageInfo(mi)
202 }
203 }
204
205 func (x *LogEntry) String() string {
206 return protoimpl.X.MessageStringOf(x)
207 }
208
209 func (*LogEntry) ProtoMessage() {}
210
211 func (x *LogEntry) ProtoReflect() protoreflect.Message {
212 mi := &file_google_logging_v2_log_entry_proto_msgTypes[0]
213 if protoimpl.UnsafeEnabled && x != nil {
214 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
215 if ms.LoadMessageInfo() == nil {
216 ms.StoreMessageInfo(mi)
217 }
218 return ms
219 }
220 return mi.MessageOf(x)
221 }
222
223
224 func (*LogEntry) Descriptor() ([]byte, []int) {
225 return file_google_logging_v2_log_entry_proto_rawDescGZIP(), []int{0}
226 }
227
228 func (x *LogEntry) GetLogName() string {
229 if x != nil {
230 return x.LogName
231 }
232 return ""
233 }
234
235 func (x *LogEntry) GetResource() *monitoredres.MonitoredResource {
236 if x != nil {
237 return x.Resource
238 }
239 return nil
240 }
241
242 func (m *LogEntry) GetPayload() isLogEntry_Payload {
243 if m != nil {
244 return m.Payload
245 }
246 return nil
247 }
248
249 func (x *LogEntry) GetProtoPayload() *anypb.Any {
250 if x, ok := x.GetPayload().(*LogEntry_ProtoPayload); ok {
251 return x.ProtoPayload
252 }
253 return nil
254 }
255
256 func (x *LogEntry) GetTextPayload() string {
257 if x, ok := x.GetPayload().(*LogEntry_TextPayload); ok {
258 return x.TextPayload
259 }
260 return ""
261 }
262
263 func (x *LogEntry) GetJsonPayload() *structpb.Struct {
264 if x, ok := x.GetPayload().(*LogEntry_JsonPayload); ok {
265 return x.JsonPayload
266 }
267 return nil
268 }
269
270 func (x *LogEntry) GetTimestamp() *timestamppb.Timestamp {
271 if x != nil {
272 return x.Timestamp
273 }
274 return nil
275 }
276
277 func (x *LogEntry) GetReceiveTimestamp() *timestamppb.Timestamp {
278 if x != nil {
279 return x.ReceiveTimestamp
280 }
281 return nil
282 }
283
284 func (x *LogEntry) GetSeverity() _type.LogSeverity {
285 if x != nil {
286 return x.Severity
287 }
288 return _type.LogSeverity(0)
289 }
290
291 func (x *LogEntry) GetInsertId() string {
292 if x != nil {
293 return x.InsertId
294 }
295 return ""
296 }
297
298 func (x *LogEntry) GetHttpRequest() *_type.HttpRequest {
299 if x != nil {
300 return x.HttpRequest
301 }
302 return nil
303 }
304
305 func (x *LogEntry) GetLabels() map[string]string {
306 if x != nil {
307 return x.Labels
308 }
309 return nil
310 }
311
312 func (x *LogEntry) GetOperation() *LogEntryOperation {
313 if x != nil {
314 return x.Operation
315 }
316 return nil
317 }
318
319 func (x *LogEntry) GetTrace() string {
320 if x != nil {
321 return x.Trace
322 }
323 return ""
324 }
325
326 func (x *LogEntry) GetSpanId() string {
327 if x != nil {
328 return x.SpanId
329 }
330 return ""
331 }
332
333 func (x *LogEntry) GetTraceSampled() bool {
334 if x != nil {
335 return x.TraceSampled
336 }
337 return false
338 }
339
340 func (x *LogEntry) GetSourceLocation() *LogEntrySourceLocation {
341 if x != nil {
342 return x.SourceLocation
343 }
344 return nil
345 }
346
347 func (x *LogEntry) GetSplit() *LogSplit {
348 if x != nil {
349 return x.Split
350 }
351 return nil
352 }
353
354 type isLogEntry_Payload interface {
355 isLogEntry_Payload()
356 }
357
358 type LogEntry_ProtoPayload struct {
359
360
361
362
363
364
365
366
367 ProtoPayload *anypb.Any `protobuf:"bytes,2,opt,name=proto_payload,json=protoPayload,proto3,oneof"`
368 }
369
370 type LogEntry_TextPayload struct {
371
372 TextPayload string `protobuf:"bytes,3,opt,name=text_payload,json=textPayload,proto3,oneof"`
373 }
374
375 type LogEntry_JsonPayload struct {
376
377
378 JsonPayload *structpb.Struct `protobuf:"bytes,6,opt,name=json_payload,json=jsonPayload,proto3,oneof"`
379 }
380
381 func (*LogEntry_ProtoPayload) isLogEntry_Payload() {}
382
383 func (*LogEntry_TextPayload) isLogEntry_Payload() {}
384
385 func (*LogEntry_JsonPayload) isLogEntry_Payload() {}
386
387
388
389 type LogEntryOperation struct {
390 state protoimpl.MessageState
391 sizeCache protoimpl.SizeCache
392 unknownFields protoimpl.UnknownFields
393
394
395
396 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
397
398
399
400 Producer string `protobuf:"bytes,2,opt,name=producer,proto3" json:"producer,omitempty"`
401
402 First bool `protobuf:"varint,3,opt,name=first,proto3" json:"first,omitempty"`
403
404 Last bool `protobuf:"varint,4,opt,name=last,proto3" json:"last,omitempty"`
405 }
406
407 func (x *LogEntryOperation) Reset() {
408 *x = LogEntryOperation{}
409 if protoimpl.UnsafeEnabled {
410 mi := &file_google_logging_v2_log_entry_proto_msgTypes[1]
411 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
412 ms.StoreMessageInfo(mi)
413 }
414 }
415
416 func (x *LogEntryOperation) String() string {
417 return protoimpl.X.MessageStringOf(x)
418 }
419
420 func (*LogEntryOperation) ProtoMessage() {}
421
422 func (x *LogEntryOperation) ProtoReflect() protoreflect.Message {
423 mi := &file_google_logging_v2_log_entry_proto_msgTypes[1]
424 if protoimpl.UnsafeEnabled && x != nil {
425 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
426 if ms.LoadMessageInfo() == nil {
427 ms.StoreMessageInfo(mi)
428 }
429 return ms
430 }
431 return mi.MessageOf(x)
432 }
433
434
435 func (*LogEntryOperation) Descriptor() ([]byte, []int) {
436 return file_google_logging_v2_log_entry_proto_rawDescGZIP(), []int{1}
437 }
438
439 func (x *LogEntryOperation) GetId() string {
440 if x != nil {
441 return x.Id
442 }
443 return ""
444 }
445
446 func (x *LogEntryOperation) GetProducer() string {
447 if x != nil {
448 return x.Producer
449 }
450 return ""
451 }
452
453 func (x *LogEntryOperation) GetFirst() bool {
454 if x != nil {
455 return x.First
456 }
457 return false
458 }
459
460 func (x *LogEntryOperation) GetLast() bool {
461 if x != nil {
462 return x.Last
463 }
464 return false
465 }
466
467
468
469 type LogEntrySourceLocation struct {
470 state protoimpl.MessageState
471 sizeCache protoimpl.SizeCache
472 unknownFields protoimpl.UnknownFields
473
474
475
476 File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
477
478
479 Line int64 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
480
481
482
483
484
485
486 Function string `protobuf:"bytes,3,opt,name=function,proto3" json:"function,omitempty"`
487 }
488
489 func (x *LogEntrySourceLocation) Reset() {
490 *x = LogEntrySourceLocation{}
491 if protoimpl.UnsafeEnabled {
492 mi := &file_google_logging_v2_log_entry_proto_msgTypes[2]
493 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
494 ms.StoreMessageInfo(mi)
495 }
496 }
497
498 func (x *LogEntrySourceLocation) String() string {
499 return protoimpl.X.MessageStringOf(x)
500 }
501
502 func (*LogEntrySourceLocation) ProtoMessage() {}
503
504 func (x *LogEntrySourceLocation) ProtoReflect() protoreflect.Message {
505 mi := &file_google_logging_v2_log_entry_proto_msgTypes[2]
506 if protoimpl.UnsafeEnabled && x != nil {
507 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
508 if ms.LoadMessageInfo() == nil {
509 ms.StoreMessageInfo(mi)
510 }
511 return ms
512 }
513 return mi.MessageOf(x)
514 }
515
516
517 func (*LogEntrySourceLocation) Descriptor() ([]byte, []int) {
518 return file_google_logging_v2_log_entry_proto_rawDescGZIP(), []int{2}
519 }
520
521 func (x *LogEntrySourceLocation) GetFile() string {
522 if x != nil {
523 return x.File
524 }
525 return ""
526 }
527
528 func (x *LogEntrySourceLocation) GetLine() int64 {
529 if x != nil {
530 return x.Line
531 }
532 return 0
533 }
534
535 func (x *LogEntrySourceLocation) GetFunction() string {
536 if x != nil {
537 return x.Function
538 }
539 return ""
540 }
541
542
543
544
545 type LogSplit struct {
546 state protoimpl.MessageState
547 sizeCache protoimpl.SizeCache
548 unknownFields protoimpl.UnknownFields
549
550
551
552
553 Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
554
555
556
557 Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
558
559 TotalSplits int32 `protobuf:"varint,3,opt,name=total_splits,json=totalSplits,proto3" json:"total_splits,omitempty"`
560 }
561
562 func (x *LogSplit) Reset() {
563 *x = LogSplit{}
564 if protoimpl.UnsafeEnabled {
565 mi := &file_google_logging_v2_log_entry_proto_msgTypes[3]
566 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
567 ms.StoreMessageInfo(mi)
568 }
569 }
570
571 func (x *LogSplit) String() string {
572 return protoimpl.X.MessageStringOf(x)
573 }
574
575 func (*LogSplit) ProtoMessage() {}
576
577 func (x *LogSplit) ProtoReflect() protoreflect.Message {
578 mi := &file_google_logging_v2_log_entry_proto_msgTypes[3]
579 if protoimpl.UnsafeEnabled && x != nil {
580 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
581 if ms.LoadMessageInfo() == nil {
582 ms.StoreMessageInfo(mi)
583 }
584 return ms
585 }
586 return mi.MessageOf(x)
587 }
588
589
590 func (*LogSplit) Descriptor() ([]byte, []int) {
591 return file_google_logging_v2_log_entry_proto_rawDescGZIP(), []int{3}
592 }
593
594 func (x *LogSplit) GetUid() string {
595 if x != nil {
596 return x.Uid
597 }
598 return ""
599 }
600
601 func (x *LogSplit) GetIndex() int32 {
602 if x != nil {
603 return x.Index
604 }
605 return 0
606 }
607
608 func (x *LogSplit) GetTotalSplits() int32 {
609 if x != nil {
610 return x.TotalSplits
611 }
612 return 0
613 }
614
615 var File_google_logging_v2_log_entry_proto protoreflect.FileDescriptor
616
617 var file_google_logging_v2_log_entry_proto_rawDesc = []byte{
618 0x0a, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67,
619 0x2f, 0x76, 0x32, 0x2f, 0x6c, 0x6f, 0x67, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72,
620 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x67, 0x67,
621 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
622 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f,
623 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
624 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x5f, 0x72, 0x65,
625 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f,
626 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
627 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
628 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x68, 0x74, 0x74,
629 0x70, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
630 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f,
631 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6c, 0x6f, 0x67, 0x5f, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74,
632 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
633 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f,
634 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
635 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
636 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
637 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74,
638 0x6f, 0x22, 0xcf, 0x09, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1e,
639 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09,
640 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3e,
641 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b,
642 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x4d, 0x6f,
643 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42,
644 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3b,
645 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18,
646 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
647 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x48, 0x00, 0x52, 0x0c, 0x70,
648 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x23, 0x0a, 0x0c, 0x74,
649 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
650 0x09, 0x48, 0x00, 0x52, 0x0b, 0x74, 0x65, 0x78, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64,
651 0x12, 0x3c, 0x0a, 0x0c, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64,
652 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
653 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48,
654 0x00, 0x52, 0x0b, 0x6a, 0x73, 0x6f, 0x6e, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x3d,
655 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28,
656 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
657 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0,
658 0x41, 0x01, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x4c, 0x0a,
659 0x11, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
660 0x6d, 0x70, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
661 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
662 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10, 0x72, 0x65, 0x63, 0x65, 0x69,
663 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x41, 0x0a, 0x08, 0x73,
664 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e,
665 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x74,
666 0x79, 0x70, 0x65, 0x2e, 0x4c, 0x6f, 0x67, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x42,
667 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x20,
668 0x0a, 0x09, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
669 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x49, 0x64,
670 0x12, 0x48, 0x0a, 0x0c, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
671 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
672 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x48, 0x74, 0x74,
673 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x68,
674 0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x06, 0x6c, 0x61,
675 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f,
676 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x4c,
677 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e,
678 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73,
679 0x12, 0x47, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0f, 0x20,
680 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x67,
681 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79,
682 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09,
683 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x05, 0x74, 0x72, 0x61,
684 0x63, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x05, 0x74,
685 0x72, 0x61, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x07, 0x73, 0x70, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18,
686 0x1b, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x73, 0x70, 0x61, 0x6e,
687 0x49, 0x64, 0x12, 0x28, 0x0a, 0x0d, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x73, 0x61, 0x6d, 0x70,
688 0x6c, 0x65, 0x64, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c,
689 0x74, 0x72, 0x61, 0x63, 0x65, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x64, 0x12, 0x57, 0x0a, 0x0f,
690 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
691 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c,
692 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74,
693 0x72, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
694 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x63,
695 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x05, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x18, 0x23,
696 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f,
697 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x6f, 0x67, 0x53, 0x70, 0x6c, 0x69,
698 0x74, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x05, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x1a, 0x39, 0x0a,
699 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
700 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
701 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,
702 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0xbd, 0x01, 0xea, 0x41, 0xb9, 0x01, 0x0a,
703 0x1a, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
704 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x67, 0x12, 0x1d, 0x70, 0x72, 0x6f,
705 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f,
706 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x67, 0x7d, 0x12, 0x27, 0x6f, 0x72, 0x67, 0x61,
707 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 0x6e,
708 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x7b, 0x6c,
709 0x6f, 0x67, 0x7d, 0x12, 0x1b, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x66, 0x6f,
710 0x6c, 0x64, 0x65, 0x72, 0x7d, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x67, 0x7d,
711 0x12, 0x2c, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
712 0x73, 0x2f, 0x7b, 0x62, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75,
713 0x6e, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x67, 0x7d, 0x1a, 0x08,
714 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c,
715 0x6f, 0x61, 0x64, 0x22, 0x7d, 0x0a, 0x11, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x4f,
716 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
717 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1f, 0x0a,
718 0x08, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42,
719 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x72, 0x12, 0x19,
720 0x0a, 0x05, 0x66, 0x69, 0x72, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0,
721 0x41, 0x01, 0x52, 0x05, 0x66, 0x69, 0x72, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6c, 0x61, 0x73,
722 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x6c, 0x61,
723 0x73, 0x74, 0x22, 0x6b, 0x0a, 0x16, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x53, 0x6f,
724 0x75, 0x72, 0x63, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x04,
725 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
726 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20,
727 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x1f,
728 0x0a, 0x08, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
729 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22,
730 0x55, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75,
731 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a,
732 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e,
733 0x64, 0x65, 0x78, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x70, 0x6c,
734 0x69, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c,
735 0x53, 0x70, 0x6c, 0x69, 0x74, 0x73, 0x42, 0xb3, 0x01, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x67,
736 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32,
737 0x42, 0x0d, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
738 0x01, 0x5a, 0x35, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
739 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x61,
740 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x70, 0x62, 0x3b, 0x6c,
741 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x70, 0x62, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x17, 0x47, 0x6f,
742 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4c, 0x6f, 0x67, 0x67, 0x69,
743 0x6e, 0x67, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x17, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43,
744 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x32, 0xea,
745 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a,
746 0x3a, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72,
747 0x6f, 0x74, 0x6f, 0x33,
748 }
749
750 var (
751 file_google_logging_v2_log_entry_proto_rawDescOnce sync.Once
752 file_google_logging_v2_log_entry_proto_rawDescData = file_google_logging_v2_log_entry_proto_rawDesc
753 )
754
755 func file_google_logging_v2_log_entry_proto_rawDescGZIP() []byte {
756 file_google_logging_v2_log_entry_proto_rawDescOnce.Do(func() {
757 file_google_logging_v2_log_entry_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_logging_v2_log_entry_proto_rawDescData)
758 })
759 return file_google_logging_v2_log_entry_proto_rawDescData
760 }
761
762 var file_google_logging_v2_log_entry_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
763 var file_google_logging_v2_log_entry_proto_goTypes = []interface{}{
764 (*LogEntry)(nil),
765 (*LogEntryOperation)(nil),
766 (*LogEntrySourceLocation)(nil),
767 (*LogSplit)(nil),
768 nil,
769 (*monitoredres.MonitoredResource)(nil),
770 (*anypb.Any)(nil),
771 (*structpb.Struct)(nil),
772 (*timestamppb.Timestamp)(nil),
773 (_type.LogSeverity)(0),
774 (*_type.HttpRequest)(nil),
775 }
776 var file_google_logging_v2_log_entry_proto_depIdxs = []int32{
777 5,
778 6,
779 7,
780 8,
781 8,
782 9,
783 10,
784 4,
785 1,
786 2,
787 3,
788 11,
789 11,
790 11,
791 11,
792 0,
793 }
794
795 func init() { file_google_logging_v2_log_entry_proto_init() }
796 func file_google_logging_v2_log_entry_proto_init() {
797 if File_google_logging_v2_log_entry_proto != nil {
798 return
799 }
800 if !protoimpl.UnsafeEnabled {
801 file_google_logging_v2_log_entry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
802 switch v := v.(*LogEntry); i {
803 case 0:
804 return &v.state
805 case 1:
806 return &v.sizeCache
807 case 2:
808 return &v.unknownFields
809 default:
810 return nil
811 }
812 }
813 file_google_logging_v2_log_entry_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
814 switch v := v.(*LogEntryOperation); i {
815 case 0:
816 return &v.state
817 case 1:
818 return &v.sizeCache
819 case 2:
820 return &v.unknownFields
821 default:
822 return nil
823 }
824 }
825 file_google_logging_v2_log_entry_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
826 switch v := v.(*LogEntrySourceLocation); i {
827 case 0:
828 return &v.state
829 case 1:
830 return &v.sizeCache
831 case 2:
832 return &v.unknownFields
833 default:
834 return nil
835 }
836 }
837 file_google_logging_v2_log_entry_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
838 switch v := v.(*LogSplit); i {
839 case 0:
840 return &v.state
841 case 1:
842 return &v.sizeCache
843 case 2:
844 return &v.unknownFields
845 default:
846 return nil
847 }
848 }
849 }
850 file_google_logging_v2_log_entry_proto_msgTypes[0].OneofWrappers = []interface{}{
851 (*LogEntry_ProtoPayload)(nil),
852 (*LogEntry_TextPayload)(nil),
853 (*LogEntry_JsonPayload)(nil),
854 }
855 type x struct{}
856 out := protoimpl.TypeBuilder{
857 File: protoimpl.DescBuilder{
858 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
859 RawDescriptor: file_google_logging_v2_log_entry_proto_rawDesc,
860 NumEnums: 0,
861 NumMessages: 5,
862 NumExtensions: 0,
863 NumServices: 0,
864 },
865 GoTypes: file_google_logging_v2_log_entry_proto_goTypes,
866 DependencyIndexes: file_google_logging_v2_log_entry_proto_depIdxs,
867 MessageInfos: file_google_logging_v2_log_entry_proto_msgTypes,
868 }.Build()
869 File_google_logging_v2_log_entry_proto = out.File
870 file_google_logging_v2_log_entry_proto_rawDesc = nil
871 file_google_logging_v2_log_entry_proto_goTypes = nil
872 file_google_logging_v2_log_entry_proto_depIdxs = nil
873 }
874
View as plain text