Interface StreamingAnalyzeContentResponseOrBuilder (4.47.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
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 = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CloudConversationDebuggingInfoOrBuilder

getDtmfParameters()

public abstract DtmfParameters getDtmfParameters()

Indicates the parameters of DTMF.

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

Returns
TypeDescription
DtmfParameters

The dtmfParameters.

getDtmfParametersOrBuilder()

public abstract DtmfParametersOrBuilder getDtmfParametersOrBuilder()

Indicates the parameters of DTMF.

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

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 = 8;

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 = 8;

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 = 8;

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 = 8;

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 = 8;

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 = 7;

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 = 7;

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 = 7;

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 = 7;

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 = 7;

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 = 6;

Returns
TypeDescription
Message

The message.

getMessageOrBuilder()

public abstract MessageOrBuilder getMessageOrBuilder()

Output only. Message analyzed by CCAI.

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

Returns
TypeDescription
MessageOrBuilder

getRecognitionResult()

public abstract StreamingRecognitionResult getRecognitionResult()

The result of speech recognition.

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

Returns
TypeDescription
StreamingRecognitionResult

The recognitionResult.

getRecognitionResultOrBuilder()

public abstract StreamingRecognitionResultOrBuilder getRecognitionResultOrBuilder()

The result of speech recognition.

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

Returns
TypeDescription
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
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:

  • 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
TypeDescription
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
TypeDescription
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
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 = 4;

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the replyAudio field is set.