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 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 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 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 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#[cfg(feature = "cmek-config-service")]
102#[cfg_attr(docsrs, doc(cfg(feature = "cmek-config-service")))]
103pub trait CmekConfigService: std::fmt::Debug + Send + Sync {
104 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 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 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 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 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 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 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 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 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 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#[cfg(feature = "completion-service")]
227#[cfg_attr(docsrs, doc(cfg(feature = "completion-service")))]
228pub trait CompletionService: std::fmt::Debug + Send + Sync {
229 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 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 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 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 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 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 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 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 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 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 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#[cfg(feature = "control-service")]
364#[cfg_attr(docsrs, doc(cfg(feature = "control-service")))]
365pub trait ControlService: std::fmt::Debug + Send + Sync {
366 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 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 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 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 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 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 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 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#[cfg(feature = "conversational-search-service")]
462#[cfg_attr(docsrs, doc(cfg(feature = "conversational-search-service")))]
463pub trait ConversationalSearchService: std::fmt::Debug + Send + Sync {
464 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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#[cfg(feature = "data-store-service")]
658#[cfg_attr(docsrs, doc(cfg(feature = "data-store-service")))]
659pub trait DataStoreService: std::fmt::Debug + Send + Sync {
660 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 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 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 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 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 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 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 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 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 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 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#[cfg(feature = "document-service")]
793#[cfg_attr(docsrs, doc(cfg(feature = "document-service")))]
794pub trait DocumentService: std::fmt::Debug + Send + Sync {
795 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 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 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 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 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 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 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 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 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 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 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 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 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 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#[cfg(feature = "engine-service")]
958#[cfg_attr(docsrs, doc(cfg(feature = "engine-service")))]
959pub trait EngineService: std::fmt::Debug + Send + Sync {
960 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 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 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 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 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 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 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 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 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 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 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#[cfg(feature = "grounded-generation-service")]
1093#[cfg_attr(docsrs, doc(cfg(feature = "grounded-generation-service")))]
1094pub trait GroundedGenerationService: std::fmt::Debug + Send + Sync {
1095 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 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 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 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 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 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#[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 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 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 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 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 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 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 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 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 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 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 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 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 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#[cfg(feature = "project-service")]
1333#[cfg_attr(docsrs, doc(cfg(feature = "project-service")))]
1334pub trait ProjectService: std::fmt::Debug + Send + Sync {
1335 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 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 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 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 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 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 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#[cfg(feature = "rank-service")]
1426#[cfg_attr(docsrs, doc(cfg(feature = "rank-service")))]
1427pub trait RankService: std::fmt::Debug + Send + Sync {
1428 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 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 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 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#[cfg(feature = "recommendation-service")]
1485#[cfg_attr(docsrs, doc(cfg(feature = "recommendation-service")))]
1486pub trait RecommendationService: std::fmt::Debug + Send + Sync {
1487 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 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 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 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#[cfg(feature = "schema-service")]
1544#[cfg_attr(docsrs, doc(cfg(feature = "schema-service")))]
1545pub trait SchemaService: std::fmt::Debug + Send + Sync {
1546 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 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 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 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 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 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 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 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 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 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 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#[cfg(feature = "search-service")]
1680#[cfg_attr(docsrs, doc(cfg(feature = "search-service")))]
1681pub trait SearchService: std::fmt::Debug + Send + Sync {
1682 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 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 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 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 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#[cfg(feature = "search-tuning-service")]
1750#[cfg_attr(docsrs, doc(cfg(feature = "search-tuning-service")))]
1751pub trait SearchTuningService: std::fmt::Debug + Send + Sync {
1752 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 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 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 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 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 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 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 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#[cfg(feature = "serving-config-service")]
1854#[cfg_attr(docsrs, doc(cfg(feature = "serving-config-service")))]
1855pub trait ServingConfigService: std::fmt::Debug + Send + Sync {
1856 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 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 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 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#[cfg(feature = "session-service")]
1913#[cfg_attr(docsrs, doc(cfg(feature = "session-service")))]
1914pub trait SessionService: std::fmt::Debug + Send + Sync {
1915 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 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 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 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 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 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 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 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#[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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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#[cfg(feature = "user-event-service")]
2259#[cfg_attr(docsrs, doc(cfg(feature = "user-event-service")))]
2260pub trait UserEventService: std::fmt::Debug + Send + Sync {
2261 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 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 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 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 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 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 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 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 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 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#[cfg(feature = "user-license-service")]
2384#[cfg_attr(docsrs, doc(cfg(feature = "user-license-service")))]
2385pub trait UserLicenseService: std::fmt::Debug + Send + Sync {
2386 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 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 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 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 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 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 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 fn get_poller_options(
2469 &self,
2470 _options: &crate::RequestOptions,
2471 ) -> google_cloud_lro::PollerOptions {
2472 google_cloud_lro::PollerOptions::default()
2473 }
2474}