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 DeidentifyConfigOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DeidentifyConfig) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Treat the dataset as free-form text and apply the same free text 31 * transformation everywhere. 32 * </pre> 33 * 34 * <code>.google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;</code> 35 * 36 * @return Whether the infoTypeTransformations field is set. 37 */ hasInfoTypeTransformations()38 boolean hasInfoTypeTransformations(); 39 /** 40 * 41 * 42 * <pre> 43 * Treat the dataset as free-form text and apply the same free text 44 * transformation everywhere. 45 * </pre> 46 * 47 * <code>.google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;</code> 48 * 49 * @return The infoTypeTransformations. 50 */ getInfoTypeTransformations()51 com.google.privacy.dlp.v2.InfoTypeTransformations getInfoTypeTransformations(); 52 /** 53 * 54 * 55 * <pre> 56 * Treat the dataset as free-form text and apply the same free text 57 * transformation everywhere. 58 * </pre> 59 * 60 * <code>.google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 1;</code> 61 */ getInfoTypeTransformationsOrBuilder()62 com.google.privacy.dlp.v2.InfoTypeTransformationsOrBuilder getInfoTypeTransformationsOrBuilder(); 63 64 /** 65 * 66 * 67 * <pre> 68 * Treat the dataset as structured. Transformations can be applied to 69 * specific locations within structured datasets, such as transforming 70 * a column within a table. 71 * </pre> 72 * 73 * <code>.google.privacy.dlp.v2.RecordTransformations record_transformations = 2;</code> 74 * 75 * @return Whether the recordTransformations field is set. 76 */ hasRecordTransformations()77 boolean hasRecordTransformations(); 78 /** 79 * 80 * 81 * <pre> 82 * Treat the dataset as structured. Transformations can be applied to 83 * specific locations within structured datasets, such as transforming 84 * a column within a table. 85 * </pre> 86 * 87 * <code>.google.privacy.dlp.v2.RecordTransformations record_transformations = 2;</code> 88 * 89 * @return The recordTransformations. 90 */ getRecordTransformations()91 com.google.privacy.dlp.v2.RecordTransformations getRecordTransformations(); 92 /** 93 * 94 * 95 * <pre> 96 * Treat the dataset as structured. Transformations can be applied to 97 * specific locations within structured datasets, such as transforming 98 * a column within a table. 99 * </pre> 100 * 101 * <code>.google.privacy.dlp.v2.RecordTransformations record_transformations = 2;</code> 102 */ getRecordTransformationsOrBuilder()103 com.google.privacy.dlp.v2.RecordTransformationsOrBuilder getRecordTransformationsOrBuilder(); 104 105 /** 106 * 107 * 108 * <pre> 109 * Treat the dataset as an image and redact. 110 * </pre> 111 * 112 * <code>.google.privacy.dlp.v2.ImageTransformations image_transformations = 4;</code> 113 * 114 * @return Whether the imageTransformations field is set. 115 */ hasImageTransformations()116 boolean hasImageTransformations(); 117 /** 118 * 119 * 120 * <pre> 121 * Treat the dataset as an image and redact. 122 * </pre> 123 * 124 * <code>.google.privacy.dlp.v2.ImageTransformations image_transformations = 4;</code> 125 * 126 * @return The imageTransformations. 127 */ getImageTransformations()128 com.google.privacy.dlp.v2.ImageTransformations getImageTransformations(); 129 /** 130 * 131 * 132 * <pre> 133 * Treat the dataset as an image and redact. 134 * </pre> 135 * 136 * <code>.google.privacy.dlp.v2.ImageTransformations image_transformations = 4;</code> 137 */ getImageTransformationsOrBuilder()138 com.google.privacy.dlp.v2.ImageTransformationsOrBuilder getImageTransformationsOrBuilder(); 139 140 /** 141 * 142 * 143 * <pre> 144 * Mode for handling transformation errors. If left unspecified, the default 145 * mode is `TransformationErrorHandling.ThrowError`. 146 * </pre> 147 * 148 * <code>.google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; 149 * </code> 150 * 151 * @return Whether the transformationErrorHandling field is set. 152 */ hasTransformationErrorHandling()153 boolean hasTransformationErrorHandling(); 154 /** 155 * 156 * 157 * <pre> 158 * Mode for handling transformation errors. If left unspecified, the default 159 * mode is `TransformationErrorHandling.ThrowError`. 160 * </pre> 161 * 162 * <code>.google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; 163 * </code> 164 * 165 * @return The transformationErrorHandling. 166 */ getTransformationErrorHandling()167 com.google.privacy.dlp.v2.TransformationErrorHandling getTransformationErrorHandling(); 168 /** 169 * 170 * 171 * <pre> 172 * Mode for handling transformation errors. If left unspecified, the default 173 * mode is `TransformationErrorHandling.ThrowError`. 174 * </pre> 175 * 176 * <code>.google.privacy.dlp.v2.TransformationErrorHandling transformation_error_handling = 3; 177 * </code> 178 */ 179 com.google.privacy.dlp.v2.TransformationErrorHandlingOrBuilder getTransformationErrorHandlingOrBuilder()180 getTransformationErrorHandlingOrBuilder(); 181 getTransformationCase()182 public com.google.privacy.dlp.v2.DeidentifyConfig.TransformationCase getTransformationCase(); 183 } 184