@stanterprise/protobuf 0.0.19 → 0.0.21
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/dist/{chunk-IO237NIP.mjs → chunk-6LZLCU56.mjs} +21 -1
- package/dist/chunk-6LZLCU56.mjs.map +1 -0
- package/dist/{chunk-LT6VIEMZ.mjs → chunk-L6UHOMOP.mjs} +82 -2
- package/dist/chunk-L6UHOMOP.mjs.map +1 -0
- package/dist/{chunk-RZDGHCWW.mjs → chunk-LQLPOAWU.mjs} +2 -2
- package/dist/{chunk-4KEOGRTV.mjs → chunk-Q4ZGL32L.mjs} +2 -2
- package/dist/{chunk-S22XQJQE.mjs → chunk-WRPZRLMU.mjs} +2 -2
- package/dist/{chunk-VKI55KY6.mjs → chunk-X3JXEIL7.mjs} +4 -4
- package/dist/{chunk-YFUPSN57.mjs → chunk-XWJCF6BO.mjs} +2 -2
- package/dist/index.js +100 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/lib/testsystem/v1/entities/test_case.d.ts +5 -0
- package/dist/lib/testsystem/v1/entities/test_case.d.ts.map +1 -1
- package/dist/lib/testsystem/v1/events/events.d.ts +20 -0
- package/dist/lib/testsystem/v1/events/events.d.ts.map +1 -1
- package/dist/testsystem/index.js +100 -0
- package/dist/testsystem/index.js.map +1 -1
- package/dist/testsystem/index.mjs +7 -7
- package/dist/testsystem/v1/entities/index.js +20 -0
- package/dist/testsystem/v1/entities/index.js.map +1 -1
- package/dist/testsystem/v1/entities/index.mjs +2 -2
- package/dist/testsystem/v1/events/index.js +100 -0
- package/dist/testsystem/v1/events/index.js.map +1 -1
- package/dist/testsystem/v1/events/index.mjs +3 -3
- package/dist/testsystem/v1/index.js +100 -0
- package/dist/testsystem/v1/index.js.map +1 -1
- package/dist/testsystem/v1/index.mjs +7 -7
- package/dist/testsystem/v1/observer/index.js +100 -0
- package/dist/testsystem/v1/observer/index.js.map +1 -1
- package/dist/testsystem/v1/observer/index.mjs +4 -4
- package/lib/testsystem/v1/entities/test_case.ts +23 -0
- package/lib/testsystem/v1/events/events.ts +92 -0
- package/package.json +1 -1
- package/dist/chunk-IO237NIP.mjs.map +0 -1
- package/dist/chunk-LT6VIEMZ.mjs.map +0 -1
- /package/dist/{chunk-RZDGHCWW.mjs.map → chunk-LQLPOAWU.mjs.map} +0 -0
- /package/dist/{chunk-4KEOGRTV.mjs.map → chunk-Q4ZGL32L.mjs.map} +0 -0
- /package/dist/{chunk-S22XQJQE.mjs.map → chunk-WRPZRLMU.mjs.map} +0 -0
- /package/dist/{chunk-VKI55KY6.mjs.map → chunk-X3JXEIL7.mjs.map} +0 -0
- /package/dist/{chunk-YFUPSN57.mjs.map → chunk-XWJCF6BO.mjs.map} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AckResponse,
|
|
3
3
|
TestEventCollectorClient
|
|
4
|
-
} from "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
4
|
+
} from "../../../chunk-WRPZRLMU.mjs";
|
|
5
|
+
import "../../../chunk-Q4ZGL32L.mjs";
|
|
6
|
+
import "../../../chunk-L6UHOMOP.mjs";
|
|
7
|
+
import "../../../chunk-6LZLCU56.mjs";
|
|
8
8
|
import "../../../chunk-YUDCZY2W.mjs";
|
|
9
9
|
export {
|
|
10
10
|
AckResponse,
|
|
@@ -527,6 +527,7 @@ export namespace testsystem.v1.entities {
|
|
|
527
527
|
errors?: string[];
|
|
528
528
|
location?: string;
|
|
529
529
|
category?: string;
|
|
530
|
+
retry_index?: number;
|
|
530
531
|
}) {
|
|
531
532
|
super();
|
|
532
533
|
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [14], this.#one_of_decls);
|
|
@@ -579,6 +580,9 @@ export namespace testsystem.v1.entities {
|
|
|
579
580
|
if ("category" in data && data.category != undefined) {
|
|
580
581
|
this.category = data.category;
|
|
581
582
|
}
|
|
583
|
+
if ("retry_index" in data && data.retry_index != undefined) {
|
|
584
|
+
this.retry_index = data.retry_index;
|
|
585
|
+
}
|
|
582
586
|
}
|
|
583
587
|
if (!this.metadata)
|
|
584
588
|
this.metadata = new Map();
|
|
@@ -685,6 +689,12 @@ export namespace testsystem.v1.entities {
|
|
|
685
689
|
set category(value: string) {
|
|
686
690
|
pb_1.Message.setField(this, 16, value);
|
|
687
691
|
}
|
|
692
|
+
get retry_index() {
|
|
693
|
+
return pb_1.Message.getFieldWithDefault(this, 17, 0) as number;
|
|
694
|
+
}
|
|
695
|
+
set retry_index(value: number) {
|
|
696
|
+
pb_1.Message.setField(this, 17, value);
|
|
697
|
+
}
|
|
688
698
|
static fromObject(data: {
|
|
689
699
|
id?: string;
|
|
690
700
|
run_id?: string;
|
|
@@ -704,6 +714,7 @@ export namespace testsystem.v1.entities {
|
|
|
704
714
|
errors?: string[];
|
|
705
715
|
location?: string;
|
|
706
716
|
category?: string;
|
|
717
|
+
retry_index?: number;
|
|
707
718
|
}): StepRun {
|
|
708
719
|
const message = new StepRun({});
|
|
709
720
|
if (data.id != null) {
|
|
@@ -754,6 +765,9 @@ export namespace testsystem.v1.entities {
|
|
|
754
765
|
if (data.category != null) {
|
|
755
766
|
message.category = data.category;
|
|
756
767
|
}
|
|
768
|
+
if (data.retry_index != null) {
|
|
769
|
+
message.retry_index = data.retry_index;
|
|
770
|
+
}
|
|
757
771
|
return message;
|
|
758
772
|
}
|
|
759
773
|
toObject() {
|
|
@@ -776,6 +790,7 @@ export namespace testsystem.v1.entities {
|
|
|
776
790
|
errors?: string[];
|
|
777
791
|
location?: string;
|
|
778
792
|
category?: string;
|
|
793
|
+
retry_index?: number;
|
|
779
794
|
} = {};
|
|
780
795
|
if (this.id != null) {
|
|
781
796
|
data.id = this.id;
|
|
@@ -825,6 +840,9 @@ export namespace testsystem.v1.entities {
|
|
|
825
840
|
if (this.category != null) {
|
|
826
841
|
data.category = this.category;
|
|
827
842
|
}
|
|
843
|
+
if (this.retry_index != null) {
|
|
844
|
+
data.retry_index = this.retry_index;
|
|
845
|
+
}
|
|
828
846
|
return data;
|
|
829
847
|
}
|
|
830
848
|
serialize(): Uint8Array;
|
|
@@ -867,6 +885,8 @@ export namespace testsystem.v1.entities {
|
|
|
867
885
|
writer.writeString(15, this.location);
|
|
868
886
|
if (this.category.length)
|
|
869
887
|
writer.writeString(16, this.category);
|
|
888
|
+
if (this.retry_index != 0)
|
|
889
|
+
writer.writeInt32(17, this.retry_index);
|
|
870
890
|
if (!w)
|
|
871
891
|
return writer.getResultBuffer();
|
|
872
892
|
}
|
|
@@ -924,6 +944,9 @@ export namespace testsystem.v1.entities {
|
|
|
924
944
|
case 16:
|
|
925
945
|
message.category = reader.readString();
|
|
926
946
|
break;
|
|
947
|
+
case 17:
|
|
948
|
+
message.retry_index = reader.readInt32();
|
|
949
|
+
break;
|
|
927
950
|
default: reader.skipField();
|
|
928
951
|
}
|
|
929
952
|
}
|
|
@@ -299,6 +299,7 @@ export namespace testsystem.v1.events {
|
|
|
299
299
|
timestamp?: dependency_1.google.protobuf.Timestamp;
|
|
300
300
|
attachments?: dependency_2.testsystem.v1.common.Attachment[];
|
|
301
301
|
run_id?: string;
|
|
302
|
+
retry_index?: number;
|
|
302
303
|
}) {
|
|
303
304
|
super();
|
|
304
305
|
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [5], this.#one_of_decls);
|
|
@@ -321,6 +322,9 @@ export namespace testsystem.v1.events {
|
|
|
321
322
|
if ("run_id" in data && data.run_id != undefined) {
|
|
322
323
|
this.run_id = data.run_id;
|
|
323
324
|
}
|
|
325
|
+
if ("retry_index" in data && data.retry_index != undefined) {
|
|
326
|
+
this.retry_index = data.retry_index;
|
|
327
|
+
}
|
|
324
328
|
}
|
|
325
329
|
}
|
|
326
330
|
get test_id() {
|
|
@@ -362,6 +366,12 @@ export namespace testsystem.v1.events {
|
|
|
362
366
|
set run_id(value: string) {
|
|
363
367
|
pb_1.Message.setField(this, 6, value);
|
|
364
368
|
}
|
|
369
|
+
get retry_index() {
|
|
370
|
+
return pb_1.Message.getFieldWithDefault(this, 7, 0) as number;
|
|
371
|
+
}
|
|
372
|
+
set retry_index(value: number) {
|
|
373
|
+
pb_1.Message.setField(this, 7, value);
|
|
374
|
+
}
|
|
365
375
|
static fromObject(data: {
|
|
366
376
|
test_id?: string;
|
|
367
377
|
failure_message?: string;
|
|
@@ -369,6 +379,7 @@ export namespace testsystem.v1.events {
|
|
|
369
379
|
timestamp?: ReturnType<typeof dependency_1.google.protobuf.Timestamp.prototype.toObject>;
|
|
370
380
|
attachments?: ReturnType<typeof dependency_2.testsystem.v1.common.Attachment.prototype.toObject>[];
|
|
371
381
|
run_id?: string;
|
|
382
|
+
retry_index?: number;
|
|
372
383
|
}): TestFailureEventRequest {
|
|
373
384
|
const message = new TestFailureEventRequest({});
|
|
374
385
|
if (data.test_id != null) {
|
|
@@ -389,6 +400,9 @@ export namespace testsystem.v1.events {
|
|
|
389
400
|
if (data.run_id != null) {
|
|
390
401
|
message.run_id = data.run_id;
|
|
391
402
|
}
|
|
403
|
+
if (data.retry_index != null) {
|
|
404
|
+
message.retry_index = data.retry_index;
|
|
405
|
+
}
|
|
392
406
|
return message;
|
|
393
407
|
}
|
|
394
408
|
toObject() {
|
|
@@ -399,6 +413,7 @@ export namespace testsystem.v1.events {
|
|
|
399
413
|
timestamp?: ReturnType<typeof dependency_1.google.protobuf.Timestamp.prototype.toObject>;
|
|
400
414
|
attachments?: ReturnType<typeof dependency_2.testsystem.v1.common.Attachment.prototype.toObject>[];
|
|
401
415
|
run_id?: string;
|
|
416
|
+
retry_index?: number;
|
|
402
417
|
} = {};
|
|
403
418
|
if (this.test_id != null) {
|
|
404
419
|
data.test_id = this.test_id;
|
|
@@ -418,6 +433,9 @@ export namespace testsystem.v1.events {
|
|
|
418
433
|
if (this.run_id != null) {
|
|
419
434
|
data.run_id = this.run_id;
|
|
420
435
|
}
|
|
436
|
+
if (this.retry_index != null) {
|
|
437
|
+
data.retry_index = this.retry_index;
|
|
438
|
+
}
|
|
421
439
|
return data;
|
|
422
440
|
}
|
|
423
441
|
serialize(): Uint8Array;
|
|
@@ -436,6 +454,8 @@ export namespace testsystem.v1.events {
|
|
|
436
454
|
writer.writeRepeatedMessage(5, this.attachments, (item: dependency_2.testsystem.v1.common.Attachment) => item.serialize(writer));
|
|
437
455
|
if (this.run_id.length)
|
|
438
456
|
writer.writeString(6, this.run_id);
|
|
457
|
+
if (this.retry_index != 0)
|
|
458
|
+
writer.writeInt32(7, this.retry_index);
|
|
439
459
|
if (!w)
|
|
440
460
|
return writer.getResultBuffer();
|
|
441
461
|
}
|
|
@@ -463,6 +483,9 @@ export namespace testsystem.v1.events {
|
|
|
463
483
|
case 6:
|
|
464
484
|
message.run_id = reader.readString();
|
|
465
485
|
break;
|
|
486
|
+
case 7:
|
|
487
|
+
message.retry_index = reader.readInt32();
|
|
488
|
+
break;
|
|
466
489
|
default: reader.skipField();
|
|
467
490
|
}
|
|
468
491
|
}
|
|
@@ -484,6 +507,7 @@ export namespace testsystem.v1.events {
|
|
|
484
507
|
timestamp?: dependency_1.google.protobuf.Timestamp;
|
|
485
508
|
attachments?: dependency_2.testsystem.v1.common.Attachment[];
|
|
486
509
|
run_id?: string;
|
|
510
|
+
retry_index?: number;
|
|
487
511
|
}) {
|
|
488
512
|
super();
|
|
489
513
|
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [5], this.#one_of_decls);
|
|
@@ -506,6 +530,9 @@ export namespace testsystem.v1.events {
|
|
|
506
530
|
if ("run_id" in data && data.run_id != undefined) {
|
|
507
531
|
this.run_id = data.run_id;
|
|
508
532
|
}
|
|
533
|
+
if ("retry_index" in data && data.retry_index != undefined) {
|
|
534
|
+
this.retry_index = data.retry_index;
|
|
535
|
+
}
|
|
509
536
|
}
|
|
510
537
|
}
|
|
511
538
|
get test_id() {
|
|
@@ -547,6 +574,12 @@ export namespace testsystem.v1.events {
|
|
|
547
574
|
set run_id(value: string) {
|
|
548
575
|
pb_1.Message.setField(this, 6, value);
|
|
549
576
|
}
|
|
577
|
+
get retry_index() {
|
|
578
|
+
return pb_1.Message.getFieldWithDefault(this, 7, 0) as number;
|
|
579
|
+
}
|
|
580
|
+
set retry_index(value: number) {
|
|
581
|
+
pb_1.Message.setField(this, 7, value);
|
|
582
|
+
}
|
|
550
583
|
static fromObject(data: {
|
|
551
584
|
test_id?: string;
|
|
552
585
|
error_message?: string;
|
|
@@ -554,6 +587,7 @@ export namespace testsystem.v1.events {
|
|
|
554
587
|
timestamp?: ReturnType<typeof dependency_1.google.protobuf.Timestamp.prototype.toObject>;
|
|
555
588
|
attachments?: ReturnType<typeof dependency_2.testsystem.v1.common.Attachment.prototype.toObject>[];
|
|
556
589
|
run_id?: string;
|
|
590
|
+
retry_index?: number;
|
|
557
591
|
}): TestErrorEventRequest {
|
|
558
592
|
const message = new TestErrorEventRequest({});
|
|
559
593
|
if (data.test_id != null) {
|
|
@@ -574,6 +608,9 @@ export namespace testsystem.v1.events {
|
|
|
574
608
|
if (data.run_id != null) {
|
|
575
609
|
message.run_id = data.run_id;
|
|
576
610
|
}
|
|
611
|
+
if (data.retry_index != null) {
|
|
612
|
+
message.retry_index = data.retry_index;
|
|
613
|
+
}
|
|
577
614
|
return message;
|
|
578
615
|
}
|
|
579
616
|
toObject() {
|
|
@@ -584,6 +621,7 @@ export namespace testsystem.v1.events {
|
|
|
584
621
|
timestamp?: ReturnType<typeof dependency_1.google.protobuf.Timestamp.prototype.toObject>;
|
|
585
622
|
attachments?: ReturnType<typeof dependency_2.testsystem.v1.common.Attachment.prototype.toObject>[];
|
|
586
623
|
run_id?: string;
|
|
624
|
+
retry_index?: number;
|
|
587
625
|
} = {};
|
|
588
626
|
if (this.test_id != null) {
|
|
589
627
|
data.test_id = this.test_id;
|
|
@@ -603,6 +641,9 @@ export namespace testsystem.v1.events {
|
|
|
603
641
|
if (this.run_id != null) {
|
|
604
642
|
data.run_id = this.run_id;
|
|
605
643
|
}
|
|
644
|
+
if (this.retry_index != null) {
|
|
645
|
+
data.retry_index = this.retry_index;
|
|
646
|
+
}
|
|
606
647
|
return data;
|
|
607
648
|
}
|
|
608
649
|
serialize(): Uint8Array;
|
|
@@ -621,6 +662,8 @@ export namespace testsystem.v1.events {
|
|
|
621
662
|
writer.writeRepeatedMessage(5, this.attachments, (item: dependency_2.testsystem.v1.common.Attachment) => item.serialize(writer));
|
|
622
663
|
if (this.run_id.length)
|
|
623
664
|
writer.writeString(6, this.run_id);
|
|
665
|
+
if (this.retry_index != 0)
|
|
666
|
+
writer.writeInt32(7, this.retry_index);
|
|
624
667
|
if (!w)
|
|
625
668
|
return writer.getResultBuffer();
|
|
626
669
|
}
|
|
@@ -648,6 +691,9 @@ export namespace testsystem.v1.events {
|
|
|
648
691
|
case 6:
|
|
649
692
|
message.run_id = reader.readString();
|
|
650
693
|
break;
|
|
694
|
+
case 7:
|
|
695
|
+
message.retry_index = reader.readInt32();
|
|
696
|
+
break;
|
|
651
697
|
default: reader.skipField();
|
|
652
698
|
}
|
|
653
699
|
}
|
|
@@ -668,6 +714,7 @@ export namespace testsystem.v1.events {
|
|
|
668
714
|
timestamp?: dependency_1.google.protobuf.Timestamp;
|
|
669
715
|
test_case_run_id?: string;
|
|
670
716
|
run_id?: string;
|
|
717
|
+
retry_index?: number;
|
|
671
718
|
}) {
|
|
672
719
|
super();
|
|
673
720
|
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
@@ -687,6 +734,9 @@ export namespace testsystem.v1.events {
|
|
|
687
734
|
if ("run_id" in data && data.run_id != undefined) {
|
|
688
735
|
this.run_id = data.run_id;
|
|
689
736
|
}
|
|
737
|
+
if ("retry_index" in data && data.retry_index != undefined) {
|
|
738
|
+
this.retry_index = data.retry_index;
|
|
739
|
+
}
|
|
690
740
|
}
|
|
691
741
|
}
|
|
692
742
|
get test_id() {
|
|
@@ -722,12 +772,19 @@ export namespace testsystem.v1.events {
|
|
|
722
772
|
set run_id(value: string) {
|
|
723
773
|
pb_1.Message.setField(this, 5, value);
|
|
724
774
|
}
|
|
775
|
+
get retry_index() {
|
|
776
|
+
return pb_1.Message.getFieldWithDefault(this, 6, 0) as number;
|
|
777
|
+
}
|
|
778
|
+
set retry_index(value: number) {
|
|
779
|
+
pb_1.Message.setField(this, 6, value);
|
|
780
|
+
}
|
|
725
781
|
static fromObject(data: {
|
|
726
782
|
test_id?: string;
|
|
727
783
|
message?: string;
|
|
728
784
|
timestamp?: ReturnType<typeof dependency_1.google.protobuf.Timestamp.prototype.toObject>;
|
|
729
785
|
test_case_run_id?: string;
|
|
730
786
|
run_id?: string;
|
|
787
|
+
retry_index?: number;
|
|
731
788
|
}): StdErrorEventRequest {
|
|
732
789
|
const message = new StdErrorEventRequest({});
|
|
733
790
|
if (data.test_id != null) {
|
|
@@ -745,6 +802,9 @@ export namespace testsystem.v1.events {
|
|
|
745
802
|
if (data.run_id != null) {
|
|
746
803
|
message.run_id = data.run_id;
|
|
747
804
|
}
|
|
805
|
+
if (data.retry_index != null) {
|
|
806
|
+
message.retry_index = data.retry_index;
|
|
807
|
+
}
|
|
748
808
|
return message;
|
|
749
809
|
}
|
|
750
810
|
toObject() {
|
|
@@ -754,6 +814,7 @@ export namespace testsystem.v1.events {
|
|
|
754
814
|
timestamp?: ReturnType<typeof dependency_1.google.protobuf.Timestamp.prototype.toObject>;
|
|
755
815
|
test_case_run_id?: string;
|
|
756
816
|
run_id?: string;
|
|
817
|
+
retry_index?: number;
|
|
757
818
|
} = {};
|
|
758
819
|
if (this.test_id != null) {
|
|
759
820
|
data.test_id = this.test_id;
|
|
@@ -770,6 +831,9 @@ export namespace testsystem.v1.events {
|
|
|
770
831
|
if (this.run_id != null) {
|
|
771
832
|
data.run_id = this.run_id;
|
|
772
833
|
}
|
|
834
|
+
if (this.retry_index != null) {
|
|
835
|
+
data.retry_index = this.retry_index;
|
|
836
|
+
}
|
|
773
837
|
return data;
|
|
774
838
|
}
|
|
775
839
|
serialize(): Uint8Array;
|
|
@@ -786,6 +850,8 @@ export namespace testsystem.v1.events {
|
|
|
786
850
|
writer.writeString(4, this.test_case_run_id);
|
|
787
851
|
if (this.run_id.length)
|
|
788
852
|
writer.writeString(5, this.run_id);
|
|
853
|
+
if (this.retry_index != 0)
|
|
854
|
+
writer.writeInt32(6, this.retry_index);
|
|
789
855
|
if (!w)
|
|
790
856
|
return writer.getResultBuffer();
|
|
791
857
|
}
|
|
@@ -810,6 +876,9 @@ export namespace testsystem.v1.events {
|
|
|
810
876
|
case 5:
|
|
811
877
|
message.run_id = reader.readString();
|
|
812
878
|
break;
|
|
879
|
+
case 6:
|
|
880
|
+
message.retry_index = reader.readInt32();
|
|
881
|
+
break;
|
|
813
882
|
default: reader.skipField();
|
|
814
883
|
}
|
|
815
884
|
}
|
|
@@ -830,6 +899,7 @@ export namespace testsystem.v1.events {
|
|
|
830
899
|
timestamp?: dependency_1.google.protobuf.Timestamp;
|
|
831
900
|
test_case_run_id?: string;
|
|
832
901
|
run_id?: string;
|
|
902
|
+
retry_index?: number;
|
|
833
903
|
}) {
|
|
834
904
|
super();
|
|
835
905
|
pb_1.Message.initialize(this, Array.isArray(data) ? data : [], 0, -1, [], this.#one_of_decls);
|
|
@@ -849,6 +919,9 @@ export namespace testsystem.v1.events {
|
|
|
849
919
|
if ("run_id" in data && data.run_id != undefined) {
|
|
850
920
|
this.run_id = data.run_id;
|
|
851
921
|
}
|
|
922
|
+
if ("retry_index" in data && data.retry_index != undefined) {
|
|
923
|
+
this.retry_index = data.retry_index;
|
|
924
|
+
}
|
|
852
925
|
}
|
|
853
926
|
}
|
|
854
927
|
get test_id() {
|
|
@@ -884,12 +957,19 @@ export namespace testsystem.v1.events {
|
|
|
884
957
|
set run_id(value: string) {
|
|
885
958
|
pb_1.Message.setField(this, 5, value);
|
|
886
959
|
}
|
|
960
|
+
get retry_index() {
|
|
961
|
+
return pb_1.Message.getFieldWithDefault(this, 6, 0) as number;
|
|
962
|
+
}
|
|
963
|
+
set retry_index(value: number) {
|
|
964
|
+
pb_1.Message.setField(this, 6, value);
|
|
965
|
+
}
|
|
887
966
|
static fromObject(data: {
|
|
888
967
|
test_id?: string;
|
|
889
968
|
message?: string;
|
|
890
969
|
timestamp?: ReturnType<typeof dependency_1.google.protobuf.Timestamp.prototype.toObject>;
|
|
891
970
|
test_case_run_id?: string;
|
|
892
971
|
run_id?: string;
|
|
972
|
+
retry_index?: number;
|
|
893
973
|
}): StdOutputEventRequest {
|
|
894
974
|
const message = new StdOutputEventRequest({});
|
|
895
975
|
if (data.test_id != null) {
|
|
@@ -907,6 +987,9 @@ export namespace testsystem.v1.events {
|
|
|
907
987
|
if (data.run_id != null) {
|
|
908
988
|
message.run_id = data.run_id;
|
|
909
989
|
}
|
|
990
|
+
if (data.retry_index != null) {
|
|
991
|
+
message.retry_index = data.retry_index;
|
|
992
|
+
}
|
|
910
993
|
return message;
|
|
911
994
|
}
|
|
912
995
|
toObject() {
|
|
@@ -916,6 +999,7 @@ export namespace testsystem.v1.events {
|
|
|
916
999
|
timestamp?: ReturnType<typeof dependency_1.google.protobuf.Timestamp.prototype.toObject>;
|
|
917
1000
|
test_case_run_id?: string;
|
|
918
1001
|
run_id?: string;
|
|
1002
|
+
retry_index?: number;
|
|
919
1003
|
} = {};
|
|
920
1004
|
if (this.test_id != null) {
|
|
921
1005
|
data.test_id = this.test_id;
|
|
@@ -932,6 +1016,9 @@ export namespace testsystem.v1.events {
|
|
|
932
1016
|
if (this.run_id != null) {
|
|
933
1017
|
data.run_id = this.run_id;
|
|
934
1018
|
}
|
|
1019
|
+
if (this.retry_index != null) {
|
|
1020
|
+
data.retry_index = this.retry_index;
|
|
1021
|
+
}
|
|
935
1022
|
return data;
|
|
936
1023
|
}
|
|
937
1024
|
serialize(): Uint8Array;
|
|
@@ -948,6 +1035,8 @@ export namespace testsystem.v1.events {
|
|
|
948
1035
|
writer.writeString(4, this.test_case_run_id);
|
|
949
1036
|
if (this.run_id.length)
|
|
950
1037
|
writer.writeString(5, this.run_id);
|
|
1038
|
+
if (this.retry_index != 0)
|
|
1039
|
+
writer.writeInt32(6, this.retry_index);
|
|
951
1040
|
if (!w)
|
|
952
1041
|
return writer.getResultBuffer();
|
|
953
1042
|
}
|
|
@@ -972,6 +1061,9 @@ export namespace testsystem.v1.events {
|
|
|
972
1061
|
case 5:
|
|
973
1062
|
message.run_id = reader.readString();
|
|
974
1063
|
break;
|
|
1064
|
+
case 6:
|
|
1065
|
+
message.retry_index = reader.readInt32();
|
|
1066
|
+
break;
|
|
975
1067
|
default: reader.skipField();
|
|
976
1068
|
}
|
|
977
1069
|
}
|