Skip to main content

google_cloud_dialogflow_v2/
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::Agents].
30///
31/// Application developers may need to implement this trait to mock
32/// `client::Agents`.  In other use-cases, application developers only
33/// use `client::Agents` 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.
40#[cfg(feature = "agents")]
41#[cfg_attr(docsrs, doc(cfg(feature = "agents")))]
42pub trait Agents: std::fmt::Debug + Send + Sync {
43    /// Implements [super::client::Agents::get_agent].
44    fn get_agent(
45        &self,
46        _req: crate::model::GetAgentRequest,
47        _options: crate::RequestOptions,
48    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Agent>>> + Send
49    {
50        gaxi::unimplemented::unimplemented_stub()
51    }
52
53    /// Implements [super::client::Agents::set_agent].
54    fn set_agent(
55        &self,
56        _req: crate::model::SetAgentRequest,
57        _options: crate::RequestOptions,
58    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Agent>>> + Send
59    {
60        gaxi::unimplemented::unimplemented_stub()
61    }
62
63    /// Implements [super::client::Agents::delete_agent].
64    fn delete_agent(
65        &self,
66        _req: crate::model::DeleteAgentRequest,
67        _options: crate::RequestOptions,
68    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
69        gaxi::unimplemented::unimplemented_stub()
70    }
71
72    /// Implements [super::client::Agents::search_agents].
73    fn search_agents(
74        &self,
75        _req: crate::model::SearchAgentsRequest,
76        _options: crate::RequestOptions,
77    ) -> impl std::future::Future<
78        Output = crate::Result<crate::Response<crate::model::SearchAgentsResponse>>,
79    > + Send {
80        gaxi::unimplemented::unimplemented_stub()
81    }
82
83    /// Implements [super::client::Agents::train_agent].
84    fn train_agent(
85        &self,
86        _req: crate::model::TrainAgentRequest,
87        _options: crate::RequestOptions,
88    ) -> impl std::future::Future<
89        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
90    > + Send {
91        gaxi::unimplemented::unimplemented_stub()
92    }
93
94    /// Implements [super::client::Agents::export_agent].
95    fn export_agent(
96        &self,
97        _req: crate::model::ExportAgentRequest,
98        _options: crate::RequestOptions,
99    ) -> impl std::future::Future<
100        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
101    > + Send {
102        gaxi::unimplemented::unimplemented_stub()
103    }
104
105    /// Implements [super::client::Agents::import_agent].
106    fn import_agent(
107        &self,
108        _req: crate::model::ImportAgentRequest,
109        _options: crate::RequestOptions,
110    ) -> impl std::future::Future<
111        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
112    > + Send {
113        gaxi::unimplemented::unimplemented_stub()
114    }
115
116    /// Implements [super::client::Agents::restore_agent].
117    fn restore_agent(
118        &self,
119        _req: crate::model::RestoreAgentRequest,
120        _options: crate::RequestOptions,
121    ) -> impl std::future::Future<
122        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
123    > + Send {
124        gaxi::unimplemented::unimplemented_stub()
125    }
126
127    /// Implements [super::client::Agents::get_validation_result].
128    fn get_validation_result(
129        &self,
130        _req: crate::model::GetValidationResultRequest,
131        _options: crate::RequestOptions,
132    ) -> impl std::future::Future<
133        Output = crate::Result<crate::Response<crate::model::ValidationResult>>,
134    > + Send {
135        gaxi::unimplemented::unimplemented_stub()
136    }
137
138    /// Implements [super::client::Agents::list_locations].
139    fn list_locations(
140        &self,
141        _req: google_cloud_location::model::ListLocationsRequest,
142        _options: crate::RequestOptions,
143    ) -> impl std::future::Future<
144        Output = crate::Result<
145            crate::Response<google_cloud_location::model::ListLocationsResponse>,
146        >,
147    > + Send {
148        gaxi::unimplemented::unimplemented_stub()
149    }
150
151    /// Implements [super::client::Agents::get_location].
152    fn get_location(
153        &self,
154        _req: google_cloud_location::model::GetLocationRequest,
155        _options: crate::RequestOptions,
156    ) -> impl std::future::Future<
157        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
158    > + Send {
159        gaxi::unimplemented::unimplemented_stub()
160    }
161
162    /// Implements [super::client::Agents::list_operations].
163    fn list_operations(
164        &self,
165        _req: google_cloud_longrunning::model::ListOperationsRequest,
166        _options: crate::RequestOptions,
167    ) -> impl std::future::Future<
168        Output = crate::Result<
169            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
170        >,
171    > + Send {
172        gaxi::unimplemented::unimplemented_stub()
173    }
174
175    /// Implements [super::client::Agents::get_operation].
176    fn get_operation(
177        &self,
178        _req: google_cloud_longrunning::model::GetOperationRequest,
179        _options: crate::RequestOptions,
180    ) -> impl std::future::Future<
181        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
182    > + Send {
183        gaxi::unimplemented::unimplemented_stub()
184    }
185
186    /// Implements [super::client::Agents::cancel_operation].
187    fn cancel_operation(
188        &self,
189        _req: google_cloud_longrunning::model::CancelOperationRequest,
190        _options: crate::RequestOptions,
191    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
192        gaxi::unimplemented::unimplemented_stub()
193    }
194
195    /// Returns the polling error policy.
196    ///
197    /// When mocking, this method is typically irrelevant. Do not try to verify
198    /// it is called by your mocks.
199    fn get_polling_error_policy(
200        &self,
201        _options: &crate::RequestOptions,
202    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
203        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
204    }
205
206    /// Returns the polling backoff policy.
207    ///
208    /// When mocking, this method is typically irrelevant. Do not try to verify
209    /// it is called by your mocks.
210    fn get_polling_backoff_policy(
211        &self,
212        _options: &crate::RequestOptions,
213    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
214        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
215    }
216}
217
218/// Defines the trait used to implement [super::client::AnswerRecords].
219///
220/// Application developers may need to implement this trait to mock
221/// `client::AnswerRecords`.  In other use-cases, application developers only
222/// use `client::AnswerRecords` and need not be concerned with this trait or
223/// its implementations.
224///
225/// Services gain new RPCs routinely. Consequently, this trait gains new methods
226/// too. To avoid breaking applications the trait provides a default
227/// implementation of each method. Most of these implementations just return an
228/// error.
229#[cfg(feature = "answer-records")]
230#[cfg_attr(docsrs, doc(cfg(feature = "answer-records")))]
231pub trait AnswerRecords: std::fmt::Debug + Send + Sync {
232    /// Implements [super::client::AnswerRecords::list_answer_records].
233    fn list_answer_records(
234        &self,
235        _req: crate::model::ListAnswerRecordsRequest,
236        _options: crate::RequestOptions,
237    ) -> impl std::future::Future<
238        Output = crate::Result<crate::Response<crate::model::ListAnswerRecordsResponse>>,
239    > + Send {
240        gaxi::unimplemented::unimplemented_stub()
241    }
242
243    /// Implements [super::client::AnswerRecords::update_answer_record].
244    fn update_answer_record(
245        &self,
246        _req: crate::model::UpdateAnswerRecordRequest,
247        _options: crate::RequestOptions,
248    ) -> impl std::future::Future<
249        Output = crate::Result<crate::Response<crate::model::AnswerRecord>>,
250    > + Send {
251        gaxi::unimplemented::unimplemented_stub()
252    }
253
254    /// Implements [super::client::AnswerRecords::list_locations].
255    fn list_locations(
256        &self,
257        _req: google_cloud_location::model::ListLocationsRequest,
258        _options: crate::RequestOptions,
259    ) -> impl std::future::Future<
260        Output = crate::Result<
261            crate::Response<google_cloud_location::model::ListLocationsResponse>,
262        >,
263    > + Send {
264        gaxi::unimplemented::unimplemented_stub()
265    }
266
267    /// Implements [super::client::AnswerRecords::get_location].
268    fn get_location(
269        &self,
270        _req: google_cloud_location::model::GetLocationRequest,
271        _options: crate::RequestOptions,
272    ) -> impl std::future::Future<
273        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
274    > + Send {
275        gaxi::unimplemented::unimplemented_stub()
276    }
277
278    /// Implements [super::client::AnswerRecords::list_operations].
279    fn list_operations(
280        &self,
281        _req: google_cloud_longrunning::model::ListOperationsRequest,
282        _options: crate::RequestOptions,
283    ) -> impl std::future::Future<
284        Output = crate::Result<
285            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
286        >,
287    > + Send {
288        gaxi::unimplemented::unimplemented_stub()
289    }
290
291    /// Implements [super::client::AnswerRecords::get_operation].
292    fn get_operation(
293        &self,
294        _req: google_cloud_longrunning::model::GetOperationRequest,
295        _options: crate::RequestOptions,
296    ) -> impl std::future::Future<
297        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
298    > + Send {
299        gaxi::unimplemented::unimplemented_stub()
300    }
301
302    /// Implements [super::client::AnswerRecords::cancel_operation].
303    fn cancel_operation(
304        &self,
305        _req: google_cloud_longrunning::model::CancelOperationRequest,
306        _options: crate::RequestOptions,
307    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
308        gaxi::unimplemented::unimplemented_stub()
309    }
310}
311
312/// Defines the trait used to implement [super::client::Contexts].
313///
314/// Application developers may need to implement this trait to mock
315/// `client::Contexts`.  In other use-cases, application developers only
316/// use `client::Contexts` and need not be concerned with this trait or
317/// its implementations.
318///
319/// Services gain new RPCs routinely. Consequently, this trait gains new methods
320/// too. To avoid breaking applications the trait provides a default
321/// implementation of each method. Most of these implementations just return an
322/// error.
323#[cfg(feature = "contexts")]
324#[cfg_attr(docsrs, doc(cfg(feature = "contexts")))]
325pub trait Contexts: std::fmt::Debug + Send + Sync {
326    /// Implements [super::client::Contexts::list_contexts].
327    fn list_contexts(
328        &self,
329        _req: crate::model::ListContextsRequest,
330        _options: crate::RequestOptions,
331    ) -> impl std::future::Future<
332        Output = crate::Result<crate::Response<crate::model::ListContextsResponse>>,
333    > + Send {
334        gaxi::unimplemented::unimplemented_stub()
335    }
336
337    /// Implements [super::client::Contexts::get_context].
338    fn get_context(
339        &self,
340        _req: crate::model::GetContextRequest,
341        _options: crate::RequestOptions,
342    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Context>>> + Send
343    {
344        gaxi::unimplemented::unimplemented_stub()
345    }
346
347    /// Implements [super::client::Contexts::create_context].
348    fn create_context(
349        &self,
350        _req: crate::model::CreateContextRequest,
351        _options: crate::RequestOptions,
352    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Context>>> + Send
353    {
354        gaxi::unimplemented::unimplemented_stub()
355    }
356
357    /// Implements [super::client::Contexts::update_context].
358    fn update_context(
359        &self,
360        _req: crate::model::UpdateContextRequest,
361        _options: crate::RequestOptions,
362    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Context>>> + Send
363    {
364        gaxi::unimplemented::unimplemented_stub()
365    }
366
367    /// Implements [super::client::Contexts::delete_context].
368    fn delete_context(
369        &self,
370        _req: crate::model::DeleteContextRequest,
371        _options: crate::RequestOptions,
372    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
373        gaxi::unimplemented::unimplemented_stub()
374    }
375
376    /// Implements [super::client::Contexts::delete_all_contexts].
377    fn delete_all_contexts(
378        &self,
379        _req: crate::model::DeleteAllContextsRequest,
380        _options: crate::RequestOptions,
381    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
382        gaxi::unimplemented::unimplemented_stub()
383    }
384
385    /// Implements [super::client::Contexts::list_locations].
386    fn list_locations(
387        &self,
388        _req: google_cloud_location::model::ListLocationsRequest,
389        _options: crate::RequestOptions,
390    ) -> impl std::future::Future<
391        Output = crate::Result<
392            crate::Response<google_cloud_location::model::ListLocationsResponse>,
393        >,
394    > + Send {
395        gaxi::unimplemented::unimplemented_stub()
396    }
397
398    /// Implements [super::client::Contexts::get_location].
399    fn get_location(
400        &self,
401        _req: google_cloud_location::model::GetLocationRequest,
402        _options: crate::RequestOptions,
403    ) -> impl std::future::Future<
404        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
405    > + Send {
406        gaxi::unimplemented::unimplemented_stub()
407    }
408
409    /// Implements [super::client::Contexts::list_operations].
410    fn list_operations(
411        &self,
412        _req: google_cloud_longrunning::model::ListOperationsRequest,
413        _options: crate::RequestOptions,
414    ) -> impl std::future::Future<
415        Output = crate::Result<
416            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
417        >,
418    > + Send {
419        gaxi::unimplemented::unimplemented_stub()
420    }
421
422    /// Implements [super::client::Contexts::get_operation].
423    fn get_operation(
424        &self,
425        _req: google_cloud_longrunning::model::GetOperationRequest,
426        _options: crate::RequestOptions,
427    ) -> impl std::future::Future<
428        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
429    > + Send {
430        gaxi::unimplemented::unimplemented_stub()
431    }
432
433    /// Implements [super::client::Contexts::cancel_operation].
434    fn cancel_operation(
435        &self,
436        _req: google_cloud_longrunning::model::CancelOperationRequest,
437        _options: crate::RequestOptions,
438    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
439        gaxi::unimplemented::unimplemented_stub()
440    }
441}
442
443/// Defines the trait used to implement [super::client::Conversations].
444///
445/// Application developers may need to implement this trait to mock
446/// `client::Conversations`.  In other use-cases, application developers only
447/// use `client::Conversations` and need not be concerned with this trait or
448/// its implementations.
449///
450/// Services gain new RPCs routinely. Consequently, this trait gains new methods
451/// too. To avoid breaking applications the trait provides a default
452/// implementation of each method. Most of these implementations just return an
453/// error.
454#[cfg(feature = "conversations")]
455#[cfg_attr(docsrs, doc(cfg(feature = "conversations")))]
456pub trait Conversations: std::fmt::Debug + Send + Sync {
457    /// Implements [super::client::Conversations::create_conversation].
458    fn create_conversation(
459        &self,
460        _req: crate::model::CreateConversationRequest,
461        _options: crate::RequestOptions,
462    ) -> impl std::future::Future<
463        Output = crate::Result<crate::Response<crate::model::Conversation>>,
464    > + Send {
465        gaxi::unimplemented::unimplemented_stub()
466    }
467
468    /// Implements [super::client::Conversations::list_conversations].
469    fn list_conversations(
470        &self,
471        _req: crate::model::ListConversationsRequest,
472        _options: crate::RequestOptions,
473    ) -> impl std::future::Future<
474        Output = crate::Result<crate::Response<crate::model::ListConversationsResponse>>,
475    > + Send {
476        gaxi::unimplemented::unimplemented_stub()
477    }
478
479    /// Implements [super::client::Conversations::get_conversation].
480    fn get_conversation(
481        &self,
482        _req: crate::model::GetConversationRequest,
483        _options: crate::RequestOptions,
484    ) -> impl std::future::Future<
485        Output = crate::Result<crate::Response<crate::model::Conversation>>,
486    > + Send {
487        gaxi::unimplemented::unimplemented_stub()
488    }
489
490    /// Implements [super::client::Conversations::complete_conversation].
491    fn complete_conversation(
492        &self,
493        _req: crate::model::CompleteConversationRequest,
494        _options: crate::RequestOptions,
495    ) -> impl std::future::Future<
496        Output = crate::Result<crate::Response<crate::model::Conversation>>,
497    > + Send {
498        gaxi::unimplemented::unimplemented_stub()
499    }
500
501    /// Implements [super::client::Conversations::ingest_context_references].
502    fn ingest_context_references(
503        &self,
504        _req: crate::model::IngestContextReferencesRequest,
505        _options: crate::RequestOptions,
506    ) -> impl std::future::Future<
507        Output = crate::Result<crate::Response<crate::model::IngestContextReferencesResponse>>,
508    > + Send {
509        gaxi::unimplemented::unimplemented_stub()
510    }
511
512    /// Implements [super::client::Conversations::list_messages].
513    fn list_messages(
514        &self,
515        _req: crate::model::ListMessagesRequest,
516        _options: crate::RequestOptions,
517    ) -> impl std::future::Future<
518        Output = crate::Result<crate::Response<crate::model::ListMessagesResponse>>,
519    > + Send {
520        gaxi::unimplemented::unimplemented_stub()
521    }
522
523    /// Implements [super::client::Conversations::suggest_conversation_summary].
524    fn suggest_conversation_summary(
525        &self,
526        _req: crate::model::SuggestConversationSummaryRequest,
527        _options: crate::RequestOptions,
528    ) -> impl std::future::Future<
529        Output = crate::Result<crate::Response<crate::model::SuggestConversationSummaryResponse>>,
530    > + Send {
531        gaxi::unimplemented::unimplemented_stub()
532    }
533
534    /// Implements [super::client::Conversations::generate_stateless_summary].
535    fn generate_stateless_summary(
536        &self,
537        _req: crate::model::GenerateStatelessSummaryRequest,
538        _options: crate::RequestOptions,
539    ) -> impl std::future::Future<
540        Output = crate::Result<crate::Response<crate::model::GenerateStatelessSummaryResponse>>,
541    > + Send {
542        gaxi::unimplemented::unimplemented_stub()
543    }
544
545    /// Implements [super::client::Conversations::generate_stateless_suggestion].
546    fn generate_stateless_suggestion(
547        &self,
548        _req: crate::model::GenerateStatelessSuggestionRequest,
549        _options: crate::RequestOptions,
550    ) -> impl std::future::Future<
551        Output = crate::Result<crate::Response<crate::model::GenerateStatelessSuggestionResponse>>,
552    > + Send {
553        gaxi::unimplemented::unimplemented_stub()
554    }
555
556    /// Implements [super::client::Conversations::search_knowledge].
557    fn search_knowledge(
558        &self,
559        _req: crate::model::SearchKnowledgeRequest,
560        _options: crate::RequestOptions,
561    ) -> impl std::future::Future<
562        Output = crate::Result<crate::Response<crate::model::SearchKnowledgeResponse>>,
563    > + Send {
564        gaxi::unimplemented::unimplemented_stub()
565    }
566
567    /// Implements [super::client::Conversations::generate_suggestions].
568    fn generate_suggestions(
569        &self,
570        _req: crate::model::GenerateSuggestionsRequest,
571        _options: crate::RequestOptions,
572    ) -> impl std::future::Future<
573        Output = crate::Result<crate::Response<crate::model::GenerateSuggestionsResponse>>,
574    > + Send {
575        gaxi::unimplemented::unimplemented_stub()
576    }
577
578    /// Implements [super::client::Conversations::list_locations].
579    fn list_locations(
580        &self,
581        _req: google_cloud_location::model::ListLocationsRequest,
582        _options: crate::RequestOptions,
583    ) -> impl std::future::Future<
584        Output = crate::Result<
585            crate::Response<google_cloud_location::model::ListLocationsResponse>,
586        >,
587    > + Send {
588        gaxi::unimplemented::unimplemented_stub()
589    }
590
591    /// Implements [super::client::Conversations::get_location].
592    fn get_location(
593        &self,
594        _req: google_cloud_location::model::GetLocationRequest,
595        _options: crate::RequestOptions,
596    ) -> impl std::future::Future<
597        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
598    > + Send {
599        gaxi::unimplemented::unimplemented_stub()
600    }
601
602    /// Implements [super::client::Conversations::list_operations].
603    fn list_operations(
604        &self,
605        _req: google_cloud_longrunning::model::ListOperationsRequest,
606        _options: crate::RequestOptions,
607    ) -> impl std::future::Future<
608        Output = crate::Result<
609            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
610        >,
611    > + Send {
612        gaxi::unimplemented::unimplemented_stub()
613    }
614
615    /// Implements [super::client::Conversations::get_operation].
616    fn get_operation(
617        &self,
618        _req: google_cloud_longrunning::model::GetOperationRequest,
619        _options: crate::RequestOptions,
620    ) -> impl std::future::Future<
621        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
622    > + Send {
623        gaxi::unimplemented::unimplemented_stub()
624    }
625
626    /// Implements [super::client::Conversations::cancel_operation].
627    fn cancel_operation(
628        &self,
629        _req: google_cloud_longrunning::model::CancelOperationRequest,
630        _options: crate::RequestOptions,
631    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
632        gaxi::unimplemented::unimplemented_stub()
633    }
634}
635
636/// Defines the trait used to implement [super::client::ConversationDatasets].
637///
638/// Application developers may need to implement this trait to mock
639/// `client::ConversationDatasets`.  In other use-cases, application developers only
640/// use `client::ConversationDatasets` and need not be concerned with this trait or
641/// its implementations.
642///
643/// Services gain new RPCs routinely. Consequently, this trait gains new methods
644/// too. To avoid breaking applications the trait provides a default
645/// implementation of each method. Most of these implementations just return an
646/// error.
647#[cfg(feature = "conversation-datasets")]
648#[cfg_attr(docsrs, doc(cfg(feature = "conversation-datasets")))]
649pub trait ConversationDatasets: std::fmt::Debug + Send + Sync {
650    /// Implements [super::client::ConversationDatasets::create_conversation_dataset].
651    fn create_conversation_dataset(
652        &self,
653        _req: crate::model::CreateConversationDatasetRequest,
654        _options: crate::RequestOptions,
655    ) -> impl std::future::Future<
656        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
657    > + Send {
658        gaxi::unimplemented::unimplemented_stub()
659    }
660
661    /// Implements [super::client::ConversationDatasets::get_conversation_dataset].
662    fn get_conversation_dataset(
663        &self,
664        _req: crate::model::GetConversationDatasetRequest,
665        _options: crate::RequestOptions,
666    ) -> impl std::future::Future<
667        Output = crate::Result<crate::Response<crate::model::ConversationDataset>>,
668    > + Send {
669        gaxi::unimplemented::unimplemented_stub()
670    }
671
672    /// Implements [super::client::ConversationDatasets::list_conversation_datasets].
673    fn list_conversation_datasets(
674        &self,
675        _req: crate::model::ListConversationDatasetsRequest,
676        _options: crate::RequestOptions,
677    ) -> impl std::future::Future<
678        Output = crate::Result<crate::Response<crate::model::ListConversationDatasetsResponse>>,
679    > + Send {
680        gaxi::unimplemented::unimplemented_stub()
681    }
682
683    /// Implements [super::client::ConversationDatasets::delete_conversation_dataset].
684    fn delete_conversation_dataset(
685        &self,
686        _req: crate::model::DeleteConversationDatasetRequest,
687        _options: crate::RequestOptions,
688    ) -> impl std::future::Future<
689        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
690    > + Send {
691        gaxi::unimplemented::unimplemented_stub()
692    }
693
694    /// Implements [super::client::ConversationDatasets::import_conversation_data].
695    fn import_conversation_data(
696        &self,
697        _req: crate::model::ImportConversationDataRequest,
698        _options: crate::RequestOptions,
699    ) -> impl std::future::Future<
700        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
701    > + Send {
702        gaxi::unimplemented::unimplemented_stub()
703    }
704
705    /// Implements [super::client::ConversationDatasets::list_locations].
706    fn list_locations(
707        &self,
708        _req: google_cloud_location::model::ListLocationsRequest,
709        _options: crate::RequestOptions,
710    ) -> impl std::future::Future<
711        Output = crate::Result<
712            crate::Response<google_cloud_location::model::ListLocationsResponse>,
713        >,
714    > + Send {
715        gaxi::unimplemented::unimplemented_stub()
716    }
717
718    /// Implements [super::client::ConversationDatasets::get_location].
719    fn get_location(
720        &self,
721        _req: google_cloud_location::model::GetLocationRequest,
722        _options: crate::RequestOptions,
723    ) -> impl std::future::Future<
724        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
725    > + Send {
726        gaxi::unimplemented::unimplemented_stub()
727    }
728
729    /// Implements [super::client::ConversationDatasets::list_operations].
730    fn list_operations(
731        &self,
732        _req: google_cloud_longrunning::model::ListOperationsRequest,
733        _options: crate::RequestOptions,
734    ) -> impl std::future::Future<
735        Output = crate::Result<
736            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
737        >,
738    > + Send {
739        gaxi::unimplemented::unimplemented_stub()
740    }
741
742    /// Implements [super::client::ConversationDatasets::get_operation].
743    fn get_operation(
744        &self,
745        _req: google_cloud_longrunning::model::GetOperationRequest,
746        _options: crate::RequestOptions,
747    ) -> impl std::future::Future<
748        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
749    > + Send {
750        gaxi::unimplemented::unimplemented_stub()
751    }
752
753    /// Implements [super::client::ConversationDatasets::cancel_operation].
754    fn cancel_operation(
755        &self,
756        _req: google_cloud_longrunning::model::CancelOperationRequest,
757        _options: crate::RequestOptions,
758    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
759        gaxi::unimplemented::unimplemented_stub()
760    }
761
762    /// Returns the polling error policy.
763    ///
764    /// When mocking, this method is typically irrelevant. Do not try to verify
765    /// it is called by your mocks.
766    fn get_polling_error_policy(
767        &self,
768        _options: &crate::RequestOptions,
769    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
770        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
771    }
772
773    /// Returns the polling backoff policy.
774    ///
775    /// When mocking, this method is typically irrelevant. Do not try to verify
776    /// it is called by your mocks.
777    fn get_polling_backoff_policy(
778        &self,
779        _options: &crate::RequestOptions,
780    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
781        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
782    }
783}
784
785/// Defines the trait used to implement [super::client::ConversationModels].
786///
787/// Application developers may need to implement this trait to mock
788/// `client::ConversationModels`.  In other use-cases, application developers only
789/// use `client::ConversationModels` and need not be concerned with this trait or
790/// its implementations.
791///
792/// Services gain new RPCs routinely. Consequently, this trait gains new methods
793/// too. To avoid breaking applications the trait provides a default
794/// implementation of each method. Most of these implementations just return an
795/// error.
796#[cfg(feature = "conversation-models")]
797#[cfg_attr(docsrs, doc(cfg(feature = "conversation-models")))]
798pub trait ConversationModels: std::fmt::Debug + Send + Sync {
799    /// Implements [super::client::ConversationModels::create_conversation_model].
800    fn create_conversation_model(
801        &self,
802        _req: crate::model::CreateConversationModelRequest,
803        _options: crate::RequestOptions,
804    ) -> impl std::future::Future<
805        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
806    > + Send {
807        gaxi::unimplemented::unimplemented_stub()
808    }
809
810    /// Implements [super::client::ConversationModels::get_conversation_model].
811    fn get_conversation_model(
812        &self,
813        _req: crate::model::GetConversationModelRequest,
814        _options: crate::RequestOptions,
815    ) -> impl std::future::Future<
816        Output = crate::Result<crate::Response<crate::model::ConversationModel>>,
817    > + Send {
818        gaxi::unimplemented::unimplemented_stub()
819    }
820
821    /// Implements [super::client::ConversationModels::list_conversation_models].
822    fn list_conversation_models(
823        &self,
824        _req: crate::model::ListConversationModelsRequest,
825        _options: crate::RequestOptions,
826    ) -> impl std::future::Future<
827        Output = crate::Result<crate::Response<crate::model::ListConversationModelsResponse>>,
828    > + Send {
829        gaxi::unimplemented::unimplemented_stub()
830    }
831
832    /// Implements [super::client::ConversationModels::delete_conversation_model].
833    fn delete_conversation_model(
834        &self,
835        _req: crate::model::DeleteConversationModelRequest,
836        _options: crate::RequestOptions,
837    ) -> impl std::future::Future<
838        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
839    > + Send {
840        gaxi::unimplemented::unimplemented_stub()
841    }
842
843    /// Implements [super::client::ConversationModels::deploy_conversation_model].
844    fn deploy_conversation_model(
845        &self,
846        _req: crate::model::DeployConversationModelRequest,
847        _options: crate::RequestOptions,
848    ) -> impl std::future::Future<
849        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
850    > + Send {
851        gaxi::unimplemented::unimplemented_stub()
852    }
853
854    /// Implements [super::client::ConversationModels::undeploy_conversation_model].
855    fn undeploy_conversation_model(
856        &self,
857        _req: crate::model::UndeployConversationModelRequest,
858        _options: crate::RequestOptions,
859    ) -> impl std::future::Future<
860        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
861    > + Send {
862        gaxi::unimplemented::unimplemented_stub()
863    }
864
865    /// Implements [super::client::ConversationModels::get_conversation_model_evaluation].
866    fn get_conversation_model_evaluation(
867        &self,
868        _req: crate::model::GetConversationModelEvaluationRequest,
869        _options: crate::RequestOptions,
870    ) -> impl std::future::Future<
871        Output = crate::Result<crate::Response<crate::model::ConversationModelEvaluation>>,
872    > + Send {
873        gaxi::unimplemented::unimplemented_stub()
874    }
875
876    /// Implements [super::client::ConversationModels::list_conversation_model_evaluations].
877    fn list_conversation_model_evaluations(
878        &self,
879        _req: crate::model::ListConversationModelEvaluationsRequest,
880        _options: crate::RequestOptions,
881    ) -> impl std::future::Future<
882        Output = crate::Result<
883            crate::Response<crate::model::ListConversationModelEvaluationsResponse>,
884        >,
885    > + Send {
886        gaxi::unimplemented::unimplemented_stub()
887    }
888
889    /// Implements [super::client::ConversationModels::create_conversation_model_evaluation].
890    fn create_conversation_model_evaluation(
891        &self,
892        _req: crate::model::CreateConversationModelEvaluationRequest,
893        _options: crate::RequestOptions,
894    ) -> impl std::future::Future<
895        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
896    > + Send {
897        gaxi::unimplemented::unimplemented_stub()
898    }
899
900    /// Implements [super::client::ConversationModels::list_locations].
901    fn list_locations(
902        &self,
903        _req: google_cloud_location::model::ListLocationsRequest,
904        _options: crate::RequestOptions,
905    ) -> impl std::future::Future<
906        Output = crate::Result<
907            crate::Response<google_cloud_location::model::ListLocationsResponse>,
908        >,
909    > + Send {
910        gaxi::unimplemented::unimplemented_stub()
911    }
912
913    /// Implements [super::client::ConversationModels::get_location].
914    fn get_location(
915        &self,
916        _req: google_cloud_location::model::GetLocationRequest,
917        _options: crate::RequestOptions,
918    ) -> impl std::future::Future<
919        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
920    > + Send {
921        gaxi::unimplemented::unimplemented_stub()
922    }
923
924    /// Implements [super::client::ConversationModels::list_operations].
925    fn list_operations(
926        &self,
927        _req: google_cloud_longrunning::model::ListOperationsRequest,
928        _options: crate::RequestOptions,
929    ) -> impl std::future::Future<
930        Output = crate::Result<
931            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
932        >,
933    > + Send {
934        gaxi::unimplemented::unimplemented_stub()
935    }
936
937    /// Implements [super::client::ConversationModels::get_operation].
938    fn get_operation(
939        &self,
940        _req: google_cloud_longrunning::model::GetOperationRequest,
941        _options: crate::RequestOptions,
942    ) -> impl std::future::Future<
943        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
944    > + Send {
945        gaxi::unimplemented::unimplemented_stub()
946    }
947
948    /// Implements [super::client::ConversationModels::cancel_operation].
949    fn cancel_operation(
950        &self,
951        _req: google_cloud_longrunning::model::CancelOperationRequest,
952        _options: crate::RequestOptions,
953    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
954        gaxi::unimplemented::unimplemented_stub()
955    }
956
957    /// Returns the polling error policy.
958    ///
959    /// When mocking, this method is typically irrelevant. Do not try to verify
960    /// it is called by your mocks.
961    fn get_polling_error_policy(
962        &self,
963        _options: &crate::RequestOptions,
964    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
965        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
966    }
967
968    /// Returns the polling backoff policy.
969    ///
970    /// When mocking, this method is typically irrelevant. Do not try to verify
971    /// it is called by your mocks.
972    fn get_polling_backoff_policy(
973        &self,
974        _options: &crate::RequestOptions,
975    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
976        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
977    }
978}
979
980/// Defines the trait used to implement [super::client::ConversationProfiles].
981///
982/// Application developers may need to implement this trait to mock
983/// `client::ConversationProfiles`.  In other use-cases, application developers only
984/// use `client::ConversationProfiles` and need not be concerned with this trait or
985/// its implementations.
986///
987/// Services gain new RPCs routinely. Consequently, this trait gains new methods
988/// too. To avoid breaking applications the trait provides a default
989/// implementation of each method. Most of these implementations just return an
990/// error.
991#[cfg(feature = "conversation-profiles")]
992#[cfg_attr(docsrs, doc(cfg(feature = "conversation-profiles")))]
993pub trait ConversationProfiles: std::fmt::Debug + Send + Sync {
994    /// Implements [super::client::ConversationProfiles::list_conversation_profiles].
995    fn list_conversation_profiles(
996        &self,
997        _req: crate::model::ListConversationProfilesRequest,
998        _options: crate::RequestOptions,
999    ) -> impl std::future::Future<
1000        Output = crate::Result<crate::Response<crate::model::ListConversationProfilesResponse>>,
1001    > + Send {
1002        gaxi::unimplemented::unimplemented_stub()
1003    }
1004
1005    /// Implements [super::client::ConversationProfiles::get_conversation_profile].
1006    fn get_conversation_profile(
1007        &self,
1008        _req: crate::model::GetConversationProfileRequest,
1009        _options: crate::RequestOptions,
1010    ) -> impl std::future::Future<
1011        Output = crate::Result<crate::Response<crate::model::ConversationProfile>>,
1012    > + Send {
1013        gaxi::unimplemented::unimplemented_stub()
1014    }
1015
1016    /// Implements [super::client::ConversationProfiles::create_conversation_profile].
1017    fn create_conversation_profile(
1018        &self,
1019        _req: crate::model::CreateConversationProfileRequest,
1020        _options: crate::RequestOptions,
1021    ) -> impl std::future::Future<
1022        Output = crate::Result<crate::Response<crate::model::ConversationProfile>>,
1023    > + Send {
1024        gaxi::unimplemented::unimplemented_stub()
1025    }
1026
1027    /// Implements [super::client::ConversationProfiles::update_conversation_profile].
1028    fn update_conversation_profile(
1029        &self,
1030        _req: crate::model::UpdateConversationProfileRequest,
1031        _options: crate::RequestOptions,
1032    ) -> impl std::future::Future<
1033        Output = crate::Result<crate::Response<crate::model::ConversationProfile>>,
1034    > + Send {
1035        gaxi::unimplemented::unimplemented_stub()
1036    }
1037
1038    /// Implements [super::client::ConversationProfiles::delete_conversation_profile].
1039    fn delete_conversation_profile(
1040        &self,
1041        _req: crate::model::DeleteConversationProfileRequest,
1042        _options: crate::RequestOptions,
1043    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1044        gaxi::unimplemented::unimplemented_stub()
1045    }
1046
1047    /// Implements [super::client::ConversationProfiles::set_suggestion_feature_config].
1048    fn set_suggestion_feature_config(
1049        &self,
1050        _req: crate::model::SetSuggestionFeatureConfigRequest,
1051        _options: crate::RequestOptions,
1052    ) -> impl std::future::Future<
1053        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1054    > + Send {
1055        gaxi::unimplemented::unimplemented_stub()
1056    }
1057
1058    /// Implements [super::client::ConversationProfiles::clear_suggestion_feature_config].
1059    fn clear_suggestion_feature_config(
1060        &self,
1061        _req: crate::model::ClearSuggestionFeatureConfigRequest,
1062        _options: crate::RequestOptions,
1063    ) -> impl std::future::Future<
1064        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1065    > + Send {
1066        gaxi::unimplemented::unimplemented_stub()
1067    }
1068
1069    /// Implements [super::client::ConversationProfiles::list_locations].
1070    fn list_locations(
1071        &self,
1072        _req: google_cloud_location::model::ListLocationsRequest,
1073        _options: crate::RequestOptions,
1074    ) -> impl std::future::Future<
1075        Output = crate::Result<
1076            crate::Response<google_cloud_location::model::ListLocationsResponse>,
1077        >,
1078    > + Send {
1079        gaxi::unimplemented::unimplemented_stub()
1080    }
1081
1082    /// Implements [super::client::ConversationProfiles::get_location].
1083    fn get_location(
1084        &self,
1085        _req: google_cloud_location::model::GetLocationRequest,
1086        _options: crate::RequestOptions,
1087    ) -> impl std::future::Future<
1088        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
1089    > + Send {
1090        gaxi::unimplemented::unimplemented_stub()
1091    }
1092
1093    /// Implements [super::client::ConversationProfiles::list_operations].
1094    fn list_operations(
1095        &self,
1096        _req: google_cloud_longrunning::model::ListOperationsRequest,
1097        _options: crate::RequestOptions,
1098    ) -> impl std::future::Future<
1099        Output = crate::Result<
1100            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1101        >,
1102    > + Send {
1103        gaxi::unimplemented::unimplemented_stub()
1104    }
1105
1106    /// Implements [super::client::ConversationProfiles::get_operation].
1107    fn get_operation(
1108        &self,
1109        _req: google_cloud_longrunning::model::GetOperationRequest,
1110        _options: crate::RequestOptions,
1111    ) -> impl std::future::Future<
1112        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1113    > + Send {
1114        gaxi::unimplemented::unimplemented_stub()
1115    }
1116
1117    /// Implements [super::client::ConversationProfiles::cancel_operation].
1118    fn cancel_operation(
1119        &self,
1120        _req: google_cloud_longrunning::model::CancelOperationRequest,
1121        _options: crate::RequestOptions,
1122    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1123        gaxi::unimplemented::unimplemented_stub()
1124    }
1125
1126    /// Returns the polling error policy.
1127    ///
1128    /// When mocking, this method is typically irrelevant. Do not try to verify
1129    /// it is called by your mocks.
1130    fn get_polling_error_policy(
1131        &self,
1132        _options: &crate::RequestOptions,
1133    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
1134        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
1135    }
1136
1137    /// Returns the polling backoff policy.
1138    ///
1139    /// When mocking, this method is typically irrelevant. Do not try to verify
1140    /// it is called by your mocks.
1141    fn get_polling_backoff_policy(
1142        &self,
1143        _options: &crate::RequestOptions,
1144    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
1145        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
1146    }
1147}
1148
1149/// Defines the trait used to implement [super::client::Documents].
1150///
1151/// Application developers may need to implement this trait to mock
1152/// `client::Documents`.  In other use-cases, application developers only
1153/// use `client::Documents` and need not be concerned with this trait or
1154/// its implementations.
1155///
1156/// Services gain new RPCs routinely. Consequently, this trait gains new methods
1157/// too. To avoid breaking applications the trait provides a default
1158/// implementation of each method. Most of these implementations just return an
1159/// error.
1160#[cfg(feature = "documents")]
1161#[cfg_attr(docsrs, doc(cfg(feature = "documents")))]
1162pub trait Documents: std::fmt::Debug + Send + Sync {
1163    /// Implements [super::client::Documents::list_documents].
1164    fn list_documents(
1165        &self,
1166        _req: crate::model::ListDocumentsRequest,
1167        _options: crate::RequestOptions,
1168    ) -> impl std::future::Future<
1169        Output = crate::Result<crate::Response<crate::model::ListDocumentsResponse>>,
1170    > + Send {
1171        gaxi::unimplemented::unimplemented_stub()
1172    }
1173
1174    /// Implements [super::client::Documents::get_document].
1175    fn get_document(
1176        &self,
1177        _req: crate::model::GetDocumentRequest,
1178        _options: crate::RequestOptions,
1179    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Document>>> + Send
1180    {
1181        gaxi::unimplemented::unimplemented_stub()
1182    }
1183
1184    /// Implements [super::client::Documents::create_document].
1185    fn create_document(
1186        &self,
1187        _req: crate::model::CreateDocumentRequest,
1188        _options: crate::RequestOptions,
1189    ) -> impl std::future::Future<
1190        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1191    > + Send {
1192        gaxi::unimplemented::unimplemented_stub()
1193    }
1194
1195    /// Implements [super::client::Documents::import_documents].
1196    fn import_documents(
1197        &self,
1198        _req: crate::model::ImportDocumentsRequest,
1199        _options: crate::RequestOptions,
1200    ) -> impl std::future::Future<
1201        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1202    > + Send {
1203        gaxi::unimplemented::unimplemented_stub()
1204    }
1205
1206    /// Implements [super::client::Documents::delete_document].
1207    fn delete_document(
1208        &self,
1209        _req: crate::model::DeleteDocumentRequest,
1210        _options: crate::RequestOptions,
1211    ) -> impl std::future::Future<
1212        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1213    > + Send {
1214        gaxi::unimplemented::unimplemented_stub()
1215    }
1216
1217    /// Implements [super::client::Documents::update_document].
1218    fn update_document(
1219        &self,
1220        _req: crate::model::UpdateDocumentRequest,
1221        _options: crate::RequestOptions,
1222    ) -> impl std::future::Future<
1223        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1224    > + Send {
1225        gaxi::unimplemented::unimplemented_stub()
1226    }
1227
1228    /// Implements [super::client::Documents::reload_document].
1229    fn reload_document(
1230        &self,
1231        _req: crate::model::ReloadDocumentRequest,
1232        _options: crate::RequestOptions,
1233    ) -> impl std::future::Future<
1234        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1235    > + Send {
1236        gaxi::unimplemented::unimplemented_stub()
1237    }
1238
1239    /// Implements [super::client::Documents::export_document].
1240    fn export_document(
1241        &self,
1242        _req: crate::model::ExportDocumentRequest,
1243        _options: crate::RequestOptions,
1244    ) -> impl std::future::Future<
1245        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1246    > + Send {
1247        gaxi::unimplemented::unimplemented_stub()
1248    }
1249
1250    /// Implements [super::client::Documents::list_locations].
1251    fn list_locations(
1252        &self,
1253        _req: google_cloud_location::model::ListLocationsRequest,
1254        _options: crate::RequestOptions,
1255    ) -> impl std::future::Future<
1256        Output = crate::Result<
1257            crate::Response<google_cloud_location::model::ListLocationsResponse>,
1258        >,
1259    > + Send {
1260        gaxi::unimplemented::unimplemented_stub()
1261    }
1262
1263    /// Implements [super::client::Documents::get_location].
1264    fn get_location(
1265        &self,
1266        _req: google_cloud_location::model::GetLocationRequest,
1267        _options: crate::RequestOptions,
1268    ) -> impl std::future::Future<
1269        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
1270    > + Send {
1271        gaxi::unimplemented::unimplemented_stub()
1272    }
1273
1274    /// Implements [super::client::Documents::list_operations].
1275    fn list_operations(
1276        &self,
1277        _req: google_cloud_longrunning::model::ListOperationsRequest,
1278        _options: crate::RequestOptions,
1279    ) -> impl std::future::Future<
1280        Output = crate::Result<
1281            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1282        >,
1283    > + Send {
1284        gaxi::unimplemented::unimplemented_stub()
1285    }
1286
1287    /// Implements [super::client::Documents::get_operation].
1288    fn get_operation(
1289        &self,
1290        _req: google_cloud_longrunning::model::GetOperationRequest,
1291        _options: crate::RequestOptions,
1292    ) -> impl std::future::Future<
1293        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1294    > + Send {
1295        gaxi::unimplemented::unimplemented_stub()
1296    }
1297
1298    /// Implements [super::client::Documents::cancel_operation].
1299    fn cancel_operation(
1300        &self,
1301        _req: google_cloud_longrunning::model::CancelOperationRequest,
1302        _options: crate::RequestOptions,
1303    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1304        gaxi::unimplemented::unimplemented_stub()
1305    }
1306
1307    /// Returns the polling error policy.
1308    ///
1309    /// When mocking, this method is typically irrelevant. Do not try to verify
1310    /// it is called by your mocks.
1311    fn get_polling_error_policy(
1312        &self,
1313        _options: &crate::RequestOptions,
1314    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
1315        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
1316    }
1317
1318    /// Returns the polling backoff policy.
1319    ///
1320    /// When mocking, this method is typically irrelevant. Do not try to verify
1321    /// it is called by your mocks.
1322    fn get_polling_backoff_policy(
1323        &self,
1324        _options: &crate::RequestOptions,
1325    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
1326        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
1327    }
1328}
1329
1330/// Defines the trait used to implement [super::client::EncryptionSpecService].
1331///
1332/// Application developers may need to implement this trait to mock
1333/// `client::EncryptionSpecService`.  In other use-cases, application developers only
1334/// use `client::EncryptionSpecService` and need not be concerned with this trait or
1335/// its implementations.
1336///
1337/// Services gain new RPCs routinely. Consequently, this trait gains new methods
1338/// too. To avoid breaking applications the trait provides a default
1339/// implementation of each method. Most of these implementations just return an
1340/// error.
1341#[cfg(feature = "encryption-spec-service")]
1342#[cfg_attr(docsrs, doc(cfg(feature = "encryption-spec-service")))]
1343pub trait EncryptionSpecService: std::fmt::Debug + Send + Sync {
1344    /// Implements [super::client::EncryptionSpecService::get_encryption_spec].
1345    fn get_encryption_spec(
1346        &self,
1347        _req: crate::model::GetEncryptionSpecRequest,
1348        _options: crate::RequestOptions,
1349    ) -> impl std::future::Future<
1350        Output = crate::Result<crate::Response<crate::model::EncryptionSpec>>,
1351    > + Send {
1352        gaxi::unimplemented::unimplemented_stub()
1353    }
1354
1355    /// Implements [super::client::EncryptionSpecService::initialize_encryption_spec].
1356    fn initialize_encryption_spec(
1357        &self,
1358        _req: crate::model::InitializeEncryptionSpecRequest,
1359        _options: crate::RequestOptions,
1360    ) -> impl std::future::Future<
1361        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1362    > + Send {
1363        gaxi::unimplemented::unimplemented_stub()
1364    }
1365
1366    /// Implements [super::client::EncryptionSpecService::list_locations].
1367    fn list_locations(
1368        &self,
1369        _req: google_cloud_location::model::ListLocationsRequest,
1370        _options: crate::RequestOptions,
1371    ) -> impl std::future::Future<
1372        Output = crate::Result<
1373            crate::Response<google_cloud_location::model::ListLocationsResponse>,
1374        >,
1375    > + Send {
1376        gaxi::unimplemented::unimplemented_stub()
1377    }
1378
1379    /// Implements [super::client::EncryptionSpecService::get_location].
1380    fn get_location(
1381        &self,
1382        _req: google_cloud_location::model::GetLocationRequest,
1383        _options: crate::RequestOptions,
1384    ) -> impl std::future::Future<
1385        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
1386    > + Send {
1387        gaxi::unimplemented::unimplemented_stub()
1388    }
1389
1390    /// Implements [super::client::EncryptionSpecService::list_operations].
1391    fn list_operations(
1392        &self,
1393        _req: google_cloud_longrunning::model::ListOperationsRequest,
1394        _options: crate::RequestOptions,
1395    ) -> impl std::future::Future<
1396        Output = crate::Result<
1397            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1398        >,
1399    > + Send {
1400        gaxi::unimplemented::unimplemented_stub()
1401    }
1402
1403    /// Implements [super::client::EncryptionSpecService::get_operation].
1404    fn get_operation(
1405        &self,
1406        _req: google_cloud_longrunning::model::GetOperationRequest,
1407        _options: crate::RequestOptions,
1408    ) -> impl std::future::Future<
1409        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1410    > + Send {
1411        gaxi::unimplemented::unimplemented_stub()
1412    }
1413
1414    /// Implements [super::client::EncryptionSpecService::cancel_operation].
1415    fn cancel_operation(
1416        &self,
1417        _req: google_cloud_longrunning::model::CancelOperationRequest,
1418        _options: crate::RequestOptions,
1419    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1420        gaxi::unimplemented::unimplemented_stub()
1421    }
1422
1423    /// Returns the polling error policy.
1424    ///
1425    /// When mocking, this method is typically irrelevant. Do not try to verify
1426    /// it is called by your mocks.
1427    fn get_polling_error_policy(
1428        &self,
1429        _options: &crate::RequestOptions,
1430    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
1431        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
1432    }
1433
1434    /// Returns the polling backoff policy.
1435    ///
1436    /// When mocking, this method is typically irrelevant. Do not try to verify
1437    /// it is called by your mocks.
1438    fn get_polling_backoff_policy(
1439        &self,
1440        _options: &crate::RequestOptions,
1441    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
1442        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
1443    }
1444}
1445
1446/// Defines the trait used to implement [super::client::EntityTypes].
1447///
1448/// Application developers may need to implement this trait to mock
1449/// `client::EntityTypes`.  In other use-cases, application developers only
1450/// use `client::EntityTypes` and need not be concerned with this trait or
1451/// its implementations.
1452///
1453/// Services gain new RPCs routinely. Consequently, this trait gains new methods
1454/// too. To avoid breaking applications the trait provides a default
1455/// implementation of each method. Most of these implementations just return an
1456/// error.
1457#[cfg(feature = "entity-types")]
1458#[cfg_attr(docsrs, doc(cfg(feature = "entity-types")))]
1459pub trait EntityTypes: std::fmt::Debug + Send + Sync {
1460    /// Implements [super::client::EntityTypes::list_entity_types].
1461    fn list_entity_types(
1462        &self,
1463        _req: crate::model::ListEntityTypesRequest,
1464        _options: crate::RequestOptions,
1465    ) -> impl std::future::Future<
1466        Output = crate::Result<crate::Response<crate::model::ListEntityTypesResponse>>,
1467    > + Send {
1468        gaxi::unimplemented::unimplemented_stub()
1469    }
1470
1471    /// Implements [super::client::EntityTypes::get_entity_type].
1472    fn get_entity_type(
1473        &self,
1474        _req: crate::model::GetEntityTypeRequest,
1475        _options: crate::RequestOptions,
1476    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::EntityType>>> + Send
1477    {
1478        gaxi::unimplemented::unimplemented_stub()
1479    }
1480
1481    /// Implements [super::client::EntityTypes::create_entity_type].
1482    fn create_entity_type(
1483        &self,
1484        _req: crate::model::CreateEntityTypeRequest,
1485        _options: crate::RequestOptions,
1486    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::EntityType>>> + Send
1487    {
1488        gaxi::unimplemented::unimplemented_stub()
1489    }
1490
1491    /// Implements [super::client::EntityTypes::update_entity_type].
1492    fn update_entity_type(
1493        &self,
1494        _req: crate::model::UpdateEntityTypeRequest,
1495        _options: crate::RequestOptions,
1496    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::EntityType>>> + Send
1497    {
1498        gaxi::unimplemented::unimplemented_stub()
1499    }
1500
1501    /// Implements [super::client::EntityTypes::delete_entity_type].
1502    fn delete_entity_type(
1503        &self,
1504        _req: crate::model::DeleteEntityTypeRequest,
1505        _options: crate::RequestOptions,
1506    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1507        gaxi::unimplemented::unimplemented_stub()
1508    }
1509
1510    /// Implements [super::client::EntityTypes::batch_update_entity_types].
1511    fn batch_update_entity_types(
1512        &self,
1513        _req: crate::model::BatchUpdateEntityTypesRequest,
1514        _options: crate::RequestOptions,
1515    ) -> impl std::future::Future<
1516        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1517    > + Send {
1518        gaxi::unimplemented::unimplemented_stub()
1519    }
1520
1521    /// Implements [super::client::EntityTypes::batch_delete_entity_types].
1522    fn batch_delete_entity_types(
1523        &self,
1524        _req: crate::model::BatchDeleteEntityTypesRequest,
1525        _options: crate::RequestOptions,
1526    ) -> impl std::future::Future<
1527        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1528    > + Send {
1529        gaxi::unimplemented::unimplemented_stub()
1530    }
1531
1532    /// Implements [super::client::EntityTypes::batch_create_entities].
1533    fn batch_create_entities(
1534        &self,
1535        _req: crate::model::BatchCreateEntitiesRequest,
1536        _options: crate::RequestOptions,
1537    ) -> impl std::future::Future<
1538        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1539    > + Send {
1540        gaxi::unimplemented::unimplemented_stub()
1541    }
1542
1543    /// Implements [super::client::EntityTypes::batch_update_entities].
1544    fn batch_update_entities(
1545        &self,
1546        _req: crate::model::BatchUpdateEntitiesRequest,
1547        _options: crate::RequestOptions,
1548    ) -> impl std::future::Future<
1549        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1550    > + Send {
1551        gaxi::unimplemented::unimplemented_stub()
1552    }
1553
1554    /// Implements [super::client::EntityTypes::batch_delete_entities].
1555    fn batch_delete_entities(
1556        &self,
1557        _req: crate::model::BatchDeleteEntitiesRequest,
1558        _options: crate::RequestOptions,
1559    ) -> impl std::future::Future<
1560        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1561    > + Send {
1562        gaxi::unimplemented::unimplemented_stub()
1563    }
1564
1565    /// Implements [super::client::EntityTypes::list_locations].
1566    fn list_locations(
1567        &self,
1568        _req: google_cloud_location::model::ListLocationsRequest,
1569        _options: crate::RequestOptions,
1570    ) -> impl std::future::Future<
1571        Output = crate::Result<
1572            crate::Response<google_cloud_location::model::ListLocationsResponse>,
1573        >,
1574    > + Send {
1575        gaxi::unimplemented::unimplemented_stub()
1576    }
1577
1578    /// Implements [super::client::EntityTypes::get_location].
1579    fn get_location(
1580        &self,
1581        _req: google_cloud_location::model::GetLocationRequest,
1582        _options: crate::RequestOptions,
1583    ) -> impl std::future::Future<
1584        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
1585    > + Send {
1586        gaxi::unimplemented::unimplemented_stub()
1587    }
1588
1589    /// Implements [super::client::EntityTypes::list_operations].
1590    fn list_operations(
1591        &self,
1592        _req: google_cloud_longrunning::model::ListOperationsRequest,
1593        _options: crate::RequestOptions,
1594    ) -> impl std::future::Future<
1595        Output = crate::Result<
1596            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1597        >,
1598    > + Send {
1599        gaxi::unimplemented::unimplemented_stub()
1600    }
1601
1602    /// Implements [super::client::EntityTypes::get_operation].
1603    fn get_operation(
1604        &self,
1605        _req: google_cloud_longrunning::model::GetOperationRequest,
1606        _options: crate::RequestOptions,
1607    ) -> impl std::future::Future<
1608        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1609    > + Send {
1610        gaxi::unimplemented::unimplemented_stub()
1611    }
1612
1613    /// Implements [super::client::EntityTypes::cancel_operation].
1614    fn cancel_operation(
1615        &self,
1616        _req: google_cloud_longrunning::model::CancelOperationRequest,
1617        _options: crate::RequestOptions,
1618    ) -> impl std::future::Future<Output = crate::Result<crate::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: &crate::RequestOptions,
1629    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
1630        std::sync::Arc::new(google_cloud_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: &crate::RequestOptions,
1640    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
1641        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
1642    }
1643}
1644
1645/// Defines the trait used to implement [super::client::Environments].
1646///
1647/// Application developers may need to implement this trait to mock
1648/// `client::Environments`.  In other use-cases, application developers only
1649/// use `client::Environments` 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.
1656#[cfg(feature = "environments")]
1657#[cfg_attr(docsrs, doc(cfg(feature = "environments")))]
1658pub trait Environments: std::fmt::Debug + Send + Sync {
1659    /// Implements [super::client::Environments::list_environments].
1660    fn list_environments(
1661        &self,
1662        _req: crate::model::ListEnvironmentsRequest,
1663        _options: crate::RequestOptions,
1664    ) -> impl std::future::Future<
1665        Output = crate::Result<crate::Response<crate::model::ListEnvironmentsResponse>>,
1666    > + Send {
1667        gaxi::unimplemented::unimplemented_stub()
1668    }
1669
1670    /// Implements [super::client::Environments::get_environment].
1671    fn get_environment(
1672        &self,
1673        _req: crate::model::GetEnvironmentRequest,
1674        _options: crate::RequestOptions,
1675    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Environment>>>
1676    + Send {
1677        gaxi::unimplemented::unimplemented_stub()
1678    }
1679
1680    /// Implements [super::client::Environments::create_environment].
1681    fn create_environment(
1682        &self,
1683        _req: crate::model::CreateEnvironmentRequest,
1684        _options: crate::RequestOptions,
1685    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Environment>>>
1686    + Send {
1687        gaxi::unimplemented::unimplemented_stub()
1688    }
1689
1690    /// Implements [super::client::Environments::update_environment].
1691    fn update_environment(
1692        &self,
1693        _req: crate::model::UpdateEnvironmentRequest,
1694        _options: crate::RequestOptions,
1695    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Environment>>>
1696    + Send {
1697        gaxi::unimplemented::unimplemented_stub()
1698    }
1699
1700    /// Implements [super::client::Environments::delete_environment].
1701    fn delete_environment(
1702        &self,
1703        _req: crate::model::DeleteEnvironmentRequest,
1704        _options: crate::RequestOptions,
1705    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1706        gaxi::unimplemented::unimplemented_stub()
1707    }
1708
1709    /// Implements [super::client::Environments::get_environment_history].
1710    fn get_environment_history(
1711        &self,
1712        _req: crate::model::GetEnvironmentHistoryRequest,
1713        _options: crate::RequestOptions,
1714    ) -> impl std::future::Future<
1715        Output = crate::Result<crate::Response<crate::model::EnvironmentHistory>>,
1716    > + Send {
1717        gaxi::unimplemented::unimplemented_stub()
1718    }
1719
1720    /// Implements [super::client::Environments::list_locations].
1721    fn list_locations(
1722        &self,
1723        _req: google_cloud_location::model::ListLocationsRequest,
1724        _options: crate::RequestOptions,
1725    ) -> impl std::future::Future<
1726        Output = crate::Result<
1727            crate::Response<google_cloud_location::model::ListLocationsResponse>,
1728        >,
1729    > + Send {
1730        gaxi::unimplemented::unimplemented_stub()
1731    }
1732
1733    /// Implements [super::client::Environments::get_location].
1734    fn get_location(
1735        &self,
1736        _req: google_cloud_location::model::GetLocationRequest,
1737        _options: crate::RequestOptions,
1738    ) -> impl std::future::Future<
1739        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
1740    > + Send {
1741        gaxi::unimplemented::unimplemented_stub()
1742    }
1743
1744    /// Implements [super::client::Environments::list_operations].
1745    fn list_operations(
1746        &self,
1747        _req: google_cloud_longrunning::model::ListOperationsRequest,
1748        _options: crate::RequestOptions,
1749    ) -> impl std::future::Future<
1750        Output = crate::Result<
1751            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1752        >,
1753    > + Send {
1754        gaxi::unimplemented::unimplemented_stub()
1755    }
1756
1757    /// Implements [super::client::Environments::get_operation].
1758    fn get_operation(
1759        &self,
1760        _req: google_cloud_longrunning::model::GetOperationRequest,
1761        _options: crate::RequestOptions,
1762    ) -> impl std::future::Future<
1763        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1764    > + Send {
1765        gaxi::unimplemented::unimplemented_stub()
1766    }
1767
1768    /// Implements [super::client::Environments::cancel_operation].
1769    fn cancel_operation(
1770        &self,
1771        _req: google_cloud_longrunning::model::CancelOperationRequest,
1772        _options: crate::RequestOptions,
1773    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1774        gaxi::unimplemented::unimplemented_stub()
1775    }
1776}
1777
1778/// Defines the trait used to implement [super::client::Fulfillments].
1779///
1780/// Application developers may need to implement this trait to mock
1781/// `client::Fulfillments`.  In other use-cases, application developers only
1782/// use `client::Fulfillments` and need not be concerned with this trait or
1783/// its implementations.
1784///
1785/// Services gain new RPCs routinely. Consequently, this trait gains new methods
1786/// too. To avoid breaking applications the trait provides a default
1787/// implementation of each method. Most of these implementations just return an
1788/// error.
1789#[cfg(feature = "fulfillments")]
1790#[cfg_attr(docsrs, doc(cfg(feature = "fulfillments")))]
1791pub trait Fulfillments: std::fmt::Debug + Send + Sync {
1792    /// Implements [super::client::Fulfillments::get_fulfillment].
1793    fn get_fulfillment(
1794        &self,
1795        _req: crate::model::GetFulfillmentRequest,
1796        _options: crate::RequestOptions,
1797    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Fulfillment>>>
1798    + Send {
1799        gaxi::unimplemented::unimplemented_stub()
1800    }
1801
1802    /// Implements [super::client::Fulfillments::update_fulfillment].
1803    fn update_fulfillment(
1804        &self,
1805        _req: crate::model::UpdateFulfillmentRequest,
1806        _options: crate::RequestOptions,
1807    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Fulfillment>>>
1808    + Send {
1809        gaxi::unimplemented::unimplemented_stub()
1810    }
1811
1812    /// Implements [super::client::Fulfillments::list_locations].
1813    fn list_locations(
1814        &self,
1815        _req: google_cloud_location::model::ListLocationsRequest,
1816        _options: crate::RequestOptions,
1817    ) -> impl std::future::Future<
1818        Output = crate::Result<
1819            crate::Response<google_cloud_location::model::ListLocationsResponse>,
1820        >,
1821    > + Send {
1822        gaxi::unimplemented::unimplemented_stub()
1823    }
1824
1825    /// Implements [super::client::Fulfillments::get_location].
1826    fn get_location(
1827        &self,
1828        _req: google_cloud_location::model::GetLocationRequest,
1829        _options: crate::RequestOptions,
1830    ) -> impl std::future::Future<
1831        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
1832    > + Send {
1833        gaxi::unimplemented::unimplemented_stub()
1834    }
1835
1836    /// Implements [super::client::Fulfillments::list_operations].
1837    fn list_operations(
1838        &self,
1839        _req: google_cloud_longrunning::model::ListOperationsRequest,
1840        _options: crate::RequestOptions,
1841    ) -> impl std::future::Future<
1842        Output = crate::Result<
1843            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1844        >,
1845    > + Send {
1846        gaxi::unimplemented::unimplemented_stub()
1847    }
1848
1849    /// Implements [super::client::Fulfillments::get_operation].
1850    fn get_operation(
1851        &self,
1852        _req: google_cloud_longrunning::model::GetOperationRequest,
1853        _options: crate::RequestOptions,
1854    ) -> impl std::future::Future<
1855        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1856    > + Send {
1857        gaxi::unimplemented::unimplemented_stub()
1858    }
1859
1860    /// Implements [super::client::Fulfillments::cancel_operation].
1861    fn cancel_operation(
1862        &self,
1863        _req: google_cloud_longrunning::model::CancelOperationRequest,
1864        _options: crate::RequestOptions,
1865    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1866        gaxi::unimplemented::unimplemented_stub()
1867    }
1868}
1869
1870/// Defines the trait used to implement [super::client::Generators].
1871///
1872/// Application developers may need to implement this trait to mock
1873/// `client::Generators`.  In other use-cases, application developers only
1874/// use `client::Generators` and need not be concerned with this trait or
1875/// its implementations.
1876///
1877/// Services gain new RPCs routinely. Consequently, this trait gains new methods
1878/// too. To avoid breaking applications the trait provides a default
1879/// implementation of each method. Most of these implementations just return an
1880/// error.
1881#[cfg(feature = "generators")]
1882#[cfg_attr(docsrs, doc(cfg(feature = "generators")))]
1883pub trait Generators: std::fmt::Debug + Send + Sync {
1884    /// Implements [super::client::Generators::create_generator].
1885    fn create_generator(
1886        &self,
1887        _req: crate::model::CreateGeneratorRequest,
1888        _options: crate::RequestOptions,
1889    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Generator>>> + Send
1890    {
1891        gaxi::unimplemented::unimplemented_stub()
1892    }
1893
1894    /// Implements [super::client::Generators::get_generator].
1895    fn get_generator(
1896        &self,
1897        _req: crate::model::GetGeneratorRequest,
1898        _options: crate::RequestOptions,
1899    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Generator>>> + Send
1900    {
1901        gaxi::unimplemented::unimplemented_stub()
1902    }
1903
1904    /// Implements [super::client::Generators::list_generators].
1905    fn list_generators(
1906        &self,
1907        _req: crate::model::ListGeneratorsRequest,
1908        _options: crate::RequestOptions,
1909    ) -> impl std::future::Future<
1910        Output = crate::Result<crate::Response<crate::model::ListGeneratorsResponse>>,
1911    > + Send {
1912        gaxi::unimplemented::unimplemented_stub()
1913    }
1914
1915    /// Implements [super::client::Generators::delete_generator].
1916    fn delete_generator(
1917        &self,
1918        _req: crate::model::DeleteGeneratorRequest,
1919        _options: crate::RequestOptions,
1920    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1921        gaxi::unimplemented::unimplemented_stub()
1922    }
1923
1924    /// Implements [super::client::Generators::update_generator].
1925    fn update_generator(
1926        &self,
1927        _req: crate::model::UpdateGeneratorRequest,
1928        _options: crate::RequestOptions,
1929    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Generator>>> + Send
1930    {
1931        gaxi::unimplemented::unimplemented_stub()
1932    }
1933
1934    /// Implements [super::client::Generators::list_locations].
1935    fn list_locations(
1936        &self,
1937        _req: google_cloud_location::model::ListLocationsRequest,
1938        _options: crate::RequestOptions,
1939    ) -> impl std::future::Future<
1940        Output = crate::Result<
1941            crate::Response<google_cloud_location::model::ListLocationsResponse>,
1942        >,
1943    > + Send {
1944        gaxi::unimplemented::unimplemented_stub()
1945    }
1946
1947    /// Implements [super::client::Generators::get_location].
1948    fn get_location(
1949        &self,
1950        _req: google_cloud_location::model::GetLocationRequest,
1951        _options: crate::RequestOptions,
1952    ) -> impl std::future::Future<
1953        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
1954    > + Send {
1955        gaxi::unimplemented::unimplemented_stub()
1956    }
1957
1958    /// Implements [super::client::Generators::list_operations].
1959    fn list_operations(
1960        &self,
1961        _req: google_cloud_longrunning::model::ListOperationsRequest,
1962        _options: crate::RequestOptions,
1963    ) -> impl std::future::Future<
1964        Output = crate::Result<
1965            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1966        >,
1967    > + Send {
1968        gaxi::unimplemented::unimplemented_stub()
1969    }
1970
1971    /// Implements [super::client::Generators::get_operation].
1972    fn get_operation(
1973        &self,
1974        _req: google_cloud_longrunning::model::GetOperationRequest,
1975        _options: crate::RequestOptions,
1976    ) -> impl std::future::Future<
1977        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1978    > + Send {
1979        gaxi::unimplemented::unimplemented_stub()
1980    }
1981
1982    /// Implements [super::client::Generators::cancel_operation].
1983    fn cancel_operation(
1984        &self,
1985        _req: google_cloud_longrunning::model::CancelOperationRequest,
1986        _options: crate::RequestOptions,
1987    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1988        gaxi::unimplemented::unimplemented_stub()
1989    }
1990}
1991
1992/// Defines the trait used to implement [super::client::GeneratorEvaluations].
1993///
1994/// Application developers may need to implement this trait to mock
1995/// `client::GeneratorEvaluations`.  In other use-cases, application developers only
1996/// use `client::GeneratorEvaluations` and need not be concerned with this trait or
1997/// its implementations.
1998///
1999/// Services gain new RPCs routinely. Consequently, this trait gains new methods
2000/// too. To avoid breaking applications the trait provides a default
2001/// implementation of each method. Most of these implementations just return an
2002/// error.
2003#[cfg(feature = "generator-evaluations")]
2004#[cfg_attr(docsrs, doc(cfg(feature = "generator-evaluations")))]
2005pub trait GeneratorEvaluations: std::fmt::Debug + Send + Sync {
2006    /// Implements [super::client::GeneratorEvaluations::create_generator_evaluation].
2007    fn create_generator_evaluation(
2008        &self,
2009        _req: crate::model::CreateGeneratorEvaluationRequest,
2010        _options: crate::RequestOptions,
2011    ) -> impl std::future::Future<
2012        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2013    > + Send {
2014        gaxi::unimplemented::unimplemented_stub()
2015    }
2016
2017    /// Implements [super::client::GeneratorEvaluations::get_generator_evaluation].
2018    fn get_generator_evaluation(
2019        &self,
2020        _req: crate::model::GetGeneratorEvaluationRequest,
2021        _options: crate::RequestOptions,
2022    ) -> impl std::future::Future<
2023        Output = crate::Result<crate::Response<crate::model::GeneratorEvaluation>>,
2024    > + Send {
2025        gaxi::unimplemented::unimplemented_stub()
2026    }
2027
2028    /// Implements [super::client::GeneratorEvaluations::list_generator_evaluations].
2029    fn list_generator_evaluations(
2030        &self,
2031        _req: crate::model::ListGeneratorEvaluationsRequest,
2032        _options: crate::RequestOptions,
2033    ) -> impl std::future::Future<
2034        Output = crate::Result<crate::Response<crate::model::ListGeneratorEvaluationsResponse>>,
2035    > + Send {
2036        gaxi::unimplemented::unimplemented_stub()
2037    }
2038
2039    /// Implements [super::client::GeneratorEvaluations::delete_generator_evaluation].
2040    fn delete_generator_evaluation(
2041        &self,
2042        _req: crate::model::DeleteGeneratorEvaluationRequest,
2043        _options: crate::RequestOptions,
2044    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
2045        gaxi::unimplemented::unimplemented_stub()
2046    }
2047
2048    /// Implements [super::client::GeneratorEvaluations::list_locations].
2049    fn list_locations(
2050        &self,
2051        _req: google_cloud_location::model::ListLocationsRequest,
2052        _options: crate::RequestOptions,
2053    ) -> impl std::future::Future<
2054        Output = crate::Result<
2055            crate::Response<google_cloud_location::model::ListLocationsResponse>,
2056        >,
2057    > + Send {
2058        gaxi::unimplemented::unimplemented_stub()
2059    }
2060
2061    /// Implements [super::client::GeneratorEvaluations::get_location].
2062    fn get_location(
2063        &self,
2064        _req: google_cloud_location::model::GetLocationRequest,
2065        _options: crate::RequestOptions,
2066    ) -> impl std::future::Future<
2067        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
2068    > + Send {
2069        gaxi::unimplemented::unimplemented_stub()
2070    }
2071
2072    /// Implements [super::client::GeneratorEvaluations::list_operations].
2073    fn list_operations(
2074        &self,
2075        _req: google_cloud_longrunning::model::ListOperationsRequest,
2076        _options: crate::RequestOptions,
2077    ) -> impl std::future::Future<
2078        Output = crate::Result<
2079            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
2080        >,
2081    > + Send {
2082        gaxi::unimplemented::unimplemented_stub()
2083    }
2084
2085    /// Implements [super::client::GeneratorEvaluations::get_operation].
2086    fn get_operation(
2087        &self,
2088        _req: google_cloud_longrunning::model::GetOperationRequest,
2089        _options: crate::RequestOptions,
2090    ) -> impl std::future::Future<
2091        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2092    > + Send {
2093        gaxi::unimplemented::unimplemented_stub()
2094    }
2095
2096    /// Implements [super::client::GeneratorEvaluations::cancel_operation].
2097    fn cancel_operation(
2098        &self,
2099        _req: google_cloud_longrunning::model::CancelOperationRequest,
2100        _options: crate::RequestOptions,
2101    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
2102        gaxi::unimplemented::unimplemented_stub()
2103    }
2104
2105    /// Returns the polling error policy.
2106    ///
2107    /// When mocking, this method is typically irrelevant. Do not try to verify
2108    /// it is called by your mocks.
2109    fn get_polling_error_policy(
2110        &self,
2111        _options: &crate::RequestOptions,
2112    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
2113        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
2114    }
2115
2116    /// Returns the polling backoff policy.
2117    ///
2118    /// When mocking, this method is typically irrelevant. Do not try to verify
2119    /// it is called by your mocks.
2120    fn get_polling_backoff_policy(
2121        &self,
2122        _options: &crate::RequestOptions,
2123    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
2124        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
2125    }
2126}
2127
2128/// Defines the trait used to implement [super::client::Intents].
2129///
2130/// Application developers may need to implement this trait to mock
2131/// `client::Intents`.  In other use-cases, application developers only
2132/// use `client::Intents` and need not be concerned with this trait or
2133/// its implementations.
2134///
2135/// Services gain new RPCs routinely. Consequently, this trait gains new methods
2136/// too. To avoid breaking applications the trait provides a default
2137/// implementation of each method. Most of these implementations just return an
2138/// error.
2139#[cfg(feature = "intents")]
2140#[cfg_attr(docsrs, doc(cfg(feature = "intents")))]
2141pub trait Intents: std::fmt::Debug + Send + Sync {
2142    /// Implements [super::client::Intents::list_intents].
2143    fn list_intents(
2144        &self,
2145        _req: crate::model::ListIntentsRequest,
2146        _options: crate::RequestOptions,
2147    ) -> impl std::future::Future<
2148        Output = crate::Result<crate::Response<crate::model::ListIntentsResponse>>,
2149    > + Send {
2150        gaxi::unimplemented::unimplemented_stub()
2151    }
2152
2153    /// Implements [super::client::Intents::get_intent].
2154    fn get_intent(
2155        &self,
2156        _req: crate::model::GetIntentRequest,
2157        _options: crate::RequestOptions,
2158    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Intent>>> + Send
2159    {
2160        gaxi::unimplemented::unimplemented_stub()
2161    }
2162
2163    /// Implements [super::client::Intents::create_intent].
2164    fn create_intent(
2165        &self,
2166        _req: crate::model::CreateIntentRequest,
2167        _options: crate::RequestOptions,
2168    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Intent>>> + Send
2169    {
2170        gaxi::unimplemented::unimplemented_stub()
2171    }
2172
2173    /// Implements [super::client::Intents::update_intent].
2174    fn update_intent(
2175        &self,
2176        _req: crate::model::UpdateIntentRequest,
2177        _options: crate::RequestOptions,
2178    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Intent>>> + Send
2179    {
2180        gaxi::unimplemented::unimplemented_stub()
2181    }
2182
2183    /// Implements [super::client::Intents::delete_intent].
2184    fn delete_intent(
2185        &self,
2186        _req: crate::model::DeleteIntentRequest,
2187        _options: crate::RequestOptions,
2188    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
2189        gaxi::unimplemented::unimplemented_stub()
2190    }
2191
2192    /// Implements [super::client::Intents::batch_update_intents].
2193    fn batch_update_intents(
2194        &self,
2195        _req: crate::model::BatchUpdateIntentsRequest,
2196        _options: crate::RequestOptions,
2197    ) -> impl std::future::Future<
2198        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2199    > + Send {
2200        gaxi::unimplemented::unimplemented_stub()
2201    }
2202
2203    /// Implements [super::client::Intents::batch_delete_intents].
2204    fn batch_delete_intents(
2205        &self,
2206        _req: crate::model::BatchDeleteIntentsRequest,
2207        _options: crate::RequestOptions,
2208    ) -> impl std::future::Future<
2209        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2210    > + Send {
2211        gaxi::unimplemented::unimplemented_stub()
2212    }
2213
2214    /// Implements [super::client::Intents::list_locations].
2215    fn list_locations(
2216        &self,
2217        _req: google_cloud_location::model::ListLocationsRequest,
2218        _options: crate::RequestOptions,
2219    ) -> impl std::future::Future<
2220        Output = crate::Result<
2221            crate::Response<google_cloud_location::model::ListLocationsResponse>,
2222        >,
2223    > + Send {
2224        gaxi::unimplemented::unimplemented_stub()
2225    }
2226
2227    /// Implements [super::client::Intents::get_location].
2228    fn get_location(
2229        &self,
2230        _req: google_cloud_location::model::GetLocationRequest,
2231        _options: crate::RequestOptions,
2232    ) -> impl std::future::Future<
2233        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
2234    > + Send {
2235        gaxi::unimplemented::unimplemented_stub()
2236    }
2237
2238    /// Implements [super::client::Intents::list_operations].
2239    fn list_operations(
2240        &self,
2241        _req: google_cloud_longrunning::model::ListOperationsRequest,
2242        _options: crate::RequestOptions,
2243    ) -> impl std::future::Future<
2244        Output = crate::Result<
2245            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
2246        >,
2247    > + Send {
2248        gaxi::unimplemented::unimplemented_stub()
2249    }
2250
2251    /// Implements [super::client::Intents::get_operation].
2252    fn get_operation(
2253        &self,
2254        _req: google_cloud_longrunning::model::GetOperationRequest,
2255        _options: crate::RequestOptions,
2256    ) -> impl std::future::Future<
2257        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2258    > + Send {
2259        gaxi::unimplemented::unimplemented_stub()
2260    }
2261
2262    /// Implements [super::client::Intents::cancel_operation].
2263    fn cancel_operation(
2264        &self,
2265        _req: google_cloud_longrunning::model::CancelOperationRequest,
2266        _options: crate::RequestOptions,
2267    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
2268        gaxi::unimplemented::unimplemented_stub()
2269    }
2270
2271    /// Returns the polling error policy.
2272    ///
2273    /// When mocking, this method is typically irrelevant. Do not try to verify
2274    /// it is called by your mocks.
2275    fn get_polling_error_policy(
2276        &self,
2277        _options: &crate::RequestOptions,
2278    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
2279        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
2280    }
2281
2282    /// Returns the polling backoff policy.
2283    ///
2284    /// When mocking, this method is typically irrelevant. Do not try to verify
2285    /// it is called by your mocks.
2286    fn get_polling_backoff_policy(
2287        &self,
2288        _options: &crate::RequestOptions,
2289    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
2290        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
2291    }
2292}
2293
2294/// Defines the trait used to implement [super::client::KnowledgeBases].
2295///
2296/// Application developers may need to implement this trait to mock
2297/// `client::KnowledgeBases`.  In other use-cases, application developers only
2298/// use `client::KnowledgeBases` and need not be concerned with this trait or
2299/// its implementations.
2300///
2301/// Services gain new RPCs routinely. Consequently, this trait gains new methods
2302/// too. To avoid breaking applications the trait provides a default
2303/// implementation of each method. Most of these implementations just return an
2304/// error.
2305#[cfg(feature = "knowledge-bases")]
2306#[cfg_attr(docsrs, doc(cfg(feature = "knowledge-bases")))]
2307pub trait KnowledgeBases: std::fmt::Debug + Send + Sync {
2308    /// Implements [super::client::KnowledgeBases::list_knowledge_bases].
2309    fn list_knowledge_bases(
2310        &self,
2311        _req: crate::model::ListKnowledgeBasesRequest,
2312        _options: crate::RequestOptions,
2313    ) -> impl std::future::Future<
2314        Output = crate::Result<crate::Response<crate::model::ListKnowledgeBasesResponse>>,
2315    > + Send {
2316        gaxi::unimplemented::unimplemented_stub()
2317    }
2318
2319    /// Implements [super::client::KnowledgeBases::get_knowledge_base].
2320    fn get_knowledge_base(
2321        &self,
2322        _req: crate::model::GetKnowledgeBaseRequest,
2323        _options: crate::RequestOptions,
2324    ) -> impl std::future::Future<
2325        Output = crate::Result<crate::Response<crate::model::KnowledgeBase>>,
2326    > + Send {
2327        gaxi::unimplemented::unimplemented_stub()
2328    }
2329
2330    /// Implements [super::client::KnowledgeBases::create_knowledge_base].
2331    fn create_knowledge_base(
2332        &self,
2333        _req: crate::model::CreateKnowledgeBaseRequest,
2334        _options: crate::RequestOptions,
2335    ) -> impl std::future::Future<
2336        Output = crate::Result<crate::Response<crate::model::KnowledgeBase>>,
2337    > + Send {
2338        gaxi::unimplemented::unimplemented_stub()
2339    }
2340
2341    /// Implements [super::client::KnowledgeBases::delete_knowledge_base].
2342    fn delete_knowledge_base(
2343        &self,
2344        _req: crate::model::DeleteKnowledgeBaseRequest,
2345        _options: crate::RequestOptions,
2346    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
2347        gaxi::unimplemented::unimplemented_stub()
2348    }
2349
2350    /// Implements [super::client::KnowledgeBases::update_knowledge_base].
2351    fn update_knowledge_base(
2352        &self,
2353        _req: crate::model::UpdateKnowledgeBaseRequest,
2354        _options: crate::RequestOptions,
2355    ) -> impl std::future::Future<
2356        Output = crate::Result<crate::Response<crate::model::KnowledgeBase>>,
2357    > + Send {
2358        gaxi::unimplemented::unimplemented_stub()
2359    }
2360
2361    /// Implements [super::client::KnowledgeBases::list_locations].
2362    fn list_locations(
2363        &self,
2364        _req: google_cloud_location::model::ListLocationsRequest,
2365        _options: crate::RequestOptions,
2366    ) -> impl std::future::Future<
2367        Output = crate::Result<
2368            crate::Response<google_cloud_location::model::ListLocationsResponse>,
2369        >,
2370    > + Send {
2371        gaxi::unimplemented::unimplemented_stub()
2372    }
2373
2374    /// Implements [super::client::KnowledgeBases::get_location].
2375    fn get_location(
2376        &self,
2377        _req: google_cloud_location::model::GetLocationRequest,
2378        _options: crate::RequestOptions,
2379    ) -> impl std::future::Future<
2380        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
2381    > + Send {
2382        gaxi::unimplemented::unimplemented_stub()
2383    }
2384
2385    /// Implements [super::client::KnowledgeBases::list_operations].
2386    fn list_operations(
2387        &self,
2388        _req: google_cloud_longrunning::model::ListOperationsRequest,
2389        _options: crate::RequestOptions,
2390    ) -> impl std::future::Future<
2391        Output = crate::Result<
2392            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
2393        >,
2394    > + Send {
2395        gaxi::unimplemented::unimplemented_stub()
2396    }
2397
2398    /// Implements [super::client::KnowledgeBases::get_operation].
2399    fn get_operation(
2400        &self,
2401        _req: google_cloud_longrunning::model::GetOperationRequest,
2402        _options: crate::RequestOptions,
2403    ) -> impl std::future::Future<
2404        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2405    > + Send {
2406        gaxi::unimplemented::unimplemented_stub()
2407    }
2408
2409    /// Implements [super::client::KnowledgeBases::cancel_operation].
2410    fn cancel_operation(
2411        &self,
2412        _req: google_cloud_longrunning::model::CancelOperationRequest,
2413        _options: crate::RequestOptions,
2414    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
2415        gaxi::unimplemented::unimplemented_stub()
2416    }
2417}
2418
2419/// Defines the trait used to implement [super::client::Participants].
2420///
2421/// Application developers may need to implement this trait to mock
2422/// `client::Participants`.  In other use-cases, application developers only
2423/// use `client::Participants` and need not be concerned with this trait or
2424/// its implementations.
2425///
2426/// Services gain new RPCs routinely. Consequently, this trait gains new methods
2427/// too. To avoid breaking applications the trait provides a default
2428/// implementation of each method. Most of these implementations just return an
2429/// error.
2430#[cfg(feature = "participants")]
2431#[cfg_attr(docsrs, doc(cfg(feature = "participants")))]
2432pub trait Participants: std::fmt::Debug + Send + Sync {
2433    /// Implements [super::client::Participants::create_participant].
2434    fn create_participant(
2435        &self,
2436        _req: crate::model::CreateParticipantRequest,
2437        _options: crate::RequestOptions,
2438    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Participant>>>
2439    + Send {
2440        gaxi::unimplemented::unimplemented_stub()
2441    }
2442
2443    /// Implements [super::client::Participants::get_participant].
2444    fn get_participant(
2445        &self,
2446        _req: crate::model::GetParticipantRequest,
2447        _options: crate::RequestOptions,
2448    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Participant>>>
2449    + Send {
2450        gaxi::unimplemented::unimplemented_stub()
2451    }
2452
2453    /// Implements [super::client::Participants::list_participants].
2454    fn list_participants(
2455        &self,
2456        _req: crate::model::ListParticipantsRequest,
2457        _options: crate::RequestOptions,
2458    ) -> impl std::future::Future<
2459        Output = crate::Result<crate::Response<crate::model::ListParticipantsResponse>>,
2460    > + Send {
2461        gaxi::unimplemented::unimplemented_stub()
2462    }
2463
2464    /// Implements [super::client::Participants::update_participant].
2465    fn update_participant(
2466        &self,
2467        _req: crate::model::UpdateParticipantRequest,
2468        _options: crate::RequestOptions,
2469    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Participant>>>
2470    + Send {
2471        gaxi::unimplemented::unimplemented_stub()
2472    }
2473
2474    /// Implements [super::client::Participants::analyze_content].
2475    fn analyze_content(
2476        &self,
2477        _req: crate::model::AnalyzeContentRequest,
2478        _options: crate::RequestOptions,
2479    ) -> impl std::future::Future<
2480        Output = crate::Result<crate::Response<crate::model::AnalyzeContentResponse>>,
2481    > + Send {
2482        gaxi::unimplemented::unimplemented_stub()
2483    }
2484
2485    /// Implements [super::client::Participants::suggest_articles].
2486    fn suggest_articles(
2487        &self,
2488        _req: crate::model::SuggestArticlesRequest,
2489        _options: crate::RequestOptions,
2490    ) -> impl std::future::Future<
2491        Output = crate::Result<crate::Response<crate::model::SuggestArticlesResponse>>,
2492    > + Send {
2493        gaxi::unimplemented::unimplemented_stub()
2494    }
2495
2496    /// Implements [super::client::Participants::suggest_faq_answers].
2497    fn suggest_faq_answers(
2498        &self,
2499        _req: crate::model::SuggestFaqAnswersRequest,
2500        _options: crate::RequestOptions,
2501    ) -> impl std::future::Future<
2502        Output = crate::Result<crate::Response<crate::model::SuggestFaqAnswersResponse>>,
2503    > + Send {
2504        gaxi::unimplemented::unimplemented_stub()
2505    }
2506
2507    /// Implements [super::client::Participants::suggest_smart_replies].
2508    fn suggest_smart_replies(
2509        &self,
2510        _req: crate::model::SuggestSmartRepliesRequest,
2511        _options: crate::RequestOptions,
2512    ) -> impl std::future::Future<
2513        Output = crate::Result<crate::Response<crate::model::SuggestSmartRepliesResponse>>,
2514    > + Send {
2515        gaxi::unimplemented::unimplemented_stub()
2516    }
2517
2518    /// Implements [super::client::Participants::suggest_knowledge_assist].
2519    fn suggest_knowledge_assist(
2520        &self,
2521        _req: crate::model::SuggestKnowledgeAssistRequest,
2522        _options: crate::RequestOptions,
2523    ) -> impl std::future::Future<
2524        Output = crate::Result<crate::Response<crate::model::SuggestKnowledgeAssistResponse>>,
2525    > + Send {
2526        gaxi::unimplemented::unimplemented_stub()
2527    }
2528
2529    /// Implements [super::client::Participants::list_locations].
2530    fn list_locations(
2531        &self,
2532        _req: google_cloud_location::model::ListLocationsRequest,
2533        _options: crate::RequestOptions,
2534    ) -> impl std::future::Future<
2535        Output = crate::Result<
2536            crate::Response<google_cloud_location::model::ListLocationsResponse>,
2537        >,
2538    > + Send {
2539        gaxi::unimplemented::unimplemented_stub()
2540    }
2541
2542    /// Implements [super::client::Participants::get_location].
2543    fn get_location(
2544        &self,
2545        _req: google_cloud_location::model::GetLocationRequest,
2546        _options: crate::RequestOptions,
2547    ) -> impl std::future::Future<
2548        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
2549    > + Send {
2550        gaxi::unimplemented::unimplemented_stub()
2551    }
2552
2553    /// Implements [super::client::Participants::list_operations].
2554    fn list_operations(
2555        &self,
2556        _req: google_cloud_longrunning::model::ListOperationsRequest,
2557        _options: crate::RequestOptions,
2558    ) -> impl std::future::Future<
2559        Output = crate::Result<
2560            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
2561        >,
2562    > + Send {
2563        gaxi::unimplemented::unimplemented_stub()
2564    }
2565
2566    /// Implements [super::client::Participants::get_operation].
2567    fn get_operation(
2568        &self,
2569        _req: google_cloud_longrunning::model::GetOperationRequest,
2570        _options: crate::RequestOptions,
2571    ) -> impl std::future::Future<
2572        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2573    > + Send {
2574        gaxi::unimplemented::unimplemented_stub()
2575    }
2576
2577    /// Implements [super::client::Participants::cancel_operation].
2578    fn cancel_operation(
2579        &self,
2580        _req: google_cloud_longrunning::model::CancelOperationRequest,
2581        _options: crate::RequestOptions,
2582    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
2583        gaxi::unimplemented::unimplemented_stub()
2584    }
2585}
2586
2587/// Defines the trait used to implement [super::client::Sessions].
2588///
2589/// Application developers may need to implement this trait to mock
2590/// `client::Sessions`.  In other use-cases, application developers only
2591/// use `client::Sessions` and need not be concerned with this trait or
2592/// its implementations.
2593///
2594/// Services gain new RPCs routinely. Consequently, this trait gains new methods
2595/// too. To avoid breaking applications the trait provides a default
2596/// implementation of each method. Most of these implementations just return an
2597/// error.
2598#[cfg(feature = "sessions")]
2599#[cfg_attr(docsrs, doc(cfg(feature = "sessions")))]
2600pub trait Sessions: std::fmt::Debug + Send + Sync {
2601    /// Implements [super::client::Sessions::detect_intent].
2602    fn detect_intent(
2603        &self,
2604        _req: crate::model::DetectIntentRequest,
2605        _options: crate::RequestOptions,
2606    ) -> impl std::future::Future<
2607        Output = crate::Result<crate::Response<crate::model::DetectIntentResponse>>,
2608    > + Send {
2609        gaxi::unimplemented::unimplemented_stub()
2610    }
2611
2612    /// Implements [super::client::Sessions::list_locations].
2613    fn list_locations(
2614        &self,
2615        _req: google_cloud_location::model::ListLocationsRequest,
2616        _options: crate::RequestOptions,
2617    ) -> impl std::future::Future<
2618        Output = crate::Result<
2619            crate::Response<google_cloud_location::model::ListLocationsResponse>,
2620        >,
2621    > + Send {
2622        gaxi::unimplemented::unimplemented_stub()
2623    }
2624
2625    /// Implements [super::client::Sessions::get_location].
2626    fn get_location(
2627        &self,
2628        _req: google_cloud_location::model::GetLocationRequest,
2629        _options: crate::RequestOptions,
2630    ) -> impl std::future::Future<
2631        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
2632    > + Send {
2633        gaxi::unimplemented::unimplemented_stub()
2634    }
2635
2636    /// Implements [super::client::Sessions::list_operations].
2637    fn list_operations(
2638        &self,
2639        _req: google_cloud_longrunning::model::ListOperationsRequest,
2640        _options: crate::RequestOptions,
2641    ) -> impl std::future::Future<
2642        Output = crate::Result<
2643            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
2644        >,
2645    > + Send {
2646        gaxi::unimplemented::unimplemented_stub()
2647    }
2648
2649    /// Implements [super::client::Sessions::get_operation].
2650    fn get_operation(
2651        &self,
2652        _req: google_cloud_longrunning::model::GetOperationRequest,
2653        _options: crate::RequestOptions,
2654    ) -> impl std::future::Future<
2655        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2656    > + Send {
2657        gaxi::unimplemented::unimplemented_stub()
2658    }
2659
2660    /// Implements [super::client::Sessions::cancel_operation].
2661    fn cancel_operation(
2662        &self,
2663        _req: google_cloud_longrunning::model::CancelOperationRequest,
2664        _options: crate::RequestOptions,
2665    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
2666        gaxi::unimplemented::unimplemented_stub()
2667    }
2668}
2669
2670/// Defines the trait used to implement [super::client::SessionEntityTypes].
2671///
2672/// Application developers may need to implement this trait to mock
2673/// `client::SessionEntityTypes`.  In other use-cases, application developers only
2674/// use `client::SessionEntityTypes` and need not be concerned with this trait or
2675/// its implementations.
2676///
2677/// Services gain new RPCs routinely. Consequently, this trait gains new methods
2678/// too. To avoid breaking applications the trait provides a default
2679/// implementation of each method. Most of these implementations just return an
2680/// error.
2681#[cfg(feature = "session-entity-types")]
2682#[cfg_attr(docsrs, doc(cfg(feature = "session-entity-types")))]
2683pub trait SessionEntityTypes: std::fmt::Debug + Send + Sync {
2684    /// Implements [super::client::SessionEntityTypes::list_session_entity_types].
2685    fn list_session_entity_types(
2686        &self,
2687        _req: crate::model::ListSessionEntityTypesRequest,
2688        _options: crate::RequestOptions,
2689    ) -> impl std::future::Future<
2690        Output = crate::Result<crate::Response<crate::model::ListSessionEntityTypesResponse>>,
2691    > + Send {
2692        gaxi::unimplemented::unimplemented_stub()
2693    }
2694
2695    /// Implements [super::client::SessionEntityTypes::get_session_entity_type].
2696    fn get_session_entity_type(
2697        &self,
2698        _req: crate::model::GetSessionEntityTypeRequest,
2699        _options: crate::RequestOptions,
2700    ) -> impl std::future::Future<
2701        Output = crate::Result<crate::Response<crate::model::SessionEntityType>>,
2702    > + Send {
2703        gaxi::unimplemented::unimplemented_stub()
2704    }
2705
2706    /// Implements [super::client::SessionEntityTypes::create_session_entity_type].
2707    fn create_session_entity_type(
2708        &self,
2709        _req: crate::model::CreateSessionEntityTypeRequest,
2710        _options: crate::RequestOptions,
2711    ) -> impl std::future::Future<
2712        Output = crate::Result<crate::Response<crate::model::SessionEntityType>>,
2713    > + Send {
2714        gaxi::unimplemented::unimplemented_stub()
2715    }
2716
2717    /// Implements [super::client::SessionEntityTypes::update_session_entity_type].
2718    fn update_session_entity_type(
2719        &self,
2720        _req: crate::model::UpdateSessionEntityTypeRequest,
2721        _options: crate::RequestOptions,
2722    ) -> impl std::future::Future<
2723        Output = crate::Result<crate::Response<crate::model::SessionEntityType>>,
2724    > + Send {
2725        gaxi::unimplemented::unimplemented_stub()
2726    }
2727
2728    /// Implements [super::client::SessionEntityTypes::delete_session_entity_type].
2729    fn delete_session_entity_type(
2730        &self,
2731        _req: crate::model::DeleteSessionEntityTypeRequest,
2732        _options: crate::RequestOptions,
2733    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
2734        gaxi::unimplemented::unimplemented_stub()
2735    }
2736
2737    /// Implements [super::client::SessionEntityTypes::list_locations].
2738    fn list_locations(
2739        &self,
2740        _req: google_cloud_location::model::ListLocationsRequest,
2741        _options: crate::RequestOptions,
2742    ) -> impl std::future::Future<
2743        Output = crate::Result<
2744            crate::Response<google_cloud_location::model::ListLocationsResponse>,
2745        >,
2746    > + Send {
2747        gaxi::unimplemented::unimplemented_stub()
2748    }
2749
2750    /// Implements [super::client::SessionEntityTypes::get_location].
2751    fn get_location(
2752        &self,
2753        _req: google_cloud_location::model::GetLocationRequest,
2754        _options: crate::RequestOptions,
2755    ) -> impl std::future::Future<
2756        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
2757    > + Send {
2758        gaxi::unimplemented::unimplemented_stub()
2759    }
2760
2761    /// Implements [super::client::SessionEntityTypes::list_operations].
2762    fn list_operations(
2763        &self,
2764        _req: google_cloud_longrunning::model::ListOperationsRequest,
2765        _options: crate::RequestOptions,
2766    ) -> impl std::future::Future<
2767        Output = crate::Result<
2768            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
2769        >,
2770    > + Send {
2771        gaxi::unimplemented::unimplemented_stub()
2772    }
2773
2774    /// Implements [super::client::SessionEntityTypes::get_operation].
2775    fn get_operation(
2776        &self,
2777        _req: google_cloud_longrunning::model::GetOperationRequest,
2778        _options: crate::RequestOptions,
2779    ) -> impl std::future::Future<
2780        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2781    > + Send {
2782        gaxi::unimplemented::unimplemented_stub()
2783    }
2784
2785    /// Implements [super::client::SessionEntityTypes::cancel_operation].
2786    fn cancel_operation(
2787        &self,
2788        _req: google_cloud_longrunning::model::CancelOperationRequest,
2789        _options: crate::RequestOptions,
2790    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
2791        gaxi::unimplemented::unimplemented_stub()
2792    }
2793}
2794
2795/// Defines the trait used to implement [super::client::SipTrunks].
2796///
2797/// Application developers may need to implement this trait to mock
2798/// `client::SipTrunks`.  In other use-cases, application developers only
2799/// use `client::SipTrunks` and need not be concerned with this trait or
2800/// its implementations.
2801///
2802/// Services gain new RPCs routinely. Consequently, this trait gains new methods
2803/// too. To avoid breaking applications the trait provides a default
2804/// implementation of each method. Most of these implementations just return an
2805/// error.
2806#[cfg(feature = "sip-trunks")]
2807#[cfg_attr(docsrs, doc(cfg(feature = "sip-trunks")))]
2808pub trait SipTrunks: std::fmt::Debug + Send + Sync {
2809    /// Implements [super::client::SipTrunks::create_sip_trunk].
2810    fn create_sip_trunk(
2811        &self,
2812        _req: crate::model::CreateSipTrunkRequest,
2813        _options: crate::RequestOptions,
2814    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::SipTrunk>>> + Send
2815    {
2816        gaxi::unimplemented::unimplemented_stub()
2817    }
2818
2819    /// Implements [super::client::SipTrunks::delete_sip_trunk].
2820    fn delete_sip_trunk(
2821        &self,
2822        _req: crate::model::DeleteSipTrunkRequest,
2823        _options: crate::RequestOptions,
2824    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
2825        gaxi::unimplemented::unimplemented_stub()
2826    }
2827
2828    /// Implements [super::client::SipTrunks::list_sip_trunks].
2829    fn list_sip_trunks(
2830        &self,
2831        _req: crate::model::ListSipTrunksRequest,
2832        _options: crate::RequestOptions,
2833    ) -> impl std::future::Future<
2834        Output = crate::Result<crate::Response<crate::model::ListSipTrunksResponse>>,
2835    > + Send {
2836        gaxi::unimplemented::unimplemented_stub()
2837    }
2838
2839    /// Implements [super::client::SipTrunks::get_sip_trunk].
2840    fn get_sip_trunk(
2841        &self,
2842        _req: crate::model::GetSipTrunkRequest,
2843        _options: crate::RequestOptions,
2844    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::SipTrunk>>> + Send
2845    {
2846        gaxi::unimplemented::unimplemented_stub()
2847    }
2848
2849    /// Implements [super::client::SipTrunks::update_sip_trunk].
2850    fn update_sip_trunk(
2851        &self,
2852        _req: crate::model::UpdateSipTrunkRequest,
2853        _options: crate::RequestOptions,
2854    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::SipTrunk>>> + Send
2855    {
2856        gaxi::unimplemented::unimplemented_stub()
2857    }
2858
2859    /// Implements [super::client::SipTrunks::list_locations].
2860    fn list_locations(
2861        &self,
2862        _req: google_cloud_location::model::ListLocationsRequest,
2863        _options: crate::RequestOptions,
2864    ) -> impl std::future::Future<
2865        Output = crate::Result<
2866            crate::Response<google_cloud_location::model::ListLocationsResponse>,
2867        >,
2868    > + Send {
2869        gaxi::unimplemented::unimplemented_stub()
2870    }
2871
2872    /// Implements [super::client::SipTrunks::get_location].
2873    fn get_location(
2874        &self,
2875        _req: google_cloud_location::model::GetLocationRequest,
2876        _options: crate::RequestOptions,
2877    ) -> impl std::future::Future<
2878        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
2879    > + Send {
2880        gaxi::unimplemented::unimplemented_stub()
2881    }
2882
2883    /// Implements [super::client::SipTrunks::list_operations].
2884    fn list_operations(
2885        &self,
2886        _req: google_cloud_longrunning::model::ListOperationsRequest,
2887        _options: crate::RequestOptions,
2888    ) -> impl std::future::Future<
2889        Output = crate::Result<
2890            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
2891        >,
2892    > + Send {
2893        gaxi::unimplemented::unimplemented_stub()
2894    }
2895
2896    /// Implements [super::client::SipTrunks::get_operation].
2897    fn get_operation(
2898        &self,
2899        _req: google_cloud_longrunning::model::GetOperationRequest,
2900        _options: crate::RequestOptions,
2901    ) -> impl std::future::Future<
2902        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2903    > + Send {
2904        gaxi::unimplemented::unimplemented_stub()
2905    }
2906
2907    /// Implements [super::client::SipTrunks::cancel_operation].
2908    fn cancel_operation(
2909        &self,
2910        _req: google_cloud_longrunning::model::CancelOperationRequest,
2911        _options: crate::RequestOptions,
2912    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
2913        gaxi::unimplemented::unimplemented_stub()
2914    }
2915}
2916
2917/// Defines the trait used to implement [super::client::Tools].
2918///
2919/// Application developers may need to implement this trait to mock
2920/// `client::Tools`.  In other use-cases, application developers only
2921/// use `client::Tools` and need not be concerned with this trait or
2922/// its implementations.
2923///
2924/// Services gain new RPCs routinely. Consequently, this trait gains new methods
2925/// too. To avoid breaking applications the trait provides a default
2926/// implementation of each method. Most of these implementations just return an
2927/// error.
2928#[cfg(feature = "tools")]
2929#[cfg_attr(docsrs, doc(cfg(feature = "tools")))]
2930pub trait Tools: std::fmt::Debug + Send + Sync {
2931    /// Implements [super::client::Tools::create_tool].
2932    fn create_tool(
2933        &self,
2934        _req: crate::model::CreateToolRequest,
2935        _options: crate::RequestOptions,
2936    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Tool>>> + Send
2937    {
2938        gaxi::unimplemented::unimplemented_stub()
2939    }
2940
2941    /// Implements [super::client::Tools::get_tool].
2942    fn get_tool(
2943        &self,
2944        _req: crate::model::GetToolRequest,
2945        _options: crate::RequestOptions,
2946    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Tool>>> + Send
2947    {
2948        gaxi::unimplemented::unimplemented_stub()
2949    }
2950
2951    /// Implements [super::client::Tools::list_tools].
2952    fn list_tools(
2953        &self,
2954        _req: crate::model::ListToolsRequest,
2955        _options: crate::RequestOptions,
2956    ) -> impl std::future::Future<
2957        Output = crate::Result<crate::Response<crate::model::ListToolsResponse>>,
2958    > + Send {
2959        gaxi::unimplemented::unimplemented_stub()
2960    }
2961
2962    /// Implements [super::client::Tools::delete_tool].
2963    fn delete_tool(
2964        &self,
2965        _req: crate::model::DeleteToolRequest,
2966        _options: crate::RequestOptions,
2967    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
2968        gaxi::unimplemented::unimplemented_stub()
2969    }
2970
2971    /// Implements [super::client::Tools::update_tool].
2972    fn update_tool(
2973        &self,
2974        _req: crate::model::UpdateToolRequest,
2975        _options: crate::RequestOptions,
2976    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Tool>>> + Send
2977    {
2978        gaxi::unimplemented::unimplemented_stub()
2979    }
2980
2981    /// Implements [super::client::Tools::list_locations].
2982    fn list_locations(
2983        &self,
2984        _req: google_cloud_location::model::ListLocationsRequest,
2985        _options: crate::RequestOptions,
2986    ) -> impl std::future::Future<
2987        Output = crate::Result<
2988            crate::Response<google_cloud_location::model::ListLocationsResponse>,
2989        >,
2990    > + Send {
2991        gaxi::unimplemented::unimplemented_stub()
2992    }
2993
2994    /// Implements [super::client::Tools::get_location].
2995    fn get_location(
2996        &self,
2997        _req: google_cloud_location::model::GetLocationRequest,
2998        _options: crate::RequestOptions,
2999    ) -> impl std::future::Future<
3000        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
3001    > + Send {
3002        gaxi::unimplemented::unimplemented_stub()
3003    }
3004
3005    /// Implements [super::client::Tools::list_operations].
3006    fn list_operations(
3007        &self,
3008        _req: google_cloud_longrunning::model::ListOperationsRequest,
3009        _options: crate::RequestOptions,
3010    ) -> impl std::future::Future<
3011        Output = crate::Result<
3012            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
3013        >,
3014    > + Send {
3015        gaxi::unimplemented::unimplemented_stub()
3016    }
3017
3018    /// Implements [super::client::Tools::get_operation].
3019    fn get_operation(
3020        &self,
3021        _req: google_cloud_longrunning::model::GetOperationRequest,
3022        _options: crate::RequestOptions,
3023    ) -> impl std::future::Future<
3024        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
3025    > + Send {
3026        gaxi::unimplemented::unimplemented_stub()
3027    }
3028
3029    /// Implements [super::client::Tools::cancel_operation].
3030    fn cancel_operation(
3031        &self,
3032        _req: google_cloud_longrunning::model::CancelOperationRequest,
3033        _options: crate::RequestOptions,
3034    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
3035        gaxi::unimplemented::unimplemented_stub()
3036    }
3037}
3038
3039/// Defines the trait used to implement [super::client::Versions].
3040///
3041/// Application developers may need to implement this trait to mock
3042/// `client::Versions`.  In other use-cases, application developers only
3043/// use `client::Versions` and need not be concerned with this trait or
3044/// its implementations.
3045///
3046/// Services gain new RPCs routinely. Consequently, this trait gains new methods
3047/// too. To avoid breaking applications the trait provides a default
3048/// implementation of each method. Most of these implementations just return an
3049/// error.
3050#[cfg(feature = "versions")]
3051#[cfg_attr(docsrs, doc(cfg(feature = "versions")))]
3052pub trait Versions: std::fmt::Debug + Send + Sync {
3053    /// Implements [super::client::Versions::list_versions].
3054    fn list_versions(
3055        &self,
3056        _req: crate::model::ListVersionsRequest,
3057        _options: crate::RequestOptions,
3058    ) -> impl std::future::Future<
3059        Output = crate::Result<crate::Response<crate::model::ListVersionsResponse>>,
3060    > + Send {
3061        gaxi::unimplemented::unimplemented_stub()
3062    }
3063
3064    /// Implements [super::client::Versions::get_version].
3065    fn get_version(
3066        &self,
3067        _req: crate::model::GetVersionRequest,
3068        _options: crate::RequestOptions,
3069    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Version>>> + Send
3070    {
3071        gaxi::unimplemented::unimplemented_stub()
3072    }
3073
3074    /// Implements [super::client::Versions::create_version].
3075    fn create_version(
3076        &self,
3077        _req: crate::model::CreateVersionRequest,
3078        _options: crate::RequestOptions,
3079    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Version>>> + Send
3080    {
3081        gaxi::unimplemented::unimplemented_stub()
3082    }
3083
3084    /// Implements [super::client::Versions::update_version].
3085    fn update_version(
3086        &self,
3087        _req: crate::model::UpdateVersionRequest,
3088        _options: crate::RequestOptions,
3089    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Version>>> + Send
3090    {
3091        gaxi::unimplemented::unimplemented_stub()
3092    }
3093
3094    /// Implements [super::client::Versions::delete_version].
3095    fn delete_version(
3096        &self,
3097        _req: crate::model::DeleteVersionRequest,
3098        _options: crate::RequestOptions,
3099    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
3100        gaxi::unimplemented::unimplemented_stub()
3101    }
3102
3103    /// Implements [super::client::Versions::list_locations].
3104    fn list_locations(
3105        &self,
3106        _req: google_cloud_location::model::ListLocationsRequest,
3107        _options: crate::RequestOptions,
3108    ) -> impl std::future::Future<
3109        Output = crate::Result<
3110            crate::Response<google_cloud_location::model::ListLocationsResponse>,
3111        >,
3112    > + Send {
3113        gaxi::unimplemented::unimplemented_stub()
3114    }
3115
3116    /// Implements [super::client::Versions::get_location].
3117    fn get_location(
3118        &self,
3119        _req: google_cloud_location::model::GetLocationRequest,
3120        _options: crate::RequestOptions,
3121    ) -> impl std::future::Future<
3122        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
3123    > + Send {
3124        gaxi::unimplemented::unimplemented_stub()
3125    }
3126
3127    /// Implements [super::client::Versions::list_operations].
3128    fn list_operations(
3129        &self,
3130        _req: google_cloud_longrunning::model::ListOperationsRequest,
3131        _options: crate::RequestOptions,
3132    ) -> impl std::future::Future<
3133        Output = crate::Result<
3134            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
3135        >,
3136    > + Send {
3137        gaxi::unimplemented::unimplemented_stub()
3138    }
3139
3140    /// Implements [super::client::Versions::get_operation].
3141    fn get_operation(
3142        &self,
3143        _req: google_cloud_longrunning::model::GetOperationRequest,
3144        _options: crate::RequestOptions,
3145    ) -> impl std::future::Future<
3146        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
3147    > + Send {
3148        gaxi::unimplemented::unimplemented_stub()
3149    }
3150
3151    /// Implements [super::client::Versions::cancel_operation].
3152    fn cancel_operation(
3153        &self,
3154        _req: google_cloud_longrunning::model::CancelOperationRequest,
3155        _options: crate::RequestOptions,
3156    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
3157        gaxi::unimplemented::unimplemented_stub()
3158    }
3159}