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