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 TransformationErrorHandlingOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.TransformationErrorHandling) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Throw an error 31 * </pre> 32 * 33 * <code>.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1;</code> 34 * 35 * @return Whether the throwError field is set. 36 */ hasThrowError()37 boolean hasThrowError(); 38 /** 39 * 40 * 41 * <pre> 42 * Throw an error 43 * </pre> 44 * 45 * <code>.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1;</code> 46 * 47 * @return The throwError. 48 */ getThrowError()49 com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError getThrowError(); 50 /** 51 * 52 * 53 * <pre> 54 * Throw an error 55 * </pre> 56 * 57 * <code>.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1;</code> 58 */ 59 com.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorOrBuilder getThrowErrorOrBuilder()60 getThrowErrorOrBuilder(); 61 62 /** 63 * 64 * 65 * <pre> 66 * Ignore errors 67 * </pre> 68 * 69 * <code> 70 * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; 71 * </code> 72 * 73 * @return Whether the leaveUntransformed field is set. 74 */ hasLeaveUntransformed()75 boolean hasLeaveUntransformed(); 76 /** 77 * 78 * 79 * <pre> 80 * Ignore errors 81 * </pre> 82 * 83 * <code> 84 * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; 85 * </code> 86 * 87 * @return The leaveUntransformed. 88 */ getLeaveUntransformed()89 com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed getLeaveUntransformed(); 90 /** 91 * 92 * 93 * <pre> 94 * Ignore errors 95 * </pre> 96 * 97 * <code> 98 * .google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2; 99 * </code> 100 */ 101 com.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedOrBuilder getLeaveUntransformedOrBuilder()102 getLeaveUntransformedOrBuilder(); 103 getModeCase()104 public com.google.privacy.dlp.v2.TransformationErrorHandling.ModeCase getModeCase(); 105 } 106