Package com.google.privacy.dlp.v2
Interface ExclusionRuleOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ExclusionRule
,ExclusionRule.Builder
public interface ExclusionRuleOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CustomInfoType.Dictionary
getDictionary()
Dictionary which defines the rule.CustomInfoType.DictionaryOrBuilder
getDictionaryOrBuilder()
Dictionary which defines the rule.ExcludeByHotword
getExcludeByHotword()
Drop if the hotword rule is contained in the proximate context.ExcludeByHotwordOrBuilder
getExcludeByHotwordOrBuilder()
Drop if the hotword rule is contained in the proximate context.ExcludeInfoTypes
getExcludeInfoTypes()
Set of infoTypes for which findings would affect this rule.ExcludeInfoTypesOrBuilder
getExcludeInfoTypesOrBuilder()
Set of infoTypes for which findings would affect this rule.MatchingType
getMatchingType()
How the rule is applied, see MatchingType documentation for details.int
getMatchingTypeValue()
How the rule is applied, see MatchingType documentation for details.CustomInfoType.Regex
getRegex()
Regular expression which defines the rule.CustomInfoType.RegexOrBuilder
getRegexOrBuilder()
Regular expression which defines the rule.ExclusionRule.TypeCase
getTypeCase()
boolean
hasDictionary()
Dictionary which defines the rule.boolean
hasExcludeByHotword()
Drop if the hotword rule is contained in the proximate context.boolean
hasExcludeInfoTypes()
Set of infoTypes for which findings would affect this rule.boolean
hasRegex()
Regular expression which defines the rule.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasDictionary
boolean hasDictionary()
Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
- Returns:
- Whether the dictionary field is set.
-
getDictionary
CustomInfoType.Dictionary getDictionary()
Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
- Returns:
- The dictionary.
-
getDictionaryOrBuilder
CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder()
Dictionary which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
-
hasRegex
boolean hasRegex()
Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
- Returns:
- Whether the regex field is set.
-
getRegex
CustomInfoType.Regex getRegex()
Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
- Returns:
- The regex.
-
getRegexOrBuilder
CustomInfoType.RegexOrBuilder getRegexOrBuilder()
Regular expression which defines the rule.
.google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
-
hasExcludeInfoTypes
boolean hasExcludeInfoTypes()
Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;
- Returns:
- Whether the excludeInfoTypes field is set.
-
getExcludeInfoTypes
ExcludeInfoTypes getExcludeInfoTypes()
Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;
- Returns:
- The excludeInfoTypes.
-
getExcludeInfoTypesOrBuilder
ExcludeInfoTypesOrBuilder getExcludeInfoTypesOrBuilder()
Set of infoTypes for which findings would affect this rule.
.google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;
-
hasExcludeByHotword
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:
- Whether the excludeByHotword field is set.
-
getExcludeByHotword
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:
- The excludeByHotword.
-
getExcludeByHotwordOrBuilder
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;
-
getMatchingTypeValue
int getMatchingTypeValue()
How the rule is applied, see MatchingType documentation for details.
.google.privacy.dlp.v2.MatchingType matching_type = 4;
- Returns:
- The enum numeric value on the wire for matchingType.
-
getMatchingType
MatchingType getMatchingType()
How the rule is applied, see MatchingType documentation for details.
.google.privacy.dlp.v2.MatchingType matching_type = 4;
- Returns:
- The matchingType.
-
getTypeCase
ExclusionRule.TypeCase getTypeCase()
-
-