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
Static Fields
AVAILABLE_INVENTORY_ITEM_ID_FIELD_NUMBER
public static final int AVAILABLE_INVENTORY_ITEM_ID_FIELD_NUMBER
Field Value
FIXED_CPE_URI_FIELD_NUMBER
public static final int FIXED_CPE_URI_FIELD_NUMBER
Field Value
INSTALLED_INVENTORY_ITEM_ID_FIELD_NUMBER
public static final int INSTALLED_INVENTORY_ITEM_ID_FIELD_NUMBER
Field Value
UPSTREAM_FIX_FIELD_NUMBER
public static final int UPSTREAM_FIX_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static VulnerabilityReport.Vulnerability.Item getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static VulnerabilityReport.Vulnerability.Item.Builder newBuilder()
Returns
newBuilder(VulnerabilityReport.Vulnerability.Item prototype)
public static VulnerabilityReport.Vulnerability.Item.Builder newBuilder(VulnerabilityReport.Vulnerability.Item prototype)
Parameter
Returns
public static VulnerabilityReport.Vulnerability.Item parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static VulnerabilityReport.Vulnerability.Item parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static VulnerabilityReport.Vulnerability.Item parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability.Item parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static VulnerabilityReport.Vulnerability.Item parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability.Item parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VulnerabilityReport.Vulnerability.Item parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static VulnerabilityReport.Vulnerability.Item parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VulnerabilityReport.Vulnerability.Item parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static VulnerabilityReport.Vulnerability.Item parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static VulnerabilityReport.Vulnerability.Item parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityReport.Vulnerability.Item parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<VulnerabilityReport.Vulnerability.Item> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public VulnerabilityReport.Vulnerability.Item.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VulnerabilityReport.Vulnerability.Item.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public VulnerabilityReport.Vulnerability.Item.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions