#[cfg_attr(feature = "python", ::pyo3::pyclass(get_all, set_all))]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AgentSkill {
#[prost(string, tag="1")]
pub name: ::prost::alloc::string::String,
#[prost(string, tag="2")]
pub catalog_name: ::prost::alloc::string::String,
#[prost(string, tag="3")]
pub schema_name: ::prost::alloc::string::String,
#[prost(string, tag="4")]
pub full_name: ::prost::alloc::string::String,
#[prost(string, tag="5")]
pub storage_location: ::prost::alloc::string::String,
#[prost(string, tag="6")]
pub agent_skill_id: ::prost::alloc::string::String,
#[prost(enumeration="AgentSkillType", tag="7")]
pub agent_skill_type: i32,
#[prost(string, optional, tag="8")]
pub description: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="9")]
pub license: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, repeated, tag="10")]
pub allowed_tools: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(map="string, string", tag="11")]
pub metadata: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
#[prost(string, optional, tag="12")]
pub owner: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="13")]
pub comment: ::core::option::Option<::prost::alloc::string::String>,
#[prost(int64, optional, tag="1000")]
pub created_at: ::core::option::Option<i64>,
#[prost(string, optional, tag="1001")]
pub created_by: ::core::option::Option<::prost::alloc::string::String>,
#[prost(int64, optional, tag="1002")]
pub updated_at: ::core::option::Option<i64>,
#[prost(string, optional, tag="1003")]
pub updated_by: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="1004")]
pub metastore_id: ::core::option::Option<::prost::alloc::string::String>,
}
#[cfg_attr(feature = "python", ::pyo3::pyclass)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum AgentSkillType {
Unspecified = 0,
External = 1,
Managed = 2,
}
impl AgentSkillType {
pub fn as_str_name(&self) -> &'static str {
match self {
Self::Unspecified => "AGENT_SKILL_TYPE_UNSPECIFIED",
Self::External => "EXTERNAL",
Self::Managed => "MANAGED",
}
}
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
match value {
"AGENT_SKILL_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
"EXTERNAL" => Some(Self::External),
"MANAGED" => Some(Self::Managed),
_ => None,
}
}
}
#[cfg_attr(feature = "python", ::pyo3::pyclass(get_all, set_all))]
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ListAgentSkillsRequest {
#[prost(string, tag="1")]
pub catalog_name: ::prost::alloc::string::String,
#[prost(string, tag="2")]
pub schema_name: ::prost::alloc::string::String,
#[prost(int32, optional, tag="3")]
pub max_results: ::core::option::Option<i32>,
#[prost(string, optional, tag="4")]
pub page_token: ::core::option::Option<::prost::alloc::string::String>,
#[prost(bool, optional, tag="5")]
pub include_browse: ::core::option::Option<bool>,
}
#[cfg_attr(feature = "python", ::pyo3::pyclass(get_all, set_all))]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ListAgentSkillsResponse {
#[prost(message, repeated, tag="1")]
pub agent_skills: ::prost::alloc::vec::Vec<AgentSkill>,
#[prost(string, optional, tag="2")]
pub next_page_token: ::core::option::Option<::prost::alloc::string::String>,
}
#[cfg_attr(feature = "python", ::pyo3::pyclass(get_all, set_all))]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CreateAgentSkillRequest {
#[prost(string, tag="1")]
pub catalog_name: ::prost::alloc::string::String,
#[prost(string, tag="2")]
pub schema_name: ::prost::alloc::string::String,
#[prost(string, tag="3")]
pub name: ::prost::alloc::string::String,
#[prost(enumeration="AgentSkillType", tag="4")]
pub agent_skill_type: i32,
#[prost(string, optional, tag="5")]
pub storage_location: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="6")]
pub description: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="7")]
pub license: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, repeated, tag="8")]
pub allowed_tools: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(map="string, string", tag="9")]
pub metadata: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>,
#[prost(string, optional, tag="10")]
pub comment: ::core::option::Option<::prost::alloc::string::String>,
}
#[cfg_attr(feature = "python", ::pyo3::pyclass(get_all, set_all))]
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct GetAgentSkillRequest {
#[prost(string, tag="1")]
pub name: ::prost::alloc::string::String,
#[prost(bool, optional, tag="1005")]
pub include_browse: ::core::option::Option<bool>,
}
#[cfg_attr(feature = "python", ::pyo3::pyclass(get_all, set_all))]
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UpdateAgentSkillRequest {
#[prost(string, tag="1")]
pub name: ::prost::alloc::string::String,
#[prost(string, optional, tag="2")]
pub new_name: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="3")]
pub description: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, repeated, tag="4")]
pub allowed_tools: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
#[prost(string, optional, tag="5")]
pub comment: ::core::option::Option<::prost::alloc::string::String>,
#[prost(string, optional, tag="6")]
pub owner: ::core::option::Option<::prost::alloc::string::String>,
}
#[cfg_attr(feature = "python", ::pyo3::pyclass(get_all, set_all))]
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct DeleteAgentSkillRequest {
#[prost(string, tag="1")]
pub name: ::prost::alloc::string::String,
}
include!("unitycatalog.agent_skills.v0alpha1.serde.rs");