Package com.google.cloud.dialogflow.v2
Interface StreamingAnalyzeContentResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StreamingAnalyzeContentResponse,StreamingAnalyzeContentResponse.Builder
@Generated
public interface StreamingAnalyzeContentResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionNote that in [AutomatedAgentReply.DetectIntentResponse][], [Sessions.DetectIntentResponse.output_audio][] and [Sessions.DetectIntentResponse.output_audio_config][] are always empty, use [reply_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.reply_audio] instead.Note that in [AutomatedAgentReply.DetectIntentResponse][], [Sessions.DetectIntentResponse.output_audio][] and [Sessions.DetectIntentResponse.output_audio_config][] are always empty, use [reply_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.reply_audio] instead.Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.Indicates the parameters of DTMF.Indicates the parameters of DTMF.getEndUserSuggestionResults(int index) The suggestions for end user.intThe suggestions for end user.The suggestions for end user.getEndUserSuggestionResultsOrBuilder(int index) The suggestions for end user.List<? extends SuggestionResultOrBuilder>The suggestions for end user.getHumanAgentSuggestionResults(int index) The suggestions for most recent human agent.intThe suggestions for most recent human agent.The suggestions for most recent human agent.getHumanAgentSuggestionResultsOrBuilder(int index) The suggestions for most recent human agent.List<? extends SuggestionResultOrBuilder>The suggestions for most recent human agent.Message analyzed by CCAI.Message analyzed by CCAI.The result of speech recognition.The result of speech recognition.The audio data bytes encoded as specified in the request.The audio data bytes encoded as specified in the request.The output text content.com.google.protobuf.ByteStringThe output text content.The name of the actual Cloud speech model used for speech recognition.com.google.protobuf.ByteStringThe name of the actual Cloud speech model used for speech recognition.booleanNote that in [AutomatedAgentReply.DetectIntentResponse][], [Sessions.DetectIntentResponse.output_audio][] and [Sessions.DetectIntentResponse.output_audio_config][] are always empty, use [reply_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.reply_audio] instead.booleanDebugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.booleanIndicates the parameters of DTMF.booleanMessage analyzed by CCAI.booleanThe result of speech recognition.booleanThe audio data bytes encoded as specified in the request.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.v2.StreamingRecognitionResult recognition_result = 1;- Returns:
- Whether the recognitionResult field is set.
-
getRecognitionResult
StreamingRecognitionResult getRecognitionResult()The result of speech recognition.
.google.cloud.dialogflow.v2.StreamingRecognitionResult recognition_result = 1;- Returns:
- The recognitionResult.
-
getRecognitionResultOrBuilder
StreamingRecognitionResultOrBuilder getRecognitionResultOrBuilder()The result of speech recognition.
.google.cloud.dialogflow.v2.StreamingRecognitionResult recognition_result = 1; -
getReplyText
String getReplyText()The output text content. This field is set if an automated agent responded with a text for the user.
string reply_text = 2;- Returns:
- The replyText.
-
getReplyTextBytes
com.google.protobuf.ByteString getReplyTextBytes()The output text content. This field is set if an automated agent responded with a text for the user.
string reply_text = 2;- Returns:
- The bytes for replyText.
-
hasReplyAudio
boolean hasReplyAudio()The audio data bytes encoded as specified in the request. This field is set if: - The `reply_audio_config` field is specified in the request. - The automated agent, which this output comes from, responded with audio. In such case, the `reply_audio.config` field contains settings used to synthesize the speech. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.
.google.cloud.dialogflow.v2.OutputAudio reply_audio = 3;- Returns:
- Whether the replyAudio field is set.
-
getReplyAudio
OutputAudio getReplyAudio()The audio data bytes encoded as specified in the request. This field is set if: - The `reply_audio_config` field is specified in the request. - The automated agent, which this output comes from, responded with audio. In such case, the `reply_audio.config` field contains settings used to synthesize the speech. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.
.google.cloud.dialogflow.v2.OutputAudio reply_audio = 3;- Returns:
- The replyAudio.
-
getReplyAudioOrBuilder
OutputAudioOrBuilder getReplyAudioOrBuilder()The audio data bytes encoded as specified in the request. This field is set if: - The `reply_audio_config` field is specified in the request. - The automated agent, which this output comes from, responded with audio. In such case, the `reply_audio.config` field contains settings used to synthesize the speech. In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.
.google.cloud.dialogflow.v2.OutputAudio reply_audio = 3; -
hasAutomatedAgentReply
boolean hasAutomatedAgentReply()Note that in [AutomatedAgentReply.DetectIntentResponse][], [Sessions.DetectIntentResponse.output_audio][] and [Sessions.DetectIntentResponse.output_audio_config][] are always empty, use [reply_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.reply_audio] instead.
.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4;- Returns:
- Whether the automatedAgentReply field is set.
-
getAutomatedAgentReply
AutomatedAgentReply getAutomatedAgentReply()Note that in [AutomatedAgentReply.DetectIntentResponse][], [Sessions.DetectIntentResponse.output_audio][] and [Sessions.DetectIntentResponse.output_audio_config][] are always empty, use [reply_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.reply_audio] instead.
.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4;- Returns:
- The automatedAgentReply.
-
getAutomatedAgentReplyOrBuilder
AutomatedAgentReplyOrBuilder getAutomatedAgentReplyOrBuilder()Note that in [AutomatedAgentReply.DetectIntentResponse][], [Sessions.DetectIntentResponse.output_audio][] and [Sessions.DetectIntentResponse.output_audio_config][] are always empty, use [reply_audio][google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse.reply_audio] instead.
.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 4; -
hasMessage
boolean hasMessage()Message analyzed by CCAI.
.google.cloud.dialogflow.v2.Message message = 6;- Returns:
- Whether the message field is set.
-
getMessage
Message getMessage()Message analyzed by CCAI.
.google.cloud.dialogflow.v2.Message message = 6;- Returns:
- The message.
-
getMessageOrBuilder
MessageOrBuilder getMessageOrBuilder()Message analyzed by CCAI.
.google.cloud.dialogflow.v2.Message message = 6; -
getHumanAgentSuggestionResultsList
List<SuggestionResult> getHumanAgentSuggestionResultsList()The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7; -
getHumanAgentSuggestionResults
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7; -
getHumanAgentSuggestionResultsCount
int getHumanAgentSuggestionResultsCount()The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7; -
getHumanAgentSuggestionResultsOrBuilderList
List<? extends SuggestionResultOrBuilder> getHumanAgentSuggestionResultsOrBuilderList()The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7; -
getHumanAgentSuggestionResultsOrBuilder
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 7; -
getEndUserSuggestionResultsList
List<SuggestionResult> getEndUserSuggestionResultsList()The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8; -
getEndUserSuggestionResults
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8; -
getEndUserSuggestionResultsCount
int getEndUserSuggestionResultsCount()The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8; -
getEndUserSuggestionResultsOrBuilderList
List<? extends SuggestionResultOrBuilder> getEndUserSuggestionResultsOrBuilderList()The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8; -
getEndUserSuggestionResultsOrBuilder
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 8; -
hasDtmfParameters
boolean hasDtmfParameters()Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 10;- Returns:
- Whether the dtmfParameters field is set.
-
getDtmfParameters
DtmfParameters getDtmfParameters()Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 10;- Returns:
- The dtmfParameters.
-
getDtmfParametersOrBuilder
DtmfParametersOrBuilder getDtmfParametersOrBuilder()Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 10; -
hasDebuggingInfo
boolean hasDebuggingInfo()Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.
.google.cloud.dialogflow.v2.CloudConversationDebuggingInfo debugging_info = 11;- Returns:
- Whether the debuggingInfo field is set.
-
getDebuggingInfo
CloudConversationDebuggingInfo getDebuggingInfo()Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.
.google.cloud.dialogflow.v2.CloudConversationDebuggingInfo debugging_info = 11;- Returns:
- The debuggingInfo.
-
getDebuggingInfoOrBuilder
CloudConversationDebuggingInfoOrBuilder getDebuggingInfoOrBuilder()Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.
.google.cloud.dialogflow.v2.CloudConversationDebuggingInfo debugging_info = 11; -
getSpeechModel
String getSpeechModel()The name of the actual Cloud speech model used for speech recognition.
string speech_model = 13;- Returns:
- The speechModel.
-
getSpeechModelBytes
com.google.protobuf.ByteString getSpeechModelBytes()The name of the actual Cloud speech model used for speech recognition.
string speech_model = 13;- Returns:
- The bytes for speechModel.
-