/*
 * Copyright 2019 The Grafeas Authors. All rights reserved.
 *
 * 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: grafeas/v1/upgrade.proto

package io.grafeas.v1;

public interface UpgradeDistributionOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:grafeas.v1.UpgradeDistribution)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Required - The specific operating system this metadata applies to. See
   * https://cpe.mitre.org/specification/.
   * </pre>
   *
   * <code>string cpe_uri = 1;</code>
   *
   * @return The cpeUri.
   */
  java.lang.String getCpeUri();
  /**
   *
   *
   * <pre>
   * Required - The specific operating system this metadata applies to. See
   * https://cpe.mitre.org/specification/.
   * </pre>
   *
   * <code>string cpe_uri = 1;</code>
   *
   * @return The bytes for cpeUri.
   */
  com.google.protobuf.ByteString getCpeUriBytes();

  /**
   *
   *
   * <pre>
   * The operating system classification of this Upgrade, as specified by the
   * upstream operating system upgrade feed. For Windows the classification is
   * one of the category_ids listed at
   * https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ff357803(v=vs.85)
   * </pre>
   *
   * <code>string classification = 2;</code>
   *
   * @return The classification.
   */
  java.lang.String getClassification();
  /**
   *
   *
   * <pre>
   * The operating system classification of this Upgrade, as specified by the
   * upstream operating system upgrade feed. For Windows the classification is
   * one of the category_ids listed at
   * https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ff357803(v=vs.85)
   * </pre>
   *
   * <code>string classification = 2;</code>
   *
   * @return The bytes for classification.
   */
  com.google.protobuf.ByteString getClassificationBytes();

  /**
   *
   *
   * <pre>
   * The severity as specified by the upstream operating system.
   * </pre>
   *
   * <code>string severity = 3;</code>
   *
   * @return The severity.
   */
  java.lang.String getSeverity();
  /**
   *
   *
   * <pre>
   * The severity as specified by the upstream operating system.
   * </pre>
   *
   * <code>string severity = 3;</code>
   *
   * @return The bytes for severity.
   */
  com.google.protobuf.ByteString getSeverityBytes();

  /**
   *
   *
   * <pre>
   * The cve tied to this Upgrade.
   * </pre>
   *
   * <code>repeated string cve = 4;</code>
   *
   * @return A list containing the cve.
   */
  java.util.List<java.lang.String> getCveList();
  /**
   *
   *
   * <pre>
   * The cve tied to this Upgrade.
   * </pre>
   *
   * <code>repeated string cve = 4;</code>
   *
   * @return The count of cve.
   */
  int getCveCount();
  /**
   *
   *
   * <pre>
   * The cve tied to this Upgrade.
   * </pre>
   *
   * <code>repeated string cve = 4;</code>
   *
   * @param index The index of the element to return.
   * @return The cve at the given index.
   */
  java.lang.String getCve(int index);
  /**
   *
   *
   * <pre>
   * The cve tied to this Upgrade.
   * </pre>
   *
   * <code>repeated string cve = 4;</code>
   *
   * @param index The index of the value to return.
   * @return The bytes of the cve at the given index.
   */
  com.google.protobuf.ByteString getCveBytes(int index);
}
