@replit/protocol 0.4.6 → 0.4.8
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 +729 -450
- package/main/index.js +1776 -939
- package/package.json +1 -1
package/main/index.js
CHANGED
|
@@ -244,7 +244,11 @@
|
|
|
244
244
|
* @property {replit.goval.api.SecretsGetRequest|replit.goval.api.ISecretsGetRequest|null} [secretsGetRequest] Command secretsGetRequest
|
|
245
245
|
* @property {replit.goval.api.SecretsGetResponse|replit.goval.api.ISecretsGetResponse|null} [secretsGetResponse] Command secretsGetResponse
|
|
246
246
|
* @property {replit.goval.api.SecretsSetRequest|replit.goval.api.ISecretsSetRequest|null} [secretsSetRequest] Command secretsSetRequest
|
|
247
|
+
* @property {replit.goval.api.ExternalSecretsGetRequest|replit.goval.api.IExternalSecretsGetRequest|null} [externalSecretsGetRequest] Command externalSecretsGetRequest
|
|
248
|
+
* @property {replit.goval.api.ExternalSecretsGetResponse|replit.goval.api.IExternalSecretsGetResponse|null} [externalSecretsGetResponse] Command externalSecretsGetResponse
|
|
249
|
+
* @property {replit.goval.api.ExternalSecretsSetRequest|replit.goval.api.IExternalSecretsSetRequest|null} [externalSecretsSetRequest] Command externalSecretsSetRequest
|
|
247
250
|
* @property {replit.goval.api.ReplResourcesUpdateNotification|replit.goval.api.IReplResourcesUpdateNotification|null} [replResourcesUpdateNotification] Command replResourcesUpdateNotification
|
|
251
|
+
* @property {replit.goval.api.Pid1RefreshSecrets|replit.goval.api.IPid1RefreshSecrets|null} [pid1RefreshSecrets] Command pid1RefreshSecrets
|
|
248
252
|
* @property {string|null} [ref] Command ref
|
|
249
253
|
* @property {Object.<string,string>|null} [traceInfo] Command traceInfo
|
|
250
254
|
* @property {boolean|null} [forceTrace] Command forceTrace
|
|
@@ -1825,6 +1829,30 @@
|
|
|
1825
1829
|
*/
|
|
1826
1830
|
Command.prototype.secretsSetRequest = null;
|
|
1827
1831
|
|
|
1832
|
+
/**
|
|
1833
|
+
* Command externalSecretsGetRequest.
|
|
1834
|
+
* @member {replit.goval.api.ExternalSecretsGetRequest|null|undefined} externalSecretsGetRequest
|
|
1835
|
+
* @memberof replit.goval.api.Command
|
|
1836
|
+
* @instance
|
|
1837
|
+
*/
|
|
1838
|
+
Command.prototype.externalSecretsGetRequest = null;
|
|
1839
|
+
|
|
1840
|
+
/**
|
|
1841
|
+
* Command externalSecretsGetResponse.
|
|
1842
|
+
* @member {replit.goval.api.ExternalSecretsGetResponse|null|undefined} externalSecretsGetResponse
|
|
1843
|
+
* @memberof replit.goval.api.Command
|
|
1844
|
+
* @instance
|
|
1845
|
+
*/
|
|
1846
|
+
Command.prototype.externalSecretsGetResponse = null;
|
|
1847
|
+
|
|
1848
|
+
/**
|
|
1849
|
+
* Command externalSecretsSetRequest.
|
|
1850
|
+
* @member {replit.goval.api.ExternalSecretsSetRequest|null|undefined} externalSecretsSetRequest
|
|
1851
|
+
* @memberof replit.goval.api.Command
|
|
1852
|
+
* @instance
|
|
1853
|
+
*/
|
|
1854
|
+
Command.prototype.externalSecretsSetRequest = null;
|
|
1855
|
+
|
|
1828
1856
|
/**
|
|
1829
1857
|
* Command replResourcesUpdateNotification.
|
|
1830
1858
|
* @member {replit.goval.api.ReplResourcesUpdateNotification|null|undefined} replResourcesUpdateNotification
|
|
@@ -1833,6 +1861,14 @@
|
|
|
1833
1861
|
*/
|
|
1834
1862
|
Command.prototype.replResourcesUpdateNotification = null;
|
|
1835
1863
|
|
|
1864
|
+
/**
|
|
1865
|
+
* Command pid1RefreshSecrets.
|
|
1866
|
+
* @member {replit.goval.api.Pid1RefreshSecrets|null|undefined} pid1RefreshSecrets
|
|
1867
|
+
* @memberof replit.goval.api.Command
|
|
1868
|
+
* @instance
|
|
1869
|
+
*/
|
|
1870
|
+
Command.prototype.pid1RefreshSecrets = null;
|
|
1871
|
+
|
|
1836
1872
|
/**
|
|
1837
1873
|
* Command ref.
|
|
1838
1874
|
* @member {string} ref
|
|
@@ -1862,12 +1898,12 @@
|
|
|
1862
1898
|
|
|
1863
1899
|
/**
|
|
1864
1900
|
* Command body.
|
|
1865
|
-
* @member {"openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"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"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"otFlushNotification"|"debug"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageAddResponse"|"packageRemove"|"packageInstall"|"packageInstallResponse"|"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"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"paneMetricsTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest"|"replResourcesUpdateNotification"|undefined} body
|
|
1901
|
+
* @member {"openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"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"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"otFlushNotification"|"debug"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageAddResponse"|"packageRemove"|"packageInstall"|"packageInstallResponse"|"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"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"paneMetricsTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest"|"externalSecretsGetRequest"|"externalSecretsGetResponse"|"externalSecretsSetRequest"|"replResourcesUpdateNotification"|"pid1RefreshSecrets"|undefined} body
|
|
1866
1902
|
* @memberof replit.goval.api.Command
|
|
1867
1903
|
* @instance
|
|
1868
1904
|
*/
|
|
1869
1905
|
Object.defineProperty(Command.prototype, "body", {
|
|
1870
|
-
get: $util.oneOfGetter($oneOfFields = ["openChan", "openChanRes", "closeChan", "closeChanRes", "containerState", "portOpen", "portClose", "toast", "protocolError", "redirect", "runMain", "clear", "eval", "result", "input", "output", "error", "stderr", "log", "inputClose", "outputBlockStartEvent", "outputBlockEndEvent", "exitCodeEvent", "splitStderrRequest", "shellMetadata", "saneTerm", "resizeTerm", "state", "ok", "persist", "persistMirror", "write", "remove", "move", "tryRemove", "mkdir", "stat", "resetNixFilesystem", "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", "ot", "otstatus", "otLinkFile", "otLinkFileResponse", "otNewCursor", "otDeleteCursor", "otFetchRequest", "otFetchResponse", "otTransformSelectionRequest", "otTransformSelectionResponse", "flush", "otFlushNotification", "debug", "auth", "execInfo", "subscribeFile", "fileEvent", "roster", "join", "part", "openFile", "fileOpened", "followUser", "unfollowUser", "updateSessionTimestamp", "sessionTimestampUpdated", "exec", "packageSearch", "packageSearchResp", "packageInfo", "packageInfoResp", "packageAdd", "packageAddResponse", "packageRemove", "packageInstall", "packageInstallResponse", "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", "nixPackageAddRequest", "nixPackageAddResponse", "nixPackageRemoveRequest", "nixPackageRemoveResponse", "nixPackageListRequest", "nixPackageListResponse", "nixChannelsRequest", "nixChannelsResponse", "nixChannelLatestStableRequest", "nixChannelLatestStableResponse", "nixPackageSearchRequest", "nixPackageSearchResponse", "nixPackageInfoRequest", "nixPackageInfoResponse", "userEvent", "replspaceApiOpenFile", "replspaceApiCloseFile", "replspaceApiGetGitHubToken", "replspaceApiGitHubToken", "focused", "nixModulesGetRequest", "nixModulesGetResponse", "nixModulesChanged", "nixModulesBuildRequest", "packageSetPackagerRequest", "packageSetPackagerResp", "toolchainGetRequest", "toolchainGetResponse", "toolchainChanged", "replspaceApiOpenMultipleFiles", "nixModulesGetRegistryRequest", "nixModulesGetRegistryResponse", "replspaceApiShellTracker", "paneMetricsTracker", "nixModuleConfigGetRequest", "nixModuleConfigGetResponse", "nixModuleConfigSetRequest", "nixModuleConfigSetResponse", "replspaceApiSSHTokenGetRequest", "replspaceApiSSHTokenGetResponse", "secretsGetRequest", "secretsGetResponse", "secretsSetRequest", "replResourcesUpdateNotification"]),
|
|
1906
|
+
get: $util.oneOfGetter($oneOfFields = ["openChan", "openChanRes", "closeChan", "closeChanRes", "containerState", "portOpen", "portClose", "toast", "protocolError", "redirect", "runMain", "clear", "eval", "result", "input", "output", "error", "stderr", "log", "inputClose", "outputBlockStartEvent", "outputBlockEndEvent", "exitCodeEvent", "splitStderrRequest", "shellMetadata", "saneTerm", "resizeTerm", "state", "ok", "persist", "persistMirror", "write", "remove", "move", "tryRemove", "mkdir", "stat", "resetNixFilesystem", "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", "ot", "otstatus", "otLinkFile", "otLinkFileResponse", "otNewCursor", "otDeleteCursor", "otFetchRequest", "otFetchResponse", "otTransformSelectionRequest", "otTransformSelectionResponse", "flush", "otFlushNotification", "debug", "auth", "execInfo", "subscribeFile", "fileEvent", "roster", "join", "part", "openFile", "fileOpened", "followUser", "unfollowUser", "updateSessionTimestamp", "sessionTimestampUpdated", "exec", "packageSearch", "packageSearchResp", "packageInfo", "packageInfoResp", "packageAdd", "packageAddResponse", "packageRemove", "packageInstall", "packageInstallResponse", "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", "nixPackageAddRequest", "nixPackageAddResponse", "nixPackageRemoveRequest", "nixPackageRemoveResponse", "nixPackageListRequest", "nixPackageListResponse", "nixChannelsRequest", "nixChannelsResponse", "nixChannelLatestStableRequest", "nixChannelLatestStableResponse", "nixPackageSearchRequest", "nixPackageSearchResponse", "nixPackageInfoRequest", "nixPackageInfoResponse", "userEvent", "replspaceApiOpenFile", "replspaceApiCloseFile", "replspaceApiGetGitHubToken", "replspaceApiGitHubToken", "focused", "nixModulesGetRequest", "nixModulesGetResponse", "nixModulesChanged", "nixModulesBuildRequest", "packageSetPackagerRequest", "packageSetPackagerResp", "toolchainGetRequest", "toolchainGetResponse", "toolchainChanged", "replspaceApiOpenMultipleFiles", "nixModulesGetRegistryRequest", "nixModulesGetRegistryResponse", "replspaceApiShellTracker", "paneMetricsTracker", "nixModuleConfigGetRequest", "nixModuleConfigGetResponse", "nixModuleConfigSetRequest", "nixModuleConfigSetResponse", "replspaceApiSSHTokenGetRequest", "replspaceApiSSHTokenGetResponse", "secretsGetRequest", "secretsGetResponse", "secretsSetRequest", "externalSecretsGetRequest", "externalSecretsGetResponse", "externalSecretsSetRequest", "replResourcesUpdateNotification", "pid1RefreshSecrets"]),
|
|
1871
1907
|
set: $util.oneOfSetter($oneOfFields)
|
|
1872
1908
|
});
|
|
1873
1909
|
|
|
@@ -2285,8 +2321,16 @@
|
|
|
2285
2321
|
$root.replit.goval.api.SecretsGetResponse.encode(message.secretsGetResponse, writer.uint32(/* id 467, wireType 2 =*/3738).fork()).ldelim();
|
|
2286
2322
|
if (message.secretsSetRequest != null && Object.hasOwnProperty.call(message, "secretsSetRequest"))
|
|
2287
2323
|
$root.replit.goval.api.SecretsSetRequest.encode(message.secretsSetRequest, writer.uint32(/* id 468, wireType 2 =*/3746).fork()).ldelim();
|
|
2324
|
+
if (message.externalSecretsGetRequest != null && Object.hasOwnProperty.call(message, "externalSecretsGetRequest"))
|
|
2325
|
+
$root.replit.goval.api.ExternalSecretsGetRequest.encode(message.externalSecretsGetRequest, writer.uint32(/* id 469, wireType 2 =*/3754).fork()).ldelim();
|
|
2326
|
+
if (message.externalSecretsGetResponse != null && Object.hasOwnProperty.call(message, "externalSecretsGetResponse"))
|
|
2327
|
+
$root.replit.goval.api.ExternalSecretsGetResponse.encode(message.externalSecretsGetResponse, writer.uint32(/* id 470, wireType 2 =*/3762).fork()).ldelim();
|
|
2328
|
+
if (message.externalSecretsSetRequest != null && Object.hasOwnProperty.call(message, "externalSecretsSetRequest"))
|
|
2329
|
+
$root.replit.goval.api.ExternalSecretsSetRequest.encode(message.externalSecretsSetRequest, writer.uint32(/* id 471, wireType 2 =*/3770).fork()).ldelim();
|
|
2288
2330
|
if (message.replResourcesUpdateNotification != null && Object.hasOwnProperty.call(message, "replResourcesUpdateNotification"))
|
|
2289
2331
|
$root.replit.goval.api.ReplResourcesUpdateNotification.encode(message.replResourcesUpdateNotification, writer.uint32(/* id 600, wireType 2 =*/4802).fork()).ldelim();
|
|
2332
|
+
if (message.pid1RefreshSecrets != null && Object.hasOwnProperty.call(message, "pid1RefreshSecrets"))
|
|
2333
|
+
$root.replit.goval.api.Pid1RefreshSecrets.encode(message.pid1RefreshSecrets, writer.uint32(/* id 601, wireType 2 =*/4810).fork()).ldelim();
|
|
2290
2334
|
if (message.ref != null && Object.hasOwnProperty.call(message, "ref"))
|
|
2291
2335
|
writer.uint32(/* id 1000, wireType 2 =*/8002).string(message.ref);
|
|
2292
2336
|
if (message.traceInfo != null && Object.hasOwnProperty.call(message, "traceInfo"))
|
|
@@ -3108,10 +3152,26 @@
|
|
|
3108
3152
|
message.secretsSetRequest = $root.replit.goval.api.SecretsSetRequest.decode(reader, reader.uint32());
|
|
3109
3153
|
break;
|
|
3110
3154
|
}
|
|
3155
|
+
case 469: {
|
|
3156
|
+
message.externalSecretsGetRequest = $root.replit.goval.api.ExternalSecretsGetRequest.decode(reader, reader.uint32());
|
|
3157
|
+
break;
|
|
3158
|
+
}
|
|
3159
|
+
case 470: {
|
|
3160
|
+
message.externalSecretsGetResponse = $root.replit.goval.api.ExternalSecretsGetResponse.decode(reader, reader.uint32());
|
|
3161
|
+
break;
|
|
3162
|
+
}
|
|
3163
|
+
case 471: {
|
|
3164
|
+
message.externalSecretsSetRequest = $root.replit.goval.api.ExternalSecretsSetRequest.decode(reader, reader.uint32());
|
|
3165
|
+
break;
|
|
3166
|
+
}
|
|
3111
3167
|
case 600: {
|
|
3112
3168
|
message.replResourcesUpdateNotification = $root.replit.goval.api.ReplResourcesUpdateNotification.decode(reader, reader.uint32());
|
|
3113
3169
|
break;
|
|
3114
3170
|
}
|
|
3171
|
+
case 601: {
|
|
3172
|
+
message.pid1RefreshSecrets = $root.replit.goval.api.Pid1RefreshSecrets.decode(reader, reader.uint32());
|
|
3173
|
+
break;
|
|
3174
|
+
}
|
|
3115
3175
|
case 1000: {
|
|
3116
3176
|
message.ref = reader.string();
|
|
3117
3177
|
break;
|
|
@@ -5079,6 +5139,36 @@
|
|
|
5079
5139
|
return "secretsSetRequest." + error;
|
|
5080
5140
|
}
|
|
5081
5141
|
}
|
|
5142
|
+
if (message.externalSecretsGetRequest != null && message.hasOwnProperty("externalSecretsGetRequest")) {
|
|
5143
|
+
if (properties.body === 1)
|
|
5144
|
+
return "body: multiple values";
|
|
5145
|
+
properties.body = 1;
|
|
5146
|
+
{
|
|
5147
|
+
var error = $root.replit.goval.api.ExternalSecretsGetRequest.verify(message.externalSecretsGetRequest);
|
|
5148
|
+
if (error)
|
|
5149
|
+
return "externalSecretsGetRequest." + error;
|
|
5150
|
+
}
|
|
5151
|
+
}
|
|
5152
|
+
if (message.externalSecretsGetResponse != null && message.hasOwnProperty("externalSecretsGetResponse")) {
|
|
5153
|
+
if (properties.body === 1)
|
|
5154
|
+
return "body: multiple values";
|
|
5155
|
+
properties.body = 1;
|
|
5156
|
+
{
|
|
5157
|
+
var error = $root.replit.goval.api.ExternalSecretsGetResponse.verify(message.externalSecretsGetResponse);
|
|
5158
|
+
if (error)
|
|
5159
|
+
return "externalSecretsGetResponse." + error;
|
|
5160
|
+
}
|
|
5161
|
+
}
|
|
5162
|
+
if (message.externalSecretsSetRequest != null && message.hasOwnProperty("externalSecretsSetRequest")) {
|
|
5163
|
+
if (properties.body === 1)
|
|
5164
|
+
return "body: multiple values";
|
|
5165
|
+
properties.body = 1;
|
|
5166
|
+
{
|
|
5167
|
+
var error = $root.replit.goval.api.ExternalSecretsSetRequest.verify(message.externalSecretsSetRequest);
|
|
5168
|
+
if (error)
|
|
5169
|
+
return "externalSecretsSetRequest." + error;
|
|
5170
|
+
}
|
|
5171
|
+
}
|
|
5082
5172
|
if (message.replResourcesUpdateNotification != null && message.hasOwnProperty("replResourcesUpdateNotification")) {
|
|
5083
5173
|
if (properties.body === 1)
|
|
5084
5174
|
return "body: multiple values";
|
|
@@ -5089,6 +5179,16 @@
|
|
|
5089
5179
|
return "replResourcesUpdateNotification." + error;
|
|
5090
5180
|
}
|
|
5091
5181
|
}
|
|
5182
|
+
if (message.pid1RefreshSecrets != null && message.hasOwnProperty("pid1RefreshSecrets")) {
|
|
5183
|
+
if (properties.body === 1)
|
|
5184
|
+
return "body: multiple values";
|
|
5185
|
+
properties.body = 1;
|
|
5186
|
+
{
|
|
5187
|
+
var error = $root.replit.goval.api.Pid1RefreshSecrets.verify(message.pid1RefreshSecrets);
|
|
5188
|
+
if (error)
|
|
5189
|
+
return "pid1RefreshSecrets." + error;
|
|
5190
|
+
}
|
|
5191
|
+
}
|
|
5092
5192
|
if (message.ref != null && message.hasOwnProperty("ref"))
|
|
5093
5193
|
if (!$util.isString(message.ref))
|
|
5094
5194
|
return "ref: string expected";
|
|
@@ -6062,11 +6162,31 @@
|
|
|
6062
6162
|
throw TypeError(".replit.goval.api.Command.secretsSetRequest: object expected");
|
|
6063
6163
|
message.secretsSetRequest = $root.replit.goval.api.SecretsSetRequest.fromObject(object.secretsSetRequest);
|
|
6064
6164
|
}
|
|
6165
|
+
if (object.externalSecretsGetRequest != null) {
|
|
6166
|
+
if (typeof object.externalSecretsGetRequest !== "object")
|
|
6167
|
+
throw TypeError(".replit.goval.api.Command.externalSecretsGetRequest: object expected");
|
|
6168
|
+
message.externalSecretsGetRequest = $root.replit.goval.api.ExternalSecretsGetRequest.fromObject(object.externalSecretsGetRequest);
|
|
6169
|
+
}
|
|
6170
|
+
if (object.externalSecretsGetResponse != null) {
|
|
6171
|
+
if (typeof object.externalSecretsGetResponse !== "object")
|
|
6172
|
+
throw TypeError(".replit.goval.api.Command.externalSecretsGetResponse: object expected");
|
|
6173
|
+
message.externalSecretsGetResponse = $root.replit.goval.api.ExternalSecretsGetResponse.fromObject(object.externalSecretsGetResponse);
|
|
6174
|
+
}
|
|
6175
|
+
if (object.externalSecretsSetRequest != null) {
|
|
6176
|
+
if (typeof object.externalSecretsSetRequest !== "object")
|
|
6177
|
+
throw TypeError(".replit.goval.api.Command.externalSecretsSetRequest: object expected");
|
|
6178
|
+
message.externalSecretsSetRequest = $root.replit.goval.api.ExternalSecretsSetRequest.fromObject(object.externalSecretsSetRequest);
|
|
6179
|
+
}
|
|
6065
6180
|
if (object.replResourcesUpdateNotification != null) {
|
|
6066
6181
|
if (typeof object.replResourcesUpdateNotification !== "object")
|
|
6067
6182
|
throw TypeError(".replit.goval.api.Command.replResourcesUpdateNotification: object expected");
|
|
6068
6183
|
message.replResourcesUpdateNotification = $root.replit.goval.api.ReplResourcesUpdateNotification.fromObject(object.replResourcesUpdateNotification);
|
|
6069
6184
|
}
|
|
6185
|
+
if (object.pid1RefreshSecrets != null) {
|
|
6186
|
+
if (typeof object.pid1RefreshSecrets !== "object")
|
|
6187
|
+
throw TypeError(".replit.goval.api.Command.pid1RefreshSecrets: object expected");
|
|
6188
|
+
message.pid1RefreshSecrets = $root.replit.goval.api.Pid1RefreshSecrets.fromObject(object.pid1RefreshSecrets);
|
|
6189
|
+
}
|
|
6070
6190
|
if (object.ref != null)
|
|
6071
6191
|
message.ref = String(object.ref);
|
|
6072
6192
|
if (object.traceInfo) {
|
|
@@ -7071,11 +7191,31 @@
|
|
|
7071
7191
|
if (options.oneofs)
|
|
7072
7192
|
object.body = "secretsSetRequest";
|
|
7073
7193
|
}
|
|
7194
|
+
if (message.externalSecretsGetRequest != null && message.hasOwnProperty("externalSecretsGetRequest")) {
|
|
7195
|
+
object.externalSecretsGetRequest = $root.replit.goval.api.ExternalSecretsGetRequest.toObject(message.externalSecretsGetRequest, options);
|
|
7196
|
+
if (options.oneofs)
|
|
7197
|
+
object.body = "externalSecretsGetRequest";
|
|
7198
|
+
}
|
|
7199
|
+
if (message.externalSecretsGetResponse != null && message.hasOwnProperty("externalSecretsGetResponse")) {
|
|
7200
|
+
object.externalSecretsGetResponse = $root.replit.goval.api.ExternalSecretsGetResponse.toObject(message.externalSecretsGetResponse, options);
|
|
7201
|
+
if (options.oneofs)
|
|
7202
|
+
object.body = "externalSecretsGetResponse";
|
|
7203
|
+
}
|
|
7204
|
+
if (message.externalSecretsSetRequest != null && message.hasOwnProperty("externalSecretsSetRequest")) {
|
|
7205
|
+
object.externalSecretsSetRequest = $root.replit.goval.api.ExternalSecretsSetRequest.toObject(message.externalSecretsSetRequest, options);
|
|
7206
|
+
if (options.oneofs)
|
|
7207
|
+
object.body = "externalSecretsSetRequest";
|
|
7208
|
+
}
|
|
7074
7209
|
if (message.replResourcesUpdateNotification != null && message.hasOwnProperty("replResourcesUpdateNotification")) {
|
|
7075
7210
|
object.replResourcesUpdateNotification = $root.replit.goval.api.ReplResourcesUpdateNotification.toObject(message.replResourcesUpdateNotification, options);
|
|
7076
7211
|
if (options.oneofs)
|
|
7077
7212
|
object.body = "replResourcesUpdateNotification";
|
|
7078
7213
|
}
|
|
7214
|
+
if (message.pid1RefreshSecrets != null && message.hasOwnProperty("pid1RefreshSecrets")) {
|
|
7215
|
+
object.pid1RefreshSecrets = $root.replit.goval.api.Pid1RefreshSecrets.toObject(message.pid1RefreshSecrets, options);
|
|
7216
|
+
if (options.oneofs)
|
|
7217
|
+
object.body = "pid1RefreshSecrets";
|
|
7218
|
+
}
|
|
7079
7219
|
if (message.ref != null && message.hasOwnProperty("ref"))
|
|
7080
7220
|
object.ref = message.ref;
|
|
7081
7221
|
var keys2;
|
|
@@ -13294,6 +13434,180 @@
|
|
|
13294
13434
|
return BootStatus;
|
|
13295
13435
|
})();
|
|
13296
13436
|
|
|
13437
|
+
api.Pid1RefreshSecrets = (function() {
|
|
13438
|
+
|
|
13439
|
+
/**
|
|
13440
|
+
* Properties of a Pid1RefreshSecrets.
|
|
13441
|
+
* @memberof replit.goval.api
|
|
13442
|
+
* @interface IPid1RefreshSecrets
|
|
13443
|
+
*/
|
|
13444
|
+
|
|
13445
|
+
/**
|
|
13446
|
+
* Constructs a new Pid1RefreshSecrets.
|
|
13447
|
+
* @memberof replit.goval.api
|
|
13448
|
+
* @classdesc Represents a Pid1RefreshSecrets.
|
|
13449
|
+
* @constructor
|
|
13450
|
+
* @param {replit.goval.api.IPid1RefreshSecrets=} [properties] Properties to set
|
|
13451
|
+
*/
|
|
13452
|
+
function Pid1RefreshSecrets(properties) {
|
|
13453
|
+
if (properties)
|
|
13454
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
13455
|
+
if (properties[keys[i]] != null)
|
|
13456
|
+
this[keys[i]] = properties[keys[i]];
|
|
13457
|
+
}
|
|
13458
|
+
|
|
13459
|
+
/**
|
|
13460
|
+
* Creates a new Pid1RefreshSecrets instance using the specified properties.
|
|
13461
|
+
* @function create
|
|
13462
|
+
* @memberof replit.goval.api.Pid1RefreshSecrets
|
|
13463
|
+
* @static
|
|
13464
|
+
* @param {replit.goval.api.IPid1RefreshSecrets=} [properties] Properties to set
|
|
13465
|
+
* @returns {replit.goval.api.Pid1RefreshSecrets} Pid1RefreshSecrets instance
|
|
13466
|
+
*/
|
|
13467
|
+
Pid1RefreshSecrets.create = function create(properties) {
|
|
13468
|
+
return Pid1RefreshSecrets.fromObject(properties);
|
|
13469
|
+
};
|
|
13470
|
+
|
|
13471
|
+
/**
|
|
13472
|
+
* Encodes the specified Pid1RefreshSecrets message. Does not implicitly {@link replit.goval.api.Pid1RefreshSecrets.verify|verify} messages.
|
|
13473
|
+
* @function encode
|
|
13474
|
+
* @memberof replit.goval.api.Pid1RefreshSecrets
|
|
13475
|
+
* @static
|
|
13476
|
+
* @param {replit.goval.api.Pid1RefreshSecrets} message Pid1RefreshSecrets message or plain object to encode
|
|
13477
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
13478
|
+
* @returns {$protobuf.Writer} Writer
|
|
13479
|
+
*/
|
|
13480
|
+
Pid1RefreshSecrets.encode = function encode(message, writer) {
|
|
13481
|
+
if (!writer)
|
|
13482
|
+
writer = $Writer.create();
|
|
13483
|
+
return writer;
|
|
13484
|
+
};
|
|
13485
|
+
|
|
13486
|
+
/**
|
|
13487
|
+
* Encodes the specified Pid1RefreshSecrets message, length delimited. Does not implicitly {@link replit.goval.api.Pid1RefreshSecrets.verify|verify} messages.
|
|
13488
|
+
* @function encodeDelimited
|
|
13489
|
+
* @memberof replit.goval.api.Pid1RefreshSecrets
|
|
13490
|
+
* @static
|
|
13491
|
+
* @param {replit.goval.api.Pid1RefreshSecrets} message Pid1RefreshSecrets message or plain object to encode
|
|
13492
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
13493
|
+
* @returns {$protobuf.Writer} Writer
|
|
13494
|
+
*/
|
|
13495
|
+
Pid1RefreshSecrets.encodeDelimited = function encodeDelimited(message, writer) {
|
|
13496
|
+
return this.encode(message, writer).ldelim();
|
|
13497
|
+
};
|
|
13498
|
+
|
|
13499
|
+
/**
|
|
13500
|
+
* Decodes a Pid1RefreshSecrets message from the specified reader or buffer.
|
|
13501
|
+
* @function decode
|
|
13502
|
+
* @memberof replit.goval.api.Pid1RefreshSecrets
|
|
13503
|
+
* @static
|
|
13504
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
13505
|
+
* @param {number} [length] Message length if known beforehand
|
|
13506
|
+
* @returns {replit.goval.api.Pid1RefreshSecrets} Pid1RefreshSecrets
|
|
13507
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13508
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13509
|
+
*/
|
|
13510
|
+
Pid1RefreshSecrets.decode = function decode(reader, length) {
|
|
13511
|
+
if (!(reader instanceof $Reader))
|
|
13512
|
+
reader = $Reader.create(reader);
|
|
13513
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.Pid1RefreshSecrets();
|
|
13514
|
+
while (reader.pos < end) {
|
|
13515
|
+
var tag = reader.uint32();
|
|
13516
|
+
switch (tag >>> 3) {
|
|
13517
|
+
default:
|
|
13518
|
+
reader.skipType(tag & 7);
|
|
13519
|
+
break;
|
|
13520
|
+
}
|
|
13521
|
+
}
|
|
13522
|
+
return message;
|
|
13523
|
+
};
|
|
13524
|
+
|
|
13525
|
+
/**
|
|
13526
|
+
* Decodes a Pid1RefreshSecrets message from the specified reader or buffer, length delimited.
|
|
13527
|
+
* @function decodeDelimited
|
|
13528
|
+
* @memberof replit.goval.api.Pid1RefreshSecrets
|
|
13529
|
+
* @static
|
|
13530
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
13531
|
+
* @returns {replit.goval.api.Pid1RefreshSecrets} Pid1RefreshSecrets
|
|
13532
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
13533
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
13534
|
+
*/
|
|
13535
|
+
Pid1RefreshSecrets.decodeDelimited = function decodeDelimited(reader) {
|
|
13536
|
+
if (!(reader instanceof $Reader))
|
|
13537
|
+
reader = new $Reader(reader);
|
|
13538
|
+
return this.decode(reader, reader.uint32());
|
|
13539
|
+
};
|
|
13540
|
+
|
|
13541
|
+
/**
|
|
13542
|
+
* Verifies a Pid1RefreshSecrets message.
|
|
13543
|
+
* @function verify
|
|
13544
|
+
* @memberof replit.goval.api.Pid1RefreshSecrets
|
|
13545
|
+
* @static
|
|
13546
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
13547
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
13548
|
+
*/
|
|
13549
|
+
Pid1RefreshSecrets.verify = function verify(message) {
|
|
13550
|
+
if (typeof message !== "object" || message === null)
|
|
13551
|
+
return "object expected";
|
|
13552
|
+
return null;
|
|
13553
|
+
};
|
|
13554
|
+
|
|
13555
|
+
/**
|
|
13556
|
+
* Creates a Pid1RefreshSecrets message from a plain object. Also converts values to their respective internal types.
|
|
13557
|
+
* @function fromObject
|
|
13558
|
+
* @memberof replit.goval.api.Pid1RefreshSecrets
|
|
13559
|
+
* @static
|
|
13560
|
+
* @param {Object.<string,*>} object Plain object
|
|
13561
|
+
* @returns {replit.goval.api.Pid1RefreshSecrets} Pid1RefreshSecrets
|
|
13562
|
+
*/
|
|
13563
|
+
Pid1RefreshSecrets.fromObject = function fromObject(object) {
|
|
13564
|
+
if (object instanceof $root.replit.goval.api.Pid1RefreshSecrets)
|
|
13565
|
+
return object;
|
|
13566
|
+
return new $root.replit.goval.api.Pid1RefreshSecrets();
|
|
13567
|
+
};
|
|
13568
|
+
|
|
13569
|
+
/**
|
|
13570
|
+
* Creates a plain object from a Pid1RefreshSecrets message. Also converts values to other types if specified.
|
|
13571
|
+
* @function toObject
|
|
13572
|
+
* @memberof replit.goval.api.Pid1RefreshSecrets
|
|
13573
|
+
* @static
|
|
13574
|
+
* @param {replit.goval.api.Pid1RefreshSecrets} message Pid1RefreshSecrets
|
|
13575
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
13576
|
+
* @returns {Object.<string,*>} Plain object
|
|
13577
|
+
*/
|
|
13578
|
+
Pid1RefreshSecrets.toObject = function toObject() {
|
|
13579
|
+
return {};
|
|
13580
|
+
};
|
|
13581
|
+
|
|
13582
|
+
/**
|
|
13583
|
+
* Converts this Pid1RefreshSecrets to JSON.
|
|
13584
|
+
* @function toJSON
|
|
13585
|
+
* @memberof replit.goval.api.Pid1RefreshSecrets
|
|
13586
|
+
* @instance
|
|
13587
|
+
* @returns {Object.<string,*>} JSON object
|
|
13588
|
+
*/
|
|
13589
|
+
Pid1RefreshSecrets.prototype.toJSON = function toJSON() {
|
|
13590
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
13591
|
+
};
|
|
13592
|
+
|
|
13593
|
+
/**
|
|
13594
|
+
* Gets the default type url for Pid1RefreshSecrets
|
|
13595
|
+
* @function getTypeUrl
|
|
13596
|
+
* @memberof replit.goval.api.Pid1RefreshSecrets
|
|
13597
|
+
* @static
|
|
13598
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13599
|
+
* @returns {string} The default type url
|
|
13600
|
+
*/
|
|
13601
|
+
Pid1RefreshSecrets.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
13602
|
+
if (typeUrlPrefix === undefined) {
|
|
13603
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
13604
|
+
}
|
|
13605
|
+
return typeUrlPrefix + "/replit.goval.api.Pid1RefreshSecrets";
|
|
13606
|
+
};
|
|
13607
|
+
|
|
13608
|
+
return Pid1RefreshSecrets;
|
|
13609
|
+
})();
|
|
13610
|
+
|
|
13297
13611
|
api.Pid1Config = (function() {
|
|
13298
13612
|
|
|
13299
13613
|
/**
|
|
@@ -51165,6 +51479,213 @@
|
|
|
51165
51479
|
return CompileConfig;
|
|
51166
51480
|
})();
|
|
51167
51481
|
|
|
51482
|
+
api.RunConfig = (function() {
|
|
51483
|
+
|
|
51484
|
+
/**
|
|
51485
|
+
* Properties of a RunConfig.
|
|
51486
|
+
* @memberof replit.goval.api
|
|
51487
|
+
* @interface IRunConfig
|
|
51488
|
+
* @property {replit.goval.api.Exec|replit.goval.api.IExec|null} [command] RunConfig command
|
|
51489
|
+
*/
|
|
51490
|
+
|
|
51491
|
+
/**
|
|
51492
|
+
* Constructs a new RunConfig.
|
|
51493
|
+
* @memberof replit.goval.api
|
|
51494
|
+
* @classdesc Represents a RunConfig.
|
|
51495
|
+
* @constructor
|
|
51496
|
+
* @param {replit.goval.api.IRunConfig=} [properties] Properties to set
|
|
51497
|
+
*/
|
|
51498
|
+
function RunConfig(properties) {
|
|
51499
|
+
if (properties)
|
|
51500
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
51501
|
+
if (properties[keys[i]] != null)
|
|
51502
|
+
this[keys[i]] = properties[keys[i]];
|
|
51503
|
+
}
|
|
51504
|
+
|
|
51505
|
+
/**
|
|
51506
|
+
* RunConfig command.
|
|
51507
|
+
* @member {replit.goval.api.Exec|null|undefined} command
|
|
51508
|
+
* @memberof replit.goval.api.RunConfig
|
|
51509
|
+
* @instance
|
|
51510
|
+
*/
|
|
51511
|
+
RunConfig.prototype.command = null;
|
|
51512
|
+
|
|
51513
|
+
/**
|
|
51514
|
+
* Creates a new RunConfig instance using the specified properties.
|
|
51515
|
+
* @function create
|
|
51516
|
+
* @memberof replit.goval.api.RunConfig
|
|
51517
|
+
* @static
|
|
51518
|
+
* @param {replit.goval.api.IRunConfig=} [properties] Properties to set
|
|
51519
|
+
* @returns {replit.goval.api.RunConfig} RunConfig instance
|
|
51520
|
+
*/
|
|
51521
|
+
RunConfig.create = function create(properties) {
|
|
51522
|
+
return RunConfig.fromObject(properties);
|
|
51523
|
+
};
|
|
51524
|
+
|
|
51525
|
+
/**
|
|
51526
|
+
* Encodes the specified RunConfig message. Does not implicitly {@link replit.goval.api.RunConfig.verify|verify} messages.
|
|
51527
|
+
* @function encode
|
|
51528
|
+
* @memberof replit.goval.api.RunConfig
|
|
51529
|
+
* @static
|
|
51530
|
+
* @param {replit.goval.api.RunConfig} message RunConfig message or plain object to encode
|
|
51531
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
51532
|
+
* @returns {$protobuf.Writer} Writer
|
|
51533
|
+
*/
|
|
51534
|
+
RunConfig.encode = function encode(message, writer) {
|
|
51535
|
+
if (!writer)
|
|
51536
|
+
writer = $Writer.create();
|
|
51537
|
+
if (message.command != null && Object.hasOwnProperty.call(message, "command"))
|
|
51538
|
+
$root.replit.goval.api.Exec.encode(message.command, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
51539
|
+
return writer;
|
|
51540
|
+
};
|
|
51541
|
+
|
|
51542
|
+
/**
|
|
51543
|
+
* Encodes the specified RunConfig message, length delimited. Does not implicitly {@link replit.goval.api.RunConfig.verify|verify} messages.
|
|
51544
|
+
* @function encodeDelimited
|
|
51545
|
+
* @memberof replit.goval.api.RunConfig
|
|
51546
|
+
* @static
|
|
51547
|
+
* @param {replit.goval.api.RunConfig} message RunConfig message or plain object to encode
|
|
51548
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
51549
|
+
* @returns {$protobuf.Writer} Writer
|
|
51550
|
+
*/
|
|
51551
|
+
RunConfig.encodeDelimited = function encodeDelimited(message, writer) {
|
|
51552
|
+
return this.encode(message, writer).ldelim();
|
|
51553
|
+
};
|
|
51554
|
+
|
|
51555
|
+
/**
|
|
51556
|
+
* Decodes a RunConfig message from the specified reader or buffer.
|
|
51557
|
+
* @function decode
|
|
51558
|
+
* @memberof replit.goval.api.RunConfig
|
|
51559
|
+
* @static
|
|
51560
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
51561
|
+
* @param {number} [length] Message length if known beforehand
|
|
51562
|
+
* @returns {replit.goval.api.RunConfig} RunConfig
|
|
51563
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
51564
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
51565
|
+
*/
|
|
51566
|
+
RunConfig.decode = function decode(reader, length) {
|
|
51567
|
+
if (!(reader instanceof $Reader))
|
|
51568
|
+
reader = $Reader.create(reader);
|
|
51569
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.RunConfig();
|
|
51570
|
+
while (reader.pos < end) {
|
|
51571
|
+
var tag = reader.uint32();
|
|
51572
|
+
switch (tag >>> 3) {
|
|
51573
|
+
case 1: {
|
|
51574
|
+
message.command = $root.replit.goval.api.Exec.decode(reader, reader.uint32());
|
|
51575
|
+
break;
|
|
51576
|
+
}
|
|
51577
|
+
default:
|
|
51578
|
+
reader.skipType(tag & 7);
|
|
51579
|
+
break;
|
|
51580
|
+
}
|
|
51581
|
+
}
|
|
51582
|
+
return message;
|
|
51583
|
+
};
|
|
51584
|
+
|
|
51585
|
+
/**
|
|
51586
|
+
* Decodes a RunConfig message from the specified reader or buffer, length delimited.
|
|
51587
|
+
* @function decodeDelimited
|
|
51588
|
+
* @memberof replit.goval.api.RunConfig
|
|
51589
|
+
* @static
|
|
51590
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
51591
|
+
* @returns {replit.goval.api.RunConfig} RunConfig
|
|
51592
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
51593
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
51594
|
+
*/
|
|
51595
|
+
RunConfig.decodeDelimited = function decodeDelimited(reader) {
|
|
51596
|
+
if (!(reader instanceof $Reader))
|
|
51597
|
+
reader = new $Reader(reader);
|
|
51598
|
+
return this.decode(reader, reader.uint32());
|
|
51599
|
+
};
|
|
51600
|
+
|
|
51601
|
+
/**
|
|
51602
|
+
* Verifies a RunConfig message.
|
|
51603
|
+
* @function verify
|
|
51604
|
+
* @memberof replit.goval.api.RunConfig
|
|
51605
|
+
* @static
|
|
51606
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
51607
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
51608
|
+
*/
|
|
51609
|
+
RunConfig.verify = function verify(message) {
|
|
51610
|
+
if (typeof message !== "object" || message === null)
|
|
51611
|
+
return "object expected";
|
|
51612
|
+
if (message.command != null && message.hasOwnProperty("command")) {
|
|
51613
|
+
var error = $root.replit.goval.api.Exec.verify(message.command);
|
|
51614
|
+
if (error)
|
|
51615
|
+
return "command." + error;
|
|
51616
|
+
}
|
|
51617
|
+
return null;
|
|
51618
|
+
};
|
|
51619
|
+
|
|
51620
|
+
/**
|
|
51621
|
+
* Creates a RunConfig message from a plain object. Also converts values to their respective internal types.
|
|
51622
|
+
* @function fromObject
|
|
51623
|
+
* @memberof replit.goval.api.RunConfig
|
|
51624
|
+
* @static
|
|
51625
|
+
* @param {Object.<string,*>} object Plain object
|
|
51626
|
+
* @returns {replit.goval.api.RunConfig} RunConfig
|
|
51627
|
+
*/
|
|
51628
|
+
RunConfig.fromObject = function fromObject(object) {
|
|
51629
|
+
if (object instanceof $root.replit.goval.api.RunConfig)
|
|
51630
|
+
return object;
|
|
51631
|
+
var message = new $root.replit.goval.api.RunConfig();
|
|
51632
|
+
if (object.command != null) {
|
|
51633
|
+
if (typeof object.command !== "object")
|
|
51634
|
+
throw TypeError(".replit.goval.api.RunConfig.command: object expected");
|
|
51635
|
+
message.command = $root.replit.goval.api.Exec.fromObject(object.command);
|
|
51636
|
+
}
|
|
51637
|
+
return message;
|
|
51638
|
+
};
|
|
51639
|
+
|
|
51640
|
+
/**
|
|
51641
|
+
* Creates a plain object from a RunConfig message. Also converts values to other types if specified.
|
|
51642
|
+
* @function toObject
|
|
51643
|
+
* @memberof replit.goval.api.RunConfig
|
|
51644
|
+
* @static
|
|
51645
|
+
* @param {replit.goval.api.RunConfig} message RunConfig
|
|
51646
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
51647
|
+
* @returns {Object.<string,*>} Plain object
|
|
51648
|
+
*/
|
|
51649
|
+
RunConfig.toObject = function toObject(message, options) {
|
|
51650
|
+
if (!options)
|
|
51651
|
+
options = {};
|
|
51652
|
+
var object = {};
|
|
51653
|
+
if (options.defaults)
|
|
51654
|
+
object.command = null;
|
|
51655
|
+
if (message.command != null && message.hasOwnProperty("command"))
|
|
51656
|
+
object.command = $root.replit.goval.api.Exec.toObject(message.command, options);
|
|
51657
|
+
return object;
|
|
51658
|
+
};
|
|
51659
|
+
|
|
51660
|
+
/**
|
|
51661
|
+
* Converts this RunConfig to JSON.
|
|
51662
|
+
* @function toJSON
|
|
51663
|
+
* @memberof replit.goval.api.RunConfig
|
|
51664
|
+
* @instance
|
|
51665
|
+
* @returns {Object.<string,*>} JSON object
|
|
51666
|
+
*/
|
|
51667
|
+
RunConfig.prototype.toJSON = function toJSON() {
|
|
51668
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
51669
|
+
};
|
|
51670
|
+
|
|
51671
|
+
/**
|
|
51672
|
+
* Gets the default type url for RunConfig
|
|
51673
|
+
* @function getTypeUrl
|
|
51674
|
+
* @memberof replit.goval.api.RunConfig
|
|
51675
|
+
* @static
|
|
51676
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
51677
|
+
* @returns {string} The default type url
|
|
51678
|
+
*/
|
|
51679
|
+
RunConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
51680
|
+
if (typeUrlPrefix === undefined) {
|
|
51681
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
51682
|
+
}
|
|
51683
|
+
return typeUrlPrefix + "/replit.goval.api.RunConfig";
|
|
51684
|
+
};
|
|
51685
|
+
|
|
51686
|
+
return RunConfig;
|
|
51687
|
+
})();
|
|
51688
|
+
|
|
51168
51689
|
api.DapConfig = (function() {
|
|
51169
51690
|
|
|
51170
51691
|
/**
|
|
@@ -61335,6 +61856,9 @@
|
|
|
61335
61856
|
* @property {boolean|null} [interpreter] RunOption interpreter
|
|
61336
61857
|
* @property {boolean|null} [optionalFileParam] RunOption optionalFileParam
|
|
61337
61858
|
* @property {string|null} [displayVersion] RunOption displayVersion
|
|
61859
|
+
* @property {replit.goval.api.CompileConfig|replit.goval.api.ICompileConfig|null} [compile] RunOption compile
|
|
61860
|
+
* @property {replit.goval.api.RunConfig|replit.goval.api.IRunConfig|null} [run] RunOption run
|
|
61861
|
+
* @property {Array.<string>|null} [defaultEntrypoints] RunOption defaultEntrypoints
|
|
61338
61862
|
*/
|
|
61339
61863
|
|
|
61340
61864
|
/**
|
|
@@ -61345,6 +61869,7 @@
|
|
|
61345
61869
|
* @param {replit.goval.api.IRunOption=} [properties] Properties to set
|
|
61346
61870
|
*/
|
|
61347
61871
|
function RunOption(properties) {
|
|
61872
|
+
this.defaultEntrypoints = [];
|
|
61348
61873
|
if (properties)
|
|
61349
61874
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
61350
61875
|
if (properties[keys[i]] != null)
|
|
@@ -61415,6 +61940,30 @@
|
|
|
61415
61940
|
*/
|
|
61416
61941
|
RunOption.prototype.displayVersion = "";
|
|
61417
61942
|
|
|
61943
|
+
/**
|
|
61944
|
+
* RunOption compile.
|
|
61945
|
+
* @member {replit.goval.api.CompileConfig|null|undefined} compile
|
|
61946
|
+
* @memberof replit.goval.api.RunOption
|
|
61947
|
+
* @instance
|
|
61948
|
+
*/
|
|
61949
|
+
RunOption.prototype.compile = null;
|
|
61950
|
+
|
|
61951
|
+
/**
|
|
61952
|
+
* RunOption run.
|
|
61953
|
+
* @member {replit.goval.api.RunConfig|null|undefined} run
|
|
61954
|
+
* @memberof replit.goval.api.RunOption
|
|
61955
|
+
* @instance
|
|
61956
|
+
*/
|
|
61957
|
+
RunOption.prototype.run = null;
|
|
61958
|
+
|
|
61959
|
+
/**
|
|
61960
|
+
* RunOption defaultEntrypoints.
|
|
61961
|
+
* @member {Array.<string>} defaultEntrypoints
|
|
61962
|
+
* @memberof replit.goval.api.RunOption
|
|
61963
|
+
* @instance
|
|
61964
|
+
*/
|
|
61965
|
+
RunOption.prototype.defaultEntrypoints = $util.emptyArray;
|
|
61966
|
+
|
|
61418
61967
|
/**
|
|
61419
61968
|
* Creates a new RunOption instance using the specified properties.
|
|
61420
61969
|
* @function create
|
|
@@ -61455,6 +62004,13 @@
|
|
|
61455
62004
|
writer.uint32(/* id 7, wireType 0 =*/56).bool(message.optionalFileParam);
|
|
61456
62005
|
if (message.displayVersion != null && Object.hasOwnProperty.call(message, "displayVersion"))
|
|
61457
62006
|
writer.uint32(/* id 8, wireType 2 =*/66).string(message.displayVersion);
|
|
62007
|
+
if (message.compile != null && Object.hasOwnProperty.call(message, "compile"))
|
|
62008
|
+
$root.replit.goval.api.CompileConfig.encode(message.compile, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
|
|
62009
|
+
if (message.run != null && Object.hasOwnProperty.call(message, "run"))
|
|
62010
|
+
$root.replit.goval.api.RunConfig.encode(message.run, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
|
|
62011
|
+
if (message.defaultEntrypoints != null && message.defaultEntrypoints.length)
|
|
62012
|
+
for (var i = 0; i < message.defaultEntrypoints.length; ++i)
|
|
62013
|
+
writer.uint32(/* id 11, wireType 2 =*/90).string(message.defaultEntrypoints[i]);
|
|
61458
62014
|
return writer;
|
|
61459
62015
|
};
|
|
61460
62016
|
|
|
@@ -61521,6 +62077,20 @@
|
|
|
61521
62077
|
message.displayVersion = reader.string();
|
|
61522
62078
|
break;
|
|
61523
62079
|
}
|
|
62080
|
+
case 9: {
|
|
62081
|
+
message.compile = $root.replit.goval.api.CompileConfig.decode(reader, reader.uint32());
|
|
62082
|
+
break;
|
|
62083
|
+
}
|
|
62084
|
+
case 10: {
|
|
62085
|
+
message.run = $root.replit.goval.api.RunConfig.decode(reader, reader.uint32());
|
|
62086
|
+
break;
|
|
62087
|
+
}
|
|
62088
|
+
case 11: {
|
|
62089
|
+
if (!(message.defaultEntrypoints && message.defaultEntrypoints.length))
|
|
62090
|
+
message.defaultEntrypoints = [];
|
|
62091
|
+
message.defaultEntrypoints.push(reader.string());
|
|
62092
|
+
break;
|
|
62093
|
+
}
|
|
61524
62094
|
default:
|
|
61525
62095
|
reader.skipType(tag & 7);
|
|
61526
62096
|
break;
|
|
@@ -61582,6 +62152,23 @@
|
|
|
61582
62152
|
if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
|
|
61583
62153
|
if (!$util.isString(message.displayVersion))
|
|
61584
62154
|
return "displayVersion: string expected";
|
|
62155
|
+
if (message.compile != null && message.hasOwnProperty("compile")) {
|
|
62156
|
+
var error = $root.replit.goval.api.CompileConfig.verify(message.compile);
|
|
62157
|
+
if (error)
|
|
62158
|
+
return "compile." + error;
|
|
62159
|
+
}
|
|
62160
|
+
if (message.run != null && message.hasOwnProperty("run")) {
|
|
62161
|
+
var error = $root.replit.goval.api.RunConfig.verify(message.run);
|
|
62162
|
+
if (error)
|
|
62163
|
+
return "run." + error;
|
|
62164
|
+
}
|
|
62165
|
+
if (message.defaultEntrypoints != null && message.hasOwnProperty("defaultEntrypoints")) {
|
|
62166
|
+
if (!Array.isArray(message.defaultEntrypoints))
|
|
62167
|
+
return "defaultEntrypoints: array expected";
|
|
62168
|
+
for (var i = 0; i < message.defaultEntrypoints.length; ++i)
|
|
62169
|
+
if (!$util.isString(message.defaultEntrypoints[i]))
|
|
62170
|
+
return "defaultEntrypoints: string[] expected";
|
|
62171
|
+
}
|
|
61585
62172
|
return null;
|
|
61586
62173
|
};
|
|
61587
62174
|
|
|
@@ -61616,6 +62203,23 @@
|
|
|
61616
62203
|
message.optionalFileParam = Boolean(object.optionalFileParam);
|
|
61617
62204
|
if (object.displayVersion != null)
|
|
61618
62205
|
message.displayVersion = String(object.displayVersion);
|
|
62206
|
+
if (object.compile != null) {
|
|
62207
|
+
if (typeof object.compile !== "object")
|
|
62208
|
+
throw TypeError(".replit.goval.api.RunOption.compile: object expected");
|
|
62209
|
+
message.compile = $root.replit.goval.api.CompileConfig.fromObject(object.compile);
|
|
62210
|
+
}
|
|
62211
|
+
if (object.run != null) {
|
|
62212
|
+
if (typeof object.run !== "object")
|
|
62213
|
+
throw TypeError(".replit.goval.api.RunOption.run: object expected");
|
|
62214
|
+
message.run = $root.replit.goval.api.RunConfig.fromObject(object.run);
|
|
62215
|
+
}
|
|
62216
|
+
if (object.defaultEntrypoints) {
|
|
62217
|
+
if (!Array.isArray(object.defaultEntrypoints))
|
|
62218
|
+
throw TypeError(".replit.goval.api.RunOption.defaultEntrypoints: array expected");
|
|
62219
|
+
message.defaultEntrypoints = [];
|
|
62220
|
+
for (var i = 0; i < object.defaultEntrypoints.length; ++i)
|
|
62221
|
+
message.defaultEntrypoints[i] = String(object.defaultEntrypoints[i]);
|
|
62222
|
+
}
|
|
61619
62223
|
return message;
|
|
61620
62224
|
};
|
|
61621
62225
|
|
|
@@ -61632,6 +62236,8 @@
|
|
|
61632
62236
|
if (!options)
|
|
61633
62237
|
options = {};
|
|
61634
62238
|
var object = {};
|
|
62239
|
+
if (options.arrays || options.defaults)
|
|
62240
|
+
object.defaultEntrypoints = [];
|
|
61635
62241
|
if (options.defaults) {
|
|
61636
62242
|
object.id = "";
|
|
61637
62243
|
object.name = "";
|
|
@@ -61641,6 +62247,8 @@
|
|
|
61641
62247
|
object.interpreter = false;
|
|
61642
62248
|
object.optionalFileParam = false;
|
|
61643
62249
|
object.displayVersion = "";
|
|
62250
|
+
object.compile = null;
|
|
62251
|
+
object.run = null;
|
|
61644
62252
|
}
|
|
61645
62253
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
61646
62254
|
object.id = message.id;
|
|
@@ -61658,6 +62266,15 @@
|
|
|
61658
62266
|
object.optionalFileParam = message.optionalFileParam;
|
|
61659
62267
|
if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
|
|
61660
62268
|
object.displayVersion = message.displayVersion;
|
|
62269
|
+
if (message.compile != null && message.hasOwnProperty("compile"))
|
|
62270
|
+
object.compile = $root.replit.goval.api.CompileConfig.toObject(message.compile, options);
|
|
62271
|
+
if (message.run != null && message.hasOwnProperty("run"))
|
|
62272
|
+
object.run = $root.replit.goval.api.RunConfig.toObject(message.run, options);
|
|
62273
|
+
if (message.defaultEntrypoints && message.defaultEntrypoints.length) {
|
|
62274
|
+
object.defaultEntrypoints = [];
|
|
62275
|
+
for (var j = 0; j < message.defaultEntrypoints.length; ++j)
|
|
62276
|
+
object.defaultEntrypoints[j] = message.defaultEntrypoints[j];
|
|
62277
|
+
}
|
|
61661
62278
|
return object;
|
|
61662
62279
|
};
|
|
61663
62280
|
|
|
@@ -67328,6 +67945,654 @@
|
|
|
67328
67945
|
return SecretsSetRequest;
|
|
67329
67946
|
})();
|
|
67330
67947
|
|
|
67948
|
+
api.ExternalSecretsGetRequest = (function() {
|
|
67949
|
+
|
|
67950
|
+
/**
|
|
67951
|
+
* Properties of an ExternalSecretsGetRequest.
|
|
67952
|
+
* @memberof replit.goval.api
|
|
67953
|
+
* @interface IExternalSecretsGetRequest
|
|
67954
|
+
*/
|
|
67955
|
+
|
|
67956
|
+
/**
|
|
67957
|
+
* Constructs a new ExternalSecretsGetRequest.
|
|
67958
|
+
* @memberof replit.goval.api
|
|
67959
|
+
* @classdesc Represents an ExternalSecretsGetRequest.
|
|
67960
|
+
* @constructor
|
|
67961
|
+
* @param {replit.goval.api.IExternalSecretsGetRequest=} [properties] Properties to set
|
|
67962
|
+
*/
|
|
67963
|
+
function ExternalSecretsGetRequest(properties) {
|
|
67964
|
+
if (properties)
|
|
67965
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
67966
|
+
if (properties[keys[i]] != null)
|
|
67967
|
+
this[keys[i]] = properties[keys[i]];
|
|
67968
|
+
}
|
|
67969
|
+
|
|
67970
|
+
/**
|
|
67971
|
+
* Creates a new ExternalSecretsGetRequest instance using the specified properties.
|
|
67972
|
+
* @function create
|
|
67973
|
+
* @memberof replit.goval.api.ExternalSecretsGetRequest
|
|
67974
|
+
* @static
|
|
67975
|
+
* @param {replit.goval.api.IExternalSecretsGetRequest=} [properties] Properties to set
|
|
67976
|
+
* @returns {replit.goval.api.ExternalSecretsGetRequest} ExternalSecretsGetRequest instance
|
|
67977
|
+
*/
|
|
67978
|
+
ExternalSecretsGetRequest.create = function create(properties) {
|
|
67979
|
+
return ExternalSecretsGetRequest.fromObject(properties);
|
|
67980
|
+
};
|
|
67981
|
+
|
|
67982
|
+
/**
|
|
67983
|
+
* Encodes the specified ExternalSecretsGetRequest message. Does not implicitly {@link replit.goval.api.ExternalSecretsGetRequest.verify|verify} messages.
|
|
67984
|
+
* @function encode
|
|
67985
|
+
* @memberof replit.goval.api.ExternalSecretsGetRequest
|
|
67986
|
+
* @static
|
|
67987
|
+
* @param {replit.goval.api.ExternalSecretsGetRequest} message ExternalSecretsGetRequest message or plain object to encode
|
|
67988
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
67989
|
+
* @returns {$protobuf.Writer} Writer
|
|
67990
|
+
*/
|
|
67991
|
+
ExternalSecretsGetRequest.encode = function encode(message, writer) {
|
|
67992
|
+
if (!writer)
|
|
67993
|
+
writer = $Writer.create();
|
|
67994
|
+
return writer;
|
|
67995
|
+
};
|
|
67996
|
+
|
|
67997
|
+
/**
|
|
67998
|
+
* Encodes the specified ExternalSecretsGetRequest message, length delimited. Does not implicitly {@link replit.goval.api.ExternalSecretsGetRequest.verify|verify} messages.
|
|
67999
|
+
* @function encodeDelimited
|
|
68000
|
+
* @memberof replit.goval.api.ExternalSecretsGetRequest
|
|
68001
|
+
* @static
|
|
68002
|
+
* @param {replit.goval.api.ExternalSecretsGetRequest} message ExternalSecretsGetRequest message or plain object to encode
|
|
68003
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
68004
|
+
* @returns {$protobuf.Writer} Writer
|
|
68005
|
+
*/
|
|
68006
|
+
ExternalSecretsGetRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
68007
|
+
return this.encode(message, writer).ldelim();
|
|
68008
|
+
};
|
|
68009
|
+
|
|
68010
|
+
/**
|
|
68011
|
+
* Decodes an ExternalSecretsGetRequest message from the specified reader or buffer.
|
|
68012
|
+
* @function decode
|
|
68013
|
+
* @memberof replit.goval.api.ExternalSecretsGetRequest
|
|
68014
|
+
* @static
|
|
68015
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
68016
|
+
* @param {number} [length] Message length if known beforehand
|
|
68017
|
+
* @returns {replit.goval.api.ExternalSecretsGetRequest} ExternalSecretsGetRequest
|
|
68018
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
68019
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
68020
|
+
*/
|
|
68021
|
+
ExternalSecretsGetRequest.decode = function decode(reader, length) {
|
|
68022
|
+
if (!(reader instanceof $Reader))
|
|
68023
|
+
reader = $Reader.create(reader);
|
|
68024
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.ExternalSecretsGetRequest();
|
|
68025
|
+
while (reader.pos < end) {
|
|
68026
|
+
var tag = reader.uint32();
|
|
68027
|
+
switch (tag >>> 3) {
|
|
68028
|
+
default:
|
|
68029
|
+
reader.skipType(tag & 7);
|
|
68030
|
+
break;
|
|
68031
|
+
}
|
|
68032
|
+
}
|
|
68033
|
+
return message;
|
|
68034
|
+
};
|
|
68035
|
+
|
|
68036
|
+
/**
|
|
68037
|
+
* Decodes an ExternalSecretsGetRequest message from the specified reader or buffer, length delimited.
|
|
68038
|
+
* @function decodeDelimited
|
|
68039
|
+
* @memberof replit.goval.api.ExternalSecretsGetRequest
|
|
68040
|
+
* @static
|
|
68041
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
68042
|
+
* @returns {replit.goval.api.ExternalSecretsGetRequest} ExternalSecretsGetRequest
|
|
68043
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
68044
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
68045
|
+
*/
|
|
68046
|
+
ExternalSecretsGetRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
68047
|
+
if (!(reader instanceof $Reader))
|
|
68048
|
+
reader = new $Reader(reader);
|
|
68049
|
+
return this.decode(reader, reader.uint32());
|
|
68050
|
+
};
|
|
68051
|
+
|
|
68052
|
+
/**
|
|
68053
|
+
* Verifies an ExternalSecretsGetRequest message.
|
|
68054
|
+
* @function verify
|
|
68055
|
+
* @memberof replit.goval.api.ExternalSecretsGetRequest
|
|
68056
|
+
* @static
|
|
68057
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
68058
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
68059
|
+
*/
|
|
68060
|
+
ExternalSecretsGetRequest.verify = function verify(message) {
|
|
68061
|
+
if (typeof message !== "object" || message === null)
|
|
68062
|
+
return "object expected";
|
|
68063
|
+
return null;
|
|
68064
|
+
};
|
|
68065
|
+
|
|
68066
|
+
/**
|
|
68067
|
+
* Creates an ExternalSecretsGetRequest message from a plain object. Also converts values to their respective internal types.
|
|
68068
|
+
* @function fromObject
|
|
68069
|
+
* @memberof replit.goval.api.ExternalSecretsGetRequest
|
|
68070
|
+
* @static
|
|
68071
|
+
* @param {Object.<string,*>} object Plain object
|
|
68072
|
+
* @returns {replit.goval.api.ExternalSecretsGetRequest} ExternalSecretsGetRequest
|
|
68073
|
+
*/
|
|
68074
|
+
ExternalSecretsGetRequest.fromObject = function fromObject(object) {
|
|
68075
|
+
if (object instanceof $root.replit.goval.api.ExternalSecretsGetRequest)
|
|
68076
|
+
return object;
|
|
68077
|
+
return new $root.replit.goval.api.ExternalSecretsGetRequest();
|
|
68078
|
+
};
|
|
68079
|
+
|
|
68080
|
+
/**
|
|
68081
|
+
* Creates a plain object from an ExternalSecretsGetRequest message. Also converts values to other types if specified.
|
|
68082
|
+
* @function toObject
|
|
68083
|
+
* @memberof replit.goval.api.ExternalSecretsGetRequest
|
|
68084
|
+
* @static
|
|
68085
|
+
* @param {replit.goval.api.ExternalSecretsGetRequest} message ExternalSecretsGetRequest
|
|
68086
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
68087
|
+
* @returns {Object.<string,*>} Plain object
|
|
68088
|
+
*/
|
|
68089
|
+
ExternalSecretsGetRequest.toObject = function toObject() {
|
|
68090
|
+
return {};
|
|
68091
|
+
};
|
|
68092
|
+
|
|
68093
|
+
/**
|
|
68094
|
+
* Converts this ExternalSecretsGetRequest to JSON.
|
|
68095
|
+
* @function toJSON
|
|
68096
|
+
* @memberof replit.goval.api.ExternalSecretsGetRequest
|
|
68097
|
+
* @instance
|
|
68098
|
+
* @returns {Object.<string,*>} JSON object
|
|
68099
|
+
*/
|
|
68100
|
+
ExternalSecretsGetRequest.prototype.toJSON = function toJSON() {
|
|
68101
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
68102
|
+
};
|
|
68103
|
+
|
|
68104
|
+
/**
|
|
68105
|
+
* Gets the default type url for ExternalSecretsGetRequest
|
|
68106
|
+
* @function getTypeUrl
|
|
68107
|
+
* @memberof replit.goval.api.ExternalSecretsGetRequest
|
|
68108
|
+
* @static
|
|
68109
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
68110
|
+
* @returns {string} The default type url
|
|
68111
|
+
*/
|
|
68112
|
+
ExternalSecretsGetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
68113
|
+
if (typeUrlPrefix === undefined) {
|
|
68114
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
68115
|
+
}
|
|
68116
|
+
return typeUrlPrefix + "/replit.goval.api.ExternalSecretsGetRequest";
|
|
68117
|
+
};
|
|
68118
|
+
|
|
68119
|
+
return ExternalSecretsGetRequest;
|
|
68120
|
+
})();
|
|
68121
|
+
|
|
68122
|
+
api.ExternalSecretsGetResponse = (function() {
|
|
68123
|
+
|
|
68124
|
+
/**
|
|
68125
|
+
* Properties of an ExternalSecretsGetResponse.
|
|
68126
|
+
* @memberof replit.goval.api
|
|
68127
|
+
* @interface IExternalSecretsGetResponse
|
|
68128
|
+
* @property {Object.<string,string>|null} [externalSecrets] ExternalSecretsGetResponse externalSecrets
|
|
68129
|
+
*/
|
|
68130
|
+
|
|
68131
|
+
/**
|
|
68132
|
+
* Constructs a new ExternalSecretsGetResponse.
|
|
68133
|
+
* @memberof replit.goval.api
|
|
68134
|
+
* @classdesc Represents an ExternalSecretsGetResponse.
|
|
68135
|
+
* @constructor
|
|
68136
|
+
* @param {replit.goval.api.IExternalSecretsGetResponse=} [properties] Properties to set
|
|
68137
|
+
*/
|
|
68138
|
+
function ExternalSecretsGetResponse(properties) {
|
|
68139
|
+
this.externalSecrets = {};
|
|
68140
|
+
if (properties)
|
|
68141
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
68142
|
+
if (properties[keys[i]] != null)
|
|
68143
|
+
this[keys[i]] = properties[keys[i]];
|
|
68144
|
+
}
|
|
68145
|
+
|
|
68146
|
+
/**
|
|
68147
|
+
* ExternalSecretsGetResponse externalSecrets.
|
|
68148
|
+
* @member {Object.<string,string>} externalSecrets
|
|
68149
|
+
* @memberof replit.goval.api.ExternalSecretsGetResponse
|
|
68150
|
+
* @instance
|
|
68151
|
+
*/
|
|
68152
|
+
ExternalSecretsGetResponse.prototype.externalSecrets = $util.emptyObject;
|
|
68153
|
+
|
|
68154
|
+
/**
|
|
68155
|
+
* Creates a new ExternalSecretsGetResponse instance using the specified properties.
|
|
68156
|
+
* @function create
|
|
68157
|
+
* @memberof replit.goval.api.ExternalSecretsGetResponse
|
|
68158
|
+
* @static
|
|
68159
|
+
* @param {replit.goval.api.IExternalSecretsGetResponse=} [properties] Properties to set
|
|
68160
|
+
* @returns {replit.goval.api.ExternalSecretsGetResponse} ExternalSecretsGetResponse instance
|
|
68161
|
+
*/
|
|
68162
|
+
ExternalSecretsGetResponse.create = function create(properties) {
|
|
68163
|
+
return ExternalSecretsGetResponse.fromObject(properties);
|
|
68164
|
+
};
|
|
68165
|
+
|
|
68166
|
+
/**
|
|
68167
|
+
* Encodes the specified ExternalSecretsGetResponse message. Does not implicitly {@link replit.goval.api.ExternalSecretsGetResponse.verify|verify} messages.
|
|
68168
|
+
* @function encode
|
|
68169
|
+
* @memberof replit.goval.api.ExternalSecretsGetResponse
|
|
68170
|
+
* @static
|
|
68171
|
+
* @param {replit.goval.api.ExternalSecretsGetResponse} message ExternalSecretsGetResponse message or plain object to encode
|
|
68172
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
68173
|
+
* @returns {$protobuf.Writer} Writer
|
|
68174
|
+
*/
|
|
68175
|
+
ExternalSecretsGetResponse.encode = function encode(message, writer) {
|
|
68176
|
+
if (!writer)
|
|
68177
|
+
writer = $Writer.create();
|
|
68178
|
+
if (message.externalSecrets != null && Object.hasOwnProperty.call(message, "externalSecrets"))
|
|
68179
|
+
for (var keys = Object.keys(message.externalSecrets), i = 0; i < keys.length; ++i)
|
|
68180
|
+
writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.externalSecrets[keys[i]]).ldelim();
|
|
68181
|
+
return writer;
|
|
68182
|
+
};
|
|
68183
|
+
|
|
68184
|
+
/**
|
|
68185
|
+
* Encodes the specified ExternalSecretsGetResponse message, length delimited. Does not implicitly {@link replit.goval.api.ExternalSecretsGetResponse.verify|verify} messages.
|
|
68186
|
+
* @function encodeDelimited
|
|
68187
|
+
* @memberof replit.goval.api.ExternalSecretsGetResponse
|
|
68188
|
+
* @static
|
|
68189
|
+
* @param {replit.goval.api.ExternalSecretsGetResponse} message ExternalSecretsGetResponse message or plain object to encode
|
|
68190
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
68191
|
+
* @returns {$protobuf.Writer} Writer
|
|
68192
|
+
*/
|
|
68193
|
+
ExternalSecretsGetResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
68194
|
+
return this.encode(message, writer).ldelim();
|
|
68195
|
+
};
|
|
68196
|
+
|
|
68197
|
+
/**
|
|
68198
|
+
* Decodes an ExternalSecretsGetResponse message from the specified reader or buffer.
|
|
68199
|
+
* @function decode
|
|
68200
|
+
* @memberof replit.goval.api.ExternalSecretsGetResponse
|
|
68201
|
+
* @static
|
|
68202
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
68203
|
+
* @param {number} [length] Message length if known beforehand
|
|
68204
|
+
* @returns {replit.goval.api.ExternalSecretsGetResponse} ExternalSecretsGetResponse
|
|
68205
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
68206
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
68207
|
+
*/
|
|
68208
|
+
ExternalSecretsGetResponse.decode = function decode(reader, length) {
|
|
68209
|
+
if (!(reader instanceof $Reader))
|
|
68210
|
+
reader = $Reader.create(reader);
|
|
68211
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.ExternalSecretsGetResponse(), key, value;
|
|
68212
|
+
while (reader.pos < end) {
|
|
68213
|
+
var tag = reader.uint32();
|
|
68214
|
+
switch (tag >>> 3) {
|
|
68215
|
+
case 1: {
|
|
68216
|
+
if (message.externalSecrets === $util.emptyObject)
|
|
68217
|
+
message.externalSecrets = {};
|
|
68218
|
+
var end2 = reader.uint32() + reader.pos;
|
|
68219
|
+
key = "";
|
|
68220
|
+
value = "";
|
|
68221
|
+
while (reader.pos < end2) {
|
|
68222
|
+
var tag2 = reader.uint32();
|
|
68223
|
+
switch (tag2 >>> 3) {
|
|
68224
|
+
case 1:
|
|
68225
|
+
key = reader.string();
|
|
68226
|
+
break;
|
|
68227
|
+
case 2:
|
|
68228
|
+
value = reader.string();
|
|
68229
|
+
break;
|
|
68230
|
+
default:
|
|
68231
|
+
reader.skipType(tag2 & 7);
|
|
68232
|
+
break;
|
|
68233
|
+
}
|
|
68234
|
+
}
|
|
68235
|
+
message.externalSecrets[key] = value;
|
|
68236
|
+
break;
|
|
68237
|
+
}
|
|
68238
|
+
default:
|
|
68239
|
+
reader.skipType(tag & 7);
|
|
68240
|
+
break;
|
|
68241
|
+
}
|
|
68242
|
+
}
|
|
68243
|
+
return message;
|
|
68244
|
+
};
|
|
68245
|
+
|
|
68246
|
+
/**
|
|
68247
|
+
* Decodes an ExternalSecretsGetResponse message from the specified reader or buffer, length delimited.
|
|
68248
|
+
* @function decodeDelimited
|
|
68249
|
+
* @memberof replit.goval.api.ExternalSecretsGetResponse
|
|
68250
|
+
* @static
|
|
68251
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
68252
|
+
* @returns {replit.goval.api.ExternalSecretsGetResponse} ExternalSecretsGetResponse
|
|
68253
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
68254
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
68255
|
+
*/
|
|
68256
|
+
ExternalSecretsGetResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
68257
|
+
if (!(reader instanceof $Reader))
|
|
68258
|
+
reader = new $Reader(reader);
|
|
68259
|
+
return this.decode(reader, reader.uint32());
|
|
68260
|
+
};
|
|
68261
|
+
|
|
68262
|
+
/**
|
|
68263
|
+
* Verifies an ExternalSecretsGetResponse message.
|
|
68264
|
+
* @function verify
|
|
68265
|
+
* @memberof replit.goval.api.ExternalSecretsGetResponse
|
|
68266
|
+
* @static
|
|
68267
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
68268
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
68269
|
+
*/
|
|
68270
|
+
ExternalSecretsGetResponse.verify = function verify(message) {
|
|
68271
|
+
if (typeof message !== "object" || message === null)
|
|
68272
|
+
return "object expected";
|
|
68273
|
+
if (message.externalSecrets != null && message.hasOwnProperty("externalSecrets")) {
|
|
68274
|
+
if (!$util.isObject(message.externalSecrets))
|
|
68275
|
+
return "externalSecrets: object expected";
|
|
68276
|
+
var key = Object.keys(message.externalSecrets);
|
|
68277
|
+
for (var i = 0; i < key.length; ++i)
|
|
68278
|
+
if (!$util.isString(message.externalSecrets[key[i]]))
|
|
68279
|
+
return "externalSecrets: string{k:string} expected";
|
|
68280
|
+
}
|
|
68281
|
+
return null;
|
|
68282
|
+
};
|
|
68283
|
+
|
|
68284
|
+
/**
|
|
68285
|
+
* Creates an ExternalSecretsGetResponse message from a plain object. Also converts values to their respective internal types.
|
|
68286
|
+
* @function fromObject
|
|
68287
|
+
* @memberof replit.goval.api.ExternalSecretsGetResponse
|
|
68288
|
+
* @static
|
|
68289
|
+
* @param {Object.<string,*>} object Plain object
|
|
68290
|
+
* @returns {replit.goval.api.ExternalSecretsGetResponse} ExternalSecretsGetResponse
|
|
68291
|
+
*/
|
|
68292
|
+
ExternalSecretsGetResponse.fromObject = function fromObject(object) {
|
|
68293
|
+
if (object instanceof $root.replit.goval.api.ExternalSecretsGetResponse)
|
|
68294
|
+
return object;
|
|
68295
|
+
var message = new $root.replit.goval.api.ExternalSecretsGetResponse();
|
|
68296
|
+
if (object.externalSecrets) {
|
|
68297
|
+
if (typeof object.externalSecrets !== "object")
|
|
68298
|
+
throw TypeError(".replit.goval.api.ExternalSecretsGetResponse.externalSecrets: object expected");
|
|
68299
|
+
message.externalSecrets = {};
|
|
68300
|
+
for (var keys = Object.keys(object.externalSecrets), i = 0; i < keys.length; ++i)
|
|
68301
|
+
message.externalSecrets[keys[i]] = String(object.externalSecrets[keys[i]]);
|
|
68302
|
+
}
|
|
68303
|
+
return message;
|
|
68304
|
+
};
|
|
68305
|
+
|
|
68306
|
+
/**
|
|
68307
|
+
* Creates a plain object from an ExternalSecretsGetResponse message. Also converts values to other types if specified.
|
|
68308
|
+
* @function toObject
|
|
68309
|
+
* @memberof replit.goval.api.ExternalSecretsGetResponse
|
|
68310
|
+
* @static
|
|
68311
|
+
* @param {replit.goval.api.ExternalSecretsGetResponse} message ExternalSecretsGetResponse
|
|
68312
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
68313
|
+
* @returns {Object.<string,*>} Plain object
|
|
68314
|
+
*/
|
|
68315
|
+
ExternalSecretsGetResponse.toObject = function toObject(message, options) {
|
|
68316
|
+
if (!options)
|
|
68317
|
+
options = {};
|
|
68318
|
+
var object = {};
|
|
68319
|
+
if (options.objects || options.defaults)
|
|
68320
|
+
object.externalSecrets = {};
|
|
68321
|
+
var keys2;
|
|
68322
|
+
if (message.externalSecrets && (keys2 = Object.keys(message.externalSecrets)).length) {
|
|
68323
|
+
object.externalSecrets = {};
|
|
68324
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
68325
|
+
object.externalSecrets[keys2[j]] = message.externalSecrets[keys2[j]];
|
|
68326
|
+
}
|
|
68327
|
+
return object;
|
|
68328
|
+
};
|
|
68329
|
+
|
|
68330
|
+
/**
|
|
68331
|
+
* Converts this ExternalSecretsGetResponse to JSON.
|
|
68332
|
+
* @function toJSON
|
|
68333
|
+
* @memberof replit.goval.api.ExternalSecretsGetResponse
|
|
68334
|
+
* @instance
|
|
68335
|
+
* @returns {Object.<string,*>} JSON object
|
|
68336
|
+
*/
|
|
68337
|
+
ExternalSecretsGetResponse.prototype.toJSON = function toJSON() {
|
|
68338
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
68339
|
+
};
|
|
68340
|
+
|
|
68341
|
+
/**
|
|
68342
|
+
* Gets the default type url for ExternalSecretsGetResponse
|
|
68343
|
+
* @function getTypeUrl
|
|
68344
|
+
* @memberof replit.goval.api.ExternalSecretsGetResponse
|
|
68345
|
+
* @static
|
|
68346
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
68347
|
+
* @returns {string} The default type url
|
|
68348
|
+
*/
|
|
68349
|
+
ExternalSecretsGetResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
68350
|
+
if (typeUrlPrefix === undefined) {
|
|
68351
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
68352
|
+
}
|
|
68353
|
+
return typeUrlPrefix + "/replit.goval.api.ExternalSecretsGetResponse";
|
|
68354
|
+
};
|
|
68355
|
+
|
|
68356
|
+
return ExternalSecretsGetResponse;
|
|
68357
|
+
})();
|
|
68358
|
+
|
|
68359
|
+
api.ExternalSecretsSetRequest = (function() {
|
|
68360
|
+
|
|
68361
|
+
/**
|
|
68362
|
+
* Properties of an ExternalSecretsSetRequest.
|
|
68363
|
+
* @memberof replit.goval.api
|
|
68364
|
+
* @interface IExternalSecretsSetRequest
|
|
68365
|
+
* @property {Object.<string,string>|null} [externalSecrets] ExternalSecretsSetRequest externalSecrets
|
|
68366
|
+
*/
|
|
68367
|
+
|
|
68368
|
+
/**
|
|
68369
|
+
* Constructs a new ExternalSecretsSetRequest.
|
|
68370
|
+
* @memberof replit.goval.api
|
|
68371
|
+
* @classdesc Represents an ExternalSecretsSetRequest.
|
|
68372
|
+
* @constructor
|
|
68373
|
+
* @param {replit.goval.api.IExternalSecretsSetRequest=} [properties] Properties to set
|
|
68374
|
+
*/
|
|
68375
|
+
function ExternalSecretsSetRequest(properties) {
|
|
68376
|
+
this.externalSecrets = {};
|
|
68377
|
+
if (properties)
|
|
68378
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
68379
|
+
if (properties[keys[i]] != null)
|
|
68380
|
+
this[keys[i]] = properties[keys[i]];
|
|
68381
|
+
}
|
|
68382
|
+
|
|
68383
|
+
/**
|
|
68384
|
+
* ExternalSecretsSetRequest externalSecrets.
|
|
68385
|
+
* @member {Object.<string,string>} externalSecrets
|
|
68386
|
+
* @memberof replit.goval.api.ExternalSecretsSetRequest
|
|
68387
|
+
* @instance
|
|
68388
|
+
*/
|
|
68389
|
+
ExternalSecretsSetRequest.prototype.externalSecrets = $util.emptyObject;
|
|
68390
|
+
|
|
68391
|
+
/**
|
|
68392
|
+
* Creates a new ExternalSecretsSetRequest instance using the specified properties.
|
|
68393
|
+
* @function create
|
|
68394
|
+
* @memberof replit.goval.api.ExternalSecretsSetRequest
|
|
68395
|
+
* @static
|
|
68396
|
+
* @param {replit.goval.api.IExternalSecretsSetRequest=} [properties] Properties to set
|
|
68397
|
+
* @returns {replit.goval.api.ExternalSecretsSetRequest} ExternalSecretsSetRequest instance
|
|
68398
|
+
*/
|
|
68399
|
+
ExternalSecretsSetRequest.create = function create(properties) {
|
|
68400
|
+
return ExternalSecretsSetRequest.fromObject(properties);
|
|
68401
|
+
};
|
|
68402
|
+
|
|
68403
|
+
/**
|
|
68404
|
+
* Encodes the specified ExternalSecretsSetRequest message. Does not implicitly {@link replit.goval.api.ExternalSecretsSetRequest.verify|verify} messages.
|
|
68405
|
+
* @function encode
|
|
68406
|
+
* @memberof replit.goval.api.ExternalSecretsSetRequest
|
|
68407
|
+
* @static
|
|
68408
|
+
* @param {replit.goval.api.ExternalSecretsSetRequest} message ExternalSecretsSetRequest message or plain object to encode
|
|
68409
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
68410
|
+
* @returns {$protobuf.Writer} Writer
|
|
68411
|
+
*/
|
|
68412
|
+
ExternalSecretsSetRequest.encode = function encode(message, writer) {
|
|
68413
|
+
if (!writer)
|
|
68414
|
+
writer = $Writer.create();
|
|
68415
|
+
if (message.externalSecrets != null && Object.hasOwnProperty.call(message, "externalSecrets"))
|
|
68416
|
+
for (var keys = Object.keys(message.externalSecrets), i = 0; i < keys.length; ++i)
|
|
68417
|
+
writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.externalSecrets[keys[i]]).ldelim();
|
|
68418
|
+
return writer;
|
|
68419
|
+
};
|
|
68420
|
+
|
|
68421
|
+
/**
|
|
68422
|
+
* Encodes the specified ExternalSecretsSetRequest message, length delimited. Does not implicitly {@link replit.goval.api.ExternalSecretsSetRequest.verify|verify} messages.
|
|
68423
|
+
* @function encodeDelimited
|
|
68424
|
+
* @memberof replit.goval.api.ExternalSecretsSetRequest
|
|
68425
|
+
* @static
|
|
68426
|
+
* @param {replit.goval.api.ExternalSecretsSetRequest} message ExternalSecretsSetRequest message or plain object to encode
|
|
68427
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
68428
|
+
* @returns {$protobuf.Writer} Writer
|
|
68429
|
+
*/
|
|
68430
|
+
ExternalSecretsSetRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
68431
|
+
return this.encode(message, writer).ldelim();
|
|
68432
|
+
};
|
|
68433
|
+
|
|
68434
|
+
/**
|
|
68435
|
+
* Decodes an ExternalSecretsSetRequest message from the specified reader or buffer.
|
|
68436
|
+
* @function decode
|
|
68437
|
+
* @memberof replit.goval.api.ExternalSecretsSetRequest
|
|
68438
|
+
* @static
|
|
68439
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
68440
|
+
* @param {number} [length] Message length if known beforehand
|
|
68441
|
+
* @returns {replit.goval.api.ExternalSecretsSetRequest} ExternalSecretsSetRequest
|
|
68442
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
68443
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
68444
|
+
*/
|
|
68445
|
+
ExternalSecretsSetRequest.decode = function decode(reader, length) {
|
|
68446
|
+
if (!(reader instanceof $Reader))
|
|
68447
|
+
reader = $Reader.create(reader);
|
|
68448
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.ExternalSecretsSetRequest(), key, value;
|
|
68449
|
+
while (reader.pos < end) {
|
|
68450
|
+
var tag = reader.uint32();
|
|
68451
|
+
switch (tag >>> 3) {
|
|
68452
|
+
case 1: {
|
|
68453
|
+
if (message.externalSecrets === $util.emptyObject)
|
|
68454
|
+
message.externalSecrets = {};
|
|
68455
|
+
var end2 = reader.uint32() + reader.pos;
|
|
68456
|
+
key = "";
|
|
68457
|
+
value = "";
|
|
68458
|
+
while (reader.pos < end2) {
|
|
68459
|
+
var tag2 = reader.uint32();
|
|
68460
|
+
switch (tag2 >>> 3) {
|
|
68461
|
+
case 1:
|
|
68462
|
+
key = reader.string();
|
|
68463
|
+
break;
|
|
68464
|
+
case 2:
|
|
68465
|
+
value = reader.string();
|
|
68466
|
+
break;
|
|
68467
|
+
default:
|
|
68468
|
+
reader.skipType(tag2 & 7);
|
|
68469
|
+
break;
|
|
68470
|
+
}
|
|
68471
|
+
}
|
|
68472
|
+
message.externalSecrets[key] = value;
|
|
68473
|
+
break;
|
|
68474
|
+
}
|
|
68475
|
+
default:
|
|
68476
|
+
reader.skipType(tag & 7);
|
|
68477
|
+
break;
|
|
68478
|
+
}
|
|
68479
|
+
}
|
|
68480
|
+
return message;
|
|
68481
|
+
};
|
|
68482
|
+
|
|
68483
|
+
/**
|
|
68484
|
+
* Decodes an ExternalSecretsSetRequest message from the specified reader or buffer, length delimited.
|
|
68485
|
+
* @function decodeDelimited
|
|
68486
|
+
* @memberof replit.goval.api.ExternalSecretsSetRequest
|
|
68487
|
+
* @static
|
|
68488
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
68489
|
+
* @returns {replit.goval.api.ExternalSecretsSetRequest} ExternalSecretsSetRequest
|
|
68490
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
68491
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
68492
|
+
*/
|
|
68493
|
+
ExternalSecretsSetRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
68494
|
+
if (!(reader instanceof $Reader))
|
|
68495
|
+
reader = new $Reader(reader);
|
|
68496
|
+
return this.decode(reader, reader.uint32());
|
|
68497
|
+
};
|
|
68498
|
+
|
|
68499
|
+
/**
|
|
68500
|
+
* Verifies an ExternalSecretsSetRequest message.
|
|
68501
|
+
* @function verify
|
|
68502
|
+
* @memberof replit.goval.api.ExternalSecretsSetRequest
|
|
68503
|
+
* @static
|
|
68504
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
68505
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
68506
|
+
*/
|
|
68507
|
+
ExternalSecretsSetRequest.verify = function verify(message) {
|
|
68508
|
+
if (typeof message !== "object" || message === null)
|
|
68509
|
+
return "object expected";
|
|
68510
|
+
if (message.externalSecrets != null && message.hasOwnProperty("externalSecrets")) {
|
|
68511
|
+
if (!$util.isObject(message.externalSecrets))
|
|
68512
|
+
return "externalSecrets: object expected";
|
|
68513
|
+
var key = Object.keys(message.externalSecrets);
|
|
68514
|
+
for (var i = 0; i < key.length; ++i)
|
|
68515
|
+
if (!$util.isString(message.externalSecrets[key[i]]))
|
|
68516
|
+
return "externalSecrets: string{k:string} expected";
|
|
68517
|
+
}
|
|
68518
|
+
return null;
|
|
68519
|
+
};
|
|
68520
|
+
|
|
68521
|
+
/**
|
|
68522
|
+
* Creates an ExternalSecretsSetRequest message from a plain object. Also converts values to their respective internal types.
|
|
68523
|
+
* @function fromObject
|
|
68524
|
+
* @memberof replit.goval.api.ExternalSecretsSetRequest
|
|
68525
|
+
* @static
|
|
68526
|
+
* @param {Object.<string,*>} object Plain object
|
|
68527
|
+
* @returns {replit.goval.api.ExternalSecretsSetRequest} ExternalSecretsSetRequest
|
|
68528
|
+
*/
|
|
68529
|
+
ExternalSecretsSetRequest.fromObject = function fromObject(object) {
|
|
68530
|
+
if (object instanceof $root.replit.goval.api.ExternalSecretsSetRequest)
|
|
68531
|
+
return object;
|
|
68532
|
+
var message = new $root.replit.goval.api.ExternalSecretsSetRequest();
|
|
68533
|
+
if (object.externalSecrets) {
|
|
68534
|
+
if (typeof object.externalSecrets !== "object")
|
|
68535
|
+
throw TypeError(".replit.goval.api.ExternalSecretsSetRequest.externalSecrets: object expected");
|
|
68536
|
+
message.externalSecrets = {};
|
|
68537
|
+
for (var keys = Object.keys(object.externalSecrets), i = 0; i < keys.length; ++i)
|
|
68538
|
+
message.externalSecrets[keys[i]] = String(object.externalSecrets[keys[i]]);
|
|
68539
|
+
}
|
|
68540
|
+
return message;
|
|
68541
|
+
};
|
|
68542
|
+
|
|
68543
|
+
/**
|
|
68544
|
+
* Creates a plain object from an ExternalSecretsSetRequest message. Also converts values to other types if specified.
|
|
68545
|
+
* @function toObject
|
|
68546
|
+
* @memberof replit.goval.api.ExternalSecretsSetRequest
|
|
68547
|
+
* @static
|
|
68548
|
+
* @param {replit.goval.api.ExternalSecretsSetRequest} message ExternalSecretsSetRequest
|
|
68549
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
68550
|
+
* @returns {Object.<string,*>} Plain object
|
|
68551
|
+
*/
|
|
68552
|
+
ExternalSecretsSetRequest.toObject = function toObject(message, options) {
|
|
68553
|
+
if (!options)
|
|
68554
|
+
options = {};
|
|
68555
|
+
var object = {};
|
|
68556
|
+
if (options.objects || options.defaults)
|
|
68557
|
+
object.externalSecrets = {};
|
|
68558
|
+
var keys2;
|
|
68559
|
+
if (message.externalSecrets && (keys2 = Object.keys(message.externalSecrets)).length) {
|
|
68560
|
+
object.externalSecrets = {};
|
|
68561
|
+
for (var j = 0; j < keys2.length; ++j)
|
|
68562
|
+
object.externalSecrets[keys2[j]] = message.externalSecrets[keys2[j]];
|
|
68563
|
+
}
|
|
68564
|
+
return object;
|
|
68565
|
+
};
|
|
68566
|
+
|
|
68567
|
+
/**
|
|
68568
|
+
* Converts this ExternalSecretsSetRequest to JSON.
|
|
68569
|
+
* @function toJSON
|
|
68570
|
+
* @memberof replit.goval.api.ExternalSecretsSetRequest
|
|
68571
|
+
* @instance
|
|
68572
|
+
* @returns {Object.<string,*>} JSON object
|
|
68573
|
+
*/
|
|
68574
|
+
ExternalSecretsSetRequest.prototype.toJSON = function toJSON() {
|
|
68575
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
68576
|
+
};
|
|
68577
|
+
|
|
68578
|
+
/**
|
|
68579
|
+
* Gets the default type url for ExternalSecretsSetRequest
|
|
68580
|
+
* @function getTypeUrl
|
|
68581
|
+
* @memberof replit.goval.api.ExternalSecretsSetRequest
|
|
68582
|
+
* @static
|
|
68583
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
68584
|
+
* @returns {string} The default type url
|
|
68585
|
+
*/
|
|
68586
|
+
ExternalSecretsSetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
68587
|
+
if (typeUrlPrefix === undefined) {
|
|
68588
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
68589
|
+
}
|
|
68590
|
+
return typeUrlPrefix + "/replit.goval.api.ExternalSecretsSetRequest";
|
|
68591
|
+
};
|
|
68592
|
+
|
|
68593
|
+
return ExternalSecretsSetRequest;
|
|
68594
|
+
})();
|
|
68595
|
+
|
|
67331
68596
|
api.ReplResourcesUpdateNotification = (function() {
|
|
67332
68597
|
|
|
67333
68598
|
/**
|
|
@@ -71943,6 +73208,7 @@
|
|
|
71943
73208
|
* @property {replit.goval.api.repl.Pid2Binary|replit.goval.api.repl.IPid2Binary|null} [pid2Info] ReplToken pid2Info
|
|
71944
73209
|
* @property {boolean|null} [paid] ReplToken paid
|
|
71945
73210
|
* @property {boolean|null} [replexec] ReplToken replexec
|
|
73211
|
+
* @property {Array.<replit.goval.api.token.ReplToken.ExternalSecret|replit.goval.api.token.ReplToken.IExternalSecret>|null} [externalSecrets] ReplToken externalSecrets
|
|
71946
73212
|
*/
|
|
71947
73213
|
|
|
71948
73214
|
/**
|
|
@@ -71955,6 +73221,7 @@
|
|
|
71955
73221
|
function ReplToken(properties) {
|
|
71956
73222
|
this.flags = [];
|
|
71957
73223
|
this.features = [];
|
|
73224
|
+
this.externalSecrets = [];
|
|
71958
73225
|
if (properties)
|
|
71959
73226
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
71960
73227
|
if (properties[keys[i]] != null)
|
|
@@ -72105,6 +73372,14 @@
|
|
|
72105
73372
|
*/
|
|
72106
73373
|
ReplToken.prototype.replexec = false;
|
|
72107
73374
|
|
|
73375
|
+
/**
|
|
73376
|
+
* ReplToken externalSecrets.
|
|
73377
|
+
* @member {Array.<replit.goval.api.token.ReplToken.ExternalSecret>} externalSecrets
|
|
73378
|
+
* @memberof replit.goval.api.token.ReplToken
|
|
73379
|
+
* @instance
|
|
73380
|
+
*/
|
|
73381
|
+
ReplToken.prototype.externalSecrets = $util.emptyArray;
|
|
73382
|
+
|
|
72108
73383
|
// OneOf field names bound to virtual getters and setters
|
|
72109
73384
|
var $oneOfFields;
|
|
72110
73385
|
|
|
@@ -72181,6 +73456,9 @@
|
|
|
72181
73456
|
writer.uint32(/* id 20, wireType 0 =*/160).bool(message.paid);
|
|
72182
73457
|
if (message.replexec != null && Object.hasOwnProperty.call(message, "replexec"))
|
|
72183
73458
|
writer.uint32(/* id 21, wireType 0 =*/168).bool(message.replexec);
|
|
73459
|
+
if (message.externalSecrets != null && message.externalSecrets.length)
|
|
73460
|
+
for (var i = 0; i < message.externalSecrets.length; ++i)
|
|
73461
|
+
$root.replit.goval.api.token.ReplToken.ExternalSecret.encode(message.externalSecrets[i], writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
|
|
72184
73462
|
return writer;
|
|
72185
73463
|
};
|
|
72186
73464
|
|
|
@@ -72291,6 +73569,12 @@
|
|
|
72291
73569
|
message.replexec = reader.bool();
|
|
72292
73570
|
break;
|
|
72293
73571
|
}
|
|
73572
|
+
case 22: {
|
|
73573
|
+
if (!(message.externalSecrets && message.externalSecrets.length))
|
|
73574
|
+
message.externalSecrets = [];
|
|
73575
|
+
message.externalSecrets.push($root.replit.goval.api.token.ReplToken.ExternalSecret.decode(reader, reader.uint32()));
|
|
73576
|
+
break;
|
|
73577
|
+
}
|
|
72294
73578
|
default:
|
|
72295
73579
|
reader.skipType(tag & 7);
|
|
72296
73580
|
break;
|
|
@@ -72438,6 +73722,15 @@
|
|
|
72438
73722
|
if (message.replexec != null && message.hasOwnProperty("replexec"))
|
|
72439
73723
|
if (typeof message.replexec !== "boolean")
|
|
72440
73724
|
return "replexec: boolean expected";
|
|
73725
|
+
if (message.externalSecrets != null && message.hasOwnProperty("externalSecrets")) {
|
|
73726
|
+
if (!Array.isArray(message.externalSecrets))
|
|
73727
|
+
return "externalSecrets: array expected";
|
|
73728
|
+
for (var i = 0; i < message.externalSecrets.length; ++i) {
|
|
73729
|
+
var error = $root.replit.goval.api.token.ReplToken.ExternalSecret.verify(message.externalSecrets[i]);
|
|
73730
|
+
if (error)
|
|
73731
|
+
return "externalSecrets." + error;
|
|
73732
|
+
}
|
|
73733
|
+
}
|
|
72441
73734
|
return null;
|
|
72442
73735
|
};
|
|
72443
73736
|
|
|
@@ -72576,6 +73869,16 @@
|
|
|
72576
73869
|
message.paid = Boolean(object.paid);
|
|
72577
73870
|
if (object.replexec != null)
|
|
72578
73871
|
message.replexec = Boolean(object.replexec);
|
|
73872
|
+
if (object.externalSecrets) {
|
|
73873
|
+
if (!Array.isArray(object.externalSecrets))
|
|
73874
|
+
throw TypeError(".replit.goval.api.token.ReplToken.externalSecrets: array expected");
|
|
73875
|
+
message.externalSecrets = [];
|
|
73876
|
+
for (var i = 0; i < object.externalSecrets.length; ++i) {
|
|
73877
|
+
if (typeof object.externalSecrets[i] !== "object")
|
|
73878
|
+
throw TypeError(".replit.goval.api.token.ReplToken.externalSecrets: object expected");
|
|
73879
|
+
message.externalSecrets[i] = $root.replit.goval.api.token.ReplToken.ExternalSecret.fromObject(object.externalSecrets[i]);
|
|
73880
|
+
}
|
|
73881
|
+
}
|
|
72579
73882
|
return message;
|
|
72580
73883
|
};
|
|
72581
73884
|
|
|
@@ -72595,6 +73898,7 @@
|
|
|
72595
73898
|
if (options.arrays || options.defaults) {
|
|
72596
73899
|
object.flags = [];
|
|
72597
73900
|
object.features = [];
|
|
73901
|
+
object.externalSecrets = [];
|
|
72598
73902
|
}
|
|
72599
73903
|
if (options.defaults) {
|
|
72600
73904
|
object.iat = null;
|
|
@@ -72662,6 +73966,11 @@
|
|
|
72662
73966
|
object.paid = message.paid;
|
|
72663
73967
|
if (message.replexec != null && message.hasOwnProperty("replexec"))
|
|
72664
73968
|
object.replexec = message.replexec;
|
|
73969
|
+
if (message.externalSecrets && message.externalSecrets.length) {
|
|
73970
|
+
object.externalSecrets = [];
|
|
73971
|
+
for (var j = 0; j < message.externalSecrets.length; ++j)
|
|
73972
|
+
object.externalSecrets[j] = $root.replit.goval.api.token.ReplToken.ExternalSecret.toObject(message.externalSecrets[j], options);
|
|
73973
|
+
}
|
|
72665
73974
|
return object;
|
|
72666
73975
|
};
|
|
72667
73976
|
|
|
@@ -73387,6 +74696,232 @@
|
|
|
73387
74696
|
return Presenced;
|
|
73388
74697
|
})();
|
|
73389
74698
|
|
|
74699
|
+
ReplToken.ExternalSecret = (function() {
|
|
74700
|
+
|
|
74701
|
+
/**
|
|
74702
|
+
* Properties of an ExternalSecret.
|
|
74703
|
+
* @memberof replit.goval.api.token.ReplToken
|
|
74704
|
+
* @interface IExternalSecret
|
|
74705
|
+
* @property {string|null} [name] ExternalSecret name
|
|
74706
|
+
* @property {string|null} [presignedUrl] ExternalSecret presignedUrl
|
|
74707
|
+
*/
|
|
74708
|
+
|
|
74709
|
+
/**
|
|
74710
|
+
* Constructs a new ExternalSecret.
|
|
74711
|
+
* @memberof replit.goval.api.token.ReplToken
|
|
74712
|
+
* @classdesc Represents an ExternalSecret.
|
|
74713
|
+
* @constructor
|
|
74714
|
+
* @param {replit.goval.api.token.ReplToken.IExternalSecret=} [properties] Properties to set
|
|
74715
|
+
*/
|
|
74716
|
+
function ExternalSecret(properties) {
|
|
74717
|
+
if (properties)
|
|
74718
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
74719
|
+
if (properties[keys[i]] != null)
|
|
74720
|
+
this[keys[i]] = properties[keys[i]];
|
|
74721
|
+
}
|
|
74722
|
+
|
|
74723
|
+
/**
|
|
74724
|
+
* ExternalSecret name.
|
|
74725
|
+
* @member {string} name
|
|
74726
|
+
* @memberof replit.goval.api.token.ReplToken.ExternalSecret
|
|
74727
|
+
* @instance
|
|
74728
|
+
*/
|
|
74729
|
+
ExternalSecret.prototype.name = "";
|
|
74730
|
+
|
|
74731
|
+
/**
|
|
74732
|
+
* ExternalSecret presignedUrl.
|
|
74733
|
+
* @member {string} presignedUrl
|
|
74734
|
+
* @memberof replit.goval.api.token.ReplToken.ExternalSecret
|
|
74735
|
+
* @instance
|
|
74736
|
+
*/
|
|
74737
|
+
ExternalSecret.prototype.presignedUrl = "";
|
|
74738
|
+
|
|
74739
|
+
/**
|
|
74740
|
+
* Creates a new ExternalSecret instance using the specified properties.
|
|
74741
|
+
* @function create
|
|
74742
|
+
* @memberof replit.goval.api.token.ReplToken.ExternalSecret
|
|
74743
|
+
* @static
|
|
74744
|
+
* @param {replit.goval.api.token.ReplToken.IExternalSecret=} [properties] Properties to set
|
|
74745
|
+
* @returns {replit.goval.api.token.ReplToken.ExternalSecret} ExternalSecret instance
|
|
74746
|
+
*/
|
|
74747
|
+
ExternalSecret.create = function create(properties) {
|
|
74748
|
+
return ExternalSecret.fromObject(properties);
|
|
74749
|
+
};
|
|
74750
|
+
|
|
74751
|
+
/**
|
|
74752
|
+
* Encodes the specified ExternalSecret message. Does not implicitly {@link replit.goval.api.token.ReplToken.ExternalSecret.verify|verify} messages.
|
|
74753
|
+
* @function encode
|
|
74754
|
+
* @memberof replit.goval.api.token.ReplToken.ExternalSecret
|
|
74755
|
+
* @static
|
|
74756
|
+
* @param {replit.goval.api.token.ReplToken.ExternalSecret} message ExternalSecret message or plain object to encode
|
|
74757
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
74758
|
+
* @returns {$protobuf.Writer} Writer
|
|
74759
|
+
*/
|
|
74760
|
+
ExternalSecret.encode = function encode(message, writer) {
|
|
74761
|
+
if (!writer)
|
|
74762
|
+
writer = $Writer.create();
|
|
74763
|
+
if (message.name != null && Object.hasOwnProperty.call(message, "name"))
|
|
74764
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
|
|
74765
|
+
if (message.presignedUrl != null && Object.hasOwnProperty.call(message, "presignedUrl"))
|
|
74766
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.presignedUrl);
|
|
74767
|
+
return writer;
|
|
74768
|
+
};
|
|
74769
|
+
|
|
74770
|
+
/**
|
|
74771
|
+
* Encodes the specified ExternalSecret message, length delimited. Does not implicitly {@link replit.goval.api.token.ReplToken.ExternalSecret.verify|verify} messages.
|
|
74772
|
+
* @function encodeDelimited
|
|
74773
|
+
* @memberof replit.goval.api.token.ReplToken.ExternalSecret
|
|
74774
|
+
* @static
|
|
74775
|
+
* @param {replit.goval.api.token.ReplToken.ExternalSecret} message ExternalSecret message or plain object to encode
|
|
74776
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
74777
|
+
* @returns {$protobuf.Writer} Writer
|
|
74778
|
+
*/
|
|
74779
|
+
ExternalSecret.encodeDelimited = function encodeDelimited(message, writer) {
|
|
74780
|
+
return this.encode(message, writer).ldelim();
|
|
74781
|
+
};
|
|
74782
|
+
|
|
74783
|
+
/**
|
|
74784
|
+
* Decodes an ExternalSecret message from the specified reader or buffer.
|
|
74785
|
+
* @function decode
|
|
74786
|
+
* @memberof replit.goval.api.token.ReplToken.ExternalSecret
|
|
74787
|
+
* @static
|
|
74788
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
74789
|
+
* @param {number} [length] Message length if known beforehand
|
|
74790
|
+
* @returns {replit.goval.api.token.ReplToken.ExternalSecret} ExternalSecret
|
|
74791
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
74792
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
74793
|
+
*/
|
|
74794
|
+
ExternalSecret.decode = function decode(reader, length) {
|
|
74795
|
+
if (!(reader instanceof $Reader))
|
|
74796
|
+
reader = $Reader.create(reader);
|
|
74797
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.token.ReplToken.ExternalSecret();
|
|
74798
|
+
while (reader.pos < end) {
|
|
74799
|
+
var tag = reader.uint32();
|
|
74800
|
+
switch (tag >>> 3) {
|
|
74801
|
+
case 1: {
|
|
74802
|
+
message.name = reader.string();
|
|
74803
|
+
break;
|
|
74804
|
+
}
|
|
74805
|
+
case 2: {
|
|
74806
|
+
message.presignedUrl = reader.string();
|
|
74807
|
+
break;
|
|
74808
|
+
}
|
|
74809
|
+
default:
|
|
74810
|
+
reader.skipType(tag & 7);
|
|
74811
|
+
break;
|
|
74812
|
+
}
|
|
74813
|
+
}
|
|
74814
|
+
return message;
|
|
74815
|
+
};
|
|
74816
|
+
|
|
74817
|
+
/**
|
|
74818
|
+
* Decodes an ExternalSecret message from the specified reader or buffer, length delimited.
|
|
74819
|
+
* @function decodeDelimited
|
|
74820
|
+
* @memberof replit.goval.api.token.ReplToken.ExternalSecret
|
|
74821
|
+
* @static
|
|
74822
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
74823
|
+
* @returns {replit.goval.api.token.ReplToken.ExternalSecret} ExternalSecret
|
|
74824
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
74825
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
74826
|
+
*/
|
|
74827
|
+
ExternalSecret.decodeDelimited = function decodeDelimited(reader) {
|
|
74828
|
+
if (!(reader instanceof $Reader))
|
|
74829
|
+
reader = new $Reader(reader);
|
|
74830
|
+
return this.decode(reader, reader.uint32());
|
|
74831
|
+
};
|
|
74832
|
+
|
|
74833
|
+
/**
|
|
74834
|
+
* Verifies an ExternalSecret message.
|
|
74835
|
+
* @function verify
|
|
74836
|
+
* @memberof replit.goval.api.token.ReplToken.ExternalSecret
|
|
74837
|
+
* @static
|
|
74838
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
74839
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
74840
|
+
*/
|
|
74841
|
+
ExternalSecret.verify = function verify(message) {
|
|
74842
|
+
if (typeof message !== "object" || message === null)
|
|
74843
|
+
return "object expected";
|
|
74844
|
+
if (message.name != null && message.hasOwnProperty("name"))
|
|
74845
|
+
if (!$util.isString(message.name))
|
|
74846
|
+
return "name: string expected";
|
|
74847
|
+
if (message.presignedUrl != null && message.hasOwnProperty("presignedUrl"))
|
|
74848
|
+
if (!$util.isString(message.presignedUrl))
|
|
74849
|
+
return "presignedUrl: string expected";
|
|
74850
|
+
return null;
|
|
74851
|
+
};
|
|
74852
|
+
|
|
74853
|
+
/**
|
|
74854
|
+
* Creates an ExternalSecret message from a plain object. Also converts values to their respective internal types.
|
|
74855
|
+
* @function fromObject
|
|
74856
|
+
* @memberof replit.goval.api.token.ReplToken.ExternalSecret
|
|
74857
|
+
* @static
|
|
74858
|
+
* @param {Object.<string,*>} object Plain object
|
|
74859
|
+
* @returns {replit.goval.api.token.ReplToken.ExternalSecret} ExternalSecret
|
|
74860
|
+
*/
|
|
74861
|
+
ExternalSecret.fromObject = function fromObject(object) {
|
|
74862
|
+
if (object instanceof $root.replit.goval.api.token.ReplToken.ExternalSecret)
|
|
74863
|
+
return object;
|
|
74864
|
+
var message = new $root.replit.goval.api.token.ReplToken.ExternalSecret();
|
|
74865
|
+
if (object.name != null)
|
|
74866
|
+
message.name = String(object.name);
|
|
74867
|
+
if (object.presignedUrl != null)
|
|
74868
|
+
message.presignedUrl = String(object.presignedUrl);
|
|
74869
|
+
return message;
|
|
74870
|
+
};
|
|
74871
|
+
|
|
74872
|
+
/**
|
|
74873
|
+
* Creates a plain object from an ExternalSecret message. Also converts values to other types if specified.
|
|
74874
|
+
* @function toObject
|
|
74875
|
+
* @memberof replit.goval.api.token.ReplToken.ExternalSecret
|
|
74876
|
+
* @static
|
|
74877
|
+
* @param {replit.goval.api.token.ReplToken.ExternalSecret} message ExternalSecret
|
|
74878
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
74879
|
+
* @returns {Object.<string,*>} Plain object
|
|
74880
|
+
*/
|
|
74881
|
+
ExternalSecret.toObject = function toObject(message, options) {
|
|
74882
|
+
if (!options)
|
|
74883
|
+
options = {};
|
|
74884
|
+
var object = {};
|
|
74885
|
+
if (options.defaults) {
|
|
74886
|
+
object.name = "";
|
|
74887
|
+
object.presignedUrl = "";
|
|
74888
|
+
}
|
|
74889
|
+
if (message.name != null && message.hasOwnProperty("name"))
|
|
74890
|
+
object.name = message.name;
|
|
74891
|
+
if (message.presignedUrl != null && message.hasOwnProperty("presignedUrl"))
|
|
74892
|
+
object.presignedUrl = message.presignedUrl;
|
|
74893
|
+
return object;
|
|
74894
|
+
};
|
|
74895
|
+
|
|
74896
|
+
/**
|
|
74897
|
+
* Converts this ExternalSecret to JSON.
|
|
74898
|
+
* @function toJSON
|
|
74899
|
+
* @memberof replit.goval.api.token.ReplToken.ExternalSecret
|
|
74900
|
+
* @instance
|
|
74901
|
+
* @returns {Object.<string,*>} JSON object
|
|
74902
|
+
*/
|
|
74903
|
+
ExternalSecret.prototype.toJSON = function toJSON() {
|
|
74904
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
74905
|
+
};
|
|
74906
|
+
|
|
74907
|
+
/**
|
|
74908
|
+
* Gets the default type url for ExternalSecret
|
|
74909
|
+
* @function getTypeUrl
|
|
74910
|
+
* @memberof replit.goval.api.token.ReplToken.ExternalSecret
|
|
74911
|
+
* @static
|
|
74912
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
74913
|
+
* @returns {string} The default type url
|
|
74914
|
+
*/
|
|
74915
|
+
ExternalSecret.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
74916
|
+
if (typeUrlPrefix === undefined) {
|
|
74917
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
74918
|
+
}
|
|
74919
|
+
return typeUrlPrefix + "/replit.goval.api.token.ReplToken.ExternalSecret";
|
|
74920
|
+
};
|
|
74921
|
+
|
|
74922
|
+
return ExternalSecret;
|
|
74923
|
+
})();
|
|
74924
|
+
|
|
73390
74925
|
return ReplToken;
|
|
73391
74926
|
})();
|
|
73392
74927
|
|
|
@@ -74579,6 +76114,208 @@
|
|
|
74579
76114
|
return Takedown;
|
|
74580
76115
|
})();
|
|
74581
76116
|
|
|
76117
|
+
lore.StartViktor = (function() {
|
|
76118
|
+
|
|
76119
|
+
/**
|
|
76120
|
+
* Properties of a StartViktor.
|
|
76121
|
+
* @memberof replit.goval.api.lore
|
|
76122
|
+
* @interface IStartViktor
|
|
76123
|
+
* @property {string|null} [replId] StartViktor replId
|
|
76124
|
+
*/
|
|
76125
|
+
|
|
76126
|
+
/**
|
|
76127
|
+
* Constructs a new StartViktor.
|
|
76128
|
+
* @memberof replit.goval.api.lore
|
|
76129
|
+
* @classdesc Represents a StartViktor.
|
|
76130
|
+
* @constructor
|
|
76131
|
+
* @param {replit.goval.api.lore.IStartViktor=} [properties] Properties to set
|
|
76132
|
+
*/
|
|
76133
|
+
function StartViktor(properties) {
|
|
76134
|
+
if (properties)
|
|
76135
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
76136
|
+
if (properties[keys[i]] != null)
|
|
76137
|
+
this[keys[i]] = properties[keys[i]];
|
|
76138
|
+
}
|
|
76139
|
+
|
|
76140
|
+
/**
|
|
76141
|
+
* StartViktor replId.
|
|
76142
|
+
* @member {string} replId
|
|
76143
|
+
* @memberof replit.goval.api.lore.StartViktor
|
|
76144
|
+
* @instance
|
|
76145
|
+
*/
|
|
76146
|
+
StartViktor.prototype.replId = "";
|
|
76147
|
+
|
|
76148
|
+
/**
|
|
76149
|
+
* Creates a new StartViktor instance using the specified properties.
|
|
76150
|
+
* @function create
|
|
76151
|
+
* @memberof replit.goval.api.lore.StartViktor
|
|
76152
|
+
* @static
|
|
76153
|
+
* @param {replit.goval.api.lore.IStartViktor=} [properties] Properties to set
|
|
76154
|
+
* @returns {replit.goval.api.lore.StartViktor} StartViktor instance
|
|
76155
|
+
*/
|
|
76156
|
+
StartViktor.create = function create(properties) {
|
|
76157
|
+
return StartViktor.fromObject(properties);
|
|
76158
|
+
};
|
|
76159
|
+
|
|
76160
|
+
/**
|
|
76161
|
+
* Encodes the specified StartViktor message. Does not implicitly {@link replit.goval.api.lore.StartViktor.verify|verify} messages.
|
|
76162
|
+
* @function encode
|
|
76163
|
+
* @memberof replit.goval.api.lore.StartViktor
|
|
76164
|
+
* @static
|
|
76165
|
+
* @param {replit.goval.api.lore.StartViktor} message StartViktor message or plain object to encode
|
|
76166
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
76167
|
+
* @returns {$protobuf.Writer} Writer
|
|
76168
|
+
*/
|
|
76169
|
+
StartViktor.encode = function encode(message, writer) {
|
|
76170
|
+
if (!writer)
|
|
76171
|
+
writer = $Writer.create();
|
|
76172
|
+
if (message.replId != null && Object.hasOwnProperty.call(message, "replId"))
|
|
76173
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.replId);
|
|
76174
|
+
return writer;
|
|
76175
|
+
};
|
|
76176
|
+
|
|
76177
|
+
/**
|
|
76178
|
+
* Encodes the specified StartViktor message, length delimited. Does not implicitly {@link replit.goval.api.lore.StartViktor.verify|verify} messages.
|
|
76179
|
+
* @function encodeDelimited
|
|
76180
|
+
* @memberof replit.goval.api.lore.StartViktor
|
|
76181
|
+
* @static
|
|
76182
|
+
* @param {replit.goval.api.lore.StartViktor} message StartViktor message or plain object to encode
|
|
76183
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
76184
|
+
* @returns {$protobuf.Writer} Writer
|
|
76185
|
+
*/
|
|
76186
|
+
StartViktor.encodeDelimited = function encodeDelimited(message, writer) {
|
|
76187
|
+
return this.encode(message, writer).ldelim();
|
|
76188
|
+
};
|
|
76189
|
+
|
|
76190
|
+
/**
|
|
76191
|
+
* Decodes a StartViktor message from the specified reader or buffer.
|
|
76192
|
+
* @function decode
|
|
76193
|
+
* @memberof replit.goval.api.lore.StartViktor
|
|
76194
|
+
* @static
|
|
76195
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
76196
|
+
* @param {number} [length] Message length if known beforehand
|
|
76197
|
+
* @returns {replit.goval.api.lore.StartViktor} StartViktor
|
|
76198
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
76199
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
76200
|
+
*/
|
|
76201
|
+
StartViktor.decode = function decode(reader, length) {
|
|
76202
|
+
if (!(reader instanceof $Reader))
|
|
76203
|
+
reader = $Reader.create(reader);
|
|
76204
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.StartViktor();
|
|
76205
|
+
while (reader.pos < end) {
|
|
76206
|
+
var tag = reader.uint32();
|
|
76207
|
+
switch (tag >>> 3) {
|
|
76208
|
+
case 1: {
|
|
76209
|
+
message.replId = reader.string();
|
|
76210
|
+
break;
|
|
76211
|
+
}
|
|
76212
|
+
default:
|
|
76213
|
+
reader.skipType(tag & 7);
|
|
76214
|
+
break;
|
|
76215
|
+
}
|
|
76216
|
+
}
|
|
76217
|
+
return message;
|
|
76218
|
+
};
|
|
76219
|
+
|
|
76220
|
+
/**
|
|
76221
|
+
* Decodes a StartViktor message from the specified reader or buffer, length delimited.
|
|
76222
|
+
* @function decodeDelimited
|
|
76223
|
+
* @memberof replit.goval.api.lore.StartViktor
|
|
76224
|
+
* @static
|
|
76225
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
76226
|
+
* @returns {replit.goval.api.lore.StartViktor} StartViktor
|
|
76227
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
76228
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
76229
|
+
*/
|
|
76230
|
+
StartViktor.decodeDelimited = function decodeDelimited(reader) {
|
|
76231
|
+
if (!(reader instanceof $Reader))
|
|
76232
|
+
reader = new $Reader(reader);
|
|
76233
|
+
return this.decode(reader, reader.uint32());
|
|
76234
|
+
};
|
|
76235
|
+
|
|
76236
|
+
/**
|
|
76237
|
+
* Verifies a StartViktor message.
|
|
76238
|
+
* @function verify
|
|
76239
|
+
* @memberof replit.goval.api.lore.StartViktor
|
|
76240
|
+
* @static
|
|
76241
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
76242
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
76243
|
+
*/
|
|
76244
|
+
StartViktor.verify = function verify(message) {
|
|
76245
|
+
if (typeof message !== "object" || message === null)
|
|
76246
|
+
return "object expected";
|
|
76247
|
+
if (message.replId != null && message.hasOwnProperty("replId"))
|
|
76248
|
+
if (!$util.isString(message.replId))
|
|
76249
|
+
return "replId: string expected";
|
|
76250
|
+
return null;
|
|
76251
|
+
};
|
|
76252
|
+
|
|
76253
|
+
/**
|
|
76254
|
+
* Creates a StartViktor message from a plain object. Also converts values to their respective internal types.
|
|
76255
|
+
* @function fromObject
|
|
76256
|
+
* @memberof replit.goval.api.lore.StartViktor
|
|
76257
|
+
* @static
|
|
76258
|
+
* @param {Object.<string,*>} object Plain object
|
|
76259
|
+
* @returns {replit.goval.api.lore.StartViktor} StartViktor
|
|
76260
|
+
*/
|
|
76261
|
+
StartViktor.fromObject = function fromObject(object) {
|
|
76262
|
+
if (object instanceof $root.replit.goval.api.lore.StartViktor)
|
|
76263
|
+
return object;
|
|
76264
|
+
var message = new $root.replit.goval.api.lore.StartViktor();
|
|
76265
|
+
if (object.replId != null)
|
|
76266
|
+
message.replId = String(object.replId);
|
|
76267
|
+
return message;
|
|
76268
|
+
};
|
|
76269
|
+
|
|
76270
|
+
/**
|
|
76271
|
+
* Creates a plain object from a StartViktor message. Also converts values to other types if specified.
|
|
76272
|
+
* @function toObject
|
|
76273
|
+
* @memberof replit.goval.api.lore.StartViktor
|
|
76274
|
+
* @static
|
|
76275
|
+
* @param {replit.goval.api.lore.StartViktor} message StartViktor
|
|
76276
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
76277
|
+
* @returns {Object.<string,*>} Plain object
|
|
76278
|
+
*/
|
|
76279
|
+
StartViktor.toObject = function toObject(message, options) {
|
|
76280
|
+
if (!options)
|
|
76281
|
+
options = {};
|
|
76282
|
+
var object = {};
|
|
76283
|
+
if (options.defaults)
|
|
76284
|
+
object.replId = "";
|
|
76285
|
+
if (message.replId != null && message.hasOwnProperty("replId"))
|
|
76286
|
+
object.replId = message.replId;
|
|
76287
|
+
return object;
|
|
76288
|
+
};
|
|
76289
|
+
|
|
76290
|
+
/**
|
|
76291
|
+
* Converts this StartViktor to JSON.
|
|
76292
|
+
* @function toJSON
|
|
76293
|
+
* @memberof replit.goval.api.lore.StartViktor
|
|
76294
|
+
* @instance
|
|
76295
|
+
* @returns {Object.<string,*>} JSON object
|
|
76296
|
+
*/
|
|
76297
|
+
StartViktor.prototype.toJSON = function toJSON() {
|
|
76298
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
76299
|
+
};
|
|
76300
|
+
|
|
76301
|
+
/**
|
|
76302
|
+
* Gets the default type url for StartViktor
|
|
76303
|
+
* @function getTypeUrl
|
|
76304
|
+
* @memberof replit.goval.api.lore.StartViktor
|
|
76305
|
+
* @static
|
|
76306
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
76307
|
+
* @returns {string} The default type url
|
|
76308
|
+
*/
|
|
76309
|
+
StartViktor.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
76310
|
+
if (typeUrlPrefix === undefined) {
|
|
76311
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
76312
|
+
}
|
|
76313
|
+
return typeUrlPrefix + "/replit.goval.api.lore.StartViktor";
|
|
76314
|
+
};
|
|
76315
|
+
|
|
76316
|
+
return StartViktor;
|
|
76317
|
+
})();
|
|
76318
|
+
|
|
74582
76319
|
lore.GovalCommand = (function() {
|
|
74583
76320
|
|
|
74584
76321
|
/**
|
|
@@ -74592,6 +76329,7 @@
|
|
|
74592
76329
|
* @property {replit.goval.api.lore.UpdateReplFlags|replit.goval.api.lore.IUpdateReplFlags|null} [updateReplFlags] GovalCommand updateReplFlags
|
|
74593
76330
|
* @property {replit.goval.api.lore.SoftTakedown|replit.goval.api.lore.ISoftTakedown|null} [softTakedown] GovalCommand softTakedown
|
|
74594
76331
|
* @property {replit.goval.api.lore.Takedown|replit.goval.api.lore.ITakedown|null} [takedown] GovalCommand takedown
|
|
76332
|
+
* @property {replit.goval.api.lore.StartViktor|replit.goval.api.lore.IStartViktor|null} [startViktor] GovalCommand startViktor
|
|
74595
76333
|
*/
|
|
74596
76334
|
|
|
74597
76335
|
/**
|
|
@@ -74664,17 +76402,25 @@
|
|
|
74664
76402
|
*/
|
|
74665
76403
|
GovalCommand.prototype.takedown = null;
|
|
74666
76404
|
|
|
76405
|
+
/**
|
|
76406
|
+
* GovalCommand startViktor.
|
|
76407
|
+
* @member {replit.goval.api.lore.StartViktor|null|undefined} startViktor
|
|
76408
|
+
* @memberof replit.goval.api.lore.GovalCommand
|
|
76409
|
+
* @instance
|
|
76410
|
+
*/
|
|
76411
|
+
GovalCommand.prototype.startViktor = null;
|
|
76412
|
+
|
|
74667
76413
|
// OneOf field names bound to virtual getters and setters
|
|
74668
76414
|
var $oneOfFields;
|
|
74669
76415
|
|
|
74670
76416
|
/**
|
|
74671
76417
|
* GovalCommand command.
|
|
74672
|
-
* @member {"updateMetadata"|"partialUpdateMetadata"|"killRepl"|"updateSourceRepl"|"updateReplFlags"|"softTakedown"|"takedown"|undefined} command
|
|
76418
|
+
* @member {"updateMetadata"|"partialUpdateMetadata"|"killRepl"|"updateSourceRepl"|"updateReplFlags"|"softTakedown"|"takedown"|"startViktor"|undefined} command
|
|
74673
76419
|
* @memberof replit.goval.api.lore.GovalCommand
|
|
74674
76420
|
* @instance
|
|
74675
76421
|
*/
|
|
74676
76422
|
Object.defineProperty(GovalCommand.prototype, "command", {
|
|
74677
|
-
get: $util.oneOfGetter($oneOfFields = ["updateMetadata", "partialUpdateMetadata", "killRepl", "updateSourceRepl", "updateReplFlags", "softTakedown", "takedown"]),
|
|
76423
|
+
get: $util.oneOfGetter($oneOfFields = ["updateMetadata", "partialUpdateMetadata", "killRepl", "updateSourceRepl", "updateReplFlags", "softTakedown", "takedown", "startViktor"]),
|
|
74678
76424
|
set: $util.oneOfSetter($oneOfFields)
|
|
74679
76425
|
});
|
|
74680
76426
|
|
|
@@ -74716,6 +76462,8 @@
|
|
|
74716
76462
|
$root.replit.goval.api.lore.SoftTakedown.encode(message.softTakedown, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
74717
76463
|
if (message.takedown != null && Object.hasOwnProperty.call(message, "takedown"))
|
|
74718
76464
|
$root.replit.goval.api.lore.Takedown.encode(message.takedown, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
76465
|
+
if (message.startViktor != null && Object.hasOwnProperty.call(message, "startViktor"))
|
|
76466
|
+
$root.replit.goval.api.lore.StartViktor.encode(message.startViktor, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
|
|
74719
76467
|
return writer;
|
|
74720
76468
|
};
|
|
74721
76469
|
|
|
@@ -74778,6 +76526,10 @@
|
|
|
74778
76526
|
message.takedown = $root.replit.goval.api.lore.Takedown.decode(reader, reader.uint32());
|
|
74779
76527
|
break;
|
|
74780
76528
|
}
|
|
76529
|
+
case 9: {
|
|
76530
|
+
message.startViktor = $root.replit.goval.api.lore.StartViktor.decode(reader, reader.uint32());
|
|
76531
|
+
break;
|
|
76532
|
+
}
|
|
74781
76533
|
default:
|
|
74782
76534
|
reader.skipType(tag & 7);
|
|
74783
76535
|
break;
|
|
@@ -74882,6 +76634,16 @@
|
|
|
74882
76634
|
return "takedown." + error;
|
|
74883
76635
|
}
|
|
74884
76636
|
}
|
|
76637
|
+
if (message.startViktor != null && message.hasOwnProperty("startViktor")) {
|
|
76638
|
+
if (properties.command === 1)
|
|
76639
|
+
return "command: multiple values";
|
|
76640
|
+
properties.command = 1;
|
|
76641
|
+
{
|
|
76642
|
+
var error = $root.replit.goval.api.lore.StartViktor.verify(message.startViktor);
|
|
76643
|
+
if (error)
|
|
76644
|
+
return "startViktor." + error;
|
|
76645
|
+
}
|
|
76646
|
+
}
|
|
74885
76647
|
return null;
|
|
74886
76648
|
};
|
|
74887
76649
|
|
|
@@ -74932,6 +76694,11 @@
|
|
|
74932
76694
|
throw TypeError(".replit.goval.api.lore.GovalCommand.takedown: object expected");
|
|
74933
76695
|
message.takedown = $root.replit.goval.api.lore.Takedown.fromObject(object.takedown);
|
|
74934
76696
|
}
|
|
76697
|
+
if (object.startViktor != null) {
|
|
76698
|
+
if (typeof object.startViktor !== "object")
|
|
76699
|
+
throw TypeError(".replit.goval.api.lore.GovalCommand.startViktor: object expected");
|
|
76700
|
+
message.startViktor = $root.replit.goval.api.lore.StartViktor.fromObject(object.startViktor);
|
|
76701
|
+
}
|
|
74935
76702
|
return message;
|
|
74936
76703
|
};
|
|
74937
76704
|
|
|
@@ -74983,6 +76750,11 @@
|
|
|
74983
76750
|
if (options.oneofs)
|
|
74984
76751
|
object.command = "takedown";
|
|
74985
76752
|
}
|
|
76753
|
+
if (message.startViktor != null && message.hasOwnProperty("startViktor")) {
|
|
76754
|
+
object.startViktor = $root.replit.goval.api.lore.StartViktor.toObject(message.startViktor, options);
|
|
76755
|
+
if (options.oneofs)
|
|
76756
|
+
object.command = "startViktor";
|
|
76757
|
+
}
|
|
74986
76758
|
return object;
|
|
74987
76759
|
};
|
|
74988
76760
|
|
|
@@ -76900,7 +78672,6 @@
|
|
|
76900
78672
|
* @property {string|null} [name] Cluster name
|
|
76901
78673
|
* @property {string|null} [conmanUrl] Cluster conmanUrl
|
|
76902
78674
|
* @property {string|null} [gurl] Cluster gurl
|
|
76903
|
-
* @property {string|null} [proxy] Cluster proxy
|
|
76904
78675
|
*/
|
|
76905
78676
|
|
|
76906
78677
|
/**
|
|
@@ -76941,14 +78712,6 @@
|
|
|
76941
78712
|
*/
|
|
76942
78713
|
Cluster.prototype.gurl = "";
|
|
76943
78714
|
|
|
76944
|
-
/**
|
|
76945
|
-
* Cluster proxy.
|
|
76946
|
-
* @member {string} proxy
|
|
76947
|
-
* @memberof replit.goval.api.lore.Cluster
|
|
76948
|
-
* @instance
|
|
76949
|
-
*/
|
|
76950
|
-
Cluster.prototype.proxy = "";
|
|
76951
|
-
|
|
76952
78715
|
/**
|
|
76953
78716
|
* Creates a new Cluster instance using the specified properties.
|
|
76954
78717
|
* @function create
|
|
@@ -76979,8 +78742,6 @@
|
|
|
76979
78742
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.conmanUrl);
|
|
76980
78743
|
if (message.gurl != null && Object.hasOwnProperty.call(message, "gurl"))
|
|
76981
78744
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.gurl);
|
|
76982
|
-
if (message.proxy != null && Object.hasOwnProperty.call(message, "proxy"))
|
|
76983
|
-
writer.uint32(/* id 4, wireType 2 =*/34).string(message.proxy);
|
|
76984
78745
|
return writer;
|
|
76985
78746
|
};
|
|
76986
78747
|
|
|
@@ -77027,10 +78788,6 @@
|
|
|
77027
78788
|
message.gurl = reader.string();
|
|
77028
78789
|
break;
|
|
77029
78790
|
}
|
|
77030
|
-
case 4: {
|
|
77031
|
-
message.proxy = reader.string();
|
|
77032
|
-
break;
|
|
77033
|
-
}
|
|
77034
78791
|
default:
|
|
77035
78792
|
reader.skipType(tag & 7);
|
|
77036
78793
|
break;
|
|
@@ -77075,9 +78832,6 @@
|
|
|
77075
78832
|
if (message.gurl != null && message.hasOwnProperty("gurl"))
|
|
77076
78833
|
if (!$util.isString(message.gurl))
|
|
77077
78834
|
return "gurl: string expected";
|
|
77078
|
-
if (message.proxy != null && message.hasOwnProperty("proxy"))
|
|
77079
|
-
if (!$util.isString(message.proxy))
|
|
77080
|
-
return "proxy: string expected";
|
|
77081
78835
|
return null;
|
|
77082
78836
|
};
|
|
77083
78837
|
|
|
@@ -77099,8 +78853,6 @@
|
|
|
77099
78853
|
message.conmanUrl = String(object.conmanUrl);
|
|
77100
78854
|
if (object.gurl != null)
|
|
77101
78855
|
message.gurl = String(object.gurl);
|
|
77102
|
-
if (object.proxy != null)
|
|
77103
|
-
message.proxy = String(object.proxy);
|
|
77104
78856
|
return message;
|
|
77105
78857
|
};
|
|
77106
78858
|
|
|
@@ -77121,7 +78873,6 @@
|
|
|
77121
78873
|
object.name = "";
|
|
77122
78874
|
object.conmanUrl = "";
|
|
77123
78875
|
object.gurl = "";
|
|
77124
|
-
object.proxy = "";
|
|
77125
78876
|
}
|
|
77126
78877
|
if (message.name != null && message.hasOwnProperty("name"))
|
|
77127
78878
|
object.name = message.name;
|
|
@@ -77129,8 +78880,6 @@
|
|
|
77129
78880
|
object.conmanUrl = message.conmanUrl;
|
|
77130
78881
|
if (message.gurl != null && message.hasOwnProperty("gurl"))
|
|
77131
78882
|
object.gurl = message.gurl;
|
|
77132
|
-
if (message.proxy != null && message.hasOwnProperty("proxy"))
|
|
77133
|
-
object.proxy = message.proxy;
|
|
77134
78883
|
return object;
|
|
77135
78884
|
};
|
|
77136
78885
|
|
|
@@ -84288,852 +86037,6 @@
|
|
|
84288
86037
|
return GetClustersResponse;
|
|
84289
86038
|
})();
|
|
84290
86039
|
|
|
84291
|
-
lore.PushDomainRequest = (function() {
|
|
84292
|
-
|
|
84293
|
-
/**
|
|
84294
|
-
* Properties of a PushDomainRequest.
|
|
84295
|
-
* @memberof replit.goval.api.lore
|
|
84296
|
-
* @interface IPushDomainRequest
|
|
84297
|
-
* @property {string|null} [replId] PushDomainRequest replId
|
|
84298
|
-
* @property {string|null} [domain] PushDomainRequest domain
|
|
84299
|
-
* @property {string|null} [authToken] PushDomainRequest authToken
|
|
84300
|
-
*/
|
|
84301
|
-
|
|
84302
|
-
/**
|
|
84303
|
-
* Constructs a new PushDomainRequest.
|
|
84304
|
-
* @memberof replit.goval.api.lore
|
|
84305
|
-
* @classdesc Represents a PushDomainRequest.
|
|
84306
|
-
* @constructor
|
|
84307
|
-
* @param {replit.goval.api.lore.IPushDomainRequest=} [properties] Properties to set
|
|
84308
|
-
*/
|
|
84309
|
-
function PushDomainRequest(properties) {
|
|
84310
|
-
if (properties)
|
|
84311
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
84312
|
-
if (properties[keys[i]] != null)
|
|
84313
|
-
this[keys[i]] = properties[keys[i]];
|
|
84314
|
-
}
|
|
84315
|
-
|
|
84316
|
-
/**
|
|
84317
|
-
* PushDomainRequest replId.
|
|
84318
|
-
* @member {string} replId
|
|
84319
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
84320
|
-
* @instance
|
|
84321
|
-
*/
|
|
84322
|
-
PushDomainRequest.prototype.replId = "";
|
|
84323
|
-
|
|
84324
|
-
/**
|
|
84325
|
-
* PushDomainRequest domain.
|
|
84326
|
-
* @member {string} domain
|
|
84327
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
84328
|
-
* @instance
|
|
84329
|
-
*/
|
|
84330
|
-
PushDomainRequest.prototype.domain = "";
|
|
84331
|
-
|
|
84332
|
-
/**
|
|
84333
|
-
* PushDomainRequest authToken.
|
|
84334
|
-
* @member {string} authToken
|
|
84335
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
84336
|
-
* @instance
|
|
84337
|
-
*/
|
|
84338
|
-
PushDomainRequest.prototype.authToken = "";
|
|
84339
|
-
|
|
84340
|
-
/**
|
|
84341
|
-
* Creates a new PushDomainRequest instance using the specified properties.
|
|
84342
|
-
* @function create
|
|
84343
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
84344
|
-
* @static
|
|
84345
|
-
* @param {replit.goval.api.lore.IPushDomainRequest=} [properties] Properties to set
|
|
84346
|
-
* @returns {replit.goval.api.lore.PushDomainRequest} PushDomainRequest instance
|
|
84347
|
-
*/
|
|
84348
|
-
PushDomainRequest.create = function create(properties) {
|
|
84349
|
-
return PushDomainRequest.fromObject(properties);
|
|
84350
|
-
};
|
|
84351
|
-
|
|
84352
|
-
/**
|
|
84353
|
-
* Encodes the specified PushDomainRequest message. Does not implicitly {@link replit.goval.api.lore.PushDomainRequest.verify|verify} messages.
|
|
84354
|
-
* @function encode
|
|
84355
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
84356
|
-
* @static
|
|
84357
|
-
* @param {replit.goval.api.lore.PushDomainRequest} message PushDomainRequest message or plain object to encode
|
|
84358
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
84359
|
-
* @returns {$protobuf.Writer} Writer
|
|
84360
|
-
*/
|
|
84361
|
-
PushDomainRequest.encode = function encode(message, writer) {
|
|
84362
|
-
if (!writer)
|
|
84363
|
-
writer = $Writer.create();
|
|
84364
|
-
if (message.replId != null && Object.hasOwnProperty.call(message, "replId"))
|
|
84365
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.replId);
|
|
84366
|
-
if (message.domain != null && Object.hasOwnProperty.call(message, "domain"))
|
|
84367
|
-
writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain);
|
|
84368
|
-
if (message.authToken != null && Object.hasOwnProperty.call(message, "authToken"))
|
|
84369
|
-
writer.uint32(/* id 3, wireType 2 =*/26).string(message.authToken);
|
|
84370
|
-
return writer;
|
|
84371
|
-
};
|
|
84372
|
-
|
|
84373
|
-
/**
|
|
84374
|
-
* Encodes the specified PushDomainRequest message, length delimited. Does not implicitly {@link replit.goval.api.lore.PushDomainRequest.verify|verify} messages.
|
|
84375
|
-
* @function encodeDelimited
|
|
84376
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
84377
|
-
* @static
|
|
84378
|
-
* @param {replit.goval.api.lore.PushDomainRequest} message PushDomainRequest message or plain object to encode
|
|
84379
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
84380
|
-
* @returns {$protobuf.Writer} Writer
|
|
84381
|
-
*/
|
|
84382
|
-
PushDomainRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
84383
|
-
return this.encode(message, writer).ldelim();
|
|
84384
|
-
};
|
|
84385
|
-
|
|
84386
|
-
/**
|
|
84387
|
-
* Decodes a PushDomainRequest message from the specified reader or buffer.
|
|
84388
|
-
* @function decode
|
|
84389
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
84390
|
-
* @static
|
|
84391
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
84392
|
-
* @param {number} [length] Message length if known beforehand
|
|
84393
|
-
* @returns {replit.goval.api.lore.PushDomainRequest} PushDomainRequest
|
|
84394
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
84395
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
84396
|
-
*/
|
|
84397
|
-
PushDomainRequest.decode = function decode(reader, length) {
|
|
84398
|
-
if (!(reader instanceof $Reader))
|
|
84399
|
-
reader = $Reader.create(reader);
|
|
84400
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.PushDomainRequest();
|
|
84401
|
-
while (reader.pos < end) {
|
|
84402
|
-
var tag = reader.uint32();
|
|
84403
|
-
switch (tag >>> 3) {
|
|
84404
|
-
case 1: {
|
|
84405
|
-
message.replId = reader.string();
|
|
84406
|
-
break;
|
|
84407
|
-
}
|
|
84408
|
-
case 2: {
|
|
84409
|
-
message.domain = reader.string();
|
|
84410
|
-
break;
|
|
84411
|
-
}
|
|
84412
|
-
case 3: {
|
|
84413
|
-
message.authToken = reader.string();
|
|
84414
|
-
break;
|
|
84415
|
-
}
|
|
84416
|
-
default:
|
|
84417
|
-
reader.skipType(tag & 7);
|
|
84418
|
-
break;
|
|
84419
|
-
}
|
|
84420
|
-
}
|
|
84421
|
-
return message;
|
|
84422
|
-
};
|
|
84423
|
-
|
|
84424
|
-
/**
|
|
84425
|
-
* Decodes a PushDomainRequest message from the specified reader or buffer, length delimited.
|
|
84426
|
-
* @function decodeDelimited
|
|
84427
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
84428
|
-
* @static
|
|
84429
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
84430
|
-
* @returns {replit.goval.api.lore.PushDomainRequest} PushDomainRequest
|
|
84431
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
84432
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
84433
|
-
*/
|
|
84434
|
-
PushDomainRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
84435
|
-
if (!(reader instanceof $Reader))
|
|
84436
|
-
reader = new $Reader(reader);
|
|
84437
|
-
return this.decode(reader, reader.uint32());
|
|
84438
|
-
};
|
|
84439
|
-
|
|
84440
|
-
/**
|
|
84441
|
-
* Verifies a PushDomainRequest message.
|
|
84442
|
-
* @function verify
|
|
84443
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
84444
|
-
* @static
|
|
84445
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
84446
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
84447
|
-
*/
|
|
84448
|
-
PushDomainRequest.verify = function verify(message) {
|
|
84449
|
-
if (typeof message !== "object" || message === null)
|
|
84450
|
-
return "object expected";
|
|
84451
|
-
if (message.replId != null && message.hasOwnProperty("replId"))
|
|
84452
|
-
if (!$util.isString(message.replId))
|
|
84453
|
-
return "replId: string expected";
|
|
84454
|
-
if (message.domain != null && message.hasOwnProperty("domain"))
|
|
84455
|
-
if (!$util.isString(message.domain))
|
|
84456
|
-
return "domain: string expected";
|
|
84457
|
-
if (message.authToken != null && message.hasOwnProperty("authToken"))
|
|
84458
|
-
if (!$util.isString(message.authToken))
|
|
84459
|
-
return "authToken: string expected";
|
|
84460
|
-
return null;
|
|
84461
|
-
};
|
|
84462
|
-
|
|
84463
|
-
/**
|
|
84464
|
-
* Creates a PushDomainRequest message from a plain object. Also converts values to their respective internal types.
|
|
84465
|
-
* @function fromObject
|
|
84466
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
84467
|
-
* @static
|
|
84468
|
-
* @param {Object.<string,*>} object Plain object
|
|
84469
|
-
* @returns {replit.goval.api.lore.PushDomainRequest} PushDomainRequest
|
|
84470
|
-
*/
|
|
84471
|
-
PushDomainRequest.fromObject = function fromObject(object) {
|
|
84472
|
-
if (object instanceof $root.replit.goval.api.lore.PushDomainRequest)
|
|
84473
|
-
return object;
|
|
84474
|
-
var message = new $root.replit.goval.api.lore.PushDomainRequest();
|
|
84475
|
-
if (object.replId != null)
|
|
84476
|
-
message.replId = String(object.replId);
|
|
84477
|
-
if (object.domain != null)
|
|
84478
|
-
message.domain = String(object.domain);
|
|
84479
|
-
if (object.authToken != null)
|
|
84480
|
-
message.authToken = String(object.authToken);
|
|
84481
|
-
return message;
|
|
84482
|
-
};
|
|
84483
|
-
|
|
84484
|
-
/**
|
|
84485
|
-
* Creates a plain object from a PushDomainRequest message. Also converts values to other types if specified.
|
|
84486
|
-
* @function toObject
|
|
84487
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
84488
|
-
* @static
|
|
84489
|
-
* @param {replit.goval.api.lore.PushDomainRequest} message PushDomainRequest
|
|
84490
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
84491
|
-
* @returns {Object.<string,*>} Plain object
|
|
84492
|
-
*/
|
|
84493
|
-
PushDomainRequest.toObject = function toObject(message, options) {
|
|
84494
|
-
if (!options)
|
|
84495
|
-
options = {};
|
|
84496
|
-
var object = {};
|
|
84497
|
-
if (options.defaults) {
|
|
84498
|
-
object.replId = "";
|
|
84499
|
-
object.domain = "";
|
|
84500
|
-
object.authToken = "";
|
|
84501
|
-
}
|
|
84502
|
-
if (message.replId != null && message.hasOwnProperty("replId"))
|
|
84503
|
-
object.replId = message.replId;
|
|
84504
|
-
if (message.domain != null && message.hasOwnProperty("domain"))
|
|
84505
|
-
object.domain = message.domain;
|
|
84506
|
-
if (message.authToken != null && message.hasOwnProperty("authToken"))
|
|
84507
|
-
object.authToken = message.authToken;
|
|
84508
|
-
return object;
|
|
84509
|
-
};
|
|
84510
|
-
|
|
84511
|
-
/**
|
|
84512
|
-
* Converts this PushDomainRequest to JSON.
|
|
84513
|
-
* @function toJSON
|
|
84514
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
84515
|
-
* @instance
|
|
84516
|
-
* @returns {Object.<string,*>} JSON object
|
|
84517
|
-
*/
|
|
84518
|
-
PushDomainRequest.prototype.toJSON = function toJSON() {
|
|
84519
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
84520
|
-
};
|
|
84521
|
-
|
|
84522
|
-
/**
|
|
84523
|
-
* Gets the default type url for PushDomainRequest
|
|
84524
|
-
* @function getTypeUrl
|
|
84525
|
-
* @memberof replit.goval.api.lore.PushDomainRequest
|
|
84526
|
-
* @static
|
|
84527
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
84528
|
-
* @returns {string} The default type url
|
|
84529
|
-
*/
|
|
84530
|
-
PushDomainRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
84531
|
-
if (typeUrlPrefix === undefined) {
|
|
84532
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
84533
|
-
}
|
|
84534
|
-
return typeUrlPrefix + "/replit.goval.api.lore.PushDomainRequest";
|
|
84535
|
-
};
|
|
84536
|
-
|
|
84537
|
-
return PushDomainRequest;
|
|
84538
|
-
})();
|
|
84539
|
-
|
|
84540
|
-
lore.PushDomainResponse = (function() {
|
|
84541
|
-
|
|
84542
|
-
/**
|
|
84543
|
-
* Properties of a PushDomainResponse.
|
|
84544
|
-
* @memberof replit.goval.api.lore
|
|
84545
|
-
* @interface IPushDomainResponse
|
|
84546
|
-
*/
|
|
84547
|
-
|
|
84548
|
-
/**
|
|
84549
|
-
* Constructs a new PushDomainResponse.
|
|
84550
|
-
* @memberof replit.goval.api.lore
|
|
84551
|
-
* @classdesc Represents a PushDomainResponse.
|
|
84552
|
-
* @constructor
|
|
84553
|
-
* @param {replit.goval.api.lore.IPushDomainResponse=} [properties] Properties to set
|
|
84554
|
-
*/
|
|
84555
|
-
function PushDomainResponse(properties) {
|
|
84556
|
-
if (properties)
|
|
84557
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
84558
|
-
if (properties[keys[i]] != null)
|
|
84559
|
-
this[keys[i]] = properties[keys[i]];
|
|
84560
|
-
}
|
|
84561
|
-
|
|
84562
|
-
/**
|
|
84563
|
-
* Creates a new PushDomainResponse instance using the specified properties.
|
|
84564
|
-
* @function create
|
|
84565
|
-
* @memberof replit.goval.api.lore.PushDomainResponse
|
|
84566
|
-
* @static
|
|
84567
|
-
* @param {replit.goval.api.lore.IPushDomainResponse=} [properties] Properties to set
|
|
84568
|
-
* @returns {replit.goval.api.lore.PushDomainResponse} PushDomainResponse instance
|
|
84569
|
-
*/
|
|
84570
|
-
PushDomainResponse.create = function create(properties) {
|
|
84571
|
-
return PushDomainResponse.fromObject(properties);
|
|
84572
|
-
};
|
|
84573
|
-
|
|
84574
|
-
/**
|
|
84575
|
-
* Encodes the specified PushDomainResponse message. Does not implicitly {@link replit.goval.api.lore.PushDomainResponse.verify|verify} messages.
|
|
84576
|
-
* @function encode
|
|
84577
|
-
* @memberof replit.goval.api.lore.PushDomainResponse
|
|
84578
|
-
* @static
|
|
84579
|
-
* @param {replit.goval.api.lore.PushDomainResponse} message PushDomainResponse message or plain object to encode
|
|
84580
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
84581
|
-
* @returns {$protobuf.Writer} Writer
|
|
84582
|
-
*/
|
|
84583
|
-
PushDomainResponse.encode = function encode(message, writer) {
|
|
84584
|
-
if (!writer)
|
|
84585
|
-
writer = $Writer.create();
|
|
84586
|
-
return writer;
|
|
84587
|
-
};
|
|
84588
|
-
|
|
84589
|
-
/**
|
|
84590
|
-
* Encodes the specified PushDomainResponse message, length delimited. Does not implicitly {@link replit.goval.api.lore.PushDomainResponse.verify|verify} messages.
|
|
84591
|
-
* @function encodeDelimited
|
|
84592
|
-
* @memberof replit.goval.api.lore.PushDomainResponse
|
|
84593
|
-
* @static
|
|
84594
|
-
* @param {replit.goval.api.lore.PushDomainResponse} message PushDomainResponse message or plain object to encode
|
|
84595
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
84596
|
-
* @returns {$protobuf.Writer} Writer
|
|
84597
|
-
*/
|
|
84598
|
-
PushDomainResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
84599
|
-
return this.encode(message, writer).ldelim();
|
|
84600
|
-
};
|
|
84601
|
-
|
|
84602
|
-
/**
|
|
84603
|
-
* Decodes a PushDomainResponse message from the specified reader or buffer.
|
|
84604
|
-
* @function decode
|
|
84605
|
-
* @memberof replit.goval.api.lore.PushDomainResponse
|
|
84606
|
-
* @static
|
|
84607
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
84608
|
-
* @param {number} [length] Message length if known beforehand
|
|
84609
|
-
* @returns {replit.goval.api.lore.PushDomainResponse} PushDomainResponse
|
|
84610
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
84611
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
84612
|
-
*/
|
|
84613
|
-
PushDomainResponse.decode = function decode(reader, length) {
|
|
84614
|
-
if (!(reader instanceof $Reader))
|
|
84615
|
-
reader = $Reader.create(reader);
|
|
84616
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.PushDomainResponse();
|
|
84617
|
-
while (reader.pos < end) {
|
|
84618
|
-
var tag = reader.uint32();
|
|
84619
|
-
switch (tag >>> 3) {
|
|
84620
|
-
default:
|
|
84621
|
-
reader.skipType(tag & 7);
|
|
84622
|
-
break;
|
|
84623
|
-
}
|
|
84624
|
-
}
|
|
84625
|
-
return message;
|
|
84626
|
-
};
|
|
84627
|
-
|
|
84628
|
-
/**
|
|
84629
|
-
* Decodes a PushDomainResponse message from the specified reader or buffer, length delimited.
|
|
84630
|
-
* @function decodeDelimited
|
|
84631
|
-
* @memberof replit.goval.api.lore.PushDomainResponse
|
|
84632
|
-
* @static
|
|
84633
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
84634
|
-
* @returns {replit.goval.api.lore.PushDomainResponse} PushDomainResponse
|
|
84635
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
84636
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
84637
|
-
*/
|
|
84638
|
-
PushDomainResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
84639
|
-
if (!(reader instanceof $Reader))
|
|
84640
|
-
reader = new $Reader(reader);
|
|
84641
|
-
return this.decode(reader, reader.uint32());
|
|
84642
|
-
};
|
|
84643
|
-
|
|
84644
|
-
/**
|
|
84645
|
-
* Verifies a PushDomainResponse message.
|
|
84646
|
-
* @function verify
|
|
84647
|
-
* @memberof replit.goval.api.lore.PushDomainResponse
|
|
84648
|
-
* @static
|
|
84649
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
84650
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
84651
|
-
*/
|
|
84652
|
-
PushDomainResponse.verify = function verify(message) {
|
|
84653
|
-
if (typeof message !== "object" || message === null)
|
|
84654
|
-
return "object expected";
|
|
84655
|
-
return null;
|
|
84656
|
-
};
|
|
84657
|
-
|
|
84658
|
-
/**
|
|
84659
|
-
* Creates a PushDomainResponse message from a plain object. Also converts values to their respective internal types.
|
|
84660
|
-
* @function fromObject
|
|
84661
|
-
* @memberof replit.goval.api.lore.PushDomainResponse
|
|
84662
|
-
* @static
|
|
84663
|
-
* @param {Object.<string,*>} object Plain object
|
|
84664
|
-
* @returns {replit.goval.api.lore.PushDomainResponse} PushDomainResponse
|
|
84665
|
-
*/
|
|
84666
|
-
PushDomainResponse.fromObject = function fromObject(object) {
|
|
84667
|
-
if (object instanceof $root.replit.goval.api.lore.PushDomainResponse)
|
|
84668
|
-
return object;
|
|
84669
|
-
return new $root.replit.goval.api.lore.PushDomainResponse();
|
|
84670
|
-
};
|
|
84671
|
-
|
|
84672
|
-
/**
|
|
84673
|
-
* Creates a plain object from a PushDomainResponse message. Also converts values to other types if specified.
|
|
84674
|
-
* @function toObject
|
|
84675
|
-
* @memberof replit.goval.api.lore.PushDomainResponse
|
|
84676
|
-
* @static
|
|
84677
|
-
* @param {replit.goval.api.lore.PushDomainResponse} message PushDomainResponse
|
|
84678
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
84679
|
-
* @returns {Object.<string,*>} Plain object
|
|
84680
|
-
*/
|
|
84681
|
-
PushDomainResponse.toObject = function toObject() {
|
|
84682
|
-
return {};
|
|
84683
|
-
};
|
|
84684
|
-
|
|
84685
|
-
/**
|
|
84686
|
-
* Converts this PushDomainResponse to JSON.
|
|
84687
|
-
* @function toJSON
|
|
84688
|
-
* @memberof replit.goval.api.lore.PushDomainResponse
|
|
84689
|
-
* @instance
|
|
84690
|
-
* @returns {Object.<string,*>} JSON object
|
|
84691
|
-
*/
|
|
84692
|
-
PushDomainResponse.prototype.toJSON = function toJSON() {
|
|
84693
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
84694
|
-
};
|
|
84695
|
-
|
|
84696
|
-
/**
|
|
84697
|
-
* Gets the default type url for PushDomainResponse
|
|
84698
|
-
* @function getTypeUrl
|
|
84699
|
-
* @memberof replit.goval.api.lore.PushDomainResponse
|
|
84700
|
-
* @static
|
|
84701
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
84702
|
-
* @returns {string} The default type url
|
|
84703
|
-
*/
|
|
84704
|
-
PushDomainResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
84705
|
-
if (typeUrlPrefix === undefined) {
|
|
84706
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
84707
|
-
}
|
|
84708
|
-
return typeUrlPrefix + "/replit.goval.api.lore.PushDomainResponse";
|
|
84709
|
-
};
|
|
84710
|
-
|
|
84711
|
-
return PushDomainResponse;
|
|
84712
|
-
})();
|
|
84713
|
-
|
|
84714
|
-
lore.UnlinkDomainRequest = (function() {
|
|
84715
|
-
|
|
84716
|
-
/**
|
|
84717
|
-
* Properties of an UnlinkDomainRequest.
|
|
84718
|
-
* @memberof replit.goval.api.lore
|
|
84719
|
-
* @interface IUnlinkDomainRequest
|
|
84720
|
-
* @property {string|null} [replId] UnlinkDomainRequest replId
|
|
84721
|
-
* @property {string|null} [domain] UnlinkDomainRequest domain
|
|
84722
|
-
* @property {string|null} [authToken] UnlinkDomainRequest authToken
|
|
84723
|
-
*/
|
|
84724
|
-
|
|
84725
|
-
/**
|
|
84726
|
-
* Constructs a new UnlinkDomainRequest.
|
|
84727
|
-
* @memberof replit.goval.api.lore
|
|
84728
|
-
* @classdesc Represents an UnlinkDomainRequest.
|
|
84729
|
-
* @constructor
|
|
84730
|
-
* @param {replit.goval.api.lore.IUnlinkDomainRequest=} [properties] Properties to set
|
|
84731
|
-
*/
|
|
84732
|
-
function UnlinkDomainRequest(properties) {
|
|
84733
|
-
if (properties)
|
|
84734
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
84735
|
-
if (properties[keys[i]] != null)
|
|
84736
|
-
this[keys[i]] = properties[keys[i]];
|
|
84737
|
-
}
|
|
84738
|
-
|
|
84739
|
-
/**
|
|
84740
|
-
* UnlinkDomainRequest replId.
|
|
84741
|
-
* @member {string} replId
|
|
84742
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
84743
|
-
* @instance
|
|
84744
|
-
*/
|
|
84745
|
-
UnlinkDomainRequest.prototype.replId = "";
|
|
84746
|
-
|
|
84747
|
-
/**
|
|
84748
|
-
* UnlinkDomainRequest domain.
|
|
84749
|
-
* @member {string} domain
|
|
84750
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
84751
|
-
* @instance
|
|
84752
|
-
*/
|
|
84753
|
-
UnlinkDomainRequest.prototype.domain = "";
|
|
84754
|
-
|
|
84755
|
-
/**
|
|
84756
|
-
* UnlinkDomainRequest authToken.
|
|
84757
|
-
* @member {string} authToken
|
|
84758
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
84759
|
-
* @instance
|
|
84760
|
-
*/
|
|
84761
|
-
UnlinkDomainRequest.prototype.authToken = "";
|
|
84762
|
-
|
|
84763
|
-
/**
|
|
84764
|
-
* Creates a new UnlinkDomainRequest instance using the specified properties.
|
|
84765
|
-
* @function create
|
|
84766
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
84767
|
-
* @static
|
|
84768
|
-
* @param {replit.goval.api.lore.IUnlinkDomainRequest=} [properties] Properties to set
|
|
84769
|
-
* @returns {replit.goval.api.lore.UnlinkDomainRequest} UnlinkDomainRequest instance
|
|
84770
|
-
*/
|
|
84771
|
-
UnlinkDomainRequest.create = function create(properties) {
|
|
84772
|
-
return UnlinkDomainRequest.fromObject(properties);
|
|
84773
|
-
};
|
|
84774
|
-
|
|
84775
|
-
/**
|
|
84776
|
-
* Encodes the specified UnlinkDomainRequest message. Does not implicitly {@link replit.goval.api.lore.UnlinkDomainRequest.verify|verify} messages.
|
|
84777
|
-
* @function encode
|
|
84778
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
84779
|
-
* @static
|
|
84780
|
-
* @param {replit.goval.api.lore.UnlinkDomainRequest} message UnlinkDomainRequest message or plain object to encode
|
|
84781
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
84782
|
-
* @returns {$protobuf.Writer} Writer
|
|
84783
|
-
*/
|
|
84784
|
-
UnlinkDomainRequest.encode = function encode(message, writer) {
|
|
84785
|
-
if (!writer)
|
|
84786
|
-
writer = $Writer.create();
|
|
84787
|
-
if (message.replId != null && Object.hasOwnProperty.call(message, "replId"))
|
|
84788
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.replId);
|
|
84789
|
-
if (message.domain != null && Object.hasOwnProperty.call(message, "domain"))
|
|
84790
|
-
writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain);
|
|
84791
|
-
if (message.authToken != null && Object.hasOwnProperty.call(message, "authToken"))
|
|
84792
|
-
writer.uint32(/* id 3, wireType 2 =*/26).string(message.authToken);
|
|
84793
|
-
return writer;
|
|
84794
|
-
};
|
|
84795
|
-
|
|
84796
|
-
/**
|
|
84797
|
-
* Encodes the specified UnlinkDomainRequest message, length delimited. Does not implicitly {@link replit.goval.api.lore.UnlinkDomainRequest.verify|verify} messages.
|
|
84798
|
-
* @function encodeDelimited
|
|
84799
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
84800
|
-
* @static
|
|
84801
|
-
* @param {replit.goval.api.lore.UnlinkDomainRequest} message UnlinkDomainRequest message or plain object to encode
|
|
84802
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
84803
|
-
* @returns {$protobuf.Writer} Writer
|
|
84804
|
-
*/
|
|
84805
|
-
UnlinkDomainRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
84806
|
-
return this.encode(message, writer).ldelim();
|
|
84807
|
-
};
|
|
84808
|
-
|
|
84809
|
-
/**
|
|
84810
|
-
* Decodes an UnlinkDomainRequest message from the specified reader or buffer.
|
|
84811
|
-
* @function decode
|
|
84812
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
84813
|
-
* @static
|
|
84814
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
84815
|
-
* @param {number} [length] Message length if known beforehand
|
|
84816
|
-
* @returns {replit.goval.api.lore.UnlinkDomainRequest} UnlinkDomainRequest
|
|
84817
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
84818
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
84819
|
-
*/
|
|
84820
|
-
UnlinkDomainRequest.decode = function decode(reader, length) {
|
|
84821
|
-
if (!(reader instanceof $Reader))
|
|
84822
|
-
reader = $Reader.create(reader);
|
|
84823
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.UnlinkDomainRequest();
|
|
84824
|
-
while (reader.pos < end) {
|
|
84825
|
-
var tag = reader.uint32();
|
|
84826
|
-
switch (tag >>> 3) {
|
|
84827
|
-
case 1: {
|
|
84828
|
-
message.replId = reader.string();
|
|
84829
|
-
break;
|
|
84830
|
-
}
|
|
84831
|
-
case 2: {
|
|
84832
|
-
message.domain = reader.string();
|
|
84833
|
-
break;
|
|
84834
|
-
}
|
|
84835
|
-
case 3: {
|
|
84836
|
-
message.authToken = reader.string();
|
|
84837
|
-
break;
|
|
84838
|
-
}
|
|
84839
|
-
default:
|
|
84840
|
-
reader.skipType(tag & 7);
|
|
84841
|
-
break;
|
|
84842
|
-
}
|
|
84843
|
-
}
|
|
84844
|
-
return message;
|
|
84845
|
-
};
|
|
84846
|
-
|
|
84847
|
-
/**
|
|
84848
|
-
* Decodes an UnlinkDomainRequest message from the specified reader or buffer, length delimited.
|
|
84849
|
-
* @function decodeDelimited
|
|
84850
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
84851
|
-
* @static
|
|
84852
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
84853
|
-
* @returns {replit.goval.api.lore.UnlinkDomainRequest} UnlinkDomainRequest
|
|
84854
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
84855
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
84856
|
-
*/
|
|
84857
|
-
UnlinkDomainRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
84858
|
-
if (!(reader instanceof $Reader))
|
|
84859
|
-
reader = new $Reader(reader);
|
|
84860
|
-
return this.decode(reader, reader.uint32());
|
|
84861
|
-
};
|
|
84862
|
-
|
|
84863
|
-
/**
|
|
84864
|
-
* Verifies an UnlinkDomainRequest message.
|
|
84865
|
-
* @function verify
|
|
84866
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
84867
|
-
* @static
|
|
84868
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
84869
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
84870
|
-
*/
|
|
84871
|
-
UnlinkDomainRequest.verify = function verify(message) {
|
|
84872
|
-
if (typeof message !== "object" || message === null)
|
|
84873
|
-
return "object expected";
|
|
84874
|
-
if (message.replId != null && message.hasOwnProperty("replId"))
|
|
84875
|
-
if (!$util.isString(message.replId))
|
|
84876
|
-
return "replId: string expected";
|
|
84877
|
-
if (message.domain != null && message.hasOwnProperty("domain"))
|
|
84878
|
-
if (!$util.isString(message.domain))
|
|
84879
|
-
return "domain: string expected";
|
|
84880
|
-
if (message.authToken != null && message.hasOwnProperty("authToken"))
|
|
84881
|
-
if (!$util.isString(message.authToken))
|
|
84882
|
-
return "authToken: string expected";
|
|
84883
|
-
return null;
|
|
84884
|
-
};
|
|
84885
|
-
|
|
84886
|
-
/**
|
|
84887
|
-
* Creates an UnlinkDomainRequest message from a plain object. Also converts values to their respective internal types.
|
|
84888
|
-
* @function fromObject
|
|
84889
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
84890
|
-
* @static
|
|
84891
|
-
* @param {Object.<string,*>} object Plain object
|
|
84892
|
-
* @returns {replit.goval.api.lore.UnlinkDomainRequest} UnlinkDomainRequest
|
|
84893
|
-
*/
|
|
84894
|
-
UnlinkDomainRequest.fromObject = function fromObject(object) {
|
|
84895
|
-
if (object instanceof $root.replit.goval.api.lore.UnlinkDomainRequest)
|
|
84896
|
-
return object;
|
|
84897
|
-
var message = new $root.replit.goval.api.lore.UnlinkDomainRequest();
|
|
84898
|
-
if (object.replId != null)
|
|
84899
|
-
message.replId = String(object.replId);
|
|
84900
|
-
if (object.domain != null)
|
|
84901
|
-
message.domain = String(object.domain);
|
|
84902
|
-
if (object.authToken != null)
|
|
84903
|
-
message.authToken = String(object.authToken);
|
|
84904
|
-
return message;
|
|
84905
|
-
};
|
|
84906
|
-
|
|
84907
|
-
/**
|
|
84908
|
-
* Creates a plain object from an UnlinkDomainRequest message. Also converts values to other types if specified.
|
|
84909
|
-
* @function toObject
|
|
84910
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
84911
|
-
* @static
|
|
84912
|
-
* @param {replit.goval.api.lore.UnlinkDomainRequest} message UnlinkDomainRequest
|
|
84913
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
84914
|
-
* @returns {Object.<string,*>} Plain object
|
|
84915
|
-
*/
|
|
84916
|
-
UnlinkDomainRequest.toObject = function toObject(message, options) {
|
|
84917
|
-
if (!options)
|
|
84918
|
-
options = {};
|
|
84919
|
-
var object = {};
|
|
84920
|
-
if (options.defaults) {
|
|
84921
|
-
object.replId = "";
|
|
84922
|
-
object.domain = "";
|
|
84923
|
-
object.authToken = "";
|
|
84924
|
-
}
|
|
84925
|
-
if (message.replId != null && message.hasOwnProperty("replId"))
|
|
84926
|
-
object.replId = message.replId;
|
|
84927
|
-
if (message.domain != null && message.hasOwnProperty("domain"))
|
|
84928
|
-
object.domain = message.domain;
|
|
84929
|
-
if (message.authToken != null && message.hasOwnProperty("authToken"))
|
|
84930
|
-
object.authToken = message.authToken;
|
|
84931
|
-
return object;
|
|
84932
|
-
};
|
|
84933
|
-
|
|
84934
|
-
/**
|
|
84935
|
-
* Converts this UnlinkDomainRequest to JSON.
|
|
84936
|
-
* @function toJSON
|
|
84937
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
84938
|
-
* @instance
|
|
84939
|
-
* @returns {Object.<string,*>} JSON object
|
|
84940
|
-
*/
|
|
84941
|
-
UnlinkDomainRequest.prototype.toJSON = function toJSON() {
|
|
84942
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
84943
|
-
};
|
|
84944
|
-
|
|
84945
|
-
/**
|
|
84946
|
-
* Gets the default type url for UnlinkDomainRequest
|
|
84947
|
-
* @function getTypeUrl
|
|
84948
|
-
* @memberof replit.goval.api.lore.UnlinkDomainRequest
|
|
84949
|
-
* @static
|
|
84950
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
84951
|
-
* @returns {string} The default type url
|
|
84952
|
-
*/
|
|
84953
|
-
UnlinkDomainRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
84954
|
-
if (typeUrlPrefix === undefined) {
|
|
84955
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
84956
|
-
}
|
|
84957
|
-
return typeUrlPrefix + "/replit.goval.api.lore.UnlinkDomainRequest";
|
|
84958
|
-
};
|
|
84959
|
-
|
|
84960
|
-
return UnlinkDomainRequest;
|
|
84961
|
-
})();
|
|
84962
|
-
|
|
84963
|
-
lore.UnlinkDomainResponse = (function() {
|
|
84964
|
-
|
|
84965
|
-
/**
|
|
84966
|
-
* Properties of an UnlinkDomainResponse.
|
|
84967
|
-
* @memberof replit.goval.api.lore
|
|
84968
|
-
* @interface IUnlinkDomainResponse
|
|
84969
|
-
*/
|
|
84970
|
-
|
|
84971
|
-
/**
|
|
84972
|
-
* Constructs a new UnlinkDomainResponse.
|
|
84973
|
-
* @memberof replit.goval.api.lore
|
|
84974
|
-
* @classdesc Represents an UnlinkDomainResponse.
|
|
84975
|
-
* @constructor
|
|
84976
|
-
* @param {replit.goval.api.lore.IUnlinkDomainResponse=} [properties] Properties to set
|
|
84977
|
-
*/
|
|
84978
|
-
function UnlinkDomainResponse(properties) {
|
|
84979
|
-
if (properties)
|
|
84980
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
84981
|
-
if (properties[keys[i]] != null)
|
|
84982
|
-
this[keys[i]] = properties[keys[i]];
|
|
84983
|
-
}
|
|
84984
|
-
|
|
84985
|
-
/**
|
|
84986
|
-
* Creates a new UnlinkDomainResponse instance using the specified properties.
|
|
84987
|
-
* @function create
|
|
84988
|
-
* @memberof replit.goval.api.lore.UnlinkDomainResponse
|
|
84989
|
-
* @static
|
|
84990
|
-
* @param {replit.goval.api.lore.IUnlinkDomainResponse=} [properties] Properties to set
|
|
84991
|
-
* @returns {replit.goval.api.lore.UnlinkDomainResponse} UnlinkDomainResponse instance
|
|
84992
|
-
*/
|
|
84993
|
-
UnlinkDomainResponse.create = function create(properties) {
|
|
84994
|
-
return UnlinkDomainResponse.fromObject(properties);
|
|
84995
|
-
};
|
|
84996
|
-
|
|
84997
|
-
/**
|
|
84998
|
-
* Encodes the specified UnlinkDomainResponse message. Does not implicitly {@link replit.goval.api.lore.UnlinkDomainResponse.verify|verify} messages.
|
|
84999
|
-
* @function encode
|
|
85000
|
-
* @memberof replit.goval.api.lore.UnlinkDomainResponse
|
|
85001
|
-
* @static
|
|
85002
|
-
* @param {replit.goval.api.lore.UnlinkDomainResponse} message UnlinkDomainResponse message or plain object to encode
|
|
85003
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
85004
|
-
* @returns {$protobuf.Writer} Writer
|
|
85005
|
-
*/
|
|
85006
|
-
UnlinkDomainResponse.encode = function encode(message, writer) {
|
|
85007
|
-
if (!writer)
|
|
85008
|
-
writer = $Writer.create();
|
|
85009
|
-
return writer;
|
|
85010
|
-
};
|
|
85011
|
-
|
|
85012
|
-
/**
|
|
85013
|
-
* Encodes the specified UnlinkDomainResponse message, length delimited. Does not implicitly {@link replit.goval.api.lore.UnlinkDomainResponse.verify|verify} messages.
|
|
85014
|
-
* @function encodeDelimited
|
|
85015
|
-
* @memberof replit.goval.api.lore.UnlinkDomainResponse
|
|
85016
|
-
* @static
|
|
85017
|
-
* @param {replit.goval.api.lore.UnlinkDomainResponse} message UnlinkDomainResponse message or plain object to encode
|
|
85018
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
85019
|
-
* @returns {$protobuf.Writer} Writer
|
|
85020
|
-
*/
|
|
85021
|
-
UnlinkDomainResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
85022
|
-
return this.encode(message, writer).ldelim();
|
|
85023
|
-
};
|
|
85024
|
-
|
|
85025
|
-
/**
|
|
85026
|
-
* Decodes an UnlinkDomainResponse message from the specified reader or buffer.
|
|
85027
|
-
* @function decode
|
|
85028
|
-
* @memberof replit.goval.api.lore.UnlinkDomainResponse
|
|
85029
|
-
* @static
|
|
85030
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
85031
|
-
* @param {number} [length] Message length if known beforehand
|
|
85032
|
-
* @returns {replit.goval.api.lore.UnlinkDomainResponse} UnlinkDomainResponse
|
|
85033
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
85034
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
85035
|
-
*/
|
|
85036
|
-
UnlinkDomainResponse.decode = function decode(reader, length) {
|
|
85037
|
-
if (!(reader instanceof $Reader))
|
|
85038
|
-
reader = $Reader.create(reader);
|
|
85039
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.lore.UnlinkDomainResponse();
|
|
85040
|
-
while (reader.pos < end) {
|
|
85041
|
-
var tag = reader.uint32();
|
|
85042
|
-
switch (tag >>> 3) {
|
|
85043
|
-
default:
|
|
85044
|
-
reader.skipType(tag & 7);
|
|
85045
|
-
break;
|
|
85046
|
-
}
|
|
85047
|
-
}
|
|
85048
|
-
return message;
|
|
85049
|
-
};
|
|
85050
|
-
|
|
85051
|
-
/**
|
|
85052
|
-
* Decodes an UnlinkDomainResponse message from the specified reader or buffer, length delimited.
|
|
85053
|
-
* @function decodeDelimited
|
|
85054
|
-
* @memberof replit.goval.api.lore.UnlinkDomainResponse
|
|
85055
|
-
* @static
|
|
85056
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
85057
|
-
* @returns {replit.goval.api.lore.UnlinkDomainResponse} UnlinkDomainResponse
|
|
85058
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
85059
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
85060
|
-
*/
|
|
85061
|
-
UnlinkDomainResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
85062
|
-
if (!(reader instanceof $Reader))
|
|
85063
|
-
reader = new $Reader(reader);
|
|
85064
|
-
return this.decode(reader, reader.uint32());
|
|
85065
|
-
};
|
|
85066
|
-
|
|
85067
|
-
/**
|
|
85068
|
-
* Verifies an UnlinkDomainResponse message.
|
|
85069
|
-
* @function verify
|
|
85070
|
-
* @memberof replit.goval.api.lore.UnlinkDomainResponse
|
|
85071
|
-
* @static
|
|
85072
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
85073
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
85074
|
-
*/
|
|
85075
|
-
UnlinkDomainResponse.verify = function verify(message) {
|
|
85076
|
-
if (typeof message !== "object" || message === null)
|
|
85077
|
-
return "object expected";
|
|
85078
|
-
return null;
|
|
85079
|
-
};
|
|
85080
|
-
|
|
85081
|
-
/**
|
|
85082
|
-
* Creates an UnlinkDomainResponse message from a plain object. Also converts values to their respective internal types.
|
|
85083
|
-
* @function fromObject
|
|
85084
|
-
* @memberof replit.goval.api.lore.UnlinkDomainResponse
|
|
85085
|
-
* @static
|
|
85086
|
-
* @param {Object.<string,*>} object Plain object
|
|
85087
|
-
* @returns {replit.goval.api.lore.UnlinkDomainResponse} UnlinkDomainResponse
|
|
85088
|
-
*/
|
|
85089
|
-
UnlinkDomainResponse.fromObject = function fromObject(object) {
|
|
85090
|
-
if (object instanceof $root.replit.goval.api.lore.UnlinkDomainResponse)
|
|
85091
|
-
return object;
|
|
85092
|
-
return new $root.replit.goval.api.lore.UnlinkDomainResponse();
|
|
85093
|
-
};
|
|
85094
|
-
|
|
85095
|
-
/**
|
|
85096
|
-
* Creates a plain object from an UnlinkDomainResponse message. Also converts values to other types if specified.
|
|
85097
|
-
* @function toObject
|
|
85098
|
-
* @memberof replit.goval.api.lore.UnlinkDomainResponse
|
|
85099
|
-
* @static
|
|
85100
|
-
* @param {replit.goval.api.lore.UnlinkDomainResponse} message UnlinkDomainResponse
|
|
85101
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
85102
|
-
* @returns {Object.<string,*>} Plain object
|
|
85103
|
-
*/
|
|
85104
|
-
UnlinkDomainResponse.toObject = function toObject() {
|
|
85105
|
-
return {};
|
|
85106
|
-
};
|
|
85107
|
-
|
|
85108
|
-
/**
|
|
85109
|
-
* Converts this UnlinkDomainResponse to JSON.
|
|
85110
|
-
* @function toJSON
|
|
85111
|
-
* @memberof replit.goval.api.lore.UnlinkDomainResponse
|
|
85112
|
-
* @instance
|
|
85113
|
-
* @returns {Object.<string,*>} JSON object
|
|
85114
|
-
*/
|
|
85115
|
-
UnlinkDomainResponse.prototype.toJSON = function toJSON() {
|
|
85116
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
85117
|
-
};
|
|
85118
|
-
|
|
85119
|
-
/**
|
|
85120
|
-
* Gets the default type url for UnlinkDomainResponse
|
|
85121
|
-
* @function getTypeUrl
|
|
85122
|
-
* @memberof replit.goval.api.lore.UnlinkDomainResponse
|
|
85123
|
-
* @static
|
|
85124
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
85125
|
-
* @returns {string} The default type url
|
|
85126
|
-
*/
|
|
85127
|
-
UnlinkDomainResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
85128
|
-
if (typeUrlPrefix === undefined) {
|
|
85129
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
85130
|
-
}
|
|
85131
|
-
return typeUrlPrefix + "/replit.goval.api.lore.UnlinkDomainResponse";
|
|
85132
|
-
};
|
|
85133
|
-
|
|
85134
|
-
return UnlinkDomainResponse;
|
|
85135
|
-
})();
|
|
85136
|
-
|
|
85137
86040
|
lore.ExportReplRequest = (function() {
|
|
85138
86041
|
|
|
85139
86042
|
/**
|
|
@@ -87471,72 +88374,6 @@
|
|
|
87471
88374
|
* @variation 2
|
|
87472
88375
|
*/
|
|
87473
88376
|
|
|
87474
|
-
/**
|
|
87475
|
-
* Callback as used by {@link replit.goval.api.lore.Lore#pushDomain}.
|
|
87476
|
-
* @memberof replit.goval.api.lore.Lore
|
|
87477
|
-
* @typedef PushDomainCallback
|
|
87478
|
-
* @type {function}
|
|
87479
|
-
* @param {Error|null} error Error, if any
|
|
87480
|
-
* @param {replit.goval.api.lore.PushDomainResponse} [response] PushDomainResponse
|
|
87481
|
-
*/
|
|
87482
|
-
|
|
87483
|
-
/**
|
|
87484
|
-
* Calls PushDomain.
|
|
87485
|
-
* @function pushDomain
|
|
87486
|
-
* @memberof replit.goval.api.lore.Lore
|
|
87487
|
-
* @instance
|
|
87488
|
-
* @param {replit.goval.api.lore.PushDomainRequest} request PushDomainRequest message or plain object
|
|
87489
|
-
* @param {replit.goval.api.lore.Lore.PushDomainCallback} callback Node-style callback called with the error, if any, and PushDomainResponse
|
|
87490
|
-
* @returns {undefined}
|
|
87491
|
-
* @variation 1
|
|
87492
|
-
*/
|
|
87493
|
-
Object.defineProperty(Lore.prototype.pushDomain = function pushDomain(request, callback) {
|
|
87494
|
-
return this.rpcCall(pushDomain, $root.replit.goval.api.lore.PushDomainRequest, $root.replit.goval.api.lore.PushDomainResponse, request, callback);
|
|
87495
|
-
}, "name", { value: "PushDomain" });
|
|
87496
|
-
|
|
87497
|
-
/**
|
|
87498
|
-
* Calls PushDomain.
|
|
87499
|
-
* @function pushDomain
|
|
87500
|
-
* @memberof replit.goval.api.lore.Lore
|
|
87501
|
-
* @instance
|
|
87502
|
-
* @param {replit.goval.api.lore.PushDomainRequest} request PushDomainRequest message or plain object
|
|
87503
|
-
* @returns {Promise<replit.goval.api.lore.PushDomainResponse>} Promise
|
|
87504
|
-
* @variation 2
|
|
87505
|
-
*/
|
|
87506
|
-
|
|
87507
|
-
/**
|
|
87508
|
-
* Callback as used by {@link replit.goval.api.lore.Lore#unlinkDomain}.
|
|
87509
|
-
* @memberof replit.goval.api.lore.Lore
|
|
87510
|
-
* @typedef UnlinkDomainCallback
|
|
87511
|
-
* @type {function}
|
|
87512
|
-
* @param {Error|null} error Error, if any
|
|
87513
|
-
* @param {replit.goval.api.lore.UnlinkDomainResponse} [response] UnlinkDomainResponse
|
|
87514
|
-
*/
|
|
87515
|
-
|
|
87516
|
-
/**
|
|
87517
|
-
* Calls UnlinkDomain.
|
|
87518
|
-
* @function unlinkDomain
|
|
87519
|
-
* @memberof replit.goval.api.lore.Lore
|
|
87520
|
-
* @instance
|
|
87521
|
-
* @param {replit.goval.api.lore.UnlinkDomainRequest} request UnlinkDomainRequest message or plain object
|
|
87522
|
-
* @param {replit.goval.api.lore.Lore.UnlinkDomainCallback} callback Node-style callback called with the error, if any, and UnlinkDomainResponse
|
|
87523
|
-
* @returns {undefined}
|
|
87524
|
-
* @variation 1
|
|
87525
|
-
*/
|
|
87526
|
-
Object.defineProperty(Lore.prototype.unlinkDomain = function unlinkDomain(request, callback) {
|
|
87527
|
-
return this.rpcCall(unlinkDomain, $root.replit.goval.api.lore.UnlinkDomainRequest, $root.replit.goval.api.lore.UnlinkDomainResponse, request, callback);
|
|
87528
|
-
}, "name", { value: "UnlinkDomain" });
|
|
87529
|
-
|
|
87530
|
-
/**
|
|
87531
|
-
* Calls UnlinkDomain.
|
|
87532
|
-
* @function unlinkDomain
|
|
87533
|
-
* @memberof replit.goval.api.lore.Lore
|
|
87534
|
-
* @instance
|
|
87535
|
-
* @param {replit.goval.api.lore.UnlinkDomainRequest} request UnlinkDomainRequest message or plain object
|
|
87536
|
-
* @returns {Promise<replit.goval.api.lore.UnlinkDomainResponse>} Promise
|
|
87537
|
-
* @variation 2
|
|
87538
|
-
*/
|
|
87539
|
-
|
|
87540
88377
|
/**
|
|
87541
88378
|
* Callback as used by {@link replit.goval.api.lore.Lore#transferReplFromOfflineCluster}.
|
|
87542
88379
|
* @memberof replit.goval.api.lore.Lore
|