// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/devtools/containeranalysis/v1beta1/vulnerability/vulnerability.proto

package io.grafeas.v1beta1.vulnerability;

public interface VulnerabilityOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:grafeas.v1beta1.vulnerability.Vulnerability)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * The CVSS score for this vulnerability.
   * </pre>
   *
   * <code>float cvss_score = 1;</code>
   */
  float getCvssScore();

  /**
   *
   *
   * <pre>
   * Note provider assigned impact of the vulnerability.
   * </pre>
   *
   * <code>.grafeas.v1beta1.vulnerability.Severity severity = 2;</code>
   */
  int getSeverityValue();
  /**
   *
   *
   * <pre>
   * Note provider assigned impact of the vulnerability.
   * </pre>
   *
   * <code>.grafeas.v1beta1.vulnerability.Severity severity = 2;</code>
   */
  io.grafeas.v1beta1.vulnerability.Severity getSeverity();

  /**
   *
   *
   * <pre>
   * All information about the package to specifically identify this
   * vulnerability. One entry per (version range and cpe_uri) the package
   * vulnerability has manifested in.
   * </pre>
   *
   * <code>repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;</code>
   */
  java.util.List<io.grafeas.v1beta1.vulnerability.Vulnerability.Detail> getDetailsList();
  /**
   *
   *
   * <pre>
   * All information about the package to specifically identify this
   * vulnerability. One entry per (version range and cpe_uri) the package
   * vulnerability has manifested in.
   * </pre>
   *
   * <code>repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;</code>
   */
  io.grafeas.v1beta1.vulnerability.Vulnerability.Detail getDetails(int index);
  /**
   *
   *
   * <pre>
   * All information about the package to specifically identify this
   * vulnerability. One entry per (version range and cpe_uri) the package
   * vulnerability has manifested in.
   * </pre>
   *
   * <code>repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;</code>
   */
  int getDetailsCount();
  /**
   *
   *
   * <pre>
   * All information about the package to specifically identify this
   * vulnerability. One entry per (version range and cpe_uri) the package
   * vulnerability has manifested in.
   * </pre>
   *
   * <code>repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;</code>
   */
  java.util.List<? extends io.grafeas.v1beta1.vulnerability.Vulnerability.DetailOrBuilder>
      getDetailsOrBuilderList();
  /**
   *
   *
   * <pre>
   * All information about the package to specifically identify this
   * vulnerability. One entry per (version range and cpe_uri) the package
   * vulnerability has manifested in.
   * </pre>
   *
   * <code>repeated .grafeas.v1beta1.vulnerability.Vulnerability.Detail details = 3;</code>
   */
  io.grafeas.v1beta1.vulnerability.Vulnerability.DetailOrBuilder getDetailsOrBuilder(int index);
}
