Interface VulnerabilityReportOrBuilder (2.46.0)

public interface VulnerabilityReportOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.osconfig.v1alpha.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.