Enum MatchingType (3.25.0)

public enum MatchingType extends Enum<MatchingType> implements ProtocolMessageEnum

Type of the match which can be applied to different ways of matching, like Dictionary, regular expression and intersecting with findings of another info type.

Protobuf enum google.privacy.dlp.v2.MatchingType

Implements

ProtocolMessageEnum

Static Fields

NameDescription
MATCHING_TYPE_FULL_MATCH

Full match.

  • Dictionary: join of Dictionary results matched complete finding quote
  • Regex: all regex matches fill a finding quote start to end
  • Exclude info type: completely inside affecting info types findings

MATCHING_TYPE_FULL_MATCH = 1;

MATCHING_TYPE_FULL_MATCH_VALUE

Full match.

  • Dictionary: join of Dictionary results matched complete finding quote
  • Regex: all regex matches fill a finding quote start to end
  • Exclude info type: completely inside affecting info types findings

MATCHING_TYPE_FULL_MATCH = 1;

MATCHING_TYPE_INVERSE_MATCH

Inverse match.

  • Dictionary: no tokens in the finding match the dictionary
  • Regex: finding doesn't match the regex
  • Exclude info type: no intersection with affecting info types findings

MATCHING_TYPE_INVERSE_MATCH = 3;

MATCHING_TYPE_INVERSE_MATCH_VALUE

Inverse match.

  • Dictionary: no tokens in the finding match the dictionary
  • Regex: finding doesn't match the regex
  • Exclude info type: no intersection with affecting info types findings

MATCHING_TYPE_INVERSE_MATCH = 3;

MATCHING_TYPE_PARTIAL_MATCH

Partial match.

  • Dictionary: at least one of the tokens in the finding matches
  • Regex: substring of the finding matches
  • Exclude info type: intersects with affecting info types findings

MATCHING_TYPE_PARTIAL_MATCH = 2;

MATCHING_TYPE_PARTIAL_MATCH_VALUE

Partial match.

  • Dictionary: at least one of the tokens in the finding matches
  • Regex: substring of the finding matches
  • Exclude info type: intersects with affecting info types findings

MATCHING_TYPE_PARTIAL_MATCH = 2;

MATCHING_TYPE_UNSPECIFIED

Invalid.

MATCHING_TYPE_UNSPECIFIED = 0;

MATCHING_TYPE_UNSPECIFIED_VALUE

Invalid.

MATCHING_TYPE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()