Class Discovered (2.12.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.12.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  Discovered   extends   GeneratedMessageV3   implements   DiscoveredOrBuilder  
   Provides information about the analysis status of a discovered resource.
 Protobuf type grafeas.v1beta1.discovery.Discovered
Static Fields
   
  ANALYSIS_STATUS_ERROR_FIELD_NUMBER 
  
    
public   static   final   int   ANALYSIS_STATUS_ERROR_FIELD_NUMBER  
  Field Value 
  
  ANALYSIS_STATUS_FIELD_NUMBER 
  
    
public   static   final   int   ANALYSIS_STATUS_FIELD_NUMBER  
  Field Value 
  
  CONTINUOUS_ANALYSIS_FIELD_NUMBER 
  
    
public   static   final   int   CONTINUOUS_ANALYSIS_FIELD_NUMBER  
  Field Value 
  
  LAST_ANALYSIS_TIME_FIELD_NUMBER 
  
    
public   static   final   int   LAST_ANALYSIS_TIME_FIELD_NUMBER  
  Field Value 
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   Discovered   getDefaultInstance ()  
  Returns 
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  Returns 
  
  newBuilder() 
  
    
public   static   Discovered . Builder   newBuilder ()  
  Returns 
  
  newBuilder(Discovered prototype) 
  
    
public   static   Discovered . Builder   newBuilder ( Discovered   prototype )  
  Parameter 
  
  Returns 
  
  
    
public   static   Discovered   parseDelimitedFrom ( InputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   Discovered   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(byte[] data) 
  
    
public   static   Discovered   parseFrom ( byte []   data )  
  Parameter 
  
    
      
        Name Description  
      
        databyte [] 
     
  
  Returns 
  
  Exceptions 
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   Discovered   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteString data) 
  
    
public   static   Discovered   parseFrom ( ByteString   data )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   Discovered   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   Discovered   parseFrom ( CodedInputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   Discovered   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   Discovered   parseFrom ( InputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   Discovered   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteBuffer data) 
  
    
public   static   Discovered   parseFrom ( ByteBuffer   data )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   Discovered   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parser() 
  
    
public   static   Parser<Discovered>   parser ()  
  Returns 
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  getAnalysisStatus() 
  
    
public   Discovered . AnalysisStatus   getAnalysisStatus ()  
   The status of discovery for the resource.
 .grafeas.v1beta1.discovery.Discovered.AnalysisStatus analysis_status = 3;
Returns 
  
  getAnalysisStatusError() 
  
    
public   Status   getAnalysisStatusError ()  
   When an error is encountered this will contain a LocalizedMessage under
 details to show to the user. The LocalizedMessage is output only and
 populated by the API.
 .google.rpc.Status analysis_status_error = 4;
Returns 
  
    
      
        Type Description  
      
        com.google.rpc.Status The analysisStatusError.
 
     
  
  getAnalysisStatusErrorOrBuilder() 
  
    
public   StatusOrBuilder   getAnalysisStatusErrorOrBuilder ()  
   When an error is encountered this will contain a LocalizedMessage under
 details to show to the user. The LocalizedMessage is output only and
 populated by the API.
 .google.rpc.Status analysis_status_error = 4;
Returns 
  
    
      
        Type Description  
      
        com.google.rpc.StatusOrBuilder  
     
  
  getAnalysisStatusValue() 
  
    
public   int   getAnalysisStatusValue ()  
   The status of discovery for the resource.
 .grafeas.v1beta1.discovery.Discovered.AnalysisStatus analysis_status = 3;
Returns 
  
    
      
        Type Description  
      
        int The enum numeric value on the wire for analysisStatus.
 
     
  
  getContinuousAnalysis() 
  
    
public   Discovered . ContinuousAnalysis   getContinuousAnalysis ()  
   Whether the resource is continuously analyzed.
 .grafeas.v1beta1.discovery.Discovered.ContinuousAnalysis continuous_analysis = 1;
Returns 
  
  getContinuousAnalysisValue() 
  
    
public   int   getContinuousAnalysisValue ()  
   Whether the resource is continuously analyzed.
 .grafeas.v1beta1.discovery.Discovered.ContinuousAnalysis continuous_analysis = 1;
Returns 
  
    
      
        Type Description  
      
        int The enum numeric value on the wire for continuousAnalysis.
 
     
  
  getDefaultInstanceForType() 
  
    
public   Discovered   getDefaultInstanceForType ()  
  Returns 
  
  getLastAnalysisTime() 
  
    
public   Timestamp   getLastAnalysisTime ()  
   The last time continuous analysis was done for this resource.
 .google.protobuf.Timestamp last_analysis_time = 2;
Returns 
  
    
      
        Type Description  
      
        Timestamp The lastAnalysisTime.
 
     
  
  getLastAnalysisTimeOrBuilder() 
  
    
public   TimestampOrBuilder   getLastAnalysisTimeOrBuilder ()  
   The last time continuous analysis was done for this resource.
 .google.protobuf.Timestamp last_analysis_time = 2;
Returns 
  
  getParserForType() 
  
    
public   Parser<Discovered>   getParserForType ()  
  Returns 
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  Returns 
  
  Overrides 
  
  getUnknownFields() 
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
  Returns 
  
  Overrides 
  
  hasAnalysisStatusError() 
  
    
public   boolean   hasAnalysisStatusError ()  
   When an error is encountered this will contain a LocalizedMessage under
 details to show to the user. The LocalizedMessage is output only and
 populated by the API.
 .google.rpc.Status analysis_status_error = 4;
Returns 
  
    
      
        Type Description  
      
        boolean Whether the analysisStatusError field is set.
 
     
  
  hasLastAnalysisTime() 
  
    
public   boolean   hasLastAnalysisTime ()  
   The last time continuous analysis was done for this resource.
 .google.protobuf.Timestamp last_analysis_time = 2;
Returns 
  
    
      
        Type Description  
      
        boolean Whether the lastAnalysisTime field is set.
 
     
  
  hashCode() 
  
  Returns 
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  Returns 
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  Returns 
  
  Overrides 
  
  newBuilderForType() 
  
    
public   Discovered . Builder   newBuilderForType ()  
  Returns 
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   Discovered . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  toBuilder() 
  
    
public   Discovered . 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-28 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-28 UTC."],[],[]]