Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class CloudConversationDebuggingInfo.
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.
Generated from protobuf message google.cloud.dialogflow.v2.CloudConversationDebuggingInfo
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ audio_data_chunks
int
Number of input audio data chunks in streaming requests.
↳ result_end_time_offset
Google\Protobuf\Duration
Time offset of the end of speech utterance relative to the beginning of the first audio chunk.
↳ first_audio_duration
↳ single_utterance
bool
Whether client used single utterance mode.
↳ speech_partial_results_end_times
array< Google\Protobuf\Duration
>
Time offsets of the speech partial results relative to the beginning of the stream.
↳ speech_final_results_end_times
array< Google\Protobuf\Duration
>
Time offsets of the speech final results (is_final=true) relative to the beginning of the stream.
↳ partial_responses
int
Total number of partial responses.
↳ speaker_id_passive_latency_ms_offset
int
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
array< Google\Protobuf\Duration
>
Time offsets of the DTMF partial results relative to the beginning of the stream.
↳ dtmf_final_results_times
array< Google\Protobuf\Duration
>
Time offsets of the DTMF final results relative to the beginning of the stream.
↳ single_utterance_end_time_offset
Google\Protobuf\Duration
Time offset of the end-of-single-utterance signal relative to the beginning of the stream.
↳ no_speech_timeout
↳ is_input_text
bool
Whether the streaming terminates with an injected text query.
↳ client_half_close_time_offset
↳ client_half_close_streaming_time_offset
getAudioDataChunks
Number of input audio data chunks in streaming requests.
int
setAudioDataChunks
Number of input audio data chunks in streaming requests.
var
int
$this
getResultEndTimeOffset
Time offset of the end of speech utterance relative to the beginning of the first audio chunk.
hasResultEndTimeOffset
clearResultEndTimeOffset
setResultEndTimeOffset
Time offset of the end of speech utterance relative to the beginning of the first audio chunk.
$this
getFirstAudioDuration
Duration of first audio chunk.
hasFirstAudioDuration
clearFirstAudioDuration
setFirstAudioDuration
Duration of first audio chunk.
$this
getSingleUtterance
Whether client used single utterance mode.
bool
setSingleUtterance
Whether client used single utterance mode.
var
bool
$this
getSpeechPartialResultsEndTimes
Time offsets of the speech partial results relative to the beginning of the stream.
setSpeechPartialResultsEndTimes
Time offsets of the speech partial results relative to the beginning of the stream.
$this
getSpeechFinalResultsEndTimes
Time offsets of the speech final results (is_final=true) relative to the beginning of the stream.
setSpeechFinalResultsEndTimes
Time offsets of the speech final results (is_final=true) relative to the beginning of the stream.
$this
getPartialResponses
Total number of partial responses.
int
setPartialResponses
Total number of partial responses.
var
int
$this
getSpeakerIdPassiveLatencyMsOffset
Time offset of Speaker ID stream close time relative to the Speech stream close time in milliseconds. Only meaningful for conversations involving passive verification.
int
setSpeakerIdPassiveLatencyMsOffset
Time offset of Speaker ID stream close time relative to the Speech stream close time in milliseconds. Only meaningful for conversations involving passive verification.
var
int
$this
getBargeinEventTriggered
Whether a barge-in event is triggered in this request.
bool
setBargeinEventTriggered
Whether a barge-in event is triggered in this request.
var
bool
$this
getSpeechSingleUtterance
Whether speech uses single utterance mode.
bool
setSpeechSingleUtterance
Whether speech uses single utterance mode.
var
bool
$this
getDtmfPartialResultsTimes
Time offsets of the DTMF partial results relative to the beginning of the stream.
setDtmfPartialResultsTimes
Time offsets of the DTMF partial results relative to the beginning of the stream.
$this
getDtmfFinalResultsTimes
Time offsets of the DTMF final results relative to the beginning of the stream.
setDtmfFinalResultsTimes
Time offsets of the DTMF final results relative to the beginning of the stream.
$this
getSingleUtteranceEndTimeOffset
Time offset of the end-of-single-utterance signal relative to the beginning of the stream.
hasSingleUtteranceEndTimeOffset
clearSingleUtteranceEndTimeOffset
setSingleUtteranceEndTimeOffset
Time offset of the end-of-single-utterance signal relative to the beginning of the stream.
$this
getNoSpeechTimeout
No speech timeout settings observed at runtime.
hasNoSpeechTimeout
clearNoSpeechTimeout
setNoSpeechTimeout
No speech timeout settings observed at runtime.
$this
getIsInputText
Whether the streaming terminates with an injected text query.
bool
setIsInputText
Whether the streaming terminates with an injected text query.
var
bool
$this
getClientHalfCloseTimeOffset
Client half close time in terms of input audio duration.
hasClientHalfCloseTimeOffset
clearClientHalfCloseTimeOffset
setClientHalfCloseTimeOffset
Client half close time in terms of input audio duration.
$this
getClientHalfCloseStreamingTimeOffset
Client half close time in terms of API streaming duration.
hasClientHalfCloseStreamingTimeOffset
clearClientHalfCloseStreamingTimeOffset
setClientHalfCloseStreamingTimeOffset
Client half close time in terms of API streaming duration.
$this