@blueyerobotics/protocol-definitions 3.2.0-8a0f8e61 → 3.2.0-946df8e4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v2.7.5
4
+ // protoc-gen-ts_proto v2.7.7
5
5
  // protoc v3.21.12
6
6
  // source: message_formats.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.WaterDensity = exports.TimeLapseState = exports.RecordState = exports.ConnectedClient = exports.ClientInfo = exports.GripperVelocities = exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = exports.AutoPilotHeaveState = exports.AutoPilotSurgeYawState = exports.WeatherVaningState = exports.StationKeepingState = exports.AutoAltitudeState = exports.AutoDepthState = exports.AutoHeadingState = exports.ConnectionDuration = exports.LatLongPosition = exports.Laser = exports.Lights = exports.MotionInput = exports.BinlogRecord = exports.MultibeamConfig_MaximumNumberOfBeams = exports.MultibeamConfig_PingRate = exports.CalibrationState_Status = exports.BatteryBQ40Z50_BatteryStatus_BatteryError = exports.PingerConfiguration_MountingDirection = exports.MultibeamFrequencyMode = exports.GuestPortError = exports.GuestPortDetachStatus = exports.NavigationSensorID = exports.GuestPortNumber = exports.GuestPortDeviceID = exports.FontSize = exports.ThicknessUnit = exports.DepthUnit = exports.LogoType = exports.TemperatureUnit = exports.Camera = exports.Framerate = exports.Resolution = exports.PressureSensorType = exports.Model = exports.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
9
- exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = exports.GuestPortInfo = exports.GuestPortConnectorInfo = exports.GuestPortDeviceList = exports.GuestPortDevice = exports.NavigationSensorStatus = exports.OverlayParameters = exports.CameraParameters = exports.ErrorFlags = exports.DroneInfo = exports.TiltVelocity = exports.TiltAngle = exports.NStreamers = exports.IperfStatus = exports.CalibrationState = exports.StorageSpace = exports.RecordOn = exports.DiveTime = exports.ControllerHealth = exports.ControlForce = exports.Notification = exports.Reference = exports.Depth = exports.DvlVelocity = exports.DvlTransducer = exports.ResetPositionSettings = exports.PositionEstimate = exports.ForwardDistance = exports.Altitude = exports.MagneticDeclination = exports.Attitude = exports.BatteryBQ40Z50_BatteryChargingEvents = exports.BatteryBQ40Z50_BatterySafetyEvents = exports.BatteryBQ40Z50_BatteryLifetimes_CellVoltages = exports.BatteryBQ40Z50_BatteryLifetimes = exports.BatteryBQ40Z50_BatteryStatus = exports.BatteryBQ40Z50_Temperature = exports.BatteryBQ40Z50_Voltage = exports.BatteryBQ40Z50 = exports.Battery = exports.CanisterHumidity = exports.CanisterTemperature = exports.CPUTemperature = exports.WaterTemperature = exports.PingerConfiguration = void 0;
10
- exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = void 0;
8
+ exports.AutoPilotHeaveState = exports.AutoPilotSurgeYawState = exports.WeatherVaningState = exports.StationKeepingState = exports.AutoAltitudeState = exports.AutoDepthState = exports.AutoHeadingState = exports.ConnectionDuration = exports.LatLongPosition = exports.Laser = exports.Lights = exports.MotionInput = exports.KernelLogEntry_KeyValuePair = exports.KernelLogEntry = exports.LogEntry = exports.BinlogRecord = exports.SurfaceUnitBatteryInfo_ChargeStatus = exports.MultibeamConfig_MaximumNumberOfBeams = exports.MultibeamConfig_PingRate = exports.CalibrationState_Status = exports.RemovableStorageDevice_Status = exports.BatteryBQ40Z50_BatteryStatus_BatteryError = exports.PingerConfiguration_MountingDirection = exports.KernelLogEntry_KernelLogLevel = exports.LogEntry_LogLevel = exports.MultibeamFrequencyMode = exports.GuestPortError = exports.GuestPortDetachStatus = exports.NavigationSensorID = exports.GuestPortNumber = exports.GuestPortDeviceID = exports.FontSize = exports.ThicknessUnit = exports.DepthUnit = exports.LogoType = exports.TemperatureUnit = exports.StreamingProtocol = exports.Camera = exports.Framerate = exports.Resolution = exports.PressureSensorType = exports.Model = exports.StorageLocation = exports.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
9
+ exports.CameraParameters = exports.ErrorFlags = exports.DroneInfo = exports.TiltVelocity = exports.TiltAngle = exports.NStreamers = exports.IperfStatus = exports.CalibrationState = exports.RemovableStorageErrorFlags = exports.RemovableStorageDevice = exports.StoragePartition = exports.StorageSpace = exports.RecordOn = exports.DiveTime = exports.ControllerHealth = exports.ControlForce = exports.Notification = exports.Reference = exports.Depth = exports.DvlVelocity = exports.DvlTransducer = exports.ResetPositionSettings = exports.PositionEstimate = exports.ForwardDistance = exports.Altitude = exports.MagneticDeclination = exports.Attitude = exports.BatteryBQ40Z50_BatteryChargingEvents = exports.BatteryBQ40Z50_BatterySafetyEvents = exports.BatteryBQ40Z50_BatteryLifetimes_CellVoltages = exports.BatteryBQ40Z50_BatteryLifetimes = exports.BatteryBQ40Z50_BatteryStatus = exports.BatteryBQ40Z50_Temperature = exports.BatteryBQ40Z50_Voltage = exports.BatteryBQ40Z50 = exports.Battery = exports.CanisterHumidity = exports.CanisterTemperature = exports.CPUTemperature = exports.WaterTemperature = exports.PingerConfiguration = exports.WaterDensity = exports.TimeLapseState = exports.RecordState = exports.ConnectedClient = exports.ClientInfo = exports.GripperVelocities = exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = void 0;
10
+ exports.SurfaceUnitVersionInfo = exports.SurfaceUnitBatteryInfo = exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = exports.GuestPortInfo = exports.GuestPortConnectorInfo = exports.GuestPortDeviceList = exports.GuestPortDevice = exports.NavigationSensorStatus = exports.OverlayParameters = void 0;
11
11
  exports.intervalTypeFromJSON = intervalTypeFromJSON;
12
12
  exports.intervalTypeToJSON = intervalTypeToJSON;
13
13
  exports.locationSourceFromJSON = locationSourceFromJSON;
@@ -22,6 +22,8 @@ exports.notificationTypeFromJSON = notificationTypeFromJSON;
22
22
  exports.notificationTypeToJSON = notificationTypeToJSON;
23
23
  exports.notificationLevelFromJSON = notificationLevelFromJSON;
24
24
  exports.notificationLevelToJSON = notificationLevelToJSON;
25
+ exports.storageLocationFromJSON = storageLocationFromJSON;
26
+ exports.storageLocationToJSON = storageLocationToJSON;
25
27
  exports.modelFromJSON = modelFromJSON;
26
28
  exports.modelToJSON = modelToJSON;
27
29
  exports.pressureSensorTypeFromJSON = pressureSensorTypeFromJSON;
@@ -32,6 +34,8 @@ exports.framerateFromJSON = framerateFromJSON;
32
34
  exports.framerateToJSON = framerateToJSON;
33
35
  exports.cameraFromJSON = cameraFromJSON;
34
36
  exports.cameraToJSON = cameraToJSON;
37
+ exports.streamingProtocolFromJSON = streamingProtocolFromJSON;
38
+ exports.streamingProtocolToJSON = streamingProtocolToJSON;
35
39
  exports.temperatureUnitFromJSON = temperatureUnitFromJSON;
36
40
  exports.temperatureUnitToJSON = temperatureUnitToJSON;
37
41
  exports.logoTypeFromJSON = logoTypeFromJSON;
@@ -54,16 +58,24 @@ exports.guestPortErrorFromJSON = guestPortErrorFromJSON;
54
58
  exports.guestPortErrorToJSON = guestPortErrorToJSON;
55
59
  exports.multibeamFrequencyModeFromJSON = multibeamFrequencyModeFromJSON;
56
60
  exports.multibeamFrequencyModeToJSON = multibeamFrequencyModeToJSON;
61
+ exports.logEntry_LogLevelFromJSON = logEntry_LogLevelFromJSON;
62
+ exports.logEntry_LogLevelToJSON = logEntry_LogLevelToJSON;
63
+ exports.kernelLogEntry_KernelLogLevelFromJSON = kernelLogEntry_KernelLogLevelFromJSON;
64
+ exports.kernelLogEntry_KernelLogLevelToJSON = kernelLogEntry_KernelLogLevelToJSON;
57
65
  exports.pingerConfiguration_MountingDirectionFromJSON = pingerConfiguration_MountingDirectionFromJSON;
58
66
  exports.pingerConfiguration_MountingDirectionToJSON = pingerConfiguration_MountingDirectionToJSON;
59
67
  exports.batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON;
60
68
  exports.batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON;
69
+ exports.removableStorageDevice_StatusFromJSON = removableStorageDevice_StatusFromJSON;
70
+ exports.removableStorageDevice_StatusToJSON = removableStorageDevice_StatusToJSON;
61
71
  exports.calibrationState_StatusFromJSON = calibrationState_StatusFromJSON;
62
72
  exports.calibrationState_StatusToJSON = calibrationState_StatusToJSON;
63
73
  exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
64
74
  exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
65
75
  exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
66
76
  exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
77
+ exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
78
+ exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
67
79
  /* eslint-disable */
68
80
  const wire_1 = require("@bufbuild/protobuf/wire");
69
81
  const any_1 = require("./google/protobuf/any");
@@ -585,6 +597,51 @@ function notificationLevelToJSON(object) {
585
597
  return "UNRECOGNIZED";
586
598
  }
587
599
  }
600
+ /**
601
+ * Storage location.
602
+ *
603
+ * Used to specify which storage location to use for recording photos and videos.
604
+ */
605
+ var StorageLocation;
606
+ (function (StorageLocation) {
607
+ /** STORAGE_LOCATION_UNSPECIFIED - Unspecified. */
608
+ StorageLocation[StorageLocation["STORAGE_LOCATION_UNSPECIFIED"] = 0] = "STORAGE_LOCATION_UNSPECIFIED";
609
+ /** STORAGE_LOCATION_INTERNAL - Internal storage of the drone. */
610
+ StorageLocation[StorageLocation["STORAGE_LOCATION_INTERNAL"] = 1] = "STORAGE_LOCATION_INTERNAL";
611
+ /** STORAGE_LOCATION_REMOVABLE - Removable storage device. */
612
+ StorageLocation[StorageLocation["STORAGE_LOCATION_REMOVABLE"] = 2] = "STORAGE_LOCATION_REMOVABLE";
613
+ StorageLocation[StorageLocation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
614
+ })(StorageLocation || (exports.StorageLocation = StorageLocation = {}));
615
+ function storageLocationFromJSON(object) {
616
+ switch (object) {
617
+ case 0:
618
+ case "STORAGE_LOCATION_UNSPECIFIED":
619
+ return StorageLocation.STORAGE_LOCATION_UNSPECIFIED;
620
+ case 1:
621
+ case "STORAGE_LOCATION_INTERNAL":
622
+ return StorageLocation.STORAGE_LOCATION_INTERNAL;
623
+ case 2:
624
+ case "STORAGE_LOCATION_REMOVABLE":
625
+ return StorageLocation.STORAGE_LOCATION_REMOVABLE;
626
+ case -1:
627
+ case "UNRECOGNIZED":
628
+ default:
629
+ return StorageLocation.UNRECOGNIZED;
630
+ }
631
+ }
632
+ function storageLocationToJSON(object) {
633
+ switch (object) {
634
+ case StorageLocation.STORAGE_LOCATION_UNSPECIFIED:
635
+ return "STORAGE_LOCATION_UNSPECIFIED";
636
+ case StorageLocation.STORAGE_LOCATION_INTERNAL:
637
+ return "STORAGE_LOCATION_INTERNAL";
638
+ case StorageLocation.STORAGE_LOCATION_REMOVABLE:
639
+ return "STORAGE_LOCATION_REMOVABLE";
640
+ case StorageLocation.UNRECOGNIZED:
641
+ default:
642
+ return "UNRECOGNIZED";
643
+ }
644
+ }
588
645
  /** Drone models produced by Blueye. */
589
646
  var Model;
590
647
  (function (Model) {
@@ -714,11 +771,13 @@ var Resolution;
714
771
  (function (Resolution) {
715
772
  /** RESOLUTION_UNSPECIFIED - Resolution not specified. */
716
773
  Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
717
- /** RESOLUTION_FULLHD_1080P - 1080p Full HD resolution. */
718
- Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
719
- /** RESOLUTION_HD_720P - 720p HD resolution. */
774
+ /** RESOLUTION_VGA_480P - VGA (640x480). */
775
+ Resolution[Resolution["RESOLUTION_VGA_480P"] = 4] = "RESOLUTION_VGA_480P";
776
+ /** RESOLUTION_HD_720P - 720p HD (1280x720). */
720
777
  Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
721
- /** RESOLUTION_UHD_4K - 4K Ultra HD resolution. */
778
+ /** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
779
+ Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
780
+ /** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
722
781
  Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
723
782
  Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
724
783
  })(Resolution || (exports.Resolution = Resolution = {}));
@@ -727,12 +786,15 @@ function resolutionFromJSON(object) {
727
786
  case 0:
728
787
  case "RESOLUTION_UNSPECIFIED":
729
788
  return Resolution.RESOLUTION_UNSPECIFIED;
730
- case 1:
731
- case "RESOLUTION_FULLHD_1080P":
732
- return Resolution.RESOLUTION_FULLHD_1080P;
789
+ case 4:
790
+ case "RESOLUTION_VGA_480P":
791
+ return Resolution.RESOLUTION_VGA_480P;
733
792
  case 2:
734
793
  case "RESOLUTION_HD_720P":
735
794
  return Resolution.RESOLUTION_HD_720P;
795
+ case 1:
796
+ case "RESOLUTION_FULLHD_1080P":
797
+ return Resolution.RESOLUTION_FULLHD_1080P;
736
798
  case 3:
737
799
  case "RESOLUTION_UHD_4K":
738
800
  return Resolution.RESOLUTION_UHD_4K;
@@ -746,10 +808,12 @@ function resolutionToJSON(object) {
746
808
  switch (object) {
747
809
  case Resolution.RESOLUTION_UNSPECIFIED:
748
810
  return "RESOLUTION_UNSPECIFIED";
749
- case Resolution.RESOLUTION_FULLHD_1080P:
750
- return "RESOLUTION_FULLHD_1080P";
811
+ case Resolution.RESOLUTION_VGA_480P:
812
+ return "RESOLUTION_VGA_480P";
751
813
  case Resolution.RESOLUTION_HD_720P:
752
814
  return "RESOLUTION_HD_720P";
815
+ case Resolution.RESOLUTION_FULLHD_1080P:
816
+ return "RESOLUTION_FULLHD_1080P";
753
817
  case Resolution.RESOLUTION_UHD_4K:
754
818
  return "RESOLUTION_UHD_4K";
755
819
  case Resolution.UNRECOGNIZED:
@@ -764,7 +828,7 @@ var Framerate;
764
828
  Framerate[Framerate["FRAMERATE_UNSPECIFIED"] = 0] = "FRAMERATE_UNSPECIFIED";
765
829
  /** FRAMERATE_FPS_30 - 30 frames per second. */
766
830
  Framerate[Framerate["FRAMERATE_FPS_30"] = 1] = "FRAMERATE_FPS_30";
767
- /** FRAMERATE_FPS_25 - 25 frames per second. */
831
+ /** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
768
832
  Framerate[Framerate["FRAMERATE_FPS_25"] = 2] = "FRAMERATE_FPS_25";
769
833
  Framerate[Framerate["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
770
834
  })(Framerate || (exports.Framerate = Framerate = {}));
@@ -839,6 +903,46 @@ function cameraToJSON(object) {
839
903
  return "UNRECOGNIZED";
840
904
  }
841
905
  }
906
+ var StreamingProtocol;
907
+ (function (StreamingProtocol) {
908
+ /** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
909
+ StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_UNSPECIFIED"] = 0] = "STREAMING_PROTOCOL_UNSPECIFIED";
910
+ /** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
911
+ StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_H264"] = 1] = "STREAMING_PROTOCOL_RTSP_H264";
912
+ /** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. No recording when activated. */
913
+ StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_MJPEG"] = 2] = "STREAMING_PROTOCOL_RTSP_MJPEG";
914
+ StreamingProtocol[StreamingProtocol["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
915
+ })(StreamingProtocol || (exports.StreamingProtocol = StreamingProtocol = {}));
916
+ function streamingProtocolFromJSON(object) {
917
+ switch (object) {
918
+ case 0:
919
+ case "STREAMING_PROTOCOL_UNSPECIFIED":
920
+ return StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED;
921
+ case 1:
922
+ case "STREAMING_PROTOCOL_RTSP_H264":
923
+ return StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264;
924
+ case 2:
925
+ case "STREAMING_PROTOCOL_RTSP_MJPEG":
926
+ return StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG;
927
+ case -1:
928
+ case "UNRECOGNIZED":
929
+ default:
930
+ return StreamingProtocol.UNRECOGNIZED;
931
+ }
932
+ }
933
+ function streamingProtocolToJSON(object) {
934
+ switch (object) {
935
+ case StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED:
936
+ return "STREAMING_PROTOCOL_UNSPECIFIED";
937
+ case StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264:
938
+ return "STREAMING_PROTOCOL_RTSP_H264";
939
+ case StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG:
940
+ return "STREAMING_PROTOCOL_RTSP_MJPEG";
941
+ case StreamingProtocol.UNRECOGNIZED:
942
+ default:
943
+ return "UNRECOGNIZED";
944
+ }
945
+ }
842
946
  /** Available temperature units. */
843
947
  var TemperatureUnit;
844
948
  (function (TemperatureUnit) {
@@ -1172,6 +1276,8 @@ var GuestPortDeviceID;
1172
1276
  GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
1173
1277
  /** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
1174
1278
  GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
1279
+ /** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
1280
+ GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
1175
1281
  GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
1176
1282
  })(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
1177
1283
  function guestPortDeviceIDFromJSON(object) {
@@ -1311,6 +1417,9 @@ function guestPortDeviceIDFromJSON(object) {
1311
1417
  case 44:
1312
1418
  case "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650":
1313
1419
  return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650;
1420
+ case 45:
1421
+ case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
1422
+ return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
1314
1423
  case -1:
1315
1424
  case "UNRECOGNIZED":
1316
1425
  default:
@@ -1409,6 +1518,8 @@ function guestPortDeviceIDToJSON(object) {
1409
1518
  return "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
1410
1519
  case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650:
1411
1520
  return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
1521
+ case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
1522
+ return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
1412
1523
  case GuestPortDeviceID.UNRECOGNIZED:
1413
1524
  default:
1414
1525
  return "UNRECOGNIZED";
@@ -1685,6 +1796,157 @@ function multibeamFrequencyModeToJSON(object) {
1685
1796
  return "UNRECOGNIZED";
1686
1797
  }
1687
1798
  }
1799
+ var LogEntry_LogLevel;
1800
+ (function (LogEntry_LogLevel) {
1801
+ /** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
1802
+ LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_UNSPECIFIED"] = 0] = "LOG_LEVEL_UNSPECIFIED";
1803
+ /** LOG_LEVEL_TRACE - Trace log level. */
1804
+ LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_TRACE"] = 1] = "LOG_LEVEL_TRACE";
1805
+ /** LOG_LEVEL_DEBUG - Debug log level. */
1806
+ LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_DEBUG"] = 2] = "LOG_LEVEL_DEBUG";
1807
+ /** LOG_LEVEL_INFO - Info log level. */
1808
+ LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_INFO"] = 3] = "LOG_LEVEL_INFO";
1809
+ /** LOG_LEVEL_WARNING - Warning log level. */
1810
+ LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_WARNING"] = 4] = "LOG_LEVEL_WARNING";
1811
+ /** LOG_LEVEL_ERROR - Error log level. */
1812
+ LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_ERROR"] = 5] = "LOG_LEVEL_ERROR";
1813
+ /** LOG_LEVEL_CRITICAL - Critical log level. */
1814
+ LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_CRITICAL"] = 6] = "LOG_LEVEL_CRITICAL";
1815
+ LogEntry_LogLevel[LogEntry_LogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
1816
+ })(LogEntry_LogLevel || (exports.LogEntry_LogLevel = LogEntry_LogLevel = {}));
1817
+ function logEntry_LogLevelFromJSON(object) {
1818
+ switch (object) {
1819
+ case 0:
1820
+ case "LOG_LEVEL_UNSPECIFIED":
1821
+ return LogEntry_LogLevel.LOG_LEVEL_UNSPECIFIED;
1822
+ case 1:
1823
+ case "LOG_LEVEL_TRACE":
1824
+ return LogEntry_LogLevel.LOG_LEVEL_TRACE;
1825
+ case 2:
1826
+ case "LOG_LEVEL_DEBUG":
1827
+ return LogEntry_LogLevel.LOG_LEVEL_DEBUG;
1828
+ case 3:
1829
+ case "LOG_LEVEL_INFO":
1830
+ return LogEntry_LogLevel.LOG_LEVEL_INFO;
1831
+ case 4:
1832
+ case "LOG_LEVEL_WARNING":
1833
+ return LogEntry_LogLevel.LOG_LEVEL_WARNING;
1834
+ case 5:
1835
+ case "LOG_LEVEL_ERROR":
1836
+ return LogEntry_LogLevel.LOG_LEVEL_ERROR;
1837
+ case 6:
1838
+ case "LOG_LEVEL_CRITICAL":
1839
+ return LogEntry_LogLevel.LOG_LEVEL_CRITICAL;
1840
+ case -1:
1841
+ case "UNRECOGNIZED":
1842
+ default:
1843
+ return LogEntry_LogLevel.UNRECOGNIZED;
1844
+ }
1845
+ }
1846
+ function logEntry_LogLevelToJSON(object) {
1847
+ switch (object) {
1848
+ case LogEntry_LogLevel.LOG_LEVEL_UNSPECIFIED:
1849
+ return "LOG_LEVEL_UNSPECIFIED";
1850
+ case LogEntry_LogLevel.LOG_LEVEL_TRACE:
1851
+ return "LOG_LEVEL_TRACE";
1852
+ case LogEntry_LogLevel.LOG_LEVEL_DEBUG:
1853
+ return "LOG_LEVEL_DEBUG";
1854
+ case LogEntry_LogLevel.LOG_LEVEL_INFO:
1855
+ return "LOG_LEVEL_INFO";
1856
+ case LogEntry_LogLevel.LOG_LEVEL_WARNING:
1857
+ return "LOG_LEVEL_WARNING";
1858
+ case LogEntry_LogLevel.LOG_LEVEL_ERROR:
1859
+ return "LOG_LEVEL_ERROR";
1860
+ case LogEntry_LogLevel.LOG_LEVEL_CRITICAL:
1861
+ return "LOG_LEVEL_CRITICAL";
1862
+ case LogEntry_LogLevel.UNRECOGNIZED:
1863
+ default:
1864
+ return "UNRECOGNIZED";
1865
+ }
1866
+ }
1867
+ /** Kernel log level. */
1868
+ var KernelLogEntry_KernelLogLevel;
1869
+ (function (KernelLogEntry_KernelLogLevel) {
1870
+ /** KERNEL_LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
1871
+ KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_UNSPECIFIED"] = 0] = "KERNEL_LOG_LEVEL_UNSPECIFIED";
1872
+ /** KERNEL_LOG_LEVEL_EMERG - Emergency log level. */
1873
+ KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_EMERG"] = 1] = "KERNEL_LOG_LEVEL_EMERG";
1874
+ /** KERNEL_LOG_LEVEL_ALERT - Alert log level. */
1875
+ KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ALERT"] = 2] = "KERNEL_LOG_LEVEL_ALERT";
1876
+ /** KERNEL_LOG_LEVEL_CRIT - Critical log level. */
1877
+ KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_CRIT"] = 3] = "KERNEL_LOG_LEVEL_CRIT";
1878
+ /** KERNEL_LOG_LEVEL_ERR - Error log level. */
1879
+ KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ERR"] = 4] = "KERNEL_LOG_LEVEL_ERR";
1880
+ /** KERNEL_LOG_LEVEL_WARNING - Warning log level. */
1881
+ KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_WARNING"] = 5] = "KERNEL_LOG_LEVEL_WARNING";
1882
+ /** KERNEL_LOG_LEVEL_NOTICE - Notice log level. */
1883
+ KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_NOTICE"] = 6] = "KERNEL_LOG_LEVEL_NOTICE";
1884
+ /** KERNEL_LOG_LEVEL_INFO - Informational log level. */
1885
+ KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_INFO"] = 7] = "KERNEL_LOG_LEVEL_INFO";
1886
+ /** KERNEL_LOG_LEVEL_DEBUG - Debug log level. */
1887
+ KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_DEBUG"] = 8] = "KERNEL_LOG_LEVEL_DEBUG";
1888
+ KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
1889
+ })(KernelLogEntry_KernelLogLevel || (exports.KernelLogEntry_KernelLogLevel = KernelLogEntry_KernelLogLevel = {}));
1890
+ function kernelLogEntry_KernelLogLevelFromJSON(object) {
1891
+ switch (object) {
1892
+ case 0:
1893
+ case "KERNEL_LOG_LEVEL_UNSPECIFIED":
1894
+ return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED;
1895
+ case 1:
1896
+ case "KERNEL_LOG_LEVEL_EMERG":
1897
+ return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG;
1898
+ case 2:
1899
+ case "KERNEL_LOG_LEVEL_ALERT":
1900
+ return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT;
1901
+ case 3:
1902
+ case "KERNEL_LOG_LEVEL_CRIT":
1903
+ return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT;
1904
+ case 4:
1905
+ case "KERNEL_LOG_LEVEL_ERR":
1906
+ return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR;
1907
+ case 5:
1908
+ case "KERNEL_LOG_LEVEL_WARNING":
1909
+ return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING;
1910
+ case 6:
1911
+ case "KERNEL_LOG_LEVEL_NOTICE":
1912
+ return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE;
1913
+ case 7:
1914
+ case "KERNEL_LOG_LEVEL_INFO":
1915
+ return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO;
1916
+ case 8:
1917
+ case "KERNEL_LOG_LEVEL_DEBUG":
1918
+ return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG;
1919
+ case -1:
1920
+ case "UNRECOGNIZED":
1921
+ default:
1922
+ return KernelLogEntry_KernelLogLevel.UNRECOGNIZED;
1923
+ }
1924
+ }
1925
+ function kernelLogEntry_KernelLogLevelToJSON(object) {
1926
+ switch (object) {
1927
+ case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED:
1928
+ return "KERNEL_LOG_LEVEL_UNSPECIFIED";
1929
+ case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG:
1930
+ return "KERNEL_LOG_LEVEL_EMERG";
1931
+ case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT:
1932
+ return "KERNEL_LOG_LEVEL_ALERT";
1933
+ case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT:
1934
+ return "KERNEL_LOG_LEVEL_CRIT";
1935
+ case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR:
1936
+ return "KERNEL_LOG_LEVEL_ERR";
1937
+ case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING:
1938
+ return "KERNEL_LOG_LEVEL_WARNING";
1939
+ case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE:
1940
+ return "KERNEL_LOG_LEVEL_NOTICE";
1941
+ case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO:
1942
+ return "KERNEL_LOG_LEVEL_INFO";
1943
+ case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG:
1944
+ return "KERNEL_LOG_LEVEL_DEBUG";
1945
+ case KernelLogEntry_KernelLogLevel.UNRECOGNIZED:
1946
+ default:
1947
+ return "UNRECOGNIZED";
1948
+ }
1949
+ }
1688
1950
  var PingerConfiguration_MountingDirection;
1689
1951
  (function (PingerConfiguration_MountingDirection) {
1690
1952
  /** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
@@ -1799,10 +2061,58 @@ function batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON(object) {
1799
2061
  return "UNRECOGNIZED";
1800
2062
  }
1801
2063
  }
2064
+ /** Overall status of the storage device. */
2065
+ var RemovableStorageDevice_Status;
2066
+ (function (RemovableStorageDevice_Status) {
2067
+ /** STATUS_UNSPECIFIED - Unspecified. */
2068
+ RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNSPECIFIED"] = 0] = "STATUS_UNSPECIFIED";
2069
+ /** STATUS_READY - The storage device is valid and ready for use. */
2070
+ RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_READY"] = 1] = "STATUS_READY";
2071
+ /** STATUS_FORMATTING - The storage device is being formatted */
2072
+ RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_FORMATTING"] = 2] = "STATUS_FORMATTING";
2073
+ /** STATUS_ERROR - The storage device is in an error state. */
2074
+ RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_ERROR"] = 3] = "STATUS_ERROR";
2075
+ RemovableStorageDevice_Status[RemovableStorageDevice_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
2076
+ })(RemovableStorageDevice_Status || (exports.RemovableStorageDevice_Status = RemovableStorageDevice_Status = {}));
2077
+ function removableStorageDevice_StatusFromJSON(object) {
2078
+ switch (object) {
2079
+ case 0:
2080
+ case "STATUS_UNSPECIFIED":
2081
+ return RemovableStorageDevice_Status.STATUS_UNSPECIFIED;
2082
+ case 1:
2083
+ case "STATUS_READY":
2084
+ return RemovableStorageDevice_Status.STATUS_READY;
2085
+ case 2:
2086
+ case "STATUS_FORMATTING":
2087
+ return RemovableStorageDevice_Status.STATUS_FORMATTING;
2088
+ case 3:
2089
+ case "STATUS_ERROR":
2090
+ return RemovableStorageDevice_Status.STATUS_ERROR;
2091
+ case -1:
2092
+ case "UNRECOGNIZED":
2093
+ default:
2094
+ return RemovableStorageDevice_Status.UNRECOGNIZED;
2095
+ }
2096
+ }
2097
+ function removableStorageDevice_StatusToJSON(object) {
2098
+ switch (object) {
2099
+ case RemovableStorageDevice_Status.STATUS_UNSPECIFIED:
2100
+ return "STATUS_UNSPECIFIED";
2101
+ case RemovableStorageDevice_Status.STATUS_READY:
2102
+ return "STATUS_READY";
2103
+ case RemovableStorageDevice_Status.STATUS_FORMATTING:
2104
+ return "STATUS_FORMATTING";
2105
+ case RemovableStorageDevice_Status.STATUS_ERROR:
2106
+ return "STATUS_ERROR";
2107
+ case RemovableStorageDevice_Status.UNRECOGNIZED:
2108
+ default:
2109
+ return "UNRECOGNIZED";
2110
+ }
2111
+ }
1802
2112
  /**
1803
2113
  * Status of the compass calibration procedure.
1804
2114
  *
1805
- * When calibration is started, the status will indicate the active (upfacing) axis.
2115
+ * When calibration is started, the status will indicate the active (up facing) axis.
1806
2116
  */
1807
2117
  var CalibrationState_Status;
1808
2118
  (function (CalibrationState_Status) {
@@ -1824,7 +2134,7 @@ var CalibrationState_Status;
1824
2134
  CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_Z_POSITIVE"] = 7] = "STATUS_CALIBRATING_Z_POSITIVE";
1825
2135
  /** STATUS_CALIBRATING_Z_NEGATIVE - Compass is calibrating and the negative Z axis is active. */
1826
2136
  CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_Z_NEGATIVE"] = 8] = "STATUS_CALIBRATING_Z_NEGATIVE";
1827
- /** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interferance. */
2137
+ /** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interference. */
1828
2138
  CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_THRUSTER"] = 9] = "STATUS_CALIBRATING_THRUSTER";
1829
2139
  CalibrationState_Status[CalibrationState_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
1830
2140
  })(CalibrationState_Status || (exports.CalibrationState_Status = CalibrationState_Status = {}));
@@ -2015,6 +2325,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
2015
2325
  return "UNRECOGNIZED";
2016
2326
  }
2017
2327
  }
2328
+ var SurfaceUnitBatteryInfo_ChargeStatus;
2329
+ (function (SurfaceUnitBatteryInfo_ChargeStatus) {
2330
+ SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_UNSPECIFIED"] = 0] = "CHARGE_STATUS_UNSPECIFIED";
2331
+ SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_DISCHARGE"] = 1] = "CHARGE_STATUS_DISCHARGE";
2332
+ SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE"] = 2] = "CHARGE_STATUS_CHARGE";
2333
+ SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE_ERROR"] = 3] = "CHARGE_STATUS_CHARGE_ERROR";
2334
+ SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
2335
+ })(SurfaceUnitBatteryInfo_ChargeStatus || (exports.SurfaceUnitBatteryInfo_ChargeStatus = SurfaceUnitBatteryInfo_ChargeStatus = {}));
2336
+ function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object) {
2337
+ switch (object) {
2338
+ case 0:
2339
+ case "CHARGE_STATUS_UNSPECIFIED":
2340
+ return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED;
2341
+ case 1:
2342
+ case "CHARGE_STATUS_DISCHARGE":
2343
+ return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE;
2344
+ case 2:
2345
+ case "CHARGE_STATUS_CHARGE":
2346
+ return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE;
2347
+ case 3:
2348
+ case "CHARGE_STATUS_CHARGE_ERROR":
2349
+ return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR;
2350
+ case -1:
2351
+ case "UNRECOGNIZED":
2352
+ default:
2353
+ return SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED;
2354
+ }
2355
+ }
2356
+ function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
2357
+ switch (object) {
2358
+ case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED:
2359
+ return "CHARGE_STATUS_UNSPECIFIED";
2360
+ case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE:
2361
+ return "CHARGE_STATUS_DISCHARGE";
2362
+ case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE:
2363
+ return "CHARGE_STATUS_CHARGE";
2364
+ case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR:
2365
+ return "CHARGE_STATUS_CHARGE_ERROR";
2366
+ case SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED:
2367
+ default:
2368
+ return "UNRECOGNIZED";
2369
+ }
2370
+ }
2018
2371
  function createBaseBinlogRecord() {
2019
2372
  return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
2020
2373
  }
@@ -2069,34 +2422,360 @@ exports.BinlogRecord = {
2069
2422
  },
2070
2423
  fromJSON(object) {
2071
2424
  return {
2072
- payload: isSet(object.payload) ? any_1.Any.fromJSON(object.payload) : undefined,
2073
- unixTimestamp: isSet(object.unixTimestamp) ? fromJsonTimestamp(object.unixTimestamp) : undefined,
2074
- clockMonotonic: isSet(object.clockMonotonic) ? fromJsonTimestamp(object.clockMonotonic) : undefined,
2425
+ payload: isSet(object.payload) ? any_1.Any.fromJSON(object.payload) : undefined,
2426
+ unixTimestamp: isSet(object.unixTimestamp) ? fromJsonTimestamp(object.unixTimestamp) : undefined,
2427
+ clockMonotonic: isSet(object.clockMonotonic) ? fromJsonTimestamp(object.clockMonotonic) : undefined,
2428
+ };
2429
+ },
2430
+ toJSON(message) {
2431
+ const obj = {};
2432
+ if (message.payload !== undefined) {
2433
+ obj.payload = any_1.Any.toJSON(message.payload);
2434
+ }
2435
+ if (message.unixTimestamp !== undefined) {
2436
+ obj.unixTimestamp = message.unixTimestamp.toISOString();
2437
+ }
2438
+ if (message.clockMonotonic !== undefined) {
2439
+ obj.clockMonotonic = message.clockMonotonic.toISOString();
2440
+ }
2441
+ return obj;
2442
+ },
2443
+ create(base) {
2444
+ return exports.BinlogRecord.fromPartial(base ?? {});
2445
+ },
2446
+ fromPartial(object) {
2447
+ const message = createBaseBinlogRecord();
2448
+ message.payload = (object.payload !== undefined && object.payload !== null)
2449
+ ? any_1.Any.fromPartial(object.payload)
2450
+ : undefined;
2451
+ message.unixTimestamp = object.unixTimestamp ?? undefined;
2452
+ message.clockMonotonic = object.clockMonotonic ?? undefined;
2453
+ return message;
2454
+ },
2455
+ };
2456
+ function createBaseLogEntry() {
2457
+ return { timestamp: undefined, processName: "", processId: 0, threadId: 0, source: "", level: 0, message: "" };
2458
+ }
2459
+ exports.LogEntry = {
2460
+ encode(message, writer = new wire_1.BinaryWriter()) {
2461
+ if (message.timestamp !== undefined) {
2462
+ timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(10).fork()).join();
2463
+ }
2464
+ if (message.processName !== "") {
2465
+ writer.uint32(18).string(message.processName);
2466
+ }
2467
+ if (message.processId !== 0) {
2468
+ writer.uint32(24).uint64(message.processId);
2469
+ }
2470
+ if (message.threadId !== 0) {
2471
+ writer.uint32(32).uint64(message.threadId);
2472
+ }
2473
+ if (message.source !== "") {
2474
+ writer.uint32(42).string(message.source);
2475
+ }
2476
+ if (message.level !== 0) {
2477
+ writer.uint32(48).int32(message.level);
2478
+ }
2479
+ if (message.message !== "") {
2480
+ writer.uint32(58).string(message.message);
2481
+ }
2482
+ return writer;
2483
+ },
2484
+ decode(input, length) {
2485
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2486
+ const end = length === undefined ? reader.len : reader.pos + length;
2487
+ const message = createBaseLogEntry();
2488
+ while (reader.pos < end) {
2489
+ const tag = reader.uint32();
2490
+ switch (tag >>> 3) {
2491
+ case 1: {
2492
+ if (tag !== 10) {
2493
+ break;
2494
+ }
2495
+ message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
2496
+ continue;
2497
+ }
2498
+ case 2: {
2499
+ if (tag !== 18) {
2500
+ break;
2501
+ }
2502
+ message.processName = reader.string();
2503
+ continue;
2504
+ }
2505
+ case 3: {
2506
+ if (tag !== 24) {
2507
+ break;
2508
+ }
2509
+ message.processId = longToNumber(reader.uint64());
2510
+ continue;
2511
+ }
2512
+ case 4: {
2513
+ if (tag !== 32) {
2514
+ break;
2515
+ }
2516
+ message.threadId = longToNumber(reader.uint64());
2517
+ continue;
2518
+ }
2519
+ case 5: {
2520
+ if (tag !== 42) {
2521
+ break;
2522
+ }
2523
+ message.source = reader.string();
2524
+ continue;
2525
+ }
2526
+ case 6: {
2527
+ if (tag !== 48) {
2528
+ break;
2529
+ }
2530
+ message.level = reader.int32();
2531
+ continue;
2532
+ }
2533
+ case 7: {
2534
+ if (tag !== 58) {
2535
+ break;
2536
+ }
2537
+ message.message = reader.string();
2538
+ continue;
2539
+ }
2540
+ }
2541
+ if ((tag & 7) === 4 || tag === 0) {
2542
+ break;
2543
+ }
2544
+ reader.skip(tag & 7);
2545
+ }
2546
+ return message;
2547
+ },
2548
+ fromJSON(object) {
2549
+ return {
2550
+ timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
2551
+ processName: isSet(object.processName) ? gt.String(object.processName) : "",
2552
+ processId: isSet(object.processId) ? gt.Number(object.processId) : 0,
2553
+ threadId: isSet(object.threadId) ? gt.Number(object.threadId) : 0,
2554
+ source: isSet(object.source) ? gt.String(object.source) : "",
2555
+ level: isSet(object.level) ? logEntry_LogLevelFromJSON(object.level) : 0,
2556
+ message: isSet(object.message) ? gt.String(object.message) : "",
2557
+ };
2558
+ },
2559
+ toJSON(message) {
2560
+ const obj = {};
2561
+ if (message.timestamp !== undefined) {
2562
+ obj.timestamp = message.timestamp.toISOString();
2563
+ }
2564
+ if (message.processName !== "") {
2565
+ obj.processName = message.processName;
2566
+ }
2567
+ if (message.processId !== 0) {
2568
+ obj.processId = Math.round(message.processId);
2569
+ }
2570
+ if (message.threadId !== 0) {
2571
+ obj.threadId = Math.round(message.threadId);
2572
+ }
2573
+ if (message.source !== "") {
2574
+ obj.source = message.source;
2575
+ }
2576
+ if (message.level !== 0) {
2577
+ obj.level = logEntry_LogLevelToJSON(message.level);
2578
+ }
2579
+ if (message.message !== "") {
2580
+ obj.message = message.message;
2581
+ }
2582
+ return obj;
2583
+ },
2584
+ create(base) {
2585
+ return exports.LogEntry.fromPartial(base ?? {});
2586
+ },
2587
+ fromPartial(object) {
2588
+ const message = createBaseLogEntry();
2589
+ message.timestamp = object.timestamp ?? undefined;
2590
+ message.processName = object.processName ?? "";
2591
+ message.processId = object.processId ?? 0;
2592
+ message.threadId = object.threadId ?? 0;
2593
+ message.source = object.source ?? "";
2594
+ message.level = object.level ?? 0;
2595
+ message.message = object.message ?? "";
2596
+ return message;
2597
+ },
2598
+ };
2599
+ function createBaseKernelLogEntry() {
2600
+ return { level: 0, seqnum: 0, timestamp: undefined, messages: [], fields: [] };
2601
+ }
2602
+ exports.KernelLogEntry = {
2603
+ encode(message, writer = new wire_1.BinaryWriter()) {
2604
+ if (message.level !== 0) {
2605
+ writer.uint32(8).int32(message.level);
2606
+ }
2607
+ if (message.seqnum !== 0) {
2608
+ writer.uint32(16).uint32(message.seqnum);
2609
+ }
2610
+ if (message.timestamp !== undefined) {
2611
+ timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).join();
2612
+ }
2613
+ for (const v of message.messages) {
2614
+ writer.uint32(34).string(v);
2615
+ }
2616
+ for (const v of message.fields) {
2617
+ exports.KernelLogEntry_KeyValuePair.encode(v, writer.uint32(42).fork()).join();
2618
+ }
2619
+ return writer;
2620
+ },
2621
+ decode(input, length) {
2622
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2623
+ const end = length === undefined ? reader.len : reader.pos + length;
2624
+ const message = createBaseKernelLogEntry();
2625
+ while (reader.pos < end) {
2626
+ const tag = reader.uint32();
2627
+ switch (tag >>> 3) {
2628
+ case 1: {
2629
+ if (tag !== 8) {
2630
+ break;
2631
+ }
2632
+ message.level = reader.int32();
2633
+ continue;
2634
+ }
2635
+ case 2: {
2636
+ if (tag !== 16) {
2637
+ break;
2638
+ }
2639
+ message.seqnum = reader.uint32();
2640
+ continue;
2641
+ }
2642
+ case 3: {
2643
+ if (tag !== 26) {
2644
+ break;
2645
+ }
2646
+ message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
2647
+ continue;
2648
+ }
2649
+ case 4: {
2650
+ if (tag !== 34) {
2651
+ break;
2652
+ }
2653
+ message.messages.push(reader.string());
2654
+ continue;
2655
+ }
2656
+ case 5: {
2657
+ if (tag !== 42) {
2658
+ break;
2659
+ }
2660
+ message.fields.push(exports.KernelLogEntry_KeyValuePair.decode(reader, reader.uint32()));
2661
+ continue;
2662
+ }
2663
+ }
2664
+ if ((tag & 7) === 4 || tag === 0) {
2665
+ break;
2666
+ }
2667
+ reader.skip(tag & 7);
2668
+ }
2669
+ return message;
2670
+ },
2671
+ fromJSON(object) {
2672
+ return {
2673
+ level: isSet(object.level) ? kernelLogEntry_KernelLogLevelFromJSON(object.level) : 0,
2674
+ seqnum: isSet(object.seqnum) ? gt.Number(object.seqnum) : 0,
2675
+ timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
2676
+ messages: gt.Array.isArray(object?.messages) ? object.messages.map((e) => gt.String(e)) : [],
2677
+ fields: gt.Array.isArray(object?.fields)
2678
+ ? object.fields.map((e) => exports.KernelLogEntry_KeyValuePair.fromJSON(e))
2679
+ : [],
2680
+ };
2681
+ },
2682
+ toJSON(message) {
2683
+ const obj = {};
2684
+ if (message.level !== 0) {
2685
+ obj.level = kernelLogEntry_KernelLogLevelToJSON(message.level);
2686
+ }
2687
+ if (message.seqnum !== 0) {
2688
+ obj.seqnum = Math.round(message.seqnum);
2689
+ }
2690
+ if (message.timestamp !== undefined) {
2691
+ obj.timestamp = message.timestamp.toISOString();
2692
+ }
2693
+ if (message.messages?.length) {
2694
+ obj.messages = message.messages;
2695
+ }
2696
+ if (message.fields?.length) {
2697
+ obj.fields = message.fields.map((e) => exports.KernelLogEntry_KeyValuePair.toJSON(e));
2698
+ }
2699
+ return obj;
2700
+ },
2701
+ create(base) {
2702
+ return exports.KernelLogEntry.fromPartial(base ?? {});
2703
+ },
2704
+ fromPartial(object) {
2705
+ const message = createBaseKernelLogEntry();
2706
+ message.level = object.level ?? 0;
2707
+ message.seqnum = object.seqnum ?? 0;
2708
+ message.timestamp = object.timestamp ?? undefined;
2709
+ message.messages = object.messages?.map((e) => e) || [];
2710
+ message.fields = object.fields?.map((e) => exports.KernelLogEntry_KeyValuePair.fromPartial(e)) || [];
2711
+ return message;
2712
+ },
2713
+ };
2714
+ function createBaseKernelLogEntry_KeyValuePair() {
2715
+ return { key: "", value: "" };
2716
+ }
2717
+ exports.KernelLogEntry_KeyValuePair = {
2718
+ encode(message, writer = new wire_1.BinaryWriter()) {
2719
+ if (message.key !== "") {
2720
+ writer.uint32(10).string(message.key);
2721
+ }
2722
+ if (message.value !== "") {
2723
+ writer.uint32(18).string(message.value);
2724
+ }
2725
+ return writer;
2726
+ },
2727
+ decode(input, length) {
2728
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2729
+ const end = length === undefined ? reader.len : reader.pos + length;
2730
+ const message = createBaseKernelLogEntry_KeyValuePair();
2731
+ while (reader.pos < end) {
2732
+ const tag = reader.uint32();
2733
+ switch (tag >>> 3) {
2734
+ case 1: {
2735
+ if (tag !== 10) {
2736
+ break;
2737
+ }
2738
+ message.key = reader.string();
2739
+ continue;
2740
+ }
2741
+ case 2: {
2742
+ if (tag !== 18) {
2743
+ break;
2744
+ }
2745
+ message.value = reader.string();
2746
+ continue;
2747
+ }
2748
+ }
2749
+ if ((tag & 7) === 4 || tag === 0) {
2750
+ break;
2751
+ }
2752
+ reader.skip(tag & 7);
2753
+ }
2754
+ return message;
2755
+ },
2756
+ fromJSON(object) {
2757
+ return {
2758
+ key: isSet(object.key) ? gt.String(object.key) : "",
2759
+ value: isSet(object.value) ? gt.String(object.value) : "",
2075
2760
  };
2076
2761
  },
2077
2762
  toJSON(message) {
2078
2763
  const obj = {};
2079
- if (message.payload !== undefined) {
2080
- obj.payload = any_1.Any.toJSON(message.payload);
2081
- }
2082
- if (message.unixTimestamp !== undefined) {
2083
- obj.unixTimestamp = message.unixTimestamp.toISOString();
2764
+ if (message.key !== "") {
2765
+ obj.key = message.key;
2084
2766
  }
2085
- if (message.clockMonotonic !== undefined) {
2086
- obj.clockMonotonic = message.clockMonotonic.toISOString();
2767
+ if (message.value !== "") {
2768
+ obj.value = message.value;
2087
2769
  }
2088
2770
  return obj;
2089
2771
  },
2090
2772
  create(base) {
2091
- return exports.BinlogRecord.fromPartial(base ?? {});
2773
+ return exports.KernelLogEntry_KeyValuePair.fromPartial(base ?? {});
2092
2774
  },
2093
2775
  fromPartial(object) {
2094
- const message = createBaseBinlogRecord();
2095
- message.payload = (object.payload !== undefined && object.payload !== null)
2096
- ? any_1.Any.fromPartial(object.payload)
2097
- : undefined;
2098
- message.unixTimestamp = object.unixTimestamp ?? undefined;
2099
- message.clockMonotonic = object.clockMonotonic ?? undefined;
2776
+ const message = createBaseKernelLogEntry_KeyValuePair();
2777
+ message.key = object.key ?? "";
2778
+ message.value = object.value ?? "";
2100
2779
  return message;
2101
2780
  },
2102
2781
  };
@@ -3381,6 +4060,7 @@ function createBaseRecordState() {
3381
4060
  multibeamIsRecording: false,
3382
4061
  multibeamSeconds: 0,
3383
4062
  multibeamFps: 0,
4063
+ storageLocation: 0,
3384
4064
  };
3385
4065
  }
3386
4066
  exports.RecordState = {
@@ -3412,6 +4092,9 @@ exports.RecordState = {
3412
4092
  if (message.multibeamFps !== 0) {
3413
4093
  writer.uint32(77).float(message.multibeamFps);
3414
4094
  }
4095
+ if (message.storageLocation !== 0) {
4096
+ writer.uint32(80).int32(message.storageLocation);
4097
+ }
3415
4098
  return writer;
3416
4099
  },
3417
4100
  decode(input, length) {
@@ -3484,6 +4167,13 @@ exports.RecordState = {
3484
4167
  message.multibeamFps = reader.float();
3485
4168
  continue;
3486
4169
  }
4170
+ case 10: {
4171
+ if (tag !== 80) {
4172
+ break;
4173
+ }
4174
+ message.storageLocation = reader.int32();
4175
+ continue;
4176
+ }
3487
4177
  }
3488
4178
  if ((tag & 7) === 4 || tag === 0) {
3489
4179
  break;
@@ -3503,6 +4193,7 @@ exports.RecordState = {
3503
4193
  multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
3504
4194
  multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
3505
4195
  multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
4196
+ storageLocation: isSet(object.storageLocation) ? storageLocationFromJSON(object.storageLocation) : 0,
3506
4197
  };
3507
4198
  },
3508
4199
  toJSON(message) {
@@ -3534,6 +4225,9 @@ exports.RecordState = {
3534
4225
  if (message.multibeamFps !== 0) {
3535
4226
  obj.multibeamFps = message.multibeamFps;
3536
4227
  }
4228
+ if (message.storageLocation !== 0) {
4229
+ obj.storageLocation = storageLocationToJSON(message.storageLocation);
4230
+ }
3537
4231
  return obj;
3538
4232
  },
3539
4233
  create(base) {
@@ -3550,6 +4244,7 @@ exports.RecordState = {
3550
4244
  message.multibeamIsRecording = object.multibeamIsRecording ?? false;
3551
4245
  message.multibeamSeconds = object.multibeamSeconds ?? 0;
3552
4246
  message.multibeamFps = object.multibeamFps ?? 0;
4247
+ message.storageLocation = object.storageLocation ?? 0;
3553
4248
  return message;
3554
4249
  },
3555
4250
  };
@@ -7388,38 +8083,400 @@ exports.RecordOn = {
7388
8083
  return message;
7389
8084
  },
7390
8085
  };
7391
- function createBaseStorageSpace() {
7392
- return { totalSpace: 0, freeSpace: 0 };
8086
+ function createBaseStorageSpace() {
8087
+ return { totalSpace: 0, freeSpace: 0 };
8088
+ }
8089
+ exports.StorageSpace = {
8090
+ encode(message, writer = new wire_1.BinaryWriter()) {
8091
+ if (message.totalSpace !== 0) {
8092
+ writer.uint32(8).int64(message.totalSpace);
8093
+ }
8094
+ if (message.freeSpace !== 0) {
8095
+ writer.uint32(16).int64(message.freeSpace);
8096
+ }
8097
+ return writer;
8098
+ },
8099
+ decode(input, length) {
8100
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
8101
+ const end = length === undefined ? reader.len : reader.pos + length;
8102
+ const message = createBaseStorageSpace();
8103
+ while (reader.pos < end) {
8104
+ const tag = reader.uint32();
8105
+ switch (tag >>> 3) {
8106
+ case 1: {
8107
+ if (tag !== 8) {
8108
+ break;
8109
+ }
8110
+ message.totalSpace = longToNumber(reader.int64());
8111
+ continue;
8112
+ }
8113
+ case 2: {
8114
+ if (tag !== 16) {
8115
+ break;
8116
+ }
8117
+ message.freeSpace = longToNumber(reader.int64());
8118
+ continue;
8119
+ }
8120
+ }
8121
+ if ((tag & 7) === 4 || tag === 0) {
8122
+ break;
8123
+ }
8124
+ reader.skip(tag & 7);
8125
+ }
8126
+ return message;
8127
+ },
8128
+ fromJSON(object) {
8129
+ return {
8130
+ totalSpace: isSet(object.totalSpace) ? gt.Number(object.totalSpace) : 0,
8131
+ freeSpace: isSet(object.freeSpace) ? gt.Number(object.freeSpace) : 0,
8132
+ };
8133
+ },
8134
+ toJSON(message) {
8135
+ const obj = {};
8136
+ if (message.totalSpace !== 0) {
8137
+ obj.totalSpace = Math.round(message.totalSpace);
8138
+ }
8139
+ if (message.freeSpace !== 0) {
8140
+ obj.freeSpace = Math.round(message.freeSpace);
8141
+ }
8142
+ return obj;
8143
+ },
8144
+ create(base) {
8145
+ return exports.StorageSpace.fromPartial(base ?? {});
8146
+ },
8147
+ fromPartial(object) {
8148
+ const message = createBaseStorageSpace();
8149
+ message.totalSpace = object.totalSpace ?? 0;
8150
+ message.freeSpace = object.freeSpace ?? 0;
8151
+ return message;
8152
+ },
8153
+ };
8154
+ function createBaseStoragePartition() {
8155
+ return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "", label: "" };
8156
+ }
8157
+ exports.StoragePartition = {
8158
+ encode(message, writer = new wire_1.BinaryWriter()) {
8159
+ if (message.storageSpace !== undefined) {
8160
+ exports.StorageSpace.encode(message.storageSpace, writer.uint32(10).fork()).join();
8161
+ }
8162
+ if (message.fileSystemType !== "") {
8163
+ writer.uint32(18).string(message.fileSystemType);
8164
+ }
8165
+ if (message.devicePath !== "") {
8166
+ writer.uint32(26).string(message.devicePath);
8167
+ }
8168
+ if (message.mountPath !== "") {
8169
+ writer.uint32(34).string(message.mountPath);
8170
+ }
8171
+ if (message.label !== "") {
8172
+ writer.uint32(42).string(message.label);
8173
+ }
8174
+ return writer;
8175
+ },
8176
+ decode(input, length) {
8177
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
8178
+ const end = length === undefined ? reader.len : reader.pos + length;
8179
+ const message = createBaseStoragePartition();
8180
+ while (reader.pos < end) {
8181
+ const tag = reader.uint32();
8182
+ switch (tag >>> 3) {
8183
+ case 1: {
8184
+ if (tag !== 10) {
8185
+ break;
8186
+ }
8187
+ message.storageSpace = exports.StorageSpace.decode(reader, reader.uint32());
8188
+ continue;
8189
+ }
8190
+ case 2: {
8191
+ if (tag !== 18) {
8192
+ break;
8193
+ }
8194
+ message.fileSystemType = reader.string();
8195
+ continue;
8196
+ }
8197
+ case 3: {
8198
+ if (tag !== 26) {
8199
+ break;
8200
+ }
8201
+ message.devicePath = reader.string();
8202
+ continue;
8203
+ }
8204
+ case 4: {
8205
+ if (tag !== 34) {
8206
+ break;
8207
+ }
8208
+ message.mountPath = reader.string();
8209
+ continue;
8210
+ }
8211
+ case 5: {
8212
+ if (tag !== 42) {
8213
+ break;
8214
+ }
8215
+ message.label = reader.string();
8216
+ continue;
8217
+ }
8218
+ }
8219
+ if ((tag & 7) === 4 || tag === 0) {
8220
+ break;
8221
+ }
8222
+ reader.skip(tag & 7);
8223
+ }
8224
+ return message;
8225
+ },
8226
+ fromJSON(object) {
8227
+ return {
8228
+ storageSpace: isSet(object.storageSpace) ? exports.StorageSpace.fromJSON(object.storageSpace) : undefined,
8229
+ fileSystemType: isSet(object.fileSystemType) ? gt.String(object.fileSystemType) : "",
8230
+ devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
8231
+ mountPath: isSet(object.mountPath) ? gt.String(object.mountPath) : "",
8232
+ label: isSet(object.label) ? gt.String(object.label) : "",
8233
+ };
8234
+ },
8235
+ toJSON(message) {
8236
+ const obj = {};
8237
+ if (message.storageSpace !== undefined) {
8238
+ obj.storageSpace = exports.StorageSpace.toJSON(message.storageSpace);
8239
+ }
8240
+ if (message.fileSystemType !== "") {
8241
+ obj.fileSystemType = message.fileSystemType;
8242
+ }
8243
+ if (message.devicePath !== "") {
8244
+ obj.devicePath = message.devicePath;
8245
+ }
8246
+ if (message.mountPath !== "") {
8247
+ obj.mountPath = message.mountPath;
8248
+ }
8249
+ if (message.label !== "") {
8250
+ obj.label = message.label;
8251
+ }
8252
+ return obj;
8253
+ },
8254
+ create(base) {
8255
+ return exports.StoragePartition.fromPartial(base ?? {});
8256
+ },
8257
+ fromPartial(object) {
8258
+ const message = createBaseStoragePartition();
8259
+ message.storageSpace = (object.storageSpace !== undefined && object.storageSpace !== null)
8260
+ ? exports.StorageSpace.fromPartial(object.storageSpace)
8261
+ : undefined;
8262
+ message.fileSystemType = object.fileSystemType ?? "";
8263
+ message.devicePath = object.devicePath ?? "";
8264
+ message.mountPath = object.mountPath ?? "";
8265
+ message.label = object.label ?? "";
8266
+ return message;
8267
+ },
8268
+ };
8269
+ function createBaseRemovableStorageDevice() {
8270
+ return { vendorName: "", modelName: "", devicePath: "", status: 0, errorFlags: undefined, partitions: [] };
8271
+ }
8272
+ exports.RemovableStorageDevice = {
8273
+ encode(message, writer = new wire_1.BinaryWriter()) {
8274
+ if (message.vendorName !== "") {
8275
+ writer.uint32(10).string(message.vendorName);
8276
+ }
8277
+ if (message.modelName !== "") {
8278
+ writer.uint32(18).string(message.modelName);
8279
+ }
8280
+ if (message.devicePath !== "") {
8281
+ writer.uint32(26).string(message.devicePath);
8282
+ }
8283
+ if (message.status !== 0) {
8284
+ writer.uint32(32).int32(message.status);
8285
+ }
8286
+ if (message.errorFlags !== undefined) {
8287
+ exports.RemovableStorageErrorFlags.encode(message.errorFlags, writer.uint32(42).fork()).join();
8288
+ }
8289
+ for (const v of message.partitions) {
8290
+ exports.StoragePartition.encode(v, writer.uint32(50).fork()).join();
8291
+ }
8292
+ return writer;
8293
+ },
8294
+ decode(input, length) {
8295
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
8296
+ const end = length === undefined ? reader.len : reader.pos + length;
8297
+ const message = createBaseRemovableStorageDevice();
8298
+ while (reader.pos < end) {
8299
+ const tag = reader.uint32();
8300
+ switch (tag >>> 3) {
8301
+ case 1: {
8302
+ if (tag !== 10) {
8303
+ break;
8304
+ }
8305
+ message.vendorName = reader.string();
8306
+ continue;
8307
+ }
8308
+ case 2: {
8309
+ if (tag !== 18) {
8310
+ break;
8311
+ }
8312
+ message.modelName = reader.string();
8313
+ continue;
8314
+ }
8315
+ case 3: {
8316
+ if (tag !== 26) {
8317
+ break;
8318
+ }
8319
+ message.devicePath = reader.string();
8320
+ continue;
8321
+ }
8322
+ case 4: {
8323
+ if (tag !== 32) {
8324
+ break;
8325
+ }
8326
+ message.status = reader.int32();
8327
+ continue;
8328
+ }
8329
+ case 5: {
8330
+ if (tag !== 42) {
8331
+ break;
8332
+ }
8333
+ message.errorFlags = exports.RemovableStorageErrorFlags.decode(reader, reader.uint32());
8334
+ continue;
8335
+ }
8336
+ case 6: {
8337
+ if (tag !== 50) {
8338
+ break;
8339
+ }
8340
+ message.partitions.push(exports.StoragePartition.decode(reader, reader.uint32()));
8341
+ continue;
8342
+ }
8343
+ }
8344
+ if ((tag & 7) === 4 || tag === 0) {
8345
+ break;
8346
+ }
8347
+ reader.skip(tag & 7);
8348
+ }
8349
+ return message;
8350
+ },
8351
+ fromJSON(object) {
8352
+ return {
8353
+ vendorName: isSet(object.vendorName) ? gt.String(object.vendorName) : "",
8354
+ modelName: isSet(object.modelName) ? gt.String(object.modelName) : "",
8355
+ devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
8356
+ status: isSet(object.status) ? removableStorageDevice_StatusFromJSON(object.status) : 0,
8357
+ errorFlags: isSet(object.errorFlags) ? exports.RemovableStorageErrorFlags.fromJSON(object.errorFlags) : undefined,
8358
+ partitions: gt.Array.isArray(object?.partitions)
8359
+ ? object.partitions.map((e) => exports.StoragePartition.fromJSON(e))
8360
+ : [],
8361
+ };
8362
+ },
8363
+ toJSON(message) {
8364
+ const obj = {};
8365
+ if (message.vendorName !== "") {
8366
+ obj.vendorName = message.vendorName;
8367
+ }
8368
+ if (message.modelName !== "") {
8369
+ obj.modelName = message.modelName;
8370
+ }
8371
+ if (message.devicePath !== "") {
8372
+ obj.devicePath = message.devicePath;
8373
+ }
8374
+ if (message.status !== 0) {
8375
+ obj.status = removableStorageDevice_StatusToJSON(message.status);
8376
+ }
8377
+ if (message.errorFlags !== undefined) {
8378
+ obj.errorFlags = exports.RemovableStorageErrorFlags.toJSON(message.errorFlags);
8379
+ }
8380
+ if (message.partitions?.length) {
8381
+ obj.partitions = message.partitions.map((e) => exports.StoragePartition.toJSON(e));
8382
+ }
8383
+ return obj;
8384
+ },
8385
+ create(base) {
8386
+ return exports.RemovableStorageDevice.fromPartial(base ?? {});
8387
+ },
8388
+ fromPartial(object) {
8389
+ const message = createBaseRemovableStorageDevice();
8390
+ message.vendorName = object.vendorName ?? "";
8391
+ message.modelName = object.modelName ?? "";
8392
+ message.devicePath = object.devicePath ?? "";
8393
+ message.status = object.status ?? 0;
8394
+ message.errorFlags = (object.errorFlags !== undefined && object.errorFlags !== null)
8395
+ ? exports.RemovableStorageErrorFlags.fromPartial(object.errorFlags)
8396
+ : undefined;
8397
+ message.partitions = object.partitions?.map((e) => exports.StoragePartition.fromPartial(e)) || [];
8398
+ return message;
8399
+ },
8400
+ };
8401
+ function createBaseRemovableStorageErrorFlags() {
8402
+ return {
8403
+ errorMessage: "",
8404
+ noPartitionsFound: false,
8405
+ multiplePartitionsFound: false,
8406
+ wrongFileSystemFound: false,
8407
+ deviceIsReadOnly: false,
8408
+ formattingFailed: false,
8409
+ };
7393
8410
  }
7394
- exports.StorageSpace = {
8411
+ exports.RemovableStorageErrorFlags = {
7395
8412
  encode(message, writer = new wire_1.BinaryWriter()) {
7396
- if (message.totalSpace !== 0) {
7397
- writer.uint32(8).int64(message.totalSpace);
8413
+ if (message.errorMessage !== "") {
8414
+ writer.uint32(10).string(message.errorMessage);
7398
8415
  }
7399
- if (message.freeSpace !== 0) {
7400
- writer.uint32(16).int64(message.freeSpace);
8416
+ if (message.noPartitionsFound !== false) {
8417
+ writer.uint32(16).bool(message.noPartitionsFound);
8418
+ }
8419
+ if (message.multiplePartitionsFound !== false) {
8420
+ writer.uint32(24).bool(message.multiplePartitionsFound);
8421
+ }
8422
+ if (message.wrongFileSystemFound !== false) {
8423
+ writer.uint32(32).bool(message.wrongFileSystemFound);
8424
+ }
8425
+ if (message.deviceIsReadOnly !== false) {
8426
+ writer.uint32(40).bool(message.deviceIsReadOnly);
8427
+ }
8428
+ if (message.formattingFailed !== false) {
8429
+ writer.uint32(48).bool(message.formattingFailed);
7401
8430
  }
7402
8431
  return writer;
7403
8432
  },
7404
8433
  decode(input, length) {
7405
8434
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
7406
8435
  const end = length === undefined ? reader.len : reader.pos + length;
7407
- const message = createBaseStorageSpace();
8436
+ const message = createBaseRemovableStorageErrorFlags();
7408
8437
  while (reader.pos < end) {
7409
8438
  const tag = reader.uint32();
7410
8439
  switch (tag >>> 3) {
7411
8440
  case 1: {
7412
- if (tag !== 8) {
8441
+ if (tag !== 10) {
7413
8442
  break;
7414
8443
  }
7415
- message.totalSpace = longToNumber(reader.int64());
8444
+ message.errorMessage = reader.string();
7416
8445
  continue;
7417
8446
  }
7418
8447
  case 2: {
7419
8448
  if (tag !== 16) {
7420
8449
  break;
7421
8450
  }
7422
- message.freeSpace = longToNumber(reader.int64());
8451
+ message.noPartitionsFound = reader.bool();
8452
+ continue;
8453
+ }
8454
+ case 3: {
8455
+ if (tag !== 24) {
8456
+ break;
8457
+ }
8458
+ message.multiplePartitionsFound = reader.bool();
8459
+ continue;
8460
+ }
8461
+ case 4: {
8462
+ if (tag !== 32) {
8463
+ break;
8464
+ }
8465
+ message.wrongFileSystemFound = reader.bool();
8466
+ continue;
8467
+ }
8468
+ case 5: {
8469
+ if (tag !== 40) {
8470
+ break;
8471
+ }
8472
+ message.deviceIsReadOnly = reader.bool();
8473
+ continue;
8474
+ }
8475
+ case 6: {
8476
+ if (tag !== 48) {
8477
+ break;
8478
+ }
8479
+ message.formattingFailed = reader.bool();
7423
8480
  continue;
7424
8481
  }
7425
8482
  }
@@ -7432,27 +8489,49 @@ exports.StorageSpace = {
7432
8489
  },
7433
8490
  fromJSON(object) {
7434
8491
  return {
7435
- totalSpace: isSet(object.totalSpace) ? gt.Number(object.totalSpace) : 0,
7436
- freeSpace: isSet(object.freeSpace) ? gt.Number(object.freeSpace) : 0,
8492
+ errorMessage: isSet(object.errorMessage) ? gt.String(object.errorMessage) : "",
8493
+ noPartitionsFound: isSet(object.noPartitionsFound) ? gt.Boolean(object.noPartitionsFound) : false,
8494
+ multiplePartitionsFound: isSet(object.multiplePartitionsFound)
8495
+ ? gt.Boolean(object.multiplePartitionsFound)
8496
+ : false,
8497
+ wrongFileSystemFound: isSet(object.wrongFileSystemFound) ? gt.Boolean(object.wrongFileSystemFound) : false,
8498
+ deviceIsReadOnly: isSet(object.deviceIsReadOnly) ? gt.Boolean(object.deviceIsReadOnly) : false,
8499
+ formattingFailed: isSet(object.formattingFailed) ? gt.Boolean(object.formattingFailed) : false,
7437
8500
  };
7438
8501
  },
7439
8502
  toJSON(message) {
7440
8503
  const obj = {};
7441
- if (message.totalSpace !== 0) {
7442
- obj.totalSpace = Math.round(message.totalSpace);
8504
+ if (message.errorMessage !== "") {
8505
+ obj.errorMessage = message.errorMessage;
7443
8506
  }
7444
- if (message.freeSpace !== 0) {
7445
- obj.freeSpace = Math.round(message.freeSpace);
8507
+ if (message.noPartitionsFound !== false) {
8508
+ obj.noPartitionsFound = message.noPartitionsFound;
8509
+ }
8510
+ if (message.multiplePartitionsFound !== false) {
8511
+ obj.multiplePartitionsFound = message.multiplePartitionsFound;
8512
+ }
8513
+ if (message.wrongFileSystemFound !== false) {
8514
+ obj.wrongFileSystemFound = message.wrongFileSystemFound;
8515
+ }
8516
+ if (message.deviceIsReadOnly !== false) {
8517
+ obj.deviceIsReadOnly = message.deviceIsReadOnly;
8518
+ }
8519
+ if (message.formattingFailed !== false) {
8520
+ obj.formattingFailed = message.formattingFailed;
7446
8521
  }
7447
8522
  return obj;
7448
8523
  },
7449
8524
  create(base) {
7450
- return exports.StorageSpace.fromPartial(base ?? {});
8525
+ return exports.RemovableStorageErrorFlags.fromPartial(base ?? {});
7451
8526
  },
7452
8527
  fromPartial(object) {
7453
- const message = createBaseStorageSpace();
7454
- message.totalSpace = object.totalSpace ?? 0;
7455
- message.freeSpace = object.freeSpace ?? 0;
8528
+ const message = createBaseRemovableStorageErrorFlags();
8529
+ message.errorMessage = object.errorMessage ?? "";
8530
+ message.noPartitionsFound = object.noPartitionsFound ?? false;
8531
+ message.multiplePartitionsFound = object.multiplePartitionsFound ?? false;
8532
+ message.wrongFileSystemFound = object.wrongFileSystemFound ?? false;
8533
+ message.deviceIsReadOnly = object.deviceIsReadOnly ?? false;
8534
+ message.formattingFailed = object.formattingFailed ?? false;
7456
8535
  return message;
7457
8536
  },
7458
8537
  };
@@ -8881,9 +9960,20 @@ function createBaseCameraParameters() {
8881
9960
  whiteBalance: 0,
8882
9961
  hue: 0,
8883
9962
  gain: 0,
9963
+ brightness: 0,
9964
+ contrast: 0,
9965
+ saturation: 0,
9966
+ gamma: 0,
9967
+ sharpness: 0,
9968
+ backlightCompensation: 0,
9969
+ denoise: 0,
9970
+ ehdrEnabled: false,
9971
+ ehdrExposureMinNumber: 0,
9972
+ ehdrExposureMaxNumber: 0,
8884
9973
  resolution: 0,
8885
9974
  streamResolution: 0,
8886
9975
  recordingResolution: 0,
9976
+ streamingProtocol: 0,
8887
9977
  framerate: 0,
8888
9978
  camera: 0,
8889
9979
  };
@@ -8908,6 +9998,36 @@ exports.CameraParameters = {
8908
9998
  if (message.gain !== 0) {
8909
9999
  writer.uint32(77).float(message.gain);
8910
10000
  }
10001
+ if (message.brightness !== 0) {
10002
+ writer.uint32(96).int32(message.brightness);
10003
+ }
10004
+ if (message.contrast !== 0) {
10005
+ writer.uint32(104).int32(message.contrast);
10006
+ }
10007
+ if (message.saturation !== 0) {
10008
+ writer.uint32(112).int32(message.saturation);
10009
+ }
10010
+ if (message.gamma !== 0) {
10011
+ writer.uint32(120).int32(message.gamma);
10012
+ }
10013
+ if (message.sharpness !== 0) {
10014
+ writer.uint32(128).int32(message.sharpness);
10015
+ }
10016
+ if (message.backlightCompensation !== 0) {
10017
+ writer.uint32(136).int32(message.backlightCompensation);
10018
+ }
10019
+ if (message.denoise !== 0) {
10020
+ writer.uint32(144).int32(message.denoise);
10021
+ }
10022
+ if (message.ehdrEnabled !== false) {
10023
+ writer.uint32(168).bool(message.ehdrEnabled);
10024
+ }
10025
+ if (message.ehdrExposureMinNumber !== 0) {
10026
+ writer.uint32(176).int32(message.ehdrExposureMinNumber);
10027
+ }
10028
+ if (message.ehdrExposureMaxNumber !== 0) {
10029
+ writer.uint32(184).int32(message.ehdrExposureMaxNumber);
10030
+ }
8911
10031
  if (message.resolution !== 0) {
8912
10032
  writer.uint32(48).int32(message.resolution);
8913
10033
  }
@@ -8917,6 +10037,9 @@ exports.CameraParameters = {
8917
10037
  if (message.recordingResolution !== 0) {
8918
10038
  writer.uint32(88).int32(message.recordingResolution);
8919
10039
  }
10040
+ if (message.streamingProtocol !== 0) {
10041
+ writer.uint32(160).int32(message.streamingProtocol);
10042
+ }
8920
10043
  if (message.framerate !== 0) {
8921
10044
  writer.uint32(56).int32(message.framerate);
8922
10045
  }
@@ -8974,6 +10097,76 @@ exports.CameraParameters = {
8974
10097
  message.gain = reader.float();
8975
10098
  continue;
8976
10099
  }
10100
+ case 12: {
10101
+ if (tag !== 96) {
10102
+ break;
10103
+ }
10104
+ message.brightness = reader.int32();
10105
+ continue;
10106
+ }
10107
+ case 13: {
10108
+ if (tag !== 104) {
10109
+ break;
10110
+ }
10111
+ message.contrast = reader.int32();
10112
+ continue;
10113
+ }
10114
+ case 14: {
10115
+ if (tag !== 112) {
10116
+ break;
10117
+ }
10118
+ message.saturation = reader.int32();
10119
+ continue;
10120
+ }
10121
+ case 15: {
10122
+ if (tag !== 120) {
10123
+ break;
10124
+ }
10125
+ message.gamma = reader.int32();
10126
+ continue;
10127
+ }
10128
+ case 16: {
10129
+ if (tag !== 128) {
10130
+ break;
10131
+ }
10132
+ message.sharpness = reader.int32();
10133
+ continue;
10134
+ }
10135
+ case 17: {
10136
+ if (tag !== 136) {
10137
+ break;
10138
+ }
10139
+ message.backlightCompensation = reader.int32();
10140
+ continue;
10141
+ }
10142
+ case 18: {
10143
+ if (tag !== 144) {
10144
+ break;
10145
+ }
10146
+ message.denoise = reader.int32();
10147
+ continue;
10148
+ }
10149
+ case 21: {
10150
+ if (tag !== 168) {
10151
+ break;
10152
+ }
10153
+ message.ehdrEnabled = reader.bool();
10154
+ continue;
10155
+ }
10156
+ case 22: {
10157
+ if (tag !== 176) {
10158
+ break;
10159
+ }
10160
+ message.ehdrExposureMinNumber = reader.int32();
10161
+ continue;
10162
+ }
10163
+ case 23: {
10164
+ if (tag !== 184) {
10165
+ break;
10166
+ }
10167
+ message.ehdrExposureMaxNumber = reader.int32();
10168
+ continue;
10169
+ }
8977
10170
  case 6: {
8978
10171
  if (tag !== 48) {
8979
10172
  break;
@@ -8995,6 +10188,13 @@ exports.CameraParameters = {
8995
10188
  message.recordingResolution = reader.int32();
8996
10189
  continue;
8997
10190
  }
10191
+ case 20: {
10192
+ if (tag !== 160) {
10193
+ break;
10194
+ }
10195
+ message.streamingProtocol = reader.int32();
10196
+ continue;
10197
+ }
8998
10198
  case 7: {
8999
10199
  if (tag !== 56) {
9000
10200
  break;
@@ -9025,9 +10225,20 @@ exports.CameraParameters = {
9025
10225
  whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
9026
10226
  hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
9027
10227
  gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
10228
+ brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
10229
+ contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
10230
+ saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
10231
+ gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
10232
+ sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
10233
+ backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
10234
+ denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
10235
+ ehdrEnabled: isSet(object.ehdrEnabled) ? gt.Boolean(object.ehdrEnabled) : false,
10236
+ ehdrExposureMinNumber: isSet(object.ehdrExposureMinNumber) ? gt.Number(object.ehdrExposureMinNumber) : 0,
10237
+ ehdrExposureMaxNumber: isSet(object.ehdrExposureMaxNumber) ? gt.Number(object.ehdrExposureMaxNumber) : 0,
9028
10238
  resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
9029
10239
  streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
9030
10240
  recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
10241
+ streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
9031
10242
  framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
9032
10243
  camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
9033
10244
  };
@@ -9052,6 +10263,36 @@ exports.CameraParameters = {
9052
10263
  if (message.gain !== 0) {
9053
10264
  obj.gain = message.gain;
9054
10265
  }
10266
+ if (message.brightness !== 0) {
10267
+ obj.brightness = Math.round(message.brightness);
10268
+ }
10269
+ if (message.contrast !== 0) {
10270
+ obj.contrast = Math.round(message.contrast);
10271
+ }
10272
+ if (message.saturation !== 0) {
10273
+ obj.saturation = Math.round(message.saturation);
10274
+ }
10275
+ if (message.gamma !== 0) {
10276
+ obj.gamma = Math.round(message.gamma);
10277
+ }
10278
+ if (message.sharpness !== 0) {
10279
+ obj.sharpness = Math.round(message.sharpness);
10280
+ }
10281
+ if (message.backlightCompensation !== 0) {
10282
+ obj.backlightCompensation = Math.round(message.backlightCompensation);
10283
+ }
10284
+ if (message.denoise !== 0) {
10285
+ obj.denoise = Math.round(message.denoise);
10286
+ }
10287
+ if (message.ehdrEnabled !== false) {
10288
+ obj.ehdrEnabled = message.ehdrEnabled;
10289
+ }
10290
+ if (message.ehdrExposureMinNumber !== 0) {
10291
+ obj.ehdrExposureMinNumber = Math.round(message.ehdrExposureMinNumber);
10292
+ }
10293
+ if (message.ehdrExposureMaxNumber !== 0) {
10294
+ obj.ehdrExposureMaxNumber = Math.round(message.ehdrExposureMaxNumber);
10295
+ }
9055
10296
  if (message.resolution !== 0) {
9056
10297
  obj.resolution = resolutionToJSON(message.resolution);
9057
10298
  }
@@ -9061,6 +10302,9 @@ exports.CameraParameters = {
9061
10302
  if (message.recordingResolution !== 0) {
9062
10303
  obj.recordingResolution = resolutionToJSON(message.recordingResolution);
9063
10304
  }
10305
+ if (message.streamingProtocol !== 0) {
10306
+ obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
10307
+ }
9064
10308
  if (message.framerate !== 0) {
9065
10309
  obj.framerate = framerateToJSON(message.framerate);
9066
10310
  }
@@ -9080,9 +10324,20 @@ exports.CameraParameters = {
9080
10324
  message.whiteBalance = object.whiteBalance ?? 0;
9081
10325
  message.hue = object.hue ?? 0;
9082
10326
  message.gain = object.gain ?? 0;
10327
+ message.brightness = object.brightness ?? 0;
10328
+ message.contrast = object.contrast ?? 0;
10329
+ message.saturation = object.saturation ?? 0;
10330
+ message.gamma = object.gamma ?? 0;
10331
+ message.sharpness = object.sharpness ?? 0;
10332
+ message.backlightCompensation = object.backlightCompensation ?? 0;
10333
+ message.denoise = object.denoise ?? 0;
10334
+ message.ehdrEnabled = object.ehdrEnabled ?? false;
10335
+ message.ehdrExposureMinNumber = object.ehdrExposureMinNumber ?? 0;
10336
+ message.ehdrExposureMaxNumber = object.ehdrExposureMaxNumber ?? 0;
9083
10337
  message.resolution = object.resolution ?? 0;
9084
10338
  message.streamResolution = object.streamResolution ?? 0;
9085
10339
  message.recordingResolution = object.recordingResolution ?? 0;
10340
+ message.streamingProtocol = object.streamingProtocol ?? 0;
9086
10341
  message.framerate = object.framerate ?? 0;
9087
10342
  message.camera = object.camera ?? 0;
9088
10343
  return message;
@@ -11828,7 +13083,7 @@ exports.PersistentStorageSettings = {
11828
13083
  },
11829
13084
  };
11830
13085
  function createBaseCPUInfo() {
11831
- return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
13086
+ return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
11832
13087
  }
11833
13088
  exports.CPUInfo = {
11834
13089
  encode(message, writer = new wire_1.BinaryWriter()) {
@@ -11844,6 +13099,9 @@ exports.CPUInfo = {
11844
13099
  if (message.guestportQueueLoad !== 0) {
11845
13100
  writer.uint32(37).float(message.guestportQueueLoad);
11846
13101
  }
13102
+ if (message.commQueueLoad !== 0) {
13103
+ writer.uint32(45).float(message.commQueueLoad);
13104
+ }
11847
13105
  return writer;
11848
13106
  },
11849
13107
  decode(input, length) {
@@ -11881,6 +13139,13 @@ exports.CPUInfo = {
11881
13139
  message.guestportQueueLoad = reader.float();
11882
13140
  continue;
11883
13141
  }
13142
+ case 5: {
13143
+ if (tag !== 45) {
13144
+ break;
13145
+ }
13146
+ message.commQueueLoad = reader.float();
13147
+ continue;
13148
+ }
11884
13149
  }
11885
13150
  if ((tag & 7) === 4 || tag === 0) {
11886
13151
  break;
@@ -11895,6 +13160,7 @@ exports.CPUInfo = {
11895
13160
  memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
11896
13161
  mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
11897
13162
  guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
13163
+ commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
11898
13164
  };
11899
13165
  },
11900
13166
  toJSON(message) {
@@ -11911,6 +13177,9 @@ exports.CPUInfo = {
11911
13177
  if (message.guestportQueueLoad !== 0) {
11912
13178
  obj.guestportQueueLoad = message.guestportQueueLoad;
11913
13179
  }
13180
+ if (message.commQueueLoad !== 0) {
13181
+ obj.commQueueLoad = message.commQueueLoad;
13182
+ }
11914
13183
  return obj;
11915
13184
  },
11916
13185
  create(base) {
@@ -11922,6 +13191,126 @@ exports.CPUInfo = {
11922
13191
  message.memoryBusLoad = object.memoryBusLoad ?? 0;
11923
13192
  message.mainQueueLoad = object.mainQueueLoad ?? 0;
11924
13193
  message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
13194
+ message.commQueueLoad = object.commQueueLoad ?? 0;
13195
+ return message;
13196
+ },
13197
+ };
13198
+ function createBaseSurfaceUnitBatteryInfo() {
13199
+ return { status: 0, level: 0 };
13200
+ }
13201
+ exports.SurfaceUnitBatteryInfo = {
13202
+ encode(message, writer = new wire_1.BinaryWriter()) {
13203
+ if (message.status !== 0) {
13204
+ writer.uint32(8).int32(message.status);
13205
+ }
13206
+ if (message.level !== 0) {
13207
+ writer.uint32(21).float(message.level);
13208
+ }
13209
+ return writer;
13210
+ },
13211
+ decode(input, length) {
13212
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
13213
+ const end = length === undefined ? reader.len : reader.pos + length;
13214
+ const message = createBaseSurfaceUnitBatteryInfo();
13215
+ while (reader.pos < end) {
13216
+ const tag = reader.uint32();
13217
+ switch (tag >>> 3) {
13218
+ case 1: {
13219
+ if (tag !== 8) {
13220
+ break;
13221
+ }
13222
+ message.status = reader.int32();
13223
+ continue;
13224
+ }
13225
+ case 2: {
13226
+ if (tag !== 21) {
13227
+ break;
13228
+ }
13229
+ message.level = reader.float();
13230
+ continue;
13231
+ }
13232
+ }
13233
+ if ((tag & 7) === 4 || tag === 0) {
13234
+ break;
13235
+ }
13236
+ reader.skip(tag & 7);
13237
+ }
13238
+ return message;
13239
+ },
13240
+ fromJSON(object) {
13241
+ return {
13242
+ status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
13243
+ level: isSet(object.level) ? gt.Number(object.level) : 0,
13244
+ };
13245
+ },
13246
+ toJSON(message) {
13247
+ const obj = {};
13248
+ if (message.status !== 0) {
13249
+ obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
13250
+ }
13251
+ if (message.level !== 0) {
13252
+ obj.level = message.level;
13253
+ }
13254
+ return obj;
13255
+ },
13256
+ create(base) {
13257
+ return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
13258
+ },
13259
+ fromPartial(object) {
13260
+ const message = createBaseSurfaceUnitBatteryInfo();
13261
+ message.status = object.status ?? 0;
13262
+ message.level = object.level ?? 0;
13263
+ return message;
13264
+ },
13265
+ };
13266
+ function createBaseSurfaceUnitVersionInfo() {
13267
+ return { version: "" };
13268
+ }
13269
+ exports.SurfaceUnitVersionInfo = {
13270
+ encode(message, writer = new wire_1.BinaryWriter()) {
13271
+ if (message.version !== "") {
13272
+ writer.uint32(10).string(message.version);
13273
+ }
13274
+ return writer;
13275
+ },
13276
+ decode(input, length) {
13277
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
13278
+ const end = length === undefined ? reader.len : reader.pos + length;
13279
+ const message = createBaseSurfaceUnitVersionInfo();
13280
+ while (reader.pos < end) {
13281
+ const tag = reader.uint32();
13282
+ switch (tag >>> 3) {
13283
+ case 1: {
13284
+ if (tag !== 10) {
13285
+ break;
13286
+ }
13287
+ message.version = reader.string();
13288
+ continue;
13289
+ }
13290
+ }
13291
+ if ((tag & 7) === 4 || tag === 0) {
13292
+ break;
13293
+ }
13294
+ reader.skip(tag & 7);
13295
+ }
13296
+ return message;
13297
+ },
13298
+ fromJSON(object) {
13299
+ return { version: isSet(object.version) ? gt.String(object.version) : "" };
13300
+ },
13301
+ toJSON(message) {
13302
+ const obj = {};
13303
+ if (message.version !== "") {
13304
+ obj.version = message.version;
13305
+ }
13306
+ return obj;
13307
+ },
13308
+ create(base) {
13309
+ return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
13310
+ },
13311
+ fromPartial(object) {
13312
+ const message = createBaseSurfaceUnitVersionInfo();
13313
+ message.version = object.version ?? "";
11925
13314
  return message;
11926
13315
  },
11927
13316
  };