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