@replit/protocol 0.2.45 → 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 +319 -13
- package/main/index.js +828 -52
- package/main/index.js.flow +447 -22
- 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
|
/**
|
|
@@ -23956,6 +24325,7 @@
|
|
|
23956
24325
|
* @property {string|null} [name] User name
|
|
23957
24326
|
* @property {Array.<string>|null} [roles] User roles
|
|
23958
24327
|
* @property {number|null} [session] User session
|
|
24328
|
+
* @property {Array.<string>|null} [teams] User teams
|
|
23959
24329
|
*/
|
|
23960
24330
|
|
|
23961
24331
|
/**
|
|
@@ -23967,6 +24337,7 @@
|
|
|
23967
24337
|
*/
|
|
23968
24338
|
function User(properties) {
|
|
23969
24339
|
this.roles = [];
|
|
24340
|
+
this.teams = [];
|
|
23970
24341
|
if (properties)
|
|
23971
24342
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
23972
24343
|
if (properties[keys[i]] != null)
|
|
@@ -24005,6 +24376,14 @@
|
|
|
24005
24376
|
*/
|
|
24006
24377
|
User.prototype.session = 0;
|
|
24007
24378
|
|
|
24379
|
+
/**
|
|
24380
|
+
* User teams.
|
|
24381
|
+
* @member {Array.<string>} teams
|
|
24382
|
+
* @memberof api.User
|
|
24383
|
+
* @instance
|
|
24384
|
+
*/
|
|
24385
|
+
User.prototype.teams = $util.emptyArray;
|
|
24386
|
+
|
|
24008
24387
|
/**
|
|
24009
24388
|
* Creates a new User instance using the specified properties.
|
|
24010
24389
|
* @function create
|
|
@@ -24038,6 +24417,9 @@
|
|
|
24038
24417
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.roles[i]);
|
|
24039
24418
|
if (message.session != null && Object.hasOwnProperty.call(message, "session"))
|
|
24040
24419
|
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.session);
|
|
24420
|
+
if (message.teams != null && message.teams.length)
|
|
24421
|
+
for (var i = 0; i < message.teams.length; ++i)
|
|
24422
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.teams[i]);
|
|
24041
24423
|
return writer;
|
|
24042
24424
|
};
|
|
24043
24425
|
|
|
@@ -24086,6 +24468,11 @@
|
|
|
24086
24468
|
case 4:
|
|
24087
24469
|
message.session = reader.int32();
|
|
24088
24470
|
break;
|
|
24471
|
+
case 5:
|
|
24472
|
+
if (!(message.teams && message.teams.length))
|
|
24473
|
+
message.teams = [];
|
|
24474
|
+
message.teams.push(reader.string());
|
|
24475
|
+
break;
|
|
24089
24476
|
default:
|
|
24090
24477
|
reader.skipType(tag & 7);
|
|
24091
24478
|
break;
|
|
@@ -24137,6 +24524,13 @@
|
|
|
24137
24524
|
if (message.session != null && message.hasOwnProperty("session"))
|
|
24138
24525
|
if (!$util.isInteger(message.session))
|
|
24139
24526
|
return "session: integer expected";
|
|
24527
|
+
if (message.teams != null && message.hasOwnProperty("teams")) {
|
|
24528
|
+
if (!Array.isArray(message.teams))
|
|
24529
|
+
return "teams: array expected";
|
|
24530
|
+
for (var i = 0; i < message.teams.length; ++i)
|
|
24531
|
+
if (!$util.isString(message.teams[i]))
|
|
24532
|
+
return "teams: string[] expected";
|
|
24533
|
+
}
|
|
24140
24534
|
return null;
|
|
24141
24535
|
};
|
|
24142
24536
|
|
|
@@ -24165,6 +24559,13 @@
|
|
|
24165
24559
|
}
|
|
24166
24560
|
if (object.session != null)
|
|
24167
24561
|
message.session = object.session | 0;
|
|
24562
|
+
if (object.teams) {
|
|
24563
|
+
if (!Array.isArray(object.teams))
|
|
24564
|
+
throw TypeError(".api.User.teams: array expected");
|
|
24565
|
+
message.teams = [];
|
|
24566
|
+
for (var i = 0; i < object.teams.length; ++i)
|
|
24567
|
+
message.teams[i] = String(object.teams[i]);
|
|
24568
|
+
}
|
|
24168
24569
|
return message;
|
|
24169
24570
|
};
|
|
24170
24571
|
|
|
@@ -24181,8 +24582,10 @@
|
|
|
24181
24582
|
if (!options)
|
|
24182
24583
|
options = {};
|
|
24183
24584
|
var object = {};
|
|
24184
|
-
if (options.arrays || options.defaults)
|
|
24585
|
+
if (options.arrays || options.defaults) {
|
|
24185
24586
|
object.roles = [];
|
|
24587
|
+
object.teams = [];
|
|
24588
|
+
}
|
|
24186
24589
|
if (options.defaults) {
|
|
24187
24590
|
object.id = 0;
|
|
24188
24591
|
object.name = "";
|
|
@@ -24199,6 +24602,11 @@
|
|
|
24199
24602
|
}
|
|
24200
24603
|
if (message.session != null && message.hasOwnProperty("session"))
|
|
24201
24604
|
object.session = message.session;
|
|
24605
|
+
if (message.teams && message.teams.length) {
|
|
24606
|
+
object.teams = [];
|
|
24607
|
+
for (var j = 0; j < message.teams.length; ++j)
|
|
24608
|
+
object.teams[j] = message.teams[j];
|
|
24609
|
+
}
|
|
24202
24610
|
return object;
|
|
24203
24611
|
};
|
|
24204
24612
|
|
|
@@ -27664,6 +28072,7 @@
|
|
|
27664
28072
|
* Properties of a PackageInstall.
|
|
27665
28073
|
* @memberof api
|
|
27666
28074
|
* @interface IPackageInstall
|
|
28075
|
+
* @property {boolean|null} [fromHosting] PackageInstall fromHosting
|
|
27667
28076
|
*/
|
|
27668
28077
|
|
|
27669
28078
|
/**
|
|
@@ -27680,6 +28089,14 @@
|
|
|
27680
28089
|
this[keys[i]] = properties[keys[i]];
|
|
27681
28090
|
}
|
|
27682
28091
|
|
|
28092
|
+
/**
|
|
28093
|
+
* PackageInstall fromHosting.
|
|
28094
|
+
* @member {boolean} fromHosting
|
|
28095
|
+
* @memberof api.PackageInstall
|
|
28096
|
+
* @instance
|
|
28097
|
+
*/
|
|
28098
|
+
PackageInstall.prototype.fromHosting = false;
|
|
28099
|
+
|
|
27683
28100
|
/**
|
|
27684
28101
|
* Creates a new PackageInstall instance using the specified properties.
|
|
27685
28102
|
* @function create
|
|
@@ -27704,6 +28121,8 @@
|
|
|
27704
28121
|
PackageInstall.encode = function encode(message, writer) {
|
|
27705
28122
|
if (!writer)
|
|
27706
28123
|
writer = $Writer.create();
|
|
28124
|
+
if (message.fromHosting != null && Object.hasOwnProperty.call(message, "fromHosting"))
|
|
28125
|
+
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.fromHosting);
|
|
27707
28126
|
return writer;
|
|
27708
28127
|
};
|
|
27709
28128
|
|
|
@@ -27738,6 +28157,9 @@
|
|
|
27738
28157
|
while (reader.pos < end) {
|
|
27739
28158
|
var tag = reader.uint32();
|
|
27740
28159
|
switch (tag >>> 3) {
|
|
28160
|
+
case 1:
|
|
28161
|
+
message.fromHosting = reader.bool();
|
|
28162
|
+
break;
|
|
27741
28163
|
default:
|
|
27742
28164
|
reader.skipType(tag & 7);
|
|
27743
28165
|
break;
|
|
@@ -27773,6 +28195,9 @@
|
|
|
27773
28195
|
PackageInstall.verify = function verify(message) {
|
|
27774
28196
|
if (typeof message !== "object" || message === null)
|
|
27775
28197
|
return "object expected";
|
|
28198
|
+
if (message.fromHosting != null && message.hasOwnProperty("fromHosting"))
|
|
28199
|
+
if (typeof message.fromHosting !== "boolean")
|
|
28200
|
+
return "fromHosting: boolean expected";
|
|
27776
28201
|
return null;
|
|
27777
28202
|
};
|
|
27778
28203
|
|
|
@@ -27787,7 +28212,10 @@
|
|
|
27787
28212
|
PackageInstall.fromObject = function fromObject(object) {
|
|
27788
28213
|
if (object instanceof $root.api.PackageInstall)
|
|
27789
28214
|
return object;
|
|
27790
|
-
|
|
28215
|
+
var message = new $root.api.PackageInstall();
|
|
28216
|
+
if (object.fromHosting != null)
|
|
28217
|
+
message.fromHosting = Boolean(object.fromHosting);
|
|
28218
|
+
return message;
|
|
27791
28219
|
};
|
|
27792
28220
|
|
|
27793
28221
|
/**
|
|
@@ -27799,8 +28227,15 @@
|
|
|
27799
28227
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
27800
28228
|
* @returns {Object.<string,*>} Plain object
|
|
27801
28229
|
*/
|
|
27802
|
-
PackageInstall.toObject = function toObject() {
|
|
27803
|
-
|
|
28230
|
+
PackageInstall.toObject = function toObject(message, options) {
|
|
28231
|
+
if (!options)
|
|
28232
|
+
options = {};
|
|
28233
|
+
var object = {};
|
|
28234
|
+
if (options.defaults)
|
|
28235
|
+
object.fromHosting = false;
|
|
28236
|
+
if (message.fromHosting != null && message.hasOwnProperty("fromHosting"))
|
|
28237
|
+
object.fromHosting = message.fromHosting;
|
|
28238
|
+
return object;
|
|
27804
28239
|
};
|
|
27805
28240
|
|
|
27806
28241
|
/**
|
|
@@ -35453,6 +35888,8 @@
|
|
|
35453
35888
|
* @memberof api
|
|
35454
35889
|
* @interface ILanguageServerConfig
|
|
35455
35890
|
* @property {api.Exec|api.IExec|null} [startCommand] LanguageServerConfig startCommand
|
|
35891
|
+
* @property {string|null} [configurationJson] LanguageServerConfig configurationJson
|
|
35892
|
+
* @property {string|null} [initializationOptionsJson] LanguageServerConfig initializationOptionsJson
|
|
35456
35893
|
*/
|
|
35457
35894
|
|
|
35458
35895
|
/**
|
|
@@ -35477,6 +35914,22 @@
|
|
|
35477
35914
|
*/
|
|
35478
35915
|
LanguageServerConfig.prototype.startCommand = null;
|
|
35479
35916
|
|
|
35917
|
+
/**
|
|
35918
|
+
* LanguageServerConfig configurationJson.
|
|
35919
|
+
* @member {string} configurationJson
|
|
35920
|
+
* @memberof api.LanguageServerConfig
|
|
35921
|
+
* @instance
|
|
35922
|
+
*/
|
|
35923
|
+
LanguageServerConfig.prototype.configurationJson = "";
|
|
35924
|
+
|
|
35925
|
+
/**
|
|
35926
|
+
* LanguageServerConfig initializationOptionsJson.
|
|
35927
|
+
* @member {string} initializationOptionsJson
|
|
35928
|
+
* @memberof api.LanguageServerConfig
|
|
35929
|
+
* @instance
|
|
35930
|
+
*/
|
|
35931
|
+
LanguageServerConfig.prototype.initializationOptionsJson = "";
|
|
35932
|
+
|
|
35480
35933
|
/**
|
|
35481
35934
|
* Creates a new LanguageServerConfig instance using the specified properties.
|
|
35482
35935
|
* @function create
|
|
@@ -35503,6 +35956,10 @@
|
|
|
35503
35956
|
writer = $Writer.create();
|
|
35504
35957
|
if (message.startCommand != null && Object.hasOwnProperty.call(message, "startCommand"))
|
|
35505
35958
|
$root.api.Exec.encode(message.startCommand, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
35959
|
+
if (message.configurationJson != null && Object.hasOwnProperty.call(message, "configurationJson"))
|
|
35960
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.configurationJson);
|
|
35961
|
+
if (message.initializationOptionsJson != null && Object.hasOwnProperty.call(message, "initializationOptionsJson"))
|
|
35962
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.initializationOptionsJson);
|
|
35506
35963
|
return writer;
|
|
35507
35964
|
};
|
|
35508
35965
|
|
|
@@ -35540,6 +35997,12 @@
|
|
|
35540
35997
|
case 1:
|
|
35541
35998
|
message.startCommand = $root.api.Exec.decode(reader, reader.uint32());
|
|
35542
35999
|
break;
|
|
36000
|
+
case 2:
|
|
36001
|
+
message.configurationJson = reader.string();
|
|
36002
|
+
break;
|
|
36003
|
+
case 3:
|
|
36004
|
+
message.initializationOptionsJson = reader.string();
|
|
36005
|
+
break;
|
|
35543
36006
|
default:
|
|
35544
36007
|
reader.skipType(tag & 7);
|
|
35545
36008
|
break;
|
|
@@ -35580,6 +36043,12 @@
|
|
|
35580
36043
|
if (error)
|
|
35581
36044
|
return "startCommand." + error;
|
|
35582
36045
|
}
|
|
36046
|
+
if (message.configurationJson != null && message.hasOwnProperty("configurationJson"))
|
|
36047
|
+
if (!$util.isString(message.configurationJson))
|
|
36048
|
+
return "configurationJson: string expected";
|
|
36049
|
+
if (message.initializationOptionsJson != null && message.hasOwnProperty("initializationOptionsJson"))
|
|
36050
|
+
if (!$util.isString(message.initializationOptionsJson))
|
|
36051
|
+
return "initializationOptionsJson: string expected";
|
|
35583
36052
|
return null;
|
|
35584
36053
|
};
|
|
35585
36054
|
|
|
@@ -35600,6 +36069,10 @@
|
|
|
35600
36069
|
throw TypeError(".api.LanguageServerConfig.startCommand: object expected");
|
|
35601
36070
|
message.startCommand = $root.api.Exec.fromObject(object.startCommand);
|
|
35602
36071
|
}
|
|
36072
|
+
if (object.configurationJson != null)
|
|
36073
|
+
message.configurationJson = String(object.configurationJson);
|
|
36074
|
+
if (object.initializationOptionsJson != null)
|
|
36075
|
+
message.initializationOptionsJson = String(object.initializationOptionsJson);
|
|
35603
36076
|
return message;
|
|
35604
36077
|
};
|
|
35605
36078
|
|
|
@@ -35616,10 +36089,17 @@
|
|
|
35616
36089
|
if (!options)
|
|
35617
36090
|
options = {};
|
|
35618
36091
|
var object = {};
|
|
35619
|
-
if (options.defaults)
|
|
36092
|
+
if (options.defaults) {
|
|
35620
36093
|
object.startCommand = null;
|
|
36094
|
+
object.configurationJson = "";
|
|
36095
|
+
object.initializationOptionsJson = "";
|
|
36096
|
+
}
|
|
35621
36097
|
if (message.startCommand != null && message.hasOwnProperty("startCommand"))
|
|
35622
36098
|
object.startCommand = $root.api.Exec.toObject(message.startCommand, options);
|
|
36099
|
+
if (message.configurationJson != null && message.hasOwnProperty("configurationJson"))
|
|
36100
|
+
object.configurationJson = message.configurationJson;
|
|
36101
|
+
if (message.initializationOptionsJson != null && message.hasOwnProperty("initializationOptionsJson"))
|
|
36102
|
+
object.initializationOptionsJson = message.initializationOptionsJson;
|
|
35623
36103
|
return object;
|
|
35624
36104
|
};
|
|
35625
36105
|
|
|
@@ -36595,6 +37075,324 @@
|
|
|
36595
37075
|
return DebuggerConfig;
|
|
36596
37076
|
})();
|
|
36597
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
|
+
|
|
36598
37396
|
api.Repl = (function() {
|
|
36599
37397
|
|
|
36600
37398
|
/**
|
|
@@ -36904,6 +37702,7 @@
|
|
|
36904
37702
|
* @property {number|null} [shares] ResourceLimits shares
|
|
36905
37703
|
* @property {number|null} [disk] ResourceLimits disk
|
|
36906
37704
|
* @property {api.ResourceLimits.Cachability|null} [cache] ResourceLimits cache
|
|
37705
|
+
* @property {boolean|null} [restrictNetwork] ResourceLimits restrictNetwork
|
|
36907
37706
|
*/
|
|
36908
37707
|
|
|
36909
37708
|
/**
|
|
@@ -36968,6 +37767,14 @@
|
|
|
36968
37767
|
*/
|
|
36969
37768
|
ResourceLimits.prototype.cache = 0;
|
|
36970
37769
|
|
|
37770
|
+
/**
|
|
37771
|
+
* ResourceLimits restrictNetwork.
|
|
37772
|
+
* @member {boolean} restrictNetwork
|
|
37773
|
+
* @memberof api.ResourceLimits
|
|
37774
|
+
* @instance
|
|
37775
|
+
*/
|
|
37776
|
+
ResourceLimits.prototype.restrictNetwork = false;
|
|
37777
|
+
|
|
36971
37778
|
/**
|
|
36972
37779
|
* Creates a new ResourceLimits instance using the specified properties.
|
|
36973
37780
|
* @function create
|
|
@@ -37004,6 +37811,8 @@
|
|
|
37004
37811
|
writer.uint32(/* id 5, wireType 0 =*/40).int64(message.disk);
|
|
37005
37812
|
if (message.cache != null && Object.hasOwnProperty.call(message, "cache"))
|
|
37006
37813
|
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.cache);
|
|
37814
|
+
if (message.restrictNetwork != null && Object.hasOwnProperty.call(message, "restrictNetwork"))
|
|
37815
|
+
writer.uint32(/* id 7, wireType 0 =*/56).bool(message.restrictNetwork);
|
|
37007
37816
|
return writer;
|
|
37008
37817
|
};
|
|
37009
37818
|
|
|
@@ -37056,6 +37865,9 @@
|
|
|
37056
37865
|
case 6:
|
|
37057
37866
|
message.cache = reader.int32();
|
|
37058
37867
|
break;
|
|
37868
|
+
case 7:
|
|
37869
|
+
message.restrictNetwork = reader.bool();
|
|
37870
|
+
break;
|
|
37059
37871
|
default:
|
|
37060
37872
|
reader.skipType(tag & 7);
|
|
37061
37873
|
break;
|
|
@@ -37115,6 +37927,9 @@
|
|
|
37115
37927
|
case 2:
|
|
37116
37928
|
break;
|
|
37117
37929
|
}
|
|
37930
|
+
if (message.restrictNetwork != null && message.hasOwnProperty("restrictNetwork"))
|
|
37931
|
+
if (typeof message.restrictNetwork !== "boolean")
|
|
37932
|
+
return "restrictNetwork: boolean expected";
|
|
37118
37933
|
return null;
|
|
37119
37934
|
};
|
|
37120
37935
|
|
|
@@ -37168,6 +37983,8 @@
|
|
|
37168
37983
|
message.cache = 2;
|
|
37169
37984
|
break;
|
|
37170
37985
|
}
|
|
37986
|
+
if (object.restrictNetwork != null)
|
|
37987
|
+
message.restrictNetwork = Boolean(object.restrictNetwork);
|
|
37171
37988
|
return message;
|
|
37172
37989
|
};
|
|
37173
37990
|
|
|
@@ -37199,6 +38016,7 @@
|
|
|
37199
38016
|
} else
|
|
37200
38017
|
object.disk = options.longs === String ? "0" : 0;
|
|
37201
38018
|
object.cache = options.enums === String ? "NONE" : 0;
|
|
38019
|
+
object.restrictNetwork = false;
|
|
37202
38020
|
}
|
|
37203
38021
|
if (message.net != null && message.hasOwnProperty("net"))
|
|
37204
38022
|
object.net = message.net;
|
|
@@ -37218,6 +38036,8 @@
|
|
|
37218
38036
|
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;
|
|
37219
38037
|
if (message.cache != null && message.hasOwnProperty("cache"))
|
|
37220
38038
|
object.cache = options.enums === String ? $root.api.ResourceLimits.Cachability[message.cache] : message.cache;
|
|
38039
|
+
if (message.restrictNetwork != null && message.hasOwnProperty("restrictNetwork"))
|
|
38040
|
+
object.restrictNetwork = message.restrictNetwork;
|
|
37221
38041
|
return object;
|
|
37222
38042
|
};
|
|
37223
38043
|
|
|
@@ -39452,9 +40272,7 @@
|
|
|
39452
40272
|
* @property {string|null} [id] ClusterMetadata id
|
|
39453
40273
|
* @property {string|null} [conmanURL] ClusterMetadata conmanURL
|
|
39454
40274
|
* @property {string|null} [gurl] ClusterMetadata gurl
|
|
39455
|
-
* @property {string|null} [proxyHost] ClusterMetadata proxyHost
|
|
39456
40275
|
* @property {string|null} [proxy] ClusterMetadata proxy
|
|
39457
|
-
* @property {string|null} [proxyIP] ClusterMetadata proxyIP
|
|
39458
40276
|
*/
|
|
39459
40277
|
|
|
39460
40278
|
/**
|
|
@@ -39495,14 +40313,6 @@
|
|
|
39495
40313
|
*/
|
|
39496
40314
|
ClusterMetadata.prototype.gurl = "";
|
|
39497
40315
|
|
|
39498
|
-
/**
|
|
39499
|
-
* ClusterMetadata proxyHost.
|
|
39500
|
-
* @member {string} proxyHost
|
|
39501
|
-
* @memberof api.ClusterMetadata
|
|
39502
|
-
* @instance
|
|
39503
|
-
*/
|
|
39504
|
-
ClusterMetadata.prototype.proxyHost = "";
|
|
39505
|
-
|
|
39506
40316
|
/**
|
|
39507
40317
|
* ClusterMetadata proxy.
|
|
39508
40318
|
* @member {string} proxy
|
|
@@ -39511,14 +40321,6 @@
|
|
|
39511
40321
|
*/
|
|
39512
40322
|
ClusterMetadata.prototype.proxy = "";
|
|
39513
40323
|
|
|
39514
|
-
/**
|
|
39515
|
-
* ClusterMetadata proxyIP.
|
|
39516
|
-
* @member {string} proxyIP
|
|
39517
|
-
* @memberof api.ClusterMetadata
|
|
39518
|
-
* @instance
|
|
39519
|
-
*/
|
|
39520
|
-
ClusterMetadata.prototype.proxyIP = "";
|
|
39521
|
-
|
|
39522
40324
|
/**
|
|
39523
40325
|
* Creates a new ClusterMetadata instance using the specified properties.
|
|
39524
40326
|
* @function create
|
|
@@ -39549,12 +40351,8 @@
|
|
|
39549
40351
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.conmanURL);
|
|
39550
40352
|
if (message.gurl != null && Object.hasOwnProperty.call(message, "gurl"))
|
|
39551
40353
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.gurl);
|
|
39552
|
-
if (message.proxyHost != null && Object.hasOwnProperty.call(message, "proxyHost"))
|
|
39553
|
-
writer.uint32(/* id 4, wireType 2 =*/34).string(message.proxyHost);
|
|
39554
40354
|
if (message.proxy != null && Object.hasOwnProperty.call(message, "proxy"))
|
|
39555
40355
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.proxy);
|
|
39556
|
-
if (message.proxyIP != null && Object.hasOwnProperty.call(message, "proxyIP"))
|
|
39557
|
-
writer.uint32(/* id 6, wireType 2 =*/50).string(message.proxyIP);
|
|
39558
40356
|
return writer;
|
|
39559
40357
|
};
|
|
39560
40358
|
|
|
@@ -39598,15 +40396,9 @@
|
|
|
39598
40396
|
case 3:
|
|
39599
40397
|
message.gurl = reader.string();
|
|
39600
40398
|
break;
|
|
39601
|
-
case 4:
|
|
39602
|
-
message.proxyHost = reader.string();
|
|
39603
|
-
break;
|
|
39604
40399
|
case 5:
|
|
39605
40400
|
message.proxy = reader.string();
|
|
39606
40401
|
break;
|
|
39607
|
-
case 6:
|
|
39608
|
-
message.proxyIP = reader.string();
|
|
39609
|
-
break;
|
|
39610
40402
|
default:
|
|
39611
40403
|
reader.skipType(tag & 7);
|
|
39612
40404
|
break;
|
|
@@ -39651,15 +40443,9 @@
|
|
|
39651
40443
|
if (message.gurl != null && message.hasOwnProperty("gurl"))
|
|
39652
40444
|
if (!$util.isString(message.gurl))
|
|
39653
40445
|
return "gurl: string expected";
|
|
39654
|
-
if (message.proxyHost != null && message.hasOwnProperty("proxyHost"))
|
|
39655
|
-
if (!$util.isString(message.proxyHost))
|
|
39656
|
-
return "proxyHost: string expected";
|
|
39657
40446
|
if (message.proxy != null && message.hasOwnProperty("proxy"))
|
|
39658
40447
|
if (!$util.isString(message.proxy))
|
|
39659
40448
|
return "proxy: string expected";
|
|
39660
|
-
if (message.proxyIP != null && message.hasOwnProperty("proxyIP"))
|
|
39661
|
-
if (!$util.isString(message.proxyIP))
|
|
39662
|
-
return "proxyIP: string expected";
|
|
39663
40449
|
return null;
|
|
39664
40450
|
};
|
|
39665
40451
|
|
|
@@ -39681,12 +40467,8 @@
|
|
|
39681
40467
|
message.conmanURL = String(object.conmanURL);
|
|
39682
40468
|
if (object.gurl != null)
|
|
39683
40469
|
message.gurl = String(object.gurl);
|
|
39684
|
-
if (object.proxyHost != null)
|
|
39685
|
-
message.proxyHost = String(object.proxyHost);
|
|
39686
40470
|
if (object.proxy != null)
|
|
39687
40471
|
message.proxy = String(object.proxy);
|
|
39688
|
-
if (object.proxyIP != null)
|
|
39689
|
-
message.proxyIP = String(object.proxyIP);
|
|
39690
40472
|
return message;
|
|
39691
40473
|
};
|
|
39692
40474
|
|
|
@@ -39707,9 +40489,7 @@
|
|
|
39707
40489
|
object.id = "";
|
|
39708
40490
|
object.conmanURL = "";
|
|
39709
40491
|
object.gurl = "";
|
|
39710
|
-
object.proxyHost = "";
|
|
39711
40492
|
object.proxy = "";
|
|
39712
|
-
object.proxyIP = "";
|
|
39713
40493
|
}
|
|
39714
40494
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
39715
40495
|
object.id = message.id;
|
|
@@ -39717,12 +40497,8 @@
|
|
|
39717
40497
|
object.conmanURL = message.conmanURL;
|
|
39718
40498
|
if (message.gurl != null && message.hasOwnProperty("gurl"))
|
|
39719
40499
|
object.gurl = message.gurl;
|
|
39720
|
-
if (message.proxyHost != null && message.hasOwnProperty("proxyHost"))
|
|
39721
|
-
object.proxyHost = message.proxyHost;
|
|
39722
40500
|
if (message.proxy != null && message.hasOwnProperty("proxy"))
|
|
39723
40501
|
object.proxy = message.proxy;
|
|
39724
|
-
if (message.proxyIP != null && message.hasOwnProperty("proxyIP"))
|
|
39725
|
-
object.proxyIP = message.proxyIP;
|
|
39726
40502
|
return object;
|
|
39727
40503
|
};
|
|
39728
40504
|
|