pub enum ClassMethod {
Show 14 variants
CreateSession,
AsyncCreateSession,
GetSession,
AsyncGetSession,
ListSessions,
AsyncListSessions,
DeleteSession,
AsyncDeleteSession,
StreamQuery,
AsyncStreamQuery,
StreamingAgentRunWithEvents,
AsyncAddSessionToMemory,
AsyncSearchMemory,
RegisterOperations,
}Expand description
One dispatchable operation of the Agent Engine contract.
The variant set is the exact operation set adk-python’s AdkApp registers
(verification task V2, google-cloud-aiplatform 1.112 / google-adk
2.6.3), plus register_operations itself.
Variants§
CreateSession
create_session — session CRUD, default mode.
AsyncCreateSession
async_create_session — wire-parity alias of Self::CreateSession.
GetSession
get_session — session CRUD, default mode.
AsyncGetSession
async_get_session — wire-parity alias of Self::GetSession.
ListSessions
list_sessions — session CRUD, default mode.
AsyncListSessions
async_list_sessions — wire-parity alias of Self::ListSessions.
DeleteSession
delete_session — session CRUD, default mode.
AsyncDeleteSession
async_delete_session — wire-parity alias of Self::DeleteSession.
StreamQuery
stream_query — run the agent, streaming ADK events.
AsyncStreamQuery
async_stream_query — wire-parity alias of Self::StreamQuery.
StreamingAgentRunWithEvents
streaming_agent_run_with_events — run the agent from an ADK
AgentRunRequest JSON string (console Playground path).
AsyncAddSessionToMemory
async_add_session_to_memory — extract a session’s events into the
configured memory service.
AsyncSearchMemory
async_search_memory — search the configured memory service.
RegisterOperations
register_operations — advertise the operation map to the host.
Implementations§
Source§impl ClassMethod
impl ClassMethod
Sourcepub const ALL: [ClassMethod; 14]
pub const ALL: [ClassMethod; 14]
Every dispatchable operation, in registration order.
The register_operations output is derived from this list, so the
advertised operation set and the dispatcher cannot drift.
Trait Implementations§
Source§impl Clone for ClassMethod
impl Clone for ClassMethod
impl Copy for ClassMethod
Source§impl Debug for ClassMethod
impl Debug for ClassMethod
impl Eq for ClassMethod
Source§impl FromStr for ClassMethod
impl FromStr for ClassMethod
Source§impl PartialEq for ClassMethod
impl PartialEq for ClassMethod
impl StructuralPartialEq for ClassMethod
Auto Trait Implementations§
impl Forget for ClassMethod
impl Freeze for ClassMethod
impl Move for ClassMethod
impl RefUnwindSafe for ClassMethod
impl Send for ClassMethod
impl Sync for ClassMethod
impl Unpin for ClassMethod
impl UnsafeUnpin for ClassMethod
impl UnwindSafe for ClassMethod
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more