@replit/protocol 0.2.53 → 0.2.54
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 +323 -2
- package/main/index.js +860 -52
- package/main/index.js.flow +446 -1
- package/package.json +1 -1
package/main/index.js.flow
CHANGED
|
@@ -151,6 +151,8 @@ declare var npm$namespace$api: {|
|
|
|
151
151
|
IDebugBreakpointEvent: Class<api$IDebugBreakpointEvent>,
|
|
152
152
|
IDebugBreakpoint: Class<api$IDebugBreakpoint>,
|
|
153
153
|
IDotReplit: Class<api$IDotReplit>,
|
|
154
|
+
INixConfig: Class<api$INixConfig>,
|
|
155
|
+
IHostingConfig: Class<api$IHostingConfig>,
|
|
154
156
|
IDotReplitInterp: Class<api$IDotReplitInterp>,
|
|
155
157
|
IDotReplitLanguage: Class<api$IDotReplitLanguage>,
|
|
156
158
|
ILanguageServerConfig: Class<api$ILanguageServerConfig>,
|
|
@@ -174,6 +176,7 @@ declare var npm$namespace$api: {|
|
|
|
174
176
|
ICertificateClaim: Class<api$ICertificateClaim>,
|
|
175
177
|
IGovalCert: Class<api$IGovalCert>,
|
|
176
178
|
IGovalToken: Class<api$IGovalToken>,
|
|
179
|
+
IGovalReplIdentity: Class<api$IGovalReplIdentity>,
|
|
177
180
|
Command: typeof api$Command,
|
|
178
181
|
StartLSP: typeof api$StartLSP,
|
|
179
182
|
Audio: typeof api$Audio,
|
|
@@ -312,6 +315,8 @@ declare var npm$namespace$api: {|
|
|
|
312
315
|
DebugBreakpointEvent: typeof api$DebugBreakpointEvent,
|
|
313
316
|
DebugBreakpoint: typeof api$DebugBreakpoint,
|
|
314
317
|
DotReplit: typeof api$DotReplit,
|
|
318
|
+
NixConfig: typeof api$NixConfig,
|
|
319
|
+
HostingConfig: typeof api$HostingConfig,
|
|
315
320
|
DotReplitInterp: typeof api$DotReplitInterp,
|
|
316
321
|
DotReplitLanguage: typeof api$DotReplitLanguage,
|
|
317
322
|
LanguageServerConfig: typeof api$LanguageServerConfig,
|
|
@@ -335,6 +340,7 @@ declare var npm$namespace$api: {|
|
|
|
335
340
|
CertificateClaim: typeof api$CertificateClaim,
|
|
336
341
|
GovalCert: typeof api$GovalCert,
|
|
337
342
|
GovalToken: typeof api$GovalToken,
|
|
343
|
+
GovalReplIdentity: typeof api$GovalReplIdentity,
|
|
338
344
|
|};
|
|
339
345
|
|
|
340
346
|
/**
|
|
@@ -19839,6 +19845,28 @@ declare type api$IDotReplit = {|
|
|
|
19839
19845
|
* DotReplit hidden
|
|
19840
19846
|
*/
|
|
19841
19847
|
hidden?: string[] | null,
|
|
19848
|
+
|
|
19849
|
+
/**
|
|
19850
|
+
* DotReplit nix
|
|
19851
|
+
*/
|
|
19852
|
+
nix?: api$NixConfig | api$INixConfig | null,
|
|
19853
|
+
|
|
19854
|
+
/**
|
|
19855
|
+
* DotReplit audio
|
|
19856
|
+
*/
|
|
19857
|
+
audio?: boolean | null,
|
|
19858
|
+
|
|
19859
|
+
/**
|
|
19860
|
+
* DotReplit hosting
|
|
19861
|
+
*/
|
|
19862
|
+
hosting?: api$HostingConfig | api$IHostingConfig | null,
|
|
19863
|
+
|
|
19864
|
+
/**
|
|
19865
|
+
* DotReplit env
|
|
19866
|
+
*/
|
|
19867
|
+
env?: {|
|
|
19868
|
+
[k: string]: string,
|
|
19869
|
+
|} | null,
|
|
19842
19870
|
|};
|
|
19843
19871
|
|
|
19844
19872
|
/**
|
|
@@ -19908,6 +19936,28 @@ declare class api$DotReplit {
|
|
|
19908
19936
|
*/
|
|
19909
19937
|
hidden: string[];
|
|
19910
19938
|
|
|
19939
|
+
/**
|
|
19940
|
+
* DotReplit nix.
|
|
19941
|
+
*/
|
|
19942
|
+
nix?: api$NixConfig | null;
|
|
19943
|
+
|
|
19944
|
+
/**
|
|
19945
|
+
* DotReplit audio.
|
|
19946
|
+
*/
|
|
19947
|
+
audio: boolean;
|
|
19948
|
+
|
|
19949
|
+
/**
|
|
19950
|
+
* DotReplit hosting.
|
|
19951
|
+
*/
|
|
19952
|
+
hosting?: api$HostingConfig | null;
|
|
19953
|
+
|
|
19954
|
+
/**
|
|
19955
|
+
* DotReplit env.
|
|
19956
|
+
*/
|
|
19957
|
+
env: {|
|
|
19958
|
+
[k: string]: string,
|
|
19959
|
+
|};
|
|
19960
|
+
|
|
19911
19961
|
/**
|
|
19912
19962
|
* Creates a new DotReplit instance using the specified properties.
|
|
19913
19963
|
* @param [properties] Properties to set
|
|
@@ -19999,6 +20049,250 @@ declare class api$DotReplit {
|
|
|
19999
20049
|
|};
|
|
20000
20050
|
}
|
|
20001
20051
|
|
|
20052
|
+
/**
|
|
20053
|
+
* Properties of a NixConfig.
|
|
20054
|
+
*/
|
|
20055
|
+
declare type api$INixConfig = {|
|
|
20056
|
+
/**
|
|
20057
|
+
* NixConfig channel
|
|
20058
|
+
*/
|
|
20059
|
+
channel?: string | null,
|
|
20060
|
+
|};
|
|
20061
|
+
|
|
20062
|
+
/**
|
|
20063
|
+
* Represents a NixConfig.
|
|
20064
|
+
*/
|
|
20065
|
+
declare class api$NixConfig {
|
|
20066
|
+
/**
|
|
20067
|
+
* Constructs a new NixConfig.
|
|
20068
|
+
* @param [properties] Properties to set
|
|
20069
|
+
*/
|
|
20070
|
+
constructor(properties?: api$INixConfig): this;
|
|
20071
|
+
|
|
20072
|
+
/**
|
|
20073
|
+
* NixConfig channel.
|
|
20074
|
+
*/
|
|
20075
|
+
channel: string;
|
|
20076
|
+
|
|
20077
|
+
/**
|
|
20078
|
+
* Creates a new NixConfig instance using the specified properties.
|
|
20079
|
+
* @param [properties] Properties to set
|
|
20080
|
+
* @returns NixConfig instance
|
|
20081
|
+
*/
|
|
20082
|
+
static create(properties?: api$INixConfig): api$NixConfig;
|
|
20083
|
+
|
|
20084
|
+
/**
|
|
20085
|
+
* [object Object],[object Object],[object Object]
|
|
20086
|
+
* @param message NixConfig message or plain object to encode
|
|
20087
|
+
* @param [writer] Writer to encode to
|
|
20088
|
+
* @returns Writer
|
|
20089
|
+
*/
|
|
20090
|
+
static encode(
|
|
20091
|
+
message: api$NixConfig,
|
|
20092
|
+
writer?: $protobuf.Writer
|
|
20093
|
+
): $protobuf.Writer;
|
|
20094
|
+
|
|
20095
|
+
/**
|
|
20096
|
+
* [object Object],[object Object],[object Object]
|
|
20097
|
+
* @param message NixConfig message or plain object to encode
|
|
20098
|
+
* @param [writer] Writer to encode to
|
|
20099
|
+
* @returns Writer
|
|
20100
|
+
*/
|
|
20101
|
+
static encodeDelimited(
|
|
20102
|
+
message: api$NixConfig,
|
|
20103
|
+
writer?: $protobuf.Writer
|
|
20104
|
+
): $protobuf.Writer;
|
|
20105
|
+
|
|
20106
|
+
/**
|
|
20107
|
+
* Decodes a NixConfig message from the specified reader or buffer.
|
|
20108
|
+
* @param reader Reader or buffer to decode from
|
|
20109
|
+
* @param [length] Message length if known beforehand
|
|
20110
|
+
* @returns NixConfig
|
|
20111
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20112
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20113
|
+
*/
|
|
20114
|
+
static decode(
|
|
20115
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
20116
|
+
length?: number
|
|
20117
|
+
): api$NixConfig;
|
|
20118
|
+
|
|
20119
|
+
/**
|
|
20120
|
+
* Decodes a NixConfig message from the specified reader or buffer, length delimited.
|
|
20121
|
+
* @param reader Reader or buffer to decode from
|
|
20122
|
+
* @returns NixConfig
|
|
20123
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20124
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20125
|
+
*/
|
|
20126
|
+
static decodeDelimited(reader: $protobuf.Reader | Uint8Array): api$NixConfig;
|
|
20127
|
+
|
|
20128
|
+
/**
|
|
20129
|
+
* Verifies a NixConfig message.
|
|
20130
|
+
* @param message Plain object to verify
|
|
20131
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20132
|
+
*/
|
|
20133
|
+
static verify(message: {|
|
|
20134
|
+
[k: string]: any,
|
|
20135
|
+
|}): string | null;
|
|
20136
|
+
|
|
20137
|
+
/**
|
|
20138
|
+
* Creates a NixConfig message from a plain object. Also converts values to their respective internal types.
|
|
20139
|
+
* @param object Plain object
|
|
20140
|
+
* @returns NixConfig
|
|
20141
|
+
*/
|
|
20142
|
+
static fromObject(object: {|
|
|
20143
|
+
[k: string]: any,
|
|
20144
|
+
|}): api$NixConfig;
|
|
20145
|
+
|
|
20146
|
+
/**
|
|
20147
|
+
* Creates a plain object from a NixConfig message. Also converts values to other types if specified.
|
|
20148
|
+
* @param message NixConfig
|
|
20149
|
+
* @param [options] Conversion options
|
|
20150
|
+
* @returns Plain object
|
|
20151
|
+
*/
|
|
20152
|
+
static toObject(
|
|
20153
|
+
message: api$NixConfig,
|
|
20154
|
+
options?: $protobuf.IConversionOptions
|
|
20155
|
+
): {|
|
|
20156
|
+
[k: string]: any,
|
|
20157
|
+
|};
|
|
20158
|
+
|
|
20159
|
+
/**
|
|
20160
|
+
* Converts this NixConfig to JSON.
|
|
20161
|
+
* @returns JSON object
|
|
20162
|
+
*/
|
|
20163
|
+
toJSON(): {|
|
|
20164
|
+
[k: string]: any,
|
|
20165
|
+
|};
|
|
20166
|
+
}
|
|
20167
|
+
|
|
20168
|
+
/**
|
|
20169
|
+
* Properties of a HostingConfig.
|
|
20170
|
+
*/
|
|
20171
|
+
declare type api$IHostingConfig = {|
|
|
20172
|
+
/**
|
|
20173
|
+
* HostingConfig route
|
|
20174
|
+
*/
|
|
20175
|
+
route?: string | null,
|
|
20176
|
+
|
|
20177
|
+
/**
|
|
20178
|
+
* HostingConfig directory
|
|
20179
|
+
*/
|
|
20180
|
+
directory?: string | null,
|
|
20181
|
+
|};
|
|
20182
|
+
|
|
20183
|
+
/**
|
|
20184
|
+
* Represents a HostingConfig.
|
|
20185
|
+
*/
|
|
20186
|
+
declare class api$HostingConfig {
|
|
20187
|
+
/**
|
|
20188
|
+
* Constructs a new HostingConfig.
|
|
20189
|
+
* @param [properties] Properties to set
|
|
20190
|
+
*/
|
|
20191
|
+
constructor(properties?: api$IHostingConfig): this;
|
|
20192
|
+
|
|
20193
|
+
/**
|
|
20194
|
+
* HostingConfig route.
|
|
20195
|
+
*/
|
|
20196
|
+
route: string;
|
|
20197
|
+
|
|
20198
|
+
/**
|
|
20199
|
+
* HostingConfig directory.
|
|
20200
|
+
*/
|
|
20201
|
+
directory: string;
|
|
20202
|
+
|
|
20203
|
+
/**
|
|
20204
|
+
* Creates a new HostingConfig instance using the specified properties.
|
|
20205
|
+
* @param [properties] Properties to set
|
|
20206
|
+
* @returns HostingConfig instance
|
|
20207
|
+
*/
|
|
20208
|
+
static create(properties?: api$IHostingConfig): api$HostingConfig;
|
|
20209
|
+
|
|
20210
|
+
/**
|
|
20211
|
+
* [object Object],[object Object],[object Object]
|
|
20212
|
+
* @param message HostingConfig message or plain object to encode
|
|
20213
|
+
* @param [writer] Writer to encode to
|
|
20214
|
+
* @returns Writer
|
|
20215
|
+
*/
|
|
20216
|
+
static encode(
|
|
20217
|
+
message: api$HostingConfig,
|
|
20218
|
+
writer?: $protobuf.Writer
|
|
20219
|
+
): $protobuf.Writer;
|
|
20220
|
+
|
|
20221
|
+
/**
|
|
20222
|
+
* [object Object],[object Object],[object Object]
|
|
20223
|
+
* @param message HostingConfig message or plain object to encode
|
|
20224
|
+
* @param [writer] Writer to encode to
|
|
20225
|
+
* @returns Writer
|
|
20226
|
+
*/
|
|
20227
|
+
static encodeDelimited(
|
|
20228
|
+
message: api$HostingConfig,
|
|
20229
|
+
writer?: $protobuf.Writer
|
|
20230
|
+
): $protobuf.Writer;
|
|
20231
|
+
|
|
20232
|
+
/**
|
|
20233
|
+
* Decodes a HostingConfig message from the specified reader or buffer.
|
|
20234
|
+
* @param reader Reader or buffer to decode from
|
|
20235
|
+
* @param [length] Message length if known beforehand
|
|
20236
|
+
* @returns HostingConfig
|
|
20237
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20238
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20239
|
+
*/
|
|
20240
|
+
static decode(
|
|
20241
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
20242
|
+
length?: number
|
|
20243
|
+
): api$HostingConfig;
|
|
20244
|
+
|
|
20245
|
+
/**
|
|
20246
|
+
* Decodes a HostingConfig message from the specified reader or buffer, length delimited.
|
|
20247
|
+
* @param reader Reader or buffer to decode from
|
|
20248
|
+
* @returns HostingConfig
|
|
20249
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20250
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20251
|
+
*/
|
|
20252
|
+
static decodeDelimited(
|
|
20253
|
+
reader: $protobuf.Reader | Uint8Array
|
|
20254
|
+
): api$HostingConfig;
|
|
20255
|
+
|
|
20256
|
+
/**
|
|
20257
|
+
* Verifies a HostingConfig message.
|
|
20258
|
+
* @param message Plain object to verify
|
|
20259
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20260
|
+
*/
|
|
20261
|
+
static verify(message: {|
|
|
20262
|
+
[k: string]: any,
|
|
20263
|
+
|}): string | null;
|
|
20264
|
+
|
|
20265
|
+
/**
|
|
20266
|
+
* Creates a HostingConfig message from a plain object. Also converts values to their respective internal types.
|
|
20267
|
+
* @param object Plain object
|
|
20268
|
+
* @returns HostingConfig
|
|
20269
|
+
*/
|
|
20270
|
+
static fromObject(object: {|
|
|
20271
|
+
[k: string]: any,
|
|
20272
|
+
|}): api$HostingConfig;
|
|
20273
|
+
|
|
20274
|
+
/**
|
|
20275
|
+
* Creates a plain object from a HostingConfig message. Also converts values to other types if specified.
|
|
20276
|
+
* @param message HostingConfig
|
|
20277
|
+
* @param [options] Conversion options
|
|
20278
|
+
* @returns Plain object
|
|
20279
|
+
*/
|
|
20280
|
+
static toObject(
|
|
20281
|
+
message: api$HostingConfig,
|
|
20282
|
+
options?: $protobuf.IConversionOptions
|
|
20283
|
+
): {|
|
|
20284
|
+
[k: string]: any,
|
|
20285
|
+
|};
|
|
20286
|
+
|
|
20287
|
+
/**
|
|
20288
|
+
* Converts this HostingConfig to JSON.
|
|
20289
|
+
* @returns JSON object
|
|
20290
|
+
*/
|
|
20291
|
+
toJSON(): {|
|
|
20292
|
+
[k: string]: any,
|
|
20293
|
+
|};
|
|
20294
|
+
}
|
|
20295
|
+
|
|
20002
20296
|
/**
|
|
20003
20297
|
* Properties of a DotReplitInterp.
|
|
20004
20298
|
*/
|
|
@@ -23288,6 +23582,9 @@ declare class api$GovalSigningAuthority {
|
|
|
23288
23582
|
declare var api$FlagClaim: {|
|
|
23289
23583
|
+MINT_GOVAL_TOKEN: 0, // 0
|
|
23290
23584
|
+SIGN_INTERMEDIATE_CERT: 1, // 1
|
|
23585
|
+
+ANY_REPLID: 2, // 2
|
|
23586
|
+
+ANY_USER: 3, // 3
|
|
23587
|
+
+ANY_CLUSTER: 4, // 4
|
|
23291
23588
|
|};
|
|
23292
23589
|
|
|
23293
23590
|
/**
|
|
@@ -23304,6 +23601,11 @@ declare type api$ICertificateClaim = {|
|
|
|
23304
23601
|
*/
|
|
23305
23602
|
user?: string | null,
|
|
23306
23603
|
|
|
23604
|
+
/**
|
|
23605
|
+
* CertificateClaim cluster
|
|
23606
|
+
*/
|
|
23607
|
+
cluster?: string | null,
|
|
23608
|
+
|
|
23307
23609
|
/**
|
|
23308
23610
|
* CertificateClaim flag
|
|
23309
23611
|
*/
|
|
@@ -23330,6 +23632,11 @@ declare class api$CertificateClaim {
|
|
|
23330
23632
|
*/
|
|
23331
23633
|
user?: string | null;
|
|
23332
23634
|
|
|
23635
|
+
/**
|
|
23636
|
+
* CertificateClaim cluster.
|
|
23637
|
+
*/
|
|
23638
|
+
cluster?: string | null;
|
|
23639
|
+
|
|
23333
23640
|
/**
|
|
23334
23641
|
* CertificateClaim flag.
|
|
23335
23642
|
*/
|
|
@@ -23338,7 +23645,7 @@ declare class api$CertificateClaim {
|
|
|
23338
23645
|
/**
|
|
23339
23646
|
* CertificateClaim claim.
|
|
23340
23647
|
*/
|
|
23341
|
-
claim?: "replid" | "user" | "flag";
|
|
23648
|
+
claim?: "replid" | "user" | "cluster" | "flag";
|
|
23342
23649
|
|
|
23343
23650
|
/**
|
|
23344
23651
|
* Creates a new CertificateClaim instance using the specified properties.
|
|
@@ -23729,6 +24036,144 @@ declare class api$GovalToken {
|
|
|
23729
24036
|
[k: string]: any,
|
|
23730
24037
|
|};
|
|
23731
24038
|
}
|
|
24039
|
+
|
|
24040
|
+
/**
|
|
24041
|
+
* Properties of a GovalReplIdentity.
|
|
24042
|
+
*/
|
|
24043
|
+
declare type api$IGovalReplIdentity = {|
|
|
24044
|
+
/**
|
|
24045
|
+
* GovalReplIdentity replid
|
|
24046
|
+
*/
|
|
24047
|
+
replid?: string | null,
|
|
24048
|
+
|
|
24049
|
+
/**
|
|
24050
|
+
* GovalReplIdentity user
|
|
24051
|
+
*/
|
|
24052
|
+
user?: string | null,
|
|
24053
|
+
|
|
24054
|
+
/**
|
|
24055
|
+
* GovalReplIdentity slug
|
|
24056
|
+
*/
|
|
24057
|
+
slug?: string | null,
|
|
24058
|
+
|};
|
|
24059
|
+
|
|
24060
|
+
/**
|
|
24061
|
+
* Represents a GovalReplIdentity.
|
|
24062
|
+
*/
|
|
24063
|
+
declare class api$GovalReplIdentity {
|
|
24064
|
+
/**
|
|
24065
|
+
* Constructs a new GovalReplIdentity.
|
|
24066
|
+
* @param [properties] Properties to set
|
|
24067
|
+
*/
|
|
24068
|
+
constructor(properties?: api$IGovalReplIdentity): this;
|
|
24069
|
+
|
|
24070
|
+
/**
|
|
24071
|
+
* GovalReplIdentity replid.
|
|
24072
|
+
*/
|
|
24073
|
+
replid: string;
|
|
24074
|
+
|
|
24075
|
+
/**
|
|
24076
|
+
* GovalReplIdentity user.
|
|
24077
|
+
*/
|
|
24078
|
+
user: string;
|
|
24079
|
+
|
|
24080
|
+
/**
|
|
24081
|
+
* GovalReplIdentity slug.
|
|
24082
|
+
*/
|
|
24083
|
+
slug: string;
|
|
24084
|
+
|
|
24085
|
+
/**
|
|
24086
|
+
* Creates a new GovalReplIdentity instance using the specified properties.
|
|
24087
|
+
* @param [properties] Properties to set
|
|
24088
|
+
* @returns GovalReplIdentity instance
|
|
24089
|
+
*/
|
|
24090
|
+
static create(properties?: api$IGovalReplIdentity): api$GovalReplIdentity;
|
|
24091
|
+
|
|
24092
|
+
/**
|
|
24093
|
+
* [object Object],[object Object],[object Object]
|
|
24094
|
+
* @param message GovalReplIdentity message or plain object to encode
|
|
24095
|
+
* @param [writer] Writer to encode to
|
|
24096
|
+
* @returns Writer
|
|
24097
|
+
*/
|
|
24098
|
+
static encode(
|
|
24099
|
+
message: api$GovalReplIdentity,
|
|
24100
|
+
writer?: $protobuf.Writer
|
|
24101
|
+
): $protobuf.Writer;
|
|
24102
|
+
|
|
24103
|
+
/**
|
|
24104
|
+
* [object Object],[object Object],[object Object]
|
|
24105
|
+
* @param message GovalReplIdentity message or plain object to encode
|
|
24106
|
+
* @param [writer] Writer to encode to
|
|
24107
|
+
* @returns Writer
|
|
24108
|
+
*/
|
|
24109
|
+
static encodeDelimited(
|
|
24110
|
+
message: api$GovalReplIdentity,
|
|
24111
|
+
writer?: $protobuf.Writer
|
|
24112
|
+
): $protobuf.Writer;
|
|
24113
|
+
|
|
24114
|
+
/**
|
|
24115
|
+
* Decodes a GovalReplIdentity message from the specified reader or buffer.
|
|
24116
|
+
* @param reader Reader or buffer to decode from
|
|
24117
|
+
* @param [length] Message length if known beforehand
|
|
24118
|
+
* @returns GovalReplIdentity
|
|
24119
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24120
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24121
|
+
*/
|
|
24122
|
+
static decode(
|
|
24123
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
24124
|
+
length?: number
|
|
24125
|
+
): api$GovalReplIdentity;
|
|
24126
|
+
|
|
24127
|
+
/**
|
|
24128
|
+
* Decodes a GovalReplIdentity message from the specified reader or buffer, length delimited.
|
|
24129
|
+
* @param reader Reader or buffer to decode from
|
|
24130
|
+
* @returns GovalReplIdentity
|
|
24131
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24132
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24133
|
+
*/
|
|
24134
|
+
static decodeDelimited(
|
|
24135
|
+
reader: $protobuf.Reader | Uint8Array
|
|
24136
|
+
): api$GovalReplIdentity;
|
|
24137
|
+
|
|
24138
|
+
/**
|
|
24139
|
+
* Verifies a GovalReplIdentity message.
|
|
24140
|
+
* @param message Plain object to verify
|
|
24141
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
24142
|
+
*/
|
|
24143
|
+
static verify(message: {|
|
|
24144
|
+
[k: string]: any,
|
|
24145
|
+
|}): string | null;
|
|
24146
|
+
|
|
24147
|
+
/**
|
|
24148
|
+
* Creates a GovalReplIdentity message from a plain object. Also converts values to their respective internal types.
|
|
24149
|
+
* @param object Plain object
|
|
24150
|
+
* @returns GovalReplIdentity
|
|
24151
|
+
*/
|
|
24152
|
+
static fromObject(object: {|
|
|
24153
|
+
[k: string]: any,
|
|
24154
|
+
|}): api$GovalReplIdentity;
|
|
24155
|
+
|
|
24156
|
+
/**
|
|
24157
|
+
* Creates a plain object from a GovalReplIdentity message. Also converts values to other types if specified.
|
|
24158
|
+
* @param message GovalReplIdentity
|
|
24159
|
+
* @param [options] Conversion options
|
|
24160
|
+
* @returns Plain object
|
|
24161
|
+
*/
|
|
24162
|
+
static toObject(
|
|
24163
|
+
message: api$GovalReplIdentity,
|
|
24164
|
+
options?: $protobuf.IConversionOptions
|
|
24165
|
+
): {|
|
|
24166
|
+
[k: string]: any,
|
|
24167
|
+
|};
|
|
24168
|
+
|
|
24169
|
+
/**
|
|
24170
|
+
* Converts this GovalReplIdentity to JSON.
|
|
24171
|
+
* @returns JSON object
|
|
24172
|
+
*/
|
|
24173
|
+
toJSON(): {|
|
|
24174
|
+
[k: string]: any,
|
|
24175
|
+
|};
|
|
24176
|
+
}
|
|
23732
24177
|
declare var google: typeof npm$namespace$google;
|
|
23733
24178
|
|
|
23734
24179
|
declare var npm$namespace$google: {|
|