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 InspectJobConfigOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectJobConfig) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The data to scan. 31 * </pre> 32 * 33 * <code>.google.privacy.dlp.v2.StorageConfig storage_config = 1;</code> 34 * 35 * @return Whether the storageConfig field is set. 36 */ hasStorageConfig()37 boolean hasStorageConfig(); 38 /** 39 * 40 * 41 * <pre> 42 * The data to scan. 43 * </pre> 44 * 45 * <code>.google.privacy.dlp.v2.StorageConfig storage_config = 1;</code> 46 * 47 * @return The storageConfig. 48 */ getStorageConfig()49 com.google.privacy.dlp.v2.StorageConfig getStorageConfig(); 50 /** 51 * 52 * 53 * <pre> 54 * The data to scan. 55 * </pre> 56 * 57 * <code>.google.privacy.dlp.v2.StorageConfig storage_config = 1;</code> 58 */ getStorageConfigOrBuilder()59 com.google.privacy.dlp.v2.StorageConfigOrBuilder getStorageConfigOrBuilder(); 60 61 /** 62 * 63 * 64 * <pre> 65 * How and what to scan for. 66 * </pre> 67 * 68 * <code>.google.privacy.dlp.v2.InspectConfig inspect_config = 2;</code> 69 * 70 * @return Whether the inspectConfig field is set. 71 */ hasInspectConfig()72 boolean hasInspectConfig(); 73 /** 74 * 75 * 76 * <pre> 77 * How and what to scan for. 78 * </pre> 79 * 80 * <code>.google.privacy.dlp.v2.InspectConfig inspect_config = 2;</code> 81 * 82 * @return The inspectConfig. 83 */ getInspectConfig()84 com.google.privacy.dlp.v2.InspectConfig getInspectConfig(); 85 /** 86 * 87 * 88 * <pre> 89 * How and what to scan for. 90 * </pre> 91 * 92 * <code>.google.privacy.dlp.v2.InspectConfig inspect_config = 2;</code> 93 */ getInspectConfigOrBuilder()94 com.google.privacy.dlp.v2.InspectConfigOrBuilder getInspectConfigOrBuilder(); 95 96 /** 97 * 98 * 99 * <pre> 100 * If provided, will be used as the default for all values in InspectConfig. 101 * `inspect_config` will be merged into the values persisted as part of the 102 * template. 103 * </pre> 104 * 105 * <code>string inspect_template_name = 3;</code> 106 * 107 * @return The inspectTemplateName. 108 */ getInspectTemplateName()109 java.lang.String getInspectTemplateName(); 110 /** 111 * 112 * 113 * <pre> 114 * If provided, will be used as the default for all values in InspectConfig. 115 * `inspect_config` will be merged into the values persisted as part of the 116 * template. 117 * </pre> 118 * 119 * <code>string inspect_template_name = 3;</code> 120 * 121 * @return The bytes for inspectTemplateName. 122 */ getInspectTemplateNameBytes()123 com.google.protobuf.ByteString getInspectTemplateNameBytes(); 124 125 /** 126 * 127 * 128 * <pre> 129 * Actions to execute at the completion of the job. 130 * </pre> 131 * 132 * <code>repeated .google.privacy.dlp.v2.Action actions = 4;</code> 133 */ getActionsList()134 java.util.List<com.google.privacy.dlp.v2.Action> getActionsList(); 135 /** 136 * 137 * 138 * <pre> 139 * Actions to execute at the completion of the job. 140 * </pre> 141 * 142 * <code>repeated .google.privacy.dlp.v2.Action actions = 4;</code> 143 */ getActions(int index)144 com.google.privacy.dlp.v2.Action getActions(int index); 145 /** 146 * 147 * 148 * <pre> 149 * Actions to execute at the completion of the job. 150 * </pre> 151 * 152 * <code>repeated .google.privacy.dlp.v2.Action actions = 4;</code> 153 */ getActionsCount()154 int getActionsCount(); 155 /** 156 * 157 * 158 * <pre> 159 * Actions to execute at the completion of the job. 160 * </pre> 161 * 162 * <code>repeated .google.privacy.dlp.v2.Action actions = 4;</code> 163 */ getActionsOrBuilderList()164 java.util.List<? extends com.google.privacy.dlp.v2.ActionOrBuilder> getActionsOrBuilderList(); 165 /** 166 * 167 * 168 * <pre> 169 * Actions to execute at the completion of the job. 170 * </pre> 171 * 172 * <code>repeated .google.privacy.dlp.v2.Action actions = 4;</code> 173 */ getActionsOrBuilder(int index)174 com.google.privacy.dlp.v2.ActionOrBuilder getActionsOrBuilder(int index); 175 } 176