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