Class VulnerabilityReport.Vulnerability.Item

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item
All Implemented Interfaces:
VulnerabilityReport.Vulnerability.ItemOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
VulnerabilityReport.Vulnerability

public static final class VulnerabilityReport.Vulnerability.Item extends com.google.protobuf.GeneratedMessage 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.v1alpha.VulnerabilityReport.Vulnerability.Item
See Also:
  • Field Details

    • INSTALLED_INVENTORY_ITEM_ID_FIELD_NUMBER

      public static final int INSTALLED_INVENTORY_ITEM_ID_FIELD_NUMBER
      See Also:
    • AVAILABLE_INVENTORY_ITEM_ID_FIELD_NUMBER

      public static final int AVAILABLE_INVENTORY_ITEM_ID_FIELD_NUMBER
      See Also:
    • FIXED_CPE_URI_FIELD_NUMBER

      public static final int FIXED_CPE_URI_FIELD_NUMBER
      See Also:
    • UPSTREAM_FIX_FIELD_NUMBER

      public static final int UPSTREAM_FIX_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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.
    • getFixedCpeUri

      public String getFixedCpeUri()
       The recommended [CPE URI](https://cpe.mitre.org/specification/) update
       that contains a fix for this vulnerability.
       
      string fixed_cpe_uri = 3;
      Specified by:
      getFixedCpeUri in interface VulnerabilityReport.Vulnerability.ItemOrBuilder
      Returns:
      The fixedCpeUri.
    • 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.
    • getUpstreamFix

      public String getUpstreamFix()
       The upstream OS patch, packages or KB that fixes the vulnerability.
       
      string upstream_fix = 4;
      Specified by:
      getUpstreamFix in interface VulnerabilityReport.Vulnerability.ItemOrBuilder
      Returns:
      The upstreamFix.
    • getUpstreamFixBytes

      public com.google.protobuf.ByteString getUpstreamFixBytes()
       The upstream OS patch, packages or KB that fixes the vulnerability.
       
      string upstream_fix = 4;
      Specified by:
      getUpstreamFixBytes in interface VulnerabilityReport.Vulnerability.ItemOrBuilder
      Returns:
      The bytes for upstreamFix.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • 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
    • parseFrom

      public static VulnerabilityReport.Vulnerability.Item parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static VulnerabilityReport.Vulnerability.Item parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static VulnerabilityReport.Vulnerability.Item parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static VulnerabilityReport.Vulnerability.Item parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static VulnerabilityReport.Vulnerability.Item parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static VulnerabilityReport.Vulnerability.Item parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected VulnerabilityReport.Vulnerability.Item.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static VulnerabilityReport.Vulnerability.Item getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<VulnerabilityReport.Vulnerability.Item> parser()
    • 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.GeneratedMessage
    • getDefaultInstanceForType

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