Interface PhraseMatchRuleOrBuilder (2.8.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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The negated.

getQuery()

public abstract String getQuery()

Required. The phrase to be matched.

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

Returns
TypeDescription
String

The query.

getQueryBytes()

public abstract ByteString getQueryBytes()

Required. The phrase to be matched.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the config field is set.