/* * 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 { /** * * *
   * Required - The specific operating system this metadata applies to. See
   * https://cpe.mitre.org/specification/.
   * 
* * string cpe_uri = 1; * * @return The cpeUri. */ java.lang.String getCpeUri(); /** * * *
   * Required - The specific operating system this metadata applies to. See
   * https://cpe.mitre.org/specification/.
   * 
* * string cpe_uri = 1; * * @return The bytes for cpeUri. */ com.google.protobuf.ByteString getCpeUriBytes(); /** * * *
   * 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)
   * 
* * string classification = 2; * * @return The classification. */ java.lang.String getClassification(); /** * * *
   * 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)
   * 
* * string classification = 2; * * @return The bytes for classification. */ com.google.protobuf.ByteString getClassificationBytes(); /** * * *
   * The severity as specified by the upstream operating system.
   * 
* * string severity = 3; * * @return The severity. */ java.lang.String getSeverity(); /** * * *
   * The severity as specified by the upstream operating system.
   * 
* * string severity = 3; * * @return The bytes for severity. */ com.google.protobuf.ByteString getSeverityBytes(); /** * * *
   * The cve tied to this Upgrade.
   * 
* * repeated string cve = 4; * * @return A list containing the cve. */ java.util.List getCveList(); /** * * *
   * The cve tied to this Upgrade.
   * 
* * repeated string cve = 4; * * @return The count of cve. */ int getCveCount(); /** * * *
   * The cve tied to this Upgrade.
   * 
* * repeated string cve = 4; * * @param index The index of the element to return. * @return The cve at the given index. */ java.lang.String getCve(int index); /** * * *
   * The cve tied to this Upgrade.
   * 
* * repeated string cve = 4; * * @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); }