Class PhraseMatchRuleConfig.Builder (2.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PhraseMatchRuleConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PhraseMatchRuleConfig.Builder
Overrides

build()

public PhraseMatchRuleConfig build()
Returns
TypeDescription
PhraseMatchRuleConfig

buildPartial()

public PhraseMatchRuleConfig buildPartial()
Returns
TypeDescription
PhraseMatchRuleConfig

clear()

public PhraseMatchRuleConfig.Builder clear()
Returns
TypeDescription
PhraseMatchRuleConfig.Builder
Overrides

clearConfig()

public PhraseMatchRuleConfig.Builder clearConfig()
Returns
TypeDescription
PhraseMatchRuleConfig.Builder

clearExactMatchConfig()

public PhraseMatchRuleConfig.Builder clearExactMatchConfig()

The configuration for the exact match rule.

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

Returns
TypeDescription
PhraseMatchRuleConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public PhraseMatchRuleConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PhraseMatchRuleConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PhraseMatchRuleConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PhraseMatchRuleConfig.Builder
Overrides

clone()

public PhraseMatchRuleConfig.Builder clone()
Returns
TypeDescription
PhraseMatchRuleConfig.Builder
Overrides

getConfigCase()

public PhraseMatchRuleConfig.ConfigCase getConfigCase()
Returns
TypeDescription
PhraseMatchRuleConfig.ConfigCase

getDefaultInstanceForType()

public PhraseMatchRuleConfig getDefaultInstanceForType()
Returns
TypeDescription
PhraseMatchRuleConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExactMatchConfig()

public ExactMatchConfig getExactMatchConfig()

The configuration for the exact match rule.

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

Returns
TypeDescription
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
TypeDescription
ExactMatchConfig.Builder

getExactMatchConfigOrBuilder()

public ExactMatchConfigOrBuilder getExactMatchConfigOrBuilder()

The configuration for the exact match rule.

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

Returns
TypeDescription
ExactMatchConfigOrBuilder

hasExactMatchConfig()

public boolean hasExactMatchConfig()

The configuration for the exact match rule.

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

Returns
TypeDescription
boolean

Whether the exactMatchConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueExactMatchConfig
Returns
TypeDescription
PhraseMatchRuleConfig.Builder

mergeFrom(PhraseMatchRuleConfig other)

public PhraseMatchRuleConfig.Builder mergeFrom(PhraseMatchRuleConfig other)
Parameter
NameDescription
otherPhraseMatchRuleConfig
Returns
TypeDescription
PhraseMatchRuleConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PhraseMatchRuleConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PhraseMatchRuleConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PhraseMatchRuleConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PhraseMatchRuleConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PhraseMatchRuleConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueExactMatchConfig
Returns
TypeDescription
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
NameDescription
builderForValueExactMatchConfig.Builder
Returns
TypeDescription
PhraseMatchRuleConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PhraseMatchRuleConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PhraseMatchRuleConfig.Builder
Overrides

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

public PhraseMatchRuleConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PhraseMatchRuleConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PhraseMatchRuleConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PhraseMatchRuleConfig.Builder
Overrides