@blueyerobotics/protocol-definitions 3.2.0-9a7703f5 → 3.2.0-ac052e11
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/README.md +40 -0
- package/dist/aquatroll.d.ts +2 -8
- package/dist/aquatroll.js +1 -1
- package/dist/control.d.ts +19 -10
- package/dist/control.js +78 -10
- package/dist/google/protobuf/any.d.ts +2 -8
- package/dist/google/protobuf/any.js +1 -1
- package/dist/google/protobuf/duration.d.ts +2 -8
- package/dist/google/protobuf/duration.js +1 -1
- package/dist/google/protobuf/timestamp.d.ts +2 -8
- 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 +202 -19
- package/dist/message_formats.js +1175 -69
- package/dist/mission_planning.d.ts +2 -8
- package/dist/mission_planning.js +1 -1
- package/dist/req_rep.d.ts +2 -8
- package/dist/req_rep.js +1 -1
- package/dist/telemetry.d.ts +20 -10
- package/dist/telemetry.js +151 -5
- package/package.json +3 -1
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 = void 0;
|
|
8
|
+
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.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.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.GuestPortDevice = exports.NavigationSensorStatus = exports.OverlayParameters = 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 = 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 = 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,22 @@ 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;
|
|
57
63
|
exports.pingerConfiguration_MountingDirectionFromJSON = pingerConfiguration_MountingDirectionFromJSON;
|
|
58
64
|
exports.pingerConfiguration_MountingDirectionToJSON = pingerConfiguration_MountingDirectionToJSON;
|
|
59
65
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON;
|
|
60
66
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON;
|
|
67
|
+
exports.removableStorageDevice_StatusFromJSON = removableStorageDevice_StatusFromJSON;
|
|
68
|
+
exports.removableStorageDevice_StatusToJSON = removableStorageDevice_StatusToJSON;
|
|
61
69
|
exports.calibrationState_StatusFromJSON = calibrationState_StatusFromJSON;
|
|
62
70
|
exports.calibrationState_StatusToJSON = calibrationState_StatusToJSON;
|
|
63
71
|
exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
|
|
64
72
|
exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
|
|
65
73
|
exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
|
|
66
74
|
exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
|
|
75
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
|
|
76
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
|
|
67
77
|
/* eslint-disable */
|
|
68
78
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
69
79
|
const any_1 = require("./google/protobuf/any");
|
|
@@ -585,6 +595,51 @@ function notificationLevelToJSON(object) {
|
|
|
585
595
|
return "UNRECOGNIZED";
|
|
586
596
|
}
|
|
587
597
|
}
|
|
598
|
+
/**
|
|
599
|
+
* Storage location.
|
|
600
|
+
*
|
|
601
|
+
* Used to specify which storage location to use for recording photos and videos.
|
|
602
|
+
*/
|
|
603
|
+
var StorageLocation;
|
|
604
|
+
(function (StorageLocation) {
|
|
605
|
+
/** STORAGE_LOCATION_UNSPECIFIED - Unspecified. */
|
|
606
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_UNSPECIFIED"] = 0] = "STORAGE_LOCATION_UNSPECIFIED";
|
|
607
|
+
/** STORAGE_LOCATION_INTERNAL - Internal storage of the drone. */
|
|
608
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_INTERNAL"] = 1] = "STORAGE_LOCATION_INTERNAL";
|
|
609
|
+
/** STORAGE_LOCATION_REMOVABLE - Removable storage device. */
|
|
610
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_REMOVABLE"] = 2] = "STORAGE_LOCATION_REMOVABLE";
|
|
611
|
+
StorageLocation[StorageLocation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
612
|
+
})(StorageLocation || (exports.StorageLocation = StorageLocation = {}));
|
|
613
|
+
function storageLocationFromJSON(object) {
|
|
614
|
+
switch (object) {
|
|
615
|
+
case 0:
|
|
616
|
+
case "STORAGE_LOCATION_UNSPECIFIED":
|
|
617
|
+
return StorageLocation.STORAGE_LOCATION_UNSPECIFIED;
|
|
618
|
+
case 1:
|
|
619
|
+
case "STORAGE_LOCATION_INTERNAL":
|
|
620
|
+
return StorageLocation.STORAGE_LOCATION_INTERNAL;
|
|
621
|
+
case 2:
|
|
622
|
+
case "STORAGE_LOCATION_REMOVABLE":
|
|
623
|
+
return StorageLocation.STORAGE_LOCATION_REMOVABLE;
|
|
624
|
+
case -1:
|
|
625
|
+
case "UNRECOGNIZED":
|
|
626
|
+
default:
|
|
627
|
+
return StorageLocation.UNRECOGNIZED;
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
function storageLocationToJSON(object) {
|
|
631
|
+
switch (object) {
|
|
632
|
+
case StorageLocation.STORAGE_LOCATION_UNSPECIFIED:
|
|
633
|
+
return "STORAGE_LOCATION_UNSPECIFIED";
|
|
634
|
+
case StorageLocation.STORAGE_LOCATION_INTERNAL:
|
|
635
|
+
return "STORAGE_LOCATION_INTERNAL";
|
|
636
|
+
case StorageLocation.STORAGE_LOCATION_REMOVABLE:
|
|
637
|
+
return "STORAGE_LOCATION_REMOVABLE";
|
|
638
|
+
case StorageLocation.UNRECOGNIZED:
|
|
639
|
+
default:
|
|
640
|
+
return "UNRECOGNIZED";
|
|
641
|
+
}
|
|
642
|
+
}
|
|
588
643
|
/** Drone models produced by Blueye. */
|
|
589
644
|
var Model;
|
|
590
645
|
(function (Model) {
|
|
@@ -714,11 +769,13 @@ var Resolution;
|
|
|
714
769
|
(function (Resolution) {
|
|
715
770
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
716
771
|
Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
|
|
717
|
-
/**
|
|
718
|
-
Resolution[Resolution["
|
|
719
|
-
/** RESOLUTION_HD_720P - 720p HD
|
|
772
|
+
/** RESOLUTION_VGA_480P - VGA (640x480). */
|
|
773
|
+
Resolution[Resolution["RESOLUTION_VGA_480P"] = 4] = "RESOLUTION_VGA_480P";
|
|
774
|
+
/** RESOLUTION_HD_720P - 720p HD (1280x720). */
|
|
720
775
|
Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
|
|
721
|
-
/**
|
|
776
|
+
/** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
|
|
777
|
+
Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
|
|
778
|
+
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
|
|
722
779
|
Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
|
|
723
780
|
Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
724
781
|
})(Resolution || (exports.Resolution = Resolution = {}));
|
|
@@ -727,12 +784,15 @@ function resolutionFromJSON(object) {
|
|
|
727
784
|
case 0:
|
|
728
785
|
case "RESOLUTION_UNSPECIFIED":
|
|
729
786
|
return Resolution.RESOLUTION_UNSPECIFIED;
|
|
730
|
-
case
|
|
731
|
-
case "
|
|
732
|
-
return Resolution.
|
|
787
|
+
case 4:
|
|
788
|
+
case "RESOLUTION_VGA_480P":
|
|
789
|
+
return Resolution.RESOLUTION_VGA_480P;
|
|
733
790
|
case 2:
|
|
734
791
|
case "RESOLUTION_HD_720P":
|
|
735
792
|
return Resolution.RESOLUTION_HD_720P;
|
|
793
|
+
case 1:
|
|
794
|
+
case "RESOLUTION_FULLHD_1080P":
|
|
795
|
+
return Resolution.RESOLUTION_FULLHD_1080P;
|
|
736
796
|
case 3:
|
|
737
797
|
case "RESOLUTION_UHD_4K":
|
|
738
798
|
return Resolution.RESOLUTION_UHD_4K;
|
|
@@ -746,10 +806,12 @@ function resolutionToJSON(object) {
|
|
|
746
806
|
switch (object) {
|
|
747
807
|
case Resolution.RESOLUTION_UNSPECIFIED:
|
|
748
808
|
return "RESOLUTION_UNSPECIFIED";
|
|
749
|
-
case Resolution.
|
|
750
|
-
return "
|
|
809
|
+
case Resolution.RESOLUTION_VGA_480P:
|
|
810
|
+
return "RESOLUTION_VGA_480P";
|
|
751
811
|
case Resolution.RESOLUTION_HD_720P:
|
|
752
812
|
return "RESOLUTION_HD_720P";
|
|
813
|
+
case Resolution.RESOLUTION_FULLHD_1080P:
|
|
814
|
+
return "RESOLUTION_FULLHD_1080P";
|
|
753
815
|
case Resolution.RESOLUTION_UHD_4K:
|
|
754
816
|
return "RESOLUTION_UHD_4K";
|
|
755
817
|
case Resolution.UNRECOGNIZED:
|
|
@@ -764,7 +826,7 @@ var Framerate;
|
|
|
764
826
|
Framerate[Framerate["FRAMERATE_UNSPECIFIED"] = 0] = "FRAMERATE_UNSPECIFIED";
|
|
765
827
|
/** FRAMERATE_FPS_30 - 30 frames per second. */
|
|
766
828
|
Framerate[Framerate["FRAMERATE_FPS_30"] = 1] = "FRAMERATE_FPS_30";
|
|
767
|
-
/** FRAMERATE_FPS_25 - 25 frames per second. */
|
|
829
|
+
/** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
|
|
768
830
|
Framerate[Framerate["FRAMERATE_FPS_25"] = 2] = "FRAMERATE_FPS_25";
|
|
769
831
|
Framerate[Framerate["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
770
832
|
})(Framerate || (exports.Framerate = Framerate = {}));
|
|
@@ -839,6 +901,46 @@ function cameraToJSON(object) {
|
|
|
839
901
|
return "UNRECOGNIZED";
|
|
840
902
|
}
|
|
841
903
|
}
|
|
904
|
+
var StreamingProtocol;
|
|
905
|
+
(function (StreamingProtocol) {
|
|
906
|
+
/** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
|
|
907
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_UNSPECIFIED"] = 0] = "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
908
|
+
/** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
|
|
909
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_H264"] = 1] = "STREAMING_PROTOCOL_RTSP_H264";
|
|
910
|
+
/** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. No recording when activated. */
|
|
911
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_MJPEG"] = 2] = "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
912
|
+
StreamingProtocol[StreamingProtocol["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
913
|
+
})(StreamingProtocol || (exports.StreamingProtocol = StreamingProtocol = {}));
|
|
914
|
+
function streamingProtocolFromJSON(object) {
|
|
915
|
+
switch (object) {
|
|
916
|
+
case 0:
|
|
917
|
+
case "STREAMING_PROTOCOL_UNSPECIFIED":
|
|
918
|
+
return StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED;
|
|
919
|
+
case 1:
|
|
920
|
+
case "STREAMING_PROTOCOL_RTSP_H264":
|
|
921
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264;
|
|
922
|
+
case 2:
|
|
923
|
+
case "STREAMING_PROTOCOL_RTSP_MJPEG":
|
|
924
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG;
|
|
925
|
+
case -1:
|
|
926
|
+
case "UNRECOGNIZED":
|
|
927
|
+
default:
|
|
928
|
+
return StreamingProtocol.UNRECOGNIZED;
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
function streamingProtocolToJSON(object) {
|
|
932
|
+
switch (object) {
|
|
933
|
+
case StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED:
|
|
934
|
+
return "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
935
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264:
|
|
936
|
+
return "STREAMING_PROTOCOL_RTSP_H264";
|
|
937
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG:
|
|
938
|
+
return "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
939
|
+
case StreamingProtocol.UNRECOGNIZED:
|
|
940
|
+
default:
|
|
941
|
+
return "UNRECOGNIZED";
|
|
942
|
+
}
|
|
943
|
+
}
|
|
842
944
|
/** Available temperature units. */
|
|
843
945
|
var TemperatureUnit;
|
|
844
946
|
(function (TemperatureUnit) {
|
|
@@ -1172,6 +1274,8 @@ var GuestPortDeviceID;
|
|
|
1172
1274
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1173
1275
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1174
1276
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1277
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
|
|
1278
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1175
1279
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1176
1280
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1177
1281
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1311,6 +1415,9 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1311
1415
|
case 44:
|
|
1312
1416
|
case "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650":
|
|
1313
1417
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650;
|
|
1418
|
+
case 45:
|
|
1419
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
|
|
1420
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
|
|
1314
1421
|
case -1:
|
|
1315
1422
|
case "UNRECOGNIZED":
|
|
1316
1423
|
default:
|
|
@@ -1409,6 +1516,8 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1409
1516
|
return "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1410
1517
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650:
|
|
1411
1518
|
return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1519
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
|
|
1520
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1412
1521
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1413
1522
|
default:
|
|
1414
1523
|
return "UNRECOGNIZED";
|
|
@@ -1685,6 +1794,74 @@ function multibeamFrequencyModeToJSON(object) {
|
|
|
1685
1794
|
return "UNRECOGNIZED";
|
|
1686
1795
|
}
|
|
1687
1796
|
}
|
|
1797
|
+
var LogEntry_LogLevel;
|
|
1798
|
+
(function (LogEntry_LogLevel) {
|
|
1799
|
+
/** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
1800
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_UNSPECIFIED"] = 0] = "LOG_LEVEL_UNSPECIFIED";
|
|
1801
|
+
/** LOG_LEVEL_TRACE - Trace log level. */
|
|
1802
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_TRACE"] = 1] = "LOG_LEVEL_TRACE";
|
|
1803
|
+
/** LOG_LEVEL_DEBUG - Debug log level. */
|
|
1804
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_DEBUG"] = 2] = "LOG_LEVEL_DEBUG";
|
|
1805
|
+
/** LOG_LEVEL_INFO - Info log level. */
|
|
1806
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_INFO"] = 3] = "LOG_LEVEL_INFO";
|
|
1807
|
+
/** LOG_LEVEL_WARNING - Warning log level. */
|
|
1808
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_WARNING"] = 4] = "LOG_LEVEL_WARNING";
|
|
1809
|
+
/** LOG_LEVEL_ERROR - Error log level. */
|
|
1810
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_ERROR"] = 5] = "LOG_LEVEL_ERROR";
|
|
1811
|
+
/** LOG_LEVEL_CRITICAL - Critical log level. */
|
|
1812
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_CRITICAL"] = 6] = "LOG_LEVEL_CRITICAL";
|
|
1813
|
+
LogEntry_LogLevel[LogEntry_LogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1814
|
+
})(LogEntry_LogLevel || (exports.LogEntry_LogLevel = LogEntry_LogLevel = {}));
|
|
1815
|
+
function logEntry_LogLevelFromJSON(object) {
|
|
1816
|
+
switch (object) {
|
|
1817
|
+
case 0:
|
|
1818
|
+
case "LOG_LEVEL_UNSPECIFIED":
|
|
1819
|
+
return LogEntry_LogLevel.LOG_LEVEL_UNSPECIFIED;
|
|
1820
|
+
case 1:
|
|
1821
|
+
case "LOG_LEVEL_TRACE":
|
|
1822
|
+
return LogEntry_LogLevel.LOG_LEVEL_TRACE;
|
|
1823
|
+
case 2:
|
|
1824
|
+
case "LOG_LEVEL_DEBUG":
|
|
1825
|
+
return LogEntry_LogLevel.LOG_LEVEL_DEBUG;
|
|
1826
|
+
case 3:
|
|
1827
|
+
case "LOG_LEVEL_INFO":
|
|
1828
|
+
return LogEntry_LogLevel.LOG_LEVEL_INFO;
|
|
1829
|
+
case 4:
|
|
1830
|
+
case "LOG_LEVEL_WARNING":
|
|
1831
|
+
return LogEntry_LogLevel.LOG_LEVEL_WARNING;
|
|
1832
|
+
case 5:
|
|
1833
|
+
case "LOG_LEVEL_ERROR":
|
|
1834
|
+
return LogEntry_LogLevel.LOG_LEVEL_ERROR;
|
|
1835
|
+
case 6:
|
|
1836
|
+
case "LOG_LEVEL_CRITICAL":
|
|
1837
|
+
return LogEntry_LogLevel.LOG_LEVEL_CRITICAL;
|
|
1838
|
+
case -1:
|
|
1839
|
+
case "UNRECOGNIZED":
|
|
1840
|
+
default:
|
|
1841
|
+
return LogEntry_LogLevel.UNRECOGNIZED;
|
|
1842
|
+
}
|
|
1843
|
+
}
|
|
1844
|
+
function logEntry_LogLevelToJSON(object) {
|
|
1845
|
+
switch (object) {
|
|
1846
|
+
case LogEntry_LogLevel.LOG_LEVEL_UNSPECIFIED:
|
|
1847
|
+
return "LOG_LEVEL_UNSPECIFIED";
|
|
1848
|
+
case LogEntry_LogLevel.LOG_LEVEL_TRACE:
|
|
1849
|
+
return "LOG_LEVEL_TRACE";
|
|
1850
|
+
case LogEntry_LogLevel.LOG_LEVEL_DEBUG:
|
|
1851
|
+
return "LOG_LEVEL_DEBUG";
|
|
1852
|
+
case LogEntry_LogLevel.LOG_LEVEL_INFO:
|
|
1853
|
+
return "LOG_LEVEL_INFO";
|
|
1854
|
+
case LogEntry_LogLevel.LOG_LEVEL_WARNING:
|
|
1855
|
+
return "LOG_LEVEL_WARNING";
|
|
1856
|
+
case LogEntry_LogLevel.LOG_LEVEL_ERROR:
|
|
1857
|
+
return "LOG_LEVEL_ERROR";
|
|
1858
|
+
case LogEntry_LogLevel.LOG_LEVEL_CRITICAL:
|
|
1859
|
+
return "LOG_LEVEL_CRITICAL";
|
|
1860
|
+
case LogEntry_LogLevel.UNRECOGNIZED:
|
|
1861
|
+
default:
|
|
1862
|
+
return "UNRECOGNIZED";
|
|
1863
|
+
}
|
|
1864
|
+
}
|
|
1688
1865
|
var PingerConfiguration_MountingDirection;
|
|
1689
1866
|
(function (PingerConfiguration_MountingDirection) {
|
|
1690
1867
|
/** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
|
|
@@ -1799,10 +1976,58 @@ function batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON(object) {
|
|
|
1799
1976
|
return "UNRECOGNIZED";
|
|
1800
1977
|
}
|
|
1801
1978
|
}
|
|
1979
|
+
/** Overall status of the storage device. */
|
|
1980
|
+
var RemovableStorageDevice_Status;
|
|
1981
|
+
(function (RemovableStorageDevice_Status) {
|
|
1982
|
+
/** STATUS_UNSPECIFIED - Unspecified. */
|
|
1983
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNSPECIFIED"] = 0] = "STATUS_UNSPECIFIED";
|
|
1984
|
+
/** STATUS_READY - The storage device is valid and ready for use. */
|
|
1985
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_READY"] = 1] = "STATUS_READY";
|
|
1986
|
+
/** STATUS_FORMATTING - The storage device is being formatted */
|
|
1987
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_FORMATTING"] = 2] = "STATUS_FORMATTING";
|
|
1988
|
+
/** STATUS_ERROR - The storage device is in an error state. */
|
|
1989
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_ERROR"] = 3] = "STATUS_ERROR";
|
|
1990
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1991
|
+
})(RemovableStorageDevice_Status || (exports.RemovableStorageDevice_Status = RemovableStorageDevice_Status = {}));
|
|
1992
|
+
function removableStorageDevice_StatusFromJSON(object) {
|
|
1993
|
+
switch (object) {
|
|
1994
|
+
case 0:
|
|
1995
|
+
case "STATUS_UNSPECIFIED":
|
|
1996
|
+
return RemovableStorageDevice_Status.STATUS_UNSPECIFIED;
|
|
1997
|
+
case 1:
|
|
1998
|
+
case "STATUS_READY":
|
|
1999
|
+
return RemovableStorageDevice_Status.STATUS_READY;
|
|
2000
|
+
case 2:
|
|
2001
|
+
case "STATUS_FORMATTING":
|
|
2002
|
+
return RemovableStorageDevice_Status.STATUS_FORMATTING;
|
|
2003
|
+
case 3:
|
|
2004
|
+
case "STATUS_ERROR":
|
|
2005
|
+
return RemovableStorageDevice_Status.STATUS_ERROR;
|
|
2006
|
+
case -1:
|
|
2007
|
+
case "UNRECOGNIZED":
|
|
2008
|
+
default:
|
|
2009
|
+
return RemovableStorageDevice_Status.UNRECOGNIZED;
|
|
2010
|
+
}
|
|
2011
|
+
}
|
|
2012
|
+
function removableStorageDevice_StatusToJSON(object) {
|
|
2013
|
+
switch (object) {
|
|
2014
|
+
case RemovableStorageDevice_Status.STATUS_UNSPECIFIED:
|
|
2015
|
+
return "STATUS_UNSPECIFIED";
|
|
2016
|
+
case RemovableStorageDevice_Status.STATUS_READY:
|
|
2017
|
+
return "STATUS_READY";
|
|
2018
|
+
case RemovableStorageDevice_Status.STATUS_FORMATTING:
|
|
2019
|
+
return "STATUS_FORMATTING";
|
|
2020
|
+
case RemovableStorageDevice_Status.STATUS_ERROR:
|
|
2021
|
+
return "STATUS_ERROR";
|
|
2022
|
+
case RemovableStorageDevice_Status.UNRECOGNIZED:
|
|
2023
|
+
default:
|
|
2024
|
+
return "UNRECOGNIZED";
|
|
2025
|
+
}
|
|
2026
|
+
}
|
|
1802
2027
|
/**
|
|
1803
2028
|
* Status of the compass calibration procedure.
|
|
1804
2029
|
*
|
|
1805
|
-
* When calibration is started, the status will indicate the active (
|
|
2030
|
+
* When calibration is started, the status will indicate the active (up facing) axis.
|
|
1806
2031
|
*/
|
|
1807
2032
|
var CalibrationState_Status;
|
|
1808
2033
|
(function (CalibrationState_Status) {
|
|
@@ -1824,7 +2049,7 @@ var CalibrationState_Status;
|
|
|
1824
2049
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_Z_POSITIVE"] = 7] = "STATUS_CALIBRATING_Z_POSITIVE";
|
|
1825
2050
|
/** STATUS_CALIBRATING_Z_NEGATIVE - Compass is calibrating and the negative Z axis is active. */
|
|
1826
2051
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_Z_NEGATIVE"] = 8] = "STATUS_CALIBRATING_Z_NEGATIVE";
|
|
1827
|
-
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster
|
|
2052
|
+
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interference. */
|
|
1828
2053
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_THRUSTER"] = 9] = "STATUS_CALIBRATING_THRUSTER";
|
|
1829
2054
|
CalibrationState_Status[CalibrationState_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1830
2055
|
})(CalibrationState_Status || (exports.CalibrationState_Status = CalibrationState_Status = {}));
|
|
@@ -2015,6 +2240,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2015
2240
|
return "UNRECOGNIZED";
|
|
2016
2241
|
}
|
|
2017
2242
|
}
|
|
2243
|
+
var SurfaceUnitBatteryInfo_ChargeStatus;
|
|
2244
|
+
(function (SurfaceUnitBatteryInfo_ChargeStatus) {
|
|
2245
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_UNSPECIFIED"] = 0] = "CHARGE_STATUS_UNSPECIFIED";
|
|
2246
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_DISCHARGE"] = 1] = "CHARGE_STATUS_DISCHARGE";
|
|
2247
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE"] = 2] = "CHARGE_STATUS_CHARGE";
|
|
2248
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE_ERROR"] = 3] = "CHARGE_STATUS_CHARGE_ERROR";
|
|
2249
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2250
|
+
})(SurfaceUnitBatteryInfo_ChargeStatus || (exports.SurfaceUnitBatteryInfo_ChargeStatus = SurfaceUnitBatteryInfo_ChargeStatus = {}));
|
|
2251
|
+
function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object) {
|
|
2252
|
+
switch (object) {
|
|
2253
|
+
case 0:
|
|
2254
|
+
case "CHARGE_STATUS_UNSPECIFIED":
|
|
2255
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED;
|
|
2256
|
+
case 1:
|
|
2257
|
+
case "CHARGE_STATUS_DISCHARGE":
|
|
2258
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE;
|
|
2259
|
+
case 2:
|
|
2260
|
+
case "CHARGE_STATUS_CHARGE":
|
|
2261
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE;
|
|
2262
|
+
case 3:
|
|
2263
|
+
case "CHARGE_STATUS_CHARGE_ERROR":
|
|
2264
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR;
|
|
2265
|
+
case -1:
|
|
2266
|
+
case "UNRECOGNIZED":
|
|
2267
|
+
default:
|
|
2268
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED;
|
|
2269
|
+
}
|
|
2270
|
+
}
|
|
2271
|
+
function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
|
|
2272
|
+
switch (object) {
|
|
2273
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED:
|
|
2274
|
+
return "CHARGE_STATUS_UNSPECIFIED";
|
|
2275
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE:
|
|
2276
|
+
return "CHARGE_STATUS_DISCHARGE";
|
|
2277
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE:
|
|
2278
|
+
return "CHARGE_STATUS_CHARGE";
|
|
2279
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR:
|
|
2280
|
+
return "CHARGE_STATUS_CHARGE_ERROR";
|
|
2281
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED:
|
|
2282
|
+
default:
|
|
2283
|
+
return "UNRECOGNIZED";
|
|
2284
|
+
}
|
|
2285
|
+
}
|
|
2018
2286
|
function createBaseBinlogRecord() {
|
|
2019
2287
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2020
2288
|
}
|
|
@@ -2100,6 +2368,149 @@ exports.BinlogRecord = {
|
|
|
2100
2368
|
return message;
|
|
2101
2369
|
},
|
|
2102
2370
|
};
|
|
2371
|
+
function createBaseLogEntry() {
|
|
2372
|
+
return { timestamp: undefined, processName: "", processId: 0, threadId: 0, source: "", level: 0, message: "" };
|
|
2373
|
+
}
|
|
2374
|
+
exports.LogEntry = {
|
|
2375
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2376
|
+
if (message.timestamp !== undefined) {
|
|
2377
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(10).fork()).join();
|
|
2378
|
+
}
|
|
2379
|
+
if (message.processName !== "") {
|
|
2380
|
+
writer.uint32(18).string(message.processName);
|
|
2381
|
+
}
|
|
2382
|
+
if (message.processId !== 0) {
|
|
2383
|
+
writer.uint32(24).uint64(message.processId);
|
|
2384
|
+
}
|
|
2385
|
+
if (message.threadId !== 0) {
|
|
2386
|
+
writer.uint32(32).uint64(message.threadId);
|
|
2387
|
+
}
|
|
2388
|
+
if (message.source !== "") {
|
|
2389
|
+
writer.uint32(42).string(message.source);
|
|
2390
|
+
}
|
|
2391
|
+
if (message.level !== 0) {
|
|
2392
|
+
writer.uint32(48).int32(message.level);
|
|
2393
|
+
}
|
|
2394
|
+
if (message.message !== "") {
|
|
2395
|
+
writer.uint32(58).string(message.message);
|
|
2396
|
+
}
|
|
2397
|
+
return writer;
|
|
2398
|
+
},
|
|
2399
|
+
decode(input, length) {
|
|
2400
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2401
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2402
|
+
const message = createBaseLogEntry();
|
|
2403
|
+
while (reader.pos < end) {
|
|
2404
|
+
const tag = reader.uint32();
|
|
2405
|
+
switch (tag >>> 3) {
|
|
2406
|
+
case 1: {
|
|
2407
|
+
if (tag !== 10) {
|
|
2408
|
+
break;
|
|
2409
|
+
}
|
|
2410
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2411
|
+
continue;
|
|
2412
|
+
}
|
|
2413
|
+
case 2: {
|
|
2414
|
+
if (tag !== 18) {
|
|
2415
|
+
break;
|
|
2416
|
+
}
|
|
2417
|
+
message.processName = reader.string();
|
|
2418
|
+
continue;
|
|
2419
|
+
}
|
|
2420
|
+
case 3: {
|
|
2421
|
+
if (tag !== 24) {
|
|
2422
|
+
break;
|
|
2423
|
+
}
|
|
2424
|
+
message.processId = longToNumber(reader.uint64());
|
|
2425
|
+
continue;
|
|
2426
|
+
}
|
|
2427
|
+
case 4: {
|
|
2428
|
+
if (tag !== 32) {
|
|
2429
|
+
break;
|
|
2430
|
+
}
|
|
2431
|
+
message.threadId = longToNumber(reader.uint64());
|
|
2432
|
+
continue;
|
|
2433
|
+
}
|
|
2434
|
+
case 5: {
|
|
2435
|
+
if (tag !== 42) {
|
|
2436
|
+
break;
|
|
2437
|
+
}
|
|
2438
|
+
message.source = reader.string();
|
|
2439
|
+
continue;
|
|
2440
|
+
}
|
|
2441
|
+
case 6: {
|
|
2442
|
+
if (tag !== 48) {
|
|
2443
|
+
break;
|
|
2444
|
+
}
|
|
2445
|
+
message.level = reader.int32();
|
|
2446
|
+
continue;
|
|
2447
|
+
}
|
|
2448
|
+
case 7: {
|
|
2449
|
+
if (tag !== 58) {
|
|
2450
|
+
break;
|
|
2451
|
+
}
|
|
2452
|
+
message.message = reader.string();
|
|
2453
|
+
continue;
|
|
2454
|
+
}
|
|
2455
|
+
}
|
|
2456
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2457
|
+
break;
|
|
2458
|
+
}
|
|
2459
|
+
reader.skip(tag & 7);
|
|
2460
|
+
}
|
|
2461
|
+
return message;
|
|
2462
|
+
},
|
|
2463
|
+
fromJSON(object) {
|
|
2464
|
+
return {
|
|
2465
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2466
|
+
processName: isSet(object.processName) ? gt.String(object.processName) : "",
|
|
2467
|
+
processId: isSet(object.processId) ? gt.Number(object.processId) : 0,
|
|
2468
|
+
threadId: isSet(object.threadId) ? gt.Number(object.threadId) : 0,
|
|
2469
|
+
source: isSet(object.source) ? gt.String(object.source) : "",
|
|
2470
|
+
level: isSet(object.level) ? logEntry_LogLevelFromJSON(object.level) : 0,
|
|
2471
|
+
message: isSet(object.message) ? gt.String(object.message) : "",
|
|
2472
|
+
};
|
|
2473
|
+
},
|
|
2474
|
+
toJSON(message) {
|
|
2475
|
+
const obj = {};
|
|
2476
|
+
if (message.timestamp !== undefined) {
|
|
2477
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2478
|
+
}
|
|
2479
|
+
if (message.processName !== "") {
|
|
2480
|
+
obj.processName = message.processName;
|
|
2481
|
+
}
|
|
2482
|
+
if (message.processId !== 0) {
|
|
2483
|
+
obj.processId = Math.round(message.processId);
|
|
2484
|
+
}
|
|
2485
|
+
if (message.threadId !== 0) {
|
|
2486
|
+
obj.threadId = Math.round(message.threadId);
|
|
2487
|
+
}
|
|
2488
|
+
if (message.source !== "") {
|
|
2489
|
+
obj.source = message.source;
|
|
2490
|
+
}
|
|
2491
|
+
if (message.level !== 0) {
|
|
2492
|
+
obj.level = logEntry_LogLevelToJSON(message.level);
|
|
2493
|
+
}
|
|
2494
|
+
if (message.message !== "") {
|
|
2495
|
+
obj.message = message.message;
|
|
2496
|
+
}
|
|
2497
|
+
return obj;
|
|
2498
|
+
},
|
|
2499
|
+
create(base) {
|
|
2500
|
+
return exports.LogEntry.fromPartial(base ?? {});
|
|
2501
|
+
},
|
|
2502
|
+
fromPartial(object) {
|
|
2503
|
+
const message = createBaseLogEntry();
|
|
2504
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2505
|
+
message.processName = object.processName ?? "";
|
|
2506
|
+
message.processId = object.processId ?? 0;
|
|
2507
|
+
message.threadId = object.threadId ?? 0;
|
|
2508
|
+
message.source = object.source ?? "";
|
|
2509
|
+
message.level = object.level ?? 0;
|
|
2510
|
+
message.message = object.message ?? "";
|
|
2511
|
+
return message;
|
|
2512
|
+
},
|
|
2513
|
+
};
|
|
2103
2514
|
function createBaseMotionInput() {
|
|
2104
2515
|
return { surge: 0, sway: 0, heave: 0, roll: 0, pitch: 0, yaw: 0, slow: 0, boost: 0 };
|
|
2105
2516
|
}
|
|
@@ -3381,6 +3792,7 @@ function createBaseRecordState() {
|
|
|
3381
3792
|
multibeamIsRecording: false,
|
|
3382
3793
|
multibeamSeconds: 0,
|
|
3383
3794
|
multibeamFps: 0,
|
|
3795
|
+
storageLocation: 0,
|
|
3384
3796
|
};
|
|
3385
3797
|
}
|
|
3386
3798
|
exports.RecordState = {
|
|
@@ -3412,6 +3824,9 @@ exports.RecordState = {
|
|
|
3412
3824
|
if (message.multibeamFps !== 0) {
|
|
3413
3825
|
writer.uint32(77).float(message.multibeamFps);
|
|
3414
3826
|
}
|
|
3827
|
+
if (message.storageLocation !== 0) {
|
|
3828
|
+
writer.uint32(80).int32(message.storageLocation);
|
|
3829
|
+
}
|
|
3415
3830
|
return writer;
|
|
3416
3831
|
},
|
|
3417
3832
|
decode(input, length) {
|
|
@@ -3484,6 +3899,13 @@ exports.RecordState = {
|
|
|
3484
3899
|
message.multibeamFps = reader.float();
|
|
3485
3900
|
continue;
|
|
3486
3901
|
}
|
|
3902
|
+
case 10: {
|
|
3903
|
+
if (tag !== 80) {
|
|
3904
|
+
break;
|
|
3905
|
+
}
|
|
3906
|
+
message.storageLocation = reader.int32();
|
|
3907
|
+
continue;
|
|
3908
|
+
}
|
|
3487
3909
|
}
|
|
3488
3910
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3489
3911
|
break;
|
|
@@ -3503,6 +3925,7 @@ exports.RecordState = {
|
|
|
3503
3925
|
multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
|
|
3504
3926
|
multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
|
|
3505
3927
|
multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
|
|
3928
|
+
storageLocation: isSet(object.storageLocation) ? storageLocationFromJSON(object.storageLocation) : 0,
|
|
3506
3929
|
};
|
|
3507
3930
|
},
|
|
3508
3931
|
toJSON(message) {
|
|
@@ -3534,6 +3957,9 @@ exports.RecordState = {
|
|
|
3534
3957
|
if (message.multibeamFps !== 0) {
|
|
3535
3958
|
obj.multibeamFps = message.multibeamFps;
|
|
3536
3959
|
}
|
|
3960
|
+
if (message.storageLocation !== 0) {
|
|
3961
|
+
obj.storageLocation = storageLocationToJSON(message.storageLocation);
|
|
3962
|
+
}
|
|
3537
3963
|
return obj;
|
|
3538
3964
|
},
|
|
3539
3965
|
create(base) {
|
|
@@ -3550,6 +3976,7 @@ exports.RecordState = {
|
|
|
3550
3976
|
message.multibeamIsRecording = object.multibeamIsRecording ?? false;
|
|
3551
3977
|
message.multibeamSeconds = object.multibeamSeconds ?? 0;
|
|
3552
3978
|
message.multibeamFps = object.multibeamFps ?? 0;
|
|
3979
|
+
message.storageLocation = object.storageLocation ?? 0;
|
|
3553
3980
|
return message;
|
|
3554
3981
|
},
|
|
3555
3982
|
};
|
|
@@ -7456,92 +7883,461 @@ exports.StorageSpace = {
|
|
|
7456
7883
|
return message;
|
|
7457
7884
|
},
|
|
7458
7885
|
};
|
|
7459
|
-
function
|
|
7460
|
-
return {
|
|
7461
|
-
status: 0,
|
|
7462
|
-
progressXPositive: 0,
|
|
7463
|
-
progressXNegative: 0,
|
|
7464
|
-
progressYPositive: 0,
|
|
7465
|
-
progressYNegative: 0,
|
|
7466
|
-
progressZPositive: 0,
|
|
7467
|
-
progressZNegative: 0,
|
|
7468
|
-
progressThruster: 0,
|
|
7469
|
-
};
|
|
7886
|
+
function createBaseStoragePartition() {
|
|
7887
|
+
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "" };
|
|
7470
7888
|
}
|
|
7471
|
-
exports.
|
|
7889
|
+
exports.StoragePartition = {
|
|
7472
7890
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
7473
|
-
if (message.
|
|
7474
|
-
writer.uint32(
|
|
7475
|
-
}
|
|
7476
|
-
if (message.progressXPositive !== 0) {
|
|
7477
|
-
writer.uint32(21).float(message.progressXPositive);
|
|
7478
|
-
}
|
|
7479
|
-
if (message.progressXNegative !== 0) {
|
|
7480
|
-
writer.uint32(29).float(message.progressXNegative);
|
|
7481
|
-
}
|
|
7482
|
-
if (message.progressYPositive !== 0) {
|
|
7483
|
-
writer.uint32(37).float(message.progressYPositive);
|
|
7484
|
-
}
|
|
7485
|
-
if (message.progressYNegative !== 0) {
|
|
7486
|
-
writer.uint32(45).float(message.progressYNegative);
|
|
7891
|
+
if (message.storageSpace !== undefined) {
|
|
7892
|
+
exports.StorageSpace.encode(message.storageSpace, writer.uint32(10).fork()).join();
|
|
7487
7893
|
}
|
|
7488
|
-
if (message.
|
|
7489
|
-
writer.uint32(
|
|
7894
|
+
if (message.fileSystemType !== "") {
|
|
7895
|
+
writer.uint32(18).string(message.fileSystemType);
|
|
7490
7896
|
}
|
|
7491
|
-
if (message.
|
|
7492
|
-
writer.uint32(
|
|
7897
|
+
if (message.devicePath !== "") {
|
|
7898
|
+
writer.uint32(26).string(message.devicePath);
|
|
7493
7899
|
}
|
|
7494
|
-
if (message.
|
|
7495
|
-
writer.uint32(
|
|
7900
|
+
if (message.mountPath !== "") {
|
|
7901
|
+
writer.uint32(34).string(message.mountPath);
|
|
7496
7902
|
}
|
|
7497
7903
|
return writer;
|
|
7498
7904
|
},
|
|
7499
7905
|
decode(input, length) {
|
|
7500
7906
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
7501
7907
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
7502
|
-
const message =
|
|
7908
|
+
const message = createBaseStoragePartition();
|
|
7503
7909
|
while (reader.pos < end) {
|
|
7504
7910
|
const tag = reader.uint32();
|
|
7505
7911
|
switch (tag >>> 3) {
|
|
7506
7912
|
case 1: {
|
|
7507
|
-
if (tag !==
|
|
7913
|
+
if (tag !== 10) {
|
|
7508
7914
|
break;
|
|
7509
7915
|
}
|
|
7510
|
-
message.
|
|
7916
|
+
message.storageSpace = exports.StorageSpace.decode(reader, reader.uint32());
|
|
7511
7917
|
continue;
|
|
7512
7918
|
}
|
|
7513
7919
|
case 2: {
|
|
7514
|
-
if (tag !==
|
|
7920
|
+
if (tag !== 18) {
|
|
7515
7921
|
break;
|
|
7516
7922
|
}
|
|
7517
|
-
message.
|
|
7923
|
+
message.fileSystemType = reader.string();
|
|
7518
7924
|
continue;
|
|
7519
7925
|
}
|
|
7520
7926
|
case 3: {
|
|
7521
|
-
if (tag !==
|
|
7927
|
+
if (tag !== 26) {
|
|
7522
7928
|
break;
|
|
7523
7929
|
}
|
|
7524
|
-
message.
|
|
7930
|
+
message.devicePath = reader.string();
|
|
7525
7931
|
continue;
|
|
7526
7932
|
}
|
|
7527
7933
|
case 4: {
|
|
7528
|
-
if (tag !==
|
|
7529
|
-
break;
|
|
7530
|
-
}
|
|
7531
|
-
message.progressYPositive = reader.float();
|
|
7532
|
-
continue;
|
|
7533
|
-
}
|
|
7534
|
-
case 5: {
|
|
7535
|
-
if (tag !== 45) {
|
|
7934
|
+
if (tag !== 34) {
|
|
7536
7935
|
break;
|
|
7537
7936
|
}
|
|
7538
|
-
message.
|
|
7937
|
+
message.mountPath = reader.string();
|
|
7539
7938
|
continue;
|
|
7540
7939
|
}
|
|
7541
|
-
|
|
7542
|
-
|
|
7543
|
-
|
|
7544
|
-
|
|
7940
|
+
}
|
|
7941
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
7942
|
+
break;
|
|
7943
|
+
}
|
|
7944
|
+
reader.skip(tag & 7);
|
|
7945
|
+
}
|
|
7946
|
+
return message;
|
|
7947
|
+
},
|
|
7948
|
+
fromJSON(object) {
|
|
7949
|
+
return {
|
|
7950
|
+
storageSpace: isSet(object.storageSpace) ? exports.StorageSpace.fromJSON(object.storageSpace) : undefined,
|
|
7951
|
+
fileSystemType: isSet(object.fileSystemType) ? gt.String(object.fileSystemType) : "",
|
|
7952
|
+
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
7953
|
+
mountPath: isSet(object.mountPath) ? gt.String(object.mountPath) : "",
|
|
7954
|
+
};
|
|
7955
|
+
},
|
|
7956
|
+
toJSON(message) {
|
|
7957
|
+
const obj = {};
|
|
7958
|
+
if (message.storageSpace !== undefined) {
|
|
7959
|
+
obj.storageSpace = exports.StorageSpace.toJSON(message.storageSpace);
|
|
7960
|
+
}
|
|
7961
|
+
if (message.fileSystemType !== "") {
|
|
7962
|
+
obj.fileSystemType = message.fileSystemType;
|
|
7963
|
+
}
|
|
7964
|
+
if (message.devicePath !== "") {
|
|
7965
|
+
obj.devicePath = message.devicePath;
|
|
7966
|
+
}
|
|
7967
|
+
if (message.mountPath !== "") {
|
|
7968
|
+
obj.mountPath = message.mountPath;
|
|
7969
|
+
}
|
|
7970
|
+
return obj;
|
|
7971
|
+
},
|
|
7972
|
+
create(base) {
|
|
7973
|
+
return exports.StoragePartition.fromPartial(base ?? {});
|
|
7974
|
+
},
|
|
7975
|
+
fromPartial(object) {
|
|
7976
|
+
const message = createBaseStoragePartition();
|
|
7977
|
+
message.storageSpace = (object.storageSpace !== undefined && object.storageSpace !== null)
|
|
7978
|
+
? exports.StorageSpace.fromPartial(object.storageSpace)
|
|
7979
|
+
: undefined;
|
|
7980
|
+
message.fileSystemType = object.fileSystemType ?? "";
|
|
7981
|
+
message.devicePath = object.devicePath ?? "";
|
|
7982
|
+
message.mountPath = object.mountPath ?? "";
|
|
7983
|
+
return message;
|
|
7984
|
+
},
|
|
7985
|
+
};
|
|
7986
|
+
function createBaseRemovableStorageDevice() {
|
|
7987
|
+
return { vendorName: "", modelName: "", devicePath: "", status: 0, errorFlags: undefined, partitions: [] };
|
|
7988
|
+
}
|
|
7989
|
+
exports.RemovableStorageDevice = {
|
|
7990
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
7991
|
+
if (message.vendorName !== "") {
|
|
7992
|
+
writer.uint32(10).string(message.vendorName);
|
|
7993
|
+
}
|
|
7994
|
+
if (message.modelName !== "") {
|
|
7995
|
+
writer.uint32(18).string(message.modelName);
|
|
7996
|
+
}
|
|
7997
|
+
if (message.devicePath !== "") {
|
|
7998
|
+
writer.uint32(26).string(message.devicePath);
|
|
7999
|
+
}
|
|
8000
|
+
if (message.status !== 0) {
|
|
8001
|
+
writer.uint32(32).int32(message.status);
|
|
8002
|
+
}
|
|
8003
|
+
if (message.errorFlags !== undefined) {
|
|
8004
|
+
exports.RemovableStorageErrorFlags.encode(message.errorFlags, writer.uint32(42).fork()).join();
|
|
8005
|
+
}
|
|
8006
|
+
for (const v of message.partitions) {
|
|
8007
|
+
exports.StoragePartition.encode(v, writer.uint32(50).fork()).join();
|
|
8008
|
+
}
|
|
8009
|
+
return writer;
|
|
8010
|
+
},
|
|
8011
|
+
decode(input, length) {
|
|
8012
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8013
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8014
|
+
const message = createBaseRemovableStorageDevice();
|
|
8015
|
+
while (reader.pos < end) {
|
|
8016
|
+
const tag = reader.uint32();
|
|
8017
|
+
switch (tag >>> 3) {
|
|
8018
|
+
case 1: {
|
|
8019
|
+
if (tag !== 10) {
|
|
8020
|
+
break;
|
|
8021
|
+
}
|
|
8022
|
+
message.vendorName = reader.string();
|
|
8023
|
+
continue;
|
|
8024
|
+
}
|
|
8025
|
+
case 2: {
|
|
8026
|
+
if (tag !== 18) {
|
|
8027
|
+
break;
|
|
8028
|
+
}
|
|
8029
|
+
message.modelName = reader.string();
|
|
8030
|
+
continue;
|
|
8031
|
+
}
|
|
8032
|
+
case 3: {
|
|
8033
|
+
if (tag !== 26) {
|
|
8034
|
+
break;
|
|
8035
|
+
}
|
|
8036
|
+
message.devicePath = reader.string();
|
|
8037
|
+
continue;
|
|
8038
|
+
}
|
|
8039
|
+
case 4: {
|
|
8040
|
+
if (tag !== 32) {
|
|
8041
|
+
break;
|
|
8042
|
+
}
|
|
8043
|
+
message.status = reader.int32();
|
|
8044
|
+
continue;
|
|
8045
|
+
}
|
|
8046
|
+
case 5: {
|
|
8047
|
+
if (tag !== 42) {
|
|
8048
|
+
break;
|
|
8049
|
+
}
|
|
8050
|
+
message.errorFlags = exports.RemovableStorageErrorFlags.decode(reader, reader.uint32());
|
|
8051
|
+
continue;
|
|
8052
|
+
}
|
|
8053
|
+
case 6: {
|
|
8054
|
+
if (tag !== 50) {
|
|
8055
|
+
break;
|
|
8056
|
+
}
|
|
8057
|
+
message.partitions.push(exports.StoragePartition.decode(reader, reader.uint32()));
|
|
8058
|
+
continue;
|
|
8059
|
+
}
|
|
8060
|
+
}
|
|
8061
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8062
|
+
break;
|
|
8063
|
+
}
|
|
8064
|
+
reader.skip(tag & 7);
|
|
8065
|
+
}
|
|
8066
|
+
return message;
|
|
8067
|
+
},
|
|
8068
|
+
fromJSON(object) {
|
|
8069
|
+
return {
|
|
8070
|
+
vendorName: isSet(object.vendorName) ? gt.String(object.vendorName) : "",
|
|
8071
|
+
modelName: isSet(object.modelName) ? gt.String(object.modelName) : "",
|
|
8072
|
+
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
8073
|
+
status: isSet(object.status) ? removableStorageDevice_StatusFromJSON(object.status) : 0,
|
|
8074
|
+
errorFlags: isSet(object.errorFlags) ? exports.RemovableStorageErrorFlags.fromJSON(object.errorFlags) : undefined,
|
|
8075
|
+
partitions: gt.Array.isArray(object?.partitions)
|
|
8076
|
+
? object.partitions.map((e) => exports.StoragePartition.fromJSON(e))
|
|
8077
|
+
: [],
|
|
8078
|
+
};
|
|
8079
|
+
},
|
|
8080
|
+
toJSON(message) {
|
|
8081
|
+
const obj = {};
|
|
8082
|
+
if (message.vendorName !== "") {
|
|
8083
|
+
obj.vendorName = message.vendorName;
|
|
8084
|
+
}
|
|
8085
|
+
if (message.modelName !== "") {
|
|
8086
|
+
obj.modelName = message.modelName;
|
|
8087
|
+
}
|
|
8088
|
+
if (message.devicePath !== "") {
|
|
8089
|
+
obj.devicePath = message.devicePath;
|
|
8090
|
+
}
|
|
8091
|
+
if (message.status !== 0) {
|
|
8092
|
+
obj.status = removableStorageDevice_StatusToJSON(message.status);
|
|
8093
|
+
}
|
|
8094
|
+
if (message.errorFlags !== undefined) {
|
|
8095
|
+
obj.errorFlags = exports.RemovableStorageErrorFlags.toJSON(message.errorFlags);
|
|
8096
|
+
}
|
|
8097
|
+
if (message.partitions?.length) {
|
|
8098
|
+
obj.partitions = message.partitions.map((e) => exports.StoragePartition.toJSON(e));
|
|
8099
|
+
}
|
|
8100
|
+
return obj;
|
|
8101
|
+
},
|
|
8102
|
+
create(base) {
|
|
8103
|
+
return exports.RemovableStorageDevice.fromPartial(base ?? {});
|
|
8104
|
+
},
|
|
8105
|
+
fromPartial(object) {
|
|
8106
|
+
const message = createBaseRemovableStorageDevice();
|
|
8107
|
+
message.vendorName = object.vendorName ?? "";
|
|
8108
|
+
message.modelName = object.modelName ?? "";
|
|
8109
|
+
message.devicePath = object.devicePath ?? "";
|
|
8110
|
+
message.status = object.status ?? 0;
|
|
8111
|
+
message.errorFlags = (object.errorFlags !== undefined && object.errorFlags !== null)
|
|
8112
|
+
? exports.RemovableStorageErrorFlags.fromPartial(object.errorFlags)
|
|
8113
|
+
: undefined;
|
|
8114
|
+
message.partitions = object.partitions?.map((e) => exports.StoragePartition.fromPartial(e)) || [];
|
|
8115
|
+
return message;
|
|
8116
|
+
},
|
|
8117
|
+
};
|
|
8118
|
+
function createBaseRemovableStorageErrorFlags() {
|
|
8119
|
+
return {
|
|
8120
|
+
errorMessage: "",
|
|
8121
|
+
noPartitionsFound: false,
|
|
8122
|
+
multiplePartitionsFound: false,
|
|
8123
|
+
wrongFileSystemFound: false,
|
|
8124
|
+
deviceIsReadOnly: false,
|
|
8125
|
+
formattingFailed: false,
|
|
8126
|
+
};
|
|
8127
|
+
}
|
|
8128
|
+
exports.RemovableStorageErrorFlags = {
|
|
8129
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
8130
|
+
if (message.errorMessage !== "") {
|
|
8131
|
+
writer.uint32(10).string(message.errorMessage);
|
|
8132
|
+
}
|
|
8133
|
+
if (message.noPartitionsFound !== false) {
|
|
8134
|
+
writer.uint32(16).bool(message.noPartitionsFound);
|
|
8135
|
+
}
|
|
8136
|
+
if (message.multiplePartitionsFound !== false) {
|
|
8137
|
+
writer.uint32(24).bool(message.multiplePartitionsFound);
|
|
8138
|
+
}
|
|
8139
|
+
if (message.wrongFileSystemFound !== false) {
|
|
8140
|
+
writer.uint32(32).bool(message.wrongFileSystemFound);
|
|
8141
|
+
}
|
|
8142
|
+
if (message.deviceIsReadOnly !== false) {
|
|
8143
|
+
writer.uint32(40).bool(message.deviceIsReadOnly);
|
|
8144
|
+
}
|
|
8145
|
+
if (message.formattingFailed !== false) {
|
|
8146
|
+
writer.uint32(48).bool(message.formattingFailed);
|
|
8147
|
+
}
|
|
8148
|
+
return writer;
|
|
8149
|
+
},
|
|
8150
|
+
decode(input, length) {
|
|
8151
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8152
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8153
|
+
const message = createBaseRemovableStorageErrorFlags();
|
|
8154
|
+
while (reader.pos < end) {
|
|
8155
|
+
const tag = reader.uint32();
|
|
8156
|
+
switch (tag >>> 3) {
|
|
8157
|
+
case 1: {
|
|
8158
|
+
if (tag !== 10) {
|
|
8159
|
+
break;
|
|
8160
|
+
}
|
|
8161
|
+
message.errorMessage = reader.string();
|
|
8162
|
+
continue;
|
|
8163
|
+
}
|
|
8164
|
+
case 2: {
|
|
8165
|
+
if (tag !== 16) {
|
|
8166
|
+
break;
|
|
8167
|
+
}
|
|
8168
|
+
message.noPartitionsFound = reader.bool();
|
|
8169
|
+
continue;
|
|
8170
|
+
}
|
|
8171
|
+
case 3: {
|
|
8172
|
+
if (tag !== 24) {
|
|
8173
|
+
break;
|
|
8174
|
+
}
|
|
8175
|
+
message.multiplePartitionsFound = reader.bool();
|
|
8176
|
+
continue;
|
|
8177
|
+
}
|
|
8178
|
+
case 4: {
|
|
8179
|
+
if (tag !== 32) {
|
|
8180
|
+
break;
|
|
8181
|
+
}
|
|
8182
|
+
message.wrongFileSystemFound = reader.bool();
|
|
8183
|
+
continue;
|
|
8184
|
+
}
|
|
8185
|
+
case 5: {
|
|
8186
|
+
if (tag !== 40) {
|
|
8187
|
+
break;
|
|
8188
|
+
}
|
|
8189
|
+
message.deviceIsReadOnly = reader.bool();
|
|
8190
|
+
continue;
|
|
8191
|
+
}
|
|
8192
|
+
case 6: {
|
|
8193
|
+
if (tag !== 48) {
|
|
8194
|
+
break;
|
|
8195
|
+
}
|
|
8196
|
+
message.formattingFailed = reader.bool();
|
|
8197
|
+
continue;
|
|
8198
|
+
}
|
|
8199
|
+
}
|
|
8200
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8201
|
+
break;
|
|
8202
|
+
}
|
|
8203
|
+
reader.skip(tag & 7);
|
|
8204
|
+
}
|
|
8205
|
+
return message;
|
|
8206
|
+
},
|
|
8207
|
+
fromJSON(object) {
|
|
8208
|
+
return {
|
|
8209
|
+
errorMessage: isSet(object.errorMessage) ? gt.String(object.errorMessage) : "",
|
|
8210
|
+
noPartitionsFound: isSet(object.noPartitionsFound) ? gt.Boolean(object.noPartitionsFound) : false,
|
|
8211
|
+
multiplePartitionsFound: isSet(object.multiplePartitionsFound)
|
|
8212
|
+
? gt.Boolean(object.multiplePartitionsFound)
|
|
8213
|
+
: false,
|
|
8214
|
+
wrongFileSystemFound: isSet(object.wrongFileSystemFound) ? gt.Boolean(object.wrongFileSystemFound) : false,
|
|
8215
|
+
deviceIsReadOnly: isSet(object.deviceIsReadOnly) ? gt.Boolean(object.deviceIsReadOnly) : false,
|
|
8216
|
+
formattingFailed: isSet(object.formattingFailed) ? gt.Boolean(object.formattingFailed) : false,
|
|
8217
|
+
};
|
|
8218
|
+
},
|
|
8219
|
+
toJSON(message) {
|
|
8220
|
+
const obj = {};
|
|
8221
|
+
if (message.errorMessage !== "") {
|
|
8222
|
+
obj.errorMessage = message.errorMessage;
|
|
8223
|
+
}
|
|
8224
|
+
if (message.noPartitionsFound !== false) {
|
|
8225
|
+
obj.noPartitionsFound = message.noPartitionsFound;
|
|
8226
|
+
}
|
|
8227
|
+
if (message.multiplePartitionsFound !== false) {
|
|
8228
|
+
obj.multiplePartitionsFound = message.multiplePartitionsFound;
|
|
8229
|
+
}
|
|
8230
|
+
if (message.wrongFileSystemFound !== false) {
|
|
8231
|
+
obj.wrongFileSystemFound = message.wrongFileSystemFound;
|
|
8232
|
+
}
|
|
8233
|
+
if (message.deviceIsReadOnly !== false) {
|
|
8234
|
+
obj.deviceIsReadOnly = message.deviceIsReadOnly;
|
|
8235
|
+
}
|
|
8236
|
+
if (message.formattingFailed !== false) {
|
|
8237
|
+
obj.formattingFailed = message.formattingFailed;
|
|
8238
|
+
}
|
|
8239
|
+
return obj;
|
|
8240
|
+
},
|
|
8241
|
+
create(base) {
|
|
8242
|
+
return exports.RemovableStorageErrorFlags.fromPartial(base ?? {});
|
|
8243
|
+
},
|
|
8244
|
+
fromPartial(object) {
|
|
8245
|
+
const message = createBaseRemovableStorageErrorFlags();
|
|
8246
|
+
message.errorMessage = object.errorMessage ?? "";
|
|
8247
|
+
message.noPartitionsFound = object.noPartitionsFound ?? false;
|
|
8248
|
+
message.multiplePartitionsFound = object.multiplePartitionsFound ?? false;
|
|
8249
|
+
message.wrongFileSystemFound = object.wrongFileSystemFound ?? false;
|
|
8250
|
+
message.deviceIsReadOnly = object.deviceIsReadOnly ?? false;
|
|
8251
|
+
message.formattingFailed = object.formattingFailed ?? false;
|
|
8252
|
+
return message;
|
|
8253
|
+
},
|
|
8254
|
+
};
|
|
8255
|
+
function createBaseCalibrationState() {
|
|
8256
|
+
return {
|
|
8257
|
+
status: 0,
|
|
8258
|
+
progressXPositive: 0,
|
|
8259
|
+
progressXNegative: 0,
|
|
8260
|
+
progressYPositive: 0,
|
|
8261
|
+
progressYNegative: 0,
|
|
8262
|
+
progressZPositive: 0,
|
|
8263
|
+
progressZNegative: 0,
|
|
8264
|
+
progressThruster: 0,
|
|
8265
|
+
};
|
|
8266
|
+
}
|
|
8267
|
+
exports.CalibrationState = {
|
|
8268
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
8269
|
+
if (message.status !== 0) {
|
|
8270
|
+
writer.uint32(8).int32(message.status);
|
|
8271
|
+
}
|
|
8272
|
+
if (message.progressXPositive !== 0) {
|
|
8273
|
+
writer.uint32(21).float(message.progressXPositive);
|
|
8274
|
+
}
|
|
8275
|
+
if (message.progressXNegative !== 0) {
|
|
8276
|
+
writer.uint32(29).float(message.progressXNegative);
|
|
8277
|
+
}
|
|
8278
|
+
if (message.progressYPositive !== 0) {
|
|
8279
|
+
writer.uint32(37).float(message.progressYPositive);
|
|
8280
|
+
}
|
|
8281
|
+
if (message.progressYNegative !== 0) {
|
|
8282
|
+
writer.uint32(45).float(message.progressYNegative);
|
|
8283
|
+
}
|
|
8284
|
+
if (message.progressZPositive !== 0) {
|
|
8285
|
+
writer.uint32(53).float(message.progressZPositive);
|
|
8286
|
+
}
|
|
8287
|
+
if (message.progressZNegative !== 0) {
|
|
8288
|
+
writer.uint32(61).float(message.progressZNegative);
|
|
8289
|
+
}
|
|
8290
|
+
if (message.progressThruster !== 0) {
|
|
8291
|
+
writer.uint32(69).float(message.progressThruster);
|
|
8292
|
+
}
|
|
8293
|
+
return writer;
|
|
8294
|
+
},
|
|
8295
|
+
decode(input, length) {
|
|
8296
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8297
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8298
|
+
const message = createBaseCalibrationState();
|
|
8299
|
+
while (reader.pos < end) {
|
|
8300
|
+
const tag = reader.uint32();
|
|
8301
|
+
switch (tag >>> 3) {
|
|
8302
|
+
case 1: {
|
|
8303
|
+
if (tag !== 8) {
|
|
8304
|
+
break;
|
|
8305
|
+
}
|
|
8306
|
+
message.status = reader.int32();
|
|
8307
|
+
continue;
|
|
8308
|
+
}
|
|
8309
|
+
case 2: {
|
|
8310
|
+
if (tag !== 21) {
|
|
8311
|
+
break;
|
|
8312
|
+
}
|
|
8313
|
+
message.progressXPositive = reader.float();
|
|
8314
|
+
continue;
|
|
8315
|
+
}
|
|
8316
|
+
case 3: {
|
|
8317
|
+
if (tag !== 29) {
|
|
8318
|
+
break;
|
|
8319
|
+
}
|
|
8320
|
+
message.progressXNegative = reader.float();
|
|
8321
|
+
continue;
|
|
8322
|
+
}
|
|
8323
|
+
case 4: {
|
|
8324
|
+
if (tag !== 37) {
|
|
8325
|
+
break;
|
|
8326
|
+
}
|
|
8327
|
+
message.progressYPositive = reader.float();
|
|
8328
|
+
continue;
|
|
8329
|
+
}
|
|
8330
|
+
case 5: {
|
|
8331
|
+
if (tag !== 45) {
|
|
8332
|
+
break;
|
|
8333
|
+
}
|
|
8334
|
+
message.progressYNegative = reader.float();
|
|
8335
|
+
continue;
|
|
8336
|
+
}
|
|
8337
|
+
case 6: {
|
|
8338
|
+
if (tag !== 53) {
|
|
8339
|
+
break;
|
|
8340
|
+
}
|
|
7545
8341
|
message.progressZPositive = reader.float();
|
|
7546
8342
|
continue;
|
|
7547
8343
|
}
|
|
@@ -8881,9 +9677,20 @@ function createBaseCameraParameters() {
|
|
|
8881
9677
|
whiteBalance: 0,
|
|
8882
9678
|
hue: 0,
|
|
8883
9679
|
gain: 0,
|
|
9680
|
+
brightness: 0,
|
|
9681
|
+
contrast: 0,
|
|
9682
|
+
saturation: 0,
|
|
9683
|
+
gamma: 0,
|
|
9684
|
+
sharpness: 0,
|
|
9685
|
+
backlightCompensation: 0,
|
|
9686
|
+
denoise: 0,
|
|
9687
|
+
ehdrEnabled: false,
|
|
9688
|
+
ehdrExposureMinNumber: 0,
|
|
9689
|
+
ehdrExposureMaxNumber: 0,
|
|
8884
9690
|
resolution: 0,
|
|
8885
9691
|
streamResolution: 0,
|
|
8886
9692
|
recordingResolution: 0,
|
|
9693
|
+
streamingProtocol: 0,
|
|
8887
9694
|
framerate: 0,
|
|
8888
9695
|
camera: 0,
|
|
8889
9696
|
};
|
|
@@ -8908,6 +9715,36 @@ exports.CameraParameters = {
|
|
|
8908
9715
|
if (message.gain !== 0) {
|
|
8909
9716
|
writer.uint32(77).float(message.gain);
|
|
8910
9717
|
}
|
|
9718
|
+
if (message.brightness !== 0) {
|
|
9719
|
+
writer.uint32(96).int32(message.brightness);
|
|
9720
|
+
}
|
|
9721
|
+
if (message.contrast !== 0) {
|
|
9722
|
+
writer.uint32(104).int32(message.contrast);
|
|
9723
|
+
}
|
|
9724
|
+
if (message.saturation !== 0) {
|
|
9725
|
+
writer.uint32(112).int32(message.saturation);
|
|
9726
|
+
}
|
|
9727
|
+
if (message.gamma !== 0) {
|
|
9728
|
+
writer.uint32(120).int32(message.gamma);
|
|
9729
|
+
}
|
|
9730
|
+
if (message.sharpness !== 0) {
|
|
9731
|
+
writer.uint32(128).int32(message.sharpness);
|
|
9732
|
+
}
|
|
9733
|
+
if (message.backlightCompensation !== 0) {
|
|
9734
|
+
writer.uint32(136).int32(message.backlightCompensation);
|
|
9735
|
+
}
|
|
9736
|
+
if (message.denoise !== 0) {
|
|
9737
|
+
writer.uint32(144).int32(message.denoise);
|
|
9738
|
+
}
|
|
9739
|
+
if (message.ehdrEnabled !== false) {
|
|
9740
|
+
writer.uint32(168).bool(message.ehdrEnabled);
|
|
9741
|
+
}
|
|
9742
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
9743
|
+
writer.uint32(176).int32(message.ehdrExposureMinNumber);
|
|
9744
|
+
}
|
|
9745
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
9746
|
+
writer.uint32(184).int32(message.ehdrExposureMaxNumber);
|
|
9747
|
+
}
|
|
8911
9748
|
if (message.resolution !== 0) {
|
|
8912
9749
|
writer.uint32(48).int32(message.resolution);
|
|
8913
9750
|
}
|
|
@@ -8917,6 +9754,9 @@ exports.CameraParameters = {
|
|
|
8917
9754
|
if (message.recordingResolution !== 0) {
|
|
8918
9755
|
writer.uint32(88).int32(message.recordingResolution);
|
|
8919
9756
|
}
|
|
9757
|
+
if (message.streamingProtocol !== 0) {
|
|
9758
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
9759
|
+
}
|
|
8920
9760
|
if (message.framerate !== 0) {
|
|
8921
9761
|
writer.uint32(56).int32(message.framerate);
|
|
8922
9762
|
}
|
|
@@ -8974,6 +9814,76 @@ exports.CameraParameters = {
|
|
|
8974
9814
|
message.gain = reader.float();
|
|
8975
9815
|
continue;
|
|
8976
9816
|
}
|
|
9817
|
+
case 12: {
|
|
9818
|
+
if (tag !== 96) {
|
|
9819
|
+
break;
|
|
9820
|
+
}
|
|
9821
|
+
message.brightness = reader.int32();
|
|
9822
|
+
continue;
|
|
9823
|
+
}
|
|
9824
|
+
case 13: {
|
|
9825
|
+
if (tag !== 104) {
|
|
9826
|
+
break;
|
|
9827
|
+
}
|
|
9828
|
+
message.contrast = reader.int32();
|
|
9829
|
+
continue;
|
|
9830
|
+
}
|
|
9831
|
+
case 14: {
|
|
9832
|
+
if (tag !== 112) {
|
|
9833
|
+
break;
|
|
9834
|
+
}
|
|
9835
|
+
message.saturation = reader.int32();
|
|
9836
|
+
continue;
|
|
9837
|
+
}
|
|
9838
|
+
case 15: {
|
|
9839
|
+
if (tag !== 120) {
|
|
9840
|
+
break;
|
|
9841
|
+
}
|
|
9842
|
+
message.gamma = reader.int32();
|
|
9843
|
+
continue;
|
|
9844
|
+
}
|
|
9845
|
+
case 16: {
|
|
9846
|
+
if (tag !== 128) {
|
|
9847
|
+
break;
|
|
9848
|
+
}
|
|
9849
|
+
message.sharpness = reader.int32();
|
|
9850
|
+
continue;
|
|
9851
|
+
}
|
|
9852
|
+
case 17: {
|
|
9853
|
+
if (tag !== 136) {
|
|
9854
|
+
break;
|
|
9855
|
+
}
|
|
9856
|
+
message.backlightCompensation = reader.int32();
|
|
9857
|
+
continue;
|
|
9858
|
+
}
|
|
9859
|
+
case 18: {
|
|
9860
|
+
if (tag !== 144) {
|
|
9861
|
+
break;
|
|
9862
|
+
}
|
|
9863
|
+
message.denoise = reader.int32();
|
|
9864
|
+
continue;
|
|
9865
|
+
}
|
|
9866
|
+
case 21: {
|
|
9867
|
+
if (tag !== 168) {
|
|
9868
|
+
break;
|
|
9869
|
+
}
|
|
9870
|
+
message.ehdrEnabled = reader.bool();
|
|
9871
|
+
continue;
|
|
9872
|
+
}
|
|
9873
|
+
case 22: {
|
|
9874
|
+
if (tag !== 176) {
|
|
9875
|
+
break;
|
|
9876
|
+
}
|
|
9877
|
+
message.ehdrExposureMinNumber = reader.int32();
|
|
9878
|
+
continue;
|
|
9879
|
+
}
|
|
9880
|
+
case 23: {
|
|
9881
|
+
if (tag !== 184) {
|
|
9882
|
+
break;
|
|
9883
|
+
}
|
|
9884
|
+
message.ehdrExposureMaxNumber = reader.int32();
|
|
9885
|
+
continue;
|
|
9886
|
+
}
|
|
8977
9887
|
case 6: {
|
|
8978
9888
|
if (tag !== 48) {
|
|
8979
9889
|
break;
|
|
@@ -8995,6 +9905,13 @@ exports.CameraParameters = {
|
|
|
8995
9905
|
message.recordingResolution = reader.int32();
|
|
8996
9906
|
continue;
|
|
8997
9907
|
}
|
|
9908
|
+
case 20: {
|
|
9909
|
+
if (tag !== 160) {
|
|
9910
|
+
break;
|
|
9911
|
+
}
|
|
9912
|
+
message.streamingProtocol = reader.int32();
|
|
9913
|
+
continue;
|
|
9914
|
+
}
|
|
8998
9915
|
case 7: {
|
|
8999
9916
|
if (tag !== 56) {
|
|
9000
9917
|
break;
|
|
@@ -9025,9 +9942,20 @@ exports.CameraParameters = {
|
|
|
9025
9942
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9026
9943
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9027
9944
|
gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
|
|
9945
|
+
brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
|
|
9946
|
+
contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
|
|
9947
|
+
saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
|
|
9948
|
+
gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
|
|
9949
|
+
sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
|
|
9950
|
+
backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
|
|
9951
|
+
denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
|
|
9952
|
+
ehdrEnabled: isSet(object.ehdrEnabled) ? gt.Boolean(object.ehdrEnabled) : false,
|
|
9953
|
+
ehdrExposureMinNumber: isSet(object.ehdrExposureMinNumber) ? gt.Number(object.ehdrExposureMinNumber) : 0,
|
|
9954
|
+
ehdrExposureMaxNumber: isSet(object.ehdrExposureMaxNumber) ? gt.Number(object.ehdrExposureMaxNumber) : 0,
|
|
9028
9955
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9029
9956
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9030
9957
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
9958
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9031
9959
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9032
9960
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
9033
9961
|
};
|
|
@@ -9052,6 +9980,36 @@ exports.CameraParameters = {
|
|
|
9052
9980
|
if (message.gain !== 0) {
|
|
9053
9981
|
obj.gain = message.gain;
|
|
9054
9982
|
}
|
|
9983
|
+
if (message.brightness !== 0) {
|
|
9984
|
+
obj.brightness = Math.round(message.brightness);
|
|
9985
|
+
}
|
|
9986
|
+
if (message.contrast !== 0) {
|
|
9987
|
+
obj.contrast = Math.round(message.contrast);
|
|
9988
|
+
}
|
|
9989
|
+
if (message.saturation !== 0) {
|
|
9990
|
+
obj.saturation = Math.round(message.saturation);
|
|
9991
|
+
}
|
|
9992
|
+
if (message.gamma !== 0) {
|
|
9993
|
+
obj.gamma = Math.round(message.gamma);
|
|
9994
|
+
}
|
|
9995
|
+
if (message.sharpness !== 0) {
|
|
9996
|
+
obj.sharpness = Math.round(message.sharpness);
|
|
9997
|
+
}
|
|
9998
|
+
if (message.backlightCompensation !== 0) {
|
|
9999
|
+
obj.backlightCompensation = Math.round(message.backlightCompensation);
|
|
10000
|
+
}
|
|
10001
|
+
if (message.denoise !== 0) {
|
|
10002
|
+
obj.denoise = Math.round(message.denoise);
|
|
10003
|
+
}
|
|
10004
|
+
if (message.ehdrEnabled !== false) {
|
|
10005
|
+
obj.ehdrEnabled = message.ehdrEnabled;
|
|
10006
|
+
}
|
|
10007
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10008
|
+
obj.ehdrExposureMinNumber = Math.round(message.ehdrExposureMinNumber);
|
|
10009
|
+
}
|
|
10010
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10011
|
+
obj.ehdrExposureMaxNumber = Math.round(message.ehdrExposureMaxNumber);
|
|
10012
|
+
}
|
|
9055
10013
|
if (message.resolution !== 0) {
|
|
9056
10014
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9057
10015
|
}
|
|
@@ -9061,6 +10019,9 @@ exports.CameraParameters = {
|
|
|
9061
10019
|
if (message.recordingResolution !== 0) {
|
|
9062
10020
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9063
10021
|
}
|
|
10022
|
+
if (message.streamingProtocol !== 0) {
|
|
10023
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
10024
|
+
}
|
|
9064
10025
|
if (message.framerate !== 0) {
|
|
9065
10026
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9066
10027
|
}
|
|
@@ -9080,9 +10041,20 @@ exports.CameraParameters = {
|
|
|
9080
10041
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9081
10042
|
message.hue = object.hue ?? 0;
|
|
9082
10043
|
message.gain = object.gain ?? 0;
|
|
10044
|
+
message.brightness = object.brightness ?? 0;
|
|
10045
|
+
message.contrast = object.contrast ?? 0;
|
|
10046
|
+
message.saturation = object.saturation ?? 0;
|
|
10047
|
+
message.gamma = object.gamma ?? 0;
|
|
10048
|
+
message.sharpness = object.sharpness ?? 0;
|
|
10049
|
+
message.backlightCompensation = object.backlightCompensation ?? 0;
|
|
10050
|
+
message.denoise = object.denoise ?? 0;
|
|
10051
|
+
message.ehdrEnabled = object.ehdrEnabled ?? false;
|
|
10052
|
+
message.ehdrExposureMinNumber = object.ehdrExposureMinNumber ?? 0;
|
|
10053
|
+
message.ehdrExposureMaxNumber = object.ehdrExposureMaxNumber ?? 0;
|
|
9083
10054
|
message.resolution = object.resolution ?? 0;
|
|
9084
10055
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9085
10056
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
10057
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9086
10058
|
message.framerate = object.framerate ?? 0;
|
|
9087
10059
|
message.camera = object.camera ?? 0;
|
|
9088
10060
|
return message;
|
|
@@ -11828,7 +12800,7 @@ exports.PersistentStorageSettings = {
|
|
|
11828
12800
|
},
|
|
11829
12801
|
};
|
|
11830
12802
|
function createBaseCPUInfo() {
|
|
11831
|
-
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
|
|
12803
|
+
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
|
|
11832
12804
|
}
|
|
11833
12805
|
exports.CPUInfo = {
|
|
11834
12806
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -11844,6 +12816,9 @@ exports.CPUInfo = {
|
|
|
11844
12816
|
if (message.guestportQueueLoad !== 0) {
|
|
11845
12817
|
writer.uint32(37).float(message.guestportQueueLoad);
|
|
11846
12818
|
}
|
|
12819
|
+
if (message.commQueueLoad !== 0) {
|
|
12820
|
+
writer.uint32(45).float(message.commQueueLoad);
|
|
12821
|
+
}
|
|
11847
12822
|
return writer;
|
|
11848
12823
|
},
|
|
11849
12824
|
decode(input, length) {
|
|
@@ -11881,6 +12856,13 @@ exports.CPUInfo = {
|
|
|
11881
12856
|
message.guestportQueueLoad = reader.float();
|
|
11882
12857
|
continue;
|
|
11883
12858
|
}
|
|
12859
|
+
case 5: {
|
|
12860
|
+
if (tag !== 45) {
|
|
12861
|
+
break;
|
|
12862
|
+
}
|
|
12863
|
+
message.commQueueLoad = reader.float();
|
|
12864
|
+
continue;
|
|
12865
|
+
}
|
|
11884
12866
|
}
|
|
11885
12867
|
if ((tag & 7) === 4 || tag === 0) {
|
|
11886
12868
|
break;
|
|
@@ -11895,6 +12877,7 @@ exports.CPUInfo = {
|
|
|
11895
12877
|
memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
|
|
11896
12878
|
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
11897
12879
|
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
12880
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
11898
12881
|
};
|
|
11899
12882
|
},
|
|
11900
12883
|
toJSON(message) {
|
|
@@ -11911,6 +12894,9 @@ exports.CPUInfo = {
|
|
|
11911
12894
|
if (message.guestportQueueLoad !== 0) {
|
|
11912
12895
|
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
11913
12896
|
}
|
|
12897
|
+
if (message.commQueueLoad !== 0) {
|
|
12898
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
12899
|
+
}
|
|
11914
12900
|
return obj;
|
|
11915
12901
|
},
|
|
11916
12902
|
create(base) {
|
|
@@ -11922,6 +12908,126 @@ exports.CPUInfo = {
|
|
|
11922
12908
|
message.memoryBusLoad = object.memoryBusLoad ?? 0;
|
|
11923
12909
|
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
11924
12910
|
message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
|
|
12911
|
+
message.commQueueLoad = object.commQueueLoad ?? 0;
|
|
12912
|
+
return message;
|
|
12913
|
+
},
|
|
12914
|
+
};
|
|
12915
|
+
function createBaseSurfaceUnitBatteryInfo() {
|
|
12916
|
+
return { status: 0, level: 0 };
|
|
12917
|
+
}
|
|
12918
|
+
exports.SurfaceUnitBatteryInfo = {
|
|
12919
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
12920
|
+
if (message.status !== 0) {
|
|
12921
|
+
writer.uint32(8).int32(message.status);
|
|
12922
|
+
}
|
|
12923
|
+
if (message.level !== 0) {
|
|
12924
|
+
writer.uint32(21).float(message.level);
|
|
12925
|
+
}
|
|
12926
|
+
return writer;
|
|
12927
|
+
},
|
|
12928
|
+
decode(input, length) {
|
|
12929
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
12930
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12931
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
12932
|
+
while (reader.pos < end) {
|
|
12933
|
+
const tag = reader.uint32();
|
|
12934
|
+
switch (tag >>> 3) {
|
|
12935
|
+
case 1: {
|
|
12936
|
+
if (tag !== 8) {
|
|
12937
|
+
break;
|
|
12938
|
+
}
|
|
12939
|
+
message.status = reader.int32();
|
|
12940
|
+
continue;
|
|
12941
|
+
}
|
|
12942
|
+
case 2: {
|
|
12943
|
+
if (tag !== 21) {
|
|
12944
|
+
break;
|
|
12945
|
+
}
|
|
12946
|
+
message.level = reader.float();
|
|
12947
|
+
continue;
|
|
12948
|
+
}
|
|
12949
|
+
}
|
|
12950
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
12951
|
+
break;
|
|
12952
|
+
}
|
|
12953
|
+
reader.skip(tag & 7);
|
|
12954
|
+
}
|
|
12955
|
+
return message;
|
|
12956
|
+
},
|
|
12957
|
+
fromJSON(object) {
|
|
12958
|
+
return {
|
|
12959
|
+
status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
|
|
12960
|
+
level: isSet(object.level) ? gt.Number(object.level) : 0,
|
|
12961
|
+
};
|
|
12962
|
+
},
|
|
12963
|
+
toJSON(message) {
|
|
12964
|
+
const obj = {};
|
|
12965
|
+
if (message.status !== 0) {
|
|
12966
|
+
obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
|
|
12967
|
+
}
|
|
12968
|
+
if (message.level !== 0) {
|
|
12969
|
+
obj.level = message.level;
|
|
12970
|
+
}
|
|
12971
|
+
return obj;
|
|
12972
|
+
},
|
|
12973
|
+
create(base) {
|
|
12974
|
+
return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
|
|
12975
|
+
},
|
|
12976
|
+
fromPartial(object) {
|
|
12977
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
12978
|
+
message.status = object.status ?? 0;
|
|
12979
|
+
message.level = object.level ?? 0;
|
|
12980
|
+
return message;
|
|
12981
|
+
},
|
|
12982
|
+
};
|
|
12983
|
+
function createBaseSurfaceUnitVersionInfo() {
|
|
12984
|
+
return { version: "" };
|
|
12985
|
+
}
|
|
12986
|
+
exports.SurfaceUnitVersionInfo = {
|
|
12987
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
12988
|
+
if (message.version !== "") {
|
|
12989
|
+
writer.uint32(10).string(message.version);
|
|
12990
|
+
}
|
|
12991
|
+
return writer;
|
|
12992
|
+
},
|
|
12993
|
+
decode(input, length) {
|
|
12994
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
12995
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12996
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
12997
|
+
while (reader.pos < end) {
|
|
12998
|
+
const tag = reader.uint32();
|
|
12999
|
+
switch (tag >>> 3) {
|
|
13000
|
+
case 1: {
|
|
13001
|
+
if (tag !== 10) {
|
|
13002
|
+
break;
|
|
13003
|
+
}
|
|
13004
|
+
message.version = reader.string();
|
|
13005
|
+
continue;
|
|
13006
|
+
}
|
|
13007
|
+
}
|
|
13008
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13009
|
+
break;
|
|
13010
|
+
}
|
|
13011
|
+
reader.skip(tag & 7);
|
|
13012
|
+
}
|
|
13013
|
+
return message;
|
|
13014
|
+
},
|
|
13015
|
+
fromJSON(object) {
|
|
13016
|
+
return { version: isSet(object.version) ? gt.String(object.version) : "" };
|
|
13017
|
+
},
|
|
13018
|
+
toJSON(message) {
|
|
13019
|
+
const obj = {};
|
|
13020
|
+
if (message.version !== "") {
|
|
13021
|
+
obj.version = message.version;
|
|
13022
|
+
}
|
|
13023
|
+
return obj;
|
|
13024
|
+
},
|
|
13025
|
+
create(base) {
|
|
13026
|
+
return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
|
|
13027
|
+
},
|
|
13028
|
+
fromPartial(object) {
|
|
13029
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13030
|
+
message.version = object.version ?? "";
|
|
11925
13031
|
return message;
|
|
11926
13032
|
},
|
|
11927
13033
|
};
|