google_cloud_dataplex_v1/
stub.rs

1// Copyright 2025 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     https://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15// Code generated by sidekick. DO NOT EDIT.
16
17//! Traits to mock the clients in this library.
18//!
19//! Application developers may need to mock the clients in this library to test
20//! how their application works with different (and sometimes hard to trigger)
21//! client and service behavior. Such test can define mocks implementing the
22//! trait(s) defined in this module, initialize the client with an instance of
23//! this mock in their tests, and verify their application responds as expected.
24
25#![allow(rustdoc::broken_intra_doc_links)]
26
27pub(crate) mod dynamic;
28
29/// Defines the trait used to implement [super::client::BusinessGlossaryService].
30///
31/// Application developers may need to implement this trait to mock
32/// `client::BusinessGlossaryService`.  In other use-cases, application developers only
33/// use `client::BusinessGlossaryService` and need not be concerned with this trait or
34/// its implementations.
35///
36/// Services gain new RPCs routinely. Consequently, this trait gains new methods
37/// too. To avoid breaking applications the trait provides a default
38/// implementation of each method. Most of these implementations just return an
39/// error.
40pub trait BusinessGlossaryService: std::fmt::Debug + Send + Sync {
41    /// Implements [super::client::BusinessGlossaryService::create_glossary].
42    fn create_glossary(
43        &self,
44        _req: crate::model::CreateGlossaryRequest,
45        _options: gax::options::RequestOptions,
46    ) -> impl std::future::Future<
47        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
48    > + Send {
49        gaxi::unimplemented::unimplemented_stub()
50    }
51
52    /// Implements [super::client::BusinessGlossaryService::update_glossary].
53    fn update_glossary(
54        &self,
55        _req: crate::model::UpdateGlossaryRequest,
56        _options: gax::options::RequestOptions,
57    ) -> impl std::future::Future<
58        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
59    > + Send {
60        gaxi::unimplemented::unimplemented_stub()
61    }
62
63    /// Implements [super::client::BusinessGlossaryService::delete_glossary].
64    fn delete_glossary(
65        &self,
66        _req: crate::model::DeleteGlossaryRequest,
67        _options: gax::options::RequestOptions,
68    ) -> impl std::future::Future<
69        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
70    > + Send {
71        gaxi::unimplemented::unimplemented_stub()
72    }
73
74    /// Implements [super::client::BusinessGlossaryService::get_glossary].
75    fn get_glossary(
76        &self,
77        _req: crate::model::GetGlossaryRequest,
78        _options: gax::options::RequestOptions,
79    ) -> impl std::future::Future<
80        Output = crate::Result<gax::response::Response<crate::model::Glossary>>,
81    > + Send {
82        gaxi::unimplemented::unimplemented_stub()
83    }
84
85    /// Implements [super::client::BusinessGlossaryService::list_glossaries].
86    fn list_glossaries(
87        &self,
88        _req: crate::model::ListGlossariesRequest,
89        _options: gax::options::RequestOptions,
90    ) -> impl std::future::Future<
91        Output = crate::Result<gax::response::Response<crate::model::ListGlossariesResponse>>,
92    > + Send {
93        gaxi::unimplemented::unimplemented_stub()
94    }
95
96    /// Implements [super::client::BusinessGlossaryService::create_glossary_category].
97    fn create_glossary_category(
98        &self,
99        _req: crate::model::CreateGlossaryCategoryRequest,
100        _options: gax::options::RequestOptions,
101    ) -> impl std::future::Future<
102        Output = crate::Result<gax::response::Response<crate::model::GlossaryCategory>>,
103    > + Send {
104        gaxi::unimplemented::unimplemented_stub()
105    }
106
107    /// Implements [super::client::BusinessGlossaryService::update_glossary_category].
108    fn update_glossary_category(
109        &self,
110        _req: crate::model::UpdateGlossaryCategoryRequest,
111        _options: gax::options::RequestOptions,
112    ) -> impl std::future::Future<
113        Output = crate::Result<gax::response::Response<crate::model::GlossaryCategory>>,
114    > + Send {
115        gaxi::unimplemented::unimplemented_stub()
116    }
117
118    /// Implements [super::client::BusinessGlossaryService::delete_glossary_category].
119    fn delete_glossary_category(
120        &self,
121        _req: crate::model::DeleteGlossaryCategoryRequest,
122        _options: gax::options::RequestOptions,
123    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
124        gaxi::unimplemented::unimplemented_stub()
125    }
126
127    /// Implements [super::client::BusinessGlossaryService::get_glossary_category].
128    fn get_glossary_category(
129        &self,
130        _req: crate::model::GetGlossaryCategoryRequest,
131        _options: gax::options::RequestOptions,
132    ) -> impl std::future::Future<
133        Output = crate::Result<gax::response::Response<crate::model::GlossaryCategory>>,
134    > + Send {
135        gaxi::unimplemented::unimplemented_stub()
136    }
137
138    /// Implements [super::client::BusinessGlossaryService::list_glossary_categories].
139    fn list_glossary_categories(
140        &self,
141        _req: crate::model::ListGlossaryCategoriesRequest,
142        _options: gax::options::RequestOptions,
143    ) -> impl std::future::Future<
144        Output = crate::Result<
145            gax::response::Response<crate::model::ListGlossaryCategoriesResponse>,
146        >,
147    > + Send {
148        gaxi::unimplemented::unimplemented_stub()
149    }
150
151    /// Implements [super::client::BusinessGlossaryService::create_glossary_term].
152    fn create_glossary_term(
153        &self,
154        _req: crate::model::CreateGlossaryTermRequest,
155        _options: gax::options::RequestOptions,
156    ) -> impl std::future::Future<
157        Output = crate::Result<gax::response::Response<crate::model::GlossaryTerm>>,
158    > + Send {
159        gaxi::unimplemented::unimplemented_stub()
160    }
161
162    /// Implements [super::client::BusinessGlossaryService::update_glossary_term].
163    fn update_glossary_term(
164        &self,
165        _req: crate::model::UpdateGlossaryTermRequest,
166        _options: gax::options::RequestOptions,
167    ) -> impl std::future::Future<
168        Output = crate::Result<gax::response::Response<crate::model::GlossaryTerm>>,
169    > + Send {
170        gaxi::unimplemented::unimplemented_stub()
171    }
172
173    /// Implements [super::client::BusinessGlossaryService::delete_glossary_term].
174    fn delete_glossary_term(
175        &self,
176        _req: crate::model::DeleteGlossaryTermRequest,
177        _options: gax::options::RequestOptions,
178    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
179        gaxi::unimplemented::unimplemented_stub()
180    }
181
182    /// Implements [super::client::BusinessGlossaryService::get_glossary_term].
183    fn get_glossary_term(
184        &self,
185        _req: crate::model::GetGlossaryTermRequest,
186        _options: gax::options::RequestOptions,
187    ) -> impl std::future::Future<
188        Output = crate::Result<gax::response::Response<crate::model::GlossaryTerm>>,
189    > + Send {
190        gaxi::unimplemented::unimplemented_stub()
191    }
192
193    /// Implements [super::client::BusinessGlossaryService::list_glossary_terms].
194    fn list_glossary_terms(
195        &self,
196        _req: crate::model::ListGlossaryTermsRequest,
197        _options: gax::options::RequestOptions,
198    ) -> impl std::future::Future<
199        Output = crate::Result<gax::response::Response<crate::model::ListGlossaryTermsResponse>>,
200    > + Send {
201        gaxi::unimplemented::unimplemented_stub()
202    }
203
204    /// Implements [super::client::BusinessGlossaryService::list_locations].
205    fn list_locations(
206        &self,
207        _req: location::model::ListLocationsRequest,
208        _options: gax::options::RequestOptions,
209    ) -> impl std::future::Future<
210        Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
211    > + Send {
212        gaxi::unimplemented::unimplemented_stub()
213    }
214
215    /// Implements [super::client::BusinessGlossaryService::get_location].
216    fn get_location(
217        &self,
218        _req: location::model::GetLocationRequest,
219        _options: gax::options::RequestOptions,
220    ) -> impl std::future::Future<
221        Output = crate::Result<gax::response::Response<location::model::Location>>,
222    > + Send {
223        gaxi::unimplemented::unimplemented_stub()
224    }
225
226    /// Implements [super::client::BusinessGlossaryService::set_iam_policy].
227    fn set_iam_policy(
228        &self,
229        _req: iam_v1::model::SetIamPolicyRequest,
230        _options: gax::options::RequestOptions,
231    ) -> impl std::future::Future<
232        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
233    > + Send {
234        gaxi::unimplemented::unimplemented_stub()
235    }
236
237    /// Implements [super::client::BusinessGlossaryService::get_iam_policy].
238    fn get_iam_policy(
239        &self,
240        _req: iam_v1::model::GetIamPolicyRequest,
241        _options: gax::options::RequestOptions,
242    ) -> impl std::future::Future<
243        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
244    > + Send {
245        gaxi::unimplemented::unimplemented_stub()
246    }
247
248    /// Implements [super::client::BusinessGlossaryService::test_iam_permissions].
249    fn test_iam_permissions(
250        &self,
251        _req: iam_v1::model::TestIamPermissionsRequest,
252        _options: gax::options::RequestOptions,
253    ) -> impl std::future::Future<
254        Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
255    > + Send {
256        gaxi::unimplemented::unimplemented_stub()
257    }
258
259    /// Implements [super::client::BusinessGlossaryService::list_operations].
260    fn list_operations(
261        &self,
262        _req: longrunning::model::ListOperationsRequest,
263        _options: gax::options::RequestOptions,
264    ) -> impl std::future::Future<
265        Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
266    > + Send {
267        gaxi::unimplemented::unimplemented_stub()
268    }
269
270    /// Implements [super::client::BusinessGlossaryService::get_operation].
271    fn get_operation(
272        &self,
273        _req: longrunning::model::GetOperationRequest,
274        _options: gax::options::RequestOptions,
275    ) -> impl std::future::Future<
276        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
277    > + Send {
278        gaxi::unimplemented::unimplemented_stub()
279    }
280
281    /// Implements [super::client::BusinessGlossaryService::delete_operation].
282    fn delete_operation(
283        &self,
284        _req: longrunning::model::DeleteOperationRequest,
285        _options: gax::options::RequestOptions,
286    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
287        gaxi::unimplemented::unimplemented_stub()
288    }
289
290    /// Implements [super::client::BusinessGlossaryService::cancel_operation].
291    fn cancel_operation(
292        &self,
293        _req: longrunning::model::CancelOperationRequest,
294        _options: gax::options::RequestOptions,
295    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
296        gaxi::unimplemented::unimplemented_stub()
297    }
298
299    /// Returns the polling error policy.
300    ///
301    /// When mocking, this method is typically irrelevant. Do not try to verify
302    /// it is called by your mocks.
303    fn get_polling_error_policy(
304        &self,
305        _options: &gax::options::RequestOptions,
306    ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
307        std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
308    }
309
310    /// Returns the polling backoff policy.
311    ///
312    /// When mocking, this method is typically irrelevant. Do not try to verify
313    /// it is called by your mocks.
314    fn get_polling_backoff_policy(
315        &self,
316        _options: &gax::options::RequestOptions,
317    ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
318        std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
319    }
320}
321
322/// Defines the trait used to implement [super::client::CatalogService].
323///
324/// Application developers may need to implement this trait to mock
325/// `client::CatalogService`.  In other use-cases, application developers only
326/// use `client::CatalogService` and need not be concerned with this trait or
327/// its implementations.
328///
329/// Services gain new RPCs routinely. Consequently, this trait gains new methods
330/// too. To avoid breaking applications the trait provides a default
331/// implementation of each method. Most of these implementations just return an
332/// error.
333pub trait CatalogService: std::fmt::Debug + Send + Sync {
334    /// Implements [super::client::CatalogService::create_entry_type].
335    fn create_entry_type(
336        &self,
337        _req: crate::model::CreateEntryTypeRequest,
338        _options: gax::options::RequestOptions,
339    ) -> impl std::future::Future<
340        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
341    > + Send {
342        gaxi::unimplemented::unimplemented_stub()
343    }
344
345    /// Implements [super::client::CatalogService::update_entry_type].
346    fn update_entry_type(
347        &self,
348        _req: crate::model::UpdateEntryTypeRequest,
349        _options: gax::options::RequestOptions,
350    ) -> impl std::future::Future<
351        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
352    > + Send {
353        gaxi::unimplemented::unimplemented_stub()
354    }
355
356    /// Implements [super::client::CatalogService::delete_entry_type].
357    fn delete_entry_type(
358        &self,
359        _req: crate::model::DeleteEntryTypeRequest,
360        _options: gax::options::RequestOptions,
361    ) -> impl std::future::Future<
362        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
363    > + Send {
364        gaxi::unimplemented::unimplemented_stub()
365    }
366
367    /// Implements [super::client::CatalogService::list_entry_types].
368    fn list_entry_types(
369        &self,
370        _req: crate::model::ListEntryTypesRequest,
371        _options: gax::options::RequestOptions,
372    ) -> impl std::future::Future<
373        Output = crate::Result<gax::response::Response<crate::model::ListEntryTypesResponse>>,
374    > + Send {
375        gaxi::unimplemented::unimplemented_stub()
376    }
377
378    /// Implements [super::client::CatalogService::get_entry_type].
379    fn get_entry_type(
380        &self,
381        _req: crate::model::GetEntryTypeRequest,
382        _options: gax::options::RequestOptions,
383    ) -> impl std::future::Future<
384        Output = crate::Result<gax::response::Response<crate::model::EntryType>>,
385    > + Send {
386        gaxi::unimplemented::unimplemented_stub()
387    }
388
389    /// Implements [super::client::CatalogService::create_aspect_type].
390    fn create_aspect_type(
391        &self,
392        _req: crate::model::CreateAspectTypeRequest,
393        _options: gax::options::RequestOptions,
394    ) -> impl std::future::Future<
395        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
396    > + Send {
397        gaxi::unimplemented::unimplemented_stub()
398    }
399
400    /// Implements [super::client::CatalogService::update_aspect_type].
401    fn update_aspect_type(
402        &self,
403        _req: crate::model::UpdateAspectTypeRequest,
404        _options: gax::options::RequestOptions,
405    ) -> impl std::future::Future<
406        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
407    > + Send {
408        gaxi::unimplemented::unimplemented_stub()
409    }
410
411    /// Implements [super::client::CatalogService::delete_aspect_type].
412    fn delete_aspect_type(
413        &self,
414        _req: crate::model::DeleteAspectTypeRequest,
415        _options: gax::options::RequestOptions,
416    ) -> impl std::future::Future<
417        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
418    > + Send {
419        gaxi::unimplemented::unimplemented_stub()
420    }
421
422    /// Implements [super::client::CatalogService::list_aspect_types].
423    fn list_aspect_types(
424        &self,
425        _req: crate::model::ListAspectTypesRequest,
426        _options: gax::options::RequestOptions,
427    ) -> impl std::future::Future<
428        Output = crate::Result<gax::response::Response<crate::model::ListAspectTypesResponse>>,
429    > + Send {
430        gaxi::unimplemented::unimplemented_stub()
431    }
432
433    /// Implements [super::client::CatalogService::get_aspect_type].
434    fn get_aspect_type(
435        &self,
436        _req: crate::model::GetAspectTypeRequest,
437        _options: gax::options::RequestOptions,
438    ) -> impl std::future::Future<
439        Output = crate::Result<gax::response::Response<crate::model::AspectType>>,
440    > + Send {
441        gaxi::unimplemented::unimplemented_stub()
442    }
443
444    /// Implements [super::client::CatalogService::create_entry_group].
445    fn create_entry_group(
446        &self,
447        _req: crate::model::CreateEntryGroupRequest,
448        _options: gax::options::RequestOptions,
449    ) -> impl std::future::Future<
450        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
451    > + Send {
452        gaxi::unimplemented::unimplemented_stub()
453    }
454
455    /// Implements [super::client::CatalogService::update_entry_group].
456    fn update_entry_group(
457        &self,
458        _req: crate::model::UpdateEntryGroupRequest,
459        _options: gax::options::RequestOptions,
460    ) -> impl std::future::Future<
461        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
462    > + Send {
463        gaxi::unimplemented::unimplemented_stub()
464    }
465
466    /// Implements [super::client::CatalogService::delete_entry_group].
467    fn delete_entry_group(
468        &self,
469        _req: crate::model::DeleteEntryGroupRequest,
470        _options: gax::options::RequestOptions,
471    ) -> impl std::future::Future<
472        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
473    > + Send {
474        gaxi::unimplemented::unimplemented_stub()
475    }
476
477    /// Implements [super::client::CatalogService::list_entry_groups].
478    fn list_entry_groups(
479        &self,
480        _req: crate::model::ListEntryGroupsRequest,
481        _options: gax::options::RequestOptions,
482    ) -> impl std::future::Future<
483        Output = crate::Result<gax::response::Response<crate::model::ListEntryGroupsResponse>>,
484    > + Send {
485        gaxi::unimplemented::unimplemented_stub()
486    }
487
488    /// Implements [super::client::CatalogService::get_entry_group].
489    fn get_entry_group(
490        &self,
491        _req: crate::model::GetEntryGroupRequest,
492        _options: gax::options::RequestOptions,
493    ) -> impl std::future::Future<
494        Output = crate::Result<gax::response::Response<crate::model::EntryGroup>>,
495    > + Send {
496        gaxi::unimplemented::unimplemented_stub()
497    }
498
499    /// Implements [super::client::CatalogService::create_entry].
500    fn create_entry(
501        &self,
502        _req: crate::model::CreateEntryRequest,
503        _options: gax::options::RequestOptions,
504    ) -> impl std::future::Future<
505        Output = crate::Result<gax::response::Response<crate::model::Entry>>,
506    > + Send {
507        gaxi::unimplemented::unimplemented_stub()
508    }
509
510    /// Implements [super::client::CatalogService::update_entry].
511    fn update_entry(
512        &self,
513        _req: crate::model::UpdateEntryRequest,
514        _options: gax::options::RequestOptions,
515    ) -> impl std::future::Future<
516        Output = crate::Result<gax::response::Response<crate::model::Entry>>,
517    > + Send {
518        gaxi::unimplemented::unimplemented_stub()
519    }
520
521    /// Implements [super::client::CatalogService::delete_entry].
522    fn delete_entry(
523        &self,
524        _req: crate::model::DeleteEntryRequest,
525        _options: gax::options::RequestOptions,
526    ) -> impl std::future::Future<
527        Output = crate::Result<gax::response::Response<crate::model::Entry>>,
528    > + Send {
529        gaxi::unimplemented::unimplemented_stub()
530    }
531
532    /// Implements [super::client::CatalogService::list_entries].
533    fn list_entries(
534        &self,
535        _req: crate::model::ListEntriesRequest,
536        _options: gax::options::RequestOptions,
537    ) -> impl std::future::Future<
538        Output = crate::Result<gax::response::Response<crate::model::ListEntriesResponse>>,
539    > + Send {
540        gaxi::unimplemented::unimplemented_stub()
541    }
542
543    /// Implements [super::client::CatalogService::get_entry].
544    fn get_entry(
545        &self,
546        _req: crate::model::GetEntryRequest,
547        _options: gax::options::RequestOptions,
548    ) -> impl std::future::Future<
549        Output = crate::Result<gax::response::Response<crate::model::Entry>>,
550    > + Send {
551        gaxi::unimplemented::unimplemented_stub()
552    }
553
554    /// Implements [super::client::CatalogService::lookup_entry].
555    fn lookup_entry(
556        &self,
557        _req: crate::model::LookupEntryRequest,
558        _options: gax::options::RequestOptions,
559    ) -> impl std::future::Future<
560        Output = crate::Result<gax::response::Response<crate::model::Entry>>,
561    > + Send {
562        gaxi::unimplemented::unimplemented_stub()
563    }
564
565    /// Implements [super::client::CatalogService::search_entries].
566    fn search_entries(
567        &self,
568        _req: crate::model::SearchEntriesRequest,
569        _options: gax::options::RequestOptions,
570    ) -> impl std::future::Future<
571        Output = crate::Result<gax::response::Response<crate::model::SearchEntriesResponse>>,
572    > + Send {
573        gaxi::unimplemented::unimplemented_stub()
574    }
575
576    /// Implements [super::client::CatalogService::create_metadata_job].
577    fn create_metadata_job(
578        &self,
579        _req: crate::model::CreateMetadataJobRequest,
580        _options: gax::options::RequestOptions,
581    ) -> impl std::future::Future<
582        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
583    > + Send {
584        gaxi::unimplemented::unimplemented_stub()
585    }
586
587    /// Implements [super::client::CatalogService::get_metadata_job].
588    fn get_metadata_job(
589        &self,
590        _req: crate::model::GetMetadataJobRequest,
591        _options: gax::options::RequestOptions,
592    ) -> impl std::future::Future<
593        Output = crate::Result<gax::response::Response<crate::model::MetadataJob>>,
594    > + Send {
595        gaxi::unimplemented::unimplemented_stub()
596    }
597
598    /// Implements [super::client::CatalogService::list_metadata_jobs].
599    fn list_metadata_jobs(
600        &self,
601        _req: crate::model::ListMetadataJobsRequest,
602        _options: gax::options::RequestOptions,
603    ) -> impl std::future::Future<
604        Output = crate::Result<gax::response::Response<crate::model::ListMetadataJobsResponse>>,
605    > + Send {
606        gaxi::unimplemented::unimplemented_stub()
607    }
608
609    /// Implements [super::client::CatalogService::cancel_metadata_job].
610    fn cancel_metadata_job(
611        &self,
612        _req: crate::model::CancelMetadataJobRequest,
613        _options: gax::options::RequestOptions,
614    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
615        gaxi::unimplemented::unimplemented_stub()
616    }
617
618    /// Implements [super::client::CatalogService::create_entry_link].
619    fn create_entry_link(
620        &self,
621        _req: crate::model::CreateEntryLinkRequest,
622        _options: gax::options::RequestOptions,
623    ) -> impl std::future::Future<
624        Output = crate::Result<gax::response::Response<crate::model::EntryLink>>,
625    > + Send {
626        gaxi::unimplemented::unimplemented_stub()
627    }
628
629    /// Implements [super::client::CatalogService::delete_entry_link].
630    fn delete_entry_link(
631        &self,
632        _req: crate::model::DeleteEntryLinkRequest,
633        _options: gax::options::RequestOptions,
634    ) -> impl std::future::Future<
635        Output = crate::Result<gax::response::Response<crate::model::EntryLink>>,
636    > + Send {
637        gaxi::unimplemented::unimplemented_stub()
638    }
639
640    /// Implements [super::client::CatalogService::get_entry_link].
641    fn get_entry_link(
642        &self,
643        _req: crate::model::GetEntryLinkRequest,
644        _options: gax::options::RequestOptions,
645    ) -> impl std::future::Future<
646        Output = crate::Result<gax::response::Response<crate::model::EntryLink>>,
647    > + Send {
648        gaxi::unimplemented::unimplemented_stub()
649    }
650
651    /// Implements [super::client::CatalogService::list_locations].
652    fn list_locations(
653        &self,
654        _req: location::model::ListLocationsRequest,
655        _options: gax::options::RequestOptions,
656    ) -> impl std::future::Future<
657        Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
658    > + Send {
659        gaxi::unimplemented::unimplemented_stub()
660    }
661
662    /// Implements [super::client::CatalogService::get_location].
663    fn get_location(
664        &self,
665        _req: location::model::GetLocationRequest,
666        _options: gax::options::RequestOptions,
667    ) -> impl std::future::Future<
668        Output = crate::Result<gax::response::Response<location::model::Location>>,
669    > + Send {
670        gaxi::unimplemented::unimplemented_stub()
671    }
672
673    /// Implements [super::client::CatalogService::set_iam_policy].
674    fn set_iam_policy(
675        &self,
676        _req: iam_v1::model::SetIamPolicyRequest,
677        _options: gax::options::RequestOptions,
678    ) -> impl std::future::Future<
679        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
680    > + Send {
681        gaxi::unimplemented::unimplemented_stub()
682    }
683
684    /// Implements [super::client::CatalogService::get_iam_policy].
685    fn get_iam_policy(
686        &self,
687        _req: iam_v1::model::GetIamPolicyRequest,
688        _options: gax::options::RequestOptions,
689    ) -> impl std::future::Future<
690        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
691    > + Send {
692        gaxi::unimplemented::unimplemented_stub()
693    }
694
695    /// Implements [super::client::CatalogService::test_iam_permissions].
696    fn test_iam_permissions(
697        &self,
698        _req: iam_v1::model::TestIamPermissionsRequest,
699        _options: gax::options::RequestOptions,
700    ) -> impl std::future::Future<
701        Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
702    > + Send {
703        gaxi::unimplemented::unimplemented_stub()
704    }
705
706    /// Implements [super::client::CatalogService::list_operations].
707    fn list_operations(
708        &self,
709        _req: longrunning::model::ListOperationsRequest,
710        _options: gax::options::RequestOptions,
711    ) -> impl std::future::Future<
712        Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
713    > + Send {
714        gaxi::unimplemented::unimplemented_stub()
715    }
716
717    /// Implements [super::client::CatalogService::get_operation].
718    fn get_operation(
719        &self,
720        _req: longrunning::model::GetOperationRequest,
721        _options: gax::options::RequestOptions,
722    ) -> impl std::future::Future<
723        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
724    > + Send {
725        gaxi::unimplemented::unimplemented_stub()
726    }
727
728    /// Implements [super::client::CatalogService::delete_operation].
729    fn delete_operation(
730        &self,
731        _req: longrunning::model::DeleteOperationRequest,
732        _options: gax::options::RequestOptions,
733    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
734        gaxi::unimplemented::unimplemented_stub()
735    }
736
737    /// Implements [super::client::CatalogService::cancel_operation].
738    fn cancel_operation(
739        &self,
740        _req: longrunning::model::CancelOperationRequest,
741        _options: gax::options::RequestOptions,
742    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
743        gaxi::unimplemented::unimplemented_stub()
744    }
745
746    /// Returns the polling error policy.
747    ///
748    /// When mocking, this method is typically irrelevant. Do not try to verify
749    /// it is called by your mocks.
750    fn get_polling_error_policy(
751        &self,
752        _options: &gax::options::RequestOptions,
753    ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
754        std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
755    }
756
757    /// Returns the polling backoff policy.
758    ///
759    /// When mocking, this method is typically irrelevant. Do not try to verify
760    /// it is called by your mocks.
761    fn get_polling_backoff_policy(
762        &self,
763        _options: &gax::options::RequestOptions,
764    ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
765        std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
766    }
767}
768
769/// Defines the trait used to implement [super::client::CmekService].
770///
771/// Application developers may need to implement this trait to mock
772/// `client::CmekService`.  In other use-cases, application developers only
773/// use `client::CmekService` and need not be concerned with this trait or
774/// its implementations.
775///
776/// Services gain new RPCs routinely. Consequently, this trait gains new methods
777/// too. To avoid breaking applications the trait provides a default
778/// implementation of each method. Most of these implementations just return an
779/// error.
780pub trait CmekService: std::fmt::Debug + Send + Sync {
781    /// Implements [super::client::CmekService::create_encryption_config].
782    fn create_encryption_config(
783        &self,
784        _req: crate::model::CreateEncryptionConfigRequest,
785        _options: gax::options::RequestOptions,
786    ) -> impl std::future::Future<
787        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
788    > + Send {
789        gaxi::unimplemented::unimplemented_stub()
790    }
791
792    /// Implements [super::client::CmekService::update_encryption_config].
793    fn update_encryption_config(
794        &self,
795        _req: crate::model::UpdateEncryptionConfigRequest,
796        _options: gax::options::RequestOptions,
797    ) -> impl std::future::Future<
798        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
799    > + Send {
800        gaxi::unimplemented::unimplemented_stub()
801    }
802
803    /// Implements [super::client::CmekService::delete_encryption_config].
804    fn delete_encryption_config(
805        &self,
806        _req: crate::model::DeleteEncryptionConfigRequest,
807        _options: gax::options::RequestOptions,
808    ) -> impl std::future::Future<
809        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
810    > + Send {
811        gaxi::unimplemented::unimplemented_stub()
812    }
813
814    /// Implements [super::client::CmekService::list_encryption_configs].
815    fn list_encryption_configs(
816        &self,
817        _req: crate::model::ListEncryptionConfigsRequest,
818        _options: gax::options::RequestOptions,
819    ) -> impl std::future::Future<
820        Output = crate::Result<
821            gax::response::Response<crate::model::ListEncryptionConfigsResponse>,
822        >,
823    > + Send {
824        gaxi::unimplemented::unimplemented_stub()
825    }
826
827    /// Implements [super::client::CmekService::get_encryption_config].
828    fn get_encryption_config(
829        &self,
830        _req: crate::model::GetEncryptionConfigRequest,
831        _options: gax::options::RequestOptions,
832    ) -> impl std::future::Future<
833        Output = crate::Result<gax::response::Response<crate::model::EncryptionConfig>>,
834    > + Send {
835        gaxi::unimplemented::unimplemented_stub()
836    }
837
838    /// Implements [super::client::CmekService::list_locations].
839    fn list_locations(
840        &self,
841        _req: location::model::ListLocationsRequest,
842        _options: gax::options::RequestOptions,
843    ) -> impl std::future::Future<
844        Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
845    > + Send {
846        gaxi::unimplemented::unimplemented_stub()
847    }
848
849    /// Implements [super::client::CmekService::get_location].
850    fn get_location(
851        &self,
852        _req: location::model::GetLocationRequest,
853        _options: gax::options::RequestOptions,
854    ) -> impl std::future::Future<
855        Output = crate::Result<gax::response::Response<location::model::Location>>,
856    > + Send {
857        gaxi::unimplemented::unimplemented_stub()
858    }
859
860    /// Implements [super::client::CmekService::set_iam_policy].
861    fn set_iam_policy(
862        &self,
863        _req: iam_v1::model::SetIamPolicyRequest,
864        _options: gax::options::RequestOptions,
865    ) -> impl std::future::Future<
866        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
867    > + Send {
868        gaxi::unimplemented::unimplemented_stub()
869    }
870
871    /// Implements [super::client::CmekService::get_iam_policy].
872    fn get_iam_policy(
873        &self,
874        _req: iam_v1::model::GetIamPolicyRequest,
875        _options: gax::options::RequestOptions,
876    ) -> impl std::future::Future<
877        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
878    > + Send {
879        gaxi::unimplemented::unimplemented_stub()
880    }
881
882    /// Implements [super::client::CmekService::test_iam_permissions].
883    fn test_iam_permissions(
884        &self,
885        _req: iam_v1::model::TestIamPermissionsRequest,
886        _options: gax::options::RequestOptions,
887    ) -> impl std::future::Future<
888        Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
889    > + Send {
890        gaxi::unimplemented::unimplemented_stub()
891    }
892
893    /// Implements [super::client::CmekService::list_operations].
894    fn list_operations(
895        &self,
896        _req: longrunning::model::ListOperationsRequest,
897        _options: gax::options::RequestOptions,
898    ) -> impl std::future::Future<
899        Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
900    > + Send {
901        gaxi::unimplemented::unimplemented_stub()
902    }
903
904    /// Implements [super::client::CmekService::get_operation].
905    fn get_operation(
906        &self,
907        _req: longrunning::model::GetOperationRequest,
908        _options: gax::options::RequestOptions,
909    ) -> impl std::future::Future<
910        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
911    > + Send {
912        gaxi::unimplemented::unimplemented_stub()
913    }
914
915    /// Implements [super::client::CmekService::delete_operation].
916    fn delete_operation(
917        &self,
918        _req: longrunning::model::DeleteOperationRequest,
919        _options: gax::options::RequestOptions,
920    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
921        gaxi::unimplemented::unimplemented_stub()
922    }
923
924    /// Implements [super::client::CmekService::cancel_operation].
925    fn cancel_operation(
926        &self,
927        _req: longrunning::model::CancelOperationRequest,
928        _options: gax::options::RequestOptions,
929    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
930        gaxi::unimplemented::unimplemented_stub()
931    }
932
933    /// Returns the polling error policy.
934    ///
935    /// When mocking, this method is typically irrelevant. Do not try to verify
936    /// it is called by your mocks.
937    fn get_polling_error_policy(
938        &self,
939        _options: &gax::options::RequestOptions,
940    ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
941        std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
942    }
943
944    /// Returns the polling backoff policy.
945    ///
946    /// When mocking, this method is typically irrelevant. Do not try to verify
947    /// it is called by your mocks.
948    fn get_polling_backoff_policy(
949        &self,
950        _options: &gax::options::RequestOptions,
951    ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
952        std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
953    }
954}
955
956/// Defines the trait used to implement [super::client::ContentService].
957///
958/// Application developers may need to implement this trait to mock
959/// `client::ContentService`.  In other use-cases, application developers only
960/// use `client::ContentService` and need not be concerned with this trait or
961/// its implementations.
962///
963/// Services gain new RPCs routinely. Consequently, this trait gains new methods
964/// too. To avoid breaking applications the trait provides a default
965/// implementation of each method. Most of these implementations just return an
966/// error.
967pub trait ContentService: std::fmt::Debug + Send + Sync {
968    /// Implements [super::client::ContentService::create_content].
969    fn create_content(
970        &self,
971        _req: crate::model::CreateContentRequest,
972        _options: gax::options::RequestOptions,
973    ) -> impl std::future::Future<
974        Output = crate::Result<gax::response::Response<crate::model::Content>>,
975    > + Send {
976        gaxi::unimplemented::unimplemented_stub()
977    }
978
979    /// Implements [super::client::ContentService::update_content].
980    fn update_content(
981        &self,
982        _req: crate::model::UpdateContentRequest,
983        _options: gax::options::RequestOptions,
984    ) -> impl std::future::Future<
985        Output = crate::Result<gax::response::Response<crate::model::Content>>,
986    > + Send {
987        gaxi::unimplemented::unimplemented_stub()
988    }
989
990    /// Implements [super::client::ContentService::delete_content].
991    fn delete_content(
992        &self,
993        _req: crate::model::DeleteContentRequest,
994        _options: gax::options::RequestOptions,
995    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
996        gaxi::unimplemented::unimplemented_stub()
997    }
998
999    /// Implements [super::client::ContentService::get_content].
1000    fn get_content(
1001        &self,
1002        _req: crate::model::GetContentRequest,
1003        _options: gax::options::RequestOptions,
1004    ) -> impl std::future::Future<
1005        Output = crate::Result<gax::response::Response<crate::model::Content>>,
1006    > + Send {
1007        gaxi::unimplemented::unimplemented_stub()
1008    }
1009
1010    /// Implements [super::client::ContentService::get_iam_policy].
1011    fn get_iam_policy(
1012        &self,
1013        _req: iam_v1::model::GetIamPolicyRequest,
1014        _options: gax::options::RequestOptions,
1015    ) -> impl std::future::Future<
1016        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
1017    > + Send {
1018        gaxi::unimplemented::unimplemented_stub()
1019    }
1020
1021    /// Implements [super::client::ContentService::set_iam_policy].
1022    fn set_iam_policy(
1023        &self,
1024        _req: iam_v1::model::SetIamPolicyRequest,
1025        _options: gax::options::RequestOptions,
1026    ) -> impl std::future::Future<
1027        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
1028    > + Send {
1029        gaxi::unimplemented::unimplemented_stub()
1030    }
1031
1032    /// Implements [super::client::ContentService::test_iam_permissions].
1033    fn test_iam_permissions(
1034        &self,
1035        _req: iam_v1::model::TestIamPermissionsRequest,
1036        _options: gax::options::RequestOptions,
1037    ) -> impl std::future::Future<
1038        Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
1039    > + Send {
1040        gaxi::unimplemented::unimplemented_stub()
1041    }
1042
1043    /// Implements [super::client::ContentService::list_content].
1044    fn list_content(
1045        &self,
1046        _req: crate::model::ListContentRequest,
1047        _options: gax::options::RequestOptions,
1048    ) -> impl std::future::Future<
1049        Output = crate::Result<gax::response::Response<crate::model::ListContentResponse>>,
1050    > + Send {
1051        gaxi::unimplemented::unimplemented_stub()
1052    }
1053
1054    /// Implements [super::client::ContentService::list_locations].
1055    fn list_locations(
1056        &self,
1057        _req: location::model::ListLocationsRequest,
1058        _options: gax::options::RequestOptions,
1059    ) -> impl std::future::Future<
1060        Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
1061    > + Send {
1062        gaxi::unimplemented::unimplemented_stub()
1063    }
1064
1065    /// Implements [super::client::ContentService::get_location].
1066    fn get_location(
1067        &self,
1068        _req: location::model::GetLocationRequest,
1069        _options: gax::options::RequestOptions,
1070    ) -> impl std::future::Future<
1071        Output = crate::Result<gax::response::Response<location::model::Location>>,
1072    > + Send {
1073        gaxi::unimplemented::unimplemented_stub()
1074    }
1075
1076    /// Implements [super::client::ContentService::list_operations].
1077    fn list_operations(
1078        &self,
1079        _req: longrunning::model::ListOperationsRequest,
1080        _options: gax::options::RequestOptions,
1081    ) -> impl std::future::Future<
1082        Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
1083    > + Send {
1084        gaxi::unimplemented::unimplemented_stub()
1085    }
1086
1087    /// Implements [super::client::ContentService::get_operation].
1088    fn get_operation(
1089        &self,
1090        _req: longrunning::model::GetOperationRequest,
1091        _options: gax::options::RequestOptions,
1092    ) -> impl std::future::Future<
1093        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1094    > + Send {
1095        gaxi::unimplemented::unimplemented_stub()
1096    }
1097
1098    /// Implements [super::client::ContentService::delete_operation].
1099    fn delete_operation(
1100        &self,
1101        _req: longrunning::model::DeleteOperationRequest,
1102        _options: gax::options::RequestOptions,
1103    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
1104        gaxi::unimplemented::unimplemented_stub()
1105    }
1106
1107    /// Implements [super::client::ContentService::cancel_operation].
1108    fn cancel_operation(
1109        &self,
1110        _req: longrunning::model::CancelOperationRequest,
1111        _options: gax::options::RequestOptions,
1112    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
1113        gaxi::unimplemented::unimplemented_stub()
1114    }
1115}
1116
1117/// Defines the trait used to implement [super::client::DataTaxonomyService].
1118///
1119/// Application developers may need to implement this trait to mock
1120/// `client::DataTaxonomyService`.  In other use-cases, application developers only
1121/// use `client::DataTaxonomyService` and need not be concerned with this trait or
1122/// its implementations.
1123///
1124/// Services gain new RPCs routinely. Consequently, this trait gains new methods
1125/// too. To avoid breaking applications the trait provides a default
1126/// implementation of each method. Most of these implementations just return an
1127/// error.
1128pub trait DataTaxonomyService: std::fmt::Debug + Send + Sync {
1129    /// Implements [super::client::DataTaxonomyService::create_data_taxonomy].
1130    fn create_data_taxonomy(
1131        &self,
1132        _req: crate::model::CreateDataTaxonomyRequest,
1133        _options: gax::options::RequestOptions,
1134    ) -> impl std::future::Future<
1135        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1136    > + Send {
1137        gaxi::unimplemented::unimplemented_stub()
1138    }
1139
1140    /// Implements [super::client::DataTaxonomyService::update_data_taxonomy].
1141    fn update_data_taxonomy(
1142        &self,
1143        _req: crate::model::UpdateDataTaxonomyRequest,
1144        _options: gax::options::RequestOptions,
1145    ) -> impl std::future::Future<
1146        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1147    > + Send {
1148        gaxi::unimplemented::unimplemented_stub()
1149    }
1150
1151    /// Implements [super::client::DataTaxonomyService::delete_data_taxonomy].
1152    fn delete_data_taxonomy(
1153        &self,
1154        _req: crate::model::DeleteDataTaxonomyRequest,
1155        _options: gax::options::RequestOptions,
1156    ) -> impl std::future::Future<
1157        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1158    > + Send {
1159        gaxi::unimplemented::unimplemented_stub()
1160    }
1161
1162    /// Implements [super::client::DataTaxonomyService::list_data_taxonomies].
1163    fn list_data_taxonomies(
1164        &self,
1165        _req: crate::model::ListDataTaxonomiesRequest,
1166        _options: gax::options::RequestOptions,
1167    ) -> impl std::future::Future<
1168        Output = crate::Result<gax::response::Response<crate::model::ListDataTaxonomiesResponse>>,
1169    > + Send {
1170        gaxi::unimplemented::unimplemented_stub()
1171    }
1172
1173    /// Implements [super::client::DataTaxonomyService::get_data_taxonomy].
1174    fn get_data_taxonomy(
1175        &self,
1176        _req: crate::model::GetDataTaxonomyRequest,
1177        _options: gax::options::RequestOptions,
1178    ) -> impl std::future::Future<
1179        Output = crate::Result<gax::response::Response<crate::model::DataTaxonomy>>,
1180    > + Send {
1181        gaxi::unimplemented::unimplemented_stub()
1182    }
1183
1184    /// Implements [super::client::DataTaxonomyService::create_data_attribute_binding].
1185    fn create_data_attribute_binding(
1186        &self,
1187        _req: crate::model::CreateDataAttributeBindingRequest,
1188        _options: gax::options::RequestOptions,
1189    ) -> impl std::future::Future<
1190        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1191    > + Send {
1192        gaxi::unimplemented::unimplemented_stub()
1193    }
1194
1195    /// Implements [super::client::DataTaxonomyService::update_data_attribute_binding].
1196    fn update_data_attribute_binding(
1197        &self,
1198        _req: crate::model::UpdateDataAttributeBindingRequest,
1199        _options: gax::options::RequestOptions,
1200    ) -> impl std::future::Future<
1201        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1202    > + Send {
1203        gaxi::unimplemented::unimplemented_stub()
1204    }
1205
1206    /// Implements [super::client::DataTaxonomyService::delete_data_attribute_binding].
1207    fn delete_data_attribute_binding(
1208        &self,
1209        _req: crate::model::DeleteDataAttributeBindingRequest,
1210        _options: gax::options::RequestOptions,
1211    ) -> impl std::future::Future<
1212        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1213    > + Send {
1214        gaxi::unimplemented::unimplemented_stub()
1215    }
1216
1217    /// Implements [super::client::DataTaxonomyService::list_data_attribute_bindings].
1218    fn list_data_attribute_bindings(
1219        &self,
1220        _req: crate::model::ListDataAttributeBindingsRequest,
1221        _options: gax::options::RequestOptions,
1222    ) -> impl std::future::Future<
1223        Output = crate::Result<
1224            gax::response::Response<crate::model::ListDataAttributeBindingsResponse>,
1225        >,
1226    > + Send {
1227        gaxi::unimplemented::unimplemented_stub()
1228    }
1229
1230    /// Implements [super::client::DataTaxonomyService::get_data_attribute_binding].
1231    fn get_data_attribute_binding(
1232        &self,
1233        _req: crate::model::GetDataAttributeBindingRequest,
1234        _options: gax::options::RequestOptions,
1235    ) -> impl std::future::Future<
1236        Output = crate::Result<gax::response::Response<crate::model::DataAttributeBinding>>,
1237    > + Send {
1238        gaxi::unimplemented::unimplemented_stub()
1239    }
1240
1241    /// Implements [super::client::DataTaxonomyService::create_data_attribute].
1242    fn create_data_attribute(
1243        &self,
1244        _req: crate::model::CreateDataAttributeRequest,
1245        _options: gax::options::RequestOptions,
1246    ) -> impl std::future::Future<
1247        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1248    > + Send {
1249        gaxi::unimplemented::unimplemented_stub()
1250    }
1251
1252    /// Implements [super::client::DataTaxonomyService::update_data_attribute].
1253    fn update_data_attribute(
1254        &self,
1255        _req: crate::model::UpdateDataAttributeRequest,
1256        _options: gax::options::RequestOptions,
1257    ) -> impl std::future::Future<
1258        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1259    > + Send {
1260        gaxi::unimplemented::unimplemented_stub()
1261    }
1262
1263    /// Implements [super::client::DataTaxonomyService::delete_data_attribute].
1264    fn delete_data_attribute(
1265        &self,
1266        _req: crate::model::DeleteDataAttributeRequest,
1267        _options: gax::options::RequestOptions,
1268    ) -> impl std::future::Future<
1269        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1270    > + Send {
1271        gaxi::unimplemented::unimplemented_stub()
1272    }
1273
1274    /// Implements [super::client::DataTaxonomyService::list_data_attributes].
1275    fn list_data_attributes(
1276        &self,
1277        _req: crate::model::ListDataAttributesRequest,
1278        _options: gax::options::RequestOptions,
1279    ) -> impl std::future::Future<
1280        Output = crate::Result<gax::response::Response<crate::model::ListDataAttributesResponse>>,
1281    > + Send {
1282        gaxi::unimplemented::unimplemented_stub()
1283    }
1284
1285    /// Implements [super::client::DataTaxonomyService::get_data_attribute].
1286    fn get_data_attribute(
1287        &self,
1288        _req: crate::model::GetDataAttributeRequest,
1289        _options: gax::options::RequestOptions,
1290    ) -> impl std::future::Future<
1291        Output = crate::Result<gax::response::Response<crate::model::DataAttribute>>,
1292    > + Send {
1293        gaxi::unimplemented::unimplemented_stub()
1294    }
1295
1296    /// Implements [super::client::DataTaxonomyService::list_locations].
1297    fn list_locations(
1298        &self,
1299        _req: location::model::ListLocationsRequest,
1300        _options: gax::options::RequestOptions,
1301    ) -> impl std::future::Future<
1302        Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
1303    > + Send {
1304        gaxi::unimplemented::unimplemented_stub()
1305    }
1306
1307    /// Implements [super::client::DataTaxonomyService::get_location].
1308    fn get_location(
1309        &self,
1310        _req: location::model::GetLocationRequest,
1311        _options: gax::options::RequestOptions,
1312    ) -> impl std::future::Future<
1313        Output = crate::Result<gax::response::Response<location::model::Location>>,
1314    > + Send {
1315        gaxi::unimplemented::unimplemented_stub()
1316    }
1317
1318    /// Implements [super::client::DataTaxonomyService::set_iam_policy].
1319    fn set_iam_policy(
1320        &self,
1321        _req: iam_v1::model::SetIamPolicyRequest,
1322        _options: gax::options::RequestOptions,
1323    ) -> impl std::future::Future<
1324        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
1325    > + Send {
1326        gaxi::unimplemented::unimplemented_stub()
1327    }
1328
1329    /// Implements [super::client::DataTaxonomyService::get_iam_policy].
1330    fn get_iam_policy(
1331        &self,
1332        _req: iam_v1::model::GetIamPolicyRequest,
1333        _options: gax::options::RequestOptions,
1334    ) -> impl std::future::Future<
1335        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
1336    > + Send {
1337        gaxi::unimplemented::unimplemented_stub()
1338    }
1339
1340    /// Implements [super::client::DataTaxonomyService::test_iam_permissions].
1341    fn test_iam_permissions(
1342        &self,
1343        _req: iam_v1::model::TestIamPermissionsRequest,
1344        _options: gax::options::RequestOptions,
1345    ) -> impl std::future::Future<
1346        Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
1347    > + Send {
1348        gaxi::unimplemented::unimplemented_stub()
1349    }
1350
1351    /// Implements [super::client::DataTaxonomyService::list_operations].
1352    fn list_operations(
1353        &self,
1354        _req: longrunning::model::ListOperationsRequest,
1355        _options: gax::options::RequestOptions,
1356    ) -> impl std::future::Future<
1357        Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
1358    > + Send {
1359        gaxi::unimplemented::unimplemented_stub()
1360    }
1361
1362    /// Implements [super::client::DataTaxonomyService::get_operation].
1363    fn get_operation(
1364        &self,
1365        _req: longrunning::model::GetOperationRequest,
1366        _options: gax::options::RequestOptions,
1367    ) -> impl std::future::Future<
1368        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1369    > + Send {
1370        gaxi::unimplemented::unimplemented_stub()
1371    }
1372
1373    /// Implements [super::client::DataTaxonomyService::delete_operation].
1374    fn delete_operation(
1375        &self,
1376        _req: longrunning::model::DeleteOperationRequest,
1377        _options: gax::options::RequestOptions,
1378    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
1379        gaxi::unimplemented::unimplemented_stub()
1380    }
1381
1382    /// Implements [super::client::DataTaxonomyService::cancel_operation].
1383    fn cancel_operation(
1384        &self,
1385        _req: longrunning::model::CancelOperationRequest,
1386        _options: gax::options::RequestOptions,
1387    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
1388        gaxi::unimplemented::unimplemented_stub()
1389    }
1390
1391    /// Returns the polling error policy.
1392    ///
1393    /// When mocking, this method is typically irrelevant. Do not try to verify
1394    /// it is called by your mocks.
1395    fn get_polling_error_policy(
1396        &self,
1397        _options: &gax::options::RequestOptions,
1398    ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
1399        std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
1400    }
1401
1402    /// Returns the polling backoff policy.
1403    ///
1404    /// When mocking, this method is typically irrelevant. Do not try to verify
1405    /// it is called by your mocks.
1406    fn get_polling_backoff_policy(
1407        &self,
1408        _options: &gax::options::RequestOptions,
1409    ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
1410        std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
1411    }
1412}
1413
1414/// Defines the trait used to implement [super::client::DataScanService].
1415///
1416/// Application developers may need to implement this trait to mock
1417/// `client::DataScanService`.  In other use-cases, application developers only
1418/// use `client::DataScanService` and need not be concerned with this trait or
1419/// its implementations.
1420///
1421/// Services gain new RPCs routinely. Consequently, this trait gains new methods
1422/// too. To avoid breaking applications the trait provides a default
1423/// implementation of each method. Most of these implementations just return an
1424/// error.
1425pub trait DataScanService: std::fmt::Debug + Send + Sync {
1426    /// Implements [super::client::DataScanService::create_data_scan].
1427    fn create_data_scan(
1428        &self,
1429        _req: crate::model::CreateDataScanRequest,
1430        _options: gax::options::RequestOptions,
1431    ) -> impl std::future::Future<
1432        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1433    > + Send {
1434        gaxi::unimplemented::unimplemented_stub()
1435    }
1436
1437    /// Implements [super::client::DataScanService::update_data_scan].
1438    fn update_data_scan(
1439        &self,
1440        _req: crate::model::UpdateDataScanRequest,
1441        _options: gax::options::RequestOptions,
1442    ) -> impl std::future::Future<
1443        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1444    > + Send {
1445        gaxi::unimplemented::unimplemented_stub()
1446    }
1447
1448    /// Implements [super::client::DataScanService::delete_data_scan].
1449    fn delete_data_scan(
1450        &self,
1451        _req: crate::model::DeleteDataScanRequest,
1452        _options: gax::options::RequestOptions,
1453    ) -> impl std::future::Future<
1454        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1455    > + Send {
1456        gaxi::unimplemented::unimplemented_stub()
1457    }
1458
1459    /// Implements [super::client::DataScanService::get_data_scan].
1460    fn get_data_scan(
1461        &self,
1462        _req: crate::model::GetDataScanRequest,
1463        _options: gax::options::RequestOptions,
1464    ) -> impl std::future::Future<
1465        Output = crate::Result<gax::response::Response<crate::model::DataScan>>,
1466    > + Send {
1467        gaxi::unimplemented::unimplemented_stub()
1468    }
1469
1470    /// Implements [super::client::DataScanService::list_data_scans].
1471    fn list_data_scans(
1472        &self,
1473        _req: crate::model::ListDataScansRequest,
1474        _options: gax::options::RequestOptions,
1475    ) -> impl std::future::Future<
1476        Output = crate::Result<gax::response::Response<crate::model::ListDataScansResponse>>,
1477    > + Send {
1478        gaxi::unimplemented::unimplemented_stub()
1479    }
1480
1481    /// Implements [super::client::DataScanService::run_data_scan].
1482    fn run_data_scan(
1483        &self,
1484        _req: crate::model::RunDataScanRequest,
1485        _options: gax::options::RequestOptions,
1486    ) -> impl std::future::Future<
1487        Output = crate::Result<gax::response::Response<crate::model::RunDataScanResponse>>,
1488    > + Send {
1489        gaxi::unimplemented::unimplemented_stub()
1490    }
1491
1492    /// Implements [super::client::DataScanService::get_data_scan_job].
1493    fn get_data_scan_job(
1494        &self,
1495        _req: crate::model::GetDataScanJobRequest,
1496        _options: gax::options::RequestOptions,
1497    ) -> impl std::future::Future<
1498        Output = crate::Result<gax::response::Response<crate::model::DataScanJob>>,
1499    > + Send {
1500        gaxi::unimplemented::unimplemented_stub()
1501    }
1502
1503    /// Implements [super::client::DataScanService::list_data_scan_jobs].
1504    fn list_data_scan_jobs(
1505        &self,
1506        _req: crate::model::ListDataScanJobsRequest,
1507        _options: gax::options::RequestOptions,
1508    ) -> impl std::future::Future<
1509        Output = crate::Result<gax::response::Response<crate::model::ListDataScanJobsResponse>>,
1510    > + Send {
1511        gaxi::unimplemented::unimplemented_stub()
1512    }
1513
1514    /// Implements [super::client::DataScanService::generate_data_quality_rules].
1515    fn generate_data_quality_rules(
1516        &self,
1517        _req: crate::model::GenerateDataQualityRulesRequest,
1518        _options: gax::options::RequestOptions,
1519    ) -> impl std::future::Future<
1520        Output = crate::Result<
1521            gax::response::Response<crate::model::GenerateDataQualityRulesResponse>,
1522        >,
1523    > + Send {
1524        gaxi::unimplemented::unimplemented_stub()
1525    }
1526
1527    /// Implements [super::client::DataScanService::list_locations].
1528    fn list_locations(
1529        &self,
1530        _req: location::model::ListLocationsRequest,
1531        _options: gax::options::RequestOptions,
1532    ) -> impl std::future::Future<
1533        Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
1534    > + Send {
1535        gaxi::unimplemented::unimplemented_stub()
1536    }
1537
1538    /// Implements [super::client::DataScanService::get_location].
1539    fn get_location(
1540        &self,
1541        _req: location::model::GetLocationRequest,
1542        _options: gax::options::RequestOptions,
1543    ) -> impl std::future::Future<
1544        Output = crate::Result<gax::response::Response<location::model::Location>>,
1545    > + Send {
1546        gaxi::unimplemented::unimplemented_stub()
1547    }
1548
1549    /// Implements [super::client::DataScanService::set_iam_policy].
1550    fn set_iam_policy(
1551        &self,
1552        _req: iam_v1::model::SetIamPolicyRequest,
1553        _options: gax::options::RequestOptions,
1554    ) -> impl std::future::Future<
1555        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
1556    > + Send {
1557        gaxi::unimplemented::unimplemented_stub()
1558    }
1559
1560    /// Implements [super::client::DataScanService::get_iam_policy].
1561    fn get_iam_policy(
1562        &self,
1563        _req: iam_v1::model::GetIamPolicyRequest,
1564        _options: gax::options::RequestOptions,
1565    ) -> impl std::future::Future<
1566        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
1567    > + Send {
1568        gaxi::unimplemented::unimplemented_stub()
1569    }
1570
1571    /// Implements [super::client::DataScanService::test_iam_permissions].
1572    fn test_iam_permissions(
1573        &self,
1574        _req: iam_v1::model::TestIamPermissionsRequest,
1575        _options: gax::options::RequestOptions,
1576    ) -> impl std::future::Future<
1577        Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
1578    > + Send {
1579        gaxi::unimplemented::unimplemented_stub()
1580    }
1581
1582    /// Implements [super::client::DataScanService::list_operations].
1583    fn list_operations(
1584        &self,
1585        _req: longrunning::model::ListOperationsRequest,
1586        _options: gax::options::RequestOptions,
1587    ) -> impl std::future::Future<
1588        Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
1589    > + Send {
1590        gaxi::unimplemented::unimplemented_stub()
1591    }
1592
1593    /// Implements [super::client::DataScanService::get_operation].
1594    fn get_operation(
1595        &self,
1596        _req: longrunning::model::GetOperationRequest,
1597        _options: gax::options::RequestOptions,
1598    ) -> impl std::future::Future<
1599        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1600    > + Send {
1601        gaxi::unimplemented::unimplemented_stub()
1602    }
1603
1604    /// Implements [super::client::DataScanService::delete_operation].
1605    fn delete_operation(
1606        &self,
1607        _req: longrunning::model::DeleteOperationRequest,
1608        _options: gax::options::RequestOptions,
1609    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
1610        gaxi::unimplemented::unimplemented_stub()
1611    }
1612
1613    /// Implements [super::client::DataScanService::cancel_operation].
1614    fn cancel_operation(
1615        &self,
1616        _req: longrunning::model::CancelOperationRequest,
1617        _options: gax::options::RequestOptions,
1618    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
1619        gaxi::unimplemented::unimplemented_stub()
1620    }
1621
1622    /// Returns the polling error policy.
1623    ///
1624    /// When mocking, this method is typically irrelevant. Do not try to verify
1625    /// it is called by your mocks.
1626    fn get_polling_error_policy(
1627        &self,
1628        _options: &gax::options::RequestOptions,
1629    ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
1630        std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
1631    }
1632
1633    /// Returns the polling backoff policy.
1634    ///
1635    /// When mocking, this method is typically irrelevant. Do not try to verify
1636    /// it is called by your mocks.
1637    fn get_polling_backoff_policy(
1638        &self,
1639        _options: &gax::options::RequestOptions,
1640    ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
1641        std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
1642    }
1643}
1644
1645/// Defines the trait used to implement [super::client::MetadataService].
1646///
1647/// Application developers may need to implement this trait to mock
1648/// `client::MetadataService`.  In other use-cases, application developers only
1649/// use `client::MetadataService` and need not be concerned with this trait or
1650/// its implementations.
1651///
1652/// Services gain new RPCs routinely. Consequently, this trait gains new methods
1653/// too. To avoid breaking applications the trait provides a default
1654/// implementation of each method. Most of these implementations just return an
1655/// error.
1656pub trait MetadataService: std::fmt::Debug + Send + Sync {
1657    /// Implements [super::client::MetadataService::create_entity].
1658    fn create_entity(
1659        &self,
1660        _req: crate::model::CreateEntityRequest,
1661        _options: gax::options::RequestOptions,
1662    ) -> impl std::future::Future<
1663        Output = crate::Result<gax::response::Response<crate::model::Entity>>,
1664    > + Send {
1665        gaxi::unimplemented::unimplemented_stub()
1666    }
1667
1668    /// Implements [super::client::MetadataService::update_entity].
1669    fn update_entity(
1670        &self,
1671        _req: crate::model::UpdateEntityRequest,
1672        _options: gax::options::RequestOptions,
1673    ) -> impl std::future::Future<
1674        Output = crate::Result<gax::response::Response<crate::model::Entity>>,
1675    > + Send {
1676        gaxi::unimplemented::unimplemented_stub()
1677    }
1678
1679    /// Implements [super::client::MetadataService::delete_entity].
1680    fn delete_entity(
1681        &self,
1682        _req: crate::model::DeleteEntityRequest,
1683        _options: gax::options::RequestOptions,
1684    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
1685        gaxi::unimplemented::unimplemented_stub()
1686    }
1687
1688    /// Implements [super::client::MetadataService::get_entity].
1689    fn get_entity(
1690        &self,
1691        _req: crate::model::GetEntityRequest,
1692        _options: gax::options::RequestOptions,
1693    ) -> impl std::future::Future<
1694        Output = crate::Result<gax::response::Response<crate::model::Entity>>,
1695    > + Send {
1696        gaxi::unimplemented::unimplemented_stub()
1697    }
1698
1699    /// Implements [super::client::MetadataService::list_entities].
1700    fn list_entities(
1701        &self,
1702        _req: crate::model::ListEntitiesRequest,
1703        _options: gax::options::RequestOptions,
1704    ) -> impl std::future::Future<
1705        Output = crate::Result<gax::response::Response<crate::model::ListEntitiesResponse>>,
1706    > + Send {
1707        gaxi::unimplemented::unimplemented_stub()
1708    }
1709
1710    /// Implements [super::client::MetadataService::create_partition].
1711    fn create_partition(
1712        &self,
1713        _req: crate::model::CreatePartitionRequest,
1714        _options: gax::options::RequestOptions,
1715    ) -> impl std::future::Future<
1716        Output = crate::Result<gax::response::Response<crate::model::Partition>>,
1717    > + Send {
1718        gaxi::unimplemented::unimplemented_stub()
1719    }
1720
1721    /// Implements [super::client::MetadataService::delete_partition].
1722    fn delete_partition(
1723        &self,
1724        _req: crate::model::DeletePartitionRequest,
1725        _options: gax::options::RequestOptions,
1726    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
1727        gaxi::unimplemented::unimplemented_stub()
1728    }
1729
1730    /// Implements [super::client::MetadataService::get_partition].
1731    fn get_partition(
1732        &self,
1733        _req: crate::model::GetPartitionRequest,
1734        _options: gax::options::RequestOptions,
1735    ) -> impl std::future::Future<
1736        Output = crate::Result<gax::response::Response<crate::model::Partition>>,
1737    > + Send {
1738        gaxi::unimplemented::unimplemented_stub()
1739    }
1740
1741    /// Implements [super::client::MetadataService::list_partitions].
1742    fn list_partitions(
1743        &self,
1744        _req: crate::model::ListPartitionsRequest,
1745        _options: gax::options::RequestOptions,
1746    ) -> impl std::future::Future<
1747        Output = crate::Result<gax::response::Response<crate::model::ListPartitionsResponse>>,
1748    > + Send {
1749        gaxi::unimplemented::unimplemented_stub()
1750    }
1751
1752    /// Implements [super::client::MetadataService::list_locations].
1753    fn list_locations(
1754        &self,
1755        _req: location::model::ListLocationsRequest,
1756        _options: gax::options::RequestOptions,
1757    ) -> impl std::future::Future<
1758        Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
1759    > + Send {
1760        gaxi::unimplemented::unimplemented_stub()
1761    }
1762
1763    /// Implements [super::client::MetadataService::get_location].
1764    fn get_location(
1765        &self,
1766        _req: location::model::GetLocationRequest,
1767        _options: gax::options::RequestOptions,
1768    ) -> impl std::future::Future<
1769        Output = crate::Result<gax::response::Response<location::model::Location>>,
1770    > + Send {
1771        gaxi::unimplemented::unimplemented_stub()
1772    }
1773
1774    /// Implements [super::client::MetadataService::set_iam_policy].
1775    fn set_iam_policy(
1776        &self,
1777        _req: iam_v1::model::SetIamPolicyRequest,
1778        _options: gax::options::RequestOptions,
1779    ) -> impl std::future::Future<
1780        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
1781    > + Send {
1782        gaxi::unimplemented::unimplemented_stub()
1783    }
1784
1785    /// Implements [super::client::MetadataService::get_iam_policy].
1786    fn get_iam_policy(
1787        &self,
1788        _req: iam_v1::model::GetIamPolicyRequest,
1789        _options: gax::options::RequestOptions,
1790    ) -> impl std::future::Future<
1791        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
1792    > + Send {
1793        gaxi::unimplemented::unimplemented_stub()
1794    }
1795
1796    /// Implements [super::client::MetadataService::test_iam_permissions].
1797    fn test_iam_permissions(
1798        &self,
1799        _req: iam_v1::model::TestIamPermissionsRequest,
1800        _options: gax::options::RequestOptions,
1801    ) -> impl std::future::Future<
1802        Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
1803    > + Send {
1804        gaxi::unimplemented::unimplemented_stub()
1805    }
1806
1807    /// Implements [super::client::MetadataService::list_operations].
1808    fn list_operations(
1809        &self,
1810        _req: longrunning::model::ListOperationsRequest,
1811        _options: gax::options::RequestOptions,
1812    ) -> impl std::future::Future<
1813        Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
1814    > + Send {
1815        gaxi::unimplemented::unimplemented_stub()
1816    }
1817
1818    /// Implements [super::client::MetadataService::get_operation].
1819    fn get_operation(
1820        &self,
1821        _req: longrunning::model::GetOperationRequest,
1822        _options: gax::options::RequestOptions,
1823    ) -> impl std::future::Future<
1824        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1825    > + Send {
1826        gaxi::unimplemented::unimplemented_stub()
1827    }
1828
1829    /// Implements [super::client::MetadataService::delete_operation].
1830    fn delete_operation(
1831        &self,
1832        _req: longrunning::model::DeleteOperationRequest,
1833        _options: gax::options::RequestOptions,
1834    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
1835        gaxi::unimplemented::unimplemented_stub()
1836    }
1837
1838    /// Implements [super::client::MetadataService::cancel_operation].
1839    fn cancel_operation(
1840        &self,
1841        _req: longrunning::model::CancelOperationRequest,
1842        _options: gax::options::RequestOptions,
1843    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
1844        gaxi::unimplemented::unimplemented_stub()
1845    }
1846}
1847
1848/// Defines the trait used to implement [super::client::DataplexService].
1849///
1850/// Application developers may need to implement this trait to mock
1851/// `client::DataplexService`.  In other use-cases, application developers only
1852/// use `client::DataplexService` and need not be concerned with this trait or
1853/// its implementations.
1854///
1855/// Services gain new RPCs routinely. Consequently, this trait gains new methods
1856/// too. To avoid breaking applications the trait provides a default
1857/// implementation of each method. Most of these implementations just return an
1858/// error.
1859pub trait DataplexService: std::fmt::Debug + Send + Sync {
1860    /// Implements [super::client::DataplexService::create_lake].
1861    fn create_lake(
1862        &self,
1863        _req: crate::model::CreateLakeRequest,
1864        _options: gax::options::RequestOptions,
1865    ) -> impl std::future::Future<
1866        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1867    > + Send {
1868        gaxi::unimplemented::unimplemented_stub()
1869    }
1870
1871    /// Implements [super::client::DataplexService::update_lake].
1872    fn update_lake(
1873        &self,
1874        _req: crate::model::UpdateLakeRequest,
1875        _options: gax::options::RequestOptions,
1876    ) -> impl std::future::Future<
1877        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1878    > + Send {
1879        gaxi::unimplemented::unimplemented_stub()
1880    }
1881
1882    /// Implements [super::client::DataplexService::delete_lake].
1883    fn delete_lake(
1884        &self,
1885        _req: crate::model::DeleteLakeRequest,
1886        _options: gax::options::RequestOptions,
1887    ) -> impl std::future::Future<
1888        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1889    > + Send {
1890        gaxi::unimplemented::unimplemented_stub()
1891    }
1892
1893    /// Implements [super::client::DataplexService::list_lakes].
1894    fn list_lakes(
1895        &self,
1896        _req: crate::model::ListLakesRequest,
1897        _options: gax::options::RequestOptions,
1898    ) -> impl std::future::Future<
1899        Output = crate::Result<gax::response::Response<crate::model::ListLakesResponse>>,
1900    > + Send {
1901        gaxi::unimplemented::unimplemented_stub()
1902    }
1903
1904    /// Implements [super::client::DataplexService::get_lake].
1905    fn get_lake(
1906        &self,
1907        _req: crate::model::GetLakeRequest,
1908        _options: gax::options::RequestOptions,
1909    ) -> impl std::future::Future<
1910        Output = crate::Result<gax::response::Response<crate::model::Lake>>,
1911    > + Send {
1912        gaxi::unimplemented::unimplemented_stub()
1913    }
1914
1915    /// Implements [super::client::DataplexService::list_lake_actions].
1916    fn list_lake_actions(
1917        &self,
1918        _req: crate::model::ListLakeActionsRequest,
1919        _options: gax::options::RequestOptions,
1920    ) -> impl std::future::Future<
1921        Output = crate::Result<gax::response::Response<crate::model::ListActionsResponse>>,
1922    > + Send {
1923        gaxi::unimplemented::unimplemented_stub()
1924    }
1925
1926    /// Implements [super::client::DataplexService::create_zone].
1927    fn create_zone(
1928        &self,
1929        _req: crate::model::CreateZoneRequest,
1930        _options: gax::options::RequestOptions,
1931    ) -> impl std::future::Future<
1932        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1933    > + Send {
1934        gaxi::unimplemented::unimplemented_stub()
1935    }
1936
1937    /// Implements [super::client::DataplexService::update_zone].
1938    fn update_zone(
1939        &self,
1940        _req: crate::model::UpdateZoneRequest,
1941        _options: gax::options::RequestOptions,
1942    ) -> impl std::future::Future<
1943        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1944    > + Send {
1945        gaxi::unimplemented::unimplemented_stub()
1946    }
1947
1948    /// Implements [super::client::DataplexService::delete_zone].
1949    fn delete_zone(
1950        &self,
1951        _req: crate::model::DeleteZoneRequest,
1952        _options: gax::options::RequestOptions,
1953    ) -> impl std::future::Future<
1954        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1955    > + Send {
1956        gaxi::unimplemented::unimplemented_stub()
1957    }
1958
1959    /// Implements [super::client::DataplexService::list_zones].
1960    fn list_zones(
1961        &self,
1962        _req: crate::model::ListZonesRequest,
1963        _options: gax::options::RequestOptions,
1964    ) -> impl std::future::Future<
1965        Output = crate::Result<gax::response::Response<crate::model::ListZonesResponse>>,
1966    > + Send {
1967        gaxi::unimplemented::unimplemented_stub()
1968    }
1969
1970    /// Implements [super::client::DataplexService::get_zone].
1971    fn get_zone(
1972        &self,
1973        _req: crate::model::GetZoneRequest,
1974        _options: gax::options::RequestOptions,
1975    ) -> impl std::future::Future<
1976        Output = crate::Result<gax::response::Response<crate::model::Zone>>,
1977    > + Send {
1978        gaxi::unimplemented::unimplemented_stub()
1979    }
1980
1981    /// Implements [super::client::DataplexService::list_zone_actions].
1982    fn list_zone_actions(
1983        &self,
1984        _req: crate::model::ListZoneActionsRequest,
1985        _options: gax::options::RequestOptions,
1986    ) -> impl std::future::Future<
1987        Output = crate::Result<gax::response::Response<crate::model::ListActionsResponse>>,
1988    > + Send {
1989        gaxi::unimplemented::unimplemented_stub()
1990    }
1991
1992    /// Implements [super::client::DataplexService::create_asset].
1993    fn create_asset(
1994        &self,
1995        _req: crate::model::CreateAssetRequest,
1996        _options: gax::options::RequestOptions,
1997    ) -> impl std::future::Future<
1998        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1999    > + Send {
2000        gaxi::unimplemented::unimplemented_stub()
2001    }
2002
2003    /// Implements [super::client::DataplexService::update_asset].
2004    fn update_asset(
2005        &self,
2006        _req: crate::model::UpdateAssetRequest,
2007        _options: gax::options::RequestOptions,
2008    ) -> impl std::future::Future<
2009        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
2010    > + Send {
2011        gaxi::unimplemented::unimplemented_stub()
2012    }
2013
2014    /// Implements [super::client::DataplexService::delete_asset].
2015    fn delete_asset(
2016        &self,
2017        _req: crate::model::DeleteAssetRequest,
2018        _options: gax::options::RequestOptions,
2019    ) -> impl std::future::Future<
2020        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
2021    > + Send {
2022        gaxi::unimplemented::unimplemented_stub()
2023    }
2024
2025    /// Implements [super::client::DataplexService::list_assets].
2026    fn list_assets(
2027        &self,
2028        _req: crate::model::ListAssetsRequest,
2029        _options: gax::options::RequestOptions,
2030    ) -> impl std::future::Future<
2031        Output = crate::Result<gax::response::Response<crate::model::ListAssetsResponse>>,
2032    > + Send {
2033        gaxi::unimplemented::unimplemented_stub()
2034    }
2035
2036    /// Implements [super::client::DataplexService::get_asset].
2037    fn get_asset(
2038        &self,
2039        _req: crate::model::GetAssetRequest,
2040        _options: gax::options::RequestOptions,
2041    ) -> impl std::future::Future<
2042        Output = crate::Result<gax::response::Response<crate::model::Asset>>,
2043    > + Send {
2044        gaxi::unimplemented::unimplemented_stub()
2045    }
2046
2047    /// Implements [super::client::DataplexService::list_asset_actions].
2048    fn list_asset_actions(
2049        &self,
2050        _req: crate::model::ListAssetActionsRequest,
2051        _options: gax::options::RequestOptions,
2052    ) -> impl std::future::Future<
2053        Output = crate::Result<gax::response::Response<crate::model::ListActionsResponse>>,
2054    > + Send {
2055        gaxi::unimplemented::unimplemented_stub()
2056    }
2057
2058    /// Implements [super::client::DataplexService::create_task].
2059    fn create_task(
2060        &self,
2061        _req: crate::model::CreateTaskRequest,
2062        _options: gax::options::RequestOptions,
2063    ) -> impl std::future::Future<
2064        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
2065    > + Send {
2066        gaxi::unimplemented::unimplemented_stub()
2067    }
2068
2069    /// Implements [super::client::DataplexService::update_task].
2070    fn update_task(
2071        &self,
2072        _req: crate::model::UpdateTaskRequest,
2073        _options: gax::options::RequestOptions,
2074    ) -> impl std::future::Future<
2075        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
2076    > + Send {
2077        gaxi::unimplemented::unimplemented_stub()
2078    }
2079
2080    /// Implements [super::client::DataplexService::delete_task].
2081    fn delete_task(
2082        &self,
2083        _req: crate::model::DeleteTaskRequest,
2084        _options: gax::options::RequestOptions,
2085    ) -> impl std::future::Future<
2086        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
2087    > + Send {
2088        gaxi::unimplemented::unimplemented_stub()
2089    }
2090
2091    /// Implements [super::client::DataplexService::list_tasks].
2092    fn list_tasks(
2093        &self,
2094        _req: crate::model::ListTasksRequest,
2095        _options: gax::options::RequestOptions,
2096    ) -> impl std::future::Future<
2097        Output = crate::Result<gax::response::Response<crate::model::ListTasksResponse>>,
2098    > + Send {
2099        gaxi::unimplemented::unimplemented_stub()
2100    }
2101
2102    /// Implements [super::client::DataplexService::get_task].
2103    fn get_task(
2104        &self,
2105        _req: crate::model::GetTaskRequest,
2106        _options: gax::options::RequestOptions,
2107    ) -> impl std::future::Future<
2108        Output = crate::Result<gax::response::Response<crate::model::Task>>,
2109    > + Send {
2110        gaxi::unimplemented::unimplemented_stub()
2111    }
2112
2113    /// Implements [super::client::DataplexService::list_jobs].
2114    fn list_jobs(
2115        &self,
2116        _req: crate::model::ListJobsRequest,
2117        _options: gax::options::RequestOptions,
2118    ) -> impl std::future::Future<
2119        Output = crate::Result<gax::response::Response<crate::model::ListJobsResponse>>,
2120    > + Send {
2121        gaxi::unimplemented::unimplemented_stub()
2122    }
2123
2124    /// Implements [super::client::DataplexService::run_task].
2125    fn run_task(
2126        &self,
2127        _req: crate::model::RunTaskRequest,
2128        _options: gax::options::RequestOptions,
2129    ) -> impl std::future::Future<
2130        Output = crate::Result<gax::response::Response<crate::model::RunTaskResponse>>,
2131    > + Send {
2132        gaxi::unimplemented::unimplemented_stub()
2133    }
2134
2135    /// Implements [super::client::DataplexService::get_job].
2136    fn get_job(
2137        &self,
2138        _req: crate::model::GetJobRequest,
2139        _options: gax::options::RequestOptions,
2140    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<crate::model::Job>>>
2141    + Send {
2142        gaxi::unimplemented::unimplemented_stub()
2143    }
2144
2145    /// Implements [super::client::DataplexService::cancel_job].
2146    fn cancel_job(
2147        &self,
2148        _req: crate::model::CancelJobRequest,
2149        _options: gax::options::RequestOptions,
2150    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
2151        gaxi::unimplemented::unimplemented_stub()
2152    }
2153
2154    /// Implements [super::client::DataplexService::create_environment].
2155    fn create_environment(
2156        &self,
2157        _req: crate::model::CreateEnvironmentRequest,
2158        _options: gax::options::RequestOptions,
2159    ) -> impl std::future::Future<
2160        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
2161    > + Send {
2162        gaxi::unimplemented::unimplemented_stub()
2163    }
2164
2165    /// Implements [super::client::DataplexService::update_environment].
2166    fn update_environment(
2167        &self,
2168        _req: crate::model::UpdateEnvironmentRequest,
2169        _options: gax::options::RequestOptions,
2170    ) -> impl std::future::Future<
2171        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
2172    > + Send {
2173        gaxi::unimplemented::unimplemented_stub()
2174    }
2175
2176    /// Implements [super::client::DataplexService::delete_environment].
2177    fn delete_environment(
2178        &self,
2179        _req: crate::model::DeleteEnvironmentRequest,
2180        _options: gax::options::RequestOptions,
2181    ) -> impl std::future::Future<
2182        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
2183    > + Send {
2184        gaxi::unimplemented::unimplemented_stub()
2185    }
2186
2187    /// Implements [super::client::DataplexService::list_environments].
2188    fn list_environments(
2189        &self,
2190        _req: crate::model::ListEnvironmentsRequest,
2191        _options: gax::options::RequestOptions,
2192    ) -> impl std::future::Future<
2193        Output = crate::Result<gax::response::Response<crate::model::ListEnvironmentsResponse>>,
2194    > + Send {
2195        gaxi::unimplemented::unimplemented_stub()
2196    }
2197
2198    /// Implements [super::client::DataplexService::get_environment].
2199    fn get_environment(
2200        &self,
2201        _req: crate::model::GetEnvironmentRequest,
2202        _options: gax::options::RequestOptions,
2203    ) -> impl std::future::Future<
2204        Output = crate::Result<gax::response::Response<crate::model::Environment>>,
2205    > + Send {
2206        gaxi::unimplemented::unimplemented_stub()
2207    }
2208
2209    /// Implements [super::client::DataplexService::list_sessions].
2210    fn list_sessions(
2211        &self,
2212        _req: crate::model::ListSessionsRequest,
2213        _options: gax::options::RequestOptions,
2214    ) -> impl std::future::Future<
2215        Output = crate::Result<gax::response::Response<crate::model::ListSessionsResponse>>,
2216    > + Send {
2217        gaxi::unimplemented::unimplemented_stub()
2218    }
2219
2220    /// Implements [super::client::DataplexService::list_locations].
2221    fn list_locations(
2222        &self,
2223        _req: location::model::ListLocationsRequest,
2224        _options: gax::options::RequestOptions,
2225    ) -> impl std::future::Future<
2226        Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
2227    > + Send {
2228        gaxi::unimplemented::unimplemented_stub()
2229    }
2230
2231    /// Implements [super::client::DataplexService::get_location].
2232    fn get_location(
2233        &self,
2234        _req: location::model::GetLocationRequest,
2235        _options: gax::options::RequestOptions,
2236    ) -> impl std::future::Future<
2237        Output = crate::Result<gax::response::Response<location::model::Location>>,
2238    > + Send {
2239        gaxi::unimplemented::unimplemented_stub()
2240    }
2241
2242    /// Implements [super::client::DataplexService::set_iam_policy].
2243    fn set_iam_policy(
2244        &self,
2245        _req: iam_v1::model::SetIamPolicyRequest,
2246        _options: gax::options::RequestOptions,
2247    ) -> impl std::future::Future<
2248        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
2249    > + Send {
2250        gaxi::unimplemented::unimplemented_stub()
2251    }
2252
2253    /// Implements [super::client::DataplexService::get_iam_policy].
2254    fn get_iam_policy(
2255        &self,
2256        _req: iam_v1::model::GetIamPolicyRequest,
2257        _options: gax::options::RequestOptions,
2258    ) -> impl std::future::Future<
2259        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
2260    > + Send {
2261        gaxi::unimplemented::unimplemented_stub()
2262    }
2263
2264    /// Implements [super::client::DataplexService::test_iam_permissions].
2265    fn test_iam_permissions(
2266        &self,
2267        _req: iam_v1::model::TestIamPermissionsRequest,
2268        _options: gax::options::RequestOptions,
2269    ) -> impl std::future::Future<
2270        Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
2271    > + Send {
2272        gaxi::unimplemented::unimplemented_stub()
2273    }
2274
2275    /// Implements [super::client::DataplexService::list_operations].
2276    fn list_operations(
2277        &self,
2278        _req: longrunning::model::ListOperationsRequest,
2279        _options: gax::options::RequestOptions,
2280    ) -> impl std::future::Future<
2281        Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
2282    > + Send {
2283        gaxi::unimplemented::unimplemented_stub()
2284    }
2285
2286    /// Implements [super::client::DataplexService::get_operation].
2287    fn get_operation(
2288        &self,
2289        _req: longrunning::model::GetOperationRequest,
2290        _options: gax::options::RequestOptions,
2291    ) -> impl std::future::Future<
2292        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
2293    > + Send {
2294        gaxi::unimplemented::unimplemented_stub()
2295    }
2296
2297    /// Implements [super::client::DataplexService::delete_operation].
2298    fn delete_operation(
2299        &self,
2300        _req: longrunning::model::DeleteOperationRequest,
2301        _options: gax::options::RequestOptions,
2302    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
2303        gaxi::unimplemented::unimplemented_stub()
2304    }
2305
2306    /// Implements [super::client::DataplexService::cancel_operation].
2307    fn cancel_operation(
2308        &self,
2309        _req: longrunning::model::CancelOperationRequest,
2310        _options: gax::options::RequestOptions,
2311    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
2312        gaxi::unimplemented::unimplemented_stub()
2313    }
2314
2315    /// Returns the polling error policy.
2316    ///
2317    /// When mocking, this method is typically irrelevant. Do not try to verify
2318    /// it is called by your mocks.
2319    fn get_polling_error_policy(
2320        &self,
2321        _options: &gax::options::RequestOptions,
2322    ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
2323        std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
2324    }
2325
2326    /// Returns the polling backoff policy.
2327    ///
2328    /// When mocking, this method is typically irrelevant. Do not try to verify
2329    /// it is called by your mocks.
2330    fn get_polling_backoff_policy(
2331        &self,
2332        _options: &gax::options::RequestOptions,
2333    ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
2334        std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
2335    }
2336}