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/vex.proto 19 20 package io.grafeas.v1; 21 22 public interface VulnerabilityAssessmentNoteOrBuilder 23 extends 24 // @@protoc_insertion_point(interface_extends:grafeas.v1.VulnerabilityAssessmentNote) 25 com.google.protobuf.MessageOrBuilder { 26 27 /** 28 * 29 * 30 * <pre> 31 * The title of the note. E.g. `Vex-Debian-11.4` 32 * </pre> 33 * 34 * <code>string title = 1;</code> 35 * 36 * @return The title. 37 */ getTitle()38 java.lang.String getTitle(); 39 /** 40 * 41 * 42 * <pre> 43 * The title of the note. E.g. `Vex-Debian-11.4` 44 * </pre> 45 * 46 * <code>string title = 1;</code> 47 * 48 * @return The bytes for title. 49 */ getTitleBytes()50 com.google.protobuf.ByteString getTitleBytes(); 51 52 /** 53 * 54 * 55 * <pre> 56 * A one sentence description of this Vex. 57 * </pre> 58 * 59 * <code>string short_description = 2;</code> 60 * 61 * @return The shortDescription. 62 */ getShortDescription()63 java.lang.String getShortDescription(); 64 /** 65 * 66 * 67 * <pre> 68 * A one sentence description of this Vex. 69 * </pre> 70 * 71 * <code>string short_description = 2;</code> 72 * 73 * @return The bytes for shortDescription. 74 */ getShortDescriptionBytes()75 com.google.protobuf.ByteString getShortDescriptionBytes(); 76 77 /** 78 * 79 * 80 * <pre> 81 * A detailed description of this Vex. 82 * </pre> 83 * 84 * <code>string long_description = 3;</code> 85 * 86 * @return The longDescription. 87 */ getLongDescription()88 java.lang.String getLongDescription(); 89 /** 90 * 91 * 92 * <pre> 93 * A detailed description of this Vex. 94 * </pre> 95 * 96 * <code>string long_description = 3;</code> 97 * 98 * @return The bytes for longDescription. 99 */ getLongDescriptionBytes()100 com.google.protobuf.ByteString getLongDescriptionBytes(); 101 102 /** 103 * 104 * 105 * <pre> 106 * Identifies the language used by this document, 107 * corresponding to IETF BCP 47 / RFC 5646. 108 * </pre> 109 * 110 * <code>string language_code = 4;</code> 111 * 112 * @return The languageCode. 113 */ getLanguageCode()114 java.lang.String getLanguageCode(); 115 /** 116 * 117 * 118 * <pre> 119 * Identifies the language used by this document, 120 * corresponding to IETF BCP 47 / RFC 5646. 121 * </pre> 122 * 123 * <code>string language_code = 4;</code> 124 * 125 * @return The bytes for languageCode. 126 */ getLanguageCodeBytes()127 com.google.protobuf.ByteString getLanguageCodeBytes(); 128 129 /** 130 * 131 * 132 * <pre> 133 * Publisher details of this Note. 134 * </pre> 135 * 136 * <code>.grafeas.v1.VulnerabilityAssessmentNote.Publisher publisher = 5;</code> 137 * 138 * @return Whether the publisher field is set. 139 */ hasPublisher()140 boolean hasPublisher(); 141 /** 142 * 143 * 144 * <pre> 145 * Publisher details of this Note. 146 * </pre> 147 * 148 * <code>.grafeas.v1.VulnerabilityAssessmentNote.Publisher publisher = 5;</code> 149 * 150 * @return The publisher. 151 */ getPublisher()152 io.grafeas.v1.VulnerabilityAssessmentNote.Publisher getPublisher(); 153 /** 154 * 155 * 156 * <pre> 157 * Publisher details of this Note. 158 * </pre> 159 * 160 * <code>.grafeas.v1.VulnerabilityAssessmentNote.Publisher publisher = 5;</code> 161 */ getPublisherOrBuilder()162 io.grafeas.v1.VulnerabilityAssessmentNote.PublisherOrBuilder getPublisherOrBuilder(); 163 164 /** 165 * 166 * 167 * <pre> 168 * The product affected by this vex. 169 * </pre> 170 * 171 * <code>.grafeas.v1.VulnerabilityAssessmentNote.Product product = 6;</code> 172 * 173 * @return Whether the product field is set. 174 */ hasProduct()175 boolean hasProduct(); 176 /** 177 * 178 * 179 * <pre> 180 * The product affected by this vex. 181 * </pre> 182 * 183 * <code>.grafeas.v1.VulnerabilityAssessmentNote.Product product = 6;</code> 184 * 185 * @return The product. 186 */ getProduct()187 io.grafeas.v1.VulnerabilityAssessmentNote.Product getProduct(); 188 /** 189 * 190 * 191 * <pre> 192 * The product affected by this vex. 193 * </pre> 194 * 195 * <code>.grafeas.v1.VulnerabilityAssessmentNote.Product product = 6;</code> 196 */ getProductOrBuilder()197 io.grafeas.v1.VulnerabilityAssessmentNote.ProductOrBuilder getProductOrBuilder(); 198 199 /** 200 * 201 * 202 * <pre> 203 * Represents a vulnerability assessment for the product. 204 * </pre> 205 * 206 * <code>.grafeas.v1.VulnerabilityAssessmentNote.Assessment assessment = 7;</code> 207 * 208 * @return Whether the assessment field is set. 209 */ hasAssessment()210 boolean hasAssessment(); 211 /** 212 * 213 * 214 * <pre> 215 * Represents a vulnerability assessment for the product. 216 * </pre> 217 * 218 * <code>.grafeas.v1.VulnerabilityAssessmentNote.Assessment assessment = 7;</code> 219 * 220 * @return The assessment. 221 */ getAssessment()222 io.grafeas.v1.VulnerabilityAssessmentNote.Assessment getAssessment(); 223 /** 224 * 225 * 226 * <pre> 227 * Represents a vulnerability assessment for the product. 228 * </pre> 229 * 230 * <code>.grafeas.v1.VulnerabilityAssessmentNote.Assessment assessment = 7;</code> 231 */ getAssessmentOrBuilder()232 io.grafeas.v1.VulnerabilityAssessmentNote.AssessmentOrBuilder getAssessmentOrBuilder(); 233 } 234