- 2.77.0 (latest)
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.71.0
- 2.69.0
- 2.68.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 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 VulnerabilityNoteOrBuilderA 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()| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends io.grafeas.v1.VulnerabilityNote.Detail> |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends io.grafeas.v1.VulnerabilityNote.WindowsDetail> |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
VulnerabilityNote.Detail |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
VulnerabilityNote.Detail.Builder |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
VulnerabilityNote.Detail |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
VulnerabilityNote.Detail.Builder |
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityNote.Detail.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityNote.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
VulnerabilityNote.WindowsDetail |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
VulnerabilityNote.WindowsDetail.Builder |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
VulnerabilityNote.WindowsDetail |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
VulnerabilityNote.WindowsDetail.Builder |
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityNote.WindowsDetail.Builder |
|
build()
public VulnerabilityNote build()| Returns | |
|---|---|
| Type | Description |
VulnerabilityNote |
|
buildPartial()
public VulnerabilityNote buildPartial()| Returns | |
|---|---|
| Type | Description |
VulnerabilityNote |
|
clear()
public VulnerabilityNote.Builder clear()| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
VulnerabilityNote.Builder |
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 |
VulnerabilityNote.Builder |
|
clearCvssV3()
public VulnerabilityNote.Builder clearCvssV3()The full description of the CVSSv3 for this vulnerability.
.grafeas.v1.CVSSv3 cvss_v3 = 4;
| Returns | |
|---|---|
| Type | Description |
VulnerabilityNote.Builder |
|
clearCvssVersion()
public VulnerabilityNote.Builder clearCvssVersion()CVSS version used to populate cvss_score and severity.
.grafeas.v1.CVSSVersion cvss_version = 7;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
VulnerabilityNote.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public VulnerabilityNote.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityNote.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public VulnerabilityNote.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityNote.Builder |
|
clearSeverity()
public VulnerabilityNote.Builder clearSeverity()The note provider assigned severity of this vulnerability.
.grafeas.v1.Severity severity = 2;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
VulnerabilityNote.Builder |
|
clone()
public VulnerabilityNote.Builder clone()| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
float |
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 |
CVSS |
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 |
CVSS.Builder |
|
getCvssV2OrBuilder()
public CVSSOrBuilder getCvssV2OrBuilder()The full description of the v2 CVSS for this vulnerability.
.grafeas.v1.CVSS cvss_v2 = 8;
| Returns | |
|---|---|
| Type | Description |
CVSSOrBuilder |
|
getCvssV3()
public CVSSv3 getCvssV3()The full description of the CVSSv3 for this vulnerability.
.grafeas.v1.CVSSv3 cvss_v3 = 4;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
CVSSv3.Builder |
|
getCvssV3OrBuilder()
public CVSSv3OrBuilder getCvssV3OrBuilder()The full description of the CVSSv3 for this vulnerability.
.grafeas.v1.CVSSv3 cvss_v3 = 4;
| Returns | |
|---|---|
| Type | Description |
CVSSv3OrBuilder |
|
getCvssVersion()
public CVSSVersion getCvssVersion()CVSS version used to populate cvss_score and severity.
.grafeas.v1.CVSSVersion cvss_version = 7;
| Returns | |
|---|---|
| Type | Description |
CVSSVersion |
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 |
VulnerabilityNote |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| 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 |
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;
| 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 |
Severity |
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 |
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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| 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 |
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| 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;
| 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 |
boolean |
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 |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sourceUpdateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
CVSS |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityNote.Builder |
|
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 |
CVSSv3 |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityNote.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VulnerabilityNote.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityNote.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public VulnerabilityNote.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityNote.Builder |
|
mergeFrom(VulnerabilityNote other)
public VulnerabilityNote.Builder mergeFrom(VulnerabilityNote other)| Parameter | |
|---|---|
| Name | Description |
other |
VulnerabilityNote |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityNote.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityNote.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe cvssScore to set. |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityNote.Builder |
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 |
CVSS |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityNote.Builder |
|
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 |
CVSS.Builder |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityNote.Builder |
|
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 |
CVSSv3 |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CVSSv3.Builder |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
CVSSVersionThe cvssVersion to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for cvssVersion to set. |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
VulnerabilityNote.Detail |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
VulnerabilityNote.Detail.Builder |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityNote.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityNote.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityNote.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VulnerabilityNote.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
SeverityThe severity to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for severity to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityNote.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityNote.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
VulnerabilityNote.WindowsDetail |
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
VulnerabilityNote.WindowsDetail.Builder |
| Returns | |
|---|---|
| Type | Description |
VulnerabilityNote.Builder |
|