Enum MatchingType

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<MatchingType>

    public enum MatchingType
    extends Enum<MatchingType>
    implements com.google.protobuf.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
    • Enum Constant Detail

      • MATCHING_TYPE_UNSPECIFIED

        public static final MatchingType MATCHING_TYPE_UNSPECIFIED
         Invalid.
         
        MATCHING_TYPE_UNSPECIFIED = 0;
      • MATCHING_TYPE_FULL_MATCH

        public static final MatchingType 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_PARTIAL_MATCH

        public static final MatchingType 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_INVERSE_MATCH

        public static final MatchingType 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;
      • UNRECOGNIZED

        public static final MatchingType UNRECOGNIZED
    • Field Detail

      • MATCHING_TYPE_UNSPECIFIED_VALUE

        public static final int MATCHING_TYPE_UNSPECIFIED_VALUE
         Invalid.
         
        MATCHING_TYPE_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • MATCHING_TYPE_FULL_MATCH_VALUE

        public static final int 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;
        See Also:
        Constant Field Values
      • MATCHING_TYPE_PARTIAL_MATCH_VALUE

        public static final int 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;
        See Also:
        Constant Field Values
      • MATCHING_TYPE_INVERSE_MATCH_VALUE

        public static final int 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;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static MatchingType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MatchingType c : MatchingType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MatchingType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static MatchingType valueOf​(int value)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        value - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • forNumber

        public static MatchingType forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<MatchingType> internalGetValueMap()
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static MatchingType valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        desc - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null