google_cloud_sql_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::SqlBackupRunsService].
30///
31/// Application developers may need to implement this trait to mock
32/// `client::SqlBackupRunsService`.  In other use-cases, application developers only
33/// use `client::SqlBackupRunsService` 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 SqlBackupRunsService: std::fmt::Debug + Send + Sync {
41    /// Implements [super::client::SqlBackupRunsService::delete].
42    fn delete(
43        &self,
44        _req: crate::model::SqlBackupRunsDeleteRequest,
45        _options: gax::options::RequestOptions,
46    ) -> impl std::future::Future<
47        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
48    > + Send {
49        gaxi::unimplemented::unimplemented_stub()
50    }
51
52    /// Implements [super::client::SqlBackupRunsService::get].
53    fn get(
54        &self,
55        _req: crate::model::SqlBackupRunsGetRequest,
56        _options: gax::options::RequestOptions,
57    ) -> impl std::future::Future<
58        Output = crate::Result<gax::response::Response<crate::model::BackupRun>>,
59    > + Send {
60        gaxi::unimplemented::unimplemented_stub()
61    }
62
63    /// Implements [super::client::SqlBackupRunsService::insert].
64    fn insert(
65        &self,
66        _req: crate::model::SqlBackupRunsInsertRequest,
67        _options: gax::options::RequestOptions,
68    ) -> impl std::future::Future<
69        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
70    > + Send {
71        gaxi::unimplemented::unimplemented_stub()
72    }
73
74    /// Implements [super::client::SqlBackupRunsService::list].
75    fn list(
76        &self,
77        _req: crate::model::SqlBackupRunsListRequest,
78        _options: gax::options::RequestOptions,
79    ) -> impl std::future::Future<
80        Output = crate::Result<gax::response::Response<crate::model::BackupRunsListResponse>>,
81    > + Send {
82        gaxi::unimplemented::unimplemented_stub()
83    }
84}
85
86/// Defines the trait used to implement [super::client::SqlConnectService].
87///
88/// Application developers may need to implement this trait to mock
89/// `client::SqlConnectService`.  In other use-cases, application developers only
90/// use `client::SqlConnectService` and need not be concerned with this trait or
91/// its implementations.
92///
93/// Services gain new RPCs routinely. Consequently, this trait gains new methods
94/// too. To avoid breaking applications the trait provides a default
95/// implementation of each method. Most of these implementations just return an
96/// error.
97pub trait SqlConnectService: std::fmt::Debug + Send + Sync {
98    /// Implements [super::client::SqlConnectService::get_connect_settings].
99    fn get_connect_settings(
100        &self,
101        _req: crate::model::GetConnectSettingsRequest,
102        _options: gax::options::RequestOptions,
103    ) -> impl std::future::Future<
104        Output = crate::Result<gax::response::Response<crate::model::ConnectSettings>>,
105    > + Send {
106        gaxi::unimplemented::unimplemented_stub()
107    }
108
109    /// Implements [super::client::SqlConnectService::generate_ephemeral_cert].
110    fn generate_ephemeral_cert(
111        &self,
112        _req: crate::model::GenerateEphemeralCertRequest,
113        _options: gax::options::RequestOptions,
114    ) -> impl std::future::Future<
115        Output = crate::Result<
116            gax::response::Response<crate::model::GenerateEphemeralCertResponse>,
117        >,
118    > + Send {
119        gaxi::unimplemented::unimplemented_stub()
120    }
121}
122
123/// Defines the trait used to implement [super::client::SqlDatabasesService].
124///
125/// Application developers may need to implement this trait to mock
126/// `client::SqlDatabasesService`.  In other use-cases, application developers only
127/// use `client::SqlDatabasesService` and need not be concerned with this trait or
128/// its implementations.
129///
130/// Services gain new RPCs routinely. Consequently, this trait gains new methods
131/// too. To avoid breaking applications the trait provides a default
132/// implementation of each method. Most of these implementations just return an
133/// error.
134pub trait SqlDatabasesService: std::fmt::Debug + Send + Sync {
135    /// Implements [super::client::SqlDatabasesService::delete].
136    fn delete(
137        &self,
138        _req: crate::model::SqlDatabasesDeleteRequest,
139        _options: gax::options::RequestOptions,
140    ) -> impl std::future::Future<
141        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
142    > + Send {
143        gaxi::unimplemented::unimplemented_stub()
144    }
145
146    /// Implements [super::client::SqlDatabasesService::get].
147    fn get(
148        &self,
149        _req: crate::model::SqlDatabasesGetRequest,
150        _options: gax::options::RequestOptions,
151    ) -> impl std::future::Future<
152        Output = crate::Result<gax::response::Response<crate::model::Database>>,
153    > + Send {
154        gaxi::unimplemented::unimplemented_stub()
155    }
156
157    /// Implements [super::client::SqlDatabasesService::insert].
158    fn insert(
159        &self,
160        _req: crate::model::SqlDatabasesInsertRequest,
161        _options: gax::options::RequestOptions,
162    ) -> impl std::future::Future<
163        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
164    > + Send {
165        gaxi::unimplemented::unimplemented_stub()
166    }
167
168    /// Implements [super::client::SqlDatabasesService::list].
169    fn list(
170        &self,
171        _req: crate::model::SqlDatabasesListRequest,
172        _options: gax::options::RequestOptions,
173    ) -> impl std::future::Future<
174        Output = crate::Result<gax::response::Response<crate::model::DatabasesListResponse>>,
175    > + Send {
176        gaxi::unimplemented::unimplemented_stub()
177    }
178
179    /// Implements [super::client::SqlDatabasesService::patch].
180    fn patch(
181        &self,
182        _req: crate::model::SqlDatabasesUpdateRequest,
183        _options: gax::options::RequestOptions,
184    ) -> impl std::future::Future<
185        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
186    > + Send {
187        gaxi::unimplemented::unimplemented_stub()
188    }
189
190    /// Implements [super::client::SqlDatabasesService::update].
191    fn update(
192        &self,
193        _req: crate::model::SqlDatabasesUpdateRequest,
194        _options: gax::options::RequestOptions,
195    ) -> impl std::future::Future<
196        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
197    > + Send {
198        gaxi::unimplemented::unimplemented_stub()
199    }
200}
201
202/// Defines the trait used to implement [super::client::SqlFlagsService].
203///
204/// Application developers may need to implement this trait to mock
205/// `client::SqlFlagsService`.  In other use-cases, application developers only
206/// use `client::SqlFlagsService` and need not be concerned with this trait or
207/// its implementations.
208///
209/// Services gain new RPCs routinely. Consequently, this trait gains new methods
210/// too. To avoid breaking applications the trait provides a default
211/// implementation of each method. Most of these implementations just return an
212/// error.
213pub trait SqlFlagsService: std::fmt::Debug + Send + Sync {
214    /// Implements [super::client::SqlFlagsService::list].
215    fn list(
216        &self,
217        _req: crate::model::SqlFlagsListRequest,
218        _options: gax::options::RequestOptions,
219    ) -> impl std::future::Future<
220        Output = crate::Result<gax::response::Response<crate::model::FlagsListResponse>>,
221    > + Send {
222        gaxi::unimplemented::unimplemented_stub()
223    }
224}
225
226/// Defines the trait used to implement [super::client::SqlInstancesService].
227///
228/// Application developers may need to implement this trait to mock
229/// `client::SqlInstancesService`.  In other use-cases, application developers only
230/// use `client::SqlInstancesService` and need not be concerned with this trait or
231/// its implementations.
232///
233/// Services gain new RPCs routinely. Consequently, this trait gains new methods
234/// too. To avoid breaking applications the trait provides a default
235/// implementation of each method. Most of these implementations just return an
236/// error.
237pub trait SqlInstancesService: std::fmt::Debug + Send + Sync {
238    /// Implements [super::client::SqlInstancesService::add_server_ca].
239    fn add_server_ca(
240        &self,
241        _req: crate::model::SqlInstancesAddServerCaRequest,
242        _options: gax::options::RequestOptions,
243    ) -> impl std::future::Future<
244        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
245    > + Send {
246        gaxi::unimplemented::unimplemented_stub()
247    }
248
249    /// Implements [super::client::SqlInstancesService::clone].
250    fn clone(
251        &self,
252        _req: crate::model::SqlInstancesCloneRequest,
253        _options: gax::options::RequestOptions,
254    ) -> impl std::future::Future<
255        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
256    > + Send {
257        gaxi::unimplemented::unimplemented_stub()
258    }
259
260    /// Implements [super::client::SqlInstancesService::delete].
261    fn delete(
262        &self,
263        _req: crate::model::SqlInstancesDeleteRequest,
264        _options: gax::options::RequestOptions,
265    ) -> impl std::future::Future<
266        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
267    > + Send {
268        gaxi::unimplemented::unimplemented_stub()
269    }
270
271    /// Implements [super::client::SqlInstancesService::demote_master].
272    fn demote_master(
273        &self,
274        _req: crate::model::SqlInstancesDemoteMasterRequest,
275        _options: gax::options::RequestOptions,
276    ) -> impl std::future::Future<
277        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
278    > + Send {
279        gaxi::unimplemented::unimplemented_stub()
280    }
281
282    /// Implements [super::client::SqlInstancesService::demote].
283    fn demote(
284        &self,
285        _req: crate::model::SqlInstancesDemoteRequest,
286        _options: gax::options::RequestOptions,
287    ) -> impl std::future::Future<
288        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
289    > + Send {
290        gaxi::unimplemented::unimplemented_stub()
291    }
292
293    /// Implements [super::client::SqlInstancesService::export].
294    fn export(
295        &self,
296        _req: crate::model::SqlInstancesExportRequest,
297        _options: gax::options::RequestOptions,
298    ) -> impl std::future::Future<
299        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
300    > + Send {
301        gaxi::unimplemented::unimplemented_stub()
302    }
303
304    /// Implements [super::client::SqlInstancesService::failover].
305    fn failover(
306        &self,
307        _req: crate::model::SqlInstancesFailoverRequest,
308        _options: gax::options::RequestOptions,
309    ) -> impl std::future::Future<
310        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
311    > + Send {
312        gaxi::unimplemented::unimplemented_stub()
313    }
314
315    /// Implements [super::client::SqlInstancesService::reencrypt].
316    fn reencrypt(
317        &self,
318        _req: crate::model::SqlInstancesReencryptRequest,
319        _options: gax::options::RequestOptions,
320    ) -> impl std::future::Future<
321        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
322    > + Send {
323        gaxi::unimplemented::unimplemented_stub()
324    }
325
326    /// Implements [super::client::SqlInstancesService::get].
327    fn get(
328        &self,
329        _req: crate::model::SqlInstancesGetRequest,
330        _options: gax::options::RequestOptions,
331    ) -> impl std::future::Future<
332        Output = crate::Result<gax::response::Response<crate::model::DatabaseInstance>>,
333    > + Send {
334        gaxi::unimplemented::unimplemented_stub()
335    }
336
337    /// Implements [super::client::SqlInstancesService::import].
338    fn import(
339        &self,
340        _req: crate::model::SqlInstancesImportRequest,
341        _options: gax::options::RequestOptions,
342    ) -> impl std::future::Future<
343        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
344    > + Send {
345        gaxi::unimplemented::unimplemented_stub()
346    }
347
348    /// Implements [super::client::SqlInstancesService::insert].
349    fn insert(
350        &self,
351        _req: crate::model::SqlInstancesInsertRequest,
352        _options: gax::options::RequestOptions,
353    ) -> impl std::future::Future<
354        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
355    > + Send {
356        gaxi::unimplemented::unimplemented_stub()
357    }
358
359    /// Implements [super::client::SqlInstancesService::list].
360    fn list(
361        &self,
362        _req: crate::model::SqlInstancesListRequest,
363        _options: gax::options::RequestOptions,
364    ) -> impl std::future::Future<
365        Output = crate::Result<gax::response::Response<crate::model::InstancesListResponse>>,
366    > + Send {
367        gaxi::unimplemented::unimplemented_stub()
368    }
369
370    /// Implements [super::client::SqlInstancesService::list_server_cas].
371    fn list_server_cas(
372        &self,
373        _req: crate::model::SqlInstancesListServerCasRequest,
374        _options: gax::options::RequestOptions,
375    ) -> impl std::future::Future<
376        Output = crate::Result<
377            gax::response::Response<crate::model::InstancesListServerCasResponse>,
378        >,
379    > + Send {
380        gaxi::unimplemented::unimplemented_stub()
381    }
382
383    /// Implements [super::client::SqlInstancesService::patch].
384    fn patch(
385        &self,
386        _req: crate::model::SqlInstancesPatchRequest,
387        _options: gax::options::RequestOptions,
388    ) -> impl std::future::Future<
389        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
390    > + Send {
391        gaxi::unimplemented::unimplemented_stub()
392    }
393
394    /// Implements [super::client::SqlInstancesService::promote_replica].
395    fn promote_replica(
396        &self,
397        _req: crate::model::SqlInstancesPromoteReplicaRequest,
398        _options: gax::options::RequestOptions,
399    ) -> impl std::future::Future<
400        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
401    > + Send {
402        gaxi::unimplemented::unimplemented_stub()
403    }
404
405    /// Implements [super::client::SqlInstancesService::switchover].
406    fn switchover(
407        &self,
408        _req: crate::model::SqlInstancesSwitchoverRequest,
409        _options: gax::options::RequestOptions,
410    ) -> impl std::future::Future<
411        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
412    > + Send {
413        gaxi::unimplemented::unimplemented_stub()
414    }
415
416    /// Implements [super::client::SqlInstancesService::reset_ssl_config].
417    fn reset_ssl_config(
418        &self,
419        _req: crate::model::SqlInstancesResetSslConfigRequest,
420        _options: gax::options::RequestOptions,
421    ) -> impl std::future::Future<
422        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
423    > + Send {
424        gaxi::unimplemented::unimplemented_stub()
425    }
426
427    /// Implements [super::client::SqlInstancesService::restart].
428    fn restart(
429        &self,
430        _req: crate::model::SqlInstancesRestartRequest,
431        _options: gax::options::RequestOptions,
432    ) -> impl std::future::Future<
433        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
434    > + Send {
435        gaxi::unimplemented::unimplemented_stub()
436    }
437
438    /// Implements [super::client::SqlInstancesService::restore_backup].
439    fn restore_backup(
440        &self,
441        _req: crate::model::SqlInstancesRestoreBackupRequest,
442        _options: gax::options::RequestOptions,
443    ) -> impl std::future::Future<
444        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
445    > + Send {
446        gaxi::unimplemented::unimplemented_stub()
447    }
448
449    /// Implements [super::client::SqlInstancesService::rotate_server_ca].
450    fn rotate_server_ca(
451        &self,
452        _req: crate::model::SqlInstancesRotateServerCaRequest,
453        _options: gax::options::RequestOptions,
454    ) -> impl std::future::Future<
455        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
456    > + Send {
457        gaxi::unimplemented::unimplemented_stub()
458    }
459
460    /// Implements [super::client::SqlInstancesService::start_replica].
461    fn start_replica(
462        &self,
463        _req: crate::model::SqlInstancesStartReplicaRequest,
464        _options: gax::options::RequestOptions,
465    ) -> impl std::future::Future<
466        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
467    > + Send {
468        gaxi::unimplemented::unimplemented_stub()
469    }
470
471    /// Implements [super::client::SqlInstancesService::stop_replica].
472    fn stop_replica(
473        &self,
474        _req: crate::model::SqlInstancesStopReplicaRequest,
475        _options: gax::options::RequestOptions,
476    ) -> impl std::future::Future<
477        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
478    > + Send {
479        gaxi::unimplemented::unimplemented_stub()
480    }
481
482    /// Implements [super::client::SqlInstancesService::truncate_log].
483    fn truncate_log(
484        &self,
485        _req: crate::model::SqlInstancesTruncateLogRequest,
486        _options: gax::options::RequestOptions,
487    ) -> impl std::future::Future<
488        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
489    > + Send {
490        gaxi::unimplemented::unimplemented_stub()
491    }
492
493    /// Implements [super::client::SqlInstancesService::update].
494    fn update(
495        &self,
496        _req: crate::model::SqlInstancesUpdateRequest,
497        _options: gax::options::RequestOptions,
498    ) -> impl std::future::Future<
499        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
500    > + Send {
501        gaxi::unimplemented::unimplemented_stub()
502    }
503
504    /// Implements [super::client::SqlInstancesService::create_ephemeral].
505    fn create_ephemeral(
506        &self,
507        _req: crate::model::SqlInstancesCreateEphemeralCertRequest,
508        _options: gax::options::RequestOptions,
509    ) -> impl std::future::Future<
510        Output = crate::Result<gax::response::Response<crate::model::SslCert>>,
511    > + Send {
512        gaxi::unimplemented::unimplemented_stub()
513    }
514
515    /// Implements [super::client::SqlInstancesService::reschedule_maintenance].
516    fn reschedule_maintenance(
517        &self,
518        _req: crate::model::SqlInstancesRescheduleMaintenanceRequest,
519        _options: gax::options::RequestOptions,
520    ) -> impl std::future::Future<
521        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
522    > + Send {
523        gaxi::unimplemented::unimplemented_stub()
524    }
525
526    /// Implements [super::client::SqlInstancesService::verify_external_sync_settings].
527    fn verify_external_sync_settings(
528        &self,
529        _req: crate::model::SqlInstancesVerifyExternalSyncSettingsRequest,
530        _options: gax::options::RequestOptions,
531    ) -> impl std::future::Future<
532        Output = crate::Result<
533            gax::response::Response<crate::model::SqlInstancesVerifyExternalSyncSettingsResponse>,
534        >,
535    > + Send {
536        gaxi::unimplemented::unimplemented_stub()
537    }
538
539    /// Implements [super::client::SqlInstancesService::start_external_sync].
540    fn start_external_sync(
541        &self,
542        _req: crate::model::SqlInstancesStartExternalSyncRequest,
543        _options: gax::options::RequestOptions,
544    ) -> impl std::future::Future<
545        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
546    > + Send {
547        gaxi::unimplemented::unimplemented_stub()
548    }
549
550    /// Implements [super::client::SqlInstancesService::perform_disk_shrink].
551    fn perform_disk_shrink(
552        &self,
553        _req: crate::model::SqlInstancesPerformDiskShrinkRequest,
554        _options: gax::options::RequestOptions,
555    ) -> impl std::future::Future<
556        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
557    > + Send {
558        gaxi::unimplemented::unimplemented_stub()
559    }
560
561    /// Implements [super::client::SqlInstancesService::get_disk_shrink_config].
562    fn get_disk_shrink_config(
563        &self,
564        _req: crate::model::SqlInstancesGetDiskShrinkConfigRequest,
565        _options: gax::options::RequestOptions,
566    ) -> impl std::future::Future<
567        Output = crate::Result<
568            gax::response::Response<crate::model::SqlInstancesGetDiskShrinkConfigResponse>,
569        >,
570    > + Send {
571        gaxi::unimplemented::unimplemented_stub()
572    }
573
574    /// Implements [super::client::SqlInstancesService::reset_replica_size].
575    fn reset_replica_size(
576        &self,
577        _req: crate::model::SqlInstancesResetReplicaSizeRequest,
578        _options: gax::options::RequestOptions,
579    ) -> impl std::future::Future<
580        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
581    > + Send {
582        gaxi::unimplemented::unimplemented_stub()
583    }
584
585    /// Implements [super::client::SqlInstancesService::get_latest_recovery_time].
586    fn get_latest_recovery_time(
587        &self,
588        _req: crate::model::SqlInstancesGetLatestRecoveryTimeRequest,
589        _options: gax::options::RequestOptions,
590    ) -> impl std::future::Future<
591        Output = crate::Result<
592            gax::response::Response<crate::model::SqlInstancesGetLatestRecoveryTimeResponse>,
593        >,
594    > + Send {
595        gaxi::unimplemented::unimplemented_stub()
596    }
597
598    /// Implements [super::client::SqlInstancesService::acquire_ssrs_lease].
599    fn acquire_ssrs_lease(
600        &self,
601        _req: crate::model::SqlInstancesAcquireSsrsLeaseRequest,
602        _options: gax::options::RequestOptions,
603    ) -> impl std::future::Future<
604        Output = crate::Result<
605            gax::response::Response<crate::model::SqlInstancesAcquireSsrsLeaseResponse>,
606        >,
607    > + Send {
608        gaxi::unimplemented::unimplemented_stub()
609    }
610
611    /// Implements [super::client::SqlInstancesService::release_ssrs_lease].
612    fn release_ssrs_lease(
613        &self,
614        _req: crate::model::SqlInstancesReleaseSsrsLeaseRequest,
615        _options: gax::options::RequestOptions,
616    ) -> impl std::future::Future<
617        Output = crate::Result<
618            gax::response::Response<crate::model::SqlInstancesReleaseSsrsLeaseResponse>,
619        >,
620    > + Send {
621        gaxi::unimplemented::unimplemented_stub()
622    }
623}
624
625/// Defines the trait used to implement [super::client::SqlOperationsService].
626///
627/// Application developers may need to implement this trait to mock
628/// `client::SqlOperationsService`.  In other use-cases, application developers only
629/// use `client::SqlOperationsService` and need not be concerned with this trait or
630/// its implementations.
631///
632/// Services gain new RPCs routinely. Consequently, this trait gains new methods
633/// too. To avoid breaking applications the trait provides a default
634/// implementation of each method. Most of these implementations just return an
635/// error.
636pub trait SqlOperationsService: std::fmt::Debug + Send + Sync {
637    /// Implements [super::client::SqlOperationsService::get].
638    fn get(
639        &self,
640        _req: crate::model::SqlOperationsGetRequest,
641        _options: gax::options::RequestOptions,
642    ) -> impl std::future::Future<
643        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
644    > + Send {
645        gaxi::unimplemented::unimplemented_stub()
646    }
647
648    /// Implements [super::client::SqlOperationsService::list].
649    fn list(
650        &self,
651        _req: crate::model::SqlOperationsListRequest,
652        _options: gax::options::RequestOptions,
653    ) -> impl std::future::Future<
654        Output = crate::Result<gax::response::Response<crate::model::OperationsListResponse>>,
655    > + Send {
656        gaxi::unimplemented::unimplemented_stub()
657    }
658
659    /// Implements [super::client::SqlOperationsService::cancel].
660    fn cancel(
661        &self,
662        _req: crate::model::SqlOperationsCancelRequest,
663        _options: gax::options::RequestOptions,
664    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
665        gaxi::unimplemented::unimplemented_stub()
666    }
667}
668
669/// Defines the trait used to implement [super::client::SqlSslCertsService].
670///
671/// Application developers may need to implement this trait to mock
672/// `client::SqlSslCertsService`.  In other use-cases, application developers only
673/// use `client::SqlSslCertsService` and need not be concerned with this trait or
674/// its implementations.
675///
676/// Services gain new RPCs routinely. Consequently, this trait gains new methods
677/// too. To avoid breaking applications the trait provides a default
678/// implementation of each method. Most of these implementations just return an
679/// error.
680pub trait SqlSslCertsService: std::fmt::Debug + Send + Sync {
681    /// Implements [super::client::SqlSslCertsService::delete].
682    fn delete(
683        &self,
684        _req: crate::model::SqlSslCertsDeleteRequest,
685        _options: gax::options::RequestOptions,
686    ) -> impl std::future::Future<
687        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
688    > + Send {
689        gaxi::unimplemented::unimplemented_stub()
690    }
691
692    /// Implements [super::client::SqlSslCertsService::get].
693    fn get(
694        &self,
695        _req: crate::model::SqlSslCertsGetRequest,
696        _options: gax::options::RequestOptions,
697    ) -> impl std::future::Future<
698        Output = crate::Result<gax::response::Response<crate::model::SslCert>>,
699    > + Send {
700        gaxi::unimplemented::unimplemented_stub()
701    }
702
703    /// Implements [super::client::SqlSslCertsService::insert].
704    fn insert(
705        &self,
706        _req: crate::model::SqlSslCertsInsertRequest,
707        _options: gax::options::RequestOptions,
708    ) -> impl std::future::Future<
709        Output = crate::Result<gax::response::Response<crate::model::SslCertsInsertResponse>>,
710    > + Send {
711        gaxi::unimplemented::unimplemented_stub()
712    }
713
714    /// Implements [super::client::SqlSslCertsService::list].
715    fn list(
716        &self,
717        _req: crate::model::SqlSslCertsListRequest,
718        _options: gax::options::RequestOptions,
719    ) -> impl std::future::Future<
720        Output = crate::Result<gax::response::Response<crate::model::SslCertsListResponse>>,
721    > + Send {
722        gaxi::unimplemented::unimplemented_stub()
723    }
724}
725
726/// Defines the trait used to implement [super::client::SqlTiersService].
727///
728/// Application developers may need to implement this trait to mock
729/// `client::SqlTiersService`.  In other use-cases, application developers only
730/// use `client::SqlTiersService` and need not be concerned with this trait or
731/// its implementations.
732///
733/// Services gain new RPCs routinely. Consequently, this trait gains new methods
734/// too. To avoid breaking applications the trait provides a default
735/// implementation of each method. Most of these implementations just return an
736/// error.
737pub trait SqlTiersService: std::fmt::Debug + Send + Sync {
738    /// Implements [super::client::SqlTiersService::list].
739    fn list(
740        &self,
741        _req: crate::model::SqlTiersListRequest,
742        _options: gax::options::RequestOptions,
743    ) -> impl std::future::Future<
744        Output = crate::Result<gax::response::Response<crate::model::TiersListResponse>>,
745    > + Send {
746        gaxi::unimplemented::unimplemented_stub()
747    }
748}
749
750/// Defines the trait used to implement [super::client::SqlUsersService].
751///
752/// Application developers may need to implement this trait to mock
753/// `client::SqlUsersService`.  In other use-cases, application developers only
754/// use `client::SqlUsersService` and need not be concerned with this trait or
755/// its implementations.
756///
757/// Services gain new RPCs routinely. Consequently, this trait gains new methods
758/// too. To avoid breaking applications the trait provides a default
759/// implementation of each method. Most of these implementations just return an
760/// error.
761pub trait SqlUsersService: std::fmt::Debug + Send + Sync {
762    /// Implements [super::client::SqlUsersService::delete].
763    fn delete(
764        &self,
765        _req: crate::model::SqlUsersDeleteRequest,
766        _options: gax::options::RequestOptions,
767    ) -> impl std::future::Future<
768        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
769    > + Send {
770        gaxi::unimplemented::unimplemented_stub()
771    }
772
773    /// Implements [super::client::SqlUsersService::get].
774    fn get(
775        &self,
776        _req: crate::model::SqlUsersGetRequest,
777        _options: gax::options::RequestOptions,
778    ) -> impl std::future::Future<
779        Output = crate::Result<gax::response::Response<crate::model::User>>,
780    > + Send {
781        gaxi::unimplemented::unimplemented_stub()
782    }
783
784    /// Implements [super::client::SqlUsersService::insert].
785    fn insert(
786        &self,
787        _req: crate::model::SqlUsersInsertRequest,
788        _options: gax::options::RequestOptions,
789    ) -> impl std::future::Future<
790        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
791    > + Send {
792        gaxi::unimplemented::unimplemented_stub()
793    }
794
795    /// Implements [super::client::SqlUsersService::list].
796    fn list(
797        &self,
798        _req: crate::model::SqlUsersListRequest,
799        _options: gax::options::RequestOptions,
800    ) -> impl std::future::Future<
801        Output = crate::Result<gax::response::Response<crate::model::UsersListResponse>>,
802    > + Send {
803        gaxi::unimplemented::unimplemented_stub()
804    }
805
806    /// Implements [super::client::SqlUsersService::update].
807    fn update(
808        &self,
809        _req: crate::model::SqlUsersUpdateRequest,
810        _options: gax::options::RequestOptions,
811    ) -> impl std::future::Future<
812        Output = crate::Result<gax::response::Response<crate::model::Operation>>,
813    > + Send {
814        gaxi::unimplemented::unimplemented_stub()
815    }
816}