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