github.com/cloudwan/edgelq-sdk@v1.15.4/iam/resources/v1/role/role_change.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/iam/proto/v1/role_change.proto 3 // DO NOT EDIT!!! 4 5 package role 6 7 import ( 8 "fmt" 9 "reflect" 10 "sync" 11 12 "google.golang.org/protobuf/encoding/protojson" 13 "google.golang.org/protobuf/proto" 14 preflect "google.golang.org/protobuf/reflect/protoreflect" 15 "google.golang.org/protobuf/runtime/protoimpl" 16 ) 17 18 // proto imports 19 import ( 20 organization "github.com/cloudwan/edgelq-sdk/iam/resources/v1/organization" 21 project "github.com/cloudwan/edgelq-sdk/iam/resources/v1/project" 22 meta_service "github.com/cloudwan/goten-sdk/meta-service/resources/v1/service" 23 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 24 ) 25 26 // Reference imports to suppress errors if they are not otherwise used. 27 var ( 28 _ = fmt.Errorf 29 _ = reflect.Method{} 30 _ = sync.Once{} 31 32 _ = protojson.MarshalOptions{} 33 _ = proto.MarshalOptions{} 34 _ = preflect.Value{} 35 _ = protoimpl.DescBuilder{} 36 ) 37 38 // make sure we're using proto imports 39 var ( 40 _ = &organization.Organization{} 41 _ = &project.Project{} 42 _ = &fieldmaskpb.FieldMask{} 43 _ = &meta_service.Service{} 44 ) 45 46 const ( 47 // Verify that this generated code is sufficiently up-to-date. 48 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 49 // Verify that runtime/protoimpl is sufficiently up-to-date. 50 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 51 ) 52 53 // RoleChange is used by Watch notifications Responses to describe change of 54 // single Role One of Added, Modified, Removed 55 type RoleChange struct { 56 state protoimpl.MessageState 57 sizeCache protoimpl.SizeCache 58 unknownFields protoimpl.UnknownFields 59 // Role change 60 // 61 // Types that are valid to be assigned to ChangeType: 62 // *RoleChange_Added_ 63 // *RoleChange_Modified_ 64 // *RoleChange_Current_ 65 // *RoleChange_Removed_ 66 ChangeType isRoleChange_ChangeType `protobuf_oneof:"change_type"` 67 } 68 69 func (m *RoleChange) Reset() { 70 *m = RoleChange{} 71 if protoimpl.UnsafeEnabled { 72 mi := &edgelq_iam_proto_v1_role_change_proto_msgTypes[0] 73 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 74 ms.StoreMessageInfo(mi) 75 } 76 } 77 78 func (m *RoleChange) String() string { 79 return protoimpl.X.MessageStringOf(m) 80 } 81 82 func (*RoleChange) ProtoMessage() {} 83 84 func (m *RoleChange) ProtoReflect() preflect.Message { 85 mi := &edgelq_iam_proto_v1_role_change_proto_msgTypes[0] 86 if protoimpl.UnsafeEnabled && m != nil { 87 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 88 if ms.LoadMessageInfo() == nil { 89 ms.StoreMessageInfo(mi) 90 } 91 return ms 92 } 93 return mi.MessageOf(m) 94 } 95 96 func (*RoleChange) GotenMessage() {} 97 98 // Deprecated, Use RoleChange.ProtoReflect.Descriptor instead. 99 func (*RoleChange) Descriptor() ([]byte, []int) { 100 return edgelq_iam_proto_v1_role_change_proto_rawDescGZIP(), []int{0} 101 } 102 103 func (m *RoleChange) Unmarshal(b []byte) error { 104 return proto.Unmarshal(b, m) 105 } 106 107 func (m *RoleChange) Marshal() ([]byte, error) { 108 return proto.Marshal(m) 109 } 110 111 func (m *RoleChange) MarshalJSON() ([]byte, error) { 112 return protojson.MarshalOptions{}.Marshal(m) 113 } 114 115 func (m *RoleChange) UnmarshalJSON(data []byte) error { 116 return protojson.Unmarshal(data, m) 117 } 118 119 type isRoleChange_ChangeType interface { 120 isRoleChange_ChangeType() 121 } 122 123 type RoleChange_Added_ struct { 124 // Added is returned when watched document is added, either created or 125 // enters Query view 126 Added *RoleChange_Added `protobuf:"bytes,1,opt,name=added,proto3,oneof"` 127 } 128 type RoleChange_Modified_ struct { 129 // Modified is returned when watched document is modified 130 Modified *RoleChange_Modified `protobuf:"bytes,2,opt,name=modified,proto3,oneof"` 131 } 132 type RoleChange_Current_ struct { 133 // Current is returned in stateless watch when document enters query view or 134 // is modified within. 135 Current *RoleChange_Current `protobuf:"bytes,4,opt,name=current,proto3,oneof"` 136 } 137 type RoleChange_Removed_ struct { 138 // Removed is returned when Role is deleted or leaves Query view 139 Removed *RoleChange_Removed `protobuf:"bytes,3,opt,name=removed,proto3,oneof"` 140 } 141 142 func (*RoleChange_Added_) isRoleChange_ChangeType() {} 143 func (*RoleChange_Modified_) isRoleChange_ChangeType() {} 144 func (*RoleChange_Current_) isRoleChange_ChangeType() {} 145 func (*RoleChange_Removed_) isRoleChange_ChangeType() {} 146 func (m *RoleChange) GetChangeType() isRoleChange_ChangeType { 147 if m != nil { 148 return m.ChangeType 149 } 150 return nil 151 } 152 func (m *RoleChange) GetAdded() *RoleChange_Added { 153 if x, ok := m.GetChangeType().(*RoleChange_Added_); ok { 154 return x.Added 155 } 156 return nil 157 } 158 func (m *RoleChange) GetModified() *RoleChange_Modified { 159 if x, ok := m.GetChangeType().(*RoleChange_Modified_); ok { 160 return x.Modified 161 } 162 return nil 163 } 164 func (m *RoleChange) GetCurrent() *RoleChange_Current { 165 if x, ok := m.GetChangeType().(*RoleChange_Current_); ok { 166 return x.Current 167 } 168 return nil 169 } 170 func (m *RoleChange) GetRemoved() *RoleChange_Removed { 171 if x, ok := m.GetChangeType().(*RoleChange_Removed_); ok { 172 return x.Removed 173 } 174 return nil 175 } 176 func (m *RoleChange) SetChangeType(ofv isRoleChange_ChangeType) { 177 if m == nil { 178 panic(fmt.Errorf("can't set %s on nil %s", "isRoleChange_ChangeType", "RoleChange")) 179 } 180 m.ChangeType = ofv 181 } 182 func (m *RoleChange) SetAdded(fv *RoleChange_Added) { 183 m.SetChangeType(&RoleChange_Added_{Added: fv}) 184 } 185 func (m *RoleChange) SetModified(fv *RoleChange_Modified) { 186 m.SetChangeType(&RoleChange_Modified_{Modified: fv}) 187 } 188 func (m *RoleChange) SetCurrent(fv *RoleChange_Current) { 189 m.SetChangeType(&RoleChange_Current_{Current: fv}) 190 } 191 func (m *RoleChange) SetRemoved(fv *RoleChange_Removed) { 192 m.SetChangeType(&RoleChange_Removed_{Removed: fv}) 193 } 194 195 // Role has been added to query view 196 type RoleChange_Added struct { 197 state protoimpl.MessageState 198 sizeCache protoimpl.SizeCache 199 unknownFields protoimpl.UnknownFields 200 Role *Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` 201 // Integer describing index of added Role in resulting query view. 202 ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty"` 203 } 204 205 func (m *RoleChange_Added) Reset() { 206 *m = RoleChange_Added{} 207 if protoimpl.UnsafeEnabled { 208 mi := &edgelq_iam_proto_v1_role_change_proto_msgTypes[1] 209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 210 ms.StoreMessageInfo(mi) 211 } 212 } 213 214 func (m *RoleChange_Added) String() string { 215 return protoimpl.X.MessageStringOf(m) 216 } 217 218 func (*RoleChange_Added) ProtoMessage() {} 219 220 func (m *RoleChange_Added) ProtoReflect() preflect.Message { 221 mi := &edgelq_iam_proto_v1_role_change_proto_msgTypes[1] 222 if protoimpl.UnsafeEnabled && m != nil { 223 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 224 if ms.LoadMessageInfo() == nil { 225 ms.StoreMessageInfo(mi) 226 } 227 return ms 228 } 229 return mi.MessageOf(m) 230 } 231 232 func (*RoleChange_Added) GotenMessage() {} 233 234 // Deprecated, Use RoleChange_Added.ProtoReflect.Descriptor instead. 235 func (*RoleChange_Added) Descriptor() ([]byte, []int) { 236 return edgelq_iam_proto_v1_role_change_proto_rawDescGZIP(), []int{0, 0} 237 } 238 239 func (m *RoleChange_Added) Unmarshal(b []byte) error { 240 return proto.Unmarshal(b, m) 241 } 242 243 func (m *RoleChange_Added) Marshal() ([]byte, error) { 244 return proto.Marshal(m) 245 } 246 247 func (m *RoleChange_Added) MarshalJSON() ([]byte, error) { 248 return protojson.MarshalOptions{}.Marshal(m) 249 } 250 251 func (m *RoleChange_Added) UnmarshalJSON(data []byte) error { 252 return protojson.Unmarshal(data, m) 253 } 254 255 func (m *RoleChange_Added) GetRole() *Role { 256 if m != nil { 257 return m.Role 258 } 259 return nil 260 } 261 262 func (m *RoleChange_Added) GetViewIndex() int32 { 263 if m != nil { 264 return m.ViewIndex 265 } 266 return int32(0) 267 } 268 269 func (m *RoleChange_Added) SetRole(fv *Role) { 270 if m == nil { 271 panic(fmt.Errorf("can't set %s on nil %s", "Role", "RoleChange_Added")) 272 } 273 m.Role = fv 274 } 275 276 func (m *RoleChange_Added) SetViewIndex(fv int32) { 277 if m == nil { 278 panic(fmt.Errorf("can't set %s on nil %s", "ViewIndex", "RoleChange_Added")) 279 } 280 m.ViewIndex = fv 281 } 282 283 // Role changed some of it's fields - contains either full document or masked 284 // change 285 type RoleChange_Modified struct { 286 state protoimpl.MessageState 287 sizeCache protoimpl.SizeCache 288 unknownFields protoimpl.UnknownFields 289 // Name of modified Role 290 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 291 // New version of Role or masked difference, depending on mask_changes 292 // instrumentation of issued [WatchRoleRequest] or [WatchRolesRequest] 293 Role *Role `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` 294 // Used when mask_changes is set, contains field paths of modified 295 // properties. 296 FieldMask *Role_FieldMask `protobuf:"bytes,3,opt,customtype=Role_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` 297 // Previous view index specifies previous position of modified Role. 298 // When modification doesn't affect sorted order, value will remain 299 // identical to [view_index]. 300 PreviousViewIndex int32 `protobuf:"varint,4,opt,name=previous_view_index,json=previousViewIndex,proto3" json:"previous_view_index,omitempty"` 301 // Integer specifying Role new index in resulting query view. 302 ViewIndex int32 `protobuf:"varint,5,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty"` 303 } 304 305 func (m *RoleChange_Modified) Reset() { 306 *m = RoleChange_Modified{} 307 if protoimpl.UnsafeEnabled { 308 mi := &edgelq_iam_proto_v1_role_change_proto_msgTypes[2] 309 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 310 ms.StoreMessageInfo(mi) 311 } 312 } 313 314 func (m *RoleChange_Modified) String() string { 315 return protoimpl.X.MessageStringOf(m) 316 } 317 318 func (*RoleChange_Modified) ProtoMessage() {} 319 320 func (m *RoleChange_Modified) ProtoReflect() preflect.Message { 321 mi := &edgelq_iam_proto_v1_role_change_proto_msgTypes[2] 322 if protoimpl.UnsafeEnabled && m != nil { 323 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 324 if ms.LoadMessageInfo() == nil { 325 ms.StoreMessageInfo(mi) 326 } 327 return ms 328 } 329 return mi.MessageOf(m) 330 } 331 332 func (*RoleChange_Modified) GotenMessage() {} 333 334 // Deprecated, Use RoleChange_Modified.ProtoReflect.Descriptor instead. 335 func (*RoleChange_Modified) Descriptor() ([]byte, []int) { 336 return edgelq_iam_proto_v1_role_change_proto_rawDescGZIP(), []int{0, 1} 337 } 338 339 func (m *RoleChange_Modified) Unmarshal(b []byte) error { 340 return proto.Unmarshal(b, m) 341 } 342 343 func (m *RoleChange_Modified) Marshal() ([]byte, error) { 344 return proto.Marshal(m) 345 } 346 347 func (m *RoleChange_Modified) MarshalJSON() ([]byte, error) { 348 return protojson.MarshalOptions{}.Marshal(m) 349 } 350 351 func (m *RoleChange_Modified) UnmarshalJSON(data []byte) error { 352 return protojson.Unmarshal(data, m) 353 } 354 355 func (m *RoleChange_Modified) GetName() *Name { 356 if m != nil { 357 return m.Name 358 } 359 return nil 360 } 361 362 func (m *RoleChange_Modified) GetRole() *Role { 363 if m != nil { 364 return m.Role 365 } 366 return nil 367 } 368 369 func (m *RoleChange_Modified) GetFieldMask() *Role_FieldMask { 370 if m != nil { 371 return m.FieldMask 372 } 373 return nil 374 } 375 376 func (m *RoleChange_Modified) GetPreviousViewIndex() int32 { 377 if m != nil { 378 return m.PreviousViewIndex 379 } 380 return int32(0) 381 } 382 383 func (m *RoleChange_Modified) GetViewIndex() int32 { 384 if m != nil { 385 return m.ViewIndex 386 } 387 return int32(0) 388 } 389 390 func (m *RoleChange_Modified) SetName(fv *Name) { 391 if m == nil { 392 panic(fmt.Errorf("can't set %s on nil %s", "Name", "RoleChange_Modified")) 393 } 394 m.Name = fv 395 } 396 397 func (m *RoleChange_Modified) SetRole(fv *Role) { 398 if m == nil { 399 panic(fmt.Errorf("can't set %s on nil %s", "Role", "RoleChange_Modified")) 400 } 401 m.Role = fv 402 } 403 404 func (m *RoleChange_Modified) SetFieldMask(fv *Role_FieldMask) { 405 if m == nil { 406 panic(fmt.Errorf("can't set %s on nil %s", "FieldMask", "RoleChange_Modified")) 407 } 408 m.FieldMask = fv 409 } 410 411 func (m *RoleChange_Modified) SetPreviousViewIndex(fv int32) { 412 if m == nil { 413 panic(fmt.Errorf("can't set %s on nil %s", "PreviousViewIndex", "RoleChange_Modified")) 414 } 415 m.PreviousViewIndex = fv 416 } 417 418 func (m *RoleChange_Modified) SetViewIndex(fv int32) { 419 if m == nil { 420 panic(fmt.Errorf("can't set %s on nil %s", "ViewIndex", "RoleChange_Modified")) 421 } 422 m.ViewIndex = fv 423 } 424 425 // Role has been added or modified in a query view. Version used for stateless 426 // watching 427 type RoleChange_Current struct { 428 state protoimpl.MessageState 429 sizeCache protoimpl.SizeCache 430 unknownFields protoimpl.UnknownFields 431 Role *Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` 432 } 433 434 func (m *RoleChange_Current) Reset() { 435 *m = RoleChange_Current{} 436 if protoimpl.UnsafeEnabled { 437 mi := &edgelq_iam_proto_v1_role_change_proto_msgTypes[3] 438 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 439 ms.StoreMessageInfo(mi) 440 } 441 } 442 443 func (m *RoleChange_Current) String() string { 444 return protoimpl.X.MessageStringOf(m) 445 } 446 447 func (*RoleChange_Current) ProtoMessage() {} 448 449 func (m *RoleChange_Current) ProtoReflect() preflect.Message { 450 mi := &edgelq_iam_proto_v1_role_change_proto_msgTypes[3] 451 if protoimpl.UnsafeEnabled && m != nil { 452 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 453 if ms.LoadMessageInfo() == nil { 454 ms.StoreMessageInfo(mi) 455 } 456 return ms 457 } 458 return mi.MessageOf(m) 459 } 460 461 func (*RoleChange_Current) GotenMessage() {} 462 463 // Deprecated, Use RoleChange_Current.ProtoReflect.Descriptor instead. 464 func (*RoleChange_Current) Descriptor() ([]byte, []int) { 465 return edgelq_iam_proto_v1_role_change_proto_rawDescGZIP(), []int{0, 2} 466 } 467 468 func (m *RoleChange_Current) Unmarshal(b []byte) error { 469 return proto.Unmarshal(b, m) 470 } 471 472 func (m *RoleChange_Current) Marshal() ([]byte, error) { 473 return proto.Marshal(m) 474 } 475 476 func (m *RoleChange_Current) MarshalJSON() ([]byte, error) { 477 return protojson.MarshalOptions{}.Marshal(m) 478 } 479 480 func (m *RoleChange_Current) UnmarshalJSON(data []byte) error { 481 return protojson.Unmarshal(data, m) 482 } 483 484 func (m *RoleChange_Current) GetRole() *Role { 485 if m != nil { 486 return m.Role 487 } 488 return nil 489 } 490 491 func (m *RoleChange_Current) SetRole(fv *Role) { 492 if m == nil { 493 panic(fmt.Errorf("can't set %s on nil %s", "Role", "RoleChange_Current")) 494 } 495 m.Role = fv 496 } 497 498 // Removed is returned when Role is deleted or leaves Query view 499 type RoleChange_Removed struct { 500 state protoimpl.MessageState 501 sizeCache protoimpl.SizeCache 502 unknownFields protoimpl.UnknownFields 503 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 504 // Integer specifying removed Role index. Not populated in stateless watch 505 // type. 506 ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty"` 507 } 508 509 func (m *RoleChange_Removed) Reset() { 510 *m = RoleChange_Removed{} 511 if protoimpl.UnsafeEnabled { 512 mi := &edgelq_iam_proto_v1_role_change_proto_msgTypes[4] 513 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 514 ms.StoreMessageInfo(mi) 515 } 516 } 517 518 func (m *RoleChange_Removed) String() string { 519 return protoimpl.X.MessageStringOf(m) 520 } 521 522 func (*RoleChange_Removed) ProtoMessage() {} 523 524 func (m *RoleChange_Removed) ProtoReflect() preflect.Message { 525 mi := &edgelq_iam_proto_v1_role_change_proto_msgTypes[4] 526 if protoimpl.UnsafeEnabled && m != nil { 527 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 528 if ms.LoadMessageInfo() == nil { 529 ms.StoreMessageInfo(mi) 530 } 531 return ms 532 } 533 return mi.MessageOf(m) 534 } 535 536 func (*RoleChange_Removed) GotenMessage() {} 537 538 // Deprecated, Use RoleChange_Removed.ProtoReflect.Descriptor instead. 539 func (*RoleChange_Removed) Descriptor() ([]byte, []int) { 540 return edgelq_iam_proto_v1_role_change_proto_rawDescGZIP(), []int{0, 3} 541 } 542 543 func (m *RoleChange_Removed) Unmarshal(b []byte) error { 544 return proto.Unmarshal(b, m) 545 } 546 547 func (m *RoleChange_Removed) Marshal() ([]byte, error) { 548 return proto.Marshal(m) 549 } 550 551 func (m *RoleChange_Removed) MarshalJSON() ([]byte, error) { 552 return protojson.MarshalOptions{}.Marshal(m) 553 } 554 555 func (m *RoleChange_Removed) UnmarshalJSON(data []byte) error { 556 return protojson.Unmarshal(data, m) 557 } 558 559 func (m *RoleChange_Removed) GetName() *Name { 560 if m != nil { 561 return m.Name 562 } 563 return nil 564 } 565 566 func (m *RoleChange_Removed) GetViewIndex() int32 { 567 if m != nil { 568 return m.ViewIndex 569 } 570 return int32(0) 571 } 572 573 func (m *RoleChange_Removed) SetName(fv *Name) { 574 if m == nil { 575 panic(fmt.Errorf("can't set %s on nil %s", "Name", "RoleChange_Removed")) 576 } 577 m.Name = fv 578 } 579 580 func (m *RoleChange_Removed) SetViewIndex(fv int32) { 581 if m == nil { 582 panic(fmt.Errorf("can't set %s on nil %s", "ViewIndex", "RoleChange_Removed")) 583 } 584 m.ViewIndex = fv 585 } 586 587 var edgelq_iam_proto_v1_role_change_proto preflect.FileDescriptor 588 589 var edgelq_iam_proto_v1_role_change_proto_rawDesc = []byte{ 590 0x0a, 0x25, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 591 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 592 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 593 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 594 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 595 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 596 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 597 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 598 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 599 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 600 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 601 0x6f, 0x1a, 0x1e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 602 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 603 0x6f, 0x22, 0xcc, 0x05, 0x0a, 0x0a, 0x52, 0x6f, 0x6c, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 604 0x12, 0x34, 0x0a, 0x05, 0x61, 0x64, 0x64, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 605 0x1c, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 606 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x65, 0x64, 0x48, 0x00, 0x52, 607 0x05, 0x61, 0x64, 0x64, 0x65, 0x64, 0x12, 0x3d, 0x0a, 0x08, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 608 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 609 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 610 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x6f, 0x64, 611 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x3a, 0x0a, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 612 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 613 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x43, 614 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 615 0x74, 0x12, 0x3a, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 616 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 617 0x52, 0x6f, 0x6c, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 618 0x65, 0x64, 0x48, 0x00, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x1a, 0x4c, 0x0a, 619 0x05, 0x41, 0x64, 0x64, 0x65, 0x64, 0x12, 0x24, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 620 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 621 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 622 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 623 0x52, 0x09, 0x76, 0x69, 0x65, 0x77, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x1a, 0xea, 0x01, 0x0a, 0x08, 624 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 625 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0c, 0xb2, 0xda, 0x21, 0x08, 0x0a, 0x06, 0x0a, 0x04, 626 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x72, 0x6f, 627 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 628 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 629 0x12, 0x47, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 630 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 631 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 632 0x42, 0x0c, 0xb2, 0xda, 0x21, 0x08, 0x32, 0x06, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x09, 633 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x2e, 0x0a, 0x13, 0x70, 0x72, 0x65, 634 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 635 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 636 0x56, 0x69, 0x65, 0x77, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x69, 0x65, 637 0x77, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x76, 638 0x69, 0x65, 0x77, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x1a, 0x2f, 0x0a, 0x07, 0x43, 0x75, 0x72, 0x72, 639 0x65, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 640 0x0b, 0x32, 0x10, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x52, 641 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x1a, 0x4a, 0x0a, 0x07, 0x52, 0x65, 0x6d, 642 0x6f, 0x76, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 643 0x28, 0x09, 0x42, 0x0c, 0xb2, 0xda, 0x21, 0x08, 0x0a, 0x06, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 644 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 645 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x76, 0x69, 0x65, 0x77, 646 0x49, 0x6e, 0x64, 0x65, 0x78, 0x3a, 0x0a, 0x9a, 0xd9, 0x21, 0x06, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 647 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 648 0x42, 0x61, 0xe8, 0xde, 0x21, 0x00, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 649 0x69, 0x61, 0x6d, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x52, 0x6f, 0x6c, 0x65, 0x43, 650 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x00, 0x5a, 0x35, 0x67, 0x69, 651 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 652 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x72, 0x65, 0x73, 653 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x3b, 0x72, 654 0x6f, 0x6c, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 655 } 656 657 var ( 658 edgelq_iam_proto_v1_role_change_proto_rawDescOnce sync.Once 659 edgelq_iam_proto_v1_role_change_proto_rawDescData = edgelq_iam_proto_v1_role_change_proto_rawDesc 660 ) 661 662 func edgelq_iam_proto_v1_role_change_proto_rawDescGZIP() []byte { 663 edgelq_iam_proto_v1_role_change_proto_rawDescOnce.Do(func() { 664 edgelq_iam_proto_v1_role_change_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_iam_proto_v1_role_change_proto_rawDescData) 665 }) 666 return edgelq_iam_proto_v1_role_change_proto_rawDescData 667 } 668 669 var edgelq_iam_proto_v1_role_change_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 670 var edgelq_iam_proto_v1_role_change_proto_goTypes = []interface{}{ 671 (*RoleChange)(nil), // 0: ntt.iam.v1.RoleChange 672 (*RoleChange_Added)(nil), // 1: ntt.iam.v1.RoleChange.Added 673 (*RoleChange_Modified)(nil), // 2: ntt.iam.v1.RoleChange.Modified 674 (*RoleChange_Current)(nil), // 3: ntt.iam.v1.RoleChange.Current 675 (*RoleChange_Removed)(nil), // 4: ntt.iam.v1.RoleChange.Removed 676 (*Role)(nil), // 5: ntt.iam.v1.Role 677 (*Role_FieldMask)(nil), // 6: ntt.iam.v1.Role_FieldMask 678 } 679 var edgelq_iam_proto_v1_role_change_proto_depIdxs = []int32{ 680 1, // 0: ntt.iam.v1.RoleChange.added:type_name -> ntt.iam.v1.RoleChange.Added 681 2, // 1: ntt.iam.v1.RoleChange.modified:type_name -> ntt.iam.v1.RoleChange.Modified 682 3, // 2: ntt.iam.v1.RoleChange.current:type_name -> ntt.iam.v1.RoleChange.Current 683 4, // 3: ntt.iam.v1.RoleChange.removed:type_name -> ntt.iam.v1.RoleChange.Removed 684 5, // 4: ntt.iam.v1.RoleChange.Added.role:type_name -> ntt.iam.v1.Role 685 5, // 5: ntt.iam.v1.RoleChange.Modified.role:type_name -> ntt.iam.v1.Role 686 6, // 6: ntt.iam.v1.RoleChange.Modified.field_mask:type_name -> ntt.iam.v1.Role_FieldMask 687 5, // 7: ntt.iam.v1.RoleChange.Current.role:type_name -> ntt.iam.v1.Role 688 8, // [8:8] is the sub-list for method output_type 689 8, // [8:8] is the sub-list for method input_type 690 8, // [8:8] is the sub-list for extension type_name 691 8, // [8:8] is the sub-list for extension extendee 692 0, // [0:8] is the sub-list for field type_name 693 } 694 695 func init() { edgelq_iam_proto_v1_role_change_proto_init() } 696 func edgelq_iam_proto_v1_role_change_proto_init() { 697 if edgelq_iam_proto_v1_role_change_proto != nil { 698 return 699 } 700 if !protoimpl.UnsafeEnabled { 701 702 edgelq_iam_proto_v1_role_change_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 703 switch v := v.(*RoleChange); i { 704 case 0: 705 return &v.state 706 case 1: 707 return &v.sizeCache 708 case 2: 709 return &v.unknownFields 710 default: 711 return nil 712 } 713 } 714 edgelq_iam_proto_v1_role_change_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 715 switch v := v.(*RoleChange_Added); i { 716 case 0: 717 return &v.state 718 case 1: 719 return &v.sizeCache 720 case 2: 721 return &v.unknownFields 722 default: 723 return nil 724 } 725 } 726 edgelq_iam_proto_v1_role_change_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 727 switch v := v.(*RoleChange_Modified); i { 728 case 0: 729 return &v.state 730 case 1: 731 return &v.sizeCache 732 case 2: 733 return &v.unknownFields 734 default: 735 return nil 736 } 737 } 738 edgelq_iam_proto_v1_role_change_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 739 switch v := v.(*RoleChange_Current); i { 740 case 0: 741 return &v.state 742 case 1: 743 return &v.sizeCache 744 case 2: 745 return &v.unknownFields 746 default: 747 return nil 748 } 749 } 750 edgelq_iam_proto_v1_role_change_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 751 switch v := v.(*RoleChange_Removed); i { 752 case 0: 753 return &v.state 754 case 1: 755 return &v.sizeCache 756 case 2: 757 return &v.unknownFields 758 default: 759 return nil 760 } 761 } 762 } 763 764 edgelq_iam_proto_v1_role_change_proto_msgTypes[0].OneofWrappers = []interface{}{ 765 (*RoleChange_Added_)(nil), 766 (*RoleChange_Modified_)(nil), 767 (*RoleChange_Current_)(nil), 768 (*RoleChange_Removed_)(nil), 769 } 770 type x struct{} 771 out := protoimpl.TypeBuilder{ 772 File: protoimpl.DescBuilder{ 773 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 774 RawDescriptor: edgelq_iam_proto_v1_role_change_proto_rawDesc, 775 NumEnums: 0, 776 NumMessages: 5, 777 NumExtensions: 0, 778 NumServices: 0, 779 }, 780 GoTypes: edgelq_iam_proto_v1_role_change_proto_goTypes, 781 DependencyIndexes: edgelq_iam_proto_v1_role_change_proto_depIdxs, 782 MessageInfos: edgelq_iam_proto_v1_role_change_proto_msgTypes, 783 }.Build() 784 edgelq_iam_proto_v1_role_change_proto = out.File 785 edgelq_iam_proto_v1_role_change_proto_rawDesc = nil 786 edgelq_iam_proto_v1_role_change_proto_goTypes = nil 787 edgelq_iam_proto_v1_role_change_proto_depIdxs = nil 788 }