@google-cloud/pubsub 5.0.0 → 5.2.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.
Files changed (56) hide show
  1. package/README.md +1 -0
  2. package/build/protos/google/pubsub/v1/pubsub.proto +144 -29
  3. package/build/protos/google/pubsub/v1/schema.proto +2 -3
  4. package/build/protos/protos.d.ts +1007 -27
  5. package/build/protos/protos.js +3093 -172
  6. package/build/protos/protos.json +357 -32
  7. package/build/src/exponential-retry.js +3 -3
  8. package/build/src/exponential-retry.js.map +1 -1
  9. package/build/src/index.d.ts +1 -1
  10. package/build/src/index.js +2 -1
  11. package/build/src/index.js.map +1 -1
  12. package/build/src/lease-manager.d.ts +18 -0
  13. package/build/src/lease-manager.js +52 -2
  14. package/build/src/lease-manager.js.map +1 -1
  15. package/build/src/logs.d.ts +9 -0
  16. package/build/src/logs.js +26 -0
  17. package/build/src/logs.js.map +1 -0
  18. package/build/src/message-queues.d.ts +25 -1
  19. package/build/src/message-queues.js +41 -5
  20. package/build/src/message-queues.js.map +1 -1
  21. package/build/src/message-stream.d.ts +8 -0
  22. package/build/src/message-stream.js +37 -14
  23. package/build/src/message-stream.js.map +1 -1
  24. package/build/src/publisher/message-batch.d.ts +26 -1
  25. package/build/src/publisher/message-batch.js +41 -6
  26. package/build/src/publisher/message-batch.js.map +1 -1
  27. package/build/src/publisher/message-queues.d.ts +22 -5
  28. package/build/src/publisher/message-queues.js +51 -18
  29. package/build/src/publisher/message-queues.js.map +1 -1
  30. package/build/src/pubsub.d.ts +25 -6
  31. package/build/src/pubsub.js.map +1 -1
  32. package/build/src/subscriber.d.ts +70 -4
  33. package/build/src/subscriber.js +154 -9
  34. package/build/src/subscriber.js.map +1 -1
  35. package/build/src/subscription.d.ts +11 -13
  36. package/build/src/subscription.js +2 -1
  37. package/build/src/subscription.js.map +1 -1
  38. package/build/src/telemetry-tracing.js +19 -12
  39. package/build/src/telemetry-tracing.js.map +1 -1
  40. package/build/src/temporal.d.ts +66 -4
  41. package/build/src/temporal.js +104 -4
  42. package/build/src/temporal.js.map +1 -1
  43. package/build/src/util.d.ts +22 -0
  44. package/build/src/util.js +36 -0
  45. package/build/src/util.js.map +1 -1
  46. package/build/src/v1/publisher_client.d.ts +0 -18
  47. package/build/src/v1/publisher_client.js +16 -8
  48. package/build/src/v1/publisher_client.js.map +1 -1
  49. package/build/src/v1/schema_service_client.d.ts +0 -20
  50. package/build/src/v1/schema_service_client.js +5 -5
  51. package/build/src/v1/schema_service_client.js.map +1 -1
  52. package/build/src/v1/subscriber_client.d.ts +4 -36
  53. package/build/src/v1/subscriber_client.js +6 -8
  54. package/build/src/v1/subscriber_client.js.map +1 -1
  55. package/package.json +5 -5
  56. package/CHANGELOG.md +0 -1620
@@ -1708,6 +1708,9 @@ export namespace google {
1708
1708
 
1709
1709
  /** IngestionFailureEvent confluentCloudFailure */
1710
1710
  confluentCloudFailure?: (google.pubsub.v1.IngestionFailureEvent.IConfluentCloudFailureReason|null);
1711
+
1712
+ /** IngestionFailureEvent awsKinesisFailure */
1713
+ awsKinesisFailure?: (google.pubsub.v1.IngestionFailureEvent.IAwsKinesisFailureReason|null);
1711
1714
  }
1712
1715
 
1713
1716
  /** Represents an IngestionFailureEvent. */
@@ -1737,8 +1740,11 @@ export namespace google {
1737
1740
  /** IngestionFailureEvent confluentCloudFailure. */
1738
1741
  public confluentCloudFailure?: (google.pubsub.v1.IngestionFailureEvent.IConfluentCloudFailureReason|null);
1739
1742
 
1743
+ /** IngestionFailureEvent awsKinesisFailure. */
1744
+ public awsKinesisFailure?: (google.pubsub.v1.IngestionFailureEvent.IAwsKinesisFailureReason|null);
1745
+
1740
1746
  /** IngestionFailureEvent failure. */
1741
- public failure?: ("cloudStorageFailure"|"awsMskFailure"|"azureEventHubsFailure"|"confluentCloudFailure");
1747
+ public failure?: ("cloudStorageFailure"|"awsMskFailure"|"azureEventHubsFailure"|"confluentCloudFailure"|"awsKinesisFailure");
1742
1748
 
1743
1749
  /**
1744
1750
  * Creates a new IngestionFailureEvent instance using the specified properties.
@@ -2002,6 +2008,97 @@ export namespace google {
2002
2008
  public static getTypeUrl(typeUrlPrefix?: string): string;
2003
2009
  }
2004
2010
 
2011
+ /** Properties of a SchemaViolationReason. */
2012
+ interface ISchemaViolationReason {
2013
+ }
2014
+
2015
+ /** Represents a SchemaViolationReason. */
2016
+ class SchemaViolationReason implements ISchemaViolationReason {
2017
+
2018
+ /**
2019
+ * Constructs a new SchemaViolationReason.
2020
+ * @param [properties] Properties to set
2021
+ */
2022
+ constructor(properties?: google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason);
2023
+
2024
+ /**
2025
+ * Creates a new SchemaViolationReason instance using the specified properties.
2026
+ * @param [properties] Properties to set
2027
+ * @returns SchemaViolationReason instance
2028
+ */
2029
+ public static create(properties?: google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason): google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason;
2030
+
2031
+ /**
2032
+ * Encodes the specified SchemaViolationReason message. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.verify|verify} messages.
2033
+ * @param message SchemaViolationReason message or plain object to encode
2034
+ * @param [writer] Writer to encode to
2035
+ * @returns Writer
2036
+ */
2037
+ public static encode(message: google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason, writer?: $protobuf.Writer): $protobuf.Writer;
2038
+
2039
+ /**
2040
+ * Encodes the specified SchemaViolationReason message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason.verify|verify} messages.
2041
+ * @param message SchemaViolationReason message or plain object to encode
2042
+ * @param [writer] Writer to encode to
2043
+ * @returns Writer
2044
+ */
2045
+ public static encodeDelimited(message: google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason, writer?: $protobuf.Writer): $protobuf.Writer;
2046
+
2047
+ /**
2048
+ * Decodes a SchemaViolationReason message from the specified reader or buffer.
2049
+ * @param reader Reader or buffer to decode from
2050
+ * @param [length] Message length if known beforehand
2051
+ * @returns SchemaViolationReason
2052
+ * @throws {Error} If the payload is not a reader or valid buffer
2053
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2054
+ */
2055
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason;
2056
+
2057
+ /**
2058
+ * Decodes a SchemaViolationReason message from the specified reader or buffer, length delimited.
2059
+ * @param reader Reader or buffer to decode from
2060
+ * @returns SchemaViolationReason
2061
+ * @throws {Error} If the payload is not a reader or valid buffer
2062
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2063
+ */
2064
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason;
2065
+
2066
+ /**
2067
+ * Verifies a SchemaViolationReason message.
2068
+ * @param message Plain object to verify
2069
+ * @returns `null` if valid, otherwise the reason why it is not
2070
+ */
2071
+ public static verify(message: { [k: string]: any }): (string|null);
2072
+
2073
+ /**
2074
+ * Creates a SchemaViolationReason message from a plain object. Also converts values to their respective internal types.
2075
+ * @param object Plain object
2076
+ * @returns SchemaViolationReason
2077
+ */
2078
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason;
2079
+
2080
+ /**
2081
+ * Creates a plain object from a SchemaViolationReason message. Also converts values to other types if specified.
2082
+ * @param message SchemaViolationReason
2083
+ * @param [options] Conversion options
2084
+ * @returns Plain object
2085
+ */
2086
+ public static toObject(message: google.pubsub.v1.IngestionFailureEvent.SchemaViolationReason, options?: $protobuf.IConversionOptions): { [k: string]: any };
2087
+
2088
+ /**
2089
+ * Converts this SchemaViolationReason to JSON.
2090
+ * @returns JSON object
2091
+ */
2092
+ public toJSON(): { [k: string]: any };
2093
+
2094
+ /**
2095
+ * Gets the default type url for SchemaViolationReason
2096
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2097
+ * @returns The default type url
2098
+ */
2099
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2100
+ }
2101
+
2005
2102
  /** Properties of a CloudStorageFailure. */
2006
2103
  interface ICloudStorageFailure {
2007
2104
 
@@ -2019,6 +2116,9 @@ export namespace google {
2019
2116
 
2020
2117
  /** CloudStorageFailure apiViolationReason */
2021
2118
  apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null);
2119
+
2120
+ /** CloudStorageFailure schemaViolationReason */
2121
+ schemaViolationReason?: (google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason|null);
2022
2122
  }
2023
2123
 
2024
2124
  /** Represents a CloudStorageFailure. */
@@ -2045,8 +2145,11 @@ export namespace google {
2045
2145
  /** CloudStorageFailure apiViolationReason. */
2046
2146
  public apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null);
2047
2147
 
2148
+ /** CloudStorageFailure schemaViolationReason. */
2149
+ public schemaViolationReason?: (google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason|null);
2150
+
2048
2151
  /** CloudStorageFailure reason. */
2049
- public reason?: ("avroFailureReason"|"apiViolationReason");
2152
+ public reason?: ("avroFailureReason"|"apiViolationReason"|"schemaViolationReason");
2050
2153
 
2051
2154
  /**
2052
2155
  * Creates a new CloudStorageFailure instance using the specified properties.
@@ -2143,6 +2246,9 @@ export namespace google {
2143
2246
 
2144
2247
  /** AwsMskFailureReason apiViolationReason */
2145
2248
  apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null);
2249
+
2250
+ /** AwsMskFailureReason schemaViolationReason */
2251
+ schemaViolationReason?: (google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason|null);
2146
2252
  }
2147
2253
 
2148
2254
  /** Represents an AwsMskFailureReason. */
@@ -2169,8 +2275,11 @@ export namespace google {
2169
2275
  /** AwsMskFailureReason apiViolationReason. */
2170
2276
  public apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null);
2171
2277
 
2278
+ /** AwsMskFailureReason schemaViolationReason. */
2279
+ public schemaViolationReason?: (google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason|null);
2280
+
2172
2281
  /** AwsMskFailureReason reason. */
2173
- public reason?: "apiViolationReason";
2282
+ public reason?: ("apiViolationReason"|"schemaViolationReason");
2174
2283
 
2175
2284
  /**
2176
2285
  * Creates a new AwsMskFailureReason instance using the specified properties.
@@ -2267,6 +2376,9 @@ export namespace google {
2267
2376
 
2268
2377
  /** AzureEventHubsFailureReason apiViolationReason */
2269
2378
  apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null);
2379
+
2380
+ /** AzureEventHubsFailureReason schemaViolationReason */
2381
+ schemaViolationReason?: (google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason|null);
2270
2382
  }
2271
2383
 
2272
2384
  /** Represents an AzureEventHubsFailureReason. */
@@ -2293,8 +2405,11 @@ export namespace google {
2293
2405
  /** AzureEventHubsFailureReason apiViolationReason. */
2294
2406
  public apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null);
2295
2407
 
2408
+ /** AzureEventHubsFailureReason schemaViolationReason. */
2409
+ public schemaViolationReason?: (google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason|null);
2410
+
2296
2411
  /** AzureEventHubsFailureReason reason. */
2297
- public reason?: "apiViolationReason";
2412
+ public reason?: ("apiViolationReason"|"schemaViolationReason");
2298
2413
 
2299
2414
  /**
2300
2415
  * Creates a new AzureEventHubsFailureReason instance using the specified properties.
@@ -2391,6 +2506,9 @@ export namespace google {
2391
2506
 
2392
2507
  /** ConfluentCloudFailureReason apiViolationReason */
2393
2508
  apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null);
2509
+
2510
+ /** ConfluentCloudFailureReason schemaViolationReason */
2511
+ schemaViolationReason?: (google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason|null);
2394
2512
  }
2395
2513
 
2396
2514
  /** Represents a ConfluentCloudFailureReason. */
@@ -2417,8 +2535,11 @@ export namespace google {
2417
2535
  /** ConfluentCloudFailureReason apiViolationReason. */
2418
2536
  public apiViolationReason?: (google.pubsub.v1.IngestionFailureEvent.IApiViolationReason|null);
2419
2537
 
2538
+ /** ConfluentCloudFailureReason schemaViolationReason. */
2539
+ public schemaViolationReason?: (google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason|null);
2540
+
2420
2541
  /** ConfluentCloudFailureReason reason. */
2421
- public reason?: "apiViolationReason";
2542
+ public reason?: ("apiViolationReason"|"schemaViolationReason");
2422
2543
 
2423
2544
  /**
2424
2545
  * Creates a new ConfluentCloudFailureReason instance using the specified properties.
@@ -2497,6 +2618,339 @@ export namespace google {
2497
2618
  */
2498
2619
  public static getTypeUrl(typeUrlPrefix?: string): string;
2499
2620
  }
2621
+
2622
+ /** Properties of an AwsKinesisFailureReason. */
2623
+ interface IAwsKinesisFailureReason {
2624
+
2625
+ /** AwsKinesisFailureReason streamArn */
2626
+ streamArn?: (string|null);
2627
+
2628
+ /** AwsKinesisFailureReason partitionKey */
2629
+ partitionKey?: (string|null);
2630
+
2631
+ /** AwsKinesisFailureReason sequenceNumber */
2632
+ sequenceNumber?: (string|null);
2633
+
2634
+ /** AwsKinesisFailureReason schemaViolationReason */
2635
+ schemaViolationReason?: (google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason|null);
2636
+ }
2637
+
2638
+ /** Represents an AwsKinesisFailureReason. */
2639
+ class AwsKinesisFailureReason implements IAwsKinesisFailureReason {
2640
+
2641
+ /**
2642
+ * Constructs a new AwsKinesisFailureReason.
2643
+ * @param [properties] Properties to set
2644
+ */
2645
+ constructor(properties?: google.pubsub.v1.IngestionFailureEvent.IAwsKinesisFailureReason);
2646
+
2647
+ /** AwsKinesisFailureReason streamArn. */
2648
+ public streamArn: string;
2649
+
2650
+ /** AwsKinesisFailureReason partitionKey. */
2651
+ public partitionKey: string;
2652
+
2653
+ /** AwsKinesisFailureReason sequenceNumber. */
2654
+ public sequenceNumber: string;
2655
+
2656
+ /** AwsKinesisFailureReason schemaViolationReason. */
2657
+ public schemaViolationReason?: (google.pubsub.v1.IngestionFailureEvent.ISchemaViolationReason|null);
2658
+
2659
+ /** AwsKinesisFailureReason reason. */
2660
+ public reason?: "schemaViolationReason";
2661
+
2662
+ /**
2663
+ * Creates a new AwsKinesisFailureReason instance using the specified properties.
2664
+ * @param [properties] Properties to set
2665
+ * @returns AwsKinesisFailureReason instance
2666
+ */
2667
+ public static create(properties?: google.pubsub.v1.IngestionFailureEvent.IAwsKinesisFailureReason): google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason;
2668
+
2669
+ /**
2670
+ * Encodes the specified AwsKinesisFailureReason message. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason.verify|verify} messages.
2671
+ * @param message AwsKinesisFailureReason message or plain object to encode
2672
+ * @param [writer] Writer to encode to
2673
+ * @returns Writer
2674
+ */
2675
+ public static encode(message: google.pubsub.v1.IngestionFailureEvent.IAwsKinesisFailureReason, writer?: $protobuf.Writer): $protobuf.Writer;
2676
+
2677
+ /**
2678
+ * Encodes the specified AwsKinesisFailureReason message, length delimited. Does not implicitly {@link google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason.verify|verify} messages.
2679
+ * @param message AwsKinesisFailureReason message or plain object to encode
2680
+ * @param [writer] Writer to encode to
2681
+ * @returns Writer
2682
+ */
2683
+ public static encodeDelimited(message: google.pubsub.v1.IngestionFailureEvent.IAwsKinesisFailureReason, writer?: $protobuf.Writer): $protobuf.Writer;
2684
+
2685
+ /**
2686
+ * Decodes an AwsKinesisFailureReason message from the specified reader or buffer.
2687
+ * @param reader Reader or buffer to decode from
2688
+ * @param [length] Message length if known beforehand
2689
+ * @returns AwsKinesisFailureReason
2690
+ * @throws {Error} If the payload is not a reader or valid buffer
2691
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2692
+ */
2693
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason;
2694
+
2695
+ /**
2696
+ * Decodes an AwsKinesisFailureReason message from the specified reader or buffer, length delimited.
2697
+ * @param reader Reader or buffer to decode from
2698
+ * @returns AwsKinesisFailureReason
2699
+ * @throws {Error} If the payload is not a reader or valid buffer
2700
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2701
+ */
2702
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason;
2703
+
2704
+ /**
2705
+ * Verifies an AwsKinesisFailureReason message.
2706
+ * @param message Plain object to verify
2707
+ * @returns `null` if valid, otherwise the reason why it is not
2708
+ */
2709
+ public static verify(message: { [k: string]: any }): (string|null);
2710
+
2711
+ /**
2712
+ * Creates an AwsKinesisFailureReason message from a plain object. Also converts values to their respective internal types.
2713
+ * @param object Plain object
2714
+ * @returns AwsKinesisFailureReason
2715
+ */
2716
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason;
2717
+
2718
+ /**
2719
+ * Creates a plain object from an AwsKinesisFailureReason message. Also converts values to other types if specified.
2720
+ * @param message AwsKinesisFailureReason
2721
+ * @param [options] Conversion options
2722
+ * @returns Plain object
2723
+ */
2724
+ public static toObject(message: google.pubsub.v1.IngestionFailureEvent.AwsKinesisFailureReason, options?: $protobuf.IConversionOptions): { [k: string]: any };
2725
+
2726
+ /**
2727
+ * Converts this AwsKinesisFailureReason to JSON.
2728
+ * @returns JSON object
2729
+ */
2730
+ public toJSON(): { [k: string]: any };
2731
+
2732
+ /**
2733
+ * Gets the default type url for AwsKinesisFailureReason
2734
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2735
+ * @returns The default type url
2736
+ */
2737
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2738
+ }
2739
+ }
2740
+
2741
+ /** Properties of a JavaScriptUDF. */
2742
+ interface IJavaScriptUDF {
2743
+
2744
+ /** JavaScriptUDF functionName */
2745
+ functionName?: (string|null);
2746
+
2747
+ /** JavaScriptUDF code */
2748
+ code?: (string|null);
2749
+ }
2750
+
2751
+ /** Represents a JavaScriptUDF. */
2752
+ class JavaScriptUDF implements IJavaScriptUDF {
2753
+
2754
+ /**
2755
+ * Constructs a new JavaScriptUDF.
2756
+ * @param [properties] Properties to set
2757
+ */
2758
+ constructor(properties?: google.pubsub.v1.IJavaScriptUDF);
2759
+
2760
+ /** JavaScriptUDF functionName. */
2761
+ public functionName: string;
2762
+
2763
+ /** JavaScriptUDF code. */
2764
+ public code: string;
2765
+
2766
+ /**
2767
+ * Creates a new JavaScriptUDF instance using the specified properties.
2768
+ * @param [properties] Properties to set
2769
+ * @returns JavaScriptUDF instance
2770
+ */
2771
+ public static create(properties?: google.pubsub.v1.IJavaScriptUDF): google.pubsub.v1.JavaScriptUDF;
2772
+
2773
+ /**
2774
+ * Encodes the specified JavaScriptUDF message. Does not implicitly {@link google.pubsub.v1.JavaScriptUDF.verify|verify} messages.
2775
+ * @param message JavaScriptUDF message or plain object to encode
2776
+ * @param [writer] Writer to encode to
2777
+ * @returns Writer
2778
+ */
2779
+ public static encode(message: google.pubsub.v1.IJavaScriptUDF, writer?: $protobuf.Writer): $protobuf.Writer;
2780
+
2781
+ /**
2782
+ * Encodes the specified JavaScriptUDF message, length delimited. Does not implicitly {@link google.pubsub.v1.JavaScriptUDF.verify|verify} messages.
2783
+ * @param message JavaScriptUDF message or plain object to encode
2784
+ * @param [writer] Writer to encode to
2785
+ * @returns Writer
2786
+ */
2787
+ public static encodeDelimited(message: google.pubsub.v1.IJavaScriptUDF, writer?: $protobuf.Writer): $protobuf.Writer;
2788
+
2789
+ /**
2790
+ * Decodes a JavaScriptUDF message from the specified reader or buffer.
2791
+ * @param reader Reader or buffer to decode from
2792
+ * @param [length] Message length if known beforehand
2793
+ * @returns JavaScriptUDF
2794
+ * @throws {Error} If the payload is not a reader or valid buffer
2795
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2796
+ */
2797
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.JavaScriptUDF;
2798
+
2799
+ /**
2800
+ * Decodes a JavaScriptUDF message from the specified reader or buffer, length delimited.
2801
+ * @param reader Reader or buffer to decode from
2802
+ * @returns JavaScriptUDF
2803
+ * @throws {Error} If the payload is not a reader or valid buffer
2804
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2805
+ */
2806
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.JavaScriptUDF;
2807
+
2808
+ /**
2809
+ * Verifies a JavaScriptUDF message.
2810
+ * @param message Plain object to verify
2811
+ * @returns `null` if valid, otherwise the reason why it is not
2812
+ */
2813
+ public static verify(message: { [k: string]: any }): (string|null);
2814
+
2815
+ /**
2816
+ * Creates a JavaScriptUDF message from a plain object. Also converts values to their respective internal types.
2817
+ * @param object Plain object
2818
+ * @returns JavaScriptUDF
2819
+ */
2820
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.JavaScriptUDF;
2821
+
2822
+ /**
2823
+ * Creates a plain object from a JavaScriptUDF message. Also converts values to other types if specified.
2824
+ * @param message JavaScriptUDF
2825
+ * @param [options] Conversion options
2826
+ * @returns Plain object
2827
+ */
2828
+ public static toObject(message: google.pubsub.v1.JavaScriptUDF, options?: $protobuf.IConversionOptions): { [k: string]: any };
2829
+
2830
+ /**
2831
+ * Converts this JavaScriptUDF to JSON.
2832
+ * @returns JSON object
2833
+ */
2834
+ public toJSON(): { [k: string]: any };
2835
+
2836
+ /**
2837
+ * Gets the default type url for JavaScriptUDF
2838
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2839
+ * @returns The default type url
2840
+ */
2841
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2842
+ }
2843
+
2844
+ /** Properties of a MessageTransform. */
2845
+ interface IMessageTransform {
2846
+
2847
+ /** MessageTransform javascriptUdf */
2848
+ javascriptUdf?: (google.pubsub.v1.IJavaScriptUDF|null);
2849
+
2850
+ /** MessageTransform enabled */
2851
+ enabled?: (boolean|null);
2852
+
2853
+ /** MessageTransform disabled */
2854
+ disabled?: (boolean|null);
2855
+ }
2856
+
2857
+ /** Represents a MessageTransform. */
2858
+ class MessageTransform implements IMessageTransform {
2859
+
2860
+ /**
2861
+ * Constructs a new MessageTransform.
2862
+ * @param [properties] Properties to set
2863
+ */
2864
+ constructor(properties?: google.pubsub.v1.IMessageTransform);
2865
+
2866
+ /** MessageTransform javascriptUdf. */
2867
+ public javascriptUdf?: (google.pubsub.v1.IJavaScriptUDF|null);
2868
+
2869
+ /** MessageTransform enabled. */
2870
+ public enabled: boolean;
2871
+
2872
+ /** MessageTransform disabled. */
2873
+ public disabled: boolean;
2874
+
2875
+ /** MessageTransform transform. */
2876
+ public transform?: "javascriptUdf";
2877
+
2878
+ /**
2879
+ * Creates a new MessageTransform instance using the specified properties.
2880
+ * @param [properties] Properties to set
2881
+ * @returns MessageTransform instance
2882
+ */
2883
+ public static create(properties?: google.pubsub.v1.IMessageTransform): google.pubsub.v1.MessageTransform;
2884
+
2885
+ /**
2886
+ * Encodes the specified MessageTransform message. Does not implicitly {@link google.pubsub.v1.MessageTransform.verify|verify} messages.
2887
+ * @param message MessageTransform message or plain object to encode
2888
+ * @param [writer] Writer to encode to
2889
+ * @returns Writer
2890
+ */
2891
+ public static encode(message: google.pubsub.v1.IMessageTransform, writer?: $protobuf.Writer): $protobuf.Writer;
2892
+
2893
+ /**
2894
+ * Encodes the specified MessageTransform message, length delimited. Does not implicitly {@link google.pubsub.v1.MessageTransform.verify|verify} messages.
2895
+ * @param message MessageTransform message or plain object to encode
2896
+ * @param [writer] Writer to encode to
2897
+ * @returns Writer
2898
+ */
2899
+ public static encodeDelimited(message: google.pubsub.v1.IMessageTransform, writer?: $protobuf.Writer): $protobuf.Writer;
2900
+
2901
+ /**
2902
+ * Decodes a MessageTransform message from the specified reader or buffer.
2903
+ * @param reader Reader or buffer to decode from
2904
+ * @param [length] Message length if known beforehand
2905
+ * @returns MessageTransform
2906
+ * @throws {Error} If the payload is not a reader or valid buffer
2907
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2908
+ */
2909
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.pubsub.v1.MessageTransform;
2910
+
2911
+ /**
2912
+ * Decodes a MessageTransform message from the specified reader or buffer, length delimited.
2913
+ * @param reader Reader or buffer to decode from
2914
+ * @returns MessageTransform
2915
+ * @throws {Error} If the payload is not a reader or valid buffer
2916
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2917
+ */
2918
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.pubsub.v1.MessageTransform;
2919
+
2920
+ /**
2921
+ * Verifies a MessageTransform message.
2922
+ * @param message Plain object to verify
2923
+ * @returns `null` if valid, otherwise the reason why it is not
2924
+ */
2925
+ public static verify(message: { [k: string]: any }): (string|null);
2926
+
2927
+ /**
2928
+ * Creates a MessageTransform message from a plain object. Also converts values to their respective internal types.
2929
+ * @param object Plain object
2930
+ * @returns MessageTransform
2931
+ */
2932
+ public static fromObject(object: { [k: string]: any }): google.pubsub.v1.MessageTransform;
2933
+
2934
+ /**
2935
+ * Creates a plain object from a MessageTransform message. Also converts values to other types if specified.
2936
+ * @param message MessageTransform
2937
+ * @param [options] Conversion options
2938
+ * @returns Plain object
2939
+ */
2940
+ public static toObject(message: google.pubsub.v1.MessageTransform, options?: $protobuf.IConversionOptions): { [k: string]: any };
2941
+
2942
+ /**
2943
+ * Converts this MessageTransform to JSON.
2944
+ * @returns JSON object
2945
+ */
2946
+ public toJSON(): { [k: string]: any };
2947
+
2948
+ /**
2949
+ * Gets the default type url for MessageTransform
2950
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2951
+ * @returns The default type url
2952
+ */
2953
+ public static getTypeUrl(typeUrlPrefix?: string): string;
2500
2954
  }
2501
2955
 
2502
2956
  /** Properties of a Topic. */
@@ -2528,6 +2982,9 @@ export namespace google {
2528
2982
 
2529
2983
  /** Topic ingestionDataSourceSettings */
2530
2984
  ingestionDataSourceSettings?: (google.pubsub.v1.IIngestionDataSourceSettings|null);
2985
+
2986
+ /** Topic messageTransforms */
2987
+ messageTransforms?: (google.pubsub.v1.IMessageTransform[]|null);
2531
2988
  }
2532
2989
 
2533
2990
  /** Represents a Topic. */
@@ -2566,6 +3023,9 @@ export namespace google {
2566
3023
  /** Topic ingestionDataSourceSettings. */
2567
3024
  public ingestionDataSourceSettings?: (google.pubsub.v1.IIngestionDataSourceSettings|null);
2568
3025
 
3026
+ /** Topic messageTransforms. */
3027
+ public messageTransforms: google.pubsub.v1.IMessageTransform[];
3028
+
2569
3029
  /**
2570
3030
  * Creates a new Topic instance using the specified properties.
2571
3031
  * @param [properties] Properties to set
@@ -4515,6 +4975,9 @@ export namespace google {
4515
4975
 
4516
4976
  /** Subscription analyticsHubSubscriptionInfo */
4517
4977
  analyticsHubSubscriptionInfo?: (google.pubsub.v1.Subscription.IAnalyticsHubSubscriptionInfo|null);
4978
+
4979
+ /** Subscription messageTransforms */
4980
+ messageTransforms?: (google.pubsub.v1.IMessageTransform[]|null);
4518
4981
  }
4519
4982
 
4520
4983
  /** Represents a Subscription. */
@@ -4583,6 +5046,9 @@ export namespace google {
4583
5046
  /** Subscription analyticsHubSubscriptionInfo. */
4584
5047
  public analyticsHubSubscriptionInfo?: (google.pubsub.v1.Subscription.IAnalyticsHubSubscriptionInfo|null);
4585
5048
 
5049
+ /** Subscription messageTransforms. */
5050
+ public messageTransforms: google.pubsub.v1.IMessageTransform[];
5051
+
4586
5052
  /**
4587
5053
  * Creates a new Subscription instance using the specified properties.
4588
5054
  * @param [properties] Properties to set
@@ -10885,6 +11351,9 @@ export namespace google {
10885
11351
 
10886
11352
  /** CommonLanguageSettings destinations */
10887
11353
  destinations?: (google.api.ClientLibraryDestination[]|null);
11354
+
11355
+ /** CommonLanguageSettings selectiveGapicGeneration */
11356
+ selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null);
10888
11357
  }
10889
11358
 
10890
11359
  /** Represents a CommonLanguageSettings. */
@@ -10902,6 +11371,9 @@ export namespace google {
10902
11371
  /** CommonLanguageSettings destinations. */
10903
11372
  public destinations: google.api.ClientLibraryDestination[];
10904
11373
 
11374
+ /** CommonLanguageSettings selectiveGapicGeneration. */
11375
+ public selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null);
11376
+
10905
11377
  /**
10906
11378
  * Creates a new CommonLanguageSettings instance using the specified properties.
10907
11379
  * @param [properties] Properties to set
@@ -11602,6 +12074,9 @@ export namespace google {
11602
12074
 
11603
12075
  /** PythonSettings common */
11604
12076
  common?: (google.api.ICommonLanguageSettings|null);
12077
+
12078
+ /** PythonSettings experimentalFeatures */
12079
+ experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null);
11605
12080
  }
11606
12081
 
11607
12082
  /** Represents a PythonSettings. */
@@ -11616,6 +12091,9 @@ export namespace google {
11616
12091
  /** PythonSettings common. */
11617
12092
  public common?: (google.api.ICommonLanguageSettings|null);
11618
12093
 
12094
+ /** PythonSettings experimentalFeatures. */
12095
+ public experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null);
12096
+
11619
12097
  /**
11620
12098
  * Creates a new PythonSettings instance using the specified properties.
11621
12099
  * @param [properties] Properties to set
@@ -11672,26 +12150,138 @@ export namespace google {
11672
12150
  */
11673
12151
  public static fromObject(object: { [k: string]: any }): google.api.PythonSettings;
11674
12152
 
11675
- /**
11676
- * Creates a plain object from a PythonSettings message. Also converts values to other types if specified.
11677
- * @param message PythonSettings
11678
- * @param [options] Conversion options
11679
- * @returns Plain object
11680
- */
11681
- public static toObject(message: google.api.PythonSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
12153
+ /**
12154
+ * Creates a plain object from a PythonSettings message. Also converts values to other types if specified.
12155
+ * @param message PythonSettings
12156
+ * @param [options] Conversion options
12157
+ * @returns Plain object
12158
+ */
12159
+ public static toObject(message: google.api.PythonSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
12160
+
12161
+ /**
12162
+ * Converts this PythonSettings to JSON.
12163
+ * @returns JSON object
12164
+ */
12165
+ public toJSON(): { [k: string]: any };
12166
+
12167
+ /**
12168
+ * Gets the default type url for PythonSettings
12169
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
12170
+ * @returns The default type url
12171
+ */
12172
+ public static getTypeUrl(typeUrlPrefix?: string): string;
12173
+ }
12174
+
12175
+ namespace PythonSettings {
12176
+
12177
+ /** Properties of an ExperimentalFeatures. */
12178
+ interface IExperimentalFeatures {
12179
+
12180
+ /** ExperimentalFeatures restAsyncIoEnabled */
12181
+ restAsyncIoEnabled?: (boolean|null);
12182
+
12183
+ /** ExperimentalFeatures protobufPythonicTypesEnabled */
12184
+ protobufPythonicTypesEnabled?: (boolean|null);
12185
+
12186
+ /** ExperimentalFeatures unversionedPackageDisabled */
12187
+ unversionedPackageDisabled?: (boolean|null);
12188
+ }
12189
+
12190
+ /** Represents an ExperimentalFeatures. */
12191
+ class ExperimentalFeatures implements IExperimentalFeatures {
12192
+
12193
+ /**
12194
+ * Constructs a new ExperimentalFeatures.
12195
+ * @param [properties] Properties to set
12196
+ */
12197
+ constructor(properties?: google.api.PythonSettings.IExperimentalFeatures);
12198
+
12199
+ /** ExperimentalFeatures restAsyncIoEnabled. */
12200
+ public restAsyncIoEnabled: boolean;
12201
+
12202
+ /** ExperimentalFeatures protobufPythonicTypesEnabled. */
12203
+ public protobufPythonicTypesEnabled: boolean;
12204
+
12205
+ /** ExperimentalFeatures unversionedPackageDisabled. */
12206
+ public unversionedPackageDisabled: boolean;
12207
+
12208
+ /**
12209
+ * Creates a new ExperimentalFeatures instance using the specified properties.
12210
+ * @param [properties] Properties to set
12211
+ * @returns ExperimentalFeatures instance
12212
+ */
12213
+ public static create(properties?: google.api.PythonSettings.IExperimentalFeatures): google.api.PythonSettings.ExperimentalFeatures;
12214
+
12215
+ /**
12216
+ * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
12217
+ * @param message ExperimentalFeatures message or plain object to encode
12218
+ * @param [writer] Writer to encode to
12219
+ * @returns Writer
12220
+ */
12221
+ public static encode(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer;
12222
+
12223
+ /**
12224
+ * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
12225
+ * @param message ExperimentalFeatures message or plain object to encode
12226
+ * @param [writer] Writer to encode to
12227
+ * @returns Writer
12228
+ */
12229
+ public static encodeDelimited(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer;
12230
+
12231
+ /**
12232
+ * Decodes an ExperimentalFeatures message from the specified reader or buffer.
12233
+ * @param reader Reader or buffer to decode from
12234
+ * @param [length] Message length if known beforehand
12235
+ * @returns ExperimentalFeatures
12236
+ * @throws {Error} If the payload is not a reader or valid buffer
12237
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12238
+ */
12239
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings.ExperimentalFeatures;
12240
+
12241
+ /**
12242
+ * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited.
12243
+ * @param reader Reader or buffer to decode from
12244
+ * @returns ExperimentalFeatures
12245
+ * @throws {Error} If the payload is not a reader or valid buffer
12246
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
12247
+ */
12248
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings.ExperimentalFeatures;
12249
+
12250
+ /**
12251
+ * Verifies an ExperimentalFeatures message.
12252
+ * @param message Plain object to verify
12253
+ * @returns `null` if valid, otherwise the reason why it is not
12254
+ */
12255
+ public static verify(message: { [k: string]: any }): (string|null);
12256
+
12257
+ /**
12258
+ * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types.
12259
+ * @param object Plain object
12260
+ * @returns ExperimentalFeatures
12261
+ */
12262
+ public static fromObject(object: { [k: string]: any }): google.api.PythonSettings.ExperimentalFeatures;
12263
+
12264
+ /**
12265
+ * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified.
12266
+ * @param message ExperimentalFeatures
12267
+ * @param [options] Conversion options
12268
+ * @returns Plain object
12269
+ */
12270
+ public static toObject(message: google.api.PythonSettings.ExperimentalFeatures, options?: $protobuf.IConversionOptions): { [k: string]: any };
11682
12271
 
11683
- /**
11684
- * Converts this PythonSettings to JSON.
11685
- * @returns JSON object
11686
- */
11687
- public toJSON(): { [k: string]: any };
12272
+ /**
12273
+ * Converts this ExperimentalFeatures to JSON.
12274
+ * @returns JSON object
12275
+ */
12276
+ public toJSON(): { [k: string]: any };
11688
12277
 
11689
- /**
11690
- * Gets the default type url for PythonSettings
11691
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
11692
- * @returns The default type url
11693
- */
11694
- public static getTypeUrl(typeUrlPrefix?: string): string;
12278
+ /**
12279
+ * Gets the default type url for ExperimentalFeatures
12280
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
12281
+ * @returns The default type url
12282
+ */
12283
+ public static getTypeUrl(typeUrlPrefix?: string): string;
12284
+ }
11695
12285
  }
11696
12286
 
11697
12287
  /** Properties of a NodeSettings. */
@@ -12020,6 +12610,9 @@ export namespace google {
12020
12610
 
12021
12611
  /** GoSettings common */
12022
12612
  common?: (google.api.ICommonLanguageSettings|null);
12613
+
12614
+ /** GoSettings renamedServices */
12615
+ renamedServices?: ({ [k: string]: string }|null);
12023
12616
  }
12024
12617
 
12025
12618
  /** Represents a GoSettings. */
@@ -12034,6 +12627,9 @@ export namespace google {
12034
12627
  /** GoSettings common. */
12035
12628
  public common?: (google.api.ICommonLanguageSettings|null);
12036
12629
 
12630
+ /** GoSettings renamedServices. */
12631
+ public renamedServices: { [k: string]: string };
12632
+
12037
12633
  /**
12038
12634
  * Creates a new GoSettings instance using the specified properties.
12039
12635
  * @param [properties] Properties to set
@@ -12358,6 +12954,109 @@ export namespace google {
12358
12954
  PACKAGE_MANAGER = 20
12359
12955
  }
12360
12956
 
12957
+ /** Properties of a SelectiveGapicGeneration. */
12958
+ interface ISelectiveGapicGeneration {
12959
+
12960
+ /** SelectiveGapicGeneration methods */
12961
+ methods?: (string[]|null);
12962
+
12963
+ /** SelectiveGapicGeneration generateOmittedAsInternal */
12964
+ generateOmittedAsInternal?: (boolean|null);
12965
+ }
12966
+
12967
+ /** Represents a SelectiveGapicGeneration. */
12968
+ class SelectiveGapicGeneration implements ISelectiveGapicGeneration {
12969
+
12970
+ /**
12971
+ * Constructs a new SelectiveGapicGeneration.
12972
+ * @param [properties] Properties to set
12973
+ */
12974
+ constructor(properties?: google.api.ISelectiveGapicGeneration);
12975
+
12976
+ /** SelectiveGapicGeneration methods. */
12977
+ public methods: string[];
12978
+
12979
+ /** SelectiveGapicGeneration generateOmittedAsInternal. */
12980
+ public generateOmittedAsInternal: boolean;
12981
+
12982
+ /**
12983
+ * Creates a new SelectiveGapicGeneration instance using the specified properties.
12984
+ * @param [properties] Properties to set
12985
+ * @returns SelectiveGapicGeneration instance
12986
+ */
12987
+ public static create(properties?: google.api.ISelectiveGapicGeneration): google.api.SelectiveGapicGeneration;
12988
+
12989
+ /**
12990
+ * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
12991
+ * @param message SelectiveGapicGeneration message or plain object to encode
12992
+ * @param [writer] Writer to encode to
12993
+ * @returns Writer
12994
+ */
12995
+ public static encode(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer;
12996
+
12997
+ /**
12998
+ * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
12999
+ * @param message SelectiveGapicGeneration message or plain object to encode
13000
+ * @param [writer] Writer to encode to
13001
+ * @returns Writer
13002
+ */
13003
+ public static encodeDelimited(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer;
13004
+
13005
+ /**
13006
+ * Decodes a SelectiveGapicGeneration message from the specified reader or buffer.
13007
+ * @param reader Reader or buffer to decode from
13008
+ * @param [length] Message length if known beforehand
13009
+ * @returns SelectiveGapicGeneration
13010
+ * @throws {Error} If the payload is not a reader or valid buffer
13011
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13012
+ */
13013
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.SelectiveGapicGeneration;
13014
+
13015
+ /**
13016
+ * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited.
13017
+ * @param reader Reader or buffer to decode from
13018
+ * @returns SelectiveGapicGeneration
13019
+ * @throws {Error} If the payload is not a reader or valid buffer
13020
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
13021
+ */
13022
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.SelectiveGapicGeneration;
13023
+
13024
+ /**
13025
+ * Verifies a SelectiveGapicGeneration message.
13026
+ * @param message Plain object to verify
13027
+ * @returns `null` if valid, otherwise the reason why it is not
13028
+ */
13029
+ public static verify(message: { [k: string]: any }): (string|null);
13030
+
13031
+ /**
13032
+ * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types.
13033
+ * @param object Plain object
13034
+ * @returns SelectiveGapicGeneration
13035
+ */
13036
+ public static fromObject(object: { [k: string]: any }): google.api.SelectiveGapicGeneration;
13037
+
13038
+ /**
13039
+ * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified.
13040
+ * @param message SelectiveGapicGeneration
13041
+ * @param [options] Conversion options
13042
+ * @returns Plain object
13043
+ */
13044
+ public static toObject(message: google.api.SelectiveGapicGeneration, options?: $protobuf.IConversionOptions): { [k: string]: any };
13045
+
13046
+ /**
13047
+ * Converts this SelectiveGapicGeneration to JSON.
13048
+ * @returns JSON object
13049
+ */
13050
+ public toJSON(): { [k: string]: any };
13051
+
13052
+ /**
13053
+ * Gets the default type url for SelectiveGapicGeneration
13054
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
13055
+ * @returns The default type url
13056
+ */
13057
+ public static getTypeUrl(typeUrlPrefix?: string): string;
13058
+ }
13059
+
12361
13060
  /** LaunchStage enum. */
12362
13061
  enum LaunchStage {
12363
13062
  LAUNCH_STAGE_UNSPECIFIED = 0,
@@ -12739,6 +13438,7 @@ export namespace google {
12739
13438
  /** Edition enum. */
12740
13439
  enum Edition {
12741
13440
  EDITION_UNKNOWN = 0,
13441
+ EDITION_LEGACY = 900,
12742
13442
  EDITION_PROTO2 = 998,
12743
13443
  EDITION_PROTO3 = 999,
12744
13444
  EDITION_2023 = 1000,
@@ -12769,6 +13469,9 @@ export namespace google {
12769
13469
  /** FileDescriptorProto weakDependency */
12770
13470
  weakDependency?: (number[]|null);
12771
13471
 
13472
+ /** FileDescriptorProto optionDependency */
13473
+ optionDependency?: (string[]|null);
13474
+
12772
13475
  /** FileDescriptorProto messageType */
12773
13476
  messageType?: (google.protobuf.IDescriptorProto[]|null);
12774
13477
 
@@ -12818,6 +13521,9 @@ export namespace google {
12818
13521
  /** FileDescriptorProto weakDependency. */
12819
13522
  public weakDependency: number[];
12820
13523
 
13524
+ /** FileDescriptorProto optionDependency. */
13525
+ public optionDependency: string[];
13526
+
12821
13527
  /** FileDescriptorProto messageType. */
12822
13528
  public messageType: google.protobuf.IDescriptorProto[];
12823
13529
 
@@ -12952,6 +13658,9 @@ export namespace google {
12952
13658
 
12953
13659
  /** DescriptorProto reservedName */
12954
13660
  reservedName?: (string[]|null);
13661
+
13662
+ /** DescriptorProto visibility */
13663
+ visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null);
12955
13664
  }
12956
13665
 
12957
13666
  /** Represents a DescriptorProto. */
@@ -12993,6 +13702,9 @@ export namespace google {
12993
13702
  /** DescriptorProto reservedName. */
12994
13703
  public reservedName: string[];
12995
13704
 
13705
+ /** DescriptorProto visibility. */
13706
+ public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility);
13707
+
12996
13708
  /**
12997
13709
  * Creates a new DescriptorProto instance using the specified properties.
12998
13710
  * @param [properties] Properties to set
@@ -13840,6 +14552,9 @@ export namespace google {
13840
14552
 
13841
14553
  /** EnumDescriptorProto reservedName */
13842
14554
  reservedName?: (string[]|null);
14555
+
14556
+ /** EnumDescriptorProto visibility */
14557
+ visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null);
13843
14558
  }
13844
14559
 
13845
14560
  /** Represents an EnumDescriptorProto. */
@@ -13866,6 +14581,9 @@ export namespace google {
13866
14581
  /** EnumDescriptorProto reservedName. */
13867
14582
  public reservedName: string[];
13868
14583
 
14584
+ /** EnumDescriptorProto visibility. */
14585
+ public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility);
14586
+
13869
14587
  /**
13870
14588
  * Creates a new EnumDescriptorProto instance using the specified properties.
13871
14589
  * @param [properties] Properties to set
@@ -14800,6 +15518,9 @@ export namespace google {
14800
15518
  /** FieldOptions features */
14801
15519
  features?: (google.protobuf.IFeatureSet|null);
14802
15520
 
15521
+ /** FieldOptions featureSupport */
15522
+ featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
15523
+
14803
15524
  /** FieldOptions uninterpretedOption */
14804
15525
  uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
14805
15526
 
@@ -14855,6 +15576,9 @@ export namespace google {
14855
15576
  /** FieldOptions features. */
14856
15577
  public features?: (google.protobuf.IFeatureSet|null);
14857
15578
 
15579
+ /** FieldOptions featureSupport. */
15580
+ public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
15581
+
14858
15582
  /** FieldOptions uninterpretedOption. */
14859
15583
  public uninterpretedOption: google.protobuf.IUninterpretedOption[];
14860
15584
 
@@ -15075,6 +15799,121 @@ export namespace google {
15075
15799
  */
15076
15800
  public static getTypeUrl(typeUrlPrefix?: string): string;
15077
15801
  }
15802
+
15803
+ /** Properties of a FeatureSupport. */
15804
+ interface IFeatureSupport {
15805
+
15806
+ /** FeatureSupport editionIntroduced */
15807
+ editionIntroduced?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
15808
+
15809
+ /** FeatureSupport editionDeprecated */
15810
+ editionDeprecated?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
15811
+
15812
+ /** FeatureSupport deprecationWarning */
15813
+ deprecationWarning?: (string|null);
15814
+
15815
+ /** FeatureSupport editionRemoved */
15816
+ editionRemoved?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
15817
+ }
15818
+
15819
+ /** Represents a FeatureSupport. */
15820
+ class FeatureSupport implements IFeatureSupport {
15821
+
15822
+ /**
15823
+ * Constructs a new FeatureSupport.
15824
+ * @param [properties] Properties to set
15825
+ */
15826
+ constructor(properties?: google.protobuf.FieldOptions.IFeatureSupport);
15827
+
15828
+ /** FeatureSupport editionIntroduced. */
15829
+ public editionIntroduced: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
15830
+
15831
+ /** FeatureSupport editionDeprecated. */
15832
+ public editionDeprecated: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
15833
+
15834
+ /** FeatureSupport deprecationWarning. */
15835
+ public deprecationWarning: string;
15836
+
15837
+ /** FeatureSupport editionRemoved. */
15838
+ public editionRemoved: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
15839
+
15840
+ /**
15841
+ * Creates a new FeatureSupport instance using the specified properties.
15842
+ * @param [properties] Properties to set
15843
+ * @returns FeatureSupport instance
15844
+ */
15845
+ public static create(properties?: google.protobuf.FieldOptions.IFeatureSupport): google.protobuf.FieldOptions.FeatureSupport;
15846
+
15847
+ /**
15848
+ * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
15849
+ * @param message FeatureSupport message or plain object to encode
15850
+ * @param [writer] Writer to encode to
15851
+ * @returns Writer
15852
+ */
15853
+ public static encode(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer;
15854
+
15855
+ /**
15856
+ * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
15857
+ * @param message FeatureSupport message or plain object to encode
15858
+ * @param [writer] Writer to encode to
15859
+ * @returns Writer
15860
+ */
15861
+ public static encodeDelimited(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer;
15862
+
15863
+ /**
15864
+ * Decodes a FeatureSupport message from the specified reader or buffer.
15865
+ * @param reader Reader or buffer to decode from
15866
+ * @param [length] Message length if known beforehand
15867
+ * @returns FeatureSupport
15868
+ * @throws {Error} If the payload is not a reader or valid buffer
15869
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15870
+ */
15871
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.FeatureSupport;
15872
+
15873
+ /**
15874
+ * Decodes a FeatureSupport message from the specified reader or buffer, length delimited.
15875
+ * @param reader Reader or buffer to decode from
15876
+ * @returns FeatureSupport
15877
+ * @throws {Error} If the payload is not a reader or valid buffer
15878
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
15879
+ */
15880
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.FeatureSupport;
15881
+
15882
+ /**
15883
+ * Verifies a FeatureSupport message.
15884
+ * @param message Plain object to verify
15885
+ * @returns `null` if valid, otherwise the reason why it is not
15886
+ */
15887
+ public static verify(message: { [k: string]: any }): (string|null);
15888
+
15889
+ /**
15890
+ * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types.
15891
+ * @param object Plain object
15892
+ * @returns FeatureSupport
15893
+ */
15894
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.FeatureSupport;
15895
+
15896
+ /**
15897
+ * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified.
15898
+ * @param message FeatureSupport
15899
+ * @param [options] Conversion options
15900
+ * @returns Plain object
15901
+ */
15902
+ public static toObject(message: google.protobuf.FieldOptions.FeatureSupport, options?: $protobuf.IConversionOptions): { [k: string]: any };
15903
+
15904
+ /**
15905
+ * Converts this FeatureSupport to JSON.
15906
+ * @returns JSON object
15907
+ */
15908
+ public toJSON(): { [k: string]: any };
15909
+
15910
+ /**
15911
+ * Gets the default type url for FeatureSupport
15912
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15913
+ * @returns The default type url
15914
+ */
15915
+ public static getTypeUrl(typeUrlPrefix?: string): string;
15916
+ }
15078
15917
  }
15079
15918
 
15080
15919
  /** Properties of an OneofOptions. */
@@ -15313,6 +16152,9 @@ export namespace google {
15313
16152
  /** EnumValueOptions debugRedact */
15314
16153
  debugRedact?: (boolean|null);
15315
16154
 
16155
+ /** EnumValueOptions featureSupport */
16156
+ featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
16157
+
15316
16158
  /** EnumValueOptions uninterpretedOption */
15317
16159
  uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
15318
16160
  }
@@ -15335,6 +16177,9 @@ export namespace google {
15335
16177
  /** EnumValueOptions debugRedact. */
15336
16178
  public debugRedact: boolean;
15337
16179
 
16180
+ /** EnumValueOptions featureSupport. */
16181
+ public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
16182
+
15338
16183
  /** EnumValueOptions uninterpretedOption. */
15339
16184
  public uninterpretedOption: google.protobuf.IUninterpretedOption[];
15340
16185
 
@@ -15924,6 +16769,12 @@ export namespace google {
15924
16769
 
15925
16770
  /** FeatureSet jsonFormat */
15926
16771
  jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null);
16772
+
16773
+ /** FeatureSet enforceNamingStyle */
16774
+ enforceNamingStyle?: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle|null);
16775
+
16776
+ /** FeatureSet defaultSymbolVisibility */
16777
+ defaultSymbolVisibility?: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null);
15927
16778
  }
15928
16779
 
15929
16780
  /** Represents a FeatureSet. */
@@ -15953,6 +16804,12 @@ export namespace google {
15953
16804
  /** FeatureSet jsonFormat. */
15954
16805
  public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat);
15955
16806
 
16807
+ /** FeatureSet enforceNamingStyle. */
16808
+ public enforceNamingStyle: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle);
16809
+
16810
+ /** FeatureSet defaultSymbolVisibility. */
16811
+ public defaultSymbolVisibility: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility);
16812
+
15956
16813
  /**
15957
16814
  * Creates a new FeatureSet instance using the specified properties.
15958
16815
  * @param [properties] Properties to set
@@ -16075,6 +16932,116 @@ export namespace google {
16075
16932
  ALLOW = 1,
16076
16933
  LEGACY_BEST_EFFORT = 2
16077
16934
  }
16935
+
16936
+ /** EnforceNamingStyle enum. */
16937
+ enum EnforceNamingStyle {
16938
+ ENFORCE_NAMING_STYLE_UNKNOWN = 0,
16939
+ STYLE2024 = 1,
16940
+ STYLE_LEGACY = 2
16941
+ }
16942
+
16943
+ /** Properties of a VisibilityFeature. */
16944
+ interface IVisibilityFeature {
16945
+ }
16946
+
16947
+ /** Represents a VisibilityFeature. */
16948
+ class VisibilityFeature implements IVisibilityFeature {
16949
+
16950
+ /**
16951
+ * Constructs a new VisibilityFeature.
16952
+ * @param [properties] Properties to set
16953
+ */
16954
+ constructor(properties?: google.protobuf.FeatureSet.IVisibilityFeature);
16955
+
16956
+ /**
16957
+ * Creates a new VisibilityFeature instance using the specified properties.
16958
+ * @param [properties] Properties to set
16959
+ * @returns VisibilityFeature instance
16960
+ */
16961
+ public static create(properties?: google.protobuf.FeatureSet.IVisibilityFeature): google.protobuf.FeatureSet.VisibilityFeature;
16962
+
16963
+ /**
16964
+ * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
16965
+ * @param message VisibilityFeature message or plain object to encode
16966
+ * @param [writer] Writer to encode to
16967
+ * @returns Writer
16968
+ */
16969
+ public static encode(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer;
16970
+
16971
+ /**
16972
+ * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
16973
+ * @param message VisibilityFeature message or plain object to encode
16974
+ * @param [writer] Writer to encode to
16975
+ * @returns Writer
16976
+ */
16977
+ public static encodeDelimited(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer;
16978
+
16979
+ /**
16980
+ * Decodes a VisibilityFeature message from the specified reader or buffer.
16981
+ * @param reader Reader or buffer to decode from
16982
+ * @param [length] Message length if known beforehand
16983
+ * @returns VisibilityFeature
16984
+ * @throws {Error} If the payload is not a reader or valid buffer
16985
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16986
+ */
16987
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet.VisibilityFeature;
16988
+
16989
+ /**
16990
+ * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited.
16991
+ * @param reader Reader or buffer to decode from
16992
+ * @returns VisibilityFeature
16993
+ * @throws {Error} If the payload is not a reader or valid buffer
16994
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
16995
+ */
16996
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet.VisibilityFeature;
16997
+
16998
+ /**
16999
+ * Verifies a VisibilityFeature message.
17000
+ * @param message Plain object to verify
17001
+ * @returns `null` if valid, otherwise the reason why it is not
17002
+ */
17003
+ public static verify(message: { [k: string]: any }): (string|null);
17004
+
17005
+ /**
17006
+ * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types.
17007
+ * @param object Plain object
17008
+ * @returns VisibilityFeature
17009
+ */
17010
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.VisibilityFeature;
17011
+
17012
+ /**
17013
+ * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified.
17014
+ * @param message VisibilityFeature
17015
+ * @param [options] Conversion options
17016
+ * @returns Plain object
17017
+ */
17018
+ public static toObject(message: google.protobuf.FeatureSet.VisibilityFeature, options?: $protobuf.IConversionOptions): { [k: string]: any };
17019
+
17020
+ /**
17021
+ * Converts this VisibilityFeature to JSON.
17022
+ * @returns JSON object
17023
+ */
17024
+ public toJSON(): { [k: string]: any };
17025
+
17026
+ /**
17027
+ * Gets the default type url for VisibilityFeature
17028
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
17029
+ * @returns The default type url
17030
+ */
17031
+ public static getTypeUrl(typeUrlPrefix?: string): string;
17032
+ }
17033
+
17034
+ namespace VisibilityFeature {
17035
+
17036
+ /** DefaultSymbolVisibility enum. */
17037
+ enum DefaultSymbolVisibility {
17038
+ DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0,
17039
+ EXPORT_ALL = 1,
17040
+ EXPORT_TOP_LEVEL = 2,
17041
+ LOCAL_ALL = 3,
17042
+ STRICT = 4
17043
+ }
17044
+ }
16078
17045
  }
16079
17046
 
16080
17047
  /** Properties of a FeatureSetDefaults. */
@@ -16194,8 +17161,11 @@ export namespace google {
16194
17161
  /** FeatureSetEditionDefault edition */
16195
17162
  edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
16196
17163
 
16197
- /** FeatureSetEditionDefault features */
16198
- features?: (google.protobuf.IFeatureSet|null);
17164
+ /** FeatureSetEditionDefault overridableFeatures */
17165
+ overridableFeatures?: (google.protobuf.IFeatureSet|null);
17166
+
17167
+ /** FeatureSetEditionDefault fixedFeatures */
17168
+ fixedFeatures?: (google.protobuf.IFeatureSet|null);
16199
17169
  }
16200
17170
 
16201
17171
  /** Represents a FeatureSetEditionDefault. */
@@ -16210,8 +17180,11 @@ export namespace google {
16210
17180
  /** FeatureSetEditionDefault edition. */
16211
17181
  public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
16212
17182
 
16213
- /** FeatureSetEditionDefault features. */
16214
- public features?: (google.protobuf.IFeatureSet|null);
17183
+ /** FeatureSetEditionDefault overridableFeatures. */
17184
+ public overridableFeatures?: (google.protobuf.IFeatureSet|null);
17185
+
17186
+ /** FeatureSetEditionDefault fixedFeatures. */
17187
+ public fixedFeatures?: (google.protobuf.IFeatureSet|null);
16215
17188
 
16216
17189
  /**
16217
17190
  * Creates a new FeatureSetEditionDefault instance using the specified properties.
@@ -16744,6 +17717,13 @@ export namespace google {
16744
17717
  }
16745
17718
  }
16746
17719
 
17720
+ /** SymbolVisibility enum. */
17721
+ enum SymbolVisibility {
17722
+ VISIBILITY_UNSET = 0,
17723
+ VISIBILITY_LOCAL = 1,
17724
+ VISIBILITY_EXPORT = 2
17725
+ }
17726
+
16747
17727
  /** Properties of a Duration. */
16748
17728
  interface IDuration {
16749
17729