@replit/protocol 0.2.47 → 0.2.48
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 +283 -1
- package/main/index.js +631 -2
- package/main/index.js.flow +382 -1
- 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,6 +179,7 @@
|
|
|
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
|
|
181
184
|
* @property {Object.<string,string>|null} [traceInfo] Command traceInfo
|
|
182
185
|
*/
|
|
@@ -260,6 +263,14 @@
|
|
|
260
263
|
*/
|
|
261
264
|
Command.prototype.portOpen = null;
|
|
262
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
|
+
|
|
263
274
|
/**
|
|
264
275
|
* Command toast.
|
|
265
276
|
* @member {api.Toast|null|undefined} toast
|
|
@@ -644,6 +655,14 @@
|
|
|
644
655
|
*/
|
|
645
656
|
Command.prototype.goodbye = null;
|
|
646
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
|
+
|
|
647
666
|
/**
|
|
648
667
|
* Command hint.
|
|
649
668
|
* @member {api.Hint|null|undefined} hint
|
|
@@ -1364,6 +1383,14 @@
|
|
|
1364
1383
|
*/
|
|
1365
1384
|
Command.prototype.startLSP = null;
|
|
1366
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
|
+
|
|
1367
1394
|
/**
|
|
1368
1395
|
* Command ref.
|
|
1369
1396
|
* @member {string} ref
|
|
@@ -1385,12 +1412,12 @@
|
|
|
1385
1412
|
|
|
1386
1413
|
/**
|
|
1387
1414
|
* Command body.
|
|
1388
|
-
* @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
|
|
1389
1416
|
* @memberof api.Command
|
|
1390
1417
|
* @instance
|
|
1391
1418
|
*/
|
|
1392
1419
|
Object.defineProperty(Command.prototype, "body", {
|
|
1393
|
-
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"]),
|
|
1394
1421
|
set: $util.oneOfSetter($oneOfFields)
|
|
1395
1422
|
});
|
|
1396
1423
|
|
|
@@ -1496,6 +1523,8 @@
|
|
|
1496
1523
|
writer.uint32(/* id 46, wireType 2 =*/370).string(message.stderr);
|
|
1497
1524
|
if (message.log != null && Object.hasOwnProperty.call(message, "log"))
|
|
1498
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();
|
|
1499
1528
|
if (message.runContainedTest != null && Object.hasOwnProperty.call(message, "runContainedTest"))
|
|
1500
1529
|
$root.api.ContainedTest.encode(message.runContainedTest, writer.uint32(/* id 70, wireType 2 =*/562).fork()).ldelim();
|
|
1501
1530
|
if (message.testResult != null && Object.hasOwnProperty.call(message, "testResult"))
|
|
@@ -1516,6 +1545,8 @@
|
|
|
1516
1545
|
$root.api.Hello.encode(message.hello, writer.uint32(/* id 122, wireType 2 =*/978).fork()).ldelim();
|
|
1517
1546
|
if (message.goodbye != null && Object.hasOwnProperty.call(message, "goodbye"))
|
|
1518
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();
|
|
1519
1550
|
if (message.hint != null && Object.hasOwnProperty.call(message, "hint"))
|
|
1520
1551
|
$root.api.Hint.encode(message.hint, writer.uint32(/* id 130, wireType 2 =*/1042).fork()).ldelim();
|
|
1521
1552
|
if (message.connect != null && Object.hasOwnProperty.call(message, "connect"))
|
|
@@ -1710,6 +1741,8 @@
|
|
|
1710
1741
|
$root.api.RunConfigGetResponse.encode(message.runConfigGetResponse, writer.uint32(/* id 391, wireType 2 =*/3130).fork()).ldelim();
|
|
1711
1742
|
if (message.NoninteractiveFSChangeEvent != null && Object.hasOwnProperty.call(message, "NoninteractiveFSChangeEvent"))
|
|
1712
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();
|
|
1713
1746
|
if (message.ref != null && Object.hasOwnProperty.call(message, "ref"))
|
|
1714
1747
|
writer.uint32(/* id 1000, wireType 2 =*/8002).string(message.ref);
|
|
1715
1748
|
if (message.traceInfo != null && Object.hasOwnProperty.call(message, "traceInfo"))
|
|
@@ -1773,6 +1806,9 @@
|
|
|
1773
1806
|
case 10:
|
|
1774
1807
|
message.portOpen = $root.api.PortOpen.decode(reader, reader.uint32());
|
|
1775
1808
|
break;
|
|
1809
|
+
case 48:
|
|
1810
|
+
message.portClose = $root.api.PortClose.decode(reader, reader.uint32());
|
|
1811
|
+
break;
|
|
1776
1812
|
case 11:
|
|
1777
1813
|
message.toast = $root.api.Toast.decode(reader, reader.uint32());
|
|
1778
1814
|
break;
|
|
@@ -1917,6 +1953,9 @@
|
|
|
1917
1953
|
case 123:
|
|
1918
1954
|
message.goodbye = $root.api.Goodbye.decode(reader, reader.uint32());
|
|
1919
1955
|
break;
|
|
1956
|
+
case 124:
|
|
1957
|
+
message.proxyGoingAway = $root.api.ProxyGoingAway.decode(reader, reader.uint32());
|
|
1958
|
+
break;
|
|
1920
1959
|
case 130:
|
|
1921
1960
|
message.hint = $root.api.Hint.decode(reader, reader.uint32());
|
|
1922
1961
|
break;
|
|
@@ -2187,6 +2226,9 @@
|
|
|
2187
2226
|
case 345:
|
|
2188
2227
|
message.startLSP = $root.api.StartLSP.decode(reader, reader.uint32());
|
|
2189
2228
|
break;
|
|
2229
|
+
case 393:
|
|
2230
|
+
message.firewallDenied = $root.api.FirewallDenied.decode(reader, reader.uint32());
|
|
2231
|
+
break;
|
|
2190
2232
|
case 1000:
|
|
2191
2233
|
message.ref = reader.string();
|
|
2192
2234
|
break;
|
|
@@ -2312,6 +2354,16 @@
|
|
|
2312
2354
|
return "portOpen." + error;
|
|
2313
2355
|
}
|
|
2314
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
|
+
}
|
|
2315
2367
|
if (message.toast != null && message.hasOwnProperty("toast")) {
|
|
2316
2368
|
if (properties.body === 1)
|
|
2317
2369
|
return "body: multiple values";
|
|
@@ -2770,6 +2822,16 @@
|
|
|
2770
2822
|
return "goodbye." + error;
|
|
2771
2823
|
}
|
|
2772
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
|
+
}
|
|
2773
2835
|
if (message.hint != null && message.hasOwnProperty("hint")) {
|
|
2774
2836
|
if (properties.body === 1)
|
|
2775
2837
|
return "body: multiple values";
|
|
@@ -3664,6 +3726,16 @@
|
|
|
3664
3726
|
return "startLSP." + error;
|
|
3665
3727
|
}
|
|
3666
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
|
+
}
|
|
3667
3739
|
if (message.ref != null && message.hasOwnProperty("ref"))
|
|
3668
3740
|
if (!$util.isString(message.ref))
|
|
3669
3741
|
return "ref: string expected";
|
|
@@ -3724,6 +3796,11 @@
|
|
|
3724
3796
|
throw TypeError(".api.Command.portOpen: object expected");
|
|
3725
3797
|
message.portOpen = $root.api.PortOpen.fromObject(object.portOpen);
|
|
3726
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
|
+
}
|
|
3727
3804
|
if (object.toast != null) {
|
|
3728
3805
|
if (typeof object.toast !== "object")
|
|
3729
3806
|
throw TypeError(".api.Command.toast: object expected");
|
|
@@ -3945,6 +4022,11 @@
|
|
|
3945
4022
|
throw TypeError(".api.Command.goodbye: object expected");
|
|
3946
4023
|
message.goodbye = $root.api.Goodbye.fromObject(object.goodbye);
|
|
3947
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
|
+
}
|
|
3948
4030
|
if (object.hint != null) {
|
|
3949
4031
|
if (typeof object.hint !== "object")
|
|
3950
4032
|
throw TypeError(".api.Command.hint: object expected");
|
|
@@ -4389,6 +4471,11 @@
|
|
|
4389
4471
|
throw TypeError(".api.Command.startLSP: object expected");
|
|
4390
4472
|
message.startLSP = $root.api.StartLSP.fromObject(object.startLSP);
|
|
4391
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
|
+
}
|
|
4392
4479
|
if (object.ref != null)
|
|
4393
4480
|
message.ref = String(object.ref);
|
|
4394
4481
|
if (object.traceInfo) {
|
|
@@ -4610,6 +4697,11 @@
|
|
|
4610
4697
|
if (options.oneofs)
|
|
4611
4698
|
object.body = "log";
|
|
4612
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
|
+
}
|
|
4613
4705
|
if (message.runContainedTest != null && message.hasOwnProperty("runContainedTest")) {
|
|
4614
4706
|
object.runContainedTest = $root.api.ContainedTest.toObject(message.runContainedTest, options);
|
|
4615
4707
|
if (options.oneofs)
|
|
@@ -4660,6 +4752,11 @@
|
|
|
4660
4752
|
if (options.oneofs)
|
|
4661
4753
|
object.body = "goodbye";
|
|
4662
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
|
+
}
|
|
4663
4760
|
if (message.hint != null && message.hasOwnProperty("hint")) {
|
|
4664
4761
|
object.hint = $root.api.Hint.toObject(message.hint, options);
|
|
4665
4762
|
if (options.oneofs)
|
|
@@ -5145,6 +5242,11 @@
|
|
|
5145
5242
|
if (options.oneofs)
|
|
5146
5243
|
object.body = "NoninteractiveFSChangeEvent";
|
|
5147
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
|
+
}
|
|
5148
5250
|
if (message.ref != null && message.hasOwnProperty("ref"))
|
|
5149
5251
|
object.ref = message.ref;
|
|
5150
5252
|
var keys2;
|
|
@@ -21542,6 +21644,215 @@
|
|
|
21542
21644
|
return PortOpen;
|
|
21543
21645
|
})();
|
|
21544
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
|
+
|
|
21545
21856
|
api.OTFetchRequest = (function() {
|
|
21546
21857
|
|
|
21547
21858
|
/**
|
|
@@ -36764,6 +37075,324 @@
|
|
|
36764
37075
|
return DebuggerConfig;
|
|
36765
37076
|
})();
|
|
36766
37077
|
|
|
37078
|
+
api.ProxyGoingAway = (function() {
|
|
37079
|
+
|
|
37080
|
+
/**
|
|
37081
|
+
* Properties of a ProxyGoingAway.
|
|
37082
|
+
* @memberof api
|
|
37083
|
+
* @interface IProxyGoingAway
|
|
37084
|
+
*/
|
|
37085
|
+
|
|
37086
|
+
/**
|
|
37087
|
+
* Constructs a new ProxyGoingAway.
|
|
37088
|
+
* @memberof api
|
|
37089
|
+
* @classdesc Represents a ProxyGoingAway.
|
|
37090
|
+
* @constructor
|
|
37091
|
+
* @param {api.IProxyGoingAway=} [properties] Properties to set
|
|
37092
|
+
*/
|
|
37093
|
+
function ProxyGoingAway(properties) {
|
|
37094
|
+
if (properties)
|
|
37095
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
37096
|
+
if (properties[keys[i]] != null)
|
|
37097
|
+
this[keys[i]] = properties[keys[i]];
|
|
37098
|
+
}
|
|
37099
|
+
|
|
37100
|
+
/**
|
|
37101
|
+
* Creates a new ProxyGoingAway instance using the specified properties.
|
|
37102
|
+
* @function create
|
|
37103
|
+
* @memberof api.ProxyGoingAway
|
|
37104
|
+
* @static
|
|
37105
|
+
* @param {api.IProxyGoingAway=} [properties] Properties to set
|
|
37106
|
+
* @returns {api.ProxyGoingAway} ProxyGoingAway instance
|
|
37107
|
+
*/
|
|
37108
|
+
ProxyGoingAway.create = function create(properties) {
|
|
37109
|
+
return ProxyGoingAway.fromObject(properties);
|
|
37110
|
+
};
|
|
37111
|
+
|
|
37112
|
+
/**
|
|
37113
|
+
* Encodes the specified ProxyGoingAway message. Does not implicitly {@link api.ProxyGoingAway.verify|verify} messages.
|
|
37114
|
+
* @function encode
|
|
37115
|
+
* @memberof api.ProxyGoingAway
|
|
37116
|
+
* @static
|
|
37117
|
+
* @param {api.ProxyGoingAway} message ProxyGoingAway message or plain object to encode
|
|
37118
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
37119
|
+
* @returns {$protobuf.Writer} Writer
|
|
37120
|
+
*/
|
|
37121
|
+
ProxyGoingAway.encode = function encode(message, writer) {
|
|
37122
|
+
if (!writer)
|
|
37123
|
+
writer = $Writer.create();
|
|
37124
|
+
return writer;
|
|
37125
|
+
};
|
|
37126
|
+
|
|
37127
|
+
/**
|
|
37128
|
+
* Encodes the specified ProxyGoingAway message, length delimited. Does not implicitly {@link api.ProxyGoingAway.verify|verify} messages.
|
|
37129
|
+
* @function encodeDelimited
|
|
37130
|
+
* @memberof api.ProxyGoingAway
|
|
37131
|
+
* @static
|
|
37132
|
+
* @param {api.ProxyGoingAway} message ProxyGoingAway message or plain object to encode
|
|
37133
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
37134
|
+
* @returns {$protobuf.Writer} Writer
|
|
37135
|
+
*/
|
|
37136
|
+
ProxyGoingAway.encodeDelimited = function encodeDelimited(message, writer) {
|
|
37137
|
+
return this.encode(message, writer).ldelim();
|
|
37138
|
+
};
|
|
37139
|
+
|
|
37140
|
+
/**
|
|
37141
|
+
* Decodes a ProxyGoingAway message from the specified reader or buffer.
|
|
37142
|
+
* @function decode
|
|
37143
|
+
* @memberof api.ProxyGoingAway
|
|
37144
|
+
* @static
|
|
37145
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
37146
|
+
* @param {number} [length] Message length if known beforehand
|
|
37147
|
+
* @returns {api.ProxyGoingAway} ProxyGoingAway
|
|
37148
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37149
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37150
|
+
*/
|
|
37151
|
+
ProxyGoingAway.decode = function decode(reader, length) {
|
|
37152
|
+
if (!(reader instanceof $Reader))
|
|
37153
|
+
reader = $Reader.create(reader);
|
|
37154
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.ProxyGoingAway();
|
|
37155
|
+
while (reader.pos < end) {
|
|
37156
|
+
var tag = reader.uint32();
|
|
37157
|
+
switch (tag >>> 3) {
|
|
37158
|
+
default:
|
|
37159
|
+
reader.skipType(tag & 7);
|
|
37160
|
+
break;
|
|
37161
|
+
}
|
|
37162
|
+
}
|
|
37163
|
+
return message;
|
|
37164
|
+
};
|
|
37165
|
+
|
|
37166
|
+
/**
|
|
37167
|
+
* Decodes a ProxyGoingAway message from the specified reader or buffer, length delimited.
|
|
37168
|
+
* @function decodeDelimited
|
|
37169
|
+
* @memberof api.ProxyGoingAway
|
|
37170
|
+
* @static
|
|
37171
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
37172
|
+
* @returns {api.ProxyGoingAway} ProxyGoingAway
|
|
37173
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37174
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37175
|
+
*/
|
|
37176
|
+
ProxyGoingAway.decodeDelimited = function decodeDelimited(reader) {
|
|
37177
|
+
if (!(reader instanceof $Reader))
|
|
37178
|
+
reader = new $Reader(reader);
|
|
37179
|
+
return this.decode(reader, reader.uint32());
|
|
37180
|
+
};
|
|
37181
|
+
|
|
37182
|
+
/**
|
|
37183
|
+
* Verifies a ProxyGoingAway message.
|
|
37184
|
+
* @function verify
|
|
37185
|
+
* @memberof api.ProxyGoingAway
|
|
37186
|
+
* @static
|
|
37187
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
37188
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
37189
|
+
*/
|
|
37190
|
+
ProxyGoingAway.verify = function verify(message) {
|
|
37191
|
+
if (typeof message !== "object" || message === null)
|
|
37192
|
+
return "object expected";
|
|
37193
|
+
return null;
|
|
37194
|
+
};
|
|
37195
|
+
|
|
37196
|
+
/**
|
|
37197
|
+
* Creates a ProxyGoingAway message from a plain object. Also converts values to their respective internal types.
|
|
37198
|
+
* @function fromObject
|
|
37199
|
+
* @memberof api.ProxyGoingAway
|
|
37200
|
+
* @static
|
|
37201
|
+
* @param {Object.<string,*>} object Plain object
|
|
37202
|
+
* @returns {api.ProxyGoingAway} ProxyGoingAway
|
|
37203
|
+
*/
|
|
37204
|
+
ProxyGoingAway.fromObject = function fromObject(object) {
|
|
37205
|
+
if (object instanceof $root.api.ProxyGoingAway)
|
|
37206
|
+
return object;
|
|
37207
|
+
return new $root.api.ProxyGoingAway();
|
|
37208
|
+
};
|
|
37209
|
+
|
|
37210
|
+
/**
|
|
37211
|
+
* Creates a plain object from a ProxyGoingAway message. Also converts values to other types if specified.
|
|
37212
|
+
* @function toObject
|
|
37213
|
+
* @memberof api.ProxyGoingAway
|
|
37214
|
+
* @static
|
|
37215
|
+
* @param {api.ProxyGoingAway} message ProxyGoingAway
|
|
37216
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
37217
|
+
* @returns {Object.<string,*>} Plain object
|
|
37218
|
+
*/
|
|
37219
|
+
ProxyGoingAway.toObject = function toObject() {
|
|
37220
|
+
return {};
|
|
37221
|
+
};
|
|
37222
|
+
|
|
37223
|
+
/**
|
|
37224
|
+
* Converts this ProxyGoingAway to JSON.
|
|
37225
|
+
* @function toJSON
|
|
37226
|
+
* @memberof api.ProxyGoingAway
|
|
37227
|
+
* @instance
|
|
37228
|
+
* @returns {Object.<string,*>} JSON object
|
|
37229
|
+
*/
|
|
37230
|
+
ProxyGoingAway.prototype.toJSON = function toJSON() {
|
|
37231
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
37232
|
+
};
|
|
37233
|
+
|
|
37234
|
+
return ProxyGoingAway;
|
|
37235
|
+
})();
|
|
37236
|
+
|
|
37237
|
+
api.FirewallDenied = (function() {
|
|
37238
|
+
|
|
37239
|
+
/**
|
|
37240
|
+
* Properties of a FirewallDenied.
|
|
37241
|
+
* @memberof api
|
|
37242
|
+
* @interface IFirewallDenied
|
|
37243
|
+
*/
|
|
37244
|
+
|
|
37245
|
+
/**
|
|
37246
|
+
* Constructs a new FirewallDenied.
|
|
37247
|
+
* @memberof api
|
|
37248
|
+
* @classdesc Represents a FirewallDenied.
|
|
37249
|
+
* @constructor
|
|
37250
|
+
* @param {api.IFirewallDenied=} [properties] Properties to set
|
|
37251
|
+
*/
|
|
37252
|
+
function FirewallDenied(properties) {
|
|
37253
|
+
if (properties)
|
|
37254
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
37255
|
+
if (properties[keys[i]] != null)
|
|
37256
|
+
this[keys[i]] = properties[keys[i]];
|
|
37257
|
+
}
|
|
37258
|
+
|
|
37259
|
+
/**
|
|
37260
|
+
* Creates a new FirewallDenied instance using the specified properties.
|
|
37261
|
+
* @function create
|
|
37262
|
+
* @memberof api.FirewallDenied
|
|
37263
|
+
* @static
|
|
37264
|
+
* @param {api.IFirewallDenied=} [properties] Properties to set
|
|
37265
|
+
* @returns {api.FirewallDenied} FirewallDenied instance
|
|
37266
|
+
*/
|
|
37267
|
+
FirewallDenied.create = function create(properties) {
|
|
37268
|
+
return FirewallDenied.fromObject(properties);
|
|
37269
|
+
};
|
|
37270
|
+
|
|
37271
|
+
/**
|
|
37272
|
+
* Encodes the specified FirewallDenied message. Does not implicitly {@link api.FirewallDenied.verify|verify} messages.
|
|
37273
|
+
* @function encode
|
|
37274
|
+
* @memberof api.FirewallDenied
|
|
37275
|
+
* @static
|
|
37276
|
+
* @param {api.FirewallDenied} message FirewallDenied message or plain object to encode
|
|
37277
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
37278
|
+
* @returns {$protobuf.Writer} Writer
|
|
37279
|
+
*/
|
|
37280
|
+
FirewallDenied.encode = function encode(message, writer) {
|
|
37281
|
+
if (!writer)
|
|
37282
|
+
writer = $Writer.create();
|
|
37283
|
+
return writer;
|
|
37284
|
+
};
|
|
37285
|
+
|
|
37286
|
+
/**
|
|
37287
|
+
* Encodes the specified FirewallDenied message, length delimited. Does not implicitly {@link api.FirewallDenied.verify|verify} messages.
|
|
37288
|
+
* @function encodeDelimited
|
|
37289
|
+
* @memberof api.FirewallDenied
|
|
37290
|
+
* @static
|
|
37291
|
+
* @param {api.FirewallDenied} message FirewallDenied message or plain object to encode
|
|
37292
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
37293
|
+
* @returns {$protobuf.Writer} Writer
|
|
37294
|
+
*/
|
|
37295
|
+
FirewallDenied.encodeDelimited = function encodeDelimited(message, writer) {
|
|
37296
|
+
return this.encode(message, writer).ldelim();
|
|
37297
|
+
};
|
|
37298
|
+
|
|
37299
|
+
/**
|
|
37300
|
+
* Decodes a FirewallDenied message from the specified reader or buffer.
|
|
37301
|
+
* @function decode
|
|
37302
|
+
* @memberof api.FirewallDenied
|
|
37303
|
+
* @static
|
|
37304
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
37305
|
+
* @param {number} [length] Message length if known beforehand
|
|
37306
|
+
* @returns {api.FirewallDenied} FirewallDenied
|
|
37307
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37308
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37309
|
+
*/
|
|
37310
|
+
FirewallDenied.decode = function decode(reader, length) {
|
|
37311
|
+
if (!(reader instanceof $Reader))
|
|
37312
|
+
reader = $Reader.create(reader);
|
|
37313
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.FirewallDenied();
|
|
37314
|
+
while (reader.pos < end) {
|
|
37315
|
+
var tag = reader.uint32();
|
|
37316
|
+
switch (tag >>> 3) {
|
|
37317
|
+
default:
|
|
37318
|
+
reader.skipType(tag & 7);
|
|
37319
|
+
break;
|
|
37320
|
+
}
|
|
37321
|
+
}
|
|
37322
|
+
return message;
|
|
37323
|
+
};
|
|
37324
|
+
|
|
37325
|
+
/**
|
|
37326
|
+
* Decodes a FirewallDenied message from the specified reader or buffer, length delimited.
|
|
37327
|
+
* @function decodeDelimited
|
|
37328
|
+
* @memberof api.FirewallDenied
|
|
37329
|
+
* @static
|
|
37330
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
37331
|
+
* @returns {api.FirewallDenied} FirewallDenied
|
|
37332
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37333
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37334
|
+
*/
|
|
37335
|
+
FirewallDenied.decodeDelimited = function decodeDelimited(reader) {
|
|
37336
|
+
if (!(reader instanceof $Reader))
|
|
37337
|
+
reader = new $Reader(reader);
|
|
37338
|
+
return this.decode(reader, reader.uint32());
|
|
37339
|
+
};
|
|
37340
|
+
|
|
37341
|
+
/**
|
|
37342
|
+
* Verifies a FirewallDenied message.
|
|
37343
|
+
* @function verify
|
|
37344
|
+
* @memberof api.FirewallDenied
|
|
37345
|
+
* @static
|
|
37346
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
37347
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
37348
|
+
*/
|
|
37349
|
+
FirewallDenied.verify = function verify(message) {
|
|
37350
|
+
if (typeof message !== "object" || message === null)
|
|
37351
|
+
return "object expected";
|
|
37352
|
+
return null;
|
|
37353
|
+
};
|
|
37354
|
+
|
|
37355
|
+
/**
|
|
37356
|
+
* Creates a FirewallDenied message from a plain object. Also converts values to their respective internal types.
|
|
37357
|
+
* @function fromObject
|
|
37358
|
+
* @memberof api.FirewallDenied
|
|
37359
|
+
* @static
|
|
37360
|
+
* @param {Object.<string,*>} object Plain object
|
|
37361
|
+
* @returns {api.FirewallDenied} FirewallDenied
|
|
37362
|
+
*/
|
|
37363
|
+
FirewallDenied.fromObject = function fromObject(object) {
|
|
37364
|
+
if (object instanceof $root.api.FirewallDenied)
|
|
37365
|
+
return object;
|
|
37366
|
+
return new $root.api.FirewallDenied();
|
|
37367
|
+
};
|
|
37368
|
+
|
|
37369
|
+
/**
|
|
37370
|
+
* Creates a plain object from a FirewallDenied message. Also converts values to other types if specified.
|
|
37371
|
+
* @function toObject
|
|
37372
|
+
* @memberof api.FirewallDenied
|
|
37373
|
+
* @static
|
|
37374
|
+
* @param {api.FirewallDenied} message FirewallDenied
|
|
37375
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
37376
|
+
* @returns {Object.<string,*>} Plain object
|
|
37377
|
+
*/
|
|
37378
|
+
FirewallDenied.toObject = function toObject() {
|
|
37379
|
+
return {};
|
|
37380
|
+
};
|
|
37381
|
+
|
|
37382
|
+
/**
|
|
37383
|
+
* Converts this FirewallDenied to JSON.
|
|
37384
|
+
* @function toJSON
|
|
37385
|
+
* @memberof api.FirewallDenied
|
|
37386
|
+
* @instance
|
|
37387
|
+
* @returns {Object.<string,*>} JSON object
|
|
37388
|
+
*/
|
|
37389
|
+
FirewallDenied.prototype.toJSON = function toJSON() {
|
|
37390
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
37391
|
+
};
|
|
37392
|
+
|
|
37393
|
+
return FirewallDenied;
|
|
37394
|
+
})();
|
|
37395
|
+
|
|
36767
37396
|
api.Repl = (function() {
|
|
36768
37397
|
|
|
36769
37398
|
/**
|