Interface SuggestionDenyListEntryOrBuilder (0.38.0)

public interface SuggestionDenyListEntryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBlockPhrase()

public abstract String getBlockPhrase()

Required. Phrase to block from suggestions served. Can be maximum 125 characters.

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

Returns
Type Description
String

The blockPhrase.

getBlockPhraseBytes()

public abstract ByteString getBlockPhraseBytes()

Required. Phrase to block from suggestions served. Can be maximum 125 characters.

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

Returns
Type Description
ByteString

The bytes for blockPhrase.

getMatchOperator()

public abstract SuggestionDenyListEntry.MatchOperator getMatchOperator()

Required. The match operator to apply for this phrase. Whether to block the exact phrase, or block any suggestions containing this phrase.

.google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry.MatchOperator match_operator = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SuggestionDenyListEntry.MatchOperator

The matchOperator.

getMatchOperatorValue()

public abstract int getMatchOperatorValue()

Required. The match operator to apply for this phrase. Whether to block the exact phrase, or block any suggestions containing this phrase.

.google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry.MatchOperator match_operator = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for matchOperator.