github.com/cloudwan/edgelq-sdk@v1.15.4/iam/client/v1/user/user_custom.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/iam/proto/v1/user_custom.proto 3 // DO NOT EDIT!!! 4 5 package user_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 user "github.com/cloudwan/edgelq-sdk/iam/resources/v1/user" 21 view "github.com/cloudwan/goten-sdk/types/view" 22 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 23 ) 24 25 // Reference imports to suppress errors if they are not otherwise used. 26 var ( 27 _ = fmt.Errorf 28 _ = reflect.Method{} 29 _ = sync.Once{} 30 31 _ = protojson.MarshalOptions{} 32 _ = proto.MarshalOptions{} 33 _ = preflect.Value{} 34 _ = protoimpl.DescBuilder{} 35 ) 36 37 // make sure we're using proto imports 38 var ( 39 _ = &user.User{} 40 _ = &fieldmaskpb.FieldMask{} 41 _ = view.View(0) 42 ) 43 44 const ( 45 // Verify that this generated code is sufficiently up-to-date. 46 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 47 // Verify that runtime/protoimpl is sufficiently up-to-date. 48 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 49 ) 50 51 // Request message for method [GetUserByEmail][ntt.iam.v1.GetUserByEmail] 52 type GetUserByEmailRequest struct { 53 state protoimpl.MessageState 54 sizeCache protoimpl.SizeCache 55 unknownFields protoimpl.UnknownFields 56 // reference of ntt.iam.v1.User 57 Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` 58 // A list of extra fields to be obtained for each response item on top of 59 // fields defined by request field view 60 FieldMask *user.User_FieldMask `protobuf:"bytes,3,opt,customtype=User_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` 61 // View defines list of standard response fields present in response items. 62 // Additional fields can be amended by request field field_mask 63 View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty"` 64 // If true, server will skip checking if query result is present in it's cache 65 SkipCache bool `protobuf:"varint,5,opt,name=skip_cache,json=skipCache,proto3" json:"skip_cache,omitempty"` 66 } 67 68 func (m *GetUserByEmailRequest) Reset() { 69 *m = GetUserByEmailRequest{} 70 if protoimpl.UnsafeEnabled { 71 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[0] 72 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 73 ms.StoreMessageInfo(mi) 74 } 75 } 76 77 func (m *GetUserByEmailRequest) String() string { 78 return protoimpl.X.MessageStringOf(m) 79 } 80 81 func (*GetUserByEmailRequest) ProtoMessage() {} 82 83 func (m *GetUserByEmailRequest) ProtoReflect() preflect.Message { 84 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[0] 85 if protoimpl.UnsafeEnabled && m != nil { 86 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 87 if ms.LoadMessageInfo() == nil { 88 ms.StoreMessageInfo(mi) 89 } 90 return ms 91 } 92 return mi.MessageOf(m) 93 } 94 95 func (*GetUserByEmailRequest) GotenMessage() {} 96 97 // Deprecated, Use GetUserByEmailRequest.ProtoReflect.Descriptor instead. 98 func (*GetUserByEmailRequest) Descriptor() ([]byte, []int) { 99 return edgelq_iam_proto_v1_user_custom_proto_rawDescGZIP(), []int{0} 100 } 101 102 func (m *GetUserByEmailRequest) Unmarshal(b []byte) error { 103 return proto.Unmarshal(b, m) 104 } 105 106 func (m *GetUserByEmailRequest) Marshal() ([]byte, error) { 107 return proto.Marshal(m) 108 } 109 110 func (m *GetUserByEmailRequest) MarshalJSON() ([]byte, error) { 111 return protojson.MarshalOptions{}.Marshal(m) 112 } 113 114 func (m *GetUserByEmailRequest) UnmarshalJSON(data []byte) error { 115 return protojson.Unmarshal(data, m) 116 } 117 118 func (m *GetUserByEmailRequest) GetEmail() string { 119 if m != nil { 120 return m.Email 121 } 122 return "" 123 } 124 125 func (m *GetUserByEmailRequest) GetFieldMask() *user.User_FieldMask { 126 if m != nil { 127 return m.FieldMask 128 } 129 return nil 130 } 131 132 func (m *GetUserByEmailRequest) GetView() view.View { 133 if m != nil { 134 return m.View 135 } 136 return view.View_UNSPECIFIED 137 } 138 139 func (m *GetUserByEmailRequest) GetSkipCache() bool { 140 if m != nil { 141 return m.SkipCache 142 } 143 return false 144 } 145 146 func (m *GetUserByEmailRequest) SetEmail(fv string) { 147 if m == nil { 148 panic(fmt.Errorf("can't set %s on nil %s", "Email", "GetUserByEmailRequest")) 149 } 150 m.Email = fv 151 } 152 153 func (m *GetUserByEmailRequest) SetFieldMask(fv *user.User_FieldMask) { 154 if m == nil { 155 panic(fmt.Errorf("can't set %s on nil %s", "FieldMask", "GetUserByEmailRequest")) 156 } 157 m.FieldMask = fv 158 } 159 160 func (m *GetUserByEmailRequest) SetView(fv view.View) { 161 if m == nil { 162 panic(fmt.Errorf("can't set %s on nil %s", "View", "GetUserByEmailRequest")) 163 } 164 m.View = fv 165 } 166 167 func (m *GetUserByEmailRequest) SetSkipCache(fv bool) { 168 if m == nil { 169 panic(fmt.Errorf("can't set %s on nil %s", "SkipCache", "GetUserByEmailRequest")) 170 } 171 m.SkipCache = fv 172 } 173 174 // Request message for method 175 // [BatchGetUsersByEmail][ntt.iam.v1.BatchGetUsersByEmail] 176 type BatchGetUsersByEmailRequest struct { 177 state protoimpl.MessageState 178 sizeCache protoimpl.SizeCache 179 unknownFields protoimpl.UnknownFields 180 // Emails of users 181 Emails []string `protobuf:"bytes,2,rep,name=emails,proto3" json:"emails,omitempty"` 182 // A list of extra fields to be obtained for each response item on top of 183 // fields defined by request field view 184 FieldMask *user.User_FieldMask `protobuf:"bytes,3,opt,customtype=User_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` 185 // View defines list of standard response fields present in response items. 186 // Additional fields can be amended by request field field_mask 187 View view.View `protobuf:"varint,4,opt,name=view,proto3,enum=goten.types.View" json:"view,omitempty"` 188 // If true, server will skip checking if query result is present in it's cache 189 SkipCache bool `protobuf:"varint,5,opt,name=skip_cache,json=skipCache,proto3" json:"skip_cache,omitempty"` 190 } 191 192 func (m *BatchGetUsersByEmailRequest) Reset() { 193 *m = BatchGetUsersByEmailRequest{} 194 if protoimpl.UnsafeEnabled { 195 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[1] 196 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 197 ms.StoreMessageInfo(mi) 198 } 199 } 200 201 func (m *BatchGetUsersByEmailRequest) String() string { 202 return protoimpl.X.MessageStringOf(m) 203 } 204 205 func (*BatchGetUsersByEmailRequest) ProtoMessage() {} 206 207 func (m *BatchGetUsersByEmailRequest) ProtoReflect() preflect.Message { 208 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[1] 209 if protoimpl.UnsafeEnabled && m != nil { 210 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 211 if ms.LoadMessageInfo() == nil { 212 ms.StoreMessageInfo(mi) 213 } 214 return ms 215 } 216 return mi.MessageOf(m) 217 } 218 219 func (*BatchGetUsersByEmailRequest) GotenMessage() {} 220 221 // Deprecated, Use BatchGetUsersByEmailRequest.ProtoReflect.Descriptor instead. 222 func (*BatchGetUsersByEmailRequest) Descriptor() ([]byte, []int) { 223 return edgelq_iam_proto_v1_user_custom_proto_rawDescGZIP(), []int{1} 224 } 225 226 func (m *BatchGetUsersByEmailRequest) Unmarshal(b []byte) error { 227 return proto.Unmarshal(b, m) 228 } 229 230 func (m *BatchGetUsersByEmailRequest) Marshal() ([]byte, error) { 231 return proto.Marshal(m) 232 } 233 234 func (m *BatchGetUsersByEmailRequest) MarshalJSON() ([]byte, error) { 235 return protojson.MarshalOptions{}.Marshal(m) 236 } 237 238 func (m *BatchGetUsersByEmailRequest) UnmarshalJSON(data []byte) error { 239 return protojson.Unmarshal(data, m) 240 } 241 242 func (m *BatchGetUsersByEmailRequest) GetEmails() []string { 243 if m != nil { 244 return m.Emails 245 } 246 return nil 247 } 248 249 func (m *BatchGetUsersByEmailRequest) GetFieldMask() *user.User_FieldMask { 250 if m != nil { 251 return m.FieldMask 252 } 253 return nil 254 } 255 256 func (m *BatchGetUsersByEmailRequest) GetView() view.View { 257 if m != nil { 258 return m.View 259 } 260 return view.View_UNSPECIFIED 261 } 262 263 func (m *BatchGetUsersByEmailRequest) GetSkipCache() bool { 264 if m != nil { 265 return m.SkipCache 266 } 267 return false 268 } 269 270 func (m *BatchGetUsersByEmailRequest) SetEmails(fv []string) { 271 if m == nil { 272 panic(fmt.Errorf("can't set %s on nil %s", "Emails", "BatchGetUsersByEmailRequest")) 273 } 274 m.Emails = fv 275 } 276 277 func (m *BatchGetUsersByEmailRequest) SetFieldMask(fv *user.User_FieldMask) { 278 if m == nil { 279 panic(fmt.Errorf("can't set %s on nil %s", "FieldMask", "BatchGetUsersByEmailRequest")) 280 } 281 m.FieldMask = fv 282 } 283 284 func (m *BatchGetUsersByEmailRequest) SetView(fv view.View) { 285 if m == nil { 286 panic(fmt.Errorf("can't set %s on nil %s", "View", "BatchGetUsersByEmailRequest")) 287 } 288 m.View = fv 289 } 290 291 func (m *BatchGetUsersByEmailRequest) SetSkipCache(fv bool) { 292 if m == nil { 293 panic(fmt.Errorf("can't set %s on nil %s", "SkipCache", "BatchGetUsersByEmailRequest")) 294 } 295 m.SkipCache = fv 296 } 297 298 // Response message for method 299 // [BatchGetUsersByEmail][ntt.iam.v1.BatchGetUsersByEmail] 300 type BatchGetUsersByEmailResponse struct { 301 state protoimpl.MessageState 302 sizeCache protoimpl.SizeCache 303 unknownFields protoimpl.UnknownFields 304 // found Users 305 Users []*user.User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` 306 // list of not found user emails 307 Missing []string `protobuf:"bytes,2,rep,name=missing,proto3" json:"missing,omitempty"` 308 } 309 310 func (m *BatchGetUsersByEmailResponse) Reset() { 311 *m = BatchGetUsersByEmailResponse{} 312 if protoimpl.UnsafeEnabled { 313 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[2] 314 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 315 ms.StoreMessageInfo(mi) 316 } 317 } 318 319 func (m *BatchGetUsersByEmailResponse) String() string { 320 return protoimpl.X.MessageStringOf(m) 321 } 322 323 func (*BatchGetUsersByEmailResponse) ProtoMessage() {} 324 325 func (m *BatchGetUsersByEmailResponse) ProtoReflect() preflect.Message { 326 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[2] 327 if protoimpl.UnsafeEnabled && m != nil { 328 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 329 if ms.LoadMessageInfo() == nil { 330 ms.StoreMessageInfo(mi) 331 } 332 return ms 333 } 334 return mi.MessageOf(m) 335 } 336 337 func (*BatchGetUsersByEmailResponse) GotenMessage() {} 338 339 // Deprecated, Use BatchGetUsersByEmailResponse.ProtoReflect.Descriptor instead. 340 func (*BatchGetUsersByEmailResponse) Descriptor() ([]byte, []int) { 341 return edgelq_iam_proto_v1_user_custom_proto_rawDescGZIP(), []int{2} 342 } 343 344 func (m *BatchGetUsersByEmailResponse) Unmarshal(b []byte) error { 345 return proto.Unmarshal(b, m) 346 } 347 348 func (m *BatchGetUsersByEmailResponse) Marshal() ([]byte, error) { 349 return proto.Marshal(m) 350 } 351 352 func (m *BatchGetUsersByEmailResponse) MarshalJSON() ([]byte, error) { 353 return protojson.MarshalOptions{}.Marshal(m) 354 } 355 356 func (m *BatchGetUsersByEmailResponse) UnmarshalJSON(data []byte) error { 357 return protojson.Unmarshal(data, m) 358 } 359 360 func (m *BatchGetUsersByEmailResponse) GetUsers() []*user.User { 361 if m != nil { 362 return m.Users 363 } 364 return nil 365 } 366 367 func (m *BatchGetUsersByEmailResponse) GetMissing() []string { 368 if m != nil { 369 return m.Missing 370 } 371 return nil 372 } 373 374 func (m *BatchGetUsersByEmailResponse) SetUsers(fv []*user.User) { 375 if m == nil { 376 panic(fmt.Errorf("can't set %s on nil %s", "Users", "BatchGetUsersByEmailResponse")) 377 } 378 m.Users = fv 379 } 380 381 func (m *BatchGetUsersByEmailResponse) SetMissing(fv []string) { 382 if m == nil { 383 panic(fmt.Errorf("can't set %s on nil %s", "Missing", "BatchGetUsersByEmailResponse")) 384 } 385 m.Missing = fv 386 } 387 388 // Request message for method [GetMySettings][ntt.iam.v1.GetMySettings] 389 type GetMySettingsRequest struct { 390 state protoimpl.MessageState 391 sizeCache protoimpl.SizeCache 392 unknownFields protoimpl.UnknownFields 393 // list of keys to retrieve 394 Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` 395 } 396 397 func (m *GetMySettingsRequest) Reset() { 398 *m = GetMySettingsRequest{} 399 if protoimpl.UnsafeEnabled { 400 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[3] 401 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 402 ms.StoreMessageInfo(mi) 403 } 404 } 405 406 func (m *GetMySettingsRequest) String() string { 407 return protoimpl.X.MessageStringOf(m) 408 } 409 410 func (*GetMySettingsRequest) ProtoMessage() {} 411 412 func (m *GetMySettingsRequest) ProtoReflect() preflect.Message { 413 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[3] 414 if protoimpl.UnsafeEnabled && m != nil { 415 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 416 if ms.LoadMessageInfo() == nil { 417 ms.StoreMessageInfo(mi) 418 } 419 return ms 420 } 421 return mi.MessageOf(m) 422 } 423 424 func (*GetMySettingsRequest) GotenMessage() {} 425 426 // Deprecated, Use GetMySettingsRequest.ProtoReflect.Descriptor instead. 427 func (*GetMySettingsRequest) Descriptor() ([]byte, []int) { 428 return edgelq_iam_proto_v1_user_custom_proto_rawDescGZIP(), []int{3} 429 } 430 431 func (m *GetMySettingsRequest) Unmarshal(b []byte) error { 432 return proto.Unmarshal(b, m) 433 } 434 435 func (m *GetMySettingsRequest) Marshal() ([]byte, error) { 436 return proto.Marshal(m) 437 } 438 439 func (m *GetMySettingsRequest) MarshalJSON() ([]byte, error) { 440 return protojson.MarshalOptions{}.Marshal(m) 441 } 442 443 func (m *GetMySettingsRequest) UnmarshalJSON(data []byte) error { 444 return protojson.Unmarshal(data, m) 445 } 446 447 func (m *GetMySettingsRequest) GetKeys() []string { 448 if m != nil { 449 return m.Keys 450 } 451 return nil 452 } 453 454 func (m *GetMySettingsRequest) SetKeys(fv []string) { 455 if m == nil { 456 panic(fmt.Errorf("can't set %s on nil %s", "Keys", "GetMySettingsRequest")) 457 } 458 m.Keys = fv 459 } 460 461 // Response message for method [GetMySettings][ntt.iam.v1.GetMySettings] 462 type GetMySettingsResponse struct { 463 state protoimpl.MessageState 464 sizeCache protoimpl.SizeCache 465 unknownFields protoimpl.UnknownFields 466 // resulting settings 467 Settings map[string]string `protobuf:"bytes,1,rep,name=settings,proto3" json:"settings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 468 } 469 470 func (m *GetMySettingsResponse) Reset() { 471 *m = GetMySettingsResponse{} 472 if protoimpl.UnsafeEnabled { 473 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[4] 474 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 475 ms.StoreMessageInfo(mi) 476 } 477 } 478 479 func (m *GetMySettingsResponse) String() string { 480 return protoimpl.X.MessageStringOf(m) 481 } 482 483 func (*GetMySettingsResponse) ProtoMessage() {} 484 485 func (m *GetMySettingsResponse) ProtoReflect() preflect.Message { 486 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[4] 487 if protoimpl.UnsafeEnabled && m != nil { 488 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 489 if ms.LoadMessageInfo() == nil { 490 ms.StoreMessageInfo(mi) 491 } 492 return ms 493 } 494 return mi.MessageOf(m) 495 } 496 497 func (*GetMySettingsResponse) GotenMessage() {} 498 499 // Deprecated, Use GetMySettingsResponse.ProtoReflect.Descriptor instead. 500 func (*GetMySettingsResponse) Descriptor() ([]byte, []int) { 501 return edgelq_iam_proto_v1_user_custom_proto_rawDescGZIP(), []int{4} 502 } 503 504 func (m *GetMySettingsResponse) Unmarshal(b []byte) error { 505 return proto.Unmarshal(b, m) 506 } 507 508 func (m *GetMySettingsResponse) Marshal() ([]byte, error) { 509 return proto.Marshal(m) 510 } 511 512 func (m *GetMySettingsResponse) MarshalJSON() ([]byte, error) { 513 return protojson.MarshalOptions{}.Marshal(m) 514 } 515 516 func (m *GetMySettingsResponse) UnmarshalJSON(data []byte) error { 517 return protojson.Unmarshal(data, m) 518 } 519 520 func (m *GetMySettingsResponse) GetSettings() map[string]string { 521 if m != nil { 522 return m.Settings 523 } 524 return nil 525 } 526 527 func (m *GetMySettingsResponse) SetSettings(fv map[string]string) { 528 if m == nil { 529 panic(fmt.Errorf("can't set %s on nil %s", "Settings", "GetMySettingsResponse")) 530 } 531 m.Settings = fv 532 } 533 534 // Request message for method [SetMySettings][ntt.iam.v1.SetMySettings] 535 type SetMySettingsRequest struct { 536 state protoimpl.MessageState 537 sizeCache protoimpl.SizeCache 538 unknownFields protoimpl.UnknownFields 539 // Settings to update. Leave empty value to unset key 540 Settings map[string]string `protobuf:"bytes,1,rep,name=settings,proto3" json:"settings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 541 } 542 543 func (m *SetMySettingsRequest) Reset() { 544 *m = SetMySettingsRequest{} 545 if protoimpl.UnsafeEnabled { 546 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[5] 547 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 548 ms.StoreMessageInfo(mi) 549 } 550 } 551 552 func (m *SetMySettingsRequest) String() string { 553 return protoimpl.X.MessageStringOf(m) 554 } 555 556 func (*SetMySettingsRequest) ProtoMessage() {} 557 558 func (m *SetMySettingsRequest) ProtoReflect() preflect.Message { 559 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[5] 560 if protoimpl.UnsafeEnabled && m != nil { 561 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 562 if ms.LoadMessageInfo() == nil { 563 ms.StoreMessageInfo(mi) 564 } 565 return ms 566 } 567 return mi.MessageOf(m) 568 } 569 570 func (*SetMySettingsRequest) GotenMessage() {} 571 572 // Deprecated, Use SetMySettingsRequest.ProtoReflect.Descriptor instead. 573 func (*SetMySettingsRequest) Descriptor() ([]byte, []int) { 574 return edgelq_iam_proto_v1_user_custom_proto_rawDescGZIP(), []int{5} 575 } 576 577 func (m *SetMySettingsRequest) Unmarshal(b []byte) error { 578 return proto.Unmarshal(b, m) 579 } 580 581 func (m *SetMySettingsRequest) Marshal() ([]byte, error) { 582 return proto.Marshal(m) 583 } 584 585 func (m *SetMySettingsRequest) MarshalJSON() ([]byte, error) { 586 return protojson.MarshalOptions{}.Marshal(m) 587 } 588 589 func (m *SetMySettingsRequest) UnmarshalJSON(data []byte) error { 590 return protojson.Unmarshal(data, m) 591 } 592 593 func (m *SetMySettingsRequest) GetSettings() map[string]string { 594 if m != nil { 595 return m.Settings 596 } 597 return nil 598 } 599 600 func (m *SetMySettingsRequest) SetSettings(fv map[string]string) { 601 if m == nil { 602 panic(fmt.Errorf("can't set %s on nil %s", "Settings", "SetMySettingsRequest")) 603 } 604 m.Settings = fv 605 } 606 607 // Request message for method 608 // [RefreshUserFromIdToken][ntt.iam.v1.RefreshUserFromIdToken] 609 type RefreshUserFromIdTokenRequest struct { 610 state protoimpl.MessageState 611 sizeCache protoimpl.SizeCache 612 unknownFields protoimpl.UnknownFields 613 // JWT-encoded ID token 614 IdToken string `protobuf:"bytes,1,opt,name=id_token,json=idToken,proto3" json:"id_token,omitempty"` 615 } 616 617 func (m *RefreshUserFromIdTokenRequest) Reset() { 618 *m = RefreshUserFromIdTokenRequest{} 619 if protoimpl.UnsafeEnabled { 620 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[6] 621 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 622 ms.StoreMessageInfo(mi) 623 } 624 } 625 626 func (m *RefreshUserFromIdTokenRequest) String() string { 627 return protoimpl.X.MessageStringOf(m) 628 } 629 630 func (*RefreshUserFromIdTokenRequest) ProtoMessage() {} 631 632 func (m *RefreshUserFromIdTokenRequest) ProtoReflect() preflect.Message { 633 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[6] 634 if protoimpl.UnsafeEnabled && m != nil { 635 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 636 if ms.LoadMessageInfo() == nil { 637 ms.StoreMessageInfo(mi) 638 } 639 return ms 640 } 641 return mi.MessageOf(m) 642 } 643 644 func (*RefreshUserFromIdTokenRequest) GotenMessage() {} 645 646 // Deprecated, Use RefreshUserFromIdTokenRequest.ProtoReflect.Descriptor instead. 647 func (*RefreshUserFromIdTokenRequest) Descriptor() ([]byte, []int) { 648 return edgelq_iam_proto_v1_user_custom_proto_rawDescGZIP(), []int{6} 649 } 650 651 func (m *RefreshUserFromIdTokenRequest) Unmarshal(b []byte) error { 652 return proto.Unmarshal(b, m) 653 } 654 655 func (m *RefreshUserFromIdTokenRequest) Marshal() ([]byte, error) { 656 return proto.Marshal(m) 657 } 658 659 func (m *RefreshUserFromIdTokenRequest) MarshalJSON() ([]byte, error) { 660 return protojson.MarshalOptions{}.Marshal(m) 661 } 662 663 func (m *RefreshUserFromIdTokenRequest) UnmarshalJSON(data []byte) error { 664 return protojson.Unmarshal(data, m) 665 } 666 667 func (m *RefreshUserFromIdTokenRequest) GetIdToken() string { 668 if m != nil { 669 return m.IdToken 670 } 671 return "" 672 } 673 674 func (m *RefreshUserFromIdTokenRequest) SetIdToken(fv string) { 675 if m == nil { 676 panic(fmt.Errorf("can't set %s on nil %s", "IdToken", "RefreshUserFromIdTokenRequest")) 677 } 678 m.IdToken = fv 679 } 680 681 // Response message for method 682 // [RefreshUserFromIdToken][ntt.iam.v1.RefreshUserFromIdToken] 683 type RefreshUserFromIdTokenResponse struct { 684 state protoimpl.MessageState 685 sizeCache protoimpl.SizeCache 686 unknownFields protoimpl.UnknownFields 687 } 688 689 func (m *RefreshUserFromIdTokenResponse) Reset() { 690 *m = RefreshUserFromIdTokenResponse{} 691 if protoimpl.UnsafeEnabled { 692 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[7] 693 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 694 ms.StoreMessageInfo(mi) 695 } 696 } 697 698 func (m *RefreshUserFromIdTokenResponse) String() string { 699 return protoimpl.X.MessageStringOf(m) 700 } 701 702 func (*RefreshUserFromIdTokenResponse) ProtoMessage() {} 703 704 func (m *RefreshUserFromIdTokenResponse) ProtoReflect() preflect.Message { 705 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[7] 706 if protoimpl.UnsafeEnabled && m != nil { 707 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 708 if ms.LoadMessageInfo() == nil { 709 ms.StoreMessageInfo(mi) 710 } 711 return ms 712 } 713 return mi.MessageOf(m) 714 } 715 716 func (*RefreshUserFromIdTokenResponse) GotenMessage() {} 717 718 // Deprecated, Use RefreshUserFromIdTokenResponse.ProtoReflect.Descriptor instead. 719 func (*RefreshUserFromIdTokenResponse) Descriptor() ([]byte, []int) { 720 return edgelq_iam_proto_v1_user_custom_proto_rawDescGZIP(), []int{7} 721 } 722 723 func (m *RefreshUserFromIdTokenResponse) Unmarshal(b []byte) error { 724 return proto.Unmarshal(b, m) 725 } 726 727 func (m *RefreshUserFromIdTokenResponse) Marshal() ([]byte, error) { 728 return proto.Marshal(m) 729 } 730 731 func (m *RefreshUserFromIdTokenResponse) MarshalJSON() ([]byte, error) { 732 return protojson.MarshalOptions{}.Marshal(m) 733 } 734 735 func (m *RefreshUserFromIdTokenResponse) UnmarshalJSON(data []byte) error { 736 return protojson.Unmarshal(data, m) 737 } 738 739 // Request message for method 740 // [ResendVerificationEmail][ntt.iam.v1.ResendVerificationEmail] 741 type ResendVerificationEmailRequest struct { 742 state protoimpl.MessageState 743 sizeCache protoimpl.SizeCache 744 unknownFields protoimpl.UnknownFields 745 // Optional Auth client ID. May be defined per application to customize email 746 // template. 747 ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` 748 } 749 750 func (m *ResendVerificationEmailRequest) Reset() { 751 *m = ResendVerificationEmailRequest{} 752 if protoimpl.UnsafeEnabled { 753 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[8] 754 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 755 ms.StoreMessageInfo(mi) 756 } 757 } 758 759 func (m *ResendVerificationEmailRequest) String() string { 760 return protoimpl.X.MessageStringOf(m) 761 } 762 763 func (*ResendVerificationEmailRequest) ProtoMessage() {} 764 765 func (m *ResendVerificationEmailRequest) ProtoReflect() preflect.Message { 766 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[8] 767 if protoimpl.UnsafeEnabled && m != nil { 768 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 769 if ms.LoadMessageInfo() == nil { 770 ms.StoreMessageInfo(mi) 771 } 772 return ms 773 } 774 return mi.MessageOf(m) 775 } 776 777 func (*ResendVerificationEmailRequest) GotenMessage() {} 778 779 // Deprecated, Use ResendVerificationEmailRequest.ProtoReflect.Descriptor instead. 780 func (*ResendVerificationEmailRequest) Descriptor() ([]byte, []int) { 781 return edgelq_iam_proto_v1_user_custom_proto_rawDescGZIP(), []int{8} 782 } 783 784 func (m *ResendVerificationEmailRequest) Unmarshal(b []byte) error { 785 return proto.Unmarshal(b, m) 786 } 787 788 func (m *ResendVerificationEmailRequest) Marshal() ([]byte, error) { 789 return proto.Marshal(m) 790 } 791 792 func (m *ResendVerificationEmailRequest) MarshalJSON() ([]byte, error) { 793 return protojson.MarshalOptions{}.Marshal(m) 794 } 795 796 func (m *ResendVerificationEmailRequest) UnmarshalJSON(data []byte) error { 797 return protojson.Unmarshal(data, m) 798 } 799 800 func (m *ResendVerificationEmailRequest) GetClientId() string { 801 if m != nil { 802 return m.ClientId 803 } 804 return "" 805 } 806 807 func (m *ResendVerificationEmailRequest) SetClientId(fv string) { 808 if m == nil { 809 panic(fmt.Errorf("can't set %s on nil %s", "ClientId", "ResendVerificationEmailRequest")) 810 } 811 m.ClientId = fv 812 } 813 814 // Request message for method [IsUserVerified][ntt.iam.v1.IsUserVerified] 815 type IsUserVerifiedRequest struct { 816 state protoimpl.MessageState 817 sizeCache protoimpl.SizeCache 818 unknownFields protoimpl.UnknownFields 819 } 820 821 func (m *IsUserVerifiedRequest) Reset() { 822 *m = IsUserVerifiedRequest{} 823 if protoimpl.UnsafeEnabled { 824 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[9] 825 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 826 ms.StoreMessageInfo(mi) 827 } 828 } 829 830 func (m *IsUserVerifiedRequest) String() string { 831 return protoimpl.X.MessageStringOf(m) 832 } 833 834 func (*IsUserVerifiedRequest) ProtoMessage() {} 835 836 func (m *IsUserVerifiedRequest) ProtoReflect() preflect.Message { 837 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[9] 838 if protoimpl.UnsafeEnabled && m != nil { 839 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 840 if ms.LoadMessageInfo() == nil { 841 ms.StoreMessageInfo(mi) 842 } 843 return ms 844 } 845 return mi.MessageOf(m) 846 } 847 848 func (*IsUserVerifiedRequest) GotenMessage() {} 849 850 // Deprecated, Use IsUserVerifiedRequest.ProtoReflect.Descriptor instead. 851 func (*IsUserVerifiedRequest) Descriptor() ([]byte, []int) { 852 return edgelq_iam_proto_v1_user_custom_proto_rawDescGZIP(), []int{9} 853 } 854 855 func (m *IsUserVerifiedRequest) Unmarshal(b []byte) error { 856 return proto.Unmarshal(b, m) 857 } 858 859 func (m *IsUserVerifiedRequest) Marshal() ([]byte, error) { 860 return proto.Marshal(m) 861 } 862 863 func (m *IsUserVerifiedRequest) MarshalJSON() ([]byte, error) { 864 return protojson.MarshalOptions{}.Marshal(m) 865 } 866 867 func (m *IsUserVerifiedRequest) UnmarshalJSON(data []byte) error { 868 return protojson.Unmarshal(data, m) 869 } 870 871 // Request message for method 872 // [ResetMFAIfRecoveryKeyUsed][ntt.iam.v1.ResetMFAIfRecoveryKeyUsed] 873 type ResetMFAIfRecoveryKeyUsedRequest struct { 874 state protoimpl.MessageState 875 sizeCache protoimpl.SizeCache 876 unknownFields protoimpl.UnknownFields 877 } 878 879 func (m *ResetMFAIfRecoveryKeyUsedRequest) Reset() { 880 *m = ResetMFAIfRecoveryKeyUsedRequest{} 881 if protoimpl.UnsafeEnabled { 882 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[10] 883 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 884 ms.StoreMessageInfo(mi) 885 } 886 } 887 888 func (m *ResetMFAIfRecoveryKeyUsedRequest) String() string { 889 return protoimpl.X.MessageStringOf(m) 890 } 891 892 func (*ResetMFAIfRecoveryKeyUsedRequest) ProtoMessage() {} 893 894 func (m *ResetMFAIfRecoveryKeyUsedRequest) ProtoReflect() preflect.Message { 895 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[10] 896 if protoimpl.UnsafeEnabled && m != nil { 897 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 898 if ms.LoadMessageInfo() == nil { 899 ms.StoreMessageInfo(mi) 900 } 901 return ms 902 } 903 return mi.MessageOf(m) 904 } 905 906 func (*ResetMFAIfRecoveryKeyUsedRequest) GotenMessage() {} 907 908 // Deprecated, Use ResetMFAIfRecoveryKeyUsedRequest.ProtoReflect.Descriptor instead. 909 func (*ResetMFAIfRecoveryKeyUsedRequest) Descriptor() ([]byte, []int) { 910 return edgelq_iam_proto_v1_user_custom_proto_rawDescGZIP(), []int{10} 911 } 912 913 func (m *ResetMFAIfRecoveryKeyUsedRequest) Unmarshal(b []byte) error { 914 return proto.Unmarshal(b, m) 915 } 916 917 func (m *ResetMFAIfRecoveryKeyUsedRequest) Marshal() ([]byte, error) { 918 return proto.Marshal(m) 919 } 920 921 func (m *ResetMFAIfRecoveryKeyUsedRequest) MarshalJSON() ([]byte, error) { 922 return protojson.MarshalOptions{}.Marshal(m) 923 } 924 925 func (m *ResetMFAIfRecoveryKeyUsedRequest) UnmarshalJSON(data []byte) error { 926 return protojson.Unmarshal(data, m) 927 } 928 929 // Request message for method 930 // [SetUsersNameInAuth0][ntt.iam.v1.SetUsersNameInAuth0] 931 type SetUsersNameInAuth0Request struct { 932 state protoimpl.MessageState 933 sizeCache protoimpl.SizeCache 934 unknownFields protoimpl.UnknownFields 935 } 936 937 func (m *SetUsersNameInAuth0Request) Reset() { 938 *m = SetUsersNameInAuth0Request{} 939 if protoimpl.UnsafeEnabled { 940 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[11] 941 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 942 ms.StoreMessageInfo(mi) 943 } 944 } 945 946 func (m *SetUsersNameInAuth0Request) String() string { 947 return protoimpl.X.MessageStringOf(m) 948 } 949 950 func (*SetUsersNameInAuth0Request) ProtoMessage() {} 951 952 func (m *SetUsersNameInAuth0Request) ProtoReflect() preflect.Message { 953 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[11] 954 if protoimpl.UnsafeEnabled && m != nil { 955 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 956 if ms.LoadMessageInfo() == nil { 957 ms.StoreMessageInfo(mi) 958 } 959 return ms 960 } 961 return mi.MessageOf(m) 962 } 963 964 func (*SetUsersNameInAuth0Request) GotenMessage() {} 965 966 // Deprecated, Use SetUsersNameInAuth0Request.ProtoReflect.Descriptor instead. 967 func (*SetUsersNameInAuth0Request) Descriptor() ([]byte, []int) { 968 return edgelq_iam_proto_v1_user_custom_proto_rawDescGZIP(), []int{11} 969 } 970 971 func (m *SetUsersNameInAuth0Request) Unmarshal(b []byte) error { 972 return proto.Unmarshal(b, m) 973 } 974 975 func (m *SetUsersNameInAuth0Request) Marshal() ([]byte, error) { 976 return proto.Marshal(m) 977 } 978 979 func (m *SetUsersNameInAuth0Request) MarshalJSON() ([]byte, error) { 980 return protojson.MarshalOptions{}.Marshal(m) 981 } 982 983 func (m *SetUsersNameInAuth0Request) UnmarshalJSON(data []byte) error { 984 return protojson.Unmarshal(data, m) 985 } 986 987 // Request message for method 988 // [DeleteUsersByCriteria][ntt.iam.v1.DeleteUsersByCriteria] 989 type DeleteUsersByCriteriaRequest struct { 990 state protoimpl.MessageState 991 sizeCache protoimpl.SizeCache 992 unknownFields protoimpl.UnknownFields 993 // Auth info provider type. Optional. If provided, it must match 994 // deleted user instances - field auth_info.provider must exactly 995 // match specified value. 996 AuthInfoProvider string `protobuf:"bytes,3,opt,name=auth_info_provider,json=authInfoProvider,proto3" json:"auth_info_provider,omitempty"` 997 // Auth info ID prefix. Optional. If provided, it must match 998 // deleted user instances - field auth_info.id must begin 999 // with specified prefix. 1000 AuthInfoIdPrefix string `protobuf:"bytes,4,opt,name=auth_info_id_prefix,json=authInfoIdPrefix,proto3" json:"auth_info_id_prefix,omitempty"` 1001 // Types that are valid to be assigned to ToDelete: 1002 // *DeleteUsersByCriteriaRequest_ByEmail 1003 // *DeleteUsersByCriteriaRequest_ByName 1004 ToDelete isDeleteUsersByCriteriaRequest_ToDelete `protobuf_oneof:"to_delete"` 1005 } 1006 1007 func (m *DeleteUsersByCriteriaRequest) Reset() { 1008 *m = DeleteUsersByCriteriaRequest{} 1009 if protoimpl.UnsafeEnabled { 1010 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[12] 1011 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1012 ms.StoreMessageInfo(mi) 1013 } 1014 } 1015 1016 func (m *DeleteUsersByCriteriaRequest) String() string { 1017 return protoimpl.X.MessageStringOf(m) 1018 } 1019 1020 func (*DeleteUsersByCriteriaRequest) ProtoMessage() {} 1021 1022 func (m *DeleteUsersByCriteriaRequest) ProtoReflect() preflect.Message { 1023 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[12] 1024 if protoimpl.UnsafeEnabled && m != nil { 1025 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1026 if ms.LoadMessageInfo() == nil { 1027 ms.StoreMessageInfo(mi) 1028 } 1029 return ms 1030 } 1031 return mi.MessageOf(m) 1032 } 1033 1034 func (*DeleteUsersByCriteriaRequest) GotenMessage() {} 1035 1036 // Deprecated, Use DeleteUsersByCriteriaRequest.ProtoReflect.Descriptor instead. 1037 func (*DeleteUsersByCriteriaRequest) Descriptor() ([]byte, []int) { 1038 return edgelq_iam_proto_v1_user_custom_proto_rawDescGZIP(), []int{12} 1039 } 1040 1041 func (m *DeleteUsersByCriteriaRequest) Unmarshal(b []byte) error { 1042 return proto.Unmarshal(b, m) 1043 } 1044 1045 func (m *DeleteUsersByCriteriaRequest) Marshal() ([]byte, error) { 1046 return proto.Marshal(m) 1047 } 1048 1049 func (m *DeleteUsersByCriteriaRequest) MarshalJSON() ([]byte, error) { 1050 return protojson.MarshalOptions{}.Marshal(m) 1051 } 1052 1053 func (m *DeleteUsersByCriteriaRequest) UnmarshalJSON(data []byte) error { 1054 return protojson.Unmarshal(data, m) 1055 } 1056 1057 type isDeleteUsersByCriteriaRequest_ToDelete interface { 1058 isDeleteUsersByCriteriaRequest_ToDelete() 1059 } 1060 1061 type DeleteUsersByCriteriaRequest_ByEmail struct { 1062 // Delete by email criteria 1063 ByEmail *DeleteUsersByCriteriaRequest_UserEmails `protobuf:"bytes,1,opt,name=by_email,json=byEmail,proto3,oneof"` 1064 } 1065 type DeleteUsersByCriteriaRequest_ByName struct { 1066 // Delete by name criteria 1067 ByName *DeleteUsersByCriteriaRequest_UserNames `protobuf:"bytes,2,opt,name=by_name,json=byName,proto3,oneof"` 1068 } 1069 1070 func (*DeleteUsersByCriteriaRequest_ByEmail) isDeleteUsersByCriteriaRequest_ToDelete() {} 1071 func (*DeleteUsersByCriteriaRequest_ByName) isDeleteUsersByCriteriaRequest_ToDelete() {} 1072 func (m *DeleteUsersByCriteriaRequest) GetAuthInfoProvider() string { 1073 if m != nil { 1074 return m.AuthInfoProvider 1075 } 1076 return "" 1077 } 1078 1079 func (m *DeleteUsersByCriteriaRequest) GetAuthInfoIdPrefix() string { 1080 if m != nil { 1081 return m.AuthInfoIdPrefix 1082 } 1083 return "" 1084 } 1085 1086 func (m *DeleteUsersByCriteriaRequest) GetToDelete() isDeleteUsersByCriteriaRequest_ToDelete { 1087 if m != nil { 1088 return m.ToDelete 1089 } 1090 return nil 1091 } 1092 func (m *DeleteUsersByCriteriaRequest) GetByEmail() *DeleteUsersByCriteriaRequest_UserEmails { 1093 if x, ok := m.GetToDelete().(*DeleteUsersByCriteriaRequest_ByEmail); ok { 1094 return x.ByEmail 1095 } 1096 return nil 1097 } 1098 func (m *DeleteUsersByCriteriaRequest) GetByName() *DeleteUsersByCriteriaRequest_UserNames { 1099 if x, ok := m.GetToDelete().(*DeleteUsersByCriteriaRequest_ByName); ok { 1100 return x.ByName 1101 } 1102 return nil 1103 } 1104 func (m *DeleteUsersByCriteriaRequest) SetAuthInfoProvider(fv string) { 1105 if m == nil { 1106 panic(fmt.Errorf("can't set %s on nil %s", "AuthInfoProvider", "DeleteUsersByCriteriaRequest")) 1107 } 1108 m.AuthInfoProvider = fv 1109 } 1110 1111 func (m *DeleteUsersByCriteriaRequest) SetAuthInfoIdPrefix(fv string) { 1112 if m == nil { 1113 panic(fmt.Errorf("can't set %s on nil %s", "AuthInfoIdPrefix", "DeleteUsersByCriteriaRequest")) 1114 } 1115 m.AuthInfoIdPrefix = fv 1116 } 1117 1118 func (m *DeleteUsersByCriteriaRequest) SetToDelete(ofv isDeleteUsersByCriteriaRequest_ToDelete) { 1119 if m == nil { 1120 panic(fmt.Errorf("can't set %s on nil %s", "isDeleteUsersByCriteriaRequest_ToDelete", "DeleteUsersByCriteriaRequest")) 1121 } 1122 m.ToDelete = ofv 1123 } 1124 func (m *DeleteUsersByCriteriaRequest) SetByEmail(fv *DeleteUsersByCriteriaRequest_UserEmails) { 1125 m.SetToDelete(&DeleteUsersByCriteriaRequest_ByEmail{ByEmail: fv}) 1126 } 1127 func (m *DeleteUsersByCriteriaRequest) SetByName(fv *DeleteUsersByCriteriaRequest_UserNames) { 1128 m.SetToDelete(&DeleteUsersByCriteriaRequest_ByName{ByName: fv}) 1129 } 1130 1131 // Response message for method 1132 // [DeleteUserByCriteria][ntt.iam.v1.DeleteUserByCriteria] 1133 type DeleteUsersByCriteriaResponse struct { 1134 state protoimpl.MessageState 1135 sizeCache protoimpl.SizeCache 1136 unknownFields protoimpl.UnknownFields 1137 // List of deleted user resources 1138 DeletedUsers []*user.Name `protobuf:"bytes,1,rep,customtype=Name,name=deleted_users,json=deletedUsers,proto3" json:"deleted_users,omitempty"` 1139 } 1140 1141 func (m *DeleteUsersByCriteriaResponse) Reset() { 1142 *m = DeleteUsersByCriteriaResponse{} 1143 if protoimpl.UnsafeEnabled { 1144 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[13] 1145 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1146 ms.StoreMessageInfo(mi) 1147 } 1148 } 1149 1150 func (m *DeleteUsersByCriteriaResponse) String() string { 1151 return protoimpl.X.MessageStringOf(m) 1152 } 1153 1154 func (*DeleteUsersByCriteriaResponse) ProtoMessage() {} 1155 1156 func (m *DeleteUsersByCriteriaResponse) ProtoReflect() preflect.Message { 1157 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[13] 1158 if protoimpl.UnsafeEnabled && m != nil { 1159 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1160 if ms.LoadMessageInfo() == nil { 1161 ms.StoreMessageInfo(mi) 1162 } 1163 return ms 1164 } 1165 return mi.MessageOf(m) 1166 } 1167 1168 func (*DeleteUsersByCriteriaResponse) GotenMessage() {} 1169 1170 // Deprecated, Use DeleteUsersByCriteriaResponse.ProtoReflect.Descriptor instead. 1171 func (*DeleteUsersByCriteriaResponse) Descriptor() ([]byte, []int) { 1172 return edgelq_iam_proto_v1_user_custom_proto_rawDescGZIP(), []int{13} 1173 } 1174 1175 func (m *DeleteUsersByCriteriaResponse) Unmarshal(b []byte) error { 1176 return proto.Unmarshal(b, m) 1177 } 1178 1179 func (m *DeleteUsersByCriteriaResponse) Marshal() ([]byte, error) { 1180 return proto.Marshal(m) 1181 } 1182 1183 func (m *DeleteUsersByCriteriaResponse) MarshalJSON() ([]byte, error) { 1184 return protojson.MarshalOptions{}.Marshal(m) 1185 } 1186 1187 func (m *DeleteUsersByCriteriaResponse) UnmarshalJSON(data []byte) error { 1188 return protojson.Unmarshal(data, m) 1189 } 1190 1191 func (m *DeleteUsersByCriteriaResponse) GetDeletedUsers() []*user.Name { 1192 if m != nil { 1193 return m.DeletedUsers 1194 } 1195 return nil 1196 } 1197 1198 func (m *DeleteUsersByCriteriaResponse) SetDeletedUsers(fv []*user.Name) { 1199 if m == nil { 1200 panic(fmt.Errorf("can't set %s on nil %s", "DeletedUsers", "DeleteUsersByCriteriaResponse")) 1201 } 1202 m.DeletedUsers = fv 1203 } 1204 1205 type DeleteUsersByCriteriaRequest_UserEmails struct { 1206 state protoimpl.MessageState 1207 sizeCache protoimpl.SizeCache 1208 unknownFields protoimpl.UnknownFields 1209 Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` 1210 } 1211 1212 func (m *DeleteUsersByCriteriaRequest_UserEmails) Reset() { 1213 *m = DeleteUsersByCriteriaRequest_UserEmails{} 1214 if protoimpl.UnsafeEnabled { 1215 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[16] 1216 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1217 ms.StoreMessageInfo(mi) 1218 } 1219 } 1220 1221 func (m *DeleteUsersByCriteriaRequest_UserEmails) String() string { 1222 return protoimpl.X.MessageStringOf(m) 1223 } 1224 1225 func (*DeleteUsersByCriteriaRequest_UserEmails) ProtoMessage() {} 1226 1227 func (m *DeleteUsersByCriteriaRequest_UserEmails) ProtoReflect() preflect.Message { 1228 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[16] 1229 if protoimpl.UnsafeEnabled && m != nil { 1230 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1231 if ms.LoadMessageInfo() == nil { 1232 ms.StoreMessageInfo(mi) 1233 } 1234 return ms 1235 } 1236 return mi.MessageOf(m) 1237 } 1238 1239 func (*DeleteUsersByCriteriaRequest_UserEmails) GotenMessage() {} 1240 1241 // Deprecated, Use DeleteUsersByCriteriaRequest_UserEmails.ProtoReflect.Descriptor instead. 1242 func (*DeleteUsersByCriteriaRequest_UserEmails) Descriptor() ([]byte, []int) { 1243 return edgelq_iam_proto_v1_user_custom_proto_rawDescGZIP(), []int{12, 0} 1244 } 1245 1246 func (m *DeleteUsersByCriteriaRequest_UserEmails) Unmarshal(b []byte) error { 1247 return proto.Unmarshal(b, m) 1248 } 1249 1250 func (m *DeleteUsersByCriteriaRequest_UserEmails) Marshal() ([]byte, error) { 1251 return proto.Marshal(m) 1252 } 1253 1254 func (m *DeleteUsersByCriteriaRequest_UserEmails) MarshalJSON() ([]byte, error) { 1255 return protojson.MarshalOptions{}.Marshal(m) 1256 } 1257 1258 func (m *DeleteUsersByCriteriaRequest_UserEmails) UnmarshalJSON(data []byte) error { 1259 return protojson.Unmarshal(data, m) 1260 } 1261 1262 func (m *DeleteUsersByCriteriaRequest_UserEmails) GetValues() []string { 1263 if m != nil { 1264 return m.Values 1265 } 1266 return nil 1267 } 1268 1269 func (m *DeleteUsersByCriteriaRequest_UserEmails) SetValues(fv []string) { 1270 if m == nil { 1271 panic(fmt.Errorf("can't set %s on nil %s", "Values", "DeleteUsersByCriteriaRequest_UserEmails")) 1272 } 1273 m.Values = fv 1274 } 1275 1276 type DeleteUsersByCriteriaRequest_UserNames struct { 1277 state protoimpl.MessageState 1278 sizeCache protoimpl.SizeCache 1279 unknownFields protoimpl.UnknownFields 1280 Values []*user.Name `protobuf:"bytes,1,rep,customtype=Name,name=values,proto3" json:"values,omitempty"` 1281 } 1282 1283 func (m *DeleteUsersByCriteriaRequest_UserNames) Reset() { 1284 *m = DeleteUsersByCriteriaRequest_UserNames{} 1285 if protoimpl.UnsafeEnabled { 1286 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[17] 1287 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1288 ms.StoreMessageInfo(mi) 1289 } 1290 } 1291 1292 func (m *DeleteUsersByCriteriaRequest_UserNames) String() string { 1293 return protoimpl.X.MessageStringOf(m) 1294 } 1295 1296 func (*DeleteUsersByCriteriaRequest_UserNames) ProtoMessage() {} 1297 1298 func (m *DeleteUsersByCriteriaRequest_UserNames) ProtoReflect() preflect.Message { 1299 mi := &edgelq_iam_proto_v1_user_custom_proto_msgTypes[17] 1300 if protoimpl.UnsafeEnabled && m != nil { 1301 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1302 if ms.LoadMessageInfo() == nil { 1303 ms.StoreMessageInfo(mi) 1304 } 1305 return ms 1306 } 1307 return mi.MessageOf(m) 1308 } 1309 1310 func (*DeleteUsersByCriteriaRequest_UserNames) GotenMessage() {} 1311 1312 // Deprecated, Use DeleteUsersByCriteriaRequest_UserNames.ProtoReflect.Descriptor instead. 1313 func (*DeleteUsersByCriteriaRequest_UserNames) Descriptor() ([]byte, []int) { 1314 return edgelq_iam_proto_v1_user_custom_proto_rawDescGZIP(), []int{12, 1} 1315 } 1316 1317 func (m *DeleteUsersByCriteriaRequest_UserNames) Unmarshal(b []byte) error { 1318 return proto.Unmarshal(b, m) 1319 } 1320 1321 func (m *DeleteUsersByCriteriaRequest_UserNames) Marshal() ([]byte, error) { 1322 return proto.Marshal(m) 1323 } 1324 1325 func (m *DeleteUsersByCriteriaRequest_UserNames) MarshalJSON() ([]byte, error) { 1326 return protojson.MarshalOptions{}.Marshal(m) 1327 } 1328 1329 func (m *DeleteUsersByCriteriaRequest_UserNames) UnmarshalJSON(data []byte) error { 1330 return protojson.Unmarshal(data, m) 1331 } 1332 1333 func (m *DeleteUsersByCriteriaRequest_UserNames) GetValues() []*user.Name { 1334 if m != nil { 1335 return m.Values 1336 } 1337 return nil 1338 } 1339 1340 func (m *DeleteUsersByCriteriaRequest_UserNames) SetValues(fv []*user.Name) { 1341 if m == nil { 1342 panic(fmt.Errorf("can't set %s on nil %s", "Values", "DeleteUsersByCriteriaRequest_UserNames")) 1343 } 1344 m.Values = fv 1345 } 1346 1347 var edgelq_iam_proto_v1_user_custom_proto preflect.FileDescriptor 1348 1349 var edgelq_iam_proto_v1_user_custom_proto_rawDesc = []byte{ 1350 0x0a, 0x25, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 1351 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 1352 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 1353 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 1354 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 1355 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 1356 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 1357 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 1358 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 1359 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 1360 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 1361 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x74, 1362 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x63, 1363 0x6c, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1364 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 1365 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x74, 0x65, 1366 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x72, 0x6f, 1367 0x74, 0x6f, 0x1a, 0x1e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 1368 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 1369 0x74, 0x6f, 0x1a, 0x25, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 1370 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x68, 0x61, 1371 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbc, 0x01, 0x0a, 0x15, 0x47, 0x65, 1372 0x74, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 1373 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 1374 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x47, 0x0a, 0x0a, 0x66, 0x69, 0x65, 1375 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 1376 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 1377 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x0c, 0xb2, 0xda, 0x21, 0x08, 0x32, 1378 0x06, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 1379 0x73, 0x6b, 0x12, 0x25, 0x0a, 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 1380 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 1381 0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6b, 0x69, 1382 0x70, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x73, 1383 0x6b, 0x69, 0x70, 0x43, 0x61, 0x63, 0x68, 0x65, 0x22, 0xc4, 0x01, 0x0a, 0x1b, 0x42, 0x61, 0x74, 1384 0x63, 0x68, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x42, 0x79, 0x45, 0x6d, 0x61, 0x69, 1385 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6d, 0x61, 0x69, 1386 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x73, 1387 0x12, 0x47, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 1388 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 1389 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 1390 0x42, 0x0c, 0xb2, 0xda, 0x21, 0x08, 0x32, 0x06, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x52, 0x09, 1391 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x25, 0x0a, 0x04, 0x76, 0x69, 0x65, 1392 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 1393 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77, 1394 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x18, 0x05, 1395 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x73, 0x6b, 0x69, 0x70, 0x43, 0x61, 0x63, 0x68, 0x65, 0x22, 1396 0x60, 0x0a, 0x1c, 0x42, 0x61, 0x74, 0x63, 0x68, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 1397 0x42, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 1398 0x26, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 1399 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 1400 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x69, 0x73, 0x73, 0x69, 1401 0x6e, 0x67, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 1402 0x67, 0x22, 0x30, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4d, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 1403 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x04, 0x6b, 0x65, 0x79, 1404 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x04, 0xc8, 0xd5, 0x22, 0x01, 0x52, 0x04, 0x6b, 1405 0x65, 0x79, 0x73, 0x22, 0xa1, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4d, 0x79, 0x53, 0x65, 0x74, 1406 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 1407 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 1408 0x2f, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 1409 0x4d, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 1410 0x73, 0x65, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 1411 0x52, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x1a, 0x3b, 0x0a, 0x0d, 0x53, 0x65, 1412 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 1413 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 1414 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 1415 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa5, 0x01, 0x0a, 0x14, 0x53, 0x65, 0x74, 0x4d, 1416 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1417 0x12, 0x50, 0x0a, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 1418 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 1419 0x53, 0x65, 0x74, 0x4d, 0x79, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 1420 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x6e, 0x74, 1421 0x72, 0x79, 0x42, 0x04, 0xc8, 0xd5, 0x22, 0x01, 0x52, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 1422 0x67, 0x73, 0x1a, 0x3b, 0x0a, 0x0d, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x6e, 1423 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 1424 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 1425 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 1426 0x3a, 0x0a, 0x1d, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x55, 0x73, 0x65, 0x72, 0x46, 0x72, 1427 0x6f, 0x6d, 0x49, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 1428 0x12, 0x19, 0x0a, 0x08, 0x69, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 1429 0x28, 0x09, 0x52, 0x07, 0x69, 0x64, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x20, 0x0a, 0x1e, 0x52, 1430 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x55, 0x73, 0x65, 0x72, 0x46, 0x72, 0x6f, 0x6d, 0x49, 0x64, 1431 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3d, 0x0a, 1432 0x1e, 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 1433 0x69, 0x6f, 0x6e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 1434 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 1435 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x17, 0x0a, 0x15, 1436 0x49, 0x73, 0x55, 0x73, 0x65, 0x72, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x52, 0x65, 1437 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x22, 0x0a, 0x20, 0x52, 0x65, 0x73, 0x65, 0x74, 0x4d, 0x46, 1438 0x41, 0x49, 0x66, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x55, 0x73, 1439 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x1c, 0x0a, 0x1a, 0x53, 0x65, 0x74, 1440 0x55, 0x73, 0x65, 0x72, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x49, 0x6e, 0x41, 0x75, 0x74, 0x68, 0x30, 1441 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x98, 0x03, 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x65, 1442 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x42, 0x79, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 1443 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x50, 0x0a, 0x08, 0x62, 0x79, 0x5f, 0x65, 1444 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x6e, 0x74, 0x74, 1445 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 1446 0x65, 0x72, 0x73, 0x42, 0x79, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x52, 0x65, 0x71, 1447 0x75, 0x65, 0x73, 0x74, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x73, 0x48, 1448 0x00, 0x52, 0x07, 0x62, 0x79, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x4d, 0x0a, 0x07, 0x62, 0x79, 1449 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x6e, 0x74, 1450 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 1451 0x73, 0x65, 0x72, 0x73, 0x42, 0x79, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x52, 0x65, 1452 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x48, 1453 0x00, 0x52, 0x06, 0x62, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x75, 0x74, 1454 0x68, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 1455 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x75, 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x50, 1456 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x2d, 0x0a, 0x13, 0x61, 0x75, 0x74, 0x68, 0x5f, 1457 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x69, 0x64, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x04, 1458 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x75, 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x49, 0x64, 1459 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x1a, 0x30, 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x72, 0x45, 0x6d, 1460 0x61, 0x69, 0x6c, 0x73, 0x12, 0x22, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 1461 0x20, 0x03, 0x28, 0x09, 0x42, 0x0a, 0xca, 0xc6, 0x27, 0x06, 0x42, 0x04, 0x12, 0x02, 0x08, 0x19, 1462 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x1a, 0x3b, 0x0a, 0x09, 0x55, 0x73, 0x65, 0x72, 1463 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 1464 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x16, 0xb2, 0xda, 0x21, 0x08, 0x0a, 0x06, 0x0a, 0x04, 0x55, 1465 0x73, 0x65, 0x72, 0xca, 0xc6, 0x27, 0x06, 0x42, 0x04, 0x12, 0x02, 0x08, 0x19, 0x52, 0x06, 0x76, 1466 0x61, 0x6c, 0x75, 0x65, 0x73, 0x42, 0x0b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x64, 0x65, 0x6c, 0x65, 1467 0x74, 0x65, 0x22, 0x52, 0x0a, 0x1d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 1468 0x73, 0x42, 0x79, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 1469 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x75, 1470 0x73, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x0c, 0xb2, 0xda, 0x21, 0x08, 1471 0x0a, 0x06, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x52, 0x0c, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 1472 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x42, 0x65, 0xe8, 0xde, 0x21, 0x00, 0x0a, 0x11, 0x63, 0x6f, 1473 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 1474 0x0f, 0x55, 0x73, 0x65, 0x72, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 1475 0x50, 0x00, 0x5a, 0x39, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 1476 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 1477 0x61, 0x6d, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73, 0x65, 1478 0x72, 0x3b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, 1479 0x72, 0x6f, 0x74, 0x6f, 0x33, 1480 } 1481 1482 var ( 1483 edgelq_iam_proto_v1_user_custom_proto_rawDescOnce sync.Once 1484 edgelq_iam_proto_v1_user_custom_proto_rawDescData = edgelq_iam_proto_v1_user_custom_proto_rawDesc 1485 ) 1486 1487 func edgelq_iam_proto_v1_user_custom_proto_rawDescGZIP() []byte { 1488 edgelq_iam_proto_v1_user_custom_proto_rawDescOnce.Do(func() { 1489 edgelq_iam_proto_v1_user_custom_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_iam_proto_v1_user_custom_proto_rawDescData) 1490 }) 1491 return edgelq_iam_proto_v1_user_custom_proto_rawDescData 1492 } 1493 1494 var edgelq_iam_proto_v1_user_custom_proto_msgTypes = make([]protoimpl.MessageInfo, 18) 1495 var edgelq_iam_proto_v1_user_custom_proto_goTypes = []interface{}{ 1496 (*GetUserByEmailRequest)(nil), // 0: ntt.iam.v1.GetUserByEmailRequest 1497 (*BatchGetUsersByEmailRequest)(nil), // 1: ntt.iam.v1.BatchGetUsersByEmailRequest 1498 (*BatchGetUsersByEmailResponse)(nil), // 2: ntt.iam.v1.BatchGetUsersByEmailResponse 1499 (*GetMySettingsRequest)(nil), // 3: ntt.iam.v1.GetMySettingsRequest 1500 (*GetMySettingsResponse)(nil), // 4: ntt.iam.v1.GetMySettingsResponse 1501 (*SetMySettingsRequest)(nil), // 5: ntt.iam.v1.SetMySettingsRequest 1502 (*RefreshUserFromIdTokenRequest)(nil), // 6: ntt.iam.v1.RefreshUserFromIdTokenRequest 1503 (*RefreshUserFromIdTokenResponse)(nil), // 7: ntt.iam.v1.RefreshUserFromIdTokenResponse 1504 (*ResendVerificationEmailRequest)(nil), // 8: ntt.iam.v1.ResendVerificationEmailRequest 1505 (*IsUserVerifiedRequest)(nil), // 9: ntt.iam.v1.IsUserVerifiedRequest 1506 (*ResetMFAIfRecoveryKeyUsedRequest)(nil), // 10: ntt.iam.v1.ResetMFAIfRecoveryKeyUsedRequest 1507 (*SetUsersNameInAuth0Request)(nil), // 11: ntt.iam.v1.SetUsersNameInAuth0Request 1508 (*DeleteUsersByCriteriaRequest)(nil), // 12: ntt.iam.v1.DeleteUsersByCriteriaRequest 1509 (*DeleteUsersByCriteriaResponse)(nil), // 13: ntt.iam.v1.DeleteUsersByCriteriaResponse 1510 nil, // 14: ntt.iam.v1.GetMySettingsResponse.SettingsEntry 1511 nil, // 15: ntt.iam.v1.SetMySettingsRequest.SettingsEntry 1512 (*DeleteUsersByCriteriaRequest_UserEmails)(nil), // 16: ntt.iam.v1.DeleteUsersByCriteriaRequest.UserEmails 1513 (*DeleteUsersByCriteriaRequest_UserNames)(nil), // 17: ntt.iam.v1.DeleteUsersByCriteriaRequest.UserNames 1514 (*user.User_FieldMask)(nil), // 18: ntt.iam.v1.User_FieldMask 1515 (view.View)(0), // 19: goten.types.View 1516 (*user.User)(nil), // 20: ntt.iam.v1.User 1517 } 1518 var edgelq_iam_proto_v1_user_custom_proto_depIdxs = []int32{ 1519 18, // 0: ntt.iam.v1.GetUserByEmailRequest.field_mask:type_name -> ntt.iam.v1.User_FieldMask 1520 19, // 1: ntt.iam.v1.GetUserByEmailRequest.view:type_name -> goten.types.View 1521 18, // 2: ntt.iam.v1.BatchGetUsersByEmailRequest.field_mask:type_name -> ntt.iam.v1.User_FieldMask 1522 19, // 3: ntt.iam.v1.BatchGetUsersByEmailRequest.view:type_name -> goten.types.View 1523 20, // 4: ntt.iam.v1.BatchGetUsersByEmailResponse.users:type_name -> ntt.iam.v1.User 1524 14, // 5: ntt.iam.v1.GetMySettingsResponse.settings:type_name -> ntt.iam.v1.GetMySettingsResponse.SettingsEntry 1525 15, // 6: ntt.iam.v1.SetMySettingsRequest.settings:type_name -> ntt.iam.v1.SetMySettingsRequest.SettingsEntry 1526 16, // 7: ntt.iam.v1.DeleteUsersByCriteriaRequest.by_email:type_name -> ntt.iam.v1.DeleteUsersByCriteriaRequest.UserEmails 1527 17, // 8: ntt.iam.v1.DeleteUsersByCriteriaRequest.by_name:type_name -> ntt.iam.v1.DeleteUsersByCriteriaRequest.UserNames 1528 9, // [9:9] is the sub-list for method output_type 1529 9, // [9:9] is the sub-list for method input_type 1530 9, // [9:9] is the sub-list for extension type_name 1531 9, // [9:9] is the sub-list for extension extendee 1532 0, // [0:9] is the sub-list for field type_name 1533 } 1534 1535 func init() { edgelq_iam_proto_v1_user_custom_proto_init() } 1536 func edgelq_iam_proto_v1_user_custom_proto_init() { 1537 if edgelq_iam_proto_v1_user_custom_proto != nil { 1538 return 1539 } 1540 if !protoimpl.UnsafeEnabled { 1541 1542 edgelq_iam_proto_v1_user_custom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1543 switch v := v.(*GetUserByEmailRequest); i { 1544 case 0: 1545 return &v.state 1546 case 1: 1547 return &v.sizeCache 1548 case 2: 1549 return &v.unknownFields 1550 default: 1551 return nil 1552 } 1553 } 1554 edgelq_iam_proto_v1_user_custom_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1555 switch v := v.(*BatchGetUsersByEmailRequest); i { 1556 case 0: 1557 return &v.state 1558 case 1: 1559 return &v.sizeCache 1560 case 2: 1561 return &v.unknownFields 1562 default: 1563 return nil 1564 } 1565 } 1566 edgelq_iam_proto_v1_user_custom_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1567 switch v := v.(*BatchGetUsersByEmailResponse); i { 1568 case 0: 1569 return &v.state 1570 case 1: 1571 return &v.sizeCache 1572 case 2: 1573 return &v.unknownFields 1574 default: 1575 return nil 1576 } 1577 } 1578 edgelq_iam_proto_v1_user_custom_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1579 switch v := v.(*GetMySettingsRequest); i { 1580 case 0: 1581 return &v.state 1582 case 1: 1583 return &v.sizeCache 1584 case 2: 1585 return &v.unknownFields 1586 default: 1587 return nil 1588 } 1589 } 1590 edgelq_iam_proto_v1_user_custom_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1591 switch v := v.(*GetMySettingsResponse); i { 1592 case 0: 1593 return &v.state 1594 case 1: 1595 return &v.sizeCache 1596 case 2: 1597 return &v.unknownFields 1598 default: 1599 return nil 1600 } 1601 } 1602 edgelq_iam_proto_v1_user_custom_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1603 switch v := v.(*SetMySettingsRequest); i { 1604 case 0: 1605 return &v.state 1606 case 1: 1607 return &v.sizeCache 1608 case 2: 1609 return &v.unknownFields 1610 default: 1611 return nil 1612 } 1613 } 1614 edgelq_iam_proto_v1_user_custom_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1615 switch v := v.(*RefreshUserFromIdTokenRequest); i { 1616 case 0: 1617 return &v.state 1618 case 1: 1619 return &v.sizeCache 1620 case 2: 1621 return &v.unknownFields 1622 default: 1623 return nil 1624 } 1625 } 1626 edgelq_iam_proto_v1_user_custom_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1627 switch v := v.(*RefreshUserFromIdTokenResponse); i { 1628 case 0: 1629 return &v.state 1630 case 1: 1631 return &v.sizeCache 1632 case 2: 1633 return &v.unknownFields 1634 default: 1635 return nil 1636 } 1637 } 1638 edgelq_iam_proto_v1_user_custom_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1639 switch v := v.(*ResendVerificationEmailRequest); i { 1640 case 0: 1641 return &v.state 1642 case 1: 1643 return &v.sizeCache 1644 case 2: 1645 return &v.unknownFields 1646 default: 1647 return nil 1648 } 1649 } 1650 edgelq_iam_proto_v1_user_custom_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1651 switch v := v.(*IsUserVerifiedRequest); i { 1652 case 0: 1653 return &v.state 1654 case 1: 1655 return &v.sizeCache 1656 case 2: 1657 return &v.unknownFields 1658 default: 1659 return nil 1660 } 1661 } 1662 edgelq_iam_proto_v1_user_custom_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1663 switch v := v.(*ResetMFAIfRecoveryKeyUsedRequest); i { 1664 case 0: 1665 return &v.state 1666 case 1: 1667 return &v.sizeCache 1668 case 2: 1669 return &v.unknownFields 1670 default: 1671 return nil 1672 } 1673 } 1674 edgelq_iam_proto_v1_user_custom_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1675 switch v := v.(*SetUsersNameInAuth0Request); i { 1676 case 0: 1677 return &v.state 1678 case 1: 1679 return &v.sizeCache 1680 case 2: 1681 return &v.unknownFields 1682 default: 1683 return nil 1684 } 1685 } 1686 edgelq_iam_proto_v1_user_custom_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 1687 switch v := v.(*DeleteUsersByCriteriaRequest); i { 1688 case 0: 1689 return &v.state 1690 case 1: 1691 return &v.sizeCache 1692 case 2: 1693 return &v.unknownFields 1694 default: 1695 return nil 1696 } 1697 } 1698 edgelq_iam_proto_v1_user_custom_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 1699 switch v := v.(*DeleteUsersByCriteriaResponse); i { 1700 case 0: 1701 return &v.state 1702 case 1: 1703 return &v.sizeCache 1704 case 2: 1705 return &v.unknownFields 1706 default: 1707 return nil 1708 } 1709 } 1710 edgelq_iam_proto_v1_user_custom_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 1711 switch v := v.(*DeleteUsersByCriteriaRequest_UserEmails); i { 1712 case 0: 1713 return &v.state 1714 case 1: 1715 return &v.sizeCache 1716 case 2: 1717 return &v.unknownFields 1718 default: 1719 return nil 1720 } 1721 } 1722 edgelq_iam_proto_v1_user_custom_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 1723 switch v := v.(*DeleteUsersByCriteriaRequest_UserNames); i { 1724 case 0: 1725 return &v.state 1726 case 1: 1727 return &v.sizeCache 1728 case 2: 1729 return &v.unknownFields 1730 default: 1731 return nil 1732 } 1733 } 1734 } 1735 1736 edgelq_iam_proto_v1_user_custom_proto_msgTypes[12].OneofWrappers = []interface{}{ 1737 (*DeleteUsersByCriteriaRequest_ByEmail)(nil), 1738 (*DeleteUsersByCriteriaRequest_ByName)(nil), 1739 } 1740 type x struct{} 1741 out := protoimpl.TypeBuilder{ 1742 File: protoimpl.DescBuilder{ 1743 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1744 RawDescriptor: edgelq_iam_proto_v1_user_custom_proto_rawDesc, 1745 NumEnums: 0, 1746 NumMessages: 18, 1747 NumExtensions: 0, 1748 NumServices: 0, 1749 }, 1750 GoTypes: edgelq_iam_proto_v1_user_custom_proto_goTypes, 1751 DependencyIndexes: edgelq_iam_proto_v1_user_custom_proto_depIdxs, 1752 MessageInfos: edgelq_iam_proto_v1_user_custom_proto_msgTypes, 1753 }.Build() 1754 edgelq_iam_proto_v1_user_custom_proto = out.File 1755 edgelq_iam_proto_v1_user_custom_proto_rawDesc = nil 1756 edgelq_iam_proto_v1_user_custom_proto_goTypes = nil 1757 edgelq_iam_proto_v1_user_custom_proto_depIdxs = nil 1758 }