@jibb-open/jssdk 3.18.1 → 3.18.2
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/package.json +1 -1
- package/types/jibb.pb.js +600 -1567
package/types/jibb.pb.js
CHANGED
|
@@ -59,20 +59,14 @@ export const types = $root.types = (() => {
|
|
|
59
59
|
var t = r.uint32();
|
|
60
60
|
switch (t >>> 3) {
|
|
61
61
|
case 1:
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
break;
|
|
65
|
-
}
|
|
62
|
+
m.level = r.int32();
|
|
63
|
+
break;
|
|
66
64
|
case 2:
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
break;
|
|
70
|
-
}
|
|
65
|
+
m.code = r.int32();
|
|
66
|
+
break;
|
|
71
67
|
case 3:
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
break;
|
|
75
|
-
}
|
|
68
|
+
m.reason = r.string();
|
|
69
|
+
break;
|
|
76
70
|
default:
|
|
77
71
|
r.skipType(t & 7);
|
|
78
72
|
break;
|
|
@@ -123,12 +117,6 @@ export const types = $root.types = (() => {
|
|
|
123
117
|
if (d instanceof $root.types.Error) return d;
|
|
124
118
|
var m = new $root.types.Error();
|
|
125
119
|
switch (d.level) {
|
|
126
|
-
default:
|
|
127
|
-
if (typeof d.level === "number") {
|
|
128
|
-
m.level = d.level;
|
|
129
|
-
break;
|
|
130
|
-
}
|
|
131
|
-
break;
|
|
132
120
|
case "DEBUG":
|
|
133
121
|
case 0:
|
|
134
122
|
m.level = 0;
|
|
@@ -151,12 +139,6 @@ export const types = $root.types = (() => {
|
|
|
151
139
|
break;
|
|
152
140
|
}
|
|
153
141
|
switch (d.code) {
|
|
154
|
-
default:
|
|
155
|
-
if (typeof d.code === "number") {
|
|
156
|
-
m.code = d.code;
|
|
157
|
-
break;
|
|
158
|
-
}
|
|
159
|
-
break;
|
|
160
142
|
case "SUCCESS":
|
|
161
143
|
case 0:
|
|
162
144
|
m.code = 0;
|
|
@@ -208,10 +190,10 @@ export const types = $root.types = (() => {
|
|
|
208
190
|
d.reason = "";
|
|
209
191
|
}
|
|
210
192
|
if (m.level != null && m.hasOwnProperty("level")) {
|
|
211
|
-
d.level = o.enums === String ? $root.types.ErrorLevel[m.level]
|
|
193
|
+
d.level = o.enums === String ? $root.types.ErrorLevel[m.level] : m.level;
|
|
212
194
|
}
|
|
213
195
|
if (m.code != null && m.hasOwnProperty("code")) {
|
|
214
|
-
d.code = o.enums === String ? $root.types.Code[m.code]
|
|
196
|
+
d.code = o.enums === String ? $root.types.Code[m.code] : m.code;
|
|
215
197
|
}
|
|
216
198
|
if (m.reason != null && m.hasOwnProperty("reason")) {
|
|
217
199
|
d.reason = m.reason;
|
|
@@ -221,12 +203,6 @@ export const types = $root.types = (() => {
|
|
|
221
203
|
Error.prototype.toJSON = function toJSON() {
|
|
222
204
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
223
205
|
};
|
|
224
|
-
Error.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
225
|
-
if (typeUrlPrefix === undefined) {
|
|
226
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
227
|
-
}
|
|
228
|
-
return typeUrlPrefix + "/types.Error";
|
|
229
|
-
};
|
|
230
206
|
return Error;
|
|
231
207
|
}();
|
|
232
208
|
types.TriState = function () {
|
|
@@ -288,20 +264,14 @@ export const types = $root.types = (() => {
|
|
|
288
264
|
var t = r.uint32();
|
|
289
265
|
switch (t >>> 3) {
|
|
290
266
|
case 1:
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
break;
|
|
294
|
-
}
|
|
267
|
+
m.clientType = r.int32();
|
|
268
|
+
break;
|
|
295
269
|
case 2:
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
break;
|
|
299
|
-
}
|
|
270
|
+
m.id = r.string();
|
|
271
|
+
break;
|
|
300
272
|
case 3:
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
break;
|
|
304
|
-
}
|
|
273
|
+
m.name = r.string();
|
|
274
|
+
break;
|
|
305
275
|
default:
|
|
306
276
|
r.skipType(t & 7);
|
|
307
277
|
break;
|
|
@@ -344,12 +314,6 @@ export const types = $root.types = (() => {
|
|
|
344
314
|
if (d instanceof $root.types.ClientDetails) return d;
|
|
345
315
|
var m = new $root.types.ClientDetails();
|
|
346
316
|
switch (d.clientType) {
|
|
347
|
-
default:
|
|
348
|
-
if (typeof d.clientType === "number") {
|
|
349
|
-
m.clientType = d.clientType;
|
|
350
|
-
break;
|
|
351
|
-
}
|
|
352
|
-
break;
|
|
353
317
|
case "UNKNOWN_CLIENT_TYPE":
|
|
354
318
|
case 0:
|
|
355
319
|
m.clientType = 0;
|
|
@@ -408,7 +372,7 @@ export const types = $root.types = (() => {
|
|
|
408
372
|
d.name = "";
|
|
409
373
|
}
|
|
410
374
|
if (m.clientType != null && m.hasOwnProperty("clientType")) {
|
|
411
|
-
d.clientType = o.enums === String ? $root.types.ClientType[m.clientType]
|
|
375
|
+
d.clientType = o.enums === String ? $root.types.ClientType[m.clientType] : m.clientType;
|
|
412
376
|
}
|
|
413
377
|
if (m.id != null && m.hasOwnProperty("id")) {
|
|
414
378
|
d.id = m.id;
|
|
@@ -421,12 +385,6 @@ export const types = $root.types = (() => {
|
|
|
421
385
|
ClientDetails.prototype.toJSON = function toJSON() {
|
|
422
386
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
423
387
|
};
|
|
424
|
-
ClientDetails.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
425
|
-
if (typeUrlPrefix === undefined) {
|
|
426
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
427
|
-
}
|
|
428
|
-
return typeUrlPrefix + "/types.ClientDetails";
|
|
429
|
-
};
|
|
430
388
|
return ClientDetails;
|
|
431
389
|
}();
|
|
432
390
|
types.ContentType = function () {
|
|
@@ -518,40 +476,26 @@ export const jibb = $root.jibb = (() => {
|
|
|
518
476
|
var t = r.uint32();
|
|
519
477
|
switch (t >>> 3) {
|
|
520
478
|
case 1:
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
break;
|
|
524
|
-
}
|
|
479
|
+
m.surfaceType = r.int32();
|
|
480
|
+
break;
|
|
525
481
|
case 3:
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
break;
|
|
529
|
-
}
|
|
482
|
+
m.enableStabilization = r.int32();
|
|
483
|
+
break;
|
|
530
484
|
case 4:
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
break;
|
|
534
|
-
}
|
|
485
|
+
m.enableTransformation = r.int32();
|
|
486
|
+
break;
|
|
535
487
|
case 5:
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
break;
|
|
539
|
-
}
|
|
488
|
+
m.userId = r.string();
|
|
489
|
+
break;
|
|
540
490
|
case 7:
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
break;
|
|
544
|
-
}
|
|
491
|
+
m.mbusTopicStatus = r.string();
|
|
492
|
+
break;
|
|
545
493
|
case 8:
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
break;
|
|
549
|
-
}
|
|
494
|
+
m.mbusTopicImage = r.string();
|
|
495
|
+
break;
|
|
550
496
|
case 10:
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
break;
|
|
554
|
-
}
|
|
497
|
+
m.encoding = r.int32();
|
|
498
|
+
break;
|
|
555
499
|
default:
|
|
556
500
|
r.skipType(t & 7);
|
|
557
501
|
break;
|
|
@@ -621,12 +565,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
621
565
|
if (d instanceof $root.jibb.ipsa.v1.Config) return d;
|
|
622
566
|
var m = new $root.jibb.ipsa.v1.Config();
|
|
623
567
|
switch (d.surfaceType) {
|
|
624
|
-
default:
|
|
625
|
-
if (typeof d.surfaceType === "number") {
|
|
626
|
-
m.surfaceType = d.surfaceType;
|
|
627
|
-
break;
|
|
628
|
-
}
|
|
629
|
-
break;
|
|
630
568
|
case "UNKNOWN":
|
|
631
569
|
case 0:
|
|
632
570
|
m.surfaceType = 0;
|
|
@@ -641,12 +579,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
641
579
|
break;
|
|
642
580
|
}
|
|
643
581
|
switch (d.enableStabilization) {
|
|
644
|
-
default:
|
|
645
|
-
if (typeof d.enableStabilization === "number") {
|
|
646
|
-
m.enableStabilization = d.enableStabilization;
|
|
647
|
-
break;
|
|
648
|
-
}
|
|
649
|
-
break;
|
|
650
582
|
case "DEFAULT":
|
|
651
583
|
case 0:
|
|
652
584
|
m.enableStabilization = 0;
|
|
@@ -661,12 +593,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
661
593
|
break;
|
|
662
594
|
}
|
|
663
595
|
switch (d.enableTransformation) {
|
|
664
|
-
default:
|
|
665
|
-
if (typeof d.enableTransformation === "number") {
|
|
666
|
-
m.enableTransformation = d.enableTransformation;
|
|
667
|
-
break;
|
|
668
|
-
}
|
|
669
|
-
break;
|
|
670
596
|
case "DEFAULT":
|
|
671
597
|
case 0:
|
|
672
598
|
m.enableTransformation = 0;
|
|
@@ -690,12 +616,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
690
616
|
m.mbusTopicImage = String(d.mbusTopicImage);
|
|
691
617
|
}
|
|
692
618
|
switch (d.encoding) {
|
|
693
|
-
default:
|
|
694
|
-
if (typeof d.encoding === "number") {
|
|
695
|
-
m.encoding = d.encoding;
|
|
696
|
-
break;
|
|
697
|
-
}
|
|
698
|
-
break;
|
|
699
619
|
case "JPEG":
|
|
700
620
|
case 0:
|
|
701
621
|
m.encoding = 0;
|
|
@@ -728,13 +648,13 @@ export const jibb = $root.jibb = (() => {
|
|
|
728
648
|
d.encoding = o.enums === String ? "JPEG" : 0;
|
|
729
649
|
}
|
|
730
650
|
if (m.surfaceType != null && m.hasOwnProperty("surfaceType")) {
|
|
731
|
-
d.surfaceType = o.enums === String ? $root.types.SurfaceType[m.surfaceType]
|
|
651
|
+
d.surfaceType = o.enums === String ? $root.types.SurfaceType[m.surfaceType] : m.surfaceType;
|
|
732
652
|
}
|
|
733
653
|
if (m.enableStabilization != null && m.hasOwnProperty("enableStabilization")) {
|
|
734
|
-
d.enableStabilization = o.enums === String ? $root.types.TriState[m.enableStabilization]
|
|
654
|
+
d.enableStabilization = o.enums === String ? $root.types.TriState[m.enableStabilization] : m.enableStabilization;
|
|
735
655
|
}
|
|
736
656
|
if (m.enableTransformation != null && m.hasOwnProperty("enableTransformation")) {
|
|
737
|
-
d.enableTransformation = o.enums === String ? $root.types.TriState[m.enableTransformation]
|
|
657
|
+
d.enableTransformation = o.enums === String ? $root.types.TriState[m.enableTransformation] : m.enableTransformation;
|
|
738
658
|
}
|
|
739
659
|
if (m.userId != null && m.hasOwnProperty("userId")) {
|
|
740
660
|
d.userId = m.userId;
|
|
@@ -746,19 +666,13 @@ export const jibb = $root.jibb = (() => {
|
|
|
746
666
|
d.mbusTopicImage = m.mbusTopicImage;
|
|
747
667
|
}
|
|
748
668
|
if (m.encoding != null && m.hasOwnProperty("encoding")) {
|
|
749
|
-
d.encoding = o.enums === String ? $root.jibb.ipsa.v1.Encoding[m.encoding]
|
|
669
|
+
d.encoding = o.enums === String ? $root.jibb.ipsa.v1.Encoding[m.encoding] : m.encoding;
|
|
750
670
|
}
|
|
751
671
|
return d;
|
|
752
672
|
};
|
|
753
673
|
Config.prototype.toJSON = function toJSON() {
|
|
754
674
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
755
675
|
};
|
|
756
|
-
Config.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
757
|
-
if (typeUrlPrefix === undefined) {
|
|
758
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
759
|
-
}
|
|
760
|
-
return typeUrlPrefix + "/jibb.ipsa.v1.Config";
|
|
761
|
-
};
|
|
762
676
|
return Config;
|
|
763
677
|
}();
|
|
764
678
|
v1.RuntimeConfig = function () {
|
|
@@ -774,6 +688,7 @@ export const jibb = $root.jibb = (() => {
|
|
|
774
688
|
RuntimeConfig.prototype.flipLeftRight = false;
|
|
775
689
|
RuntimeConfig.prototype.enableEstimation = false;
|
|
776
690
|
RuntimeConfig.prototype.inputRotation = 0;
|
|
691
|
+
RuntimeConfig.prototype.enableCeTorch = false;
|
|
777
692
|
RuntimeConfig.create = function create(properties) {
|
|
778
693
|
return new RuntimeConfig(properties);
|
|
779
694
|
};
|
|
@@ -791,6 +706,7 @@ export const jibb = $root.jibb = (() => {
|
|
|
791
706
|
if (m.flipLeftRight != null && Object.hasOwnProperty.call(m, "flipLeftRight")) w.uint32(48).bool(m.flipLeftRight);
|
|
792
707
|
if (m.enableEstimation != null && Object.hasOwnProperty.call(m, "enableEstimation")) w.uint32(56).bool(m.enableEstimation);
|
|
793
708
|
if (m.inputRotation != null && Object.hasOwnProperty.call(m, "inputRotation")) w.uint32(64).int32(m.inputRotation);
|
|
709
|
+
if (m.enableCeTorch != null && Object.hasOwnProperty.call(m, "enableCeTorch")) w.uint32(72).bool(m.enableCeTorch);
|
|
794
710
|
return w;
|
|
795
711
|
};
|
|
796
712
|
RuntimeConfig.encodeDelimited = function encodeDelimited(message, writer) {
|
|
@@ -804,49 +720,36 @@ export const jibb = $root.jibb = (() => {
|
|
|
804
720
|
var t = r.uint32();
|
|
805
721
|
switch (t >>> 3) {
|
|
806
722
|
case 1:
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
break;
|
|
814
|
-
}
|
|
723
|
+
if (!(m.customCorners && m.customCorners.length)) m.customCorners = [];
|
|
724
|
+
if ((t & 7) === 2) {
|
|
725
|
+
var c2 = r.uint32() + r.pos;
|
|
726
|
+
while (r.pos < c2) m.customCorners.push(r.sint32());
|
|
727
|
+
} else m.customCorners.push(r.sint32());
|
|
728
|
+
break;
|
|
815
729
|
case 2:
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
break;
|
|
819
|
-
}
|
|
730
|
+
m.fixedCorners = r.bool();
|
|
731
|
+
break;
|
|
820
732
|
case 3:
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
break;
|
|
824
|
-
}
|
|
733
|
+
m.enableColor = r.bool();
|
|
734
|
+
break;
|
|
825
735
|
case 4:
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
break;
|
|
829
|
-
}
|
|
736
|
+
m.rotation = r.int32();
|
|
737
|
+
break;
|
|
830
738
|
case 5:
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
break;
|
|
834
|
-
}
|
|
739
|
+
m.flipUpDown = r.bool();
|
|
740
|
+
break;
|
|
835
741
|
case 6:
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
break;
|
|
839
|
-
}
|
|
742
|
+
m.flipLeftRight = r.bool();
|
|
743
|
+
break;
|
|
840
744
|
case 7:
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
break;
|
|
844
|
-
}
|
|
745
|
+
m.enableEstimation = r.bool();
|
|
746
|
+
break;
|
|
845
747
|
case 8:
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
748
|
+
m.inputRotation = r.int32();
|
|
749
|
+
break;
|
|
750
|
+
case 9:
|
|
751
|
+
m.enableCeTorch = r.bool();
|
|
752
|
+
break;
|
|
850
753
|
default:
|
|
851
754
|
r.skipType(t & 7);
|
|
852
755
|
break;
|
|
@@ -903,6 +806,9 @@ export const jibb = $root.jibb = (() => {
|
|
|
903
806
|
break;
|
|
904
807
|
}
|
|
905
808
|
}
|
|
809
|
+
if (m.enableCeTorch != null && m.hasOwnProperty("enableCeTorch")) {
|
|
810
|
+
if (typeof m.enableCeTorch !== "boolean") return "enableCeTorch: boolean expected";
|
|
811
|
+
}
|
|
906
812
|
return null;
|
|
907
813
|
};
|
|
908
814
|
RuntimeConfig.fromObject = function fromObject(d) {
|
|
@@ -922,12 +828,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
922
828
|
m.enableColor = Boolean(d.enableColor);
|
|
923
829
|
}
|
|
924
830
|
switch (d.rotation) {
|
|
925
|
-
default:
|
|
926
|
-
if (typeof d.rotation === "number") {
|
|
927
|
-
m.rotation = d.rotation;
|
|
928
|
-
break;
|
|
929
|
-
}
|
|
930
|
-
break;
|
|
931
831
|
case "ROTATE_0":
|
|
932
832
|
case 0:
|
|
933
833
|
m.rotation = 0;
|
|
@@ -955,12 +855,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
955
855
|
m.enableEstimation = Boolean(d.enableEstimation);
|
|
956
856
|
}
|
|
957
857
|
switch (d.inputRotation) {
|
|
958
|
-
default:
|
|
959
|
-
if (typeof d.inputRotation === "number") {
|
|
960
|
-
m.inputRotation = d.inputRotation;
|
|
961
|
-
break;
|
|
962
|
-
}
|
|
963
|
-
break;
|
|
964
858
|
case "ROTATE_0":
|
|
965
859
|
case 0:
|
|
966
860
|
m.inputRotation = 0;
|
|
@@ -978,6 +872,9 @@ export const jibb = $root.jibb = (() => {
|
|
|
978
872
|
m.inputRotation = 3;
|
|
979
873
|
break;
|
|
980
874
|
}
|
|
875
|
+
if (d.enableCeTorch != null) {
|
|
876
|
+
m.enableCeTorch = Boolean(d.enableCeTorch);
|
|
877
|
+
}
|
|
981
878
|
return m;
|
|
982
879
|
};
|
|
983
880
|
RuntimeConfig.toObject = function toObject(m, o) {
|
|
@@ -994,6 +891,7 @@ export const jibb = $root.jibb = (() => {
|
|
|
994
891
|
d.flipLeftRight = false;
|
|
995
892
|
d.enableEstimation = false;
|
|
996
893
|
d.inputRotation = o.enums === String ? "ROTATE_0" : 0;
|
|
894
|
+
d.enableCeTorch = false;
|
|
997
895
|
}
|
|
998
896
|
if (m.customCorners && m.customCorners.length) {
|
|
999
897
|
d.customCorners = [];
|
|
@@ -1008,7 +906,7 @@ export const jibb = $root.jibb = (() => {
|
|
|
1008
906
|
d.enableColor = m.enableColor;
|
|
1009
907
|
}
|
|
1010
908
|
if (m.rotation != null && m.hasOwnProperty("rotation")) {
|
|
1011
|
-
d.rotation = o.enums === String ? $root.jibb.ipsa.v1.Rotation[m.rotation]
|
|
909
|
+
d.rotation = o.enums === String ? $root.jibb.ipsa.v1.Rotation[m.rotation] : m.rotation;
|
|
1012
910
|
}
|
|
1013
911
|
if (m.flipUpDown != null && m.hasOwnProperty("flipUpDown")) {
|
|
1014
912
|
d.flipUpDown = m.flipUpDown;
|
|
@@ -1020,19 +918,16 @@ export const jibb = $root.jibb = (() => {
|
|
|
1020
918
|
d.enableEstimation = m.enableEstimation;
|
|
1021
919
|
}
|
|
1022
920
|
if (m.inputRotation != null && m.hasOwnProperty("inputRotation")) {
|
|
1023
|
-
d.inputRotation = o.enums === String ? $root.jibb.ipsa.v1.Rotation[m.inputRotation]
|
|
921
|
+
d.inputRotation = o.enums === String ? $root.jibb.ipsa.v1.Rotation[m.inputRotation] : m.inputRotation;
|
|
922
|
+
}
|
|
923
|
+
if (m.enableCeTorch != null && m.hasOwnProperty("enableCeTorch")) {
|
|
924
|
+
d.enableCeTorch = m.enableCeTorch;
|
|
1024
925
|
}
|
|
1025
926
|
return d;
|
|
1026
927
|
};
|
|
1027
928
|
RuntimeConfig.prototype.toJSON = function toJSON() {
|
|
1028
929
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
1029
930
|
};
|
|
1030
|
-
RuntimeConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1031
|
-
if (typeUrlPrefix === undefined) {
|
|
1032
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
1033
|
-
}
|
|
1034
|
-
return typeUrlPrefix + "/jibb.ipsa.v1.RuntimeConfig";
|
|
1035
|
-
};
|
|
1036
931
|
return RuntimeConfig;
|
|
1037
932
|
}();
|
|
1038
933
|
v1.VersionResponse = function () {
|
|
@@ -1059,10 +954,8 @@ export const jibb = $root.jibb = (() => {
|
|
|
1059
954
|
var t = r.uint32();
|
|
1060
955
|
switch (t >>> 3) {
|
|
1061
956
|
case 1:
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
break;
|
|
1065
|
-
}
|
|
957
|
+
m.version = r.string();
|
|
958
|
+
break;
|
|
1066
959
|
default:
|
|
1067
960
|
r.skipType(t & 7);
|
|
1068
961
|
break;
|
|
@@ -1103,12 +996,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
1103
996
|
VersionResponse.prototype.toJSON = function toJSON() {
|
|
1104
997
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
1105
998
|
};
|
|
1106
|
-
VersionResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1107
|
-
if (typeUrlPrefix === undefined) {
|
|
1108
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
1109
|
-
}
|
|
1110
|
-
return typeUrlPrefix + "/jibb.ipsa.v1.VersionResponse";
|
|
1111
|
-
};
|
|
1112
999
|
return VersionResponse;
|
|
1113
1000
|
}();
|
|
1114
1001
|
v1.SurfaceTransformationRequest = function () {
|
|
@@ -1137,15 +1024,11 @@ export const jibb = $root.jibb = (() => {
|
|
|
1137
1024
|
var t = r.uint32();
|
|
1138
1025
|
switch (t >>> 3) {
|
|
1139
1026
|
case 1:
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
break;
|
|
1143
|
-
}
|
|
1027
|
+
m.surfaceType = r.int32();
|
|
1028
|
+
break;
|
|
1144
1029
|
case 2:
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
break;
|
|
1148
|
-
}
|
|
1030
|
+
m.img = r.bytes();
|
|
1031
|
+
break;
|
|
1149
1032
|
default:
|
|
1150
1033
|
r.skipType(t & 7);
|
|
1151
1034
|
break;
|
|
@@ -1178,12 +1061,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
1178
1061
|
if (d instanceof $root.jibb.ipsa.v1.SurfaceTransformationRequest) return d;
|
|
1179
1062
|
var m = new $root.jibb.ipsa.v1.SurfaceTransformationRequest();
|
|
1180
1063
|
switch (d.surfaceType) {
|
|
1181
|
-
default:
|
|
1182
|
-
if (typeof d.surfaceType === "number") {
|
|
1183
|
-
m.surfaceType = d.surfaceType;
|
|
1184
|
-
break;
|
|
1185
|
-
}
|
|
1186
|
-
break;
|
|
1187
1064
|
case "UNKNOWN":
|
|
1188
1065
|
case 0:
|
|
1189
1066
|
m.surfaceType = 0;
|
|
@@ -1198,7 +1075,7 @@ export const jibb = $root.jibb = (() => {
|
|
|
1198
1075
|
break;
|
|
1199
1076
|
}
|
|
1200
1077
|
if (d.img != null) {
|
|
1201
|
-
if (typeof d.img === "string") $util.base64.decode(d.img, m.img = $util.newBuffer($util.base64.length(d.img)), 0);else if (d.img.length
|
|
1078
|
+
if (typeof d.img === "string") $util.base64.decode(d.img, m.img = $util.newBuffer($util.base64.length(d.img)), 0);else if (d.img.length) m.img = d.img;
|
|
1202
1079
|
}
|
|
1203
1080
|
return m;
|
|
1204
1081
|
};
|
|
@@ -1213,7 +1090,7 @@ export const jibb = $root.jibb = (() => {
|
|
|
1213
1090
|
}
|
|
1214
1091
|
}
|
|
1215
1092
|
if (m.surfaceType != null && m.hasOwnProperty("surfaceType")) {
|
|
1216
|
-
d.surfaceType = o.enums === String ? $root.types.SurfaceType[m.surfaceType]
|
|
1093
|
+
d.surfaceType = o.enums === String ? $root.types.SurfaceType[m.surfaceType] : m.surfaceType;
|
|
1217
1094
|
}
|
|
1218
1095
|
if (m.img != null && m.hasOwnProperty("img")) {
|
|
1219
1096
|
d.img = o.bytes === String ? $util.base64.encode(m.img, 0, m.img.length) : o.bytes === Array ? Array.prototype.slice.call(m.img) : m.img;
|
|
@@ -1223,12 +1100,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
1223
1100
|
SurfaceTransformationRequest.prototype.toJSON = function toJSON() {
|
|
1224
1101
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
1225
1102
|
};
|
|
1226
|
-
SurfaceTransformationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1227
|
-
if (typeUrlPrefix === undefined) {
|
|
1228
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
1229
|
-
}
|
|
1230
|
-
return typeUrlPrefix + "/jibb.ipsa.v1.SurfaceTransformationRequest";
|
|
1231
|
-
};
|
|
1232
1103
|
return SurfaceTransformationRequest;
|
|
1233
1104
|
}();
|
|
1234
1105
|
v1.SurfaceTransformationResponse = function () {
|
|
@@ -1255,10 +1126,8 @@ export const jibb = $root.jibb = (() => {
|
|
|
1255
1126
|
var t = r.uint32();
|
|
1256
1127
|
switch (t >>> 3) {
|
|
1257
1128
|
case 1:
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
break;
|
|
1261
|
-
}
|
|
1129
|
+
m.img = r.bytes();
|
|
1130
|
+
break;
|
|
1262
1131
|
default:
|
|
1263
1132
|
r.skipType(t & 7);
|
|
1264
1133
|
break;
|
|
@@ -1281,7 +1150,7 @@ export const jibb = $root.jibb = (() => {
|
|
|
1281
1150
|
if (d instanceof $root.jibb.ipsa.v1.SurfaceTransformationResponse) return d;
|
|
1282
1151
|
var m = new $root.jibb.ipsa.v1.SurfaceTransformationResponse();
|
|
1283
1152
|
if (d.img != null) {
|
|
1284
|
-
if (typeof d.img === "string") $util.base64.decode(d.img, m.img = $util.newBuffer($util.base64.length(d.img)), 0);else if (d.img.length
|
|
1153
|
+
if (typeof d.img === "string") $util.base64.decode(d.img, m.img = $util.newBuffer($util.base64.length(d.img)), 0);else if (d.img.length) m.img = d.img;
|
|
1285
1154
|
}
|
|
1286
1155
|
return m;
|
|
1287
1156
|
};
|
|
@@ -1302,12 +1171,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
1302
1171
|
SurfaceTransformationResponse.prototype.toJSON = function toJSON() {
|
|
1303
1172
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
1304
1173
|
};
|
|
1305
|
-
SurfaceTransformationResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1306
|
-
if (typeUrlPrefix === undefined) {
|
|
1307
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
1308
|
-
}
|
|
1309
|
-
return typeUrlPrefix + "/jibb.ipsa.v1.SurfaceTransformationResponse";
|
|
1310
|
-
};
|
|
1311
1174
|
return SurfaceTransformationResponse;
|
|
1312
1175
|
}();
|
|
1313
1176
|
v1.SurfaceSegmentationRequest = function () {
|
|
@@ -1338,20 +1201,14 @@ export const jibb = $root.jibb = (() => {
|
|
|
1338
1201
|
var t = r.uint32();
|
|
1339
1202
|
switch (t >>> 3) {
|
|
1340
1203
|
case 1:
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
break;
|
|
1344
|
-
}
|
|
1204
|
+
m.surfaceType = r.int32();
|
|
1205
|
+
break;
|
|
1345
1206
|
case 2:
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
break;
|
|
1349
|
-
}
|
|
1207
|
+
m.overlay = r.bool();
|
|
1208
|
+
break;
|
|
1350
1209
|
case 3:
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
break;
|
|
1354
|
-
}
|
|
1210
|
+
m.img = r.bytes();
|
|
1211
|
+
break;
|
|
1355
1212
|
default:
|
|
1356
1213
|
r.skipType(t & 7);
|
|
1357
1214
|
break;
|
|
@@ -1387,12 +1244,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
1387
1244
|
if (d instanceof $root.jibb.ipsa.v1.SurfaceSegmentationRequest) return d;
|
|
1388
1245
|
var m = new $root.jibb.ipsa.v1.SurfaceSegmentationRequest();
|
|
1389
1246
|
switch (d.surfaceType) {
|
|
1390
|
-
default:
|
|
1391
|
-
if (typeof d.surfaceType === "number") {
|
|
1392
|
-
m.surfaceType = d.surfaceType;
|
|
1393
|
-
break;
|
|
1394
|
-
}
|
|
1395
|
-
break;
|
|
1396
1247
|
case "UNKNOWN":
|
|
1397
1248
|
case 0:
|
|
1398
1249
|
m.surfaceType = 0;
|
|
@@ -1410,7 +1261,7 @@ export const jibb = $root.jibb = (() => {
|
|
|
1410
1261
|
m.overlay = Boolean(d.overlay);
|
|
1411
1262
|
}
|
|
1412
1263
|
if (d.img != null) {
|
|
1413
|
-
if (typeof d.img === "string") $util.base64.decode(d.img, m.img = $util.newBuffer($util.base64.length(d.img)), 0);else if (d.img.length
|
|
1264
|
+
if (typeof d.img === "string") $util.base64.decode(d.img, m.img = $util.newBuffer($util.base64.length(d.img)), 0);else if (d.img.length) m.img = d.img;
|
|
1414
1265
|
}
|
|
1415
1266
|
return m;
|
|
1416
1267
|
};
|
|
@@ -1426,7 +1277,7 @@ export const jibb = $root.jibb = (() => {
|
|
|
1426
1277
|
}
|
|
1427
1278
|
}
|
|
1428
1279
|
if (m.surfaceType != null && m.hasOwnProperty("surfaceType")) {
|
|
1429
|
-
d.surfaceType = o.enums === String ? $root.types.SurfaceType[m.surfaceType]
|
|
1280
|
+
d.surfaceType = o.enums === String ? $root.types.SurfaceType[m.surfaceType] : m.surfaceType;
|
|
1430
1281
|
}
|
|
1431
1282
|
if (m.overlay != null && m.hasOwnProperty("overlay")) {
|
|
1432
1283
|
d.overlay = m.overlay;
|
|
@@ -1439,12 +1290,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
1439
1290
|
SurfaceSegmentationRequest.prototype.toJSON = function toJSON() {
|
|
1440
1291
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
1441
1292
|
};
|
|
1442
|
-
SurfaceSegmentationRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1443
|
-
if (typeUrlPrefix === undefined) {
|
|
1444
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
1445
|
-
}
|
|
1446
|
-
return typeUrlPrefix + "/jibb.ipsa.v1.SurfaceSegmentationRequest";
|
|
1447
|
-
};
|
|
1448
1293
|
return SurfaceSegmentationRequest;
|
|
1449
1294
|
}();
|
|
1450
1295
|
v1.SurfaceSegmentationResponse = function () {
|
|
@@ -1471,10 +1316,8 @@ export const jibb = $root.jibb = (() => {
|
|
|
1471
1316
|
var t = r.uint32();
|
|
1472
1317
|
switch (t >>> 3) {
|
|
1473
1318
|
case 1:
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
break;
|
|
1477
|
-
}
|
|
1319
|
+
m.img = r.bytes();
|
|
1320
|
+
break;
|
|
1478
1321
|
default:
|
|
1479
1322
|
r.skipType(t & 7);
|
|
1480
1323
|
break;
|
|
@@ -1497,7 +1340,7 @@ export const jibb = $root.jibb = (() => {
|
|
|
1497
1340
|
if (d instanceof $root.jibb.ipsa.v1.SurfaceSegmentationResponse) return d;
|
|
1498
1341
|
var m = new $root.jibb.ipsa.v1.SurfaceSegmentationResponse();
|
|
1499
1342
|
if (d.img != null) {
|
|
1500
|
-
if (typeof d.img === "string") $util.base64.decode(d.img, m.img = $util.newBuffer($util.base64.length(d.img)), 0);else if (d.img.length
|
|
1343
|
+
if (typeof d.img === "string") $util.base64.decode(d.img, m.img = $util.newBuffer($util.base64.length(d.img)), 0);else if (d.img.length) m.img = d.img;
|
|
1501
1344
|
}
|
|
1502
1345
|
return m;
|
|
1503
1346
|
};
|
|
@@ -1518,12 +1361,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
1518
1361
|
SurfaceSegmentationResponse.prototype.toJSON = function toJSON() {
|
|
1519
1362
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
1520
1363
|
};
|
|
1521
|
-
SurfaceSegmentationResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1522
|
-
if (typeUrlPrefix === undefined) {
|
|
1523
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
1524
|
-
}
|
|
1525
|
-
return typeUrlPrefix + "/jibb.ipsa.v1.SurfaceSegmentationResponse";
|
|
1526
|
-
};
|
|
1527
1364
|
return SurfaceSegmentationResponse;
|
|
1528
1365
|
}();
|
|
1529
1366
|
v1.SurfaceDetectionRequest = function () {
|
|
@@ -1554,20 +1391,14 @@ export const jibb = $root.jibb = (() => {
|
|
|
1554
1391
|
var t = r.uint32();
|
|
1555
1392
|
switch (t >>> 3) {
|
|
1556
1393
|
case 1:
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
break;
|
|
1560
|
-
}
|
|
1394
|
+
m.surfaceType = r.int32();
|
|
1395
|
+
break;
|
|
1561
1396
|
case 2:
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
break;
|
|
1565
|
-
}
|
|
1397
|
+
m.img = r.bytes();
|
|
1398
|
+
break;
|
|
1566
1399
|
case 3:
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
break;
|
|
1570
|
-
}
|
|
1400
|
+
m.overlay = r.bool();
|
|
1401
|
+
break;
|
|
1571
1402
|
default:
|
|
1572
1403
|
r.skipType(t & 7);
|
|
1573
1404
|
break;
|
|
@@ -1603,12 +1434,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
1603
1434
|
if (d instanceof $root.jibb.ipsa.v1.SurfaceDetectionRequest) return d;
|
|
1604
1435
|
var m = new $root.jibb.ipsa.v1.SurfaceDetectionRequest();
|
|
1605
1436
|
switch (d.surfaceType) {
|
|
1606
|
-
default:
|
|
1607
|
-
if (typeof d.surfaceType === "number") {
|
|
1608
|
-
m.surfaceType = d.surfaceType;
|
|
1609
|
-
break;
|
|
1610
|
-
}
|
|
1611
|
-
break;
|
|
1612
1437
|
case "UNKNOWN":
|
|
1613
1438
|
case 0:
|
|
1614
1439
|
m.surfaceType = 0;
|
|
@@ -1623,7 +1448,7 @@ export const jibb = $root.jibb = (() => {
|
|
|
1623
1448
|
break;
|
|
1624
1449
|
}
|
|
1625
1450
|
if (d.img != null) {
|
|
1626
|
-
if (typeof d.img === "string") $util.base64.decode(d.img, m.img = $util.newBuffer($util.base64.length(d.img)), 0);else if (d.img.length
|
|
1451
|
+
if (typeof d.img === "string") $util.base64.decode(d.img, m.img = $util.newBuffer($util.base64.length(d.img)), 0);else if (d.img.length) m.img = d.img;
|
|
1627
1452
|
}
|
|
1628
1453
|
if (d.overlay != null) {
|
|
1629
1454
|
m.overlay = Boolean(d.overlay);
|
|
@@ -1642,7 +1467,7 @@ export const jibb = $root.jibb = (() => {
|
|
|
1642
1467
|
d.overlay = false;
|
|
1643
1468
|
}
|
|
1644
1469
|
if (m.surfaceType != null && m.hasOwnProperty("surfaceType")) {
|
|
1645
|
-
d.surfaceType = o.enums === String ? $root.types.SurfaceType[m.surfaceType]
|
|
1470
|
+
d.surfaceType = o.enums === String ? $root.types.SurfaceType[m.surfaceType] : m.surfaceType;
|
|
1646
1471
|
}
|
|
1647
1472
|
if (m.img != null && m.hasOwnProperty("img")) {
|
|
1648
1473
|
d.img = o.bytes === String ? $util.base64.encode(m.img, 0, m.img.length) : o.bytes === Array ? Array.prototype.slice.call(m.img) : m.img;
|
|
@@ -1655,12 +1480,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
1655
1480
|
SurfaceDetectionRequest.prototype.toJSON = function toJSON() {
|
|
1656
1481
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
1657
1482
|
};
|
|
1658
|
-
SurfaceDetectionRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1659
|
-
if (typeUrlPrefix === undefined) {
|
|
1660
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
1661
|
-
}
|
|
1662
|
-
return typeUrlPrefix + "/jibb.ipsa.v1.SurfaceDetectionRequest";
|
|
1663
|
-
};
|
|
1664
1483
|
return SurfaceDetectionRequest;
|
|
1665
1484
|
}();
|
|
1666
1485
|
v1.SurfaceDetectionResponse = function () {
|
|
@@ -1694,19 +1513,15 @@ export const jibb = $root.jibb = (() => {
|
|
|
1694
1513
|
var t = r.uint32();
|
|
1695
1514
|
switch (t >>> 3) {
|
|
1696
1515
|
case 1:
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
break;
|
|
1700
|
-
}
|
|
1516
|
+
m.img = r.bytes();
|
|
1517
|
+
break;
|
|
1701
1518
|
case 2:
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
break;
|
|
1709
|
-
}
|
|
1519
|
+
if (!(m.corners && m.corners.length)) m.corners = [];
|
|
1520
|
+
if ((t & 7) === 2) {
|
|
1521
|
+
var c2 = r.uint32() + r.pos;
|
|
1522
|
+
while (r.pos < c2) m.corners.push(r.sint32());
|
|
1523
|
+
} else m.corners.push(r.sint32());
|
|
1524
|
+
break;
|
|
1710
1525
|
default:
|
|
1711
1526
|
r.skipType(t & 7);
|
|
1712
1527
|
break;
|
|
@@ -1735,7 +1550,7 @@ export const jibb = $root.jibb = (() => {
|
|
|
1735
1550
|
if (d instanceof $root.jibb.ipsa.v1.SurfaceDetectionResponse) return d;
|
|
1736
1551
|
var m = new $root.jibb.ipsa.v1.SurfaceDetectionResponse();
|
|
1737
1552
|
if (d.img != null) {
|
|
1738
|
-
if (typeof d.img === "string") $util.base64.decode(d.img, m.img = $util.newBuffer($util.base64.length(d.img)), 0);else if (d.img.length
|
|
1553
|
+
if (typeof d.img === "string") $util.base64.decode(d.img, m.img = $util.newBuffer($util.base64.length(d.img)), 0);else if (d.img.length) m.img = d.img;
|
|
1739
1554
|
}
|
|
1740
1555
|
if (d.corners) {
|
|
1741
1556
|
if (!Array.isArray(d.corners)) throw TypeError(".jibb.ipsa.v1.SurfaceDetectionResponse.corners: array expected");
|
|
@@ -1772,12 +1587,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
1772
1587
|
SurfaceDetectionResponse.prototype.toJSON = function toJSON() {
|
|
1773
1588
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
1774
1589
|
};
|
|
1775
|
-
SurfaceDetectionResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1776
|
-
if (typeUrlPrefix === undefined) {
|
|
1777
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
1778
|
-
}
|
|
1779
|
-
return typeUrlPrefix + "/jibb.ipsa.v1.SurfaceDetectionResponse";
|
|
1780
|
-
};
|
|
1781
1590
|
return SurfaceDetectionResponse;
|
|
1782
1591
|
}();
|
|
1783
1592
|
v1.ObjectRemovalRequest = function () {
|
|
@@ -1810,25 +1619,17 @@ export const jibb = $root.jibb = (() => {
|
|
|
1810
1619
|
var t = r.uint32();
|
|
1811
1620
|
switch (t >>> 3) {
|
|
1812
1621
|
case 1:
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
break;
|
|
1816
|
-
}
|
|
1622
|
+
m.surfaceType = r.int32();
|
|
1623
|
+
break;
|
|
1817
1624
|
case 2:
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
break;
|
|
1821
|
-
}
|
|
1625
|
+
m.overlay = r.bool();
|
|
1626
|
+
break;
|
|
1822
1627
|
case 3:
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
break;
|
|
1826
|
-
}
|
|
1628
|
+
m.enableTransformation = r.bool();
|
|
1629
|
+
break;
|
|
1827
1630
|
case 4:
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
break;
|
|
1831
|
-
}
|
|
1631
|
+
m.img = r.bytes();
|
|
1632
|
+
break;
|
|
1832
1633
|
default:
|
|
1833
1634
|
r.skipType(t & 7);
|
|
1834
1635
|
break;
|
|
@@ -1867,12 +1668,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
1867
1668
|
if (d instanceof $root.jibb.ipsa.v1.ObjectRemovalRequest) return d;
|
|
1868
1669
|
var m = new $root.jibb.ipsa.v1.ObjectRemovalRequest();
|
|
1869
1670
|
switch (d.surfaceType) {
|
|
1870
|
-
default:
|
|
1871
|
-
if (typeof d.surfaceType === "number") {
|
|
1872
|
-
m.surfaceType = d.surfaceType;
|
|
1873
|
-
break;
|
|
1874
|
-
}
|
|
1875
|
-
break;
|
|
1876
1671
|
case "UNKNOWN":
|
|
1877
1672
|
case 0:
|
|
1878
1673
|
m.surfaceType = 0;
|
|
@@ -1893,7 +1688,7 @@ export const jibb = $root.jibb = (() => {
|
|
|
1893
1688
|
m.enableTransformation = Boolean(d.enableTransformation);
|
|
1894
1689
|
}
|
|
1895
1690
|
if (d.img != null) {
|
|
1896
|
-
if (typeof d.img === "string") $util.base64.decode(d.img, m.img = $util.newBuffer($util.base64.length(d.img)), 0);else if (d.img.length
|
|
1691
|
+
if (typeof d.img === "string") $util.base64.decode(d.img, m.img = $util.newBuffer($util.base64.length(d.img)), 0);else if (d.img.length) m.img = d.img;
|
|
1897
1692
|
}
|
|
1898
1693
|
return m;
|
|
1899
1694
|
};
|
|
@@ -1910,7 +1705,7 @@ export const jibb = $root.jibb = (() => {
|
|
|
1910
1705
|
}
|
|
1911
1706
|
}
|
|
1912
1707
|
if (m.surfaceType != null && m.hasOwnProperty("surfaceType")) {
|
|
1913
|
-
d.surfaceType = o.enums === String ? $root.types.SurfaceType[m.surfaceType]
|
|
1708
|
+
d.surfaceType = o.enums === String ? $root.types.SurfaceType[m.surfaceType] : m.surfaceType;
|
|
1914
1709
|
}
|
|
1915
1710
|
if (m.overlay != null && m.hasOwnProperty("overlay")) {
|
|
1916
1711
|
d.overlay = m.overlay;
|
|
@@ -1926,12 +1721,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
1926
1721
|
ObjectRemovalRequest.prototype.toJSON = function toJSON() {
|
|
1927
1722
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
1928
1723
|
};
|
|
1929
|
-
ObjectRemovalRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1930
|
-
if (typeUrlPrefix === undefined) {
|
|
1931
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
1932
|
-
}
|
|
1933
|
-
return typeUrlPrefix + "/jibb.ipsa.v1.ObjectRemovalRequest";
|
|
1934
|
-
};
|
|
1935
1724
|
return ObjectRemovalRequest;
|
|
1936
1725
|
}();
|
|
1937
1726
|
v1.ObjectRemovalResponse = function () {
|
|
@@ -1958,10 +1747,8 @@ export const jibb = $root.jibb = (() => {
|
|
|
1958
1747
|
var t = r.uint32();
|
|
1959
1748
|
switch (t >>> 3) {
|
|
1960
1749
|
case 1:
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
break;
|
|
1964
|
-
}
|
|
1750
|
+
m.img = r.bytes();
|
|
1751
|
+
break;
|
|
1965
1752
|
default:
|
|
1966
1753
|
r.skipType(t & 7);
|
|
1967
1754
|
break;
|
|
@@ -1984,7 +1771,7 @@ export const jibb = $root.jibb = (() => {
|
|
|
1984
1771
|
if (d instanceof $root.jibb.ipsa.v1.ObjectRemovalResponse) return d;
|
|
1985
1772
|
var m = new $root.jibb.ipsa.v1.ObjectRemovalResponse();
|
|
1986
1773
|
if (d.img != null) {
|
|
1987
|
-
if (typeof d.img === "string") $util.base64.decode(d.img, m.img = $util.newBuffer($util.base64.length(d.img)), 0);else if (d.img.length
|
|
1774
|
+
if (typeof d.img === "string") $util.base64.decode(d.img, m.img = $util.newBuffer($util.base64.length(d.img)), 0);else if (d.img.length) m.img = d.img;
|
|
1988
1775
|
}
|
|
1989
1776
|
return m;
|
|
1990
1777
|
};
|
|
@@ -2005,12 +1792,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
2005
1792
|
ObjectRemovalResponse.prototype.toJSON = function toJSON() {
|
|
2006
1793
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
2007
1794
|
};
|
|
2008
|
-
ObjectRemovalResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
2009
|
-
if (typeUrlPrefix === undefined) {
|
|
2010
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
2011
|
-
}
|
|
2012
|
-
return typeUrlPrefix + "/jibb.ipsa.v1.ObjectRemovalResponse";
|
|
2013
|
-
};
|
|
2014
1795
|
return ObjectRemovalResponse;
|
|
2015
1796
|
}();
|
|
2016
1797
|
v1.ContentExtractionRequest = function () {
|
|
@@ -2043,25 +1824,17 @@ export const jibb = $root.jibb = (() => {
|
|
|
2043
1824
|
var t = r.uint32();
|
|
2044
1825
|
switch (t >>> 3) {
|
|
2045
1826
|
case 1:
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
break;
|
|
2049
|
-
}
|
|
1827
|
+
m.surfaceType = r.int32();
|
|
1828
|
+
break;
|
|
2050
1829
|
case 2:
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
break;
|
|
2054
|
-
}
|
|
1830
|
+
m.enableTransformation = r.bool();
|
|
1831
|
+
break;
|
|
2055
1832
|
case 4:
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
break;
|
|
2059
|
-
}
|
|
1833
|
+
m.enableColor = r.bool();
|
|
1834
|
+
break;
|
|
2060
1835
|
case 3:
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
break;
|
|
2064
|
-
}
|
|
1836
|
+
m.img = r.bytes();
|
|
1837
|
+
break;
|
|
2065
1838
|
default:
|
|
2066
1839
|
r.skipType(t & 7);
|
|
2067
1840
|
break;
|
|
@@ -2100,12 +1873,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
2100
1873
|
if (d instanceof $root.jibb.ipsa.v1.ContentExtractionRequest) return d;
|
|
2101
1874
|
var m = new $root.jibb.ipsa.v1.ContentExtractionRequest();
|
|
2102
1875
|
switch (d.surfaceType) {
|
|
2103
|
-
default:
|
|
2104
|
-
if (typeof d.surfaceType === "number") {
|
|
2105
|
-
m.surfaceType = d.surfaceType;
|
|
2106
|
-
break;
|
|
2107
|
-
}
|
|
2108
|
-
break;
|
|
2109
1876
|
case "UNKNOWN":
|
|
2110
1877
|
case 0:
|
|
2111
1878
|
m.surfaceType = 0;
|
|
@@ -2126,7 +1893,7 @@ export const jibb = $root.jibb = (() => {
|
|
|
2126
1893
|
m.enableColor = Boolean(d.enableColor);
|
|
2127
1894
|
}
|
|
2128
1895
|
if (d.img != null) {
|
|
2129
|
-
if (typeof d.img === "string") $util.base64.decode(d.img, m.img = $util.newBuffer($util.base64.length(d.img)), 0);else if (d.img.length
|
|
1896
|
+
if (typeof d.img === "string") $util.base64.decode(d.img, m.img = $util.newBuffer($util.base64.length(d.img)), 0);else if (d.img.length) m.img = d.img;
|
|
2130
1897
|
}
|
|
2131
1898
|
return m;
|
|
2132
1899
|
};
|
|
@@ -2143,7 +1910,7 @@ export const jibb = $root.jibb = (() => {
|
|
|
2143
1910
|
d.enableColor = false;
|
|
2144
1911
|
}
|
|
2145
1912
|
if (m.surfaceType != null && m.hasOwnProperty("surfaceType")) {
|
|
2146
|
-
d.surfaceType = o.enums === String ? $root.types.SurfaceType[m.surfaceType]
|
|
1913
|
+
d.surfaceType = o.enums === String ? $root.types.SurfaceType[m.surfaceType] : m.surfaceType;
|
|
2147
1914
|
}
|
|
2148
1915
|
if (m.enableTransformation != null && m.hasOwnProperty("enableTransformation")) {
|
|
2149
1916
|
d.enableTransformation = m.enableTransformation;
|
|
@@ -2159,12 +1926,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
2159
1926
|
ContentExtractionRequest.prototype.toJSON = function toJSON() {
|
|
2160
1927
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
2161
1928
|
};
|
|
2162
|
-
ContentExtractionRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
2163
|
-
if (typeUrlPrefix === undefined) {
|
|
2164
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
2165
|
-
}
|
|
2166
|
-
return typeUrlPrefix + "/jibb.ipsa.v1.ContentExtractionRequest";
|
|
2167
|
-
};
|
|
2168
1929
|
return ContentExtractionRequest;
|
|
2169
1930
|
}();
|
|
2170
1931
|
v1.ContentExtractionResponse = function () {
|
|
@@ -2193,15 +1954,11 @@ export const jibb = $root.jibb = (() => {
|
|
|
2193
1954
|
var t = r.uint32();
|
|
2194
1955
|
switch (t >>> 3) {
|
|
2195
1956
|
case 1:
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
break;
|
|
2199
|
-
}
|
|
1957
|
+
m.img = r.bytes();
|
|
1958
|
+
break;
|
|
2200
1959
|
case 2:
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
break;
|
|
2204
|
-
}
|
|
1960
|
+
m.transformedImg = r.bytes();
|
|
1961
|
+
break;
|
|
2205
1962
|
default:
|
|
2206
1963
|
r.skipType(t & 7);
|
|
2207
1964
|
break;
|
|
@@ -2227,10 +1984,10 @@ export const jibb = $root.jibb = (() => {
|
|
|
2227
1984
|
if (d instanceof $root.jibb.ipsa.v1.ContentExtractionResponse) return d;
|
|
2228
1985
|
var m = new $root.jibb.ipsa.v1.ContentExtractionResponse();
|
|
2229
1986
|
if (d.img != null) {
|
|
2230
|
-
if (typeof d.img === "string") $util.base64.decode(d.img, m.img = $util.newBuffer($util.base64.length(d.img)), 0);else if (d.img.length
|
|
1987
|
+
if (typeof d.img === "string") $util.base64.decode(d.img, m.img = $util.newBuffer($util.base64.length(d.img)), 0);else if (d.img.length) m.img = d.img;
|
|
2231
1988
|
}
|
|
2232
1989
|
if (d.transformedImg != null) {
|
|
2233
|
-
if (typeof d.transformedImg === "string") $util.base64.decode(d.transformedImg, m.transformedImg = $util.newBuffer($util.base64.length(d.transformedImg)), 0);else if (d.transformedImg.length
|
|
1990
|
+
if (typeof d.transformedImg === "string") $util.base64.decode(d.transformedImg, m.transformedImg = $util.newBuffer($util.base64.length(d.transformedImg)), 0);else if (d.transformedImg.length) m.transformedImg = d.transformedImg;
|
|
2234
1991
|
}
|
|
2235
1992
|
return m;
|
|
2236
1993
|
};
|
|
@@ -2258,12 +2015,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
2258
2015
|
ContentExtractionResponse.prototype.toJSON = function toJSON() {
|
|
2259
2016
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
2260
2017
|
};
|
|
2261
|
-
ContentExtractionResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
2262
|
-
if (typeUrlPrefix === undefined) {
|
|
2263
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
2264
|
-
}
|
|
2265
|
-
return typeUrlPrefix + "/jibb.ipsa.v1.ContentExtractionResponse";
|
|
2266
|
-
};
|
|
2267
2018
|
return ContentExtractionResponse;
|
|
2268
2019
|
}();
|
|
2269
2020
|
v1.GetSimilarityRequest = function () {
|
|
@@ -2294,20 +2045,14 @@ export const jibb = $root.jibb = (() => {
|
|
|
2294
2045
|
var t = r.uint32();
|
|
2295
2046
|
switch (t >>> 3) {
|
|
2296
2047
|
case 1:
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
break;
|
|
2300
|
-
}
|
|
2048
|
+
m.newImage = r.bytes();
|
|
2049
|
+
break;
|
|
2301
2050
|
case 2:
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
break;
|
|
2305
|
-
}
|
|
2051
|
+
m.prevImage = r.bytes();
|
|
2052
|
+
break;
|
|
2306
2053
|
case 3:
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
break;
|
|
2310
|
-
}
|
|
2054
|
+
m.level = r.int32();
|
|
2055
|
+
break;
|
|
2311
2056
|
default:
|
|
2312
2057
|
r.skipType(t & 7);
|
|
2313
2058
|
break;
|
|
@@ -2343,18 +2088,12 @@ export const jibb = $root.jibb = (() => {
|
|
|
2343
2088
|
if (d instanceof $root.jibb.ipsa.v1.GetSimilarityRequest) return d;
|
|
2344
2089
|
var m = new $root.jibb.ipsa.v1.GetSimilarityRequest();
|
|
2345
2090
|
if (d.newImage != null) {
|
|
2346
|
-
if (typeof d.newImage === "string") $util.base64.decode(d.newImage, m.newImage = $util.newBuffer($util.base64.length(d.newImage)), 0);else if (d.newImage.length
|
|
2091
|
+
if (typeof d.newImage === "string") $util.base64.decode(d.newImage, m.newImage = $util.newBuffer($util.base64.length(d.newImage)), 0);else if (d.newImage.length) m.newImage = d.newImage;
|
|
2347
2092
|
}
|
|
2348
2093
|
if (d.prevImage != null) {
|
|
2349
|
-
if (typeof d.prevImage === "string") $util.base64.decode(d.prevImage, m.prevImage = $util.newBuffer($util.base64.length(d.prevImage)), 0);else if (d.prevImage.length
|
|
2094
|
+
if (typeof d.prevImage === "string") $util.base64.decode(d.prevImage, m.prevImage = $util.newBuffer($util.base64.length(d.prevImage)), 0);else if (d.prevImage.length) m.prevImage = d.prevImage;
|
|
2350
2095
|
}
|
|
2351
2096
|
switch (d.level) {
|
|
2352
|
-
default:
|
|
2353
|
-
if (typeof d.level === "number") {
|
|
2354
|
-
m.level = d.level;
|
|
2355
|
-
break;
|
|
2356
|
-
}
|
|
2357
|
-
break;
|
|
2358
2097
|
case "NORMAL":
|
|
2359
2098
|
case 0:
|
|
2360
2099
|
m.level = 0;
|
|
@@ -2391,19 +2130,13 @@ export const jibb = $root.jibb = (() => {
|
|
|
2391
2130
|
d.prevImage = o.bytes === String ? $util.base64.encode(m.prevImage, 0, m.prevImage.length) : o.bytes === Array ? Array.prototype.slice.call(m.prevImage) : m.prevImage;
|
|
2392
2131
|
}
|
|
2393
2132
|
if (m.level != null && m.hasOwnProperty("level")) {
|
|
2394
|
-
d.level = o.enums === String ? $root.jibb.ipsa.v1.GetSimilarityRequest.SensivityLevel[m.level]
|
|
2133
|
+
d.level = o.enums === String ? $root.jibb.ipsa.v1.GetSimilarityRequest.SensivityLevel[m.level] : m.level;
|
|
2395
2134
|
}
|
|
2396
2135
|
return d;
|
|
2397
2136
|
};
|
|
2398
2137
|
GetSimilarityRequest.prototype.toJSON = function toJSON() {
|
|
2399
2138
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
2400
2139
|
};
|
|
2401
|
-
GetSimilarityRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
2402
|
-
if (typeUrlPrefix === undefined) {
|
|
2403
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
2404
|
-
}
|
|
2405
|
-
return typeUrlPrefix + "/jibb.ipsa.v1.GetSimilarityRequest";
|
|
2406
|
-
};
|
|
2407
2140
|
GetSimilarityRequest.SensivityLevel = function () {
|
|
2408
2141
|
const valuesById = {},
|
|
2409
2142
|
values = Object.create(valuesById);
|
|
@@ -2440,15 +2173,11 @@ export const jibb = $root.jibb = (() => {
|
|
|
2440
2173
|
var t = r.uint32();
|
|
2441
2174
|
switch (t >>> 3) {
|
|
2442
2175
|
case 1:
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
break;
|
|
2446
|
-
}
|
|
2176
|
+
m.isSimilar = r.bool();
|
|
2177
|
+
break;
|
|
2447
2178
|
case 2:
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
break;
|
|
2451
|
-
}
|
|
2179
|
+
m.addedContentCount = r.int32();
|
|
2180
|
+
break;
|
|
2452
2181
|
default:
|
|
2453
2182
|
r.skipType(t & 7);
|
|
2454
2183
|
break;
|
|
@@ -2499,12 +2228,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
2499
2228
|
GetSimilarityResponse.prototype.toJSON = function toJSON() {
|
|
2500
2229
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
2501
2230
|
};
|
|
2502
|
-
GetSimilarityResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
2503
|
-
if (typeUrlPrefix === undefined) {
|
|
2504
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
2505
|
-
}
|
|
2506
|
-
return typeUrlPrefix + "/jibb.ipsa.v1.GetSimilarityResponse";
|
|
2507
|
-
};
|
|
2508
2231
|
return GetSimilarityResponse;
|
|
2509
2232
|
}();
|
|
2510
2233
|
v1.Ipsa = function () {
|
|
@@ -2531,10 +2254,8 @@ export const jibb = $root.jibb = (() => {
|
|
|
2531
2254
|
var t = r.uint32();
|
|
2532
2255
|
switch (t >>> 3) {
|
|
2533
2256
|
case 1:
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
break;
|
|
2537
|
-
}
|
|
2257
|
+
m.data = r.bytes();
|
|
2258
|
+
break;
|
|
2538
2259
|
default:
|
|
2539
2260
|
r.skipType(t & 7);
|
|
2540
2261
|
break;
|
|
@@ -2557,7 +2278,7 @@ export const jibb = $root.jibb = (() => {
|
|
|
2557
2278
|
if (d instanceof $root.jibb.ipsa.v1.Ipsa) return d;
|
|
2558
2279
|
var m = new $root.jibb.ipsa.v1.Ipsa();
|
|
2559
2280
|
if (d.data != null) {
|
|
2560
|
-
if (typeof d.data === "string") $util.base64.decode(d.data, m.data = $util.newBuffer($util.base64.length(d.data)), 0);else if (d.data.length
|
|
2281
|
+
if (typeof d.data === "string") $util.base64.decode(d.data, m.data = $util.newBuffer($util.base64.length(d.data)), 0);else if (d.data.length) m.data = d.data;
|
|
2561
2282
|
}
|
|
2562
2283
|
return m;
|
|
2563
2284
|
};
|
|
@@ -2578,12 +2299,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
2578
2299
|
Ipsa.prototype.toJSON = function toJSON() {
|
|
2579
2300
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
2580
2301
|
};
|
|
2581
|
-
Ipsa.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
2582
|
-
if (typeUrlPrefix === undefined) {
|
|
2583
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
2584
|
-
}
|
|
2585
|
-
return typeUrlPrefix + "/jibb.ipsa.v1.Ipsa";
|
|
2586
|
-
};
|
|
2587
2302
|
return Ipsa;
|
|
2588
2303
|
}();
|
|
2589
2304
|
v1.Request = function () {
|
|
@@ -2627,40 +2342,26 @@ export const jibb = $root.jibb = (() => {
|
|
|
2627
2342
|
var t = r.uint32();
|
|
2628
2343
|
switch (t >>> 3) {
|
|
2629
2344
|
case 1:
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
break;
|
|
2633
|
-
}
|
|
2345
|
+
m.id = r.int32();
|
|
2346
|
+
break;
|
|
2634
2347
|
case 2:
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
break;
|
|
2638
|
-
}
|
|
2348
|
+
m.config = $root.jibb.ipsa.v1.Config.decode(r, r.uint32());
|
|
2349
|
+
break;
|
|
2639
2350
|
case 3:
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
break;
|
|
2643
|
-
}
|
|
2351
|
+
m.ipsa = $root.jibb.ipsa.v1.Ipsa.decode(r, r.uint32());
|
|
2352
|
+
break;
|
|
2644
2353
|
case 4:
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
break;
|
|
2648
|
-
}
|
|
2354
|
+
m.resetSession = $root.google.protobuf.Empty.decode(r, r.uint32());
|
|
2355
|
+
break;
|
|
2649
2356
|
case 5:
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
break;
|
|
2653
|
-
}
|
|
2357
|
+
m.recalibrate = $root.google.protobuf.Empty.decode(r, r.uint32());
|
|
2358
|
+
break;
|
|
2654
2359
|
case 6:
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
break;
|
|
2658
|
-
}
|
|
2360
|
+
m.runtimeConfig = $root.jibb.ipsa.v1.RuntimeConfig.decode(r, r.uint32());
|
|
2361
|
+
break;
|
|
2659
2362
|
case 7:
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
break;
|
|
2663
|
-
}
|
|
2363
|
+
m.dummy = $root.google.protobuf.Empty.decode(r, r.uint32());
|
|
2364
|
+
break;
|
|
2664
2365
|
default:
|
|
2665
2366
|
r.skipType(t & 7);
|
|
2666
2367
|
break;
|
|
@@ -2797,12 +2498,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
2797
2498
|
Request.prototype.toJSON = function toJSON() {
|
|
2798
2499
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
2799
2500
|
};
|
|
2800
|
-
Request.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
2801
|
-
if (typeUrlPrefix === undefined) {
|
|
2802
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
2803
|
-
}
|
|
2804
|
-
return typeUrlPrefix + "/jibb.ipsa.v1.Request";
|
|
2805
|
-
};
|
|
2806
2501
|
return Request;
|
|
2807
2502
|
}();
|
|
2808
2503
|
v1.Status = function () {
|
|
@@ -2849,43 +2544,31 @@ export const jibb = $root.jibb = (() => {
|
|
|
2849
2544
|
var t = r.uint32();
|
|
2850
2545
|
switch (t >>> 3) {
|
|
2851
2546
|
case 1:
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
break;
|
|
2855
|
-
}
|
|
2547
|
+
m.userId = r.string();
|
|
2548
|
+
break;
|
|
2856
2549
|
case 2:
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
break;
|
|
2864
|
-
}
|
|
2550
|
+
if (!(m.corners && m.corners.length)) m.corners = [];
|
|
2551
|
+
if ((t & 7) === 2) {
|
|
2552
|
+
var c2 = r.uint32() + r.pos;
|
|
2553
|
+
while (r.pos < c2) m.corners.push(r.float());
|
|
2554
|
+
} else m.corners.push(r.float());
|
|
2555
|
+
break;
|
|
2865
2556
|
case 3:
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
break;
|
|
2873
|
-
}
|
|
2557
|
+
if (!(m.codes && m.codes.length)) m.codes = [];
|
|
2558
|
+
if ((t & 7) === 2) {
|
|
2559
|
+
var c2 = r.uint32() + r.pos;
|
|
2560
|
+
while (r.pos < c2) m.codes.push(r.int32());
|
|
2561
|
+
} else m.codes.push(r.int32());
|
|
2562
|
+
break;
|
|
2874
2563
|
case 4:
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
break;
|
|
2878
|
-
}
|
|
2564
|
+
m.processingTime = r.int32();
|
|
2565
|
+
break;
|
|
2879
2566
|
case 5:
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
break;
|
|
2883
|
-
}
|
|
2567
|
+
m.upsampling = r.float();
|
|
2568
|
+
break;
|
|
2884
2569
|
case 6:
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
break;
|
|
2888
|
-
}
|
|
2570
|
+
m.paperDetectionConfidence = r.int32();
|
|
2571
|
+
break;
|
|
2889
2572
|
default:
|
|
2890
2573
|
r.skipType(t & 7);
|
|
2891
2574
|
break;
|
|
@@ -2962,10 +2645,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
2962
2645
|
for (var i = 0; i < d.codes.length; ++i) {
|
|
2963
2646
|
switch (d.codes[i]) {
|
|
2964
2647
|
default:
|
|
2965
|
-
if (typeof d.codes[i] === "number") {
|
|
2966
|
-
m.codes[i] = d.codes[i];
|
|
2967
|
-
break;
|
|
2968
|
-
}
|
|
2969
2648
|
case "SUCCESS":
|
|
2970
2649
|
case 0:
|
|
2971
2650
|
m.codes[i] = 0;
|
|
@@ -3061,7 +2740,7 @@ export const jibb = $root.jibb = (() => {
|
|
|
3061
2740
|
if (m.codes && m.codes.length) {
|
|
3062
2741
|
d.codes = [];
|
|
3063
2742
|
for (var j = 0; j < m.codes.length; ++j) {
|
|
3064
|
-
d.codes[j] = o.enums === String ? $root.jibb.ipsa.v1.StatusCode[m.codes[j]]
|
|
2743
|
+
d.codes[j] = o.enums === String ? $root.jibb.ipsa.v1.StatusCode[m.codes[j]] : m.codes[j];
|
|
3065
2744
|
}
|
|
3066
2745
|
}
|
|
3067
2746
|
if (m.processingTime != null && m.hasOwnProperty("processingTime")) {
|
|
@@ -3078,12 +2757,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
3078
2757
|
Status.prototype.toJSON = function toJSON() {
|
|
3079
2758
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
3080
2759
|
};
|
|
3081
|
-
Status.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
3082
|
-
if (typeUrlPrefix === undefined) {
|
|
3083
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
3084
|
-
}
|
|
3085
|
-
return typeUrlPrefix + "/jibb.ipsa.v1.Status";
|
|
3086
|
-
};
|
|
3087
2760
|
return Status;
|
|
3088
2761
|
}();
|
|
3089
2762
|
v1.Image = function () {
|
|
@@ -3112,15 +2785,11 @@ export const jibb = $root.jibb = (() => {
|
|
|
3112
2785
|
var t = r.uint32();
|
|
3113
2786
|
switch (t >>> 3) {
|
|
3114
2787
|
case 1:
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
break;
|
|
3118
|
-
}
|
|
2788
|
+
m.userId = r.string();
|
|
2789
|
+
break;
|
|
3119
2790
|
case 2:
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
break;
|
|
3123
|
-
}
|
|
2791
|
+
m.data = r.bytes();
|
|
2792
|
+
break;
|
|
3124
2793
|
default:
|
|
3125
2794
|
r.skipType(t & 7);
|
|
3126
2795
|
break;
|
|
@@ -3149,7 +2818,7 @@ export const jibb = $root.jibb = (() => {
|
|
|
3149
2818
|
m.userId = String(d.userId);
|
|
3150
2819
|
}
|
|
3151
2820
|
if (d.data != null) {
|
|
3152
|
-
if (typeof d.data === "string") $util.base64.decode(d.data, m.data = $util.newBuffer($util.base64.length(d.data)), 0);else if (d.data.length
|
|
2821
|
+
if (typeof d.data === "string") $util.base64.decode(d.data, m.data = $util.newBuffer($util.base64.length(d.data)), 0);else if (d.data.length) m.data = d.data;
|
|
3153
2822
|
}
|
|
3154
2823
|
return m;
|
|
3155
2824
|
};
|
|
@@ -3174,12 +2843,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
3174
2843
|
Image.prototype.toJSON = function toJSON() {
|
|
3175
2844
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
3176
2845
|
};
|
|
3177
|
-
Image.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
3178
|
-
if (typeUrlPrefix === undefined) {
|
|
3179
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
3180
|
-
}
|
|
3181
|
-
return typeUrlPrefix + "/jibb.ipsa.v1.Image";
|
|
3182
|
-
};
|
|
3183
2846
|
return Image;
|
|
3184
2847
|
}();
|
|
3185
2848
|
v1.Response = function () {
|
|
@@ -3210,20 +2873,14 @@ export const jibb = $root.jibb = (() => {
|
|
|
3210
2873
|
var t = r.uint32();
|
|
3211
2874
|
switch (t >>> 3) {
|
|
3212
2875
|
case 1:
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
break;
|
|
3216
|
-
}
|
|
2876
|
+
m.id = r.int32();
|
|
2877
|
+
break;
|
|
3217
2878
|
case 5:
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
break;
|
|
3221
|
-
}
|
|
2879
|
+
m.image = r.bytes();
|
|
2880
|
+
break;
|
|
3222
2881
|
case 8:
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
break;
|
|
3226
|
-
}
|
|
2882
|
+
m.status = $root.jibb.ipsa.v1.Status.decode(r, r.uint32());
|
|
2883
|
+
break;
|
|
3227
2884
|
default:
|
|
3228
2885
|
r.skipType(t & 7);
|
|
3229
2886
|
break;
|
|
@@ -3258,7 +2915,7 @@ export const jibb = $root.jibb = (() => {
|
|
|
3258
2915
|
m.id = d.id | 0;
|
|
3259
2916
|
}
|
|
3260
2917
|
if (d.image != null) {
|
|
3261
|
-
if (typeof d.image === "string") $util.base64.decode(d.image, m.image = $util.newBuffer($util.base64.length(d.image)), 0);else if (d.image.length
|
|
2918
|
+
if (typeof d.image === "string") $util.base64.decode(d.image, m.image = $util.newBuffer($util.base64.length(d.image)), 0);else if (d.image.length) m.image = d.image;
|
|
3262
2919
|
}
|
|
3263
2920
|
if (d.status != null) {
|
|
3264
2921
|
if (typeof d.status !== "object") throw TypeError(".jibb.ipsa.v1.Response.status: object expected");
|
|
@@ -3291,12 +2948,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
3291
2948
|
Response.prototype.toJSON = function toJSON() {
|
|
3292
2949
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
3293
2950
|
};
|
|
3294
|
-
Response.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
3295
|
-
if (typeUrlPrefix === undefined) {
|
|
3296
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
3297
|
-
}
|
|
3298
|
-
return typeUrlPrefix + "/jibb.ipsa.v1.Response";
|
|
3299
|
-
};
|
|
3300
2951
|
return Response;
|
|
3301
2952
|
}();
|
|
3302
2953
|
v1.Started = function () {
|
|
@@ -3345,12 +2996,6 @@ export const jibb = $root.jibb = (() => {
|
|
|
3345
2996
|
Started.prototype.toJSON = function toJSON() {
|
|
3346
2997
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
3347
2998
|
};
|
|
3348
|
-
Started.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
3349
|
-
if (typeUrlPrefix === undefined) {
|
|
3350
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
3351
|
-
}
|
|
3352
|
-
return typeUrlPrefix + "/jibb.ipsa.v1.Started";
|
|
3353
|
-
};
|
|
3354
2999
|
return Started;
|
|
3355
3000
|
}();
|
|
3356
3001
|
v1.Stopped = function () {
|
|
@@ -3399,13 +3044,149 @@ export const jibb = $root.jibb = (() => {
|
|
|
3399
3044
|
Stopped.prototype.toJSON = function toJSON() {
|
|
3400
3045
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
3401
3046
|
};
|
|
3402
|
-
Stopped
|
|
3403
|
-
|
|
3404
|
-
|
|
3047
|
+
return Stopped;
|
|
3048
|
+
}();
|
|
3049
|
+
v1.ConvertHeicToJpegRequest = function () {
|
|
3050
|
+
function ConvertHeicToJpegRequest(p) {
|
|
3051
|
+
if (p) for (var ks = Object.keys(p), i = 0; i < ks.length; ++i) if (p[ks[i]] != null) this[ks[i]] = p[ks[i]];
|
|
3052
|
+
}
|
|
3053
|
+
ConvertHeicToJpegRequest.prototype.heic = $util.newBuffer([]);
|
|
3054
|
+
ConvertHeicToJpegRequest.create = function create(properties) {
|
|
3055
|
+
return new ConvertHeicToJpegRequest(properties);
|
|
3056
|
+
};
|
|
3057
|
+
ConvertHeicToJpegRequest.encode = function encode(m, w) {
|
|
3058
|
+
if (!w) w = $Writer.create();
|
|
3059
|
+
if (m.heic != null && Object.hasOwnProperty.call(m, "heic")) w.uint32(10).bytes(m.heic);
|
|
3060
|
+
return w;
|
|
3061
|
+
};
|
|
3062
|
+
ConvertHeicToJpegRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
3063
|
+
return this.encode(message, writer).ldelim();
|
|
3064
|
+
};
|
|
3065
|
+
ConvertHeicToJpegRequest.decode = function decode(r, l) {
|
|
3066
|
+
if (!(r instanceof $Reader)) r = $Reader.create(r);
|
|
3067
|
+
var c = l === undefined ? r.len : r.pos + l,
|
|
3068
|
+
m = new $root.jibb.ipsa.v1.ConvertHeicToJpegRequest();
|
|
3069
|
+
while (r.pos < c) {
|
|
3070
|
+
var t = r.uint32();
|
|
3071
|
+
switch (t >>> 3) {
|
|
3072
|
+
case 1:
|
|
3073
|
+
m.heic = r.bytes();
|
|
3074
|
+
break;
|
|
3075
|
+
default:
|
|
3076
|
+
r.skipType(t & 7);
|
|
3077
|
+
break;
|
|
3078
|
+
}
|
|
3405
3079
|
}
|
|
3406
|
-
return
|
|
3080
|
+
return m;
|
|
3407
3081
|
};
|
|
3408
|
-
|
|
3082
|
+
ConvertHeicToJpegRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
3083
|
+
if (!(reader instanceof $Reader)) reader = new $Reader(reader);
|
|
3084
|
+
return this.decode(reader, reader.uint32());
|
|
3085
|
+
};
|
|
3086
|
+
ConvertHeicToJpegRequest.verify = function verify(m) {
|
|
3087
|
+
if (typeof m !== "object" || m === null) return "object expected";
|
|
3088
|
+
if (m.heic != null && m.hasOwnProperty("heic")) {
|
|
3089
|
+
if (!(m.heic && typeof m.heic.length === "number" || $util.isString(m.heic))) return "heic: buffer expected";
|
|
3090
|
+
}
|
|
3091
|
+
return null;
|
|
3092
|
+
};
|
|
3093
|
+
ConvertHeicToJpegRequest.fromObject = function fromObject(d) {
|
|
3094
|
+
if (d instanceof $root.jibb.ipsa.v1.ConvertHeicToJpegRequest) return d;
|
|
3095
|
+
var m = new $root.jibb.ipsa.v1.ConvertHeicToJpegRequest();
|
|
3096
|
+
if (d.heic != null) {
|
|
3097
|
+
if (typeof d.heic === "string") $util.base64.decode(d.heic, m.heic = $util.newBuffer($util.base64.length(d.heic)), 0);else if (d.heic.length) m.heic = d.heic;
|
|
3098
|
+
}
|
|
3099
|
+
return m;
|
|
3100
|
+
};
|
|
3101
|
+
ConvertHeicToJpegRequest.toObject = function toObject(m, o) {
|
|
3102
|
+
if (!o) o = {};
|
|
3103
|
+
var d = {};
|
|
3104
|
+
if (o.defaults) {
|
|
3105
|
+
if (o.bytes === String) d.heic = "";else {
|
|
3106
|
+
d.heic = [];
|
|
3107
|
+
if (o.bytes !== Array) d.heic = $util.newBuffer(d.heic);
|
|
3108
|
+
}
|
|
3109
|
+
}
|
|
3110
|
+
if (m.heic != null && m.hasOwnProperty("heic")) {
|
|
3111
|
+
d.heic = o.bytes === String ? $util.base64.encode(m.heic, 0, m.heic.length) : o.bytes === Array ? Array.prototype.slice.call(m.heic) : m.heic;
|
|
3112
|
+
}
|
|
3113
|
+
return d;
|
|
3114
|
+
};
|
|
3115
|
+
ConvertHeicToJpegRequest.prototype.toJSON = function toJSON() {
|
|
3116
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
3117
|
+
};
|
|
3118
|
+
return ConvertHeicToJpegRequest;
|
|
3119
|
+
}();
|
|
3120
|
+
v1.ConvertHeicToJpegResponse = function () {
|
|
3121
|
+
function ConvertHeicToJpegResponse(p) {
|
|
3122
|
+
if (p) for (var ks = Object.keys(p), i = 0; i < ks.length; ++i) if (p[ks[i]] != null) this[ks[i]] = p[ks[i]];
|
|
3123
|
+
}
|
|
3124
|
+
ConvertHeicToJpegResponse.prototype.jpeg = $util.newBuffer([]);
|
|
3125
|
+
ConvertHeicToJpegResponse.create = function create(properties) {
|
|
3126
|
+
return new ConvertHeicToJpegResponse(properties);
|
|
3127
|
+
};
|
|
3128
|
+
ConvertHeicToJpegResponse.encode = function encode(m, w) {
|
|
3129
|
+
if (!w) w = $Writer.create();
|
|
3130
|
+
if (m.jpeg != null && Object.hasOwnProperty.call(m, "jpeg")) w.uint32(10).bytes(m.jpeg);
|
|
3131
|
+
return w;
|
|
3132
|
+
};
|
|
3133
|
+
ConvertHeicToJpegResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
3134
|
+
return this.encode(message, writer).ldelim();
|
|
3135
|
+
};
|
|
3136
|
+
ConvertHeicToJpegResponse.decode = function decode(r, l) {
|
|
3137
|
+
if (!(r instanceof $Reader)) r = $Reader.create(r);
|
|
3138
|
+
var c = l === undefined ? r.len : r.pos + l,
|
|
3139
|
+
m = new $root.jibb.ipsa.v1.ConvertHeicToJpegResponse();
|
|
3140
|
+
while (r.pos < c) {
|
|
3141
|
+
var t = r.uint32();
|
|
3142
|
+
switch (t >>> 3) {
|
|
3143
|
+
case 1:
|
|
3144
|
+
m.jpeg = r.bytes();
|
|
3145
|
+
break;
|
|
3146
|
+
default:
|
|
3147
|
+
r.skipType(t & 7);
|
|
3148
|
+
break;
|
|
3149
|
+
}
|
|
3150
|
+
}
|
|
3151
|
+
return m;
|
|
3152
|
+
};
|
|
3153
|
+
ConvertHeicToJpegResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
3154
|
+
if (!(reader instanceof $Reader)) reader = new $Reader(reader);
|
|
3155
|
+
return this.decode(reader, reader.uint32());
|
|
3156
|
+
};
|
|
3157
|
+
ConvertHeicToJpegResponse.verify = function verify(m) {
|
|
3158
|
+
if (typeof m !== "object" || m === null) return "object expected";
|
|
3159
|
+
if (m.jpeg != null && m.hasOwnProperty("jpeg")) {
|
|
3160
|
+
if (!(m.jpeg && typeof m.jpeg.length === "number" || $util.isString(m.jpeg))) return "jpeg: buffer expected";
|
|
3161
|
+
}
|
|
3162
|
+
return null;
|
|
3163
|
+
};
|
|
3164
|
+
ConvertHeicToJpegResponse.fromObject = function fromObject(d) {
|
|
3165
|
+
if (d instanceof $root.jibb.ipsa.v1.ConvertHeicToJpegResponse) return d;
|
|
3166
|
+
var m = new $root.jibb.ipsa.v1.ConvertHeicToJpegResponse();
|
|
3167
|
+
if (d.jpeg != null) {
|
|
3168
|
+
if (typeof d.jpeg === "string") $util.base64.decode(d.jpeg, m.jpeg = $util.newBuffer($util.base64.length(d.jpeg)), 0);else if (d.jpeg.length) m.jpeg = d.jpeg;
|
|
3169
|
+
}
|
|
3170
|
+
return m;
|
|
3171
|
+
};
|
|
3172
|
+
ConvertHeicToJpegResponse.toObject = function toObject(m, o) {
|
|
3173
|
+
if (!o) o = {};
|
|
3174
|
+
var d = {};
|
|
3175
|
+
if (o.defaults) {
|
|
3176
|
+
if (o.bytes === String) d.jpeg = "";else {
|
|
3177
|
+
d.jpeg = [];
|
|
3178
|
+
if (o.bytes !== Array) d.jpeg = $util.newBuffer(d.jpeg);
|
|
3179
|
+
}
|
|
3180
|
+
}
|
|
3181
|
+
if (m.jpeg != null && m.hasOwnProperty("jpeg")) {
|
|
3182
|
+
d.jpeg = o.bytes === String ? $util.base64.encode(m.jpeg, 0, m.jpeg.length) : o.bytes === Array ? Array.prototype.slice.call(m.jpeg) : m.jpeg;
|
|
3183
|
+
}
|
|
3184
|
+
return d;
|
|
3185
|
+
};
|
|
3186
|
+
ConvertHeicToJpegResponse.prototype.toJSON = function toJSON() {
|
|
3187
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
3188
|
+
};
|
|
3189
|
+
return ConvertHeicToJpegResponse;
|
|
3409
3190
|
}();
|
|
3410
3191
|
return v1;
|
|
3411
3192
|
}();
|
|
@@ -3484,55 +3265,35 @@ export const user = $root.user = (() => {
|
|
|
3484
3265
|
var t = r.uint32();
|
|
3485
3266
|
switch (t >>> 3) {
|
|
3486
3267
|
case 2:
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
break;
|
|
3490
|
-
}
|
|
3268
|
+
m.organizationName = r.string();
|
|
3269
|
+
break;
|
|
3491
3270
|
case 3:
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
break;
|
|
3495
|
-
}
|
|
3271
|
+
m.level = r.int32();
|
|
3272
|
+
break;
|
|
3496
3273
|
case 4:
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
break;
|
|
3500
|
-
}
|
|
3274
|
+
m.firstName = r.string();
|
|
3275
|
+
break;
|
|
3501
3276
|
case 5:
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
break;
|
|
3505
|
-
}
|
|
3277
|
+
m.lastName = r.string();
|
|
3278
|
+
break;
|
|
3506
3279
|
case 6:
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
break;
|
|
3510
|
-
}
|
|
3280
|
+
m.organizationId = r.int32();
|
|
3281
|
+
break;
|
|
3511
3282
|
case 7:
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
break;
|
|
3515
|
-
}
|
|
3283
|
+
m.userType = r.int32();
|
|
3284
|
+
break;
|
|
3516
3285
|
case 8:
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
break;
|
|
3520
|
-
}
|
|
3286
|
+
m.activated = r.bool();
|
|
3287
|
+
break;
|
|
3521
3288
|
case 9:
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
break;
|
|
3525
|
-
}
|
|
3289
|
+
m.userId = r.string();
|
|
3290
|
+
break;
|
|
3526
3291
|
case 10:
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
break;
|
|
3530
|
-
}
|
|
3292
|
+
m.email = r.string();
|
|
3293
|
+
break;
|
|
3531
3294
|
case 11:
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
break;
|
|
3535
|
-
}
|
|
3295
|
+
m.lastLogin = $root.google.protobuf.Timestamp.decode(r, r.uint32());
|
|
3296
|
+
break;
|
|
3536
3297
|
default:
|
|
3537
3298
|
r.skipType(t & 7);
|
|
3538
3299
|
break;
|
|
@@ -3605,12 +3366,6 @@ export const user = $root.user = (() => {
|
|
|
3605
3366
|
m.organizationName = String(d.organizationName);
|
|
3606
3367
|
}
|
|
3607
3368
|
switch (d.level) {
|
|
3608
|
-
default:
|
|
3609
|
-
if (typeof d.level === "number") {
|
|
3610
|
-
m.level = d.level;
|
|
3611
|
-
break;
|
|
3612
|
-
}
|
|
3613
|
-
break;
|
|
3614
3369
|
case "FREE":
|
|
3615
3370
|
case 0:
|
|
3616
3371
|
m.level = 0;
|
|
@@ -3642,12 +3397,6 @@ export const user = $root.user = (() => {
|
|
|
3642
3397
|
m.organizationId = d.organizationId | 0;
|
|
3643
3398
|
}
|
|
3644
3399
|
switch (d.userType) {
|
|
3645
|
-
default:
|
|
3646
|
-
if (typeof d.userType === "number") {
|
|
3647
|
-
m.userType = d.userType;
|
|
3648
|
-
break;
|
|
3649
|
-
}
|
|
3650
|
-
break;
|
|
3651
3400
|
case "UNKNOWN":
|
|
3652
3401
|
case 0:
|
|
3653
3402
|
m.userType = 0;
|
|
@@ -3699,7 +3448,7 @@ export const user = $root.user = (() => {
|
|
|
3699
3448
|
d.organizationName = m.organizationName;
|
|
3700
3449
|
}
|
|
3701
3450
|
if (m.level != null && m.hasOwnProperty("level")) {
|
|
3702
|
-
d.level = o.enums === String ? $root.user.Level[m.level]
|
|
3451
|
+
d.level = o.enums === String ? $root.user.Level[m.level] : m.level;
|
|
3703
3452
|
}
|
|
3704
3453
|
if (m.firstName != null && m.hasOwnProperty("firstName")) {
|
|
3705
3454
|
d.firstName = m.firstName;
|
|
@@ -3711,7 +3460,7 @@ export const user = $root.user = (() => {
|
|
|
3711
3460
|
d.organizationId = m.organizationId;
|
|
3712
3461
|
}
|
|
3713
3462
|
if (m.userType != null && m.hasOwnProperty("userType")) {
|
|
3714
|
-
d.userType = o.enums === String ? $root.user.UserType[m.userType]
|
|
3463
|
+
d.userType = o.enums === String ? $root.user.UserType[m.userType] : m.userType;
|
|
3715
3464
|
}
|
|
3716
3465
|
if (m.activated != null && m.hasOwnProperty("activated")) {
|
|
3717
3466
|
d.activated = m.activated;
|
|
@@ -3730,209 +3479,8 @@ export const user = $root.user = (() => {
|
|
|
3730
3479
|
UserDetails.prototype.toJSON = function toJSON() {
|
|
3731
3480
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
3732
3481
|
};
|
|
3733
|
-
UserDetails.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
3734
|
-
if (typeUrlPrefix === undefined) {
|
|
3735
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
3736
|
-
}
|
|
3737
|
-
return typeUrlPrefix + "/user.UserDetails";
|
|
3738
|
-
};
|
|
3739
3482
|
return UserDetails;
|
|
3740
3483
|
}();
|
|
3741
|
-
user.UserClaims = function () {
|
|
3742
|
-
function UserClaims(p) {
|
|
3743
|
-
if (p) for (var ks = Object.keys(p), i = 0; i < ks.length; ++i) if (p[ks[i]] != null) this[ks[i]] = p[ks[i]];
|
|
3744
|
-
}
|
|
3745
|
-
UserClaims.prototype.level = 0;
|
|
3746
|
-
UserClaims.prototype.organizationId = 0;
|
|
3747
|
-
UserClaims.prototype.email = "";
|
|
3748
|
-
UserClaims.prototype.organizationName = "";
|
|
3749
|
-
UserClaims.prototype.userId = "";
|
|
3750
|
-
UserClaims.prototype.isDevice = false;
|
|
3751
|
-
UserClaims.create = function create(properties) {
|
|
3752
|
-
return new UserClaims(properties);
|
|
3753
|
-
};
|
|
3754
|
-
UserClaims.encode = function encode(m, w) {
|
|
3755
|
-
if (!w) w = $Writer.create();
|
|
3756
|
-
if (m.level != null && Object.hasOwnProperty.call(m, "level")) w.uint32(16).int32(m.level);
|
|
3757
|
-
if (m.organizationId != null && Object.hasOwnProperty.call(m, "organizationId")) w.uint32(24).int32(m.organizationId);
|
|
3758
|
-
if (m.email != null && Object.hasOwnProperty.call(m, "email")) w.uint32(34).string(m.email);
|
|
3759
|
-
if (m.organizationName != null && Object.hasOwnProperty.call(m, "organizationName")) w.uint32(42).string(m.organizationName);
|
|
3760
|
-
if (m.userId != null && Object.hasOwnProperty.call(m, "userId")) w.uint32(50).string(m.userId);
|
|
3761
|
-
if (m.isDevice != null && Object.hasOwnProperty.call(m, "isDevice")) w.uint32(56).bool(m.isDevice);
|
|
3762
|
-
return w;
|
|
3763
|
-
};
|
|
3764
|
-
UserClaims.encodeDelimited = function encodeDelimited(message, writer) {
|
|
3765
|
-
return this.encode(message, writer).ldelim();
|
|
3766
|
-
};
|
|
3767
|
-
UserClaims.decode = function decode(r, l) {
|
|
3768
|
-
if (!(r instanceof $Reader)) r = $Reader.create(r);
|
|
3769
|
-
var c = l === undefined ? r.len : r.pos + l,
|
|
3770
|
-
m = new $root.user.UserClaims();
|
|
3771
|
-
while (r.pos < c) {
|
|
3772
|
-
var t = r.uint32();
|
|
3773
|
-
switch (t >>> 3) {
|
|
3774
|
-
case 2:
|
|
3775
|
-
{
|
|
3776
|
-
m.level = r.int32();
|
|
3777
|
-
break;
|
|
3778
|
-
}
|
|
3779
|
-
case 3:
|
|
3780
|
-
{
|
|
3781
|
-
m.organizationId = r.int32();
|
|
3782
|
-
break;
|
|
3783
|
-
}
|
|
3784
|
-
case 4:
|
|
3785
|
-
{
|
|
3786
|
-
m.email = r.string();
|
|
3787
|
-
break;
|
|
3788
|
-
}
|
|
3789
|
-
case 5:
|
|
3790
|
-
{
|
|
3791
|
-
m.organizationName = r.string();
|
|
3792
|
-
break;
|
|
3793
|
-
}
|
|
3794
|
-
case 6:
|
|
3795
|
-
{
|
|
3796
|
-
m.userId = r.string();
|
|
3797
|
-
break;
|
|
3798
|
-
}
|
|
3799
|
-
case 7:
|
|
3800
|
-
{
|
|
3801
|
-
m.isDevice = r.bool();
|
|
3802
|
-
break;
|
|
3803
|
-
}
|
|
3804
|
-
default:
|
|
3805
|
-
r.skipType(t & 7);
|
|
3806
|
-
break;
|
|
3807
|
-
}
|
|
3808
|
-
}
|
|
3809
|
-
return m;
|
|
3810
|
-
};
|
|
3811
|
-
UserClaims.decodeDelimited = function decodeDelimited(reader) {
|
|
3812
|
-
if (!(reader instanceof $Reader)) reader = new $Reader(reader);
|
|
3813
|
-
return this.decode(reader, reader.uint32());
|
|
3814
|
-
};
|
|
3815
|
-
UserClaims.verify = function verify(m) {
|
|
3816
|
-
if (typeof m !== "object" || m === null) return "object expected";
|
|
3817
|
-
if (m.level != null && m.hasOwnProperty("level")) {
|
|
3818
|
-
switch (m.level) {
|
|
3819
|
-
default:
|
|
3820
|
-
return "level: enum value expected";
|
|
3821
|
-
case 0:
|
|
3822
|
-
case 1:
|
|
3823
|
-
case 3:
|
|
3824
|
-
case 4:
|
|
3825
|
-
case 5:
|
|
3826
|
-
break;
|
|
3827
|
-
}
|
|
3828
|
-
}
|
|
3829
|
-
if (m.organizationId != null && m.hasOwnProperty("organizationId")) {
|
|
3830
|
-
if (!$util.isInteger(m.organizationId)) return "organizationId: integer expected";
|
|
3831
|
-
}
|
|
3832
|
-
if (m.email != null && m.hasOwnProperty("email")) {
|
|
3833
|
-
if (!$util.isString(m.email)) return "email: string expected";
|
|
3834
|
-
}
|
|
3835
|
-
if (m.organizationName != null && m.hasOwnProperty("organizationName")) {
|
|
3836
|
-
if (!$util.isString(m.organizationName)) return "organizationName: string expected";
|
|
3837
|
-
}
|
|
3838
|
-
if (m.userId != null && m.hasOwnProperty("userId")) {
|
|
3839
|
-
if (!$util.isString(m.userId)) return "userId: string expected";
|
|
3840
|
-
}
|
|
3841
|
-
if (m.isDevice != null && m.hasOwnProperty("isDevice")) {
|
|
3842
|
-
if (typeof m.isDevice !== "boolean") return "isDevice: boolean expected";
|
|
3843
|
-
}
|
|
3844
|
-
return null;
|
|
3845
|
-
};
|
|
3846
|
-
UserClaims.fromObject = function fromObject(d) {
|
|
3847
|
-
if (d instanceof $root.user.UserClaims) return d;
|
|
3848
|
-
var m = new $root.user.UserClaims();
|
|
3849
|
-
switch (d.level) {
|
|
3850
|
-
default:
|
|
3851
|
-
if (typeof d.level === "number") {
|
|
3852
|
-
m.level = d.level;
|
|
3853
|
-
break;
|
|
3854
|
-
}
|
|
3855
|
-
break;
|
|
3856
|
-
case "FREE":
|
|
3857
|
-
case 0:
|
|
3858
|
-
m.level = 0;
|
|
3859
|
-
break;
|
|
3860
|
-
case "BASIC":
|
|
3861
|
-
case 1:
|
|
3862
|
-
m.level = 1;
|
|
3863
|
-
break;
|
|
3864
|
-
case "PRO":
|
|
3865
|
-
case 3:
|
|
3866
|
-
m.level = 3;
|
|
3867
|
-
break;
|
|
3868
|
-
case "BUSINESS":
|
|
3869
|
-
case 4:
|
|
3870
|
-
m.level = 4;
|
|
3871
|
-
break;
|
|
3872
|
-
case "ENTERPRISE":
|
|
3873
|
-
case 5:
|
|
3874
|
-
m.level = 5;
|
|
3875
|
-
break;
|
|
3876
|
-
}
|
|
3877
|
-
if (d.organizationId != null) {
|
|
3878
|
-
m.organizationId = d.organizationId | 0;
|
|
3879
|
-
}
|
|
3880
|
-
if (d.email != null) {
|
|
3881
|
-
m.email = String(d.email);
|
|
3882
|
-
}
|
|
3883
|
-
if (d.organizationName != null) {
|
|
3884
|
-
m.organizationName = String(d.organizationName);
|
|
3885
|
-
}
|
|
3886
|
-
if (d.userId != null) {
|
|
3887
|
-
m.userId = String(d.userId);
|
|
3888
|
-
}
|
|
3889
|
-
if (d.isDevice != null) {
|
|
3890
|
-
m.isDevice = Boolean(d.isDevice);
|
|
3891
|
-
}
|
|
3892
|
-
return m;
|
|
3893
|
-
};
|
|
3894
|
-
UserClaims.toObject = function toObject(m, o) {
|
|
3895
|
-
if (!o) o = {};
|
|
3896
|
-
var d = {};
|
|
3897
|
-
if (o.defaults) {
|
|
3898
|
-
d.level = o.enums === String ? "FREE" : 0;
|
|
3899
|
-
d.organizationId = 0;
|
|
3900
|
-
d.email = "";
|
|
3901
|
-
d.organizationName = "";
|
|
3902
|
-
d.userId = "";
|
|
3903
|
-
d.isDevice = false;
|
|
3904
|
-
}
|
|
3905
|
-
if (m.level != null && m.hasOwnProperty("level")) {
|
|
3906
|
-
d.level = o.enums === String ? $root.user.Level[m.level] === undefined ? m.level : $root.user.Level[m.level] : m.level;
|
|
3907
|
-
}
|
|
3908
|
-
if (m.organizationId != null && m.hasOwnProperty("organizationId")) {
|
|
3909
|
-
d.organizationId = m.organizationId;
|
|
3910
|
-
}
|
|
3911
|
-
if (m.email != null && m.hasOwnProperty("email")) {
|
|
3912
|
-
d.email = m.email;
|
|
3913
|
-
}
|
|
3914
|
-
if (m.organizationName != null && m.hasOwnProperty("organizationName")) {
|
|
3915
|
-
d.organizationName = m.organizationName;
|
|
3916
|
-
}
|
|
3917
|
-
if (m.userId != null && m.hasOwnProperty("userId")) {
|
|
3918
|
-
d.userId = m.userId;
|
|
3919
|
-
}
|
|
3920
|
-
if (m.isDevice != null && m.hasOwnProperty("isDevice")) {
|
|
3921
|
-
d.isDevice = m.isDevice;
|
|
3922
|
-
}
|
|
3923
|
-
return d;
|
|
3924
|
-
};
|
|
3925
|
-
UserClaims.prototype.toJSON = function toJSON() {
|
|
3926
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
3927
|
-
};
|
|
3928
|
-
UserClaims.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
3929
|
-
if (typeUrlPrefix === undefined) {
|
|
3930
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
3931
|
-
}
|
|
3932
|
-
return typeUrlPrefix + "/user.UserClaims";
|
|
3933
|
-
};
|
|
3934
|
-
return UserClaims;
|
|
3935
|
-
}();
|
|
3936
3484
|
user.OrganizationDetails = function () {
|
|
3937
3485
|
function OrganizationDetails(p) {
|
|
3938
3486
|
if (p) for (var ks = Object.keys(p), i = 0; i < ks.length; ++i) if (p[ks[i]] != null) this[ks[i]] = p[ks[i]];
|
|
@@ -3981,70 +3529,44 @@ export const user = $root.user = (() => {
|
|
|
3981
3529
|
var t = r.uint32();
|
|
3982
3530
|
switch (t >>> 3) {
|
|
3983
3531
|
case 1:
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
break;
|
|
3987
|
-
}
|
|
3532
|
+
m.name = r.string();
|
|
3533
|
+
break;
|
|
3988
3534
|
case 2:
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
break;
|
|
3992
|
-
}
|
|
3535
|
+
m.ownerEmail = r.string();
|
|
3536
|
+
break;
|
|
3993
3537
|
case 3:
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
break;
|
|
3997
|
-
}
|
|
3538
|
+
m.level = r.int32();
|
|
3539
|
+
break;
|
|
3998
3540
|
case 4:
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
break;
|
|
4002
|
-
}
|
|
3541
|
+
m.licenseCount = r.int32();
|
|
3542
|
+
break;
|
|
4003
3543
|
case 5:
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
break;
|
|
4007
|
-
}
|
|
3544
|
+
m.usersCount = r.int32();
|
|
3545
|
+
break;
|
|
4008
3546
|
case 6:
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
break;
|
|
4012
|
-
}
|
|
3547
|
+
m.creationDate = $root.google.protobuf.Timestamp.decode(r, r.uint32());
|
|
3548
|
+
break;
|
|
4013
3549
|
case 12:
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
break;
|
|
4017
|
-
}
|
|
3550
|
+
m.startDate = $root.google.protobuf.Timestamp.decode(r, r.uint32());
|
|
3551
|
+
break;
|
|
4018
3552
|
case 7:
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
break;
|
|
4022
|
-
}
|
|
3553
|
+
m.expiryDate = $root.google.protobuf.Timestamp.decode(r, r.uint32());
|
|
3554
|
+
break;
|
|
4023
3555
|
case 8:
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
break;
|
|
4027
|
-
}
|
|
3556
|
+
m.organizationId = r.int32();
|
|
3557
|
+
break;
|
|
4028
3558
|
case 9:
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
break;
|
|
4032
|
-
}
|
|
3559
|
+
m.subdomainName = r.string();
|
|
3560
|
+
break;
|
|
4033
3561
|
case 10:
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
break;
|
|
4037
|
-
}
|
|
3562
|
+
m.deviceLicenseCount = r.int32();
|
|
3563
|
+
break;
|
|
4038
3564
|
case 11:
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
break;
|
|
4042
|
-
}
|
|
3565
|
+
m.devicesCount = r.int32();
|
|
3566
|
+
break;
|
|
4043
3567
|
case 14:
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
break;
|
|
4047
|
-
}
|
|
3568
|
+
m.imageCollection = r.bool();
|
|
3569
|
+
break;
|
|
4048
3570
|
default:
|
|
4049
3571
|
r.skipType(t & 7);
|
|
4050
3572
|
break;
|
|
@@ -4127,12 +3649,6 @@ export const user = $root.user = (() => {
|
|
|
4127
3649
|
m.ownerEmail = String(d.ownerEmail);
|
|
4128
3650
|
}
|
|
4129
3651
|
switch (d.level) {
|
|
4130
|
-
default:
|
|
4131
|
-
if (typeof d.level === "number") {
|
|
4132
|
-
m.level = d.level;
|
|
4133
|
-
break;
|
|
4134
|
-
}
|
|
4135
|
-
break;
|
|
4136
3652
|
case "FREE":
|
|
4137
3653
|
case 0:
|
|
4138
3654
|
m.level = 0;
|
|
@@ -4214,7 +3730,7 @@ export const user = $root.user = (() => {
|
|
|
4214
3730
|
d.ownerEmail = m.ownerEmail;
|
|
4215
3731
|
}
|
|
4216
3732
|
if (m.level != null && m.hasOwnProperty("level")) {
|
|
4217
|
-
d.level = o.enums === String ? $root.user.Level[m.level]
|
|
3733
|
+
d.level = o.enums === String ? $root.user.Level[m.level] : m.level;
|
|
4218
3734
|
}
|
|
4219
3735
|
if (m.licenseCount != null && m.hasOwnProperty("licenseCount")) {
|
|
4220
3736
|
d.licenseCount = m.licenseCount;
|
|
@@ -4251,12 +3767,6 @@ export const user = $root.user = (() => {
|
|
|
4251
3767
|
OrganizationDetails.prototype.toJSON = function toJSON() {
|
|
4252
3768
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
4253
3769
|
};
|
|
4254
|
-
OrganizationDetails.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
4255
|
-
if (typeUrlPrefix === undefined) {
|
|
4256
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
4257
|
-
}
|
|
4258
|
-
return typeUrlPrefix + "/user.OrganizationDetails";
|
|
4259
|
-
};
|
|
4260
3770
|
return OrganizationDetails;
|
|
4261
3771
|
}();
|
|
4262
3772
|
return user;
|
|
@@ -4311,12 +3821,6 @@ export const google = $root.google = (() => {
|
|
|
4311
3821
|
Empty.prototype.toJSON = function toJSON() {
|
|
4312
3822
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
4313
3823
|
};
|
|
4314
|
-
Empty.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
4315
|
-
if (typeUrlPrefix === undefined) {
|
|
4316
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
4317
|
-
}
|
|
4318
|
-
return typeUrlPrefix + "/google.protobuf.Empty";
|
|
4319
|
-
};
|
|
4320
3824
|
return Empty;
|
|
4321
3825
|
}();
|
|
4322
3826
|
protobuf.Timestamp = function () {
|
|
@@ -4345,15 +3849,11 @@ export const google = $root.google = (() => {
|
|
|
4345
3849
|
var t = r.uint32();
|
|
4346
3850
|
switch (t >>> 3) {
|
|
4347
3851
|
case 1:
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
break;
|
|
4351
|
-
}
|
|
3852
|
+
m.seconds = r.int64();
|
|
3853
|
+
break;
|
|
4352
3854
|
case 2:
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
break;
|
|
4356
|
-
}
|
|
3855
|
+
m.nanos = r.int32();
|
|
3856
|
+
break;
|
|
4357
3857
|
default:
|
|
4358
3858
|
r.skipType(t & 7);
|
|
4359
3859
|
break;
|
|
@@ -4407,12 +3907,6 @@ export const google = $root.google = (() => {
|
|
|
4407
3907
|
Timestamp.prototype.toJSON = function toJSON() {
|
|
4408
3908
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
4409
3909
|
};
|
|
4410
|
-
Timestamp.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
4411
|
-
if (typeUrlPrefix === undefined) {
|
|
4412
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
4413
|
-
}
|
|
4414
|
-
return typeUrlPrefix + "/google.protobuf.Timestamp";
|
|
4415
|
-
};
|
|
4416
3910
|
return Timestamp;
|
|
4417
3911
|
}();
|
|
4418
3912
|
return protobuf;
|
|
@@ -4451,25 +3945,17 @@ export const meeting = $root.meeting = (() => {
|
|
|
4451
3945
|
var t = r.uint32();
|
|
4452
3946
|
switch (t >>> 3) {
|
|
4453
3947
|
case 1:
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
break;
|
|
4457
|
-
}
|
|
3948
|
+
m.id = r.int32();
|
|
3949
|
+
break;
|
|
4458
3950
|
case 2:
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
break;
|
|
4462
|
-
}
|
|
3951
|
+
m.userId = r.string();
|
|
3952
|
+
break;
|
|
4463
3953
|
case 3:
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
break;
|
|
4467
|
-
}
|
|
3954
|
+
m.email = r.string();
|
|
3955
|
+
break;
|
|
4468
3956
|
case 4:
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
break;
|
|
4472
|
-
}
|
|
3957
|
+
m.title = r.string();
|
|
3958
|
+
break;
|
|
4473
3959
|
default:
|
|
4474
3960
|
r.skipType(t & 7);
|
|
4475
3961
|
break;
|
|
@@ -4540,12 +4026,6 @@ export const meeting = $root.meeting = (() => {
|
|
|
4540
4026
|
Participant.prototype.toJSON = function toJSON() {
|
|
4541
4027
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
4542
4028
|
};
|
|
4543
|
-
Participant.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
4544
|
-
if (typeUrlPrefix === undefined) {
|
|
4545
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
4546
|
-
}
|
|
4547
|
-
return typeUrlPrefix + "/meeting.Participant";
|
|
4548
|
-
};
|
|
4549
4029
|
return Participant;
|
|
4550
4030
|
}();
|
|
4551
4031
|
meeting.Update = function () {
|
|
@@ -4574,15 +4054,11 @@ export const meeting = $root.meeting = (() => {
|
|
|
4574
4054
|
var t = r.uint32();
|
|
4575
4055
|
switch (t >>> 3) {
|
|
4576
4056
|
case 2:
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
break;
|
|
4580
|
-
}
|
|
4057
|
+
m.userId = r.string();
|
|
4058
|
+
break;
|
|
4581
4059
|
case 5:
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
break;
|
|
4585
|
-
}
|
|
4060
|
+
m.image = r.bytes();
|
|
4061
|
+
break;
|
|
4586
4062
|
default:
|
|
4587
4063
|
r.skipType(t & 7);
|
|
4588
4064
|
break;
|
|
@@ -4611,7 +4087,7 @@ export const meeting = $root.meeting = (() => {
|
|
|
4611
4087
|
m.userId = String(d.userId);
|
|
4612
4088
|
}
|
|
4613
4089
|
if (d.image != null) {
|
|
4614
|
-
if (typeof d.image === "string") $util.base64.decode(d.image, m.image = $util.newBuffer($util.base64.length(d.image)), 0);else if (d.image.length
|
|
4090
|
+
if (typeof d.image === "string") $util.base64.decode(d.image, m.image = $util.newBuffer($util.base64.length(d.image)), 0);else if (d.image.length) m.image = d.image;
|
|
4615
4091
|
}
|
|
4616
4092
|
return m;
|
|
4617
4093
|
};
|
|
@@ -4636,12 +4112,6 @@ export const meeting = $root.meeting = (() => {
|
|
|
4636
4112
|
Update.prototype.toJSON = function toJSON() {
|
|
4637
4113
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
4638
4114
|
};
|
|
4639
|
-
Update.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
4640
|
-
if (typeUrlPrefix === undefined) {
|
|
4641
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
4642
|
-
}
|
|
4643
|
-
return typeUrlPrefix + "/meeting.Update";
|
|
4644
|
-
};
|
|
4645
4115
|
return Update;
|
|
4646
4116
|
}();
|
|
4647
4117
|
meeting.Drawing = function () {
|
|
@@ -4670,15 +4140,11 @@ export const meeting = $root.meeting = (() => {
|
|
|
4670
4140
|
var t = r.uint32();
|
|
4671
4141
|
switch (t >>> 3) {
|
|
4672
4142
|
case 2:
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
break;
|
|
4676
|
-
}
|
|
4143
|
+
m.userId = r.string();
|
|
4144
|
+
break;
|
|
4677
4145
|
case 4:
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
break;
|
|
4681
|
-
}
|
|
4146
|
+
m.data = r.string();
|
|
4147
|
+
break;
|
|
4682
4148
|
default:
|
|
4683
4149
|
r.skipType(t & 7);
|
|
4684
4150
|
break;
|
|
@@ -4729,12 +4195,6 @@ export const meeting = $root.meeting = (() => {
|
|
|
4729
4195
|
Drawing.prototype.toJSON = function toJSON() {
|
|
4730
4196
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
4731
4197
|
};
|
|
4732
|
-
Drawing.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
4733
|
-
if (typeUrlPrefix === undefined) {
|
|
4734
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
4735
|
-
}
|
|
4736
|
-
return typeUrlPrefix + "/meeting.Drawing";
|
|
4737
|
-
};
|
|
4738
4198
|
return Drawing;
|
|
4739
4199
|
}();
|
|
4740
4200
|
meeting.MousePointer = function () {
|
|
@@ -4767,25 +4227,17 @@ export const meeting = $root.meeting = (() => {
|
|
|
4767
4227
|
var t = r.uint32();
|
|
4768
4228
|
switch (t >>> 3) {
|
|
4769
4229
|
case 2:
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
break;
|
|
4773
|
-
}
|
|
4230
|
+
m.userId = r.string();
|
|
4231
|
+
break;
|
|
4774
4232
|
case 4:
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
break;
|
|
4778
|
-
}
|
|
4233
|
+
m.x = r.int32();
|
|
4234
|
+
break;
|
|
4779
4235
|
case 5:
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
{
|
|
4786
|
-
m.email = r.string();
|
|
4787
|
-
break;
|
|
4788
|
-
}
|
|
4236
|
+
m.y = r.int32();
|
|
4237
|
+
break;
|
|
4238
|
+
case 6:
|
|
4239
|
+
m.email = r.string();
|
|
4240
|
+
break;
|
|
4789
4241
|
default:
|
|
4790
4242
|
r.skipType(t & 7);
|
|
4791
4243
|
break;
|
|
@@ -4856,12 +4308,6 @@ export const meeting = $root.meeting = (() => {
|
|
|
4856
4308
|
MousePointer.prototype.toJSON = function toJSON() {
|
|
4857
4309
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
4858
4310
|
};
|
|
4859
|
-
MousePointer.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
4860
|
-
if (typeUrlPrefix === undefined) {
|
|
4861
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
4862
|
-
}
|
|
4863
|
-
return typeUrlPrefix + "/meeting.MousePointer";
|
|
4864
|
-
};
|
|
4865
4311
|
return MousePointer;
|
|
4866
4312
|
}();
|
|
4867
4313
|
meeting.IndexPointer = function () {
|
|
@@ -4894,25 +4340,17 @@ export const meeting = $root.meeting = (() => {
|
|
|
4894
4340
|
var t = r.uint32();
|
|
4895
4341
|
switch (t >>> 3) {
|
|
4896
4342
|
case 2:
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
break;
|
|
4900
|
-
}
|
|
4343
|
+
m.userId = r.string();
|
|
4344
|
+
break;
|
|
4901
4345
|
case 4:
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
break;
|
|
4905
|
-
}
|
|
4346
|
+
m.x = r.int32();
|
|
4347
|
+
break;
|
|
4906
4348
|
case 5:
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
break;
|
|
4910
|
-
}
|
|
4349
|
+
m.y = r.int32();
|
|
4350
|
+
break;
|
|
4911
4351
|
case 6:
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
break;
|
|
4915
|
-
}
|
|
4352
|
+
m.email = r.string();
|
|
4353
|
+
break;
|
|
4916
4354
|
default:
|
|
4917
4355
|
r.skipType(t & 7);
|
|
4918
4356
|
break;
|
|
@@ -4983,12 +4421,6 @@ export const meeting = $root.meeting = (() => {
|
|
|
4983
4421
|
IndexPointer.prototype.toJSON = function toJSON() {
|
|
4984
4422
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
4985
4423
|
};
|
|
4986
|
-
IndexPointer.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
4987
|
-
if (typeUrlPrefix === undefined) {
|
|
4988
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
4989
|
-
}
|
|
4990
|
-
return typeUrlPrefix + "/meeting.IndexPointer";
|
|
4991
|
-
};
|
|
4992
4424
|
return IndexPointer;
|
|
4993
4425
|
}();
|
|
4994
4426
|
meeting.ImageAck = function () {
|
|
@@ -5015,10 +4447,8 @@ export const meeting = $root.meeting = (() => {
|
|
|
5015
4447
|
var t = r.uint32();
|
|
5016
4448
|
switch (t >>> 3) {
|
|
5017
4449
|
case 2:
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
break;
|
|
5021
|
-
}
|
|
4450
|
+
m.userId = r.string();
|
|
4451
|
+
break;
|
|
5022
4452
|
default:
|
|
5023
4453
|
r.skipType(t & 7);
|
|
5024
4454
|
break;
|
|
@@ -5059,12 +4489,6 @@ export const meeting = $root.meeting = (() => {
|
|
|
5059
4489
|
ImageAck.prototype.toJSON = function toJSON() {
|
|
5060
4490
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
5061
4491
|
};
|
|
5062
|
-
ImageAck.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
5063
|
-
if (typeUrlPrefix === undefined) {
|
|
5064
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
5065
|
-
}
|
|
5066
|
-
return typeUrlPrefix + "/meeting.ImageAck";
|
|
5067
|
-
};
|
|
5068
4492
|
return ImageAck;
|
|
5069
4493
|
}();
|
|
5070
4494
|
meeting.Message = function () {
|
|
@@ -5108,40 +4532,26 @@ export const meeting = $root.meeting = (() => {
|
|
|
5108
4532
|
var t = r.uint32();
|
|
5109
4533
|
switch (t >>> 3) {
|
|
5110
4534
|
case 1:
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
break;
|
|
5114
|
-
}
|
|
4535
|
+
m.join = $root.meeting.Participant.decode(r, r.uint32());
|
|
4536
|
+
break;
|
|
5115
4537
|
case 2:
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
break;
|
|
5119
|
-
}
|
|
4538
|
+
m.leave = $root.meeting.Participant.decode(r, r.uint32());
|
|
4539
|
+
break;
|
|
5120
4540
|
case 3:
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
break;
|
|
5124
|
-
}
|
|
4541
|
+
m.update = $root.meeting.Update.decode(r, r.uint32());
|
|
4542
|
+
break;
|
|
5125
4543
|
case 6:
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
break;
|
|
5129
|
-
}
|
|
4544
|
+
m.drawing = $root.meeting.Drawing.decode(r, r.uint32());
|
|
4545
|
+
break;
|
|
5130
4546
|
case 7:
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
break;
|
|
5134
|
-
}
|
|
4547
|
+
m.mousePointer = $root.meeting.MousePointer.decode(r, r.uint32());
|
|
4548
|
+
break;
|
|
5135
4549
|
case 8:
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
break;
|
|
5139
|
-
}
|
|
4550
|
+
m.imageAck = $root.meeting.ImageAck.decode(r, r.uint32());
|
|
4551
|
+
break;
|
|
5140
4552
|
case 9:
|
|
5141
|
-
|
|
5142
|
-
|
|
5143
|
-
break;
|
|
5144
|
-
}
|
|
4553
|
+
m.indexPointer = $root.meeting.IndexPointer.decode(r, r.uint32());
|
|
4554
|
+
break;
|
|
5145
4555
|
default:
|
|
5146
4556
|
r.skipType(t & 7);
|
|
5147
4557
|
break;
|
|
@@ -5282,12 +4692,6 @@ export const meeting = $root.meeting = (() => {
|
|
|
5282
4692
|
Message.prototype.toJSON = function toJSON() {
|
|
5283
4693
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
5284
4694
|
};
|
|
5285
|
-
Message.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
5286
|
-
if (typeUrlPrefix === undefined) {
|
|
5287
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
5288
|
-
}
|
|
5289
|
-
return typeUrlPrefix + "/meeting.Message";
|
|
5290
|
-
};
|
|
5291
4695
|
return Message;
|
|
5292
4696
|
}();
|
|
5293
4697
|
meeting.SharePermission = function () {
|
|
@@ -5347,35 +4751,23 @@ export const meeting = $root.meeting = (() => {
|
|
|
5347
4751
|
var t = r.uint32();
|
|
5348
4752
|
switch (t >>> 3) {
|
|
5349
4753
|
case 1:
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
break;
|
|
5353
|
-
}
|
|
4754
|
+
m.id = r.string();
|
|
4755
|
+
break;
|
|
5354
4756
|
case 2:
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
break;
|
|
5358
|
-
}
|
|
4757
|
+
m.title = r.string();
|
|
4758
|
+
break;
|
|
5359
4759
|
case 6:
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
break;
|
|
5363
|
-
}
|
|
4760
|
+
m.ownerId = r.string();
|
|
4761
|
+
break;
|
|
5364
4762
|
case 7:
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
break;
|
|
5368
|
-
}
|
|
4763
|
+
m.creationTime = r.int64();
|
|
4764
|
+
break;
|
|
5369
4765
|
case 8:
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
break;
|
|
5373
|
-
}
|
|
4766
|
+
m.capacity = r.int32();
|
|
4767
|
+
break;
|
|
5374
4768
|
case 9:
|
|
5375
|
-
|
|
5376
|
-
|
|
5377
|
-
break;
|
|
5378
|
-
}
|
|
4769
|
+
m.isTemporary = r.bool();
|
|
4770
|
+
break;
|
|
5379
4771
|
default:
|
|
5380
4772
|
r.skipType(t & 7);
|
|
5381
4773
|
break;
|
|
@@ -5469,12 +4861,6 @@ export const meeting = $root.meeting = (() => {
|
|
|
5469
4861
|
Meeting.prototype.toJSON = function toJSON() {
|
|
5470
4862
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
5471
4863
|
};
|
|
5472
|
-
Meeting.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
5473
|
-
if (typeUrlPrefix === undefined) {
|
|
5474
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
5475
|
-
}
|
|
5476
|
-
return typeUrlPrefix + "/meeting.Meeting";
|
|
5477
|
-
};
|
|
5478
4864
|
return Meeting;
|
|
5479
4865
|
}();
|
|
5480
4866
|
meeting.SharedMeeting = function () {
|
|
@@ -5503,243 +4889,26 @@ export const meeting = $root.meeting = (() => {
|
|
|
5503
4889
|
};
|
|
5504
4890
|
SharedMeeting.decode = function decode(r, l) {
|
|
5505
4891
|
if (!(r instanceof $Reader)) r = $Reader.create(r);
|
|
5506
|
-
var c = l === undefined ? r.len : r.pos + l,
|
|
5507
|
-
m = new $root.meeting.SharedMeeting();
|
|
5508
|
-
while (r.pos < c) {
|
|
5509
|
-
var t = r.uint32();
|
|
5510
|
-
switch (t >>> 3) {
|
|
5511
|
-
case 1:
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
5518
|
-
|
|
5519
|
-
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
case 4:
|
|
5527
|
-
{
|
|
5528
|
-
m.email = r.string();
|
|
5529
|
-
break;
|
|
5530
|
-
}
|
|
5531
|
-
case 5:
|
|
5532
|
-
{
|
|
5533
|
-
m.permission = r.int32();
|
|
5534
|
-
break;
|
|
5535
|
-
}
|
|
5536
|
-
default:
|
|
5537
|
-
r.skipType(t & 7);
|
|
5538
|
-
break;
|
|
5539
|
-
}
|
|
5540
|
-
}
|
|
5541
|
-
return m;
|
|
5542
|
-
};
|
|
5543
|
-
SharedMeeting.decodeDelimited = function decodeDelimited(reader) {
|
|
5544
|
-
if (!(reader instanceof $Reader)) reader = new $Reader(reader);
|
|
5545
|
-
return this.decode(reader, reader.uint32());
|
|
5546
|
-
};
|
|
5547
|
-
SharedMeeting.verify = function verify(m) {
|
|
5548
|
-
if (typeof m !== "object" || m === null) return "object expected";
|
|
5549
|
-
if (m.id != null && m.hasOwnProperty("id")) {
|
|
5550
|
-
if (!$util.isInteger(m.id)) return "id: integer expected";
|
|
5551
|
-
}
|
|
5552
|
-
if (m.userId != null && m.hasOwnProperty("userId")) {
|
|
5553
|
-
if (!$util.isString(m.userId)) return "userId: string expected";
|
|
5554
|
-
}
|
|
5555
|
-
if (m.meetingId != null && m.hasOwnProperty("meetingId")) {
|
|
5556
|
-
if (!$util.isInteger(m.meetingId)) return "meetingId: integer expected";
|
|
5557
|
-
}
|
|
5558
|
-
if (m.email != null && m.hasOwnProperty("email")) {
|
|
5559
|
-
if (!$util.isString(m.email)) return "email: string expected";
|
|
5560
|
-
}
|
|
5561
|
-
if (m.permission != null && m.hasOwnProperty("permission")) {
|
|
5562
|
-
switch (m.permission) {
|
|
5563
|
-
default:
|
|
5564
|
-
return "permission: enum value expected";
|
|
5565
|
-
case 0:
|
|
5566
|
-
case 1:
|
|
5567
|
-
case 2:
|
|
5568
|
-
break;
|
|
5569
|
-
}
|
|
5570
|
-
}
|
|
5571
|
-
return null;
|
|
5572
|
-
};
|
|
5573
|
-
SharedMeeting.fromObject = function fromObject(d) {
|
|
5574
|
-
if (d instanceof $root.meeting.SharedMeeting) return d;
|
|
5575
|
-
var m = new $root.meeting.SharedMeeting();
|
|
5576
|
-
if (d.id != null) {
|
|
5577
|
-
m.id = d.id | 0;
|
|
5578
|
-
}
|
|
5579
|
-
if (d.userId != null) {
|
|
5580
|
-
m.userId = String(d.userId);
|
|
5581
|
-
}
|
|
5582
|
-
if (d.meetingId != null) {
|
|
5583
|
-
m.meetingId = d.meetingId | 0;
|
|
5584
|
-
}
|
|
5585
|
-
if (d.email != null) {
|
|
5586
|
-
m.email = String(d.email);
|
|
5587
|
-
}
|
|
5588
|
-
switch (d.permission) {
|
|
5589
|
-
default:
|
|
5590
|
-
if (typeof d.permission === "number") {
|
|
5591
|
-
m.permission = d.permission;
|
|
5592
|
-
break;
|
|
5593
|
-
}
|
|
5594
|
-
break;
|
|
5595
|
-
case "UNKNOWN_SHARE_TYPE":
|
|
5596
|
-
case 0:
|
|
5597
|
-
m.permission = 0;
|
|
5598
|
-
break;
|
|
5599
|
-
case "SHARE_READ":
|
|
5600
|
-
case 1:
|
|
5601
|
-
m.permission = 1;
|
|
5602
|
-
break;
|
|
5603
|
-
case "SHARE_WRITE":
|
|
5604
|
-
case 2:
|
|
5605
|
-
m.permission = 2;
|
|
5606
|
-
break;
|
|
5607
|
-
}
|
|
5608
|
-
return m;
|
|
5609
|
-
};
|
|
5610
|
-
SharedMeeting.toObject = function toObject(m, o) {
|
|
5611
|
-
if (!o) o = {};
|
|
5612
|
-
var d = {};
|
|
5613
|
-
if (o.defaults) {
|
|
5614
|
-
d.id = 0;
|
|
5615
|
-
d.userId = "";
|
|
5616
|
-
d.meetingId = 0;
|
|
5617
|
-
d.email = "";
|
|
5618
|
-
d.permission = o.enums === String ? "UNKNOWN_SHARE_TYPE" : 0;
|
|
5619
|
-
}
|
|
5620
|
-
if (m.id != null && m.hasOwnProperty("id")) {
|
|
5621
|
-
d.id = m.id;
|
|
5622
|
-
}
|
|
5623
|
-
if (m.userId != null && m.hasOwnProperty("userId")) {
|
|
5624
|
-
d.userId = m.userId;
|
|
5625
|
-
}
|
|
5626
|
-
if (m.meetingId != null && m.hasOwnProperty("meetingId")) {
|
|
5627
|
-
d.meetingId = m.meetingId;
|
|
5628
|
-
}
|
|
5629
|
-
if (m.email != null && m.hasOwnProperty("email")) {
|
|
5630
|
-
d.email = m.email;
|
|
5631
|
-
}
|
|
5632
|
-
if (m.permission != null && m.hasOwnProperty("permission")) {
|
|
5633
|
-
d.permission = o.enums === String ? $root.meeting.SharePermission[m.permission] === undefined ? m.permission : $root.meeting.SharePermission[m.permission] : m.permission;
|
|
5634
|
-
}
|
|
5635
|
-
return d;
|
|
5636
|
-
};
|
|
5637
|
-
SharedMeeting.prototype.toJSON = function toJSON() {
|
|
5638
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
5639
|
-
};
|
|
5640
|
-
SharedMeeting.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
5641
|
-
if (typeUrlPrefix === undefined) {
|
|
5642
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
5643
|
-
}
|
|
5644
|
-
return typeUrlPrefix + "/meeting.SharedMeeting";
|
|
5645
|
-
};
|
|
5646
|
-
return SharedMeeting;
|
|
5647
|
-
}();
|
|
5648
|
-
meeting.MeetingClaims = function () {
|
|
5649
|
-
function MeetingClaims(p) {
|
|
5650
|
-
this.auxilary = {};
|
|
5651
|
-
if (p) for (var ks = Object.keys(p), i = 0; i < ks.length; ++i) if (p[ks[i]] != null) this[ks[i]] = p[ks[i]];
|
|
5652
|
-
}
|
|
5653
|
-
MeetingClaims.prototype.meetingId = "";
|
|
5654
|
-
MeetingClaims.prototype.ownerId = "";
|
|
5655
|
-
MeetingClaims.prototype.capacity = 0;
|
|
5656
|
-
MeetingClaims.prototype.auxilary = $util.emptyObject;
|
|
5657
|
-
MeetingClaims.prototype.title = "";
|
|
5658
|
-
MeetingClaims.prototype.isTemporary = false;
|
|
5659
|
-
MeetingClaims.prototype.permission = 0;
|
|
5660
|
-
MeetingClaims.create = function create(properties) {
|
|
5661
|
-
return new MeetingClaims(properties);
|
|
5662
|
-
};
|
|
5663
|
-
MeetingClaims.encode = function encode(m, w) {
|
|
5664
|
-
if (!w) w = $Writer.create();
|
|
5665
|
-
if (m.meetingId != null && Object.hasOwnProperty.call(m, "meetingId")) w.uint32(10).string(m.meetingId);
|
|
5666
|
-
if (m.ownerId != null && Object.hasOwnProperty.call(m, "ownerId")) w.uint32(26).string(m.ownerId);
|
|
5667
|
-
if (m.capacity != null && Object.hasOwnProperty.call(m, "capacity")) w.uint32(32).int32(m.capacity);
|
|
5668
|
-
if (m.auxilary != null && Object.hasOwnProperty.call(m, "auxilary")) {
|
|
5669
|
-
for (var ks = Object.keys(m.auxilary), i = 0; i < ks.length; ++i) {
|
|
5670
|
-
w.uint32(42).fork().uint32(10).string(ks[i]).uint32(18).string(m.auxilary[ks[i]]).ldelim();
|
|
5671
|
-
}
|
|
5672
|
-
}
|
|
5673
|
-
if (m.title != null && Object.hasOwnProperty.call(m, "title")) w.uint32(50).string(m.title);
|
|
5674
|
-
if (m.isTemporary != null && Object.hasOwnProperty.call(m, "isTemporary")) w.uint32(56).bool(m.isTemporary);
|
|
5675
|
-
if (m.permission != null && Object.hasOwnProperty.call(m, "permission")) w.uint32(72).uint32(m.permission);
|
|
5676
|
-
return w;
|
|
5677
|
-
};
|
|
5678
|
-
MeetingClaims.encodeDelimited = function encodeDelimited(message, writer) {
|
|
5679
|
-
return this.encode(message, writer).ldelim();
|
|
5680
|
-
};
|
|
5681
|
-
MeetingClaims.decode = function decode(r, l) {
|
|
5682
|
-
if (!(r instanceof $Reader)) r = $Reader.create(r);
|
|
5683
|
-
var c = l === undefined ? r.len : r.pos + l,
|
|
5684
|
-
m = new $root.meeting.MeetingClaims(),
|
|
5685
|
-
k,
|
|
5686
|
-
value;
|
|
5687
|
-
while (r.pos < c) {
|
|
5688
|
-
var t = r.uint32();
|
|
5689
|
-
switch (t >>> 3) {
|
|
5690
|
-
case 1:
|
|
5691
|
-
{
|
|
5692
|
-
m.meetingId = r.string();
|
|
5693
|
-
break;
|
|
5694
|
-
}
|
|
5695
|
-
case 3:
|
|
5696
|
-
{
|
|
5697
|
-
m.ownerId = r.string();
|
|
5698
|
-
break;
|
|
5699
|
-
}
|
|
5700
|
-
case 4:
|
|
5701
|
-
{
|
|
5702
|
-
m.capacity = r.int32();
|
|
5703
|
-
break;
|
|
5704
|
-
}
|
|
5705
|
-
case 5:
|
|
5706
|
-
{
|
|
5707
|
-
if (m.auxilary === $util.emptyObject) m.auxilary = {};
|
|
5708
|
-
var c2 = r.uint32() + r.pos;
|
|
5709
|
-
k = "";
|
|
5710
|
-
value = "";
|
|
5711
|
-
while (r.pos < c2) {
|
|
5712
|
-
var tag2 = r.uint32();
|
|
5713
|
-
switch (tag2 >>> 3) {
|
|
5714
|
-
case 1:
|
|
5715
|
-
k = r.string();
|
|
5716
|
-
break;
|
|
5717
|
-
case 2:
|
|
5718
|
-
value = r.string();
|
|
5719
|
-
break;
|
|
5720
|
-
default:
|
|
5721
|
-
r.skipType(tag2 & 7);
|
|
5722
|
-
break;
|
|
5723
|
-
}
|
|
5724
|
-
}
|
|
5725
|
-
m.auxilary[k] = value;
|
|
5726
|
-
break;
|
|
5727
|
-
}
|
|
5728
|
-
case 6:
|
|
5729
|
-
{
|
|
5730
|
-
m.title = r.string();
|
|
5731
|
-
break;
|
|
5732
|
-
}
|
|
5733
|
-
case 7:
|
|
5734
|
-
{
|
|
5735
|
-
m.isTemporary = r.bool();
|
|
5736
|
-
break;
|
|
5737
|
-
}
|
|
5738
|
-
case 9:
|
|
5739
|
-
{
|
|
5740
|
-
m.permission = r.uint32();
|
|
5741
|
-
break;
|
|
5742
|
-
}
|
|
4892
|
+
var c = l === undefined ? r.len : r.pos + l,
|
|
4893
|
+
m = new $root.meeting.SharedMeeting();
|
|
4894
|
+
while (r.pos < c) {
|
|
4895
|
+
var t = r.uint32();
|
|
4896
|
+
switch (t >>> 3) {
|
|
4897
|
+
case 1:
|
|
4898
|
+
m.id = r.int32();
|
|
4899
|
+
break;
|
|
4900
|
+
case 2:
|
|
4901
|
+
m.userId = r.string();
|
|
4902
|
+
break;
|
|
4903
|
+
case 3:
|
|
4904
|
+
m.meetingId = r.int32();
|
|
4905
|
+
break;
|
|
4906
|
+
case 4:
|
|
4907
|
+
m.email = r.string();
|
|
4908
|
+
break;
|
|
4909
|
+
case 5:
|
|
4910
|
+
m.permission = r.int32();
|
|
4911
|
+
break;
|
|
5743
4912
|
default:
|
|
5744
4913
|
r.skipType(t & 7);
|
|
5745
4914
|
break;
|
|
@@ -5747,120 +4916,98 @@ export const meeting = $root.meeting = (() => {
|
|
|
5747
4916
|
}
|
|
5748
4917
|
return m;
|
|
5749
4918
|
};
|
|
5750
|
-
|
|
4919
|
+
SharedMeeting.decodeDelimited = function decodeDelimited(reader) {
|
|
5751
4920
|
if (!(reader instanceof $Reader)) reader = new $Reader(reader);
|
|
5752
4921
|
return this.decode(reader, reader.uint32());
|
|
5753
4922
|
};
|
|
5754
|
-
|
|
4923
|
+
SharedMeeting.verify = function verify(m) {
|
|
5755
4924
|
if (typeof m !== "object" || m === null) return "object expected";
|
|
5756
|
-
if (m.
|
|
5757
|
-
if (!$util.
|
|
5758
|
-
}
|
|
5759
|
-
if (m.ownerId != null && m.hasOwnProperty("ownerId")) {
|
|
5760
|
-
if (!$util.isString(m.ownerId)) return "ownerId: string expected";
|
|
5761
|
-
}
|
|
5762
|
-
if (m.capacity != null && m.hasOwnProperty("capacity")) {
|
|
5763
|
-
if (!$util.isInteger(m.capacity)) return "capacity: integer expected";
|
|
4925
|
+
if (m.id != null && m.hasOwnProperty("id")) {
|
|
4926
|
+
if (!$util.isInteger(m.id)) return "id: integer expected";
|
|
5764
4927
|
}
|
|
5765
|
-
if (m.
|
|
5766
|
-
if (!$util.
|
|
5767
|
-
var k = Object.keys(m.auxilary);
|
|
5768
|
-
for (var i = 0; i < k.length; ++i) {
|
|
5769
|
-
if (!$util.isString(m.auxilary[k[i]])) return "auxilary: string{k:string} expected";
|
|
5770
|
-
}
|
|
4928
|
+
if (m.userId != null && m.hasOwnProperty("userId")) {
|
|
4929
|
+
if (!$util.isString(m.userId)) return "userId: string expected";
|
|
5771
4930
|
}
|
|
5772
|
-
if (m.
|
|
5773
|
-
if (!$util.
|
|
4931
|
+
if (m.meetingId != null && m.hasOwnProperty("meetingId")) {
|
|
4932
|
+
if (!$util.isInteger(m.meetingId)) return "meetingId: integer expected";
|
|
5774
4933
|
}
|
|
5775
|
-
if (m.
|
|
5776
|
-
if (
|
|
4934
|
+
if (m.email != null && m.hasOwnProperty("email")) {
|
|
4935
|
+
if (!$util.isString(m.email)) return "email: string expected";
|
|
5777
4936
|
}
|
|
5778
4937
|
if (m.permission != null && m.hasOwnProperty("permission")) {
|
|
5779
|
-
|
|
4938
|
+
switch (m.permission) {
|
|
4939
|
+
default:
|
|
4940
|
+
return "permission: enum value expected";
|
|
4941
|
+
case 0:
|
|
4942
|
+
case 1:
|
|
4943
|
+
case 2:
|
|
4944
|
+
break;
|
|
4945
|
+
}
|
|
5780
4946
|
}
|
|
5781
4947
|
return null;
|
|
5782
4948
|
};
|
|
5783
|
-
|
|
5784
|
-
if (d instanceof $root.meeting.
|
|
5785
|
-
var m = new $root.meeting.
|
|
5786
|
-
if (d.
|
|
5787
|
-
m.
|
|
5788
|
-
}
|
|
5789
|
-
if (d.ownerId != null) {
|
|
5790
|
-
m.ownerId = String(d.ownerId);
|
|
5791
|
-
}
|
|
5792
|
-
if (d.capacity != null) {
|
|
5793
|
-
m.capacity = d.capacity | 0;
|
|
4949
|
+
SharedMeeting.fromObject = function fromObject(d) {
|
|
4950
|
+
if (d instanceof $root.meeting.SharedMeeting) return d;
|
|
4951
|
+
var m = new $root.meeting.SharedMeeting();
|
|
4952
|
+
if (d.id != null) {
|
|
4953
|
+
m.id = d.id | 0;
|
|
5794
4954
|
}
|
|
5795
|
-
if (d.
|
|
5796
|
-
|
|
5797
|
-
m.auxilary = {};
|
|
5798
|
-
for (var ks = Object.keys(d.auxilary), i = 0; i < ks.length; ++i) {
|
|
5799
|
-
m.auxilary[ks[i]] = String(d.auxilary[ks[i]]);
|
|
5800
|
-
}
|
|
4955
|
+
if (d.userId != null) {
|
|
4956
|
+
m.userId = String(d.userId);
|
|
5801
4957
|
}
|
|
5802
|
-
if (d.
|
|
5803
|
-
m.
|
|
4958
|
+
if (d.meetingId != null) {
|
|
4959
|
+
m.meetingId = d.meetingId | 0;
|
|
5804
4960
|
}
|
|
5805
|
-
if (d.
|
|
5806
|
-
m.
|
|
4961
|
+
if (d.email != null) {
|
|
4962
|
+
m.email = String(d.email);
|
|
5807
4963
|
}
|
|
5808
|
-
|
|
5809
|
-
|
|
4964
|
+
switch (d.permission) {
|
|
4965
|
+
case "UNKNOWN_SHARE_TYPE":
|
|
4966
|
+
case 0:
|
|
4967
|
+
m.permission = 0;
|
|
4968
|
+
break;
|
|
4969
|
+
case "SHARE_READ":
|
|
4970
|
+
case 1:
|
|
4971
|
+
m.permission = 1;
|
|
4972
|
+
break;
|
|
4973
|
+
case "SHARE_WRITE":
|
|
4974
|
+
case 2:
|
|
4975
|
+
m.permission = 2;
|
|
4976
|
+
break;
|
|
5810
4977
|
}
|
|
5811
4978
|
return m;
|
|
5812
4979
|
};
|
|
5813
|
-
|
|
4980
|
+
SharedMeeting.toObject = function toObject(m, o) {
|
|
5814
4981
|
if (!o) o = {};
|
|
5815
4982
|
var d = {};
|
|
5816
|
-
if (o.objects || o.defaults) {
|
|
5817
|
-
d.auxilary = {};
|
|
5818
|
-
}
|
|
5819
4983
|
if (o.defaults) {
|
|
5820
|
-
d.
|
|
5821
|
-
d.
|
|
5822
|
-
d.
|
|
5823
|
-
d.
|
|
5824
|
-
d.
|
|
5825
|
-
d.permission = 0;
|
|
5826
|
-
}
|
|
5827
|
-
if (m.meetingId != null && m.hasOwnProperty("meetingId")) {
|
|
5828
|
-
d.meetingId = m.meetingId;
|
|
5829
|
-
}
|
|
5830
|
-
if (m.ownerId != null && m.hasOwnProperty("ownerId")) {
|
|
5831
|
-
d.ownerId = m.ownerId;
|
|
4984
|
+
d.id = 0;
|
|
4985
|
+
d.userId = "";
|
|
4986
|
+
d.meetingId = 0;
|
|
4987
|
+
d.email = "";
|
|
4988
|
+
d.permission = o.enums === String ? "UNKNOWN_SHARE_TYPE" : 0;
|
|
5832
4989
|
}
|
|
5833
|
-
if (m.
|
|
5834
|
-
d.
|
|
4990
|
+
if (m.id != null && m.hasOwnProperty("id")) {
|
|
4991
|
+
d.id = m.id;
|
|
5835
4992
|
}
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
d.auxilary = {};
|
|
5839
|
-
for (var j = 0; j < ks2.length; ++j) {
|
|
5840
|
-
d.auxilary[ks2[j]] = m.auxilary[ks2[j]];
|
|
5841
|
-
}
|
|
4993
|
+
if (m.userId != null && m.hasOwnProperty("userId")) {
|
|
4994
|
+
d.userId = m.userId;
|
|
5842
4995
|
}
|
|
5843
|
-
if (m.
|
|
5844
|
-
d.
|
|
4996
|
+
if (m.meetingId != null && m.hasOwnProperty("meetingId")) {
|
|
4997
|
+
d.meetingId = m.meetingId;
|
|
5845
4998
|
}
|
|
5846
|
-
if (m.
|
|
5847
|
-
d.
|
|
4999
|
+
if (m.email != null && m.hasOwnProperty("email")) {
|
|
5000
|
+
d.email = m.email;
|
|
5848
5001
|
}
|
|
5849
5002
|
if (m.permission != null && m.hasOwnProperty("permission")) {
|
|
5850
|
-
d.permission = m.permission;
|
|
5003
|
+
d.permission = o.enums === String ? $root.meeting.SharePermission[m.permission] : m.permission;
|
|
5851
5004
|
}
|
|
5852
5005
|
return d;
|
|
5853
5006
|
};
|
|
5854
|
-
|
|
5007
|
+
SharedMeeting.prototype.toJSON = function toJSON() {
|
|
5855
5008
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
5856
5009
|
};
|
|
5857
|
-
|
|
5858
|
-
if (typeUrlPrefix === undefined) {
|
|
5859
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
5860
|
-
}
|
|
5861
|
-
return typeUrlPrefix + "/meeting.MeetingClaims";
|
|
5862
|
-
};
|
|
5863
|
-
return MeetingClaims;
|
|
5010
|
+
return SharedMeeting;
|
|
5864
5011
|
}();
|
|
5865
5012
|
meeting.ShortUrlDetails = function () {
|
|
5866
5013
|
function ShortUrlDetails(p) {
|
|
@@ -5888,15 +5035,11 @@ export const meeting = $root.meeting = (() => {
|
|
|
5888
5035
|
var t = r.uint32();
|
|
5889
5036
|
switch (t >>> 3) {
|
|
5890
5037
|
case 1:
|
|
5891
|
-
|
|
5892
|
-
|
|
5893
|
-
break;
|
|
5894
|
-
}
|
|
5038
|
+
m.fullUrl = r.string();
|
|
5039
|
+
break;
|
|
5895
5040
|
case 2:
|
|
5896
|
-
|
|
5897
|
-
|
|
5898
|
-
break;
|
|
5899
|
-
}
|
|
5041
|
+
m.password = r.string();
|
|
5042
|
+
break;
|
|
5900
5043
|
default:
|
|
5901
5044
|
r.skipType(t & 7);
|
|
5902
5045
|
break;
|
|
@@ -5947,12 +5090,6 @@ export const meeting = $root.meeting = (() => {
|
|
|
5947
5090
|
ShortUrlDetails.prototype.toJSON = function toJSON() {
|
|
5948
5091
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
5949
5092
|
};
|
|
5950
|
-
ShortUrlDetails.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
5951
|
-
if (typeUrlPrefix === undefined) {
|
|
5952
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
5953
|
-
}
|
|
5954
|
-
return typeUrlPrefix + "/meeting.ShortUrlDetails";
|
|
5955
|
-
};
|
|
5956
5093
|
return ShortUrlDetails;
|
|
5957
5094
|
}();
|
|
5958
5095
|
return meeting;
|
|
@@ -5985,15 +5122,11 @@ export const cilix = $root.cilix = (() => {
|
|
|
5985
5122
|
var t = r.uint32();
|
|
5986
5123
|
switch (t >>> 3) {
|
|
5987
5124
|
case 1:
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
break;
|
|
5991
|
-
}
|
|
5125
|
+
m.id = r.string();
|
|
5126
|
+
break;
|
|
5992
5127
|
case 2:
|
|
5993
|
-
|
|
5994
|
-
|
|
5995
|
-
break;
|
|
5996
|
-
}
|
|
5128
|
+
m.name = r.string();
|
|
5129
|
+
break;
|
|
5997
5130
|
default:
|
|
5998
5131
|
r.skipType(t & 7);
|
|
5999
5132
|
break;
|
|
@@ -6044,12 +5177,6 @@ export const cilix = $root.cilix = (() => {
|
|
|
6044
5177
|
CameraDescription.prototype.toJSON = function toJSON() {
|
|
6045
5178
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
6046
5179
|
};
|
|
6047
|
-
CameraDescription.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
6048
|
-
if (typeUrlPrefix === undefined) {
|
|
6049
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
6050
|
-
}
|
|
6051
|
-
return typeUrlPrefix + "/cilix.CameraDescription";
|
|
6052
|
-
};
|
|
6053
5180
|
return CameraDescription;
|
|
6054
5181
|
}();
|
|
6055
5182
|
cilix.StartRequest = function () {
|
|
@@ -6082,25 +5209,17 @@ export const cilix = $root.cilix = (() => {
|
|
|
6082
5209
|
var t = r.uint32();
|
|
6083
5210
|
switch (t >>> 3) {
|
|
6084
5211
|
case 2:
|
|
6085
|
-
|
|
6086
|
-
|
|
6087
|
-
break;
|
|
6088
|
-
}
|
|
5212
|
+
m.config = $root.jibb.ipsa.v1.Config.decode(r, r.uint32());
|
|
5213
|
+
break;
|
|
6089
5214
|
case 4:
|
|
6090
|
-
|
|
6091
|
-
|
|
6092
|
-
break;
|
|
6093
|
-
}
|
|
5215
|
+
m.runtimeConfig = $root.jibb.ipsa.v1.RuntimeConfig.decode(r, r.uint32());
|
|
5216
|
+
break;
|
|
6094
5217
|
case 5:
|
|
6095
|
-
|
|
6096
|
-
|
|
6097
|
-
break;
|
|
6098
|
-
}
|
|
5218
|
+
m.camera = $root.cilix.CameraDescription.decode(r, r.uint32());
|
|
5219
|
+
break;
|
|
6099
5220
|
case 6:
|
|
6100
|
-
|
|
6101
|
-
|
|
6102
|
-
break;
|
|
6103
|
-
}
|
|
5221
|
+
m.meetingToken = r.string();
|
|
5222
|
+
break;
|
|
6104
5223
|
default:
|
|
6105
5224
|
r.skipType(t & 7);
|
|
6106
5225
|
break;
|
|
@@ -6183,12 +5302,6 @@ export const cilix = $root.cilix = (() => {
|
|
|
6183
5302
|
StartRequest.prototype.toJSON = function toJSON() {
|
|
6184
5303
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
6185
5304
|
};
|
|
6186
|
-
StartRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
6187
|
-
if (typeUrlPrefix === undefined) {
|
|
6188
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
6189
|
-
}
|
|
6190
|
-
return typeUrlPrefix + "/cilix.StartRequest";
|
|
6191
|
-
};
|
|
6192
5305
|
return StartRequest;
|
|
6193
5306
|
}();
|
|
6194
5307
|
cilix.PreviewRequest = function () {
|
|
@@ -6215,10 +5328,8 @@ export const cilix = $root.cilix = (() => {
|
|
|
6215
5328
|
var t = r.uint32();
|
|
6216
5329
|
switch (t >>> 3) {
|
|
6217
5330
|
case 2:
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
break;
|
|
6221
|
-
}
|
|
5331
|
+
m.source = $root.cilix.CameraDescription.decode(r, r.uint32());
|
|
5332
|
+
break;
|
|
6222
5333
|
default:
|
|
6223
5334
|
r.skipType(t & 7);
|
|
6224
5335
|
break;
|
|
@@ -6263,12 +5374,6 @@ export const cilix = $root.cilix = (() => {
|
|
|
6263
5374
|
PreviewRequest.prototype.toJSON = function toJSON() {
|
|
6264
5375
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
6265
5376
|
};
|
|
6266
|
-
PreviewRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
6267
|
-
if (typeUrlPrefix === undefined) {
|
|
6268
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
6269
|
-
}
|
|
6270
|
-
return typeUrlPrefix + "/cilix.PreviewRequest";
|
|
6271
|
-
};
|
|
6272
5377
|
return PreviewRequest;
|
|
6273
5378
|
}();
|
|
6274
5379
|
cilix.PreviewResponse = function () {
|
|
@@ -6295,10 +5400,8 @@ export const cilix = $root.cilix = (() => {
|
|
|
6295
5400
|
var t = r.uint32();
|
|
6296
5401
|
switch (t >>> 3) {
|
|
6297
5402
|
case 1:
|
|
6298
|
-
|
|
6299
|
-
|
|
6300
|
-
break;
|
|
6301
|
-
}
|
|
5403
|
+
m.image = r.bytes();
|
|
5404
|
+
break;
|
|
6302
5405
|
default:
|
|
6303
5406
|
r.skipType(t & 7);
|
|
6304
5407
|
break;
|
|
@@ -6321,7 +5424,7 @@ export const cilix = $root.cilix = (() => {
|
|
|
6321
5424
|
if (d instanceof $root.cilix.PreviewResponse) return d;
|
|
6322
5425
|
var m = new $root.cilix.PreviewResponse();
|
|
6323
5426
|
if (d.image != null) {
|
|
6324
|
-
if (typeof d.image === "string") $util.base64.decode(d.image, m.image = $util.newBuffer($util.base64.length(d.image)), 0);else if (d.image.length
|
|
5427
|
+
if (typeof d.image === "string") $util.base64.decode(d.image, m.image = $util.newBuffer($util.base64.length(d.image)), 0);else if (d.image.length) m.image = d.image;
|
|
6325
5428
|
}
|
|
6326
5429
|
return m;
|
|
6327
5430
|
};
|
|
@@ -6342,12 +5445,6 @@ export const cilix = $root.cilix = (() => {
|
|
|
6342
5445
|
PreviewResponse.prototype.toJSON = function toJSON() {
|
|
6343
5446
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
6344
5447
|
};
|
|
6345
|
-
PreviewResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
6346
|
-
if (typeUrlPrefix === undefined) {
|
|
6347
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
6348
|
-
}
|
|
6349
|
-
return typeUrlPrefix + "/cilix.PreviewResponse";
|
|
6350
|
-
};
|
|
6351
5448
|
return PreviewResponse;
|
|
6352
5449
|
}();
|
|
6353
5450
|
cilix.GetCameraListResponse = function () {
|
|
@@ -6377,11 +5474,9 @@ export const cilix = $root.cilix = (() => {
|
|
|
6377
5474
|
var t = r.uint32();
|
|
6378
5475
|
switch (t >>> 3) {
|
|
6379
5476
|
case 1:
|
|
6380
|
-
|
|
6381
|
-
|
|
6382
|
-
|
|
6383
|
-
break;
|
|
6384
|
-
}
|
|
5477
|
+
if (!(m.items && m.items.length)) m.items = [];
|
|
5478
|
+
m.items.push($root.cilix.CameraDescription.decode(r, r.uint32()));
|
|
5479
|
+
break;
|
|
6385
5480
|
default:
|
|
6386
5481
|
r.skipType(t & 7);
|
|
6387
5482
|
break;
|
|
@@ -6436,12 +5531,6 @@ export const cilix = $root.cilix = (() => {
|
|
|
6436
5531
|
GetCameraListResponse.prototype.toJSON = function toJSON() {
|
|
6437
5532
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
6438
5533
|
};
|
|
6439
|
-
GetCameraListResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
6440
|
-
if (typeUrlPrefix === undefined) {
|
|
6441
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
6442
|
-
}
|
|
6443
|
-
return typeUrlPrefix + "/cilix.GetCameraListResponse";
|
|
6444
|
-
};
|
|
6445
5534
|
return GetCameraListResponse;
|
|
6446
5535
|
}();
|
|
6447
5536
|
cilix.GetClientStatusListResponse = function () {
|
|
@@ -6471,11 +5560,9 @@ export const cilix = $root.cilix = (() => {
|
|
|
6471
5560
|
var t = r.uint32();
|
|
6472
5561
|
switch (t >>> 3) {
|
|
6473
5562
|
case 1:
|
|
6474
|
-
|
|
6475
|
-
|
|
6476
|
-
|
|
6477
|
-
break;
|
|
6478
|
-
}
|
|
5563
|
+
if (!(m.clients && m.clients.length)) m.clients = [];
|
|
5564
|
+
m.clients.push($root.types.ClientDetails.decode(r, r.uint32()));
|
|
5565
|
+
break;
|
|
6479
5566
|
default:
|
|
6480
5567
|
r.skipType(t & 7);
|
|
6481
5568
|
break;
|
|
@@ -6530,12 +5617,6 @@ export const cilix = $root.cilix = (() => {
|
|
|
6530
5617
|
GetClientStatusListResponse.prototype.toJSON = function toJSON() {
|
|
6531
5618
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
6532
5619
|
};
|
|
6533
|
-
GetClientStatusListResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
6534
|
-
if (typeUrlPrefix === undefined) {
|
|
6535
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
6536
|
-
}
|
|
6537
|
-
return typeUrlPrefix + "/cilix.GetClientStatusListResponse";
|
|
6538
|
-
};
|
|
6539
5620
|
return GetClientStatusListResponse;
|
|
6540
5621
|
}();
|
|
6541
5622
|
cilix.BusMessage = function () {
|
|
@@ -6601,95 +5682,59 @@ export const cilix = $root.cilix = (() => {
|
|
|
6601
5682
|
var t = r.uint32();
|
|
6602
5683
|
switch (t >>> 3) {
|
|
6603
5684
|
case 2:
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
break;
|
|
6607
|
-
}
|
|
5685
|
+
m.clientConnected = $root.google.protobuf.Empty.decode(r, r.uint32());
|
|
5686
|
+
break;
|
|
6608
5687
|
case 3:
|
|
6609
|
-
|
|
6610
|
-
|
|
6611
|
-
break;
|
|
6612
|
-
}
|
|
5688
|
+
m.clientDisconnected = $root.google.protobuf.Empty.decode(r, r.uint32());
|
|
5689
|
+
break;
|
|
6613
5690
|
case 4:
|
|
6614
|
-
|
|
6615
|
-
|
|
6616
|
-
break;
|
|
6617
|
-
}
|
|
5691
|
+
m.tooManyPublishers = $root.google.protobuf.Empty.decode(r, r.uint32());
|
|
5692
|
+
break;
|
|
6618
5693
|
case 6:
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
break;
|
|
6622
|
-
}
|
|
5694
|
+
m.ipsaResponse = $root.jibb.ipsa.v1.Response.decode(r, r.uint32());
|
|
5695
|
+
break;
|
|
6623
5696
|
case 50:
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
break;
|
|
6627
|
-
}
|
|
5697
|
+
m.startRequest = $root.cilix.StartRequest.decode(r, r.uint32());
|
|
5698
|
+
break;
|
|
6628
5699
|
case 51:
|
|
6629
|
-
|
|
6630
|
-
|
|
6631
|
-
break;
|
|
6632
|
-
}
|
|
5700
|
+
m.stopRequest = $root.google.protobuf.Empty.decode(r, r.uint32());
|
|
5701
|
+
break;
|
|
6633
5702
|
case 52:
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
break;
|
|
6637
|
-
}
|
|
5703
|
+
m.newPageRequest = $root.google.protobuf.Empty.decode(r, r.uint32());
|
|
5704
|
+
break;
|
|
6638
5705
|
case 53:
|
|
6639
|
-
|
|
6640
|
-
|
|
6641
|
-
break;
|
|
6642
|
-
}
|
|
5706
|
+
m.previewRequest = $root.cilix.PreviewRequest.decode(r, r.uint32());
|
|
5707
|
+
break;
|
|
6643
5708
|
case 54:
|
|
6644
|
-
|
|
6645
|
-
|
|
6646
|
-
break;
|
|
6647
|
-
}
|
|
5709
|
+
m.previewResponse = $root.cilix.PreviewResponse.decode(r, r.uint32());
|
|
5710
|
+
break;
|
|
6648
5711
|
case 55:
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
-
break;
|
|
6652
|
-
}
|
|
5712
|
+
m.cameraListRequest = $root.google.protobuf.Empty.decode(r, r.uint32());
|
|
5713
|
+
break;
|
|
6653
5714
|
case 56:
|
|
6654
|
-
|
|
6655
|
-
|
|
6656
|
-
break;
|
|
6657
|
-
}
|
|
5715
|
+
m.cameraListResponse = $root.cilix.GetCameraListResponse.decode(r, r.uint32());
|
|
5716
|
+
break;
|
|
6658
5717
|
case 57:
|
|
6659
|
-
|
|
6660
|
-
|
|
6661
|
-
break;
|
|
6662
|
-
}
|
|
5718
|
+
m.runtimeConfigRequest = $root.jibb.ipsa.v1.RuntimeConfig.decode(r, r.uint32());
|
|
5719
|
+
break;
|
|
6663
5720
|
case 58:
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
break;
|
|
6667
|
-
}
|
|
5721
|
+
m.clientStatusRequest = $root.google.protobuf.Empty.decode(r, r.uint32());
|
|
5722
|
+
break;
|
|
6668
5723
|
case 59:
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
break;
|
|
6672
|
-
}
|
|
5724
|
+
m.recordingStarted = $root.google.protobuf.Empty.decode(r, r.uint32());
|
|
5725
|
+
break;
|
|
6673
5726
|
case 60:
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
break;
|
|
6677
|
-
}
|
|
5727
|
+
m.recordingStopped = $root.google.protobuf.Empty.decode(r, r.uint32());
|
|
5728
|
+
break;
|
|
6678
5729
|
case 100:
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
break;
|
|
6682
|
-
}
|
|
5730
|
+
m.error = r.int32();
|
|
5731
|
+
break;
|
|
6683
5732
|
case 30:
|
|
6684
|
-
|
|
6685
|
-
|
|
6686
|
-
break;
|
|
6687
|
-
}
|
|
5733
|
+
m.src = $root.types.ClientDetails.decode(r, r.uint32());
|
|
5734
|
+
break;
|
|
6688
5735
|
case 31:
|
|
6689
|
-
|
|
6690
|
-
|
|
6691
|
-
break;
|
|
6692
|
-
}
|
|
5736
|
+
m.dst = $root.types.ClientDetails.decode(r, r.uint32());
|
|
5737
|
+
break;
|
|
6693
5738
|
default:
|
|
6694
5739
|
r.skipType(t & 7);
|
|
6695
5740
|
break;
|
|
@@ -6919,12 +5964,6 @@ export const cilix = $root.cilix = (() => {
|
|
|
6919
5964
|
m.recordingStopped = $root.google.protobuf.Empty.fromObject(d.recordingStopped);
|
|
6920
5965
|
}
|
|
6921
5966
|
switch (d.error) {
|
|
6922
|
-
default:
|
|
6923
|
-
if (typeof d.error === "number") {
|
|
6924
|
-
m.error = d.error;
|
|
6925
|
-
break;
|
|
6926
|
-
}
|
|
6927
|
-
break;
|
|
6928
5967
|
case "SUCCESS":
|
|
6929
5968
|
case 0:
|
|
6930
5969
|
m.error = 0;
|
|
@@ -7046,7 +6085,7 @@ export const cilix = $root.cilix = (() => {
|
|
|
7046
6085
|
if (o.oneofs) d.messageType = "recordingStopped";
|
|
7047
6086
|
}
|
|
7048
6087
|
if (m.error != null && m.hasOwnProperty("error")) {
|
|
7049
|
-
d.error = o.enums === String ? $root.types.Code[m.error]
|
|
6088
|
+
d.error = o.enums === String ? $root.types.Code[m.error] : m.error;
|
|
7050
6089
|
if (o.oneofs) d.messageType = "error";
|
|
7051
6090
|
}
|
|
7052
6091
|
return d;
|
|
@@ -7054,12 +6093,6 @@ export const cilix = $root.cilix = (() => {
|
|
|
7054
6093
|
BusMessage.prototype.toJSON = function toJSON() {
|
|
7055
6094
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
7056
6095
|
};
|
|
7057
|
-
BusMessage.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
7058
|
-
if (typeUrlPrefix === undefined) {
|
|
7059
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
7060
|
-
}
|
|
7061
|
-
return typeUrlPrefix + "/cilix.BusMessage";
|
|
7062
|
-
};
|
|
7063
6096
|
return BusMessage;
|
|
7064
6097
|
}();
|
|
7065
6098
|
return cilix;
|