Class CloudConversationDebuggingInfo (4.49.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > 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

ENDPOINTING_TIMEOUT_FIELD_NUMBER

public static final int ENDPOINTING_TIMEOUT_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()
Returns
Type Description
CloudConversationDebuggingInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CloudConversationDebuggingInfo.Builder newBuilder()
Returns
Type Description
CloudConversationDebuggingInfo.Builder

newBuilder(CloudConversationDebuggingInfo prototype)

public static CloudConversationDebuggingInfo.Builder newBuilder(CloudConversationDebuggingInfo prototype)
Parameter
Name Description
prototype CloudConversationDebuggingInfo
Returns
Type Description
CloudConversationDebuggingInfo.Builder

parseDelimitedFrom(InputStream input)

public static CloudConversationDebuggingInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CloudConversationDebuggingInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudConversationDebuggingInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudConversationDebuggingInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CloudConversationDebuggingInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CloudConversationDebuggingInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CloudConversationDebuggingInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudConversationDebuggingInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CloudConversationDebuggingInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CloudConversationDebuggingInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CloudConversationDebuggingInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudConversationDebuggingInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CloudConversationDebuggingInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CloudConversationDebuggingInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudConversationDebuggingInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudConversationDebuggingInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CloudConversationDebuggingInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CloudConversationDebuggingInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudConversationDebuggingInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudConversationDebuggingInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CloudConversationDebuggingInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CloudConversationDebuggingInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CloudConversationDebuggingInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudConversationDebuggingInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CloudConversationDebuggingInfo> parser()
Returns
Type Description
Parser<CloudConversationDebuggingInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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;

Returns
Type Description
DurationOrBuilder

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;

Returns
Type Description
DurationOrBuilder

getDefaultInstanceForType()

public CloudConversationDebuggingInfo getDefaultInstanceForType()
Returns
Type Description
CloudConversationDebuggingInfo

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
Returns
Type Description
Duration

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;

Returns
Type Description
List<Duration>

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
Returns
Type Description
DurationOrBuilder

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
Returns
Type Description
Duration

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;

Returns
Type Description
List<Duration>

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
Returns
Type Description
DurationOrBuilder

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>

getEndpointingTimeout()

public Duration getEndpointingTimeout()

Speech endpointing timeout settings for the stream.

.google.protobuf.Duration endpointing_timeout = 19;

Returns
Type Description
Duration

The endpointingTimeout.

getEndpointingTimeoutOrBuilder()

public DurationOrBuilder getEndpointingTimeoutOrBuilder()

Speech endpointing timeout settings for the stream.

.google.protobuf.Duration endpointing_timeout = 19;

Returns
Type Description
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;

Returns
Type Description
DurationOrBuilder

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 for the stream.

.google.protobuf.Duration no_speech_timeout = 15;

Returns
Type Description
Duration

The noSpeechTimeout.

getNoSpeechTimeoutOrBuilder()

public DurationOrBuilder getNoSpeechTimeoutOrBuilder()

No speech timeout settings for the stream.

.google.protobuf.Duration no_speech_timeout = 15;

Returns
Type Description
DurationOrBuilder

getParserForType()

public Parser<CloudConversationDebuggingInfo> getParserForType()
Returns
Type Description
Parser<CloudConversationDebuggingInfo>
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;

Returns
Type Description
DurationOrBuilder

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;

Returns
Type Description
DurationOrBuilder

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
Returns
Type Description
Duration

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;

Returns
Type Description
List<Duration>

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
Returns
Type Description
DurationOrBuilder

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
Returns
Type Description
Duration

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;

Returns
Type Description
List<Duration>

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
Returns
Type Description
DurationOrBuilder

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.

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.

hasEndpointingTimeout()

public boolean hasEndpointingTimeout()

Speech endpointing timeout settings for the stream.

.google.protobuf.Duration endpointing_timeout = 19;

Returns
Type Description
boolean

Whether the endpointingTimeout 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 for the stream.

.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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CloudConversationDebuggingInfo.Builder newBuilderForType()
Returns
Type Description
CloudConversationDebuggingInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CloudConversationDebuggingInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CloudConversationDebuggingInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CloudConversationDebuggingInfo.Builder toBuilder()
Returns
Type Description
CloudConversationDebuggingInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException