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