@vocdoni/proto 1.14.0 → 1.14.1
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/.github/workflows/post-merge.yml +3 -3
- package/README.md +12 -0
- package/dist/client-store/index.js +307 -122
- package/dist/client-store/index.mjs +307 -122
- package/dist/{index-85137ec5.d.ts → index-8a98085c.d.ts} +187 -87
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1896 -754
- package/dist/index.mjs +1896 -754
- package/dist/metadata/index.js +605 -233
- package/dist/metadata/index.mjs +605 -233
- package/dist/vochain/index.d.ts +1 -1
- package/dist/vochain/index.js +1122 -434
- package/dist/vochain/index.mjs +1122 -434
- package/package.json +2 -2
- package/src/vocdoni-node/statedb.proto +2 -0
- package/src/vochain/vochain.proto +5 -3
package/dist/metadata/index.mjs
CHANGED
|
@@ -16,6 +16,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
18
|
var __toESM = (mod2, isNodeMode, target) => (target = mod2 != null ? __create(__getProtoOf(mod2)) : {}, __copyProps(
|
|
19
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
20
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
21
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
22
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
19
23
|
isNodeMode || !mod2 || !mod2.__esModule ? __defProp(target, "default", { value: mod2, enumerable: true }) : target,
|
|
20
24
|
mod2
|
|
21
25
|
));
|
|
@@ -251,7 +255,13 @@ var require_float = __commonJS({
|
|
|
251
255
|
if (sign)
|
|
252
256
|
val = -val;
|
|
253
257
|
if (val === 0)
|
|
254
|
-
writeUint(1 / val > 0 ?
|
|
258
|
+
writeUint(1 / val > 0 ? (
|
|
259
|
+
/* positive */
|
|
260
|
+
0
|
|
261
|
+
) : (
|
|
262
|
+
/* negative 0 */
|
|
263
|
+
2147483648
|
|
264
|
+
), buf, pos);
|
|
255
265
|
else if (isNaN(val))
|
|
256
266
|
writeUint(2143289344, buf, pos);
|
|
257
267
|
else if (val > 34028234663852886e22)
|
|
@@ -332,7 +342,13 @@ var require_float = __commonJS({
|
|
|
332
342
|
val = -val;
|
|
333
343
|
if (val === 0) {
|
|
334
344
|
writeUint(0, buf, pos + off0);
|
|
335
|
-
writeUint(1 / val > 0 ?
|
|
345
|
+
writeUint(1 / val > 0 ? (
|
|
346
|
+
/* positive */
|
|
347
|
+
0
|
|
348
|
+
) : (
|
|
349
|
+
/* negative 0 */
|
|
350
|
+
2147483648
|
|
351
|
+
), buf, pos + off1);
|
|
336
352
|
} else if (isNaN(val)) {
|
|
337
353
|
writeUint(0, buf, pos + off0);
|
|
338
354
|
writeUint(2146959360, buf, pos + off1);
|
|
@@ -625,9 +641,16 @@ var require_minimal = __commonJS({
|
|
|
625
641
|
util.LongBits = require_longbits();
|
|
626
642
|
util.isNode = Boolean(typeof global !== "undefined" && global && global.process && global.process.versions && global.process.versions.node);
|
|
627
643
|
util.global = util.isNode && global || typeof window !== "undefined" && window || typeof self !== "undefined" && self || exports2;
|
|
628
|
-
util.emptyArray = Object.freeze ? Object.freeze([]) :
|
|
629
|
-
|
|
630
|
-
|
|
644
|
+
util.emptyArray = Object.freeze ? Object.freeze([]) : (
|
|
645
|
+
/* istanbul ignore next */
|
|
646
|
+
[]
|
|
647
|
+
);
|
|
648
|
+
util.emptyObject = Object.freeze ? Object.freeze({}) : (
|
|
649
|
+
/* istanbul ignore next */
|
|
650
|
+
{}
|
|
651
|
+
);
|
|
652
|
+
util.isInteger = Number.isInteger || /* istanbul ignore next */
|
|
653
|
+
function isInteger(value) {
|
|
631
654
|
return typeof value === "number" && isFinite(value) && Math.floor(value) === value;
|
|
632
655
|
};
|
|
633
656
|
util.isString = function isString(value) {
|
|
@@ -636,7 +659,13 @@ var require_minimal = __commonJS({
|
|
|
636
659
|
util.isObject = function isObject4(value) {
|
|
637
660
|
return value && typeof value === "object";
|
|
638
661
|
};
|
|
639
|
-
util.isset =
|
|
662
|
+
util.isset = /**
|
|
663
|
+
* Checks if a property on a message is considered to be present.
|
|
664
|
+
* @param {Object} obj Plain object or message instance
|
|
665
|
+
* @param {string} prop Property name
|
|
666
|
+
* @returns {boolean} `true` if considered to be present, otherwise `false`
|
|
667
|
+
*/
|
|
668
|
+
util.isSet = function isSet4(obj, prop) {
|
|
640
669
|
var value = obj[prop];
|
|
641
670
|
if (value != null && obj.hasOwnProperty(prop))
|
|
642
671
|
return typeof value !== "object" || (Array.isArray(value) ? value.length : Object.keys(value).length) > 0;
|
|
@@ -645,7 +674,10 @@ var require_minimal = __commonJS({
|
|
|
645
674
|
util.Buffer = function() {
|
|
646
675
|
try {
|
|
647
676
|
var Buffer2 = util.inquire("buffer").Buffer;
|
|
648
|
-
return Buffer2.prototype.utf8Write ? Buffer2 :
|
|
677
|
+
return Buffer2.prototype.utf8Write ? Buffer2 : (
|
|
678
|
+
/* istanbul ignore next */
|
|
679
|
+
null
|
|
680
|
+
);
|
|
649
681
|
} catch (e) {
|
|
650
682
|
return null;
|
|
651
683
|
}
|
|
@@ -656,7 +688,10 @@ var require_minimal = __commonJS({
|
|
|
656
688
|
return typeof sizeOrArray === "number" ? util.Buffer ? util._Buffer_allocUnsafe(sizeOrArray) : new util.Array(sizeOrArray) : util.Buffer ? util._Buffer_from(sizeOrArray) : typeof Uint8Array === "undefined" ? sizeOrArray : new Uint8Array(sizeOrArray);
|
|
657
689
|
};
|
|
658
690
|
util.Array = typeof Uint8Array !== "undefined" ? Uint8Array : Array;
|
|
659
|
-
util.Long =
|
|
691
|
+
util.Long = /* istanbul ignore next */
|
|
692
|
+
util.global.dcodeIO && /* istanbul ignore next */
|
|
693
|
+
util.global.dcodeIO.Long || /* istanbul ignore next */
|
|
694
|
+
util.global.Long || util.inquire("long");
|
|
660
695
|
util.key2Re = /^true|false|0|1$/;
|
|
661
696
|
util.key32Re = /^-?(?:0|[1-9][0-9]*)$/;
|
|
662
697
|
util.key64Re = /^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/;
|
|
@@ -701,15 +736,19 @@ var require_minimal = __commonJS({
|
|
|
701
736
|
configurable: true
|
|
702
737
|
},
|
|
703
738
|
name: {
|
|
704
|
-
get() {
|
|
739
|
+
get: function get() {
|
|
705
740
|
return name;
|
|
706
741
|
},
|
|
707
742
|
set: void 0,
|
|
708
743
|
enumerable: false,
|
|
744
|
+
// configurable: false would accurately preserve the behavior of
|
|
745
|
+
// the original, but I'm guessing that was not intentional.
|
|
746
|
+
// For an actual error subclass, this property would
|
|
747
|
+
// be configurable.
|
|
709
748
|
configurable: true
|
|
710
749
|
},
|
|
711
750
|
toString: {
|
|
712
|
-
value() {
|
|
751
|
+
value: function value() {
|
|
713
752
|
return this.name + ": " + this.message;
|
|
714
753
|
},
|
|
715
754
|
writable: true,
|
|
@@ -750,10 +789,12 @@ var require_minimal = __commonJS({
|
|
|
750
789
|
util._Buffer_from = util._Buffer_allocUnsafe = null;
|
|
751
790
|
return;
|
|
752
791
|
}
|
|
753
|
-
util._Buffer_from = Buffer2.from !== Uint8Array.from && Buffer2.from ||
|
|
792
|
+
util._Buffer_from = Buffer2.from !== Uint8Array.from && Buffer2.from || /* istanbul ignore next */
|
|
793
|
+
function Buffer_from(value, encoding) {
|
|
754
794
|
return new Buffer2(value, encoding);
|
|
755
795
|
};
|
|
756
|
-
util._Buffer_allocUnsafe = Buffer2.allocUnsafe ||
|
|
796
|
+
util._Buffer_allocUnsafe = Buffer2.allocUnsafe || /* istanbul ignore next */
|
|
797
|
+
function Buffer_allocUnsafe(size) {
|
|
757
798
|
return new Buffer2(size);
|
|
758
799
|
};
|
|
759
800
|
};
|
|
@@ -1036,7 +1077,8 @@ var require_reader = __commonJS({
|
|
|
1036
1077
|
} : create_array;
|
|
1037
1078
|
};
|
|
1038
1079
|
Reader.create = create();
|
|
1039
|
-
Reader.prototype._slice = util.Array.prototype.subarray ||
|
|
1080
|
+
Reader.prototype._slice = util.Array.prototype.subarray || /* istanbul ignore next */
|
|
1081
|
+
util.Array.prototype.slice;
|
|
1040
1082
|
Reader.prototype.uint32 = function read_uint32_setup() {
|
|
1041
1083
|
var value = 4294967295;
|
|
1042
1084
|
return function read_uint32() {
|
|
@@ -1200,7 +1242,10 @@ var require_reader = __commonJS({
|
|
|
1200
1242
|
BufferReader = BufferReader_;
|
|
1201
1243
|
Reader.create = create();
|
|
1202
1244
|
BufferReader._configure();
|
|
1203
|
-
var fn = util.Long ? "toLong" :
|
|
1245
|
+
var fn = util.Long ? "toLong" : (
|
|
1246
|
+
/* istanbul ignore next */
|
|
1247
|
+
"toNumber"
|
|
1248
|
+
);
|
|
1204
1249
|
util.merge(Reader.prototype, {
|
|
1205
1250
|
int64: function read_int64() {
|
|
1206
1251
|
return readLongVarint.call(this)[fn](false);
|
|
@@ -1282,7 +1327,10 @@ var require_service = __commonJS({
|
|
|
1282
1327
|
return callback(err);
|
|
1283
1328
|
}
|
|
1284
1329
|
if (response === null) {
|
|
1285
|
-
self2.end(
|
|
1330
|
+
self2.end(
|
|
1331
|
+
/* endedByRPC */
|
|
1332
|
+
true
|
|
1333
|
+
);
|
|
1286
1334
|
return void 0;
|
|
1287
1335
|
}
|
|
1288
1336
|
if (!(response instanceof responseCtor)) {
|
|
@@ -1378,19 +1426,23 @@ var EntityMetadataStore = {
|
|
|
1378
1426
|
return writer;
|
|
1379
1427
|
},
|
|
1380
1428
|
decode(input, length) {
|
|
1381
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
1429
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
1382
1430
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
1383
1431
|
const message = createBaseEntityMetadataStore();
|
|
1384
1432
|
while (reader.pos < end) {
|
|
1385
1433
|
const tag = reader.uint32();
|
|
1386
1434
|
switch (tag >>> 3) {
|
|
1387
1435
|
case 1:
|
|
1436
|
+
if (tag != 10) {
|
|
1437
|
+
break;
|
|
1438
|
+
}
|
|
1388
1439
|
message.items.push(EntityMetadata.decode(reader, reader.uint32()));
|
|
1389
|
-
|
|
1390
|
-
default:
|
|
1391
|
-
reader.skipType(tag & 7);
|
|
1392
|
-
break;
|
|
1440
|
+
continue;
|
|
1393
1441
|
}
|
|
1442
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
1443
|
+
break;
|
|
1444
|
+
}
|
|
1445
|
+
reader.skipType(tag & 7);
|
|
1394
1446
|
}
|
|
1395
1447
|
return message;
|
|
1396
1448
|
},
|
|
@@ -1476,67 +1528,107 @@ var EntityMetadata = {
|
|
|
1476
1528
|
return writer;
|
|
1477
1529
|
},
|
|
1478
1530
|
decode(input, length) {
|
|
1479
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
1531
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
1480
1532
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
1481
1533
|
const message = createBaseEntityMetadata();
|
|
1482
1534
|
while (reader.pos < end) {
|
|
1483
1535
|
const tag = reader.uint32();
|
|
1484
1536
|
switch (tag >>> 3) {
|
|
1485
1537
|
case 1:
|
|
1538
|
+
if (tag != 10) {
|
|
1539
|
+
break;
|
|
1540
|
+
}
|
|
1486
1541
|
message.version = reader.string();
|
|
1487
|
-
|
|
1542
|
+
continue;
|
|
1488
1543
|
case 2:
|
|
1544
|
+
if (tag != 18) {
|
|
1545
|
+
break;
|
|
1546
|
+
}
|
|
1489
1547
|
message.languages.push(reader.string());
|
|
1490
|
-
|
|
1548
|
+
continue;
|
|
1491
1549
|
case 3:
|
|
1550
|
+
if (tag != 26) {
|
|
1551
|
+
break;
|
|
1552
|
+
}
|
|
1492
1553
|
const entry3 = EntityMetadata_NameEntry.decode(reader, reader.uint32());
|
|
1493
1554
|
if (entry3.value !== void 0) {
|
|
1494
1555
|
message.name[entry3.key] = entry3.value;
|
|
1495
1556
|
}
|
|
1496
|
-
|
|
1557
|
+
continue;
|
|
1497
1558
|
case 4:
|
|
1559
|
+
if (tag != 34) {
|
|
1560
|
+
break;
|
|
1561
|
+
}
|
|
1498
1562
|
const entry4 = EntityMetadata_DescriptionEntry.decode(reader, reader.uint32());
|
|
1499
1563
|
if (entry4.value !== void 0) {
|
|
1500
1564
|
message.description[entry4.key] = entry4.value;
|
|
1501
1565
|
}
|
|
1502
|
-
|
|
1566
|
+
continue;
|
|
1503
1567
|
case 5:
|
|
1568
|
+
if (tag != 42) {
|
|
1569
|
+
break;
|
|
1570
|
+
}
|
|
1504
1571
|
message.votingProcesses = EntityMetadata_VotingProcesses.decode(reader, reader.uint32());
|
|
1505
|
-
|
|
1572
|
+
continue;
|
|
1506
1573
|
case 6:
|
|
1574
|
+
if (tag != 50) {
|
|
1575
|
+
break;
|
|
1576
|
+
}
|
|
1507
1577
|
const entry6 = EntityMetadata_NewsFeedEntry.decode(reader, reader.uint32());
|
|
1508
1578
|
if (entry6.value !== void 0) {
|
|
1509
1579
|
message.newsFeed[entry6.key] = entry6.value;
|
|
1510
1580
|
}
|
|
1511
|
-
|
|
1581
|
+
continue;
|
|
1512
1582
|
case 7:
|
|
1583
|
+
if (tag != 58) {
|
|
1584
|
+
break;
|
|
1585
|
+
}
|
|
1513
1586
|
message.media = EntityMetadata_Media.decode(reader, reader.uint32());
|
|
1514
|
-
|
|
1587
|
+
continue;
|
|
1515
1588
|
case 8:
|
|
1589
|
+
if (tag != 66) {
|
|
1590
|
+
break;
|
|
1591
|
+
}
|
|
1516
1592
|
message.actions.push(EntityMetadata_Action.decode(reader, reader.uint32()));
|
|
1517
|
-
|
|
1593
|
+
continue;
|
|
1518
1594
|
case 9:
|
|
1595
|
+
if (tag != 74) {
|
|
1596
|
+
break;
|
|
1597
|
+
}
|
|
1519
1598
|
message.bootEntities.push(EntityReference.decode(reader, reader.uint32()));
|
|
1520
|
-
|
|
1599
|
+
continue;
|
|
1521
1600
|
case 10:
|
|
1601
|
+
if (tag != 82) {
|
|
1602
|
+
break;
|
|
1603
|
+
}
|
|
1522
1604
|
message.fallbackBootNodeEntities.push(EntityReference.decode(reader, reader.uint32()));
|
|
1523
|
-
|
|
1605
|
+
continue;
|
|
1524
1606
|
case 11:
|
|
1607
|
+
if (tag != 90) {
|
|
1608
|
+
break;
|
|
1609
|
+
}
|
|
1525
1610
|
message.trustedEntities.push(EntityReference.decode(reader, reader.uint32()));
|
|
1526
|
-
|
|
1611
|
+
continue;
|
|
1527
1612
|
case 12:
|
|
1613
|
+
if (tag != 98) {
|
|
1614
|
+
break;
|
|
1615
|
+
}
|
|
1528
1616
|
message.censusServiceManagedEntities.push(EntityReference.decode(reader, reader.uint32()));
|
|
1529
|
-
|
|
1617
|
+
continue;
|
|
1530
1618
|
case 100:
|
|
1619
|
+
if (tag != 802) {
|
|
1620
|
+
break;
|
|
1621
|
+
}
|
|
1531
1622
|
const entry100 = EntityMetadata_MetaEntry.decode(reader, reader.uint32());
|
|
1532
1623
|
if (entry100.value !== void 0) {
|
|
1533
1624
|
message.meta[entry100.key] = entry100.value;
|
|
1534
1625
|
}
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1626
|
+
continue;
|
|
1627
|
+
}
|
|
1628
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
1629
|
+
break;
|
|
1539
1630
|
}
|
|
1631
|
+
reader.skipType(tag & 7);
|
|
1540
1632
|
}
|
|
1541
1633
|
return message;
|
|
1542
1634
|
},
|
|
@@ -1692,22 +1784,29 @@ var EntityMetadata_NameEntry = {
|
|
|
1692
1784
|
return writer;
|
|
1693
1785
|
},
|
|
1694
1786
|
decode(input, length) {
|
|
1695
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
1787
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
1696
1788
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
1697
1789
|
const message = createBaseEntityMetadata_NameEntry();
|
|
1698
1790
|
while (reader.pos < end) {
|
|
1699
1791
|
const tag = reader.uint32();
|
|
1700
1792
|
switch (tag >>> 3) {
|
|
1701
1793
|
case 1:
|
|
1794
|
+
if (tag != 10) {
|
|
1795
|
+
break;
|
|
1796
|
+
}
|
|
1702
1797
|
message.key = reader.string();
|
|
1703
|
-
|
|
1798
|
+
continue;
|
|
1704
1799
|
case 2:
|
|
1800
|
+
if (tag != 18) {
|
|
1801
|
+
break;
|
|
1802
|
+
}
|
|
1705
1803
|
message.value = reader.string();
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1804
|
+
continue;
|
|
1805
|
+
}
|
|
1806
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
1807
|
+
break;
|
|
1710
1808
|
}
|
|
1809
|
+
reader.skipType(tag & 7);
|
|
1711
1810
|
}
|
|
1712
1811
|
return message;
|
|
1713
1812
|
},
|
|
@@ -1744,22 +1843,29 @@ var EntityMetadata_DescriptionEntry = {
|
|
|
1744
1843
|
return writer;
|
|
1745
1844
|
},
|
|
1746
1845
|
decode(input, length) {
|
|
1747
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
1846
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
1748
1847
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
1749
1848
|
const message = createBaseEntityMetadata_DescriptionEntry();
|
|
1750
1849
|
while (reader.pos < end) {
|
|
1751
1850
|
const tag = reader.uint32();
|
|
1752
1851
|
switch (tag >>> 3) {
|
|
1753
1852
|
case 1:
|
|
1853
|
+
if (tag != 10) {
|
|
1854
|
+
break;
|
|
1855
|
+
}
|
|
1754
1856
|
message.key = reader.string();
|
|
1755
|
-
|
|
1857
|
+
continue;
|
|
1756
1858
|
case 2:
|
|
1859
|
+
if (tag != 18) {
|
|
1860
|
+
break;
|
|
1861
|
+
}
|
|
1757
1862
|
message.value = reader.string();
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1863
|
+
continue;
|
|
1864
|
+
}
|
|
1865
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
1866
|
+
break;
|
|
1762
1867
|
}
|
|
1868
|
+
reader.skipType(tag & 7);
|
|
1763
1869
|
}
|
|
1764
1870
|
return message;
|
|
1765
1871
|
},
|
|
@@ -1796,22 +1902,29 @@ var EntityMetadata_VotingProcesses = {
|
|
|
1796
1902
|
return writer;
|
|
1797
1903
|
},
|
|
1798
1904
|
decode(input, length) {
|
|
1799
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
1905
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
1800
1906
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
1801
1907
|
const message = createBaseEntityMetadata_VotingProcesses();
|
|
1802
1908
|
while (reader.pos < end) {
|
|
1803
1909
|
const tag = reader.uint32();
|
|
1804
1910
|
switch (tag >>> 3) {
|
|
1805
1911
|
case 1:
|
|
1912
|
+
if (tag != 10) {
|
|
1913
|
+
break;
|
|
1914
|
+
}
|
|
1806
1915
|
message.active.push(reader.string());
|
|
1807
|
-
|
|
1916
|
+
continue;
|
|
1808
1917
|
case 2:
|
|
1918
|
+
if (tag != 18) {
|
|
1919
|
+
break;
|
|
1920
|
+
}
|
|
1809
1921
|
message.ended.push(reader.string());
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1922
|
+
continue;
|
|
1923
|
+
}
|
|
1924
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
1925
|
+
break;
|
|
1814
1926
|
}
|
|
1927
|
+
reader.skipType(tag & 7);
|
|
1815
1928
|
}
|
|
1816
1929
|
return message;
|
|
1817
1930
|
},
|
|
@@ -1859,22 +1972,29 @@ var EntityMetadata_NewsFeedEntry = {
|
|
|
1859
1972
|
return writer;
|
|
1860
1973
|
},
|
|
1861
1974
|
decode(input, length) {
|
|
1862
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
1975
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
1863
1976
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
1864
1977
|
const message = createBaseEntityMetadata_NewsFeedEntry();
|
|
1865
1978
|
while (reader.pos < end) {
|
|
1866
1979
|
const tag = reader.uint32();
|
|
1867
1980
|
switch (tag >>> 3) {
|
|
1868
1981
|
case 1:
|
|
1982
|
+
if (tag != 10) {
|
|
1983
|
+
break;
|
|
1984
|
+
}
|
|
1869
1985
|
message.key = reader.string();
|
|
1870
|
-
|
|
1986
|
+
continue;
|
|
1871
1987
|
case 2:
|
|
1988
|
+
if (tag != 18) {
|
|
1989
|
+
break;
|
|
1990
|
+
}
|
|
1872
1991
|
message.value = reader.string();
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1992
|
+
continue;
|
|
1993
|
+
}
|
|
1994
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
1995
|
+
break;
|
|
1877
1996
|
}
|
|
1997
|
+
reader.skipType(tag & 7);
|
|
1878
1998
|
}
|
|
1879
1999
|
return message;
|
|
1880
2000
|
},
|
|
@@ -1911,22 +2031,29 @@ var EntityMetadata_Media = {
|
|
|
1911
2031
|
return writer;
|
|
1912
2032
|
},
|
|
1913
2033
|
decode(input, length) {
|
|
1914
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
2034
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
1915
2035
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
1916
2036
|
const message = createBaseEntityMetadata_Media();
|
|
1917
2037
|
while (reader.pos < end) {
|
|
1918
2038
|
const tag = reader.uint32();
|
|
1919
2039
|
switch (tag >>> 3) {
|
|
1920
2040
|
case 1:
|
|
2041
|
+
if (tag != 10) {
|
|
2042
|
+
break;
|
|
2043
|
+
}
|
|
1921
2044
|
message.avatar = reader.string();
|
|
1922
|
-
|
|
2045
|
+
continue;
|
|
1923
2046
|
case 2:
|
|
2047
|
+
if (tag != 18) {
|
|
2048
|
+
break;
|
|
2049
|
+
}
|
|
1924
2050
|
message.header = reader.string();
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
2051
|
+
continue;
|
|
2052
|
+
}
|
|
2053
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
2054
|
+
break;
|
|
1929
2055
|
}
|
|
2056
|
+
reader.skipType(tag & 7);
|
|
1930
2057
|
}
|
|
1931
2058
|
return message;
|
|
1932
2059
|
},
|
|
@@ -1978,37 +2105,56 @@ var EntityMetadata_Action = {
|
|
|
1978
2105
|
return writer;
|
|
1979
2106
|
},
|
|
1980
2107
|
decode(input, length) {
|
|
1981
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
2108
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
1982
2109
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
1983
2110
|
const message = createBaseEntityMetadata_Action();
|
|
1984
2111
|
while (reader.pos < end) {
|
|
1985
2112
|
const tag = reader.uint32();
|
|
1986
2113
|
switch (tag >>> 3) {
|
|
1987
2114
|
case 1:
|
|
2115
|
+
if (tag != 10) {
|
|
2116
|
+
break;
|
|
2117
|
+
}
|
|
1988
2118
|
message.type = reader.string();
|
|
1989
|
-
|
|
2119
|
+
continue;
|
|
1990
2120
|
case 7:
|
|
2121
|
+
if (tag != 58) {
|
|
2122
|
+
break;
|
|
2123
|
+
}
|
|
1991
2124
|
message.actionKey = reader.string();
|
|
1992
|
-
|
|
2125
|
+
continue;
|
|
1993
2126
|
case 2:
|
|
2127
|
+
if (tag != 18) {
|
|
2128
|
+
break;
|
|
2129
|
+
}
|
|
1994
2130
|
const entry2 = EntityMetadata_Action_NameEntry.decode(reader, reader.uint32());
|
|
1995
2131
|
if (entry2.value !== void 0) {
|
|
1996
2132
|
message.name[entry2.key] = entry2.value;
|
|
1997
2133
|
}
|
|
1998
|
-
|
|
2134
|
+
continue;
|
|
1999
2135
|
case 3:
|
|
2136
|
+
if (tag != 26) {
|
|
2137
|
+
break;
|
|
2138
|
+
}
|
|
2000
2139
|
message.visible = reader.string();
|
|
2001
|
-
|
|
2140
|
+
continue;
|
|
2002
2141
|
case 4:
|
|
2142
|
+
if (tag != 34) {
|
|
2143
|
+
break;
|
|
2144
|
+
}
|
|
2003
2145
|
message.url = reader.string();
|
|
2004
|
-
|
|
2146
|
+
continue;
|
|
2005
2147
|
case 5:
|
|
2148
|
+
if (tag != 42) {
|
|
2149
|
+
break;
|
|
2150
|
+
}
|
|
2006
2151
|
message.imageSources.push(EntityMetadata_Action_ImageSource.decode(reader, reader.uint32()));
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2152
|
+
continue;
|
|
2153
|
+
}
|
|
2154
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
2155
|
+
break;
|
|
2011
2156
|
}
|
|
2157
|
+
reader.skipType(tag & 7);
|
|
2012
2158
|
}
|
|
2013
2159
|
return message;
|
|
2014
2160
|
},
|
|
@@ -2077,22 +2223,29 @@ var EntityMetadata_Action_NameEntry = {
|
|
|
2077
2223
|
return writer;
|
|
2078
2224
|
},
|
|
2079
2225
|
decode(input, length) {
|
|
2080
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
2226
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
2081
2227
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2082
2228
|
const message = createBaseEntityMetadata_Action_NameEntry();
|
|
2083
2229
|
while (reader.pos < end) {
|
|
2084
2230
|
const tag = reader.uint32();
|
|
2085
2231
|
switch (tag >>> 3) {
|
|
2086
2232
|
case 1:
|
|
2233
|
+
if (tag != 10) {
|
|
2234
|
+
break;
|
|
2235
|
+
}
|
|
2087
2236
|
message.key = reader.string();
|
|
2088
|
-
|
|
2237
|
+
continue;
|
|
2089
2238
|
case 2:
|
|
2239
|
+
if (tag != 18) {
|
|
2240
|
+
break;
|
|
2241
|
+
}
|
|
2090
2242
|
message.value = reader.string();
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2243
|
+
continue;
|
|
2244
|
+
}
|
|
2245
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
2246
|
+
break;
|
|
2095
2247
|
}
|
|
2248
|
+
reader.skipType(tag & 7);
|
|
2096
2249
|
}
|
|
2097
2250
|
return message;
|
|
2098
2251
|
},
|
|
@@ -2138,34 +2291,50 @@ var EntityMetadata_Action_ImageSource = {
|
|
|
2138
2291
|
return writer;
|
|
2139
2292
|
},
|
|
2140
2293
|
decode(input, length) {
|
|
2141
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
2294
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
2142
2295
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2143
2296
|
const message = createBaseEntityMetadata_Action_ImageSource();
|
|
2144
2297
|
while (reader.pos < end) {
|
|
2145
2298
|
const tag = reader.uint32();
|
|
2146
2299
|
switch (tag >>> 3) {
|
|
2147
2300
|
case 1:
|
|
2301
|
+
if (tag != 10) {
|
|
2302
|
+
break;
|
|
2303
|
+
}
|
|
2148
2304
|
message.type = reader.string();
|
|
2149
|
-
|
|
2305
|
+
continue;
|
|
2150
2306
|
case 2:
|
|
2307
|
+
if (tag != 18) {
|
|
2308
|
+
break;
|
|
2309
|
+
}
|
|
2151
2310
|
message.name = reader.string();
|
|
2152
|
-
|
|
2311
|
+
continue;
|
|
2153
2312
|
case 3:
|
|
2313
|
+
if (tag != 26) {
|
|
2314
|
+
break;
|
|
2315
|
+
}
|
|
2154
2316
|
message.orientation = reader.string();
|
|
2155
|
-
|
|
2317
|
+
continue;
|
|
2156
2318
|
case 4:
|
|
2319
|
+
if (tag != 34) {
|
|
2320
|
+
break;
|
|
2321
|
+
}
|
|
2157
2322
|
message.overlay = reader.string();
|
|
2158
|
-
|
|
2323
|
+
continue;
|
|
2159
2324
|
case 5:
|
|
2325
|
+
if (tag != 42) {
|
|
2326
|
+
break;
|
|
2327
|
+
}
|
|
2160
2328
|
const entry5 = EntityMetadata_Action_ImageSource_CaptionEntry.decode(reader, reader.uint32());
|
|
2161
2329
|
if (entry5.value !== void 0) {
|
|
2162
2330
|
message.caption[entry5.key] = entry5.value;
|
|
2163
2331
|
}
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2332
|
+
continue;
|
|
2333
|
+
}
|
|
2334
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
2335
|
+
break;
|
|
2168
2336
|
}
|
|
2337
|
+
reader.skipType(tag & 7);
|
|
2169
2338
|
}
|
|
2170
2339
|
return message;
|
|
2171
2340
|
},
|
|
@@ -2227,22 +2396,29 @@ var EntityMetadata_Action_ImageSource_CaptionEntry = {
|
|
|
2227
2396
|
return writer;
|
|
2228
2397
|
},
|
|
2229
2398
|
decode(input, length) {
|
|
2230
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
2399
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
2231
2400
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2232
2401
|
const message = createBaseEntityMetadata_Action_ImageSource_CaptionEntry();
|
|
2233
2402
|
while (reader.pos < end) {
|
|
2234
2403
|
const tag = reader.uint32();
|
|
2235
2404
|
switch (tag >>> 3) {
|
|
2236
2405
|
case 1:
|
|
2406
|
+
if (tag != 10) {
|
|
2407
|
+
break;
|
|
2408
|
+
}
|
|
2237
2409
|
message.key = reader.string();
|
|
2238
|
-
|
|
2410
|
+
continue;
|
|
2239
2411
|
case 2:
|
|
2412
|
+
if (tag != 18) {
|
|
2413
|
+
break;
|
|
2414
|
+
}
|
|
2240
2415
|
message.value = reader.string();
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2416
|
+
continue;
|
|
2417
|
+
}
|
|
2418
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
2419
|
+
break;
|
|
2245
2420
|
}
|
|
2421
|
+
reader.skipType(tag & 7);
|
|
2246
2422
|
}
|
|
2247
2423
|
return message;
|
|
2248
2424
|
},
|
|
@@ -2279,22 +2455,29 @@ var EntityMetadata_MetaEntry = {
|
|
|
2279
2455
|
return writer;
|
|
2280
2456
|
},
|
|
2281
2457
|
decode(input, length) {
|
|
2282
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
2458
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
2283
2459
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2284
2460
|
const message = createBaseEntityMetadata_MetaEntry();
|
|
2285
2461
|
while (reader.pos < end) {
|
|
2286
2462
|
const tag = reader.uint32();
|
|
2287
2463
|
switch (tag >>> 3) {
|
|
2288
2464
|
case 1:
|
|
2465
|
+
if (tag != 10) {
|
|
2466
|
+
break;
|
|
2467
|
+
}
|
|
2289
2468
|
message.key = reader.string();
|
|
2290
|
-
|
|
2469
|
+
continue;
|
|
2291
2470
|
case 2:
|
|
2471
|
+
if (tag != 18) {
|
|
2472
|
+
break;
|
|
2473
|
+
}
|
|
2292
2474
|
message.value = reader.string();
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2475
|
+
continue;
|
|
2476
|
+
}
|
|
2477
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
2478
|
+
break;
|
|
2297
2479
|
}
|
|
2480
|
+
reader.skipType(tag & 7);
|
|
2298
2481
|
}
|
|
2299
2482
|
return message;
|
|
2300
2483
|
},
|
|
@@ -2331,22 +2514,29 @@ var EntityReference = {
|
|
|
2331
2514
|
return writer;
|
|
2332
2515
|
},
|
|
2333
2516
|
decode(input, length) {
|
|
2334
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
2517
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
2335
2518
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2336
2519
|
const message = createBaseEntityReference();
|
|
2337
2520
|
while (reader.pos < end) {
|
|
2338
2521
|
const tag = reader.uint32();
|
|
2339
2522
|
switch (tag >>> 3) {
|
|
2340
2523
|
case 1:
|
|
2524
|
+
if (tag != 10) {
|
|
2525
|
+
break;
|
|
2526
|
+
}
|
|
2341
2527
|
message.entityId = reader.string();
|
|
2342
|
-
|
|
2528
|
+
continue;
|
|
2343
2529
|
case 2:
|
|
2530
|
+
if (tag != 18) {
|
|
2531
|
+
break;
|
|
2532
|
+
}
|
|
2344
2533
|
message.entryPoints.push(reader.string());
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2534
|
+
continue;
|
|
2535
|
+
}
|
|
2536
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
2537
|
+
break;
|
|
2349
2538
|
}
|
|
2539
|
+
reader.skipType(tag & 7);
|
|
2350
2540
|
}
|
|
2351
2541
|
return message;
|
|
2352
2542
|
},
|
|
@@ -2396,19 +2586,23 @@ var FeedStore = {
|
|
|
2396
2586
|
return writer;
|
|
2397
2587
|
},
|
|
2398
2588
|
decode(input, length) {
|
|
2399
|
-
const reader = input instanceof import_minimal2.default.Reader ? input :
|
|
2589
|
+
const reader = input instanceof import_minimal2.default.Reader ? input : import_minimal2.default.Reader.create(input);
|
|
2400
2590
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2401
2591
|
const message = createBaseFeedStore();
|
|
2402
2592
|
while (reader.pos < end) {
|
|
2403
2593
|
const tag = reader.uint32();
|
|
2404
2594
|
switch (tag >>> 3) {
|
|
2405
2595
|
case 1:
|
|
2596
|
+
if (tag != 10) {
|
|
2597
|
+
break;
|
|
2598
|
+
}
|
|
2406
2599
|
message.items.push(Feed.decode(reader, reader.uint32()));
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2600
|
+
continue;
|
|
2601
|
+
}
|
|
2602
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
2603
|
+
break;
|
|
2411
2604
|
}
|
|
2605
|
+
reader.skipType(tag & 7);
|
|
2412
2606
|
}
|
|
2413
2607
|
return message;
|
|
2414
2608
|
},
|
|
@@ -2482,49 +2676,80 @@ var Feed = {
|
|
|
2482
2676
|
return writer;
|
|
2483
2677
|
},
|
|
2484
2678
|
decode(input, length) {
|
|
2485
|
-
const reader = input instanceof import_minimal2.default.Reader ? input :
|
|
2679
|
+
const reader = input instanceof import_minimal2.default.Reader ? input : import_minimal2.default.Reader.create(input);
|
|
2486
2680
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2487
2681
|
const message = createBaseFeed();
|
|
2488
2682
|
while (reader.pos < end) {
|
|
2489
2683
|
const tag = reader.uint32();
|
|
2490
2684
|
switch (tag >>> 3) {
|
|
2491
2685
|
case 1:
|
|
2686
|
+
if (tag != 10) {
|
|
2687
|
+
break;
|
|
2688
|
+
}
|
|
2492
2689
|
message.version = reader.string();
|
|
2493
|
-
|
|
2690
|
+
continue;
|
|
2494
2691
|
case 2:
|
|
2692
|
+
if (tag != 18) {
|
|
2693
|
+
break;
|
|
2694
|
+
}
|
|
2495
2695
|
message.title = reader.string();
|
|
2496
|
-
|
|
2696
|
+
continue;
|
|
2497
2697
|
case 3:
|
|
2698
|
+
if (tag != 26) {
|
|
2699
|
+
break;
|
|
2700
|
+
}
|
|
2498
2701
|
message.homePageUrl = reader.string();
|
|
2499
|
-
|
|
2702
|
+
continue;
|
|
2500
2703
|
case 4:
|
|
2704
|
+
if (tag != 34) {
|
|
2705
|
+
break;
|
|
2706
|
+
}
|
|
2501
2707
|
message.description = reader.string();
|
|
2502
|
-
|
|
2708
|
+
continue;
|
|
2503
2709
|
case 5:
|
|
2710
|
+
if (tag != 42) {
|
|
2711
|
+
break;
|
|
2712
|
+
}
|
|
2504
2713
|
message.feedUrl = reader.string();
|
|
2505
|
-
|
|
2714
|
+
continue;
|
|
2506
2715
|
case 6:
|
|
2716
|
+
if (tag != 50) {
|
|
2717
|
+
break;
|
|
2718
|
+
}
|
|
2507
2719
|
message.icon = reader.string();
|
|
2508
|
-
|
|
2720
|
+
continue;
|
|
2509
2721
|
case 7:
|
|
2722
|
+
if (tag != 58) {
|
|
2723
|
+
break;
|
|
2724
|
+
}
|
|
2510
2725
|
message.favicon = reader.string();
|
|
2511
|
-
|
|
2726
|
+
continue;
|
|
2512
2727
|
case 8:
|
|
2728
|
+
if (tag != 64) {
|
|
2729
|
+
break;
|
|
2730
|
+
}
|
|
2513
2731
|
message.expired = reader.bool();
|
|
2514
|
-
|
|
2732
|
+
continue;
|
|
2515
2733
|
case 9:
|
|
2734
|
+
if (tag != 74) {
|
|
2735
|
+
break;
|
|
2736
|
+
}
|
|
2516
2737
|
message.items.push(FeedPost.decode(reader, reader.uint32()));
|
|
2517
|
-
|
|
2738
|
+
continue;
|
|
2518
2739
|
case 100:
|
|
2740
|
+
if (tag != 802) {
|
|
2741
|
+
break;
|
|
2742
|
+
}
|
|
2519
2743
|
const entry100 = Feed_MetaEntry.decode(reader, reader.uint32());
|
|
2520
2744
|
if (entry100.value !== void 0) {
|
|
2521
2745
|
message.meta[entry100.key] = entry100.value;
|
|
2522
2746
|
}
|
|
2523
|
-
|
|
2524
|
-
default:
|
|
2525
|
-
reader.skipType(tag & 7);
|
|
2526
|
-
break;
|
|
2747
|
+
continue;
|
|
2527
2748
|
}
|
|
2749
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
2750
|
+
break;
|
|
2751
|
+
}
|
|
2752
|
+
reader.skipType(tag & 7);
|
|
2528
2753
|
}
|
|
2529
2754
|
return message;
|
|
2530
2755
|
},
|
|
@@ -2605,22 +2830,29 @@ var Feed_MetaEntry = {
|
|
|
2605
2830
|
return writer;
|
|
2606
2831
|
},
|
|
2607
2832
|
decode(input, length) {
|
|
2608
|
-
const reader = input instanceof import_minimal2.default.Reader ? input :
|
|
2833
|
+
const reader = input instanceof import_minimal2.default.Reader ? input : import_minimal2.default.Reader.create(input);
|
|
2609
2834
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2610
2835
|
const message = createBaseFeed_MetaEntry();
|
|
2611
2836
|
while (reader.pos < end) {
|
|
2612
2837
|
const tag = reader.uint32();
|
|
2613
2838
|
switch (tag >>> 3) {
|
|
2614
2839
|
case 1:
|
|
2840
|
+
if (tag != 10) {
|
|
2841
|
+
break;
|
|
2842
|
+
}
|
|
2615
2843
|
message.key = reader.string();
|
|
2616
|
-
|
|
2844
|
+
continue;
|
|
2617
2845
|
case 2:
|
|
2846
|
+
if (tag != 18) {
|
|
2847
|
+
break;
|
|
2848
|
+
}
|
|
2618
2849
|
message.value = reader.string();
|
|
2619
|
-
|
|
2620
|
-
default:
|
|
2621
|
-
reader.skipType(tag & 7);
|
|
2622
|
-
break;
|
|
2850
|
+
continue;
|
|
2623
2851
|
}
|
|
2852
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
2853
|
+
break;
|
|
2854
|
+
}
|
|
2855
|
+
reader.skipType(tag & 7);
|
|
2624
2856
|
}
|
|
2625
2857
|
return message;
|
|
2626
2858
|
},
|
|
@@ -2696,49 +2928,83 @@ var FeedPost = {
|
|
|
2696
2928
|
return writer;
|
|
2697
2929
|
},
|
|
2698
2930
|
decode(input, length) {
|
|
2699
|
-
const reader = input instanceof import_minimal2.default.Reader ? input :
|
|
2931
|
+
const reader = input instanceof import_minimal2.default.Reader ? input : import_minimal2.default.Reader.create(input);
|
|
2700
2932
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2701
2933
|
const message = createBaseFeedPost();
|
|
2702
2934
|
while (reader.pos < end) {
|
|
2703
2935
|
const tag = reader.uint32();
|
|
2704
2936
|
switch (tag >>> 3) {
|
|
2705
2937
|
case 1:
|
|
2938
|
+
if (tag != 10) {
|
|
2939
|
+
break;
|
|
2940
|
+
}
|
|
2706
2941
|
message.id = reader.string();
|
|
2707
|
-
|
|
2942
|
+
continue;
|
|
2708
2943
|
case 2:
|
|
2944
|
+
if (tag != 18) {
|
|
2945
|
+
break;
|
|
2946
|
+
}
|
|
2709
2947
|
message.title = reader.string();
|
|
2710
|
-
|
|
2948
|
+
continue;
|
|
2711
2949
|
case 3:
|
|
2950
|
+
if (tag != 26) {
|
|
2951
|
+
break;
|
|
2952
|
+
}
|
|
2712
2953
|
message.summary = reader.string();
|
|
2713
|
-
|
|
2954
|
+
continue;
|
|
2714
2955
|
case 4:
|
|
2956
|
+
if (tag != 34) {
|
|
2957
|
+
break;
|
|
2958
|
+
}
|
|
2715
2959
|
message.contentText = reader.string();
|
|
2716
|
-
|
|
2960
|
+
continue;
|
|
2717
2961
|
case 5:
|
|
2962
|
+
if (tag != 42) {
|
|
2963
|
+
break;
|
|
2964
|
+
}
|
|
2718
2965
|
message.contentHtml = reader.string();
|
|
2719
|
-
|
|
2966
|
+
continue;
|
|
2720
2967
|
case 6:
|
|
2968
|
+
if (tag != 50) {
|
|
2969
|
+
break;
|
|
2970
|
+
}
|
|
2721
2971
|
message.url = reader.string();
|
|
2722
|
-
|
|
2972
|
+
continue;
|
|
2723
2973
|
case 7:
|
|
2974
|
+
if (tag != 58) {
|
|
2975
|
+
break;
|
|
2976
|
+
}
|
|
2724
2977
|
message.image = reader.string();
|
|
2725
|
-
|
|
2978
|
+
continue;
|
|
2726
2979
|
case 8:
|
|
2980
|
+
if (tag != 66) {
|
|
2981
|
+
break;
|
|
2982
|
+
}
|
|
2727
2983
|
message.tags.push(reader.string());
|
|
2728
|
-
|
|
2984
|
+
continue;
|
|
2729
2985
|
case 9:
|
|
2986
|
+
if (tag != 74) {
|
|
2987
|
+
break;
|
|
2988
|
+
}
|
|
2730
2989
|
message.datePublished = reader.string();
|
|
2731
|
-
|
|
2990
|
+
continue;
|
|
2732
2991
|
case 10:
|
|
2992
|
+
if (tag != 82) {
|
|
2993
|
+
break;
|
|
2994
|
+
}
|
|
2733
2995
|
message.dateModified = reader.string();
|
|
2734
|
-
|
|
2996
|
+
continue;
|
|
2735
2997
|
case 11:
|
|
2998
|
+
if (tag != 90) {
|
|
2999
|
+
break;
|
|
3000
|
+
}
|
|
2736
3001
|
message.author = FeedPost_Author.decode(reader, reader.uint32());
|
|
2737
|
-
|
|
2738
|
-
default:
|
|
2739
|
-
reader.skipType(tag & 7);
|
|
2740
|
-
break;
|
|
3002
|
+
continue;
|
|
2741
3003
|
}
|
|
3004
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3005
|
+
break;
|
|
3006
|
+
}
|
|
3007
|
+
reader.skipType(tag & 7);
|
|
2742
3008
|
}
|
|
2743
3009
|
return message;
|
|
2744
3010
|
},
|
|
@@ -2809,22 +3075,29 @@ var FeedPost_Author = {
|
|
|
2809
3075
|
return writer;
|
|
2810
3076
|
},
|
|
2811
3077
|
decode(input, length) {
|
|
2812
|
-
const reader = input instanceof import_minimal2.default.Reader ? input :
|
|
3078
|
+
const reader = input instanceof import_minimal2.default.Reader ? input : import_minimal2.default.Reader.create(input);
|
|
2813
3079
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2814
3080
|
const message = createBaseFeedPost_Author();
|
|
2815
3081
|
while (reader.pos < end) {
|
|
2816
3082
|
const tag = reader.uint32();
|
|
2817
3083
|
switch (tag >>> 3) {
|
|
2818
3084
|
case 1:
|
|
3085
|
+
if (tag != 10) {
|
|
3086
|
+
break;
|
|
3087
|
+
}
|
|
2819
3088
|
message.name = reader.string();
|
|
2820
|
-
|
|
3089
|
+
continue;
|
|
2821
3090
|
case 2:
|
|
3091
|
+
if (tag != 18) {
|
|
3092
|
+
break;
|
|
3093
|
+
}
|
|
2822
3094
|
message.url = reader.string();
|
|
2823
|
-
|
|
2824
|
-
default:
|
|
2825
|
-
reader.skipType(tag & 7);
|
|
2826
|
-
break;
|
|
3095
|
+
continue;
|
|
2827
3096
|
}
|
|
3097
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3098
|
+
break;
|
|
3099
|
+
}
|
|
3100
|
+
reader.skipType(tag & 7);
|
|
2828
3101
|
}
|
|
2829
3102
|
return message;
|
|
2830
3103
|
},
|
|
@@ -2867,19 +3140,23 @@ var ProcessMetadataStore = {
|
|
|
2867
3140
|
return writer;
|
|
2868
3141
|
},
|
|
2869
3142
|
decode(input, length) {
|
|
2870
|
-
const reader = input instanceof import_minimal3.default.Reader ? input :
|
|
3143
|
+
const reader = input instanceof import_minimal3.default.Reader ? input : import_minimal3.default.Reader.create(input);
|
|
2871
3144
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2872
3145
|
const message = createBaseProcessMetadataStore();
|
|
2873
3146
|
while (reader.pos < end) {
|
|
2874
3147
|
const tag = reader.uint32();
|
|
2875
3148
|
switch (tag >>> 3) {
|
|
2876
3149
|
case 1:
|
|
3150
|
+
if (tag != 10) {
|
|
3151
|
+
break;
|
|
3152
|
+
}
|
|
2877
3153
|
message.items.push(ProcessMetadata.decode(reader, reader.uint32()));
|
|
2878
|
-
|
|
2879
|
-
default:
|
|
2880
|
-
reader.skipType(tag & 7);
|
|
2881
|
-
break;
|
|
3154
|
+
continue;
|
|
2882
3155
|
}
|
|
3156
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3157
|
+
break;
|
|
3158
|
+
}
|
|
3159
|
+
reader.skipType(tag & 7);
|
|
2883
3160
|
}
|
|
2884
3161
|
return message;
|
|
2885
3162
|
},
|
|
@@ -2933,49 +3210,71 @@ var ProcessMetadata = {
|
|
|
2933
3210
|
return writer;
|
|
2934
3211
|
},
|
|
2935
3212
|
decode(input, length) {
|
|
2936
|
-
const reader = input instanceof import_minimal3.default.Reader ? input :
|
|
3213
|
+
const reader = input instanceof import_minimal3.default.Reader ? input : import_minimal3.default.Reader.create(input);
|
|
2937
3214
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2938
3215
|
const message = createBaseProcessMetadata();
|
|
2939
3216
|
while (reader.pos < end) {
|
|
2940
3217
|
const tag = reader.uint32();
|
|
2941
3218
|
switch (tag >>> 3) {
|
|
2942
3219
|
case 1:
|
|
3220
|
+
if (tag != 10) {
|
|
3221
|
+
break;
|
|
3222
|
+
}
|
|
2943
3223
|
message.version = reader.string();
|
|
2944
|
-
|
|
3224
|
+
continue;
|
|
2945
3225
|
case 2:
|
|
3226
|
+
if (tag != 18) {
|
|
3227
|
+
break;
|
|
3228
|
+
}
|
|
2946
3229
|
const entry2 = ProcessMetadata_TitleEntry.decode(reader, reader.uint32());
|
|
2947
3230
|
if (entry2.value !== void 0) {
|
|
2948
3231
|
message.title[entry2.key] = entry2.value;
|
|
2949
3232
|
}
|
|
2950
|
-
|
|
3233
|
+
continue;
|
|
2951
3234
|
case 3:
|
|
3235
|
+
if (tag != 26) {
|
|
3236
|
+
break;
|
|
3237
|
+
}
|
|
2952
3238
|
const entry3 = ProcessMetadata_DescriptionEntry.decode(reader, reader.uint32());
|
|
2953
3239
|
if (entry3.value !== void 0) {
|
|
2954
3240
|
message.description[entry3.key] = entry3.value;
|
|
2955
3241
|
}
|
|
2956
|
-
|
|
3242
|
+
continue;
|
|
2957
3243
|
case 4:
|
|
3244
|
+
if (tag != 34) {
|
|
3245
|
+
break;
|
|
3246
|
+
}
|
|
2958
3247
|
const entry4 = ProcessMetadata_MediaEntry.decode(reader, reader.uint32());
|
|
2959
3248
|
if (entry4.value !== void 0) {
|
|
2960
3249
|
message.media[entry4.key] = entry4.value;
|
|
2961
3250
|
}
|
|
2962
|
-
|
|
3251
|
+
continue;
|
|
2963
3252
|
case 5:
|
|
3253
|
+
if (tag != 42) {
|
|
3254
|
+
break;
|
|
3255
|
+
}
|
|
2964
3256
|
message.questions.push(ProcessMetadata_Question.decode(reader, reader.uint32()));
|
|
2965
|
-
|
|
3257
|
+
continue;
|
|
2966
3258
|
case 6:
|
|
3259
|
+
if (tag != 50) {
|
|
3260
|
+
break;
|
|
3261
|
+
}
|
|
2967
3262
|
message.results = ProcessMetadata_Results.decode(reader, reader.uint32());
|
|
2968
|
-
|
|
3263
|
+
continue;
|
|
2969
3264
|
case 100:
|
|
3265
|
+
if (tag != 802) {
|
|
3266
|
+
break;
|
|
3267
|
+
}
|
|
2970
3268
|
const entry100 = ProcessMetadata_MetaEntry.decode(reader, reader.uint32());
|
|
2971
3269
|
if (entry100.value !== void 0) {
|
|
2972
3270
|
message.meta[entry100.key] = entry100.value;
|
|
2973
3271
|
}
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
3272
|
+
continue;
|
|
3273
|
+
}
|
|
3274
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3275
|
+
break;
|
|
2978
3276
|
}
|
|
3277
|
+
reader.skipType(tag & 7);
|
|
2979
3278
|
}
|
|
2980
3279
|
return message;
|
|
2981
3280
|
},
|
|
@@ -3089,22 +3388,29 @@ var ProcessMetadata_TitleEntry = {
|
|
|
3089
3388
|
return writer;
|
|
3090
3389
|
},
|
|
3091
3390
|
decode(input, length) {
|
|
3092
|
-
const reader = input instanceof import_minimal3.default.Reader ? input :
|
|
3391
|
+
const reader = input instanceof import_minimal3.default.Reader ? input : import_minimal3.default.Reader.create(input);
|
|
3093
3392
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3094
3393
|
const message = createBaseProcessMetadata_TitleEntry();
|
|
3095
3394
|
while (reader.pos < end) {
|
|
3096
3395
|
const tag = reader.uint32();
|
|
3097
3396
|
switch (tag >>> 3) {
|
|
3098
3397
|
case 1:
|
|
3398
|
+
if (tag != 10) {
|
|
3399
|
+
break;
|
|
3400
|
+
}
|
|
3099
3401
|
message.key = reader.string();
|
|
3100
|
-
|
|
3402
|
+
continue;
|
|
3101
3403
|
case 2:
|
|
3404
|
+
if (tag != 18) {
|
|
3405
|
+
break;
|
|
3406
|
+
}
|
|
3102
3407
|
message.value = reader.string();
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3408
|
+
continue;
|
|
3409
|
+
}
|
|
3410
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3411
|
+
break;
|
|
3107
3412
|
}
|
|
3413
|
+
reader.skipType(tag & 7);
|
|
3108
3414
|
}
|
|
3109
3415
|
return message;
|
|
3110
3416
|
},
|
|
@@ -3141,22 +3447,29 @@ var ProcessMetadata_DescriptionEntry = {
|
|
|
3141
3447
|
return writer;
|
|
3142
3448
|
},
|
|
3143
3449
|
decode(input, length) {
|
|
3144
|
-
const reader = input instanceof import_minimal3.default.Reader ? input :
|
|
3450
|
+
const reader = input instanceof import_minimal3.default.Reader ? input : import_minimal3.default.Reader.create(input);
|
|
3145
3451
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3146
3452
|
const message = createBaseProcessMetadata_DescriptionEntry();
|
|
3147
3453
|
while (reader.pos < end) {
|
|
3148
3454
|
const tag = reader.uint32();
|
|
3149
3455
|
switch (tag >>> 3) {
|
|
3150
3456
|
case 1:
|
|
3457
|
+
if (tag != 10) {
|
|
3458
|
+
break;
|
|
3459
|
+
}
|
|
3151
3460
|
message.key = reader.string();
|
|
3152
|
-
|
|
3461
|
+
continue;
|
|
3153
3462
|
case 2:
|
|
3463
|
+
if (tag != 18) {
|
|
3464
|
+
break;
|
|
3465
|
+
}
|
|
3154
3466
|
message.value = reader.string();
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3467
|
+
continue;
|
|
3468
|
+
}
|
|
3469
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3470
|
+
break;
|
|
3159
3471
|
}
|
|
3472
|
+
reader.skipType(tag & 7);
|
|
3160
3473
|
}
|
|
3161
3474
|
return message;
|
|
3162
3475
|
},
|
|
@@ -3193,22 +3506,29 @@ var ProcessMetadata_MediaEntry = {
|
|
|
3193
3506
|
return writer;
|
|
3194
3507
|
},
|
|
3195
3508
|
decode(input, length) {
|
|
3196
|
-
const reader = input instanceof import_minimal3.default.Reader ? input :
|
|
3509
|
+
const reader = input instanceof import_minimal3.default.Reader ? input : import_minimal3.default.Reader.create(input);
|
|
3197
3510
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3198
3511
|
const message = createBaseProcessMetadata_MediaEntry();
|
|
3199
3512
|
while (reader.pos < end) {
|
|
3200
3513
|
const tag = reader.uint32();
|
|
3201
3514
|
switch (tag >>> 3) {
|
|
3202
3515
|
case 1:
|
|
3516
|
+
if (tag != 10) {
|
|
3517
|
+
break;
|
|
3518
|
+
}
|
|
3203
3519
|
message.key = reader.string();
|
|
3204
|
-
|
|
3520
|
+
continue;
|
|
3205
3521
|
case 2:
|
|
3522
|
+
if (tag != 18) {
|
|
3523
|
+
break;
|
|
3524
|
+
}
|
|
3206
3525
|
message.value = reader.string();
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3526
|
+
continue;
|
|
3527
|
+
}
|
|
3528
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3529
|
+
break;
|
|
3211
3530
|
}
|
|
3531
|
+
reader.skipType(tag & 7);
|
|
3212
3532
|
}
|
|
3213
3533
|
return message;
|
|
3214
3534
|
},
|
|
@@ -3248,31 +3568,41 @@ var ProcessMetadata_Question = {
|
|
|
3248
3568
|
return writer;
|
|
3249
3569
|
},
|
|
3250
3570
|
decode(input, length) {
|
|
3251
|
-
const reader = input instanceof import_minimal3.default.Reader ? input :
|
|
3571
|
+
const reader = input instanceof import_minimal3.default.Reader ? input : import_minimal3.default.Reader.create(input);
|
|
3252
3572
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3253
3573
|
const message = createBaseProcessMetadata_Question();
|
|
3254
3574
|
while (reader.pos < end) {
|
|
3255
3575
|
const tag = reader.uint32();
|
|
3256
3576
|
switch (tag >>> 3) {
|
|
3257
3577
|
case 1:
|
|
3578
|
+
if (tag != 10) {
|
|
3579
|
+
break;
|
|
3580
|
+
}
|
|
3258
3581
|
const entry1 = ProcessMetadata_Question_TitleEntry.decode(reader, reader.uint32());
|
|
3259
3582
|
if (entry1.value !== void 0) {
|
|
3260
3583
|
message.title[entry1.key] = entry1.value;
|
|
3261
3584
|
}
|
|
3262
|
-
|
|
3585
|
+
continue;
|
|
3263
3586
|
case 2:
|
|
3587
|
+
if (tag != 18) {
|
|
3588
|
+
break;
|
|
3589
|
+
}
|
|
3264
3590
|
const entry2 = ProcessMetadata_Question_DescriptionEntry.decode(reader, reader.uint32());
|
|
3265
3591
|
if (entry2.value !== void 0) {
|
|
3266
3592
|
message.description[entry2.key] = entry2.value;
|
|
3267
3593
|
}
|
|
3268
|
-
|
|
3594
|
+
continue;
|
|
3269
3595
|
case 3:
|
|
3596
|
+
if (tag != 26) {
|
|
3597
|
+
break;
|
|
3598
|
+
}
|
|
3270
3599
|
message.choices.push(ProcessMetadata_Question_VoteOption.decode(reader, reader.uint32()));
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3600
|
+
continue;
|
|
3601
|
+
}
|
|
3602
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3603
|
+
break;
|
|
3275
3604
|
}
|
|
3605
|
+
reader.skipType(tag & 7);
|
|
3276
3606
|
}
|
|
3277
3607
|
return message;
|
|
3278
3608
|
},
|
|
@@ -3348,22 +3678,29 @@ var ProcessMetadata_Question_TitleEntry = {
|
|
|
3348
3678
|
return writer;
|
|
3349
3679
|
},
|
|
3350
3680
|
decode(input, length) {
|
|
3351
|
-
const reader = input instanceof import_minimal3.default.Reader ? input :
|
|
3681
|
+
const reader = input instanceof import_minimal3.default.Reader ? input : import_minimal3.default.Reader.create(input);
|
|
3352
3682
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3353
3683
|
const message = createBaseProcessMetadata_Question_TitleEntry();
|
|
3354
3684
|
while (reader.pos < end) {
|
|
3355
3685
|
const tag = reader.uint32();
|
|
3356
3686
|
switch (tag >>> 3) {
|
|
3357
3687
|
case 1:
|
|
3688
|
+
if (tag != 10) {
|
|
3689
|
+
break;
|
|
3690
|
+
}
|
|
3358
3691
|
message.key = reader.string();
|
|
3359
|
-
|
|
3692
|
+
continue;
|
|
3360
3693
|
case 2:
|
|
3694
|
+
if (tag != 18) {
|
|
3695
|
+
break;
|
|
3696
|
+
}
|
|
3361
3697
|
message.value = reader.string();
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3698
|
+
continue;
|
|
3699
|
+
}
|
|
3700
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3701
|
+
break;
|
|
3366
3702
|
}
|
|
3703
|
+
reader.skipType(tag & 7);
|
|
3367
3704
|
}
|
|
3368
3705
|
return message;
|
|
3369
3706
|
},
|
|
@@ -3400,22 +3737,29 @@ var ProcessMetadata_Question_DescriptionEntry = {
|
|
|
3400
3737
|
return writer;
|
|
3401
3738
|
},
|
|
3402
3739
|
decode(input, length) {
|
|
3403
|
-
const reader = input instanceof import_minimal3.default.Reader ? input :
|
|
3740
|
+
const reader = input instanceof import_minimal3.default.Reader ? input : import_minimal3.default.Reader.create(input);
|
|
3404
3741
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3405
3742
|
const message = createBaseProcessMetadata_Question_DescriptionEntry();
|
|
3406
3743
|
while (reader.pos < end) {
|
|
3407
3744
|
const tag = reader.uint32();
|
|
3408
3745
|
switch (tag >>> 3) {
|
|
3409
3746
|
case 1:
|
|
3747
|
+
if (tag != 10) {
|
|
3748
|
+
break;
|
|
3749
|
+
}
|
|
3410
3750
|
message.key = reader.string();
|
|
3411
|
-
|
|
3751
|
+
continue;
|
|
3412
3752
|
case 2:
|
|
3753
|
+
if (tag != 18) {
|
|
3754
|
+
break;
|
|
3755
|
+
}
|
|
3413
3756
|
message.value = reader.string();
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3757
|
+
continue;
|
|
3758
|
+
}
|
|
3759
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3760
|
+
break;
|
|
3418
3761
|
}
|
|
3762
|
+
reader.skipType(tag & 7);
|
|
3419
3763
|
}
|
|
3420
3764
|
return message;
|
|
3421
3765
|
},
|
|
@@ -3452,25 +3796,32 @@ var ProcessMetadata_Question_VoteOption = {
|
|
|
3452
3796
|
return writer;
|
|
3453
3797
|
},
|
|
3454
3798
|
decode(input, length) {
|
|
3455
|
-
const reader = input instanceof import_minimal3.default.Reader ? input :
|
|
3799
|
+
const reader = input instanceof import_minimal3.default.Reader ? input : import_minimal3.default.Reader.create(input);
|
|
3456
3800
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3457
3801
|
const message = createBaseProcessMetadata_Question_VoteOption();
|
|
3458
3802
|
while (reader.pos < end) {
|
|
3459
3803
|
const tag = reader.uint32();
|
|
3460
3804
|
switch (tag >>> 3) {
|
|
3461
3805
|
case 1:
|
|
3806
|
+
if (tag != 10) {
|
|
3807
|
+
break;
|
|
3808
|
+
}
|
|
3462
3809
|
const entry1 = ProcessMetadata_Question_VoteOption_TitleEntry.decode(reader, reader.uint32());
|
|
3463
3810
|
if (entry1.value !== void 0) {
|
|
3464
3811
|
message.title[entry1.key] = entry1.value;
|
|
3465
3812
|
}
|
|
3466
|
-
|
|
3813
|
+
continue;
|
|
3467
3814
|
case 2:
|
|
3815
|
+
if (tag != 16) {
|
|
3816
|
+
break;
|
|
3817
|
+
}
|
|
3468
3818
|
message.value = reader.int32();
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3819
|
+
continue;
|
|
3820
|
+
}
|
|
3821
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3822
|
+
break;
|
|
3473
3823
|
}
|
|
3824
|
+
reader.skipType(tag & 7);
|
|
3474
3825
|
}
|
|
3475
3826
|
return message;
|
|
3476
3827
|
},
|
|
@@ -3523,22 +3874,29 @@ var ProcessMetadata_Question_VoteOption_TitleEntry = {
|
|
|
3523
3874
|
return writer;
|
|
3524
3875
|
},
|
|
3525
3876
|
decode(input, length) {
|
|
3526
|
-
const reader = input instanceof import_minimal3.default.Reader ? input :
|
|
3877
|
+
const reader = input instanceof import_minimal3.default.Reader ? input : import_minimal3.default.Reader.create(input);
|
|
3527
3878
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3528
3879
|
const message = createBaseProcessMetadata_Question_VoteOption_TitleEntry();
|
|
3529
3880
|
while (reader.pos < end) {
|
|
3530
3881
|
const tag = reader.uint32();
|
|
3531
3882
|
switch (tag >>> 3) {
|
|
3532
3883
|
case 1:
|
|
3884
|
+
if (tag != 10) {
|
|
3885
|
+
break;
|
|
3886
|
+
}
|
|
3533
3887
|
message.key = reader.string();
|
|
3534
|
-
|
|
3888
|
+
continue;
|
|
3535
3889
|
case 2:
|
|
3890
|
+
if (tag != 18) {
|
|
3891
|
+
break;
|
|
3892
|
+
}
|
|
3536
3893
|
message.value = reader.string();
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3894
|
+
continue;
|
|
3895
|
+
}
|
|
3896
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3897
|
+
break;
|
|
3541
3898
|
}
|
|
3899
|
+
reader.skipType(tag & 7);
|
|
3542
3900
|
}
|
|
3543
3901
|
return message;
|
|
3544
3902
|
},
|
|
@@ -3575,22 +3933,29 @@ var ProcessMetadata_Results = {
|
|
|
3575
3933
|
return writer;
|
|
3576
3934
|
},
|
|
3577
3935
|
decode(input, length) {
|
|
3578
|
-
const reader = input instanceof import_minimal3.default.Reader ? input :
|
|
3936
|
+
const reader = input instanceof import_minimal3.default.Reader ? input : import_minimal3.default.Reader.create(input);
|
|
3579
3937
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3580
3938
|
const message = createBaseProcessMetadata_Results();
|
|
3581
3939
|
while (reader.pos < end) {
|
|
3582
3940
|
const tag = reader.uint32();
|
|
3583
3941
|
switch (tag >>> 3) {
|
|
3584
3942
|
case 1:
|
|
3943
|
+
if (tag != 10) {
|
|
3944
|
+
break;
|
|
3945
|
+
}
|
|
3585
3946
|
message.aggregation = reader.string();
|
|
3586
|
-
|
|
3947
|
+
continue;
|
|
3587
3948
|
case 2:
|
|
3949
|
+
if (tag != 18) {
|
|
3950
|
+
break;
|
|
3951
|
+
}
|
|
3588
3952
|
message.display = reader.string();
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3953
|
+
continue;
|
|
3954
|
+
}
|
|
3955
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3956
|
+
break;
|
|
3593
3957
|
}
|
|
3958
|
+
reader.skipType(tag & 7);
|
|
3594
3959
|
}
|
|
3595
3960
|
return message;
|
|
3596
3961
|
},
|
|
@@ -3630,22 +3995,29 @@ var ProcessMetadata_MetaEntry = {
|
|
|
3630
3995
|
return writer;
|
|
3631
3996
|
},
|
|
3632
3997
|
decode(input, length) {
|
|
3633
|
-
const reader = input instanceof import_minimal3.default.Reader ? input :
|
|
3998
|
+
const reader = input instanceof import_minimal3.default.Reader ? input : import_minimal3.default.Reader.create(input);
|
|
3634
3999
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3635
4000
|
const message = createBaseProcessMetadata_MetaEntry();
|
|
3636
4001
|
while (reader.pos < end) {
|
|
3637
4002
|
const tag = reader.uint32();
|
|
3638
4003
|
switch (tag >>> 3) {
|
|
3639
4004
|
case 1:
|
|
4005
|
+
if (tag != 10) {
|
|
4006
|
+
break;
|
|
4007
|
+
}
|
|
3640
4008
|
message.key = reader.string();
|
|
3641
|
-
|
|
4009
|
+
continue;
|
|
3642
4010
|
case 2:
|
|
4011
|
+
if (tag != 18) {
|
|
4012
|
+
break;
|
|
4013
|
+
}
|
|
3643
4014
|
message.value = reader.string();
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
4015
|
+
continue;
|
|
4016
|
+
}
|
|
4017
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
4018
|
+
break;
|
|
3648
4019
|
}
|
|
4020
|
+
reader.skipType(tag & 7);
|
|
3649
4021
|
}
|
|
3650
4022
|
return message;
|
|
3651
4023
|
},
|