Enum google_api_proto::google::cloud::dialogflow::cx::v3beta1::agent::SessionEntryResource
source · pub enum SessionEntryResource {
StartFlow(String),
StartPlaybook(String),
}
Expand description
The resource to start the conversations with for the agent.
Variants§
StartFlow(String)
Name of the start flow in this agent. A start flow will be automatically
created when the agent is created, and can only be deleted by deleting
the agent.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>
. Currently only the default start
flow with id “00000000-0000-0000-0000-000000000000” is allowed.
StartPlaybook(String)
Name of the start playbook in this agent. A start playbook will be
automatically created when the agent is created, and can only be deleted
by deleting the agent.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/playbooks/<Playbook ID>
. Currently only the
default playbook with id
“00000000-0000-0000-0000-000000000000” is allowed.
Implementations§
source§impl SessionEntryResource
impl SessionEntryResource
sourcepub fn merge(
field: &mut Option<SessionEntryResource>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<SessionEntryResource>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl Clone for SessionEntryResource
impl Clone for SessionEntryResource
source§fn clone(&self) -> SessionEntryResource
fn clone(&self) -> SessionEntryResource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SessionEntryResource
impl Debug for SessionEntryResource
source§impl PartialEq for SessionEntryResource
impl PartialEq for SessionEntryResource
source§fn eq(&self, other: &SessionEntryResource) -> bool
fn eq(&self, other: &SessionEntryResource) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SessionEntryResource
Auto Trait Implementations§
impl Freeze for SessionEntryResource
impl RefUnwindSafe for SessionEntryResource
impl Send for SessionEntryResource
impl Sync for SessionEntryResource
impl Unpin for SessionEntryResource
impl UnwindSafe for SessionEntryResource
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request