@vocdoni/proto 1.14.0 → 1.14.3
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 -4
- package/Makefile +3 -2
- 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.js
CHANGED
|
@@ -21,6 +21,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
21
21
|
return to;
|
|
22
22
|
};
|
|
23
23
|
var __toESM = (mod2, isNodeMode, target) => (target = mod2 != null ? __create(__getProtoOf(mod2)) : {}, __copyProps(
|
|
24
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
25
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
26
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
27
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
28
|
isNodeMode || !mod2 || !mod2.__esModule ? __defProp(target, "default", { value: mod2, enumerable: true }) : target,
|
|
25
29
|
mod2
|
|
26
30
|
));
|
|
@@ -257,7 +261,13 @@ var require_float = __commonJS({
|
|
|
257
261
|
if (sign)
|
|
258
262
|
val = -val;
|
|
259
263
|
if (val === 0)
|
|
260
|
-
writeUint(1 / val > 0 ?
|
|
264
|
+
writeUint(1 / val > 0 ? (
|
|
265
|
+
/* positive */
|
|
266
|
+
0
|
|
267
|
+
) : (
|
|
268
|
+
/* negative 0 */
|
|
269
|
+
2147483648
|
|
270
|
+
), buf, pos);
|
|
261
271
|
else if (isNaN(val))
|
|
262
272
|
writeUint(2143289344, buf, pos);
|
|
263
273
|
else if (val > 34028234663852886e22)
|
|
@@ -338,7 +348,13 @@ var require_float = __commonJS({
|
|
|
338
348
|
val = -val;
|
|
339
349
|
if (val === 0) {
|
|
340
350
|
writeUint(0, buf, pos + off0);
|
|
341
|
-
writeUint(1 / val > 0 ?
|
|
351
|
+
writeUint(1 / val > 0 ? (
|
|
352
|
+
/* positive */
|
|
353
|
+
0
|
|
354
|
+
) : (
|
|
355
|
+
/* negative 0 */
|
|
356
|
+
2147483648
|
|
357
|
+
), buf, pos + off1);
|
|
342
358
|
} else if (isNaN(val)) {
|
|
343
359
|
writeUint(0, buf, pos + off0);
|
|
344
360
|
writeUint(2146959360, buf, pos + off1);
|
|
@@ -631,9 +647,16 @@ var require_minimal = __commonJS({
|
|
|
631
647
|
util.LongBits = require_longbits();
|
|
632
648
|
util.isNode = Boolean(typeof global !== "undefined" && global && global.process && global.process.versions && global.process.versions.node);
|
|
633
649
|
util.global = util.isNode && global || typeof window !== "undefined" && window || typeof self !== "undefined" && self || exports2;
|
|
634
|
-
util.emptyArray = Object.freeze ? Object.freeze([]) :
|
|
635
|
-
|
|
636
|
-
|
|
650
|
+
util.emptyArray = Object.freeze ? Object.freeze([]) : (
|
|
651
|
+
/* istanbul ignore next */
|
|
652
|
+
[]
|
|
653
|
+
);
|
|
654
|
+
util.emptyObject = Object.freeze ? Object.freeze({}) : (
|
|
655
|
+
/* istanbul ignore next */
|
|
656
|
+
{}
|
|
657
|
+
);
|
|
658
|
+
util.isInteger = Number.isInteger || /* istanbul ignore next */
|
|
659
|
+
function isInteger(value) {
|
|
637
660
|
return typeof value === "number" && isFinite(value) && Math.floor(value) === value;
|
|
638
661
|
};
|
|
639
662
|
util.isString = function isString(value) {
|
|
@@ -642,7 +665,13 @@ var require_minimal = __commonJS({
|
|
|
642
665
|
util.isObject = function isObject4(value) {
|
|
643
666
|
return value && typeof value === "object";
|
|
644
667
|
};
|
|
645
|
-
util.isset =
|
|
668
|
+
util.isset = /**
|
|
669
|
+
* Checks if a property on a message is considered to be present.
|
|
670
|
+
* @param {Object} obj Plain object or message instance
|
|
671
|
+
* @param {string} prop Property name
|
|
672
|
+
* @returns {boolean} `true` if considered to be present, otherwise `false`
|
|
673
|
+
*/
|
|
674
|
+
util.isSet = function isSet4(obj, prop) {
|
|
646
675
|
var value = obj[prop];
|
|
647
676
|
if (value != null && obj.hasOwnProperty(prop))
|
|
648
677
|
return typeof value !== "object" || (Array.isArray(value) ? value.length : Object.keys(value).length) > 0;
|
|
@@ -651,7 +680,10 @@ var require_minimal = __commonJS({
|
|
|
651
680
|
util.Buffer = function() {
|
|
652
681
|
try {
|
|
653
682
|
var Buffer2 = util.inquire("buffer").Buffer;
|
|
654
|
-
return Buffer2.prototype.utf8Write ? Buffer2 :
|
|
683
|
+
return Buffer2.prototype.utf8Write ? Buffer2 : (
|
|
684
|
+
/* istanbul ignore next */
|
|
685
|
+
null
|
|
686
|
+
);
|
|
655
687
|
} catch (e) {
|
|
656
688
|
return null;
|
|
657
689
|
}
|
|
@@ -662,7 +694,10 @@ var require_minimal = __commonJS({
|
|
|
662
694
|
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);
|
|
663
695
|
};
|
|
664
696
|
util.Array = typeof Uint8Array !== "undefined" ? Uint8Array : Array;
|
|
665
|
-
util.Long =
|
|
697
|
+
util.Long = /* istanbul ignore next */
|
|
698
|
+
util.global.dcodeIO && /* istanbul ignore next */
|
|
699
|
+
util.global.dcodeIO.Long || /* istanbul ignore next */
|
|
700
|
+
util.global.Long || util.inquire("long");
|
|
666
701
|
util.key2Re = /^true|false|0|1$/;
|
|
667
702
|
util.key32Re = /^-?(?:0|[1-9][0-9]*)$/;
|
|
668
703
|
util.key64Re = /^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/;
|
|
@@ -707,15 +742,19 @@ var require_minimal = __commonJS({
|
|
|
707
742
|
configurable: true
|
|
708
743
|
},
|
|
709
744
|
name: {
|
|
710
|
-
get() {
|
|
745
|
+
get: function get() {
|
|
711
746
|
return name;
|
|
712
747
|
},
|
|
713
748
|
set: void 0,
|
|
714
749
|
enumerable: false,
|
|
750
|
+
// configurable: false would accurately preserve the behavior of
|
|
751
|
+
// the original, but I'm guessing that was not intentional.
|
|
752
|
+
// For an actual error subclass, this property would
|
|
753
|
+
// be configurable.
|
|
715
754
|
configurable: true
|
|
716
755
|
},
|
|
717
756
|
toString: {
|
|
718
|
-
value() {
|
|
757
|
+
value: function value() {
|
|
719
758
|
return this.name + ": " + this.message;
|
|
720
759
|
},
|
|
721
760
|
writable: true,
|
|
@@ -756,10 +795,12 @@ var require_minimal = __commonJS({
|
|
|
756
795
|
util._Buffer_from = util._Buffer_allocUnsafe = null;
|
|
757
796
|
return;
|
|
758
797
|
}
|
|
759
|
-
util._Buffer_from = Buffer2.from !== Uint8Array.from && Buffer2.from ||
|
|
798
|
+
util._Buffer_from = Buffer2.from !== Uint8Array.from && Buffer2.from || /* istanbul ignore next */
|
|
799
|
+
function Buffer_from(value, encoding) {
|
|
760
800
|
return new Buffer2(value, encoding);
|
|
761
801
|
};
|
|
762
|
-
util._Buffer_allocUnsafe = Buffer2.allocUnsafe ||
|
|
802
|
+
util._Buffer_allocUnsafe = Buffer2.allocUnsafe || /* istanbul ignore next */
|
|
803
|
+
function Buffer_allocUnsafe(size) {
|
|
763
804
|
return new Buffer2(size);
|
|
764
805
|
};
|
|
765
806
|
};
|
|
@@ -1042,7 +1083,8 @@ var require_reader = __commonJS({
|
|
|
1042
1083
|
} : create_array;
|
|
1043
1084
|
};
|
|
1044
1085
|
Reader.create = create();
|
|
1045
|
-
Reader.prototype._slice = util.Array.prototype.subarray ||
|
|
1086
|
+
Reader.prototype._slice = util.Array.prototype.subarray || /* istanbul ignore next */
|
|
1087
|
+
util.Array.prototype.slice;
|
|
1046
1088
|
Reader.prototype.uint32 = function read_uint32_setup() {
|
|
1047
1089
|
var value = 4294967295;
|
|
1048
1090
|
return function read_uint32() {
|
|
@@ -1206,7 +1248,10 @@ var require_reader = __commonJS({
|
|
|
1206
1248
|
BufferReader = BufferReader_;
|
|
1207
1249
|
Reader.create = create();
|
|
1208
1250
|
BufferReader._configure();
|
|
1209
|
-
var fn = util.Long ? "toLong" :
|
|
1251
|
+
var fn = util.Long ? "toLong" : (
|
|
1252
|
+
/* istanbul ignore next */
|
|
1253
|
+
"toNumber"
|
|
1254
|
+
);
|
|
1210
1255
|
util.merge(Reader.prototype, {
|
|
1211
1256
|
int64: function read_int64() {
|
|
1212
1257
|
return readLongVarint.call(this)[fn](false);
|
|
@@ -1288,7 +1333,10 @@ var require_service = __commonJS({
|
|
|
1288
1333
|
return callback(err);
|
|
1289
1334
|
}
|
|
1290
1335
|
if (response === null) {
|
|
1291
|
-
self2.end(
|
|
1336
|
+
self2.end(
|
|
1337
|
+
/* endedByRPC */
|
|
1338
|
+
true
|
|
1339
|
+
);
|
|
1292
1340
|
return void 0;
|
|
1293
1341
|
}
|
|
1294
1342
|
if (!(response instanceof responseCtor)) {
|
|
@@ -1420,19 +1468,23 @@ var EntityMetadataStore = {
|
|
|
1420
1468
|
return writer;
|
|
1421
1469
|
},
|
|
1422
1470
|
decode(input, length) {
|
|
1423
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
1471
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
1424
1472
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
1425
1473
|
const message = createBaseEntityMetadataStore();
|
|
1426
1474
|
while (reader.pos < end) {
|
|
1427
1475
|
const tag = reader.uint32();
|
|
1428
1476
|
switch (tag >>> 3) {
|
|
1429
1477
|
case 1:
|
|
1478
|
+
if (tag != 10) {
|
|
1479
|
+
break;
|
|
1480
|
+
}
|
|
1430
1481
|
message.items.push(EntityMetadata.decode(reader, reader.uint32()));
|
|
1431
|
-
|
|
1432
|
-
default:
|
|
1433
|
-
reader.skipType(tag & 7);
|
|
1434
|
-
break;
|
|
1482
|
+
continue;
|
|
1435
1483
|
}
|
|
1484
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
1485
|
+
break;
|
|
1486
|
+
}
|
|
1487
|
+
reader.skipType(tag & 7);
|
|
1436
1488
|
}
|
|
1437
1489
|
return message;
|
|
1438
1490
|
},
|
|
@@ -1518,67 +1570,107 @@ var EntityMetadata = {
|
|
|
1518
1570
|
return writer;
|
|
1519
1571
|
},
|
|
1520
1572
|
decode(input, length) {
|
|
1521
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
1573
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
1522
1574
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
1523
1575
|
const message = createBaseEntityMetadata();
|
|
1524
1576
|
while (reader.pos < end) {
|
|
1525
1577
|
const tag = reader.uint32();
|
|
1526
1578
|
switch (tag >>> 3) {
|
|
1527
1579
|
case 1:
|
|
1580
|
+
if (tag != 10) {
|
|
1581
|
+
break;
|
|
1582
|
+
}
|
|
1528
1583
|
message.version = reader.string();
|
|
1529
|
-
|
|
1584
|
+
continue;
|
|
1530
1585
|
case 2:
|
|
1586
|
+
if (tag != 18) {
|
|
1587
|
+
break;
|
|
1588
|
+
}
|
|
1531
1589
|
message.languages.push(reader.string());
|
|
1532
|
-
|
|
1590
|
+
continue;
|
|
1533
1591
|
case 3:
|
|
1592
|
+
if (tag != 26) {
|
|
1593
|
+
break;
|
|
1594
|
+
}
|
|
1534
1595
|
const entry3 = EntityMetadata_NameEntry.decode(reader, reader.uint32());
|
|
1535
1596
|
if (entry3.value !== void 0) {
|
|
1536
1597
|
message.name[entry3.key] = entry3.value;
|
|
1537
1598
|
}
|
|
1538
|
-
|
|
1599
|
+
continue;
|
|
1539
1600
|
case 4:
|
|
1601
|
+
if (tag != 34) {
|
|
1602
|
+
break;
|
|
1603
|
+
}
|
|
1540
1604
|
const entry4 = EntityMetadata_DescriptionEntry.decode(reader, reader.uint32());
|
|
1541
1605
|
if (entry4.value !== void 0) {
|
|
1542
1606
|
message.description[entry4.key] = entry4.value;
|
|
1543
1607
|
}
|
|
1544
|
-
|
|
1608
|
+
continue;
|
|
1545
1609
|
case 5:
|
|
1610
|
+
if (tag != 42) {
|
|
1611
|
+
break;
|
|
1612
|
+
}
|
|
1546
1613
|
message.votingProcesses = EntityMetadata_VotingProcesses.decode(reader, reader.uint32());
|
|
1547
|
-
|
|
1614
|
+
continue;
|
|
1548
1615
|
case 6:
|
|
1616
|
+
if (tag != 50) {
|
|
1617
|
+
break;
|
|
1618
|
+
}
|
|
1549
1619
|
const entry6 = EntityMetadata_NewsFeedEntry.decode(reader, reader.uint32());
|
|
1550
1620
|
if (entry6.value !== void 0) {
|
|
1551
1621
|
message.newsFeed[entry6.key] = entry6.value;
|
|
1552
1622
|
}
|
|
1553
|
-
|
|
1623
|
+
continue;
|
|
1554
1624
|
case 7:
|
|
1625
|
+
if (tag != 58) {
|
|
1626
|
+
break;
|
|
1627
|
+
}
|
|
1555
1628
|
message.media = EntityMetadata_Media.decode(reader, reader.uint32());
|
|
1556
|
-
|
|
1629
|
+
continue;
|
|
1557
1630
|
case 8:
|
|
1631
|
+
if (tag != 66) {
|
|
1632
|
+
break;
|
|
1633
|
+
}
|
|
1558
1634
|
message.actions.push(EntityMetadata_Action.decode(reader, reader.uint32()));
|
|
1559
|
-
|
|
1635
|
+
continue;
|
|
1560
1636
|
case 9:
|
|
1637
|
+
if (tag != 74) {
|
|
1638
|
+
break;
|
|
1639
|
+
}
|
|
1561
1640
|
message.bootEntities.push(EntityReference.decode(reader, reader.uint32()));
|
|
1562
|
-
|
|
1641
|
+
continue;
|
|
1563
1642
|
case 10:
|
|
1643
|
+
if (tag != 82) {
|
|
1644
|
+
break;
|
|
1645
|
+
}
|
|
1564
1646
|
message.fallbackBootNodeEntities.push(EntityReference.decode(reader, reader.uint32()));
|
|
1565
|
-
|
|
1647
|
+
continue;
|
|
1566
1648
|
case 11:
|
|
1649
|
+
if (tag != 90) {
|
|
1650
|
+
break;
|
|
1651
|
+
}
|
|
1567
1652
|
message.trustedEntities.push(EntityReference.decode(reader, reader.uint32()));
|
|
1568
|
-
|
|
1653
|
+
continue;
|
|
1569
1654
|
case 12:
|
|
1655
|
+
if (tag != 98) {
|
|
1656
|
+
break;
|
|
1657
|
+
}
|
|
1570
1658
|
message.censusServiceManagedEntities.push(EntityReference.decode(reader, reader.uint32()));
|
|
1571
|
-
|
|
1659
|
+
continue;
|
|
1572
1660
|
case 100:
|
|
1661
|
+
if (tag != 802) {
|
|
1662
|
+
break;
|
|
1663
|
+
}
|
|
1573
1664
|
const entry100 = EntityMetadata_MetaEntry.decode(reader, reader.uint32());
|
|
1574
1665
|
if (entry100.value !== void 0) {
|
|
1575
1666
|
message.meta[entry100.key] = entry100.value;
|
|
1576
1667
|
}
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1668
|
+
continue;
|
|
1669
|
+
}
|
|
1670
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
1671
|
+
break;
|
|
1581
1672
|
}
|
|
1673
|
+
reader.skipType(tag & 7);
|
|
1582
1674
|
}
|
|
1583
1675
|
return message;
|
|
1584
1676
|
},
|
|
@@ -1734,22 +1826,29 @@ var EntityMetadata_NameEntry = {
|
|
|
1734
1826
|
return writer;
|
|
1735
1827
|
},
|
|
1736
1828
|
decode(input, length) {
|
|
1737
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
1829
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
1738
1830
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
1739
1831
|
const message = createBaseEntityMetadata_NameEntry();
|
|
1740
1832
|
while (reader.pos < end) {
|
|
1741
1833
|
const tag = reader.uint32();
|
|
1742
1834
|
switch (tag >>> 3) {
|
|
1743
1835
|
case 1:
|
|
1836
|
+
if (tag != 10) {
|
|
1837
|
+
break;
|
|
1838
|
+
}
|
|
1744
1839
|
message.key = reader.string();
|
|
1745
|
-
|
|
1840
|
+
continue;
|
|
1746
1841
|
case 2:
|
|
1842
|
+
if (tag != 18) {
|
|
1843
|
+
break;
|
|
1844
|
+
}
|
|
1747
1845
|
message.value = reader.string();
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1846
|
+
continue;
|
|
1847
|
+
}
|
|
1848
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
1849
|
+
break;
|
|
1752
1850
|
}
|
|
1851
|
+
reader.skipType(tag & 7);
|
|
1753
1852
|
}
|
|
1754
1853
|
return message;
|
|
1755
1854
|
},
|
|
@@ -1786,22 +1885,29 @@ var EntityMetadata_DescriptionEntry = {
|
|
|
1786
1885
|
return writer;
|
|
1787
1886
|
},
|
|
1788
1887
|
decode(input, length) {
|
|
1789
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
1888
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
1790
1889
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
1791
1890
|
const message = createBaseEntityMetadata_DescriptionEntry();
|
|
1792
1891
|
while (reader.pos < end) {
|
|
1793
1892
|
const tag = reader.uint32();
|
|
1794
1893
|
switch (tag >>> 3) {
|
|
1795
1894
|
case 1:
|
|
1895
|
+
if (tag != 10) {
|
|
1896
|
+
break;
|
|
1897
|
+
}
|
|
1796
1898
|
message.key = reader.string();
|
|
1797
|
-
|
|
1899
|
+
continue;
|
|
1798
1900
|
case 2:
|
|
1901
|
+
if (tag != 18) {
|
|
1902
|
+
break;
|
|
1903
|
+
}
|
|
1799
1904
|
message.value = reader.string();
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1905
|
+
continue;
|
|
1906
|
+
}
|
|
1907
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
1908
|
+
break;
|
|
1804
1909
|
}
|
|
1910
|
+
reader.skipType(tag & 7);
|
|
1805
1911
|
}
|
|
1806
1912
|
return message;
|
|
1807
1913
|
},
|
|
@@ -1838,22 +1944,29 @@ var EntityMetadata_VotingProcesses = {
|
|
|
1838
1944
|
return writer;
|
|
1839
1945
|
},
|
|
1840
1946
|
decode(input, length) {
|
|
1841
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
1947
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
1842
1948
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
1843
1949
|
const message = createBaseEntityMetadata_VotingProcesses();
|
|
1844
1950
|
while (reader.pos < end) {
|
|
1845
1951
|
const tag = reader.uint32();
|
|
1846
1952
|
switch (tag >>> 3) {
|
|
1847
1953
|
case 1:
|
|
1954
|
+
if (tag != 10) {
|
|
1955
|
+
break;
|
|
1956
|
+
}
|
|
1848
1957
|
message.active.push(reader.string());
|
|
1849
|
-
|
|
1958
|
+
continue;
|
|
1850
1959
|
case 2:
|
|
1960
|
+
if (tag != 18) {
|
|
1961
|
+
break;
|
|
1962
|
+
}
|
|
1851
1963
|
message.ended.push(reader.string());
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1964
|
+
continue;
|
|
1965
|
+
}
|
|
1966
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
1967
|
+
break;
|
|
1856
1968
|
}
|
|
1969
|
+
reader.skipType(tag & 7);
|
|
1857
1970
|
}
|
|
1858
1971
|
return message;
|
|
1859
1972
|
},
|
|
@@ -1901,22 +2014,29 @@ var EntityMetadata_NewsFeedEntry = {
|
|
|
1901
2014
|
return writer;
|
|
1902
2015
|
},
|
|
1903
2016
|
decode(input, length) {
|
|
1904
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
2017
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
1905
2018
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
1906
2019
|
const message = createBaseEntityMetadata_NewsFeedEntry();
|
|
1907
2020
|
while (reader.pos < end) {
|
|
1908
2021
|
const tag = reader.uint32();
|
|
1909
2022
|
switch (tag >>> 3) {
|
|
1910
2023
|
case 1:
|
|
2024
|
+
if (tag != 10) {
|
|
2025
|
+
break;
|
|
2026
|
+
}
|
|
1911
2027
|
message.key = reader.string();
|
|
1912
|
-
|
|
2028
|
+
continue;
|
|
1913
2029
|
case 2:
|
|
2030
|
+
if (tag != 18) {
|
|
2031
|
+
break;
|
|
2032
|
+
}
|
|
1914
2033
|
message.value = reader.string();
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
2034
|
+
continue;
|
|
2035
|
+
}
|
|
2036
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
2037
|
+
break;
|
|
1919
2038
|
}
|
|
2039
|
+
reader.skipType(tag & 7);
|
|
1920
2040
|
}
|
|
1921
2041
|
return message;
|
|
1922
2042
|
},
|
|
@@ -1953,22 +2073,29 @@ var EntityMetadata_Media = {
|
|
|
1953
2073
|
return writer;
|
|
1954
2074
|
},
|
|
1955
2075
|
decode(input, length) {
|
|
1956
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
2076
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
1957
2077
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
1958
2078
|
const message = createBaseEntityMetadata_Media();
|
|
1959
2079
|
while (reader.pos < end) {
|
|
1960
2080
|
const tag = reader.uint32();
|
|
1961
2081
|
switch (tag >>> 3) {
|
|
1962
2082
|
case 1:
|
|
2083
|
+
if (tag != 10) {
|
|
2084
|
+
break;
|
|
2085
|
+
}
|
|
1963
2086
|
message.avatar = reader.string();
|
|
1964
|
-
|
|
2087
|
+
continue;
|
|
1965
2088
|
case 2:
|
|
2089
|
+
if (tag != 18) {
|
|
2090
|
+
break;
|
|
2091
|
+
}
|
|
1966
2092
|
message.header = reader.string();
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
2093
|
+
continue;
|
|
2094
|
+
}
|
|
2095
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
2096
|
+
break;
|
|
1971
2097
|
}
|
|
2098
|
+
reader.skipType(tag & 7);
|
|
1972
2099
|
}
|
|
1973
2100
|
return message;
|
|
1974
2101
|
},
|
|
@@ -2020,37 +2147,56 @@ var EntityMetadata_Action = {
|
|
|
2020
2147
|
return writer;
|
|
2021
2148
|
},
|
|
2022
2149
|
decode(input, length) {
|
|
2023
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
2150
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
2024
2151
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2025
2152
|
const message = createBaseEntityMetadata_Action();
|
|
2026
2153
|
while (reader.pos < end) {
|
|
2027
2154
|
const tag = reader.uint32();
|
|
2028
2155
|
switch (tag >>> 3) {
|
|
2029
2156
|
case 1:
|
|
2157
|
+
if (tag != 10) {
|
|
2158
|
+
break;
|
|
2159
|
+
}
|
|
2030
2160
|
message.type = reader.string();
|
|
2031
|
-
|
|
2161
|
+
continue;
|
|
2032
2162
|
case 7:
|
|
2163
|
+
if (tag != 58) {
|
|
2164
|
+
break;
|
|
2165
|
+
}
|
|
2033
2166
|
message.actionKey = reader.string();
|
|
2034
|
-
|
|
2167
|
+
continue;
|
|
2035
2168
|
case 2:
|
|
2169
|
+
if (tag != 18) {
|
|
2170
|
+
break;
|
|
2171
|
+
}
|
|
2036
2172
|
const entry2 = EntityMetadata_Action_NameEntry.decode(reader, reader.uint32());
|
|
2037
2173
|
if (entry2.value !== void 0) {
|
|
2038
2174
|
message.name[entry2.key] = entry2.value;
|
|
2039
2175
|
}
|
|
2040
|
-
|
|
2176
|
+
continue;
|
|
2041
2177
|
case 3:
|
|
2178
|
+
if (tag != 26) {
|
|
2179
|
+
break;
|
|
2180
|
+
}
|
|
2042
2181
|
message.visible = reader.string();
|
|
2043
|
-
|
|
2182
|
+
continue;
|
|
2044
2183
|
case 4:
|
|
2184
|
+
if (tag != 34) {
|
|
2185
|
+
break;
|
|
2186
|
+
}
|
|
2045
2187
|
message.url = reader.string();
|
|
2046
|
-
|
|
2188
|
+
continue;
|
|
2047
2189
|
case 5:
|
|
2190
|
+
if (tag != 42) {
|
|
2191
|
+
break;
|
|
2192
|
+
}
|
|
2048
2193
|
message.imageSources.push(EntityMetadata_Action_ImageSource.decode(reader, reader.uint32()));
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2194
|
+
continue;
|
|
2195
|
+
}
|
|
2196
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
2197
|
+
break;
|
|
2053
2198
|
}
|
|
2199
|
+
reader.skipType(tag & 7);
|
|
2054
2200
|
}
|
|
2055
2201
|
return message;
|
|
2056
2202
|
},
|
|
@@ -2119,22 +2265,29 @@ var EntityMetadata_Action_NameEntry = {
|
|
|
2119
2265
|
return writer;
|
|
2120
2266
|
},
|
|
2121
2267
|
decode(input, length) {
|
|
2122
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
2268
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
2123
2269
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2124
2270
|
const message = createBaseEntityMetadata_Action_NameEntry();
|
|
2125
2271
|
while (reader.pos < end) {
|
|
2126
2272
|
const tag = reader.uint32();
|
|
2127
2273
|
switch (tag >>> 3) {
|
|
2128
2274
|
case 1:
|
|
2275
|
+
if (tag != 10) {
|
|
2276
|
+
break;
|
|
2277
|
+
}
|
|
2129
2278
|
message.key = reader.string();
|
|
2130
|
-
|
|
2279
|
+
continue;
|
|
2131
2280
|
case 2:
|
|
2281
|
+
if (tag != 18) {
|
|
2282
|
+
break;
|
|
2283
|
+
}
|
|
2132
2284
|
message.value = reader.string();
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2285
|
+
continue;
|
|
2286
|
+
}
|
|
2287
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
2288
|
+
break;
|
|
2137
2289
|
}
|
|
2290
|
+
reader.skipType(tag & 7);
|
|
2138
2291
|
}
|
|
2139
2292
|
return message;
|
|
2140
2293
|
},
|
|
@@ -2180,34 +2333,50 @@ var EntityMetadata_Action_ImageSource = {
|
|
|
2180
2333
|
return writer;
|
|
2181
2334
|
},
|
|
2182
2335
|
decode(input, length) {
|
|
2183
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
2336
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
2184
2337
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2185
2338
|
const message = createBaseEntityMetadata_Action_ImageSource();
|
|
2186
2339
|
while (reader.pos < end) {
|
|
2187
2340
|
const tag = reader.uint32();
|
|
2188
2341
|
switch (tag >>> 3) {
|
|
2189
2342
|
case 1:
|
|
2343
|
+
if (tag != 10) {
|
|
2344
|
+
break;
|
|
2345
|
+
}
|
|
2190
2346
|
message.type = reader.string();
|
|
2191
|
-
|
|
2347
|
+
continue;
|
|
2192
2348
|
case 2:
|
|
2349
|
+
if (tag != 18) {
|
|
2350
|
+
break;
|
|
2351
|
+
}
|
|
2193
2352
|
message.name = reader.string();
|
|
2194
|
-
|
|
2353
|
+
continue;
|
|
2195
2354
|
case 3:
|
|
2355
|
+
if (tag != 26) {
|
|
2356
|
+
break;
|
|
2357
|
+
}
|
|
2196
2358
|
message.orientation = reader.string();
|
|
2197
|
-
|
|
2359
|
+
continue;
|
|
2198
2360
|
case 4:
|
|
2361
|
+
if (tag != 34) {
|
|
2362
|
+
break;
|
|
2363
|
+
}
|
|
2199
2364
|
message.overlay = reader.string();
|
|
2200
|
-
|
|
2365
|
+
continue;
|
|
2201
2366
|
case 5:
|
|
2367
|
+
if (tag != 42) {
|
|
2368
|
+
break;
|
|
2369
|
+
}
|
|
2202
2370
|
const entry5 = EntityMetadata_Action_ImageSource_CaptionEntry.decode(reader, reader.uint32());
|
|
2203
2371
|
if (entry5.value !== void 0) {
|
|
2204
2372
|
message.caption[entry5.key] = entry5.value;
|
|
2205
2373
|
}
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2374
|
+
continue;
|
|
2375
|
+
}
|
|
2376
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
2377
|
+
break;
|
|
2210
2378
|
}
|
|
2379
|
+
reader.skipType(tag & 7);
|
|
2211
2380
|
}
|
|
2212
2381
|
return message;
|
|
2213
2382
|
},
|
|
@@ -2269,22 +2438,29 @@ var EntityMetadata_Action_ImageSource_CaptionEntry = {
|
|
|
2269
2438
|
return writer;
|
|
2270
2439
|
},
|
|
2271
2440
|
decode(input, length) {
|
|
2272
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
2441
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
2273
2442
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2274
2443
|
const message = createBaseEntityMetadata_Action_ImageSource_CaptionEntry();
|
|
2275
2444
|
while (reader.pos < end) {
|
|
2276
2445
|
const tag = reader.uint32();
|
|
2277
2446
|
switch (tag >>> 3) {
|
|
2278
2447
|
case 1:
|
|
2448
|
+
if (tag != 10) {
|
|
2449
|
+
break;
|
|
2450
|
+
}
|
|
2279
2451
|
message.key = reader.string();
|
|
2280
|
-
|
|
2452
|
+
continue;
|
|
2281
2453
|
case 2:
|
|
2454
|
+
if (tag != 18) {
|
|
2455
|
+
break;
|
|
2456
|
+
}
|
|
2282
2457
|
message.value = reader.string();
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2458
|
+
continue;
|
|
2459
|
+
}
|
|
2460
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
2461
|
+
break;
|
|
2287
2462
|
}
|
|
2463
|
+
reader.skipType(tag & 7);
|
|
2288
2464
|
}
|
|
2289
2465
|
return message;
|
|
2290
2466
|
},
|
|
@@ -2321,22 +2497,29 @@ var EntityMetadata_MetaEntry = {
|
|
|
2321
2497
|
return writer;
|
|
2322
2498
|
},
|
|
2323
2499
|
decode(input, length) {
|
|
2324
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
2500
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
2325
2501
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2326
2502
|
const message = createBaseEntityMetadata_MetaEntry();
|
|
2327
2503
|
while (reader.pos < end) {
|
|
2328
2504
|
const tag = reader.uint32();
|
|
2329
2505
|
switch (tag >>> 3) {
|
|
2330
2506
|
case 1:
|
|
2507
|
+
if (tag != 10) {
|
|
2508
|
+
break;
|
|
2509
|
+
}
|
|
2331
2510
|
message.key = reader.string();
|
|
2332
|
-
|
|
2511
|
+
continue;
|
|
2333
2512
|
case 2:
|
|
2513
|
+
if (tag != 18) {
|
|
2514
|
+
break;
|
|
2515
|
+
}
|
|
2334
2516
|
message.value = reader.string();
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2517
|
+
continue;
|
|
2518
|
+
}
|
|
2519
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
2520
|
+
break;
|
|
2339
2521
|
}
|
|
2522
|
+
reader.skipType(tag & 7);
|
|
2340
2523
|
}
|
|
2341
2524
|
return message;
|
|
2342
2525
|
},
|
|
@@ -2373,22 +2556,29 @@ var EntityReference = {
|
|
|
2373
2556
|
return writer;
|
|
2374
2557
|
},
|
|
2375
2558
|
decode(input, length) {
|
|
2376
|
-
const reader = input instanceof import_minimal.default.Reader ? input :
|
|
2559
|
+
const reader = input instanceof import_minimal.default.Reader ? input : import_minimal.default.Reader.create(input);
|
|
2377
2560
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2378
2561
|
const message = createBaseEntityReference();
|
|
2379
2562
|
while (reader.pos < end) {
|
|
2380
2563
|
const tag = reader.uint32();
|
|
2381
2564
|
switch (tag >>> 3) {
|
|
2382
2565
|
case 1:
|
|
2566
|
+
if (tag != 10) {
|
|
2567
|
+
break;
|
|
2568
|
+
}
|
|
2383
2569
|
message.entityId = reader.string();
|
|
2384
|
-
|
|
2570
|
+
continue;
|
|
2385
2571
|
case 2:
|
|
2572
|
+
if (tag != 18) {
|
|
2573
|
+
break;
|
|
2574
|
+
}
|
|
2386
2575
|
message.entryPoints.push(reader.string());
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2576
|
+
continue;
|
|
2577
|
+
}
|
|
2578
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
2579
|
+
break;
|
|
2391
2580
|
}
|
|
2581
|
+
reader.skipType(tag & 7);
|
|
2392
2582
|
}
|
|
2393
2583
|
return message;
|
|
2394
2584
|
},
|
|
@@ -2438,19 +2628,23 @@ var FeedStore = {
|
|
|
2438
2628
|
return writer;
|
|
2439
2629
|
},
|
|
2440
2630
|
decode(input, length) {
|
|
2441
|
-
const reader = input instanceof import_minimal2.default.Reader ? input :
|
|
2631
|
+
const reader = input instanceof import_minimal2.default.Reader ? input : import_minimal2.default.Reader.create(input);
|
|
2442
2632
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2443
2633
|
const message = createBaseFeedStore();
|
|
2444
2634
|
while (reader.pos < end) {
|
|
2445
2635
|
const tag = reader.uint32();
|
|
2446
2636
|
switch (tag >>> 3) {
|
|
2447
2637
|
case 1:
|
|
2638
|
+
if (tag != 10) {
|
|
2639
|
+
break;
|
|
2640
|
+
}
|
|
2448
2641
|
message.items.push(Feed.decode(reader, reader.uint32()));
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2642
|
+
continue;
|
|
2643
|
+
}
|
|
2644
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
2645
|
+
break;
|
|
2453
2646
|
}
|
|
2647
|
+
reader.skipType(tag & 7);
|
|
2454
2648
|
}
|
|
2455
2649
|
return message;
|
|
2456
2650
|
},
|
|
@@ -2524,49 +2718,80 @@ var Feed = {
|
|
|
2524
2718
|
return writer;
|
|
2525
2719
|
},
|
|
2526
2720
|
decode(input, length) {
|
|
2527
|
-
const reader = input instanceof import_minimal2.default.Reader ? input :
|
|
2721
|
+
const reader = input instanceof import_minimal2.default.Reader ? input : import_minimal2.default.Reader.create(input);
|
|
2528
2722
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2529
2723
|
const message = createBaseFeed();
|
|
2530
2724
|
while (reader.pos < end) {
|
|
2531
2725
|
const tag = reader.uint32();
|
|
2532
2726
|
switch (tag >>> 3) {
|
|
2533
2727
|
case 1:
|
|
2728
|
+
if (tag != 10) {
|
|
2729
|
+
break;
|
|
2730
|
+
}
|
|
2534
2731
|
message.version = reader.string();
|
|
2535
|
-
|
|
2732
|
+
continue;
|
|
2536
2733
|
case 2:
|
|
2734
|
+
if (tag != 18) {
|
|
2735
|
+
break;
|
|
2736
|
+
}
|
|
2537
2737
|
message.title = reader.string();
|
|
2538
|
-
|
|
2738
|
+
continue;
|
|
2539
2739
|
case 3:
|
|
2740
|
+
if (tag != 26) {
|
|
2741
|
+
break;
|
|
2742
|
+
}
|
|
2540
2743
|
message.homePageUrl = reader.string();
|
|
2541
|
-
|
|
2744
|
+
continue;
|
|
2542
2745
|
case 4:
|
|
2746
|
+
if (tag != 34) {
|
|
2747
|
+
break;
|
|
2748
|
+
}
|
|
2543
2749
|
message.description = reader.string();
|
|
2544
|
-
|
|
2750
|
+
continue;
|
|
2545
2751
|
case 5:
|
|
2752
|
+
if (tag != 42) {
|
|
2753
|
+
break;
|
|
2754
|
+
}
|
|
2546
2755
|
message.feedUrl = reader.string();
|
|
2547
|
-
|
|
2756
|
+
continue;
|
|
2548
2757
|
case 6:
|
|
2758
|
+
if (tag != 50) {
|
|
2759
|
+
break;
|
|
2760
|
+
}
|
|
2549
2761
|
message.icon = reader.string();
|
|
2550
|
-
|
|
2762
|
+
continue;
|
|
2551
2763
|
case 7:
|
|
2764
|
+
if (tag != 58) {
|
|
2765
|
+
break;
|
|
2766
|
+
}
|
|
2552
2767
|
message.favicon = reader.string();
|
|
2553
|
-
|
|
2768
|
+
continue;
|
|
2554
2769
|
case 8:
|
|
2770
|
+
if (tag != 64) {
|
|
2771
|
+
break;
|
|
2772
|
+
}
|
|
2555
2773
|
message.expired = reader.bool();
|
|
2556
|
-
|
|
2774
|
+
continue;
|
|
2557
2775
|
case 9:
|
|
2776
|
+
if (tag != 74) {
|
|
2777
|
+
break;
|
|
2778
|
+
}
|
|
2558
2779
|
message.items.push(FeedPost.decode(reader, reader.uint32()));
|
|
2559
|
-
|
|
2780
|
+
continue;
|
|
2560
2781
|
case 100:
|
|
2782
|
+
if (tag != 802) {
|
|
2783
|
+
break;
|
|
2784
|
+
}
|
|
2561
2785
|
const entry100 = Feed_MetaEntry.decode(reader, reader.uint32());
|
|
2562
2786
|
if (entry100.value !== void 0) {
|
|
2563
2787
|
message.meta[entry100.key] = entry100.value;
|
|
2564
2788
|
}
|
|
2565
|
-
|
|
2566
|
-
default:
|
|
2567
|
-
reader.skipType(tag & 7);
|
|
2568
|
-
break;
|
|
2789
|
+
continue;
|
|
2569
2790
|
}
|
|
2791
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
2792
|
+
break;
|
|
2793
|
+
}
|
|
2794
|
+
reader.skipType(tag & 7);
|
|
2570
2795
|
}
|
|
2571
2796
|
return message;
|
|
2572
2797
|
},
|
|
@@ -2647,22 +2872,29 @@ var Feed_MetaEntry = {
|
|
|
2647
2872
|
return writer;
|
|
2648
2873
|
},
|
|
2649
2874
|
decode(input, length) {
|
|
2650
|
-
const reader = input instanceof import_minimal2.default.Reader ? input :
|
|
2875
|
+
const reader = input instanceof import_minimal2.default.Reader ? input : import_minimal2.default.Reader.create(input);
|
|
2651
2876
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2652
2877
|
const message = createBaseFeed_MetaEntry();
|
|
2653
2878
|
while (reader.pos < end) {
|
|
2654
2879
|
const tag = reader.uint32();
|
|
2655
2880
|
switch (tag >>> 3) {
|
|
2656
2881
|
case 1:
|
|
2882
|
+
if (tag != 10) {
|
|
2883
|
+
break;
|
|
2884
|
+
}
|
|
2657
2885
|
message.key = reader.string();
|
|
2658
|
-
|
|
2886
|
+
continue;
|
|
2659
2887
|
case 2:
|
|
2888
|
+
if (tag != 18) {
|
|
2889
|
+
break;
|
|
2890
|
+
}
|
|
2660
2891
|
message.value = reader.string();
|
|
2661
|
-
|
|
2662
|
-
default:
|
|
2663
|
-
reader.skipType(tag & 7);
|
|
2664
|
-
break;
|
|
2892
|
+
continue;
|
|
2665
2893
|
}
|
|
2894
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
2895
|
+
break;
|
|
2896
|
+
}
|
|
2897
|
+
reader.skipType(tag & 7);
|
|
2666
2898
|
}
|
|
2667
2899
|
return message;
|
|
2668
2900
|
},
|
|
@@ -2738,49 +2970,83 @@ var FeedPost = {
|
|
|
2738
2970
|
return writer;
|
|
2739
2971
|
},
|
|
2740
2972
|
decode(input, length) {
|
|
2741
|
-
const reader = input instanceof import_minimal2.default.Reader ? input :
|
|
2973
|
+
const reader = input instanceof import_minimal2.default.Reader ? input : import_minimal2.default.Reader.create(input);
|
|
2742
2974
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2743
2975
|
const message = createBaseFeedPost();
|
|
2744
2976
|
while (reader.pos < end) {
|
|
2745
2977
|
const tag = reader.uint32();
|
|
2746
2978
|
switch (tag >>> 3) {
|
|
2747
2979
|
case 1:
|
|
2980
|
+
if (tag != 10) {
|
|
2981
|
+
break;
|
|
2982
|
+
}
|
|
2748
2983
|
message.id = reader.string();
|
|
2749
|
-
|
|
2984
|
+
continue;
|
|
2750
2985
|
case 2:
|
|
2986
|
+
if (tag != 18) {
|
|
2987
|
+
break;
|
|
2988
|
+
}
|
|
2751
2989
|
message.title = reader.string();
|
|
2752
|
-
|
|
2990
|
+
continue;
|
|
2753
2991
|
case 3:
|
|
2992
|
+
if (tag != 26) {
|
|
2993
|
+
break;
|
|
2994
|
+
}
|
|
2754
2995
|
message.summary = reader.string();
|
|
2755
|
-
|
|
2996
|
+
continue;
|
|
2756
2997
|
case 4:
|
|
2998
|
+
if (tag != 34) {
|
|
2999
|
+
break;
|
|
3000
|
+
}
|
|
2757
3001
|
message.contentText = reader.string();
|
|
2758
|
-
|
|
3002
|
+
continue;
|
|
2759
3003
|
case 5:
|
|
3004
|
+
if (tag != 42) {
|
|
3005
|
+
break;
|
|
3006
|
+
}
|
|
2760
3007
|
message.contentHtml = reader.string();
|
|
2761
|
-
|
|
3008
|
+
continue;
|
|
2762
3009
|
case 6:
|
|
3010
|
+
if (tag != 50) {
|
|
3011
|
+
break;
|
|
3012
|
+
}
|
|
2763
3013
|
message.url = reader.string();
|
|
2764
|
-
|
|
3014
|
+
continue;
|
|
2765
3015
|
case 7:
|
|
3016
|
+
if (tag != 58) {
|
|
3017
|
+
break;
|
|
3018
|
+
}
|
|
2766
3019
|
message.image = reader.string();
|
|
2767
|
-
|
|
3020
|
+
continue;
|
|
2768
3021
|
case 8:
|
|
3022
|
+
if (tag != 66) {
|
|
3023
|
+
break;
|
|
3024
|
+
}
|
|
2769
3025
|
message.tags.push(reader.string());
|
|
2770
|
-
|
|
3026
|
+
continue;
|
|
2771
3027
|
case 9:
|
|
3028
|
+
if (tag != 74) {
|
|
3029
|
+
break;
|
|
3030
|
+
}
|
|
2772
3031
|
message.datePublished = reader.string();
|
|
2773
|
-
|
|
3032
|
+
continue;
|
|
2774
3033
|
case 10:
|
|
3034
|
+
if (tag != 82) {
|
|
3035
|
+
break;
|
|
3036
|
+
}
|
|
2775
3037
|
message.dateModified = reader.string();
|
|
2776
|
-
|
|
3038
|
+
continue;
|
|
2777
3039
|
case 11:
|
|
3040
|
+
if (tag != 90) {
|
|
3041
|
+
break;
|
|
3042
|
+
}
|
|
2778
3043
|
message.author = FeedPost_Author.decode(reader, reader.uint32());
|
|
2779
|
-
|
|
2780
|
-
default:
|
|
2781
|
-
reader.skipType(tag & 7);
|
|
2782
|
-
break;
|
|
3044
|
+
continue;
|
|
2783
3045
|
}
|
|
3046
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3047
|
+
break;
|
|
3048
|
+
}
|
|
3049
|
+
reader.skipType(tag & 7);
|
|
2784
3050
|
}
|
|
2785
3051
|
return message;
|
|
2786
3052
|
},
|
|
@@ -2851,22 +3117,29 @@ var FeedPost_Author = {
|
|
|
2851
3117
|
return writer;
|
|
2852
3118
|
},
|
|
2853
3119
|
decode(input, length) {
|
|
2854
|
-
const reader = input instanceof import_minimal2.default.Reader ? input :
|
|
3120
|
+
const reader = input instanceof import_minimal2.default.Reader ? input : import_minimal2.default.Reader.create(input);
|
|
2855
3121
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2856
3122
|
const message = createBaseFeedPost_Author();
|
|
2857
3123
|
while (reader.pos < end) {
|
|
2858
3124
|
const tag = reader.uint32();
|
|
2859
3125
|
switch (tag >>> 3) {
|
|
2860
3126
|
case 1:
|
|
3127
|
+
if (tag != 10) {
|
|
3128
|
+
break;
|
|
3129
|
+
}
|
|
2861
3130
|
message.name = reader.string();
|
|
2862
|
-
|
|
3131
|
+
continue;
|
|
2863
3132
|
case 2:
|
|
3133
|
+
if (tag != 18) {
|
|
3134
|
+
break;
|
|
3135
|
+
}
|
|
2864
3136
|
message.url = reader.string();
|
|
2865
|
-
|
|
2866
|
-
default:
|
|
2867
|
-
reader.skipType(tag & 7);
|
|
2868
|
-
break;
|
|
3137
|
+
continue;
|
|
2869
3138
|
}
|
|
3139
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3140
|
+
break;
|
|
3141
|
+
}
|
|
3142
|
+
reader.skipType(tag & 7);
|
|
2870
3143
|
}
|
|
2871
3144
|
return message;
|
|
2872
3145
|
},
|
|
@@ -2909,19 +3182,23 @@ var ProcessMetadataStore = {
|
|
|
2909
3182
|
return writer;
|
|
2910
3183
|
},
|
|
2911
3184
|
decode(input, length) {
|
|
2912
|
-
const reader = input instanceof import_minimal3.default.Reader ? input :
|
|
3185
|
+
const reader = input instanceof import_minimal3.default.Reader ? input : import_minimal3.default.Reader.create(input);
|
|
2913
3186
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2914
3187
|
const message = createBaseProcessMetadataStore();
|
|
2915
3188
|
while (reader.pos < end) {
|
|
2916
3189
|
const tag = reader.uint32();
|
|
2917
3190
|
switch (tag >>> 3) {
|
|
2918
3191
|
case 1:
|
|
3192
|
+
if (tag != 10) {
|
|
3193
|
+
break;
|
|
3194
|
+
}
|
|
2919
3195
|
message.items.push(ProcessMetadata.decode(reader, reader.uint32()));
|
|
2920
|
-
|
|
2921
|
-
default:
|
|
2922
|
-
reader.skipType(tag & 7);
|
|
2923
|
-
break;
|
|
3196
|
+
continue;
|
|
2924
3197
|
}
|
|
3198
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3199
|
+
break;
|
|
3200
|
+
}
|
|
3201
|
+
reader.skipType(tag & 7);
|
|
2925
3202
|
}
|
|
2926
3203
|
return message;
|
|
2927
3204
|
},
|
|
@@ -2975,49 +3252,71 @@ var ProcessMetadata = {
|
|
|
2975
3252
|
return writer;
|
|
2976
3253
|
},
|
|
2977
3254
|
decode(input, length) {
|
|
2978
|
-
const reader = input instanceof import_minimal3.default.Reader ? input :
|
|
3255
|
+
const reader = input instanceof import_minimal3.default.Reader ? input : import_minimal3.default.Reader.create(input);
|
|
2979
3256
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
2980
3257
|
const message = createBaseProcessMetadata();
|
|
2981
3258
|
while (reader.pos < end) {
|
|
2982
3259
|
const tag = reader.uint32();
|
|
2983
3260
|
switch (tag >>> 3) {
|
|
2984
3261
|
case 1:
|
|
3262
|
+
if (tag != 10) {
|
|
3263
|
+
break;
|
|
3264
|
+
}
|
|
2985
3265
|
message.version = reader.string();
|
|
2986
|
-
|
|
3266
|
+
continue;
|
|
2987
3267
|
case 2:
|
|
3268
|
+
if (tag != 18) {
|
|
3269
|
+
break;
|
|
3270
|
+
}
|
|
2988
3271
|
const entry2 = ProcessMetadata_TitleEntry.decode(reader, reader.uint32());
|
|
2989
3272
|
if (entry2.value !== void 0) {
|
|
2990
3273
|
message.title[entry2.key] = entry2.value;
|
|
2991
3274
|
}
|
|
2992
|
-
|
|
3275
|
+
continue;
|
|
2993
3276
|
case 3:
|
|
3277
|
+
if (tag != 26) {
|
|
3278
|
+
break;
|
|
3279
|
+
}
|
|
2994
3280
|
const entry3 = ProcessMetadata_DescriptionEntry.decode(reader, reader.uint32());
|
|
2995
3281
|
if (entry3.value !== void 0) {
|
|
2996
3282
|
message.description[entry3.key] = entry3.value;
|
|
2997
3283
|
}
|
|
2998
|
-
|
|
3284
|
+
continue;
|
|
2999
3285
|
case 4:
|
|
3286
|
+
if (tag != 34) {
|
|
3287
|
+
break;
|
|
3288
|
+
}
|
|
3000
3289
|
const entry4 = ProcessMetadata_MediaEntry.decode(reader, reader.uint32());
|
|
3001
3290
|
if (entry4.value !== void 0) {
|
|
3002
3291
|
message.media[entry4.key] = entry4.value;
|
|
3003
3292
|
}
|
|
3004
|
-
|
|
3293
|
+
continue;
|
|
3005
3294
|
case 5:
|
|
3295
|
+
if (tag != 42) {
|
|
3296
|
+
break;
|
|
3297
|
+
}
|
|
3006
3298
|
message.questions.push(ProcessMetadata_Question.decode(reader, reader.uint32()));
|
|
3007
|
-
|
|
3299
|
+
continue;
|
|
3008
3300
|
case 6:
|
|
3301
|
+
if (tag != 50) {
|
|
3302
|
+
break;
|
|
3303
|
+
}
|
|
3009
3304
|
message.results = ProcessMetadata_Results.decode(reader, reader.uint32());
|
|
3010
|
-
|
|
3305
|
+
continue;
|
|
3011
3306
|
case 100:
|
|
3307
|
+
if (tag != 802) {
|
|
3308
|
+
break;
|
|
3309
|
+
}
|
|
3012
3310
|
const entry100 = ProcessMetadata_MetaEntry.decode(reader, reader.uint32());
|
|
3013
3311
|
if (entry100.value !== void 0) {
|
|
3014
3312
|
message.meta[entry100.key] = entry100.value;
|
|
3015
3313
|
}
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3314
|
+
continue;
|
|
3315
|
+
}
|
|
3316
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3317
|
+
break;
|
|
3020
3318
|
}
|
|
3319
|
+
reader.skipType(tag & 7);
|
|
3021
3320
|
}
|
|
3022
3321
|
return message;
|
|
3023
3322
|
},
|
|
@@ -3131,22 +3430,29 @@ var ProcessMetadata_TitleEntry = {
|
|
|
3131
3430
|
return writer;
|
|
3132
3431
|
},
|
|
3133
3432
|
decode(input, length) {
|
|
3134
|
-
const reader = input instanceof import_minimal3.default.Reader ? input :
|
|
3433
|
+
const reader = input instanceof import_minimal3.default.Reader ? input : import_minimal3.default.Reader.create(input);
|
|
3135
3434
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3136
3435
|
const message = createBaseProcessMetadata_TitleEntry();
|
|
3137
3436
|
while (reader.pos < end) {
|
|
3138
3437
|
const tag = reader.uint32();
|
|
3139
3438
|
switch (tag >>> 3) {
|
|
3140
3439
|
case 1:
|
|
3440
|
+
if (tag != 10) {
|
|
3441
|
+
break;
|
|
3442
|
+
}
|
|
3141
3443
|
message.key = reader.string();
|
|
3142
|
-
|
|
3444
|
+
continue;
|
|
3143
3445
|
case 2:
|
|
3446
|
+
if (tag != 18) {
|
|
3447
|
+
break;
|
|
3448
|
+
}
|
|
3144
3449
|
message.value = reader.string();
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3450
|
+
continue;
|
|
3451
|
+
}
|
|
3452
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3453
|
+
break;
|
|
3149
3454
|
}
|
|
3455
|
+
reader.skipType(tag & 7);
|
|
3150
3456
|
}
|
|
3151
3457
|
return message;
|
|
3152
3458
|
},
|
|
@@ -3183,22 +3489,29 @@ var ProcessMetadata_DescriptionEntry = {
|
|
|
3183
3489
|
return writer;
|
|
3184
3490
|
},
|
|
3185
3491
|
decode(input, length) {
|
|
3186
|
-
const reader = input instanceof import_minimal3.default.Reader ? input :
|
|
3492
|
+
const reader = input instanceof import_minimal3.default.Reader ? input : import_minimal3.default.Reader.create(input);
|
|
3187
3493
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3188
3494
|
const message = createBaseProcessMetadata_DescriptionEntry();
|
|
3189
3495
|
while (reader.pos < end) {
|
|
3190
3496
|
const tag = reader.uint32();
|
|
3191
3497
|
switch (tag >>> 3) {
|
|
3192
3498
|
case 1:
|
|
3499
|
+
if (tag != 10) {
|
|
3500
|
+
break;
|
|
3501
|
+
}
|
|
3193
3502
|
message.key = reader.string();
|
|
3194
|
-
|
|
3503
|
+
continue;
|
|
3195
3504
|
case 2:
|
|
3505
|
+
if (tag != 18) {
|
|
3506
|
+
break;
|
|
3507
|
+
}
|
|
3196
3508
|
message.value = reader.string();
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3509
|
+
continue;
|
|
3510
|
+
}
|
|
3511
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3512
|
+
break;
|
|
3201
3513
|
}
|
|
3514
|
+
reader.skipType(tag & 7);
|
|
3202
3515
|
}
|
|
3203
3516
|
return message;
|
|
3204
3517
|
},
|
|
@@ -3235,22 +3548,29 @@ var ProcessMetadata_MediaEntry = {
|
|
|
3235
3548
|
return writer;
|
|
3236
3549
|
},
|
|
3237
3550
|
decode(input, length) {
|
|
3238
|
-
const reader = input instanceof import_minimal3.default.Reader ? input :
|
|
3551
|
+
const reader = input instanceof import_minimal3.default.Reader ? input : import_minimal3.default.Reader.create(input);
|
|
3239
3552
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3240
3553
|
const message = createBaseProcessMetadata_MediaEntry();
|
|
3241
3554
|
while (reader.pos < end) {
|
|
3242
3555
|
const tag = reader.uint32();
|
|
3243
3556
|
switch (tag >>> 3) {
|
|
3244
3557
|
case 1:
|
|
3558
|
+
if (tag != 10) {
|
|
3559
|
+
break;
|
|
3560
|
+
}
|
|
3245
3561
|
message.key = reader.string();
|
|
3246
|
-
|
|
3562
|
+
continue;
|
|
3247
3563
|
case 2:
|
|
3564
|
+
if (tag != 18) {
|
|
3565
|
+
break;
|
|
3566
|
+
}
|
|
3248
3567
|
message.value = reader.string();
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3568
|
+
continue;
|
|
3569
|
+
}
|
|
3570
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3571
|
+
break;
|
|
3253
3572
|
}
|
|
3573
|
+
reader.skipType(tag & 7);
|
|
3254
3574
|
}
|
|
3255
3575
|
return message;
|
|
3256
3576
|
},
|
|
@@ -3290,31 +3610,41 @@ var ProcessMetadata_Question = {
|
|
|
3290
3610
|
return writer;
|
|
3291
3611
|
},
|
|
3292
3612
|
decode(input, length) {
|
|
3293
|
-
const reader = input instanceof import_minimal3.default.Reader ? input :
|
|
3613
|
+
const reader = input instanceof import_minimal3.default.Reader ? input : import_minimal3.default.Reader.create(input);
|
|
3294
3614
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3295
3615
|
const message = createBaseProcessMetadata_Question();
|
|
3296
3616
|
while (reader.pos < end) {
|
|
3297
3617
|
const tag = reader.uint32();
|
|
3298
3618
|
switch (tag >>> 3) {
|
|
3299
3619
|
case 1:
|
|
3620
|
+
if (tag != 10) {
|
|
3621
|
+
break;
|
|
3622
|
+
}
|
|
3300
3623
|
const entry1 = ProcessMetadata_Question_TitleEntry.decode(reader, reader.uint32());
|
|
3301
3624
|
if (entry1.value !== void 0) {
|
|
3302
3625
|
message.title[entry1.key] = entry1.value;
|
|
3303
3626
|
}
|
|
3304
|
-
|
|
3627
|
+
continue;
|
|
3305
3628
|
case 2:
|
|
3629
|
+
if (tag != 18) {
|
|
3630
|
+
break;
|
|
3631
|
+
}
|
|
3306
3632
|
const entry2 = ProcessMetadata_Question_DescriptionEntry.decode(reader, reader.uint32());
|
|
3307
3633
|
if (entry2.value !== void 0) {
|
|
3308
3634
|
message.description[entry2.key] = entry2.value;
|
|
3309
3635
|
}
|
|
3310
|
-
|
|
3636
|
+
continue;
|
|
3311
3637
|
case 3:
|
|
3638
|
+
if (tag != 26) {
|
|
3639
|
+
break;
|
|
3640
|
+
}
|
|
3312
3641
|
message.choices.push(ProcessMetadata_Question_VoteOption.decode(reader, reader.uint32()));
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3642
|
+
continue;
|
|
3643
|
+
}
|
|
3644
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3645
|
+
break;
|
|
3317
3646
|
}
|
|
3647
|
+
reader.skipType(tag & 7);
|
|
3318
3648
|
}
|
|
3319
3649
|
return message;
|
|
3320
3650
|
},
|
|
@@ -3390,22 +3720,29 @@ var ProcessMetadata_Question_TitleEntry = {
|
|
|
3390
3720
|
return writer;
|
|
3391
3721
|
},
|
|
3392
3722
|
decode(input, length) {
|
|
3393
|
-
const reader = input instanceof import_minimal3.default.Reader ? input :
|
|
3723
|
+
const reader = input instanceof import_minimal3.default.Reader ? input : import_minimal3.default.Reader.create(input);
|
|
3394
3724
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3395
3725
|
const message = createBaseProcessMetadata_Question_TitleEntry();
|
|
3396
3726
|
while (reader.pos < end) {
|
|
3397
3727
|
const tag = reader.uint32();
|
|
3398
3728
|
switch (tag >>> 3) {
|
|
3399
3729
|
case 1:
|
|
3730
|
+
if (tag != 10) {
|
|
3731
|
+
break;
|
|
3732
|
+
}
|
|
3400
3733
|
message.key = reader.string();
|
|
3401
|
-
|
|
3734
|
+
continue;
|
|
3402
3735
|
case 2:
|
|
3736
|
+
if (tag != 18) {
|
|
3737
|
+
break;
|
|
3738
|
+
}
|
|
3403
3739
|
message.value = reader.string();
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3740
|
+
continue;
|
|
3741
|
+
}
|
|
3742
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3743
|
+
break;
|
|
3408
3744
|
}
|
|
3745
|
+
reader.skipType(tag & 7);
|
|
3409
3746
|
}
|
|
3410
3747
|
return message;
|
|
3411
3748
|
},
|
|
@@ -3442,22 +3779,29 @@ var ProcessMetadata_Question_DescriptionEntry = {
|
|
|
3442
3779
|
return writer;
|
|
3443
3780
|
},
|
|
3444
3781
|
decode(input, length) {
|
|
3445
|
-
const reader = input instanceof import_minimal3.default.Reader ? input :
|
|
3782
|
+
const reader = input instanceof import_minimal3.default.Reader ? input : import_minimal3.default.Reader.create(input);
|
|
3446
3783
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3447
3784
|
const message = createBaseProcessMetadata_Question_DescriptionEntry();
|
|
3448
3785
|
while (reader.pos < end) {
|
|
3449
3786
|
const tag = reader.uint32();
|
|
3450
3787
|
switch (tag >>> 3) {
|
|
3451
3788
|
case 1:
|
|
3789
|
+
if (tag != 10) {
|
|
3790
|
+
break;
|
|
3791
|
+
}
|
|
3452
3792
|
message.key = reader.string();
|
|
3453
|
-
|
|
3793
|
+
continue;
|
|
3454
3794
|
case 2:
|
|
3795
|
+
if (tag != 18) {
|
|
3796
|
+
break;
|
|
3797
|
+
}
|
|
3455
3798
|
message.value = reader.string();
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3799
|
+
continue;
|
|
3800
|
+
}
|
|
3801
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3802
|
+
break;
|
|
3460
3803
|
}
|
|
3804
|
+
reader.skipType(tag & 7);
|
|
3461
3805
|
}
|
|
3462
3806
|
return message;
|
|
3463
3807
|
},
|
|
@@ -3494,25 +3838,32 @@ var ProcessMetadata_Question_VoteOption = {
|
|
|
3494
3838
|
return writer;
|
|
3495
3839
|
},
|
|
3496
3840
|
decode(input, length) {
|
|
3497
|
-
const reader = input instanceof import_minimal3.default.Reader ? input :
|
|
3841
|
+
const reader = input instanceof import_minimal3.default.Reader ? input : import_minimal3.default.Reader.create(input);
|
|
3498
3842
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3499
3843
|
const message = createBaseProcessMetadata_Question_VoteOption();
|
|
3500
3844
|
while (reader.pos < end) {
|
|
3501
3845
|
const tag = reader.uint32();
|
|
3502
3846
|
switch (tag >>> 3) {
|
|
3503
3847
|
case 1:
|
|
3848
|
+
if (tag != 10) {
|
|
3849
|
+
break;
|
|
3850
|
+
}
|
|
3504
3851
|
const entry1 = ProcessMetadata_Question_VoteOption_TitleEntry.decode(reader, reader.uint32());
|
|
3505
3852
|
if (entry1.value !== void 0) {
|
|
3506
3853
|
message.title[entry1.key] = entry1.value;
|
|
3507
3854
|
}
|
|
3508
|
-
|
|
3855
|
+
continue;
|
|
3509
3856
|
case 2:
|
|
3857
|
+
if (tag != 16) {
|
|
3858
|
+
break;
|
|
3859
|
+
}
|
|
3510
3860
|
message.value = reader.int32();
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3861
|
+
continue;
|
|
3862
|
+
}
|
|
3863
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3864
|
+
break;
|
|
3515
3865
|
}
|
|
3866
|
+
reader.skipType(tag & 7);
|
|
3516
3867
|
}
|
|
3517
3868
|
return message;
|
|
3518
3869
|
},
|
|
@@ -3565,22 +3916,29 @@ var ProcessMetadata_Question_VoteOption_TitleEntry = {
|
|
|
3565
3916
|
return writer;
|
|
3566
3917
|
},
|
|
3567
3918
|
decode(input, length) {
|
|
3568
|
-
const reader = input instanceof import_minimal3.default.Reader ? input :
|
|
3919
|
+
const reader = input instanceof import_minimal3.default.Reader ? input : import_minimal3.default.Reader.create(input);
|
|
3569
3920
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3570
3921
|
const message = createBaseProcessMetadata_Question_VoteOption_TitleEntry();
|
|
3571
3922
|
while (reader.pos < end) {
|
|
3572
3923
|
const tag = reader.uint32();
|
|
3573
3924
|
switch (tag >>> 3) {
|
|
3574
3925
|
case 1:
|
|
3926
|
+
if (tag != 10) {
|
|
3927
|
+
break;
|
|
3928
|
+
}
|
|
3575
3929
|
message.key = reader.string();
|
|
3576
|
-
|
|
3930
|
+
continue;
|
|
3577
3931
|
case 2:
|
|
3932
|
+
if (tag != 18) {
|
|
3933
|
+
break;
|
|
3934
|
+
}
|
|
3578
3935
|
message.value = reader.string();
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3936
|
+
continue;
|
|
3937
|
+
}
|
|
3938
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3939
|
+
break;
|
|
3583
3940
|
}
|
|
3941
|
+
reader.skipType(tag & 7);
|
|
3584
3942
|
}
|
|
3585
3943
|
return message;
|
|
3586
3944
|
},
|
|
@@ -3617,22 +3975,29 @@ var ProcessMetadata_Results = {
|
|
|
3617
3975
|
return writer;
|
|
3618
3976
|
},
|
|
3619
3977
|
decode(input, length) {
|
|
3620
|
-
const reader = input instanceof import_minimal3.default.Reader ? input :
|
|
3978
|
+
const reader = input instanceof import_minimal3.default.Reader ? input : import_minimal3.default.Reader.create(input);
|
|
3621
3979
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3622
3980
|
const message = createBaseProcessMetadata_Results();
|
|
3623
3981
|
while (reader.pos < end) {
|
|
3624
3982
|
const tag = reader.uint32();
|
|
3625
3983
|
switch (tag >>> 3) {
|
|
3626
3984
|
case 1:
|
|
3985
|
+
if (tag != 10) {
|
|
3986
|
+
break;
|
|
3987
|
+
}
|
|
3627
3988
|
message.aggregation = reader.string();
|
|
3628
|
-
|
|
3989
|
+
continue;
|
|
3629
3990
|
case 2:
|
|
3991
|
+
if (tag != 18) {
|
|
3992
|
+
break;
|
|
3993
|
+
}
|
|
3630
3994
|
message.display = reader.string();
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3995
|
+
continue;
|
|
3996
|
+
}
|
|
3997
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
3998
|
+
break;
|
|
3635
3999
|
}
|
|
4000
|
+
reader.skipType(tag & 7);
|
|
3636
4001
|
}
|
|
3637
4002
|
return message;
|
|
3638
4003
|
},
|
|
@@ -3672,22 +4037,29 @@ var ProcessMetadata_MetaEntry = {
|
|
|
3672
4037
|
return writer;
|
|
3673
4038
|
},
|
|
3674
4039
|
decode(input, length) {
|
|
3675
|
-
const reader = input instanceof import_minimal3.default.Reader ? input :
|
|
4040
|
+
const reader = input instanceof import_minimal3.default.Reader ? input : import_minimal3.default.Reader.create(input);
|
|
3676
4041
|
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3677
4042
|
const message = createBaseProcessMetadata_MetaEntry();
|
|
3678
4043
|
while (reader.pos < end) {
|
|
3679
4044
|
const tag = reader.uint32();
|
|
3680
4045
|
switch (tag >>> 3) {
|
|
3681
4046
|
case 1:
|
|
4047
|
+
if (tag != 10) {
|
|
4048
|
+
break;
|
|
4049
|
+
}
|
|
3682
4050
|
message.key = reader.string();
|
|
3683
|
-
|
|
4051
|
+
continue;
|
|
3684
4052
|
case 2:
|
|
4053
|
+
if (tag != 18) {
|
|
4054
|
+
break;
|
|
4055
|
+
}
|
|
3685
4056
|
message.value = reader.string();
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
4057
|
+
continue;
|
|
4058
|
+
}
|
|
4059
|
+
if ((tag & 7) == 4 || tag == 0) {
|
|
4060
|
+
break;
|
|
3690
4061
|
}
|
|
4062
|
+
reader.skipType(tag & 7);
|
|
3691
4063
|
}
|
|
3692
4064
|
return message;
|
|
3693
4065
|
},
|