Interface ExclusionRuleOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ExclusionRule, ExclusionRule.Builder

@Generated public interface ExclusionRuleOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • 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

       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;
    • hasExcludeByImageFindings

      boolean hasExcludeByImageFindings()
       Exclude findings based on image containment rules. For example, exclude
       an image finding if it overlaps with another image finding.
       
      .google.privacy.dlp.v2.ExcludeByImageFindings exclude_by_image_findings = 6;
      Returns:
      Whether the excludeByImageFindings field is set.
    • getExcludeByImageFindings

      ExcludeByImageFindings getExcludeByImageFindings()
       Exclude findings based on image containment rules. For example, exclude
       an image finding if it overlaps with another image finding.
       
      .google.privacy.dlp.v2.ExcludeByImageFindings exclude_by_image_findings = 6;
      Returns:
      The excludeByImageFindings.
    • getExcludeByImageFindingsOrBuilder

      ExcludeByImageFindingsOrBuilder getExcludeByImageFindingsOrBuilder()
       Exclude findings based on image containment rules. For example, exclude
       an image finding if it overlaps with another image finding.
       
      .google.privacy.dlp.v2.ExcludeByImageFindings exclude_by_image_findings = 6;
    • 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()