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.25.0 19// protoc v3.13.0 20// source: google/cloud/binaryauthorization/v1beta1/service.proto 21 22package binaryauthorization 23 24import ( 25 context "context" 26 reflect "reflect" 27 sync "sync" 28 29 proto "github.com/golang/protobuf/proto" 30 _ "google.golang.org/genproto/googleapis/api/annotations" 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 emptypb "google.golang.org/protobuf/types/known/emptypb" 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// This is a compile-time assertion that a sufficiently up-to-date version 47// of the legacy proto package is being used. 48const _ = proto.ProtoPackageIsVersion4 49 50// Request message for [BinauthzManagementService.GetPolicy][]. 51type GetPolicyRequest struct { 52 state protoimpl.MessageState 53 sizeCache protoimpl.SizeCache 54 unknownFields protoimpl.UnknownFields 55 56 // Required. The resource name of the [policy][google.cloud.binaryauthorization.v1beta1.Policy] to retrieve, 57 // in the format `projects/*/policy`. 58 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 59} 60 61func (x *GetPolicyRequest) Reset() { 62 *x = GetPolicyRequest{} 63 if protoimpl.UnsafeEnabled { 64 mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[0] 65 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 66 ms.StoreMessageInfo(mi) 67 } 68} 69 70func (x *GetPolicyRequest) String() string { 71 return protoimpl.X.MessageStringOf(x) 72} 73 74func (*GetPolicyRequest) ProtoMessage() {} 75 76func (x *GetPolicyRequest) ProtoReflect() protoreflect.Message { 77 mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[0] 78 if protoimpl.UnsafeEnabled && x != nil { 79 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 80 if ms.LoadMessageInfo() == nil { 81 ms.StoreMessageInfo(mi) 82 } 83 return ms 84 } 85 return mi.MessageOf(x) 86} 87 88// Deprecated: Use GetPolicyRequest.ProtoReflect.Descriptor instead. 89func (*GetPolicyRequest) Descriptor() ([]byte, []int) { 90 return file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescGZIP(), []int{0} 91} 92 93func (x *GetPolicyRequest) GetName() string { 94 if x != nil { 95 return x.Name 96 } 97 return "" 98} 99 100// Request message for [BinauthzManagementService.UpdatePolicy][]. 101type UpdatePolicyRequest struct { 102 state protoimpl.MessageState 103 sizeCache protoimpl.SizeCache 104 unknownFields protoimpl.UnknownFields 105 106 // Required. A new or updated [policy][google.cloud.binaryauthorization.v1beta1.Policy] value. The service will 107 // overwrite the [policy name][google.cloud.binaryauthorization.v1beta1.Policy.name] field with the resource name in 108 // the request URL, in the format `projects/*/policy`. 109 Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` 110} 111 112func (x *UpdatePolicyRequest) Reset() { 113 *x = UpdatePolicyRequest{} 114 if protoimpl.UnsafeEnabled { 115 mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[1] 116 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 117 ms.StoreMessageInfo(mi) 118 } 119} 120 121func (x *UpdatePolicyRequest) String() string { 122 return protoimpl.X.MessageStringOf(x) 123} 124 125func (*UpdatePolicyRequest) ProtoMessage() {} 126 127func (x *UpdatePolicyRequest) ProtoReflect() protoreflect.Message { 128 mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[1] 129 if protoimpl.UnsafeEnabled && x != nil { 130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 131 if ms.LoadMessageInfo() == nil { 132 ms.StoreMessageInfo(mi) 133 } 134 return ms 135 } 136 return mi.MessageOf(x) 137} 138 139// Deprecated: Use UpdatePolicyRequest.ProtoReflect.Descriptor instead. 140func (*UpdatePolicyRequest) Descriptor() ([]byte, []int) { 141 return file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescGZIP(), []int{1} 142} 143 144func (x *UpdatePolicyRequest) GetPolicy() *Policy { 145 if x != nil { 146 return x.Policy 147 } 148 return nil 149} 150 151// Request message for [BinauthzManagementService.CreateAttestor][]. 152type CreateAttestorRequest struct { 153 state protoimpl.MessageState 154 sizeCache protoimpl.SizeCache 155 unknownFields protoimpl.UnknownFields 156 157 // Required. The parent of this [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. 158 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 159 // Required. The [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] ID. 160 AttestorId string `protobuf:"bytes,2,opt,name=attestor_id,json=attestorId,proto3" json:"attestor_id,omitempty"` 161 // Required. The initial [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will 162 // overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name, 163 // in the format `projects/*/attestors/*`. 164 Attestor *Attestor `protobuf:"bytes,3,opt,name=attestor,proto3" json:"attestor,omitempty"` 165} 166 167func (x *CreateAttestorRequest) Reset() { 168 *x = CreateAttestorRequest{} 169 if protoimpl.UnsafeEnabled { 170 mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[2] 171 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 172 ms.StoreMessageInfo(mi) 173 } 174} 175 176func (x *CreateAttestorRequest) String() string { 177 return protoimpl.X.MessageStringOf(x) 178} 179 180func (*CreateAttestorRequest) ProtoMessage() {} 181 182func (x *CreateAttestorRequest) ProtoReflect() protoreflect.Message { 183 mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[2] 184 if protoimpl.UnsafeEnabled && x != nil { 185 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 186 if ms.LoadMessageInfo() == nil { 187 ms.StoreMessageInfo(mi) 188 } 189 return ms 190 } 191 return mi.MessageOf(x) 192} 193 194// Deprecated: Use CreateAttestorRequest.ProtoReflect.Descriptor instead. 195func (*CreateAttestorRequest) Descriptor() ([]byte, []int) { 196 return file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescGZIP(), []int{2} 197} 198 199func (x *CreateAttestorRequest) GetParent() string { 200 if x != nil { 201 return x.Parent 202 } 203 return "" 204} 205 206func (x *CreateAttestorRequest) GetAttestorId() string { 207 if x != nil { 208 return x.AttestorId 209 } 210 return "" 211} 212 213func (x *CreateAttestorRequest) GetAttestor() *Attestor { 214 if x != nil { 215 return x.Attestor 216 } 217 return nil 218} 219 220// Request message for [BinauthzManagementService.GetAttestor][]. 221type GetAttestorRequest struct { 222 state protoimpl.MessageState 223 sizeCache protoimpl.SizeCache 224 unknownFields protoimpl.UnknownFields 225 226 // Required. The name of the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] to retrieve, in the format 227 // `projects/*/attestors/*`. 228 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 229} 230 231func (x *GetAttestorRequest) Reset() { 232 *x = GetAttestorRequest{} 233 if protoimpl.UnsafeEnabled { 234 mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[3] 235 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 236 ms.StoreMessageInfo(mi) 237 } 238} 239 240func (x *GetAttestorRequest) String() string { 241 return protoimpl.X.MessageStringOf(x) 242} 243 244func (*GetAttestorRequest) ProtoMessage() {} 245 246func (x *GetAttestorRequest) ProtoReflect() protoreflect.Message { 247 mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[3] 248 if protoimpl.UnsafeEnabled && x != nil { 249 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 250 if ms.LoadMessageInfo() == nil { 251 ms.StoreMessageInfo(mi) 252 } 253 return ms 254 } 255 return mi.MessageOf(x) 256} 257 258// Deprecated: Use GetAttestorRequest.ProtoReflect.Descriptor instead. 259func (*GetAttestorRequest) Descriptor() ([]byte, []int) { 260 return file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescGZIP(), []int{3} 261} 262 263func (x *GetAttestorRequest) GetName() string { 264 if x != nil { 265 return x.Name 266 } 267 return "" 268} 269 270// Request message for [BinauthzManagementService.UpdateAttestor][]. 271type UpdateAttestorRequest struct { 272 state protoimpl.MessageState 273 sizeCache protoimpl.SizeCache 274 unknownFields protoimpl.UnknownFields 275 276 // Required. The updated [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] value. The service will 277 // overwrite the [attestor name][google.cloud.binaryauthorization.v1beta1.Attestor.name] field with the resource name 278 // in the request URL, in the format `projects/*/attestors/*`. 279 Attestor *Attestor `protobuf:"bytes,1,opt,name=attestor,proto3" json:"attestor,omitempty"` 280} 281 282func (x *UpdateAttestorRequest) Reset() { 283 *x = UpdateAttestorRequest{} 284 if protoimpl.UnsafeEnabled { 285 mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[4] 286 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 287 ms.StoreMessageInfo(mi) 288 } 289} 290 291func (x *UpdateAttestorRequest) String() string { 292 return protoimpl.X.MessageStringOf(x) 293} 294 295func (*UpdateAttestorRequest) ProtoMessage() {} 296 297func (x *UpdateAttestorRequest) ProtoReflect() protoreflect.Message { 298 mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[4] 299 if protoimpl.UnsafeEnabled && x != nil { 300 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 301 if ms.LoadMessageInfo() == nil { 302 ms.StoreMessageInfo(mi) 303 } 304 return ms 305 } 306 return mi.MessageOf(x) 307} 308 309// Deprecated: Use UpdateAttestorRequest.ProtoReflect.Descriptor instead. 310func (*UpdateAttestorRequest) Descriptor() ([]byte, []int) { 311 return file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescGZIP(), []int{4} 312} 313 314func (x *UpdateAttestorRequest) GetAttestor() *Attestor { 315 if x != nil { 316 return x.Attestor 317 } 318 return nil 319} 320 321// Request message for [BinauthzManagementService.ListAttestors][]. 322type ListAttestorsRequest struct { 323 state protoimpl.MessageState 324 sizeCache protoimpl.SizeCache 325 unknownFields protoimpl.UnknownFields 326 327 // Required. The resource name of the project associated with the 328 // [attestors][google.cloud.binaryauthorization.v1beta1.Attestor], in the format `projects/*`. 329 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` 330 // Requested page size. The server may return fewer results than requested. If 331 // unspecified, the server will pick an appropriate default. 332 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` 333 // A token identifying a page of results the server should return. Typically, 334 // this is the value of [ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token] returned 335 // from the previous call to the `ListAttestors` method. 336 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` 337} 338 339func (x *ListAttestorsRequest) Reset() { 340 *x = ListAttestorsRequest{} 341 if protoimpl.UnsafeEnabled { 342 mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[5] 343 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 344 ms.StoreMessageInfo(mi) 345 } 346} 347 348func (x *ListAttestorsRequest) String() string { 349 return protoimpl.X.MessageStringOf(x) 350} 351 352func (*ListAttestorsRequest) ProtoMessage() {} 353 354func (x *ListAttestorsRequest) ProtoReflect() protoreflect.Message { 355 mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[5] 356 if protoimpl.UnsafeEnabled && x != nil { 357 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 358 if ms.LoadMessageInfo() == nil { 359 ms.StoreMessageInfo(mi) 360 } 361 return ms 362 } 363 return mi.MessageOf(x) 364} 365 366// Deprecated: Use ListAttestorsRequest.ProtoReflect.Descriptor instead. 367func (*ListAttestorsRequest) Descriptor() ([]byte, []int) { 368 return file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescGZIP(), []int{5} 369} 370 371func (x *ListAttestorsRequest) GetParent() string { 372 if x != nil { 373 return x.Parent 374 } 375 return "" 376} 377 378func (x *ListAttestorsRequest) GetPageSize() int32 { 379 if x != nil { 380 return x.PageSize 381 } 382 return 0 383} 384 385func (x *ListAttestorsRequest) GetPageToken() string { 386 if x != nil { 387 return x.PageToken 388 } 389 return "" 390} 391 392// Response message for [BinauthzManagementService.ListAttestors][]. 393type ListAttestorsResponse struct { 394 state protoimpl.MessageState 395 sizeCache protoimpl.SizeCache 396 unknownFields protoimpl.UnknownFields 397 398 // The list of [attestors][google.cloud.binaryauthorization.v1beta1.Attestor]. 399 Attestors []*Attestor `protobuf:"bytes,1,rep,name=attestors,proto3" json:"attestors,omitempty"` 400 // A token to retrieve the next page of results. Pass this value in the 401 // [ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token] field in the subsequent call to the 402 // `ListAttestors` method to retrieve the next page of results. 403 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` 404} 405 406func (x *ListAttestorsResponse) Reset() { 407 *x = ListAttestorsResponse{} 408 if protoimpl.UnsafeEnabled { 409 mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[6] 410 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 411 ms.StoreMessageInfo(mi) 412 } 413} 414 415func (x *ListAttestorsResponse) String() string { 416 return protoimpl.X.MessageStringOf(x) 417} 418 419func (*ListAttestorsResponse) ProtoMessage() {} 420 421func (x *ListAttestorsResponse) ProtoReflect() protoreflect.Message { 422 mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[6] 423 if protoimpl.UnsafeEnabled && x != nil { 424 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 425 if ms.LoadMessageInfo() == nil { 426 ms.StoreMessageInfo(mi) 427 } 428 return ms 429 } 430 return mi.MessageOf(x) 431} 432 433// Deprecated: Use ListAttestorsResponse.ProtoReflect.Descriptor instead. 434func (*ListAttestorsResponse) Descriptor() ([]byte, []int) { 435 return file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescGZIP(), []int{6} 436} 437 438func (x *ListAttestorsResponse) GetAttestors() []*Attestor { 439 if x != nil { 440 return x.Attestors 441 } 442 return nil 443} 444 445func (x *ListAttestorsResponse) GetNextPageToken() string { 446 if x != nil { 447 return x.NextPageToken 448 } 449 return "" 450} 451 452// Request message for [BinauthzManagementService.DeleteAttestor][]. 453type DeleteAttestorRequest struct { 454 state protoimpl.MessageState 455 sizeCache protoimpl.SizeCache 456 unknownFields protoimpl.UnknownFields 457 458 // Required. The name of the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] to delete, in the format 459 // `projects/*/attestors/*`. 460 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 461} 462 463func (x *DeleteAttestorRequest) Reset() { 464 *x = DeleteAttestorRequest{} 465 if protoimpl.UnsafeEnabled { 466 mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[7] 467 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 468 ms.StoreMessageInfo(mi) 469 } 470} 471 472func (x *DeleteAttestorRequest) String() string { 473 return protoimpl.X.MessageStringOf(x) 474} 475 476func (*DeleteAttestorRequest) ProtoMessage() {} 477 478func (x *DeleteAttestorRequest) ProtoReflect() protoreflect.Message { 479 mi := &file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[7] 480 if protoimpl.UnsafeEnabled && x != nil { 481 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 482 if ms.LoadMessageInfo() == nil { 483 ms.StoreMessageInfo(mi) 484 } 485 return ms 486 } 487 return mi.MessageOf(x) 488} 489 490// Deprecated: Use DeleteAttestorRequest.ProtoReflect.Descriptor instead. 491func (*DeleteAttestorRequest) Descriptor() ([]byte, []int) { 492 return file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescGZIP(), []int{7} 493} 494 495func (x *DeleteAttestorRequest) GetName() string { 496 if x != nil { 497 return x.Name 498 } 499 return "" 500} 501 502var File_google_cloud_binaryauthorization_v1beta1_service_proto protoreflect.FileDescriptor 503 504var file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDesc = []byte{ 505 0x0a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 506 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 507 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 508 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 509 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 510 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 511 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 512 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 513 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 514 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 515 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 516 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 517 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 518 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 519 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 520 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 521 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 522 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 523 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x10, 524 0x47, 0x65, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 525 0x12, 0x45, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x31, 526 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2b, 0x0a, 0x29, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 527 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 528 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x6f, 0x6c, 0x69, 0x63, 529 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x64, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 530 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4d, 531 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 532 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 533 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 534 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 535 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0xdf, 0x01, 536 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 537 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 538 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, 539 0x2b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 540 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 541 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, 542 0x72, 0x65, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0b, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 543 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 544 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x53, 0x0a, 0x08, 0x61, 0x74, 545 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 546 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 547 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 548 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 549 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x22, 550 0x5d, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x52, 0x65, 551 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 552 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x62, 0x69, 0x6e, 553 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 554 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 555 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x6c, 556 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 557 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x53, 0x0a, 0x08, 0x61, 0x74, 0x74, 0x65, 0x73, 558 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 559 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 560 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 561 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x42, 0x03, 0xe0, 562 0x41, 0x02, 0x52, 0x08, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x22, 0x9f, 0x01, 0x0a, 563 0x14, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 564 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 565 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x2d, 0x0a, 0x2b, 0x63, 566 0x6c, 0x6f, 0x75, 0x64, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x6d, 0x61, 0x6e, 0x61, 567 0x67, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 568 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 569 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 570 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 571 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 572 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x91, 573 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 574 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x09, 0x61, 0x74, 0x74, 0x65, 575 0x73, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 576 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 577 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 578 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x52, 579 0x09, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 580 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 581 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 582 0x65, 0x6e, 0x22, 0x60, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x74, 0x74, 0x65, 583 0x73, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x04, 0x6e, 584 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xe0, 0x41, 0x02, 0xfa, 0x41, 585 0x2d, 0x0a, 0x2b, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 586 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 587 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x52, 0x04, 588 0x6e, 0x61, 0x6d, 0x65, 0x32, 0xcb, 0x0b, 0x0a, 0x20, 0x42, 0x69, 0x6e, 0x61, 0x75, 0x74, 0x68, 589 0x7a, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 590 0x63, 0x65, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0x12, 0xab, 0x01, 0x0a, 0x09, 0x47, 0x65, 591 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 592 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 593 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 594 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 595 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 596 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 597 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 598 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x12, 0x21, 0x2f, 599 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 600 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x7d, 601 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xc2, 0x01, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 602 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 603 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 604 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 605 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 606 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 607 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 608 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 609 0x61, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x41, 0x82, 0xd3, 0xe4, 0x93, 0x02, 610 0x32, 0x1a, 0x28, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x6f, 0x6c, 611 0x69, 0x63, 0x79, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 612 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x7d, 0x3a, 0x06, 0x70, 0x6f, 0x6c, 613 0x69, 0x63, 0x79, 0xda, 0x41, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0xdd, 0x01, 0x0a, 614 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x12, 615 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 616 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 617 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 618 0x65, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 619 0x1a, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 620 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 621 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 622 0x73, 0x74, 0x6f, 0x72, 0x22, 0x56, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x22, 0x26, 0x2f, 0x76, 623 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 624 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 625 0x74, 0x6f, 0x72, 0x73, 0x3a, 0x08, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0xda, 0x41, 626 0x1b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 627 0x5f, 0x69, 0x64, 0x2c, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x12, 0xb6, 0x01, 0x0a, 628 0x0b, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x12, 0x3c, 0x2e, 0x67, 629 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 630 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 631 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 632 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 633 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 634 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 635 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x22, 0x35, 636 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 637 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 638 0x2a, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 639 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xd3, 0x01, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 640 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x12, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 641 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 642 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 643 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 644 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 645 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 646 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 647 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x22, 0x4c, 0x82, 648 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x1a, 0x2f, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 649 0x7b, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 650 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 651 0x6f, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x08, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 652 0xda, 0x41, 0x08, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x12, 0xc9, 0x01, 0x0a, 0x0d, 653 0x4c, 0x69, 0x73, 0x74, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x3e, 0x2e, 654 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 655 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 656 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x74, 0x74, 657 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3f, 0x2e, 658 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 659 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 660 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x74, 0x74, 661 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 662 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x12, 0x26, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 663 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 664 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 0xda, 0x41, 665 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0xa0, 0x01, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 666 0x74, 0x65, 0x41, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x12, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 667 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 668 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 669 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x74, 0x74, 0x65, 670 0x73, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 671 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 672 0x70, 0x74, 0x79, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x2a, 0x26, 0x2f, 0x76, 0x31, 673 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 674 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x74, 0x74, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x73, 675 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x56, 0xca, 0x41, 0x22, 0x62, 676 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 677 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 678 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 679 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 680 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 681 0x72, 0x6d, 0x42, 0x60, 0x5a, 0x5b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 682 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 683 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 684 0x64, 0x2f, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 685 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x62, 0x69, 686 0x6e, 0x61, 0x72, 0x79, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 687 0x6e, 0xf8, 0x01, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 688} 689 690var ( 691 file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescOnce sync.Once 692 file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescData = file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDesc 693) 694 695func file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescGZIP() []byte { 696 file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescOnce.Do(func() { 697 file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescData) 698 }) 699 return file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDescData 700} 701 702var file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 8) 703var file_google_cloud_binaryauthorization_v1beta1_service_proto_goTypes = []interface{}{ 704 (*GetPolicyRequest)(nil), // 0: google.cloud.binaryauthorization.v1beta1.GetPolicyRequest 705 (*UpdatePolicyRequest)(nil), // 1: google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest 706 (*CreateAttestorRequest)(nil), // 2: google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest 707 (*GetAttestorRequest)(nil), // 3: google.cloud.binaryauthorization.v1beta1.GetAttestorRequest 708 (*UpdateAttestorRequest)(nil), // 4: google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest 709 (*ListAttestorsRequest)(nil), // 5: google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest 710 (*ListAttestorsResponse)(nil), // 6: google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse 711 (*DeleteAttestorRequest)(nil), // 7: google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest 712 (*Policy)(nil), // 8: google.cloud.binaryauthorization.v1beta1.Policy 713 (*Attestor)(nil), // 9: google.cloud.binaryauthorization.v1beta1.Attestor 714 (*emptypb.Empty)(nil), // 10: google.protobuf.Empty 715} 716var file_google_cloud_binaryauthorization_v1beta1_service_proto_depIdxs = []int32{ 717 8, // 0: google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest.policy:type_name -> google.cloud.binaryauthorization.v1beta1.Policy 718 9, // 1: google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest.attestor:type_name -> google.cloud.binaryauthorization.v1beta1.Attestor 719 9, // 2: google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest.attestor:type_name -> google.cloud.binaryauthorization.v1beta1.Attestor 720 9, // 3: google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.attestors:type_name -> google.cloud.binaryauthorization.v1beta1.Attestor 721 0, // 4: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.GetPolicy:input_type -> google.cloud.binaryauthorization.v1beta1.GetPolicyRequest 722 1, // 5: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.UpdatePolicy:input_type -> google.cloud.binaryauthorization.v1beta1.UpdatePolicyRequest 723 2, // 6: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.CreateAttestor:input_type -> google.cloud.binaryauthorization.v1beta1.CreateAttestorRequest 724 3, // 7: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.GetAttestor:input_type -> google.cloud.binaryauthorization.v1beta1.GetAttestorRequest 725 4, // 8: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.UpdateAttestor:input_type -> google.cloud.binaryauthorization.v1beta1.UpdateAttestorRequest 726 5, // 9: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.ListAttestors:input_type -> google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest 727 7, // 10: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.DeleteAttestor:input_type -> google.cloud.binaryauthorization.v1beta1.DeleteAttestorRequest 728 8, // 11: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.GetPolicy:output_type -> google.cloud.binaryauthorization.v1beta1.Policy 729 8, // 12: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.UpdatePolicy:output_type -> google.cloud.binaryauthorization.v1beta1.Policy 730 9, // 13: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.CreateAttestor:output_type -> google.cloud.binaryauthorization.v1beta1.Attestor 731 9, // 14: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.GetAttestor:output_type -> google.cloud.binaryauthorization.v1beta1.Attestor 732 9, // 15: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.UpdateAttestor:output_type -> google.cloud.binaryauthorization.v1beta1.Attestor 733 6, // 16: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.ListAttestors:output_type -> google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse 734 10, // 17: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1.DeleteAttestor:output_type -> google.protobuf.Empty 735 11, // [11:18] is the sub-list for method output_type 736 4, // [4:11] is the sub-list for method input_type 737 4, // [4:4] is the sub-list for extension type_name 738 4, // [4:4] is the sub-list for extension extendee 739 0, // [0:4] is the sub-list for field type_name 740} 741 742func init() { file_google_cloud_binaryauthorization_v1beta1_service_proto_init() } 743func file_google_cloud_binaryauthorization_v1beta1_service_proto_init() { 744 if File_google_cloud_binaryauthorization_v1beta1_service_proto != nil { 745 return 746 } 747 file_google_cloud_binaryauthorization_v1beta1_resources_proto_init() 748 if !protoimpl.UnsafeEnabled { 749 file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 750 switch v := v.(*GetPolicyRequest); i { 751 case 0: 752 return &v.state 753 case 1: 754 return &v.sizeCache 755 case 2: 756 return &v.unknownFields 757 default: 758 return nil 759 } 760 } 761 file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 762 switch v := v.(*UpdatePolicyRequest); i { 763 case 0: 764 return &v.state 765 case 1: 766 return &v.sizeCache 767 case 2: 768 return &v.unknownFields 769 default: 770 return nil 771 } 772 } 773 file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 774 switch v := v.(*CreateAttestorRequest); i { 775 case 0: 776 return &v.state 777 case 1: 778 return &v.sizeCache 779 case 2: 780 return &v.unknownFields 781 default: 782 return nil 783 } 784 } 785 file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 786 switch v := v.(*GetAttestorRequest); i { 787 case 0: 788 return &v.state 789 case 1: 790 return &v.sizeCache 791 case 2: 792 return &v.unknownFields 793 default: 794 return nil 795 } 796 } 797 file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 798 switch v := v.(*UpdateAttestorRequest); i { 799 case 0: 800 return &v.state 801 case 1: 802 return &v.sizeCache 803 case 2: 804 return &v.unknownFields 805 default: 806 return nil 807 } 808 } 809 file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 810 switch v := v.(*ListAttestorsRequest); i { 811 case 0: 812 return &v.state 813 case 1: 814 return &v.sizeCache 815 case 2: 816 return &v.unknownFields 817 default: 818 return nil 819 } 820 } 821 file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 822 switch v := v.(*ListAttestorsResponse); i { 823 case 0: 824 return &v.state 825 case 1: 826 return &v.sizeCache 827 case 2: 828 return &v.unknownFields 829 default: 830 return nil 831 } 832 } 833 file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 834 switch v := v.(*DeleteAttestorRequest); i { 835 case 0: 836 return &v.state 837 case 1: 838 return &v.sizeCache 839 case 2: 840 return &v.unknownFields 841 default: 842 return nil 843 } 844 } 845 } 846 type x struct{} 847 out := protoimpl.TypeBuilder{ 848 File: protoimpl.DescBuilder{ 849 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 850 RawDescriptor: file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDesc, 851 NumEnums: 0, 852 NumMessages: 8, 853 NumExtensions: 0, 854 NumServices: 1, 855 }, 856 GoTypes: file_google_cloud_binaryauthorization_v1beta1_service_proto_goTypes, 857 DependencyIndexes: file_google_cloud_binaryauthorization_v1beta1_service_proto_depIdxs, 858 MessageInfos: file_google_cloud_binaryauthorization_v1beta1_service_proto_msgTypes, 859 }.Build() 860 File_google_cloud_binaryauthorization_v1beta1_service_proto = out.File 861 file_google_cloud_binaryauthorization_v1beta1_service_proto_rawDesc = nil 862 file_google_cloud_binaryauthorization_v1beta1_service_proto_goTypes = nil 863 file_google_cloud_binaryauthorization_v1beta1_service_proto_depIdxs = nil 864} 865 866// Reference imports to suppress errors if they are not otherwise used. 867var _ context.Context 868var _ grpc.ClientConnInterface 869 870// This is a compile-time assertion to ensure that this generated file 871// is compatible with the grpc package it is being compiled against. 872const _ = grpc.SupportPackageIsVersion6 873 874// BinauthzManagementServiceV1Beta1Client is the client API for BinauthzManagementServiceV1Beta1 service. 875// 876// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 877type BinauthzManagementServiceV1Beta1Client interface { 878 // A [policy][google.cloud.binaryauthorization.v1beta1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] that must attest to 879 // a container image, before the project is allowed to deploy that 880 // image. There is at most one policy per project. All image admission 881 // requests are permitted if a project has no policy. 882 // 883 // Gets the [policy][google.cloud.binaryauthorization.v1beta1.Policy] for this project. Returns a default 884 // [policy][google.cloud.binaryauthorization.v1beta1.Policy] if the project does not have one. 885 GetPolicy(ctx context.Context, in *GetPolicyRequest, opts ...grpc.CallOption) (*Policy, error) 886 // Creates or updates a project's [policy][google.cloud.binaryauthorization.v1beta1.Policy], and returns a copy of the 887 // new [policy][google.cloud.binaryauthorization.v1beta1.Policy]. A policy is always updated as a whole, to avoid race 888 // conditions with concurrent policy enforcement (or management!) 889 // requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT 890 // if the request is malformed. 891 UpdatePolicy(ctx context.Context, in *UpdatePolicyRequest, opts ...grpc.CallOption) (*Policy, error) 892 // Creates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor], and returns a copy of the new 893 // [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the project does not exist, 894 // INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the 895 // [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] already exists. 896 CreateAttestor(ctx context.Context, in *CreateAttestorRequest, opts ...grpc.CallOption) (*Attestor, error) 897 // Gets an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. 898 // Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist. 899 GetAttestor(ctx context.Context, in *GetAttestorRequest, opts ...grpc.CallOption) (*Attestor, error) 900 // Updates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. 901 // Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist. 902 UpdateAttestor(ctx context.Context, in *UpdateAttestorRequest, opts ...grpc.CallOption) (*Attestor, error) 903 // Lists [attestors][google.cloud.binaryauthorization.v1beta1.Attestor]. 904 // Returns INVALID_ARGUMENT if the project does not exist. 905 ListAttestors(ctx context.Context, in *ListAttestorsRequest, opts ...grpc.CallOption) (*ListAttestorsResponse, error) 906 // Deletes an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the 907 // [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist. 908 DeleteAttestor(ctx context.Context, in *DeleteAttestorRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) 909} 910 911type binauthzManagementServiceV1Beta1Client struct { 912 cc grpc.ClientConnInterface 913} 914 915func NewBinauthzManagementServiceV1Beta1Client(cc grpc.ClientConnInterface) BinauthzManagementServiceV1Beta1Client { 916 return &binauthzManagementServiceV1Beta1Client{cc} 917} 918 919func (c *binauthzManagementServiceV1Beta1Client) GetPolicy(ctx context.Context, in *GetPolicyRequest, opts ...grpc.CallOption) (*Policy, error) { 920 out := new(Policy) 921 err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/GetPolicy", in, out, opts...) 922 if err != nil { 923 return nil, err 924 } 925 return out, nil 926} 927 928func (c *binauthzManagementServiceV1Beta1Client) UpdatePolicy(ctx context.Context, in *UpdatePolicyRequest, opts ...grpc.CallOption) (*Policy, error) { 929 out := new(Policy) 930 err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/UpdatePolicy", in, out, opts...) 931 if err != nil { 932 return nil, err 933 } 934 return out, nil 935} 936 937func (c *binauthzManagementServiceV1Beta1Client) CreateAttestor(ctx context.Context, in *CreateAttestorRequest, opts ...grpc.CallOption) (*Attestor, error) { 938 out := new(Attestor) 939 err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/CreateAttestor", in, out, opts...) 940 if err != nil { 941 return nil, err 942 } 943 return out, nil 944} 945 946func (c *binauthzManagementServiceV1Beta1Client) GetAttestor(ctx context.Context, in *GetAttestorRequest, opts ...grpc.CallOption) (*Attestor, error) { 947 out := new(Attestor) 948 err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/GetAttestor", in, out, opts...) 949 if err != nil { 950 return nil, err 951 } 952 return out, nil 953} 954 955func (c *binauthzManagementServiceV1Beta1Client) UpdateAttestor(ctx context.Context, in *UpdateAttestorRequest, opts ...grpc.CallOption) (*Attestor, error) { 956 out := new(Attestor) 957 err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/UpdateAttestor", in, out, opts...) 958 if err != nil { 959 return nil, err 960 } 961 return out, nil 962} 963 964func (c *binauthzManagementServiceV1Beta1Client) ListAttestors(ctx context.Context, in *ListAttestorsRequest, opts ...grpc.CallOption) (*ListAttestorsResponse, error) { 965 out := new(ListAttestorsResponse) 966 err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/ListAttestors", in, out, opts...) 967 if err != nil { 968 return nil, err 969 } 970 return out, nil 971} 972 973func (c *binauthzManagementServiceV1Beta1Client) DeleteAttestor(ctx context.Context, in *DeleteAttestorRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) { 974 out := new(emptypb.Empty) 975 err := c.cc.Invoke(ctx, "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/DeleteAttestor", in, out, opts...) 976 if err != nil { 977 return nil, err 978 } 979 return out, nil 980} 981 982// BinauthzManagementServiceV1Beta1Server is the server API for BinauthzManagementServiceV1Beta1 service. 983type BinauthzManagementServiceV1Beta1Server interface { 984 // A [policy][google.cloud.binaryauthorization.v1beta1.Policy] specifies the [attestors][google.cloud.binaryauthorization.v1beta1.Attestor] that must attest to 985 // a container image, before the project is allowed to deploy that 986 // image. There is at most one policy per project. All image admission 987 // requests are permitted if a project has no policy. 988 // 989 // Gets the [policy][google.cloud.binaryauthorization.v1beta1.Policy] for this project. Returns a default 990 // [policy][google.cloud.binaryauthorization.v1beta1.Policy] if the project does not have one. 991 GetPolicy(context.Context, *GetPolicyRequest) (*Policy, error) 992 // Creates or updates a project's [policy][google.cloud.binaryauthorization.v1beta1.Policy], and returns a copy of the 993 // new [policy][google.cloud.binaryauthorization.v1beta1.Policy]. A policy is always updated as a whole, to avoid race 994 // conditions with concurrent policy enforcement (or management!) 995 // requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT 996 // if the request is malformed. 997 UpdatePolicy(context.Context, *UpdatePolicyRequest) (*Policy, error) 998 // Creates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor], and returns a copy of the new 999 // [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the project does not exist, 1000 // INVALID_ARGUMENT if the request is malformed, ALREADY_EXISTS if the 1001 // [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] already exists. 1002 CreateAttestor(context.Context, *CreateAttestorRequest) (*Attestor, error) 1003 // Gets an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. 1004 // Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist. 1005 GetAttestor(context.Context, *GetAttestorRequest) (*Attestor, error) 1006 // Updates an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. 1007 // Returns NOT_FOUND if the [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist. 1008 UpdateAttestor(context.Context, *UpdateAttestorRequest) (*Attestor, error) 1009 // Lists [attestors][google.cloud.binaryauthorization.v1beta1.Attestor]. 1010 // Returns INVALID_ARGUMENT if the project does not exist. 1011 ListAttestors(context.Context, *ListAttestorsRequest) (*ListAttestorsResponse, error) 1012 // Deletes an [attestor][google.cloud.binaryauthorization.v1beta1.Attestor]. Returns NOT_FOUND if the 1013 // [attestor][google.cloud.binaryauthorization.v1beta1.Attestor] does not exist. 1014 DeleteAttestor(context.Context, *DeleteAttestorRequest) (*emptypb.Empty, error) 1015} 1016 1017// UnimplementedBinauthzManagementServiceV1Beta1Server can be embedded to have forward compatible implementations. 1018type UnimplementedBinauthzManagementServiceV1Beta1Server struct { 1019} 1020 1021func (*UnimplementedBinauthzManagementServiceV1Beta1Server) GetPolicy(context.Context, *GetPolicyRequest) (*Policy, error) { 1022 return nil, status.Errorf(codes.Unimplemented, "method GetPolicy not implemented") 1023} 1024func (*UnimplementedBinauthzManagementServiceV1Beta1Server) UpdatePolicy(context.Context, *UpdatePolicyRequest) (*Policy, error) { 1025 return nil, status.Errorf(codes.Unimplemented, "method UpdatePolicy not implemented") 1026} 1027func (*UnimplementedBinauthzManagementServiceV1Beta1Server) CreateAttestor(context.Context, *CreateAttestorRequest) (*Attestor, error) { 1028 return nil, status.Errorf(codes.Unimplemented, "method CreateAttestor not implemented") 1029} 1030func (*UnimplementedBinauthzManagementServiceV1Beta1Server) GetAttestor(context.Context, *GetAttestorRequest) (*Attestor, error) { 1031 return nil, status.Errorf(codes.Unimplemented, "method GetAttestor not implemented") 1032} 1033func (*UnimplementedBinauthzManagementServiceV1Beta1Server) UpdateAttestor(context.Context, *UpdateAttestorRequest) (*Attestor, error) { 1034 return nil, status.Errorf(codes.Unimplemented, "method UpdateAttestor not implemented") 1035} 1036func (*UnimplementedBinauthzManagementServiceV1Beta1Server) ListAttestors(context.Context, *ListAttestorsRequest) (*ListAttestorsResponse, error) { 1037 return nil, status.Errorf(codes.Unimplemented, "method ListAttestors not implemented") 1038} 1039func (*UnimplementedBinauthzManagementServiceV1Beta1Server) DeleteAttestor(context.Context, *DeleteAttestorRequest) (*emptypb.Empty, error) { 1040 return nil, status.Errorf(codes.Unimplemented, "method DeleteAttestor not implemented") 1041} 1042 1043func RegisterBinauthzManagementServiceV1Beta1Server(s *grpc.Server, srv BinauthzManagementServiceV1Beta1Server) { 1044 s.RegisterService(&_BinauthzManagementServiceV1Beta1_serviceDesc, srv) 1045} 1046 1047func _BinauthzManagementServiceV1Beta1_GetPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1048 in := new(GetPolicyRequest) 1049 if err := dec(in); err != nil { 1050 return nil, err 1051 } 1052 if interceptor == nil { 1053 return srv.(BinauthzManagementServiceV1Beta1Server).GetPolicy(ctx, in) 1054 } 1055 info := &grpc.UnaryServerInfo{ 1056 Server: srv, 1057 FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/GetPolicy", 1058 } 1059 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1060 return srv.(BinauthzManagementServiceV1Beta1Server).GetPolicy(ctx, req.(*GetPolicyRequest)) 1061 } 1062 return interceptor(ctx, in, info, handler) 1063} 1064 1065func _BinauthzManagementServiceV1Beta1_UpdatePolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1066 in := new(UpdatePolicyRequest) 1067 if err := dec(in); err != nil { 1068 return nil, err 1069 } 1070 if interceptor == nil { 1071 return srv.(BinauthzManagementServiceV1Beta1Server).UpdatePolicy(ctx, in) 1072 } 1073 info := &grpc.UnaryServerInfo{ 1074 Server: srv, 1075 FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/UpdatePolicy", 1076 } 1077 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1078 return srv.(BinauthzManagementServiceV1Beta1Server).UpdatePolicy(ctx, req.(*UpdatePolicyRequest)) 1079 } 1080 return interceptor(ctx, in, info, handler) 1081} 1082 1083func _BinauthzManagementServiceV1Beta1_CreateAttestor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1084 in := new(CreateAttestorRequest) 1085 if err := dec(in); err != nil { 1086 return nil, err 1087 } 1088 if interceptor == nil { 1089 return srv.(BinauthzManagementServiceV1Beta1Server).CreateAttestor(ctx, in) 1090 } 1091 info := &grpc.UnaryServerInfo{ 1092 Server: srv, 1093 FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/CreateAttestor", 1094 } 1095 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1096 return srv.(BinauthzManagementServiceV1Beta1Server).CreateAttestor(ctx, req.(*CreateAttestorRequest)) 1097 } 1098 return interceptor(ctx, in, info, handler) 1099} 1100 1101func _BinauthzManagementServiceV1Beta1_GetAttestor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1102 in := new(GetAttestorRequest) 1103 if err := dec(in); err != nil { 1104 return nil, err 1105 } 1106 if interceptor == nil { 1107 return srv.(BinauthzManagementServiceV1Beta1Server).GetAttestor(ctx, in) 1108 } 1109 info := &grpc.UnaryServerInfo{ 1110 Server: srv, 1111 FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/GetAttestor", 1112 } 1113 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1114 return srv.(BinauthzManagementServiceV1Beta1Server).GetAttestor(ctx, req.(*GetAttestorRequest)) 1115 } 1116 return interceptor(ctx, in, info, handler) 1117} 1118 1119func _BinauthzManagementServiceV1Beta1_UpdateAttestor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1120 in := new(UpdateAttestorRequest) 1121 if err := dec(in); err != nil { 1122 return nil, err 1123 } 1124 if interceptor == nil { 1125 return srv.(BinauthzManagementServiceV1Beta1Server).UpdateAttestor(ctx, in) 1126 } 1127 info := &grpc.UnaryServerInfo{ 1128 Server: srv, 1129 FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/UpdateAttestor", 1130 } 1131 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1132 return srv.(BinauthzManagementServiceV1Beta1Server).UpdateAttestor(ctx, req.(*UpdateAttestorRequest)) 1133 } 1134 return interceptor(ctx, in, info, handler) 1135} 1136 1137func _BinauthzManagementServiceV1Beta1_ListAttestors_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1138 in := new(ListAttestorsRequest) 1139 if err := dec(in); err != nil { 1140 return nil, err 1141 } 1142 if interceptor == nil { 1143 return srv.(BinauthzManagementServiceV1Beta1Server).ListAttestors(ctx, in) 1144 } 1145 info := &grpc.UnaryServerInfo{ 1146 Server: srv, 1147 FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/ListAttestors", 1148 } 1149 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1150 return srv.(BinauthzManagementServiceV1Beta1Server).ListAttestors(ctx, req.(*ListAttestorsRequest)) 1151 } 1152 return interceptor(ctx, in, info, handler) 1153} 1154 1155func _BinauthzManagementServiceV1Beta1_DeleteAttestor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1156 in := new(DeleteAttestorRequest) 1157 if err := dec(in); err != nil { 1158 return nil, err 1159 } 1160 if interceptor == nil { 1161 return srv.(BinauthzManagementServiceV1Beta1Server).DeleteAttestor(ctx, in) 1162 } 1163 info := &grpc.UnaryServerInfo{ 1164 Server: srv, 1165 FullMethod: "/google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1/DeleteAttestor", 1166 } 1167 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1168 return srv.(BinauthzManagementServiceV1Beta1Server).DeleteAttestor(ctx, req.(*DeleteAttestorRequest)) 1169 } 1170 return interceptor(ctx, in, info, handler) 1171} 1172 1173var _BinauthzManagementServiceV1Beta1_serviceDesc = grpc.ServiceDesc{ 1174 ServiceName: "google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1", 1175 HandlerType: (*BinauthzManagementServiceV1Beta1Server)(nil), 1176 Methods: []grpc.MethodDesc{ 1177 { 1178 MethodName: "GetPolicy", 1179 Handler: _BinauthzManagementServiceV1Beta1_GetPolicy_Handler, 1180 }, 1181 { 1182 MethodName: "UpdatePolicy", 1183 Handler: _BinauthzManagementServiceV1Beta1_UpdatePolicy_Handler, 1184 }, 1185 { 1186 MethodName: "CreateAttestor", 1187 Handler: _BinauthzManagementServiceV1Beta1_CreateAttestor_Handler, 1188 }, 1189 { 1190 MethodName: "GetAttestor", 1191 Handler: _BinauthzManagementServiceV1Beta1_GetAttestor_Handler, 1192 }, 1193 { 1194 MethodName: "UpdateAttestor", 1195 Handler: _BinauthzManagementServiceV1Beta1_UpdateAttestor_Handler, 1196 }, 1197 { 1198 MethodName: "ListAttestors", 1199 Handler: _BinauthzManagementServiceV1Beta1_ListAttestors_Handler, 1200 }, 1201 { 1202 MethodName: "DeleteAttestor", 1203 Handler: _BinauthzManagementServiceV1Beta1_DeleteAttestor_Handler, 1204 }, 1205 }, 1206 Streams: []grpc.StreamDesc{}, 1207 Metadata: "google/cloud/binaryauthorization/v1beta1/service.proto", 1208} 1209