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 InspectionRuleSetOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectionRuleSet) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * List of infoTypes this rule set is applied to. 31 * </pre> 32 * 33 * <code>repeated .google.privacy.dlp.v2.InfoType info_types = 1;</code> 34 */ getInfoTypesList()35 java.util.List<com.google.privacy.dlp.v2.InfoType> getInfoTypesList(); 36 /** 37 * 38 * 39 * <pre> 40 * List of infoTypes this rule set is applied to. 41 * </pre> 42 * 43 * <code>repeated .google.privacy.dlp.v2.InfoType info_types = 1;</code> 44 */ getInfoTypes(int index)45 com.google.privacy.dlp.v2.InfoType getInfoTypes(int index); 46 /** 47 * 48 * 49 * <pre> 50 * List of infoTypes this rule set is applied to. 51 * </pre> 52 * 53 * <code>repeated .google.privacy.dlp.v2.InfoType info_types = 1;</code> 54 */ getInfoTypesCount()55 int getInfoTypesCount(); 56 /** 57 * 58 * 59 * <pre> 60 * List of infoTypes this rule set is applied to. 61 * </pre> 62 * 63 * <code>repeated .google.privacy.dlp.v2.InfoType info_types = 1;</code> 64 */ getInfoTypesOrBuilderList()65 java.util.List<? extends com.google.privacy.dlp.v2.InfoTypeOrBuilder> getInfoTypesOrBuilderList(); 66 /** 67 * 68 * 69 * <pre> 70 * List of infoTypes this rule set is applied to. 71 * </pre> 72 * 73 * <code>repeated .google.privacy.dlp.v2.InfoType info_types = 1;</code> 74 */ getInfoTypesOrBuilder(int index)75 com.google.privacy.dlp.v2.InfoTypeOrBuilder getInfoTypesOrBuilder(int index); 76 77 /** 78 * 79 * 80 * <pre> 81 * Set of rules to be applied to infoTypes. The rules are applied in order. 82 * </pre> 83 * 84 * <code>repeated .google.privacy.dlp.v2.InspectionRule rules = 2;</code> 85 */ getRulesList()86 java.util.List<com.google.privacy.dlp.v2.InspectionRule> getRulesList(); 87 /** 88 * 89 * 90 * <pre> 91 * Set of rules to be applied to infoTypes. The rules are applied in order. 92 * </pre> 93 * 94 * <code>repeated .google.privacy.dlp.v2.InspectionRule rules = 2;</code> 95 */ getRules(int index)96 com.google.privacy.dlp.v2.InspectionRule getRules(int index); 97 /** 98 * 99 * 100 * <pre> 101 * Set of rules to be applied to infoTypes. The rules are applied in order. 102 * </pre> 103 * 104 * <code>repeated .google.privacy.dlp.v2.InspectionRule rules = 2;</code> 105 */ getRulesCount()106 int getRulesCount(); 107 /** 108 * 109 * 110 * <pre> 111 * Set of rules to be applied to infoTypes. The rules are applied in order. 112 * </pre> 113 * 114 * <code>repeated .google.privacy.dlp.v2.InspectionRule rules = 2;</code> 115 */ 116 java.util.List<? extends com.google.privacy.dlp.v2.InspectionRuleOrBuilder> getRulesOrBuilderList()117 getRulesOrBuilderList(); 118 /** 119 * 120 * 121 * <pre> 122 * Set of rules to be applied to infoTypes. The rules are applied in order. 123 * </pre> 124 * 125 * <code>repeated .google.privacy.dlp.v2.InspectionRule rules = 2;</code> 126 */ getRulesOrBuilder(int index)127 com.google.privacy.dlp.v2.InspectionRuleOrBuilder getRulesOrBuilder(int index); 128 } 129