@google-cloud/pubsub 4.1.1 → 4.3.0

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.
@@ -241,6 +241,9 @@ export namespace google {
241
241
 
242
242
  /** MessageStoragePolicy allowedPersistenceRegions */
243
243
  allowedPersistenceRegions?: (string[]|null);
244
+
245
+ /** MessageStoragePolicy enforceInTransit */
246
+ enforceInTransit?: (boolean|null);
244
247
  }
245
248
 
246
249
  /** Represents a MessageStoragePolicy. */
@@ -255,6 +258,9 @@ export namespace google {
255
258
  /** MessageStoragePolicy allowedPersistenceRegions. */
256
259
  public allowedPersistenceRegions: string[];
257
260
 
261
+ /** MessageStoragePolicy enforceInTransit. */
262
+ public enforceInTransit: boolean;
263
+
258
264
  /**
259
265
  * Creates a new MessageStoragePolicy instance using the specified properties.
260
266
  * @param [properties] Properties to set
@@ -448,6 +454,243 @@ export namespace google {
448
454
  public static getTypeUrl(typeUrlPrefix?: string): string;
449
455
  }
450
456
 
457
+ /** Properties of an IngestionDataSourceSettings. */
458
+ interface IIngestionDataSourceSettings {
459
+
460
+ /** IngestionDataSourceSettings awsKinesis */
461
+ awsKinesis?: (google.pubsub.v1.IngestionDataSourceSettings.IAwsKinesis|null);
462
+ }
463
+
464
+ /** Represents an IngestionDataSourceSettings. */
465
+ class IngestionDataSourceSettings implements IIngestionDataSourceSettings {
466
+
467
+ /**
468
+ * Constructs a new IngestionDataSourceSettings.
469
+ * @param [properties] Properties to set
470
+ */
471
+ constructor(properties?: google.pubsub.v1.IIngestionDataSourceSettings);
472
+
473
+ /** IngestionDataSourceSettings awsKinesis. */
474
+ public awsKinesis?: (google.pubsub.v1.IngestionDataSourceSettings.IAwsKinesis|null);
475
+
476
+ /** IngestionDataSourceSettings source. */
477
+ public source?: "awsKinesis";
478
+
479
+ /**
480
+ * Creates a new IngestionDataSourceSettings instance using the specified properties.
481
+ * @param [properties] Properties to set
482
+ * @returns IngestionDataSourceSettings instance
483
+ */
484
+ public static create(properties?: google.pubsub.v1.IIngestionDataSourceSettings): google.pubsub.v1.IngestionDataSourceSettings;
485
+
486
+ /**
487
+ * Encodes the specified IngestionDataSourceSettings message. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.verify|verify} messages.
488
+ * @param message IngestionDataSourceSettings message or plain object to encode
489
+ * @param [writer] Writer to encode to
490
+ * @returns Writer
491
+ */
492
+ public static encode(message: google.pubsub.v1.IIngestionDataSourceSettings, writer?: $protobuf.Writer): $protobuf.Writer;
493
+
494
+ /**
495
+ * Encodes the specified IngestionDataSourceSettings message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.verify|verify} messages.
496
+ * @param message IngestionDataSourceSettings message or plain object to encode
497
+ * @param [writer] Writer to encode to
498
+ * @returns Writer
499
+ */
500
+ public static encodeDelimited(message: google.pubsub.v1.IIngestionDataSourceSettings, writer?: $protobuf.Writer): $protobuf.Writer;
501
+
502
+ /**
503
+ * Decodes an IngestionDataSourceSettings message from the specified reader or buffer.
504
+ * @param reader Reader or buffer to decode from
505
+ * @param [length] Message length if known beforehand
506
+ * @returns IngestionDataSourceSettings
507
+ * @throws {Error} If the payload is not a reader or valid buffer
508
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
509
+ */
510
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionDataSourceSettings;
511
+
512
+ /**
513
+ * Decodes an IngestionDataSourceSettings message from the specified reader or buffer, length delimited.
514
+ * @param reader Reader or buffer to decode from
515
+ * @returns IngestionDataSourceSettings
516
+ * @throws {Error} If the payload is not a reader or valid buffer
517
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
518
+ */
519
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionDataSourceSettings;
520
+
521
+ /**
522
+ * Verifies an IngestionDataSourceSettings message.
523
+ * @param message Plain object to verify
524
+ * @returns `null` if valid, otherwise the reason why it is not
525
+ */
526
+ public static verify(message: { [k: string]: any }): (string|null);
527
+
528
+ /**
529
+ * Creates an IngestionDataSourceSettings message from a plain object. Also converts values to their respective internal types.
530
+ * @param object Plain object
531
+ * @returns IngestionDataSourceSettings
532
+ */
533
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionDataSourceSettings;
534
+
535
+ /**
536
+ * Creates a plain object from an IngestionDataSourceSettings message. Also converts values to other types if specified.
537
+ * @param message IngestionDataSourceSettings
538
+ * @param [options] Conversion options
539
+ * @returns Plain object
540
+ */
541
+ public static toObject(message: google.pubsub.v1.IngestionDataSourceSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
542
+
543
+ /**
544
+ * Converts this IngestionDataSourceSettings to JSON.
545
+ * @returns JSON object
546
+ */
547
+ public toJSON(): { [k: string]: any };
548
+
549
+ /**
550
+ * Gets the default type url for IngestionDataSourceSettings
551
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
552
+ * @returns The default type url
553
+ */
554
+ public static getTypeUrl(typeUrlPrefix?: string): string;
555
+ }
556
+
557
+ namespace IngestionDataSourceSettings {
558
+
559
+ /** Properties of an AwsKinesis. */
560
+ interface IAwsKinesis {
561
+
562
+ /** AwsKinesis state */
563
+ state?: (google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.State|keyof typeof google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.State|null);
564
+
565
+ /** AwsKinesis streamArn */
566
+ streamArn?: (string|null);
567
+
568
+ /** AwsKinesis consumerArn */
569
+ consumerArn?: (string|null);
570
+
571
+ /** AwsKinesis awsRoleArn */
572
+ awsRoleArn?: (string|null);
573
+
574
+ /** AwsKinesis gcpServiceAccount */
575
+ gcpServiceAccount?: (string|null);
576
+ }
577
+
578
+ /** Represents an AwsKinesis. */
579
+ class AwsKinesis implements IAwsKinesis {
580
+
581
+ /**
582
+ * Constructs a new AwsKinesis.
583
+ * @param [properties] Properties to set
584
+ */
585
+ constructor(properties?: google.pubsub.v1.IngestionDataSourceSettings.IAwsKinesis);
586
+
587
+ /** AwsKinesis state. */
588
+ public state: (google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.State|keyof typeof google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.State);
589
+
590
+ /** AwsKinesis streamArn. */
591
+ public streamArn: string;
592
+
593
+ /** AwsKinesis consumerArn. */
594
+ public consumerArn: string;
595
+
596
+ /** AwsKinesis awsRoleArn. */
597
+ public awsRoleArn: string;
598
+
599
+ /** AwsKinesis gcpServiceAccount. */
600
+ public gcpServiceAccount: string;
601
+
602
+ /**
603
+ * Creates a new AwsKinesis instance using the specified properties.
604
+ * @param [properties] Properties to set
605
+ * @returns AwsKinesis instance
606
+ */
607
+ public static create(properties?: google.pubsub.v1.IngestionDataSourceSettings.IAwsKinesis): google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis;
608
+
609
+ /**
610
+ * Encodes the specified AwsKinesis message. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.verify|verify} messages.
611
+ * @param message AwsKinesis message or plain object to encode
612
+ * @param [writer] Writer to encode to
613
+ * @returns Writer
614
+ */
615
+ public static encode(message: google.pubsub.v1.IngestionDataSourceSettings.IAwsKinesis, writer?: $protobuf.Writer): $protobuf.Writer;
616
+
617
+ /**
618
+ * Encodes the specified AwsKinesis message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis.verify|verify} messages.
619
+ * @param message AwsKinesis message or plain object to encode
620
+ * @param [writer] Writer to encode to
621
+ * @returns Writer
622
+ */
623
+ public static encodeDelimited(message: google.pubsub.v1.IngestionDataSourceSettings.IAwsKinesis, writer?: $protobuf.Writer): $protobuf.Writer;
624
+
625
+ /**
626
+ * Decodes an AwsKinesis message from the specified reader or buffer.
627
+ * @param reader Reader or buffer to decode from
628
+ * @param [length] Message length if known beforehand
629
+ * @returns AwsKinesis
630
+ * @throws {Error} If the payload is not a reader or valid buffer
631
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
632
+ */
633
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis;
634
+
635
+ /**
636
+ * Decodes an AwsKinesis message from the specified reader or buffer, length delimited.
637
+ * @param reader Reader or buffer to decode from
638
+ * @returns AwsKinesis
639
+ * @throws {Error} If the payload is not a reader or valid buffer
640
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
641
+ */
642
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis;
643
+
644
+ /**
645
+ * Verifies an AwsKinesis message.
646
+ * @param message Plain object to verify
647
+ * @returns `null` if valid, otherwise the reason why it is not
648
+ */
649
+ public static verify(message: { [k: string]: any }): (string|null);
650
+
651
+ /**
652
+ * Creates an AwsKinesis message from a plain object. Also converts values to their respective internal types.
653
+ * @param object Plain object
654
+ * @returns AwsKinesis
655
+ */
656
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis;
657
+
658
+ /**
659
+ * Creates a plain object from an AwsKinesis message. Also converts values to other types if specified.
660
+ * @param message AwsKinesis
661
+ * @param [options] Conversion options
662
+ * @returns Plain object
663
+ */
664
+ public static toObject(message: google.pubsub.v1.IngestionDataSourceSettings.AwsKinesis, options?: $protobuf.IConversionOptions): { [k: string]: any };
665
+
666
+ /**
667
+ * Converts this AwsKinesis to JSON.
668
+ * @returns JSON object
669
+ */
670
+ public toJSON(): { [k: string]: any };
671
+
672
+ /**
673
+ * Gets the default type url for AwsKinesis
674
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
675
+ * @returns The default type url
676
+ */
677
+ public static getTypeUrl(typeUrlPrefix?: string): string;
678
+ }
679
+
680
+ namespace AwsKinesis {
681
+
682
+ /** State enum. */
683
+ enum State {
684
+ STATE_UNSPECIFIED = 0,
685
+ ACTIVE = 1,
686
+ KINESIS_PERMISSION_DENIED = 2,
687
+ PUBLISH_PERMISSION_DENIED = 3,
688
+ STREAM_NOT_FOUND = 4,
689
+ CONSUMER_NOT_FOUND = 5
690
+ }
691
+ }
692
+ }
693
+
451
694
  /** Properties of a Topic. */
452
695
  interface ITopic {
453
696
 
@@ -471,6 +714,12 @@ export namespace google {
471
714
 
472
715
  /** Topic messageRetentionDuration */
473
716
  messageRetentionDuration?: (google.protobuf.IDuration|null);
717
+
718
+ /** Topic state */
719
+ state?: (google.pubsub.v1.Topic.State|keyof typeof google.pubsub.v1.Topic.State|null);
720
+
721
+ /** Topic ingestionDataSourceSettings */
722
+ ingestionDataSourceSettings?: (google.pubsub.v1.IIngestionDataSourceSettings|null);
474
723
  }
475
724
 
476
725
  /** Represents a Topic. */
@@ -503,6 +752,12 @@ export namespace google {
503
752
  /** Topic messageRetentionDuration. */
504
753
  public messageRetentionDuration?: (google.protobuf.IDuration|null);
505
754
 
755
+ /** Topic state. */
756
+ public state: (google.pubsub.v1.Topic.State|keyof typeof google.pubsub.v1.Topic.State);
757
+
758
+ /** Topic ingestionDataSourceSettings. */
759
+ public ingestionDataSourceSettings?: (google.pubsub.v1.IIngestionDataSourceSettings|null);
760
+
506
761
  /**
507
762
  * Creates a new Topic instance using the specified properties.
508
763
  * @param [properties] Properties to set
@@ -581,6 +836,16 @@ export namespace google {
581
836
  public static getTypeUrl(typeUrlPrefix?: string): string;
582
837
  }
583
838
 
839
+ namespace Topic {
840
+
841
+ /** State enum. */
842
+ enum State {
843
+ STATE_UNSPECIFIED = 0,
844
+ ACTIVE = 1,
845
+ INGESTION_RESOURCE_ERROR = 2
846
+ }
847
+ }
848
+
584
849
  /** Properties of a PubsubMessage. */
585
850
  interface IPubsubMessage {
586
851
 
@@ -3451,7 +3716,8 @@ export namespace google {
3451
3716
  ACTIVE = 1,
3452
3717
  PERMISSION_DENIED = 2,
3453
3718
  NOT_FOUND = 3,
3454
- SCHEMA_MISMATCH = 4
3719
+ SCHEMA_MISMATCH = 4,
3720
+ IN_TRANSIT_LOCATION_RESTRICTION = 5
3455
3721
  }
3456
3722
  }
3457
3723
 
@@ -3792,7 +4058,8 @@ export namespace google {
3792
4058
  STATE_UNSPECIFIED = 0,
3793
4059
  ACTIVE = 1,
3794
4060
  PERMISSION_DENIED = 2,
3795
- NOT_FOUND = 3
4061
+ NOT_FOUND = 3,
4062
+ IN_TRANSIT_LOCATION_RESTRICTION = 4
3796
4063
  }
3797
4064
  }
3798
4065
 
@@ -9899,6 +10166,9 @@ export namespace google {
9899
10166
 
9900
10167
  /** MethodSettings longRunning */
9901
10168
  longRunning?: (google.api.MethodSettings.ILongRunning|null);
10169
+
10170
+ /** MethodSettings autoPopulatedFields */
10171
+ autoPopulatedFields?: (string[]|null);
9902
10172
  }
9903
10173
 
9904
10174
  /** Represents a MethodSettings. */
@@ -9916,6 +10186,9 @@ export namespace google {
9916
10186
  /** MethodSettings longRunning. */
9917
10187
  public longRunning?: (google.api.MethodSettings.ILongRunning|null);
9918
10188
 
10189
+ /** MethodSettings autoPopulatedFields. */
10190
+ public autoPopulatedFields: string[];
10191
+
9919
10192
  /**
9920
10193
  * Creates a new MethodSettings instance using the specified properties.
9921
10194
  * @param [properties] Properties to set
@@ -10152,7 +10425,8 @@ export namespace google {
10152
10425
  INPUT_ONLY = 4,
10153
10426
  IMMUTABLE = 5,
10154
10427
  UNORDERED_LIST = 6,
10155
- NON_EMPTY_DEFAULT = 7
10428
+ NON_EMPTY_DEFAULT = 7,
10429
+ IDENTIFIER = 8
10156
10430
  }
10157
10431
 
10158
10432
  /** Properties of a ResourceDescriptor. */
@@ -10508,6 +10782,21 @@ export namespace google {
10508
10782
  public static getTypeUrl(typeUrlPrefix?: string): string;
10509
10783
  }
10510
10784
 
10785
+ /** Edition enum. */
10786
+ enum Edition {
10787
+ EDITION_UNKNOWN = 0,
10788
+ EDITION_PROTO2 = 998,
10789
+ EDITION_PROTO3 = 999,
10790
+ EDITION_2023 = 1000,
10791
+ EDITION_2024 = 1001,
10792
+ EDITION_1_TEST_ONLY = 1,
10793
+ EDITION_2_TEST_ONLY = 2,
10794
+ EDITION_99997_TEST_ONLY = 99997,
10795
+ EDITION_99998_TEST_ONLY = 99998,
10796
+ EDITION_99999_TEST_ONLY = 99999,
10797
+ EDITION_MAX = 2147483647
10798
+ }
10799
+
10511
10800
  /** Properties of a FileDescriptorProto. */
10512
10801
  interface IFileDescriptorProto {
10513
10802
 
@@ -10548,7 +10837,7 @@ export namespace google {
10548
10837
  syntax?: (string|null);
10549
10838
 
10550
10839
  /** FileDescriptorProto edition */
10551
- edition?: (string|null);
10840
+ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
10552
10841
  }
10553
10842
 
10554
10843
  /** Represents a FileDescriptorProto. */
@@ -10597,7 +10886,7 @@ export namespace google {
10597
10886
  public syntax: string;
10598
10887
 
10599
10888
  /** FileDescriptorProto edition. */
10600
- public edition: string;
10889
+ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
10601
10890
 
10602
10891
  /**
10603
10892
  * Creates a new FileDescriptorProto instance using the specified properties.
@@ -11472,8 +11761,8 @@ export namespace google {
11472
11761
  /** Label enum. */
11473
11762
  enum Label {
11474
11763
  LABEL_OPTIONAL = 1,
11475
- LABEL_REQUIRED = 2,
11476
- LABEL_REPEATED = 3
11764
+ LABEL_REPEATED = 3,
11765
+ LABEL_REQUIRED = 2
11477
11766
  }
11478
11767
  }
11479
11768
 
@@ -12185,9 +12474,6 @@ export namespace google {
12185
12474
  /** FileOptions pyGenericServices */
12186
12475
  pyGenericServices?: (boolean|null);
12187
12476
 
12188
- /** FileOptions phpGenericServices */
12189
- phpGenericServices?: (boolean|null);
12190
-
12191
12477
  /** FileOptions deprecated */
12192
12478
  deprecated?: (boolean|null);
12193
12479
 
@@ -12264,9 +12550,6 @@ export namespace google {
12264
12550
  /** FileOptions pyGenericServices. */
12265
12551
  public pyGenericServices: boolean;
12266
12552
 
12267
- /** FileOptions phpGenericServices. */
12268
- public phpGenericServices: boolean;
12269
-
12270
12553
  /** FileOptions deprecated. */
12271
12554
  public deprecated: boolean;
12272
12555
 
@@ -12740,7 +13023,7 @@ export namespace google {
12740
13023
  interface IEditionDefault {
12741
13024
 
12742
13025
  /** EditionDefault edition */
12743
- edition?: (string|null);
13026
+ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
12744
13027
 
12745
13028
  /** EditionDefault value */
12746
13029
  value?: (string|null);
@@ -12756,7 +13039,7 @@ export namespace google {
12756
13039
  constructor(properties?: google.protobuf.FieldOptions.IEditionDefault);
12757
13040
 
12758
13041
  /** EditionDefault edition. */
12759
- public edition: string;
13042
+ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
12760
13043
 
12761
13044
  /** EditionDefault value. */
12762
13045
  public value: string;
@@ -13676,17 +13959,14 @@ export namespace google {
13676
13959
  /** FeatureSet repeatedFieldEncoding */
13677
13960
  repeatedFieldEncoding?: (google.protobuf.FeatureSet.RepeatedFieldEncoding|keyof typeof google.protobuf.FeatureSet.RepeatedFieldEncoding|null);
13678
13961
 
13679
- /** FeatureSet stringFieldValidation */
13680
- stringFieldValidation?: (google.protobuf.FeatureSet.StringFieldValidation|keyof typeof google.protobuf.FeatureSet.StringFieldValidation|null);
13962
+ /** FeatureSet utf8Validation */
13963
+ utf8Validation?: (google.protobuf.FeatureSet.Utf8Validation|keyof typeof google.protobuf.FeatureSet.Utf8Validation|null);
13681
13964
 
13682
13965
  /** FeatureSet messageEncoding */
13683
13966
  messageEncoding?: (google.protobuf.FeatureSet.MessageEncoding|keyof typeof google.protobuf.FeatureSet.MessageEncoding|null);
13684
13967
 
13685
13968
  /** FeatureSet jsonFormat */
13686
13969
  jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null);
13687
-
13688
- /** FeatureSet rawFeatures */
13689
- rawFeatures?: (google.protobuf.IFeatureSet|null);
13690
13970
  }
13691
13971
 
13692
13972
  /** Represents a FeatureSet. */
@@ -13707,8 +13987,8 @@ export namespace google {
13707
13987
  /** FeatureSet repeatedFieldEncoding. */
13708
13988
  public repeatedFieldEncoding: (google.protobuf.FeatureSet.RepeatedFieldEncoding|keyof typeof google.protobuf.FeatureSet.RepeatedFieldEncoding);
13709
13989
 
13710
- /** FeatureSet stringFieldValidation. */
13711
- public stringFieldValidation: (google.protobuf.FeatureSet.StringFieldValidation|keyof typeof google.protobuf.FeatureSet.StringFieldValidation);
13990
+ /** FeatureSet utf8Validation. */
13991
+ public utf8Validation: (google.protobuf.FeatureSet.Utf8Validation|keyof typeof google.protobuf.FeatureSet.Utf8Validation);
13712
13992
 
13713
13993
  /** FeatureSet messageEncoding. */
13714
13994
  public messageEncoding: (google.protobuf.FeatureSet.MessageEncoding|keyof typeof google.protobuf.FeatureSet.MessageEncoding);
@@ -13716,9 +13996,6 @@ export namespace google {
13716
13996
  /** FeatureSet jsonFormat. */
13717
13997
  public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat);
13718
13998
 
13719
- /** FeatureSet rawFeatures. */
13720
- public rawFeatures?: (google.protobuf.IFeatureSet|null);
13721
-
13722
13999
  /**
13723
14000
  * Creates a new FeatureSet instance using the specified properties.
13724
14001
  * @param [properties] Properties to set
@@ -13821,11 +14098,10 @@ export namespace google {
13821
14098
  EXPANDED = 2
13822
14099
  }
13823
14100
 
13824
- /** StringFieldValidation enum. */
13825
- enum StringFieldValidation {
13826
- STRING_FIELD_VALIDATION_UNKNOWN = 0,
13827
- MANDATORY = 1,
13828
- HINT = 2,
14101
+ /** Utf8Validation enum. */
14102
+ enum Utf8Validation {
14103
+ UTF8_VALIDATION_UNKNOWN = 0,
14104
+ VERIFY = 2,
13829
14105
  NONE = 3
13830
14106
  }
13831
14107
 
@@ -13844,6 +14120,221 @@ export namespace google {
13844
14120
  }
13845
14121
  }
13846
14122
 
14123
+ /** Properties of a FeatureSetDefaults. */
14124
+ interface IFeatureSetDefaults {
14125
+
14126
+ /** FeatureSetDefaults defaults */
14127
+ defaults?: (google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault[]|null);
14128
+
14129
+ /** FeatureSetDefaults minimumEdition */
14130
+ minimumEdition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
14131
+
14132
+ /** FeatureSetDefaults maximumEdition */
14133
+ maximumEdition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
14134
+ }
14135
+
14136
+ /** Represents a FeatureSetDefaults. */
14137
+ class FeatureSetDefaults implements IFeatureSetDefaults {
14138
+
14139
+ /**
14140
+ * Constructs a new FeatureSetDefaults.
14141
+ * @param [properties] Properties to set
14142
+ */
14143
+ constructor(properties?: google.protobuf.IFeatureSetDefaults);
14144
+
14145
+ /** FeatureSetDefaults defaults. */
14146
+ public defaults: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault[];
14147
+
14148
+ /** FeatureSetDefaults minimumEdition. */
14149
+ public minimumEdition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
14150
+
14151
+ /** FeatureSetDefaults maximumEdition. */
14152
+ public maximumEdition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
14153
+
14154
+ /**
14155
+ * Creates a new FeatureSetDefaults instance using the specified properties.
14156
+ * @param [properties] Properties to set
14157
+ * @returns FeatureSetDefaults instance
14158
+ */
14159
+ public static create(properties?: google.protobuf.IFeatureSetDefaults): google.protobuf.FeatureSetDefaults;
14160
+
14161
+ /**
14162
+ * Encodes the specified FeatureSetDefaults message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages.
14163
+ * @param message FeatureSetDefaults message or plain object to encode
14164
+ * @param [writer] Writer to encode to
14165
+ * @returns Writer
14166
+ */
14167
+ public static encode(message: google.protobuf.IFeatureSetDefaults, writer?: $protobuf.Writer): $protobuf.Writer;
14168
+
14169
+ /**
14170
+ * Encodes the specified FeatureSetDefaults message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages.
14171
+ * @param message FeatureSetDefaults message or plain object to encode
14172
+ * @param [writer] Writer to encode to
14173
+ * @returns Writer
14174
+ */
14175
+ public static encodeDelimited(message: google.protobuf.IFeatureSetDefaults, writer?: $protobuf.Writer): $protobuf.Writer;
14176
+
14177
+ /**
14178
+ * Decodes a FeatureSetDefaults message from the specified reader or buffer.
14179
+ * @param reader Reader or buffer to decode from
14180
+ * @param [length] Message length if known beforehand
14181
+ * @returns FeatureSetDefaults
14182
+ * @throws {Error} If the payload is not a reader or valid buffer
14183
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14184
+ */
14185
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSetDefaults;
14186
+
14187
+ /**
14188
+ * Decodes a FeatureSetDefaults message from the specified reader or buffer, length delimited.
14189
+ * @param reader Reader or buffer to decode from
14190
+ * @returns FeatureSetDefaults
14191
+ * @throws {Error} If the payload is not a reader or valid buffer
14192
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14193
+ */
14194
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSetDefaults;
14195
+
14196
+ /**
14197
+ * Verifies a FeatureSetDefaults message.
14198
+ * @param message Plain object to verify
14199
+ * @returns `null` if valid, otherwise the reason why it is not
14200
+ */
14201
+ public static verify(message: { [k: string]: any }): (string|null);
14202
+
14203
+ /**
14204
+ * Creates a FeatureSetDefaults message from a plain object. Also converts values to their respective internal types.
14205
+ * @param object Plain object
14206
+ * @returns FeatureSetDefaults
14207
+ */
14208
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSetDefaults;
14209
+
14210
+ /**
14211
+ * Creates a plain object from a FeatureSetDefaults message. Also converts values to other types if specified.
14212
+ * @param message FeatureSetDefaults
14213
+ * @param [options] Conversion options
14214
+ * @returns Plain object
14215
+ */
14216
+ public static toObject(message: google.protobuf.FeatureSetDefaults, options?: $protobuf.IConversionOptions): { [k: string]: any };
14217
+
14218
+ /**
14219
+ * Converts this FeatureSetDefaults to JSON.
14220
+ * @returns JSON object
14221
+ */
14222
+ public toJSON(): { [k: string]: any };
14223
+
14224
+ /**
14225
+ * Gets the default type url for FeatureSetDefaults
14226
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14227
+ * @returns The default type url
14228
+ */
14229
+ public static getTypeUrl(typeUrlPrefix?: string): string;
14230
+ }
14231
+
14232
+ namespace FeatureSetDefaults {
14233
+
14234
+ /** Properties of a FeatureSetEditionDefault. */
14235
+ interface IFeatureSetEditionDefault {
14236
+
14237
+ /** FeatureSetEditionDefault edition */
14238
+ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
14239
+
14240
+ /** FeatureSetEditionDefault features */
14241
+ features?: (google.protobuf.IFeatureSet|null);
14242
+ }
14243
+
14244
+ /** Represents a FeatureSetEditionDefault. */
14245
+ class FeatureSetEditionDefault implements IFeatureSetEditionDefault {
14246
+
14247
+ /**
14248
+ * Constructs a new FeatureSetEditionDefault.
14249
+ * @param [properties] Properties to set
14250
+ */
14251
+ constructor(properties?: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault);
14252
+
14253
+ /** FeatureSetEditionDefault edition. */
14254
+ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
14255
+
14256
+ /** FeatureSetEditionDefault features. */
14257
+ public features?: (google.protobuf.IFeatureSet|null);
14258
+
14259
+ /**
14260
+ * Creates a new FeatureSetEditionDefault instance using the specified properties.
14261
+ * @param [properties] Properties to set
14262
+ * @returns FeatureSetEditionDefault instance
14263
+ */
14264
+ public static create(properties?: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
14265
+
14266
+ /**
14267
+ * Encodes the specified FeatureSetEditionDefault message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages.
14268
+ * @param message FeatureSetEditionDefault message or plain object to encode
14269
+ * @param [writer] Writer to encode to
14270
+ * @returns Writer
14271
+ */
14272
+ public static encode(message: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
14273
+
14274
+ /**
14275
+ * Encodes the specified FeatureSetEditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages.
14276
+ * @param message FeatureSetEditionDefault message or plain object to encode
14277
+ * @param [writer] Writer to encode to
14278
+ * @returns Writer
14279
+ */
14280
+ public static encodeDelimited(message: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
14281
+
14282
+ /**
14283
+ * Decodes a FeatureSetEditionDefault message from the specified reader or buffer.
14284
+ * @param reader Reader or buffer to decode from
14285
+ * @param [length] Message length if known beforehand
14286
+ * @returns FeatureSetEditionDefault
14287
+ * @throws {Error} If the payload is not a reader or valid buffer
14288
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14289
+ */
14290
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
14291
+
14292
+ /**
14293
+ * Decodes a FeatureSetEditionDefault message from the specified reader or buffer, length delimited.
14294
+ * @param reader Reader or buffer to decode from
14295
+ * @returns FeatureSetEditionDefault
14296
+ * @throws {Error} If the payload is not a reader or valid buffer
14297
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
14298
+ */
14299
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
14300
+
14301
+ /**
14302
+ * Verifies a FeatureSetEditionDefault message.
14303
+ * @param message Plain object to verify
14304
+ * @returns `null` if valid, otherwise the reason why it is not
14305
+ */
14306
+ public static verify(message: { [k: string]: any }): (string|null);
14307
+
14308
+ /**
14309
+ * Creates a FeatureSetEditionDefault message from a plain object. Also converts values to their respective internal types.
14310
+ * @param object Plain object
14311
+ * @returns FeatureSetEditionDefault
14312
+ */
14313
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
14314
+
14315
+ /**
14316
+ * Creates a plain object from a FeatureSetEditionDefault message. Also converts values to other types if specified.
14317
+ * @param message FeatureSetEditionDefault
14318
+ * @param [options] Conversion options
14319
+ * @returns Plain object
14320
+ */
14321
+ public static toObject(message: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault, options?: $protobuf.IConversionOptions): { [k: string]: any };
14322
+
14323
+ /**
14324
+ * Converts this FeatureSetEditionDefault to JSON.
14325
+ * @returns JSON object
14326
+ */
14327
+ public toJSON(): { [k: string]: any };
14328
+
14329
+ /**
14330
+ * Gets the default type url for FeatureSetEditionDefault
14331
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14332
+ * @returns The default type url
14333
+ */
14334
+ public static getTypeUrl(typeUrlPrefix?: string): string;
14335
+ }
14336
+ }
14337
+
13847
14338
  /** Properties of a SourceCodeInfo. */
13848
14339
  interface ISourceCodeInfo {
13849
14340