Interface StreamingAnalyzeContentResponseOrBuilder (4.54.0)

public interface StreamingAnalyzeContentResponseOrBuilder 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 = 4;

Returns
Type Description
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 = 4;

Returns
Type Description
AutomatedAgentReplyOrBuilder

getDebuggingInfo()

public abstract 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
Type Description
CloudConversationDebuggingInfo

The debuggingInfo.

getDebuggingInfoOrBuilder()

public abstract 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;

Returns
Type Description
CloudConversationDebuggingInfoOrBuilder

getDtmfParameters()

public abstract DtmfParameters getDtmfParameters()

Indicates the parameters of DTMF.

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

Returns
Type Description
DtmfParameters

The dtmfParameters.

getDtmfParametersOrBuilder()

public abstract DtmfParametersOrBuilder getDtmfParametersOrBuilder()

Indicates the parameters of DTMF.

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

Returns
Type Description
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 = 8;

Parameter
Name Description
index int
Returns
Type Description
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 = 8;

Returns
Type Description
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 = 8;

Returns
Type Description
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 = 8;

Parameter
Name Description
index int
Returns
Type Description
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 = 8;

Returns
Type Description
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 = 7;

Parameter
Name Description
index int
Returns
Type Description
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 = 7;

Returns
Type Description
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 = 7;

Returns
Type Description
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 = 7;

Parameter
Name Description
index int
Returns
Type Description
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 = 7;

Returns
Type Description
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 = 6;

Returns
Type Description
Message

The message.

getMessageOrBuilder()

public abstract MessageOrBuilder getMessageOrBuilder()

Output only. Message analyzed by CCAI.

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

Returns
Type Description
MessageOrBuilder

getRecognitionResult()

public abstract StreamingRecognitionResult getRecognitionResult()

The result of speech recognition.

.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;

Returns
Type Description
StreamingRecognitionResult

The recognitionResult.

getRecognitionResultOrBuilder()

public abstract StreamingRecognitionResultOrBuilder getRecognitionResultOrBuilder()

The result of speech recognition.

.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;

Returns
Type Description
StreamingRecognitionResultOrBuilder

getReplyAudio()

public abstract 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
Type Description
OutputAudio

The replyAudio.

getReplyAudioOrBuilder()

public abstract 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;

Returns
Type Description
OutputAudioOrBuilder

getReplyText()

public abstract 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
Type Description
String

The replyText.

getReplyTextBytes()

public abstract 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
Type Description
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 = 4;

Returns
Type Description
boolean

Whether the automatedAgentReply field is set.

hasDebuggingInfo()

public abstract 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
Type Description
boolean

Whether the debuggingInfo field is set.

hasDtmfParameters()

public abstract boolean hasDtmfParameters()

Indicates the parameters of DTMF.

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

Returns
Type Description
boolean

Whether the dtmfParameters field is set.

hasMessage()

public abstract boolean hasMessage()

Output only. Message analyzed by CCAI.

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

Returns
Type Description
boolean

Whether the message field is set.

hasRecognitionResult()

public abstract boolean hasRecognitionResult()

The result of speech recognition.

.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;

Returns
Type Description
boolean

Whether the recognitionResult field is set.

hasReplyAudio()

public abstract 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
Type Description
boolean

Whether the replyAudio field is set.