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