/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/devtools/containeranalysis/v1beta1/vulnerability/vulnerability.proto

package io.grafeas.v1beta1.vulnerability;

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

  /**
   *
   *
   * <pre>
   * Required. The location of the vulnerability.
   * </pre>
   *
   * <code>.grafeas.v1beta1.vulnerability.VulnerabilityLocation affected_location = 1;</code>
   *
   * @return Whether the affectedLocation field is set.
   */
  boolean hasAffectedLocation();
  /**
   *
   *
   * <pre>
   * Required. The location of the vulnerability.
   * </pre>
   *
   * <code>.grafeas.v1beta1.vulnerability.VulnerabilityLocation affected_location = 1;</code>
   *
   * @return The affectedLocation.
   */
  io.grafeas.v1beta1.vulnerability.VulnerabilityLocation getAffectedLocation();
  /**
   *
   *
   * <pre>
   * Required. The location of the vulnerability.
   * </pre>
   *
   * <code>.grafeas.v1beta1.vulnerability.VulnerabilityLocation affected_location = 1;</code>
   */
  io.grafeas.v1beta1.vulnerability.VulnerabilityLocationOrBuilder getAffectedLocationOrBuilder();

  /**
   *
   *
   * <pre>
   * The location of the available fix for vulnerability.
   * </pre>
   *
   * <code>.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 2;</code>
   *
   * @return Whether the fixedLocation field is set.
   */
  boolean hasFixedLocation();
  /**
   *
   *
   * <pre>
   * The location of the available fix for vulnerability.
   * </pre>
   *
   * <code>.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 2;</code>
   *
   * @return The fixedLocation.
   */
  io.grafeas.v1beta1.vulnerability.VulnerabilityLocation getFixedLocation();
  /**
   *
   *
   * <pre>
   * The location of the available fix for vulnerability.
   * </pre>
   *
   * <code>.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 2;</code>
   */
  io.grafeas.v1beta1.vulnerability.VulnerabilityLocationOrBuilder getFixedLocationOrBuilder();

  /**
   *
   *
   * <pre>
   * Deprecated, use Details.effective_severity instead
   * The severity (e.g., distro assigned severity) for this vulnerability.
   * </pre>
   *
   * <code>string severity_name = 3;</code>
   *
   * @return The severityName.
   */
  java.lang.String getSeverityName();
  /**
   *
   *
   * <pre>
   * Deprecated, use Details.effective_severity instead
   * The severity (e.g., distro assigned severity) for this vulnerability.
   * </pre>
   *
   * <code>string severity_name = 3;</code>
   *
   * @return The bytes for severityName.
   */
  com.google.protobuf.ByteString getSeverityNameBytes();
}
