# Interface StreamingAnalyzeContentResponseOrBuilder (4.99.0)

4.99.0 (latest) 4.97.0 4.94.0 4.93.0 4.91.0 4.89.0 4.88.0 4.87.0 4.86.0 4.84.0 4.82.0 4.81.0 4.80.0 4.79.0 4.78.0 4.76.0 4.74.0 4.73.0 4.70.0 4.69.0 4.68.0 4.66.0 4.65.0 4.64.0 4.63.0 4.62.0 4.61.0 4.60.0 4.59.0 4.58.0 4.57.0 4.55.0 4.54.0 4.53.0 4.52.0 4.51.0 4.50.0 4.49.0 4.48.0 4.47.0 4.46.0 4.45.0 4.43.0 4.42.0 4.41.0 4.40.0 4.39.0 4.38.0 4.37.0 4.36.0 4.35.0 4.34.0 4.33.0 4.30.0 4.29.0 4.28.0 4.27.0 4.26.0 4.25.0 4.24.0 4.23.0 4.22.0 4.21.0 4.20.0 4.19.0 4.18.0 4.17.0 4.15.0 4.14.0 4.13.0 4.12.0 4.11.0 4.10.0 4.9.1 4.8.6 4.7.5 4.6.0 4.5.11 4.4.0 4.3.1

    public interface StreamingAnalyzeContentResponseOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dialogflow/latest/com.google.cloud.dialogflow.v2beta1.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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dialogflow/latest/com.google.cloud.dialogflow.v2beta1.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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dialogflow/latest/com.google.cloud.dialogflow.v2beta1.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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dialogflow/latest/com.google.cloud.dialogflow.v2beta1.CloudConversationDebuggingInfoOrBuilder` |   |

### getDtmfParameters()

    public abstract DtmfParameters getDtmfParameters()

Indicates the parameters of DTMF.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dialogflow/latest/com.google.cloud.dialogflow.v2beta1.DtmfParameters` | The dtmfParameters. |

### getDtmfParametersOrBuilder()

    public abstract DtmfParametersOrBuilder getDtmfParametersOrBuilder()

Indicates the parameters of DTMF.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dialogflow/latest/com.google.cloud.dialogflow.v2beta1.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` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dialogflow/latest/com.google.cloud.dialogflow.v2beta1.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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-dialogflow/latest/com.google.cloud.dialogflow.v2beta1.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` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dialogflow/latest/com.google.cloud.dialogflow.v2beta1.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** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? 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` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dialogflow/latest/com.google.cloud.dialogflow.v2beta1.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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-dialogflow/latest/com.google.cloud.dialogflow.v2beta1.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` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dialogflow/latest/com.google.cloud.dialogflow.v2beta1.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** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dialogflow/latest/com.google.cloud.dialogflow.v2beta1.Message` | The message. |

### getMessageOrBuilder()

    public abstract MessageOrBuilder getMessageOrBuilder()

Output only. Message analyzed by CCAI.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dialogflow/latest/com.google.cloud.dialogflow.v2beta1.MessageOrBuilder` |   |

### getRecognitionResult()

    public abstract StreamingRecognitionResult getRecognitionResult()

The result of speech recognition.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dialogflow/latest/com.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult` | The recognitionResult. |

### getRecognitionResultOrBuilder()

    public abstract StreamingRecognitionResultOrBuilder getRecognitionResultOrBuilder()

The result of speech recognition.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dialogflow/latest/com.google.cloud.dialogflow.v2beta1.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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dialogflow/latest/com.google.cloud.dialogflow.v2beta1.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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-dialogflow/latest/com.google.cloud.dialogflow.v2beta1.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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for replyText. |

### getSpeechModel()

    public abstract String getSpeechModel()

The name of the actual Cloud speech model used for speech recognition.

`string speech_model = 13;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The speechModel. |

### getSpeechModelBytes()

    public abstract ByteString getSpeechModelBytes()

The name of the actual Cloud speech model used for speech recognition.

`string speech_model = 13;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for speechModel. |

### 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the replyAudio field is set. |