Class VulnerabilityNote (2.30.0)

  public 
  
 final 
  
 class 
 VulnerabilityNote 
  
 extends 
  
 GeneratedMessageV3 
  
 implements 
  
 VulnerabilityNoteOrBuilder 
 

A security vulnerability that can be found in resources.

Protobuf type grafeas.v1.VulnerabilityNote

Static Fields

CVSS_SCORE_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 CVSS_SCORE_FIELD_NUMBER 
 
Field Value
Type
Description
int

CVSS_V2_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 CVSS_V2_FIELD_NUMBER 
 
Field Value
Type
Description
int

CVSS_V3_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 CVSS_V3_FIELD_NUMBER 
 
Field Value
Type
Description
int

CVSS_VERSION_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 CVSS_VERSION_FIELD_NUMBER 
 
Field Value
Type
Description
int

DETAILS_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 DETAILS_FIELD_NUMBER 
 
Field Value
Type
Description
int

SEVERITY_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 SEVERITY_FIELD_NUMBER 
 
Field Value
Type
Description
int

SOURCE_UPDATE_TIME_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 SOURCE_UPDATE_TIME_FIELD_NUMBER 
 
Field Value
Type
Description
int

WINDOWS_DETAILS_FIELD_NUMBER

  public 
  
 static 
  
 final 
  
 int 
  
 WINDOWS_DETAILS_FIELD_NUMBER 
 
Field Value
Type
Description
int

Static Methods

getDefaultInstance()

  public 
  
 static 
  
 VulnerabilityNote 
  
 getDefaultInstance 
 () 
 
Returns
Type
Description

getDescriptor()

  public 
  
 static 
  
 final 
  
 Descriptors 
 . 
 Descriptor 
  
 getDescriptor 
 () 
 
Returns
Type
Description

newBuilder()

  public 
  
 static 
  
 VulnerabilityNote 
 . 
 Builder 
  
 newBuilder 
 () 
 
Returns
Type
Description

newBuilder(VulnerabilityNote prototype)

  public 
  
 static 
  
 VulnerabilityNote 
 . 
 Builder 
  
 newBuilder 
 ( 
 VulnerabilityNote 
  
 prototype 
 ) 
 
Parameter
Name
Description
prototype
Returns
Type
Description

parseDelimitedFrom(InputStream input)

  public 
  
 static 
  
 VulnerabilityNote 
  
 parseDelimitedFrom 
 ( 
 InputStream 
  
 input 
 ) 
 
Parameter
Name
Description
input
Returns
Type
Description
Exceptions
Type
Description

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 VulnerabilityNote 
  
 parseDelimitedFrom 
 ( 
 InputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
input
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(byte[] data)

  public 
  
 static 
  
 VulnerabilityNote 
  
 parseFrom 
 ( 
 byte 
 [] 
  
 data 
 ) 
 
Parameter
Name
Description
data
byte []
Returns
Type
Description
Exceptions
Type
Description

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 VulnerabilityNote 
  
 parseFrom 
 ( 
 byte 
 [] 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
data
byte []
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteString data)

  public 
  
 static 
  
 VulnerabilityNote 
  
 parseFrom 
 ( 
 ByteString 
  
 data 
 ) 
 
Parameter
Name
Description
data
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 VulnerabilityNote 
  
 parseFrom 
 ( 
 ByteString 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
data
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(CodedInputStream input)

  public 
  
 static 
  
 VulnerabilityNote 
  
 parseFrom 
 ( 
 CodedInputStream 
  
 input 
 ) 
 
Parameter
Name
Description
Returns
Type
Description
Exceptions
Type
Description

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 VulnerabilityNote 
  
 parseFrom 
 ( 
 CodedInputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(InputStream input)

  public 
  
 static 
  
 VulnerabilityNote 
  
 parseFrom 
 ( 
 InputStream 
  
 input 
 ) 
 
Parameter
Name
Description
input
Returns
Type
Description
Exceptions
Type
Description

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 VulnerabilityNote 
  
 parseFrom 
 ( 
 InputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
input
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteBuffer data)

  public 
  
 static 
  
 VulnerabilityNote 
  
 parseFrom 
 ( 
 ByteBuffer 
  
 data 
 ) 
 
Parameter
Name
Description
data
Returns
Type
Description
Exceptions
Type
Description

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

  public 
  
 static 
  
 VulnerabilityNote 
  
 parseFrom 
 ( 
 ByteBuffer 
  
 data 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
data
extensionRegistry
Returns
Type
Description
Exceptions
Type
Description

parser()

  public 
  
 static 
  
 Parser<VulnerabilityNote> 
  
 parser 
 () 
 
Returns
Type
Description

Methods

equals(Object obj)

  public 
  
 boolean 
  
 equals 
 ( 
 Object 
  
 obj 
 ) 
 
Parameter
Name
Description
obj
Returns
Type
Description
Overrides

getCvssScore()

  public 
  
 float 
  
 getCvssScore 
 () 
 

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 = 1;

Returns
Type
Description

The cvssScore.

getCvssV2()

  public 
  
 CVSS 
  
 getCvssV2 
 () 
 

The full description of the v2 CVSS for this vulnerability.

.grafeas.v1.CVSS cvss_v2 = 8;

Returns
Type
Description

The cvssV2.

getCvssV2OrBuilder()

  public 
  
 CVSSOrBuilder 
  
 getCvssV2OrBuilder 
 () 
 

The full description of the v2 CVSS for this vulnerability.

.grafeas.v1.CVSS cvss_v2 = 8;

Returns
Type
Description

getCvssV3()

  public 
  
 CVSSv3 
  
 getCvssV3 
 () 
 

The full description of the CVSSv3 for this vulnerability.

.grafeas.v1.CVSSv3 cvss_v3 = 4;

Returns
Type
Description

The cvssV3.

getCvssV3OrBuilder()

  public 
  
 CVSSv3OrBuilder 
  
 getCvssV3OrBuilder 
 () 
 

The full description of the CVSSv3 for this vulnerability.

.grafeas.v1.CVSSv3 cvss_v3 = 4;

Returns
Type
Description

getCvssVersion()

  public 
  
 CVSSVersion 
  
 getCvssVersion 
 () 
 

CVSS version used to populate cvss_score and severity.

.grafeas.v1.CVSSVersion cvss_version = 7;

Returns
Type
Description

The cvssVersion.

getCvssVersionValue()

  public 
  
 int 
  
 getCvssVersionValue 
 () 
 

CVSS version used to populate cvss_score and severity.

.grafeas.v1.CVSSVersion cvss_version = 7;

Returns
Type
Description
int

The enum numeric value on the wire for cvssVersion.

getDefaultInstanceForType()

  public 
  
 VulnerabilityNote 
  
 getDefaultInstanceForType 
 () 
 
Returns
Type
Description

getDetails(int index)

  public 
  
 VulnerabilityNote 
 . 
 Detail 
  
 getDetails 
 ( 
 int 
  
 index 
 ) 
 

Details of all known distros and packages affected by this vulnerability.

repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;

Parameter
Name
Description
index
int
Returns
Type
Description

getDetailsCount()

  public 
  
 int 
  
 getDetailsCount 
 () 
 

Details of all known distros and packages affected by this vulnerability.

repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;

Returns
Type
Description
int

getDetailsList()

  public 
  
 List<VulnerabilityNote 
 . 
 Detail 
>  
 getDetailsList 
 () 
 

Details of all known distros and packages affected by this vulnerability.

repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;

Returns
Type
Description
List < Detail >

getDetailsOrBuilder(int index)

  public 
  
 VulnerabilityNote 
 . 
 DetailOrBuilder 
  
 getDetailsOrBuilder 
 ( 
 int 
  
 index 
 ) 
 

Details of all known distros and packages affected by this vulnerability.

repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;

Parameter
Name
Description
index
int
Returns
Type
Description

getDetailsOrBuilderList()

  public 
  
 List 
< ? 
  
 extends 
  
 VulnerabilityNote 
 . 
 DetailOrBuilder 
>  
 getDetailsOrBuilderList 
 () 
 

Details of all known distros and packages affected by this vulnerability.

repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;

Returns
Type
Description
List < ? extends io.grafeas.v1.VulnerabilityNote.DetailOrBuilder >

getParserForType()

  public 
  
 Parser<VulnerabilityNote> 
  
 getParserForType 
 () 
 
Returns
Type
Description
Overrides

getSerializedSize()

  public 
  
 int 
  
 getSerializedSize 
 () 
 
Returns
Type
Description
int
Overrides

getSeverity()

  public 
  
 Severity 
  
 getSeverity 
 () 
 

The note provider assigned severity of this vulnerability.

.grafeas.v1.Severity severity = 2;

Returns
Type
Description

The severity.

getSeverityValue()

  public 
  
 int 
  
 getSeverityValue 
 () 
 

The note provider assigned severity of this vulnerability.

.grafeas.v1.Severity severity = 2;

Returns
Type
Description
int

The enum numeric value on the wire for severity.

getSourceUpdateTime()

  public 
  
 Timestamp 
  
 getSourceUpdateTime 
 () 
 

The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.

.google.protobuf.Timestamp source_update_time = 6;

Returns
Type
Description

The sourceUpdateTime.

getSourceUpdateTimeOrBuilder()

  public 
  
 TimestampOrBuilder 
  
 getSourceUpdateTimeOrBuilder 
 () 
 

The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.

.google.protobuf.Timestamp source_update_time = 6;

Returns
Type
Description

getWindowsDetails(int index)

  public 
  
 VulnerabilityNote 
 . 
 WindowsDetail 
  
 getWindowsDetails 
 ( 
 int 
  
 index 
 ) 
 

Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.

repeated .grafeas.v1.VulnerabilityNote.WindowsDetail windows_details = 5;

Parameter
Name
Description
index
int
Returns
Type
Description

getWindowsDetailsCount()

  public 
  
 int 
  
 getWindowsDetailsCount 
 () 
 

Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.

repeated .grafeas.v1.VulnerabilityNote.WindowsDetail windows_details = 5;

Returns
Type
Description
int

getWindowsDetailsList()

  public 
  
 List<VulnerabilityNote 
 . 
 WindowsDetail 
>  
 getWindowsDetailsList 
 () 
 

Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.

repeated .grafeas.v1.VulnerabilityNote.WindowsDetail windows_details = 5;

Returns
Type
Description

getWindowsDetailsOrBuilder(int index)

  public 
  
 VulnerabilityNote 
 . 
 WindowsDetailOrBuilder 
  
 getWindowsDetailsOrBuilder 
 ( 
 int 
  
 index 
 ) 
 

Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.

repeated .grafeas.v1.VulnerabilityNote.WindowsDetail windows_details = 5;

Parameter
Name
Description
index
int
Returns
Type
Description

getWindowsDetailsOrBuilderList()

  public 
  
 List 
< ? 
  
 extends 
  
 VulnerabilityNote 
 . 
 WindowsDetailOrBuilder 
>  
 getWindowsDetailsOrBuilderList 
 () 
 

Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.

repeated .grafeas.v1.VulnerabilityNote.WindowsDetail windows_details = 5;

Returns
Type
Description
List < ? extends io.grafeas.v1.VulnerabilityNote.WindowsDetailOrBuilder >

hasCvssV2()

  public 
  
 boolean 
  
 hasCvssV2 
 () 
 

The full description of the v2 CVSS for this vulnerability.

.grafeas.v1.CVSS cvss_v2 = 8;

Returns
Type
Description

Whether the cvssV2 field is set.

hasCvssV3()

  public 
  
 boolean 
  
 hasCvssV3 
 () 
 

The full description of the CVSSv3 for this vulnerability.

.grafeas.v1.CVSSv3 cvss_v3 = 4;

Returns
Type
Description

Whether the cvssV3 field is set.

hasSourceUpdateTime()

  public 
  
 boolean 
  
 hasSourceUpdateTime 
 () 
 

The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.

.google.protobuf.Timestamp source_update_time = 6;

Returns
Type
Description

Whether the sourceUpdateTime field is set.

hashCode()

  public 
  
 int 
  
 hashCode 
 () 
 
Returns
Type
Description
int
Overrides

internalGetFieldAccessorTable()

  protected 
  
 GeneratedMessageV3 
 . 
 FieldAccessorTable 
  
 internalGetFieldAccessorTable 
 () 
 
Returns
Type
Description
Overrides

isInitialized()

  public 
  
 final 
  
 boolean 
  
 isInitialized 
 () 
 
Returns
Type
Description
Overrides

newBuilderForType()

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 newBuilderForType 
 () 
 
Returns
Type
Description

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

  protected 
  
 VulnerabilityNote 
 . 
 Builder 
  
 newBuilderForType 
 ( 
 GeneratedMessageV3 
 . 
 BuilderParent 
  
 parent 
 ) 
 
Parameter
Name
Description
parent
Returns
Type
Description
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

  protected 
  
 Object 
  
 newInstance 
 ( 
 GeneratedMessageV3 
 . 
 UnusedPrivateParameter 
  
 unused 
 ) 
 
Parameter
Name
Description
Returns
Type
Description
Overrides

toBuilder()

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 toBuilder 
 () 
 
Returns
Type
Description

writeTo(CodedOutputStream output)

  public 
  
 void 
  
 writeTo 
 ( 
 CodedOutputStream 
  
 output 
 ) 
 
Parameter
Name
Description
Overrides
Exceptions
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: