Class VulnerabilityReport.Vulnerability.Item (2.22.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
TypeDescription
int

FIXED_CPE_URI_FIELD_NUMBER

public static final int FIXED_CPE_URI_FIELD_NUMBER
Field Value
TypeDescription
int

INSTALLED_INVENTORY_ITEM_ID_FIELD_NUMBER

public static final int INSTALLED_INVENTORY_ITEM_ID_FIELD_NUMBER
Field Value
TypeDescription
int

UPSTREAM_FIX_FIELD_NUMBER

public static final int UPSTREAM_FIX_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(VulnerabilityReport.Vulnerability.Item prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for availableInventoryItemId.

getDefaultInstanceForType()

public VulnerabilityReport.Vulnerability.Item getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for installedInventoryItemId.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUpstreamFix()

public String getUpstreamFix()

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

string upstream_fix = 4;

Returns
TypeDescription
String

The upstreamFix.

getUpstreamFixBytes()

public ByteString getUpstreamFixBytes()

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

string upstream_fix = 4;

Returns
TypeDescription
ByteString

The bytes for upstreamFix.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VulnerabilityReport.Vulnerability.Item.Builder newBuilderForType()
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Item.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VulnerabilityReport.Vulnerability.Item.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Item.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VulnerabilityReport.Vulnerability.Item.Builder toBuilder()
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Item.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException