Struct google_api_proto::google::cloud::dialogflow::v2::CloudConversationDebuggingInfo
source · pub struct CloudConversationDebuggingInfo {Show 18 fields
pub audio_data_chunks: i32,
pub result_end_time_offset: Option<Duration>,
pub first_audio_duration: Option<Duration>,
pub single_utterance: bool,
pub speech_partial_results_end_times: Vec<Duration>,
pub speech_final_results_end_times: Vec<Duration>,
pub partial_responses: i32,
pub speaker_id_passive_latency_ms_offset: i32,
pub bargein_event_triggered: bool,
pub speech_single_utterance: bool,
pub dtmf_partial_results_times: Vec<Duration>,
pub dtmf_final_results_times: Vec<Duration>,
pub single_utterance_end_time_offset: Option<Duration>,
pub no_speech_timeout: Option<Duration>,
pub endpointing_timeout: Option<Duration>,
pub is_input_text: bool,
pub client_half_close_time_offset: Option<Duration>,
pub client_half_close_streaming_time_offset: Option<Duration>,
}
Expand description
Cloud conversation info for easier debugging.
It will get populated in StreamingDetectIntentResponse
or
StreamingAnalyzeContentResponse
when the flag enable_debugging_info
is
set to true in corresponding requests.
Fields§
§audio_data_chunks: i32
Number of input audio data chunks in streaming requests.
result_end_time_offset: Option<Duration>
Time offset of the end of speech utterance relative to the beginning of the first audio chunk.
first_audio_duration: Option<Duration>
Duration of first audio chunk.
single_utterance: bool
Whether client used single utterance mode.
speech_partial_results_end_times: Vec<Duration>
Time offsets of the speech partial results relative to the beginning of the stream.
speech_final_results_end_times: Vec<Duration>
Time offsets of the speech final results (is_final=true) relative to the beginning of the stream.
partial_responses: i32
Total number of partial responses.
speaker_id_passive_latency_ms_offset: i32
Time offset of Speaker ID stream close time relative to the Speech stream close time in milliseconds. Only meaningful for conversations involving passive verification.
bargein_event_triggered: bool
Whether a barge-in event is triggered in this request.
speech_single_utterance: bool
Whether speech uses single utterance mode.
dtmf_partial_results_times: Vec<Duration>
Time offsets of the DTMF partial results relative to the beginning of the stream.
dtmf_final_results_times: Vec<Duration>
Time offsets of the DTMF final results relative to the beginning of the stream.
single_utterance_end_time_offset: Option<Duration>
Time offset of the end-of-single-utterance signal relative to the beginning of the stream.
no_speech_timeout: Option<Duration>
No speech timeout settings for the stream.
endpointing_timeout: Option<Duration>
Speech endpointing timeout settings for the stream.
is_input_text: bool
Whether the streaming terminates with an injected text query.
client_half_close_time_offset: Option<Duration>
Client half close time in terms of input audio duration.
client_half_close_streaming_time_offset: Option<Duration>
Client half close time in terms of API streaming duration.
Trait Implementations§
source§impl Clone for CloudConversationDebuggingInfo
impl Clone for CloudConversationDebuggingInfo
source§fn clone(&self) -> CloudConversationDebuggingInfo
fn clone(&self) -> CloudConversationDebuggingInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for CloudConversationDebuggingInfo
impl Message for CloudConversationDebuggingInfo
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 CloudConversationDebuggingInfo
impl PartialEq for CloudConversationDebuggingInfo
source§fn eq(&self, other: &CloudConversationDebuggingInfo) -> bool
fn eq(&self, other: &CloudConversationDebuggingInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CloudConversationDebuggingInfo
Auto Trait Implementations§
impl Freeze for CloudConversationDebuggingInfo
impl RefUnwindSafe for CloudConversationDebuggingInfo
impl Send for CloudConversationDebuggingInfo
impl Sync for CloudConversationDebuggingInfo
impl Unpin for CloudConversationDebuggingInfo
impl UnwindSafe for CloudConversationDebuggingInfo
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