Interface VulnerabilityReport.VulnerabilityOrBuilder (2.21.0)

public static interface VulnerabilityReport.VulnerabilityOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAvailableInventoryItemIds(int index) (deprecated)

public abstract String getAvailableInventoryItemIds(int index)

Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=120

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 [deprecated = true];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The availableInventoryItemIds at the given index.

getAvailableInventoryItemIdsBytes(int index) (deprecated)

public abstract ByteString getAvailableInventoryItemIdsBytes(int index)

Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=120

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 [deprecated = true];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the availableInventoryItemIds at the given index.

getAvailableInventoryItemIdsCount() (deprecated)

public abstract int getAvailableInventoryItemIdsCount()

Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=120

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 [deprecated = true];

Returns
TypeDescription
int

The count of availableInventoryItemIds.

getAvailableInventoryItemIdsList() (deprecated)

public abstract List<String> getAvailableInventoryItemIdsList()

Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=120

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 [deprecated = true];

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) (deprecated)

public abstract String getInstalledInventoryItemIds(int index)

Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=112

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 [deprecated = true];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The installedInventoryItemIds at the given index.

getInstalledInventoryItemIdsBytes(int index) (deprecated)

public abstract ByteString getInstalledInventoryItemIdsBytes(int index)

Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=112

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 [deprecated = true];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the installedInventoryItemIds at the given index.

getInstalledInventoryItemIdsCount() (deprecated)

public abstract int getInstalledInventoryItemIdsCount()

Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=112

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 [deprecated = true];

Returns
TypeDescription
int

The count of installedInventoryItemIds.

getInstalledInventoryItemIdsList() (deprecated)

public abstract List<String> getInstalledInventoryItemIdsList()

Deprecated. google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/vulnerability.proto;l=112

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 [deprecated = true];

Returns
TypeDescription
List<String>

A list containing the installedInventoryItemIds.

getItems(int index)

public abstract VulnerabilityReport.Vulnerability.Item getItems(int index)

List of items affected by the vulnerability.

repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Item

getItemsCount()

public abstract int getItemsCount()

List of items affected by the vulnerability.

repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;

Returns
TypeDescription
int

getItemsList()

public abstract List<VulnerabilityReport.Vulnerability.Item> getItemsList()

List of items affected by the vulnerability.

repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;

Returns
TypeDescription
List<Item>

getItemsOrBuilder(int index)

public abstract VulnerabilityReport.Vulnerability.ItemOrBuilder getItemsOrBuilder(int index)

List of items affected by the vulnerability.

repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerabilityReport.Vulnerability.ItemOrBuilder

getItemsOrBuilderList()

public abstract List<? extends VulnerabilityReport.Vulnerability.ItemOrBuilder> getItemsOrBuilderList()

List of items affected by the vulnerability.

repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;

Returns
TypeDescription
List<? extends com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.ItemOrBuilder>

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.