@replit/protocol 0.2.45 → 0.2.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main/index.d.ts +319 -13
- package/main/index.js +828 -52
- package/main/index.js.flow +447 -22
- package/package.json +1 -1
package/main/index.js.flow
CHANGED
|
@@ -89,6 +89,7 @@ declare var npm$namespace$api: {|
|
|
|
89
89
|
ICloseChannelRes: Class<api$ICloseChannelRes>,
|
|
90
90
|
IContainerState: Class<api$IContainerState>,
|
|
91
91
|
IPortOpen: Class<api$IPortOpen>,
|
|
92
|
+
IPortClose: Class<api$IPortClose>,
|
|
92
93
|
IOTFetchRequest: Class<api$IOTFetchRequest>,
|
|
93
94
|
IOTFetchResponse: Class<api$IOTFetchResponse>,
|
|
94
95
|
IOTTransformSelectionRequest: Class<api$IOTTransformSelectionRequest>,
|
|
@@ -154,6 +155,8 @@ declare var npm$namespace$api: {|
|
|
|
154
155
|
IDotReplitPackagerFeatures: Class<api$IDotReplitPackagerFeatures>,
|
|
155
156
|
IDotReplitUnitTest: Class<api$IDotReplitUnitTest>,
|
|
156
157
|
IDebuggerConfig: Class<api$IDebuggerConfig>,
|
|
158
|
+
IProxyGoingAway: Class<api$IProxyGoingAway>,
|
|
159
|
+
IFirewallDenied: Class<api$IFirewallDenied>,
|
|
157
160
|
IRepl: Class<api$IRepl>,
|
|
158
161
|
IResourceLimits: Class<api$IResourceLimits>,
|
|
159
162
|
IPermissions: Class<api$IPermissions>,
|
|
@@ -244,6 +247,7 @@ declare var npm$namespace$api: {|
|
|
|
244
247
|
CloseChannelRes: typeof api$CloseChannelRes,
|
|
245
248
|
ContainerState: typeof api$ContainerState,
|
|
246
249
|
PortOpen: typeof api$PortOpen,
|
|
250
|
+
PortClose: typeof api$PortClose,
|
|
247
251
|
OTFetchRequest: typeof api$OTFetchRequest,
|
|
248
252
|
OTFetchResponse: typeof api$OTFetchResponse,
|
|
249
253
|
OTTransformSelectionRequest: typeof api$OTTransformSelectionRequest,
|
|
@@ -309,6 +313,8 @@ declare var npm$namespace$api: {|
|
|
|
309
313
|
DotReplitPackagerFeatures: typeof api$DotReplitPackagerFeatures,
|
|
310
314
|
DotReplitUnitTest: typeof api$DotReplitUnitTest,
|
|
311
315
|
DebuggerConfig: typeof api$DebuggerConfig,
|
|
316
|
+
ProxyGoingAway: typeof api$ProxyGoingAway,
|
|
317
|
+
FirewallDenied: typeof api$FirewallDenied,
|
|
312
318
|
Repl: typeof api$Repl,
|
|
313
319
|
ResourceLimits: typeof api$ResourceLimits,
|
|
314
320
|
Permissions: typeof api$Permissions,
|
|
@@ -369,6 +375,11 @@ declare type api$ICommand = {|
|
|
|
369
375
|
*/
|
|
370
376
|
portOpen?: api$PortOpen | api$IPortOpen | null,
|
|
371
377
|
|
|
378
|
+
/**
|
|
379
|
+
* Command portClose
|
|
380
|
+
*/
|
|
381
|
+
portClose?: api$PortClose | api$IPortClose | null,
|
|
382
|
+
|
|
372
383
|
/**
|
|
373
384
|
* Command toast
|
|
374
385
|
*/
|
|
@@ -609,6 +620,11 @@ declare type api$ICommand = {|
|
|
|
609
620
|
*/
|
|
610
621
|
goodbye?: api$Goodbye | api$IGoodbye | null,
|
|
611
622
|
|
|
623
|
+
/**
|
|
624
|
+
* Command proxyGoingAway
|
|
625
|
+
*/
|
|
626
|
+
proxyGoingAway?: api$ProxyGoingAway | api$IProxyGoingAway | null,
|
|
627
|
+
|
|
612
628
|
/**
|
|
613
629
|
* Command hint
|
|
614
630
|
*/
|
|
@@ -1101,10 +1117,22 @@ declare type api$ICommand = {|
|
|
|
1101
1117
|
*/
|
|
1102
1118
|
startLSP?: api$StartLSP | api$IStartLSP | null,
|
|
1103
1119
|
|
|
1120
|
+
/**
|
|
1121
|
+
* Command firewallDenied
|
|
1122
|
+
*/
|
|
1123
|
+
firewallDenied?: api$FirewallDenied | api$IFirewallDenied | null,
|
|
1124
|
+
|
|
1104
1125
|
/**
|
|
1105
1126
|
* Command ref
|
|
1106
1127
|
*/
|
|
1107
1128
|
ref?: string | null,
|
|
1129
|
+
|
|
1130
|
+
/**
|
|
1131
|
+
* Command traceInfo
|
|
1132
|
+
*/
|
|
1133
|
+
traceInfo?: {|
|
|
1134
|
+
[k: string]: string,
|
|
1135
|
+
|} | null,
|
|
1108
1136
|
|};
|
|
1109
1137
|
|
|
1110
1138
|
/**
|
|
@@ -1157,6 +1185,11 @@ declare class api$Command {
|
|
|
1157
1185
|
*/
|
|
1158
1186
|
portOpen?: api$PortOpen | null;
|
|
1159
1187
|
|
|
1188
|
+
/**
|
|
1189
|
+
* Command portClose.
|
|
1190
|
+
*/
|
|
1191
|
+
portClose?: api$PortClose | null;
|
|
1192
|
+
|
|
1160
1193
|
/**
|
|
1161
1194
|
* Command toast.
|
|
1162
1195
|
*/
|
|
@@ -1397,6 +1430,11 @@ declare class api$Command {
|
|
|
1397
1430
|
*/
|
|
1398
1431
|
goodbye?: api$Goodbye | null;
|
|
1399
1432
|
|
|
1433
|
+
/**
|
|
1434
|
+
* Command proxyGoingAway.
|
|
1435
|
+
*/
|
|
1436
|
+
proxyGoingAway?: api$ProxyGoingAway | null;
|
|
1437
|
+
|
|
1400
1438
|
/**
|
|
1401
1439
|
* Command hint.
|
|
1402
1440
|
*/
|
|
@@ -1847,11 +1885,23 @@ declare class api$Command {
|
|
|
1847
1885
|
*/
|
|
1848
1886
|
startLSP?: api$StartLSP | null;
|
|
1849
1887
|
|
|
1888
|
+
/**
|
|
1889
|
+
* Command firewallDenied.
|
|
1890
|
+
*/
|
|
1891
|
+
firewallDenied?: api$FirewallDenied | null;
|
|
1892
|
+
|
|
1850
1893
|
/**
|
|
1851
1894
|
* Command ref.
|
|
1852
1895
|
*/
|
|
1853
1896
|
ref: string;
|
|
1854
1897
|
|
|
1898
|
+
/**
|
|
1899
|
+
* Command traceInfo.
|
|
1900
|
+
*/
|
|
1901
|
+
traceInfo: {|
|
|
1902
|
+
[k: string]: string,
|
|
1903
|
+
|};
|
|
1904
|
+
|
|
1855
1905
|
/**
|
|
1856
1906
|
* Command body.
|
|
1857
1907
|
*/
|
|
@@ -1862,6 +1912,7 @@ declare class api$Command {
|
|
|
1862
1912
|
| "closeChanRes"
|
|
1863
1913
|
| "containerState"
|
|
1864
1914
|
| "portOpen"
|
|
1915
|
+
| "portClose"
|
|
1865
1916
|
| "toast"
|
|
1866
1917
|
| "protocolError"
|
|
1867
1918
|
| "redirect"
|
|
@@ -1910,6 +1961,7 @@ declare class api$Command {
|
|
|
1910
1961
|
| "pong"
|
|
1911
1962
|
| "hello"
|
|
1912
1963
|
| "goodbye"
|
|
1964
|
+
| "proxyGoingAway"
|
|
1913
1965
|
| "hint"
|
|
1914
1966
|
| "connect"
|
|
1915
1967
|
| "send"
|
|
@@ -1999,7 +2051,8 @@ declare class api$Command {
|
|
|
1999
2051
|
| "dotReplitGetResponse"
|
|
2000
2052
|
| "runConfigGetRequest"
|
|
2001
2053
|
| "runConfigGetResponse"
|
|
2002
|
-
| "startLSP"
|
|
2054
|
+
| "startLSP"
|
|
2055
|
+
| "firewallDenied";
|
|
2003
2056
|
|
|
2004
2057
|
/**
|
|
2005
2058
|
* Creates a new Command instance using the specified properties.
|
|
@@ -11579,6 +11632,132 @@ declare class api$PortOpen {
|
|
|
11579
11632
|
|};
|
|
11580
11633
|
}
|
|
11581
11634
|
|
|
11635
|
+
/**
|
|
11636
|
+
* Properties of a PortClose.
|
|
11637
|
+
*/
|
|
11638
|
+
declare type api$IPortClose = {|
|
|
11639
|
+
/**
|
|
11640
|
+
* PortClose port
|
|
11641
|
+
*/
|
|
11642
|
+
port?: number | null,
|
|
11643
|
+
|
|
11644
|
+
/**
|
|
11645
|
+
* PortClose address
|
|
11646
|
+
*/
|
|
11647
|
+
address?: string | null,
|
|
11648
|
+
|};
|
|
11649
|
+
|
|
11650
|
+
/**
|
|
11651
|
+
* Represents a PortClose.
|
|
11652
|
+
*/
|
|
11653
|
+
declare class api$PortClose {
|
|
11654
|
+
/**
|
|
11655
|
+
* Constructs a new PortClose.
|
|
11656
|
+
* @param [properties] Properties to set
|
|
11657
|
+
*/
|
|
11658
|
+
constructor(properties?: api$IPortClose): this;
|
|
11659
|
+
|
|
11660
|
+
/**
|
|
11661
|
+
* PortClose port.
|
|
11662
|
+
*/
|
|
11663
|
+
port: number;
|
|
11664
|
+
|
|
11665
|
+
/**
|
|
11666
|
+
* PortClose address.
|
|
11667
|
+
*/
|
|
11668
|
+
address: string;
|
|
11669
|
+
|
|
11670
|
+
/**
|
|
11671
|
+
* Creates a new PortClose instance using the specified properties.
|
|
11672
|
+
* @param [properties] Properties to set
|
|
11673
|
+
* @returns PortClose instance
|
|
11674
|
+
*/
|
|
11675
|
+
static create(properties?: api$IPortClose): api$PortClose;
|
|
11676
|
+
|
|
11677
|
+
/**
|
|
11678
|
+
* [object Object],[object Object],[object Object]
|
|
11679
|
+
* @param message PortClose message or plain object to encode
|
|
11680
|
+
* @param [writer] Writer to encode to
|
|
11681
|
+
* @returns Writer
|
|
11682
|
+
*/
|
|
11683
|
+
static encode(
|
|
11684
|
+
message: api$PortClose,
|
|
11685
|
+
writer?: $protobuf.Writer
|
|
11686
|
+
): $protobuf.Writer;
|
|
11687
|
+
|
|
11688
|
+
/**
|
|
11689
|
+
* [object Object],[object Object],[object Object]
|
|
11690
|
+
* @param message PortClose message or plain object to encode
|
|
11691
|
+
* @param [writer] Writer to encode to
|
|
11692
|
+
* @returns Writer
|
|
11693
|
+
*/
|
|
11694
|
+
static encodeDelimited(
|
|
11695
|
+
message: api$PortClose,
|
|
11696
|
+
writer?: $protobuf.Writer
|
|
11697
|
+
): $protobuf.Writer;
|
|
11698
|
+
|
|
11699
|
+
/**
|
|
11700
|
+
* Decodes a PortClose message from the specified reader or buffer.
|
|
11701
|
+
* @param reader Reader or buffer to decode from
|
|
11702
|
+
* @param [length] Message length if known beforehand
|
|
11703
|
+
* @returns PortClose
|
|
11704
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11705
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11706
|
+
*/
|
|
11707
|
+
static decode(
|
|
11708
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
11709
|
+
length?: number
|
|
11710
|
+
): api$PortClose;
|
|
11711
|
+
|
|
11712
|
+
/**
|
|
11713
|
+
* Decodes a PortClose message from the specified reader or buffer, length delimited.
|
|
11714
|
+
* @param reader Reader or buffer to decode from
|
|
11715
|
+
* @returns PortClose
|
|
11716
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11717
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11718
|
+
*/
|
|
11719
|
+
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$PortClose;
|
|
11720
|
+
|
|
11721
|
+
/**
|
|
11722
|
+
* Verifies a PortClose message.
|
|
11723
|
+
* @param message Plain object to verify
|
|
11724
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
11725
|
+
*/
|
|
11726
|
+
static verify(message: {|
|
|
11727
|
+
[k: string]: any,
|
|
11728
|
+
|}): string | null;
|
|
11729
|
+
|
|
11730
|
+
/**
|
|
11731
|
+
* Creates a PortClose message from a plain object. Also converts values to their respective internal types.
|
|
11732
|
+
* @param object Plain object
|
|
11733
|
+
* @returns PortClose
|
|
11734
|
+
*/
|
|
11735
|
+
static fromObject(object: {|
|
|
11736
|
+
[k: string]: any,
|
|
11737
|
+
|}): api$PortClose;
|
|
11738
|
+
|
|
11739
|
+
/**
|
|
11740
|
+
* Creates a plain object from a PortClose message. Also converts values to other types if specified.
|
|
11741
|
+
* @param message PortClose
|
|
11742
|
+
* @param [options] Conversion options
|
|
11743
|
+
* @returns Plain object
|
|
11744
|
+
*/
|
|
11745
|
+
static toObject(
|
|
11746
|
+
message: api$PortClose,
|
|
11747
|
+
options?: $protobuf.IConversionOptions
|
|
11748
|
+
): {|
|
|
11749
|
+
[k: string]: any,
|
|
11750
|
+
|};
|
|
11751
|
+
|
|
11752
|
+
/**
|
|
11753
|
+
* Converts this PortClose to JSON.
|
|
11754
|
+
* @returns JSON object
|
|
11755
|
+
*/
|
|
11756
|
+
toJSON(): {|
|
|
11757
|
+
[k: string]: any,
|
|
11758
|
+
|};
|
|
11759
|
+
}
|
|
11760
|
+
|
|
11582
11761
|
/**
|
|
11583
11762
|
* Properties of a OTFetchRequest.
|
|
11584
11763
|
*/
|
|
@@ -13003,6 +13182,11 @@ declare type api$IUser = {|
|
|
|
13003
13182
|
* User session
|
|
13004
13183
|
*/
|
|
13005
13184
|
session?: number | null,
|
|
13185
|
+
|
|
13186
|
+
/**
|
|
13187
|
+
* User teams
|
|
13188
|
+
*/
|
|
13189
|
+
teams?: string[] | null,
|
|
13006
13190
|
|};
|
|
13007
13191
|
|
|
13008
13192
|
/**
|
|
@@ -13035,6 +13219,11 @@ declare class api$User {
|
|
|
13035
13219
|
*/
|
|
13036
13220
|
session: number;
|
|
13037
13221
|
|
|
13222
|
+
/**
|
|
13223
|
+
* User teams.
|
|
13224
|
+
*/
|
|
13225
|
+
teams: string[];
|
|
13226
|
+
|
|
13038
13227
|
/**
|
|
13039
13228
|
* Creates a new User instance using the specified properties.
|
|
13040
13229
|
* @param [properties] Properties to set
|
|
@@ -15088,7 +15277,12 @@ declare class api$PackageRemove {
|
|
|
15088
15277
|
/**
|
|
15089
15278
|
* Properties of a PackageInstall.
|
|
15090
15279
|
*/
|
|
15091
|
-
declare type api$IPackageInstall = {
|
|
15280
|
+
declare type api$IPackageInstall = {|
|
|
15281
|
+
/**
|
|
15282
|
+
* PackageInstall fromHosting
|
|
15283
|
+
*/
|
|
15284
|
+
fromHosting?: boolean | null,
|
|
15285
|
+
|};
|
|
15092
15286
|
|
|
15093
15287
|
/**
|
|
15094
15288
|
* Represents a PackageInstall.
|
|
@@ -15100,6 +15294,11 @@ declare class api$PackageInstall {
|
|
|
15100
15294
|
*/
|
|
15101
15295
|
constructor(properties?: api$IPackageInstall): this;
|
|
15102
15296
|
|
|
15297
|
+
/**
|
|
15298
|
+
* PackageInstall fromHosting.
|
|
15299
|
+
*/
|
|
15300
|
+
fromHosting: boolean;
|
|
15301
|
+
|
|
15103
15302
|
/**
|
|
15104
15303
|
* Creates a new PackageInstall instance using the specified properties.
|
|
15105
15304
|
* @param [properties] Properties to set
|
|
@@ -19662,6 +19861,16 @@ declare type api$ILanguageServerConfig = {|
|
|
|
19662
19861
|
* LanguageServerConfig startCommand
|
|
19663
19862
|
*/
|
|
19664
19863
|
startCommand?: api$Exec | api$IExec | null,
|
|
19864
|
+
|
|
19865
|
+
/**
|
|
19866
|
+
* LanguageServerConfig configurationJson
|
|
19867
|
+
*/
|
|
19868
|
+
configurationJson?: string | null,
|
|
19869
|
+
|
|
19870
|
+
/**
|
|
19871
|
+
* LanguageServerConfig initializationOptionsJson
|
|
19872
|
+
*/
|
|
19873
|
+
initializationOptionsJson?: string | null,
|
|
19665
19874
|
|};
|
|
19666
19875
|
|
|
19667
19876
|
/**
|
|
@@ -19679,6 +19888,16 @@ declare class api$LanguageServerConfig {
|
|
|
19679
19888
|
*/
|
|
19680
19889
|
startCommand?: api$Exec | null;
|
|
19681
19890
|
|
|
19891
|
+
/**
|
|
19892
|
+
* LanguageServerConfig configurationJson.
|
|
19893
|
+
*/
|
|
19894
|
+
configurationJson: string;
|
|
19895
|
+
|
|
19896
|
+
/**
|
|
19897
|
+
* LanguageServerConfig initializationOptionsJson.
|
|
19898
|
+
*/
|
|
19899
|
+
initializationOptionsJson: string;
|
|
19900
|
+
|
|
19682
19901
|
/**
|
|
19683
19902
|
* Creates a new LanguageServerConfig instance using the specified properties.
|
|
19684
19903
|
* @param [properties] Properties to set
|
|
@@ -20315,6 +20534,222 @@ declare class api$DebuggerConfig {
|
|
|
20315
20534
|
|};
|
|
20316
20535
|
}
|
|
20317
20536
|
|
|
20537
|
+
/**
|
|
20538
|
+
* Properties of a ProxyGoingAway.
|
|
20539
|
+
*/
|
|
20540
|
+
declare type api$IProxyGoingAway = {||};
|
|
20541
|
+
|
|
20542
|
+
/**
|
|
20543
|
+
* Represents a ProxyGoingAway.
|
|
20544
|
+
*/
|
|
20545
|
+
declare class api$ProxyGoingAway {
|
|
20546
|
+
/**
|
|
20547
|
+
* Constructs a new ProxyGoingAway.
|
|
20548
|
+
* @param [properties] Properties to set
|
|
20549
|
+
*/
|
|
20550
|
+
constructor(properties?: api$IProxyGoingAway): this;
|
|
20551
|
+
|
|
20552
|
+
/**
|
|
20553
|
+
* Creates a new ProxyGoingAway instance using the specified properties.
|
|
20554
|
+
* @param [properties] Properties to set
|
|
20555
|
+
* @returns ProxyGoingAway instance
|
|
20556
|
+
*/
|
|
20557
|
+
static create(properties?: api$IProxyGoingAway): api$ProxyGoingAway;
|
|
20558
|
+
|
|
20559
|
+
/**
|
|
20560
|
+
* [object Object],[object Object],[object Object]
|
|
20561
|
+
* @param message ProxyGoingAway message or plain object to encode
|
|
20562
|
+
* @param [writer] Writer to encode to
|
|
20563
|
+
* @returns Writer
|
|
20564
|
+
*/
|
|
20565
|
+
static encode(
|
|
20566
|
+
message: api$ProxyGoingAway,
|
|
20567
|
+
writer?: $protobuf.Writer
|
|
20568
|
+
): $protobuf.Writer;
|
|
20569
|
+
|
|
20570
|
+
/**
|
|
20571
|
+
* [object Object],[object Object],[object Object]
|
|
20572
|
+
* @param message ProxyGoingAway message or plain object to encode
|
|
20573
|
+
* @param [writer] Writer to encode to
|
|
20574
|
+
* @returns Writer
|
|
20575
|
+
*/
|
|
20576
|
+
static encodeDelimited(
|
|
20577
|
+
message: api$ProxyGoingAway,
|
|
20578
|
+
writer?: $protobuf.Writer
|
|
20579
|
+
): $protobuf.Writer;
|
|
20580
|
+
|
|
20581
|
+
/**
|
|
20582
|
+
* Decodes a ProxyGoingAway message from the specified reader or buffer.
|
|
20583
|
+
* @param reader Reader or buffer to decode from
|
|
20584
|
+
* @param [length] Message length if known beforehand
|
|
20585
|
+
* @returns ProxyGoingAway
|
|
20586
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20587
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20588
|
+
*/
|
|
20589
|
+
static decode(
|
|
20590
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
20591
|
+
length?: number
|
|
20592
|
+
): api$ProxyGoingAway;
|
|
20593
|
+
|
|
20594
|
+
/**
|
|
20595
|
+
* Decodes a ProxyGoingAway message from the specified reader or buffer, length delimited.
|
|
20596
|
+
* @param reader Reader or buffer to decode from
|
|
20597
|
+
* @returns ProxyGoingAway
|
|
20598
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20599
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20600
|
+
*/
|
|
20601
|
+
static decodeDelimited(
|
|
20602
|
+
reader: $protobuf.Reader | Uint8Array
|
|
20603
|
+
): api$ProxyGoingAway;
|
|
20604
|
+
|
|
20605
|
+
/**
|
|
20606
|
+
* Verifies a ProxyGoingAway message.
|
|
20607
|
+
* @param message Plain object to verify
|
|
20608
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20609
|
+
*/
|
|
20610
|
+
static verify(message: {|
|
|
20611
|
+
[k: string]: any,
|
|
20612
|
+
|}): string | null;
|
|
20613
|
+
|
|
20614
|
+
/**
|
|
20615
|
+
* Creates a ProxyGoingAway message from a plain object. Also converts values to their respective internal types.
|
|
20616
|
+
* @param object Plain object
|
|
20617
|
+
* @returns ProxyGoingAway
|
|
20618
|
+
*/
|
|
20619
|
+
static fromObject(object: {|
|
|
20620
|
+
[k: string]: any,
|
|
20621
|
+
|}): api$ProxyGoingAway;
|
|
20622
|
+
|
|
20623
|
+
/**
|
|
20624
|
+
* Creates a plain object from a ProxyGoingAway message. Also converts values to other types if specified.
|
|
20625
|
+
* @param message ProxyGoingAway
|
|
20626
|
+
* @param [options] Conversion options
|
|
20627
|
+
* @returns Plain object
|
|
20628
|
+
*/
|
|
20629
|
+
static toObject(
|
|
20630
|
+
message: api$ProxyGoingAway,
|
|
20631
|
+
options?: $protobuf.IConversionOptions
|
|
20632
|
+
): {|
|
|
20633
|
+
[k: string]: any,
|
|
20634
|
+
|};
|
|
20635
|
+
|
|
20636
|
+
/**
|
|
20637
|
+
* Converts this ProxyGoingAway to JSON.
|
|
20638
|
+
* @returns JSON object
|
|
20639
|
+
*/
|
|
20640
|
+
toJSON(): {|
|
|
20641
|
+
[k: string]: any,
|
|
20642
|
+
|};
|
|
20643
|
+
}
|
|
20644
|
+
|
|
20645
|
+
/**
|
|
20646
|
+
* Properties of a FirewallDenied.
|
|
20647
|
+
*/
|
|
20648
|
+
declare type api$IFirewallDenied = {||};
|
|
20649
|
+
|
|
20650
|
+
/**
|
|
20651
|
+
* Represents a FirewallDenied.
|
|
20652
|
+
*/
|
|
20653
|
+
declare class api$FirewallDenied {
|
|
20654
|
+
/**
|
|
20655
|
+
* Constructs a new FirewallDenied.
|
|
20656
|
+
* @param [properties] Properties to set
|
|
20657
|
+
*/
|
|
20658
|
+
constructor(properties?: api$IFirewallDenied): this;
|
|
20659
|
+
|
|
20660
|
+
/**
|
|
20661
|
+
* Creates a new FirewallDenied instance using the specified properties.
|
|
20662
|
+
* @param [properties] Properties to set
|
|
20663
|
+
* @returns FirewallDenied instance
|
|
20664
|
+
*/
|
|
20665
|
+
static create(properties?: api$IFirewallDenied): api$FirewallDenied;
|
|
20666
|
+
|
|
20667
|
+
/**
|
|
20668
|
+
* [object Object],[object Object],[object Object]
|
|
20669
|
+
* @param message FirewallDenied message or plain object to encode
|
|
20670
|
+
* @param [writer] Writer to encode to
|
|
20671
|
+
* @returns Writer
|
|
20672
|
+
*/
|
|
20673
|
+
static encode(
|
|
20674
|
+
message: api$FirewallDenied,
|
|
20675
|
+
writer?: $protobuf.Writer
|
|
20676
|
+
): $protobuf.Writer;
|
|
20677
|
+
|
|
20678
|
+
/**
|
|
20679
|
+
* [object Object],[object Object],[object Object]
|
|
20680
|
+
* @param message FirewallDenied message or plain object to encode
|
|
20681
|
+
* @param [writer] Writer to encode to
|
|
20682
|
+
* @returns Writer
|
|
20683
|
+
*/
|
|
20684
|
+
static encodeDelimited(
|
|
20685
|
+
message: api$FirewallDenied,
|
|
20686
|
+
writer?: $protobuf.Writer
|
|
20687
|
+
): $protobuf.Writer;
|
|
20688
|
+
|
|
20689
|
+
/**
|
|
20690
|
+
* Decodes a FirewallDenied message from the specified reader or buffer.
|
|
20691
|
+
* @param reader Reader or buffer to decode from
|
|
20692
|
+
* @param [length] Message length if known beforehand
|
|
20693
|
+
* @returns FirewallDenied
|
|
20694
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20695
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20696
|
+
*/
|
|
20697
|
+
static decode(
|
|
20698
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
20699
|
+
length?: number
|
|
20700
|
+
): api$FirewallDenied;
|
|
20701
|
+
|
|
20702
|
+
/**
|
|
20703
|
+
* Decodes a FirewallDenied message from the specified reader or buffer, length delimited.
|
|
20704
|
+
* @param reader Reader or buffer to decode from
|
|
20705
|
+
* @returns FirewallDenied
|
|
20706
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20707
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20708
|
+
*/
|
|
20709
|
+
static decodeDelimited(
|
|
20710
|
+
reader: $protobuf.Reader | Uint8Array
|
|
20711
|
+
): api$FirewallDenied;
|
|
20712
|
+
|
|
20713
|
+
/**
|
|
20714
|
+
* Verifies a FirewallDenied message.
|
|
20715
|
+
* @param message Plain object to verify
|
|
20716
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20717
|
+
*/
|
|
20718
|
+
static verify(message: {|
|
|
20719
|
+
[k: string]: any,
|
|
20720
|
+
|}): string | null;
|
|
20721
|
+
|
|
20722
|
+
/**
|
|
20723
|
+
* Creates a FirewallDenied message from a plain object. Also converts values to their respective internal types.
|
|
20724
|
+
* @param object Plain object
|
|
20725
|
+
* @returns FirewallDenied
|
|
20726
|
+
*/
|
|
20727
|
+
static fromObject(object: {|
|
|
20728
|
+
[k: string]: any,
|
|
20729
|
+
|}): api$FirewallDenied;
|
|
20730
|
+
|
|
20731
|
+
/**
|
|
20732
|
+
* Creates a plain object from a FirewallDenied message. Also converts values to other types if specified.
|
|
20733
|
+
* @param message FirewallDenied
|
|
20734
|
+
* @param [options] Conversion options
|
|
20735
|
+
* @returns Plain object
|
|
20736
|
+
*/
|
|
20737
|
+
static toObject(
|
|
20738
|
+
message: api$FirewallDenied,
|
|
20739
|
+
options?: $protobuf.IConversionOptions
|
|
20740
|
+
): {|
|
|
20741
|
+
[k: string]: any,
|
|
20742
|
+
|};
|
|
20743
|
+
|
|
20744
|
+
/**
|
|
20745
|
+
* Converts this FirewallDenied to JSON.
|
|
20746
|
+
* @returns JSON object
|
|
20747
|
+
*/
|
|
20748
|
+
toJSON(): {|
|
|
20749
|
+
[k: string]: any,
|
|
20750
|
+
|};
|
|
20751
|
+
}
|
|
20752
|
+
|
|
20318
20753
|
/**
|
|
20319
20754
|
* Properties of a Repl.
|
|
20320
20755
|
*/
|
|
@@ -20511,6 +20946,11 @@ declare type api$IResourceLimits = {|
|
|
|
20511
20946
|
* ResourceLimits cache
|
|
20512
20947
|
*/
|
|
20513
20948
|
cache?: $Values<typeof api$ResourceLimits$Cachability> | null,
|
|
20949
|
+
|
|
20950
|
+
/**
|
|
20951
|
+
* ResourceLimits restrictNetwork
|
|
20952
|
+
*/
|
|
20953
|
+
restrictNetwork?: boolean | null,
|
|
20514
20954
|
|};
|
|
20515
20955
|
|
|
20516
20956
|
/**
|
|
@@ -20553,6 +20993,11 @@ declare class api$ResourceLimits {
|
|
|
20553
20993
|
*/
|
|
20554
20994
|
cache: $Values<typeof api$ResourceLimits$Cachability>;
|
|
20555
20995
|
|
|
20996
|
+
/**
|
|
20997
|
+
* ResourceLimits restrictNetwork.
|
|
20998
|
+
*/
|
|
20999
|
+
restrictNetwork: boolean;
|
|
21000
|
+
|
|
20556
21001
|
/**
|
|
20557
21002
|
* Creates a new ResourceLimits instance using the specified properties.
|
|
20558
21003
|
* @param [properties] Properties to set
|
|
@@ -21865,20 +22310,10 @@ declare type api$IClusterMetadata = {|
|
|
|
21865
22310
|
*/
|
|
21866
22311
|
gurl?: string | null,
|
|
21867
22312
|
|
|
21868
|
-
/**
|
|
21869
|
-
* ClusterMetadata proxyHost
|
|
21870
|
-
*/
|
|
21871
|
-
proxyHost?: string | null,
|
|
21872
|
-
|
|
21873
22313
|
/**
|
|
21874
22314
|
* ClusterMetadata proxy
|
|
21875
22315
|
*/
|
|
21876
22316
|
proxy?: string | null,
|
|
21877
|
-
|
|
21878
|
-
/**
|
|
21879
|
-
* ClusterMetadata proxyIP
|
|
21880
|
-
*/
|
|
21881
|
-
proxyIP?: string | null,
|
|
21882
22317
|
|};
|
|
21883
22318
|
|
|
21884
22319
|
/**
|
|
@@ -21906,21 +22341,11 @@ declare class api$ClusterMetadata {
|
|
|
21906
22341
|
*/
|
|
21907
22342
|
gurl: string;
|
|
21908
22343
|
|
|
21909
|
-
/**
|
|
21910
|
-
* ClusterMetadata proxyHost.
|
|
21911
|
-
*/
|
|
21912
|
-
proxyHost: string;
|
|
21913
|
-
|
|
21914
22344
|
/**
|
|
21915
22345
|
* ClusterMetadata proxy.
|
|
21916
22346
|
*/
|
|
21917
22347
|
proxy: string;
|
|
21918
22348
|
|
|
21919
|
-
/**
|
|
21920
|
-
* ClusterMetadata proxyIP.
|
|
21921
|
-
*/
|
|
21922
|
-
proxyIP: string;
|
|
21923
|
-
|
|
21924
22349
|
/**
|
|
21925
22350
|
* Creates a new ClusterMetadata instance using the specified properties.
|
|
21926
22351
|
* @param [properties] Properties to set
|