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