Class PhraseMatchRuleConfig.Builder (2.83.0)

public static final class PhraseMatchRuleConfig.Builder extends GeneratedMessage.Builder<PhraseMatchRuleConfig.Builder> implements PhraseMatchRuleConfigOrBuilder

Configuration information of a phrase match rule.

Protobuf type google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig

Static Methods

getDescriptor()

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

Methods

build()

public PhraseMatchRuleConfig build()
Returns
Type Description
PhraseMatchRuleConfig

buildPartial()

public PhraseMatchRuleConfig buildPartial()
Returns
Type Description
PhraseMatchRuleConfig

clear()

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

clearConfig()

public PhraseMatchRuleConfig.Builder clearConfig()
Returns
Type Description
PhraseMatchRuleConfig.Builder

clearExactMatchConfig()

public PhraseMatchRuleConfig.Builder clearExactMatchConfig()

The configuration for the exact match rule.

.google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1;

Returns
Type Description
PhraseMatchRuleConfig.Builder

getConfigCase()

public PhraseMatchRuleConfig.ConfigCase getConfigCase()
Returns
Type Description
PhraseMatchRuleConfig.ConfigCase

getDefaultInstanceForType()

public PhraseMatchRuleConfig getDefaultInstanceForType()
Returns
Type Description
PhraseMatchRuleConfig

getDescriptorForType()

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

getExactMatchConfig()

public ExactMatchConfig getExactMatchConfig()

The configuration for the exact match rule.

.google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1;

Returns
Type Description
ExactMatchConfig

The exactMatchConfig.

getExactMatchConfigBuilder()

public ExactMatchConfig.Builder getExactMatchConfigBuilder()

The configuration for the exact match rule.

.google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1;

Returns
Type Description
ExactMatchConfig.Builder

getExactMatchConfigOrBuilder()

public ExactMatchConfigOrBuilder getExactMatchConfigOrBuilder()

The configuration for the exact match rule.

.google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1;

Returns
Type Description
ExactMatchConfigOrBuilder

hasExactMatchConfig()

public boolean hasExactMatchConfig()

The configuration for the exact match rule.

.google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1;

Returns
Type Description
boolean

Whether the exactMatchConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExactMatchConfig(ExactMatchConfig value)

public PhraseMatchRuleConfig.Builder mergeExactMatchConfig(ExactMatchConfig value)

The configuration for the exact match rule.

.google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1;

Parameter
Name Description
value ExactMatchConfig
Returns
Type Description
PhraseMatchRuleConfig.Builder

mergeFrom(PhraseMatchRuleConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setExactMatchConfig(ExactMatchConfig value)

public PhraseMatchRuleConfig.Builder setExactMatchConfig(ExactMatchConfig value)

The configuration for the exact match rule.

.google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1;

Parameter
Name Description
value ExactMatchConfig
Returns
Type Description
PhraseMatchRuleConfig.Builder

setExactMatchConfig(ExactMatchConfig.Builder builderForValue)

public PhraseMatchRuleConfig.Builder setExactMatchConfig(ExactMatchConfig.Builder builderForValue)

The configuration for the exact match rule.

.google.cloud.contactcenterinsights.v1.ExactMatchConfig exact_match_config = 1;

Parameter
Name Description
builderForValue ExactMatchConfig.Builder
Returns
Type Description
PhraseMatchRuleConfig.Builder