Class VulnerabilityReport.Vulnerability

    • Field Detail

      • INSTALLED_INVENTORY_ITEM_IDS_FIELD_NUMBER

        public static final int INSTALLED_INVENTORY_ITEM_IDS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • AVAILABLE_INVENTORY_ITEM_IDS_FIELD_NUMBER

        public static final int AVAILABLE_INVENTORY_ITEM_IDS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CREATE_TIME_FIELD_NUMBER

        public static final int CREATE_TIME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UPDATE_TIME_FIELD_NUMBER

        public static final int UPDATE_TIME_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
      • hasDetails

        public boolean hasDetails()
         Contains metadata as per the upstream feed of the operating system and
         NVD.
         
        .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.Details details = 1;
        Specified by:
        hasDetails in interface VulnerabilityReport.VulnerabilityOrBuilder
        Returns:
        Whether the details field is set.
      • getInstalledInventoryItemIdsList

        @Deprecated
        public com.google.protobuf.ProtocolStringList getInstalledInventoryItemIdsList()
        Deprecated.
        google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112
         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 distros,
         this field may be empty.
         
        repeated string installed_inventory_item_ids = 2 [deprecated = true];
        Specified by:
        getInstalledInventoryItemIdsList in interface VulnerabilityReport.VulnerabilityOrBuilder
        Returns:
        A list containing the installedInventoryItemIds.
      • getInstalledInventoryItemIdsCount

        @Deprecated
        public int getInstalledInventoryItemIdsCount()
        Deprecated.
        google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112
         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 distros,
         this field may be empty.
         
        repeated string installed_inventory_item_ids = 2 [deprecated = true];
        Specified by:
        getInstalledInventoryItemIdsCount in interface VulnerabilityReport.VulnerabilityOrBuilder
        Returns:
        The count of installedInventoryItemIds.
      • getInstalledInventoryItemIds

        @Deprecated
        public String getInstalledInventoryItemIds​(int index)
        Deprecated.
        google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112
         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 distros,
         this field may be empty.
         
        repeated string installed_inventory_item_ids = 2 [deprecated = true];
        Specified by:
        getInstalledInventoryItemIds in interface VulnerabilityReport.VulnerabilityOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The installedInventoryItemIds at the given index.
      • getInstalledInventoryItemIdsBytes

        @Deprecated
        public com.google.protobuf.ByteString getInstalledInventoryItemIdsBytes​(int index)
        Deprecated.
        google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=112
         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 distros,
         this field may be empty.
         
        repeated string installed_inventory_item_ids = 2 [deprecated = true];
        Specified by:
        getInstalledInventoryItemIdsBytes in interface VulnerabilityReport.VulnerabilityOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the installedInventoryItemIds at the given index.
      • getAvailableInventoryItemIdsList

        @Deprecated
        public com.google.protobuf.ProtocolStringList getAvailableInventoryItemIdsList()
        Deprecated.
        google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120
         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.
         
        repeated string available_inventory_item_ids = 3 [deprecated = true];
        Specified by:
        getAvailableInventoryItemIdsList in interface VulnerabilityReport.VulnerabilityOrBuilder
        Returns:
        A list containing the availableInventoryItemIds.
      • getAvailableInventoryItemIdsCount

        @Deprecated
        public int getAvailableInventoryItemIdsCount()
        Deprecated.
        google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120
         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.
         
        repeated string available_inventory_item_ids = 3 [deprecated = true];
        Specified by:
        getAvailableInventoryItemIdsCount in interface VulnerabilityReport.VulnerabilityOrBuilder
        Returns:
        The count of availableInventoryItemIds.
      • getAvailableInventoryItemIds

        @Deprecated
        public String getAvailableInventoryItemIds​(int index)
        Deprecated.
        google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120
         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.
         
        repeated string available_inventory_item_ids = 3 [deprecated = true];
        Specified by:
        getAvailableInventoryItemIds in interface VulnerabilityReport.VulnerabilityOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The availableInventoryItemIds at the given index.
      • getAvailableInventoryItemIdsBytes

        @Deprecated
        public com.google.protobuf.ByteString getAvailableInventoryItemIdsBytes​(int index)
        Deprecated.
        google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1/vulnerability.proto;l=120
         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.
         
        repeated string available_inventory_item_ids = 3 [deprecated = true];
        Specified by:
        getAvailableInventoryItemIdsBytes in interface VulnerabilityReport.VulnerabilityOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the availableInventoryItemIds at the given index.
      • hasCreateTime

        public boolean hasCreateTime()
         The timestamp for when the vulnerability was first detected.
         
        .google.protobuf.Timestamp create_time = 4;
        Specified by:
        hasCreateTime in interface VulnerabilityReport.VulnerabilityOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         The timestamp for when the vulnerability was first detected.
         
        .google.protobuf.Timestamp create_time = 4;
        Specified by:
        getCreateTime in interface VulnerabilityReport.VulnerabilityOrBuilder
        Returns:
        The createTime.
      • hasUpdateTime

        public boolean hasUpdateTime()
         The timestamp for when the vulnerability was last modified.
         
        .google.protobuf.Timestamp update_time = 5;
        Specified by:
        hasUpdateTime in interface VulnerabilityReport.VulnerabilityOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         The timestamp for when the vulnerability was last modified.
         
        .google.protobuf.Timestamp update_time = 5;
        Specified by:
        getUpdateTime in interface VulnerabilityReport.VulnerabilityOrBuilder
        Returns:
        The updateTime.
      • 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 parseFrom​(ByteBuffer data,
                                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

        public static VulnerabilityReport.Vulnerability 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 parseFrom​(byte[] data)
                                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

        protected VulnerabilityReport.Vulnerability.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> 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 getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder