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