• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2019 The Grafeas Authors. All rights reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 // Generated by the protocol buffer compiler.  DO NOT EDIT!
18 // source: grafeas/v1/upgrade.proto
19 
20 package io.grafeas.v1;
21 
22 public interface UpgradeDistributionOrBuilder
23     extends
24     // @@protoc_insertion_point(interface_extends:grafeas.v1.UpgradeDistribution)
25     com.google.protobuf.MessageOrBuilder {
26 
27   /**
28    *
29    *
30    * <pre>
31    * Required - The specific operating system this metadata applies to. See
32    * https://cpe.mitre.org/specification/.
33    * </pre>
34    *
35    * <code>string cpe_uri = 1;</code>
36    *
37    * @return The cpeUri.
38    */
getCpeUri()39   java.lang.String getCpeUri();
40   /**
41    *
42    *
43    * <pre>
44    * Required - The specific operating system this metadata applies to. See
45    * https://cpe.mitre.org/specification/.
46    * </pre>
47    *
48    * <code>string cpe_uri = 1;</code>
49    *
50    * @return The bytes for cpeUri.
51    */
getCpeUriBytes()52   com.google.protobuf.ByteString getCpeUriBytes();
53 
54   /**
55    *
56    *
57    * <pre>
58    * The operating system classification of this Upgrade, as specified by the
59    * upstream operating system upgrade feed. For Windows the classification is
60    * one of the category_ids listed at
61    * https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ff357803(v=vs.85)
62    * </pre>
63    *
64    * <code>string classification = 2;</code>
65    *
66    * @return The classification.
67    */
getClassification()68   java.lang.String getClassification();
69   /**
70    *
71    *
72    * <pre>
73    * The operating system classification of this Upgrade, as specified by the
74    * upstream operating system upgrade feed. For Windows the classification is
75    * one of the category_ids listed at
76    * https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ff357803(v=vs.85)
77    * </pre>
78    *
79    * <code>string classification = 2;</code>
80    *
81    * @return The bytes for classification.
82    */
getClassificationBytes()83   com.google.protobuf.ByteString getClassificationBytes();
84 
85   /**
86    *
87    *
88    * <pre>
89    * The severity as specified by the upstream operating system.
90    * </pre>
91    *
92    * <code>string severity = 3;</code>
93    *
94    * @return The severity.
95    */
getSeverity()96   java.lang.String getSeverity();
97   /**
98    *
99    *
100    * <pre>
101    * The severity as specified by the upstream operating system.
102    * </pre>
103    *
104    * <code>string severity = 3;</code>
105    *
106    * @return The bytes for severity.
107    */
getSeverityBytes()108   com.google.protobuf.ByteString getSeverityBytes();
109 
110   /**
111    *
112    *
113    * <pre>
114    * The cve tied to this Upgrade.
115    * </pre>
116    *
117    * <code>repeated string cve = 4;</code>
118    *
119    * @return A list containing the cve.
120    */
getCveList()121   java.util.List<java.lang.String> getCveList();
122   /**
123    *
124    *
125    * <pre>
126    * The cve tied to this Upgrade.
127    * </pre>
128    *
129    * <code>repeated string cve = 4;</code>
130    *
131    * @return The count of cve.
132    */
getCveCount()133   int getCveCount();
134   /**
135    *
136    *
137    * <pre>
138    * The cve tied to this Upgrade.
139    * </pre>
140    *
141    * <code>repeated string cve = 4;</code>
142    *
143    * @param index The index of the element to return.
144    * @return The cve at the given index.
145    */
getCve(int index)146   java.lang.String getCve(int index);
147   /**
148    *
149    *
150    * <pre>
151    * The cve tied to this Upgrade.
152    * </pre>
153    *
154    * <code>repeated string cve = 4;</code>
155    *
156    * @param index The index of the value to return.
157    * @return The bytes of the cve at the given index.
158    */
getCveBytes(int index)159   com.google.protobuf.ByteString getCveBytes(int index);
160 }
161