Enum Assistant.CustomerPolicy.BannedPhrase.BannedPhraseMatchType (0.90.0)

public enum Assistant.CustomerPolicy.BannedPhrase.BannedPhraseMatchType extends Enum<Assistant.CustomerPolicy.BannedPhrase.BannedPhraseMatchType> implements ProtocolMessageEnum

The matching method for the banned phrase.

Protobuf enum google.cloud.discoveryengine.v1beta.Assistant.CustomerPolicy.BannedPhrase.BannedPhraseMatchType

Implements

ProtocolMessageEnum

Static Fields

Name Description
BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED

Defaults to SIMPLE_STRING_MATCH.

BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED = 0;

BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED_VALUE

Defaults to SIMPLE_STRING_MATCH.

BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED = 0;

SIMPLE_STRING_MATCH

The banned phrase matches if it is found anywhere in the text as an exact substring.

SIMPLE_STRING_MATCH = 1;

SIMPLE_STRING_MATCH_VALUE

The banned phrase matches if it is found anywhere in the text as an exact substring.

SIMPLE_STRING_MATCH = 1;

UNRECOGNIZED
WORD_BOUNDARY_STRING_MATCH

Banned phrase only matches if the pattern found in the text is surrounded by word delimiters. The phrase itself may still contain word delimiters.

WORD_BOUNDARY_STRING_MATCH = 2;

WORD_BOUNDARY_STRING_MATCH_VALUE

Banned phrase only matches if the pattern found in the text is surrounded by word delimiters. The phrase itself may still contain word delimiters.

WORD_BOUNDARY_STRING_MATCH = 2;

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()