Package com.google.privacy.dlp.v2
Enum MatchingType
- java.lang.Object
-
- java.lang.Enum<MatchingType>
-
- com.google.privacy.dlp.v2.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 enumgoogle.privacy.dlp.v2.MatchingType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MATCHING_TYPE_FULL_MATCHFull match.MATCHING_TYPE_INVERSE_MATCHInverse match.MATCHING_TYPE_PARTIAL_MATCHPartial match.MATCHING_TYPE_UNSPECIFIEDInvalid.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intMATCHING_TYPE_FULL_MATCH_VALUEFull match.static intMATCHING_TYPE_INVERSE_MATCH_VALUEInverse match.static intMATCHING_TYPE_PARTIAL_MATCH_VALUEPartial match.static intMATCHING_TYPE_UNSPECIFIED_VALUEInvalid.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static MatchingTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<MatchingType>internalGetValueMap()static MatchingTypevalueOf(int value)Deprecated.static MatchingTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static MatchingTypevalueOf(String name)Returns the enum constant of this type with the specified name.static MatchingType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.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 nameNullPointerException- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.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 nameNullPointerException- if the argument is null
-
-