Interface StreamingAnalyzeContentResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StreamingAnalyzeContentResponse
,StreamingAnalyzeContentResponse.Builder
public interface StreamingAnalyzeContentResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutomatedAgentReply
getAutomatedAgentReply()
Optional.AutomatedAgentReplyOrBuilder
getAutomatedAgentReplyOrBuilder()
Optional.CloudConversationDebuggingInfo
getDebuggingInfo()
Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.CloudConversationDebuggingInfoOrBuilder
getDebuggingInfoOrBuilder()
Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.DtmfParameters
getDtmfParameters()
Indicates the parameters of DTMF.DtmfParametersOrBuilder
getDtmfParametersOrBuilder()
Indicates the parameters of DTMF.SuggestionResult
getEndUserSuggestionResults(int index)
The suggestions for end user.int
getEndUserSuggestionResultsCount()
The suggestions for end user.List<SuggestionResult>
getEndUserSuggestionResultsList()
The suggestions for end user.SuggestionResultOrBuilder
getEndUserSuggestionResultsOrBuilder(int index)
The suggestions for end user.List<? extends SuggestionResultOrBuilder>
getEndUserSuggestionResultsOrBuilderList()
The suggestions for end user.SuggestionResult
getHumanAgentSuggestionResults(int index)
The suggestions for most recent human agent.int
getHumanAgentSuggestionResultsCount()
The suggestions for most recent human agent.List<SuggestionResult>
getHumanAgentSuggestionResultsList()
The suggestions for most recent human agent.SuggestionResultOrBuilder
getHumanAgentSuggestionResultsOrBuilder(int index)
The suggestions for most recent human agent.List<? extends SuggestionResultOrBuilder>
getHumanAgentSuggestionResultsOrBuilderList()
The suggestions for most recent human agent.Message
getMessage()
Output only.MessageOrBuilder
getMessageOrBuilder()
Output only.StreamingRecognitionResult
getRecognitionResult()
The result of speech recognition.StreamingRecognitionResultOrBuilder
getRecognitionResultOrBuilder()
The result of speech recognition.OutputAudio
getReplyAudio()
Optional.OutputAudioOrBuilder
getReplyAudioOrBuilder()
Optional.String
getReplyText()
Optional.com.google.protobuf.ByteString
getReplyTextBytes()
Optional.boolean
hasAutomatedAgentReply()
Optional.boolean
hasDebuggingInfo()
Debugging info that would get populated when `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true.boolean
hasDtmfParameters()
Indicates the parameters of DTMF.boolean
hasMessage()
Output only.boolean
hasRecognitionResult()
The result of speech recognition.boolean
hasReplyAudio()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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;
-
getReplyText
String getReplyText()
Optional. 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()
Optional. 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()
Optional. 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.v2beta1.OutputAudio reply_audio = 3;
- Returns:
- Whether the replyAudio field is set.
-
getReplyAudio
OutputAudio getReplyAudio()
Optional. 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.v2beta1.OutputAudio reply_audio = 3;
- Returns:
- The replyAudio.
-
getReplyAudioOrBuilder
OutputAudioOrBuilder getReplyAudioOrBuilder()
Optional. 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.v2beta1.OutputAudio reply_audio = 3;
-
hasAutomatedAgentReply
boolean hasAutomatedAgentReply()
Optional. Only set if a Dialogflow automated agent has responded. Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] and [AutomatedAgentReply.detect_intent_response.output_audio_config][] are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4;
- Returns:
- Whether the automatedAgentReply field is set.
-
getAutomatedAgentReply
AutomatedAgentReply getAutomatedAgentReply()
Optional. Only set if a Dialogflow automated agent has responded. Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] and [AutomatedAgentReply.detect_intent_response.output_audio_config][] are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4;
- Returns:
- The automatedAgentReply.
-
getAutomatedAgentReplyOrBuilder
AutomatedAgentReplyOrBuilder getAutomatedAgentReplyOrBuilder()
Optional. Only set if a Dialogflow automated agent has responded. Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] and [AutomatedAgentReply.detect_intent_response.output_audio_config][] are always empty, use [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] instead.
.google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 4;
-
hasMessage
boolean hasMessage()
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 6;
- Returns:
- Whether the message field is set.
-
getMessage
Message getMessage()
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.Message message = 6;
- Returns:
- The message.
-
getMessageOrBuilder
MessageOrBuilder getMessageOrBuilder()
Output only. Message analyzed by CCAI.
.google.cloud.dialogflow.v2beta1.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.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
-
getHumanAgentSuggestionResults
SuggestionResult getHumanAgentSuggestionResults(int index)
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.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.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.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.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 7;
-
getHumanAgentSuggestionResultsOrBuilder
SuggestionResultOrBuilder getHumanAgentSuggestionResultsOrBuilder(int index)
The suggestions for most recent human agent. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.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.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
-
getEndUserSuggestionResults
SuggestionResult getEndUserSuggestionResults(int index)
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.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.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.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.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
-
getEndUserSuggestionResultsOrBuilder
SuggestionResultOrBuilder getEndUserSuggestionResultsOrBuilder(int index)
The suggestions for end user. The order is the same as [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] of [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config].
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 8;
-
hasDtmfParameters
boolean hasDtmfParameters()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 10;
- Returns:
- Whether the dtmfParameters field is set.
-
getDtmfParameters
DtmfParameters getDtmfParameters()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 10;
- Returns:
- The dtmfParameters.
-
getDtmfParametersOrBuilder
DtmfParametersOrBuilder getDtmfParametersOrBuilder()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2beta1.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.v2beta1.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.v2beta1.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.v2beta1.CloudConversationDebuggingInfo debugging_info = 11;
-
-