Interface ExclusionRuleOrBuilder (3.59.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
Type Description
CustomInfoType.Dictionary

The dictionary.

getDictionaryOrBuilder()

public abstract CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder()

Dictionary which defines the rule.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
CustomInfoType.RegexOrBuilder

getTypeCase()

public abstract ExclusionRule.TypeCase getTypeCase()
Returns
Type Description
ExclusionRule.TypeCase

hasDictionary()

public abstract 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 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
Type Description
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
Type Description
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
Type Description
boolean

Whether the regex field is set.