/*
 * 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 UpgradeOccurrenceOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:grafeas.v1.UpgradeOccurrence)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Required for non-Windows OS. The package this Upgrade is for.
   * </pre>
   *
   * <code>string package = 1;</code>
   *
   * @return The package.
   */
  java.lang.String getPackage();
  /**
   *
   *
   * <pre>
   * Required for non-Windows OS. The package this Upgrade is for.
   * </pre>
   *
   * <code>string package = 1;</code>
   *
   * @return The bytes for package.
   */
  com.google.protobuf.ByteString getPackageBytes();

  /**
   *
   *
   * <pre>
   * Required for non-Windows OS. The version of the package in a machine +
   * human readable form.
   * </pre>
   *
   * <code>.grafeas.v1.Version parsed_version = 3;</code>
   *
   * @return Whether the parsedVersion field is set.
   */
  boolean hasParsedVersion();
  /**
   *
   *
   * <pre>
   * Required for non-Windows OS. The version of the package in a machine +
   * human readable form.
   * </pre>
   *
   * <code>.grafeas.v1.Version parsed_version = 3;</code>
   *
   * @return The parsedVersion.
   */
  io.grafeas.v1.Version getParsedVersion();
  /**
   *
   *
   * <pre>
   * Required for non-Windows OS. The version of the package in a machine +
   * human readable form.
   * </pre>
   *
   * <code>.grafeas.v1.Version parsed_version = 3;</code>
   */
  io.grafeas.v1.VersionOrBuilder getParsedVersionOrBuilder();

  /**
   *
   *
   * <pre>
   * Metadata about the upgrade for available for the specific operating system
   * for the resource_url. This allows efficient filtering, as well as
   * making it easier to use the occurrence.
   * </pre>
   *
   * <code>.grafeas.v1.UpgradeDistribution distribution = 4;</code>
   *
   * @return Whether the distribution field is set.
   */
  boolean hasDistribution();
  /**
   *
   *
   * <pre>
   * Metadata about the upgrade for available for the specific operating system
   * for the resource_url. This allows efficient filtering, as well as
   * making it easier to use the occurrence.
   * </pre>
   *
   * <code>.grafeas.v1.UpgradeDistribution distribution = 4;</code>
   *
   * @return The distribution.
   */
  io.grafeas.v1.UpgradeDistribution getDistribution();
  /**
   *
   *
   * <pre>
   * Metadata about the upgrade for available for the specific operating system
   * for the resource_url. This allows efficient filtering, as well as
   * making it easier to use the occurrence.
   * </pre>
   *
   * <code>.grafeas.v1.UpgradeDistribution distribution = 4;</code>
   */
  io.grafeas.v1.UpgradeDistributionOrBuilder getDistributionOrBuilder();

  /**
   *
   *
   * <pre>
   * Required for Windows OS. Represents the metadata about the Windows update.
   * </pre>
   *
   * <code>.grafeas.v1.WindowsUpdate windows_update = 5;</code>
   *
   * @return Whether the windowsUpdate field is set.
   */
  boolean hasWindowsUpdate();
  /**
   *
   *
   * <pre>
   * Required for Windows OS. Represents the metadata about the Windows update.
   * </pre>
   *
   * <code>.grafeas.v1.WindowsUpdate windows_update = 5;</code>
   *
   * @return The windowsUpdate.
   */
  io.grafeas.v1.WindowsUpdate getWindowsUpdate();
  /**
   *
   *
   * <pre>
   * Required for Windows OS. Represents the metadata about the Windows update.
   * </pre>
   *
   * <code>.grafeas.v1.WindowsUpdate windows_update = 5;</code>
   */
  io.grafeas.v1.WindowsUpdateOrBuilder getWindowsUpdateOrBuilder();
}
