Interface BidiStreamingAnalyzeContentResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BidiStreamingAnalyzeContentResponse,BidiStreamingAnalyzeContentResponse.Builder
@Generated
public interface BidiStreamingAnalyzeContentResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe agent response from analyze content.The agent response from analyze content.Indicate the user barge-in has been detected, and client should stop playing back the audio.Indicate the user barge-in has been detected, and client should stop playing back the audio.The result of speech recognition.The result of speech recognition.Indicate that the turn is complete.Indicate that the turn is complete.booleanThe agent response from analyze content.booleanIndicate the user barge-in has been detected, and client should stop playing back the audio.booleanThe result of speech recognition.booleanIndicate that the turn is complete.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasRecognitionResult
boolean hasRecognitionResult()The result of speech recognition.
.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;- Returns:
- Whether the recognitionResult field is set.
-
getRecognitionResult
StreamingRecognitionResult getRecognitionResult()The result of speech recognition.
.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;- Returns:
- The recognitionResult.
-
getRecognitionResultOrBuilder
StreamingRecognitionResultOrBuilder getRecognitionResultOrBuilder()The result of speech recognition.
.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1; -
hasBargeInSignal
boolean hasBargeInSignal()Indicate the user barge-in has been detected, and client should stop playing back the audio.
.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.BargeInSignal barge_in_signal = 2;- Returns:
- Whether the bargeInSignal field is set.
-
getBargeInSignal
BidiStreamingAnalyzeContentResponse.BargeInSignal getBargeInSignal()Indicate the user barge-in has been detected, and client should stop playing back the audio.
.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.BargeInSignal barge_in_signal = 2;- Returns:
- The bargeInSignal.
-
getBargeInSignalOrBuilder
BidiStreamingAnalyzeContentResponse.BargeInSignalOrBuilder getBargeInSignalOrBuilder()Indicate the user barge-in has been detected, and client should stop playing back the audio.
.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.BargeInSignal barge_in_signal = 2; -
hasAnalyzeContentResponse
boolean hasAnalyzeContentResponse()The agent response from analyze content.
.google.cloud.dialogflow.v2beta1.AnalyzeContentResponse analyze_content_response = 3;- Returns:
- Whether the analyzeContentResponse field is set.
-
getAnalyzeContentResponse
AnalyzeContentResponse getAnalyzeContentResponse()The agent response from analyze content.
.google.cloud.dialogflow.v2beta1.AnalyzeContentResponse analyze_content_response = 3;- Returns:
- The analyzeContentResponse.
-
getAnalyzeContentResponseOrBuilder
AnalyzeContentResponseOrBuilder getAnalyzeContentResponseOrBuilder()The agent response from analyze content.
.google.cloud.dialogflow.v2beta1.AnalyzeContentResponse analyze_content_response = 3; -
hasTurnComplete
boolean hasTurnComplete()Indicate that the turn is complete.
.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.TurnComplete turn_complete = 4;- Returns:
- Whether the turnComplete field is set.
-
getTurnComplete
BidiStreamingAnalyzeContentResponse.TurnComplete getTurnComplete()Indicate that the turn is complete.
.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.TurnComplete turn_complete = 4;- Returns:
- The turnComplete.
-
getTurnCompleteOrBuilder
BidiStreamingAnalyzeContentResponse.TurnCompleteOrBuilder getTurnCompleteOrBuilder()Indicate that the turn is complete.
.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.TurnComplete turn_complete = 4; -
getResponseCase
BidiStreamingAnalyzeContentResponse.ResponseCase getResponseCase()
-