@replit/protocol 0.2.49 → 0.2.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main/index.d.ts CHANGED
@@ -446,6 +446,12 @@ export namespace api {
446
446
  /** Command runConfigGetResponse */
447
447
  runConfigGetResponse?: (api.RunConfigGetResponse|api.IRunConfigGetResponse|null);
448
448
 
449
+ /** Command dotReplitUpdateRequest */
450
+ dotReplitUpdateRequest?: (api.DotReplitUpdateRequest|api.IDotReplitUpdateRequest|null);
451
+
452
+ /** Command dotReplitUpdateResponse */
453
+ dotReplitUpdateResponse?: (api.DotReplitUpdateResponse|api.IDotReplitUpdateResponse|null);
454
+
449
455
  /** Command startLSP */
450
456
  startLSP?: (api.StartLSP|api.IStartLSP|null);
451
457
 
@@ -909,6 +915,12 @@ export namespace api {
909
915
  /** Command runConfigGetResponse. */
910
916
  public runConfigGetResponse?: (api.RunConfigGetResponse|null);
911
917
 
918
+ /** Command dotReplitUpdateRequest. */
919
+ public dotReplitUpdateRequest?: (api.DotReplitUpdateRequest|null);
920
+
921
+ /** Command dotReplitUpdateResponse. */
922
+ public dotReplitUpdateResponse?: (api.DotReplitUpdateResponse|null);
923
+
912
924
  /** Command startLSP. */
913
925
  public startLSP?: (api.StartLSP|null);
914
926
 
@@ -922,7 +934,7 @@ export namespace api {
922
934
  public traceInfo: { [k: string]: string };
923
935
 
924
936
  /** Command body. */
925
- public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"startLSP"|"firewallDenied");
937
+ public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied");
926
938
 
927
939
  /**
928
940
  * Creates a new Command instance using the specified properties.
@@ -13482,6 +13494,282 @@ export namespace api {
13482
13494
  }
13483
13495
  }
13484
13496
 
13497
+ /** Properties of a DotReplitUpdateOp. */
13498
+ interface IDotReplitUpdateOp {
13499
+
13500
+ /** DotReplitUpdateOp op */
13501
+ op?: (string|null);
13502
+
13503
+ /** DotReplitUpdateOp path */
13504
+ path?: (string|null);
13505
+
13506
+ /** DotReplitUpdateOp value */
13507
+ value?: (google.protobuf.Value|google.protobuf.IValue|null);
13508
+ }
13509
+
13510
+ /** Represents a DotReplitUpdateOp. */
13511
+ class DotReplitUpdateOp {
13512
+
13513
+ /**
13514
+ * Constructs a new DotReplitUpdateOp.
13515
+ * @param [properties] Properties to set
13516
+ */
13517
+ private constructor(properties?: api.IDotReplitUpdateOp);
13518
+
13519
+ /** DotReplitUpdateOp op. */
13520
+ public op: string;
13521
+
13522
+ /** DotReplitUpdateOp path. */
13523
+ public path: string;
13524
+
13525
+ /** DotReplitUpdateOp value. */
13526
+ public value?: (google.protobuf.Value|null);
13527
+
13528
+ /**
13529
+ * Creates a new DotReplitUpdateOp instance using the specified properties.
13530
+ * @param [properties] Properties to set
13531
+ * @returns DotReplitUpdateOp instance
13532
+ */
13533
+ public static create(properties?: api.IDotReplitUpdateOp): api.DotReplitUpdateOp;
13534
+
13535
+ /**
13536
+ * Encodes the specified DotReplitUpdateOp message. Does not implicitly {@link api.DotReplitUpdateOp.verify|verify} messages.
13537
+ * @param message DotReplitUpdateOp message or plain object to encode
13538
+ * @param [writer] Writer to encode to
13539
+ * @returns Writer
13540
+ */
13541
+ public static encode(message: api.DotReplitUpdateOp, writer?: $protobuf.Writer): $protobuf.Writer;
13542
+
13543
+ /**
13544
+ * Encodes the specified DotReplitUpdateOp message, length delimited. Does not implicitly {@link api.DotReplitUpdateOp.verify|verify} messages.
13545
+ * @param message DotReplitUpdateOp message or plain object to encode
13546
+ * @param [writer] Writer to encode to
13547
+ * @returns Writer
13548
+ */
13549
+ public static encodeDelimited(message: api.DotReplitUpdateOp, writer?: $protobuf.Writer): $protobuf.Writer;
13550
+
13551
+ /**
13552
+ * Decodes a DotReplitUpdateOp message from the specified reader or buffer.
13553
+ * @param reader Reader or buffer to decode from
13554
+ * @param [length] Message length if known beforehand
13555
+ * @returns DotReplitUpdateOp
13556
+ * @throws {Error} If the payload is not a reader or valid buffer
13557
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13558
+ */
13559
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.DotReplitUpdateOp;
13560
+
13561
+ /**
13562
+ * Decodes a DotReplitUpdateOp message from the specified reader or buffer, length delimited.
13563
+ * @param reader Reader or buffer to decode from
13564
+ * @returns DotReplitUpdateOp
13565
+ * @throws {Error} If the payload is not a reader or valid buffer
13566
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13567
+ */
13568
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.DotReplitUpdateOp;
13569
+
13570
+ /**
13571
+ * Verifies a DotReplitUpdateOp message.
13572
+ * @param message Plain object to verify
13573
+ * @returns `null` if valid, otherwise the reason why it is not
13574
+ */
13575
+ public static verify(message: { [k: string]: any }): (string|null);
13576
+
13577
+ /**
13578
+ * Creates a DotReplitUpdateOp message from a plain object. Also converts values to their respective internal types.
13579
+ * @param object Plain object
13580
+ * @returns DotReplitUpdateOp
13581
+ */
13582
+ public static fromObject(object: { [k: string]: any }): api.DotReplitUpdateOp;
13583
+
13584
+ /**
13585
+ * Creates a plain object from a DotReplitUpdateOp message. Also converts values to other types if specified.
13586
+ * @param message DotReplitUpdateOp
13587
+ * @param [options] Conversion options
13588
+ * @returns Plain object
13589
+ */
13590
+ public static toObject(message: api.DotReplitUpdateOp, options?: $protobuf.IConversionOptions): { [k: string]: any };
13591
+
13592
+ /**
13593
+ * Converts this DotReplitUpdateOp to JSON.
13594
+ * @returns JSON object
13595
+ */
13596
+ public toJSON(): { [k: string]: any };
13597
+ }
13598
+
13599
+ /** Properties of a DotReplitUpdateRequest. */
13600
+ interface IDotReplitUpdateRequest {
13601
+
13602
+ /** DotReplitUpdateRequest ops */
13603
+ ops?: ((api.DotReplitUpdateOp|api.IDotReplitUpdateOp)[]|null);
13604
+ }
13605
+
13606
+ /** Represents a DotReplitUpdateRequest. */
13607
+ class DotReplitUpdateRequest {
13608
+
13609
+ /**
13610
+ * Constructs a new DotReplitUpdateRequest.
13611
+ * @param [properties] Properties to set
13612
+ */
13613
+ private constructor(properties?: api.IDotReplitUpdateRequest);
13614
+
13615
+ /** DotReplitUpdateRequest ops. */
13616
+ public ops: api.DotReplitUpdateOp[];
13617
+
13618
+ /**
13619
+ * Creates a new DotReplitUpdateRequest instance using the specified properties.
13620
+ * @param [properties] Properties to set
13621
+ * @returns DotReplitUpdateRequest instance
13622
+ */
13623
+ public static create(properties?: api.IDotReplitUpdateRequest): api.DotReplitUpdateRequest;
13624
+
13625
+ /**
13626
+ * Encodes the specified DotReplitUpdateRequest message. Does not implicitly {@link api.DotReplitUpdateRequest.verify|verify} messages.
13627
+ * @param message DotReplitUpdateRequest message or plain object to encode
13628
+ * @param [writer] Writer to encode to
13629
+ * @returns Writer
13630
+ */
13631
+ public static encode(message: api.DotReplitUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
13632
+
13633
+ /**
13634
+ * Encodes the specified DotReplitUpdateRequest message, length delimited. Does not implicitly {@link api.DotReplitUpdateRequest.verify|verify} messages.
13635
+ * @param message DotReplitUpdateRequest message or plain object to encode
13636
+ * @param [writer] Writer to encode to
13637
+ * @returns Writer
13638
+ */
13639
+ public static encodeDelimited(message: api.DotReplitUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
13640
+
13641
+ /**
13642
+ * Decodes a DotReplitUpdateRequest message from the specified reader or buffer.
13643
+ * @param reader Reader or buffer to decode from
13644
+ * @param [length] Message length if known beforehand
13645
+ * @returns DotReplitUpdateRequest
13646
+ * @throws {Error} If the payload is not a reader or valid buffer
13647
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13648
+ */
13649
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.DotReplitUpdateRequest;
13650
+
13651
+ /**
13652
+ * Decodes a DotReplitUpdateRequest message from the specified reader or buffer, length delimited.
13653
+ * @param reader Reader or buffer to decode from
13654
+ * @returns DotReplitUpdateRequest
13655
+ * @throws {Error} If the payload is not a reader or valid buffer
13656
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13657
+ */
13658
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.DotReplitUpdateRequest;
13659
+
13660
+ /**
13661
+ * Verifies a DotReplitUpdateRequest message.
13662
+ * @param message Plain object to verify
13663
+ * @returns `null` if valid, otherwise the reason why it is not
13664
+ */
13665
+ public static verify(message: { [k: string]: any }): (string|null);
13666
+
13667
+ /**
13668
+ * Creates a DotReplitUpdateRequest message from a plain object. Also converts values to their respective internal types.
13669
+ * @param object Plain object
13670
+ * @returns DotReplitUpdateRequest
13671
+ */
13672
+ public static fromObject(object: { [k: string]: any }): api.DotReplitUpdateRequest;
13673
+
13674
+ /**
13675
+ * Creates a plain object from a DotReplitUpdateRequest message. Also converts values to other types if specified.
13676
+ * @param message DotReplitUpdateRequest
13677
+ * @param [options] Conversion options
13678
+ * @returns Plain object
13679
+ */
13680
+ public static toObject(message: api.DotReplitUpdateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
13681
+
13682
+ /**
13683
+ * Converts this DotReplitUpdateRequest to JSON.
13684
+ * @returns JSON object
13685
+ */
13686
+ public toJSON(): { [k: string]: any };
13687
+ }
13688
+
13689
+ /** Properties of a DotReplitUpdateResponse. */
13690
+ interface IDotReplitUpdateResponse {
13691
+ }
13692
+
13693
+ /** Represents a DotReplitUpdateResponse. */
13694
+ class DotReplitUpdateResponse {
13695
+
13696
+ /**
13697
+ * Constructs a new DotReplitUpdateResponse.
13698
+ * @param [properties] Properties to set
13699
+ */
13700
+ private constructor(properties?: api.IDotReplitUpdateResponse);
13701
+
13702
+ /**
13703
+ * Creates a new DotReplitUpdateResponse instance using the specified properties.
13704
+ * @param [properties] Properties to set
13705
+ * @returns DotReplitUpdateResponse instance
13706
+ */
13707
+ public static create(properties?: api.IDotReplitUpdateResponse): api.DotReplitUpdateResponse;
13708
+
13709
+ /**
13710
+ * Encodes the specified DotReplitUpdateResponse message. Does not implicitly {@link api.DotReplitUpdateResponse.verify|verify} messages.
13711
+ * @param message DotReplitUpdateResponse message or plain object to encode
13712
+ * @param [writer] Writer to encode to
13713
+ * @returns Writer
13714
+ */
13715
+ public static encode(message: api.DotReplitUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer;
13716
+
13717
+ /**
13718
+ * Encodes the specified DotReplitUpdateResponse message, length delimited. Does not implicitly {@link api.DotReplitUpdateResponse.verify|verify} messages.
13719
+ * @param message DotReplitUpdateResponse message or plain object to encode
13720
+ * @param [writer] Writer to encode to
13721
+ * @returns Writer
13722
+ */
13723
+ public static encodeDelimited(message: api.DotReplitUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer;
13724
+
13725
+ /**
13726
+ * Decodes a DotReplitUpdateResponse message from the specified reader or buffer.
13727
+ * @param reader Reader or buffer to decode from
13728
+ * @param [length] Message length if known beforehand
13729
+ * @returns DotReplitUpdateResponse
13730
+ * @throws {Error} If the payload is not a reader or valid buffer
13731
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13732
+ */
13733
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): api.DotReplitUpdateResponse;
13734
+
13735
+ /**
13736
+ * Decodes a DotReplitUpdateResponse message from the specified reader or buffer, length delimited.
13737
+ * @param reader Reader or buffer to decode from
13738
+ * @returns DotReplitUpdateResponse
13739
+ * @throws {Error} If the payload is not a reader or valid buffer
13740
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13741
+ */
13742
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): api.DotReplitUpdateResponse;
13743
+
13744
+ /**
13745
+ * Verifies a DotReplitUpdateResponse message.
13746
+ * @param message Plain object to verify
13747
+ * @returns `null` if valid, otherwise the reason why it is not
13748
+ */
13749
+ public static verify(message: { [k: string]: any }): (string|null);
13750
+
13751
+ /**
13752
+ * Creates a DotReplitUpdateResponse message from a plain object. Also converts values to their respective internal types.
13753
+ * @param object Plain object
13754
+ * @returns DotReplitUpdateResponse
13755
+ */
13756
+ public static fromObject(object: { [k: string]: any }): api.DotReplitUpdateResponse;
13757
+
13758
+ /**
13759
+ * Creates a plain object from a DotReplitUpdateResponse message. Also converts values to other types if specified.
13760
+ * @param message DotReplitUpdateResponse
13761
+ * @param [options] Conversion options
13762
+ * @returns Plain object
13763
+ */
13764
+ public static toObject(message: api.DotReplitUpdateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
13765
+
13766
+ /**
13767
+ * Converts this DotReplitUpdateResponse to JSON.
13768
+ * @returns JSON object
13769
+ */
13770
+ public toJSON(): { [k: string]: any };
13771
+ }
13772
+
13485
13773
  /** Properties of a DebugAddBreakpointRequest. */
13486
13774
  interface IDebugAddBreakpointRequest {
13487
13775
 
@@ -17000,5 +17288,313 @@ export namespace google {
17000
17288
  */
17001
17289
  public toJSON(): { [k: string]: any };
17002
17290
  }
17291
+
17292
+ /** Properties of a Struct. */
17293
+ interface IStruct {
17294
+
17295
+ /** Struct fields */
17296
+ fields?: ({ [k: string]: (google.protobuf.Value|google.protobuf.IValue) }|null);
17297
+ }
17298
+
17299
+ /** Represents a Struct. */
17300
+ class Struct {
17301
+
17302
+ /**
17303
+ * Constructs a new Struct.
17304
+ * @param [properties] Properties to set
17305
+ */
17306
+ private constructor(properties?: google.protobuf.IStruct);
17307
+
17308
+ /** Struct fields. */
17309
+ public fields: { [k: string]: google.protobuf.Value };
17310
+
17311
+ /**
17312
+ * Creates a new Struct instance using the specified properties.
17313
+ * @param [properties] Properties to set
17314
+ * @returns Struct instance
17315
+ */
17316
+ public static create(properties?: google.protobuf.IStruct): google.protobuf.Struct;
17317
+
17318
+ /**
17319
+ * Encodes the specified Struct message. Does not implicitly {@link google.protobuf.Struct.verify|verify} messages.
17320
+ * @param message Struct message or plain object to encode
17321
+ * @param [writer] Writer to encode to
17322
+ * @returns Writer
17323
+ */
17324
+ public static encode(message: google.protobuf.Struct, writer?: $protobuf.Writer): $protobuf.Writer;
17325
+
17326
+ /**
17327
+ * Encodes the specified Struct message, length delimited. Does not implicitly {@link google.protobuf.Struct.verify|verify} messages.
17328
+ * @param message Struct message or plain object to encode
17329
+ * @param [writer] Writer to encode to
17330
+ * @returns Writer
17331
+ */
17332
+ public static encodeDelimited(message: google.protobuf.Struct, writer?: $protobuf.Writer): $protobuf.Writer;
17333
+
17334
+ /**
17335
+ * Decodes a Struct message from the specified reader or buffer.
17336
+ * @param reader Reader or buffer to decode from
17337
+ * @param [length] Message length if known beforehand
17338
+ * @returns Struct
17339
+ * @throws {Error} If the payload is not a reader or valid buffer
17340
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
17341
+ */
17342
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Struct;
17343
+
17344
+ /**
17345
+ * Decodes a Struct message from the specified reader or buffer, length delimited.
17346
+ * @param reader Reader or buffer to decode from
17347
+ * @returns Struct
17348
+ * @throws {Error} If the payload is not a reader or valid buffer
17349
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
17350
+ */
17351
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Struct;
17352
+
17353
+ /**
17354
+ * Verifies a Struct message.
17355
+ * @param message Plain object to verify
17356
+ * @returns `null` if valid, otherwise the reason why it is not
17357
+ */
17358
+ public static verify(message: { [k: string]: any }): (string|null);
17359
+
17360
+ /**
17361
+ * Creates a Struct message from a plain object. Also converts values to their respective internal types.
17362
+ * @param object Plain object
17363
+ * @returns Struct
17364
+ */
17365
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Struct;
17366
+
17367
+ /**
17368
+ * Creates a plain object from a Struct message. Also converts values to other types if specified.
17369
+ * @param message Struct
17370
+ * @param [options] Conversion options
17371
+ * @returns Plain object
17372
+ */
17373
+ public static toObject(message: google.protobuf.Struct, options?: $protobuf.IConversionOptions): { [k: string]: any };
17374
+
17375
+ /**
17376
+ * Converts this Struct to JSON.
17377
+ * @returns JSON object
17378
+ */
17379
+ public toJSON(): { [k: string]: any };
17380
+ }
17381
+
17382
+ /** Properties of a Value. */
17383
+ interface IValue {
17384
+
17385
+ /** Value nullValue */
17386
+ nullValue?: (google.protobuf.NullValue|null);
17387
+
17388
+ /** Value numberValue */
17389
+ numberValue?: (number|null);
17390
+
17391
+ /** Value stringValue */
17392
+ stringValue?: (string|null);
17393
+
17394
+ /** Value boolValue */
17395
+ boolValue?: (boolean|null);
17396
+
17397
+ /** Value structValue */
17398
+ structValue?: (google.protobuf.Struct|google.protobuf.IStruct|null);
17399
+
17400
+ /** Value listValue */
17401
+ listValue?: (google.protobuf.ListValue|google.protobuf.IListValue|null);
17402
+ }
17403
+
17404
+ /** Represents a Value. */
17405
+ class Value {
17406
+
17407
+ /**
17408
+ * Constructs a new Value.
17409
+ * @param [properties] Properties to set
17410
+ */
17411
+ private constructor(properties?: google.protobuf.IValue);
17412
+
17413
+ /** Value nullValue. */
17414
+ public nullValue?: (google.protobuf.NullValue|null);
17415
+
17416
+ /** Value numberValue. */
17417
+ public numberValue?: (number|null);
17418
+
17419
+ /** Value stringValue. */
17420
+ public stringValue?: (string|null);
17421
+
17422
+ /** Value boolValue. */
17423
+ public boolValue?: (boolean|null);
17424
+
17425
+ /** Value structValue. */
17426
+ public structValue?: (google.protobuf.Struct|null);
17427
+
17428
+ /** Value listValue. */
17429
+ public listValue?: (google.protobuf.ListValue|null);
17430
+
17431
+ /** Value kind. */
17432
+ public kind?: ("nullValue"|"numberValue"|"stringValue"|"boolValue"|"structValue"|"listValue");
17433
+
17434
+ /**
17435
+ * Creates a new Value instance using the specified properties.
17436
+ * @param [properties] Properties to set
17437
+ * @returns Value instance
17438
+ */
17439
+ public static create(properties?: google.protobuf.IValue): google.protobuf.Value;
17440
+
17441
+ /**
17442
+ * Encodes the specified Value message. Does not implicitly {@link google.protobuf.Value.verify|verify} messages.
17443
+ * @param message Value message or plain object to encode
17444
+ * @param [writer] Writer to encode to
17445
+ * @returns Writer
17446
+ */
17447
+ public static encode(message: google.protobuf.Value, writer?: $protobuf.Writer): $protobuf.Writer;
17448
+
17449
+ /**
17450
+ * Encodes the specified Value message, length delimited. Does not implicitly {@link google.protobuf.Value.verify|verify} messages.
17451
+ * @param message Value message or plain object to encode
17452
+ * @param [writer] Writer to encode to
17453
+ * @returns Writer
17454
+ */
17455
+ public static encodeDelimited(message: google.protobuf.Value, writer?: $protobuf.Writer): $protobuf.Writer;
17456
+
17457
+ /**
17458
+ * Decodes a Value message from the specified reader or buffer.
17459
+ * @param reader Reader or buffer to decode from
17460
+ * @param [length] Message length if known beforehand
17461
+ * @returns Value
17462
+ * @throws {Error} If the payload is not a reader or valid buffer
17463
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
17464
+ */
17465
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Value;
17466
+
17467
+ /**
17468
+ * Decodes a Value message from the specified reader or buffer, length delimited.
17469
+ * @param reader Reader or buffer to decode from
17470
+ * @returns Value
17471
+ * @throws {Error} If the payload is not a reader or valid buffer
17472
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
17473
+ */
17474
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Value;
17475
+
17476
+ /**
17477
+ * Verifies a Value message.
17478
+ * @param message Plain object to verify
17479
+ * @returns `null` if valid, otherwise the reason why it is not
17480
+ */
17481
+ public static verify(message: { [k: string]: any }): (string|null);
17482
+
17483
+ /**
17484
+ * Creates a Value message from a plain object. Also converts values to their respective internal types.
17485
+ * @param object Plain object
17486
+ * @returns Value
17487
+ */
17488
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Value;
17489
+
17490
+ /**
17491
+ * Creates a plain object from a Value message. Also converts values to other types if specified.
17492
+ * @param message Value
17493
+ * @param [options] Conversion options
17494
+ * @returns Plain object
17495
+ */
17496
+ public static toObject(message: google.protobuf.Value, options?: $protobuf.IConversionOptions): { [k: string]: any };
17497
+
17498
+ /**
17499
+ * Converts this Value to JSON.
17500
+ * @returns JSON object
17501
+ */
17502
+ public toJSON(): { [k: string]: any };
17503
+ }
17504
+
17505
+ /** NullValue enum. */
17506
+ enum NullValue {
17507
+ NULL_VALUE = 0
17508
+ }
17509
+
17510
+ /** Properties of a ListValue. */
17511
+ interface IListValue {
17512
+
17513
+ /** ListValue values */
17514
+ values?: ((google.protobuf.Value|google.protobuf.IValue)[]|null);
17515
+ }
17516
+
17517
+ /** Represents a ListValue. */
17518
+ class ListValue {
17519
+
17520
+ /**
17521
+ * Constructs a new ListValue.
17522
+ * @param [properties] Properties to set
17523
+ */
17524
+ private constructor(properties?: google.protobuf.IListValue);
17525
+
17526
+ /** ListValue values. */
17527
+ public values: google.protobuf.Value[];
17528
+
17529
+ /**
17530
+ * Creates a new ListValue instance using the specified properties.
17531
+ * @param [properties] Properties to set
17532
+ * @returns ListValue instance
17533
+ */
17534
+ public static create(properties?: google.protobuf.IListValue): google.protobuf.ListValue;
17535
+
17536
+ /**
17537
+ * Encodes the specified ListValue message. Does not implicitly {@link google.protobuf.ListValue.verify|verify} messages.
17538
+ * @param message ListValue message or plain object to encode
17539
+ * @param [writer] Writer to encode to
17540
+ * @returns Writer
17541
+ */
17542
+ public static encode(message: google.protobuf.ListValue, writer?: $protobuf.Writer): $protobuf.Writer;
17543
+
17544
+ /**
17545
+ * Encodes the specified ListValue message, length delimited. Does not implicitly {@link google.protobuf.ListValue.verify|verify} messages.
17546
+ * @param message ListValue message or plain object to encode
17547
+ * @param [writer] Writer to encode to
17548
+ * @returns Writer
17549
+ */
17550
+ public static encodeDelimited(message: google.protobuf.ListValue, writer?: $protobuf.Writer): $protobuf.Writer;
17551
+
17552
+ /**
17553
+ * Decodes a ListValue message from the specified reader or buffer.
17554
+ * @param reader Reader or buffer to decode from
17555
+ * @param [length] Message length if known beforehand
17556
+ * @returns ListValue
17557
+ * @throws {Error} If the payload is not a reader or valid buffer
17558
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
17559
+ */
17560
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ListValue;
17561
+
17562
+ /**
17563
+ * Decodes a ListValue message from the specified reader or buffer, length delimited.
17564
+ * @param reader Reader or buffer to decode from
17565
+ * @returns ListValue
17566
+ * @throws {Error} If the payload is not a reader or valid buffer
17567
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
17568
+ */
17569
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ListValue;
17570
+
17571
+ /**
17572
+ * Verifies a ListValue message.
17573
+ * @param message Plain object to verify
17574
+ * @returns `null` if valid, otherwise the reason why it is not
17575
+ */
17576
+ public static verify(message: { [k: string]: any }): (string|null);
17577
+
17578
+ /**
17579
+ * Creates a ListValue message from a plain object. Also converts values to their respective internal types.
17580
+ * @param object Plain object
17581
+ * @returns ListValue
17582
+ */
17583
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ListValue;
17584
+
17585
+ /**
17586
+ * Creates a plain object from a ListValue message. Also converts values to other types if specified.
17587
+ * @param message ListValue
17588
+ * @param [options] Conversion options
17589
+ * @returns Plain object
17590
+ */
17591
+ public static toObject(message: google.protobuf.ListValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
17592
+
17593
+ /**
17594
+ * Converts this ListValue to JSON.
17595
+ * @returns JSON object
17596
+ */
17597
+ public toJSON(): { [k: string]: any };
17598
+ }
17003
17599
  }
17004
17600
  }