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