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
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)
Overrides
toBuilder()
public VulnerabilityReport.Vulnerability.Item.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides