@replit/protocol 0.2.46 → 0.2.49
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/main/index.d.ts +301 -13
- package/main/index.js +734 -47
- package/main/index.js.flow +416 -21
- package/package.json +1 -1
package/main/index.js
CHANGED
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
* @property {api.CloseChannelRes|api.ICloseChannelRes|null} [closeChanRes] Command closeChanRes
|
|
40
40
|
* @property {api.ContainerState|api.IContainerState|null} [containerState] Command containerState
|
|
41
41
|
* @property {api.PortOpen|api.IPortOpen|null} [portOpen] Command portOpen
|
|
42
|
+
* @property {api.PortClose|api.IPortClose|null} [portClose] Command portClose
|
|
42
43
|
* @property {api.Toast|api.IToast|null} [toast] Command toast
|
|
43
44
|
* @property {api.ProtocolError|api.IProtocolError|null} [protocolError] Command protocolError
|
|
44
45
|
* @property {api.Redirect|api.IRedirect|null} [redirect] Command redirect
|
|
@@ -87,6 +88,7 @@
|
|
|
87
88
|
* @property {api.Pong|api.IPong|null} [pong] Command pong
|
|
88
89
|
* @property {api.Hello|api.IHello|null} [hello] Command hello
|
|
89
90
|
* @property {api.Goodbye|api.IGoodbye|null} [goodbye] Command goodbye
|
|
91
|
+
* @property {api.ProxyGoingAway|api.IProxyGoingAway|null} [proxyGoingAway] Command proxyGoingAway
|
|
90
92
|
* @property {api.Hint|api.IHint|null} [hint] Command hint
|
|
91
93
|
* @property {api.Connect|api.IConnect|null} [connect] Command connect
|
|
92
94
|
* @property {api.Send|api.ISend|null} [send] Command send
|
|
@@ -177,7 +179,9 @@
|
|
|
177
179
|
* @property {api.RunConfigGetRequest|api.IRunConfigGetRequest|null} [runConfigGetRequest] Command runConfigGetRequest
|
|
178
180
|
* @property {api.RunConfigGetResponse|api.IRunConfigGetResponse|null} [runConfigGetResponse] Command runConfigGetResponse
|
|
179
181
|
* @property {api.StartLSP|api.IStartLSP|null} [startLSP] Command startLSP
|
|
182
|
+
* @property {api.FirewallDenied|api.IFirewallDenied|null} [firewallDenied] Command firewallDenied
|
|
180
183
|
* @property {string|null} [ref] Command ref
|
|
184
|
+
* @property {Object.<string,string>|null} [traceInfo] Command traceInfo
|
|
181
185
|
*/
|
|
182
186
|
|
|
183
187
|
/**
|
|
@@ -188,6 +192,7 @@
|
|
|
188
192
|
* @param {api.ICommand=} [properties] Properties to set
|
|
189
193
|
*/
|
|
190
194
|
function Command(properties) {
|
|
195
|
+
this.traceInfo = {};
|
|
191
196
|
if (properties)
|
|
192
197
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
193
198
|
if (properties[keys[i]] != null)
|
|
@@ -258,6 +263,14 @@
|
|
|
258
263
|
*/
|
|
259
264
|
Command.prototype.portOpen = null;
|
|
260
265
|
|
|
266
|
+
/**
|
|
267
|
+
* Command portClose.
|
|
268
|
+
* @member {api.PortClose|null|undefined} portClose
|
|
269
|
+
* @memberof api.Command
|
|
270
|
+
* @instance
|
|
271
|
+
*/
|
|
272
|
+
Command.prototype.portClose = null;
|
|
273
|
+
|
|
261
274
|
/**
|
|
262
275
|
* Command toast.
|
|
263
276
|
* @member {api.Toast|null|undefined} toast
|
|
@@ -642,6 +655,14 @@
|
|
|
642
655
|
*/
|
|
643
656
|
Command.prototype.goodbye = null;
|
|
644
657
|
|
|
658
|
+
/**
|
|
659
|
+
* Command proxyGoingAway.
|
|
660
|
+
* @member {api.ProxyGoingAway|null|undefined} proxyGoingAway
|
|
661
|
+
* @memberof api.Command
|
|
662
|
+
* @instance
|
|
663
|
+
*/
|
|
664
|
+
Command.prototype.proxyGoingAway = null;
|
|
665
|
+
|
|
645
666
|
/**
|
|
646
667
|
* Command hint.
|
|
647
668
|
* @member {api.Hint|null|undefined} hint
|
|
@@ -1362,6 +1383,14 @@
|
|
|
1362
1383
|
*/
|
|
1363
1384
|
Command.prototype.startLSP = null;
|
|
1364
1385
|
|
|
1386
|
+
/**
|
|
1387
|
+
* Command firewallDenied.
|
|
1388
|
+
* @member {api.FirewallDenied|null|undefined} firewallDenied
|
|
1389
|
+
* @memberof api.Command
|
|
1390
|
+
* @instance
|
|
1391
|
+
*/
|
|
1392
|
+
Command.prototype.firewallDenied = null;
|
|
1393
|
+
|
|
1365
1394
|
/**
|
|
1366
1395
|
* Command ref.
|
|
1367
1396
|
* @member {string} ref
|
|
@@ -1370,17 +1399,25 @@
|
|
|
1370
1399
|
*/
|
|
1371
1400
|
Command.prototype.ref = "";
|
|
1372
1401
|
|
|
1402
|
+
/**
|
|
1403
|
+
* Command traceInfo.
|
|
1404
|
+
* @member {Object.<string,string>} traceInfo
|
|
1405
|
+
* @memberof api.Command
|
|
1406
|
+
* @instance
|
|
1407
|
+
*/
|
|
1408
|
+
Command.prototype.traceInfo = $util.emptyObject;
|
|
1409
|
+
|
|
1373
1410
|
// OneOf field names bound to virtual getters and setters
|
|
1374
1411
|
var $oneOfFields;
|
|
1375
1412
|
|
|
1376
1413
|
/**
|
|
1377
1414
|
* Command body.
|
|
1378
|
-
* @member {"openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"startLSP"|undefined} body
|
|
1415
|
+
* @member {"openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"startLSP"|"firewallDenied"|undefined} body
|
|
1379
1416
|
* @memberof api.Command
|
|
1380
1417
|
* @instance
|
|
1381
1418
|
*/
|
|
1382
1419
|
Object.defineProperty(Command.prototype, "body", {
|
|
1383
|
-
get: $util.oneOfGetter($oneOfFields = ["openChan", "openChanRes", "closeChan", "closeChanRes", "containerState", "portOpen", "toast", "protocolError", "redirect", "alwaysOn", "runMain", "clear", "eval", "result", "input", "output", "error", "stderr", "log", "saneTerm", "resizeTerm", "state", "ok", "persist", "persistMirror", "write", "remove", "move", "tryRemove", "mkdir", "stat", "statRes", "transferStart", "transferChunk", "transferComplete", "transferCancel", "transfer", "read", "readdir", "files", "file", "checkChanges", "changedFiles", "lintResults", "runContainedTest", "testResult", "debuggerStart", "debuggerStep", "debuggerStatus", "ensurePackages", "ping", "pong", "hello", "goodbye", "hint", "connect", "send", "recv", "disconnect", "fileAuthReq", "fileAuthRes", "mutliFileAuthRes", "listObjects", "listObjectsResp", "ot", "otstatus", "otLinkFile", "otLinkFileResponse", "otNewCursor", "otDeleteCursor", "otFetchRequest", "otFetchResponse", "otTransformSelectionRequest", "otTransformSelectionResponse", "flush", "debug", "startVCR", "readVCR", "VCRLog", "auth", "execInfo", "subscribeFile", "fileEvent", "roster", "join", "part", "openFile", "fileOpened", "followUser", "unfollowUser", "updateSessionTimestamp", "sessionTimestampUpdated", "exec", "packageSearch", "packageSearchResp", "packageInfo", "packageInfoResp", "packageAdd", "packageRemove", "packageInstall", "packageListSpecfile", "packageListSpecfileResp", "packageCacheSave", "chatMessage", "chatTyping", "chatScrollback", "fsSnapshot", "fsSnapshotEvent", "fsTakeLock", "fsReleaseLock", "hasCap", "snapshotEvent", "NoninteractiveFSChangeEvent", "pid1Config", "metrics", "bootStatus", "readMetaRequest", "readMetaResponse", "writeMetaRequest", "writeMetaResponse", "appendMetaRequest", "appendMetaResponse", "audio", "pprofRequest", "pprofResponse", "audio2", "PTYConfig", "debugMain", "debugState", "debugMainReply", "debugInput", "debugOutput", "debugStop", "debugLeave", "debugSessions", "debugAddBreakpointRequest", "debugUpdateBreakpointRequest", "debugRemoveBreakpointRequest", "debugBreakpointEvent", "dotReplitGetRequest", "dotReplitGetResponse", "runConfigGetRequest", "runConfigGetResponse", "startLSP"]),
|
|
1420
|
+
get: $util.oneOfGetter($oneOfFields = ["openChan", "openChanRes", "closeChan", "closeChanRes", "containerState", "portOpen", "portClose", "toast", "protocolError", "redirect", "alwaysOn", "runMain", "clear", "eval", "result", "input", "output", "error", "stderr", "log", "saneTerm", "resizeTerm", "state", "ok", "persist", "persistMirror", "write", "remove", "move", "tryRemove", "mkdir", "stat", "statRes", "transferStart", "transferChunk", "transferComplete", "transferCancel", "transfer", "read", "readdir", "files", "file", "checkChanges", "changedFiles", "lintResults", "runContainedTest", "testResult", "debuggerStart", "debuggerStep", "debuggerStatus", "ensurePackages", "ping", "pong", "hello", "goodbye", "proxyGoingAway", "hint", "connect", "send", "recv", "disconnect", "fileAuthReq", "fileAuthRes", "mutliFileAuthRes", "listObjects", "listObjectsResp", "ot", "otstatus", "otLinkFile", "otLinkFileResponse", "otNewCursor", "otDeleteCursor", "otFetchRequest", "otFetchResponse", "otTransformSelectionRequest", "otTransformSelectionResponse", "flush", "debug", "startVCR", "readVCR", "VCRLog", "auth", "execInfo", "subscribeFile", "fileEvent", "roster", "join", "part", "openFile", "fileOpened", "followUser", "unfollowUser", "updateSessionTimestamp", "sessionTimestampUpdated", "exec", "packageSearch", "packageSearchResp", "packageInfo", "packageInfoResp", "packageAdd", "packageRemove", "packageInstall", "packageListSpecfile", "packageListSpecfileResp", "packageCacheSave", "chatMessage", "chatTyping", "chatScrollback", "fsSnapshot", "fsSnapshotEvent", "fsTakeLock", "fsReleaseLock", "hasCap", "snapshotEvent", "NoninteractiveFSChangeEvent", "pid1Config", "metrics", "bootStatus", "readMetaRequest", "readMetaResponse", "writeMetaRequest", "writeMetaResponse", "appendMetaRequest", "appendMetaResponse", "audio", "pprofRequest", "pprofResponse", "audio2", "PTYConfig", "debugMain", "debugState", "debugMainReply", "debugInput", "debugOutput", "debugStop", "debugLeave", "debugSessions", "debugAddBreakpointRequest", "debugUpdateBreakpointRequest", "debugRemoveBreakpointRequest", "debugBreakpointEvent", "dotReplitGetRequest", "dotReplitGetResponse", "runConfigGetRequest", "runConfigGetResponse", "startLSP", "firewallDenied"]),
|
|
1384
1421
|
set: $util.oneOfSetter($oneOfFields)
|
|
1385
1422
|
});
|
|
1386
1423
|
|
|
@@ -1486,6 +1523,8 @@
|
|
|
1486
1523
|
writer.uint32(/* id 46, wireType 2 =*/370).string(message.stderr);
|
|
1487
1524
|
if (message.log != null && Object.hasOwnProperty.call(message, "log"))
|
|
1488
1525
|
writer.uint32(/* id 47, wireType 2 =*/378).string(message.log);
|
|
1526
|
+
if (message.portClose != null && Object.hasOwnProperty.call(message, "portClose"))
|
|
1527
|
+
$root.api.PortClose.encode(message.portClose, writer.uint32(/* id 48, wireType 2 =*/386).fork()).ldelim();
|
|
1489
1528
|
if (message.runContainedTest != null && Object.hasOwnProperty.call(message, "runContainedTest"))
|
|
1490
1529
|
$root.api.ContainedTest.encode(message.runContainedTest, writer.uint32(/* id 70, wireType 2 =*/562).fork()).ldelim();
|
|
1491
1530
|
if (message.testResult != null && Object.hasOwnProperty.call(message, "testResult"))
|
|
@@ -1506,6 +1545,8 @@
|
|
|
1506
1545
|
$root.api.Hello.encode(message.hello, writer.uint32(/* id 122, wireType 2 =*/978).fork()).ldelim();
|
|
1507
1546
|
if (message.goodbye != null && Object.hasOwnProperty.call(message, "goodbye"))
|
|
1508
1547
|
$root.api.Goodbye.encode(message.goodbye, writer.uint32(/* id 123, wireType 2 =*/986).fork()).ldelim();
|
|
1548
|
+
if (message.proxyGoingAway != null && Object.hasOwnProperty.call(message, "proxyGoingAway"))
|
|
1549
|
+
$root.api.ProxyGoingAway.encode(message.proxyGoingAway, writer.uint32(/* id 124, wireType 2 =*/994).fork()).ldelim();
|
|
1509
1550
|
if (message.hint != null && Object.hasOwnProperty.call(message, "hint"))
|
|
1510
1551
|
$root.api.Hint.encode(message.hint, writer.uint32(/* id 130, wireType 2 =*/1042).fork()).ldelim();
|
|
1511
1552
|
if (message.connect != null && Object.hasOwnProperty.call(message, "connect"))
|
|
@@ -1700,8 +1741,13 @@
|
|
|
1700
1741
|
$root.api.RunConfigGetResponse.encode(message.runConfigGetResponse, writer.uint32(/* id 391, wireType 2 =*/3130).fork()).ldelim();
|
|
1701
1742
|
if (message.NoninteractiveFSChangeEvent != null && Object.hasOwnProperty.call(message, "NoninteractiveFSChangeEvent"))
|
|
1702
1743
|
writer.uint32(/* id 392, wireType 0 =*/3136).bool(message.NoninteractiveFSChangeEvent);
|
|
1744
|
+
if (message.firewallDenied != null && Object.hasOwnProperty.call(message, "firewallDenied"))
|
|
1745
|
+
$root.api.FirewallDenied.encode(message.firewallDenied, writer.uint32(/* id 393, wireType 2 =*/3146).fork()).ldelim();
|
|
1703
1746
|
if (message.ref != null && Object.hasOwnProperty.call(message, "ref"))
|
|
1704
1747
|
writer.uint32(/* id 1000, wireType 2 =*/8002).string(message.ref);
|
|
1748
|
+
if (message.traceInfo != null && Object.hasOwnProperty.call(message, "traceInfo"))
|
|
1749
|
+
for (var keys = Object.keys(message.traceInfo), i = 0; i < keys.length; ++i)
|
|
1750
|
+
writer.uint32(/* id 1001, wireType 2 =*/8010).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.traceInfo[keys[i]]).ldelim();
|
|
1705
1751
|
return writer;
|
|
1706
1752
|
};
|
|
1707
1753
|
|
|
@@ -1732,7 +1778,7 @@
|
|
|
1732
1778
|
Command.decode = function decode(reader, length) {
|
|
1733
1779
|
if (!(reader instanceof $Reader))
|
|
1734
1780
|
reader = $Reader.create(reader);
|
|
1735
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.Command();
|
|
1781
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.Command(), key, value;
|
|
1736
1782
|
while (reader.pos < end) {
|
|
1737
1783
|
var tag = reader.uint32();
|
|
1738
1784
|
switch (tag >>> 3) {
|
|
@@ -1760,6 +1806,9 @@
|
|
|
1760
1806
|
case 10:
|
|
1761
1807
|
message.portOpen = $root.api.PortOpen.decode(reader, reader.uint32());
|
|
1762
1808
|
break;
|
|
1809
|
+
case 48:
|
|
1810
|
+
message.portClose = $root.api.PortClose.decode(reader, reader.uint32());
|
|
1811
|
+
break;
|
|
1763
1812
|
case 11:
|
|
1764
1813
|
message.toast = $root.api.Toast.decode(reader, reader.uint32());
|
|
1765
1814
|
break;
|
|
@@ -1904,6 +1953,9 @@
|
|
|
1904
1953
|
case 123:
|
|
1905
1954
|
message.goodbye = $root.api.Goodbye.decode(reader, reader.uint32());
|
|
1906
1955
|
break;
|
|
1956
|
+
case 124:
|
|
1957
|
+
message.proxyGoingAway = $root.api.ProxyGoingAway.decode(reader, reader.uint32());
|
|
1958
|
+
break;
|
|
1907
1959
|
case 130:
|
|
1908
1960
|
message.hint = $root.api.Hint.decode(reader, reader.uint32());
|
|
1909
1961
|
break;
|
|
@@ -2174,9 +2226,34 @@
|
|
|
2174
2226
|
case 345:
|
|
2175
2227
|
message.startLSP = $root.api.StartLSP.decode(reader, reader.uint32());
|
|
2176
2228
|
break;
|
|
2229
|
+
case 393:
|
|
2230
|
+
message.firewallDenied = $root.api.FirewallDenied.decode(reader, reader.uint32());
|
|
2231
|
+
break;
|
|
2177
2232
|
case 1000:
|
|
2178
2233
|
message.ref = reader.string();
|
|
2179
2234
|
break;
|
|
2235
|
+
case 1001:
|
|
2236
|
+
if (message.traceInfo === $util.emptyObject)
|
|
2237
|
+
message.traceInfo = {};
|
|
2238
|
+
var end2 = reader.uint32() + reader.pos;
|
|
2239
|
+
key = "";
|
|
2240
|
+
value = "";
|
|
2241
|
+
while (reader.pos < end2) {
|
|
2242
|
+
var tag2 = reader.uint32();
|
|
2243
|
+
switch (tag2 >>> 3) {
|
|
2244
|
+
case 1:
|
|
2245
|
+
key = reader.string();
|
|
2246
|
+
break;
|
|
2247
|
+
case 2:
|
|
2248
|
+
value = reader.string();
|
|
2249
|
+
break;
|
|
2250
|
+
default:
|
|
2251
|
+
reader.skipType(tag2 & 7);
|
|
2252
|
+
break;
|
|
2253
|
+
}
|
|
2254
|
+
}
|
|
2255
|
+
message.traceInfo[key] = value;
|
|
2256
|
+
break;
|
|
2180
2257
|
default:
|
|
2181
2258
|
reader.skipType(tag & 7);
|
|
2182
2259
|
break;
|
|
@@ -2277,6 +2354,16 @@
|
|
|
2277
2354
|
return "portOpen." + error;
|
|
2278
2355
|
}
|
|
2279
2356
|
}
|
|
2357
|
+
if (message.portClose != null && message.hasOwnProperty("portClose")) {
|
|
2358
|
+
if (properties.body === 1)
|
|
2359
|
+
return "body: multiple values";
|
|
2360
|
+
properties.body = 1;
|
|
2361
|
+
{
|
|
2362
|
+
var error = $root.api.PortClose.verify(message.portClose);
|
|
2363
|
+
if (error)
|
|
2364
|
+
return "portClose." + error;
|
|
2365
|
+
}
|
|
2366
|
+
}
|
|
2280
2367
|
if (message.toast != null && message.hasOwnProperty("toast")) {
|
|
2281
2368
|
if (properties.body === 1)
|
|
2282
2369
|
return "body: multiple values";
|
|
@@ -2735,6 +2822,16 @@
|
|
|
2735
2822
|
return "goodbye." + error;
|
|
2736
2823
|
}
|
|
2737
2824
|
}
|
|
2825
|
+
if (message.proxyGoingAway != null && message.hasOwnProperty("proxyGoingAway")) {
|
|
2826
|
+
if (properties.body === 1)
|
|
2827
|
+
return "body: multiple values";
|
|
2828
|
+
properties.body = 1;
|
|
2829
|
+
{
|
|
2830
|
+
var error = $root.api.ProxyGoingAway.verify(message.proxyGoingAway);
|
|
2831
|
+
if (error)
|
|
2832
|
+
return "proxyGoingAway." + error;
|
|
2833
|
+
}
|
|
2834
|
+
}
|
|
2738
2835
|
if (message.hint != null && message.hasOwnProperty("hint")) {
|
|
2739
2836
|
if (properties.body === 1)
|
|
2740
2837
|
return "body: multiple values";
|
|
@@ -3629,9 +3726,27 @@
|
|
|
3629
3726
|
return "startLSP." + error;
|
|
3630
3727
|
}
|
|
3631
3728
|
}
|
|
3729
|
+
if (message.firewallDenied != null && message.hasOwnProperty("firewallDenied")) {
|
|
3730
|
+
if (properties.body === 1)
|
|
3731
|
+
return "body: multiple values";
|
|
3732
|
+
properties.body = 1;
|
|
3733
|
+
{
|
|
3734
|
+
var error = $root.api.FirewallDenied.verify(message.firewallDenied);
|
|
3735
|
+
if (error)
|
|
3736
|
+
return "firewallDenied." + error;
|
|
3737
|
+
}
|
|
3738
|
+
}
|
|
3632
3739
|
if (message.ref != null && message.hasOwnProperty("ref"))
|
|
3633
3740
|
if (!$util.isString(message.ref))
|
|
3634
3741
|
return "ref: string expected";
|
|
3742
|
+
if (message.traceInfo != null && message.hasOwnProperty("traceInfo")) {
|
|
3743
|
+
if (!$util.isObject(message.traceInfo))
|
|
3744
|
+
return "traceInfo: object expected";
|
|
3745
|
+
var key = Object.keys(message.traceInfo);
|
|
3746
|
+
for (var i = 0; i < key.length; ++i)
|
|
3747
|
+
if (!$util.isString(message.traceInfo[key[i]]))
|
|
3748
|
+
return "traceInfo: string{k:string} expected";
|
|
3749
|
+
}
|
|
3635
3750
|
return null;
|
|
3636
3751
|
};
|
|
3637
3752
|
|
|
@@ -3681,6 +3796,11 @@
|
|
|
3681
3796
|
throw TypeError(".api.Command.portOpen: object expected");
|
|
3682
3797
|
message.portOpen = $root.api.PortOpen.fromObject(object.portOpen);
|
|
3683
3798
|
}
|
|
3799
|
+
if (object.portClose != null) {
|
|
3800
|
+
if (typeof object.portClose !== "object")
|
|
3801
|
+
throw TypeError(".api.Command.portClose: object expected");
|
|
3802
|
+
message.portClose = $root.api.PortClose.fromObject(object.portClose);
|
|
3803
|
+
}
|
|
3684
3804
|
if (object.toast != null) {
|
|
3685
3805
|
if (typeof object.toast !== "object")
|
|
3686
3806
|
throw TypeError(".api.Command.toast: object expected");
|
|
@@ -3902,6 +4022,11 @@
|
|
|
3902
4022
|
throw TypeError(".api.Command.goodbye: object expected");
|
|
3903
4023
|
message.goodbye = $root.api.Goodbye.fromObject(object.goodbye);
|
|
3904
4024
|
}
|
|
4025
|
+
if (object.proxyGoingAway != null) {
|
|
4026
|
+
if (typeof object.proxyGoingAway !== "object")
|
|
4027
|
+
throw TypeError(".api.Command.proxyGoingAway: object expected");
|
|
4028
|
+
message.proxyGoingAway = $root.api.ProxyGoingAway.fromObject(object.proxyGoingAway);
|
|
4029
|
+
}
|
|
3905
4030
|
if (object.hint != null) {
|
|
3906
4031
|
if (typeof object.hint !== "object")
|
|
3907
4032
|
throw TypeError(".api.Command.hint: object expected");
|
|
@@ -4346,8 +4471,20 @@
|
|
|
4346
4471
|
throw TypeError(".api.Command.startLSP: object expected");
|
|
4347
4472
|
message.startLSP = $root.api.StartLSP.fromObject(object.startLSP);
|
|
4348
4473
|
}
|
|
4474
|
+
if (object.firewallDenied != null) {
|
|
4475
|
+
if (typeof object.firewallDenied !== "object")
|
|
4476
|
+
throw TypeError(".api.Command.firewallDenied: object expected");
|
|
4477
|
+
message.firewallDenied = $root.api.FirewallDenied.fromObject(object.firewallDenied);
|
|
4478
|
+
}
|
|
4349
4479
|
if (object.ref != null)
|
|
4350
4480
|
message.ref = String(object.ref);
|
|
4481
|
+
if (object.traceInfo) {
|
|
4482
|
+
if (typeof object.traceInfo !== "object")
|
|
4483
|
+
throw TypeError(".api.Command.traceInfo: object expected");
|
|
4484
|
+
message.traceInfo = {};
|
|
4485
|
+
for (var keys = Object.keys(object.traceInfo), i = 0; i < keys.length; ++i)
|
|
4486
|
+
message.traceInfo[keys[i]] = String(object.traceInfo[keys[i]]);
|
|
4487
|
+
}
|
|
4351
4488
|
return message;
|
|
4352
4489
|
};
|
|
4353
4490
|
|
|
@@ -4364,6 +4501,8 @@
|
|
|
4364
4501
|
if (!options)
|
|
4365
4502
|
options = {};
|
|
4366
4503
|
var object = {};
|
|
4504
|
+
if (options.objects || options.defaults)
|
|
4505
|
+
object.traceInfo = {};
|
|
4367
4506
|
if (options.defaults) {
|
|
4368
4507
|
object.channel = 0;
|
|
4369
4508
|
object.session = 0;
|
|
@@ -4558,6 +4697,11 @@
|
|
|
4558
4697
|
if (options.oneofs)
|
|
4559
4698
|
object.body = "log";
|
|
4560
4699
|
}
|
|
4700
|
+
if (message.portClose != null && message.hasOwnProperty("portClose")) {
|
|
4701
|
+
object.portClose = $root.api.PortClose.toObject(message.portClose, options);
|
|
4702
|
+
if (options.oneofs)
|
|
4703
|
+
object.body = "portClose";
|
|
4704
|
+
}
|
|
4561
4705
|
if (message.runContainedTest != null && message.hasOwnProperty("runContainedTest")) {
|
|
4562
4706
|
object.runContainedTest = $root.api.ContainedTest.toObject(message.runContainedTest, options);
|
|
4563
4707
|
if (options.oneofs)
|
|
@@ -4608,6 +4752,11 @@
|
|
|
4608
4752
|
if (options.oneofs)
|
|
4609
4753
|
object.body = "goodbye";
|
|
4610
4754
|
}
|
|
4755
|
+
if (message.proxyGoingAway != null && message.hasOwnProperty("proxyGoingAway")) {
|
|
4756
|
+
object.proxyGoingAway = $root.api.ProxyGoingAway.toObject(message.proxyGoingAway, options);
|
|
4757
|
+
if (options.oneofs)
|
|
4758
|
+
object.body = "proxyGoingAway";
|
|
4759
|
+
}
|
|
4611
4760
|
if (message.hint != null && message.hasOwnProperty("hint")) {
|
|
4612
4761
|
object.hint = $root.api.Hint.toObject(message.hint, options);
|
|
4613
4762
|
if (options.oneofs)
|
|
@@ -5093,8 +5242,19 @@
|
|
|
5093
5242
|
if (options.oneofs)
|
|
5094
5243
|
object.body = "NoninteractiveFSChangeEvent";
|
|
5095
5244
|
}
|
|
5245
|
+
if (message.firewallDenied != null && message.hasOwnProperty("firewallDenied")) {
|
|
5246
|
+
object.firewallDenied = $root.api.FirewallDenied.toObject(message.firewallDenied, options);
|
|
5247
|
+
if (options.oneofs)
|
|
5248
|
+
object.body = "firewallDenied";
|
|
5249
|
+
}
|
|
5096
5250
|
if (message.ref != null && message.hasOwnProperty("ref"))
|
|
5097
5251
|
object.ref = message.ref;
|
|
5252
|
+
var keys2;
|
|
5253
|
+
if (message.traceInfo && (keys2 = Object.keys(message.traceInfo)).length) {
|
|
5254
|
+
object.traceInfo = {};
|
|
5255
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
5256
|
+
object.traceInfo[keys2[j]] = message.traceInfo[keys2[j]];
|
|
5257
|
+
}
|
|
5098
5258
|
return object;
|
|
5099
5259
|
};
|
|
5100
5260
|
|
|
@@ -21484,6 +21644,215 @@
|
|
|
21484
21644
|
return PortOpen;
|
|
21485
21645
|
})();
|
|
21486
21646
|
|
|
21647
|
+
api.PortClose = (function() {
|
|
21648
|
+
|
|
21649
|
+
/**
|
|
21650
|
+
* Properties of a PortClose.
|
|
21651
|
+
* @memberof api
|
|
21652
|
+
* @interface IPortClose
|
|
21653
|
+
* @property {number|null} [port] PortClose port
|
|
21654
|
+
* @property {string|null} [address] PortClose address
|
|
21655
|
+
*/
|
|
21656
|
+
|
|
21657
|
+
/**
|
|
21658
|
+
* Constructs a new PortClose.
|
|
21659
|
+
* @memberof api
|
|
21660
|
+
* @classdesc Represents a PortClose.
|
|
21661
|
+
* @constructor
|
|
21662
|
+
* @param {api.IPortClose=} [properties] Properties to set
|
|
21663
|
+
*/
|
|
21664
|
+
function PortClose(properties) {
|
|
21665
|
+
if (properties)
|
|
21666
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
21667
|
+
if (properties[keys[i]] != null)
|
|
21668
|
+
this[keys[i]] = properties[keys[i]];
|
|
21669
|
+
}
|
|
21670
|
+
|
|
21671
|
+
/**
|
|
21672
|
+
* PortClose port.
|
|
21673
|
+
* @member {number} port
|
|
21674
|
+
* @memberof api.PortClose
|
|
21675
|
+
* @instance
|
|
21676
|
+
*/
|
|
21677
|
+
PortClose.prototype.port = 0;
|
|
21678
|
+
|
|
21679
|
+
/**
|
|
21680
|
+
* PortClose address.
|
|
21681
|
+
* @member {string} address
|
|
21682
|
+
* @memberof api.PortClose
|
|
21683
|
+
* @instance
|
|
21684
|
+
*/
|
|
21685
|
+
PortClose.prototype.address = "";
|
|
21686
|
+
|
|
21687
|
+
/**
|
|
21688
|
+
* Creates a new PortClose instance using the specified properties.
|
|
21689
|
+
* @function create
|
|
21690
|
+
* @memberof api.PortClose
|
|
21691
|
+
* @static
|
|
21692
|
+
* @param {api.IPortClose=} [properties] Properties to set
|
|
21693
|
+
* @returns {api.PortClose} PortClose instance
|
|
21694
|
+
*/
|
|
21695
|
+
PortClose.create = function create(properties) {
|
|
21696
|
+
return PortClose.fromObject(properties);
|
|
21697
|
+
};
|
|
21698
|
+
|
|
21699
|
+
/**
|
|
21700
|
+
* Encodes the specified PortClose message. Does not implicitly {@link api.PortClose.verify|verify} messages.
|
|
21701
|
+
* @function encode
|
|
21702
|
+
* @memberof api.PortClose
|
|
21703
|
+
* @static
|
|
21704
|
+
* @param {api.PortClose} message PortClose message or plain object to encode
|
|
21705
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
21706
|
+
* @returns {$protobuf.Writer} Writer
|
|
21707
|
+
*/
|
|
21708
|
+
PortClose.encode = function encode(message, writer) {
|
|
21709
|
+
if (!writer)
|
|
21710
|
+
writer = $Writer.create();
|
|
21711
|
+
if (message.port != null && Object.hasOwnProperty.call(message, "port"))
|
|
21712
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.port);
|
|
21713
|
+
if (message.address != null && Object.hasOwnProperty.call(message, "address"))
|
|
21714
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.address);
|
|
21715
|
+
return writer;
|
|
21716
|
+
};
|
|
21717
|
+
|
|
21718
|
+
/**
|
|
21719
|
+
* Encodes the specified PortClose message, length delimited. Does not implicitly {@link api.PortClose.verify|verify} messages.
|
|
21720
|
+
* @function encodeDelimited
|
|
21721
|
+
* @memberof api.PortClose
|
|
21722
|
+
* @static
|
|
21723
|
+
* @param {api.PortClose} message PortClose message or plain object to encode
|
|
21724
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
21725
|
+
* @returns {$protobuf.Writer} Writer
|
|
21726
|
+
*/
|
|
21727
|
+
PortClose.encodeDelimited = function encodeDelimited(message, writer) {
|
|
21728
|
+
return this.encode(message, writer).ldelim();
|
|
21729
|
+
};
|
|
21730
|
+
|
|
21731
|
+
/**
|
|
21732
|
+
* Decodes a PortClose message from the specified reader or buffer.
|
|
21733
|
+
* @function decode
|
|
21734
|
+
* @memberof api.PortClose
|
|
21735
|
+
* @static
|
|
21736
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
21737
|
+
* @param {number} [length] Message length if known beforehand
|
|
21738
|
+
* @returns {api.PortClose} PortClose
|
|
21739
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
21740
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
21741
|
+
*/
|
|
21742
|
+
PortClose.decode = function decode(reader, length) {
|
|
21743
|
+
if (!(reader instanceof $Reader))
|
|
21744
|
+
reader = $Reader.create(reader);
|
|
21745
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.PortClose();
|
|
21746
|
+
while (reader.pos < end) {
|
|
21747
|
+
var tag = reader.uint32();
|
|
21748
|
+
switch (tag >>> 3) {
|
|
21749
|
+
case 2:
|
|
21750
|
+
message.port = reader.uint32();
|
|
21751
|
+
break;
|
|
21752
|
+
case 3:
|
|
21753
|
+
message.address = reader.string();
|
|
21754
|
+
break;
|
|
21755
|
+
default:
|
|
21756
|
+
reader.skipType(tag & 7);
|
|
21757
|
+
break;
|
|
21758
|
+
}
|
|
21759
|
+
}
|
|
21760
|
+
return message;
|
|
21761
|
+
};
|
|
21762
|
+
|
|
21763
|
+
/**
|
|
21764
|
+
* Decodes a PortClose message from the specified reader or buffer, length delimited.
|
|
21765
|
+
* @function decodeDelimited
|
|
21766
|
+
* @memberof api.PortClose
|
|
21767
|
+
* @static
|
|
21768
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
21769
|
+
* @returns {api.PortClose} PortClose
|
|
21770
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
21771
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
21772
|
+
*/
|
|
21773
|
+
PortClose.decodeDelimited = function decodeDelimited(reader) {
|
|
21774
|
+
if (!(reader instanceof $Reader))
|
|
21775
|
+
reader = new $Reader(reader);
|
|
21776
|
+
return this.decode(reader, reader.uint32());
|
|
21777
|
+
};
|
|
21778
|
+
|
|
21779
|
+
/**
|
|
21780
|
+
* Verifies a PortClose message.
|
|
21781
|
+
* @function verify
|
|
21782
|
+
* @memberof api.PortClose
|
|
21783
|
+
* @static
|
|
21784
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
21785
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
21786
|
+
*/
|
|
21787
|
+
PortClose.verify = function verify(message) {
|
|
21788
|
+
if (typeof message !== "object" || message === null)
|
|
21789
|
+
return "object expected";
|
|
21790
|
+
if (message.port != null && message.hasOwnProperty("port"))
|
|
21791
|
+
if (!$util.isInteger(message.port))
|
|
21792
|
+
return "port: integer expected";
|
|
21793
|
+
if (message.address != null && message.hasOwnProperty("address"))
|
|
21794
|
+
if (!$util.isString(message.address))
|
|
21795
|
+
return "address: string expected";
|
|
21796
|
+
return null;
|
|
21797
|
+
};
|
|
21798
|
+
|
|
21799
|
+
/**
|
|
21800
|
+
* Creates a PortClose message from a plain object. Also converts values to their respective internal types.
|
|
21801
|
+
* @function fromObject
|
|
21802
|
+
* @memberof api.PortClose
|
|
21803
|
+
* @static
|
|
21804
|
+
* @param {Object.<string,*>} object Plain object
|
|
21805
|
+
* @returns {api.PortClose} PortClose
|
|
21806
|
+
*/
|
|
21807
|
+
PortClose.fromObject = function fromObject(object) {
|
|
21808
|
+
if (object instanceof $root.api.PortClose)
|
|
21809
|
+
return object;
|
|
21810
|
+
var message = new $root.api.PortClose();
|
|
21811
|
+
if (object.port != null)
|
|
21812
|
+
message.port = object.port >>> 0;
|
|
21813
|
+
if (object.address != null)
|
|
21814
|
+
message.address = String(object.address);
|
|
21815
|
+
return message;
|
|
21816
|
+
};
|
|
21817
|
+
|
|
21818
|
+
/**
|
|
21819
|
+
* Creates a plain object from a PortClose message. Also converts values to other types if specified.
|
|
21820
|
+
* @function toObject
|
|
21821
|
+
* @memberof api.PortClose
|
|
21822
|
+
* @static
|
|
21823
|
+
* @param {api.PortClose} message PortClose
|
|
21824
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
21825
|
+
* @returns {Object.<string,*>} Plain object
|
|
21826
|
+
*/
|
|
21827
|
+
PortClose.toObject = function toObject(message, options) {
|
|
21828
|
+
if (!options)
|
|
21829
|
+
options = {};
|
|
21830
|
+
var object = {};
|
|
21831
|
+
if (options.defaults) {
|
|
21832
|
+
object.port = 0;
|
|
21833
|
+
object.address = "";
|
|
21834
|
+
}
|
|
21835
|
+
if (message.port != null && message.hasOwnProperty("port"))
|
|
21836
|
+
object.port = message.port;
|
|
21837
|
+
if (message.address != null && message.hasOwnProperty("address"))
|
|
21838
|
+
object.address = message.address;
|
|
21839
|
+
return object;
|
|
21840
|
+
};
|
|
21841
|
+
|
|
21842
|
+
/**
|
|
21843
|
+
* Converts this PortClose to JSON.
|
|
21844
|
+
* @function toJSON
|
|
21845
|
+
* @memberof api.PortClose
|
|
21846
|
+
* @instance
|
|
21847
|
+
* @returns {Object.<string,*>} JSON object
|
|
21848
|
+
*/
|
|
21849
|
+
PortClose.prototype.toJSON = function toJSON() {
|
|
21850
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
21851
|
+
};
|
|
21852
|
+
|
|
21853
|
+
return PortClose;
|
|
21854
|
+
})();
|
|
21855
|
+
|
|
21487
21856
|
api.OTFetchRequest = (function() {
|
|
21488
21857
|
|
|
21489
21858
|
/**
|
|
@@ -22396,6 +22765,7 @@
|
|
|
22396
22765
|
* @property {number|null} [crc32] OTPacket crc32
|
|
22397
22766
|
* @property {google.protobuf.Timestamp|google.protobuf.ITimestamp|null} [committed] OTPacket committed
|
|
22398
22767
|
* @property {number|null} [nonce] OTPacket nonce
|
|
22768
|
+
* @property {number|null} [userId] OTPacket userId
|
|
22399
22769
|
*/
|
|
22400
22770
|
|
|
22401
22771
|
/**
|
|
@@ -22461,6 +22831,14 @@
|
|
|
22461
22831
|
*/
|
|
22462
22832
|
OTPacket.prototype.nonce = 0;
|
|
22463
22833
|
|
|
22834
|
+
/**
|
|
22835
|
+
* OTPacket userId.
|
|
22836
|
+
* @member {number} userId
|
|
22837
|
+
* @memberof api.OTPacket
|
|
22838
|
+
* @instance
|
|
22839
|
+
*/
|
|
22840
|
+
OTPacket.prototype.userId = 0;
|
|
22841
|
+
|
|
22464
22842
|
/**
|
|
22465
22843
|
* Creates a new OTPacket instance using the specified properties.
|
|
22466
22844
|
* @function create
|
|
@@ -22498,6 +22876,8 @@
|
|
|
22498
22876
|
writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.version);
|
|
22499
22877
|
if (message.nonce != null && Object.hasOwnProperty.call(message, "nonce"))
|
|
22500
22878
|
writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.nonce);
|
|
22879
|
+
if (message.userId != null && Object.hasOwnProperty.call(message, "userId"))
|
|
22880
|
+
writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.userId);
|
|
22501
22881
|
return writer;
|
|
22502
22882
|
};
|
|
22503
22883
|
|
|
@@ -22552,6 +22932,9 @@
|
|
|
22552
22932
|
case 6:
|
|
22553
22933
|
message.nonce = reader.uint32();
|
|
22554
22934
|
break;
|
|
22935
|
+
case 7:
|
|
22936
|
+
message.userId = reader.uint32();
|
|
22937
|
+
break;
|
|
22555
22938
|
default:
|
|
22556
22939
|
reader.skipType(tag & 7);
|
|
22557
22940
|
break;
|
|
@@ -22613,6 +22996,9 @@
|
|
|
22613
22996
|
if (message.nonce != null && message.hasOwnProperty("nonce"))
|
|
22614
22997
|
if (!$util.isInteger(message.nonce))
|
|
22615
22998
|
return "nonce: integer expected";
|
|
22999
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
23000
|
+
if (!$util.isInteger(message.userId))
|
|
23001
|
+
return "userId: integer expected";
|
|
22616
23002
|
return null;
|
|
22617
23003
|
};
|
|
22618
23004
|
|
|
@@ -22651,6 +23037,8 @@
|
|
|
22651
23037
|
}
|
|
22652
23038
|
if (object.nonce != null)
|
|
22653
23039
|
message.nonce = object.nonce >>> 0;
|
|
23040
|
+
if (object.userId != null)
|
|
23041
|
+
message.userId = object.userId >>> 0;
|
|
22654
23042
|
return message;
|
|
22655
23043
|
};
|
|
22656
23044
|
|
|
@@ -22675,6 +23063,7 @@
|
|
|
22675
23063
|
object.committed = null;
|
|
22676
23064
|
object.version = 0;
|
|
22677
23065
|
object.nonce = 0;
|
|
23066
|
+
object.userId = 0;
|
|
22678
23067
|
}
|
|
22679
23068
|
if (message.spookyVersion != null && message.hasOwnProperty("spookyVersion"))
|
|
22680
23069
|
object.spookyVersion = message.spookyVersion;
|
|
@@ -22691,6 +23080,8 @@
|
|
|
22691
23080
|
object.version = message.version;
|
|
22692
23081
|
if (message.nonce != null && message.hasOwnProperty("nonce"))
|
|
22693
23082
|
object.nonce = message.nonce;
|
|
23083
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
23084
|
+
object.userId = message.userId;
|
|
22694
23085
|
return object;
|
|
22695
23086
|
};
|
|
22696
23087
|
|
|
@@ -36706,6 +37097,324 @@
|
|
|
36706
37097
|
return DebuggerConfig;
|
|
36707
37098
|
})();
|
|
36708
37099
|
|
|
37100
|
+
api.ProxyGoingAway = (function() {
|
|
37101
|
+
|
|
37102
|
+
/**
|
|
37103
|
+
* Properties of a ProxyGoingAway.
|
|
37104
|
+
* @memberof api
|
|
37105
|
+
* @interface IProxyGoingAway
|
|
37106
|
+
*/
|
|
37107
|
+
|
|
37108
|
+
/**
|
|
37109
|
+
* Constructs a new ProxyGoingAway.
|
|
37110
|
+
* @memberof api
|
|
37111
|
+
* @classdesc Represents a ProxyGoingAway.
|
|
37112
|
+
* @constructor
|
|
37113
|
+
* @param {api.IProxyGoingAway=} [properties] Properties to set
|
|
37114
|
+
*/
|
|
37115
|
+
function ProxyGoingAway(properties) {
|
|
37116
|
+
if (properties)
|
|
37117
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
37118
|
+
if (properties[keys[i]] != null)
|
|
37119
|
+
this[keys[i]] = properties[keys[i]];
|
|
37120
|
+
}
|
|
37121
|
+
|
|
37122
|
+
/**
|
|
37123
|
+
* Creates a new ProxyGoingAway instance using the specified properties.
|
|
37124
|
+
* @function create
|
|
37125
|
+
* @memberof api.ProxyGoingAway
|
|
37126
|
+
* @static
|
|
37127
|
+
* @param {api.IProxyGoingAway=} [properties] Properties to set
|
|
37128
|
+
* @returns {api.ProxyGoingAway} ProxyGoingAway instance
|
|
37129
|
+
*/
|
|
37130
|
+
ProxyGoingAway.create = function create(properties) {
|
|
37131
|
+
return ProxyGoingAway.fromObject(properties);
|
|
37132
|
+
};
|
|
37133
|
+
|
|
37134
|
+
/**
|
|
37135
|
+
* Encodes the specified ProxyGoingAway message. Does not implicitly {@link api.ProxyGoingAway.verify|verify} messages.
|
|
37136
|
+
* @function encode
|
|
37137
|
+
* @memberof api.ProxyGoingAway
|
|
37138
|
+
* @static
|
|
37139
|
+
* @param {api.ProxyGoingAway} message ProxyGoingAway message or plain object to encode
|
|
37140
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
37141
|
+
* @returns {$protobuf.Writer} Writer
|
|
37142
|
+
*/
|
|
37143
|
+
ProxyGoingAway.encode = function encode(message, writer) {
|
|
37144
|
+
if (!writer)
|
|
37145
|
+
writer = $Writer.create();
|
|
37146
|
+
return writer;
|
|
37147
|
+
};
|
|
37148
|
+
|
|
37149
|
+
/**
|
|
37150
|
+
* Encodes the specified ProxyGoingAway message, length delimited. Does not implicitly {@link api.ProxyGoingAway.verify|verify} messages.
|
|
37151
|
+
* @function encodeDelimited
|
|
37152
|
+
* @memberof api.ProxyGoingAway
|
|
37153
|
+
* @static
|
|
37154
|
+
* @param {api.ProxyGoingAway} message ProxyGoingAway message or plain object to encode
|
|
37155
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
37156
|
+
* @returns {$protobuf.Writer} Writer
|
|
37157
|
+
*/
|
|
37158
|
+
ProxyGoingAway.encodeDelimited = function encodeDelimited(message, writer) {
|
|
37159
|
+
return this.encode(message, writer).ldelim();
|
|
37160
|
+
};
|
|
37161
|
+
|
|
37162
|
+
/**
|
|
37163
|
+
* Decodes a ProxyGoingAway message from the specified reader or buffer.
|
|
37164
|
+
* @function decode
|
|
37165
|
+
* @memberof api.ProxyGoingAway
|
|
37166
|
+
* @static
|
|
37167
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
37168
|
+
* @param {number} [length] Message length if known beforehand
|
|
37169
|
+
* @returns {api.ProxyGoingAway} ProxyGoingAway
|
|
37170
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37171
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37172
|
+
*/
|
|
37173
|
+
ProxyGoingAway.decode = function decode(reader, length) {
|
|
37174
|
+
if (!(reader instanceof $Reader))
|
|
37175
|
+
reader = $Reader.create(reader);
|
|
37176
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.ProxyGoingAway();
|
|
37177
|
+
while (reader.pos < end) {
|
|
37178
|
+
var tag = reader.uint32();
|
|
37179
|
+
switch (tag >>> 3) {
|
|
37180
|
+
default:
|
|
37181
|
+
reader.skipType(tag & 7);
|
|
37182
|
+
break;
|
|
37183
|
+
}
|
|
37184
|
+
}
|
|
37185
|
+
return message;
|
|
37186
|
+
};
|
|
37187
|
+
|
|
37188
|
+
/**
|
|
37189
|
+
* Decodes a ProxyGoingAway message from the specified reader or buffer, length delimited.
|
|
37190
|
+
* @function decodeDelimited
|
|
37191
|
+
* @memberof api.ProxyGoingAway
|
|
37192
|
+
* @static
|
|
37193
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
37194
|
+
* @returns {api.ProxyGoingAway} ProxyGoingAway
|
|
37195
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37196
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37197
|
+
*/
|
|
37198
|
+
ProxyGoingAway.decodeDelimited = function decodeDelimited(reader) {
|
|
37199
|
+
if (!(reader instanceof $Reader))
|
|
37200
|
+
reader = new $Reader(reader);
|
|
37201
|
+
return this.decode(reader, reader.uint32());
|
|
37202
|
+
};
|
|
37203
|
+
|
|
37204
|
+
/**
|
|
37205
|
+
* Verifies a ProxyGoingAway message.
|
|
37206
|
+
* @function verify
|
|
37207
|
+
* @memberof api.ProxyGoingAway
|
|
37208
|
+
* @static
|
|
37209
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
37210
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
37211
|
+
*/
|
|
37212
|
+
ProxyGoingAway.verify = function verify(message) {
|
|
37213
|
+
if (typeof message !== "object" || message === null)
|
|
37214
|
+
return "object expected";
|
|
37215
|
+
return null;
|
|
37216
|
+
};
|
|
37217
|
+
|
|
37218
|
+
/**
|
|
37219
|
+
* Creates a ProxyGoingAway message from a plain object. Also converts values to their respective internal types.
|
|
37220
|
+
* @function fromObject
|
|
37221
|
+
* @memberof api.ProxyGoingAway
|
|
37222
|
+
* @static
|
|
37223
|
+
* @param {Object.<string,*>} object Plain object
|
|
37224
|
+
* @returns {api.ProxyGoingAway} ProxyGoingAway
|
|
37225
|
+
*/
|
|
37226
|
+
ProxyGoingAway.fromObject = function fromObject(object) {
|
|
37227
|
+
if (object instanceof $root.api.ProxyGoingAway)
|
|
37228
|
+
return object;
|
|
37229
|
+
return new $root.api.ProxyGoingAway();
|
|
37230
|
+
};
|
|
37231
|
+
|
|
37232
|
+
/**
|
|
37233
|
+
* Creates a plain object from a ProxyGoingAway message. Also converts values to other types if specified.
|
|
37234
|
+
* @function toObject
|
|
37235
|
+
* @memberof api.ProxyGoingAway
|
|
37236
|
+
* @static
|
|
37237
|
+
* @param {api.ProxyGoingAway} message ProxyGoingAway
|
|
37238
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
37239
|
+
* @returns {Object.<string,*>} Plain object
|
|
37240
|
+
*/
|
|
37241
|
+
ProxyGoingAway.toObject = function toObject() {
|
|
37242
|
+
return {};
|
|
37243
|
+
};
|
|
37244
|
+
|
|
37245
|
+
/**
|
|
37246
|
+
* Converts this ProxyGoingAway to JSON.
|
|
37247
|
+
* @function toJSON
|
|
37248
|
+
* @memberof api.ProxyGoingAway
|
|
37249
|
+
* @instance
|
|
37250
|
+
* @returns {Object.<string,*>} JSON object
|
|
37251
|
+
*/
|
|
37252
|
+
ProxyGoingAway.prototype.toJSON = function toJSON() {
|
|
37253
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
37254
|
+
};
|
|
37255
|
+
|
|
37256
|
+
return ProxyGoingAway;
|
|
37257
|
+
})();
|
|
37258
|
+
|
|
37259
|
+
api.FirewallDenied = (function() {
|
|
37260
|
+
|
|
37261
|
+
/**
|
|
37262
|
+
* Properties of a FirewallDenied.
|
|
37263
|
+
* @memberof api
|
|
37264
|
+
* @interface IFirewallDenied
|
|
37265
|
+
*/
|
|
37266
|
+
|
|
37267
|
+
/**
|
|
37268
|
+
* Constructs a new FirewallDenied.
|
|
37269
|
+
* @memberof api
|
|
37270
|
+
* @classdesc Represents a FirewallDenied.
|
|
37271
|
+
* @constructor
|
|
37272
|
+
* @param {api.IFirewallDenied=} [properties] Properties to set
|
|
37273
|
+
*/
|
|
37274
|
+
function FirewallDenied(properties) {
|
|
37275
|
+
if (properties)
|
|
37276
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
37277
|
+
if (properties[keys[i]] != null)
|
|
37278
|
+
this[keys[i]] = properties[keys[i]];
|
|
37279
|
+
}
|
|
37280
|
+
|
|
37281
|
+
/**
|
|
37282
|
+
* Creates a new FirewallDenied instance using the specified properties.
|
|
37283
|
+
* @function create
|
|
37284
|
+
* @memberof api.FirewallDenied
|
|
37285
|
+
* @static
|
|
37286
|
+
* @param {api.IFirewallDenied=} [properties] Properties to set
|
|
37287
|
+
* @returns {api.FirewallDenied} FirewallDenied instance
|
|
37288
|
+
*/
|
|
37289
|
+
FirewallDenied.create = function create(properties) {
|
|
37290
|
+
return FirewallDenied.fromObject(properties);
|
|
37291
|
+
};
|
|
37292
|
+
|
|
37293
|
+
/**
|
|
37294
|
+
* Encodes the specified FirewallDenied message. Does not implicitly {@link api.FirewallDenied.verify|verify} messages.
|
|
37295
|
+
* @function encode
|
|
37296
|
+
* @memberof api.FirewallDenied
|
|
37297
|
+
* @static
|
|
37298
|
+
* @param {api.FirewallDenied} message FirewallDenied message or plain object to encode
|
|
37299
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
37300
|
+
* @returns {$protobuf.Writer} Writer
|
|
37301
|
+
*/
|
|
37302
|
+
FirewallDenied.encode = function encode(message, writer) {
|
|
37303
|
+
if (!writer)
|
|
37304
|
+
writer = $Writer.create();
|
|
37305
|
+
return writer;
|
|
37306
|
+
};
|
|
37307
|
+
|
|
37308
|
+
/**
|
|
37309
|
+
* Encodes the specified FirewallDenied message, length delimited. Does not implicitly {@link api.FirewallDenied.verify|verify} messages.
|
|
37310
|
+
* @function encodeDelimited
|
|
37311
|
+
* @memberof api.FirewallDenied
|
|
37312
|
+
* @static
|
|
37313
|
+
* @param {api.FirewallDenied} message FirewallDenied message or plain object to encode
|
|
37314
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
37315
|
+
* @returns {$protobuf.Writer} Writer
|
|
37316
|
+
*/
|
|
37317
|
+
FirewallDenied.encodeDelimited = function encodeDelimited(message, writer) {
|
|
37318
|
+
return this.encode(message, writer).ldelim();
|
|
37319
|
+
};
|
|
37320
|
+
|
|
37321
|
+
/**
|
|
37322
|
+
* Decodes a FirewallDenied message from the specified reader or buffer.
|
|
37323
|
+
* @function decode
|
|
37324
|
+
* @memberof api.FirewallDenied
|
|
37325
|
+
* @static
|
|
37326
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
37327
|
+
* @param {number} [length] Message length if known beforehand
|
|
37328
|
+
* @returns {api.FirewallDenied} FirewallDenied
|
|
37329
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37330
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37331
|
+
*/
|
|
37332
|
+
FirewallDenied.decode = function decode(reader, length) {
|
|
37333
|
+
if (!(reader instanceof $Reader))
|
|
37334
|
+
reader = $Reader.create(reader);
|
|
37335
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.FirewallDenied();
|
|
37336
|
+
while (reader.pos < end) {
|
|
37337
|
+
var tag = reader.uint32();
|
|
37338
|
+
switch (tag >>> 3) {
|
|
37339
|
+
default:
|
|
37340
|
+
reader.skipType(tag & 7);
|
|
37341
|
+
break;
|
|
37342
|
+
}
|
|
37343
|
+
}
|
|
37344
|
+
return message;
|
|
37345
|
+
};
|
|
37346
|
+
|
|
37347
|
+
/**
|
|
37348
|
+
* Decodes a FirewallDenied message from the specified reader or buffer, length delimited.
|
|
37349
|
+
* @function decodeDelimited
|
|
37350
|
+
* @memberof api.FirewallDenied
|
|
37351
|
+
* @static
|
|
37352
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
37353
|
+
* @returns {api.FirewallDenied} FirewallDenied
|
|
37354
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37355
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37356
|
+
*/
|
|
37357
|
+
FirewallDenied.decodeDelimited = function decodeDelimited(reader) {
|
|
37358
|
+
if (!(reader instanceof $Reader))
|
|
37359
|
+
reader = new $Reader(reader);
|
|
37360
|
+
return this.decode(reader, reader.uint32());
|
|
37361
|
+
};
|
|
37362
|
+
|
|
37363
|
+
/**
|
|
37364
|
+
* Verifies a FirewallDenied message.
|
|
37365
|
+
* @function verify
|
|
37366
|
+
* @memberof api.FirewallDenied
|
|
37367
|
+
* @static
|
|
37368
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
37369
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
37370
|
+
*/
|
|
37371
|
+
FirewallDenied.verify = function verify(message) {
|
|
37372
|
+
if (typeof message !== "object" || message === null)
|
|
37373
|
+
return "object expected";
|
|
37374
|
+
return null;
|
|
37375
|
+
};
|
|
37376
|
+
|
|
37377
|
+
/**
|
|
37378
|
+
* Creates a FirewallDenied message from a plain object. Also converts values to their respective internal types.
|
|
37379
|
+
* @function fromObject
|
|
37380
|
+
* @memberof api.FirewallDenied
|
|
37381
|
+
* @static
|
|
37382
|
+
* @param {Object.<string,*>} object Plain object
|
|
37383
|
+
* @returns {api.FirewallDenied} FirewallDenied
|
|
37384
|
+
*/
|
|
37385
|
+
FirewallDenied.fromObject = function fromObject(object) {
|
|
37386
|
+
if (object instanceof $root.api.FirewallDenied)
|
|
37387
|
+
return object;
|
|
37388
|
+
return new $root.api.FirewallDenied();
|
|
37389
|
+
};
|
|
37390
|
+
|
|
37391
|
+
/**
|
|
37392
|
+
* Creates a plain object from a FirewallDenied message. Also converts values to other types if specified.
|
|
37393
|
+
* @function toObject
|
|
37394
|
+
* @memberof api.FirewallDenied
|
|
37395
|
+
* @static
|
|
37396
|
+
* @param {api.FirewallDenied} message FirewallDenied
|
|
37397
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
37398
|
+
* @returns {Object.<string,*>} Plain object
|
|
37399
|
+
*/
|
|
37400
|
+
FirewallDenied.toObject = function toObject() {
|
|
37401
|
+
return {};
|
|
37402
|
+
};
|
|
37403
|
+
|
|
37404
|
+
/**
|
|
37405
|
+
* Converts this FirewallDenied to JSON.
|
|
37406
|
+
* @function toJSON
|
|
37407
|
+
* @memberof api.FirewallDenied
|
|
37408
|
+
* @instance
|
|
37409
|
+
* @returns {Object.<string,*>} JSON object
|
|
37410
|
+
*/
|
|
37411
|
+
FirewallDenied.prototype.toJSON = function toJSON() {
|
|
37412
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
37413
|
+
};
|
|
37414
|
+
|
|
37415
|
+
return FirewallDenied;
|
|
37416
|
+
})();
|
|
37417
|
+
|
|
36709
37418
|
api.Repl = (function() {
|
|
36710
37419
|
|
|
36711
37420
|
/**
|
|
@@ -37015,6 +37724,7 @@
|
|
|
37015
37724
|
* @property {number|null} [shares] ResourceLimits shares
|
|
37016
37725
|
* @property {number|null} [disk] ResourceLimits disk
|
|
37017
37726
|
* @property {api.ResourceLimits.Cachability|null} [cache] ResourceLimits cache
|
|
37727
|
+
* @property {boolean|null} [restrictNetwork] ResourceLimits restrictNetwork
|
|
37018
37728
|
*/
|
|
37019
37729
|
|
|
37020
37730
|
/**
|
|
@@ -37079,6 +37789,14 @@
|
|
|
37079
37789
|
*/
|
|
37080
37790
|
ResourceLimits.prototype.cache = 0;
|
|
37081
37791
|
|
|
37792
|
+
/**
|
|
37793
|
+
* ResourceLimits restrictNetwork.
|
|
37794
|
+
* @member {boolean} restrictNetwork
|
|
37795
|
+
* @memberof api.ResourceLimits
|
|
37796
|
+
* @instance
|
|
37797
|
+
*/
|
|
37798
|
+
ResourceLimits.prototype.restrictNetwork = false;
|
|
37799
|
+
|
|
37082
37800
|
/**
|
|
37083
37801
|
* Creates a new ResourceLimits instance using the specified properties.
|
|
37084
37802
|
* @function create
|
|
@@ -37115,6 +37833,8 @@
|
|
|
37115
37833
|
writer.uint32(/* id 5, wireType 0 =*/40).int64(message.disk);
|
|
37116
37834
|
if (message.cache != null && Object.hasOwnProperty.call(message, "cache"))
|
|
37117
37835
|
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.cache);
|
|
37836
|
+
if (message.restrictNetwork != null && Object.hasOwnProperty.call(message, "restrictNetwork"))
|
|
37837
|
+
writer.uint32(/* id 7, wireType 0 =*/56).bool(message.restrictNetwork);
|
|
37118
37838
|
return writer;
|
|
37119
37839
|
};
|
|
37120
37840
|
|
|
@@ -37167,6 +37887,9 @@
|
|
|
37167
37887
|
case 6:
|
|
37168
37888
|
message.cache = reader.int32();
|
|
37169
37889
|
break;
|
|
37890
|
+
case 7:
|
|
37891
|
+
message.restrictNetwork = reader.bool();
|
|
37892
|
+
break;
|
|
37170
37893
|
default:
|
|
37171
37894
|
reader.skipType(tag & 7);
|
|
37172
37895
|
break;
|
|
@@ -37226,6 +37949,9 @@
|
|
|
37226
37949
|
case 2:
|
|
37227
37950
|
break;
|
|
37228
37951
|
}
|
|
37952
|
+
if (message.restrictNetwork != null && message.hasOwnProperty("restrictNetwork"))
|
|
37953
|
+
if (typeof message.restrictNetwork !== "boolean")
|
|
37954
|
+
return "restrictNetwork: boolean expected";
|
|
37229
37955
|
return null;
|
|
37230
37956
|
};
|
|
37231
37957
|
|
|
@@ -37279,6 +38005,8 @@
|
|
|
37279
38005
|
message.cache = 2;
|
|
37280
38006
|
break;
|
|
37281
38007
|
}
|
|
38008
|
+
if (object.restrictNetwork != null)
|
|
38009
|
+
message.restrictNetwork = Boolean(object.restrictNetwork);
|
|
37282
38010
|
return message;
|
|
37283
38011
|
};
|
|
37284
38012
|
|
|
@@ -37310,6 +38038,7 @@
|
|
|
37310
38038
|
} else
|
|
37311
38039
|
object.disk = options.longs === String ? "0" : 0;
|
|
37312
38040
|
object.cache = options.enums === String ? "NONE" : 0;
|
|
38041
|
+
object.restrictNetwork = false;
|
|
37313
38042
|
}
|
|
37314
38043
|
if (message.net != null && message.hasOwnProperty("net"))
|
|
37315
38044
|
object.net = message.net;
|
|
@@ -37329,6 +38058,8 @@
|
|
|
37329
38058
|
object.disk = options.longs === String ? $util.Long.prototype.toString.call(message.disk) : options.longs === Number ? new $util.LongBits(message.disk.low >>> 0, message.disk.high >>> 0).toNumber() : message.disk;
|
|
37330
38059
|
if (message.cache != null && message.hasOwnProperty("cache"))
|
|
37331
38060
|
object.cache = options.enums === String ? $root.api.ResourceLimits.Cachability[message.cache] : message.cache;
|
|
38061
|
+
if (message.restrictNetwork != null && message.hasOwnProperty("restrictNetwork"))
|
|
38062
|
+
object.restrictNetwork = message.restrictNetwork;
|
|
37332
38063
|
return object;
|
|
37333
38064
|
};
|
|
37334
38065
|
|
|
@@ -39563,9 +40294,7 @@
|
|
|
39563
40294
|
* @property {string|null} [id] ClusterMetadata id
|
|
39564
40295
|
* @property {string|null} [conmanURL] ClusterMetadata conmanURL
|
|
39565
40296
|
* @property {string|null} [gurl] ClusterMetadata gurl
|
|
39566
|
-
* @property {string|null} [proxyHost] ClusterMetadata proxyHost
|
|
39567
40297
|
* @property {string|null} [proxy] ClusterMetadata proxy
|
|
39568
|
-
* @property {string|null} [proxyIP] ClusterMetadata proxyIP
|
|
39569
40298
|
*/
|
|
39570
40299
|
|
|
39571
40300
|
/**
|
|
@@ -39606,14 +40335,6 @@
|
|
|
39606
40335
|
*/
|
|
39607
40336
|
ClusterMetadata.prototype.gurl = "";
|
|
39608
40337
|
|
|
39609
|
-
/**
|
|
39610
|
-
* ClusterMetadata proxyHost.
|
|
39611
|
-
* @member {string} proxyHost
|
|
39612
|
-
* @memberof api.ClusterMetadata
|
|
39613
|
-
* @instance
|
|
39614
|
-
*/
|
|
39615
|
-
ClusterMetadata.prototype.proxyHost = "";
|
|
39616
|
-
|
|
39617
40338
|
/**
|
|
39618
40339
|
* ClusterMetadata proxy.
|
|
39619
40340
|
* @member {string} proxy
|
|
@@ -39622,14 +40343,6 @@
|
|
|
39622
40343
|
*/
|
|
39623
40344
|
ClusterMetadata.prototype.proxy = "";
|
|
39624
40345
|
|
|
39625
|
-
/**
|
|
39626
|
-
* ClusterMetadata proxyIP.
|
|
39627
|
-
* @member {string} proxyIP
|
|
39628
|
-
* @memberof api.ClusterMetadata
|
|
39629
|
-
* @instance
|
|
39630
|
-
*/
|
|
39631
|
-
ClusterMetadata.prototype.proxyIP = "";
|
|
39632
|
-
|
|
39633
40346
|
/**
|
|
39634
40347
|
* Creates a new ClusterMetadata instance using the specified properties.
|
|
39635
40348
|
* @function create
|
|
@@ -39660,12 +40373,8 @@
|
|
|
39660
40373
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.conmanURL);
|
|
39661
40374
|
if (message.gurl != null && Object.hasOwnProperty.call(message, "gurl"))
|
|
39662
40375
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.gurl);
|
|
39663
|
-
if (message.proxyHost != null && Object.hasOwnProperty.call(message, "proxyHost"))
|
|
39664
|
-
writer.uint32(/* id 4, wireType 2 =*/34).string(message.proxyHost);
|
|
39665
40376
|
if (message.proxy != null && Object.hasOwnProperty.call(message, "proxy"))
|
|
39666
40377
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.proxy);
|
|
39667
|
-
if (message.proxyIP != null && Object.hasOwnProperty.call(message, "proxyIP"))
|
|
39668
|
-
writer.uint32(/* id 6, wireType 2 =*/50).string(message.proxyIP);
|
|
39669
40378
|
return writer;
|
|
39670
40379
|
};
|
|
39671
40380
|
|
|
@@ -39709,15 +40418,9 @@
|
|
|
39709
40418
|
case 3:
|
|
39710
40419
|
message.gurl = reader.string();
|
|
39711
40420
|
break;
|
|
39712
|
-
case 4:
|
|
39713
|
-
message.proxyHost = reader.string();
|
|
39714
|
-
break;
|
|
39715
40421
|
case 5:
|
|
39716
40422
|
message.proxy = reader.string();
|
|
39717
40423
|
break;
|
|
39718
|
-
case 6:
|
|
39719
|
-
message.proxyIP = reader.string();
|
|
39720
|
-
break;
|
|
39721
40424
|
default:
|
|
39722
40425
|
reader.skipType(tag & 7);
|
|
39723
40426
|
break;
|
|
@@ -39762,15 +40465,9 @@
|
|
|
39762
40465
|
if (message.gurl != null && message.hasOwnProperty("gurl"))
|
|
39763
40466
|
if (!$util.isString(message.gurl))
|
|
39764
40467
|
return "gurl: string expected";
|
|
39765
|
-
if (message.proxyHost != null && message.hasOwnProperty("proxyHost"))
|
|
39766
|
-
if (!$util.isString(message.proxyHost))
|
|
39767
|
-
return "proxyHost: string expected";
|
|
39768
40468
|
if (message.proxy != null && message.hasOwnProperty("proxy"))
|
|
39769
40469
|
if (!$util.isString(message.proxy))
|
|
39770
40470
|
return "proxy: string expected";
|
|
39771
|
-
if (message.proxyIP != null && message.hasOwnProperty("proxyIP"))
|
|
39772
|
-
if (!$util.isString(message.proxyIP))
|
|
39773
|
-
return "proxyIP: string expected";
|
|
39774
40471
|
return null;
|
|
39775
40472
|
};
|
|
39776
40473
|
|
|
@@ -39792,12 +40489,8 @@
|
|
|
39792
40489
|
message.conmanURL = String(object.conmanURL);
|
|
39793
40490
|
if (object.gurl != null)
|
|
39794
40491
|
message.gurl = String(object.gurl);
|
|
39795
|
-
if (object.proxyHost != null)
|
|
39796
|
-
message.proxyHost = String(object.proxyHost);
|
|
39797
40492
|
if (object.proxy != null)
|
|
39798
40493
|
message.proxy = String(object.proxy);
|
|
39799
|
-
if (object.proxyIP != null)
|
|
39800
|
-
message.proxyIP = String(object.proxyIP);
|
|
39801
40494
|
return message;
|
|
39802
40495
|
};
|
|
39803
40496
|
|
|
@@ -39818,9 +40511,7 @@
|
|
|
39818
40511
|
object.id = "";
|
|
39819
40512
|
object.conmanURL = "";
|
|
39820
40513
|
object.gurl = "";
|
|
39821
|
-
object.proxyHost = "";
|
|
39822
40514
|
object.proxy = "";
|
|
39823
|
-
object.proxyIP = "";
|
|
39824
40515
|
}
|
|
39825
40516
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
39826
40517
|
object.id = message.id;
|
|
@@ -39828,12 +40519,8 @@
|
|
|
39828
40519
|
object.conmanURL = message.conmanURL;
|
|
39829
40520
|
if (message.gurl != null && message.hasOwnProperty("gurl"))
|
|
39830
40521
|
object.gurl = message.gurl;
|
|
39831
|
-
if (message.proxyHost != null && message.hasOwnProperty("proxyHost"))
|
|
39832
|
-
object.proxyHost = message.proxyHost;
|
|
39833
40522
|
if (message.proxy != null && message.hasOwnProperty("proxy"))
|
|
39834
40523
|
object.proxy = message.proxy;
|
|
39835
|
-
if (message.proxyIP != null && message.hasOwnProperty("proxyIP"))
|
|
39836
|
-
object.proxyIP = message.proxyIP;
|
|
39837
40524
|
return object;
|
|
39838
40525
|
};
|
|
39839
40526
|
|