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/storage.proto 18 19 package com.google.privacy.dlp.v2; 20 21 public interface BigQueryOptionsOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.BigQueryOptions) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Complete BigQuery table reference. 31 * </pre> 32 * 33 * <code>.google.privacy.dlp.v2.BigQueryTable table_reference = 1;</code> 34 * 35 * @return Whether the tableReference field is set. 36 */ hasTableReference()37 boolean hasTableReference(); 38 /** 39 * 40 * 41 * <pre> 42 * Complete BigQuery table reference. 43 * </pre> 44 * 45 * <code>.google.privacy.dlp.v2.BigQueryTable table_reference = 1;</code> 46 * 47 * @return The tableReference. 48 */ getTableReference()49 com.google.privacy.dlp.v2.BigQueryTable getTableReference(); 50 /** 51 * 52 * 53 * <pre> 54 * Complete BigQuery table reference. 55 * </pre> 56 * 57 * <code>.google.privacy.dlp.v2.BigQueryTable table_reference = 1;</code> 58 */ getTableReferenceOrBuilder()59 com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableReferenceOrBuilder(); 60 61 /** 62 * 63 * 64 * <pre> 65 * Table fields that may uniquely identify a row within the table. When 66 * `actions.saveFindings.outputConfig.table` is specified, the values of 67 * columns specified here are available in the output table under 68 * `location.content_locations.record_location.record_key.id_values`. Nested 69 * fields such as `person.birthdate.year` are allowed. 70 * </pre> 71 * 72 * <code>repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;</code> 73 */ getIdentifyingFieldsList()74 java.util.List<com.google.privacy.dlp.v2.FieldId> getIdentifyingFieldsList(); 75 /** 76 * 77 * 78 * <pre> 79 * Table fields that may uniquely identify a row within the table. When 80 * `actions.saveFindings.outputConfig.table` is specified, the values of 81 * columns specified here are available in the output table under 82 * `location.content_locations.record_location.record_key.id_values`. Nested 83 * fields such as `person.birthdate.year` are allowed. 84 * </pre> 85 * 86 * <code>repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;</code> 87 */ getIdentifyingFields(int index)88 com.google.privacy.dlp.v2.FieldId getIdentifyingFields(int index); 89 /** 90 * 91 * 92 * <pre> 93 * Table fields that may uniquely identify a row within the table. When 94 * `actions.saveFindings.outputConfig.table` is specified, the values of 95 * columns specified here are available in the output table under 96 * `location.content_locations.record_location.record_key.id_values`. Nested 97 * fields such as `person.birthdate.year` are allowed. 98 * </pre> 99 * 100 * <code>repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;</code> 101 */ getIdentifyingFieldsCount()102 int getIdentifyingFieldsCount(); 103 /** 104 * 105 * 106 * <pre> 107 * Table fields that may uniquely identify a row within the table. When 108 * `actions.saveFindings.outputConfig.table` is specified, the values of 109 * columns specified here are available in the output table under 110 * `location.content_locations.record_location.record_key.id_values`. Nested 111 * fields such as `person.birthdate.year` are allowed. 112 * </pre> 113 * 114 * <code>repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;</code> 115 */ 116 java.util.List<? extends com.google.privacy.dlp.v2.FieldIdOrBuilder> getIdentifyingFieldsOrBuilderList()117 getIdentifyingFieldsOrBuilderList(); 118 /** 119 * 120 * 121 * <pre> 122 * Table fields that may uniquely identify a row within the table. When 123 * `actions.saveFindings.outputConfig.table` is specified, the values of 124 * columns specified here are available in the output table under 125 * `location.content_locations.record_location.record_key.id_values`. Nested 126 * fields such as `person.birthdate.year` are allowed. 127 * </pre> 128 * 129 * <code>repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;</code> 130 */ getIdentifyingFieldsOrBuilder(int index)131 com.google.privacy.dlp.v2.FieldIdOrBuilder getIdentifyingFieldsOrBuilder(int index); 132 133 /** 134 * 135 * 136 * <pre> 137 * Max number of rows to scan. If the table has more rows than this value, the 138 * rest of the rows are omitted. If not set, or if set to 0, all rows will be 139 * scanned. Only one of rows_limit and rows_limit_percent can be specified. 140 * Cannot be used in conjunction with TimespanConfig. 141 * </pre> 142 * 143 * <code>int64 rows_limit = 3;</code> 144 * 145 * @return The rowsLimit. 146 */ getRowsLimit()147 long getRowsLimit(); 148 149 /** 150 * 151 * 152 * <pre> 153 * Max percentage of rows to scan. The rest are omitted. The number of rows 154 * scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 155 * 100 means no limit. Defaults to 0. Only one of rows_limit and 156 * rows_limit_percent can be specified. Cannot be used in conjunction with 157 * TimespanConfig. 158 * </pre> 159 * 160 * <code>int32 rows_limit_percent = 6;</code> 161 * 162 * @return The rowsLimitPercent. 163 */ getRowsLimitPercent()164 int getRowsLimitPercent(); 165 166 /** 167 * <code>.google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;</code> 168 * 169 * @return The enum numeric value on the wire for sampleMethod. 170 */ getSampleMethodValue()171 int getSampleMethodValue(); 172 /** 173 * <code>.google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;</code> 174 * 175 * @return The sampleMethod. 176 */ getSampleMethod()177 com.google.privacy.dlp.v2.BigQueryOptions.SampleMethod getSampleMethod(); 178 179 /** 180 * 181 * 182 * <pre> 183 * References to fields excluded from scanning. This allows you to skip 184 * inspection of entire columns which you know have no findings. 185 * </pre> 186 * 187 * <code>repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;</code> 188 */ getExcludedFieldsList()189 java.util.List<com.google.privacy.dlp.v2.FieldId> getExcludedFieldsList(); 190 /** 191 * 192 * 193 * <pre> 194 * References to fields excluded from scanning. This allows you to skip 195 * inspection of entire columns which you know have no findings. 196 * </pre> 197 * 198 * <code>repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;</code> 199 */ getExcludedFields(int index)200 com.google.privacy.dlp.v2.FieldId getExcludedFields(int index); 201 /** 202 * 203 * 204 * <pre> 205 * References to fields excluded from scanning. This allows you to skip 206 * inspection of entire columns which you know have no findings. 207 * </pre> 208 * 209 * <code>repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;</code> 210 */ getExcludedFieldsCount()211 int getExcludedFieldsCount(); 212 /** 213 * 214 * 215 * <pre> 216 * References to fields excluded from scanning. This allows you to skip 217 * inspection of entire columns which you know have no findings. 218 * </pre> 219 * 220 * <code>repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;</code> 221 */ 222 java.util.List<? extends com.google.privacy.dlp.v2.FieldIdOrBuilder> getExcludedFieldsOrBuilderList()223 getExcludedFieldsOrBuilderList(); 224 /** 225 * 226 * 227 * <pre> 228 * References to fields excluded from scanning. This allows you to skip 229 * inspection of entire columns which you know have no findings. 230 * </pre> 231 * 232 * <code>repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;</code> 233 */ getExcludedFieldsOrBuilder(int index)234 com.google.privacy.dlp.v2.FieldIdOrBuilder getExcludedFieldsOrBuilder(int index); 235 236 /** 237 * 238 * 239 * <pre> 240 * Limit scanning only to these fields. 241 * </pre> 242 * 243 * <code>repeated .google.privacy.dlp.v2.FieldId included_fields = 7;</code> 244 */ getIncludedFieldsList()245 java.util.List<com.google.privacy.dlp.v2.FieldId> getIncludedFieldsList(); 246 /** 247 * 248 * 249 * <pre> 250 * Limit scanning only to these fields. 251 * </pre> 252 * 253 * <code>repeated .google.privacy.dlp.v2.FieldId included_fields = 7;</code> 254 */ getIncludedFields(int index)255 com.google.privacy.dlp.v2.FieldId getIncludedFields(int index); 256 /** 257 * 258 * 259 * <pre> 260 * Limit scanning only to these fields. 261 * </pre> 262 * 263 * <code>repeated .google.privacy.dlp.v2.FieldId included_fields = 7;</code> 264 */ getIncludedFieldsCount()265 int getIncludedFieldsCount(); 266 /** 267 * 268 * 269 * <pre> 270 * Limit scanning only to these fields. 271 * </pre> 272 * 273 * <code>repeated .google.privacy.dlp.v2.FieldId included_fields = 7;</code> 274 */ 275 java.util.List<? extends com.google.privacy.dlp.v2.FieldIdOrBuilder> getIncludedFieldsOrBuilderList()276 getIncludedFieldsOrBuilderList(); 277 /** 278 * 279 * 280 * <pre> 281 * Limit scanning only to these fields. 282 * </pre> 283 * 284 * <code>repeated .google.privacy.dlp.v2.FieldId included_fields = 7;</code> 285 */ getIncludedFieldsOrBuilder(int index)286 com.google.privacy.dlp.v2.FieldIdOrBuilder getIncludedFieldsOrBuilder(int index); 287 } 288