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.DictionarygetDictionary()Dictionary which defines the rule.CustomInfoType.DictionaryOrBuildergetDictionaryOrBuilder()Dictionary which defines the rule.ExcludeByHotwordgetExcludeByHotword()Drop if the hotword rule is contained in the proximate context.ExcludeByHotwordOrBuildergetExcludeByHotwordOrBuilder()Drop if the hotword rule is contained in the proximate context.ExcludeInfoTypesgetExcludeInfoTypes()Set of infoTypes for which findings would affect this rule.ExcludeInfoTypesOrBuildergetExcludeInfoTypesOrBuilder()Set of infoTypes for which findings would affect this rule.MatchingTypegetMatchingType()How the rule is applied, see MatchingType documentation for details.intgetMatchingTypeValue()How the rule is applied, see MatchingType documentation for details.CustomInfoType.RegexgetRegex()Regular expression which defines the rule.CustomInfoType.RegexOrBuildergetRegexOrBuilder()Regular expression which defines the rule.ExclusionRule.TypeCasegetTypeCase()booleanhasDictionary()Dictionary which defines the rule.booleanhasExcludeByHotword()Drop if the hotword rule is contained in the proximate context.booleanhasExcludeInfoTypes()Set of infoTypes for which findings would affect this rule.booleanhasRegex()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()
-
-