github.com/cloudwan/edgelq-sdk@v1.15.4/devices/client/v1alpha2/broker/broker_custom.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/devices/proto/v1alpha2/broker_custom.proto 3 // DO NOT EDIT!!! 4 5 package broker_client 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 device "github.com/cloudwan/edgelq-sdk/devices/resources/v1alpha2/device" 21 project "github.com/cloudwan/edgelq-sdk/devices/resources/v1alpha2/project" 22 ) 23 24 // Reference imports to suppress errors if they are not otherwise used. 25 var ( 26 _ = fmt.Errorf 27 _ = reflect.Method{} 28 _ = sync.Once{} 29 30 _ = protojson.MarshalOptions{} 31 _ = proto.MarshalOptions{} 32 _ = preflect.Value{} 33 _ = protoimpl.DescBuilder{} 34 ) 35 36 // make sure we're using proto imports 37 var ( 38 _ = &device.Device{} 39 _ = &project.Project{} 40 ) 41 42 const ( 43 // Verify that this generated code is sufficiently up-to-date. 44 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 45 // Verify that runtime/protoimpl is sufficiently up-to-date. 46 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 47 ) 48 49 // Broker dedicated messages 50 type BrokerServiceType int32 51 52 const ( 53 // Service type not specified 54 BrokerServiceType_BROKER_SERVICE_UNSPECIFIED BrokerServiceType = 0 55 // SSH service 56 BrokerServiceType_BROKER_SERVICE_SSH_LEGACY BrokerServiceType = 1 57 BrokerServiceType_BROKER_SERVICE_SSH BrokerServiceType = 3 58 // TCP port forward service 59 BrokerServiceType_BROKER_SERVICE_TCP_FORWARD_PORT BrokerServiceType = 2 60 // Reboot service 61 BrokerServiceType_BROKER_SERVICE_REBOOT BrokerServiceType = 4 62 // Shutdown service 63 BrokerServiceType_BROKER_SERVICE_SHUTDOWN BrokerServiceType = 5 64 // SCP service 65 BrokerServiceType_BROKER_SERVICE_SCP BrokerServiceType = 6 66 BrokerServiceType_BROKER_SERVICE_SCP_LEGACY BrokerServiceType = 7 67 // System Logs service 68 BrokerServiceType_BROKER_SYS_LOGS BrokerServiceType = 8 69 // Application (Container) Logs service 70 BrokerServiceType_BROKER_APP_LOGS BrokerServiceType = 9 71 // Pod State Management service 72 BrokerServiceType_BROKER_POD_MANAGEMENT BrokerServiceType = 10 73 ) 74 75 var ( 76 BrokerServiceType_name = map[int32]string{ 77 0: "BROKER_SERVICE_UNSPECIFIED", 78 1: "BROKER_SERVICE_SSH_LEGACY", 79 3: "BROKER_SERVICE_SSH", 80 2: "BROKER_SERVICE_TCP_FORWARD_PORT", 81 4: "BROKER_SERVICE_REBOOT", 82 5: "BROKER_SERVICE_SHUTDOWN", 83 6: "BROKER_SERVICE_SCP", 84 7: "BROKER_SERVICE_SCP_LEGACY", 85 8: "BROKER_SYS_LOGS", 86 9: "BROKER_APP_LOGS", 87 10: "BROKER_POD_MANAGEMENT", 88 } 89 90 BrokerServiceType_value = map[string]int32{ 91 "BROKER_SERVICE_UNSPECIFIED": 0, 92 "BROKER_SERVICE_SSH_LEGACY": 1, 93 "BROKER_SERVICE_SSH": 3, 94 "BROKER_SERVICE_TCP_FORWARD_PORT": 2, 95 "BROKER_SERVICE_REBOOT": 4, 96 "BROKER_SERVICE_SHUTDOWN": 5, 97 "BROKER_SERVICE_SCP": 6, 98 "BROKER_SERVICE_SCP_LEGACY": 7, 99 "BROKER_SYS_LOGS": 8, 100 "BROKER_APP_LOGS": 9, 101 "BROKER_POD_MANAGEMENT": 10, 102 } 103 ) 104 105 func (x BrokerServiceType) Enum() *BrokerServiceType { 106 p := new(BrokerServiceType) 107 *p = x 108 return p 109 } 110 111 func (x BrokerServiceType) String() string { 112 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 113 } 114 115 func (BrokerServiceType) Descriptor() preflect.EnumDescriptor { 116 return edgelq_devices_proto_v1alpha2_broker_custom_proto_enumTypes[0].Descriptor() 117 } 118 119 func (BrokerServiceType) Type() preflect.EnumType { 120 return &edgelq_devices_proto_v1alpha2_broker_custom_proto_enumTypes[0] 121 } 122 123 func (x BrokerServiceType) Number() preflect.EnumNumber { 124 return preflect.EnumNumber(x) 125 } 126 127 // Deprecated, Use BrokerServiceType.ProtoReflect.Descriptor instead. 128 func (BrokerServiceType) EnumDescriptor() ([]byte, []int) { 129 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{0} 130 } 131 132 type SCPService_Configure_Direction int32 133 134 const ( 135 SCPService_Configure_DOWNLOAD SCPService_Configure_Direction = 0 136 SCPService_Configure_UPLOAD SCPService_Configure_Direction = 1 137 ) 138 139 var ( 140 SCPService_Configure_Direction_name = map[int32]string{ 141 0: "DOWNLOAD", 142 1: "UPLOAD", 143 } 144 145 SCPService_Configure_Direction_value = map[string]int32{ 146 "DOWNLOAD": 0, 147 "UPLOAD": 1, 148 } 149 ) 150 151 func (x SCPService_Configure_Direction) Enum() *SCPService_Configure_Direction { 152 p := new(SCPService_Configure_Direction) 153 *p = x 154 return p 155 } 156 157 func (x SCPService_Configure_Direction) String() string { 158 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 159 } 160 161 func (SCPService_Configure_Direction) Descriptor() preflect.EnumDescriptor { 162 return edgelq_devices_proto_v1alpha2_broker_custom_proto_enumTypes[1].Descriptor() 163 } 164 165 func (SCPService_Configure_Direction) Type() preflect.EnumType { 166 return &edgelq_devices_proto_v1alpha2_broker_custom_proto_enumTypes[1] 167 } 168 169 func (x SCPService_Configure_Direction) Number() preflect.EnumNumber { 170 return preflect.EnumNumber(x) 171 } 172 173 // Deprecated, Use SCPService_Configure_Direction.ProtoReflect.Descriptor instead. 174 func (SCPService_Configure_Direction) EnumDescriptor() ([]byte, []int) { 175 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{8, 0, 0} 176 } 177 178 // Commands for pod state management 179 type PodManagementService_PodState int32 180 181 const ( 182 // Unspecified pod state 183 PodManagementService_UNSPECIFIED PodManagementService_PodState = 0 184 // Start the pod 185 PodManagementService_START PodManagementService_PodState = 1 186 // Stop the pod 187 PodManagementService_STOP PodManagementService_PodState = 2 188 // Restart the pod 189 PodManagementService_RESTART PodManagementService_PodState = 3 190 ) 191 192 var ( 193 PodManagementService_PodState_name = map[int32]string{ 194 0: "UNSPECIFIED", 195 1: "START", 196 2: "STOP", 197 3: "RESTART", 198 } 199 200 PodManagementService_PodState_value = map[string]int32{ 201 "UNSPECIFIED": 0, 202 "START": 1, 203 "STOP": 2, 204 "RESTART": 3, 205 } 206 ) 207 208 func (x PodManagementService_PodState) Enum() *PodManagementService_PodState { 209 p := new(PodManagementService_PodState) 210 *p = x 211 return p 212 } 213 214 func (x PodManagementService_PodState) String() string { 215 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 216 } 217 218 func (PodManagementService_PodState) Descriptor() preflect.EnumDescriptor { 219 return edgelq_devices_proto_v1alpha2_broker_custom_proto_enumTypes[2].Descriptor() 220 } 221 222 func (PodManagementService_PodState) Type() preflect.EnumType { 223 return &edgelq_devices_proto_v1alpha2_broker_custom_proto_enumTypes[2] 224 } 225 226 func (x PodManagementService_PodState) Number() preflect.EnumNumber { 227 return preflect.EnumNumber(x) 228 } 229 230 // Deprecated, Use PodManagementService_PodState.ProtoReflect.Descriptor instead. 231 func (PodManagementService_PodState) EnumDescriptor() ([]byte, []int) { 232 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{10, 0} 233 } 234 235 // Commands for system state management 236 type SystemStateService_SystemState int32 237 238 const ( 239 // Unspecified system state 240 SystemStateService_UNSPECIFIED SystemStateService_SystemState = 0 241 // Shutdown the system 242 SystemStateService_SHUTDOWN SystemStateService_SystemState = 1 243 // Reboot the system 244 SystemStateService_REBOOT SystemStateService_SystemState = 2 245 ) 246 247 var ( 248 SystemStateService_SystemState_name = map[int32]string{ 249 0: "UNSPECIFIED", 250 1: "SHUTDOWN", 251 2: "REBOOT", 252 } 253 254 SystemStateService_SystemState_value = map[string]int32{ 255 "UNSPECIFIED": 0, 256 "SHUTDOWN": 1, 257 "REBOOT": 2, 258 } 259 ) 260 261 func (x SystemStateService_SystemState) Enum() *SystemStateService_SystemState { 262 p := new(SystemStateService_SystemState) 263 *p = x 264 return p 265 } 266 267 func (x SystemStateService_SystemState) String() string { 268 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 269 } 270 271 func (SystemStateService_SystemState) Descriptor() preflect.EnumDescriptor { 272 return edgelq_devices_proto_v1alpha2_broker_custom_proto_enumTypes[3].Descriptor() 273 } 274 275 func (SystemStateService_SystemState) Type() preflect.EnumType { 276 return &edgelq_devices_proto_v1alpha2_broker_custom_proto_enumTypes[3] 277 } 278 279 func (x SystemStateService_SystemState) Number() preflect.EnumNumber { 280 return preflect.EnumNumber(x) 281 } 282 283 // Deprecated, Use SystemStateService_SystemState.ProtoReflect.Descriptor instead. 284 func (SystemStateService_SystemState) EnumDescriptor() ([]byte, []int) { 285 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{11, 0} 286 } 287 288 // Request message for method 289 // [ListenForConnections][ntt.devices.v1alpha2.ListenForConnections] Registers a 290 // new session listener (agent) to the endpoint. This method is used by agents 291 // on the device and not meant for use of users. 292 type ListenForConnectionsRequest struct { 293 state protoimpl.MessageState 294 sizeCache protoimpl.SizeCache 295 unknownFields protoimpl.UnknownFields 296 // Types that are valid to be assigned to Msg: 297 // *ListenForConnectionsRequest_RegisterListener_ 298 // *ListenForConnectionsRequest_ChannelOpenError_ 299 // *ListenForConnectionsRequest_KeepAlive_ 300 Msg isListenForConnectionsRequest_Msg `protobuf_oneof:"msg"` 301 } 302 303 func (m *ListenForConnectionsRequest) Reset() { 304 *m = ListenForConnectionsRequest{} 305 if protoimpl.UnsafeEnabled { 306 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[0] 307 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 308 ms.StoreMessageInfo(mi) 309 } 310 } 311 312 func (m *ListenForConnectionsRequest) String() string { 313 return protoimpl.X.MessageStringOf(m) 314 } 315 316 func (*ListenForConnectionsRequest) ProtoMessage() {} 317 318 func (m *ListenForConnectionsRequest) ProtoReflect() preflect.Message { 319 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[0] 320 if protoimpl.UnsafeEnabled && m != nil { 321 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 322 if ms.LoadMessageInfo() == nil { 323 ms.StoreMessageInfo(mi) 324 } 325 return ms 326 } 327 return mi.MessageOf(m) 328 } 329 330 func (*ListenForConnectionsRequest) GotenMessage() {} 331 332 // Deprecated, Use ListenForConnectionsRequest.ProtoReflect.Descriptor instead. 333 func (*ListenForConnectionsRequest) Descriptor() ([]byte, []int) { 334 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{0} 335 } 336 337 func (m *ListenForConnectionsRequest) Unmarshal(b []byte) error { 338 return proto.Unmarshal(b, m) 339 } 340 341 func (m *ListenForConnectionsRequest) Marshal() ([]byte, error) { 342 return proto.Marshal(m) 343 } 344 345 func (m *ListenForConnectionsRequest) MarshalJSON() ([]byte, error) { 346 return protojson.MarshalOptions{}.Marshal(m) 347 } 348 349 func (m *ListenForConnectionsRequest) UnmarshalJSON(data []byte) error { 350 return protojson.Unmarshal(data, m) 351 } 352 353 type isListenForConnectionsRequest_Msg interface { 354 isListenForConnectionsRequest_Msg() 355 } 356 357 type ListenForConnectionsRequest_RegisterListener_ struct { 358 // This is a hello message from the agent with its name. 359 RegisterListener *ListenForConnectionsRequest_RegisterListener `protobuf:"bytes,1,opt,name=register_listener,json=registerListener,proto3,oneof"` 360 } 361 type ListenForConnectionsRequest_ChannelOpenError_ struct { 362 // When the agent failed to open a requested channel, this message will be 363 // sent from the agent to the endpoint. 364 ChannelOpenError *ListenForConnectionsRequest_ChannelOpenError `protobuf:"bytes,2,opt,name=channel_open_error,json=channelOpenError,proto3,oneof"` 365 } 366 type ListenForConnectionsRequest_KeepAlive_ struct { 367 // KeepAlive. 368 KeepAlive *ListenForConnectionsRequest_KeepAlive `protobuf:"bytes,3,opt,name=keep_alive,json=keepAlive,proto3,oneof"` 369 } 370 371 func (*ListenForConnectionsRequest_RegisterListener_) isListenForConnectionsRequest_Msg() {} 372 func (*ListenForConnectionsRequest_ChannelOpenError_) isListenForConnectionsRequest_Msg() {} 373 func (*ListenForConnectionsRequest_KeepAlive_) isListenForConnectionsRequest_Msg() {} 374 func (m *ListenForConnectionsRequest) GetMsg() isListenForConnectionsRequest_Msg { 375 if m != nil { 376 return m.Msg 377 } 378 return nil 379 } 380 func (m *ListenForConnectionsRequest) GetRegisterListener() *ListenForConnectionsRequest_RegisterListener { 381 if x, ok := m.GetMsg().(*ListenForConnectionsRequest_RegisterListener_); ok { 382 return x.RegisterListener 383 } 384 return nil 385 } 386 func (m *ListenForConnectionsRequest) GetChannelOpenError() *ListenForConnectionsRequest_ChannelOpenError { 387 if x, ok := m.GetMsg().(*ListenForConnectionsRequest_ChannelOpenError_); ok { 388 return x.ChannelOpenError 389 } 390 return nil 391 } 392 func (m *ListenForConnectionsRequest) GetKeepAlive() *ListenForConnectionsRequest_KeepAlive { 393 if x, ok := m.GetMsg().(*ListenForConnectionsRequest_KeepAlive_); ok { 394 return x.KeepAlive 395 } 396 return nil 397 } 398 func (m *ListenForConnectionsRequest) SetMsg(ofv isListenForConnectionsRequest_Msg) { 399 if m == nil { 400 panic(fmt.Errorf("can't set %s on nil %s", "isListenForConnectionsRequest_Msg", "ListenForConnectionsRequest")) 401 } 402 m.Msg = ofv 403 } 404 func (m *ListenForConnectionsRequest) SetRegisterListener(fv *ListenForConnectionsRequest_RegisterListener) { 405 m.SetMsg(&ListenForConnectionsRequest_RegisterListener_{RegisterListener: fv}) 406 } 407 func (m *ListenForConnectionsRequest) SetChannelOpenError(fv *ListenForConnectionsRequest_ChannelOpenError) { 408 m.SetMsg(&ListenForConnectionsRequest_ChannelOpenError_{ChannelOpenError: fv}) 409 } 410 func (m *ListenForConnectionsRequest) SetKeepAlive(fv *ListenForConnectionsRequest_KeepAlive) { 411 m.SetMsg(&ListenForConnectionsRequest_KeepAlive_{KeepAlive: fv}) 412 } 413 414 // Response message for method 415 // [ListenForConnections][ntt.devices.v1alpha2.ListenForConnections] Responses 416 // from the endpoint to session agents. 417 type ListenForConnectionsResponse struct { 418 state protoimpl.MessageState 419 sizeCache protoimpl.SizeCache 420 unknownFields protoimpl.UnknownFields 421 // Types that are valid to be assigned to Msg: 422 // *ListenForConnectionsResponse_ChannelRequested_ 423 // *ListenForConnectionsResponse_KeepAlive_ 424 Msg isListenForConnectionsResponse_Msg `protobuf_oneof:"msg"` 425 } 426 427 func (m *ListenForConnectionsResponse) Reset() { 428 *m = ListenForConnectionsResponse{} 429 if protoimpl.UnsafeEnabled { 430 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[1] 431 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 432 ms.StoreMessageInfo(mi) 433 } 434 } 435 436 func (m *ListenForConnectionsResponse) String() string { 437 return protoimpl.X.MessageStringOf(m) 438 } 439 440 func (*ListenForConnectionsResponse) ProtoMessage() {} 441 442 func (m *ListenForConnectionsResponse) ProtoReflect() preflect.Message { 443 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[1] 444 if protoimpl.UnsafeEnabled && m != nil { 445 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 446 if ms.LoadMessageInfo() == nil { 447 ms.StoreMessageInfo(mi) 448 } 449 return ms 450 } 451 return mi.MessageOf(m) 452 } 453 454 func (*ListenForConnectionsResponse) GotenMessage() {} 455 456 // Deprecated, Use ListenForConnectionsResponse.ProtoReflect.Descriptor instead. 457 func (*ListenForConnectionsResponse) Descriptor() ([]byte, []int) { 458 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{1} 459 } 460 461 func (m *ListenForConnectionsResponse) Unmarshal(b []byte) error { 462 return proto.Unmarshal(b, m) 463 } 464 465 func (m *ListenForConnectionsResponse) Marshal() ([]byte, error) { 466 return proto.Marshal(m) 467 } 468 469 func (m *ListenForConnectionsResponse) MarshalJSON() ([]byte, error) { 470 return protojson.MarshalOptions{}.Marshal(m) 471 } 472 473 func (m *ListenForConnectionsResponse) UnmarshalJSON(data []byte) error { 474 return protojson.Unmarshal(data, m) 475 } 476 477 type isListenForConnectionsResponse_Msg interface { 478 isListenForConnectionsResponse_Msg() 479 } 480 481 type ListenForConnectionsResponse_ChannelRequested_ struct { 482 // Notifies a new channel has been requested by a client. 483 ChannelRequested *ListenForConnectionsResponse_ChannelRequested `protobuf:"bytes,1,opt,name=channel_requested,json=channelRequested,proto3,oneof"` 484 } 485 type ListenForConnectionsResponse_KeepAlive_ struct { 486 // Keepalive 487 KeepAlive *ListenForConnectionsResponse_KeepAlive `protobuf:"bytes,2,opt,name=keep_alive,json=keepAlive,proto3,oneof"` 488 } 489 490 func (*ListenForConnectionsResponse_ChannelRequested_) isListenForConnectionsResponse_Msg() {} 491 func (*ListenForConnectionsResponse_KeepAlive_) isListenForConnectionsResponse_Msg() {} 492 func (m *ListenForConnectionsResponse) GetMsg() isListenForConnectionsResponse_Msg { 493 if m != nil { 494 return m.Msg 495 } 496 return nil 497 } 498 func (m *ListenForConnectionsResponse) GetChannelRequested() *ListenForConnectionsResponse_ChannelRequested { 499 if x, ok := m.GetMsg().(*ListenForConnectionsResponse_ChannelRequested_); ok { 500 return x.ChannelRequested 501 } 502 return nil 503 } 504 func (m *ListenForConnectionsResponse) GetKeepAlive() *ListenForConnectionsResponse_KeepAlive { 505 if x, ok := m.GetMsg().(*ListenForConnectionsResponse_KeepAlive_); ok { 506 return x.KeepAlive 507 } 508 return nil 509 } 510 func (m *ListenForConnectionsResponse) SetMsg(ofv isListenForConnectionsResponse_Msg) { 511 if m == nil { 512 panic(fmt.Errorf("can't set %s on nil %s", "isListenForConnectionsResponse_Msg", "ListenForConnectionsResponse")) 513 } 514 m.Msg = ofv 515 } 516 func (m *ListenForConnectionsResponse) SetChannelRequested(fv *ListenForConnectionsResponse_ChannelRequested) { 517 m.SetMsg(&ListenForConnectionsResponse_ChannelRequested_{ChannelRequested: fv}) 518 } 519 func (m *ListenForConnectionsResponse) SetKeepAlive(fv *ListenForConnectionsResponse_KeepAlive) { 520 m.SetMsg(&ListenForConnectionsResponse_KeepAlive_{KeepAlive: fv}) 521 } 522 523 // Request message for method 524 // [OpenConnectionChannelSocket][ntt.devices.v1alpha2.OpenConnectionChannelSocket] 525 // Opens a new socket for a session by agent at an endpoint. This session is 526 // usually initiated by the agent who received a `ChannelRequested` message on a 527 // ListenForConnection session. The session is used for data plane to transfer 528 // data for a channel between the endpoint and the agent. 529 type OpenConnectionChannelSocketRequest struct { 530 state protoimpl.MessageState 531 sizeCache protoimpl.SizeCache 532 unknownFields protoimpl.UnknownFields 533 // Types that are valid to be assigned to Msg: 534 // *OpenConnectionChannelSocketRequest_RegisterSocket_ 535 // *OpenConnectionChannelSocketRequest_Data 536 // *OpenConnectionChannelSocketRequest_Error 537 // *OpenConnectionChannelSocketRequest_Ack 538 Msg isOpenConnectionChannelSocketRequest_Msg `protobuf_oneof:"msg"` 539 } 540 541 func (m *OpenConnectionChannelSocketRequest) Reset() { 542 *m = OpenConnectionChannelSocketRequest{} 543 if protoimpl.UnsafeEnabled { 544 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[2] 545 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 546 ms.StoreMessageInfo(mi) 547 } 548 } 549 550 func (m *OpenConnectionChannelSocketRequest) String() string { 551 return protoimpl.X.MessageStringOf(m) 552 } 553 554 func (*OpenConnectionChannelSocketRequest) ProtoMessage() {} 555 556 func (m *OpenConnectionChannelSocketRequest) ProtoReflect() preflect.Message { 557 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[2] 558 if protoimpl.UnsafeEnabled && m != nil { 559 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 560 if ms.LoadMessageInfo() == nil { 561 ms.StoreMessageInfo(mi) 562 } 563 return ms 564 } 565 return mi.MessageOf(m) 566 } 567 568 func (*OpenConnectionChannelSocketRequest) GotenMessage() {} 569 570 // Deprecated, Use OpenConnectionChannelSocketRequest.ProtoReflect.Descriptor instead. 571 func (*OpenConnectionChannelSocketRequest) Descriptor() ([]byte, []int) { 572 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{2} 573 } 574 575 func (m *OpenConnectionChannelSocketRequest) Unmarshal(b []byte) error { 576 return proto.Unmarshal(b, m) 577 } 578 579 func (m *OpenConnectionChannelSocketRequest) Marshal() ([]byte, error) { 580 return proto.Marshal(m) 581 } 582 583 func (m *OpenConnectionChannelSocketRequest) MarshalJSON() ([]byte, error) { 584 return protojson.MarshalOptions{}.Marshal(m) 585 } 586 587 func (m *OpenConnectionChannelSocketRequest) UnmarshalJSON(data []byte) error { 588 return protojson.Unmarshal(data, m) 589 } 590 591 type isOpenConnectionChannelSocketRequest_Msg interface { 592 isOpenConnectionChannelSocketRequest_Msg() 593 } 594 595 type OpenConnectionChannelSocketRequest_RegisterSocket_ struct { 596 // Registers a new socket on the endpoint. 597 RegisterSocket *OpenConnectionChannelSocketRequest_RegisterSocket `protobuf:"bytes,1,opt,name=register_socket,json=registerSocket,proto3,oneof"` 598 } 599 type OpenConnectionChannelSocketRequest_Data struct { 600 // Data from the agent to the endpoint (client). 601 Data []byte `protobuf:"bytes,3,opt,name=data,proto3,oneof"` 602 } 603 type OpenConnectionChannelSocketRequest_Error struct { 604 // Error from the agent to the endpoint (client). 605 Error []byte `protobuf:"bytes,4,opt,name=error,proto3,oneof"` 606 } 607 type OpenConnectionChannelSocketRequest_Ack struct { 608 // Ack from the agent to the endpoint (client) 609 Ack *Ack `protobuf:"bytes,5,opt,name=ack,proto3,oneof"` 610 } 611 612 func (*OpenConnectionChannelSocketRequest_RegisterSocket_) isOpenConnectionChannelSocketRequest_Msg() { 613 } 614 func (*OpenConnectionChannelSocketRequest_Data) isOpenConnectionChannelSocketRequest_Msg() {} 615 func (*OpenConnectionChannelSocketRequest_Error) isOpenConnectionChannelSocketRequest_Msg() {} 616 func (*OpenConnectionChannelSocketRequest_Ack) isOpenConnectionChannelSocketRequest_Msg() {} 617 func (m *OpenConnectionChannelSocketRequest) GetMsg() isOpenConnectionChannelSocketRequest_Msg { 618 if m != nil { 619 return m.Msg 620 } 621 return nil 622 } 623 func (m *OpenConnectionChannelSocketRequest) GetRegisterSocket() *OpenConnectionChannelSocketRequest_RegisterSocket { 624 if x, ok := m.GetMsg().(*OpenConnectionChannelSocketRequest_RegisterSocket_); ok { 625 return x.RegisterSocket 626 } 627 return nil 628 } 629 func (m *OpenConnectionChannelSocketRequest) GetData() []byte { 630 if x, ok := m.GetMsg().(*OpenConnectionChannelSocketRequest_Data); ok { 631 return x.Data 632 } 633 return nil 634 } 635 func (m *OpenConnectionChannelSocketRequest) GetError() []byte { 636 if x, ok := m.GetMsg().(*OpenConnectionChannelSocketRequest_Error); ok { 637 return x.Error 638 } 639 return nil 640 } 641 func (m *OpenConnectionChannelSocketRequest) GetAck() *Ack { 642 if x, ok := m.GetMsg().(*OpenConnectionChannelSocketRequest_Ack); ok { 643 return x.Ack 644 } 645 return nil 646 } 647 func (m *OpenConnectionChannelSocketRequest) SetMsg(ofv isOpenConnectionChannelSocketRequest_Msg) { 648 if m == nil { 649 panic(fmt.Errorf("can't set %s on nil %s", "isOpenConnectionChannelSocketRequest_Msg", "OpenConnectionChannelSocketRequest")) 650 } 651 m.Msg = ofv 652 } 653 func (m *OpenConnectionChannelSocketRequest) SetRegisterSocket(fv *OpenConnectionChannelSocketRequest_RegisterSocket) { 654 m.SetMsg(&OpenConnectionChannelSocketRequest_RegisterSocket_{RegisterSocket: fv}) 655 } 656 func (m *OpenConnectionChannelSocketRequest) SetData(fv []byte) { 657 m.SetMsg(&OpenConnectionChannelSocketRequest_Data{Data: fv}) 658 } 659 func (m *OpenConnectionChannelSocketRequest) SetError(fv []byte) { 660 m.SetMsg(&OpenConnectionChannelSocketRequest_Error{Error: fv}) 661 } 662 func (m *OpenConnectionChannelSocketRequest) SetAck(fv *Ack) { 663 m.SetMsg(&OpenConnectionChannelSocketRequest_Ack{Ack: fv}) 664 } 665 666 // Response message for method 667 // [OpenConnectionChannelSocket][ntt.devices.v1alpha2.OpenConnectionChannelSocket] 668 type OpenConnectionChannelSocketResponse struct { 669 state protoimpl.MessageState 670 sizeCache protoimpl.SizeCache 671 unknownFields protoimpl.UnknownFields 672 // Types that are valid to be assigned to Msg: 673 // *OpenConnectionChannelSocketResponse_Data 674 // *OpenConnectionChannelSocketResponse_Ack 675 Msg isOpenConnectionChannelSocketResponse_Msg `protobuf_oneof:"msg"` 676 } 677 678 func (m *OpenConnectionChannelSocketResponse) Reset() { 679 *m = OpenConnectionChannelSocketResponse{} 680 if protoimpl.UnsafeEnabled { 681 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[3] 682 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 683 ms.StoreMessageInfo(mi) 684 } 685 } 686 687 func (m *OpenConnectionChannelSocketResponse) String() string { 688 return protoimpl.X.MessageStringOf(m) 689 } 690 691 func (*OpenConnectionChannelSocketResponse) ProtoMessage() {} 692 693 func (m *OpenConnectionChannelSocketResponse) ProtoReflect() preflect.Message { 694 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[3] 695 if protoimpl.UnsafeEnabled && m != nil { 696 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 697 if ms.LoadMessageInfo() == nil { 698 ms.StoreMessageInfo(mi) 699 } 700 return ms 701 } 702 return mi.MessageOf(m) 703 } 704 705 func (*OpenConnectionChannelSocketResponse) GotenMessage() {} 706 707 // Deprecated, Use OpenConnectionChannelSocketResponse.ProtoReflect.Descriptor instead. 708 func (*OpenConnectionChannelSocketResponse) Descriptor() ([]byte, []int) { 709 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{3} 710 } 711 712 func (m *OpenConnectionChannelSocketResponse) Unmarshal(b []byte) error { 713 return proto.Unmarshal(b, m) 714 } 715 716 func (m *OpenConnectionChannelSocketResponse) Marshal() ([]byte, error) { 717 return proto.Marshal(m) 718 } 719 720 func (m *OpenConnectionChannelSocketResponse) MarshalJSON() ([]byte, error) { 721 return protojson.MarshalOptions{}.Marshal(m) 722 } 723 724 func (m *OpenConnectionChannelSocketResponse) UnmarshalJSON(data []byte) error { 725 return protojson.Unmarshal(data, m) 726 } 727 728 type isOpenConnectionChannelSocketResponse_Msg interface { 729 isOpenConnectionChannelSocketResponse_Msg() 730 } 731 732 type OpenConnectionChannelSocketResponse_Data struct { 733 // Data from the endpoint (client) to the agent. 734 Data []byte `protobuf:"bytes,1,opt,name=data,proto3,oneof"` 735 } 736 type OpenConnectionChannelSocketResponse_Ack struct { 737 // Ack from the client to the endpoint (device) 738 Ack *Ack `protobuf:"bytes,2,opt,name=ack,proto3,oneof"` 739 } 740 741 func (*OpenConnectionChannelSocketResponse_Data) isOpenConnectionChannelSocketResponse_Msg() {} 742 func (*OpenConnectionChannelSocketResponse_Ack) isOpenConnectionChannelSocketResponse_Msg() {} 743 func (m *OpenConnectionChannelSocketResponse) GetMsg() isOpenConnectionChannelSocketResponse_Msg { 744 if m != nil { 745 return m.Msg 746 } 747 return nil 748 } 749 func (m *OpenConnectionChannelSocketResponse) GetData() []byte { 750 if x, ok := m.GetMsg().(*OpenConnectionChannelSocketResponse_Data); ok { 751 return x.Data 752 } 753 return nil 754 } 755 func (m *OpenConnectionChannelSocketResponse) GetAck() *Ack { 756 if x, ok := m.GetMsg().(*OpenConnectionChannelSocketResponse_Ack); ok { 757 return x.Ack 758 } 759 return nil 760 } 761 func (m *OpenConnectionChannelSocketResponse) SetMsg(ofv isOpenConnectionChannelSocketResponse_Msg) { 762 if m == nil { 763 panic(fmt.Errorf("can't set %s on nil %s", "isOpenConnectionChannelSocketResponse_Msg", "OpenConnectionChannelSocketResponse")) 764 } 765 m.Msg = ofv 766 } 767 func (m *OpenConnectionChannelSocketResponse) SetData(fv []byte) { 768 m.SetMsg(&OpenConnectionChannelSocketResponse_Data{Data: fv}) 769 } 770 func (m *OpenConnectionChannelSocketResponse) SetAck(fv *Ack) { 771 m.SetMsg(&OpenConnectionChannelSocketResponse_Ack{Ack: fv}) 772 } 773 774 // Request message for method 775 // [ConnectToDevice][ntt.devices.v1alpha2.ConnectToDevice] ConnectToDevice 776 // connects a local service provided by a Device. 777 type ConnectToDeviceRequest struct { 778 state protoimpl.MessageState 779 sizeCache protoimpl.SizeCache 780 unknownFields protoimpl.UnknownFields 781 // Types that are valid to be assigned to Msg: 782 // *ConnectToDeviceRequest_OpenRequest_ 783 // *ConnectToDeviceRequest_Data 784 // *ConnectToDeviceRequest_Ack 785 // *ConnectToDeviceRequest_KeepAlive_ 786 Msg isConnectToDeviceRequest_Msg `protobuf_oneof:"msg"` 787 } 788 789 func (m *ConnectToDeviceRequest) Reset() { 790 *m = ConnectToDeviceRequest{} 791 if protoimpl.UnsafeEnabled { 792 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[4] 793 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 794 ms.StoreMessageInfo(mi) 795 } 796 } 797 798 func (m *ConnectToDeviceRequest) String() string { 799 return protoimpl.X.MessageStringOf(m) 800 } 801 802 func (*ConnectToDeviceRequest) ProtoMessage() {} 803 804 func (m *ConnectToDeviceRequest) ProtoReflect() preflect.Message { 805 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[4] 806 if protoimpl.UnsafeEnabled && m != nil { 807 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 808 if ms.LoadMessageInfo() == nil { 809 ms.StoreMessageInfo(mi) 810 } 811 return ms 812 } 813 return mi.MessageOf(m) 814 } 815 816 func (*ConnectToDeviceRequest) GotenMessage() {} 817 818 // Deprecated, Use ConnectToDeviceRequest.ProtoReflect.Descriptor instead. 819 func (*ConnectToDeviceRequest) Descriptor() ([]byte, []int) { 820 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{4} 821 } 822 823 func (m *ConnectToDeviceRequest) Unmarshal(b []byte) error { 824 return proto.Unmarshal(b, m) 825 } 826 827 func (m *ConnectToDeviceRequest) Marshal() ([]byte, error) { 828 return proto.Marshal(m) 829 } 830 831 func (m *ConnectToDeviceRequest) MarshalJSON() ([]byte, error) { 832 return protojson.MarshalOptions{}.Marshal(m) 833 } 834 835 func (m *ConnectToDeviceRequest) UnmarshalJSON(data []byte) error { 836 return protojson.Unmarshal(data, m) 837 } 838 839 type isConnectToDeviceRequest_Msg interface { 840 isConnectToDeviceRequest_Msg() 841 } 842 843 type ConnectToDeviceRequest_OpenRequest_ struct { 844 // The initiation message to open a channel to a device. 845 OpenRequest *ConnectToDeviceRequest_OpenRequest `protobuf:"bytes,1,opt,name=open_request,json=openRequest,proto3,oneof"` 846 } 847 type ConnectToDeviceRequest_Data struct { 848 // Any data sent to the device through the endpoint. 849 Data []byte `protobuf:"bytes,3,opt,name=data,proto3,oneof"` 850 } 851 type ConnectToDeviceRequest_Ack struct { 852 // Ack from the user to the endpoint (device) 853 Ack *Ack `protobuf:"bytes,4,opt,name=ack,proto3,oneof"` 854 } 855 type ConnectToDeviceRequest_KeepAlive_ struct { 856 KeepAlive *ConnectToDeviceRequest_KeepAlive `protobuf:"bytes,5,opt,name=keep_alive,json=keepAlive,proto3,oneof"` 857 } 858 859 func (*ConnectToDeviceRequest_OpenRequest_) isConnectToDeviceRequest_Msg() {} 860 func (*ConnectToDeviceRequest_Data) isConnectToDeviceRequest_Msg() {} 861 func (*ConnectToDeviceRequest_Ack) isConnectToDeviceRequest_Msg() {} 862 func (*ConnectToDeviceRequest_KeepAlive_) isConnectToDeviceRequest_Msg() {} 863 func (m *ConnectToDeviceRequest) GetMsg() isConnectToDeviceRequest_Msg { 864 if m != nil { 865 return m.Msg 866 } 867 return nil 868 } 869 func (m *ConnectToDeviceRequest) GetOpenRequest() *ConnectToDeviceRequest_OpenRequest { 870 if x, ok := m.GetMsg().(*ConnectToDeviceRequest_OpenRequest_); ok { 871 return x.OpenRequest 872 } 873 return nil 874 } 875 func (m *ConnectToDeviceRequest) GetData() []byte { 876 if x, ok := m.GetMsg().(*ConnectToDeviceRequest_Data); ok { 877 return x.Data 878 } 879 return nil 880 } 881 func (m *ConnectToDeviceRequest) GetAck() *Ack { 882 if x, ok := m.GetMsg().(*ConnectToDeviceRequest_Ack); ok { 883 return x.Ack 884 } 885 return nil 886 } 887 func (m *ConnectToDeviceRequest) GetKeepAlive() *ConnectToDeviceRequest_KeepAlive { 888 if x, ok := m.GetMsg().(*ConnectToDeviceRequest_KeepAlive_); ok { 889 return x.KeepAlive 890 } 891 return nil 892 } 893 func (m *ConnectToDeviceRequest) SetMsg(ofv isConnectToDeviceRequest_Msg) { 894 if m == nil { 895 panic(fmt.Errorf("can't set %s on nil %s", "isConnectToDeviceRequest_Msg", "ConnectToDeviceRequest")) 896 } 897 m.Msg = ofv 898 } 899 func (m *ConnectToDeviceRequest) SetOpenRequest(fv *ConnectToDeviceRequest_OpenRequest) { 900 m.SetMsg(&ConnectToDeviceRequest_OpenRequest_{OpenRequest: fv}) 901 } 902 func (m *ConnectToDeviceRequest) SetData(fv []byte) { 903 m.SetMsg(&ConnectToDeviceRequest_Data{Data: fv}) 904 } 905 func (m *ConnectToDeviceRequest) SetAck(fv *Ack) { 906 m.SetMsg(&ConnectToDeviceRequest_Ack{Ack: fv}) 907 } 908 func (m *ConnectToDeviceRequest) SetKeepAlive(fv *ConnectToDeviceRequest_KeepAlive) { 909 m.SetMsg(&ConnectToDeviceRequest_KeepAlive_{KeepAlive: fv}) 910 } 911 912 // Response message for method 913 // [ConnectToDevice][ntt.devices.v1alpha2.ConnectToDevice] 914 type ConnectToDeviceResponse struct { 915 state protoimpl.MessageState 916 sizeCache protoimpl.SizeCache 917 unknownFields protoimpl.UnknownFields 918 // Types that are valid to be assigned to Msg: 919 // *ConnectToDeviceResponse_OpenResponse_ 920 // *ConnectToDeviceResponse_Data 921 // *ConnectToDeviceResponse_Error 922 // *ConnectToDeviceResponse_Ack 923 Msg isConnectToDeviceResponse_Msg `protobuf_oneof:"msg"` 924 } 925 926 func (m *ConnectToDeviceResponse) Reset() { 927 *m = ConnectToDeviceResponse{} 928 if protoimpl.UnsafeEnabled { 929 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[5] 930 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 931 ms.StoreMessageInfo(mi) 932 } 933 } 934 935 func (m *ConnectToDeviceResponse) String() string { 936 return protoimpl.X.MessageStringOf(m) 937 } 938 939 func (*ConnectToDeviceResponse) ProtoMessage() {} 940 941 func (m *ConnectToDeviceResponse) ProtoReflect() preflect.Message { 942 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[5] 943 if protoimpl.UnsafeEnabled && m != nil { 944 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 945 if ms.LoadMessageInfo() == nil { 946 ms.StoreMessageInfo(mi) 947 } 948 return ms 949 } 950 return mi.MessageOf(m) 951 } 952 953 func (*ConnectToDeviceResponse) GotenMessage() {} 954 955 // Deprecated, Use ConnectToDeviceResponse.ProtoReflect.Descriptor instead. 956 func (*ConnectToDeviceResponse) Descriptor() ([]byte, []int) { 957 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{5} 958 } 959 960 func (m *ConnectToDeviceResponse) Unmarshal(b []byte) error { 961 return proto.Unmarshal(b, m) 962 } 963 964 func (m *ConnectToDeviceResponse) Marshal() ([]byte, error) { 965 return proto.Marshal(m) 966 } 967 968 func (m *ConnectToDeviceResponse) MarshalJSON() ([]byte, error) { 969 return protojson.MarshalOptions{}.Marshal(m) 970 } 971 972 func (m *ConnectToDeviceResponse) UnmarshalJSON(data []byte) error { 973 return protojson.Unmarshal(data, m) 974 } 975 976 type isConnectToDeviceResponse_Msg interface { 977 isConnectToDeviceResponse_Msg() 978 } 979 980 type ConnectToDeviceResponse_OpenResponse_ struct { 981 // Notification from the agent (endpoint) to the channel has been opened. 982 OpenResponse *ConnectToDeviceResponse_OpenResponse `protobuf:"bytes,1,opt,name=open_response,json=openResponse,proto3,oneof"` 983 } 984 type ConnectToDeviceResponse_Data struct { 985 // Any data from the device (endpoint) to the client. 986 Data []byte `protobuf:"bytes,3,opt,name=data,proto3,oneof"` 987 } 988 type ConnectToDeviceResponse_Error struct { 989 // Any error from the device (endpoint) to the client. 990 Error []byte `protobuf:"bytes,4,opt,name=error,proto3,oneof"` 991 } 992 type ConnectToDeviceResponse_Ack struct { 993 // Ack from the device to the endpoint (client) 994 Ack *Ack `protobuf:"bytes,5,opt,name=ack,proto3,oneof"` 995 } 996 997 func (*ConnectToDeviceResponse_OpenResponse_) isConnectToDeviceResponse_Msg() {} 998 func (*ConnectToDeviceResponse_Data) isConnectToDeviceResponse_Msg() {} 999 func (*ConnectToDeviceResponse_Error) isConnectToDeviceResponse_Msg() {} 1000 func (*ConnectToDeviceResponse_Ack) isConnectToDeviceResponse_Msg() {} 1001 func (m *ConnectToDeviceResponse) GetMsg() isConnectToDeviceResponse_Msg { 1002 if m != nil { 1003 return m.Msg 1004 } 1005 return nil 1006 } 1007 func (m *ConnectToDeviceResponse) GetOpenResponse() *ConnectToDeviceResponse_OpenResponse { 1008 if x, ok := m.GetMsg().(*ConnectToDeviceResponse_OpenResponse_); ok { 1009 return x.OpenResponse 1010 } 1011 return nil 1012 } 1013 func (m *ConnectToDeviceResponse) GetData() []byte { 1014 if x, ok := m.GetMsg().(*ConnectToDeviceResponse_Data); ok { 1015 return x.Data 1016 } 1017 return nil 1018 } 1019 func (m *ConnectToDeviceResponse) GetError() []byte { 1020 if x, ok := m.GetMsg().(*ConnectToDeviceResponse_Error); ok { 1021 return x.Error 1022 } 1023 return nil 1024 } 1025 func (m *ConnectToDeviceResponse) GetAck() *Ack { 1026 if x, ok := m.GetMsg().(*ConnectToDeviceResponse_Ack); ok { 1027 return x.Ack 1028 } 1029 return nil 1030 } 1031 func (m *ConnectToDeviceResponse) SetMsg(ofv isConnectToDeviceResponse_Msg) { 1032 if m == nil { 1033 panic(fmt.Errorf("can't set %s on nil %s", "isConnectToDeviceResponse_Msg", "ConnectToDeviceResponse")) 1034 } 1035 m.Msg = ofv 1036 } 1037 func (m *ConnectToDeviceResponse) SetOpenResponse(fv *ConnectToDeviceResponse_OpenResponse) { 1038 m.SetMsg(&ConnectToDeviceResponse_OpenResponse_{OpenResponse: fv}) 1039 } 1040 func (m *ConnectToDeviceResponse) SetData(fv []byte) { 1041 m.SetMsg(&ConnectToDeviceResponse_Data{Data: fv}) 1042 } 1043 func (m *ConnectToDeviceResponse) SetError(fv []byte) { 1044 m.SetMsg(&ConnectToDeviceResponse_Error{Error: fv}) 1045 } 1046 func (m *ConnectToDeviceResponse) SetAck(fv *Ack) { 1047 m.SetMsg(&ConnectToDeviceResponse_Ack{Ack: fv}) 1048 } 1049 1050 // Ack message that contains how much data should have been processed 1051 type Ack struct { 1052 state protoimpl.MessageState 1053 sizeCache protoimpl.SizeCache 1054 unknownFields protoimpl.UnknownFields 1055 Processed uint64 `protobuf:"varint,1,opt,name=processed,proto3" json:"processed,omitempty"` 1056 } 1057 1058 func (m *Ack) Reset() { 1059 *m = Ack{} 1060 if protoimpl.UnsafeEnabled { 1061 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[6] 1062 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1063 ms.StoreMessageInfo(mi) 1064 } 1065 } 1066 1067 func (m *Ack) String() string { 1068 return protoimpl.X.MessageStringOf(m) 1069 } 1070 1071 func (*Ack) ProtoMessage() {} 1072 1073 func (m *Ack) ProtoReflect() preflect.Message { 1074 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[6] 1075 if protoimpl.UnsafeEnabled && m != nil { 1076 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1077 if ms.LoadMessageInfo() == nil { 1078 ms.StoreMessageInfo(mi) 1079 } 1080 return ms 1081 } 1082 return mi.MessageOf(m) 1083 } 1084 1085 func (*Ack) GotenMessage() {} 1086 1087 // Deprecated, Use Ack.ProtoReflect.Descriptor instead. 1088 func (*Ack) Descriptor() ([]byte, []int) { 1089 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{6} 1090 } 1091 1092 func (m *Ack) Unmarshal(b []byte) error { 1093 return proto.Unmarshal(b, m) 1094 } 1095 1096 func (m *Ack) Marshal() ([]byte, error) { 1097 return proto.Marshal(m) 1098 } 1099 1100 func (m *Ack) MarshalJSON() ([]byte, error) { 1101 return protojson.MarshalOptions{}.Marshal(m) 1102 } 1103 1104 func (m *Ack) UnmarshalJSON(data []byte) error { 1105 return protojson.Unmarshal(data, m) 1106 } 1107 1108 func (m *Ack) GetProcessed() uint64 { 1109 if m != nil { 1110 return m.Processed 1111 } 1112 return uint64(0) 1113 } 1114 1115 func (m *Ack) SetProcessed(fv uint64) { 1116 if m == nil { 1117 panic(fmt.Errorf("can't set %s on nil %s", "Processed", "Ack")) 1118 } 1119 m.Processed = fv 1120 } 1121 1122 // Services on the device that the client connects to 1123 type SSHService struct { 1124 state protoimpl.MessageState 1125 sizeCache protoimpl.SizeCache 1126 unknownFields protoimpl.UnknownFields 1127 } 1128 1129 func (m *SSHService) Reset() { 1130 *m = SSHService{} 1131 if protoimpl.UnsafeEnabled { 1132 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[7] 1133 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1134 ms.StoreMessageInfo(mi) 1135 } 1136 } 1137 1138 func (m *SSHService) String() string { 1139 return protoimpl.X.MessageStringOf(m) 1140 } 1141 1142 func (*SSHService) ProtoMessage() {} 1143 1144 func (m *SSHService) ProtoReflect() preflect.Message { 1145 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[7] 1146 if protoimpl.UnsafeEnabled && m != nil { 1147 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1148 if ms.LoadMessageInfo() == nil { 1149 ms.StoreMessageInfo(mi) 1150 } 1151 return ms 1152 } 1153 return mi.MessageOf(m) 1154 } 1155 1156 func (*SSHService) GotenMessage() {} 1157 1158 // Deprecated, Use SSHService.ProtoReflect.Descriptor instead. 1159 func (*SSHService) Descriptor() ([]byte, []int) { 1160 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{7} 1161 } 1162 1163 func (m *SSHService) Unmarshal(b []byte) error { 1164 return proto.Unmarshal(b, m) 1165 } 1166 1167 func (m *SSHService) Marshal() ([]byte, error) { 1168 return proto.Marshal(m) 1169 } 1170 1171 func (m *SSHService) MarshalJSON() ([]byte, error) { 1172 return protojson.MarshalOptions{}.Marshal(m) 1173 } 1174 1175 func (m *SSHService) UnmarshalJSON(data []byte) error { 1176 return protojson.Unmarshal(data, m) 1177 } 1178 1179 type SCPService struct { 1180 state protoimpl.MessageState 1181 sizeCache protoimpl.SizeCache 1182 unknownFields protoimpl.UnknownFields 1183 // Types that are valid to be assigned to Msg: 1184 // *SCPService_Dir 1185 // *SCPService_File 1186 // *SCPService_Eot 1187 // *SCPService_Config 1188 Msg isSCPService_Msg `protobuf_oneof:"msg"` 1189 } 1190 1191 func (m *SCPService) Reset() { 1192 *m = SCPService{} 1193 if protoimpl.UnsafeEnabled { 1194 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[8] 1195 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1196 ms.StoreMessageInfo(mi) 1197 } 1198 } 1199 1200 func (m *SCPService) String() string { 1201 return protoimpl.X.MessageStringOf(m) 1202 } 1203 1204 func (*SCPService) ProtoMessage() {} 1205 1206 func (m *SCPService) ProtoReflect() preflect.Message { 1207 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[8] 1208 if protoimpl.UnsafeEnabled && m != nil { 1209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1210 if ms.LoadMessageInfo() == nil { 1211 ms.StoreMessageInfo(mi) 1212 } 1213 return ms 1214 } 1215 return mi.MessageOf(m) 1216 } 1217 1218 func (*SCPService) GotenMessage() {} 1219 1220 // Deprecated, Use SCPService.ProtoReflect.Descriptor instead. 1221 func (*SCPService) Descriptor() ([]byte, []int) { 1222 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{8} 1223 } 1224 1225 func (m *SCPService) Unmarshal(b []byte) error { 1226 return proto.Unmarshal(b, m) 1227 } 1228 1229 func (m *SCPService) Marshal() ([]byte, error) { 1230 return proto.Marshal(m) 1231 } 1232 1233 func (m *SCPService) MarshalJSON() ([]byte, error) { 1234 return protojson.MarshalOptions{}.Marshal(m) 1235 } 1236 1237 func (m *SCPService) UnmarshalJSON(data []byte) error { 1238 return protojson.Unmarshal(data, m) 1239 } 1240 1241 type isSCPService_Msg interface { 1242 isSCPService_Msg() 1243 } 1244 1245 type SCPService_Dir struct { 1246 // Request to create a directory 1247 Dir *SCPService_CreateDirectory `protobuf:"bytes,1,opt,name=dir,proto3,oneof"` 1248 } 1249 type SCPService_File struct { 1250 // Request to create a file 1251 File *SCPService_CreateFile `protobuf:"bytes,2,opt,name=file,proto3,oneof"` 1252 } 1253 type SCPService_Eot struct { 1254 // Request to end SCP transfer 1255 Eot bool `protobuf:"varint,3,opt,name=eot,proto3,oneof"` 1256 } 1257 type SCPService_Config struct { 1258 // Request SCP configuration 1259 Config *SCPService_Configure `protobuf:"bytes,4,opt,name=config,proto3,oneof"` 1260 } 1261 1262 func (*SCPService_Dir) isSCPService_Msg() {} 1263 func (*SCPService_File) isSCPService_Msg() {} 1264 func (*SCPService_Eot) isSCPService_Msg() {} 1265 func (*SCPService_Config) isSCPService_Msg() {} 1266 func (m *SCPService) GetMsg() isSCPService_Msg { 1267 if m != nil { 1268 return m.Msg 1269 } 1270 return nil 1271 } 1272 func (m *SCPService) GetDir() *SCPService_CreateDirectory { 1273 if x, ok := m.GetMsg().(*SCPService_Dir); ok { 1274 return x.Dir 1275 } 1276 return nil 1277 } 1278 func (m *SCPService) GetFile() *SCPService_CreateFile { 1279 if x, ok := m.GetMsg().(*SCPService_File); ok { 1280 return x.File 1281 } 1282 return nil 1283 } 1284 func (m *SCPService) GetEot() bool { 1285 if x, ok := m.GetMsg().(*SCPService_Eot); ok { 1286 return x.Eot 1287 } 1288 return false 1289 } 1290 func (m *SCPService) GetConfig() *SCPService_Configure { 1291 if x, ok := m.GetMsg().(*SCPService_Config); ok { 1292 return x.Config 1293 } 1294 return nil 1295 } 1296 func (m *SCPService) SetMsg(ofv isSCPService_Msg) { 1297 if m == nil { 1298 panic(fmt.Errorf("can't set %s on nil %s", "isSCPService_Msg", "SCPService")) 1299 } 1300 m.Msg = ofv 1301 } 1302 func (m *SCPService) SetDir(fv *SCPService_CreateDirectory) { 1303 m.SetMsg(&SCPService_Dir{Dir: fv}) 1304 } 1305 func (m *SCPService) SetFile(fv *SCPService_CreateFile) { 1306 m.SetMsg(&SCPService_File{File: fv}) 1307 } 1308 func (m *SCPService) SetEot(fv bool) { 1309 m.SetMsg(&SCPService_Eot{Eot: fv}) 1310 } 1311 func (m *SCPService) SetConfig(fv *SCPService_Configure) { 1312 m.SetMsg(&SCPService_Config{Config: fv}) 1313 } 1314 1315 type LogsService struct { 1316 state protoimpl.MessageState 1317 sizeCache protoimpl.SizeCache 1318 unknownFields protoimpl.UnknownFields 1319 } 1320 1321 func (m *LogsService) Reset() { 1322 *m = LogsService{} 1323 if protoimpl.UnsafeEnabled { 1324 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[9] 1325 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1326 ms.StoreMessageInfo(mi) 1327 } 1328 } 1329 1330 func (m *LogsService) String() string { 1331 return protoimpl.X.MessageStringOf(m) 1332 } 1333 1334 func (*LogsService) ProtoMessage() {} 1335 1336 func (m *LogsService) ProtoReflect() preflect.Message { 1337 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[9] 1338 if protoimpl.UnsafeEnabled && m != nil { 1339 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1340 if ms.LoadMessageInfo() == nil { 1341 ms.StoreMessageInfo(mi) 1342 } 1343 return ms 1344 } 1345 return mi.MessageOf(m) 1346 } 1347 1348 func (*LogsService) GotenMessage() {} 1349 1350 // Deprecated, Use LogsService.ProtoReflect.Descriptor instead. 1351 func (*LogsService) Descriptor() ([]byte, []int) { 1352 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{9} 1353 } 1354 1355 func (m *LogsService) Unmarshal(b []byte) error { 1356 return proto.Unmarshal(b, m) 1357 } 1358 1359 func (m *LogsService) Marshal() ([]byte, error) { 1360 return proto.Marshal(m) 1361 } 1362 1363 func (m *LogsService) MarshalJSON() ([]byte, error) { 1364 return protojson.MarshalOptions{}.Marshal(m) 1365 } 1366 1367 func (m *LogsService) UnmarshalJSON(data []byte) error { 1368 return protojson.Unmarshal(data, m) 1369 } 1370 1371 type PodManagementService struct { 1372 state protoimpl.MessageState 1373 sizeCache protoimpl.SizeCache 1374 unknownFields protoimpl.UnknownFields 1375 // Pod state command 1376 Command PodManagementService_PodState `protobuf:"varint,1,opt,name=command,proto3,enum=ntt.devices.v1alpha2.PodManagementService_PodState" json:"command,omitempty"` 1377 // Pod to execute the command on 1378 Pod string `protobuf:"bytes,2,opt,name=pod,proto3" json:"pod,omitempty"` 1379 // Service (container) name to execute the command on (empty = acts on the 1380 // entire pod) 1381 Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"` 1382 } 1383 1384 func (m *PodManagementService) Reset() { 1385 *m = PodManagementService{} 1386 if protoimpl.UnsafeEnabled { 1387 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[10] 1388 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1389 ms.StoreMessageInfo(mi) 1390 } 1391 } 1392 1393 func (m *PodManagementService) String() string { 1394 return protoimpl.X.MessageStringOf(m) 1395 } 1396 1397 func (*PodManagementService) ProtoMessage() {} 1398 1399 func (m *PodManagementService) ProtoReflect() preflect.Message { 1400 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[10] 1401 if protoimpl.UnsafeEnabled && m != nil { 1402 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1403 if ms.LoadMessageInfo() == nil { 1404 ms.StoreMessageInfo(mi) 1405 } 1406 return ms 1407 } 1408 return mi.MessageOf(m) 1409 } 1410 1411 func (*PodManagementService) GotenMessage() {} 1412 1413 // Deprecated, Use PodManagementService.ProtoReflect.Descriptor instead. 1414 func (*PodManagementService) Descriptor() ([]byte, []int) { 1415 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{10} 1416 } 1417 1418 func (m *PodManagementService) Unmarshal(b []byte) error { 1419 return proto.Unmarshal(b, m) 1420 } 1421 1422 func (m *PodManagementService) Marshal() ([]byte, error) { 1423 return proto.Marshal(m) 1424 } 1425 1426 func (m *PodManagementService) MarshalJSON() ([]byte, error) { 1427 return protojson.MarshalOptions{}.Marshal(m) 1428 } 1429 1430 func (m *PodManagementService) UnmarshalJSON(data []byte) error { 1431 return protojson.Unmarshal(data, m) 1432 } 1433 1434 func (m *PodManagementService) GetCommand() PodManagementService_PodState { 1435 if m != nil { 1436 return m.Command 1437 } 1438 return PodManagementService_UNSPECIFIED 1439 } 1440 1441 func (m *PodManagementService) GetPod() string { 1442 if m != nil { 1443 return m.Pod 1444 } 1445 return "" 1446 } 1447 1448 func (m *PodManagementService) GetService() string { 1449 if m != nil { 1450 return m.Service 1451 } 1452 return "" 1453 } 1454 1455 func (m *PodManagementService) SetCommand(fv PodManagementService_PodState) { 1456 if m == nil { 1457 panic(fmt.Errorf("can't set %s on nil %s", "Command", "PodManagementService")) 1458 } 1459 m.Command = fv 1460 } 1461 1462 func (m *PodManagementService) SetPod(fv string) { 1463 if m == nil { 1464 panic(fmt.Errorf("can't set %s on nil %s", "Pod", "PodManagementService")) 1465 } 1466 m.Pod = fv 1467 } 1468 1469 func (m *PodManagementService) SetService(fv string) { 1470 if m == nil { 1471 panic(fmt.Errorf("can't set %s on nil %s", "Service", "PodManagementService")) 1472 } 1473 m.Service = fv 1474 } 1475 1476 type SystemStateService struct { 1477 state protoimpl.MessageState 1478 sizeCache protoimpl.SizeCache 1479 unknownFields protoimpl.UnknownFields 1480 } 1481 1482 func (m *SystemStateService) Reset() { 1483 *m = SystemStateService{} 1484 if protoimpl.UnsafeEnabled { 1485 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[11] 1486 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1487 ms.StoreMessageInfo(mi) 1488 } 1489 } 1490 1491 func (m *SystemStateService) String() string { 1492 return protoimpl.X.MessageStringOf(m) 1493 } 1494 1495 func (*SystemStateService) ProtoMessage() {} 1496 1497 func (m *SystemStateService) ProtoReflect() preflect.Message { 1498 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[11] 1499 if protoimpl.UnsafeEnabled && m != nil { 1500 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1501 if ms.LoadMessageInfo() == nil { 1502 ms.StoreMessageInfo(mi) 1503 } 1504 return ms 1505 } 1506 return mi.MessageOf(m) 1507 } 1508 1509 func (*SystemStateService) GotenMessage() {} 1510 1511 // Deprecated, Use SystemStateService.ProtoReflect.Descriptor instead. 1512 func (*SystemStateService) Descriptor() ([]byte, []int) { 1513 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{11} 1514 } 1515 1516 func (m *SystemStateService) Unmarshal(b []byte) error { 1517 return proto.Unmarshal(b, m) 1518 } 1519 1520 func (m *SystemStateService) Marshal() ([]byte, error) { 1521 return proto.Marshal(m) 1522 } 1523 1524 func (m *SystemStateService) MarshalJSON() ([]byte, error) { 1525 return protojson.MarshalOptions{}.Marshal(m) 1526 } 1527 1528 func (m *SystemStateService) UnmarshalJSON(data []byte) error { 1529 return protojson.Unmarshal(data, m) 1530 } 1531 1532 type ListenForConnectionsRequest_RegisterListener struct { 1533 state protoimpl.MessageState 1534 sizeCache protoimpl.SizeCache 1535 unknownFields protoimpl.UnknownFields 1536 // The self-declared device name, used for authentication/authorization. 1537 Device *device.Name `protobuf:"bytes,1,opt,customtype=Name,name=device,proto3" json:"device,omitempty"` 1538 } 1539 1540 func (m *ListenForConnectionsRequest_RegisterListener) Reset() { 1541 *m = ListenForConnectionsRequest_RegisterListener{} 1542 if protoimpl.UnsafeEnabled { 1543 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[12] 1544 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1545 ms.StoreMessageInfo(mi) 1546 } 1547 } 1548 1549 func (m *ListenForConnectionsRequest_RegisterListener) String() string { 1550 return protoimpl.X.MessageStringOf(m) 1551 } 1552 1553 func (*ListenForConnectionsRequest_RegisterListener) ProtoMessage() {} 1554 1555 func (m *ListenForConnectionsRequest_RegisterListener) ProtoReflect() preflect.Message { 1556 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[12] 1557 if protoimpl.UnsafeEnabled && m != nil { 1558 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1559 if ms.LoadMessageInfo() == nil { 1560 ms.StoreMessageInfo(mi) 1561 } 1562 return ms 1563 } 1564 return mi.MessageOf(m) 1565 } 1566 1567 func (*ListenForConnectionsRequest_RegisterListener) GotenMessage() {} 1568 1569 // Deprecated, Use ListenForConnectionsRequest_RegisterListener.ProtoReflect.Descriptor instead. 1570 func (*ListenForConnectionsRequest_RegisterListener) Descriptor() ([]byte, []int) { 1571 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{0, 0} 1572 } 1573 1574 func (m *ListenForConnectionsRequest_RegisterListener) Unmarshal(b []byte) error { 1575 return proto.Unmarshal(b, m) 1576 } 1577 1578 func (m *ListenForConnectionsRequest_RegisterListener) Marshal() ([]byte, error) { 1579 return proto.Marshal(m) 1580 } 1581 1582 func (m *ListenForConnectionsRequest_RegisterListener) MarshalJSON() ([]byte, error) { 1583 return protojson.MarshalOptions{}.Marshal(m) 1584 } 1585 1586 func (m *ListenForConnectionsRequest_RegisterListener) UnmarshalJSON(data []byte) error { 1587 return protojson.Unmarshal(data, m) 1588 } 1589 1590 func (m *ListenForConnectionsRequest_RegisterListener) GetDevice() *device.Name { 1591 if m != nil { 1592 return m.Device 1593 } 1594 return nil 1595 } 1596 1597 func (m *ListenForConnectionsRequest_RegisterListener) SetDevice(fv *device.Name) { 1598 if m == nil { 1599 panic(fmt.Errorf("can't set %s on nil %s", "Device", "ListenForConnectionsRequest_RegisterListener")) 1600 } 1601 m.Device = fv 1602 } 1603 1604 type ListenForConnectionsRequest_ChannelOpenError struct { 1605 state protoimpl.MessageState 1606 sizeCache protoimpl.SizeCache 1607 unknownFields protoimpl.UnknownFields 1608 // ID of the channel failed to open. 1609 Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` 1610 // Error message. 1611 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` 1612 } 1613 1614 func (m *ListenForConnectionsRequest_ChannelOpenError) Reset() { 1615 *m = ListenForConnectionsRequest_ChannelOpenError{} 1616 if protoimpl.UnsafeEnabled { 1617 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[13] 1618 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1619 ms.StoreMessageInfo(mi) 1620 } 1621 } 1622 1623 func (m *ListenForConnectionsRequest_ChannelOpenError) String() string { 1624 return protoimpl.X.MessageStringOf(m) 1625 } 1626 1627 func (*ListenForConnectionsRequest_ChannelOpenError) ProtoMessage() {} 1628 1629 func (m *ListenForConnectionsRequest_ChannelOpenError) ProtoReflect() preflect.Message { 1630 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[13] 1631 if protoimpl.UnsafeEnabled && m != nil { 1632 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1633 if ms.LoadMessageInfo() == nil { 1634 ms.StoreMessageInfo(mi) 1635 } 1636 return ms 1637 } 1638 return mi.MessageOf(m) 1639 } 1640 1641 func (*ListenForConnectionsRequest_ChannelOpenError) GotenMessage() {} 1642 1643 // Deprecated, Use ListenForConnectionsRequest_ChannelOpenError.ProtoReflect.Descriptor instead. 1644 func (*ListenForConnectionsRequest_ChannelOpenError) Descriptor() ([]byte, []int) { 1645 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{0, 1} 1646 } 1647 1648 func (m *ListenForConnectionsRequest_ChannelOpenError) Unmarshal(b []byte) error { 1649 return proto.Unmarshal(b, m) 1650 } 1651 1652 func (m *ListenForConnectionsRequest_ChannelOpenError) Marshal() ([]byte, error) { 1653 return proto.Marshal(m) 1654 } 1655 1656 func (m *ListenForConnectionsRequest_ChannelOpenError) MarshalJSON() ([]byte, error) { 1657 return protojson.MarshalOptions{}.Marshal(m) 1658 } 1659 1660 func (m *ListenForConnectionsRequest_ChannelOpenError) UnmarshalJSON(data []byte) error { 1661 return protojson.Unmarshal(data, m) 1662 } 1663 1664 func (m *ListenForConnectionsRequest_ChannelOpenError) GetChannel() string { 1665 if m != nil { 1666 return m.Channel 1667 } 1668 return "" 1669 } 1670 1671 func (m *ListenForConnectionsRequest_ChannelOpenError) GetMessage() string { 1672 if m != nil { 1673 return m.Message 1674 } 1675 return "" 1676 } 1677 1678 func (m *ListenForConnectionsRequest_ChannelOpenError) SetChannel(fv string) { 1679 if m == nil { 1680 panic(fmt.Errorf("can't set %s on nil %s", "Channel", "ListenForConnectionsRequest_ChannelOpenError")) 1681 } 1682 m.Channel = fv 1683 } 1684 1685 func (m *ListenForConnectionsRequest_ChannelOpenError) SetMessage(fv string) { 1686 if m == nil { 1687 panic(fmt.Errorf("can't set %s on nil %s", "Message", "ListenForConnectionsRequest_ChannelOpenError")) 1688 } 1689 m.Message = fv 1690 } 1691 1692 type ListenForConnectionsRequest_KeepAlive struct { 1693 state protoimpl.MessageState 1694 sizeCache protoimpl.SizeCache 1695 unknownFields protoimpl.UnknownFields 1696 } 1697 1698 func (m *ListenForConnectionsRequest_KeepAlive) Reset() { 1699 *m = ListenForConnectionsRequest_KeepAlive{} 1700 if protoimpl.UnsafeEnabled { 1701 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[14] 1702 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1703 ms.StoreMessageInfo(mi) 1704 } 1705 } 1706 1707 func (m *ListenForConnectionsRequest_KeepAlive) String() string { 1708 return protoimpl.X.MessageStringOf(m) 1709 } 1710 1711 func (*ListenForConnectionsRequest_KeepAlive) ProtoMessage() {} 1712 1713 func (m *ListenForConnectionsRequest_KeepAlive) ProtoReflect() preflect.Message { 1714 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[14] 1715 if protoimpl.UnsafeEnabled && m != nil { 1716 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1717 if ms.LoadMessageInfo() == nil { 1718 ms.StoreMessageInfo(mi) 1719 } 1720 return ms 1721 } 1722 return mi.MessageOf(m) 1723 } 1724 1725 func (*ListenForConnectionsRequest_KeepAlive) GotenMessage() {} 1726 1727 // Deprecated, Use ListenForConnectionsRequest_KeepAlive.ProtoReflect.Descriptor instead. 1728 func (*ListenForConnectionsRequest_KeepAlive) Descriptor() ([]byte, []int) { 1729 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{0, 2} 1730 } 1731 1732 func (m *ListenForConnectionsRequest_KeepAlive) Unmarshal(b []byte) error { 1733 return proto.Unmarshal(b, m) 1734 } 1735 1736 func (m *ListenForConnectionsRequest_KeepAlive) Marshal() ([]byte, error) { 1737 return proto.Marshal(m) 1738 } 1739 1740 func (m *ListenForConnectionsRequest_KeepAlive) MarshalJSON() ([]byte, error) { 1741 return protojson.MarshalOptions{}.Marshal(m) 1742 } 1743 1744 func (m *ListenForConnectionsRequest_KeepAlive) UnmarshalJSON(data []byte) error { 1745 return protojson.Unmarshal(data, m) 1746 } 1747 1748 type ListenForConnectionsResponse_ChannelRequested struct { 1749 state protoimpl.MessageState 1750 sizeCache protoimpl.SizeCache 1751 unknownFields protoimpl.UnknownFields 1752 // Channel ID 1753 Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` 1754 // Device service; 1755 Service BrokerServiceType `protobuf:"varint,2,opt,name=service,proto3,enum=ntt.devices.v1alpha2.BrokerServiceType" json:"service,omitempty"` 1756 // Initial argument (optional) 1757 Arg string `protobuf:"bytes,3,opt,name=arg,proto3" json:"arg,omitempty"` 1758 } 1759 1760 func (m *ListenForConnectionsResponse_ChannelRequested) Reset() { 1761 *m = ListenForConnectionsResponse_ChannelRequested{} 1762 if protoimpl.UnsafeEnabled { 1763 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[15] 1764 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1765 ms.StoreMessageInfo(mi) 1766 } 1767 } 1768 1769 func (m *ListenForConnectionsResponse_ChannelRequested) String() string { 1770 return protoimpl.X.MessageStringOf(m) 1771 } 1772 1773 func (*ListenForConnectionsResponse_ChannelRequested) ProtoMessage() {} 1774 1775 func (m *ListenForConnectionsResponse_ChannelRequested) ProtoReflect() preflect.Message { 1776 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[15] 1777 if protoimpl.UnsafeEnabled && m != nil { 1778 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1779 if ms.LoadMessageInfo() == nil { 1780 ms.StoreMessageInfo(mi) 1781 } 1782 return ms 1783 } 1784 return mi.MessageOf(m) 1785 } 1786 1787 func (*ListenForConnectionsResponse_ChannelRequested) GotenMessage() {} 1788 1789 // Deprecated, Use ListenForConnectionsResponse_ChannelRequested.ProtoReflect.Descriptor instead. 1790 func (*ListenForConnectionsResponse_ChannelRequested) Descriptor() ([]byte, []int) { 1791 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{1, 0} 1792 } 1793 1794 func (m *ListenForConnectionsResponse_ChannelRequested) Unmarshal(b []byte) error { 1795 return proto.Unmarshal(b, m) 1796 } 1797 1798 func (m *ListenForConnectionsResponse_ChannelRequested) Marshal() ([]byte, error) { 1799 return proto.Marshal(m) 1800 } 1801 1802 func (m *ListenForConnectionsResponse_ChannelRequested) MarshalJSON() ([]byte, error) { 1803 return protojson.MarshalOptions{}.Marshal(m) 1804 } 1805 1806 func (m *ListenForConnectionsResponse_ChannelRequested) UnmarshalJSON(data []byte) error { 1807 return protojson.Unmarshal(data, m) 1808 } 1809 1810 func (m *ListenForConnectionsResponse_ChannelRequested) GetChannel() string { 1811 if m != nil { 1812 return m.Channel 1813 } 1814 return "" 1815 } 1816 1817 func (m *ListenForConnectionsResponse_ChannelRequested) GetService() BrokerServiceType { 1818 if m != nil { 1819 return m.Service 1820 } 1821 return BrokerServiceType_BROKER_SERVICE_UNSPECIFIED 1822 } 1823 1824 func (m *ListenForConnectionsResponse_ChannelRequested) GetArg() string { 1825 if m != nil { 1826 return m.Arg 1827 } 1828 return "" 1829 } 1830 1831 func (m *ListenForConnectionsResponse_ChannelRequested) SetChannel(fv string) { 1832 if m == nil { 1833 panic(fmt.Errorf("can't set %s on nil %s", "Channel", "ListenForConnectionsResponse_ChannelRequested")) 1834 } 1835 m.Channel = fv 1836 } 1837 1838 func (m *ListenForConnectionsResponse_ChannelRequested) SetService(fv BrokerServiceType) { 1839 if m == nil { 1840 panic(fmt.Errorf("can't set %s on nil %s", "Service", "ListenForConnectionsResponse_ChannelRequested")) 1841 } 1842 m.Service = fv 1843 } 1844 1845 func (m *ListenForConnectionsResponse_ChannelRequested) SetArg(fv string) { 1846 if m == nil { 1847 panic(fmt.Errorf("can't set %s on nil %s", "Arg", "ListenForConnectionsResponse_ChannelRequested")) 1848 } 1849 m.Arg = fv 1850 } 1851 1852 type ListenForConnectionsResponse_KeepAlive struct { 1853 state protoimpl.MessageState 1854 sizeCache protoimpl.SizeCache 1855 unknownFields protoimpl.UnknownFields 1856 } 1857 1858 func (m *ListenForConnectionsResponse_KeepAlive) Reset() { 1859 *m = ListenForConnectionsResponse_KeepAlive{} 1860 if protoimpl.UnsafeEnabled { 1861 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[16] 1862 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1863 ms.StoreMessageInfo(mi) 1864 } 1865 } 1866 1867 func (m *ListenForConnectionsResponse_KeepAlive) String() string { 1868 return protoimpl.X.MessageStringOf(m) 1869 } 1870 1871 func (*ListenForConnectionsResponse_KeepAlive) ProtoMessage() {} 1872 1873 func (m *ListenForConnectionsResponse_KeepAlive) ProtoReflect() preflect.Message { 1874 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[16] 1875 if protoimpl.UnsafeEnabled && m != nil { 1876 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1877 if ms.LoadMessageInfo() == nil { 1878 ms.StoreMessageInfo(mi) 1879 } 1880 return ms 1881 } 1882 return mi.MessageOf(m) 1883 } 1884 1885 func (*ListenForConnectionsResponse_KeepAlive) GotenMessage() {} 1886 1887 // Deprecated, Use ListenForConnectionsResponse_KeepAlive.ProtoReflect.Descriptor instead. 1888 func (*ListenForConnectionsResponse_KeepAlive) Descriptor() ([]byte, []int) { 1889 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{1, 1} 1890 } 1891 1892 func (m *ListenForConnectionsResponse_KeepAlive) Unmarshal(b []byte) error { 1893 return proto.Unmarshal(b, m) 1894 } 1895 1896 func (m *ListenForConnectionsResponse_KeepAlive) Marshal() ([]byte, error) { 1897 return proto.Marshal(m) 1898 } 1899 1900 func (m *ListenForConnectionsResponse_KeepAlive) MarshalJSON() ([]byte, error) { 1901 return protojson.MarshalOptions{}.Marshal(m) 1902 } 1903 1904 func (m *ListenForConnectionsResponse_KeepAlive) UnmarshalJSON(data []byte) error { 1905 return protojson.Unmarshal(data, m) 1906 } 1907 1908 type OpenConnectionChannelSocketRequest_RegisterSocket struct { 1909 state protoimpl.MessageState 1910 sizeCache protoimpl.SizeCache 1911 unknownFields protoimpl.UnknownFields 1912 // Device name, to be authenticated/authorized. 1913 Device *device.Name `protobuf:"bytes,1,opt,customtype=Name,name=device,proto3" json:"device,omitempty"` 1914 // Channel ID, requested by the endpoint in the ChannelRequested message. 1915 Channel string `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"` 1916 } 1917 1918 func (m *OpenConnectionChannelSocketRequest_RegisterSocket) Reset() { 1919 *m = OpenConnectionChannelSocketRequest_RegisterSocket{} 1920 if protoimpl.UnsafeEnabled { 1921 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[17] 1922 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1923 ms.StoreMessageInfo(mi) 1924 } 1925 } 1926 1927 func (m *OpenConnectionChannelSocketRequest_RegisterSocket) String() string { 1928 return protoimpl.X.MessageStringOf(m) 1929 } 1930 1931 func (*OpenConnectionChannelSocketRequest_RegisterSocket) ProtoMessage() {} 1932 1933 func (m *OpenConnectionChannelSocketRequest_RegisterSocket) ProtoReflect() preflect.Message { 1934 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[17] 1935 if protoimpl.UnsafeEnabled && m != nil { 1936 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 1937 if ms.LoadMessageInfo() == nil { 1938 ms.StoreMessageInfo(mi) 1939 } 1940 return ms 1941 } 1942 return mi.MessageOf(m) 1943 } 1944 1945 func (*OpenConnectionChannelSocketRequest_RegisterSocket) GotenMessage() {} 1946 1947 // Deprecated, Use OpenConnectionChannelSocketRequest_RegisterSocket.ProtoReflect.Descriptor instead. 1948 func (*OpenConnectionChannelSocketRequest_RegisterSocket) Descriptor() ([]byte, []int) { 1949 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{2, 0} 1950 } 1951 1952 func (m *OpenConnectionChannelSocketRequest_RegisterSocket) Unmarshal(b []byte) error { 1953 return proto.Unmarshal(b, m) 1954 } 1955 1956 func (m *OpenConnectionChannelSocketRequest_RegisterSocket) Marshal() ([]byte, error) { 1957 return proto.Marshal(m) 1958 } 1959 1960 func (m *OpenConnectionChannelSocketRequest_RegisterSocket) MarshalJSON() ([]byte, error) { 1961 return protojson.MarshalOptions{}.Marshal(m) 1962 } 1963 1964 func (m *OpenConnectionChannelSocketRequest_RegisterSocket) UnmarshalJSON(data []byte) error { 1965 return protojson.Unmarshal(data, m) 1966 } 1967 1968 func (m *OpenConnectionChannelSocketRequest_RegisterSocket) GetDevice() *device.Name { 1969 if m != nil { 1970 return m.Device 1971 } 1972 return nil 1973 } 1974 1975 func (m *OpenConnectionChannelSocketRequest_RegisterSocket) GetChannel() string { 1976 if m != nil { 1977 return m.Channel 1978 } 1979 return "" 1980 } 1981 1982 func (m *OpenConnectionChannelSocketRequest_RegisterSocket) SetDevice(fv *device.Name) { 1983 if m == nil { 1984 panic(fmt.Errorf("can't set %s on nil %s", "Device", "OpenConnectionChannelSocketRequest_RegisterSocket")) 1985 } 1986 m.Device = fv 1987 } 1988 1989 func (m *OpenConnectionChannelSocketRequest_RegisterSocket) SetChannel(fv string) { 1990 if m == nil { 1991 panic(fmt.Errorf("can't set %s on nil %s", "Channel", "OpenConnectionChannelSocketRequest_RegisterSocket")) 1992 } 1993 m.Channel = fv 1994 } 1995 1996 type ConnectToDeviceRequest_OpenRequest struct { 1997 state protoimpl.MessageState 1998 sizeCache protoimpl.SizeCache 1999 unknownFields protoimpl.UnknownFields 2000 // Device name to connect. 2001 Device *device.Name `protobuf:"bytes,1,opt,customtype=Name,name=device,proto3" json:"device,omitempty"` 2002 // Device service 2003 Service BrokerServiceType `protobuf:"varint,2,opt,name=service,proto3,enum=ntt.devices.v1alpha2.BrokerServiceType" json:"service,omitempty"` 2004 // Initial argument (optional) 2005 Arg string `protobuf:"bytes,3,opt,name=arg,proto3" json:"arg,omitempty"` 2006 } 2007 2008 func (m *ConnectToDeviceRequest_OpenRequest) Reset() { 2009 *m = ConnectToDeviceRequest_OpenRequest{} 2010 if protoimpl.UnsafeEnabled { 2011 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[18] 2012 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2013 ms.StoreMessageInfo(mi) 2014 } 2015 } 2016 2017 func (m *ConnectToDeviceRequest_OpenRequest) String() string { 2018 return protoimpl.X.MessageStringOf(m) 2019 } 2020 2021 func (*ConnectToDeviceRequest_OpenRequest) ProtoMessage() {} 2022 2023 func (m *ConnectToDeviceRequest_OpenRequest) ProtoReflect() preflect.Message { 2024 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[18] 2025 if protoimpl.UnsafeEnabled && m != nil { 2026 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2027 if ms.LoadMessageInfo() == nil { 2028 ms.StoreMessageInfo(mi) 2029 } 2030 return ms 2031 } 2032 return mi.MessageOf(m) 2033 } 2034 2035 func (*ConnectToDeviceRequest_OpenRequest) GotenMessage() {} 2036 2037 // Deprecated, Use ConnectToDeviceRequest_OpenRequest.ProtoReflect.Descriptor instead. 2038 func (*ConnectToDeviceRequest_OpenRequest) Descriptor() ([]byte, []int) { 2039 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{4, 0} 2040 } 2041 2042 func (m *ConnectToDeviceRequest_OpenRequest) Unmarshal(b []byte) error { 2043 return proto.Unmarshal(b, m) 2044 } 2045 2046 func (m *ConnectToDeviceRequest_OpenRequest) Marshal() ([]byte, error) { 2047 return proto.Marshal(m) 2048 } 2049 2050 func (m *ConnectToDeviceRequest_OpenRequest) MarshalJSON() ([]byte, error) { 2051 return protojson.MarshalOptions{}.Marshal(m) 2052 } 2053 2054 func (m *ConnectToDeviceRequest_OpenRequest) UnmarshalJSON(data []byte) error { 2055 return protojson.Unmarshal(data, m) 2056 } 2057 2058 func (m *ConnectToDeviceRequest_OpenRequest) GetDevice() *device.Name { 2059 if m != nil { 2060 return m.Device 2061 } 2062 return nil 2063 } 2064 2065 func (m *ConnectToDeviceRequest_OpenRequest) GetService() BrokerServiceType { 2066 if m != nil { 2067 return m.Service 2068 } 2069 return BrokerServiceType_BROKER_SERVICE_UNSPECIFIED 2070 } 2071 2072 func (m *ConnectToDeviceRequest_OpenRequest) GetArg() string { 2073 if m != nil { 2074 return m.Arg 2075 } 2076 return "" 2077 } 2078 2079 func (m *ConnectToDeviceRequest_OpenRequest) SetDevice(fv *device.Name) { 2080 if m == nil { 2081 panic(fmt.Errorf("can't set %s on nil %s", "Device", "ConnectToDeviceRequest_OpenRequest")) 2082 } 2083 m.Device = fv 2084 } 2085 2086 func (m *ConnectToDeviceRequest_OpenRequest) SetService(fv BrokerServiceType) { 2087 if m == nil { 2088 panic(fmt.Errorf("can't set %s on nil %s", "Service", "ConnectToDeviceRequest_OpenRequest")) 2089 } 2090 m.Service = fv 2091 } 2092 2093 func (m *ConnectToDeviceRequest_OpenRequest) SetArg(fv string) { 2094 if m == nil { 2095 panic(fmt.Errorf("can't set %s on nil %s", "Arg", "ConnectToDeviceRequest_OpenRequest")) 2096 } 2097 m.Arg = fv 2098 } 2099 2100 type ConnectToDeviceRequest_KeepAlive struct { 2101 state protoimpl.MessageState 2102 sizeCache protoimpl.SizeCache 2103 unknownFields protoimpl.UnknownFields 2104 } 2105 2106 func (m *ConnectToDeviceRequest_KeepAlive) Reset() { 2107 *m = ConnectToDeviceRequest_KeepAlive{} 2108 if protoimpl.UnsafeEnabled { 2109 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[19] 2110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2111 ms.StoreMessageInfo(mi) 2112 } 2113 } 2114 2115 func (m *ConnectToDeviceRequest_KeepAlive) String() string { 2116 return protoimpl.X.MessageStringOf(m) 2117 } 2118 2119 func (*ConnectToDeviceRequest_KeepAlive) ProtoMessage() {} 2120 2121 func (m *ConnectToDeviceRequest_KeepAlive) ProtoReflect() preflect.Message { 2122 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[19] 2123 if protoimpl.UnsafeEnabled && m != nil { 2124 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2125 if ms.LoadMessageInfo() == nil { 2126 ms.StoreMessageInfo(mi) 2127 } 2128 return ms 2129 } 2130 return mi.MessageOf(m) 2131 } 2132 2133 func (*ConnectToDeviceRequest_KeepAlive) GotenMessage() {} 2134 2135 // Deprecated, Use ConnectToDeviceRequest_KeepAlive.ProtoReflect.Descriptor instead. 2136 func (*ConnectToDeviceRequest_KeepAlive) Descriptor() ([]byte, []int) { 2137 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{4, 1} 2138 } 2139 2140 func (m *ConnectToDeviceRequest_KeepAlive) Unmarshal(b []byte) error { 2141 return proto.Unmarshal(b, m) 2142 } 2143 2144 func (m *ConnectToDeviceRequest_KeepAlive) Marshal() ([]byte, error) { 2145 return proto.Marshal(m) 2146 } 2147 2148 func (m *ConnectToDeviceRequest_KeepAlive) MarshalJSON() ([]byte, error) { 2149 return protojson.MarshalOptions{}.Marshal(m) 2150 } 2151 2152 func (m *ConnectToDeviceRequest_KeepAlive) UnmarshalJSON(data []byte) error { 2153 return protojson.Unmarshal(data, m) 2154 } 2155 2156 type ConnectToDeviceResponse_OpenResponse struct { 2157 state protoimpl.MessageState 2158 sizeCache protoimpl.SizeCache 2159 unknownFields protoimpl.UnknownFields 2160 } 2161 2162 func (m *ConnectToDeviceResponse_OpenResponse) Reset() { 2163 *m = ConnectToDeviceResponse_OpenResponse{} 2164 if protoimpl.UnsafeEnabled { 2165 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[20] 2166 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2167 ms.StoreMessageInfo(mi) 2168 } 2169 } 2170 2171 func (m *ConnectToDeviceResponse_OpenResponse) String() string { 2172 return protoimpl.X.MessageStringOf(m) 2173 } 2174 2175 func (*ConnectToDeviceResponse_OpenResponse) ProtoMessage() {} 2176 2177 func (m *ConnectToDeviceResponse_OpenResponse) ProtoReflect() preflect.Message { 2178 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[20] 2179 if protoimpl.UnsafeEnabled && m != nil { 2180 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2181 if ms.LoadMessageInfo() == nil { 2182 ms.StoreMessageInfo(mi) 2183 } 2184 return ms 2185 } 2186 return mi.MessageOf(m) 2187 } 2188 2189 func (*ConnectToDeviceResponse_OpenResponse) GotenMessage() {} 2190 2191 // Deprecated, Use ConnectToDeviceResponse_OpenResponse.ProtoReflect.Descriptor instead. 2192 func (*ConnectToDeviceResponse_OpenResponse) Descriptor() ([]byte, []int) { 2193 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{5, 0} 2194 } 2195 2196 func (m *ConnectToDeviceResponse_OpenResponse) Unmarshal(b []byte) error { 2197 return proto.Unmarshal(b, m) 2198 } 2199 2200 func (m *ConnectToDeviceResponse_OpenResponse) Marshal() ([]byte, error) { 2201 return proto.Marshal(m) 2202 } 2203 2204 func (m *ConnectToDeviceResponse_OpenResponse) MarshalJSON() ([]byte, error) { 2205 return protojson.MarshalOptions{}.Marshal(m) 2206 } 2207 2208 func (m *ConnectToDeviceResponse_OpenResponse) UnmarshalJSON(data []byte) error { 2209 return protojson.Unmarshal(data, m) 2210 } 2211 2212 type SSHService_Hello struct { 2213 state protoimpl.MessageState 2214 sizeCache protoimpl.SizeCache 2215 unknownFields protoimpl.UnknownFields 2216 User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` 2217 Command []string `protobuf:"bytes,2,rep,name=command,proto3" json:"command,omitempty"` 2218 // Environment (optional) 2219 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"` 2220 } 2221 2222 func (m *SSHService_Hello) Reset() { 2223 *m = SSHService_Hello{} 2224 if protoimpl.UnsafeEnabled { 2225 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[21] 2226 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2227 ms.StoreMessageInfo(mi) 2228 } 2229 } 2230 2231 func (m *SSHService_Hello) String() string { 2232 return protoimpl.X.MessageStringOf(m) 2233 } 2234 2235 func (*SSHService_Hello) ProtoMessage() {} 2236 2237 func (m *SSHService_Hello) ProtoReflect() preflect.Message { 2238 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[21] 2239 if protoimpl.UnsafeEnabled && m != nil { 2240 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2241 if ms.LoadMessageInfo() == nil { 2242 ms.StoreMessageInfo(mi) 2243 } 2244 return ms 2245 } 2246 return mi.MessageOf(m) 2247 } 2248 2249 func (*SSHService_Hello) GotenMessage() {} 2250 2251 // Deprecated, Use SSHService_Hello.ProtoReflect.Descriptor instead. 2252 func (*SSHService_Hello) Descriptor() ([]byte, []int) { 2253 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{7, 0} 2254 } 2255 2256 func (m *SSHService_Hello) Unmarshal(b []byte) error { 2257 return proto.Unmarshal(b, m) 2258 } 2259 2260 func (m *SSHService_Hello) Marshal() ([]byte, error) { 2261 return proto.Marshal(m) 2262 } 2263 2264 func (m *SSHService_Hello) MarshalJSON() ([]byte, error) { 2265 return protojson.MarshalOptions{}.Marshal(m) 2266 } 2267 2268 func (m *SSHService_Hello) UnmarshalJSON(data []byte) error { 2269 return protojson.Unmarshal(data, m) 2270 } 2271 2272 func (m *SSHService_Hello) GetUser() string { 2273 if m != nil { 2274 return m.User 2275 } 2276 return "" 2277 } 2278 2279 func (m *SSHService_Hello) GetCommand() []string { 2280 if m != nil { 2281 return m.Command 2282 } 2283 return nil 2284 } 2285 2286 func (m *SSHService_Hello) GetEnv() map[string]string { 2287 if m != nil { 2288 return m.Env 2289 } 2290 return nil 2291 } 2292 2293 func (m *SSHService_Hello) SetUser(fv string) { 2294 if m == nil { 2295 panic(fmt.Errorf("can't set %s on nil %s", "User", "SSHService_Hello")) 2296 } 2297 m.User = fv 2298 } 2299 2300 func (m *SSHService_Hello) SetCommand(fv []string) { 2301 if m == nil { 2302 panic(fmt.Errorf("can't set %s on nil %s", "Command", "SSHService_Hello")) 2303 } 2304 m.Command = fv 2305 } 2306 2307 func (m *SSHService_Hello) SetEnv(fv map[string]string) { 2308 if m == nil { 2309 panic(fmt.Errorf("can't set %s on nil %s", "Env", "SSHService_Hello")) 2310 } 2311 m.Env = fv 2312 } 2313 2314 type SSHService_TerminalSize struct { 2315 state protoimpl.MessageState 2316 sizeCache protoimpl.SizeCache 2317 unknownFields protoimpl.UnknownFields 2318 Width uint32 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"` 2319 Height uint32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` 2320 } 2321 2322 func (m *SSHService_TerminalSize) Reset() { 2323 *m = SSHService_TerminalSize{} 2324 if protoimpl.UnsafeEnabled { 2325 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[22] 2326 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2327 ms.StoreMessageInfo(mi) 2328 } 2329 } 2330 2331 func (m *SSHService_TerminalSize) String() string { 2332 return protoimpl.X.MessageStringOf(m) 2333 } 2334 2335 func (*SSHService_TerminalSize) ProtoMessage() {} 2336 2337 func (m *SSHService_TerminalSize) ProtoReflect() preflect.Message { 2338 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[22] 2339 if protoimpl.UnsafeEnabled && m != nil { 2340 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2341 if ms.LoadMessageInfo() == nil { 2342 ms.StoreMessageInfo(mi) 2343 } 2344 return ms 2345 } 2346 return mi.MessageOf(m) 2347 } 2348 2349 func (*SSHService_TerminalSize) GotenMessage() {} 2350 2351 // Deprecated, Use SSHService_TerminalSize.ProtoReflect.Descriptor instead. 2352 func (*SSHService_TerminalSize) Descriptor() ([]byte, []int) { 2353 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{7, 1} 2354 } 2355 2356 func (m *SSHService_TerminalSize) Unmarshal(b []byte) error { 2357 return proto.Unmarshal(b, m) 2358 } 2359 2360 func (m *SSHService_TerminalSize) Marshal() ([]byte, error) { 2361 return proto.Marshal(m) 2362 } 2363 2364 func (m *SSHService_TerminalSize) MarshalJSON() ([]byte, error) { 2365 return protojson.MarshalOptions{}.Marshal(m) 2366 } 2367 2368 func (m *SSHService_TerminalSize) UnmarshalJSON(data []byte) error { 2369 return protojson.Unmarshal(data, m) 2370 } 2371 2372 func (m *SSHService_TerminalSize) GetWidth() uint32 { 2373 if m != nil { 2374 return m.Width 2375 } 2376 return uint32(0) 2377 } 2378 2379 func (m *SSHService_TerminalSize) GetHeight() uint32 { 2380 if m != nil { 2381 return m.Height 2382 } 2383 return uint32(0) 2384 } 2385 2386 func (m *SSHService_TerminalSize) SetWidth(fv uint32) { 2387 if m == nil { 2388 panic(fmt.Errorf("can't set %s on nil %s", "Width", "SSHService_TerminalSize")) 2389 } 2390 m.Width = fv 2391 } 2392 2393 func (m *SSHService_TerminalSize) SetHeight(fv uint32) { 2394 if m == nil { 2395 panic(fmt.Errorf("can't set %s on nil %s", "Height", "SSHService_TerminalSize")) 2396 } 2397 m.Height = fv 2398 } 2399 2400 type SSHService_ClientOut struct { 2401 state protoimpl.MessageState 2402 sizeCache protoimpl.SizeCache 2403 unknownFields protoimpl.UnknownFields 2404 // Types that are valid to be assigned to Msg: 2405 // *SSHService_ClientOut_Data 2406 // *SSHService_ClientOut_SshHello 2407 // *SSHService_ClientOut_SshResizeTerminal 2408 Msg isSSHService_ClientOut_Msg `protobuf_oneof:"msg"` 2409 } 2410 2411 func (m *SSHService_ClientOut) Reset() { 2412 *m = SSHService_ClientOut{} 2413 if protoimpl.UnsafeEnabled { 2414 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[23] 2415 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2416 ms.StoreMessageInfo(mi) 2417 } 2418 } 2419 2420 func (m *SSHService_ClientOut) String() string { 2421 return protoimpl.X.MessageStringOf(m) 2422 } 2423 2424 func (*SSHService_ClientOut) ProtoMessage() {} 2425 2426 func (m *SSHService_ClientOut) ProtoReflect() preflect.Message { 2427 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[23] 2428 if protoimpl.UnsafeEnabled && m != nil { 2429 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2430 if ms.LoadMessageInfo() == nil { 2431 ms.StoreMessageInfo(mi) 2432 } 2433 return ms 2434 } 2435 return mi.MessageOf(m) 2436 } 2437 2438 func (*SSHService_ClientOut) GotenMessage() {} 2439 2440 // Deprecated, Use SSHService_ClientOut.ProtoReflect.Descriptor instead. 2441 func (*SSHService_ClientOut) Descriptor() ([]byte, []int) { 2442 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{7, 2} 2443 } 2444 2445 func (m *SSHService_ClientOut) Unmarshal(b []byte) error { 2446 return proto.Unmarshal(b, m) 2447 } 2448 2449 func (m *SSHService_ClientOut) Marshal() ([]byte, error) { 2450 return proto.Marshal(m) 2451 } 2452 2453 func (m *SSHService_ClientOut) MarshalJSON() ([]byte, error) { 2454 return protojson.MarshalOptions{}.Marshal(m) 2455 } 2456 2457 func (m *SSHService_ClientOut) UnmarshalJSON(data []byte) error { 2458 return protojson.Unmarshal(data, m) 2459 } 2460 2461 type isSSHService_ClientOut_Msg interface { 2462 isSSHService_ClientOut_Msg() 2463 } 2464 2465 type SSHService_ClientOut_Data struct { 2466 Data []byte `protobuf:"bytes,1,opt,name=data,proto3,oneof"` 2467 } 2468 type SSHService_ClientOut_SshHello struct { 2469 SshHello *SSHService_Hello `protobuf:"bytes,2,opt,name=ssh_hello,json=sshHello,proto3,oneof"` 2470 } 2471 type SSHService_ClientOut_SshResizeTerminal struct { 2472 SshResizeTerminal *SSHService_TerminalSize `protobuf:"bytes,3,opt,name=ssh_resize_terminal,json=sshResizeTerminal,proto3,oneof"` 2473 } 2474 2475 func (*SSHService_ClientOut_Data) isSSHService_ClientOut_Msg() {} 2476 func (*SSHService_ClientOut_SshHello) isSSHService_ClientOut_Msg() {} 2477 func (*SSHService_ClientOut_SshResizeTerminal) isSSHService_ClientOut_Msg() {} 2478 func (m *SSHService_ClientOut) GetMsg() isSSHService_ClientOut_Msg { 2479 if m != nil { 2480 return m.Msg 2481 } 2482 return nil 2483 } 2484 func (m *SSHService_ClientOut) GetData() []byte { 2485 if x, ok := m.GetMsg().(*SSHService_ClientOut_Data); ok { 2486 return x.Data 2487 } 2488 return nil 2489 } 2490 func (m *SSHService_ClientOut) GetSshHello() *SSHService_Hello { 2491 if x, ok := m.GetMsg().(*SSHService_ClientOut_SshHello); ok { 2492 return x.SshHello 2493 } 2494 return nil 2495 } 2496 func (m *SSHService_ClientOut) GetSshResizeTerminal() *SSHService_TerminalSize { 2497 if x, ok := m.GetMsg().(*SSHService_ClientOut_SshResizeTerminal); ok { 2498 return x.SshResizeTerminal 2499 } 2500 return nil 2501 } 2502 func (m *SSHService_ClientOut) SetMsg(ofv isSSHService_ClientOut_Msg) { 2503 if m == nil { 2504 panic(fmt.Errorf("can't set %s on nil %s", "isSSHService_ClientOut_Msg", "SSHService_ClientOut")) 2505 } 2506 m.Msg = ofv 2507 } 2508 func (m *SSHService_ClientOut) SetData(fv []byte) { 2509 m.SetMsg(&SSHService_ClientOut_Data{Data: fv}) 2510 } 2511 func (m *SSHService_ClientOut) SetSshHello(fv *SSHService_Hello) { 2512 m.SetMsg(&SSHService_ClientOut_SshHello{SshHello: fv}) 2513 } 2514 func (m *SSHService_ClientOut) SetSshResizeTerminal(fv *SSHService_TerminalSize) { 2515 m.SetMsg(&SSHService_ClientOut_SshResizeTerminal{SshResizeTerminal: fv}) 2516 } 2517 2518 type SSHService_ClientIn struct { 2519 state protoimpl.MessageState 2520 sizeCache protoimpl.SizeCache 2521 unknownFields protoimpl.UnknownFields 2522 // Types that are valid to be assigned to Msg: 2523 // *SSHService_ClientIn_Data 2524 Msg isSSHService_ClientIn_Msg `protobuf_oneof:"msg"` 2525 } 2526 2527 func (m *SSHService_ClientIn) Reset() { 2528 *m = SSHService_ClientIn{} 2529 if protoimpl.UnsafeEnabled { 2530 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[24] 2531 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2532 ms.StoreMessageInfo(mi) 2533 } 2534 } 2535 2536 func (m *SSHService_ClientIn) String() string { 2537 return protoimpl.X.MessageStringOf(m) 2538 } 2539 2540 func (*SSHService_ClientIn) ProtoMessage() {} 2541 2542 func (m *SSHService_ClientIn) ProtoReflect() preflect.Message { 2543 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[24] 2544 if protoimpl.UnsafeEnabled && m != nil { 2545 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2546 if ms.LoadMessageInfo() == nil { 2547 ms.StoreMessageInfo(mi) 2548 } 2549 return ms 2550 } 2551 return mi.MessageOf(m) 2552 } 2553 2554 func (*SSHService_ClientIn) GotenMessage() {} 2555 2556 // Deprecated, Use SSHService_ClientIn.ProtoReflect.Descriptor instead. 2557 func (*SSHService_ClientIn) Descriptor() ([]byte, []int) { 2558 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{7, 3} 2559 } 2560 2561 func (m *SSHService_ClientIn) Unmarshal(b []byte) error { 2562 return proto.Unmarshal(b, m) 2563 } 2564 2565 func (m *SSHService_ClientIn) Marshal() ([]byte, error) { 2566 return proto.Marshal(m) 2567 } 2568 2569 func (m *SSHService_ClientIn) MarshalJSON() ([]byte, error) { 2570 return protojson.MarshalOptions{}.Marshal(m) 2571 } 2572 2573 func (m *SSHService_ClientIn) UnmarshalJSON(data []byte) error { 2574 return protojson.Unmarshal(data, m) 2575 } 2576 2577 type isSSHService_ClientIn_Msg interface { 2578 isSSHService_ClientIn_Msg() 2579 } 2580 2581 type SSHService_ClientIn_Data struct { 2582 Data []byte `protobuf:"bytes,1,opt,name=data,proto3,oneof"` 2583 } 2584 2585 func (*SSHService_ClientIn_Data) isSSHService_ClientIn_Msg() {} 2586 func (m *SSHService_ClientIn) GetMsg() isSSHService_ClientIn_Msg { 2587 if m != nil { 2588 return m.Msg 2589 } 2590 return nil 2591 } 2592 func (m *SSHService_ClientIn) GetData() []byte { 2593 if x, ok := m.GetMsg().(*SSHService_ClientIn_Data); ok { 2594 return x.Data 2595 } 2596 return nil 2597 } 2598 func (m *SSHService_ClientIn) SetMsg(ofv isSSHService_ClientIn_Msg) { 2599 if m == nil { 2600 panic(fmt.Errorf("can't set %s on nil %s", "isSSHService_ClientIn_Msg", "SSHService_ClientIn")) 2601 } 2602 m.Msg = ofv 2603 } 2604 func (m *SSHService_ClientIn) SetData(fv []byte) { 2605 m.SetMsg(&SSHService_ClientIn_Data{Data: fv}) 2606 } 2607 2608 type SCPService_Configure struct { 2609 state protoimpl.MessageState 2610 sizeCache protoimpl.SizeCache 2611 unknownFields protoimpl.UnknownFields 2612 Recursive bool `protobuf:"varint,1,opt,name=recursive,proto3" json:"recursive,omitempty"` 2613 Direction SCPService_Configure_Direction `protobuf:"varint,2,opt,name=direction,proto3,enum=ntt.devices.v1alpha2.SCPService_Configure_Direction" json:"direction,omitempty"` 2614 Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` 2615 } 2616 2617 func (m *SCPService_Configure) Reset() { 2618 *m = SCPService_Configure{} 2619 if protoimpl.UnsafeEnabled { 2620 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[26] 2621 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2622 ms.StoreMessageInfo(mi) 2623 } 2624 } 2625 2626 func (m *SCPService_Configure) String() string { 2627 return protoimpl.X.MessageStringOf(m) 2628 } 2629 2630 func (*SCPService_Configure) ProtoMessage() {} 2631 2632 func (m *SCPService_Configure) ProtoReflect() preflect.Message { 2633 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[26] 2634 if protoimpl.UnsafeEnabled && m != nil { 2635 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2636 if ms.LoadMessageInfo() == nil { 2637 ms.StoreMessageInfo(mi) 2638 } 2639 return ms 2640 } 2641 return mi.MessageOf(m) 2642 } 2643 2644 func (*SCPService_Configure) GotenMessage() {} 2645 2646 // Deprecated, Use SCPService_Configure.ProtoReflect.Descriptor instead. 2647 func (*SCPService_Configure) Descriptor() ([]byte, []int) { 2648 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{8, 0} 2649 } 2650 2651 func (m *SCPService_Configure) Unmarshal(b []byte) error { 2652 return proto.Unmarshal(b, m) 2653 } 2654 2655 func (m *SCPService_Configure) Marshal() ([]byte, error) { 2656 return proto.Marshal(m) 2657 } 2658 2659 func (m *SCPService_Configure) MarshalJSON() ([]byte, error) { 2660 return protojson.MarshalOptions{}.Marshal(m) 2661 } 2662 2663 func (m *SCPService_Configure) UnmarshalJSON(data []byte) error { 2664 return protojson.Unmarshal(data, m) 2665 } 2666 2667 func (m *SCPService_Configure) GetRecursive() bool { 2668 if m != nil { 2669 return m.Recursive 2670 } 2671 return false 2672 } 2673 2674 func (m *SCPService_Configure) GetDirection() SCPService_Configure_Direction { 2675 if m != nil { 2676 return m.Direction 2677 } 2678 return SCPService_Configure_DOWNLOAD 2679 } 2680 2681 func (m *SCPService_Configure) GetPath() string { 2682 if m != nil { 2683 return m.Path 2684 } 2685 return "" 2686 } 2687 2688 func (m *SCPService_Configure) SetRecursive(fv bool) { 2689 if m == nil { 2690 panic(fmt.Errorf("can't set %s on nil %s", "Recursive", "SCPService_Configure")) 2691 } 2692 m.Recursive = fv 2693 } 2694 2695 func (m *SCPService_Configure) SetDirection(fv SCPService_Configure_Direction) { 2696 if m == nil { 2697 panic(fmt.Errorf("can't set %s on nil %s", "Direction", "SCPService_Configure")) 2698 } 2699 m.Direction = fv 2700 } 2701 2702 func (m *SCPService_Configure) SetPath(fv string) { 2703 if m == nil { 2704 panic(fmt.Errorf("can't set %s on nil %s", "Path", "SCPService_Configure")) 2705 } 2706 m.Path = fv 2707 } 2708 2709 type SCPService_CreateDirectory struct { 2710 state protoimpl.MessageState 2711 sizeCache protoimpl.SizeCache 2712 unknownFields protoimpl.UnknownFields 2713 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` 2714 Mode uint32 `protobuf:"varint,2,opt,name=mode,proto3" json:"mode,omitempty"` 2715 } 2716 2717 func (m *SCPService_CreateDirectory) Reset() { 2718 *m = SCPService_CreateDirectory{} 2719 if protoimpl.UnsafeEnabled { 2720 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[27] 2721 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2722 ms.StoreMessageInfo(mi) 2723 } 2724 } 2725 2726 func (m *SCPService_CreateDirectory) String() string { 2727 return protoimpl.X.MessageStringOf(m) 2728 } 2729 2730 func (*SCPService_CreateDirectory) ProtoMessage() {} 2731 2732 func (m *SCPService_CreateDirectory) ProtoReflect() preflect.Message { 2733 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[27] 2734 if protoimpl.UnsafeEnabled && m != nil { 2735 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2736 if ms.LoadMessageInfo() == nil { 2737 ms.StoreMessageInfo(mi) 2738 } 2739 return ms 2740 } 2741 return mi.MessageOf(m) 2742 } 2743 2744 func (*SCPService_CreateDirectory) GotenMessage() {} 2745 2746 // Deprecated, Use SCPService_CreateDirectory.ProtoReflect.Descriptor instead. 2747 func (*SCPService_CreateDirectory) Descriptor() ([]byte, []int) { 2748 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{8, 1} 2749 } 2750 2751 func (m *SCPService_CreateDirectory) Unmarshal(b []byte) error { 2752 return proto.Unmarshal(b, m) 2753 } 2754 2755 func (m *SCPService_CreateDirectory) Marshal() ([]byte, error) { 2756 return proto.Marshal(m) 2757 } 2758 2759 func (m *SCPService_CreateDirectory) MarshalJSON() ([]byte, error) { 2760 return protojson.MarshalOptions{}.Marshal(m) 2761 } 2762 2763 func (m *SCPService_CreateDirectory) UnmarshalJSON(data []byte) error { 2764 return protojson.Unmarshal(data, m) 2765 } 2766 2767 func (m *SCPService_CreateDirectory) GetPath() string { 2768 if m != nil { 2769 return m.Path 2770 } 2771 return "" 2772 } 2773 2774 func (m *SCPService_CreateDirectory) GetMode() uint32 { 2775 if m != nil { 2776 return m.Mode 2777 } 2778 return uint32(0) 2779 } 2780 2781 func (m *SCPService_CreateDirectory) SetPath(fv string) { 2782 if m == nil { 2783 panic(fmt.Errorf("can't set %s on nil %s", "Path", "SCPService_CreateDirectory")) 2784 } 2785 m.Path = fv 2786 } 2787 2788 func (m *SCPService_CreateDirectory) SetMode(fv uint32) { 2789 if m == nil { 2790 panic(fmt.Errorf("can't set %s on nil %s", "Mode", "SCPService_CreateDirectory")) 2791 } 2792 m.Mode = fv 2793 } 2794 2795 type SCPService_CreateFile struct { 2796 state protoimpl.MessageState 2797 sizeCache protoimpl.SizeCache 2798 unknownFields protoimpl.UnknownFields 2799 // Types that are valid to be assigned to Msg: 2800 // *SCPService_CreateFile_Init 2801 // *SCPService_CreateFile_Data 2802 // *SCPService_CreateFile_Eof 2803 Msg isSCPService_CreateFile_Msg `protobuf_oneof:"msg"` 2804 } 2805 2806 func (m *SCPService_CreateFile) Reset() { 2807 *m = SCPService_CreateFile{} 2808 if protoimpl.UnsafeEnabled { 2809 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[28] 2810 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2811 ms.StoreMessageInfo(mi) 2812 } 2813 } 2814 2815 func (m *SCPService_CreateFile) String() string { 2816 return protoimpl.X.MessageStringOf(m) 2817 } 2818 2819 func (*SCPService_CreateFile) ProtoMessage() {} 2820 2821 func (m *SCPService_CreateFile) ProtoReflect() preflect.Message { 2822 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[28] 2823 if protoimpl.UnsafeEnabled && m != nil { 2824 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2825 if ms.LoadMessageInfo() == nil { 2826 ms.StoreMessageInfo(mi) 2827 } 2828 return ms 2829 } 2830 return mi.MessageOf(m) 2831 } 2832 2833 func (*SCPService_CreateFile) GotenMessage() {} 2834 2835 // Deprecated, Use SCPService_CreateFile.ProtoReflect.Descriptor instead. 2836 func (*SCPService_CreateFile) Descriptor() ([]byte, []int) { 2837 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{8, 2} 2838 } 2839 2840 func (m *SCPService_CreateFile) Unmarshal(b []byte) error { 2841 return proto.Unmarshal(b, m) 2842 } 2843 2844 func (m *SCPService_CreateFile) Marshal() ([]byte, error) { 2845 return proto.Marshal(m) 2846 } 2847 2848 func (m *SCPService_CreateFile) MarshalJSON() ([]byte, error) { 2849 return protojson.MarshalOptions{}.Marshal(m) 2850 } 2851 2852 func (m *SCPService_CreateFile) UnmarshalJSON(data []byte) error { 2853 return protojson.Unmarshal(data, m) 2854 } 2855 2856 type isSCPService_CreateFile_Msg interface { 2857 isSCPService_CreateFile_Msg() 2858 } 2859 2860 type SCPService_CreateFile_Init struct { 2861 // Request file initialization 2862 Init *SCPService_CreateFile_Initialize `protobuf:"bytes,1,opt,name=init,proto3,oneof"` 2863 } 2864 type SCPService_CreateFile_Data struct { 2865 // Request file data 2866 Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"` 2867 } 2868 type SCPService_CreateFile_Eof struct { 2869 // Request to end file transfer 2870 Eof bool `protobuf:"varint,3,opt,name=eof,proto3,oneof"` 2871 } 2872 2873 func (*SCPService_CreateFile_Init) isSCPService_CreateFile_Msg() {} 2874 func (*SCPService_CreateFile_Data) isSCPService_CreateFile_Msg() {} 2875 func (*SCPService_CreateFile_Eof) isSCPService_CreateFile_Msg() {} 2876 func (m *SCPService_CreateFile) GetMsg() isSCPService_CreateFile_Msg { 2877 if m != nil { 2878 return m.Msg 2879 } 2880 return nil 2881 } 2882 func (m *SCPService_CreateFile) GetInit() *SCPService_CreateFile_Initialize { 2883 if x, ok := m.GetMsg().(*SCPService_CreateFile_Init); ok { 2884 return x.Init 2885 } 2886 return nil 2887 } 2888 func (m *SCPService_CreateFile) GetData() []byte { 2889 if x, ok := m.GetMsg().(*SCPService_CreateFile_Data); ok { 2890 return x.Data 2891 } 2892 return nil 2893 } 2894 func (m *SCPService_CreateFile) GetEof() bool { 2895 if x, ok := m.GetMsg().(*SCPService_CreateFile_Eof); ok { 2896 return x.Eof 2897 } 2898 return false 2899 } 2900 func (m *SCPService_CreateFile) SetMsg(ofv isSCPService_CreateFile_Msg) { 2901 if m == nil { 2902 panic(fmt.Errorf("can't set %s on nil %s", "isSCPService_CreateFile_Msg", "SCPService_CreateFile")) 2903 } 2904 m.Msg = ofv 2905 } 2906 func (m *SCPService_CreateFile) SetInit(fv *SCPService_CreateFile_Initialize) { 2907 m.SetMsg(&SCPService_CreateFile_Init{Init: fv}) 2908 } 2909 func (m *SCPService_CreateFile) SetData(fv []byte) { 2910 m.SetMsg(&SCPService_CreateFile_Data{Data: fv}) 2911 } 2912 func (m *SCPService_CreateFile) SetEof(fv bool) { 2913 m.SetMsg(&SCPService_CreateFile_Eof{Eof: fv}) 2914 } 2915 2916 type SCPService_CreateFile_Initialize struct { 2917 state protoimpl.MessageState 2918 sizeCache protoimpl.SizeCache 2919 unknownFields protoimpl.UnknownFields 2920 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` 2921 Mode uint32 `protobuf:"varint,2,opt,name=mode,proto3" json:"mode,omitempty"` 2922 Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` 2923 } 2924 2925 func (m *SCPService_CreateFile_Initialize) Reset() { 2926 *m = SCPService_CreateFile_Initialize{} 2927 if protoimpl.UnsafeEnabled { 2928 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[29] 2929 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2930 ms.StoreMessageInfo(mi) 2931 } 2932 } 2933 2934 func (m *SCPService_CreateFile_Initialize) String() string { 2935 return protoimpl.X.MessageStringOf(m) 2936 } 2937 2938 func (*SCPService_CreateFile_Initialize) ProtoMessage() {} 2939 2940 func (m *SCPService_CreateFile_Initialize) ProtoReflect() preflect.Message { 2941 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[29] 2942 if protoimpl.UnsafeEnabled && m != nil { 2943 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 2944 if ms.LoadMessageInfo() == nil { 2945 ms.StoreMessageInfo(mi) 2946 } 2947 return ms 2948 } 2949 return mi.MessageOf(m) 2950 } 2951 2952 func (*SCPService_CreateFile_Initialize) GotenMessage() {} 2953 2954 // Deprecated, Use SCPService_CreateFile_Initialize.ProtoReflect.Descriptor instead. 2955 func (*SCPService_CreateFile_Initialize) Descriptor() ([]byte, []int) { 2956 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{8, 2, 0} 2957 } 2958 2959 func (m *SCPService_CreateFile_Initialize) Unmarshal(b []byte) error { 2960 return proto.Unmarshal(b, m) 2961 } 2962 2963 func (m *SCPService_CreateFile_Initialize) Marshal() ([]byte, error) { 2964 return proto.Marshal(m) 2965 } 2966 2967 func (m *SCPService_CreateFile_Initialize) MarshalJSON() ([]byte, error) { 2968 return protojson.MarshalOptions{}.Marshal(m) 2969 } 2970 2971 func (m *SCPService_CreateFile_Initialize) UnmarshalJSON(data []byte) error { 2972 return protojson.Unmarshal(data, m) 2973 } 2974 2975 func (m *SCPService_CreateFile_Initialize) GetPath() string { 2976 if m != nil { 2977 return m.Path 2978 } 2979 return "" 2980 } 2981 2982 func (m *SCPService_CreateFile_Initialize) GetMode() uint32 { 2983 if m != nil { 2984 return m.Mode 2985 } 2986 return uint32(0) 2987 } 2988 2989 func (m *SCPService_CreateFile_Initialize) GetSize() uint64 { 2990 if m != nil { 2991 return m.Size 2992 } 2993 return uint64(0) 2994 } 2995 2996 func (m *SCPService_CreateFile_Initialize) SetPath(fv string) { 2997 if m == nil { 2998 panic(fmt.Errorf("can't set %s on nil %s", "Path", "SCPService_CreateFile_Initialize")) 2999 } 3000 m.Path = fv 3001 } 3002 3003 func (m *SCPService_CreateFile_Initialize) SetMode(fv uint32) { 3004 if m == nil { 3005 panic(fmt.Errorf("can't set %s on nil %s", "Mode", "SCPService_CreateFile_Initialize")) 3006 } 3007 m.Mode = fv 3008 } 3009 3010 func (m *SCPService_CreateFile_Initialize) SetSize(fv uint64) { 3011 if m == nil { 3012 panic(fmt.Errorf("can't set %s on nil %s", "Size", "SCPService_CreateFile_Initialize")) 3013 } 3014 m.Size = fv 3015 } 3016 3017 // Messages sent only to a device 3018 type LogsService_ToDevice struct { 3019 state protoimpl.MessageState 3020 sizeCache protoimpl.SizeCache 3021 unknownFields protoimpl.UnknownFields 3022 // Live follow the logs service 3023 Follow bool `protobuf:"varint,1,opt,name=follow,proto3" json:"follow,omitempty"` 3024 // Number of lines to get from the logs service 3025 Lines uint32 `protobuf:"varint,2,opt,name=lines,proto3" json:"lines,omitempty"` 3026 // Source of the logs service (e.g. docker container ID) 3027 Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` 3028 } 3029 3030 func (m *LogsService_ToDevice) Reset() { 3031 *m = LogsService_ToDevice{} 3032 if protoimpl.UnsafeEnabled { 3033 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[30] 3034 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 3035 ms.StoreMessageInfo(mi) 3036 } 3037 } 3038 3039 func (m *LogsService_ToDevice) String() string { 3040 return protoimpl.X.MessageStringOf(m) 3041 } 3042 3043 func (*LogsService_ToDevice) ProtoMessage() {} 3044 3045 func (m *LogsService_ToDevice) ProtoReflect() preflect.Message { 3046 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[30] 3047 if protoimpl.UnsafeEnabled && m != nil { 3048 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 3049 if ms.LoadMessageInfo() == nil { 3050 ms.StoreMessageInfo(mi) 3051 } 3052 return ms 3053 } 3054 return mi.MessageOf(m) 3055 } 3056 3057 func (*LogsService_ToDevice) GotenMessage() {} 3058 3059 // Deprecated, Use LogsService_ToDevice.ProtoReflect.Descriptor instead. 3060 func (*LogsService_ToDevice) Descriptor() ([]byte, []int) { 3061 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{9, 0} 3062 } 3063 3064 func (m *LogsService_ToDevice) Unmarshal(b []byte) error { 3065 return proto.Unmarshal(b, m) 3066 } 3067 3068 func (m *LogsService_ToDevice) Marshal() ([]byte, error) { 3069 return proto.Marshal(m) 3070 } 3071 3072 func (m *LogsService_ToDevice) MarshalJSON() ([]byte, error) { 3073 return protojson.MarshalOptions{}.Marshal(m) 3074 } 3075 3076 func (m *LogsService_ToDevice) UnmarshalJSON(data []byte) error { 3077 return protojson.Unmarshal(data, m) 3078 } 3079 3080 func (m *LogsService_ToDevice) GetFollow() bool { 3081 if m != nil { 3082 return m.Follow 3083 } 3084 return false 3085 } 3086 3087 func (m *LogsService_ToDevice) GetLines() uint32 { 3088 if m != nil { 3089 return m.Lines 3090 } 3091 return uint32(0) 3092 } 3093 3094 func (m *LogsService_ToDevice) GetSource() string { 3095 if m != nil { 3096 return m.Source 3097 } 3098 return "" 3099 } 3100 3101 func (m *LogsService_ToDevice) SetFollow(fv bool) { 3102 if m == nil { 3103 panic(fmt.Errorf("can't set %s on nil %s", "Follow", "LogsService_ToDevice")) 3104 } 3105 m.Follow = fv 3106 } 3107 3108 func (m *LogsService_ToDevice) SetLines(fv uint32) { 3109 if m == nil { 3110 panic(fmt.Errorf("can't set %s on nil %s", "Lines", "LogsService_ToDevice")) 3111 } 3112 m.Lines = fv 3113 } 3114 3115 func (m *LogsService_ToDevice) SetSource(fv string) { 3116 if m == nil { 3117 panic(fmt.Errorf("can't set %s on nil %s", "Source", "LogsService_ToDevice")) 3118 } 3119 m.Source = fv 3120 } 3121 3122 // Messages sent only to a client 3123 type LogsService_ToClient struct { 3124 state protoimpl.MessageState 3125 sizeCache protoimpl.SizeCache 3126 unknownFields protoimpl.UnknownFields 3127 // Logs data 3128 Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` 3129 } 3130 3131 func (m *LogsService_ToClient) Reset() { 3132 *m = LogsService_ToClient{} 3133 if protoimpl.UnsafeEnabled { 3134 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[31] 3135 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 3136 ms.StoreMessageInfo(mi) 3137 } 3138 } 3139 3140 func (m *LogsService_ToClient) String() string { 3141 return protoimpl.X.MessageStringOf(m) 3142 } 3143 3144 func (*LogsService_ToClient) ProtoMessage() {} 3145 3146 func (m *LogsService_ToClient) ProtoReflect() preflect.Message { 3147 mi := &edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[31] 3148 if protoimpl.UnsafeEnabled && m != nil { 3149 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 3150 if ms.LoadMessageInfo() == nil { 3151 ms.StoreMessageInfo(mi) 3152 } 3153 return ms 3154 } 3155 return mi.MessageOf(m) 3156 } 3157 3158 func (*LogsService_ToClient) GotenMessage() {} 3159 3160 // Deprecated, Use LogsService_ToClient.ProtoReflect.Descriptor instead. 3161 func (*LogsService_ToClient) Descriptor() ([]byte, []int) { 3162 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP(), []int{9, 1} 3163 } 3164 3165 func (m *LogsService_ToClient) Unmarshal(b []byte) error { 3166 return proto.Unmarshal(b, m) 3167 } 3168 3169 func (m *LogsService_ToClient) Marshal() ([]byte, error) { 3170 return proto.Marshal(m) 3171 } 3172 3173 func (m *LogsService_ToClient) MarshalJSON() ([]byte, error) { 3174 return protojson.MarshalOptions{}.Marshal(m) 3175 } 3176 3177 func (m *LogsService_ToClient) UnmarshalJSON(data []byte) error { 3178 return protojson.Unmarshal(data, m) 3179 } 3180 3181 func (m *LogsService_ToClient) GetData() []byte { 3182 if m != nil { 3183 return m.Data 3184 } 3185 return nil 3186 } 3187 3188 func (m *LogsService_ToClient) SetData(fv []byte) { 3189 if m == nil { 3190 panic(fmt.Errorf("can't set %s on nil %s", "Data", "LogsService_ToClient")) 3191 } 3192 m.Data = fv 3193 } 3194 3195 var edgelq_devices_proto_v1alpha2_broker_custom_proto preflect.FileDescriptor 3196 3197 var edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDesc = []byte{ 3198 0x0a, 0x31, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 3199 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 3200 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 3201 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 3202 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 3203 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 3204 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 3205 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 3206 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x65, 0x64, 0x67, 0x65, 3207 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 3208 0x6e, 0x73, 0x2f, 0x69, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 3209 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 3210 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 3211 0x74, 0x6f, 0x1a, 0x2a, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 3212 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 3213 0x32, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x31, 3214 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x70, 3215 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x64, 0x65, 3216 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 3217 0x6f, 0x22, 0xfa, 0x03, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x46, 0x6f, 0x72, 0x43, 3218 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 3219 0x74, 0x12, 0x71, 0x0a, 0x11, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6c, 0x69, 3220 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x6e, 3221 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 3222 0x68, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x46, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 3223 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 3224 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 3225 0x48, 0x00, 0x52, 0x10, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 3226 0x65, 0x6e, 0x65, 0x72, 0x12, 0x72, 0x0a, 0x12, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 3227 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 3228 0x32, 0x42, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 3229 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x46, 0x6f, 3230 0x72, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 3231 0x65, 0x73, 0x74, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4f, 0x70, 0x65, 0x6e, 0x45, 3232 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x10, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4f, 3233 0x70, 0x65, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x5c, 0x0a, 0x0a, 0x6b, 0x65, 0x65, 0x70, 3234 0x5f, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x6e, 3235 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 3236 0x68, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x46, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 3237 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 3238 0x4b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x48, 0x00, 0x52, 0x09, 0x6b, 0x65, 0x65, 3239 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x1a, 0x3a, 0x0a, 0x10, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 3240 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x06, 0x64, 0x65, 3241 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 3242 0x0a, 0x08, 0x0a, 0x06, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x06, 0x64, 0x65, 0x76, 0x69, 3243 0x63, 0x65, 0x1a, 0x46, 0x0a, 0x10, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4f, 0x70, 0x65, 3244 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 3245 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 3246 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 3247 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x0b, 0x0a, 0x09, 0x4b, 0x65, 3248 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x42, 0x05, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x89, 3249 0x03, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x46, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x6e, 3250 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 3251 0x72, 0x0a, 0x11, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 3252 0x73, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x6e, 0x74, 0x74, 3253 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 3254 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x46, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 3255 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 3256 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x48, 3257 0x00, 0x52, 0x10, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 3258 0x74, 0x65, 0x64, 0x12, 0x5d, 0x0a, 0x0a, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x61, 0x6c, 0x69, 0x76, 3259 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 3260 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x4c, 3261 0x69, 0x73, 0x74, 0x65, 0x6e, 0x46, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 3262 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4b, 0x65, 0x65, 0x70, 3263 0x41, 0x6c, 0x69, 0x76, 0x65, 0x48, 0x00, 0x52, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 3264 0x76, 0x65, 0x1a, 0x81, 0x01, 0x0a, 0x10, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 3265 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 3266 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 3267 0x6c, 0x12, 0x41, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 3268 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 3269 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 3270 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, 3271 0x76, 0x69, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x72, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 3272 0x09, 0x52, 0x03, 0x61, 0x72, 0x67, 0x1a, 0x0b, 0x0a, 0x09, 0x4b, 0x65, 0x65, 0x70, 0x41, 0x6c, 3273 0x69, 0x76, 0x65, 0x42, 0x05, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x22, 0xd0, 0x02, 0x0a, 0x22, 0x4f, 3274 0x70, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 3275 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 3276 0x74, 0x12, 0x72, 0x0a, 0x0f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x6f, 3277 0x63, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x47, 0x2e, 0x6e, 0x74, 0x74, 3278 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 3279 0x32, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 3280 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 3281 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x53, 0x6f, 0x63, 3282 0x6b, 0x65, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x53, 3283 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 3284 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x05, 0x65, 3285 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 3286 0x72, 0x6f, 0x72, 0x12, 0x2d, 0x0a, 0x03, 0x61, 0x63, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 3287 0x32, 0x19, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 3288 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x41, 0x63, 0x6b, 0x48, 0x00, 0x52, 0x03, 0x61, 3289 0x63, 0x6b, 0x1a, 0x52, 0x0a, 0x0e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x53, 0x6f, 3290 0x63, 0x6b, 0x65, 0x74, 0x12, 0x26, 0x0a, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 3291 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x0a, 0x08, 0x0a, 0x06, 0x44, 0x65, 3292 0x76, 0x69, 0x63, 0x65, 0x52, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 3293 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 3294 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x05, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x71, 0x0a, 3295 0x23, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 3296 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 3297 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 3298 0x28, 0x0c, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2d, 0x0a, 0x03, 0x61, 0x63, 3299 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 3300 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x41, 3301 0x63, 0x6b, 0x48, 0x00, 0x52, 0x03, 0x61, 0x63, 0x6b, 0x42, 0x05, 0x0a, 0x03, 0x6d, 0x73, 0x67, 3302 0x22, 0xb6, 0x03, 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x6f, 0x44, 0x65, 3303 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x5d, 0x0a, 0x0c, 0x6f, 3304 0x70, 0x65, 0x6e, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 3305 0x0b, 0x32, 0x38, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 3306 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 3307 0x54, 0x6f, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 3308 0x4f, 0x70, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x6f, 3309 0x70, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x04, 0x64, 0x61, 3310 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 3311 0x12, 0x2d, 0x0a, 0x03, 0x61, 0x63, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 3312 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 3313 0x70, 0x68, 0x61, 0x32, 0x2e, 0x41, 0x63, 0x6b, 0x48, 0x00, 0x52, 0x03, 0x61, 0x63, 0x6b, 0x12, 3314 0x57, 0x0a, 0x0a, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x18, 0x05, 0x20, 3315 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 3316 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 3317 0x63, 0x74, 0x54, 0x6f, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 3318 0x74, 0x2e, 0x4b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x48, 0x00, 0x52, 0x09, 0x6b, 3319 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76, 0x65, 0x1a, 0x8a, 0x01, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 3320 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x06, 0x64, 0x65, 0x76, 0x69, 3321 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x0a, 0x08, 3322 0x0a, 0x06, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 3323 0x12, 0x41, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 3324 0x0e, 0x32, 0x27, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 3325 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x42, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x53, 3326 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 3327 0x69, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x72, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 3328 0x52, 0x03, 0x61, 0x72, 0x67, 0x1a, 0x0b, 0x0a, 0x09, 0x4b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 3329 0x76, 0x65, 0x42, 0x05, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x22, 0xf0, 0x01, 0x0a, 0x17, 0x43, 0x6f, 3330 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x6f, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 3331 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x0d, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x72, 0x65, 3332 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x6e, 3333 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 3334 0x68, 0x61, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x54, 0x6f, 0x44, 0x65, 0x76, 3335 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 3336 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x6f, 0x70, 0x65, 0x6e, 3337 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 3338 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x16, 3339 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 3340 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2d, 0x0a, 0x03, 0x61, 0x63, 0x6b, 0x18, 0x05, 0x20, 3341 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 3342 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x41, 0x63, 0x6b, 0x48, 0x00, 3343 0x52, 0x03, 0x61, 0x63, 0x6b, 0x1a, 0x0e, 0x0a, 0x0c, 0x4f, 0x70, 0x65, 0x6e, 0x52, 0x65, 0x73, 3344 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x05, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x23, 0x0a, 0x03, 3345 0x41, 0x63, 0x6b, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x64, 3346 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 3347 0x64, 0x22, 0xf9, 0x03, 0x0a, 0x0a, 0x53, 0x53, 0x48, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 3348 0x1a, 0xb0, 0x01, 0x0a, 0x05, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 3349 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x18, 3350 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 3351 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x41, 0x0a, 0x03, 0x65, 0x6e, 0x76, 0x18, 3352 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 3353 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x53, 0x53, 0x48, 3354 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x2e, 0x45, 0x6e, 3355 0x76, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03, 0x65, 0x6e, 0x76, 0x1a, 0x36, 0x0a, 0x08, 0x45, 3356 0x6e, 0x76, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 3357 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 3358 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 3359 0x02, 0x38, 0x01, 0x1a, 0x3c, 0x0a, 0x0c, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x6c, 0x53, 3360 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 3361 0x28, 0x0d, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 3362 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 3363 0x74, 0x1a, 0xd0, 0x01, 0x0a, 0x09, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4f, 0x75, 0x74, 0x12, 3364 0x14, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 3365 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x45, 0x0a, 0x09, 0x73, 0x73, 0x68, 0x5f, 0x68, 0x65, 0x6c, 3366 0x6c, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 3367 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 3368 0x53, 0x53, 0x48, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 3369 0x48, 0x00, 0x52, 0x08, 0x73, 0x73, 0x68, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x12, 0x5f, 0x0a, 0x13, 3370 0x73, 0x73, 0x68, 0x5f, 0x72, 0x65, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x69, 3371 0x6e, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 3372 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 3373 0x2e, 0x53, 0x53, 0x48, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x54, 0x65, 0x72, 0x6d, 3374 0x69, 0x6e, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x48, 0x00, 0x52, 0x11, 0x73, 0x73, 0x68, 0x52, 3375 0x65, 0x73, 0x69, 0x7a, 0x65, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x6c, 0x42, 0x05, 0x0a, 3376 0x03, 0x6d, 0x73, 0x67, 0x1a, 0x27, 0x0a, 0x08, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x6e, 3377 0x12, 0x14, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 3378 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x05, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x22, 0xc4, 0x05, 3379 0x0a, 0x0a, 0x53, 0x43, 0x50, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x03, 3380 0x64, 0x69, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 3381 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 3382 0x2e, 0x53, 0x43, 0x50, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 3383 0x74, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x48, 0x00, 0x52, 0x03, 0x64, 3384 0x69, 0x72, 0x12, 0x41, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 3385 0x32, 0x2b, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 3386 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x53, 0x43, 0x50, 0x53, 0x65, 0x72, 0x76, 0x69, 3387 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x00, 0x52, 3388 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x03, 0x65, 0x6f, 0x74, 0x18, 0x03, 0x20, 0x01, 3389 0x28, 0x08, 0x48, 0x00, 0x52, 0x03, 0x65, 0x6f, 0x74, 0x12, 0x44, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 3390 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 3391 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 3392 0x2e, 0x53, 0x43, 0x50, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 3393 0x69, 0x67, 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 3394 0xb8, 0x01, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x12, 0x1c, 0x0a, 3395 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 3396 0x52, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x12, 0x52, 0x0a, 0x09, 0x64, 3397 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 3398 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x61, 3399 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x53, 0x43, 0x50, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 3400 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x2e, 0x44, 0x69, 0x72, 0x65, 0x63, 3401 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 3402 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 3403 0x61, 0x74, 0x68, 0x22, 0x25, 0x0a, 0x09, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 3404 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x4f, 0x57, 0x4e, 0x4c, 0x4f, 0x41, 0x44, 0x10, 0x00, 0x12, 0x0a, 3405 0x0a, 0x06, 0x55, 0x50, 0x4c, 0x4f, 0x41, 0x44, 0x10, 0x01, 0x1a, 0x39, 0x0a, 0x0f, 0x43, 0x72, 3406 0x65, 0x61, 0x74, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 3407 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 3408 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 3409 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x1a, 0xd5, 0x01, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 3410 0x46, 0x69, 0x6c, 0x65, 0x12, 0x4c, 0x0a, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 3411 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 3412 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x53, 0x43, 0x50, 0x53, 0x65, 0x72, 3413 0x76, 0x69, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x2e, 3414 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x48, 0x00, 0x52, 0x04, 0x69, 0x6e, 3415 0x69, 0x74, 0x12, 0x14, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 3416 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x03, 0x65, 0x6f, 0x66, 0x18, 3417 0x03, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x03, 0x65, 0x6f, 0x66, 0x1a, 0x48, 0x0a, 0x0a, 3418 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 3419 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x12, 3420 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x6d, 0x6f, 3421 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 3422 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x42, 0x05, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x42, 0x05, 0x0a, 3423 0x03, 0x6d, 0x73, 0x67, 0x22, 0x7f, 0x0a, 0x0b, 0x4c, 0x6f, 0x67, 0x73, 0x53, 0x65, 0x72, 0x76, 3424 0x69, 0x63, 0x65, 0x1a, 0x50, 0x0a, 0x08, 0x54, 0x6f, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x12, 3425 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 3426 0x06, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6e, 0x65, 0x73, 3427 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6e, 0x65, 0x73, 0x12, 0x16, 0x0a, 3428 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 3429 0x6f, 0x75, 0x72, 0x63, 0x65, 0x1a, 0x1e, 0x0a, 0x08, 0x54, 0x6f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 3430 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 3431 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xd0, 0x01, 0x0a, 0x14, 0x50, 0x6f, 0x64, 0x4d, 0x61, 0x6e, 3432 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4d, 3433 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 3434 0x33, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 3435 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x50, 0x6f, 0x64, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 3436 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x50, 0x6f, 0x64, 0x53, 3437 0x74, 0x61, 0x74, 0x65, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x10, 0x0a, 3438 0x03, 0x70, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x70, 0x6f, 0x64, 0x12, 3439 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 3440 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x3d, 0x0a, 0x08, 0x50, 0x6f, 0x64, 3441 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 3442 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 3443 0x01, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x54, 0x4f, 0x50, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x52, 3444 0x45, 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0x03, 0x22, 0x4e, 0x0a, 0x12, 0x53, 0x79, 0x73, 0x74, 3445 0x65, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x38, 3446 0x0a, 0x0b, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 3447 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 3448 0x0a, 0x08, 0x53, 0x48, 0x55, 0x54, 0x44, 0x4f, 0x57, 0x4e, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 3449 0x52, 0x45, 0x42, 0x4f, 0x4f, 0x54, 0x10, 0x02, 0x2a, 0xc3, 0x02, 0x0a, 0x11, 0x42, 0x72, 0x6f, 3450 0x6b, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 3451 0x0a, 0x1a, 0x42, 0x52, 0x4f, 0x4b, 0x45, 0x52, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 3452 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1d, 3453 0x0a, 0x19, 0x42, 0x52, 0x4f, 0x4b, 0x45, 0x52, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 3454 0x5f, 0x53, 0x53, 0x48, 0x5f, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x10, 0x01, 0x12, 0x16, 0x0a, 3455 0x12, 0x42, 0x52, 0x4f, 0x4b, 0x45, 0x52, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 3456 0x53, 0x53, 0x48, 0x10, 0x03, 0x12, 0x23, 0x0a, 0x1f, 0x42, 0x52, 0x4f, 0x4b, 0x45, 0x52, 0x5f, 3457 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x43, 0x50, 0x5f, 0x46, 0x4f, 0x52, 0x57, 3458 0x41, 0x52, 0x44, 0x5f, 0x50, 0x4f, 0x52, 0x54, 0x10, 0x02, 0x12, 0x19, 0x0a, 0x15, 0x42, 0x52, 3459 0x4f, 0x4b, 0x45, 0x52, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x52, 0x45, 0x42, 3460 0x4f, 0x4f, 0x54, 0x10, 0x04, 0x12, 0x1b, 0x0a, 0x17, 0x42, 0x52, 0x4f, 0x4b, 0x45, 0x52, 0x5f, 3461 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x53, 0x48, 0x55, 0x54, 0x44, 0x4f, 0x57, 0x4e, 3462 0x10, 0x05, 0x12, 0x16, 0x0a, 0x12, 0x42, 0x52, 0x4f, 0x4b, 0x45, 0x52, 0x5f, 0x53, 0x45, 0x52, 3463 0x56, 0x49, 0x43, 0x45, 0x5f, 0x53, 0x43, 0x50, 0x10, 0x06, 0x12, 0x1d, 0x0a, 0x19, 0x42, 0x52, 3464 0x4f, 0x4b, 0x45, 0x52, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x53, 0x43, 0x50, 3465 0x5f, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x10, 0x07, 0x12, 0x13, 0x0a, 0x0f, 0x42, 0x52, 0x4f, 3466 0x4b, 0x45, 0x52, 0x5f, 0x53, 0x59, 0x53, 0x5f, 0x4c, 0x4f, 0x47, 0x53, 0x10, 0x08, 0x12, 0x13, 3467 0x0a, 0x0f, 0x42, 0x52, 0x4f, 0x4b, 0x45, 0x52, 0x5f, 0x41, 0x50, 0x50, 0x5f, 0x4c, 0x4f, 0x47, 3468 0x53, 0x10, 0x09, 0x12, 0x19, 0x0a, 0x15, 0x42, 0x52, 0x4f, 0x4b, 0x45, 0x52, 0x5f, 0x50, 0x4f, 3469 0x44, 0x5f, 0x4d, 0x41, 0x4e, 0x41, 0x47, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x0a, 0x42, 0x7b, 3470 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 3471 0x73, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x42, 0x11, 0x42, 3472 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 3473 0x50, 0x00, 0x5a, 0x47, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 3474 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x64, 3475 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 3476 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x62, 0x72, 0x6f, 0x6b, 0x65, 0x72, 0x3b, 0x62, 0x72, 3477 0x6f, 0x6b, 0x65, 0x72, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 3478 0x74, 0x6f, 0x33, 3479 } 3480 3481 var ( 3482 edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescOnce sync.Once 3483 edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescData = edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDesc 3484 ) 3485 3486 func edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescGZIP() []byte { 3487 edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescOnce.Do(func() { 3488 edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescData) 3489 }) 3490 return edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDescData 3491 } 3492 3493 var edgelq_devices_proto_v1alpha2_broker_custom_proto_enumTypes = make([]protoimpl.EnumInfo, 4) 3494 var edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes = make([]protoimpl.MessageInfo, 32) 3495 var edgelq_devices_proto_v1alpha2_broker_custom_proto_goTypes = []interface{}{ 3496 (BrokerServiceType)(0), // 0: ntt.devices.v1alpha2.BrokerServiceType 3497 (SCPService_Configure_Direction)(0), // 1: ntt.devices.v1alpha2.SCPService_Configure_Direction 3498 (PodManagementService_PodState)(0), // 2: ntt.devices.v1alpha2.PodManagementService_PodState 3499 (SystemStateService_SystemState)(0), // 3: ntt.devices.v1alpha2.SystemStateService_SystemState 3500 (*ListenForConnectionsRequest)(nil), // 4: ntt.devices.v1alpha2.ListenForConnectionsRequest 3501 (*ListenForConnectionsResponse)(nil), // 5: ntt.devices.v1alpha2.ListenForConnectionsResponse 3502 (*OpenConnectionChannelSocketRequest)(nil), // 6: ntt.devices.v1alpha2.OpenConnectionChannelSocketRequest 3503 (*OpenConnectionChannelSocketResponse)(nil), // 7: ntt.devices.v1alpha2.OpenConnectionChannelSocketResponse 3504 (*ConnectToDeviceRequest)(nil), // 8: ntt.devices.v1alpha2.ConnectToDeviceRequest 3505 (*ConnectToDeviceResponse)(nil), // 9: ntt.devices.v1alpha2.ConnectToDeviceResponse 3506 (*Ack)(nil), // 10: ntt.devices.v1alpha2.Ack 3507 (*SSHService)(nil), // 11: ntt.devices.v1alpha2.SSHService 3508 (*SCPService)(nil), // 12: ntt.devices.v1alpha2.SCPService 3509 (*LogsService)(nil), // 13: ntt.devices.v1alpha2.LogsService 3510 (*PodManagementService)(nil), // 14: ntt.devices.v1alpha2.PodManagementService 3511 (*SystemStateService)(nil), // 15: ntt.devices.v1alpha2.SystemStateService 3512 (*ListenForConnectionsRequest_RegisterListener)(nil), // 16: ntt.devices.v1alpha2.ListenForConnectionsRequest.RegisterListener 3513 (*ListenForConnectionsRequest_ChannelOpenError)(nil), // 17: ntt.devices.v1alpha2.ListenForConnectionsRequest.ChannelOpenError 3514 (*ListenForConnectionsRequest_KeepAlive)(nil), // 18: ntt.devices.v1alpha2.ListenForConnectionsRequest.KeepAlive 3515 (*ListenForConnectionsResponse_ChannelRequested)(nil), // 19: ntt.devices.v1alpha2.ListenForConnectionsResponse.ChannelRequested 3516 (*ListenForConnectionsResponse_KeepAlive)(nil), // 20: ntt.devices.v1alpha2.ListenForConnectionsResponse.KeepAlive 3517 (*OpenConnectionChannelSocketRequest_RegisterSocket)(nil), // 21: ntt.devices.v1alpha2.OpenConnectionChannelSocketRequest.RegisterSocket 3518 (*ConnectToDeviceRequest_OpenRequest)(nil), // 22: ntt.devices.v1alpha2.ConnectToDeviceRequest.OpenRequest 3519 (*ConnectToDeviceRequest_KeepAlive)(nil), // 23: ntt.devices.v1alpha2.ConnectToDeviceRequest.KeepAlive 3520 (*ConnectToDeviceResponse_OpenResponse)(nil), // 24: ntt.devices.v1alpha2.ConnectToDeviceResponse.OpenResponse 3521 (*SSHService_Hello)(nil), // 25: ntt.devices.v1alpha2.SSHService.Hello 3522 (*SSHService_TerminalSize)(nil), // 26: ntt.devices.v1alpha2.SSHService.TerminalSize 3523 (*SSHService_ClientOut)(nil), // 27: ntt.devices.v1alpha2.SSHService.ClientOut 3524 (*SSHService_ClientIn)(nil), // 28: ntt.devices.v1alpha2.SSHService.ClientIn 3525 nil, // 29: ntt.devices.v1alpha2.SSHService.Hello.EnvEntry 3526 (*SCPService_Configure)(nil), // 30: ntt.devices.v1alpha2.SCPService.Configure 3527 (*SCPService_CreateDirectory)(nil), // 31: ntt.devices.v1alpha2.SCPService.CreateDirectory 3528 (*SCPService_CreateFile)(nil), // 32: ntt.devices.v1alpha2.SCPService.CreateFile 3529 (*SCPService_CreateFile_Initialize)(nil), // 33: ntt.devices.v1alpha2.SCPService.CreateFile.Initialize 3530 (*LogsService_ToDevice)(nil), // 34: ntt.devices.v1alpha2.LogsService.ToDevice 3531 (*LogsService_ToClient)(nil), // 35: ntt.devices.v1alpha2.LogsService.ToClient 3532 } 3533 var edgelq_devices_proto_v1alpha2_broker_custom_proto_depIdxs = []int32{ 3534 16, // 0: ntt.devices.v1alpha2.ListenForConnectionsRequest.register_listener:type_name -> ntt.devices.v1alpha2.ListenForConnectionsRequest.RegisterListener 3535 17, // 1: ntt.devices.v1alpha2.ListenForConnectionsRequest.channel_open_error:type_name -> ntt.devices.v1alpha2.ListenForConnectionsRequest.ChannelOpenError 3536 18, // 2: ntt.devices.v1alpha2.ListenForConnectionsRequest.keep_alive:type_name -> ntt.devices.v1alpha2.ListenForConnectionsRequest.KeepAlive 3537 19, // 3: ntt.devices.v1alpha2.ListenForConnectionsResponse.channel_requested:type_name -> ntt.devices.v1alpha2.ListenForConnectionsResponse.ChannelRequested 3538 20, // 4: ntt.devices.v1alpha2.ListenForConnectionsResponse.keep_alive:type_name -> ntt.devices.v1alpha2.ListenForConnectionsResponse.KeepAlive 3539 21, // 5: ntt.devices.v1alpha2.OpenConnectionChannelSocketRequest.register_socket:type_name -> ntt.devices.v1alpha2.OpenConnectionChannelSocketRequest.RegisterSocket 3540 10, // 6: ntt.devices.v1alpha2.OpenConnectionChannelSocketRequest.ack:type_name -> ntt.devices.v1alpha2.Ack 3541 10, // 7: ntt.devices.v1alpha2.OpenConnectionChannelSocketResponse.ack:type_name -> ntt.devices.v1alpha2.Ack 3542 22, // 8: ntt.devices.v1alpha2.ConnectToDeviceRequest.open_request:type_name -> ntt.devices.v1alpha2.ConnectToDeviceRequest.OpenRequest 3543 10, // 9: ntt.devices.v1alpha2.ConnectToDeviceRequest.ack:type_name -> ntt.devices.v1alpha2.Ack 3544 23, // 10: ntt.devices.v1alpha2.ConnectToDeviceRequest.keep_alive:type_name -> ntt.devices.v1alpha2.ConnectToDeviceRequest.KeepAlive 3545 24, // 11: ntt.devices.v1alpha2.ConnectToDeviceResponse.open_response:type_name -> ntt.devices.v1alpha2.ConnectToDeviceResponse.OpenResponse 3546 10, // 12: ntt.devices.v1alpha2.ConnectToDeviceResponse.ack:type_name -> ntt.devices.v1alpha2.Ack 3547 31, // 13: ntt.devices.v1alpha2.SCPService.dir:type_name -> ntt.devices.v1alpha2.SCPService.CreateDirectory 3548 32, // 14: ntt.devices.v1alpha2.SCPService.file:type_name -> ntt.devices.v1alpha2.SCPService.CreateFile 3549 30, // 15: ntt.devices.v1alpha2.SCPService.config:type_name -> ntt.devices.v1alpha2.SCPService.Configure 3550 2, // 16: ntt.devices.v1alpha2.PodManagementService.command:type_name -> ntt.devices.v1alpha2.PodManagementService_PodState 3551 0, // 17: ntt.devices.v1alpha2.ListenForConnectionsResponse.ChannelRequested.service:type_name -> ntt.devices.v1alpha2.BrokerServiceType 3552 0, // 18: ntt.devices.v1alpha2.ConnectToDeviceRequest.OpenRequest.service:type_name -> ntt.devices.v1alpha2.BrokerServiceType 3553 29, // 19: ntt.devices.v1alpha2.SSHService.Hello.env:type_name -> ntt.devices.v1alpha2.SSHService.Hello.EnvEntry 3554 25, // 20: ntt.devices.v1alpha2.SSHService.ClientOut.ssh_hello:type_name -> ntt.devices.v1alpha2.SSHService.Hello 3555 26, // 21: ntt.devices.v1alpha2.SSHService.ClientOut.ssh_resize_terminal:type_name -> ntt.devices.v1alpha2.SSHService.TerminalSize 3556 1, // 22: ntt.devices.v1alpha2.SCPService.Configure.direction:type_name -> ntt.devices.v1alpha2.SCPService_Configure_Direction 3557 33, // 23: ntt.devices.v1alpha2.SCPService.CreateFile.init:type_name -> ntt.devices.v1alpha2.SCPService.CreateFile.Initialize 3558 24, // [24:24] is the sub-list for method output_type 3559 24, // [24:24] is the sub-list for method input_type 3560 24, // [24:24] is the sub-list for extension type_name 3561 24, // [24:24] is the sub-list for extension extendee 3562 0, // [0:24] is the sub-list for field type_name 3563 } 3564 3565 func init() { edgelq_devices_proto_v1alpha2_broker_custom_proto_init() } 3566 func edgelq_devices_proto_v1alpha2_broker_custom_proto_init() { 3567 if edgelq_devices_proto_v1alpha2_broker_custom_proto != nil { 3568 return 3569 } 3570 if !protoimpl.UnsafeEnabled { 3571 3572 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 3573 switch v := v.(*ListenForConnectionsRequest); i { 3574 case 0: 3575 return &v.state 3576 case 1: 3577 return &v.sizeCache 3578 case 2: 3579 return &v.unknownFields 3580 default: 3581 return nil 3582 } 3583 } 3584 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 3585 switch v := v.(*ListenForConnectionsResponse); i { 3586 case 0: 3587 return &v.state 3588 case 1: 3589 return &v.sizeCache 3590 case 2: 3591 return &v.unknownFields 3592 default: 3593 return nil 3594 } 3595 } 3596 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 3597 switch v := v.(*OpenConnectionChannelSocketRequest); i { 3598 case 0: 3599 return &v.state 3600 case 1: 3601 return &v.sizeCache 3602 case 2: 3603 return &v.unknownFields 3604 default: 3605 return nil 3606 } 3607 } 3608 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 3609 switch v := v.(*OpenConnectionChannelSocketResponse); i { 3610 case 0: 3611 return &v.state 3612 case 1: 3613 return &v.sizeCache 3614 case 2: 3615 return &v.unknownFields 3616 default: 3617 return nil 3618 } 3619 } 3620 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 3621 switch v := v.(*ConnectToDeviceRequest); i { 3622 case 0: 3623 return &v.state 3624 case 1: 3625 return &v.sizeCache 3626 case 2: 3627 return &v.unknownFields 3628 default: 3629 return nil 3630 } 3631 } 3632 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 3633 switch v := v.(*ConnectToDeviceResponse); i { 3634 case 0: 3635 return &v.state 3636 case 1: 3637 return &v.sizeCache 3638 case 2: 3639 return &v.unknownFields 3640 default: 3641 return nil 3642 } 3643 } 3644 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 3645 switch v := v.(*Ack); i { 3646 case 0: 3647 return &v.state 3648 case 1: 3649 return &v.sizeCache 3650 case 2: 3651 return &v.unknownFields 3652 default: 3653 return nil 3654 } 3655 } 3656 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 3657 switch v := v.(*SSHService); i { 3658 case 0: 3659 return &v.state 3660 case 1: 3661 return &v.sizeCache 3662 case 2: 3663 return &v.unknownFields 3664 default: 3665 return nil 3666 } 3667 } 3668 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 3669 switch v := v.(*SCPService); i { 3670 case 0: 3671 return &v.state 3672 case 1: 3673 return &v.sizeCache 3674 case 2: 3675 return &v.unknownFields 3676 default: 3677 return nil 3678 } 3679 } 3680 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 3681 switch v := v.(*LogsService); i { 3682 case 0: 3683 return &v.state 3684 case 1: 3685 return &v.sizeCache 3686 case 2: 3687 return &v.unknownFields 3688 default: 3689 return nil 3690 } 3691 } 3692 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 3693 switch v := v.(*PodManagementService); i { 3694 case 0: 3695 return &v.state 3696 case 1: 3697 return &v.sizeCache 3698 case 2: 3699 return &v.unknownFields 3700 default: 3701 return nil 3702 } 3703 } 3704 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 3705 switch v := v.(*SystemStateService); i { 3706 case 0: 3707 return &v.state 3708 case 1: 3709 return &v.sizeCache 3710 case 2: 3711 return &v.unknownFields 3712 default: 3713 return nil 3714 } 3715 } 3716 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 3717 switch v := v.(*ListenForConnectionsRequest_RegisterListener); i { 3718 case 0: 3719 return &v.state 3720 case 1: 3721 return &v.sizeCache 3722 case 2: 3723 return &v.unknownFields 3724 default: 3725 return nil 3726 } 3727 } 3728 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 3729 switch v := v.(*ListenForConnectionsRequest_ChannelOpenError); i { 3730 case 0: 3731 return &v.state 3732 case 1: 3733 return &v.sizeCache 3734 case 2: 3735 return &v.unknownFields 3736 default: 3737 return nil 3738 } 3739 } 3740 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 3741 switch v := v.(*ListenForConnectionsRequest_KeepAlive); i { 3742 case 0: 3743 return &v.state 3744 case 1: 3745 return &v.sizeCache 3746 case 2: 3747 return &v.unknownFields 3748 default: 3749 return nil 3750 } 3751 } 3752 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 3753 switch v := v.(*ListenForConnectionsResponse_ChannelRequested); i { 3754 case 0: 3755 return &v.state 3756 case 1: 3757 return &v.sizeCache 3758 case 2: 3759 return &v.unknownFields 3760 default: 3761 return nil 3762 } 3763 } 3764 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { 3765 switch v := v.(*ListenForConnectionsResponse_KeepAlive); i { 3766 case 0: 3767 return &v.state 3768 case 1: 3769 return &v.sizeCache 3770 case 2: 3771 return &v.unknownFields 3772 default: 3773 return nil 3774 } 3775 } 3776 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { 3777 switch v := v.(*OpenConnectionChannelSocketRequest_RegisterSocket); i { 3778 case 0: 3779 return &v.state 3780 case 1: 3781 return &v.sizeCache 3782 case 2: 3783 return &v.unknownFields 3784 default: 3785 return nil 3786 } 3787 } 3788 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { 3789 switch v := v.(*ConnectToDeviceRequest_OpenRequest); i { 3790 case 0: 3791 return &v.state 3792 case 1: 3793 return &v.sizeCache 3794 case 2: 3795 return &v.unknownFields 3796 default: 3797 return nil 3798 } 3799 } 3800 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { 3801 switch v := v.(*ConnectToDeviceRequest_KeepAlive); i { 3802 case 0: 3803 return &v.state 3804 case 1: 3805 return &v.sizeCache 3806 case 2: 3807 return &v.unknownFields 3808 default: 3809 return nil 3810 } 3811 } 3812 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { 3813 switch v := v.(*ConnectToDeviceResponse_OpenResponse); i { 3814 case 0: 3815 return &v.state 3816 case 1: 3817 return &v.sizeCache 3818 case 2: 3819 return &v.unknownFields 3820 default: 3821 return nil 3822 } 3823 } 3824 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { 3825 switch v := v.(*SSHService_Hello); i { 3826 case 0: 3827 return &v.state 3828 case 1: 3829 return &v.sizeCache 3830 case 2: 3831 return &v.unknownFields 3832 default: 3833 return nil 3834 } 3835 } 3836 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { 3837 switch v := v.(*SSHService_TerminalSize); i { 3838 case 0: 3839 return &v.state 3840 case 1: 3841 return &v.sizeCache 3842 case 2: 3843 return &v.unknownFields 3844 default: 3845 return nil 3846 } 3847 } 3848 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { 3849 switch v := v.(*SSHService_ClientOut); i { 3850 case 0: 3851 return &v.state 3852 case 1: 3853 return &v.sizeCache 3854 case 2: 3855 return &v.unknownFields 3856 default: 3857 return nil 3858 } 3859 } 3860 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { 3861 switch v := v.(*SSHService_ClientIn); i { 3862 case 0: 3863 return &v.state 3864 case 1: 3865 return &v.sizeCache 3866 case 2: 3867 return &v.unknownFields 3868 default: 3869 return nil 3870 } 3871 } 3872 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { 3873 switch v := v.(*SCPService_Configure); i { 3874 case 0: 3875 return &v.state 3876 case 1: 3877 return &v.sizeCache 3878 case 2: 3879 return &v.unknownFields 3880 default: 3881 return nil 3882 } 3883 } 3884 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { 3885 switch v := v.(*SCPService_CreateDirectory); i { 3886 case 0: 3887 return &v.state 3888 case 1: 3889 return &v.sizeCache 3890 case 2: 3891 return &v.unknownFields 3892 default: 3893 return nil 3894 } 3895 } 3896 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { 3897 switch v := v.(*SCPService_CreateFile); i { 3898 case 0: 3899 return &v.state 3900 case 1: 3901 return &v.sizeCache 3902 case 2: 3903 return &v.unknownFields 3904 default: 3905 return nil 3906 } 3907 } 3908 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { 3909 switch v := v.(*SCPService_CreateFile_Initialize); i { 3910 case 0: 3911 return &v.state 3912 case 1: 3913 return &v.sizeCache 3914 case 2: 3915 return &v.unknownFields 3916 default: 3917 return nil 3918 } 3919 } 3920 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { 3921 switch v := v.(*LogsService_ToDevice); i { 3922 case 0: 3923 return &v.state 3924 case 1: 3925 return &v.sizeCache 3926 case 2: 3927 return &v.unknownFields 3928 default: 3929 return nil 3930 } 3931 } 3932 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { 3933 switch v := v.(*LogsService_ToClient); i { 3934 case 0: 3935 return &v.state 3936 case 1: 3937 return &v.sizeCache 3938 case 2: 3939 return &v.unknownFields 3940 default: 3941 return nil 3942 } 3943 } 3944 } 3945 3946 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[0].OneofWrappers = []interface{}{ 3947 (*ListenForConnectionsRequest_RegisterListener_)(nil), 3948 (*ListenForConnectionsRequest_ChannelOpenError_)(nil), 3949 (*ListenForConnectionsRequest_KeepAlive_)(nil), 3950 } 3951 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[1].OneofWrappers = []interface{}{ 3952 (*ListenForConnectionsResponse_ChannelRequested_)(nil), 3953 (*ListenForConnectionsResponse_KeepAlive_)(nil), 3954 } 3955 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[2].OneofWrappers = []interface{}{ 3956 (*OpenConnectionChannelSocketRequest_RegisterSocket_)(nil), 3957 (*OpenConnectionChannelSocketRequest_Data)(nil), 3958 (*OpenConnectionChannelSocketRequest_Error)(nil), 3959 (*OpenConnectionChannelSocketRequest_Ack)(nil), 3960 } 3961 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[3].OneofWrappers = []interface{}{ 3962 (*OpenConnectionChannelSocketResponse_Data)(nil), 3963 (*OpenConnectionChannelSocketResponse_Ack)(nil), 3964 } 3965 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[4].OneofWrappers = []interface{}{ 3966 (*ConnectToDeviceRequest_OpenRequest_)(nil), 3967 (*ConnectToDeviceRequest_Data)(nil), 3968 (*ConnectToDeviceRequest_Ack)(nil), 3969 (*ConnectToDeviceRequest_KeepAlive_)(nil), 3970 } 3971 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[5].OneofWrappers = []interface{}{ 3972 (*ConnectToDeviceResponse_OpenResponse_)(nil), 3973 (*ConnectToDeviceResponse_Data)(nil), 3974 (*ConnectToDeviceResponse_Error)(nil), 3975 (*ConnectToDeviceResponse_Ack)(nil), 3976 } 3977 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[8].OneofWrappers = []interface{}{ 3978 (*SCPService_Dir)(nil), 3979 (*SCPService_File)(nil), 3980 (*SCPService_Eot)(nil), 3981 (*SCPService_Config)(nil), 3982 } 3983 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[23].OneofWrappers = []interface{}{ 3984 (*SSHService_ClientOut_Data)(nil), 3985 (*SSHService_ClientOut_SshHello)(nil), 3986 (*SSHService_ClientOut_SshResizeTerminal)(nil), 3987 } 3988 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[24].OneofWrappers = []interface{}{ 3989 (*SSHService_ClientIn_Data)(nil), 3990 } 3991 edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes[28].OneofWrappers = []interface{}{ 3992 (*SCPService_CreateFile_Init)(nil), 3993 (*SCPService_CreateFile_Data)(nil), 3994 (*SCPService_CreateFile_Eof)(nil), 3995 } 3996 type x struct{} 3997 out := protoimpl.TypeBuilder{ 3998 File: protoimpl.DescBuilder{ 3999 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 4000 RawDescriptor: edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDesc, 4001 NumEnums: 4, 4002 NumMessages: 32, 4003 NumExtensions: 0, 4004 NumServices: 0, 4005 }, 4006 GoTypes: edgelq_devices_proto_v1alpha2_broker_custom_proto_goTypes, 4007 DependencyIndexes: edgelq_devices_proto_v1alpha2_broker_custom_proto_depIdxs, 4008 EnumInfos: edgelq_devices_proto_v1alpha2_broker_custom_proto_enumTypes, 4009 MessageInfos: edgelq_devices_proto_v1alpha2_broker_custom_proto_msgTypes, 4010 }.Build() 4011 edgelq_devices_proto_v1alpha2_broker_custom_proto = out.File 4012 edgelq_devices_proto_v1alpha2_broker_custom_proto_rawDesc = nil 4013 edgelq_devices_proto_v1alpha2_broker_custom_proto_goTypes = nil 4014 edgelq_devices_proto_v1alpha2_broker_custom_proto_depIdxs = nil 4015 }