pub struct BidiGenerateContentServerContentBuilder(/* private fields */);Expand description
Builder for BidiGenerateContentServerContent.
Implementations§
Source§impl BidiGenerateContentServerContentBuilder
impl BidiGenerateContentServerContentBuilder
pub fn model_turn(self, value: impl Into<LiveContent>) -> Self
pub fn generation_complete(self, value: impl Into<bool>) -> Self
pub fn turn_complete(self, value: impl Into<bool>) -> Self
pub fn interrupted(self, value: impl Into<bool>) -> Self
pub fn grounding_metadata(self, value: impl Into<LiveGroundingMetadata>) -> Self
pub fn input_transcription( self, value: impl Into<BidiGenerateContentTranscription>, ) -> Self
pub fn output_transcription( self, value: impl Into<BidiGenerateContentTranscription>, ) -> Self
pub fn interim_input_transcription( self, value: impl Into<BidiGenerateContentTranscription>, ) -> Self
pub fn url_context_metadata( self, value: impl Into<LiveUrlContextMetadata>, ) -> Self
pub fn waiting_for_input(self, value: impl Into<bool>) -> Self
pub fn turn_complete_reason(self, value: impl Into<TurnCompleteReason>) -> Self
pub fn interaction_status(self, value: impl Into<InteractionStatus>) -> Self
pub fn speech_state(self, value: impl Into<SpeechState>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> BidiGenerateContentServerContent
pub fn build(self) -> BidiGenerateContentServerContent
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for BidiGenerateContentServerContentBuilder
impl RefUnwindSafe for BidiGenerateContentServerContentBuilder
impl Send for BidiGenerateContentServerContentBuilder
impl Sync for BidiGenerateContentServerContentBuilder
impl Unpin for BidiGenerateContentServerContentBuilder
impl UnsafeUnpin for BidiGenerateContentServerContentBuilder
impl UnwindSafe for BidiGenerateContentServerContentBuilder
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