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