Class VulnerabilityNote.Builder (2.69.0)

  public 
  
 static 
  
 final 
  
 class 
 VulnerabilityNote 
 . 
 Builder 
  
 extends 
  
 GeneratedMessageV3 
 . 
 Builder<VulnerabilityNote 
 . 
 Builder 
>  
 implements 
  
 VulnerabilityNoteOrBuilder 
 

A security vulnerability that can be found in resources.

Protobuf type grafeas.v1.VulnerabilityNote

Static Methods

getDescriptor()

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

Methods

addAllDetails(Iterable<? extends VulnerabilityNote.Detail> values)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 addAllDetails 
 ( 
 Iterable 
< ? 
  
 extends 
  
 VulnerabilityNote 
 . 
 Detail 
>  
 values 
 ) 
 

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

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

Parameter
Name
Description
values
Iterable < ? extends io.grafeas.v1.VulnerabilityNote.Detail >
Returns
Type
Description

addAllWindowsDetails(Iterable<? extends VulnerabilityNote.WindowsDetail> values)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 addAllWindowsDetails 
 ( 
 Iterable 
< ? 
  
 extends 
  
 VulnerabilityNote 
 . 
 WindowsDetail 
>  
 values 
 ) 
 

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
values
Iterable < ? extends io.grafeas.v1.VulnerabilityNote.WindowsDetail >
Returns
Type
Description

addDetails(int index, VulnerabilityNote.Detail value)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 addDetails 
 ( 
 int 
  
 index 
 , 
  
 VulnerabilityNote 
 . 
 Detail 
  
 value 
 ) 
 

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

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

Parameters
Name
Description
index
int
Returns
Type
Description

addDetails(int index, VulnerabilityNote.Detail.Builder builderForValue)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 addDetails 
 ( 
 int 
  
 index 
 , 
  
 VulnerabilityNote 
 . 
 Detail 
 . 
 Builder 
  
 builderForValue 
 ) 
 

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

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

Parameters
Name
Description
index
int
Returns
Type
Description

addDetails(VulnerabilityNote.Detail value)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 addDetails 
 ( 
 VulnerabilityNote 
 . 
 Detail 
  
 value 
 ) 
 

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

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

Parameter
Name
Description
Returns
Type
Description

addDetails(VulnerabilityNote.Detail.Builder builderForValue)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 addDetails 
 ( 
 VulnerabilityNote 
 . 
 Detail 
 . 
 Builder 
  
 builderForValue 
 ) 
 

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

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

Parameter
Name
Description
Returns
Type
Description

addDetailsBuilder()

  public 
  
 VulnerabilityNote 
 . 
 Detail 
 . 
 Builder 
  
 addDetailsBuilder 
 () 
 

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

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

Returns
Type
Description

addDetailsBuilder(int index)

  public 
  
 VulnerabilityNote 
 . 
 Detail 
 . 
 Builder 
  
 addDetailsBuilder 
 ( 
 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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 addRepeatedField 
 ( 
 Descriptors 
 . 
 FieldDescriptor 
  
 field 
 , 
  
 Object 
  
 value 
 ) 
 
Parameters
Name
Description
value
Returns
Type
Description
Overrides

addWindowsDetails(int index, VulnerabilityNote.WindowsDetail value)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 addWindowsDetails 
 ( 
 int 
  
 index 
 , 
  
 VulnerabilityNote 
 . 
 WindowsDetail 
  
 value 
 ) 
 

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;

Parameters
Name
Description
index
int
Returns
Type
Description

addWindowsDetails(int index, VulnerabilityNote.WindowsDetail.Builder builderForValue)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 addWindowsDetails 
 ( 
 int 
  
 index 
 , 
  
 VulnerabilityNote 
 . 
 WindowsDetail 
 . 
 Builder 
  
 builderForValue 
 ) 
 

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;

Parameters
Name
Description
index
int
Returns
Type
Description

addWindowsDetails(VulnerabilityNote.WindowsDetail value)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 addWindowsDetails 
 ( 
 VulnerabilityNote 
 . 
 WindowsDetail 
  
 value 
 ) 
 

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
Returns
Type
Description

addWindowsDetails(VulnerabilityNote.WindowsDetail.Builder builderForValue)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 addWindowsDetails 
 ( 
 VulnerabilityNote 
 . 
 WindowsDetail 
 . 
 Builder 
  
 builderForValue 
 ) 
 

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
Returns
Type
Description

addWindowsDetailsBuilder()

  public 
  
 VulnerabilityNote 
 . 
 WindowsDetail 
 . 
 Builder 
  
 addWindowsDetailsBuilder 
 () 
 

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

addWindowsDetailsBuilder(int index)

  public 
  
 VulnerabilityNote 
 . 
 WindowsDetail 
 . 
 Builder 
  
 addWindowsDetailsBuilder 
 ( 
 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

build()

  public 
  
 VulnerabilityNote 
  
 build 
 () 
 
Returns
Type
Description

buildPartial()

  public 
  
 VulnerabilityNote 
  
 buildPartial 
 () 
 
Returns
Type
Description

clear()

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 clear 
 () 
 
Returns
Type
Description
Overrides

clearCvssScore()

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 clearCvssScore 
 () 
 

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

This builder for chaining.

clearCvssV2()

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 clearCvssV2 
 () 
 

The full description of the v2 CVSS for this vulnerability.

.grafeas.v1.CVSS cvss_v2 = 8;

Returns
Type
Description

clearCvssV3()

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 clearCvssV3 
 () 
 

The full description of the CVSSv3 for this vulnerability.

.grafeas.v1.CVSSv3 cvss_v3 = 4;

Returns
Type
Description

clearCvssVersion()

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 clearCvssVersion 
 () 
 

CVSS version used to populate cvss_score and severity.

.grafeas.v1.CVSSVersion cvss_version = 7;

Returns
Type
Description

This builder for chaining.

clearDetails()

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 clearDetails 
 () 
 

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

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

Returns
Type
Description

clearField(Descriptors.FieldDescriptor field)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 clearField 
 ( 
 Descriptors 
 . 
 FieldDescriptor 
  
 field 
 ) 
 
Parameter
Name
Description
Returns
Type
Description
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 clearOneof 
 ( 
 Descriptors 
 . 
 OneofDescriptor 
  
 oneof 
 ) 
 
Parameter
Name
Description
Returns
Type
Description
Overrides

clearSeverity()

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 clearSeverity 
 () 
 

The note provider assigned severity of this vulnerability.

.grafeas.v1.Severity severity = 2;

Returns
Type
Description

This builder for chaining.

clearSourceUpdateTime()

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 clearSourceUpdateTime 
 () 
 

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

clearWindowsDetails()

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 clearWindowsDetails 
 () 
 

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

clone()

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 clone 
 () 
 
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.

getCvssV2Builder()

  public 
  
 CVSS 
 . 
 Builder 
  
 getCvssV2Builder 
 () 
 

The full description of the v2 CVSS for this vulnerability.

.grafeas.v1.CVSS cvss_v2 = 8;

Returns
Type
Description

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.

getCvssV3Builder()

  public 
  
 CVSSv3 
 . 
 Builder 
  
 getCvssV3Builder 
 () 
 

The full description of the CVSSv3 for this vulnerability.

.grafeas.v1.CVSSv3 cvss_v3 = 4;

Returns
Type
Description

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

getDescriptorForType()

  public 
  
 Descriptors 
 . 
 Descriptor 
  
 getDescriptorForType 
 () 
 
Returns
Type
Description
Overrides

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

getDetailsBuilder(int index)

  public 
  
 VulnerabilityNote 
 . 
 Detail 
 . 
 Builder 
  
 getDetailsBuilder 
 ( 
 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

getDetailsBuilderList()

  public 
  
 List<VulnerabilityNote 
 . 
 Detail 
 . 
 Builder 
>  
 getDetailsBuilderList 
 () 
 

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

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

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 >

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.

getSourceUpdateTimeBuilder()

  public 
  
 Timestamp 
 . 
 Builder 
  
 getSourceUpdateTimeBuilder 
 () 
 

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

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

getWindowsDetailsBuilder(int index)

  public 
  
 VulnerabilityNote 
 . 
 WindowsDetail 
 . 
 Builder 
  
 getWindowsDetailsBuilder 
 ( 
 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

getWindowsDetailsBuilderList()

  public 
  
 List<VulnerabilityNote 
 . 
 WindowsDetail 
 . 
 Builder 
>  
 getWindowsDetailsBuilderList 
 () 
 

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

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.

internalGetFieldAccessorTable()

  protected 
  
 GeneratedMessageV3 
 . 
 FieldAccessorTable 
  
 internalGetFieldAccessorTable 
 () 
 
Returns
Type
Description
Overrides

isInitialized()

  public 
  
 final 
  
 boolean 
  
 isInitialized 
 () 
 
Returns
Type
Description
Overrides

mergeCvssV2(CVSS value)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 mergeCvssV2 
 ( 
 CVSS 
  
 value 
 ) 
 

The full description of the v2 CVSS for this vulnerability.

.grafeas.v1.CVSS cvss_v2 = 8;

Parameter
Name
Description
value
Returns
Type
Description

mergeCvssV3(CVSSv3 value)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 mergeCvssV3 
 ( 
 CVSSv3 
  
 value 
 ) 
 

The full description of the CVSSv3 for this vulnerability.

.grafeas.v1.CVSSv3 cvss_v3 = 4;

Parameter
Name
Description
value
Returns
Type
Description

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 mergeFrom 
 ( 
 CodedInputStream 
  
 input 
 , 
  
 ExtensionRegistryLite 
  
 extensionRegistry 
 ) 
 
Parameters
Name
Description
extensionRegistry
Returns
Type
Description
Overrides
Exceptions
Type
Description

mergeFrom(Message other)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 mergeFrom 
 ( 
 Message 
  
 other 
 ) 
 
Parameter
Name
Description
other
Returns
Type
Description
Overrides

mergeFrom(VulnerabilityNote other)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 mergeFrom 
 ( 
 VulnerabilityNote 
  
 other 
 ) 
 
Parameter
Name
Description
Returns
Type
Description

mergeSourceUpdateTime(Timestamp value)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 mergeSourceUpdateTime 
 ( 
 Timestamp 
  
 value 
 ) 
 

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;

Parameter
Name
Description
value
Returns
Type
Description

mergeUnknownFields(UnknownFieldSet unknownFields)

  public 
  
 final 
  
 VulnerabilityNote 
 . 
 Builder 
  
 mergeUnknownFields 
 ( 
 UnknownFieldSet 
  
 unknownFields 
 ) 
 
Parameter
Name
Description
unknownFields
Returns
Type
Description
Overrides

removeDetails(int index)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 removeDetails 
 ( 
 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

removeWindowsDetails(int index)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 removeWindowsDetails 
 ( 
 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

setCvssScore(float value)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 setCvssScore 
 ( 
 float 
  
 value 
 ) 
 

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;

Parameter
Name
Description
value
float

The cvssScore to set.

Returns
Type
Description

This builder for chaining.

setCvssV2(CVSS value)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 setCvssV2 
 ( 
 CVSS 
  
 value 
 ) 
 

The full description of the v2 CVSS for this vulnerability.

.grafeas.v1.CVSS cvss_v2 = 8;

Parameter
Name
Description
value
Returns
Type
Description

setCvssV2(CVSS.Builder builderForValue)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 setCvssV2 
 ( 
 CVSS 
 . 
 Builder 
  
 builderForValue 
 ) 
 

The full description of the v2 CVSS for this vulnerability.

.grafeas.v1.CVSS cvss_v2 = 8;

Parameter
Name
Description
builderForValue
Returns
Type
Description

setCvssV3(CVSSv3 value)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 setCvssV3 
 ( 
 CVSSv3 
  
 value 
 ) 
 

The full description of the CVSSv3 for this vulnerability.

.grafeas.v1.CVSSv3 cvss_v3 = 4;

Parameter
Name
Description
value
Returns
Type
Description

setCvssV3(CVSSv3.Builder builderForValue)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 setCvssV3 
 ( 
 CVSSv3 
 . 
 Builder 
  
 builderForValue 
 ) 
 

The full description of the CVSSv3 for this vulnerability.

.grafeas.v1.CVSSv3 cvss_v3 = 4;

Parameter
Name
Description
builderForValue
Returns
Type
Description

setCvssVersion(CVSSVersion value)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 setCvssVersion 
 ( 
 CVSSVersion 
  
 value 
 ) 
 

CVSS version used to populate cvss_score and severity.

.grafeas.v1.CVSSVersion cvss_version = 7;

Parameter
Name
Description
value
CVSSVersion

The cvssVersion to set.

Returns
Type
Description

This builder for chaining.

setCvssVersionValue(int value)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 setCvssVersionValue 
 ( 
 int 
  
 value 
 ) 
 

CVSS version used to populate cvss_score and severity.

.grafeas.v1.CVSSVersion cvss_version = 7;

Parameter
Name
Description
value
int

The enum numeric value on the wire for cvssVersion to set.

Returns
Type
Description

This builder for chaining.

setDetails(int index, VulnerabilityNote.Detail value)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 setDetails 
 ( 
 int 
  
 index 
 , 
  
 VulnerabilityNote 
 . 
 Detail 
  
 value 
 ) 
 

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

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

Parameters
Name
Description
index
int
Returns
Type
Description

setDetails(int index, VulnerabilityNote.Detail.Builder builderForValue)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 setDetails 
 ( 
 int 
  
 index 
 , 
  
 VulnerabilityNote 
 . 
 Detail 
 . 
 Builder 
  
 builderForValue 
 ) 
 

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

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

Parameters
Name
Description
index
int
Returns
Type
Description

setField(Descriptors.FieldDescriptor field, Object value)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 setField 
 ( 
 Descriptors 
 . 
 FieldDescriptor 
  
 field 
 , 
  
 Object 
  
 value 
 ) 
 
Parameters
Name
Description
value
Returns
Type
Description
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 setRepeatedField 
 ( 
 Descriptors 
 . 
 FieldDescriptor 
  
 field 
 , 
  
 int 
  
 index 
 , 
  
 Object 
  
 value 
 ) 
 
Parameters
Name
Description
index
int
value
Returns
Type
Description
Overrides

setSeverity(Severity value)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 setSeverity 
 ( 
 Severity 
  
 value 
 ) 
 

The note provider assigned severity of this vulnerability.

.grafeas.v1.Severity severity = 2;

Parameter
Name
Description
value
Severity

The severity to set.

Returns
Type
Description

This builder for chaining.

setSeverityValue(int value)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 setSeverityValue 
 ( 
 int 
  
 value 
 ) 
 

The note provider assigned severity of this vulnerability.

.grafeas.v1.Severity severity = 2;

Parameter
Name
Description
value
int

The enum numeric value on the wire for severity to set.

Returns
Type
Description

This builder for chaining.

setSourceUpdateTime(Timestamp value)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 setSourceUpdateTime 
 ( 
 Timestamp 
  
 value 
 ) 
 

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;

Parameter
Name
Description
value
Returns
Type
Description

setSourceUpdateTime(Timestamp.Builder builderForValue)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 setSourceUpdateTime 
 ( 
 Timestamp 
 . 
 Builder 
  
 builderForValue 
 ) 
 

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;

Parameter
Name
Description
builderForValue
Returns
Type
Description

setUnknownFields(UnknownFieldSet unknownFields)

  public 
  
 final 
  
 VulnerabilityNote 
 . 
 Builder 
  
 setUnknownFields 
 ( 
 UnknownFieldSet 
  
 unknownFields 
 ) 
 
Parameter
Name
Description
unknownFields
Returns
Type
Description
Overrides

setWindowsDetails(int index, VulnerabilityNote.WindowsDetail value)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 setWindowsDetails 
 ( 
 int 
  
 index 
 , 
  
 VulnerabilityNote 
 . 
 WindowsDetail 
  
 value 
 ) 
 

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;

Parameters
Name
Description
index
int
Returns
Type
Description

setWindowsDetails(int index, VulnerabilityNote.WindowsDetail.Builder builderForValue)

  public 
  
 VulnerabilityNote 
 . 
 Builder 
  
 setWindowsDetails 
 ( 
 int 
  
 index 
 , 
  
 VulnerabilityNote 
 . 
 WindowsDetail 
 . 
 Builder 
  
 builderForValue 
 ) 
 

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;

Parameters
Name
Description
index
int
Returns
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: