github.com/cloudwan/edgelq-sdk@v1.15.4/iam/client/v1/project_invitation/project_invitation_service.pb.descriptors.go (about) 1 // Code generated by protoc-gen-goten-client 2 // API: ProjectInvitationService 3 // DO NOT EDIT!!! 4 5 package project_invitation_client 6 7 import ( 8 "google.golang.org/protobuf/proto" 9 10 gotenclient "github.com/cloudwan/goten-sdk/runtime/client" 11 gotenresource "github.com/cloudwan/goten-sdk/runtime/resource" 12 ) 13 14 // proto imports 15 import ( 16 project_invitation "github.com/cloudwan/edgelq-sdk/iam/resources/v1/project_invitation" 17 emptypb "google.golang.org/protobuf/types/known/emptypb" 18 ) 19 20 // Reference imports to suppress errors if they are not otherwise used. 21 var ( 22 _ = new(proto.Message) 23 _ = new(gotenclient.MethodDescriptor) 24 _ = gotenresource.WildcardId 25 ) 26 27 // make sure we're using proto imports 28 var ( 29 _ = &project_invitation.ProjectInvitation{} 30 _ = &emptypb.Empty{} 31 ) 32 33 var ( 34 descriptorsInitialized bool 35 projectInvitationServiceDescriptor *ProjectInvitationServiceDescriptor 36 getProjectInvitationDescriptor *GetProjectInvitationDescriptor 37 batchGetProjectInvitationsDescriptor *BatchGetProjectInvitationsDescriptor 38 listProjectInvitationsDescriptor *ListProjectInvitationsDescriptor 39 watchProjectInvitationDescriptor *WatchProjectInvitationDescriptor 40 watchProjectInvitationsDescriptor *WatchProjectInvitationsDescriptor 41 createProjectInvitationDescriptor *CreateProjectInvitationDescriptor 42 updateProjectInvitationDescriptor *UpdateProjectInvitationDescriptor 43 deleteProjectInvitationDescriptor *DeleteProjectInvitationDescriptor 44 acceptProjectInvitationDescriptor *AcceptProjectInvitationDescriptor 45 declineProjectInvitationDescriptor *DeclineProjectInvitationDescriptor 46 listMyProjectInvitationsDescriptor *ListMyProjectInvitationsDescriptor 47 resendProjectInvitationDescriptor *ResendProjectInvitationDescriptor 48 ) 49 50 type GetProjectInvitationDescriptor struct{} 51 52 type GetProjectInvitationDescriptorClientMsgHandle struct{} 53 54 type GetProjectInvitationDescriptorServerMsgHandle struct{} 55 56 func (d *GetProjectInvitationDescriptor) NewEmptyClientMsg() proto.Message { 57 return &GetProjectInvitationRequest{} 58 } 59 60 func (d *GetProjectInvitationDescriptor) NewEmptyServerMsg() proto.Message { 61 return &project_invitation.ProjectInvitation{} 62 } 63 64 func (d *GetProjectInvitationDescriptor) IsUnary() bool { 65 return true 66 } 67 68 func (d *GetProjectInvitationDescriptor) IsClientStream() bool { 69 return false 70 } 71 72 func (d *GetProjectInvitationDescriptor) IsServerStream() bool { 73 return false 74 } 75 76 func (d *GetProjectInvitationDescriptor) IsCollection() bool { 77 return false 78 } 79 80 func (d *GetProjectInvitationDescriptor) IsPlural() bool { 81 return false 82 } 83 84 func (d *GetProjectInvitationDescriptor) HasResource() bool { 85 return true 86 } 87 88 func (d *GetProjectInvitationDescriptor) RequestHasResourceBody() bool { 89 return false 90 } 91 92 func (d *GetProjectInvitationDescriptor) GetVerb() string { 93 return "get" 94 } 95 96 func (d *GetProjectInvitationDescriptor) GetMethodName() string { 97 return "GetProjectInvitation" 98 } 99 100 func (d *GetProjectInvitationDescriptor) GetFullMethodName() string { 101 return "/ntt.iam.v1.ProjectInvitationService/GetProjectInvitation" 102 } 103 104 func (d *GetProjectInvitationDescriptor) GetProtoPkgName() string { 105 return "ntt.iam.v1" 106 } 107 108 func (d *GetProjectInvitationDescriptor) GetApiName() string { 109 return "ProjectInvitationService" 110 } 111 112 func (d *GetProjectInvitationDescriptor) GetServiceDomain() string { 113 return "iam.edgelq.com" 114 } 115 116 func (d *GetProjectInvitationDescriptor) GetServiceVersion() string { 117 return "v1" 118 } 119 120 func (d *GetProjectInvitationDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor { 121 return projectInvitationServiceDescriptor 122 } 123 124 func (d *GetProjectInvitationDescriptor) GetResourceDescriptor() gotenresource.Descriptor { 125 return project_invitation.GetDescriptor() 126 } 127 128 func (d *GetProjectInvitationDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle { 129 return &GetProjectInvitationDescriptorClientMsgHandle{} 130 } 131 132 func (d *GetProjectInvitationDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle { 133 return &GetProjectInvitationDescriptorServerMsgHandle{} 134 } 135 136 func (h *GetProjectInvitationDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name { 137 typedMsg := msg.(*GetProjectInvitationRequest) 138 var asInterface interface{} = h 139 override, ok := asInterface.(interface { 140 OverrideExtractResourceName(*GetProjectInvitationRequest) *project_invitation.Name 141 }) 142 if ok { 143 return override.OverrideExtractResourceName(typedMsg) 144 } 145 { 146 if name := typedMsg.GetName(); name != nil { 147 return name 148 } 149 } 150 return (*project_invitation.Name)(nil) 151 } 152 153 func (h *GetProjectInvitationDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList { 154 typedMsg := msg.(*GetProjectInvitationRequest) 155 var asInterface interface{} = h 156 override, ok := asInterface.(interface { 157 OverrideExtractResourceNames(*GetProjectInvitationRequest) []*project_invitation.Name 158 }) 159 if ok { 160 return project_invitation.ProjectInvitationNameList(override.OverrideExtractResourceNames(typedMsg)) 161 } 162 return nil 163 } 164 165 func (h *GetProjectInvitationDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name { 166 typedMsg := msg.(*GetProjectInvitationRequest) 167 var asInterface interface{} = h 168 override, ok := asInterface.(interface { 169 OverrideExtractCollectionName(*GetProjectInvitationRequest) *project_invitation.ParentName 170 }) 171 if ok { 172 return override.OverrideExtractCollectionName(typedMsg) 173 } 174 return nil 175 } 176 177 func (h *GetProjectInvitationDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource { 178 typedMsg := msg.(*GetProjectInvitationRequest) 179 var asInterface interface{} = h 180 override, ok := asInterface.(interface { 181 OverrideExtractResourceBody(*GetProjectInvitationRequest) *project_invitation.ProjectInvitation 182 }) 183 if ok { 184 return override.OverrideExtractResourceBody(typedMsg) 185 } 186 return nil 187 } 188 189 func (h *GetProjectInvitationDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList { 190 typedMsg := msg.(*GetProjectInvitationRequest) 191 var asInterface interface{} = h 192 override, ok := asInterface.(interface { 193 OverrideExtractResourceBodies(*GetProjectInvitationRequest) []*project_invitation.ProjectInvitation 194 }) 195 if ok { 196 return project_invitation.ProjectInvitationList(override.OverrideExtractResourceBodies(typedMsg)) 197 } 198 return nil 199 } 200 201 func (h *GetProjectInvitationDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name { 202 typedMsg := msg.(*project_invitation.ProjectInvitation) 203 var asInterface interface{} = h 204 override, ok := asInterface.(interface { 205 OverrideExtractResourceName(*project_invitation.ProjectInvitation) *project_invitation.Name 206 }) 207 if ok { 208 return override.OverrideExtractResourceName(typedMsg) 209 } 210 { 211 if name := typedMsg.GetName(); name != nil { 212 return name 213 } 214 } 215 return (*project_invitation.Name)(nil) 216 } 217 218 func (h *GetProjectInvitationDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList { 219 typedMsg := msg.(*project_invitation.ProjectInvitation) 220 var asInterface interface{} = h 221 override, ok := asInterface.(interface { 222 OverrideExtractResourceNames(*project_invitation.ProjectInvitation) []*project_invitation.Name 223 }) 224 if ok { 225 return project_invitation.ProjectInvitationNameList(override.OverrideExtractResourceNames(typedMsg)) 226 } 227 return nil 228 } 229 230 func (h *GetProjectInvitationDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name { 231 typedMsg := msg.(*project_invitation.ProjectInvitation) 232 var asInterface interface{} = h 233 override, ok := asInterface.(interface { 234 OverrideExtractCollectionName(*project_invitation.ProjectInvitation) *project_invitation.ParentName 235 }) 236 if ok { 237 return override.OverrideExtractCollectionName(typedMsg) 238 } 239 return nil 240 } 241 242 func (h *GetProjectInvitationDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource { 243 return msg.(*project_invitation.ProjectInvitation) 244 } 245 246 func (h *GetProjectInvitationDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList { 247 typedMsg := msg.(*project_invitation.ProjectInvitation) 248 var asInterface interface{} = h 249 override, ok := asInterface.(interface { 250 OverrideExtractResourceBodies(*project_invitation.ProjectInvitation) []*project_invitation.ProjectInvitation 251 }) 252 if ok { 253 return project_invitation.ProjectInvitationList(override.OverrideExtractResourceBodies(typedMsg)) 254 } 255 return nil 256 } 257 258 func GetGetProjectInvitationDescriptor() *GetProjectInvitationDescriptor { 259 return getProjectInvitationDescriptor 260 } 261 262 type BatchGetProjectInvitationsDescriptor struct{} 263 264 type BatchGetProjectInvitationsDescriptorClientMsgHandle struct{} 265 266 type BatchGetProjectInvitationsDescriptorServerMsgHandle struct{} 267 268 func (d *BatchGetProjectInvitationsDescriptor) NewEmptyClientMsg() proto.Message { 269 return &BatchGetProjectInvitationsRequest{} 270 } 271 272 func (d *BatchGetProjectInvitationsDescriptor) NewEmptyServerMsg() proto.Message { 273 return &BatchGetProjectInvitationsResponse{} 274 } 275 276 func (d *BatchGetProjectInvitationsDescriptor) IsUnary() bool { 277 return true 278 } 279 280 func (d *BatchGetProjectInvitationsDescriptor) IsClientStream() bool { 281 return false 282 } 283 284 func (d *BatchGetProjectInvitationsDescriptor) IsServerStream() bool { 285 return false 286 } 287 288 func (d *BatchGetProjectInvitationsDescriptor) IsCollection() bool { 289 return false 290 } 291 292 func (d *BatchGetProjectInvitationsDescriptor) IsPlural() bool { 293 return true 294 } 295 296 func (d *BatchGetProjectInvitationsDescriptor) HasResource() bool { 297 return true 298 } 299 300 func (d *BatchGetProjectInvitationsDescriptor) RequestHasResourceBody() bool { 301 return false 302 } 303 304 func (d *BatchGetProjectInvitationsDescriptor) GetVerb() string { 305 return "batchGet" 306 } 307 308 func (d *BatchGetProjectInvitationsDescriptor) GetMethodName() string { 309 return "BatchGetProjectInvitations" 310 } 311 312 func (d *BatchGetProjectInvitationsDescriptor) GetFullMethodName() string { 313 return "/ntt.iam.v1.ProjectInvitationService/BatchGetProjectInvitations" 314 } 315 316 func (d *BatchGetProjectInvitationsDescriptor) GetProtoPkgName() string { 317 return "ntt.iam.v1" 318 } 319 320 func (d *BatchGetProjectInvitationsDescriptor) GetApiName() string { 321 return "ProjectInvitationService" 322 } 323 324 func (d *BatchGetProjectInvitationsDescriptor) GetServiceDomain() string { 325 return "iam.edgelq.com" 326 } 327 328 func (d *BatchGetProjectInvitationsDescriptor) GetServiceVersion() string { 329 return "v1" 330 } 331 332 func (d *BatchGetProjectInvitationsDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor { 333 return projectInvitationServiceDescriptor 334 } 335 336 func (d *BatchGetProjectInvitationsDescriptor) GetResourceDescriptor() gotenresource.Descriptor { 337 return project_invitation.GetDescriptor() 338 } 339 340 func (d *BatchGetProjectInvitationsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle { 341 return &BatchGetProjectInvitationsDescriptorClientMsgHandle{} 342 } 343 344 func (d *BatchGetProjectInvitationsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle { 345 return &BatchGetProjectInvitationsDescriptorServerMsgHandle{} 346 } 347 348 func (h *BatchGetProjectInvitationsDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name { 349 typedMsg := msg.(*BatchGetProjectInvitationsRequest) 350 var asInterface interface{} = h 351 override, ok := asInterface.(interface { 352 OverrideExtractResourceName(*BatchGetProjectInvitationsRequest) *project_invitation.Name 353 }) 354 if ok { 355 return override.OverrideExtractResourceName(typedMsg) 356 } 357 return nil 358 } 359 360 func (h *BatchGetProjectInvitationsDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList { 361 typedMsg := msg.(*BatchGetProjectInvitationsRequest) 362 var asInterface interface{} = h 363 override, ok := asInterface.(interface { 364 OverrideExtractResourceNames(*BatchGetProjectInvitationsRequest) []*project_invitation.Name 365 }) 366 if ok { 367 return project_invitation.ProjectInvitationNameList(override.OverrideExtractResourceNames(typedMsg)) 368 } 369 { 370 if names := typedMsg.GetNames(); len(names) > 0 { 371 return project_invitation.ProjectInvitationNameList(names) 372 } 373 } 374 return (project_invitation.ProjectInvitationNameList)(nil) 375 } 376 377 func (h *BatchGetProjectInvitationsDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name { 378 typedMsg := msg.(*BatchGetProjectInvitationsRequest) 379 var asInterface interface{} = h 380 override, ok := asInterface.(interface { 381 OverrideExtractCollectionName(*BatchGetProjectInvitationsRequest) *project_invitation.ParentName 382 }) 383 if ok { 384 return override.OverrideExtractCollectionName(typedMsg) 385 } 386 return nil 387 } 388 389 func (h *BatchGetProjectInvitationsDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource { 390 typedMsg := msg.(*BatchGetProjectInvitationsRequest) 391 var asInterface interface{} = h 392 override, ok := asInterface.(interface { 393 OverrideExtractResourceBody(*BatchGetProjectInvitationsRequest) *project_invitation.ProjectInvitation 394 }) 395 if ok { 396 return override.OverrideExtractResourceBody(typedMsg) 397 } 398 return nil 399 } 400 401 func (h *BatchGetProjectInvitationsDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList { 402 typedMsg := msg.(*BatchGetProjectInvitationsRequest) 403 var asInterface interface{} = h 404 override, ok := asInterface.(interface { 405 OverrideExtractResourceBodies(*BatchGetProjectInvitationsRequest) []*project_invitation.ProjectInvitation 406 }) 407 if ok { 408 return project_invitation.ProjectInvitationList(override.OverrideExtractResourceBodies(typedMsg)) 409 } 410 return nil 411 } 412 413 func (h *BatchGetProjectInvitationsDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name { 414 typedMsg := msg.(*BatchGetProjectInvitationsResponse) 415 var asInterface interface{} = h 416 override, ok := asInterface.(interface { 417 OverrideExtractResourceName(*BatchGetProjectInvitationsResponse) *project_invitation.Name 418 }) 419 if ok { 420 return override.OverrideExtractResourceName(typedMsg) 421 } 422 return nil 423 } 424 425 func (h *BatchGetProjectInvitationsDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList { 426 typedMsg := msg.(*BatchGetProjectInvitationsResponse) 427 var asInterface interface{} = h 428 override, ok := asInterface.(interface { 429 OverrideExtractResourceNames(*BatchGetProjectInvitationsResponse) []*project_invitation.Name 430 }) 431 if ok { 432 return project_invitation.ProjectInvitationNameList(override.OverrideExtractResourceNames(typedMsg)) 433 } 434 { 435 if resources := typedMsg.GetProjectInvitations(); len(resources) > 0 { 436 list := make(project_invitation.ProjectInvitationNameList, 0, len(resources)) 437 for _, res := range resources { 438 list = append(list, res.GetName()) 439 } 440 return list 441 } 442 } 443 return (project_invitation.ProjectInvitationNameList)(nil) 444 } 445 446 func (h *BatchGetProjectInvitationsDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name { 447 typedMsg := msg.(*BatchGetProjectInvitationsResponse) 448 var asInterface interface{} = h 449 override, ok := asInterface.(interface { 450 OverrideExtractCollectionName(*BatchGetProjectInvitationsResponse) *project_invitation.ParentName 451 }) 452 if ok { 453 return override.OverrideExtractCollectionName(typedMsg) 454 } 455 return nil 456 } 457 458 func (h *BatchGetProjectInvitationsDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource { 459 typedMsg := msg.(*BatchGetProjectInvitationsResponse) 460 var asInterface interface{} = h 461 override, ok := asInterface.(interface { 462 OverrideExtractResourceBody(*BatchGetProjectInvitationsResponse) *project_invitation.ProjectInvitation 463 }) 464 if ok { 465 return override.OverrideExtractResourceBody(typedMsg) 466 } 467 return nil 468 } 469 470 func (h *BatchGetProjectInvitationsDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList { 471 typedMsg := msg.(*BatchGetProjectInvitationsResponse) 472 var asInterface interface{} = h 473 override, ok := asInterface.(interface { 474 OverrideExtractResourceBodies(*BatchGetProjectInvitationsResponse) []*project_invitation.ProjectInvitation 475 }) 476 if ok { 477 return project_invitation.ProjectInvitationList(override.OverrideExtractResourceBodies(typedMsg)) 478 } 479 { 480 if resources := typedMsg.GetProjectInvitations(); len(resources) > 0 { 481 return project_invitation.ProjectInvitationList(resources) 482 } 483 } 484 return (project_invitation.ProjectInvitationList)(nil) 485 } 486 487 func GetBatchGetProjectInvitationsDescriptor() *BatchGetProjectInvitationsDescriptor { 488 return batchGetProjectInvitationsDescriptor 489 } 490 491 type ListProjectInvitationsDescriptor struct{} 492 493 type ListProjectInvitationsDescriptorClientMsgHandle struct{} 494 495 type ListProjectInvitationsDescriptorServerMsgHandle struct{} 496 497 func (d *ListProjectInvitationsDescriptor) NewEmptyClientMsg() proto.Message { 498 return &ListProjectInvitationsRequest{} 499 } 500 501 func (d *ListProjectInvitationsDescriptor) NewEmptyServerMsg() proto.Message { 502 return &ListProjectInvitationsResponse{} 503 } 504 505 func (d *ListProjectInvitationsDescriptor) IsUnary() bool { 506 return true 507 } 508 509 func (d *ListProjectInvitationsDescriptor) IsClientStream() bool { 510 return false 511 } 512 513 func (d *ListProjectInvitationsDescriptor) IsServerStream() bool { 514 return false 515 } 516 517 func (d *ListProjectInvitationsDescriptor) IsCollection() bool { 518 return true 519 } 520 521 func (d *ListProjectInvitationsDescriptor) IsPlural() bool { 522 return true 523 } 524 525 func (d *ListProjectInvitationsDescriptor) HasResource() bool { 526 return true 527 } 528 529 func (d *ListProjectInvitationsDescriptor) RequestHasResourceBody() bool { 530 return false 531 } 532 533 func (d *ListProjectInvitationsDescriptor) GetVerb() string { 534 return "list" 535 } 536 537 func (d *ListProjectInvitationsDescriptor) GetMethodName() string { 538 return "ListProjectInvitations" 539 } 540 541 func (d *ListProjectInvitationsDescriptor) GetFullMethodName() string { 542 return "/ntt.iam.v1.ProjectInvitationService/ListProjectInvitations" 543 } 544 545 func (d *ListProjectInvitationsDescriptor) GetProtoPkgName() string { 546 return "ntt.iam.v1" 547 } 548 549 func (d *ListProjectInvitationsDescriptor) GetApiName() string { 550 return "ProjectInvitationService" 551 } 552 553 func (d *ListProjectInvitationsDescriptor) GetServiceDomain() string { 554 return "iam.edgelq.com" 555 } 556 557 func (d *ListProjectInvitationsDescriptor) GetServiceVersion() string { 558 return "v1" 559 } 560 561 func (d *ListProjectInvitationsDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor { 562 return projectInvitationServiceDescriptor 563 } 564 565 func (d *ListProjectInvitationsDescriptor) GetResourceDescriptor() gotenresource.Descriptor { 566 return project_invitation.GetDescriptor() 567 } 568 569 func (d *ListProjectInvitationsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle { 570 return &ListProjectInvitationsDescriptorClientMsgHandle{} 571 } 572 573 func (d *ListProjectInvitationsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle { 574 return &ListProjectInvitationsDescriptorServerMsgHandle{} 575 } 576 577 func (h *ListProjectInvitationsDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name { 578 typedMsg := msg.(*ListProjectInvitationsRequest) 579 var asInterface interface{} = h 580 override, ok := asInterface.(interface { 581 OverrideExtractResourceName(*ListProjectInvitationsRequest) *project_invitation.Name 582 }) 583 if ok { 584 return override.OverrideExtractResourceName(typedMsg) 585 } 586 return nil 587 } 588 589 func (h *ListProjectInvitationsDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList { 590 typedMsg := msg.(*ListProjectInvitationsRequest) 591 var asInterface interface{} = h 592 override, ok := asInterface.(interface { 593 OverrideExtractResourceNames(*ListProjectInvitationsRequest) []*project_invitation.Name 594 }) 595 if ok { 596 return project_invitation.ProjectInvitationNameList(override.OverrideExtractResourceNames(typedMsg)) 597 } 598 return nil 599 } 600 601 func (h *ListProjectInvitationsDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name { 602 typedMsg := msg.(*ListProjectInvitationsRequest) 603 var asInterface interface{} = h 604 override, ok := asInterface.(interface { 605 OverrideExtractCollectionName(*ListProjectInvitationsRequest) *project_invitation.ParentName 606 }) 607 if ok { 608 return override.OverrideExtractCollectionName(typedMsg) 609 } 610 { 611 if parentName := typedMsg.GetParent(); parentName != nil { 612 return parentName 613 } 614 } 615 return (*project_invitation.ParentName)(nil) 616 } 617 618 func (h *ListProjectInvitationsDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource { 619 typedMsg := msg.(*ListProjectInvitationsRequest) 620 var asInterface interface{} = h 621 override, ok := asInterface.(interface { 622 OverrideExtractResourceBody(*ListProjectInvitationsRequest) *project_invitation.ProjectInvitation 623 }) 624 if ok { 625 return override.OverrideExtractResourceBody(typedMsg) 626 } 627 return nil 628 } 629 630 func (h *ListProjectInvitationsDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList { 631 typedMsg := msg.(*ListProjectInvitationsRequest) 632 var asInterface interface{} = h 633 override, ok := asInterface.(interface { 634 OverrideExtractResourceBodies(*ListProjectInvitationsRequest) []*project_invitation.ProjectInvitation 635 }) 636 if ok { 637 return project_invitation.ProjectInvitationList(override.OverrideExtractResourceBodies(typedMsg)) 638 } 639 return nil 640 } 641 642 func (h *ListProjectInvitationsDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name { 643 typedMsg := msg.(*ListProjectInvitationsResponse) 644 var asInterface interface{} = h 645 override, ok := asInterface.(interface { 646 OverrideExtractResourceName(*ListProjectInvitationsResponse) *project_invitation.Name 647 }) 648 if ok { 649 return override.OverrideExtractResourceName(typedMsg) 650 } 651 return nil 652 } 653 654 func (h *ListProjectInvitationsDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList { 655 typedMsg := msg.(*ListProjectInvitationsResponse) 656 var asInterface interface{} = h 657 override, ok := asInterface.(interface { 658 OverrideExtractResourceNames(*ListProjectInvitationsResponse) []*project_invitation.Name 659 }) 660 if ok { 661 return project_invitation.ProjectInvitationNameList(override.OverrideExtractResourceNames(typedMsg)) 662 } 663 { 664 if resources := typedMsg.GetProjectInvitations(); len(resources) > 0 { 665 list := make(project_invitation.ProjectInvitationNameList, 0, len(resources)) 666 for _, res := range resources { 667 list = append(list, res.GetName()) 668 } 669 return list 670 } 671 } 672 return (project_invitation.ProjectInvitationNameList)(nil) 673 } 674 675 func (h *ListProjectInvitationsDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name { 676 typedMsg := msg.(*ListProjectInvitationsResponse) 677 var asInterface interface{} = h 678 override, ok := asInterface.(interface { 679 OverrideExtractCollectionName(*ListProjectInvitationsResponse) *project_invitation.ParentName 680 }) 681 if ok { 682 return override.OverrideExtractCollectionName(typedMsg) 683 } 684 return nil 685 } 686 687 func (h *ListProjectInvitationsDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource { 688 typedMsg := msg.(*ListProjectInvitationsResponse) 689 var asInterface interface{} = h 690 override, ok := asInterface.(interface { 691 OverrideExtractResourceBody(*ListProjectInvitationsResponse) *project_invitation.ProjectInvitation 692 }) 693 if ok { 694 return override.OverrideExtractResourceBody(typedMsg) 695 } 696 return nil 697 } 698 699 func (h *ListProjectInvitationsDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList { 700 typedMsg := msg.(*ListProjectInvitationsResponse) 701 var asInterface interface{} = h 702 override, ok := asInterface.(interface { 703 OverrideExtractResourceBodies(*ListProjectInvitationsResponse) []*project_invitation.ProjectInvitation 704 }) 705 if ok { 706 return project_invitation.ProjectInvitationList(override.OverrideExtractResourceBodies(typedMsg)) 707 } 708 { 709 if resources := typedMsg.GetProjectInvitations(); len(resources) > 0 { 710 return project_invitation.ProjectInvitationList(resources) 711 } 712 } 713 return (project_invitation.ProjectInvitationList)(nil) 714 } 715 716 func GetListProjectInvitationsDescriptor() *ListProjectInvitationsDescriptor { 717 return listProjectInvitationsDescriptor 718 } 719 720 type WatchProjectInvitationDescriptor struct{} 721 722 type WatchProjectInvitationDescriptorClientMsgHandle struct{} 723 724 type WatchProjectInvitationDescriptorServerMsgHandle struct{} 725 726 func (d *WatchProjectInvitationDescriptor) NewEmptyClientMsg() proto.Message { 727 return &WatchProjectInvitationRequest{} 728 } 729 730 func (d *WatchProjectInvitationDescriptor) NewEmptyServerMsg() proto.Message { 731 return &WatchProjectInvitationResponse{} 732 } 733 734 func (d *WatchProjectInvitationDescriptor) IsUnary() bool { 735 return false 736 } 737 738 func (d *WatchProjectInvitationDescriptor) IsClientStream() bool { 739 return false 740 } 741 742 func (d *WatchProjectInvitationDescriptor) IsServerStream() bool { 743 return true 744 } 745 746 func (d *WatchProjectInvitationDescriptor) IsCollection() bool { 747 return false 748 } 749 750 func (d *WatchProjectInvitationDescriptor) IsPlural() bool { 751 return false 752 } 753 754 func (d *WatchProjectInvitationDescriptor) HasResource() bool { 755 return true 756 } 757 758 func (d *WatchProjectInvitationDescriptor) RequestHasResourceBody() bool { 759 return false 760 } 761 762 func (d *WatchProjectInvitationDescriptor) GetVerb() string { 763 return "watch" 764 } 765 766 func (d *WatchProjectInvitationDescriptor) GetMethodName() string { 767 return "WatchProjectInvitation" 768 } 769 770 func (d *WatchProjectInvitationDescriptor) GetFullMethodName() string { 771 return "/ntt.iam.v1.ProjectInvitationService/WatchProjectInvitation" 772 } 773 774 func (d *WatchProjectInvitationDescriptor) GetProtoPkgName() string { 775 return "ntt.iam.v1" 776 } 777 778 func (d *WatchProjectInvitationDescriptor) GetApiName() string { 779 return "ProjectInvitationService" 780 } 781 782 func (d *WatchProjectInvitationDescriptor) GetServiceDomain() string { 783 return "iam.edgelq.com" 784 } 785 786 func (d *WatchProjectInvitationDescriptor) GetServiceVersion() string { 787 return "v1" 788 } 789 790 func (d *WatchProjectInvitationDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor { 791 return projectInvitationServiceDescriptor 792 } 793 794 func (d *WatchProjectInvitationDescriptor) GetResourceDescriptor() gotenresource.Descriptor { 795 return project_invitation.GetDescriptor() 796 } 797 798 func (d *WatchProjectInvitationDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle { 799 return &WatchProjectInvitationDescriptorClientMsgHandle{} 800 } 801 802 func (d *WatchProjectInvitationDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle { 803 return &WatchProjectInvitationDescriptorServerMsgHandle{} 804 } 805 806 func (h *WatchProjectInvitationDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name { 807 typedMsg := msg.(*WatchProjectInvitationRequest) 808 var asInterface interface{} = h 809 override, ok := asInterface.(interface { 810 OverrideExtractResourceName(*WatchProjectInvitationRequest) *project_invitation.Name 811 }) 812 if ok { 813 return override.OverrideExtractResourceName(typedMsg) 814 } 815 { 816 if name := typedMsg.GetName(); name != nil { 817 return name 818 } 819 } 820 return (*project_invitation.Name)(nil) 821 } 822 823 func (h *WatchProjectInvitationDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList { 824 typedMsg := msg.(*WatchProjectInvitationRequest) 825 var asInterface interface{} = h 826 override, ok := asInterface.(interface { 827 OverrideExtractResourceNames(*WatchProjectInvitationRequest) []*project_invitation.Name 828 }) 829 if ok { 830 return project_invitation.ProjectInvitationNameList(override.OverrideExtractResourceNames(typedMsg)) 831 } 832 return nil 833 } 834 835 func (h *WatchProjectInvitationDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name { 836 typedMsg := msg.(*WatchProjectInvitationRequest) 837 var asInterface interface{} = h 838 override, ok := asInterface.(interface { 839 OverrideExtractCollectionName(*WatchProjectInvitationRequest) *project_invitation.ParentName 840 }) 841 if ok { 842 return override.OverrideExtractCollectionName(typedMsg) 843 } 844 return nil 845 } 846 847 func (h *WatchProjectInvitationDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource { 848 typedMsg := msg.(*WatchProjectInvitationRequest) 849 var asInterface interface{} = h 850 override, ok := asInterface.(interface { 851 OverrideExtractResourceBody(*WatchProjectInvitationRequest) *project_invitation.ProjectInvitation 852 }) 853 if ok { 854 return override.OverrideExtractResourceBody(typedMsg) 855 } 856 return nil 857 } 858 859 func (h *WatchProjectInvitationDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList { 860 typedMsg := msg.(*WatchProjectInvitationRequest) 861 var asInterface interface{} = h 862 override, ok := asInterface.(interface { 863 OverrideExtractResourceBodies(*WatchProjectInvitationRequest) []*project_invitation.ProjectInvitation 864 }) 865 if ok { 866 return project_invitation.ProjectInvitationList(override.OverrideExtractResourceBodies(typedMsg)) 867 } 868 return nil 869 } 870 871 func (h *WatchProjectInvitationDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name { 872 typedMsg := msg.(*WatchProjectInvitationResponse) 873 var asInterface interface{} = h 874 override, ok := asInterface.(interface { 875 OverrideExtractResourceName(*WatchProjectInvitationResponse) *project_invitation.Name 876 }) 877 if ok { 878 return override.OverrideExtractResourceName(typedMsg) 879 } 880 { 881 if resChange := typedMsg.GetChange(); resChange != nil { 882 switch tResChange := resChange.ChangeType.(type) { 883 case *project_invitation.ProjectInvitationChange_Added_: 884 return tResChange.Added.GetProjectInvitation().GetName() 885 case *project_invitation.ProjectInvitationChange_Modified_: 886 return tResChange.Modified.GetName() 887 case *project_invitation.ProjectInvitationChange_Removed_: 888 return tResChange.Removed.GetName() 889 case *project_invitation.ProjectInvitationChange_Current_: 890 return tResChange.Current.GetProjectInvitation().GetName() 891 } 892 } 893 } 894 return (*project_invitation.Name)(nil) 895 } 896 897 func (h *WatchProjectInvitationDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList { 898 typedMsg := msg.(*WatchProjectInvitationResponse) 899 var asInterface interface{} = h 900 override, ok := asInterface.(interface { 901 OverrideExtractResourceNames(*WatchProjectInvitationResponse) []*project_invitation.Name 902 }) 903 if ok { 904 return project_invitation.ProjectInvitationNameList(override.OverrideExtractResourceNames(typedMsg)) 905 } 906 return nil 907 } 908 909 func (h *WatchProjectInvitationDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name { 910 typedMsg := msg.(*WatchProjectInvitationResponse) 911 var asInterface interface{} = h 912 override, ok := asInterface.(interface { 913 OverrideExtractCollectionName(*WatchProjectInvitationResponse) *project_invitation.ParentName 914 }) 915 if ok { 916 return override.OverrideExtractCollectionName(typedMsg) 917 } 918 return nil 919 } 920 921 func (h *WatchProjectInvitationDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource { 922 typedMsg := msg.(*WatchProjectInvitationResponse) 923 var asInterface interface{} = h 924 override, ok := asInterface.(interface { 925 OverrideExtractResourceBody(*WatchProjectInvitationResponse) *project_invitation.ProjectInvitation 926 }) 927 if ok { 928 return override.OverrideExtractResourceBody(typedMsg) 929 } 930 { 931 if resChange := typedMsg.GetChange(); resChange != nil { 932 switch tResChange := resChange.ChangeType.(type) { 933 case *project_invitation.ProjectInvitationChange_Added_: 934 return tResChange.Added.GetProjectInvitation() 935 case *project_invitation.ProjectInvitationChange_Modified_: 936 return tResChange.Modified.GetProjectInvitation() 937 case *project_invitation.ProjectInvitationChange_Current_: 938 return tResChange.Current.GetProjectInvitation() 939 } 940 } 941 } 942 return (*project_invitation.ProjectInvitation)(nil) 943 } 944 945 func (h *WatchProjectInvitationDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList { 946 typedMsg := msg.(*WatchProjectInvitationResponse) 947 var asInterface interface{} = h 948 override, ok := asInterface.(interface { 949 OverrideExtractResourceBodies(*WatchProjectInvitationResponse) []*project_invitation.ProjectInvitation 950 }) 951 if ok { 952 return project_invitation.ProjectInvitationList(override.OverrideExtractResourceBodies(typedMsg)) 953 } 954 return nil 955 } 956 957 func GetWatchProjectInvitationDescriptor() *WatchProjectInvitationDescriptor { 958 return watchProjectInvitationDescriptor 959 } 960 961 type WatchProjectInvitationsDescriptor struct{} 962 963 type WatchProjectInvitationsDescriptorClientMsgHandle struct{} 964 965 type WatchProjectInvitationsDescriptorServerMsgHandle struct{} 966 967 func (d *WatchProjectInvitationsDescriptor) NewEmptyClientMsg() proto.Message { 968 return &WatchProjectInvitationsRequest{} 969 } 970 971 func (d *WatchProjectInvitationsDescriptor) NewEmptyServerMsg() proto.Message { 972 return &WatchProjectInvitationsResponse{} 973 } 974 975 func (d *WatchProjectInvitationsDescriptor) IsUnary() bool { 976 return false 977 } 978 979 func (d *WatchProjectInvitationsDescriptor) IsClientStream() bool { 980 return false 981 } 982 983 func (d *WatchProjectInvitationsDescriptor) IsServerStream() bool { 984 return true 985 } 986 987 func (d *WatchProjectInvitationsDescriptor) IsCollection() bool { 988 return true 989 } 990 991 func (d *WatchProjectInvitationsDescriptor) IsPlural() bool { 992 return true 993 } 994 995 func (d *WatchProjectInvitationsDescriptor) HasResource() bool { 996 return true 997 } 998 999 func (d *WatchProjectInvitationsDescriptor) RequestHasResourceBody() bool { 1000 return false 1001 } 1002 1003 func (d *WatchProjectInvitationsDescriptor) GetVerb() string { 1004 return "watch" 1005 } 1006 1007 func (d *WatchProjectInvitationsDescriptor) GetMethodName() string { 1008 return "WatchProjectInvitations" 1009 } 1010 1011 func (d *WatchProjectInvitationsDescriptor) GetFullMethodName() string { 1012 return "/ntt.iam.v1.ProjectInvitationService/WatchProjectInvitations" 1013 } 1014 1015 func (d *WatchProjectInvitationsDescriptor) GetProtoPkgName() string { 1016 return "ntt.iam.v1" 1017 } 1018 1019 func (d *WatchProjectInvitationsDescriptor) GetApiName() string { 1020 return "ProjectInvitationService" 1021 } 1022 1023 func (d *WatchProjectInvitationsDescriptor) GetServiceDomain() string { 1024 return "iam.edgelq.com" 1025 } 1026 1027 func (d *WatchProjectInvitationsDescriptor) GetServiceVersion() string { 1028 return "v1" 1029 } 1030 1031 func (d *WatchProjectInvitationsDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor { 1032 return projectInvitationServiceDescriptor 1033 } 1034 1035 func (d *WatchProjectInvitationsDescriptor) GetResourceDescriptor() gotenresource.Descriptor { 1036 return project_invitation.GetDescriptor() 1037 } 1038 1039 func (d *WatchProjectInvitationsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle { 1040 return &WatchProjectInvitationsDescriptorClientMsgHandle{} 1041 } 1042 1043 func (d *WatchProjectInvitationsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle { 1044 return &WatchProjectInvitationsDescriptorServerMsgHandle{} 1045 } 1046 1047 func (h *WatchProjectInvitationsDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name { 1048 typedMsg := msg.(*WatchProjectInvitationsRequest) 1049 var asInterface interface{} = h 1050 override, ok := asInterface.(interface { 1051 OverrideExtractResourceName(*WatchProjectInvitationsRequest) *project_invitation.Name 1052 }) 1053 if ok { 1054 return override.OverrideExtractResourceName(typedMsg) 1055 } 1056 return nil 1057 } 1058 1059 func (h *WatchProjectInvitationsDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList { 1060 typedMsg := msg.(*WatchProjectInvitationsRequest) 1061 var asInterface interface{} = h 1062 override, ok := asInterface.(interface { 1063 OverrideExtractResourceNames(*WatchProjectInvitationsRequest) []*project_invitation.Name 1064 }) 1065 if ok { 1066 return project_invitation.ProjectInvitationNameList(override.OverrideExtractResourceNames(typedMsg)) 1067 } 1068 return nil 1069 } 1070 1071 func (h *WatchProjectInvitationsDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name { 1072 typedMsg := msg.(*WatchProjectInvitationsRequest) 1073 var asInterface interface{} = h 1074 override, ok := asInterface.(interface { 1075 OverrideExtractCollectionName(*WatchProjectInvitationsRequest) *project_invitation.ParentName 1076 }) 1077 if ok { 1078 return override.OverrideExtractCollectionName(typedMsg) 1079 } 1080 { 1081 if parentName := typedMsg.GetParent(); parentName != nil { 1082 return parentName 1083 } 1084 } 1085 return (*project_invitation.ParentName)(nil) 1086 } 1087 1088 func (h *WatchProjectInvitationsDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource { 1089 typedMsg := msg.(*WatchProjectInvitationsRequest) 1090 var asInterface interface{} = h 1091 override, ok := asInterface.(interface { 1092 OverrideExtractResourceBody(*WatchProjectInvitationsRequest) *project_invitation.ProjectInvitation 1093 }) 1094 if ok { 1095 return override.OverrideExtractResourceBody(typedMsg) 1096 } 1097 return nil 1098 } 1099 1100 func (h *WatchProjectInvitationsDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList { 1101 typedMsg := msg.(*WatchProjectInvitationsRequest) 1102 var asInterface interface{} = h 1103 override, ok := asInterface.(interface { 1104 OverrideExtractResourceBodies(*WatchProjectInvitationsRequest) []*project_invitation.ProjectInvitation 1105 }) 1106 if ok { 1107 return project_invitation.ProjectInvitationList(override.OverrideExtractResourceBodies(typedMsg)) 1108 } 1109 return nil 1110 } 1111 1112 func (h *WatchProjectInvitationsDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name { 1113 typedMsg := msg.(*WatchProjectInvitationsResponse) 1114 var asInterface interface{} = h 1115 override, ok := asInterface.(interface { 1116 OverrideExtractResourceName(*WatchProjectInvitationsResponse) *project_invitation.Name 1117 }) 1118 if ok { 1119 return override.OverrideExtractResourceName(typedMsg) 1120 } 1121 return nil 1122 } 1123 1124 func (h *WatchProjectInvitationsDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList { 1125 typedMsg := msg.(*WatchProjectInvitationsResponse) 1126 var asInterface interface{} = h 1127 override, ok := asInterface.(interface { 1128 OverrideExtractResourceNames(*WatchProjectInvitationsResponse) []*project_invitation.Name 1129 }) 1130 if ok { 1131 return project_invitation.ProjectInvitationNameList(override.OverrideExtractResourceNames(typedMsg)) 1132 } 1133 { 1134 if resChanges := typedMsg.GetProjectInvitationChanges(); len(resChanges) > 0 { 1135 list := make(project_invitation.ProjectInvitationNameList, 0, len(resChanges)) 1136 for _, resChange := range resChanges { 1137 switch tResChange := resChange.ChangeType.(type) { 1138 case *project_invitation.ProjectInvitationChange_Added_: 1139 list = append(list, tResChange.Added.GetProjectInvitation().GetName()) 1140 case *project_invitation.ProjectInvitationChange_Modified_: 1141 list = append(list, tResChange.Modified.GetName()) 1142 case *project_invitation.ProjectInvitationChange_Removed_: 1143 list = append(list, tResChange.Removed.GetName()) 1144 case *project_invitation.ProjectInvitationChange_Current_: 1145 list = append(list, tResChange.Current.GetProjectInvitation().GetName()) 1146 } 1147 } 1148 return list 1149 } 1150 } 1151 return (project_invitation.ProjectInvitationNameList)(nil) 1152 } 1153 1154 func (h *WatchProjectInvitationsDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name { 1155 typedMsg := msg.(*WatchProjectInvitationsResponse) 1156 var asInterface interface{} = h 1157 override, ok := asInterface.(interface { 1158 OverrideExtractCollectionName(*WatchProjectInvitationsResponse) *project_invitation.ParentName 1159 }) 1160 if ok { 1161 return override.OverrideExtractCollectionName(typedMsg) 1162 } 1163 return nil 1164 } 1165 1166 func (h *WatchProjectInvitationsDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource { 1167 typedMsg := msg.(*WatchProjectInvitationsResponse) 1168 var asInterface interface{} = h 1169 override, ok := asInterface.(interface { 1170 OverrideExtractResourceBody(*WatchProjectInvitationsResponse) *project_invitation.ProjectInvitation 1171 }) 1172 if ok { 1173 return override.OverrideExtractResourceBody(typedMsg) 1174 } 1175 return nil 1176 } 1177 1178 func (h *WatchProjectInvitationsDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList { 1179 typedMsg := msg.(*WatchProjectInvitationsResponse) 1180 var asInterface interface{} = h 1181 override, ok := asInterface.(interface { 1182 OverrideExtractResourceBodies(*WatchProjectInvitationsResponse) []*project_invitation.ProjectInvitation 1183 }) 1184 if ok { 1185 return project_invitation.ProjectInvitationList(override.OverrideExtractResourceBodies(typedMsg)) 1186 } 1187 { 1188 if resChanges := typedMsg.GetProjectInvitationChanges(); len(resChanges) > 0 { 1189 list := make(project_invitation.ProjectInvitationList, 0, len(resChanges)) 1190 for _, resChange := range resChanges { 1191 switch tResChange := resChange.ChangeType.(type) { 1192 case *project_invitation.ProjectInvitationChange_Added_: 1193 list = append(list, tResChange.Added.GetProjectInvitation()) 1194 case *project_invitation.ProjectInvitationChange_Modified_: 1195 list = append(list, tResChange.Modified.GetProjectInvitation()) 1196 case *project_invitation.ProjectInvitationChange_Current_: 1197 list = append(list, tResChange.Current.GetProjectInvitation()) 1198 } 1199 } 1200 return list 1201 } 1202 } 1203 return (project_invitation.ProjectInvitationList)(nil) 1204 } 1205 1206 func GetWatchProjectInvitationsDescriptor() *WatchProjectInvitationsDescriptor { 1207 return watchProjectInvitationsDescriptor 1208 } 1209 1210 type CreateProjectInvitationDescriptor struct{} 1211 1212 type CreateProjectInvitationDescriptorClientMsgHandle struct{} 1213 1214 type CreateProjectInvitationDescriptorServerMsgHandle struct{} 1215 1216 func (d *CreateProjectInvitationDescriptor) NewEmptyClientMsg() proto.Message { 1217 return &CreateProjectInvitationRequest{} 1218 } 1219 1220 func (d *CreateProjectInvitationDescriptor) NewEmptyServerMsg() proto.Message { 1221 return &project_invitation.ProjectInvitation{} 1222 } 1223 1224 func (d *CreateProjectInvitationDescriptor) IsUnary() bool { 1225 return true 1226 } 1227 1228 func (d *CreateProjectInvitationDescriptor) IsClientStream() bool { 1229 return false 1230 } 1231 1232 func (d *CreateProjectInvitationDescriptor) IsServerStream() bool { 1233 return false 1234 } 1235 1236 func (d *CreateProjectInvitationDescriptor) IsCollection() bool { 1237 return true 1238 } 1239 1240 func (d *CreateProjectInvitationDescriptor) IsPlural() bool { 1241 return false 1242 } 1243 1244 func (d *CreateProjectInvitationDescriptor) HasResource() bool { 1245 return true 1246 } 1247 1248 func (d *CreateProjectInvitationDescriptor) RequestHasResourceBody() bool { 1249 return true 1250 } 1251 1252 func (d *CreateProjectInvitationDescriptor) GetVerb() string { 1253 return "create" 1254 } 1255 1256 func (d *CreateProjectInvitationDescriptor) GetMethodName() string { 1257 return "CreateProjectInvitation" 1258 } 1259 1260 func (d *CreateProjectInvitationDescriptor) GetFullMethodName() string { 1261 return "/ntt.iam.v1.ProjectInvitationService/CreateProjectInvitation" 1262 } 1263 1264 func (d *CreateProjectInvitationDescriptor) GetProtoPkgName() string { 1265 return "ntt.iam.v1" 1266 } 1267 1268 func (d *CreateProjectInvitationDescriptor) GetApiName() string { 1269 return "ProjectInvitationService" 1270 } 1271 1272 func (d *CreateProjectInvitationDescriptor) GetServiceDomain() string { 1273 return "iam.edgelq.com" 1274 } 1275 1276 func (d *CreateProjectInvitationDescriptor) GetServiceVersion() string { 1277 return "v1" 1278 } 1279 1280 func (d *CreateProjectInvitationDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor { 1281 return projectInvitationServiceDescriptor 1282 } 1283 1284 func (d *CreateProjectInvitationDescriptor) GetResourceDescriptor() gotenresource.Descriptor { 1285 return project_invitation.GetDescriptor() 1286 } 1287 1288 func (d *CreateProjectInvitationDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle { 1289 return &CreateProjectInvitationDescriptorClientMsgHandle{} 1290 } 1291 1292 func (d *CreateProjectInvitationDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle { 1293 return &CreateProjectInvitationDescriptorServerMsgHandle{} 1294 } 1295 1296 func (h *CreateProjectInvitationDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name { 1297 typedMsg := msg.(*CreateProjectInvitationRequest) 1298 var asInterface interface{} = h 1299 override, ok := asInterface.(interface { 1300 OverrideExtractResourceName(*CreateProjectInvitationRequest) *project_invitation.Name 1301 }) 1302 if ok { 1303 return override.OverrideExtractResourceName(typedMsg) 1304 } 1305 { 1306 res := typedMsg.GetProjectInvitation() 1307 if name := res.GetName(); name != nil { 1308 return name 1309 } 1310 } 1311 return (*project_invitation.Name)(nil) 1312 } 1313 1314 func (h *CreateProjectInvitationDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList { 1315 typedMsg := msg.(*CreateProjectInvitationRequest) 1316 var asInterface interface{} = h 1317 override, ok := asInterface.(interface { 1318 OverrideExtractResourceNames(*CreateProjectInvitationRequest) []*project_invitation.Name 1319 }) 1320 if ok { 1321 return project_invitation.ProjectInvitationNameList(override.OverrideExtractResourceNames(typedMsg)) 1322 } 1323 return nil 1324 } 1325 1326 func (h *CreateProjectInvitationDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name { 1327 typedMsg := msg.(*CreateProjectInvitationRequest) 1328 var asInterface interface{} = h 1329 override, ok := asInterface.(interface { 1330 OverrideExtractCollectionName(*CreateProjectInvitationRequest) *project_invitation.ParentName 1331 }) 1332 if ok { 1333 return override.OverrideExtractCollectionName(typedMsg) 1334 } 1335 { 1336 if parentName := typedMsg.GetParent(); parentName != nil { 1337 return parentName 1338 } 1339 } 1340 return (*project_invitation.ParentName)(nil) 1341 } 1342 1343 func (h *CreateProjectInvitationDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource { 1344 typedMsg := msg.(*CreateProjectInvitationRequest) 1345 var asInterface interface{} = h 1346 override, ok := asInterface.(interface { 1347 OverrideExtractResourceBody(*CreateProjectInvitationRequest) *project_invitation.ProjectInvitation 1348 }) 1349 if ok { 1350 return override.OverrideExtractResourceBody(typedMsg) 1351 } 1352 { 1353 return typedMsg.GetProjectInvitation() 1354 } 1355 return (*project_invitation.ProjectInvitation)(nil) 1356 } 1357 1358 func (h *CreateProjectInvitationDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList { 1359 typedMsg := msg.(*CreateProjectInvitationRequest) 1360 var asInterface interface{} = h 1361 override, ok := asInterface.(interface { 1362 OverrideExtractResourceBodies(*CreateProjectInvitationRequest) []*project_invitation.ProjectInvitation 1363 }) 1364 if ok { 1365 return project_invitation.ProjectInvitationList(override.OverrideExtractResourceBodies(typedMsg)) 1366 } 1367 return nil 1368 } 1369 1370 func (h *CreateProjectInvitationDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name { 1371 typedMsg := msg.(*project_invitation.ProjectInvitation) 1372 var asInterface interface{} = h 1373 override, ok := asInterface.(interface { 1374 OverrideExtractResourceName(*project_invitation.ProjectInvitation) *project_invitation.Name 1375 }) 1376 if ok { 1377 return override.OverrideExtractResourceName(typedMsg) 1378 } 1379 { 1380 if name := typedMsg.GetName(); name != nil { 1381 return name 1382 } 1383 } 1384 return (*project_invitation.Name)(nil) 1385 } 1386 1387 func (h *CreateProjectInvitationDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList { 1388 typedMsg := msg.(*project_invitation.ProjectInvitation) 1389 var asInterface interface{} = h 1390 override, ok := asInterface.(interface { 1391 OverrideExtractResourceNames(*project_invitation.ProjectInvitation) []*project_invitation.Name 1392 }) 1393 if ok { 1394 return project_invitation.ProjectInvitationNameList(override.OverrideExtractResourceNames(typedMsg)) 1395 } 1396 return nil 1397 } 1398 1399 func (h *CreateProjectInvitationDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name { 1400 typedMsg := msg.(*project_invitation.ProjectInvitation) 1401 var asInterface interface{} = h 1402 override, ok := asInterface.(interface { 1403 OverrideExtractCollectionName(*project_invitation.ProjectInvitation) *project_invitation.ParentName 1404 }) 1405 if ok { 1406 return override.OverrideExtractCollectionName(typedMsg) 1407 } 1408 return nil 1409 } 1410 1411 func (h *CreateProjectInvitationDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource { 1412 return msg.(*project_invitation.ProjectInvitation) 1413 } 1414 1415 func (h *CreateProjectInvitationDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList { 1416 typedMsg := msg.(*project_invitation.ProjectInvitation) 1417 var asInterface interface{} = h 1418 override, ok := asInterface.(interface { 1419 OverrideExtractResourceBodies(*project_invitation.ProjectInvitation) []*project_invitation.ProjectInvitation 1420 }) 1421 if ok { 1422 return project_invitation.ProjectInvitationList(override.OverrideExtractResourceBodies(typedMsg)) 1423 } 1424 return nil 1425 } 1426 1427 func GetCreateProjectInvitationDescriptor() *CreateProjectInvitationDescriptor { 1428 return createProjectInvitationDescriptor 1429 } 1430 1431 type UpdateProjectInvitationDescriptor struct{} 1432 1433 type UpdateProjectInvitationDescriptorClientMsgHandle struct{} 1434 1435 type UpdateProjectInvitationDescriptorServerMsgHandle struct{} 1436 1437 func (d *UpdateProjectInvitationDescriptor) NewEmptyClientMsg() proto.Message { 1438 return &UpdateProjectInvitationRequest{} 1439 } 1440 1441 func (d *UpdateProjectInvitationDescriptor) NewEmptyServerMsg() proto.Message { 1442 return &project_invitation.ProjectInvitation{} 1443 } 1444 1445 func (d *UpdateProjectInvitationDescriptor) IsUnary() bool { 1446 return true 1447 } 1448 1449 func (d *UpdateProjectInvitationDescriptor) IsClientStream() bool { 1450 return false 1451 } 1452 1453 func (d *UpdateProjectInvitationDescriptor) IsServerStream() bool { 1454 return false 1455 } 1456 1457 func (d *UpdateProjectInvitationDescriptor) IsCollection() bool { 1458 return false 1459 } 1460 1461 func (d *UpdateProjectInvitationDescriptor) IsPlural() bool { 1462 return false 1463 } 1464 1465 func (d *UpdateProjectInvitationDescriptor) HasResource() bool { 1466 return true 1467 } 1468 1469 func (d *UpdateProjectInvitationDescriptor) RequestHasResourceBody() bool { 1470 return true 1471 } 1472 1473 func (d *UpdateProjectInvitationDescriptor) GetVerb() string { 1474 return "update" 1475 } 1476 1477 func (d *UpdateProjectInvitationDescriptor) GetMethodName() string { 1478 return "UpdateProjectInvitation" 1479 } 1480 1481 func (d *UpdateProjectInvitationDescriptor) GetFullMethodName() string { 1482 return "/ntt.iam.v1.ProjectInvitationService/UpdateProjectInvitation" 1483 } 1484 1485 func (d *UpdateProjectInvitationDescriptor) GetProtoPkgName() string { 1486 return "ntt.iam.v1" 1487 } 1488 1489 func (d *UpdateProjectInvitationDescriptor) GetApiName() string { 1490 return "ProjectInvitationService" 1491 } 1492 1493 func (d *UpdateProjectInvitationDescriptor) GetServiceDomain() string { 1494 return "iam.edgelq.com" 1495 } 1496 1497 func (d *UpdateProjectInvitationDescriptor) GetServiceVersion() string { 1498 return "v1" 1499 } 1500 1501 func (d *UpdateProjectInvitationDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor { 1502 return projectInvitationServiceDescriptor 1503 } 1504 1505 func (d *UpdateProjectInvitationDescriptor) GetResourceDescriptor() gotenresource.Descriptor { 1506 return project_invitation.GetDescriptor() 1507 } 1508 1509 func (d *UpdateProjectInvitationDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle { 1510 return &UpdateProjectInvitationDescriptorClientMsgHandle{} 1511 } 1512 1513 func (d *UpdateProjectInvitationDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle { 1514 return &UpdateProjectInvitationDescriptorServerMsgHandle{} 1515 } 1516 1517 func (h *UpdateProjectInvitationDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name { 1518 typedMsg := msg.(*UpdateProjectInvitationRequest) 1519 var asInterface interface{} = h 1520 override, ok := asInterface.(interface { 1521 OverrideExtractResourceName(*UpdateProjectInvitationRequest) *project_invitation.Name 1522 }) 1523 if ok { 1524 return override.OverrideExtractResourceName(typedMsg) 1525 } 1526 { 1527 res := typedMsg.GetProjectInvitation() 1528 if name := res.GetName(); name != nil { 1529 return name 1530 } 1531 } 1532 return (*project_invitation.Name)(nil) 1533 } 1534 1535 func (h *UpdateProjectInvitationDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList { 1536 typedMsg := msg.(*UpdateProjectInvitationRequest) 1537 var asInterface interface{} = h 1538 override, ok := asInterface.(interface { 1539 OverrideExtractResourceNames(*UpdateProjectInvitationRequest) []*project_invitation.Name 1540 }) 1541 if ok { 1542 return project_invitation.ProjectInvitationNameList(override.OverrideExtractResourceNames(typedMsg)) 1543 } 1544 return nil 1545 } 1546 1547 func (h *UpdateProjectInvitationDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name { 1548 typedMsg := msg.(*UpdateProjectInvitationRequest) 1549 var asInterface interface{} = h 1550 override, ok := asInterface.(interface { 1551 OverrideExtractCollectionName(*UpdateProjectInvitationRequest) *project_invitation.ParentName 1552 }) 1553 if ok { 1554 return override.OverrideExtractCollectionName(typedMsg) 1555 } 1556 return nil 1557 } 1558 1559 func (h *UpdateProjectInvitationDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource { 1560 typedMsg := msg.(*UpdateProjectInvitationRequest) 1561 var asInterface interface{} = h 1562 override, ok := asInterface.(interface { 1563 OverrideExtractResourceBody(*UpdateProjectInvitationRequest) *project_invitation.ProjectInvitation 1564 }) 1565 if ok { 1566 return override.OverrideExtractResourceBody(typedMsg) 1567 } 1568 { 1569 return typedMsg.GetProjectInvitation() 1570 } 1571 return (*project_invitation.ProjectInvitation)(nil) 1572 } 1573 1574 func (h *UpdateProjectInvitationDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList { 1575 typedMsg := msg.(*UpdateProjectInvitationRequest) 1576 var asInterface interface{} = h 1577 override, ok := asInterface.(interface { 1578 OverrideExtractResourceBodies(*UpdateProjectInvitationRequest) []*project_invitation.ProjectInvitation 1579 }) 1580 if ok { 1581 return project_invitation.ProjectInvitationList(override.OverrideExtractResourceBodies(typedMsg)) 1582 } 1583 return nil 1584 } 1585 1586 func (h *UpdateProjectInvitationDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name { 1587 typedMsg := msg.(*project_invitation.ProjectInvitation) 1588 var asInterface interface{} = h 1589 override, ok := asInterface.(interface { 1590 OverrideExtractResourceName(*project_invitation.ProjectInvitation) *project_invitation.Name 1591 }) 1592 if ok { 1593 return override.OverrideExtractResourceName(typedMsg) 1594 } 1595 { 1596 if name := typedMsg.GetName(); name != nil { 1597 return name 1598 } 1599 } 1600 return (*project_invitation.Name)(nil) 1601 } 1602 1603 func (h *UpdateProjectInvitationDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList { 1604 typedMsg := msg.(*project_invitation.ProjectInvitation) 1605 var asInterface interface{} = h 1606 override, ok := asInterface.(interface { 1607 OverrideExtractResourceNames(*project_invitation.ProjectInvitation) []*project_invitation.Name 1608 }) 1609 if ok { 1610 return project_invitation.ProjectInvitationNameList(override.OverrideExtractResourceNames(typedMsg)) 1611 } 1612 return nil 1613 } 1614 1615 func (h *UpdateProjectInvitationDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name { 1616 typedMsg := msg.(*project_invitation.ProjectInvitation) 1617 var asInterface interface{} = h 1618 override, ok := asInterface.(interface { 1619 OverrideExtractCollectionName(*project_invitation.ProjectInvitation) *project_invitation.ParentName 1620 }) 1621 if ok { 1622 return override.OverrideExtractCollectionName(typedMsg) 1623 } 1624 return nil 1625 } 1626 1627 func (h *UpdateProjectInvitationDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource { 1628 return msg.(*project_invitation.ProjectInvitation) 1629 } 1630 1631 func (h *UpdateProjectInvitationDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList { 1632 typedMsg := msg.(*project_invitation.ProjectInvitation) 1633 var asInterface interface{} = h 1634 override, ok := asInterface.(interface { 1635 OverrideExtractResourceBodies(*project_invitation.ProjectInvitation) []*project_invitation.ProjectInvitation 1636 }) 1637 if ok { 1638 return project_invitation.ProjectInvitationList(override.OverrideExtractResourceBodies(typedMsg)) 1639 } 1640 return nil 1641 } 1642 1643 func GetUpdateProjectInvitationDescriptor() *UpdateProjectInvitationDescriptor { 1644 return updateProjectInvitationDescriptor 1645 } 1646 1647 type DeleteProjectInvitationDescriptor struct{} 1648 1649 type DeleteProjectInvitationDescriptorClientMsgHandle struct{} 1650 1651 type DeleteProjectInvitationDescriptorServerMsgHandle struct{} 1652 1653 func (d *DeleteProjectInvitationDescriptor) NewEmptyClientMsg() proto.Message { 1654 return &DeleteProjectInvitationRequest{} 1655 } 1656 1657 func (d *DeleteProjectInvitationDescriptor) NewEmptyServerMsg() proto.Message { 1658 return &emptypb.Empty{} 1659 } 1660 1661 func (d *DeleteProjectInvitationDescriptor) IsUnary() bool { 1662 return true 1663 } 1664 1665 func (d *DeleteProjectInvitationDescriptor) IsClientStream() bool { 1666 return false 1667 } 1668 1669 func (d *DeleteProjectInvitationDescriptor) IsServerStream() bool { 1670 return false 1671 } 1672 1673 func (d *DeleteProjectInvitationDescriptor) IsCollection() bool { 1674 return false 1675 } 1676 1677 func (d *DeleteProjectInvitationDescriptor) IsPlural() bool { 1678 return false 1679 } 1680 1681 func (d *DeleteProjectInvitationDescriptor) HasResource() bool { 1682 return true 1683 } 1684 1685 func (d *DeleteProjectInvitationDescriptor) RequestHasResourceBody() bool { 1686 return false 1687 } 1688 1689 func (d *DeleteProjectInvitationDescriptor) GetVerb() string { 1690 return "delete" 1691 } 1692 1693 func (d *DeleteProjectInvitationDescriptor) GetMethodName() string { 1694 return "DeleteProjectInvitation" 1695 } 1696 1697 func (d *DeleteProjectInvitationDescriptor) GetFullMethodName() string { 1698 return "/ntt.iam.v1.ProjectInvitationService/DeleteProjectInvitation" 1699 } 1700 1701 func (d *DeleteProjectInvitationDescriptor) GetProtoPkgName() string { 1702 return "ntt.iam.v1" 1703 } 1704 1705 func (d *DeleteProjectInvitationDescriptor) GetApiName() string { 1706 return "ProjectInvitationService" 1707 } 1708 1709 func (d *DeleteProjectInvitationDescriptor) GetServiceDomain() string { 1710 return "iam.edgelq.com" 1711 } 1712 1713 func (d *DeleteProjectInvitationDescriptor) GetServiceVersion() string { 1714 return "v1" 1715 } 1716 1717 func (d *DeleteProjectInvitationDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor { 1718 return projectInvitationServiceDescriptor 1719 } 1720 1721 func (d *DeleteProjectInvitationDescriptor) GetResourceDescriptor() gotenresource.Descriptor { 1722 return project_invitation.GetDescriptor() 1723 } 1724 1725 func (d *DeleteProjectInvitationDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle { 1726 return &DeleteProjectInvitationDescriptorClientMsgHandle{} 1727 } 1728 1729 func (d *DeleteProjectInvitationDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle { 1730 return &DeleteProjectInvitationDescriptorServerMsgHandle{} 1731 } 1732 1733 func (h *DeleteProjectInvitationDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name { 1734 typedMsg := msg.(*DeleteProjectInvitationRequest) 1735 var asInterface interface{} = h 1736 override, ok := asInterface.(interface { 1737 OverrideExtractResourceName(*DeleteProjectInvitationRequest) *project_invitation.Name 1738 }) 1739 if ok { 1740 return override.OverrideExtractResourceName(typedMsg) 1741 } 1742 { 1743 if name := typedMsg.GetName(); name != nil { 1744 return name 1745 } 1746 } 1747 return (*project_invitation.Name)(nil) 1748 } 1749 1750 func (h *DeleteProjectInvitationDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList { 1751 typedMsg := msg.(*DeleteProjectInvitationRequest) 1752 var asInterface interface{} = h 1753 override, ok := asInterface.(interface { 1754 OverrideExtractResourceNames(*DeleteProjectInvitationRequest) []*project_invitation.Name 1755 }) 1756 if ok { 1757 return project_invitation.ProjectInvitationNameList(override.OverrideExtractResourceNames(typedMsg)) 1758 } 1759 return nil 1760 } 1761 1762 func (h *DeleteProjectInvitationDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name { 1763 typedMsg := msg.(*DeleteProjectInvitationRequest) 1764 var asInterface interface{} = h 1765 override, ok := asInterface.(interface { 1766 OverrideExtractCollectionName(*DeleteProjectInvitationRequest) *project_invitation.ParentName 1767 }) 1768 if ok { 1769 return override.OverrideExtractCollectionName(typedMsg) 1770 } 1771 return nil 1772 } 1773 1774 func (h *DeleteProjectInvitationDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource { 1775 typedMsg := msg.(*DeleteProjectInvitationRequest) 1776 var asInterface interface{} = h 1777 override, ok := asInterface.(interface { 1778 OverrideExtractResourceBody(*DeleteProjectInvitationRequest) *project_invitation.ProjectInvitation 1779 }) 1780 if ok { 1781 return override.OverrideExtractResourceBody(typedMsg) 1782 } 1783 return nil 1784 } 1785 1786 func (h *DeleteProjectInvitationDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList { 1787 typedMsg := msg.(*DeleteProjectInvitationRequest) 1788 var asInterface interface{} = h 1789 override, ok := asInterface.(interface { 1790 OverrideExtractResourceBodies(*DeleteProjectInvitationRequest) []*project_invitation.ProjectInvitation 1791 }) 1792 if ok { 1793 return project_invitation.ProjectInvitationList(override.OverrideExtractResourceBodies(typedMsg)) 1794 } 1795 return nil 1796 } 1797 1798 func (h *DeleteProjectInvitationDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name { 1799 typedMsg := msg.(*emptypb.Empty) 1800 var asInterface interface{} = h 1801 override, ok := asInterface.(interface { 1802 OverrideExtractResourceName(*emptypb.Empty) *project_invitation.Name 1803 }) 1804 if ok { 1805 return override.OverrideExtractResourceName(typedMsg) 1806 } 1807 return nil 1808 } 1809 1810 func (h *DeleteProjectInvitationDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList { 1811 typedMsg := msg.(*emptypb.Empty) 1812 var asInterface interface{} = h 1813 override, ok := asInterface.(interface { 1814 OverrideExtractResourceNames(*emptypb.Empty) []*project_invitation.Name 1815 }) 1816 if ok { 1817 return project_invitation.ProjectInvitationNameList(override.OverrideExtractResourceNames(typedMsg)) 1818 } 1819 return nil 1820 } 1821 1822 func (h *DeleteProjectInvitationDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name { 1823 typedMsg := msg.(*emptypb.Empty) 1824 var asInterface interface{} = h 1825 override, ok := asInterface.(interface { 1826 OverrideExtractCollectionName(*emptypb.Empty) *project_invitation.ParentName 1827 }) 1828 if ok { 1829 return override.OverrideExtractCollectionName(typedMsg) 1830 } 1831 return nil 1832 } 1833 1834 func (h *DeleteProjectInvitationDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource { 1835 typedMsg := msg.(*emptypb.Empty) 1836 var asInterface interface{} = h 1837 override, ok := asInterface.(interface { 1838 OverrideExtractResourceBody(*emptypb.Empty) *project_invitation.ProjectInvitation 1839 }) 1840 if ok { 1841 return override.OverrideExtractResourceBody(typedMsg) 1842 } 1843 return nil 1844 } 1845 1846 func (h *DeleteProjectInvitationDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList { 1847 typedMsg := msg.(*emptypb.Empty) 1848 var asInterface interface{} = h 1849 override, ok := asInterface.(interface { 1850 OverrideExtractResourceBodies(*emptypb.Empty) []*project_invitation.ProjectInvitation 1851 }) 1852 if ok { 1853 return project_invitation.ProjectInvitationList(override.OverrideExtractResourceBodies(typedMsg)) 1854 } 1855 return nil 1856 } 1857 1858 func GetDeleteProjectInvitationDescriptor() *DeleteProjectInvitationDescriptor { 1859 return deleteProjectInvitationDescriptor 1860 } 1861 1862 type AcceptProjectInvitationDescriptor struct{} 1863 1864 type AcceptProjectInvitationDescriptorClientMsgHandle struct{} 1865 1866 type AcceptProjectInvitationDescriptorServerMsgHandle struct{} 1867 1868 func (d *AcceptProjectInvitationDescriptor) NewEmptyClientMsg() proto.Message { 1869 return &AcceptProjectInvitationRequest{} 1870 } 1871 1872 func (d *AcceptProjectInvitationDescriptor) NewEmptyServerMsg() proto.Message { 1873 return &AcceptProjectInvitationResponse{} 1874 } 1875 1876 func (d *AcceptProjectInvitationDescriptor) IsUnary() bool { 1877 return true 1878 } 1879 1880 func (d *AcceptProjectInvitationDescriptor) IsClientStream() bool { 1881 return false 1882 } 1883 1884 func (d *AcceptProjectInvitationDescriptor) IsServerStream() bool { 1885 return false 1886 } 1887 1888 func (d *AcceptProjectInvitationDescriptor) IsCollection() bool { 1889 return false 1890 } 1891 1892 func (d *AcceptProjectInvitationDescriptor) IsPlural() bool { 1893 return false 1894 } 1895 1896 func (d *AcceptProjectInvitationDescriptor) HasResource() bool { 1897 return true 1898 } 1899 1900 func (d *AcceptProjectInvitationDescriptor) RequestHasResourceBody() bool { 1901 return false 1902 } 1903 1904 func (d *AcceptProjectInvitationDescriptor) GetVerb() string { 1905 return "accept" 1906 } 1907 1908 func (d *AcceptProjectInvitationDescriptor) GetMethodName() string { 1909 return "AcceptProjectInvitation" 1910 } 1911 1912 func (d *AcceptProjectInvitationDescriptor) GetFullMethodName() string { 1913 return "/ntt.iam.v1.ProjectInvitationService/AcceptProjectInvitation" 1914 } 1915 1916 func (d *AcceptProjectInvitationDescriptor) GetProtoPkgName() string { 1917 return "ntt.iam.v1" 1918 } 1919 1920 func (d *AcceptProjectInvitationDescriptor) GetApiName() string { 1921 return "ProjectInvitationService" 1922 } 1923 1924 func (d *AcceptProjectInvitationDescriptor) GetServiceDomain() string { 1925 return "iam.edgelq.com" 1926 } 1927 1928 func (d *AcceptProjectInvitationDescriptor) GetServiceVersion() string { 1929 return "v1" 1930 } 1931 1932 func (d *AcceptProjectInvitationDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor { 1933 return projectInvitationServiceDescriptor 1934 } 1935 1936 func (d *AcceptProjectInvitationDescriptor) GetResourceDescriptor() gotenresource.Descriptor { 1937 return project_invitation.GetDescriptor() 1938 } 1939 1940 func (d *AcceptProjectInvitationDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle { 1941 return &AcceptProjectInvitationDescriptorClientMsgHandle{} 1942 } 1943 1944 func (d *AcceptProjectInvitationDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle { 1945 return &AcceptProjectInvitationDescriptorServerMsgHandle{} 1946 } 1947 1948 func (h *AcceptProjectInvitationDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name { 1949 typedMsg := msg.(*AcceptProjectInvitationRequest) 1950 var asInterface interface{} = h 1951 override, ok := asInterface.(interface { 1952 OverrideExtractResourceName(*AcceptProjectInvitationRequest) *project_invitation.Name 1953 }) 1954 if ok { 1955 return override.OverrideExtractResourceName(typedMsg) 1956 } 1957 { 1958 if name := typedMsg.GetName(); name != nil { 1959 return name 1960 } 1961 } 1962 return (*project_invitation.Name)(nil) 1963 } 1964 1965 func (h *AcceptProjectInvitationDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList { 1966 typedMsg := msg.(*AcceptProjectInvitationRequest) 1967 var asInterface interface{} = h 1968 override, ok := asInterface.(interface { 1969 OverrideExtractResourceNames(*AcceptProjectInvitationRequest) []*project_invitation.Name 1970 }) 1971 if ok { 1972 return project_invitation.ProjectInvitationNameList(override.OverrideExtractResourceNames(typedMsg)) 1973 } 1974 return nil 1975 } 1976 1977 func (h *AcceptProjectInvitationDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name { 1978 typedMsg := msg.(*AcceptProjectInvitationRequest) 1979 var asInterface interface{} = h 1980 override, ok := asInterface.(interface { 1981 OverrideExtractCollectionName(*AcceptProjectInvitationRequest) *project_invitation.ParentName 1982 }) 1983 if ok { 1984 return override.OverrideExtractCollectionName(typedMsg) 1985 } 1986 return nil 1987 } 1988 1989 func (h *AcceptProjectInvitationDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource { 1990 typedMsg := msg.(*AcceptProjectInvitationRequest) 1991 var asInterface interface{} = h 1992 override, ok := asInterface.(interface { 1993 OverrideExtractResourceBody(*AcceptProjectInvitationRequest) *project_invitation.ProjectInvitation 1994 }) 1995 if ok { 1996 return override.OverrideExtractResourceBody(typedMsg) 1997 } 1998 return nil 1999 } 2000 2001 func (h *AcceptProjectInvitationDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList { 2002 typedMsg := msg.(*AcceptProjectInvitationRequest) 2003 var asInterface interface{} = h 2004 override, ok := asInterface.(interface { 2005 OverrideExtractResourceBodies(*AcceptProjectInvitationRequest) []*project_invitation.ProjectInvitation 2006 }) 2007 if ok { 2008 return project_invitation.ProjectInvitationList(override.OverrideExtractResourceBodies(typedMsg)) 2009 } 2010 return nil 2011 } 2012 2013 func (h *AcceptProjectInvitationDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name { 2014 typedMsg := msg.(*AcceptProjectInvitationResponse) 2015 var asInterface interface{} = h 2016 override, ok := asInterface.(interface { 2017 OverrideExtractResourceName(*AcceptProjectInvitationResponse) *project_invitation.Name 2018 }) 2019 if ok { 2020 return override.OverrideExtractResourceName(typedMsg) 2021 } 2022 return nil 2023 } 2024 2025 func (h *AcceptProjectInvitationDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList { 2026 typedMsg := msg.(*AcceptProjectInvitationResponse) 2027 var asInterface interface{} = h 2028 override, ok := asInterface.(interface { 2029 OverrideExtractResourceNames(*AcceptProjectInvitationResponse) []*project_invitation.Name 2030 }) 2031 if ok { 2032 return project_invitation.ProjectInvitationNameList(override.OverrideExtractResourceNames(typedMsg)) 2033 } 2034 return nil 2035 } 2036 2037 func (h *AcceptProjectInvitationDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name { 2038 typedMsg := msg.(*AcceptProjectInvitationResponse) 2039 var asInterface interface{} = h 2040 override, ok := asInterface.(interface { 2041 OverrideExtractCollectionName(*AcceptProjectInvitationResponse) *project_invitation.ParentName 2042 }) 2043 if ok { 2044 return override.OverrideExtractCollectionName(typedMsg) 2045 } 2046 return nil 2047 } 2048 2049 func (h *AcceptProjectInvitationDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource { 2050 typedMsg := msg.(*AcceptProjectInvitationResponse) 2051 var asInterface interface{} = h 2052 override, ok := asInterface.(interface { 2053 OverrideExtractResourceBody(*AcceptProjectInvitationResponse) *project_invitation.ProjectInvitation 2054 }) 2055 if ok { 2056 return override.OverrideExtractResourceBody(typedMsg) 2057 } 2058 return nil 2059 } 2060 2061 func (h *AcceptProjectInvitationDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList { 2062 typedMsg := msg.(*AcceptProjectInvitationResponse) 2063 var asInterface interface{} = h 2064 override, ok := asInterface.(interface { 2065 OverrideExtractResourceBodies(*AcceptProjectInvitationResponse) []*project_invitation.ProjectInvitation 2066 }) 2067 if ok { 2068 return project_invitation.ProjectInvitationList(override.OverrideExtractResourceBodies(typedMsg)) 2069 } 2070 return nil 2071 } 2072 2073 func GetAcceptProjectInvitationDescriptor() *AcceptProjectInvitationDescriptor { 2074 return acceptProjectInvitationDescriptor 2075 } 2076 2077 type DeclineProjectInvitationDescriptor struct{} 2078 2079 type DeclineProjectInvitationDescriptorClientMsgHandle struct{} 2080 2081 type DeclineProjectInvitationDescriptorServerMsgHandle struct{} 2082 2083 func (d *DeclineProjectInvitationDescriptor) NewEmptyClientMsg() proto.Message { 2084 return &DeclineProjectInvitationRequest{} 2085 } 2086 2087 func (d *DeclineProjectInvitationDescriptor) NewEmptyServerMsg() proto.Message { 2088 return &DeclineProjectInvitationResponse{} 2089 } 2090 2091 func (d *DeclineProjectInvitationDescriptor) IsUnary() bool { 2092 return true 2093 } 2094 2095 func (d *DeclineProjectInvitationDescriptor) IsClientStream() bool { 2096 return false 2097 } 2098 2099 func (d *DeclineProjectInvitationDescriptor) IsServerStream() bool { 2100 return false 2101 } 2102 2103 func (d *DeclineProjectInvitationDescriptor) IsCollection() bool { 2104 return false 2105 } 2106 2107 func (d *DeclineProjectInvitationDescriptor) IsPlural() bool { 2108 return false 2109 } 2110 2111 func (d *DeclineProjectInvitationDescriptor) HasResource() bool { 2112 return true 2113 } 2114 2115 func (d *DeclineProjectInvitationDescriptor) RequestHasResourceBody() bool { 2116 return false 2117 } 2118 2119 func (d *DeclineProjectInvitationDescriptor) GetVerb() string { 2120 return "decline" 2121 } 2122 2123 func (d *DeclineProjectInvitationDescriptor) GetMethodName() string { 2124 return "DeclineProjectInvitation" 2125 } 2126 2127 func (d *DeclineProjectInvitationDescriptor) GetFullMethodName() string { 2128 return "/ntt.iam.v1.ProjectInvitationService/DeclineProjectInvitation" 2129 } 2130 2131 func (d *DeclineProjectInvitationDescriptor) GetProtoPkgName() string { 2132 return "ntt.iam.v1" 2133 } 2134 2135 func (d *DeclineProjectInvitationDescriptor) GetApiName() string { 2136 return "ProjectInvitationService" 2137 } 2138 2139 func (d *DeclineProjectInvitationDescriptor) GetServiceDomain() string { 2140 return "iam.edgelq.com" 2141 } 2142 2143 func (d *DeclineProjectInvitationDescriptor) GetServiceVersion() string { 2144 return "v1" 2145 } 2146 2147 func (d *DeclineProjectInvitationDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor { 2148 return projectInvitationServiceDescriptor 2149 } 2150 2151 func (d *DeclineProjectInvitationDescriptor) GetResourceDescriptor() gotenresource.Descriptor { 2152 return project_invitation.GetDescriptor() 2153 } 2154 2155 func (d *DeclineProjectInvitationDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle { 2156 return &DeclineProjectInvitationDescriptorClientMsgHandle{} 2157 } 2158 2159 func (d *DeclineProjectInvitationDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle { 2160 return &DeclineProjectInvitationDescriptorServerMsgHandle{} 2161 } 2162 2163 func (h *DeclineProjectInvitationDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name { 2164 typedMsg := msg.(*DeclineProjectInvitationRequest) 2165 var asInterface interface{} = h 2166 override, ok := asInterface.(interface { 2167 OverrideExtractResourceName(*DeclineProjectInvitationRequest) *project_invitation.Name 2168 }) 2169 if ok { 2170 return override.OverrideExtractResourceName(typedMsg) 2171 } 2172 { 2173 if name := typedMsg.GetName(); name != nil { 2174 return name 2175 } 2176 } 2177 return (*project_invitation.Name)(nil) 2178 } 2179 2180 func (h *DeclineProjectInvitationDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList { 2181 typedMsg := msg.(*DeclineProjectInvitationRequest) 2182 var asInterface interface{} = h 2183 override, ok := asInterface.(interface { 2184 OverrideExtractResourceNames(*DeclineProjectInvitationRequest) []*project_invitation.Name 2185 }) 2186 if ok { 2187 return project_invitation.ProjectInvitationNameList(override.OverrideExtractResourceNames(typedMsg)) 2188 } 2189 return nil 2190 } 2191 2192 func (h *DeclineProjectInvitationDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name { 2193 typedMsg := msg.(*DeclineProjectInvitationRequest) 2194 var asInterface interface{} = h 2195 override, ok := asInterface.(interface { 2196 OverrideExtractCollectionName(*DeclineProjectInvitationRequest) *project_invitation.ParentName 2197 }) 2198 if ok { 2199 return override.OverrideExtractCollectionName(typedMsg) 2200 } 2201 return nil 2202 } 2203 2204 func (h *DeclineProjectInvitationDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource { 2205 typedMsg := msg.(*DeclineProjectInvitationRequest) 2206 var asInterface interface{} = h 2207 override, ok := asInterface.(interface { 2208 OverrideExtractResourceBody(*DeclineProjectInvitationRequest) *project_invitation.ProjectInvitation 2209 }) 2210 if ok { 2211 return override.OverrideExtractResourceBody(typedMsg) 2212 } 2213 return nil 2214 } 2215 2216 func (h *DeclineProjectInvitationDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList { 2217 typedMsg := msg.(*DeclineProjectInvitationRequest) 2218 var asInterface interface{} = h 2219 override, ok := asInterface.(interface { 2220 OverrideExtractResourceBodies(*DeclineProjectInvitationRequest) []*project_invitation.ProjectInvitation 2221 }) 2222 if ok { 2223 return project_invitation.ProjectInvitationList(override.OverrideExtractResourceBodies(typedMsg)) 2224 } 2225 return nil 2226 } 2227 2228 func (h *DeclineProjectInvitationDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name { 2229 typedMsg := msg.(*DeclineProjectInvitationResponse) 2230 var asInterface interface{} = h 2231 override, ok := asInterface.(interface { 2232 OverrideExtractResourceName(*DeclineProjectInvitationResponse) *project_invitation.Name 2233 }) 2234 if ok { 2235 return override.OverrideExtractResourceName(typedMsg) 2236 } 2237 return nil 2238 } 2239 2240 func (h *DeclineProjectInvitationDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList { 2241 typedMsg := msg.(*DeclineProjectInvitationResponse) 2242 var asInterface interface{} = h 2243 override, ok := asInterface.(interface { 2244 OverrideExtractResourceNames(*DeclineProjectInvitationResponse) []*project_invitation.Name 2245 }) 2246 if ok { 2247 return project_invitation.ProjectInvitationNameList(override.OverrideExtractResourceNames(typedMsg)) 2248 } 2249 return nil 2250 } 2251 2252 func (h *DeclineProjectInvitationDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name { 2253 typedMsg := msg.(*DeclineProjectInvitationResponse) 2254 var asInterface interface{} = h 2255 override, ok := asInterface.(interface { 2256 OverrideExtractCollectionName(*DeclineProjectInvitationResponse) *project_invitation.ParentName 2257 }) 2258 if ok { 2259 return override.OverrideExtractCollectionName(typedMsg) 2260 } 2261 return nil 2262 } 2263 2264 func (h *DeclineProjectInvitationDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource { 2265 typedMsg := msg.(*DeclineProjectInvitationResponse) 2266 var asInterface interface{} = h 2267 override, ok := asInterface.(interface { 2268 OverrideExtractResourceBody(*DeclineProjectInvitationResponse) *project_invitation.ProjectInvitation 2269 }) 2270 if ok { 2271 return override.OverrideExtractResourceBody(typedMsg) 2272 } 2273 return nil 2274 } 2275 2276 func (h *DeclineProjectInvitationDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList { 2277 typedMsg := msg.(*DeclineProjectInvitationResponse) 2278 var asInterface interface{} = h 2279 override, ok := asInterface.(interface { 2280 OverrideExtractResourceBodies(*DeclineProjectInvitationResponse) []*project_invitation.ProjectInvitation 2281 }) 2282 if ok { 2283 return project_invitation.ProjectInvitationList(override.OverrideExtractResourceBodies(typedMsg)) 2284 } 2285 return nil 2286 } 2287 2288 func GetDeclineProjectInvitationDescriptor() *DeclineProjectInvitationDescriptor { 2289 return declineProjectInvitationDescriptor 2290 } 2291 2292 type ListMyProjectInvitationsDescriptor struct{} 2293 2294 type ListMyProjectInvitationsDescriptorClientMsgHandle struct{} 2295 2296 type ListMyProjectInvitationsDescriptorServerMsgHandle struct{} 2297 2298 func (d *ListMyProjectInvitationsDescriptor) NewEmptyClientMsg() proto.Message { 2299 return &ListMyProjectInvitationsRequest{} 2300 } 2301 2302 func (d *ListMyProjectInvitationsDescriptor) NewEmptyServerMsg() proto.Message { 2303 return &ListMyProjectInvitationsResponse{} 2304 } 2305 2306 func (d *ListMyProjectInvitationsDescriptor) IsUnary() bool { 2307 return true 2308 } 2309 2310 func (d *ListMyProjectInvitationsDescriptor) IsClientStream() bool { 2311 return false 2312 } 2313 2314 func (d *ListMyProjectInvitationsDescriptor) IsServerStream() bool { 2315 return false 2316 } 2317 2318 func (d *ListMyProjectInvitationsDescriptor) IsCollection() bool { 2319 return true 2320 } 2321 2322 func (d *ListMyProjectInvitationsDescriptor) IsPlural() bool { 2323 return true 2324 } 2325 2326 func (d *ListMyProjectInvitationsDescriptor) HasResource() bool { 2327 return true 2328 } 2329 2330 func (d *ListMyProjectInvitationsDescriptor) RequestHasResourceBody() bool { 2331 return false 2332 } 2333 2334 func (d *ListMyProjectInvitationsDescriptor) GetVerb() string { 2335 return "listMy" 2336 } 2337 2338 func (d *ListMyProjectInvitationsDescriptor) GetMethodName() string { 2339 return "ListMyProjectInvitations" 2340 } 2341 2342 func (d *ListMyProjectInvitationsDescriptor) GetFullMethodName() string { 2343 return "/ntt.iam.v1.ProjectInvitationService/ListMyProjectInvitations" 2344 } 2345 2346 func (d *ListMyProjectInvitationsDescriptor) GetProtoPkgName() string { 2347 return "ntt.iam.v1" 2348 } 2349 2350 func (d *ListMyProjectInvitationsDescriptor) GetApiName() string { 2351 return "ProjectInvitationService" 2352 } 2353 2354 func (d *ListMyProjectInvitationsDescriptor) GetServiceDomain() string { 2355 return "iam.edgelq.com" 2356 } 2357 2358 func (d *ListMyProjectInvitationsDescriptor) GetServiceVersion() string { 2359 return "v1" 2360 } 2361 2362 func (d *ListMyProjectInvitationsDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor { 2363 return projectInvitationServiceDescriptor 2364 } 2365 2366 func (d *ListMyProjectInvitationsDescriptor) GetResourceDescriptor() gotenresource.Descriptor { 2367 return project_invitation.GetDescriptor() 2368 } 2369 2370 func (d *ListMyProjectInvitationsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle { 2371 return &ListMyProjectInvitationsDescriptorClientMsgHandle{} 2372 } 2373 2374 func (d *ListMyProjectInvitationsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle { 2375 return &ListMyProjectInvitationsDescriptorServerMsgHandle{} 2376 } 2377 2378 func (h *ListMyProjectInvitationsDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name { 2379 typedMsg := msg.(*ListMyProjectInvitationsRequest) 2380 var asInterface interface{} = h 2381 override, ok := asInterface.(interface { 2382 OverrideExtractResourceName(*ListMyProjectInvitationsRequest) *project_invitation.Name 2383 }) 2384 if ok { 2385 return override.OverrideExtractResourceName(typedMsg) 2386 } 2387 return nil 2388 } 2389 2390 func (h *ListMyProjectInvitationsDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList { 2391 typedMsg := msg.(*ListMyProjectInvitationsRequest) 2392 var asInterface interface{} = h 2393 override, ok := asInterface.(interface { 2394 OverrideExtractResourceNames(*ListMyProjectInvitationsRequest) []*project_invitation.Name 2395 }) 2396 if ok { 2397 return project_invitation.ProjectInvitationNameList(override.OverrideExtractResourceNames(typedMsg)) 2398 } 2399 return nil 2400 } 2401 2402 func (h *ListMyProjectInvitationsDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name { 2403 typedMsg := msg.(*ListMyProjectInvitationsRequest) 2404 var asInterface interface{} = h 2405 override, ok := asInterface.(interface { 2406 OverrideExtractCollectionName(*ListMyProjectInvitationsRequest) *project_invitation.ParentName 2407 }) 2408 if ok { 2409 return override.OverrideExtractCollectionName(typedMsg) 2410 } 2411 { 2412 if parentName := typedMsg.GetParent(); parentName != nil { 2413 return parentName 2414 } 2415 } 2416 return (*project_invitation.ParentName)(nil) 2417 } 2418 2419 func (h *ListMyProjectInvitationsDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource { 2420 typedMsg := msg.(*ListMyProjectInvitationsRequest) 2421 var asInterface interface{} = h 2422 override, ok := asInterface.(interface { 2423 OverrideExtractResourceBody(*ListMyProjectInvitationsRequest) *project_invitation.ProjectInvitation 2424 }) 2425 if ok { 2426 return override.OverrideExtractResourceBody(typedMsg) 2427 } 2428 return nil 2429 } 2430 2431 func (h *ListMyProjectInvitationsDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList { 2432 typedMsg := msg.(*ListMyProjectInvitationsRequest) 2433 var asInterface interface{} = h 2434 override, ok := asInterface.(interface { 2435 OverrideExtractResourceBodies(*ListMyProjectInvitationsRequest) []*project_invitation.ProjectInvitation 2436 }) 2437 if ok { 2438 return project_invitation.ProjectInvitationList(override.OverrideExtractResourceBodies(typedMsg)) 2439 } 2440 return nil 2441 } 2442 2443 func (h *ListMyProjectInvitationsDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name { 2444 typedMsg := msg.(*ListMyProjectInvitationsResponse) 2445 var asInterface interface{} = h 2446 override, ok := asInterface.(interface { 2447 OverrideExtractResourceName(*ListMyProjectInvitationsResponse) *project_invitation.Name 2448 }) 2449 if ok { 2450 return override.OverrideExtractResourceName(typedMsg) 2451 } 2452 return nil 2453 } 2454 2455 func (h *ListMyProjectInvitationsDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList { 2456 typedMsg := msg.(*ListMyProjectInvitationsResponse) 2457 var asInterface interface{} = h 2458 override, ok := asInterface.(interface { 2459 OverrideExtractResourceNames(*ListMyProjectInvitationsResponse) []*project_invitation.Name 2460 }) 2461 if ok { 2462 return project_invitation.ProjectInvitationNameList(override.OverrideExtractResourceNames(typedMsg)) 2463 } 2464 { 2465 if resources := typedMsg.GetProjectInvitations(); len(resources) > 0 { 2466 list := make(project_invitation.ProjectInvitationNameList, 0, len(resources)) 2467 for _, res := range resources { 2468 list = append(list, res.GetName()) 2469 } 2470 return list 2471 } 2472 } 2473 return (project_invitation.ProjectInvitationNameList)(nil) 2474 } 2475 2476 func (h *ListMyProjectInvitationsDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name { 2477 typedMsg := msg.(*ListMyProjectInvitationsResponse) 2478 var asInterface interface{} = h 2479 override, ok := asInterface.(interface { 2480 OverrideExtractCollectionName(*ListMyProjectInvitationsResponse) *project_invitation.ParentName 2481 }) 2482 if ok { 2483 return override.OverrideExtractCollectionName(typedMsg) 2484 } 2485 return nil 2486 } 2487 2488 func (h *ListMyProjectInvitationsDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource { 2489 typedMsg := msg.(*ListMyProjectInvitationsResponse) 2490 var asInterface interface{} = h 2491 override, ok := asInterface.(interface { 2492 OverrideExtractResourceBody(*ListMyProjectInvitationsResponse) *project_invitation.ProjectInvitation 2493 }) 2494 if ok { 2495 return override.OverrideExtractResourceBody(typedMsg) 2496 } 2497 return nil 2498 } 2499 2500 func (h *ListMyProjectInvitationsDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList { 2501 typedMsg := msg.(*ListMyProjectInvitationsResponse) 2502 var asInterface interface{} = h 2503 override, ok := asInterface.(interface { 2504 OverrideExtractResourceBodies(*ListMyProjectInvitationsResponse) []*project_invitation.ProjectInvitation 2505 }) 2506 if ok { 2507 return project_invitation.ProjectInvitationList(override.OverrideExtractResourceBodies(typedMsg)) 2508 } 2509 { 2510 if resources := typedMsg.GetProjectInvitations(); len(resources) > 0 { 2511 return project_invitation.ProjectInvitationList(resources) 2512 } 2513 } 2514 return (project_invitation.ProjectInvitationList)(nil) 2515 } 2516 2517 func GetListMyProjectInvitationsDescriptor() *ListMyProjectInvitationsDescriptor { 2518 return listMyProjectInvitationsDescriptor 2519 } 2520 2521 type ResendProjectInvitationDescriptor struct{} 2522 2523 type ResendProjectInvitationDescriptorClientMsgHandle struct{} 2524 2525 type ResendProjectInvitationDescriptorServerMsgHandle struct{} 2526 2527 func (d *ResendProjectInvitationDescriptor) NewEmptyClientMsg() proto.Message { 2528 return &ResendProjectInvitationRequest{} 2529 } 2530 2531 func (d *ResendProjectInvitationDescriptor) NewEmptyServerMsg() proto.Message { 2532 return &ResendProjectInvitationResponse{} 2533 } 2534 2535 func (d *ResendProjectInvitationDescriptor) IsUnary() bool { 2536 return true 2537 } 2538 2539 func (d *ResendProjectInvitationDescriptor) IsClientStream() bool { 2540 return false 2541 } 2542 2543 func (d *ResendProjectInvitationDescriptor) IsServerStream() bool { 2544 return false 2545 } 2546 2547 func (d *ResendProjectInvitationDescriptor) IsCollection() bool { 2548 return false 2549 } 2550 2551 func (d *ResendProjectInvitationDescriptor) IsPlural() bool { 2552 return false 2553 } 2554 2555 func (d *ResendProjectInvitationDescriptor) HasResource() bool { 2556 return true 2557 } 2558 2559 func (d *ResendProjectInvitationDescriptor) RequestHasResourceBody() bool { 2560 return false 2561 } 2562 2563 func (d *ResendProjectInvitationDescriptor) GetVerb() string { 2564 return "resend" 2565 } 2566 2567 func (d *ResendProjectInvitationDescriptor) GetMethodName() string { 2568 return "ResendProjectInvitation" 2569 } 2570 2571 func (d *ResendProjectInvitationDescriptor) GetFullMethodName() string { 2572 return "/ntt.iam.v1.ProjectInvitationService/ResendProjectInvitation" 2573 } 2574 2575 func (d *ResendProjectInvitationDescriptor) GetProtoPkgName() string { 2576 return "ntt.iam.v1" 2577 } 2578 2579 func (d *ResendProjectInvitationDescriptor) GetApiName() string { 2580 return "ProjectInvitationService" 2581 } 2582 2583 func (d *ResendProjectInvitationDescriptor) GetServiceDomain() string { 2584 return "iam.edgelq.com" 2585 } 2586 2587 func (d *ResendProjectInvitationDescriptor) GetServiceVersion() string { 2588 return "v1" 2589 } 2590 2591 func (d *ResendProjectInvitationDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor { 2592 return projectInvitationServiceDescriptor 2593 } 2594 2595 func (d *ResendProjectInvitationDescriptor) GetResourceDescriptor() gotenresource.Descriptor { 2596 return project_invitation.GetDescriptor() 2597 } 2598 2599 func (d *ResendProjectInvitationDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle { 2600 return &ResendProjectInvitationDescriptorClientMsgHandle{} 2601 } 2602 2603 func (d *ResendProjectInvitationDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle { 2604 return &ResendProjectInvitationDescriptorServerMsgHandle{} 2605 } 2606 2607 func (h *ResendProjectInvitationDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name { 2608 typedMsg := msg.(*ResendProjectInvitationRequest) 2609 var asInterface interface{} = h 2610 override, ok := asInterface.(interface { 2611 OverrideExtractResourceName(*ResendProjectInvitationRequest) *project_invitation.Name 2612 }) 2613 if ok { 2614 return override.OverrideExtractResourceName(typedMsg) 2615 } 2616 { 2617 if name := typedMsg.GetName(); name != nil { 2618 return name 2619 } 2620 } 2621 return (*project_invitation.Name)(nil) 2622 } 2623 2624 func (h *ResendProjectInvitationDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList { 2625 typedMsg := msg.(*ResendProjectInvitationRequest) 2626 var asInterface interface{} = h 2627 override, ok := asInterface.(interface { 2628 OverrideExtractResourceNames(*ResendProjectInvitationRequest) []*project_invitation.Name 2629 }) 2630 if ok { 2631 return project_invitation.ProjectInvitationNameList(override.OverrideExtractResourceNames(typedMsg)) 2632 } 2633 return nil 2634 } 2635 2636 func (h *ResendProjectInvitationDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name { 2637 typedMsg := msg.(*ResendProjectInvitationRequest) 2638 var asInterface interface{} = h 2639 override, ok := asInterface.(interface { 2640 OverrideExtractCollectionName(*ResendProjectInvitationRequest) *project_invitation.ParentName 2641 }) 2642 if ok { 2643 return override.OverrideExtractCollectionName(typedMsg) 2644 } 2645 return nil 2646 } 2647 2648 func (h *ResendProjectInvitationDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource { 2649 typedMsg := msg.(*ResendProjectInvitationRequest) 2650 var asInterface interface{} = h 2651 override, ok := asInterface.(interface { 2652 OverrideExtractResourceBody(*ResendProjectInvitationRequest) *project_invitation.ProjectInvitation 2653 }) 2654 if ok { 2655 return override.OverrideExtractResourceBody(typedMsg) 2656 } 2657 return nil 2658 } 2659 2660 func (h *ResendProjectInvitationDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList { 2661 typedMsg := msg.(*ResendProjectInvitationRequest) 2662 var asInterface interface{} = h 2663 override, ok := asInterface.(interface { 2664 OverrideExtractResourceBodies(*ResendProjectInvitationRequest) []*project_invitation.ProjectInvitation 2665 }) 2666 if ok { 2667 return project_invitation.ProjectInvitationList(override.OverrideExtractResourceBodies(typedMsg)) 2668 } 2669 return nil 2670 } 2671 2672 func (h *ResendProjectInvitationDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name { 2673 typedMsg := msg.(*ResendProjectInvitationResponse) 2674 var asInterface interface{} = h 2675 override, ok := asInterface.(interface { 2676 OverrideExtractResourceName(*ResendProjectInvitationResponse) *project_invitation.Name 2677 }) 2678 if ok { 2679 return override.OverrideExtractResourceName(typedMsg) 2680 } 2681 { 2682 res := typedMsg.GetProjectInvitation() 2683 if name := res.GetName(); name != nil { 2684 return name 2685 } 2686 } 2687 return (*project_invitation.Name)(nil) 2688 } 2689 2690 func (h *ResendProjectInvitationDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList { 2691 typedMsg := msg.(*ResendProjectInvitationResponse) 2692 var asInterface interface{} = h 2693 override, ok := asInterface.(interface { 2694 OverrideExtractResourceNames(*ResendProjectInvitationResponse) []*project_invitation.Name 2695 }) 2696 if ok { 2697 return project_invitation.ProjectInvitationNameList(override.OverrideExtractResourceNames(typedMsg)) 2698 } 2699 return nil 2700 } 2701 2702 func (h *ResendProjectInvitationDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name { 2703 typedMsg := msg.(*ResendProjectInvitationResponse) 2704 var asInterface interface{} = h 2705 override, ok := asInterface.(interface { 2706 OverrideExtractCollectionName(*ResendProjectInvitationResponse) *project_invitation.ParentName 2707 }) 2708 if ok { 2709 return override.OverrideExtractCollectionName(typedMsg) 2710 } 2711 return nil 2712 } 2713 2714 func (h *ResendProjectInvitationDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource { 2715 typedMsg := msg.(*ResendProjectInvitationResponse) 2716 var asInterface interface{} = h 2717 override, ok := asInterface.(interface { 2718 OverrideExtractResourceBody(*ResendProjectInvitationResponse) *project_invitation.ProjectInvitation 2719 }) 2720 if ok { 2721 return override.OverrideExtractResourceBody(typedMsg) 2722 } 2723 { 2724 return typedMsg.GetProjectInvitation() 2725 } 2726 return (*project_invitation.ProjectInvitation)(nil) 2727 } 2728 2729 func (h *ResendProjectInvitationDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList { 2730 typedMsg := msg.(*ResendProjectInvitationResponse) 2731 var asInterface interface{} = h 2732 override, ok := asInterface.(interface { 2733 OverrideExtractResourceBodies(*ResendProjectInvitationResponse) []*project_invitation.ProjectInvitation 2734 }) 2735 if ok { 2736 return project_invitation.ProjectInvitationList(override.OverrideExtractResourceBodies(typedMsg)) 2737 } 2738 return nil 2739 } 2740 2741 func GetResendProjectInvitationDescriptor() *ResendProjectInvitationDescriptor { 2742 return resendProjectInvitationDescriptor 2743 } 2744 2745 type ProjectInvitationServiceDescriptor struct{} 2746 2747 func (d *ProjectInvitationServiceDescriptor) AllMethodDescriptors() []gotenclient.MethodDescriptor { 2748 return []gotenclient.MethodDescriptor{ 2749 getProjectInvitationDescriptor, 2750 batchGetProjectInvitationsDescriptor, 2751 listProjectInvitationsDescriptor, 2752 watchProjectInvitationDescriptor, 2753 watchProjectInvitationsDescriptor, 2754 createProjectInvitationDescriptor, 2755 updateProjectInvitationDescriptor, 2756 deleteProjectInvitationDescriptor, 2757 acceptProjectInvitationDescriptor, 2758 declineProjectInvitationDescriptor, 2759 listMyProjectInvitationsDescriptor, 2760 resendProjectInvitationDescriptor, 2761 } 2762 } 2763 2764 func (d *ProjectInvitationServiceDescriptor) GetFullAPIName() string { 2765 return "/ntt.iam.v1.ProjectInvitationService" 2766 } 2767 2768 func (d *ProjectInvitationServiceDescriptor) GetProtoPkgName() string { 2769 return "ntt.iam.v1" 2770 } 2771 2772 func (d *ProjectInvitationServiceDescriptor) GetApiName() string { 2773 return "ProjectInvitationService" 2774 } 2775 2776 func (d *ProjectInvitationServiceDescriptor) GetServiceDomain() string { 2777 return "iam.edgelq.com" 2778 } 2779 2780 func (d *ProjectInvitationServiceDescriptor) GetServiceVersion() string { 2781 return "v1" 2782 } 2783 2784 func GetProjectInvitationServiceDescriptor() *ProjectInvitationServiceDescriptor { 2785 return projectInvitationServiceDescriptor 2786 } 2787 2788 func initDescriptors() { 2789 projectInvitationServiceDescriptor = &ProjectInvitationServiceDescriptor{} 2790 getProjectInvitationDescriptor = &GetProjectInvitationDescriptor{} 2791 batchGetProjectInvitationsDescriptor = &BatchGetProjectInvitationsDescriptor{} 2792 listProjectInvitationsDescriptor = &ListProjectInvitationsDescriptor{} 2793 watchProjectInvitationDescriptor = &WatchProjectInvitationDescriptor{} 2794 watchProjectInvitationsDescriptor = &WatchProjectInvitationsDescriptor{} 2795 createProjectInvitationDescriptor = &CreateProjectInvitationDescriptor{} 2796 updateProjectInvitationDescriptor = &UpdateProjectInvitationDescriptor{} 2797 deleteProjectInvitationDescriptor = &DeleteProjectInvitationDescriptor{} 2798 acceptProjectInvitationDescriptor = &AcceptProjectInvitationDescriptor{} 2799 declineProjectInvitationDescriptor = &DeclineProjectInvitationDescriptor{} 2800 listMyProjectInvitationsDescriptor = &ListMyProjectInvitationsDescriptor{} 2801 resendProjectInvitationDescriptor = &ResendProjectInvitationDescriptor{} 2802 gotenclient.GetRegistry().RegisterApiDescriptor(projectInvitationServiceDescriptor) 2803 gotenclient.GetRegistry().RegisterMethodDescriptor(getProjectInvitationDescriptor) 2804 gotenclient.GetRegistry().RegisterMethodDescriptor(batchGetProjectInvitationsDescriptor) 2805 gotenclient.GetRegistry().RegisterMethodDescriptor(listProjectInvitationsDescriptor) 2806 gotenclient.GetRegistry().RegisterMethodDescriptor(watchProjectInvitationDescriptor) 2807 gotenclient.GetRegistry().RegisterMethodDescriptor(watchProjectInvitationsDescriptor) 2808 gotenclient.GetRegistry().RegisterMethodDescriptor(createProjectInvitationDescriptor) 2809 gotenclient.GetRegistry().RegisterMethodDescriptor(updateProjectInvitationDescriptor) 2810 gotenclient.GetRegistry().RegisterMethodDescriptor(deleteProjectInvitationDescriptor) 2811 gotenclient.GetRegistry().RegisterMethodDescriptor(acceptProjectInvitationDescriptor) 2812 gotenclient.GetRegistry().RegisterMethodDescriptor(declineProjectInvitationDescriptor) 2813 gotenclient.GetRegistry().RegisterMethodDescriptor(listMyProjectInvitationsDescriptor) 2814 gotenclient.GetRegistry().RegisterMethodDescriptor(resendProjectInvitationDescriptor) 2815 } 2816 2817 func init() { 2818 if !descriptorsInitialized { 2819 initDescriptors() 2820 descriptorsInitialized = true 2821 } 2822 }