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 InspectResultOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.InspectResult) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * List of findings for an item. 31 * </pre> 32 * 33 * <code>repeated .google.privacy.dlp.v2.Finding findings = 1;</code> 34 */ getFindingsList()35 java.util.List<com.google.privacy.dlp.v2.Finding> getFindingsList(); 36 /** 37 * 38 * 39 * <pre> 40 * List of findings for an item. 41 * </pre> 42 * 43 * <code>repeated .google.privacy.dlp.v2.Finding findings = 1;</code> 44 */ getFindings(int index)45 com.google.privacy.dlp.v2.Finding getFindings(int index); 46 /** 47 * 48 * 49 * <pre> 50 * List of findings for an item. 51 * </pre> 52 * 53 * <code>repeated .google.privacy.dlp.v2.Finding findings = 1;</code> 54 */ getFindingsCount()55 int getFindingsCount(); 56 /** 57 * 58 * 59 * <pre> 60 * List of findings for an item. 61 * </pre> 62 * 63 * <code>repeated .google.privacy.dlp.v2.Finding findings = 1;</code> 64 */ getFindingsOrBuilderList()65 java.util.List<? extends com.google.privacy.dlp.v2.FindingOrBuilder> getFindingsOrBuilderList(); 66 /** 67 * 68 * 69 * <pre> 70 * List of findings for an item. 71 * </pre> 72 * 73 * <code>repeated .google.privacy.dlp.v2.Finding findings = 1;</code> 74 */ getFindingsOrBuilder(int index)75 com.google.privacy.dlp.v2.FindingOrBuilder getFindingsOrBuilder(int index); 76 77 /** 78 * 79 * 80 * <pre> 81 * If true, then this item might have more findings than were returned, 82 * and the findings returned are an arbitrary subset of all findings. 83 * The findings list might be truncated because the input items were too 84 * large, or because the server reached the maximum amount of resources 85 * allowed for a single API call. For best results, divide the input into 86 * smaller batches. 87 * </pre> 88 * 89 * <code>bool findings_truncated = 2;</code> 90 * 91 * @return The findingsTruncated. 92 */ getFindingsTruncated()93 boolean getFindingsTruncated(); 94 } 95