Interface VulnerabilityReport.VulnerabilityOrBuilder (2.3.2)

public static interface VulnerabilityReport.VulnerabilityOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAvailableInventoryItemIds(int index)

public abstract String getAvailableInventoryItemIds(int index)

Corresponds to the AVAILABLE_PACKAGE inventory item on the VM. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. If there is no available fix, the field is empty. The inventory_item value specifies the latest SoftwarePackage available to the VM that fixes the vulnerability.

repeated string available_inventory_item_ids = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The availableInventoryItemIds at the given index.

getAvailableInventoryItemIdsBytes(int index)

public abstract ByteString getAvailableInventoryItemIdsBytes(int index)

Corresponds to the AVAILABLE_PACKAGE inventory item on the VM. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. If there is no available fix, the field is empty. The inventory_item value specifies the latest SoftwarePackage available to the VM that fixes the vulnerability.

repeated string available_inventory_item_ids = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the availableInventoryItemIds at the given index.

getAvailableInventoryItemIdsCount()

public abstract int getAvailableInventoryItemIdsCount()

Corresponds to the AVAILABLE_PACKAGE inventory item on the VM. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. If there is no available fix, the field is empty. The inventory_item value specifies the latest SoftwarePackage available to the VM that fixes the vulnerability.

repeated string available_inventory_item_ids = 3;

Returns
TypeDescription
int

The count of availableInventoryItemIds.

getAvailableInventoryItemIdsList()

public abstract List<String> getAvailableInventoryItemIdsList()

Corresponds to the AVAILABLE_PACKAGE inventory item on the VM. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. If there is no available fix, the field is empty. The inventory_item value specifies the latest SoftwarePackage available to the VM that fixes the vulnerability.

repeated string available_inventory_item_ids = 3;

Returns
TypeDescription
List<String>

A list containing the availableInventoryItemIds.

getCreateTime()

public abstract Timestamp getCreateTime()

The timestamp for when the vulnerability was first detected.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

The timestamp for when the vulnerability was first detected.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getDetails()

public abstract VulnerabilityReport.Vulnerability.Details getDetails()

Contains metadata as per the upstream feed of the operating system and NVD.

.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1;

Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details

The details.

getDetailsOrBuilder()

public abstract VulnerabilityReport.Vulnerability.DetailsOrBuilder getDetailsOrBuilder()

Contains metadata as per the upstream feed of the operating system and NVD.

.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1;

Returns
TypeDescription
VulnerabilityReport.Vulnerability.DetailsOrBuilder

getInstalledInventoryItemIds(int index)

public abstract String getInstalledInventoryItemIds(int index)

Corresponds to the INSTALLED_PACKAGE inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. For some distros, this field may be empty.

repeated string installed_inventory_item_ids = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The installedInventoryItemIds at the given index.

getInstalledInventoryItemIdsBytes(int index)

public abstract ByteString getInstalledInventoryItemIdsBytes(int index)

Corresponds to the INSTALLED_PACKAGE inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. For some distros, this field may be empty.

repeated string installed_inventory_item_ids = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the installedInventoryItemIds at the given index.

getInstalledInventoryItemIdsCount()

public abstract int getInstalledInventoryItemIdsCount()

Corresponds to the INSTALLED_PACKAGE inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. For some distros, this field may be empty.

repeated string installed_inventory_item_ids = 2;

Returns
TypeDescription
int

The count of installedInventoryItemIds.

getInstalledInventoryItemIdsList()

public abstract List<String> getInstalledInventoryItemIdsList()

Corresponds to the INSTALLED_PACKAGE inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. For some distros, this field may be empty.

repeated string installed_inventory_item_ids = 2;

Returns
TypeDescription
List<String>

A list containing the installedInventoryItemIds.

getUpdateTime()

public abstract Timestamp getUpdateTime()

The timestamp for when the vulnerability was last modified.

.google.protobuf.Timestamp update_time = 5;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

The timestamp for when the vulnerability was last modified.

.google.protobuf.Timestamp update_time = 5;

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

The timestamp for when the vulnerability was first detected.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasDetails()

public abstract boolean hasDetails()

Contains metadata as per the upstream feed of the operating system and NVD.

.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1;

Returns
TypeDescription
boolean

Whether the details field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

The timestamp for when the vulnerability was last modified.

.google.protobuf.Timestamp update_time = 5;

Returns
TypeDescription
boolean

Whether the updateTime field is set.