Class PhraseMatchRuleConfig (2.44.0)

public final class PhraseMatchRuleConfig extends GeneratedMessageV3 implements PhraseMatchRuleConfigOrBuilder

Configuration information of a phrase match rule.

Protobuf type google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig

Static Fields

EXACT_MATCH_CONFIG_FIELD_NUMBER

public static final int EXACT_MATCH_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PhraseMatchRuleConfig getDefaultInstance()
Returns
Type Description
PhraseMatchRuleConfig

getDescriptor()

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

newBuilder()

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

newBuilder(PhraseMatchRuleConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConfigCase()

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

getDefaultInstanceForType()

public PhraseMatchRuleConfig getDefaultInstanceForType()
Returns
Type Description
PhraseMatchRuleConfig

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.

getExactMatchConfigOrBuilder()

public ExactMatchConfigOrBuilder getExactMatchConfigOrBuilder()

The configuration for the exact match rule.

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

Returns
Type Description
ExactMatchConfigOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PhraseMatchRuleConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PhraseMatchRuleConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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