- 2.54.0 (latest)
- 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.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.10
- 2.3.1
- 2.2.16
public static final class Vulnerability.Builder extends GeneratedMessageV3.Builder<Vulnerability.Builder> implements VulnerabilityOrBuilder
Vulnerability provides metadata about a security vulnerability in a Note.
Protobuf type grafeas.v1beta1.vulnerability.Vulnerability
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Vulnerability.BuilderImplements
VulnerabilityOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllDetails(Iterable<? extends Vulnerability.Detail> values)
public Vulnerability.Builder addAllDetails(Iterable<? extends Vulnerability.Detail> values)
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends io.grafeas.v1beta1.vulnerability.Vulnerability.Detail> |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
addAllWindowsDetails(Iterable<? extends Vulnerability.WindowsDetail> values)
public Vulnerability.Builder addAllWindowsDetails(Iterable<? extends Vulnerability.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.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends io.grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail> |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
addDetails(int index, Vulnerability.Detail value)
public Vulnerability.Builder addDetails(int index, Vulnerability.Detail value)
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Vulnerability.Detail |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
addDetails(int index, Vulnerability.Detail.Builder builderForValue)
public Vulnerability.Builder addDetails(int index, Vulnerability.Detail.Builder builderForValue)
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Vulnerability.Detail.Builder |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
addDetails(Vulnerability.Detail value)
public Vulnerability.Builder addDetails(Vulnerability.Detail value)
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;
Parameter | |
---|---|
Name | Description |
value |
Vulnerability.Detail |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
addDetails(Vulnerability.Detail.Builder builderForValue)
public Vulnerability.Builder addDetails(Vulnerability.Detail.Builder builderForValue)
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
Vulnerability.Detail.Builder |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
addDetailsBuilder()
public Vulnerability.Detail.Builder addDetailsBuilder()
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;
Returns | |
---|---|
Type | Description |
Vulnerability.Detail.Builder |
addDetailsBuilder(int index)
public Vulnerability.Detail.Builder addDetailsBuilder(int index)
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Vulnerability.Detail.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Vulnerability.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
addWindowsDetails(int index, Vulnerability.WindowsDetail value)
public Vulnerability.Builder addWindowsDetails(int index, Vulnerability.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.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Vulnerability.WindowsDetail |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
addWindowsDetails(int index, Vulnerability.WindowsDetail.Builder builderForValue)
public Vulnerability.Builder addWindowsDetails(int index, Vulnerability.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.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Vulnerability.WindowsDetail.Builder |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
addWindowsDetails(Vulnerability.WindowsDetail value)
public Vulnerability.Builder addWindowsDetails(Vulnerability.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.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;
Parameter | |
---|---|
Name | Description |
value |
Vulnerability.WindowsDetail |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
addWindowsDetails(Vulnerability.WindowsDetail.Builder builderForValue)
public Vulnerability.Builder addWindowsDetails(Vulnerability.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.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
Vulnerability.WindowsDetail.Builder |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
addWindowsDetailsBuilder()
public Vulnerability.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.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;
Returns | |
---|---|
Type | Description |
Vulnerability.WindowsDetail.Builder |
addWindowsDetailsBuilder(int index)
public Vulnerability.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.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Vulnerability.WindowsDetail.Builder |
build()
public Vulnerability build()
Returns | |
---|---|
Type | Description |
Vulnerability |
buildPartial()
public Vulnerability buildPartial()
Returns | |
---|---|
Type | Description |
Vulnerability |
clear()
public Vulnerability.Builder clear()
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
clearCvssScore()
public Vulnerability.Builder clearCvssScore()
The CVSS score for this vulnerability.
float cvss_score = 1;
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
This builder for chaining. |
clearCvssV3()
public Vulnerability.Builder clearCvssV3()
The full description of the CVSSv3.
.grafeas.v1beta1.vulnerability.CVSSv3 cvss_v3 = 4;
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
clearDetails()
public Vulnerability.Builder clearDetails()
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
clearField(Descriptors.FieldDescriptor field)
public Vulnerability.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Vulnerability.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
clearSeverity()
public Vulnerability.Builder clearSeverity()
Note provider assigned impact of the vulnerability.
.grafeas.v1beta1.vulnerability.Severity severity = 2;
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
This builder for chaining. |
clearSourceUpdateTime()
public Vulnerability.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 |
Vulnerability.Builder |
clearWindowsDetails()
public Vulnerability.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.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
clone()
public Vulnerability.Builder clone()
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
getCvssScore()
public float getCvssScore()
The CVSS score for this vulnerability.
float cvss_score = 1;
Returns | |
---|---|
Type | Description |
float |
The cvssScore. |
getCvssV3()
public CVSSv3 getCvssV3()
The full description of the CVSSv3.
.grafeas.v1beta1.vulnerability.CVSSv3 cvss_v3 = 4;
Returns | |
---|---|
Type | Description |
CVSSv3 |
The cvssV3. |
getCvssV3Builder()
public CVSSv3.Builder getCvssV3Builder()
The full description of the CVSSv3.
.grafeas.v1beta1.vulnerability.CVSSv3 cvss_v3 = 4;
Returns | |
---|---|
Type | Description |
CVSSv3.Builder |
getCvssV3OrBuilder()
public CVSSv3OrBuilder getCvssV3OrBuilder()
The full description of the CVSSv3.
.grafeas.v1beta1.vulnerability.CVSSv3 cvss_v3 = 4;
Returns | |
---|---|
Type | Description |
CVSSv3OrBuilder |
getDefaultInstanceForType()
public Vulnerability getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Vulnerability |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDetails(int index)
public Vulnerability.Detail getDetails(int index)
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Vulnerability.Detail |
getDetailsBuilder(int index)
public Vulnerability.Detail.Builder getDetailsBuilder(int index)
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Vulnerability.Detail.Builder |
getDetailsBuilderList()
public List<Vulnerability.Detail.Builder> getDetailsBuilderList()
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;
Returns | |
---|---|
Type | Description |
List<Builder> |
getDetailsCount()
public int getDetailsCount()
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;
Returns | |
---|---|
Type | Description |
int |
getDetailsList()
public List<Vulnerability.Detail> getDetailsList()
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;
Returns | |
---|---|
Type | Description |
List<Detail> |
getDetailsOrBuilder(int index)
public Vulnerability.DetailOrBuilder getDetailsOrBuilder(int index)
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Vulnerability.DetailOrBuilder |
getDetailsOrBuilderList()
public List<? extends Vulnerability.DetailOrBuilder> getDetailsOrBuilderList()
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;
Returns | |
---|---|
Type | Description |
List<? extends io.grafeas.v1beta1.vulnerability.Vulnerability.DetailOrBuilder> |
getSeverity()
public Severity getSeverity()
Note provider assigned impact of the vulnerability.
.grafeas.v1beta1.vulnerability.Severity severity = 2;
Returns | |
---|---|
Type | Description |
Severity |
The severity. |
getSeverityValue()
public int getSeverityValue()
Note provider assigned impact of the vulnerability.
.grafeas.v1beta1.vulnerability.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 Vulnerability.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.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Vulnerability.WindowsDetail |
getWindowsDetailsBuilder(int index)
public Vulnerability.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.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Vulnerability.WindowsDetail.Builder |
getWindowsDetailsBuilderList()
public List<Vulnerability.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.v1beta1.vulnerability.Vulnerability.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.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;
Returns | |
---|---|
Type | Description |
int |
getWindowsDetailsList()
public List<Vulnerability.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.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;
Returns | |
---|---|
Type | Description |
List<WindowsDetail> |
getWindowsDetailsOrBuilder(int index)
public Vulnerability.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.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Vulnerability.WindowsDetailOrBuilder |
getWindowsDetailsOrBuilderList()
public List<? extends Vulnerability.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.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;
Returns | |
---|---|
Type | Description |
List<? extends io.grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetailOrBuilder> |
hasCvssV3()
public boolean hasCvssV3()
The full description of the CVSSv3.
.grafeas.v1beta1.vulnerability.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 |
mergeCvssV3(CVSSv3 value)
public Vulnerability.Builder mergeCvssV3(CVSSv3 value)
The full description of the CVSSv3.
.grafeas.v1beta1.vulnerability.CVSSv3 cvss_v3 = 4;
Parameter | |
---|---|
Name | Description |
value |
CVSSv3 |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Vulnerability.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Vulnerability.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
mergeFrom(Vulnerability other)
public Vulnerability.Builder mergeFrom(Vulnerability other)
Parameter | |
---|---|
Name | Description |
other |
Vulnerability |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
mergeSourceUpdateTime(Timestamp value)
public Vulnerability.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 |
Vulnerability.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Vulnerability.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
removeDetails(int index)
public Vulnerability.Builder removeDetails(int index)
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
removeWindowsDetails(int index)
public Vulnerability.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.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
setCvssScore(float value)
public Vulnerability.Builder setCvssScore(float value)
The CVSS score for this vulnerability.
float cvss_score = 1;
Parameter | |
---|---|
Name | Description |
value |
float The cvssScore to set. |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
This builder for chaining. |
setCvssV3(CVSSv3 value)
public Vulnerability.Builder setCvssV3(CVSSv3 value)
The full description of the CVSSv3.
.grafeas.v1beta1.vulnerability.CVSSv3 cvss_v3 = 4;
Parameter | |
---|---|
Name | Description |
value |
CVSSv3 |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
setCvssV3(CVSSv3.Builder builderForValue)
public Vulnerability.Builder setCvssV3(CVSSv3.Builder builderForValue)
The full description of the CVSSv3.
.grafeas.v1beta1.vulnerability.CVSSv3 cvss_v3 = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
CVSSv3.Builder |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
setDetails(int index, Vulnerability.Detail value)
public Vulnerability.Builder setDetails(int index, Vulnerability.Detail value)
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Vulnerability.Detail |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
setDetails(int index, Vulnerability.Detail.Builder builderForValue)
public Vulnerability.Builder setDetails(int index, Vulnerability.Detail.Builder builderForValue)
All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Vulnerability.Detail.Builder |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Vulnerability.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Vulnerability.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
setSeverity(Severity value)
public Vulnerability.Builder setSeverity(Severity value)
Note provider assigned impact of the vulnerability.
.grafeas.v1beta1.vulnerability.Severity severity = 2;
Parameter | |
---|---|
Name | Description |
value |
Severity The severity to set. |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
This builder for chaining. |
setSeverityValue(int value)
public Vulnerability.Builder setSeverityValue(int value)
Note provider assigned impact of the vulnerability.
.grafeas.v1beta1.vulnerability.Severity severity = 2;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for severity to set. |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
This builder for chaining. |
setSourceUpdateTime(Timestamp value)
public Vulnerability.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 |
Vulnerability.Builder |
setSourceUpdateTime(Timestamp.Builder builderForValue)
public Vulnerability.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 |
Vulnerability.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Vulnerability.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
setWindowsDetails(int index, Vulnerability.WindowsDetail value)
public Vulnerability.Builder setWindowsDetails(int index, Vulnerability.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.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Vulnerability.WindowsDetail |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |
setWindowsDetails(int index, Vulnerability.WindowsDetail.Builder builderForValue)
public Vulnerability.Builder setWindowsDetails(int index, Vulnerability.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.v1beta1.vulnerability.Vulnerability.WindowsDetail windows_details = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Vulnerability.WindowsDetail.Builder |
Returns | |
---|---|
Type | Description |
Vulnerability.Builder |