public final class CloudConversationDebuggingInfo extends GeneratedMessageV3 implements CloudConversationDebuggingInfoOrBuilder
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.
Protobuf type google.cloud.dialogflow.v2beta1.CloudConversationDebuggingInfo
Static Fields
AUDIO_DATA_CHUNKS_FIELD_NUMBER
public static final int AUDIO_DATA_CHUNKS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
BARGEIN_EVENT_TRIGGERED_FIELD_NUMBER
public static final int BARGEIN_EVENT_TRIGGERED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CLIENT_HALF_CLOSE_STREAMING_TIME_OFFSET_FIELD_NUMBER
public static final int CLIENT_HALF_CLOSE_STREAMING_TIME_OFFSET_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CLIENT_HALF_CLOSE_TIME_OFFSET_FIELD_NUMBER
public static final int CLIENT_HALF_CLOSE_TIME_OFFSET_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DTMF_FINAL_RESULTS_TIMES_FIELD_NUMBER
public static final int DTMF_FINAL_RESULTS_TIMES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DTMF_PARTIAL_RESULTS_TIMES_FIELD_NUMBER
public static final int DTMF_PARTIAL_RESULTS_TIMES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FIRST_AUDIO_DURATION_FIELD_NUMBER
public static final int FIRST_AUDIO_DURATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
IS_INPUT_TEXT_FIELD_NUMBER
public static final int IS_INPUT_TEXT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NO_SPEECH_TIMEOUT_FIELD_NUMBER
public static final int NO_SPEECH_TIMEOUT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PARTIAL_RESPONSES_FIELD_NUMBER
public static final int PARTIAL_RESPONSES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RESULT_END_TIME_OFFSET_FIELD_NUMBER
public static final int RESULT_END_TIME_OFFSET_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SINGLE_UTTERANCE_END_TIME_OFFSET_FIELD_NUMBER
public static final int SINGLE_UTTERANCE_END_TIME_OFFSET_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SINGLE_UTTERANCE_FIELD_NUMBER
public static final int SINGLE_UTTERANCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SPEAKER_ID_PASSIVE_LATENCY_MS_OFFSET_FIELD_NUMBER
public static final int SPEAKER_ID_PASSIVE_LATENCY_MS_OFFSET_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SPEECH_FINAL_RESULTS_END_TIMES_FIELD_NUMBER
public static final int SPEECH_FINAL_RESULTS_END_TIMES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SPEECH_PARTIAL_RESULTS_END_TIMES_FIELD_NUMBER
public static final int SPEECH_PARTIAL_RESULTS_END_TIMES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SPEECH_SINGLE_UTTERANCE_FIELD_NUMBER
public static final int SPEECH_SINGLE_UTTERANCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static CloudConversationDebuggingInfo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CloudConversationDebuggingInfo.Builder newBuilder()
newBuilder(CloudConversationDebuggingInfo prototype)
public static CloudConversationDebuggingInfo.Builder newBuilder(CloudConversationDebuggingInfo prototype)
public static CloudConversationDebuggingInfo parseDelimitedFrom(InputStream input)
public static CloudConversationDebuggingInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CloudConversationDebuggingInfo parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CloudConversationDebuggingInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CloudConversationDebuggingInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CloudConversationDebuggingInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CloudConversationDebuggingInfo parseFrom(CodedInputStream input)
public static CloudConversationDebuggingInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CloudConversationDebuggingInfo parseFrom(InputStream input)
public static CloudConversationDebuggingInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CloudConversationDebuggingInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CloudConversationDebuggingInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CloudConversationDebuggingInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAudioDataChunks()
public int getAudioDataChunks()
Number of input audio data chunks in streaming requests.
int32 audio_data_chunks = 1;
Returns |
Type |
Description |
int |
The audioDataChunks.
|
getBargeinEventTriggered()
public boolean getBargeinEventTriggered()
Whether a barge-in event is triggered in this request.
bool bargein_event_triggered = 10;
Returns |
Type |
Description |
boolean |
The bargeinEventTriggered.
|
getClientHalfCloseStreamingTimeOffset()
public Duration getClientHalfCloseStreamingTimeOffset()
Client half close time in terms of API streaming duration.
.google.protobuf.Duration client_half_close_streaming_time_offset = 18;
Returns |
Type |
Description |
Duration |
The clientHalfCloseStreamingTimeOffset.
|
getClientHalfCloseStreamingTimeOffsetOrBuilder()
public DurationOrBuilder getClientHalfCloseStreamingTimeOffsetOrBuilder()
Client half close time in terms of API streaming duration.
.google.protobuf.Duration client_half_close_streaming_time_offset = 18;
getClientHalfCloseTimeOffset()
public Duration getClientHalfCloseTimeOffset()
Client half close time in terms of input audio duration.
.google.protobuf.Duration client_half_close_time_offset = 17;
Returns |
Type |
Description |
Duration |
The clientHalfCloseTimeOffset.
|
getClientHalfCloseTimeOffsetOrBuilder()
public DurationOrBuilder getClientHalfCloseTimeOffsetOrBuilder()
Client half close time in terms of input audio duration.
.google.protobuf.Duration client_half_close_time_offset = 17;
getDefaultInstanceForType()
public CloudConversationDebuggingInfo getDefaultInstanceForType()
getDtmfFinalResultsTimes(int index)
public Duration getDtmfFinalResultsTimes(int index)
Time offsets of the DTMF final results relative to the beginning of
the stream.
repeated .google.protobuf.Duration dtmf_final_results_times = 13;
Parameter |
Name |
Description |
index |
int
|
getDtmfFinalResultsTimesCount()
public int getDtmfFinalResultsTimesCount()
Time offsets of the DTMF final results relative to the beginning of
the stream.
repeated .google.protobuf.Duration dtmf_final_results_times = 13;
Returns |
Type |
Description |
int |
|
getDtmfFinalResultsTimesList()
public List<Duration> getDtmfFinalResultsTimesList()
Time offsets of the DTMF final results relative to the beginning of
the stream.
repeated .google.protobuf.Duration dtmf_final_results_times = 13;
getDtmfFinalResultsTimesOrBuilder(int index)
public DurationOrBuilder getDtmfFinalResultsTimesOrBuilder(int index)
Time offsets of the DTMF final results relative to the beginning of
the stream.
repeated .google.protobuf.Duration dtmf_final_results_times = 13;
Parameter |
Name |
Description |
index |
int
|
getDtmfFinalResultsTimesOrBuilderList()
public List<? extends DurationOrBuilder> getDtmfFinalResultsTimesOrBuilderList()
Time offsets of the DTMF final results relative to the beginning of
the stream.
repeated .google.protobuf.Duration dtmf_final_results_times = 13;
Returns |
Type |
Description |
List<? extends com.google.protobuf.DurationOrBuilder> |
|
getDtmfPartialResultsTimes(int index)
public Duration getDtmfPartialResultsTimes(int index)
Time offsets of the DTMF partial results relative to the beginning of
the stream.
repeated .google.protobuf.Duration dtmf_partial_results_times = 12;
Parameter |
Name |
Description |
index |
int
|
getDtmfPartialResultsTimesCount()
public int getDtmfPartialResultsTimesCount()
Time offsets of the DTMF partial results relative to the beginning of
the stream.
repeated .google.protobuf.Duration dtmf_partial_results_times = 12;
Returns |
Type |
Description |
int |
|
getDtmfPartialResultsTimesList()
public List<Duration> getDtmfPartialResultsTimesList()
Time offsets of the DTMF partial results relative to the beginning of
the stream.
repeated .google.protobuf.Duration dtmf_partial_results_times = 12;
getDtmfPartialResultsTimesOrBuilder(int index)
public DurationOrBuilder getDtmfPartialResultsTimesOrBuilder(int index)
Time offsets of the DTMF partial results relative to the beginning of
the stream.
repeated .google.protobuf.Duration dtmf_partial_results_times = 12;
Parameter |
Name |
Description |
index |
int
|
getDtmfPartialResultsTimesOrBuilderList()
public List<? extends DurationOrBuilder> getDtmfPartialResultsTimesOrBuilderList()
Time offsets of the DTMF partial results relative to the beginning of
the stream.
repeated .google.protobuf.Duration dtmf_partial_results_times = 12;
Returns |
Type |
Description |
List<? extends com.google.protobuf.DurationOrBuilder> |
|
getFirstAudioDuration()
public Duration getFirstAudioDuration()
Duration of first audio chunk.
.google.protobuf.Duration first_audio_duration = 3;
Returns |
Type |
Description |
Duration |
The firstAudioDuration.
|
getFirstAudioDurationOrBuilder()
public DurationOrBuilder getFirstAudioDurationOrBuilder()
Duration of first audio chunk.
.google.protobuf.Duration first_audio_duration = 3;
getIsInputText()
public boolean getIsInputText()
Whether the streaming terminates with an injected text query.
bool is_input_text = 16;
Returns |
Type |
Description |
boolean |
The isInputText.
|
getNoSpeechTimeout()
public Duration getNoSpeechTimeout()
No speech timeout settings observed at runtime.
.google.protobuf.Duration no_speech_timeout = 15;
Returns |
Type |
Description |
Duration |
The noSpeechTimeout.
|
getNoSpeechTimeoutOrBuilder()
public DurationOrBuilder getNoSpeechTimeoutOrBuilder()
No speech timeout settings observed at runtime.
.google.protobuf.Duration no_speech_timeout = 15;
getParserForType()
public Parser<CloudConversationDebuggingInfo> getParserForType()
Overrides
getPartialResponses()
public int getPartialResponses()
Total number of partial responses.
int32 partial_responses = 8;
Returns |
Type |
Description |
int |
The partialResponses.
|
getResultEndTimeOffset()
public Duration getResultEndTimeOffset()
Time offset of the end of speech utterance relative to the
beginning of the first audio chunk.
.google.protobuf.Duration result_end_time_offset = 2;
Returns |
Type |
Description |
Duration |
The resultEndTimeOffset.
|
getResultEndTimeOffsetOrBuilder()
public DurationOrBuilder getResultEndTimeOffsetOrBuilder()
Time offset of the end of speech utterance relative to the
beginning of the first audio chunk.
.google.protobuf.Duration result_end_time_offset = 2;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSingleUtterance()
public boolean getSingleUtterance()
Whether client used single utterance mode.
bool single_utterance = 5;
Returns |
Type |
Description |
boolean |
The singleUtterance.
|
getSingleUtteranceEndTimeOffset()
public Duration getSingleUtteranceEndTimeOffset()
Time offset of the end-of-single-utterance signal relative to the
beginning of the stream.
.google.protobuf.Duration single_utterance_end_time_offset = 14;
Returns |
Type |
Description |
Duration |
The singleUtteranceEndTimeOffset.
|
getSingleUtteranceEndTimeOffsetOrBuilder()
public DurationOrBuilder getSingleUtteranceEndTimeOffsetOrBuilder()
Time offset of the end-of-single-utterance signal relative to the
beginning of the stream.
.google.protobuf.Duration single_utterance_end_time_offset = 14;
getSpeakerIdPassiveLatencyMsOffset()
public int 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.
int32 speaker_id_passive_latency_ms_offset = 9;
Returns |
Type |
Description |
int |
The speakerIdPassiveLatencyMsOffset.
|
getSpeechFinalResultsEndTimes(int index)
public Duration getSpeechFinalResultsEndTimes(int index)
Time offsets of the speech final results (is_final=true) relative to the
beginning of the stream.
repeated .google.protobuf.Duration speech_final_results_end_times = 7;
Parameter |
Name |
Description |
index |
int
|
getSpeechFinalResultsEndTimesCount()
public int getSpeechFinalResultsEndTimesCount()
Time offsets of the speech final results (is_final=true) relative to the
beginning of the stream.
repeated .google.protobuf.Duration speech_final_results_end_times = 7;
Returns |
Type |
Description |
int |
|
getSpeechFinalResultsEndTimesList()
public List<Duration> getSpeechFinalResultsEndTimesList()
Time offsets of the speech final results (is_final=true) relative to the
beginning of the stream.
repeated .google.protobuf.Duration speech_final_results_end_times = 7;
getSpeechFinalResultsEndTimesOrBuilder(int index)
public DurationOrBuilder getSpeechFinalResultsEndTimesOrBuilder(int index)
Time offsets of the speech final results (is_final=true) relative to the
beginning of the stream.
repeated .google.protobuf.Duration speech_final_results_end_times = 7;
Parameter |
Name |
Description |
index |
int
|
getSpeechFinalResultsEndTimesOrBuilderList()
public List<? extends DurationOrBuilder> getSpeechFinalResultsEndTimesOrBuilderList()
Time offsets of the speech final results (is_final=true) relative to the
beginning of the stream.
repeated .google.protobuf.Duration speech_final_results_end_times = 7;
Returns |
Type |
Description |
List<? extends com.google.protobuf.DurationOrBuilder> |
|
getSpeechPartialResultsEndTimes(int index)
public Duration getSpeechPartialResultsEndTimes(int index)
Time offsets of the speech partial results relative to the beginning of
the stream.
repeated .google.protobuf.Duration speech_partial_results_end_times = 6;
Parameter |
Name |
Description |
index |
int
|
getSpeechPartialResultsEndTimesCount()
public int getSpeechPartialResultsEndTimesCount()
Time offsets of the speech partial results relative to the beginning of
the stream.
repeated .google.protobuf.Duration speech_partial_results_end_times = 6;
Returns |
Type |
Description |
int |
|
getSpeechPartialResultsEndTimesList()
public List<Duration> getSpeechPartialResultsEndTimesList()
Time offsets of the speech partial results relative to the beginning of
the stream.
repeated .google.protobuf.Duration speech_partial_results_end_times = 6;
getSpeechPartialResultsEndTimesOrBuilder(int index)
public DurationOrBuilder getSpeechPartialResultsEndTimesOrBuilder(int index)
Time offsets of the speech partial results relative to the beginning of
the stream.
repeated .google.protobuf.Duration speech_partial_results_end_times = 6;
Parameter |
Name |
Description |
index |
int
|
getSpeechPartialResultsEndTimesOrBuilderList()
public List<? extends DurationOrBuilder> getSpeechPartialResultsEndTimesOrBuilderList()
Time offsets of the speech partial results relative to the beginning of
the stream.
repeated .google.protobuf.Duration speech_partial_results_end_times = 6;
Returns |
Type |
Description |
List<? extends com.google.protobuf.DurationOrBuilder> |
|
getSpeechSingleUtterance()
public boolean getSpeechSingleUtterance()
Whether speech uses single utterance mode.
bool speech_single_utterance = 11;
Returns |
Type |
Description |
boolean |
The speechSingleUtterance.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasClientHalfCloseStreamingTimeOffset()
public boolean hasClientHalfCloseStreamingTimeOffset()
Client half close time in terms of API streaming duration.
.google.protobuf.Duration client_half_close_streaming_time_offset = 18;
Returns |
Type |
Description |
boolean |
Whether the clientHalfCloseStreamingTimeOffset field is set.
|
hasClientHalfCloseTimeOffset()
public boolean hasClientHalfCloseTimeOffset()
Client half close time in terms of input audio duration.
.google.protobuf.Duration client_half_close_time_offset = 17;
Returns |
Type |
Description |
boolean |
Whether the clientHalfCloseTimeOffset field is set.
|
hasFirstAudioDuration()
public boolean hasFirstAudioDuration()
Duration of first audio chunk.
.google.protobuf.Duration first_audio_duration = 3;
Returns |
Type |
Description |
boolean |
Whether the firstAudioDuration field is set.
|
hasNoSpeechTimeout()
public boolean hasNoSpeechTimeout()
No speech timeout settings observed at runtime.
.google.protobuf.Duration no_speech_timeout = 15;
Returns |
Type |
Description |
boolean |
Whether the noSpeechTimeout field is set.
|
hasResultEndTimeOffset()
public boolean hasResultEndTimeOffset()
Time offset of the end of speech utterance relative to the
beginning of the first audio chunk.
.google.protobuf.Duration result_end_time_offset = 2;
Returns |
Type |
Description |
boolean |
Whether the resultEndTimeOffset field is set.
|
hasSingleUtteranceEndTimeOffset()
public boolean hasSingleUtteranceEndTimeOffset()
Time offset of the end-of-single-utterance signal relative to the
beginning of the stream.
.google.protobuf.Duration single_utterance_end_time_offset = 14;
Returns |
Type |
Description |
boolean |
Whether the singleUtteranceEndTimeOffset field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CloudConversationDebuggingInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CloudConversationDebuggingInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public CloudConversationDebuggingInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides