/*
 * 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 VulnerabilityLocationOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:grafeas.v1beta1.vulnerability.VulnerabilityLocation)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/)
   * format. Examples include distro or storage location for vulnerable jar.
   * </pre>
   *
   * <code>string cpe_uri = 1;</code>
   *
   * @return The cpeUri.
   */
  java.lang.String getCpeUri();
  /**
   *
   *
   * <pre>
   * Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/)
   * format. Examples include distro or storage location for vulnerable jar.
   * </pre>
   *
   * <code>string cpe_uri = 1;</code>
   *
   * @return The bytes for cpeUri.
   */
  com.google.protobuf.ByteString getCpeUriBytes();

  /**
   *
   *
   * <pre>
   * Required. The package being described.
   * </pre>
   *
   * <code>string package = 2;</code>
   *
   * @return The package.
   */
  java.lang.String getPackage();
  /**
   *
   *
   * <pre>
   * Required. The package being described.
   * </pre>
   *
   * <code>string package = 2;</code>
   *
   * @return The bytes for package.
   */
  com.google.protobuf.ByteString getPackageBytes();

  /**
   *
   *
   * <pre>
   * Required. The version of the package being described.
   * </pre>
   *
   * <code>.grafeas.v1beta1.package.Version version = 3;</code>
   *
   * @return Whether the version field is set.
   */
  boolean hasVersion();
  /**
   *
   *
   * <pre>
   * Required. The version of the package being described.
   * </pre>
   *
   * <code>.grafeas.v1beta1.package.Version version = 3;</code>
   *
   * @return The version.
   */
  io.grafeas.v1beta1.pkg.Version getVersion();
  /**
   *
   *
   * <pre>
   * Required. The version of the package being described.
   * </pre>
   *
   * <code>.grafeas.v1beta1.package.Version version = 3;</code>
   */
  io.grafeas.v1beta1.pkg.VersionOrBuilder getVersionOrBuilder();
}
