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