1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
30 )
31
32 const (
33
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39
40
41
42
43 type UpgradeNote struct {
44 state protoimpl.MessageState
45 sizeCache protoimpl.SizeCache
46 unknownFields protoimpl.UnknownFields
47
48
49 Package string `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
50
51
52 Version *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
53
54 Distributions []*UpgradeDistribution `protobuf:"bytes,3,rep,name=distributions,proto3" json:"distributions,omitempty"`
55
56 WindowsUpdate *WindowsUpdate `protobuf:"bytes,4,opt,name=windows_update,json=windowsUpdate,proto3" json:"windows_update,omitempty"`
57 }
58
59 func (x *UpgradeNote) Reset() {
60 *x = UpgradeNote{}
61 if protoimpl.UnsafeEnabled {
62 mi := &file_grafeas_v1_upgrade_proto_msgTypes[0]
63 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
64 ms.StoreMessageInfo(mi)
65 }
66 }
67
68 func (x *UpgradeNote) String() string {
69 return protoimpl.X.MessageStringOf(x)
70 }
71
72 func (*UpgradeNote) ProtoMessage() {}
73
74 func (x *UpgradeNote) ProtoReflect() protoreflect.Message {
75 mi := &file_grafeas_v1_upgrade_proto_msgTypes[0]
76 if protoimpl.UnsafeEnabled && x != nil {
77 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
78 if ms.LoadMessageInfo() == nil {
79 ms.StoreMessageInfo(mi)
80 }
81 return ms
82 }
83 return mi.MessageOf(x)
84 }
85
86
87 func (*UpgradeNote) Descriptor() ([]byte, []int) {
88 return file_grafeas_v1_upgrade_proto_rawDescGZIP(), []int{0}
89 }
90
91 func (x *UpgradeNote) GetPackage() string {
92 if x != nil {
93 return x.Package
94 }
95 return ""
96 }
97
98 func (x *UpgradeNote) GetVersion() *Version {
99 if x != nil {
100 return x.Version
101 }
102 return nil
103 }
104
105 func (x *UpgradeNote) GetDistributions() []*UpgradeDistribution {
106 if x != nil {
107 return x.Distributions
108 }
109 return nil
110 }
111
112 func (x *UpgradeNote) GetWindowsUpdate() *WindowsUpdate {
113 if x != nil {
114 return x.WindowsUpdate
115 }
116 return nil
117 }
118
119
120
121
122 type UpgradeDistribution struct {
123 state protoimpl.MessageState
124 sizeCache protoimpl.SizeCache
125 unknownFields protoimpl.UnknownFields
126
127
128
129 CpeUri string `protobuf:"bytes,1,opt,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"`
130
131
132
133
134 Classification string `protobuf:"bytes,2,opt,name=classification,proto3" json:"classification,omitempty"`
135
136 Severity string `protobuf:"bytes,3,opt,name=severity,proto3" json:"severity,omitempty"`
137
138 Cve []string `protobuf:"bytes,4,rep,name=cve,proto3" json:"cve,omitempty"`
139 }
140
141 func (x *UpgradeDistribution) Reset() {
142 *x = UpgradeDistribution{}
143 if protoimpl.UnsafeEnabled {
144 mi := &file_grafeas_v1_upgrade_proto_msgTypes[1]
145 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
146 ms.StoreMessageInfo(mi)
147 }
148 }
149
150 func (x *UpgradeDistribution) String() string {
151 return protoimpl.X.MessageStringOf(x)
152 }
153
154 func (*UpgradeDistribution) ProtoMessage() {}
155
156 func (x *UpgradeDistribution) ProtoReflect() protoreflect.Message {
157 mi := &file_grafeas_v1_upgrade_proto_msgTypes[1]
158 if protoimpl.UnsafeEnabled && x != nil {
159 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
160 if ms.LoadMessageInfo() == nil {
161 ms.StoreMessageInfo(mi)
162 }
163 return ms
164 }
165 return mi.MessageOf(x)
166 }
167
168
169 func (*UpgradeDistribution) Descriptor() ([]byte, []int) {
170 return file_grafeas_v1_upgrade_proto_rawDescGZIP(), []int{1}
171 }
172
173 func (x *UpgradeDistribution) GetCpeUri() string {
174 if x != nil {
175 return x.CpeUri
176 }
177 return ""
178 }
179
180 func (x *UpgradeDistribution) GetClassification() string {
181 if x != nil {
182 return x.Classification
183 }
184 return ""
185 }
186
187 func (x *UpgradeDistribution) GetSeverity() string {
188 if x != nil {
189 return x.Severity
190 }
191 return ""
192 }
193
194 func (x *UpgradeDistribution) GetCve() []string {
195 if x != nil {
196 return x.Cve
197 }
198 return nil
199 }
200
201
202
203
204
205 type WindowsUpdate struct {
206 state protoimpl.MessageState
207 sizeCache protoimpl.SizeCache
208 unknownFields protoimpl.UnknownFields
209
210
211 Identity *WindowsUpdate_Identity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
212
213 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
214
215 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
216
217 Categories []*WindowsUpdate_Category `protobuf:"bytes,4,rep,name=categories,proto3" json:"categories,omitempty"`
218
219
220 KbArticleIds []string `protobuf:"bytes,5,rep,name=kb_article_ids,json=kbArticleIds,proto3" json:"kb_article_ids,omitempty"`
221
222 SupportUrl string `protobuf:"bytes,6,opt,name=support_url,json=supportUrl,proto3" json:"support_url,omitempty"`
223
224 LastPublishedTimestamp *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_published_timestamp,json=lastPublishedTimestamp,proto3" json:"last_published_timestamp,omitempty"`
225 }
226
227 func (x *WindowsUpdate) Reset() {
228 *x = WindowsUpdate{}
229 if protoimpl.UnsafeEnabled {
230 mi := &file_grafeas_v1_upgrade_proto_msgTypes[2]
231 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
232 ms.StoreMessageInfo(mi)
233 }
234 }
235
236 func (x *WindowsUpdate) String() string {
237 return protoimpl.X.MessageStringOf(x)
238 }
239
240 func (*WindowsUpdate) ProtoMessage() {}
241
242 func (x *WindowsUpdate) ProtoReflect() protoreflect.Message {
243 mi := &file_grafeas_v1_upgrade_proto_msgTypes[2]
244 if protoimpl.UnsafeEnabled && x != nil {
245 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
246 if ms.LoadMessageInfo() == nil {
247 ms.StoreMessageInfo(mi)
248 }
249 return ms
250 }
251 return mi.MessageOf(x)
252 }
253
254
255 func (*WindowsUpdate) Descriptor() ([]byte, []int) {
256 return file_grafeas_v1_upgrade_proto_rawDescGZIP(), []int{2}
257 }
258
259 func (x *WindowsUpdate) GetIdentity() *WindowsUpdate_Identity {
260 if x != nil {
261 return x.Identity
262 }
263 return nil
264 }
265
266 func (x *WindowsUpdate) GetTitle() string {
267 if x != nil {
268 return x.Title
269 }
270 return ""
271 }
272
273 func (x *WindowsUpdate) GetDescription() string {
274 if x != nil {
275 return x.Description
276 }
277 return ""
278 }
279
280 func (x *WindowsUpdate) GetCategories() []*WindowsUpdate_Category {
281 if x != nil {
282 return x.Categories
283 }
284 return nil
285 }
286
287 func (x *WindowsUpdate) GetKbArticleIds() []string {
288 if x != nil {
289 return x.KbArticleIds
290 }
291 return nil
292 }
293
294 func (x *WindowsUpdate) GetSupportUrl() string {
295 if x != nil {
296 return x.SupportUrl
297 }
298 return ""
299 }
300
301 func (x *WindowsUpdate) GetLastPublishedTimestamp() *timestamppb.Timestamp {
302 if x != nil {
303 return x.LastPublishedTimestamp
304 }
305 return nil
306 }
307
308
309
310
311
312
313 type UpgradeOccurrence struct {
314 state protoimpl.MessageState
315 sizeCache protoimpl.SizeCache
316 unknownFields protoimpl.UnknownFields
317
318
319 Package string `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
320
321
322 ParsedVersion *Version `protobuf:"bytes,3,opt,name=parsed_version,json=parsedVersion,proto3" json:"parsed_version,omitempty"`
323
324
325
326 Distribution *UpgradeDistribution `protobuf:"bytes,4,opt,name=distribution,proto3" json:"distribution,omitempty"`
327
328 WindowsUpdate *WindowsUpdate `protobuf:"bytes,5,opt,name=windows_update,json=windowsUpdate,proto3" json:"windows_update,omitempty"`
329 }
330
331 func (x *UpgradeOccurrence) Reset() {
332 *x = UpgradeOccurrence{}
333 if protoimpl.UnsafeEnabled {
334 mi := &file_grafeas_v1_upgrade_proto_msgTypes[3]
335 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
336 ms.StoreMessageInfo(mi)
337 }
338 }
339
340 func (x *UpgradeOccurrence) String() string {
341 return protoimpl.X.MessageStringOf(x)
342 }
343
344 func (*UpgradeOccurrence) ProtoMessage() {}
345
346 func (x *UpgradeOccurrence) ProtoReflect() protoreflect.Message {
347 mi := &file_grafeas_v1_upgrade_proto_msgTypes[3]
348 if protoimpl.UnsafeEnabled && x != nil {
349 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
350 if ms.LoadMessageInfo() == nil {
351 ms.StoreMessageInfo(mi)
352 }
353 return ms
354 }
355 return mi.MessageOf(x)
356 }
357
358
359 func (*UpgradeOccurrence) Descriptor() ([]byte, []int) {
360 return file_grafeas_v1_upgrade_proto_rawDescGZIP(), []int{3}
361 }
362
363 func (x *UpgradeOccurrence) GetPackage() string {
364 if x != nil {
365 return x.Package
366 }
367 return ""
368 }
369
370 func (x *UpgradeOccurrence) GetParsedVersion() *Version {
371 if x != nil {
372 return x.ParsedVersion
373 }
374 return nil
375 }
376
377 func (x *UpgradeOccurrence) GetDistribution() *UpgradeDistribution {
378 if x != nil {
379 return x.Distribution
380 }
381 return nil
382 }
383
384 func (x *UpgradeOccurrence) GetWindowsUpdate() *WindowsUpdate {
385 if x != nil {
386 return x.WindowsUpdate
387 }
388 return nil
389 }
390
391
392 type WindowsUpdate_Identity struct {
393 state protoimpl.MessageState
394 sizeCache protoimpl.SizeCache
395 unknownFields protoimpl.UnknownFields
396
397
398 UpdateId string `protobuf:"bytes,1,opt,name=update_id,json=updateId,proto3" json:"update_id,omitempty"`
399
400 Revision int32 `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty"`
401 }
402
403 func (x *WindowsUpdate_Identity) Reset() {
404 *x = WindowsUpdate_Identity{}
405 if protoimpl.UnsafeEnabled {
406 mi := &file_grafeas_v1_upgrade_proto_msgTypes[4]
407 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
408 ms.StoreMessageInfo(mi)
409 }
410 }
411
412 func (x *WindowsUpdate_Identity) String() string {
413 return protoimpl.X.MessageStringOf(x)
414 }
415
416 func (*WindowsUpdate_Identity) ProtoMessage() {}
417
418 func (x *WindowsUpdate_Identity) ProtoReflect() protoreflect.Message {
419 mi := &file_grafeas_v1_upgrade_proto_msgTypes[4]
420 if protoimpl.UnsafeEnabled && x != nil {
421 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
422 if ms.LoadMessageInfo() == nil {
423 ms.StoreMessageInfo(mi)
424 }
425 return ms
426 }
427 return mi.MessageOf(x)
428 }
429
430
431 func (*WindowsUpdate_Identity) Descriptor() ([]byte, []int) {
432 return file_grafeas_v1_upgrade_proto_rawDescGZIP(), []int{2, 0}
433 }
434
435 func (x *WindowsUpdate_Identity) GetUpdateId() string {
436 if x != nil {
437 return x.UpdateId
438 }
439 return ""
440 }
441
442 func (x *WindowsUpdate_Identity) GetRevision() int32 {
443 if x != nil {
444 return x.Revision
445 }
446 return 0
447 }
448
449
450 type WindowsUpdate_Category struct {
451 state protoimpl.MessageState
452 sizeCache protoimpl.SizeCache
453 unknownFields protoimpl.UnknownFields
454
455
456 CategoryId string `protobuf:"bytes,1,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
457
458 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
459 }
460
461 func (x *WindowsUpdate_Category) Reset() {
462 *x = WindowsUpdate_Category{}
463 if protoimpl.UnsafeEnabled {
464 mi := &file_grafeas_v1_upgrade_proto_msgTypes[5]
465 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
466 ms.StoreMessageInfo(mi)
467 }
468 }
469
470 func (x *WindowsUpdate_Category) String() string {
471 return protoimpl.X.MessageStringOf(x)
472 }
473
474 func (*WindowsUpdate_Category) ProtoMessage() {}
475
476 func (x *WindowsUpdate_Category) ProtoReflect() protoreflect.Message {
477 mi := &file_grafeas_v1_upgrade_proto_msgTypes[5]
478 if protoimpl.UnsafeEnabled && x != nil {
479 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
480 if ms.LoadMessageInfo() == nil {
481 ms.StoreMessageInfo(mi)
482 }
483 return ms
484 }
485 return mi.MessageOf(x)
486 }
487
488
489 func (*WindowsUpdate_Category) Descriptor() ([]byte, []int) {
490 return file_grafeas_v1_upgrade_proto_rawDescGZIP(), []int{2, 1}
491 }
492
493 func (x *WindowsUpdate_Category) GetCategoryId() string {
494 if x != nil {
495 return x.CategoryId
496 }
497 return ""
498 }
499
500 func (x *WindowsUpdate_Category) GetName() string {
501 if x != nil {
502 return x.Name
503 }
504 return ""
505 }
506
507 var File_grafeas_v1_upgrade_proto protoreflect.FileDescriptor
508
509 var file_grafeas_v1_upgrade_proto_rawDesc = []byte{
510 0x0a, 0x18, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x70, 0x67,
511 0x72, 0x61, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x72, 0x61, 0x66,
512 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
513 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
514 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73,
515 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
516 0x6f, 0x22, 0xdf, 0x01, 0x0a, 0x0b, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4e, 0x6f, 0x74,
517 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01,
518 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x76,
519 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67,
520 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
521 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x0d, 0x64, 0x69,
522 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
523 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55,
524 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69,
525 0x6f, 0x6e, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e,
526 0x73, 0x12, 0x40, 0x0a, 0x0e, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x73, 0x5f, 0x75, 0x70, 0x64,
527 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x61, 0x66,
528 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x73, 0x55, 0x70,
529 0x64, 0x61, 0x74, 0x65, 0x52, 0x0d, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x73, 0x55, 0x70, 0x64,
530 0x61, 0x74, 0x65, 0x22, 0x84, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x44,
531 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x63,
532 0x70, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x70,
533 0x65, 0x55, 0x72, 0x69, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69,
534 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6c,
535 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08,
536 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
537 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x76, 0x65, 0x18,
538 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x63, 0x76, 0x65, 0x22, 0xee, 0x03, 0x0a, 0x0d, 0x57,
539 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x3e, 0x0a, 0x08,
540 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22,
541 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, 0x6e, 0x64,
542 0x6f, 0x77, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69,
543 0x74, 0x79, 0x52, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05,
544 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74,
545 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
546 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
547 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x42, 0x0a, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69,
548 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65,
549 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x73, 0x55, 0x70, 0x64,
550 0x61, 0x74, 0x65, 0x2e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x0a, 0x63, 0x61,
551 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x6b, 0x62, 0x5f, 0x61,
552 0x72, 0x74, 0x69, 0x63, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09,
553 0x52, 0x0c, 0x6b, 0x62, 0x41, 0x72, 0x74, 0x69, 0x63, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x12, 0x1f,
554 0x0a, 0x0b, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x06, 0x20,
555 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x55, 0x72, 0x6c, 0x12,
556 0x54, 0x0a, 0x18, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65,
557 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28,
558 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
559 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x16, 0x6c,
560 0x61, 0x73, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65,
561 0x73, 0x74, 0x61, 0x6d, 0x70, 0x1a, 0x43, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
562 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01,
563 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, 0x1a,
564 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
565 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x3f, 0x0a, 0x08, 0x43, 0x61,
566 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f,
567 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x61, 0x74,
568 0x65, 0x67, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
569 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xf0, 0x01, 0x0a, 0x11,
570 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63,
571 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01,
572 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x3a, 0x0a, 0x0e, 0x70,
573 0x61, 0x72, 0x73, 0x65, 0x64, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20,
574 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31,
575 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x73, 0x65, 0x64,
576 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x74, 0x72,
577 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
578 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x67, 0x72, 0x61,
579 0x64, 0x65, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c,
580 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x0e,
581 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x73, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x05,
582 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76,
583 0x31, 0x2e, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52,
584 0x0d, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x51,
585 0x0a, 0x0d, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x50,
586 0x01, 0x5a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
587 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f,
588 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73,
589 0x2f, 0x76, 0x31, 0x3b, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0xa2, 0x02, 0x03, 0x47, 0x52,
590 0x41, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
591 }
592
593 var (
594 file_grafeas_v1_upgrade_proto_rawDescOnce sync.Once
595 file_grafeas_v1_upgrade_proto_rawDescData = file_grafeas_v1_upgrade_proto_rawDesc
596 )
597
598 func file_grafeas_v1_upgrade_proto_rawDescGZIP() []byte {
599 file_grafeas_v1_upgrade_proto_rawDescOnce.Do(func() {
600 file_grafeas_v1_upgrade_proto_rawDescData = protoimpl.X.CompressGZIP(file_grafeas_v1_upgrade_proto_rawDescData)
601 })
602 return file_grafeas_v1_upgrade_proto_rawDescData
603 }
604
605 var file_grafeas_v1_upgrade_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
606 var file_grafeas_v1_upgrade_proto_goTypes = []interface{}{
607 (*UpgradeNote)(nil),
608 (*UpgradeDistribution)(nil),
609 (*WindowsUpdate)(nil),
610 (*UpgradeOccurrence)(nil),
611 (*WindowsUpdate_Identity)(nil),
612 (*WindowsUpdate_Category)(nil),
613 (*Version)(nil),
614 (*timestamppb.Timestamp)(nil),
615 }
616 var file_grafeas_v1_upgrade_proto_depIdxs = []int32{
617 6,
618 1,
619 2,
620 4,
621 5,
622 7,
623 6,
624 1,
625 2,
626 9,
627 9,
628 9,
629 9,
630 0,
631 }
632
633 func init() { file_grafeas_v1_upgrade_proto_init() }
634 func file_grafeas_v1_upgrade_proto_init() {
635 if File_grafeas_v1_upgrade_proto != nil {
636 return
637 }
638 file_grafeas_v1_package_proto_init()
639 if !protoimpl.UnsafeEnabled {
640 file_grafeas_v1_upgrade_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
641 switch v := v.(*UpgradeNote); i {
642 case 0:
643 return &v.state
644 case 1:
645 return &v.sizeCache
646 case 2:
647 return &v.unknownFields
648 default:
649 return nil
650 }
651 }
652 file_grafeas_v1_upgrade_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
653 switch v := v.(*UpgradeDistribution); i {
654 case 0:
655 return &v.state
656 case 1:
657 return &v.sizeCache
658 case 2:
659 return &v.unknownFields
660 default:
661 return nil
662 }
663 }
664 file_grafeas_v1_upgrade_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
665 switch v := v.(*WindowsUpdate); i {
666 case 0:
667 return &v.state
668 case 1:
669 return &v.sizeCache
670 case 2:
671 return &v.unknownFields
672 default:
673 return nil
674 }
675 }
676 file_grafeas_v1_upgrade_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
677 switch v := v.(*UpgradeOccurrence); i {
678 case 0:
679 return &v.state
680 case 1:
681 return &v.sizeCache
682 case 2:
683 return &v.unknownFields
684 default:
685 return nil
686 }
687 }
688 file_grafeas_v1_upgrade_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
689 switch v := v.(*WindowsUpdate_Identity); i {
690 case 0:
691 return &v.state
692 case 1:
693 return &v.sizeCache
694 case 2:
695 return &v.unknownFields
696 default:
697 return nil
698 }
699 }
700 file_grafeas_v1_upgrade_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
701 switch v := v.(*WindowsUpdate_Category); i {
702 case 0:
703 return &v.state
704 case 1:
705 return &v.sizeCache
706 case 2:
707 return &v.unknownFields
708 default:
709 return nil
710 }
711 }
712 }
713 type x struct{}
714 out := protoimpl.TypeBuilder{
715 File: protoimpl.DescBuilder{
716 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
717 RawDescriptor: file_grafeas_v1_upgrade_proto_rawDesc,
718 NumEnums: 0,
719 NumMessages: 6,
720 NumExtensions: 0,
721 NumServices: 0,
722 },
723 GoTypes: file_grafeas_v1_upgrade_proto_goTypes,
724 DependencyIndexes: file_grafeas_v1_upgrade_proto_depIdxs,
725 MessageInfos: file_grafeas_v1_upgrade_proto_msgTypes,
726 }.Build()
727 File_grafeas_v1_upgrade_proto = out.File
728 file_grafeas_v1_upgrade_proto_rawDesc = nil
729 file_grafeas_v1_upgrade_proto_goTypes = nil
730 file_grafeas_v1_upgrade_proto_depIdxs = nil
731 }
732
View as plain text