Interface VulnerabilityReportOrBuilder (2.75.0)

public interface VulnerabilityReportOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHighestUpgradableCveSeverity()

public abstract VulnerabilityReport.VulnerabilitySeverityLevel getHighestUpgradableCveSeverity()

Output only. Highest level of severity among all the upgradable vulnerabilities with CVEs attached.

.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilitySeverityLevel highest_upgradable_cve_severity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VulnerabilityReport.VulnerabilitySeverityLevel

The highestUpgradableCveSeverity.

getHighestUpgradableCveSeverityValue()

public abstract int getHighestUpgradableCveSeverityValue()

Output only. Highest level of severity among all the upgradable vulnerabilities with CVEs attached.

.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilitySeverityLevel highest_upgradable_cve_severity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for highestUpgradableCveSeverity.

getName()

public abstract String getName()

Output only. The vulnerabilityReport API resource name.

Format: projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The vulnerabilityReport API resource name.

Format: projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The timestamp for when the last vulnerability report was generated for the VM.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The timestamp for when the last vulnerability report was generated for the VM.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getVulnerabilities(int index)

public abstract VulnerabilityReport.Vulnerability getVulnerabilities(int index)

Output only. List of vulnerabilities affecting the VM.

repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
VulnerabilityReport.Vulnerability

getVulnerabilitiesCount()

public abstract int getVulnerabilitiesCount()

Output only. List of vulnerabilities affecting the VM.

repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getVulnerabilitiesList()

public abstract List<VulnerabilityReport.Vulnerability> getVulnerabilitiesList()

Output only. List of vulnerabilities affecting the VM.

repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Vulnerability>

getVulnerabilitiesOrBuilder(int index)

public abstract VulnerabilityReport.VulnerabilityOrBuilder getVulnerabilitiesOrBuilder(int index)

Output only. List of vulnerabilities affecting the VM.

repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
VulnerabilityReport.VulnerabilityOrBuilder

getVulnerabilitiesOrBuilderList()

public abstract List<? extends VulnerabilityReport.VulnerabilityOrBuilder> getVulnerabilitiesOrBuilderList()

Output only. List of vulnerabilities affecting the VM.

repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder>

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The timestamp for when the last vulnerability report was generated for the VM.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.