public enum Assistant.CustomerPolicy.BannedPhrase.BannedPhraseMatchType extends Enum<Assistant.CustomerPolicy.BannedPhrase.BannedPhraseMatchType> implements ProtocolMessageEnumThe matching method for the banned phrase.
Protobuf enum
google.cloud.discoveryengine.v1beta.Assistant.CustomerPolicy.BannedPhrase.BannedPhraseMatchType
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED |
Defaults to SIMPLE_STRING_MATCH. |
BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED_VALUE |
Defaults to SIMPLE_STRING_MATCH. |
SIMPLE_STRING_MATCH |
The banned phrase matches if it is found anywhere in the text as an exact substring. |
SIMPLE_STRING_MATCH_VALUE |
The banned phrase matches if it is found anywhere in the text as an exact substring. |
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_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. |
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() |
|