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