Enum SafetySettings.PhraseMatchStrategy (0.66.0)

public enum SafetySettings.PhraseMatchStrategy extends Enum<SafetySettings.PhraseMatchStrategy> implements ProtocolMessageEnum

Strategy for matching phrases.

Protobuf enum google.cloud.dialogflow.cx.v3beta1.SafetySettings.PhraseMatchStrategy

Implements

ProtocolMessageEnum

Static Fields

Name Description
PARTIAL_MATCH

Text that contains the phrase as a substring will be matched, e.g. "foo" will match "afoobar".

PARTIAL_MATCH = 1;

PARTIAL_MATCH_VALUE

Text that contains the phrase as a substring will be matched, e.g. "foo" will match "afoobar".

PARTIAL_MATCH = 1;

PHRASE_MATCH_STRATEGY_UNSPECIFIED

Unspecified, defaults to PARTIAL_MATCH.

PHRASE_MATCH_STRATEGY_UNSPECIFIED = 0;

PHRASE_MATCH_STRATEGY_UNSPECIFIED_VALUE

Unspecified, defaults to PARTIAL_MATCH.

PHRASE_MATCH_STRATEGY_UNSPECIFIED = 0;

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 = 2;

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".

WORD_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()