Class VulnerabilityReport.Vulnerability

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

public static final class VulnerabilityReport.Vulnerability extends com.google.protobuf.GeneratedMessage implements VulnerabilityReport.VulnerabilityOrBuilder
 A vulnerability affecting the VM instance.
 
Protobuf type google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability
See Also:
  • Field Details

    • DETAILS_FIELD_NUMBER

      public static final int DETAILS_FIELD_NUMBER
      See Also:
    • INSTALLED_INVENTORY_ITEM_IDS_FIELD_NUMBER

      public static final int INSTALLED_INVENTORY_ITEM_IDS_FIELD_NUMBER
      See Also:
    • AVAILABLE_INVENTORY_ITEM_IDS_FIELD_NUMBER

      public static final int AVAILABLE_INVENTORY_ITEM_IDS_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
    • ITEMS_FIELD_NUMBER

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

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

       Contains metadata as per the upstream feed of the operating system and
       NVD.
       
      .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1;
      Specified by:
      getDetails in interface VulnerabilityReport.VulnerabilityOrBuilder
      Returns:
      The details.
    • getDetailsOrBuilder

       Contains metadata as per the upstream feed of the operating system and
       NVD.
       
      .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details details = 1;
      Specified by:
      getDetailsOrBuilder in interface VulnerabilityReport.VulnerabilityOrBuilder
    • getInstalledInventoryItemIdsList

      @Deprecated public com.google.protobuf.ProtocolStringList getInstalledInventoryItemIdsList()
      Deprecated.
      google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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.v1alpha.VulnerabilityReport.Vulnerability.installed_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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.v1alpha.VulnerabilityReport.Vulnerability.available_inventory_item_ids is deprecated. See google/cloud/osconfig/v1alpha/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.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       The timestamp for when the vulnerability was first detected.
       
      .google.protobuf.Timestamp create_time = 4;
      Specified by:
      getCreateTimeOrBuilder in interface VulnerabilityReport.VulnerabilityOrBuilder
    • 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.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       The timestamp for when the vulnerability was last modified.
       
      .google.protobuf.Timestamp update_time = 5;
      Specified by:
      getUpdateTimeOrBuilder in interface VulnerabilityReport.VulnerabilityOrBuilder
    • getItemsList

       List of items affected by the vulnerability.
       
      repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;
      Specified by:
      getItemsList in interface VulnerabilityReport.VulnerabilityOrBuilder
    • getItemsOrBuilderList

      public List<? extends VulnerabilityReport.Vulnerability.ItemOrBuilder> getItemsOrBuilderList()
       List of items affected by the vulnerability.
       
      repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;
      Specified by:
      getItemsOrBuilderList in interface VulnerabilityReport.VulnerabilityOrBuilder
    • getItemsCount

      public int getItemsCount()
       List of items affected by the vulnerability.
       
      repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;
      Specified by:
      getItemsCount in interface VulnerabilityReport.VulnerabilityOrBuilder
    • getItems

      public VulnerabilityReport.Vulnerability.Item getItems(int index)
       List of items affected by the vulnerability.
       
      repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;
      Specified by:
      getItems in interface VulnerabilityReport.VulnerabilityOrBuilder
    • getItemsOrBuilder

      public VulnerabilityReport.Vulnerability.ItemOrBuilder getItemsOrBuilder(int index)
       List of items affected by the vulnerability.
       
      repeated .google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Item items = 6;
      Specified by:
      getItemsOrBuilder in interface VulnerabilityReport.VulnerabilityOrBuilder
    • 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 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • 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
    • parseFrom

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

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

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

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

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

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

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

      public static VulnerabilityReport.Vulnerability.Builder 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.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static VulnerabilityReport.Vulnerability getDefaultInstance()
    • parser

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

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