Class PhraseMatchRuleConfig.Builder (2.5.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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 Overrides

build()

public PhraseMatchRuleConfig build()
Returns
TypeDescription
PhraseMatchRuleConfig

buildPartial()

public PhraseMatchRuleConfig buildPartial()
Returns
TypeDescription
PhraseMatchRuleConfig

clear()

public PhraseMatchRuleConfig.Builder clear()
Returns Overrides

clearConfig()

public PhraseMatchRuleConfig.Builder clearConfig()
Returns

clearExactMatchConfig()

public PhraseMatchRuleConfig.Builder clearExactMatchConfig()

The configuration for the exact match rule.

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

Returns

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public PhraseMatchRuleConfig.Builder clone()
Returns Overrides

getConfigCase()

public PhraseMatchRuleConfig.ConfigCase getConfigCase()
Returns

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

getExactMatchConfigOrBuilder()

public ExactMatchConfigOrBuilder getExactMatchConfigOrBuilder()

The configuration for the exact match rule.

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

Returns

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

mergeFrom(PhraseMatchRuleConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

setField(Descriptors.FieldDescriptor field, Object value)

public PhraseMatchRuleConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns 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 Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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