Enum Guardrail.ContentFilter.MatchType (0.9.0)

public enum Guardrail.ContentFilter.MatchType extends Enum<Guardrail.ContentFilter.MatchType> implements ProtocolMessageEnum

Match type for the content filter.

Protobuf enum google.cloud.ces.v1beta.Guardrail.ContentFilter.MatchType

Implements

ProtocolMessageEnum

Static Fields

Name Description
MATCH_TYPE_UNSPECIFIED

Match type is not specified.

MATCH_TYPE_UNSPECIFIED = 0;

MATCH_TYPE_UNSPECIFIED_VALUE

Match type is not specified.

MATCH_TYPE_UNSPECIFIED = 0;

REGEXP_MATCH

Content is matched using regular expression syntax.

REGEXP_MATCH = 3;

REGEXP_MATCH_VALUE

Content is matched using regular expression syntax.

REGEXP_MATCH = 3;

SIMPLE_STRING_MATCH

Content is matched for substrings character by character.

SIMPLE_STRING_MATCH = 1;

SIMPLE_STRING_MATCH_VALUE

Content is matched for substrings character by character.

SIMPLE_STRING_MATCH = 1;

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

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.

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