- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.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.39.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.26.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.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.3
- 2.3.2
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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > VulnerabilityReport.Vulnerability.DetailsStatic 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()
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Details |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static VulnerabilityReport.Vulnerability.Details.Builder newBuilder()
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
newBuilder(VulnerabilityReport.Vulnerability.Details prototype)
public static VulnerabilityReport.Vulnerability.Details.Builder newBuilder(VulnerabilityReport.Vulnerability.Details prototype)
Parameter | |
---|---|
Name | Description |
prototype | VulnerabilityReport.Vulnerability.Details |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
parseDelimitedFrom(InputStream input)
public static VulnerabilityReport.Vulnerability.Details parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Details |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability.Details parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Details |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static VulnerabilityReport.Vulnerability.Details parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Details |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability.Details parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Details |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static VulnerabilityReport.Vulnerability.Details parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Details |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability.Details parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Details |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static VulnerabilityReport.Vulnerability.Details parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Details |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability.Details parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Details |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static VulnerabilityReport.Vulnerability.Details parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Details |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability.Details parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Details |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static VulnerabilityReport.Vulnerability.Details parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Details |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability.Details parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Details |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<VulnerabilityReport.Vulnerability.Details> parser()
Returns | |
---|---|
Type | Description |
Parser<Details> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
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 | |
---|---|
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;
Returns | |
---|---|
Type | Description |
CVSSv3OrBuilder |
getDefaultInstanceForType()
public VulnerabilityReport.Vulnerability.Details getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Details |
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 | |
---|---|
Type | Description |
Parser<Details> |
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 |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Details.Reference |
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;
Returns | |
---|---|
Type | Description |
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.v1.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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.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 |
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. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns | |
---|---|
Type | Description |
UnknownFieldSet |
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()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public VulnerabilityReport.Vulnerability.Details.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VulnerabilityReport.Vulnerability.Details.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public VulnerabilityReport.Vulnerability.Details.Builder toBuilder()
Returns | |
---|---|
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |