Class VulnerabilityReport.Vulnerability.Item

    • Field Detail

      • INSTALLED_INVENTORY_ITEM_ID_FIELD_NUMBER

        public static final int INSTALLED_INVENTORY_ITEM_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AVAILABLE_INVENTORY_ITEM_ID_FIELD_NUMBER

        public static final int AVAILABLE_INVENTORY_ITEM_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FIXED_CPE_URI_FIELD_NUMBER

        public static final int FIXED_CPE_URI_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UPSTREAM_FIX_FIELD_NUMBER

        public static final int UPSTREAM_FIX_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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;
        Specified by:
        getInstalledInventoryItemId in interface VulnerabilityReport.Vulnerability.ItemOrBuilder
        Returns:
        The installedInventoryItemId.
      • getInstalledInventoryItemIdBytes

        public com.google.protobuf.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;
        Specified by:
        getInstalledInventoryItemIdBytes in interface VulnerabilityReport.Vulnerability.ItemOrBuilder
        Returns:
        The bytes for installedInventoryItemId.
      • 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;
        Specified by:
        getAvailableInventoryItemId in interface VulnerabilityReport.Vulnerability.ItemOrBuilder
        Returns:
        The availableInventoryItemId.
      • getAvailableInventoryItemIdBytes

        public com.google.protobuf.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;
        Specified by:
        getAvailableInventoryItemIdBytes in interface VulnerabilityReport.Vulnerability.ItemOrBuilder
        Returns:
        The bytes for availableInventoryItemId.
      • getFixedCpeUriBytes

        public com.google.protobuf.ByteString getFixedCpeUriBytes()
         The recommended [CPE URI](https://cpe.mitre.org/specification/) update
         that contains a fix for this vulnerability.
         
        string fixed_cpe_uri = 3;
        Specified by:
        getFixedCpeUriBytes in interface VulnerabilityReport.Vulnerability.ItemOrBuilder
        Returns:
        The bytes for fixedCpeUri.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static VulnerabilityReport.Vulnerability.Item parseFrom​(ByteBuffer data,
                                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static VulnerabilityReport.Vulnerability.Item parseFrom​(com.google.protobuf.ByteString data)
                                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static VulnerabilityReport.Vulnerability.Item parseFrom​(com.google.protobuf.ByteString data,
                                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static VulnerabilityReport.Vulnerability.Item parseFrom​(byte[] data)
                                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static VulnerabilityReport.Vulnerability.Item parseFrom​(byte[] data,
                                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public VulnerabilityReport.Vulnerability.Item.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected VulnerabilityReport.Vulnerability.Item.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<VulnerabilityReport.Vulnerability.Item> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public VulnerabilityReport.Vulnerability.Item getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder