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