github.com/cloudwan/edgelq-sdk@v1.15.4/devices/client/v1/broker/broker_msgs.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/devices/proto/v1/broker_msgs.proto 3 // DO NOT EDIT!!! 4 5 package broker 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 21 // Reference imports to suppress errors if they are not otherwise used. 22 var ( 23 _ = fmt.Errorf 24 _ = reflect.Method{} 25 _ = sync.Once{} 26 27 _ = protojson.MarshalOptions{} 28 _ = proto.MarshalOptions{} 29 _ = preflect.Value{} 30 _ = protoimpl.DescBuilder{} 31 ) 32 33 // make sure we're using proto imports 34 var () 35 36 const ( 37 // Verify that this generated code is sufficiently up-to-date. 38 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 39 // Verify that runtime/protoimpl is sufficiently up-to-date. 40 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 41 ) 42 43 // Broker dedicated messages 44 type BrokerServiceType int32 45 46 const ( 47 // Service type not specified 48 BrokerServiceType_BROKER_SERVICE_UNSPECIFIED BrokerServiceType = 0 49 // SSH service 50 BrokerServiceType_BROKER_SERVICE_SSH_LEGACY BrokerServiceType = 1 51 BrokerServiceType_BROKER_SERVICE_SSH BrokerServiceType = 3 52 // TCP port forward service 53 BrokerServiceType_BROKER_SERVICE_TCP_FORWARD_PORT BrokerServiceType = 2 54 // Reboot service 55 BrokerServiceType_BROKER_SERVICE_REBOOT BrokerServiceType = 4 56 // Shutdown service 57 BrokerServiceType_BROKER_SERVICE_SHUTDOWN BrokerServiceType = 5 58 // SCP service 59 BrokerServiceType_BROKER_SERVICE_SCP BrokerServiceType = 6 60 BrokerServiceType_BROKER_SERVICE_SCP_LEGACY BrokerServiceType = 7 61 // System Logs service 62 BrokerServiceType_BROKER_SYS_LOGS BrokerServiceType = 8 63 // Application (Container) Logs service 64 BrokerServiceType_BROKER_APP_LOGS BrokerServiceType = 9 65 // Pod State Management service 66 BrokerServiceType_BROKER_POD_MANAGEMENT BrokerServiceType = 10 67 ) 68 69 var ( 70 BrokerServiceType_name = map[int32]string{ 71 0: "BROKER_SERVICE_UNSPECIFIED", 72 1: "BROKER_SERVICE_SSH_LEGACY", 73 3: "BROKER_SERVICE_SSH", 74 2: "BROKER_SERVICE_TCP_FORWARD_PORT", 75 4: "BROKER_SERVICE_REBOOT", 76 5: "BROKER_SERVICE_SHUTDOWN", 77 6: "BROKER_SERVICE_SCP", 78 7: "BROKER_SERVICE_SCP_LEGACY", 79 8: "BROKER_SYS_LOGS", 80 9: "BROKER_APP_LOGS", 81 10: "BROKER_POD_MANAGEMENT", 82 } 83 84 BrokerServiceType_value = map[string]int32{ 85 "BROKER_SERVICE_UNSPECIFIED": 0, 86 "BROKER_SERVICE_SSH_LEGACY": 1, 87 "BROKER_SERVICE_SSH": 3, 88 "BROKER_SERVICE_TCP_FORWARD_PORT": 2, 89 "BROKER_SERVICE_REBOOT": 4, 90 "BROKER_SERVICE_SHUTDOWN": 5, 91 "BROKER_SERVICE_SCP": 6, 92 "BROKER_SERVICE_SCP_LEGACY": 7, 93 "BROKER_SYS_LOGS": 8, 94 "BROKER_APP_LOGS": 9, 95 "BROKER_POD_MANAGEMENT": 10, 96 } 97 ) 98 99 func (x BrokerServiceType) Enum() *BrokerServiceType { 100 p := new(BrokerServiceType) 101 *p = x 102 return p 103 } 104 105 func (x BrokerServiceType) String() string { 106 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 107 } 108 109 func (BrokerServiceType) Descriptor() preflect.EnumDescriptor { 110 return edgelq_devices_proto_v1_broker_msgs_proto_enumTypes[0].Descriptor() 111 } 112 113 func (BrokerServiceType) Type() preflect.EnumType { 114 return &edgelq_devices_proto_v1_broker_msgs_proto_enumTypes[0] 115 } 116 117 func (x BrokerServiceType) Number() preflect.EnumNumber { 118 return preflect.EnumNumber(x) 119 } 120 121 // Deprecated, Use BrokerServiceType.ProtoReflect.Descriptor instead. 122 func (BrokerServiceType) EnumDescriptor() ([]byte, []int) { 123 return edgelq_devices_proto_v1_broker_msgs_proto_rawDescGZIP(), []int{0} 124 } 125 126 type SCPService_Configure_Direction int32 127 128 const ( 129 SCPService_Configure_DOWNLOAD SCPService_Configure_Direction = 0 130 SCPService_Configure_UPLOAD SCPService_Configure_Direction = 1 131 ) 132 133 var ( 134 SCPService_Configure_Direction_name = map[int32]string{ 135 0: "DOWNLOAD", 136 1: "UPLOAD", 137 } 138 139 SCPService_Configure_Direction_value = map[string]int32{ 140 "DOWNLOAD": 0, 141 "UPLOAD": 1, 142 } 143 ) 144 145 func (x SCPService_Configure_Direction) Enum() *SCPService_Configure_Direction { 146 p := new(SCPService_Configure_Direction) 147 *p = x 148 return p 149 } 150 151 func (x SCPService_Configure_Direction) String() string { 152 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 153 } 154 155 func (SCPService_Configure_Direction) Descriptor() preflect.EnumDescriptor { 156 return edgelq_devices_proto_v1_broker_msgs_proto_enumTypes[1].Descriptor() 157 } 158 159 func (SCPService_Configure_Direction) Type() preflect.EnumType { 160 return &edgelq_devices_proto_v1_broker_msgs_proto_enumTypes[1] 161 } 162 163 func (x SCPService_Configure_Direction) Number() preflect.EnumNumber { 164 return preflect.EnumNumber(x) 165 } 166 167 // Deprecated, Use SCPService_Configure_Direction.ProtoReflect.Descriptor instead. 168 func (SCPService_Configure_Direction) EnumDescriptor() ([]byte, []int) { 169 return edgelq_devices_proto_v1_broker_msgs_proto_rawDescGZIP(), []int{1, 0, 0} 170 } 171 172 // Commands for pod state management 173 type PodManagementService_PodState int32 174 175 const ( 176 // Unspecified pod state 177 PodManagementService_UNSPECIFIED PodManagementService_PodState = 0 178 // Start the pod 179 PodManagementService_START PodManagementService_PodState = 1 180 // Stop the pod 181 PodManagementService_STOP PodManagementService_PodState = 2 182 // Restart the pod 183 PodManagementService_RESTART PodManagementService_PodState = 3 184 ) 185 186 var ( 187 PodManagementService_PodState_name = map[int32]string{ 188 0: "UNSPECIFIED", 189 1: "START", 190 2: "STOP", 191 3: "RESTART", 192 } 193 194 PodManagementService_PodState_value = map[string]int32{ 195 "UNSPECIFIED": 0, 196 "START": 1, 197 "STOP": 2, 198 "RESTART": 3, 199 } 200 ) 201 202 func (x PodManagementService_PodState) Enum() *PodManagementService_PodState { 203 p := new(PodManagementService_PodState) 204 *p = x 205 return p 206 } 207 208 func (x PodManagementService_PodState) String() string { 209 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 210 } 211 212 func (PodManagementService_PodState) Descriptor() preflect.EnumDescriptor { 213 return edgelq_devices_proto_v1_broker_msgs_proto_enumTypes[2].Descriptor() 214 } 215 216 func (PodManagementService_PodState) Type() preflect.EnumType { 217 return &edgelq_devices_proto_v1_broker_msgs_proto_enumTypes[2] 218 } 219 220 func (x PodManagementService_PodState) Number() preflect.EnumNumber { 221 return preflect.EnumNumber(x) 222 } 223 224 // Deprecated, Use PodManagementService_PodState.ProtoReflect.Descriptor instead. 225 func (PodManagementService_PodState) EnumDescriptor() ([]byte, []int) { 226 return edgelq_devices_proto_v1_broker_msgs_proto_rawDescGZIP(), []int{3, 0} 227 } 228 229 // Commands for system state management 230 type SystemStateService_SystemState int32 231 232 const ( 233 // Unspecified system state 234 SystemStateService_UNSPECIFIED SystemStateService_SystemState = 0 235 // Shutdown the system 236 SystemStateService_SHUTDOWN SystemStateService_SystemState = 1 237 // Reboot the system 238 SystemStateService_REBOOT SystemStateService_SystemState = 2 239 ) 240 241 var ( 242 SystemStateService_SystemState_name = map[int32]string{ 243 0: "UNSPECIFIED", 244 1: "SHUTDOWN", 245 2: "REBOOT", 246 } 247 248 SystemStateService_SystemState_value = map[string]int32{ 249 "UNSPECIFIED": 0, 250 "SHUTDOWN": 1, 251 "REBOOT": 2, 252 } 253 ) 254 255 func (x SystemStateService_SystemState) Enum() *SystemStateService_SystemState { 256 p := new(SystemStateService_SystemState) 257 *p = x 258 return p 259 } 260 261 func (x SystemStateService_SystemState) String() string { 262 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 263 } 264 265 func (SystemStateService_SystemState) Descriptor() preflect.EnumDescriptor { 266 return edgelq_devices_proto_v1_broker_msgs_proto_enumTypes[3].Descriptor() 267 } 268 269 func (SystemStateService_SystemState) Type() preflect.EnumType { 270 return &edgelq_devices_proto_v1_broker_msgs_proto_enumTypes[3] 271 } 272 273 func (x SystemStateService_SystemState) Number() preflect.EnumNumber { 274 return preflect.EnumNumber(x) 275 } 276 277 // Deprecated, Use SystemStateService_SystemState.ProtoReflect.Descriptor instead. 278 func (SystemStateService_SystemState) EnumDescriptor() ([]byte, []int) { 279 return edgelq_devices_proto_v1_broker_msgs_proto_rawDescGZIP(), []int{4, 0} 280 } 281 282 // Services on the device that the client connects to 283 type SSHService struct { 284 state protoimpl.MessageState 285 sizeCache protoimpl.SizeCache 286 unknownFields protoimpl.UnknownFields 287 } 288 289 func (m *SSHService) Reset() { 290 *m = SSHService{} 291 if protoimpl.UnsafeEnabled { 292 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[0] 293 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 294 ms.StoreMessageInfo(mi) 295 } 296 } 297 298 func (m *SSHService) String() string { 299 return protoimpl.X.MessageStringOf(m) 300 } 301 302 func (*SSHService) ProtoMessage() {} 303 304 func (m *SSHService) ProtoReflect() preflect.Message { 305 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[0] 306 if protoimpl.UnsafeEnabled && m != nil { 307 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 308 if ms.LoadMessageInfo() == nil { 309 ms.StoreMessageInfo(mi) 310 } 311 return ms 312 } 313 return mi.MessageOf(m) 314 } 315 316 func (*SSHService) GotenMessage() {} 317 318 // Deprecated, Use SSHService.ProtoReflect.Descriptor instead. 319 func (*SSHService) Descriptor() ([]byte, []int) { 320 return edgelq_devices_proto_v1_broker_msgs_proto_rawDescGZIP(), []int{0} 321 } 322 323 func (m *SSHService) Unmarshal(b []byte) error { 324 return proto.Unmarshal(b, m) 325 } 326 327 func (m *SSHService) Marshal() ([]byte, error) { 328 return proto.Marshal(m) 329 } 330 331 func (m *SSHService) MarshalJSON() ([]byte, error) { 332 return protojson.MarshalOptions{}.Marshal(m) 333 } 334 335 func (m *SSHService) UnmarshalJSON(data []byte) error { 336 return protojson.Unmarshal(data, m) 337 } 338 339 type SCPService struct { 340 state protoimpl.MessageState 341 sizeCache protoimpl.SizeCache 342 unknownFields protoimpl.UnknownFields 343 // Types that are valid to be assigned to Msg: 344 // *SCPService_Dir 345 // *SCPService_File 346 // *SCPService_Eot 347 // *SCPService_Config 348 Msg isSCPService_Msg `protobuf_oneof:"msg"` 349 } 350 351 func (m *SCPService) Reset() { 352 *m = SCPService{} 353 if protoimpl.UnsafeEnabled { 354 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[1] 355 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 356 ms.StoreMessageInfo(mi) 357 } 358 } 359 360 func (m *SCPService) String() string { 361 return protoimpl.X.MessageStringOf(m) 362 } 363 364 func (*SCPService) ProtoMessage() {} 365 366 func (m *SCPService) ProtoReflect() preflect.Message { 367 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[1] 368 if protoimpl.UnsafeEnabled && m != nil { 369 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 370 if ms.LoadMessageInfo() == nil { 371 ms.StoreMessageInfo(mi) 372 } 373 return ms 374 } 375 return mi.MessageOf(m) 376 } 377 378 func (*SCPService) GotenMessage() {} 379 380 // Deprecated, Use SCPService.ProtoReflect.Descriptor instead. 381 func (*SCPService) Descriptor() ([]byte, []int) { 382 return edgelq_devices_proto_v1_broker_msgs_proto_rawDescGZIP(), []int{1} 383 } 384 385 func (m *SCPService) Unmarshal(b []byte) error { 386 return proto.Unmarshal(b, m) 387 } 388 389 func (m *SCPService) Marshal() ([]byte, error) { 390 return proto.Marshal(m) 391 } 392 393 func (m *SCPService) MarshalJSON() ([]byte, error) { 394 return protojson.MarshalOptions{}.Marshal(m) 395 } 396 397 func (m *SCPService) UnmarshalJSON(data []byte) error { 398 return protojson.Unmarshal(data, m) 399 } 400 401 type isSCPService_Msg interface { 402 isSCPService_Msg() 403 } 404 405 type SCPService_Dir struct { 406 // Request to create a directory 407 Dir *SCPService_CreateDirectory `protobuf:"bytes,1,opt,name=dir,proto3,oneof"` 408 } 409 type SCPService_File struct { 410 // Request to create a file 411 File *SCPService_CreateFile `protobuf:"bytes,2,opt,name=file,proto3,oneof"` 412 } 413 type SCPService_Eot struct { 414 // Request to end SCP transfer 415 Eot bool `protobuf:"varint,3,opt,name=eot,proto3,oneof"` 416 } 417 type SCPService_Config struct { 418 // Request SCP configuration 419 Config *SCPService_Configure `protobuf:"bytes,4,opt,name=config,proto3,oneof"` 420 } 421 422 func (*SCPService_Dir) isSCPService_Msg() {} 423 func (*SCPService_File) isSCPService_Msg() {} 424 func (*SCPService_Eot) isSCPService_Msg() {} 425 func (*SCPService_Config) isSCPService_Msg() {} 426 func (m *SCPService) GetMsg() isSCPService_Msg { 427 if m != nil { 428 return m.Msg 429 } 430 return nil 431 } 432 func (m *SCPService) GetDir() *SCPService_CreateDirectory { 433 if x, ok := m.GetMsg().(*SCPService_Dir); ok { 434 return x.Dir 435 } 436 return nil 437 } 438 func (m *SCPService) GetFile() *SCPService_CreateFile { 439 if x, ok := m.GetMsg().(*SCPService_File); ok { 440 return x.File 441 } 442 return nil 443 } 444 func (m *SCPService) GetEot() bool { 445 if x, ok := m.GetMsg().(*SCPService_Eot); ok { 446 return x.Eot 447 } 448 return false 449 } 450 func (m *SCPService) GetConfig() *SCPService_Configure { 451 if x, ok := m.GetMsg().(*SCPService_Config); ok { 452 return x.Config 453 } 454 return nil 455 } 456 func (m *SCPService) SetMsg(ofv isSCPService_Msg) { 457 if m == nil { 458 panic(fmt.Errorf("can't set %s on nil %s", "isSCPService_Msg", "SCPService")) 459 } 460 m.Msg = ofv 461 } 462 func (m *SCPService) SetDir(fv *SCPService_CreateDirectory) { 463 m.SetMsg(&SCPService_Dir{Dir: fv}) 464 } 465 func (m *SCPService) SetFile(fv *SCPService_CreateFile) { 466 m.SetMsg(&SCPService_File{File: fv}) 467 } 468 func (m *SCPService) SetEot(fv bool) { 469 m.SetMsg(&SCPService_Eot{Eot: fv}) 470 } 471 func (m *SCPService) SetConfig(fv *SCPService_Configure) { 472 m.SetMsg(&SCPService_Config{Config: fv}) 473 } 474 475 type LogsService struct { 476 state protoimpl.MessageState 477 sizeCache protoimpl.SizeCache 478 unknownFields protoimpl.UnknownFields 479 } 480 481 func (m *LogsService) Reset() { 482 *m = LogsService{} 483 if protoimpl.UnsafeEnabled { 484 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[2] 485 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 486 ms.StoreMessageInfo(mi) 487 } 488 } 489 490 func (m *LogsService) String() string { 491 return protoimpl.X.MessageStringOf(m) 492 } 493 494 func (*LogsService) ProtoMessage() {} 495 496 func (m *LogsService) ProtoReflect() preflect.Message { 497 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[2] 498 if protoimpl.UnsafeEnabled && m != nil { 499 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 500 if ms.LoadMessageInfo() == nil { 501 ms.StoreMessageInfo(mi) 502 } 503 return ms 504 } 505 return mi.MessageOf(m) 506 } 507 508 func (*LogsService) GotenMessage() {} 509 510 // Deprecated, Use LogsService.ProtoReflect.Descriptor instead. 511 func (*LogsService) Descriptor() ([]byte, []int) { 512 return edgelq_devices_proto_v1_broker_msgs_proto_rawDescGZIP(), []int{2} 513 } 514 515 func (m *LogsService) Unmarshal(b []byte) error { 516 return proto.Unmarshal(b, m) 517 } 518 519 func (m *LogsService) Marshal() ([]byte, error) { 520 return proto.Marshal(m) 521 } 522 523 func (m *LogsService) MarshalJSON() ([]byte, error) { 524 return protojson.MarshalOptions{}.Marshal(m) 525 } 526 527 func (m *LogsService) UnmarshalJSON(data []byte) error { 528 return protojson.Unmarshal(data, m) 529 } 530 531 type PodManagementService struct { 532 state protoimpl.MessageState 533 sizeCache protoimpl.SizeCache 534 unknownFields protoimpl.UnknownFields 535 // Pod state command 536 Command PodManagementService_PodState `protobuf:"varint,1,opt,name=command,proto3,enum=ntt.devices.v1.PodManagementService_PodState" json:"command,omitempty"` 537 // Pod to execute the command on 538 Pod string `protobuf:"bytes,2,opt,name=pod,proto3" json:"pod,omitempty"` 539 // Service (container) name to execute the command on (empty = acts on the 540 // entire pod) 541 Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"` 542 } 543 544 func (m *PodManagementService) Reset() { 545 *m = PodManagementService{} 546 if protoimpl.UnsafeEnabled { 547 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[3] 548 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 549 ms.StoreMessageInfo(mi) 550 } 551 } 552 553 func (m *PodManagementService) String() string { 554 return protoimpl.X.MessageStringOf(m) 555 } 556 557 func (*PodManagementService) ProtoMessage() {} 558 559 func (m *PodManagementService) ProtoReflect() preflect.Message { 560 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[3] 561 if protoimpl.UnsafeEnabled && m != nil { 562 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 563 if ms.LoadMessageInfo() == nil { 564 ms.StoreMessageInfo(mi) 565 } 566 return ms 567 } 568 return mi.MessageOf(m) 569 } 570 571 func (*PodManagementService) GotenMessage() {} 572 573 // Deprecated, Use PodManagementService.ProtoReflect.Descriptor instead. 574 func (*PodManagementService) Descriptor() ([]byte, []int) { 575 return edgelq_devices_proto_v1_broker_msgs_proto_rawDescGZIP(), []int{3} 576 } 577 578 func (m *PodManagementService) Unmarshal(b []byte) error { 579 return proto.Unmarshal(b, m) 580 } 581 582 func (m *PodManagementService) Marshal() ([]byte, error) { 583 return proto.Marshal(m) 584 } 585 586 func (m *PodManagementService) MarshalJSON() ([]byte, error) { 587 return protojson.MarshalOptions{}.Marshal(m) 588 } 589 590 func (m *PodManagementService) UnmarshalJSON(data []byte) error { 591 return protojson.Unmarshal(data, m) 592 } 593 594 func (m *PodManagementService) GetCommand() PodManagementService_PodState { 595 if m != nil { 596 return m.Command 597 } 598 return PodManagementService_UNSPECIFIED 599 } 600 601 func (m *PodManagementService) GetPod() string { 602 if m != nil { 603 return m.Pod 604 } 605 return "" 606 } 607 608 func (m *PodManagementService) GetService() string { 609 if m != nil { 610 return m.Service 611 } 612 return "" 613 } 614 615 func (m *PodManagementService) SetCommand(fv PodManagementService_PodState) { 616 if m == nil { 617 panic(fmt.Errorf("can't set %s on nil %s", "Command", "PodManagementService")) 618 } 619 m.Command = fv 620 } 621 622 func (m *PodManagementService) SetPod(fv string) { 623 if m == nil { 624 panic(fmt.Errorf("can't set %s on nil %s", "Pod", "PodManagementService")) 625 } 626 m.Pod = fv 627 } 628 629 func (m *PodManagementService) SetService(fv string) { 630 if m == nil { 631 panic(fmt.Errorf("can't set %s on nil %s", "Service", "PodManagementService")) 632 } 633 m.Service = fv 634 } 635 636 type SystemStateService struct { 637 state protoimpl.MessageState 638 sizeCache protoimpl.SizeCache 639 unknownFields protoimpl.UnknownFields 640 } 641 642 func (m *SystemStateService) Reset() { 643 *m = SystemStateService{} 644 if protoimpl.UnsafeEnabled { 645 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[4] 646 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 647 ms.StoreMessageInfo(mi) 648 } 649 } 650 651 func (m *SystemStateService) String() string { 652 return protoimpl.X.MessageStringOf(m) 653 } 654 655 func (*SystemStateService) ProtoMessage() {} 656 657 func (m *SystemStateService) ProtoReflect() preflect.Message { 658 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[4] 659 if protoimpl.UnsafeEnabled && m != nil { 660 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 661 if ms.LoadMessageInfo() == nil { 662 ms.StoreMessageInfo(mi) 663 } 664 return ms 665 } 666 return mi.MessageOf(m) 667 } 668 669 func (*SystemStateService) GotenMessage() {} 670 671 // Deprecated, Use SystemStateService.ProtoReflect.Descriptor instead. 672 func (*SystemStateService) Descriptor() ([]byte, []int) { 673 return edgelq_devices_proto_v1_broker_msgs_proto_rawDescGZIP(), []int{4} 674 } 675 676 func (m *SystemStateService) Unmarshal(b []byte) error { 677 return proto.Unmarshal(b, m) 678 } 679 680 func (m *SystemStateService) Marshal() ([]byte, error) { 681 return proto.Marshal(m) 682 } 683 684 func (m *SystemStateService) MarshalJSON() ([]byte, error) { 685 return protojson.MarshalOptions{}.Marshal(m) 686 } 687 688 func (m *SystemStateService) UnmarshalJSON(data []byte) error { 689 return protojson.Unmarshal(data, m) 690 } 691 692 type SSHService_Hello struct { 693 state protoimpl.MessageState 694 sizeCache protoimpl.SizeCache 695 unknownFields protoimpl.UnknownFields 696 User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` 697 Command []string `protobuf:"bytes,2,rep,name=command,proto3" json:"command,omitempty"` 698 // Environment (optional) 699 Env map[string]string `protobuf:"bytes,3,rep,name=env,proto3" json:"env,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 700 } 701 702 func (m *SSHService_Hello) Reset() { 703 *m = SSHService_Hello{} 704 if protoimpl.UnsafeEnabled { 705 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[5] 706 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 707 ms.StoreMessageInfo(mi) 708 } 709 } 710 711 func (m *SSHService_Hello) String() string { 712 return protoimpl.X.MessageStringOf(m) 713 } 714 715 func (*SSHService_Hello) ProtoMessage() {} 716 717 func (m *SSHService_Hello) ProtoReflect() preflect.Message { 718 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[5] 719 if protoimpl.UnsafeEnabled && m != nil { 720 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 721 if ms.LoadMessageInfo() == nil { 722 ms.StoreMessageInfo(mi) 723 } 724 return ms 725 } 726 return mi.MessageOf(m) 727 } 728 729 func (*SSHService_Hello) GotenMessage() {} 730 731 // Deprecated, Use SSHService_Hello.ProtoReflect.Descriptor instead. 732 func (*SSHService_Hello) Descriptor() ([]byte, []int) { 733 return edgelq_devices_proto_v1_broker_msgs_proto_rawDescGZIP(), []int{0, 0} 734 } 735 736 func (m *SSHService_Hello) Unmarshal(b []byte) error { 737 return proto.Unmarshal(b, m) 738 } 739 740 func (m *SSHService_Hello) Marshal() ([]byte, error) { 741 return proto.Marshal(m) 742 } 743 744 func (m *SSHService_Hello) MarshalJSON() ([]byte, error) { 745 return protojson.MarshalOptions{}.Marshal(m) 746 } 747 748 func (m *SSHService_Hello) UnmarshalJSON(data []byte) error { 749 return protojson.Unmarshal(data, m) 750 } 751 752 func (m *SSHService_Hello) GetUser() string { 753 if m != nil { 754 return m.User 755 } 756 return "" 757 } 758 759 func (m *SSHService_Hello) GetCommand() []string { 760 if m != nil { 761 return m.Command 762 } 763 return nil 764 } 765 766 func (m *SSHService_Hello) GetEnv() map[string]string { 767 if m != nil { 768 return m.Env 769 } 770 return nil 771 } 772 773 func (m *SSHService_Hello) SetUser(fv string) { 774 if m == nil { 775 panic(fmt.Errorf("can't set %s on nil %s", "User", "SSHService_Hello")) 776 } 777 m.User = fv 778 } 779 780 func (m *SSHService_Hello) SetCommand(fv []string) { 781 if m == nil { 782 panic(fmt.Errorf("can't set %s on nil %s", "Command", "SSHService_Hello")) 783 } 784 m.Command = fv 785 } 786 787 func (m *SSHService_Hello) SetEnv(fv map[string]string) { 788 if m == nil { 789 panic(fmt.Errorf("can't set %s on nil %s", "Env", "SSHService_Hello")) 790 } 791 m.Env = fv 792 } 793 794 type SSHService_TerminalSize struct { 795 state protoimpl.MessageState 796 sizeCache protoimpl.SizeCache 797 unknownFields protoimpl.UnknownFields 798 Width uint32 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"` 799 Height uint32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` 800 } 801 802 func (m *SSHService_TerminalSize) Reset() { 803 *m = SSHService_TerminalSize{} 804 if protoimpl.UnsafeEnabled { 805 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[6] 806 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 807 ms.StoreMessageInfo(mi) 808 } 809 } 810 811 func (m *SSHService_TerminalSize) String() string { 812 return protoimpl.X.MessageStringOf(m) 813 } 814 815 func (*SSHService_TerminalSize) ProtoMessage() {} 816 817 func (m *SSHService_TerminalSize) ProtoReflect() preflect.Message { 818 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[6] 819 if protoimpl.UnsafeEnabled && m != nil { 820 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 821 if ms.LoadMessageInfo() == nil { 822 ms.StoreMessageInfo(mi) 823 } 824 return ms 825 } 826 return mi.MessageOf(m) 827 } 828 829 func (*SSHService_TerminalSize) GotenMessage() {} 830 831 // Deprecated, Use SSHService_TerminalSize.ProtoReflect.Descriptor instead. 832 func (*SSHService_TerminalSize) Descriptor() ([]byte, []int) { 833 return edgelq_devices_proto_v1_broker_msgs_proto_rawDescGZIP(), []int{0, 1} 834 } 835 836 func (m *SSHService_TerminalSize) Unmarshal(b []byte) error { 837 return proto.Unmarshal(b, m) 838 } 839 840 func (m *SSHService_TerminalSize) Marshal() ([]byte, error) { 841 return proto.Marshal(m) 842 } 843 844 func (m *SSHService_TerminalSize) MarshalJSON() ([]byte, error) { 845 return protojson.MarshalOptions{}.Marshal(m) 846 } 847 848 func (m *SSHService_TerminalSize) UnmarshalJSON(data []byte) error { 849 return protojson.Unmarshal(data, m) 850 } 851 852 func (m *SSHService_TerminalSize) GetWidth() uint32 { 853 if m != nil { 854 return m.Width 855 } 856 return uint32(0) 857 } 858 859 func (m *SSHService_TerminalSize) GetHeight() uint32 { 860 if m != nil { 861 return m.Height 862 } 863 return uint32(0) 864 } 865 866 func (m *SSHService_TerminalSize) SetWidth(fv uint32) { 867 if m == nil { 868 panic(fmt.Errorf("can't set %s on nil %s", "Width", "SSHService_TerminalSize")) 869 } 870 m.Width = fv 871 } 872 873 func (m *SSHService_TerminalSize) SetHeight(fv uint32) { 874 if m == nil { 875 panic(fmt.Errorf("can't set %s on nil %s", "Height", "SSHService_TerminalSize")) 876 } 877 m.Height = fv 878 } 879 880 type SSHService_ClientOut struct { 881 state protoimpl.MessageState 882 sizeCache protoimpl.SizeCache 883 unknownFields protoimpl.UnknownFields 884 // Types that are valid to be assigned to Msg: 885 // *SSHService_ClientOut_Data 886 // *SSHService_ClientOut_SshHello 887 // *SSHService_ClientOut_SshResizeTerminal 888 Msg isSSHService_ClientOut_Msg `protobuf_oneof:"msg"` 889 } 890 891 func (m *SSHService_ClientOut) Reset() { 892 *m = SSHService_ClientOut{} 893 if protoimpl.UnsafeEnabled { 894 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[7] 895 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 896 ms.StoreMessageInfo(mi) 897 } 898 } 899 900 func (m *SSHService_ClientOut) String() string { 901 return protoimpl.X.MessageStringOf(m) 902 } 903 904 func (*SSHService_ClientOut) ProtoMessage() {} 905 906 func (m *SSHService_ClientOut) ProtoReflect() preflect.Message { 907 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[7] 908 if protoimpl.UnsafeEnabled && m != nil { 909 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 910 if ms.LoadMessageInfo() == nil { 911 ms.StoreMessageInfo(mi) 912 } 913 return ms 914 } 915 return mi.MessageOf(m) 916 } 917 918 func (*SSHService_ClientOut) GotenMessage() {} 919 920 // Deprecated, Use SSHService_ClientOut.ProtoReflect.Descriptor instead. 921 func (*SSHService_ClientOut) Descriptor() ([]byte, []int) { 922 return edgelq_devices_proto_v1_broker_msgs_proto_rawDescGZIP(), []int{0, 2} 923 } 924 925 func (m *SSHService_ClientOut) Unmarshal(b []byte) error { 926 return proto.Unmarshal(b, m) 927 } 928 929 func (m *SSHService_ClientOut) Marshal() ([]byte, error) { 930 return proto.Marshal(m) 931 } 932 933 func (m *SSHService_ClientOut) MarshalJSON() ([]byte, error) { 934 return protojson.MarshalOptions{}.Marshal(m) 935 } 936 937 func (m *SSHService_ClientOut) UnmarshalJSON(data []byte) error { 938 return protojson.Unmarshal(data, m) 939 } 940 941 type isSSHService_ClientOut_Msg interface { 942 isSSHService_ClientOut_Msg() 943 } 944 945 type SSHService_ClientOut_Data struct { 946 Data []byte `protobuf:"bytes,1,opt,name=data,proto3,oneof"` 947 } 948 type SSHService_ClientOut_SshHello struct { 949 SshHello *SSHService_Hello `protobuf:"bytes,2,opt,name=ssh_hello,json=sshHello,proto3,oneof"` 950 } 951 type SSHService_ClientOut_SshResizeTerminal struct { 952 SshResizeTerminal *SSHService_TerminalSize `protobuf:"bytes,3,opt,name=ssh_resize_terminal,json=sshResizeTerminal,proto3,oneof"` 953 } 954 955 func (*SSHService_ClientOut_Data) isSSHService_ClientOut_Msg() {} 956 func (*SSHService_ClientOut_SshHello) isSSHService_ClientOut_Msg() {} 957 func (*SSHService_ClientOut_SshResizeTerminal) isSSHService_ClientOut_Msg() {} 958 func (m *SSHService_ClientOut) GetMsg() isSSHService_ClientOut_Msg { 959 if m != nil { 960 return m.Msg 961 } 962 return nil 963 } 964 func (m *SSHService_ClientOut) GetData() []byte { 965 if x, ok := m.GetMsg().(*SSHService_ClientOut_Data); ok { 966 return x.Data 967 } 968 return nil 969 } 970 func (m *SSHService_ClientOut) GetSshHello() *SSHService_Hello { 971 if x, ok := m.GetMsg().(*SSHService_ClientOut_SshHello); ok { 972 return x.SshHello 973 } 974 return nil 975 } 976 func (m *SSHService_ClientOut) GetSshResizeTerminal() *SSHService_TerminalSize { 977 if x, ok := m.GetMsg().(*SSHService_ClientOut_SshResizeTerminal); ok { 978 return x.SshResizeTerminal 979 } 980 return nil 981 } 982 func (m *SSHService_ClientOut) SetMsg(ofv isSSHService_ClientOut_Msg) { 983 if m == nil { 984 panic(fmt.Errorf("can't set %s on nil %s", "isSSHService_ClientOut_Msg", "SSHService_ClientOut")) 985 } 986 m.Msg = ofv 987 } 988 func (m *SSHService_ClientOut) SetData(fv []byte) { 989 m.SetMsg(&SSHService_ClientOut_Data{Data: fv}) 990 } 991 func (m *SSHService_ClientOut) SetSshHello(fv *SSHService_Hello) { 992 m.SetMsg(&SSHService_ClientOut_SshHello{SshHello: fv}) 993 } 994 func (m *SSHService_ClientOut) SetSshResizeTerminal(fv *SSHService_TerminalSize) { 995 m.SetMsg(&SSHService_ClientOut_SshResizeTerminal{SshResizeTerminal: fv}) 996 } 997 998 type SSHService_ClientIn struct { 999 state protoimpl.MessageState 1000 sizeCache protoimpl.SizeCache 1001 unknownFields protoimpl.UnknownFields 1002 // Types that are valid to be assigned to Msg: 1003 // *SSHService_ClientIn_Data 1004 Msg isSSHService_ClientIn_Msg `protobuf_oneof:"msg"` 1005 } 1006 1007 func (m *SSHService_ClientIn) Reset() { 1008 *m = SSHService_ClientIn{} 1009 if protoimpl.UnsafeEnabled { 1010 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[8] 1011 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1012 ms.StoreMessageInfo(mi) 1013 } 1014 } 1015 1016 func (m *SSHService_ClientIn) String() string { 1017 return protoimpl.X.MessageStringOf(m) 1018 } 1019 1020 func (*SSHService_ClientIn) ProtoMessage() {} 1021 1022 func (m *SSHService_ClientIn) ProtoReflect() preflect.Message { 1023 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[8] 1024 if protoimpl.UnsafeEnabled && m != nil { 1025 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1026 if ms.LoadMessageInfo() == nil { 1027 ms.StoreMessageInfo(mi) 1028 } 1029 return ms 1030 } 1031 return mi.MessageOf(m) 1032 } 1033 1034 func (*SSHService_ClientIn) GotenMessage() {} 1035 1036 // Deprecated, Use SSHService_ClientIn.ProtoReflect.Descriptor instead. 1037 func (*SSHService_ClientIn) Descriptor() ([]byte, []int) { 1038 return edgelq_devices_proto_v1_broker_msgs_proto_rawDescGZIP(), []int{0, 3} 1039 } 1040 1041 func (m *SSHService_ClientIn) Unmarshal(b []byte) error { 1042 return proto.Unmarshal(b, m) 1043 } 1044 1045 func (m *SSHService_ClientIn) Marshal() ([]byte, error) { 1046 return proto.Marshal(m) 1047 } 1048 1049 func (m *SSHService_ClientIn) MarshalJSON() ([]byte, error) { 1050 return protojson.MarshalOptions{}.Marshal(m) 1051 } 1052 1053 func (m *SSHService_ClientIn) UnmarshalJSON(data []byte) error { 1054 return protojson.Unmarshal(data, m) 1055 } 1056 1057 type isSSHService_ClientIn_Msg interface { 1058 isSSHService_ClientIn_Msg() 1059 } 1060 1061 type SSHService_ClientIn_Data struct { 1062 Data []byte `protobuf:"bytes,1,opt,name=data,proto3,oneof"` 1063 } 1064 1065 func (*SSHService_ClientIn_Data) isSSHService_ClientIn_Msg() {} 1066 func (m *SSHService_ClientIn) GetMsg() isSSHService_ClientIn_Msg { 1067 if m != nil { 1068 return m.Msg 1069 } 1070 return nil 1071 } 1072 func (m *SSHService_ClientIn) GetData() []byte { 1073 if x, ok := m.GetMsg().(*SSHService_ClientIn_Data); ok { 1074 return x.Data 1075 } 1076 return nil 1077 } 1078 func (m *SSHService_ClientIn) SetMsg(ofv isSSHService_ClientIn_Msg) { 1079 if m == nil { 1080 panic(fmt.Errorf("can't set %s on nil %s", "isSSHService_ClientIn_Msg", "SSHService_ClientIn")) 1081 } 1082 m.Msg = ofv 1083 } 1084 func (m *SSHService_ClientIn) SetData(fv []byte) { 1085 m.SetMsg(&SSHService_ClientIn_Data{Data: fv}) 1086 } 1087 1088 type SCPService_Configure struct { 1089 state protoimpl.MessageState 1090 sizeCache protoimpl.SizeCache 1091 unknownFields protoimpl.UnknownFields 1092 Recursive bool `protobuf:"varint,1,opt,name=recursive,proto3" json:"recursive,omitempty"` 1093 Direction SCPService_Configure_Direction `protobuf:"varint,2,opt,name=direction,proto3,enum=ntt.devices.v1.SCPService_Configure_Direction" json:"direction,omitempty"` 1094 Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` 1095 } 1096 1097 func (m *SCPService_Configure) Reset() { 1098 *m = SCPService_Configure{} 1099 if protoimpl.UnsafeEnabled { 1100 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[10] 1101 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1102 ms.StoreMessageInfo(mi) 1103 } 1104 } 1105 1106 func (m *SCPService_Configure) String() string { 1107 return protoimpl.X.MessageStringOf(m) 1108 } 1109 1110 func (*SCPService_Configure) ProtoMessage() {} 1111 1112 func (m *SCPService_Configure) ProtoReflect() preflect.Message { 1113 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[10] 1114 if protoimpl.UnsafeEnabled && m != nil { 1115 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1116 if ms.LoadMessageInfo() == nil { 1117 ms.StoreMessageInfo(mi) 1118 } 1119 return ms 1120 } 1121 return mi.MessageOf(m) 1122 } 1123 1124 func (*SCPService_Configure) GotenMessage() {} 1125 1126 // Deprecated, Use SCPService_Configure.ProtoReflect.Descriptor instead. 1127 func (*SCPService_Configure) Descriptor() ([]byte, []int) { 1128 return edgelq_devices_proto_v1_broker_msgs_proto_rawDescGZIP(), []int{1, 0} 1129 } 1130 1131 func (m *SCPService_Configure) Unmarshal(b []byte) error { 1132 return proto.Unmarshal(b, m) 1133 } 1134 1135 func (m *SCPService_Configure) Marshal() ([]byte, error) { 1136 return proto.Marshal(m) 1137 } 1138 1139 func (m *SCPService_Configure) MarshalJSON() ([]byte, error) { 1140 return protojson.MarshalOptions{}.Marshal(m) 1141 } 1142 1143 func (m *SCPService_Configure) UnmarshalJSON(data []byte) error { 1144 return protojson.Unmarshal(data, m) 1145 } 1146 1147 func (m *SCPService_Configure) GetRecursive() bool { 1148 if m != nil { 1149 return m.Recursive 1150 } 1151 return false 1152 } 1153 1154 func (m *SCPService_Configure) GetDirection() SCPService_Configure_Direction { 1155 if m != nil { 1156 return m.Direction 1157 } 1158 return SCPService_Configure_DOWNLOAD 1159 } 1160 1161 func (m *SCPService_Configure) GetPath() string { 1162 if m != nil { 1163 return m.Path 1164 } 1165 return "" 1166 } 1167 1168 func (m *SCPService_Configure) SetRecursive(fv bool) { 1169 if m == nil { 1170 panic(fmt.Errorf("can't set %s on nil %s", "Recursive", "SCPService_Configure")) 1171 } 1172 m.Recursive = fv 1173 } 1174 1175 func (m *SCPService_Configure) SetDirection(fv SCPService_Configure_Direction) { 1176 if m == nil { 1177 panic(fmt.Errorf("can't set %s on nil %s", "Direction", "SCPService_Configure")) 1178 } 1179 m.Direction = fv 1180 } 1181 1182 func (m *SCPService_Configure) SetPath(fv string) { 1183 if m == nil { 1184 panic(fmt.Errorf("can't set %s on nil %s", "Path", "SCPService_Configure")) 1185 } 1186 m.Path = fv 1187 } 1188 1189 type SCPService_CreateDirectory struct { 1190 state protoimpl.MessageState 1191 sizeCache protoimpl.SizeCache 1192 unknownFields protoimpl.UnknownFields 1193 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` 1194 Mode uint32 `protobuf:"varint,2,opt,name=mode,proto3" json:"mode,omitempty"` 1195 } 1196 1197 func (m *SCPService_CreateDirectory) Reset() { 1198 *m = SCPService_CreateDirectory{} 1199 if protoimpl.UnsafeEnabled { 1200 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[11] 1201 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1202 ms.StoreMessageInfo(mi) 1203 } 1204 } 1205 1206 func (m *SCPService_CreateDirectory) String() string { 1207 return protoimpl.X.MessageStringOf(m) 1208 } 1209 1210 func (*SCPService_CreateDirectory) ProtoMessage() {} 1211 1212 func (m *SCPService_CreateDirectory) ProtoReflect() preflect.Message { 1213 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[11] 1214 if protoimpl.UnsafeEnabled && m != nil { 1215 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1216 if ms.LoadMessageInfo() == nil { 1217 ms.StoreMessageInfo(mi) 1218 } 1219 return ms 1220 } 1221 return mi.MessageOf(m) 1222 } 1223 1224 func (*SCPService_CreateDirectory) GotenMessage() {} 1225 1226 // Deprecated, Use SCPService_CreateDirectory.ProtoReflect.Descriptor instead. 1227 func (*SCPService_CreateDirectory) Descriptor() ([]byte, []int) { 1228 return edgelq_devices_proto_v1_broker_msgs_proto_rawDescGZIP(), []int{1, 1} 1229 } 1230 1231 func (m *SCPService_CreateDirectory) Unmarshal(b []byte) error { 1232 return proto.Unmarshal(b, m) 1233 } 1234 1235 func (m *SCPService_CreateDirectory) Marshal() ([]byte, error) { 1236 return proto.Marshal(m) 1237 } 1238 1239 func (m *SCPService_CreateDirectory) MarshalJSON() ([]byte, error) { 1240 return protojson.MarshalOptions{}.Marshal(m) 1241 } 1242 1243 func (m *SCPService_CreateDirectory) UnmarshalJSON(data []byte) error { 1244 return protojson.Unmarshal(data, m) 1245 } 1246 1247 func (m *SCPService_CreateDirectory) GetPath() string { 1248 if m != nil { 1249 return m.Path 1250 } 1251 return "" 1252 } 1253 1254 func (m *SCPService_CreateDirectory) GetMode() uint32 { 1255 if m != nil { 1256 return m.Mode 1257 } 1258 return uint32(0) 1259 } 1260 1261 func (m *SCPService_CreateDirectory) SetPath(fv string) { 1262 if m == nil { 1263 panic(fmt.Errorf("can't set %s on nil %s", "Path", "SCPService_CreateDirectory")) 1264 } 1265 m.Path = fv 1266 } 1267 1268 func (m *SCPService_CreateDirectory) SetMode(fv uint32) { 1269 if m == nil { 1270 panic(fmt.Errorf("can't set %s on nil %s", "Mode", "SCPService_CreateDirectory")) 1271 } 1272 m.Mode = fv 1273 } 1274 1275 type SCPService_CreateFile struct { 1276 state protoimpl.MessageState 1277 sizeCache protoimpl.SizeCache 1278 unknownFields protoimpl.UnknownFields 1279 // Types that are valid to be assigned to Msg: 1280 // *SCPService_CreateFile_Init 1281 // *SCPService_CreateFile_Data 1282 // *SCPService_CreateFile_Eof 1283 Msg isSCPService_CreateFile_Msg `protobuf_oneof:"msg"` 1284 } 1285 1286 func (m *SCPService_CreateFile) Reset() { 1287 *m = SCPService_CreateFile{} 1288 if protoimpl.UnsafeEnabled { 1289 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[12] 1290 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1291 ms.StoreMessageInfo(mi) 1292 } 1293 } 1294 1295 func (m *SCPService_CreateFile) String() string { 1296 return protoimpl.X.MessageStringOf(m) 1297 } 1298 1299 func (*SCPService_CreateFile) ProtoMessage() {} 1300 1301 func (m *SCPService_CreateFile) ProtoReflect() preflect.Message { 1302 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[12] 1303 if protoimpl.UnsafeEnabled && m != nil { 1304 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1305 if ms.LoadMessageInfo() == nil { 1306 ms.StoreMessageInfo(mi) 1307 } 1308 return ms 1309 } 1310 return mi.MessageOf(m) 1311 } 1312 1313 func (*SCPService_CreateFile) GotenMessage() {} 1314 1315 // Deprecated, Use SCPService_CreateFile.ProtoReflect.Descriptor instead. 1316 func (*SCPService_CreateFile) Descriptor() ([]byte, []int) { 1317 return edgelq_devices_proto_v1_broker_msgs_proto_rawDescGZIP(), []int{1, 2} 1318 } 1319 1320 func (m *SCPService_CreateFile) Unmarshal(b []byte) error { 1321 return proto.Unmarshal(b, m) 1322 } 1323 1324 func (m *SCPService_CreateFile) Marshal() ([]byte, error) { 1325 return proto.Marshal(m) 1326 } 1327 1328 func (m *SCPService_CreateFile) MarshalJSON() ([]byte, error) { 1329 return protojson.MarshalOptions{}.Marshal(m) 1330 } 1331 1332 func (m *SCPService_CreateFile) UnmarshalJSON(data []byte) error { 1333 return protojson.Unmarshal(data, m) 1334 } 1335 1336 type isSCPService_CreateFile_Msg interface { 1337 isSCPService_CreateFile_Msg() 1338 } 1339 1340 type SCPService_CreateFile_Init struct { 1341 // Request file initialization 1342 Init *SCPService_CreateFile_Initialize `protobuf:"bytes,1,opt,name=init,proto3,oneof"` 1343 } 1344 type SCPService_CreateFile_Data struct { 1345 // Request file data 1346 Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"` 1347 } 1348 type SCPService_CreateFile_Eof struct { 1349 // Request to end file transfer 1350 Eof bool `protobuf:"varint,3,opt,name=eof,proto3,oneof"` 1351 } 1352 1353 func (*SCPService_CreateFile_Init) isSCPService_CreateFile_Msg() {} 1354 func (*SCPService_CreateFile_Data) isSCPService_CreateFile_Msg() {} 1355 func (*SCPService_CreateFile_Eof) isSCPService_CreateFile_Msg() {} 1356 func (m *SCPService_CreateFile) GetMsg() isSCPService_CreateFile_Msg { 1357 if m != nil { 1358 return m.Msg 1359 } 1360 return nil 1361 } 1362 func (m *SCPService_CreateFile) GetInit() *SCPService_CreateFile_Initialize { 1363 if x, ok := m.GetMsg().(*SCPService_CreateFile_Init); ok { 1364 return x.Init 1365 } 1366 return nil 1367 } 1368 func (m *SCPService_CreateFile) GetData() []byte { 1369 if x, ok := m.GetMsg().(*SCPService_CreateFile_Data); ok { 1370 return x.Data 1371 } 1372 return nil 1373 } 1374 func (m *SCPService_CreateFile) GetEof() bool { 1375 if x, ok := m.GetMsg().(*SCPService_CreateFile_Eof); ok { 1376 return x.Eof 1377 } 1378 return false 1379 } 1380 func (m *SCPService_CreateFile) SetMsg(ofv isSCPService_CreateFile_Msg) { 1381 if m == nil { 1382 panic(fmt.Errorf("can't set %s on nil %s", "isSCPService_CreateFile_Msg", "SCPService_CreateFile")) 1383 } 1384 m.Msg = ofv 1385 } 1386 func (m *SCPService_CreateFile) SetInit(fv *SCPService_CreateFile_Initialize) { 1387 m.SetMsg(&SCPService_CreateFile_Init{Init: fv}) 1388 } 1389 func (m *SCPService_CreateFile) SetData(fv []byte) { 1390 m.SetMsg(&SCPService_CreateFile_Data{Data: fv}) 1391 } 1392 func (m *SCPService_CreateFile) SetEof(fv bool) { 1393 m.SetMsg(&SCPService_CreateFile_Eof{Eof: fv}) 1394 } 1395 1396 type SCPService_CreateFile_Initialize struct { 1397 state protoimpl.MessageState 1398 sizeCache protoimpl.SizeCache 1399 unknownFields protoimpl.UnknownFields 1400 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` 1401 Mode uint32 `protobuf:"varint,2,opt,name=mode,proto3" json:"mode,omitempty"` 1402 Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` 1403 } 1404 1405 func (m *SCPService_CreateFile_Initialize) Reset() { 1406 *m = SCPService_CreateFile_Initialize{} 1407 if protoimpl.UnsafeEnabled { 1408 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[13] 1409 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1410 ms.StoreMessageInfo(mi) 1411 } 1412 } 1413 1414 func (m *SCPService_CreateFile_Initialize) String() string { 1415 return protoimpl.X.MessageStringOf(m) 1416 } 1417 1418 func (*SCPService_CreateFile_Initialize) ProtoMessage() {} 1419 1420 func (m *SCPService_CreateFile_Initialize) ProtoReflect() preflect.Message { 1421 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[13] 1422 if protoimpl.UnsafeEnabled && m != nil { 1423 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1424 if ms.LoadMessageInfo() == nil { 1425 ms.StoreMessageInfo(mi) 1426 } 1427 return ms 1428 } 1429 return mi.MessageOf(m) 1430 } 1431 1432 func (*SCPService_CreateFile_Initialize) GotenMessage() {} 1433 1434 // Deprecated, Use SCPService_CreateFile_Initialize.ProtoReflect.Descriptor instead. 1435 func (*SCPService_CreateFile_Initialize) Descriptor() ([]byte, []int) { 1436 return edgelq_devices_proto_v1_broker_msgs_proto_rawDescGZIP(), []int{1, 2, 0} 1437 } 1438 1439 func (m *SCPService_CreateFile_Initialize) Unmarshal(b []byte) error { 1440 return proto.Unmarshal(b, m) 1441 } 1442 1443 func (m *SCPService_CreateFile_Initialize) Marshal() ([]byte, error) { 1444 return proto.Marshal(m) 1445 } 1446 1447 func (m *SCPService_CreateFile_Initialize) MarshalJSON() ([]byte, error) { 1448 return protojson.MarshalOptions{}.Marshal(m) 1449 } 1450 1451 func (m *SCPService_CreateFile_Initialize) UnmarshalJSON(data []byte) error { 1452 return protojson.Unmarshal(data, m) 1453 } 1454 1455 func (m *SCPService_CreateFile_Initialize) GetPath() string { 1456 if m != nil { 1457 return m.Path 1458 } 1459 return "" 1460 } 1461 1462 func (m *SCPService_CreateFile_Initialize) GetMode() uint32 { 1463 if m != nil { 1464 return m.Mode 1465 } 1466 return uint32(0) 1467 } 1468 1469 func (m *SCPService_CreateFile_Initialize) GetSize() uint64 { 1470 if m != nil { 1471 return m.Size 1472 } 1473 return uint64(0) 1474 } 1475 1476 func (m *SCPService_CreateFile_Initialize) SetPath(fv string) { 1477 if m == nil { 1478 panic(fmt.Errorf("can't set %s on nil %s", "Path", "SCPService_CreateFile_Initialize")) 1479 } 1480 m.Path = fv 1481 } 1482 1483 func (m *SCPService_CreateFile_Initialize) SetMode(fv uint32) { 1484 if m == nil { 1485 panic(fmt.Errorf("can't set %s on nil %s", "Mode", "SCPService_CreateFile_Initialize")) 1486 } 1487 m.Mode = fv 1488 } 1489 1490 func (m *SCPService_CreateFile_Initialize) SetSize(fv uint64) { 1491 if m == nil { 1492 panic(fmt.Errorf("can't set %s on nil %s", "Size", "SCPService_CreateFile_Initialize")) 1493 } 1494 m.Size = fv 1495 } 1496 1497 // Messages sent only to a device 1498 type LogsService_ToDevice struct { 1499 state protoimpl.MessageState 1500 sizeCache protoimpl.SizeCache 1501 unknownFields protoimpl.UnknownFields 1502 // Live follow the logs service 1503 Follow bool `protobuf:"varint,1,opt,name=follow,proto3" json:"follow,omitempty"` 1504 // Number of lines to get from the logs service 1505 Lines uint32 `protobuf:"varint,2,opt,name=lines,proto3" json:"lines,omitempty"` 1506 // Source of the logs service (e.g. docker container ID) 1507 Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` 1508 } 1509 1510 func (m *LogsService_ToDevice) Reset() { 1511 *m = LogsService_ToDevice{} 1512 if protoimpl.UnsafeEnabled { 1513 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[14] 1514 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1515 ms.StoreMessageInfo(mi) 1516 } 1517 } 1518 1519 func (m *LogsService_ToDevice) String() string { 1520 return protoimpl.X.MessageStringOf(m) 1521 } 1522 1523 func (*LogsService_ToDevice) ProtoMessage() {} 1524 1525 func (m *LogsService_ToDevice) ProtoReflect() preflect.Message { 1526 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[14] 1527 if protoimpl.UnsafeEnabled && m != nil { 1528 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1529 if ms.LoadMessageInfo() == nil { 1530 ms.StoreMessageInfo(mi) 1531 } 1532 return ms 1533 } 1534 return mi.MessageOf(m) 1535 } 1536 1537 func (*LogsService_ToDevice) GotenMessage() {} 1538 1539 // Deprecated, Use LogsService_ToDevice.ProtoReflect.Descriptor instead. 1540 func (*LogsService_ToDevice) Descriptor() ([]byte, []int) { 1541 return edgelq_devices_proto_v1_broker_msgs_proto_rawDescGZIP(), []int{2, 0} 1542 } 1543 1544 func (m *LogsService_ToDevice) Unmarshal(b []byte) error { 1545 return proto.Unmarshal(b, m) 1546 } 1547 1548 func (m *LogsService_ToDevice) Marshal() ([]byte, error) { 1549 return proto.Marshal(m) 1550 } 1551 1552 func (m *LogsService_ToDevice) MarshalJSON() ([]byte, error) { 1553 return protojson.MarshalOptions{}.Marshal(m) 1554 } 1555 1556 func (m *LogsService_ToDevice) UnmarshalJSON(data []byte) error { 1557 return protojson.Unmarshal(data, m) 1558 } 1559 1560 func (m *LogsService_ToDevice) GetFollow() bool { 1561 if m != nil { 1562 return m.Follow 1563 } 1564 return false 1565 } 1566 1567 func (m *LogsService_ToDevice) GetLines() uint32 { 1568 if m != nil { 1569 return m.Lines 1570 } 1571 return uint32(0) 1572 } 1573 1574 func (m *LogsService_ToDevice) GetSource() string { 1575 if m != nil { 1576 return m.Source 1577 } 1578 return "" 1579 } 1580 1581 func (m *LogsService_ToDevice) SetFollow(fv bool) { 1582 if m == nil { 1583 panic(fmt.Errorf("can't set %s on nil %s", "Follow", "LogsService_ToDevice")) 1584 } 1585 m.Follow = fv 1586 } 1587 1588 func (m *LogsService_ToDevice) SetLines(fv uint32) { 1589 if m == nil { 1590 panic(fmt.Errorf("can't set %s on nil %s", "Lines", "LogsService_ToDevice")) 1591 } 1592 m.Lines = fv 1593 } 1594 1595 func (m *LogsService_ToDevice) SetSource(fv string) { 1596 if m == nil { 1597 panic(fmt.Errorf("can't set %s on nil %s", "Source", "LogsService_ToDevice")) 1598 } 1599 m.Source = fv 1600 } 1601 1602 // Messages sent only to a client 1603 type LogsService_ToClient struct { 1604 state protoimpl.MessageState 1605 sizeCache protoimpl.SizeCache 1606 unknownFields protoimpl.UnknownFields 1607 // Logs data 1608 Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` 1609 } 1610 1611 func (m *LogsService_ToClient) Reset() { 1612 *m = LogsService_ToClient{} 1613 if protoimpl.UnsafeEnabled { 1614 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[15] 1615 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1616 ms.StoreMessageInfo(mi) 1617 } 1618 } 1619 1620 func (m *LogsService_ToClient) String() string { 1621 return protoimpl.X.MessageStringOf(m) 1622 } 1623 1624 func (*LogsService_ToClient) ProtoMessage() {} 1625 1626 func (m *LogsService_ToClient) ProtoReflect() preflect.Message { 1627 mi := &edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[15] 1628 if protoimpl.UnsafeEnabled && m != nil { 1629 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1630 if ms.LoadMessageInfo() == nil { 1631 ms.StoreMessageInfo(mi) 1632 } 1633 return ms 1634 } 1635 return mi.MessageOf(m) 1636 } 1637 1638 func (*LogsService_ToClient) GotenMessage() {} 1639 1640 // Deprecated, Use LogsService_ToClient.ProtoReflect.Descriptor instead. 1641 func (*LogsService_ToClient) Descriptor() ([]byte, []int) { 1642 return edgelq_devices_proto_v1_broker_msgs_proto_rawDescGZIP(), []int{2, 1} 1643 } 1644 1645 func (m *LogsService_ToClient) Unmarshal(b []byte) error { 1646 return proto.Unmarshal(b, m) 1647 } 1648 1649 func (m *LogsService_ToClient) Marshal() ([]byte, error) { 1650 return proto.Marshal(m) 1651 } 1652 1653 func (m *LogsService_ToClient) MarshalJSON() ([]byte, error) { 1654 return protojson.MarshalOptions{}.Marshal(m) 1655 } 1656 1657 func (m *LogsService_ToClient) UnmarshalJSON(data []byte) error { 1658 return protojson.Unmarshal(data, m) 1659 } 1660 1661 func (m *LogsService_ToClient) GetData() []byte { 1662 if m != nil { 1663 return m.Data 1664 } 1665 return nil 1666 } 1667 1668 func (m *LogsService_ToClient) SetData(fv []byte) { 1669 if m == nil { 1670 panic(fmt.Errorf("can't set %s on nil %s", "Data", "LogsService_ToClient")) 1671 } 1672 m.Data = fv 1673 } 1674 1675 var edgelq_devices_proto_v1_broker_msgs_proto preflect.FileDescriptor 1676 1677 var edgelq_devices_proto_v1_broker_msgs_proto_rawDesc = []byte{ 1678 0x0a, 0x29, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 1679 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 1680 0x5f, 0x6d, 0x73, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x6e, 0x74, 0x74, 1681 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x67, 0x6f, 0x74, 1682 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 1683 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 1684 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 1685 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe7, 0x03, 0x0a, 1686 0x0a, 0x53, 0x53, 0x48, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x1a, 0xaa, 0x01, 0x0a, 0x05, 1687 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 1688 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 1689 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 1690 0x61, 0x6e, 0x64, 0x12, 0x3b, 0x0a, 0x03, 0x65, 0x6e, 0x76, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 1691 0x32, 0x29, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 1692 0x31, 0x2e, 0x53, 0x53, 0x48, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x48, 0x65, 0x6c, 1693 0x6c, 0x6f, 0x2e, 0x45, 0x6e, 0x76, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03, 0x65, 0x6e, 0x76, 1694 0x1a, 0x36, 0x0a, 0x08, 0x45, 0x6e, 0x76, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 1695 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 1696 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 1697 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3c, 0x0a, 0x0c, 0x54, 0x65, 0x72, 0x6d, 1698 0x69, 0x6e, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 1699 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x16, 1700 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 1701 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x1a, 0xc4, 0x01, 0x0a, 0x09, 0x43, 0x6c, 0x69, 0x65, 0x6e, 1702 0x74, 0x4f, 0x75, 0x74, 0x12, 0x14, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 1703 0x28, 0x0c, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3f, 0x0a, 0x09, 0x73, 0x73, 1704 0x68, 0x5f, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 1705 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 1706 0x53, 0x48, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x48, 1707 0x00, 0x52, 0x08, 0x73, 0x73, 0x68, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x12, 0x59, 0x0a, 0x13, 0x73, 1708 0x73, 0x68, 0x5f, 0x72, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 1709 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 1710 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x53, 0x48, 0x53, 0x65, 0x72, 1711 0x76, 0x69, 0x63, 0x65, 0x2e, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x6c, 0x53, 0x69, 0x7a, 1712 0x65, 0x48, 0x00, 0x52, 0x11, 0x73, 0x73, 0x68, 0x52, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x54, 0x65, 1713 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x6c, 0x42, 0x05, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x1a, 0x27, 0x0a, 1714 0x08, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x12, 0x14, 0x0a, 0x04, 0x64, 0x61, 0x74, 1715 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 1716 0x05, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x22, 0xa6, 0x05, 0x0a, 0x0a, 0x53, 0x43, 0x50, 0x53, 0x65, 1717 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3e, 0x0a, 0x03, 0x64, 0x69, 0x72, 0x18, 0x01, 0x20, 0x01, 1718 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 1719 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x43, 0x50, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 1720 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x48, 0x00, 1721 0x52, 0x03, 0x64, 0x69, 0x72, 0x12, 0x3b, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 1722 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 1723 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x43, 0x50, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 1724 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x04, 0x66, 0x69, 1725 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x03, 0x65, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x48, 1726 0x00, 0x52, 0x03, 0x65, 0x6f, 0x74, 0x12, 0x3e, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 1727 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 1728 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x43, 0x50, 0x53, 0x65, 0x72, 0x76, 0x69, 1729 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x06, 1730 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0xb2, 0x01, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x66, 0x69, 1731 0x67, 0x75, 0x72, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 1732 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 1733 0x76, 0x65, 0x12, 0x4c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 1734 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 1735 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x43, 0x50, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 1736 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x2e, 0x44, 0x69, 0x72, 0x65, 1737 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 1738 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 1739 0x70, 0x61, 0x74, 0x68, 0x22, 0x25, 0x0a, 0x09, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 1740 0x6e, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x4f, 0x57, 0x4e, 0x4c, 0x4f, 0x41, 0x44, 0x10, 0x00, 0x12, 1741 0x0a, 0x0a, 0x06, 0x55, 0x50, 0x4c, 0x4f, 0x41, 0x44, 0x10, 0x01, 0x1a, 0x39, 0x0a, 0x0f, 0x43, 1742 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 1743 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 1744 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 1745 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x1a, 0xcf, 0x01, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 1746 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x46, 0x0a, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x01, 0x20, 1747 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 1748 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x43, 0x50, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 1749 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 1750 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x48, 0x00, 0x52, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x12, 0x14, 0x0a, 1751 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x04, 0x64, 1752 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x03, 0x65, 0x6f, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 1753 0x48, 0x00, 0x52, 0x03, 0x65, 0x6f, 0x66, 0x1a, 0x48, 0x0a, 0x0a, 0x49, 0x6e, 0x69, 0x74, 0x69, 1754 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 1755 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 1756 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 1757 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x69, 0x7a, 1758 0x65, 0x42, 0x05, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x42, 0x05, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x22, 1759 0x7f, 0x0a, 0x0b, 0x4c, 0x6f, 0x67, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x1a, 0x50, 1760 0x0a, 0x08, 0x54, 0x6f, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 1761 0x6c, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x66, 0x6f, 0x6c, 0x6c, 1762 0x6f, 0x77, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 1763 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 1764 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 1765 0x1a, 0x1e, 0x0a, 0x08, 0x54, 0x6f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 1766 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 1767 0x22, 0xca, 0x01, 0x0a, 0x14, 0x50, 0x6f, 0x64, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 1768 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 1769 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x6e, 0x74, 0x74, 1770 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x64, 0x4d, 1771 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 1772 0x2e, 0x50, 0x6f, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 1773 0x6e, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 1774 0x03, 0x70, 0x6f, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 1775 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x3d, 1776 0x0a, 0x08, 0x50, 0x6f, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 1777 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x53, 1778 0x54, 0x41, 0x52, 0x54, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x54, 0x4f, 0x50, 0x10, 0x02, 1779 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0x03, 0x22, 0x4e, 0x0a, 1780 0x12, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 1781 0x69, 0x63, 0x65, 0x22, 0x38, 0x0a, 0x0b, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 1782 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 1783 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x48, 0x55, 0x54, 0x44, 0x4f, 0x57, 0x4e, 0x10, 1784 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x42, 0x4f, 0x4f, 0x54, 0x10, 0x02, 0x2a, 0xc3, 0x02, 1785 0x0a, 0x11, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 1786 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x42, 0x52, 0x4f, 0x4b, 0x45, 0x52, 0x5f, 0x53, 0x45, 1787 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 1788 0x44, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x42, 0x52, 0x4f, 0x4b, 0x45, 0x52, 0x5f, 0x53, 0x45, 1789 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x53, 0x53, 0x48, 0x5f, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 1790 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x42, 0x52, 0x4f, 0x4b, 0x45, 0x52, 0x5f, 0x53, 0x45, 0x52, 1791 0x56, 0x49, 0x43, 0x45, 0x5f, 0x53, 0x53, 0x48, 0x10, 0x03, 0x12, 0x23, 0x0a, 0x1f, 0x42, 0x52, 1792 0x4f, 0x4b, 0x45, 0x52, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x43, 0x50, 1793 0x5f, 0x46, 0x4f, 0x52, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x50, 0x4f, 0x52, 0x54, 0x10, 0x02, 0x12, 1794 0x19, 0x0a, 0x15, 0x42, 0x52, 0x4f, 0x4b, 0x45, 0x52, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 1795 0x45, 0x5f, 0x52, 0x45, 0x42, 0x4f, 0x4f, 0x54, 0x10, 0x04, 0x12, 0x1b, 0x0a, 0x17, 0x42, 0x52, 1796 0x4f, 0x4b, 0x45, 0x52, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x53, 0x48, 0x55, 1797 0x54, 0x44, 0x4f, 0x57, 0x4e, 0x10, 0x05, 0x12, 0x16, 0x0a, 0x12, 0x42, 0x52, 0x4f, 0x4b, 0x45, 1798 0x52, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x53, 0x43, 0x50, 0x10, 0x06, 0x12, 1799 0x1d, 0x0a, 0x19, 0x42, 0x52, 0x4f, 0x4b, 0x45, 0x52, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 1800 0x45, 0x5f, 0x53, 0x43, 0x50, 0x5f, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x10, 0x07, 0x12, 0x13, 1801 0x0a, 0x0f, 0x42, 0x52, 0x4f, 0x4b, 0x45, 0x52, 0x5f, 0x53, 0x59, 0x53, 0x5f, 0x4c, 0x4f, 0x47, 1802 0x53, 0x10, 0x08, 0x12, 0x13, 0x0a, 0x0f, 0x42, 0x52, 0x4f, 0x4b, 0x45, 0x52, 0x5f, 0x41, 0x50, 1803 0x50, 0x5f, 0x4c, 0x4f, 0x47, 0x53, 0x10, 0x09, 0x12, 0x19, 0x0a, 0x15, 0x42, 0x52, 0x4f, 0x4b, 1804 0x45, 0x52, 0x5f, 0x50, 0x4f, 0x44, 0x5f, 0x4d, 0x41, 0x4e, 0x41, 0x47, 0x45, 0x4d, 0x45, 0x4e, 1805 0x54, 0x10, 0x0a, 0x42, 0x61, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 1806 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x11, 0x42, 0x72, 1807 0x6f, 0x6b, 0x65, 0x72, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 1808 0x00, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 1809 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 1810 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 1811 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1812 } 1813 1814 var ( 1815 edgelq_devices_proto_v1_broker_msgs_proto_rawDescOnce sync.Once 1816 edgelq_devices_proto_v1_broker_msgs_proto_rawDescData = edgelq_devices_proto_v1_broker_msgs_proto_rawDesc 1817 ) 1818 1819 func edgelq_devices_proto_v1_broker_msgs_proto_rawDescGZIP() []byte { 1820 edgelq_devices_proto_v1_broker_msgs_proto_rawDescOnce.Do(func() { 1821 edgelq_devices_proto_v1_broker_msgs_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_devices_proto_v1_broker_msgs_proto_rawDescData) 1822 }) 1823 return edgelq_devices_proto_v1_broker_msgs_proto_rawDescData 1824 } 1825 1826 var edgelq_devices_proto_v1_broker_msgs_proto_enumTypes = make([]protoimpl.EnumInfo, 4) 1827 var edgelq_devices_proto_v1_broker_msgs_proto_msgTypes = make([]protoimpl.MessageInfo, 16) 1828 var edgelq_devices_proto_v1_broker_msgs_proto_goTypes = []interface{}{ 1829 (BrokerServiceType)(0), // 0: ntt.devices.v1.BrokerServiceType 1830 (SCPService_Configure_Direction)(0), // 1: ntt.devices.v1.SCPService_Configure_Direction 1831 (PodManagementService_PodState)(0), // 2: ntt.devices.v1.PodManagementService_PodState 1832 (SystemStateService_SystemState)(0), // 3: ntt.devices.v1.SystemStateService_SystemState 1833 (*SSHService)(nil), // 4: ntt.devices.v1.SSHService 1834 (*SCPService)(nil), // 5: ntt.devices.v1.SCPService 1835 (*LogsService)(nil), // 6: ntt.devices.v1.LogsService 1836 (*PodManagementService)(nil), // 7: ntt.devices.v1.PodManagementService 1837 (*SystemStateService)(nil), // 8: ntt.devices.v1.SystemStateService 1838 (*SSHService_Hello)(nil), // 9: ntt.devices.v1.SSHService.Hello 1839 (*SSHService_TerminalSize)(nil), // 10: ntt.devices.v1.SSHService.TerminalSize 1840 (*SSHService_ClientOut)(nil), // 11: ntt.devices.v1.SSHService.ClientOut 1841 (*SSHService_ClientIn)(nil), // 12: ntt.devices.v1.SSHService.ClientIn 1842 nil, // 13: ntt.devices.v1.SSHService.Hello.EnvEntry 1843 (*SCPService_Configure)(nil), // 14: ntt.devices.v1.SCPService.Configure 1844 (*SCPService_CreateDirectory)(nil), // 15: ntt.devices.v1.SCPService.CreateDirectory 1845 (*SCPService_CreateFile)(nil), // 16: ntt.devices.v1.SCPService.CreateFile 1846 (*SCPService_CreateFile_Initialize)(nil), // 17: ntt.devices.v1.SCPService.CreateFile.Initialize 1847 (*LogsService_ToDevice)(nil), // 18: ntt.devices.v1.LogsService.ToDevice 1848 (*LogsService_ToClient)(nil), // 19: ntt.devices.v1.LogsService.ToClient 1849 } 1850 var edgelq_devices_proto_v1_broker_msgs_proto_depIdxs = []int32{ 1851 15, // 0: ntt.devices.v1.SCPService.dir:type_name -> ntt.devices.v1.SCPService.CreateDirectory 1852 16, // 1: ntt.devices.v1.SCPService.file:type_name -> ntt.devices.v1.SCPService.CreateFile 1853 14, // 2: ntt.devices.v1.SCPService.config:type_name -> ntt.devices.v1.SCPService.Configure 1854 2, // 3: ntt.devices.v1.PodManagementService.command:type_name -> ntt.devices.v1.PodManagementService_PodState 1855 13, // 4: ntt.devices.v1.SSHService.Hello.env:type_name -> ntt.devices.v1.SSHService.Hello.EnvEntry 1856 9, // 5: ntt.devices.v1.SSHService.ClientOut.ssh_hello:type_name -> ntt.devices.v1.SSHService.Hello 1857 10, // 6: ntt.devices.v1.SSHService.ClientOut.ssh_resize_terminal:type_name -> ntt.devices.v1.SSHService.TerminalSize 1858 1, // 7: ntt.devices.v1.SCPService.Configure.direction:type_name -> ntt.devices.v1.SCPService_Configure_Direction 1859 17, // 8: ntt.devices.v1.SCPService.CreateFile.init:type_name -> ntt.devices.v1.SCPService.CreateFile.Initialize 1860 9, // [9:9] is the sub-list for method output_type 1861 9, // [9:9] is the sub-list for method input_type 1862 9, // [9:9] is the sub-list for extension type_name 1863 9, // [9:9] is the sub-list for extension extendee 1864 0, // [0:9] is the sub-list for field type_name 1865 } 1866 1867 func init() { edgelq_devices_proto_v1_broker_msgs_proto_init() } 1868 func edgelq_devices_proto_v1_broker_msgs_proto_init() { 1869 if edgelq_devices_proto_v1_broker_msgs_proto != nil { 1870 return 1871 } 1872 if !protoimpl.UnsafeEnabled { 1873 1874 edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1875 switch v := v.(*SSHService); i { 1876 case 0: 1877 return &v.state 1878 case 1: 1879 return &v.sizeCache 1880 case 2: 1881 return &v.unknownFields 1882 default: 1883 return nil 1884 } 1885 } 1886 edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1887 switch v := v.(*SCPService); i { 1888 case 0: 1889 return &v.state 1890 case 1: 1891 return &v.sizeCache 1892 case 2: 1893 return &v.unknownFields 1894 default: 1895 return nil 1896 } 1897 } 1898 edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1899 switch v := v.(*LogsService); i { 1900 case 0: 1901 return &v.state 1902 case 1: 1903 return &v.sizeCache 1904 case 2: 1905 return &v.unknownFields 1906 default: 1907 return nil 1908 } 1909 } 1910 edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1911 switch v := v.(*PodManagementService); i { 1912 case 0: 1913 return &v.state 1914 case 1: 1915 return &v.sizeCache 1916 case 2: 1917 return &v.unknownFields 1918 default: 1919 return nil 1920 } 1921 } 1922 edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1923 switch v := v.(*SystemStateService); i { 1924 case 0: 1925 return &v.state 1926 case 1: 1927 return &v.sizeCache 1928 case 2: 1929 return &v.unknownFields 1930 default: 1931 return nil 1932 } 1933 } 1934 edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1935 switch v := v.(*SSHService_Hello); i { 1936 case 0: 1937 return &v.state 1938 case 1: 1939 return &v.sizeCache 1940 case 2: 1941 return &v.unknownFields 1942 default: 1943 return nil 1944 } 1945 } 1946 edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1947 switch v := v.(*SSHService_TerminalSize); i { 1948 case 0: 1949 return &v.state 1950 case 1: 1951 return &v.sizeCache 1952 case 2: 1953 return &v.unknownFields 1954 default: 1955 return nil 1956 } 1957 } 1958 edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1959 switch v := v.(*SSHService_ClientOut); i { 1960 case 0: 1961 return &v.state 1962 case 1: 1963 return &v.sizeCache 1964 case 2: 1965 return &v.unknownFields 1966 default: 1967 return nil 1968 } 1969 } 1970 edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1971 switch v := v.(*SSHService_ClientIn); i { 1972 case 0: 1973 return &v.state 1974 case 1: 1975 return &v.sizeCache 1976 case 2: 1977 return &v.unknownFields 1978 default: 1979 return nil 1980 } 1981 } 1982 edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1983 switch v := v.(*SCPService_Configure); i { 1984 case 0: 1985 return &v.state 1986 case 1: 1987 return &v.sizeCache 1988 case 2: 1989 return &v.unknownFields 1990 default: 1991 return nil 1992 } 1993 } 1994 edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1995 switch v := v.(*SCPService_CreateDirectory); i { 1996 case 0: 1997 return &v.state 1998 case 1: 1999 return &v.sizeCache 2000 case 2: 2001 return &v.unknownFields 2002 default: 2003 return nil 2004 } 2005 } 2006 edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 2007 switch v := v.(*SCPService_CreateFile); i { 2008 case 0: 2009 return &v.state 2010 case 1: 2011 return &v.sizeCache 2012 case 2: 2013 return &v.unknownFields 2014 default: 2015 return nil 2016 } 2017 } 2018 edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 2019 switch v := v.(*SCPService_CreateFile_Initialize); i { 2020 case 0: 2021 return &v.state 2022 case 1: 2023 return &v.sizeCache 2024 case 2: 2025 return &v.unknownFields 2026 default: 2027 return nil 2028 } 2029 } 2030 edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 2031 switch v := v.(*LogsService_ToDevice); i { 2032 case 0: 2033 return &v.state 2034 case 1: 2035 return &v.sizeCache 2036 case 2: 2037 return &v.unknownFields 2038 default: 2039 return nil 2040 } 2041 } 2042 edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 2043 switch v := v.(*LogsService_ToClient); i { 2044 case 0: 2045 return &v.state 2046 case 1: 2047 return &v.sizeCache 2048 case 2: 2049 return &v.unknownFields 2050 default: 2051 return nil 2052 } 2053 } 2054 } 2055 2056 edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[1].OneofWrappers = []interface{}{ 2057 (*SCPService_Dir)(nil), 2058 (*SCPService_File)(nil), 2059 (*SCPService_Eot)(nil), 2060 (*SCPService_Config)(nil), 2061 } 2062 edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[7].OneofWrappers = []interface{}{ 2063 (*SSHService_ClientOut_Data)(nil), 2064 (*SSHService_ClientOut_SshHello)(nil), 2065 (*SSHService_ClientOut_SshResizeTerminal)(nil), 2066 } 2067 edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[8].OneofWrappers = []interface{}{ 2068 (*SSHService_ClientIn_Data)(nil), 2069 } 2070 edgelq_devices_proto_v1_broker_msgs_proto_msgTypes[12].OneofWrappers = []interface{}{ 2071 (*SCPService_CreateFile_Init)(nil), 2072 (*SCPService_CreateFile_Data)(nil), 2073 (*SCPService_CreateFile_Eof)(nil), 2074 } 2075 type x struct{} 2076 out := protoimpl.TypeBuilder{ 2077 File: protoimpl.DescBuilder{ 2078 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 2079 RawDescriptor: edgelq_devices_proto_v1_broker_msgs_proto_rawDesc, 2080 NumEnums: 4, 2081 NumMessages: 16, 2082 NumExtensions: 0, 2083 NumServices: 0, 2084 }, 2085 GoTypes: edgelq_devices_proto_v1_broker_msgs_proto_goTypes, 2086 DependencyIndexes: edgelq_devices_proto_v1_broker_msgs_proto_depIdxs, 2087 EnumInfos: edgelq_devices_proto_v1_broker_msgs_proto_enumTypes, 2088 MessageInfos: edgelq_devices_proto_v1_broker_msgs_proto_msgTypes, 2089 }.Build() 2090 edgelq_devices_proto_v1_broker_msgs_proto = out.File 2091 edgelq_devices_proto_v1_broker_msgs_proto_rawDesc = nil 2092 edgelq_devices_proto_v1_broker_msgs_proto_goTypes = nil 2093 edgelq_devices_proto_v1_broker_msgs_proto_depIdxs = nil 2094 }