@replit/protocol 0.3.11 → 0.3.13

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