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