public enum Guardrail.ContentFilter.MatchType extends Enum<Guardrail.ContentFilter.MatchType> implements ProtocolMessageEnumMatch type for the content filter.
Protobuf enum google.cloud.ces.v1beta.Guardrail.ContentFilter.MatchType
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
MATCH_TYPE_UNSPECIFIED |
Match type is not specified. |
MATCH_TYPE_UNSPECIFIED_VALUE |
Match type is not specified. |
REGEXP_MATCH |
Content is matched using regular expression syntax. |
REGEXP_MATCH_VALUE |
Content is matched using regular expression syntax. |
SIMPLE_STRING_MATCH |
Content is matched for substrings character by character. |
SIMPLE_STRING_MATCH_VALUE |
Content is matched for substrings character by character. |
UNRECOGNIZED |
|
WORD_BOUNDARY_STRING_MATCH |
Content only matches if the pattern found in the text is surrounded by word delimiters. Banned phrases can also contain word delimiters. |
WORD_BOUNDARY_STRING_MATCH_VALUE |
Content only matches if the pattern found in the text is surrounded by word delimiters. Banned phrases can also 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() |
|