/* * 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 { /** * * *
   * Required for non-Windows OS. The package this Upgrade is for.
   * 
* * string package = 1; * * @return The package. */ java.lang.String getPackage(); /** * * *
   * Required for non-Windows OS. The package this Upgrade is for.
   * 
* * string package = 1; * * @return The bytes for package. */ com.google.protobuf.ByteString getPackageBytes(); /** * * *
   * Required for non-Windows OS. The version of the package in a machine +
   * human readable form.
   * 
* * .grafeas.v1.Version parsed_version = 3; * * @return Whether the parsedVersion field is set. */ boolean hasParsedVersion(); /** * * *
   * Required for non-Windows OS. The version of the package in a machine +
   * human readable form.
   * 
* * .grafeas.v1.Version parsed_version = 3; * * @return The parsedVersion. */ io.grafeas.v1.Version getParsedVersion(); /** * * *
   * Required for non-Windows OS. The version of the package in a machine +
   * human readable form.
   * 
* * .grafeas.v1.Version parsed_version = 3; */ io.grafeas.v1.VersionOrBuilder getParsedVersionOrBuilder(); /** * * *
   * 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.
   * 
* * .grafeas.v1.UpgradeDistribution distribution = 4; * * @return Whether the distribution field is set. */ boolean hasDistribution(); /** * * *
   * 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.
   * 
* * .grafeas.v1.UpgradeDistribution distribution = 4; * * @return The distribution. */ io.grafeas.v1.UpgradeDistribution getDistribution(); /** * * *
   * 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.
   * 
* * .grafeas.v1.UpgradeDistribution distribution = 4; */ io.grafeas.v1.UpgradeDistributionOrBuilder getDistributionOrBuilder(); /** * * *
   * Required for Windows OS. Represents the metadata about the Windows update.
   * 
* * .grafeas.v1.WindowsUpdate windows_update = 5; * * @return Whether the windowsUpdate field is set. */ boolean hasWindowsUpdate(); /** * * *
   * Required for Windows OS. Represents the metadata about the Windows update.
   * 
* * .grafeas.v1.WindowsUpdate windows_update = 5; * * @return The windowsUpdate. */ io.grafeas.v1.WindowsUpdate getWindowsUpdate(); /** * * *
   * Required for Windows OS. Represents the metadata about the Windows update.
   * 
* * .grafeas.v1.WindowsUpdate windows_update = 5; */ io.grafeas.v1.WindowsUpdateOrBuilder getWindowsUpdateOrBuilder(); }