@replit/protocol 0.2.47 → 0.2.50
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 +577 -1
- package/main/index.js +1318 -2
- package/main/index.js.flow +910 -117
- 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
|
|
@@ -176,7 +178,10 @@
|
|
|
176
178
|
* @property {api.DotReplitGetResponse|api.IDotReplitGetResponse|null} [dotReplitGetResponse] Command dotReplitGetResponse
|
|
177
179
|
* @property {api.RunConfigGetRequest|api.IRunConfigGetRequest|null} [runConfigGetRequest] Command runConfigGetRequest
|
|
178
180
|
* @property {api.RunConfigGetResponse|api.IRunConfigGetResponse|null} [runConfigGetResponse] Command runConfigGetResponse
|
|
181
|
+
* @property {api.DotReplitUpdateRequest|api.IDotReplitUpdateRequest|null} [dotReplitUpdateRequest] Command dotReplitUpdateRequest
|
|
182
|
+
* @property {api.DotReplitUpdateResponse|api.IDotReplitUpdateResponse|null} [dotReplitUpdateResponse] Command dotReplitUpdateResponse
|
|
179
183
|
* @property {api.StartLSP|api.IStartLSP|null} [startLSP] Command startLSP
|
|
184
|
+
* @property {api.FirewallDenied|api.IFirewallDenied|null} [firewallDenied] Command firewallDenied
|
|
180
185
|
* @property {string|null} [ref] Command ref
|
|
181
186
|
* @property {Object.<string,string>|null} [traceInfo] Command traceInfo
|
|
182
187
|
*/
|
|
@@ -260,6 +265,14 @@
|
|
|
260
265
|
*/
|
|
261
266
|
Command.prototype.portOpen = null;
|
|
262
267
|
|
|
268
|
+
/**
|
|
269
|
+
* Command portClose.
|
|
270
|
+
* @member {api.PortClose|null|undefined} portClose
|
|
271
|
+
* @memberof api.Command
|
|
272
|
+
* @instance
|
|
273
|
+
*/
|
|
274
|
+
Command.prototype.portClose = null;
|
|
275
|
+
|
|
263
276
|
/**
|
|
264
277
|
* Command toast.
|
|
265
278
|
* @member {api.Toast|null|undefined} toast
|
|
@@ -644,6 +657,14 @@
|
|
|
644
657
|
*/
|
|
645
658
|
Command.prototype.goodbye = null;
|
|
646
659
|
|
|
660
|
+
/**
|
|
661
|
+
* Command proxyGoingAway.
|
|
662
|
+
* @member {api.ProxyGoingAway|null|undefined} proxyGoingAway
|
|
663
|
+
* @memberof api.Command
|
|
664
|
+
* @instance
|
|
665
|
+
*/
|
|
666
|
+
Command.prototype.proxyGoingAway = null;
|
|
667
|
+
|
|
647
668
|
/**
|
|
648
669
|
* Command hint.
|
|
649
670
|
* @member {api.Hint|null|undefined} hint
|
|
@@ -1356,6 +1377,22 @@
|
|
|
1356
1377
|
*/
|
|
1357
1378
|
Command.prototype.runConfigGetResponse = null;
|
|
1358
1379
|
|
|
1380
|
+
/**
|
|
1381
|
+
* Command dotReplitUpdateRequest.
|
|
1382
|
+
* @member {api.DotReplitUpdateRequest|null|undefined} dotReplitUpdateRequest
|
|
1383
|
+
* @memberof api.Command
|
|
1384
|
+
* @instance
|
|
1385
|
+
*/
|
|
1386
|
+
Command.prototype.dotReplitUpdateRequest = null;
|
|
1387
|
+
|
|
1388
|
+
/**
|
|
1389
|
+
* Command dotReplitUpdateResponse.
|
|
1390
|
+
* @member {api.DotReplitUpdateResponse|null|undefined} dotReplitUpdateResponse
|
|
1391
|
+
* @memberof api.Command
|
|
1392
|
+
* @instance
|
|
1393
|
+
*/
|
|
1394
|
+
Command.prototype.dotReplitUpdateResponse = null;
|
|
1395
|
+
|
|
1359
1396
|
/**
|
|
1360
1397
|
* Command startLSP.
|
|
1361
1398
|
* @member {api.StartLSP|null|undefined} startLSP
|
|
@@ -1364,6 +1401,14 @@
|
|
|
1364
1401
|
*/
|
|
1365
1402
|
Command.prototype.startLSP = null;
|
|
1366
1403
|
|
|
1404
|
+
/**
|
|
1405
|
+
* Command firewallDenied.
|
|
1406
|
+
* @member {api.FirewallDenied|null|undefined} firewallDenied
|
|
1407
|
+
* @memberof api.Command
|
|
1408
|
+
* @instance
|
|
1409
|
+
*/
|
|
1410
|
+
Command.prototype.firewallDenied = null;
|
|
1411
|
+
|
|
1367
1412
|
/**
|
|
1368
1413
|
* Command ref.
|
|
1369
1414
|
* @member {string} ref
|
|
@@ -1385,12 +1430,12 @@
|
|
|
1385
1430
|
|
|
1386
1431
|
/**
|
|
1387
1432
|
* 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
|
|
1433
|
+
* @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"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|undefined} body
|
|
1389
1434
|
* @memberof api.Command
|
|
1390
1435
|
* @instance
|
|
1391
1436
|
*/
|
|
1392
1437
|
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"]),
|
|
1438
|
+
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", "dotReplitUpdateRequest", "dotReplitUpdateResponse", "startLSP", "firewallDenied"]),
|
|
1394
1439
|
set: $util.oneOfSetter($oneOfFields)
|
|
1395
1440
|
});
|
|
1396
1441
|
|
|
@@ -1496,6 +1541,8 @@
|
|
|
1496
1541
|
writer.uint32(/* id 46, wireType 2 =*/370).string(message.stderr);
|
|
1497
1542
|
if (message.log != null && Object.hasOwnProperty.call(message, "log"))
|
|
1498
1543
|
writer.uint32(/* id 47, wireType 2 =*/378).string(message.log);
|
|
1544
|
+
if (message.portClose != null && Object.hasOwnProperty.call(message, "portClose"))
|
|
1545
|
+
$root.api.PortClose.encode(message.portClose, writer.uint32(/* id 48, wireType 2 =*/386).fork()).ldelim();
|
|
1499
1546
|
if (message.runContainedTest != null && Object.hasOwnProperty.call(message, "runContainedTest"))
|
|
1500
1547
|
$root.api.ContainedTest.encode(message.runContainedTest, writer.uint32(/* id 70, wireType 2 =*/562).fork()).ldelim();
|
|
1501
1548
|
if (message.testResult != null && Object.hasOwnProperty.call(message, "testResult"))
|
|
@@ -1516,6 +1563,8 @@
|
|
|
1516
1563
|
$root.api.Hello.encode(message.hello, writer.uint32(/* id 122, wireType 2 =*/978).fork()).ldelim();
|
|
1517
1564
|
if (message.goodbye != null && Object.hasOwnProperty.call(message, "goodbye"))
|
|
1518
1565
|
$root.api.Goodbye.encode(message.goodbye, writer.uint32(/* id 123, wireType 2 =*/986).fork()).ldelim();
|
|
1566
|
+
if (message.proxyGoingAway != null && Object.hasOwnProperty.call(message, "proxyGoingAway"))
|
|
1567
|
+
$root.api.ProxyGoingAway.encode(message.proxyGoingAway, writer.uint32(/* id 124, wireType 2 =*/994).fork()).ldelim();
|
|
1519
1568
|
if (message.hint != null && Object.hasOwnProperty.call(message, "hint"))
|
|
1520
1569
|
$root.api.Hint.encode(message.hint, writer.uint32(/* id 130, wireType 2 =*/1042).fork()).ldelim();
|
|
1521
1570
|
if (message.connect != null && Object.hasOwnProperty.call(message, "connect"))
|
|
@@ -1710,6 +1759,12 @@
|
|
|
1710
1759
|
$root.api.RunConfigGetResponse.encode(message.runConfigGetResponse, writer.uint32(/* id 391, wireType 2 =*/3130).fork()).ldelim();
|
|
1711
1760
|
if (message.NoninteractiveFSChangeEvent != null && Object.hasOwnProperty.call(message, "NoninteractiveFSChangeEvent"))
|
|
1712
1761
|
writer.uint32(/* id 392, wireType 0 =*/3136).bool(message.NoninteractiveFSChangeEvent);
|
|
1762
|
+
if (message.firewallDenied != null && Object.hasOwnProperty.call(message, "firewallDenied"))
|
|
1763
|
+
$root.api.FirewallDenied.encode(message.firewallDenied, writer.uint32(/* id 393, wireType 2 =*/3146).fork()).ldelim();
|
|
1764
|
+
if (message.dotReplitUpdateRequest != null && Object.hasOwnProperty.call(message, "dotReplitUpdateRequest"))
|
|
1765
|
+
$root.api.DotReplitUpdateRequest.encode(message.dotReplitUpdateRequest, writer.uint32(/* id 395, wireType 2 =*/3162).fork()).ldelim();
|
|
1766
|
+
if (message.dotReplitUpdateResponse != null && Object.hasOwnProperty.call(message, "dotReplitUpdateResponse"))
|
|
1767
|
+
$root.api.DotReplitUpdateResponse.encode(message.dotReplitUpdateResponse, writer.uint32(/* id 396, wireType 2 =*/3170).fork()).ldelim();
|
|
1713
1768
|
if (message.ref != null && Object.hasOwnProperty.call(message, "ref"))
|
|
1714
1769
|
writer.uint32(/* id 1000, wireType 2 =*/8002).string(message.ref);
|
|
1715
1770
|
if (message.traceInfo != null && Object.hasOwnProperty.call(message, "traceInfo"))
|
|
@@ -1773,6 +1828,9 @@
|
|
|
1773
1828
|
case 10:
|
|
1774
1829
|
message.portOpen = $root.api.PortOpen.decode(reader, reader.uint32());
|
|
1775
1830
|
break;
|
|
1831
|
+
case 48:
|
|
1832
|
+
message.portClose = $root.api.PortClose.decode(reader, reader.uint32());
|
|
1833
|
+
break;
|
|
1776
1834
|
case 11:
|
|
1777
1835
|
message.toast = $root.api.Toast.decode(reader, reader.uint32());
|
|
1778
1836
|
break;
|
|
@@ -1917,6 +1975,9 @@
|
|
|
1917
1975
|
case 123:
|
|
1918
1976
|
message.goodbye = $root.api.Goodbye.decode(reader, reader.uint32());
|
|
1919
1977
|
break;
|
|
1978
|
+
case 124:
|
|
1979
|
+
message.proxyGoingAway = $root.api.ProxyGoingAway.decode(reader, reader.uint32());
|
|
1980
|
+
break;
|
|
1920
1981
|
case 130:
|
|
1921
1982
|
message.hint = $root.api.Hint.decode(reader, reader.uint32());
|
|
1922
1983
|
break;
|
|
@@ -2184,9 +2245,18 @@
|
|
|
2184
2245
|
case 391:
|
|
2185
2246
|
message.runConfigGetResponse = $root.api.RunConfigGetResponse.decode(reader, reader.uint32());
|
|
2186
2247
|
break;
|
|
2248
|
+
case 395:
|
|
2249
|
+
message.dotReplitUpdateRequest = $root.api.DotReplitUpdateRequest.decode(reader, reader.uint32());
|
|
2250
|
+
break;
|
|
2251
|
+
case 396:
|
|
2252
|
+
message.dotReplitUpdateResponse = $root.api.DotReplitUpdateResponse.decode(reader, reader.uint32());
|
|
2253
|
+
break;
|
|
2187
2254
|
case 345:
|
|
2188
2255
|
message.startLSP = $root.api.StartLSP.decode(reader, reader.uint32());
|
|
2189
2256
|
break;
|
|
2257
|
+
case 393:
|
|
2258
|
+
message.firewallDenied = $root.api.FirewallDenied.decode(reader, reader.uint32());
|
|
2259
|
+
break;
|
|
2190
2260
|
case 1000:
|
|
2191
2261
|
message.ref = reader.string();
|
|
2192
2262
|
break;
|
|
@@ -2312,6 +2382,16 @@
|
|
|
2312
2382
|
return "portOpen." + error;
|
|
2313
2383
|
}
|
|
2314
2384
|
}
|
|
2385
|
+
if (message.portClose != null && message.hasOwnProperty("portClose")) {
|
|
2386
|
+
if (properties.body === 1)
|
|
2387
|
+
return "body: multiple values";
|
|
2388
|
+
properties.body = 1;
|
|
2389
|
+
{
|
|
2390
|
+
var error = $root.api.PortClose.verify(message.portClose);
|
|
2391
|
+
if (error)
|
|
2392
|
+
return "portClose." + error;
|
|
2393
|
+
}
|
|
2394
|
+
}
|
|
2315
2395
|
if (message.toast != null && message.hasOwnProperty("toast")) {
|
|
2316
2396
|
if (properties.body === 1)
|
|
2317
2397
|
return "body: multiple values";
|
|
@@ -2770,6 +2850,16 @@
|
|
|
2770
2850
|
return "goodbye." + error;
|
|
2771
2851
|
}
|
|
2772
2852
|
}
|
|
2853
|
+
if (message.proxyGoingAway != null && message.hasOwnProperty("proxyGoingAway")) {
|
|
2854
|
+
if (properties.body === 1)
|
|
2855
|
+
return "body: multiple values";
|
|
2856
|
+
properties.body = 1;
|
|
2857
|
+
{
|
|
2858
|
+
var error = $root.api.ProxyGoingAway.verify(message.proxyGoingAway);
|
|
2859
|
+
if (error)
|
|
2860
|
+
return "proxyGoingAway." + error;
|
|
2861
|
+
}
|
|
2862
|
+
}
|
|
2773
2863
|
if (message.hint != null && message.hasOwnProperty("hint")) {
|
|
2774
2864
|
if (properties.body === 1)
|
|
2775
2865
|
return "body: multiple values";
|
|
@@ -3654,6 +3744,26 @@
|
|
|
3654
3744
|
return "runConfigGetResponse." + error;
|
|
3655
3745
|
}
|
|
3656
3746
|
}
|
|
3747
|
+
if (message.dotReplitUpdateRequest != null && message.hasOwnProperty("dotReplitUpdateRequest")) {
|
|
3748
|
+
if (properties.body === 1)
|
|
3749
|
+
return "body: multiple values";
|
|
3750
|
+
properties.body = 1;
|
|
3751
|
+
{
|
|
3752
|
+
var error = $root.api.DotReplitUpdateRequest.verify(message.dotReplitUpdateRequest);
|
|
3753
|
+
if (error)
|
|
3754
|
+
return "dotReplitUpdateRequest." + error;
|
|
3755
|
+
}
|
|
3756
|
+
}
|
|
3757
|
+
if (message.dotReplitUpdateResponse != null && message.hasOwnProperty("dotReplitUpdateResponse")) {
|
|
3758
|
+
if (properties.body === 1)
|
|
3759
|
+
return "body: multiple values";
|
|
3760
|
+
properties.body = 1;
|
|
3761
|
+
{
|
|
3762
|
+
var error = $root.api.DotReplitUpdateResponse.verify(message.dotReplitUpdateResponse);
|
|
3763
|
+
if (error)
|
|
3764
|
+
return "dotReplitUpdateResponse." + error;
|
|
3765
|
+
}
|
|
3766
|
+
}
|
|
3657
3767
|
if (message.startLSP != null && message.hasOwnProperty("startLSP")) {
|
|
3658
3768
|
if (properties.body === 1)
|
|
3659
3769
|
return "body: multiple values";
|
|
@@ -3664,6 +3774,16 @@
|
|
|
3664
3774
|
return "startLSP." + error;
|
|
3665
3775
|
}
|
|
3666
3776
|
}
|
|
3777
|
+
if (message.firewallDenied != null && message.hasOwnProperty("firewallDenied")) {
|
|
3778
|
+
if (properties.body === 1)
|
|
3779
|
+
return "body: multiple values";
|
|
3780
|
+
properties.body = 1;
|
|
3781
|
+
{
|
|
3782
|
+
var error = $root.api.FirewallDenied.verify(message.firewallDenied);
|
|
3783
|
+
if (error)
|
|
3784
|
+
return "firewallDenied." + error;
|
|
3785
|
+
}
|
|
3786
|
+
}
|
|
3667
3787
|
if (message.ref != null && message.hasOwnProperty("ref"))
|
|
3668
3788
|
if (!$util.isString(message.ref))
|
|
3669
3789
|
return "ref: string expected";
|
|
@@ -3724,6 +3844,11 @@
|
|
|
3724
3844
|
throw TypeError(".api.Command.portOpen: object expected");
|
|
3725
3845
|
message.portOpen = $root.api.PortOpen.fromObject(object.portOpen);
|
|
3726
3846
|
}
|
|
3847
|
+
if (object.portClose != null) {
|
|
3848
|
+
if (typeof object.portClose !== "object")
|
|
3849
|
+
throw TypeError(".api.Command.portClose: object expected");
|
|
3850
|
+
message.portClose = $root.api.PortClose.fromObject(object.portClose);
|
|
3851
|
+
}
|
|
3727
3852
|
if (object.toast != null) {
|
|
3728
3853
|
if (typeof object.toast !== "object")
|
|
3729
3854
|
throw TypeError(".api.Command.toast: object expected");
|
|
@@ -3945,6 +4070,11 @@
|
|
|
3945
4070
|
throw TypeError(".api.Command.goodbye: object expected");
|
|
3946
4071
|
message.goodbye = $root.api.Goodbye.fromObject(object.goodbye);
|
|
3947
4072
|
}
|
|
4073
|
+
if (object.proxyGoingAway != null) {
|
|
4074
|
+
if (typeof object.proxyGoingAway !== "object")
|
|
4075
|
+
throw TypeError(".api.Command.proxyGoingAway: object expected");
|
|
4076
|
+
message.proxyGoingAway = $root.api.ProxyGoingAway.fromObject(object.proxyGoingAway);
|
|
4077
|
+
}
|
|
3948
4078
|
if (object.hint != null) {
|
|
3949
4079
|
if (typeof object.hint !== "object")
|
|
3950
4080
|
throw TypeError(".api.Command.hint: object expected");
|
|
@@ -4384,11 +4514,26 @@
|
|
|
4384
4514
|
throw TypeError(".api.Command.runConfigGetResponse: object expected");
|
|
4385
4515
|
message.runConfigGetResponse = $root.api.RunConfigGetResponse.fromObject(object.runConfigGetResponse);
|
|
4386
4516
|
}
|
|
4517
|
+
if (object.dotReplitUpdateRequest != null) {
|
|
4518
|
+
if (typeof object.dotReplitUpdateRequest !== "object")
|
|
4519
|
+
throw TypeError(".api.Command.dotReplitUpdateRequest: object expected");
|
|
4520
|
+
message.dotReplitUpdateRequest = $root.api.DotReplitUpdateRequest.fromObject(object.dotReplitUpdateRequest);
|
|
4521
|
+
}
|
|
4522
|
+
if (object.dotReplitUpdateResponse != null) {
|
|
4523
|
+
if (typeof object.dotReplitUpdateResponse !== "object")
|
|
4524
|
+
throw TypeError(".api.Command.dotReplitUpdateResponse: object expected");
|
|
4525
|
+
message.dotReplitUpdateResponse = $root.api.DotReplitUpdateResponse.fromObject(object.dotReplitUpdateResponse);
|
|
4526
|
+
}
|
|
4387
4527
|
if (object.startLSP != null) {
|
|
4388
4528
|
if (typeof object.startLSP !== "object")
|
|
4389
4529
|
throw TypeError(".api.Command.startLSP: object expected");
|
|
4390
4530
|
message.startLSP = $root.api.StartLSP.fromObject(object.startLSP);
|
|
4391
4531
|
}
|
|
4532
|
+
if (object.firewallDenied != null) {
|
|
4533
|
+
if (typeof object.firewallDenied !== "object")
|
|
4534
|
+
throw TypeError(".api.Command.firewallDenied: object expected");
|
|
4535
|
+
message.firewallDenied = $root.api.FirewallDenied.fromObject(object.firewallDenied);
|
|
4536
|
+
}
|
|
4392
4537
|
if (object.ref != null)
|
|
4393
4538
|
message.ref = String(object.ref);
|
|
4394
4539
|
if (object.traceInfo) {
|
|
@@ -4610,6 +4755,11 @@
|
|
|
4610
4755
|
if (options.oneofs)
|
|
4611
4756
|
object.body = "log";
|
|
4612
4757
|
}
|
|
4758
|
+
if (message.portClose != null && message.hasOwnProperty("portClose")) {
|
|
4759
|
+
object.portClose = $root.api.PortClose.toObject(message.portClose, options);
|
|
4760
|
+
if (options.oneofs)
|
|
4761
|
+
object.body = "portClose";
|
|
4762
|
+
}
|
|
4613
4763
|
if (message.runContainedTest != null && message.hasOwnProperty("runContainedTest")) {
|
|
4614
4764
|
object.runContainedTest = $root.api.ContainedTest.toObject(message.runContainedTest, options);
|
|
4615
4765
|
if (options.oneofs)
|
|
@@ -4660,6 +4810,11 @@
|
|
|
4660
4810
|
if (options.oneofs)
|
|
4661
4811
|
object.body = "goodbye";
|
|
4662
4812
|
}
|
|
4813
|
+
if (message.proxyGoingAway != null && message.hasOwnProperty("proxyGoingAway")) {
|
|
4814
|
+
object.proxyGoingAway = $root.api.ProxyGoingAway.toObject(message.proxyGoingAway, options);
|
|
4815
|
+
if (options.oneofs)
|
|
4816
|
+
object.body = "proxyGoingAway";
|
|
4817
|
+
}
|
|
4663
4818
|
if (message.hint != null && message.hasOwnProperty("hint")) {
|
|
4664
4819
|
object.hint = $root.api.Hint.toObject(message.hint, options);
|
|
4665
4820
|
if (options.oneofs)
|
|
@@ -5145,6 +5300,21 @@
|
|
|
5145
5300
|
if (options.oneofs)
|
|
5146
5301
|
object.body = "NoninteractiveFSChangeEvent";
|
|
5147
5302
|
}
|
|
5303
|
+
if (message.firewallDenied != null && message.hasOwnProperty("firewallDenied")) {
|
|
5304
|
+
object.firewallDenied = $root.api.FirewallDenied.toObject(message.firewallDenied, options);
|
|
5305
|
+
if (options.oneofs)
|
|
5306
|
+
object.body = "firewallDenied";
|
|
5307
|
+
}
|
|
5308
|
+
if (message.dotReplitUpdateRequest != null && message.hasOwnProperty("dotReplitUpdateRequest")) {
|
|
5309
|
+
object.dotReplitUpdateRequest = $root.api.DotReplitUpdateRequest.toObject(message.dotReplitUpdateRequest, options);
|
|
5310
|
+
if (options.oneofs)
|
|
5311
|
+
object.body = "dotReplitUpdateRequest";
|
|
5312
|
+
}
|
|
5313
|
+
if (message.dotReplitUpdateResponse != null && message.hasOwnProperty("dotReplitUpdateResponse")) {
|
|
5314
|
+
object.dotReplitUpdateResponse = $root.api.DotReplitUpdateResponse.toObject(message.dotReplitUpdateResponse, options);
|
|
5315
|
+
if (options.oneofs)
|
|
5316
|
+
object.body = "dotReplitUpdateResponse";
|
|
5317
|
+
}
|
|
5148
5318
|
if (message.ref != null && message.hasOwnProperty("ref"))
|
|
5149
5319
|
object.ref = message.ref;
|
|
5150
5320
|
var keys2;
|
|
@@ -21542,6 +21712,215 @@
|
|
|
21542
21712
|
return PortOpen;
|
|
21543
21713
|
})();
|
|
21544
21714
|
|
|
21715
|
+
api.PortClose = (function() {
|
|
21716
|
+
|
|
21717
|
+
/**
|
|
21718
|
+
* Properties of a PortClose.
|
|
21719
|
+
* @memberof api
|
|
21720
|
+
* @interface IPortClose
|
|
21721
|
+
* @property {number|null} [port] PortClose port
|
|
21722
|
+
* @property {string|null} [address] PortClose address
|
|
21723
|
+
*/
|
|
21724
|
+
|
|
21725
|
+
/**
|
|
21726
|
+
* Constructs a new PortClose.
|
|
21727
|
+
* @memberof api
|
|
21728
|
+
* @classdesc Represents a PortClose.
|
|
21729
|
+
* @constructor
|
|
21730
|
+
* @param {api.IPortClose=} [properties] Properties to set
|
|
21731
|
+
*/
|
|
21732
|
+
function PortClose(properties) {
|
|
21733
|
+
if (properties)
|
|
21734
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
21735
|
+
if (properties[keys[i]] != null)
|
|
21736
|
+
this[keys[i]] = properties[keys[i]];
|
|
21737
|
+
}
|
|
21738
|
+
|
|
21739
|
+
/**
|
|
21740
|
+
* PortClose port.
|
|
21741
|
+
* @member {number} port
|
|
21742
|
+
* @memberof api.PortClose
|
|
21743
|
+
* @instance
|
|
21744
|
+
*/
|
|
21745
|
+
PortClose.prototype.port = 0;
|
|
21746
|
+
|
|
21747
|
+
/**
|
|
21748
|
+
* PortClose address.
|
|
21749
|
+
* @member {string} address
|
|
21750
|
+
* @memberof api.PortClose
|
|
21751
|
+
* @instance
|
|
21752
|
+
*/
|
|
21753
|
+
PortClose.prototype.address = "";
|
|
21754
|
+
|
|
21755
|
+
/**
|
|
21756
|
+
* Creates a new PortClose instance using the specified properties.
|
|
21757
|
+
* @function create
|
|
21758
|
+
* @memberof api.PortClose
|
|
21759
|
+
* @static
|
|
21760
|
+
* @param {api.IPortClose=} [properties] Properties to set
|
|
21761
|
+
* @returns {api.PortClose} PortClose instance
|
|
21762
|
+
*/
|
|
21763
|
+
PortClose.create = function create(properties) {
|
|
21764
|
+
return PortClose.fromObject(properties);
|
|
21765
|
+
};
|
|
21766
|
+
|
|
21767
|
+
/**
|
|
21768
|
+
* Encodes the specified PortClose message. Does not implicitly {@link api.PortClose.verify|verify} messages.
|
|
21769
|
+
* @function encode
|
|
21770
|
+
* @memberof api.PortClose
|
|
21771
|
+
* @static
|
|
21772
|
+
* @param {api.PortClose} message PortClose message or plain object to encode
|
|
21773
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
21774
|
+
* @returns {$protobuf.Writer} Writer
|
|
21775
|
+
*/
|
|
21776
|
+
PortClose.encode = function encode(message, writer) {
|
|
21777
|
+
if (!writer)
|
|
21778
|
+
writer = $Writer.create();
|
|
21779
|
+
if (message.port != null && Object.hasOwnProperty.call(message, "port"))
|
|
21780
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.port);
|
|
21781
|
+
if (message.address != null && Object.hasOwnProperty.call(message, "address"))
|
|
21782
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.address);
|
|
21783
|
+
return writer;
|
|
21784
|
+
};
|
|
21785
|
+
|
|
21786
|
+
/**
|
|
21787
|
+
* Encodes the specified PortClose message, length delimited. Does not implicitly {@link api.PortClose.verify|verify} messages.
|
|
21788
|
+
* @function encodeDelimited
|
|
21789
|
+
* @memberof api.PortClose
|
|
21790
|
+
* @static
|
|
21791
|
+
* @param {api.PortClose} message PortClose message or plain object to encode
|
|
21792
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
21793
|
+
* @returns {$protobuf.Writer} Writer
|
|
21794
|
+
*/
|
|
21795
|
+
PortClose.encodeDelimited = function encodeDelimited(message, writer) {
|
|
21796
|
+
return this.encode(message, writer).ldelim();
|
|
21797
|
+
};
|
|
21798
|
+
|
|
21799
|
+
/**
|
|
21800
|
+
* Decodes a PortClose message from the specified reader or buffer.
|
|
21801
|
+
* @function decode
|
|
21802
|
+
* @memberof api.PortClose
|
|
21803
|
+
* @static
|
|
21804
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
21805
|
+
* @param {number} [length] Message length if known beforehand
|
|
21806
|
+
* @returns {api.PortClose} PortClose
|
|
21807
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
21808
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
21809
|
+
*/
|
|
21810
|
+
PortClose.decode = function decode(reader, length) {
|
|
21811
|
+
if (!(reader instanceof $Reader))
|
|
21812
|
+
reader = $Reader.create(reader);
|
|
21813
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.PortClose();
|
|
21814
|
+
while (reader.pos < end) {
|
|
21815
|
+
var tag = reader.uint32();
|
|
21816
|
+
switch (tag >>> 3) {
|
|
21817
|
+
case 2:
|
|
21818
|
+
message.port = reader.uint32();
|
|
21819
|
+
break;
|
|
21820
|
+
case 3:
|
|
21821
|
+
message.address = reader.string();
|
|
21822
|
+
break;
|
|
21823
|
+
default:
|
|
21824
|
+
reader.skipType(tag & 7);
|
|
21825
|
+
break;
|
|
21826
|
+
}
|
|
21827
|
+
}
|
|
21828
|
+
return message;
|
|
21829
|
+
};
|
|
21830
|
+
|
|
21831
|
+
/**
|
|
21832
|
+
* Decodes a PortClose message from the specified reader or buffer, length delimited.
|
|
21833
|
+
* @function decodeDelimited
|
|
21834
|
+
* @memberof api.PortClose
|
|
21835
|
+
* @static
|
|
21836
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
21837
|
+
* @returns {api.PortClose} PortClose
|
|
21838
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
21839
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
21840
|
+
*/
|
|
21841
|
+
PortClose.decodeDelimited = function decodeDelimited(reader) {
|
|
21842
|
+
if (!(reader instanceof $Reader))
|
|
21843
|
+
reader = new $Reader(reader);
|
|
21844
|
+
return this.decode(reader, reader.uint32());
|
|
21845
|
+
};
|
|
21846
|
+
|
|
21847
|
+
/**
|
|
21848
|
+
* Verifies a PortClose message.
|
|
21849
|
+
* @function verify
|
|
21850
|
+
* @memberof api.PortClose
|
|
21851
|
+
* @static
|
|
21852
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
21853
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
21854
|
+
*/
|
|
21855
|
+
PortClose.verify = function verify(message) {
|
|
21856
|
+
if (typeof message !== "object" || message === null)
|
|
21857
|
+
return "object expected";
|
|
21858
|
+
if (message.port != null && message.hasOwnProperty("port"))
|
|
21859
|
+
if (!$util.isInteger(message.port))
|
|
21860
|
+
return "port: integer expected";
|
|
21861
|
+
if (message.address != null && message.hasOwnProperty("address"))
|
|
21862
|
+
if (!$util.isString(message.address))
|
|
21863
|
+
return "address: string expected";
|
|
21864
|
+
return null;
|
|
21865
|
+
};
|
|
21866
|
+
|
|
21867
|
+
/**
|
|
21868
|
+
* Creates a PortClose message from a plain object. Also converts values to their respective internal types.
|
|
21869
|
+
* @function fromObject
|
|
21870
|
+
* @memberof api.PortClose
|
|
21871
|
+
* @static
|
|
21872
|
+
* @param {Object.<string,*>} object Plain object
|
|
21873
|
+
* @returns {api.PortClose} PortClose
|
|
21874
|
+
*/
|
|
21875
|
+
PortClose.fromObject = function fromObject(object) {
|
|
21876
|
+
if (object instanceof $root.api.PortClose)
|
|
21877
|
+
return object;
|
|
21878
|
+
var message = new $root.api.PortClose();
|
|
21879
|
+
if (object.port != null)
|
|
21880
|
+
message.port = object.port >>> 0;
|
|
21881
|
+
if (object.address != null)
|
|
21882
|
+
message.address = String(object.address);
|
|
21883
|
+
return message;
|
|
21884
|
+
};
|
|
21885
|
+
|
|
21886
|
+
/**
|
|
21887
|
+
* Creates a plain object from a PortClose message. Also converts values to other types if specified.
|
|
21888
|
+
* @function toObject
|
|
21889
|
+
* @memberof api.PortClose
|
|
21890
|
+
* @static
|
|
21891
|
+
* @param {api.PortClose} message PortClose
|
|
21892
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
21893
|
+
* @returns {Object.<string,*>} Plain object
|
|
21894
|
+
*/
|
|
21895
|
+
PortClose.toObject = function toObject(message, options) {
|
|
21896
|
+
if (!options)
|
|
21897
|
+
options = {};
|
|
21898
|
+
var object = {};
|
|
21899
|
+
if (options.defaults) {
|
|
21900
|
+
object.port = 0;
|
|
21901
|
+
object.address = "";
|
|
21902
|
+
}
|
|
21903
|
+
if (message.port != null && message.hasOwnProperty("port"))
|
|
21904
|
+
object.port = message.port;
|
|
21905
|
+
if (message.address != null && message.hasOwnProperty("address"))
|
|
21906
|
+
object.address = message.address;
|
|
21907
|
+
return object;
|
|
21908
|
+
};
|
|
21909
|
+
|
|
21910
|
+
/**
|
|
21911
|
+
* Converts this PortClose to JSON.
|
|
21912
|
+
* @function toJSON
|
|
21913
|
+
* @memberof api.PortClose
|
|
21914
|
+
* @instance
|
|
21915
|
+
* @returns {Object.<string,*>} JSON object
|
|
21916
|
+
*/
|
|
21917
|
+
PortClose.prototype.toJSON = function toJSON() {
|
|
21918
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
21919
|
+
};
|
|
21920
|
+
|
|
21921
|
+
return PortClose;
|
|
21922
|
+
})();
|
|
21923
|
+
|
|
21545
21924
|
api.OTFetchRequest = (function() {
|
|
21546
21925
|
|
|
21547
21926
|
/**
|
|
@@ -22454,6 +22833,7 @@
|
|
|
22454
22833
|
* @property {number|null} [crc32] OTPacket crc32
|
|
22455
22834
|
* @property {google.protobuf.Timestamp|google.protobuf.ITimestamp|null} [committed] OTPacket committed
|
|
22456
22835
|
* @property {number|null} [nonce] OTPacket nonce
|
|
22836
|
+
* @property {number|null} [userId] OTPacket userId
|
|
22457
22837
|
*/
|
|
22458
22838
|
|
|
22459
22839
|
/**
|
|
@@ -22519,6 +22899,14 @@
|
|
|
22519
22899
|
*/
|
|
22520
22900
|
OTPacket.prototype.nonce = 0;
|
|
22521
22901
|
|
|
22902
|
+
/**
|
|
22903
|
+
* OTPacket userId.
|
|
22904
|
+
* @member {number} userId
|
|
22905
|
+
* @memberof api.OTPacket
|
|
22906
|
+
* @instance
|
|
22907
|
+
*/
|
|
22908
|
+
OTPacket.prototype.userId = 0;
|
|
22909
|
+
|
|
22522
22910
|
/**
|
|
22523
22911
|
* Creates a new OTPacket instance using the specified properties.
|
|
22524
22912
|
* @function create
|
|
@@ -22556,6 +22944,8 @@
|
|
|
22556
22944
|
writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.version);
|
|
22557
22945
|
if (message.nonce != null && Object.hasOwnProperty.call(message, "nonce"))
|
|
22558
22946
|
writer.uint32(/* id 6, wireType 0 =*/48).uint32(message.nonce);
|
|
22947
|
+
if (message.userId != null && Object.hasOwnProperty.call(message, "userId"))
|
|
22948
|
+
writer.uint32(/* id 7, wireType 0 =*/56).uint32(message.userId);
|
|
22559
22949
|
return writer;
|
|
22560
22950
|
};
|
|
22561
22951
|
|
|
@@ -22610,6 +23000,9 @@
|
|
|
22610
23000
|
case 6:
|
|
22611
23001
|
message.nonce = reader.uint32();
|
|
22612
23002
|
break;
|
|
23003
|
+
case 7:
|
|
23004
|
+
message.userId = reader.uint32();
|
|
23005
|
+
break;
|
|
22613
23006
|
default:
|
|
22614
23007
|
reader.skipType(tag & 7);
|
|
22615
23008
|
break;
|
|
@@ -22671,6 +23064,9 @@
|
|
|
22671
23064
|
if (message.nonce != null && message.hasOwnProperty("nonce"))
|
|
22672
23065
|
if (!$util.isInteger(message.nonce))
|
|
22673
23066
|
return "nonce: integer expected";
|
|
23067
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
23068
|
+
if (!$util.isInteger(message.userId))
|
|
23069
|
+
return "userId: integer expected";
|
|
22674
23070
|
return null;
|
|
22675
23071
|
};
|
|
22676
23072
|
|
|
@@ -22709,6 +23105,8 @@
|
|
|
22709
23105
|
}
|
|
22710
23106
|
if (object.nonce != null)
|
|
22711
23107
|
message.nonce = object.nonce >>> 0;
|
|
23108
|
+
if (object.userId != null)
|
|
23109
|
+
message.userId = object.userId >>> 0;
|
|
22712
23110
|
return message;
|
|
22713
23111
|
};
|
|
22714
23112
|
|
|
@@ -22733,6 +23131,7 @@
|
|
|
22733
23131
|
object.committed = null;
|
|
22734
23132
|
object.version = 0;
|
|
22735
23133
|
object.nonce = 0;
|
|
23134
|
+
object.userId = 0;
|
|
22736
23135
|
}
|
|
22737
23136
|
if (message.spookyVersion != null && message.hasOwnProperty("spookyVersion"))
|
|
22738
23137
|
object.spookyVersion = message.spookyVersion;
|
|
@@ -22749,6 +23148,8 @@
|
|
|
22749
23148
|
object.version = message.version;
|
|
22750
23149
|
if (message.nonce != null && message.hasOwnProperty("nonce"))
|
|
22751
23150
|
object.nonce = message.nonce;
|
|
23151
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
23152
|
+
object.userId = message.userId;
|
|
22752
23153
|
return object;
|
|
22753
23154
|
};
|
|
22754
23155
|
|
|
@@ -33367,6 +33768,603 @@
|
|
|
33367
33768
|
return RunConfigGetResponse;
|
|
33368
33769
|
})();
|
|
33369
33770
|
|
|
33771
|
+
api.DotReplitUpdateOp = (function() {
|
|
33772
|
+
|
|
33773
|
+
/**
|
|
33774
|
+
* Properties of a DotReplitUpdateOp.
|
|
33775
|
+
* @memberof api
|
|
33776
|
+
* @interface IDotReplitUpdateOp
|
|
33777
|
+
* @property {string|null} [op] DotReplitUpdateOp op
|
|
33778
|
+
* @property {string|null} [path] DotReplitUpdateOp path
|
|
33779
|
+
* @property {string|null} [value] DotReplitUpdateOp value
|
|
33780
|
+
*/
|
|
33781
|
+
|
|
33782
|
+
/**
|
|
33783
|
+
* Constructs a new DotReplitUpdateOp.
|
|
33784
|
+
* @memberof api
|
|
33785
|
+
* @classdesc Represents a DotReplitUpdateOp.
|
|
33786
|
+
* @constructor
|
|
33787
|
+
* @param {api.IDotReplitUpdateOp=} [properties] Properties to set
|
|
33788
|
+
*/
|
|
33789
|
+
function DotReplitUpdateOp(properties) {
|
|
33790
|
+
if (properties)
|
|
33791
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
33792
|
+
if (properties[keys[i]] != null)
|
|
33793
|
+
this[keys[i]] = properties[keys[i]];
|
|
33794
|
+
}
|
|
33795
|
+
|
|
33796
|
+
/**
|
|
33797
|
+
* DotReplitUpdateOp op.
|
|
33798
|
+
* @member {string} op
|
|
33799
|
+
* @memberof api.DotReplitUpdateOp
|
|
33800
|
+
* @instance
|
|
33801
|
+
*/
|
|
33802
|
+
DotReplitUpdateOp.prototype.op = "";
|
|
33803
|
+
|
|
33804
|
+
/**
|
|
33805
|
+
* DotReplitUpdateOp path.
|
|
33806
|
+
* @member {string} path
|
|
33807
|
+
* @memberof api.DotReplitUpdateOp
|
|
33808
|
+
* @instance
|
|
33809
|
+
*/
|
|
33810
|
+
DotReplitUpdateOp.prototype.path = "";
|
|
33811
|
+
|
|
33812
|
+
/**
|
|
33813
|
+
* DotReplitUpdateOp value.
|
|
33814
|
+
* @member {string} value
|
|
33815
|
+
* @memberof api.DotReplitUpdateOp
|
|
33816
|
+
* @instance
|
|
33817
|
+
*/
|
|
33818
|
+
DotReplitUpdateOp.prototype.value = "";
|
|
33819
|
+
|
|
33820
|
+
/**
|
|
33821
|
+
* Creates a new DotReplitUpdateOp instance using the specified properties.
|
|
33822
|
+
* @function create
|
|
33823
|
+
* @memberof api.DotReplitUpdateOp
|
|
33824
|
+
* @static
|
|
33825
|
+
* @param {api.IDotReplitUpdateOp=} [properties] Properties to set
|
|
33826
|
+
* @returns {api.DotReplitUpdateOp} DotReplitUpdateOp instance
|
|
33827
|
+
*/
|
|
33828
|
+
DotReplitUpdateOp.create = function create(properties) {
|
|
33829
|
+
return DotReplitUpdateOp.fromObject(properties);
|
|
33830
|
+
};
|
|
33831
|
+
|
|
33832
|
+
/**
|
|
33833
|
+
* Encodes the specified DotReplitUpdateOp message. Does not implicitly {@link api.DotReplitUpdateOp.verify|verify} messages.
|
|
33834
|
+
* @function encode
|
|
33835
|
+
* @memberof api.DotReplitUpdateOp
|
|
33836
|
+
* @static
|
|
33837
|
+
* @param {api.DotReplitUpdateOp} message DotReplitUpdateOp message or plain object to encode
|
|
33838
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
33839
|
+
* @returns {$protobuf.Writer} Writer
|
|
33840
|
+
*/
|
|
33841
|
+
DotReplitUpdateOp.encode = function encode(message, writer) {
|
|
33842
|
+
if (!writer)
|
|
33843
|
+
writer = $Writer.create();
|
|
33844
|
+
if (message.op != null && Object.hasOwnProperty.call(message, "op"))
|
|
33845
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.op);
|
|
33846
|
+
if (message.path != null && Object.hasOwnProperty.call(message, "path"))
|
|
33847
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.path);
|
|
33848
|
+
if (message.value != null && Object.hasOwnProperty.call(message, "value"))
|
|
33849
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.value);
|
|
33850
|
+
return writer;
|
|
33851
|
+
};
|
|
33852
|
+
|
|
33853
|
+
/**
|
|
33854
|
+
* Encodes the specified DotReplitUpdateOp message, length delimited. Does not implicitly {@link api.DotReplitUpdateOp.verify|verify} messages.
|
|
33855
|
+
* @function encodeDelimited
|
|
33856
|
+
* @memberof api.DotReplitUpdateOp
|
|
33857
|
+
* @static
|
|
33858
|
+
* @param {api.DotReplitUpdateOp} message DotReplitUpdateOp message or plain object to encode
|
|
33859
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
33860
|
+
* @returns {$protobuf.Writer} Writer
|
|
33861
|
+
*/
|
|
33862
|
+
DotReplitUpdateOp.encodeDelimited = function encodeDelimited(message, writer) {
|
|
33863
|
+
return this.encode(message, writer).ldelim();
|
|
33864
|
+
};
|
|
33865
|
+
|
|
33866
|
+
/**
|
|
33867
|
+
* Decodes a DotReplitUpdateOp message from the specified reader or buffer.
|
|
33868
|
+
* @function decode
|
|
33869
|
+
* @memberof api.DotReplitUpdateOp
|
|
33870
|
+
* @static
|
|
33871
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
33872
|
+
* @param {number} [length] Message length if known beforehand
|
|
33873
|
+
* @returns {api.DotReplitUpdateOp} DotReplitUpdateOp
|
|
33874
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33875
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33876
|
+
*/
|
|
33877
|
+
DotReplitUpdateOp.decode = function decode(reader, length) {
|
|
33878
|
+
if (!(reader instanceof $Reader))
|
|
33879
|
+
reader = $Reader.create(reader);
|
|
33880
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.DotReplitUpdateOp();
|
|
33881
|
+
while (reader.pos < end) {
|
|
33882
|
+
var tag = reader.uint32();
|
|
33883
|
+
switch (tag >>> 3) {
|
|
33884
|
+
case 1:
|
|
33885
|
+
message.op = reader.string();
|
|
33886
|
+
break;
|
|
33887
|
+
case 2:
|
|
33888
|
+
message.path = reader.string();
|
|
33889
|
+
break;
|
|
33890
|
+
case 3:
|
|
33891
|
+
message.value = reader.string();
|
|
33892
|
+
break;
|
|
33893
|
+
default:
|
|
33894
|
+
reader.skipType(tag & 7);
|
|
33895
|
+
break;
|
|
33896
|
+
}
|
|
33897
|
+
}
|
|
33898
|
+
return message;
|
|
33899
|
+
};
|
|
33900
|
+
|
|
33901
|
+
/**
|
|
33902
|
+
* Decodes a DotReplitUpdateOp message from the specified reader or buffer, length delimited.
|
|
33903
|
+
* @function decodeDelimited
|
|
33904
|
+
* @memberof api.DotReplitUpdateOp
|
|
33905
|
+
* @static
|
|
33906
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
33907
|
+
* @returns {api.DotReplitUpdateOp} DotReplitUpdateOp
|
|
33908
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33909
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33910
|
+
*/
|
|
33911
|
+
DotReplitUpdateOp.decodeDelimited = function decodeDelimited(reader) {
|
|
33912
|
+
if (!(reader instanceof $Reader))
|
|
33913
|
+
reader = new $Reader(reader);
|
|
33914
|
+
return this.decode(reader, reader.uint32());
|
|
33915
|
+
};
|
|
33916
|
+
|
|
33917
|
+
/**
|
|
33918
|
+
* Verifies a DotReplitUpdateOp message.
|
|
33919
|
+
* @function verify
|
|
33920
|
+
* @memberof api.DotReplitUpdateOp
|
|
33921
|
+
* @static
|
|
33922
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
33923
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
33924
|
+
*/
|
|
33925
|
+
DotReplitUpdateOp.verify = function verify(message) {
|
|
33926
|
+
if (typeof message !== "object" || message === null)
|
|
33927
|
+
return "object expected";
|
|
33928
|
+
if (message.op != null && message.hasOwnProperty("op"))
|
|
33929
|
+
if (!$util.isString(message.op))
|
|
33930
|
+
return "op: string expected";
|
|
33931
|
+
if (message.path != null && message.hasOwnProperty("path"))
|
|
33932
|
+
if (!$util.isString(message.path))
|
|
33933
|
+
return "path: string expected";
|
|
33934
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
33935
|
+
if (!$util.isString(message.value))
|
|
33936
|
+
return "value: string expected";
|
|
33937
|
+
return null;
|
|
33938
|
+
};
|
|
33939
|
+
|
|
33940
|
+
/**
|
|
33941
|
+
* Creates a DotReplitUpdateOp message from a plain object. Also converts values to their respective internal types.
|
|
33942
|
+
* @function fromObject
|
|
33943
|
+
* @memberof api.DotReplitUpdateOp
|
|
33944
|
+
* @static
|
|
33945
|
+
* @param {Object.<string,*>} object Plain object
|
|
33946
|
+
* @returns {api.DotReplitUpdateOp} DotReplitUpdateOp
|
|
33947
|
+
*/
|
|
33948
|
+
DotReplitUpdateOp.fromObject = function fromObject(object) {
|
|
33949
|
+
if (object instanceof $root.api.DotReplitUpdateOp)
|
|
33950
|
+
return object;
|
|
33951
|
+
var message = new $root.api.DotReplitUpdateOp();
|
|
33952
|
+
if (object.op != null)
|
|
33953
|
+
message.op = String(object.op);
|
|
33954
|
+
if (object.path != null)
|
|
33955
|
+
message.path = String(object.path);
|
|
33956
|
+
if (object.value != null)
|
|
33957
|
+
message.value = String(object.value);
|
|
33958
|
+
return message;
|
|
33959
|
+
};
|
|
33960
|
+
|
|
33961
|
+
/**
|
|
33962
|
+
* Creates a plain object from a DotReplitUpdateOp message. Also converts values to other types if specified.
|
|
33963
|
+
* @function toObject
|
|
33964
|
+
* @memberof api.DotReplitUpdateOp
|
|
33965
|
+
* @static
|
|
33966
|
+
* @param {api.DotReplitUpdateOp} message DotReplitUpdateOp
|
|
33967
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
33968
|
+
* @returns {Object.<string,*>} Plain object
|
|
33969
|
+
*/
|
|
33970
|
+
DotReplitUpdateOp.toObject = function toObject(message, options) {
|
|
33971
|
+
if (!options)
|
|
33972
|
+
options = {};
|
|
33973
|
+
var object = {};
|
|
33974
|
+
if (options.defaults) {
|
|
33975
|
+
object.op = "";
|
|
33976
|
+
object.path = "";
|
|
33977
|
+
object.value = "";
|
|
33978
|
+
}
|
|
33979
|
+
if (message.op != null && message.hasOwnProperty("op"))
|
|
33980
|
+
object.op = message.op;
|
|
33981
|
+
if (message.path != null && message.hasOwnProperty("path"))
|
|
33982
|
+
object.path = message.path;
|
|
33983
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
33984
|
+
object.value = message.value;
|
|
33985
|
+
return object;
|
|
33986
|
+
};
|
|
33987
|
+
|
|
33988
|
+
/**
|
|
33989
|
+
* Converts this DotReplitUpdateOp to JSON.
|
|
33990
|
+
* @function toJSON
|
|
33991
|
+
* @memberof api.DotReplitUpdateOp
|
|
33992
|
+
* @instance
|
|
33993
|
+
* @returns {Object.<string,*>} JSON object
|
|
33994
|
+
*/
|
|
33995
|
+
DotReplitUpdateOp.prototype.toJSON = function toJSON() {
|
|
33996
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
33997
|
+
};
|
|
33998
|
+
|
|
33999
|
+
return DotReplitUpdateOp;
|
|
34000
|
+
})();
|
|
34001
|
+
|
|
34002
|
+
api.DotReplitUpdateRequest = (function() {
|
|
34003
|
+
|
|
34004
|
+
/**
|
|
34005
|
+
* Properties of a DotReplitUpdateRequest.
|
|
34006
|
+
* @memberof api
|
|
34007
|
+
* @interface IDotReplitUpdateRequest
|
|
34008
|
+
* @property {Array.<api.DotReplitUpdateOp|api.IDotReplitUpdateOp>|null} [ops] DotReplitUpdateRequest ops
|
|
34009
|
+
*/
|
|
34010
|
+
|
|
34011
|
+
/**
|
|
34012
|
+
* Constructs a new DotReplitUpdateRequest.
|
|
34013
|
+
* @memberof api
|
|
34014
|
+
* @classdesc Represents a DotReplitUpdateRequest.
|
|
34015
|
+
* @constructor
|
|
34016
|
+
* @param {api.IDotReplitUpdateRequest=} [properties] Properties to set
|
|
34017
|
+
*/
|
|
34018
|
+
function DotReplitUpdateRequest(properties) {
|
|
34019
|
+
this.ops = [];
|
|
34020
|
+
if (properties)
|
|
34021
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
34022
|
+
if (properties[keys[i]] != null)
|
|
34023
|
+
this[keys[i]] = properties[keys[i]];
|
|
34024
|
+
}
|
|
34025
|
+
|
|
34026
|
+
/**
|
|
34027
|
+
* DotReplitUpdateRequest ops.
|
|
34028
|
+
* @member {Array.<api.DotReplitUpdateOp>} ops
|
|
34029
|
+
* @memberof api.DotReplitUpdateRequest
|
|
34030
|
+
* @instance
|
|
34031
|
+
*/
|
|
34032
|
+
DotReplitUpdateRequest.prototype.ops = $util.emptyArray;
|
|
34033
|
+
|
|
34034
|
+
/**
|
|
34035
|
+
* Creates a new DotReplitUpdateRequest instance using the specified properties.
|
|
34036
|
+
* @function create
|
|
34037
|
+
* @memberof api.DotReplitUpdateRequest
|
|
34038
|
+
* @static
|
|
34039
|
+
* @param {api.IDotReplitUpdateRequest=} [properties] Properties to set
|
|
34040
|
+
* @returns {api.DotReplitUpdateRequest} DotReplitUpdateRequest instance
|
|
34041
|
+
*/
|
|
34042
|
+
DotReplitUpdateRequest.create = function create(properties) {
|
|
34043
|
+
return DotReplitUpdateRequest.fromObject(properties);
|
|
34044
|
+
};
|
|
34045
|
+
|
|
34046
|
+
/**
|
|
34047
|
+
* Encodes the specified DotReplitUpdateRequest message. Does not implicitly {@link api.DotReplitUpdateRequest.verify|verify} messages.
|
|
34048
|
+
* @function encode
|
|
34049
|
+
* @memberof api.DotReplitUpdateRequest
|
|
34050
|
+
* @static
|
|
34051
|
+
* @param {api.DotReplitUpdateRequest} message DotReplitUpdateRequest message or plain object to encode
|
|
34052
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
34053
|
+
* @returns {$protobuf.Writer} Writer
|
|
34054
|
+
*/
|
|
34055
|
+
DotReplitUpdateRequest.encode = function encode(message, writer) {
|
|
34056
|
+
if (!writer)
|
|
34057
|
+
writer = $Writer.create();
|
|
34058
|
+
if (message.ops != null && message.ops.length)
|
|
34059
|
+
for (var i = 0; i < message.ops.length; ++i)
|
|
34060
|
+
$root.api.DotReplitUpdateOp.encode(message.ops[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
34061
|
+
return writer;
|
|
34062
|
+
};
|
|
34063
|
+
|
|
34064
|
+
/**
|
|
34065
|
+
* Encodes the specified DotReplitUpdateRequest message, length delimited. Does not implicitly {@link api.DotReplitUpdateRequest.verify|verify} messages.
|
|
34066
|
+
* @function encodeDelimited
|
|
34067
|
+
* @memberof api.DotReplitUpdateRequest
|
|
34068
|
+
* @static
|
|
34069
|
+
* @param {api.DotReplitUpdateRequest} message DotReplitUpdateRequest message or plain object to encode
|
|
34070
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
34071
|
+
* @returns {$protobuf.Writer} Writer
|
|
34072
|
+
*/
|
|
34073
|
+
DotReplitUpdateRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
34074
|
+
return this.encode(message, writer).ldelim();
|
|
34075
|
+
};
|
|
34076
|
+
|
|
34077
|
+
/**
|
|
34078
|
+
* Decodes a DotReplitUpdateRequest message from the specified reader or buffer.
|
|
34079
|
+
* @function decode
|
|
34080
|
+
* @memberof api.DotReplitUpdateRequest
|
|
34081
|
+
* @static
|
|
34082
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
34083
|
+
* @param {number} [length] Message length if known beforehand
|
|
34084
|
+
* @returns {api.DotReplitUpdateRequest} DotReplitUpdateRequest
|
|
34085
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34086
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34087
|
+
*/
|
|
34088
|
+
DotReplitUpdateRequest.decode = function decode(reader, length) {
|
|
34089
|
+
if (!(reader instanceof $Reader))
|
|
34090
|
+
reader = $Reader.create(reader);
|
|
34091
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.DotReplitUpdateRequest();
|
|
34092
|
+
while (reader.pos < end) {
|
|
34093
|
+
var tag = reader.uint32();
|
|
34094
|
+
switch (tag >>> 3) {
|
|
34095
|
+
case 1:
|
|
34096
|
+
if (!(message.ops && message.ops.length))
|
|
34097
|
+
message.ops = [];
|
|
34098
|
+
message.ops.push($root.api.DotReplitUpdateOp.decode(reader, reader.uint32()));
|
|
34099
|
+
break;
|
|
34100
|
+
default:
|
|
34101
|
+
reader.skipType(tag & 7);
|
|
34102
|
+
break;
|
|
34103
|
+
}
|
|
34104
|
+
}
|
|
34105
|
+
return message;
|
|
34106
|
+
};
|
|
34107
|
+
|
|
34108
|
+
/**
|
|
34109
|
+
* Decodes a DotReplitUpdateRequest message from the specified reader or buffer, length delimited.
|
|
34110
|
+
* @function decodeDelimited
|
|
34111
|
+
* @memberof api.DotReplitUpdateRequest
|
|
34112
|
+
* @static
|
|
34113
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
34114
|
+
* @returns {api.DotReplitUpdateRequest} DotReplitUpdateRequest
|
|
34115
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34116
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34117
|
+
*/
|
|
34118
|
+
DotReplitUpdateRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
34119
|
+
if (!(reader instanceof $Reader))
|
|
34120
|
+
reader = new $Reader(reader);
|
|
34121
|
+
return this.decode(reader, reader.uint32());
|
|
34122
|
+
};
|
|
34123
|
+
|
|
34124
|
+
/**
|
|
34125
|
+
* Verifies a DotReplitUpdateRequest message.
|
|
34126
|
+
* @function verify
|
|
34127
|
+
* @memberof api.DotReplitUpdateRequest
|
|
34128
|
+
* @static
|
|
34129
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
34130
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
34131
|
+
*/
|
|
34132
|
+
DotReplitUpdateRequest.verify = function verify(message) {
|
|
34133
|
+
if (typeof message !== "object" || message === null)
|
|
34134
|
+
return "object expected";
|
|
34135
|
+
if (message.ops != null && message.hasOwnProperty("ops")) {
|
|
34136
|
+
if (!Array.isArray(message.ops))
|
|
34137
|
+
return "ops: array expected";
|
|
34138
|
+
for (var i = 0; i < message.ops.length; ++i) {
|
|
34139
|
+
var error = $root.api.DotReplitUpdateOp.verify(message.ops[i]);
|
|
34140
|
+
if (error)
|
|
34141
|
+
return "ops." + error;
|
|
34142
|
+
}
|
|
34143
|
+
}
|
|
34144
|
+
return null;
|
|
34145
|
+
};
|
|
34146
|
+
|
|
34147
|
+
/**
|
|
34148
|
+
* Creates a DotReplitUpdateRequest message from a plain object. Also converts values to their respective internal types.
|
|
34149
|
+
* @function fromObject
|
|
34150
|
+
* @memberof api.DotReplitUpdateRequest
|
|
34151
|
+
* @static
|
|
34152
|
+
* @param {Object.<string,*>} object Plain object
|
|
34153
|
+
* @returns {api.DotReplitUpdateRequest} DotReplitUpdateRequest
|
|
34154
|
+
*/
|
|
34155
|
+
DotReplitUpdateRequest.fromObject = function fromObject(object) {
|
|
34156
|
+
if (object instanceof $root.api.DotReplitUpdateRequest)
|
|
34157
|
+
return object;
|
|
34158
|
+
var message = new $root.api.DotReplitUpdateRequest();
|
|
34159
|
+
if (object.ops) {
|
|
34160
|
+
if (!Array.isArray(object.ops))
|
|
34161
|
+
throw TypeError(".api.DotReplitUpdateRequest.ops: array expected");
|
|
34162
|
+
message.ops = [];
|
|
34163
|
+
for (var i = 0; i < object.ops.length; ++i) {
|
|
34164
|
+
if (typeof object.ops[i] !== "object")
|
|
34165
|
+
throw TypeError(".api.DotReplitUpdateRequest.ops: object expected");
|
|
34166
|
+
message.ops[i] = $root.api.DotReplitUpdateOp.fromObject(object.ops[i]);
|
|
34167
|
+
}
|
|
34168
|
+
}
|
|
34169
|
+
return message;
|
|
34170
|
+
};
|
|
34171
|
+
|
|
34172
|
+
/**
|
|
34173
|
+
* Creates a plain object from a DotReplitUpdateRequest message. Also converts values to other types if specified.
|
|
34174
|
+
* @function toObject
|
|
34175
|
+
* @memberof api.DotReplitUpdateRequest
|
|
34176
|
+
* @static
|
|
34177
|
+
* @param {api.DotReplitUpdateRequest} message DotReplitUpdateRequest
|
|
34178
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
34179
|
+
* @returns {Object.<string,*>} Plain object
|
|
34180
|
+
*/
|
|
34181
|
+
DotReplitUpdateRequest.toObject = function toObject(message, options) {
|
|
34182
|
+
if (!options)
|
|
34183
|
+
options = {};
|
|
34184
|
+
var object = {};
|
|
34185
|
+
if (options.arrays || options.defaults)
|
|
34186
|
+
object.ops = [];
|
|
34187
|
+
if (message.ops && message.ops.length) {
|
|
34188
|
+
object.ops = [];
|
|
34189
|
+
for (var j = 0; j < message.ops.length; ++j)
|
|
34190
|
+
object.ops[j] = $root.api.DotReplitUpdateOp.toObject(message.ops[j], options);
|
|
34191
|
+
}
|
|
34192
|
+
return object;
|
|
34193
|
+
};
|
|
34194
|
+
|
|
34195
|
+
/**
|
|
34196
|
+
* Converts this DotReplitUpdateRequest to JSON.
|
|
34197
|
+
* @function toJSON
|
|
34198
|
+
* @memberof api.DotReplitUpdateRequest
|
|
34199
|
+
* @instance
|
|
34200
|
+
* @returns {Object.<string,*>} JSON object
|
|
34201
|
+
*/
|
|
34202
|
+
DotReplitUpdateRequest.prototype.toJSON = function toJSON() {
|
|
34203
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
34204
|
+
};
|
|
34205
|
+
|
|
34206
|
+
return DotReplitUpdateRequest;
|
|
34207
|
+
})();
|
|
34208
|
+
|
|
34209
|
+
api.DotReplitUpdateResponse = (function() {
|
|
34210
|
+
|
|
34211
|
+
/**
|
|
34212
|
+
* Properties of a DotReplitUpdateResponse.
|
|
34213
|
+
* @memberof api
|
|
34214
|
+
* @interface IDotReplitUpdateResponse
|
|
34215
|
+
*/
|
|
34216
|
+
|
|
34217
|
+
/**
|
|
34218
|
+
* Constructs a new DotReplitUpdateResponse.
|
|
34219
|
+
* @memberof api
|
|
34220
|
+
* @classdesc Represents a DotReplitUpdateResponse.
|
|
34221
|
+
* @constructor
|
|
34222
|
+
* @param {api.IDotReplitUpdateResponse=} [properties] Properties to set
|
|
34223
|
+
*/
|
|
34224
|
+
function DotReplitUpdateResponse(properties) {
|
|
34225
|
+
if (properties)
|
|
34226
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
34227
|
+
if (properties[keys[i]] != null)
|
|
34228
|
+
this[keys[i]] = properties[keys[i]];
|
|
34229
|
+
}
|
|
34230
|
+
|
|
34231
|
+
/**
|
|
34232
|
+
* Creates a new DotReplitUpdateResponse instance using the specified properties.
|
|
34233
|
+
* @function create
|
|
34234
|
+
* @memberof api.DotReplitUpdateResponse
|
|
34235
|
+
* @static
|
|
34236
|
+
* @param {api.IDotReplitUpdateResponse=} [properties] Properties to set
|
|
34237
|
+
* @returns {api.DotReplitUpdateResponse} DotReplitUpdateResponse instance
|
|
34238
|
+
*/
|
|
34239
|
+
DotReplitUpdateResponse.create = function create(properties) {
|
|
34240
|
+
return DotReplitUpdateResponse.fromObject(properties);
|
|
34241
|
+
};
|
|
34242
|
+
|
|
34243
|
+
/**
|
|
34244
|
+
* Encodes the specified DotReplitUpdateResponse message. Does not implicitly {@link api.DotReplitUpdateResponse.verify|verify} messages.
|
|
34245
|
+
* @function encode
|
|
34246
|
+
* @memberof api.DotReplitUpdateResponse
|
|
34247
|
+
* @static
|
|
34248
|
+
* @param {api.DotReplitUpdateResponse} message DotReplitUpdateResponse message or plain object to encode
|
|
34249
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
34250
|
+
* @returns {$protobuf.Writer} Writer
|
|
34251
|
+
*/
|
|
34252
|
+
DotReplitUpdateResponse.encode = function encode(message, writer) {
|
|
34253
|
+
if (!writer)
|
|
34254
|
+
writer = $Writer.create();
|
|
34255
|
+
return writer;
|
|
34256
|
+
};
|
|
34257
|
+
|
|
34258
|
+
/**
|
|
34259
|
+
* Encodes the specified DotReplitUpdateResponse message, length delimited. Does not implicitly {@link api.DotReplitUpdateResponse.verify|verify} messages.
|
|
34260
|
+
* @function encodeDelimited
|
|
34261
|
+
* @memberof api.DotReplitUpdateResponse
|
|
34262
|
+
* @static
|
|
34263
|
+
* @param {api.DotReplitUpdateResponse} message DotReplitUpdateResponse message or plain object to encode
|
|
34264
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
34265
|
+
* @returns {$protobuf.Writer} Writer
|
|
34266
|
+
*/
|
|
34267
|
+
DotReplitUpdateResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
34268
|
+
return this.encode(message, writer).ldelim();
|
|
34269
|
+
};
|
|
34270
|
+
|
|
34271
|
+
/**
|
|
34272
|
+
* Decodes a DotReplitUpdateResponse message from the specified reader or buffer.
|
|
34273
|
+
* @function decode
|
|
34274
|
+
* @memberof api.DotReplitUpdateResponse
|
|
34275
|
+
* @static
|
|
34276
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
34277
|
+
* @param {number} [length] Message length if known beforehand
|
|
34278
|
+
* @returns {api.DotReplitUpdateResponse} DotReplitUpdateResponse
|
|
34279
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34280
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34281
|
+
*/
|
|
34282
|
+
DotReplitUpdateResponse.decode = function decode(reader, length) {
|
|
34283
|
+
if (!(reader instanceof $Reader))
|
|
34284
|
+
reader = $Reader.create(reader);
|
|
34285
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.DotReplitUpdateResponse();
|
|
34286
|
+
while (reader.pos < end) {
|
|
34287
|
+
var tag = reader.uint32();
|
|
34288
|
+
switch (tag >>> 3) {
|
|
34289
|
+
default:
|
|
34290
|
+
reader.skipType(tag & 7);
|
|
34291
|
+
break;
|
|
34292
|
+
}
|
|
34293
|
+
}
|
|
34294
|
+
return message;
|
|
34295
|
+
};
|
|
34296
|
+
|
|
34297
|
+
/**
|
|
34298
|
+
* Decodes a DotReplitUpdateResponse message from the specified reader or buffer, length delimited.
|
|
34299
|
+
* @function decodeDelimited
|
|
34300
|
+
* @memberof api.DotReplitUpdateResponse
|
|
34301
|
+
* @static
|
|
34302
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
34303
|
+
* @returns {api.DotReplitUpdateResponse} DotReplitUpdateResponse
|
|
34304
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34305
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34306
|
+
*/
|
|
34307
|
+
DotReplitUpdateResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
34308
|
+
if (!(reader instanceof $Reader))
|
|
34309
|
+
reader = new $Reader(reader);
|
|
34310
|
+
return this.decode(reader, reader.uint32());
|
|
34311
|
+
};
|
|
34312
|
+
|
|
34313
|
+
/**
|
|
34314
|
+
* Verifies a DotReplitUpdateResponse message.
|
|
34315
|
+
* @function verify
|
|
34316
|
+
* @memberof api.DotReplitUpdateResponse
|
|
34317
|
+
* @static
|
|
34318
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
34319
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
34320
|
+
*/
|
|
34321
|
+
DotReplitUpdateResponse.verify = function verify(message) {
|
|
34322
|
+
if (typeof message !== "object" || message === null)
|
|
34323
|
+
return "object expected";
|
|
34324
|
+
return null;
|
|
34325
|
+
};
|
|
34326
|
+
|
|
34327
|
+
/**
|
|
34328
|
+
* Creates a DotReplitUpdateResponse message from a plain object. Also converts values to their respective internal types.
|
|
34329
|
+
* @function fromObject
|
|
34330
|
+
* @memberof api.DotReplitUpdateResponse
|
|
34331
|
+
* @static
|
|
34332
|
+
* @param {Object.<string,*>} object Plain object
|
|
34333
|
+
* @returns {api.DotReplitUpdateResponse} DotReplitUpdateResponse
|
|
34334
|
+
*/
|
|
34335
|
+
DotReplitUpdateResponse.fromObject = function fromObject(object) {
|
|
34336
|
+
if (object instanceof $root.api.DotReplitUpdateResponse)
|
|
34337
|
+
return object;
|
|
34338
|
+
return new $root.api.DotReplitUpdateResponse();
|
|
34339
|
+
};
|
|
34340
|
+
|
|
34341
|
+
/**
|
|
34342
|
+
* Creates a plain object from a DotReplitUpdateResponse message. Also converts values to other types if specified.
|
|
34343
|
+
* @function toObject
|
|
34344
|
+
* @memberof api.DotReplitUpdateResponse
|
|
34345
|
+
* @static
|
|
34346
|
+
* @param {api.DotReplitUpdateResponse} message DotReplitUpdateResponse
|
|
34347
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
34348
|
+
* @returns {Object.<string,*>} Plain object
|
|
34349
|
+
*/
|
|
34350
|
+
DotReplitUpdateResponse.toObject = function toObject() {
|
|
34351
|
+
return {};
|
|
34352
|
+
};
|
|
34353
|
+
|
|
34354
|
+
/**
|
|
34355
|
+
* Converts this DotReplitUpdateResponse to JSON.
|
|
34356
|
+
* @function toJSON
|
|
34357
|
+
* @memberof api.DotReplitUpdateResponse
|
|
34358
|
+
* @instance
|
|
34359
|
+
* @returns {Object.<string,*>} JSON object
|
|
34360
|
+
*/
|
|
34361
|
+
DotReplitUpdateResponse.prototype.toJSON = function toJSON() {
|
|
34362
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
34363
|
+
};
|
|
34364
|
+
|
|
34365
|
+
return DotReplitUpdateResponse;
|
|
34366
|
+
})();
|
|
34367
|
+
|
|
33370
34368
|
api.DebugAddBreakpointRequest = (function() {
|
|
33371
34369
|
|
|
33372
34370
|
/**
|
|
@@ -36764,6 +37762,324 @@
|
|
|
36764
37762
|
return DebuggerConfig;
|
|
36765
37763
|
})();
|
|
36766
37764
|
|
|
37765
|
+
api.ProxyGoingAway = (function() {
|
|
37766
|
+
|
|
37767
|
+
/**
|
|
37768
|
+
* Properties of a ProxyGoingAway.
|
|
37769
|
+
* @memberof api
|
|
37770
|
+
* @interface IProxyGoingAway
|
|
37771
|
+
*/
|
|
37772
|
+
|
|
37773
|
+
/**
|
|
37774
|
+
* Constructs a new ProxyGoingAway.
|
|
37775
|
+
* @memberof api
|
|
37776
|
+
* @classdesc Represents a ProxyGoingAway.
|
|
37777
|
+
* @constructor
|
|
37778
|
+
* @param {api.IProxyGoingAway=} [properties] Properties to set
|
|
37779
|
+
*/
|
|
37780
|
+
function ProxyGoingAway(properties) {
|
|
37781
|
+
if (properties)
|
|
37782
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
37783
|
+
if (properties[keys[i]] != null)
|
|
37784
|
+
this[keys[i]] = properties[keys[i]];
|
|
37785
|
+
}
|
|
37786
|
+
|
|
37787
|
+
/**
|
|
37788
|
+
* Creates a new ProxyGoingAway instance using the specified properties.
|
|
37789
|
+
* @function create
|
|
37790
|
+
* @memberof api.ProxyGoingAway
|
|
37791
|
+
* @static
|
|
37792
|
+
* @param {api.IProxyGoingAway=} [properties] Properties to set
|
|
37793
|
+
* @returns {api.ProxyGoingAway} ProxyGoingAway instance
|
|
37794
|
+
*/
|
|
37795
|
+
ProxyGoingAway.create = function create(properties) {
|
|
37796
|
+
return ProxyGoingAway.fromObject(properties);
|
|
37797
|
+
};
|
|
37798
|
+
|
|
37799
|
+
/**
|
|
37800
|
+
* Encodes the specified ProxyGoingAway message. Does not implicitly {@link api.ProxyGoingAway.verify|verify} messages.
|
|
37801
|
+
* @function encode
|
|
37802
|
+
* @memberof api.ProxyGoingAway
|
|
37803
|
+
* @static
|
|
37804
|
+
* @param {api.ProxyGoingAway} message ProxyGoingAway message or plain object to encode
|
|
37805
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
37806
|
+
* @returns {$protobuf.Writer} Writer
|
|
37807
|
+
*/
|
|
37808
|
+
ProxyGoingAway.encode = function encode(message, writer) {
|
|
37809
|
+
if (!writer)
|
|
37810
|
+
writer = $Writer.create();
|
|
37811
|
+
return writer;
|
|
37812
|
+
};
|
|
37813
|
+
|
|
37814
|
+
/**
|
|
37815
|
+
* Encodes the specified ProxyGoingAway message, length delimited. Does not implicitly {@link api.ProxyGoingAway.verify|verify} messages.
|
|
37816
|
+
* @function encodeDelimited
|
|
37817
|
+
* @memberof api.ProxyGoingAway
|
|
37818
|
+
* @static
|
|
37819
|
+
* @param {api.ProxyGoingAway} message ProxyGoingAway message or plain object to encode
|
|
37820
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
37821
|
+
* @returns {$protobuf.Writer} Writer
|
|
37822
|
+
*/
|
|
37823
|
+
ProxyGoingAway.encodeDelimited = function encodeDelimited(message, writer) {
|
|
37824
|
+
return this.encode(message, writer).ldelim();
|
|
37825
|
+
};
|
|
37826
|
+
|
|
37827
|
+
/**
|
|
37828
|
+
* Decodes a ProxyGoingAway message from the specified reader or buffer.
|
|
37829
|
+
* @function decode
|
|
37830
|
+
* @memberof api.ProxyGoingAway
|
|
37831
|
+
* @static
|
|
37832
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
37833
|
+
* @param {number} [length] Message length if known beforehand
|
|
37834
|
+
* @returns {api.ProxyGoingAway} ProxyGoingAway
|
|
37835
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37836
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37837
|
+
*/
|
|
37838
|
+
ProxyGoingAway.decode = function decode(reader, length) {
|
|
37839
|
+
if (!(reader instanceof $Reader))
|
|
37840
|
+
reader = $Reader.create(reader);
|
|
37841
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.ProxyGoingAway();
|
|
37842
|
+
while (reader.pos < end) {
|
|
37843
|
+
var tag = reader.uint32();
|
|
37844
|
+
switch (tag >>> 3) {
|
|
37845
|
+
default:
|
|
37846
|
+
reader.skipType(tag & 7);
|
|
37847
|
+
break;
|
|
37848
|
+
}
|
|
37849
|
+
}
|
|
37850
|
+
return message;
|
|
37851
|
+
};
|
|
37852
|
+
|
|
37853
|
+
/**
|
|
37854
|
+
* Decodes a ProxyGoingAway message from the specified reader or buffer, length delimited.
|
|
37855
|
+
* @function decodeDelimited
|
|
37856
|
+
* @memberof api.ProxyGoingAway
|
|
37857
|
+
* @static
|
|
37858
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
37859
|
+
* @returns {api.ProxyGoingAway} ProxyGoingAway
|
|
37860
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37861
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37862
|
+
*/
|
|
37863
|
+
ProxyGoingAway.decodeDelimited = function decodeDelimited(reader) {
|
|
37864
|
+
if (!(reader instanceof $Reader))
|
|
37865
|
+
reader = new $Reader(reader);
|
|
37866
|
+
return this.decode(reader, reader.uint32());
|
|
37867
|
+
};
|
|
37868
|
+
|
|
37869
|
+
/**
|
|
37870
|
+
* Verifies a ProxyGoingAway message.
|
|
37871
|
+
* @function verify
|
|
37872
|
+
* @memberof api.ProxyGoingAway
|
|
37873
|
+
* @static
|
|
37874
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
37875
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
37876
|
+
*/
|
|
37877
|
+
ProxyGoingAway.verify = function verify(message) {
|
|
37878
|
+
if (typeof message !== "object" || message === null)
|
|
37879
|
+
return "object expected";
|
|
37880
|
+
return null;
|
|
37881
|
+
};
|
|
37882
|
+
|
|
37883
|
+
/**
|
|
37884
|
+
* Creates a ProxyGoingAway message from a plain object. Also converts values to their respective internal types.
|
|
37885
|
+
* @function fromObject
|
|
37886
|
+
* @memberof api.ProxyGoingAway
|
|
37887
|
+
* @static
|
|
37888
|
+
* @param {Object.<string,*>} object Plain object
|
|
37889
|
+
* @returns {api.ProxyGoingAway} ProxyGoingAway
|
|
37890
|
+
*/
|
|
37891
|
+
ProxyGoingAway.fromObject = function fromObject(object) {
|
|
37892
|
+
if (object instanceof $root.api.ProxyGoingAway)
|
|
37893
|
+
return object;
|
|
37894
|
+
return new $root.api.ProxyGoingAway();
|
|
37895
|
+
};
|
|
37896
|
+
|
|
37897
|
+
/**
|
|
37898
|
+
* Creates a plain object from a ProxyGoingAway message. Also converts values to other types if specified.
|
|
37899
|
+
* @function toObject
|
|
37900
|
+
* @memberof api.ProxyGoingAway
|
|
37901
|
+
* @static
|
|
37902
|
+
* @param {api.ProxyGoingAway} message ProxyGoingAway
|
|
37903
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
37904
|
+
* @returns {Object.<string,*>} Plain object
|
|
37905
|
+
*/
|
|
37906
|
+
ProxyGoingAway.toObject = function toObject() {
|
|
37907
|
+
return {};
|
|
37908
|
+
};
|
|
37909
|
+
|
|
37910
|
+
/**
|
|
37911
|
+
* Converts this ProxyGoingAway to JSON.
|
|
37912
|
+
* @function toJSON
|
|
37913
|
+
* @memberof api.ProxyGoingAway
|
|
37914
|
+
* @instance
|
|
37915
|
+
* @returns {Object.<string,*>} JSON object
|
|
37916
|
+
*/
|
|
37917
|
+
ProxyGoingAway.prototype.toJSON = function toJSON() {
|
|
37918
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
37919
|
+
};
|
|
37920
|
+
|
|
37921
|
+
return ProxyGoingAway;
|
|
37922
|
+
})();
|
|
37923
|
+
|
|
37924
|
+
api.FirewallDenied = (function() {
|
|
37925
|
+
|
|
37926
|
+
/**
|
|
37927
|
+
* Properties of a FirewallDenied.
|
|
37928
|
+
* @memberof api
|
|
37929
|
+
* @interface IFirewallDenied
|
|
37930
|
+
*/
|
|
37931
|
+
|
|
37932
|
+
/**
|
|
37933
|
+
* Constructs a new FirewallDenied.
|
|
37934
|
+
* @memberof api
|
|
37935
|
+
* @classdesc Represents a FirewallDenied.
|
|
37936
|
+
* @constructor
|
|
37937
|
+
* @param {api.IFirewallDenied=} [properties] Properties to set
|
|
37938
|
+
*/
|
|
37939
|
+
function FirewallDenied(properties) {
|
|
37940
|
+
if (properties)
|
|
37941
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
37942
|
+
if (properties[keys[i]] != null)
|
|
37943
|
+
this[keys[i]] = properties[keys[i]];
|
|
37944
|
+
}
|
|
37945
|
+
|
|
37946
|
+
/**
|
|
37947
|
+
* Creates a new FirewallDenied instance using the specified properties.
|
|
37948
|
+
* @function create
|
|
37949
|
+
* @memberof api.FirewallDenied
|
|
37950
|
+
* @static
|
|
37951
|
+
* @param {api.IFirewallDenied=} [properties] Properties to set
|
|
37952
|
+
* @returns {api.FirewallDenied} FirewallDenied instance
|
|
37953
|
+
*/
|
|
37954
|
+
FirewallDenied.create = function create(properties) {
|
|
37955
|
+
return FirewallDenied.fromObject(properties);
|
|
37956
|
+
};
|
|
37957
|
+
|
|
37958
|
+
/**
|
|
37959
|
+
* Encodes the specified FirewallDenied message. Does not implicitly {@link api.FirewallDenied.verify|verify} messages.
|
|
37960
|
+
* @function encode
|
|
37961
|
+
* @memberof api.FirewallDenied
|
|
37962
|
+
* @static
|
|
37963
|
+
* @param {api.FirewallDenied} message FirewallDenied message or plain object to encode
|
|
37964
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
37965
|
+
* @returns {$protobuf.Writer} Writer
|
|
37966
|
+
*/
|
|
37967
|
+
FirewallDenied.encode = function encode(message, writer) {
|
|
37968
|
+
if (!writer)
|
|
37969
|
+
writer = $Writer.create();
|
|
37970
|
+
return writer;
|
|
37971
|
+
};
|
|
37972
|
+
|
|
37973
|
+
/**
|
|
37974
|
+
* Encodes the specified FirewallDenied message, length delimited. Does not implicitly {@link api.FirewallDenied.verify|verify} messages.
|
|
37975
|
+
* @function encodeDelimited
|
|
37976
|
+
* @memberof api.FirewallDenied
|
|
37977
|
+
* @static
|
|
37978
|
+
* @param {api.FirewallDenied} message FirewallDenied message or plain object to encode
|
|
37979
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
37980
|
+
* @returns {$protobuf.Writer} Writer
|
|
37981
|
+
*/
|
|
37982
|
+
FirewallDenied.encodeDelimited = function encodeDelimited(message, writer) {
|
|
37983
|
+
return this.encode(message, writer).ldelim();
|
|
37984
|
+
};
|
|
37985
|
+
|
|
37986
|
+
/**
|
|
37987
|
+
* Decodes a FirewallDenied message from the specified reader or buffer.
|
|
37988
|
+
* @function decode
|
|
37989
|
+
* @memberof api.FirewallDenied
|
|
37990
|
+
* @static
|
|
37991
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
37992
|
+
* @param {number} [length] Message length if known beforehand
|
|
37993
|
+
* @returns {api.FirewallDenied} FirewallDenied
|
|
37994
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37995
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37996
|
+
*/
|
|
37997
|
+
FirewallDenied.decode = function decode(reader, length) {
|
|
37998
|
+
if (!(reader instanceof $Reader))
|
|
37999
|
+
reader = $Reader.create(reader);
|
|
38000
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.FirewallDenied();
|
|
38001
|
+
while (reader.pos < end) {
|
|
38002
|
+
var tag = reader.uint32();
|
|
38003
|
+
switch (tag >>> 3) {
|
|
38004
|
+
default:
|
|
38005
|
+
reader.skipType(tag & 7);
|
|
38006
|
+
break;
|
|
38007
|
+
}
|
|
38008
|
+
}
|
|
38009
|
+
return message;
|
|
38010
|
+
};
|
|
38011
|
+
|
|
38012
|
+
/**
|
|
38013
|
+
* Decodes a FirewallDenied message from the specified reader or buffer, length delimited.
|
|
38014
|
+
* @function decodeDelimited
|
|
38015
|
+
* @memberof api.FirewallDenied
|
|
38016
|
+
* @static
|
|
38017
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
38018
|
+
* @returns {api.FirewallDenied} FirewallDenied
|
|
38019
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
38020
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
38021
|
+
*/
|
|
38022
|
+
FirewallDenied.decodeDelimited = function decodeDelimited(reader) {
|
|
38023
|
+
if (!(reader instanceof $Reader))
|
|
38024
|
+
reader = new $Reader(reader);
|
|
38025
|
+
return this.decode(reader, reader.uint32());
|
|
38026
|
+
};
|
|
38027
|
+
|
|
38028
|
+
/**
|
|
38029
|
+
* Verifies a FirewallDenied message.
|
|
38030
|
+
* @function verify
|
|
38031
|
+
* @memberof api.FirewallDenied
|
|
38032
|
+
* @static
|
|
38033
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
38034
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
38035
|
+
*/
|
|
38036
|
+
FirewallDenied.verify = function verify(message) {
|
|
38037
|
+
if (typeof message !== "object" || message === null)
|
|
38038
|
+
return "object expected";
|
|
38039
|
+
return null;
|
|
38040
|
+
};
|
|
38041
|
+
|
|
38042
|
+
/**
|
|
38043
|
+
* Creates a FirewallDenied message from a plain object. Also converts values to their respective internal types.
|
|
38044
|
+
* @function fromObject
|
|
38045
|
+
* @memberof api.FirewallDenied
|
|
38046
|
+
* @static
|
|
38047
|
+
* @param {Object.<string,*>} object Plain object
|
|
38048
|
+
* @returns {api.FirewallDenied} FirewallDenied
|
|
38049
|
+
*/
|
|
38050
|
+
FirewallDenied.fromObject = function fromObject(object) {
|
|
38051
|
+
if (object instanceof $root.api.FirewallDenied)
|
|
38052
|
+
return object;
|
|
38053
|
+
return new $root.api.FirewallDenied();
|
|
38054
|
+
};
|
|
38055
|
+
|
|
38056
|
+
/**
|
|
38057
|
+
* Creates a plain object from a FirewallDenied message. Also converts values to other types if specified.
|
|
38058
|
+
* @function toObject
|
|
38059
|
+
* @memberof api.FirewallDenied
|
|
38060
|
+
* @static
|
|
38061
|
+
* @param {api.FirewallDenied} message FirewallDenied
|
|
38062
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
38063
|
+
* @returns {Object.<string,*>} Plain object
|
|
38064
|
+
*/
|
|
38065
|
+
FirewallDenied.toObject = function toObject() {
|
|
38066
|
+
return {};
|
|
38067
|
+
};
|
|
38068
|
+
|
|
38069
|
+
/**
|
|
38070
|
+
* Converts this FirewallDenied to JSON.
|
|
38071
|
+
* @function toJSON
|
|
38072
|
+
* @memberof api.FirewallDenied
|
|
38073
|
+
* @instance
|
|
38074
|
+
* @returns {Object.<string,*>} JSON object
|
|
38075
|
+
*/
|
|
38076
|
+
FirewallDenied.prototype.toJSON = function toJSON() {
|
|
38077
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
38078
|
+
};
|
|
38079
|
+
|
|
38080
|
+
return FirewallDenied;
|
|
38081
|
+
})();
|
|
38082
|
+
|
|
36767
38083
|
api.Repl = (function() {
|
|
36768
38084
|
|
|
36769
38085
|
/**
|