Send feedback
Class ExclusionRule (3.36.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.36.0 keyboard_arrow_down
public final class ExclusionRule extends GeneratedMessageV3 implements ExclusionRuleOrBuilder
The rule that specifies conditions when findings of infoTypes specified in
InspectionRuleSet
are removed from results.
Protobuf type google.privacy.dlp.v2.ExclusionRule
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DICTIONARY_FIELD_NUMBER
public static final int DICTIONARY_FIELD_NUMBER
Field Value Type Description int
EXCLUDE_BY_HOTWORD_FIELD_NUMBER
public static final int EXCLUDE_BY_HOTWORD_FIELD_NUMBER
Field Value Type Description int
EXCLUDE_INFO_TYPES_FIELD_NUMBER
public static final int EXCLUDE_INFO_TYPES_FIELD_NUMBER
Field Value Type Description int
MATCHING_TYPE_FIELD_NUMBER
public static final int MATCHING_TYPE_FIELD_NUMBER
Field Value Type Description int
REGEX_FIELD_NUMBER
public static final int REGEX_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static ExclusionRule getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static ExclusionRule . Builder newBuilder ()
newBuilder(ExclusionRule prototype)
public static ExclusionRule . Builder newBuilder ( ExclusionRule prototype )
public static ExclusionRule parseDelimitedFrom ( InputStream input )
public static ExclusionRule parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static ExclusionRule parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExclusionRule parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static ExclusionRule parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExclusionRule parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ExclusionRule parseFrom ( CodedInputStream input )
public static ExclusionRule parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ExclusionRule parseFrom ( InputStream input )
public static ExclusionRule parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static ExclusionRule parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExclusionRule parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<ExclusionRule> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getDefaultInstanceForType()
public ExclusionRule getDefaultInstanceForType ()
getDictionary()
public CustomInfoType . Dictionary getDictionary ()
Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
getDictionaryOrBuilder()
public CustomInfoType . DictionaryOrBuilder getDictionaryOrBuilder ()
Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
getExcludeByHotword()
public ExcludeByHotword getExcludeByHotword ()
Drop if the hotword rule is contained in the proximate context. For
tabular data, the context includes the column name.
.google.privacy.dlp.v2.ExcludeByHotword exclude_by_hotword = 5;
getExcludeByHotwordOrBuilder()
public ExcludeByHotwordOrBuilder getExcludeByHotwordOrBuilder ()
Drop if the hotword rule is contained in the proximate context. For
tabular data, the context includes the column name.
.google.privacy.dlp.v2.ExcludeByHotword exclude_by_hotword = 5;
getExcludeInfoTypes()
public ExcludeInfoTypes getExcludeInfoTypes ()
Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;
getExcludeInfoTypesOrBuilder()
public ExcludeInfoTypesOrBuilder getExcludeInfoTypesOrBuilder ()
Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;
getMatchingType()
public MatchingType getMatchingType ()
How the rule is applied, see MatchingType documentation for details.
.google.privacy.dlp.v2.MatchingType matching_type = 4;
getMatchingTypeValue()
public int getMatchingTypeValue ()
How the rule is applied, see MatchingType documentation for details.
.google.privacy.dlp.v2.MatchingType matching_type = 4;
Returns Type Description int
The enum numeric value on the wire for matchingType.
getParserForType()
public Parser<ExclusionRule> getParserForType ()
Overrides
getRegex()
public CustomInfoType . Regex getRegex ()
Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
getRegexOrBuilder()
public CustomInfoType . RegexOrBuilder getRegexOrBuilder ()
Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
getTypeCase()
public ExclusionRule . TypeCase getTypeCase ()
hasDictionary()
public boolean hasDictionary ()
Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
Returns Type Description boolean
Whether the dictionary field is set.
hasExcludeByHotword()
public boolean hasExcludeByHotword ()
Drop if the hotword rule is contained in the proximate context. For
tabular data, the context includes the column name.
.google.privacy.dlp.v2.ExcludeByHotword exclude_by_hotword = 5;
Returns Type Description boolean
Whether the excludeByHotword field is set.
hasExcludeInfoTypes()
public boolean hasExcludeInfoTypes ()
Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;
Returns Type Description boolean
Whether the excludeInfoTypes field is set.
hasRegex()
public boolean hasRegex ()
Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
Returns Type Description boolean
Whether the regex field is set.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public ExclusionRule . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ExclusionRule . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public ExclusionRule . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]