Interface ExclusionRuleOrBuilder (3.2.1)

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

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.

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.