Send feedback
Class VulnerabilityReport.Vulnerability.Item (2.57.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.57.0 keyboard_arrow_down
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.v1alpha.VulnerabilityReport.Vulnerability.Item
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static VulnerabilityReport . Vulnerability . Item . Builder newBuilder ()
newBuilder(VulnerabilityReport.Vulnerability.Item prototype)
public static VulnerabilityReport . Vulnerability . Item . Builder newBuilder ( VulnerabilityReport . Vulnerability . Item prototype )
public static VulnerabilityReport . Vulnerability . Item parseDelimitedFrom ( InputStream input )
public static VulnerabilityReport . Vulnerability . Item parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static VulnerabilityReport . Vulnerability . Item parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport . Vulnerability . Item parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static VulnerabilityReport . Vulnerability . Item parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport . Vulnerability . Item parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static VulnerabilityReport . Vulnerability . Item parseFrom ( CodedInputStream input )
public static VulnerabilityReport . Vulnerability . Item parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static VulnerabilityReport . Vulnerability . Item parseFrom ( InputStream input )
public static VulnerabilityReport . Vulnerability . Item parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static VulnerabilityReport . Vulnerability . Item parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport . Vulnerability . Item parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<VulnerabilityReport . Vulnerability . Item > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
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 ()
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 ()
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()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public VulnerabilityReport . Vulnerability . Item . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VulnerabilityReport . Vulnerability . Item . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public VulnerabilityReport . Vulnerability . Item . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]