Class CloudConversationDebuggingInfo

  • All Implemented Interfaces:
    CloudConversationDebuggingInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class CloudConversationDebuggingInfo
    extends com.google.protobuf.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
    See Also:
    Serialized Form
    • Field Detail

      • AUDIO_DATA_CHUNKS_FIELD_NUMBER

        public static final int AUDIO_DATA_CHUNKS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • RESULT_END_TIME_OFFSET_FIELD_NUMBER

        public static final int RESULT_END_TIME_OFFSET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FIRST_AUDIO_DURATION_FIELD_NUMBER

        public static final int FIRST_AUDIO_DURATION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SINGLE_UTTERANCE_FIELD_NUMBER

        public static final int SINGLE_UTTERANCE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SPEECH_PARTIAL_RESULTS_END_TIMES_FIELD_NUMBER

        public static final int SPEECH_PARTIAL_RESULTS_END_TIMES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SPEECH_FINAL_RESULTS_END_TIMES_FIELD_NUMBER

        public static final int SPEECH_FINAL_RESULTS_END_TIMES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PARTIAL_RESPONSES_FIELD_NUMBER

        public static final int PARTIAL_RESPONSES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SPEAKER_ID_PASSIVE_LATENCY_MS_OFFSET_FIELD_NUMBER

        public static final int SPEAKER_ID_PASSIVE_LATENCY_MS_OFFSET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • BARGEIN_EVENT_TRIGGERED_FIELD_NUMBER

        public static final int BARGEIN_EVENT_TRIGGERED_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SPEECH_SINGLE_UTTERANCE_FIELD_NUMBER

        public static final int SPEECH_SINGLE_UTTERANCE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DTMF_PARTIAL_RESULTS_TIMES_FIELD_NUMBER

        public static final int DTMF_PARTIAL_RESULTS_TIMES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DTMF_FINAL_RESULTS_TIMES_FIELD_NUMBER

        public static final int DTMF_FINAL_RESULTS_TIMES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SINGLE_UTTERANCE_END_TIME_OFFSET_FIELD_NUMBER

        public static final int SINGLE_UTTERANCE_END_TIME_OFFSET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NO_SPEECH_TIMEOUT_FIELD_NUMBER

        public static final int NO_SPEECH_TIMEOUT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • ENDPOINTING_TIMEOUT_FIELD_NUMBER

        public static final int ENDPOINTING_TIMEOUT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • IS_INPUT_TEXT_FIELD_NUMBER

        public static final int IS_INPUT_TEXT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CLIENT_HALF_CLOSE_TIME_OFFSET_FIELD_NUMBER

        public static final int CLIENT_HALF_CLOSE_TIME_OFFSET_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CLIENT_HALF_CLOSE_STREAMING_TIME_OFFSET_FIELD_NUMBER

        public static final int CLIENT_HALF_CLOSE_STREAMING_TIME_OFFSET_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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;
        Specified by:
        hasResultEndTimeOffset in interface CloudConversationDebuggingInfoOrBuilder
        Returns:
        Whether the resultEndTimeOffset field is set.
      • getResultEndTimeOffset

        public com.google.protobuf.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;
        Specified by:
        getResultEndTimeOffset in interface CloudConversationDebuggingInfoOrBuilder
        Returns:
        The resultEndTimeOffset.
      • getResultEndTimeOffsetOrBuilder

        public com.google.protobuf.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;
        Specified by:
        getResultEndTimeOffsetOrBuilder in interface CloudConversationDebuggingInfoOrBuilder
      • getSpeechPartialResultsEndTimes

        public com.google.protobuf.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;
        Specified by:
        getSpeechPartialResultsEndTimes in interface CloudConversationDebuggingInfoOrBuilder
      • getSpeechPartialResultsEndTimesOrBuilder

        public com.google.protobuf.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;
        Specified by:
        getSpeechPartialResultsEndTimesOrBuilder in interface CloudConversationDebuggingInfoOrBuilder
      • getSpeechFinalResultsEndTimesList

        public List<com.google.protobuf.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;
        Specified by:
        getSpeechFinalResultsEndTimesList in interface CloudConversationDebuggingInfoOrBuilder
      • getSpeechFinalResultsEndTimesOrBuilderList

        public List<? extends com.google.protobuf.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;
        Specified by:
        getSpeechFinalResultsEndTimesOrBuilderList in interface CloudConversationDebuggingInfoOrBuilder
      • getSpeechFinalResultsEndTimes

        public com.google.protobuf.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;
        Specified by:
        getSpeechFinalResultsEndTimes in interface CloudConversationDebuggingInfoOrBuilder
      • getSpeechFinalResultsEndTimesOrBuilder

        public com.google.protobuf.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;
        Specified by:
        getSpeechFinalResultsEndTimesOrBuilder in interface CloudConversationDebuggingInfoOrBuilder
      • 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;
        Specified by:
        getSpeakerIdPassiveLatencyMsOffset in interface CloudConversationDebuggingInfoOrBuilder
        Returns:
        The speakerIdPassiveLatencyMsOffset.
      • getDtmfPartialResultsTimes

        public com.google.protobuf.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;
        Specified by:
        getDtmfPartialResultsTimes in interface CloudConversationDebuggingInfoOrBuilder
      • getDtmfPartialResultsTimesOrBuilder

        public com.google.protobuf.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;
        Specified by:
        getDtmfPartialResultsTimesOrBuilder in interface CloudConversationDebuggingInfoOrBuilder
      • getDtmfFinalResultsTimes

        public com.google.protobuf.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;
        Specified by:
        getDtmfFinalResultsTimes in interface CloudConversationDebuggingInfoOrBuilder
      • getDtmfFinalResultsTimesOrBuilder

        public com.google.protobuf.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;
        Specified by:
        getDtmfFinalResultsTimesOrBuilder in interface CloudConversationDebuggingInfoOrBuilder
      • 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;
        Specified by:
        hasSingleUtteranceEndTimeOffset in interface CloudConversationDebuggingInfoOrBuilder
        Returns:
        Whether the singleUtteranceEndTimeOffset field is set.
      • getSingleUtteranceEndTimeOffset

        public com.google.protobuf.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;
        Specified by:
        getSingleUtteranceEndTimeOffset in interface CloudConversationDebuggingInfoOrBuilder
        Returns:
        The singleUtteranceEndTimeOffset.
      • getSingleUtteranceEndTimeOffsetOrBuilder

        public com.google.protobuf.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;
        Specified by:
        getSingleUtteranceEndTimeOffsetOrBuilder in interface CloudConversationDebuggingInfoOrBuilder
      • hasNoSpeechTimeout

        public boolean hasNoSpeechTimeout()
         No speech timeout settings for the stream.
         
        .google.protobuf.Duration no_speech_timeout = 15;
        Specified by:
        hasNoSpeechTimeout in interface CloudConversationDebuggingInfoOrBuilder
        Returns:
        Whether the noSpeechTimeout field is set.
      • getNoSpeechTimeout

        public com.google.protobuf.Duration getNoSpeechTimeout()
         No speech timeout settings for the stream.
         
        .google.protobuf.Duration no_speech_timeout = 15;
        Specified by:
        getNoSpeechTimeout in interface CloudConversationDebuggingInfoOrBuilder
        Returns:
        The noSpeechTimeout.
      • hasEndpointingTimeout

        public boolean hasEndpointingTimeout()
         Speech endpointing timeout settings for the stream.
         
        .google.protobuf.Duration endpointing_timeout = 19;
        Specified by:
        hasEndpointingTimeout in interface CloudConversationDebuggingInfoOrBuilder
        Returns:
        Whether the endpointingTimeout field is set.
      • getEndpointingTimeout

        public com.google.protobuf.Duration getEndpointingTimeout()
         Speech endpointing timeout settings for the stream.
         
        .google.protobuf.Duration endpointing_timeout = 19;
        Specified by:
        getEndpointingTimeout in interface CloudConversationDebuggingInfoOrBuilder
        Returns:
        The endpointingTimeout.
      • hasClientHalfCloseTimeOffset

        public boolean hasClientHalfCloseTimeOffset()
         Client half close time in terms of input audio duration.
         
        .google.protobuf.Duration client_half_close_time_offset = 17;
        Specified by:
        hasClientHalfCloseTimeOffset in interface CloudConversationDebuggingInfoOrBuilder
        Returns:
        Whether the clientHalfCloseTimeOffset field is set.
      • getClientHalfCloseTimeOffset

        public com.google.protobuf.Duration getClientHalfCloseTimeOffset()
         Client half close time in terms of input audio duration.
         
        .google.protobuf.Duration client_half_close_time_offset = 17;
        Specified by:
        getClientHalfCloseTimeOffset in interface CloudConversationDebuggingInfoOrBuilder
        Returns:
        The clientHalfCloseTimeOffset.
      • hasClientHalfCloseStreamingTimeOffset

        public boolean hasClientHalfCloseStreamingTimeOffset()
         Client half close time in terms of API streaming duration.
         
        .google.protobuf.Duration client_half_close_streaming_time_offset = 18;
        Specified by:
        hasClientHalfCloseStreamingTimeOffset in interface CloudConversationDebuggingInfoOrBuilder
        Returns:
        Whether the clientHalfCloseStreamingTimeOffset field is set.
      • getClientHalfCloseStreamingTimeOffset

        public com.google.protobuf.Duration getClientHalfCloseStreamingTimeOffset()
         Client half close time in terms of API streaming duration.
         
        .google.protobuf.Duration client_half_close_streaming_time_offset = 18;
        Specified by:
        getClientHalfCloseStreamingTimeOffset in interface CloudConversationDebuggingInfoOrBuilder
        Returns:
        The clientHalfCloseStreamingTimeOffset.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static CloudConversationDebuggingInfo parseFrom​(ByteBuffer data)
                                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CloudConversationDebuggingInfo parseFrom​(ByteBuffer data,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CloudConversationDebuggingInfo parseFrom​(com.google.protobuf.ByteString data)
                                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CloudConversationDebuggingInfo parseFrom​(com.google.protobuf.ByteString data,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CloudConversationDebuggingInfo parseFrom​(byte[] data)
                                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CloudConversationDebuggingInfo parseFrom​(byte[] data,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public CloudConversationDebuggingInfo.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public CloudConversationDebuggingInfo.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected CloudConversationDebuggingInfo.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<CloudConversationDebuggingInfo> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public CloudConversationDebuggingInfo getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder