@mochabug/adaptkit 1.0.0-rc.3 → 1.0.0-rc.5

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 (75) hide show
  1. package/assets/build.js +2 -57
  2. package/assets/configurator.html +14 -0
  3. package/assets/configurator.ssg.tsx +2 -16
  4. package/assets/configurator_react.tsx +6 -3
  5. package/assets/executor.html +14 -0
  6. package/assets/executor.ssg.tsx +2 -16
  7. package/assets/executor_browser_react.tsx +6 -3
  8. package/assets/gitignore +3 -1
  9. package/assets/tsconf.json +3 -5
  10. package/bin/add.d.ts +3 -0
  11. package/bin/add.d.ts.map +1 -0
  12. package/bin/genproto/buf/validate/validate_pb.d.ts +8122 -0
  13. package/bin/genproto/buf/validate/validate_pb.d.ts.map +1 -0
  14. package/bin/genproto/google/api/annotations_pb.d.ts +14 -0
  15. package/bin/genproto/google/api/annotations_pb.d.ts.map +1 -0
  16. package/bin/genproto/google/api/client_pb.d.ts +1402 -0
  17. package/bin/genproto/google/api/client_pb.d.ts.map +1 -0
  18. package/bin/genproto/google/api/http_pb.d.ts +837 -0
  19. package/bin/genproto/google/api/http_pb.d.ts.map +1 -0
  20. package/bin/genproto/google/api/launch_stage_pb.d.ts +94 -0
  21. package/bin/genproto/google/api/launch_stage_pb.d.ts.map +1 -0
  22. package/bin/genproto/mochabugapis/adapt/graph/exchange_pb.d.ts +75 -0
  23. package/bin/genproto/mochabugapis/adapt/graph/exchange_pb.d.ts.map +1 -0
  24. package/bin/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts +225 -0
  25. package/bin/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts.map +1 -0
  26. package/bin/genproto/mochabugapis/adapt/graph/receiver_pb.d.ts +67 -0
  27. package/bin/genproto/mochabugapis/adapt/graph/receiver_pb.d.ts.map +1 -0
  28. package/bin/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts +133 -0
  29. package/bin/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts.map +1 -0
  30. package/bin/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts +87 -0
  31. package/bin/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts.map +1 -0
  32. package/bin/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts +63 -0
  33. package/bin/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts.map +1 -0
  34. package/bin/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts +75 -0
  35. package/bin/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts.map +1 -0
  36. package/bin/genproto/mochabugapis/adapt/graph/vertex_config_pb.d.ts +109 -0
  37. package/bin/genproto/mochabugapis/adapt/graph/vertex_config_pb.d.ts.map +1 -0
  38. package/bin/genproto/mochabugapis/adapt/plugins/v1/file_pb.d.ts +62 -0
  39. package/bin/genproto/mochabugapis/adapt/plugins/v1/file_pb.d.ts.map +1 -0
  40. package/bin/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.d.ts +223 -0
  41. package/bin/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.d.ts.map +1 -0
  42. package/bin/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.d.ts +715 -0
  43. package/bin/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.d.ts.map +1 -0
  44. package/bin/genproto/mochabugapis/adapt/plugins/v1/oneof_service_pb.d.ts +92 -0
  45. package/bin/genproto/mochabugapis/adapt/plugins/v1/oneof_service_pb.d.ts.map +1 -0
  46. package/bin/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts +194 -0
  47. package/bin/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts.map +1 -0
  48. package/bin/genproto/mochabugapis/adapt/plugins/v1/service_binding_pb.d.ts +134 -0
  49. package/bin/genproto/mochabugapis/adapt/plugins/v1/service_binding_pb.d.ts.map +1 -0
  50. package/bin/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.d.ts +116 -0
  51. package/bin/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.d.ts.map +1 -0
  52. package/bin/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.d.ts +159 -0
  53. package/bin/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.d.ts.map +1 -0
  54. package/bin/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.d.ts +60 -0
  55. package/bin/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.d.ts.map +1 -0
  56. package/bin/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts +232 -0
  57. package/bin/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts.map +1 -0
  58. package/bin/index.d.ts +7 -0
  59. package/bin/index.d.ts.map +1 -0
  60. package/bin/index.js +355 -429
  61. package/bin/index.js.map +4 -4
  62. package/bin/init.d.ts +2 -0
  63. package/bin/init.d.ts.map +1 -0
  64. package/bin/oauth2.d.ts +2 -0
  65. package/bin/oauth2.d.ts.map +1 -0
  66. package/bin/publish.d.ts +23 -0
  67. package/bin/publish.d.ts.map +1 -0
  68. package/bin/utils.d.ts +13 -0
  69. package/bin/utils.d.ts.map +1 -0
  70. package/bin/vertices.d.ts +3 -0
  71. package/bin/vertices.d.ts.map +1 -0
  72. package/package.json +5 -17
  73. package/assets/build-client.js +0 -111
  74. package/assets/global.d.ts +0 -7
  75. package/assets/inject.js +0 -15
@@ -0,0 +1,1402 @@
1
+ import type { GenEnum, GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { LaunchStage, LaunchStageJson } from "./launch_stage_pb";
3
+ import type { Duration, DurationJson, MethodOptions, ServiceOptions } from "@bufbuild/protobuf/wkt";
4
+ import type { Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * Describes the file google/api/client.proto.
7
+ */
8
+ export declare const file_google_api_client: GenFile;
9
+ /**
10
+ * Required information for every language.
11
+ *
12
+ * @generated from message google.api.CommonLanguageSettings
13
+ */
14
+ export type CommonLanguageSettings = Message<"google.api.CommonLanguageSettings"> & {
15
+ /**
16
+ * Link to automatically generated reference documentation. Example:
17
+ * https://cloud.google.com/nodejs/docs/reference/asset/latest
18
+ *
19
+ * @generated from field: string reference_docs_uri = 1 [deprecated = true];
20
+ * @deprecated
21
+ */
22
+ referenceDocsUri: string;
23
+ /**
24
+ * The destination where API teams want this client library to be published.
25
+ *
26
+ * @generated from field: repeated google.api.ClientLibraryDestination destinations = 2;
27
+ */
28
+ destinations: ClientLibraryDestination[];
29
+ /**
30
+ * Configuration for which RPCs should be generated in the GAPIC client.
31
+ *
32
+ * @generated from field: google.api.SelectiveGapicGeneration selective_gapic_generation = 3;
33
+ */
34
+ selectiveGapicGeneration?: SelectiveGapicGeneration;
35
+ };
36
+ /**
37
+ * Required information for every language.
38
+ *
39
+ * @generated from message google.api.CommonLanguageSettings
40
+ */
41
+ export type CommonLanguageSettingsJson = {
42
+ /**
43
+ * Link to automatically generated reference documentation. Example:
44
+ * https://cloud.google.com/nodejs/docs/reference/asset/latest
45
+ *
46
+ * @generated from field: string reference_docs_uri = 1 [deprecated = true];
47
+ * @deprecated
48
+ */
49
+ referenceDocsUri?: string;
50
+ /**
51
+ * The destination where API teams want this client library to be published.
52
+ *
53
+ * @generated from field: repeated google.api.ClientLibraryDestination destinations = 2;
54
+ */
55
+ destinations?: ClientLibraryDestinationJson[];
56
+ /**
57
+ * Configuration for which RPCs should be generated in the GAPIC client.
58
+ *
59
+ * @generated from field: google.api.SelectiveGapicGeneration selective_gapic_generation = 3;
60
+ */
61
+ selectiveGapicGeneration?: SelectiveGapicGenerationJson;
62
+ };
63
+ /**
64
+ * Describes the message google.api.CommonLanguageSettings.
65
+ * Use `create(CommonLanguageSettingsSchema)` to create a new message.
66
+ */
67
+ export declare const CommonLanguageSettingsSchema: GenMessage<CommonLanguageSettings, CommonLanguageSettingsJson>;
68
+ /**
69
+ * Details about how and where to publish client libraries.
70
+ *
71
+ * @generated from message google.api.ClientLibrarySettings
72
+ */
73
+ export type ClientLibrarySettings = Message<"google.api.ClientLibrarySettings"> & {
74
+ /**
75
+ * Version of the API to apply these settings to. This is the full protobuf
76
+ * package for the API, ending in the version element.
77
+ * Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
78
+ *
79
+ * @generated from field: string version = 1;
80
+ */
81
+ version: string;
82
+ /**
83
+ * Launch stage of this version of the API.
84
+ *
85
+ * @generated from field: google.api.LaunchStage launch_stage = 2;
86
+ */
87
+ launchStage: LaunchStage;
88
+ /**
89
+ * When using transport=rest, the client request will encode enums as
90
+ * numbers rather than strings.
91
+ *
92
+ * @generated from field: bool rest_numeric_enums = 3;
93
+ */
94
+ restNumericEnums: boolean;
95
+ /**
96
+ * Settings for legacy Java features, supported in the Service YAML.
97
+ *
98
+ * @generated from field: google.api.JavaSettings java_settings = 21;
99
+ */
100
+ javaSettings?: JavaSettings;
101
+ /**
102
+ * Settings for C++ client libraries.
103
+ *
104
+ * @generated from field: google.api.CppSettings cpp_settings = 22;
105
+ */
106
+ cppSettings?: CppSettings;
107
+ /**
108
+ * Settings for PHP client libraries.
109
+ *
110
+ * @generated from field: google.api.PhpSettings php_settings = 23;
111
+ */
112
+ phpSettings?: PhpSettings;
113
+ /**
114
+ * Settings for Python client libraries.
115
+ *
116
+ * @generated from field: google.api.PythonSettings python_settings = 24;
117
+ */
118
+ pythonSettings?: PythonSettings;
119
+ /**
120
+ * Settings for Node client libraries.
121
+ *
122
+ * @generated from field: google.api.NodeSettings node_settings = 25;
123
+ */
124
+ nodeSettings?: NodeSettings;
125
+ /**
126
+ * Settings for .NET client libraries.
127
+ *
128
+ * @generated from field: google.api.DotnetSettings dotnet_settings = 26;
129
+ */
130
+ dotnetSettings?: DotnetSettings;
131
+ /**
132
+ * Settings for Ruby client libraries.
133
+ *
134
+ * @generated from field: google.api.RubySettings ruby_settings = 27;
135
+ */
136
+ rubySettings?: RubySettings;
137
+ /**
138
+ * Settings for Go client libraries.
139
+ *
140
+ * @generated from field: google.api.GoSettings go_settings = 28;
141
+ */
142
+ goSettings?: GoSettings;
143
+ };
144
+ /**
145
+ * Details about how and where to publish client libraries.
146
+ *
147
+ * @generated from message google.api.ClientLibrarySettings
148
+ */
149
+ export type ClientLibrarySettingsJson = {
150
+ /**
151
+ * Version of the API to apply these settings to. This is the full protobuf
152
+ * package for the API, ending in the version element.
153
+ * Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
154
+ *
155
+ * @generated from field: string version = 1;
156
+ */
157
+ version?: string;
158
+ /**
159
+ * Launch stage of this version of the API.
160
+ *
161
+ * @generated from field: google.api.LaunchStage launch_stage = 2;
162
+ */
163
+ launchStage?: LaunchStageJson;
164
+ /**
165
+ * When using transport=rest, the client request will encode enums as
166
+ * numbers rather than strings.
167
+ *
168
+ * @generated from field: bool rest_numeric_enums = 3;
169
+ */
170
+ restNumericEnums?: boolean;
171
+ /**
172
+ * Settings for legacy Java features, supported in the Service YAML.
173
+ *
174
+ * @generated from field: google.api.JavaSettings java_settings = 21;
175
+ */
176
+ javaSettings?: JavaSettingsJson;
177
+ /**
178
+ * Settings for C++ client libraries.
179
+ *
180
+ * @generated from field: google.api.CppSettings cpp_settings = 22;
181
+ */
182
+ cppSettings?: CppSettingsJson;
183
+ /**
184
+ * Settings for PHP client libraries.
185
+ *
186
+ * @generated from field: google.api.PhpSettings php_settings = 23;
187
+ */
188
+ phpSettings?: PhpSettingsJson;
189
+ /**
190
+ * Settings for Python client libraries.
191
+ *
192
+ * @generated from field: google.api.PythonSettings python_settings = 24;
193
+ */
194
+ pythonSettings?: PythonSettingsJson;
195
+ /**
196
+ * Settings for Node client libraries.
197
+ *
198
+ * @generated from field: google.api.NodeSettings node_settings = 25;
199
+ */
200
+ nodeSettings?: NodeSettingsJson;
201
+ /**
202
+ * Settings for .NET client libraries.
203
+ *
204
+ * @generated from field: google.api.DotnetSettings dotnet_settings = 26;
205
+ */
206
+ dotnetSettings?: DotnetSettingsJson;
207
+ /**
208
+ * Settings for Ruby client libraries.
209
+ *
210
+ * @generated from field: google.api.RubySettings ruby_settings = 27;
211
+ */
212
+ rubySettings?: RubySettingsJson;
213
+ /**
214
+ * Settings for Go client libraries.
215
+ *
216
+ * @generated from field: google.api.GoSettings go_settings = 28;
217
+ */
218
+ goSettings?: GoSettingsJson;
219
+ };
220
+ /**
221
+ * Describes the message google.api.ClientLibrarySettings.
222
+ * Use `create(ClientLibrarySettingsSchema)` to create a new message.
223
+ */
224
+ export declare const ClientLibrarySettingsSchema: GenMessage<ClientLibrarySettings, ClientLibrarySettingsJson>;
225
+ /**
226
+ * This message configures the settings for publishing [Google Cloud Client
227
+ * libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
228
+ * generated from the service config.
229
+ *
230
+ * @generated from message google.api.Publishing
231
+ */
232
+ export type Publishing = Message<"google.api.Publishing"> & {
233
+ /**
234
+ * A list of API method settings, e.g. the behavior for methods that use the
235
+ * long-running operation pattern.
236
+ *
237
+ * @generated from field: repeated google.api.MethodSettings method_settings = 2;
238
+ */
239
+ methodSettings: MethodSettings[];
240
+ /**
241
+ * Link to a *public* URI where users can report issues. Example:
242
+ * https://issuetracker.google.com/issues/new?component=190865&template=1161103
243
+ *
244
+ * @generated from field: string new_issue_uri = 101;
245
+ */
246
+ newIssueUri: string;
247
+ /**
248
+ * Link to product home page. Example:
249
+ * https://cloud.google.com/asset-inventory/docs/overview
250
+ *
251
+ * @generated from field: string documentation_uri = 102;
252
+ */
253
+ documentationUri: string;
254
+ /**
255
+ * Used as a tracking tag when collecting data about the APIs developer
256
+ * relations artifacts like docs, packages delivered to package managers,
257
+ * etc. Example: "speech".
258
+ *
259
+ * @generated from field: string api_short_name = 103;
260
+ */
261
+ apiShortName: string;
262
+ /**
263
+ * GitHub label to apply to issues and pull requests opened for this API.
264
+ *
265
+ * @generated from field: string github_label = 104;
266
+ */
267
+ githubLabel: string;
268
+ /**
269
+ * GitHub teams to be added to CODEOWNERS in the directory in GitHub
270
+ * containing source code for the client libraries for this API.
271
+ *
272
+ * @generated from field: repeated string codeowner_github_teams = 105;
273
+ */
274
+ codeownerGithubTeams: string[];
275
+ /**
276
+ * A prefix used in sample code when demarking regions to be included in
277
+ * documentation.
278
+ *
279
+ * @generated from field: string doc_tag_prefix = 106;
280
+ */
281
+ docTagPrefix: string;
282
+ /**
283
+ * For whom the client library is being published.
284
+ *
285
+ * @generated from field: google.api.ClientLibraryOrganization organization = 107;
286
+ */
287
+ organization: ClientLibraryOrganization;
288
+ /**
289
+ * Client library settings. If the same version string appears multiple
290
+ * times in this list, then the last one wins. Settings from earlier
291
+ * settings with the same version string are discarded.
292
+ *
293
+ * @generated from field: repeated google.api.ClientLibrarySettings library_settings = 109;
294
+ */
295
+ librarySettings: ClientLibrarySettings[];
296
+ /**
297
+ * Optional link to proto reference documentation. Example:
298
+ * https://cloud.google.com/pubsub/lite/docs/reference/rpc
299
+ *
300
+ * @generated from field: string proto_reference_documentation_uri = 110;
301
+ */
302
+ protoReferenceDocumentationUri: string;
303
+ /**
304
+ * Optional link to REST reference documentation. Example:
305
+ * https://cloud.google.com/pubsub/lite/docs/reference/rest
306
+ *
307
+ * @generated from field: string rest_reference_documentation_uri = 111;
308
+ */
309
+ restReferenceDocumentationUri: string;
310
+ };
311
+ /**
312
+ * This message configures the settings for publishing [Google Cloud Client
313
+ * libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
314
+ * generated from the service config.
315
+ *
316
+ * @generated from message google.api.Publishing
317
+ */
318
+ export type PublishingJson = {
319
+ /**
320
+ * A list of API method settings, e.g. the behavior for methods that use the
321
+ * long-running operation pattern.
322
+ *
323
+ * @generated from field: repeated google.api.MethodSettings method_settings = 2;
324
+ */
325
+ methodSettings?: MethodSettingsJson[];
326
+ /**
327
+ * Link to a *public* URI where users can report issues. Example:
328
+ * https://issuetracker.google.com/issues/new?component=190865&template=1161103
329
+ *
330
+ * @generated from field: string new_issue_uri = 101;
331
+ */
332
+ newIssueUri?: string;
333
+ /**
334
+ * Link to product home page. Example:
335
+ * https://cloud.google.com/asset-inventory/docs/overview
336
+ *
337
+ * @generated from field: string documentation_uri = 102;
338
+ */
339
+ documentationUri?: string;
340
+ /**
341
+ * Used as a tracking tag when collecting data about the APIs developer
342
+ * relations artifacts like docs, packages delivered to package managers,
343
+ * etc. Example: "speech".
344
+ *
345
+ * @generated from field: string api_short_name = 103;
346
+ */
347
+ apiShortName?: string;
348
+ /**
349
+ * GitHub label to apply to issues and pull requests opened for this API.
350
+ *
351
+ * @generated from field: string github_label = 104;
352
+ */
353
+ githubLabel?: string;
354
+ /**
355
+ * GitHub teams to be added to CODEOWNERS in the directory in GitHub
356
+ * containing source code for the client libraries for this API.
357
+ *
358
+ * @generated from field: repeated string codeowner_github_teams = 105;
359
+ */
360
+ codeownerGithubTeams?: string[];
361
+ /**
362
+ * A prefix used in sample code when demarking regions to be included in
363
+ * documentation.
364
+ *
365
+ * @generated from field: string doc_tag_prefix = 106;
366
+ */
367
+ docTagPrefix?: string;
368
+ /**
369
+ * For whom the client library is being published.
370
+ *
371
+ * @generated from field: google.api.ClientLibraryOrganization organization = 107;
372
+ */
373
+ organization?: ClientLibraryOrganizationJson;
374
+ /**
375
+ * Client library settings. If the same version string appears multiple
376
+ * times in this list, then the last one wins. Settings from earlier
377
+ * settings with the same version string are discarded.
378
+ *
379
+ * @generated from field: repeated google.api.ClientLibrarySettings library_settings = 109;
380
+ */
381
+ librarySettings?: ClientLibrarySettingsJson[];
382
+ /**
383
+ * Optional link to proto reference documentation. Example:
384
+ * https://cloud.google.com/pubsub/lite/docs/reference/rpc
385
+ *
386
+ * @generated from field: string proto_reference_documentation_uri = 110;
387
+ */
388
+ protoReferenceDocumentationUri?: string;
389
+ /**
390
+ * Optional link to REST reference documentation. Example:
391
+ * https://cloud.google.com/pubsub/lite/docs/reference/rest
392
+ *
393
+ * @generated from field: string rest_reference_documentation_uri = 111;
394
+ */
395
+ restReferenceDocumentationUri?: string;
396
+ };
397
+ /**
398
+ * Describes the message google.api.Publishing.
399
+ * Use `create(PublishingSchema)` to create a new message.
400
+ */
401
+ export declare const PublishingSchema: GenMessage<Publishing, PublishingJson>;
402
+ /**
403
+ * Settings for Java client libraries.
404
+ *
405
+ * @generated from message google.api.JavaSettings
406
+ */
407
+ export type JavaSettings = Message<"google.api.JavaSettings"> & {
408
+ /**
409
+ * The package name to use in Java. Clobbers the java_package option
410
+ * set in the protobuf. This should be used **only** by APIs
411
+ * who have already set the language_settings.java.package_name" field
412
+ * in gapic.yaml. API teams should use the protobuf java_package option
413
+ * where possible.
414
+ *
415
+ * Example of a YAML configuration::
416
+ *
417
+ * publishing:
418
+ * java_settings:
419
+ * library_package: com.google.cloud.pubsub.v1
420
+ *
421
+ * @generated from field: string library_package = 1;
422
+ */
423
+ libraryPackage: string;
424
+ /**
425
+ * Configure the Java class name to use instead of the service's for its
426
+ * corresponding generated GAPIC client. Keys are fully-qualified
427
+ * service names as they appear in the protobuf (including the full
428
+ * the language_settings.java.interface_names" field in gapic.yaml. API
429
+ * teams should otherwise use the service name as it appears in the
430
+ * protobuf.
431
+ *
432
+ * Example of a YAML configuration::
433
+ *
434
+ * publishing:
435
+ * java_settings:
436
+ * service_class_names:
437
+ * - google.pubsub.v1.Publisher: TopicAdmin
438
+ * - google.pubsub.v1.Subscriber: SubscriptionAdmin
439
+ *
440
+ * @generated from field: map<string, string> service_class_names = 2;
441
+ */
442
+ serviceClassNames: {
443
+ [key: string]: string;
444
+ };
445
+ /**
446
+ * Some settings.
447
+ *
448
+ * @generated from field: google.api.CommonLanguageSettings common = 3;
449
+ */
450
+ common?: CommonLanguageSettings;
451
+ };
452
+ /**
453
+ * Settings for Java client libraries.
454
+ *
455
+ * @generated from message google.api.JavaSettings
456
+ */
457
+ export type JavaSettingsJson = {
458
+ /**
459
+ * The package name to use in Java. Clobbers the java_package option
460
+ * set in the protobuf. This should be used **only** by APIs
461
+ * who have already set the language_settings.java.package_name" field
462
+ * in gapic.yaml. API teams should use the protobuf java_package option
463
+ * where possible.
464
+ *
465
+ * Example of a YAML configuration::
466
+ *
467
+ * publishing:
468
+ * java_settings:
469
+ * library_package: com.google.cloud.pubsub.v1
470
+ *
471
+ * @generated from field: string library_package = 1;
472
+ */
473
+ libraryPackage?: string;
474
+ /**
475
+ * Configure the Java class name to use instead of the service's for its
476
+ * corresponding generated GAPIC client. Keys are fully-qualified
477
+ * service names as they appear in the protobuf (including the full
478
+ * the language_settings.java.interface_names" field in gapic.yaml. API
479
+ * teams should otherwise use the service name as it appears in the
480
+ * protobuf.
481
+ *
482
+ * Example of a YAML configuration::
483
+ *
484
+ * publishing:
485
+ * java_settings:
486
+ * service_class_names:
487
+ * - google.pubsub.v1.Publisher: TopicAdmin
488
+ * - google.pubsub.v1.Subscriber: SubscriptionAdmin
489
+ *
490
+ * @generated from field: map<string, string> service_class_names = 2;
491
+ */
492
+ serviceClassNames?: {
493
+ [key: string]: string;
494
+ };
495
+ /**
496
+ * Some settings.
497
+ *
498
+ * @generated from field: google.api.CommonLanguageSettings common = 3;
499
+ */
500
+ common?: CommonLanguageSettingsJson;
501
+ };
502
+ /**
503
+ * Describes the message google.api.JavaSettings.
504
+ * Use `create(JavaSettingsSchema)` to create a new message.
505
+ */
506
+ export declare const JavaSettingsSchema: GenMessage<JavaSettings, JavaSettingsJson>;
507
+ /**
508
+ * Settings for C++ client libraries.
509
+ *
510
+ * @generated from message google.api.CppSettings
511
+ */
512
+ export type CppSettings = Message<"google.api.CppSettings"> & {
513
+ /**
514
+ * Some settings.
515
+ *
516
+ * @generated from field: google.api.CommonLanguageSettings common = 1;
517
+ */
518
+ common?: CommonLanguageSettings;
519
+ };
520
+ /**
521
+ * Settings for C++ client libraries.
522
+ *
523
+ * @generated from message google.api.CppSettings
524
+ */
525
+ export type CppSettingsJson = {
526
+ /**
527
+ * Some settings.
528
+ *
529
+ * @generated from field: google.api.CommonLanguageSettings common = 1;
530
+ */
531
+ common?: CommonLanguageSettingsJson;
532
+ };
533
+ /**
534
+ * Describes the message google.api.CppSettings.
535
+ * Use `create(CppSettingsSchema)` to create a new message.
536
+ */
537
+ export declare const CppSettingsSchema: GenMessage<CppSettings, CppSettingsJson>;
538
+ /**
539
+ * Settings for Php client libraries.
540
+ *
541
+ * @generated from message google.api.PhpSettings
542
+ */
543
+ export type PhpSettings = Message<"google.api.PhpSettings"> & {
544
+ /**
545
+ * Some settings.
546
+ *
547
+ * @generated from field: google.api.CommonLanguageSettings common = 1;
548
+ */
549
+ common?: CommonLanguageSettings;
550
+ };
551
+ /**
552
+ * Settings for Php client libraries.
553
+ *
554
+ * @generated from message google.api.PhpSettings
555
+ */
556
+ export type PhpSettingsJson = {
557
+ /**
558
+ * Some settings.
559
+ *
560
+ * @generated from field: google.api.CommonLanguageSettings common = 1;
561
+ */
562
+ common?: CommonLanguageSettingsJson;
563
+ };
564
+ /**
565
+ * Describes the message google.api.PhpSettings.
566
+ * Use `create(PhpSettingsSchema)` to create a new message.
567
+ */
568
+ export declare const PhpSettingsSchema: GenMessage<PhpSettings, PhpSettingsJson>;
569
+ /**
570
+ * Settings for Python client libraries.
571
+ *
572
+ * @generated from message google.api.PythonSettings
573
+ */
574
+ export type PythonSettings = Message<"google.api.PythonSettings"> & {
575
+ /**
576
+ * Some settings.
577
+ *
578
+ * @generated from field: google.api.CommonLanguageSettings common = 1;
579
+ */
580
+ common?: CommonLanguageSettings;
581
+ /**
582
+ * Experimental features to be included during client library generation.
583
+ *
584
+ * @generated from field: google.api.PythonSettings.ExperimentalFeatures experimental_features = 2;
585
+ */
586
+ experimentalFeatures?: PythonSettings_ExperimentalFeatures;
587
+ };
588
+ /**
589
+ * Settings for Python client libraries.
590
+ *
591
+ * @generated from message google.api.PythonSettings
592
+ */
593
+ export type PythonSettingsJson = {
594
+ /**
595
+ * Some settings.
596
+ *
597
+ * @generated from field: google.api.CommonLanguageSettings common = 1;
598
+ */
599
+ common?: CommonLanguageSettingsJson;
600
+ /**
601
+ * Experimental features to be included during client library generation.
602
+ *
603
+ * @generated from field: google.api.PythonSettings.ExperimentalFeatures experimental_features = 2;
604
+ */
605
+ experimentalFeatures?: PythonSettings_ExperimentalFeaturesJson;
606
+ };
607
+ /**
608
+ * Describes the message google.api.PythonSettings.
609
+ * Use `create(PythonSettingsSchema)` to create a new message.
610
+ */
611
+ export declare const PythonSettingsSchema: GenMessage<PythonSettings, PythonSettingsJson>;
612
+ /**
613
+ * Experimental features to be included during client library generation.
614
+ * These fields will be deprecated once the feature graduates and is enabled
615
+ * by default.
616
+ *
617
+ * @generated from message google.api.PythonSettings.ExperimentalFeatures
618
+ */
619
+ export type PythonSettings_ExperimentalFeatures = Message<"google.api.PythonSettings.ExperimentalFeatures"> & {
620
+ /**
621
+ * Enables generation of asynchronous REST clients if `rest` transport is
622
+ * enabled. By default, asynchronous REST clients will not be generated.
623
+ * This feature will be enabled by default 1 month after launching the
624
+ * feature in preview packages.
625
+ *
626
+ * @generated from field: bool rest_async_io_enabled = 1;
627
+ */
628
+ restAsyncIoEnabled: boolean;
629
+ /**
630
+ * Enables generation of protobuf code using new types that are more
631
+ * Pythonic which are included in `protobuf>=5.29.x`. This feature will be
632
+ * enabled by default 1 month after launching the feature in preview
633
+ * packages.
634
+ *
635
+ * @generated from field: bool protobuf_pythonic_types_enabled = 2;
636
+ */
637
+ protobufPythonicTypesEnabled: boolean;
638
+ /**
639
+ * Disables generation of an unversioned Python package for this client
640
+ * library. This means that the module names will need to be versioned in
641
+ * import statements. For example `import google.cloud.library_v2` instead
642
+ * of `import google.cloud.library`.
643
+ *
644
+ * @generated from field: bool unversioned_package_disabled = 3;
645
+ */
646
+ unversionedPackageDisabled: boolean;
647
+ };
648
+ /**
649
+ * Experimental features to be included during client library generation.
650
+ * These fields will be deprecated once the feature graduates and is enabled
651
+ * by default.
652
+ *
653
+ * @generated from message google.api.PythonSettings.ExperimentalFeatures
654
+ */
655
+ export type PythonSettings_ExperimentalFeaturesJson = {
656
+ /**
657
+ * Enables generation of asynchronous REST clients if `rest` transport is
658
+ * enabled. By default, asynchronous REST clients will not be generated.
659
+ * This feature will be enabled by default 1 month after launching the
660
+ * feature in preview packages.
661
+ *
662
+ * @generated from field: bool rest_async_io_enabled = 1;
663
+ */
664
+ restAsyncIoEnabled?: boolean;
665
+ /**
666
+ * Enables generation of protobuf code using new types that are more
667
+ * Pythonic which are included in `protobuf>=5.29.x`. This feature will be
668
+ * enabled by default 1 month after launching the feature in preview
669
+ * packages.
670
+ *
671
+ * @generated from field: bool protobuf_pythonic_types_enabled = 2;
672
+ */
673
+ protobufPythonicTypesEnabled?: boolean;
674
+ /**
675
+ * Disables generation of an unversioned Python package for this client
676
+ * library. This means that the module names will need to be versioned in
677
+ * import statements. For example `import google.cloud.library_v2` instead
678
+ * of `import google.cloud.library`.
679
+ *
680
+ * @generated from field: bool unversioned_package_disabled = 3;
681
+ */
682
+ unversionedPackageDisabled?: boolean;
683
+ };
684
+ /**
685
+ * Describes the message google.api.PythonSettings.ExperimentalFeatures.
686
+ * Use `create(PythonSettings_ExperimentalFeaturesSchema)` to create a new message.
687
+ */
688
+ export declare const PythonSettings_ExperimentalFeaturesSchema: GenMessage<PythonSettings_ExperimentalFeatures, PythonSettings_ExperimentalFeaturesJson>;
689
+ /**
690
+ * Settings for Node client libraries.
691
+ *
692
+ * @generated from message google.api.NodeSettings
693
+ */
694
+ export type NodeSettings = Message<"google.api.NodeSettings"> & {
695
+ /**
696
+ * Some settings.
697
+ *
698
+ * @generated from field: google.api.CommonLanguageSettings common = 1;
699
+ */
700
+ common?: CommonLanguageSettings;
701
+ };
702
+ /**
703
+ * Settings for Node client libraries.
704
+ *
705
+ * @generated from message google.api.NodeSettings
706
+ */
707
+ export type NodeSettingsJson = {
708
+ /**
709
+ * Some settings.
710
+ *
711
+ * @generated from field: google.api.CommonLanguageSettings common = 1;
712
+ */
713
+ common?: CommonLanguageSettingsJson;
714
+ };
715
+ /**
716
+ * Describes the message google.api.NodeSettings.
717
+ * Use `create(NodeSettingsSchema)` to create a new message.
718
+ */
719
+ export declare const NodeSettingsSchema: GenMessage<NodeSettings, NodeSettingsJson>;
720
+ /**
721
+ * Settings for Dotnet client libraries.
722
+ *
723
+ * @generated from message google.api.DotnetSettings
724
+ */
725
+ export type DotnetSettings = Message<"google.api.DotnetSettings"> & {
726
+ /**
727
+ * Some settings.
728
+ *
729
+ * @generated from field: google.api.CommonLanguageSettings common = 1;
730
+ */
731
+ common?: CommonLanguageSettings;
732
+ /**
733
+ * Map from original service names to renamed versions.
734
+ * This is used when the default generated types
735
+ * would cause a naming conflict. (Neither name is
736
+ * fully-qualified.)
737
+ * Example: Subscriber to SubscriberServiceApi.
738
+ *
739
+ * @generated from field: map<string, string> renamed_services = 2;
740
+ */
741
+ renamedServices: {
742
+ [key: string]: string;
743
+ };
744
+ /**
745
+ * Map from full resource types to the effective short name
746
+ * for the resource. This is used when otherwise resource
747
+ * named from different services would cause naming collisions.
748
+ * Example entry:
749
+ * "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
750
+ *
751
+ * @generated from field: map<string, string> renamed_resources = 3;
752
+ */
753
+ renamedResources: {
754
+ [key: string]: string;
755
+ };
756
+ /**
757
+ * List of full resource types to ignore during generation.
758
+ * This is typically used for API-specific Location resources,
759
+ * which should be handled by the generator as if they were actually
760
+ * the common Location resources.
761
+ * Example entry: "documentai.googleapis.com/Location"
762
+ *
763
+ * @generated from field: repeated string ignored_resources = 4;
764
+ */
765
+ ignoredResources: string[];
766
+ /**
767
+ * Namespaces which must be aliased in snippets due to
768
+ * a known (but non-generator-predictable) naming collision
769
+ *
770
+ * @generated from field: repeated string forced_namespace_aliases = 5;
771
+ */
772
+ forcedNamespaceAliases: string[];
773
+ /**
774
+ * Method signatures (in the form "service.method(signature)")
775
+ * which are provided separately, so shouldn't be generated.
776
+ * Snippets *calling* these methods are still generated, however.
777
+ *
778
+ * @generated from field: repeated string handwritten_signatures = 6;
779
+ */
780
+ handwrittenSignatures: string[];
781
+ };
782
+ /**
783
+ * Settings for Dotnet client libraries.
784
+ *
785
+ * @generated from message google.api.DotnetSettings
786
+ */
787
+ export type DotnetSettingsJson = {
788
+ /**
789
+ * Some settings.
790
+ *
791
+ * @generated from field: google.api.CommonLanguageSettings common = 1;
792
+ */
793
+ common?: CommonLanguageSettingsJson;
794
+ /**
795
+ * Map from original service names to renamed versions.
796
+ * This is used when the default generated types
797
+ * would cause a naming conflict. (Neither name is
798
+ * fully-qualified.)
799
+ * Example: Subscriber to SubscriberServiceApi.
800
+ *
801
+ * @generated from field: map<string, string> renamed_services = 2;
802
+ */
803
+ renamedServices?: {
804
+ [key: string]: string;
805
+ };
806
+ /**
807
+ * Map from full resource types to the effective short name
808
+ * for the resource. This is used when otherwise resource
809
+ * named from different services would cause naming collisions.
810
+ * Example entry:
811
+ * "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
812
+ *
813
+ * @generated from field: map<string, string> renamed_resources = 3;
814
+ */
815
+ renamedResources?: {
816
+ [key: string]: string;
817
+ };
818
+ /**
819
+ * List of full resource types to ignore during generation.
820
+ * This is typically used for API-specific Location resources,
821
+ * which should be handled by the generator as if they were actually
822
+ * the common Location resources.
823
+ * Example entry: "documentai.googleapis.com/Location"
824
+ *
825
+ * @generated from field: repeated string ignored_resources = 4;
826
+ */
827
+ ignoredResources?: string[];
828
+ /**
829
+ * Namespaces which must be aliased in snippets due to
830
+ * a known (but non-generator-predictable) naming collision
831
+ *
832
+ * @generated from field: repeated string forced_namespace_aliases = 5;
833
+ */
834
+ forcedNamespaceAliases?: string[];
835
+ /**
836
+ * Method signatures (in the form "service.method(signature)")
837
+ * which are provided separately, so shouldn't be generated.
838
+ * Snippets *calling* these methods are still generated, however.
839
+ *
840
+ * @generated from field: repeated string handwritten_signatures = 6;
841
+ */
842
+ handwrittenSignatures?: string[];
843
+ };
844
+ /**
845
+ * Describes the message google.api.DotnetSettings.
846
+ * Use `create(DotnetSettingsSchema)` to create a new message.
847
+ */
848
+ export declare const DotnetSettingsSchema: GenMessage<DotnetSettings, DotnetSettingsJson>;
849
+ /**
850
+ * Settings for Ruby client libraries.
851
+ *
852
+ * @generated from message google.api.RubySettings
853
+ */
854
+ export type RubySettings = Message<"google.api.RubySettings"> & {
855
+ /**
856
+ * Some settings.
857
+ *
858
+ * @generated from field: google.api.CommonLanguageSettings common = 1;
859
+ */
860
+ common?: CommonLanguageSettings;
861
+ };
862
+ /**
863
+ * Settings for Ruby client libraries.
864
+ *
865
+ * @generated from message google.api.RubySettings
866
+ */
867
+ export type RubySettingsJson = {
868
+ /**
869
+ * Some settings.
870
+ *
871
+ * @generated from field: google.api.CommonLanguageSettings common = 1;
872
+ */
873
+ common?: CommonLanguageSettingsJson;
874
+ };
875
+ /**
876
+ * Describes the message google.api.RubySettings.
877
+ * Use `create(RubySettingsSchema)` to create a new message.
878
+ */
879
+ export declare const RubySettingsSchema: GenMessage<RubySettings, RubySettingsJson>;
880
+ /**
881
+ * Settings for Go client libraries.
882
+ *
883
+ * @generated from message google.api.GoSettings
884
+ */
885
+ export type GoSettings = Message<"google.api.GoSettings"> & {
886
+ /**
887
+ * Some settings.
888
+ *
889
+ * @generated from field: google.api.CommonLanguageSettings common = 1;
890
+ */
891
+ common?: CommonLanguageSettings;
892
+ /**
893
+ * Map of service names to renamed services. Keys are the package relative
894
+ * service names and values are the name to be used for the service client
895
+ * and call options.
896
+ *
897
+ * publishing:
898
+ * go_settings:
899
+ * renamed_services:
900
+ * Publisher: TopicAdmin
901
+ *
902
+ * @generated from field: map<string, string> renamed_services = 2;
903
+ */
904
+ renamedServices: {
905
+ [key: string]: string;
906
+ };
907
+ };
908
+ /**
909
+ * Settings for Go client libraries.
910
+ *
911
+ * @generated from message google.api.GoSettings
912
+ */
913
+ export type GoSettingsJson = {
914
+ /**
915
+ * Some settings.
916
+ *
917
+ * @generated from field: google.api.CommonLanguageSettings common = 1;
918
+ */
919
+ common?: CommonLanguageSettingsJson;
920
+ /**
921
+ * Map of service names to renamed services. Keys are the package relative
922
+ * service names and values are the name to be used for the service client
923
+ * and call options.
924
+ *
925
+ * publishing:
926
+ * go_settings:
927
+ * renamed_services:
928
+ * Publisher: TopicAdmin
929
+ *
930
+ * @generated from field: map<string, string> renamed_services = 2;
931
+ */
932
+ renamedServices?: {
933
+ [key: string]: string;
934
+ };
935
+ };
936
+ /**
937
+ * Describes the message google.api.GoSettings.
938
+ * Use `create(GoSettingsSchema)` to create a new message.
939
+ */
940
+ export declare const GoSettingsSchema: GenMessage<GoSettings, GoSettingsJson>;
941
+ /**
942
+ * Describes the generator configuration for a method.
943
+ *
944
+ * @generated from message google.api.MethodSettings
945
+ */
946
+ export type MethodSettings = Message<"google.api.MethodSettings"> & {
947
+ /**
948
+ * The fully qualified name of the method, for which the options below apply.
949
+ * This is used to find the method to apply the options.
950
+ *
951
+ * Example:
952
+ *
953
+ * publishing:
954
+ * method_settings:
955
+ * - selector: google.storage.control.v2.StorageControl.CreateFolder
956
+ * # method settings for CreateFolder...
957
+ *
958
+ * @generated from field: string selector = 1;
959
+ */
960
+ selector: string;
961
+ /**
962
+ * Describes settings to use for long-running operations when generating
963
+ * API methods for RPCs. Complements RPCs that use the annotations in
964
+ * google/longrunning/operations.proto.
965
+ *
966
+ * Example of a YAML configuration::
967
+ *
968
+ * publishing:
969
+ * method_settings:
970
+ * - selector: google.cloud.speech.v2.Speech.BatchRecognize
971
+ * long_running:
972
+ * initial_poll_delay: 60s # 1 minute
973
+ * poll_delay_multiplier: 1.5
974
+ * max_poll_delay: 360s # 6 minutes
975
+ * total_poll_timeout: 54000s # 90 minutes
976
+ *
977
+ * @generated from field: google.api.MethodSettings.LongRunning long_running = 2;
978
+ */
979
+ longRunning?: MethodSettings_LongRunning;
980
+ /**
981
+ * List of top-level fields of the request message, that should be
982
+ * automatically populated by the client libraries based on their
983
+ * (google.api.field_info).format. Currently supported format: UUID4.
984
+ *
985
+ * Example of a YAML configuration:
986
+ *
987
+ * publishing:
988
+ * method_settings:
989
+ * - selector: google.example.v1.ExampleService.CreateExample
990
+ * auto_populated_fields:
991
+ * - request_id
992
+ *
993
+ * @generated from field: repeated string auto_populated_fields = 3;
994
+ */
995
+ autoPopulatedFields: string[];
996
+ };
997
+ /**
998
+ * Describes the generator configuration for a method.
999
+ *
1000
+ * @generated from message google.api.MethodSettings
1001
+ */
1002
+ export type MethodSettingsJson = {
1003
+ /**
1004
+ * The fully qualified name of the method, for which the options below apply.
1005
+ * This is used to find the method to apply the options.
1006
+ *
1007
+ * Example:
1008
+ *
1009
+ * publishing:
1010
+ * method_settings:
1011
+ * - selector: google.storage.control.v2.StorageControl.CreateFolder
1012
+ * # method settings for CreateFolder...
1013
+ *
1014
+ * @generated from field: string selector = 1;
1015
+ */
1016
+ selector?: string;
1017
+ /**
1018
+ * Describes settings to use for long-running operations when generating
1019
+ * API methods for RPCs. Complements RPCs that use the annotations in
1020
+ * google/longrunning/operations.proto.
1021
+ *
1022
+ * Example of a YAML configuration::
1023
+ *
1024
+ * publishing:
1025
+ * method_settings:
1026
+ * - selector: google.cloud.speech.v2.Speech.BatchRecognize
1027
+ * long_running:
1028
+ * initial_poll_delay: 60s # 1 minute
1029
+ * poll_delay_multiplier: 1.5
1030
+ * max_poll_delay: 360s # 6 minutes
1031
+ * total_poll_timeout: 54000s # 90 minutes
1032
+ *
1033
+ * @generated from field: google.api.MethodSettings.LongRunning long_running = 2;
1034
+ */
1035
+ longRunning?: MethodSettings_LongRunningJson;
1036
+ /**
1037
+ * List of top-level fields of the request message, that should be
1038
+ * automatically populated by the client libraries based on their
1039
+ * (google.api.field_info).format. Currently supported format: UUID4.
1040
+ *
1041
+ * Example of a YAML configuration:
1042
+ *
1043
+ * publishing:
1044
+ * method_settings:
1045
+ * - selector: google.example.v1.ExampleService.CreateExample
1046
+ * auto_populated_fields:
1047
+ * - request_id
1048
+ *
1049
+ * @generated from field: repeated string auto_populated_fields = 3;
1050
+ */
1051
+ autoPopulatedFields?: string[];
1052
+ };
1053
+ /**
1054
+ * Describes the message google.api.MethodSettings.
1055
+ * Use `create(MethodSettingsSchema)` to create a new message.
1056
+ */
1057
+ export declare const MethodSettingsSchema: GenMessage<MethodSettings, MethodSettingsJson>;
1058
+ /**
1059
+ * Describes settings to use when generating API methods that use the
1060
+ * long-running operation pattern.
1061
+ * All default values below are from those used in the client library
1062
+ * generators (e.g.
1063
+ * [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).
1064
+ *
1065
+ * @generated from message google.api.MethodSettings.LongRunning
1066
+ */
1067
+ export type MethodSettings_LongRunning = Message<"google.api.MethodSettings.LongRunning"> & {
1068
+ /**
1069
+ * Initial delay after which the first poll request will be made.
1070
+ * Default value: 5 seconds.
1071
+ *
1072
+ * @generated from field: google.protobuf.Duration initial_poll_delay = 1;
1073
+ */
1074
+ initialPollDelay?: Duration;
1075
+ /**
1076
+ * Multiplier to gradually increase delay between subsequent polls until it
1077
+ * reaches max_poll_delay.
1078
+ * Default value: 1.5.
1079
+ *
1080
+ * @generated from field: float poll_delay_multiplier = 2;
1081
+ */
1082
+ pollDelayMultiplier: number;
1083
+ /**
1084
+ * Maximum time between two subsequent poll requests.
1085
+ * Default value: 45 seconds.
1086
+ *
1087
+ * @generated from field: google.protobuf.Duration max_poll_delay = 3;
1088
+ */
1089
+ maxPollDelay?: Duration;
1090
+ /**
1091
+ * Total polling timeout.
1092
+ * Default value: 5 minutes.
1093
+ *
1094
+ * @generated from field: google.protobuf.Duration total_poll_timeout = 4;
1095
+ */
1096
+ totalPollTimeout?: Duration;
1097
+ };
1098
+ /**
1099
+ * Describes settings to use when generating API methods that use the
1100
+ * long-running operation pattern.
1101
+ * All default values below are from those used in the client library
1102
+ * generators (e.g.
1103
+ * [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).
1104
+ *
1105
+ * @generated from message google.api.MethodSettings.LongRunning
1106
+ */
1107
+ export type MethodSettings_LongRunningJson = {
1108
+ /**
1109
+ * Initial delay after which the first poll request will be made.
1110
+ * Default value: 5 seconds.
1111
+ *
1112
+ * @generated from field: google.protobuf.Duration initial_poll_delay = 1;
1113
+ */
1114
+ initialPollDelay?: DurationJson;
1115
+ /**
1116
+ * Multiplier to gradually increase delay between subsequent polls until it
1117
+ * reaches max_poll_delay.
1118
+ * Default value: 1.5.
1119
+ *
1120
+ * @generated from field: float poll_delay_multiplier = 2;
1121
+ */
1122
+ pollDelayMultiplier?: number | "NaN" | "Infinity" | "-Infinity";
1123
+ /**
1124
+ * Maximum time between two subsequent poll requests.
1125
+ * Default value: 45 seconds.
1126
+ *
1127
+ * @generated from field: google.protobuf.Duration max_poll_delay = 3;
1128
+ */
1129
+ maxPollDelay?: DurationJson;
1130
+ /**
1131
+ * Total polling timeout.
1132
+ * Default value: 5 minutes.
1133
+ *
1134
+ * @generated from field: google.protobuf.Duration total_poll_timeout = 4;
1135
+ */
1136
+ totalPollTimeout?: DurationJson;
1137
+ };
1138
+ /**
1139
+ * Describes the message google.api.MethodSettings.LongRunning.
1140
+ * Use `create(MethodSettings_LongRunningSchema)` to create a new message.
1141
+ */
1142
+ export declare const MethodSettings_LongRunningSchema: GenMessage<MethodSettings_LongRunning, MethodSettings_LongRunningJson>;
1143
+ /**
1144
+ * This message is used to configure the generation of a subset of the RPCs in
1145
+ * a service for client libraries.
1146
+ *
1147
+ * @generated from message google.api.SelectiveGapicGeneration
1148
+ */
1149
+ export type SelectiveGapicGeneration = Message<"google.api.SelectiveGapicGeneration"> & {
1150
+ /**
1151
+ * An allowlist of the fully qualified names of RPCs that should be included
1152
+ * on public client surfaces.
1153
+ *
1154
+ * @generated from field: repeated string methods = 1;
1155
+ */
1156
+ methods: string[];
1157
+ /**
1158
+ * Setting this to true indicates to the client generators that methods
1159
+ * that would be excluded from the generation should instead be generated
1160
+ * in a way that indicates these methods should not be consumed by
1161
+ * end users. How this is expressed is up to individual language
1162
+ * implementations to decide. Some examples may be: added annotations,
1163
+ * obfuscated identifiers, or other language idiomatic patterns.
1164
+ *
1165
+ * @generated from field: bool generate_omitted_as_internal = 2;
1166
+ */
1167
+ generateOmittedAsInternal: boolean;
1168
+ };
1169
+ /**
1170
+ * This message is used to configure the generation of a subset of the RPCs in
1171
+ * a service for client libraries.
1172
+ *
1173
+ * @generated from message google.api.SelectiveGapicGeneration
1174
+ */
1175
+ export type SelectiveGapicGenerationJson = {
1176
+ /**
1177
+ * An allowlist of the fully qualified names of RPCs that should be included
1178
+ * on public client surfaces.
1179
+ *
1180
+ * @generated from field: repeated string methods = 1;
1181
+ */
1182
+ methods?: string[];
1183
+ /**
1184
+ * Setting this to true indicates to the client generators that methods
1185
+ * that would be excluded from the generation should instead be generated
1186
+ * in a way that indicates these methods should not be consumed by
1187
+ * end users. How this is expressed is up to individual language
1188
+ * implementations to decide. Some examples may be: added annotations,
1189
+ * obfuscated identifiers, or other language idiomatic patterns.
1190
+ *
1191
+ * @generated from field: bool generate_omitted_as_internal = 2;
1192
+ */
1193
+ generateOmittedAsInternal?: boolean;
1194
+ };
1195
+ /**
1196
+ * Describes the message google.api.SelectiveGapicGeneration.
1197
+ * Use `create(SelectiveGapicGenerationSchema)` to create a new message.
1198
+ */
1199
+ export declare const SelectiveGapicGenerationSchema: GenMessage<SelectiveGapicGeneration, SelectiveGapicGenerationJson>;
1200
+ /**
1201
+ * The organization for which the client libraries are being published.
1202
+ * Affects the url where generated docs are published, etc.
1203
+ *
1204
+ * @generated from enum google.api.ClientLibraryOrganization
1205
+ */
1206
+ export declare enum ClientLibraryOrganization {
1207
+ /**
1208
+ * Not useful.
1209
+ *
1210
+ * @generated from enum value: CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0;
1211
+ */
1212
+ CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0,
1213
+ /**
1214
+ * Google Cloud Platform Org.
1215
+ *
1216
+ * @generated from enum value: CLOUD = 1;
1217
+ */
1218
+ CLOUD = 1,
1219
+ /**
1220
+ * Ads (Advertising) Org.
1221
+ *
1222
+ * @generated from enum value: ADS = 2;
1223
+ */
1224
+ ADS = 2,
1225
+ /**
1226
+ * Photos Org.
1227
+ *
1228
+ * @generated from enum value: PHOTOS = 3;
1229
+ */
1230
+ PHOTOS = 3,
1231
+ /**
1232
+ * Street View Org.
1233
+ *
1234
+ * @generated from enum value: STREET_VIEW = 4;
1235
+ */
1236
+ STREET_VIEW = 4,
1237
+ /**
1238
+ * Shopping Org.
1239
+ *
1240
+ * @generated from enum value: SHOPPING = 5;
1241
+ */
1242
+ SHOPPING = 5,
1243
+ /**
1244
+ * Geo Org.
1245
+ *
1246
+ * @generated from enum value: GEO = 6;
1247
+ */
1248
+ GEO = 6,
1249
+ /**
1250
+ * Generative AI - https://developers.generativeai.google
1251
+ *
1252
+ * @generated from enum value: GENERATIVE_AI = 7;
1253
+ */
1254
+ GENERATIVE_AI = 7
1255
+ }
1256
+ /**
1257
+ * The organization for which the client libraries are being published.
1258
+ * Affects the url where generated docs are published, etc.
1259
+ *
1260
+ * @generated from enum google.api.ClientLibraryOrganization
1261
+ */
1262
+ export type ClientLibraryOrganizationJson = "CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED" | "CLOUD" | "ADS" | "PHOTOS" | "STREET_VIEW" | "SHOPPING" | "GEO" | "GENERATIVE_AI";
1263
+ /**
1264
+ * Describes the enum google.api.ClientLibraryOrganization.
1265
+ */
1266
+ export declare const ClientLibraryOrganizationSchema: GenEnum<ClientLibraryOrganization, ClientLibraryOrganizationJson>;
1267
+ /**
1268
+ * To where should client libraries be published?
1269
+ *
1270
+ * @generated from enum google.api.ClientLibraryDestination
1271
+ */
1272
+ export declare enum ClientLibraryDestination {
1273
+ /**
1274
+ * Client libraries will neither be generated nor published to package
1275
+ * managers.
1276
+ *
1277
+ * @generated from enum value: CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0;
1278
+ */
1279
+ CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0,
1280
+ /**
1281
+ * Generate the client library in a repo under github.com/googleapis,
1282
+ * but don't publish it to package managers.
1283
+ *
1284
+ * @generated from enum value: GITHUB = 10;
1285
+ */
1286
+ GITHUB = 10,
1287
+ /**
1288
+ * Publish the library to package managers like nuget.org and npmjs.com.
1289
+ *
1290
+ * @generated from enum value: PACKAGE_MANAGER = 20;
1291
+ */
1292
+ PACKAGE_MANAGER = 20
1293
+ }
1294
+ /**
1295
+ * To where should client libraries be published?
1296
+ *
1297
+ * @generated from enum google.api.ClientLibraryDestination
1298
+ */
1299
+ export type ClientLibraryDestinationJson = "CLIENT_LIBRARY_DESTINATION_UNSPECIFIED" | "GITHUB" | "PACKAGE_MANAGER";
1300
+ /**
1301
+ * Describes the enum google.api.ClientLibraryDestination.
1302
+ */
1303
+ export declare const ClientLibraryDestinationSchema: GenEnum<ClientLibraryDestination, ClientLibraryDestinationJson>;
1304
+ /**
1305
+ * A definition of a client library method signature.
1306
+ *
1307
+ * In client libraries, each proto RPC corresponds to one or more methods
1308
+ * which the end user is able to call, and calls the underlying RPC.
1309
+ * Normally, this method receives a single argument (a struct or instance
1310
+ * corresponding to the RPC request object). Defining this field will
1311
+ * add one or more overloads providing flattened or simpler method signatures
1312
+ * in some languages.
1313
+ *
1314
+ * The fields on the method signature are provided as a comma-separated
1315
+ * string.
1316
+ *
1317
+ * For example, the proto RPC and annotation:
1318
+ *
1319
+ * rpc CreateSubscription(CreateSubscriptionRequest)
1320
+ * returns (Subscription) {
1321
+ * option (google.api.method_signature) = "name,topic";
1322
+ * }
1323
+ *
1324
+ * Would add the following Java overload (in addition to the method accepting
1325
+ * the request object):
1326
+ *
1327
+ * public final Subscription createSubscription(String name, String topic)
1328
+ *
1329
+ * The following backwards-compatibility guidelines apply:
1330
+ *
1331
+ * * Adding this annotation to an unannotated method is backwards
1332
+ * compatible.
1333
+ * * Adding this annotation to a method which already has existing
1334
+ * method signature annotations is backwards compatible if and only if
1335
+ * the new method signature annotation is last in the sequence.
1336
+ * * Modifying or removing an existing method signature annotation is
1337
+ * a breaking change.
1338
+ * * Re-ordering existing method signature annotations is a breaking
1339
+ * change.
1340
+ *
1341
+ * @generated from extension: repeated string method_signature = 1051;
1342
+ */
1343
+ export declare const method_signature: GenExtension<MethodOptions, string[]>;
1344
+ /**
1345
+ * The hostname for this service.
1346
+ * This should be specified with no prefix or protocol.
1347
+ *
1348
+ * Example:
1349
+ *
1350
+ * service Foo {
1351
+ * option (google.api.default_host) = "foo.googleapi.com";
1352
+ * ...
1353
+ * }
1354
+ *
1355
+ * @generated from extension: string default_host = 1049;
1356
+ */
1357
+ export declare const default_host: GenExtension<ServiceOptions, string>;
1358
+ /**
1359
+ * OAuth scopes needed for the client.
1360
+ *
1361
+ * Example:
1362
+ *
1363
+ * service Foo {
1364
+ * option (google.api.oauth_scopes) = \
1365
+ * "https://www.googleapis.com/auth/cloud-platform";
1366
+ * ...
1367
+ * }
1368
+ *
1369
+ * If there is more than one scope, use a comma-separated string:
1370
+ *
1371
+ * Example:
1372
+ *
1373
+ * service Foo {
1374
+ * option (google.api.oauth_scopes) = \
1375
+ * "https://www.googleapis.com/auth/cloud-platform,"
1376
+ * "https://www.googleapis.com/auth/monitoring";
1377
+ * ...
1378
+ * }
1379
+ *
1380
+ * @generated from extension: string oauth_scopes = 1050;
1381
+ */
1382
+ export declare const oauth_scopes: GenExtension<ServiceOptions, string>;
1383
+ /**
1384
+ * The API version of this service, which should be sent by version-aware
1385
+ * clients to the service. This allows services to abide by the schema and
1386
+ * behavior of the service at the time this API version was deployed.
1387
+ * The format of the API version must be treated as opaque by clients.
1388
+ * Services may use a format with an apparent structure, but clients must
1389
+ * not rely on this to determine components within an API version, or attempt
1390
+ * to construct other valid API versions. Note that this is for upcoming
1391
+ * functionality and may not be implemented for all services.
1392
+ *
1393
+ * Example:
1394
+ *
1395
+ * service Foo {
1396
+ * option (google.api.api_version) = "v1_20230821_preview";
1397
+ * }
1398
+ *
1399
+ * @generated from extension: string api_version = 525000001;
1400
+ */
1401
+ export declare const api_version: GenExtension<ServiceOptions, string>;
1402
+ //# sourceMappingURL=client_pb.d.ts.map