public interface AnalyzeContentResponseOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
AutomatedAgentReply |
getAutomatedAgentReply()
Only set if a Dialogflow automated agent has responded.
|
AutomatedAgentReplyOrBuilder |
getAutomatedAgentReplyOrBuilder()
Only set if a Dialogflow automated agent has responded.
|
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()
Message analyzed by CCAI.
|
MessageOrBuilder |
getMessageOrBuilder()
Message analyzed by CCAI.
|
OutputAudio |
getReplyAudio()
The audio data bytes encoded as specified in the request.
|
OutputAudioOrBuilder |
getReplyAudioOrBuilder()
The audio data bytes encoded as specified in the request.
|
String |
getReplyText()
The output text content.
|
ByteString |
getReplyTextBytes()
The output text content.
|
boolean |
hasAutomatedAgentReply()
Only set if a Dialogflow automated agent has responded.
|
boolean |
hasDtmfParameters()
Indicates the parameters of DTMF.
|
boolean |
hasMessage()
Message analyzed by CCAI.
|
boolean |
hasReplyAudio()
The audio data bytes encoded as specified in the request.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getReplyText()
The output text content. This field is set if the automated agent responded with text to show to the user.
string reply_text = 1;
ByteString getReplyTextBytes()
The output text content. This field is set if the automated agent responded with text to show to the user.
string reply_text = 1;
boolean hasReplyAudio()
The audio data bytes encoded as specified in the request. This field is set if: - `reply_audio_config` was specified in the request, or - The automated agent responded with audio to play to the user. In such case, `reply_audio.config` 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 = 2;
OutputAudio getReplyAudio()
The audio data bytes encoded as specified in the request. This field is set if: - `reply_audio_config` was specified in the request, or - The automated agent responded with audio to play to the user. In such case, `reply_audio.config` 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 = 2;
OutputAudioOrBuilder getReplyAudioOrBuilder()
The audio data bytes encoded as specified in the request. This field is set if: - `reply_audio_config` was specified in the request, or - The automated agent responded with audio to play to the user. In such case, `reply_audio.config` 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 = 2;
boolean hasAutomatedAgentReply()
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.v2.AnalyzeContentResponse.reply_audio] instead.
.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 3;
AutomatedAgentReply getAutomatedAgentReply()
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.v2.AnalyzeContentResponse.reply_audio] instead.
.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 3;
AutomatedAgentReplyOrBuilder getAutomatedAgentReplyOrBuilder()
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.v2.AnalyzeContentResponse.reply_audio] instead.
.google.cloud.dialogflow.v2.AutomatedAgentReply automated_agent_reply = 3;
boolean hasMessage()
Message analyzed by CCAI.
.google.cloud.dialogflow.v2.Message message = 5;
Message getMessage()
Message analyzed by CCAI.
.google.cloud.dialogflow.v2.Message message = 5;
MessageOrBuilder getMessageOrBuilder()
Message analyzed by CCAI.
.google.cloud.dialogflow.v2.Message message = 5;
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]. Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;
SuggestionResult getHumanAgentSuggestionResults(int index)
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]. Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;
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]. Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;
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]. Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;
SuggestionResultOrBuilder getHumanAgentSuggestionResultsOrBuilder(int index)
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]. Note that any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.
repeated .google.cloud.dialogflow.v2.SuggestionResult human_agent_suggestion_results = 6;
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]. Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;
SuggestionResult getEndUserSuggestionResults(int index)
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]. Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;
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]. Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;
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]. Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;
SuggestionResultOrBuilder getEndUserSuggestionResultsOrBuilder(int index)
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]. Same as human_agent_suggestion_results, any failure of Agent Assist features will not lead to the overall failure of an AnalyzeContent API call. Instead, the features will fail silently with the error field set in the corresponding SuggestionResult.
repeated .google.cloud.dialogflow.v2.SuggestionResult end_user_suggestion_results = 7;
boolean hasDtmfParameters()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 9;
DtmfParameters getDtmfParameters()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 9;
DtmfParametersOrBuilder getDtmfParametersOrBuilder()
Indicates the parameters of DTMF.
.google.cloud.dialogflow.v2.DtmfParameters dtmf_parameters = 9;
Copyright © 2022 Google LLC. All rights reserved.