github.com/cloudwan/edgelq-sdk@v1.15.4/iam/client/v1/authorization/authorization_custom.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/iam/proto/v1/authorization_custom.proto 3 // DO NOT EDIT!!! 4 5 package authorization_client 6 7 import ( 8 "fmt" 9 "reflect" 10 "sync" 11 12 "google.golang.org/protobuf/encoding/protojson" 13 "google.golang.org/protobuf/proto" 14 preflect "google.golang.org/protobuf/reflect/protoreflect" 15 "google.golang.org/protobuf/runtime/protoimpl" 16 ) 17 18 // proto imports 19 import ( 20 role "github.com/cloudwan/edgelq-sdk/iam/resources/v1/role" 21 role_binding "github.com/cloudwan/edgelq-sdk/iam/resources/v1/role_binding" 22 service_account "github.com/cloudwan/edgelq-sdk/iam/resources/v1/service_account" 23 user "github.com/cloudwan/edgelq-sdk/iam/resources/v1/user" 24 meta_service "github.com/cloudwan/goten-sdk/meta-service/resources/v1/service" 25 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 26 ) 27 28 // Reference imports to suppress errors if they are not otherwise used. 29 var ( 30 _ = fmt.Errorf 31 _ = reflect.Method{} 32 _ = sync.Once{} 33 34 _ = protojson.MarshalOptions{} 35 _ = proto.MarshalOptions{} 36 _ = preflect.Value{} 37 _ = protoimpl.DescBuilder{} 38 ) 39 40 // make sure we're using proto imports 41 var ( 42 _ = &role.Role{} 43 _ = &role_binding.RoleBinding{} 44 _ = &service_account.ServiceAccount{} 45 _ = &user.User{} 46 _ = &fieldmaskpb.FieldMask{} 47 _ = &meta_service.Service{} 48 ) 49 50 const ( 51 // Verify that this generated code is sufficiently up-to-date. 52 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 53 // Verify that runtime/protoimpl is sufficiently up-to-date. 54 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 55 ) 56 57 // Request message for method [GetPrincipal][ntt.iam.v1.GetPrincipal] 58 type GetPrincipalRequest struct { 59 state protoimpl.MessageState 60 sizeCache protoimpl.SizeCache 61 unknownFields protoimpl.UnknownFields 62 // Service asking for given principal - IAM verifies if given principal has 63 // any role bindings in requesting service. 64 RequestingService *meta_service.Name `protobuf:"bytes,1,opt,customtype=Name,name=requesting_service,json=requestingService,proto3" json:"requesting_service,omitempty"` 65 // Principal ID, different for users or service accounts 66 PrincipalKeyId string `protobuf:"bytes,2,opt,name=principal_key_id,json=principalKeyId,proto3" json:"principal_key_id,omitempty"` 67 // User authorization token 68 AuthToken string `protobuf:"bytes,4,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"` 69 } 70 71 func (m *GetPrincipalRequest) Reset() { 72 *m = GetPrincipalRequest{} 73 if protoimpl.UnsafeEnabled { 74 mi := &edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[0] 75 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 76 ms.StoreMessageInfo(mi) 77 } 78 } 79 80 func (m *GetPrincipalRequest) String() string { 81 return protoimpl.X.MessageStringOf(m) 82 } 83 84 func (*GetPrincipalRequest) ProtoMessage() {} 85 86 func (m *GetPrincipalRequest) ProtoReflect() preflect.Message { 87 mi := &edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[0] 88 if protoimpl.UnsafeEnabled && m != nil { 89 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 90 if ms.LoadMessageInfo() == nil { 91 ms.StoreMessageInfo(mi) 92 } 93 return ms 94 } 95 return mi.MessageOf(m) 96 } 97 98 func (*GetPrincipalRequest) GotenMessage() {} 99 100 // Deprecated, Use GetPrincipalRequest.ProtoReflect.Descriptor instead. 101 func (*GetPrincipalRequest) Descriptor() ([]byte, []int) { 102 return edgelq_iam_proto_v1_authorization_custom_proto_rawDescGZIP(), []int{0} 103 } 104 105 func (m *GetPrincipalRequest) Unmarshal(b []byte) error { 106 return proto.Unmarshal(b, m) 107 } 108 109 func (m *GetPrincipalRequest) Marshal() ([]byte, error) { 110 return proto.Marshal(m) 111 } 112 113 func (m *GetPrincipalRequest) MarshalJSON() ([]byte, error) { 114 return protojson.MarshalOptions{}.Marshal(m) 115 } 116 117 func (m *GetPrincipalRequest) UnmarshalJSON(data []byte) error { 118 return protojson.Unmarshal(data, m) 119 } 120 121 func (m *GetPrincipalRequest) GetRequestingService() *meta_service.Name { 122 if m != nil { 123 return m.RequestingService 124 } 125 return nil 126 } 127 128 func (m *GetPrincipalRequest) GetPrincipalKeyId() string { 129 if m != nil { 130 return m.PrincipalKeyId 131 } 132 return "" 133 } 134 135 func (m *GetPrincipalRequest) GetAuthToken() string { 136 if m != nil { 137 return m.AuthToken 138 } 139 return "" 140 } 141 142 func (m *GetPrincipalRequest) SetRequestingService(fv *meta_service.Name) { 143 if m == nil { 144 panic(fmt.Errorf("can't set %s on nil %s", "RequestingService", "GetPrincipalRequest")) 145 } 146 m.RequestingService = fv 147 } 148 149 func (m *GetPrincipalRequest) SetPrincipalKeyId(fv string) { 150 if m == nil { 151 panic(fmt.Errorf("can't set %s on nil %s", "PrincipalKeyId", "GetPrincipalRequest")) 152 } 153 m.PrincipalKeyId = fv 154 } 155 156 func (m *GetPrincipalRequest) SetAuthToken(fv string) { 157 if m == nil { 158 panic(fmt.Errorf("can't set %s on nil %s", "AuthToken", "GetPrincipalRequest")) 159 } 160 m.AuthToken = fv 161 } 162 163 // Response message for method [GetPrincipal][ntt.iam.v1.GetPrincipal] 164 type GetPrincipalResponse struct { 165 state protoimpl.MessageState 166 sizeCache protoimpl.SizeCache 167 unknownFields protoimpl.UnknownFields 168 // Public json key 169 JsonKey string `protobuf:"bytes,1,opt,name=json_key,json=jsonKey,proto3" json:"json_key,omitempty"` 170 // Key type 171 PrincipalKeyType string `protobuf:"bytes,2,opt,name=principal_key_type,json=principalKeyType,proto3" json:"principal_key_type,omitempty"` 172 // Types that are valid to be assigned to Principal: 173 // *GetPrincipalResponse_User 174 // *GetPrincipalResponse_ServiceAccount 175 // *GetPrincipalResponse_Anonymous 176 Principal isGetPrincipalResponse_Principal `protobuf_oneof:"principal"` 177 } 178 179 func (m *GetPrincipalResponse) Reset() { 180 *m = GetPrincipalResponse{} 181 if protoimpl.UnsafeEnabled { 182 mi := &edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[1] 183 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 184 ms.StoreMessageInfo(mi) 185 } 186 } 187 188 func (m *GetPrincipalResponse) String() string { 189 return protoimpl.X.MessageStringOf(m) 190 } 191 192 func (*GetPrincipalResponse) ProtoMessage() {} 193 194 func (m *GetPrincipalResponse) ProtoReflect() preflect.Message { 195 mi := &edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[1] 196 if protoimpl.UnsafeEnabled && m != nil { 197 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 198 if ms.LoadMessageInfo() == nil { 199 ms.StoreMessageInfo(mi) 200 } 201 return ms 202 } 203 return mi.MessageOf(m) 204 } 205 206 func (*GetPrincipalResponse) GotenMessage() {} 207 208 // Deprecated, Use GetPrincipalResponse.ProtoReflect.Descriptor instead. 209 func (*GetPrincipalResponse) Descriptor() ([]byte, []int) { 210 return edgelq_iam_proto_v1_authorization_custom_proto_rawDescGZIP(), []int{1} 211 } 212 213 func (m *GetPrincipalResponse) Unmarshal(b []byte) error { 214 return proto.Unmarshal(b, m) 215 } 216 217 func (m *GetPrincipalResponse) Marshal() ([]byte, error) { 218 return proto.Marshal(m) 219 } 220 221 func (m *GetPrincipalResponse) MarshalJSON() ([]byte, error) { 222 return protojson.MarshalOptions{}.Marshal(m) 223 } 224 225 func (m *GetPrincipalResponse) UnmarshalJSON(data []byte) error { 226 return protojson.Unmarshal(data, m) 227 } 228 229 type isGetPrincipalResponse_Principal interface { 230 isGetPrincipalResponse_Principal() 231 } 232 233 type GetPrincipalResponse_User struct { 234 // User data mapping principal 235 User *user.User `protobuf:"bytes,3,opt,name=user,proto3,oneof"` 236 } 237 type GetPrincipalResponse_ServiceAccount struct { 238 // Service account mapping principal 239 ServiceAccount *service_account.ServiceAccount `protobuf:"bytes,4,opt,name=service_account,json=serviceAccount,proto3,oneof"` 240 } 241 type GetPrincipalResponse_Anonymous struct { 242 // Anonymous principal 243 Anonymous bool `protobuf:"varint,5,opt,name=anonymous,proto3,oneof"` 244 } 245 246 func (*GetPrincipalResponse_User) isGetPrincipalResponse_Principal() {} 247 func (*GetPrincipalResponse_ServiceAccount) isGetPrincipalResponse_Principal() {} 248 func (*GetPrincipalResponse_Anonymous) isGetPrincipalResponse_Principal() {} 249 func (m *GetPrincipalResponse) GetJsonKey() string { 250 if m != nil { 251 return m.JsonKey 252 } 253 return "" 254 } 255 256 func (m *GetPrincipalResponse) GetPrincipalKeyType() string { 257 if m != nil { 258 return m.PrincipalKeyType 259 } 260 return "" 261 } 262 263 func (m *GetPrincipalResponse) GetPrincipal() isGetPrincipalResponse_Principal { 264 if m != nil { 265 return m.Principal 266 } 267 return nil 268 } 269 func (m *GetPrincipalResponse) GetUser() *user.User { 270 if x, ok := m.GetPrincipal().(*GetPrincipalResponse_User); ok { 271 return x.User 272 } 273 return nil 274 } 275 func (m *GetPrincipalResponse) GetServiceAccount() *service_account.ServiceAccount { 276 if x, ok := m.GetPrincipal().(*GetPrincipalResponse_ServiceAccount); ok { 277 return x.ServiceAccount 278 } 279 return nil 280 } 281 func (m *GetPrincipalResponse) GetAnonymous() bool { 282 if x, ok := m.GetPrincipal().(*GetPrincipalResponse_Anonymous); ok { 283 return x.Anonymous 284 } 285 return false 286 } 287 func (m *GetPrincipalResponse) SetJsonKey(fv string) { 288 if m == nil { 289 panic(fmt.Errorf("can't set %s on nil %s", "JsonKey", "GetPrincipalResponse")) 290 } 291 m.JsonKey = fv 292 } 293 294 func (m *GetPrincipalResponse) SetPrincipalKeyType(fv string) { 295 if m == nil { 296 panic(fmt.Errorf("can't set %s on nil %s", "PrincipalKeyType", "GetPrincipalResponse")) 297 } 298 m.PrincipalKeyType = fv 299 } 300 301 func (m *GetPrincipalResponse) SetPrincipal(ofv isGetPrincipalResponse_Principal) { 302 if m == nil { 303 panic(fmt.Errorf("can't set %s on nil %s", "isGetPrincipalResponse_Principal", "GetPrincipalResponse")) 304 } 305 m.Principal = ofv 306 } 307 func (m *GetPrincipalResponse) SetUser(fv *user.User) { 308 m.SetPrincipal(&GetPrincipalResponse_User{User: fv}) 309 } 310 func (m *GetPrincipalResponse) SetServiceAccount(fv *service_account.ServiceAccount) { 311 m.SetPrincipal(&GetPrincipalResponse_ServiceAccount{ServiceAccount: fv}) 312 } 313 func (m *GetPrincipalResponse) SetAnonymous(fv bool) { 314 m.SetPrincipal(&GetPrincipalResponse_Anonymous{Anonymous: fv}) 315 } 316 317 // Request message for method 318 // [WatchPrincipalUpdates][ntt.iam.v1.WatchPrincipalUpdates] 319 type WatchPrincipalUpdatesRequest struct { 320 state protoimpl.MessageState 321 sizeCache protoimpl.SizeCache 322 unknownFields protoimpl.UnknownFields 323 RequestingService *meta_service.Name `protobuf:"bytes,1,opt,customtype=Name,name=requesting_service,json=requestingService,proto3" json:"requesting_service,omitempty"` 324 // Resume token in case of disconnection 325 ResumeToken string `protobuf:"bytes,3,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty"` 326 } 327 328 func (m *WatchPrincipalUpdatesRequest) Reset() { 329 *m = WatchPrincipalUpdatesRequest{} 330 if protoimpl.UnsafeEnabled { 331 mi := &edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[2] 332 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 333 ms.StoreMessageInfo(mi) 334 } 335 } 336 337 func (m *WatchPrincipalUpdatesRequest) String() string { 338 return protoimpl.X.MessageStringOf(m) 339 } 340 341 func (*WatchPrincipalUpdatesRequest) ProtoMessage() {} 342 343 func (m *WatchPrincipalUpdatesRequest) ProtoReflect() preflect.Message { 344 mi := &edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[2] 345 if protoimpl.UnsafeEnabled && m != nil { 346 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 347 if ms.LoadMessageInfo() == nil { 348 ms.StoreMessageInfo(mi) 349 } 350 return ms 351 } 352 return mi.MessageOf(m) 353 } 354 355 func (*WatchPrincipalUpdatesRequest) GotenMessage() {} 356 357 // Deprecated, Use WatchPrincipalUpdatesRequest.ProtoReflect.Descriptor instead. 358 func (*WatchPrincipalUpdatesRequest) Descriptor() ([]byte, []int) { 359 return edgelq_iam_proto_v1_authorization_custom_proto_rawDescGZIP(), []int{2} 360 } 361 362 func (m *WatchPrincipalUpdatesRequest) Unmarshal(b []byte) error { 363 return proto.Unmarshal(b, m) 364 } 365 366 func (m *WatchPrincipalUpdatesRequest) Marshal() ([]byte, error) { 367 return proto.Marshal(m) 368 } 369 370 func (m *WatchPrincipalUpdatesRequest) MarshalJSON() ([]byte, error) { 371 return protojson.MarshalOptions{}.Marshal(m) 372 } 373 374 func (m *WatchPrincipalUpdatesRequest) UnmarshalJSON(data []byte) error { 375 return protojson.Unmarshal(data, m) 376 } 377 378 func (m *WatchPrincipalUpdatesRequest) GetRequestingService() *meta_service.Name { 379 if m != nil { 380 return m.RequestingService 381 } 382 return nil 383 } 384 385 func (m *WatchPrincipalUpdatesRequest) GetResumeToken() string { 386 if m != nil { 387 return m.ResumeToken 388 } 389 return "" 390 } 391 392 func (m *WatchPrincipalUpdatesRequest) SetRequestingService(fv *meta_service.Name) { 393 if m == nil { 394 panic(fmt.Errorf("can't set %s on nil %s", "RequestingService", "WatchPrincipalUpdatesRequest")) 395 } 396 m.RequestingService = fv 397 } 398 399 func (m *WatchPrincipalUpdatesRequest) SetResumeToken(fv string) { 400 if m == nil { 401 panic(fmt.Errorf("can't set %s on nil %s", "ResumeToken", "WatchPrincipalUpdatesRequest")) 402 } 403 m.ResumeToken = fv 404 } 405 406 // Response message for method 407 // [WatchPrincipalUpdates][ntt.iam.v1.WatchPrincipalUpdates] 408 type WatchPrincipalUpdatesResponse struct { 409 state protoimpl.MessageState 410 sizeCache protoimpl.SizeCache 411 unknownFields protoimpl.UnknownFields 412 // All added or removed principals 413 CurrentPrincipals []*WatchPrincipalUpdatesResponse_CurrentPrincipal `protobuf:"bytes,1,rep,name=current_principals,json=currentPrincipals,proto3" json:"current_principals,omitempty"` 414 // All removed principals 415 RemovedPrincipals []*WatchPrincipalUpdatesResponse_RemovedPrincipal `protobuf:"bytes,2,rep,name=removed_principals,json=removedPrincipals,proto3" json:"removed_principals,omitempty"` 416 // Whether list of shadows received by client is in sync 417 IsCurrent bool `protobuf:"varint,3,opt,name=is_current,json=isCurrent,proto3" json:"is_current,omitempty"` 418 // Whether current, pending changes should be reset. 419 IsReset bool `protobuf:"varint,4,opt,name=is_reset,json=isReset,proto3" json:"is_reset,omitempty"` 420 // Token to resume from. 421 ResumeToken string `protobuf:"bytes,5,opt,name=resume_token,json=resumeToken,proto3" json:"resume_token,omitempty"` 422 } 423 424 func (m *WatchPrincipalUpdatesResponse) Reset() { 425 *m = WatchPrincipalUpdatesResponse{} 426 if protoimpl.UnsafeEnabled { 427 mi := &edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[3] 428 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 429 ms.StoreMessageInfo(mi) 430 } 431 } 432 433 func (m *WatchPrincipalUpdatesResponse) String() string { 434 return protoimpl.X.MessageStringOf(m) 435 } 436 437 func (*WatchPrincipalUpdatesResponse) ProtoMessage() {} 438 439 func (m *WatchPrincipalUpdatesResponse) ProtoReflect() preflect.Message { 440 mi := &edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[3] 441 if protoimpl.UnsafeEnabled && m != nil { 442 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 443 if ms.LoadMessageInfo() == nil { 444 ms.StoreMessageInfo(mi) 445 } 446 return ms 447 } 448 return mi.MessageOf(m) 449 } 450 451 func (*WatchPrincipalUpdatesResponse) GotenMessage() {} 452 453 // Deprecated, Use WatchPrincipalUpdatesResponse.ProtoReflect.Descriptor instead. 454 func (*WatchPrincipalUpdatesResponse) Descriptor() ([]byte, []int) { 455 return edgelq_iam_proto_v1_authorization_custom_proto_rawDescGZIP(), []int{3} 456 } 457 458 func (m *WatchPrincipalUpdatesResponse) Unmarshal(b []byte) error { 459 return proto.Unmarshal(b, m) 460 } 461 462 func (m *WatchPrincipalUpdatesResponse) Marshal() ([]byte, error) { 463 return proto.Marshal(m) 464 } 465 466 func (m *WatchPrincipalUpdatesResponse) MarshalJSON() ([]byte, error) { 467 return protojson.MarshalOptions{}.Marshal(m) 468 } 469 470 func (m *WatchPrincipalUpdatesResponse) UnmarshalJSON(data []byte) error { 471 return protojson.Unmarshal(data, m) 472 } 473 474 func (m *WatchPrincipalUpdatesResponse) GetCurrentPrincipals() []*WatchPrincipalUpdatesResponse_CurrentPrincipal { 475 if m != nil { 476 return m.CurrentPrincipals 477 } 478 return nil 479 } 480 481 func (m *WatchPrincipalUpdatesResponse) GetRemovedPrincipals() []*WatchPrincipalUpdatesResponse_RemovedPrincipal { 482 if m != nil { 483 return m.RemovedPrincipals 484 } 485 return nil 486 } 487 488 func (m *WatchPrincipalUpdatesResponse) GetIsCurrent() bool { 489 if m != nil { 490 return m.IsCurrent 491 } 492 return false 493 } 494 495 func (m *WatchPrincipalUpdatesResponse) GetIsReset() bool { 496 if m != nil { 497 return m.IsReset 498 } 499 return false 500 } 501 502 func (m *WatchPrincipalUpdatesResponse) GetResumeToken() string { 503 if m != nil { 504 return m.ResumeToken 505 } 506 return "" 507 } 508 509 func (m *WatchPrincipalUpdatesResponse) SetCurrentPrincipals(fv []*WatchPrincipalUpdatesResponse_CurrentPrincipal) { 510 if m == nil { 511 panic(fmt.Errorf("can't set %s on nil %s", "CurrentPrincipals", "WatchPrincipalUpdatesResponse")) 512 } 513 m.CurrentPrincipals = fv 514 } 515 516 func (m *WatchPrincipalUpdatesResponse) SetRemovedPrincipals(fv []*WatchPrincipalUpdatesResponse_RemovedPrincipal) { 517 if m == nil { 518 panic(fmt.Errorf("can't set %s on nil %s", "RemovedPrincipals", "WatchPrincipalUpdatesResponse")) 519 } 520 m.RemovedPrincipals = fv 521 } 522 523 func (m *WatchPrincipalUpdatesResponse) SetIsCurrent(fv bool) { 524 if m == nil { 525 panic(fmt.Errorf("can't set %s on nil %s", "IsCurrent", "WatchPrincipalUpdatesResponse")) 526 } 527 m.IsCurrent = fv 528 } 529 530 func (m *WatchPrincipalUpdatesResponse) SetIsReset(fv bool) { 531 if m == nil { 532 panic(fmt.Errorf("can't set %s on nil %s", "IsReset", "WatchPrincipalUpdatesResponse")) 533 } 534 m.IsReset = fv 535 } 536 537 func (m *WatchPrincipalUpdatesResponse) SetResumeToken(fv string) { 538 if m == nil { 539 panic(fmt.Errorf("can't set %s on nil %s", "ResumeToken", "WatchPrincipalUpdatesResponse")) 540 } 541 m.ResumeToken = fv 542 } 543 544 // Request message for method 545 // [CheckMyRoleBindings][ntt.iam.v1.CheckMyRoleBindings] 546 type CheckMyRoleBindingsRequest struct { 547 state protoimpl.MessageState 548 sizeCache protoimpl.SizeCache 549 unknownFields protoimpl.UnknownFields 550 // Scope determines where roles should be looked from - its either system, 551 // service, project or organization scope. However, if it contains an 552 // organization or project, CheckMyRoles will perform check on all ancestry 553 // path (parent organizations). 554 Parent *role_binding.ParentName `protobuf:"bytes,1,opt,customtype=ParentName,name=parent,proto3" json:"parent,omitempty"` 555 // Optional additional filter to apply on role bindings returned 556 // Simplified SQL-like syntax with following operators: 557 // <=, >=, =, !=, <, >, LIKE, CONTAINS (aliases CONTAIN, HAS, HAVE), IN, IS 558 // [NOT] NULL | NaN . Combine conditions with OR | AND example: 'meta.labels 559 // CONTAINS "severity:important" OR (state.last_error_time > 560 // "2018-11-15T10:00:00Z" AND state.status = "ERROR")' 561 Filter *role_binding.Filter `protobuf:"bytes,5,opt,customtype=Filter,name=filter,proto3" json:"filter,omitempty"` 562 // Custom field mask to apply on role bindings. By default, is none is 563 // specified, following is used: [ "name", "role", "scope_params", 564 // "executable_conditions", "owned_objects" ]. 565 CustomFieldMask *role_binding.RoleBinding_FieldMask `protobuf:"bytes,6,opt,customtype=RoleBinding_FieldMask,name=custom_field_mask,json=customFieldMask,proto3" json:"custom_field_mask,omitempty"` 566 } 567 568 func (m *CheckMyRoleBindingsRequest) Reset() { 569 *m = CheckMyRoleBindingsRequest{} 570 if protoimpl.UnsafeEnabled { 571 mi := &edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[4] 572 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 573 ms.StoreMessageInfo(mi) 574 } 575 } 576 577 func (m *CheckMyRoleBindingsRequest) String() string { 578 return protoimpl.X.MessageStringOf(m) 579 } 580 581 func (*CheckMyRoleBindingsRequest) ProtoMessage() {} 582 583 func (m *CheckMyRoleBindingsRequest) ProtoReflect() preflect.Message { 584 mi := &edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[4] 585 if protoimpl.UnsafeEnabled && m != nil { 586 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 587 if ms.LoadMessageInfo() == nil { 588 ms.StoreMessageInfo(mi) 589 } 590 return ms 591 } 592 return mi.MessageOf(m) 593 } 594 595 func (*CheckMyRoleBindingsRequest) GotenMessage() {} 596 597 // Deprecated, Use CheckMyRoleBindingsRequest.ProtoReflect.Descriptor instead. 598 func (*CheckMyRoleBindingsRequest) Descriptor() ([]byte, []int) { 599 return edgelq_iam_proto_v1_authorization_custom_proto_rawDescGZIP(), []int{4} 600 } 601 602 func (m *CheckMyRoleBindingsRequest) Unmarshal(b []byte) error { 603 return proto.Unmarshal(b, m) 604 } 605 606 func (m *CheckMyRoleBindingsRequest) Marshal() ([]byte, error) { 607 return proto.Marshal(m) 608 } 609 610 func (m *CheckMyRoleBindingsRequest) MarshalJSON() ([]byte, error) { 611 return protojson.MarshalOptions{}.Marshal(m) 612 } 613 614 func (m *CheckMyRoleBindingsRequest) UnmarshalJSON(data []byte) error { 615 return protojson.Unmarshal(data, m) 616 } 617 618 func (m *CheckMyRoleBindingsRequest) GetParent() *role_binding.ParentName { 619 if m != nil { 620 return m.Parent 621 } 622 return nil 623 } 624 625 func (m *CheckMyRoleBindingsRequest) GetFilter() *role_binding.Filter { 626 if m != nil { 627 return m.Filter 628 } 629 return nil 630 } 631 632 func (m *CheckMyRoleBindingsRequest) GetCustomFieldMask() *role_binding.RoleBinding_FieldMask { 633 if m != nil { 634 return m.CustomFieldMask 635 } 636 return nil 637 } 638 639 func (m *CheckMyRoleBindingsRequest) SetParent(fv *role_binding.ParentName) { 640 if m == nil { 641 panic(fmt.Errorf("can't set %s on nil %s", "Parent", "CheckMyRoleBindingsRequest")) 642 } 643 m.Parent = fv 644 } 645 646 func (m *CheckMyRoleBindingsRequest) SetFilter(fv *role_binding.Filter) { 647 if m == nil { 648 panic(fmt.Errorf("can't set %s on nil %s", "Filter", "CheckMyRoleBindingsRequest")) 649 } 650 m.Filter = fv 651 } 652 653 func (m *CheckMyRoleBindingsRequest) SetCustomFieldMask(fv *role_binding.RoleBinding_FieldMask) { 654 if m == nil { 655 panic(fmt.Errorf("can't set %s on nil %s", "CustomFieldMask", "CheckMyRoleBindingsRequest")) 656 } 657 m.CustomFieldMask = fv 658 } 659 660 // Response message for method [CheckMyRoles][ntt.iam.v1.CheckMyRoles] 661 type CheckMyRoleBindingsResponse struct { 662 state protoimpl.MessageState 663 sizeCache protoimpl.SizeCache 664 unknownFields protoimpl.UnknownFields 665 // List of returned role bindings with corresponding grants. 666 ResolvableGrants []*CheckMyRoleBindingsResponse_ResolvableGrant `protobuf:"bytes,1,rep,name=resolvable_grants,json=resolvableGrants,proto3" json:"resolvable_grants,omitempty"` 667 } 668 669 func (m *CheckMyRoleBindingsResponse) Reset() { 670 *m = CheckMyRoleBindingsResponse{} 671 if protoimpl.UnsafeEnabled { 672 mi := &edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[5] 673 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 674 ms.StoreMessageInfo(mi) 675 } 676 } 677 678 func (m *CheckMyRoleBindingsResponse) String() string { 679 return protoimpl.X.MessageStringOf(m) 680 } 681 682 func (*CheckMyRoleBindingsResponse) ProtoMessage() {} 683 684 func (m *CheckMyRoleBindingsResponse) ProtoReflect() preflect.Message { 685 mi := &edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[5] 686 if protoimpl.UnsafeEnabled && m != nil { 687 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 688 if ms.LoadMessageInfo() == nil { 689 ms.StoreMessageInfo(mi) 690 } 691 return ms 692 } 693 return mi.MessageOf(m) 694 } 695 696 func (*CheckMyRoleBindingsResponse) GotenMessage() {} 697 698 // Deprecated, Use CheckMyRoleBindingsResponse.ProtoReflect.Descriptor instead. 699 func (*CheckMyRoleBindingsResponse) Descriptor() ([]byte, []int) { 700 return edgelq_iam_proto_v1_authorization_custom_proto_rawDescGZIP(), []int{5} 701 } 702 703 func (m *CheckMyRoleBindingsResponse) Unmarshal(b []byte) error { 704 return proto.Unmarshal(b, m) 705 } 706 707 func (m *CheckMyRoleBindingsResponse) Marshal() ([]byte, error) { 708 return proto.Marshal(m) 709 } 710 711 func (m *CheckMyRoleBindingsResponse) MarshalJSON() ([]byte, error) { 712 return protojson.MarshalOptions{}.Marshal(m) 713 } 714 715 func (m *CheckMyRoleBindingsResponse) UnmarshalJSON(data []byte) error { 716 return protojson.Unmarshal(data, m) 717 } 718 719 func (m *CheckMyRoleBindingsResponse) GetResolvableGrants() []*CheckMyRoleBindingsResponse_ResolvableGrant { 720 if m != nil { 721 return m.ResolvableGrants 722 } 723 return nil 724 } 725 726 func (m *CheckMyRoleBindingsResponse) SetResolvableGrants(fv []*CheckMyRoleBindingsResponse_ResolvableGrant) { 727 if m == nil { 728 panic(fmt.Errorf("can't set %s on nil %s", "ResolvableGrants", "CheckMyRoleBindingsResponse")) 729 } 730 m.ResolvableGrants = fv 731 } 732 733 type WatchPrincipalUpdatesResponse_CurrentPrincipal struct { 734 state protoimpl.MessageState 735 sizeCache protoimpl.SizeCache 736 unknownFields protoimpl.UnknownFields 737 PrincipalKeyId string `protobuf:"bytes,1,opt,name=principal_key_id,json=principalKeyId,proto3" json:"principal_key_id,omitempty"` 738 JsonKey string `protobuf:"bytes,2,opt,name=json_key,json=jsonKey,proto3" json:"json_key,omitempty"` 739 PrincipalKeyType string `protobuf:"bytes,3,opt,name=principal_key_type,json=principalKeyType,proto3" json:"principal_key_type,omitempty"` 740 // Types that are valid to be assigned to Update: 741 // *WatchPrincipalUpdatesResponse_CurrentPrincipal_User 742 // *WatchPrincipalUpdatesResponse_CurrentPrincipal_ServiceAccount 743 Update isWatchPrincipalUpdatesResponse_CurrentPrincipal_Update `protobuf_oneof:"update"` 744 } 745 746 func (m *WatchPrincipalUpdatesResponse_CurrentPrincipal) Reset() { 747 *m = WatchPrincipalUpdatesResponse_CurrentPrincipal{} 748 if protoimpl.UnsafeEnabled { 749 mi := &edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[6] 750 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 751 ms.StoreMessageInfo(mi) 752 } 753 } 754 755 func (m *WatchPrincipalUpdatesResponse_CurrentPrincipal) String() string { 756 return protoimpl.X.MessageStringOf(m) 757 } 758 759 func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) ProtoMessage() {} 760 761 func (m *WatchPrincipalUpdatesResponse_CurrentPrincipal) ProtoReflect() preflect.Message { 762 mi := &edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[6] 763 if protoimpl.UnsafeEnabled && m != nil { 764 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 765 if ms.LoadMessageInfo() == nil { 766 ms.StoreMessageInfo(mi) 767 } 768 return ms 769 } 770 return mi.MessageOf(m) 771 } 772 773 func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) GotenMessage() {} 774 775 // Deprecated, Use WatchPrincipalUpdatesResponse_CurrentPrincipal.ProtoReflect.Descriptor instead. 776 func (*WatchPrincipalUpdatesResponse_CurrentPrincipal) Descriptor() ([]byte, []int) { 777 return edgelq_iam_proto_v1_authorization_custom_proto_rawDescGZIP(), []int{3, 0} 778 } 779 780 func (m *WatchPrincipalUpdatesResponse_CurrentPrincipal) Unmarshal(b []byte) error { 781 return proto.Unmarshal(b, m) 782 } 783 784 func (m *WatchPrincipalUpdatesResponse_CurrentPrincipal) Marshal() ([]byte, error) { 785 return proto.Marshal(m) 786 } 787 788 func (m *WatchPrincipalUpdatesResponse_CurrentPrincipal) MarshalJSON() ([]byte, error) { 789 return protojson.MarshalOptions{}.Marshal(m) 790 } 791 792 func (m *WatchPrincipalUpdatesResponse_CurrentPrincipal) UnmarshalJSON(data []byte) error { 793 return protojson.Unmarshal(data, m) 794 } 795 796 type isWatchPrincipalUpdatesResponse_CurrentPrincipal_Update interface { 797 isWatchPrincipalUpdatesResponse_CurrentPrincipal_Update() 798 } 799 800 type WatchPrincipalUpdatesResponse_CurrentPrincipal_User struct { 801 User *user.User `protobuf:"bytes,4,opt,name=user,proto3,oneof"` 802 } 803 type WatchPrincipalUpdatesResponse_CurrentPrincipal_ServiceAccount struct { 804 ServiceAccount *service_account.ServiceAccount `protobuf:"bytes,5,opt,name=service_account,json=serviceAccount,proto3,oneof"` 805 } 806 807 func (*WatchPrincipalUpdatesResponse_CurrentPrincipal_User) isWatchPrincipalUpdatesResponse_CurrentPrincipal_Update() { 808 } 809 func (*WatchPrincipalUpdatesResponse_CurrentPrincipal_ServiceAccount) isWatchPrincipalUpdatesResponse_CurrentPrincipal_Update() { 810 } 811 func (m *WatchPrincipalUpdatesResponse_CurrentPrincipal) GetPrincipalKeyId() string { 812 if m != nil { 813 return m.PrincipalKeyId 814 } 815 return "" 816 } 817 818 func (m *WatchPrincipalUpdatesResponse_CurrentPrincipal) GetJsonKey() string { 819 if m != nil { 820 return m.JsonKey 821 } 822 return "" 823 } 824 825 func (m *WatchPrincipalUpdatesResponse_CurrentPrincipal) GetPrincipalKeyType() string { 826 if m != nil { 827 return m.PrincipalKeyType 828 } 829 return "" 830 } 831 832 func (m *WatchPrincipalUpdatesResponse_CurrentPrincipal) GetUpdate() isWatchPrincipalUpdatesResponse_CurrentPrincipal_Update { 833 if m != nil { 834 return m.Update 835 } 836 return nil 837 } 838 func (m *WatchPrincipalUpdatesResponse_CurrentPrincipal) GetUser() *user.User { 839 if x, ok := m.GetUpdate().(*WatchPrincipalUpdatesResponse_CurrentPrincipal_User); ok { 840 return x.User 841 } 842 return nil 843 } 844 func (m *WatchPrincipalUpdatesResponse_CurrentPrincipal) GetServiceAccount() *service_account.ServiceAccount { 845 if x, ok := m.GetUpdate().(*WatchPrincipalUpdatesResponse_CurrentPrincipal_ServiceAccount); ok { 846 return x.ServiceAccount 847 } 848 return nil 849 } 850 func (m *WatchPrincipalUpdatesResponse_CurrentPrincipal) SetPrincipalKeyId(fv string) { 851 if m == nil { 852 panic(fmt.Errorf("can't set %s on nil %s", "PrincipalKeyId", "WatchPrincipalUpdatesResponse_CurrentPrincipal")) 853 } 854 m.PrincipalKeyId = fv 855 } 856 857 func (m *WatchPrincipalUpdatesResponse_CurrentPrincipal) SetJsonKey(fv string) { 858 if m == nil { 859 panic(fmt.Errorf("can't set %s on nil %s", "JsonKey", "WatchPrincipalUpdatesResponse_CurrentPrincipal")) 860 } 861 m.JsonKey = fv 862 } 863 864 func (m *WatchPrincipalUpdatesResponse_CurrentPrincipal) SetPrincipalKeyType(fv string) { 865 if m == nil { 866 panic(fmt.Errorf("can't set %s on nil %s", "PrincipalKeyType", "WatchPrincipalUpdatesResponse_CurrentPrincipal")) 867 } 868 m.PrincipalKeyType = fv 869 } 870 871 func (m *WatchPrincipalUpdatesResponse_CurrentPrincipal) SetUpdate(ofv isWatchPrincipalUpdatesResponse_CurrentPrincipal_Update) { 872 if m == nil { 873 panic(fmt.Errorf("can't set %s on nil %s", "isWatchPrincipalUpdatesResponse_CurrentPrincipal_Update", "WatchPrincipalUpdatesResponse_CurrentPrincipal")) 874 } 875 m.Update = ofv 876 } 877 func (m *WatchPrincipalUpdatesResponse_CurrentPrincipal) SetUser(fv *user.User) { 878 m.SetUpdate(&WatchPrincipalUpdatesResponse_CurrentPrincipal_User{User: fv}) 879 } 880 func (m *WatchPrincipalUpdatesResponse_CurrentPrincipal) SetServiceAccount(fv *service_account.ServiceAccount) { 881 m.SetUpdate(&WatchPrincipalUpdatesResponse_CurrentPrincipal_ServiceAccount{ServiceAccount: fv}) 882 } 883 884 type WatchPrincipalUpdatesResponse_RemovedPrincipal struct { 885 state protoimpl.MessageState 886 sizeCache protoimpl.SizeCache 887 unknownFields protoimpl.UnknownFields 888 PrincipalKeyId string `protobuf:"bytes,1,opt,name=principal_key_id,json=principalKeyId,proto3" json:"principal_key_id,omitempty"` 889 } 890 891 func (m *WatchPrincipalUpdatesResponse_RemovedPrincipal) Reset() { 892 *m = WatchPrincipalUpdatesResponse_RemovedPrincipal{} 893 if protoimpl.UnsafeEnabled { 894 mi := &edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[7] 895 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 896 ms.StoreMessageInfo(mi) 897 } 898 } 899 900 func (m *WatchPrincipalUpdatesResponse_RemovedPrincipal) String() string { 901 return protoimpl.X.MessageStringOf(m) 902 } 903 904 func (*WatchPrincipalUpdatesResponse_RemovedPrincipal) ProtoMessage() {} 905 906 func (m *WatchPrincipalUpdatesResponse_RemovedPrincipal) ProtoReflect() preflect.Message { 907 mi := &edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[7] 908 if protoimpl.UnsafeEnabled && m != nil { 909 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 910 if ms.LoadMessageInfo() == nil { 911 ms.StoreMessageInfo(mi) 912 } 913 return ms 914 } 915 return mi.MessageOf(m) 916 } 917 918 func (*WatchPrincipalUpdatesResponse_RemovedPrincipal) GotenMessage() {} 919 920 // Deprecated, Use WatchPrincipalUpdatesResponse_RemovedPrincipal.ProtoReflect.Descriptor instead. 921 func (*WatchPrincipalUpdatesResponse_RemovedPrincipal) Descriptor() ([]byte, []int) { 922 return edgelq_iam_proto_v1_authorization_custom_proto_rawDescGZIP(), []int{3, 1} 923 } 924 925 func (m *WatchPrincipalUpdatesResponse_RemovedPrincipal) Unmarshal(b []byte) error { 926 return proto.Unmarshal(b, m) 927 } 928 929 func (m *WatchPrincipalUpdatesResponse_RemovedPrincipal) Marshal() ([]byte, error) { 930 return proto.Marshal(m) 931 } 932 933 func (m *WatchPrincipalUpdatesResponse_RemovedPrincipal) MarshalJSON() ([]byte, error) { 934 return protojson.MarshalOptions{}.Marshal(m) 935 } 936 937 func (m *WatchPrincipalUpdatesResponse_RemovedPrincipal) UnmarshalJSON(data []byte) error { 938 return protojson.Unmarshal(data, m) 939 } 940 941 func (m *WatchPrincipalUpdatesResponse_RemovedPrincipal) GetPrincipalKeyId() string { 942 if m != nil { 943 return m.PrincipalKeyId 944 } 945 return "" 946 } 947 948 func (m *WatchPrincipalUpdatesResponse_RemovedPrincipal) SetPrincipalKeyId(fv string) { 949 if m == nil { 950 panic(fmt.Errorf("can't set %s on nil %s", "PrincipalKeyId", "WatchPrincipalUpdatesResponse_RemovedPrincipal")) 951 } 952 m.PrincipalKeyId = fv 953 } 954 955 type CheckMyRoleBindingsResponse_ResolvableGrant struct { 956 state protoimpl.MessageState 957 sizeCache protoimpl.SizeCache 958 unknownFields protoimpl.UnknownFields 959 // Granted RoleBinding for the scope 960 RoleBinding *role_binding.RoleBinding `protobuf:"bytes,1,opt,name=role_binding,json=roleBinding,proto3" json:"role_binding,omitempty"` 961 // All grants extracted from the Role 962 Grants []*role.Role_Grant `protobuf:"bytes,2,rep,name=grants,proto3" json:"grants,omitempty"` 963 } 964 965 func (m *CheckMyRoleBindingsResponse_ResolvableGrant) Reset() { 966 *m = CheckMyRoleBindingsResponse_ResolvableGrant{} 967 if protoimpl.UnsafeEnabled { 968 mi := &edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[8] 969 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 970 ms.StoreMessageInfo(mi) 971 } 972 } 973 974 func (m *CheckMyRoleBindingsResponse_ResolvableGrant) String() string { 975 return protoimpl.X.MessageStringOf(m) 976 } 977 978 func (*CheckMyRoleBindingsResponse_ResolvableGrant) ProtoMessage() {} 979 980 func (m *CheckMyRoleBindingsResponse_ResolvableGrant) ProtoReflect() preflect.Message { 981 mi := &edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[8] 982 if protoimpl.UnsafeEnabled && m != nil { 983 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 984 if ms.LoadMessageInfo() == nil { 985 ms.StoreMessageInfo(mi) 986 } 987 return ms 988 } 989 return mi.MessageOf(m) 990 } 991 992 func (*CheckMyRoleBindingsResponse_ResolvableGrant) GotenMessage() {} 993 994 // Deprecated, Use CheckMyRoleBindingsResponse_ResolvableGrant.ProtoReflect.Descriptor instead. 995 func (*CheckMyRoleBindingsResponse_ResolvableGrant) Descriptor() ([]byte, []int) { 996 return edgelq_iam_proto_v1_authorization_custom_proto_rawDescGZIP(), []int{5, 0} 997 } 998 999 func (m *CheckMyRoleBindingsResponse_ResolvableGrant) Unmarshal(b []byte) error { 1000 return proto.Unmarshal(b, m) 1001 } 1002 1003 func (m *CheckMyRoleBindingsResponse_ResolvableGrant) Marshal() ([]byte, error) { 1004 return proto.Marshal(m) 1005 } 1006 1007 func (m *CheckMyRoleBindingsResponse_ResolvableGrant) MarshalJSON() ([]byte, error) { 1008 return protojson.MarshalOptions{}.Marshal(m) 1009 } 1010 1011 func (m *CheckMyRoleBindingsResponse_ResolvableGrant) UnmarshalJSON(data []byte) error { 1012 return protojson.Unmarshal(data, m) 1013 } 1014 1015 func (m *CheckMyRoleBindingsResponse_ResolvableGrant) GetRoleBinding() *role_binding.RoleBinding { 1016 if m != nil { 1017 return m.RoleBinding 1018 } 1019 return nil 1020 } 1021 1022 func (m *CheckMyRoleBindingsResponse_ResolvableGrant) GetGrants() []*role.Role_Grant { 1023 if m != nil { 1024 return m.Grants 1025 } 1026 return nil 1027 } 1028 1029 func (m *CheckMyRoleBindingsResponse_ResolvableGrant) SetRoleBinding(fv *role_binding.RoleBinding) { 1030 if m == nil { 1031 panic(fmt.Errorf("can't set %s on nil %s", "RoleBinding", "CheckMyRoleBindingsResponse_ResolvableGrant")) 1032 } 1033 m.RoleBinding = fv 1034 } 1035 1036 func (m *CheckMyRoleBindingsResponse_ResolvableGrant) SetGrants(fv []*role.Role_Grant) { 1037 if m == nil { 1038 panic(fmt.Errorf("can't set %s on nil %s", "Grants", "CheckMyRoleBindingsResponse_ResolvableGrant")) 1039 } 1040 m.Grants = fv 1041 } 1042 1043 var edgelq_iam_proto_v1_authorization_custom_proto preflect.FileDescriptor 1044 1045 var edgelq_iam_proto_v1_authorization_custom_proto_rawDesc = []byte{ 1046 0x0a, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 1047 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 1048 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1049 0x12, 0x0a, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x67, 0x6f, 1050 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 1051 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 1052 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 1053 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 1054 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 1055 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 1056 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 1057 0x73, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 1058 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 1059 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 1060 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x74, 0x79, 1061 0x70, 0x65, 0x73, 0x2f, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 1062 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1063 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 1064 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 1065 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 1066 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x65, 0x64, 0x67, 0x65, 0x6c, 1067 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x70, 1068 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 1069 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 1070 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 1071 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 1072 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 1073 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 1074 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1075 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 1076 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x65, 1077 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 1078 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 1079 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 1080 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 1081 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 1082 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 1083 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73, 0x65, 1084 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb3, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x50, 1085 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 1086 0x4d, 0x0a, 0x12, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 1087 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1e, 0xb2, 0xda, 0x21, 1088 0x1a, 0x0a, 0x18, 0x0a, 0x16, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 1089 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x11, 0x72, 0x65, 0x71, 1090 0x75, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x28, 1091 0x0a, 0x10, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 1092 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 1093 0x70, 0x61, 0x6c, 0x4b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, 1094 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x75, 1095 0x74, 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0xfb, 0x01, 1096 0x0a, 0x14, 0x47, 0x65, 0x74, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x52, 0x65, 1097 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x6b, 1098 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6a, 0x73, 0x6f, 0x6e, 0x4b, 0x65, 1099 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x5f, 0x6b, 1100 0x65, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x70, 1101 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x4b, 0x65, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 1102 0x26, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 1103 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x48, 1104 0x00, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x45, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 1105 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 1106 0x32, 0x1a, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 1107 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0e, 1108 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1e, 1109 0x0a, 0x09, 0x61, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 1110 0x08, 0x48, 0x00, 0x52, 0x09, 0x61, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x42, 0x0b, 1111 0x0a, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x22, 0x96, 0x01, 0x0a, 0x1c, 1112 0x57, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x55, 0x70, 1113 0x64, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4d, 0x0a, 0x12, 1114 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 1115 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1e, 0xb2, 0xda, 0x21, 0x1a, 0x0a, 0x18, 1116 0x0a, 0x16, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 1117 0x2f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x11, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 1118 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 1119 0x65, 0x73, 0x75, 0x6d, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 1120 0x09, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4a, 0x04, 1121 0x08, 0x02, 0x10, 0x03, 0x22, 0x91, 0x05, 0x0a, 0x1d, 0x57, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 1122 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 1123 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x69, 0x0a, 0x12, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 1124 0x74, 0x5f, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 1125 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 1126 0x57, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x55, 0x70, 1127 0x64, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x75, 1128 0x72, 0x72, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x52, 0x11, 1129 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 1130 0x73, 0x12, 0x69, 0x0a, 0x12, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 1131 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 1132 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x61, 0x74, 0x63, 0x68, 1133 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 1134 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 1135 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x52, 0x11, 0x72, 0x65, 0x6d, 0x6f, 0x76, 1136 0x65, 0x64, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 1137 0x69, 0x73, 0x5f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 1138 0x52, 0x09, 0x69, 0x73, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x69, 1139 0x73, 0x5f, 0x72, 0x65, 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 1140 0x73, 0x52, 0x65, 0x73, 0x65, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x65, 1141 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 1142 0x73, 0x75, 0x6d, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x1a, 0xfe, 0x01, 0x0a, 0x10, 0x43, 0x75, 1143 0x72, 0x72, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x12, 0x28, 1144 0x0a, 0x10, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 1145 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 1146 0x70, 0x61, 0x6c, 0x4b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6a, 0x73, 0x6f, 0x6e, 1147 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6a, 0x73, 0x6f, 0x6e, 1148 0x4b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 1149 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 1150 0x10, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x4b, 0x65, 0x79, 0x54, 0x79, 0x70, 1151 0x65, 0x12, 0x26, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 1152 0x10, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 1153 0x72, 0x48, 0x00, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x45, 0x0a, 0x0f, 0x73, 0x65, 0x72, 1154 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 1155 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 1156 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x48, 0x00, 1157 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 1158 0x42, 0x08, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x1a, 0x3c, 0x0a, 0x10, 0x52, 0x65, 1159 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x50, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x12, 0x28, 1160 0x0a, 0x10, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 1161 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 1162 0x70, 0x61, 0x6c, 0x4b, 0x65, 0x79, 0x49, 0x64, 0x22, 0xd3, 0x01, 0x0a, 0x1a, 0x43, 0x68, 0x65, 1163 0x63, 0x6b, 0x4d, 0x79, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 1164 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 1165 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x13, 0xb2, 0xda, 0x21, 0x0f, 0x3a, 0x0d, 0x0a, 1166 0x0b, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 1167 0x72, 0x65, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x05, 1168 0x20, 0x01, 0x28, 0x09, 0x42, 0x13, 0xb2, 0xda, 0x21, 0x0f, 0x1a, 0x0d, 0x0a, 0x0b, 0x52, 0x6f, 1169 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 1170 0x72, 0x12, 0x5b, 0x0a, 0x11, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x66, 0x69, 0x65, 0x6c, 1171 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 1172 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 1173 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x13, 0xb2, 0xda, 0x21, 0x0f, 0x32, 0x0d, 1174 0x0a, 0x0b, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x0f, 0x63, 1175 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x82, 1176 0x02, 0x0a, 0x1b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4d, 0x79, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69, 1177 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x64, 1178 0x0a, 0x11, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x67, 0x72, 0x61, 1179 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 1180 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4d, 0x79, 0x52, 0x6f, 1181 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 1182 0x73, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x61, 0x62, 0x6c, 0x65, 0x47, 0x72, 0x61, 1183 0x6e, 0x74, 0x52, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x61, 0x62, 0x6c, 0x65, 0x47, 0x72, 1184 0x61, 0x6e, 0x74, 0x73, 0x1a, 0x7d, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x61, 0x62, 1185 0x6c, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x12, 0x3a, 0x0a, 0x0c, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 1186 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 1187 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x42, 1188 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x0b, 0x72, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 1189 0x69, 0x6e, 0x67, 0x12, 0x2e, 0x0a, 0x06, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 1190 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 1191 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x52, 0x06, 0x67, 0x72, 0x61, 1192 0x6e, 0x74, 0x73, 0x42, 0x80, 0x01, 0xe8, 0xde, 0x21, 0x00, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 1193 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x18, 0x41, 1194 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x75, 0x73, 0x74, 1195 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x00, 0x5a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x75, 1196 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 1197 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 1198 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 1199 0x6e, 0x3b, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 1200 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1201 } 1202 1203 var ( 1204 edgelq_iam_proto_v1_authorization_custom_proto_rawDescOnce sync.Once 1205 edgelq_iam_proto_v1_authorization_custom_proto_rawDescData = edgelq_iam_proto_v1_authorization_custom_proto_rawDesc 1206 ) 1207 1208 func edgelq_iam_proto_v1_authorization_custom_proto_rawDescGZIP() []byte { 1209 edgelq_iam_proto_v1_authorization_custom_proto_rawDescOnce.Do(func() { 1210 edgelq_iam_proto_v1_authorization_custom_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_iam_proto_v1_authorization_custom_proto_rawDescData) 1211 }) 1212 return edgelq_iam_proto_v1_authorization_custom_proto_rawDescData 1213 } 1214 1215 var edgelq_iam_proto_v1_authorization_custom_proto_msgTypes = make([]protoimpl.MessageInfo, 9) 1216 var edgelq_iam_proto_v1_authorization_custom_proto_goTypes = []interface{}{ 1217 (*GetPrincipalRequest)(nil), // 0: ntt.iam.v1.GetPrincipalRequest 1218 (*GetPrincipalResponse)(nil), // 1: ntt.iam.v1.GetPrincipalResponse 1219 (*WatchPrincipalUpdatesRequest)(nil), // 2: ntt.iam.v1.WatchPrincipalUpdatesRequest 1220 (*WatchPrincipalUpdatesResponse)(nil), // 3: ntt.iam.v1.WatchPrincipalUpdatesResponse 1221 (*CheckMyRoleBindingsRequest)(nil), // 4: ntt.iam.v1.CheckMyRoleBindingsRequest 1222 (*CheckMyRoleBindingsResponse)(nil), // 5: ntt.iam.v1.CheckMyRoleBindingsResponse 1223 (*WatchPrincipalUpdatesResponse_CurrentPrincipal)(nil), // 6: ntt.iam.v1.WatchPrincipalUpdatesResponse.CurrentPrincipal 1224 (*WatchPrincipalUpdatesResponse_RemovedPrincipal)(nil), // 7: ntt.iam.v1.WatchPrincipalUpdatesResponse.RemovedPrincipal 1225 (*CheckMyRoleBindingsResponse_ResolvableGrant)(nil), // 8: ntt.iam.v1.CheckMyRoleBindingsResponse.ResolvableGrant 1226 (*user.User)(nil), // 9: ntt.iam.v1.User 1227 (*service_account.ServiceAccount)(nil), // 10: ntt.iam.v1.ServiceAccount 1228 (*role_binding.RoleBinding_FieldMask)(nil), // 11: ntt.iam.v1.RoleBinding_FieldMask 1229 (*role_binding.RoleBinding)(nil), // 12: ntt.iam.v1.RoleBinding 1230 (*role.Role_Grant)(nil), // 13: ntt.iam.v1.Role.Grant 1231 } 1232 var edgelq_iam_proto_v1_authorization_custom_proto_depIdxs = []int32{ 1233 9, // 0: ntt.iam.v1.GetPrincipalResponse.user:type_name -> ntt.iam.v1.User 1234 10, // 1: ntt.iam.v1.GetPrincipalResponse.service_account:type_name -> ntt.iam.v1.ServiceAccount 1235 6, // 2: ntt.iam.v1.WatchPrincipalUpdatesResponse.current_principals:type_name -> ntt.iam.v1.WatchPrincipalUpdatesResponse.CurrentPrincipal 1236 7, // 3: ntt.iam.v1.WatchPrincipalUpdatesResponse.removed_principals:type_name -> ntt.iam.v1.WatchPrincipalUpdatesResponse.RemovedPrincipal 1237 11, // 4: ntt.iam.v1.CheckMyRoleBindingsRequest.custom_field_mask:type_name -> ntt.iam.v1.RoleBinding_FieldMask 1238 8, // 5: ntt.iam.v1.CheckMyRoleBindingsResponse.resolvable_grants:type_name -> ntt.iam.v1.CheckMyRoleBindingsResponse.ResolvableGrant 1239 9, // 6: ntt.iam.v1.WatchPrincipalUpdatesResponse.CurrentPrincipal.user:type_name -> ntt.iam.v1.User 1240 10, // 7: ntt.iam.v1.WatchPrincipalUpdatesResponse.CurrentPrincipal.service_account:type_name -> ntt.iam.v1.ServiceAccount 1241 12, // 8: ntt.iam.v1.CheckMyRoleBindingsResponse.ResolvableGrant.role_binding:type_name -> ntt.iam.v1.RoleBinding 1242 13, // 9: ntt.iam.v1.CheckMyRoleBindingsResponse.ResolvableGrant.grants:type_name -> ntt.iam.v1.Role.Grant 1243 10, // [10:10] is the sub-list for method output_type 1244 10, // [10:10] is the sub-list for method input_type 1245 10, // [10:10] is the sub-list for extension type_name 1246 10, // [10:10] is the sub-list for extension extendee 1247 0, // [0:10] is the sub-list for field type_name 1248 } 1249 1250 func init() { edgelq_iam_proto_v1_authorization_custom_proto_init() } 1251 func edgelq_iam_proto_v1_authorization_custom_proto_init() { 1252 if edgelq_iam_proto_v1_authorization_custom_proto != nil { 1253 return 1254 } 1255 if !protoimpl.UnsafeEnabled { 1256 1257 edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1258 switch v := v.(*GetPrincipalRequest); i { 1259 case 0: 1260 return &v.state 1261 case 1: 1262 return &v.sizeCache 1263 case 2: 1264 return &v.unknownFields 1265 default: 1266 return nil 1267 } 1268 } 1269 edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1270 switch v := v.(*GetPrincipalResponse); i { 1271 case 0: 1272 return &v.state 1273 case 1: 1274 return &v.sizeCache 1275 case 2: 1276 return &v.unknownFields 1277 default: 1278 return nil 1279 } 1280 } 1281 edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1282 switch v := v.(*WatchPrincipalUpdatesRequest); i { 1283 case 0: 1284 return &v.state 1285 case 1: 1286 return &v.sizeCache 1287 case 2: 1288 return &v.unknownFields 1289 default: 1290 return nil 1291 } 1292 } 1293 edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1294 switch v := v.(*WatchPrincipalUpdatesResponse); i { 1295 case 0: 1296 return &v.state 1297 case 1: 1298 return &v.sizeCache 1299 case 2: 1300 return &v.unknownFields 1301 default: 1302 return nil 1303 } 1304 } 1305 edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1306 switch v := v.(*CheckMyRoleBindingsRequest); i { 1307 case 0: 1308 return &v.state 1309 case 1: 1310 return &v.sizeCache 1311 case 2: 1312 return &v.unknownFields 1313 default: 1314 return nil 1315 } 1316 } 1317 edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1318 switch v := v.(*CheckMyRoleBindingsResponse); i { 1319 case 0: 1320 return &v.state 1321 case 1: 1322 return &v.sizeCache 1323 case 2: 1324 return &v.unknownFields 1325 default: 1326 return nil 1327 } 1328 } 1329 edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1330 switch v := v.(*WatchPrincipalUpdatesResponse_CurrentPrincipal); i { 1331 case 0: 1332 return &v.state 1333 case 1: 1334 return &v.sizeCache 1335 case 2: 1336 return &v.unknownFields 1337 default: 1338 return nil 1339 } 1340 } 1341 edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1342 switch v := v.(*WatchPrincipalUpdatesResponse_RemovedPrincipal); i { 1343 case 0: 1344 return &v.state 1345 case 1: 1346 return &v.sizeCache 1347 case 2: 1348 return &v.unknownFields 1349 default: 1350 return nil 1351 } 1352 } 1353 edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1354 switch v := v.(*CheckMyRoleBindingsResponse_ResolvableGrant); i { 1355 case 0: 1356 return &v.state 1357 case 1: 1358 return &v.sizeCache 1359 case 2: 1360 return &v.unknownFields 1361 default: 1362 return nil 1363 } 1364 } 1365 } 1366 1367 edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[1].OneofWrappers = []interface{}{ 1368 (*GetPrincipalResponse_User)(nil), 1369 (*GetPrincipalResponse_ServiceAccount)(nil), 1370 (*GetPrincipalResponse_Anonymous)(nil), 1371 } 1372 edgelq_iam_proto_v1_authorization_custom_proto_msgTypes[6].OneofWrappers = []interface{}{ 1373 (*WatchPrincipalUpdatesResponse_CurrentPrincipal_User)(nil), 1374 (*WatchPrincipalUpdatesResponse_CurrentPrincipal_ServiceAccount)(nil), 1375 } 1376 type x struct{} 1377 out := protoimpl.TypeBuilder{ 1378 File: protoimpl.DescBuilder{ 1379 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1380 RawDescriptor: edgelq_iam_proto_v1_authorization_custom_proto_rawDesc, 1381 NumEnums: 0, 1382 NumMessages: 9, 1383 NumExtensions: 0, 1384 NumServices: 0, 1385 }, 1386 GoTypes: edgelq_iam_proto_v1_authorization_custom_proto_goTypes, 1387 DependencyIndexes: edgelq_iam_proto_v1_authorization_custom_proto_depIdxs, 1388 MessageInfos: edgelq_iam_proto_v1_authorization_custom_proto_msgTypes, 1389 }.Build() 1390 edgelq_iam_proto_v1_authorization_custom_proto = out.File 1391 edgelq_iam_proto_v1_authorization_custom_proto_rawDesc = nil 1392 edgelq_iam_proto_v1_authorization_custom_proto_goTypes = nil 1393 edgelq_iam_proto_v1_authorization_custom_proto_depIdxs = nil 1394 }