@blueyerobotics/protocol-definitions 3.2.0-3e0ba702 → 3.2.0-43e7a52a
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 +252 -13
- package/dist/message_formats.js +1458 -55
- package/dist/mission_planning.js +1 -1
- package/dist/req_rep.d.ts +22 -0
- package/dist/req_rep.js +192 -2
- package/dist/telemetry.d.ts +42 -2
- package/dist/telemetry.js +363 -9
- 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 = void 0;
|
|
8
|
+
exports.AutoPilotHeaveState = exports.AutoPilotSurgeYawState = exports.WeatherVaningState = exports.StationKeepingState = exports.AutoAltitudeState = exports.AutoDepthState = exports.AutoHeadingState = exports.ConnectionDuration = exports.LatLongPosition = exports.Laser = exports.Lights = exports.MotionInput = exports.KernelLogEntry_KeyValuePair = exports.KernelLogEntry = exports.LogEntry = exports.BinlogRecord = exports.SurfaceUnitBatteryInfo_ChargeStatus = exports.MultibeamConfig_MaximumNumberOfBeams = exports.MultibeamConfig_PingRate = exports.CalibrationState_Status = exports.RemovableStorageDevice_Status = exports.BatteryBQ40Z50_BatteryStatus_BatteryError = exports.PingerConfiguration_MountingDirection = exports.KernelLogEntry_KernelLogLevel = exports.LogEntry_LogLevel = exports.MultibeamFrequencyMode = exports.GuestPortError = exports.GuestPortDetachStatus = exports.NavigationSensorID = exports.GuestPortNumber = exports.GuestPortDeviceID = exports.FontSize = exports.ThicknessUnit = exports.DepthUnit = exports.LogoType = exports.TemperatureUnit = exports.StreamingProtocol = exports.Camera = exports.Framerate = exports.Resolution = exports.PressureSensorType = exports.Model = exports.StorageLocation = exports.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
|
|
9
|
+
exports.CameraParameters = exports.ErrorFlags = exports.DroneInfo = exports.TiltVelocity = exports.TiltAngle = exports.NStreamers = exports.IperfStatus = exports.CalibrationState = exports.RemovableStorageErrorFlags = exports.RemovableStorageDevice = exports.StoragePartition = exports.StorageSpace = exports.RecordOn = exports.DiveTime = exports.ControllerHealth = exports.ControlForce = exports.Notification = exports.Reference = exports.Depth = exports.DvlVelocity = exports.DvlTransducer = exports.ResetPositionSettings = exports.PositionEstimate = exports.ForwardDistance = exports.Altitude = exports.MagneticDeclination = exports.Attitude = exports.BatteryBQ40Z50_BatteryChargingEvents = exports.BatteryBQ40Z50_BatterySafetyEvents = exports.BatteryBQ40Z50_BatteryLifetimes_CellVoltages = exports.BatteryBQ40Z50_BatteryLifetimes = exports.BatteryBQ40Z50_BatteryStatus = exports.BatteryBQ40Z50_Temperature = exports.BatteryBQ40Z50_Voltage = exports.BatteryBQ40Z50 = exports.Battery = exports.CanisterHumidity = exports.CanisterTemperature = exports.CPUTemperature = exports.WaterTemperature = exports.PingerConfiguration = exports.WaterDensity = exports.TimeLapseState = exports.RecordState = exports.ConnectedClient = exports.ClientInfo = exports.GripperVelocities = exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = void 0;
|
|
10
|
+
exports.SurfaceUnitVersionInfo = exports.SurfaceUnitBatteryInfo = exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = exports.GuestPortInfo = exports.GuestPortConnectorInfo = exports.GuestPortDeviceList = exports.GuestPortDevice = exports.NavigationSensorStatus = exports.OverlayParameters = void 0;
|
|
11
11
|
exports.intervalTypeFromJSON = intervalTypeFromJSON;
|
|
12
12
|
exports.intervalTypeToJSON = intervalTypeToJSON;
|
|
13
13
|
exports.locationSourceFromJSON = locationSourceFromJSON;
|
|
@@ -22,6 +22,8 @@ exports.notificationTypeFromJSON = notificationTypeFromJSON;
|
|
|
22
22
|
exports.notificationTypeToJSON = notificationTypeToJSON;
|
|
23
23
|
exports.notificationLevelFromJSON = notificationLevelFromJSON;
|
|
24
24
|
exports.notificationLevelToJSON = notificationLevelToJSON;
|
|
25
|
+
exports.storageLocationFromJSON = storageLocationFromJSON;
|
|
26
|
+
exports.storageLocationToJSON = storageLocationToJSON;
|
|
25
27
|
exports.modelFromJSON = modelFromJSON;
|
|
26
28
|
exports.modelToJSON = modelToJSON;
|
|
27
29
|
exports.pressureSensorTypeFromJSON = pressureSensorTypeFromJSON;
|
|
@@ -32,6 +34,8 @@ exports.framerateFromJSON = framerateFromJSON;
|
|
|
32
34
|
exports.framerateToJSON = framerateToJSON;
|
|
33
35
|
exports.cameraFromJSON = cameraFromJSON;
|
|
34
36
|
exports.cameraToJSON = cameraToJSON;
|
|
37
|
+
exports.streamingProtocolFromJSON = streamingProtocolFromJSON;
|
|
38
|
+
exports.streamingProtocolToJSON = streamingProtocolToJSON;
|
|
35
39
|
exports.temperatureUnitFromJSON = temperatureUnitFromJSON;
|
|
36
40
|
exports.temperatureUnitToJSON = temperatureUnitToJSON;
|
|
37
41
|
exports.logoTypeFromJSON = logoTypeFromJSON;
|
|
@@ -54,16 +58,24 @@ exports.guestPortErrorFromJSON = guestPortErrorFromJSON;
|
|
|
54
58
|
exports.guestPortErrorToJSON = guestPortErrorToJSON;
|
|
55
59
|
exports.multibeamFrequencyModeFromJSON = multibeamFrequencyModeFromJSON;
|
|
56
60
|
exports.multibeamFrequencyModeToJSON = multibeamFrequencyModeToJSON;
|
|
61
|
+
exports.logEntry_LogLevelFromJSON = logEntry_LogLevelFromJSON;
|
|
62
|
+
exports.logEntry_LogLevelToJSON = logEntry_LogLevelToJSON;
|
|
63
|
+
exports.kernelLogEntry_KernelLogLevelFromJSON = kernelLogEntry_KernelLogLevelFromJSON;
|
|
64
|
+
exports.kernelLogEntry_KernelLogLevelToJSON = kernelLogEntry_KernelLogLevelToJSON;
|
|
57
65
|
exports.pingerConfiguration_MountingDirectionFromJSON = pingerConfiguration_MountingDirectionFromJSON;
|
|
58
66
|
exports.pingerConfiguration_MountingDirectionToJSON = pingerConfiguration_MountingDirectionToJSON;
|
|
59
67
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON;
|
|
60
68
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON;
|
|
69
|
+
exports.removableStorageDevice_StatusFromJSON = removableStorageDevice_StatusFromJSON;
|
|
70
|
+
exports.removableStorageDevice_StatusToJSON = removableStorageDevice_StatusToJSON;
|
|
61
71
|
exports.calibrationState_StatusFromJSON = calibrationState_StatusFromJSON;
|
|
62
72
|
exports.calibrationState_StatusToJSON = calibrationState_StatusToJSON;
|
|
63
73
|
exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
|
|
64
74
|
exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
|
|
65
75
|
exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
|
|
66
76
|
exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
|
|
77
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
|
|
78
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
|
|
67
79
|
/* eslint-disable */
|
|
68
80
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
69
81
|
const any_1 = require("./google/protobuf/any");
|
|
@@ -585,6 +597,51 @@ function notificationLevelToJSON(object) {
|
|
|
585
597
|
return "UNRECOGNIZED";
|
|
586
598
|
}
|
|
587
599
|
}
|
|
600
|
+
/**
|
|
601
|
+
* Storage location.
|
|
602
|
+
*
|
|
603
|
+
* Used to specify which storage location to use for recording photos and videos.
|
|
604
|
+
*/
|
|
605
|
+
var StorageLocation;
|
|
606
|
+
(function (StorageLocation) {
|
|
607
|
+
/** STORAGE_LOCATION_UNSPECIFIED - Unspecified. */
|
|
608
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_UNSPECIFIED"] = 0] = "STORAGE_LOCATION_UNSPECIFIED";
|
|
609
|
+
/** STORAGE_LOCATION_INTERNAL - Internal storage of the drone. */
|
|
610
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_INTERNAL"] = 1] = "STORAGE_LOCATION_INTERNAL";
|
|
611
|
+
/** STORAGE_LOCATION_REMOVABLE - Removable storage device. */
|
|
612
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_REMOVABLE"] = 2] = "STORAGE_LOCATION_REMOVABLE";
|
|
613
|
+
StorageLocation[StorageLocation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
614
|
+
})(StorageLocation || (exports.StorageLocation = StorageLocation = {}));
|
|
615
|
+
function storageLocationFromJSON(object) {
|
|
616
|
+
switch (object) {
|
|
617
|
+
case 0:
|
|
618
|
+
case "STORAGE_LOCATION_UNSPECIFIED":
|
|
619
|
+
return StorageLocation.STORAGE_LOCATION_UNSPECIFIED;
|
|
620
|
+
case 1:
|
|
621
|
+
case "STORAGE_LOCATION_INTERNAL":
|
|
622
|
+
return StorageLocation.STORAGE_LOCATION_INTERNAL;
|
|
623
|
+
case 2:
|
|
624
|
+
case "STORAGE_LOCATION_REMOVABLE":
|
|
625
|
+
return StorageLocation.STORAGE_LOCATION_REMOVABLE;
|
|
626
|
+
case -1:
|
|
627
|
+
case "UNRECOGNIZED":
|
|
628
|
+
default:
|
|
629
|
+
return StorageLocation.UNRECOGNIZED;
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
function storageLocationToJSON(object) {
|
|
633
|
+
switch (object) {
|
|
634
|
+
case StorageLocation.STORAGE_LOCATION_UNSPECIFIED:
|
|
635
|
+
return "STORAGE_LOCATION_UNSPECIFIED";
|
|
636
|
+
case StorageLocation.STORAGE_LOCATION_INTERNAL:
|
|
637
|
+
return "STORAGE_LOCATION_INTERNAL";
|
|
638
|
+
case StorageLocation.STORAGE_LOCATION_REMOVABLE:
|
|
639
|
+
return "STORAGE_LOCATION_REMOVABLE";
|
|
640
|
+
case StorageLocation.UNRECOGNIZED:
|
|
641
|
+
default:
|
|
642
|
+
return "UNRECOGNIZED";
|
|
643
|
+
}
|
|
644
|
+
}
|
|
588
645
|
/** Drone models produced by Blueye. */
|
|
589
646
|
var Model;
|
|
590
647
|
(function (Model) {
|
|
@@ -714,11 +771,13 @@ var Resolution;
|
|
|
714
771
|
(function (Resolution) {
|
|
715
772
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
716
773
|
Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
|
|
717
|
-
/**
|
|
718
|
-
Resolution[Resolution["
|
|
719
|
-
/** 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). */
|
|
720
777
|
Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
|
|
721
|
-
/**
|
|
778
|
+
/** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
|
|
779
|
+
Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
|
|
780
|
+
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
|
|
722
781
|
Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
|
|
723
782
|
Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
724
783
|
})(Resolution || (exports.Resolution = Resolution = {}));
|
|
@@ -727,12 +786,15 @@ function resolutionFromJSON(object) {
|
|
|
727
786
|
case 0:
|
|
728
787
|
case "RESOLUTION_UNSPECIFIED":
|
|
729
788
|
return Resolution.RESOLUTION_UNSPECIFIED;
|
|
730
|
-
case
|
|
731
|
-
case "
|
|
732
|
-
return Resolution.
|
|
789
|
+
case 4:
|
|
790
|
+
case "RESOLUTION_VGA_480P":
|
|
791
|
+
return Resolution.RESOLUTION_VGA_480P;
|
|
733
792
|
case 2:
|
|
734
793
|
case "RESOLUTION_HD_720P":
|
|
735
794
|
return Resolution.RESOLUTION_HD_720P;
|
|
795
|
+
case 1:
|
|
796
|
+
case "RESOLUTION_FULLHD_1080P":
|
|
797
|
+
return Resolution.RESOLUTION_FULLHD_1080P;
|
|
736
798
|
case 3:
|
|
737
799
|
case "RESOLUTION_UHD_4K":
|
|
738
800
|
return Resolution.RESOLUTION_UHD_4K;
|
|
@@ -746,10 +808,12 @@ function resolutionToJSON(object) {
|
|
|
746
808
|
switch (object) {
|
|
747
809
|
case Resolution.RESOLUTION_UNSPECIFIED:
|
|
748
810
|
return "RESOLUTION_UNSPECIFIED";
|
|
749
|
-
case Resolution.
|
|
750
|
-
return "
|
|
811
|
+
case Resolution.RESOLUTION_VGA_480P:
|
|
812
|
+
return "RESOLUTION_VGA_480P";
|
|
751
813
|
case Resolution.RESOLUTION_HD_720P:
|
|
752
814
|
return "RESOLUTION_HD_720P";
|
|
815
|
+
case Resolution.RESOLUTION_FULLHD_1080P:
|
|
816
|
+
return "RESOLUTION_FULLHD_1080P";
|
|
753
817
|
case Resolution.RESOLUTION_UHD_4K:
|
|
754
818
|
return "RESOLUTION_UHD_4K";
|
|
755
819
|
case Resolution.UNRECOGNIZED:
|
|
@@ -764,7 +828,7 @@ var Framerate;
|
|
|
764
828
|
Framerate[Framerate["FRAMERATE_UNSPECIFIED"] = 0] = "FRAMERATE_UNSPECIFIED";
|
|
765
829
|
/** FRAMERATE_FPS_30 - 30 frames per second. */
|
|
766
830
|
Framerate[Framerate["FRAMERATE_FPS_30"] = 1] = "FRAMERATE_FPS_30";
|
|
767
|
-
/** FRAMERATE_FPS_25 - 25 frames per second. */
|
|
831
|
+
/** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
|
|
768
832
|
Framerate[Framerate["FRAMERATE_FPS_25"] = 2] = "FRAMERATE_FPS_25";
|
|
769
833
|
Framerate[Framerate["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
770
834
|
})(Framerate || (exports.Framerate = Framerate = {}));
|
|
@@ -839,6 +903,46 @@ function cameraToJSON(object) {
|
|
|
839
903
|
return "UNRECOGNIZED";
|
|
840
904
|
}
|
|
841
905
|
}
|
|
906
|
+
var StreamingProtocol;
|
|
907
|
+
(function (StreamingProtocol) {
|
|
908
|
+
/** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
|
|
909
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_UNSPECIFIED"] = 0] = "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
910
|
+
/** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
|
|
911
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_H264"] = 1] = "STREAMING_PROTOCOL_RTSP_H264";
|
|
912
|
+
/** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. No recording when activated. */
|
|
913
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_MJPEG"] = 2] = "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
914
|
+
StreamingProtocol[StreamingProtocol["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
915
|
+
})(StreamingProtocol || (exports.StreamingProtocol = StreamingProtocol = {}));
|
|
916
|
+
function streamingProtocolFromJSON(object) {
|
|
917
|
+
switch (object) {
|
|
918
|
+
case 0:
|
|
919
|
+
case "STREAMING_PROTOCOL_UNSPECIFIED":
|
|
920
|
+
return StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED;
|
|
921
|
+
case 1:
|
|
922
|
+
case "STREAMING_PROTOCOL_RTSP_H264":
|
|
923
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264;
|
|
924
|
+
case 2:
|
|
925
|
+
case "STREAMING_PROTOCOL_RTSP_MJPEG":
|
|
926
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG;
|
|
927
|
+
case -1:
|
|
928
|
+
case "UNRECOGNIZED":
|
|
929
|
+
default:
|
|
930
|
+
return StreamingProtocol.UNRECOGNIZED;
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
function streamingProtocolToJSON(object) {
|
|
934
|
+
switch (object) {
|
|
935
|
+
case StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED:
|
|
936
|
+
return "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
937
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264:
|
|
938
|
+
return "STREAMING_PROTOCOL_RTSP_H264";
|
|
939
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG:
|
|
940
|
+
return "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
941
|
+
case StreamingProtocol.UNRECOGNIZED:
|
|
942
|
+
default:
|
|
943
|
+
return "UNRECOGNIZED";
|
|
944
|
+
}
|
|
945
|
+
}
|
|
842
946
|
/** Available temperature units. */
|
|
843
947
|
var TemperatureUnit;
|
|
844
948
|
(function (TemperatureUnit) {
|
|
@@ -1172,6 +1276,12 @@ var GuestPortDeviceID;
|
|
|
1172
1276
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1173
1277
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1174
1278
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1279
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
|
|
1280
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1281
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 - Blueye Multibeam Skid Servo V2. */
|
|
1282
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2"] = 46] = "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
|
|
1283
|
+
/** GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT - Cerulean Omniscan 450 Compact. */
|
|
1284
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT"] = 47] = "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
|
|
1175
1285
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1176
1286
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1177
1287
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1311,6 +1421,15 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1311
1421
|
case 44:
|
|
1312
1422
|
case "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650":
|
|
1313
1423
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650;
|
|
1424
|
+
case 45:
|
|
1425
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
|
|
1426
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
|
|
1427
|
+
case 46:
|
|
1428
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2":
|
|
1429
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2;
|
|
1430
|
+
case 47:
|
|
1431
|
+
case "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT":
|
|
1432
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT;
|
|
1314
1433
|
case -1:
|
|
1315
1434
|
case "UNRECOGNIZED":
|
|
1316
1435
|
default:
|
|
@@ -1409,6 +1528,12 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1409
1528
|
return "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1410
1529
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650:
|
|
1411
1530
|
return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1531
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
|
|
1532
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1533
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2:
|
|
1534
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
|
|
1535
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT:
|
|
1536
|
+
return "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
|
|
1412
1537
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1413
1538
|
default:
|
|
1414
1539
|
return "UNRECOGNIZED";
|
|
@@ -1685,6 +1810,157 @@ function multibeamFrequencyModeToJSON(object) {
|
|
|
1685
1810
|
return "UNRECOGNIZED";
|
|
1686
1811
|
}
|
|
1687
1812
|
}
|
|
1813
|
+
var LogEntry_LogLevel;
|
|
1814
|
+
(function (LogEntry_LogLevel) {
|
|
1815
|
+
/** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
1816
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_UNSPECIFIED"] = 0] = "LOG_LEVEL_UNSPECIFIED";
|
|
1817
|
+
/** LOG_LEVEL_TRACE - Trace log level. */
|
|
1818
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_TRACE"] = 1] = "LOG_LEVEL_TRACE";
|
|
1819
|
+
/** LOG_LEVEL_DEBUG - Debug log level. */
|
|
1820
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_DEBUG"] = 2] = "LOG_LEVEL_DEBUG";
|
|
1821
|
+
/** LOG_LEVEL_INFO - Info log level. */
|
|
1822
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_INFO"] = 3] = "LOG_LEVEL_INFO";
|
|
1823
|
+
/** LOG_LEVEL_WARNING - Warning log level. */
|
|
1824
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_WARNING"] = 4] = "LOG_LEVEL_WARNING";
|
|
1825
|
+
/** LOG_LEVEL_ERROR - Error log level. */
|
|
1826
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_ERROR"] = 5] = "LOG_LEVEL_ERROR";
|
|
1827
|
+
/** LOG_LEVEL_CRITICAL - Critical log level. */
|
|
1828
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_CRITICAL"] = 6] = "LOG_LEVEL_CRITICAL";
|
|
1829
|
+
LogEntry_LogLevel[LogEntry_LogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1830
|
+
})(LogEntry_LogLevel || (exports.LogEntry_LogLevel = LogEntry_LogLevel = {}));
|
|
1831
|
+
function logEntry_LogLevelFromJSON(object) {
|
|
1832
|
+
switch (object) {
|
|
1833
|
+
case 0:
|
|
1834
|
+
case "LOG_LEVEL_UNSPECIFIED":
|
|
1835
|
+
return LogEntry_LogLevel.LOG_LEVEL_UNSPECIFIED;
|
|
1836
|
+
case 1:
|
|
1837
|
+
case "LOG_LEVEL_TRACE":
|
|
1838
|
+
return LogEntry_LogLevel.LOG_LEVEL_TRACE;
|
|
1839
|
+
case 2:
|
|
1840
|
+
case "LOG_LEVEL_DEBUG":
|
|
1841
|
+
return LogEntry_LogLevel.LOG_LEVEL_DEBUG;
|
|
1842
|
+
case 3:
|
|
1843
|
+
case "LOG_LEVEL_INFO":
|
|
1844
|
+
return LogEntry_LogLevel.LOG_LEVEL_INFO;
|
|
1845
|
+
case 4:
|
|
1846
|
+
case "LOG_LEVEL_WARNING":
|
|
1847
|
+
return LogEntry_LogLevel.LOG_LEVEL_WARNING;
|
|
1848
|
+
case 5:
|
|
1849
|
+
case "LOG_LEVEL_ERROR":
|
|
1850
|
+
return LogEntry_LogLevel.LOG_LEVEL_ERROR;
|
|
1851
|
+
case 6:
|
|
1852
|
+
case "LOG_LEVEL_CRITICAL":
|
|
1853
|
+
return LogEntry_LogLevel.LOG_LEVEL_CRITICAL;
|
|
1854
|
+
case -1:
|
|
1855
|
+
case "UNRECOGNIZED":
|
|
1856
|
+
default:
|
|
1857
|
+
return LogEntry_LogLevel.UNRECOGNIZED;
|
|
1858
|
+
}
|
|
1859
|
+
}
|
|
1860
|
+
function logEntry_LogLevelToJSON(object) {
|
|
1861
|
+
switch (object) {
|
|
1862
|
+
case LogEntry_LogLevel.LOG_LEVEL_UNSPECIFIED:
|
|
1863
|
+
return "LOG_LEVEL_UNSPECIFIED";
|
|
1864
|
+
case LogEntry_LogLevel.LOG_LEVEL_TRACE:
|
|
1865
|
+
return "LOG_LEVEL_TRACE";
|
|
1866
|
+
case LogEntry_LogLevel.LOG_LEVEL_DEBUG:
|
|
1867
|
+
return "LOG_LEVEL_DEBUG";
|
|
1868
|
+
case LogEntry_LogLevel.LOG_LEVEL_INFO:
|
|
1869
|
+
return "LOG_LEVEL_INFO";
|
|
1870
|
+
case LogEntry_LogLevel.LOG_LEVEL_WARNING:
|
|
1871
|
+
return "LOG_LEVEL_WARNING";
|
|
1872
|
+
case LogEntry_LogLevel.LOG_LEVEL_ERROR:
|
|
1873
|
+
return "LOG_LEVEL_ERROR";
|
|
1874
|
+
case LogEntry_LogLevel.LOG_LEVEL_CRITICAL:
|
|
1875
|
+
return "LOG_LEVEL_CRITICAL";
|
|
1876
|
+
case LogEntry_LogLevel.UNRECOGNIZED:
|
|
1877
|
+
default:
|
|
1878
|
+
return "UNRECOGNIZED";
|
|
1879
|
+
}
|
|
1880
|
+
}
|
|
1881
|
+
/** Kernel log level. */
|
|
1882
|
+
var KernelLogEntry_KernelLogLevel;
|
|
1883
|
+
(function (KernelLogEntry_KernelLogLevel) {
|
|
1884
|
+
/** KERNEL_LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
1885
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_UNSPECIFIED"] = 0] = "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
1886
|
+
/** KERNEL_LOG_LEVEL_EMERG - Emergency log level. */
|
|
1887
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_EMERG"] = 1] = "KERNEL_LOG_LEVEL_EMERG";
|
|
1888
|
+
/** KERNEL_LOG_LEVEL_ALERT - Alert log level. */
|
|
1889
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ALERT"] = 2] = "KERNEL_LOG_LEVEL_ALERT";
|
|
1890
|
+
/** KERNEL_LOG_LEVEL_CRIT - Critical log level. */
|
|
1891
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_CRIT"] = 3] = "KERNEL_LOG_LEVEL_CRIT";
|
|
1892
|
+
/** KERNEL_LOG_LEVEL_ERR - Error log level. */
|
|
1893
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ERR"] = 4] = "KERNEL_LOG_LEVEL_ERR";
|
|
1894
|
+
/** KERNEL_LOG_LEVEL_WARNING - Warning log level. */
|
|
1895
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_WARNING"] = 5] = "KERNEL_LOG_LEVEL_WARNING";
|
|
1896
|
+
/** KERNEL_LOG_LEVEL_NOTICE - Notice log level. */
|
|
1897
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_NOTICE"] = 6] = "KERNEL_LOG_LEVEL_NOTICE";
|
|
1898
|
+
/** KERNEL_LOG_LEVEL_INFO - Informational log level. */
|
|
1899
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_INFO"] = 7] = "KERNEL_LOG_LEVEL_INFO";
|
|
1900
|
+
/** KERNEL_LOG_LEVEL_DEBUG - Debug log level. */
|
|
1901
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_DEBUG"] = 8] = "KERNEL_LOG_LEVEL_DEBUG";
|
|
1902
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1903
|
+
})(KernelLogEntry_KernelLogLevel || (exports.KernelLogEntry_KernelLogLevel = KernelLogEntry_KernelLogLevel = {}));
|
|
1904
|
+
function kernelLogEntry_KernelLogLevelFromJSON(object) {
|
|
1905
|
+
switch (object) {
|
|
1906
|
+
case 0:
|
|
1907
|
+
case "KERNEL_LOG_LEVEL_UNSPECIFIED":
|
|
1908
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED;
|
|
1909
|
+
case 1:
|
|
1910
|
+
case "KERNEL_LOG_LEVEL_EMERG":
|
|
1911
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG;
|
|
1912
|
+
case 2:
|
|
1913
|
+
case "KERNEL_LOG_LEVEL_ALERT":
|
|
1914
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT;
|
|
1915
|
+
case 3:
|
|
1916
|
+
case "KERNEL_LOG_LEVEL_CRIT":
|
|
1917
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT;
|
|
1918
|
+
case 4:
|
|
1919
|
+
case "KERNEL_LOG_LEVEL_ERR":
|
|
1920
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR;
|
|
1921
|
+
case 5:
|
|
1922
|
+
case "KERNEL_LOG_LEVEL_WARNING":
|
|
1923
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING;
|
|
1924
|
+
case 6:
|
|
1925
|
+
case "KERNEL_LOG_LEVEL_NOTICE":
|
|
1926
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE;
|
|
1927
|
+
case 7:
|
|
1928
|
+
case "KERNEL_LOG_LEVEL_INFO":
|
|
1929
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO;
|
|
1930
|
+
case 8:
|
|
1931
|
+
case "KERNEL_LOG_LEVEL_DEBUG":
|
|
1932
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG;
|
|
1933
|
+
case -1:
|
|
1934
|
+
case "UNRECOGNIZED":
|
|
1935
|
+
default:
|
|
1936
|
+
return KernelLogEntry_KernelLogLevel.UNRECOGNIZED;
|
|
1937
|
+
}
|
|
1938
|
+
}
|
|
1939
|
+
function kernelLogEntry_KernelLogLevelToJSON(object) {
|
|
1940
|
+
switch (object) {
|
|
1941
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED:
|
|
1942
|
+
return "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
1943
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG:
|
|
1944
|
+
return "KERNEL_LOG_LEVEL_EMERG";
|
|
1945
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT:
|
|
1946
|
+
return "KERNEL_LOG_LEVEL_ALERT";
|
|
1947
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT:
|
|
1948
|
+
return "KERNEL_LOG_LEVEL_CRIT";
|
|
1949
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR:
|
|
1950
|
+
return "KERNEL_LOG_LEVEL_ERR";
|
|
1951
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING:
|
|
1952
|
+
return "KERNEL_LOG_LEVEL_WARNING";
|
|
1953
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE:
|
|
1954
|
+
return "KERNEL_LOG_LEVEL_NOTICE";
|
|
1955
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO:
|
|
1956
|
+
return "KERNEL_LOG_LEVEL_INFO";
|
|
1957
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG:
|
|
1958
|
+
return "KERNEL_LOG_LEVEL_DEBUG";
|
|
1959
|
+
case KernelLogEntry_KernelLogLevel.UNRECOGNIZED:
|
|
1960
|
+
default:
|
|
1961
|
+
return "UNRECOGNIZED";
|
|
1962
|
+
}
|
|
1963
|
+
}
|
|
1688
1964
|
var PingerConfiguration_MountingDirection;
|
|
1689
1965
|
(function (PingerConfiguration_MountingDirection) {
|
|
1690
1966
|
/** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
|
|
@@ -1799,10 +2075,58 @@ function batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON(object) {
|
|
|
1799
2075
|
return "UNRECOGNIZED";
|
|
1800
2076
|
}
|
|
1801
2077
|
}
|
|
2078
|
+
/** Overall status of the storage device. */
|
|
2079
|
+
var RemovableStorageDevice_Status;
|
|
2080
|
+
(function (RemovableStorageDevice_Status) {
|
|
2081
|
+
/** STATUS_UNSPECIFIED - Unspecified. */
|
|
2082
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNSPECIFIED"] = 0] = "STATUS_UNSPECIFIED";
|
|
2083
|
+
/** STATUS_READY - The storage device is valid and ready for use. */
|
|
2084
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_READY"] = 1] = "STATUS_READY";
|
|
2085
|
+
/** STATUS_FORMATTING - The storage device is being formatted */
|
|
2086
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_FORMATTING"] = 2] = "STATUS_FORMATTING";
|
|
2087
|
+
/** STATUS_ERROR - The storage device is in an error state. */
|
|
2088
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_ERROR"] = 3] = "STATUS_ERROR";
|
|
2089
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2090
|
+
})(RemovableStorageDevice_Status || (exports.RemovableStorageDevice_Status = RemovableStorageDevice_Status = {}));
|
|
2091
|
+
function removableStorageDevice_StatusFromJSON(object) {
|
|
2092
|
+
switch (object) {
|
|
2093
|
+
case 0:
|
|
2094
|
+
case "STATUS_UNSPECIFIED":
|
|
2095
|
+
return RemovableStorageDevice_Status.STATUS_UNSPECIFIED;
|
|
2096
|
+
case 1:
|
|
2097
|
+
case "STATUS_READY":
|
|
2098
|
+
return RemovableStorageDevice_Status.STATUS_READY;
|
|
2099
|
+
case 2:
|
|
2100
|
+
case "STATUS_FORMATTING":
|
|
2101
|
+
return RemovableStorageDevice_Status.STATUS_FORMATTING;
|
|
2102
|
+
case 3:
|
|
2103
|
+
case "STATUS_ERROR":
|
|
2104
|
+
return RemovableStorageDevice_Status.STATUS_ERROR;
|
|
2105
|
+
case -1:
|
|
2106
|
+
case "UNRECOGNIZED":
|
|
2107
|
+
default:
|
|
2108
|
+
return RemovableStorageDevice_Status.UNRECOGNIZED;
|
|
2109
|
+
}
|
|
2110
|
+
}
|
|
2111
|
+
function removableStorageDevice_StatusToJSON(object) {
|
|
2112
|
+
switch (object) {
|
|
2113
|
+
case RemovableStorageDevice_Status.STATUS_UNSPECIFIED:
|
|
2114
|
+
return "STATUS_UNSPECIFIED";
|
|
2115
|
+
case RemovableStorageDevice_Status.STATUS_READY:
|
|
2116
|
+
return "STATUS_READY";
|
|
2117
|
+
case RemovableStorageDevice_Status.STATUS_FORMATTING:
|
|
2118
|
+
return "STATUS_FORMATTING";
|
|
2119
|
+
case RemovableStorageDevice_Status.STATUS_ERROR:
|
|
2120
|
+
return "STATUS_ERROR";
|
|
2121
|
+
case RemovableStorageDevice_Status.UNRECOGNIZED:
|
|
2122
|
+
default:
|
|
2123
|
+
return "UNRECOGNIZED";
|
|
2124
|
+
}
|
|
2125
|
+
}
|
|
1802
2126
|
/**
|
|
1803
2127
|
* Status of the compass calibration procedure.
|
|
1804
2128
|
*
|
|
1805
|
-
* When calibration is started, the status will indicate the active (
|
|
2129
|
+
* When calibration is started, the status will indicate the active (up facing) axis.
|
|
1806
2130
|
*/
|
|
1807
2131
|
var CalibrationState_Status;
|
|
1808
2132
|
(function (CalibrationState_Status) {
|
|
@@ -1824,7 +2148,7 @@ var CalibrationState_Status;
|
|
|
1824
2148
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_Z_POSITIVE"] = 7] = "STATUS_CALIBRATING_Z_POSITIVE";
|
|
1825
2149
|
/** STATUS_CALIBRATING_Z_NEGATIVE - Compass is calibrating and the negative Z axis is active. */
|
|
1826
2150
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_Z_NEGATIVE"] = 8] = "STATUS_CALIBRATING_Z_NEGATIVE";
|
|
1827
|
-
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster
|
|
2151
|
+
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interference. */
|
|
1828
2152
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_THRUSTER"] = 9] = "STATUS_CALIBRATING_THRUSTER";
|
|
1829
2153
|
CalibrationState_Status[CalibrationState_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1830
2154
|
})(CalibrationState_Status || (exports.CalibrationState_Status = CalibrationState_Status = {}));
|
|
@@ -2015,6 +2339,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2015
2339
|
return "UNRECOGNIZED";
|
|
2016
2340
|
}
|
|
2017
2341
|
}
|
|
2342
|
+
var SurfaceUnitBatteryInfo_ChargeStatus;
|
|
2343
|
+
(function (SurfaceUnitBatteryInfo_ChargeStatus) {
|
|
2344
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_UNSPECIFIED"] = 0] = "CHARGE_STATUS_UNSPECIFIED";
|
|
2345
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_DISCHARGE"] = 1] = "CHARGE_STATUS_DISCHARGE";
|
|
2346
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE"] = 2] = "CHARGE_STATUS_CHARGE";
|
|
2347
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE_ERROR"] = 3] = "CHARGE_STATUS_CHARGE_ERROR";
|
|
2348
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2349
|
+
})(SurfaceUnitBatteryInfo_ChargeStatus || (exports.SurfaceUnitBatteryInfo_ChargeStatus = SurfaceUnitBatteryInfo_ChargeStatus = {}));
|
|
2350
|
+
function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object) {
|
|
2351
|
+
switch (object) {
|
|
2352
|
+
case 0:
|
|
2353
|
+
case "CHARGE_STATUS_UNSPECIFIED":
|
|
2354
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED;
|
|
2355
|
+
case 1:
|
|
2356
|
+
case "CHARGE_STATUS_DISCHARGE":
|
|
2357
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE;
|
|
2358
|
+
case 2:
|
|
2359
|
+
case "CHARGE_STATUS_CHARGE":
|
|
2360
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE;
|
|
2361
|
+
case 3:
|
|
2362
|
+
case "CHARGE_STATUS_CHARGE_ERROR":
|
|
2363
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR;
|
|
2364
|
+
case -1:
|
|
2365
|
+
case "UNRECOGNIZED":
|
|
2366
|
+
default:
|
|
2367
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED;
|
|
2368
|
+
}
|
|
2369
|
+
}
|
|
2370
|
+
function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
|
|
2371
|
+
switch (object) {
|
|
2372
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED:
|
|
2373
|
+
return "CHARGE_STATUS_UNSPECIFIED";
|
|
2374
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE:
|
|
2375
|
+
return "CHARGE_STATUS_DISCHARGE";
|
|
2376
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE:
|
|
2377
|
+
return "CHARGE_STATUS_CHARGE";
|
|
2378
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR:
|
|
2379
|
+
return "CHARGE_STATUS_CHARGE_ERROR";
|
|
2380
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED:
|
|
2381
|
+
default:
|
|
2382
|
+
return "UNRECOGNIZED";
|
|
2383
|
+
}
|
|
2384
|
+
}
|
|
2018
2385
|
function createBaseBinlogRecord() {
|
|
2019
2386
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2020
2387
|
}
|
|
@@ -2069,34 +2436,360 @@ exports.BinlogRecord = {
|
|
|
2069
2436
|
},
|
|
2070
2437
|
fromJSON(object) {
|
|
2071
2438
|
return {
|
|
2072
|
-
payload: isSet(object.payload) ? any_1.Any.fromJSON(object.payload) : undefined,
|
|
2073
|
-
unixTimestamp: isSet(object.unixTimestamp) ? fromJsonTimestamp(object.unixTimestamp) : undefined,
|
|
2074
|
-
clockMonotonic: isSet(object.clockMonotonic) ? fromJsonTimestamp(object.clockMonotonic) : undefined,
|
|
2439
|
+
payload: isSet(object.payload) ? any_1.Any.fromJSON(object.payload) : undefined,
|
|
2440
|
+
unixTimestamp: isSet(object.unixTimestamp) ? fromJsonTimestamp(object.unixTimestamp) : undefined,
|
|
2441
|
+
clockMonotonic: isSet(object.clockMonotonic) ? fromJsonTimestamp(object.clockMonotonic) : undefined,
|
|
2442
|
+
};
|
|
2443
|
+
},
|
|
2444
|
+
toJSON(message) {
|
|
2445
|
+
const obj = {};
|
|
2446
|
+
if (message.payload !== undefined) {
|
|
2447
|
+
obj.payload = any_1.Any.toJSON(message.payload);
|
|
2448
|
+
}
|
|
2449
|
+
if (message.unixTimestamp !== undefined) {
|
|
2450
|
+
obj.unixTimestamp = message.unixTimestamp.toISOString();
|
|
2451
|
+
}
|
|
2452
|
+
if (message.clockMonotonic !== undefined) {
|
|
2453
|
+
obj.clockMonotonic = message.clockMonotonic.toISOString();
|
|
2454
|
+
}
|
|
2455
|
+
return obj;
|
|
2456
|
+
},
|
|
2457
|
+
create(base) {
|
|
2458
|
+
return exports.BinlogRecord.fromPartial(base ?? {});
|
|
2459
|
+
},
|
|
2460
|
+
fromPartial(object) {
|
|
2461
|
+
const message = createBaseBinlogRecord();
|
|
2462
|
+
message.payload = (object.payload !== undefined && object.payload !== null)
|
|
2463
|
+
? any_1.Any.fromPartial(object.payload)
|
|
2464
|
+
: undefined;
|
|
2465
|
+
message.unixTimestamp = object.unixTimestamp ?? undefined;
|
|
2466
|
+
message.clockMonotonic = object.clockMonotonic ?? undefined;
|
|
2467
|
+
return message;
|
|
2468
|
+
},
|
|
2469
|
+
};
|
|
2470
|
+
function createBaseLogEntry() {
|
|
2471
|
+
return { timestamp: undefined, processName: "", processId: 0, threadId: 0, source: "", level: 0, message: "" };
|
|
2472
|
+
}
|
|
2473
|
+
exports.LogEntry = {
|
|
2474
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2475
|
+
if (message.timestamp !== undefined) {
|
|
2476
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(10).fork()).join();
|
|
2477
|
+
}
|
|
2478
|
+
if (message.processName !== "") {
|
|
2479
|
+
writer.uint32(18).string(message.processName);
|
|
2480
|
+
}
|
|
2481
|
+
if (message.processId !== 0) {
|
|
2482
|
+
writer.uint32(24).uint64(message.processId);
|
|
2483
|
+
}
|
|
2484
|
+
if (message.threadId !== 0) {
|
|
2485
|
+
writer.uint32(32).uint64(message.threadId);
|
|
2486
|
+
}
|
|
2487
|
+
if (message.source !== "") {
|
|
2488
|
+
writer.uint32(42).string(message.source);
|
|
2489
|
+
}
|
|
2490
|
+
if (message.level !== 0) {
|
|
2491
|
+
writer.uint32(48).int32(message.level);
|
|
2492
|
+
}
|
|
2493
|
+
if (message.message !== "") {
|
|
2494
|
+
writer.uint32(58).string(message.message);
|
|
2495
|
+
}
|
|
2496
|
+
return writer;
|
|
2497
|
+
},
|
|
2498
|
+
decode(input, length) {
|
|
2499
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2500
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2501
|
+
const message = createBaseLogEntry();
|
|
2502
|
+
while (reader.pos < end) {
|
|
2503
|
+
const tag = reader.uint32();
|
|
2504
|
+
switch (tag >>> 3) {
|
|
2505
|
+
case 1: {
|
|
2506
|
+
if (tag !== 10) {
|
|
2507
|
+
break;
|
|
2508
|
+
}
|
|
2509
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2510
|
+
continue;
|
|
2511
|
+
}
|
|
2512
|
+
case 2: {
|
|
2513
|
+
if (tag !== 18) {
|
|
2514
|
+
break;
|
|
2515
|
+
}
|
|
2516
|
+
message.processName = reader.string();
|
|
2517
|
+
continue;
|
|
2518
|
+
}
|
|
2519
|
+
case 3: {
|
|
2520
|
+
if (tag !== 24) {
|
|
2521
|
+
break;
|
|
2522
|
+
}
|
|
2523
|
+
message.processId = longToNumber(reader.uint64());
|
|
2524
|
+
continue;
|
|
2525
|
+
}
|
|
2526
|
+
case 4: {
|
|
2527
|
+
if (tag !== 32) {
|
|
2528
|
+
break;
|
|
2529
|
+
}
|
|
2530
|
+
message.threadId = longToNumber(reader.uint64());
|
|
2531
|
+
continue;
|
|
2532
|
+
}
|
|
2533
|
+
case 5: {
|
|
2534
|
+
if (tag !== 42) {
|
|
2535
|
+
break;
|
|
2536
|
+
}
|
|
2537
|
+
message.source = reader.string();
|
|
2538
|
+
continue;
|
|
2539
|
+
}
|
|
2540
|
+
case 6: {
|
|
2541
|
+
if (tag !== 48) {
|
|
2542
|
+
break;
|
|
2543
|
+
}
|
|
2544
|
+
message.level = reader.int32();
|
|
2545
|
+
continue;
|
|
2546
|
+
}
|
|
2547
|
+
case 7: {
|
|
2548
|
+
if (tag !== 58) {
|
|
2549
|
+
break;
|
|
2550
|
+
}
|
|
2551
|
+
message.message = reader.string();
|
|
2552
|
+
continue;
|
|
2553
|
+
}
|
|
2554
|
+
}
|
|
2555
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2556
|
+
break;
|
|
2557
|
+
}
|
|
2558
|
+
reader.skip(tag & 7);
|
|
2559
|
+
}
|
|
2560
|
+
return message;
|
|
2561
|
+
},
|
|
2562
|
+
fromJSON(object) {
|
|
2563
|
+
return {
|
|
2564
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2565
|
+
processName: isSet(object.processName) ? gt.String(object.processName) : "",
|
|
2566
|
+
processId: isSet(object.processId) ? gt.Number(object.processId) : 0,
|
|
2567
|
+
threadId: isSet(object.threadId) ? gt.Number(object.threadId) : 0,
|
|
2568
|
+
source: isSet(object.source) ? gt.String(object.source) : "",
|
|
2569
|
+
level: isSet(object.level) ? logEntry_LogLevelFromJSON(object.level) : 0,
|
|
2570
|
+
message: isSet(object.message) ? gt.String(object.message) : "",
|
|
2571
|
+
};
|
|
2572
|
+
},
|
|
2573
|
+
toJSON(message) {
|
|
2574
|
+
const obj = {};
|
|
2575
|
+
if (message.timestamp !== undefined) {
|
|
2576
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2577
|
+
}
|
|
2578
|
+
if (message.processName !== "") {
|
|
2579
|
+
obj.processName = message.processName;
|
|
2580
|
+
}
|
|
2581
|
+
if (message.processId !== 0) {
|
|
2582
|
+
obj.processId = Math.round(message.processId);
|
|
2583
|
+
}
|
|
2584
|
+
if (message.threadId !== 0) {
|
|
2585
|
+
obj.threadId = Math.round(message.threadId);
|
|
2586
|
+
}
|
|
2587
|
+
if (message.source !== "") {
|
|
2588
|
+
obj.source = message.source;
|
|
2589
|
+
}
|
|
2590
|
+
if (message.level !== 0) {
|
|
2591
|
+
obj.level = logEntry_LogLevelToJSON(message.level);
|
|
2592
|
+
}
|
|
2593
|
+
if (message.message !== "") {
|
|
2594
|
+
obj.message = message.message;
|
|
2595
|
+
}
|
|
2596
|
+
return obj;
|
|
2597
|
+
},
|
|
2598
|
+
create(base) {
|
|
2599
|
+
return exports.LogEntry.fromPartial(base ?? {});
|
|
2600
|
+
},
|
|
2601
|
+
fromPartial(object) {
|
|
2602
|
+
const message = createBaseLogEntry();
|
|
2603
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2604
|
+
message.processName = object.processName ?? "";
|
|
2605
|
+
message.processId = object.processId ?? 0;
|
|
2606
|
+
message.threadId = object.threadId ?? 0;
|
|
2607
|
+
message.source = object.source ?? "";
|
|
2608
|
+
message.level = object.level ?? 0;
|
|
2609
|
+
message.message = object.message ?? "";
|
|
2610
|
+
return message;
|
|
2611
|
+
},
|
|
2612
|
+
};
|
|
2613
|
+
function createBaseKernelLogEntry() {
|
|
2614
|
+
return { level: 0, seqnum: 0, timestamp: undefined, messages: [], fields: [] };
|
|
2615
|
+
}
|
|
2616
|
+
exports.KernelLogEntry = {
|
|
2617
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2618
|
+
if (message.level !== 0) {
|
|
2619
|
+
writer.uint32(8).int32(message.level);
|
|
2620
|
+
}
|
|
2621
|
+
if (message.seqnum !== 0) {
|
|
2622
|
+
writer.uint32(16).uint32(message.seqnum);
|
|
2623
|
+
}
|
|
2624
|
+
if (message.timestamp !== undefined) {
|
|
2625
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).join();
|
|
2626
|
+
}
|
|
2627
|
+
for (const v of message.messages) {
|
|
2628
|
+
writer.uint32(34).string(v);
|
|
2629
|
+
}
|
|
2630
|
+
for (const v of message.fields) {
|
|
2631
|
+
exports.KernelLogEntry_KeyValuePair.encode(v, writer.uint32(42).fork()).join();
|
|
2632
|
+
}
|
|
2633
|
+
return writer;
|
|
2634
|
+
},
|
|
2635
|
+
decode(input, length) {
|
|
2636
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2637
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2638
|
+
const message = createBaseKernelLogEntry();
|
|
2639
|
+
while (reader.pos < end) {
|
|
2640
|
+
const tag = reader.uint32();
|
|
2641
|
+
switch (tag >>> 3) {
|
|
2642
|
+
case 1: {
|
|
2643
|
+
if (tag !== 8) {
|
|
2644
|
+
break;
|
|
2645
|
+
}
|
|
2646
|
+
message.level = reader.int32();
|
|
2647
|
+
continue;
|
|
2648
|
+
}
|
|
2649
|
+
case 2: {
|
|
2650
|
+
if (tag !== 16) {
|
|
2651
|
+
break;
|
|
2652
|
+
}
|
|
2653
|
+
message.seqnum = reader.uint32();
|
|
2654
|
+
continue;
|
|
2655
|
+
}
|
|
2656
|
+
case 3: {
|
|
2657
|
+
if (tag !== 26) {
|
|
2658
|
+
break;
|
|
2659
|
+
}
|
|
2660
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2661
|
+
continue;
|
|
2662
|
+
}
|
|
2663
|
+
case 4: {
|
|
2664
|
+
if (tag !== 34) {
|
|
2665
|
+
break;
|
|
2666
|
+
}
|
|
2667
|
+
message.messages.push(reader.string());
|
|
2668
|
+
continue;
|
|
2669
|
+
}
|
|
2670
|
+
case 5: {
|
|
2671
|
+
if (tag !== 42) {
|
|
2672
|
+
break;
|
|
2673
|
+
}
|
|
2674
|
+
message.fields.push(exports.KernelLogEntry_KeyValuePair.decode(reader, reader.uint32()));
|
|
2675
|
+
continue;
|
|
2676
|
+
}
|
|
2677
|
+
}
|
|
2678
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2679
|
+
break;
|
|
2680
|
+
}
|
|
2681
|
+
reader.skip(tag & 7);
|
|
2682
|
+
}
|
|
2683
|
+
return message;
|
|
2684
|
+
},
|
|
2685
|
+
fromJSON(object) {
|
|
2686
|
+
return {
|
|
2687
|
+
level: isSet(object.level) ? kernelLogEntry_KernelLogLevelFromJSON(object.level) : 0,
|
|
2688
|
+
seqnum: isSet(object.seqnum) ? gt.Number(object.seqnum) : 0,
|
|
2689
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2690
|
+
messages: gt.Array.isArray(object?.messages) ? object.messages.map((e) => gt.String(e)) : [],
|
|
2691
|
+
fields: gt.Array.isArray(object?.fields)
|
|
2692
|
+
? object.fields.map((e) => exports.KernelLogEntry_KeyValuePair.fromJSON(e))
|
|
2693
|
+
: [],
|
|
2694
|
+
};
|
|
2695
|
+
},
|
|
2696
|
+
toJSON(message) {
|
|
2697
|
+
const obj = {};
|
|
2698
|
+
if (message.level !== 0) {
|
|
2699
|
+
obj.level = kernelLogEntry_KernelLogLevelToJSON(message.level);
|
|
2700
|
+
}
|
|
2701
|
+
if (message.seqnum !== 0) {
|
|
2702
|
+
obj.seqnum = Math.round(message.seqnum);
|
|
2703
|
+
}
|
|
2704
|
+
if (message.timestamp !== undefined) {
|
|
2705
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2706
|
+
}
|
|
2707
|
+
if (message.messages?.length) {
|
|
2708
|
+
obj.messages = message.messages;
|
|
2709
|
+
}
|
|
2710
|
+
if (message.fields?.length) {
|
|
2711
|
+
obj.fields = message.fields.map((e) => exports.KernelLogEntry_KeyValuePair.toJSON(e));
|
|
2712
|
+
}
|
|
2713
|
+
return obj;
|
|
2714
|
+
},
|
|
2715
|
+
create(base) {
|
|
2716
|
+
return exports.KernelLogEntry.fromPartial(base ?? {});
|
|
2717
|
+
},
|
|
2718
|
+
fromPartial(object) {
|
|
2719
|
+
const message = createBaseKernelLogEntry();
|
|
2720
|
+
message.level = object.level ?? 0;
|
|
2721
|
+
message.seqnum = object.seqnum ?? 0;
|
|
2722
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2723
|
+
message.messages = object.messages?.map((e) => e) || [];
|
|
2724
|
+
message.fields = object.fields?.map((e) => exports.KernelLogEntry_KeyValuePair.fromPartial(e)) || [];
|
|
2725
|
+
return message;
|
|
2726
|
+
},
|
|
2727
|
+
};
|
|
2728
|
+
function createBaseKernelLogEntry_KeyValuePair() {
|
|
2729
|
+
return { key: "", value: "" };
|
|
2730
|
+
}
|
|
2731
|
+
exports.KernelLogEntry_KeyValuePair = {
|
|
2732
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2733
|
+
if (message.key !== "") {
|
|
2734
|
+
writer.uint32(10).string(message.key);
|
|
2735
|
+
}
|
|
2736
|
+
if (message.value !== "") {
|
|
2737
|
+
writer.uint32(18).string(message.value);
|
|
2738
|
+
}
|
|
2739
|
+
return writer;
|
|
2740
|
+
},
|
|
2741
|
+
decode(input, length) {
|
|
2742
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2743
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2744
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2745
|
+
while (reader.pos < end) {
|
|
2746
|
+
const tag = reader.uint32();
|
|
2747
|
+
switch (tag >>> 3) {
|
|
2748
|
+
case 1: {
|
|
2749
|
+
if (tag !== 10) {
|
|
2750
|
+
break;
|
|
2751
|
+
}
|
|
2752
|
+
message.key = reader.string();
|
|
2753
|
+
continue;
|
|
2754
|
+
}
|
|
2755
|
+
case 2: {
|
|
2756
|
+
if (tag !== 18) {
|
|
2757
|
+
break;
|
|
2758
|
+
}
|
|
2759
|
+
message.value = reader.string();
|
|
2760
|
+
continue;
|
|
2761
|
+
}
|
|
2762
|
+
}
|
|
2763
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2764
|
+
break;
|
|
2765
|
+
}
|
|
2766
|
+
reader.skip(tag & 7);
|
|
2767
|
+
}
|
|
2768
|
+
return message;
|
|
2769
|
+
},
|
|
2770
|
+
fromJSON(object) {
|
|
2771
|
+
return {
|
|
2772
|
+
key: isSet(object.key) ? gt.String(object.key) : "",
|
|
2773
|
+
value: isSet(object.value) ? gt.String(object.value) : "",
|
|
2075
2774
|
};
|
|
2076
2775
|
},
|
|
2077
2776
|
toJSON(message) {
|
|
2078
2777
|
const obj = {};
|
|
2079
|
-
if (message.
|
|
2080
|
-
obj.
|
|
2081
|
-
}
|
|
2082
|
-
if (message.unixTimestamp !== undefined) {
|
|
2083
|
-
obj.unixTimestamp = message.unixTimestamp.toISOString();
|
|
2778
|
+
if (message.key !== "") {
|
|
2779
|
+
obj.key = message.key;
|
|
2084
2780
|
}
|
|
2085
|
-
if (message.
|
|
2086
|
-
obj.
|
|
2781
|
+
if (message.value !== "") {
|
|
2782
|
+
obj.value = message.value;
|
|
2087
2783
|
}
|
|
2088
2784
|
return obj;
|
|
2089
2785
|
},
|
|
2090
2786
|
create(base) {
|
|
2091
|
-
return exports.
|
|
2787
|
+
return exports.KernelLogEntry_KeyValuePair.fromPartial(base ?? {});
|
|
2092
2788
|
},
|
|
2093
2789
|
fromPartial(object) {
|
|
2094
|
-
const message =
|
|
2095
|
-
message.
|
|
2096
|
-
|
|
2097
|
-
: undefined;
|
|
2098
|
-
message.unixTimestamp = object.unixTimestamp ?? undefined;
|
|
2099
|
-
message.clockMonotonic = object.clockMonotonic ?? undefined;
|
|
2790
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2791
|
+
message.key = object.key ?? "";
|
|
2792
|
+
message.value = object.value ?? "";
|
|
2100
2793
|
return message;
|
|
2101
2794
|
},
|
|
2102
2795
|
};
|
|
@@ -3381,6 +4074,7 @@ function createBaseRecordState() {
|
|
|
3381
4074
|
multibeamIsRecording: false,
|
|
3382
4075
|
multibeamSeconds: 0,
|
|
3383
4076
|
multibeamFps: 0,
|
|
4077
|
+
storageLocation: 0,
|
|
3384
4078
|
};
|
|
3385
4079
|
}
|
|
3386
4080
|
exports.RecordState = {
|
|
@@ -3412,6 +4106,9 @@ exports.RecordState = {
|
|
|
3412
4106
|
if (message.multibeamFps !== 0) {
|
|
3413
4107
|
writer.uint32(77).float(message.multibeamFps);
|
|
3414
4108
|
}
|
|
4109
|
+
if (message.storageLocation !== 0) {
|
|
4110
|
+
writer.uint32(80).int32(message.storageLocation);
|
|
4111
|
+
}
|
|
3415
4112
|
return writer;
|
|
3416
4113
|
},
|
|
3417
4114
|
decode(input, length) {
|
|
@@ -3484,6 +4181,13 @@ exports.RecordState = {
|
|
|
3484
4181
|
message.multibeamFps = reader.float();
|
|
3485
4182
|
continue;
|
|
3486
4183
|
}
|
|
4184
|
+
case 10: {
|
|
4185
|
+
if (tag !== 80) {
|
|
4186
|
+
break;
|
|
4187
|
+
}
|
|
4188
|
+
message.storageLocation = reader.int32();
|
|
4189
|
+
continue;
|
|
4190
|
+
}
|
|
3487
4191
|
}
|
|
3488
4192
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3489
4193
|
break;
|
|
@@ -3503,6 +4207,7 @@ exports.RecordState = {
|
|
|
3503
4207
|
multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
|
|
3504
4208
|
multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
|
|
3505
4209
|
multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
|
|
4210
|
+
storageLocation: isSet(object.storageLocation) ? storageLocationFromJSON(object.storageLocation) : 0,
|
|
3506
4211
|
};
|
|
3507
4212
|
},
|
|
3508
4213
|
toJSON(message) {
|
|
@@ -3534,6 +4239,9 @@ exports.RecordState = {
|
|
|
3534
4239
|
if (message.multibeamFps !== 0) {
|
|
3535
4240
|
obj.multibeamFps = message.multibeamFps;
|
|
3536
4241
|
}
|
|
4242
|
+
if (message.storageLocation !== 0) {
|
|
4243
|
+
obj.storageLocation = storageLocationToJSON(message.storageLocation);
|
|
4244
|
+
}
|
|
3537
4245
|
return obj;
|
|
3538
4246
|
},
|
|
3539
4247
|
create(base) {
|
|
@@ -3550,6 +4258,7 @@ exports.RecordState = {
|
|
|
3550
4258
|
message.multibeamIsRecording = object.multibeamIsRecording ?? false;
|
|
3551
4259
|
message.multibeamSeconds = object.multibeamSeconds ?? 0;
|
|
3552
4260
|
message.multibeamFps = object.multibeamFps ?? 0;
|
|
4261
|
+
message.storageLocation = object.storageLocation ?? 0;
|
|
3553
4262
|
return message;
|
|
3554
4263
|
},
|
|
3555
4264
|
};
|
|
@@ -7388,38 +8097,400 @@ exports.RecordOn = {
|
|
|
7388
8097
|
return message;
|
|
7389
8098
|
},
|
|
7390
8099
|
};
|
|
7391
|
-
function createBaseStorageSpace() {
|
|
7392
|
-
return { totalSpace: 0, freeSpace: 0 };
|
|
8100
|
+
function createBaseStorageSpace() {
|
|
8101
|
+
return { totalSpace: 0, freeSpace: 0 };
|
|
8102
|
+
}
|
|
8103
|
+
exports.StorageSpace = {
|
|
8104
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
8105
|
+
if (message.totalSpace !== 0) {
|
|
8106
|
+
writer.uint32(8).int64(message.totalSpace);
|
|
8107
|
+
}
|
|
8108
|
+
if (message.freeSpace !== 0) {
|
|
8109
|
+
writer.uint32(16).int64(message.freeSpace);
|
|
8110
|
+
}
|
|
8111
|
+
return writer;
|
|
8112
|
+
},
|
|
8113
|
+
decode(input, length) {
|
|
8114
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8115
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8116
|
+
const message = createBaseStorageSpace();
|
|
8117
|
+
while (reader.pos < end) {
|
|
8118
|
+
const tag = reader.uint32();
|
|
8119
|
+
switch (tag >>> 3) {
|
|
8120
|
+
case 1: {
|
|
8121
|
+
if (tag !== 8) {
|
|
8122
|
+
break;
|
|
8123
|
+
}
|
|
8124
|
+
message.totalSpace = longToNumber(reader.int64());
|
|
8125
|
+
continue;
|
|
8126
|
+
}
|
|
8127
|
+
case 2: {
|
|
8128
|
+
if (tag !== 16) {
|
|
8129
|
+
break;
|
|
8130
|
+
}
|
|
8131
|
+
message.freeSpace = longToNumber(reader.int64());
|
|
8132
|
+
continue;
|
|
8133
|
+
}
|
|
8134
|
+
}
|
|
8135
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8136
|
+
break;
|
|
8137
|
+
}
|
|
8138
|
+
reader.skip(tag & 7);
|
|
8139
|
+
}
|
|
8140
|
+
return message;
|
|
8141
|
+
},
|
|
8142
|
+
fromJSON(object) {
|
|
8143
|
+
return {
|
|
8144
|
+
totalSpace: isSet(object.totalSpace) ? gt.Number(object.totalSpace) : 0,
|
|
8145
|
+
freeSpace: isSet(object.freeSpace) ? gt.Number(object.freeSpace) : 0,
|
|
8146
|
+
};
|
|
8147
|
+
},
|
|
8148
|
+
toJSON(message) {
|
|
8149
|
+
const obj = {};
|
|
8150
|
+
if (message.totalSpace !== 0) {
|
|
8151
|
+
obj.totalSpace = Math.round(message.totalSpace);
|
|
8152
|
+
}
|
|
8153
|
+
if (message.freeSpace !== 0) {
|
|
8154
|
+
obj.freeSpace = Math.round(message.freeSpace);
|
|
8155
|
+
}
|
|
8156
|
+
return obj;
|
|
8157
|
+
},
|
|
8158
|
+
create(base) {
|
|
8159
|
+
return exports.StorageSpace.fromPartial(base ?? {});
|
|
8160
|
+
},
|
|
8161
|
+
fromPartial(object) {
|
|
8162
|
+
const message = createBaseStorageSpace();
|
|
8163
|
+
message.totalSpace = object.totalSpace ?? 0;
|
|
8164
|
+
message.freeSpace = object.freeSpace ?? 0;
|
|
8165
|
+
return message;
|
|
8166
|
+
},
|
|
8167
|
+
};
|
|
8168
|
+
function createBaseStoragePartition() {
|
|
8169
|
+
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "", label: "" };
|
|
8170
|
+
}
|
|
8171
|
+
exports.StoragePartition = {
|
|
8172
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
8173
|
+
if (message.storageSpace !== undefined) {
|
|
8174
|
+
exports.StorageSpace.encode(message.storageSpace, writer.uint32(10).fork()).join();
|
|
8175
|
+
}
|
|
8176
|
+
if (message.fileSystemType !== "") {
|
|
8177
|
+
writer.uint32(18).string(message.fileSystemType);
|
|
8178
|
+
}
|
|
8179
|
+
if (message.devicePath !== "") {
|
|
8180
|
+
writer.uint32(26).string(message.devicePath);
|
|
8181
|
+
}
|
|
8182
|
+
if (message.mountPath !== "") {
|
|
8183
|
+
writer.uint32(34).string(message.mountPath);
|
|
8184
|
+
}
|
|
8185
|
+
if (message.label !== "") {
|
|
8186
|
+
writer.uint32(42).string(message.label);
|
|
8187
|
+
}
|
|
8188
|
+
return writer;
|
|
8189
|
+
},
|
|
8190
|
+
decode(input, length) {
|
|
8191
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8192
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8193
|
+
const message = createBaseStoragePartition();
|
|
8194
|
+
while (reader.pos < end) {
|
|
8195
|
+
const tag = reader.uint32();
|
|
8196
|
+
switch (tag >>> 3) {
|
|
8197
|
+
case 1: {
|
|
8198
|
+
if (tag !== 10) {
|
|
8199
|
+
break;
|
|
8200
|
+
}
|
|
8201
|
+
message.storageSpace = exports.StorageSpace.decode(reader, reader.uint32());
|
|
8202
|
+
continue;
|
|
8203
|
+
}
|
|
8204
|
+
case 2: {
|
|
8205
|
+
if (tag !== 18) {
|
|
8206
|
+
break;
|
|
8207
|
+
}
|
|
8208
|
+
message.fileSystemType = reader.string();
|
|
8209
|
+
continue;
|
|
8210
|
+
}
|
|
8211
|
+
case 3: {
|
|
8212
|
+
if (tag !== 26) {
|
|
8213
|
+
break;
|
|
8214
|
+
}
|
|
8215
|
+
message.devicePath = reader.string();
|
|
8216
|
+
continue;
|
|
8217
|
+
}
|
|
8218
|
+
case 4: {
|
|
8219
|
+
if (tag !== 34) {
|
|
8220
|
+
break;
|
|
8221
|
+
}
|
|
8222
|
+
message.mountPath = reader.string();
|
|
8223
|
+
continue;
|
|
8224
|
+
}
|
|
8225
|
+
case 5: {
|
|
8226
|
+
if (tag !== 42) {
|
|
8227
|
+
break;
|
|
8228
|
+
}
|
|
8229
|
+
message.label = reader.string();
|
|
8230
|
+
continue;
|
|
8231
|
+
}
|
|
8232
|
+
}
|
|
8233
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8234
|
+
break;
|
|
8235
|
+
}
|
|
8236
|
+
reader.skip(tag & 7);
|
|
8237
|
+
}
|
|
8238
|
+
return message;
|
|
8239
|
+
},
|
|
8240
|
+
fromJSON(object) {
|
|
8241
|
+
return {
|
|
8242
|
+
storageSpace: isSet(object.storageSpace) ? exports.StorageSpace.fromJSON(object.storageSpace) : undefined,
|
|
8243
|
+
fileSystemType: isSet(object.fileSystemType) ? gt.String(object.fileSystemType) : "",
|
|
8244
|
+
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
8245
|
+
mountPath: isSet(object.mountPath) ? gt.String(object.mountPath) : "",
|
|
8246
|
+
label: isSet(object.label) ? gt.String(object.label) : "",
|
|
8247
|
+
};
|
|
8248
|
+
},
|
|
8249
|
+
toJSON(message) {
|
|
8250
|
+
const obj = {};
|
|
8251
|
+
if (message.storageSpace !== undefined) {
|
|
8252
|
+
obj.storageSpace = exports.StorageSpace.toJSON(message.storageSpace);
|
|
8253
|
+
}
|
|
8254
|
+
if (message.fileSystemType !== "") {
|
|
8255
|
+
obj.fileSystemType = message.fileSystemType;
|
|
8256
|
+
}
|
|
8257
|
+
if (message.devicePath !== "") {
|
|
8258
|
+
obj.devicePath = message.devicePath;
|
|
8259
|
+
}
|
|
8260
|
+
if (message.mountPath !== "") {
|
|
8261
|
+
obj.mountPath = message.mountPath;
|
|
8262
|
+
}
|
|
8263
|
+
if (message.label !== "") {
|
|
8264
|
+
obj.label = message.label;
|
|
8265
|
+
}
|
|
8266
|
+
return obj;
|
|
8267
|
+
},
|
|
8268
|
+
create(base) {
|
|
8269
|
+
return exports.StoragePartition.fromPartial(base ?? {});
|
|
8270
|
+
},
|
|
8271
|
+
fromPartial(object) {
|
|
8272
|
+
const message = createBaseStoragePartition();
|
|
8273
|
+
message.storageSpace = (object.storageSpace !== undefined && object.storageSpace !== null)
|
|
8274
|
+
? exports.StorageSpace.fromPartial(object.storageSpace)
|
|
8275
|
+
: undefined;
|
|
8276
|
+
message.fileSystemType = object.fileSystemType ?? "";
|
|
8277
|
+
message.devicePath = object.devicePath ?? "";
|
|
8278
|
+
message.mountPath = object.mountPath ?? "";
|
|
8279
|
+
message.label = object.label ?? "";
|
|
8280
|
+
return message;
|
|
8281
|
+
},
|
|
8282
|
+
};
|
|
8283
|
+
function createBaseRemovableStorageDevice() {
|
|
8284
|
+
return { vendorName: "", modelName: "", devicePath: "", status: 0, errorFlags: undefined, partitions: [] };
|
|
8285
|
+
}
|
|
8286
|
+
exports.RemovableStorageDevice = {
|
|
8287
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
8288
|
+
if (message.vendorName !== "") {
|
|
8289
|
+
writer.uint32(10).string(message.vendorName);
|
|
8290
|
+
}
|
|
8291
|
+
if (message.modelName !== "") {
|
|
8292
|
+
writer.uint32(18).string(message.modelName);
|
|
8293
|
+
}
|
|
8294
|
+
if (message.devicePath !== "") {
|
|
8295
|
+
writer.uint32(26).string(message.devicePath);
|
|
8296
|
+
}
|
|
8297
|
+
if (message.status !== 0) {
|
|
8298
|
+
writer.uint32(32).int32(message.status);
|
|
8299
|
+
}
|
|
8300
|
+
if (message.errorFlags !== undefined) {
|
|
8301
|
+
exports.RemovableStorageErrorFlags.encode(message.errorFlags, writer.uint32(42).fork()).join();
|
|
8302
|
+
}
|
|
8303
|
+
for (const v of message.partitions) {
|
|
8304
|
+
exports.StoragePartition.encode(v, writer.uint32(50).fork()).join();
|
|
8305
|
+
}
|
|
8306
|
+
return writer;
|
|
8307
|
+
},
|
|
8308
|
+
decode(input, length) {
|
|
8309
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8310
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8311
|
+
const message = createBaseRemovableStorageDevice();
|
|
8312
|
+
while (reader.pos < end) {
|
|
8313
|
+
const tag = reader.uint32();
|
|
8314
|
+
switch (tag >>> 3) {
|
|
8315
|
+
case 1: {
|
|
8316
|
+
if (tag !== 10) {
|
|
8317
|
+
break;
|
|
8318
|
+
}
|
|
8319
|
+
message.vendorName = reader.string();
|
|
8320
|
+
continue;
|
|
8321
|
+
}
|
|
8322
|
+
case 2: {
|
|
8323
|
+
if (tag !== 18) {
|
|
8324
|
+
break;
|
|
8325
|
+
}
|
|
8326
|
+
message.modelName = reader.string();
|
|
8327
|
+
continue;
|
|
8328
|
+
}
|
|
8329
|
+
case 3: {
|
|
8330
|
+
if (tag !== 26) {
|
|
8331
|
+
break;
|
|
8332
|
+
}
|
|
8333
|
+
message.devicePath = reader.string();
|
|
8334
|
+
continue;
|
|
8335
|
+
}
|
|
8336
|
+
case 4: {
|
|
8337
|
+
if (tag !== 32) {
|
|
8338
|
+
break;
|
|
8339
|
+
}
|
|
8340
|
+
message.status = reader.int32();
|
|
8341
|
+
continue;
|
|
8342
|
+
}
|
|
8343
|
+
case 5: {
|
|
8344
|
+
if (tag !== 42) {
|
|
8345
|
+
break;
|
|
8346
|
+
}
|
|
8347
|
+
message.errorFlags = exports.RemovableStorageErrorFlags.decode(reader, reader.uint32());
|
|
8348
|
+
continue;
|
|
8349
|
+
}
|
|
8350
|
+
case 6: {
|
|
8351
|
+
if (tag !== 50) {
|
|
8352
|
+
break;
|
|
8353
|
+
}
|
|
8354
|
+
message.partitions.push(exports.StoragePartition.decode(reader, reader.uint32()));
|
|
8355
|
+
continue;
|
|
8356
|
+
}
|
|
8357
|
+
}
|
|
8358
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8359
|
+
break;
|
|
8360
|
+
}
|
|
8361
|
+
reader.skip(tag & 7);
|
|
8362
|
+
}
|
|
8363
|
+
return message;
|
|
8364
|
+
},
|
|
8365
|
+
fromJSON(object) {
|
|
8366
|
+
return {
|
|
8367
|
+
vendorName: isSet(object.vendorName) ? gt.String(object.vendorName) : "",
|
|
8368
|
+
modelName: isSet(object.modelName) ? gt.String(object.modelName) : "",
|
|
8369
|
+
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
8370
|
+
status: isSet(object.status) ? removableStorageDevice_StatusFromJSON(object.status) : 0,
|
|
8371
|
+
errorFlags: isSet(object.errorFlags) ? exports.RemovableStorageErrorFlags.fromJSON(object.errorFlags) : undefined,
|
|
8372
|
+
partitions: gt.Array.isArray(object?.partitions)
|
|
8373
|
+
? object.partitions.map((e) => exports.StoragePartition.fromJSON(e))
|
|
8374
|
+
: [],
|
|
8375
|
+
};
|
|
8376
|
+
},
|
|
8377
|
+
toJSON(message) {
|
|
8378
|
+
const obj = {};
|
|
8379
|
+
if (message.vendorName !== "") {
|
|
8380
|
+
obj.vendorName = message.vendorName;
|
|
8381
|
+
}
|
|
8382
|
+
if (message.modelName !== "") {
|
|
8383
|
+
obj.modelName = message.modelName;
|
|
8384
|
+
}
|
|
8385
|
+
if (message.devicePath !== "") {
|
|
8386
|
+
obj.devicePath = message.devicePath;
|
|
8387
|
+
}
|
|
8388
|
+
if (message.status !== 0) {
|
|
8389
|
+
obj.status = removableStorageDevice_StatusToJSON(message.status);
|
|
8390
|
+
}
|
|
8391
|
+
if (message.errorFlags !== undefined) {
|
|
8392
|
+
obj.errorFlags = exports.RemovableStorageErrorFlags.toJSON(message.errorFlags);
|
|
8393
|
+
}
|
|
8394
|
+
if (message.partitions?.length) {
|
|
8395
|
+
obj.partitions = message.partitions.map((e) => exports.StoragePartition.toJSON(e));
|
|
8396
|
+
}
|
|
8397
|
+
return obj;
|
|
8398
|
+
},
|
|
8399
|
+
create(base) {
|
|
8400
|
+
return exports.RemovableStorageDevice.fromPartial(base ?? {});
|
|
8401
|
+
},
|
|
8402
|
+
fromPartial(object) {
|
|
8403
|
+
const message = createBaseRemovableStorageDevice();
|
|
8404
|
+
message.vendorName = object.vendorName ?? "";
|
|
8405
|
+
message.modelName = object.modelName ?? "";
|
|
8406
|
+
message.devicePath = object.devicePath ?? "";
|
|
8407
|
+
message.status = object.status ?? 0;
|
|
8408
|
+
message.errorFlags = (object.errorFlags !== undefined && object.errorFlags !== null)
|
|
8409
|
+
? exports.RemovableStorageErrorFlags.fromPartial(object.errorFlags)
|
|
8410
|
+
: undefined;
|
|
8411
|
+
message.partitions = object.partitions?.map((e) => exports.StoragePartition.fromPartial(e)) || [];
|
|
8412
|
+
return message;
|
|
8413
|
+
},
|
|
8414
|
+
};
|
|
8415
|
+
function createBaseRemovableStorageErrorFlags() {
|
|
8416
|
+
return {
|
|
8417
|
+
errorMessage: "",
|
|
8418
|
+
noPartitionsFound: false,
|
|
8419
|
+
multiplePartitionsFound: false,
|
|
8420
|
+
wrongFileSystemFound: false,
|
|
8421
|
+
deviceIsReadOnly: false,
|
|
8422
|
+
formattingFailed: false,
|
|
8423
|
+
};
|
|
7393
8424
|
}
|
|
7394
|
-
exports.
|
|
8425
|
+
exports.RemovableStorageErrorFlags = {
|
|
7395
8426
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
7396
|
-
if (message.
|
|
7397
|
-
writer.uint32(
|
|
8427
|
+
if (message.errorMessage !== "") {
|
|
8428
|
+
writer.uint32(10).string(message.errorMessage);
|
|
7398
8429
|
}
|
|
7399
|
-
if (message.
|
|
7400
|
-
writer.uint32(16).
|
|
8430
|
+
if (message.noPartitionsFound !== false) {
|
|
8431
|
+
writer.uint32(16).bool(message.noPartitionsFound);
|
|
8432
|
+
}
|
|
8433
|
+
if (message.multiplePartitionsFound !== false) {
|
|
8434
|
+
writer.uint32(24).bool(message.multiplePartitionsFound);
|
|
8435
|
+
}
|
|
8436
|
+
if (message.wrongFileSystemFound !== false) {
|
|
8437
|
+
writer.uint32(32).bool(message.wrongFileSystemFound);
|
|
8438
|
+
}
|
|
8439
|
+
if (message.deviceIsReadOnly !== false) {
|
|
8440
|
+
writer.uint32(40).bool(message.deviceIsReadOnly);
|
|
8441
|
+
}
|
|
8442
|
+
if (message.formattingFailed !== false) {
|
|
8443
|
+
writer.uint32(48).bool(message.formattingFailed);
|
|
7401
8444
|
}
|
|
7402
8445
|
return writer;
|
|
7403
8446
|
},
|
|
7404
8447
|
decode(input, length) {
|
|
7405
8448
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
7406
8449
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
7407
|
-
const message =
|
|
8450
|
+
const message = createBaseRemovableStorageErrorFlags();
|
|
7408
8451
|
while (reader.pos < end) {
|
|
7409
8452
|
const tag = reader.uint32();
|
|
7410
8453
|
switch (tag >>> 3) {
|
|
7411
8454
|
case 1: {
|
|
7412
|
-
if (tag !==
|
|
8455
|
+
if (tag !== 10) {
|
|
7413
8456
|
break;
|
|
7414
8457
|
}
|
|
7415
|
-
message.
|
|
8458
|
+
message.errorMessage = reader.string();
|
|
7416
8459
|
continue;
|
|
7417
8460
|
}
|
|
7418
8461
|
case 2: {
|
|
7419
8462
|
if (tag !== 16) {
|
|
7420
8463
|
break;
|
|
7421
8464
|
}
|
|
7422
|
-
message.
|
|
8465
|
+
message.noPartitionsFound = reader.bool();
|
|
8466
|
+
continue;
|
|
8467
|
+
}
|
|
8468
|
+
case 3: {
|
|
8469
|
+
if (tag !== 24) {
|
|
8470
|
+
break;
|
|
8471
|
+
}
|
|
8472
|
+
message.multiplePartitionsFound = reader.bool();
|
|
8473
|
+
continue;
|
|
8474
|
+
}
|
|
8475
|
+
case 4: {
|
|
8476
|
+
if (tag !== 32) {
|
|
8477
|
+
break;
|
|
8478
|
+
}
|
|
8479
|
+
message.wrongFileSystemFound = reader.bool();
|
|
8480
|
+
continue;
|
|
8481
|
+
}
|
|
8482
|
+
case 5: {
|
|
8483
|
+
if (tag !== 40) {
|
|
8484
|
+
break;
|
|
8485
|
+
}
|
|
8486
|
+
message.deviceIsReadOnly = reader.bool();
|
|
8487
|
+
continue;
|
|
8488
|
+
}
|
|
8489
|
+
case 6: {
|
|
8490
|
+
if (tag !== 48) {
|
|
8491
|
+
break;
|
|
8492
|
+
}
|
|
8493
|
+
message.formattingFailed = reader.bool();
|
|
7423
8494
|
continue;
|
|
7424
8495
|
}
|
|
7425
8496
|
}
|
|
@@ -7432,27 +8503,49 @@ exports.StorageSpace = {
|
|
|
7432
8503
|
},
|
|
7433
8504
|
fromJSON(object) {
|
|
7434
8505
|
return {
|
|
7435
|
-
|
|
7436
|
-
|
|
8506
|
+
errorMessage: isSet(object.errorMessage) ? gt.String(object.errorMessage) : "",
|
|
8507
|
+
noPartitionsFound: isSet(object.noPartitionsFound) ? gt.Boolean(object.noPartitionsFound) : false,
|
|
8508
|
+
multiplePartitionsFound: isSet(object.multiplePartitionsFound)
|
|
8509
|
+
? gt.Boolean(object.multiplePartitionsFound)
|
|
8510
|
+
: false,
|
|
8511
|
+
wrongFileSystemFound: isSet(object.wrongFileSystemFound) ? gt.Boolean(object.wrongFileSystemFound) : false,
|
|
8512
|
+
deviceIsReadOnly: isSet(object.deviceIsReadOnly) ? gt.Boolean(object.deviceIsReadOnly) : false,
|
|
8513
|
+
formattingFailed: isSet(object.formattingFailed) ? gt.Boolean(object.formattingFailed) : false,
|
|
7437
8514
|
};
|
|
7438
8515
|
},
|
|
7439
8516
|
toJSON(message) {
|
|
7440
8517
|
const obj = {};
|
|
7441
|
-
if (message.
|
|
7442
|
-
obj.
|
|
8518
|
+
if (message.errorMessage !== "") {
|
|
8519
|
+
obj.errorMessage = message.errorMessage;
|
|
7443
8520
|
}
|
|
7444
|
-
if (message.
|
|
7445
|
-
obj.
|
|
8521
|
+
if (message.noPartitionsFound !== false) {
|
|
8522
|
+
obj.noPartitionsFound = message.noPartitionsFound;
|
|
8523
|
+
}
|
|
8524
|
+
if (message.multiplePartitionsFound !== false) {
|
|
8525
|
+
obj.multiplePartitionsFound = message.multiplePartitionsFound;
|
|
8526
|
+
}
|
|
8527
|
+
if (message.wrongFileSystemFound !== false) {
|
|
8528
|
+
obj.wrongFileSystemFound = message.wrongFileSystemFound;
|
|
8529
|
+
}
|
|
8530
|
+
if (message.deviceIsReadOnly !== false) {
|
|
8531
|
+
obj.deviceIsReadOnly = message.deviceIsReadOnly;
|
|
8532
|
+
}
|
|
8533
|
+
if (message.formattingFailed !== false) {
|
|
8534
|
+
obj.formattingFailed = message.formattingFailed;
|
|
7446
8535
|
}
|
|
7447
8536
|
return obj;
|
|
7448
8537
|
},
|
|
7449
8538
|
create(base) {
|
|
7450
|
-
return exports.
|
|
8539
|
+
return exports.RemovableStorageErrorFlags.fromPartial(base ?? {});
|
|
7451
8540
|
},
|
|
7452
8541
|
fromPartial(object) {
|
|
7453
|
-
const message =
|
|
7454
|
-
message.
|
|
7455
|
-
message.
|
|
8542
|
+
const message = createBaseRemovableStorageErrorFlags();
|
|
8543
|
+
message.errorMessage = object.errorMessage ?? "";
|
|
8544
|
+
message.noPartitionsFound = object.noPartitionsFound ?? false;
|
|
8545
|
+
message.multiplePartitionsFound = object.multiplePartitionsFound ?? false;
|
|
8546
|
+
message.wrongFileSystemFound = object.wrongFileSystemFound ?? false;
|
|
8547
|
+
message.deviceIsReadOnly = object.deviceIsReadOnly ?? false;
|
|
8548
|
+
message.formattingFailed = object.formattingFailed ?? false;
|
|
7456
8549
|
return message;
|
|
7457
8550
|
},
|
|
7458
8551
|
};
|
|
@@ -8881,9 +9974,20 @@ function createBaseCameraParameters() {
|
|
|
8881
9974
|
whiteBalance: 0,
|
|
8882
9975
|
hue: 0,
|
|
8883
9976
|
gain: 0,
|
|
9977
|
+
brightness: 0,
|
|
9978
|
+
contrast: 0,
|
|
9979
|
+
saturation: 0,
|
|
9980
|
+
gamma: 0,
|
|
9981
|
+
sharpness: 0,
|
|
9982
|
+
backlightCompensation: 0,
|
|
9983
|
+
denoise: 0,
|
|
9984
|
+
ehdrEnabled: false,
|
|
9985
|
+
ehdrExposureMinNumber: 0,
|
|
9986
|
+
ehdrExposureMaxNumber: 0,
|
|
8884
9987
|
resolution: 0,
|
|
8885
9988
|
streamResolution: 0,
|
|
8886
9989
|
recordingResolution: 0,
|
|
9990
|
+
streamingProtocol: 0,
|
|
8887
9991
|
framerate: 0,
|
|
8888
9992
|
camera: 0,
|
|
8889
9993
|
};
|
|
@@ -8908,6 +10012,36 @@ exports.CameraParameters = {
|
|
|
8908
10012
|
if (message.gain !== 0) {
|
|
8909
10013
|
writer.uint32(77).float(message.gain);
|
|
8910
10014
|
}
|
|
10015
|
+
if (message.brightness !== 0) {
|
|
10016
|
+
writer.uint32(96).int32(message.brightness);
|
|
10017
|
+
}
|
|
10018
|
+
if (message.contrast !== 0) {
|
|
10019
|
+
writer.uint32(104).int32(message.contrast);
|
|
10020
|
+
}
|
|
10021
|
+
if (message.saturation !== 0) {
|
|
10022
|
+
writer.uint32(112).int32(message.saturation);
|
|
10023
|
+
}
|
|
10024
|
+
if (message.gamma !== 0) {
|
|
10025
|
+
writer.uint32(120).int32(message.gamma);
|
|
10026
|
+
}
|
|
10027
|
+
if (message.sharpness !== 0) {
|
|
10028
|
+
writer.uint32(128).int32(message.sharpness);
|
|
10029
|
+
}
|
|
10030
|
+
if (message.backlightCompensation !== 0) {
|
|
10031
|
+
writer.uint32(136).int32(message.backlightCompensation);
|
|
10032
|
+
}
|
|
10033
|
+
if (message.denoise !== 0) {
|
|
10034
|
+
writer.uint32(144).int32(message.denoise);
|
|
10035
|
+
}
|
|
10036
|
+
if (message.ehdrEnabled !== false) {
|
|
10037
|
+
writer.uint32(168).bool(message.ehdrEnabled);
|
|
10038
|
+
}
|
|
10039
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10040
|
+
writer.uint32(176).int32(message.ehdrExposureMinNumber);
|
|
10041
|
+
}
|
|
10042
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10043
|
+
writer.uint32(184).int32(message.ehdrExposureMaxNumber);
|
|
10044
|
+
}
|
|
8911
10045
|
if (message.resolution !== 0) {
|
|
8912
10046
|
writer.uint32(48).int32(message.resolution);
|
|
8913
10047
|
}
|
|
@@ -8917,6 +10051,9 @@ exports.CameraParameters = {
|
|
|
8917
10051
|
if (message.recordingResolution !== 0) {
|
|
8918
10052
|
writer.uint32(88).int32(message.recordingResolution);
|
|
8919
10053
|
}
|
|
10054
|
+
if (message.streamingProtocol !== 0) {
|
|
10055
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
10056
|
+
}
|
|
8920
10057
|
if (message.framerate !== 0) {
|
|
8921
10058
|
writer.uint32(56).int32(message.framerate);
|
|
8922
10059
|
}
|
|
@@ -8974,6 +10111,76 @@ exports.CameraParameters = {
|
|
|
8974
10111
|
message.gain = reader.float();
|
|
8975
10112
|
continue;
|
|
8976
10113
|
}
|
|
10114
|
+
case 12: {
|
|
10115
|
+
if (tag !== 96) {
|
|
10116
|
+
break;
|
|
10117
|
+
}
|
|
10118
|
+
message.brightness = reader.int32();
|
|
10119
|
+
continue;
|
|
10120
|
+
}
|
|
10121
|
+
case 13: {
|
|
10122
|
+
if (tag !== 104) {
|
|
10123
|
+
break;
|
|
10124
|
+
}
|
|
10125
|
+
message.contrast = reader.int32();
|
|
10126
|
+
continue;
|
|
10127
|
+
}
|
|
10128
|
+
case 14: {
|
|
10129
|
+
if (tag !== 112) {
|
|
10130
|
+
break;
|
|
10131
|
+
}
|
|
10132
|
+
message.saturation = reader.int32();
|
|
10133
|
+
continue;
|
|
10134
|
+
}
|
|
10135
|
+
case 15: {
|
|
10136
|
+
if (tag !== 120) {
|
|
10137
|
+
break;
|
|
10138
|
+
}
|
|
10139
|
+
message.gamma = reader.int32();
|
|
10140
|
+
continue;
|
|
10141
|
+
}
|
|
10142
|
+
case 16: {
|
|
10143
|
+
if (tag !== 128) {
|
|
10144
|
+
break;
|
|
10145
|
+
}
|
|
10146
|
+
message.sharpness = reader.int32();
|
|
10147
|
+
continue;
|
|
10148
|
+
}
|
|
10149
|
+
case 17: {
|
|
10150
|
+
if (tag !== 136) {
|
|
10151
|
+
break;
|
|
10152
|
+
}
|
|
10153
|
+
message.backlightCompensation = reader.int32();
|
|
10154
|
+
continue;
|
|
10155
|
+
}
|
|
10156
|
+
case 18: {
|
|
10157
|
+
if (tag !== 144) {
|
|
10158
|
+
break;
|
|
10159
|
+
}
|
|
10160
|
+
message.denoise = reader.int32();
|
|
10161
|
+
continue;
|
|
10162
|
+
}
|
|
10163
|
+
case 21: {
|
|
10164
|
+
if (tag !== 168) {
|
|
10165
|
+
break;
|
|
10166
|
+
}
|
|
10167
|
+
message.ehdrEnabled = reader.bool();
|
|
10168
|
+
continue;
|
|
10169
|
+
}
|
|
10170
|
+
case 22: {
|
|
10171
|
+
if (tag !== 176) {
|
|
10172
|
+
break;
|
|
10173
|
+
}
|
|
10174
|
+
message.ehdrExposureMinNumber = reader.int32();
|
|
10175
|
+
continue;
|
|
10176
|
+
}
|
|
10177
|
+
case 23: {
|
|
10178
|
+
if (tag !== 184) {
|
|
10179
|
+
break;
|
|
10180
|
+
}
|
|
10181
|
+
message.ehdrExposureMaxNumber = reader.int32();
|
|
10182
|
+
continue;
|
|
10183
|
+
}
|
|
8977
10184
|
case 6: {
|
|
8978
10185
|
if (tag !== 48) {
|
|
8979
10186
|
break;
|
|
@@ -8995,6 +10202,13 @@ exports.CameraParameters = {
|
|
|
8995
10202
|
message.recordingResolution = reader.int32();
|
|
8996
10203
|
continue;
|
|
8997
10204
|
}
|
|
10205
|
+
case 20: {
|
|
10206
|
+
if (tag !== 160) {
|
|
10207
|
+
break;
|
|
10208
|
+
}
|
|
10209
|
+
message.streamingProtocol = reader.int32();
|
|
10210
|
+
continue;
|
|
10211
|
+
}
|
|
8998
10212
|
case 7: {
|
|
8999
10213
|
if (tag !== 56) {
|
|
9000
10214
|
break;
|
|
@@ -9025,9 +10239,20 @@ exports.CameraParameters = {
|
|
|
9025
10239
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9026
10240
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9027
10241
|
gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
|
|
10242
|
+
brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
|
|
10243
|
+
contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
|
|
10244
|
+
saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
|
|
10245
|
+
gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
|
|
10246
|
+
sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
|
|
10247
|
+
backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
|
|
10248
|
+
denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
|
|
10249
|
+
ehdrEnabled: isSet(object.ehdrEnabled) ? gt.Boolean(object.ehdrEnabled) : false,
|
|
10250
|
+
ehdrExposureMinNumber: isSet(object.ehdrExposureMinNumber) ? gt.Number(object.ehdrExposureMinNumber) : 0,
|
|
10251
|
+
ehdrExposureMaxNumber: isSet(object.ehdrExposureMaxNumber) ? gt.Number(object.ehdrExposureMaxNumber) : 0,
|
|
9028
10252
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9029
10253
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9030
10254
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
10255
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9031
10256
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9032
10257
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
9033
10258
|
};
|
|
@@ -9052,6 +10277,36 @@ exports.CameraParameters = {
|
|
|
9052
10277
|
if (message.gain !== 0) {
|
|
9053
10278
|
obj.gain = message.gain;
|
|
9054
10279
|
}
|
|
10280
|
+
if (message.brightness !== 0) {
|
|
10281
|
+
obj.brightness = Math.round(message.brightness);
|
|
10282
|
+
}
|
|
10283
|
+
if (message.contrast !== 0) {
|
|
10284
|
+
obj.contrast = Math.round(message.contrast);
|
|
10285
|
+
}
|
|
10286
|
+
if (message.saturation !== 0) {
|
|
10287
|
+
obj.saturation = Math.round(message.saturation);
|
|
10288
|
+
}
|
|
10289
|
+
if (message.gamma !== 0) {
|
|
10290
|
+
obj.gamma = Math.round(message.gamma);
|
|
10291
|
+
}
|
|
10292
|
+
if (message.sharpness !== 0) {
|
|
10293
|
+
obj.sharpness = Math.round(message.sharpness);
|
|
10294
|
+
}
|
|
10295
|
+
if (message.backlightCompensation !== 0) {
|
|
10296
|
+
obj.backlightCompensation = Math.round(message.backlightCompensation);
|
|
10297
|
+
}
|
|
10298
|
+
if (message.denoise !== 0) {
|
|
10299
|
+
obj.denoise = Math.round(message.denoise);
|
|
10300
|
+
}
|
|
10301
|
+
if (message.ehdrEnabled !== false) {
|
|
10302
|
+
obj.ehdrEnabled = message.ehdrEnabled;
|
|
10303
|
+
}
|
|
10304
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10305
|
+
obj.ehdrExposureMinNumber = Math.round(message.ehdrExposureMinNumber);
|
|
10306
|
+
}
|
|
10307
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10308
|
+
obj.ehdrExposureMaxNumber = Math.round(message.ehdrExposureMaxNumber);
|
|
10309
|
+
}
|
|
9055
10310
|
if (message.resolution !== 0) {
|
|
9056
10311
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9057
10312
|
}
|
|
@@ -9061,6 +10316,9 @@ exports.CameraParameters = {
|
|
|
9061
10316
|
if (message.recordingResolution !== 0) {
|
|
9062
10317
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9063
10318
|
}
|
|
10319
|
+
if (message.streamingProtocol !== 0) {
|
|
10320
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
10321
|
+
}
|
|
9064
10322
|
if (message.framerate !== 0) {
|
|
9065
10323
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9066
10324
|
}
|
|
@@ -9080,9 +10338,20 @@ exports.CameraParameters = {
|
|
|
9080
10338
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9081
10339
|
message.hue = object.hue ?? 0;
|
|
9082
10340
|
message.gain = object.gain ?? 0;
|
|
10341
|
+
message.brightness = object.brightness ?? 0;
|
|
10342
|
+
message.contrast = object.contrast ?? 0;
|
|
10343
|
+
message.saturation = object.saturation ?? 0;
|
|
10344
|
+
message.gamma = object.gamma ?? 0;
|
|
10345
|
+
message.sharpness = object.sharpness ?? 0;
|
|
10346
|
+
message.backlightCompensation = object.backlightCompensation ?? 0;
|
|
10347
|
+
message.denoise = object.denoise ?? 0;
|
|
10348
|
+
message.ehdrEnabled = object.ehdrEnabled ?? false;
|
|
10349
|
+
message.ehdrExposureMinNumber = object.ehdrExposureMinNumber ?? 0;
|
|
10350
|
+
message.ehdrExposureMaxNumber = object.ehdrExposureMaxNumber ?? 0;
|
|
9083
10351
|
message.resolution = object.resolution ?? 0;
|
|
9084
10352
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9085
10353
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
10354
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9086
10355
|
message.framerate = object.framerate ?? 0;
|
|
9087
10356
|
message.camera = object.camera ?? 0;
|
|
9088
10357
|
return message;
|
|
@@ -11828,7 +13097,7 @@ exports.PersistentStorageSettings = {
|
|
|
11828
13097
|
},
|
|
11829
13098
|
};
|
|
11830
13099
|
function createBaseCPUInfo() {
|
|
11831
|
-
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
|
|
13100
|
+
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
|
|
11832
13101
|
}
|
|
11833
13102
|
exports.CPUInfo = {
|
|
11834
13103
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -11844,6 +13113,9 @@ exports.CPUInfo = {
|
|
|
11844
13113
|
if (message.guestportQueueLoad !== 0) {
|
|
11845
13114
|
writer.uint32(37).float(message.guestportQueueLoad);
|
|
11846
13115
|
}
|
|
13116
|
+
if (message.commQueueLoad !== 0) {
|
|
13117
|
+
writer.uint32(45).float(message.commQueueLoad);
|
|
13118
|
+
}
|
|
11847
13119
|
return writer;
|
|
11848
13120
|
},
|
|
11849
13121
|
decode(input, length) {
|
|
@@ -11881,6 +13153,13 @@ exports.CPUInfo = {
|
|
|
11881
13153
|
message.guestportQueueLoad = reader.float();
|
|
11882
13154
|
continue;
|
|
11883
13155
|
}
|
|
13156
|
+
case 5: {
|
|
13157
|
+
if (tag !== 45) {
|
|
13158
|
+
break;
|
|
13159
|
+
}
|
|
13160
|
+
message.commQueueLoad = reader.float();
|
|
13161
|
+
continue;
|
|
13162
|
+
}
|
|
11884
13163
|
}
|
|
11885
13164
|
if ((tag & 7) === 4 || tag === 0) {
|
|
11886
13165
|
break;
|
|
@@ -11895,6 +13174,7 @@ exports.CPUInfo = {
|
|
|
11895
13174
|
memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
|
|
11896
13175
|
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
11897
13176
|
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
13177
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
11898
13178
|
};
|
|
11899
13179
|
},
|
|
11900
13180
|
toJSON(message) {
|
|
@@ -11911,6 +13191,9 @@ exports.CPUInfo = {
|
|
|
11911
13191
|
if (message.guestportQueueLoad !== 0) {
|
|
11912
13192
|
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
11913
13193
|
}
|
|
13194
|
+
if (message.commQueueLoad !== 0) {
|
|
13195
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
13196
|
+
}
|
|
11914
13197
|
return obj;
|
|
11915
13198
|
},
|
|
11916
13199
|
create(base) {
|
|
@@ -11922,6 +13205,126 @@ exports.CPUInfo = {
|
|
|
11922
13205
|
message.memoryBusLoad = object.memoryBusLoad ?? 0;
|
|
11923
13206
|
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
11924
13207
|
message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
|
|
13208
|
+
message.commQueueLoad = object.commQueueLoad ?? 0;
|
|
13209
|
+
return message;
|
|
13210
|
+
},
|
|
13211
|
+
};
|
|
13212
|
+
function createBaseSurfaceUnitBatteryInfo() {
|
|
13213
|
+
return { status: 0, level: 0 };
|
|
13214
|
+
}
|
|
13215
|
+
exports.SurfaceUnitBatteryInfo = {
|
|
13216
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13217
|
+
if (message.status !== 0) {
|
|
13218
|
+
writer.uint32(8).int32(message.status);
|
|
13219
|
+
}
|
|
13220
|
+
if (message.level !== 0) {
|
|
13221
|
+
writer.uint32(21).float(message.level);
|
|
13222
|
+
}
|
|
13223
|
+
return writer;
|
|
13224
|
+
},
|
|
13225
|
+
decode(input, length) {
|
|
13226
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13227
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13228
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13229
|
+
while (reader.pos < end) {
|
|
13230
|
+
const tag = reader.uint32();
|
|
13231
|
+
switch (tag >>> 3) {
|
|
13232
|
+
case 1: {
|
|
13233
|
+
if (tag !== 8) {
|
|
13234
|
+
break;
|
|
13235
|
+
}
|
|
13236
|
+
message.status = reader.int32();
|
|
13237
|
+
continue;
|
|
13238
|
+
}
|
|
13239
|
+
case 2: {
|
|
13240
|
+
if (tag !== 21) {
|
|
13241
|
+
break;
|
|
13242
|
+
}
|
|
13243
|
+
message.level = reader.float();
|
|
13244
|
+
continue;
|
|
13245
|
+
}
|
|
13246
|
+
}
|
|
13247
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13248
|
+
break;
|
|
13249
|
+
}
|
|
13250
|
+
reader.skip(tag & 7);
|
|
13251
|
+
}
|
|
13252
|
+
return message;
|
|
13253
|
+
},
|
|
13254
|
+
fromJSON(object) {
|
|
13255
|
+
return {
|
|
13256
|
+
status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
|
|
13257
|
+
level: isSet(object.level) ? gt.Number(object.level) : 0,
|
|
13258
|
+
};
|
|
13259
|
+
},
|
|
13260
|
+
toJSON(message) {
|
|
13261
|
+
const obj = {};
|
|
13262
|
+
if (message.status !== 0) {
|
|
13263
|
+
obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
|
|
13264
|
+
}
|
|
13265
|
+
if (message.level !== 0) {
|
|
13266
|
+
obj.level = message.level;
|
|
13267
|
+
}
|
|
13268
|
+
return obj;
|
|
13269
|
+
},
|
|
13270
|
+
create(base) {
|
|
13271
|
+
return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
|
|
13272
|
+
},
|
|
13273
|
+
fromPartial(object) {
|
|
13274
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13275
|
+
message.status = object.status ?? 0;
|
|
13276
|
+
message.level = object.level ?? 0;
|
|
13277
|
+
return message;
|
|
13278
|
+
},
|
|
13279
|
+
};
|
|
13280
|
+
function createBaseSurfaceUnitVersionInfo() {
|
|
13281
|
+
return { version: "" };
|
|
13282
|
+
}
|
|
13283
|
+
exports.SurfaceUnitVersionInfo = {
|
|
13284
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13285
|
+
if (message.version !== "") {
|
|
13286
|
+
writer.uint32(10).string(message.version);
|
|
13287
|
+
}
|
|
13288
|
+
return writer;
|
|
13289
|
+
},
|
|
13290
|
+
decode(input, length) {
|
|
13291
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13292
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13293
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13294
|
+
while (reader.pos < end) {
|
|
13295
|
+
const tag = reader.uint32();
|
|
13296
|
+
switch (tag >>> 3) {
|
|
13297
|
+
case 1: {
|
|
13298
|
+
if (tag !== 10) {
|
|
13299
|
+
break;
|
|
13300
|
+
}
|
|
13301
|
+
message.version = reader.string();
|
|
13302
|
+
continue;
|
|
13303
|
+
}
|
|
13304
|
+
}
|
|
13305
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13306
|
+
break;
|
|
13307
|
+
}
|
|
13308
|
+
reader.skip(tag & 7);
|
|
13309
|
+
}
|
|
13310
|
+
return message;
|
|
13311
|
+
},
|
|
13312
|
+
fromJSON(object) {
|
|
13313
|
+
return { version: isSet(object.version) ? gt.String(object.version) : "" };
|
|
13314
|
+
},
|
|
13315
|
+
toJSON(message) {
|
|
13316
|
+
const obj = {};
|
|
13317
|
+
if (message.version !== "") {
|
|
13318
|
+
obj.version = message.version;
|
|
13319
|
+
}
|
|
13320
|
+
return obj;
|
|
13321
|
+
},
|
|
13322
|
+
create(base) {
|
|
13323
|
+
return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
|
|
13324
|
+
},
|
|
13325
|
+
fromPartial(object) {
|
|
13326
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13327
|
+
message.version = object.version ?? "";
|
|
11925
13328
|
return message;
|
|
11926
13329
|
},
|
|
11927
13330
|
};
|