google_cloud_networkconnectivity_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::CrossNetworkAutomationService].
30///
31/// Application developers may need to implement this trait to mock
32/// `client::CrossNetworkAutomationService`.  In other use-cases, application developers only
33/// use `client::CrossNetworkAutomationService` 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 CrossNetworkAutomationService: std::fmt::Debug + Send + Sync {
41    /// Implements [super::client::CrossNetworkAutomationService::list_service_connection_maps].
42    fn list_service_connection_maps(
43        &self,
44        _req: crate::model::ListServiceConnectionMapsRequest,
45        _options: gax::options::RequestOptions,
46    ) -> impl std::future::Future<
47        Output = crate::Result<
48            gax::response::Response<crate::model::ListServiceConnectionMapsResponse>,
49        >,
50    > + Send {
51        gaxi::unimplemented::unimplemented_stub()
52    }
53
54    /// Implements [super::client::CrossNetworkAutomationService::get_service_connection_map].
55    fn get_service_connection_map(
56        &self,
57        _req: crate::model::GetServiceConnectionMapRequest,
58        _options: gax::options::RequestOptions,
59    ) -> impl std::future::Future<
60        Output = crate::Result<gax::response::Response<crate::model::ServiceConnectionMap>>,
61    > + Send {
62        gaxi::unimplemented::unimplemented_stub()
63    }
64
65    /// Implements [super::client::CrossNetworkAutomationService::create_service_connection_map].
66    fn create_service_connection_map(
67        &self,
68        _req: crate::model::CreateServiceConnectionMapRequest,
69        _options: gax::options::RequestOptions,
70    ) -> impl std::future::Future<
71        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
72    > + Send {
73        gaxi::unimplemented::unimplemented_stub()
74    }
75
76    /// Implements [super::client::CrossNetworkAutomationService::update_service_connection_map].
77    fn update_service_connection_map(
78        &self,
79        _req: crate::model::UpdateServiceConnectionMapRequest,
80        _options: gax::options::RequestOptions,
81    ) -> impl std::future::Future<
82        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
83    > + Send {
84        gaxi::unimplemented::unimplemented_stub()
85    }
86
87    /// Implements [super::client::CrossNetworkAutomationService::delete_service_connection_map].
88    fn delete_service_connection_map(
89        &self,
90        _req: crate::model::DeleteServiceConnectionMapRequest,
91        _options: gax::options::RequestOptions,
92    ) -> impl std::future::Future<
93        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
94    > + Send {
95        gaxi::unimplemented::unimplemented_stub()
96    }
97
98    /// Implements [super::client::CrossNetworkAutomationService::list_service_connection_policies].
99    fn list_service_connection_policies(
100        &self,
101        _req: crate::model::ListServiceConnectionPoliciesRequest,
102        _options: gax::options::RequestOptions,
103    ) -> impl std::future::Future<
104        Output = crate::Result<
105            gax::response::Response<crate::model::ListServiceConnectionPoliciesResponse>,
106        >,
107    > + Send {
108        gaxi::unimplemented::unimplemented_stub()
109    }
110
111    /// Implements [super::client::CrossNetworkAutomationService::get_service_connection_policy].
112    fn get_service_connection_policy(
113        &self,
114        _req: crate::model::GetServiceConnectionPolicyRequest,
115        _options: gax::options::RequestOptions,
116    ) -> impl std::future::Future<
117        Output = crate::Result<gax::response::Response<crate::model::ServiceConnectionPolicy>>,
118    > + Send {
119        gaxi::unimplemented::unimplemented_stub()
120    }
121
122    /// Implements [super::client::CrossNetworkAutomationService::create_service_connection_policy].
123    fn create_service_connection_policy(
124        &self,
125        _req: crate::model::CreateServiceConnectionPolicyRequest,
126        _options: gax::options::RequestOptions,
127    ) -> impl std::future::Future<
128        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
129    > + Send {
130        gaxi::unimplemented::unimplemented_stub()
131    }
132
133    /// Implements [super::client::CrossNetworkAutomationService::update_service_connection_policy].
134    fn update_service_connection_policy(
135        &self,
136        _req: crate::model::UpdateServiceConnectionPolicyRequest,
137        _options: gax::options::RequestOptions,
138    ) -> impl std::future::Future<
139        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
140    > + Send {
141        gaxi::unimplemented::unimplemented_stub()
142    }
143
144    /// Implements [super::client::CrossNetworkAutomationService::delete_service_connection_policy].
145    fn delete_service_connection_policy(
146        &self,
147        _req: crate::model::DeleteServiceConnectionPolicyRequest,
148        _options: gax::options::RequestOptions,
149    ) -> impl std::future::Future<
150        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
151    > + Send {
152        gaxi::unimplemented::unimplemented_stub()
153    }
154
155    /// Implements [super::client::CrossNetworkAutomationService::list_service_classes].
156    fn list_service_classes(
157        &self,
158        _req: crate::model::ListServiceClassesRequest,
159        _options: gax::options::RequestOptions,
160    ) -> impl std::future::Future<
161        Output = crate::Result<gax::response::Response<crate::model::ListServiceClassesResponse>>,
162    > + Send {
163        gaxi::unimplemented::unimplemented_stub()
164    }
165
166    /// Implements [super::client::CrossNetworkAutomationService::get_service_class].
167    fn get_service_class(
168        &self,
169        _req: crate::model::GetServiceClassRequest,
170        _options: gax::options::RequestOptions,
171    ) -> impl std::future::Future<
172        Output = crate::Result<gax::response::Response<crate::model::ServiceClass>>,
173    > + Send {
174        gaxi::unimplemented::unimplemented_stub()
175    }
176
177    /// Implements [super::client::CrossNetworkAutomationService::update_service_class].
178    fn update_service_class(
179        &self,
180        _req: crate::model::UpdateServiceClassRequest,
181        _options: gax::options::RequestOptions,
182    ) -> impl std::future::Future<
183        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
184    > + Send {
185        gaxi::unimplemented::unimplemented_stub()
186    }
187
188    /// Implements [super::client::CrossNetworkAutomationService::delete_service_class].
189    fn delete_service_class(
190        &self,
191        _req: crate::model::DeleteServiceClassRequest,
192        _options: gax::options::RequestOptions,
193    ) -> impl std::future::Future<
194        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
195    > + Send {
196        gaxi::unimplemented::unimplemented_stub()
197    }
198
199    /// Implements [super::client::CrossNetworkAutomationService::get_service_connection_token].
200    fn get_service_connection_token(
201        &self,
202        _req: crate::model::GetServiceConnectionTokenRequest,
203        _options: gax::options::RequestOptions,
204    ) -> impl std::future::Future<
205        Output = crate::Result<gax::response::Response<crate::model::ServiceConnectionToken>>,
206    > + Send {
207        gaxi::unimplemented::unimplemented_stub()
208    }
209
210    /// Implements [super::client::CrossNetworkAutomationService::list_service_connection_tokens].
211    fn list_service_connection_tokens(
212        &self,
213        _req: crate::model::ListServiceConnectionTokensRequest,
214        _options: gax::options::RequestOptions,
215    ) -> impl std::future::Future<
216        Output = crate::Result<
217            gax::response::Response<crate::model::ListServiceConnectionTokensResponse>,
218        >,
219    > + Send {
220        gaxi::unimplemented::unimplemented_stub()
221    }
222
223    /// Implements [super::client::CrossNetworkAutomationService::create_service_connection_token].
224    fn create_service_connection_token(
225        &self,
226        _req: crate::model::CreateServiceConnectionTokenRequest,
227        _options: gax::options::RequestOptions,
228    ) -> impl std::future::Future<
229        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
230    > + Send {
231        gaxi::unimplemented::unimplemented_stub()
232    }
233
234    /// Implements [super::client::CrossNetworkAutomationService::delete_service_connection_token].
235    fn delete_service_connection_token(
236        &self,
237        _req: crate::model::DeleteServiceConnectionTokenRequest,
238        _options: gax::options::RequestOptions,
239    ) -> impl std::future::Future<
240        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
241    > + Send {
242        gaxi::unimplemented::unimplemented_stub()
243    }
244
245    /// Implements [super::client::CrossNetworkAutomationService::list_locations].
246    fn list_locations(
247        &self,
248        _req: location::model::ListLocationsRequest,
249        _options: gax::options::RequestOptions,
250    ) -> impl std::future::Future<
251        Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
252    > + Send {
253        gaxi::unimplemented::unimplemented_stub()
254    }
255
256    /// Implements [super::client::CrossNetworkAutomationService::get_location].
257    fn get_location(
258        &self,
259        _req: location::model::GetLocationRequest,
260        _options: gax::options::RequestOptions,
261    ) -> impl std::future::Future<
262        Output = crate::Result<gax::response::Response<location::model::Location>>,
263    > + Send {
264        gaxi::unimplemented::unimplemented_stub()
265    }
266
267    /// Implements [super::client::CrossNetworkAutomationService::set_iam_policy].
268    fn set_iam_policy(
269        &self,
270        _req: iam_v1::model::SetIamPolicyRequest,
271        _options: gax::options::RequestOptions,
272    ) -> impl std::future::Future<
273        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
274    > + Send {
275        gaxi::unimplemented::unimplemented_stub()
276    }
277
278    /// Implements [super::client::CrossNetworkAutomationService::get_iam_policy].
279    fn get_iam_policy(
280        &self,
281        _req: iam_v1::model::GetIamPolicyRequest,
282        _options: gax::options::RequestOptions,
283    ) -> impl std::future::Future<
284        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
285    > + Send {
286        gaxi::unimplemented::unimplemented_stub()
287    }
288
289    /// Implements [super::client::CrossNetworkAutomationService::test_iam_permissions].
290    fn test_iam_permissions(
291        &self,
292        _req: iam_v1::model::TestIamPermissionsRequest,
293        _options: gax::options::RequestOptions,
294    ) -> impl std::future::Future<
295        Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
296    > + Send {
297        gaxi::unimplemented::unimplemented_stub()
298    }
299
300    /// Implements [super::client::CrossNetworkAutomationService::list_operations].
301    fn list_operations(
302        &self,
303        _req: longrunning::model::ListOperationsRequest,
304        _options: gax::options::RequestOptions,
305    ) -> impl std::future::Future<
306        Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
307    > + Send {
308        gaxi::unimplemented::unimplemented_stub()
309    }
310
311    /// Implements [super::client::CrossNetworkAutomationService::get_operation].
312    fn get_operation(
313        &self,
314        _req: longrunning::model::GetOperationRequest,
315        _options: gax::options::RequestOptions,
316    ) -> impl std::future::Future<
317        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
318    > + Send {
319        gaxi::unimplemented::unimplemented_stub()
320    }
321
322    /// Implements [super::client::CrossNetworkAutomationService::delete_operation].
323    fn delete_operation(
324        &self,
325        _req: longrunning::model::DeleteOperationRequest,
326        _options: gax::options::RequestOptions,
327    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
328        gaxi::unimplemented::unimplemented_stub()
329    }
330
331    /// Implements [super::client::CrossNetworkAutomationService::cancel_operation].
332    fn cancel_operation(
333        &self,
334        _req: longrunning::model::CancelOperationRequest,
335        _options: gax::options::RequestOptions,
336    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
337        gaxi::unimplemented::unimplemented_stub()
338    }
339
340    /// Returns the polling error policy.
341    ///
342    /// When mocking, this method is typically irrelevant. Do not try to verify
343    /// it is called by your mocks.
344    fn get_polling_error_policy(
345        &self,
346        _options: &gax::options::RequestOptions,
347    ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
348        std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
349    }
350
351    /// Returns the polling backoff policy.
352    ///
353    /// When mocking, this method is typically irrelevant. Do not try to verify
354    /// it is called by your mocks.
355    fn get_polling_backoff_policy(
356        &self,
357        _options: &gax::options::RequestOptions,
358    ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
359        std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
360    }
361}
362
363/// Defines the trait used to implement [super::client::DataTransferService].
364///
365/// Application developers may need to implement this trait to mock
366/// `client::DataTransferService`.  In other use-cases, application developers only
367/// use `client::DataTransferService` and need not be concerned with this trait or
368/// its implementations.
369///
370/// Services gain new RPCs routinely. Consequently, this trait gains new methods
371/// too. To avoid breaking applications the trait provides a default
372/// implementation of each method. Most of these implementations just return an
373/// error.
374pub trait DataTransferService: std::fmt::Debug + Send + Sync {
375    /// Implements [super::client::DataTransferService::list_multicloud_data_transfer_configs].
376    fn list_multicloud_data_transfer_configs(
377        &self,
378        _req: crate::model::ListMulticloudDataTransferConfigsRequest,
379        _options: gax::options::RequestOptions,
380    ) -> impl std::future::Future<
381        Output = crate::Result<
382            gax::response::Response<crate::model::ListMulticloudDataTransferConfigsResponse>,
383        >,
384    > + Send {
385        gaxi::unimplemented::unimplemented_stub()
386    }
387
388    /// Implements [super::client::DataTransferService::get_multicloud_data_transfer_config].
389    fn get_multicloud_data_transfer_config(
390        &self,
391        _req: crate::model::GetMulticloudDataTransferConfigRequest,
392        _options: gax::options::RequestOptions,
393    ) -> impl std::future::Future<
394        Output = crate::Result<gax::response::Response<crate::model::MulticloudDataTransferConfig>>,
395    > + Send {
396        gaxi::unimplemented::unimplemented_stub()
397    }
398
399    /// Implements [super::client::DataTransferService::create_multicloud_data_transfer_config].
400    fn create_multicloud_data_transfer_config(
401        &self,
402        _req: crate::model::CreateMulticloudDataTransferConfigRequest,
403        _options: gax::options::RequestOptions,
404    ) -> impl std::future::Future<
405        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
406    > + Send {
407        gaxi::unimplemented::unimplemented_stub()
408    }
409
410    /// Implements [super::client::DataTransferService::update_multicloud_data_transfer_config].
411    fn update_multicloud_data_transfer_config(
412        &self,
413        _req: crate::model::UpdateMulticloudDataTransferConfigRequest,
414        _options: gax::options::RequestOptions,
415    ) -> impl std::future::Future<
416        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
417    > + Send {
418        gaxi::unimplemented::unimplemented_stub()
419    }
420
421    /// Implements [super::client::DataTransferService::delete_multicloud_data_transfer_config].
422    fn delete_multicloud_data_transfer_config(
423        &self,
424        _req: crate::model::DeleteMulticloudDataTransferConfigRequest,
425        _options: gax::options::RequestOptions,
426    ) -> impl std::future::Future<
427        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
428    > + Send {
429        gaxi::unimplemented::unimplemented_stub()
430    }
431
432    /// Implements [super::client::DataTransferService::list_destinations].
433    fn list_destinations(
434        &self,
435        _req: crate::model::ListDestinationsRequest,
436        _options: gax::options::RequestOptions,
437    ) -> impl std::future::Future<
438        Output = crate::Result<gax::response::Response<crate::model::ListDestinationsResponse>>,
439    > + Send {
440        gaxi::unimplemented::unimplemented_stub()
441    }
442
443    /// Implements [super::client::DataTransferService::get_destination].
444    fn get_destination(
445        &self,
446        _req: crate::model::GetDestinationRequest,
447        _options: gax::options::RequestOptions,
448    ) -> impl std::future::Future<
449        Output = crate::Result<gax::response::Response<crate::model::Destination>>,
450    > + Send {
451        gaxi::unimplemented::unimplemented_stub()
452    }
453
454    /// Implements [super::client::DataTransferService::create_destination].
455    fn create_destination(
456        &self,
457        _req: crate::model::CreateDestinationRequest,
458        _options: gax::options::RequestOptions,
459    ) -> impl std::future::Future<
460        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
461    > + Send {
462        gaxi::unimplemented::unimplemented_stub()
463    }
464
465    /// Implements [super::client::DataTransferService::update_destination].
466    fn update_destination(
467        &self,
468        _req: crate::model::UpdateDestinationRequest,
469        _options: gax::options::RequestOptions,
470    ) -> impl std::future::Future<
471        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
472    > + Send {
473        gaxi::unimplemented::unimplemented_stub()
474    }
475
476    /// Implements [super::client::DataTransferService::delete_destination].
477    fn delete_destination(
478        &self,
479        _req: crate::model::DeleteDestinationRequest,
480        _options: gax::options::RequestOptions,
481    ) -> impl std::future::Future<
482        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
483    > + Send {
484        gaxi::unimplemented::unimplemented_stub()
485    }
486
487    /// Implements [super::client::DataTransferService::get_multicloud_data_transfer_supported_service].
488    fn get_multicloud_data_transfer_supported_service(
489        &self,
490        _req: crate::model::GetMulticloudDataTransferSupportedServiceRequest,
491        _options: gax::options::RequestOptions,
492    ) -> impl std::future::Future<
493        Output = crate::Result<
494            gax::response::Response<crate::model::MulticloudDataTransferSupportedService>,
495        >,
496    > + Send {
497        gaxi::unimplemented::unimplemented_stub()
498    }
499
500    /// Implements [super::client::DataTransferService::list_multicloud_data_transfer_supported_services].
501    fn list_multicloud_data_transfer_supported_services(
502        &self,
503        _req: crate::model::ListMulticloudDataTransferSupportedServicesRequest,
504        _options: gax::options::RequestOptions,
505    ) -> impl std::future::Future<
506        Output = crate::Result<
507            gax::response::Response<
508                crate::model::ListMulticloudDataTransferSupportedServicesResponse,
509            >,
510        >,
511    > + Send {
512        gaxi::unimplemented::unimplemented_stub()
513    }
514
515    /// Implements [super::client::DataTransferService::list_locations].
516    fn list_locations(
517        &self,
518        _req: location::model::ListLocationsRequest,
519        _options: gax::options::RequestOptions,
520    ) -> impl std::future::Future<
521        Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
522    > + Send {
523        gaxi::unimplemented::unimplemented_stub()
524    }
525
526    /// Implements [super::client::DataTransferService::get_location].
527    fn get_location(
528        &self,
529        _req: location::model::GetLocationRequest,
530        _options: gax::options::RequestOptions,
531    ) -> impl std::future::Future<
532        Output = crate::Result<gax::response::Response<location::model::Location>>,
533    > + Send {
534        gaxi::unimplemented::unimplemented_stub()
535    }
536
537    /// Implements [super::client::DataTransferService::set_iam_policy].
538    fn set_iam_policy(
539        &self,
540        _req: iam_v1::model::SetIamPolicyRequest,
541        _options: gax::options::RequestOptions,
542    ) -> impl std::future::Future<
543        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
544    > + Send {
545        gaxi::unimplemented::unimplemented_stub()
546    }
547
548    /// Implements [super::client::DataTransferService::get_iam_policy].
549    fn get_iam_policy(
550        &self,
551        _req: iam_v1::model::GetIamPolicyRequest,
552        _options: gax::options::RequestOptions,
553    ) -> impl std::future::Future<
554        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
555    > + Send {
556        gaxi::unimplemented::unimplemented_stub()
557    }
558
559    /// Implements [super::client::DataTransferService::test_iam_permissions].
560    fn test_iam_permissions(
561        &self,
562        _req: iam_v1::model::TestIamPermissionsRequest,
563        _options: gax::options::RequestOptions,
564    ) -> impl std::future::Future<
565        Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
566    > + Send {
567        gaxi::unimplemented::unimplemented_stub()
568    }
569
570    /// Implements [super::client::DataTransferService::list_operations].
571    fn list_operations(
572        &self,
573        _req: longrunning::model::ListOperationsRequest,
574        _options: gax::options::RequestOptions,
575    ) -> impl std::future::Future<
576        Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
577    > + Send {
578        gaxi::unimplemented::unimplemented_stub()
579    }
580
581    /// Implements [super::client::DataTransferService::get_operation].
582    fn get_operation(
583        &self,
584        _req: longrunning::model::GetOperationRequest,
585        _options: gax::options::RequestOptions,
586    ) -> impl std::future::Future<
587        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
588    > + Send {
589        gaxi::unimplemented::unimplemented_stub()
590    }
591
592    /// Implements [super::client::DataTransferService::delete_operation].
593    fn delete_operation(
594        &self,
595        _req: longrunning::model::DeleteOperationRequest,
596        _options: gax::options::RequestOptions,
597    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
598        gaxi::unimplemented::unimplemented_stub()
599    }
600
601    /// Implements [super::client::DataTransferService::cancel_operation].
602    fn cancel_operation(
603        &self,
604        _req: longrunning::model::CancelOperationRequest,
605        _options: gax::options::RequestOptions,
606    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
607        gaxi::unimplemented::unimplemented_stub()
608    }
609
610    /// Returns the polling error policy.
611    ///
612    /// When mocking, this method is typically irrelevant. Do not try to verify
613    /// it is called by your mocks.
614    fn get_polling_error_policy(
615        &self,
616        _options: &gax::options::RequestOptions,
617    ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
618        std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
619    }
620
621    /// Returns the polling backoff policy.
622    ///
623    /// When mocking, this method is typically irrelevant. Do not try to verify
624    /// it is called by your mocks.
625    fn get_polling_backoff_policy(
626        &self,
627        _options: &gax::options::RequestOptions,
628    ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
629        std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
630    }
631}
632
633/// Defines the trait used to implement [super::client::HubService].
634///
635/// Application developers may need to implement this trait to mock
636/// `client::HubService`.  In other use-cases, application developers only
637/// use `client::HubService` and need not be concerned with this trait or
638/// its implementations.
639///
640/// Services gain new RPCs routinely. Consequently, this trait gains new methods
641/// too. To avoid breaking applications the trait provides a default
642/// implementation of each method. Most of these implementations just return an
643/// error.
644pub trait HubService: std::fmt::Debug + Send + Sync {
645    /// Implements [super::client::HubService::list_hubs].
646    fn list_hubs(
647        &self,
648        _req: crate::model::ListHubsRequest,
649        _options: gax::options::RequestOptions,
650    ) -> impl std::future::Future<
651        Output = crate::Result<gax::response::Response<crate::model::ListHubsResponse>>,
652    > + Send {
653        gaxi::unimplemented::unimplemented_stub()
654    }
655
656    /// Implements [super::client::HubService::get_hub].
657    fn get_hub(
658        &self,
659        _req: crate::model::GetHubRequest,
660        _options: gax::options::RequestOptions,
661    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<crate::model::Hub>>>
662    + Send {
663        gaxi::unimplemented::unimplemented_stub()
664    }
665
666    /// Implements [super::client::HubService::create_hub].
667    fn create_hub(
668        &self,
669        _req: crate::model::CreateHubRequest,
670        _options: gax::options::RequestOptions,
671    ) -> impl std::future::Future<
672        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
673    > + Send {
674        gaxi::unimplemented::unimplemented_stub()
675    }
676
677    /// Implements [super::client::HubService::update_hub].
678    fn update_hub(
679        &self,
680        _req: crate::model::UpdateHubRequest,
681        _options: gax::options::RequestOptions,
682    ) -> impl std::future::Future<
683        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
684    > + Send {
685        gaxi::unimplemented::unimplemented_stub()
686    }
687
688    /// Implements [super::client::HubService::delete_hub].
689    fn delete_hub(
690        &self,
691        _req: crate::model::DeleteHubRequest,
692        _options: gax::options::RequestOptions,
693    ) -> impl std::future::Future<
694        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
695    > + Send {
696        gaxi::unimplemented::unimplemented_stub()
697    }
698
699    /// Implements [super::client::HubService::list_hub_spokes].
700    fn list_hub_spokes(
701        &self,
702        _req: crate::model::ListHubSpokesRequest,
703        _options: gax::options::RequestOptions,
704    ) -> impl std::future::Future<
705        Output = crate::Result<gax::response::Response<crate::model::ListHubSpokesResponse>>,
706    > + Send {
707        gaxi::unimplemented::unimplemented_stub()
708    }
709
710    /// Implements [super::client::HubService::query_hub_status].
711    fn query_hub_status(
712        &self,
713        _req: crate::model::QueryHubStatusRequest,
714        _options: gax::options::RequestOptions,
715    ) -> impl std::future::Future<
716        Output = crate::Result<gax::response::Response<crate::model::QueryHubStatusResponse>>,
717    > + Send {
718        gaxi::unimplemented::unimplemented_stub()
719    }
720
721    /// Implements [super::client::HubService::list_spokes].
722    fn list_spokes(
723        &self,
724        _req: crate::model::ListSpokesRequest,
725        _options: gax::options::RequestOptions,
726    ) -> impl std::future::Future<
727        Output = crate::Result<gax::response::Response<crate::model::ListSpokesResponse>>,
728    > + Send {
729        gaxi::unimplemented::unimplemented_stub()
730    }
731
732    /// Implements [super::client::HubService::get_spoke].
733    fn get_spoke(
734        &self,
735        _req: crate::model::GetSpokeRequest,
736        _options: gax::options::RequestOptions,
737    ) -> impl std::future::Future<
738        Output = crate::Result<gax::response::Response<crate::model::Spoke>>,
739    > + Send {
740        gaxi::unimplemented::unimplemented_stub()
741    }
742
743    /// Implements [super::client::HubService::create_spoke].
744    fn create_spoke(
745        &self,
746        _req: crate::model::CreateSpokeRequest,
747        _options: gax::options::RequestOptions,
748    ) -> impl std::future::Future<
749        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
750    > + Send {
751        gaxi::unimplemented::unimplemented_stub()
752    }
753
754    /// Implements [super::client::HubService::update_spoke].
755    fn update_spoke(
756        &self,
757        _req: crate::model::UpdateSpokeRequest,
758        _options: gax::options::RequestOptions,
759    ) -> impl std::future::Future<
760        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
761    > + Send {
762        gaxi::unimplemented::unimplemented_stub()
763    }
764
765    /// Implements [super::client::HubService::reject_hub_spoke].
766    fn reject_hub_spoke(
767        &self,
768        _req: crate::model::RejectHubSpokeRequest,
769        _options: gax::options::RequestOptions,
770    ) -> impl std::future::Future<
771        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
772    > + Send {
773        gaxi::unimplemented::unimplemented_stub()
774    }
775
776    /// Implements [super::client::HubService::accept_hub_spoke].
777    fn accept_hub_spoke(
778        &self,
779        _req: crate::model::AcceptHubSpokeRequest,
780        _options: gax::options::RequestOptions,
781    ) -> impl std::future::Future<
782        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
783    > + Send {
784        gaxi::unimplemented::unimplemented_stub()
785    }
786
787    /// Implements [super::client::HubService::accept_spoke_update].
788    fn accept_spoke_update(
789        &self,
790        _req: crate::model::AcceptSpokeUpdateRequest,
791        _options: gax::options::RequestOptions,
792    ) -> impl std::future::Future<
793        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
794    > + Send {
795        gaxi::unimplemented::unimplemented_stub()
796    }
797
798    /// Implements [super::client::HubService::reject_spoke_update].
799    fn reject_spoke_update(
800        &self,
801        _req: crate::model::RejectSpokeUpdateRequest,
802        _options: gax::options::RequestOptions,
803    ) -> impl std::future::Future<
804        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
805    > + Send {
806        gaxi::unimplemented::unimplemented_stub()
807    }
808
809    /// Implements [super::client::HubService::delete_spoke].
810    fn delete_spoke(
811        &self,
812        _req: crate::model::DeleteSpokeRequest,
813        _options: gax::options::RequestOptions,
814    ) -> impl std::future::Future<
815        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
816    > + Send {
817        gaxi::unimplemented::unimplemented_stub()
818    }
819
820    /// Implements [super::client::HubService::get_route_table].
821    fn get_route_table(
822        &self,
823        _req: crate::model::GetRouteTableRequest,
824        _options: gax::options::RequestOptions,
825    ) -> impl std::future::Future<
826        Output = crate::Result<gax::response::Response<crate::model::RouteTable>>,
827    > + Send {
828        gaxi::unimplemented::unimplemented_stub()
829    }
830
831    /// Implements [super::client::HubService::get_route].
832    fn get_route(
833        &self,
834        _req: crate::model::GetRouteRequest,
835        _options: gax::options::RequestOptions,
836    ) -> impl std::future::Future<
837        Output = crate::Result<gax::response::Response<crate::model::Route>>,
838    > + Send {
839        gaxi::unimplemented::unimplemented_stub()
840    }
841
842    /// Implements [super::client::HubService::list_routes].
843    fn list_routes(
844        &self,
845        _req: crate::model::ListRoutesRequest,
846        _options: gax::options::RequestOptions,
847    ) -> impl std::future::Future<
848        Output = crate::Result<gax::response::Response<crate::model::ListRoutesResponse>>,
849    > + Send {
850        gaxi::unimplemented::unimplemented_stub()
851    }
852
853    /// Implements [super::client::HubService::list_route_tables].
854    fn list_route_tables(
855        &self,
856        _req: crate::model::ListRouteTablesRequest,
857        _options: gax::options::RequestOptions,
858    ) -> impl std::future::Future<
859        Output = crate::Result<gax::response::Response<crate::model::ListRouteTablesResponse>>,
860    > + Send {
861        gaxi::unimplemented::unimplemented_stub()
862    }
863
864    /// Implements [super::client::HubService::get_group].
865    fn get_group(
866        &self,
867        _req: crate::model::GetGroupRequest,
868        _options: gax::options::RequestOptions,
869    ) -> impl std::future::Future<
870        Output = crate::Result<gax::response::Response<crate::model::Group>>,
871    > + Send {
872        gaxi::unimplemented::unimplemented_stub()
873    }
874
875    /// Implements [super::client::HubService::list_groups].
876    fn list_groups(
877        &self,
878        _req: crate::model::ListGroupsRequest,
879        _options: gax::options::RequestOptions,
880    ) -> impl std::future::Future<
881        Output = crate::Result<gax::response::Response<crate::model::ListGroupsResponse>>,
882    > + Send {
883        gaxi::unimplemented::unimplemented_stub()
884    }
885
886    /// Implements [super::client::HubService::update_group].
887    fn update_group(
888        &self,
889        _req: crate::model::UpdateGroupRequest,
890        _options: gax::options::RequestOptions,
891    ) -> impl std::future::Future<
892        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
893    > + Send {
894        gaxi::unimplemented::unimplemented_stub()
895    }
896
897    /// Implements [super::client::HubService::list_locations].
898    fn list_locations(
899        &self,
900        _req: location::model::ListLocationsRequest,
901        _options: gax::options::RequestOptions,
902    ) -> impl std::future::Future<
903        Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
904    > + Send {
905        gaxi::unimplemented::unimplemented_stub()
906    }
907
908    /// Implements [super::client::HubService::get_location].
909    fn get_location(
910        &self,
911        _req: location::model::GetLocationRequest,
912        _options: gax::options::RequestOptions,
913    ) -> impl std::future::Future<
914        Output = crate::Result<gax::response::Response<location::model::Location>>,
915    > + Send {
916        gaxi::unimplemented::unimplemented_stub()
917    }
918
919    /// Implements [super::client::HubService::set_iam_policy].
920    fn set_iam_policy(
921        &self,
922        _req: iam_v1::model::SetIamPolicyRequest,
923        _options: gax::options::RequestOptions,
924    ) -> impl std::future::Future<
925        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
926    > + Send {
927        gaxi::unimplemented::unimplemented_stub()
928    }
929
930    /// Implements [super::client::HubService::get_iam_policy].
931    fn get_iam_policy(
932        &self,
933        _req: iam_v1::model::GetIamPolicyRequest,
934        _options: gax::options::RequestOptions,
935    ) -> impl std::future::Future<
936        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
937    > + Send {
938        gaxi::unimplemented::unimplemented_stub()
939    }
940
941    /// Implements [super::client::HubService::test_iam_permissions].
942    fn test_iam_permissions(
943        &self,
944        _req: iam_v1::model::TestIamPermissionsRequest,
945        _options: gax::options::RequestOptions,
946    ) -> impl std::future::Future<
947        Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
948    > + Send {
949        gaxi::unimplemented::unimplemented_stub()
950    }
951
952    /// Implements [super::client::HubService::list_operations].
953    fn list_operations(
954        &self,
955        _req: longrunning::model::ListOperationsRequest,
956        _options: gax::options::RequestOptions,
957    ) -> impl std::future::Future<
958        Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
959    > + Send {
960        gaxi::unimplemented::unimplemented_stub()
961    }
962
963    /// Implements [super::client::HubService::get_operation].
964    fn get_operation(
965        &self,
966        _req: longrunning::model::GetOperationRequest,
967        _options: gax::options::RequestOptions,
968    ) -> impl std::future::Future<
969        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
970    > + Send {
971        gaxi::unimplemented::unimplemented_stub()
972    }
973
974    /// Implements [super::client::HubService::delete_operation].
975    fn delete_operation(
976        &self,
977        _req: longrunning::model::DeleteOperationRequest,
978        _options: gax::options::RequestOptions,
979    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
980        gaxi::unimplemented::unimplemented_stub()
981    }
982
983    /// Implements [super::client::HubService::cancel_operation].
984    fn cancel_operation(
985        &self,
986        _req: longrunning::model::CancelOperationRequest,
987        _options: gax::options::RequestOptions,
988    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
989        gaxi::unimplemented::unimplemented_stub()
990    }
991
992    /// Returns the polling error policy.
993    ///
994    /// When mocking, this method is typically irrelevant. Do not try to verify
995    /// it is called by your mocks.
996    fn get_polling_error_policy(
997        &self,
998        _options: &gax::options::RequestOptions,
999    ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
1000        std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
1001    }
1002
1003    /// Returns the polling backoff policy.
1004    ///
1005    /// When mocking, this method is typically irrelevant. Do not try to verify
1006    /// it is called by your mocks.
1007    fn get_polling_backoff_policy(
1008        &self,
1009        _options: &gax::options::RequestOptions,
1010    ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
1011        std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
1012    }
1013}
1014
1015/// Defines the trait used to implement [super::client::InternalRangeService].
1016///
1017/// Application developers may need to implement this trait to mock
1018/// `client::InternalRangeService`.  In other use-cases, application developers only
1019/// use `client::InternalRangeService` and need not be concerned with this trait or
1020/// its implementations.
1021///
1022/// Services gain new RPCs routinely. Consequently, this trait gains new methods
1023/// too. To avoid breaking applications the trait provides a default
1024/// implementation of each method. Most of these implementations just return an
1025/// error.
1026pub trait InternalRangeService: std::fmt::Debug + Send + Sync {
1027    /// Implements [super::client::InternalRangeService::list_internal_ranges].
1028    fn list_internal_ranges(
1029        &self,
1030        _req: crate::model::ListInternalRangesRequest,
1031        _options: gax::options::RequestOptions,
1032    ) -> impl std::future::Future<
1033        Output = crate::Result<gax::response::Response<crate::model::ListInternalRangesResponse>>,
1034    > + Send {
1035        gaxi::unimplemented::unimplemented_stub()
1036    }
1037
1038    /// Implements [super::client::InternalRangeService::get_internal_range].
1039    fn get_internal_range(
1040        &self,
1041        _req: crate::model::GetInternalRangeRequest,
1042        _options: gax::options::RequestOptions,
1043    ) -> impl std::future::Future<
1044        Output = crate::Result<gax::response::Response<crate::model::InternalRange>>,
1045    > + Send {
1046        gaxi::unimplemented::unimplemented_stub()
1047    }
1048
1049    /// Implements [super::client::InternalRangeService::create_internal_range].
1050    fn create_internal_range(
1051        &self,
1052        _req: crate::model::CreateInternalRangeRequest,
1053        _options: gax::options::RequestOptions,
1054    ) -> impl std::future::Future<
1055        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1056    > + Send {
1057        gaxi::unimplemented::unimplemented_stub()
1058    }
1059
1060    /// Implements [super::client::InternalRangeService::update_internal_range].
1061    fn update_internal_range(
1062        &self,
1063        _req: crate::model::UpdateInternalRangeRequest,
1064        _options: gax::options::RequestOptions,
1065    ) -> impl std::future::Future<
1066        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1067    > + Send {
1068        gaxi::unimplemented::unimplemented_stub()
1069    }
1070
1071    /// Implements [super::client::InternalRangeService::delete_internal_range].
1072    fn delete_internal_range(
1073        &self,
1074        _req: crate::model::DeleteInternalRangeRequest,
1075        _options: gax::options::RequestOptions,
1076    ) -> impl std::future::Future<
1077        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1078    > + Send {
1079        gaxi::unimplemented::unimplemented_stub()
1080    }
1081
1082    /// Implements [super::client::InternalRangeService::list_locations].
1083    fn list_locations(
1084        &self,
1085        _req: location::model::ListLocationsRequest,
1086        _options: gax::options::RequestOptions,
1087    ) -> impl std::future::Future<
1088        Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
1089    > + Send {
1090        gaxi::unimplemented::unimplemented_stub()
1091    }
1092
1093    /// Implements [super::client::InternalRangeService::get_location].
1094    fn get_location(
1095        &self,
1096        _req: location::model::GetLocationRequest,
1097        _options: gax::options::RequestOptions,
1098    ) -> impl std::future::Future<
1099        Output = crate::Result<gax::response::Response<location::model::Location>>,
1100    > + Send {
1101        gaxi::unimplemented::unimplemented_stub()
1102    }
1103
1104    /// Implements [super::client::InternalRangeService::set_iam_policy].
1105    fn set_iam_policy(
1106        &self,
1107        _req: iam_v1::model::SetIamPolicyRequest,
1108        _options: gax::options::RequestOptions,
1109    ) -> impl std::future::Future<
1110        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
1111    > + Send {
1112        gaxi::unimplemented::unimplemented_stub()
1113    }
1114
1115    /// Implements [super::client::InternalRangeService::get_iam_policy].
1116    fn get_iam_policy(
1117        &self,
1118        _req: iam_v1::model::GetIamPolicyRequest,
1119        _options: gax::options::RequestOptions,
1120    ) -> impl std::future::Future<
1121        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
1122    > + Send {
1123        gaxi::unimplemented::unimplemented_stub()
1124    }
1125
1126    /// Implements [super::client::InternalRangeService::test_iam_permissions].
1127    fn test_iam_permissions(
1128        &self,
1129        _req: iam_v1::model::TestIamPermissionsRequest,
1130        _options: gax::options::RequestOptions,
1131    ) -> impl std::future::Future<
1132        Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
1133    > + Send {
1134        gaxi::unimplemented::unimplemented_stub()
1135    }
1136
1137    /// Implements [super::client::InternalRangeService::list_operations].
1138    fn list_operations(
1139        &self,
1140        _req: longrunning::model::ListOperationsRequest,
1141        _options: gax::options::RequestOptions,
1142    ) -> impl std::future::Future<
1143        Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
1144    > + Send {
1145        gaxi::unimplemented::unimplemented_stub()
1146    }
1147
1148    /// Implements [super::client::InternalRangeService::get_operation].
1149    fn get_operation(
1150        &self,
1151        _req: longrunning::model::GetOperationRequest,
1152        _options: gax::options::RequestOptions,
1153    ) -> impl std::future::Future<
1154        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1155    > + Send {
1156        gaxi::unimplemented::unimplemented_stub()
1157    }
1158
1159    /// Implements [super::client::InternalRangeService::delete_operation].
1160    fn delete_operation(
1161        &self,
1162        _req: longrunning::model::DeleteOperationRequest,
1163        _options: gax::options::RequestOptions,
1164    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
1165        gaxi::unimplemented::unimplemented_stub()
1166    }
1167
1168    /// Implements [super::client::InternalRangeService::cancel_operation].
1169    fn cancel_operation(
1170        &self,
1171        _req: longrunning::model::CancelOperationRequest,
1172        _options: gax::options::RequestOptions,
1173    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
1174        gaxi::unimplemented::unimplemented_stub()
1175    }
1176
1177    /// Returns the polling error policy.
1178    ///
1179    /// When mocking, this method is typically irrelevant. Do not try to verify
1180    /// it is called by your mocks.
1181    fn get_polling_error_policy(
1182        &self,
1183        _options: &gax::options::RequestOptions,
1184    ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
1185        std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
1186    }
1187
1188    /// Returns the polling backoff policy.
1189    ///
1190    /// When mocking, this method is typically irrelevant. Do not try to verify
1191    /// it is called by your mocks.
1192    fn get_polling_backoff_policy(
1193        &self,
1194        _options: &gax::options::RequestOptions,
1195    ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
1196        std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
1197    }
1198}
1199
1200/// Defines the trait used to implement [super::client::PolicyBasedRoutingService].
1201///
1202/// Application developers may need to implement this trait to mock
1203/// `client::PolicyBasedRoutingService`.  In other use-cases, application developers only
1204/// use `client::PolicyBasedRoutingService` and need not be concerned with this trait or
1205/// its implementations.
1206///
1207/// Services gain new RPCs routinely. Consequently, this trait gains new methods
1208/// too. To avoid breaking applications the trait provides a default
1209/// implementation of each method. Most of these implementations just return an
1210/// error.
1211pub trait PolicyBasedRoutingService: std::fmt::Debug + Send + Sync {
1212    /// Implements [super::client::PolicyBasedRoutingService::list_policy_based_routes].
1213    fn list_policy_based_routes(
1214        &self,
1215        _req: crate::model::ListPolicyBasedRoutesRequest,
1216        _options: gax::options::RequestOptions,
1217    ) -> impl std::future::Future<
1218        Output = crate::Result<
1219            gax::response::Response<crate::model::ListPolicyBasedRoutesResponse>,
1220        >,
1221    > + Send {
1222        gaxi::unimplemented::unimplemented_stub()
1223    }
1224
1225    /// Implements [super::client::PolicyBasedRoutingService::get_policy_based_route].
1226    fn get_policy_based_route(
1227        &self,
1228        _req: crate::model::GetPolicyBasedRouteRequest,
1229        _options: gax::options::RequestOptions,
1230    ) -> impl std::future::Future<
1231        Output = crate::Result<gax::response::Response<crate::model::PolicyBasedRoute>>,
1232    > + Send {
1233        gaxi::unimplemented::unimplemented_stub()
1234    }
1235
1236    /// Implements [super::client::PolicyBasedRoutingService::create_policy_based_route].
1237    fn create_policy_based_route(
1238        &self,
1239        _req: crate::model::CreatePolicyBasedRouteRequest,
1240        _options: gax::options::RequestOptions,
1241    ) -> impl std::future::Future<
1242        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1243    > + Send {
1244        gaxi::unimplemented::unimplemented_stub()
1245    }
1246
1247    /// Implements [super::client::PolicyBasedRoutingService::delete_policy_based_route].
1248    fn delete_policy_based_route(
1249        &self,
1250        _req: crate::model::DeletePolicyBasedRouteRequest,
1251        _options: gax::options::RequestOptions,
1252    ) -> impl std::future::Future<
1253        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1254    > + Send {
1255        gaxi::unimplemented::unimplemented_stub()
1256    }
1257
1258    /// Implements [super::client::PolicyBasedRoutingService::list_locations].
1259    fn list_locations(
1260        &self,
1261        _req: location::model::ListLocationsRequest,
1262        _options: gax::options::RequestOptions,
1263    ) -> impl std::future::Future<
1264        Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
1265    > + Send {
1266        gaxi::unimplemented::unimplemented_stub()
1267    }
1268
1269    /// Implements [super::client::PolicyBasedRoutingService::get_location].
1270    fn get_location(
1271        &self,
1272        _req: location::model::GetLocationRequest,
1273        _options: gax::options::RequestOptions,
1274    ) -> impl std::future::Future<
1275        Output = crate::Result<gax::response::Response<location::model::Location>>,
1276    > + Send {
1277        gaxi::unimplemented::unimplemented_stub()
1278    }
1279
1280    /// Implements [super::client::PolicyBasedRoutingService::set_iam_policy].
1281    fn set_iam_policy(
1282        &self,
1283        _req: iam_v1::model::SetIamPolicyRequest,
1284        _options: gax::options::RequestOptions,
1285    ) -> impl std::future::Future<
1286        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
1287    > + Send {
1288        gaxi::unimplemented::unimplemented_stub()
1289    }
1290
1291    /// Implements [super::client::PolicyBasedRoutingService::get_iam_policy].
1292    fn get_iam_policy(
1293        &self,
1294        _req: iam_v1::model::GetIamPolicyRequest,
1295        _options: gax::options::RequestOptions,
1296    ) -> impl std::future::Future<
1297        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
1298    > + Send {
1299        gaxi::unimplemented::unimplemented_stub()
1300    }
1301
1302    /// Implements [super::client::PolicyBasedRoutingService::test_iam_permissions].
1303    fn test_iam_permissions(
1304        &self,
1305        _req: iam_v1::model::TestIamPermissionsRequest,
1306        _options: gax::options::RequestOptions,
1307    ) -> impl std::future::Future<
1308        Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
1309    > + Send {
1310        gaxi::unimplemented::unimplemented_stub()
1311    }
1312
1313    /// Implements [super::client::PolicyBasedRoutingService::list_operations].
1314    fn list_operations(
1315        &self,
1316        _req: longrunning::model::ListOperationsRequest,
1317        _options: gax::options::RequestOptions,
1318    ) -> impl std::future::Future<
1319        Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
1320    > + Send {
1321        gaxi::unimplemented::unimplemented_stub()
1322    }
1323
1324    /// Implements [super::client::PolicyBasedRoutingService::get_operation].
1325    fn get_operation(
1326        &self,
1327        _req: longrunning::model::GetOperationRequest,
1328        _options: gax::options::RequestOptions,
1329    ) -> impl std::future::Future<
1330        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1331    > + Send {
1332        gaxi::unimplemented::unimplemented_stub()
1333    }
1334
1335    /// Implements [super::client::PolicyBasedRoutingService::delete_operation].
1336    fn delete_operation(
1337        &self,
1338        _req: longrunning::model::DeleteOperationRequest,
1339        _options: gax::options::RequestOptions,
1340    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
1341        gaxi::unimplemented::unimplemented_stub()
1342    }
1343
1344    /// Implements [super::client::PolicyBasedRoutingService::cancel_operation].
1345    fn cancel_operation(
1346        &self,
1347        _req: longrunning::model::CancelOperationRequest,
1348        _options: gax::options::RequestOptions,
1349    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
1350        gaxi::unimplemented::unimplemented_stub()
1351    }
1352
1353    /// Returns the polling error policy.
1354    ///
1355    /// When mocking, this method is typically irrelevant. Do not try to verify
1356    /// it is called by your mocks.
1357    fn get_polling_error_policy(
1358        &self,
1359        _options: &gax::options::RequestOptions,
1360    ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
1361        std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
1362    }
1363
1364    /// Returns the polling backoff policy.
1365    ///
1366    /// When mocking, this method is typically irrelevant. Do not try to verify
1367    /// it is called by your mocks.
1368    fn get_polling_backoff_policy(
1369        &self,
1370        _options: &gax::options::RequestOptions,
1371    ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
1372        std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
1373    }
1374}