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 OutputStorageConfigOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.OutputStorageConfig) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Store findings in an existing table or a new table in an existing 31 * dataset. If table_id is not set a new one will be generated 32 * for you with the following format: 33 * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific time zone will be used 34 * for generating the date details. 35 * For Inspect, each column in an existing output table must have the same 36 * name, type, and mode of a field in the `Finding` object. 37 * For Risk, an existing output table should be the output of a previous 38 * Risk analysis job run on the same source table, with the same privacy 39 * metric and quasi-identifiers. Risk jobs that analyze the same table but 40 * compute a different privacy metric, or use different sets of 41 * quasi-identifiers, cannot store their results in the same table. 42 * </pre> 43 * 44 * <code>.google.privacy.dlp.v2.BigQueryTable table = 1;</code> 45 * 46 * @return Whether the table field is set. 47 */ hasTable()48 boolean hasTable(); 49 /** 50 * 51 * 52 * <pre> 53 * Store findings in an existing table or a new table in an existing 54 * dataset. If table_id is not set a new one will be generated 55 * for you with the following format: 56 * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific time zone will be used 57 * for generating the date details. 58 * For Inspect, each column in an existing output table must have the same 59 * name, type, and mode of a field in the `Finding` object. 60 * For Risk, an existing output table should be the output of a previous 61 * Risk analysis job run on the same source table, with the same privacy 62 * metric and quasi-identifiers. Risk jobs that analyze the same table but 63 * compute a different privacy metric, or use different sets of 64 * quasi-identifiers, cannot store their results in the same table. 65 * </pre> 66 * 67 * <code>.google.privacy.dlp.v2.BigQueryTable table = 1;</code> 68 * 69 * @return The table. 70 */ getTable()71 com.google.privacy.dlp.v2.BigQueryTable getTable(); 72 /** 73 * 74 * 75 * <pre> 76 * Store findings in an existing table or a new table in an existing 77 * dataset. If table_id is not set a new one will be generated 78 * for you with the following format: 79 * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific time zone will be used 80 * for generating the date details. 81 * For Inspect, each column in an existing output table must have the same 82 * name, type, and mode of a field in the `Finding` object. 83 * For Risk, an existing output table should be the output of a previous 84 * Risk analysis job run on the same source table, with the same privacy 85 * metric and quasi-identifiers. Risk jobs that analyze the same table but 86 * compute a different privacy metric, or use different sets of 87 * quasi-identifiers, cannot store their results in the same table. 88 * </pre> 89 * 90 * <code>.google.privacy.dlp.v2.BigQueryTable table = 1;</code> 91 */ getTableOrBuilder()92 com.google.privacy.dlp.v2.BigQueryTableOrBuilder getTableOrBuilder(); 93 94 /** 95 * 96 * 97 * <pre> 98 * Schema used for writing the findings for Inspect jobs. This field is only 99 * used for Inspect and must be unspecified for Risk jobs. Columns are derived 100 * from the `Finding` object. If appending to an existing table, any columns 101 * from the predefined schema that are missing will be added. No columns in 102 * the existing table will be deleted. 103 * If unspecified, then all available columns will be used for a new table or 104 * an (existing) table with no schema, and no changes will be made to an 105 * existing table that has a schema. 106 * Only for use with external storage. 107 * </pre> 108 * 109 * <code>.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3;</code> 110 * 111 * @return The enum numeric value on the wire for outputSchema. 112 */ getOutputSchemaValue()113 int getOutputSchemaValue(); 114 /** 115 * 116 * 117 * <pre> 118 * Schema used for writing the findings for Inspect jobs. This field is only 119 * used for Inspect and must be unspecified for Risk jobs. Columns are derived 120 * from the `Finding` object. If appending to an existing table, any columns 121 * from the predefined schema that are missing will be added. No columns in 122 * the existing table will be deleted. 123 * If unspecified, then all available columns will be used for a new table or 124 * an (existing) table with no schema, and no changes will be made to an 125 * existing table that has a schema. 126 * Only for use with external storage. 127 * </pre> 128 * 129 * <code>.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema output_schema = 3;</code> 130 * 131 * @return The outputSchema. 132 */ getOutputSchema()133 com.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema getOutputSchema(); 134 getTypeCase()135 public com.google.privacy.dlp.v2.OutputStorageConfig.TypeCase getTypeCase(); 136 } 137