Skip to main content

google_cloud_discoveryengine_v1/
stub.rs

1// Copyright 2025 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     https://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15// Code generated by sidekick. DO NOT EDIT.
16
17//! Traits to mock the clients in this library.
18//!
19//! Application developers may need to mock the clients in this library to test
20//! how their application works with different (and sometimes hard to trigger)
21//! client and service behavior. Such test can define mocks implementing the
22//! trait(s) defined in this module, initialize the client with an instance of
23//! this mock in their tests, and verify their application responds as expected.
24
25#![allow(rustdoc::broken_intra_doc_links)]
26
27pub(crate) mod dynamic;
28
29/// Defines the trait used to implement [super::client::AssistantService].
30///
31/// Application developers may need to implement this trait to mock
32/// `client::AssistantService`.  In other use-cases, application developers only
33/// use `client::AssistantService` 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 = "assistant-service")]
41#[cfg_attr(docsrs, doc(cfg(feature = "assistant-service")))]
42pub trait AssistantService: std::fmt::Debug + Send + Sync {
43    /// Implements [super::client::AssistantService::stream_assist].
44    fn stream_assist(
45        &self,
46        _req: crate::model::StreamAssistRequest,
47        _options: crate::RequestOptions,
48    ) -> impl std::future::Future<
49        Output = crate::Result<
50            google_cloud_gax::streaming::ResponseStream<crate::model::StreamAssistResponse>,
51        >,
52    > + Send {
53        gaxi::unimplemented::unimplemented_server_streaming_stub()
54    }
55
56    /// Implements [super::client::AssistantService::list_operations].
57    fn list_operations(
58        &self,
59        _req: google_cloud_longrunning::model::ListOperationsRequest,
60        _options: crate::RequestOptions,
61    ) -> impl std::future::Future<
62        Output = crate::Result<
63            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
64        >,
65    > + Send {
66        gaxi::unimplemented::unimplemented_stub()
67    }
68
69    /// Implements [super::client::AssistantService::get_operation].
70    fn get_operation(
71        &self,
72        _req: google_cloud_longrunning::model::GetOperationRequest,
73        _options: crate::RequestOptions,
74    ) -> impl std::future::Future<
75        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
76    > + Send {
77        gaxi::unimplemented::unimplemented_stub()
78    }
79
80    /// Implements [super::client::AssistantService::cancel_operation].
81    fn cancel_operation(
82        &self,
83        _req: google_cloud_longrunning::model::CancelOperationRequest,
84        _options: crate::RequestOptions,
85    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
86        gaxi::unimplemented::unimplemented_stub()
87    }
88}
89
90/// Defines the trait used to implement [super::client::CmekConfigService].
91///
92/// Application developers may need to implement this trait to mock
93/// `client::CmekConfigService`.  In other use-cases, application developers only
94/// use `client::CmekConfigService` and need not be concerned with this trait or
95/// its implementations.
96///
97/// Services gain new RPCs routinely. Consequently, this trait gains new methods
98/// too. To avoid breaking applications the trait provides a default
99/// implementation of each method. Most of these implementations just return an
100/// error.
101#[cfg(feature = "cmek-config-service")]
102#[cfg_attr(docsrs, doc(cfg(feature = "cmek-config-service")))]
103pub trait CmekConfigService: std::fmt::Debug + Send + Sync {
104    /// Implements [super::client::CmekConfigService::update_cmek_config].
105    fn update_cmek_config(
106        &self,
107        _req: crate::model::UpdateCmekConfigRequest,
108        _options: crate::RequestOptions,
109    ) -> impl std::future::Future<
110        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
111    > + Send {
112        gaxi::unimplemented::unimplemented_stub()
113    }
114
115    /// Implements [super::client::CmekConfigService::get_cmek_config].
116    fn get_cmek_config(
117        &self,
118        _req: crate::model::GetCmekConfigRequest,
119        _options: crate::RequestOptions,
120    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::CmekConfig>>> + Send
121    {
122        gaxi::unimplemented::unimplemented_stub()
123    }
124
125    /// Implements [super::client::CmekConfigService::list_cmek_configs].
126    fn list_cmek_configs(
127        &self,
128        _req: crate::model::ListCmekConfigsRequest,
129        _options: crate::RequestOptions,
130    ) -> impl std::future::Future<
131        Output = crate::Result<crate::Response<crate::model::ListCmekConfigsResponse>>,
132    > + Send {
133        gaxi::unimplemented::unimplemented_stub()
134    }
135
136    /// Implements [super::client::CmekConfigService::delete_cmek_config].
137    fn delete_cmek_config(
138        &self,
139        _req: crate::model::DeleteCmekConfigRequest,
140        _options: crate::RequestOptions,
141    ) -> impl std::future::Future<
142        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
143    > + Send {
144        gaxi::unimplemented::unimplemented_stub()
145    }
146
147    /// Implements [super::client::CmekConfigService::list_operations].
148    fn list_operations(
149        &self,
150        _req: google_cloud_longrunning::model::ListOperationsRequest,
151        _options: crate::RequestOptions,
152    ) -> impl std::future::Future<
153        Output = crate::Result<
154            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
155        >,
156    > + Send {
157        gaxi::unimplemented::unimplemented_stub()
158    }
159
160    /// Implements [super::client::CmekConfigService::get_operation].
161    fn get_operation(
162        &self,
163        _req: google_cloud_longrunning::model::GetOperationRequest,
164        _options: crate::RequestOptions,
165    ) -> impl std::future::Future<
166        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
167    > + Send {
168        gaxi::unimplemented::unimplemented_stub()
169    }
170
171    /// Implements [super::client::CmekConfigService::cancel_operation].
172    fn cancel_operation(
173        &self,
174        _req: google_cloud_longrunning::model::CancelOperationRequest,
175        _options: crate::RequestOptions,
176    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
177        gaxi::unimplemented::unimplemented_stub()
178    }
179
180    /// Returns the polling error policy.
181    ///
182    /// When mocking, this method is typically irrelevant. Do not try to verify
183    /// it is called by your mocks.
184    fn get_polling_error_policy(
185        &self,
186        _options: &crate::RequestOptions,
187    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
188        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
189    }
190
191    /// Returns the polling backoff policy.
192    ///
193    /// When mocking, this method is typically irrelevant. Do not try to verify
194    /// it is called by your mocks.
195    fn get_polling_backoff_policy(
196        &self,
197        _options: &crate::RequestOptions,
198    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
199        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
200    }
201
202    #[doc(hidden)]
203    /// Returns the poller options.
204    ///
205    /// When mocking, this method is typically irrelevant. Do not try to verify
206    /// it is called by your mocks.
207    fn get_poller_options(
208        &self,
209        _options: &crate::RequestOptions,
210    ) -> google_cloud_lro::PollerOptions {
211        google_cloud_lro::PollerOptions::default()
212    }
213}
214
215/// Defines the trait used to implement [super::client::CompletionService].
216///
217/// Application developers may need to implement this trait to mock
218/// `client::CompletionService`.  In other use-cases, application developers only
219/// use `client::CompletionService` and need not be concerned with this trait or
220/// its implementations.
221///
222/// Services gain new RPCs routinely. Consequently, this trait gains new methods
223/// too. To avoid breaking applications the trait provides a default
224/// implementation of each method. Most of these implementations just return an
225/// error.
226#[cfg(feature = "completion-service")]
227#[cfg_attr(docsrs, doc(cfg(feature = "completion-service")))]
228pub trait CompletionService: std::fmt::Debug + Send + Sync {
229    /// Implements [super::client::CompletionService::complete_query].
230    fn complete_query(
231        &self,
232        _req: crate::model::CompleteQueryRequest,
233        _options: crate::RequestOptions,
234    ) -> impl std::future::Future<
235        Output = crate::Result<crate::Response<crate::model::CompleteQueryResponse>>,
236    > + Send {
237        gaxi::unimplemented::unimplemented_stub()
238    }
239
240    /// Implements [super::client::CompletionService::import_suggestion_deny_list_entries].
241    fn import_suggestion_deny_list_entries(
242        &self,
243        _req: crate::model::ImportSuggestionDenyListEntriesRequest,
244        _options: crate::RequestOptions,
245    ) -> impl std::future::Future<
246        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
247    > + Send {
248        gaxi::unimplemented::unimplemented_stub()
249    }
250
251    /// Implements [super::client::CompletionService::purge_suggestion_deny_list_entries].
252    fn purge_suggestion_deny_list_entries(
253        &self,
254        _req: crate::model::PurgeSuggestionDenyListEntriesRequest,
255        _options: crate::RequestOptions,
256    ) -> impl std::future::Future<
257        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
258    > + Send {
259        gaxi::unimplemented::unimplemented_stub()
260    }
261
262    /// Implements [super::client::CompletionService::import_completion_suggestions].
263    fn import_completion_suggestions(
264        &self,
265        _req: crate::model::ImportCompletionSuggestionsRequest,
266        _options: crate::RequestOptions,
267    ) -> impl std::future::Future<
268        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
269    > + Send {
270        gaxi::unimplemented::unimplemented_stub()
271    }
272
273    /// Implements [super::client::CompletionService::purge_completion_suggestions].
274    fn purge_completion_suggestions(
275        &self,
276        _req: crate::model::PurgeCompletionSuggestionsRequest,
277        _options: crate::RequestOptions,
278    ) -> impl std::future::Future<
279        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
280    > + Send {
281        gaxi::unimplemented::unimplemented_stub()
282    }
283
284    /// Implements [super::client::CompletionService::list_operations].
285    fn list_operations(
286        &self,
287        _req: google_cloud_longrunning::model::ListOperationsRequest,
288        _options: crate::RequestOptions,
289    ) -> impl std::future::Future<
290        Output = crate::Result<
291            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
292        >,
293    > + Send {
294        gaxi::unimplemented::unimplemented_stub()
295    }
296
297    /// Implements [super::client::CompletionService::get_operation].
298    fn get_operation(
299        &self,
300        _req: google_cloud_longrunning::model::GetOperationRequest,
301        _options: crate::RequestOptions,
302    ) -> impl std::future::Future<
303        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
304    > + Send {
305        gaxi::unimplemented::unimplemented_stub()
306    }
307
308    /// Implements [super::client::CompletionService::cancel_operation].
309    fn cancel_operation(
310        &self,
311        _req: google_cloud_longrunning::model::CancelOperationRequest,
312        _options: crate::RequestOptions,
313    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
314        gaxi::unimplemented::unimplemented_stub()
315    }
316
317    /// Returns the polling error policy.
318    ///
319    /// When mocking, this method is typically irrelevant. Do not try to verify
320    /// it is called by your mocks.
321    fn get_polling_error_policy(
322        &self,
323        _options: &crate::RequestOptions,
324    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
325        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
326    }
327
328    /// Returns the polling backoff policy.
329    ///
330    /// When mocking, this method is typically irrelevant. Do not try to verify
331    /// it is called by your mocks.
332    fn get_polling_backoff_policy(
333        &self,
334        _options: &crate::RequestOptions,
335    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
336        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
337    }
338
339    #[doc(hidden)]
340    /// Returns the poller options.
341    ///
342    /// When mocking, this method is typically irrelevant. Do not try to verify
343    /// it is called by your mocks.
344    fn get_poller_options(
345        &self,
346        _options: &crate::RequestOptions,
347    ) -> google_cloud_lro::PollerOptions {
348        google_cloud_lro::PollerOptions::default()
349    }
350}
351
352/// Defines the trait used to implement [super::client::ControlService].
353///
354/// Application developers may need to implement this trait to mock
355/// `client::ControlService`.  In other use-cases, application developers only
356/// use `client::ControlService` and need not be concerned with this trait or
357/// its implementations.
358///
359/// Services gain new RPCs routinely. Consequently, this trait gains new methods
360/// too. To avoid breaking applications the trait provides a default
361/// implementation of each method. Most of these implementations just return an
362/// error.
363#[cfg(feature = "control-service")]
364#[cfg_attr(docsrs, doc(cfg(feature = "control-service")))]
365pub trait ControlService: std::fmt::Debug + Send + Sync {
366    /// Implements [super::client::ControlService::create_control].
367    fn create_control(
368        &self,
369        _req: crate::model::CreateControlRequest,
370        _options: crate::RequestOptions,
371    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Control>>> + Send
372    {
373        gaxi::unimplemented::unimplemented_stub()
374    }
375
376    /// Implements [super::client::ControlService::delete_control].
377    fn delete_control(
378        &self,
379        _req: crate::model::DeleteControlRequest,
380        _options: crate::RequestOptions,
381    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
382        gaxi::unimplemented::unimplemented_stub()
383    }
384
385    /// Implements [super::client::ControlService::update_control].
386    fn update_control(
387        &self,
388        _req: crate::model::UpdateControlRequest,
389        _options: crate::RequestOptions,
390    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Control>>> + Send
391    {
392        gaxi::unimplemented::unimplemented_stub()
393    }
394
395    /// Implements [super::client::ControlService::get_control].
396    fn get_control(
397        &self,
398        _req: crate::model::GetControlRequest,
399        _options: crate::RequestOptions,
400    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Control>>> + Send
401    {
402        gaxi::unimplemented::unimplemented_stub()
403    }
404
405    /// Implements [super::client::ControlService::list_controls].
406    fn list_controls(
407        &self,
408        _req: crate::model::ListControlsRequest,
409        _options: crate::RequestOptions,
410    ) -> impl std::future::Future<
411        Output = crate::Result<crate::Response<crate::model::ListControlsResponse>>,
412    > + Send {
413        gaxi::unimplemented::unimplemented_stub()
414    }
415
416    /// Implements [super::client::ControlService::list_operations].
417    fn list_operations(
418        &self,
419        _req: google_cloud_longrunning::model::ListOperationsRequest,
420        _options: crate::RequestOptions,
421    ) -> impl std::future::Future<
422        Output = crate::Result<
423            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
424        >,
425    > + Send {
426        gaxi::unimplemented::unimplemented_stub()
427    }
428
429    /// Implements [super::client::ControlService::get_operation].
430    fn get_operation(
431        &self,
432        _req: google_cloud_longrunning::model::GetOperationRequest,
433        _options: crate::RequestOptions,
434    ) -> impl std::future::Future<
435        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
436    > + Send {
437        gaxi::unimplemented::unimplemented_stub()
438    }
439
440    /// Implements [super::client::ControlService::cancel_operation].
441    fn cancel_operation(
442        &self,
443        _req: google_cloud_longrunning::model::CancelOperationRequest,
444        _options: crate::RequestOptions,
445    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
446        gaxi::unimplemented::unimplemented_stub()
447    }
448}
449
450/// Defines the trait used to implement [super::client::ConversationalSearchService].
451///
452/// Application developers may need to implement this trait to mock
453/// `client::ConversationalSearchService`.  In other use-cases, application developers only
454/// use `client::ConversationalSearchService` and need not be concerned with this trait or
455/// its implementations.
456///
457/// Services gain new RPCs routinely. Consequently, this trait gains new methods
458/// too. To avoid breaking applications the trait provides a default
459/// implementation of each method. Most of these implementations just return an
460/// error.
461#[cfg(feature = "conversational-search-service")]
462#[cfg_attr(docsrs, doc(cfg(feature = "conversational-search-service")))]
463pub trait ConversationalSearchService: std::fmt::Debug + Send + Sync {
464    /// Implements [super::client::ConversationalSearchService::converse_conversation].
465    fn converse_conversation(
466        &self,
467        _req: crate::model::ConverseConversationRequest,
468        _options: crate::RequestOptions,
469    ) -> impl std::future::Future<
470        Output = crate::Result<crate::Response<crate::model::ConverseConversationResponse>>,
471    > + Send {
472        gaxi::unimplemented::unimplemented_stub()
473    }
474
475    /// Implements [super::client::ConversationalSearchService::create_conversation].
476    fn create_conversation(
477        &self,
478        _req: crate::model::CreateConversationRequest,
479        _options: crate::RequestOptions,
480    ) -> impl std::future::Future<
481        Output = crate::Result<crate::Response<crate::model::Conversation>>,
482    > + Send {
483        gaxi::unimplemented::unimplemented_stub()
484    }
485
486    /// Implements [super::client::ConversationalSearchService::delete_conversation].
487    fn delete_conversation(
488        &self,
489        _req: crate::model::DeleteConversationRequest,
490        _options: crate::RequestOptions,
491    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
492        gaxi::unimplemented::unimplemented_stub()
493    }
494
495    /// Implements [super::client::ConversationalSearchService::update_conversation].
496    fn update_conversation(
497        &self,
498        _req: crate::model::UpdateConversationRequest,
499        _options: crate::RequestOptions,
500    ) -> impl std::future::Future<
501        Output = crate::Result<crate::Response<crate::model::Conversation>>,
502    > + Send {
503        gaxi::unimplemented::unimplemented_stub()
504    }
505
506    /// Implements [super::client::ConversationalSearchService::get_conversation].
507    fn get_conversation(
508        &self,
509        _req: crate::model::GetConversationRequest,
510        _options: crate::RequestOptions,
511    ) -> impl std::future::Future<
512        Output = crate::Result<crate::Response<crate::model::Conversation>>,
513    > + Send {
514        gaxi::unimplemented::unimplemented_stub()
515    }
516
517    /// Implements [super::client::ConversationalSearchService::list_conversations].
518    fn list_conversations(
519        &self,
520        _req: crate::model::ListConversationsRequest,
521        _options: crate::RequestOptions,
522    ) -> impl std::future::Future<
523        Output = crate::Result<crate::Response<crate::model::ListConversationsResponse>>,
524    > + Send {
525        gaxi::unimplemented::unimplemented_stub()
526    }
527
528    /// Implements [super::client::ConversationalSearchService::answer_query].
529    fn answer_query(
530        &self,
531        _req: crate::model::AnswerQueryRequest,
532        _options: crate::RequestOptions,
533    ) -> impl std::future::Future<
534        Output = crate::Result<crate::Response<crate::model::AnswerQueryResponse>>,
535    > + Send {
536        gaxi::unimplemented::unimplemented_stub()
537    }
538
539    /// Implements [super::client::ConversationalSearchService::stream_answer_query].
540    fn stream_answer_query(
541        &self,
542        _req: crate::model::AnswerQueryRequest,
543        _options: crate::RequestOptions,
544    ) -> impl std::future::Future<
545        Output = crate::Result<
546            google_cloud_gax::streaming::ResponseStream<crate::model::AnswerQueryResponse>,
547        >,
548    > + Send {
549        gaxi::unimplemented::unimplemented_server_streaming_stub()
550    }
551
552    /// Implements [super::client::ConversationalSearchService::get_answer].
553    fn get_answer(
554        &self,
555        _req: crate::model::GetAnswerRequest,
556        _options: crate::RequestOptions,
557    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Answer>>> + Send
558    {
559        gaxi::unimplemented::unimplemented_stub()
560    }
561
562    /// Implements [super::client::ConversationalSearchService::create_session].
563    fn create_session(
564        &self,
565        _req: crate::model::CreateSessionRequest,
566        _options: crate::RequestOptions,
567    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Session>>> + Send
568    {
569        gaxi::unimplemented::unimplemented_stub()
570    }
571
572    /// Implements [super::client::ConversationalSearchService::delete_session].
573    fn delete_session(
574        &self,
575        _req: crate::model::DeleteSessionRequest,
576        _options: crate::RequestOptions,
577    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
578        gaxi::unimplemented::unimplemented_stub()
579    }
580
581    /// Implements [super::client::ConversationalSearchService::update_session].
582    fn update_session(
583        &self,
584        _req: crate::model::UpdateSessionRequest,
585        _options: crate::RequestOptions,
586    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Session>>> + Send
587    {
588        gaxi::unimplemented::unimplemented_stub()
589    }
590
591    /// Implements [super::client::ConversationalSearchService::get_session].
592    fn get_session(
593        &self,
594        _req: crate::model::GetSessionRequest,
595        _options: crate::RequestOptions,
596    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Session>>> + Send
597    {
598        gaxi::unimplemented::unimplemented_stub()
599    }
600
601    /// Implements [super::client::ConversationalSearchService::list_sessions].
602    fn list_sessions(
603        &self,
604        _req: crate::model::ListSessionsRequest,
605        _options: crate::RequestOptions,
606    ) -> impl std::future::Future<
607        Output = crate::Result<crate::Response<crate::model::ListSessionsResponse>>,
608    > + Send {
609        gaxi::unimplemented::unimplemented_stub()
610    }
611
612    /// Implements [super::client::ConversationalSearchService::list_operations].
613    fn list_operations(
614        &self,
615        _req: google_cloud_longrunning::model::ListOperationsRequest,
616        _options: crate::RequestOptions,
617    ) -> impl std::future::Future<
618        Output = crate::Result<
619            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
620        >,
621    > + Send {
622        gaxi::unimplemented::unimplemented_stub()
623    }
624
625    /// Implements [super::client::ConversationalSearchService::get_operation].
626    fn get_operation(
627        &self,
628        _req: google_cloud_longrunning::model::GetOperationRequest,
629        _options: crate::RequestOptions,
630    ) -> impl std::future::Future<
631        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
632    > + Send {
633        gaxi::unimplemented::unimplemented_stub()
634    }
635
636    /// Implements [super::client::ConversationalSearchService::cancel_operation].
637    fn cancel_operation(
638        &self,
639        _req: google_cloud_longrunning::model::CancelOperationRequest,
640        _options: crate::RequestOptions,
641    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
642        gaxi::unimplemented::unimplemented_stub()
643    }
644}
645
646/// Defines the trait used to implement [super::client::DataStoreService].
647///
648/// Application developers may need to implement this trait to mock
649/// `client::DataStoreService`.  In other use-cases, application developers only
650/// use `client::DataStoreService` and need not be concerned with this trait or
651/// its implementations.
652///
653/// Services gain new RPCs routinely. Consequently, this trait gains new methods
654/// too. To avoid breaking applications the trait provides a default
655/// implementation of each method. Most of these implementations just return an
656/// error.
657#[cfg(feature = "data-store-service")]
658#[cfg_attr(docsrs, doc(cfg(feature = "data-store-service")))]
659pub trait DataStoreService: std::fmt::Debug + Send + Sync {
660    /// Implements [super::client::DataStoreService::create_data_store].
661    fn create_data_store(
662        &self,
663        _req: crate::model::CreateDataStoreRequest,
664        _options: crate::RequestOptions,
665    ) -> impl std::future::Future<
666        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
667    > + Send {
668        gaxi::unimplemented::unimplemented_stub()
669    }
670
671    /// Implements [super::client::DataStoreService::get_data_store].
672    fn get_data_store(
673        &self,
674        _req: crate::model::GetDataStoreRequest,
675        _options: crate::RequestOptions,
676    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::DataStore>>> + Send
677    {
678        gaxi::unimplemented::unimplemented_stub()
679    }
680
681    /// Implements [super::client::DataStoreService::list_data_stores].
682    fn list_data_stores(
683        &self,
684        _req: crate::model::ListDataStoresRequest,
685        _options: crate::RequestOptions,
686    ) -> impl std::future::Future<
687        Output = crate::Result<crate::Response<crate::model::ListDataStoresResponse>>,
688    > + Send {
689        gaxi::unimplemented::unimplemented_stub()
690    }
691
692    /// Implements [super::client::DataStoreService::delete_data_store].
693    fn delete_data_store(
694        &self,
695        _req: crate::model::DeleteDataStoreRequest,
696        _options: crate::RequestOptions,
697    ) -> impl std::future::Future<
698        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
699    > + Send {
700        gaxi::unimplemented::unimplemented_stub()
701    }
702
703    /// Implements [super::client::DataStoreService::update_data_store].
704    fn update_data_store(
705        &self,
706        _req: crate::model::UpdateDataStoreRequest,
707        _options: crate::RequestOptions,
708    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::DataStore>>> + Send
709    {
710        gaxi::unimplemented::unimplemented_stub()
711    }
712
713    /// Implements [super::client::DataStoreService::list_operations].
714    fn list_operations(
715        &self,
716        _req: google_cloud_longrunning::model::ListOperationsRequest,
717        _options: crate::RequestOptions,
718    ) -> impl std::future::Future<
719        Output = crate::Result<
720            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
721        >,
722    > + Send {
723        gaxi::unimplemented::unimplemented_stub()
724    }
725
726    /// Implements [super::client::DataStoreService::get_operation].
727    fn get_operation(
728        &self,
729        _req: google_cloud_longrunning::model::GetOperationRequest,
730        _options: crate::RequestOptions,
731    ) -> impl std::future::Future<
732        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
733    > + Send {
734        gaxi::unimplemented::unimplemented_stub()
735    }
736
737    /// Implements [super::client::DataStoreService::cancel_operation].
738    fn cancel_operation(
739        &self,
740        _req: google_cloud_longrunning::model::CancelOperationRequest,
741        _options: crate::RequestOptions,
742    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
743        gaxi::unimplemented::unimplemented_stub()
744    }
745
746    /// Returns the polling error policy.
747    ///
748    /// When mocking, this method is typically irrelevant. Do not try to verify
749    /// it is called by your mocks.
750    fn get_polling_error_policy(
751        &self,
752        _options: &crate::RequestOptions,
753    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
754        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
755    }
756
757    /// Returns the polling backoff policy.
758    ///
759    /// When mocking, this method is typically irrelevant. Do not try to verify
760    /// it is called by your mocks.
761    fn get_polling_backoff_policy(
762        &self,
763        _options: &crate::RequestOptions,
764    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
765        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
766    }
767
768    #[doc(hidden)]
769    /// Returns the poller options.
770    ///
771    /// When mocking, this method is typically irrelevant. Do not try to verify
772    /// it is called by your mocks.
773    fn get_poller_options(
774        &self,
775        _options: &crate::RequestOptions,
776    ) -> google_cloud_lro::PollerOptions {
777        google_cloud_lro::PollerOptions::default()
778    }
779}
780
781/// Defines the trait used to implement [super::client::DocumentService].
782///
783/// Application developers may need to implement this trait to mock
784/// `client::DocumentService`.  In other use-cases, application developers only
785/// use `client::DocumentService` and need not be concerned with this trait or
786/// its implementations.
787///
788/// Services gain new RPCs routinely. Consequently, this trait gains new methods
789/// too. To avoid breaking applications the trait provides a default
790/// implementation of each method. Most of these implementations just return an
791/// error.
792#[cfg(feature = "document-service")]
793#[cfg_attr(docsrs, doc(cfg(feature = "document-service")))]
794pub trait DocumentService: std::fmt::Debug + Send + Sync {
795    /// Implements [super::client::DocumentService::get_document].
796    fn get_document(
797        &self,
798        _req: crate::model::GetDocumentRequest,
799        _options: crate::RequestOptions,
800    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Document>>> + Send
801    {
802        gaxi::unimplemented::unimplemented_stub()
803    }
804
805    /// Implements [super::client::DocumentService::list_documents].
806    fn list_documents(
807        &self,
808        _req: crate::model::ListDocumentsRequest,
809        _options: crate::RequestOptions,
810    ) -> impl std::future::Future<
811        Output = crate::Result<crate::Response<crate::model::ListDocumentsResponse>>,
812    > + Send {
813        gaxi::unimplemented::unimplemented_stub()
814    }
815
816    /// Implements [super::client::DocumentService::create_document].
817    fn create_document(
818        &self,
819        _req: crate::model::CreateDocumentRequest,
820        _options: crate::RequestOptions,
821    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Document>>> + Send
822    {
823        gaxi::unimplemented::unimplemented_stub()
824    }
825
826    /// Implements [super::client::DocumentService::update_document].
827    fn update_document(
828        &self,
829        _req: crate::model::UpdateDocumentRequest,
830        _options: crate::RequestOptions,
831    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Document>>> + Send
832    {
833        gaxi::unimplemented::unimplemented_stub()
834    }
835
836    /// Implements [super::client::DocumentService::delete_document].
837    fn delete_document(
838        &self,
839        _req: crate::model::DeleteDocumentRequest,
840        _options: crate::RequestOptions,
841    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
842        gaxi::unimplemented::unimplemented_stub()
843    }
844
845    /// Implements [super::client::DocumentService::import_documents].
846    fn import_documents(
847        &self,
848        _req: crate::model::ImportDocumentsRequest,
849        _options: crate::RequestOptions,
850    ) -> impl std::future::Future<
851        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
852    > + Send {
853        gaxi::unimplemented::unimplemented_stub()
854    }
855
856    /// Implements [super::client::DocumentService::purge_documents].
857    fn purge_documents(
858        &self,
859        _req: crate::model::PurgeDocumentsRequest,
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::DocumentService::batch_get_documents_metadata].
868    fn batch_get_documents_metadata(
869        &self,
870        _req: crate::model::BatchGetDocumentsMetadataRequest,
871        _options: crate::RequestOptions,
872    ) -> impl std::future::Future<
873        Output = crate::Result<crate::Response<crate::model::BatchGetDocumentsMetadataResponse>>,
874    > + Send {
875        gaxi::unimplemented::unimplemented_stub()
876    }
877
878    /// Implements [super::client::DocumentService::list_operations].
879    fn list_operations(
880        &self,
881        _req: google_cloud_longrunning::model::ListOperationsRequest,
882        _options: crate::RequestOptions,
883    ) -> impl std::future::Future<
884        Output = crate::Result<
885            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
886        >,
887    > + Send {
888        gaxi::unimplemented::unimplemented_stub()
889    }
890
891    /// Implements [super::client::DocumentService::get_operation].
892    fn get_operation(
893        &self,
894        _req: google_cloud_longrunning::model::GetOperationRequest,
895        _options: crate::RequestOptions,
896    ) -> impl std::future::Future<
897        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
898    > + Send {
899        gaxi::unimplemented::unimplemented_stub()
900    }
901
902    /// Implements [super::client::DocumentService::cancel_operation].
903    fn cancel_operation(
904        &self,
905        _req: google_cloud_longrunning::model::CancelOperationRequest,
906        _options: crate::RequestOptions,
907    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
908        gaxi::unimplemented::unimplemented_stub()
909    }
910
911    /// Returns the polling error policy.
912    ///
913    /// When mocking, this method is typically irrelevant. Do not try to verify
914    /// it is called by your mocks.
915    fn get_polling_error_policy(
916        &self,
917        _options: &crate::RequestOptions,
918    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
919        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
920    }
921
922    /// Returns the polling backoff policy.
923    ///
924    /// When mocking, this method is typically irrelevant. Do not try to verify
925    /// it is called by your mocks.
926    fn get_polling_backoff_policy(
927        &self,
928        _options: &crate::RequestOptions,
929    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
930        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
931    }
932
933    #[doc(hidden)]
934    /// Returns the poller options.
935    ///
936    /// When mocking, this method is typically irrelevant. Do not try to verify
937    /// it is called by your mocks.
938    fn get_poller_options(
939        &self,
940        _options: &crate::RequestOptions,
941    ) -> google_cloud_lro::PollerOptions {
942        google_cloud_lro::PollerOptions::default()
943    }
944}
945
946/// Defines the trait used to implement [super::client::EngineService].
947///
948/// Application developers may need to implement this trait to mock
949/// `client::EngineService`.  In other use-cases, application developers only
950/// use `client::EngineService` and need not be concerned with this trait or
951/// its implementations.
952///
953/// Services gain new RPCs routinely. Consequently, this trait gains new methods
954/// too. To avoid breaking applications the trait provides a default
955/// implementation of each method. Most of these implementations just return an
956/// error.
957#[cfg(feature = "engine-service")]
958#[cfg_attr(docsrs, doc(cfg(feature = "engine-service")))]
959pub trait EngineService: std::fmt::Debug + Send + Sync {
960    /// Implements [super::client::EngineService::create_engine].
961    fn create_engine(
962        &self,
963        _req: crate::model::CreateEngineRequest,
964        _options: crate::RequestOptions,
965    ) -> impl std::future::Future<
966        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
967    > + Send {
968        gaxi::unimplemented::unimplemented_stub()
969    }
970
971    /// Implements [super::client::EngineService::delete_engine].
972    fn delete_engine(
973        &self,
974        _req: crate::model::DeleteEngineRequest,
975        _options: crate::RequestOptions,
976    ) -> impl std::future::Future<
977        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
978    > + Send {
979        gaxi::unimplemented::unimplemented_stub()
980    }
981
982    /// Implements [super::client::EngineService::update_engine].
983    fn update_engine(
984        &self,
985        _req: crate::model::UpdateEngineRequest,
986        _options: crate::RequestOptions,
987    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Engine>>> + Send
988    {
989        gaxi::unimplemented::unimplemented_stub()
990    }
991
992    /// Implements [super::client::EngineService::get_engine].
993    fn get_engine(
994        &self,
995        _req: crate::model::GetEngineRequest,
996        _options: crate::RequestOptions,
997    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Engine>>> + Send
998    {
999        gaxi::unimplemented::unimplemented_stub()
1000    }
1001
1002    /// Implements [super::client::EngineService::list_engines].
1003    fn list_engines(
1004        &self,
1005        _req: crate::model::ListEnginesRequest,
1006        _options: crate::RequestOptions,
1007    ) -> impl std::future::Future<
1008        Output = crate::Result<crate::Response<crate::model::ListEnginesResponse>>,
1009    > + Send {
1010        gaxi::unimplemented::unimplemented_stub()
1011    }
1012
1013    /// Implements [super::client::EngineService::list_operations].
1014    fn list_operations(
1015        &self,
1016        _req: google_cloud_longrunning::model::ListOperationsRequest,
1017        _options: crate::RequestOptions,
1018    ) -> impl std::future::Future<
1019        Output = crate::Result<
1020            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1021        >,
1022    > + Send {
1023        gaxi::unimplemented::unimplemented_stub()
1024    }
1025
1026    /// Implements [super::client::EngineService::get_operation].
1027    fn get_operation(
1028        &self,
1029        _req: google_cloud_longrunning::model::GetOperationRequest,
1030        _options: crate::RequestOptions,
1031    ) -> impl std::future::Future<
1032        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1033    > + Send {
1034        gaxi::unimplemented::unimplemented_stub()
1035    }
1036
1037    /// Implements [super::client::EngineService::cancel_operation].
1038    fn cancel_operation(
1039        &self,
1040        _req: google_cloud_longrunning::model::CancelOperationRequest,
1041        _options: crate::RequestOptions,
1042    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1043        gaxi::unimplemented::unimplemented_stub()
1044    }
1045
1046    /// Returns the polling error policy.
1047    ///
1048    /// When mocking, this method is typically irrelevant. Do not try to verify
1049    /// it is called by your mocks.
1050    fn get_polling_error_policy(
1051        &self,
1052        _options: &crate::RequestOptions,
1053    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
1054        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
1055    }
1056
1057    /// Returns the polling backoff policy.
1058    ///
1059    /// When mocking, this method is typically irrelevant. Do not try to verify
1060    /// it is called by your mocks.
1061    fn get_polling_backoff_policy(
1062        &self,
1063        _options: &crate::RequestOptions,
1064    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
1065        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
1066    }
1067
1068    #[doc(hidden)]
1069    /// Returns the poller options.
1070    ///
1071    /// When mocking, this method is typically irrelevant. Do not try to verify
1072    /// it is called by your mocks.
1073    fn get_poller_options(
1074        &self,
1075        _options: &crate::RequestOptions,
1076    ) -> google_cloud_lro::PollerOptions {
1077        google_cloud_lro::PollerOptions::default()
1078    }
1079}
1080
1081/// Defines the trait used to implement [super::client::GroundedGenerationService].
1082///
1083/// Application developers may need to implement this trait to mock
1084/// `client::GroundedGenerationService`.  In other use-cases, application developers only
1085/// use `client::GroundedGenerationService` and need not be concerned with this trait or
1086/// its implementations.
1087///
1088/// Services gain new RPCs routinely. Consequently, this trait gains new methods
1089/// too. To avoid breaking applications the trait provides a default
1090/// implementation of each method. Most of these implementations just return an
1091/// error.
1092#[cfg(feature = "grounded-generation-service")]
1093#[cfg_attr(docsrs, doc(cfg(feature = "grounded-generation-service")))]
1094pub trait GroundedGenerationService: std::fmt::Debug + Send + Sync {
1095    /// Implements [super::client::GroundedGenerationService::stream_generate_grounded_content].
1096    fn stream_generate_grounded_content(
1097        &self,
1098        _options: crate::RequestOptions,
1099    ) -> (
1100        google_cloud_gax::streaming::RequestSender<crate::model::GenerateGroundedContentRequest>,
1101        google_cloud_gax::streaming::ResponseStream<crate::model::GenerateGroundedContentResponse>,
1102    ) {
1103        gaxi::unimplemented::unimplemented_bidi_stub()
1104    }
1105
1106    /// Implements [super::client::GroundedGenerationService::generate_grounded_content].
1107    fn generate_grounded_content(
1108        &self,
1109        _req: crate::model::GenerateGroundedContentRequest,
1110        _options: crate::RequestOptions,
1111    ) -> impl std::future::Future<
1112        Output = crate::Result<crate::Response<crate::model::GenerateGroundedContentResponse>>,
1113    > + Send {
1114        gaxi::unimplemented::unimplemented_stub()
1115    }
1116
1117    /// Implements [super::client::GroundedGenerationService::check_grounding].
1118    fn check_grounding(
1119        &self,
1120        _req: crate::model::CheckGroundingRequest,
1121        _options: crate::RequestOptions,
1122    ) -> impl std::future::Future<
1123        Output = crate::Result<crate::Response<crate::model::CheckGroundingResponse>>,
1124    > + Send {
1125        gaxi::unimplemented::unimplemented_stub()
1126    }
1127
1128    /// Implements [super::client::GroundedGenerationService::list_operations].
1129    fn list_operations(
1130        &self,
1131        _req: google_cloud_longrunning::model::ListOperationsRequest,
1132        _options: crate::RequestOptions,
1133    ) -> impl std::future::Future<
1134        Output = crate::Result<
1135            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1136        >,
1137    > + Send {
1138        gaxi::unimplemented::unimplemented_stub()
1139    }
1140
1141    /// Implements [super::client::GroundedGenerationService::get_operation].
1142    fn get_operation(
1143        &self,
1144        _req: google_cloud_longrunning::model::GetOperationRequest,
1145        _options: crate::RequestOptions,
1146    ) -> impl std::future::Future<
1147        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1148    > + Send {
1149        gaxi::unimplemented::unimplemented_stub()
1150    }
1151
1152    /// Implements [super::client::GroundedGenerationService::cancel_operation].
1153    fn cancel_operation(
1154        &self,
1155        _req: google_cloud_longrunning::model::CancelOperationRequest,
1156        _options: crate::RequestOptions,
1157    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1158        gaxi::unimplemented::unimplemented_stub()
1159    }
1160}
1161
1162/// Defines the trait used to implement [super::client::IdentityMappingStoreService].
1163///
1164/// Application developers may need to implement this trait to mock
1165/// `client::IdentityMappingStoreService`.  In other use-cases, application developers only
1166/// use `client::IdentityMappingStoreService` and need not be concerned with this trait or
1167/// its implementations.
1168///
1169/// Services gain new RPCs routinely. Consequently, this trait gains new methods
1170/// too. To avoid breaking applications the trait provides a default
1171/// implementation of each method. Most of these implementations just return an
1172/// error.
1173#[cfg(feature = "identity-mapping-store-service")]
1174#[cfg_attr(docsrs, doc(cfg(feature = "identity-mapping-store-service")))]
1175pub trait IdentityMappingStoreService: std::fmt::Debug + Send + Sync {
1176    /// Implements [super::client::IdentityMappingStoreService::create_identity_mapping_store].
1177    fn create_identity_mapping_store(
1178        &self,
1179        _req: crate::model::CreateIdentityMappingStoreRequest,
1180        _options: crate::RequestOptions,
1181    ) -> impl std::future::Future<
1182        Output = crate::Result<crate::Response<crate::model::IdentityMappingStore>>,
1183    > + Send {
1184        gaxi::unimplemented::unimplemented_stub()
1185    }
1186
1187    /// Implements [super::client::IdentityMappingStoreService::get_identity_mapping_store].
1188    fn get_identity_mapping_store(
1189        &self,
1190        _req: crate::model::GetIdentityMappingStoreRequest,
1191        _options: crate::RequestOptions,
1192    ) -> impl std::future::Future<
1193        Output = crate::Result<crate::Response<crate::model::IdentityMappingStore>>,
1194    > + Send {
1195        gaxi::unimplemented::unimplemented_stub()
1196    }
1197
1198    /// Implements [super::client::IdentityMappingStoreService::delete_identity_mapping_store].
1199    fn delete_identity_mapping_store(
1200        &self,
1201        _req: crate::model::DeleteIdentityMappingStoreRequest,
1202        _options: crate::RequestOptions,
1203    ) -> impl std::future::Future<
1204        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1205    > + Send {
1206        gaxi::unimplemented::unimplemented_stub()
1207    }
1208
1209    /// Implements [super::client::IdentityMappingStoreService::import_identity_mappings].
1210    fn import_identity_mappings(
1211        &self,
1212        _req: crate::model::ImportIdentityMappingsRequest,
1213        _options: crate::RequestOptions,
1214    ) -> impl std::future::Future<
1215        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1216    > + Send {
1217        gaxi::unimplemented::unimplemented_stub()
1218    }
1219
1220    /// Implements [super::client::IdentityMappingStoreService::purge_identity_mappings].
1221    fn purge_identity_mappings(
1222        &self,
1223        _req: crate::model::PurgeIdentityMappingsRequest,
1224        _options: crate::RequestOptions,
1225    ) -> impl std::future::Future<
1226        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1227    > + Send {
1228        gaxi::unimplemented::unimplemented_stub()
1229    }
1230
1231    /// Implements [super::client::IdentityMappingStoreService::list_identity_mappings].
1232    fn list_identity_mappings(
1233        &self,
1234        _req: crate::model::ListIdentityMappingsRequest,
1235        _options: crate::RequestOptions,
1236    ) -> impl std::future::Future<
1237        Output = crate::Result<crate::Response<crate::model::ListIdentityMappingsResponse>>,
1238    > + Send {
1239        gaxi::unimplemented::unimplemented_stub()
1240    }
1241
1242    /// Implements [super::client::IdentityMappingStoreService::list_identity_mapping_stores].
1243    fn list_identity_mapping_stores(
1244        &self,
1245        _req: crate::model::ListIdentityMappingStoresRequest,
1246        _options: crate::RequestOptions,
1247    ) -> impl std::future::Future<
1248        Output = crate::Result<crate::Response<crate::model::ListIdentityMappingStoresResponse>>,
1249    > + Send {
1250        gaxi::unimplemented::unimplemented_stub()
1251    }
1252
1253    /// Implements [super::client::IdentityMappingStoreService::list_operations].
1254    fn list_operations(
1255        &self,
1256        _req: google_cloud_longrunning::model::ListOperationsRequest,
1257        _options: crate::RequestOptions,
1258    ) -> impl std::future::Future<
1259        Output = crate::Result<
1260            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1261        >,
1262    > + Send {
1263        gaxi::unimplemented::unimplemented_stub()
1264    }
1265
1266    /// Implements [super::client::IdentityMappingStoreService::get_operation].
1267    fn get_operation(
1268        &self,
1269        _req: google_cloud_longrunning::model::GetOperationRequest,
1270        _options: crate::RequestOptions,
1271    ) -> impl std::future::Future<
1272        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1273    > + Send {
1274        gaxi::unimplemented::unimplemented_stub()
1275    }
1276
1277    /// Implements [super::client::IdentityMappingStoreService::cancel_operation].
1278    fn cancel_operation(
1279        &self,
1280        _req: google_cloud_longrunning::model::CancelOperationRequest,
1281        _options: crate::RequestOptions,
1282    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1283        gaxi::unimplemented::unimplemented_stub()
1284    }
1285
1286    /// Returns the polling error policy.
1287    ///
1288    /// When mocking, this method is typically irrelevant. Do not try to verify
1289    /// it is called by your mocks.
1290    fn get_polling_error_policy(
1291        &self,
1292        _options: &crate::RequestOptions,
1293    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
1294        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
1295    }
1296
1297    /// Returns the polling backoff policy.
1298    ///
1299    /// When mocking, this method is typically irrelevant. Do not try to verify
1300    /// it is called by your mocks.
1301    fn get_polling_backoff_policy(
1302        &self,
1303        _options: &crate::RequestOptions,
1304    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
1305        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
1306    }
1307
1308    #[doc(hidden)]
1309    /// Returns the poller options.
1310    ///
1311    /// When mocking, this method is typically irrelevant. Do not try to verify
1312    /// it is called by your mocks.
1313    fn get_poller_options(
1314        &self,
1315        _options: &crate::RequestOptions,
1316    ) -> google_cloud_lro::PollerOptions {
1317        google_cloud_lro::PollerOptions::default()
1318    }
1319}
1320
1321/// Defines the trait used to implement [super::client::ProjectService].
1322///
1323/// Application developers may need to implement this trait to mock
1324/// `client::ProjectService`.  In other use-cases, application developers only
1325/// use `client::ProjectService` and need not be concerned with this trait or
1326/// its implementations.
1327///
1328/// Services gain new RPCs routinely. Consequently, this trait gains new methods
1329/// too. To avoid breaking applications the trait provides a default
1330/// implementation of each method. Most of these implementations just return an
1331/// error.
1332#[cfg(feature = "project-service")]
1333#[cfg_attr(docsrs, doc(cfg(feature = "project-service")))]
1334pub trait ProjectService: std::fmt::Debug + Send + Sync {
1335    /// Implements [super::client::ProjectService::provision_project].
1336    fn provision_project(
1337        &self,
1338        _req: crate::model::ProvisionProjectRequest,
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::ProjectService::list_operations].
1347    fn list_operations(
1348        &self,
1349        _req: google_cloud_longrunning::model::ListOperationsRequest,
1350        _options: crate::RequestOptions,
1351    ) -> impl std::future::Future<
1352        Output = crate::Result<
1353            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1354        >,
1355    > + Send {
1356        gaxi::unimplemented::unimplemented_stub()
1357    }
1358
1359    /// Implements [super::client::ProjectService::get_operation].
1360    fn get_operation(
1361        &self,
1362        _req: google_cloud_longrunning::model::GetOperationRequest,
1363        _options: crate::RequestOptions,
1364    ) -> impl std::future::Future<
1365        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1366    > + Send {
1367        gaxi::unimplemented::unimplemented_stub()
1368    }
1369
1370    /// Implements [super::client::ProjectService::cancel_operation].
1371    fn cancel_operation(
1372        &self,
1373        _req: google_cloud_longrunning::model::CancelOperationRequest,
1374        _options: crate::RequestOptions,
1375    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1376        gaxi::unimplemented::unimplemented_stub()
1377    }
1378
1379    /// Returns the polling error policy.
1380    ///
1381    /// When mocking, this method is typically irrelevant. Do not try to verify
1382    /// it is called by your mocks.
1383    fn get_polling_error_policy(
1384        &self,
1385        _options: &crate::RequestOptions,
1386    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
1387        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
1388    }
1389
1390    /// Returns the polling backoff policy.
1391    ///
1392    /// When mocking, this method is typically irrelevant. Do not try to verify
1393    /// it is called by your mocks.
1394    fn get_polling_backoff_policy(
1395        &self,
1396        _options: &crate::RequestOptions,
1397    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
1398        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
1399    }
1400
1401    #[doc(hidden)]
1402    /// Returns the poller options.
1403    ///
1404    /// When mocking, this method is typically irrelevant. Do not try to verify
1405    /// it is called by your mocks.
1406    fn get_poller_options(
1407        &self,
1408        _options: &crate::RequestOptions,
1409    ) -> google_cloud_lro::PollerOptions {
1410        google_cloud_lro::PollerOptions::default()
1411    }
1412}
1413
1414/// Defines the trait used to implement [super::client::RankService].
1415///
1416/// Application developers may need to implement this trait to mock
1417/// `client::RankService`.  In other use-cases, application developers only
1418/// use `client::RankService` and need not be concerned with this trait or
1419/// its implementations.
1420///
1421/// Services gain new RPCs routinely. Consequently, this trait gains new methods
1422/// too. To avoid breaking applications the trait provides a default
1423/// implementation of each method. Most of these implementations just return an
1424/// error.
1425#[cfg(feature = "rank-service")]
1426#[cfg_attr(docsrs, doc(cfg(feature = "rank-service")))]
1427pub trait RankService: std::fmt::Debug + Send + Sync {
1428    /// Implements [super::client::RankService::rank].
1429    fn rank(
1430        &self,
1431        _req: crate::model::RankRequest,
1432        _options: crate::RequestOptions,
1433    ) -> impl std::future::Future<
1434        Output = crate::Result<crate::Response<crate::model::RankResponse>>,
1435    > + Send {
1436        gaxi::unimplemented::unimplemented_stub()
1437    }
1438
1439    /// Implements [super::client::RankService::list_operations].
1440    fn list_operations(
1441        &self,
1442        _req: google_cloud_longrunning::model::ListOperationsRequest,
1443        _options: crate::RequestOptions,
1444    ) -> impl std::future::Future<
1445        Output = crate::Result<
1446            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1447        >,
1448    > + Send {
1449        gaxi::unimplemented::unimplemented_stub()
1450    }
1451
1452    /// Implements [super::client::RankService::get_operation].
1453    fn get_operation(
1454        &self,
1455        _req: google_cloud_longrunning::model::GetOperationRequest,
1456        _options: crate::RequestOptions,
1457    ) -> impl std::future::Future<
1458        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1459    > + Send {
1460        gaxi::unimplemented::unimplemented_stub()
1461    }
1462
1463    /// Implements [super::client::RankService::cancel_operation].
1464    fn cancel_operation(
1465        &self,
1466        _req: google_cloud_longrunning::model::CancelOperationRequest,
1467        _options: crate::RequestOptions,
1468    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1469        gaxi::unimplemented::unimplemented_stub()
1470    }
1471}
1472
1473/// Defines the trait used to implement [super::client::RecommendationService].
1474///
1475/// Application developers may need to implement this trait to mock
1476/// `client::RecommendationService`.  In other use-cases, application developers only
1477/// use `client::RecommendationService` and need not be concerned with this trait or
1478/// its implementations.
1479///
1480/// Services gain new RPCs routinely. Consequently, this trait gains new methods
1481/// too. To avoid breaking applications the trait provides a default
1482/// implementation of each method. Most of these implementations just return an
1483/// error.
1484#[cfg(feature = "recommendation-service")]
1485#[cfg_attr(docsrs, doc(cfg(feature = "recommendation-service")))]
1486pub trait RecommendationService: std::fmt::Debug + Send + Sync {
1487    /// Implements [super::client::RecommendationService::recommend].
1488    fn recommend(
1489        &self,
1490        _req: crate::model::RecommendRequest,
1491        _options: crate::RequestOptions,
1492    ) -> impl std::future::Future<
1493        Output = crate::Result<crate::Response<crate::model::RecommendResponse>>,
1494    > + Send {
1495        gaxi::unimplemented::unimplemented_stub()
1496    }
1497
1498    /// Implements [super::client::RecommendationService::list_operations].
1499    fn list_operations(
1500        &self,
1501        _req: google_cloud_longrunning::model::ListOperationsRequest,
1502        _options: crate::RequestOptions,
1503    ) -> impl std::future::Future<
1504        Output = crate::Result<
1505            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1506        >,
1507    > + Send {
1508        gaxi::unimplemented::unimplemented_stub()
1509    }
1510
1511    /// Implements [super::client::RecommendationService::get_operation].
1512    fn get_operation(
1513        &self,
1514        _req: google_cloud_longrunning::model::GetOperationRequest,
1515        _options: crate::RequestOptions,
1516    ) -> impl std::future::Future<
1517        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1518    > + Send {
1519        gaxi::unimplemented::unimplemented_stub()
1520    }
1521
1522    /// Implements [super::client::RecommendationService::cancel_operation].
1523    fn cancel_operation(
1524        &self,
1525        _req: google_cloud_longrunning::model::CancelOperationRequest,
1526        _options: crate::RequestOptions,
1527    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1528        gaxi::unimplemented::unimplemented_stub()
1529    }
1530}
1531
1532/// Defines the trait used to implement [super::client::SchemaService].
1533///
1534/// Application developers may need to implement this trait to mock
1535/// `client::SchemaService`.  In other use-cases, application developers only
1536/// use `client::SchemaService` and need not be concerned with this trait or
1537/// its implementations.
1538///
1539/// Services gain new RPCs routinely. Consequently, this trait gains new methods
1540/// too. To avoid breaking applications the trait provides a default
1541/// implementation of each method. Most of these implementations just return an
1542/// error.
1543#[cfg(feature = "schema-service")]
1544#[cfg_attr(docsrs, doc(cfg(feature = "schema-service")))]
1545pub trait SchemaService: std::fmt::Debug + Send + Sync {
1546    /// Implements [super::client::SchemaService::get_schema].
1547    fn get_schema(
1548        &self,
1549        _req: crate::model::GetSchemaRequest,
1550        _options: crate::RequestOptions,
1551    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Schema>>> + Send
1552    {
1553        gaxi::unimplemented::unimplemented_stub()
1554    }
1555
1556    /// Implements [super::client::SchemaService::list_schemas].
1557    fn list_schemas(
1558        &self,
1559        _req: crate::model::ListSchemasRequest,
1560        _options: crate::RequestOptions,
1561    ) -> impl std::future::Future<
1562        Output = crate::Result<crate::Response<crate::model::ListSchemasResponse>>,
1563    > + Send {
1564        gaxi::unimplemented::unimplemented_stub()
1565    }
1566
1567    /// Implements [super::client::SchemaService::create_schema].
1568    fn create_schema(
1569        &self,
1570        _req: crate::model::CreateSchemaRequest,
1571        _options: crate::RequestOptions,
1572    ) -> impl std::future::Future<
1573        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1574    > + Send {
1575        gaxi::unimplemented::unimplemented_stub()
1576    }
1577
1578    /// Implements [super::client::SchemaService::update_schema].
1579    fn update_schema(
1580        &self,
1581        _req: crate::model::UpdateSchemaRequest,
1582        _options: crate::RequestOptions,
1583    ) -> impl std::future::Future<
1584        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1585    > + Send {
1586        gaxi::unimplemented::unimplemented_stub()
1587    }
1588
1589    /// Implements [super::client::SchemaService::delete_schema].
1590    fn delete_schema(
1591        &self,
1592        _req: crate::model::DeleteSchemaRequest,
1593        _options: crate::RequestOptions,
1594    ) -> impl std::future::Future<
1595        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1596    > + Send {
1597        gaxi::unimplemented::unimplemented_stub()
1598    }
1599
1600    /// Implements [super::client::SchemaService::list_operations].
1601    fn list_operations(
1602        &self,
1603        _req: google_cloud_longrunning::model::ListOperationsRequest,
1604        _options: crate::RequestOptions,
1605    ) -> impl std::future::Future<
1606        Output = crate::Result<
1607            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1608        >,
1609    > + Send {
1610        gaxi::unimplemented::unimplemented_stub()
1611    }
1612
1613    /// Implements [super::client::SchemaService::get_operation].
1614    fn get_operation(
1615        &self,
1616        _req: google_cloud_longrunning::model::GetOperationRequest,
1617        _options: crate::RequestOptions,
1618    ) -> impl std::future::Future<
1619        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1620    > + Send {
1621        gaxi::unimplemented::unimplemented_stub()
1622    }
1623
1624    /// Implements [super::client::SchemaService::cancel_operation].
1625    fn cancel_operation(
1626        &self,
1627        _req: google_cloud_longrunning::model::CancelOperationRequest,
1628        _options: crate::RequestOptions,
1629    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1630        gaxi::unimplemented::unimplemented_stub()
1631    }
1632
1633    /// Returns the polling error policy.
1634    ///
1635    /// When mocking, this method is typically irrelevant. Do not try to verify
1636    /// it is called by your mocks.
1637    fn get_polling_error_policy(
1638        &self,
1639        _options: &crate::RequestOptions,
1640    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
1641        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
1642    }
1643
1644    /// Returns the polling backoff policy.
1645    ///
1646    /// When mocking, this method is typically irrelevant. Do not try to verify
1647    /// it is called by your mocks.
1648    fn get_polling_backoff_policy(
1649        &self,
1650        _options: &crate::RequestOptions,
1651    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
1652        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
1653    }
1654
1655    #[doc(hidden)]
1656    /// Returns the poller options.
1657    ///
1658    /// When mocking, this method is typically irrelevant. Do not try to verify
1659    /// it is called by your mocks.
1660    fn get_poller_options(
1661        &self,
1662        _options: &crate::RequestOptions,
1663    ) -> google_cloud_lro::PollerOptions {
1664        google_cloud_lro::PollerOptions::default()
1665    }
1666}
1667
1668/// Defines the trait used to implement [super::client::SearchService].
1669///
1670/// Application developers may need to implement this trait to mock
1671/// `client::SearchService`.  In other use-cases, application developers only
1672/// use `client::SearchService` and need not be concerned with this trait or
1673/// its implementations.
1674///
1675/// Services gain new RPCs routinely. Consequently, this trait gains new methods
1676/// too. To avoid breaking applications the trait provides a default
1677/// implementation of each method. Most of these implementations just return an
1678/// error.
1679#[cfg(feature = "search-service")]
1680#[cfg_attr(docsrs, doc(cfg(feature = "search-service")))]
1681pub trait SearchService: std::fmt::Debug + Send + Sync {
1682    /// Implements [super::client::SearchService::search].
1683    fn search(
1684        &self,
1685        _req: crate::model::SearchRequest,
1686        _options: crate::RequestOptions,
1687    ) -> impl std::future::Future<
1688        Output = crate::Result<crate::Response<crate::model::SearchResponse>>,
1689    > + Send {
1690        gaxi::unimplemented::unimplemented_stub()
1691    }
1692
1693    /// Implements [super::client::SearchService::search_lite].
1694    fn search_lite(
1695        &self,
1696        _req: crate::model::SearchRequest,
1697        _options: crate::RequestOptions,
1698    ) -> impl std::future::Future<
1699        Output = crate::Result<crate::Response<crate::model::SearchResponse>>,
1700    > + Send {
1701        gaxi::unimplemented::unimplemented_stub()
1702    }
1703
1704    /// Implements [super::client::SearchService::list_operations].
1705    fn list_operations(
1706        &self,
1707        _req: google_cloud_longrunning::model::ListOperationsRequest,
1708        _options: crate::RequestOptions,
1709    ) -> impl std::future::Future<
1710        Output = crate::Result<
1711            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1712        >,
1713    > + Send {
1714        gaxi::unimplemented::unimplemented_stub()
1715    }
1716
1717    /// Implements [super::client::SearchService::get_operation].
1718    fn get_operation(
1719        &self,
1720        _req: google_cloud_longrunning::model::GetOperationRequest,
1721        _options: crate::RequestOptions,
1722    ) -> impl std::future::Future<
1723        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1724    > + Send {
1725        gaxi::unimplemented::unimplemented_stub()
1726    }
1727
1728    /// Implements [super::client::SearchService::cancel_operation].
1729    fn cancel_operation(
1730        &self,
1731        _req: google_cloud_longrunning::model::CancelOperationRequest,
1732        _options: crate::RequestOptions,
1733    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1734        gaxi::unimplemented::unimplemented_stub()
1735    }
1736}
1737
1738/// Defines the trait used to implement [super::client::SearchTuningService].
1739///
1740/// Application developers may need to implement this trait to mock
1741/// `client::SearchTuningService`.  In other use-cases, application developers only
1742/// use `client::SearchTuningService` and need not be concerned with this trait or
1743/// its implementations.
1744///
1745/// Services gain new RPCs routinely. Consequently, this trait gains new methods
1746/// too. To avoid breaking applications the trait provides a default
1747/// implementation of each method. Most of these implementations just return an
1748/// error.
1749#[cfg(feature = "search-tuning-service")]
1750#[cfg_attr(docsrs, doc(cfg(feature = "search-tuning-service")))]
1751pub trait SearchTuningService: std::fmt::Debug + Send + Sync {
1752    /// Implements [super::client::SearchTuningService::train_custom_model].
1753    fn train_custom_model(
1754        &self,
1755        _req: crate::model::TrainCustomModelRequest,
1756        _options: crate::RequestOptions,
1757    ) -> impl std::future::Future<
1758        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1759    > + Send {
1760        gaxi::unimplemented::unimplemented_stub()
1761    }
1762
1763    /// Implements [super::client::SearchTuningService::list_custom_models].
1764    fn list_custom_models(
1765        &self,
1766        _req: crate::model::ListCustomModelsRequest,
1767        _options: crate::RequestOptions,
1768    ) -> impl std::future::Future<
1769        Output = crate::Result<crate::Response<crate::model::ListCustomModelsResponse>>,
1770    > + Send {
1771        gaxi::unimplemented::unimplemented_stub()
1772    }
1773
1774    /// Implements [super::client::SearchTuningService::list_operations].
1775    fn list_operations(
1776        &self,
1777        _req: google_cloud_longrunning::model::ListOperationsRequest,
1778        _options: crate::RequestOptions,
1779    ) -> impl std::future::Future<
1780        Output = crate::Result<
1781            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1782        >,
1783    > + Send {
1784        gaxi::unimplemented::unimplemented_stub()
1785    }
1786
1787    /// Implements [super::client::SearchTuningService::get_operation].
1788    fn get_operation(
1789        &self,
1790        _req: google_cloud_longrunning::model::GetOperationRequest,
1791        _options: crate::RequestOptions,
1792    ) -> impl std::future::Future<
1793        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1794    > + Send {
1795        gaxi::unimplemented::unimplemented_stub()
1796    }
1797
1798    /// Implements [super::client::SearchTuningService::cancel_operation].
1799    fn cancel_operation(
1800        &self,
1801        _req: google_cloud_longrunning::model::CancelOperationRequest,
1802        _options: crate::RequestOptions,
1803    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1804        gaxi::unimplemented::unimplemented_stub()
1805    }
1806
1807    /// Returns the polling error policy.
1808    ///
1809    /// When mocking, this method is typically irrelevant. Do not try to verify
1810    /// it is called by your mocks.
1811    fn get_polling_error_policy(
1812        &self,
1813        _options: &crate::RequestOptions,
1814    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
1815        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
1816    }
1817
1818    /// Returns the polling backoff policy.
1819    ///
1820    /// When mocking, this method is typically irrelevant. Do not try to verify
1821    /// it is called by your mocks.
1822    fn get_polling_backoff_policy(
1823        &self,
1824        _options: &crate::RequestOptions,
1825    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
1826        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
1827    }
1828
1829    #[doc(hidden)]
1830    /// Returns the poller options.
1831    ///
1832    /// When mocking, this method is typically irrelevant. Do not try to verify
1833    /// it is called by your mocks.
1834    fn get_poller_options(
1835        &self,
1836        _options: &crate::RequestOptions,
1837    ) -> google_cloud_lro::PollerOptions {
1838        google_cloud_lro::PollerOptions::default()
1839    }
1840}
1841
1842/// Defines the trait used to implement [super::client::ServingConfigService].
1843///
1844/// Application developers may need to implement this trait to mock
1845/// `client::ServingConfigService`.  In other use-cases, application developers only
1846/// use `client::ServingConfigService` and need not be concerned with this trait or
1847/// its implementations.
1848///
1849/// Services gain new RPCs routinely. Consequently, this trait gains new methods
1850/// too. To avoid breaking applications the trait provides a default
1851/// implementation of each method. Most of these implementations just return an
1852/// error.
1853#[cfg(feature = "serving-config-service")]
1854#[cfg_attr(docsrs, doc(cfg(feature = "serving-config-service")))]
1855pub trait ServingConfigService: std::fmt::Debug + Send + Sync {
1856    /// Implements [super::client::ServingConfigService::update_serving_config].
1857    fn update_serving_config(
1858        &self,
1859        _req: crate::model::UpdateServingConfigRequest,
1860        _options: crate::RequestOptions,
1861    ) -> impl std::future::Future<
1862        Output = crate::Result<crate::Response<crate::model::ServingConfig>>,
1863    > + Send {
1864        gaxi::unimplemented::unimplemented_stub()
1865    }
1866
1867    /// Implements [super::client::ServingConfigService::list_operations].
1868    fn list_operations(
1869        &self,
1870        _req: google_cloud_longrunning::model::ListOperationsRequest,
1871        _options: crate::RequestOptions,
1872    ) -> impl std::future::Future<
1873        Output = crate::Result<
1874            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1875        >,
1876    > + Send {
1877        gaxi::unimplemented::unimplemented_stub()
1878    }
1879
1880    /// Implements [super::client::ServingConfigService::get_operation].
1881    fn get_operation(
1882        &self,
1883        _req: google_cloud_longrunning::model::GetOperationRequest,
1884        _options: crate::RequestOptions,
1885    ) -> impl std::future::Future<
1886        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1887    > + Send {
1888        gaxi::unimplemented::unimplemented_stub()
1889    }
1890
1891    /// Implements [super::client::ServingConfigService::cancel_operation].
1892    fn cancel_operation(
1893        &self,
1894        _req: google_cloud_longrunning::model::CancelOperationRequest,
1895        _options: crate::RequestOptions,
1896    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1897        gaxi::unimplemented::unimplemented_stub()
1898    }
1899}
1900
1901/// Defines the trait used to implement [super::client::SessionService].
1902///
1903/// Application developers may need to implement this trait to mock
1904/// `client::SessionService`.  In other use-cases, application developers only
1905/// use `client::SessionService` and need not be concerned with this trait or
1906/// its implementations.
1907///
1908/// Services gain new RPCs routinely. Consequently, this trait gains new methods
1909/// too. To avoid breaking applications the trait provides a default
1910/// implementation of each method. Most of these implementations just return an
1911/// error.
1912#[cfg(feature = "session-service")]
1913#[cfg_attr(docsrs, doc(cfg(feature = "session-service")))]
1914pub trait SessionService: std::fmt::Debug + Send + Sync {
1915    /// Implements [super::client::SessionService::create_session].
1916    fn create_session(
1917        &self,
1918        _req: crate::model::CreateSessionRequest,
1919        _options: crate::RequestOptions,
1920    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Session>>> + Send
1921    {
1922        gaxi::unimplemented::unimplemented_stub()
1923    }
1924
1925    /// Implements [super::client::SessionService::delete_session].
1926    fn delete_session(
1927        &self,
1928        _req: crate::model::DeleteSessionRequest,
1929        _options: crate::RequestOptions,
1930    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1931        gaxi::unimplemented::unimplemented_stub()
1932    }
1933
1934    /// Implements [super::client::SessionService::update_session].
1935    fn update_session(
1936        &self,
1937        _req: crate::model::UpdateSessionRequest,
1938        _options: crate::RequestOptions,
1939    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Session>>> + Send
1940    {
1941        gaxi::unimplemented::unimplemented_stub()
1942    }
1943
1944    /// Implements [super::client::SessionService::get_session].
1945    fn get_session(
1946        &self,
1947        _req: crate::model::GetSessionRequest,
1948        _options: crate::RequestOptions,
1949    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Session>>> + Send
1950    {
1951        gaxi::unimplemented::unimplemented_stub()
1952    }
1953
1954    /// Implements [super::client::SessionService::list_sessions].
1955    fn list_sessions(
1956        &self,
1957        _req: crate::model::ListSessionsRequest,
1958        _options: crate::RequestOptions,
1959    ) -> impl std::future::Future<
1960        Output = crate::Result<crate::Response<crate::model::ListSessionsResponse>>,
1961    > + Send {
1962        gaxi::unimplemented::unimplemented_stub()
1963    }
1964
1965    /// Implements [super::client::SessionService::list_operations].
1966    fn list_operations(
1967        &self,
1968        _req: google_cloud_longrunning::model::ListOperationsRequest,
1969        _options: crate::RequestOptions,
1970    ) -> impl std::future::Future<
1971        Output = crate::Result<
1972            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1973        >,
1974    > + Send {
1975        gaxi::unimplemented::unimplemented_stub()
1976    }
1977
1978    /// Implements [super::client::SessionService::get_operation].
1979    fn get_operation(
1980        &self,
1981        _req: google_cloud_longrunning::model::GetOperationRequest,
1982        _options: crate::RequestOptions,
1983    ) -> impl std::future::Future<
1984        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1985    > + Send {
1986        gaxi::unimplemented::unimplemented_stub()
1987    }
1988
1989    /// Implements [super::client::SessionService::cancel_operation].
1990    fn cancel_operation(
1991        &self,
1992        _req: google_cloud_longrunning::model::CancelOperationRequest,
1993        _options: crate::RequestOptions,
1994    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1995        gaxi::unimplemented::unimplemented_stub()
1996    }
1997}
1998
1999/// Defines the trait used to implement [super::client::SiteSearchEngineService].
2000///
2001/// Application developers may need to implement this trait to mock
2002/// `client::SiteSearchEngineService`.  In other use-cases, application developers only
2003/// use `client::SiteSearchEngineService` and need not be concerned with this trait or
2004/// its implementations.
2005///
2006/// Services gain new RPCs routinely. Consequently, this trait gains new methods
2007/// too. To avoid breaking applications the trait provides a default
2008/// implementation of each method. Most of these implementations just return an
2009/// error.
2010#[cfg(feature = "site-search-engine-service")]
2011#[cfg_attr(docsrs, doc(cfg(feature = "site-search-engine-service")))]
2012pub trait SiteSearchEngineService: std::fmt::Debug + Send + Sync {
2013    /// Implements [super::client::SiteSearchEngineService::get_site_search_engine].
2014    fn get_site_search_engine(
2015        &self,
2016        _req: crate::model::GetSiteSearchEngineRequest,
2017        _options: crate::RequestOptions,
2018    ) -> impl std::future::Future<
2019        Output = crate::Result<crate::Response<crate::model::SiteSearchEngine>>,
2020    > + Send {
2021        gaxi::unimplemented::unimplemented_stub()
2022    }
2023
2024    /// Implements [super::client::SiteSearchEngineService::create_target_site].
2025    fn create_target_site(
2026        &self,
2027        _req: crate::model::CreateTargetSiteRequest,
2028        _options: crate::RequestOptions,
2029    ) -> impl std::future::Future<
2030        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2031    > + Send {
2032        gaxi::unimplemented::unimplemented_stub()
2033    }
2034
2035    /// Implements [super::client::SiteSearchEngineService::batch_create_target_sites].
2036    fn batch_create_target_sites(
2037        &self,
2038        _req: crate::model::BatchCreateTargetSitesRequest,
2039        _options: crate::RequestOptions,
2040    ) -> impl std::future::Future<
2041        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2042    > + Send {
2043        gaxi::unimplemented::unimplemented_stub()
2044    }
2045
2046    /// Implements [super::client::SiteSearchEngineService::get_target_site].
2047    fn get_target_site(
2048        &self,
2049        _req: crate::model::GetTargetSiteRequest,
2050        _options: crate::RequestOptions,
2051    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::TargetSite>>> + Send
2052    {
2053        gaxi::unimplemented::unimplemented_stub()
2054    }
2055
2056    /// Implements [super::client::SiteSearchEngineService::update_target_site].
2057    fn update_target_site(
2058        &self,
2059        _req: crate::model::UpdateTargetSiteRequest,
2060        _options: crate::RequestOptions,
2061    ) -> impl std::future::Future<
2062        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2063    > + Send {
2064        gaxi::unimplemented::unimplemented_stub()
2065    }
2066
2067    /// Implements [super::client::SiteSearchEngineService::delete_target_site].
2068    fn delete_target_site(
2069        &self,
2070        _req: crate::model::DeleteTargetSiteRequest,
2071        _options: crate::RequestOptions,
2072    ) -> impl std::future::Future<
2073        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2074    > + Send {
2075        gaxi::unimplemented::unimplemented_stub()
2076    }
2077
2078    /// Implements [super::client::SiteSearchEngineService::list_target_sites].
2079    fn list_target_sites(
2080        &self,
2081        _req: crate::model::ListTargetSitesRequest,
2082        _options: crate::RequestOptions,
2083    ) -> impl std::future::Future<
2084        Output = crate::Result<crate::Response<crate::model::ListTargetSitesResponse>>,
2085    > + Send {
2086        gaxi::unimplemented::unimplemented_stub()
2087    }
2088
2089    /// Implements [super::client::SiteSearchEngineService::create_sitemap].
2090    fn create_sitemap(
2091        &self,
2092        _req: crate::model::CreateSitemapRequest,
2093        _options: crate::RequestOptions,
2094    ) -> impl std::future::Future<
2095        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2096    > + Send {
2097        gaxi::unimplemented::unimplemented_stub()
2098    }
2099
2100    /// Implements [super::client::SiteSearchEngineService::delete_sitemap].
2101    fn delete_sitemap(
2102        &self,
2103        _req: crate::model::DeleteSitemapRequest,
2104        _options: crate::RequestOptions,
2105    ) -> impl std::future::Future<
2106        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2107    > + Send {
2108        gaxi::unimplemented::unimplemented_stub()
2109    }
2110
2111    /// Implements [super::client::SiteSearchEngineService::fetch_sitemaps].
2112    fn fetch_sitemaps(
2113        &self,
2114        _req: crate::model::FetchSitemapsRequest,
2115        _options: crate::RequestOptions,
2116    ) -> impl std::future::Future<
2117        Output = crate::Result<crate::Response<crate::model::FetchSitemapsResponse>>,
2118    > + Send {
2119        gaxi::unimplemented::unimplemented_stub()
2120    }
2121
2122    /// Implements [super::client::SiteSearchEngineService::enable_advanced_site_search].
2123    fn enable_advanced_site_search(
2124        &self,
2125        _req: crate::model::EnableAdvancedSiteSearchRequest,
2126        _options: crate::RequestOptions,
2127    ) -> impl std::future::Future<
2128        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2129    > + Send {
2130        gaxi::unimplemented::unimplemented_stub()
2131    }
2132
2133    /// Implements [super::client::SiteSearchEngineService::disable_advanced_site_search].
2134    fn disable_advanced_site_search(
2135        &self,
2136        _req: crate::model::DisableAdvancedSiteSearchRequest,
2137        _options: crate::RequestOptions,
2138    ) -> impl std::future::Future<
2139        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2140    > + Send {
2141        gaxi::unimplemented::unimplemented_stub()
2142    }
2143
2144    /// Implements [super::client::SiteSearchEngineService::recrawl_uris].
2145    fn recrawl_uris(
2146        &self,
2147        _req: crate::model::RecrawlUrisRequest,
2148        _options: crate::RequestOptions,
2149    ) -> impl std::future::Future<
2150        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2151    > + Send {
2152        gaxi::unimplemented::unimplemented_stub()
2153    }
2154
2155    /// Implements [super::client::SiteSearchEngineService::batch_verify_target_sites].
2156    fn batch_verify_target_sites(
2157        &self,
2158        _req: crate::model::BatchVerifyTargetSitesRequest,
2159        _options: crate::RequestOptions,
2160    ) -> impl std::future::Future<
2161        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2162    > + Send {
2163        gaxi::unimplemented::unimplemented_stub()
2164    }
2165
2166    /// Implements [super::client::SiteSearchEngineService::fetch_domain_verification_status].
2167    fn fetch_domain_verification_status(
2168        &self,
2169        _req: crate::model::FetchDomainVerificationStatusRequest,
2170        _options: crate::RequestOptions,
2171    ) -> impl std::future::Future<
2172        Output = crate::Result<
2173            crate::Response<crate::model::FetchDomainVerificationStatusResponse>,
2174        >,
2175    > + Send {
2176        gaxi::unimplemented::unimplemented_stub()
2177    }
2178
2179    /// Implements [super::client::SiteSearchEngineService::list_operations].
2180    fn list_operations(
2181        &self,
2182        _req: google_cloud_longrunning::model::ListOperationsRequest,
2183        _options: crate::RequestOptions,
2184    ) -> impl std::future::Future<
2185        Output = crate::Result<
2186            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
2187        >,
2188    > + Send {
2189        gaxi::unimplemented::unimplemented_stub()
2190    }
2191
2192    /// Implements [super::client::SiteSearchEngineService::get_operation].
2193    fn get_operation(
2194        &self,
2195        _req: google_cloud_longrunning::model::GetOperationRequest,
2196        _options: crate::RequestOptions,
2197    ) -> impl std::future::Future<
2198        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2199    > + Send {
2200        gaxi::unimplemented::unimplemented_stub()
2201    }
2202
2203    /// Implements [super::client::SiteSearchEngineService::cancel_operation].
2204    fn cancel_operation(
2205        &self,
2206        _req: google_cloud_longrunning::model::CancelOperationRequest,
2207        _options: crate::RequestOptions,
2208    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
2209        gaxi::unimplemented::unimplemented_stub()
2210    }
2211
2212    /// Returns the polling error policy.
2213    ///
2214    /// When mocking, this method is typically irrelevant. Do not try to verify
2215    /// it is called by your mocks.
2216    fn get_polling_error_policy(
2217        &self,
2218        _options: &crate::RequestOptions,
2219    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
2220        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
2221    }
2222
2223    /// Returns the polling backoff policy.
2224    ///
2225    /// When mocking, this method is typically irrelevant. Do not try to verify
2226    /// it is called by your mocks.
2227    fn get_polling_backoff_policy(
2228        &self,
2229        _options: &crate::RequestOptions,
2230    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
2231        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
2232    }
2233
2234    #[doc(hidden)]
2235    /// Returns the poller options.
2236    ///
2237    /// When mocking, this method is typically irrelevant. Do not try to verify
2238    /// it is called by your mocks.
2239    fn get_poller_options(
2240        &self,
2241        _options: &crate::RequestOptions,
2242    ) -> google_cloud_lro::PollerOptions {
2243        google_cloud_lro::PollerOptions::default()
2244    }
2245}
2246
2247/// Defines the trait used to implement [super::client::UserEventService].
2248///
2249/// Application developers may need to implement this trait to mock
2250/// `client::UserEventService`.  In other use-cases, application developers only
2251/// use `client::UserEventService` and need not be concerned with this trait or
2252/// its implementations.
2253///
2254/// Services gain new RPCs routinely. Consequently, this trait gains new methods
2255/// too. To avoid breaking applications the trait provides a default
2256/// implementation of each method. Most of these implementations just return an
2257/// error.
2258#[cfg(feature = "user-event-service")]
2259#[cfg_attr(docsrs, doc(cfg(feature = "user-event-service")))]
2260pub trait UserEventService: std::fmt::Debug + Send + Sync {
2261    /// Implements [super::client::UserEventService::write_user_event].
2262    fn write_user_event(
2263        &self,
2264        _req: crate::model::WriteUserEventRequest,
2265        _options: crate::RequestOptions,
2266    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::UserEvent>>> + Send
2267    {
2268        gaxi::unimplemented::unimplemented_stub()
2269    }
2270
2271    /// Implements [super::client::UserEventService::collect_user_event].
2272    fn collect_user_event(
2273        &self,
2274        _req: crate::model::CollectUserEventRequest,
2275        _options: crate::RequestOptions,
2276    ) -> impl std::future::Future<
2277        Output = crate::Result<crate::Response<google_cloud_api::model::HttpBody>>,
2278    > + Send {
2279        gaxi::unimplemented::unimplemented_stub()
2280    }
2281
2282    /// Implements [super::client::UserEventService::purge_user_events].
2283    fn purge_user_events(
2284        &self,
2285        _req: crate::model::PurgeUserEventsRequest,
2286        _options: crate::RequestOptions,
2287    ) -> impl std::future::Future<
2288        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2289    > + Send {
2290        gaxi::unimplemented::unimplemented_stub()
2291    }
2292
2293    /// Implements [super::client::UserEventService::import_user_events].
2294    fn import_user_events(
2295        &self,
2296        _req: crate::model::ImportUserEventsRequest,
2297        _options: crate::RequestOptions,
2298    ) -> impl std::future::Future<
2299        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2300    > + Send {
2301        gaxi::unimplemented::unimplemented_stub()
2302    }
2303
2304    /// Implements [super::client::UserEventService::list_operations].
2305    fn list_operations(
2306        &self,
2307        _req: google_cloud_longrunning::model::ListOperationsRequest,
2308        _options: crate::RequestOptions,
2309    ) -> impl std::future::Future<
2310        Output = crate::Result<
2311            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
2312        >,
2313    > + Send {
2314        gaxi::unimplemented::unimplemented_stub()
2315    }
2316
2317    /// Implements [super::client::UserEventService::get_operation].
2318    fn get_operation(
2319        &self,
2320        _req: google_cloud_longrunning::model::GetOperationRequest,
2321        _options: crate::RequestOptions,
2322    ) -> impl std::future::Future<
2323        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2324    > + Send {
2325        gaxi::unimplemented::unimplemented_stub()
2326    }
2327
2328    /// Implements [super::client::UserEventService::cancel_operation].
2329    fn cancel_operation(
2330        &self,
2331        _req: google_cloud_longrunning::model::CancelOperationRequest,
2332        _options: crate::RequestOptions,
2333    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
2334        gaxi::unimplemented::unimplemented_stub()
2335    }
2336
2337    /// Returns the polling error policy.
2338    ///
2339    /// When mocking, this method is typically irrelevant. Do not try to verify
2340    /// it is called by your mocks.
2341    fn get_polling_error_policy(
2342        &self,
2343        _options: &crate::RequestOptions,
2344    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
2345        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
2346    }
2347
2348    /// Returns the polling backoff policy.
2349    ///
2350    /// When mocking, this method is typically irrelevant. Do not try to verify
2351    /// it is called by your mocks.
2352    fn get_polling_backoff_policy(
2353        &self,
2354        _options: &crate::RequestOptions,
2355    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
2356        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
2357    }
2358
2359    #[doc(hidden)]
2360    /// Returns the poller options.
2361    ///
2362    /// When mocking, this method is typically irrelevant. Do not try to verify
2363    /// it is called by your mocks.
2364    fn get_poller_options(
2365        &self,
2366        _options: &crate::RequestOptions,
2367    ) -> google_cloud_lro::PollerOptions {
2368        google_cloud_lro::PollerOptions::default()
2369    }
2370}
2371
2372/// Defines the trait used to implement [super::client::UserLicenseService].
2373///
2374/// Application developers may need to implement this trait to mock
2375/// `client::UserLicenseService`.  In other use-cases, application developers only
2376/// use `client::UserLicenseService` and need not be concerned with this trait or
2377/// its implementations.
2378///
2379/// Services gain new RPCs routinely. Consequently, this trait gains new methods
2380/// too. To avoid breaking applications the trait provides a default
2381/// implementation of each method. Most of these implementations just return an
2382/// error.
2383#[cfg(feature = "user-license-service")]
2384#[cfg_attr(docsrs, doc(cfg(feature = "user-license-service")))]
2385pub trait UserLicenseService: std::fmt::Debug + Send + Sync {
2386    /// Implements [super::client::UserLicenseService::list_user_licenses].
2387    fn list_user_licenses(
2388        &self,
2389        _req: crate::model::ListUserLicensesRequest,
2390        _options: crate::RequestOptions,
2391    ) -> impl std::future::Future<
2392        Output = crate::Result<crate::Response<crate::model::ListUserLicensesResponse>>,
2393    > + Send {
2394        gaxi::unimplemented::unimplemented_stub()
2395    }
2396
2397    /// Implements [super::client::UserLicenseService::batch_update_user_licenses].
2398    fn batch_update_user_licenses(
2399        &self,
2400        _req: crate::model::BatchUpdateUserLicensesRequest,
2401        _options: crate::RequestOptions,
2402    ) -> impl std::future::Future<
2403        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2404    > + Send {
2405        gaxi::unimplemented::unimplemented_stub()
2406    }
2407
2408    /// Implements [super::client::UserLicenseService::list_operations].
2409    fn list_operations(
2410        &self,
2411        _req: google_cloud_longrunning::model::ListOperationsRequest,
2412        _options: crate::RequestOptions,
2413    ) -> impl std::future::Future<
2414        Output = crate::Result<
2415            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
2416        >,
2417    > + Send {
2418        gaxi::unimplemented::unimplemented_stub()
2419    }
2420
2421    /// Implements [super::client::UserLicenseService::get_operation].
2422    fn get_operation(
2423        &self,
2424        _req: google_cloud_longrunning::model::GetOperationRequest,
2425        _options: crate::RequestOptions,
2426    ) -> impl std::future::Future<
2427        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2428    > + Send {
2429        gaxi::unimplemented::unimplemented_stub()
2430    }
2431
2432    /// Implements [super::client::UserLicenseService::cancel_operation].
2433    fn cancel_operation(
2434        &self,
2435        _req: google_cloud_longrunning::model::CancelOperationRequest,
2436        _options: crate::RequestOptions,
2437    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
2438        gaxi::unimplemented::unimplemented_stub()
2439    }
2440
2441    /// Returns the polling error policy.
2442    ///
2443    /// When mocking, this method is typically irrelevant. Do not try to verify
2444    /// it is called by your mocks.
2445    fn get_polling_error_policy(
2446        &self,
2447        _options: &crate::RequestOptions,
2448    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
2449        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
2450    }
2451
2452    /// Returns the polling backoff policy.
2453    ///
2454    /// When mocking, this method is typically irrelevant. Do not try to verify
2455    /// it is called by your mocks.
2456    fn get_polling_backoff_policy(
2457        &self,
2458        _options: &crate::RequestOptions,
2459    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
2460        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
2461    }
2462
2463    #[doc(hidden)]
2464    /// Returns the poller options.
2465    ///
2466    /// When mocking, this method is typically irrelevant. Do not try to verify
2467    /// it is called by your mocks.
2468    fn get_poller_options(
2469        &self,
2470        _options: &crate::RequestOptions,
2471    ) -> google_cloud_lro::PollerOptions {
2472        google_cloud_lro::PollerOptions::default()
2473    }
2474}