com.google.privacy.dlp.v2.ExclusionRuleOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dlp-v2 Show documentation
Show all versions of proto-google-cloud-dlp-v2 Show documentation
PROTO library for proto-google-cloud-dlp-v2
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/privacy/dlp/v2/dlp.proto
// Protobuf Java Version: 3.25.4
package com.google.privacy.dlp.v2;
public interface ExclusionRuleOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ExclusionRule)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Dictionary which defines the rule.
*
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
*
* @return Whether the dictionary field is set.
*/
boolean hasDictionary();
/**
*
*
*
* Dictionary which defines the rule.
*
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
*
* @return The dictionary.
*/
com.google.privacy.dlp.v2.CustomInfoType.Dictionary getDictionary();
/**
*
*
*
* Dictionary which defines the rule.
*
*
* .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 1;
*/
com.google.privacy.dlp.v2.CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder();
/**
*
*
*
* Regular expression which defines the rule.
*
*
* .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
*
* @return Whether the regex field is set.
*/
boolean hasRegex();
/**
*
*
*
* Regular expression which defines the rule.
*
*
* .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
*
* @return The regex.
*/
com.google.privacy.dlp.v2.CustomInfoType.Regex getRegex();
/**
*
*
*
* Regular expression which defines the rule.
*
*
* .google.privacy.dlp.v2.CustomInfoType.Regex regex = 2;
*/
com.google.privacy.dlp.v2.CustomInfoType.RegexOrBuilder getRegexOrBuilder();
/**
*
*
*
* Set of infoTypes for which findings would affect this rule.
*
*
* .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;
*
* @return Whether the excludeInfoTypes field is set.
*/
boolean hasExcludeInfoTypes();
/**
*
*
*
* Set of infoTypes for which findings would affect this rule.
*
*
* .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;
*
* @return The excludeInfoTypes.
*/
com.google.privacy.dlp.v2.ExcludeInfoTypes getExcludeInfoTypes();
/**
*
*
*
* Set of infoTypes for which findings would affect this rule.
*
*
* .google.privacy.dlp.v2.ExcludeInfoTypes exclude_info_types = 3;
*/
com.google.privacy.dlp.v2.ExcludeInfoTypesOrBuilder getExcludeInfoTypesOrBuilder();
/**
*
*
*
* 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;
*
* @return Whether the excludeByHotword field is set.
*/
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;
*
* @return The excludeByHotword.
*/
com.google.privacy.dlp.v2.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;
*/
com.google.privacy.dlp.v2.ExcludeByHotwordOrBuilder getExcludeByHotwordOrBuilder();
/**
*
*
*
* How the rule is applied, see MatchingType documentation for details.
*
*
* .google.privacy.dlp.v2.MatchingType matching_type = 4;
*
* @return The enum numeric value on the wire for matchingType.
*/
int getMatchingTypeValue();
/**
*
*
*
* How the rule is applied, see MatchingType documentation for details.
*
*
* .google.privacy.dlp.v2.MatchingType matching_type = 4;
*
* @return The matchingType.
*/
com.google.privacy.dlp.v2.MatchingType getMatchingType();
com.google.privacy.dlp.v2.ExclusionRule.TypeCase getTypeCase();
}