Class Details (2.16.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.16.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  Details   extends   GeneratedMessageV3   implements   DetailsOrBuilder  
   Details of a vulnerability Occurrence.
 Protobuf type grafeas.v1beta1.vulnerability.Details
Static Fields
   
  CVSS_SCORE_FIELD_NUMBER 
  
    
public   static   final   int   CVSS_SCORE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  EFFECTIVE_SEVERITY_FIELD_NUMBER 
  
    
public   static   final   int   EFFECTIVE_SEVERITY_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  LONG_DESCRIPTION_FIELD_NUMBER 
  
    
public   static   final   int   LONG_DESCRIPTION_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  PACKAGE_ISSUE_FIELD_NUMBER 
  
    
public   static   final   int   PACKAGE_ISSUE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   RELATED_URLS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  SEVERITY_FIELD_NUMBER 
  
    
public   static   final   int   SEVERITY_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  SHORT_DESCRIPTION_FIELD_NUMBER 
  
    
public   static   final   int   SHORT_DESCRIPTION_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  TYPE_FIELD_NUMBER 
  
    
public   static   final   int   TYPE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   Details   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   Details . Builder   newBuilder ()  
  
  newBuilder(Details prototype) 
  
    
public   static   Details . Builder   newBuilder ( Details   prototype )  
  
    
      
        Parameter  
      
        Name Description  
      
        prototypeDetails  
     
  
  
  
    
public   static   Details   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   Details   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   Details   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   Details   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   Details   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   Details   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Details   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   Details   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Details   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   Details   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   Details   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   Details   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<Details>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getCvssScore() 
  
    
public   float   getCvssScore ()  
   Output only. The CVSS score of this vulnerability. CVSS score is on a
 scale of 0-10 where 0 indicates low severity and 10 indicates high
 severity.
 float cvss_score = 3;
    
      
        Returns  
      
        Type Description  
      
        float The cvssScore.
 
     
  
  getDefaultInstanceForType() 
  
    
public   Details   getDefaultInstanceForType ()  
  
  getEffectiveSeverity() 
  
    
public   Severity   getEffectiveSeverity ()  
   The distro assigned severity for this vulnerability when it is
 available, and note provider assigned severity when distro has not yet
 assigned a severity for this vulnerability.
 .grafeas.v1beta1.vulnerability.Severity effective_severity = 8;
    
      
        Returns  
      
        Type Description  
      
        Severity The effectiveSeverity.
 
     
  
  getEffectiveSeverityValue() 
  
    
public   int   getEffectiveSeverityValue ()  
   The distro assigned severity for this vulnerability when it is
 available, and note provider assigned severity when distro has not yet
 assigned a severity for this vulnerability.
 .grafeas.v1beta1.vulnerability.Severity effective_severity = 8;
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire for effectiveSeverity.
 
     
  
  getLongDescription() 
  
    
public   String   getLongDescription ()  
   Output only. A detailed description of this vulnerability.
 string long_description = 6;
    
      
        Returns  
      
        Type Description  
      
        String The longDescription.
 
     
  
  getLongDescriptionBytes() 
  
    
public   ByteString   getLongDescriptionBytes ()  
   Output only. A detailed description of this vulnerability.
 string long_description = 6;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for longDescription.
 
     
  
  getPackageIssue(int index) 
  
    
public   PackageIssue   getPackageIssue ( int   index )  
   Required. The set of affected locations and their fixes (if available)
 within the associated resource.
 repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getPackageIssueCount() 
  
    
public   int   getPackageIssueCount ()  
   Required. The set of affected locations and their fixes (if available)
 within the associated resource.
 repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getPackageIssueList() 
  
    
public   List<PackageIssue>   getPackageIssueList ()  
   Required. The set of affected locations and their fixes (if available)
 within the associated resource.
 repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;
getPackageIssueOrBuilder(int index) 
  
    
public   PackageIssueOrBuilder   getPackageIssueOrBuilder ( int   index )  
   Required. The set of affected locations and their fixes (if available)
 within the associated resource.
 repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getPackageIssueOrBuilderList() 
  
    
public   List <?   extends   PackageIssueOrBuilder >  getPackageIssueOrBuilderList ()  
   Required. The set of affected locations and their fixes (if available)
 within the associated resource.
 repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;
    
      
        Returns  
      
        Type Description  
      
        List <? extends io.grafeas.v1beta1.vulnerability.PackageIssueOrBuilder > 
     
  
  getParserForType() 
  
    
public   Parser<Details>   getParserForType ()  
  
  Overrides 
  
  
    
public   RelatedUrl   getRelatedUrls ( int   index )  
   Output only. URLs related to this vulnerability.
 repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  
    
public   int   getRelatedUrlsCount ()  
   Output only. URLs related to this vulnerability.
 repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  
    
public   List<RelatedUrl>   getRelatedUrlsList ()  
   Output only. URLs related to this vulnerability.
 repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;
    
public   RelatedUrlOrBuilder   getRelatedUrlsOrBuilder ( int   index )  
   Output only. URLs related to this vulnerability.
 repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  
    
public   List <?   extends   RelatedUrlOrBuilder >  getRelatedUrlsOrBuilderList ()  
   Output only. URLs related to this vulnerability.
 repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;
    
      
        Returns  
      
        Type Description  
      
        List <? extends io.grafeas.v1beta1.common.RelatedUrlOrBuilder > 
     
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getSeverity() 
  
    
public   Severity   getSeverity ()  
   Output only. The note provider assigned Severity of the vulnerability.
 .grafeas.v1beta1.vulnerability.Severity severity = 2;
    
      
        Returns  
      
        Type Description  
      
        Severity The severity.
 
     
  
  getSeverityValue() 
  
    
public   int   getSeverityValue ()  
   Output only. The note provider assigned Severity of the vulnerability.
 .grafeas.v1beta1.vulnerability.Severity severity = 2;
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire for severity.
 
     
  
  getShortDescription() 
  
    
public   String   getShortDescription ()  
   Output only. A one sentence description of this vulnerability.
 string short_description = 5;
    
      
        Returns  
      
        Type Description  
      
        String The shortDescription.
 
     
  
  getShortDescriptionBytes() 
  
    
public   ByteString   getShortDescriptionBytes ()  
   Output only. A one sentence description of this vulnerability.
 string short_description = 5;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for shortDescription.
 
     
  
  getType() 
  
   The type of package; whether native or non native(ruby gems, node.js
 packages etc)
 string type = 1;
    
      
        Returns  
      
        Type Description  
      
        String The type.
 
     
  
  getTypeBytes() 
  
    
public   ByteString   getTypeBytes ()  
   The type of package; whether native or non native(ruby gems, node.js
 packages etc)
 string type = 1;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for type.
 
     
  
  getUnknownFields() 
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
  
  Overrides 
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   Details . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   Details . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   Details . 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-11 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-11 UTC."],[],[]]