public final class VulnerabilityNote extends GeneratedMessageV3 implements VulnerabilityNoteOrBuilder
A security vulnerability that can be found in resources.
Protobuf type grafeas.v1.VulnerabilityNote
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
CVSS_SCORE_FIELD_NUMBER
public static final int CVSS_SCORE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CVSS_V2_FIELD_NUMBER
public static final int CVSS_V2_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CVSS_V3_FIELD_NUMBER
public static final int CVSS_V3_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CVSS_VERSION_FIELD_NUMBER
public static final int CVSS_VERSION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DETAILS_FIELD_NUMBER
public static final int DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SOURCE_UPDATE_TIME_FIELD_NUMBER
public static final int SOURCE_UPDATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
WINDOWS_DETAILS_FIELD_NUMBER
public static final int WINDOWS_DETAILS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static VulnerabilityNote getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static VulnerabilityNote.Builder newBuilder()
newBuilder(VulnerabilityNote prototype)
public static VulnerabilityNote.Builder newBuilder(VulnerabilityNote prototype)
public static VulnerabilityNote parseDelimitedFrom(InputStream input)
public static VulnerabilityNote parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static VulnerabilityNote parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityNote parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static VulnerabilityNote parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityNote parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityNote parseFrom(CodedInputStream input)
public static VulnerabilityNote parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityNote parseFrom(InputStream input)
public static VulnerabilityNote parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static VulnerabilityNote parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityNote parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<VulnerabilityNote> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCvssScore()
public float getCvssScore()
The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10
where 0 indicates low severity and 10 indicates high severity.
float cvss_score = 1;
Returns |
---|
Type | Description |
float | The cvssScore.
|
getCvssV2()
The full description of the v2 CVSS for this vulnerability.
.grafeas.v1.CVSS cvss_v2 = 8;
Returns |
---|
Type | Description |
CVSS | The cvssV2.
|
getCvssV2OrBuilder()
public CVSSOrBuilder getCvssV2OrBuilder()
The full description of the v2 CVSS for this vulnerability.
.grafeas.v1.CVSS cvss_v2 = 8;
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.
|
getCvssV3OrBuilder()
public CVSSv3OrBuilder getCvssV3OrBuilder()
The full description of the CVSSv3 for this vulnerability.
.grafeas.v1.CVSSv3 cvss_v3 = 4;
getCvssVersion()
public CVSSVersion getCvssVersion()
CVSS version used to populate cvss_score and severity.
.grafeas.v1.CVSSVersion cvss_version = 7;
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()
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
|
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;
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
|
getDetailsOrBuilderList()
public List<? extends VulnerabilityNote.DetailOrBuilder> getDetailsOrBuilderList()
Details of all known distros and packages affected by this vulnerability.
repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;
Returns |
---|
Type | Description |
List<? extends io.grafeas.v1.VulnerabilityNote.DetailOrBuilder> | |
getParserForType()
public Parser<VulnerabilityNote> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSeverity()
public Severity getSeverity()
The note provider assigned severity of this vulnerability.
.grafeas.v1.Severity severity = 2;
Returns |
---|
Type | Description |
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.
|
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;
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
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
|
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;
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
|
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public VulnerabilityNote.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VulnerabilityNote.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public VulnerabilityNote.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides