pub struct BidiGenerateContentSetupBuilder(/* private fields */);Expand description
Builder for BidiGenerateContentSetup.
Implementations§
Source§impl BidiGenerateContentSetupBuilder
impl BidiGenerateContentSetupBuilder
pub fn generation_config(self, value: impl Into<LiveGenerationConfig>) -> Self
pub fn system_instruction(self, value: impl Into<LiveContent>) -> Self
pub fn tools(self, value: impl Into<Vec<Tool>>) -> Self
pub fn realtime_input_config( self, value: impl Into<RealtimeInputConfig>, ) -> Self
pub fn session_resumption( self, value: impl Into<SessionResumptionConfig>, ) -> Self
pub fn context_window_compression( self, value: impl Into<ContextWindowCompressionConfig>, ) -> Self
pub fn input_audio_transcription( self, value: impl Into<AudioTranscriptionConfig>, ) -> Self
pub fn output_audio_transcription( self, value: impl Into<AudioTranscriptionConfig>, ) -> Self
pub fn proactivity(self, value: impl Into<ProactivityConfig>) -> Self
pub fn history_config(self, value: impl Into<HistoryConfig>) -> Self
pub fn avatar_config(self, value: impl Into<AvatarConfig>) -> Self
pub fn safety_settings(self, value: impl Into<Vec<SafetySetting>>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> BidiGenerateContentSetup
pub fn build(self) -> BidiGenerateContentSetup
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for BidiGenerateContentSetupBuilder
impl RefUnwindSafe for BidiGenerateContentSetupBuilder
impl Send for BidiGenerateContentSetupBuilder
impl Sync for BidiGenerateContentSetupBuilder
impl Unpin for BidiGenerateContentSetupBuilder
impl UnsafeUnpin for BidiGenerateContentSetupBuilder
impl UnwindSafe for BidiGenerateContentSetupBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more