1// Copyright 2019 Google LLC. 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 16// Code generated by protoc-gen-go. DO NOT EDIT. 17// versions: 18// protoc-gen-go v1.26.0 19// protoc v3.12.2 20// source: google/devtools/containeranalysis/v1beta1/containeranalysis.proto 21 22package containeranalysis 23 24import ( 25 context "context" 26 reflect "reflect" 27 sync "sync" 28 29 _ "google.golang.org/genproto/googleapis/api/annotations" 30 v1 "google.golang.org/genproto/googleapis/iam/v1" 31 grpc "google.golang.org/grpc" 32 codes "google.golang.org/grpc/codes" 33 status "google.golang.org/grpc/status" 34 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 35 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 36 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 37) 38 39const ( 40 // Verify that this generated code is sufficiently up-to-date. 41 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 42 // Verify that runtime/protoimpl is sufficiently up-to-date. 43 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 44) 45 46// A scan configuration specifies whether Cloud components in a project have a 47// particular type of analysis being run. For example, it can configure whether 48// vulnerability scanning is being done on Docker images or not. 49type ScanConfig struct { 50 state protoimpl.MessageState 51 sizeCache protoimpl.SizeCache 52 unknownFields protoimpl.UnknownFields 53 54 // Output only. The name of the scan configuration in the form of 55 // `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`. 56 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 57 // Output only. A human-readable description of what the scan configuration 58 // does. 59 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` 60 // Whether the scan is enabled. 61 Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` 62 // Output only. The time this scan config was created. 63 CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 64 // Output only. The time this scan config was last updated. 65 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 66} 67 68func (x *ScanConfig) Reset() { 69 *x = ScanConfig{} 70 if protoimpl.UnsafeEnabled { 71 mi := &file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_msgTypes[0] 72 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 73 ms.StoreMessageInfo(mi) 74 } 75} 76 77func (x *ScanConfig) String() string { 78 return protoimpl.X.MessageStringOf(x) 79} 80 81func (*ScanConfig) ProtoMessage() {} 82 83func (x *ScanConfig) ProtoReflect() protoreflect.Message { 84 mi := &file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_msgTypes[0] 85 if protoimpl.UnsafeEnabled && x != nil { 86 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 87 if ms.LoadMessageInfo() == nil { 88 ms.StoreMessageInfo(mi) 89 } 90 return ms 91 } 92 return mi.MessageOf(x) 93} 94 95// Deprecated: Use ScanConfig.ProtoReflect.Descriptor instead. 96func (*ScanConfig) Descriptor() ([]byte, []int) { 97 return file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_rawDescGZIP(), []int{0} 98} 99 100func (x *ScanConfig) GetName() string { 101 if x != nil { 102 return x.Name 103 } 104 return "" 105} 106 107func (x *ScanConfig) GetDescription() string { 108 if x != nil { 109 return x.Description 110 } 111 return "" 112} 113 114func (x *ScanConfig) GetEnabled() bool { 115 if x != nil { 116 return x.Enabled 117 } 118 return false 119} 120 121func (x *ScanConfig) GetCreateTime() *timestamppb.Timestamp { 122 if x != nil { 123 return x.CreateTime 124 } 125 return nil 126} 127 128func (x *ScanConfig) GetUpdateTime() *timestamppb.Timestamp { 129 if x != nil { 130 return x.UpdateTime 131 } 132 return nil 133} 134 135// Request to get a scan configuration. 136type GetScanConfigRequest struct { 137 state protoimpl.MessageState 138 sizeCache protoimpl.SizeCache 139 unknownFields protoimpl.UnknownFields 140 141 // Required. The name of the scan configuration in the form of 142 // `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`. 143 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 144} 145 146func (x *GetScanConfigRequest) Reset() { 147 *x = GetScanConfigRequest{} 148 if protoimpl.UnsafeEnabled { 149 mi := &file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_msgTypes[1] 150 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 151 ms.StoreMessageInfo(mi) 152 } 153} 154 155func (x *GetScanConfigRequest) String() string { 156 return protoimpl.X.MessageStringOf(x) 157} 158 159func (*GetScanConfigRequest) ProtoMessage() {} 160 161func (x *GetScanConfigRequest) ProtoReflect() protoreflect.Message { 162 mi := &file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_msgTypes[1] 163 if protoimpl.UnsafeEnabled && x != nil { 164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 165 if ms.LoadMessageInfo() == nil { 166 ms.StoreMessageInfo(mi) 167 } 168 return ms 169 } 170 return mi.MessageOf(x) 171} 172 173// Deprecated: Use GetScanConfigRequest.ProtoReflect.Descriptor instead. 174func (*GetScanConfigRequest) Descriptor() ([]byte, []int) { 175 return file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_rawDescGZIP(), []int{1} 176} 177 178func (x *GetScanConfigRequest) GetName() string { 179 if x != nil { 180 return x.Name 181 } 182 return "" 183} 184 185// Request to list scan configurations. 186type ListScanConfigsRequest struct { 187 state protoimpl.MessageState 188 sizeCache protoimpl.SizeCache 189 unknownFields protoimpl.UnknownFields 190 191 // Required. The name of the project to list scan configurations for in the form of 192 // `projects/[PROJECT_ID]`. 193 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 194 // Required. The filter expression. 195 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` 196 // The number of scan configs to return in the list. 197 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 198 // Token to provide to skip to a particular spot in the list. 199 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 200} 201 202func (x *ListScanConfigsRequest) Reset() { 203 *x = ListScanConfigsRequest{} 204 if protoimpl.UnsafeEnabled { 205 mi := &file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_msgTypes[2] 206 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 207 ms.StoreMessageInfo(mi) 208 } 209} 210 211func (x *ListScanConfigsRequest) String() string { 212 return protoimpl.X.MessageStringOf(x) 213} 214 215func (*ListScanConfigsRequest) ProtoMessage() {} 216 217func (x *ListScanConfigsRequest) ProtoReflect() protoreflect.Message { 218 mi := &file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_msgTypes[2] 219 if protoimpl.UnsafeEnabled && x != nil { 220 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 221 if ms.LoadMessageInfo() == nil { 222 ms.StoreMessageInfo(mi) 223 } 224 return ms 225 } 226 return mi.MessageOf(x) 227} 228 229// Deprecated: Use ListScanConfigsRequest.ProtoReflect.Descriptor instead. 230func (*ListScanConfigsRequest) Descriptor() ([]byte, []int) { 231 return file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_rawDescGZIP(), []int{2} 232} 233 234func (x *ListScanConfigsRequest) GetParent() string { 235 if x != nil { 236 return x.Parent 237 } 238 return "" 239} 240 241func (x *ListScanConfigsRequest) GetFilter() string { 242 if x != nil { 243 return x.Filter 244 } 245 return "" 246} 247 248func (x *ListScanConfigsRequest) GetPageSize() int32 { 249 if x != nil { 250 return x.PageSize 251 } 252 return 0 253} 254 255func (x *ListScanConfigsRequest) GetPageToken() string { 256 if x != nil { 257 return x.PageToken 258 } 259 return "" 260} 261 262// Response for listing scan configurations. 263type ListScanConfigsResponse struct { 264 state protoimpl.MessageState 265 sizeCache protoimpl.SizeCache 266 unknownFields protoimpl.UnknownFields 267 268 // The scan configurations requested. 269 ScanConfigs []*ScanConfig `protobuf:"bytes,1,rep,name=scan_configs,json=scanConfigs,proto3" json:"scan_configs,omitempty"` 270 // The next pagination token in the list response. It should be used as 271 // `page_token` for the following request. An empty value means no more 272 // results. 273 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 274} 275 276func (x *ListScanConfigsResponse) Reset() { 277 *x = ListScanConfigsResponse{} 278 if protoimpl.UnsafeEnabled { 279 mi := &file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_msgTypes[3] 280 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 281 ms.StoreMessageInfo(mi) 282 } 283} 284 285func (x *ListScanConfigsResponse) String() string { 286 return protoimpl.X.MessageStringOf(x) 287} 288 289func (*ListScanConfigsResponse) ProtoMessage() {} 290 291func (x *ListScanConfigsResponse) ProtoReflect() protoreflect.Message { 292 mi := &file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_msgTypes[3] 293 if protoimpl.UnsafeEnabled && x != nil { 294 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 295 if ms.LoadMessageInfo() == nil { 296 ms.StoreMessageInfo(mi) 297 } 298 return ms 299 } 300 return mi.MessageOf(x) 301} 302 303// Deprecated: Use ListScanConfigsResponse.ProtoReflect.Descriptor instead. 304func (*ListScanConfigsResponse) Descriptor() ([]byte, []int) { 305 return file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_rawDescGZIP(), []int{3} 306} 307 308func (x *ListScanConfigsResponse) GetScanConfigs() []*ScanConfig { 309 if x != nil { 310 return x.ScanConfigs 311 } 312 return nil 313} 314 315func (x *ListScanConfigsResponse) GetNextPageToken() string { 316 if x != nil { 317 return x.NextPageToken 318 } 319 return "" 320} 321 322// A request to update a scan configuration. 323type UpdateScanConfigRequest struct { 324 state protoimpl.MessageState 325 sizeCache protoimpl.SizeCache 326 unknownFields protoimpl.UnknownFields 327 328 // Required. The name of the scan configuration in the form of 329 // `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`. 330 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 331 // Required. The updated scan configuration. 332 ScanConfig *ScanConfig `protobuf:"bytes,2,opt,name=scan_config,json=scanConfig,proto3" json:"scan_config,omitempty"` 333} 334 335func (x *UpdateScanConfigRequest) Reset() { 336 *x = UpdateScanConfigRequest{} 337 if protoimpl.UnsafeEnabled { 338 mi := &file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_msgTypes[4] 339 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 340 ms.StoreMessageInfo(mi) 341 } 342} 343 344func (x *UpdateScanConfigRequest) String() string { 345 return protoimpl.X.MessageStringOf(x) 346} 347 348func (*UpdateScanConfigRequest) ProtoMessage() {} 349 350func (x *UpdateScanConfigRequest) ProtoReflect() protoreflect.Message { 351 mi := &file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_msgTypes[4] 352 if protoimpl.UnsafeEnabled && x != nil { 353 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 354 if ms.LoadMessageInfo() == nil { 355 ms.StoreMessageInfo(mi) 356 } 357 return ms 358 } 359 return mi.MessageOf(x) 360} 361 362// Deprecated: Use UpdateScanConfigRequest.ProtoReflect.Descriptor instead. 363func (*UpdateScanConfigRequest) Descriptor() ([]byte, []int) { 364 return file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_rawDescGZIP(), []int{4} 365} 366 367func (x *UpdateScanConfigRequest) GetName() string { 368 if x != nil { 369 return x.Name 370 } 371 return "" 372} 373 374func (x *UpdateScanConfigRequest) GetScanConfig() *ScanConfig { 375 if x != nil { 376 return x.ScanConfig 377 } 378 return nil 379} 380 381var File_google_devtools_containeranalysis_v1beta1_containeranalysis_proto protoreflect.FileDescriptor 382 383var file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_rawDesc = []byte{ 384 0x0a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 385 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 386 0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 387 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72, 388 0x6f, 0x74, 0x6f, 0x12, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 389 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 390 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 391 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 392 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 393 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 394 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 395 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 396 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 397 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 398 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, 0x31, 399 0x2f, 0x69, 0x61, 0x6d, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 400 0x6f, 0x1a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, 0x31, 401 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 402 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 403 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb6, 404 0x02, 0x0a, 0x0a, 0x53, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 405 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 406 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 407 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 408 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x03, 409 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x3b, 0x0a, 410 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 411 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 412 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 413 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 414 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 415 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 416 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 417 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x3a, 0x5e, 0xea, 0x41, 0x5b, 0x0a, 0x2b, 0x63, 0x6f, 418 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 419 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 420 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 421 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x73, 0x63, 422 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x7b, 0x73, 0x63, 0x61, 0x6e, 0x5f, 423 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x7d, 0x22, 0x5f, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x63, 424 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 425 0x47, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 426 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 427 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 428 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 429 0x69, 0x67, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xbe, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 430 0x74, 0x53, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 431 0x65, 0x73, 0x74, 0x12, 0x4b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 432 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x63, 0x6c, 0x6f, 433 0x75, 0x64, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 434 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 435 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 436 0x12, 0x1b, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 437 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 438 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 439 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 440 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 441 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x9b, 0x01, 0x0a, 0x17, 0x4c, 0x69, 442 0x73, 0x74, 0x53, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, 0x65, 0x73, 443 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0c, 0x73, 0x63, 0x61, 0x6e, 0x5f, 0x63, 0x6f, 444 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 445 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6f, 446 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 447 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 448 0x69, 0x67, 0x52, 0x0b, 0x73, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 449 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 450 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 451 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xbf, 0x01, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 452 0x74, 0x65, 0x53, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 453 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 454 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 455 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 456 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x63, 0x61, 0x6e, 457 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x5b, 0x0a, 0x0b, 458 0x73, 0x63, 0x61, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 459 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 460 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 461 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x63, 462 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x73, 463 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x32, 0xba, 0x0b, 0x0a, 0x18, 0x43, 0x6f, 464 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x56, 465 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0x12, 0xdc, 0x01, 0x0a, 0x0c, 0x53, 0x65, 0x74, 0x49, 0x61, 466 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 467 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 468 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x67, 0x6f, 469 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 470 0x63, 0x79, 0x22, 0x90, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x78, 0x22, 0x33, 0x2f, 0x76, 0x31, 471 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 472 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6e, 0x6f, 0x74, 0x65, 0x73, 473 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 474 0x3a, 0x01, 0x2a, 0x5a, 0x3e, 0x22, 0x39, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 475 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 476 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 477 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 478 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2c, 0x70, 479 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0xd5, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 480 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 481 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 482 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 483 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 484 0x79, 0x22, 0x89, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x78, 0x22, 0x33, 0x2f, 0x76, 0x31, 0x62, 485 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x70, 486 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2f, 487 0x2a, 0x7d, 0x3a, 0x67, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x3a, 488 0x01, 0x2a, 0x5a, 0x3e, 0x22, 0x39, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 489 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 490 0x73, 0x2f, 0x2a, 0x2f, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2f, 491 0x2a, 0x7d, 0x3a, 0x67, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x3a, 492 0x01, 0x2a, 0xda, 0x41, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x8e, 0x02, 493 0x0a, 0x12, 0x54, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 494 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 495 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 496 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 497 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x54, 498 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 499 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa2, 0x01, 0x82, 0xd3, 0xe4, 0x93, 500 0x02, 0x84, 0x01, 0x22, 0x39, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x72, 501 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 502 0x2f, 0x2a, 0x2f, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x74, 0x65, 0x73, 0x74, 503 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x01, 504 0x2a, 0x5a, 0x44, 0x22, 0x3f, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x72, 505 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 506 0x2f, 0x2a, 0x2f, 0x6f, 0x63, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x2a, 507 0x7d, 0x3a, 0x74, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 508 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x01, 0x2a, 0xda, 0x41, 0x14, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 509 0x63, 0x65, 0x2c, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0xc0, 510 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x53, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 511 0x12, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 512 0x6c, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 513 0x79, 0x73, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 514 0x53, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 515 0x74, 0x1a, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 516 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 517 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x63, 518 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x37, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 519 0x12, 0x28, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 520 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x63, 0x61, 0x6e, 521 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 522 0x65, 0x12, 0xda, 0x01, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x63, 0x61, 0x6e, 0x43, 0x6f, 523 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 524 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 525 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 526 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 527 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 528 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 529 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 530 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 531 0x66, 0x69, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x40, 0x82, 0xd3, 532 0xe4, 0x93, 0x02, 0x2a, 0x12, 0x28, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 533 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 534 0x2a, 0x7d, 0x2f, 0x73, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0xda, 0x41, 535 0x0d, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0xdf, 536 0x01, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 537 0x66, 0x69, 0x67, 0x12, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 538 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 539 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 540 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 541 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 542 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 543 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 544 0x74, 0x61, 0x31, 0x2e, 0x53, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x50, 545 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x1a, 0x28, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 546 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 547 0x2a, 0x2f, 0x73, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 548 0x3a, 0x0b, 0x73, 0x63, 0x61, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0xda, 0x41, 0x10, 549 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x73, 0x63, 0x61, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 550 0x1a, 0x54, 0xca, 0x41, 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 551 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 552 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 553 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 554 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 555 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x8a, 0x01, 0x0a, 0x24, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 556 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 557 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x50, 558 0x01, 0x5a, 0x5a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 559 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 560 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 561 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 562 0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x63, 0x6f, 0x6e, 0x74, 563 0x61, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0xa2, 0x02, 0x03, 564 0x47, 0x43, 0x41, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 565} 566 567var ( 568 file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_rawDescOnce sync.Once 569 file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_rawDescData = file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_rawDesc 570) 571 572func file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_rawDescGZIP() []byte { 573 file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_rawDescOnce.Do(func() { 574 file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_rawDescData) 575 }) 576 return file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_rawDescData 577} 578 579var file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 580var file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_goTypes = []interface{}{ 581 (*ScanConfig)(nil), // 0: google.devtools.containeranalysis.v1beta1.ScanConfig 582 (*GetScanConfigRequest)(nil), // 1: google.devtools.containeranalysis.v1beta1.GetScanConfigRequest 583 (*ListScanConfigsRequest)(nil), // 2: google.devtools.containeranalysis.v1beta1.ListScanConfigsRequest 584 (*ListScanConfigsResponse)(nil), // 3: google.devtools.containeranalysis.v1beta1.ListScanConfigsResponse 585 (*UpdateScanConfigRequest)(nil), // 4: google.devtools.containeranalysis.v1beta1.UpdateScanConfigRequest 586 (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp 587 (*v1.SetIamPolicyRequest)(nil), // 6: google.iam.v1.SetIamPolicyRequest 588 (*v1.GetIamPolicyRequest)(nil), // 7: google.iam.v1.GetIamPolicyRequest 589 (*v1.TestIamPermissionsRequest)(nil), // 8: google.iam.v1.TestIamPermissionsRequest 590 (*v1.Policy)(nil), // 9: google.iam.v1.Policy 591 (*v1.TestIamPermissionsResponse)(nil), // 10: google.iam.v1.TestIamPermissionsResponse 592} 593var file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_depIdxs = []int32{ 594 5, // 0: google.devtools.containeranalysis.v1beta1.ScanConfig.create_time:type_name -> google.protobuf.Timestamp 595 5, // 1: google.devtools.containeranalysis.v1beta1.ScanConfig.update_time:type_name -> google.protobuf.Timestamp 596 0, // 2: google.devtools.containeranalysis.v1beta1.ListScanConfigsResponse.scan_configs:type_name -> google.devtools.containeranalysis.v1beta1.ScanConfig 597 0, // 3: google.devtools.containeranalysis.v1beta1.UpdateScanConfigRequest.scan_config:type_name -> google.devtools.containeranalysis.v1beta1.ScanConfig 598 6, // 4: google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.SetIamPolicy:input_type -> google.iam.v1.SetIamPolicyRequest 599 7, // 5: google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.GetIamPolicy:input_type -> google.iam.v1.GetIamPolicyRequest 600 8, // 6: google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.TestIamPermissions:input_type -> google.iam.v1.TestIamPermissionsRequest 601 1, // 7: google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.GetScanConfig:input_type -> google.devtools.containeranalysis.v1beta1.GetScanConfigRequest 602 2, // 8: google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.ListScanConfigs:input_type -> google.devtools.containeranalysis.v1beta1.ListScanConfigsRequest 603 4, // 9: google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.UpdateScanConfig:input_type -> google.devtools.containeranalysis.v1beta1.UpdateScanConfigRequest 604 9, // 10: google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.SetIamPolicy:output_type -> google.iam.v1.Policy 605 9, // 11: google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.GetIamPolicy:output_type -> google.iam.v1.Policy 606 10, // 12: google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.TestIamPermissions:output_type -> google.iam.v1.TestIamPermissionsResponse 607 0, // 13: google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.GetScanConfig:output_type -> google.devtools.containeranalysis.v1beta1.ScanConfig 608 3, // 14: google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.ListScanConfigs:output_type -> google.devtools.containeranalysis.v1beta1.ListScanConfigsResponse 609 0, // 15: google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.UpdateScanConfig:output_type -> google.devtools.containeranalysis.v1beta1.ScanConfig 610 10, // [10:16] is the sub-list for method output_type 611 4, // [4:10] is the sub-list for method input_type 612 4, // [4:4] is the sub-list for extension type_name 613 4, // [4:4] is the sub-list for extension extendee 614 0, // [0:4] is the sub-list for field type_name 615} 616 617func init() { file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_init() } 618func file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_init() { 619 if File_google_devtools_containeranalysis_v1beta1_containeranalysis_proto != nil { 620 return 621 } 622 if !protoimpl.UnsafeEnabled { 623 file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 624 switch v := v.(*ScanConfig); i { 625 case 0: 626 return &v.state 627 case 1: 628 return &v.sizeCache 629 case 2: 630 return &v.unknownFields 631 default: 632 return nil 633 } 634 } 635 file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 636 switch v := v.(*GetScanConfigRequest); i { 637 case 0: 638 return &v.state 639 case 1: 640 return &v.sizeCache 641 case 2: 642 return &v.unknownFields 643 default: 644 return nil 645 } 646 } 647 file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 648 switch v := v.(*ListScanConfigsRequest); i { 649 case 0: 650 return &v.state 651 case 1: 652 return &v.sizeCache 653 case 2: 654 return &v.unknownFields 655 default: 656 return nil 657 } 658 } 659 file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 660 switch v := v.(*ListScanConfigsResponse); i { 661 case 0: 662 return &v.state 663 case 1: 664 return &v.sizeCache 665 case 2: 666 return &v.unknownFields 667 default: 668 return nil 669 } 670 } 671 file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 672 switch v := v.(*UpdateScanConfigRequest); i { 673 case 0: 674 return &v.state 675 case 1: 676 return &v.sizeCache 677 case 2: 678 return &v.unknownFields 679 default: 680 return nil 681 } 682 } 683 } 684 type x struct{} 685 out := protoimpl.TypeBuilder{ 686 File: protoimpl.DescBuilder{ 687 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 688 RawDescriptor: file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_rawDesc, 689 NumEnums: 0, 690 NumMessages: 5, 691 NumExtensions: 0, 692 NumServices: 1, 693 }, 694 GoTypes: file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_goTypes, 695 DependencyIndexes: file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_depIdxs, 696 MessageInfos: file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_msgTypes, 697 }.Build() 698 File_google_devtools_containeranalysis_v1beta1_containeranalysis_proto = out.File 699 file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_rawDesc = nil 700 file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_goTypes = nil 701 file_google_devtools_containeranalysis_v1beta1_containeranalysis_proto_depIdxs = nil 702} 703 704// Reference imports to suppress errors if they are not otherwise used. 705var _ context.Context 706var _ grpc.ClientConnInterface 707 708// This is a compile-time assertion to ensure that this generated file 709// is compatible with the grpc package it is being compiled against. 710const _ = grpc.SupportPackageIsVersion6 711 712// ContainerAnalysisV1Beta1Client is the client API for ContainerAnalysisV1Beta1 service. 713// 714// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 715type ContainerAnalysisV1Beta1Client interface { 716 // Sets the access control policy on the specified note or occurrence. 717 // Requires `containeranalysis.notes.setIamPolicy` or 718 // `containeranalysis.occurrences.setIamPolicy` permission if the resource is 719 // a note or an occurrence, respectively. 720 // 721 // The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for 722 // notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for 723 // occurrences. 724 SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) 725 // Gets the access control policy for a note or an occurrence resource. 726 // Requires `containeranalysis.notes.setIamPolicy` or 727 // `containeranalysis.occurrences.setIamPolicy` permission if the resource is 728 // a note or occurrence, respectively. 729 // 730 // The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for 731 // notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for 732 // occurrences. 733 GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) 734 // Returns the permissions that a caller has on the specified note or 735 // occurrence. Requires list permission on the project (for example, 736 // `containeranalysis.notes.list`). 737 // 738 // The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for 739 // notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for 740 // occurrences. 741 TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) 742 // Gets the specified scan configuration. 743 GetScanConfig(ctx context.Context, in *GetScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) 744 // Lists scan configurations for the specified project. 745 ListScanConfigs(ctx context.Context, in *ListScanConfigsRequest, opts ...grpc.CallOption) (*ListScanConfigsResponse, error) 746 // Updates the specified scan configuration. 747 UpdateScanConfig(ctx context.Context, in *UpdateScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) 748} 749 750type containerAnalysisV1Beta1Client struct { 751 cc grpc.ClientConnInterface 752} 753 754func NewContainerAnalysisV1Beta1Client(cc grpc.ClientConnInterface) ContainerAnalysisV1Beta1Client { 755 return &containerAnalysisV1Beta1Client{cc} 756} 757 758func (c *containerAnalysisV1Beta1Client) SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { 759 out := new(v1.Policy) 760 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/SetIamPolicy", in, out, opts...) 761 if err != nil { 762 return nil, err 763 } 764 return out, nil 765} 766 767func (c *containerAnalysisV1Beta1Client) GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) { 768 out := new(v1.Policy) 769 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/GetIamPolicy", in, out, opts...) 770 if err != nil { 771 return nil, err 772 } 773 return out, nil 774} 775 776func (c *containerAnalysisV1Beta1Client) TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) { 777 out := new(v1.TestIamPermissionsResponse) 778 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/TestIamPermissions", in, out, opts...) 779 if err != nil { 780 return nil, err 781 } 782 return out, nil 783} 784 785func (c *containerAnalysisV1Beta1Client) GetScanConfig(ctx context.Context, in *GetScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) { 786 out := new(ScanConfig) 787 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/GetScanConfig", in, out, opts...) 788 if err != nil { 789 return nil, err 790 } 791 return out, nil 792} 793 794func (c *containerAnalysisV1Beta1Client) ListScanConfigs(ctx context.Context, in *ListScanConfigsRequest, opts ...grpc.CallOption) (*ListScanConfigsResponse, error) { 795 out := new(ListScanConfigsResponse) 796 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/ListScanConfigs", in, out, opts...) 797 if err != nil { 798 return nil, err 799 } 800 return out, nil 801} 802 803func (c *containerAnalysisV1Beta1Client) UpdateScanConfig(ctx context.Context, in *UpdateScanConfigRequest, opts ...grpc.CallOption) (*ScanConfig, error) { 804 out := new(ScanConfig) 805 err := c.cc.Invoke(ctx, "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/UpdateScanConfig", in, out, opts...) 806 if err != nil { 807 return nil, err 808 } 809 return out, nil 810} 811 812// ContainerAnalysisV1Beta1Server is the server API for ContainerAnalysisV1Beta1 service. 813type ContainerAnalysisV1Beta1Server interface { 814 // Sets the access control policy on the specified note or occurrence. 815 // Requires `containeranalysis.notes.setIamPolicy` or 816 // `containeranalysis.occurrences.setIamPolicy` permission if the resource is 817 // a note or an occurrence, respectively. 818 // 819 // The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for 820 // notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for 821 // occurrences. 822 SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) 823 // Gets the access control policy for a note or an occurrence resource. 824 // Requires `containeranalysis.notes.setIamPolicy` or 825 // `containeranalysis.occurrences.setIamPolicy` permission if the resource is 826 // a note or occurrence, respectively. 827 // 828 // The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for 829 // notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for 830 // occurrences. 831 GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) 832 // Returns the permissions that a caller has on the specified note or 833 // occurrence. Requires list permission on the project (for example, 834 // `containeranalysis.notes.list`). 835 // 836 // The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for 837 // notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for 838 // occurrences. 839 TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) 840 // Gets the specified scan configuration. 841 GetScanConfig(context.Context, *GetScanConfigRequest) (*ScanConfig, error) 842 // Lists scan configurations for the specified project. 843 ListScanConfigs(context.Context, *ListScanConfigsRequest) (*ListScanConfigsResponse, error) 844 // Updates the specified scan configuration. 845 UpdateScanConfig(context.Context, *UpdateScanConfigRequest) (*ScanConfig, error) 846} 847 848// UnimplementedContainerAnalysisV1Beta1Server can be embedded to have forward compatible implementations. 849type UnimplementedContainerAnalysisV1Beta1Server struct { 850} 851 852func (*UnimplementedContainerAnalysisV1Beta1Server) SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) { 853 return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented") 854} 855func (*UnimplementedContainerAnalysisV1Beta1Server) GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) { 856 return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented") 857} 858func (*UnimplementedContainerAnalysisV1Beta1Server) TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) { 859 return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented") 860} 861func (*UnimplementedContainerAnalysisV1Beta1Server) GetScanConfig(context.Context, *GetScanConfigRequest) (*ScanConfig, error) { 862 return nil, status.Errorf(codes.Unimplemented, "method GetScanConfig not implemented") 863} 864func (*UnimplementedContainerAnalysisV1Beta1Server) ListScanConfigs(context.Context, *ListScanConfigsRequest) (*ListScanConfigsResponse, error) { 865 return nil, status.Errorf(codes.Unimplemented, "method ListScanConfigs not implemented") 866} 867func (*UnimplementedContainerAnalysisV1Beta1Server) UpdateScanConfig(context.Context, *UpdateScanConfigRequest) (*ScanConfig, error) { 868 return nil, status.Errorf(codes.Unimplemented, "method UpdateScanConfig not implemented") 869} 870 871func RegisterContainerAnalysisV1Beta1Server(s *grpc.Server, srv ContainerAnalysisV1Beta1Server) { 872 s.RegisterService(&_ContainerAnalysisV1Beta1_serviceDesc, srv) 873} 874 875func _ContainerAnalysisV1Beta1_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 876 in := new(v1.SetIamPolicyRequest) 877 if err := dec(in); err != nil { 878 return nil, err 879 } 880 if interceptor == nil { 881 return srv.(ContainerAnalysisV1Beta1Server).SetIamPolicy(ctx, in) 882 } 883 info := &grpc.UnaryServerInfo{ 884 Server: srv, 885 FullMethod: "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/SetIamPolicy", 886 } 887 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 888 return srv.(ContainerAnalysisV1Beta1Server).SetIamPolicy(ctx, req.(*v1.SetIamPolicyRequest)) 889 } 890 return interceptor(ctx, in, info, handler) 891} 892 893func _ContainerAnalysisV1Beta1_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 894 in := new(v1.GetIamPolicyRequest) 895 if err := dec(in); err != nil { 896 return nil, err 897 } 898 if interceptor == nil { 899 return srv.(ContainerAnalysisV1Beta1Server).GetIamPolicy(ctx, in) 900 } 901 info := &grpc.UnaryServerInfo{ 902 Server: srv, 903 FullMethod: "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/GetIamPolicy", 904 } 905 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 906 return srv.(ContainerAnalysisV1Beta1Server).GetIamPolicy(ctx, req.(*v1.GetIamPolicyRequest)) 907 } 908 return interceptor(ctx, in, info, handler) 909} 910 911func _ContainerAnalysisV1Beta1_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 912 in := new(v1.TestIamPermissionsRequest) 913 if err := dec(in); err != nil { 914 return nil, err 915 } 916 if interceptor == nil { 917 return srv.(ContainerAnalysisV1Beta1Server).TestIamPermissions(ctx, in) 918 } 919 info := &grpc.UnaryServerInfo{ 920 Server: srv, 921 FullMethod: "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/TestIamPermissions", 922 } 923 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 924 return srv.(ContainerAnalysisV1Beta1Server).TestIamPermissions(ctx, req.(*v1.TestIamPermissionsRequest)) 925 } 926 return interceptor(ctx, in, info, handler) 927} 928 929func _ContainerAnalysisV1Beta1_GetScanConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 930 in := new(GetScanConfigRequest) 931 if err := dec(in); err != nil { 932 return nil, err 933 } 934 if interceptor == nil { 935 return srv.(ContainerAnalysisV1Beta1Server).GetScanConfig(ctx, in) 936 } 937 info := &grpc.UnaryServerInfo{ 938 Server: srv, 939 FullMethod: "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/GetScanConfig", 940 } 941 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 942 return srv.(ContainerAnalysisV1Beta1Server).GetScanConfig(ctx, req.(*GetScanConfigRequest)) 943 } 944 return interceptor(ctx, in, info, handler) 945} 946 947func _ContainerAnalysisV1Beta1_ListScanConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 948 in := new(ListScanConfigsRequest) 949 if err := dec(in); err != nil { 950 return nil, err 951 } 952 if interceptor == nil { 953 return srv.(ContainerAnalysisV1Beta1Server).ListScanConfigs(ctx, in) 954 } 955 info := &grpc.UnaryServerInfo{ 956 Server: srv, 957 FullMethod: "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/ListScanConfigs", 958 } 959 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 960 return srv.(ContainerAnalysisV1Beta1Server).ListScanConfigs(ctx, req.(*ListScanConfigsRequest)) 961 } 962 return interceptor(ctx, in, info, handler) 963} 964 965func _ContainerAnalysisV1Beta1_UpdateScanConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 966 in := new(UpdateScanConfigRequest) 967 if err := dec(in); err != nil { 968 return nil, err 969 } 970 if interceptor == nil { 971 return srv.(ContainerAnalysisV1Beta1Server).UpdateScanConfig(ctx, in) 972 } 973 info := &grpc.UnaryServerInfo{ 974 Server: srv, 975 FullMethod: "/google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1/UpdateScanConfig", 976 } 977 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 978 return srv.(ContainerAnalysisV1Beta1Server).UpdateScanConfig(ctx, req.(*UpdateScanConfigRequest)) 979 } 980 return interceptor(ctx, in, info, handler) 981} 982 983var _ContainerAnalysisV1Beta1_serviceDesc = grpc.ServiceDesc{ 984 ServiceName: "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1", 985 HandlerType: (*ContainerAnalysisV1Beta1Server)(nil), 986 Methods: []grpc.MethodDesc{ 987 { 988 MethodName: "SetIamPolicy", 989 Handler: _ContainerAnalysisV1Beta1_SetIamPolicy_Handler, 990 }, 991 { 992 MethodName: "GetIamPolicy", 993 Handler: _ContainerAnalysisV1Beta1_GetIamPolicy_Handler, 994 }, 995 { 996 MethodName: "TestIamPermissions", 997 Handler: _ContainerAnalysisV1Beta1_TestIamPermissions_Handler, 998 }, 999 { 1000 MethodName: "GetScanConfig", 1001 Handler: _ContainerAnalysisV1Beta1_GetScanConfig_Handler, 1002 }, 1003 { 1004 MethodName: "ListScanConfigs", 1005 Handler: _ContainerAnalysisV1Beta1_ListScanConfigs_Handler, 1006 }, 1007 { 1008 MethodName: "UpdateScanConfig", 1009 Handler: _ContainerAnalysisV1Beta1_UpdateScanConfig_Handler, 1010 }, 1011 }, 1012 Streams: []grpc.StreamDesc{}, 1013 Metadata: "google/devtools/containeranalysis/v1beta1/containeranalysis.proto", 1014} 1015