1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/privacy/dlp/v2/dlp.proto 18 19 package com.google.privacy.dlp.v2; 20 21 public interface ExcludeInfoTypesOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.ExcludeInfoTypes) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * InfoType list in ExclusionRule rule drops a finding when it overlaps or 31 * contained within with a finding of an infoType from this list. For 32 * example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and 33 * `exclusion_rule` containing `exclude_info_types.info_types` with 34 * "EMAIL_ADDRESS" the phone number findings are dropped if they overlap 35 * with EMAIL_ADDRESS finding. 36 * That leads to "555-222-2222@example.org" to generate only a single 37 * finding, namely email address. 38 * </pre> 39 * 40 * <code>repeated .google.privacy.dlp.v2.InfoType info_types = 1;</code> 41 */ getInfoTypesList()42 java.util.List<com.google.privacy.dlp.v2.InfoType> getInfoTypesList(); 43 /** 44 * 45 * 46 * <pre> 47 * InfoType list in ExclusionRule rule drops a finding when it overlaps or 48 * contained within with a finding of an infoType from this list. For 49 * example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and 50 * `exclusion_rule` containing `exclude_info_types.info_types` with 51 * "EMAIL_ADDRESS" the phone number findings are dropped if they overlap 52 * with EMAIL_ADDRESS finding. 53 * That leads to "555-222-2222@example.org" to generate only a single 54 * finding, namely email address. 55 * </pre> 56 * 57 * <code>repeated .google.privacy.dlp.v2.InfoType info_types = 1;</code> 58 */ getInfoTypes(int index)59 com.google.privacy.dlp.v2.InfoType getInfoTypes(int index); 60 /** 61 * 62 * 63 * <pre> 64 * InfoType list in ExclusionRule rule drops a finding when it overlaps or 65 * contained within with a finding of an infoType from this list. For 66 * example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and 67 * `exclusion_rule` containing `exclude_info_types.info_types` with 68 * "EMAIL_ADDRESS" the phone number findings are dropped if they overlap 69 * with EMAIL_ADDRESS finding. 70 * That leads to "555-222-2222@example.org" to generate only a single 71 * finding, namely email address. 72 * </pre> 73 * 74 * <code>repeated .google.privacy.dlp.v2.InfoType info_types = 1;</code> 75 */ getInfoTypesCount()76 int getInfoTypesCount(); 77 /** 78 * 79 * 80 * <pre> 81 * InfoType list in ExclusionRule rule drops a finding when it overlaps or 82 * contained within with a finding of an infoType from this list. For 83 * example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and 84 * `exclusion_rule` containing `exclude_info_types.info_types` with 85 * "EMAIL_ADDRESS" the phone number findings are dropped if they overlap 86 * with EMAIL_ADDRESS finding. 87 * That leads to "555-222-2222@example.org" to generate only a single 88 * finding, namely email address. 89 * </pre> 90 * 91 * <code>repeated .google.privacy.dlp.v2.InfoType info_types = 1;</code> 92 */ getInfoTypesOrBuilderList()93 java.util.List<? extends com.google.privacy.dlp.v2.InfoTypeOrBuilder> getInfoTypesOrBuilderList(); 94 /** 95 * 96 * 97 * <pre> 98 * InfoType list in ExclusionRule rule drops a finding when it overlaps or 99 * contained within with a finding of an infoType from this list. For 100 * example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and 101 * `exclusion_rule` containing `exclude_info_types.info_types` with 102 * "EMAIL_ADDRESS" the phone number findings are dropped if they overlap 103 * with EMAIL_ADDRESS finding. 104 * That leads to "555-222-2222@example.org" to generate only a single 105 * finding, namely email address. 106 * </pre> 107 * 108 * <code>repeated .google.privacy.dlp.v2.InfoType info_types = 1;</code> 109 */ getInfoTypesOrBuilder(int index)110 com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index); 111 } 112