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