- 2.57.0 (latest)
- 2.56.0
- 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.Builder extends GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Details.Builder> 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VulnerabilityReport.Vulnerability.Details.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllReferences(Iterable<? extends VulnerabilityReport.Vulnerability.Details.Reference> values)
public VulnerabilityReport.Vulnerability.Details.Builder addAllReferences(Iterable<? extends VulnerabilityReport.Vulnerability.Details.Reference> values)
Corresponds to the references attached to the VulnerabilityDetails
.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
Name | Description |
values | Iterable<? extends com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference> |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
addReferences(VulnerabilityReport.Vulnerability.Details.Reference value)
public VulnerabilityReport.Vulnerability.Details.Builder addReferences(VulnerabilityReport.Vulnerability.Details.Reference value)
Corresponds to the references attached to the VulnerabilityDetails
.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
Name | Description |
value | VulnerabilityReport.Vulnerability.Details.Reference |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
addReferences(VulnerabilityReport.Vulnerability.Details.Reference.Builder builderForValue)
public VulnerabilityReport.Vulnerability.Details.Builder addReferences(VulnerabilityReport.Vulnerability.Details.Reference.Builder builderForValue)
Corresponds to the references attached to the VulnerabilityDetails
.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
Name | Description |
builderForValue | VulnerabilityReport.Vulnerability.Details.Reference.Builder |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
addReferences(int index, VulnerabilityReport.Vulnerability.Details.Reference value)
public VulnerabilityReport.Vulnerability.Details.Builder addReferences(int index, VulnerabilityReport.Vulnerability.Details.Reference value)
Corresponds to the references attached to the VulnerabilityDetails
.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
Name | Description |
index | int |
value | VulnerabilityReport.Vulnerability.Details.Reference |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
addReferences(int index, VulnerabilityReport.Vulnerability.Details.Reference.Builder builderForValue)
public VulnerabilityReport.Vulnerability.Details.Builder addReferences(int index, VulnerabilityReport.Vulnerability.Details.Reference.Builder builderForValue)
Corresponds to the references attached to the VulnerabilityDetails
.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
Name | Description |
index | int |
builderForValue | VulnerabilityReport.Vulnerability.Details.Reference.Builder |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
addReferencesBuilder()
public VulnerabilityReport.Vulnerability.Details.Reference.Builder addReferencesBuilder()
Corresponds to the references attached to the VulnerabilityDetails
.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
Type | Description |
VulnerabilityReport.Vulnerability.Details.Reference.Builder |
addReferencesBuilder(int index)
public VulnerabilityReport.Vulnerability.Details.Reference.Builder addReferencesBuilder(int index)
Corresponds to the references attached to the VulnerabilityDetails
.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
Name | Description |
index | int |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Reference.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityReport.Vulnerability.Details.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
build()
public VulnerabilityReport.Vulnerability.Details build()
Type | Description |
VulnerabilityReport.Vulnerability.Details |
buildPartial()
public VulnerabilityReport.Vulnerability.Details buildPartial()
Type | Description |
VulnerabilityReport.Vulnerability.Details |
clear()
public VulnerabilityReport.Vulnerability.Details.Builder clear()
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
clearCve()
public VulnerabilityReport.Vulnerability.Details.Builder clearCve()
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;
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder | This builder for chaining. |
clearCvssV2Score()
public VulnerabilityReport.Vulnerability.Details.Builder clearCvssV2Score()
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;
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder | This builder for chaining. |
clearCvssV3()
public VulnerabilityReport.Vulnerability.Details.Builder clearCvssV3()
The full description of the CVSSv3 for this vulnerability from NVD.
.google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3;
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
clearDescription()
public VulnerabilityReport.Vulnerability.Details.Builder clearDescription()
The note or description describing the vulnerability from the distro.
string description = 5;
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public VulnerabilityReport.Vulnerability.Details.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public VulnerabilityReport.Vulnerability.Details.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
clearReferences()
public VulnerabilityReport.Vulnerability.Details.Builder clearReferences()
Corresponds to the references attached to the VulnerabilityDetails
.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
clearSeverity()
public VulnerabilityReport.Vulnerability.Details.Builder clearSeverity()
Assigned severity/impact ranking from the distro.
string severity = 4;
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder | This builder for chaining. |
clone()
public VulnerabilityReport.Vulnerability.Details.Builder clone()
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
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;
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;
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;
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;
Type | Description |
CVSSv3 | The cvssV3. |
getCvssV3Builder()
public CVSSv3.Builder getCvssV3Builder()
The full description of the CVSSv3 for this vulnerability from NVD.
.google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3;
Type | Description |
CVSSv3.Builder |
getCvssV3OrBuilder()
public CVSSv3OrBuilder getCvssV3OrBuilder()
The full description of the CVSSv3 for this vulnerability from NVD.
.google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3;
Type | Description |
CVSSv3OrBuilder |
getDefaultInstanceForType()
public VulnerabilityReport.Vulnerability.Details getDefaultInstanceForType()
Type | Description |
VulnerabilityReport.Vulnerability.Details |
getDescription()
public String getDescription()
The note or description describing the vulnerability from the distro.
string description = 5;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
The note or description describing the vulnerability from the distro.
string description = 5;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
Name | Description |
index | int |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Reference |
getReferencesBuilder(int index)
public VulnerabilityReport.Vulnerability.Details.Reference.Builder getReferencesBuilder(int index)
Corresponds to the references attached to the VulnerabilityDetails
.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
Name | Description |
index | int |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Reference.Builder |
getReferencesBuilderList()
public List<VulnerabilityReport.Vulnerability.Details.Reference.Builder> getReferencesBuilderList()
Corresponds to the references attached to the VulnerabilityDetails
.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
Type | Description |
List<Builder> |
getReferencesCount()
public int getReferencesCount()
Corresponds to the references attached to the VulnerabilityDetails
.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
Type | Description |
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;
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.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
Name | Description |
index | int |
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.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
Type | Description |
List<? extends com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder> |
getSeverity()
public String getSeverity()
Assigned severity/impact ranking from the distro.
string severity = 4;
Type | Description |
String | The severity. |
getSeverityBytes()
public ByteString getSeverityBytes()
Assigned severity/impact ranking from the distro.
string severity = 4;
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.v1alpha.CVSSv3 cvss_v3 = 3;
Type | Description |
boolean | Whether the cvssV3 field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCvssV3(CVSSv3 value)
public VulnerabilityReport.Vulnerability.Details.Builder mergeCvssV3(CVSSv3 value)
The full description of the CVSSv3 for this vulnerability from NVD.
.google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3;
Name | Description |
value | CVSSv3 |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
mergeFrom(VulnerabilityReport.Vulnerability.Details other)
public VulnerabilityReport.Vulnerability.Details.Builder mergeFrom(VulnerabilityReport.Vulnerability.Details other)
Name | Description |
other | VulnerabilityReport.Vulnerability.Details |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VulnerabilityReport.Vulnerability.Details.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public VulnerabilityReport.Vulnerability.Details.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityReport.Vulnerability.Details.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
removeReferences(int index)
public VulnerabilityReport.Vulnerability.Details.Builder removeReferences(int index)
Corresponds to the references attached to the VulnerabilityDetails
.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
Name | Description |
index | int |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
setCve(String value)
public VulnerabilityReport.Vulnerability.Details.Builder setCve(String value)
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;
Name | Description |
value | String The cve to set. |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder | This builder for chaining. |
setCveBytes(ByteString value)
public VulnerabilityReport.Vulnerability.Details.Builder setCveBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for cve to set. |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder | This builder for chaining. |
setCvssV2Score(float value)
public VulnerabilityReport.Vulnerability.Details.Builder setCvssV2Score(float value)
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;
Name | Description |
value | float The cvssV2Score to set. |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder | This builder for chaining. |
setCvssV3(CVSSv3 value)
public VulnerabilityReport.Vulnerability.Details.Builder setCvssV3(CVSSv3 value)
The full description of the CVSSv3 for this vulnerability from NVD.
.google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3;
Name | Description |
value | CVSSv3 |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
setCvssV3(CVSSv3.Builder builderForValue)
public VulnerabilityReport.Vulnerability.Details.Builder setCvssV3(CVSSv3.Builder builderForValue)
The full description of the CVSSv3 for this vulnerability from NVD.
.google.cloud.osconfig.v1alpha.CVSSv3 cvss_v3 = 3;
Name | Description |
builderForValue | CVSSv3.Builder |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
setDescription(String value)
public VulnerabilityReport.Vulnerability.Details.Builder setDescription(String value)
The note or description describing the vulnerability from the distro.
string description = 5;
Name | Description |
value | String The description to set. |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public VulnerabilityReport.Vulnerability.Details.Builder setDescriptionBytes(ByteString value)
The note or description describing the vulnerability from the distro.
string description = 5;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityReport.Vulnerability.Details.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
setReferences(int index, VulnerabilityReport.Vulnerability.Details.Reference value)
public VulnerabilityReport.Vulnerability.Details.Builder setReferences(int index, VulnerabilityReport.Vulnerability.Details.Reference value)
Corresponds to the references attached to the VulnerabilityDetails
.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
Name | Description |
index | int |
value | VulnerabilityReport.Vulnerability.Details.Reference |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
setReferences(int index, VulnerabilityReport.Vulnerability.Details.Reference.Builder builderForValue)
public VulnerabilityReport.Vulnerability.Details.Builder setReferences(int index, VulnerabilityReport.Vulnerability.Details.Reference.Builder builderForValue)
Corresponds to the references attached to the VulnerabilityDetails
.
repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference references = 6;
Name | Description |
index | int |
builderForValue | VulnerabilityReport.Vulnerability.Details.Reference.Builder |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VulnerabilityReport.Vulnerability.Details.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |
setSeverity(String value)
public VulnerabilityReport.Vulnerability.Details.Builder setSeverity(String value)
Assigned severity/impact ranking from the distro.
string severity = 4;
Name | Description |
value | String The severity to set. |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder | This builder for chaining. |
setSeverityBytes(ByteString value)
public VulnerabilityReport.Vulnerability.Details.Builder setSeverityBytes(ByteString value)
Assigned severity/impact ranking from the distro.
string severity = 4;
Name | Description |
value | ByteString The bytes for severity to set. |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityReport.Vulnerability.Details.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
VulnerabilityReport.Vulnerability.Details.Builder |