@miradorlabs/web-grpc 2.31.0 → 2.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/google/protobuf/timestamp.ts +32 -23
- package/package.json +1 -1
- package/proto/gateway/common/v1/attribute_value.ts +143 -107
- package/proto/gateway/common/v1/status.ts +32 -23
- package/proto/gateway/common/v1/types.ts +32 -23
- package/proto/gateway/web/v1/account_gateway.ts +2608 -1951
- package/proto/gateway/web/v1/attribute_value.ts +143 -107
- package/proto/gateway/web/v1/chain_gateway.ts +1362 -1164
- package/proto/gateway/web/v1/common.ts +1 -1
- package/proto/gateway/web/v1/derived_metric_gateway.ts +933 -743
- package/proto/gateway/web/v1/integration_gateway.ts +1094 -873
- package/proto/gateway/web/v1/log_gateway.ts +593 -452
- package/proto/gateway/web/v1/market_gateway.ts +156 -111
- package/proto/gateway/web/v1/metric_gateway.ts +1842 -1453
- package/proto/gateway/web/v1/oauth_gateway.ts +648 -495
- package/proto/gateway/web/v1/plan_gateway.ts +488 -371
- package/proto/gateway/web/v1/rule_gateway.ts +1997 -1601
- package/proto/gateway/web/v1/rule_gateway_grpc_pb.js +1 -1
- package/proto/gateway/web/v1/slo_gateway.ts +2166 -1765
- package/proto/gateway/web/v1/trace_gateway.ts +3250 -15480
- package/proto/gateway/web/v1/trace_gateway_grpc_pb.js +0 -34
- package/proto/gateway/web/v1/trace_gateway_pb.js +4560 -27549
- package/proto/gateway/web/v1/trace_measure_gateway.ts +278 -214
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.12.
|
|
3
|
+
// protoc-gen-ts_proto v2.12.1
|
|
4
4
|
// protoc v3.21.12
|
|
5
5
|
// source: proto/gateway/web/v1/log_gateway.proto
|
|
6
6
|
|
|
@@ -181,58 +181,67 @@ export const StreamLogsRequest: MessageFns<StreamLogsRequest> = {
|
|
|
181
181
|
|
|
182
182
|
decode(input: BinaryReader | Uint8Array, length?: number): StreamLogsRequest {
|
|
183
183
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
184
|
-
const
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
184
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
185
|
+
if (previousRecursionDepth >= 100) {
|
|
186
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
187
|
+
}
|
|
188
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
189
|
+
try {
|
|
190
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
191
|
+
const message = createBaseStreamLogsRequest();
|
|
192
|
+
while (reader.pos < end) {
|
|
193
|
+
const tag = reader.uint32();
|
|
194
|
+
switch (tag >>> 3) {
|
|
195
|
+
case 1: {
|
|
196
|
+
if (tag !== 10) {
|
|
197
|
+
break;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
message.organizationId = reader.string();
|
|
201
|
+
continue;
|
|
192
202
|
}
|
|
203
|
+
case 2: {
|
|
204
|
+
if (tag !== 18) {
|
|
205
|
+
break;
|
|
206
|
+
}
|
|
193
207
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
}
|
|
197
|
-
case 2: {
|
|
198
|
-
if (tag !== 18) {
|
|
199
|
-
break;
|
|
208
|
+
message.projectId = reader.string();
|
|
209
|
+
continue;
|
|
200
210
|
}
|
|
211
|
+
case 3: {
|
|
212
|
+
if (tag !== 26) {
|
|
213
|
+
break;
|
|
214
|
+
}
|
|
201
215
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
}
|
|
205
|
-
case 3: {
|
|
206
|
-
if (tag !== 26) {
|
|
207
|
-
break;
|
|
216
|
+
message.filter = reader.string();
|
|
217
|
+
continue;
|
|
208
218
|
}
|
|
219
|
+
case 4: {
|
|
220
|
+
if (tag !== 34) {
|
|
221
|
+
break;
|
|
222
|
+
}
|
|
209
223
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
}
|
|
213
|
-
case 4: {
|
|
214
|
-
if (tag !== 34) {
|
|
215
|
-
break;
|
|
224
|
+
message.timeRange = TimeRange.decode(reader, reader.uint32());
|
|
225
|
+
continue;
|
|
216
226
|
}
|
|
227
|
+
case 5: {
|
|
228
|
+
if (tag !== 40) {
|
|
229
|
+
break;
|
|
230
|
+
}
|
|
217
231
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
}
|
|
221
|
-
case 5: {
|
|
222
|
-
if (tag !== 40) {
|
|
223
|
-
break;
|
|
232
|
+
message.limit = reader.int32();
|
|
233
|
+
continue;
|
|
224
234
|
}
|
|
225
|
-
|
|
226
|
-
message.limit = reader.int32();
|
|
227
|
-
continue;
|
|
228
235
|
}
|
|
236
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
237
|
+
break;
|
|
238
|
+
}
|
|
239
|
+
reader.skip(tag & 7);
|
|
229
240
|
}
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
reader.skip(tag & 7);
|
|
241
|
+
return message;
|
|
242
|
+
} finally {
|
|
243
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
234
244
|
}
|
|
235
|
-
return message;
|
|
236
245
|
},
|
|
237
246
|
|
|
238
247
|
fromJSON(object: any): StreamLogsRequest {
|
|
@@ -310,34 +319,43 @@ export const LogDataEnvelope: MessageFns<LogDataEnvelope> = {
|
|
|
310
319
|
|
|
311
320
|
decode(input: BinaryReader | Uint8Array, length?: number): LogDataEnvelope {
|
|
312
321
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
313
|
-
const
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
322
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
323
|
+
if (previousRecursionDepth >= 100) {
|
|
324
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
325
|
+
}
|
|
326
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
327
|
+
try {
|
|
328
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
329
|
+
const message = createBaseLogDataEnvelope();
|
|
330
|
+
while (reader.pos < end) {
|
|
331
|
+
const tag = reader.uint32();
|
|
332
|
+
switch (tag >>> 3) {
|
|
333
|
+
case 1: {
|
|
334
|
+
if (tag !== 10) {
|
|
335
|
+
break;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
message.snapshot = LogSnapshot.decode(reader, reader.uint32());
|
|
339
|
+
continue;
|
|
321
340
|
}
|
|
341
|
+
case 2: {
|
|
342
|
+
if (tag !== 18) {
|
|
343
|
+
break;
|
|
344
|
+
}
|
|
322
345
|
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
}
|
|
326
|
-
case 2: {
|
|
327
|
-
if (tag !== 18) {
|
|
328
|
-
break;
|
|
346
|
+
message.appended = LogEntry.decode(reader, reader.uint32());
|
|
347
|
+
continue;
|
|
329
348
|
}
|
|
330
|
-
|
|
331
|
-
message.appended = LogEntry.decode(reader, reader.uint32());
|
|
332
|
-
continue;
|
|
333
349
|
}
|
|
350
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
351
|
+
break;
|
|
352
|
+
}
|
|
353
|
+
reader.skip(tag & 7);
|
|
334
354
|
}
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
reader.skip(tag & 7);
|
|
355
|
+
return message;
|
|
356
|
+
} finally {
|
|
357
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
339
358
|
}
|
|
340
|
-
return message;
|
|
341
359
|
},
|
|
342
360
|
|
|
343
361
|
fromJSON(object: any): LogDataEnvelope {
|
|
@@ -393,42 +411,51 @@ export const LogSnapshot: MessageFns<LogSnapshot> = {
|
|
|
393
411
|
|
|
394
412
|
decode(input: BinaryReader | Uint8Array, length?: number): LogSnapshot {
|
|
395
413
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
396
|
-
const
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
414
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
415
|
+
if (previousRecursionDepth >= 100) {
|
|
416
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
417
|
+
}
|
|
418
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
419
|
+
try {
|
|
420
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
421
|
+
const message = createBaseLogSnapshot();
|
|
422
|
+
while (reader.pos < end) {
|
|
423
|
+
const tag = reader.uint32();
|
|
424
|
+
switch (tag >>> 3) {
|
|
425
|
+
case 1: {
|
|
426
|
+
if (tag !== 10) {
|
|
427
|
+
break;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
message.records.push(LogEntry.decode(reader, reader.uint32()));
|
|
431
|
+
continue;
|
|
404
432
|
}
|
|
433
|
+
case 2: {
|
|
434
|
+
if (tag !== 18) {
|
|
435
|
+
break;
|
|
436
|
+
}
|
|
405
437
|
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
}
|
|
409
|
-
case 2: {
|
|
410
|
-
if (tag !== 18) {
|
|
411
|
-
break;
|
|
438
|
+
message.rangeStart = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
439
|
+
continue;
|
|
412
440
|
}
|
|
441
|
+
case 3: {
|
|
442
|
+
if (tag !== 26) {
|
|
443
|
+
break;
|
|
444
|
+
}
|
|
413
445
|
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
}
|
|
417
|
-
case 3: {
|
|
418
|
-
if (tag !== 26) {
|
|
419
|
-
break;
|
|
446
|
+
message.rangeEnd = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
447
|
+
continue;
|
|
420
448
|
}
|
|
421
|
-
|
|
422
|
-
message.rangeEnd = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
423
|
-
continue;
|
|
424
449
|
}
|
|
450
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
451
|
+
break;
|
|
452
|
+
}
|
|
453
|
+
reader.skip(tag & 7);
|
|
425
454
|
}
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
reader.skip(tag & 7);
|
|
455
|
+
return message;
|
|
456
|
+
} finally {
|
|
457
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
430
458
|
}
|
|
431
|
-
return message;
|
|
432
459
|
},
|
|
433
460
|
|
|
434
461
|
fromJSON(object: any): LogSnapshot {
|
|
@@ -545,144 +572,153 @@ export const LogEntry: MessageFns<LogEntry> = {
|
|
|
545
572
|
|
|
546
573
|
decode(input: BinaryReader | Uint8Array, length?: number): LogEntry {
|
|
547
574
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
548
|
-
const
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
575
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
576
|
+
if (previousRecursionDepth >= 100) {
|
|
577
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
578
|
+
}
|
|
579
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
580
|
+
try {
|
|
581
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
582
|
+
const message = createBaseLogEntry();
|
|
583
|
+
while (reader.pos < end) {
|
|
584
|
+
const tag = reader.uint32();
|
|
585
|
+
switch (tag >>> 3) {
|
|
586
|
+
case 1: {
|
|
587
|
+
if (tag !== 10) {
|
|
588
|
+
break;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
message.time = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
592
|
+
continue;
|
|
556
593
|
}
|
|
594
|
+
case 2: {
|
|
595
|
+
if (tag !== 16) {
|
|
596
|
+
break;
|
|
597
|
+
}
|
|
557
598
|
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
}
|
|
561
|
-
case 2: {
|
|
562
|
-
if (tag !== 16) {
|
|
563
|
-
break;
|
|
599
|
+
message.severityNumber = reader.uint32();
|
|
600
|
+
continue;
|
|
564
601
|
}
|
|
602
|
+
case 3: {
|
|
603
|
+
if (tag !== 26) {
|
|
604
|
+
break;
|
|
605
|
+
}
|
|
565
606
|
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
}
|
|
569
|
-
case 3: {
|
|
570
|
-
if (tag !== 26) {
|
|
571
|
-
break;
|
|
607
|
+
message.severityText = reader.string();
|
|
608
|
+
continue;
|
|
572
609
|
}
|
|
610
|
+
case 4: {
|
|
611
|
+
if (tag !== 34) {
|
|
612
|
+
break;
|
|
613
|
+
}
|
|
573
614
|
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
}
|
|
577
|
-
case 4: {
|
|
578
|
-
if (tag !== 34) {
|
|
579
|
-
break;
|
|
615
|
+
message.serviceName = reader.string();
|
|
616
|
+
continue;
|
|
580
617
|
}
|
|
618
|
+
case 5: {
|
|
619
|
+
if (tag !== 42) {
|
|
620
|
+
break;
|
|
621
|
+
}
|
|
581
622
|
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
}
|
|
585
|
-
case 5: {
|
|
586
|
-
if (tag !== 42) {
|
|
587
|
-
break;
|
|
623
|
+
message.body = reader.string();
|
|
624
|
+
continue;
|
|
588
625
|
}
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
if (entry6.value !== undefined) {
|
|
600
|
-
message.attributes[entry6.key] = entry6.value;
|
|
626
|
+
case 6: {
|
|
627
|
+
if (tag !== 50) {
|
|
628
|
+
break;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
const entry6 = LogEntry_AttributesEntry.decode(reader, reader.uint32());
|
|
632
|
+
if (entry6.value !== undefined) {
|
|
633
|
+
message.attributes[entry6.key] = entry6.value;
|
|
634
|
+
}
|
|
635
|
+
continue;
|
|
601
636
|
}
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
637
|
+
case 7: {
|
|
638
|
+
if (tag !== 58) {
|
|
639
|
+
break;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
const entry7 = LogEntry_ResourceAttributesEntry.decode(reader, reader.uint32());
|
|
643
|
+
if (entry7.value !== undefined) {
|
|
644
|
+
message.resourceAttributes[entry7.key] = entry7.value;
|
|
645
|
+
}
|
|
646
|
+
continue;
|
|
607
647
|
}
|
|
648
|
+
case 8: {
|
|
649
|
+
if (tag !== 66) {
|
|
650
|
+
break;
|
|
651
|
+
}
|
|
608
652
|
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
message.resourceAttributes[entry7.key] = entry7.value;
|
|
612
|
-
}
|
|
613
|
-
continue;
|
|
614
|
-
}
|
|
615
|
-
case 8: {
|
|
616
|
-
if (tag !== 66) {
|
|
617
|
-
break;
|
|
653
|
+
message.traceId = reader.string();
|
|
654
|
+
continue;
|
|
618
655
|
}
|
|
656
|
+
case 9: {
|
|
657
|
+
if (tag !== 74) {
|
|
658
|
+
break;
|
|
659
|
+
}
|
|
619
660
|
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
}
|
|
623
|
-
case 9: {
|
|
624
|
-
if (tag !== 74) {
|
|
625
|
-
break;
|
|
661
|
+
message.spanId = reader.string();
|
|
662
|
+
continue;
|
|
626
663
|
}
|
|
664
|
+
case 10: {
|
|
665
|
+
if (tag !== 82) {
|
|
666
|
+
break;
|
|
667
|
+
}
|
|
627
668
|
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
}
|
|
631
|
-
case 10: {
|
|
632
|
-
if (tag !== 82) {
|
|
633
|
-
break;
|
|
669
|
+
message.eventName = reader.string();
|
|
670
|
+
continue;
|
|
634
671
|
}
|
|
672
|
+
case 11: {
|
|
673
|
+
if (tag !== 90) {
|
|
674
|
+
break;
|
|
675
|
+
}
|
|
635
676
|
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
}
|
|
639
|
-
case 11: {
|
|
640
|
-
if (tag !== 90) {
|
|
641
|
-
break;
|
|
677
|
+
message.scopeName = reader.string();
|
|
678
|
+
continue;
|
|
642
679
|
}
|
|
680
|
+
case 12: {
|
|
681
|
+
if (tag !== 98) {
|
|
682
|
+
break;
|
|
683
|
+
}
|
|
643
684
|
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
}
|
|
647
|
-
case 12: {
|
|
648
|
-
if (tag !== 98) {
|
|
649
|
-
break;
|
|
685
|
+
message.scopeVersion = reader.string();
|
|
686
|
+
continue;
|
|
650
687
|
}
|
|
688
|
+
case 13: {
|
|
689
|
+
if (tag !== 104) {
|
|
690
|
+
break;
|
|
691
|
+
}
|
|
651
692
|
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
}
|
|
655
|
-
case 13: {
|
|
656
|
-
if (tag !== 104) {
|
|
657
|
-
break;
|
|
693
|
+
message.flags = reader.uint32();
|
|
694
|
+
continue;
|
|
658
695
|
}
|
|
696
|
+
case 14: {
|
|
697
|
+
if (tag !== 114) {
|
|
698
|
+
break;
|
|
699
|
+
}
|
|
659
700
|
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
}
|
|
663
|
-
case 14: {
|
|
664
|
-
if (tag !== 114) {
|
|
665
|
-
break;
|
|
701
|
+
message.observedTime = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
702
|
+
continue;
|
|
666
703
|
}
|
|
704
|
+
case 15: {
|
|
705
|
+
if (tag !== 120) {
|
|
706
|
+
break;
|
|
707
|
+
}
|
|
667
708
|
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
}
|
|
671
|
-
case 15: {
|
|
672
|
-
if (tag !== 120) {
|
|
673
|
-
break;
|
|
709
|
+
message.droppedAttributesCount = reader.uint32();
|
|
710
|
+
continue;
|
|
674
711
|
}
|
|
675
|
-
|
|
676
|
-
message.droppedAttributesCount = reader.uint32();
|
|
677
|
-
continue;
|
|
678
712
|
}
|
|
713
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
714
|
+
break;
|
|
715
|
+
}
|
|
716
|
+
reader.skip(tag & 7);
|
|
679
717
|
}
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
reader.skip(tag & 7);
|
|
718
|
+
return message;
|
|
719
|
+
} finally {
|
|
720
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
684
721
|
}
|
|
685
|
-
return message;
|
|
686
722
|
},
|
|
687
723
|
|
|
688
724
|
fromJSON(object: any): LogEntry {
|
|
@@ -707,7 +743,12 @@ export const LogEntry: MessageFns<LogEntry> = {
|
|
|
707
743
|
attributes: isObject(object.attributes)
|
|
708
744
|
? (globalThis.Object.entries(object.attributes) as [string, any][]).reduce(
|
|
709
745
|
(acc: { [key: string]: string }, [key, value]: [string, any]) => {
|
|
710
|
-
acc
|
|
746
|
+
globalThis.Object.defineProperty(acc, key, {
|
|
747
|
+
value: globalThis.String(value),
|
|
748
|
+
enumerable: true,
|
|
749
|
+
configurable: true,
|
|
750
|
+
writable: true,
|
|
751
|
+
});
|
|
711
752
|
return acc;
|
|
712
753
|
},
|
|
713
754
|
{},
|
|
@@ -716,7 +757,12 @@ export const LogEntry: MessageFns<LogEntry> = {
|
|
|
716
757
|
resourceAttributes: isObject(object.resourceAttributes)
|
|
717
758
|
? (globalThis.Object.entries(object.resourceAttributes) as [string, any][]).reduce(
|
|
718
759
|
(acc: { [key: string]: string }, [key, value]: [string, any]) => {
|
|
719
|
-
acc
|
|
760
|
+
globalThis.Object.defineProperty(acc, key, {
|
|
761
|
+
value: globalThis.String(value),
|
|
762
|
+
enumerable: true,
|
|
763
|
+
configurable: true,
|
|
764
|
+
writable: true,
|
|
765
|
+
});
|
|
720
766
|
return acc;
|
|
721
767
|
},
|
|
722
768
|
{},
|
|
@@ -724,7 +770,12 @@ export const LogEntry: MessageFns<LogEntry> = {
|
|
|
724
770
|
: isObject(object.resource_attributes)
|
|
725
771
|
? (globalThis.Object.entries(object.resource_attributes) as [string, any][]).reduce(
|
|
726
772
|
(acc: { [key: string]: string }, [key, value]: [string, any]) => {
|
|
727
|
-
acc
|
|
773
|
+
globalThis.Object.defineProperty(acc, key, {
|
|
774
|
+
value: globalThis.String(value),
|
|
775
|
+
enumerable: true,
|
|
776
|
+
configurable: true,
|
|
777
|
+
writable: true,
|
|
778
|
+
});
|
|
728
779
|
return acc;
|
|
729
780
|
},
|
|
730
781
|
{},
|
|
@@ -886,34 +937,43 @@ export const LogEntry_AttributesEntry: MessageFns<LogEntry_AttributesEntry> = {
|
|
|
886
937
|
|
|
887
938
|
decode(input: BinaryReader | Uint8Array, length?: number): LogEntry_AttributesEntry {
|
|
888
939
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
889
|
-
const
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
940
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
941
|
+
if (previousRecursionDepth >= 100) {
|
|
942
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
943
|
+
}
|
|
944
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
945
|
+
try {
|
|
946
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
947
|
+
const message = createBaseLogEntry_AttributesEntry();
|
|
948
|
+
while (reader.pos < end) {
|
|
949
|
+
const tag = reader.uint32();
|
|
950
|
+
switch (tag >>> 3) {
|
|
951
|
+
case 1: {
|
|
952
|
+
if (tag !== 10) {
|
|
953
|
+
break;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
message.key = reader.string();
|
|
957
|
+
continue;
|
|
897
958
|
}
|
|
959
|
+
case 2: {
|
|
960
|
+
if (tag !== 18) {
|
|
961
|
+
break;
|
|
962
|
+
}
|
|
898
963
|
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
}
|
|
902
|
-
case 2: {
|
|
903
|
-
if (tag !== 18) {
|
|
904
|
-
break;
|
|
964
|
+
message.value = reader.string();
|
|
965
|
+
continue;
|
|
905
966
|
}
|
|
906
|
-
|
|
907
|
-
message.value = reader.string();
|
|
908
|
-
continue;
|
|
909
967
|
}
|
|
968
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
969
|
+
break;
|
|
970
|
+
}
|
|
971
|
+
reader.skip(tag & 7);
|
|
910
972
|
}
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
reader.skip(tag & 7);
|
|
973
|
+
return message;
|
|
974
|
+
} finally {
|
|
975
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
915
976
|
}
|
|
916
|
-
return message;
|
|
917
977
|
},
|
|
918
978
|
|
|
919
979
|
fromJSON(object: any): LogEntry_AttributesEntry {
|
|
@@ -962,34 +1022,43 @@ export const LogEntry_ResourceAttributesEntry: MessageFns<LogEntry_ResourceAttri
|
|
|
962
1022
|
|
|
963
1023
|
decode(input: BinaryReader | Uint8Array, length?: number): LogEntry_ResourceAttributesEntry {
|
|
964
1024
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
965
|
-
const
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
1025
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
1026
|
+
if (previousRecursionDepth >= 100) {
|
|
1027
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1028
|
+
}
|
|
1029
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1030
|
+
try {
|
|
1031
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1032
|
+
const message = createBaseLogEntry_ResourceAttributesEntry();
|
|
1033
|
+
while (reader.pos < end) {
|
|
1034
|
+
const tag = reader.uint32();
|
|
1035
|
+
switch (tag >>> 3) {
|
|
1036
|
+
case 1: {
|
|
1037
|
+
if (tag !== 10) {
|
|
1038
|
+
break;
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
message.key = reader.string();
|
|
1042
|
+
continue;
|
|
973
1043
|
}
|
|
1044
|
+
case 2: {
|
|
1045
|
+
if (tag !== 18) {
|
|
1046
|
+
break;
|
|
1047
|
+
}
|
|
974
1048
|
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
}
|
|
978
|
-
case 2: {
|
|
979
|
-
if (tag !== 18) {
|
|
980
|
-
break;
|
|
1049
|
+
message.value = reader.string();
|
|
1050
|
+
continue;
|
|
981
1051
|
}
|
|
982
|
-
|
|
983
|
-
message.value = reader.string();
|
|
984
|
-
continue;
|
|
985
1052
|
}
|
|
1053
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1054
|
+
break;
|
|
1055
|
+
}
|
|
1056
|
+
reader.skip(tag & 7);
|
|
986
1057
|
}
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
reader.skip(tag & 7);
|
|
1058
|
+
return message;
|
|
1059
|
+
} finally {
|
|
1060
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
991
1061
|
}
|
|
992
|
-
return message;
|
|
993
1062
|
},
|
|
994
1063
|
|
|
995
1064
|
fromJSON(object: any): LogEntry_ResourceAttributesEntry {
|
|
@@ -1051,58 +1120,67 @@ export const StreamLogHistogramRequest: MessageFns<StreamLogHistogramRequest> =
|
|
|
1051
1120
|
|
|
1052
1121
|
decode(input: BinaryReader | Uint8Array, length?: number): StreamLogHistogramRequest {
|
|
1053
1122
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1054
|
-
const
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1123
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
1124
|
+
if (previousRecursionDepth >= 100) {
|
|
1125
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1126
|
+
}
|
|
1127
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1128
|
+
try {
|
|
1129
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1130
|
+
const message = createBaseStreamLogHistogramRequest();
|
|
1131
|
+
while (reader.pos < end) {
|
|
1132
|
+
const tag = reader.uint32();
|
|
1133
|
+
switch (tag >>> 3) {
|
|
1134
|
+
case 1: {
|
|
1135
|
+
if (tag !== 10) {
|
|
1136
|
+
break;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
message.organizationId = reader.string();
|
|
1140
|
+
continue;
|
|
1062
1141
|
}
|
|
1142
|
+
case 2: {
|
|
1143
|
+
if (tag !== 18) {
|
|
1144
|
+
break;
|
|
1145
|
+
}
|
|
1063
1146
|
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
}
|
|
1067
|
-
case 2: {
|
|
1068
|
-
if (tag !== 18) {
|
|
1069
|
-
break;
|
|
1147
|
+
message.projectId = reader.string();
|
|
1148
|
+
continue;
|
|
1070
1149
|
}
|
|
1150
|
+
case 3: {
|
|
1151
|
+
if (tag !== 26) {
|
|
1152
|
+
break;
|
|
1153
|
+
}
|
|
1071
1154
|
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
}
|
|
1075
|
-
case 3: {
|
|
1076
|
-
if (tag !== 26) {
|
|
1077
|
-
break;
|
|
1155
|
+
message.filter = reader.string();
|
|
1156
|
+
continue;
|
|
1078
1157
|
}
|
|
1158
|
+
case 4: {
|
|
1159
|
+
if (tag !== 34) {
|
|
1160
|
+
break;
|
|
1161
|
+
}
|
|
1079
1162
|
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
}
|
|
1083
|
-
case 4: {
|
|
1084
|
-
if (tag !== 34) {
|
|
1085
|
-
break;
|
|
1163
|
+
message.timeRange = TimeRange.decode(reader, reader.uint32());
|
|
1164
|
+
continue;
|
|
1086
1165
|
}
|
|
1166
|
+
case 5: {
|
|
1167
|
+
if (tag !== 40) {
|
|
1168
|
+
break;
|
|
1169
|
+
}
|
|
1087
1170
|
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
}
|
|
1091
|
-
case 5: {
|
|
1092
|
-
if (tag !== 40) {
|
|
1093
|
-
break;
|
|
1171
|
+
message.timeInterval = reader.int32() as any;
|
|
1172
|
+
continue;
|
|
1094
1173
|
}
|
|
1095
|
-
|
|
1096
|
-
message.timeInterval = reader.int32() as any;
|
|
1097
|
-
continue;
|
|
1098
1174
|
}
|
|
1175
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1176
|
+
break;
|
|
1177
|
+
}
|
|
1178
|
+
reader.skip(tag & 7);
|
|
1099
1179
|
}
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
reader.skip(tag & 7);
|
|
1180
|
+
return message;
|
|
1181
|
+
} finally {
|
|
1182
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1104
1183
|
}
|
|
1105
|
-
return message;
|
|
1106
1184
|
},
|
|
1107
1185
|
|
|
1108
1186
|
fromJSON(object: any): StreamLogHistogramRequest {
|
|
@@ -1181,26 +1259,35 @@ export const LogHistogramEnvelope: MessageFns<LogHistogramEnvelope> = {
|
|
|
1181
1259
|
|
|
1182
1260
|
decode(input: BinaryReader | Uint8Array, length?: number): LogHistogramEnvelope {
|
|
1183
1261
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1184
|
-
const
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1262
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
1263
|
+
if (previousRecursionDepth >= 100) {
|
|
1264
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1265
|
+
}
|
|
1266
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1267
|
+
try {
|
|
1268
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1269
|
+
const message = createBaseLogHistogramEnvelope();
|
|
1270
|
+
while (reader.pos < end) {
|
|
1271
|
+
const tag = reader.uint32();
|
|
1272
|
+
switch (tag >>> 3) {
|
|
1273
|
+
case 1: {
|
|
1274
|
+
if (tag !== 10) {
|
|
1275
|
+
break;
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
message.snapshot = LogHistogramSnapshot.decode(reader, reader.uint32());
|
|
1279
|
+
continue;
|
|
1192
1280
|
}
|
|
1193
|
-
|
|
1194
|
-
message.snapshot = LogHistogramSnapshot.decode(reader, reader.uint32());
|
|
1195
|
-
continue;
|
|
1196
1281
|
}
|
|
1282
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1283
|
+
break;
|
|
1284
|
+
}
|
|
1285
|
+
reader.skip(tag & 7);
|
|
1197
1286
|
}
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
reader.skip(tag & 7);
|
|
1287
|
+
return message;
|
|
1288
|
+
} finally {
|
|
1289
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1202
1290
|
}
|
|
1203
|
-
return message;
|
|
1204
1291
|
},
|
|
1205
1292
|
|
|
1206
1293
|
fromJSON(object: any): LogHistogramEnvelope {
|
|
@@ -1253,58 +1340,67 @@ export const LogHistogramSnapshot: MessageFns<LogHistogramSnapshot> = {
|
|
|
1253
1340
|
|
|
1254
1341
|
decode(input: BinaryReader | Uint8Array, length?: number): LogHistogramSnapshot {
|
|
1255
1342
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1256
|
-
const
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1343
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
1344
|
+
if (previousRecursionDepth >= 100) {
|
|
1345
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1346
|
+
}
|
|
1347
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1348
|
+
try {
|
|
1349
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1350
|
+
const message = createBaseLogHistogramSnapshot();
|
|
1351
|
+
while (reader.pos < end) {
|
|
1352
|
+
const tag = reader.uint32();
|
|
1353
|
+
switch (tag >>> 3) {
|
|
1354
|
+
case 1: {
|
|
1355
|
+
if (tag !== 10) {
|
|
1356
|
+
break;
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
message.buckets.push(LogHistogramBucket.decode(reader, reader.uint32()));
|
|
1360
|
+
continue;
|
|
1264
1361
|
}
|
|
1362
|
+
case 2: {
|
|
1363
|
+
if (tag !== 18) {
|
|
1364
|
+
break;
|
|
1365
|
+
}
|
|
1265
1366
|
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
}
|
|
1269
|
-
case 2: {
|
|
1270
|
-
if (tag !== 18) {
|
|
1271
|
-
break;
|
|
1367
|
+
message.rangeStart = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
1368
|
+
continue;
|
|
1272
1369
|
}
|
|
1370
|
+
case 3: {
|
|
1371
|
+
if (tag !== 26) {
|
|
1372
|
+
break;
|
|
1373
|
+
}
|
|
1273
1374
|
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
}
|
|
1277
|
-
case 3: {
|
|
1278
|
-
if (tag !== 26) {
|
|
1279
|
-
break;
|
|
1375
|
+
message.rangeEnd = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
1376
|
+
continue;
|
|
1280
1377
|
}
|
|
1378
|
+
case 4: {
|
|
1379
|
+
if (tag !== 32) {
|
|
1380
|
+
break;
|
|
1381
|
+
}
|
|
1281
1382
|
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
}
|
|
1285
|
-
case 4: {
|
|
1286
|
-
if (tag !== 32) {
|
|
1287
|
-
break;
|
|
1383
|
+
message.bucketSizeMs = longToNumber(reader.int64());
|
|
1384
|
+
continue;
|
|
1288
1385
|
}
|
|
1386
|
+
case 5: {
|
|
1387
|
+
if (tag !== 40) {
|
|
1388
|
+
break;
|
|
1389
|
+
}
|
|
1289
1390
|
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
}
|
|
1293
|
-
case 5: {
|
|
1294
|
-
if (tag !== 40) {
|
|
1295
|
-
break;
|
|
1391
|
+
message.expectedBucketCount = reader.int32();
|
|
1392
|
+
continue;
|
|
1296
1393
|
}
|
|
1297
|
-
|
|
1298
|
-
message.expectedBucketCount = reader.int32();
|
|
1299
|
-
continue;
|
|
1300
1394
|
}
|
|
1395
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1396
|
+
break;
|
|
1397
|
+
}
|
|
1398
|
+
reader.skip(tag & 7);
|
|
1301
1399
|
}
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
reader.skip(tag & 7);
|
|
1400
|
+
return message;
|
|
1401
|
+
} finally {
|
|
1402
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1306
1403
|
}
|
|
1307
|
-
return message;
|
|
1308
1404
|
},
|
|
1309
1405
|
|
|
1310
1406
|
fromJSON(object: any): LogHistogramSnapshot {
|
|
@@ -1389,42 +1485,51 @@ export const LogHistogramBucket: MessageFns<LogHistogramBucket> = {
|
|
|
1389
1485
|
|
|
1390
1486
|
decode(input: BinaryReader | Uint8Array, length?: number): LogHistogramBucket {
|
|
1391
1487
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1392
|
-
const
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1488
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
1489
|
+
if (previousRecursionDepth >= 100) {
|
|
1490
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1491
|
+
}
|
|
1492
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1493
|
+
try {
|
|
1494
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1495
|
+
const message = createBaseLogHistogramBucket();
|
|
1496
|
+
while (reader.pos < end) {
|
|
1497
|
+
const tag = reader.uint32();
|
|
1498
|
+
switch (tag >>> 3) {
|
|
1499
|
+
case 1: {
|
|
1500
|
+
if (tag !== 10) {
|
|
1501
|
+
break;
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
message.bucketStart = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
1505
|
+
continue;
|
|
1400
1506
|
}
|
|
1507
|
+
case 2: {
|
|
1508
|
+
if (tag !== 18) {
|
|
1509
|
+
break;
|
|
1510
|
+
}
|
|
1401
1511
|
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
}
|
|
1405
|
-
case 2: {
|
|
1406
|
-
if (tag !== 18) {
|
|
1407
|
-
break;
|
|
1512
|
+
message.level = reader.string();
|
|
1513
|
+
continue;
|
|
1408
1514
|
}
|
|
1515
|
+
case 3: {
|
|
1516
|
+
if (tag !== 24) {
|
|
1517
|
+
break;
|
|
1518
|
+
}
|
|
1409
1519
|
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
}
|
|
1413
|
-
case 3: {
|
|
1414
|
-
if (tag !== 24) {
|
|
1415
|
-
break;
|
|
1520
|
+
message.count = longToNumber(reader.uint64());
|
|
1521
|
+
continue;
|
|
1416
1522
|
}
|
|
1417
|
-
|
|
1418
|
-
message.count = longToNumber(reader.uint64());
|
|
1419
|
-
continue;
|
|
1420
1523
|
}
|
|
1524
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1525
|
+
break;
|
|
1526
|
+
}
|
|
1527
|
+
reader.skip(tag & 7);
|
|
1421
1528
|
}
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
reader.skip(tag & 7);
|
|
1529
|
+
return message;
|
|
1530
|
+
} finally {
|
|
1531
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1426
1532
|
}
|
|
1427
|
-
return message;
|
|
1428
1533
|
},
|
|
1429
1534
|
|
|
1430
1535
|
fromJSON(object: any): LogHistogramBucket {
|
|
@@ -1482,34 +1587,43 @@ export const StreamLogAttributesRequest: MessageFns<StreamLogAttributesRequest>
|
|
|
1482
1587
|
|
|
1483
1588
|
decode(input: BinaryReader | Uint8Array, length?: number): StreamLogAttributesRequest {
|
|
1484
1589
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1485
|
-
const
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1590
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
1591
|
+
if (previousRecursionDepth >= 100) {
|
|
1592
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1593
|
+
}
|
|
1594
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1595
|
+
try {
|
|
1596
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1597
|
+
const message = createBaseStreamLogAttributesRequest();
|
|
1598
|
+
while (reader.pos < end) {
|
|
1599
|
+
const tag = reader.uint32();
|
|
1600
|
+
switch (tag >>> 3) {
|
|
1601
|
+
case 1: {
|
|
1602
|
+
if (tag !== 10) {
|
|
1603
|
+
break;
|
|
1604
|
+
}
|
|
1605
|
+
|
|
1606
|
+
message.organizationId = reader.string();
|
|
1607
|
+
continue;
|
|
1493
1608
|
}
|
|
1609
|
+
case 2: {
|
|
1610
|
+
if (tag !== 18) {
|
|
1611
|
+
break;
|
|
1612
|
+
}
|
|
1494
1613
|
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
}
|
|
1498
|
-
case 2: {
|
|
1499
|
-
if (tag !== 18) {
|
|
1500
|
-
break;
|
|
1614
|
+
message.projectId = reader.string();
|
|
1615
|
+
continue;
|
|
1501
1616
|
}
|
|
1502
|
-
|
|
1503
|
-
message.projectId = reader.string();
|
|
1504
|
-
continue;
|
|
1505
1617
|
}
|
|
1618
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1619
|
+
break;
|
|
1620
|
+
}
|
|
1621
|
+
reader.skip(tag & 7);
|
|
1506
1622
|
}
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
reader.skip(tag & 7);
|
|
1623
|
+
return message;
|
|
1624
|
+
} finally {
|
|
1625
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1511
1626
|
}
|
|
1512
|
-
return message;
|
|
1513
1627
|
},
|
|
1514
1628
|
|
|
1515
1629
|
fromJSON(object: any): StreamLogAttributesRequest {
|
|
@@ -1566,34 +1680,43 @@ export const LogAttributeEnvelope: MessageFns<LogAttributeEnvelope> = {
|
|
|
1566
1680
|
|
|
1567
1681
|
decode(input: BinaryReader | Uint8Array, length?: number): LogAttributeEnvelope {
|
|
1568
1682
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1569
|
-
const
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1683
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
1684
|
+
if (previousRecursionDepth >= 100) {
|
|
1685
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1686
|
+
}
|
|
1687
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1688
|
+
try {
|
|
1689
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1690
|
+
const message = createBaseLogAttributeEnvelope();
|
|
1691
|
+
while (reader.pos < end) {
|
|
1692
|
+
const tag = reader.uint32();
|
|
1693
|
+
switch (tag >>> 3) {
|
|
1694
|
+
case 1: {
|
|
1695
|
+
if (tag !== 10) {
|
|
1696
|
+
break;
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
message.snapshot = LogAttributeSnapshot.decode(reader, reader.uint32());
|
|
1700
|
+
continue;
|
|
1577
1701
|
}
|
|
1702
|
+
case 2: {
|
|
1703
|
+
if (tag !== 18) {
|
|
1704
|
+
break;
|
|
1705
|
+
}
|
|
1578
1706
|
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
}
|
|
1582
|
-
case 2: {
|
|
1583
|
-
if (tag !== 18) {
|
|
1584
|
-
break;
|
|
1707
|
+
message.added = LogAttribute.decode(reader, reader.uint32());
|
|
1708
|
+
continue;
|
|
1585
1709
|
}
|
|
1586
|
-
|
|
1587
|
-
message.added = LogAttribute.decode(reader, reader.uint32());
|
|
1588
|
-
continue;
|
|
1589
1710
|
}
|
|
1711
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1712
|
+
break;
|
|
1713
|
+
}
|
|
1714
|
+
reader.skip(tag & 7);
|
|
1590
1715
|
}
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
reader.skip(tag & 7);
|
|
1716
|
+
return message;
|
|
1717
|
+
} finally {
|
|
1718
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1595
1719
|
}
|
|
1596
|
-
return message;
|
|
1597
1720
|
},
|
|
1598
1721
|
|
|
1599
1722
|
fromJSON(object: any): LogAttributeEnvelope {
|
|
@@ -1643,26 +1766,35 @@ export const LogAttributeSnapshot: MessageFns<LogAttributeSnapshot> = {
|
|
|
1643
1766
|
|
|
1644
1767
|
decode(input: BinaryReader | Uint8Array, length?: number): LogAttributeSnapshot {
|
|
1645
1768
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1646
|
-
const
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1769
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
1770
|
+
if (previousRecursionDepth >= 100) {
|
|
1771
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1772
|
+
}
|
|
1773
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1774
|
+
try {
|
|
1775
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1776
|
+
const message = createBaseLogAttributeSnapshot();
|
|
1777
|
+
while (reader.pos < end) {
|
|
1778
|
+
const tag = reader.uint32();
|
|
1779
|
+
switch (tag >>> 3) {
|
|
1780
|
+
case 1: {
|
|
1781
|
+
if (tag !== 10) {
|
|
1782
|
+
break;
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
message.attributes.push(LogAttribute.decode(reader, reader.uint32()));
|
|
1786
|
+
continue;
|
|
1654
1787
|
}
|
|
1655
|
-
|
|
1656
|
-
message.attributes.push(LogAttribute.decode(reader, reader.uint32()));
|
|
1657
|
-
continue;
|
|
1658
1788
|
}
|
|
1789
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1790
|
+
break;
|
|
1791
|
+
}
|
|
1792
|
+
reader.skip(tag & 7);
|
|
1659
1793
|
}
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
reader.skip(tag & 7);
|
|
1794
|
+
return message;
|
|
1795
|
+
} finally {
|
|
1796
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1664
1797
|
}
|
|
1665
|
-
return message;
|
|
1666
1798
|
},
|
|
1667
1799
|
|
|
1668
1800
|
fromJSON(object: any): LogAttributeSnapshot {
|
|
@@ -1708,34 +1840,43 @@ export const LogAttribute: MessageFns<LogAttribute> = {
|
|
|
1708
1840
|
|
|
1709
1841
|
decode(input: BinaryReader | Uint8Array, length?: number): LogAttribute {
|
|
1710
1842
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1711
|
-
const
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1843
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
1844
|
+
if (previousRecursionDepth >= 100) {
|
|
1845
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1846
|
+
}
|
|
1847
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1848
|
+
try {
|
|
1849
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1850
|
+
const message = createBaseLogAttribute();
|
|
1851
|
+
while (reader.pos < end) {
|
|
1852
|
+
const tag = reader.uint32();
|
|
1853
|
+
switch (tag >>> 3) {
|
|
1854
|
+
case 1: {
|
|
1855
|
+
if (tag !== 10) {
|
|
1856
|
+
break;
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1859
|
+
message.key = reader.string();
|
|
1860
|
+
continue;
|
|
1719
1861
|
}
|
|
1862
|
+
case 2: {
|
|
1863
|
+
if (tag !== 18) {
|
|
1864
|
+
break;
|
|
1865
|
+
}
|
|
1720
1866
|
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
}
|
|
1724
|
-
case 2: {
|
|
1725
|
-
if (tag !== 18) {
|
|
1726
|
-
break;
|
|
1867
|
+
message.values.push(reader.string());
|
|
1868
|
+
continue;
|
|
1727
1869
|
}
|
|
1728
|
-
|
|
1729
|
-
message.values.push(reader.string());
|
|
1730
|
-
continue;
|
|
1731
1870
|
}
|
|
1871
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1872
|
+
break;
|
|
1873
|
+
}
|
|
1874
|
+
reader.skip(tag & 7);
|
|
1732
1875
|
}
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
reader.skip(tag & 7);
|
|
1876
|
+
return message;
|
|
1877
|
+
} finally {
|
|
1878
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1737
1879
|
}
|
|
1738
|
-
return message;
|
|
1739
1880
|
},
|
|
1740
1881
|
|
|
1741
1882
|
fromJSON(object: any): LogAttribute {
|