@wireapp/protocol-messaging 1.39.0 → 1.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +10 -11
- package/web/messages.d.ts +38 -0
- package/web/messages.js +1247 -473
- package/web/mls.d.ts +3 -0
- package/web/mls.js +71 -23
- package/web/otr.d.ts +15 -0
- package/web/otr.js +376 -121
package/web/messages.js
CHANGED
|
@@ -345,72 +345,94 @@ $root.GenericMessage = (function() {
|
|
|
345
345
|
while (reader.pos < end) {
|
|
346
346
|
var tag = reader.uint32();
|
|
347
347
|
switch (tag >>> 3) {
|
|
348
|
-
case 1:
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
case
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
case
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
case
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
case
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
case
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
348
|
+
case 1: {
|
|
349
|
+
message.messageId = reader.string();
|
|
350
|
+
break;
|
|
351
|
+
}
|
|
352
|
+
case 2: {
|
|
353
|
+
message.text = $root.Text.decode(reader, reader.uint32());
|
|
354
|
+
break;
|
|
355
|
+
}
|
|
356
|
+
case 3: {
|
|
357
|
+
message.image = $root.ImageAsset.decode(reader, reader.uint32());
|
|
358
|
+
break;
|
|
359
|
+
}
|
|
360
|
+
case 4: {
|
|
361
|
+
message.knock = $root.Knock.decode(reader, reader.uint32());
|
|
362
|
+
break;
|
|
363
|
+
}
|
|
364
|
+
case 6: {
|
|
365
|
+
message.lastRead = $root.LastRead.decode(reader, reader.uint32());
|
|
366
|
+
break;
|
|
367
|
+
}
|
|
368
|
+
case 7: {
|
|
369
|
+
message.cleared = $root.Cleared.decode(reader, reader.uint32());
|
|
370
|
+
break;
|
|
371
|
+
}
|
|
372
|
+
case 8: {
|
|
373
|
+
message.external = $root.External.decode(reader, reader.uint32());
|
|
374
|
+
break;
|
|
375
|
+
}
|
|
376
|
+
case 9: {
|
|
377
|
+
message.clientAction = reader.int32();
|
|
378
|
+
break;
|
|
379
|
+
}
|
|
380
|
+
case 10: {
|
|
381
|
+
message.calling = $root.Calling.decode(reader, reader.uint32());
|
|
382
|
+
break;
|
|
383
|
+
}
|
|
384
|
+
case 11: {
|
|
385
|
+
message.asset = $root.Asset.decode(reader, reader.uint32());
|
|
386
|
+
break;
|
|
387
|
+
}
|
|
388
|
+
case 12: {
|
|
389
|
+
message.hidden = $root.MessageHide.decode(reader, reader.uint32());
|
|
390
|
+
break;
|
|
391
|
+
}
|
|
392
|
+
case 13: {
|
|
393
|
+
message.location = $root.Location.decode(reader, reader.uint32());
|
|
394
|
+
break;
|
|
395
|
+
}
|
|
396
|
+
case 14: {
|
|
397
|
+
message.deleted = $root.MessageDelete.decode(reader, reader.uint32());
|
|
398
|
+
break;
|
|
399
|
+
}
|
|
400
|
+
case 15: {
|
|
401
|
+
message.edited = $root.MessageEdit.decode(reader, reader.uint32());
|
|
402
|
+
break;
|
|
403
|
+
}
|
|
404
|
+
case 16: {
|
|
405
|
+
message.confirmation = $root.Confirmation.decode(reader, reader.uint32());
|
|
406
|
+
break;
|
|
407
|
+
}
|
|
408
|
+
case 17: {
|
|
409
|
+
message.reaction = $root.Reaction.decode(reader, reader.uint32());
|
|
410
|
+
break;
|
|
411
|
+
}
|
|
412
|
+
case 18: {
|
|
413
|
+
message.ephemeral = $root.Ephemeral.decode(reader, reader.uint32());
|
|
414
|
+
break;
|
|
415
|
+
}
|
|
416
|
+
case 19: {
|
|
417
|
+
message.availability = $root.Availability.decode(reader, reader.uint32());
|
|
418
|
+
break;
|
|
419
|
+
}
|
|
420
|
+
case 20: {
|
|
421
|
+
message.composite = $root.Composite.decode(reader, reader.uint32());
|
|
422
|
+
break;
|
|
423
|
+
}
|
|
424
|
+
case 21: {
|
|
425
|
+
message.buttonAction = $root.ButtonAction.decode(reader, reader.uint32());
|
|
426
|
+
break;
|
|
427
|
+
}
|
|
428
|
+
case 22: {
|
|
429
|
+
message.buttonActionConfirmation = $root.ButtonActionConfirmation.decode(reader, reader.uint32());
|
|
430
|
+
break;
|
|
431
|
+
}
|
|
432
|
+
case 23: {
|
|
433
|
+
message.dataTransfer = $root.DataTransfer.decode(reader, reader.uint32());
|
|
434
|
+
break;
|
|
435
|
+
}
|
|
414
436
|
default:
|
|
415
437
|
reader.skipType(tag & 7);
|
|
416
438
|
break;
|
|
@@ -708,6 +730,12 @@ $root.GenericMessage = (function() {
|
|
|
708
730
|
message.external = $root.External.fromObject(object.external);
|
|
709
731
|
}
|
|
710
732
|
switch (object.clientAction) {
|
|
733
|
+
default:
|
|
734
|
+
if (typeof object.clientAction === "number") {
|
|
735
|
+
message.clientAction = object.clientAction;
|
|
736
|
+
break;
|
|
737
|
+
}
|
|
738
|
+
break;
|
|
711
739
|
case "RESET_SESSION":
|
|
712
740
|
case 0:
|
|
713
741
|
message.clientAction = 0;
|
|
@@ -834,7 +862,7 @@ $root.GenericMessage = (function() {
|
|
|
834
862
|
object.content = "external";
|
|
835
863
|
}
|
|
836
864
|
if (message.clientAction != null && message.hasOwnProperty("clientAction")) {
|
|
837
|
-
object.clientAction = options.enums === String ? $root.ClientAction[message.clientAction] : message.clientAction;
|
|
865
|
+
object.clientAction = options.enums === String ? $root.ClientAction[message.clientAction] === undefined ? message.clientAction : $root.ClientAction[message.clientAction] : message.clientAction;
|
|
838
866
|
if (options.oneofs)
|
|
839
867
|
object.content = "clientAction";
|
|
840
868
|
}
|
|
@@ -922,6 +950,21 @@ $root.GenericMessage = (function() {
|
|
|
922
950
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
923
951
|
};
|
|
924
952
|
|
|
953
|
+
/**
|
|
954
|
+
* Gets the default type url for GenericMessage
|
|
955
|
+
* @function getTypeUrl
|
|
956
|
+
* @memberof GenericMessage
|
|
957
|
+
* @static
|
|
958
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
959
|
+
* @returns {string} The default type url
|
|
960
|
+
*/
|
|
961
|
+
GenericMessage.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
962
|
+
if (typeUrlPrefix === undefined) {
|
|
963
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
964
|
+
}
|
|
965
|
+
return typeUrlPrefix + "/GenericMessage";
|
|
966
|
+
};
|
|
967
|
+
|
|
925
968
|
return GenericMessage;
|
|
926
969
|
})();
|
|
927
970
|
|
|
@@ -1026,12 +1069,14 @@ $root.QualifiedUserId = (function() {
|
|
|
1026
1069
|
while (reader.pos < end) {
|
|
1027
1070
|
var tag = reader.uint32();
|
|
1028
1071
|
switch (tag >>> 3) {
|
|
1029
|
-
case 1:
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1072
|
+
case 1: {
|
|
1073
|
+
message.id = reader.string();
|
|
1074
|
+
break;
|
|
1075
|
+
}
|
|
1076
|
+
case 2: {
|
|
1077
|
+
message.domain = reader.string();
|
|
1078
|
+
break;
|
|
1079
|
+
}
|
|
1035
1080
|
default:
|
|
1036
1081
|
reader.skipType(tag & 7);
|
|
1037
1082
|
break;
|
|
@@ -1132,6 +1177,21 @@ $root.QualifiedUserId = (function() {
|
|
|
1132
1177
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
1133
1178
|
};
|
|
1134
1179
|
|
|
1180
|
+
/**
|
|
1181
|
+
* Gets the default type url for QualifiedUserId
|
|
1182
|
+
* @function getTypeUrl
|
|
1183
|
+
* @memberof QualifiedUserId
|
|
1184
|
+
* @static
|
|
1185
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1186
|
+
* @returns {string} The default type url
|
|
1187
|
+
*/
|
|
1188
|
+
QualifiedUserId.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1189
|
+
if (typeUrlPrefix === undefined) {
|
|
1190
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
1191
|
+
}
|
|
1192
|
+
return typeUrlPrefix + "/QualifiedUserId";
|
|
1193
|
+
};
|
|
1194
|
+
|
|
1135
1195
|
return QualifiedUserId;
|
|
1136
1196
|
})();
|
|
1137
1197
|
|
|
@@ -1236,12 +1296,14 @@ $root.QualifiedConversationId = (function() {
|
|
|
1236
1296
|
while (reader.pos < end) {
|
|
1237
1297
|
var tag = reader.uint32();
|
|
1238
1298
|
switch (tag >>> 3) {
|
|
1239
|
-
case 1:
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1299
|
+
case 1: {
|
|
1300
|
+
message.id = reader.string();
|
|
1301
|
+
break;
|
|
1302
|
+
}
|
|
1303
|
+
case 2: {
|
|
1304
|
+
message.domain = reader.string();
|
|
1305
|
+
break;
|
|
1306
|
+
}
|
|
1245
1307
|
default:
|
|
1246
1308
|
reader.skipType(tag & 7);
|
|
1247
1309
|
break;
|
|
@@ -1342,6 +1404,21 @@ $root.QualifiedConversationId = (function() {
|
|
|
1342
1404
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
1343
1405
|
};
|
|
1344
1406
|
|
|
1407
|
+
/**
|
|
1408
|
+
* Gets the default type url for QualifiedConversationId
|
|
1409
|
+
* @function getTypeUrl
|
|
1410
|
+
* @memberof QualifiedConversationId
|
|
1411
|
+
* @static
|
|
1412
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1413
|
+
* @returns {string} The default type url
|
|
1414
|
+
*/
|
|
1415
|
+
QualifiedConversationId.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1416
|
+
if (typeUrlPrefix === undefined) {
|
|
1417
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
1418
|
+
}
|
|
1419
|
+
return typeUrlPrefix + "/QualifiedConversationId";
|
|
1420
|
+
};
|
|
1421
|
+
|
|
1345
1422
|
return QualifiedConversationId;
|
|
1346
1423
|
})();
|
|
1347
1424
|
|
|
@@ -1461,17 +1538,20 @@ $root.Composite = (function() {
|
|
|
1461
1538
|
while (reader.pos < end) {
|
|
1462
1539
|
var tag = reader.uint32();
|
|
1463
1540
|
switch (tag >>> 3) {
|
|
1464
|
-
case 1:
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1541
|
+
case 1: {
|
|
1542
|
+
if (!(message.items && message.items.length))
|
|
1543
|
+
message.items = [];
|
|
1544
|
+
message.items.push($root.Composite.Item.decode(reader, reader.uint32()));
|
|
1545
|
+
break;
|
|
1546
|
+
}
|
|
1547
|
+
case 2: {
|
|
1548
|
+
message.expectsReadConfirmation = reader.bool();
|
|
1549
|
+
break;
|
|
1550
|
+
}
|
|
1551
|
+
case 3: {
|
|
1552
|
+
message.legalHoldStatus = reader.int32();
|
|
1553
|
+
break;
|
|
1554
|
+
}
|
|
1475
1555
|
default:
|
|
1476
1556
|
reader.skipType(tag & 7);
|
|
1477
1557
|
break;
|
|
@@ -1556,6 +1636,12 @@ $root.Composite = (function() {
|
|
|
1556
1636
|
if (object.expectsReadConfirmation != null)
|
|
1557
1637
|
message.expectsReadConfirmation = Boolean(object.expectsReadConfirmation);
|
|
1558
1638
|
switch (object.legalHoldStatus) {
|
|
1639
|
+
default:
|
|
1640
|
+
if (typeof object.legalHoldStatus === "number") {
|
|
1641
|
+
message.legalHoldStatus = object.legalHoldStatus;
|
|
1642
|
+
break;
|
|
1643
|
+
}
|
|
1644
|
+
break;
|
|
1559
1645
|
case "UNKNOWN":
|
|
1560
1646
|
case 0:
|
|
1561
1647
|
message.legalHoldStatus = 0;
|
|
@@ -1599,7 +1685,7 @@ $root.Composite = (function() {
|
|
|
1599
1685
|
if (message.expectsReadConfirmation != null && message.hasOwnProperty("expectsReadConfirmation"))
|
|
1600
1686
|
object.expectsReadConfirmation = message.expectsReadConfirmation;
|
|
1601
1687
|
if (message.legalHoldStatus != null && message.hasOwnProperty("legalHoldStatus"))
|
|
1602
|
-
object.legalHoldStatus = options.enums === String ? $root.LegalHoldStatus[message.legalHoldStatus] : message.legalHoldStatus;
|
|
1688
|
+
object.legalHoldStatus = options.enums === String ? $root.LegalHoldStatus[message.legalHoldStatus] === undefined ? message.legalHoldStatus : $root.LegalHoldStatus[message.legalHoldStatus] : message.legalHoldStatus;
|
|
1603
1689
|
return object;
|
|
1604
1690
|
};
|
|
1605
1691
|
|
|
@@ -1614,6 +1700,21 @@ $root.Composite = (function() {
|
|
|
1614
1700
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
1615
1701
|
};
|
|
1616
1702
|
|
|
1703
|
+
/**
|
|
1704
|
+
* Gets the default type url for Composite
|
|
1705
|
+
* @function getTypeUrl
|
|
1706
|
+
* @memberof Composite
|
|
1707
|
+
* @static
|
|
1708
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1709
|
+
* @returns {string} The default type url
|
|
1710
|
+
*/
|
|
1711
|
+
Composite.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1712
|
+
if (typeUrlPrefix === undefined) {
|
|
1713
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
1714
|
+
}
|
|
1715
|
+
return typeUrlPrefix + "/Composite";
|
|
1716
|
+
};
|
|
1717
|
+
|
|
1617
1718
|
Composite.Item = (function() {
|
|
1618
1719
|
|
|
1619
1720
|
/**
|
|
@@ -1731,12 +1832,14 @@ $root.Composite = (function() {
|
|
|
1731
1832
|
while (reader.pos < end) {
|
|
1732
1833
|
var tag = reader.uint32();
|
|
1733
1834
|
switch (tag >>> 3) {
|
|
1734
|
-
case 1:
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1835
|
+
case 1: {
|
|
1836
|
+
message.text = $root.Text.decode(reader, reader.uint32());
|
|
1837
|
+
break;
|
|
1838
|
+
}
|
|
1839
|
+
case 2: {
|
|
1840
|
+
message.button = $root.Button.decode(reader, reader.uint32());
|
|
1841
|
+
break;
|
|
1842
|
+
}
|
|
1740
1843
|
default:
|
|
1741
1844
|
reader.skipType(tag & 7);
|
|
1742
1845
|
break;
|
|
@@ -1856,6 +1959,21 @@ $root.Composite = (function() {
|
|
|
1856
1959
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
1857
1960
|
};
|
|
1858
1961
|
|
|
1962
|
+
/**
|
|
1963
|
+
* Gets the default type url for Item
|
|
1964
|
+
* @function getTypeUrl
|
|
1965
|
+
* @memberof Composite.Item
|
|
1966
|
+
* @static
|
|
1967
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1968
|
+
* @returns {string} The default type url
|
|
1969
|
+
*/
|
|
1970
|
+
Item.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1971
|
+
if (typeUrlPrefix === undefined) {
|
|
1972
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
1973
|
+
}
|
|
1974
|
+
return typeUrlPrefix + "/Composite.Item";
|
|
1975
|
+
};
|
|
1976
|
+
|
|
1859
1977
|
return Item;
|
|
1860
1978
|
})();
|
|
1861
1979
|
|
|
@@ -1963,12 +2081,14 @@ $root.Button = (function() {
|
|
|
1963
2081
|
while (reader.pos < end) {
|
|
1964
2082
|
var tag = reader.uint32();
|
|
1965
2083
|
switch (tag >>> 3) {
|
|
1966
|
-
case 1:
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
2084
|
+
case 1: {
|
|
2085
|
+
message.text = reader.string();
|
|
2086
|
+
break;
|
|
2087
|
+
}
|
|
2088
|
+
case 2: {
|
|
2089
|
+
message.id = reader.string();
|
|
2090
|
+
break;
|
|
2091
|
+
}
|
|
1972
2092
|
default:
|
|
1973
2093
|
reader.skipType(tag & 7);
|
|
1974
2094
|
break;
|
|
@@ -2069,6 +2189,21 @@ $root.Button = (function() {
|
|
|
2069
2189
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
2070
2190
|
};
|
|
2071
2191
|
|
|
2192
|
+
/**
|
|
2193
|
+
* Gets the default type url for Button
|
|
2194
|
+
* @function getTypeUrl
|
|
2195
|
+
* @memberof Button
|
|
2196
|
+
* @static
|
|
2197
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2198
|
+
* @returns {string} The default type url
|
|
2199
|
+
*/
|
|
2200
|
+
Button.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
2201
|
+
if (typeUrlPrefix === undefined) {
|
|
2202
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
2203
|
+
}
|
|
2204
|
+
return typeUrlPrefix + "/Button";
|
|
2205
|
+
};
|
|
2206
|
+
|
|
2072
2207
|
return Button;
|
|
2073
2208
|
})();
|
|
2074
2209
|
|
|
@@ -2173,12 +2308,14 @@ $root.ButtonAction = (function() {
|
|
|
2173
2308
|
while (reader.pos < end) {
|
|
2174
2309
|
var tag = reader.uint32();
|
|
2175
2310
|
switch (tag >>> 3) {
|
|
2176
|
-
case 1:
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2311
|
+
case 1: {
|
|
2312
|
+
message.buttonId = reader.string();
|
|
2313
|
+
break;
|
|
2314
|
+
}
|
|
2315
|
+
case 2: {
|
|
2316
|
+
message.referenceMessageId = reader.string();
|
|
2317
|
+
break;
|
|
2318
|
+
}
|
|
2182
2319
|
default:
|
|
2183
2320
|
reader.skipType(tag & 7);
|
|
2184
2321
|
break;
|
|
@@ -2279,6 +2416,21 @@ $root.ButtonAction = (function() {
|
|
|
2279
2416
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
2280
2417
|
};
|
|
2281
2418
|
|
|
2419
|
+
/**
|
|
2420
|
+
* Gets the default type url for ButtonAction
|
|
2421
|
+
* @function getTypeUrl
|
|
2422
|
+
* @memberof ButtonAction
|
|
2423
|
+
* @static
|
|
2424
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2425
|
+
* @returns {string} The default type url
|
|
2426
|
+
*/
|
|
2427
|
+
ButtonAction.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
2428
|
+
if (typeUrlPrefix === undefined) {
|
|
2429
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
2430
|
+
}
|
|
2431
|
+
return typeUrlPrefix + "/ButtonAction";
|
|
2432
|
+
};
|
|
2433
|
+
|
|
2282
2434
|
return ButtonAction;
|
|
2283
2435
|
})();
|
|
2284
2436
|
|
|
@@ -2384,12 +2536,14 @@ $root.ButtonActionConfirmation = (function() {
|
|
|
2384
2536
|
while (reader.pos < end) {
|
|
2385
2537
|
var tag = reader.uint32();
|
|
2386
2538
|
switch (tag >>> 3) {
|
|
2387
|
-
case 1:
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2539
|
+
case 1: {
|
|
2540
|
+
message.referenceMessageId = reader.string();
|
|
2541
|
+
break;
|
|
2542
|
+
}
|
|
2543
|
+
case 2: {
|
|
2544
|
+
message.buttonId = reader.string();
|
|
2545
|
+
break;
|
|
2546
|
+
}
|
|
2393
2547
|
default:
|
|
2394
2548
|
reader.skipType(tag & 7);
|
|
2395
2549
|
break;
|
|
@@ -2489,6 +2643,21 @@ $root.ButtonActionConfirmation = (function() {
|
|
|
2489
2643
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
2490
2644
|
};
|
|
2491
2645
|
|
|
2646
|
+
/**
|
|
2647
|
+
* Gets the default type url for ButtonActionConfirmation
|
|
2648
|
+
* @function getTypeUrl
|
|
2649
|
+
* @memberof ButtonActionConfirmation
|
|
2650
|
+
* @static
|
|
2651
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2652
|
+
* @returns {string} The default type url
|
|
2653
|
+
*/
|
|
2654
|
+
ButtonActionConfirmation.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
2655
|
+
if (typeUrlPrefix === undefined) {
|
|
2656
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
2657
|
+
}
|
|
2658
|
+
return typeUrlPrefix + "/ButtonActionConfirmation";
|
|
2659
|
+
};
|
|
2660
|
+
|
|
2492
2661
|
return ButtonActionConfirmation;
|
|
2493
2662
|
})();
|
|
2494
2663
|
|
|
@@ -2583,9 +2752,10 @@ $root.Availability = (function() {
|
|
|
2583
2752
|
while (reader.pos < end) {
|
|
2584
2753
|
var tag = reader.uint32();
|
|
2585
2754
|
switch (tag >>> 3) {
|
|
2586
|
-
case 1:
|
|
2587
|
-
|
|
2588
|
-
|
|
2755
|
+
case 1: {
|
|
2756
|
+
message.type = reader.int32();
|
|
2757
|
+
break;
|
|
2758
|
+
}
|
|
2589
2759
|
default:
|
|
2590
2760
|
reader.skipType(tag & 7);
|
|
2591
2761
|
break;
|
|
@@ -2648,6 +2818,12 @@ $root.Availability = (function() {
|
|
|
2648
2818
|
return object;
|
|
2649
2819
|
var message = new $root.Availability();
|
|
2650
2820
|
switch (object.type) {
|
|
2821
|
+
default:
|
|
2822
|
+
if (typeof object.type === "number") {
|
|
2823
|
+
message.type = object.type;
|
|
2824
|
+
break;
|
|
2825
|
+
}
|
|
2826
|
+
break;
|
|
2651
2827
|
case "NONE":
|
|
2652
2828
|
case 0:
|
|
2653
2829
|
message.type = 0;
|
|
@@ -2684,7 +2860,7 @@ $root.Availability = (function() {
|
|
|
2684
2860
|
if (options.defaults)
|
|
2685
2861
|
object.type = options.enums === String ? "NONE" : 0;
|
|
2686
2862
|
if (message.type != null && message.hasOwnProperty("type"))
|
|
2687
|
-
object.type = options.enums === String ? $root.Availability.Type[message.type] : message.type;
|
|
2863
|
+
object.type = options.enums === String ? $root.Availability.Type[message.type] === undefined ? message.type : $root.Availability.Type[message.type] : message.type;
|
|
2688
2864
|
return object;
|
|
2689
2865
|
};
|
|
2690
2866
|
|
|
@@ -2699,6 +2875,21 @@ $root.Availability = (function() {
|
|
|
2699
2875
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
2700
2876
|
};
|
|
2701
2877
|
|
|
2878
|
+
/**
|
|
2879
|
+
* Gets the default type url for Availability
|
|
2880
|
+
* @function getTypeUrl
|
|
2881
|
+
* @memberof Availability
|
|
2882
|
+
* @static
|
|
2883
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2884
|
+
* @returns {string} The default type url
|
|
2885
|
+
*/
|
|
2886
|
+
Availability.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
2887
|
+
if (typeUrlPrefix === undefined) {
|
|
2888
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
2889
|
+
}
|
|
2890
|
+
return typeUrlPrefix + "/Availability";
|
|
2891
|
+
};
|
|
2892
|
+
|
|
2702
2893
|
/**
|
|
2703
2894
|
* Type enum.
|
|
2704
2895
|
* @name Availability.Type
|
|
@@ -2880,24 +3071,30 @@ $root.Ephemeral = (function() {
|
|
|
2880
3071
|
while (reader.pos < end) {
|
|
2881
3072
|
var tag = reader.uint32();
|
|
2882
3073
|
switch (tag >>> 3) {
|
|
2883
|
-
case 1:
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
case
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
3074
|
+
case 1: {
|
|
3075
|
+
message.expireAfterMillis = reader.int64();
|
|
3076
|
+
break;
|
|
3077
|
+
}
|
|
3078
|
+
case 2: {
|
|
3079
|
+
message.text = $root.Text.decode(reader, reader.uint32());
|
|
3080
|
+
break;
|
|
3081
|
+
}
|
|
3082
|
+
case 3: {
|
|
3083
|
+
message.image = $root.ImageAsset.decode(reader, reader.uint32());
|
|
3084
|
+
break;
|
|
3085
|
+
}
|
|
3086
|
+
case 4: {
|
|
3087
|
+
message.knock = $root.Knock.decode(reader, reader.uint32());
|
|
3088
|
+
break;
|
|
3089
|
+
}
|
|
3090
|
+
case 5: {
|
|
3091
|
+
message.asset = $root.Asset.decode(reader, reader.uint32());
|
|
3092
|
+
break;
|
|
3093
|
+
}
|
|
3094
|
+
case 6: {
|
|
3095
|
+
message.location = $root.Location.decode(reader, reader.uint32());
|
|
3096
|
+
break;
|
|
3097
|
+
}
|
|
2901
3098
|
default:
|
|
2902
3099
|
reader.skipType(tag & 7);
|
|
2903
3100
|
break;
|
|
@@ -3101,6 +3298,21 @@ $root.Ephemeral = (function() {
|
|
|
3101
3298
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
3102
3299
|
};
|
|
3103
3300
|
|
|
3301
|
+
/**
|
|
3302
|
+
* Gets the default type url for Ephemeral
|
|
3303
|
+
* @function getTypeUrl
|
|
3304
|
+
* @memberof Ephemeral
|
|
3305
|
+
* @static
|
|
3306
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3307
|
+
* @returns {string} The default type url
|
|
3308
|
+
*/
|
|
3309
|
+
Ephemeral.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
3310
|
+
if (typeUrlPrefix === undefined) {
|
|
3311
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
3312
|
+
}
|
|
3313
|
+
return typeUrlPrefix + "/Ephemeral";
|
|
3314
|
+
};
|
|
3315
|
+
|
|
3104
3316
|
return Ephemeral;
|
|
3105
3317
|
})();
|
|
3106
3318
|
|
|
@@ -3254,28 +3466,34 @@ $root.Text = (function() {
|
|
|
3254
3466
|
while (reader.pos < end) {
|
|
3255
3467
|
var tag = reader.uint32();
|
|
3256
3468
|
switch (tag >>> 3) {
|
|
3257
|
-
case 1:
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
message.linkPreview
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
case
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3469
|
+
case 1: {
|
|
3470
|
+
message.content = reader.string();
|
|
3471
|
+
break;
|
|
3472
|
+
}
|
|
3473
|
+
case 3: {
|
|
3474
|
+
if (!(message.linkPreview && message.linkPreview.length))
|
|
3475
|
+
message.linkPreview = [];
|
|
3476
|
+
message.linkPreview.push($root.LinkPreview.decode(reader, reader.uint32()));
|
|
3477
|
+
break;
|
|
3478
|
+
}
|
|
3479
|
+
case 4: {
|
|
3480
|
+
if (!(message.mentions && message.mentions.length))
|
|
3481
|
+
message.mentions = [];
|
|
3482
|
+
message.mentions.push($root.Mention.decode(reader, reader.uint32()));
|
|
3483
|
+
break;
|
|
3484
|
+
}
|
|
3485
|
+
case 5: {
|
|
3486
|
+
message.quote = $root.Quote.decode(reader, reader.uint32());
|
|
3487
|
+
break;
|
|
3488
|
+
}
|
|
3489
|
+
case 6: {
|
|
3490
|
+
message.expectsReadConfirmation = reader.bool();
|
|
3491
|
+
break;
|
|
3492
|
+
}
|
|
3493
|
+
case 7: {
|
|
3494
|
+
message.legalHoldStatus = reader.int32();
|
|
3495
|
+
break;
|
|
3496
|
+
}
|
|
3279
3497
|
default:
|
|
3280
3498
|
reader.skipType(tag & 7);
|
|
3281
3499
|
break;
|
|
@@ -3395,6 +3613,12 @@ $root.Text = (function() {
|
|
|
3395
3613
|
if (object.expectsReadConfirmation != null)
|
|
3396
3614
|
message.expectsReadConfirmation = Boolean(object.expectsReadConfirmation);
|
|
3397
3615
|
switch (object.legalHoldStatus) {
|
|
3616
|
+
default:
|
|
3617
|
+
if (typeof object.legalHoldStatus === "number") {
|
|
3618
|
+
message.legalHoldStatus = object.legalHoldStatus;
|
|
3619
|
+
break;
|
|
3620
|
+
}
|
|
3621
|
+
break;
|
|
3398
3622
|
case "UNKNOWN":
|
|
3399
3623
|
case 0:
|
|
3400
3624
|
message.legalHoldStatus = 0;
|
|
@@ -3451,7 +3675,7 @@ $root.Text = (function() {
|
|
|
3451
3675
|
if (message.expectsReadConfirmation != null && message.hasOwnProperty("expectsReadConfirmation"))
|
|
3452
3676
|
object.expectsReadConfirmation = message.expectsReadConfirmation;
|
|
3453
3677
|
if (message.legalHoldStatus != null && message.hasOwnProperty("legalHoldStatus"))
|
|
3454
|
-
object.legalHoldStatus = options.enums === String ? $root.LegalHoldStatus[message.legalHoldStatus] : message.legalHoldStatus;
|
|
3678
|
+
object.legalHoldStatus = options.enums === String ? $root.LegalHoldStatus[message.legalHoldStatus] === undefined ? message.legalHoldStatus : $root.LegalHoldStatus[message.legalHoldStatus] : message.legalHoldStatus;
|
|
3455
3679
|
return object;
|
|
3456
3680
|
};
|
|
3457
3681
|
|
|
@@ -3466,6 +3690,21 @@ $root.Text = (function() {
|
|
|
3466
3690
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
3467
3691
|
};
|
|
3468
3692
|
|
|
3693
|
+
/**
|
|
3694
|
+
* Gets the default type url for Text
|
|
3695
|
+
* @function getTypeUrl
|
|
3696
|
+
* @memberof Text
|
|
3697
|
+
* @static
|
|
3698
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3699
|
+
* @returns {string} The default type url
|
|
3700
|
+
*/
|
|
3701
|
+
Text.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
3702
|
+
if (typeUrlPrefix === undefined) {
|
|
3703
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
3704
|
+
}
|
|
3705
|
+
return typeUrlPrefix + "/Text";
|
|
3706
|
+
};
|
|
3707
|
+
|
|
3469
3708
|
return Text;
|
|
3470
3709
|
})();
|
|
3471
3710
|
|
|
@@ -3582,15 +3821,18 @@ $root.Knock = (function() {
|
|
|
3582
3821
|
while (reader.pos < end) {
|
|
3583
3822
|
var tag = reader.uint32();
|
|
3584
3823
|
switch (tag >>> 3) {
|
|
3585
|
-
case 1:
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3824
|
+
case 1: {
|
|
3825
|
+
message.hotKnock = reader.bool();
|
|
3826
|
+
break;
|
|
3827
|
+
}
|
|
3828
|
+
case 2: {
|
|
3829
|
+
message.expectsReadConfirmation = reader.bool();
|
|
3830
|
+
break;
|
|
3831
|
+
}
|
|
3832
|
+
case 3: {
|
|
3833
|
+
message.legalHoldStatus = reader.int32();
|
|
3834
|
+
break;
|
|
3835
|
+
}
|
|
3594
3836
|
default:
|
|
3595
3837
|
reader.skipType(tag & 7);
|
|
3596
3838
|
break;
|
|
@@ -3662,6 +3904,12 @@ $root.Knock = (function() {
|
|
|
3662
3904
|
if (object.expectsReadConfirmation != null)
|
|
3663
3905
|
message.expectsReadConfirmation = Boolean(object.expectsReadConfirmation);
|
|
3664
3906
|
switch (object.legalHoldStatus) {
|
|
3907
|
+
default:
|
|
3908
|
+
if (typeof object.legalHoldStatus === "number") {
|
|
3909
|
+
message.legalHoldStatus = object.legalHoldStatus;
|
|
3910
|
+
break;
|
|
3911
|
+
}
|
|
3912
|
+
break;
|
|
3665
3913
|
case "UNKNOWN":
|
|
3666
3914
|
case 0:
|
|
3667
3915
|
message.legalHoldStatus = 0;
|
|
@@ -3701,7 +3949,7 @@ $root.Knock = (function() {
|
|
|
3701
3949
|
if (message.expectsReadConfirmation != null && message.hasOwnProperty("expectsReadConfirmation"))
|
|
3702
3950
|
object.expectsReadConfirmation = message.expectsReadConfirmation;
|
|
3703
3951
|
if (message.legalHoldStatus != null && message.hasOwnProperty("legalHoldStatus"))
|
|
3704
|
-
object.legalHoldStatus = options.enums === String ? $root.LegalHoldStatus[message.legalHoldStatus] : message.legalHoldStatus;
|
|
3952
|
+
object.legalHoldStatus = options.enums === String ? $root.LegalHoldStatus[message.legalHoldStatus] === undefined ? message.legalHoldStatus : $root.LegalHoldStatus[message.legalHoldStatus] : message.legalHoldStatus;
|
|
3705
3953
|
return object;
|
|
3706
3954
|
};
|
|
3707
3955
|
|
|
@@ -3716,6 +3964,21 @@ $root.Knock = (function() {
|
|
|
3716
3964
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
3717
3965
|
};
|
|
3718
3966
|
|
|
3967
|
+
/**
|
|
3968
|
+
* Gets the default type url for Knock
|
|
3969
|
+
* @function getTypeUrl
|
|
3970
|
+
* @memberof Knock
|
|
3971
|
+
* @static
|
|
3972
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3973
|
+
* @returns {string} The default type url
|
|
3974
|
+
*/
|
|
3975
|
+
Knock.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
3976
|
+
if (typeUrlPrefix === undefined) {
|
|
3977
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
3978
|
+
}
|
|
3979
|
+
return typeUrlPrefix + "/Knock";
|
|
3980
|
+
};
|
|
3981
|
+
|
|
3719
3982
|
return Knock;
|
|
3720
3983
|
})();
|
|
3721
3984
|
|
|
@@ -3911,30 +4174,38 @@ $root.LinkPreview = (function() {
|
|
|
3911
4174
|
while (reader.pos < end) {
|
|
3912
4175
|
var tag = reader.uint32();
|
|
3913
4176
|
switch (tag >>> 3) {
|
|
3914
|
-
case 1:
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
case
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
4177
|
+
case 1: {
|
|
4178
|
+
message.url = reader.string();
|
|
4179
|
+
break;
|
|
4180
|
+
}
|
|
4181
|
+
case 2: {
|
|
4182
|
+
message.urlOffset = reader.int32();
|
|
4183
|
+
break;
|
|
4184
|
+
}
|
|
4185
|
+
case 3: {
|
|
4186
|
+
message.article = $root.Article.decode(reader, reader.uint32());
|
|
4187
|
+
break;
|
|
4188
|
+
}
|
|
4189
|
+
case 5: {
|
|
4190
|
+
message.permanentUrl = reader.string();
|
|
4191
|
+
break;
|
|
4192
|
+
}
|
|
4193
|
+
case 6: {
|
|
4194
|
+
message.title = reader.string();
|
|
4195
|
+
break;
|
|
4196
|
+
}
|
|
4197
|
+
case 7: {
|
|
4198
|
+
message.summary = reader.string();
|
|
4199
|
+
break;
|
|
4200
|
+
}
|
|
4201
|
+
case 8: {
|
|
4202
|
+
message.image = $root.Asset.decode(reader, reader.uint32());
|
|
4203
|
+
break;
|
|
4204
|
+
}
|
|
4205
|
+
case 9: {
|
|
4206
|
+
message.tweet = $root.Tweet.decode(reader, reader.uint32());
|
|
4207
|
+
break;
|
|
4208
|
+
}
|
|
3938
4209
|
default:
|
|
3939
4210
|
reader.skipType(tag & 7);
|
|
3940
4211
|
break;
|
|
@@ -4109,6 +4380,21 @@ $root.LinkPreview = (function() {
|
|
|
4109
4380
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
4110
4381
|
};
|
|
4111
4382
|
|
|
4383
|
+
/**
|
|
4384
|
+
* Gets the default type url for LinkPreview
|
|
4385
|
+
* @function getTypeUrl
|
|
4386
|
+
* @memberof LinkPreview
|
|
4387
|
+
* @static
|
|
4388
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
4389
|
+
* @returns {string} The default type url
|
|
4390
|
+
*/
|
|
4391
|
+
LinkPreview.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
4392
|
+
if (typeUrlPrefix === undefined) {
|
|
4393
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
4394
|
+
}
|
|
4395
|
+
return typeUrlPrefix + "/LinkPreview";
|
|
4396
|
+
};
|
|
4397
|
+
|
|
4112
4398
|
return LinkPreview;
|
|
4113
4399
|
})();
|
|
4114
4400
|
|
|
@@ -4215,12 +4501,14 @@ $root.Tweet = (function() {
|
|
|
4215
4501
|
while (reader.pos < end) {
|
|
4216
4502
|
var tag = reader.uint32();
|
|
4217
4503
|
switch (tag >>> 3) {
|
|
4218
|
-
case 1:
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4504
|
+
case 1: {
|
|
4505
|
+
message.author = reader.string();
|
|
4506
|
+
break;
|
|
4507
|
+
}
|
|
4508
|
+
case 2: {
|
|
4509
|
+
message.username = reader.string();
|
|
4510
|
+
break;
|
|
4511
|
+
}
|
|
4224
4512
|
default:
|
|
4225
4513
|
reader.skipType(tag & 7);
|
|
4226
4514
|
break;
|
|
@@ -4319,6 +4607,21 @@ $root.Tweet = (function() {
|
|
|
4319
4607
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
4320
4608
|
};
|
|
4321
4609
|
|
|
4610
|
+
/**
|
|
4611
|
+
* Gets the default type url for Tweet
|
|
4612
|
+
* @function getTypeUrl
|
|
4613
|
+
* @memberof Tweet
|
|
4614
|
+
* @static
|
|
4615
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
4616
|
+
* @returns {string} The default type url
|
|
4617
|
+
*/
|
|
4618
|
+
Tweet.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
4619
|
+
if (typeUrlPrefix === undefined) {
|
|
4620
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
4621
|
+
}
|
|
4622
|
+
return typeUrlPrefix + "/Tweet";
|
|
4623
|
+
};
|
|
4624
|
+
|
|
4322
4625
|
return Tweet;
|
|
4323
4626
|
})();
|
|
4324
4627
|
|
|
@@ -4446,18 +4749,22 @@ $root.Article = (function() {
|
|
|
4446
4749
|
while (reader.pos < end) {
|
|
4447
4750
|
var tag = reader.uint32();
|
|
4448
4751
|
switch (tag >>> 3) {
|
|
4449
|
-
case 1:
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4752
|
+
case 1: {
|
|
4753
|
+
message.permanentUrl = reader.string();
|
|
4754
|
+
break;
|
|
4755
|
+
}
|
|
4756
|
+
case 2: {
|
|
4757
|
+
message.title = reader.string();
|
|
4758
|
+
break;
|
|
4759
|
+
}
|
|
4760
|
+
case 3: {
|
|
4761
|
+
message.summary = reader.string();
|
|
4762
|
+
break;
|
|
4763
|
+
}
|
|
4764
|
+
case 4: {
|
|
4765
|
+
message.image = $root.Asset.decode(reader, reader.uint32());
|
|
4766
|
+
break;
|
|
4767
|
+
}
|
|
4461
4768
|
default:
|
|
4462
4769
|
reader.skipType(tag & 7);
|
|
4463
4770
|
break;
|
|
@@ -4578,6 +4885,21 @@ $root.Article = (function() {
|
|
|
4578
4885
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
4579
4886
|
};
|
|
4580
4887
|
|
|
4888
|
+
/**
|
|
4889
|
+
* Gets the default type url for Article
|
|
4890
|
+
* @function getTypeUrl
|
|
4891
|
+
* @memberof Article
|
|
4892
|
+
* @static
|
|
4893
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
4894
|
+
* @returns {string} The default type url
|
|
4895
|
+
*/
|
|
4896
|
+
Article.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
4897
|
+
if (typeUrlPrefix === undefined) {
|
|
4898
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
4899
|
+
}
|
|
4900
|
+
return typeUrlPrefix + "/Article";
|
|
4901
|
+
};
|
|
4902
|
+
|
|
4581
4903
|
return Article;
|
|
4582
4904
|
})();
|
|
4583
4905
|
|
|
@@ -4718,18 +5040,22 @@ $root.Mention = (function() {
|
|
|
4718
5040
|
while (reader.pos < end) {
|
|
4719
5041
|
var tag = reader.uint32();
|
|
4720
5042
|
switch (tag >>> 3) {
|
|
4721
|
-
case 1:
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
5043
|
+
case 1: {
|
|
5044
|
+
message.start = reader.int32();
|
|
5045
|
+
break;
|
|
5046
|
+
}
|
|
5047
|
+
case 2: {
|
|
5048
|
+
message.length = reader.int32();
|
|
5049
|
+
break;
|
|
5050
|
+
}
|
|
5051
|
+
case 3: {
|
|
5052
|
+
message.userId = reader.string();
|
|
5053
|
+
break;
|
|
5054
|
+
}
|
|
5055
|
+
case 4: {
|
|
5056
|
+
message.qualifiedUserId = $root.QualifiedUserId.decode(reader, reader.uint32());
|
|
5057
|
+
break;
|
|
5058
|
+
}
|
|
4733
5059
|
default:
|
|
4734
5060
|
reader.skipType(tag & 7);
|
|
4735
5061
|
break;
|
|
@@ -4856,6 +5182,21 @@ $root.Mention = (function() {
|
|
|
4856
5182
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
4857
5183
|
};
|
|
4858
5184
|
|
|
5185
|
+
/**
|
|
5186
|
+
* Gets the default type url for Mention
|
|
5187
|
+
* @function getTypeUrl
|
|
5188
|
+
* @memberof Mention
|
|
5189
|
+
* @static
|
|
5190
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5191
|
+
* @returns {string} The default type url
|
|
5192
|
+
*/
|
|
5193
|
+
Mention.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
5194
|
+
if (typeUrlPrefix === undefined) {
|
|
5195
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
5196
|
+
}
|
|
5197
|
+
return typeUrlPrefix + "/Mention";
|
|
5198
|
+
};
|
|
5199
|
+
|
|
4859
5200
|
return Mention;
|
|
4860
5201
|
})();
|
|
4861
5202
|
|
|
@@ -4971,15 +5312,18 @@ $root.LastRead = (function() {
|
|
|
4971
5312
|
while (reader.pos < end) {
|
|
4972
5313
|
var tag = reader.uint32();
|
|
4973
5314
|
switch (tag >>> 3) {
|
|
4974
|
-
case 1:
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
5315
|
+
case 1: {
|
|
5316
|
+
message.conversationId = reader.string();
|
|
5317
|
+
break;
|
|
5318
|
+
}
|
|
5319
|
+
case 2: {
|
|
5320
|
+
message.lastReadTimestamp = reader.int64();
|
|
5321
|
+
break;
|
|
5322
|
+
}
|
|
5323
|
+
case 3: {
|
|
5324
|
+
message.qualifiedConversationId = $root.QualifiedConversationId.decode(reader, reader.uint32());
|
|
5325
|
+
break;
|
|
5326
|
+
}
|
|
4983
5327
|
default:
|
|
4984
5328
|
reader.skipType(tag & 7);
|
|
4985
5329
|
break;
|
|
@@ -5107,6 +5451,21 @@ $root.LastRead = (function() {
|
|
|
5107
5451
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
5108
5452
|
};
|
|
5109
5453
|
|
|
5454
|
+
/**
|
|
5455
|
+
* Gets the default type url for LastRead
|
|
5456
|
+
* @function getTypeUrl
|
|
5457
|
+
* @memberof LastRead
|
|
5458
|
+
* @static
|
|
5459
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5460
|
+
* @returns {string} The default type url
|
|
5461
|
+
*/
|
|
5462
|
+
LastRead.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
5463
|
+
if (typeUrlPrefix === undefined) {
|
|
5464
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
5465
|
+
}
|
|
5466
|
+
return typeUrlPrefix + "/LastRead";
|
|
5467
|
+
};
|
|
5468
|
+
|
|
5110
5469
|
return LastRead;
|
|
5111
5470
|
})();
|
|
5112
5471
|
|
|
@@ -5222,15 +5581,18 @@ $root.Cleared = (function() {
|
|
|
5222
5581
|
while (reader.pos < end) {
|
|
5223
5582
|
var tag = reader.uint32();
|
|
5224
5583
|
switch (tag >>> 3) {
|
|
5225
|
-
case 1:
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5584
|
+
case 1: {
|
|
5585
|
+
message.conversationId = reader.string();
|
|
5586
|
+
break;
|
|
5587
|
+
}
|
|
5588
|
+
case 2: {
|
|
5589
|
+
message.clearedTimestamp = reader.int64();
|
|
5590
|
+
break;
|
|
5591
|
+
}
|
|
5592
|
+
case 3: {
|
|
5593
|
+
message.qualifiedConversationId = $root.QualifiedConversationId.decode(reader, reader.uint32());
|
|
5594
|
+
break;
|
|
5595
|
+
}
|
|
5234
5596
|
default:
|
|
5235
5597
|
reader.skipType(tag & 7);
|
|
5236
5598
|
break;
|
|
@@ -5358,6 +5720,21 @@ $root.Cleared = (function() {
|
|
|
5358
5720
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
5359
5721
|
};
|
|
5360
5722
|
|
|
5723
|
+
/**
|
|
5724
|
+
* Gets the default type url for Cleared
|
|
5725
|
+
* @function getTypeUrl
|
|
5726
|
+
* @memberof Cleared
|
|
5727
|
+
* @static
|
|
5728
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5729
|
+
* @returns {string} The default type url
|
|
5730
|
+
*/
|
|
5731
|
+
Cleared.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
5732
|
+
if (typeUrlPrefix === undefined) {
|
|
5733
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
5734
|
+
}
|
|
5735
|
+
return typeUrlPrefix + "/Cleared";
|
|
5736
|
+
};
|
|
5737
|
+
|
|
5361
5738
|
return Cleared;
|
|
5362
5739
|
})();
|
|
5363
5740
|
|
|
@@ -5473,15 +5850,18 @@ $root.MessageHide = (function() {
|
|
|
5473
5850
|
while (reader.pos < end) {
|
|
5474
5851
|
var tag = reader.uint32();
|
|
5475
5852
|
switch (tag >>> 3) {
|
|
5476
|
-
case 1:
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5853
|
+
case 1: {
|
|
5854
|
+
message.conversationId = reader.string();
|
|
5855
|
+
break;
|
|
5856
|
+
}
|
|
5857
|
+
case 2: {
|
|
5858
|
+
message.messageId = reader.string();
|
|
5859
|
+
break;
|
|
5860
|
+
}
|
|
5861
|
+
case 3: {
|
|
5862
|
+
message.qualifiedConversationId = $root.QualifiedConversationId.decode(reader, reader.uint32());
|
|
5863
|
+
break;
|
|
5864
|
+
}
|
|
5485
5865
|
default:
|
|
5486
5866
|
reader.skipType(tag & 7);
|
|
5487
5867
|
break;
|
|
@@ -5595,6 +5975,21 @@ $root.MessageHide = (function() {
|
|
|
5595
5975
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
5596
5976
|
};
|
|
5597
5977
|
|
|
5978
|
+
/**
|
|
5979
|
+
* Gets the default type url for MessageHide
|
|
5980
|
+
* @function getTypeUrl
|
|
5981
|
+
* @memberof MessageHide
|
|
5982
|
+
* @static
|
|
5983
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5984
|
+
* @returns {string} The default type url
|
|
5985
|
+
*/
|
|
5986
|
+
MessageHide.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
5987
|
+
if (typeUrlPrefix === undefined) {
|
|
5988
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
5989
|
+
}
|
|
5990
|
+
return typeUrlPrefix + "/MessageHide";
|
|
5991
|
+
};
|
|
5992
|
+
|
|
5598
5993
|
return MessageHide;
|
|
5599
5994
|
})();
|
|
5600
5995
|
|
|
@@ -5689,9 +6084,10 @@ $root.MessageDelete = (function() {
|
|
|
5689
6084
|
while (reader.pos < end) {
|
|
5690
6085
|
var tag = reader.uint32();
|
|
5691
6086
|
switch (tag >>> 3) {
|
|
5692
|
-
case 1:
|
|
5693
|
-
|
|
5694
|
-
|
|
6087
|
+
case 1: {
|
|
6088
|
+
message.messageId = reader.string();
|
|
6089
|
+
break;
|
|
6090
|
+
}
|
|
5695
6091
|
default:
|
|
5696
6092
|
reader.skipType(tag & 7);
|
|
5697
6093
|
break;
|
|
@@ -5782,6 +6178,21 @@ $root.MessageDelete = (function() {
|
|
|
5782
6178
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
5783
6179
|
};
|
|
5784
6180
|
|
|
6181
|
+
/**
|
|
6182
|
+
* Gets the default type url for MessageDelete
|
|
6183
|
+
* @function getTypeUrl
|
|
6184
|
+
* @memberof MessageDelete
|
|
6185
|
+
* @static
|
|
6186
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
6187
|
+
* @returns {string} The default type url
|
|
6188
|
+
*/
|
|
6189
|
+
MessageDelete.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
6190
|
+
if (typeUrlPrefix === undefined) {
|
|
6191
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
6192
|
+
}
|
|
6193
|
+
return typeUrlPrefix + "/MessageDelete";
|
|
6194
|
+
};
|
|
6195
|
+
|
|
5785
6196
|
return MessageDelete;
|
|
5786
6197
|
})();
|
|
5787
6198
|
|
|
@@ -5912,15 +6323,18 @@ $root.MessageEdit = (function() {
|
|
|
5912
6323
|
while (reader.pos < end) {
|
|
5913
6324
|
var tag = reader.uint32();
|
|
5914
6325
|
switch (tag >>> 3) {
|
|
5915
|
-
case 1:
|
|
5916
|
-
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
|
|
5920
|
-
|
|
5921
|
-
|
|
5922
|
-
|
|
5923
|
-
|
|
6326
|
+
case 1: {
|
|
6327
|
+
message.replacingMessageId = reader.string();
|
|
6328
|
+
break;
|
|
6329
|
+
}
|
|
6330
|
+
case 2: {
|
|
6331
|
+
message.text = $root.Text.decode(reader, reader.uint32());
|
|
6332
|
+
break;
|
|
6333
|
+
}
|
|
6334
|
+
case 3: {
|
|
6335
|
+
message.composite = $root.Composite.decode(reader, reader.uint32());
|
|
6336
|
+
break;
|
|
6337
|
+
}
|
|
5924
6338
|
default:
|
|
5925
6339
|
reader.skipType(tag & 7);
|
|
5926
6340
|
break;
|
|
@@ -6050,6 +6464,21 @@ $root.MessageEdit = (function() {
|
|
|
6050
6464
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
6051
6465
|
};
|
|
6052
6466
|
|
|
6467
|
+
/**
|
|
6468
|
+
* Gets the default type url for MessageEdit
|
|
6469
|
+
* @function getTypeUrl
|
|
6470
|
+
* @memberof MessageEdit
|
|
6471
|
+
* @static
|
|
6472
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
6473
|
+
* @returns {string} The default type url
|
|
6474
|
+
*/
|
|
6475
|
+
MessageEdit.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
6476
|
+
if (typeUrlPrefix === undefined) {
|
|
6477
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
6478
|
+
}
|
|
6479
|
+
return typeUrlPrefix + "/MessageEdit";
|
|
6480
|
+
};
|
|
6481
|
+
|
|
6053
6482
|
return MessageEdit;
|
|
6054
6483
|
})();
|
|
6055
6484
|
|
|
@@ -6155,12 +6584,14 @@ $root.Quote = (function() {
|
|
|
6155
6584
|
while (reader.pos < end) {
|
|
6156
6585
|
var tag = reader.uint32();
|
|
6157
6586
|
switch (tag >>> 3) {
|
|
6158
|
-
case 1:
|
|
6159
|
-
|
|
6160
|
-
|
|
6161
|
-
|
|
6162
|
-
|
|
6163
|
-
|
|
6587
|
+
case 1: {
|
|
6588
|
+
message.quotedMessageId = reader.string();
|
|
6589
|
+
break;
|
|
6590
|
+
}
|
|
6591
|
+
case 2: {
|
|
6592
|
+
message.quotedMessageSha256 = reader.bytes();
|
|
6593
|
+
break;
|
|
6594
|
+
}
|
|
6164
6595
|
default:
|
|
6165
6596
|
reader.skipType(tag & 7);
|
|
6166
6597
|
break;
|
|
@@ -6223,7 +6654,7 @@ $root.Quote = (function() {
|
|
|
6223
6654
|
if (object.quotedMessageSha256 != null)
|
|
6224
6655
|
if (typeof object.quotedMessageSha256 === "string")
|
|
6225
6656
|
$util.base64.decode(object.quotedMessageSha256, message.quotedMessageSha256 = $util.newBuffer($util.base64.length(object.quotedMessageSha256)), 0);
|
|
6226
|
-
else if (object.quotedMessageSha256.length)
|
|
6657
|
+
else if (object.quotedMessageSha256.length >= 0)
|
|
6227
6658
|
message.quotedMessageSha256 = object.quotedMessageSha256;
|
|
6228
6659
|
return message;
|
|
6229
6660
|
};
|
|
@@ -6269,6 +6700,21 @@ $root.Quote = (function() {
|
|
|
6269
6700
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
6270
6701
|
};
|
|
6271
6702
|
|
|
6703
|
+
/**
|
|
6704
|
+
* Gets the default type url for Quote
|
|
6705
|
+
* @function getTypeUrl
|
|
6706
|
+
* @memberof Quote
|
|
6707
|
+
* @static
|
|
6708
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
6709
|
+
* @returns {string} The default type url
|
|
6710
|
+
*/
|
|
6711
|
+
Quote.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
6712
|
+
if (typeUrlPrefix === undefined) {
|
|
6713
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
6714
|
+
}
|
|
6715
|
+
return typeUrlPrefix + "/Quote";
|
|
6716
|
+
};
|
|
6717
|
+
|
|
6272
6718
|
return Quote;
|
|
6273
6719
|
})();
|
|
6274
6720
|
|
|
@@ -6386,17 +6832,20 @@ $root.Confirmation = (function() {
|
|
|
6386
6832
|
while (reader.pos < end) {
|
|
6387
6833
|
var tag = reader.uint32();
|
|
6388
6834
|
switch (tag >>> 3) {
|
|
6389
|
-
case 2:
|
|
6390
|
-
|
|
6391
|
-
|
|
6392
|
-
|
|
6393
|
-
|
|
6394
|
-
|
|
6395
|
-
|
|
6396
|
-
|
|
6397
|
-
|
|
6398
|
-
|
|
6399
|
-
|
|
6835
|
+
case 2: {
|
|
6836
|
+
message.type = reader.int32();
|
|
6837
|
+
break;
|
|
6838
|
+
}
|
|
6839
|
+
case 1: {
|
|
6840
|
+
message.firstMessageId = reader.string();
|
|
6841
|
+
break;
|
|
6842
|
+
}
|
|
6843
|
+
case 3: {
|
|
6844
|
+
if (!(message.moreMessageIds && message.moreMessageIds.length))
|
|
6845
|
+
message.moreMessageIds = [];
|
|
6846
|
+
message.moreMessageIds.push(reader.string());
|
|
6847
|
+
break;
|
|
6848
|
+
}
|
|
6400
6849
|
default:
|
|
6401
6850
|
reader.skipType(tag & 7);
|
|
6402
6851
|
break;
|
|
@@ -6468,6 +6917,12 @@ $root.Confirmation = (function() {
|
|
|
6468
6917
|
return object;
|
|
6469
6918
|
var message = new $root.Confirmation();
|
|
6470
6919
|
switch (object.type) {
|
|
6920
|
+
default:
|
|
6921
|
+
if (typeof object.type === "number") {
|
|
6922
|
+
message.type = object.type;
|
|
6923
|
+
break;
|
|
6924
|
+
}
|
|
6925
|
+
break;
|
|
6471
6926
|
case "DELIVERED":
|
|
6472
6927
|
case 0:
|
|
6473
6928
|
message.type = 0;
|
|
@@ -6511,7 +6966,7 @@ $root.Confirmation = (function() {
|
|
|
6511
6966
|
if (message.firstMessageId != null && message.hasOwnProperty("firstMessageId"))
|
|
6512
6967
|
object.firstMessageId = message.firstMessageId;
|
|
6513
6968
|
if (message.type != null && message.hasOwnProperty("type"))
|
|
6514
|
-
object.type = options.enums === String ? $root.Confirmation.Type[message.type] : message.type;
|
|
6969
|
+
object.type = options.enums === String ? $root.Confirmation.Type[message.type] === undefined ? message.type : $root.Confirmation.Type[message.type] : message.type;
|
|
6515
6970
|
if (message.moreMessageIds && message.moreMessageIds.length) {
|
|
6516
6971
|
object.moreMessageIds = [];
|
|
6517
6972
|
for (var j = 0; j < message.moreMessageIds.length; ++j)
|
|
@@ -6531,6 +6986,21 @@ $root.Confirmation = (function() {
|
|
|
6531
6986
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
6532
6987
|
};
|
|
6533
6988
|
|
|
6989
|
+
/**
|
|
6990
|
+
* Gets the default type url for Confirmation
|
|
6991
|
+
* @function getTypeUrl
|
|
6992
|
+
* @memberof Confirmation
|
|
6993
|
+
* @static
|
|
6994
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
6995
|
+
* @returns {string} The default type url
|
|
6996
|
+
*/
|
|
6997
|
+
Confirmation.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
6998
|
+
if (typeUrlPrefix === undefined) {
|
|
6999
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
7000
|
+
}
|
|
7001
|
+
return typeUrlPrefix + "/Confirmation";
|
|
7002
|
+
};
|
|
7003
|
+
|
|
6534
7004
|
/**
|
|
6535
7005
|
* Type enum.
|
|
6536
7006
|
* @name Confirmation.Type
|
|
@@ -6693,24 +7163,30 @@ $root.Location = (function() {
|
|
|
6693
7163
|
while (reader.pos < end) {
|
|
6694
7164
|
var tag = reader.uint32();
|
|
6695
7165
|
switch (tag >>> 3) {
|
|
6696
|
-
case 1:
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
|
|
6701
|
-
|
|
6702
|
-
|
|
6703
|
-
|
|
6704
|
-
|
|
6705
|
-
|
|
6706
|
-
|
|
6707
|
-
|
|
6708
|
-
case
|
|
6709
|
-
|
|
6710
|
-
|
|
6711
|
-
|
|
6712
|
-
|
|
6713
|
-
|
|
7166
|
+
case 1: {
|
|
7167
|
+
message.longitude = reader.float();
|
|
7168
|
+
break;
|
|
7169
|
+
}
|
|
7170
|
+
case 2: {
|
|
7171
|
+
message.latitude = reader.float();
|
|
7172
|
+
break;
|
|
7173
|
+
}
|
|
7174
|
+
case 3: {
|
|
7175
|
+
message.name = reader.string();
|
|
7176
|
+
break;
|
|
7177
|
+
}
|
|
7178
|
+
case 4: {
|
|
7179
|
+
message.zoom = reader.int32();
|
|
7180
|
+
break;
|
|
7181
|
+
}
|
|
7182
|
+
case 5: {
|
|
7183
|
+
message.expectsReadConfirmation = reader.bool();
|
|
7184
|
+
break;
|
|
7185
|
+
}
|
|
7186
|
+
case 6: {
|
|
7187
|
+
message.legalHoldStatus = reader.int32();
|
|
7188
|
+
break;
|
|
7189
|
+
}
|
|
6714
7190
|
default:
|
|
6715
7191
|
reader.skipType(tag & 7);
|
|
6716
7192
|
break;
|
|
@@ -6798,6 +7274,12 @@ $root.Location = (function() {
|
|
|
6798
7274
|
if (object.expectsReadConfirmation != null)
|
|
6799
7275
|
message.expectsReadConfirmation = Boolean(object.expectsReadConfirmation);
|
|
6800
7276
|
switch (object.legalHoldStatus) {
|
|
7277
|
+
default:
|
|
7278
|
+
if (typeof object.legalHoldStatus === "number") {
|
|
7279
|
+
message.legalHoldStatus = object.legalHoldStatus;
|
|
7280
|
+
break;
|
|
7281
|
+
}
|
|
7282
|
+
break;
|
|
6801
7283
|
case "UNKNOWN":
|
|
6802
7284
|
case 0:
|
|
6803
7285
|
message.legalHoldStatus = 0;
|
|
@@ -6846,7 +7328,7 @@ $root.Location = (function() {
|
|
|
6846
7328
|
if (message.expectsReadConfirmation != null && message.hasOwnProperty("expectsReadConfirmation"))
|
|
6847
7329
|
object.expectsReadConfirmation = message.expectsReadConfirmation;
|
|
6848
7330
|
if (message.legalHoldStatus != null && message.hasOwnProperty("legalHoldStatus"))
|
|
6849
|
-
object.legalHoldStatus = options.enums === String ? $root.LegalHoldStatus[message.legalHoldStatus] : message.legalHoldStatus;
|
|
7331
|
+
object.legalHoldStatus = options.enums === String ? $root.LegalHoldStatus[message.legalHoldStatus] === undefined ? message.legalHoldStatus : $root.LegalHoldStatus[message.legalHoldStatus] : message.legalHoldStatus;
|
|
6850
7332
|
return object;
|
|
6851
7333
|
};
|
|
6852
7334
|
|
|
@@ -6857,8 +7339,23 @@ $root.Location = (function() {
|
|
|
6857
7339
|
* @instance
|
|
6858
7340
|
* @returns {Object.<string,*>} JSON object
|
|
6859
7341
|
*/
|
|
6860
|
-
Location.prototype.toJSON = function toJSON() {
|
|
6861
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
7342
|
+
Location.prototype.toJSON = function toJSON() {
|
|
7343
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
7344
|
+
};
|
|
7345
|
+
|
|
7346
|
+
/**
|
|
7347
|
+
* Gets the default type url for Location
|
|
7348
|
+
* @function getTypeUrl
|
|
7349
|
+
* @memberof Location
|
|
7350
|
+
* @static
|
|
7351
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
7352
|
+
* @returns {string} The default type url
|
|
7353
|
+
*/
|
|
7354
|
+
Location.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
7355
|
+
if (typeUrlPrefix === undefined) {
|
|
7356
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
7357
|
+
}
|
|
7358
|
+
return typeUrlPrefix + "/Location";
|
|
6862
7359
|
};
|
|
6863
7360
|
|
|
6864
7361
|
return Location;
|
|
@@ -7059,39 +7556,50 @@ $root.ImageAsset = (function() {
|
|
|
7059
7556
|
while (reader.pos < end) {
|
|
7060
7557
|
var tag = reader.uint32();
|
|
7061
7558
|
switch (tag >>> 3) {
|
|
7062
|
-
case 1:
|
|
7063
|
-
|
|
7064
|
-
|
|
7065
|
-
|
|
7066
|
-
|
|
7067
|
-
|
|
7068
|
-
|
|
7069
|
-
|
|
7070
|
-
|
|
7071
|
-
|
|
7072
|
-
|
|
7073
|
-
|
|
7074
|
-
case
|
|
7075
|
-
|
|
7076
|
-
|
|
7077
|
-
|
|
7078
|
-
|
|
7079
|
-
|
|
7080
|
-
|
|
7081
|
-
|
|
7082
|
-
|
|
7083
|
-
|
|
7084
|
-
|
|
7085
|
-
|
|
7086
|
-
case
|
|
7087
|
-
|
|
7088
|
-
|
|
7089
|
-
|
|
7090
|
-
|
|
7091
|
-
|
|
7092
|
-
|
|
7093
|
-
|
|
7094
|
-
|
|
7559
|
+
case 1: {
|
|
7560
|
+
message.tag = reader.string();
|
|
7561
|
+
break;
|
|
7562
|
+
}
|
|
7563
|
+
case 2: {
|
|
7564
|
+
message.width = reader.int32();
|
|
7565
|
+
break;
|
|
7566
|
+
}
|
|
7567
|
+
case 3: {
|
|
7568
|
+
message.height = reader.int32();
|
|
7569
|
+
break;
|
|
7570
|
+
}
|
|
7571
|
+
case 4: {
|
|
7572
|
+
message.originalWidth = reader.int32();
|
|
7573
|
+
break;
|
|
7574
|
+
}
|
|
7575
|
+
case 5: {
|
|
7576
|
+
message.originalHeight = reader.int32();
|
|
7577
|
+
break;
|
|
7578
|
+
}
|
|
7579
|
+
case 6: {
|
|
7580
|
+
message.mimeType = reader.string();
|
|
7581
|
+
break;
|
|
7582
|
+
}
|
|
7583
|
+
case 7: {
|
|
7584
|
+
message.size = reader.int32();
|
|
7585
|
+
break;
|
|
7586
|
+
}
|
|
7587
|
+
case 8: {
|
|
7588
|
+
message.otrKey = reader.bytes();
|
|
7589
|
+
break;
|
|
7590
|
+
}
|
|
7591
|
+
case 9: {
|
|
7592
|
+
message.macKey = reader.bytes();
|
|
7593
|
+
break;
|
|
7594
|
+
}
|
|
7595
|
+
case 10: {
|
|
7596
|
+
message.mac = reader.bytes();
|
|
7597
|
+
break;
|
|
7598
|
+
}
|
|
7599
|
+
case 11: {
|
|
7600
|
+
message.sha256 = reader.bytes();
|
|
7601
|
+
break;
|
|
7602
|
+
}
|
|
7095
7603
|
default:
|
|
7096
7604
|
reader.skipType(tag & 7);
|
|
7097
7605
|
break;
|
|
@@ -7199,22 +7707,22 @@ $root.ImageAsset = (function() {
|
|
|
7199
7707
|
if (object.otrKey != null)
|
|
7200
7708
|
if (typeof object.otrKey === "string")
|
|
7201
7709
|
$util.base64.decode(object.otrKey, message.otrKey = $util.newBuffer($util.base64.length(object.otrKey)), 0);
|
|
7202
|
-
else if (object.otrKey.length)
|
|
7710
|
+
else if (object.otrKey.length >= 0)
|
|
7203
7711
|
message.otrKey = object.otrKey;
|
|
7204
7712
|
if (object.macKey != null)
|
|
7205
7713
|
if (typeof object.macKey === "string")
|
|
7206
7714
|
$util.base64.decode(object.macKey, message.macKey = $util.newBuffer($util.base64.length(object.macKey)), 0);
|
|
7207
|
-
else if (object.macKey.length)
|
|
7715
|
+
else if (object.macKey.length >= 0)
|
|
7208
7716
|
message.macKey = object.macKey;
|
|
7209
7717
|
if (object.mac != null)
|
|
7210
7718
|
if (typeof object.mac === "string")
|
|
7211
7719
|
$util.base64.decode(object.mac, message.mac = $util.newBuffer($util.base64.length(object.mac)), 0);
|
|
7212
|
-
else if (object.mac.length)
|
|
7720
|
+
else if (object.mac.length >= 0)
|
|
7213
7721
|
message.mac = object.mac;
|
|
7214
7722
|
if (object.sha256 != null)
|
|
7215
7723
|
if (typeof object.sha256 === "string")
|
|
7216
7724
|
$util.base64.decode(object.sha256, message.sha256 = $util.newBuffer($util.base64.length(object.sha256)), 0);
|
|
7217
|
-
else if (object.sha256.length)
|
|
7725
|
+
else if (object.sha256.length >= 0)
|
|
7218
7726
|
message.sha256 = object.sha256;
|
|
7219
7727
|
return message;
|
|
7220
7728
|
};
|
|
@@ -7305,6 +7813,21 @@ $root.ImageAsset = (function() {
|
|
|
7305
7813
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
7306
7814
|
};
|
|
7307
7815
|
|
|
7816
|
+
/**
|
|
7817
|
+
* Gets the default type url for ImageAsset
|
|
7818
|
+
* @function getTypeUrl
|
|
7819
|
+
* @memberof ImageAsset
|
|
7820
|
+
* @static
|
|
7821
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
7822
|
+
* @returns {string} The default type url
|
|
7823
|
+
*/
|
|
7824
|
+
ImageAsset.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
7825
|
+
if (typeUrlPrefix === undefined) {
|
|
7826
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
7827
|
+
}
|
|
7828
|
+
return typeUrlPrefix + "/ImageAsset";
|
|
7829
|
+
};
|
|
7830
|
+
|
|
7308
7831
|
return ImageAsset;
|
|
7309
7832
|
})();
|
|
7310
7833
|
|
|
@@ -7469,24 +7992,30 @@ $root.Asset = (function() {
|
|
|
7469
7992
|
while (reader.pos < end) {
|
|
7470
7993
|
var tag = reader.uint32();
|
|
7471
7994
|
switch (tag >>> 3) {
|
|
7472
|
-
case 1:
|
|
7473
|
-
|
|
7474
|
-
|
|
7475
|
-
|
|
7476
|
-
|
|
7477
|
-
|
|
7478
|
-
|
|
7479
|
-
|
|
7480
|
-
|
|
7481
|
-
|
|
7482
|
-
|
|
7483
|
-
|
|
7484
|
-
case
|
|
7485
|
-
|
|
7486
|
-
|
|
7487
|
-
|
|
7488
|
-
|
|
7489
|
-
|
|
7995
|
+
case 1: {
|
|
7996
|
+
message.original = $root.Asset.Original.decode(reader, reader.uint32());
|
|
7997
|
+
break;
|
|
7998
|
+
}
|
|
7999
|
+
case 3: {
|
|
8000
|
+
message.notUploaded = reader.int32();
|
|
8001
|
+
break;
|
|
8002
|
+
}
|
|
8003
|
+
case 4: {
|
|
8004
|
+
message.uploaded = $root.Asset.RemoteData.decode(reader, reader.uint32());
|
|
8005
|
+
break;
|
|
8006
|
+
}
|
|
8007
|
+
case 5: {
|
|
8008
|
+
message.preview = $root.Asset.Preview.decode(reader, reader.uint32());
|
|
8009
|
+
break;
|
|
8010
|
+
}
|
|
8011
|
+
case 6: {
|
|
8012
|
+
message.expectsReadConfirmation = reader.bool();
|
|
8013
|
+
break;
|
|
8014
|
+
}
|
|
8015
|
+
case 7: {
|
|
8016
|
+
message.legalHoldStatus = reader.int32();
|
|
8017
|
+
break;
|
|
8018
|
+
}
|
|
7490
8019
|
default:
|
|
7491
8020
|
reader.skipType(tag & 7);
|
|
7492
8021
|
break;
|
|
@@ -7586,6 +8115,12 @@ $root.Asset = (function() {
|
|
|
7586
8115
|
message.original = $root.Asset.Original.fromObject(object.original);
|
|
7587
8116
|
}
|
|
7588
8117
|
switch (object.notUploaded) {
|
|
8118
|
+
default:
|
|
8119
|
+
if (typeof object.notUploaded === "number") {
|
|
8120
|
+
message.notUploaded = object.notUploaded;
|
|
8121
|
+
break;
|
|
8122
|
+
}
|
|
8123
|
+
break;
|
|
7589
8124
|
case "CANCELLED":
|
|
7590
8125
|
case 0:
|
|
7591
8126
|
message.notUploaded = 0;
|
|
@@ -7608,6 +8143,12 @@ $root.Asset = (function() {
|
|
|
7608
8143
|
if (object.expectsReadConfirmation != null)
|
|
7609
8144
|
message.expectsReadConfirmation = Boolean(object.expectsReadConfirmation);
|
|
7610
8145
|
switch (object.legalHoldStatus) {
|
|
8146
|
+
default:
|
|
8147
|
+
if (typeof object.legalHoldStatus === "number") {
|
|
8148
|
+
message.legalHoldStatus = object.legalHoldStatus;
|
|
8149
|
+
break;
|
|
8150
|
+
}
|
|
8151
|
+
break;
|
|
7611
8152
|
case "UNKNOWN":
|
|
7612
8153
|
case 0:
|
|
7613
8154
|
message.legalHoldStatus = 0;
|
|
@@ -7646,7 +8187,7 @@ $root.Asset = (function() {
|
|
|
7646
8187
|
if (message.original != null && message.hasOwnProperty("original"))
|
|
7647
8188
|
object.original = $root.Asset.Original.toObject(message.original, options);
|
|
7648
8189
|
if (message.notUploaded != null && message.hasOwnProperty("notUploaded")) {
|
|
7649
|
-
object.notUploaded = options.enums === String ? $root.Asset.NotUploaded[message.notUploaded] : message.notUploaded;
|
|
8190
|
+
object.notUploaded = options.enums === String ? $root.Asset.NotUploaded[message.notUploaded] === undefined ? message.notUploaded : $root.Asset.NotUploaded[message.notUploaded] : message.notUploaded;
|
|
7650
8191
|
if (options.oneofs)
|
|
7651
8192
|
object.status = "notUploaded";
|
|
7652
8193
|
}
|
|
@@ -7660,7 +8201,7 @@ $root.Asset = (function() {
|
|
|
7660
8201
|
if (message.expectsReadConfirmation != null && message.hasOwnProperty("expectsReadConfirmation"))
|
|
7661
8202
|
object.expectsReadConfirmation = message.expectsReadConfirmation;
|
|
7662
8203
|
if (message.legalHoldStatus != null && message.hasOwnProperty("legalHoldStatus"))
|
|
7663
|
-
object.legalHoldStatus = options.enums === String ? $root.LegalHoldStatus[message.legalHoldStatus] : message.legalHoldStatus;
|
|
8204
|
+
object.legalHoldStatus = options.enums === String ? $root.LegalHoldStatus[message.legalHoldStatus] === undefined ? message.legalHoldStatus : $root.LegalHoldStatus[message.legalHoldStatus] : message.legalHoldStatus;
|
|
7664
8205
|
return object;
|
|
7665
8206
|
};
|
|
7666
8207
|
|
|
@@ -7675,6 +8216,21 @@ $root.Asset = (function() {
|
|
|
7675
8216
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
7676
8217
|
};
|
|
7677
8218
|
|
|
8219
|
+
/**
|
|
8220
|
+
* Gets the default type url for Asset
|
|
8221
|
+
* @function getTypeUrl
|
|
8222
|
+
* @memberof Asset
|
|
8223
|
+
* @static
|
|
8224
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
8225
|
+
* @returns {string} The default type url
|
|
8226
|
+
*/
|
|
8227
|
+
Asset.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
8228
|
+
if (typeUrlPrefix === undefined) {
|
|
8229
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
8230
|
+
}
|
|
8231
|
+
return typeUrlPrefix + "/Asset";
|
|
8232
|
+
};
|
|
8233
|
+
|
|
7678
8234
|
Asset.Original = (function() {
|
|
7679
8235
|
|
|
7680
8236
|
/**
|
|
@@ -7856,30 +8412,38 @@ $root.Asset = (function() {
|
|
|
7856
8412
|
while (reader.pos < end) {
|
|
7857
8413
|
var tag = reader.uint32();
|
|
7858
8414
|
switch (tag >>> 3) {
|
|
7859
|
-
case 1:
|
|
7860
|
-
|
|
7861
|
-
|
|
7862
|
-
|
|
7863
|
-
|
|
7864
|
-
|
|
7865
|
-
|
|
7866
|
-
|
|
7867
|
-
|
|
7868
|
-
|
|
7869
|
-
|
|
7870
|
-
|
|
7871
|
-
case
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
|
|
8415
|
+
case 1: {
|
|
8416
|
+
message.mimeType = reader.string();
|
|
8417
|
+
break;
|
|
8418
|
+
}
|
|
8419
|
+
case 2: {
|
|
8420
|
+
message.size = reader.uint64();
|
|
8421
|
+
break;
|
|
8422
|
+
}
|
|
8423
|
+
case 3: {
|
|
8424
|
+
message.name = reader.string();
|
|
8425
|
+
break;
|
|
8426
|
+
}
|
|
8427
|
+
case 4: {
|
|
8428
|
+
message.image = $root.Asset.ImageMetaData.decode(reader, reader.uint32());
|
|
8429
|
+
break;
|
|
8430
|
+
}
|
|
8431
|
+
case 5: {
|
|
8432
|
+
message.video = $root.Asset.VideoMetaData.decode(reader, reader.uint32());
|
|
8433
|
+
break;
|
|
8434
|
+
}
|
|
8435
|
+
case 6: {
|
|
8436
|
+
message.audio = $root.Asset.AudioMetaData.decode(reader, reader.uint32());
|
|
8437
|
+
break;
|
|
8438
|
+
}
|
|
8439
|
+
case 7: {
|
|
8440
|
+
message.source = reader.string();
|
|
8441
|
+
break;
|
|
8442
|
+
}
|
|
8443
|
+
case 8: {
|
|
8444
|
+
message.caption = reader.string();
|
|
8445
|
+
break;
|
|
8446
|
+
}
|
|
7883
8447
|
default:
|
|
7884
8448
|
reader.skipType(tag & 7);
|
|
7885
8449
|
break;
|
|
@@ -8077,6 +8641,21 @@ $root.Asset = (function() {
|
|
|
8077
8641
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
8078
8642
|
};
|
|
8079
8643
|
|
|
8644
|
+
/**
|
|
8645
|
+
* Gets the default type url for Original
|
|
8646
|
+
* @function getTypeUrl
|
|
8647
|
+
* @memberof Asset.Original
|
|
8648
|
+
* @static
|
|
8649
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
8650
|
+
* @returns {string} The default type url
|
|
8651
|
+
*/
|
|
8652
|
+
Original.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
8653
|
+
if (typeUrlPrefix === undefined) {
|
|
8654
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
8655
|
+
}
|
|
8656
|
+
return typeUrlPrefix + "/Asset.Original";
|
|
8657
|
+
};
|
|
8658
|
+
|
|
8080
8659
|
return Original;
|
|
8081
8660
|
})();
|
|
8082
8661
|
|
|
@@ -8217,18 +8796,22 @@ $root.Asset = (function() {
|
|
|
8217
8796
|
while (reader.pos < end) {
|
|
8218
8797
|
var tag = reader.uint32();
|
|
8219
8798
|
switch (tag >>> 3) {
|
|
8220
|
-
case 1:
|
|
8221
|
-
|
|
8222
|
-
|
|
8223
|
-
|
|
8224
|
-
|
|
8225
|
-
|
|
8226
|
-
|
|
8227
|
-
|
|
8228
|
-
|
|
8229
|
-
|
|
8230
|
-
|
|
8231
|
-
|
|
8799
|
+
case 1: {
|
|
8800
|
+
message.mimeType = reader.string();
|
|
8801
|
+
break;
|
|
8802
|
+
}
|
|
8803
|
+
case 2: {
|
|
8804
|
+
message.size = reader.uint64();
|
|
8805
|
+
break;
|
|
8806
|
+
}
|
|
8807
|
+
case 3: {
|
|
8808
|
+
message.remote = $root.Asset.RemoteData.decode(reader, reader.uint32());
|
|
8809
|
+
break;
|
|
8810
|
+
}
|
|
8811
|
+
case 4: {
|
|
8812
|
+
message.image = $root.Asset.ImageMetaData.decode(reader, reader.uint32());
|
|
8813
|
+
break;
|
|
8814
|
+
}
|
|
8232
8815
|
default:
|
|
8233
8816
|
reader.skipType(tag & 7);
|
|
8234
8817
|
break;
|
|
@@ -8375,6 +8958,21 @@ $root.Asset = (function() {
|
|
|
8375
8958
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
8376
8959
|
};
|
|
8377
8960
|
|
|
8961
|
+
/**
|
|
8962
|
+
* Gets the default type url for Preview
|
|
8963
|
+
* @function getTypeUrl
|
|
8964
|
+
* @memberof Asset.Preview
|
|
8965
|
+
* @static
|
|
8966
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
8967
|
+
* @returns {string} The default type url
|
|
8968
|
+
*/
|
|
8969
|
+
Preview.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
8970
|
+
if (typeUrlPrefix === undefined) {
|
|
8971
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
8972
|
+
}
|
|
8973
|
+
return typeUrlPrefix + "/Asset.Preview";
|
|
8974
|
+
};
|
|
8975
|
+
|
|
8378
8976
|
return Preview;
|
|
8379
8977
|
})();
|
|
8380
8978
|
|
|
@@ -8490,15 +9088,18 @@ $root.Asset = (function() {
|
|
|
8490
9088
|
while (reader.pos < end) {
|
|
8491
9089
|
var tag = reader.uint32();
|
|
8492
9090
|
switch (tag >>> 3) {
|
|
8493
|
-
case 1:
|
|
8494
|
-
|
|
8495
|
-
|
|
8496
|
-
|
|
8497
|
-
|
|
8498
|
-
|
|
8499
|
-
|
|
8500
|
-
|
|
8501
|
-
|
|
9091
|
+
case 1: {
|
|
9092
|
+
message.width = reader.int32();
|
|
9093
|
+
break;
|
|
9094
|
+
}
|
|
9095
|
+
case 2: {
|
|
9096
|
+
message.height = reader.int32();
|
|
9097
|
+
break;
|
|
9098
|
+
}
|
|
9099
|
+
case 3: {
|
|
9100
|
+
message.tag = reader.string();
|
|
9101
|
+
break;
|
|
9102
|
+
}
|
|
8502
9103
|
default:
|
|
8503
9104
|
reader.skipType(tag & 7);
|
|
8504
9105
|
break;
|
|
@@ -8607,6 +9208,21 @@ $root.Asset = (function() {
|
|
|
8607
9208
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
8608
9209
|
};
|
|
8609
9210
|
|
|
9211
|
+
/**
|
|
9212
|
+
* Gets the default type url for ImageMetaData
|
|
9213
|
+
* @function getTypeUrl
|
|
9214
|
+
* @memberof Asset.ImageMetaData
|
|
9215
|
+
* @static
|
|
9216
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9217
|
+
* @returns {string} The default type url
|
|
9218
|
+
*/
|
|
9219
|
+
ImageMetaData.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
9220
|
+
if (typeUrlPrefix === undefined) {
|
|
9221
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
9222
|
+
}
|
|
9223
|
+
return typeUrlPrefix + "/Asset.ImageMetaData";
|
|
9224
|
+
};
|
|
9225
|
+
|
|
8610
9226
|
return ImageMetaData;
|
|
8611
9227
|
})();
|
|
8612
9228
|
|
|
@@ -8724,15 +9340,18 @@ $root.Asset = (function() {
|
|
|
8724
9340
|
while (reader.pos < end) {
|
|
8725
9341
|
var tag = reader.uint32();
|
|
8726
9342
|
switch (tag >>> 3) {
|
|
8727
|
-
case 1:
|
|
8728
|
-
|
|
8729
|
-
|
|
8730
|
-
|
|
8731
|
-
|
|
8732
|
-
|
|
8733
|
-
|
|
8734
|
-
|
|
8735
|
-
|
|
9343
|
+
case 1: {
|
|
9344
|
+
message.width = reader.int32();
|
|
9345
|
+
break;
|
|
9346
|
+
}
|
|
9347
|
+
case 2: {
|
|
9348
|
+
message.height = reader.int32();
|
|
9349
|
+
break;
|
|
9350
|
+
}
|
|
9351
|
+
case 3: {
|
|
9352
|
+
message.durationInMillis = reader.uint64();
|
|
9353
|
+
break;
|
|
9354
|
+
}
|
|
8736
9355
|
default:
|
|
8737
9356
|
reader.skipType(tag & 7);
|
|
8738
9357
|
break;
|
|
@@ -8853,6 +9472,21 @@ $root.Asset = (function() {
|
|
|
8853
9472
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
8854
9473
|
};
|
|
8855
9474
|
|
|
9475
|
+
/**
|
|
9476
|
+
* Gets the default type url for VideoMetaData
|
|
9477
|
+
* @function getTypeUrl
|
|
9478
|
+
* @memberof Asset.VideoMetaData
|
|
9479
|
+
* @static
|
|
9480
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9481
|
+
* @returns {string} The default type url
|
|
9482
|
+
*/
|
|
9483
|
+
VideoMetaData.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
9484
|
+
if (typeUrlPrefix === undefined) {
|
|
9485
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
9486
|
+
}
|
|
9487
|
+
return typeUrlPrefix + "/Asset.VideoMetaData";
|
|
9488
|
+
};
|
|
9489
|
+
|
|
8856
9490
|
return VideoMetaData;
|
|
8857
9491
|
})();
|
|
8858
9492
|
|
|
@@ -8959,12 +9593,14 @@ $root.Asset = (function() {
|
|
|
8959
9593
|
while (reader.pos < end) {
|
|
8960
9594
|
var tag = reader.uint32();
|
|
8961
9595
|
switch (tag >>> 3) {
|
|
8962
|
-
case 1:
|
|
8963
|
-
|
|
8964
|
-
|
|
8965
|
-
|
|
8966
|
-
|
|
8967
|
-
|
|
9596
|
+
case 1: {
|
|
9597
|
+
message.durationInMillis = reader.uint64();
|
|
9598
|
+
break;
|
|
9599
|
+
}
|
|
9600
|
+
case 3: {
|
|
9601
|
+
message.normalizedLoudness = reader.bytes();
|
|
9602
|
+
break;
|
|
9603
|
+
}
|
|
8968
9604
|
default:
|
|
8969
9605
|
reader.skipType(tag & 7);
|
|
8970
9606
|
break;
|
|
@@ -9033,7 +9669,7 @@ $root.Asset = (function() {
|
|
|
9033
9669
|
if (object.normalizedLoudness != null)
|
|
9034
9670
|
if (typeof object.normalizedLoudness === "string")
|
|
9035
9671
|
$util.base64.decode(object.normalizedLoudness, message.normalizedLoudness = $util.newBuffer($util.base64.length(object.normalizedLoudness)), 0);
|
|
9036
|
-
else if (object.normalizedLoudness.length)
|
|
9672
|
+
else if (object.normalizedLoudness.length >= 0)
|
|
9037
9673
|
message.normalizedLoudness = object.normalizedLoudness;
|
|
9038
9674
|
return message;
|
|
9039
9675
|
};
|
|
@@ -9086,6 +9722,21 @@ $root.Asset = (function() {
|
|
|
9086
9722
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
9087
9723
|
};
|
|
9088
9724
|
|
|
9725
|
+
/**
|
|
9726
|
+
* Gets the default type url for AudioMetaData
|
|
9727
|
+
* @function getTypeUrl
|
|
9728
|
+
* @memberof Asset.AudioMetaData
|
|
9729
|
+
* @static
|
|
9730
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9731
|
+
* @returns {string} The default type url
|
|
9732
|
+
*/
|
|
9733
|
+
AudioMetaData.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
9734
|
+
if (typeUrlPrefix === undefined) {
|
|
9735
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
9736
|
+
}
|
|
9737
|
+
return typeUrlPrefix + "/Asset.AudioMetaData";
|
|
9738
|
+
};
|
|
9739
|
+
|
|
9089
9740
|
return AudioMetaData;
|
|
9090
9741
|
})();
|
|
9091
9742
|
|
|
@@ -9248,24 +9899,30 @@ $root.Asset = (function() {
|
|
|
9248
9899
|
while (reader.pos < end) {
|
|
9249
9900
|
var tag = reader.uint32();
|
|
9250
9901
|
switch (tag >>> 3) {
|
|
9251
|
-
case 1:
|
|
9252
|
-
|
|
9253
|
-
|
|
9254
|
-
|
|
9255
|
-
|
|
9256
|
-
|
|
9257
|
-
|
|
9258
|
-
|
|
9259
|
-
|
|
9260
|
-
|
|
9261
|
-
|
|
9262
|
-
|
|
9263
|
-
case
|
|
9264
|
-
|
|
9265
|
-
|
|
9266
|
-
|
|
9267
|
-
|
|
9268
|
-
|
|
9902
|
+
case 1: {
|
|
9903
|
+
message.otrKey = reader.bytes();
|
|
9904
|
+
break;
|
|
9905
|
+
}
|
|
9906
|
+
case 2: {
|
|
9907
|
+
message.sha256 = reader.bytes();
|
|
9908
|
+
break;
|
|
9909
|
+
}
|
|
9910
|
+
case 3: {
|
|
9911
|
+
message.assetId = reader.string();
|
|
9912
|
+
break;
|
|
9913
|
+
}
|
|
9914
|
+
case 5: {
|
|
9915
|
+
message.assetToken = reader.string();
|
|
9916
|
+
break;
|
|
9917
|
+
}
|
|
9918
|
+
case 7: {
|
|
9919
|
+
message.assetDomain = reader.string();
|
|
9920
|
+
break;
|
|
9921
|
+
}
|
|
9922
|
+
case 6: {
|
|
9923
|
+
message.encryption = reader.int32();
|
|
9924
|
+
break;
|
|
9925
|
+
}
|
|
9269
9926
|
default:
|
|
9270
9927
|
reader.skipType(tag & 7);
|
|
9271
9928
|
break;
|
|
@@ -9344,12 +10001,12 @@ $root.Asset = (function() {
|
|
|
9344
10001
|
if (object.otrKey != null)
|
|
9345
10002
|
if (typeof object.otrKey === "string")
|
|
9346
10003
|
$util.base64.decode(object.otrKey, message.otrKey = $util.newBuffer($util.base64.length(object.otrKey)), 0);
|
|
9347
|
-
else if (object.otrKey.length)
|
|
10004
|
+
else if (object.otrKey.length >= 0)
|
|
9348
10005
|
message.otrKey = object.otrKey;
|
|
9349
10006
|
if (object.sha256 != null)
|
|
9350
10007
|
if (typeof object.sha256 === "string")
|
|
9351
10008
|
$util.base64.decode(object.sha256, message.sha256 = $util.newBuffer($util.base64.length(object.sha256)), 0);
|
|
9352
|
-
else if (object.sha256.length)
|
|
10009
|
+
else if (object.sha256.length >= 0)
|
|
9353
10010
|
message.sha256 = object.sha256;
|
|
9354
10011
|
if (object.assetId != null)
|
|
9355
10012
|
message.assetId = String(object.assetId);
|
|
@@ -9358,6 +10015,12 @@ $root.Asset = (function() {
|
|
|
9358
10015
|
if (object.assetDomain != null)
|
|
9359
10016
|
message.assetDomain = String(object.assetDomain);
|
|
9360
10017
|
switch (object.encryption) {
|
|
10018
|
+
default:
|
|
10019
|
+
if (typeof object.encryption === "number") {
|
|
10020
|
+
message.encryption = object.encryption;
|
|
10021
|
+
break;
|
|
10022
|
+
}
|
|
10023
|
+
break;
|
|
9361
10024
|
case "AES_CBC":
|
|
9362
10025
|
case 0:
|
|
9363
10026
|
message.encryption = 0;
|
|
@@ -9412,7 +10075,7 @@ $root.Asset = (function() {
|
|
|
9412
10075
|
if (message.assetToken != null && message.hasOwnProperty("assetToken"))
|
|
9413
10076
|
object.assetToken = message.assetToken;
|
|
9414
10077
|
if (message.encryption != null && message.hasOwnProperty("encryption"))
|
|
9415
|
-
object.encryption = options.enums === String ? $root.EncryptionAlgorithm[message.encryption] : message.encryption;
|
|
10078
|
+
object.encryption = options.enums === String ? $root.EncryptionAlgorithm[message.encryption] === undefined ? message.encryption : $root.EncryptionAlgorithm[message.encryption] : message.encryption;
|
|
9416
10079
|
if (message.assetDomain != null && message.hasOwnProperty("assetDomain"))
|
|
9417
10080
|
object.assetDomain = message.assetDomain;
|
|
9418
10081
|
return object;
|
|
@@ -9429,6 +10092,21 @@ $root.Asset = (function() {
|
|
|
9429
10092
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
9430
10093
|
};
|
|
9431
10094
|
|
|
10095
|
+
/**
|
|
10096
|
+
* Gets the default type url for RemoteData
|
|
10097
|
+
* @function getTypeUrl
|
|
10098
|
+
* @memberof Asset.RemoteData
|
|
10099
|
+
* @static
|
|
10100
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10101
|
+
* @returns {string} The default type url
|
|
10102
|
+
*/
|
|
10103
|
+
RemoteData.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
10104
|
+
if (typeUrlPrefix === undefined) {
|
|
10105
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
10106
|
+
}
|
|
10107
|
+
return typeUrlPrefix + "/Asset.RemoteData";
|
|
10108
|
+
};
|
|
10109
|
+
|
|
9432
10110
|
return RemoteData;
|
|
9433
10111
|
})();
|
|
9434
10112
|
|
|
@@ -9548,15 +10226,18 @@ $root.External = (function() {
|
|
|
9548
10226
|
while (reader.pos < end) {
|
|
9549
10227
|
var tag = reader.uint32();
|
|
9550
10228
|
switch (tag >>> 3) {
|
|
9551
|
-
case 1:
|
|
9552
|
-
|
|
9553
|
-
|
|
9554
|
-
|
|
9555
|
-
|
|
9556
|
-
|
|
9557
|
-
|
|
9558
|
-
|
|
9559
|
-
|
|
10229
|
+
case 1: {
|
|
10230
|
+
message.otrKey = reader.bytes();
|
|
10231
|
+
break;
|
|
10232
|
+
}
|
|
10233
|
+
case 2: {
|
|
10234
|
+
message.sha256 = reader.bytes();
|
|
10235
|
+
break;
|
|
10236
|
+
}
|
|
10237
|
+
case 3: {
|
|
10238
|
+
message.encryption = reader.int32();
|
|
10239
|
+
break;
|
|
10240
|
+
}
|
|
9560
10241
|
default:
|
|
9561
10242
|
reader.skipType(tag & 7);
|
|
9562
10243
|
break;
|
|
@@ -9625,14 +10306,20 @@ $root.External = (function() {
|
|
|
9625
10306
|
if (object.otrKey != null)
|
|
9626
10307
|
if (typeof object.otrKey === "string")
|
|
9627
10308
|
$util.base64.decode(object.otrKey, message.otrKey = $util.newBuffer($util.base64.length(object.otrKey)), 0);
|
|
9628
|
-
else if (object.otrKey.length)
|
|
10309
|
+
else if (object.otrKey.length >= 0)
|
|
9629
10310
|
message.otrKey = object.otrKey;
|
|
9630
10311
|
if (object.sha256 != null)
|
|
9631
10312
|
if (typeof object.sha256 === "string")
|
|
9632
10313
|
$util.base64.decode(object.sha256, message.sha256 = $util.newBuffer($util.base64.length(object.sha256)), 0);
|
|
9633
|
-
else if (object.sha256.length)
|
|
10314
|
+
else if (object.sha256.length >= 0)
|
|
9634
10315
|
message.sha256 = object.sha256;
|
|
9635
10316
|
switch (object.encryption) {
|
|
10317
|
+
default:
|
|
10318
|
+
if (typeof object.encryption === "number") {
|
|
10319
|
+
message.encryption = object.encryption;
|
|
10320
|
+
break;
|
|
10321
|
+
}
|
|
10322
|
+
break;
|
|
9636
10323
|
case "AES_CBC":
|
|
9637
10324
|
case 0:
|
|
9638
10325
|
message.encryption = 0;
|
|
@@ -9680,7 +10367,7 @@ $root.External = (function() {
|
|
|
9680
10367
|
if (message.sha256 != null && message.hasOwnProperty("sha256"))
|
|
9681
10368
|
object.sha256 = options.bytes === String ? $util.base64.encode(message.sha256, 0, message.sha256.length) : options.bytes === Array ? Array.prototype.slice.call(message.sha256) : message.sha256;
|
|
9682
10369
|
if (message.encryption != null && message.hasOwnProperty("encryption"))
|
|
9683
|
-
object.encryption = options.enums === String ? $root.EncryptionAlgorithm[message.encryption] : message.encryption;
|
|
10370
|
+
object.encryption = options.enums === String ? $root.EncryptionAlgorithm[message.encryption] === undefined ? message.encryption : $root.EncryptionAlgorithm[message.encryption] : message.encryption;
|
|
9684
10371
|
return object;
|
|
9685
10372
|
};
|
|
9686
10373
|
|
|
@@ -9695,6 +10382,21 @@ $root.External = (function() {
|
|
|
9695
10382
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
9696
10383
|
};
|
|
9697
10384
|
|
|
10385
|
+
/**
|
|
10386
|
+
* Gets the default type url for External
|
|
10387
|
+
* @function getTypeUrl
|
|
10388
|
+
* @memberof External
|
|
10389
|
+
* @static
|
|
10390
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10391
|
+
* @returns {string} The default type url
|
|
10392
|
+
*/
|
|
10393
|
+
External.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
10394
|
+
if (typeUrlPrefix === undefined) {
|
|
10395
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
10396
|
+
}
|
|
10397
|
+
return typeUrlPrefix + "/External";
|
|
10398
|
+
};
|
|
10399
|
+
|
|
9698
10400
|
return External;
|
|
9699
10401
|
})();
|
|
9700
10402
|
|
|
@@ -9811,15 +10513,18 @@ $root.Reaction = (function() {
|
|
|
9811
10513
|
while (reader.pos < end) {
|
|
9812
10514
|
var tag = reader.uint32();
|
|
9813
10515
|
switch (tag >>> 3) {
|
|
9814
|
-
case 1:
|
|
9815
|
-
|
|
9816
|
-
|
|
9817
|
-
|
|
9818
|
-
|
|
9819
|
-
|
|
9820
|
-
|
|
9821
|
-
|
|
9822
|
-
|
|
10516
|
+
case 1: {
|
|
10517
|
+
message.emoji = reader.string();
|
|
10518
|
+
break;
|
|
10519
|
+
}
|
|
10520
|
+
case 2: {
|
|
10521
|
+
message.messageId = reader.string();
|
|
10522
|
+
break;
|
|
10523
|
+
}
|
|
10524
|
+
case 3: {
|
|
10525
|
+
message.legalHoldStatus = reader.int32();
|
|
10526
|
+
break;
|
|
10527
|
+
}
|
|
9823
10528
|
default:
|
|
9824
10529
|
reader.skipType(tag & 7);
|
|
9825
10530
|
break;
|
|
@@ -9891,6 +10596,12 @@ $root.Reaction = (function() {
|
|
|
9891
10596
|
if (object.messageId != null)
|
|
9892
10597
|
message.messageId = String(object.messageId);
|
|
9893
10598
|
switch (object.legalHoldStatus) {
|
|
10599
|
+
default:
|
|
10600
|
+
if (typeof object.legalHoldStatus === "number") {
|
|
10601
|
+
message.legalHoldStatus = object.legalHoldStatus;
|
|
10602
|
+
break;
|
|
10603
|
+
}
|
|
10604
|
+
break;
|
|
9894
10605
|
case "UNKNOWN":
|
|
9895
10606
|
case 0:
|
|
9896
10607
|
message.legalHoldStatus = 0;
|
|
@@ -9930,7 +10641,7 @@ $root.Reaction = (function() {
|
|
|
9930
10641
|
if (message.messageId != null && message.hasOwnProperty("messageId"))
|
|
9931
10642
|
object.messageId = message.messageId;
|
|
9932
10643
|
if (message.legalHoldStatus != null && message.hasOwnProperty("legalHoldStatus"))
|
|
9933
|
-
object.legalHoldStatus = options.enums === String ? $root.LegalHoldStatus[message.legalHoldStatus] : message.legalHoldStatus;
|
|
10644
|
+
object.legalHoldStatus = options.enums === String ? $root.LegalHoldStatus[message.legalHoldStatus] === undefined ? message.legalHoldStatus : $root.LegalHoldStatus[message.legalHoldStatus] : message.legalHoldStatus;
|
|
9934
10645
|
return object;
|
|
9935
10646
|
};
|
|
9936
10647
|
|
|
@@ -9945,6 +10656,21 @@ $root.Reaction = (function() {
|
|
|
9945
10656
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
9946
10657
|
};
|
|
9947
10658
|
|
|
10659
|
+
/**
|
|
10660
|
+
* Gets the default type url for Reaction
|
|
10661
|
+
* @function getTypeUrl
|
|
10662
|
+
* @memberof Reaction
|
|
10663
|
+
* @static
|
|
10664
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10665
|
+
* @returns {string} The default type url
|
|
10666
|
+
*/
|
|
10667
|
+
Reaction.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
10668
|
+
if (typeUrlPrefix === undefined) {
|
|
10669
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
10670
|
+
}
|
|
10671
|
+
return typeUrlPrefix + "/Reaction";
|
|
10672
|
+
};
|
|
10673
|
+
|
|
9948
10674
|
return Reaction;
|
|
9949
10675
|
})();
|
|
9950
10676
|
|
|
@@ -10039,9 +10765,10 @@ $root.Calling = (function() {
|
|
|
10039
10765
|
while (reader.pos < end) {
|
|
10040
10766
|
var tag = reader.uint32();
|
|
10041
10767
|
switch (tag >>> 3) {
|
|
10042
|
-
case 1:
|
|
10043
|
-
|
|
10044
|
-
|
|
10768
|
+
case 1: {
|
|
10769
|
+
message.content = reader.string();
|
|
10770
|
+
break;
|
|
10771
|
+
}
|
|
10045
10772
|
default:
|
|
10046
10773
|
reader.skipType(tag & 7);
|
|
10047
10774
|
break;
|
|
@@ -10132,6 +10859,21 @@ $root.Calling = (function() {
|
|
|
10132
10859
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
10133
10860
|
};
|
|
10134
10861
|
|
|
10862
|
+
/**
|
|
10863
|
+
* Gets the default type url for Calling
|
|
10864
|
+
* @function getTypeUrl
|
|
10865
|
+
* @memberof Calling
|
|
10866
|
+
* @static
|
|
10867
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
10868
|
+
* @returns {string} The default type url
|
|
10869
|
+
*/
|
|
10870
|
+
Calling.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
10871
|
+
if (typeUrlPrefix === undefined) {
|
|
10872
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
10873
|
+
}
|
|
10874
|
+
return typeUrlPrefix + "/Calling";
|
|
10875
|
+
};
|
|
10876
|
+
|
|
10135
10877
|
return Calling;
|
|
10136
10878
|
})();
|
|
10137
10879
|
|
|
@@ -10227,9 +10969,10 @@ $root.DataTransfer = (function() {
|
|
|
10227
10969
|
while (reader.pos < end) {
|
|
10228
10970
|
var tag = reader.uint32();
|
|
10229
10971
|
switch (tag >>> 3) {
|
|
10230
|
-
case 1:
|
|
10231
|
-
|
|
10232
|
-
|
|
10972
|
+
case 1: {
|
|
10973
|
+
message.trackingIdentifier = $root.TrackingIdentifier.decode(reader, reader.uint32());
|
|
10974
|
+
break;
|
|
10975
|
+
}
|
|
10233
10976
|
default:
|
|
10234
10977
|
reader.skipType(tag & 7);
|
|
10235
10978
|
break;
|
|
@@ -10324,6 +11067,21 @@ $root.DataTransfer = (function() {
|
|
|
10324
11067
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
10325
11068
|
};
|
|
10326
11069
|
|
|
11070
|
+
/**
|
|
11071
|
+
* Gets the default type url for DataTransfer
|
|
11072
|
+
* @function getTypeUrl
|
|
11073
|
+
* @memberof DataTransfer
|
|
11074
|
+
* @static
|
|
11075
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
11076
|
+
* @returns {string} The default type url
|
|
11077
|
+
*/
|
|
11078
|
+
DataTransfer.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
11079
|
+
if (typeUrlPrefix === undefined) {
|
|
11080
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
11081
|
+
}
|
|
11082
|
+
return typeUrlPrefix + "/DataTransfer";
|
|
11083
|
+
};
|
|
11084
|
+
|
|
10327
11085
|
return DataTransfer;
|
|
10328
11086
|
})();
|
|
10329
11087
|
|
|
@@ -10418,9 +11176,10 @@ $root.TrackingIdentifier = (function() {
|
|
|
10418
11176
|
while (reader.pos < end) {
|
|
10419
11177
|
var tag = reader.uint32();
|
|
10420
11178
|
switch (tag >>> 3) {
|
|
10421
|
-
case 1:
|
|
10422
|
-
|
|
10423
|
-
|
|
11179
|
+
case 1: {
|
|
11180
|
+
message.identifier = reader.string();
|
|
11181
|
+
break;
|
|
11182
|
+
}
|
|
10424
11183
|
default:
|
|
10425
11184
|
reader.skipType(tag & 7);
|
|
10426
11185
|
break;
|
|
@@ -10511,6 +11270,21 @@ $root.TrackingIdentifier = (function() {
|
|
|
10511
11270
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
10512
11271
|
};
|
|
10513
11272
|
|
|
11273
|
+
/**
|
|
11274
|
+
* Gets the default type url for TrackingIdentifier
|
|
11275
|
+
* @function getTypeUrl
|
|
11276
|
+
* @memberof TrackingIdentifier
|
|
11277
|
+
* @static
|
|
11278
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
11279
|
+
* @returns {string} The default type url
|
|
11280
|
+
*/
|
|
11281
|
+
TrackingIdentifier.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
11282
|
+
if (typeUrlPrefix === undefined) {
|
|
11283
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
11284
|
+
}
|
|
11285
|
+
return typeUrlPrefix + "/TrackingIdentifier";
|
|
11286
|
+
};
|
|
11287
|
+
|
|
10514
11288
|
return TrackingIdentifier;
|
|
10515
11289
|
})();
|
|
10516
11290
|
|