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