pub struct BidiGenerateContentRealtimeInputBuilder(/* private fields */);Expand description
Builder for BidiGenerateContentRealtimeInput.
Implementations§
Source§impl BidiGenerateContentRealtimeInputBuilder
impl BidiGenerateContentRealtimeInputBuilder
pub fn media_chunks(self, value: impl Into<Vec<LiveBlob>>) -> Self
pub fn audio(self, value: impl Into<LiveBlob>) -> Self
pub fn audio_stream_end(self, value: impl Into<bool>) -> Self
pub fn video(self, value: impl Into<LiveBlob>) -> Self
pub fn text(self, value: impl Into<String>) -> Self
pub fn activity_start(self, value: impl Into<LiveActivityStart>) -> Self
pub fn activity_end(self, value: impl Into<LiveActivityEnd>) -> Self
pub fn media_resolution( self, value: impl Into<GenerationMediaResolution>, ) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> BidiGenerateContentRealtimeInput
pub fn build(self) -> BidiGenerateContentRealtimeInput
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for BidiGenerateContentRealtimeInputBuilder
impl RefUnwindSafe for BidiGenerateContentRealtimeInputBuilder
impl Send for BidiGenerateContentRealtimeInputBuilder
impl Sync for BidiGenerateContentRealtimeInputBuilder
impl Unpin for BidiGenerateContentRealtimeInputBuilder
impl UnsafeUnpin for BidiGenerateContentRealtimeInputBuilder
impl UnwindSafe for BidiGenerateContentRealtimeInputBuilder
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