Interface PhraseMatchRuleOrBuilder (2.47.0)

public interface PhraseMatchRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfig()

public abstract PhraseMatchRuleConfig getConfig()

Provides additional information about the rule that specifies how to apply the rule.

.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;

Returns
Type Description
PhraseMatchRuleConfig

The config.

getConfigOrBuilder()

public abstract PhraseMatchRuleConfigOrBuilder getConfigOrBuilder()

Provides additional information about the rule that specifies how to apply the rule.

.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;

Returns
Type Description
PhraseMatchRuleConfigOrBuilder

getNegated()

public abstract boolean getNegated()

Specifies whether the phrase must be missing from the transcript segment or present in the transcript segment.

bool negated = 2;

Returns
Type Description
boolean

The negated.

getQuery()

public abstract String getQuery()

Required. The phrase to be matched.

string query = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The query.

getQueryBytes()

public abstract ByteString getQueryBytes()

Required. The phrase to be matched.

string query = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for query.

hasConfig()

public abstract boolean hasConfig()

Provides additional information about the rule that specifies how to apply the rule.

.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;

Returns
Type Description
boolean

Whether the config field is set.