1// Copyright 2018 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.25.0 18// protoc v3.13.0 19// source: google/devtools/containeranalysis/v1beta1/grafeas/grafeas.proto 20 21package grafeas 22 23import ( 24 context "context" 25 reflect "reflect" 26 sync "sync" 27 28 proto "github.com/golang/protobuf/proto" 29 _ "google.golang.org/genproto/googleapis/api/annotations" 30 attestation "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/attestation" 31 build "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/build" 32 common "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/common" 33 deployment "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment" 34 discovery "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/discovery" 35 image "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/image" 36 _package "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/package" 37 provenance "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/provenance" 38 vulnerability "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/vulnerability" 39 grpc "google.golang.org/grpc" 40 codes "google.golang.org/grpc/codes" 41 status "google.golang.org/grpc/status" 42 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 43 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 44 emptypb "google.golang.org/protobuf/types/known/emptypb" 45 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 46 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 47) 48 49const ( 50 // Verify that this generated code is sufficiently up-to-date. 51 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 52 // Verify that runtime/protoimpl is sufficiently up-to-date. 53 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 54) 55 56// This is a compile-time assertion that a sufficiently up-to-date version 57// of the legacy proto package is being used. 58const _ = proto.ProtoPackageIsVersion4 59 60// An instance of an analysis type that has been found on a resource. 61type Occurrence struct { 62 state protoimpl.MessageState 63 sizeCache protoimpl.SizeCache 64 unknownFields protoimpl.UnknownFields 65 66 // Output only. The name of the occurrence in the form of 67 // `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. 68 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 69 // Required. Immutable. The resource for which the occurrence applies. 70 Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` 71 // Required. Immutable. The analysis note associated with this occurrence, in 72 // the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be 73 // used as a filter in list requests. 74 NoteName string `protobuf:"bytes,3,opt,name=note_name,json=noteName,proto3" json:"note_name,omitempty"` 75 // Output only. This explicitly denotes which of the occurrence details are 76 // specified. This field can be used as a filter in list requests. 77 Kind common.NoteKind `protobuf:"varint,4,opt,name=kind,proto3,enum=grafeas.v1beta1.NoteKind" json:"kind,omitempty"` 78 // A description of actions that can be taken to remedy the note. 79 Remediation string `protobuf:"bytes,5,opt,name=remediation,proto3" json:"remediation,omitempty"` 80 // Output only. The time this occurrence was created. 81 CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 82 // Output only. The time this occurrence was last updated. 83 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 84 // Required. Immutable. Describes the details of the note kind found on this 85 // resource. 86 // 87 // Types that are assignable to Details: 88 // *Occurrence_Vulnerability 89 // *Occurrence_Build 90 // *Occurrence_DerivedImage 91 // *Occurrence_Installation 92 // *Occurrence_Deployment 93 // *Occurrence_Discovered 94 // *Occurrence_Attestation 95 Details isOccurrence_Details `protobuf_oneof:"details"` 96} 97 98func (x *Occurrence) Reset() { 99 *x = Occurrence{} 100 if protoimpl.UnsafeEnabled { 101 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[0] 102 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 103 ms.StoreMessageInfo(mi) 104 } 105} 106 107func (x *Occurrence) String() string { 108 return protoimpl.X.MessageStringOf(x) 109} 110 111func (*Occurrence) ProtoMessage() {} 112 113func (x *Occurrence) ProtoReflect() protoreflect.Message { 114 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[0] 115 if protoimpl.UnsafeEnabled && x != nil { 116 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 117 if ms.LoadMessageInfo() == nil { 118 ms.StoreMessageInfo(mi) 119 } 120 return ms 121 } 122 return mi.MessageOf(x) 123} 124 125// Deprecated: Use Occurrence.ProtoReflect.Descriptor instead. 126func (*Occurrence) Descriptor() ([]byte, []int) { 127 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{0} 128} 129 130func (x *Occurrence) GetName() string { 131 if x != nil { 132 return x.Name 133 } 134 return "" 135} 136 137func (x *Occurrence) GetResource() *Resource { 138 if x != nil { 139 return x.Resource 140 } 141 return nil 142} 143 144func (x *Occurrence) GetNoteName() string { 145 if x != nil { 146 return x.NoteName 147 } 148 return "" 149} 150 151func (x *Occurrence) GetKind() common.NoteKind { 152 if x != nil { 153 return x.Kind 154 } 155 return common.NoteKind_NOTE_KIND_UNSPECIFIED 156} 157 158func (x *Occurrence) GetRemediation() string { 159 if x != nil { 160 return x.Remediation 161 } 162 return "" 163} 164 165func (x *Occurrence) GetCreateTime() *timestamppb.Timestamp { 166 if x != nil { 167 return x.CreateTime 168 } 169 return nil 170} 171 172func (x *Occurrence) GetUpdateTime() *timestamppb.Timestamp { 173 if x != nil { 174 return x.UpdateTime 175 } 176 return nil 177} 178 179func (m *Occurrence) GetDetails() isOccurrence_Details { 180 if m != nil { 181 return m.Details 182 } 183 return nil 184} 185 186func (x *Occurrence) GetVulnerability() *vulnerability.Details { 187 if x, ok := x.GetDetails().(*Occurrence_Vulnerability); ok { 188 return x.Vulnerability 189 } 190 return nil 191} 192 193func (x *Occurrence) GetBuild() *build.Details { 194 if x, ok := x.GetDetails().(*Occurrence_Build); ok { 195 return x.Build 196 } 197 return nil 198} 199 200func (x *Occurrence) GetDerivedImage() *image.Details { 201 if x, ok := x.GetDetails().(*Occurrence_DerivedImage); ok { 202 return x.DerivedImage 203 } 204 return nil 205} 206 207func (x *Occurrence) GetInstallation() *_package.Details { 208 if x, ok := x.GetDetails().(*Occurrence_Installation); ok { 209 return x.Installation 210 } 211 return nil 212} 213 214func (x *Occurrence) GetDeployment() *deployment.Details { 215 if x, ok := x.GetDetails().(*Occurrence_Deployment); ok { 216 return x.Deployment 217 } 218 return nil 219} 220 221func (x *Occurrence) GetDiscovered() *discovery.Details { 222 if x, ok := x.GetDetails().(*Occurrence_Discovered); ok { 223 return x.Discovered 224 } 225 return nil 226} 227 228func (x *Occurrence) GetAttestation() *attestation.Details { 229 if x, ok := x.GetDetails().(*Occurrence_Attestation); ok { 230 return x.Attestation 231 } 232 return nil 233} 234 235type isOccurrence_Details interface { 236 isOccurrence_Details() 237} 238 239type Occurrence_Vulnerability struct { 240 // Describes a security vulnerability. 241 Vulnerability *vulnerability.Details `protobuf:"bytes,8,opt,name=vulnerability,proto3,oneof"` 242} 243 244type Occurrence_Build struct { 245 // Describes a verifiable build. 246 Build *build.Details `protobuf:"bytes,9,opt,name=build,proto3,oneof"` 247} 248 249type Occurrence_DerivedImage struct { 250 // Describes how this resource derives from the basis in the associated 251 // note. 252 DerivedImage *image.Details `protobuf:"bytes,10,opt,name=derived_image,json=derivedImage,proto3,oneof"` 253} 254 255type Occurrence_Installation struct { 256 // Describes the installation of a package on the linked resource. 257 Installation *_package.Details `protobuf:"bytes,11,opt,name=installation,proto3,oneof"` 258} 259 260type Occurrence_Deployment struct { 261 // Describes the deployment of an artifact on a runtime. 262 Deployment *deployment.Details `protobuf:"bytes,12,opt,name=deployment,proto3,oneof"` 263} 264 265type Occurrence_Discovered struct { 266 // Describes when a resource was discovered. 267 Discovered *discovery.Details `protobuf:"bytes,13,opt,name=discovered,proto3,oneof"` 268} 269 270type Occurrence_Attestation struct { 271 // Describes an attestation of an artifact. 272 Attestation *attestation.Details `protobuf:"bytes,14,opt,name=attestation,proto3,oneof"` 273} 274 275func (*Occurrence_Vulnerability) isOccurrence_Details() {} 276 277func (*Occurrence_Build) isOccurrence_Details() {} 278 279func (*Occurrence_DerivedImage) isOccurrence_Details() {} 280 281func (*Occurrence_Installation) isOccurrence_Details() {} 282 283func (*Occurrence_Deployment) isOccurrence_Details() {} 284 285func (*Occurrence_Discovered) isOccurrence_Details() {} 286 287func (*Occurrence_Attestation) isOccurrence_Details() {} 288 289// An entity that can have metadata. For example, a Docker image. 290type Resource struct { 291 state protoimpl.MessageState 292 sizeCache protoimpl.SizeCache 293 unknownFields protoimpl.UnknownFields 294 295 // The name of the resource. For example, the name of a Docker image - 296 // "Debian". 297 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 298 // Required. The unique URI of the resource. For example, 299 // `https://gcr.io/project/image@sha256:foo` for a Docker image. 300 Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` 301 // The hash of the resource content. For example, the Docker digest. 302 ContentHash *provenance.Hash `protobuf:"bytes,3,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"` 303} 304 305func (x *Resource) Reset() { 306 *x = Resource{} 307 if protoimpl.UnsafeEnabled { 308 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[1] 309 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 310 ms.StoreMessageInfo(mi) 311 } 312} 313 314func (x *Resource) String() string { 315 return protoimpl.X.MessageStringOf(x) 316} 317 318func (*Resource) ProtoMessage() {} 319 320func (x *Resource) ProtoReflect() protoreflect.Message { 321 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[1] 322 if protoimpl.UnsafeEnabled && x != nil { 323 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 324 if ms.LoadMessageInfo() == nil { 325 ms.StoreMessageInfo(mi) 326 } 327 return ms 328 } 329 return mi.MessageOf(x) 330} 331 332// Deprecated: Use Resource.ProtoReflect.Descriptor instead. 333func (*Resource) Descriptor() ([]byte, []int) { 334 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{1} 335} 336 337func (x *Resource) GetName() string { 338 if x != nil { 339 return x.Name 340 } 341 return "" 342} 343 344func (x *Resource) GetUri() string { 345 if x != nil { 346 return x.Uri 347 } 348 return "" 349} 350 351func (x *Resource) GetContentHash() *provenance.Hash { 352 if x != nil { 353 return x.ContentHash 354 } 355 return nil 356} 357 358// A type of analysis that can be done for a resource. 359type Note struct { 360 state protoimpl.MessageState 361 sizeCache protoimpl.SizeCache 362 unknownFields protoimpl.UnknownFields 363 364 // Output only. The name of the note in the form of 365 // `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. 366 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 367 // A one sentence description of this note. 368 ShortDescription string `protobuf:"bytes,2,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"` 369 // A detailed description of this note. 370 LongDescription string `protobuf:"bytes,3,opt,name=long_description,json=longDescription,proto3" json:"long_description,omitempty"` 371 // Output only. The type of analysis. This field can be used as a filter in 372 // list requests. 373 Kind common.NoteKind `protobuf:"varint,4,opt,name=kind,proto3,enum=grafeas.v1beta1.NoteKind" json:"kind,omitempty"` 374 // URLs associated with this note. 375 RelatedUrl []*common.RelatedUrl `protobuf:"bytes,5,rep,name=related_url,json=relatedUrl,proto3" json:"related_url,omitempty"` 376 // Time of expiration for this note. Empty if note does not expire. 377 ExpirationTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expiration_time,json=expirationTime,proto3" json:"expiration_time,omitempty"` 378 // Output only. The time this note was created. This field can be used as a 379 // filter in list requests. 380 CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 381 // Output only. The time this note was last updated. This field can be used as 382 // a filter in list requests. 383 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 384 // Other notes related to this note. 385 RelatedNoteNames []string `protobuf:"bytes,9,rep,name=related_note_names,json=relatedNoteNames,proto3" json:"related_note_names,omitempty"` 386 // Required. Immutable. The type of analysis this note represents. 387 // 388 // Types that are assignable to Type: 389 // *Note_Vulnerability 390 // *Note_Build 391 // *Note_BaseImage 392 // *Note_Package 393 // *Note_Deployable 394 // *Note_Discovery 395 // *Note_AttestationAuthority 396 Type isNote_Type `protobuf_oneof:"type"` 397} 398 399func (x *Note) Reset() { 400 *x = Note{} 401 if protoimpl.UnsafeEnabled { 402 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[2] 403 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 404 ms.StoreMessageInfo(mi) 405 } 406} 407 408func (x *Note) String() string { 409 return protoimpl.X.MessageStringOf(x) 410} 411 412func (*Note) ProtoMessage() {} 413 414func (x *Note) ProtoReflect() protoreflect.Message { 415 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[2] 416 if protoimpl.UnsafeEnabled && x != nil { 417 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 418 if ms.LoadMessageInfo() == nil { 419 ms.StoreMessageInfo(mi) 420 } 421 return ms 422 } 423 return mi.MessageOf(x) 424} 425 426// Deprecated: Use Note.ProtoReflect.Descriptor instead. 427func (*Note) Descriptor() ([]byte, []int) { 428 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{2} 429} 430 431func (x *Note) GetName() string { 432 if x != nil { 433 return x.Name 434 } 435 return "" 436} 437 438func (x *Note) GetShortDescription() string { 439 if x != nil { 440 return x.ShortDescription 441 } 442 return "" 443} 444 445func (x *Note) GetLongDescription() string { 446 if x != nil { 447 return x.LongDescription 448 } 449 return "" 450} 451 452func (x *Note) GetKind() common.NoteKind { 453 if x != nil { 454 return x.Kind 455 } 456 return common.NoteKind_NOTE_KIND_UNSPECIFIED 457} 458 459func (x *Note) GetRelatedUrl() []*common.RelatedUrl { 460 if x != nil { 461 return x.RelatedUrl 462 } 463 return nil 464} 465 466func (x *Note) GetExpirationTime() *timestamppb.Timestamp { 467 if x != nil { 468 return x.ExpirationTime 469 } 470 return nil 471} 472 473func (x *Note) GetCreateTime() *timestamppb.Timestamp { 474 if x != nil { 475 return x.CreateTime 476 } 477 return nil 478} 479 480func (x *Note) GetUpdateTime() *timestamppb.Timestamp { 481 if x != nil { 482 return x.UpdateTime 483 } 484 return nil 485} 486 487func (x *Note) GetRelatedNoteNames() []string { 488 if x != nil { 489 return x.RelatedNoteNames 490 } 491 return nil 492} 493 494func (m *Note) GetType() isNote_Type { 495 if m != nil { 496 return m.Type 497 } 498 return nil 499} 500 501func (x *Note) GetVulnerability() *vulnerability.Vulnerability { 502 if x, ok := x.GetType().(*Note_Vulnerability); ok { 503 return x.Vulnerability 504 } 505 return nil 506} 507 508func (x *Note) GetBuild() *build.Build { 509 if x, ok := x.GetType().(*Note_Build); ok { 510 return x.Build 511 } 512 return nil 513} 514 515func (x *Note) GetBaseImage() *image.Basis { 516 if x, ok := x.GetType().(*Note_BaseImage); ok { 517 return x.BaseImage 518 } 519 return nil 520} 521 522func (x *Note) GetPackage() *_package.Package { 523 if x, ok := x.GetType().(*Note_Package); ok { 524 return x.Package 525 } 526 return nil 527} 528 529func (x *Note) GetDeployable() *deployment.Deployable { 530 if x, ok := x.GetType().(*Note_Deployable); ok { 531 return x.Deployable 532 } 533 return nil 534} 535 536func (x *Note) GetDiscovery() *discovery.Discovery { 537 if x, ok := x.GetType().(*Note_Discovery); ok { 538 return x.Discovery 539 } 540 return nil 541} 542 543func (x *Note) GetAttestationAuthority() *attestation.Authority { 544 if x, ok := x.GetType().(*Note_AttestationAuthority); ok { 545 return x.AttestationAuthority 546 } 547 return nil 548} 549 550type isNote_Type interface { 551 isNote_Type() 552} 553 554type Note_Vulnerability struct { 555 // A note describing a package vulnerability. 556 Vulnerability *vulnerability.Vulnerability `protobuf:"bytes,10,opt,name=vulnerability,proto3,oneof"` 557} 558 559type Note_Build struct { 560 // A note describing build provenance for a verifiable build. 561 Build *build.Build `protobuf:"bytes,11,opt,name=build,proto3,oneof"` 562} 563 564type Note_BaseImage struct { 565 // A note describing a base image. 566 BaseImage *image.Basis `protobuf:"bytes,12,opt,name=base_image,json=baseImage,proto3,oneof"` 567} 568 569type Note_Package struct { 570 // A note describing a package hosted by various package managers. 571 Package *_package.Package `protobuf:"bytes,13,opt,name=package,proto3,oneof"` 572} 573 574type Note_Deployable struct { 575 // A note describing something that can be deployed. 576 Deployable *deployment.Deployable `protobuf:"bytes,14,opt,name=deployable,proto3,oneof"` 577} 578 579type Note_Discovery struct { 580 // A note describing the initial analysis of a resource. 581 Discovery *discovery.Discovery `protobuf:"bytes,15,opt,name=discovery,proto3,oneof"` 582} 583 584type Note_AttestationAuthority struct { 585 // A note describing an attestation role. 586 AttestationAuthority *attestation.Authority `protobuf:"bytes,16,opt,name=attestation_authority,json=attestationAuthority,proto3,oneof"` 587} 588 589func (*Note_Vulnerability) isNote_Type() {} 590 591func (*Note_Build) isNote_Type() {} 592 593func (*Note_BaseImage) isNote_Type() {} 594 595func (*Note_Package) isNote_Type() {} 596 597func (*Note_Deployable) isNote_Type() {} 598 599func (*Note_Discovery) isNote_Type() {} 600 601func (*Note_AttestationAuthority) isNote_Type() {} 602 603// Request to get an occurrence. 604type GetOccurrenceRequest struct { 605 state protoimpl.MessageState 606 sizeCache protoimpl.SizeCache 607 unknownFields protoimpl.UnknownFields 608 609 // The name of the occurrence in the form of 610 // `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. 611 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 612} 613 614func (x *GetOccurrenceRequest) Reset() { 615 *x = GetOccurrenceRequest{} 616 if protoimpl.UnsafeEnabled { 617 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[3] 618 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 619 ms.StoreMessageInfo(mi) 620 } 621} 622 623func (x *GetOccurrenceRequest) String() string { 624 return protoimpl.X.MessageStringOf(x) 625} 626 627func (*GetOccurrenceRequest) ProtoMessage() {} 628 629func (x *GetOccurrenceRequest) ProtoReflect() protoreflect.Message { 630 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[3] 631 if protoimpl.UnsafeEnabled && x != nil { 632 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 633 if ms.LoadMessageInfo() == nil { 634 ms.StoreMessageInfo(mi) 635 } 636 return ms 637 } 638 return mi.MessageOf(x) 639} 640 641// Deprecated: Use GetOccurrenceRequest.ProtoReflect.Descriptor instead. 642func (*GetOccurrenceRequest) Descriptor() ([]byte, []int) { 643 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{3} 644} 645 646func (x *GetOccurrenceRequest) GetName() string { 647 if x != nil { 648 return x.Name 649 } 650 return "" 651} 652 653// Request to list occurrences. 654type ListOccurrencesRequest struct { 655 state protoimpl.MessageState 656 sizeCache protoimpl.SizeCache 657 unknownFields protoimpl.UnknownFields 658 659 // The name of the project to list occurrences for in the form of 660 // `projects/[PROJECT_ID]`. 661 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 662 // The filter expression. 663 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` 664 // Number of occurrences to return in the list. 665 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 666 // Token to provide to skip to a particular spot in the list. 667 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 668} 669 670func (x *ListOccurrencesRequest) Reset() { 671 *x = ListOccurrencesRequest{} 672 if protoimpl.UnsafeEnabled { 673 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[4] 674 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 675 ms.StoreMessageInfo(mi) 676 } 677} 678 679func (x *ListOccurrencesRequest) String() string { 680 return protoimpl.X.MessageStringOf(x) 681} 682 683func (*ListOccurrencesRequest) ProtoMessage() {} 684 685func (x *ListOccurrencesRequest) ProtoReflect() protoreflect.Message { 686 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[4] 687 if protoimpl.UnsafeEnabled && x != nil { 688 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 689 if ms.LoadMessageInfo() == nil { 690 ms.StoreMessageInfo(mi) 691 } 692 return ms 693 } 694 return mi.MessageOf(x) 695} 696 697// Deprecated: Use ListOccurrencesRequest.ProtoReflect.Descriptor instead. 698func (*ListOccurrencesRequest) Descriptor() ([]byte, []int) { 699 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{4} 700} 701 702func (x *ListOccurrencesRequest) GetParent() string { 703 if x != nil { 704 return x.Parent 705 } 706 return "" 707} 708 709func (x *ListOccurrencesRequest) GetFilter() string { 710 if x != nil { 711 return x.Filter 712 } 713 return "" 714} 715 716func (x *ListOccurrencesRequest) GetPageSize() int32 { 717 if x != nil { 718 return x.PageSize 719 } 720 return 0 721} 722 723func (x *ListOccurrencesRequest) GetPageToken() string { 724 if x != nil { 725 return x.PageToken 726 } 727 return "" 728} 729 730// Response for listing occurrences. 731type ListOccurrencesResponse struct { 732 state protoimpl.MessageState 733 sizeCache protoimpl.SizeCache 734 unknownFields protoimpl.UnknownFields 735 736 // The occurrences requested. 737 Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"` 738 // The next pagination token in the list response. It should be used as 739 // `page_token` for the following request. An empty value means no more 740 // results. 741 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 742} 743 744func (x *ListOccurrencesResponse) Reset() { 745 *x = ListOccurrencesResponse{} 746 if protoimpl.UnsafeEnabled { 747 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[5] 748 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 749 ms.StoreMessageInfo(mi) 750 } 751} 752 753func (x *ListOccurrencesResponse) String() string { 754 return protoimpl.X.MessageStringOf(x) 755} 756 757func (*ListOccurrencesResponse) ProtoMessage() {} 758 759func (x *ListOccurrencesResponse) ProtoReflect() protoreflect.Message { 760 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[5] 761 if protoimpl.UnsafeEnabled && x != nil { 762 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 763 if ms.LoadMessageInfo() == nil { 764 ms.StoreMessageInfo(mi) 765 } 766 return ms 767 } 768 return mi.MessageOf(x) 769} 770 771// Deprecated: Use ListOccurrencesResponse.ProtoReflect.Descriptor instead. 772func (*ListOccurrencesResponse) Descriptor() ([]byte, []int) { 773 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{5} 774} 775 776func (x *ListOccurrencesResponse) GetOccurrences() []*Occurrence { 777 if x != nil { 778 return x.Occurrences 779 } 780 return nil 781} 782 783func (x *ListOccurrencesResponse) GetNextPageToken() string { 784 if x != nil { 785 return x.NextPageToken 786 } 787 return "" 788} 789 790// Request to delete a occurrence. 791type DeleteOccurrenceRequest struct { 792 state protoimpl.MessageState 793 sizeCache protoimpl.SizeCache 794 unknownFields protoimpl.UnknownFields 795 796 // The name of the occurrence in the form of 797 // `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. 798 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 799} 800 801func (x *DeleteOccurrenceRequest) Reset() { 802 *x = DeleteOccurrenceRequest{} 803 if protoimpl.UnsafeEnabled { 804 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[6] 805 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 806 ms.StoreMessageInfo(mi) 807 } 808} 809 810func (x *DeleteOccurrenceRequest) String() string { 811 return protoimpl.X.MessageStringOf(x) 812} 813 814func (*DeleteOccurrenceRequest) ProtoMessage() {} 815 816func (x *DeleteOccurrenceRequest) ProtoReflect() protoreflect.Message { 817 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[6] 818 if protoimpl.UnsafeEnabled && x != nil { 819 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 820 if ms.LoadMessageInfo() == nil { 821 ms.StoreMessageInfo(mi) 822 } 823 return ms 824 } 825 return mi.MessageOf(x) 826} 827 828// Deprecated: Use DeleteOccurrenceRequest.ProtoReflect.Descriptor instead. 829func (*DeleteOccurrenceRequest) Descriptor() ([]byte, []int) { 830 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{6} 831} 832 833func (x *DeleteOccurrenceRequest) GetName() string { 834 if x != nil { 835 return x.Name 836 } 837 return "" 838} 839 840// Request to create a new occurrence. 841type CreateOccurrenceRequest struct { 842 state protoimpl.MessageState 843 sizeCache protoimpl.SizeCache 844 unknownFields protoimpl.UnknownFields 845 846 // The name of the project in the form of `projects/[PROJECT_ID]`, under which 847 // the occurrence is to be created. 848 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 849 // The occurrence to create. 850 Occurrence *Occurrence `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"` 851} 852 853func (x *CreateOccurrenceRequest) Reset() { 854 *x = CreateOccurrenceRequest{} 855 if protoimpl.UnsafeEnabled { 856 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[7] 857 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 858 ms.StoreMessageInfo(mi) 859 } 860} 861 862func (x *CreateOccurrenceRequest) String() string { 863 return protoimpl.X.MessageStringOf(x) 864} 865 866func (*CreateOccurrenceRequest) ProtoMessage() {} 867 868func (x *CreateOccurrenceRequest) ProtoReflect() protoreflect.Message { 869 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[7] 870 if protoimpl.UnsafeEnabled && x != nil { 871 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 872 if ms.LoadMessageInfo() == nil { 873 ms.StoreMessageInfo(mi) 874 } 875 return ms 876 } 877 return mi.MessageOf(x) 878} 879 880// Deprecated: Use CreateOccurrenceRequest.ProtoReflect.Descriptor instead. 881func (*CreateOccurrenceRequest) Descriptor() ([]byte, []int) { 882 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{7} 883} 884 885func (x *CreateOccurrenceRequest) GetParent() string { 886 if x != nil { 887 return x.Parent 888 } 889 return "" 890} 891 892func (x *CreateOccurrenceRequest) GetOccurrence() *Occurrence { 893 if x != nil { 894 return x.Occurrence 895 } 896 return nil 897} 898 899// Request to update an occurrence. 900type UpdateOccurrenceRequest struct { 901 state protoimpl.MessageState 902 sizeCache protoimpl.SizeCache 903 unknownFields protoimpl.UnknownFields 904 905 // The name of the occurrence in the form of 906 // `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. 907 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 908 // The updated occurrence. 909 Occurrence *Occurrence `protobuf:"bytes,2,opt,name=occurrence,proto3" json:"occurrence,omitempty"` 910 // The fields to update. 911 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 912} 913 914func (x *UpdateOccurrenceRequest) Reset() { 915 *x = UpdateOccurrenceRequest{} 916 if protoimpl.UnsafeEnabled { 917 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[8] 918 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 919 ms.StoreMessageInfo(mi) 920 } 921} 922 923func (x *UpdateOccurrenceRequest) String() string { 924 return protoimpl.X.MessageStringOf(x) 925} 926 927func (*UpdateOccurrenceRequest) ProtoMessage() {} 928 929func (x *UpdateOccurrenceRequest) ProtoReflect() protoreflect.Message { 930 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[8] 931 if protoimpl.UnsafeEnabled && x != nil { 932 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 933 if ms.LoadMessageInfo() == nil { 934 ms.StoreMessageInfo(mi) 935 } 936 return ms 937 } 938 return mi.MessageOf(x) 939} 940 941// Deprecated: Use UpdateOccurrenceRequest.ProtoReflect.Descriptor instead. 942func (*UpdateOccurrenceRequest) Descriptor() ([]byte, []int) { 943 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{8} 944} 945 946func (x *UpdateOccurrenceRequest) GetName() string { 947 if x != nil { 948 return x.Name 949 } 950 return "" 951} 952 953func (x *UpdateOccurrenceRequest) GetOccurrence() *Occurrence { 954 if x != nil { 955 return x.Occurrence 956 } 957 return nil 958} 959 960func (x *UpdateOccurrenceRequest) GetUpdateMask() *fieldmaskpb.FieldMask { 961 if x != nil { 962 return x.UpdateMask 963 } 964 return nil 965} 966 967// Request to get a note. 968type GetNoteRequest struct { 969 state protoimpl.MessageState 970 sizeCache protoimpl.SizeCache 971 unknownFields protoimpl.UnknownFields 972 973 // The name of the note in the form of 974 // `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. 975 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 976} 977 978func (x *GetNoteRequest) Reset() { 979 *x = GetNoteRequest{} 980 if protoimpl.UnsafeEnabled { 981 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[9] 982 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 983 ms.StoreMessageInfo(mi) 984 } 985} 986 987func (x *GetNoteRequest) String() string { 988 return protoimpl.X.MessageStringOf(x) 989} 990 991func (*GetNoteRequest) ProtoMessage() {} 992 993func (x *GetNoteRequest) ProtoReflect() protoreflect.Message { 994 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[9] 995 if protoimpl.UnsafeEnabled && x != nil { 996 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 997 if ms.LoadMessageInfo() == nil { 998 ms.StoreMessageInfo(mi) 999 } 1000 return ms 1001 } 1002 return mi.MessageOf(x) 1003} 1004 1005// Deprecated: Use GetNoteRequest.ProtoReflect.Descriptor instead. 1006func (*GetNoteRequest) Descriptor() ([]byte, []int) { 1007 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{9} 1008} 1009 1010func (x *GetNoteRequest) GetName() string { 1011 if x != nil { 1012 return x.Name 1013 } 1014 return "" 1015} 1016 1017// Request to get the note to which the specified occurrence is attached. 1018type GetOccurrenceNoteRequest struct { 1019 state protoimpl.MessageState 1020 sizeCache protoimpl.SizeCache 1021 unknownFields protoimpl.UnknownFields 1022 1023 // The name of the occurrence in the form of 1024 // `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. 1025 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1026} 1027 1028func (x *GetOccurrenceNoteRequest) Reset() { 1029 *x = GetOccurrenceNoteRequest{} 1030 if protoimpl.UnsafeEnabled { 1031 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[10] 1032 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1033 ms.StoreMessageInfo(mi) 1034 } 1035} 1036 1037func (x *GetOccurrenceNoteRequest) String() string { 1038 return protoimpl.X.MessageStringOf(x) 1039} 1040 1041func (*GetOccurrenceNoteRequest) ProtoMessage() {} 1042 1043func (x *GetOccurrenceNoteRequest) ProtoReflect() protoreflect.Message { 1044 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[10] 1045 if protoimpl.UnsafeEnabled && x != nil { 1046 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1047 if ms.LoadMessageInfo() == nil { 1048 ms.StoreMessageInfo(mi) 1049 } 1050 return ms 1051 } 1052 return mi.MessageOf(x) 1053} 1054 1055// Deprecated: Use GetOccurrenceNoteRequest.ProtoReflect.Descriptor instead. 1056func (*GetOccurrenceNoteRequest) Descriptor() ([]byte, []int) { 1057 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{10} 1058} 1059 1060func (x *GetOccurrenceNoteRequest) GetName() string { 1061 if x != nil { 1062 return x.Name 1063 } 1064 return "" 1065} 1066 1067// Request to list notes. 1068type ListNotesRequest struct { 1069 state protoimpl.MessageState 1070 sizeCache protoimpl.SizeCache 1071 unknownFields protoimpl.UnknownFields 1072 1073 // The name of the project to list notes for in the form of 1074 // `projects/[PROJECT_ID]`. 1075 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 1076 // The filter expression. 1077 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` 1078 // Number of notes to return in the list. 1079 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 1080 // Token to provide to skip to a particular spot in the list. 1081 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 1082} 1083 1084func (x *ListNotesRequest) Reset() { 1085 *x = ListNotesRequest{} 1086 if protoimpl.UnsafeEnabled { 1087 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[11] 1088 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1089 ms.StoreMessageInfo(mi) 1090 } 1091} 1092 1093func (x *ListNotesRequest) String() string { 1094 return protoimpl.X.MessageStringOf(x) 1095} 1096 1097func (*ListNotesRequest) ProtoMessage() {} 1098 1099func (x *ListNotesRequest) ProtoReflect() protoreflect.Message { 1100 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[11] 1101 if protoimpl.UnsafeEnabled && x != nil { 1102 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1103 if ms.LoadMessageInfo() == nil { 1104 ms.StoreMessageInfo(mi) 1105 } 1106 return ms 1107 } 1108 return mi.MessageOf(x) 1109} 1110 1111// Deprecated: Use ListNotesRequest.ProtoReflect.Descriptor instead. 1112func (*ListNotesRequest) Descriptor() ([]byte, []int) { 1113 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{11} 1114} 1115 1116func (x *ListNotesRequest) GetParent() string { 1117 if x != nil { 1118 return x.Parent 1119 } 1120 return "" 1121} 1122 1123func (x *ListNotesRequest) GetFilter() string { 1124 if x != nil { 1125 return x.Filter 1126 } 1127 return "" 1128} 1129 1130func (x *ListNotesRequest) GetPageSize() int32 { 1131 if x != nil { 1132 return x.PageSize 1133 } 1134 return 0 1135} 1136 1137func (x *ListNotesRequest) GetPageToken() string { 1138 if x != nil { 1139 return x.PageToken 1140 } 1141 return "" 1142} 1143 1144// Response for listing notes. 1145type ListNotesResponse struct { 1146 state protoimpl.MessageState 1147 sizeCache protoimpl.SizeCache 1148 unknownFields protoimpl.UnknownFields 1149 1150 // The notes requested. 1151 Notes []*Note `protobuf:"bytes,1,rep,name=notes,proto3" json:"notes,omitempty"` 1152 // The next pagination token in the list response. It should be used as 1153 // `page_token` for the following request. An empty value means no more 1154 // results. 1155 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 1156} 1157 1158func (x *ListNotesResponse) Reset() { 1159 *x = ListNotesResponse{} 1160 if protoimpl.UnsafeEnabled { 1161 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[12] 1162 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1163 ms.StoreMessageInfo(mi) 1164 } 1165} 1166 1167func (x *ListNotesResponse) String() string { 1168 return protoimpl.X.MessageStringOf(x) 1169} 1170 1171func (*ListNotesResponse) ProtoMessage() {} 1172 1173func (x *ListNotesResponse) ProtoReflect() protoreflect.Message { 1174 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[12] 1175 if protoimpl.UnsafeEnabled && x != nil { 1176 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1177 if ms.LoadMessageInfo() == nil { 1178 ms.StoreMessageInfo(mi) 1179 } 1180 return ms 1181 } 1182 return mi.MessageOf(x) 1183} 1184 1185// Deprecated: Use ListNotesResponse.ProtoReflect.Descriptor instead. 1186func (*ListNotesResponse) Descriptor() ([]byte, []int) { 1187 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{12} 1188} 1189 1190func (x *ListNotesResponse) GetNotes() []*Note { 1191 if x != nil { 1192 return x.Notes 1193 } 1194 return nil 1195} 1196 1197func (x *ListNotesResponse) GetNextPageToken() string { 1198 if x != nil { 1199 return x.NextPageToken 1200 } 1201 return "" 1202} 1203 1204// Request to delete a note. 1205type DeleteNoteRequest struct { 1206 state protoimpl.MessageState 1207 sizeCache protoimpl.SizeCache 1208 unknownFields protoimpl.UnknownFields 1209 1210 // The name of the note in the form of 1211 // `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. 1212 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1213} 1214 1215func (x *DeleteNoteRequest) Reset() { 1216 *x = DeleteNoteRequest{} 1217 if protoimpl.UnsafeEnabled { 1218 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[13] 1219 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1220 ms.StoreMessageInfo(mi) 1221 } 1222} 1223 1224func (x *DeleteNoteRequest) String() string { 1225 return protoimpl.X.MessageStringOf(x) 1226} 1227 1228func (*DeleteNoteRequest) ProtoMessage() {} 1229 1230func (x *DeleteNoteRequest) ProtoReflect() protoreflect.Message { 1231 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[13] 1232 if protoimpl.UnsafeEnabled && x != nil { 1233 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1234 if ms.LoadMessageInfo() == nil { 1235 ms.StoreMessageInfo(mi) 1236 } 1237 return ms 1238 } 1239 return mi.MessageOf(x) 1240} 1241 1242// Deprecated: Use DeleteNoteRequest.ProtoReflect.Descriptor instead. 1243func (*DeleteNoteRequest) Descriptor() ([]byte, []int) { 1244 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{13} 1245} 1246 1247func (x *DeleteNoteRequest) GetName() string { 1248 if x != nil { 1249 return x.Name 1250 } 1251 return "" 1252} 1253 1254// Request to create a new note. 1255type CreateNoteRequest struct { 1256 state protoimpl.MessageState 1257 sizeCache protoimpl.SizeCache 1258 unknownFields protoimpl.UnknownFields 1259 1260 // The name of the project in the form of `projects/[PROJECT_ID]`, under which 1261 // the note is to be created. 1262 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 1263 // The ID to use for this note. 1264 NoteId string `protobuf:"bytes,2,opt,name=note_id,json=noteId,proto3" json:"note_id,omitempty"` 1265 // The note to create. 1266 Note *Note `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"` 1267} 1268 1269func (x *CreateNoteRequest) Reset() { 1270 *x = CreateNoteRequest{} 1271 if protoimpl.UnsafeEnabled { 1272 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[14] 1273 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1274 ms.StoreMessageInfo(mi) 1275 } 1276} 1277 1278func (x *CreateNoteRequest) String() string { 1279 return protoimpl.X.MessageStringOf(x) 1280} 1281 1282func (*CreateNoteRequest) ProtoMessage() {} 1283 1284func (x *CreateNoteRequest) ProtoReflect() protoreflect.Message { 1285 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[14] 1286 if protoimpl.UnsafeEnabled && x != nil { 1287 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1288 if ms.LoadMessageInfo() == nil { 1289 ms.StoreMessageInfo(mi) 1290 } 1291 return ms 1292 } 1293 return mi.MessageOf(x) 1294} 1295 1296// Deprecated: Use CreateNoteRequest.ProtoReflect.Descriptor instead. 1297func (*CreateNoteRequest) Descriptor() ([]byte, []int) { 1298 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{14} 1299} 1300 1301func (x *CreateNoteRequest) GetParent() string { 1302 if x != nil { 1303 return x.Parent 1304 } 1305 return "" 1306} 1307 1308func (x *CreateNoteRequest) GetNoteId() string { 1309 if x != nil { 1310 return x.NoteId 1311 } 1312 return "" 1313} 1314 1315func (x *CreateNoteRequest) GetNote() *Note { 1316 if x != nil { 1317 return x.Note 1318 } 1319 return nil 1320} 1321 1322// Request to update a note. 1323type UpdateNoteRequest struct { 1324 state protoimpl.MessageState 1325 sizeCache protoimpl.SizeCache 1326 unknownFields protoimpl.UnknownFields 1327 1328 // The name of the note in the form of 1329 // `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. 1330 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1331 // The updated note. 1332 Note *Note `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"` 1333 // The fields to update. 1334 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 1335} 1336 1337func (x *UpdateNoteRequest) Reset() { 1338 *x = UpdateNoteRequest{} 1339 if protoimpl.UnsafeEnabled { 1340 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[15] 1341 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1342 ms.StoreMessageInfo(mi) 1343 } 1344} 1345 1346func (x *UpdateNoteRequest) String() string { 1347 return protoimpl.X.MessageStringOf(x) 1348} 1349 1350func (*UpdateNoteRequest) ProtoMessage() {} 1351 1352func (x *UpdateNoteRequest) ProtoReflect() protoreflect.Message { 1353 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[15] 1354 if protoimpl.UnsafeEnabled && x != nil { 1355 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1356 if ms.LoadMessageInfo() == nil { 1357 ms.StoreMessageInfo(mi) 1358 } 1359 return ms 1360 } 1361 return mi.MessageOf(x) 1362} 1363 1364// Deprecated: Use UpdateNoteRequest.ProtoReflect.Descriptor instead. 1365func (*UpdateNoteRequest) Descriptor() ([]byte, []int) { 1366 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{15} 1367} 1368 1369func (x *UpdateNoteRequest) GetName() string { 1370 if x != nil { 1371 return x.Name 1372 } 1373 return "" 1374} 1375 1376func (x *UpdateNoteRequest) GetNote() *Note { 1377 if x != nil { 1378 return x.Note 1379 } 1380 return nil 1381} 1382 1383func (x *UpdateNoteRequest) GetUpdateMask() *fieldmaskpb.FieldMask { 1384 if x != nil { 1385 return x.UpdateMask 1386 } 1387 return nil 1388} 1389 1390// Request to list occurrences for a note. 1391type ListNoteOccurrencesRequest struct { 1392 state protoimpl.MessageState 1393 sizeCache protoimpl.SizeCache 1394 unknownFields protoimpl.UnknownFields 1395 1396 // The name of the note to list occurrences for in the form of 1397 // `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. 1398 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1399 // The filter expression. 1400 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` 1401 // Number of occurrences to return in the list. 1402 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 1403 // Token to provide to skip to a particular spot in the list. 1404 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 1405} 1406 1407func (x *ListNoteOccurrencesRequest) Reset() { 1408 *x = ListNoteOccurrencesRequest{} 1409 if protoimpl.UnsafeEnabled { 1410 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[16] 1411 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1412 ms.StoreMessageInfo(mi) 1413 } 1414} 1415 1416func (x *ListNoteOccurrencesRequest) String() string { 1417 return protoimpl.X.MessageStringOf(x) 1418} 1419 1420func (*ListNoteOccurrencesRequest) ProtoMessage() {} 1421 1422func (x *ListNoteOccurrencesRequest) ProtoReflect() protoreflect.Message { 1423 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[16] 1424 if protoimpl.UnsafeEnabled && x != nil { 1425 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1426 if ms.LoadMessageInfo() == nil { 1427 ms.StoreMessageInfo(mi) 1428 } 1429 return ms 1430 } 1431 return mi.MessageOf(x) 1432} 1433 1434// Deprecated: Use ListNoteOccurrencesRequest.ProtoReflect.Descriptor instead. 1435func (*ListNoteOccurrencesRequest) Descriptor() ([]byte, []int) { 1436 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{16} 1437} 1438 1439func (x *ListNoteOccurrencesRequest) GetName() string { 1440 if x != nil { 1441 return x.Name 1442 } 1443 return "" 1444} 1445 1446func (x *ListNoteOccurrencesRequest) GetFilter() string { 1447 if x != nil { 1448 return x.Filter 1449 } 1450 return "" 1451} 1452 1453func (x *ListNoteOccurrencesRequest) GetPageSize() int32 { 1454 if x != nil { 1455 return x.PageSize 1456 } 1457 return 0 1458} 1459 1460func (x *ListNoteOccurrencesRequest) GetPageToken() string { 1461 if x != nil { 1462 return x.PageToken 1463 } 1464 return "" 1465} 1466 1467// Response for listing occurrences for a note. 1468type ListNoteOccurrencesResponse struct { 1469 state protoimpl.MessageState 1470 sizeCache protoimpl.SizeCache 1471 unknownFields protoimpl.UnknownFields 1472 1473 // The occurrences attached to the specified note. 1474 Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"` 1475 // Token to provide to skip to a particular spot in the list. 1476 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 1477} 1478 1479func (x *ListNoteOccurrencesResponse) Reset() { 1480 *x = ListNoteOccurrencesResponse{} 1481 if protoimpl.UnsafeEnabled { 1482 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[17] 1483 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1484 ms.StoreMessageInfo(mi) 1485 } 1486} 1487 1488func (x *ListNoteOccurrencesResponse) String() string { 1489 return protoimpl.X.MessageStringOf(x) 1490} 1491 1492func (*ListNoteOccurrencesResponse) ProtoMessage() {} 1493 1494func (x *ListNoteOccurrencesResponse) ProtoReflect() protoreflect.Message { 1495 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[17] 1496 if protoimpl.UnsafeEnabled && x != nil { 1497 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1498 if ms.LoadMessageInfo() == nil { 1499 ms.StoreMessageInfo(mi) 1500 } 1501 return ms 1502 } 1503 return mi.MessageOf(x) 1504} 1505 1506// Deprecated: Use ListNoteOccurrencesResponse.ProtoReflect.Descriptor instead. 1507func (*ListNoteOccurrencesResponse) Descriptor() ([]byte, []int) { 1508 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{17} 1509} 1510 1511func (x *ListNoteOccurrencesResponse) GetOccurrences() []*Occurrence { 1512 if x != nil { 1513 return x.Occurrences 1514 } 1515 return nil 1516} 1517 1518func (x *ListNoteOccurrencesResponse) GetNextPageToken() string { 1519 if x != nil { 1520 return x.NextPageToken 1521 } 1522 return "" 1523} 1524 1525// Request to create notes in batch. 1526type BatchCreateNotesRequest struct { 1527 state protoimpl.MessageState 1528 sizeCache protoimpl.SizeCache 1529 unknownFields protoimpl.UnknownFields 1530 1531 // The name of the project in the form of `projects/[PROJECT_ID]`, under which 1532 // the notes are to be created. 1533 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 1534 // The notes to create. 1535 Notes map[string]*Note `protobuf:"bytes,2,rep,name=notes,proto3" json:"notes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1536} 1537 1538func (x *BatchCreateNotesRequest) Reset() { 1539 *x = BatchCreateNotesRequest{} 1540 if protoimpl.UnsafeEnabled { 1541 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[18] 1542 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1543 ms.StoreMessageInfo(mi) 1544 } 1545} 1546 1547func (x *BatchCreateNotesRequest) String() string { 1548 return protoimpl.X.MessageStringOf(x) 1549} 1550 1551func (*BatchCreateNotesRequest) ProtoMessage() {} 1552 1553func (x *BatchCreateNotesRequest) ProtoReflect() protoreflect.Message { 1554 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[18] 1555 if protoimpl.UnsafeEnabled && x != nil { 1556 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1557 if ms.LoadMessageInfo() == nil { 1558 ms.StoreMessageInfo(mi) 1559 } 1560 return ms 1561 } 1562 return mi.MessageOf(x) 1563} 1564 1565// Deprecated: Use BatchCreateNotesRequest.ProtoReflect.Descriptor instead. 1566func (*BatchCreateNotesRequest) Descriptor() ([]byte, []int) { 1567 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{18} 1568} 1569 1570func (x *BatchCreateNotesRequest) GetParent() string { 1571 if x != nil { 1572 return x.Parent 1573 } 1574 return "" 1575} 1576 1577func (x *BatchCreateNotesRequest) GetNotes() map[string]*Note { 1578 if x != nil { 1579 return x.Notes 1580 } 1581 return nil 1582} 1583 1584// Response for creating notes in batch. 1585type BatchCreateNotesResponse struct { 1586 state protoimpl.MessageState 1587 sizeCache protoimpl.SizeCache 1588 unknownFields protoimpl.UnknownFields 1589 1590 // The notes that were created. 1591 Notes []*Note `protobuf:"bytes,1,rep,name=notes,proto3" json:"notes,omitempty"` 1592} 1593 1594func (x *BatchCreateNotesResponse) Reset() { 1595 *x = BatchCreateNotesResponse{} 1596 if protoimpl.UnsafeEnabled { 1597 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[19] 1598 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1599 ms.StoreMessageInfo(mi) 1600 } 1601} 1602 1603func (x *BatchCreateNotesResponse) String() string { 1604 return protoimpl.X.MessageStringOf(x) 1605} 1606 1607func (*BatchCreateNotesResponse) ProtoMessage() {} 1608 1609func (x *BatchCreateNotesResponse) ProtoReflect() protoreflect.Message { 1610 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[19] 1611 if protoimpl.UnsafeEnabled && x != nil { 1612 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1613 if ms.LoadMessageInfo() == nil { 1614 ms.StoreMessageInfo(mi) 1615 } 1616 return ms 1617 } 1618 return mi.MessageOf(x) 1619} 1620 1621// Deprecated: Use BatchCreateNotesResponse.ProtoReflect.Descriptor instead. 1622func (*BatchCreateNotesResponse) Descriptor() ([]byte, []int) { 1623 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{19} 1624} 1625 1626func (x *BatchCreateNotesResponse) GetNotes() []*Note { 1627 if x != nil { 1628 return x.Notes 1629 } 1630 return nil 1631} 1632 1633// Request to create occurrences in batch. 1634type BatchCreateOccurrencesRequest struct { 1635 state protoimpl.MessageState 1636 sizeCache protoimpl.SizeCache 1637 unknownFields protoimpl.UnknownFields 1638 1639 // The name of the project in the form of `projects/[PROJECT_ID]`, under which 1640 // the occurrences are to be created. 1641 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 1642 // The occurrences to create. 1643 Occurrences []*Occurrence `protobuf:"bytes,2,rep,name=occurrences,proto3" json:"occurrences,omitempty"` 1644} 1645 1646func (x *BatchCreateOccurrencesRequest) Reset() { 1647 *x = BatchCreateOccurrencesRequest{} 1648 if protoimpl.UnsafeEnabled { 1649 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[20] 1650 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1651 ms.StoreMessageInfo(mi) 1652 } 1653} 1654 1655func (x *BatchCreateOccurrencesRequest) String() string { 1656 return protoimpl.X.MessageStringOf(x) 1657} 1658 1659func (*BatchCreateOccurrencesRequest) ProtoMessage() {} 1660 1661func (x *BatchCreateOccurrencesRequest) ProtoReflect() protoreflect.Message { 1662 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[20] 1663 if protoimpl.UnsafeEnabled && x != nil { 1664 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1665 if ms.LoadMessageInfo() == nil { 1666 ms.StoreMessageInfo(mi) 1667 } 1668 return ms 1669 } 1670 return mi.MessageOf(x) 1671} 1672 1673// Deprecated: Use BatchCreateOccurrencesRequest.ProtoReflect.Descriptor instead. 1674func (*BatchCreateOccurrencesRequest) Descriptor() ([]byte, []int) { 1675 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{20} 1676} 1677 1678func (x *BatchCreateOccurrencesRequest) GetParent() string { 1679 if x != nil { 1680 return x.Parent 1681 } 1682 return "" 1683} 1684 1685func (x *BatchCreateOccurrencesRequest) GetOccurrences() []*Occurrence { 1686 if x != nil { 1687 return x.Occurrences 1688 } 1689 return nil 1690} 1691 1692// Response for creating occurrences in batch. 1693type BatchCreateOccurrencesResponse struct { 1694 state protoimpl.MessageState 1695 sizeCache protoimpl.SizeCache 1696 unknownFields protoimpl.UnknownFields 1697 1698 // The occurrences that were created. 1699 Occurrences []*Occurrence `protobuf:"bytes,1,rep,name=occurrences,proto3" json:"occurrences,omitempty"` 1700} 1701 1702func (x *BatchCreateOccurrencesResponse) Reset() { 1703 *x = BatchCreateOccurrencesResponse{} 1704 if protoimpl.UnsafeEnabled { 1705 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[21] 1706 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1707 ms.StoreMessageInfo(mi) 1708 } 1709} 1710 1711func (x *BatchCreateOccurrencesResponse) String() string { 1712 return protoimpl.X.MessageStringOf(x) 1713} 1714 1715func (*BatchCreateOccurrencesResponse) ProtoMessage() {} 1716 1717func (x *BatchCreateOccurrencesResponse) ProtoReflect() protoreflect.Message { 1718 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[21] 1719 if protoimpl.UnsafeEnabled && x != nil { 1720 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1721 if ms.LoadMessageInfo() == nil { 1722 ms.StoreMessageInfo(mi) 1723 } 1724 return ms 1725 } 1726 return mi.MessageOf(x) 1727} 1728 1729// Deprecated: Use BatchCreateOccurrencesResponse.ProtoReflect.Descriptor instead. 1730func (*BatchCreateOccurrencesResponse) Descriptor() ([]byte, []int) { 1731 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{21} 1732} 1733 1734func (x *BatchCreateOccurrencesResponse) GetOccurrences() []*Occurrence { 1735 if x != nil { 1736 return x.Occurrences 1737 } 1738 return nil 1739} 1740 1741// Request to get a vulnerability summary for some set of occurrences. 1742type GetVulnerabilityOccurrencesSummaryRequest struct { 1743 state protoimpl.MessageState 1744 sizeCache protoimpl.SizeCache 1745 unknownFields protoimpl.UnknownFields 1746 1747 // The name of the project to get a vulnerability summary for in the form of 1748 // `projects/[PROJECT_ID]`. 1749 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 1750 // The filter expression. 1751 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` 1752} 1753 1754func (x *GetVulnerabilityOccurrencesSummaryRequest) Reset() { 1755 *x = GetVulnerabilityOccurrencesSummaryRequest{} 1756 if protoimpl.UnsafeEnabled { 1757 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[22] 1758 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1759 ms.StoreMessageInfo(mi) 1760 } 1761} 1762 1763func (x *GetVulnerabilityOccurrencesSummaryRequest) String() string { 1764 return protoimpl.X.MessageStringOf(x) 1765} 1766 1767func (*GetVulnerabilityOccurrencesSummaryRequest) ProtoMessage() {} 1768 1769func (x *GetVulnerabilityOccurrencesSummaryRequest) ProtoReflect() protoreflect.Message { 1770 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[22] 1771 if protoimpl.UnsafeEnabled && x != nil { 1772 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1773 if ms.LoadMessageInfo() == nil { 1774 ms.StoreMessageInfo(mi) 1775 } 1776 return ms 1777 } 1778 return mi.MessageOf(x) 1779} 1780 1781// Deprecated: Use GetVulnerabilityOccurrencesSummaryRequest.ProtoReflect.Descriptor instead. 1782func (*GetVulnerabilityOccurrencesSummaryRequest) Descriptor() ([]byte, []int) { 1783 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{22} 1784} 1785 1786func (x *GetVulnerabilityOccurrencesSummaryRequest) GetParent() string { 1787 if x != nil { 1788 return x.Parent 1789 } 1790 return "" 1791} 1792 1793func (x *GetVulnerabilityOccurrencesSummaryRequest) GetFilter() string { 1794 if x != nil { 1795 return x.Filter 1796 } 1797 return "" 1798} 1799 1800// A summary of how many vulnerability occurrences there are per resource and 1801// severity type. 1802type VulnerabilityOccurrencesSummary struct { 1803 state protoimpl.MessageState 1804 sizeCache protoimpl.SizeCache 1805 unknownFields protoimpl.UnknownFields 1806 1807 // A listing by resource of the number of fixable and total vulnerabilities. 1808 Counts []*VulnerabilityOccurrencesSummary_FixableTotalByDigest `protobuf:"bytes,1,rep,name=counts,proto3" json:"counts,omitempty"` 1809} 1810 1811func (x *VulnerabilityOccurrencesSummary) Reset() { 1812 *x = VulnerabilityOccurrencesSummary{} 1813 if protoimpl.UnsafeEnabled { 1814 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[23] 1815 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1816 ms.StoreMessageInfo(mi) 1817 } 1818} 1819 1820func (x *VulnerabilityOccurrencesSummary) String() string { 1821 return protoimpl.X.MessageStringOf(x) 1822} 1823 1824func (*VulnerabilityOccurrencesSummary) ProtoMessage() {} 1825 1826func (x *VulnerabilityOccurrencesSummary) ProtoReflect() protoreflect.Message { 1827 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[23] 1828 if protoimpl.UnsafeEnabled && x != nil { 1829 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1830 if ms.LoadMessageInfo() == nil { 1831 ms.StoreMessageInfo(mi) 1832 } 1833 return ms 1834 } 1835 return mi.MessageOf(x) 1836} 1837 1838// Deprecated: Use VulnerabilityOccurrencesSummary.ProtoReflect.Descriptor instead. 1839func (*VulnerabilityOccurrencesSummary) Descriptor() ([]byte, []int) { 1840 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{23} 1841} 1842 1843func (x *VulnerabilityOccurrencesSummary) GetCounts() []*VulnerabilityOccurrencesSummary_FixableTotalByDigest { 1844 if x != nil { 1845 return x.Counts 1846 } 1847 return nil 1848} 1849 1850// Per resource and severity counts of fixable and total vulnerabilities. 1851type VulnerabilityOccurrencesSummary_FixableTotalByDigest struct { 1852 state protoimpl.MessageState 1853 sizeCache protoimpl.SizeCache 1854 unknownFields protoimpl.UnknownFields 1855 1856 // The affected resource. 1857 Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` 1858 // The severity for this count. SEVERITY_UNSPECIFIED indicates total across 1859 // all severities. 1860 Severity vulnerability.Severity `protobuf:"varint,2,opt,name=severity,proto3,enum=grafeas.v1beta1.vulnerability.Severity" json:"severity,omitempty"` 1861 // The number of fixable vulnerabilities associated with this resource. 1862 FixableCount int64 `protobuf:"varint,3,opt,name=fixable_count,json=fixableCount,proto3" json:"fixable_count,omitempty"` 1863 // The total number of vulnerabilities associated with this resource. 1864 TotalCount int64 `protobuf:"varint,4,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` 1865} 1866 1867func (x *VulnerabilityOccurrencesSummary_FixableTotalByDigest) Reset() { 1868 *x = VulnerabilityOccurrencesSummary_FixableTotalByDigest{} 1869 if protoimpl.UnsafeEnabled { 1870 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[25] 1871 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1872 ms.StoreMessageInfo(mi) 1873 } 1874} 1875 1876func (x *VulnerabilityOccurrencesSummary_FixableTotalByDigest) String() string { 1877 return protoimpl.X.MessageStringOf(x) 1878} 1879 1880func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) ProtoMessage() {} 1881 1882func (x *VulnerabilityOccurrencesSummary_FixableTotalByDigest) ProtoReflect() protoreflect.Message { 1883 mi := &file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[25] 1884 if protoimpl.UnsafeEnabled && x != nil { 1885 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1886 if ms.LoadMessageInfo() == nil { 1887 ms.StoreMessageInfo(mi) 1888 } 1889 return ms 1890 } 1891 return mi.MessageOf(x) 1892} 1893 1894// Deprecated: Use VulnerabilityOccurrencesSummary_FixableTotalByDigest.ProtoReflect.Descriptor instead. 1895func (*VulnerabilityOccurrencesSummary_FixableTotalByDigest) Descriptor() ([]byte, []int) { 1896 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP(), []int{23, 0} 1897} 1898 1899func (x *VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetResource() *Resource { 1900 if x != nil { 1901 return x.Resource 1902 } 1903 return nil 1904} 1905 1906func (x *VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetSeverity() vulnerability.Severity { 1907 if x != nil { 1908 return x.Severity 1909 } 1910 return vulnerability.Severity_SEVERITY_UNSPECIFIED 1911} 1912 1913func (x *VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetFixableCount() int64 { 1914 if x != nil { 1915 return x.FixableCount 1916 } 1917 return 0 1918} 1919 1920func (x *VulnerabilityOccurrencesSummary_FixableTotalByDigest) GetTotalCount() int64 { 1921 if x != nil { 1922 return x.TotalCount 1923 } 1924 return 0 1925} 1926 1927var File_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto protoreflect.FileDescriptor 1928 1929var file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDesc = []byte{ 1930 0x0a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 1931 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 1932 0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x67, 0x72, 0x61, 0x66, 1933 0x65, 0x61, 0x73, 0x2f, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1934 0x6f, 0x12, 0x0f, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 1935 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 1936 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1937 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 1938 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x47, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1939 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 1940 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 1941 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 1942 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 1943 0x74, 0x6f, 0x1a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 1944 0x6f, 0x6c, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 1945 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x62, 0x75, 1946 0x69, 0x6c, 0x64, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 1947 0x3d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 1948 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 1949 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 1950 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x45, 1951 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 1952 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 1953 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 1954 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 1955 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x43, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 1956 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 1957 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 1958 0x2f, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2f, 0x64, 0x69, 0x73, 0x63, 0x6f, 1959 0x76, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 1960 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 1961 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 1962 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2f, 0x69, 0x6d, 0x61, 0x67, 1963 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 1964 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 1965 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 1966 0x61, 0x31, 0x2f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x61, 0x63, 0x6b, 0x61, 1967 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x45, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1968 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 1969 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 1970 0x74, 0x61, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x70, 1971 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 1972 0x4b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 1973 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 1974 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x76, 0x75, 0x6c, 0x6e, 0x65, 1975 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2f, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 1976 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 1977 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 1978 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1979 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 1980 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 1981 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 1982 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb8, 0x06, 0x0a, 1983 0x0a, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 1984 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 1985 0x35, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 1986 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 1987 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x72, 0x65, 1988 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x6f, 0x74, 0x65, 0x5f, 0x6e, 1989 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x6f, 0x74, 0x65, 0x4e, 1990 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 1991 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 1992 0x74, 0x61, 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, 0x69, 1993 0x6e, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x69, 0x6f, 1994 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x6d, 0x65, 0x64, 0x69, 0x61, 1995 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 1996 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 1997 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 1998 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 1999 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 2000 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 2001 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 2002 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4e, 2003 0x0a, 0x0d, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 2004 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 2005 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 2006 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x48, 0x00, 0x52, 2007 0x0d, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x36, 2008 0x0a, 0x05, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 2009 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 2010 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x48, 0x00, 0x52, 2011 0x05, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x45, 0x0a, 0x0d, 0x64, 0x65, 0x72, 0x69, 0x76, 0x65, 2012 0x64, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 2013 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 2014 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x48, 0x00, 0x52, 2015 0x0c, 0x64, 0x65, 0x72, 0x69, 0x76, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x46, 0x0a, 2016 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 2017 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 2018 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 2019 0x74, 0x61, 0x69, 0x6c, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 2020 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 2021 0x65, 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x61, 0x66, 2022 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x64, 0x65, 0x70, 0x6c, 2023 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x48, 0x00, 2024 0x52, 0x0a, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x44, 0x0a, 0x0a, 2025 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x65, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 2026 0x32, 0x22, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 2027 0x61, 0x31, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x44, 0x65, 0x74, 2028 0x61, 0x69, 0x6c, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 2029 0x65, 0x64, 0x12, 0x48, 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 2030 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 2031 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 2032 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x48, 0x00, 0x52, 2033 0x0b, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x09, 0x0a, 0x07, 2034 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x75, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x6f, 0x75, 2035 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 2036 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x02, 2037 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x43, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 2038 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 2039 0x20, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 2040 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x48, 0x61, 0x73, 2041 0x68, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x22, 0xcc, 2042 0x07, 0x0a, 0x04, 0x4e, 0x6f, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 2043 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x73, 2044 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 2045 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x73, 2046 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x6c, 0x6f, 0x6e, 0x67, 2047 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 2048 0x28, 0x09, 0x52, 0x0f, 0x6c, 0x6f, 0x6e, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 2049 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 2050 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 2051 0x74, 0x61, 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, 0x69, 2052 0x6e, 0x64, 0x12, 0x3c, 0x0a, 0x0b, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x72, 2053 0x6c, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 2054 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 2055 0x64, 0x55, 0x72, 0x6c, 0x52, 0x0a, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x55, 0x72, 0x6c, 2056 0x12, 0x43, 0x0a, 0x0f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 2057 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 2058 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 2059 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 2060 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 2061 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 2062 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 2063 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 2064 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 2065 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 2066 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 2067 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 2068 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6e, 0x6f, 0x74, 0x65, 0x5f, 2069 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x6c, 2070 0x61, 0x74, 0x65, 0x64, 0x4e, 0x6f, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x54, 0x0a, 2071 0x0d, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x0a, 2072 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 2073 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 2074 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x56, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 2075 0x74, 0x79, 0x48, 0x00, 0x52, 0x0d, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 2076 0x69, 0x74, 0x79, 0x12, 0x34, 0x0a, 0x05, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x0b, 0x20, 0x01, 2077 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 2078 0x65, 0x74, 0x61, 0x31, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 2079 0x48, 0x00, 0x52, 0x05, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x3d, 0x0a, 0x0a, 0x62, 0x61, 0x73, 2080 0x65, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 2081 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 2082 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x42, 0x61, 0x73, 0x69, 0x73, 0x48, 0x00, 0x52, 0x09, 0x62, 2083 0x61, 0x73, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x70, 0x61, 0x63, 0x6b, 2084 0x61, 0x67, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x61, 0x66, 2085 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x70, 0x61, 0x63, 0x6b, 2086 0x61, 0x67, 0x65, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x07, 0x70, 2087 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x48, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 2088 0x61, 0x62, 0x6c, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x72, 0x61, 2089 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x64, 0x65, 0x70, 2090 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x61, 0x62, 2091 0x6c, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x61, 0x62, 0x6c, 0x65, 2092 0x12, 0x44, 0x0a, 0x09, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x18, 0x0f, 0x20, 2093 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 2094 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 2095 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x09, 0x64, 0x69, 0x73, 2096 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x12, 0x5d, 0x0a, 0x15, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 2097 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 2098 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 2099 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 2100 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x48, 0x00, 0x52, 2101 0x14, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x75, 0x74, 0x68, 2102 0x6f, 0x72, 0x69, 0x74, 0x79, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x2a, 0x0a, 2103 0x14, 0x47, 0x65, 0x74, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 2104 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 2105 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x84, 0x01, 0x0a, 0x16, 0x4c, 0x69, 2106 0x73, 0x74, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 2107 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 2108 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 2109 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 2110 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 2111 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 2112 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 2113 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 2114 0x22, 0x80, 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 2115 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0b, 2116 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 2117 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 2118 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0b, 2119 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 2120 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 2121 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 2122 0x6b, 0x65, 0x6e, 0x22, 0x2d, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x63, 0x63, 2123 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 2124 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 2125 0x6d, 0x65, 0x22, 0x6e, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x63, 0x63, 0x75, 2126 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 2127 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 2128 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 2129 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x61, 0x66, 2130 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x63, 0x63, 0x75, 2131 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0a, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 2132 0x63, 0x65, 0x22, 0xa7, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x63, 0x63, 2133 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 2134 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 2135 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 2136 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 2137 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 2138 0x6e, 0x63, 0x65, 0x52, 0x0a, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 2139 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 2140 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 2141 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 2142 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x24, 0x0a, 0x0e, 2143 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 2144 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 2145 0x6d, 0x65, 0x22, 0x2e, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 2146 0x6e, 0x63, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 2147 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 2148 0x6d, 0x65, 0x22, 0x7e, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x52, 2149 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 2150 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x16, 2151 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 2152 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 2153 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 2154 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 2155 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 2156 0x65, 0x6e, 0x22, 0x68, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x52, 2157 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 2158 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 2159 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x05, 0x6e, 2160 0x6f, 0x74, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 2161 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 2162 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x27, 0x0a, 0x11, 2163 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 2164 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 2165 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x6f, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 2166 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 2167 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 2168 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x6f, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 2169 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x6f, 0x74, 0x65, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x04, 0x6e, 2170 0x6f, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x61, 0x66, 2171 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 2172 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x22, 0x8f, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 2173 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 2174 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 2175 0x12, 0x29, 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 2176 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 2177 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 2178 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 2179 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 2180 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 2181 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x84, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 2182 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 2183 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 2184 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 2185 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 2186 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 2187 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 2188 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 2189 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 2190 0x84, 0x01, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x4f, 0x63, 0x63, 0x75, 2191 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 2192 0x3d, 0x0a, 0x0b, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 2193 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 2194 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 2195 0x65, 0x52, 0x0b, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x26, 2196 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 2197 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 2198 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xcd, 0x01, 0x0a, 0x17, 0x42, 0x61, 0x74, 0x63, 0x68, 2199 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 2200 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 2201 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x49, 0x0a, 0x05, 0x6e, 0x6f, 2202 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x72, 0x61, 0x66, 2203 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 2204 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 2205 0x65, 0x73, 0x74, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 2206 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x1a, 0x4f, 0x0a, 0x0a, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x45, 0x6e, 2207 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 2208 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2b, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 2209 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 2210 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 2211 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x47, 0x0a, 0x18, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 2212 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 2213 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 2214 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 2215 0x74, 0x61, 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x22, 2216 0x76, 0x0a, 0x1d, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x63, 2217 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 2218 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 2219 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x3d, 0x0a, 0x0b, 0x6f, 0x63, 0x63, 0x75, 2220 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 2221 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 2222 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0b, 0x6f, 0x63, 0x63, 0x75, 2223 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x22, 0x5f, 0x0a, 0x1e, 0x42, 0x61, 0x74, 0x63, 0x68, 2224 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 2225 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0b, 0x6f, 0x63, 0x63, 2226 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 2227 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 2228 0x2e, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0b, 0x6f, 0x63, 0x63, 2229 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x22, 0x5b, 0x0a, 0x29, 0x47, 0x65, 0x74, 0x56, 2230 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4f, 0x63, 0x63, 0x75, 2231 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 2232 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 2233 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 2234 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 2235 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0xdb, 0x02, 0x0a, 0x1f, 0x56, 0x75, 0x6c, 0x6e, 0x65, 0x72, 2236 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 2237 0x65, 0x73, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x5d, 0x0a, 0x06, 0x63, 0x6f, 0x75, 2238 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x67, 0x72, 0x61, 0x66, 2239 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x75, 0x6c, 0x6e, 2240 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 2241 0x6e, 0x63, 0x65, 0x73, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x2e, 0x46, 0x69, 0x78, 0x61, 2242 0x62, 0x6c, 0x65, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x79, 0x44, 0x69, 0x67, 0x65, 0x73, 0x74, 2243 0x52, 0x06, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x1a, 0xd8, 0x01, 0x0a, 0x14, 0x46, 0x69, 0x78, 2244 0x61, 0x62, 0x6c, 0x65, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x79, 0x44, 0x69, 0x67, 0x65, 0x73, 2245 0x74, 0x12, 0x35, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 2246 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 2247 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 2248 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x43, 0x0a, 0x08, 0x73, 0x65, 0x76, 0x65, 2249 0x72, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x67, 0x72, 0x61, 2250 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x76, 0x75, 0x6c, 2251 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2e, 0x53, 0x65, 0x76, 0x65, 0x72, 2252 0x69, 0x74, 0x79, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x23, 0x0a, 2253 0x0d, 0x66, 0x69, 0x78, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 2254 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x66, 0x69, 0x78, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 0x75, 2255 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 2256 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 2257 0x75, 0x6e, 0x74, 0x32, 0x98, 0x12, 0x0a, 0x0e, 0x47, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x56, 2258 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0x12, 0x85, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4f, 0x63, 2259 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x25, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 2260 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x63, 2261 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 2262 0x1b, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 2263 0x31, 0x2e, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x30, 0x82, 0xd3, 2264 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 2265 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 2266 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x96, 2267 0x01, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 2268 0x65, 0x73, 0x12, 0x27, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 2269 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 2270 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x67, 0x72, 2271 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 2272 0x73, 0x74, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 2273 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, 2274 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 2275 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6f, 0x63, 0x63, 0x75, 2276 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x86, 0x01, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 2277 0x74, 0x65, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x28, 0x2e, 0x67, 2278 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 2279 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 2280 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 2281 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x30, 2282 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x2a, 0x28, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 2283 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 2284 0x2a, 0x2f, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 2285 0x12, 0x97, 0x01, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x63, 0x63, 0x75, 0x72, 2286 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x28, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 2287 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x63, 2288 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 2289 0x1b, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 2290 0x31, 0x2e, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x3c, 0x82, 0xd3, 2291 0xe4, 0x93, 0x02, 0x36, 0x22, 0x28, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 2292 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 2293 0x2a, 0x7d, 0x2f, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x3a, 0x0a, 2294 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0xba, 0x01, 0x0a, 0x16, 0x42, 2295 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 2296 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x2e, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 2297 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 2298 0x61, 0x74, 0x65, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 2299 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 2300 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 2301 0x61, 0x74, 0x65, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 2302 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x22, 0x34, 2303 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 2304 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6f, 0x63, 0x63, 2305 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 2306 0x65, 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x97, 0x01, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 2307 0x74, 0x65, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x28, 0x2e, 0x67, 2308 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 2309 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 2310 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 2311 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 2312 0x6e, 0x63, 0x65, 0x22, 0x3c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x32, 0x28, 0x2f, 0x76, 0x31, 2313 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 2314 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 2315 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x0a, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 2316 0x65, 0x12, 0x8d, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 2317 0x6e, 0x63, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x12, 0x29, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 2318 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x63, 0x63, 2319 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 2320 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 2321 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x22, 0x36, 0x82, 0xd3, 0xe4, 0x93, 0x02, 2322 0x30, 0x12, 0x2e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 2323 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6f, 0x63, 0x63, 2324 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6e, 0x6f, 0x74, 0x65, 2325 0x73, 0x12, 0x6d, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x12, 0x1f, 0x2e, 0x67, 2326 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 2327 0x65, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 2328 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 2329 0x4e, 0x6f, 0x74, 0x65, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x76, 2330 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 2331 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 2332 0x12, 0x7e, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x21, 0x2e, 2333 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 2334 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 2335 0x1a, 0x22, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 2336 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 2337 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f, 0x76, 2338 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 2339 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6e, 0x6f, 0x74, 0x65, 0x73, 2340 0x12, 0x74, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x12, 0x22, 2341 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 2342 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 2343 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 2344 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 2345 0x02, 0x24, 0x2a, 0x22, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 2346 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6e, 0x6f, 2347 0x74, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x79, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 2348 0x4e, 0x6f, 0x74, 0x65, 0x12, 0x22, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 2349 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 2350 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 2351 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x22, 2352 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x22, 0x22, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 2353 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 2354 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x3a, 0x04, 0x6e, 0x6f, 0x74, 2355 0x65, 0x12, 0xa2, 0x01, 0x0a, 0x10, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 2356 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x28, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 2357 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 2358 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 2359 0x1a, 0x29, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 2360 0x61, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4e, 0x6f, 2361 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x39, 0x82, 0xd3, 0xe4, 2362 0x93, 0x02, 0x33, 0x22, 0x2e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 2363 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 2364 0x7d, 0x2f, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x3a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 2365 0x61, 0x74, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x79, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 2366 0x4e, 0x6f, 0x74, 0x65, 0x12, 0x22, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 2367 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x6f, 0x74, 2368 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 2369 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x22, 2370 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x32, 0x22, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 2371 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 2372 0x2f, 0x2a, 0x2f, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x04, 0x6e, 0x6f, 0x74, 2373 0x65, 0x12, 0xa8, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x4f, 0x63, 2374 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x2b, 0x2e, 0x67, 0x72, 0x61, 0x66, 2375 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 2376 0x4e, 0x6f, 0x74, 0x65, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 2377 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 2378 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x6f, 0x74, 2379 0x65, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 2380 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e, 0x2f, 0x76, 2381 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 2382 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 2383 0x2f, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0xd9, 0x01, 0x0a, 2384 0x22, 0x47, 0x65, 0x74, 0x56, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 2385 0x79, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x53, 0x75, 0x6d, 0x6d, 2386 0x61, 0x72, 0x79, 0x12, 0x3a, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 2387 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 2388 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 2389 0x73, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 2390 0x30, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 2391 0x31, 0x2e, 0x56, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x4f, 2392 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 2393 0x79, 0x22, 0x45, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x12, 0x3d, 0x2f, 0x76, 0x31, 0x62, 0x65, 2394 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 2395 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 2396 0x63, 0x65, 0x73, 0x3a, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 2397 0x79, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x1a, 0x54, 0xca, 0x41, 0x20, 0x63, 0x6f, 0x6e, 2398 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x67, 2399 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 2400 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 2401 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 2402 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x76, 2403 0x0a, 0x12, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x2e, 0x76, 0x31, 0x62, 2404 0x65, 0x74, 0x61, 0x31, 0x50, 0x01, 0x5a, 0x58, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 2405 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 2406 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x65, 2407 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 2408 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 2409 0x2f, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 0x3b, 0x67, 0x72, 0x61, 0x66, 0x65, 0x61, 0x73, 2410 0xa2, 0x02, 0x03, 0x47, 0x52, 0x41, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 2411} 2412 2413var ( 2414 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescOnce sync.Once 2415 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescData = file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDesc 2416) 2417 2418func file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescGZIP() []byte { 2419 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescOnce.Do(func() { 2420 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescData) 2421 }) 2422 return file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDescData 2423} 2424 2425var file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes = make([]protoimpl.MessageInfo, 26) 2426var file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_goTypes = []interface{}{ 2427 (*Occurrence)(nil), // 0: grafeas.v1beta1.Occurrence 2428 (*Resource)(nil), // 1: grafeas.v1beta1.Resource 2429 (*Note)(nil), // 2: grafeas.v1beta1.Note 2430 (*GetOccurrenceRequest)(nil), // 3: grafeas.v1beta1.GetOccurrenceRequest 2431 (*ListOccurrencesRequest)(nil), // 4: grafeas.v1beta1.ListOccurrencesRequest 2432 (*ListOccurrencesResponse)(nil), // 5: grafeas.v1beta1.ListOccurrencesResponse 2433 (*DeleteOccurrenceRequest)(nil), // 6: grafeas.v1beta1.DeleteOccurrenceRequest 2434 (*CreateOccurrenceRequest)(nil), // 7: grafeas.v1beta1.CreateOccurrenceRequest 2435 (*UpdateOccurrenceRequest)(nil), // 8: grafeas.v1beta1.UpdateOccurrenceRequest 2436 (*GetNoteRequest)(nil), // 9: grafeas.v1beta1.GetNoteRequest 2437 (*GetOccurrenceNoteRequest)(nil), // 10: grafeas.v1beta1.GetOccurrenceNoteRequest 2438 (*ListNotesRequest)(nil), // 11: grafeas.v1beta1.ListNotesRequest 2439 (*ListNotesResponse)(nil), // 12: grafeas.v1beta1.ListNotesResponse 2440 (*DeleteNoteRequest)(nil), // 13: grafeas.v1beta1.DeleteNoteRequest 2441 (*CreateNoteRequest)(nil), // 14: grafeas.v1beta1.CreateNoteRequest 2442 (*UpdateNoteRequest)(nil), // 15: grafeas.v1beta1.UpdateNoteRequest 2443 (*ListNoteOccurrencesRequest)(nil), // 16: grafeas.v1beta1.ListNoteOccurrencesRequest 2444 (*ListNoteOccurrencesResponse)(nil), // 17: grafeas.v1beta1.ListNoteOccurrencesResponse 2445 (*BatchCreateNotesRequest)(nil), // 18: grafeas.v1beta1.BatchCreateNotesRequest 2446 (*BatchCreateNotesResponse)(nil), // 19: grafeas.v1beta1.BatchCreateNotesResponse 2447 (*BatchCreateOccurrencesRequest)(nil), // 20: grafeas.v1beta1.BatchCreateOccurrencesRequest 2448 (*BatchCreateOccurrencesResponse)(nil), // 21: grafeas.v1beta1.BatchCreateOccurrencesResponse 2449 (*GetVulnerabilityOccurrencesSummaryRequest)(nil), // 22: grafeas.v1beta1.GetVulnerabilityOccurrencesSummaryRequest 2450 (*VulnerabilityOccurrencesSummary)(nil), // 23: grafeas.v1beta1.VulnerabilityOccurrencesSummary 2451 nil, // 24: grafeas.v1beta1.BatchCreateNotesRequest.NotesEntry 2452 (*VulnerabilityOccurrencesSummary_FixableTotalByDigest)(nil), // 25: grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest 2453 (common.NoteKind)(0), // 26: grafeas.v1beta1.NoteKind 2454 (*timestamppb.Timestamp)(nil), // 27: google.protobuf.Timestamp 2455 (*vulnerability.Details)(nil), // 28: grafeas.v1beta1.vulnerability.Details 2456 (*build.Details)(nil), // 29: grafeas.v1beta1.build.Details 2457 (*image.Details)(nil), // 30: grafeas.v1beta1.image.Details 2458 (*_package.Details)(nil), // 31: grafeas.v1beta1.package.Details 2459 (*deployment.Details)(nil), // 32: grafeas.v1beta1.deployment.Details 2460 (*discovery.Details)(nil), // 33: grafeas.v1beta1.discovery.Details 2461 (*attestation.Details)(nil), // 34: grafeas.v1beta1.attestation.Details 2462 (*provenance.Hash)(nil), // 35: grafeas.v1beta1.provenance.Hash 2463 (*common.RelatedUrl)(nil), // 36: grafeas.v1beta1.RelatedUrl 2464 (*vulnerability.Vulnerability)(nil), // 37: grafeas.v1beta1.vulnerability.Vulnerability 2465 (*build.Build)(nil), // 38: grafeas.v1beta1.build.Build 2466 (*image.Basis)(nil), // 39: grafeas.v1beta1.image.Basis 2467 (*_package.Package)(nil), // 40: grafeas.v1beta1.package.Package 2468 (*deployment.Deployable)(nil), // 41: grafeas.v1beta1.deployment.Deployable 2469 (*discovery.Discovery)(nil), // 42: grafeas.v1beta1.discovery.Discovery 2470 (*attestation.Authority)(nil), // 43: grafeas.v1beta1.attestation.Authority 2471 (*fieldmaskpb.FieldMask)(nil), // 44: google.protobuf.FieldMask 2472 (vulnerability.Severity)(0), // 45: grafeas.v1beta1.vulnerability.Severity 2473 (*emptypb.Empty)(nil), // 46: google.protobuf.Empty 2474} 2475var file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_depIdxs = []int32{ 2476 1, // 0: grafeas.v1beta1.Occurrence.resource:type_name -> grafeas.v1beta1.Resource 2477 26, // 1: grafeas.v1beta1.Occurrence.kind:type_name -> grafeas.v1beta1.NoteKind 2478 27, // 2: grafeas.v1beta1.Occurrence.create_time:type_name -> google.protobuf.Timestamp 2479 27, // 3: grafeas.v1beta1.Occurrence.update_time:type_name -> google.protobuf.Timestamp 2480 28, // 4: grafeas.v1beta1.Occurrence.vulnerability:type_name -> grafeas.v1beta1.vulnerability.Details 2481 29, // 5: grafeas.v1beta1.Occurrence.build:type_name -> grafeas.v1beta1.build.Details 2482 30, // 6: grafeas.v1beta1.Occurrence.derived_image:type_name -> grafeas.v1beta1.image.Details 2483 31, // 7: grafeas.v1beta1.Occurrence.installation:type_name -> grafeas.v1beta1.package.Details 2484 32, // 8: grafeas.v1beta1.Occurrence.deployment:type_name -> grafeas.v1beta1.deployment.Details 2485 33, // 9: grafeas.v1beta1.Occurrence.discovered:type_name -> grafeas.v1beta1.discovery.Details 2486 34, // 10: grafeas.v1beta1.Occurrence.attestation:type_name -> grafeas.v1beta1.attestation.Details 2487 35, // 11: grafeas.v1beta1.Resource.content_hash:type_name -> grafeas.v1beta1.provenance.Hash 2488 26, // 12: grafeas.v1beta1.Note.kind:type_name -> grafeas.v1beta1.NoteKind 2489 36, // 13: grafeas.v1beta1.Note.related_url:type_name -> grafeas.v1beta1.RelatedUrl 2490 27, // 14: grafeas.v1beta1.Note.expiration_time:type_name -> google.protobuf.Timestamp 2491 27, // 15: grafeas.v1beta1.Note.create_time:type_name -> google.protobuf.Timestamp 2492 27, // 16: grafeas.v1beta1.Note.update_time:type_name -> google.protobuf.Timestamp 2493 37, // 17: grafeas.v1beta1.Note.vulnerability:type_name -> grafeas.v1beta1.vulnerability.Vulnerability 2494 38, // 18: grafeas.v1beta1.Note.build:type_name -> grafeas.v1beta1.build.Build 2495 39, // 19: grafeas.v1beta1.Note.base_image:type_name -> grafeas.v1beta1.image.Basis 2496 40, // 20: grafeas.v1beta1.Note.package:type_name -> grafeas.v1beta1.package.Package 2497 41, // 21: grafeas.v1beta1.Note.deployable:type_name -> grafeas.v1beta1.deployment.Deployable 2498 42, // 22: grafeas.v1beta1.Note.discovery:type_name -> grafeas.v1beta1.discovery.Discovery 2499 43, // 23: grafeas.v1beta1.Note.attestation_authority:type_name -> grafeas.v1beta1.attestation.Authority 2500 0, // 24: grafeas.v1beta1.ListOccurrencesResponse.occurrences:type_name -> grafeas.v1beta1.Occurrence 2501 0, // 25: grafeas.v1beta1.CreateOccurrenceRequest.occurrence:type_name -> grafeas.v1beta1.Occurrence 2502 0, // 26: grafeas.v1beta1.UpdateOccurrenceRequest.occurrence:type_name -> grafeas.v1beta1.Occurrence 2503 44, // 27: grafeas.v1beta1.UpdateOccurrenceRequest.update_mask:type_name -> google.protobuf.FieldMask 2504 2, // 28: grafeas.v1beta1.ListNotesResponse.notes:type_name -> grafeas.v1beta1.Note 2505 2, // 29: grafeas.v1beta1.CreateNoteRequest.note:type_name -> grafeas.v1beta1.Note 2506 2, // 30: grafeas.v1beta1.UpdateNoteRequest.note:type_name -> grafeas.v1beta1.Note 2507 44, // 31: grafeas.v1beta1.UpdateNoteRequest.update_mask:type_name -> google.protobuf.FieldMask 2508 0, // 32: grafeas.v1beta1.ListNoteOccurrencesResponse.occurrences:type_name -> grafeas.v1beta1.Occurrence 2509 24, // 33: grafeas.v1beta1.BatchCreateNotesRequest.notes:type_name -> grafeas.v1beta1.BatchCreateNotesRequest.NotesEntry 2510 2, // 34: grafeas.v1beta1.BatchCreateNotesResponse.notes:type_name -> grafeas.v1beta1.Note 2511 0, // 35: grafeas.v1beta1.BatchCreateOccurrencesRequest.occurrences:type_name -> grafeas.v1beta1.Occurrence 2512 0, // 36: grafeas.v1beta1.BatchCreateOccurrencesResponse.occurrences:type_name -> grafeas.v1beta1.Occurrence 2513 25, // 37: grafeas.v1beta1.VulnerabilityOccurrencesSummary.counts:type_name -> grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest 2514 2, // 38: grafeas.v1beta1.BatchCreateNotesRequest.NotesEntry.value:type_name -> grafeas.v1beta1.Note 2515 1, // 39: grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest.resource:type_name -> grafeas.v1beta1.Resource 2516 45, // 40: grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest.severity:type_name -> grafeas.v1beta1.vulnerability.Severity 2517 3, // 41: grafeas.v1beta1.GrafeasV1Beta1.GetOccurrence:input_type -> grafeas.v1beta1.GetOccurrenceRequest 2518 4, // 42: grafeas.v1beta1.GrafeasV1Beta1.ListOccurrences:input_type -> grafeas.v1beta1.ListOccurrencesRequest 2519 6, // 43: grafeas.v1beta1.GrafeasV1Beta1.DeleteOccurrence:input_type -> grafeas.v1beta1.DeleteOccurrenceRequest 2520 7, // 44: grafeas.v1beta1.GrafeasV1Beta1.CreateOccurrence:input_type -> grafeas.v1beta1.CreateOccurrenceRequest 2521 20, // 45: grafeas.v1beta1.GrafeasV1Beta1.BatchCreateOccurrences:input_type -> grafeas.v1beta1.BatchCreateOccurrencesRequest 2522 8, // 46: grafeas.v1beta1.GrafeasV1Beta1.UpdateOccurrence:input_type -> grafeas.v1beta1.UpdateOccurrenceRequest 2523 10, // 47: grafeas.v1beta1.GrafeasV1Beta1.GetOccurrenceNote:input_type -> grafeas.v1beta1.GetOccurrenceNoteRequest 2524 9, // 48: grafeas.v1beta1.GrafeasV1Beta1.GetNote:input_type -> grafeas.v1beta1.GetNoteRequest 2525 11, // 49: grafeas.v1beta1.GrafeasV1Beta1.ListNotes:input_type -> grafeas.v1beta1.ListNotesRequest 2526 13, // 50: grafeas.v1beta1.GrafeasV1Beta1.DeleteNote:input_type -> grafeas.v1beta1.DeleteNoteRequest 2527 14, // 51: grafeas.v1beta1.GrafeasV1Beta1.CreateNote:input_type -> grafeas.v1beta1.CreateNoteRequest 2528 18, // 52: grafeas.v1beta1.GrafeasV1Beta1.BatchCreateNotes:input_type -> grafeas.v1beta1.BatchCreateNotesRequest 2529 15, // 53: grafeas.v1beta1.GrafeasV1Beta1.UpdateNote:input_type -> grafeas.v1beta1.UpdateNoteRequest 2530 16, // 54: grafeas.v1beta1.GrafeasV1Beta1.ListNoteOccurrences:input_type -> grafeas.v1beta1.ListNoteOccurrencesRequest 2531 22, // 55: grafeas.v1beta1.GrafeasV1Beta1.GetVulnerabilityOccurrencesSummary:input_type -> grafeas.v1beta1.GetVulnerabilityOccurrencesSummaryRequest 2532 0, // 56: grafeas.v1beta1.GrafeasV1Beta1.GetOccurrence:output_type -> grafeas.v1beta1.Occurrence 2533 5, // 57: grafeas.v1beta1.GrafeasV1Beta1.ListOccurrences:output_type -> grafeas.v1beta1.ListOccurrencesResponse 2534 46, // 58: grafeas.v1beta1.GrafeasV1Beta1.DeleteOccurrence:output_type -> google.protobuf.Empty 2535 0, // 59: grafeas.v1beta1.GrafeasV1Beta1.CreateOccurrence:output_type -> grafeas.v1beta1.Occurrence 2536 21, // 60: grafeas.v1beta1.GrafeasV1Beta1.BatchCreateOccurrences:output_type -> grafeas.v1beta1.BatchCreateOccurrencesResponse 2537 0, // 61: grafeas.v1beta1.GrafeasV1Beta1.UpdateOccurrence:output_type -> grafeas.v1beta1.Occurrence 2538 2, // 62: grafeas.v1beta1.GrafeasV1Beta1.GetOccurrenceNote:output_type -> grafeas.v1beta1.Note 2539 2, // 63: grafeas.v1beta1.GrafeasV1Beta1.GetNote:output_type -> grafeas.v1beta1.Note 2540 12, // 64: grafeas.v1beta1.GrafeasV1Beta1.ListNotes:output_type -> grafeas.v1beta1.ListNotesResponse 2541 46, // 65: grafeas.v1beta1.GrafeasV1Beta1.DeleteNote:output_type -> google.protobuf.Empty 2542 2, // 66: grafeas.v1beta1.GrafeasV1Beta1.CreateNote:output_type -> grafeas.v1beta1.Note 2543 19, // 67: grafeas.v1beta1.GrafeasV1Beta1.BatchCreateNotes:output_type -> grafeas.v1beta1.BatchCreateNotesResponse 2544 2, // 68: grafeas.v1beta1.GrafeasV1Beta1.UpdateNote:output_type -> grafeas.v1beta1.Note 2545 17, // 69: grafeas.v1beta1.GrafeasV1Beta1.ListNoteOccurrences:output_type -> grafeas.v1beta1.ListNoteOccurrencesResponse 2546 23, // 70: grafeas.v1beta1.GrafeasV1Beta1.GetVulnerabilityOccurrencesSummary:output_type -> grafeas.v1beta1.VulnerabilityOccurrencesSummary 2547 56, // [56:71] is the sub-list for method output_type 2548 41, // [41:56] is the sub-list for method input_type 2549 41, // [41:41] is the sub-list for extension type_name 2550 41, // [41:41] is the sub-list for extension extendee 2551 0, // [0:41] is the sub-list for field type_name 2552} 2553 2554func init() { file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_init() } 2555func file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_init() { 2556 if File_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto != nil { 2557 return 2558 } 2559 if !protoimpl.UnsafeEnabled { 2560 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 2561 switch v := v.(*Occurrence); i { 2562 case 0: 2563 return &v.state 2564 case 1: 2565 return &v.sizeCache 2566 case 2: 2567 return &v.unknownFields 2568 default: 2569 return nil 2570 } 2571 } 2572 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 2573 switch v := v.(*Resource); i { 2574 case 0: 2575 return &v.state 2576 case 1: 2577 return &v.sizeCache 2578 case 2: 2579 return &v.unknownFields 2580 default: 2581 return nil 2582 } 2583 } 2584 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 2585 switch v := v.(*Note); i { 2586 case 0: 2587 return &v.state 2588 case 1: 2589 return &v.sizeCache 2590 case 2: 2591 return &v.unknownFields 2592 default: 2593 return nil 2594 } 2595 } 2596 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 2597 switch v := v.(*GetOccurrenceRequest); i { 2598 case 0: 2599 return &v.state 2600 case 1: 2601 return &v.sizeCache 2602 case 2: 2603 return &v.unknownFields 2604 default: 2605 return nil 2606 } 2607 } 2608 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 2609 switch v := v.(*ListOccurrencesRequest); i { 2610 case 0: 2611 return &v.state 2612 case 1: 2613 return &v.sizeCache 2614 case 2: 2615 return &v.unknownFields 2616 default: 2617 return nil 2618 } 2619 } 2620 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 2621 switch v := v.(*ListOccurrencesResponse); i { 2622 case 0: 2623 return &v.state 2624 case 1: 2625 return &v.sizeCache 2626 case 2: 2627 return &v.unknownFields 2628 default: 2629 return nil 2630 } 2631 } 2632 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 2633 switch v := v.(*DeleteOccurrenceRequest); i { 2634 case 0: 2635 return &v.state 2636 case 1: 2637 return &v.sizeCache 2638 case 2: 2639 return &v.unknownFields 2640 default: 2641 return nil 2642 } 2643 } 2644 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 2645 switch v := v.(*CreateOccurrenceRequest); i { 2646 case 0: 2647 return &v.state 2648 case 1: 2649 return &v.sizeCache 2650 case 2: 2651 return &v.unknownFields 2652 default: 2653 return nil 2654 } 2655 } 2656 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 2657 switch v := v.(*UpdateOccurrenceRequest); i { 2658 case 0: 2659 return &v.state 2660 case 1: 2661 return &v.sizeCache 2662 case 2: 2663 return &v.unknownFields 2664 default: 2665 return nil 2666 } 2667 } 2668 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 2669 switch v := v.(*GetNoteRequest); i { 2670 case 0: 2671 return &v.state 2672 case 1: 2673 return &v.sizeCache 2674 case 2: 2675 return &v.unknownFields 2676 default: 2677 return nil 2678 } 2679 } 2680 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 2681 switch v := v.(*GetOccurrenceNoteRequest); i { 2682 case 0: 2683 return &v.state 2684 case 1: 2685 return &v.sizeCache 2686 case 2: 2687 return &v.unknownFields 2688 default: 2689 return nil 2690 } 2691 } 2692 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 2693 switch v := v.(*ListNotesRequest); i { 2694 case 0: 2695 return &v.state 2696 case 1: 2697 return &v.sizeCache 2698 case 2: 2699 return &v.unknownFields 2700 default: 2701 return nil 2702 } 2703 } 2704 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 2705 switch v := v.(*ListNotesResponse); i { 2706 case 0: 2707 return &v.state 2708 case 1: 2709 return &v.sizeCache 2710 case 2: 2711 return &v.unknownFields 2712 default: 2713 return nil 2714 } 2715 } 2716 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 2717 switch v := v.(*DeleteNoteRequest); i { 2718 case 0: 2719 return &v.state 2720 case 1: 2721 return &v.sizeCache 2722 case 2: 2723 return &v.unknownFields 2724 default: 2725 return nil 2726 } 2727 } 2728 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 2729 switch v := v.(*CreateNoteRequest); i { 2730 case 0: 2731 return &v.state 2732 case 1: 2733 return &v.sizeCache 2734 case 2: 2735 return &v.unknownFields 2736 default: 2737 return nil 2738 } 2739 } 2740 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 2741 switch v := v.(*UpdateNoteRequest); i { 2742 case 0: 2743 return &v.state 2744 case 1: 2745 return &v.sizeCache 2746 case 2: 2747 return &v.unknownFields 2748 default: 2749 return nil 2750 } 2751 } 2752 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 2753 switch v := v.(*ListNoteOccurrencesRequest); i { 2754 case 0: 2755 return &v.state 2756 case 1: 2757 return &v.sizeCache 2758 case 2: 2759 return &v.unknownFields 2760 default: 2761 return nil 2762 } 2763 } 2764 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 2765 switch v := v.(*ListNoteOccurrencesResponse); i { 2766 case 0: 2767 return &v.state 2768 case 1: 2769 return &v.sizeCache 2770 case 2: 2771 return &v.unknownFields 2772 default: 2773 return nil 2774 } 2775 } 2776 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { 2777 switch v := v.(*BatchCreateNotesRequest); i { 2778 case 0: 2779 return &v.state 2780 case 1: 2781 return &v.sizeCache 2782 case 2: 2783 return &v.unknownFields 2784 default: 2785 return nil 2786 } 2787 } 2788 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { 2789 switch v := v.(*BatchCreateNotesResponse); i { 2790 case 0: 2791 return &v.state 2792 case 1: 2793 return &v.sizeCache 2794 case 2: 2795 return &v.unknownFields 2796 default: 2797 return nil 2798 } 2799 } 2800 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { 2801 switch v := v.(*BatchCreateOccurrencesRequest); i { 2802 case 0: 2803 return &v.state 2804 case 1: 2805 return &v.sizeCache 2806 case 2: 2807 return &v.unknownFields 2808 default: 2809 return nil 2810 } 2811 } 2812 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { 2813 switch v := v.(*BatchCreateOccurrencesResponse); i { 2814 case 0: 2815 return &v.state 2816 case 1: 2817 return &v.sizeCache 2818 case 2: 2819 return &v.unknownFields 2820 default: 2821 return nil 2822 } 2823 } 2824 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { 2825 switch v := v.(*GetVulnerabilityOccurrencesSummaryRequest); i { 2826 case 0: 2827 return &v.state 2828 case 1: 2829 return &v.sizeCache 2830 case 2: 2831 return &v.unknownFields 2832 default: 2833 return nil 2834 } 2835 } 2836 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { 2837 switch v := v.(*VulnerabilityOccurrencesSummary); i { 2838 case 0: 2839 return &v.state 2840 case 1: 2841 return &v.sizeCache 2842 case 2: 2843 return &v.unknownFields 2844 default: 2845 return nil 2846 } 2847 } 2848 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { 2849 switch v := v.(*VulnerabilityOccurrencesSummary_FixableTotalByDigest); i { 2850 case 0: 2851 return &v.state 2852 case 1: 2853 return &v.sizeCache 2854 case 2: 2855 return &v.unknownFields 2856 default: 2857 return nil 2858 } 2859 } 2860 } 2861 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[0].OneofWrappers = []interface{}{ 2862 (*Occurrence_Vulnerability)(nil), 2863 (*Occurrence_Build)(nil), 2864 (*Occurrence_DerivedImage)(nil), 2865 (*Occurrence_Installation)(nil), 2866 (*Occurrence_Deployment)(nil), 2867 (*Occurrence_Discovered)(nil), 2868 (*Occurrence_Attestation)(nil), 2869 } 2870 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes[2].OneofWrappers = []interface{}{ 2871 (*Note_Vulnerability)(nil), 2872 (*Note_Build)(nil), 2873 (*Note_BaseImage)(nil), 2874 (*Note_Package)(nil), 2875 (*Note_Deployable)(nil), 2876 (*Note_Discovery)(nil), 2877 (*Note_AttestationAuthority)(nil), 2878 } 2879 type x struct{} 2880 out := protoimpl.TypeBuilder{ 2881 File: protoimpl.DescBuilder{ 2882 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 2883 RawDescriptor: file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDesc, 2884 NumEnums: 0, 2885 NumMessages: 26, 2886 NumExtensions: 0, 2887 NumServices: 1, 2888 }, 2889 GoTypes: file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_goTypes, 2890 DependencyIndexes: file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_depIdxs, 2891 MessageInfos: file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_msgTypes, 2892 }.Build() 2893 File_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto = out.File 2894 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_rawDesc = nil 2895 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_goTypes = nil 2896 file_google_devtools_containeranalysis_v1beta1_grafeas_grafeas_proto_depIdxs = nil 2897} 2898 2899// Reference imports to suppress errors if they are not otherwise used. 2900var _ context.Context 2901var _ grpc.ClientConnInterface 2902 2903// This is a compile-time assertion to ensure that this generated file 2904// is compatible with the grpc package it is being compiled against. 2905const _ = grpc.SupportPackageIsVersion6 2906 2907// GrafeasV1Beta1Client is the client API for GrafeasV1Beta1 service. 2908// 2909// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 2910type GrafeasV1Beta1Client interface { 2911 // Gets the specified occurrence. 2912 GetOccurrence(ctx context.Context, in *GetOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) 2913 // Lists occurrences for the specified project. 2914 ListOccurrences(ctx context.Context, in *ListOccurrencesRequest, opts ...grpc.CallOption) (*ListOccurrencesResponse, error) 2915 // Deletes the specified occurrence. For example, use this method to delete an 2916 // occurrence when the occurrence is no longer applicable for the given 2917 // resource. 2918 DeleteOccurrence(ctx context.Context, in *DeleteOccurrenceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 2919 // Creates a new occurrence. 2920 CreateOccurrence(ctx context.Context, in *CreateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) 2921 // Creates new occurrences in batch. 2922 BatchCreateOccurrences(ctx context.Context, in *BatchCreateOccurrencesRequest, opts ...grpc.CallOption) (*BatchCreateOccurrencesResponse, error) 2923 // Updates the specified occurrence. 2924 UpdateOccurrence(ctx context.Context, in *UpdateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) 2925 // Gets the note attached to the specified occurrence. Consumer projects can 2926 // use this method to get a note that belongs to a provider project. 2927 GetOccurrenceNote(ctx context.Context, in *GetOccurrenceNoteRequest, opts ...grpc.CallOption) (*Note, error) 2928 // Gets the specified note. 2929 GetNote(ctx context.Context, in *GetNoteRequest, opts ...grpc.CallOption) (*Note, error) 2930 // Lists notes for the specified project. 2931 ListNotes(ctx context.Context, in *ListNotesRequest, opts ...grpc.CallOption) (*ListNotesResponse, error) 2932 // Deletes the specified note. 2933 DeleteNote(ctx context.Context, in *DeleteNoteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 2934 // Creates a new note. 2935 CreateNote(ctx context.Context, in *CreateNoteRequest, opts ...grpc.CallOption) (*Note, error) 2936 // Creates new notes in batch. 2937 BatchCreateNotes(ctx context.Context, in *BatchCreateNotesRequest, opts ...grpc.CallOption) (*BatchCreateNotesResponse, error) 2938 // Updates the specified note. 2939 UpdateNote(ctx context.Context, in *UpdateNoteRequest, opts ...grpc.CallOption) (*Note, error) 2940 // Lists occurrences referencing the specified note. Provider projects can use 2941 // this method to get all occurrences across consumer projects referencing the 2942 // specified note. 2943 ListNoteOccurrences(ctx context.Context, in *ListNoteOccurrencesRequest, opts ...grpc.CallOption) (*ListNoteOccurrencesResponse, error) 2944 // Gets a summary of the number and severity of occurrences. 2945 GetVulnerabilityOccurrencesSummary(ctx context.Context, in *GetVulnerabilityOccurrencesSummaryRequest, opts ...grpc.CallOption) (*VulnerabilityOccurrencesSummary, error) 2946} 2947 2948type grafeasV1Beta1Client struct { 2949 cc grpc.ClientConnInterface 2950} 2951 2952func NewGrafeasV1Beta1Client(cc grpc.ClientConnInterface) GrafeasV1Beta1Client { 2953 return &grafeasV1Beta1Client{cc} 2954} 2955 2956func (c *grafeasV1Beta1Client) GetOccurrence(ctx context.Context, in *GetOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) { 2957 out := new(Occurrence) 2958 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/GetOccurrence", in, out, opts...) 2959 if err != nil { 2960 return nil, err 2961 } 2962 return out, nil 2963} 2964 2965func (c *grafeasV1Beta1Client) ListOccurrences(ctx context.Context, in *ListOccurrencesRequest, opts ...grpc.CallOption) (*ListOccurrencesResponse, error) { 2966 out := new(ListOccurrencesResponse) 2967 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/ListOccurrences", in, out, opts...) 2968 if err != nil { 2969 return nil, err 2970 } 2971 return out, nil 2972} 2973 2974func (c *grafeasV1Beta1Client) DeleteOccurrence(ctx context.Context, in *DeleteOccurrenceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 2975 out := new(emptypb.Empty) 2976 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/DeleteOccurrence", in, out, opts...) 2977 if err != nil { 2978 return nil, err 2979 } 2980 return out, nil 2981} 2982 2983func (c *grafeasV1Beta1Client) CreateOccurrence(ctx context.Context, in *CreateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) { 2984 out := new(Occurrence) 2985 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/CreateOccurrence", in, out, opts...) 2986 if err != nil { 2987 return nil, err 2988 } 2989 return out, nil 2990} 2991 2992func (c *grafeasV1Beta1Client) BatchCreateOccurrences(ctx context.Context, in *BatchCreateOccurrencesRequest, opts ...grpc.CallOption) (*BatchCreateOccurrencesResponse, error) { 2993 out := new(BatchCreateOccurrencesResponse) 2994 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/BatchCreateOccurrences", in, out, opts...) 2995 if err != nil { 2996 return nil, err 2997 } 2998 return out, nil 2999} 3000 3001func (c *grafeasV1Beta1Client) UpdateOccurrence(ctx context.Context, in *UpdateOccurrenceRequest, opts ...grpc.CallOption) (*Occurrence, error) { 3002 out := new(Occurrence) 3003 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/UpdateOccurrence", in, out, opts...) 3004 if err != nil { 3005 return nil, err 3006 } 3007 return out, nil 3008} 3009 3010func (c *grafeasV1Beta1Client) GetOccurrenceNote(ctx context.Context, in *GetOccurrenceNoteRequest, opts ...grpc.CallOption) (*Note, error) { 3011 out := new(Note) 3012 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/GetOccurrenceNote", in, out, opts...) 3013 if err != nil { 3014 return nil, err 3015 } 3016 return out, nil 3017} 3018 3019func (c *grafeasV1Beta1Client) GetNote(ctx context.Context, in *GetNoteRequest, opts ...grpc.CallOption) (*Note, error) { 3020 out := new(Note) 3021 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/GetNote", in, out, opts...) 3022 if err != nil { 3023 return nil, err 3024 } 3025 return out, nil 3026} 3027 3028func (c *grafeasV1Beta1Client) ListNotes(ctx context.Context, in *ListNotesRequest, opts ...grpc.CallOption) (*ListNotesResponse, error) { 3029 out := new(ListNotesResponse) 3030 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/ListNotes", in, out, opts...) 3031 if err != nil { 3032 return nil, err 3033 } 3034 return out, nil 3035} 3036 3037func (c *grafeasV1Beta1Client) DeleteNote(ctx context.Context, in *DeleteNoteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 3038 out := new(emptypb.Empty) 3039 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/DeleteNote", in, out, opts...) 3040 if err != nil { 3041 return nil, err 3042 } 3043 return out, nil 3044} 3045 3046func (c *grafeasV1Beta1Client) CreateNote(ctx context.Context, in *CreateNoteRequest, opts ...grpc.CallOption) (*Note, error) { 3047 out := new(Note) 3048 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/CreateNote", in, out, opts...) 3049 if err != nil { 3050 return nil, err 3051 } 3052 return out, nil 3053} 3054 3055func (c *grafeasV1Beta1Client) BatchCreateNotes(ctx context.Context, in *BatchCreateNotesRequest, opts ...grpc.CallOption) (*BatchCreateNotesResponse, error) { 3056 out := new(BatchCreateNotesResponse) 3057 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/BatchCreateNotes", in, out, opts...) 3058 if err != nil { 3059 return nil, err 3060 } 3061 return out, nil 3062} 3063 3064func (c *grafeasV1Beta1Client) UpdateNote(ctx context.Context, in *UpdateNoteRequest, opts ...grpc.CallOption) (*Note, error) { 3065 out := new(Note) 3066 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/UpdateNote", in, out, opts...) 3067 if err != nil { 3068 return nil, err 3069 } 3070 return out, nil 3071} 3072 3073func (c *grafeasV1Beta1Client) ListNoteOccurrences(ctx context.Context, in *ListNoteOccurrencesRequest, opts ...grpc.CallOption) (*ListNoteOccurrencesResponse, error) { 3074 out := new(ListNoteOccurrencesResponse) 3075 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/ListNoteOccurrences", in, out, opts...) 3076 if err != nil { 3077 return nil, err 3078 } 3079 return out, nil 3080} 3081 3082func (c *grafeasV1Beta1Client) GetVulnerabilityOccurrencesSummary(ctx context.Context, in *GetVulnerabilityOccurrencesSummaryRequest, opts ...grpc.CallOption) (*VulnerabilityOccurrencesSummary, error) { 3083 out := new(VulnerabilityOccurrencesSummary) 3084 err := c.cc.Invoke(ctx, "/grafeas.v1beta1.GrafeasV1Beta1/GetVulnerabilityOccurrencesSummary", in, out, opts...) 3085 if err != nil { 3086 return nil, err 3087 } 3088 return out, nil 3089} 3090 3091// GrafeasV1Beta1Server is the server API for GrafeasV1Beta1 service. 3092type GrafeasV1Beta1Server interface { 3093 // Gets the specified occurrence. 3094 GetOccurrence(context.Context, *GetOccurrenceRequest) (*Occurrence, error) 3095 // Lists occurrences for the specified project. 3096 ListOccurrences(context.Context, *ListOccurrencesRequest) (*ListOccurrencesResponse, error) 3097 // Deletes the specified occurrence. For example, use this method to delete an 3098 // occurrence when the occurrence is no longer applicable for the given 3099 // resource. 3100 DeleteOccurrence(context.Context, *DeleteOccurrenceRequest) (*emptypb.Empty, error) 3101 // Creates a new occurrence. 3102 CreateOccurrence(context.Context, *CreateOccurrenceRequest) (*Occurrence, error) 3103 // Creates new occurrences in batch. 3104 BatchCreateOccurrences(context.Context, *BatchCreateOccurrencesRequest) (*BatchCreateOccurrencesResponse, error) 3105 // Updates the specified occurrence. 3106 UpdateOccurrence(context.Context, *UpdateOccurrenceRequest) (*Occurrence, error) 3107 // Gets the note attached to the specified occurrence. Consumer projects can 3108 // use this method to get a note that belongs to a provider project. 3109 GetOccurrenceNote(context.Context, *GetOccurrenceNoteRequest) (*Note, error) 3110 // Gets the specified note. 3111 GetNote(context.Context, *GetNoteRequest) (*Note, error) 3112 // Lists notes for the specified project. 3113 ListNotes(context.Context, *ListNotesRequest) (*ListNotesResponse, error) 3114 // Deletes the specified note. 3115 DeleteNote(context.Context, *DeleteNoteRequest) (*emptypb.Empty, error) 3116 // Creates a new note. 3117 CreateNote(context.Context, *CreateNoteRequest) (*Note, error) 3118 // Creates new notes in batch. 3119 BatchCreateNotes(context.Context, *BatchCreateNotesRequest) (*BatchCreateNotesResponse, error) 3120 // Updates the specified note. 3121 UpdateNote(context.Context, *UpdateNoteRequest) (*Note, error) 3122 // Lists occurrences referencing the specified note. Provider projects can use 3123 // this method to get all occurrences across consumer projects referencing the 3124 // specified note. 3125 ListNoteOccurrences(context.Context, *ListNoteOccurrencesRequest) (*ListNoteOccurrencesResponse, error) 3126 // Gets a summary of the number and severity of occurrences. 3127 GetVulnerabilityOccurrencesSummary(context.Context, *GetVulnerabilityOccurrencesSummaryRequest) (*VulnerabilityOccurrencesSummary, error) 3128} 3129 3130// UnimplementedGrafeasV1Beta1Server can be embedded to have forward compatible implementations. 3131type UnimplementedGrafeasV1Beta1Server struct { 3132} 3133 3134func (*UnimplementedGrafeasV1Beta1Server) GetOccurrence(context.Context, *GetOccurrenceRequest) (*Occurrence, error) { 3135 return nil, status.Errorf(codes.Unimplemented, "method GetOccurrence not implemented") 3136} 3137func (*UnimplementedGrafeasV1Beta1Server) ListOccurrences(context.Context, *ListOccurrencesRequest) (*ListOccurrencesResponse, error) { 3138 return nil, status.Errorf(codes.Unimplemented, "method ListOccurrences not implemented") 3139} 3140func (*UnimplementedGrafeasV1Beta1Server) DeleteOccurrence(context.Context, *DeleteOccurrenceRequest) (*emptypb.Empty, error) { 3141 return nil, status.Errorf(codes.Unimplemented, "method DeleteOccurrence not implemented") 3142} 3143func (*UnimplementedGrafeasV1Beta1Server) CreateOccurrence(context.Context, *CreateOccurrenceRequest) (*Occurrence, error) { 3144 return nil, status.Errorf(codes.Unimplemented, "method CreateOccurrence not implemented") 3145} 3146func (*UnimplementedGrafeasV1Beta1Server) BatchCreateOccurrences(context.Context, *BatchCreateOccurrencesRequest) (*BatchCreateOccurrencesResponse, error) { 3147 return nil, status.Errorf(codes.Unimplemented, "method BatchCreateOccurrences not implemented") 3148} 3149func (*UnimplementedGrafeasV1Beta1Server) UpdateOccurrence(context.Context, *UpdateOccurrenceRequest) (*Occurrence, error) { 3150 return nil, status.Errorf(codes.Unimplemented, "method UpdateOccurrence not implemented") 3151} 3152func (*UnimplementedGrafeasV1Beta1Server) GetOccurrenceNote(context.Context, *GetOccurrenceNoteRequest) (*Note, error) { 3153 return nil, status.Errorf(codes.Unimplemented, "method GetOccurrenceNote not implemented") 3154} 3155func (*UnimplementedGrafeasV1Beta1Server) GetNote(context.Context, *GetNoteRequest) (*Note, error) { 3156 return nil, status.Errorf(codes.Unimplemented, "method GetNote not implemented") 3157} 3158func (*UnimplementedGrafeasV1Beta1Server) ListNotes(context.Context, *ListNotesRequest) (*ListNotesResponse, error) { 3159 return nil, status.Errorf(codes.Unimplemented, "method ListNotes not implemented") 3160} 3161func (*UnimplementedGrafeasV1Beta1Server) DeleteNote(context.Context, *DeleteNoteRequest) (*emptypb.Empty, error) { 3162 return nil, status.Errorf(codes.Unimplemented, "method DeleteNote not implemented") 3163} 3164func (*UnimplementedGrafeasV1Beta1Server) CreateNote(context.Context, *CreateNoteRequest) (*Note, error) { 3165 return nil, status.Errorf(codes.Unimplemented, "method CreateNote not implemented") 3166} 3167func (*UnimplementedGrafeasV1Beta1Server) BatchCreateNotes(context.Context, *BatchCreateNotesRequest) (*BatchCreateNotesResponse, error) { 3168 return nil, status.Errorf(codes.Unimplemented, "method BatchCreateNotes not implemented") 3169} 3170func (*UnimplementedGrafeasV1Beta1Server) UpdateNote(context.Context, *UpdateNoteRequest) (*Note, error) { 3171 return nil, status.Errorf(codes.Unimplemented, "method UpdateNote not implemented") 3172} 3173func (*UnimplementedGrafeasV1Beta1Server) ListNoteOccurrences(context.Context, *ListNoteOccurrencesRequest) (*ListNoteOccurrencesResponse, error) { 3174 return nil, status.Errorf(codes.Unimplemented, "method ListNoteOccurrences not implemented") 3175} 3176func (*UnimplementedGrafeasV1Beta1Server) GetVulnerabilityOccurrencesSummary(context.Context, *GetVulnerabilityOccurrencesSummaryRequest) (*VulnerabilityOccurrencesSummary, error) { 3177 return nil, status.Errorf(codes.Unimplemented, "method GetVulnerabilityOccurrencesSummary not implemented") 3178} 3179 3180func RegisterGrafeasV1Beta1Server(s *grpc.Server, srv GrafeasV1Beta1Server) { 3181 s.RegisterService(&_GrafeasV1Beta1_serviceDesc, srv) 3182} 3183 3184func _GrafeasV1Beta1_GetOccurrence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3185 in := new(GetOccurrenceRequest) 3186 if err := dec(in); err != nil { 3187 return nil, err 3188 } 3189 if interceptor == nil { 3190 return srv.(GrafeasV1Beta1Server).GetOccurrence(ctx, in) 3191 } 3192 info := &grpc.UnaryServerInfo{ 3193 Server: srv, 3194 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/GetOccurrence", 3195 } 3196 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3197 return srv.(GrafeasV1Beta1Server).GetOccurrence(ctx, req.(*GetOccurrenceRequest)) 3198 } 3199 return interceptor(ctx, in, info, handler) 3200} 3201 3202func _GrafeasV1Beta1_ListOccurrences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3203 in := new(ListOccurrencesRequest) 3204 if err := dec(in); err != nil { 3205 return nil, err 3206 } 3207 if interceptor == nil { 3208 return srv.(GrafeasV1Beta1Server).ListOccurrences(ctx, in) 3209 } 3210 info := &grpc.UnaryServerInfo{ 3211 Server: srv, 3212 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/ListOccurrences", 3213 } 3214 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3215 return srv.(GrafeasV1Beta1Server).ListOccurrences(ctx, req.(*ListOccurrencesRequest)) 3216 } 3217 return interceptor(ctx, in, info, handler) 3218} 3219 3220func _GrafeasV1Beta1_DeleteOccurrence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3221 in := new(DeleteOccurrenceRequest) 3222 if err := dec(in); err != nil { 3223 return nil, err 3224 } 3225 if interceptor == nil { 3226 return srv.(GrafeasV1Beta1Server).DeleteOccurrence(ctx, in) 3227 } 3228 info := &grpc.UnaryServerInfo{ 3229 Server: srv, 3230 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/DeleteOccurrence", 3231 } 3232 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3233 return srv.(GrafeasV1Beta1Server).DeleteOccurrence(ctx, req.(*DeleteOccurrenceRequest)) 3234 } 3235 return interceptor(ctx, in, info, handler) 3236} 3237 3238func _GrafeasV1Beta1_CreateOccurrence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3239 in := new(CreateOccurrenceRequest) 3240 if err := dec(in); err != nil { 3241 return nil, err 3242 } 3243 if interceptor == nil { 3244 return srv.(GrafeasV1Beta1Server).CreateOccurrence(ctx, in) 3245 } 3246 info := &grpc.UnaryServerInfo{ 3247 Server: srv, 3248 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/CreateOccurrence", 3249 } 3250 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3251 return srv.(GrafeasV1Beta1Server).CreateOccurrence(ctx, req.(*CreateOccurrenceRequest)) 3252 } 3253 return interceptor(ctx, in, info, handler) 3254} 3255 3256func _GrafeasV1Beta1_BatchCreateOccurrences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3257 in := new(BatchCreateOccurrencesRequest) 3258 if err := dec(in); err != nil { 3259 return nil, err 3260 } 3261 if interceptor == nil { 3262 return srv.(GrafeasV1Beta1Server).BatchCreateOccurrences(ctx, in) 3263 } 3264 info := &grpc.UnaryServerInfo{ 3265 Server: srv, 3266 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/BatchCreateOccurrences", 3267 } 3268 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3269 return srv.(GrafeasV1Beta1Server).BatchCreateOccurrences(ctx, req.(*BatchCreateOccurrencesRequest)) 3270 } 3271 return interceptor(ctx, in, info, handler) 3272} 3273 3274func _GrafeasV1Beta1_UpdateOccurrence_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3275 in := new(UpdateOccurrenceRequest) 3276 if err := dec(in); err != nil { 3277 return nil, err 3278 } 3279 if interceptor == nil { 3280 return srv.(GrafeasV1Beta1Server).UpdateOccurrence(ctx, in) 3281 } 3282 info := &grpc.UnaryServerInfo{ 3283 Server: srv, 3284 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/UpdateOccurrence", 3285 } 3286 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3287 return srv.(GrafeasV1Beta1Server).UpdateOccurrence(ctx, req.(*UpdateOccurrenceRequest)) 3288 } 3289 return interceptor(ctx, in, info, handler) 3290} 3291 3292func _GrafeasV1Beta1_GetOccurrenceNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3293 in := new(GetOccurrenceNoteRequest) 3294 if err := dec(in); err != nil { 3295 return nil, err 3296 } 3297 if interceptor == nil { 3298 return srv.(GrafeasV1Beta1Server).GetOccurrenceNote(ctx, in) 3299 } 3300 info := &grpc.UnaryServerInfo{ 3301 Server: srv, 3302 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/GetOccurrenceNote", 3303 } 3304 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3305 return srv.(GrafeasV1Beta1Server).GetOccurrenceNote(ctx, req.(*GetOccurrenceNoteRequest)) 3306 } 3307 return interceptor(ctx, in, info, handler) 3308} 3309 3310func _GrafeasV1Beta1_GetNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3311 in := new(GetNoteRequest) 3312 if err := dec(in); err != nil { 3313 return nil, err 3314 } 3315 if interceptor == nil { 3316 return srv.(GrafeasV1Beta1Server).GetNote(ctx, in) 3317 } 3318 info := &grpc.UnaryServerInfo{ 3319 Server: srv, 3320 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/GetNote", 3321 } 3322 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3323 return srv.(GrafeasV1Beta1Server).GetNote(ctx, req.(*GetNoteRequest)) 3324 } 3325 return interceptor(ctx, in, info, handler) 3326} 3327 3328func _GrafeasV1Beta1_ListNotes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3329 in := new(ListNotesRequest) 3330 if err := dec(in); err != nil { 3331 return nil, err 3332 } 3333 if interceptor == nil { 3334 return srv.(GrafeasV1Beta1Server).ListNotes(ctx, in) 3335 } 3336 info := &grpc.UnaryServerInfo{ 3337 Server: srv, 3338 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/ListNotes", 3339 } 3340 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3341 return srv.(GrafeasV1Beta1Server).ListNotes(ctx, req.(*ListNotesRequest)) 3342 } 3343 return interceptor(ctx, in, info, handler) 3344} 3345 3346func _GrafeasV1Beta1_DeleteNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3347 in := new(DeleteNoteRequest) 3348 if err := dec(in); err != nil { 3349 return nil, err 3350 } 3351 if interceptor == nil { 3352 return srv.(GrafeasV1Beta1Server).DeleteNote(ctx, in) 3353 } 3354 info := &grpc.UnaryServerInfo{ 3355 Server: srv, 3356 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/DeleteNote", 3357 } 3358 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3359 return srv.(GrafeasV1Beta1Server).DeleteNote(ctx, req.(*DeleteNoteRequest)) 3360 } 3361 return interceptor(ctx, in, info, handler) 3362} 3363 3364func _GrafeasV1Beta1_CreateNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3365 in := new(CreateNoteRequest) 3366 if err := dec(in); err != nil { 3367 return nil, err 3368 } 3369 if interceptor == nil { 3370 return srv.(GrafeasV1Beta1Server).CreateNote(ctx, in) 3371 } 3372 info := &grpc.UnaryServerInfo{ 3373 Server: srv, 3374 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/CreateNote", 3375 } 3376 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3377 return srv.(GrafeasV1Beta1Server).CreateNote(ctx, req.(*CreateNoteRequest)) 3378 } 3379 return interceptor(ctx, in, info, handler) 3380} 3381 3382func _GrafeasV1Beta1_BatchCreateNotes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3383 in := new(BatchCreateNotesRequest) 3384 if err := dec(in); err != nil { 3385 return nil, err 3386 } 3387 if interceptor == nil { 3388 return srv.(GrafeasV1Beta1Server).BatchCreateNotes(ctx, in) 3389 } 3390 info := &grpc.UnaryServerInfo{ 3391 Server: srv, 3392 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/BatchCreateNotes", 3393 } 3394 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3395 return srv.(GrafeasV1Beta1Server).BatchCreateNotes(ctx, req.(*BatchCreateNotesRequest)) 3396 } 3397 return interceptor(ctx, in, info, handler) 3398} 3399 3400func _GrafeasV1Beta1_UpdateNote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3401 in := new(UpdateNoteRequest) 3402 if err := dec(in); err != nil { 3403 return nil, err 3404 } 3405 if interceptor == nil { 3406 return srv.(GrafeasV1Beta1Server).UpdateNote(ctx, in) 3407 } 3408 info := &grpc.UnaryServerInfo{ 3409 Server: srv, 3410 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/UpdateNote", 3411 } 3412 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3413 return srv.(GrafeasV1Beta1Server).UpdateNote(ctx, req.(*UpdateNoteRequest)) 3414 } 3415 return interceptor(ctx, in, info, handler) 3416} 3417 3418func _GrafeasV1Beta1_ListNoteOccurrences_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3419 in := new(ListNoteOccurrencesRequest) 3420 if err := dec(in); err != nil { 3421 return nil, err 3422 } 3423 if interceptor == nil { 3424 return srv.(GrafeasV1Beta1Server).ListNoteOccurrences(ctx, in) 3425 } 3426 info := &grpc.UnaryServerInfo{ 3427 Server: srv, 3428 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/ListNoteOccurrences", 3429 } 3430 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3431 return srv.(GrafeasV1Beta1Server).ListNoteOccurrences(ctx, req.(*ListNoteOccurrencesRequest)) 3432 } 3433 return interceptor(ctx, in, info, handler) 3434} 3435 3436func _GrafeasV1Beta1_GetVulnerabilityOccurrencesSummary_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 3437 in := new(GetVulnerabilityOccurrencesSummaryRequest) 3438 if err := dec(in); err != nil { 3439 return nil, err 3440 } 3441 if interceptor == nil { 3442 return srv.(GrafeasV1Beta1Server).GetVulnerabilityOccurrencesSummary(ctx, in) 3443 } 3444 info := &grpc.UnaryServerInfo{ 3445 Server: srv, 3446 FullMethod: "/grafeas.v1beta1.GrafeasV1Beta1/GetVulnerabilityOccurrencesSummary", 3447 } 3448 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 3449 return srv.(GrafeasV1Beta1Server).GetVulnerabilityOccurrencesSummary(ctx, req.(*GetVulnerabilityOccurrencesSummaryRequest)) 3450 } 3451 return interceptor(ctx, in, info, handler) 3452} 3453 3454var _GrafeasV1Beta1_serviceDesc = grpc.ServiceDesc{ 3455 ServiceName: "grafeas.v1beta1.GrafeasV1Beta1", 3456 HandlerType: (*GrafeasV1Beta1Server)(nil), 3457 Methods: []grpc.MethodDesc{ 3458 { 3459 MethodName: "GetOccurrence", 3460 Handler: _GrafeasV1Beta1_GetOccurrence_Handler, 3461 }, 3462 { 3463 MethodName: "ListOccurrences", 3464 Handler: _GrafeasV1Beta1_ListOccurrences_Handler, 3465 }, 3466 { 3467 MethodName: "DeleteOccurrence", 3468 Handler: _GrafeasV1Beta1_DeleteOccurrence_Handler, 3469 }, 3470 { 3471 MethodName: "CreateOccurrence", 3472 Handler: _GrafeasV1Beta1_CreateOccurrence_Handler, 3473 }, 3474 { 3475 MethodName: "BatchCreateOccurrences", 3476 Handler: _GrafeasV1Beta1_BatchCreateOccurrences_Handler, 3477 }, 3478 { 3479 MethodName: "UpdateOccurrence", 3480 Handler: _GrafeasV1Beta1_UpdateOccurrence_Handler, 3481 }, 3482 { 3483 MethodName: "GetOccurrenceNote", 3484 Handler: _GrafeasV1Beta1_GetOccurrenceNote_Handler, 3485 }, 3486 { 3487 MethodName: "GetNote", 3488 Handler: _GrafeasV1Beta1_GetNote_Handler, 3489 }, 3490 { 3491 MethodName: "ListNotes", 3492 Handler: _GrafeasV1Beta1_ListNotes_Handler, 3493 }, 3494 { 3495 MethodName: "DeleteNote", 3496 Handler: _GrafeasV1Beta1_DeleteNote_Handler, 3497 }, 3498 { 3499 MethodName: "CreateNote", 3500 Handler: _GrafeasV1Beta1_CreateNote_Handler, 3501 }, 3502 { 3503 MethodName: "BatchCreateNotes", 3504 Handler: _GrafeasV1Beta1_BatchCreateNotes_Handler, 3505 }, 3506 { 3507 MethodName: "UpdateNote", 3508 Handler: _GrafeasV1Beta1_UpdateNote_Handler, 3509 }, 3510 { 3511 MethodName: "ListNoteOccurrences", 3512 Handler: _GrafeasV1Beta1_ListNoteOccurrences_Handler, 3513 }, 3514 { 3515 MethodName: "GetVulnerabilityOccurrencesSummary", 3516 Handler: _GrafeasV1Beta1_GetVulnerabilityOccurrencesSummary_Handler, 3517 }, 3518 }, 3519 Streams: []grpc.StreamDesc{}, 3520 Metadata: "google/devtools/containeranalysis/v1beta1/grafeas/grafeas.proto", 3521} 3522