Class VulnerabilityReport.Vulnerability.Item.Builder

    • Method Detail

      • 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.Builder<VulnerabilityReport.Vulnerability.Item.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>
      • getDefaultInstanceForType

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Item.Builder>
      • 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.
      • setInstalledInventoryItemId

        public VulnerabilityReport.Vulnerability.Item.Builder setInstalledInventoryItemId​(String value)
         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;
        Parameters:
        value - The installedInventoryItemId to set.
        Returns:
        This builder for chaining.
      • clearInstalledInventoryItemId

        public VulnerabilityReport.Vulnerability.Item.Builder clearInstalledInventoryItemId()
         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:
        This builder for chaining.
      • setInstalledInventoryItemIdBytes

        public VulnerabilityReport.Vulnerability.Item.Builder setInstalledInventoryItemIdBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for installedInventoryItemId to set.
        Returns:
        This builder for chaining.
      • 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.
      • setAvailableInventoryItemId

        public VulnerabilityReport.Vulnerability.Item.Builder setAvailableInventoryItemId​(String value)
         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;
        Parameters:
        value - The availableInventoryItemId to set.
        Returns:
        This builder for chaining.
      • clearAvailableInventoryItemId

        public VulnerabilityReport.Vulnerability.Item.Builder clearAvailableInventoryItemId()
         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:
        This builder for chaining.
      • setAvailableInventoryItemIdBytes

        public VulnerabilityReport.Vulnerability.Item.Builder setAvailableInventoryItemIdBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for availableInventoryItemId to set.
        Returns:
        This builder for chaining.
      • 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.
      • setFixedCpeUri

        public VulnerabilityReport.Vulnerability.Item.Builder setFixedCpeUri​(String value)
         The recommended [CPE URI](https://cpe.mitre.org/specification/) update
         that contains a fix for this vulnerability.
         
        string fixed_cpe_uri = 3;
        Parameters:
        value - The fixedCpeUri to set.
        Returns:
        This builder for chaining.
      • clearFixedCpeUri

        public VulnerabilityReport.Vulnerability.Item.Builder clearFixedCpeUri()
         The recommended [CPE URI](https://cpe.mitre.org/specification/) update
         that contains a fix for this vulnerability.
         
        string fixed_cpe_uri = 3;
        Returns:
        This builder for chaining.
      • setFixedCpeUriBytes

        public VulnerabilityReport.Vulnerability.Item.Builder setFixedCpeUriBytes​(com.google.protobuf.ByteString value)
         The recommended [CPE URI](https://cpe.mitre.org/specification/) update
         that contains a fix for this vulnerability.
         
        string fixed_cpe_uri = 3;
        Parameters:
        value - The bytes for fixedCpeUri to set.
        Returns:
        This builder for chaining.
      • setUpstreamFix

        public VulnerabilityReport.Vulnerability.Item.Builder setUpstreamFix​(String value)
         The upstream OS patch, packages or KB that fixes the vulnerability.
         
        string upstream_fix = 4;
        Parameters:
        value - The upstreamFix to set.
        Returns:
        This builder for chaining.
      • setUpstreamFixBytes

        public VulnerabilityReport.Vulnerability.Item.Builder setUpstreamFixBytes​(com.google.protobuf.ByteString value)
         The upstream OS patch, packages or KB that fixes the vulnerability.
         
        string upstream_fix = 4;
        Parameters:
        value - The bytes for upstreamFix to set.
        Returns:
        This builder for chaining.