Interface ExclusionRuleOrBuilder (3.44.0)

public interface ExclusionRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDictionary()

public abstract CustomInfoType.Dictionary getDictionary()

Dictionary which defines the rule.

.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;

Returns
TypeDescription
CustomInfoType.Dictionary

The dictionary.

getDictionaryOrBuilder()

public abstract CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder()

Dictionary which defines the rule.

.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;

Returns
TypeDescription
CustomInfoType.DictionaryOrBuilder

getExcludeByHotword()

public abstract 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;

Returns
TypeDescription
ExcludeByHotword

The excludeByHotword.

getExcludeByHotwordOrBuilder()

public abstract 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;

Returns
TypeDescription
ExcludeByHotwordOrBuilder

getExcludeInfoTypes()

public abstract ExcludeInfoTypes getExcludeInfoTypes()

Set of infoTypes for which findings would affect this rule.

.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;

Returns
TypeDescription
ExcludeInfoTypes

The excludeInfoTypes.

getExcludeInfoTypesOrBuilder()

public abstract ExcludeInfoTypesOrBuilder getExcludeInfoTypesOrBuilder()

Set of infoTypes for which findings would affect this rule.

.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;

Returns
TypeDescription
ExcludeInfoTypesOrBuilder

getMatchingType()

public abstract MatchingType getMatchingType()

How the rule is applied, see MatchingType documentation for details.

.google.privacy.dlp.v2.MatchingType matching_type = 4;

Returns
TypeDescription
MatchingType

The matchingType.

getMatchingTypeValue()

public abstract int getMatchingTypeValue()

How the rule is applied, see MatchingType documentation for details.

.google.privacy.dlp.v2.MatchingType matching_type = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for matchingType.

getRegex()

public abstract CustomInfoType.Regex getRegex()

Regular expression which defines the rule.

.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;

Returns
TypeDescription
CustomInfoType.Regex

The regex.

getRegexOrBuilder()

public abstract CustomInfoType.RegexOrBuilder getRegexOrBuilder()

Regular expression which defines the rule.

.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;

Returns
TypeDescription
CustomInfoType.RegexOrBuilder

getTypeCase()

public abstract ExclusionRule.TypeCase getTypeCase()
Returns
TypeDescription
ExclusionRule.TypeCase

hasDictionary()

public abstract boolean hasDictionary()

Dictionary which defines the rule.

.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;

Returns
TypeDescription
boolean

Whether the dictionary field is set.

hasExcludeByHotword()

public abstract 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
TypeDescription
boolean

Whether the excludeByHotword field is set.

hasExcludeInfoTypes()

public abstract boolean hasExcludeInfoTypes()

Set of infoTypes for which findings would affect this rule.

.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;

Returns
TypeDescription
boolean

Whether the excludeInfoTypes field is set.

hasRegex()

public abstract boolean hasRegex()

Regular expression which defines the rule.

.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;

Returns
TypeDescription
boolean

Whether the regex field is set.