Class PhraseMatchRuleConfig.Builder (2.43.0)

public static final class PhraseMatchRuleConfig.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PhraseMatchRuleConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PhraseMatchRuleConfig.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public PhraseMatchRuleConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PhraseMatchRuleConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PhraseMatchRuleConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PhraseMatchRuleConfig.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PhraseMatchRuleConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

public PhraseMatchRuleConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PhraseMatchRuleConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PhraseMatchRuleConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PhraseMatchRuleConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PhraseMatchRuleConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PhraseMatchRuleConfig.Builder
Overrides