@blueyerobotics/protocol-definitions 3.2.0-9f6199cf → 3.2.0-aa41f567
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.
- package/LICENSE +165 -0
- package/README.npm.md +40 -0
- package/dist/aquatroll.js +1 -1
- package/dist/control.d.ts +17 -2
- package/dist/control.js +78 -10
- package/dist/google/protobuf/any.js +1 -1
- package/dist/google/protobuf/duration.js +1 -1
- package/dist/google/protobuf/timestamp.js +1 -1
- package/dist/index.blueye.js +1 -1
- package/dist/index.blueye.protocol.js +1 -1
- package/dist/index.google.js +1 -1
- package/dist/index.google.protobuf.js +1 -1
- package/dist/index.js +1 -1
- package/dist/message_formats.d.ts +206 -13
- package/dist/message_formats.js +1198 -37
- package/dist/mission_planning.js +1 -1
- package/dist/req_rep.js +1 -1
- package/dist/telemetry.d.ts +38 -2
- package/dist/telemetry.js +325 -5
- package/package.json +8 -6
package/dist/message_formats.js
CHANGED
|
@@ -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.
|
|
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.
|
|
9
|
-
exports.
|
|
10
|
-
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 = 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;
|
|
@@ -56,16 +60,22 @@ exports.multibeamFrequencyModeFromJSON = multibeamFrequencyModeFromJSON;
|
|
|
56
60
|
exports.multibeamFrequencyModeToJSON = multibeamFrequencyModeToJSON;
|
|
57
61
|
exports.logEntry_LogLevelFromJSON = logEntry_LogLevelFromJSON;
|
|
58
62
|
exports.logEntry_LogLevelToJSON = logEntry_LogLevelToJSON;
|
|
63
|
+
exports.kernelLogEntry_KernelLogLevelFromJSON = kernelLogEntry_KernelLogLevelFromJSON;
|
|
64
|
+
exports.kernelLogEntry_KernelLogLevelToJSON = kernelLogEntry_KernelLogLevelToJSON;
|
|
59
65
|
exports.pingerConfiguration_MountingDirectionFromJSON = pingerConfiguration_MountingDirectionFromJSON;
|
|
60
66
|
exports.pingerConfiguration_MountingDirectionToJSON = pingerConfiguration_MountingDirectionToJSON;
|
|
61
67
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON;
|
|
62
68
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON;
|
|
69
|
+
exports.removableStorageDevice_StatusFromJSON = removableStorageDevice_StatusFromJSON;
|
|
70
|
+
exports.removableStorageDevice_StatusToJSON = removableStorageDevice_StatusToJSON;
|
|
63
71
|
exports.calibrationState_StatusFromJSON = calibrationState_StatusFromJSON;
|
|
64
72
|
exports.calibrationState_StatusToJSON = calibrationState_StatusToJSON;
|
|
65
73
|
exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
|
|
66
74
|
exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
|
|
67
75
|
exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
|
|
68
76
|
exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
|
|
77
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
|
|
78
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
|
|
69
79
|
/* eslint-disable */
|
|
70
80
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
71
81
|
const any_1 = require("./google/protobuf/any");
|
|
@@ -587,6 +597,51 @@ function notificationLevelToJSON(object) {
|
|
|
587
597
|
return "UNRECOGNIZED";
|
|
588
598
|
}
|
|
589
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
|
+
}
|
|
590
645
|
/** Drone models produced by Blueye. */
|
|
591
646
|
var Model;
|
|
592
647
|
(function (Model) {
|
|
@@ -716,11 +771,13 @@ var Resolution;
|
|
|
716
771
|
(function (Resolution) {
|
|
717
772
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
718
773
|
Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
|
|
719
|
-
/**
|
|
720
|
-
Resolution[Resolution["
|
|
721
|
-
/** RESOLUTION_HD_720P - 720p HD
|
|
774
|
+
/** RESOLUTION_VGA_480P - VGA (640x480). */
|
|
775
|
+
Resolution[Resolution["RESOLUTION_VGA_480P"] = 4] = "RESOLUTION_VGA_480P";
|
|
776
|
+
/** RESOLUTION_HD_720P - 720p HD (1280x720). */
|
|
722
777
|
Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
|
|
723
|
-
/**
|
|
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). */
|
|
724
781
|
Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
|
|
725
782
|
Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
726
783
|
})(Resolution || (exports.Resolution = Resolution = {}));
|
|
@@ -729,12 +786,15 @@ function resolutionFromJSON(object) {
|
|
|
729
786
|
case 0:
|
|
730
787
|
case "RESOLUTION_UNSPECIFIED":
|
|
731
788
|
return Resolution.RESOLUTION_UNSPECIFIED;
|
|
732
|
-
case
|
|
733
|
-
case "
|
|
734
|
-
return Resolution.
|
|
789
|
+
case 4:
|
|
790
|
+
case "RESOLUTION_VGA_480P":
|
|
791
|
+
return Resolution.RESOLUTION_VGA_480P;
|
|
735
792
|
case 2:
|
|
736
793
|
case "RESOLUTION_HD_720P":
|
|
737
794
|
return Resolution.RESOLUTION_HD_720P;
|
|
795
|
+
case 1:
|
|
796
|
+
case "RESOLUTION_FULLHD_1080P":
|
|
797
|
+
return Resolution.RESOLUTION_FULLHD_1080P;
|
|
738
798
|
case 3:
|
|
739
799
|
case "RESOLUTION_UHD_4K":
|
|
740
800
|
return Resolution.RESOLUTION_UHD_4K;
|
|
@@ -748,10 +808,12 @@ function resolutionToJSON(object) {
|
|
|
748
808
|
switch (object) {
|
|
749
809
|
case Resolution.RESOLUTION_UNSPECIFIED:
|
|
750
810
|
return "RESOLUTION_UNSPECIFIED";
|
|
751
|
-
case Resolution.
|
|
752
|
-
return "
|
|
811
|
+
case Resolution.RESOLUTION_VGA_480P:
|
|
812
|
+
return "RESOLUTION_VGA_480P";
|
|
753
813
|
case Resolution.RESOLUTION_HD_720P:
|
|
754
814
|
return "RESOLUTION_HD_720P";
|
|
815
|
+
case Resolution.RESOLUTION_FULLHD_1080P:
|
|
816
|
+
return "RESOLUTION_FULLHD_1080P";
|
|
755
817
|
case Resolution.RESOLUTION_UHD_4K:
|
|
756
818
|
return "RESOLUTION_UHD_4K";
|
|
757
819
|
case Resolution.UNRECOGNIZED:
|
|
@@ -766,7 +828,7 @@ var Framerate;
|
|
|
766
828
|
Framerate[Framerate["FRAMERATE_UNSPECIFIED"] = 0] = "FRAMERATE_UNSPECIFIED";
|
|
767
829
|
/** FRAMERATE_FPS_30 - 30 frames per second. */
|
|
768
830
|
Framerate[Framerate["FRAMERATE_FPS_30"] = 1] = "FRAMERATE_FPS_30";
|
|
769
|
-
/** FRAMERATE_FPS_25 - 25 frames per second. */
|
|
831
|
+
/** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
|
|
770
832
|
Framerate[Framerate["FRAMERATE_FPS_25"] = 2] = "FRAMERATE_FPS_25";
|
|
771
833
|
Framerate[Framerate["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
772
834
|
})(Framerate || (exports.Framerate = Framerate = {}));
|
|
@@ -841,6 +903,46 @@ function cameraToJSON(object) {
|
|
|
841
903
|
return "UNRECOGNIZED";
|
|
842
904
|
}
|
|
843
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
|
+
}
|
|
844
946
|
/** Available temperature units. */
|
|
845
947
|
var TemperatureUnit;
|
|
846
948
|
(function (TemperatureUnit) {
|
|
@@ -1174,6 +1276,8 @@ var GuestPortDeviceID;
|
|
|
1174
1276
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1175
1277
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1176
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";
|
|
1177
1281
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1178
1282
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1179
1283
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1313,6 +1417,9 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1313
1417
|
case 44:
|
|
1314
1418
|
case "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650":
|
|
1315
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;
|
|
1316
1423
|
case -1:
|
|
1317
1424
|
case "UNRECOGNIZED":
|
|
1318
1425
|
default:
|
|
@@ -1411,6 +1518,8 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1411
1518
|
return "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1412
1519
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650:
|
|
1413
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";
|
|
1414
1523
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1415
1524
|
default:
|
|
1416
1525
|
return "UNRECOGNIZED";
|
|
@@ -1755,6 +1864,89 @@ function logEntry_LogLevelToJSON(object) {
|
|
|
1755
1864
|
return "UNRECOGNIZED";
|
|
1756
1865
|
}
|
|
1757
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
|
+
}
|
|
1758
1950
|
var PingerConfiguration_MountingDirection;
|
|
1759
1951
|
(function (PingerConfiguration_MountingDirection) {
|
|
1760
1952
|
/** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
|
|
@@ -1869,10 +2061,58 @@ function batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON(object) {
|
|
|
1869
2061
|
return "UNRECOGNIZED";
|
|
1870
2062
|
}
|
|
1871
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
|
+
}
|
|
1872
2112
|
/**
|
|
1873
2113
|
* Status of the compass calibration procedure.
|
|
1874
2114
|
*
|
|
1875
|
-
* When calibration is started, the status will indicate the active (
|
|
2115
|
+
* When calibration is started, the status will indicate the active (up facing) axis.
|
|
1876
2116
|
*/
|
|
1877
2117
|
var CalibrationState_Status;
|
|
1878
2118
|
(function (CalibrationState_Status) {
|
|
@@ -1894,7 +2134,7 @@ var CalibrationState_Status;
|
|
|
1894
2134
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_Z_POSITIVE"] = 7] = "STATUS_CALIBRATING_Z_POSITIVE";
|
|
1895
2135
|
/** STATUS_CALIBRATING_Z_NEGATIVE - Compass is calibrating and the negative Z axis is active. */
|
|
1896
2136
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_Z_NEGATIVE"] = 8] = "STATUS_CALIBRATING_Z_NEGATIVE";
|
|
1897
|
-
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster
|
|
2137
|
+
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interference. */
|
|
1898
2138
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_THRUSTER"] = 9] = "STATUS_CALIBRATING_THRUSTER";
|
|
1899
2139
|
CalibrationState_Status[CalibrationState_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1900
2140
|
})(CalibrationState_Status || (exports.CalibrationState_Status = CalibrationState_Status = {}));
|
|
@@ -2085,6 +2325,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2085
2325
|
return "UNRECOGNIZED";
|
|
2086
2326
|
}
|
|
2087
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
|
+
}
|
|
2088
2371
|
function createBaseBinlogRecord() {
|
|
2089
2372
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2090
2373
|
}
|
|
@@ -2313,6 +2596,189 @@ exports.LogEntry = {
|
|
|
2313
2596
|
return message;
|
|
2314
2597
|
},
|
|
2315
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) : "",
|
|
2760
|
+
};
|
|
2761
|
+
},
|
|
2762
|
+
toJSON(message) {
|
|
2763
|
+
const obj = {};
|
|
2764
|
+
if (message.key !== "") {
|
|
2765
|
+
obj.key = message.key;
|
|
2766
|
+
}
|
|
2767
|
+
if (message.value !== "") {
|
|
2768
|
+
obj.value = message.value;
|
|
2769
|
+
}
|
|
2770
|
+
return obj;
|
|
2771
|
+
},
|
|
2772
|
+
create(base) {
|
|
2773
|
+
return exports.KernelLogEntry_KeyValuePair.fromPartial(base ?? {});
|
|
2774
|
+
},
|
|
2775
|
+
fromPartial(object) {
|
|
2776
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2777
|
+
message.key = object.key ?? "";
|
|
2778
|
+
message.value = object.value ?? "";
|
|
2779
|
+
return message;
|
|
2780
|
+
},
|
|
2781
|
+
};
|
|
2316
2782
|
function createBaseMotionInput() {
|
|
2317
2783
|
return { surge: 0, sway: 0, heave: 0, roll: 0, pitch: 0, yaw: 0, slow: 0, boost: 0 };
|
|
2318
2784
|
}
|
|
@@ -3594,6 +4060,7 @@ function createBaseRecordState() {
|
|
|
3594
4060
|
multibeamIsRecording: false,
|
|
3595
4061
|
multibeamSeconds: 0,
|
|
3596
4062
|
multibeamFps: 0,
|
|
4063
|
+
storageLocation: 0,
|
|
3597
4064
|
};
|
|
3598
4065
|
}
|
|
3599
4066
|
exports.RecordState = {
|
|
@@ -3625,6 +4092,9 @@ exports.RecordState = {
|
|
|
3625
4092
|
if (message.multibeamFps !== 0) {
|
|
3626
4093
|
writer.uint32(77).float(message.multibeamFps);
|
|
3627
4094
|
}
|
|
4095
|
+
if (message.storageLocation !== 0) {
|
|
4096
|
+
writer.uint32(80).int32(message.storageLocation);
|
|
4097
|
+
}
|
|
3628
4098
|
return writer;
|
|
3629
4099
|
},
|
|
3630
4100
|
decode(input, length) {
|
|
@@ -3697,6 +4167,13 @@ exports.RecordState = {
|
|
|
3697
4167
|
message.multibeamFps = reader.float();
|
|
3698
4168
|
continue;
|
|
3699
4169
|
}
|
|
4170
|
+
case 10: {
|
|
4171
|
+
if (tag !== 80) {
|
|
4172
|
+
break;
|
|
4173
|
+
}
|
|
4174
|
+
message.storageLocation = reader.int32();
|
|
4175
|
+
continue;
|
|
4176
|
+
}
|
|
3700
4177
|
}
|
|
3701
4178
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3702
4179
|
break;
|
|
@@ -3716,6 +4193,7 @@ exports.RecordState = {
|
|
|
3716
4193
|
multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
|
|
3717
4194
|
multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
|
|
3718
4195
|
multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
|
|
4196
|
+
storageLocation: isSet(object.storageLocation) ? storageLocationFromJSON(object.storageLocation) : 0,
|
|
3719
4197
|
};
|
|
3720
4198
|
},
|
|
3721
4199
|
toJSON(message) {
|
|
@@ -3747,6 +4225,9 @@ exports.RecordState = {
|
|
|
3747
4225
|
if (message.multibeamFps !== 0) {
|
|
3748
4226
|
obj.multibeamFps = message.multibeamFps;
|
|
3749
4227
|
}
|
|
4228
|
+
if (message.storageLocation !== 0) {
|
|
4229
|
+
obj.storageLocation = storageLocationToJSON(message.storageLocation);
|
|
4230
|
+
}
|
|
3750
4231
|
return obj;
|
|
3751
4232
|
},
|
|
3752
4233
|
create(base) {
|
|
@@ -3763,6 +4244,7 @@ exports.RecordState = {
|
|
|
3763
4244
|
message.multibeamIsRecording = object.multibeamIsRecording ?? false;
|
|
3764
4245
|
message.multibeamSeconds = object.multibeamSeconds ?? 0;
|
|
3765
4246
|
message.multibeamFps = object.multibeamFps ?? 0;
|
|
4247
|
+
message.storageLocation = object.storageLocation ?? 0;
|
|
3766
4248
|
return message;
|
|
3767
4249
|
},
|
|
3768
4250
|
};
|
|
@@ -7669,31 +8151,400 @@ exports.StorageSpace = {
|
|
|
7669
8151
|
return message;
|
|
7670
8152
|
},
|
|
7671
8153
|
};
|
|
7672
|
-
function
|
|
7673
|
-
return {
|
|
7674
|
-
status: 0,
|
|
7675
|
-
progressXPositive: 0,
|
|
7676
|
-
progressXNegative: 0,
|
|
7677
|
-
progressYPositive: 0,
|
|
7678
|
-
progressYNegative: 0,
|
|
7679
|
-
progressZPositive: 0,
|
|
7680
|
-
progressZNegative: 0,
|
|
7681
|
-
progressThruster: 0,
|
|
7682
|
-
};
|
|
8154
|
+
function createBaseStoragePartition() {
|
|
8155
|
+
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "" };
|
|
7683
8156
|
}
|
|
7684
|
-
exports.
|
|
8157
|
+
exports.StoragePartition = {
|
|
7685
8158
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
7686
|
-
if (message.
|
|
7687
|
-
writer.uint32(
|
|
8159
|
+
if (message.storageSpace !== undefined) {
|
|
8160
|
+
exports.StorageSpace.encode(message.storageSpace, writer.uint32(10).fork()).join();
|
|
7688
8161
|
}
|
|
7689
|
-
if (message.
|
|
7690
|
-
writer.uint32(
|
|
8162
|
+
if (message.fileSystemType !== "") {
|
|
8163
|
+
writer.uint32(18).string(message.fileSystemType);
|
|
7691
8164
|
}
|
|
7692
|
-
if (message.
|
|
7693
|
-
writer.uint32(
|
|
8165
|
+
if (message.devicePath !== "") {
|
|
8166
|
+
writer.uint32(26).string(message.devicePath);
|
|
7694
8167
|
}
|
|
7695
|
-
if (message.
|
|
7696
|
-
writer.uint32(
|
|
8168
|
+
if (message.mountPath !== "") {
|
|
8169
|
+
writer.uint32(34).string(message.mountPath);
|
|
8170
|
+
}
|
|
8171
|
+
return writer;
|
|
8172
|
+
},
|
|
8173
|
+
decode(input, length) {
|
|
8174
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8175
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8176
|
+
const message = createBaseStoragePartition();
|
|
8177
|
+
while (reader.pos < end) {
|
|
8178
|
+
const tag = reader.uint32();
|
|
8179
|
+
switch (tag >>> 3) {
|
|
8180
|
+
case 1: {
|
|
8181
|
+
if (tag !== 10) {
|
|
8182
|
+
break;
|
|
8183
|
+
}
|
|
8184
|
+
message.storageSpace = exports.StorageSpace.decode(reader, reader.uint32());
|
|
8185
|
+
continue;
|
|
8186
|
+
}
|
|
8187
|
+
case 2: {
|
|
8188
|
+
if (tag !== 18) {
|
|
8189
|
+
break;
|
|
8190
|
+
}
|
|
8191
|
+
message.fileSystemType = reader.string();
|
|
8192
|
+
continue;
|
|
8193
|
+
}
|
|
8194
|
+
case 3: {
|
|
8195
|
+
if (tag !== 26) {
|
|
8196
|
+
break;
|
|
8197
|
+
}
|
|
8198
|
+
message.devicePath = reader.string();
|
|
8199
|
+
continue;
|
|
8200
|
+
}
|
|
8201
|
+
case 4: {
|
|
8202
|
+
if (tag !== 34) {
|
|
8203
|
+
break;
|
|
8204
|
+
}
|
|
8205
|
+
message.mountPath = reader.string();
|
|
8206
|
+
continue;
|
|
8207
|
+
}
|
|
8208
|
+
}
|
|
8209
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8210
|
+
break;
|
|
8211
|
+
}
|
|
8212
|
+
reader.skip(tag & 7);
|
|
8213
|
+
}
|
|
8214
|
+
return message;
|
|
8215
|
+
},
|
|
8216
|
+
fromJSON(object) {
|
|
8217
|
+
return {
|
|
8218
|
+
storageSpace: isSet(object.storageSpace) ? exports.StorageSpace.fromJSON(object.storageSpace) : undefined,
|
|
8219
|
+
fileSystemType: isSet(object.fileSystemType) ? gt.String(object.fileSystemType) : "",
|
|
8220
|
+
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
8221
|
+
mountPath: isSet(object.mountPath) ? gt.String(object.mountPath) : "",
|
|
8222
|
+
};
|
|
8223
|
+
},
|
|
8224
|
+
toJSON(message) {
|
|
8225
|
+
const obj = {};
|
|
8226
|
+
if (message.storageSpace !== undefined) {
|
|
8227
|
+
obj.storageSpace = exports.StorageSpace.toJSON(message.storageSpace);
|
|
8228
|
+
}
|
|
8229
|
+
if (message.fileSystemType !== "") {
|
|
8230
|
+
obj.fileSystemType = message.fileSystemType;
|
|
8231
|
+
}
|
|
8232
|
+
if (message.devicePath !== "") {
|
|
8233
|
+
obj.devicePath = message.devicePath;
|
|
8234
|
+
}
|
|
8235
|
+
if (message.mountPath !== "") {
|
|
8236
|
+
obj.mountPath = message.mountPath;
|
|
8237
|
+
}
|
|
8238
|
+
return obj;
|
|
8239
|
+
},
|
|
8240
|
+
create(base) {
|
|
8241
|
+
return exports.StoragePartition.fromPartial(base ?? {});
|
|
8242
|
+
},
|
|
8243
|
+
fromPartial(object) {
|
|
8244
|
+
const message = createBaseStoragePartition();
|
|
8245
|
+
message.storageSpace = (object.storageSpace !== undefined && object.storageSpace !== null)
|
|
8246
|
+
? exports.StorageSpace.fromPartial(object.storageSpace)
|
|
8247
|
+
: undefined;
|
|
8248
|
+
message.fileSystemType = object.fileSystemType ?? "";
|
|
8249
|
+
message.devicePath = object.devicePath ?? "";
|
|
8250
|
+
message.mountPath = object.mountPath ?? "";
|
|
8251
|
+
return message;
|
|
8252
|
+
},
|
|
8253
|
+
};
|
|
8254
|
+
function createBaseRemovableStorageDevice() {
|
|
8255
|
+
return { vendorName: "", modelName: "", devicePath: "", status: 0, errorFlags: undefined, partitions: [] };
|
|
8256
|
+
}
|
|
8257
|
+
exports.RemovableStorageDevice = {
|
|
8258
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
8259
|
+
if (message.vendorName !== "") {
|
|
8260
|
+
writer.uint32(10).string(message.vendorName);
|
|
8261
|
+
}
|
|
8262
|
+
if (message.modelName !== "") {
|
|
8263
|
+
writer.uint32(18).string(message.modelName);
|
|
8264
|
+
}
|
|
8265
|
+
if (message.devicePath !== "") {
|
|
8266
|
+
writer.uint32(26).string(message.devicePath);
|
|
8267
|
+
}
|
|
8268
|
+
if (message.status !== 0) {
|
|
8269
|
+
writer.uint32(32).int32(message.status);
|
|
8270
|
+
}
|
|
8271
|
+
if (message.errorFlags !== undefined) {
|
|
8272
|
+
exports.RemovableStorageErrorFlags.encode(message.errorFlags, writer.uint32(42).fork()).join();
|
|
8273
|
+
}
|
|
8274
|
+
for (const v of message.partitions) {
|
|
8275
|
+
exports.StoragePartition.encode(v, writer.uint32(50).fork()).join();
|
|
8276
|
+
}
|
|
8277
|
+
return writer;
|
|
8278
|
+
},
|
|
8279
|
+
decode(input, length) {
|
|
8280
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8281
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8282
|
+
const message = createBaseRemovableStorageDevice();
|
|
8283
|
+
while (reader.pos < end) {
|
|
8284
|
+
const tag = reader.uint32();
|
|
8285
|
+
switch (tag >>> 3) {
|
|
8286
|
+
case 1: {
|
|
8287
|
+
if (tag !== 10) {
|
|
8288
|
+
break;
|
|
8289
|
+
}
|
|
8290
|
+
message.vendorName = reader.string();
|
|
8291
|
+
continue;
|
|
8292
|
+
}
|
|
8293
|
+
case 2: {
|
|
8294
|
+
if (tag !== 18) {
|
|
8295
|
+
break;
|
|
8296
|
+
}
|
|
8297
|
+
message.modelName = reader.string();
|
|
8298
|
+
continue;
|
|
8299
|
+
}
|
|
8300
|
+
case 3: {
|
|
8301
|
+
if (tag !== 26) {
|
|
8302
|
+
break;
|
|
8303
|
+
}
|
|
8304
|
+
message.devicePath = reader.string();
|
|
8305
|
+
continue;
|
|
8306
|
+
}
|
|
8307
|
+
case 4: {
|
|
8308
|
+
if (tag !== 32) {
|
|
8309
|
+
break;
|
|
8310
|
+
}
|
|
8311
|
+
message.status = reader.int32();
|
|
8312
|
+
continue;
|
|
8313
|
+
}
|
|
8314
|
+
case 5: {
|
|
8315
|
+
if (tag !== 42) {
|
|
8316
|
+
break;
|
|
8317
|
+
}
|
|
8318
|
+
message.errorFlags = exports.RemovableStorageErrorFlags.decode(reader, reader.uint32());
|
|
8319
|
+
continue;
|
|
8320
|
+
}
|
|
8321
|
+
case 6: {
|
|
8322
|
+
if (tag !== 50) {
|
|
8323
|
+
break;
|
|
8324
|
+
}
|
|
8325
|
+
message.partitions.push(exports.StoragePartition.decode(reader, reader.uint32()));
|
|
8326
|
+
continue;
|
|
8327
|
+
}
|
|
8328
|
+
}
|
|
8329
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8330
|
+
break;
|
|
8331
|
+
}
|
|
8332
|
+
reader.skip(tag & 7);
|
|
8333
|
+
}
|
|
8334
|
+
return message;
|
|
8335
|
+
},
|
|
8336
|
+
fromJSON(object) {
|
|
8337
|
+
return {
|
|
8338
|
+
vendorName: isSet(object.vendorName) ? gt.String(object.vendorName) : "",
|
|
8339
|
+
modelName: isSet(object.modelName) ? gt.String(object.modelName) : "",
|
|
8340
|
+
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
8341
|
+
status: isSet(object.status) ? removableStorageDevice_StatusFromJSON(object.status) : 0,
|
|
8342
|
+
errorFlags: isSet(object.errorFlags) ? exports.RemovableStorageErrorFlags.fromJSON(object.errorFlags) : undefined,
|
|
8343
|
+
partitions: gt.Array.isArray(object?.partitions)
|
|
8344
|
+
? object.partitions.map((e) => exports.StoragePartition.fromJSON(e))
|
|
8345
|
+
: [],
|
|
8346
|
+
};
|
|
8347
|
+
},
|
|
8348
|
+
toJSON(message) {
|
|
8349
|
+
const obj = {};
|
|
8350
|
+
if (message.vendorName !== "") {
|
|
8351
|
+
obj.vendorName = message.vendorName;
|
|
8352
|
+
}
|
|
8353
|
+
if (message.modelName !== "") {
|
|
8354
|
+
obj.modelName = message.modelName;
|
|
8355
|
+
}
|
|
8356
|
+
if (message.devicePath !== "") {
|
|
8357
|
+
obj.devicePath = message.devicePath;
|
|
8358
|
+
}
|
|
8359
|
+
if (message.status !== 0) {
|
|
8360
|
+
obj.status = removableStorageDevice_StatusToJSON(message.status);
|
|
8361
|
+
}
|
|
8362
|
+
if (message.errorFlags !== undefined) {
|
|
8363
|
+
obj.errorFlags = exports.RemovableStorageErrorFlags.toJSON(message.errorFlags);
|
|
8364
|
+
}
|
|
8365
|
+
if (message.partitions?.length) {
|
|
8366
|
+
obj.partitions = message.partitions.map((e) => exports.StoragePartition.toJSON(e));
|
|
8367
|
+
}
|
|
8368
|
+
return obj;
|
|
8369
|
+
},
|
|
8370
|
+
create(base) {
|
|
8371
|
+
return exports.RemovableStorageDevice.fromPartial(base ?? {});
|
|
8372
|
+
},
|
|
8373
|
+
fromPartial(object) {
|
|
8374
|
+
const message = createBaseRemovableStorageDevice();
|
|
8375
|
+
message.vendorName = object.vendorName ?? "";
|
|
8376
|
+
message.modelName = object.modelName ?? "";
|
|
8377
|
+
message.devicePath = object.devicePath ?? "";
|
|
8378
|
+
message.status = object.status ?? 0;
|
|
8379
|
+
message.errorFlags = (object.errorFlags !== undefined && object.errorFlags !== null)
|
|
8380
|
+
? exports.RemovableStorageErrorFlags.fromPartial(object.errorFlags)
|
|
8381
|
+
: undefined;
|
|
8382
|
+
message.partitions = object.partitions?.map((e) => exports.StoragePartition.fromPartial(e)) || [];
|
|
8383
|
+
return message;
|
|
8384
|
+
},
|
|
8385
|
+
};
|
|
8386
|
+
function createBaseRemovableStorageErrorFlags() {
|
|
8387
|
+
return {
|
|
8388
|
+
errorMessage: "",
|
|
8389
|
+
noPartitionsFound: false,
|
|
8390
|
+
multiplePartitionsFound: false,
|
|
8391
|
+
wrongFileSystemFound: false,
|
|
8392
|
+
deviceIsReadOnly: false,
|
|
8393
|
+
formattingFailed: false,
|
|
8394
|
+
};
|
|
8395
|
+
}
|
|
8396
|
+
exports.RemovableStorageErrorFlags = {
|
|
8397
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
8398
|
+
if (message.errorMessage !== "") {
|
|
8399
|
+
writer.uint32(10).string(message.errorMessage);
|
|
8400
|
+
}
|
|
8401
|
+
if (message.noPartitionsFound !== false) {
|
|
8402
|
+
writer.uint32(16).bool(message.noPartitionsFound);
|
|
8403
|
+
}
|
|
8404
|
+
if (message.multiplePartitionsFound !== false) {
|
|
8405
|
+
writer.uint32(24).bool(message.multiplePartitionsFound);
|
|
8406
|
+
}
|
|
8407
|
+
if (message.wrongFileSystemFound !== false) {
|
|
8408
|
+
writer.uint32(32).bool(message.wrongFileSystemFound);
|
|
8409
|
+
}
|
|
8410
|
+
if (message.deviceIsReadOnly !== false) {
|
|
8411
|
+
writer.uint32(40).bool(message.deviceIsReadOnly);
|
|
8412
|
+
}
|
|
8413
|
+
if (message.formattingFailed !== false) {
|
|
8414
|
+
writer.uint32(48).bool(message.formattingFailed);
|
|
8415
|
+
}
|
|
8416
|
+
return writer;
|
|
8417
|
+
},
|
|
8418
|
+
decode(input, length) {
|
|
8419
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8420
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8421
|
+
const message = createBaseRemovableStorageErrorFlags();
|
|
8422
|
+
while (reader.pos < end) {
|
|
8423
|
+
const tag = reader.uint32();
|
|
8424
|
+
switch (tag >>> 3) {
|
|
8425
|
+
case 1: {
|
|
8426
|
+
if (tag !== 10) {
|
|
8427
|
+
break;
|
|
8428
|
+
}
|
|
8429
|
+
message.errorMessage = reader.string();
|
|
8430
|
+
continue;
|
|
8431
|
+
}
|
|
8432
|
+
case 2: {
|
|
8433
|
+
if (tag !== 16) {
|
|
8434
|
+
break;
|
|
8435
|
+
}
|
|
8436
|
+
message.noPartitionsFound = reader.bool();
|
|
8437
|
+
continue;
|
|
8438
|
+
}
|
|
8439
|
+
case 3: {
|
|
8440
|
+
if (tag !== 24) {
|
|
8441
|
+
break;
|
|
8442
|
+
}
|
|
8443
|
+
message.multiplePartitionsFound = reader.bool();
|
|
8444
|
+
continue;
|
|
8445
|
+
}
|
|
8446
|
+
case 4: {
|
|
8447
|
+
if (tag !== 32) {
|
|
8448
|
+
break;
|
|
8449
|
+
}
|
|
8450
|
+
message.wrongFileSystemFound = reader.bool();
|
|
8451
|
+
continue;
|
|
8452
|
+
}
|
|
8453
|
+
case 5: {
|
|
8454
|
+
if (tag !== 40) {
|
|
8455
|
+
break;
|
|
8456
|
+
}
|
|
8457
|
+
message.deviceIsReadOnly = reader.bool();
|
|
8458
|
+
continue;
|
|
8459
|
+
}
|
|
8460
|
+
case 6: {
|
|
8461
|
+
if (tag !== 48) {
|
|
8462
|
+
break;
|
|
8463
|
+
}
|
|
8464
|
+
message.formattingFailed = reader.bool();
|
|
8465
|
+
continue;
|
|
8466
|
+
}
|
|
8467
|
+
}
|
|
8468
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8469
|
+
break;
|
|
8470
|
+
}
|
|
8471
|
+
reader.skip(tag & 7);
|
|
8472
|
+
}
|
|
8473
|
+
return message;
|
|
8474
|
+
},
|
|
8475
|
+
fromJSON(object) {
|
|
8476
|
+
return {
|
|
8477
|
+
errorMessage: isSet(object.errorMessage) ? gt.String(object.errorMessage) : "",
|
|
8478
|
+
noPartitionsFound: isSet(object.noPartitionsFound) ? gt.Boolean(object.noPartitionsFound) : false,
|
|
8479
|
+
multiplePartitionsFound: isSet(object.multiplePartitionsFound)
|
|
8480
|
+
? gt.Boolean(object.multiplePartitionsFound)
|
|
8481
|
+
: false,
|
|
8482
|
+
wrongFileSystemFound: isSet(object.wrongFileSystemFound) ? gt.Boolean(object.wrongFileSystemFound) : false,
|
|
8483
|
+
deviceIsReadOnly: isSet(object.deviceIsReadOnly) ? gt.Boolean(object.deviceIsReadOnly) : false,
|
|
8484
|
+
formattingFailed: isSet(object.formattingFailed) ? gt.Boolean(object.formattingFailed) : false,
|
|
8485
|
+
};
|
|
8486
|
+
},
|
|
8487
|
+
toJSON(message) {
|
|
8488
|
+
const obj = {};
|
|
8489
|
+
if (message.errorMessage !== "") {
|
|
8490
|
+
obj.errorMessage = message.errorMessage;
|
|
8491
|
+
}
|
|
8492
|
+
if (message.noPartitionsFound !== false) {
|
|
8493
|
+
obj.noPartitionsFound = message.noPartitionsFound;
|
|
8494
|
+
}
|
|
8495
|
+
if (message.multiplePartitionsFound !== false) {
|
|
8496
|
+
obj.multiplePartitionsFound = message.multiplePartitionsFound;
|
|
8497
|
+
}
|
|
8498
|
+
if (message.wrongFileSystemFound !== false) {
|
|
8499
|
+
obj.wrongFileSystemFound = message.wrongFileSystemFound;
|
|
8500
|
+
}
|
|
8501
|
+
if (message.deviceIsReadOnly !== false) {
|
|
8502
|
+
obj.deviceIsReadOnly = message.deviceIsReadOnly;
|
|
8503
|
+
}
|
|
8504
|
+
if (message.formattingFailed !== false) {
|
|
8505
|
+
obj.formattingFailed = message.formattingFailed;
|
|
8506
|
+
}
|
|
8507
|
+
return obj;
|
|
8508
|
+
},
|
|
8509
|
+
create(base) {
|
|
8510
|
+
return exports.RemovableStorageErrorFlags.fromPartial(base ?? {});
|
|
8511
|
+
},
|
|
8512
|
+
fromPartial(object) {
|
|
8513
|
+
const message = createBaseRemovableStorageErrorFlags();
|
|
8514
|
+
message.errorMessage = object.errorMessage ?? "";
|
|
8515
|
+
message.noPartitionsFound = object.noPartitionsFound ?? false;
|
|
8516
|
+
message.multiplePartitionsFound = object.multiplePartitionsFound ?? false;
|
|
8517
|
+
message.wrongFileSystemFound = object.wrongFileSystemFound ?? false;
|
|
8518
|
+
message.deviceIsReadOnly = object.deviceIsReadOnly ?? false;
|
|
8519
|
+
message.formattingFailed = object.formattingFailed ?? false;
|
|
8520
|
+
return message;
|
|
8521
|
+
},
|
|
8522
|
+
};
|
|
8523
|
+
function createBaseCalibrationState() {
|
|
8524
|
+
return {
|
|
8525
|
+
status: 0,
|
|
8526
|
+
progressXPositive: 0,
|
|
8527
|
+
progressXNegative: 0,
|
|
8528
|
+
progressYPositive: 0,
|
|
8529
|
+
progressYNegative: 0,
|
|
8530
|
+
progressZPositive: 0,
|
|
8531
|
+
progressZNegative: 0,
|
|
8532
|
+
progressThruster: 0,
|
|
8533
|
+
};
|
|
8534
|
+
}
|
|
8535
|
+
exports.CalibrationState = {
|
|
8536
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
8537
|
+
if (message.status !== 0) {
|
|
8538
|
+
writer.uint32(8).int32(message.status);
|
|
8539
|
+
}
|
|
8540
|
+
if (message.progressXPositive !== 0) {
|
|
8541
|
+
writer.uint32(21).float(message.progressXPositive);
|
|
8542
|
+
}
|
|
8543
|
+
if (message.progressXNegative !== 0) {
|
|
8544
|
+
writer.uint32(29).float(message.progressXNegative);
|
|
8545
|
+
}
|
|
8546
|
+
if (message.progressYPositive !== 0) {
|
|
8547
|
+
writer.uint32(37).float(message.progressYPositive);
|
|
7697
8548
|
}
|
|
7698
8549
|
if (message.progressYNegative !== 0) {
|
|
7699
8550
|
writer.uint32(45).float(message.progressYNegative);
|
|
@@ -9094,9 +9945,20 @@ function createBaseCameraParameters() {
|
|
|
9094
9945
|
whiteBalance: 0,
|
|
9095
9946
|
hue: 0,
|
|
9096
9947
|
gain: 0,
|
|
9948
|
+
brightness: 0,
|
|
9949
|
+
contrast: 0,
|
|
9950
|
+
saturation: 0,
|
|
9951
|
+
gamma: 0,
|
|
9952
|
+
sharpness: 0,
|
|
9953
|
+
backlightCompensation: 0,
|
|
9954
|
+
denoise: 0,
|
|
9955
|
+
ehdrEnabled: false,
|
|
9956
|
+
ehdrExposureMinNumber: 0,
|
|
9957
|
+
ehdrExposureMaxNumber: 0,
|
|
9097
9958
|
resolution: 0,
|
|
9098
9959
|
streamResolution: 0,
|
|
9099
9960
|
recordingResolution: 0,
|
|
9961
|
+
streamingProtocol: 0,
|
|
9100
9962
|
framerate: 0,
|
|
9101
9963
|
camera: 0,
|
|
9102
9964
|
};
|
|
@@ -9121,6 +9983,36 @@ exports.CameraParameters = {
|
|
|
9121
9983
|
if (message.gain !== 0) {
|
|
9122
9984
|
writer.uint32(77).float(message.gain);
|
|
9123
9985
|
}
|
|
9986
|
+
if (message.brightness !== 0) {
|
|
9987
|
+
writer.uint32(96).int32(message.brightness);
|
|
9988
|
+
}
|
|
9989
|
+
if (message.contrast !== 0) {
|
|
9990
|
+
writer.uint32(104).int32(message.contrast);
|
|
9991
|
+
}
|
|
9992
|
+
if (message.saturation !== 0) {
|
|
9993
|
+
writer.uint32(112).int32(message.saturation);
|
|
9994
|
+
}
|
|
9995
|
+
if (message.gamma !== 0) {
|
|
9996
|
+
writer.uint32(120).int32(message.gamma);
|
|
9997
|
+
}
|
|
9998
|
+
if (message.sharpness !== 0) {
|
|
9999
|
+
writer.uint32(128).int32(message.sharpness);
|
|
10000
|
+
}
|
|
10001
|
+
if (message.backlightCompensation !== 0) {
|
|
10002
|
+
writer.uint32(136).int32(message.backlightCompensation);
|
|
10003
|
+
}
|
|
10004
|
+
if (message.denoise !== 0) {
|
|
10005
|
+
writer.uint32(144).int32(message.denoise);
|
|
10006
|
+
}
|
|
10007
|
+
if (message.ehdrEnabled !== false) {
|
|
10008
|
+
writer.uint32(168).bool(message.ehdrEnabled);
|
|
10009
|
+
}
|
|
10010
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10011
|
+
writer.uint32(176).int32(message.ehdrExposureMinNumber);
|
|
10012
|
+
}
|
|
10013
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10014
|
+
writer.uint32(184).int32(message.ehdrExposureMaxNumber);
|
|
10015
|
+
}
|
|
9124
10016
|
if (message.resolution !== 0) {
|
|
9125
10017
|
writer.uint32(48).int32(message.resolution);
|
|
9126
10018
|
}
|
|
@@ -9130,6 +10022,9 @@ exports.CameraParameters = {
|
|
|
9130
10022
|
if (message.recordingResolution !== 0) {
|
|
9131
10023
|
writer.uint32(88).int32(message.recordingResolution);
|
|
9132
10024
|
}
|
|
10025
|
+
if (message.streamingProtocol !== 0) {
|
|
10026
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
10027
|
+
}
|
|
9133
10028
|
if (message.framerate !== 0) {
|
|
9134
10029
|
writer.uint32(56).int32(message.framerate);
|
|
9135
10030
|
}
|
|
@@ -9187,6 +10082,76 @@ exports.CameraParameters = {
|
|
|
9187
10082
|
message.gain = reader.float();
|
|
9188
10083
|
continue;
|
|
9189
10084
|
}
|
|
10085
|
+
case 12: {
|
|
10086
|
+
if (tag !== 96) {
|
|
10087
|
+
break;
|
|
10088
|
+
}
|
|
10089
|
+
message.brightness = reader.int32();
|
|
10090
|
+
continue;
|
|
10091
|
+
}
|
|
10092
|
+
case 13: {
|
|
10093
|
+
if (tag !== 104) {
|
|
10094
|
+
break;
|
|
10095
|
+
}
|
|
10096
|
+
message.contrast = reader.int32();
|
|
10097
|
+
continue;
|
|
10098
|
+
}
|
|
10099
|
+
case 14: {
|
|
10100
|
+
if (tag !== 112) {
|
|
10101
|
+
break;
|
|
10102
|
+
}
|
|
10103
|
+
message.saturation = reader.int32();
|
|
10104
|
+
continue;
|
|
10105
|
+
}
|
|
10106
|
+
case 15: {
|
|
10107
|
+
if (tag !== 120) {
|
|
10108
|
+
break;
|
|
10109
|
+
}
|
|
10110
|
+
message.gamma = reader.int32();
|
|
10111
|
+
continue;
|
|
10112
|
+
}
|
|
10113
|
+
case 16: {
|
|
10114
|
+
if (tag !== 128) {
|
|
10115
|
+
break;
|
|
10116
|
+
}
|
|
10117
|
+
message.sharpness = reader.int32();
|
|
10118
|
+
continue;
|
|
10119
|
+
}
|
|
10120
|
+
case 17: {
|
|
10121
|
+
if (tag !== 136) {
|
|
10122
|
+
break;
|
|
10123
|
+
}
|
|
10124
|
+
message.backlightCompensation = reader.int32();
|
|
10125
|
+
continue;
|
|
10126
|
+
}
|
|
10127
|
+
case 18: {
|
|
10128
|
+
if (tag !== 144) {
|
|
10129
|
+
break;
|
|
10130
|
+
}
|
|
10131
|
+
message.denoise = reader.int32();
|
|
10132
|
+
continue;
|
|
10133
|
+
}
|
|
10134
|
+
case 21: {
|
|
10135
|
+
if (tag !== 168) {
|
|
10136
|
+
break;
|
|
10137
|
+
}
|
|
10138
|
+
message.ehdrEnabled = reader.bool();
|
|
10139
|
+
continue;
|
|
10140
|
+
}
|
|
10141
|
+
case 22: {
|
|
10142
|
+
if (tag !== 176) {
|
|
10143
|
+
break;
|
|
10144
|
+
}
|
|
10145
|
+
message.ehdrExposureMinNumber = reader.int32();
|
|
10146
|
+
continue;
|
|
10147
|
+
}
|
|
10148
|
+
case 23: {
|
|
10149
|
+
if (tag !== 184) {
|
|
10150
|
+
break;
|
|
10151
|
+
}
|
|
10152
|
+
message.ehdrExposureMaxNumber = reader.int32();
|
|
10153
|
+
continue;
|
|
10154
|
+
}
|
|
9190
10155
|
case 6: {
|
|
9191
10156
|
if (tag !== 48) {
|
|
9192
10157
|
break;
|
|
@@ -9208,6 +10173,13 @@ exports.CameraParameters = {
|
|
|
9208
10173
|
message.recordingResolution = reader.int32();
|
|
9209
10174
|
continue;
|
|
9210
10175
|
}
|
|
10176
|
+
case 20: {
|
|
10177
|
+
if (tag !== 160) {
|
|
10178
|
+
break;
|
|
10179
|
+
}
|
|
10180
|
+
message.streamingProtocol = reader.int32();
|
|
10181
|
+
continue;
|
|
10182
|
+
}
|
|
9211
10183
|
case 7: {
|
|
9212
10184
|
if (tag !== 56) {
|
|
9213
10185
|
break;
|
|
@@ -9238,9 +10210,20 @@ exports.CameraParameters = {
|
|
|
9238
10210
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9239
10211
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9240
10212
|
gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
|
|
10213
|
+
brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
|
|
10214
|
+
contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
|
|
10215
|
+
saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
|
|
10216
|
+
gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
|
|
10217
|
+
sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
|
|
10218
|
+
backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
|
|
10219
|
+
denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
|
|
10220
|
+
ehdrEnabled: isSet(object.ehdrEnabled) ? gt.Boolean(object.ehdrEnabled) : false,
|
|
10221
|
+
ehdrExposureMinNumber: isSet(object.ehdrExposureMinNumber) ? gt.Number(object.ehdrExposureMinNumber) : 0,
|
|
10222
|
+
ehdrExposureMaxNumber: isSet(object.ehdrExposureMaxNumber) ? gt.Number(object.ehdrExposureMaxNumber) : 0,
|
|
9241
10223
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9242
10224
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9243
10225
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
10226
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9244
10227
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9245
10228
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
9246
10229
|
};
|
|
@@ -9265,6 +10248,36 @@ exports.CameraParameters = {
|
|
|
9265
10248
|
if (message.gain !== 0) {
|
|
9266
10249
|
obj.gain = message.gain;
|
|
9267
10250
|
}
|
|
10251
|
+
if (message.brightness !== 0) {
|
|
10252
|
+
obj.brightness = Math.round(message.brightness);
|
|
10253
|
+
}
|
|
10254
|
+
if (message.contrast !== 0) {
|
|
10255
|
+
obj.contrast = Math.round(message.contrast);
|
|
10256
|
+
}
|
|
10257
|
+
if (message.saturation !== 0) {
|
|
10258
|
+
obj.saturation = Math.round(message.saturation);
|
|
10259
|
+
}
|
|
10260
|
+
if (message.gamma !== 0) {
|
|
10261
|
+
obj.gamma = Math.round(message.gamma);
|
|
10262
|
+
}
|
|
10263
|
+
if (message.sharpness !== 0) {
|
|
10264
|
+
obj.sharpness = Math.round(message.sharpness);
|
|
10265
|
+
}
|
|
10266
|
+
if (message.backlightCompensation !== 0) {
|
|
10267
|
+
obj.backlightCompensation = Math.round(message.backlightCompensation);
|
|
10268
|
+
}
|
|
10269
|
+
if (message.denoise !== 0) {
|
|
10270
|
+
obj.denoise = Math.round(message.denoise);
|
|
10271
|
+
}
|
|
10272
|
+
if (message.ehdrEnabled !== false) {
|
|
10273
|
+
obj.ehdrEnabled = message.ehdrEnabled;
|
|
10274
|
+
}
|
|
10275
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10276
|
+
obj.ehdrExposureMinNumber = Math.round(message.ehdrExposureMinNumber);
|
|
10277
|
+
}
|
|
10278
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10279
|
+
obj.ehdrExposureMaxNumber = Math.round(message.ehdrExposureMaxNumber);
|
|
10280
|
+
}
|
|
9268
10281
|
if (message.resolution !== 0) {
|
|
9269
10282
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9270
10283
|
}
|
|
@@ -9274,6 +10287,9 @@ exports.CameraParameters = {
|
|
|
9274
10287
|
if (message.recordingResolution !== 0) {
|
|
9275
10288
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9276
10289
|
}
|
|
10290
|
+
if (message.streamingProtocol !== 0) {
|
|
10291
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
10292
|
+
}
|
|
9277
10293
|
if (message.framerate !== 0) {
|
|
9278
10294
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9279
10295
|
}
|
|
@@ -9293,9 +10309,20 @@ exports.CameraParameters = {
|
|
|
9293
10309
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9294
10310
|
message.hue = object.hue ?? 0;
|
|
9295
10311
|
message.gain = object.gain ?? 0;
|
|
10312
|
+
message.brightness = object.brightness ?? 0;
|
|
10313
|
+
message.contrast = object.contrast ?? 0;
|
|
10314
|
+
message.saturation = object.saturation ?? 0;
|
|
10315
|
+
message.gamma = object.gamma ?? 0;
|
|
10316
|
+
message.sharpness = object.sharpness ?? 0;
|
|
10317
|
+
message.backlightCompensation = object.backlightCompensation ?? 0;
|
|
10318
|
+
message.denoise = object.denoise ?? 0;
|
|
10319
|
+
message.ehdrEnabled = object.ehdrEnabled ?? false;
|
|
10320
|
+
message.ehdrExposureMinNumber = object.ehdrExposureMinNumber ?? 0;
|
|
10321
|
+
message.ehdrExposureMaxNumber = object.ehdrExposureMaxNumber ?? 0;
|
|
9296
10322
|
message.resolution = object.resolution ?? 0;
|
|
9297
10323
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9298
10324
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
10325
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9299
10326
|
message.framerate = object.framerate ?? 0;
|
|
9300
10327
|
message.camera = object.camera ?? 0;
|
|
9301
10328
|
return message;
|
|
@@ -12041,7 +13068,7 @@ exports.PersistentStorageSettings = {
|
|
|
12041
13068
|
},
|
|
12042
13069
|
};
|
|
12043
13070
|
function createBaseCPUInfo() {
|
|
12044
|
-
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
|
|
13071
|
+
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
|
|
12045
13072
|
}
|
|
12046
13073
|
exports.CPUInfo = {
|
|
12047
13074
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -12057,6 +13084,9 @@ exports.CPUInfo = {
|
|
|
12057
13084
|
if (message.guestportQueueLoad !== 0) {
|
|
12058
13085
|
writer.uint32(37).float(message.guestportQueueLoad);
|
|
12059
13086
|
}
|
|
13087
|
+
if (message.commQueueLoad !== 0) {
|
|
13088
|
+
writer.uint32(45).float(message.commQueueLoad);
|
|
13089
|
+
}
|
|
12060
13090
|
return writer;
|
|
12061
13091
|
},
|
|
12062
13092
|
decode(input, length) {
|
|
@@ -12094,6 +13124,13 @@ exports.CPUInfo = {
|
|
|
12094
13124
|
message.guestportQueueLoad = reader.float();
|
|
12095
13125
|
continue;
|
|
12096
13126
|
}
|
|
13127
|
+
case 5: {
|
|
13128
|
+
if (tag !== 45) {
|
|
13129
|
+
break;
|
|
13130
|
+
}
|
|
13131
|
+
message.commQueueLoad = reader.float();
|
|
13132
|
+
continue;
|
|
13133
|
+
}
|
|
12097
13134
|
}
|
|
12098
13135
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12099
13136
|
break;
|
|
@@ -12108,6 +13145,7 @@ exports.CPUInfo = {
|
|
|
12108
13145
|
memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
|
|
12109
13146
|
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
12110
13147
|
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
13148
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
12111
13149
|
};
|
|
12112
13150
|
},
|
|
12113
13151
|
toJSON(message) {
|
|
@@ -12124,6 +13162,9 @@ exports.CPUInfo = {
|
|
|
12124
13162
|
if (message.guestportQueueLoad !== 0) {
|
|
12125
13163
|
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
12126
13164
|
}
|
|
13165
|
+
if (message.commQueueLoad !== 0) {
|
|
13166
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
13167
|
+
}
|
|
12127
13168
|
return obj;
|
|
12128
13169
|
},
|
|
12129
13170
|
create(base) {
|
|
@@ -12135,6 +13176,126 @@ exports.CPUInfo = {
|
|
|
12135
13176
|
message.memoryBusLoad = object.memoryBusLoad ?? 0;
|
|
12136
13177
|
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
12137
13178
|
message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
|
|
13179
|
+
message.commQueueLoad = object.commQueueLoad ?? 0;
|
|
13180
|
+
return message;
|
|
13181
|
+
},
|
|
13182
|
+
};
|
|
13183
|
+
function createBaseSurfaceUnitBatteryInfo() {
|
|
13184
|
+
return { status: 0, level: 0 };
|
|
13185
|
+
}
|
|
13186
|
+
exports.SurfaceUnitBatteryInfo = {
|
|
13187
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13188
|
+
if (message.status !== 0) {
|
|
13189
|
+
writer.uint32(8).int32(message.status);
|
|
13190
|
+
}
|
|
13191
|
+
if (message.level !== 0) {
|
|
13192
|
+
writer.uint32(21).float(message.level);
|
|
13193
|
+
}
|
|
13194
|
+
return writer;
|
|
13195
|
+
},
|
|
13196
|
+
decode(input, length) {
|
|
13197
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13198
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13199
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13200
|
+
while (reader.pos < end) {
|
|
13201
|
+
const tag = reader.uint32();
|
|
13202
|
+
switch (tag >>> 3) {
|
|
13203
|
+
case 1: {
|
|
13204
|
+
if (tag !== 8) {
|
|
13205
|
+
break;
|
|
13206
|
+
}
|
|
13207
|
+
message.status = reader.int32();
|
|
13208
|
+
continue;
|
|
13209
|
+
}
|
|
13210
|
+
case 2: {
|
|
13211
|
+
if (tag !== 21) {
|
|
13212
|
+
break;
|
|
13213
|
+
}
|
|
13214
|
+
message.level = reader.float();
|
|
13215
|
+
continue;
|
|
13216
|
+
}
|
|
13217
|
+
}
|
|
13218
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13219
|
+
break;
|
|
13220
|
+
}
|
|
13221
|
+
reader.skip(tag & 7);
|
|
13222
|
+
}
|
|
13223
|
+
return message;
|
|
13224
|
+
},
|
|
13225
|
+
fromJSON(object) {
|
|
13226
|
+
return {
|
|
13227
|
+
status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
|
|
13228
|
+
level: isSet(object.level) ? gt.Number(object.level) : 0,
|
|
13229
|
+
};
|
|
13230
|
+
},
|
|
13231
|
+
toJSON(message) {
|
|
13232
|
+
const obj = {};
|
|
13233
|
+
if (message.status !== 0) {
|
|
13234
|
+
obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
|
|
13235
|
+
}
|
|
13236
|
+
if (message.level !== 0) {
|
|
13237
|
+
obj.level = message.level;
|
|
13238
|
+
}
|
|
13239
|
+
return obj;
|
|
13240
|
+
},
|
|
13241
|
+
create(base) {
|
|
13242
|
+
return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
|
|
13243
|
+
},
|
|
13244
|
+
fromPartial(object) {
|
|
13245
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13246
|
+
message.status = object.status ?? 0;
|
|
13247
|
+
message.level = object.level ?? 0;
|
|
13248
|
+
return message;
|
|
13249
|
+
},
|
|
13250
|
+
};
|
|
13251
|
+
function createBaseSurfaceUnitVersionInfo() {
|
|
13252
|
+
return { version: "" };
|
|
13253
|
+
}
|
|
13254
|
+
exports.SurfaceUnitVersionInfo = {
|
|
13255
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13256
|
+
if (message.version !== "") {
|
|
13257
|
+
writer.uint32(10).string(message.version);
|
|
13258
|
+
}
|
|
13259
|
+
return writer;
|
|
13260
|
+
},
|
|
13261
|
+
decode(input, length) {
|
|
13262
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13263
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13264
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13265
|
+
while (reader.pos < end) {
|
|
13266
|
+
const tag = reader.uint32();
|
|
13267
|
+
switch (tag >>> 3) {
|
|
13268
|
+
case 1: {
|
|
13269
|
+
if (tag !== 10) {
|
|
13270
|
+
break;
|
|
13271
|
+
}
|
|
13272
|
+
message.version = reader.string();
|
|
13273
|
+
continue;
|
|
13274
|
+
}
|
|
13275
|
+
}
|
|
13276
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13277
|
+
break;
|
|
13278
|
+
}
|
|
13279
|
+
reader.skip(tag & 7);
|
|
13280
|
+
}
|
|
13281
|
+
return message;
|
|
13282
|
+
},
|
|
13283
|
+
fromJSON(object) {
|
|
13284
|
+
return { version: isSet(object.version) ? gt.String(object.version) : "" };
|
|
13285
|
+
},
|
|
13286
|
+
toJSON(message) {
|
|
13287
|
+
const obj = {};
|
|
13288
|
+
if (message.version !== "") {
|
|
13289
|
+
obj.version = message.version;
|
|
13290
|
+
}
|
|
13291
|
+
return obj;
|
|
13292
|
+
},
|
|
13293
|
+
create(base) {
|
|
13294
|
+
return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
|
|
13295
|
+
},
|
|
13296
|
+
fromPartial(object) {
|
|
13297
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13298
|
+
message.version = object.version ?? "";
|
|
12138
13299
|
return message;
|
|
12139
13300
|
},
|
|
12140
13301
|
};
|