Struct google_api_proto::google::cloud::dialogflow::v2beta1::SuggestDialogflowAssistsResponse
source · pub struct SuggestDialogflowAssistsResponse {
pub dialogflow_assist_answers: Vec<DialogflowAssistAnswer>,
pub latest_message: String,
pub context_size: i32,
}
Expand description
The response message for [Participants.SuggestDialogflowAssists][google.cloud.dialogflow.v2beta1.Participants.SuggestDialogflowAssists].
Fields§
§dialogflow_assist_answers: Vec<DialogflowAssistAnswer>
Output only. Multiple reply options provided by Dialogflow assist service. The order is based on the rank of the model prediction.
latest_message: String
The name of the latest conversation message used to suggest answer.
Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>
.
context_size: i32
Number of messages prior to and including [latest_message][google.cloud.dialogflow.v2beta1.SuggestDialogflowAssistsResponse.latest_message] to compile the suggestion. It may be smaller than the [SuggestDialogflowAssistsRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestDialogflowAssistsRequest.context_size] field in the request if there aren’t that many messages in the conversation.
Trait Implementations§
source§impl Clone for SuggestDialogflowAssistsResponse
impl Clone for SuggestDialogflowAssistsResponse
source§fn clone(&self) -> SuggestDialogflowAssistsResponse
fn clone(&self) -> SuggestDialogflowAssistsResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for SuggestDialogflowAssistsResponse
impl Message for SuggestDialogflowAssistsResponse
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for SuggestDialogflowAssistsResponse
impl PartialEq for SuggestDialogflowAssistsResponse
source§fn eq(&self, other: &SuggestDialogflowAssistsResponse) -> bool
fn eq(&self, other: &SuggestDialogflowAssistsResponse) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SuggestDialogflowAssistsResponse
Auto Trait Implementations§
impl Freeze for SuggestDialogflowAssistsResponse
impl RefUnwindSafe for SuggestDialogflowAssistsResponse
impl Send for SuggestDialogflowAssistsResponse
impl Sync for SuggestDialogflowAssistsResponse
impl Unpin for SuggestDialogflowAssistsResponse
impl UnwindSafe for SuggestDialogflowAssistsResponse
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