1#![allow(rustdoc::broken_intra_doc_links)]
26
27pub(crate) mod dynamic;
28
29#[cfg(feature = "assistant-service")]
41#[cfg_attr(docsrs, doc(cfg(feature = "assistant-service")))]
42pub trait AssistantService: std::fmt::Debug + Send + Sync {
43 fn list_operations(
45 &self,
46 _req: google_cloud_longrunning::model::ListOperationsRequest,
47 _options: crate::RequestOptions,
48 ) -> impl std::future::Future<
49 Output = crate::Result<
50 crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
51 >,
52 > + Send {
53 gaxi::unimplemented::unimplemented_stub()
54 }
55
56 fn get_operation(
58 &self,
59 _req: google_cloud_longrunning::model::GetOperationRequest,
60 _options: crate::RequestOptions,
61 ) -> impl std::future::Future<
62 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
63 > + Send {
64 gaxi::unimplemented::unimplemented_stub()
65 }
66
67 fn cancel_operation(
69 &self,
70 _req: google_cloud_longrunning::model::CancelOperationRequest,
71 _options: crate::RequestOptions,
72 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
73 gaxi::unimplemented::unimplemented_stub()
74 }
75}
76
77#[cfg(feature = "cmek-config-service")]
89#[cfg_attr(docsrs, doc(cfg(feature = "cmek-config-service")))]
90pub trait CmekConfigService: std::fmt::Debug + Send + Sync {
91 fn update_cmek_config(
93 &self,
94 _req: crate::model::UpdateCmekConfigRequest,
95 _options: crate::RequestOptions,
96 ) -> impl std::future::Future<
97 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
98 > + Send {
99 gaxi::unimplemented::unimplemented_stub()
100 }
101
102 fn get_cmek_config(
104 &self,
105 _req: crate::model::GetCmekConfigRequest,
106 _options: crate::RequestOptions,
107 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::CmekConfig>>> + Send
108 {
109 gaxi::unimplemented::unimplemented_stub()
110 }
111
112 fn list_cmek_configs(
114 &self,
115 _req: crate::model::ListCmekConfigsRequest,
116 _options: crate::RequestOptions,
117 ) -> impl std::future::Future<
118 Output = crate::Result<crate::Response<crate::model::ListCmekConfigsResponse>>,
119 > + Send {
120 gaxi::unimplemented::unimplemented_stub()
121 }
122
123 fn delete_cmek_config(
125 &self,
126 _req: crate::model::DeleteCmekConfigRequest,
127 _options: crate::RequestOptions,
128 ) -> impl std::future::Future<
129 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
130 > + Send {
131 gaxi::unimplemented::unimplemented_stub()
132 }
133
134 fn list_operations(
136 &self,
137 _req: google_cloud_longrunning::model::ListOperationsRequest,
138 _options: crate::RequestOptions,
139 ) -> impl std::future::Future<
140 Output = crate::Result<
141 crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
142 >,
143 > + Send {
144 gaxi::unimplemented::unimplemented_stub()
145 }
146
147 fn get_operation(
149 &self,
150 _req: google_cloud_longrunning::model::GetOperationRequest,
151 _options: crate::RequestOptions,
152 ) -> impl std::future::Future<
153 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
154 > + Send {
155 gaxi::unimplemented::unimplemented_stub()
156 }
157
158 fn cancel_operation(
160 &self,
161 _req: google_cloud_longrunning::model::CancelOperationRequest,
162 _options: crate::RequestOptions,
163 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
164 gaxi::unimplemented::unimplemented_stub()
165 }
166
167 fn get_polling_error_policy(
172 &self,
173 _options: &crate::RequestOptions,
174 ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
175 std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
176 }
177
178 fn get_polling_backoff_policy(
183 &self,
184 _options: &crate::RequestOptions,
185 ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
186 std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
187 }
188
189 #[doc(hidden)]
190 fn get_poller_options(
195 &self,
196 _options: &crate::RequestOptions,
197 ) -> google_cloud_lro::PollerOptions {
198 google_cloud_lro::PollerOptions::default()
199 }
200}
201
202#[cfg(feature = "completion-service")]
214#[cfg_attr(docsrs, doc(cfg(feature = "completion-service")))]
215pub trait CompletionService: std::fmt::Debug + Send + Sync {
216 fn complete_query(
218 &self,
219 _req: crate::model::CompleteQueryRequest,
220 _options: crate::RequestOptions,
221 ) -> impl std::future::Future<
222 Output = crate::Result<crate::Response<crate::model::CompleteQueryResponse>>,
223 > + Send {
224 gaxi::unimplemented::unimplemented_stub()
225 }
226
227 fn import_suggestion_deny_list_entries(
229 &self,
230 _req: crate::model::ImportSuggestionDenyListEntriesRequest,
231 _options: crate::RequestOptions,
232 ) -> impl std::future::Future<
233 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
234 > + Send {
235 gaxi::unimplemented::unimplemented_stub()
236 }
237
238 fn purge_suggestion_deny_list_entries(
240 &self,
241 _req: crate::model::PurgeSuggestionDenyListEntriesRequest,
242 _options: crate::RequestOptions,
243 ) -> impl std::future::Future<
244 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
245 > + Send {
246 gaxi::unimplemented::unimplemented_stub()
247 }
248
249 fn import_completion_suggestions(
251 &self,
252 _req: crate::model::ImportCompletionSuggestionsRequest,
253 _options: crate::RequestOptions,
254 ) -> impl std::future::Future<
255 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
256 > + Send {
257 gaxi::unimplemented::unimplemented_stub()
258 }
259
260 fn purge_completion_suggestions(
262 &self,
263 _req: crate::model::PurgeCompletionSuggestionsRequest,
264 _options: crate::RequestOptions,
265 ) -> impl std::future::Future<
266 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
267 > + Send {
268 gaxi::unimplemented::unimplemented_stub()
269 }
270
271 fn list_operations(
273 &self,
274 _req: google_cloud_longrunning::model::ListOperationsRequest,
275 _options: crate::RequestOptions,
276 ) -> impl std::future::Future<
277 Output = crate::Result<
278 crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
279 >,
280 > + Send {
281 gaxi::unimplemented::unimplemented_stub()
282 }
283
284 fn get_operation(
286 &self,
287 _req: google_cloud_longrunning::model::GetOperationRequest,
288 _options: crate::RequestOptions,
289 ) -> impl std::future::Future<
290 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
291 > + Send {
292 gaxi::unimplemented::unimplemented_stub()
293 }
294
295 fn cancel_operation(
297 &self,
298 _req: google_cloud_longrunning::model::CancelOperationRequest,
299 _options: crate::RequestOptions,
300 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
301 gaxi::unimplemented::unimplemented_stub()
302 }
303
304 fn get_polling_error_policy(
309 &self,
310 _options: &crate::RequestOptions,
311 ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
312 std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
313 }
314
315 fn get_polling_backoff_policy(
320 &self,
321 _options: &crate::RequestOptions,
322 ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
323 std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
324 }
325
326 #[doc(hidden)]
327 fn get_poller_options(
332 &self,
333 _options: &crate::RequestOptions,
334 ) -> google_cloud_lro::PollerOptions {
335 google_cloud_lro::PollerOptions::default()
336 }
337}
338
339#[cfg(feature = "control-service")]
351#[cfg_attr(docsrs, doc(cfg(feature = "control-service")))]
352pub trait ControlService: std::fmt::Debug + Send + Sync {
353 fn create_control(
355 &self,
356 _req: crate::model::CreateControlRequest,
357 _options: crate::RequestOptions,
358 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Control>>> + Send
359 {
360 gaxi::unimplemented::unimplemented_stub()
361 }
362
363 fn delete_control(
365 &self,
366 _req: crate::model::DeleteControlRequest,
367 _options: crate::RequestOptions,
368 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
369 gaxi::unimplemented::unimplemented_stub()
370 }
371
372 fn update_control(
374 &self,
375 _req: crate::model::UpdateControlRequest,
376 _options: crate::RequestOptions,
377 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Control>>> + Send
378 {
379 gaxi::unimplemented::unimplemented_stub()
380 }
381
382 fn get_control(
384 &self,
385 _req: crate::model::GetControlRequest,
386 _options: crate::RequestOptions,
387 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Control>>> + Send
388 {
389 gaxi::unimplemented::unimplemented_stub()
390 }
391
392 fn list_controls(
394 &self,
395 _req: crate::model::ListControlsRequest,
396 _options: crate::RequestOptions,
397 ) -> impl std::future::Future<
398 Output = crate::Result<crate::Response<crate::model::ListControlsResponse>>,
399 > + Send {
400 gaxi::unimplemented::unimplemented_stub()
401 }
402
403 fn list_operations(
405 &self,
406 _req: google_cloud_longrunning::model::ListOperationsRequest,
407 _options: crate::RequestOptions,
408 ) -> impl std::future::Future<
409 Output = crate::Result<
410 crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
411 >,
412 > + Send {
413 gaxi::unimplemented::unimplemented_stub()
414 }
415
416 fn get_operation(
418 &self,
419 _req: google_cloud_longrunning::model::GetOperationRequest,
420 _options: crate::RequestOptions,
421 ) -> impl std::future::Future<
422 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
423 > + Send {
424 gaxi::unimplemented::unimplemented_stub()
425 }
426
427 fn cancel_operation(
429 &self,
430 _req: google_cloud_longrunning::model::CancelOperationRequest,
431 _options: crate::RequestOptions,
432 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
433 gaxi::unimplemented::unimplemented_stub()
434 }
435}
436
437#[cfg(feature = "conversational-search-service")]
449#[cfg_attr(docsrs, doc(cfg(feature = "conversational-search-service")))]
450pub trait ConversationalSearchService: std::fmt::Debug + Send + Sync {
451 fn converse_conversation(
453 &self,
454 _req: crate::model::ConverseConversationRequest,
455 _options: crate::RequestOptions,
456 ) -> impl std::future::Future<
457 Output = crate::Result<crate::Response<crate::model::ConverseConversationResponse>>,
458 > + Send {
459 gaxi::unimplemented::unimplemented_stub()
460 }
461
462 fn create_conversation(
464 &self,
465 _req: crate::model::CreateConversationRequest,
466 _options: crate::RequestOptions,
467 ) -> impl std::future::Future<
468 Output = crate::Result<crate::Response<crate::model::Conversation>>,
469 > + Send {
470 gaxi::unimplemented::unimplemented_stub()
471 }
472
473 fn delete_conversation(
475 &self,
476 _req: crate::model::DeleteConversationRequest,
477 _options: crate::RequestOptions,
478 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
479 gaxi::unimplemented::unimplemented_stub()
480 }
481
482 fn update_conversation(
484 &self,
485 _req: crate::model::UpdateConversationRequest,
486 _options: crate::RequestOptions,
487 ) -> impl std::future::Future<
488 Output = crate::Result<crate::Response<crate::model::Conversation>>,
489 > + Send {
490 gaxi::unimplemented::unimplemented_stub()
491 }
492
493 fn get_conversation(
495 &self,
496 _req: crate::model::GetConversationRequest,
497 _options: crate::RequestOptions,
498 ) -> impl std::future::Future<
499 Output = crate::Result<crate::Response<crate::model::Conversation>>,
500 > + Send {
501 gaxi::unimplemented::unimplemented_stub()
502 }
503
504 fn list_conversations(
506 &self,
507 _req: crate::model::ListConversationsRequest,
508 _options: crate::RequestOptions,
509 ) -> impl std::future::Future<
510 Output = crate::Result<crate::Response<crate::model::ListConversationsResponse>>,
511 > + Send {
512 gaxi::unimplemented::unimplemented_stub()
513 }
514
515 fn answer_query(
517 &self,
518 _req: crate::model::AnswerQueryRequest,
519 _options: crate::RequestOptions,
520 ) -> impl std::future::Future<
521 Output = crate::Result<crate::Response<crate::model::AnswerQueryResponse>>,
522 > + Send {
523 gaxi::unimplemented::unimplemented_stub()
524 }
525
526 fn get_answer(
528 &self,
529 _req: crate::model::GetAnswerRequest,
530 _options: crate::RequestOptions,
531 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Answer>>> + Send
532 {
533 gaxi::unimplemented::unimplemented_stub()
534 }
535
536 fn create_session(
538 &self,
539 _req: crate::model::CreateSessionRequest,
540 _options: crate::RequestOptions,
541 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Session>>> + Send
542 {
543 gaxi::unimplemented::unimplemented_stub()
544 }
545
546 fn delete_session(
548 &self,
549 _req: crate::model::DeleteSessionRequest,
550 _options: crate::RequestOptions,
551 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
552 gaxi::unimplemented::unimplemented_stub()
553 }
554
555 fn update_session(
557 &self,
558 _req: crate::model::UpdateSessionRequest,
559 _options: crate::RequestOptions,
560 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Session>>> + Send
561 {
562 gaxi::unimplemented::unimplemented_stub()
563 }
564
565 fn get_session(
567 &self,
568 _req: crate::model::GetSessionRequest,
569 _options: crate::RequestOptions,
570 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Session>>> + Send
571 {
572 gaxi::unimplemented::unimplemented_stub()
573 }
574
575 fn list_sessions(
577 &self,
578 _req: crate::model::ListSessionsRequest,
579 _options: crate::RequestOptions,
580 ) -> impl std::future::Future<
581 Output = crate::Result<crate::Response<crate::model::ListSessionsResponse>>,
582 > + Send {
583 gaxi::unimplemented::unimplemented_stub()
584 }
585
586 fn list_operations(
588 &self,
589 _req: google_cloud_longrunning::model::ListOperationsRequest,
590 _options: crate::RequestOptions,
591 ) -> impl std::future::Future<
592 Output = crate::Result<
593 crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
594 >,
595 > + Send {
596 gaxi::unimplemented::unimplemented_stub()
597 }
598
599 fn get_operation(
601 &self,
602 _req: google_cloud_longrunning::model::GetOperationRequest,
603 _options: crate::RequestOptions,
604 ) -> impl std::future::Future<
605 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
606 > + Send {
607 gaxi::unimplemented::unimplemented_stub()
608 }
609
610 fn cancel_operation(
612 &self,
613 _req: google_cloud_longrunning::model::CancelOperationRequest,
614 _options: crate::RequestOptions,
615 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
616 gaxi::unimplemented::unimplemented_stub()
617 }
618}
619
620#[cfg(feature = "data-store-service")]
632#[cfg_attr(docsrs, doc(cfg(feature = "data-store-service")))]
633pub trait DataStoreService: std::fmt::Debug + Send + Sync {
634 fn create_data_store(
636 &self,
637 _req: crate::model::CreateDataStoreRequest,
638 _options: crate::RequestOptions,
639 ) -> impl std::future::Future<
640 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
641 > + Send {
642 gaxi::unimplemented::unimplemented_stub()
643 }
644
645 fn get_data_store(
647 &self,
648 _req: crate::model::GetDataStoreRequest,
649 _options: crate::RequestOptions,
650 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::DataStore>>> + Send
651 {
652 gaxi::unimplemented::unimplemented_stub()
653 }
654
655 fn list_data_stores(
657 &self,
658 _req: crate::model::ListDataStoresRequest,
659 _options: crate::RequestOptions,
660 ) -> impl std::future::Future<
661 Output = crate::Result<crate::Response<crate::model::ListDataStoresResponse>>,
662 > + Send {
663 gaxi::unimplemented::unimplemented_stub()
664 }
665
666 fn delete_data_store(
668 &self,
669 _req: crate::model::DeleteDataStoreRequest,
670 _options: crate::RequestOptions,
671 ) -> impl std::future::Future<
672 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
673 > + Send {
674 gaxi::unimplemented::unimplemented_stub()
675 }
676
677 fn update_data_store(
679 &self,
680 _req: crate::model::UpdateDataStoreRequest,
681 _options: crate::RequestOptions,
682 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::DataStore>>> + Send
683 {
684 gaxi::unimplemented::unimplemented_stub()
685 }
686
687 fn list_operations(
689 &self,
690 _req: google_cloud_longrunning::model::ListOperationsRequest,
691 _options: crate::RequestOptions,
692 ) -> impl std::future::Future<
693 Output = crate::Result<
694 crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
695 >,
696 > + Send {
697 gaxi::unimplemented::unimplemented_stub()
698 }
699
700 fn get_operation(
702 &self,
703 _req: google_cloud_longrunning::model::GetOperationRequest,
704 _options: crate::RequestOptions,
705 ) -> impl std::future::Future<
706 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
707 > + Send {
708 gaxi::unimplemented::unimplemented_stub()
709 }
710
711 fn cancel_operation(
713 &self,
714 _req: google_cloud_longrunning::model::CancelOperationRequest,
715 _options: crate::RequestOptions,
716 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
717 gaxi::unimplemented::unimplemented_stub()
718 }
719
720 fn get_polling_error_policy(
725 &self,
726 _options: &crate::RequestOptions,
727 ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
728 std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
729 }
730
731 fn get_polling_backoff_policy(
736 &self,
737 _options: &crate::RequestOptions,
738 ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
739 std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
740 }
741
742 #[doc(hidden)]
743 fn get_poller_options(
748 &self,
749 _options: &crate::RequestOptions,
750 ) -> google_cloud_lro::PollerOptions {
751 google_cloud_lro::PollerOptions::default()
752 }
753}
754
755#[cfg(feature = "document-service")]
767#[cfg_attr(docsrs, doc(cfg(feature = "document-service")))]
768pub trait DocumentService: std::fmt::Debug + Send + Sync {
769 fn get_document(
771 &self,
772 _req: crate::model::GetDocumentRequest,
773 _options: crate::RequestOptions,
774 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Document>>> + Send
775 {
776 gaxi::unimplemented::unimplemented_stub()
777 }
778
779 fn list_documents(
781 &self,
782 _req: crate::model::ListDocumentsRequest,
783 _options: crate::RequestOptions,
784 ) -> impl std::future::Future<
785 Output = crate::Result<crate::Response<crate::model::ListDocumentsResponse>>,
786 > + Send {
787 gaxi::unimplemented::unimplemented_stub()
788 }
789
790 fn create_document(
792 &self,
793 _req: crate::model::CreateDocumentRequest,
794 _options: crate::RequestOptions,
795 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Document>>> + Send
796 {
797 gaxi::unimplemented::unimplemented_stub()
798 }
799
800 fn update_document(
802 &self,
803 _req: crate::model::UpdateDocumentRequest,
804 _options: crate::RequestOptions,
805 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Document>>> + Send
806 {
807 gaxi::unimplemented::unimplemented_stub()
808 }
809
810 fn delete_document(
812 &self,
813 _req: crate::model::DeleteDocumentRequest,
814 _options: crate::RequestOptions,
815 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
816 gaxi::unimplemented::unimplemented_stub()
817 }
818
819 fn import_documents(
821 &self,
822 _req: crate::model::ImportDocumentsRequest,
823 _options: crate::RequestOptions,
824 ) -> impl std::future::Future<
825 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
826 > + Send {
827 gaxi::unimplemented::unimplemented_stub()
828 }
829
830 fn purge_documents(
832 &self,
833 _req: crate::model::PurgeDocumentsRequest,
834 _options: crate::RequestOptions,
835 ) -> impl std::future::Future<
836 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
837 > + Send {
838 gaxi::unimplemented::unimplemented_stub()
839 }
840
841 fn batch_get_documents_metadata(
843 &self,
844 _req: crate::model::BatchGetDocumentsMetadataRequest,
845 _options: crate::RequestOptions,
846 ) -> impl std::future::Future<
847 Output = crate::Result<crate::Response<crate::model::BatchGetDocumentsMetadataResponse>>,
848 > + Send {
849 gaxi::unimplemented::unimplemented_stub()
850 }
851
852 fn list_operations(
854 &self,
855 _req: google_cloud_longrunning::model::ListOperationsRequest,
856 _options: crate::RequestOptions,
857 ) -> impl std::future::Future<
858 Output = crate::Result<
859 crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
860 >,
861 > + Send {
862 gaxi::unimplemented::unimplemented_stub()
863 }
864
865 fn get_operation(
867 &self,
868 _req: google_cloud_longrunning::model::GetOperationRequest,
869 _options: crate::RequestOptions,
870 ) -> impl std::future::Future<
871 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
872 > + Send {
873 gaxi::unimplemented::unimplemented_stub()
874 }
875
876 fn cancel_operation(
878 &self,
879 _req: google_cloud_longrunning::model::CancelOperationRequest,
880 _options: crate::RequestOptions,
881 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
882 gaxi::unimplemented::unimplemented_stub()
883 }
884
885 fn get_polling_error_policy(
890 &self,
891 _options: &crate::RequestOptions,
892 ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
893 std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
894 }
895
896 fn get_polling_backoff_policy(
901 &self,
902 _options: &crate::RequestOptions,
903 ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
904 std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
905 }
906
907 #[doc(hidden)]
908 fn get_poller_options(
913 &self,
914 _options: &crate::RequestOptions,
915 ) -> google_cloud_lro::PollerOptions {
916 google_cloud_lro::PollerOptions::default()
917 }
918}
919
920#[cfg(feature = "engine-service")]
932#[cfg_attr(docsrs, doc(cfg(feature = "engine-service")))]
933pub trait EngineService: std::fmt::Debug + Send + Sync {
934 fn create_engine(
936 &self,
937 _req: crate::model::CreateEngineRequest,
938 _options: crate::RequestOptions,
939 ) -> impl std::future::Future<
940 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
941 > + Send {
942 gaxi::unimplemented::unimplemented_stub()
943 }
944
945 fn delete_engine(
947 &self,
948 _req: crate::model::DeleteEngineRequest,
949 _options: crate::RequestOptions,
950 ) -> impl std::future::Future<
951 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
952 > + Send {
953 gaxi::unimplemented::unimplemented_stub()
954 }
955
956 fn update_engine(
958 &self,
959 _req: crate::model::UpdateEngineRequest,
960 _options: crate::RequestOptions,
961 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Engine>>> + Send
962 {
963 gaxi::unimplemented::unimplemented_stub()
964 }
965
966 fn get_engine(
968 &self,
969 _req: crate::model::GetEngineRequest,
970 _options: crate::RequestOptions,
971 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Engine>>> + Send
972 {
973 gaxi::unimplemented::unimplemented_stub()
974 }
975
976 fn list_engines(
978 &self,
979 _req: crate::model::ListEnginesRequest,
980 _options: crate::RequestOptions,
981 ) -> impl std::future::Future<
982 Output = crate::Result<crate::Response<crate::model::ListEnginesResponse>>,
983 > + Send {
984 gaxi::unimplemented::unimplemented_stub()
985 }
986
987 fn list_operations(
989 &self,
990 _req: google_cloud_longrunning::model::ListOperationsRequest,
991 _options: crate::RequestOptions,
992 ) -> impl std::future::Future<
993 Output = crate::Result<
994 crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
995 >,
996 > + Send {
997 gaxi::unimplemented::unimplemented_stub()
998 }
999
1000 fn get_operation(
1002 &self,
1003 _req: google_cloud_longrunning::model::GetOperationRequest,
1004 _options: crate::RequestOptions,
1005 ) -> impl std::future::Future<
1006 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1007 > + Send {
1008 gaxi::unimplemented::unimplemented_stub()
1009 }
1010
1011 fn cancel_operation(
1013 &self,
1014 _req: google_cloud_longrunning::model::CancelOperationRequest,
1015 _options: crate::RequestOptions,
1016 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1017 gaxi::unimplemented::unimplemented_stub()
1018 }
1019
1020 fn get_polling_error_policy(
1025 &self,
1026 _options: &crate::RequestOptions,
1027 ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
1028 std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
1029 }
1030
1031 fn get_polling_backoff_policy(
1036 &self,
1037 _options: &crate::RequestOptions,
1038 ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
1039 std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
1040 }
1041
1042 #[doc(hidden)]
1043 fn get_poller_options(
1048 &self,
1049 _options: &crate::RequestOptions,
1050 ) -> google_cloud_lro::PollerOptions {
1051 google_cloud_lro::PollerOptions::default()
1052 }
1053}
1054
1055#[cfg(feature = "grounded-generation-service")]
1067#[cfg_attr(docsrs, doc(cfg(feature = "grounded-generation-service")))]
1068pub trait GroundedGenerationService: std::fmt::Debug + Send + Sync {
1069 fn generate_grounded_content(
1071 &self,
1072 _req: crate::model::GenerateGroundedContentRequest,
1073 _options: crate::RequestOptions,
1074 ) -> impl std::future::Future<
1075 Output = crate::Result<crate::Response<crate::model::GenerateGroundedContentResponse>>,
1076 > + Send {
1077 gaxi::unimplemented::unimplemented_stub()
1078 }
1079
1080 fn check_grounding(
1082 &self,
1083 _req: crate::model::CheckGroundingRequest,
1084 _options: crate::RequestOptions,
1085 ) -> impl std::future::Future<
1086 Output = crate::Result<crate::Response<crate::model::CheckGroundingResponse>>,
1087 > + Send {
1088 gaxi::unimplemented::unimplemented_stub()
1089 }
1090
1091 fn list_operations(
1093 &self,
1094 _req: google_cloud_longrunning::model::ListOperationsRequest,
1095 _options: crate::RequestOptions,
1096 ) -> impl std::future::Future<
1097 Output = crate::Result<
1098 crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1099 >,
1100 > + Send {
1101 gaxi::unimplemented::unimplemented_stub()
1102 }
1103
1104 fn get_operation(
1106 &self,
1107 _req: google_cloud_longrunning::model::GetOperationRequest,
1108 _options: crate::RequestOptions,
1109 ) -> impl std::future::Future<
1110 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1111 > + Send {
1112 gaxi::unimplemented::unimplemented_stub()
1113 }
1114
1115 fn cancel_operation(
1117 &self,
1118 _req: google_cloud_longrunning::model::CancelOperationRequest,
1119 _options: crate::RequestOptions,
1120 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1121 gaxi::unimplemented::unimplemented_stub()
1122 }
1123}
1124
1125#[cfg(feature = "identity-mapping-store-service")]
1137#[cfg_attr(docsrs, doc(cfg(feature = "identity-mapping-store-service")))]
1138pub trait IdentityMappingStoreService: std::fmt::Debug + Send + Sync {
1139 fn create_identity_mapping_store(
1141 &self,
1142 _req: crate::model::CreateIdentityMappingStoreRequest,
1143 _options: crate::RequestOptions,
1144 ) -> impl std::future::Future<
1145 Output = crate::Result<crate::Response<crate::model::IdentityMappingStore>>,
1146 > + Send {
1147 gaxi::unimplemented::unimplemented_stub()
1148 }
1149
1150 fn get_identity_mapping_store(
1152 &self,
1153 _req: crate::model::GetIdentityMappingStoreRequest,
1154 _options: crate::RequestOptions,
1155 ) -> impl std::future::Future<
1156 Output = crate::Result<crate::Response<crate::model::IdentityMappingStore>>,
1157 > + Send {
1158 gaxi::unimplemented::unimplemented_stub()
1159 }
1160
1161 fn delete_identity_mapping_store(
1163 &self,
1164 _req: crate::model::DeleteIdentityMappingStoreRequest,
1165 _options: crate::RequestOptions,
1166 ) -> impl std::future::Future<
1167 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1168 > + Send {
1169 gaxi::unimplemented::unimplemented_stub()
1170 }
1171
1172 fn import_identity_mappings(
1174 &self,
1175 _req: crate::model::ImportIdentityMappingsRequest,
1176 _options: crate::RequestOptions,
1177 ) -> impl std::future::Future<
1178 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1179 > + Send {
1180 gaxi::unimplemented::unimplemented_stub()
1181 }
1182
1183 fn purge_identity_mappings(
1185 &self,
1186 _req: crate::model::PurgeIdentityMappingsRequest,
1187 _options: crate::RequestOptions,
1188 ) -> impl std::future::Future<
1189 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1190 > + Send {
1191 gaxi::unimplemented::unimplemented_stub()
1192 }
1193
1194 fn list_identity_mappings(
1196 &self,
1197 _req: crate::model::ListIdentityMappingsRequest,
1198 _options: crate::RequestOptions,
1199 ) -> impl std::future::Future<
1200 Output = crate::Result<crate::Response<crate::model::ListIdentityMappingsResponse>>,
1201 > + Send {
1202 gaxi::unimplemented::unimplemented_stub()
1203 }
1204
1205 fn list_identity_mapping_stores(
1207 &self,
1208 _req: crate::model::ListIdentityMappingStoresRequest,
1209 _options: crate::RequestOptions,
1210 ) -> impl std::future::Future<
1211 Output = crate::Result<crate::Response<crate::model::ListIdentityMappingStoresResponse>>,
1212 > + Send {
1213 gaxi::unimplemented::unimplemented_stub()
1214 }
1215
1216 fn list_operations(
1218 &self,
1219 _req: google_cloud_longrunning::model::ListOperationsRequest,
1220 _options: crate::RequestOptions,
1221 ) -> impl std::future::Future<
1222 Output = crate::Result<
1223 crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1224 >,
1225 > + Send {
1226 gaxi::unimplemented::unimplemented_stub()
1227 }
1228
1229 fn get_operation(
1231 &self,
1232 _req: google_cloud_longrunning::model::GetOperationRequest,
1233 _options: crate::RequestOptions,
1234 ) -> impl std::future::Future<
1235 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1236 > + Send {
1237 gaxi::unimplemented::unimplemented_stub()
1238 }
1239
1240 fn cancel_operation(
1242 &self,
1243 _req: google_cloud_longrunning::model::CancelOperationRequest,
1244 _options: crate::RequestOptions,
1245 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1246 gaxi::unimplemented::unimplemented_stub()
1247 }
1248
1249 fn get_polling_error_policy(
1254 &self,
1255 _options: &crate::RequestOptions,
1256 ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
1257 std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
1258 }
1259
1260 fn get_polling_backoff_policy(
1265 &self,
1266 _options: &crate::RequestOptions,
1267 ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
1268 std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
1269 }
1270
1271 #[doc(hidden)]
1272 fn get_poller_options(
1277 &self,
1278 _options: &crate::RequestOptions,
1279 ) -> google_cloud_lro::PollerOptions {
1280 google_cloud_lro::PollerOptions::default()
1281 }
1282}
1283
1284#[cfg(feature = "project-service")]
1296#[cfg_attr(docsrs, doc(cfg(feature = "project-service")))]
1297pub trait ProjectService: std::fmt::Debug + Send + Sync {
1298 fn provision_project(
1300 &self,
1301 _req: crate::model::ProvisionProjectRequest,
1302 _options: crate::RequestOptions,
1303 ) -> impl std::future::Future<
1304 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1305 > + Send {
1306 gaxi::unimplemented::unimplemented_stub()
1307 }
1308
1309 fn list_operations(
1311 &self,
1312 _req: google_cloud_longrunning::model::ListOperationsRequest,
1313 _options: crate::RequestOptions,
1314 ) -> impl std::future::Future<
1315 Output = crate::Result<
1316 crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1317 >,
1318 > + Send {
1319 gaxi::unimplemented::unimplemented_stub()
1320 }
1321
1322 fn get_operation(
1324 &self,
1325 _req: google_cloud_longrunning::model::GetOperationRequest,
1326 _options: crate::RequestOptions,
1327 ) -> impl std::future::Future<
1328 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1329 > + Send {
1330 gaxi::unimplemented::unimplemented_stub()
1331 }
1332
1333 fn cancel_operation(
1335 &self,
1336 _req: google_cloud_longrunning::model::CancelOperationRequest,
1337 _options: crate::RequestOptions,
1338 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1339 gaxi::unimplemented::unimplemented_stub()
1340 }
1341
1342 fn get_polling_error_policy(
1347 &self,
1348 _options: &crate::RequestOptions,
1349 ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
1350 std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
1351 }
1352
1353 fn get_polling_backoff_policy(
1358 &self,
1359 _options: &crate::RequestOptions,
1360 ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
1361 std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
1362 }
1363
1364 #[doc(hidden)]
1365 fn get_poller_options(
1370 &self,
1371 _options: &crate::RequestOptions,
1372 ) -> google_cloud_lro::PollerOptions {
1373 google_cloud_lro::PollerOptions::default()
1374 }
1375}
1376
1377#[cfg(feature = "rank-service")]
1389#[cfg_attr(docsrs, doc(cfg(feature = "rank-service")))]
1390pub trait RankService: std::fmt::Debug + Send + Sync {
1391 fn rank(
1393 &self,
1394 _req: crate::model::RankRequest,
1395 _options: crate::RequestOptions,
1396 ) -> impl std::future::Future<
1397 Output = crate::Result<crate::Response<crate::model::RankResponse>>,
1398 > + Send {
1399 gaxi::unimplemented::unimplemented_stub()
1400 }
1401
1402 fn list_operations(
1404 &self,
1405 _req: google_cloud_longrunning::model::ListOperationsRequest,
1406 _options: crate::RequestOptions,
1407 ) -> impl std::future::Future<
1408 Output = crate::Result<
1409 crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1410 >,
1411 > + Send {
1412 gaxi::unimplemented::unimplemented_stub()
1413 }
1414
1415 fn get_operation(
1417 &self,
1418 _req: google_cloud_longrunning::model::GetOperationRequest,
1419 _options: crate::RequestOptions,
1420 ) -> impl std::future::Future<
1421 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1422 > + Send {
1423 gaxi::unimplemented::unimplemented_stub()
1424 }
1425
1426 fn cancel_operation(
1428 &self,
1429 _req: google_cloud_longrunning::model::CancelOperationRequest,
1430 _options: crate::RequestOptions,
1431 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1432 gaxi::unimplemented::unimplemented_stub()
1433 }
1434}
1435
1436#[cfg(feature = "recommendation-service")]
1448#[cfg_attr(docsrs, doc(cfg(feature = "recommendation-service")))]
1449pub trait RecommendationService: std::fmt::Debug + Send + Sync {
1450 fn recommend(
1452 &self,
1453 _req: crate::model::RecommendRequest,
1454 _options: crate::RequestOptions,
1455 ) -> impl std::future::Future<
1456 Output = crate::Result<crate::Response<crate::model::RecommendResponse>>,
1457 > + Send {
1458 gaxi::unimplemented::unimplemented_stub()
1459 }
1460
1461 fn list_operations(
1463 &self,
1464 _req: google_cloud_longrunning::model::ListOperationsRequest,
1465 _options: crate::RequestOptions,
1466 ) -> impl std::future::Future<
1467 Output = crate::Result<
1468 crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1469 >,
1470 > + Send {
1471 gaxi::unimplemented::unimplemented_stub()
1472 }
1473
1474 fn get_operation(
1476 &self,
1477 _req: google_cloud_longrunning::model::GetOperationRequest,
1478 _options: crate::RequestOptions,
1479 ) -> impl std::future::Future<
1480 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1481 > + Send {
1482 gaxi::unimplemented::unimplemented_stub()
1483 }
1484
1485 fn cancel_operation(
1487 &self,
1488 _req: google_cloud_longrunning::model::CancelOperationRequest,
1489 _options: crate::RequestOptions,
1490 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1491 gaxi::unimplemented::unimplemented_stub()
1492 }
1493}
1494
1495#[cfg(feature = "schema-service")]
1507#[cfg_attr(docsrs, doc(cfg(feature = "schema-service")))]
1508pub trait SchemaService: std::fmt::Debug + Send + Sync {
1509 fn get_schema(
1511 &self,
1512 _req: crate::model::GetSchemaRequest,
1513 _options: crate::RequestOptions,
1514 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Schema>>> + Send
1515 {
1516 gaxi::unimplemented::unimplemented_stub()
1517 }
1518
1519 fn list_schemas(
1521 &self,
1522 _req: crate::model::ListSchemasRequest,
1523 _options: crate::RequestOptions,
1524 ) -> impl std::future::Future<
1525 Output = crate::Result<crate::Response<crate::model::ListSchemasResponse>>,
1526 > + Send {
1527 gaxi::unimplemented::unimplemented_stub()
1528 }
1529
1530 fn create_schema(
1532 &self,
1533 _req: crate::model::CreateSchemaRequest,
1534 _options: crate::RequestOptions,
1535 ) -> impl std::future::Future<
1536 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1537 > + Send {
1538 gaxi::unimplemented::unimplemented_stub()
1539 }
1540
1541 fn update_schema(
1543 &self,
1544 _req: crate::model::UpdateSchemaRequest,
1545 _options: crate::RequestOptions,
1546 ) -> impl std::future::Future<
1547 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1548 > + Send {
1549 gaxi::unimplemented::unimplemented_stub()
1550 }
1551
1552 fn delete_schema(
1554 &self,
1555 _req: crate::model::DeleteSchemaRequest,
1556 _options: crate::RequestOptions,
1557 ) -> impl std::future::Future<
1558 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1559 > + Send {
1560 gaxi::unimplemented::unimplemented_stub()
1561 }
1562
1563 fn list_operations(
1565 &self,
1566 _req: google_cloud_longrunning::model::ListOperationsRequest,
1567 _options: crate::RequestOptions,
1568 ) -> impl std::future::Future<
1569 Output = crate::Result<
1570 crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1571 >,
1572 > + Send {
1573 gaxi::unimplemented::unimplemented_stub()
1574 }
1575
1576 fn get_operation(
1578 &self,
1579 _req: google_cloud_longrunning::model::GetOperationRequest,
1580 _options: crate::RequestOptions,
1581 ) -> impl std::future::Future<
1582 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1583 > + Send {
1584 gaxi::unimplemented::unimplemented_stub()
1585 }
1586
1587 fn cancel_operation(
1589 &self,
1590 _req: google_cloud_longrunning::model::CancelOperationRequest,
1591 _options: crate::RequestOptions,
1592 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1593 gaxi::unimplemented::unimplemented_stub()
1594 }
1595
1596 fn get_polling_error_policy(
1601 &self,
1602 _options: &crate::RequestOptions,
1603 ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
1604 std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
1605 }
1606
1607 fn get_polling_backoff_policy(
1612 &self,
1613 _options: &crate::RequestOptions,
1614 ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
1615 std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
1616 }
1617
1618 #[doc(hidden)]
1619 fn get_poller_options(
1624 &self,
1625 _options: &crate::RequestOptions,
1626 ) -> google_cloud_lro::PollerOptions {
1627 google_cloud_lro::PollerOptions::default()
1628 }
1629}
1630
1631#[cfg(feature = "search-service")]
1643#[cfg_attr(docsrs, doc(cfg(feature = "search-service")))]
1644pub trait SearchService: std::fmt::Debug + Send + Sync {
1645 fn search(
1647 &self,
1648 _req: crate::model::SearchRequest,
1649 _options: crate::RequestOptions,
1650 ) -> impl std::future::Future<
1651 Output = crate::Result<crate::Response<crate::model::SearchResponse>>,
1652 > + Send {
1653 gaxi::unimplemented::unimplemented_stub()
1654 }
1655
1656 fn search_lite(
1658 &self,
1659 _req: crate::model::SearchRequest,
1660 _options: crate::RequestOptions,
1661 ) -> impl std::future::Future<
1662 Output = crate::Result<crate::Response<crate::model::SearchResponse>>,
1663 > + Send {
1664 gaxi::unimplemented::unimplemented_stub()
1665 }
1666
1667 fn list_operations(
1669 &self,
1670 _req: google_cloud_longrunning::model::ListOperationsRequest,
1671 _options: crate::RequestOptions,
1672 ) -> impl std::future::Future<
1673 Output = crate::Result<
1674 crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1675 >,
1676 > + Send {
1677 gaxi::unimplemented::unimplemented_stub()
1678 }
1679
1680 fn get_operation(
1682 &self,
1683 _req: google_cloud_longrunning::model::GetOperationRequest,
1684 _options: crate::RequestOptions,
1685 ) -> impl std::future::Future<
1686 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1687 > + Send {
1688 gaxi::unimplemented::unimplemented_stub()
1689 }
1690
1691 fn cancel_operation(
1693 &self,
1694 _req: google_cloud_longrunning::model::CancelOperationRequest,
1695 _options: crate::RequestOptions,
1696 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1697 gaxi::unimplemented::unimplemented_stub()
1698 }
1699}
1700
1701#[cfg(feature = "search-tuning-service")]
1713#[cfg_attr(docsrs, doc(cfg(feature = "search-tuning-service")))]
1714pub trait SearchTuningService: std::fmt::Debug + Send + Sync {
1715 fn train_custom_model(
1717 &self,
1718 _req: crate::model::TrainCustomModelRequest,
1719 _options: crate::RequestOptions,
1720 ) -> impl std::future::Future<
1721 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1722 > + Send {
1723 gaxi::unimplemented::unimplemented_stub()
1724 }
1725
1726 fn list_custom_models(
1728 &self,
1729 _req: crate::model::ListCustomModelsRequest,
1730 _options: crate::RequestOptions,
1731 ) -> impl std::future::Future<
1732 Output = crate::Result<crate::Response<crate::model::ListCustomModelsResponse>>,
1733 > + Send {
1734 gaxi::unimplemented::unimplemented_stub()
1735 }
1736
1737 fn list_operations(
1739 &self,
1740 _req: google_cloud_longrunning::model::ListOperationsRequest,
1741 _options: crate::RequestOptions,
1742 ) -> impl std::future::Future<
1743 Output = crate::Result<
1744 crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1745 >,
1746 > + Send {
1747 gaxi::unimplemented::unimplemented_stub()
1748 }
1749
1750 fn get_operation(
1752 &self,
1753 _req: google_cloud_longrunning::model::GetOperationRequest,
1754 _options: crate::RequestOptions,
1755 ) -> impl std::future::Future<
1756 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1757 > + Send {
1758 gaxi::unimplemented::unimplemented_stub()
1759 }
1760
1761 fn cancel_operation(
1763 &self,
1764 _req: google_cloud_longrunning::model::CancelOperationRequest,
1765 _options: crate::RequestOptions,
1766 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1767 gaxi::unimplemented::unimplemented_stub()
1768 }
1769
1770 fn get_polling_error_policy(
1775 &self,
1776 _options: &crate::RequestOptions,
1777 ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
1778 std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
1779 }
1780
1781 fn get_polling_backoff_policy(
1786 &self,
1787 _options: &crate::RequestOptions,
1788 ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
1789 std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
1790 }
1791
1792 #[doc(hidden)]
1793 fn get_poller_options(
1798 &self,
1799 _options: &crate::RequestOptions,
1800 ) -> google_cloud_lro::PollerOptions {
1801 google_cloud_lro::PollerOptions::default()
1802 }
1803}
1804
1805#[cfg(feature = "serving-config-service")]
1817#[cfg_attr(docsrs, doc(cfg(feature = "serving-config-service")))]
1818pub trait ServingConfigService: std::fmt::Debug + Send + Sync {
1819 fn update_serving_config(
1821 &self,
1822 _req: crate::model::UpdateServingConfigRequest,
1823 _options: crate::RequestOptions,
1824 ) -> impl std::future::Future<
1825 Output = crate::Result<crate::Response<crate::model::ServingConfig>>,
1826 > + Send {
1827 gaxi::unimplemented::unimplemented_stub()
1828 }
1829
1830 fn list_operations(
1832 &self,
1833 _req: google_cloud_longrunning::model::ListOperationsRequest,
1834 _options: crate::RequestOptions,
1835 ) -> impl std::future::Future<
1836 Output = crate::Result<
1837 crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1838 >,
1839 > + Send {
1840 gaxi::unimplemented::unimplemented_stub()
1841 }
1842
1843 fn get_operation(
1845 &self,
1846 _req: google_cloud_longrunning::model::GetOperationRequest,
1847 _options: crate::RequestOptions,
1848 ) -> impl std::future::Future<
1849 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1850 > + Send {
1851 gaxi::unimplemented::unimplemented_stub()
1852 }
1853
1854 fn cancel_operation(
1856 &self,
1857 _req: google_cloud_longrunning::model::CancelOperationRequest,
1858 _options: crate::RequestOptions,
1859 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1860 gaxi::unimplemented::unimplemented_stub()
1861 }
1862}
1863
1864#[cfg(feature = "session-service")]
1876#[cfg_attr(docsrs, doc(cfg(feature = "session-service")))]
1877pub trait SessionService: std::fmt::Debug + Send + Sync {
1878 fn create_session(
1880 &self,
1881 _req: crate::model::CreateSessionRequest,
1882 _options: crate::RequestOptions,
1883 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Session>>> + Send
1884 {
1885 gaxi::unimplemented::unimplemented_stub()
1886 }
1887
1888 fn delete_session(
1890 &self,
1891 _req: crate::model::DeleteSessionRequest,
1892 _options: crate::RequestOptions,
1893 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1894 gaxi::unimplemented::unimplemented_stub()
1895 }
1896
1897 fn update_session(
1899 &self,
1900 _req: crate::model::UpdateSessionRequest,
1901 _options: crate::RequestOptions,
1902 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Session>>> + Send
1903 {
1904 gaxi::unimplemented::unimplemented_stub()
1905 }
1906
1907 fn get_session(
1909 &self,
1910 _req: crate::model::GetSessionRequest,
1911 _options: crate::RequestOptions,
1912 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Session>>> + Send
1913 {
1914 gaxi::unimplemented::unimplemented_stub()
1915 }
1916
1917 fn list_sessions(
1919 &self,
1920 _req: crate::model::ListSessionsRequest,
1921 _options: crate::RequestOptions,
1922 ) -> impl std::future::Future<
1923 Output = crate::Result<crate::Response<crate::model::ListSessionsResponse>>,
1924 > + Send {
1925 gaxi::unimplemented::unimplemented_stub()
1926 }
1927
1928 fn list_operations(
1930 &self,
1931 _req: google_cloud_longrunning::model::ListOperationsRequest,
1932 _options: crate::RequestOptions,
1933 ) -> impl std::future::Future<
1934 Output = crate::Result<
1935 crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
1936 >,
1937 > + Send {
1938 gaxi::unimplemented::unimplemented_stub()
1939 }
1940
1941 fn get_operation(
1943 &self,
1944 _req: google_cloud_longrunning::model::GetOperationRequest,
1945 _options: crate::RequestOptions,
1946 ) -> impl std::future::Future<
1947 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1948 > + Send {
1949 gaxi::unimplemented::unimplemented_stub()
1950 }
1951
1952 fn cancel_operation(
1954 &self,
1955 _req: google_cloud_longrunning::model::CancelOperationRequest,
1956 _options: crate::RequestOptions,
1957 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
1958 gaxi::unimplemented::unimplemented_stub()
1959 }
1960}
1961
1962#[cfg(feature = "site-search-engine-service")]
1974#[cfg_attr(docsrs, doc(cfg(feature = "site-search-engine-service")))]
1975pub trait SiteSearchEngineService: std::fmt::Debug + Send + Sync {
1976 fn get_site_search_engine(
1978 &self,
1979 _req: crate::model::GetSiteSearchEngineRequest,
1980 _options: crate::RequestOptions,
1981 ) -> impl std::future::Future<
1982 Output = crate::Result<crate::Response<crate::model::SiteSearchEngine>>,
1983 > + Send {
1984 gaxi::unimplemented::unimplemented_stub()
1985 }
1986
1987 fn create_target_site(
1989 &self,
1990 _req: crate::model::CreateTargetSiteRequest,
1991 _options: crate::RequestOptions,
1992 ) -> impl std::future::Future<
1993 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1994 > + Send {
1995 gaxi::unimplemented::unimplemented_stub()
1996 }
1997
1998 fn batch_create_target_sites(
2000 &self,
2001 _req: crate::model::BatchCreateTargetSitesRequest,
2002 _options: crate::RequestOptions,
2003 ) -> impl std::future::Future<
2004 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2005 > + Send {
2006 gaxi::unimplemented::unimplemented_stub()
2007 }
2008
2009 fn get_target_site(
2011 &self,
2012 _req: crate::model::GetTargetSiteRequest,
2013 _options: crate::RequestOptions,
2014 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::TargetSite>>> + Send
2015 {
2016 gaxi::unimplemented::unimplemented_stub()
2017 }
2018
2019 fn update_target_site(
2021 &self,
2022 _req: crate::model::UpdateTargetSiteRequest,
2023 _options: crate::RequestOptions,
2024 ) -> impl std::future::Future<
2025 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2026 > + Send {
2027 gaxi::unimplemented::unimplemented_stub()
2028 }
2029
2030 fn delete_target_site(
2032 &self,
2033 _req: crate::model::DeleteTargetSiteRequest,
2034 _options: crate::RequestOptions,
2035 ) -> impl std::future::Future<
2036 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2037 > + Send {
2038 gaxi::unimplemented::unimplemented_stub()
2039 }
2040
2041 fn list_target_sites(
2043 &self,
2044 _req: crate::model::ListTargetSitesRequest,
2045 _options: crate::RequestOptions,
2046 ) -> impl std::future::Future<
2047 Output = crate::Result<crate::Response<crate::model::ListTargetSitesResponse>>,
2048 > + Send {
2049 gaxi::unimplemented::unimplemented_stub()
2050 }
2051
2052 fn create_sitemap(
2054 &self,
2055 _req: crate::model::CreateSitemapRequest,
2056 _options: crate::RequestOptions,
2057 ) -> impl std::future::Future<
2058 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2059 > + Send {
2060 gaxi::unimplemented::unimplemented_stub()
2061 }
2062
2063 fn delete_sitemap(
2065 &self,
2066 _req: crate::model::DeleteSitemapRequest,
2067 _options: crate::RequestOptions,
2068 ) -> impl std::future::Future<
2069 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2070 > + Send {
2071 gaxi::unimplemented::unimplemented_stub()
2072 }
2073
2074 fn fetch_sitemaps(
2076 &self,
2077 _req: crate::model::FetchSitemapsRequest,
2078 _options: crate::RequestOptions,
2079 ) -> impl std::future::Future<
2080 Output = crate::Result<crate::Response<crate::model::FetchSitemapsResponse>>,
2081 > + Send {
2082 gaxi::unimplemented::unimplemented_stub()
2083 }
2084
2085 fn enable_advanced_site_search(
2087 &self,
2088 _req: crate::model::EnableAdvancedSiteSearchRequest,
2089 _options: crate::RequestOptions,
2090 ) -> impl std::future::Future<
2091 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2092 > + Send {
2093 gaxi::unimplemented::unimplemented_stub()
2094 }
2095
2096 fn disable_advanced_site_search(
2098 &self,
2099 _req: crate::model::DisableAdvancedSiteSearchRequest,
2100 _options: crate::RequestOptions,
2101 ) -> impl std::future::Future<
2102 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2103 > + Send {
2104 gaxi::unimplemented::unimplemented_stub()
2105 }
2106
2107 fn recrawl_uris(
2109 &self,
2110 _req: crate::model::RecrawlUrisRequest,
2111 _options: crate::RequestOptions,
2112 ) -> impl std::future::Future<
2113 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2114 > + Send {
2115 gaxi::unimplemented::unimplemented_stub()
2116 }
2117
2118 fn batch_verify_target_sites(
2120 &self,
2121 _req: crate::model::BatchVerifyTargetSitesRequest,
2122 _options: crate::RequestOptions,
2123 ) -> impl std::future::Future<
2124 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2125 > + Send {
2126 gaxi::unimplemented::unimplemented_stub()
2127 }
2128
2129 fn fetch_domain_verification_status(
2131 &self,
2132 _req: crate::model::FetchDomainVerificationStatusRequest,
2133 _options: crate::RequestOptions,
2134 ) -> impl std::future::Future<
2135 Output = crate::Result<
2136 crate::Response<crate::model::FetchDomainVerificationStatusResponse>,
2137 >,
2138 > + Send {
2139 gaxi::unimplemented::unimplemented_stub()
2140 }
2141
2142 fn list_operations(
2144 &self,
2145 _req: google_cloud_longrunning::model::ListOperationsRequest,
2146 _options: crate::RequestOptions,
2147 ) -> impl std::future::Future<
2148 Output = crate::Result<
2149 crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
2150 >,
2151 > + Send {
2152 gaxi::unimplemented::unimplemented_stub()
2153 }
2154
2155 fn get_operation(
2157 &self,
2158 _req: google_cloud_longrunning::model::GetOperationRequest,
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 fn cancel_operation(
2168 &self,
2169 _req: google_cloud_longrunning::model::CancelOperationRequest,
2170 _options: crate::RequestOptions,
2171 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
2172 gaxi::unimplemented::unimplemented_stub()
2173 }
2174
2175 fn get_polling_error_policy(
2180 &self,
2181 _options: &crate::RequestOptions,
2182 ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
2183 std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
2184 }
2185
2186 fn get_polling_backoff_policy(
2191 &self,
2192 _options: &crate::RequestOptions,
2193 ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
2194 std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
2195 }
2196
2197 #[doc(hidden)]
2198 fn get_poller_options(
2203 &self,
2204 _options: &crate::RequestOptions,
2205 ) -> google_cloud_lro::PollerOptions {
2206 google_cloud_lro::PollerOptions::default()
2207 }
2208}
2209
2210#[cfg(feature = "user-event-service")]
2222#[cfg_attr(docsrs, doc(cfg(feature = "user-event-service")))]
2223pub trait UserEventService: std::fmt::Debug + Send + Sync {
2224 fn write_user_event(
2226 &self,
2227 _req: crate::model::WriteUserEventRequest,
2228 _options: crate::RequestOptions,
2229 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::UserEvent>>> + Send
2230 {
2231 gaxi::unimplemented::unimplemented_stub()
2232 }
2233
2234 fn collect_user_event(
2236 &self,
2237 _req: crate::model::CollectUserEventRequest,
2238 _options: crate::RequestOptions,
2239 ) -> impl std::future::Future<
2240 Output = crate::Result<crate::Response<google_cloud_api::model::HttpBody>>,
2241 > + Send {
2242 gaxi::unimplemented::unimplemented_stub()
2243 }
2244
2245 fn purge_user_events(
2247 &self,
2248 _req: crate::model::PurgeUserEventsRequest,
2249 _options: crate::RequestOptions,
2250 ) -> impl std::future::Future<
2251 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2252 > + Send {
2253 gaxi::unimplemented::unimplemented_stub()
2254 }
2255
2256 fn import_user_events(
2258 &self,
2259 _req: crate::model::ImportUserEventsRequest,
2260 _options: crate::RequestOptions,
2261 ) -> impl std::future::Future<
2262 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2263 > + Send {
2264 gaxi::unimplemented::unimplemented_stub()
2265 }
2266
2267 fn list_operations(
2269 &self,
2270 _req: google_cloud_longrunning::model::ListOperationsRequest,
2271 _options: crate::RequestOptions,
2272 ) -> impl std::future::Future<
2273 Output = crate::Result<
2274 crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
2275 >,
2276 > + Send {
2277 gaxi::unimplemented::unimplemented_stub()
2278 }
2279
2280 fn get_operation(
2282 &self,
2283 _req: google_cloud_longrunning::model::GetOperationRequest,
2284 _options: crate::RequestOptions,
2285 ) -> impl std::future::Future<
2286 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2287 > + Send {
2288 gaxi::unimplemented::unimplemented_stub()
2289 }
2290
2291 fn cancel_operation(
2293 &self,
2294 _req: google_cloud_longrunning::model::CancelOperationRequest,
2295 _options: crate::RequestOptions,
2296 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
2297 gaxi::unimplemented::unimplemented_stub()
2298 }
2299
2300 fn get_polling_error_policy(
2305 &self,
2306 _options: &crate::RequestOptions,
2307 ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
2308 std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
2309 }
2310
2311 fn get_polling_backoff_policy(
2316 &self,
2317 _options: &crate::RequestOptions,
2318 ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
2319 std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
2320 }
2321
2322 #[doc(hidden)]
2323 fn get_poller_options(
2328 &self,
2329 _options: &crate::RequestOptions,
2330 ) -> google_cloud_lro::PollerOptions {
2331 google_cloud_lro::PollerOptions::default()
2332 }
2333}
2334
2335#[cfg(feature = "user-license-service")]
2347#[cfg_attr(docsrs, doc(cfg(feature = "user-license-service")))]
2348pub trait UserLicenseService: std::fmt::Debug + Send + Sync {
2349 fn list_user_licenses(
2351 &self,
2352 _req: crate::model::ListUserLicensesRequest,
2353 _options: crate::RequestOptions,
2354 ) -> impl std::future::Future<
2355 Output = crate::Result<crate::Response<crate::model::ListUserLicensesResponse>>,
2356 > + Send {
2357 gaxi::unimplemented::unimplemented_stub()
2358 }
2359
2360 fn batch_update_user_licenses(
2362 &self,
2363 _req: crate::model::BatchUpdateUserLicensesRequest,
2364 _options: crate::RequestOptions,
2365 ) -> impl std::future::Future<
2366 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2367 > + Send {
2368 gaxi::unimplemented::unimplemented_stub()
2369 }
2370
2371 fn list_operations(
2373 &self,
2374 _req: google_cloud_longrunning::model::ListOperationsRequest,
2375 _options: crate::RequestOptions,
2376 ) -> impl std::future::Future<
2377 Output = crate::Result<
2378 crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
2379 >,
2380 > + Send {
2381 gaxi::unimplemented::unimplemented_stub()
2382 }
2383
2384 fn get_operation(
2386 &self,
2387 _req: google_cloud_longrunning::model::GetOperationRequest,
2388 _options: crate::RequestOptions,
2389 ) -> impl std::future::Future<
2390 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
2391 > + Send {
2392 gaxi::unimplemented::unimplemented_stub()
2393 }
2394
2395 fn cancel_operation(
2397 &self,
2398 _req: google_cloud_longrunning::model::CancelOperationRequest,
2399 _options: crate::RequestOptions,
2400 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
2401 gaxi::unimplemented::unimplemented_stub()
2402 }
2403
2404 fn get_polling_error_policy(
2409 &self,
2410 _options: &crate::RequestOptions,
2411 ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
2412 std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
2413 }
2414
2415 fn get_polling_backoff_policy(
2420 &self,
2421 _options: &crate::RequestOptions,
2422 ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
2423 std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
2424 }
2425
2426 #[doc(hidden)]
2427 fn get_poller_options(
2432 &self,
2433 _options: &crate::RequestOptions,
2434 ) -> google_cloud_lro::PollerOptions {
2435 google_cloud_lro::PollerOptions::default()
2436 }
2437}