public static final class VulnerabilityReport.Vulnerability.Details extends GeneratedMessageV3 implements VulnerabilityReport.Vulnerability.DetailsOrBuilder
Contains metadata information for the vulnerability. This information is
collected from the upstream feed of the operating system.
Protobuf type google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
CVE_FIELD_NUMBER
public static final int CVE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CVSS_V2_SCORE_FIELD_NUMBER
public static final int CVSS_V2_SCORE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CVSS_V3_FIELD_NUMBER
public static final int CVSS_V3_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
REFERENCES_FIELD_NUMBER
public static final int REFERENCES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static VulnerabilityReport.Vulnerability.Details getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static VulnerabilityReport.Vulnerability.Details.Builder newBuilder()
newBuilder(VulnerabilityReport.Vulnerability.Details prototype)
public static VulnerabilityReport.Vulnerability.Details.Builder newBuilder(VulnerabilityReport.Vulnerability.Details prototype)
public static VulnerabilityReport.Vulnerability.Details parseDelimitedFrom(InputStream input)
public static VulnerabilityReport.Vulnerability.Details parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static VulnerabilityReport.Vulnerability.Details parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability.Details parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static VulnerabilityReport.Vulnerability.Details parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability.Details parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability.Details parseFrom(CodedInputStream input)
public static VulnerabilityReport.Vulnerability.Details parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability.Details parseFrom(InputStream input)
public static VulnerabilityReport.Vulnerability.Details parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static VulnerabilityReport.Vulnerability.Details parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability.Details parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<VulnerabilityReport.Vulnerability.Details> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCve()
The CVE of the vulnerability. CVE cannot be
empty and the combination of <cve, classification> should be unique
across vulnerabilities for a VM.
string cve = 1;
Returns |
---|
Type | Description |
String | The cve.
|
getCveBytes()
public ByteString getCveBytes()
The CVE of the vulnerability. CVE cannot be
empty and the combination of <cve, classification> should be unique
across vulnerabilities for a VM.
string cve = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for cve.
|
getCvssV2Score()
public float getCvssV2Score()
The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of
0 - 10 where 0 indicates low severity and 10 indicates high severity.
float cvss_v2_score = 2;
Returns |
---|
Type | Description |
float | The cvssV2Score.
|
getCvssV3()
public CVSSv3 getCvssV3()
The full description of the CVSSv3 for this vulnerability from NVD.
.google.cloud.osconfig.v1.CVSSv3 cvss_v3 = 3;
Returns |
---|
Type | Description |
CVSSv3 | The cvssV3.
|
getCvssV3OrBuilder()
public CVSSv3OrBuilder getCvssV3OrBuilder()
The full description of the CVSSv3 for this vulnerability from NVD.
.google.cloud.osconfig.v1.CVSSv3 cvss_v3 = 3;
getDefaultInstanceForType()
public VulnerabilityReport.Vulnerability.Details getDefaultInstanceForType()
getDescription()
public String getDescription()
The note or description describing the vulnerability from the distro.
string description = 5;
Returns |
---|
Type | Description |
String | The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
The note or description describing the vulnerability from the distro.
string description = 5;
Returns |
---|
Type | Description |
ByteString | The bytes for description.
|
getParserForType()
public Parser<VulnerabilityReport.Vulnerability.Details> getParserForType()
Overrides
getReferences(int index)
public VulnerabilityReport.Vulnerability.Details.Reference getReferences(int index)
Corresponds to the references attached to the VulnerabilityDetails
.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
Parameter |
---|
Name | Description |
index | int
|
getReferencesCount()
public int getReferencesCount()
Corresponds to the references attached to the VulnerabilityDetails
.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
Returns |
---|
Type | Description |
int | |
getReferencesList()
public List<VulnerabilityReport.Vulnerability.Details.Reference> getReferencesList()
Corresponds to the references attached to the VulnerabilityDetails
.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
getReferencesOrBuilder(int index)
public VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder getReferencesOrBuilder(int index)
Corresponds to the references attached to the VulnerabilityDetails
.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
Parameter |
---|
Name | Description |
index | int
|
getReferencesOrBuilderList()
public List<? extends VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder> getReferencesOrBuilderList()
Corresponds to the references attached to the VulnerabilityDetails
.
repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder> | |
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSeverity()
public String getSeverity()
Assigned severity/impact ranking from the distro.
string severity = 4;
Returns |
---|
Type | Description |
String | The severity.
|
getSeverityBytes()
public ByteString getSeverityBytes()
Assigned severity/impact ranking from the distro.
string severity = 4;
Returns |
---|
Type | Description |
ByteString | The bytes for severity.
|
hasCvssV3()
public boolean hasCvssV3()
The full description of the CVSSv3 for this vulnerability from NVD.
.google.cloud.osconfig.v1.CVSSv3 cvss_v3 = 3;
Returns |
---|
Type | Description |
boolean | Whether the cvssV3 field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public VulnerabilityReport.Vulnerability.Details.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VulnerabilityReport.Vulnerability.Details.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public VulnerabilityReport.Vulnerability.Details.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides