Class ChannelProfile (0.1.0)

public final class ChannelProfile extends GeneratedMessage 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 Fields

CHANNEL_TYPE_FIELD_NUMBER

public static final int CHANNEL_TYPE_FIELD_NUMBER
Field Value
Type Description
int

DISABLE_BARGE_IN_CONTROL_FIELD_NUMBER

public static final int DISABLE_BARGE_IN_CONTROL_FIELD_NUMBER
Field Value
Type Description
int

DISABLE_DTMF_FIELD_NUMBER

public static final int DISABLE_DTMF_FIELD_NUMBER
Field Value
Type Description
int

NOISE_SUPPRESSION_LEVEL_FIELD_NUMBER

public static final int NOISE_SUPPRESSION_LEVEL_FIELD_NUMBER
Field Value
Type Description
int

PERSONA_PROPERTY_FIELD_NUMBER

public static final int PERSONA_PROPERTY_FIELD_NUMBER
Field Value
Type Description
int

PROFILE_ID_FIELD_NUMBER

public static final int PROFILE_ID_FIELD_NUMBER
Field Value
Type Description
int

WEB_WIDGET_CONFIG_FIELD_NUMBER

public static final int WEB_WIDGET_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ChannelProfile getDefaultInstance()
Returns
Type Description
ChannelProfile

getDescriptor()

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

newBuilder()

public static ChannelProfile.Builder newBuilder()
Returns
Type Description
ChannelProfile.Builder

newBuilder(ChannelProfile prototype)

public static ChannelProfile.Builder newBuilder(ChannelProfile prototype)
Parameter
Name Description
prototype ChannelProfile
Returns
Type Description
ChannelProfile.Builder

parseDelimitedFrom(InputStream input)

public static ChannelProfile parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ChannelProfile
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ChannelProfile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelProfile
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ChannelProfile parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ChannelProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ChannelProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ChannelProfile parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ChannelProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ChannelProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ChannelProfile parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ChannelProfile
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ChannelProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelProfile
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ChannelProfile parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ChannelProfile
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ChannelProfile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelProfile
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ChannelProfile parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ChannelProfile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ChannelProfile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ChannelProfile
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ChannelProfile> parser()
Returns
Type Description
Parser<ChannelProfile>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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.

getParserForType()

public Parser<ChannelProfile> getParserForType()
Returns
Type Description
Parser<ChannelProfile>
Overrides

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.

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ChannelProfile.Builder newBuilderForType()
Returns
Type Description
ChannelProfile.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ChannelProfile.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ChannelProfile.Builder
Overrides

toBuilder()

public ChannelProfile.Builder toBuilder()
Returns
Type Description
ChannelProfile.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException