Interface AnalyzeContentResponseOrBuilder (4.3.1)

public interface AnalyzeContentResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAutomatedAgentReply()

public abstract 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 instead.

.google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 3;

Returns
TypeDescription
AutomatedAgentReply

The automatedAgentReply.

getAutomatedAgentReplyOrBuilder()

public abstract 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 instead.

.google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 3;

Returns
TypeDescription
AutomatedAgentReplyOrBuilder

getDtmfParameters()

public abstract DtmfParameters getDtmfParameters()

Indicates the parameters of DTMF.

.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 9;

Returns
TypeDescription
DtmfParameters

The dtmfParameters.

getDtmfParametersOrBuilder()

public abstract DtmfParametersOrBuilder getDtmfParametersOrBuilder()

Indicates the parameters of DTMF.

.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 9;

Returns
TypeDescription
DtmfParametersOrBuilder

getEndUserSuggestionResults(int index)

public abstract SuggestionResult getEndUserSuggestionResults(int index)

The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.

repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
SuggestionResult

getEndUserSuggestionResultsCount()

public abstract int getEndUserSuggestionResultsCount()

The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.

repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 7;

Returns
TypeDescription
int

getEndUserSuggestionResultsList()

public abstract List<SuggestionResult> getEndUserSuggestionResultsList()

The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.

repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 7;

Returns
TypeDescription
List<SuggestionResult>

getEndUserSuggestionResultsOrBuilder(int index)

public abstract SuggestionResultOrBuilder getEndUserSuggestionResultsOrBuilder(int index)

The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.

repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
SuggestionResultOrBuilder

getEndUserSuggestionResultsOrBuilderList()

public abstract List<? extends SuggestionResultOrBuilder> getEndUserSuggestionResultsOrBuilderList()

The suggestions for end user. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.end_user_suggestion_config.

repeated .google.cloud.dialogflow.v2beta1.SuggestionResult end_user_suggestion_results = 7;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.v2beta1.SuggestionResultOrBuilder>

getHumanAgentSuggestionResults(int index)

public abstract SuggestionResult getHumanAgentSuggestionResults(int index)

The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.

repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
SuggestionResult

getHumanAgentSuggestionResultsCount()

public abstract int getHumanAgentSuggestionResultsCount()

The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.

repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 6;

Returns
TypeDescription
int

getHumanAgentSuggestionResultsList()

public abstract List<SuggestionResult> getHumanAgentSuggestionResultsList()

The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.

repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 6;

Returns
TypeDescription
List<SuggestionResult>

getHumanAgentSuggestionResultsOrBuilder(int index)

public abstract SuggestionResultOrBuilder getHumanAgentSuggestionResultsOrBuilder(int index)

The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.

repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
SuggestionResultOrBuilder

getHumanAgentSuggestionResultsOrBuilderList()

public abstract List<? extends SuggestionResultOrBuilder> getHumanAgentSuggestionResultsOrBuilderList()

The suggestions for most recent human agent. The order is the same as HumanAgentAssistantConfig.SuggestionConfig.feature_configs of HumanAgentAssistantConfig.human_agent_suggestion_config.

repeated .google.cloud.dialogflow.v2beta1.SuggestionResult human_agent_suggestion_results = 6;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.v2beta1.SuggestionResultOrBuilder>

getMessage()

public abstract Message getMessage()

Output only. Message analyzed by CCAI.

.google.cloud.dialogflow.v2beta1.Message message = 5;

Returns
TypeDescription
Message

The message.

getMessageOrBuilder()

public abstract MessageOrBuilder getMessageOrBuilder()

Output only. Message analyzed by CCAI.

.google.cloud.dialogflow.v2beta1.Message message = 5;

Returns
TypeDescription
MessageOrBuilder

getReplyAudio()

public abstract OutputAudio getReplyAudio()

Optional. 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.v2beta1.OutputAudio reply_audio = 2;

Returns
TypeDescription
OutputAudio

The replyAudio.

getReplyAudioOrBuilder()

public abstract OutputAudioOrBuilder getReplyAudioOrBuilder()

Optional. 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.v2beta1.OutputAudio reply_audio = 2;

Returns
TypeDescription
OutputAudioOrBuilder

getReplyText()

public abstract String getReplyText()

Output only. The output text content. This field is set if the automated agent responded with text to show to the user.

string reply_text = 1;

Returns
TypeDescription
String

The replyText.

getReplyTextBytes()

public abstract ByteString getReplyTextBytes()

Output only. The output text content. This field is set if the automated agent responded with text to show to the user.

string reply_text = 1;

Returns
TypeDescription
ByteString

The bytes for replyText.

hasAutomatedAgentReply()

public abstract 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 instead.

.google.cloud.dialogflow.v2beta1.AutomatedAgentReply automated_agent_reply = 3;

Returns
TypeDescription
boolean

Whether the automatedAgentReply field is set.

hasDtmfParameters()

public abstract boolean hasDtmfParameters()

Indicates the parameters of DTMF.

.google.cloud.dialogflow.v2beta1.DtmfParameters dtmf_parameters = 9;

Returns
TypeDescription
boolean

Whether the dtmfParameters field is set.

hasMessage()

public abstract boolean hasMessage()

Output only. Message analyzed by CCAI.

.google.cloud.dialogflow.v2beta1.Message message = 5;

Returns
TypeDescription
boolean

Whether the message field is set.

hasReplyAudio()

public abstract boolean hasReplyAudio()

Optional. 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.v2beta1.OutputAudio reply_audio = 2;

Returns
TypeDescription
boolean

Whether the replyAudio field is set.