Class InspectResult (3.13.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 3.13.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  InspectResult   extends   GeneratedMessageV3   implements   InspectResultOrBuilder  
   
   All the findings for a single scanned item.
 Protobuf type google.privacy.dlp.v2.InspectResult
 
  
  
  
  Static Fields
   
  FINDINGS_FIELD_NUMBER 
  
    
public   static   final   int   FINDINGS_FIELD_NUMBER  
   
  Field Value 
  
  FINDINGS_TRUNCATED_FIELD_NUMBER 
  
    
public   static   final   int   FINDINGS_TRUNCATED_FIELD_NUMBER  
   
  Field Value 
  
  Static Methods
   
   
  getDefaultInstance() 
  
    
public   static   InspectResult   getDefaultInstance ()  
   
  Returns 
  
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  Returns 
  
   
  newBuilder() 
  
    
public   static   InspectResult . Builder   newBuilder ()  
   
  Returns 
  
   
  newBuilder(InspectResult prototype) 
  
    
public   static   InspectResult . Builder   newBuilder ( InspectResult   prototype )  
   
  Parameter 
  
  Returns 
  
   
  
  
    
public   static   InspectResult   parseDelimitedFrom ( InputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   InspectResult   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(byte[] data) 
  
    
public   static   InspectResult   parseFrom ( byte []   data )  
   
  Parameter 
  
    
      
        Name  
        Description  
       
      
        data 
        byte [] 
       
     
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   InspectResult   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteString data) 
  
    
public   static   InspectResult   parseFrom ( ByteString   data )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   InspectResult   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   InspectResult   parseFrom ( CodedInputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   InspectResult   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   InspectResult   parseFrom ( InputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   InspectResult   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteBuffer data) 
  
    
public   static   InspectResult   parseFrom ( ByteBuffer   data )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   InspectResult   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parser() 
  
    
public   static   Parser<InspectResult>   parser ()  
   
  Returns 
  
  Methods
   
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  getDefaultInstanceForType() 
  
    
public   InspectResult   getDefaultInstanceForType ()  
   
  Returns 
  
   
  getFindings(int index) 
  
    
public   Finding   getFindings ( int   index )  
   
   List of findings for an item.
 repeated .google.privacy.dlp.v2.Finding findings = 1;
 
  Parameter 
  
    
      
        Name  
        Description  
       
      
        index 
        int  
       
     
  
  Returns 
  
   
  getFindingsCount() 
  
    
public   int   getFindingsCount ()  
   
   List of findings for an item.
 repeated .google.privacy.dlp.v2.Finding findings = 1;
 
  Returns 
  
   
  getFindingsList() 
  
    
public   List<Finding>   getFindingsList ()  
   
   List of findings for an item.
 repeated .google.privacy.dlp.v2.Finding findings = 1;
 
  Returns 
  
   
  getFindingsOrBuilder(int index) 
  
    
public   FindingOrBuilder   getFindingsOrBuilder ( int   index )  
   
   List of findings for an item.
 repeated .google.privacy.dlp.v2.Finding findings = 1;
 
  Parameter 
  
    
      
        Name  
        Description  
       
      
        index 
        int  
       
     
  
  Returns 
  
   
  getFindingsOrBuilderList() 
  
    
public   List <?   extends   FindingOrBuilder >  getFindingsOrBuilderList ()  
   
   List of findings for an item.
 repeated .google.privacy.dlp.v2.Finding findings = 1;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        List <? extends com.google.privacy.dlp.v2.FindingOrBuilder > 
         
       
     
  
   
  getFindingsTruncated() 
  
    
public   boolean   getFindingsTruncated ()  
   
   If true, then this item might have more findings than were returned,
 and the findings returned are an arbitrary subset of all findings.
 The findings list might be truncated because the input items were too
 large, or because the server reached the maximum amount of resources
 allowed for a single API call. For best results, divide the input into
 smaller batches.
 bool findings_truncated = 2;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        boolean  
        The findingsTruncated.
 
       
     
  
   
  getParserForType() 
  
    
public   Parser<InspectResult>   getParserForType ()  
   
  Returns 
  
  Overrides 
  
   
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
   
  Returns 
  
  Overrides 
  
   
  getUnknownFields() 
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
   
  Returns 
  
  Overrides 
  
   
  hashCode() 
  
  Returns 
  
  Overrides 
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  Returns 
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  Returns 
  
  Overrides 
  
   
  newBuilderForType() 
  
    
public   InspectResult . Builder   newBuilderForType ()  
   
  Returns 
  
   
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   InspectResult . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  toBuilder() 
  
    
public   InspectResult . Builder   toBuilder ()  
   
  Returns 
  
   
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  Parameter 
  
  Overrides 
  
  Exceptions 
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-30 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]