core-3nweb-client-lib 0.27.4 → 0.27.6
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/build/api-defs/files.d.ts +40 -10
- package/build/core/asmail/delivery/per-recipient-wip.js +2 -2
- package/build/core/asmail/inbox/inbox-events.js +10 -5
- package/build/core/asmail/inbox/index.d.ts +3 -2
- package/build/core/asmail/inbox/index.js +14 -10
- package/build/core/asmail/inbox/msg-indexing.d.ts +17 -64
- package/build/core/asmail/inbox/msg-indexing.js +440 -311
- package/build/core/asmail/inbox/msg-on-disk.js +2 -1
- package/build/core/asmail/index.js +3 -2
- package/build/core/asmail/keyring/correspondent-keys.js +3 -1
- package/build/core/asmail/keyring/index.d.ts +1 -4
- package/build/core/asmail/keyring/index.js +6 -6
- package/build/core/asmail/msg/opener.js +4 -3
- package/build/core/asmail/msg/packer.d.ts +1 -0
- package/build/core/asmail/msg/packer.js +8 -4
- package/build/core/index.js +2 -3
- package/build/core/storage/local/obj-files.js +2 -1
- package/build/core/storage/synced/storage.js +3 -2
- package/build/core/storage/synced/upload-header-file.js +4 -2
- package/build/core/storage/synced/upsyncer.js +3 -5
- package/build/ipc-via-protobuf/asmail-cap.js +14 -15
- package/build/ipc-via-protobuf/bytes.js +42 -18
- package/build/ipc-via-protobuf/file.js +43 -39
- package/build/ipc-via-protobuf/fs.js +72 -67
- package/build/ipc-via-protobuf/mailerid.js +2 -2
- package/build/ipc-via-protobuf/protobuf-msg.d.ts +1 -0
- package/build/ipc-via-protobuf/protobuf-msg.js +5 -1
- package/build/ipc-via-protobuf/startup-cap.js +8 -8
- package/build/ipc-via-protobuf/storage-cap.js +4 -4
- package/build/ipc.d.ts +1 -0
- package/build/ipc.js +3 -1
- package/build/lib-client/3nstorage/xsp-fs/common.js +2 -0
- package/build/lib-client/3nstorage/xsp-fs/file-node.js +0 -17
- package/build/lib-client/3nstorage/xsp-fs/file.d.ts +1 -1
- package/build/lib-client/3nstorage/xsp-fs/folder-node.d.ts +1 -1
- package/build/lib-client/3nstorage/xsp-fs/folder-node.js +13 -7
- package/build/lib-client/3nstorage/xsp-fs/fs.d.ts +1 -1
- package/build/lib-client/3nstorage/xsp-fs/fs.js +1 -1
- package/build/lib-client/3nstorage/xsp-fs/node-in-fs.d.ts +2 -2
- package/build/lib-client/3nstorage/xsp-fs/node-in-fs.js +7 -3
- package/build/lib-client/3nstorage/xsp-fs/node-persistence.d.ts +1 -0
- package/build/lib-client/3nstorage/xsp-fs/node-persistence.js +7 -5
- package/build/lib-client/3nstorage/xsp-fs/xsp-payload-v1.js +3 -4
- package/build/lib-client/3nstorage/xsp-fs/xsp-payload-v2.js +20 -15
- package/build/lib-client/cryptor/cryptor-in-worker.js +37 -47
- package/build/lib-client/cryptor/cryptor-wasm.js +1 -1
- package/build/lib-client/cryptor/cryptor.wasm +0 -0
- package/build/lib-client/cryptor/in-proc-js.js +15 -12
- package/build/lib-client/cryptor/in-proc-wasm.js +11 -8
- package/build/lib-client/cryptor/serialization-for-wasm.d.ts +36 -0
- package/build/lib-client/cryptor/serialization-for-wasm.js +58 -0
- package/build/lib-client/cryptor-work-labels.d.ts +26 -0
- package/build/lib-client/cryptor-work-labels.js +152 -0
- package/build/lib-client/fs-sync-utils.d.ts +7 -1
- package/build/lib-client/fs-sync-utils.js +18 -7
- package/build/lib-client/local-files/dev-file-src.d.ts +2 -1
- package/build/lib-client/local-files/dev-file-src.js +5 -1
- package/build/lib-client/local-files/device-fs.js +2 -1
- package/build/lib-client/objs-on-disk/obj-on-disk.js +5 -1
- package/build/lib-client/request-utils.js +14 -14
- package/build/lib-common/async-cryptor-wrap.d.ts +9 -9
- package/build/lib-common/async-cryptor-wrap.js +13 -13
- package/build/lib-common/byte-streaming/pipe.d.ts +1 -1
- package/build/lib-common/byte-streaming/pipe.js +3 -3
- package/build/lib-common/byte-streaming/wrapping.js +4 -2
- package/build/lib-common/json-utils.js +0 -3
- package/build/lib-common/processes/synced.js +0 -184
- package/build/lib-sqlite-on-3nstorage/index.d.ts +32 -0
- package/build/lib-sqlite-on-3nstorage/index.js +117 -0
- package/build/lib-sqlite-on-3nstorage/sqljs.d.ts +279 -0
- package/build/lib-sqlite-on-3nstorage/sqljs.js +223 -0
- package/build/protos/asmail.proto.js +3748 -1121
- package/build/protos/bytes.proto.js +731 -204
- package/build/protos/common.proto.js +192 -44
- package/build/protos/cryptor.proto.js +184 -61
- package/build/protos/file.proto.js +1336 -324
- package/build/protos/fs.proto.js +3099 -846
- package/build/protos/ipc.proto.js +244 -61
- package/build/protos/logger.proto.js +219 -53
- package/build/protos/mailerid.proto.js +230 -50
- package/build/protos/startup.proto.js +341 -77
- package/build/protos/storage.proto.js +276 -62
- package/package.json +8 -7
- package/protos/bytes.proto +13 -4
- package/protos/file.proto +4 -1
- package/protos/fs.proto +4 -1
|
@@ -132,15 +132,18 @@ $root.logger = (function() {
|
|
|
132
132
|
while (reader.pos < end) {
|
|
133
133
|
var tag = reader.uint32();
|
|
134
134
|
switch (tag >>> 3) {
|
|
135
|
-
case 1:
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
135
|
+
case 1: {
|
|
136
|
+
message.logType = reader.string();
|
|
137
|
+
break;
|
|
138
|
+
}
|
|
139
|
+
case 2: {
|
|
140
|
+
message.msg = reader.string();
|
|
141
|
+
break;
|
|
142
|
+
}
|
|
143
|
+
case 3: {
|
|
144
|
+
message.err = $root.common.ErrorValue.decode(reader, reader.uint32());
|
|
145
|
+
break;
|
|
146
|
+
}
|
|
144
147
|
default:
|
|
145
148
|
reader.skipType(tag & 7);
|
|
146
149
|
break;
|
|
@@ -252,6 +255,21 @@ $root.logger = (function() {
|
|
|
252
255
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
253
256
|
};
|
|
254
257
|
|
|
258
|
+
/**
|
|
259
|
+
* Gets the default type url for LogRequestBody
|
|
260
|
+
* @function getTypeUrl
|
|
261
|
+
* @memberof logger.LogRequestBody
|
|
262
|
+
* @static
|
|
263
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
264
|
+
* @returns {string} The default type url
|
|
265
|
+
*/
|
|
266
|
+
LogRequestBody.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
267
|
+
if (typeUrlPrefix === undefined) {
|
|
268
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
269
|
+
}
|
|
270
|
+
return typeUrlPrefix + "/logger.LogRequestBody";
|
|
271
|
+
};
|
|
272
|
+
|
|
255
273
|
return LogRequestBody;
|
|
256
274
|
})();
|
|
257
275
|
|
|
@@ -372,14 +390,16 @@ $root.common = (function() {
|
|
|
372
390
|
while (reader.pos < end) {
|
|
373
391
|
var tag = reader.uint32();
|
|
374
392
|
switch (tag >>> 3) {
|
|
375
|
-
case 1:
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
message.path
|
|
381
|
-
|
|
382
|
-
|
|
393
|
+
case 1: {
|
|
394
|
+
message.objType = reader.string();
|
|
395
|
+
break;
|
|
396
|
+
}
|
|
397
|
+
case 2: {
|
|
398
|
+
if (!(message.path && message.path.length))
|
|
399
|
+
message.path = [];
|
|
400
|
+
message.path.push(reader.string());
|
|
401
|
+
break;
|
|
402
|
+
}
|
|
383
403
|
default:
|
|
384
404
|
reader.skipType(tag & 7);
|
|
385
405
|
break;
|
|
@@ -490,6 +510,21 @@ $root.common = (function() {
|
|
|
490
510
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
491
511
|
};
|
|
492
512
|
|
|
513
|
+
/**
|
|
514
|
+
* Gets the default type url for ObjectReference
|
|
515
|
+
* @function getTypeUrl
|
|
516
|
+
* @memberof common.ObjectReference
|
|
517
|
+
* @static
|
|
518
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
519
|
+
* @returns {string} The default type url
|
|
520
|
+
*/
|
|
521
|
+
ObjectReference.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
522
|
+
if (typeUrlPrefix === undefined) {
|
|
523
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
524
|
+
}
|
|
525
|
+
return typeUrlPrefix + "/common.ObjectReference";
|
|
526
|
+
};
|
|
527
|
+
|
|
493
528
|
return ObjectReference;
|
|
494
529
|
})();
|
|
495
530
|
|
|
@@ -585,9 +620,10 @@ $root.common = (function() {
|
|
|
585
620
|
while (reader.pos < end) {
|
|
586
621
|
var tag = reader.uint32();
|
|
587
622
|
switch (tag >>> 3) {
|
|
588
|
-
case 1:
|
|
589
|
-
|
|
590
|
-
|
|
623
|
+
case 1: {
|
|
624
|
+
message.value = reader.bool();
|
|
625
|
+
break;
|
|
626
|
+
}
|
|
591
627
|
default:
|
|
592
628
|
reader.skipType(tag & 7);
|
|
593
629
|
break;
|
|
@@ -677,6 +713,21 @@ $root.common = (function() {
|
|
|
677
713
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
678
714
|
};
|
|
679
715
|
|
|
716
|
+
/**
|
|
717
|
+
* Gets the default type url for BooleanValue
|
|
718
|
+
* @function getTypeUrl
|
|
719
|
+
* @memberof common.BooleanValue
|
|
720
|
+
* @static
|
|
721
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
722
|
+
* @returns {string} The default type url
|
|
723
|
+
*/
|
|
724
|
+
BooleanValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
725
|
+
if (typeUrlPrefix === undefined) {
|
|
726
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
727
|
+
}
|
|
728
|
+
return typeUrlPrefix + "/common.BooleanValue";
|
|
729
|
+
};
|
|
730
|
+
|
|
680
731
|
return BooleanValue;
|
|
681
732
|
})();
|
|
682
733
|
|
|
@@ -774,11 +825,12 @@ $root.common = (function() {
|
|
|
774
825
|
while (reader.pos < end) {
|
|
775
826
|
var tag = reader.uint32();
|
|
776
827
|
switch (tag >>> 3) {
|
|
777
|
-
case 1:
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
828
|
+
case 1: {
|
|
829
|
+
if (!(message.values && message.values.length))
|
|
830
|
+
message.values = [];
|
|
831
|
+
message.values.push(reader.string());
|
|
832
|
+
break;
|
|
833
|
+
}
|
|
782
834
|
default:
|
|
783
835
|
reader.skipType(tag & 7);
|
|
784
836
|
break;
|
|
@@ -880,6 +932,21 @@ $root.common = (function() {
|
|
|
880
932
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
881
933
|
};
|
|
882
934
|
|
|
935
|
+
/**
|
|
936
|
+
* Gets the default type url for StringArrayValue
|
|
937
|
+
* @function getTypeUrl
|
|
938
|
+
* @memberof common.StringArrayValue
|
|
939
|
+
* @static
|
|
940
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
941
|
+
* @returns {string} The default type url
|
|
942
|
+
*/
|
|
943
|
+
StringArrayValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
944
|
+
if (typeUrlPrefix === undefined) {
|
|
945
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
946
|
+
}
|
|
947
|
+
return typeUrlPrefix + "/common.StringArrayValue";
|
|
948
|
+
};
|
|
949
|
+
|
|
883
950
|
return StringArrayValue;
|
|
884
951
|
})();
|
|
885
952
|
|
|
@@ -975,9 +1042,10 @@ $root.common = (function() {
|
|
|
975
1042
|
while (reader.pos < end) {
|
|
976
1043
|
var tag = reader.uint32();
|
|
977
1044
|
switch (tag >>> 3) {
|
|
978
|
-
case 1:
|
|
979
|
-
|
|
980
|
-
|
|
1045
|
+
case 1: {
|
|
1046
|
+
message.value = reader.uint64();
|
|
1047
|
+
break;
|
|
1048
|
+
}
|
|
981
1049
|
default:
|
|
982
1050
|
reader.skipType(tag & 7);
|
|
983
1051
|
break;
|
|
@@ -1081,6 +1149,21 @@ $root.common = (function() {
|
|
|
1081
1149
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
1082
1150
|
};
|
|
1083
1151
|
|
|
1152
|
+
/**
|
|
1153
|
+
* Gets the default type url for UInt64Value
|
|
1154
|
+
* @function getTypeUrl
|
|
1155
|
+
* @memberof common.UInt64Value
|
|
1156
|
+
* @static
|
|
1157
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1158
|
+
* @returns {string} The default type url
|
|
1159
|
+
*/
|
|
1160
|
+
UInt64Value.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1161
|
+
if (typeUrlPrefix === undefined) {
|
|
1162
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
1163
|
+
}
|
|
1164
|
+
return typeUrlPrefix + "/common.UInt64Value";
|
|
1165
|
+
};
|
|
1166
|
+
|
|
1084
1167
|
return UInt64Value;
|
|
1085
1168
|
})();
|
|
1086
1169
|
|
|
@@ -1176,9 +1259,10 @@ $root.common = (function() {
|
|
|
1176
1259
|
while (reader.pos < end) {
|
|
1177
1260
|
var tag = reader.uint32();
|
|
1178
1261
|
switch (tag >>> 3) {
|
|
1179
|
-
case 1:
|
|
1180
|
-
|
|
1181
|
-
|
|
1262
|
+
case 1: {
|
|
1263
|
+
message.value = reader.uint32();
|
|
1264
|
+
break;
|
|
1265
|
+
}
|
|
1182
1266
|
default:
|
|
1183
1267
|
reader.skipType(tag & 7);
|
|
1184
1268
|
break;
|
|
@@ -1268,6 +1352,21 @@ $root.common = (function() {
|
|
|
1268
1352
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
1269
1353
|
};
|
|
1270
1354
|
|
|
1355
|
+
/**
|
|
1356
|
+
* Gets the default type url for UInt32Value
|
|
1357
|
+
* @function getTypeUrl
|
|
1358
|
+
* @memberof common.UInt32Value
|
|
1359
|
+
* @static
|
|
1360
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1361
|
+
* @returns {string} The default type url
|
|
1362
|
+
*/
|
|
1363
|
+
UInt32Value.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1364
|
+
if (typeUrlPrefix === undefined) {
|
|
1365
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
1366
|
+
}
|
|
1367
|
+
return typeUrlPrefix + "/common.UInt32Value";
|
|
1368
|
+
};
|
|
1369
|
+
|
|
1271
1370
|
return UInt32Value;
|
|
1272
1371
|
})();
|
|
1273
1372
|
|
|
@@ -1363,9 +1462,10 @@ $root.common = (function() {
|
|
|
1363
1462
|
while (reader.pos < end) {
|
|
1364
1463
|
var tag = reader.uint32();
|
|
1365
1464
|
switch (tag >>> 3) {
|
|
1366
|
-
case 1:
|
|
1367
|
-
|
|
1368
|
-
|
|
1465
|
+
case 1: {
|
|
1466
|
+
message.value = reader.string();
|
|
1467
|
+
break;
|
|
1468
|
+
}
|
|
1369
1469
|
default:
|
|
1370
1470
|
reader.skipType(tag & 7);
|
|
1371
1471
|
break;
|
|
@@ -1455,6 +1555,21 @@ $root.common = (function() {
|
|
|
1455
1555
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
1456
1556
|
};
|
|
1457
1557
|
|
|
1558
|
+
/**
|
|
1559
|
+
* Gets the default type url for StringValue
|
|
1560
|
+
* @function getTypeUrl
|
|
1561
|
+
* @memberof common.StringValue
|
|
1562
|
+
* @static
|
|
1563
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1564
|
+
* @returns {string} The default type url
|
|
1565
|
+
*/
|
|
1566
|
+
StringValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1567
|
+
if (typeUrlPrefix === undefined) {
|
|
1568
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
1569
|
+
}
|
|
1570
|
+
return typeUrlPrefix + "/common.StringValue";
|
|
1571
|
+
};
|
|
1572
|
+
|
|
1458
1573
|
return StringValue;
|
|
1459
1574
|
})();
|
|
1460
1575
|
|
|
@@ -1550,9 +1665,10 @@ $root.common = (function() {
|
|
|
1550
1665
|
while (reader.pos < end) {
|
|
1551
1666
|
var tag = reader.uint32();
|
|
1552
1667
|
switch (tag >>> 3) {
|
|
1553
|
-
case 1:
|
|
1554
|
-
|
|
1555
|
-
|
|
1668
|
+
case 1: {
|
|
1669
|
+
message.value = reader.bytes();
|
|
1670
|
+
break;
|
|
1671
|
+
}
|
|
1556
1672
|
default:
|
|
1557
1673
|
reader.skipType(tag & 7);
|
|
1558
1674
|
break;
|
|
@@ -1609,7 +1725,7 @@ $root.common = (function() {
|
|
|
1609
1725
|
if (object.value != null)
|
|
1610
1726
|
if (typeof object.value === "string")
|
|
1611
1727
|
$util.base64.decode(object.value, message.value = $util.newBuffer($util.base64.length(object.value)), 0);
|
|
1612
|
-
else if (object.value.length)
|
|
1728
|
+
else if (object.value.length >= 0)
|
|
1613
1729
|
message.value = object.value;
|
|
1614
1730
|
return message;
|
|
1615
1731
|
};
|
|
@@ -1651,6 +1767,21 @@ $root.common = (function() {
|
|
|
1651
1767
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
1652
1768
|
};
|
|
1653
1769
|
|
|
1770
|
+
/**
|
|
1771
|
+
* Gets the default type url for BytesValue
|
|
1772
|
+
* @function getTypeUrl
|
|
1773
|
+
* @memberof common.BytesValue
|
|
1774
|
+
* @static
|
|
1775
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1776
|
+
* @returns {string} The default type url
|
|
1777
|
+
*/
|
|
1778
|
+
BytesValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
1779
|
+
if (typeUrlPrefix === undefined) {
|
|
1780
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
1781
|
+
}
|
|
1782
|
+
return typeUrlPrefix + "/common.BytesValue";
|
|
1783
|
+
};
|
|
1784
|
+
|
|
1654
1785
|
return BytesValue;
|
|
1655
1786
|
})();
|
|
1656
1787
|
|
|
@@ -1757,12 +1888,14 @@ $root.common = (function() {
|
|
|
1757
1888
|
while (reader.pos < end) {
|
|
1758
1889
|
var tag = reader.uint32();
|
|
1759
1890
|
switch (tag >>> 3) {
|
|
1760
|
-
case 1:
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1891
|
+
case 1: {
|
|
1892
|
+
message.runtimeExcJson = reader.string();
|
|
1893
|
+
break;
|
|
1894
|
+
}
|
|
1895
|
+
case 2: {
|
|
1896
|
+
message.err = reader.string();
|
|
1897
|
+
break;
|
|
1898
|
+
}
|
|
1766
1899
|
default:
|
|
1767
1900
|
reader.skipType(tag & 7);
|
|
1768
1901
|
break;
|
|
@@ -1861,6 +1994,21 @@ $root.common = (function() {
|
|
|
1861
1994
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
1862
1995
|
};
|
|
1863
1996
|
|
|
1997
|
+
/**
|
|
1998
|
+
* Gets the default type url for ErrorValue
|
|
1999
|
+
* @function getTypeUrl
|
|
2000
|
+
* @memberof common.ErrorValue
|
|
2001
|
+
* @static
|
|
2002
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2003
|
+
* @returns {string} The default type url
|
|
2004
|
+
*/
|
|
2005
|
+
ErrorValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
2006
|
+
if (typeUrlPrefix === undefined) {
|
|
2007
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
2008
|
+
}
|
|
2009
|
+
return typeUrlPrefix + "/common.ErrorValue";
|
|
2010
|
+
};
|
|
2011
|
+
|
|
1864
2012
|
return ErrorValue;
|
|
1865
2013
|
})();
|
|
1866
2014
|
|
|
@@ -1978,15 +2126,18 @@ $root.common = (function() {
|
|
|
1978
2126
|
while (reader.pos < end) {
|
|
1979
2127
|
var tag = reader.uint32();
|
|
1980
2128
|
switch (tag >>> 3) {
|
|
1981
|
-
case 1:
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
2129
|
+
case 1: {
|
|
2130
|
+
message.type = reader.string();
|
|
2131
|
+
break;
|
|
2132
|
+
}
|
|
2133
|
+
case 2: {
|
|
2134
|
+
message.json = $root.common.StringValue.decode(reader, reader.uint32());
|
|
2135
|
+
break;
|
|
2136
|
+
}
|
|
2137
|
+
case 3: {
|
|
2138
|
+
message.bytes = $root.common.BytesValue.decode(reader, reader.uint32());
|
|
2139
|
+
break;
|
|
2140
|
+
}
|
|
1990
2141
|
default:
|
|
1991
2142
|
reader.skipType(tag & 7);
|
|
1992
2143
|
break;
|
|
@@ -2103,6 +2254,21 @@ $root.common = (function() {
|
|
|
2103
2254
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
2104
2255
|
};
|
|
2105
2256
|
|
|
2257
|
+
/**
|
|
2258
|
+
* Gets the default type url for AnyValue
|
|
2259
|
+
* @function getTypeUrl
|
|
2260
|
+
* @memberof common.AnyValue
|
|
2261
|
+
* @static
|
|
2262
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2263
|
+
* @returns {string} The default type url
|
|
2264
|
+
*/
|
|
2265
|
+
AnyValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
2266
|
+
if (typeUrlPrefix === undefined) {
|
|
2267
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
2268
|
+
}
|
|
2269
|
+
return typeUrlPrefix + "/common.AnyValue";
|
|
2270
|
+
};
|
|
2271
|
+
|
|
2106
2272
|
return AnyValue;
|
|
2107
2273
|
})();
|
|
2108
2274
|
|