| 1 |
// Copyright 2023 The Grafeas Authors. All rights reserved. |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.26.0 |
| 18 |
// protoc v4.24.4 |
| 19 |
// source: grafeas/v1/vex.proto |
| 20 |
|
| 21 |
package grafeas |
| 22 |
|
| 23 |
import ( |
| 24 |
reflect "reflect" |
| 25 |
sync "sync" |
| 26 |
|
| 27 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 28 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 29 |
) |
| 30 |
|
| 31 |
const ( |
| 32 |
// Verify that this generated code is sufficiently up-to-date. |
| 33 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 34 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 35 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 36 |
) |
| 37 |
|
| 38 |
// Provides the state of this Vulnerability assessment. |
| 39 |
type VulnerabilityAssessmentNote_Assessment_State int32 |
| 40 |
|
| 41 |
const ( |
| 42 |
// No state is specified. |
| 43 |
VulnerabilityAssessmentNote_Assessment_STATE_UNSPECIFIED VulnerabilityAssessmentNote_Assessment_State = 0 |
| 44 |
// This product is known to be affected by this vulnerability. |
| 45 |
VulnerabilityAssessmentNote_Assessment_AFFECTED VulnerabilityAssessmentNote_Assessment_State = 1 |
| 46 |
// This product is known to be not affected by this vulnerability. |
| 47 |
VulnerabilityAssessmentNote_Assessment_NOT_AFFECTED VulnerabilityAssessmentNote_Assessment_State = 2 |
| 48 |
// This product contains a fix for this vulnerability. |
| 49 |
VulnerabilityAssessmentNote_Assessment_FIXED VulnerabilityAssessmentNote_Assessment_State = 3 |
| 50 |
// It is not known yet whether these versions are or are not affected |
| 51 |
// by the vulnerability. However, it is still under investigation. |
| 52 |
VulnerabilityAssessmentNote_Assessment_UNDER_INVESTIGATION VulnerabilityAssessmentNote_Assessment_State = 4 |
| 53 |
) |
| 54 |
|
| 55 |
// Enum value maps for VulnerabilityAssessmentNote_Assessment_State. |
| 56 |
var ( |
| 57 |
VulnerabilityAssessmentNote_Assessment_State_name = map[int32]string{ |
| 58 |
0: "STATE_UNSPECIFIED", |
| 59 |
1: "AFFECTED", |
| 60 |
2: "NOT_AFFECTED", |
| 61 |
3: "FIXED", |
| 62 |
4: "UNDER_INVESTIGATION", |
| 63 |
} |
| 64 |
VulnerabilityAssessmentNote_Assessment_State_value = map[string]int32{ |
| 65 |
"STATE_UNSPECIFIED": 0, |
| 66 |
"AFFECTED": 1, |
| 67 |
"NOT_AFFECTED": 2, |
| 68 |
"FIXED": 3, |
| 69 |
"UNDER_INVESTIGATION": 4, |
| 70 |
} |
| 71 |
) |
| 72 |
|
| 73 |
func (x VulnerabilityAssessmentNote_Assessment_State) Enum() *VulnerabilityAssessmentNote_Assessment_State { |
| 74 |
p := new(VulnerabilityAssessmentNote_Assessment_State) |
| 75 |
*p = x |
| 76 |
return p |
| 77 |
} |
| 78 |
|
| 79 |
func (x VulnerabilityAssessmentNote_Assessment_State) String() string { |
| 80 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 81 |
} |
| 82 |
|
| 83 |
func (VulnerabilityAssessmentNote_Assessment_State) Descriptor() protoreflect.EnumDescriptor { |
| 84 |
return file_grafeas_v1_vex_proto_enumTypes[0].Descriptor() |
| 85 |
} |
| 86 |
|
| 87 |
func (VulnerabilityAssessmentNote_Assessment_State) Type() protoreflect.EnumType { |
| 88 |
return &file_grafeas_v1_vex_proto_enumTypes[0] |
| 89 |
} |
| 90 |
|
| 91 |
func (x VulnerabilityAssessmentNote_Assessment_State) Number() protoreflect.EnumNumber { |
| 92 |
return protoreflect.EnumNumber(x) |
| 93 |
} |
| 94 |
|
| 95 |
// Deprecated: Use VulnerabilityAssessmentNote_Assessment_State.Descriptor instead. |
| 96 |
func (VulnerabilityAssessmentNote_Assessment_State) EnumDescriptor() ([]byte, []int) { |
| 97 |
return file_grafeas_v1_vex_proto_rawDescGZIP(), []int{0, 2, 0} |
| 98 |
} |
| 99 |
|
| 100 |
// Provides the type of justification. |
| 101 |
type VulnerabilityAssessmentNote_Assessment_Justification_JustificationType int32 |
| 102 |
|
| 103 |
const ( |
| 104 |
// JUSTIFICATION_TYPE_UNSPECIFIED. |
| 105 |
VulnerabilityAssessmentNote_Assessment_Justification_JUSTIFICATION_TYPE_UNSPECIFIED VulnerabilityAssessmentNote_Assessment_Justification_JustificationType = 0 |
| 106 |
// The vulnerable component is not present in the product. |
| 107 |
VulnerabilityAssessmentNote_Assessment_Justification_COMPONENT_NOT_PRESENT VulnerabilityAssessmentNote_Assessment_Justification_JustificationType = 1 |
| 108 |
// The vulnerable code is not present. Typically this case |
| 109 |
// occurs when source code is configured or built in a way that excludes |
| 110 |
// the vulnerable code. |
| 111 |
VulnerabilityAssessmentNote_Assessment_Justification_VULNERABLE_CODE_NOT_PRESENT VulnerabilityAssessmentNote_Assessment_Justification_JustificationType = 2 |
| 112 |
// The vulnerable code can not be executed. |
| 113 |
// Typically this case occurs when the product includes the vulnerable |
| 114 |
// code but does not call or use the vulnerable code. |
| 115 |
VulnerabilityAssessmentNote_Assessment_Justification_VULNERABLE_CODE_NOT_IN_EXECUTE_PATH VulnerabilityAssessmentNote_Assessment_Justification_JustificationType = 3 |
| 116 |
// The vulnerable code cannot be controlled by an attacker to exploit |
| 117 |
// the vulnerability. |
| 118 |
VulnerabilityAssessmentNote_Assessment_Justification_VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY VulnerabilityAssessmentNote_Assessment_Justification_JustificationType = 4 |
| 119 |
// The product includes built-in protections or features that prevent |
| 120 |
// exploitation of the vulnerability. These built-in protections cannot |
| 121 |
// be subverted by the attacker and cannot be configured or disabled by |
| 122 |
// the user. These mitigations completely prevent exploitation based on |
| 123 |
// known attack vectors. |
| 124 |
VulnerabilityAssessmentNote_Assessment_Justification_INLINE_MITIGATIONS_ALREADY_EXIST VulnerabilityAssessmentNote_Assessment_Justification_JustificationType = 5 |
| 125 |
) |
| 126 |
|
| 127 |
// Enum value maps for VulnerabilityAssessmentNote_Assessment_Justification_JustificationType. |
| 128 |
var ( |
| 129 |
VulnerabilityAssessmentNote_Assessment_Justification_JustificationType_name = map[int32]string{ |
| 130 |
0: "JUSTIFICATION_TYPE_UNSPECIFIED", |
| 131 |
1: "COMPONENT_NOT_PRESENT", |
| 132 |
2: "VULNERABLE_CODE_NOT_PRESENT", |
| 133 |
3: "VULNERABLE_CODE_NOT_IN_EXECUTE_PATH", |
| 134 |
4: "VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY", |
| 135 |
5: "INLINE_MITIGATIONS_ALREADY_EXIST", |
| 136 |
} |
| 137 |
VulnerabilityAssessmentNote_Assessment_Justification_JustificationType_value = map[string]int32{ |
| 138 |
"JUSTIFICATION_TYPE_UNSPECIFIED": 0, |
| 139 |
"COMPONENT_NOT_PRESENT": 1, |
| 140 |
"VULNERABLE_CODE_NOT_PRESENT": 2, |
| 141 |
"VULNERABLE_CODE_NOT_IN_EXECUTE_PATH": 3, |
| 142 |
"VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY": 4, |
| 143 |
"INLINE_MITIGATIONS_ALREADY_EXIST": 5, |
| 144 |
} |
| 145 |
) |
| 146 |
|
| 147 |
func (x VulnerabilityAssessmentNote_Assessment_Justification_JustificationType) Enum() *VulnerabilityAssessmentNote_Assessment_Justification_JustificationType { |
| 148 |
p := new(VulnerabilityAssessmentNote_Assessment_Justification_JustificationType) |
| 149 |
*p = x |
| 150 |
return p |
| 151 |
} |
| 152 |
|
| 153 |
func (x VulnerabilityAssessmentNote_Assessment_Justification_JustificationType) String() string { |
| 154 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 155 |
} |
| 156 |
|
| 157 |
func (VulnerabilityAssessmentNote_Assessment_Justification_JustificationType) Descriptor() protoreflect.EnumDescriptor { |
| 158 |
return file_grafeas_v1_vex_proto_enumTypes[1].Descriptor() |
| 159 |
} |
| 160 |
|
| 161 |
func (VulnerabilityAssessmentNote_Assessment_Justification_JustificationType) Type() protoreflect.EnumType { |
| 162 |
return &file_grafeas_v1_vex_proto_enumTypes[1] |
| 163 |
} |
| 164 |
|
| 165 |
func (x VulnerabilityAssessmentNote_Assessment_Justification_JustificationType) Number() protoreflect.EnumNumber { |
| 166 |
return protoreflect.EnumNumber(x) |
| 167 |
} |
| 168 |
|
| 169 |
// Deprecated: Use VulnerabilityAssessmentNote_Assessment_Justification_JustificationType.Descriptor instead. |
| 170 |
func (VulnerabilityAssessmentNote_Assessment_Justification_JustificationType) EnumDescriptor() ([]byte, []int) { |
| 171 |
return file_grafeas_v1_vex_proto_rawDescGZIP(), []int{0, 2, 0, 0} |
| 172 |
} |
| 173 |
|
| 174 |
// The type of remediation that can be applied. |
| 175 |
type VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType int32 |
| 176 |
|
| 177 |
const ( |
| 178 |
// No remediation type specified. |
| 179 |
VulnerabilityAssessmentNote_Assessment_Remediation_REMEDIATION_TYPE_UNSPECIFIED VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType = 0 |
| 180 |
// A MITIGATION is available. |
| 181 |
VulnerabilityAssessmentNote_Assessment_Remediation_MITIGATION VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType = 1 |
| 182 |
// No fix is planned. |
| 183 |
VulnerabilityAssessmentNote_Assessment_Remediation_NO_FIX_PLANNED VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType = 2 |
| 184 |
// Not available. |
| 185 |
VulnerabilityAssessmentNote_Assessment_Remediation_NONE_AVAILABLE VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType = 3 |
| 186 |
// A vendor fix is available. |
| 187 |
VulnerabilityAssessmentNote_Assessment_Remediation_VENDOR_FIX VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType = 4 |
| 188 |
// A workaround is available. |
| 189 |
VulnerabilityAssessmentNote_Assessment_Remediation_WORKAROUND VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType = 5 |
| 190 |
) |
| 191 |
|
| 192 |
// Enum value maps for VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType. |
| 193 |
var ( |
| 194 |
VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType_name = map[int32]string{ |
| 195 |
0: "REMEDIATION_TYPE_UNSPECIFIED", |
| 196 |
1: "MITIGATION", |
| 197 |
2: "NO_FIX_PLANNED", |
| 198 |
3: "NONE_AVAILABLE", |
| 199 |
4: "VENDOR_FIX", |
| 200 |
5: "WORKAROUND", |
| 201 |
} |
| 202 |
VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType_value = map[string]int32{ |
| 203 |
"REMEDIATION_TYPE_UNSPECIFIED": 0, |
| 204 |
"MITIGATION": 1, |
| 205 |
"NO_FIX_PLANNED": 2, |
| 206 |
"NONE_AVAILABLE": 3, |
| 207 |
"VENDOR_FIX": 4, |
| 208 |
"WORKAROUND": 5, |
| 209 |
} |
| 210 |
) |
| 211 |
|
| 212 |
func (x VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType) Enum() *VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType { |
| 213 |
p := new(VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType) |
| 214 |
*p = x |
| 215 |
return p |
| 216 |
} |
| 217 |
|
| 218 |
func (x VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType) String() string { |
| 219 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 220 |
} |
| 221 |
|
| 222 |
func (VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType) Descriptor() protoreflect.EnumDescriptor { |
| 223 |
return file_grafeas_v1_vex_proto_enumTypes[2].Descriptor() |
| 224 |
} |
| 225 |
|
| 226 |
func (VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType) Type() protoreflect.EnumType { |
| 227 |
return &file_grafeas_v1_vex_proto_enumTypes[2] |
| 228 |
} |
| 229 |
|
| 230 |
func (x VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType) Number() protoreflect.EnumNumber { |
| 231 |
return protoreflect.EnumNumber(x) |
| 232 |
} |
| 233 |
|
| 234 |
// Deprecated: Use VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType.Descriptor instead. |
| 235 |
func (VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType) EnumDescriptor() ([]byte, []int) { |
| 236 |
return file_grafeas_v1_vex_proto_rawDescGZIP(), []int{0, 2, 1, 0} |
| 237 |
} |
| 238 |
|
| 239 |
// A single VulnerabilityAssessmentNote represents |
| 240 |
// one particular product's vulnerability assessment for one CVE. |
| 241 |
type VulnerabilityAssessmentNote struct { |
| 242 |
state protoimpl.MessageState |
| 243 |
sizeCache protoimpl.SizeCache |
| 244 |
unknownFields protoimpl.UnknownFields |
| 245 |
|
| 246 |
// The title of the note. E.g. `Vex-Debian-11.4` |
| 247 |
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` |
| 248 |
// A one sentence description of this Vex. |
| 249 |
ShortDescription string `protobuf:"bytes,2,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"` |
| 250 |
// A detailed description of this Vex. |
| 251 |
LongDescription string `protobuf:"bytes,3,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty"` |
| 252 |
// Identifies the language used by this document, |
| 253 |
// corresponding to IETF BCP 47 / RFC 5646. |
| 254 |
LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` |
| 255 |
// Publisher details of this Note. |
| 256 |
Publisher *VulnerabilityAssessmentNote_Publisher `protobuf:"bytes,5,opt,name=publisher,proto3" json:"publisher,omitempty"` |
| 257 |
// The product affected by this vex. |
| 258 |
Product *VulnerabilityAssessmentNote_Product `protobuf:"bytes,6,opt,name=product,proto3" json:"product,omitempty"` |
| 259 |
// Represents a vulnerability assessment for the product. |
| 260 |
Assessment *VulnerabilityAssessmentNote_Assessment `protobuf:"bytes,7,opt,name=assessment,proto3" json:"assessment,omitempty"` |
| 261 |
} |
| 262 |
|
| 263 |
func (x *VulnerabilityAssessmentNote) Reset() { |
| 264 |
*x = VulnerabilityAssessmentNote{} |
| 265 |
if protoimpl.UnsafeEnabled { |
| 266 |
mi := &file_grafeas_v1_vex_proto_msgTypes[0] |
| 267 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 268 |
ms.StoreMessageInfo(mi) |
| 269 |
} |
| 270 |
} |
| 271 |
|
| 272 |
func (x *VulnerabilityAssessmentNote) String() string { |
| 273 |
return protoimpl.X.MessageStringOf(x) |
| 274 |
} |
| 275 |
|
| 276 |
func (*VulnerabilityAssessmentNote) ProtoMessage() {} |
| 277 |
|
| 278 |
func (x *VulnerabilityAssessmentNote) ProtoReflect() protoreflect.Message { |
| 279 |
mi := &file_grafeas_v1_vex_proto_msgTypes[0] |
| 280 |
if protoimpl.UnsafeEnabled && x != nil { |
| 281 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 282 |
if ms.LoadMessageInfo() == nil { |
| 283 |
ms.StoreMessageInfo(mi) |
| 284 |
} |
| 285 |
return ms |
| 286 |
} |
| 287 |
return mi.MessageOf(x) |
| 288 |
} |
| 289 |
|
| 290 |
// Deprecated: Use VulnerabilityAssessmentNote.ProtoReflect.Descriptor instead. |
| 291 |
func (*VulnerabilityAssessmentNote) Descriptor() ([]byte, []int) { |
| 292 |
return file_grafeas_v1_vex_proto_rawDescGZIP(), []int{0} |
| 293 |
} |
| 294 |
|
| 295 |
func (x *VulnerabilityAssessmentNote) GetTitle() string { |
| 296 |
if x != nil { |
| 297 |
return x.Title |
| 298 |
} |
| 299 |
return "" |
| 300 |
} |
| 301 |
|
| 302 |
func (x *VulnerabilityAssessmentNote) GetShortDescription() string { |
| 303 |
if x != nil { |
| 304 |
return x.ShortDescription |
| 305 |
} |
| 306 |
return "" |
| 307 |
} |
| 308 |
|
| 309 |
func (x *VulnerabilityAssessmentNote) GetLongDescription() string { |
| 310 |
if x != nil { |
| 311 |
return x.LongDescription |
| 312 |
} |
| 313 |
return "" |
| 314 |
} |
| 315 |
|
| 316 |
func (x *VulnerabilityAssessmentNote) GetLanguageCode() string { |
| 317 |
if x != nil { |
| 318 |
return x.LanguageCode |
| 319 |
} |
| 320 |
return "" |
| 321 |
} |
| 322 |
|
| 323 |
func (x *VulnerabilityAssessmentNote) GetPublisher() *VulnerabilityAssessmentNote_Publisher { |
| 324 |
if x != nil { |
| 325 |
return x.Publisher |
| 326 |
} |
| 327 |
return nil |
| 328 |
} |
| 329 |
|
| 330 |
func (x *VulnerabilityAssessmentNote) GetProduct() *VulnerabilityAssessmentNote_Product { |
| 331 |
if x != nil { |
| 332 |
return x.Product |
| 333 |
} |
| 334 |
return nil |
| 335 |
} |
| 336 |
|
| 337 |
func (x *VulnerabilityAssessmentNote) GetAssessment() *VulnerabilityAssessmentNote_Assessment { |
| 338 |
if x != nil { |
| 339 |
return x.Assessment |
| 340 |
} |
| 341 |
return nil |
| 342 |
} |
| 343 |
|
| 344 |
// Publisher contains information about the publisher of |
| 345 |
// this Note. |
| 346 |
// (-- api-linter: core::0123::resource-annotation=disabled |
| 347 |
// |
| 348 |
// aip.dev/not-precedent: Publisher is not a separate resource. --) |
| 349 |
type VulnerabilityAssessmentNote_Publisher struct { |
| 350 |
state protoimpl.MessageState |
| 351 |
sizeCache protoimpl.SizeCache |
| 352 |
unknownFields protoimpl.UnknownFields |
| 353 |
|
| 354 |
// Name of the publisher. |
| 355 |
// Examples: 'Google', 'Google Cloud Platform'. |
| 356 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 357 |
// Provides information about the authority of the issuing party to |
| 358 |
// release the document, in particular, the party's constituency and |
| 359 |
// responsibilities or other obligations. |
| 360 |
IssuingAuthority string `protobuf:"bytes,2,opt,name=issuing_authority,json=issuingAuthority,proto3" json:"issuing_authority,omitempty"` |
| 361 |
// The context or namespace. |
| 362 |
// Contains a URL which is under control of the issuing party and can |
| 363 |
// be used as a globally unique identifier for that issuing party. |
| 364 |
// Example: https://csaf.io |
| 365 |
PublisherNamespace string `protobuf:"bytes,3,opt,name=publisher_namespace,json=publisherNamespace,proto3" json:"publisher_namespace,omitempty"` |
| 366 |
} |
| 367 |
|
| 368 |
func (x *VulnerabilityAssessmentNote_Publisher) Reset() { |
| 369 |
*x = VulnerabilityAssessmentNote_Publisher{} |
| 370 |
if protoimpl.UnsafeEnabled { |
| 371 |
mi := &file_grafeas_v1_vex_proto_msgTypes[1] |
| 372 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 373 |
ms.StoreMessageInfo(mi) |
| 374 |
} |
| 375 |
} |
| 376 |
|
| 377 |
func (x *VulnerabilityAssessmentNote_Publisher) String() string { |
| 378 |
return protoimpl.X.MessageStringOf(x) |
| 379 |
} |
| 380 |
|
| 381 |
func (*VulnerabilityAssessmentNote_Publisher) ProtoMessage() {} |
| 382 |
|
| 383 |
func (x *VulnerabilityAssessmentNote_Publisher) ProtoReflect() protoreflect.Message { |
| 384 |
mi := &file_grafeas_v1_vex_proto_msgTypes[1] |
| 385 |
if protoimpl.UnsafeEnabled && x != nil { |
| 386 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 387 |
if ms.LoadMessageInfo() == nil { |
| 388 |
ms.StoreMessageInfo(mi) |
| 389 |
} |
| 390 |
return ms |
| 391 |
} |
| 392 |
return mi.MessageOf(x) |
| 393 |
} |
| 394 |
|
| 395 |
// Deprecated: Use VulnerabilityAssessmentNote_Publisher.ProtoReflect.Descriptor instead. |
| 396 |
func (*VulnerabilityAssessmentNote_Publisher) Descriptor() ([]byte, []int) { |
| 397 |
return file_grafeas_v1_vex_proto_rawDescGZIP(), []int{0, 0} |
| 398 |
} |
| 399 |
|
| 400 |
func (x *VulnerabilityAssessmentNote_Publisher) GetName() string { |
| 401 |
if x != nil { |
| 402 |
return x.Name |
| 403 |
} |
| 404 |
return "" |
| 405 |
} |
| 406 |
|
| 407 |
func (x *VulnerabilityAssessmentNote_Publisher) GetIssuingAuthority() string { |
| 408 |
if x != nil { |
| 409 |
return x.IssuingAuthority |
| 410 |
} |
| 411 |
return "" |
| 412 |
} |
| 413 |
|
| 414 |
func (x *VulnerabilityAssessmentNote_Publisher) GetPublisherNamespace() string { |
| 415 |
if x != nil { |
| 416 |
return x.PublisherNamespace |
| 417 |
} |
| 418 |
return "" |
| 419 |
} |
| 420 |
|
| 421 |
// Product contains information about a product and how to uniquely identify |
| 422 |
// it. |
| 423 |
// (-- api-linter: core::0123::resource-annotation=disabled |
| 424 |
// |
| 425 |
// aip.dev/not-precedent: Product is not a separate resource. --) |
| 426 |
type VulnerabilityAssessmentNote_Product struct { |
| 427 |
state protoimpl.MessageState |
| 428 |
sizeCache protoimpl.SizeCache |
| 429 |
unknownFields protoimpl.UnknownFields |
| 430 |
|
| 431 |
// Name of the product. |
| 432 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 433 |
// Token that identifies a product so that it can be referred to from other |
| 434 |
// parts in the document. There is no predefined format as long as it |
| 435 |
// uniquely identifies a group in the context of the current document. |
| 436 |
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` |
| 437 |
// Types that are assignable to Identifier: |
| 438 |
// |
| 439 |
// *VulnerabilityAssessmentNote_Product_GenericUri |
| 440 |
Identifier isVulnerabilityAssessmentNote_Product_Identifier `protobuf_oneof:"identifier"` |
| 441 |
} |
| 442 |
|
| 443 |
func (x *VulnerabilityAssessmentNote_Product) Reset() { |
| 444 |
*x = VulnerabilityAssessmentNote_Product{} |
| 445 |
if protoimpl.UnsafeEnabled { |
| 446 |
mi := &file_grafeas_v1_vex_proto_msgTypes[2] |
| 447 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 448 |
ms.StoreMessageInfo(mi) |
| 449 |
} |
| 450 |
} |
| 451 |
|
| 452 |
func (x *VulnerabilityAssessmentNote_Product) String() string { |
| 453 |
return protoimpl.X.MessageStringOf(x) |
| 454 |
} |
| 455 |
|
| 456 |
func (*VulnerabilityAssessmentNote_Product) ProtoMessage() {} |
| 457 |
|
| 458 |
func (x *VulnerabilityAssessmentNote_Product) ProtoReflect() protoreflect.Message { |
| 459 |
mi := &file_grafeas_v1_vex_proto_msgTypes[2] |
| 460 |
if protoimpl.UnsafeEnabled && x != nil { |
| 461 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 462 |
if ms.LoadMessageInfo() == nil { |
| 463 |
ms.StoreMessageInfo(mi) |
| 464 |
} |
| 465 |
return ms |
| 466 |
} |
| 467 |
return mi.MessageOf(x) |
| 468 |
} |
| 469 |
|
| 470 |
// Deprecated: Use VulnerabilityAssessmentNote_Product.ProtoReflect.Descriptor instead. |
| 471 |
func (*VulnerabilityAssessmentNote_Product) Descriptor() ([]byte, []int) { |
| 472 |
return file_grafeas_v1_vex_proto_rawDescGZIP(), []int{0, 1} |
| 473 |
} |
| 474 |
|
| 475 |
func (x *VulnerabilityAssessmentNote_Product) GetName() string { |
| 476 |
if x != nil { |
| 477 |
return x.Name |
| 478 |
} |
| 479 |
return "" |
| 480 |
} |
| 481 |
|
| 482 |
func (x *VulnerabilityAssessmentNote_Product) GetId() string { |
| 483 |
if x != nil { |
| 484 |
return x.Id |
| 485 |
} |
| 486 |
return "" |
| 487 |
} |
| 488 |
|
| 489 |
func (m *VulnerabilityAssessmentNote_Product) GetIdentifier() isVulnerabilityAssessmentNote_Product_Identifier { |
| 490 |
if m != nil { |
| 491 |
return m.Identifier |
| 492 |
} |
| 493 |
return nil |
| 494 |
} |
| 495 |
|
| 496 |
func (x *VulnerabilityAssessmentNote_Product) GetGenericUri() string { |
| 497 |
if x, ok := x.GetIdentifier().(*VulnerabilityAssessmentNote_Product_GenericUri); ok { |
| 498 |
return x.GenericUri |
| 499 |
} |
| 500 |
return "" |
| 501 |
} |
| 502 |
|
| 503 |
type isVulnerabilityAssessmentNote_Product_Identifier interface { |
| 504 |
isVulnerabilityAssessmentNote_Product_Identifier() |
| 505 |
} |
| 506 |
|
| 507 |
type VulnerabilityAssessmentNote_Product_GenericUri struct { |
| 508 |
// Contains a URI which is vendor-specific. |
| 509 |
// Example: The artifact repository URL of an image. |
| 510 |
GenericUri string `protobuf:"bytes,3,opt,name=generic_uri,json=genericUri,proto3,oneof"` |
| 511 |
} |
| 512 |
|
| 513 |
func (*VulnerabilityAssessmentNote_Product_GenericUri) isVulnerabilityAssessmentNote_Product_Identifier() { |
| 514 |
} |
| 515 |
|
| 516 |
// Assessment provides all information that is related to a single |
| 517 |
// vulnerability for this product. |
| 518 |
type VulnerabilityAssessmentNote_Assessment struct { |
| 519 |
state protoimpl.MessageState |
| 520 |
sizeCache protoimpl.SizeCache |
| 521 |
unknownFields protoimpl.UnknownFields |
| 522 |
|
| 523 |
// Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) |
| 524 |
// tracking number for the vulnerability. |
| 525 |
// Deprecated: Use vulnerability_id instead to denote CVEs. |
| 526 |
// |
| 527 |
// Deprecated: Do not use. |
| 528 |
Cve string `protobuf:"bytes,1,opt,name=cve,proto3" json:"cve,omitempty"` |
| 529 |
// The vulnerability identifier for this Assessment. Will hold one of |
| 530 |
// common identifiers e.g. CVE, GHSA etc. |
| 531 |
VulnerabilityId string `protobuf:"bytes,9,opt,name=vulnerability_id,json=vulnerabilityId,proto3" json:"vulnerability_id,omitempty"` |
| 532 |
// A one sentence description of this Vex. |
| 533 |
ShortDescription string `protobuf:"bytes,2,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"` |
| 534 |
// A detailed description of this Vex. |
| 535 |
LongDescription string `protobuf:"bytes,3,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty"` |
| 536 |
// Holds a list of references associated with this vulnerability item and |
| 537 |
// assessment. These uris have additional information about the |
| 538 |
// vulnerability and the assessment itself. E.g. Link to a document which |
| 539 |
// details how this assessment concluded the state of this vulnerability. |
| 540 |
RelatedUris []*RelatedUrl `protobuf:"bytes,4,rep,name=related_uris,json=relatedUris,proto3" json:"related_uris,omitempty"` |
| 541 |
// Provides the state of this Vulnerability assessment. |
| 542 |
State VulnerabilityAssessmentNote_Assessment_State `protobuf:"varint,5,opt,name=state,proto3,enum=grafeas.v1.VulnerabilityAssessmentNote_Assessment_State" json:"state,omitempty"` |
| 543 |
// Contains information about the impact of this vulnerability, |
| 544 |
// this will change with time. |
| 545 |
Impacts []string `protobuf:"bytes,6,rep,name=impacts,proto3" json:"impacts,omitempty"` |
| 546 |
// Justification provides the justification when the state of the |
| 547 |
// assessment if NOT_AFFECTED. |
| 548 |
Justification *VulnerabilityAssessmentNote_Assessment_Justification `protobuf:"bytes,7,opt,name=justification,proto3" json:"justification,omitempty"` |
| 549 |
// Specifies details on how to handle (and presumably, fix) a vulnerability. |
| 550 |
Remediations []*VulnerabilityAssessmentNote_Assessment_Remediation `protobuf:"bytes,8,rep,name=remediations,proto3" json:"remediations,omitempty"` |
| 551 |
} |
| 552 |
|
| 553 |
func (x *VulnerabilityAssessmentNote_Assessment) Reset() { |
| 554 |
*x = VulnerabilityAssessmentNote_Assessment{} |
| 555 |
if protoimpl.UnsafeEnabled { |
| 556 |
mi := &file_grafeas_v1_vex_proto_msgTypes[3] |
| 557 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 558 |
ms.StoreMessageInfo(mi) |
| 559 |
} |
| 560 |
} |
| 561 |
|
| 562 |
func (x *VulnerabilityAssessmentNote_Assessment) String() string { |
| 563 |
return protoimpl.X.MessageStringOf(x) |
| 564 |
} |
| 565 |
|
| 566 |
func (*VulnerabilityAssessmentNote_Assessment) ProtoMessage() {} |
| 567 |
|
| 568 |
func (x *VulnerabilityAssessmentNote_Assessment) ProtoReflect() protoreflect.Message { |
| 569 |
mi := &file_grafeas_v1_vex_proto_msgTypes[3] |
| 570 |
if protoimpl.UnsafeEnabled && x != nil { |
| 571 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 572 |
if ms.LoadMessageInfo() == nil { |
| 573 |
ms.StoreMessageInfo(mi) |
| 574 |
} |
| 575 |
return ms |
| 576 |
} |
| 577 |
return mi.MessageOf(x) |
| 578 |
} |
| 579 |
|
| 580 |
// Deprecated: Use VulnerabilityAssessmentNote_Assessment.ProtoReflect.Descriptor instead. |
| 581 |
func (*VulnerabilityAssessmentNote_Assessment) Descriptor() ([]byte, []int) { |
| 582 |
return file_grafeas_v1_vex_proto_rawDescGZIP(), []int{0, 2} |
| 583 |
} |
| 584 |
|
| 585 |
// Deprecated: Do not use. |
| 586 |
func (x *VulnerabilityAssessmentNote_Assessment) GetCve() string { |
| 587 |
if x != nil { |
| 588 |
return x.Cve |
| 589 |
} |
| 590 |
return "" |
| 591 |
} |
| 592 |
|
| 593 |
func (x *VulnerabilityAssessmentNote_Assessment) GetVulnerabilityId() string { |
| 594 |
if x != nil { |
| 595 |
return x.VulnerabilityId |
| 596 |
} |
| 597 |
return "" |
| 598 |
} |
| 599 |
|
| 600 |
func (x *VulnerabilityAssessmentNote_Assessment) GetShortDescription() string { |
| 601 |
if x != nil { |
| 602 |
return x.ShortDescription |
| 603 |
} |
| 604 |
return "" |
| 605 |
} |
| 606 |
|
| 607 |
func (x *VulnerabilityAssessmentNote_Assessment) GetLongDescription() string { |
| 608 |
if x != nil { |
| 609 |
return x.LongDescription |
| 610 |
} |
| 611 |
return "" |
| 612 |
} |
| 613 |
|
| 614 |
func (x *VulnerabilityAssessmentNote_Assessment) GetRelatedUris() []*RelatedUrl { |
| 615 |
if x != nil { |
| 616 |
return x.RelatedUris |
| 617 |
} |
| 618 |
return nil |
| 619 |
} |
| 620 |
|
| 621 |
func (x *VulnerabilityAssessmentNote_Assessment) GetState() VulnerabilityAssessmentNote_Assessment_State { |
| 622 |
if x != nil { |
| 623 |
return x.State |
| 624 |
} |
| 625 |
return VulnerabilityAssessmentNote_Assessment_STATE_UNSPECIFIED |
| 626 |
} |
| 627 |
|
| 628 |
func (x *VulnerabilityAssessmentNote_Assessment) GetImpacts() []string { |
| 629 |
if x != nil { |
| 630 |
return x.Impacts |
| 631 |
} |
| 632 |
return nil |
| 633 |
} |
| 634 |
|
| 635 |
func (x *VulnerabilityAssessmentNote_Assessment) GetJustification() *VulnerabilityAssessmentNote_Assessment_Justification { |
| 636 |
if x != nil { |
| 637 |
return x.Justification |
| 638 |
} |
| 639 |
return nil |
| 640 |
} |
| 641 |
|
| 642 |
func (x *VulnerabilityAssessmentNote_Assessment) GetRemediations() []*VulnerabilityAssessmentNote_Assessment_Remediation { |
| 643 |
if x != nil { |
| 644 |
return x.Remediations |
| 645 |
} |
| 646 |
return nil |
| 647 |
} |
| 648 |
|
| 649 |
// Justification provides the justification when the state of the |
| 650 |
// assessment if NOT_AFFECTED. |
| 651 |
type VulnerabilityAssessmentNote_Assessment_Justification struct { |
| 652 |
state protoimpl.MessageState |
| 653 |
sizeCache protoimpl.SizeCache |
| 654 |
unknownFields protoimpl.UnknownFields |
| 655 |
|
| 656 |
// The justification type for this vulnerability. |
| 657 |
JustificationType VulnerabilityAssessmentNote_Assessment_Justification_JustificationType `protobuf:"varint,1,opt,name=justification_type,json=justificationType,proto3,enum=grafeas.v1.VulnerabilityAssessmentNote_Assessment_Justification_JustificationType" json:"justification_type,omitempty"` |
| 658 |
// Additional details on why this justification was chosen. |
| 659 |
Details string `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` |
| 660 |
} |
| 661 |
|
| 662 |
func (x *VulnerabilityAssessmentNote_Assessment_Justification) Reset() { |
| 663 |
*x = VulnerabilityAssessmentNote_Assessment_Justification{} |
| 664 |
if protoimpl.UnsafeEnabled { |
| 665 |
mi := &file_grafeas_v1_vex_proto_msgTypes[4] |
| 666 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 667 |
ms.StoreMessageInfo(mi) |
| 668 |
} |
| 669 |
} |
| 670 |
|
| 671 |
func (x *VulnerabilityAssessmentNote_Assessment_Justification) String() string { |
| 672 |
return protoimpl.X.MessageStringOf(x) |
| 673 |
} |
| 674 |
|
| 675 |
func (*VulnerabilityAssessmentNote_Assessment_Justification) ProtoMessage() {} |
| 676 |
|
| 677 |
func (x *VulnerabilityAssessmentNote_Assessment_Justification) ProtoReflect() protoreflect.Message { |
| 678 |
mi := &file_grafeas_v1_vex_proto_msgTypes[4] |
| 679 |
if protoimpl.UnsafeEnabled && x != nil { |
| 680 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 681 |
if ms.LoadMessageInfo() == nil { |
| 682 |
ms.StoreMessageInfo(mi) |
| 683 |
} |
| 684 |
return ms |
| 685 |
} |
| 686 |
return mi.MessageOf(x) |
| 687 |
} |
| 688 |
|
| 689 |
// Deprecated: Use VulnerabilityAssessmentNote_Assessment_Justification.ProtoReflect.Descriptor instead. |
| 690 |
func (*VulnerabilityAssessmentNote_Assessment_Justification) Descriptor() ([]byte, []int) { |
| 691 |
return file_grafeas_v1_vex_proto_rawDescGZIP(), []int{0, 2, 0} |
| 692 |
} |
| 693 |
|
| 694 |
func (x *VulnerabilityAssessmentNote_Assessment_Justification) GetJustificationType() VulnerabilityAssessmentNote_Assessment_Justification_JustificationType { |
| 695 |
if x != nil { |
| 696 |
return x.JustificationType |
| 697 |
} |
| 698 |
return VulnerabilityAssessmentNote_Assessment_Justification_JUSTIFICATION_TYPE_UNSPECIFIED |
| 699 |
} |
| 700 |
|
| 701 |
func (x *VulnerabilityAssessmentNote_Assessment_Justification) GetDetails() string { |
| 702 |
if x != nil { |
| 703 |
return x.Details |
| 704 |
} |
| 705 |
return "" |
| 706 |
} |
| 707 |
|
| 708 |
// Specifies details on how to handle (and presumably, fix) a vulnerability. |
| 709 |
type VulnerabilityAssessmentNote_Assessment_Remediation struct { |
| 710 |
state protoimpl.MessageState |
| 711 |
sizeCache protoimpl.SizeCache |
| 712 |
unknownFields protoimpl.UnknownFields |
| 713 |
|
| 714 |
// The type of remediation that can be applied. |
| 715 |
RemediationType VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType `protobuf:"varint,1,opt,name=remediation_type,json=remediationType,proto3,enum=grafeas.v1.VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType" json:"remediation_type,omitempty"` |
| 716 |
// Contains a comprehensive human-readable discussion of the remediation. |
| 717 |
Details string `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"` |
| 718 |
// Contains the URL where to obtain the remediation. |
| 719 |
RemediationUri *RelatedUrl `protobuf:"bytes,3,opt,name=remediation_uri,json=remediationUri,proto3" json:"remediation_uri,omitempty"` |
| 720 |
} |
| 721 |
|
| 722 |
func (x *VulnerabilityAssessmentNote_Assessment_Remediation) Reset() { |
| 723 |
*x = VulnerabilityAssessmentNote_Assessment_Remediation{} |
| 724 |
if protoimpl.UnsafeEnabled { |
| 725 |
mi := &file_grafeas_v1_vex_proto_msgTypes[5] |
| 726 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 727 |
ms.StoreMessageInfo(mi) |
| 728 |
} |
| 729 |
} |
| 730 |
|
| 731 |
func (x *VulnerabilityAssessmentNote_Assessment_Remediation) String() string { |
| 732 |
return protoimpl.X.MessageStringOf(x) |
| 733 |
} |
| 734 |
|
| 735 |
func (*VulnerabilityAssessmentNote_Assessment_Remediation) ProtoMessage() {} |
| 736 |
|
| 737 |
func (x *VulnerabilityAssessmentNote_Assessment_Remediation) ProtoReflect() protoreflect.Message { |
| 738 |
mi := &file_grafeas_v1_vex_proto_msgTypes[5] |
| 739 |
if protoimpl.UnsafeEnabled && x != nil { |
| 740 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 741 |
if ms.LoadMessageInfo() == nil { |
| 742 |
ms.StoreMessageInfo(mi) |
| 743 |
} |
| 744 |
return ms |
| 745 |
} |
| 746 |
return mi.MessageOf(x) |
| 747 |
} |
| 748 |
|
| 749 |
// Deprecated: Use VulnerabilityAssessmentNote_Assessment_Remediation.ProtoReflect.Descriptor instead. |
| 750 |
func (*VulnerabilityAssessmentNote_Assessment_Remediation) Descriptor() ([]byte, []int) { |
| 751 |
return file_grafeas_v1_vex_proto_rawDescGZIP(), []int{0, 2, 1} |
| 752 |
} |
| 753 |
|
| 754 |
func (x *VulnerabilityAssessmentNote_Assessment_Remediation) GetRemediationType() VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType { |
| 755 |
if x != nil { |
| 756 |
return x.RemediationType |
| 757 |
} |
| 758 |
return VulnerabilityAssessmentNote_Assessment_Remediation_REMEDIATION_TYPE_UNSPECIFIED |
| 759 |
} |
| 760 |
|
| 761 |
func (x *VulnerabilityAssessmentNote_Assessment_Remediation) GetDetails() string { |
| 762 |
if x != nil { |
| 763 |
return x.Details |
| 764 |
} |
| 765 |
return "" |
| 766 |
} |
| 767 |
|
| 768 |
func (x *VulnerabilityAssessmentNote_Assessment_Remediation) GetRemediationUri() *RelatedUrl { |
| 769 |
if x != nil { |
| 770 |
return x.RemediationUri |
| 771 |
} |
| 772 |
return nil |
| 773 |
} |
| 774 |
|
| 775 |
var File_grafeas_v1_vex_proto protoreflect.FileDescriptor |
| 776 |
|
| 777 |
var file_grafeas_v1_vex_proto_rawDesc = []byte{ |
| 778 |
0x0a, 0x14, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x65, 0x78, |
| 779 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, |
| 780 |
0x76, 0x31, 0x1a, 0x17, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, |
| 781 |
0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9c, 0x10, 0x0a, 0x1b, |
| 782 |
0x56, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x73, 0x73, |
| 783 |
0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, |
| 784 |
0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, |
| 785 |
0x65, 0x12, 0x2b, 0x0a, 0x11, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, |
| 786 |
0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x68, |
| 787 |
0x6f, 0x72, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, |
| 788 |
0x0a, 0x10, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, |
| 789 |
0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6c, 0x6f, 0x6e, 0x67, 0x44, 0x65, |
| 790 |
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, |
| 791 |
0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, |
| 792 |
0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x4f, |
| 793 |
0x0a, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, |
| 794 |
0x0b, 0x32, 0x31, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, |
| 795 |
0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x73, 0x73, 0x65, |
| 796 |
0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, |
| 797 |
0x73, 0x68, 0x65, 0x72, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x12, |
| 798 |
0x49, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, |
| 799 |
0x32, 0x2f, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x75, |
| 800 |
0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x73, 0x73, 0x65, 0x73, |
| 801 |
0x73, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, |
| 802 |
0x74, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, 0x52, 0x0a, 0x0a, 0x61, 0x73, |
| 803 |
0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, |
| 804 |
0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x75, 0x6c, 0x6e, |
| 805 |
0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, |
| 806 |
0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, |
| 807 |
0x6e, 0x74, 0x52, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x1a, 0x7d, |
| 808 |
0x0a, 0x09, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, |
| 809 |
0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, |
| 810 |
0x2b, 0x0a, 0x11, 0x69, 0x73, 0x73, 0x75, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, |
| 811 |
0x72, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x69, 0x73, 0x73, 0x75, |
| 812 |
0x69, 0x6e, 0x67, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x2f, 0x0a, 0x13, |
| 813 |
0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, |
| 814 |
0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x70, 0x75, 0x62, 0x6c, 0x69, |
| 815 |
0x73, 0x68, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x1a, 0x5e, 0x0a, |
| 816 |
0x07, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, |
| 817 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, |
| 818 |
0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0b, |
| 819 |
0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, |
| 820 |
0x09, 0x48, 0x00, 0x52, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x55, 0x72, 0x69, 0x42, |
| 821 |
0x0c, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x1a, 0x9a, 0x0b, |
| 822 |
0x0a, 0x0a, 0x41, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x03, |
| 823 |
0x63, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x03, 0x63, |
| 824 |
0x76, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, |
| 825 |
0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x76, 0x75, |
| 826 |
0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x2b, 0x0a, |
| 827 |
0x11, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, |
| 828 |
0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x44, |
| 829 |
0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x6c, 0x6f, |
| 830 |
0x6e, 0x67, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, |
| 831 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6c, 0x6f, 0x6e, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, |
| 832 |
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0c, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, |
| 833 |
0x5f, 0x75, 0x72, 0x69, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, |
| 834 |
0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, |
| 835 |
0x55, 0x72, 0x6c, 0x52, 0x0b, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x55, 0x72, 0x69, 0x73, |
| 836 |
0x12, 0x4e, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, |
| 837 |
0x38, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x75, 0x6c, |
| 838 |
0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x73, 0x73, 0x65, 0x73, 0x73, |
| 839 |
0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, |
| 840 |
0x65, 0x6e, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, |
| 841 |
0x12, 0x18, 0x0a, 0x07, 0x69, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, |
| 842 |
0x09, 0x52, 0x07, 0x69, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x73, 0x12, 0x66, 0x0a, 0x0d, 0x6a, 0x75, |
| 843 |
0x73, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, |
| 844 |
0x0b, 0x32, 0x40, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, |
| 845 |
0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x73, 0x73, 0x65, |
| 846 |
0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x73, |
| 847 |
0x73, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x4a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, |
| 848 |
0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, |
| 849 |
0x6f, 0x6e, 0x12, 0x62, 0x0a, 0x0c, 0x72, 0x65, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x69, 0x6f, |
| 850 |
0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, |
| 851 |
0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, |
| 852 |
0x69, 0x74, 0x79, 0x41, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, |
| 853 |
0x65, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x6d, |
| 854 |
0x65, 0x64, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x72, 0x65, 0x6d, 0x65, 0x64, 0x69, |
| 855 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0xa9, 0x03, 0x0a, 0x0d, 0x4a, 0x75, 0x73, 0x74, 0x69, |
| 856 |
0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x81, 0x01, 0x0a, 0x12, 0x6a, 0x75, 0x73, |
| 857 |
0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, |
| 858 |
0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x52, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, |
| 859 |
0x76, 0x31, 0x2e, 0x56, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, |
| 860 |
0x41, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x2e, 0x41, |
| 861 |
0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x4a, 0x75, 0x73, 0x74, 0x69, 0x66, |
| 862 |
0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x63, |
| 863 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x6a, 0x75, 0x73, 0x74, 0x69, |
| 864 |
0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, |
| 865 |
0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, |
| 866 |
0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0xf9, 0x01, 0x0a, 0x11, 0x4a, 0x75, 0x73, 0x74, 0x69, |
| 867 |
0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x1e, |
| 868 |
0x4a, 0x55, 0x53, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, |
| 869 |
0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, |
| 870 |
0x12, 0x19, 0x0a, 0x15, 0x43, 0x4f, 0x4d, 0x50, 0x4f, 0x4e, 0x45, 0x4e, 0x54, 0x5f, 0x4e, 0x4f, |
| 871 |
0x54, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x56, |
| 872 |
0x55, 0x4c, 0x4e, 0x45, 0x52, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x4e, |
| 873 |
0x4f, 0x54, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x12, 0x27, 0x0a, 0x23, |
| 874 |
0x56, 0x55, 0x4c, 0x4e, 0x45, 0x52, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, |
| 875 |
0x4e, 0x4f, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x45, 0x58, 0x45, 0x43, 0x55, 0x54, 0x45, 0x5f, 0x50, |
| 876 |
0x41, 0x54, 0x48, 0x10, 0x03, 0x12, 0x35, 0x0a, 0x31, 0x56, 0x55, 0x4c, 0x4e, 0x45, 0x52, 0x41, |
| 877 |
0x42, 0x4c, 0x45, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x43, 0x41, 0x4e, 0x4e, 0x4f, 0x54, 0x5f, |
| 878 |
0x42, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x52, 0x4f, 0x4c, 0x4c, 0x45, 0x44, 0x5f, 0x42, 0x59, |
| 879 |
0x5f, 0x41, 0x44, 0x56, 0x45, 0x52, 0x53, 0x41, 0x52, 0x59, 0x10, 0x04, 0x12, 0x24, 0x0a, 0x20, |
| 880 |
0x49, 0x4e, 0x4c, 0x49, 0x4e, 0x45, 0x5f, 0x4d, 0x49, 0x54, 0x49, 0x47, 0x41, 0x54, 0x49, 0x4f, |
| 881 |
0x4e, 0x53, 0x5f, 0x41, 0x4c, 0x52, 0x45, 0x41, 0x44, 0x59, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, |
| 882 |
0x10, 0x05, 0x1a, 0xf1, 0x02, 0x0a, 0x0b, 0x52, 0x65, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x69, |
| 883 |
0x6f, 0x6e, 0x12, 0x79, 0x0a, 0x10, 0x72, 0x65, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x69, 0x6f, |
| 884 |
0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x4e, 0x2e, 0x67, |
| 885 |
0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x75, 0x6c, 0x6e, 0x65, 0x72, |
| 886 |
0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, |
| 887 |
0x74, 0x4e, 0x6f, 0x74, 0x65, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, |
| 888 |
0x2e, 0x52, 0x65, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x6d, |
| 889 |
0x65, 0x64, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0f, 0x72, 0x65, |
| 890 |
0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, |
| 891 |
0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, |
| 892 |
0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x3f, 0x0a, 0x0f, 0x72, 0x65, 0x6d, 0x65, 0x64, |
| 893 |
0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, |
| 894 |
0x32, 0x16, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, |
| 895 |
0x6c, 0x61, 0x74, 0x65, 0x64, 0x55, 0x72, 0x6c, 0x52, 0x0e, 0x72, 0x65, 0x6d, 0x65, 0x64, 0x69, |
| 896 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x72, 0x69, 0x22, 0x8b, 0x01, 0x0a, 0x0f, 0x52, 0x65, 0x6d, |
| 897 |
0x65, 0x64, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x1c, |
| 898 |
0x52, 0x45, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, |
| 899 |
0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, |
| 900 |
0x0a, 0x0a, 0x4d, 0x49, 0x54, 0x49, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x12, |
| 901 |
0x0a, 0x0e, 0x4e, 0x4f, 0x5f, 0x46, 0x49, 0x58, 0x5f, 0x50, 0x4c, 0x41, 0x4e, 0x4e, 0x45, 0x44, |
| 902 |
0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x4e, 0x4f, 0x4e, 0x45, 0x5f, 0x41, 0x56, 0x41, 0x49, 0x4c, |
| 903 |
0x41, 0x42, 0x4c, 0x45, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x56, 0x45, 0x4e, 0x44, 0x4f, 0x52, |
| 904 |
0x5f, 0x46, 0x49, 0x58, 0x10, 0x04, 0x12, 0x0e, 0x0a, 0x0a, 0x57, 0x4f, 0x52, 0x4b, 0x41, 0x52, |
| 905 |
0x4f, 0x55, 0x4e, 0x44, 0x10, 0x05, 0x22, 0x62, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, |
| 906 |
0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, |
| 907 |
0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x46, 0x46, 0x45, 0x43, 0x54, |
| 908 |
0x45, 0x44, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x4e, 0x4f, 0x54, 0x5f, 0x41, 0x46, 0x46, 0x45, |
| 909 |
0x43, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x58, 0x45, 0x44, 0x10, |
| 910 |
0x03, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x45, 0x53, |
| 911 |
0x54, 0x49, 0x47, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x04, 0x42, 0x51, 0x0a, 0x0d, 0x69, 0x6f, |
| 912 |
0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a, 0x38, 0x67, |
| 913 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, |
| 914 |
0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 915 |
0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x3b, |
| 916 |
0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0xa2, 0x02, 0x03, 0x47, 0x52, 0x41, 0x62, 0x06, 0x70, |
| 917 |
0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 918 |
} |
| 919 |
|
| 920 |
var ( |
| 921 |
file_grafeas_v1_vex_proto_rawDescOnce sync.Once |
| 922 |
file_grafeas_v1_vex_proto_rawDescData = file_grafeas_v1_vex_proto_rawDesc |
| 923 |
) |
| 924 |
|
| 925 |
func file_grafeas_v1_vex_proto_rawDescGZIP() []byte { |
| 926 |
file_grafeas_v1_vex_proto_rawDescOnce.Do(func() { |
| 927 |
file_grafeas_v1_vex_proto_rawDescData = protoimpl.X.CompressGZIP(file_grafeas_v1_vex_proto_rawDescData) |
| 928 |
}) |
| 929 |
return file_grafeas_v1_vex_proto_rawDescData |
| 930 |
} |
| 931 |
|
| 932 |
var file_grafeas_v1_vex_proto_enumTypes = make([]protoimpl.EnumInfo, 3) |
| 933 |
var file_grafeas_v1_vex_proto_msgTypes = make([]protoimpl.MessageInfo, 6) |
| 934 |
var file_grafeas_v1_vex_proto_goTypes = []interface{}{ |
| 935 |
(VulnerabilityAssessmentNote_Assessment_State)(0), // 0: grafeas.v1.VulnerabilityAssessmentNote.Assessment.State |
| 936 |
(VulnerabilityAssessmentNote_Assessment_Justification_JustificationType)(0), // 1: grafeas.v1.VulnerabilityAssessmentNote.Assessment.Justification.JustificationType |
| 937 |
(VulnerabilityAssessmentNote_Assessment_Remediation_RemediationType)(0), // 2: grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation.RemediationType |
| 938 |
(*VulnerabilityAssessmentNote)(nil), // 3: grafeas.v1.VulnerabilityAssessmentNote |
| 939 |
(*VulnerabilityAssessmentNote_Publisher)(nil), // 4: grafeas.v1.VulnerabilityAssessmentNote.Publisher |
| 940 |
(*VulnerabilityAssessmentNote_Product)(nil), // 5: grafeas.v1.VulnerabilityAssessmentNote.Product |
| 941 |
(*VulnerabilityAssessmentNote_Assessment)(nil), // 6: grafeas.v1.VulnerabilityAssessmentNote.Assessment |
| 942 |
(*VulnerabilityAssessmentNote_Assessment_Justification)(nil), // 7: grafeas.v1.VulnerabilityAssessmentNote.Assessment.Justification |
| 943 |
(*VulnerabilityAssessmentNote_Assessment_Remediation)(nil), // 8: grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation |
| 944 |
(*RelatedUrl)(nil), // 9: grafeas.v1.RelatedUrl |
| 945 |
} |
| 946 |
var file_grafeas_v1_vex_proto_depIdxs = []int32{ |
| 947 |
4, // 0: grafeas.v1.VulnerabilityAssessmentNote.publisher:type_name -> grafeas.v1.VulnerabilityAssessmentNote.Publisher |
| 948 |
5, // 1: grafeas.v1.VulnerabilityAssessmentNote.product:type_name -> grafeas.v1.VulnerabilityAssessmentNote.Product |
| 949 |
6, // 2: grafeas.v1.VulnerabilityAssessmentNote.assessment:type_name -> grafeas.v1.VulnerabilityAssessmentNote.Assessment |
| 950 |
9, // 3: grafeas.v1.VulnerabilityAssessmentNote.Assessment.related_uris:type_name -> grafeas.v1.RelatedUrl |
| 951 |
0, // 4: grafeas.v1.VulnerabilityAssessmentNote.Assessment.state:type_name -> grafeas.v1.VulnerabilityAssessmentNote.Assessment.State |
| 952 |
7, // 5: grafeas.v1.VulnerabilityAssessmentNote.Assessment.justification:type_name -> grafeas.v1.VulnerabilityAssessmentNote.Assessment.Justification |
| 953 |
8, // 6: grafeas.v1.VulnerabilityAssessmentNote.Assessment.remediations:type_name -> grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation |
| 954 |
1, // 7: grafeas.v1.VulnerabilityAssessmentNote.Assessment.Justification.justification_type:type_name -> grafeas.v1.VulnerabilityAssessmentNote.Assessment.Justification.JustificationType |
| 955 |
2, // 8: grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation.remediation_type:type_name -> grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation.RemediationType |
| 956 |
9, // 9: grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation.remediation_uri:type_name -> grafeas.v1.RelatedUrl |
| 957 |
10, // [10:10] is the sub-list for method output_type |
| 958 |
10, // [10:10] is the sub-list for method input_type |
| 959 |
10, // [10:10] is the sub-list for extension type_name |
| 960 |
10, // [10:10] is the sub-list for extension extendee |
| 961 |
0, // [0:10] is the sub-list for field type_name |
| 962 |
} |
| 963 |
|
| 964 |
func init() { file_grafeas_v1_vex_proto_init() } |
| 965 |
func file_grafeas_v1_vex_proto_init() { |
| 966 |
if File_grafeas_v1_vex_proto != nil { |
| 967 |
return |
| 968 |
} |
| 969 |
file_grafeas_v1_common_proto_init() |
| 970 |
if !protoimpl.UnsafeEnabled { |
| 971 |
file_grafeas_v1_vex_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 972 |
switch v := v.(*VulnerabilityAssessmentNote); i { |
| 973 |
case 0: |
| 974 |
return &v.state |
| 975 |
case 1: |
| 976 |
return &v.sizeCache |
| 977 |
case 2: |
| 978 |
return &v.unknownFields |
| 979 |
default: |
| 980 |
return nil |
| 981 |
} |
| 982 |
} |
| 983 |
file_grafeas_v1_vex_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 984 |
switch v := v.(*VulnerabilityAssessmentNote_Publisher); i { |
| 985 |
case 0: |
| 986 |
return &v.state |
| 987 |
case 1: |
| 988 |
return &v.sizeCache |
| 989 |
case 2: |
| 990 |
return &v.unknownFields |
| 991 |
default: |
| 992 |
return nil |
| 993 |
} |
| 994 |
} |
| 995 |
file_grafeas_v1_vex_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 996 |
switch v := v.(*VulnerabilityAssessmentNote_Product); i { |
| 997 |
case 0: |
| 998 |
return &v.state |
| 999 |
case 1: |
| 1000 |
return &v.sizeCache |
| 1001 |
case 2: |
| 1002 |
return &v.unknownFields |
| 1003 |
default: |
| 1004 |
return nil |
| 1005 |
} |
| 1006 |
} |
| 1007 |
file_grafeas_v1_vex_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 1008 |
switch v := v.(*VulnerabilityAssessmentNote_Assessment); i { |
| 1009 |
case 0: |
| 1010 |
return &v.state |
| 1011 |
case 1: |
| 1012 |
return &v.sizeCache |
| 1013 |
case 2: |
| 1014 |
return &v.unknownFields |
| 1015 |
default: |
| 1016 |
return nil |
| 1017 |
} |
| 1018 |
} |
| 1019 |
file_grafeas_v1_vex_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 1020 |
switch v := v.(*VulnerabilityAssessmentNote_Assessment_Justification); i { |
| 1021 |
case 0: |
| 1022 |
return &v.state |
| 1023 |
case 1: |
| 1024 |
return &v.sizeCache |
| 1025 |
case 2: |
| 1026 |
return &v.unknownFields |
| 1027 |
default: |
| 1028 |
return nil |
| 1029 |
} |
| 1030 |
} |
| 1031 |
file_grafeas_v1_vex_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 1032 |
switch v := v.(*VulnerabilityAssessmentNote_Assessment_Remediation); i { |
| 1033 |
case 0: |
| 1034 |
return &v.state |
| 1035 |
case 1: |
| 1036 |
return &v.sizeCache |
| 1037 |
case 2: |
| 1038 |
return &v.unknownFields |
| 1039 |
default: |
| 1040 |
return nil |
| 1041 |
} |
| 1042 |
} |
| 1043 |
} |
| 1044 |
file_grafeas_v1_vex_proto_msgTypes[2].OneofWrappers = []interface{}{ |
| 1045 |
(*VulnerabilityAssessmentNote_Product_GenericUri)(nil), |
| 1046 |
} |
| 1047 |
type x struct{} |
| 1048 |
out := protoimpl.TypeBuilder{ |
| 1049 |
File: protoimpl.DescBuilder{ |
| 1050 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 1051 |
RawDescriptor: file_grafeas_v1_vex_proto_rawDesc, |
| 1052 |
NumEnums: 3, |
| 1053 |
NumMessages: 6, |
| 1054 |
NumExtensions: 0, |
| 1055 |
NumServices: 0, |
| 1056 |
}, |
| 1057 |
GoTypes: file_grafeas_v1_vex_proto_goTypes, |
| 1058 |
DependencyIndexes: file_grafeas_v1_vex_proto_depIdxs, |
| 1059 |
EnumInfos: file_grafeas_v1_vex_proto_enumTypes, |
| 1060 |
MessageInfos: file_grafeas_v1_vex_proto_msgTypes, |
| 1061 |
}.Build() |
| 1062 |
File_grafeas_v1_vex_proto = out.File |
| 1063 |
file_grafeas_v1_vex_proto_rawDesc = nil |
| 1064 |
file_grafeas_v1_vex_proto_goTypes = nil |
| 1065 |
file_grafeas_v1_vex_proto_depIdxs = nil |
| 1066 |
} |