@mochabug/adapt-sdk 0.4.22 → 0.4.23

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 (67) hide show
  1. package/dist/cjs/api.cjs +1 -1
  2. package/dist/cjs/api.cjs.map +2 -2
  3. package/dist/cjs/router.cjs +1 -1
  4. package/dist/cjs/router.cjs.map +2 -2
  5. package/dist/esm/api.mjs +1 -1
  6. package/dist/esm/api.mjs.map +2 -2
  7. package/dist/esm/router.mjs +1 -1
  8. package/dist/esm/router.mjs.map +2 -2
  9. package/dist/genproto/buf/validate/validate_pb.d.ts +438 -320
  10. package/dist/genproto/buf/validate/validate_pb.d.ts.map +1 -1
  11. package/dist/genproto/google/api/client_pb.d.ts +471 -103
  12. package/dist/genproto/google/api/client_pb.d.ts.map +1 -1
  13. package/dist/genproto/mochabugapis/adapt/automations/v1/automations_pb.d.ts +26 -26
  14. package/dist/genproto/mochabugapis/adapt/automations/v1/automations_pb.d.ts.map +1 -1
  15. package/dist/genproto/mochabugapis/adapt/graph/exchange_pb.d.ts +1 -1
  16. package/dist/genproto/mochabugapis/adapt/graph/exchange_pb.d.ts.map +1 -1
  17. package/dist/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts +8 -8
  18. package/dist/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts.map +1 -1
  19. package/dist/genproto/mochabugapis/adapt/graph/receiver_pb.d.ts +1 -1
  20. package/dist/genproto/mochabugapis/adapt/graph/receiver_pb.d.ts.map +1 -1
  21. package/dist/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts +4 -4
  22. package/dist/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts.map +1 -1
  23. package/dist/genproto/mochabugapis/adapt/graph/signal_data_pb.d.ts +1 -1
  24. package/dist/genproto/mochabugapis/adapt/graph/signal_data_pb.d.ts.map +1 -1
  25. package/dist/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts +3 -3
  26. package/dist/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts.map +1 -1
  27. package/dist/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts +2 -2
  28. package/dist/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts.map +1 -1
  29. package/dist/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts +2 -2
  30. package/dist/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts.map +1 -1
  31. package/dist/genproto/mochabugapis/adapt/graph/user_defined_exchange_options_pb.d.ts +12 -12
  32. package/dist/genproto/mochabugapis/adapt/graph/user_defined_exchange_options_pb.d.ts.map +1 -1
  33. package/dist/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.d.ts +2 -2
  34. package/dist/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.d.ts.map +1 -1
  35. package/dist/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.d.ts +1 -1
  36. package/dist/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.d.ts.map +1 -1
  37. package/dist/genproto/mochabugapis/adapt/plugins/v1/file_pb.d.ts +1 -1
  38. package/dist/genproto/mochabugapis/adapt/plugins/v1/file_pb.d.ts.map +1 -1
  39. package/dist/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.d.ts +8 -8
  40. package/dist/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.d.ts.map +1 -1
  41. package/dist/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.d.ts +5 -5
  42. package/dist/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.d.ts.map +1 -1
  43. package/dist/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.d.ts +13 -13
  44. package/dist/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.d.ts.map +1 -1
  45. package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts +5 -5
  46. package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts.map +1 -1
  47. package/dist/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.d.ts +2 -2
  48. package/dist/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.d.ts.map +1 -1
  49. package/dist/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.d.ts +2 -2
  50. package/dist/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.d.ts.map +1 -1
  51. package/dist/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.d.ts +2 -2
  52. package/dist/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.d.ts.map +1 -1
  53. package/dist/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts +4 -4
  54. package/dist/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts.map +1 -1
  55. package/dist/genproto/mochabugapis/adapt/runtime/v1/configurator_service_pb.d.ts +16 -14
  56. package/dist/genproto/mochabugapis/adapt/runtime/v1/configurator_service_pb.d.ts.map +1 -1
  57. package/dist/genproto/mochabugapis/adapt/runtime/v1/executor_service_pb.d.ts +16 -14
  58. package/dist/genproto/mochabugapis/adapt/runtime/v1/executor_service_pb.d.ts.map +1 -1
  59. package/dist/genproto/mochabugapis/adapt/runtime/v1/fileforge_service_pb.d.ts +130 -130
  60. package/dist/genproto/mochabugapis/adapt/runtime/v1/fileforge_service_pb.d.ts.map +1 -1
  61. package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.d.ts +7 -7
  62. package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.d.ts.map +1 -1
  63. package/dist/genproto/mochabugapis/adapt/runtime/v1/plugin_service_pb.d.ts +1 -1
  64. package/dist/genproto/mochabugapis/adapt/runtime/v1/plugin_service_pb.d.ts.map +1 -1
  65. package/dist/genproto/mochabugapis/adapt/runtime/v1/store_pb.d.ts +26 -24
  66. package/dist/genproto/mochabugapis/adapt/runtime/v1/store_pb.d.ts.map +1 -1
  67. package/package.json +4 -4
@@ -29,9 +29,11 @@ export type CommonLanguageSettings = Message<"google.api.CommonLanguageSettings"
29
29
  /**
30
30
  * Configuration for which RPCs should be generated in the GAPIC client.
31
31
  *
32
+ * Note: This field should not be used in most cases.
33
+ *
32
34
  * @generated from field: google.api.SelectiveGapicGeneration selective_gapic_generation = 3;
33
35
  */
34
- selectiveGapicGeneration?: SelectiveGapicGeneration;
36
+ selectiveGapicGeneration?: SelectiveGapicGeneration | undefined;
35
37
  };
36
38
  /**
37
39
  * Required information for every language.
@@ -56,6 +58,8 @@ export type CommonLanguageSettingsJson = {
56
58
  /**
57
59
  * Configuration for which RPCs should be generated in the GAPIC client.
58
60
  *
61
+ * Note: This field should not be used in most cases.
62
+ *
59
63
  * @generated from field: google.api.SelectiveGapicGeneration selective_gapic_generation = 3;
60
64
  */
61
65
  selectiveGapicGeneration?: SelectiveGapicGenerationJson;
@@ -99,49 +103,49 @@ export type ClientLibrarySettings = Message<"google.api.ClientLibrarySettings">
99
103
  *
100
104
  * @generated from field: google.api.JavaSettings java_settings = 21;
101
105
  */
102
- javaSettings?: JavaSettings;
106
+ javaSettings?: JavaSettings | undefined;
103
107
  /**
104
108
  * Settings for C++ client libraries.
105
109
  *
106
110
  * @generated from field: google.api.CppSettings cpp_settings = 22;
107
111
  */
108
- cppSettings?: CppSettings;
112
+ cppSettings?: CppSettings | undefined;
109
113
  /**
110
114
  * Settings for PHP client libraries.
111
115
  *
112
116
  * @generated from field: google.api.PhpSettings php_settings = 23;
113
117
  */
114
- phpSettings?: PhpSettings;
118
+ phpSettings?: PhpSettings | undefined;
115
119
  /**
116
120
  * Settings for Python client libraries.
117
121
  *
118
122
  * @generated from field: google.api.PythonSettings python_settings = 24;
119
123
  */
120
- pythonSettings?: PythonSettings;
124
+ pythonSettings?: PythonSettings | undefined;
121
125
  /**
122
126
  * Settings for Node client libraries.
123
127
  *
124
128
  * @generated from field: google.api.NodeSettings node_settings = 25;
125
129
  */
126
- nodeSettings?: NodeSettings;
130
+ nodeSettings?: NodeSettings | undefined;
127
131
  /**
128
132
  * Settings for .NET client libraries.
129
133
  *
130
134
  * @generated from field: google.api.DotnetSettings dotnet_settings = 26;
131
135
  */
132
- dotnetSettings?: DotnetSettings;
136
+ dotnetSettings?: DotnetSettings | undefined;
133
137
  /**
134
138
  * Settings for Ruby client libraries.
135
139
  *
136
140
  * @generated from field: google.api.RubySettings ruby_settings = 27;
137
141
  */
138
- rubySettings?: RubySettings;
142
+ rubySettings?: RubySettings | undefined;
139
143
  /**
140
144
  * Settings for Go client libraries.
141
145
  *
142
146
  * @generated from field: google.api.GoSettings go_settings = 28;
143
147
  */
144
- goSettings?: GoSettings;
148
+ goSettings?: GoSettings | undefined;
145
149
  };
146
150
  /**
147
151
  * Details about how and where to publish client libraries.
@@ -420,9 +424,10 @@ export type JavaSettings = Message<"google.api.JavaSettings"> & {
420
424
  *
421
425
  * Example of a YAML configuration::
422
426
  *
423
- * publishing:
424
- * java_settings:
425
- * library_package: com.google.cloud.pubsub.v1
427
+ * publishing:
428
+ * library_settings:
429
+ * java_settings:
430
+ * library_package: com.google.cloud.pubsub.v1
426
431
  *
427
432
  * @generated from field: string library_package = 1;
428
433
  */
@@ -437,11 +442,11 @@ export type JavaSettings = Message<"google.api.JavaSettings"> & {
437
442
  *
438
443
  * Example of a YAML configuration::
439
444
  *
440
- * publishing:
441
- * java_settings:
442
- * service_class_names:
443
- * - google.pubsub.v1.Publisher: TopicAdmin
444
- * - google.pubsub.v1.Subscriber: SubscriptionAdmin
445
+ * publishing:
446
+ * java_settings:
447
+ * service_class_names:
448
+ * - google.pubsub.v1.Publisher: TopicAdmin
449
+ * - google.pubsub.v1.Subscriber: SubscriptionAdmin
445
450
  *
446
451
  * @generated from field: map<string, string> service_class_names = 2;
447
452
  */
@@ -453,7 +458,7 @@ export type JavaSettings = Message<"google.api.JavaSettings"> & {
453
458
  *
454
459
  * @generated from field: google.api.CommonLanguageSettings common = 3;
455
460
  */
456
- common?: CommonLanguageSettings;
461
+ common?: CommonLanguageSettings | undefined;
457
462
  };
458
463
  /**
459
464
  * Settings for Java client libraries.
@@ -470,9 +475,10 @@ export type JavaSettingsJson = {
470
475
  *
471
476
  * Example of a YAML configuration::
472
477
  *
473
- * publishing:
474
- * java_settings:
475
- * library_package: com.google.cloud.pubsub.v1
478
+ * publishing:
479
+ * library_settings:
480
+ * java_settings:
481
+ * library_package: com.google.cloud.pubsub.v1
476
482
  *
477
483
  * @generated from field: string library_package = 1;
478
484
  */
@@ -487,11 +493,11 @@ export type JavaSettingsJson = {
487
493
  *
488
494
  * Example of a YAML configuration::
489
495
  *
490
- * publishing:
491
- * java_settings:
492
- * service_class_names:
493
- * - google.pubsub.v1.Publisher: TopicAdmin
494
- * - google.pubsub.v1.Subscriber: SubscriptionAdmin
496
+ * publishing:
497
+ * java_settings:
498
+ * service_class_names:
499
+ * - google.pubsub.v1.Publisher: TopicAdmin
500
+ * - google.pubsub.v1.Subscriber: SubscriptionAdmin
495
501
  *
496
502
  * @generated from field: map<string, string> service_class_names = 2;
497
503
  */
@@ -523,7 +529,7 @@ export type CppSettings = Message<"google.api.CppSettings"> & {
523
529
  *
524
530
  * @generated from field: google.api.CommonLanguageSettings common = 1;
525
531
  */
526
- common?: CommonLanguageSettings;
532
+ common?: CommonLanguageSettings | undefined;
527
533
  };
528
534
  /**
529
535
  * Settings for C++ client libraries.
@@ -556,7 +562,24 @@ export type PhpSettings = Message<"google.api.PhpSettings"> & {
556
562
  *
557
563
  * @generated from field: google.api.CommonLanguageSettings common = 1;
558
564
  */
559
- common?: CommonLanguageSettings;
565
+ common?: CommonLanguageSettings | undefined;
566
+ /**
567
+ * The package name to use in Php. Clobbers the php_namespace option
568
+ * set in the protobuf. This should be used **only** by APIs
569
+ * who have already set the language_settings.php.package_name" field
570
+ * in gapic.yaml. API teams should use the protobuf php_namespace option
571
+ * where possible.
572
+ *
573
+ * Example of a YAML configuration::
574
+ *
575
+ * publishing:
576
+ * library_settings:
577
+ * php_settings:
578
+ * library_package: Google\Cloud\PubSub\V1
579
+ *
580
+ * @generated from field: string library_package = 2;
581
+ */
582
+ libraryPackage: string;
560
583
  };
561
584
  /**
562
585
  * Settings for Php client libraries.
@@ -570,6 +593,23 @@ export type PhpSettingsJson = {
570
593
  * @generated from field: google.api.CommonLanguageSettings common = 1;
571
594
  */
572
595
  common?: CommonLanguageSettingsJson;
596
+ /**
597
+ * The package name to use in Php. Clobbers the php_namespace option
598
+ * set in the protobuf. This should be used **only** by APIs
599
+ * who have already set the language_settings.php.package_name" field
600
+ * in gapic.yaml. API teams should use the protobuf php_namespace option
601
+ * where possible.
602
+ *
603
+ * Example of a YAML configuration::
604
+ *
605
+ * publishing:
606
+ * library_settings:
607
+ * php_settings:
608
+ * library_package: Google\Cloud\PubSub\V1
609
+ *
610
+ * @generated from field: string library_package = 2;
611
+ */
612
+ libraryPackage?: string;
573
613
  };
574
614
  /**
575
615
  * Describes the message google.api.PhpSettings.
@@ -589,13 +629,13 @@ export type PythonSettings = Message<"google.api.PythonSettings"> & {
589
629
  *
590
630
  * @generated from field: google.api.CommonLanguageSettings common = 1;
591
631
  */
592
- common?: CommonLanguageSettings;
632
+ common?: CommonLanguageSettings | undefined;
593
633
  /**
594
634
  * Experimental features to be included during client library generation.
595
635
  *
596
636
  * @generated from field: google.api.PythonSettings.ExperimentalFeatures experimental_features = 2;
597
637
  */
598
- experimentalFeatures?: PythonSettings_ExperimentalFeatures;
638
+ experimentalFeatures?: PythonSettings_ExperimentalFeatures | undefined;
599
639
  };
600
640
  /**
601
641
  * Settings for Python client libraries.
@@ -713,7 +753,7 @@ export type NodeSettings = Message<"google.api.NodeSettings"> & {
713
753
  *
714
754
  * @generated from field: google.api.CommonLanguageSettings common = 1;
715
755
  */
716
- common?: CommonLanguageSettings;
756
+ common?: CommonLanguageSettings | undefined;
717
757
  };
718
758
  /**
719
759
  * Settings for Node client libraries.
@@ -746,7 +786,7 @@ export type DotnetSettings = Message<"google.api.DotnetSettings"> & {
746
786
  *
747
787
  * @generated from field: google.api.CommonLanguageSettings common = 1;
748
788
  */
749
- common?: CommonLanguageSettings;
789
+ common?: CommonLanguageSettings | undefined;
750
790
  /**
751
791
  * Map from original service names to renamed versions.
752
792
  * This is used when the default generated types
@@ -877,7 +917,7 @@ export type RubySettings = Message<"google.api.RubySettings"> & {
877
917
  *
878
918
  * @generated from field: google.api.CommonLanguageSettings common = 1;
879
919
  */
880
- common?: CommonLanguageSettings;
920
+ common?: CommonLanguageSettings | undefined;
881
921
  };
882
922
  /**
883
923
  * Settings for Ruby client libraries.
@@ -910,16 +950,18 @@ export type GoSettings = Message<"google.api.GoSettings"> & {
910
950
  *
911
951
  * @generated from field: google.api.CommonLanguageSettings common = 1;
912
952
  */
913
- common?: CommonLanguageSettings;
953
+ common?: CommonLanguageSettings | undefined;
914
954
  /**
915
955
  * Map of service names to renamed services. Keys are the package relative
916
956
  * service names and values are the name to be used for the service client
917
957
  * and call options.
918
958
  *
919
- * publishing:
920
- * go_settings:
921
- * renamed_services:
922
- * Publisher: TopicAdmin
959
+ * Example:
960
+ *
961
+ * publishing:
962
+ * go_settings:
963
+ * renamed_services:
964
+ * Publisher: TopicAdmin
923
965
  *
924
966
  * @generated from field: map<string, string> renamed_services = 2;
925
967
  */
@@ -944,10 +986,12 @@ export type GoSettingsJson = {
944
986
  * service names and values are the name to be used for the service client
945
987
  * and call options.
946
988
  *
947
- * publishing:
948
- * go_settings:
949
- * renamed_services:
950
- * Publisher: TopicAdmin
989
+ * Example:
990
+ *
991
+ * publishing:
992
+ * go_settings:
993
+ * renamed_services:
994
+ * Publisher: TopicAdmin
951
995
  *
952
996
  * @generated from field: map<string, string> renamed_services = 2;
953
997
  */
@@ -974,10 +1018,10 @@ export type MethodSettings = Message<"google.api.MethodSettings"> & {
974
1018
  *
975
1019
  * Example:
976
1020
  *
977
- * publishing:
978
- * method_settings:
979
- * - selector: google.storage.control.v2.StorageControl.CreateFolder
980
- * # method settings for CreateFolder...
1021
+ * publishing:
1022
+ * method_settings:
1023
+ * - selector: google.storage.control.v2.StorageControl.CreateFolder
1024
+ * # method settings for CreateFolder...
981
1025
  *
982
1026
  * @generated from field: string selector = 1;
983
1027
  */
@@ -989,18 +1033,18 @@ export type MethodSettings = Message<"google.api.MethodSettings"> & {
989
1033
  *
990
1034
  * Example of a YAML configuration::
991
1035
  *
992
- * publishing:
993
- * method_settings:
994
- * - selector: google.cloud.speech.v2.Speech.BatchRecognize
995
- * long_running:
996
- * initial_poll_delay: 60s # 1 minute
997
- * poll_delay_multiplier: 1.5
998
- * max_poll_delay: 360s # 6 minutes
999
- * total_poll_timeout: 54000s # 90 minutes
1036
+ * publishing:
1037
+ * method_settings:
1038
+ * - selector: google.cloud.speech.v2.Speech.BatchRecognize
1039
+ * long_running:
1040
+ * initial_poll_delay: 60s # 1 minute
1041
+ * poll_delay_multiplier: 1.5
1042
+ * max_poll_delay: 360s # 6 minutes
1043
+ * total_poll_timeout: 54000s # 90 minutes
1000
1044
  *
1001
1045
  * @generated from field: google.api.MethodSettings.LongRunning long_running = 2;
1002
1046
  */
1003
- longRunning?: MethodSettings_LongRunning;
1047
+ longRunning?: MethodSettings_LongRunning | undefined;
1004
1048
  /**
1005
1049
  * List of top-level fields of the request message, that should be
1006
1050
  * automatically populated by the client libraries based on their
@@ -1008,15 +1052,31 @@ export type MethodSettings = Message<"google.api.MethodSettings"> & {
1008
1052
  *
1009
1053
  * Example of a YAML configuration:
1010
1054
  *
1011
- * publishing:
1012
- * method_settings:
1013
- * - selector: google.example.v1.ExampleService.CreateExample
1014
- * auto_populated_fields:
1015
- * - request_id
1055
+ * publishing:
1056
+ * method_settings:
1057
+ * - selector: google.example.v1.ExampleService.CreateExample
1058
+ * auto_populated_fields:
1059
+ * - request_id
1016
1060
  *
1017
1061
  * @generated from field: repeated string auto_populated_fields = 3;
1018
1062
  */
1019
1063
  autoPopulatedFields: string[];
1064
+ /**
1065
+ * Batching configuration for an API method in client libraries.
1066
+ *
1067
+ * Example of a YAML configuration:
1068
+ *
1069
+ * publishing:
1070
+ * method_settings:
1071
+ * - selector: google.example.v1.ExampleService.BatchCreateExample
1072
+ * batching:
1073
+ * element_count_threshold: 1000
1074
+ * request_byte_threshold: 100000000
1075
+ * delay_threshold_millis: 10
1076
+ *
1077
+ * @generated from field: google.api.BatchingConfigProto batching = 4;
1078
+ */
1079
+ batching?: BatchingConfigProto | undefined;
1020
1080
  };
1021
1081
  /**
1022
1082
  * Describes the generator configuration for a method.
@@ -1030,10 +1090,10 @@ export type MethodSettingsJson = {
1030
1090
  *
1031
1091
  * Example:
1032
1092
  *
1033
- * publishing:
1034
- * method_settings:
1035
- * - selector: google.storage.control.v2.StorageControl.CreateFolder
1036
- * # method settings for CreateFolder...
1093
+ * publishing:
1094
+ * method_settings:
1095
+ * - selector: google.storage.control.v2.StorageControl.CreateFolder
1096
+ * # method settings for CreateFolder...
1037
1097
  *
1038
1098
  * @generated from field: string selector = 1;
1039
1099
  */
@@ -1045,14 +1105,14 @@ export type MethodSettingsJson = {
1045
1105
  *
1046
1106
  * Example of a YAML configuration::
1047
1107
  *
1048
- * publishing:
1049
- * method_settings:
1050
- * - selector: google.cloud.speech.v2.Speech.BatchRecognize
1051
- * long_running:
1052
- * initial_poll_delay: 60s # 1 minute
1053
- * poll_delay_multiplier: 1.5
1054
- * max_poll_delay: 360s # 6 minutes
1055
- * total_poll_timeout: 54000s # 90 minutes
1108
+ * publishing:
1109
+ * method_settings:
1110
+ * - selector: google.cloud.speech.v2.Speech.BatchRecognize
1111
+ * long_running:
1112
+ * initial_poll_delay: 60s # 1 minute
1113
+ * poll_delay_multiplier: 1.5
1114
+ * max_poll_delay: 360s # 6 minutes
1115
+ * total_poll_timeout: 54000s # 90 minutes
1056
1116
  *
1057
1117
  * @generated from field: google.api.MethodSettings.LongRunning long_running = 2;
1058
1118
  */
@@ -1064,15 +1124,31 @@ export type MethodSettingsJson = {
1064
1124
  *
1065
1125
  * Example of a YAML configuration:
1066
1126
  *
1067
- * publishing:
1068
- * method_settings:
1069
- * - selector: google.example.v1.ExampleService.CreateExample
1070
- * auto_populated_fields:
1071
- * - request_id
1127
+ * publishing:
1128
+ * method_settings:
1129
+ * - selector: google.example.v1.ExampleService.CreateExample
1130
+ * auto_populated_fields:
1131
+ * - request_id
1072
1132
  *
1073
1133
  * @generated from field: repeated string auto_populated_fields = 3;
1074
1134
  */
1075
1135
  autoPopulatedFields?: string[];
1136
+ /**
1137
+ * Batching configuration for an API method in client libraries.
1138
+ *
1139
+ * Example of a YAML configuration:
1140
+ *
1141
+ * publishing:
1142
+ * method_settings:
1143
+ * - selector: google.example.v1.ExampleService.BatchCreateExample
1144
+ * batching:
1145
+ * element_count_threshold: 1000
1146
+ * request_byte_threshold: 100000000
1147
+ * delay_threshold_millis: 10
1148
+ *
1149
+ * @generated from field: google.api.BatchingConfigProto batching = 4;
1150
+ */
1151
+ batching?: BatchingConfigProtoJson;
1076
1152
  };
1077
1153
  /**
1078
1154
  * Describes the message google.api.MethodSettings.
@@ -1097,7 +1173,7 @@ export type MethodSettings_LongRunning = Message<"google.api.MethodSettings.Long
1097
1173
  *
1098
1174
  * @generated from field: google.protobuf.Duration initial_poll_delay = 1;
1099
1175
  */
1100
- initialPollDelay?: Duration;
1176
+ initialPollDelay?: Duration | undefined;
1101
1177
  /**
1102
1178
  * Multiplier to gradually increase delay between subsequent polls until it
1103
1179
  * reaches max_poll_delay.
@@ -1112,14 +1188,14 @@ export type MethodSettings_LongRunning = Message<"google.api.MethodSettings.Long
1112
1188
  *
1113
1189
  * @generated from field: google.protobuf.Duration max_poll_delay = 3;
1114
1190
  */
1115
- maxPollDelay?: Duration;
1191
+ maxPollDelay?: Duration | undefined;
1116
1192
  /**
1117
1193
  * Total polling timeout.
1118
1194
  * Default value: 5 minutes.
1119
1195
  *
1120
1196
  * @generated from field: google.protobuf.Duration total_poll_timeout = 4;
1121
1197
  */
1122
- totalPollTimeout?: Duration;
1198
+ totalPollTimeout?: Duration | undefined;
1123
1199
  };
1124
1200
  /**
1125
1201
  * Describes settings to use when generating API methods that use the
@@ -1172,6 +1248,8 @@ export declare const MethodSettings_LongRunningSchema: GenMessage<MethodSettings
1172
1248
  * This message is used to configure the generation of a subset of the RPCs in
1173
1249
  * a service for client libraries.
1174
1250
  *
1251
+ * Note: This feature should not be used in most cases.
1252
+ *
1175
1253
  * @generated from message google.api.SelectiveGapicGeneration
1176
1254
  */
1177
1255
  export type SelectiveGapicGeneration = Message<"google.api.SelectiveGapicGeneration"> & {
@@ -1198,6 +1276,8 @@ export type SelectiveGapicGeneration = Message<"google.api.SelectiveGapicGenerat
1198
1276
  * This message is used to configure the generation of a subset of the RPCs in
1199
1277
  * a service for client libraries.
1200
1278
  *
1279
+ * Note: This feature should not be used in most cases.
1280
+ *
1201
1281
  * @generated from message google.api.SelectiveGapicGeneration
1202
1282
  */
1203
1283
  export type SelectiveGapicGenerationJson = {
@@ -1227,6 +1307,253 @@ export type SelectiveGapicGenerationJson = {
1227
1307
  export declare const SelectiveGapicGenerationSchema: GenMessage<SelectiveGapicGeneration, {
1228
1308
  jsonType: SelectiveGapicGenerationJson;
1229
1309
  }>;
1310
+ /**
1311
+ * `BatchingConfigProto` defines the batching configuration for an API method.
1312
+ *
1313
+ * @generated from message google.api.BatchingConfigProto
1314
+ */
1315
+ export type BatchingConfigProto = Message<"google.api.BatchingConfigProto"> & {
1316
+ /**
1317
+ * The thresholds which trigger a batched request to be sent.
1318
+ *
1319
+ * @generated from field: google.api.BatchingSettingsProto thresholds = 1;
1320
+ */
1321
+ thresholds?: BatchingSettingsProto | undefined;
1322
+ /**
1323
+ * The request and response fields used in batching.
1324
+ *
1325
+ * @generated from field: google.api.BatchingDescriptorProto batch_descriptor = 2;
1326
+ */
1327
+ batchDescriptor?: BatchingDescriptorProto | undefined;
1328
+ };
1329
+ /**
1330
+ * `BatchingConfigProto` defines the batching configuration for an API method.
1331
+ *
1332
+ * @generated from message google.api.BatchingConfigProto
1333
+ */
1334
+ export type BatchingConfigProtoJson = {
1335
+ /**
1336
+ * The thresholds which trigger a batched request to be sent.
1337
+ *
1338
+ * @generated from field: google.api.BatchingSettingsProto thresholds = 1;
1339
+ */
1340
+ thresholds?: BatchingSettingsProtoJson;
1341
+ /**
1342
+ * The request and response fields used in batching.
1343
+ *
1344
+ * @generated from field: google.api.BatchingDescriptorProto batch_descriptor = 2;
1345
+ */
1346
+ batchDescriptor?: BatchingDescriptorProtoJson;
1347
+ };
1348
+ /**
1349
+ * Describes the message google.api.BatchingConfigProto.
1350
+ * Use `create(BatchingConfigProtoSchema)` to create a new message.
1351
+ */
1352
+ export declare const BatchingConfigProtoSchema: GenMessage<BatchingConfigProto, {
1353
+ jsonType: BatchingConfigProtoJson;
1354
+ }>;
1355
+ /**
1356
+ * `BatchingSettingsProto` specifies a set of batching thresholds, each of
1357
+ * which acts as a trigger to send a batch of messages as a request. At least
1358
+ * one threshold must be positive nonzero.
1359
+ *
1360
+ * @generated from message google.api.BatchingSettingsProto
1361
+ */
1362
+ export type BatchingSettingsProto = Message<"google.api.BatchingSettingsProto"> & {
1363
+ /**
1364
+ * The number of elements of a field collected into a batch which, if
1365
+ * exceeded, causes the batch to be sent.
1366
+ *
1367
+ * @generated from field: int32 element_count_threshold = 1;
1368
+ */
1369
+ elementCountThreshold: number;
1370
+ /**
1371
+ * The aggregated size of the batched field which, if exceeded, causes the
1372
+ * batch to be sent. This size is computed by aggregating the sizes of the
1373
+ * request field to be batched, not of the entire request message.
1374
+ *
1375
+ * @generated from field: int64 request_byte_threshold = 2;
1376
+ */
1377
+ requestByteThreshold: bigint;
1378
+ /**
1379
+ * The duration after which a batch should be sent, starting from the addition
1380
+ * of the first message to that batch.
1381
+ *
1382
+ * @generated from field: google.protobuf.Duration delay_threshold = 3;
1383
+ */
1384
+ delayThreshold?: Duration | undefined;
1385
+ /**
1386
+ * The maximum number of elements collected in a batch that could be accepted
1387
+ * by server.
1388
+ *
1389
+ * @generated from field: int32 element_count_limit = 4;
1390
+ */
1391
+ elementCountLimit: number;
1392
+ /**
1393
+ * The maximum size of the request that could be accepted by server.
1394
+ *
1395
+ * @generated from field: int32 request_byte_limit = 5;
1396
+ */
1397
+ requestByteLimit: number;
1398
+ /**
1399
+ * The maximum number of elements allowed by flow control.
1400
+ *
1401
+ * @generated from field: int32 flow_control_element_limit = 6;
1402
+ */
1403
+ flowControlElementLimit: number;
1404
+ /**
1405
+ * The maximum size of data allowed by flow control.
1406
+ *
1407
+ * @generated from field: int32 flow_control_byte_limit = 7;
1408
+ */
1409
+ flowControlByteLimit: number;
1410
+ /**
1411
+ * The behavior to take when the flow control limit is exceeded.
1412
+ *
1413
+ * @generated from field: google.api.FlowControlLimitExceededBehaviorProto flow_control_limit_exceeded_behavior = 8;
1414
+ */
1415
+ flowControlLimitExceededBehavior: FlowControlLimitExceededBehaviorProto;
1416
+ };
1417
+ /**
1418
+ * `BatchingSettingsProto` specifies a set of batching thresholds, each of
1419
+ * which acts as a trigger to send a batch of messages as a request. At least
1420
+ * one threshold must be positive nonzero.
1421
+ *
1422
+ * @generated from message google.api.BatchingSettingsProto
1423
+ */
1424
+ export type BatchingSettingsProtoJson = {
1425
+ /**
1426
+ * The number of elements of a field collected into a batch which, if
1427
+ * exceeded, causes the batch to be sent.
1428
+ *
1429
+ * @generated from field: int32 element_count_threshold = 1;
1430
+ */
1431
+ elementCountThreshold?: number;
1432
+ /**
1433
+ * The aggregated size of the batched field which, if exceeded, causes the
1434
+ * batch to be sent. This size is computed by aggregating the sizes of the
1435
+ * request field to be batched, not of the entire request message.
1436
+ *
1437
+ * @generated from field: int64 request_byte_threshold = 2;
1438
+ */
1439
+ requestByteThreshold?: string;
1440
+ /**
1441
+ * The duration after which a batch should be sent, starting from the addition
1442
+ * of the first message to that batch.
1443
+ *
1444
+ * @generated from field: google.protobuf.Duration delay_threshold = 3;
1445
+ */
1446
+ delayThreshold?: DurationJson;
1447
+ /**
1448
+ * The maximum number of elements collected in a batch that could be accepted
1449
+ * by server.
1450
+ *
1451
+ * @generated from field: int32 element_count_limit = 4;
1452
+ */
1453
+ elementCountLimit?: number;
1454
+ /**
1455
+ * The maximum size of the request that could be accepted by server.
1456
+ *
1457
+ * @generated from field: int32 request_byte_limit = 5;
1458
+ */
1459
+ requestByteLimit?: number;
1460
+ /**
1461
+ * The maximum number of elements allowed by flow control.
1462
+ *
1463
+ * @generated from field: int32 flow_control_element_limit = 6;
1464
+ */
1465
+ flowControlElementLimit?: number;
1466
+ /**
1467
+ * The maximum size of data allowed by flow control.
1468
+ *
1469
+ * @generated from field: int32 flow_control_byte_limit = 7;
1470
+ */
1471
+ flowControlByteLimit?: number;
1472
+ /**
1473
+ * The behavior to take when the flow control limit is exceeded.
1474
+ *
1475
+ * @generated from field: google.api.FlowControlLimitExceededBehaviorProto flow_control_limit_exceeded_behavior = 8;
1476
+ */
1477
+ flowControlLimitExceededBehavior?: FlowControlLimitExceededBehaviorProtoJson;
1478
+ };
1479
+ /**
1480
+ * Describes the message google.api.BatchingSettingsProto.
1481
+ * Use `create(BatchingSettingsProtoSchema)` to create a new message.
1482
+ */
1483
+ export declare const BatchingSettingsProtoSchema: GenMessage<BatchingSettingsProto, {
1484
+ jsonType: BatchingSettingsProtoJson;
1485
+ }>;
1486
+ /**
1487
+ * `BatchingDescriptorProto` specifies the fields of the request message to be
1488
+ * used for batching, and, optionally, the fields of the response message to be
1489
+ * used for demultiplexing.
1490
+ *
1491
+ * @generated from message google.api.BatchingDescriptorProto
1492
+ */
1493
+ export type BatchingDescriptorProto = Message<"google.api.BatchingDescriptorProto"> & {
1494
+ /**
1495
+ * The repeated field in the request message to be aggregated by batching.
1496
+ *
1497
+ * @generated from field: string batched_field = 1;
1498
+ */
1499
+ batchedField: string;
1500
+ /**
1501
+ * A list of the fields in the request message. Two requests will be batched
1502
+ * together only if the values of every field specified in
1503
+ * `request_discriminator_fields` is equal between the two requests.
1504
+ *
1505
+ * @generated from field: repeated string discriminator_fields = 2;
1506
+ */
1507
+ discriminatorFields: string[];
1508
+ /**
1509
+ * Optional. When present, indicates the field in the response message to be
1510
+ * used to demultiplex the response into multiple response messages, in
1511
+ * correspondence with the multiple request messages originally batched
1512
+ * together.
1513
+ *
1514
+ * @generated from field: string subresponse_field = 3;
1515
+ */
1516
+ subresponseField: string;
1517
+ };
1518
+ /**
1519
+ * `BatchingDescriptorProto` specifies the fields of the request message to be
1520
+ * used for batching, and, optionally, the fields of the response message to be
1521
+ * used for demultiplexing.
1522
+ *
1523
+ * @generated from message google.api.BatchingDescriptorProto
1524
+ */
1525
+ export type BatchingDescriptorProtoJson = {
1526
+ /**
1527
+ * The repeated field in the request message to be aggregated by batching.
1528
+ *
1529
+ * @generated from field: string batched_field = 1;
1530
+ */
1531
+ batchedField?: string;
1532
+ /**
1533
+ * A list of the fields in the request message. Two requests will be batched
1534
+ * together only if the values of every field specified in
1535
+ * `request_discriminator_fields` is equal between the two requests.
1536
+ *
1537
+ * @generated from field: repeated string discriminator_fields = 2;
1538
+ */
1539
+ discriminatorFields?: string[];
1540
+ /**
1541
+ * Optional. When present, indicates the field in the response message to be
1542
+ * used to demultiplex the response into multiple response messages, in
1543
+ * correspondence with the multiple request messages originally batched
1544
+ * together.
1545
+ *
1546
+ * @generated from field: string subresponse_field = 3;
1547
+ */
1548
+ subresponseField?: string;
1549
+ };
1550
+ /**
1551
+ * Describes the message google.api.BatchingDescriptorProto.
1552
+ * Use `create(BatchingDescriptorProtoSchema)` to create a new message.
1553
+ */
1554
+ export declare const BatchingDescriptorProtoSchema: GenMessage<BatchingDescriptorProto, {
1555
+ jsonType: BatchingDescriptorProtoJson;
1556
+ }>;
1230
1557
  /**
1231
1558
  * The organization for which the client libraries are being published.
1232
1559
  * Affects the url where generated docs are published, etc.
@@ -1331,6 +1658,47 @@ export type ClientLibraryDestinationJson = "CLIENT_LIBRARY_DESTINATION_UNSPECIFI
1331
1658
  * Describes the enum google.api.ClientLibraryDestination.
1332
1659
  */
1333
1660
  export declare const ClientLibraryDestinationSchema: GenEnum<ClientLibraryDestination, ClientLibraryDestinationJson>;
1661
+ /**
1662
+ * The behavior to take when the flow control limit is exceeded.
1663
+ *
1664
+ * @generated from enum google.api.FlowControlLimitExceededBehaviorProto
1665
+ */
1666
+ export declare enum FlowControlLimitExceededBehaviorProto {
1667
+ /**
1668
+ * Default behavior, system-defined.
1669
+ *
1670
+ * @generated from enum value: UNSET_BEHAVIOR = 0;
1671
+ */
1672
+ UNSET_BEHAVIOR = 0,
1673
+ /**
1674
+ * Stop operation, raise error.
1675
+ *
1676
+ * @generated from enum value: THROW_EXCEPTION = 1;
1677
+ */
1678
+ THROW_EXCEPTION = 1,
1679
+ /**
1680
+ * Pause operation until limit clears.
1681
+ *
1682
+ * @generated from enum value: BLOCK = 2;
1683
+ */
1684
+ BLOCK = 2,
1685
+ /**
1686
+ * Continue operation, disregard limit.
1687
+ *
1688
+ * @generated from enum value: IGNORE = 3;
1689
+ */
1690
+ IGNORE = 3
1691
+ }
1692
+ /**
1693
+ * The behavior to take when the flow control limit is exceeded.
1694
+ *
1695
+ * @generated from enum google.api.FlowControlLimitExceededBehaviorProto
1696
+ */
1697
+ export type FlowControlLimitExceededBehaviorProtoJson = "UNSET_BEHAVIOR" | "THROW_EXCEPTION" | "BLOCK" | "IGNORE";
1698
+ /**
1699
+ * Describes the enum google.api.FlowControlLimitExceededBehaviorProto.
1700
+ */
1701
+ export declare const FlowControlLimitExceededBehaviorProtoSchema: GenEnum<FlowControlLimitExceededBehaviorProto, FlowControlLimitExceededBehaviorProtoJson>;
1334
1702
  /**
1335
1703
  * A definition of a client library method signature.
1336
1704
  *
@@ -1346,15 +1714,15 @@ export declare const ClientLibraryDestinationSchema: GenEnum<ClientLibraryDestin
1346
1714
  *
1347
1715
  * For example, the proto RPC and annotation:
1348
1716
  *
1349
- * rpc CreateSubscription(CreateSubscriptionRequest)
1350
- * returns (Subscription) {
1351
- * option (google.api.method_signature) = "name,topic";
1352
- * }
1717
+ * rpc CreateSubscription(CreateSubscriptionRequest)
1718
+ * returns (Subscription) {
1719
+ * option (google.api.method_signature) = "name,topic";
1720
+ * }
1353
1721
  *
1354
1722
  * Would add the following Java overload (in addition to the method accepting
1355
1723
  * the request object):
1356
1724
  *
1357
- * public final Subscription createSubscription(String name, String topic)
1725
+ * public final Subscription createSubscription(String name, String topic)
1358
1726
  *
1359
1727
  * The following backwards-compatibility guidelines apply:
1360
1728
  *
@@ -1377,10 +1745,10 @@ export declare const method_signature: GenExtension<MethodOptions, string[]>;
1377
1745
  *
1378
1746
  * Example:
1379
1747
  *
1380
- * service Foo {
1381
- * option (google.api.default_host) = "foo.googleapi.com";
1382
- * ...
1383
- * }
1748
+ * service Foo {
1749
+ * option (google.api.default_host) = "foo.googleapi.com";
1750
+ * ...
1751
+ * }
1384
1752
  *
1385
1753
  * @generated from extension: string default_host = 1049;
1386
1754
  */
@@ -1390,22 +1758,22 @@ export declare const default_host: GenExtension<ServiceOptions, string>;
1390
1758
  *
1391
1759
  * Example:
1392
1760
  *
1393
- * service Foo {
1394
- * option (google.api.oauth_scopes) = \
1395
- * "https://www.googleapis.com/auth/cloud-platform";
1396
- * ...
1397
- * }
1761
+ * service Foo {
1762
+ * option (google.api.oauth_scopes) = \
1763
+ * "https://www.googleapis.com/auth/cloud-platform";
1764
+ * ...
1765
+ * }
1398
1766
  *
1399
1767
  * If there is more than one scope, use a comma-separated string:
1400
1768
  *
1401
1769
  * Example:
1402
1770
  *
1403
- * service Foo {
1404
- * option (google.api.oauth_scopes) = \
1405
- * "https://www.googleapis.com/auth/cloud-platform,"
1406
- * "https://www.googleapis.com/auth/monitoring";
1407
- * ...
1408
- * }
1771
+ * service Foo {
1772
+ * option (google.api.oauth_scopes) = \
1773
+ * "https://www.googleapis.com/auth/cloud-platform,"
1774
+ * "https://www.googleapis.com/auth/monitoring";
1775
+ * ...
1776
+ * }
1409
1777
  *
1410
1778
  * @generated from extension: string oauth_scopes = 1050;
1411
1779
  */
@@ -1422,9 +1790,9 @@ export declare const oauth_scopes: GenExtension<ServiceOptions, string>;
1422
1790
  *
1423
1791
  * Example:
1424
1792
  *
1425
- * service Foo {
1426
- * option (google.api.api_version) = "v1_20230821_preview";
1427
- * }
1793
+ * service Foo {
1794
+ * option (google.api.api_version) = "v1_20230821_preview";
1795
+ * }
1428
1796
  *
1429
1797
  * @generated from extension: string api_version = 525000001;
1430
1798
  */