Class VulnerabilityReport.Vulnerability (2.5.2)

Stay organized with collections Save and categorize content based on your preferences.
public static final class VulnerabilityReport.Vulnerability extends GeneratedMessageV3 implements VulnerabilityReport.VulnerabilityOrBuilder

A vulnerability affecting the VM instance.

Protobuf type google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > VulnerabilityReport.Vulnerability

Static Fields

AVAILABLE_INVENTORY_ITEM_IDS_FIELD_NUMBER

public static final int AVAILABLE_INVENTORY_ITEM_IDS_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

DETAILS_FIELD_NUMBER

public static final int DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

INSTALLED_INVENTORY_ITEM_IDS_FIELD_NUMBER

public static final int INSTALLED_INVENTORY_ITEM_IDS_FIELD_NUMBER
Field Value
TypeDescription
int

ITEMS_FIELD_NUMBER

public static final int ITEMS_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VulnerabilityReport.Vulnerability getDefaultInstance()
Returns
TypeDescription
VulnerabilityReport.Vulnerability

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VulnerabilityReport.Vulnerability.Builder newBuilder()
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Builder

newBuilder(VulnerabilityReport.Vulnerability prototype)

public static VulnerabilityReport.Vulnerability.Builder newBuilder(VulnerabilityReport.Vulnerability prototype)
Parameter
NameDescription
prototypeVulnerabilityReport.Vulnerability
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Builder

parseDelimitedFrom(InputStream input)

public static VulnerabilityReport.Vulnerability parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VulnerabilityReport.Vulnerability
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VulnerabilityReport.Vulnerability parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VulnerabilityReport.Vulnerability
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VulnerabilityReport.Vulnerability parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VulnerabilityReport.Vulnerability
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VulnerabilityReport.Vulnerability parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VulnerabilityReport.Vulnerability
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VulnerabilityReport.Vulnerability parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VulnerabilityReport.Vulnerability
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VulnerabilityReport.Vulnerability parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VulnerabilityReport.Vulnerability
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<VulnerabilityReport.Vulnerability> parser()
Returns
TypeDescription
Parser<Vulnerability>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAvailableInventoryItemIds(int index) (deprecated)

public String getAvailableInventoryItemIds(int index)

Deprecated. google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/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 ByteString getAvailableInventoryItemIdsBytes(int index)

Deprecated. google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/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 int getAvailableInventoryItemIdsCount()

Deprecated. google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/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 ProtocolStringList getAvailableInventoryItemIdsList()

Deprecated. google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/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
ProtocolStringList

A list containing the availableInventoryItemIds.

getCreateTime()

public Timestamp getCreateTime()

The timestamp for when the vulnerability was first detected.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The timestamp for when the vulnerability was first detected.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public VulnerabilityReport.Vulnerability getDefaultInstanceForType()
Returns
TypeDescription
VulnerabilityReport.Vulnerability

getDetails()

public VulnerabilityReport.Vulnerability.Details getDetails()

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

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

Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details

The details.

getDetailsOrBuilder()

public VulnerabilityReport.Vulnerability.DetailsOrBuilder getDetailsOrBuilder()

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

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

Returns
TypeDescription
VulnerabilityReport.Vulnerability.DetailsOrBuilder

getInstalledInventoryItemIds(int index) (deprecated)

public String getInstalledInventoryItemIds(int index)

Deprecated. google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/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 ByteString getInstalledInventoryItemIdsBytes(int index)

Deprecated. google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/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 int getInstalledInventoryItemIdsCount()

Deprecated. google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/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