@replit/protocol 0.3.12 → 0.3.14

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.
@@ -470,6 +470,7 @@ declare var npm$namespace$replit$goval$api: {|
470
470
  lore: typeof npm$namespace$replit$goval$api$lore,
471
471
  features: typeof npm$namespace$replit$goval$api$features,
472
472
  repl: typeof npm$namespace$replit$goval$api$repl,
473
+ pid2: typeof npm$namespace$replit$goval$api$pid2,
473
474
  |};
474
475
 
475
476
  /**
@@ -1710,6 +1711,22 @@ declare type replit$goval$api$ICommand = {|
1710
1711
  | replit$goval$api$INixModulesGetRegistryResponse
1711
1712
  | null,
1712
1713
 
1714
+ /**
1715
+ * Command pid2Input
1716
+ */
1717
+ pid2Input?:
1718
+ | replit$goval$api$pid2$ClientFrame
1719
+ | replit$goval$api$pid2$IClientFrame
1720
+ | null,
1721
+
1722
+ /**
1723
+ * Command pid2Output
1724
+ */
1725
+ pid2Output?:
1726
+ | replit$goval$api$pid2$ServerFrame
1727
+ | replit$goval$api$pid2$IServerFrame
1728
+ | null,
1729
+
1713
1730
  /**
1714
1731
  * Command ref
1715
1732
  */
@@ -2643,6 +2660,16 @@ declare class replit$goval$api$Command {
2643
2660
  */
2644
2661
  nixModulesGetRegistryResponse?: replit$goval$api$NixModulesGetRegistryResponse | null;
2645
2662
 
2663
+ /**
2664
+ * Command pid2Input.
2665
+ */
2666
+ pid2Input?: replit$goval$api$pid2$ClientFrame | null;
2667
+
2668
+ /**
2669
+ * Command pid2Output.
2670
+ */
2671
+ pid2Output?: replit$goval$api$pid2$ServerFrame | null;
2672
+
2646
2673
  /**
2647
2674
  * Command ref.
2648
2675
  */
@@ -2838,7 +2865,9 @@ declare class replit$goval$api$Command {
2838
2865
  | "toolchainChanged"
2839
2866
  | "replspaceApiOpenMultipleFiles"
2840
2867
  | "nixModulesGetRegistryRequest"
2841
- | "nixModulesGetRegistryResponse";
2868
+ | "nixModulesGetRegistryResponse"
2869
+ | "pid2Input"
2870
+ | "pid2Output";
2842
2871
 
2843
2872
  /**
2844
2873
  * Creates a new Command instance using the specified properties.
@@ -29267,6 +29296,11 @@ declare type replit$goval$api$IRunOption = {|
29267
29296
  | replit$goval$api$FileTypeAttrs
29268
29297
  | replit$goval$api$IFileTypeAttrs
29269
29298
  | null,
29299
+
29300
+ /**
29301
+ * RunOption interpreter
29302
+ */
29303
+ interpreter?: boolean | null,
29270
29304
  |};
29271
29305
 
29272
29306
  /**
@@ -29304,6 +29338,11 @@ declare class replit$goval$api$RunOption {
29304
29338
  */
29305
29339
  fileTypeAttrs?: replit$goval$api$FileTypeAttrs | null;
29306
29340
 
29341
+ /**
29342
+ * RunOption interpreter.
29343
+ */
29344
+ interpreter: boolean;
29345
+
29307
29346
  /**
29308
29347
  * Creates a new RunOption instance using the specified properties.
29309
29348
  * @param [properties] Properties to set
@@ -34462,11 +34501,6 @@ declare type replit$goval$api$lore$IRestore = {|
34462
34501
  * Restore replId
34463
34502
  */
34464
34503
  replId?: string | null,
34465
-
34466
- /**
34467
- * Restore restoreReplId
34468
- */
34469
- restoreReplId?: string | null,
34470
34504
  |};
34471
34505
 
34472
34506
  /**
@@ -34484,11 +34518,6 @@ declare class replit$goval$api$lore$Restore {
34484
34518
  */
34485
34519
  replId: string;
34486
34520
 
34487
- /**
34488
- * Restore restoreReplId.
34489
- */
34490
- restoreReplId: string;
34491
-
34492
34521
  /**
34493
34522
  * Creates a new Restore instance using the specified properties.
34494
34523
  * @param [properties] Properties to set
@@ -37093,118 +37122,184 @@ declare class replit$goval$api$UserPowerUps {
37093
37122
  [k: string]: any,
37094
37123
  |};
37095
37124
  }
37096
- export var google = npm$namespace$google;
37097
-
37098
- declare var npm$namespace$google: {|
37099
- protobuf: typeof npm$namespace$google$protobuf,
37100
- |};
37101
37125
 
37102
- declare var npm$namespace$google$protobuf: {|
37103
- NullValue: typeof google$protobuf$NullValue,
37104
- ITimestamp: Class<google$protobuf$ITimestamp>,
37105
- IStruct: Class<google$protobuf$IStruct>,
37106
- IValue: Class<google$protobuf$IValue>,
37107
- IListValue: Class<google$protobuf$IListValue>,
37108
- IFieldMask: Class<google$protobuf$IFieldMask>,
37109
- Timestamp: typeof google$protobuf$Timestamp,
37110
- Struct: typeof google$protobuf$Struct,
37111
- Value: typeof google$protobuf$Value,
37112
- ListValue: typeof google$protobuf$ListValue,
37113
- FieldMask: typeof google$protobuf$FieldMask,
37126
+ declare var npm$namespace$replit$goval$api$pid2: {|
37127
+ IClientFrame: Class<replit$goval$api$pid2$IClientFrame>,
37128
+ IServerFrame: Class<replit$goval$api$pid2$IServerFrame>,
37129
+ IUnaryCallRequest: Class<replit$goval$api$pid2$IUnaryCallRequest>,
37130
+ IStreamCallRequest: Class<replit$goval$api$pid2$IStreamCallRequest>,
37131
+ IStreamContinuationRequest: Class<replit$goval$api$pid2$IStreamContinuationRequest>,
37132
+ IStreamCancelRequest: Class<replit$goval$api$pid2$IStreamCancelRequest>,
37133
+ IUnaryCallResponse: Class<replit$goval$api$pid2$IUnaryCallResponse>,
37134
+ IStreamContinuationResponse: Class<replit$goval$api$pid2$IStreamContinuationResponse>,
37135
+ IError: Class<replit$goval$api$pid2$IError>,
37136
+ IPing: Class<replit$goval$api$pid2$IPing>,
37137
+ ClientFrame: typeof replit$goval$api$pid2$ClientFrame,
37138
+ ServerFrame: typeof replit$goval$api$pid2$ServerFrame,
37139
+ UnaryCallRequest: typeof replit$goval$api$pid2$UnaryCallRequest,
37140
+ StreamCallRequest: typeof replit$goval$api$pid2$StreamCallRequest,
37141
+ StreamContinuationRequest: typeof replit$goval$api$pid2$StreamContinuationRequest,
37142
+ StreamCancelRequest: typeof replit$goval$api$pid2$StreamCancelRequest,
37143
+ UnaryCallResponse: typeof replit$goval$api$pid2$UnaryCallResponse,
37144
+ StreamContinuationResponse: typeof replit$goval$api$pid2$StreamContinuationResponse,
37145
+ Error: typeof replit$goval$api$pid2$Error,
37146
+ Ping: typeof replit$goval$api$pid2$Ping,
37114
37147
  |};
37115
37148
 
37116
37149
  /**
37117
- * Properties of a Timestamp.
37150
+ * Properties of a ClientFrame.
37118
37151
  */
37119
- declare type google$protobuf$ITimestamp = {|
37152
+ declare type replit$goval$api$pid2$IClientFrame = {|
37120
37153
  /**
37121
- * Timestamp seconds
37154
+ * ClientFrame sessionId
37122
37155
  */
37123
- seconds?: number | null,
37156
+ sessionId?: number | null,
37124
37157
 
37125
37158
  /**
37126
- * Timestamp nanos
37159
+ * ClientFrame unaryCall
37127
37160
  */
37128
- nanos?: number | null,
37161
+ unaryCall?:
37162
+ | replit$goval$api$pid2$UnaryCallRequest
37163
+ | replit$goval$api$pid2$IUnaryCallRequest
37164
+ | null,
37165
+
37166
+ /**
37167
+ * ClientFrame streamCall
37168
+ */
37169
+ streamCall?:
37170
+ | replit$goval$api$pid2$StreamCallRequest
37171
+ | replit$goval$api$pid2$IStreamCallRequest
37172
+ | null,
37173
+
37174
+ /**
37175
+ * ClientFrame streamContinuation
37176
+ */
37177
+ streamContinuation?:
37178
+ | replit$goval$api$pid2$StreamContinuationRequest
37179
+ | replit$goval$api$pid2$IStreamContinuationRequest
37180
+ | null,
37181
+
37182
+ /**
37183
+ * ClientFrame streamCancel
37184
+ */
37185
+ streamCancel?:
37186
+ | replit$goval$api$pid2$StreamCancelRequest
37187
+ | replit$goval$api$pid2$IStreamCancelRequest
37188
+ | null,
37189
+
37190
+ /**
37191
+ * ClientFrame ping
37192
+ */
37193
+ ping?: replit$goval$api$pid2$Ping | replit$goval$api$pid2$IPing | null,
37129
37194
  |};
37130
37195
 
37131
37196
  /**
37132
- * Represents a Timestamp.
37197
+ * Represents a ClientFrame.
37133
37198
  */
37134
- declare class google$protobuf$Timestamp {
37199
+ declare class replit$goval$api$pid2$ClientFrame {
37135
37200
  /**
37136
- * Constructs a new Timestamp.
37201
+ * Constructs a new ClientFrame.
37137
37202
  * @param [properties] Properties to set
37138
37203
  */
37139
- constructor(properties?: google$protobuf$ITimestamp): this;
37204
+ constructor(properties?: replit$goval$api$pid2$IClientFrame): this;
37140
37205
 
37141
37206
  /**
37142
- * Timestamp seconds.
37207
+ * ClientFrame sessionId.
37143
37208
  */
37144
- seconds: number;
37209
+ sessionId: number;
37145
37210
 
37146
37211
  /**
37147
- * Timestamp nanos.
37212
+ * ClientFrame unaryCall.
37148
37213
  */
37149
- nanos: number;
37214
+ unaryCall?: replit$goval$api$pid2$UnaryCallRequest | null;
37150
37215
 
37151
37216
  /**
37152
- * Creates a new Timestamp instance using the specified properties.
37217
+ * ClientFrame streamCall.
37218
+ */
37219
+ streamCall?: replit$goval$api$pid2$StreamCallRequest | null;
37220
+
37221
+ /**
37222
+ * ClientFrame streamContinuation.
37223
+ */
37224
+ streamContinuation?: replit$goval$api$pid2$StreamContinuationRequest | null;
37225
+
37226
+ /**
37227
+ * ClientFrame streamCancel.
37228
+ */
37229
+ streamCancel?: replit$goval$api$pid2$StreamCancelRequest | null;
37230
+
37231
+ /**
37232
+ * ClientFrame ping.
37233
+ */
37234
+ ping?: replit$goval$api$pid2$Ping | null;
37235
+
37236
+ /**
37237
+ * ClientFrame body.
37238
+ */
37239
+ body?:
37240
+ | "unaryCall"
37241
+ | "streamCall"
37242
+ | "streamContinuation"
37243
+ | "streamCancel"
37244
+ | "ping";
37245
+
37246
+ /**
37247
+ * Creates a new ClientFrame instance using the specified properties.
37153
37248
  * @param [properties] Properties to set
37154
- * @returns Timestamp instance
37249
+ * @returns ClientFrame instance
37155
37250
  */
37156
37251
  static create(
37157
- properties?: google$protobuf$ITimestamp
37158
- ): google$protobuf$Timestamp;
37252
+ properties?: replit$goval$api$pid2$IClientFrame
37253
+ ): replit$goval$api$pid2$ClientFrame;
37159
37254
 
37160
37255
  /**
37161
37256
  * [object Object],[object Object],[object Object]
37162
- * @param message Timestamp message or plain object to encode
37257
+ * @param message ClientFrame message or plain object to encode
37163
37258
  * @param [writer] Writer to encode to
37164
37259
  * @returns Writer
37165
37260
  */
37166
37261
  static encode(
37167
- message: google$protobuf$Timestamp,
37262
+ message: replit$goval$api$pid2$ClientFrame,
37168
37263
  writer?: $protobuf.Writer
37169
37264
  ): $protobuf.Writer;
37170
37265
 
37171
37266
  /**
37172
37267
  * [object Object],[object Object],[object Object]
37173
- * @param message Timestamp message or plain object to encode
37268
+ * @param message ClientFrame message or plain object to encode
37174
37269
  * @param [writer] Writer to encode to
37175
37270
  * @returns Writer
37176
37271
  */
37177
37272
  static encodeDelimited(
37178
- message: google$protobuf$Timestamp,
37273
+ message: replit$goval$api$pid2$ClientFrame,
37179
37274
  writer?: $protobuf.Writer
37180
37275
  ): $protobuf.Writer;
37181
37276
 
37182
37277
  /**
37183
- * Decodes a Timestamp message from the specified reader or buffer.
37278
+ * Decodes a ClientFrame message from the specified reader or buffer.
37184
37279
  * @param reader Reader or buffer to decode from
37185
37280
  * @param [length] Message length if known beforehand
37186
- * @returns Timestamp
37281
+ * @returns ClientFrame
37187
37282
  * @throws {Error} If the payload is not a reader or valid buffer
37188
37283
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
37189
37284
  */
37190
37285
  static decode(
37191
37286
  reader: $protobuf.Reader | Uint8Array,
37192
37287
  length?: number
37193
- ): google$protobuf$Timestamp;
37288
+ ): replit$goval$api$pid2$ClientFrame;
37194
37289
 
37195
37290
  /**
37196
- * Decodes a Timestamp message from the specified reader or buffer, length delimited.
37291
+ * Decodes a ClientFrame message from the specified reader or buffer, length delimited.
37197
37292
  * @param reader Reader or buffer to decode from
37198
- * @returns Timestamp
37293
+ * @returns ClientFrame
37199
37294
  * @throws {Error} If the payload is not a reader or valid buffer
37200
37295
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
37201
37296
  */
37202
37297
  static decodeDelimited(
37203
37298
  reader: $protobuf.Reader | Uint8Array
37204
- ): google$protobuf$Timestamp;
37299
+ ): replit$goval$api$pid2$ClientFrame;
37205
37300
 
37206
37301
  /**
37207
- * Verifies a Timestamp message.
37302
+ * Verifies a ClientFrame message.
37208
37303
  * @param message Plain object to verify
37209
37304
  * @returns `null` if valid, otherwise the reason why it is not
37210
37305
  */
@@ -37213,29 +37308,29 @@ declare class google$protobuf$Timestamp {
37213
37308
  |}): string | null;
37214
37309
 
37215
37310
  /**
37216
- * Creates a Timestamp message from a plain object. Also converts values to their respective internal types.
37311
+ * Creates a ClientFrame message from a plain object. Also converts values to their respective internal types.
37217
37312
  * @param object Plain object
37218
- * @returns Timestamp
37313
+ * @returns ClientFrame
37219
37314
  */
37220
37315
  static fromObject(object: {|
37221
37316
  [k: string]: any,
37222
- |}): google$protobuf$Timestamp;
37317
+ |}): replit$goval$api$pid2$ClientFrame;
37223
37318
 
37224
37319
  /**
37225
- * Creates a plain object from a Timestamp message. Also converts values to other types if specified.
37226
- * @param message Timestamp
37320
+ * Creates a plain object from a ClientFrame message. Also converts values to other types if specified.
37321
+ * @param message ClientFrame
37227
37322
  * @param [options] Conversion options
37228
37323
  * @returns Plain object
37229
37324
  */
37230
37325
  static toObject(
37231
- message: google$protobuf$Timestamp,
37326
+ message: replit$goval$api$pid2$ClientFrame,
37232
37327
  options?: $protobuf.IConversionOptions
37233
37328
  ): {|
37234
37329
  [k: string]: any,
37235
37330
  |};
37236
37331
 
37237
37332
  /**
37238
- * Converts this Timestamp to JSON.
37333
+ * Converts this ClientFrame to JSON.
37239
37334
  * @returns JSON object
37240
37335
  */
37241
37336
  toJSON(): {|
@@ -37244,89 +37339,138 @@ declare class google$protobuf$Timestamp {
37244
37339
  }
37245
37340
 
37246
37341
  /**
37247
- * Properties of a Struct.
37342
+ * Properties of a ServerFrame.
37248
37343
  */
37249
- declare type google$protobuf$IStruct = {|
37344
+ declare type replit$goval$api$pid2$IServerFrame = {|
37250
37345
  /**
37251
- * Struct fields
37346
+ * ServerFrame sessionId
37252
37347
  */
37253
- fields?: {|
37254
- [k: string]: google$protobuf$Value | google$protobuf$IValue,
37255
- |} | null,
37348
+ sessionId?: number | null,
37349
+
37350
+ /**
37351
+ * ServerFrame unaryCall
37352
+ */
37353
+ unaryCall?:
37354
+ | replit$goval$api$pid2$UnaryCallResponse
37355
+ | replit$goval$api$pid2$IUnaryCallResponse
37356
+ | null,
37357
+
37358
+ /**
37359
+ * ServerFrame streamContinuation
37360
+ */
37361
+ streamContinuation?:
37362
+ | replit$goval$api$pid2$StreamContinuationResponse
37363
+ | replit$goval$api$pid2$IStreamContinuationResponse
37364
+ | null,
37365
+
37366
+ /**
37367
+ * ServerFrame goaway
37368
+ */
37369
+ goaway?: replit$goval$api$pid2$Error | replit$goval$api$pid2$IError | null,
37370
+
37371
+ /**
37372
+ * ServerFrame ping
37373
+ */
37374
+ ping?: replit$goval$api$pid2$Ping | replit$goval$api$pid2$IPing | null,
37256
37375
  |};
37257
37376
 
37258
37377
  /**
37259
- * Represents a Struct.
37378
+ * Represents a ServerFrame.
37260
37379
  */
37261
- declare class google$protobuf$Struct {
37380
+ declare class replit$goval$api$pid2$ServerFrame {
37262
37381
  /**
37263
- * Constructs a new Struct.
37382
+ * Constructs a new ServerFrame.
37264
37383
  * @param [properties] Properties to set
37265
37384
  */
37266
- constructor(properties?: google$protobuf$IStruct): this;
37385
+ constructor(properties?: replit$goval$api$pid2$IServerFrame): this;
37267
37386
 
37268
37387
  /**
37269
- * Struct fields.
37388
+ * ServerFrame sessionId.
37270
37389
  */
37271
- fields: {|
37272
- [k: string]: google$protobuf$Value,
37273
- |};
37390
+ sessionId: number;
37274
37391
 
37275
37392
  /**
37276
- * Creates a new Struct instance using the specified properties.
37393
+ * ServerFrame unaryCall.
37394
+ */
37395
+ unaryCall?: replit$goval$api$pid2$UnaryCallResponse | null;
37396
+
37397
+ /**
37398
+ * ServerFrame streamContinuation.
37399
+ */
37400
+ streamContinuation?: replit$goval$api$pid2$StreamContinuationResponse | null;
37401
+
37402
+ /**
37403
+ * ServerFrame goaway.
37404
+ */
37405
+ goaway?: replit$goval$api$pid2$Error | null;
37406
+
37407
+ /**
37408
+ * ServerFrame ping.
37409
+ */
37410
+ ping?: replit$goval$api$pid2$Ping | null;
37411
+
37412
+ /**
37413
+ * ServerFrame body.
37414
+ */
37415
+ body?: "unaryCall" | "streamContinuation" | "goaway" | "ping";
37416
+
37417
+ /**
37418
+ * Creates a new ServerFrame instance using the specified properties.
37277
37419
  * @param [properties] Properties to set
37278
- * @returns Struct instance
37420
+ * @returns ServerFrame instance
37279
37421
  */
37280
- static create(properties?: google$protobuf$IStruct): google$protobuf$Struct;
37422
+ static create(
37423
+ properties?: replit$goval$api$pid2$IServerFrame
37424
+ ): replit$goval$api$pid2$ServerFrame;
37281
37425
 
37282
37426
  /**
37283
37427
  * [object Object],[object Object],[object Object]
37284
- * @param message Struct message or plain object to encode
37428
+ * @param message ServerFrame message or plain object to encode
37285
37429
  * @param [writer] Writer to encode to
37286
37430
  * @returns Writer
37287
37431
  */
37288
37432
  static encode(
37289
- message: google$protobuf$Struct,
37433
+ message: replit$goval$api$pid2$ServerFrame,
37290
37434
  writer?: $protobuf.Writer
37291
37435
  ): $protobuf.Writer;
37292
37436
 
37293
37437
  /**
37294
37438
  * [object Object],[object Object],[object Object]
37295
- * @param message Struct message or plain object to encode
37439
+ * @param message ServerFrame message or plain object to encode
37296
37440
  * @param [writer] Writer to encode to
37297
37441
  * @returns Writer
37298
37442
  */
37299
37443
  static encodeDelimited(
37300
- message: google$protobuf$Struct,
37444
+ message: replit$goval$api$pid2$ServerFrame,
37301
37445
  writer?: $protobuf.Writer
37302
37446
  ): $protobuf.Writer;
37303
37447
 
37304
37448
  /**
37305
- * Decodes a Struct message from the specified reader or buffer.
37449
+ * Decodes a ServerFrame message from the specified reader or buffer.
37306
37450
  * @param reader Reader or buffer to decode from
37307
37451
  * @param [length] Message length if known beforehand
37308
- * @returns Struct
37452
+ * @returns ServerFrame
37309
37453
  * @throws {Error} If the payload is not a reader or valid buffer
37310
37454
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
37311
37455
  */
37312
37456
  static decode(
37313
37457
  reader: $protobuf.Reader | Uint8Array,
37314
37458
  length?: number
37315
- ): google$protobuf$Struct;
37459
+ ): replit$goval$api$pid2$ServerFrame;
37316
37460
 
37317
37461
  /**
37318
- * Decodes a Struct message from the specified reader or buffer, length delimited.
37462
+ * Decodes a ServerFrame message from the specified reader or buffer, length delimited.
37319
37463
  * @param reader Reader or buffer to decode from
37320
- * @returns Struct
37464
+ * @returns ServerFrame
37321
37465
  * @throws {Error} If the payload is not a reader or valid buffer
37322
37466
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
37323
37467
  */
37324
37468
  static decodeDelimited(
37325
37469
  reader: $protobuf.Reader | Uint8Array
37326
- ): google$protobuf$Struct;
37470
+ ): replit$goval$api$pid2$ServerFrame;
37327
37471
 
37328
37472
  /**
37329
- * Verifies a Struct message.
37473
+ * Verifies a ServerFrame message.
37330
37474
  * @param message Plain object to verify
37331
37475
  * @returns `null` if valid, otherwise the reason why it is not
37332
37476
  */
@@ -37335,29 +37479,29 @@ declare class google$protobuf$Struct {
37335
37479
  |}): string | null;
37336
37480
 
37337
37481
  /**
37338
- * Creates a Struct message from a plain object. Also converts values to their respective internal types.
37482
+ * Creates a ServerFrame message from a plain object. Also converts values to their respective internal types.
37339
37483
  * @param object Plain object
37340
- * @returns Struct
37484
+ * @returns ServerFrame
37341
37485
  */
37342
37486
  static fromObject(object: {|
37343
37487
  [k: string]: any,
37344
- |}): google$protobuf$Struct;
37488
+ |}): replit$goval$api$pid2$ServerFrame;
37345
37489
 
37346
37490
  /**
37347
- * Creates a plain object from a Struct message. Also converts values to other types if specified.
37348
- * @param message Struct
37491
+ * Creates a plain object from a ServerFrame message. Also converts values to other types if specified.
37492
+ * @param message ServerFrame
37349
37493
  * @param [options] Conversion options
37350
37494
  * @returns Plain object
37351
37495
  */
37352
37496
  static toObject(
37353
- message: google$protobuf$Struct,
37497
+ message: replit$goval$api$pid2$ServerFrame,
37354
37498
  options?: $protobuf.IConversionOptions
37355
37499
  ): {|
37356
37500
  [k: string]: any,
37357
37501
  |};
37358
37502
 
37359
37503
  /**
37360
- * Converts this Struct to JSON.
37504
+ * Converts this ServerFrame to JSON.
37361
37505
  * @returns JSON object
37362
37506
  */
37363
37507
  toJSON(): {|
@@ -37366,146 +37510,267 @@ declare class google$protobuf$Struct {
37366
37510
  }
37367
37511
 
37368
37512
  /**
37369
- * Properties of a Value.
37513
+ * Properties of an UnaryCallRequest.
37370
37514
  */
37371
- declare type google$protobuf$IValue = {|
37515
+ declare type replit$goval$api$pid2$IUnaryCallRequest = {|
37372
37516
  /**
37373
- * Value nullValue
37517
+ * UnaryCallRequest streamId
37374
37518
  */
37375
- nullValue?: $Values<typeof google$protobuf$NullValue> | null,
37519
+ streamId?: number | null,
37376
37520
 
37377
37521
  /**
37378
- * Value numberValue
37522
+ * UnaryCallRequest service
37379
37523
  */
37380
- numberValue?: number | null,
37524
+ service?: string | null,
37381
37525
 
37382
37526
  /**
37383
- * Value stringValue
37527
+ * UnaryCallRequest method
37384
37528
  */
37385
- stringValue?: string | null,
37529
+ method?: string | null,
37386
37530
 
37387
37531
  /**
37388
- * Value boolValue
37532
+ * UnaryCallRequest request
37389
37533
  */
37390
- boolValue?: boolean | null,
37534
+ request?: google$protobuf$Any | google$protobuf$IAny | null,
37535
+ |};
37391
37536
 
37537
+ /**
37538
+ * Represents an UnaryCallRequest.
37539
+ */
37540
+ declare class replit$goval$api$pid2$UnaryCallRequest {
37392
37541
  /**
37393
- * Value structValue
37542
+ * Constructs a new UnaryCallRequest.
37543
+ * @param [properties] Properties to set
37394
37544
  */
37395
- structValue?: google$protobuf$Struct | google$protobuf$IStruct | null,
37545
+ constructor(properties?: replit$goval$api$pid2$IUnaryCallRequest): this;
37396
37546
 
37397
37547
  /**
37398
- * Value listValue
37548
+ * UnaryCallRequest streamId.
37399
37549
  */
37400
- listValue?: google$protobuf$ListValue | google$protobuf$IListValue | null,
37401
- |};
37550
+ streamId: number;
37551
+
37552
+ /**
37553
+ * UnaryCallRequest service.
37554
+ */
37555
+ service: string;
37556
+
37557
+ /**
37558
+ * UnaryCallRequest method.
37559
+ */
37560
+ method: string;
37561
+
37562
+ /**
37563
+ * UnaryCallRequest request.
37564
+ */
37565
+ request?: google$protobuf$Any | null;
37566
+
37567
+ /**
37568
+ * Creates a new UnaryCallRequest instance using the specified properties.
37569
+ * @param [properties] Properties to set
37570
+ * @returns UnaryCallRequest instance
37571
+ */
37572
+ static create(
37573
+ properties?: replit$goval$api$pid2$IUnaryCallRequest
37574
+ ): replit$goval$api$pid2$UnaryCallRequest;
37575
+
37576
+ /**
37577
+ * [object Object],[object Object],[object Object]
37578
+ * @param message UnaryCallRequest message or plain object to encode
37579
+ * @param [writer] Writer to encode to
37580
+ * @returns Writer
37581
+ */
37582
+ static encode(
37583
+ message: replit$goval$api$pid2$UnaryCallRequest,
37584
+ writer?: $protobuf.Writer
37585
+ ): $protobuf.Writer;
37586
+
37587
+ /**
37588
+ * [object Object],[object Object],[object Object]
37589
+ * @param message UnaryCallRequest message or plain object to encode
37590
+ * @param [writer] Writer to encode to
37591
+ * @returns Writer
37592
+ */
37593
+ static encodeDelimited(
37594
+ message: replit$goval$api$pid2$UnaryCallRequest,
37595
+ writer?: $protobuf.Writer
37596
+ ): $protobuf.Writer;
37597
+
37598
+ /**
37599
+ * Decodes an UnaryCallRequest message from the specified reader or buffer.
37600
+ * @param reader Reader or buffer to decode from
37601
+ * @param [length] Message length if known beforehand
37602
+ * @returns UnaryCallRequest
37603
+ * @throws {Error} If the payload is not a reader or valid buffer
37604
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
37605
+ */
37606
+ static decode(
37607
+ reader: $protobuf.Reader | Uint8Array,
37608
+ length?: number
37609
+ ): replit$goval$api$pid2$UnaryCallRequest;
37610
+
37611
+ /**
37612
+ * Decodes an UnaryCallRequest message from the specified reader or buffer, length delimited.
37613
+ * @param reader Reader or buffer to decode from
37614
+ * @returns UnaryCallRequest
37615
+ * @throws {Error} If the payload is not a reader or valid buffer
37616
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
37617
+ */
37618
+ static decodeDelimited(
37619
+ reader: $protobuf.Reader | Uint8Array
37620
+ ): replit$goval$api$pid2$UnaryCallRequest;
37621
+
37622
+ /**
37623
+ * Verifies an UnaryCallRequest message.
37624
+ * @param message Plain object to verify
37625
+ * @returns `null` if valid, otherwise the reason why it is not
37626
+ */
37627
+ static verify(message: {|
37628
+ [k: string]: any,
37629
+ |}): string | null;
37630
+
37631
+ /**
37632
+ * Creates an UnaryCallRequest message from a plain object. Also converts values to their respective internal types.
37633
+ * @param object Plain object
37634
+ * @returns UnaryCallRequest
37635
+ */
37636
+ static fromObject(object: {|
37637
+ [k: string]: any,
37638
+ |}): replit$goval$api$pid2$UnaryCallRequest;
37639
+
37640
+ /**
37641
+ * Creates a plain object from an UnaryCallRequest message. Also converts values to other types if specified.
37642
+ * @param message UnaryCallRequest
37643
+ * @param [options] Conversion options
37644
+ * @returns Plain object
37645
+ */
37646
+ static toObject(
37647
+ message: replit$goval$api$pid2$UnaryCallRequest,
37648
+ options?: $protobuf.IConversionOptions
37649
+ ): {|
37650
+ [k: string]: any,
37651
+ |};
37652
+
37653
+ /**
37654
+ * Converts this UnaryCallRequest to JSON.
37655
+ * @returns JSON object
37656
+ */
37657
+ toJSON(): {|
37658
+ [k: string]: any,
37659
+ |};
37660
+ }
37402
37661
 
37403
37662
  /**
37404
- * Represents a Value.
37663
+ * Properties of a StreamCallRequest.
37405
37664
  */
37406
- declare class google$protobuf$Value {
37665
+ declare type replit$goval$api$pid2$IStreamCallRequest = {|
37407
37666
  /**
37408
- * Constructs a new Value.
37409
- * @param [properties] Properties to set
37667
+ * StreamCallRequest streamId
37410
37668
  */
37411
- constructor(properties?: google$protobuf$IValue): this;
37669
+ streamId?: number | null,
37412
37670
 
37413
37671
  /**
37414
- * Value nullValue.
37672
+ * StreamCallRequest service
37415
37673
  */
37416
- nullValue?: $Values<typeof google$protobuf$NullValue> | null;
37674
+ service?: string | null,
37417
37675
 
37418
37676
  /**
37419
- * Value numberValue.
37677
+ * StreamCallRequest method
37420
37678
  */
37421
- numberValue?: number | null;
37679
+ method?: string | null,
37422
37680
 
37423
37681
  /**
37424
- * Value stringValue.
37682
+ * StreamCallRequest header
37425
37683
  */
37426
- stringValue?: string | null;
37684
+ header?: google$protobuf$Any | google$protobuf$IAny | null,
37685
+ |};
37427
37686
 
37687
+ /**
37688
+ * Represents a StreamCallRequest.
37689
+ */
37690
+ declare class replit$goval$api$pid2$StreamCallRequest {
37428
37691
  /**
37429
- * Value boolValue.
37692
+ * Constructs a new StreamCallRequest.
37693
+ * @param [properties] Properties to set
37430
37694
  */
37431
- boolValue?: boolean | null;
37695
+ constructor(properties?: replit$goval$api$pid2$IStreamCallRequest): this;
37432
37696
 
37433
37697
  /**
37434
- * Value structValue.
37698
+ * StreamCallRequest streamId.
37435
37699
  */
37436
- structValue?: google$protobuf$Struct | null;
37700
+ streamId: number;
37437
37701
 
37438
37702
  /**
37439
- * Value listValue.
37703
+ * StreamCallRequest service.
37440
37704
  */
37441
- listValue?: google$protobuf$ListValue | null;
37705
+ service: string;
37442
37706
 
37443
37707
  /**
37444
- * Value kind.
37708
+ * StreamCallRequest method.
37445
37709
  */
37446
- kind?:
37447
- | "nullValue"
37448
- | "numberValue"
37449
- | "stringValue"
37450
- | "boolValue"
37451
- | "structValue"
37452
- | "listValue";
37710
+ method: string;
37453
37711
 
37454
37712
  /**
37455
- * Creates a new Value instance using the specified properties.
37713
+ * StreamCallRequest header.
37714
+ */
37715
+ header?: google$protobuf$Any | null;
37716
+
37717
+ /**
37718
+ * Creates a new StreamCallRequest instance using the specified properties.
37456
37719
  * @param [properties] Properties to set
37457
- * @returns Value instance
37720
+ * @returns StreamCallRequest instance
37458
37721
  */
37459
- static create(properties?: google$protobuf$IValue): google$protobuf$Value;
37722
+ static create(
37723
+ properties?: replit$goval$api$pid2$IStreamCallRequest
37724
+ ): replit$goval$api$pid2$StreamCallRequest;
37460
37725
 
37461
37726
  /**
37462
37727
  * [object Object],[object Object],[object Object]
37463
- * @param message Value message or plain object to encode
37728
+ * @param message StreamCallRequest message or plain object to encode
37464
37729
  * @param [writer] Writer to encode to
37465
37730
  * @returns Writer
37466
37731
  */
37467
37732
  static encode(
37468
- message: google$protobuf$Value,
37733
+ message: replit$goval$api$pid2$StreamCallRequest,
37469
37734
  writer?: $protobuf.Writer
37470
37735
  ): $protobuf.Writer;
37471
37736
 
37472
37737
  /**
37473
37738
  * [object Object],[object Object],[object Object]
37474
- * @param message Value message or plain object to encode
37739
+ * @param message StreamCallRequest message or plain object to encode
37475
37740
  * @param [writer] Writer to encode to
37476
37741
  * @returns Writer
37477
37742
  */
37478
37743
  static encodeDelimited(
37479
- message: google$protobuf$Value,
37744
+ message: replit$goval$api$pid2$StreamCallRequest,
37480
37745
  writer?: $protobuf.Writer
37481
37746
  ): $protobuf.Writer;
37482
37747
 
37483
37748
  /**
37484
- * Decodes a Value message from the specified reader or buffer.
37749
+ * Decodes a StreamCallRequest message from the specified reader or buffer.
37485
37750
  * @param reader Reader or buffer to decode from
37486
37751
  * @param [length] Message length if known beforehand
37487
- * @returns Value
37752
+ * @returns StreamCallRequest
37488
37753
  * @throws {Error} If the payload is not a reader or valid buffer
37489
37754
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
37490
37755
  */
37491
37756
  static decode(
37492
37757
  reader: $protobuf.Reader | Uint8Array,
37493
37758
  length?: number
37494
- ): google$protobuf$Value;
37759
+ ): replit$goval$api$pid2$StreamCallRequest;
37495
37760
 
37496
37761
  /**
37497
- * Decodes a Value message from the specified reader or buffer, length delimited.
37762
+ * Decodes a StreamCallRequest message from the specified reader or buffer, length delimited.
37498
37763
  * @param reader Reader or buffer to decode from
37499
- * @returns Value
37764
+ * @returns StreamCallRequest
37500
37765
  * @throws {Error} If the payload is not a reader or valid buffer
37501
37766
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
37502
37767
  */
37503
37768
  static decodeDelimited(
37504
37769
  reader: $protobuf.Reader | Uint8Array
37505
- ): google$protobuf$Value;
37770
+ ): replit$goval$api$pid2$StreamCallRequest;
37506
37771
 
37507
37772
  /**
37508
- * Verifies a Value message.
37773
+ * Verifies a StreamCallRequest message.
37509
37774
  * @param message Plain object to verify
37510
37775
  * @returns `null` if valid, otherwise the reason why it is not
37511
37776
  */
@@ -37514,29 +37779,29 @@ declare class google$protobuf$Value {
37514
37779
  |}): string | null;
37515
37780
 
37516
37781
  /**
37517
- * Creates a Value message from a plain object. Also converts values to their respective internal types.
37782
+ * Creates a StreamCallRequest message from a plain object. Also converts values to their respective internal types.
37518
37783
  * @param object Plain object
37519
- * @returns Value
37784
+ * @returns StreamCallRequest
37520
37785
  */
37521
37786
  static fromObject(object: {|
37522
37787
  [k: string]: any,
37523
- |}): google$protobuf$Value;
37788
+ |}): replit$goval$api$pid2$StreamCallRequest;
37524
37789
 
37525
37790
  /**
37526
- * Creates a plain object from a Value message. Also converts values to other types if specified.
37527
- * @param message Value
37791
+ * Creates a plain object from a StreamCallRequest message. Also converts values to other types if specified.
37792
+ * @param message StreamCallRequest
37528
37793
  * @param [options] Conversion options
37529
37794
  * @returns Plain object
37530
37795
  */
37531
37796
  static toObject(
37532
- message: google$protobuf$Value,
37797
+ message: replit$goval$api$pid2$StreamCallRequest,
37533
37798
  options?: $protobuf.IConversionOptions
37534
37799
  ): {|
37535
37800
  [k: string]: any,
37536
37801
  |};
37537
37802
 
37538
37803
  /**
37539
- * Converts this Value to JSON.
37804
+ * Converts this StreamCallRequest to JSON.
37540
37805
  * @returns JSON object
37541
37806
  */
37542
37807
  toJSON(): {|
@@ -37545,95 +37810,109 @@ declare class google$protobuf$Value {
37545
37810
  }
37546
37811
 
37547
37812
  /**
37548
- * NullValue enum.
37813
+ * Properties of a StreamContinuationRequest.
37549
37814
  */
37815
+ declare type replit$goval$api$pid2$IStreamContinuationRequest = {|
37816
+ /**
37817
+ * StreamContinuationRequest streamId
37818
+ */
37819
+ streamId?: number | null,
37550
37820
 
37551
- declare var google$protobuf$NullValue: {|
37552
- +NULL_VALUE: 0, // 0
37553
- |};
37821
+ /**
37822
+ * StreamContinuationRequest streamEnd
37823
+ */
37824
+ streamEnd?: boolean | null,
37554
37825
 
37555
- /**
37556
- * Properties of a ListValue.
37557
- */
37558
- declare type google$protobuf$IListValue = {|
37559
37826
  /**
37560
- * ListValue values
37827
+ * StreamContinuationRequest request
37561
37828
  */
37562
- values?: (google$protobuf$Value | google$protobuf$IValue)[] | null,
37829
+ request?: google$protobuf$Any | google$protobuf$IAny | null,
37563
37830
  |};
37564
37831
 
37565
37832
  /**
37566
- * Represents a ListValue.
37833
+ * Represents a StreamContinuationRequest.
37567
37834
  */
37568
- declare class google$protobuf$ListValue {
37835
+ declare class replit$goval$api$pid2$StreamContinuationRequest {
37569
37836
  /**
37570
- * Constructs a new ListValue.
37837
+ * Constructs a new StreamContinuationRequest.
37571
37838
  * @param [properties] Properties to set
37572
37839
  */
37573
- constructor(properties?: google$protobuf$IListValue): this;
37840
+ constructor(
37841
+ properties?: replit$goval$api$pid2$IStreamContinuationRequest
37842
+ ): this;
37574
37843
 
37575
37844
  /**
37576
- * ListValue values.
37845
+ * StreamContinuationRequest streamId.
37577
37846
  */
37578
- values: google$protobuf$Value[];
37847
+ streamId: number;
37579
37848
 
37580
37849
  /**
37581
- * Creates a new ListValue instance using the specified properties.
37850
+ * StreamContinuationRequest streamEnd.
37851
+ */
37852
+ streamEnd: boolean;
37853
+
37854
+ /**
37855
+ * StreamContinuationRequest request.
37856
+ */
37857
+ request?: google$protobuf$Any | null;
37858
+
37859
+ /**
37860
+ * Creates a new StreamContinuationRequest instance using the specified properties.
37582
37861
  * @param [properties] Properties to set
37583
- * @returns ListValue instance
37862
+ * @returns StreamContinuationRequest instance
37584
37863
  */
37585
37864
  static create(
37586
- properties?: google$protobuf$IListValue
37587
- ): google$protobuf$ListValue;
37865
+ properties?: replit$goval$api$pid2$IStreamContinuationRequest
37866
+ ): replit$goval$api$pid2$StreamContinuationRequest;
37588
37867
 
37589
37868
  /**
37590
37869
  * [object Object],[object Object],[object Object]
37591
- * @param message ListValue message or plain object to encode
37870
+ * @param message StreamContinuationRequest message or plain object to encode
37592
37871
  * @param [writer] Writer to encode to
37593
37872
  * @returns Writer
37594
37873
  */
37595
37874
  static encode(
37596
- message: google$protobuf$ListValue,
37875
+ message: replit$goval$api$pid2$StreamContinuationRequest,
37597
37876
  writer?: $protobuf.Writer
37598
37877
  ): $protobuf.Writer;
37599
37878
 
37600
37879
  /**
37601
37880
  * [object Object],[object Object],[object Object]
37602
- * @param message ListValue message or plain object to encode
37881
+ * @param message StreamContinuationRequest message or plain object to encode
37603
37882
  * @param [writer] Writer to encode to
37604
37883
  * @returns Writer
37605
37884
  */
37606
37885
  static encodeDelimited(
37607
- message: google$protobuf$ListValue,
37886
+ message: replit$goval$api$pid2$StreamContinuationRequest,
37608
37887
  writer?: $protobuf.Writer
37609
37888
  ): $protobuf.Writer;
37610
37889
 
37611
37890
  /**
37612
- * Decodes a ListValue message from the specified reader or buffer.
37891
+ * Decodes a StreamContinuationRequest message from the specified reader or buffer.
37613
37892
  * @param reader Reader or buffer to decode from
37614
37893
  * @param [length] Message length if known beforehand
37615
- * @returns ListValue
37894
+ * @returns StreamContinuationRequest
37616
37895
  * @throws {Error} If the payload is not a reader or valid buffer
37617
37896
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
37618
37897
  */
37619
37898
  static decode(
37620
37899
  reader: $protobuf.Reader | Uint8Array,
37621
37900
  length?: number
37622
- ): google$protobuf$ListValue;
37901
+ ): replit$goval$api$pid2$StreamContinuationRequest;
37623
37902
 
37624
37903
  /**
37625
- * Decodes a ListValue message from the specified reader or buffer, length delimited.
37904
+ * Decodes a StreamContinuationRequest message from the specified reader or buffer, length delimited.
37626
37905
  * @param reader Reader or buffer to decode from
37627
- * @returns ListValue
37906
+ * @returns StreamContinuationRequest
37628
37907
  * @throws {Error} If the payload is not a reader or valid buffer
37629
37908
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
37630
37909
  */
37631
37910
  static decodeDelimited(
37632
37911
  reader: $protobuf.Reader | Uint8Array
37633
- ): google$protobuf$ListValue;
37912
+ ): replit$goval$api$pid2$StreamContinuationRequest;
37634
37913
 
37635
37914
  /**
37636
- * Verifies a ListValue message.
37915
+ * Verifies a StreamContinuationRequest message.
37637
37916
  * @param message Plain object to verify
37638
37917
  * @returns `null` if valid, otherwise the reason why it is not
37639
37918
  */
@@ -37642,29 +37921,29 @@ declare class google$protobuf$ListValue {
37642
37921
  |}): string | null;
37643
37922
 
37644
37923
  /**
37645
- * Creates a ListValue message from a plain object. Also converts values to their respective internal types.
37924
+ * Creates a StreamContinuationRequest message from a plain object. Also converts values to their respective internal types.
37646
37925
  * @param object Plain object
37647
- * @returns ListValue
37926
+ * @returns StreamContinuationRequest
37648
37927
  */
37649
37928
  static fromObject(object: {|
37650
37929
  [k: string]: any,
37651
- |}): google$protobuf$ListValue;
37930
+ |}): replit$goval$api$pid2$StreamContinuationRequest;
37652
37931
 
37653
37932
  /**
37654
- * Creates a plain object from a ListValue message. Also converts values to other types if specified.
37655
- * @param message ListValue
37933
+ * Creates a plain object from a StreamContinuationRequest message. Also converts values to other types if specified.
37934
+ * @param message StreamContinuationRequest
37656
37935
  * @param [options] Conversion options
37657
37936
  * @returns Plain object
37658
37937
  */
37659
37938
  static toObject(
37660
- message: google$protobuf$ListValue,
37939
+ message: replit$goval$api$pid2$StreamContinuationRequest,
37661
37940
  options?: $protobuf.IConversionOptions
37662
37941
  ): {|
37663
37942
  [k: string]: any,
37664
37943
  |};
37665
37944
 
37666
37945
  /**
37667
- * Converts this ListValue to JSON.
37946
+ * Converts this StreamContinuationRequest to JSON.
37668
37947
  * @returns JSON object
37669
37948
  */
37670
37949
  toJSON(): {|
@@ -37673,87 +37952,87 @@ declare class google$protobuf$ListValue {
37673
37952
  }
37674
37953
 
37675
37954
  /**
37676
- * Properties of a FieldMask.
37955
+ * Properties of a StreamCancelRequest.
37677
37956
  */
37678
- declare type google$protobuf$IFieldMask = {|
37957
+ declare type replit$goval$api$pid2$IStreamCancelRequest = {|
37679
37958
  /**
37680
- * FieldMask paths
37959
+ * StreamCancelRequest streamId
37681
37960
  */
37682
- paths?: string[] | null,
37961
+ streamId?: number | null,
37683
37962
  |};
37684
37963
 
37685
37964
  /**
37686
- * Represents a FieldMask.
37965
+ * Represents a StreamCancelRequest.
37687
37966
  */
37688
- declare class google$protobuf$FieldMask {
37967
+ declare class replit$goval$api$pid2$StreamCancelRequest {
37689
37968
  /**
37690
- * Constructs a new FieldMask.
37969
+ * Constructs a new StreamCancelRequest.
37691
37970
  * @param [properties] Properties to set
37692
37971
  */
37693
- constructor(properties?: google$protobuf$IFieldMask): this;
37972
+ constructor(properties?: replit$goval$api$pid2$IStreamCancelRequest): this;
37694
37973
 
37695
37974
  /**
37696
- * FieldMask paths.
37975
+ * StreamCancelRequest streamId.
37697
37976
  */
37698
- paths: string[];
37977
+ streamId: number;
37699
37978
 
37700
37979
  /**
37701
- * Creates a new FieldMask instance using the specified properties.
37980
+ * Creates a new StreamCancelRequest instance using the specified properties.
37702
37981
  * @param [properties] Properties to set
37703
- * @returns FieldMask instance
37982
+ * @returns StreamCancelRequest instance
37704
37983
  */
37705
37984
  static create(
37706
- properties?: google$protobuf$IFieldMask
37707
- ): google$protobuf$FieldMask;
37985
+ properties?: replit$goval$api$pid2$IStreamCancelRequest
37986
+ ): replit$goval$api$pid2$StreamCancelRequest;
37708
37987
 
37709
37988
  /**
37710
37989
  * [object Object],[object Object],[object Object]
37711
- * @param message FieldMask message or plain object to encode
37990
+ * @param message StreamCancelRequest message or plain object to encode
37712
37991
  * @param [writer] Writer to encode to
37713
37992
  * @returns Writer
37714
37993
  */
37715
37994
  static encode(
37716
- message: google$protobuf$FieldMask,
37995
+ message: replit$goval$api$pid2$StreamCancelRequest,
37717
37996
  writer?: $protobuf.Writer
37718
37997
  ): $protobuf.Writer;
37719
37998
 
37720
37999
  /**
37721
38000
  * [object Object],[object Object],[object Object]
37722
- * @param message FieldMask message or plain object to encode
38001
+ * @param message StreamCancelRequest message or plain object to encode
37723
38002
  * @param [writer] Writer to encode to
37724
38003
  * @returns Writer
37725
38004
  */
37726
38005
  static encodeDelimited(
37727
- message: google$protobuf$FieldMask,
38006
+ message: replit$goval$api$pid2$StreamCancelRequest,
37728
38007
  writer?: $protobuf.Writer
37729
38008
  ): $protobuf.Writer;
37730
38009
 
37731
38010
  /**
37732
- * Decodes a FieldMask message from the specified reader or buffer.
38011
+ * Decodes a StreamCancelRequest message from the specified reader or buffer.
37733
38012
  * @param reader Reader or buffer to decode from
37734
38013
  * @param [length] Message length if known beforehand
37735
- * @returns FieldMask
38014
+ * @returns StreamCancelRequest
37736
38015
  * @throws {Error} If the payload is not a reader or valid buffer
37737
38016
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
37738
38017
  */
37739
38018
  static decode(
37740
38019
  reader: $protobuf.Reader | Uint8Array,
37741
38020
  length?: number
37742
- ): google$protobuf$FieldMask;
38021
+ ): replit$goval$api$pid2$StreamCancelRequest;
37743
38022
 
37744
38023
  /**
37745
- * Decodes a FieldMask message from the specified reader or buffer, length delimited.
38024
+ * Decodes a StreamCancelRequest message from the specified reader or buffer, length delimited.
37746
38025
  * @param reader Reader or buffer to decode from
37747
- * @returns FieldMask
38026
+ * @returns StreamCancelRequest
37748
38027
  * @throws {Error} If the payload is not a reader or valid buffer
37749
38028
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
37750
38029
  */
37751
38030
  static decodeDelimited(
37752
38031
  reader: $protobuf.Reader | Uint8Array
37753
- ): google$protobuf$FieldMask;
38032
+ ): replit$goval$api$pid2$StreamCancelRequest;
37754
38033
 
37755
38034
  /**
37756
- * Verifies a FieldMask message.
38035
+ * Verifies a StreamCancelRequest message.
37757
38036
  * @param message Plain object to verify
37758
38037
  * @returns `null` if valid, otherwise the reason why it is not
37759
38038
  */
@@ -37762,29 +38041,1434 @@ declare class google$protobuf$FieldMask {
37762
38041
  |}): string | null;
37763
38042
 
37764
38043
  /**
37765
- * Creates a FieldMask message from a plain object. Also converts values to their respective internal types.
38044
+ * Creates a StreamCancelRequest message from a plain object. Also converts values to their respective internal types.
37766
38045
  * @param object Plain object
37767
- * @returns FieldMask
38046
+ * @returns StreamCancelRequest
37768
38047
  */
37769
38048
  static fromObject(object: {|
37770
38049
  [k: string]: any,
37771
- |}): google$protobuf$FieldMask;
38050
+ |}): replit$goval$api$pid2$StreamCancelRequest;
37772
38051
 
37773
38052
  /**
37774
- * Creates a plain object from a FieldMask message. Also converts values to other types if specified.
37775
- * @param message FieldMask
38053
+ * Creates a plain object from a StreamCancelRequest message. Also converts values to other types if specified.
38054
+ * @param message StreamCancelRequest
37776
38055
  * @param [options] Conversion options
37777
38056
  * @returns Plain object
37778
38057
  */
37779
38058
  static toObject(
37780
- message: google$protobuf$FieldMask,
38059
+ message: replit$goval$api$pid2$StreamCancelRequest,
37781
38060
  options?: $protobuf.IConversionOptions
37782
38061
  ): {|
37783
38062
  [k: string]: any,
37784
38063
  |};
37785
38064
 
37786
38065
  /**
37787
- * Converts this FieldMask to JSON.
38066
+ * Converts this StreamCancelRequest to JSON.
38067
+ * @returns JSON object
38068
+ */
38069
+ toJSON(): {|
38070
+ [k: string]: any,
38071
+ |};
38072
+ }
38073
+
38074
+ /**
38075
+ * Properties of an UnaryCallResponse.
38076
+ */
38077
+ declare type replit$goval$api$pid2$IUnaryCallResponse = {|
38078
+ /**
38079
+ * UnaryCallResponse streamId
38080
+ */
38081
+ streamId?: number | null,
38082
+
38083
+ /**
38084
+ * UnaryCallResponse response
38085
+ */
38086
+ response?: google$protobuf$Any | google$protobuf$IAny | null,
38087
+
38088
+ /**
38089
+ * UnaryCallResponse error
38090
+ */
38091
+ error?: replit$goval$api$pid2$Error | replit$goval$api$pid2$IError | null,
38092
+ |};
38093
+
38094
+ /**
38095
+ * Represents an UnaryCallResponse.
38096
+ */
38097
+ declare class replit$goval$api$pid2$UnaryCallResponse {
38098
+ /**
38099
+ * Constructs a new UnaryCallResponse.
38100
+ * @param [properties] Properties to set
38101
+ */
38102
+ constructor(properties?: replit$goval$api$pid2$IUnaryCallResponse): this;
38103
+
38104
+ /**
38105
+ * UnaryCallResponse streamId.
38106
+ */
38107
+ streamId: number;
38108
+
38109
+ /**
38110
+ * UnaryCallResponse response.
38111
+ */
38112
+ response?: google$protobuf$Any | null;
38113
+
38114
+ /**
38115
+ * UnaryCallResponse error.
38116
+ */
38117
+ error?: replit$goval$api$pid2$Error | null;
38118
+
38119
+ /**
38120
+ * UnaryCallResponse body.
38121
+ */
38122
+ body?: "response" | "error";
38123
+
38124
+ /**
38125
+ * Creates a new UnaryCallResponse instance using the specified properties.
38126
+ * @param [properties] Properties to set
38127
+ * @returns UnaryCallResponse instance
38128
+ */
38129
+ static create(
38130
+ properties?: replit$goval$api$pid2$IUnaryCallResponse
38131
+ ): replit$goval$api$pid2$UnaryCallResponse;
38132
+
38133
+ /**
38134
+ * [object Object],[object Object],[object Object]
38135
+ * @param message UnaryCallResponse message or plain object to encode
38136
+ * @param [writer] Writer to encode to
38137
+ * @returns Writer
38138
+ */
38139
+ static encode(
38140
+ message: replit$goval$api$pid2$UnaryCallResponse,
38141
+ writer?: $protobuf.Writer
38142
+ ): $protobuf.Writer;
38143
+
38144
+ /**
38145
+ * [object Object],[object Object],[object Object]
38146
+ * @param message UnaryCallResponse message or plain object to encode
38147
+ * @param [writer] Writer to encode to
38148
+ * @returns Writer
38149
+ */
38150
+ static encodeDelimited(
38151
+ message: replit$goval$api$pid2$UnaryCallResponse,
38152
+ writer?: $protobuf.Writer
38153
+ ): $protobuf.Writer;
38154
+
38155
+ /**
38156
+ * Decodes an UnaryCallResponse message from the specified reader or buffer.
38157
+ * @param reader Reader or buffer to decode from
38158
+ * @param [length] Message length if known beforehand
38159
+ * @returns UnaryCallResponse
38160
+ * @throws {Error} If the payload is not a reader or valid buffer
38161
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
38162
+ */
38163
+ static decode(
38164
+ reader: $protobuf.Reader | Uint8Array,
38165
+ length?: number
38166
+ ): replit$goval$api$pid2$UnaryCallResponse;
38167
+
38168
+ /**
38169
+ * Decodes an UnaryCallResponse message from the specified reader or buffer, length delimited.
38170
+ * @param reader Reader or buffer to decode from
38171
+ * @returns UnaryCallResponse
38172
+ * @throws {Error} If the payload is not a reader or valid buffer
38173
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
38174
+ */
38175
+ static decodeDelimited(
38176
+ reader: $protobuf.Reader | Uint8Array
38177
+ ): replit$goval$api$pid2$UnaryCallResponse;
38178
+
38179
+ /**
38180
+ * Verifies an UnaryCallResponse message.
38181
+ * @param message Plain object to verify
38182
+ * @returns `null` if valid, otherwise the reason why it is not
38183
+ */
38184
+ static verify(message: {|
38185
+ [k: string]: any,
38186
+ |}): string | null;
38187
+
38188
+ /**
38189
+ * Creates an UnaryCallResponse message from a plain object. Also converts values to their respective internal types.
38190
+ * @param object Plain object
38191
+ * @returns UnaryCallResponse
38192
+ */
38193
+ static fromObject(object: {|
38194
+ [k: string]: any,
38195
+ |}): replit$goval$api$pid2$UnaryCallResponse;
38196
+
38197
+ /**
38198
+ * Creates a plain object from an UnaryCallResponse message. Also converts values to other types if specified.
38199
+ * @param message UnaryCallResponse
38200
+ * @param [options] Conversion options
38201
+ * @returns Plain object
38202
+ */
38203
+ static toObject(
38204
+ message: replit$goval$api$pid2$UnaryCallResponse,
38205
+ options?: $protobuf.IConversionOptions
38206
+ ): {|
38207
+ [k: string]: any,
38208
+ |};
38209
+
38210
+ /**
38211
+ * Converts this UnaryCallResponse to JSON.
38212
+ * @returns JSON object
38213
+ */
38214
+ toJSON(): {|
38215
+ [k: string]: any,
38216
+ |};
38217
+ }
38218
+
38219
+ /**
38220
+ * Properties of a StreamContinuationResponse.
38221
+ */
38222
+ declare type replit$goval$api$pid2$IStreamContinuationResponse = {|
38223
+ /**
38224
+ * StreamContinuationResponse streamId
38225
+ */
38226
+ streamId?: number | null,
38227
+
38228
+ /**
38229
+ * StreamContinuationResponse streamEnd
38230
+ */
38231
+ streamEnd?: boolean | null,
38232
+
38233
+ /**
38234
+ * StreamContinuationResponse response
38235
+ */
38236
+ response?: google$protobuf$Any | google$protobuf$IAny | null,
38237
+
38238
+ /**
38239
+ * StreamContinuationResponse error
38240
+ */
38241
+ error?: replit$goval$api$pid2$Error | replit$goval$api$pid2$IError | null,
38242
+ |};
38243
+
38244
+ /**
38245
+ * Represents a StreamContinuationResponse.
38246
+ */
38247
+ declare class replit$goval$api$pid2$StreamContinuationResponse {
38248
+ /**
38249
+ * Constructs a new StreamContinuationResponse.
38250
+ * @param [properties] Properties to set
38251
+ */
38252
+ constructor(
38253
+ properties?: replit$goval$api$pid2$IStreamContinuationResponse
38254
+ ): this;
38255
+
38256
+ /**
38257
+ * StreamContinuationResponse streamId.
38258
+ */
38259
+ streamId: number;
38260
+
38261
+ /**
38262
+ * StreamContinuationResponse streamEnd.
38263
+ */
38264
+ streamEnd: boolean;
38265
+
38266
+ /**
38267
+ * StreamContinuationResponse response.
38268
+ */
38269
+ response?: google$protobuf$Any | null;
38270
+
38271
+ /**
38272
+ * StreamContinuationResponse error.
38273
+ */
38274
+ error?: replit$goval$api$pid2$Error | null;
38275
+
38276
+ /**
38277
+ * StreamContinuationResponse body.
38278
+ */
38279
+ body?: "response" | "error";
38280
+
38281
+ /**
38282
+ * Creates a new StreamContinuationResponse instance using the specified properties.
38283
+ * @param [properties] Properties to set
38284
+ * @returns StreamContinuationResponse instance
38285
+ */
38286
+ static create(
38287
+ properties?: replit$goval$api$pid2$IStreamContinuationResponse
38288
+ ): replit$goval$api$pid2$StreamContinuationResponse;
38289
+
38290
+ /**
38291
+ * [object Object],[object Object],[object Object]
38292
+ * @param message StreamContinuationResponse message or plain object to encode
38293
+ * @param [writer] Writer to encode to
38294
+ * @returns Writer
38295
+ */
38296
+ static encode(
38297
+ message: replit$goval$api$pid2$StreamContinuationResponse,
38298
+ writer?: $protobuf.Writer
38299
+ ): $protobuf.Writer;
38300
+
38301
+ /**
38302
+ * [object Object],[object Object],[object Object]
38303
+ * @param message StreamContinuationResponse message or plain object to encode
38304
+ * @param [writer] Writer to encode to
38305
+ * @returns Writer
38306
+ */
38307
+ static encodeDelimited(
38308
+ message: replit$goval$api$pid2$StreamContinuationResponse,
38309
+ writer?: $protobuf.Writer
38310
+ ): $protobuf.Writer;
38311
+
38312
+ /**
38313
+ * Decodes a StreamContinuationResponse message from the specified reader or buffer.
38314
+ * @param reader Reader or buffer to decode from
38315
+ * @param [length] Message length if known beforehand
38316
+ * @returns StreamContinuationResponse
38317
+ * @throws {Error} If the payload is not a reader or valid buffer
38318
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
38319
+ */
38320
+ static decode(
38321
+ reader: $protobuf.Reader | Uint8Array,
38322
+ length?: number
38323
+ ): replit$goval$api$pid2$StreamContinuationResponse;
38324
+
38325
+ /**
38326
+ * Decodes a StreamContinuationResponse message from the specified reader or buffer, length delimited.
38327
+ * @param reader Reader or buffer to decode from
38328
+ * @returns StreamContinuationResponse
38329
+ * @throws {Error} If the payload is not a reader or valid buffer
38330
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
38331
+ */
38332
+ static decodeDelimited(
38333
+ reader: $protobuf.Reader | Uint8Array
38334
+ ): replit$goval$api$pid2$StreamContinuationResponse;
38335
+
38336
+ /**
38337
+ * Verifies a StreamContinuationResponse message.
38338
+ * @param message Plain object to verify
38339
+ * @returns `null` if valid, otherwise the reason why it is not
38340
+ */
38341
+ static verify(message: {|
38342
+ [k: string]: any,
38343
+ |}): string | null;
38344
+
38345
+ /**
38346
+ * Creates a StreamContinuationResponse message from a plain object. Also converts values to their respective internal types.
38347
+ * @param object Plain object
38348
+ * @returns StreamContinuationResponse
38349
+ */
38350
+ static fromObject(object: {|
38351
+ [k: string]: any,
38352
+ |}): replit$goval$api$pid2$StreamContinuationResponse;
38353
+
38354
+ /**
38355
+ * Creates a plain object from a StreamContinuationResponse message. Also converts values to other types if specified.
38356
+ * @param message StreamContinuationResponse
38357
+ * @param [options] Conversion options
38358
+ * @returns Plain object
38359
+ */
38360
+ static toObject(
38361
+ message: replit$goval$api$pid2$StreamContinuationResponse,
38362
+ options?: $protobuf.IConversionOptions
38363
+ ): {|
38364
+ [k: string]: any,
38365
+ |};
38366
+
38367
+ /**
38368
+ * Converts this StreamContinuationResponse to JSON.
38369
+ * @returns JSON object
38370
+ */
38371
+ toJSON(): {|
38372
+ [k: string]: any,
38373
+ |};
38374
+ }
38375
+
38376
+ /**
38377
+ * Properties of an Error.
38378
+ */
38379
+ declare type replit$goval$api$pid2$IError = {|
38380
+ /**
38381
+ * Error code
38382
+ */
38383
+ code?: $Values<typeof replit$goval$api$pid2$Error$Code> | null,
38384
+
38385
+ /**
38386
+ * Error message
38387
+ */
38388
+ message?: string | null,
38389
+ |};
38390
+
38391
+ /**
38392
+ * Represents an Error.
38393
+ */
38394
+ declare class replit$goval$api$pid2$Error {
38395
+ /**
38396
+ * Constructs a new Error.
38397
+ * @param [properties] Properties to set
38398
+ */
38399
+ constructor(properties?: replit$goval$api$pid2$IError): this;
38400
+
38401
+ /**
38402
+ * Error code.
38403
+ */
38404
+ code: $Values<typeof replit$goval$api$pid2$Error$Code>;
38405
+
38406
+ /**
38407
+ * Error message.
38408
+ */
38409
+ message: string;
38410
+
38411
+ /**
38412
+ * Creates a new Error instance using the specified properties.
38413
+ * @param [properties] Properties to set
38414
+ * @returns Error instance
38415
+ */
38416
+ static create(
38417
+ properties?: replit$goval$api$pid2$IError
38418
+ ): replit$goval$api$pid2$Error;
38419
+
38420
+ /**
38421
+ * [object Object],[object Object],[object Object]
38422
+ * @param message Error message or plain object to encode
38423
+ * @param [writer] Writer to encode to
38424
+ * @returns Writer
38425
+ */
38426
+ static encode(
38427
+ message: replit$goval$api$pid2$Error,
38428
+ writer?: $protobuf.Writer
38429
+ ): $protobuf.Writer;
38430
+
38431
+ /**
38432
+ * [object Object],[object Object],[object Object]
38433
+ * @param message Error message or plain object to encode
38434
+ * @param [writer] Writer to encode to
38435
+ * @returns Writer
38436
+ */
38437
+ static encodeDelimited(
38438
+ message: replit$goval$api$pid2$Error,
38439
+ writer?: $protobuf.Writer
38440
+ ): $protobuf.Writer;
38441
+
38442
+ /**
38443
+ * Decodes an Error message from the specified reader or buffer.
38444
+ * @param reader Reader or buffer to decode from
38445
+ * @param [length] Message length if known beforehand
38446
+ * @returns Error
38447
+ * @throws {Error} If the payload is not a reader or valid buffer
38448
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
38449
+ */
38450
+ static decode(
38451
+ reader: $protobuf.Reader | Uint8Array,
38452
+ length?: number
38453
+ ): replit$goval$api$pid2$Error;
38454
+
38455
+ /**
38456
+ * Decodes an Error message from the specified reader or buffer, length delimited.
38457
+ * @param reader Reader or buffer to decode from
38458
+ * @returns Error
38459
+ * @throws {Error} If the payload is not a reader or valid buffer
38460
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
38461
+ */
38462
+ static decodeDelimited(
38463
+ reader: $protobuf.Reader | Uint8Array
38464
+ ): replit$goval$api$pid2$Error;
38465
+
38466
+ /**
38467
+ * Verifies an Error message.
38468
+ * @param message Plain object to verify
38469
+ * @returns `null` if valid, otherwise the reason why it is not
38470
+ */
38471
+ static verify(message: {|
38472
+ [k: string]: any,
38473
+ |}): string | null;
38474
+
38475
+ /**
38476
+ * Creates an Error message from a plain object. Also converts values to their respective internal types.
38477
+ * @param object Plain object
38478
+ * @returns Error
38479
+ */
38480
+ static fromObject(object: {|
38481
+ [k: string]: any,
38482
+ |}): replit$goval$api$pid2$Error;
38483
+
38484
+ /**
38485
+ * Creates a plain object from an Error message. Also converts values to other types if specified.
38486
+ * @param message Error
38487
+ * @param [options] Conversion options
38488
+ * @returns Plain object
38489
+ */
38490
+ static toObject(
38491
+ message: replit$goval$api$pid2$Error,
38492
+ options?: $protobuf.IConversionOptions
38493
+ ): {|
38494
+ [k: string]: any,
38495
+ |};
38496
+
38497
+ /**
38498
+ * Converts this Error to JSON.
38499
+ * @returns JSON object
38500
+ */
38501
+ toJSON(): {|
38502
+ [k: string]: any,
38503
+ |};
38504
+ static Code: typeof replit$goval$api$pid2$Error$Code;
38505
+ }
38506
+
38507
+ /**
38508
+ * Code enum.
38509
+ */
38510
+
38511
+ declare var replit$goval$api$pid2$Error$Code: {|
38512
+ +OK: 0, // 0
38513
+ +CANCELED: 1, // 1
38514
+ +UNKNOWN: 2, // 2
38515
+ +INVALID_ARGUMENT: 3, // 3
38516
+ +DEADLINE_EXCEEDED: 4, // 4
38517
+ +NOT_FOUND: 5, // 5
38518
+ +ALREADY_EXISTS: 6, // 6
38519
+ +PERMISSION_DENIED: 7, // 7
38520
+ +RESOURCE_EXHAUSTED: 8, // 8
38521
+ +FAILED_PRECONDITION: 9, // 9
38522
+ +ABORTED: 10, // 10
38523
+ +OUT_OF_RANGE: 11, // 11
38524
+ +UNIMPLEMENTED: 12, // 12
38525
+ +INTERNAL: 13, // 13
38526
+ +UNAVAILABLE: 14, // 14
38527
+ +DATA_LOSS: 15, // 15
38528
+ +UNAUTHENTICATED: 16, // 16
38529
+ |};
38530
+
38531
+ /**
38532
+ * Properties of a Ping.
38533
+ */
38534
+ declare type replit$goval$api$pid2$IPing = {|
38535
+ /**
38536
+ * Ping nonce
38537
+ */
38538
+ nonce?: number | null,
38539
+ |};
38540
+
38541
+ /**
38542
+ * Represents a Ping.
38543
+ */
38544
+ declare class replit$goval$api$pid2$Ping {
38545
+ /**
38546
+ * Constructs a new Ping.
38547
+ * @param [properties] Properties to set
38548
+ */
38549
+ constructor(properties?: replit$goval$api$pid2$IPing): this;
38550
+
38551
+ /**
38552
+ * Ping nonce.
38553
+ */
38554
+ nonce: number;
38555
+
38556
+ /**
38557
+ * Creates a new Ping instance using the specified properties.
38558
+ * @param [properties] Properties to set
38559
+ * @returns Ping instance
38560
+ */
38561
+ static create(
38562
+ properties?: replit$goval$api$pid2$IPing
38563
+ ): replit$goval$api$pid2$Ping;
38564
+
38565
+ /**
38566
+ * [object Object],[object Object],[object Object]
38567
+ * @param message Ping message or plain object to encode
38568
+ * @param [writer] Writer to encode to
38569
+ * @returns Writer
38570
+ */
38571
+ static encode(
38572
+ message: replit$goval$api$pid2$Ping,
38573
+ writer?: $protobuf.Writer
38574
+ ): $protobuf.Writer;
38575
+
38576
+ /**
38577
+ * [object Object],[object Object],[object Object]
38578
+ * @param message Ping message or plain object to encode
38579
+ * @param [writer] Writer to encode to
38580
+ * @returns Writer
38581
+ */
38582
+ static encodeDelimited(
38583
+ message: replit$goval$api$pid2$Ping,
38584
+ writer?: $protobuf.Writer
38585
+ ): $protobuf.Writer;
38586
+
38587
+ /**
38588
+ * Decodes a Ping message from the specified reader or buffer.
38589
+ * @param reader Reader or buffer to decode from
38590
+ * @param [length] Message length if known beforehand
38591
+ * @returns Ping
38592
+ * @throws {Error} If the payload is not a reader or valid buffer
38593
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
38594
+ */
38595
+ static decode(
38596
+ reader: $protobuf.Reader | Uint8Array,
38597
+ length?: number
38598
+ ): replit$goval$api$pid2$Ping;
38599
+
38600
+ /**
38601
+ * Decodes a Ping message from the specified reader or buffer, length delimited.
38602
+ * @param reader Reader or buffer to decode from
38603
+ * @returns Ping
38604
+ * @throws {Error} If the payload is not a reader or valid buffer
38605
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
38606
+ */
38607
+ static decodeDelimited(
38608
+ reader: $protobuf.Reader | Uint8Array
38609
+ ): replit$goval$api$pid2$Ping;
38610
+
38611
+ /**
38612
+ * Verifies a Ping message.
38613
+ * @param message Plain object to verify
38614
+ * @returns `null` if valid, otherwise the reason why it is not
38615
+ */
38616
+ static verify(message: {|
38617
+ [k: string]: any,
38618
+ |}): string | null;
38619
+
38620
+ /**
38621
+ * Creates a Ping message from a plain object. Also converts values to their respective internal types.
38622
+ * @param object Plain object
38623
+ * @returns Ping
38624
+ */
38625
+ static fromObject(object: {|
38626
+ [k: string]: any,
38627
+ |}): replit$goval$api$pid2$Ping;
38628
+
38629
+ /**
38630
+ * Creates a plain object from a Ping message. Also converts values to other types if specified.
38631
+ * @param message Ping
38632
+ * @param [options] Conversion options
38633
+ * @returns Plain object
38634
+ */
38635
+ static toObject(
38636
+ message: replit$goval$api$pid2$Ping,
38637
+ options?: $protobuf.IConversionOptions
38638
+ ): {|
38639
+ [k: string]: any,
38640
+ |};
38641
+
38642
+ /**
38643
+ * Converts this Ping to JSON.
38644
+ * @returns JSON object
38645
+ */
38646
+ toJSON(): {|
38647
+ [k: string]: any,
38648
+ |};
38649
+ }
38650
+ export var google = npm$namespace$google;
38651
+
38652
+ declare var npm$namespace$google: {|
38653
+ protobuf: typeof npm$namespace$google$protobuf,
38654
+ |};
38655
+
38656
+ declare var npm$namespace$google$protobuf: {|
38657
+ NullValue: typeof google$protobuf$NullValue,
38658
+ ITimestamp: Class<google$protobuf$ITimestamp>,
38659
+ IStruct: Class<google$protobuf$IStruct>,
38660
+ IValue: Class<google$protobuf$IValue>,
38661
+ IListValue: Class<google$protobuf$IListValue>,
38662
+ IFieldMask: Class<google$protobuf$IFieldMask>,
38663
+ IAny: Class<google$protobuf$IAny>,
38664
+ Timestamp: typeof google$protobuf$Timestamp,
38665
+ Struct: typeof google$protobuf$Struct,
38666
+ Value: typeof google$protobuf$Value,
38667
+ ListValue: typeof google$protobuf$ListValue,
38668
+ FieldMask: typeof google$protobuf$FieldMask,
38669
+ Any: typeof google$protobuf$Any,
38670
+ |};
38671
+
38672
+ /**
38673
+ * Properties of a Timestamp.
38674
+ */
38675
+ declare type google$protobuf$ITimestamp = {|
38676
+ /**
38677
+ * Timestamp seconds
38678
+ */
38679
+ seconds?: number | null,
38680
+
38681
+ /**
38682
+ * Timestamp nanos
38683
+ */
38684
+ nanos?: number | null,
38685
+ |};
38686
+
38687
+ /**
38688
+ * Represents a Timestamp.
38689
+ */
38690
+ declare class google$protobuf$Timestamp {
38691
+ /**
38692
+ * Constructs a new Timestamp.
38693
+ * @param [properties] Properties to set
38694
+ */
38695
+ constructor(properties?: google$protobuf$ITimestamp): this;
38696
+
38697
+ /**
38698
+ * Timestamp seconds.
38699
+ */
38700
+ seconds: number;
38701
+
38702
+ /**
38703
+ * Timestamp nanos.
38704
+ */
38705
+ nanos: number;
38706
+
38707
+ /**
38708
+ * Creates a new Timestamp instance using the specified properties.
38709
+ * @param [properties] Properties to set
38710
+ * @returns Timestamp instance
38711
+ */
38712
+ static create(
38713
+ properties?: google$protobuf$ITimestamp
38714
+ ): google$protobuf$Timestamp;
38715
+
38716
+ /**
38717
+ * [object Object],[object Object],[object Object]
38718
+ * @param message Timestamp message or plain object to encode
38719
+ * @param [writer] Writer to encode to
38720
+ * @returns Writer
38721
+ */
38722
+ static encode(
38723
+ message: google$protobuf$Timestamp,
38724
+ writer?: $protobuf.Writer
38725
+ ): $protobuf.Writer;
38726
+
38727
+ /**
38728
+ * [object Object],[object Object],[object Object]
38729
+ * @param message Timestamp message or plain object to encode
38730
+ * @param [writer] Writer to encode to
38731
+ * @returns Writer
38732
+ */
38733
+ static encodeDelimited(
38734
+ message: google$protobuf$Timestamp,
38735
+ writer?: $protobuf.Writer
38736
+ ): $protobuf.Writer;
38737
+
38738
+ /**
38739
+ * Decodes a Timestamp message from the specified reader or buffer.
38740
+ * @param reader Reader or buffer to decode from
38741
+ * @param [length] Message length if known beforehand
38742
+ * @returns Timestamp
38743
+ * @throws {Error} If the payload is not a reader or valid buffer
38744
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
38745
+ */
38746
+ static decode(
38747
+ reader: $protobuf.Reader | Uint8Array,
38748
+ length?: number
38749
+ ): google$protobuf$Timestamp;
38750
+
38751
+ /**
38752
+ * Decodes a Timestamp message from the specified reader or buffer, length delimited.
38753
+ * @param reader Reader or buffer to decode from
38754
+ * @returns Timestamp
38755
+ * @throws {Error} If the payload is not a reader or valid buffer
38756
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
38757
+ */
38758
+ static decodeDelimited(
38759
+ reader: $protobuf.Reader | Uint8Array
38760
+ ): google$protobuf$Timestamp;
38761
+
38762
+ /**
38763
+ * Verifies a Timestamp message.
38764
+ * @param message Plain object to verify
38765
+ * @returns `null` if valid, otherwise the reason why it is not
38766
+ */
38767
+ static verify(message: {|
38768
+ [k: string]: any,
38769
+ |}): string | null;
38770
+
38771
+ /**
38772
+ * Creates a Timestamp message from a plain object. Also converts values to their respective internal types.
38773
+ * @param object Plain object
38774
+ * @returns Timestamp
38775
+ */
38776
+ static fromObject(object: {|
38777
+ [k: string]: any,
38778
+ |}): google$protobuf$Timestamp;
38779
+
38780
+ /**
38781
+ * Creates a plain object from a Timestamp message. Also converts values to other types if specified.
38782
+ * @param message Timestamp
38783
+ * @param [options] Conversion options
38784
+ * @returns Plain object
38785
+ */
38786
+ static toObject(
38787
+ message: google$protobuf$Timestamp,
38788
+ options?: $protobuf.IConversionOptions
38789
+ ): {|
38790
+ [k: string]: any,
38791
+ |};
38792
+
38793
+ /**
38794
+ * Converts this Timestamp to JSON.
38795
+ * @returns JSON object
38796
+ */
38797
+ toJSON(): {|
38798
+ [k: string]: any,
38799
+ |};
38800
+ }
38801
+
38802
+ /**
38803
+ * Properties of a Struct.
38804
+ */
38805
+ declare type google$protobuf$IStruct = {|
38806
+ /**
38807
+ * Struct fields
38808
+ */
38809
+ fields?: {|
38810
+ [k: string]: google$protobuf$Value | google$protobuf$IValue,
38811
+ |} | null,
38812
+ |};
38813
+
38814
+ /**
38815
+ * Represents a Struct.
38816
+ */
38817
+ declare class google$protobuf$Struct {
38818
+ /**
38819
+ * Constructs a new Struct.
38820
+ * @param [properties] Properties to set
38821
+ */
38822
+ constructor(properties?: google$protobuf$IStruct): this;
38823
+
38824
+ /**
38825
+ * Struct fields.
38826
+ */
38827
+ fields: {|
38828
+ [k: string]: google$protobuf$Value,
38829
+ |};
38830
+
38831
+ /**
38832
+ * Creates a new Struct instance using the specified properties.
38833
+ * @param [properties] Properties to set
38834
+ * @returns Struct instance
38835
+ */
38836
+ static create(properties?: google$protobuf$IStruct): google$protobuf$Struct;
38837
+
38838
+ /**
38839
+ * [object Object],[object Object],[object Object]
38840
+ * @param message Struct message or plain object to encode
38841
+ * @param [writer] Writer to encode to
38842
+ * @returns Writer
38843
+ */
38844
+ static encode(
38845
+ message: google$protobuf$Struct,
38846
+ writer?: $protobuf.Writer
38847
+ ): $protobuf.Writer;
38848
+
38849
+ /**
38850
+ * [object Object],[object Object],[object Object]
38851
+ * @param message Struct message or plain object to encode
38852
+ * @param [writer] Writer to encode to
38853
+ * @returns Writer
38854
+ */
38855
+ static encodeDelimited(
38856
+ message: google$protobuf$Struct,
38857
+ writer?: $protobuf.Writer
38858
+ ): $protobuf.Writer;
38859
+
38860
+ /**
38861
+ * Decodes a Struct message from the specified reader or buffer.
38862
+ * @param reader Reader or buffer to decode from
38863
+ * @param [length] Message length if known beforehand
38864
+ * @returns Struct
38865
+ * @throws {Error} If the payload is not a reader or valid buffer
38866
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
38867
+ */
38868
+ static decode(
38869
+ reader: $protobuf.Reader | Uint8Array,
38870
+ length?: number
38871
+ ): google$protobuf$Struct;
38872
+
38873
+ /**
38874
+ * Decodes a Struct message from the specified reader or buffer, length delimited.
38875
+ * @param reader Reader or buffer to decode from
38876
+ * @returns Struct
38877
+ * @throws {Error} If the payload is not a reader or valid buffer
38878
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
38879
+ */
38880
+ static decodeDelimited(
38881
+ reader: $protobuf.Reader | Uint8Array
38882
+ ): google$protobuf$Struct;
38883
+
38884
+ /**
38885
+ * Verifies a Struct message.
38886
+ * @param message Plain object to verify
38887
+ * @returns `null` if valid, otherwise the reason why it is not
38888
+ */
38889
+ static verify(message: {|
38890
+ [k: string]: any,
38891
+ |}): string | null;
38892
+
38893
+ /**
38894
+ * Creates a Struct message from a plain object. Also converts values to their respective internal types.
38895
+ * @param object Plain object
38896
+ * @returns Struct
38897
+ */
38898
+ static fromObject(object: {|
38899
+ [k: string]: any,
38900
+ |}): google$protobuf$Struct;
38901
+
38902
+ /**
38903
+ * Creates a plain object from a Struct message. Also converts values to other types if specified.
38904
+ * @param message Struct
38905
+ * @param [options] Conversion options
38906
+ * @returns Plain object
38907
+ */
38908
+ static toObject(
38909
+ message: google$protobuf$Struct,
38910
+ options?: $protobuf.IConversionOptions
38911
+ ): {|
38912
+ [k: string]: any,
38913
+ |};
38914
+
38915
+ /**
38916
+ * Converts this Struct to JSON.
38917
+ * @returns JSON object
38918
+ */
38919
+ toJSON(): {|
38920
+ [k: string]: any,
38921
+ |};
38922
+ }
38923
+
38924
+ /**
38925
+ * Properties of a Value.
38926
+ */
38927
+ declare type google$protobuf$IValue = {|
38928
+ /**
38929
+ * Value nullValue
38930
+ */
38931
+ nullValue?: $Values<typeof google$protobuf$NullValue> | null,
38932
+
38933
+ /**
38934
+ * Value numberValue
38935
+ */
38936
+ numberValue?: number | null,
38937
+
38938
+ /**
38939
+ * Value stringValue
38940
+ */
38941
+ stringValue?: string | null,
38942
+
38943
+ /**
38944
+ * Value boolValue
38945
+ */
38946
+ boolValue?: boolean | null,
38947
+
38948
+ /**
38949
+ * Value structValue
38950
+ */
38951
+ structValue?: google$protobuf$Struct | google$protobuf$IStruct | null,
38952
+
38953
+ /**
38954
+ * Value listValue
38955
+ */
38956
+ listValue?: google$protobuf$ListValue | google$protobuf$IListValue | null,
38957
+ |};
38958
+
38959
+ /**
38960
+ * Represents a Value.
38961
+ */
38962
+ declare class google$protobuf$Value {
38963
+ /**
38964
+ * Constructs a new Value.
38965
+ * @param [properties] Properties to set
38966
+ */
38967
+ constructor(properties?: google$protobuf$IValue): this;
38968
+
38969
+ /**
38970
+ * Value nullValue.
38971
+ */
38972
+ nullValue?: $Values<typeof google$protobuf$NullValue> | null;
38973
+
38974
+ /**
38975
+ * Value numberValue.
38976
+ */
38977
+ numberValue?: number | null;
38978
+
38979
+ /**
38980
+ * Value stringValue.
38981
+ */
38982
+ stringValue?: string | null;
38983
+
38984
+ /**
38985
+ * Value boolValue.
38986
+ */
38987
+ boolValue?: boolean | null;
38988
+
38989
+ /**
38990
+ * Value structValue.
38991
+ */
38992
+ structValue?: google$protobuf$Struct | null;
38993
+
38994
+ /**
38995
+ * Value listValue.
38996
+ */
38997
+ listValue?: google$protobuf$ListValue | null;
38998
+
38999
+ /**
39000
+ * Value kind.
39001
+ */
39002
+ kind?:
39003
+ | "nullValue"
39004
+ | "numberValue"
39005
+ | "stringValue"
39006
+ | "boolValue"
39007
+ | "structValue"
39008
+ | "listValue";
39009
+
39010
+ /**
39011
+ * Creates a new Value instance using the specified properties.
39012
+ * @param [properties] Properties to set
39013
+ * @returns Value instance
39014
+ */
39015
+ static create(properties?: google$protobuf$IValue): google$protobuf$Value;
39016
+
39017
+ /**
39018
+ * [object Object],[object Object],[object Object]
39019
+ * @param message Value message or plain object to encode
39020
+ * @param [writer] Writer to encode to
39021
+ * @returns Writer
39022
+ */
39023
+ static encode(
39024
+ message: google$protobuf$Value,
39025
+ writer?: $protobuf.Writer
39026
+ ): $protobuf.Writer;
39027
+
39028
+ /**
39029
+ * [object Object],[object Object],[object Object]
39030
+ * @param message Value message or plain object to encode
39031
+ * @param [writer] Writer to encode to
39032
+ * @returns Writer
39033
+ */
39034
+ static encodeDelimited(
39035
+ message: google$protobuf$Value,
39036
+ writer?: $protobuf.Writer
39037
+ ): $protobuf.Writer;
39038
+
39039
+ /**
39040
+ * Decodes a Value message from the specified reader or buffer.
39041
+ * @param reader Reader or buffer to decode from
39042
+ * @param [length] Message length if known beforehand
39043
+ * @returns Value
39044
+ * @throws {Error} If the payload is not a reader or valid buffer
39045
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
39046
+ */
39047
+ static decode(
39048
+ reader: $protobuf.Reader | Uint8Array,
39049
+ length?: number
39050
+ ): google$protobuf$Value;
39051
+
39052
+ /**
39053
+ * Decodes a Value message from the specified reader or buffer, length delimited.
39054
+ * @param reader Reader or buffer to decode from
39055
+ * @returns Value
39056
+ * @throws {Error} If the payload is not a reader or valid buffer
39057
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
39058
+ */
39059
+ static decodeDelimited(
39060
+ reader: $protobuf.Reader | Uint8Array
39061
+ ): google$protobuf$Value;
39062
+
39063
+ /**
39064
+ * Verifies a Value message.
39065
+ * @param message Plain object to verify
39066
+ * @returns `null` if valid, otherwise the reason why it is not
39067
+ */
39068
+ static verify(message: {|
39069
+ [k: string]: any,
39070
+ |}): string | null;
39071
+
39072
+ /**
39073
+ * Creates a Value message from a plain object. Also converts values to their respective internal types.
39074
+ * @param object Plain object
39075
+ * @returns Value
39076
+ */
39077
+ static fromObject(object: {|
39078
+ [k: string]: any,
39079
+ |}): google$protobuf$Value;
39080
+
39081
+ /**
39082
+ * Creates a plain object from a Value message. Also converts values to other types if specified.
39083
+ * @param message Value
39084
+ * @param [options] Conversion options
39085
+ * @returns Plain object
39086
+ */
39087
+ static toObject(
39088
+ message: google$protobuf$Value,
39089
+ options?: $protobuf.IConversionOptions
39090
+ ): {|
39091
+ [k: string]: any,
39092
+ |};
39093
+
39094
+ /**
39095
+ * Converts this Value to JSON.
39096
+ * @returns JSON object
39097
+ */
39098
+ toJSON(): {|
39099
+ [k: string]: any,
39100
+ |};
39101
+ }
39102
+
39103
+ /**
39104
+ * NullValue enum.
39105
+ */
39106
+
39107
+ declare var google$protobuf$NullValue: {|
39108
+ +NULL_VALUE: 0, // 0
39109
+ |};
39110
+
39111
+ /**
39112
+ * Properties of a ListValue.
39113
+ */
39114
+ declare type google$protobuf$IListValue = {|
39115
+ /**
39116
+ * ListValue values
39117
+ */
39118
+ values?: (google$protobuf$Value | google$protobuf$IValue)[] | null,
39119
+ |};
39120
+
39121
+ /**
39122
+ * Represents a ListValue.
39123
+ */
39124
+ declare class google$protobuf$ListValue {
39125
+ /**
39126
+ * Constructs a new ListValue.
39127
+ * @param [properties] Properties to set
39128
+ */
39129
+ constructor(properties?: google$protobuf$IListValue): this;
39130
+
39131
+ /**
39132
+ * ListValue values.
39133
+ */
39134
+ values: google$protobuf$Value[];
39135
+
39136
+ /**
39137
+ * Creates a new ListValue instance using the specified properties.
39138
+ * @param [properties] Properties to set
39139
+ * @returns ListValue instance
39140
+ */
39141
+ static create(
39142
+ properties?: google$protobuf$IListValue
39143
+ ): google$protobuf$ListValue;
39144
+
39145
+ /**
39146
+ * [object Object],[object Object],[object Object]
39147
+ * @param message ListValue message or plain object to encode
39148
+ * @param [writer] Writer to encode to
39149
+ * @returns Writer
39150
+ */
39151
+ static encode(
39152
+ message: google$protobuf$ListValue,
39153
+ writer?: $protobuf.Writer
39154
+ ): $protobuf.Writer;
39155
+
39156
+ /**
39157
+ * [object Object],[object Object],[object Object]
39158
+ * @param message ListValue message or plain object to encode
39159
+ * @param [writer] Writer to encode to
39160
+ * @returns Writer
39161
+ */
39162
+ static encodeDelimited(
39163
+ message: google$protobuf$ListValue,
39164
+ writer?: $protobuf.Writer
39165
+ ): $protobuf.Writer;
39166
+
39167
+ /**
39168
+ * Decodes a ListValue message from the specified reader or buffer.
39169
+ * @param reader Reader or buffer to decode from
39170
+ * @param [length] Message length if known beforehand
39171
+ * @returns ListValue
39172
+ * @throws {Error} If the payload is not a reader or valid buffer
39173
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
39174
+ */
39175
+ static decode(
39176
+ reader: $protobuf.Reader | Uint8Array,
39177
+ length?: number
39178
+ ): google$protobuf$ListValue;
39179
+
39180
+ /**
39181
+ * Decodes a ListValue message from the specified reader or buffer, length delimited.
39182
+ * @param reader Reader or buffer to decode from
39183
+ * @returns ListValue
39184
+ * @throws {Error} If the payload is not a reader or valid buffer
39185
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
39186
+ */
39187
+ static decodeDelimited(
39188
+ reader: $protobuf.Reader | Uint8Array
39189
+ ): google$protobuf$ListValue;
39190
+
39191
+ /**
39192
+ * Verifies a ListValue message.
39193
+ * @param message Plain object to verify
39194
+ * @returns `null` if valid, otherwise the reason why it is not
39195
+ */
39196
+ static verify(message: {|
39197
+ [k: string]: any,
39198
+ |}): string | null;
39199
+
39200
+ /**
39201
+ * Creates a ListValue message from a plain object. Also converts values to their respective internal types.
39202
+ * @param object Plain object
39203
+ * @returns ListValue
39204
+ */
39205
+ static fromObject(object: {|
39206
+ [k: string]: any,
39207
+ |}): google$protobuf$ListValue;
39208
+
39209
+ /**
39210
+ * Creates a plain object from a ListValue message. Also converts values to other types if specified.
39211
+ * @param message ListValue
39212
+ * @param [options] Conversion options
39213
+ * @returns Plain object
39214
+ */
39215
+ static toObject(
39216
+ message: google$protobuf$ListValue,
39217
+ options?: $protobuf.IConversionOptions
39218
+ ): {|
39219
+ [k: string]: any,
39220
+ |};
39221
+
39222
+ /**
39223
+ * Converts this ListValue to JSON.
39224
+ * @returns JSON object
39225
+ */
39226
+ toJSON(): {|
39227
+ [k: string]: any,
39228
+ |};
39229
+ }
39230
+
39231
+ /**
39232
+ * Properties of a FieldMask.
39233
+ */
39234
+ declare type google$protobuf$IFieldMask = {|
39235
+ /**
39236
+ * FieldMask paths
39237
+ */
39238
+ paths?: string[] | null,
39239
+ |};
39240
+
39241
+ /**
39242
+ * Represents a FieldMask.
39243
+ */
39244
+ declare class google$protobuf$FieldMask {
39245
+ /**
39246
+ * Constructs a new FieldMask.
39247
+ * @param [properties] Properties to set
39248
+ */
39249
+ constructor(properties?: google$protobuf$IFieldMask): this;
39250
+
39251
+ /**
39252
+ * FieldMask paths.
39253
+ */
39254
+ paths: string[];
39255
+
39256
+ /**
39257
+ * Creates a new FieldMask instance using the specified properties.
39258
+ * @param [properties] Properties to set
39259
+ * @returns FieldMask instance
39260
+ */
39261
+ static create(
39262
+ properties?: google$protobuf$IFieldMask
39263
+ ): google$protobuf$FieldMask;
39264
+
39265
+ /**
39266
+ * [object Object],[object Object],[object Object]
39267
+ * @param message FieldMask message or plain object to encode
39268
+ * @param [writer] Writer to encode to
39269
+ * @returns Writer
39270
+ */
39271
+ static encode(
39272
+ message: google$protobuf$FieldMask,
39273
+ writer?: $protobuf.Writer
39274
+ ): $protobuf.Writer;
39275
+
39276
+ /**
39277
+ * [object Object],[object Object],[object Object]
39278
+ * @param message FieldMask message or plain object to encode
39279
+ * @param [writer] Writer to encode to
39280
+ * @returns Writer
39281
+ */
39282
+ static encodeDelimited(
39283
+ message: google$protobuf$FieldMask,
39284
+ writer?: $protobuf.Writer
39285
+ ): $protobuf.Writer;
39286
+
39287
+ /**
39288
+ * Decodes a FieldMask message from the specified reader or buffer.
39289
+ * @param reader Reader or buffer to decode from
39290
+ * @param [length] Message length if known beforehand
39291
+ * @returns FieldMask
39292
+ * @throws {Error} If the payload is not a reader or valid buffer
39293
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
39294
+ */
39295
+ static decode(
39296
+ reader: $protobuf.Reader | Uint8Array,
39297
+ length?: number
39298
+ ): google$protobuf$FieldMask;
39299
+
39300
+ /**
39301
+ * Decodes a FieldMask message from the specified reader or buffer, length delimited.
39302
+ * @param reader Reader or buffer to decode from
39303
+ * @returns FieldMask
39304
+ * @throws {Error} If the payload is not a reader or valid buffer
39305
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
39306
+ */
39307
+ static decodeDelimited(
39308
+ reader: $protobuf.Reader | Uint8Array
39309
+ ): google$protobuf$FieldMask;
39310
+
39311
+ /**
39312
+ * Verifies a FieldMask message.
39313
+ * @param message Plain object to verify
39314
+ * @returns `null` if valid, otherwise the reason why it is not
39315
+ */
39316
+ static verify(message: {|
39317
+ [k: string]: any,
39318
+ |}): string | null;
39319
+
39320
+ /**
39321
+ * Creates a FieldMask message from a plain object. Also converts values to their respective internal types.
39322
+ * @param object Plain object
39323
+ * @returns FieldMask
39324
+ */
39325
+ static fromObject(object: {|
39326
+ [k: string]: any,
39327
+ |}): google$protobuf$FieldMask;
39328
+
39329
+ /**
39330
+ * Creates a plain object from a FieldMask message. Also converts values to other types if specified.
39331
+ * @param message FieldMask
39332
+ * @param [options] Conversion options
39333
+ * @returns Plain object
39334
+ */
39335
+ static toObject(
39336
+ message: google$protobuf$FieldMask,
39337
+ options?: $protobuf.IConversionOptions
39338
+ ): {|
39339
+ [k: string]: any,
39340
+ |};
39341
+
39342
+ /**
39343
+ * Converts this FieldMask to JSON.
39344
+ * @returns JSON object
39345
+ */
39346
+ toJSON(): {|
39347
+ [k: string]: any,
39348
+ |};
39349
+ }
39350
+
39351
+ /**
39352
+ * Properties of an Any.
39353
+ */
39354
+ declare type google$protobuf$IAny = {|
39355
+ /**
39356
+ * Any type_url
39357
+ */
39358
+ type_url?: string | null,
39359
+
39360
+ /**
39361
+ * Any value
39362
+ */
39363
+ value?: Uint8Array | null,
39364
+ |};
39365
+
39366
+ /**
39367
+ * Represents an Any.
39368
+ */
39369
+ declare class google$protobuf$Any {
39370
+ /**
39371
+ * Constructs a new Any.
39372
+ * @param [properties] Properties to set
39373
+ */
39374
+ constructor(properties?: google$protobuf$IAny): this;
39375
+
39376
+ /**
39377
+ * Any type_url.
39378
+ */
39379
+ type_url: string;
39380
+
39381
+ /**
39382
+ * Any value.
39383
+ */
39384
+ value: Uint8Array;
39385
+
39386
+ /**
39387
+ * Creates a new Any instance using the specified properties.
39388
+ * @param [properties] Properties to set
39389
+ * @returns Any instance
39390
+ */
39391
+ static create(properties?: google$protobuf$IAny): google$protobuf$Any;
39392
+
39393
+ /**
39394
+ * [object Object],[object Object],[object Object]
39395
+ * @param message Any message or plain object to encode
39396
+ * @param [writer] Writer to encode to
39397
+ * @returns Writer
39398
+ */
39399
+ static encode(
39400
+ message: google$protobuf$Any,
39401
+ writer?: $protobuf.Writer
39402
+ ): $protobuf.Writer;
39403
+
39404
+ /**
39405
+ * [object Object],[object Object],[object Object]
39406
+ * @param message Any message or plain object to encode
39407
+ * @param [writer] Writer to encode to
39408
+ * @returns Writer
39409
+ */
39410
+ static encodeDelimited(
39411
+ message: google$protobuf$Any,
39412
+ writer?: $protobuf.Writer
39413
+ ): $protobuf.Writer;
39414
+
39415
+ /**
39416
+ * Decodes an Any message from the specified reader or buffer.
39417
+ * @param reader Reader or buffer to decode from
39418
+ * @param [length] Message length if known beforehand
39419
+ * @returns Any
39420
+ * @throws {Error} If the payload is not a reader or valid buffer
39421
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
39422
+ */
39423
+ static decode(
39424
+ reader: $protobuf.Reader | Uint8Array,
39425
+ length?: number
39426
+ ): google$protobuf$Any;
39427
+
39428
+ /**
39429
+ * Decodes an Any message from the specified reader or buffer, length delimited.
39430
+ * @param reader Reader or buffer to decode from
39431
+ * @returns Any
39432
+ * @throws {Error} If the payload is not a reader or valid buffer
39433
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
39434
+ */
39435
+ static decodeDelimited(
39436
+ reader: $protobuf.Reader | Uint8Array
39437
+ ): google$protobuf$Any;
39438
+
39439
+ /**
39440
+ * Verifies an Any message.
39441
+ * @param message Plain object to verify
39442
+ * @returns `null` if valid, otherwise the reason why it is not
39443
+ */
39444
+ static verify(message: {|
39445
+ [k: string]: any,
39446
+ |}): string | null;
39447
+
39448
+ /**
39449
+ * Creates an Any message from a plain object. Also converts values to their respective internal types.
39450
+ * @param object Plain object
39451
+ * @returns Any
39452
+ */
39453
+ static fromObject(object: {|
39454
+ [k: string]: any,
39455
+ |}): google$protobuf$Any;
39456
+
39457
+ /**
39458
+ * Creates a plain object from an Any message. Also converts values to other types if specified.
39459
+ * @param message Any
39460
+ * @param [options] Conversion options
39461
+ * @returns Plain object
39462
+ */
39463
+ static toObject(
39464
+ message: google$protobuf$Any,
39465
+ options?: $protobuf.IConversionOptions
39466
+ ): {|
39467
+ [k: string]: any,
39468
+ |};
39469
+
39470
+ /**
39471
+ * Converts this Any to JSON.
37788
39472
  * @returns JSON object
37789
39473
  */
37790
39474
  toJSON(): {|