public enum SafetySettings.PhraseMatchStrategy extends Enum<SafetySettings.PhraseMatchStrategy> implements ProtocolMessageEnum
Strategy for matching phrases.
Protobuf enum google.cloud.dialogflow.cx.v3beta1.SafetySettings.PhraseMatchStrategy
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
PARTIAL_MATCH |
Text that contains the phrase as a substring will be matched, e.g. "foo" will match "afoobar". |
PARTIAL_MATCH_VALUE |
Text that contains the phrase as a substring will be matched, e.g. "foo" will match "afoobar". |
PHRASE_MATCH_STRATEGY_UNSPECIFIED |
Unspecified, defaults to PARTIAL_MATCH. |
PHRASE_MATCH_STRATEGY_UNSPECIFIED_VALUE |
Unspecified, defaults to PARTIAL_MATCH. |
UNRECOGNIZED |
|
WORD_MATCH |
Text that contains the tokenized words of the phrase will be matched, e.g. "foo" will match "a foo bar" and "foo bar", but not "foobar". |
WORD_MATCH_VALUE |
Text that contains the tokenized words of the phrase will be matched, e.g. "foo" will match "a foo bar" and "foo bar", but not "foobar". |
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() |