- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.3.1
- 2.2.3
- 2.1.3
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VulnerabilityNote.BuilderImplements
VulnerabilityNoteOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
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;
Name | Description |
values | Iterable<? extends io.grafeas.v1.VulnerabilityNote.Detail> |
Type | Description |
VulnerabilityNote.Builder |
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;
Name | Description |
values | Iterable<? extends io.grafeas.v1.VulnerabilityNote.WindowsDetail> |
Type | Description |
VulnerabilityNote.Builder |
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;
Name | Description |
index | int |
value | VulnerabilityNote.Detail |
Type | Description |
VulnerabilityNote.Builder |
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;
Name | Description |
index | int |
builderForValue | VulnerabilityNote.Detail.Builder |
Type | Description |
VulnerabilityNote.Builder |
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;
Name | Description |
value | VulnerabilityNote.Detail |
Type | Description |
VulnerabilityNote.Builder |
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;
Name | Description |
builderForValue | VulnerabilityNote.Detail.Builder |
Type | Description |
VulnerabilityNote.Builder |
addDetailsBuilder()
public VulnerabilityNote.Detail.Builder addDetailsBuilder()
Details of all known distros and packages affected by this vulnerability.
repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;
Type | Description |
VulnerabilityNote.Detail.Builder |
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;
Name | Description |
index | int |
Type | Description |
VulnerabilityNote.Detail.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityNote.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VulnerabilityNote.Builder |
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;
Name | Description |
index | int |
value | VulnerabilityNote.WindowsDetail |
Type | Description |
VulnerabilityNote.Builder |
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;
Name | Description |
index | int |
builderForValue | VulnerabilityNote.WindowsDetail.Builder |
Type | Description |
VulnerabilityNote.Builder |
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;
Name | Description |
value | VulnerabilityNote.WindowsDetail |
Type | Description |
VulnerabilityNote.Builder |
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;
Name | Description |
builderForValue | VulnerabilityNote.WindowsDetail.Builder |
Type | Description |
VulnerabilityNote.Builder |
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;
Type | Description |
VulnerabilityNote.WindowsDetail.Builder |
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;
Name | Description |
index | int |
Type | Description |
VulnerabilityNote.WindowsDetail.Builder |
build()
public VulnerabilityNote build()
Type | Description |
VulnerabilityNote |
buildPartial()
public VulnerabilityNote buildPartial()
Type | Description |
VulnerabilityNote |
clear()
public VulnerabilityNote.Builder clear()
Type | Description |
VulnerabilityNote.Builder |
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;
Type | Description |
VulnerabilityNote.Builder | This builder for chaining. |
clearCvssV3()
public VulnerabilityNote.Builder clearCvssV3()
The full description of the CVSSv3 for this vulnerability.
.grafeas.v1.CVSSv3 cvss_v3 = 4;
Type | Description |
VulnerabilityNote.Builder |
clearCvssVersion()
public VulnerabilityNote.Builder clearCvssVersion()
CVSS version used to populate cvss_score and severity.
.grafeas.v1.CVSSVersion cvss_version = 7;
Type | Description |
VulnerabilityNote.Builder | 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;
Type | Description |
VulnerabilityNote.Builder |
clearField(Descriptors.FieldDescriptor field)
public VulnerabilityNote.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
VulnerabilityNote.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public VulnerabilityNote.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
VulnerabilityNote.Builder |
clearSeverity()
public VulnerabilityNote.Builder clearSeverity()
The note provider assigned severity of this vulnerability.
.grafeas.v1.Severity severity = 2;
Type | Description |
VulnerabilityNote.Builder | 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;
Type | Description |
VulnerabilityNote.Builder |
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;
Type | Description |
VulnerabilityNote.Builder |
clone()
public VulnerabilityNote.Builder clone()
Type | Description |
VulnerabilityNote.Builder |
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;
Type | Description |
float | The cvssScore. |
getCvssV3()
public CVSSv3 getCvssV3()
The full description of the CVSSv3 for this vulnerability.
.grafeas.v1.CVSSv3 cvss_v3 = 4;
Type | Description |
CVSSv3 | The cvssV3. |
getCvssV3Builder()
public CVSSv3.Builder getCvssV3Builder()
The full description of the CVSSv3 for this vulnerability.
.grafeas.v1.CVSSv3 cvss_v3 = 4;
Type | Description |
CVSSv3.Builder |
getCvssV3OrBuilder()
public CVSSv3OrBuilder getCvssV3OrBuilder()
The full description of the CVSSv3 for this vulnerability.
.grafeas.v1.CVSSv3 cvss_v3 = 4;
Type | Description |
CVSSv3OrBuilder |
getCvssVersion()
public CVSSVersion getCvssVersion()
CVSS version used to populate cvss_score and severity.
.grafeas.v1.CVSSVersion cvss_version = 7;
Type | Description |
CVSSVersion | The cvssVersion. |
getCvssVersionValue()
public int getCvssVersionValue()
CVSS version used to populate cvss_score and severity.
.grafeas.v1.CVSSVersion cvss_version = 7;
Type | Description |
int | The enum numeric value on the wire for cvssVersion. |
getDefaultInstanceForType()
public VulnerabilityNote getDefaultInstanceForType()
Type | Description |
VulnerabilityNote |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
Name | Description |
index | int |
Type | Description |
VulnerabilityNote.Detail |
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;
Name | Description |
index | int |
Type | Description |
VulnerabilityNote.Detail.Builder |
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;
Type | Description |
List<Builder> |
getDetailsCount()
public int getDetailsCount()
Details of all known distros and packages affected by this vulnerability.
repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;
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;
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;
Name | Description |
index | int |
Type | Description |
VulnerabilityNote.DetailOrBuilder |
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;
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;
Type | Description |
Severity | The severity. |
getSeverityValue()
public int getSeverityValue()
The note provider assigned severity of this vulnerability.
.grafeas.v1.Severity severity = 2;
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;
Type | Description |
Timestamp | 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;
Type | Description |
Builder |
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;
Type | Description |
TimestampOrBuilder |
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;
Name | Description |
index | int |
Type | Description |
VulnerabilityNote.WindowsDetail |
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;
Name | Description |
index | int |
Type | Description |
VulnerabilityNote.WindowsDetail.Builder |
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;
Type | Description |
List<Builder> |
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;
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;
Type | Description |
List<WindowsDetail> |
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;
Name | Description |
index | int |
Type | Description |
VulnerabilityNote.WindowsDetailOrBuilder |
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;
Type | Description |
List<? extends io.grafeas.v1.VulnerabilityNote.WindowsDetailOrBuilder> |
hasCvssV3()
public boolean hasCvssV3()
The full description of the CVSSv3 for this vulnerability.
.grafeas.v1.CVSSv3 cvss_v3 = 4;
Type | Description |
boolean | 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;
Type | Description |
boolean | Whether the sourceUpdateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCvssV3(CVSSv3 value)
public VulnerabilityNote.Builder mergeCvssV3(CVSSv3 value)
The full description of the CVSSv3 for this vulnerability.
.grafeas.v1.CVSSv3 cvss_v3 = 4;
Name | Description |
value | CVSSv3 |
Type | Description |
VulnerabilityNote.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VulnerabilityNote.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
VulnerabilityNote.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public VulnerabilityNote.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
VulnerabilityNote.Builder |
mergeFrom(VulnerabilityNote other)
public VulnerabilityNote.Builder mergeFrom(VulnerabilityNote other)
Name | Description |
other | VulnerabilityNote |
Type | Description |
VulnerabilityNote.Builder |
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;
Name | Description |
value | Timestamp |
Type | Description |
VulnerabilityNote.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityNote.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VulnerabilityNote.Builder |
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;
Name | Description |
index | int |
Type | Description |
VulnerabilityNote.Builder |
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;
Name | Description |
index | int |
Type | Description |
VulnerabilityNote.Builder |
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;
Name | Description |
value | float The cvssScore to set. |
Type | Description |
VulnerabilityNote.Builder | This builder for chaining. |
setCvssV3(CVSSv3 value)
public VulnerabilityNote.Builder setCvssV3(CVSSv3 value)
The full description of the CVSSv3 for this vulnerability.
.grafeas.v1.CVSSv3 cvss_v3 = 4;
Name | Description |
value | CVSSv3 |
Type | Description |
VulnerabilityNote.Builder |
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;
Name | Description |
builderForValue | CVSSv3.Builder |
Type | Description |
VulnerabilityNote.Builder |
setCvssVersion(CVSSVersion value)
public VulnerabilityNote.Builder setCvssVersion(CVSSVersion value)
CVSS version used to populate cvss_score and severity.
.grafeas.v1.CVSSVersion cvss_version = 7;
Name | Description |
value | CVSSVersion The cvssVersion to set. |
Type | Description |
VulnerabilityNote.Builder | 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;
Name | Description |
value | int The enum numeric value on the wire for cvssVersion to set. |
Type | Description |
VulnerabilityNote.Builder | 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;
Name | Description |
index | int |
value | VulnerabilityNote.Detail |
Type | Description |
VulnerabilityNote.Builder |
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;
Name | Description |
index | int |
builderForValue | VulnerabilityNote.Detail.Builder |
Type | Description |
VulnerabilityNote.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityNote.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VulnerabilityNote.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VulnerabilityNote.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
VulnerabilityNote.Builder |
setSeverity(Severity value)
public VulnerabilityNote.Builder setSeverity(Severity value)
The note provider assigned severity of this vulnerability.
.grafeas.v1.Severity severity = 2;
Name | Description |
value | Severity The severity to set. |
Type | Description |
VulnerabilityNote.Builder | 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;
Name | Description |
value | int The enum numeric value on the wire for severity to set. |
Type | Description |
VulnerabilityNote.Builder | 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;
Name | Description |
value | Timestamp |
Type | Description |
VulnerabilityNote.Builder |
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;
Name | Description |
builderForValue | Builder |
Type | Description |
VulnerabilityNote.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityNote.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VulnerabilityNote.Builder |
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;
Name | Description |
index | int |
value | VulnerabilityNote.WindowsDetail |
Type | Description |
VulnerabilityNote.Builder |
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;
Name | Description |
index | int |
builderForValue | VulnerabilityNote.WindowsDetail.Builder |
Type | Description |
VulnerabilityNote.Builder |