# Interface BargeInConfigOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public interface BargeInConfigOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getBargeInAwareness()

    public abstract boolean getBargeInAwareness()

Optional. If enabled, the agent will adapt its next response based on the
assumption that the user hasn't heard the full preceding agent message.
This should not be used in scenarios where agent responses are displayed
visually.

`bool barge_in_awareness = 2 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The bargeInAwareness. |

### getDisableBargeIn() (deprecated)

    public abstract boolean getDisableBargeIn()

**Deprecated.** *google.cloud.ces.v1beta.BargeInConfig.disable_barge_in is deprecated. See
google/cloud/ces/v1beta/app.proto;l=361*

Optional. Disables user barge-in while the agent is speaking. If true, user
input during agent response playback will be ignored.

Deprecated: `disable_barge_in` is deprecated in favor of
`disable_barge_in_control`
in ChannelProfile.

`bool disable_barge_in = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The disableBargeIn. |