Class VulnerabilityReport.Vulnerability.Details (2.4.3)

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.v1alpha.VulnerabilityReport.Vulnerability.Details

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > VulnerabilityReport.Vulnerability.Details

Static Fields

CVE_FIELD_NUMBER

public static final int CVE_FIELD_NUMBER
Field Value
TypeDescription
int

CVSS_V2_SCORE_FIELD_NUMBER

public static final int CVSS_V2_SCORE_FIELD_NUMBER
Field Value
TypeDescription
int

CVSS_V3_FIELD_NUMBER

public static final int CVSS_V3_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

REFERENCES_FIELD_NUMBER

public static final int REFERENCES_FIELD_NUMBER
Field Value
TypeDescription
int

SEVERITY_FIELD_NUMBER

public static final int SEVERITY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VulnerabilityReport.Vulnerability.Details getDefaultInstance()
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VulnerabilityReport.Vulnerability.Details.Builder newBuilder()
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Builder

newBuilder(VulnerabilityReport.Vulnerability.Details prototype)

public static VulnerabilityReport.Vulnerability.Details.Builder newBuilder(VulnerabilityReport.Vulnerability.Details prototype)
Parameter
NameDescription
prototypeVulnerabilityReport.Vulnerability.Details
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Builder

parseDelimitedFrom(InputStream input)

public static VulnerabilityReport.Vulnerability.Details parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability.Details parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VulnerabilityReport.Vulnerability.Details parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability.Details parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VulnerabilityReport.Vulnerability.Details parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability.Details parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VulnerabilityReport.Vulnerability.Details parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability.Details parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VulnerabilityReport.Vulnerability.Details parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability.Details parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VulnerabilityReport.Vulnerability.Details parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability.Details parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<VulnerabilityReport.Vulnerability.Details> parser()
Returns
TypeDescription
Parser<Details>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCve()

public String 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
TypeDescription
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
TypeDescription
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
TypeDescription
float

The cvssV2Score.

getCvssV3()

public CVSSv3 getCvssV3()

The full description of the CVSSv3 for this vulnerability from NVD.

.google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3;

Returns
TypeDescription
CVSSv3

The cvssV3.

getCvssV3OrBuilder()

public CVSSv3OrBuilder getCvssV3OrBuilder()

The full description of the CVSSv3 for this vulnerability from NVD.

.google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3;

Returns
TypeDescription
CVSSv3OrBuilder

getDefaultInstanceForType()

public VulnerabilityReport.Vulnerability.Details getDefaultInstanceForType()
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details

getDescription()

public String getDescription()

The note or description describing the vulnerability from the distro.

string description = 5;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The note or description describing the vulnerability from the distro.

string description = 5;

Returns
TypeDescription
ByteString

The bytes for description.

getParserForType()

public Parser<VulnerabilityReport.Vulnerability.Details> getParserForType()
Returns
TypeDescription
Parser<Details>
Overrides

getReferences(int index)

public VulnerabilityReport.Vulnerability.Details.Reference getReferences(int index)

Corresponds to the references attached to the VulnerabilityDetails.

repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference

getReferencesCount()

public int getReferencesCount()

Corresponds to the references attached to the VulnerabilityDetails.

repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;

Returns
TypeDescription
int

getReferencesList()

public List<VulnerabilityReport.Vulnerability.Details.Reference> getReferencesList()

Corresponds to the references attached to the VulnerabilityDetails.

repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;

Returns
TypeDescription
List<Reference>

getReferencesOrBuilder(int index)

public VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder getReferencesOrBuilder(int index)

Corresponds to the references attached to the VulnerabilityDetails.

repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder

getReferencesOrBuilderList()

public List<? extends VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder> getReferencesOrBuilderList()

Corresponds to the references attached to the VulnerabilityDetails.

repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;

Returns
TypeDescription
List<? extends com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSeverity()

public String getSeverity()

Assigned severity/impact ranking from the distro.

string severity = 4;

Returns
TypeDescription
String

The severity.

getSeverityBytes()

public ByteString getSeverityBytes()

Assigned severity/impact ranking from the distro.

string severity = 4;

Returns
TypeDescription