google_ai_rs/proto/part.rs
1#[derive(Clone, PartialEq, ::prost::Oneof)]
2pub enum Data {
3 /// Inline text.
4 #[prost(string, tag = "2")]
5 Text(::prost::alloc::string::String),
6 /// Inline media bytes.
7 #[prost(message, tag = "3")]
8 InlineData(super::Blob),
9 /// A predicted `FunctionCall` returned from the model that contains
10 /// a string representing the `FunctionDeclaration.name` with the
11 /// arguments and their values.
12 #[prost(message, tag = "4")]
13 FunctionCall(super::FunctionCall),
14 /// The result output of a `FunctionCall` that contains a string
15 /// representing the `FunctionDeclaration.name` and a structured JSON
16 /// object containing any output from the function is used as context to
17 /// the model.
18 #[prost(message, tag = "5")]
19 FunctionResponse(super::FunctionResponse),
20 /// URI based data.
21 #[prost(message, tag = "6")]
22 FileData(super::FileData),
23 /// Code generated by the model that is meant to be executed.
24 #[prost(message, tag = "9")]
25 ExecutableCode(super::ExecutableCode),
26 /// Result of executing the `ExecutableCode`.
27 #[prost(message, tag = "10")]
28 CodeExecutionResult(super::CodeExecutionResult),
29}