Class VulnerabilityReport.Vulnerability.Item (2.50.0)

public static final class VulnerabilityReport.Vulnerability.Item extends GeneratedMessageV3 implements VulnerabilityReport.Vulnerability.ItemOrBuilder

OS inventory item that is affected by a vulnerability or fixed as a result of a vulnerability.

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

Inheritance

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

Static Fields

AVAILABLE_INVENTORY_ITEM_ID_FIELD_NUMBER

public static final int AVAILABLE_INVENTORY_ITEM_ID_FIELD_NUMBER
Field Value
Type Description
int

FIXED_CPE_URI_FIELD_NUMBER

public static final int FIXED_CPE_URI_FIELD_NUMBER
Field Value
Type Description
int

INSTALLED_INVENTORY_ITEM_ID_FIELD_NUMBER

public static final int INSTALLED_INVENTORY_ITEM_ID_FIELD_NUMBER
Field Value
Type Description
int

UPSTREAM_FIX_FIELD_NUMBER

public static final int UPSTREAM_FIX_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VulnerabilityReport.Vulnerability.Item getDefaultInstance()
Returns
Type Description
VulnerabilityReport.Vulnerability.Item

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static VulnerabilityReport.Vulnerability.Item.Builder newBuilder()
Returns
Type Description
VulnerabilityReport.Vulnerability.Item.Builder

newBuilder(VulnerabilityReport.Vulnerability.Item prototype)

public static VulnerabilityReport.Vulnerability.Item.Builder newBuilder(VulnerabilityReport.Vulnerability.Item prototype)
Parameter
Name Description
prototype VulnerabilityReport.Vulnerability.Item
Returns
Type Description
VulnerabilityReport.Vulnerability.Item.Builder

parseDelimitedFrom(InputStream input)

public static VulnerabilityReport.Vulnerability.Item parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VulnerabilityReport.Vulnerability.Item
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability.Item parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityReport.Vulnerability.Item
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VulnerabilityReport.Vulnerability.Item parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VulnerabilityReport.Vulnerability.Item
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability.Item parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityReport.Vulnerability.Item
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VulnerabilityReport.Vulnerability.Item parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VulnerabilityReport.Vulnerability.Item
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability.Item parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityReport.Vulnerability.Item
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VulnerabilityReport.Vulnerability.Item parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VulnerabilityReport.Vulnerability.Item
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability.Item parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityReport.Vulnerability.Item
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VulnerabilityReport.Vulnerability.Item parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VulnerabilityReport.Vulnerability.Item
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability.Item parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityReport.Vulnerability.Item
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VulnerabilityReport.Vulnerability.Item parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VulnerabilityReport.Vulnerability.Item
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability.Item parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityReport.Vulnerability.Item
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VulnerabilityReport.Vulnerability.Item> parser()
Returns
Type Description
Parser<Item>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAvailableInventoryItemId()

public String getAvailableInventoryItemId()

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.

string available_inventory_item_id = 2;

Returns
Type Description
String

The availableInventoryItemId.

getAvailableInventoryItemIdBytes()

public ByteString getAvailableInventoryItemIdBytes()

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.

string available_inventory_item_id = 2;

Returns
Type Description
ByteString

The bytes for availableInventoryItemId.

getDefaultInstanceForType()

public VulnerabilityReport.Vulnerability.Item getDefaultInstanceForType()
Returns
Type Description
VulnerabilityReport.Vulnerability.Item

getFixedCpeUri()

public String getFixedCpeUri()

The recommended CPE URI update that contains a fix for this vulnerability.

string fixed_cpe_uri = 3;

Returns
Type Description
String

The fixedCpeUri.

getFixedCpeUriBytes()

public ByteString getFixedCpeUriBytes()

The recommended CPE URI update that contains a fix for this vulnerability.

string fixed_cpe_uri = 3;

Returns
Type Description
ByteString

The bytes for fixedCpeUri.

getInstalledInventoryItemId()

public String getInstalledInventoryItemId()

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 operating systems, this field might be empty.

string installed_inventory_item_id = 1;

Returns
Type Description
String

The installedInventoryItemId.

getInstalledInventoryItemIdBytes()

public ByteString getInstalledInventoryItemIdBytes()

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 operating systems, this field might be empty.

string installed_inventory_item_id = 1;

Returns
Type Description
ByteString

The bytes for installedInventoryItemId.

getParserForType()

public Parser<VulnerabilityReport.Vulnerability.Item> getParserForType()
Returns
Type Description
Parser<Item>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpstreamFix()

public String getUpstreamFix()

The upstream OS patch, packages or KB that fixes the vulnerability.

string upstream_fix = 4;

Returns
Type Description
String

The upstreamFix.

getUpstreamFixBytes()

public ByteString getUpstreamFixBytes()

The upstream OS patch, packages or KB that fixes the vulnerability.

string upstream_fix = 4;

Returns
Type Description
ByteString

The bytes for upstreamFix.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public VulnerabilityReport.Vulnerability.Item.Builder newBuilderForType()
Returns
Type Description
VulnerabilityReport.Vulnerability.Item.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VulnerabilityReport.Vulnerability.Item.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VulnerabilityReport.Vulnerability.Item.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public VulnerabilityReport.Vulnerability.Item.Builder toBuilder()
Returns
Type Description
VulnerabilityReport.Vulnerability.Item.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException