Class InspectResult (3.56.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 3.56.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
 
  
  
  
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  FINDINGS_FIELD_NUMBER 
  
    
public   static   final   int   FINDINGS_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  FINDINGS_TRUNCATED_FIELD_NUMBER 
  
    
public   static   final   int   FINDINGS_TRUNCATED_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Static Methods
   
   
  getDefaultInstance() 
  
    
public   static   InspectResult   getDefaultInstance ()  
   
  
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  
   
  newBuilder() 
  
    
public   static   InspectResult . Builder   newBuilder ()  
   
  
   
  newBuilder(InspectResult prototype) 
  
    
public   static   InspectResult . Builder   newBuilder ( InspectResult   prototype )  
   
  
  
   
  
  
    
public   static   InspectResult   parseDelimitedFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   InspectResult   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(byte[] data) 
  
    
public   static   InspectResult   parseFrom ( byte []   data )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        data 
        byte [] 
       
     
  
  
  
   
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   InspectResult   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteString data) 
  
    
public   static   InspectResult   parseFrom ( ByteString   data )  
   
  
  
  
   
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   InspectResult   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   InspectResult   parseFrom ( CodedInputStream   input )  
   
  
  
  
   
  
  
    
public   static   InspectResult   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   InspectResult   parseFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   InspectResult   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteBuffer data) 
  
    
public   static   InspectResult   parseFrom ( ByteBuffer   data )  
   
  
  
  
   
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   InspectResult   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parser() 
  
    
public   static   Parser<InspectResult>   parser ()  
   
  
  Methods
   
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        obj 
        Object  
       
     
  
  
  Overrides 
  
   
  getDefaultInstanceForType() 
  
    
public   InspectResult   getDefaultInstanceForType ()  
   
  
   
  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  
       
     
  
  
   
  getFindingsCount() 
  
    
public   int   getFindingsCount ()  
   
   List of findings for an item.
 repeated .google.privacy.dlp.v2.Finding findings = 1;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
   
  getFindingsList() 
  
    
public   List<Finding>   getFindingsList ()  
   
   List of findings for an item.
 repeated .google.privacy.dlp.v2.Finding findings = 1;
 
  
   
  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  
       
     
  
  
   
  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 ()  
   
  
  Overrides 
  
   
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
   
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  hashCode() 
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  newBuilderForType() 
  
    
public   InspectResult . Builder   newBuilderForType ()  
   
  
   
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   InspectResult . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  
  
  Overrides 
  
   
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        Object  
         
       
     
  
  Overrides 
  
   
  toBuilder() 
  
    
public   InspectResult . Builder   toBuilder ()  
   
  
   
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  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."],[],[]]