Class ChannelProfile.Builder (0.1.0)

public static final class ChannelProfile.Builder extends GeneratedMessage.Builder<ChannelProfile.Builder> implements ChannelProfileOrBuilder

A ChannelProfile configures the agent's behavior for a specific communication channel, such as web UI or telephony.

Protobuf type google.cloud.ces.v1.ChannelProfile

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ChannelProfile build()
Returns
Type Description
ChannelProfile

buildPartial()

public ChannelProfile buildPartial()
Returns
Type Description
ChannelProfile

clear()

public ChannelProfile.Builder clear()
Returns
Type Description
ChannelProfile.Builder
Overrides

clearChannelType()

public ChannelProfile.Builder clearChannelType()

Optional. The type of the channel profile.

.google.cloud.ces.v1.ChannelProfile.ChannelType channel_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.Builder

This builder for chaining.

clearDisableBargeInControl()

public ChannelProfile.Builder clearDisableBargeInControl()

Optional. Whether to disable user barge-in control in the conversation.

  • true: User interruptions are disabled while the agent is speaking.
  • false: The agent retains automatic control over when the user can interrupt.

bool disable_barge_in_control = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.Builder

This builder for chaining.

clearDisableDtmf()

public ChannelProfile.Builder clearDisableDtmf()

Optional. Whether to disable DTMF (dual-tone multi-frequency).

bool disable_dtmf = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.Builder

This builder for chaining.

clearNoiseSuppressionLevel()

public ChannelProfile.Builder clearNoiseSuppressionLevel()

Optional. The noise suppression level of the channel profile. Available values are "low", "moderate", "high", "very_high".

string noise_suppression_level = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.Builder

This builder for chaining.

clearPersonaProperty()

public ChannelProfile.Builder clearPersonaProperty()

Optional. The persona property of the channel profile.

.google.cloud.ces.v1.ChannelProfile.PersonaProperty persona_property = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.Builder

clearProfileId()

public ChannelProfile.Builder clearProfileId()

Optional. The unique identifier of the channel profile.

string profile_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.Builder

This builder for chaining.

clearWebWidgetConfig()

public ChannelProfile.Builder clearWebWidgetConfig()

Optional. The configuration for the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig web_widget_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.Builder

getChannelType()

public ChannelProfile.ChannelType getChannelType()

Optional. The type of the channel profile.

.google.cloud.ces.v1.ChannelProfile.ChannelType channel_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.ChannelType

The channelType.

getChannelTypeValue()

public int getChannelTypeValue()

Optional. The type of the channel profile.

.google.cloud.ces.v1.ChannelProfile.ChannelType channel_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for channelType.

getDefaultInstanceForType()

public ChannelProfile getDefaultInstanceForType()
Returns
Type Description
ChannelProfile

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisableBargeInControl()

public boolean getDisableBargeInControl()

Optional. Whether to disable user barge-in control in the conversation.

  • true: User interruptions are disabled while the agent is speaking.
  • false: The agent retains automatic control over when the user can interrupt.

bool disable_barge_in_control = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The disableBargeInControl.

getDisableDtmf()

public boolean getDisableDtmf()

Optional. Whether to disable DTMF (dual-tone multi-frequency).

bool disable_dtmf = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The disableDtmf.

getNoiseSuppressionLevel()

public String getNoiseSuppressionLevel()

Optional. The noise suppression level of the channel profile. Available values are "low", "moderate", "high", "very_high".

string noise_suppression_level = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The noiseSuppressionLevel.

getNoiseSuppressionLevelBytes()

public ByteString getNoiseSuppressionLevelBytes()

Optional. The noise suppression level of the channel profile. Available values are "low", "moderate", "high", "very_high".

string noise_suppression_level = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for noiseSuppressionLevel.

getPersonaProperty()

public ChannelProfile.PersonaProperty getPersonaProperty()

Optional. The persona property of the channel profile.

.google.cloud.ces.v1.ChannelProfile.PersonaProperty persona_property = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.PersonaProperty

The personaProperty.

getPersonaPropertyBuilder()

public ChannelProfile.PersonaProperty.Builder getPersonaPropertyBuilder()

Optional. The persona property of the channel profile.

.google.cloud.ces.v1.ChannelProfile.PersonaProperty persona_property = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.PersonaProperty.Builder

getPersonaPropertyOrBuilder()

public ChannelProfile.PersonaPropertyOrBuilder getPersonaPropertyOrBuilder()

Optional. The persona property of the channel profile.

.google.cloud.ces.v1.ChannelProfile.PersonaProperty persona_property = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.PersonaPropertyOrBuilder

getProfileId()

public String getProfileId()

Optional. The unique identifier of the channel profile.

string profile_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The profileId.

getProfileIdBytes()

public ByteString getProfileIdBytes()

Optional. The unique identifier of the channel profile.

string profile_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for profileId.

getWebWidgetConfig()

public ChannelProfile.WebWidgetConfig getWebWidgetConfig()

Optional. The configuration for the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig web_widget_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.WebWidgetConfig

The webWidgetConfig.

getWebWidgetConfigBuilder()

public ChannelProfile.WebWidgetConfig.Builder getWebWidgetConfigBuilder()

Optional. The configuration for the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig web_widget_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.WebWidgetConfig.Builder

getWebWidgetConfigOrBuilder()

public ChannelProfile.WebWidgetConfigOrBuilder getWebWidgetConfigOrBuilder()

Optional. The configuration for the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig web_widget_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ChannelProfile.WebWidgetConfigOrBuilder

hasPersonaProperty()

public boolean hasPersonaProperty()

Optional. The persona property of the channel profile.

.google.cloud.ces.v1.ChannelProfile.PersonaProperty persona_property = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the personaProperty field is set.

hasWebWidgetConfig()

public boolean hasWebWidgetConfig()

Optional. The configuration for the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig web_widget_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the webWidgetConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ChannelProfile other)

public ChannelProfile.Builder mergeFrom(ChannelProfile other)
Parameter
Name Description
other ChannelProfile
Returns
Type Description
ChannelProfile.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ChannelProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelProfile.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ChannelProfile.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ChannelProfile.Builder
Overrides

mergePersonaProperty(ChannelProfile.PersonaProperty value)

public ChannelProfile.Builder mergePersonaProperty(ChannelProfile.PersonaProperty value)

Optional. The persona property of the channel profile.

.google.cloud.ces.v1.ChannelProfile.PersonaProperty persona_property = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ChannelProfile.PersonaProperty
Returns
Type Description
ChannelProfile.Builder

mergeWebWidgetConfig(ChannelProfile.WebWidgetConfig value)

public ChannelProfile.Builder mergeWebWidgetConfig(ChannelProfile.WebWidgetConfig value)

Optional. The configuration for the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig web_widget_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ChannelProfile.WebWidgetConfig
Returns
Type Description
ChannelProfile.Builder

setChannelType(ChannelProfile.ChannelType value)

public ChannelProfile.Builder setChannelType(ChannelProfile.ChannelType value)

Optional. The type of the channel profile.

.google.cloud.ces.v1.ChannelProfile.ChannelType channel_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ChannelProfile.ChannelType

The channelType to set.

Returns
Type Description
ChannelProfile.Builder

This builder for chaining.

setChannelTypeValue(int value)

public ChannelProfile.Builder setChannelTypeValue(int value)

Optional. The type of the channel profile.

.google.cloud.ces.v1.ChannelProfile.ChannelType channel_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for channelType to set.

Returns
Type Description
ChannelProfile.Builder

This builder for chaining.

setDisableBargeInControl(boolean value)

public ChannelProfile.Builder setDisableBargeInControl(boolean value)

Optional. Whether to disable user barge-in control in the conversation.

  • true: User interruptions are disabled while the agent is speaking.
  • false: The agent retains automatic control over when the user can interrupt.

bool disable_barge_in_control = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The disableBargeInControl to set.

Returns
Type Description
ChannelProfile.Builder

This builder for chaining.

setDisableDtmf(boolean value)

public ChannelProfile.Builder setDisableDtmf(boolean value)

Optional. Whether to disable DTMF (dual-tone multi-frequency).

bool disable_dtmf = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The disableDtmf to set.

Returns
Type Description
ChannelProfile.Builder

This builder for chaining.

setNoiseSuppressionLevel(String value)

public ChannelProfile.Builder setNoiseSuppressionLevel(String value)

Optional. The noise suppression level of the channel profile. Available values are "low", "moderate", "high", "very_high".

string noise_suppression_level = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The noiseSuppressionLevel to set.

Returns
Type Description
ChannelProfile.Builder

This builder for chaining.

setNoiseSuppressionLevelBytes(ByteString value)

public ChannelProfile.Builder setNoiseSuppressionLevelBytes(ByteString value)

Optional. The noise suppression level of the channel profile. Available values are "low", "moderate", "high", "very_high".

string noise_suppression_level = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for noiseSuppressionLevel to set.

Returns
Type Description
ChannelProfile.Builder

This builder for chaining.

setPersonaProperty(ChannelProfile.PersonaProperty value)

public ChannelProfile.Builder setPersonaProperty(ChannelProfile.PersonaProperty value)

Optional. The persona property of the channel profile.

.google.cloud.ces.v1.ChannelProfile.PersonaProperty persona_property = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ChannelProfile.PersonaProperty
Returns
Type Description
ChannelProfile.Builder

setPersonaProperty(ChannelProfile.PersonaProperty.Builder builderForValue)

public ChannelProfile.Builder setPersonaProperty(ChannelProfile.PersonaProperty.Builder builderForValue)

Optional. The persona property of the channel profile.

.google.cloud.ces.v1.ChannelProfile.PersonaProperty persona_property = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ChannelProfile.PersonaProperty.Builder
Returns
Type Description
ChannelProfile.Builder

setProfileId(String value)

public ChannelProfile.Builder setProfileId(String value)

Optional. The unique identifier of the channel profile.

string profile_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The profileId to set.

Returns
Type Description
ChannelProfile.Builder

This builder for chaining.

setProfileIdBytes(ByteString value)

public ChannelProfile.Builder setProfileIdBytes(ByteString value)

Optional. The unique identifier of the channel profile.

string profile_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for profileId to set.

Returns
Type Description
ChannelProfile.Builder

This builder for chaining.

setWebWidgetConfig(ChannelProfile.WebWidgetConfig value)

public ChannelProfile.Builder setWebWidgetConfig(ChannelProfile.WebWidgetConfig value)

Optional. The configuration for the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig web_widget_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ChannelProfile.WebWidgetConfig
Returns
Type Description
ChannelProfile.Builder

setWebWidgetConfig(ChannelProfile.WebWidgetConfig.Builder builderForValue)

public ChannelProfile.Builder setWebWidgetConfig(ChannelProfile.WebWidgetConfig.Builder builderForValue)

Optional. The configuration for the web widget.

.google.cloud.ces.v1.ChannelProfile.WebWidgetConfig web_widget_config = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ChannelProfile.WebWidgetConfig.Builder
Returns
Type Description
ChannelProfile.Builder