@replit/protocol 0.2.39 → 0.2.43
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 +307 -1
- package/main/index.js +738 -3
- package/main/index.js.flow +427 -0
- package/package.json +1 -1
package/main/index.js
CHANGED
|
@@ -173,6 +173,8 @@
|
|
|
173
173
|
* @property {api.DebugBreakpointEvent|api.IDebugBreakpointEvent|null} [debugBreakpointEvent] Command debugBreakpointEvent
|
|
174
174
|
* @property {api.DotReplitGetRequest|api.IDotReplitGetRequest|null} [dotReplitGetRequest] Command dotReplitGetRequest
|
|
175
175
|
* @property {api.DotReplitGetResponse|api.IDotReplitGetResponse|null} [dotReplitGetResponse] Command dotReplitGetResponse
|
|
176
|
+
* @property {api.RunConfigGetRequest|api.IRunConfigGetRequest|null} [runConfigGetRequest] Command runConfigGetRequest
|
|
177
|
+
* @property {api.RunConfigGetResponse|api.IRunConfigGetResponse|null} [runConfigGetResponse] Command runConfigGetResponse
|
|
176
178
|
* @property {api.StartLSP|api.IStartLSP|null} [startLSP] Command startLSP
|
|
177
179
|
* @property {string|null} [ref] Command ref
|
|
178
180
|
*/
|
|
@@ -1327,6 +1329,22 @@
|
|
|
1327
1329
|
*/
|
|
1328
1330
|
Command.prototype.dotReplitGetResponse = null;
|
|
1329
1331
|
|
|
1332
|
+
/**
|
|
1333
|
+
* Command runConfigGetRequest.
|
|
1334
|
+
* @member {api.RunConfigGetRequest|null|undefined} runConfigGetRequest
|
|
1335
|
+
* @memberof api.Command
|
|
1336
|
+
* @instance
|
|
1337
|
+
*/
|
|
1338
|
+
Command.prototype.runConfigGetRequest = null;
|
|
1339
|
+
|
|
1340
|
+
/**
|
|
1341
|
+
* Command runConfigGetResponse.
|
|
1342
|
+
* @member {api.RunConfigGetResponse|null|undefined} runConfigGetResponse
|
|
1343
|
+
* @memberof api.Command
|
|
1344
|
+
* @instance
|
|
1345
|
+
*/
|
|
1346
|
+
Command.prototype.runConfigGetResponse = null;
|
|
1347
|
+
|
|
1330
1348
|
/**
|
|
1331
1349
|
* Command startLSP.
|
|
1332
1350
|
* @member {api.StartLSP|null|undefined} startLSP
|
|
@@ -1348,12 +1366,12 @@
|
|
|
1348
1366
|
|
|
1349
1367
|
/**
|
|
1350
1368
|
* Command body.
|
|
1351
|
-
* @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"|"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"|"startLSP"|undefined} body
|
|
1369
|
+
* @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"|"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
|
|
1352
1370
|
* @memberof api.Command
|
|
1353
1371
|
* @instance
|
|
1354
1372
|
*/
|
|
1355
1373
|
Object.defineProperty(Command.prototype, "body", {
|
|
1356
|
-
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", "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", "startLSP"]),
|
|
1374
|
+
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", "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"]),
|
|
1357
1375
|
set: $util.oneOfSetter($oneOfFields)
|
|
1358
1376
|
});
|
|
1359
1377
|
|
|
@@ -1667,6 +1685,10 @@
|
|
|
1667
1685
|
$root.api.FSSnapshotEvent.encode(message.fsSnapshotEvent, writer.uint32(/* id 388, wireType 2 =*/3106).fork()).ldelim();
|
|
1668
1686
|
if (message.snapshotEvent != null && Object.hasOwnProperty.call(message, "snapshotEvent"))
|
|
1669
1687
|
$root.api.SnapshotEvent.encode(message.snapshotEvent, writer.uint32(/* id 389, wireType 2 =*/3114).fork()).ldelim();
|
|
1688
|
+
if (message.runConfigGetRequest != null && Object.hasOwnProperty.call(message, "runConfigGetRequest"))
|
|
1689
|
+
$root.api.RunConfigGetRequest.encode(message.runConfigGetRequest, writer.uint32(/* id 390, wireType 2 =*/3122).fork()).ldelim();
|
|
1690
|
+
if (message.runConfigGetResponse != null && Object.hasOwnProperty.call(message, "runConfigGetResponse"))
|
|
1691
|
+
$root.api.RunConfigGetResponse.encode(message.runConfigGetResponse, writer.uint32(/* id 391, wireType 2 =*/3130).fork()).ldelim();
|
|
1670
1692
|
if (message.ref != null && Object.hasOwnProperty.call(message, "ref"))
|
|
1671
1693
|
writer.uint32(/* id 1000, wireType 2 =*/8002).string(message.ref);
|
|
1672
1694
|
return writer;
|
|
@@ -2129,6 +2151,12 @@
|
|
|
2129
2151
|
case 379:
|
|
2130
2152
|
message.dotReplitGetResponse = $root.api.DotReplitGetResponse.decode(reader, reader.uint32());
|
|
2131
2153
|
break;
|
|
2154
|
+
case 390:
|
|
2155
|
+
message.runConfigGetRequest = $root.api.RunConfigGetRequest.decode(reader, reader.uint32());
|
|
2156
|
+
break;
|
|
2157
|
+
case 391:
|
|
2158
|
+
message.runConfigGetResponse = $root.api.RunConfigGetResponse.decode(reader, reader.uint32());
|
|
2159
|
+
break;
|
|
2132
2160
|
case 345:
|
|
2133
2161
|
message.startLSP = $root.api.StartLSP.decode(reader, reader.uint32());
|
|
2134
2162
|
break;
|
|
@@ -3550,6 +3578,26 @@
|
|
|
3550
3578
|
return "dotReplitGetResponse." + error;
|
|
3551
3579
|
}
|
|
3552
3580
|
}
|
|
3581
|
+
if (message.runConfigGetRequest != null && message.hasOwnProperty("runConfigGetRequest")) {
|
|
3582
|
+
if (properties.body === 1)
|
|
3583
|
+
return "body: multiple values";
|
|
3584
|
+
properties.body = 1;
|
|
3585
|
+
{
|
|
3586
|
+
var error = $root.api.RunConfigGetRequest.verify(message.runConfigGetRequest);
|
|
3587
|
+
if (error)
|
|
3588
|
+
return "runConfigGetRequest." + error;
|
|
3589
|
+
}
|
|
3590
|
+
}
|
|
3591
|
+
if (message.runConfigGetResponse != null && message.hasOwnProperty("runConfigGetResponse")) {
|
|
3592
|
+
if (properties.body === 1)
|
|
3593
|
+
return "body: multiple values";
|
|
3594
|
+
properties.body = 1;
|
|
3595
|
+
{
|
|
3596
|
+
var error = $root.api.RunConfigGetResponse.verify(message.runConfigGetResponse);
|
|
3597
|
+
if (error)
|
|
3598
|
+
return "runConfigGetResponse." + error;
|
|
3599
|
+
}
|
|
3600
|
+
}
|
|
3553
3601
|
if (message.startLSP != null && message.hasOwnProperty("startLSP")) {
|
|
3554
3602
|
if (properties.body === 1)
|
|
3555
3603
|
return "body: multiple values";
|
|
@@ -4260,6 +4308,16 @@
|
|
|
4260
4308
|
throw TypeError(".api.Command.dotReplitGetResponse: object expected");
|
|
4261
4309
|
message.dotReplitGetResponse = $root.api.DotReplitGetResponse.fromObject(object.dotReplitGetResponse);
|
|
4262
4310
|
}
|
|
4311
|
+
if (object.runConfigGetRequest != null) {
|
|
4312
|
+
if (typeof object.runConfigGetRequest !== "object")
|
|
4313
|
+
throw TypeError(".api.Command.runConfigGetRequest: object expected");
|
|
4314
|
+
message.runConfigGetRequest = $root.api.RunConfigGetRequest.fromObject(object.runConfigGetRequest);
|
|
4315
|
+
}
|
|
4316
|
+
if (object.runConfigGetResponse != null) {
|
|
4317
|
+
if (typeof object.runConfigGetResponse !== "object")
|
|
4318
|
+
throw TypeError(".api.Command.runConfigGetResponse: object expected");
|
|
4319
|
+
message.runConfigGetResponse = $root.api.RunConfigGetResponse.fromObject(object.runConfigGetResponse);
|
|
4320
|
+
}
|
|
4263
4321
|
if (object.startLSP != null) {
|
|
4264
4322
|
if (typeof object.startLSP !== "object")
|
|
4265
4323
|
throw TypeError(".api.Command.startLSP: object expected");
|
|
@@ -4997,6 +5055,16 @@
|
|
|
4997
5055
|
if (options.oneofs)
|
|
4998
5056
|
object.body = "snapshotEvent";
|
|
4999
5057
|
}
|
|
5058
|
+
if (message.runConfigGetRequest != null && message.hasOwnProperty("runConfigGetRequest")) {
|
|
5059
|
+
object.runConfigGetRequest = $root.api.RunConfigGetRequest.toObject(message.runConfigGetRequest, options);
|
|
5060
|
+
if (options.oneofs)
|
|
5061
|
+
object.body = "runConfigGetRequest";
|
|
5062
|
+
}
|
|
5063
|
+
if (message.runConfigGetResponse != null && message.hasOwnProperty("runConfigGetResponse")) {
|
|
5064
|
+
object.runConfigGetResponse = $root.api.RunConfigGetResponse.toObject(message.runConfigGetResponse, options);
|
|
5065
|
+
if (options.oneofs)
|
|
5066
|
+
object.body = "runConfigGetResponse";
|
|
5067
|
+
}
|
|
5000
5068
|
if (message.ref != null && message.hasOwnProperty("ref"))
|
|
5001
5069
|
object.ref = message.ref;
|
|
5002
5070
|
return object;
|
|
@@ -7736,6 +7804,7 @@
|
|
|
7736
7804
|
* @property {string|null} [cwd] Pid1Config cwd
|
|
7737
7805
|
* @property {string|null} [language] Pid1Config language
|
|
7738
7806
|
* @property {Object.<string,string>|null} [env] Pid1Config env
|
|
7807
|
+
* @property {boolean|null} [noStore] Pid1Config noStore
|
|
7739
7808
|
*/
|
|
7740
7809
|
|
|
7741
7810
|
/**
|
|
@@ -7777,6 +7846,14 @@
|
|
|
7777
7846
|
*/
|
|
7778
7847
|
Pid1Config.prototype.env = $util.emptyObject;
|
|
7779
7848
|
|
|
7849
|
+
/**
|
|
7850
|
+
* Pid1Config noStore.
|
|
7851
|
+
* @member {boolean} noStore
|
|
7852
|
+
* @memberof api.Pid1Config
|
|
7853
|
+
* @instance
|
|
7854
|
+
*/
|
|
7855
|
+
Pid1Config.prototype.noStore = false;
|
|
7856
|
+
|
|
7780
7857
|
/**
|
|
7781
7858
|
* Creates a new Pid1Config instance using the specified properties.
|
|
7782
7859
|
* @function create
|
|
@@ -7808,6 +7885,8 @@
|
|
|
7808
7885
|
if (message.env != null && Object.hasOwnProperty.call(message, "env"))
|
|
7809
7886
|
for (var keys = Object.keys(message.env), i = 0; i < keys.length; ++i)
|
|
7810
7887
|
writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.env[keys[i]]).ldelim();
|
|
7888
|
+
if (message.noStore != null && Object.hasOwnProperty.call(message, "noStore"))
|
|
7889
|
+
writer.uint32(/* id 4, wireType 0 =*/32).bool(message.noStore);
|
|
7811
7890
|
return writer;
|
|
7812
7891
|
};
|
|
7813
7892
|
|
|
@@ -7870,6 +7949,9 @@
|
|
|
7870
7949
|
}
|
|
7871
7950
|
message.env[key] = value;
|
|
7872
7951
|
break;
|
|
7952
|
+
case 4:
|
|
7953
|
+
message.noStore = reader.bool();
|
|
7954
|
+
break;
|
|
7873
7955
|
default:
|
|
7874
7956
|
reader.skipType(tag & 7);
|
|
7875
7957
|
break;
|
|
@@ -7919,6 +8001,9 @@
|
|
|
7919
8001
|
if (!$util.isString(message.env[key[i]]))
|
|
7920
8002
|
return "env: string{k:string} expected";
|
|
7921
8003
|
}
|
|
8004
|
+
if (message.noStore != null && message.hasOwnProperty("noStore"))
|
|
8005
|
+
if (typeof message.noStore !== "boolean")
|
|
8006
|
+
return "noStore: boolean expected";
|
|
7922
8007
|
return null;
|
|
7923
8008
|
};
|
|
7924
8009
|
|
|
@@ -7945,6 +8030,8 @@
|
|
|
7945
8030
|
for (var keys = Object.keys(object.env), i = 0; i < keys.length; ++i)
|
|
7946
8031
|
message.env[keys[i]] = String(object.env[keys[i]]);
|
|
7947
8032
|
}
|
|
8033
|
+
if (object.noStore != null)
|
|
8034
|
+
message.noStore = Boolean(object.noStore);
|
|
7948
8035
|
return message;
|
|
7949
8036
|
};
|
|
7950
8037
|
|
|
@@ -7966,6 +8053,7 @@
|
|
|
7966
8053
|
if (options.defaults) {
|
|
7967
8054
|
object.cwd = "";
|
|
7968
8055
|
object.language = "";
|
|
8056
|
+
object.noStore = false;
|
|
7969
8057
|
}
|
|
7970
8058
|
if (message.cwd != null && message.hasOwnProperty("cwd"))
|
|
7971
8059
|
object.cwd = message.cwd;
|
|
@@ -7977,6 +8065,8 @@
|
|
|
7977
8065
|
for (var j = 0; j < keys2.length; ++j)
|
|
7978
8066
|
object.env[keys2[j]] = message.env[keys2[j]];
|
|
7979
8067
|
}
|
|
8068
|
+
if (message.noStore != null && message.hasOwnProperty("noStore"))
|
|
8069
|
+
object.noStore = message.noStore;
|
|
7980
8070
|
return object;
|
|
7981
8071
|
};
|
|
7982
8072
|
|
|
@@ -32481,6 +32571,628 @@
|
|
|
32481
32571
|
return DotReplitGetResponse;
|
|
32482
32572
|
})();
|
|
32483
32573
|
|
|
32574
|
+
api.RunConfigGetRequest = (function() {
|
|
32575
|
+
|
|
32576
|
+
/**
|
|
32577
|
+
* Properties of a RunConfigGetRequest.
|
|
32578
|
+
* @memberof api
|
|
32579
|
+
* @interface IRunConfigGetRequest
|
|
32580
|
+
*/
|
|
32581
|
+
|
|
32582
|
+
/**
|
|
32583
|
+
* Constructs a new RunConfigGetRequest.
|
|
32584
|
+
* @memberof api
|
|
32585
|
+
* @classdesc Represents a RunConfigGetRequest.
|
|
32586
|
+
* @constructor
|
|
32587
|
+
* @param {api.IRunConfigGetRequest=} [properties] Properties to set
|
|
32588
|
+
*/
|
|
32589
|
+
function RunConfigGetRequest(properties) {
|
|
32590
|
+
if (properties)
|
|
32591
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
32592
|
+
if (properties[keys[i]] != null)
|
|
32593
|
+
this[keys[i]] = properties[keys[i]];
|
|
32594
|
+
}
|
|
32595
|
+
|
|
32596
|
+
/**
|
|
32597
|
+
* Creates a new RunConfigGetRequest instance using the specified properties.
|
|
32598
|
+
* @function create
|
|
32599
|
+
* @memberof api.RunConfigGetRequest
|
|
32600
|
+
* @static
|
|
32601
|
+
* @param {api.IRunConfigGetRequest=} [properties] Properties to set
|
|
32602
|
+
* @returns {api.RunConfigGetRequest} RunConfigGetRequest instance
|
|
32603
|
+
*/
|
|
32604
|
+
RunConfigGetRequest.create = function create(properties) {
|
|
32605
|
+
return RunConfigGetRequest.fromObject(properties);
|
|
32606
|
+
};
|
|
32607
|
+
|
|
32608
|
+
/**
|
|
32609
|
+
* Encodes the specified RunConfigGetRequest message. Does not implicitly {@link api.RunConfigGetRequest.verify|verify} messages.
|
|
32610
|
+
* @function encode
|
|
32611
|
+
* @memberof api.RunConfigGetRequest
|
|
32612
|
+
* @static
|
|
32613
|
+
* @param {api.RunConfigGetRequest} message RunConfigGetRequest message or plain object to encode
|
|
32614
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
32615
|
+
* @returns {$protobuf.Writer} Writer
|
|
32616
|
+
*/
|
|
32617
|
+
RunConfigGetRequest.encode = function encode(message, writer) {
|
|
32618
|
+
if (!writer)
|
|
32619
|
+
writer = $Writer.create();
|
|
32620
|
+
return writer;
|
|
32621
|
+
};
|
|
32622
|
+
|
|
32623
|
+
/**
|
|
32624
|
+
* Encodes the specified RunConfigGetRequest message, length delimited. Does not implicitly {@link api.RunConfigGetRequest.verify|verify} messages.
|
|
32625
|
+
* @function encodeDelimited
|
|
32626
|
+
* @memberof api.RunConfigGetRequest
|
|
32627
|
+
* @static
|
|
32628
|
+
* @param {api.RunConfigGetRequest} message RunConfigGetRequest message or plain object to encode
|
|
32629
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
32630
|
+
* @returns {$protobuf.Writer} Writer
|
|
32631
|
+
*/
|
|
32632
|
+
RunConfigGetRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
32633
|
+
return this.encode(message, writer).ldelim();
|
|
32634
|
+
};
|
|
32635
|
+
|
|
32636
|
+
/**
|
|
32637
|
+
* Decodes a RunConfigGetRequest message from the specified reader or buffer.
|
|
32638
|
+
* @function decode
|
|
32639
|
+
* @memberof api.RunConfigGetRequest
|
|
32640
|
+
* @static
|
|
32641
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
32642
|
+
* @param {number} [length] Message length if known beforehand
|
|
32643
|
+
* @returns {api.RunConfigGetRequest} RunConfigGetRequest
|
|
32644
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32645
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32646
|
+
*/
|
|
32647
|
+
RunConfigGetRequest.decode = function decode(reader, length) {
|
|
32648
|
+
if (!(reader instanceof $Reader))
|
|
32649
|
+
reader = $Reader.create(reader);
|
|
32650
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.RunConfigGetRequest();
|
|
32651
|
+
while (reader.pos < end) {
|
|
32652
|
+
var tag = reader.uint32();
|
|
32653
|
+
switch (tag >>> 3) {
|
|
32654
|
+
default:
|
|
32655
|
+
reader.skipType(tag & 7);
|
|
32656
|
+
break;
|
|
32657
|
+
}
|
|
32658
|
+
}
|
|
32659
|
+
return message;
|
|
32660
|
+
};
|
|
32661
|
+
|
|
32662
|
+
/**
|
|
32663
|
+
* Decodes a RunConfigGetRequest message from the specified reader or buffer, length delimited.
|
|
32664
|
+
* @function decodeDelimited
|
|
32665
|
+
* @memberof api.RunConfigGetRequest
|
|
32666
|
+
* @static
|
|
32667
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
32668
|
+
* @returns {api.RunConfigGetRequest} RunConfigGetRequest
|
|
32669
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32670
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32671
|
+
*/
|
|
32672
|
+
RunConfigGetRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
32673
|
+
if (!(reader instanceof $Reader))
|
|
32674
|
+
reader = new $Reader(reader);
|
|
32675
|
+
return this.decode(reader, reader.uint32());
|
|
32676
|
+
};
|
|
32677
|
+
|
|
32678
|
+
/**
|
|
32679
|
+
* Verifies a RunConfigGetRequest message.
|
|
32680
|
+
* @function verify
|
|
32681
|
+
* @memberof api.RunConfigGetRequest
|
|
32682
|
+
* @static
|
|
32683
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
32684
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
32685
|
+
*/
|
|
32686
|
+
RunConfigGetRequest.verify = function verify(message) {
|
|
32687
|
+
if (typeof message !== "object" || message === null)
|
|
32688
|
+
return "object expected";
|
|
32689
|
+
return null;
|
|
32690
|
+
};
|
|
32691
|
+
|
|
32692
|
+
/**
|
|
32693
|
+
* Creates a RunConfigGetRequest message from a plain object. Also converts values to their respective internal types.
|
|
32694
|
+
* @function fromObject
|
|
32695
|
+
* @memberof api.RunConfigGetRequest
|
|
32696
|
+
* @static
|
|
32697
|
+
* @param {Object.<string,*>} object Plain object
|
|
32698
|
+
* @returns {api.RunConfigGetRequest} RunConfigGetRequest
|
|
32699
|
+
*/
|
|
32700
|
+
RunConfigGetRequest.fromObject = function fromObject(object) {
|
|
32701
|
+
if (object instanceof $root.api.RunConfigGetRequest)
|
|
32702
|
+
return object;
|
|
32703
|
+
return new $root.api.RunConfigGetRequest();
|
|
32704
|
+
};
|
|
32705
|
+
|
|
32706
|
+
/**
|
|
32707
|
+
* Creates a plain object from a RunConfigGetRequest message. Also converts values to other types if specified.
|
|
32708
|
+
* @function toObject
|
|
32709
|
+
* @memberof api.RunConfigGetRequest
|
|
32710
|
+
* @static
|
|
32711
|
+
* @param {api.RunConfigGetRequest} message RunConfigGetRequest
|
|
32712
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
32713
|
+
* @returns {Object.<string,*>} Plain object
|
|
32714
|
+
*/
|
|
32715
|
+
RunConfigGetRequest.toObject = function toObject() {
|
|
32716
|
+
return {};
|
|
32717
|
+
};
|
|
32718
|
+
|
|
32719
|
+
/**
|
|
32720
|
+
* Converts this RunConfigGetRequest to JSON.
|
|
32721
|
+
* @function toJSON
|
|
32722
|
+
* @memberof api.RunConfigGetRequest
|
|
32723
|
+
* @instance
|
|
32724
|
+
* @returns {Object.<string,*>} JSON object
|
|
32725
|
+
*/
|
|
32726
|
+
RunConfigGetRequest.prototype.toJSON = function toJSON() {
|
|
32727
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
32728
|
+
};
|
|
32729
|
+
|
|
32730
|
+
return RunConfigGetRequest;
|
|
32731
|
+
})();
|
|
32732
|
+
|
|
32733
|
+
api.RunConfigGetResponse = (function() {
|
|
32734
|
+
|
|
32735
|
+
/**
|
|
32736
|
+
* Properties of a RunConfigGetResponse.
|
|
32737
|
+
* @memberof api
|
|
32738
|
+
* @interface IRunConfigGetResponse
|
|
32739
|
+
* @property {api.DotReplitInterp|api.IDotReplitInterp|null} [interp] RunConfigGetResponse interp
|
|
32740
|
+
* @property {api.RunConfigGetResponse.Run|api.RunConfigGetResponse.IRun|null} [run] RunConfigGetResponse run
|
|
32741
|
+
*/
|
|
32742
|
+
|
|
32743
|
+
/**
|
|
32744
|
+
* Constructs a new RunConfigGetResponse.
|
|
32745
|
+
* @memberof api
|
|
32746
|
+
* @classdesc Represents a RunConfigGetResponse.
|
|
32747
|
+
* @constructor
|
|
32748
|
+
* @param {api.IRunConfigGetResponse=} [properties] Properties to set
|
|
32749
|
+
*/
|
|
32750
|
+
function RunConfigGetResponse(properties) {
|
|
32751
|
+
if (properties)
|
|
32752
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
32753
|
+
if (properties[keys[i]] != null)
|
|
32754
|
+
this[keys[i]] = properties[keys[i]];
|
|
32755
|
+
}
|
|
32756
|
+
|
|
32757
|
+
/**
|
|
32758
|
+
* RunConfigGetResponse interp.
|
|
32759
|
+
* @member {api.DotReplitInterp|null|undefined} interp
|
|
32760
|
+
* @memberof api.RunConfigGetResponse
|
|
32761
|
+
* @instance
|
|
32762
|
+
*/
|
|
32763
|
+
RunConfigGetResponse.prototype.interp = null;
|
|
32764
|
+
|
|
32765
|
+
/**
|
|
32766
|
+
* RunConfigGetResponse run.
|
|
32767
|
+
* @member {api.RunConfigGetResponse.Run|null|undefined} run
|
|
32768
|
+
* @memberof api.RunConfigGetResponse
|
|
32769
|
+
* @instance
|
|
32770
|
+
*/
|
|
32771
|
+
RunConfigGetResponse.prototype.run = null;
|
|
32772
|
+
|
|
32773
|
+
// OneOf field names bound to virtual getters and setters
|
|
32774
|
+
var $oneOfFields;
|
|
32775
|
+
|
|
32776
|
+
/**
|
|
32777
|
+
* RunConfigGetResponse config.
|
|
32778
|
+
* @member {"interp"|"run"|undefined} config
|
|
32779
|
+
* @memberof api.RunConfigGetResponse
|
|
32780
|
+
* @instance
|
|
32781
|
+
*/
|
|
32782
|
+
Object.defineProperty(RunConfigGetResponse.prototype, "config", {
|
|
32783
|
+
get: $util.oneOfGetter($oneOfFields = ["interp", "run"]),
|
|
32784
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
32785
|
+
});
|
|
32786
|
+
|
|
32787
|
+
/**
|
|
32788
|
+
* Creates a new RunConfigGetResponse instance using the specified properties.
|
|
32789
|
+
* @function create
|
|
32790
|
+
* @memberof api.RunConfigGetResponse
|
|
32791
|
+
* @static
|
|
32792
|
+
* @param {api.IRunConfigGetResponse=} [properties] Properties to set
|
|
32793
|
+
* @returns {api.RunConfigGetResponse} RunConfigGetResponse instance
|
|
32794
|
+
*/
|
|
32795
|
+
RunConfigGetResponse.create = function create(properties) {
|
|
32796
|
+
return RunConfigGetResponse.fromObject(properties);
|
|
32797
|
+
};
|
|
32798
|
+
|
|
32799
|
+
/**
|
|
32800
|
+
* Encodes the specified RunConfigGetResponse message. Does not implicitly {@link api.RunConfigGetResponse.verify|verify} messages.
|
|
32801
|
+
* @function encode
|
|
32802
|
+
* @memberof api.RunConfigGetResponse
|
|
32803
|
+
* @static
|
|
32804
|
+
* @param {api.RunConfigGetResponse} message RunConfigGetResponse message or plain object to encode
|
|
32805
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
32806
|
+
* @returns {$protobuf.Writer} Writer
|
|
32807
|
+
*/
|
|
32808
|
+
RunConfigGetResponse.encode = function encode(message, writer) {
|
|
32809
|
+
if (!writer)
|
|
32810
|
+
writer = $Writer.create();
|
|
32811
|
+
if (message.interp != null && Object.hasOwnProperty.call(message, "interp"))
|
|
32812
|
+
$root.api.DotReplitInterp.encode(message.interp, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
32813
|
+
if (message.run != null && Object.hasOwnProperty.call(message, "run"))
|
|
32814
|
+
$root.api.RunConfigGetResponse.Run.encode(message.run, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
32815
|
+
return writer;
|
|
32816
|
+
};
|
|
32817
|
+
|
|
32818
|
+
/**
|
|
32819
|
+
* Encodes the specified RunConfigGetResponse message, length delimited. Does not implicitly {@link api.RunConfigGetResponse.verify|verify} messages.
|
|
32820
|
+
* @function encodeDelimited
|
|
32821
|
+
* @memberof api.RunConfigGetResponse
|
|
32822
|
+
* @static
|
|
32823
|
+
* @param {api.RunConfigGetResponse} message RunConfigGetResponse message or plain object to encode
|
|
32824
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
32825
|
+
* @returns {$protobuf.Writer} Writer
|
|
32826
|
+
*/
|
|
32827
|
+
RunConfigGetResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
32828
|
+
return this.encode(message, writer).ldelim();
|
|
32829
|
+
};
|
|
32830
|
+
|
|
32831
|
+
/**
|
|
32832
|
+
* Decodes a RunConfigGetResponse message from the specified reader or buffer.
|
|
32833
|
+
* @function decode
|
|
32834
|
+
* @memberof api.RunConfigGetResponse
|
|
32835
|
+
* @static
|
|
32836
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
32837
|
+
* @param {number} [length] Message length if known beforehand
|
|
32838
|
+
* @returns {api.RunConfigGetResponse} RunConfigGetResponse
|
|
32839
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32840
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32841
|
+
*/
|
|
32842
|
+
RunConfigGetResponse.decode = function decode(reader, length) {
|
|
32843
|
+
if (!(reader instanceof $Reader))
|
|
32844
|
+
reader = $Reader.create(reader);
|
|
32845
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.RunConfigGetResponse();
|
|
32846
|
+
while (reader.pos < end) {
|
|
32847
|
+
var tag = reader.uint32();
|
|
32848
|
+
switch (tag >>> 3) {
|
|
32849
|
+
case 1:
|
|
32850
|
+
message.interp = $root.api.DotReplitInterp.decode(reader, reader.uint32());
|
|
32851
|
+
break;
|
|
32852
|
+
case 2:
|
|
32853
|
+
message.run = $root.api.RunConfigGetResponse.Run.decode(reader, reader.uint32());
|
|
32854
|
+
break;
|
|
32855
|
+
default:
|
|
32856
|
+
reader.skipType(tag & 7);
|
|
32857
|
+
break;
|
|
32858
|
+
}
|
|
32859
|
+
}
|
|
32860
|
+
return message;
|
|
32861
|
+
};
|
|
32862
|
+
|
|
32863
|
+
/**
|
|
32864
|
+
* Decodes a RunConfigGetResponse message from the specified reader or buffer, length delimited.
|
|
32865
|
+
* @function decodeDelimited
|
|
32866
|
+
* @memberof api.RunConfigGetResponse
|
|
32867
|
+
* @static
|
|
32868
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
32869
|
+
* @returns {api.RunConfigGetResponse} RunConfigGetResponse
|
|
32870
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32871
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32872
|
+
*/
|
|
32873
|
+
RunConfigGetResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
32874
|
+
if (!(reader instanceof $Reader))
|
|
32875
|
+
reader = new $Reader(reader);
|
|
32876
|
+
return this.decode(reader, reader.uint32());
|
|
32877
|
+
};
|
|
32878
|
+
|
|
32879
|
+
/**
|
|
32880
|
+
* Verifies a RunConfigGetResponse message.
|
|
32881
|
+
* @function verify
|
|
32882
|
+
* @memberof api.RunConfigGetResponse
|
|
32883
|
+
* @static
|
|
32884
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
32885
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
32886
|
+
*/
|
|
32887
|
+
RunConfigGetResponse.verify = function verify(message) {
|
|
32888
|
+
if (typeof message !== "object" || message === null)
|
|
32889
|
+
return "object expected";
|
|
32890
|
+
var properties = {};
|
|
32891
|
+
if (message.interp != null && message.hasOwnProperty("interp")) {
|
|
32892
|
+
properties.config = 1;
|
|
32893
|
+
{
|
|
32894
|
+
var error = $root.api.DotReplitInterp.verify(message.interp);
|
|
32895
|
+
if (error)
|
|
32896
|
+
return "interp." + error;
|
|
32897
|
+
}
|
|
32898
|
+
}
|
|
32899
|
+
if (message.run != null && message.hasOwnProperty("run")) {
|
|
32900
|
+
if (properties.config === 1)
|
|
32901
|
+
return "config: multiple values";
|
|
32902
|
+
properties.config = 1;
|
|
32903
|
+
{
|
|
32904
|
+
var error = $root.api.RunConfigGetResponse.Run.verify(message.run);
|
|
32905
|
+
if (error)
|
|
32906
|
+
return "run." + error;
|
|
32907
|
+
}
|
|
32908
|
+
}
|
|
32909
|
+
return null;
|
|
32910
|
+
};
|
|
32911
|
+
|
|
32912
|
+
/**
|
|
32913
|
+
* Creates a RunConfigGetResponse message from a plain object. Also converts values to their respective internal types.
|
|
32914
|
+
* @function fromObject
|
|
32915
|
+
* @memberof api.RunConfigGetResponse
|
|
32916
|
+
* @static
|
|
32917
|
+
* @param {Object.<string,*>} object Plain object
|
|
32918
|
+
* @returns {api.RunConfigGetResponse} RunConfigGetResponse
|
|
32919
|
+
*/
|
|
32920
|
+
RunConfigGetResponse.fromObject = function fromObject(object) {
|
|
32921
|
+
if (object instanceof $root.api.RunConfigGetResponse)
|
|
32922
|
+
return object;
|
|
32923
|
+
var message = new $root.api.RunConfigGetResponse();
|
|
32924
|
+
if (object.interp != null) {
|
|
32925
|
+
if (typeof object.interp !== "object")
|
|
32926
|
+
throw TypeError(".api.RunConfigGetResponse.interp: object expected");
|
|
32927
|
+
message.interp = $root.api.DotReplitInterp.fromObject(object.interp);
|
|
32928
|
+
}
|
|
32929
|
+
if (object.run != null) {
|
|
32930
|
+
if (typeof object.run !== "object")
|
|
32931
|
+
throw TypeError(".api.RunConfigGetResponse.run: object expected");
|
|
32932
|
+
message.run = $root.api.RunConfigGetResponse.Run.fromObject(object.run);
|
|
32933
|
+
}
|
|
32934
|
+
return message;
|
|
32935
|
+
};
|
|
32936
|
+
|
|
32937
|
+
/**
|
|
32938
|
+
* Creates a plain object from a RunConfigGetResponse message. Also converts values to other types if specified.
|
|
32939
|
+
* @function toObject
|
|
32940
|
+
* @memberof api.RunConfigGetResponse
|
|
32941
|
+
* @static
|
|
32942
|
+
* @param {api.RunConfigGetResponse} message RunConfigGetResponse
|
|
32943
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
32944
|
+
* @returns {Object.<string,*>} Plain object
|
|
32945
|
+
*/
|
|
32946
|
+
RunConfigGetResponse.toObject = function toObject(message, options) {
|
|
32947
|
+
if (!options)
|
|
32948
|
+
options = {};
|
|
32949
|
+
var object = {};
|
|
32950
|
+
if (message.interp != null && message.hasOwnProperty("interp")) {
|
|
32951
|
+
object.interp = $root.api.DotReplitInterp.toObject(message.interp, options);
|
|
32952
|
+
if (options.oneofs)
|
|
32953
|
+
object.config = "interp";
|
|
32954
|
+
}
|
|
32955
|
+
if (message.run != null && message.hasOwnProperty("run")) {
|
|
32956
|
+
object.run = $root.api.RunConfigGetResponse.Run.toObject(message.run, options);
|
|
32957
|
+
if (options.oneofs)
|
|
32958
|
+
object.config = "run";
|
|
32959
|
+
}
|
|
32960
|
+
return object;
|
|
32961
|
+
};
|
|
32962
|
+
|
|
32963
|
+
/**
|
|
32964
|
+
* Converts this RunConfigGetResponse to JSON.
|
|
32965
|
+
* @function toJSON
|
|
32966
|
+
* @memberof api.RunConfigGetResponse
|
|
32967
|
+
* @instance
|
|
32968
|
+
* @returns {Object.<string,*>} JSON object
|
|
32969
|
+
*/
|
|
32970
|
+
RunConfigGetResponse.prototype.toJSON = function toJSON() {
|
|
32971
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
32972
|
+
};
|
|
32973
|
+
|
|
32974
|
+
RunConfigGetResponse.Run = (function() {
|
|
32975
|
+
|
|
32976
|
+
/**
|
|
32977
|
+
* Properties of a Run.
|
|
32978
|
+
* @memberof api.RunConfigGetResponse
|
|
32979
|
+
* @interface IRun
|
|
32980
|
+
* @property {api.Exec|api.IExec|null} [compile] Run compile
|
|
32981
|
+
* @property {api.Exec|api.IExec|null} [run] Run run
|
|
32982
|
+
*/
|
|
32983
|
+
|
|
32984
|
+
/**
|
|
32985
|
+
* Constructs a new Run.
|
|
32986
|
+
* @memberof api.RunConfigGetResponse
|
|
32987
|
+
* @classdesc Represents a Run.
|
|
32988
|
+
* @constructor
|
|
32989
|
+
* @param {api.RunConfigGetResponse.IRun=} [properties] Properties to set
|
|
32990
|
+
*/
|
|
32991
|
+
function Run(properties) {
|
|
32992
|
+
if (properties)
|
|
32993
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
32994
|
+
if (properties[keys[i]] != null)
|
|
32995
|
+
this[keys[i]] = properties[keys[i]];
|
|
32996
|
+
}
|
|
32997
|
+
|
|
32998
|
+
/**
|
|
32999
|
+
* Run compile.
|
|
33000
|
+
* @member {api.Exec|null|undefined} compile
|
|
33001
|
+
* @memberof api.RunConfigGetResponse.Run
|
|
33002
|
+
* @instance
|
|
33003
|
+
*/
|
|
33004
|
+
Run.prototype.compile = null;
|
|
33005
|
+
|
|
33006
|
+
/**
|
|
33007
|
+
* Run run.
|
|
33008
|
+
* @member {api.Exec|null|undefined} run
|
|
33009
|
+
* @memberof api.RunConfigGetResponse.Run
|
|
33010
|
+
* @instance
|
|
33011
|
+
*/
|
|
33012
|
+
Run.prototype.run = null;
|
|
33013
|
+
|
|
33014
|
+
/**
|
|
33015
|
+
* Creates a new Run instance using the specified properties.
|
|
33016
|
+
* @function create
|
|
33017
|
+
* @memberof api.RunConfigGetResponse.Run
|
|
33018
|
+
* @static
|
|
33019
|
+
* @param {api.RunConfigGetResponse.IRun=} [properties] Properties to set
|
|
33020
|
+
* @returns {api.RunConfigGetResponse.Run} Run instance
|
|
33021
|
+
*/
|
|
33022
|
+
Run.create = function create(properties) {
|
|
33023
|
+
return Run.fromObject(properties);
|
|
33024
|
+
};
|
|
33025
|
+
|
|
33026
|
+
/**
|
|
33027
|
+
* Encodes the specified Run message. Does not implicitly {@link api.RunConfigGetResponse.Run.verify|verify} messages.
|
|
33028
|
+
* @function encode
|
|
33029
|
+
* @memberof api.RunConfigGetResponse.Run
|
|
33030
|
+
* @static
|
|
33031
|
+
* @param {api.RunConfigGetResponse.Run} message Run message or plain object to encode
|
|
33032
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
33033
|
+
* @returns {$protobuf.Writer} Writer
|
|
33034
|
+
*/
|
|
33035
|
+
Run.encode = function encode(message, writer) {
|
|
33036
|
+
if (!writer)
|
|
33037
|
+
writer = $Writer.create();
|
|
33038
|
+
if (message.compile != null && Object.hasOwnProperty.call(message, "compile"))
|
|
33039
|
+
$root.api.Exec.encode(message.compile, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
33040
|
+
if (message.run != null && Object.hasOwnProperty.call(message, "run"))
|
|
33041
|
+
$root.api.Exec.encode(message.run, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
33042
|
+
return writer;
|
|
33043
|
+
};
|
|
33044
|
+
|
|
33045
|
+
/**
|
|
33046
|
+
* Encodes the specified Run message, length delimited. Does not implicitly {@link api.RunConfigGetResponse.Run.verify|verify} messages.
|
|
33047
|
+
* @function encodeDelimited
|
|
33048
|
+
* @memberof api.RunConfigGetResponse.Run
|
|
33049
|
+
* @static
|
|
33050
|
+
* @param {api.RunConfigGetResponse.Run} message Run message or plain object to encode
|
|
33051
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
33052
|
+
* @returns {$protobuf.Writer} Writer
|
|
33053
|
+
*/
|
|
33054
|
+
Run.encodeDelimited = function encodeDelimited(message, writer) {
|
|
33055
|
+
return this.encode(message, writer).ldelim();
|
|
33056
|
+
};
|
|
33057
|
+
|
|
33058
|
+
/**
|
|
33059
|
+
* Decodes a Run message from the specified reader or buffer.
|
|
33060
|
+
* @function decode
|
|
33061
|
+
* @memberof api.RunConfigGetResponse.Run
|
|
33062
|
+
* @static
|
|
33063
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
33064
|
+
* @param {number} [length] Message length if known beforehand
|
|
33065
|
+
* @returns {api.RunConfigGetResponse.Run} Run
|
|
33066
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33067
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33068
|
+
*/
|
|
33069
|
+
Run.decode = function decode(reader, length) {
|
|
33070
|
+
if (!(reader instanceof $Reader))
|
|
33071
|
+
reader = $Reader.create(reader);
|
|
33072
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.api.RunConfigGetResponse.Run();
|
|
33073
|
+
while (reader.pos < end) {
|
|
33074
|
+
var tag = reader.uint32();
|
|
33075
|
+
switch (tag >>> 3) {
|
|
33076
|
+
case 1:
|
|
33077
|
+
message.compile = $root.api.Exec.decode(reader, reader.uint32());
|
|
33078
|
+
break;
|
|
33079
|
+
case 2:
|
|
33080
|
+
message.run = $root.api.Exec.decode(reader, reader.uint32());
|
|
33081
|
+
break;
|
|
33082
|
+
default:
|
|
33083
|
+
reader.skipType(tag & 7);
|
|
33084
|
+
break;
|
|
33085
|
+
}
|
|
33086
|
+
}
|
|
33087
|
+
return message;
|
|
33088
|
+
};
|
|
33089
|
+
|
|
33090
|
+
/**
|
|
33091
|
+
* Decodes a Run message from the specified reader or buffer, length delimited.
|
|
33092
|
+
* @function decodeDelimited
|
|
33093
|
+
* @memberof api.RunConfigGetResponse.Run
|
|
33094
|
+
* @static
|
|
33095
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
33096
|
+
* @returns {api.RunConfigGetResponse.Run} Run
|
|
33097
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33098
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33099
|
+
*/
|
|
33100
|
+
Run.decodeDelimited = function decodeDelimited(reader) {
|
|
33101
|
+
if (!(reader instanceof $Reader))
|
|
33102
|
+
reader = new $Reader(reader);
|
|
33103
|
+
return this.decode(reader, reader.uint32());
|
|
33104
|
+
};
|
|
33105
|
+
|
|
33106
|
+
/**
|
|
33107
|
+
* Verifies a Run message.
|
|
33108
|
+
* @function verify
|
|
33109
|
+
* @memberof api.RunConfigGetResponse.Run
|
|
33110
|
+
* @static
|
|
33111
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
33112
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
33113
|
+
*/
|
|
33114
|
+
Run.verify = function verify(message) {
|
|
33115
|
+
if (typeof message !== "object" || message === null)
|
|
33116
|
+
return "object expected";
|
|
33117
|
+
if (message.compile != null && message.hasOwnProperty("compile")) {
|
|
33118
|
+
var error = $root.api.Exec.verify(message.compile);
|
|
33119
|
+
if (error)
|
|
33120
|
+
return "compile." + error;
|
|
33121
|
+
}
|
|
33122
|
+
if (message.run != null && message.hasOwnProperty("run")) {
|
|
33123
|
+
var error = $root.api.Exec.verify(message.run);
|
|
33124
|
+
if (error)
|
|
33125
|
+
return "run." + error;
|
|
33126
|
+
}
|
|
33127
|
+
return null;
|
|
33128
|
+
};
|
|
33129
|
+
|
|
33130
|
+
/**
|
|
33131
|
+
* Creates a Run message from a plain object. Also converts values to their respective internal types.
|
|
33132
|
+
* @function fromObject
|
|
33133
|
+
* @memberof api.RunConfigGetResponse.Run
|
|
33134
|
+
* @static
|
|
33135
|
+
* @param {Object.<string,*>} object Plain object
|
|
33136
|
+
* @returns {api.RunConfigGetResponse.Run} Run
|
|
33137
|
+
*/
|
|
33138
|
+
Run.fromObject = function fromObject(object) {
|
|
33139
|
+
if (object instanceof $root.api.RunConfigGetResponse.Run)
|
|
33140
|
+
return object;
|
|
33141
|
+
var message = new $root.api.RunConfigGetResponse.Run();
|
|
33142
|
+
if (object.compile != null) {
|
|
33143
|
+
if (typeof object.compile !== "object")
|
|
33144
|
+
throw TypeError(".api.RunConfigGetResponse.Run.compile: object expected");
|
|
33145
|
+
message.compile = $root.api.Exec.fromObject(object.compile);
|
|
33146
|
+
}
|
|
33147
|
+
if (object.run != null) {
|
|
33148
|
+
if (typeof object.run !== "object")
|
|
33149
|
+
throw TypeError(".api.RunConfigGetResponse.Run.run: object expected");
|
|
33150
|
+
message.run = $root.api.Exec.fromObject(object.run);
|
|
33151
|
+
}
|
|
33152
|
+
return message;
|
|
33153
|
+
};
|
|
33154
|
+
|
|
33155
|
+
/**
|
|
33156
|
+
* Creates a plain object from a Run message. Also converts values to other types if specified.
|
|
33157
|
+
* @function toObject
|
|
33158
|
+
* @memberof api.RunConfigGetResponse.Run
|
|
33159
|
+
* @static
|
|
33160
|
+
* @param {api.RunConfigGetResponse.Run} message Run
|
|
33161
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
33162
|
+
* @returns {Object.<string,*>} Plain object
|
|
33163
|
+
*/
|
|
33164
|
+
Run.toObject = function toObject(message, options) {
|
|
33165
|
+
if (!options)
|
|
33166
|
+
options = {};
|
|
33167
|
+
var object = {};
|
|
33168
|
+
if (options.defaults) {
|
|
33169
|
+
object.compile = null;
|
|
33170
|
+
object.run = null;
|
|
33171
|
+
}
|
|
33172
|
+
if (message.compile != null && message.hasOwnProperty("compile"))
|
|
33173
|
+
object.compile = $root.api.Exec.toObject(message.compile, options);
|
|
33174
|
+
if (message.run != null && message.hasOwnProperty("run"))
|
|
33175
|
+
object.run = $root.api.Exec.toObject(message.run, options);
|
|
33176
|
+
return object;
|
|
33177
|
+
};
|
|
33178
|
+
|
|
33179
|
+
/**
|
|
33180
|
+
* Converts this Run to JSON.
|
|
33181
|
+
* @function toJSON
|
|
33182
|
+
* @memberof api.RunConfigGetResponse.Run
|
|
33183
|
+
* @instance
|
|
33184
|
+
* @returns {Object.<string,*>} JSON object
|
|
33185
|
+
*/
|
|
33186
|
+
Run.prototype.toJSON = function toJSON() {
|
|
33187
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
33188
|
+
};
|
|
33189
|
+
|
|
33190
|
+
return Run;
|
|
33191
|
+
})();
|
|
33192
|
+
|
|
33193
|
+
return RunConfigGetResponse;
|
|
33194
|
+
})();
|
|
33195
|
+
|
|
32484
33196
|
api.DebugAddBreakpointRequest = (function() {
|
|
32485
33197
|
|
|
32486
33198
|
/**
|
|
@@ -39160,6 +39872,7 @@
|
|
|
39160
39872
|
* @property {string|null} [keyId] GovalSigningAuthority keyId
|
|
39161
39873
|
* @property {string|null} [signedCert] GovalSigningAuthority signedCert
|
|
39162
39874
|
* @property {api.TokenVersion|null} [version] GovalSigningAuthority version
|
|
39875
|
+
* @property {string|null} [issuer] GovalSigningAuthority issuer
|
|
39163
39876
|
*/
|
|
39164
39877
|
|
|
39165
39878
|
/**
|
|
@@ -39200,6 +39913,14 @@
|
|
|
39200
39913
|
*/
|
|
39201
39914
|
GovalSigningAuthority.prototype.version = 0;
|
|
39202
39915
|
|
|
39916
|
+
/**
|
|
39917
|
+
* GovalSigningAuthority issuer.
|
|
39918
|
+
* @member {string} issuer
|
|
39919
|
+
* @memberof api.GovalSigningAuthority
|
|
39920
|
+
* @instance
|
|
39921
|
+
*/
|
|
39922
|
+
GovalSigningAuthority.prototype.issuer = "";
|
|
39923
|
+
|
|
39203
39924
|
// OneOf field names bound to virtual getters and setters
|
|
39204
39925
|
var $oneOfFields;
|
|
39205
39926
|
|
|
@@ -39244,6 +39965,8 @@
|
|
|
39244
39965
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.signedCert);
|
|
39245
39966
|
if (message.version != null && Object.hasOwnProperty.call(message, "version"))
|
|
39246
39967
|
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.version);
|
|
39968
|
+
if (message.issuer != null && Object.hasOwnProperty.call(message, "issuer"))
|
|
39969
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.issuer);
|
|
39247
39970
|
return writer;
|
|
39248
39971
|
};
|
|
39249
39972
|
|
|
@@ -39287,6 +40010,9 @@
|
|
|
39287
40010
|
case 3:
|
|
39288
40011
|
message.version = reader.int32();
|
|
39289
40012
|
break;
|
|
40013
|
+
case 4:
|
|
40014
|
+
message.issuer = reader.string();
|
|
40015
|
+
break;
|
|
39290
40016
|
default:
|
|
39291
40017
|
reader.skipType(tag & 7);
|
|
39292
40018
|
break;
|
|
@@ -39343,6 +40069,9 @@
|
|
|
39343
40069
|
case 1:
|
|
39344
40070
|
break;
|
|
39345
40071
|
}
|
|
40072
|
+
if (message.issuer != null && message.hasOwnProperty("issuer"))
|
|
40073
|
+
if (!$util.isString(message.issuer))
|
|
40074
|
+
return "issuer: string expected";
|
|
39346
40075
|
return null;
|
|
39347
40076
|
};
|
|
39348
40077
|
|
|
@@ -39372,6 +40101,8 @@
|
|
|
39372
40101
|
message.version = 1;
|
|
39373
40102
|
break;
|
|
39374
40103
|
}
|
|
40104
|
+
if (object.issuer != null)
|
|
40105
|
+
message.issuer = String(object.issuer);
|
|
39375
40106
|
return message;
|
|
39376
40107
|
};
|
|
39377
40108
|
|
|
@@ -39388,8 +40119,10 @@
|
|
|
39388
40119
|
if (!options)
|
|
39389
40120
|
options = {};
|
|
39390
40121
|
var object = {};
|
|
39391
|
-
if (options.defaults)
|
|
40122
|
+
if (options.defaults) {
|
|
39392
40123
|
object.version = options.enums === String ? "BARE_REPL_TOKEN" : 0;
|
|
40124
|
+
object.issuer = "";
|
|
40125
|
+
}
|
|
39393
40126
|
if (message.keyId != null && message.hasOwnProperty("keyId")) {
|
|
39394
40127
|
object.keyId = message.keyId;
|
|
39395
40128
|
if (options.oneofs)
|
|
@@ -39402,6 +40135,8 @@
|
|
|
39402
40135
|
}
|
|
39403
40136
|
if (message.version != null && message.hasOwnProperty("version"))
|
|
39404
40137
|
object.version = options.enums === String ? $root.api.TokenVersion[message.version] : message.version;
|
|
40138
|
+
if (message.issuer != null && message.hasOwnProperty("issuer"))
|
|
40139
|
+
object.issuer = message.issuer;
|
|
39405
40140
|
return object;
|
|
39406
40141
|
};
|
|
39407
40142
|
|