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
Static Fields
CVE_FIELD_NUMBER
public static final int CVE_FIELD_NUMBER
Field Value
CVSS_V2_SCORE_FIELD_NUMBER
public static final int CVSS_V2_SCORE_FIELD_NUMBER
Field Value
CVSS_V3_FIELD_NUMBER
public static final int CVSS_V3_FIELD_NUMBER
Field Value
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
REFERENCES_FIELD_NUMBER
public static final int REFERENCES_FIELD_NUMBER
Field Value
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static VulnerabilityReport.Vulnerability.Details getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static VulnerabilityReport.Vulnerability.Details.Builder newBuilder()
Returns
newBuilder(VulnerabilityReport.Vulnerability.Details prototype)
public static VulnerabilityReport.Vulnerability.Details.Builder newBuilder(VulnerabilityReport.Vulnerability.Details prototype)
Parameter
Returns
public static VulnerabilityReport.Vulnerability.Details parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static VulnerabilityReport.Vulnerability.Details parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static VulnerabilityReport.Vulnerability.Details parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability.Details parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static VulnerabilityReport.Vulnerability.Details parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability.Details parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VulnerabilityReport.Vulnerability.Details parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static VulnerabilityReport.Vulnerability.Details parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VulnerabilityReport.Vulnerability.Details parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static VulnerabilityReport.Vulnerability.Details parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static VulnerabilityReport.Vulnerability.Details parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability.Details parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<VulnerabilityReport.Vulnerability.Details> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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
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.v1alpha.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.v1alpha.CVSSv3 cvss_v3 = 3;
Returns
getDefaultInstanceForType()
public VulnerabilityReport.Vulnerability.Details getDefaultInstanceForType()
Returns
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()
Returns
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
Returns
getReferencesCount()
public int getReferencesCount()
Corresponds to the references attached to the VulnerabilityDetails
.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
Returns
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
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
Returns
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
Type | Description |
List<? extends com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder> | |
getSerializedSize()
public int getSerializedSize()
Returns
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasCvssV3()
public boolean hasCvssV3()
The full description of the CVSSv3 for this vulnerability from NVD.
.google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3;
Returns
Type | Description |
boolean | Whether the cvssV3 field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public VulnerabilityReport.Vulnerability.Details.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VulnerabilityReport.Vulnerability.Details.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public VulnerabilityReport.Vulnerability.Details.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions