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