pub struct EmbeddedGenerateContentRequestBuilder(/* private fields */);Expand description
Builder for EmbeddedGenerateContentRequest.
Implementations§
Source§impl EmbeddedGenerateContentRequestBuilder
impl EmbeddedGenerateContentRequestBuilder
pub fn tools(self, value: impl Into<Vec<Tool>>) -> Self
pub fn tool_config(self, value: impl Into<ToolConfig>) -> Self
pub fn safety_settings(self, value: impl Into<Vec<SafetySetting>>) -> Self
pub fn labels(self, value: impl Into<BTreeMap<String, String>>) -> Self
pub fn system_instruction(self, value: impl Into<Content>) -> Self
pub fn generation_config(self, value: impl Into<GenerationConfig>) -> Self
pub fn cached_content(self, value: impl Into<String>) -> Self
pub fn service_tier(self, value: impl Into<ServiceTier>) -> Self
pub fn store(self, value: impl Into<bool>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> EmbeddedGenerateContentRequest
pub fn build(self) -> EmbeddedGenerateContentRequest
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for EmbeddedGenerateContentRequestBuilder
impl RefUnwindSafe for EmbeddedGenerateContentRequestBuilder
impl Send for EmbeddedGenerateContentRequestBuilder
impl Sync for EmbeddedGenerateContentRequestBuilder
impl Unpin for EmbeddedGenerateContentRequestBuilder
impl UnsafeUnpin for EmbeddedGenerateContentRequestBuilder
impl UnwindSafe for EmbeddedGenerateContentRequestBuilder
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