public static final class BargeInConfig.Builder extends GeneratedMessage.Builder<BargeInConfig.Builder> implements BargeInConfigOrBuilderConfiguration for how the user barge-in activities should be handled.
Protobuf type google.cloud.ces.v1.BargeInConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BargeInConfig.BuilderImplements
BargeInConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BargeInConfig build()| Returns | |
|---|---|
| Type | Description |
BargeInConfig |
|
buildPartial()
public BargeInConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
BargeInConfig |
|
clear()
public BargeInConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
BargeInConfig.Builder |
|
clearBargeInAwareness()
public BargeInConfig.Builder clearBargeInAwareness()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 |
BargeInConfig.Builder |
This builder for chaining. |
clearDisableBargeIn() (deprecated)
public BargeInConfig.Builder clearDisableBargeIn()Deprecated. google.cloud.ces.v1.BargeInConfig.disable_barge_in is deprecated. See google/cloud/ces/v1/app.proto;l=333
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 |
BargeInConfig.Builder |
This builder for chaining. |
getBargeInAwareness()
public 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 |
boolean |
The bargeInAwareness. |
getDefaultInstanceForType()
public BargeInConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BargeInConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisableBargeIn() (deprecated)
public boolean getDisableBargeIn()Deprecated. google.cloud.ces.v1.BargeInConfig.disable_barge_in is deprecated. See google/cloud/ces/v1/app.proto;l=333
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 |
boolean |
The disableBargeIn. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BargeInConfig other)
public BargeInConfig.Builder mergeFrom(BargeInConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
BargeInConfig |
| Returns | |
|---|---|
| Type | Description |
BargeInConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BargeInConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BargeInConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BargeInConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BargeInConfig.Builder |
|
setBargeInAwareness(boolean value)
public BargeInConfig.Builder setBargeInAwareness(boolean value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe bargeInAwareness to set. |
| Returns | |
|---|---|
| Type | Description |
BargeInConfig.Builder |
This builder for chaining. |
setDisableBargeIn(boolean value) (deprecated)
public BargeInConfig.Builder setDisableBargeIn(boolean value)Deprecated. google.cloud.ces.v1.BargeInConfig.disable_barge_in is deprecated. See google/cloud/ces/v1/app.proto;l=333
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];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe disableBargeIn to set. |
| Returns | |
|---|---|
| Type | Description |
BargeInConfig.Builder |
This builder for chaining. |