@blueyerobotics/protocol-definitions 3.2.0-8a0f8e61 → 3.2.0-8d23aa95
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.md +40 -0
- package/README.npm.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 +260 -21
- package/dist/message_formats.js +1484 -38
- package/dist/mission_planning.d.ts +2 -8
- package/dist/mission_planning.js +1 -1
- package/dist/req_rep.d.ts +24 -8
- package/dist/req_rep.js +192 -2
- package/dist/telemetry.d.ts +44 -10
- 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,65 @@ 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
|
+
/** STATUS_UNPLUGGED - The storage device is not present. */
|
|
2090
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNPLUGGED"] = 4] = "STATUS_UNPLUGGED";
|
|
2091
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2092
|
+
})(RemovableStorageDevice_Status || (exports.RemovableStorageDevice_Status = RemovableStorageDevice_Status = {}));
|
|
2093
|
+
function removableStorageDevice_StatusFromJSON(object) {
|
|
2094
|
+
switch (object) {
|
|
2095
|
+
case 0:
|
|
2096
|
+
case "STATUS_UNSPECIFIED":
|
|
2097
|
+
return RemovableStorageDevice_Status.STATUS_UNSPECIFIED;
|
|
2098
|
+
case 1:
|
|
2099
|
+
case "STATUS_READY":
|
|
2100
|
+
return RemovableStorageDevice_Status.STATUS_READY;
|
|
2101
|
+
case 2:
|
|
2102
|
+
case "STATUS_FORMATTING":
|
|
2103
|
+
return RemovableStorageDevice_Status.STATUS_FORMATTING;
|
|
2104
|
+
case 3:
|
|
2105
|
+
case "STATUS_ERROR":
|
|
2106
|
+
return RemovableStorageDevice_Status.STATUS_ERROR;
|
|
2107
|
+
case 4:
|
|
2108
|
+
case "STATUS_UNPLUGGED":
|
|
2109
|
+
return RemovableStorageDevice_Status.STATUS_UNPLUGGED;
|
|
2110
|
+
case -1:
|
|
2111
|
+
case "UNRECOGNIZED":
|
|
2112
|
+
default:
|
|
2113
|
+
return RemovableStorageDevice_Status.UNRECOGNIZED;
|
|
2114
|
+
}
|
|
2115
|
+
}
|
|
2116
|
+
function removableStorageDevice_StatusToJSON(object) {
|
|
2117
|
+
switch (object) {
|
|
2118
|
+
case RemovableStorageDevice_Status.STATUS_UNSPECIFIED:
|
|
2119
|
+
return "STATUS_UNSPECIFIED";
|
|
2120
|
+
case RemovableStorageDevice_Status.STATUS_READY:
|
|
2121
|
+
return "STATUS_READY";
|
|
2122
|
+
case RemovableStorageDevice_Status.STATUS_FORMATTING:
|
|
2123
|
+
return "STATUS_FORMATTING";
|
|
2124
|
+
case RemovableStorageDevice_Status.STATUS_ERROR:
|
|
2125
|
+
return "STATUS_ERROR";
|
|
2126
|
+
case RemovableStorageDevice_Status.STATUS_UNPLUGGED:
|
|
2127
|
+
return "STATUS_UNPLUGGED";
|
|
2128
|
+
case RemovableStorageDevice_Status.UNRECOGNIZED:
|
|
2129
|
+
default:
|
|
2130
|
+
return "UNRECOGNIZED";
|
|
2131
|
+
}
|
|
2132
|
+
}
|
|
1802
2133
|
/**
|
|
1803
2134
|
* Status of the compass calibration procedure.
|
|
1804
2135
|
*
|
|
1805
|
-
* When calibration is started, the status will indicate the active (
|
|
2136
|
+
* When calibration is started, the status will indicate the active (up facing) axis.
|
|
1806
2137
|
*/
|
|
1807
2138
|
var CalibrationState_Status;
|
|
1808
2139
|
(function (CalibrationState_Status) {
|
|
@@ -1824,7 +2155,7 @@ var CalibrationState_Status;
|
|
|
1824
2155
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_Z_POSITIVE"] = 7] = "STATUS_CALIBRATING_Z_POSITIVE";
|
|
1825
2156
|
/** STATUS_CALIBRATING_Z_NEGATIVE - Compass is calibrating and the negative Z axis is active. */
|
|
1826
2157
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_Z_NEGATIVE"] = 8] = "STATUS_CALIBRATING_Z_NEGATIVE";
|
|
1827
|
-
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster
|
|
2158
|
+
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interference. */
|
|
1828
2159
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_THRUSTER"] = 9] = "STATUS_CALIBRATING_THRUSTER";
|
|
1829
2160
|
CalibrationState_Status[CalibrationState_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1830
2161
|
})(CalibrationState_Status || (exports.CalibrationState_Status = CalibrationState_Status = {}));
|
|
@@ -2015,6 +2346,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2015
2346
|
return "UNRECOGNIZED";
|
|
2016
2347
|
}
|
|
2017
2348
|
}
|
|
2349
|
+
var SurfaceUnitBatteryInfo_ChargeStatus;
|
|
2350
|
+
(function (SurfaceUnitBatteryInfo_ChargeStatus) {
|
|
2351
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_UNSPECIFIED"] = 0] = "CHARGE_STATUS_UNSPECIFIED";
|
|
2352
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_DISCHARGE"] = 1] = "CHARGE_STATUS_DISCHARGE";
|
|
2353
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE"] = 2] = "CHARGE_STATUS_CHARGE";
|
|
2354
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE_ERROR"] = 3] = "CHARGE_STATUS_CHARGE_ERROR";
|
|
2355
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2356
|
+
})(SurfaceUnitBatteryInfo_ChargeStatus || (exports.SurfaceUnitBatteryInfo_ChargeStatus = SurfaceUnitBatteryInfo_ChargeStatus = {}));
|
|
2357
|
+
function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object) {
|
|
2358
|
+
switch (object) {
|
|
2359
|
+
case 0:
|
|
2360
|
+
case "CHARGE_STATUS_UNSPECIFIED":
|
|
2361
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED;
|
|
2362
|
+
case 1:
|
|
2363
|
+
case "CHARGE_STATUS_DISCHARGE":
|
|
2364
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE;
|
|
2365
|
+
case 2:
|
|
2366
|
+
case "CHARGE_STATUS_CHARGE":
|
|
2367
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE;
|
|
2368
|
+
case 3:
|
|
2369
|
+
case "CHARGE_STATUS_CHARGE_ERROR":
|
|
2370
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR;
|
|
2371
|
+
case -1:
|
|
2372
|
+
case "UNRECOGNIZED":
|
|
2373
|
+
default:
|
|
2374
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED;
|
|
2375
|
+
}
|
|
2376
|
+
}
|
|
2377
|
+
function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
|
|
2378
|
+
switch (object) {
|
|
2379
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED:
|
|
2380
|
+
return "CHARGE_STATUS_UNSPECIFIED";
|
|
2381
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE:
|
|
2382
|
+
return "CHARGE_STATUS_DISCHARGE";
|
|
2383
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE:
|
|
2384
|
+
return "CHARGE_STATUS_CHARGE";
|
|
2385
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR:
|
|
2386
|
+
return "CHARGE_STATUS_CHARGE_ERROR";
|
|
2387
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED:
|
|
2388
|
+
default:
|
|
2389
|
+
return "UNRECOGNIZED";
|
|
2390
|
+
}
|
|
2391
|
+
}
|
|
2018
2392
|
function createBaseBinlogRecord() {
|
|
2019
2393
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2020
2394
|
}
|
|
@@ -2100,6 +2474,332 @@ exports.BinlogRecord = {
|
|
|
2100
2474
|
return message;
|
|
2101
2475
|
},
|
|
2102
2476
|
};
|
|
2477
|
+
function createBaseLogEntry() {
|
|
2478
|
+
return { timestamp: undefined, processName: "", processId: 0, threadId: 0, source: "", level: 0, message: "" };
|
|
2479
|
+
}
|
|
2480
|
+
exports.LogEntry = {
|
|
2481
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2482
|
+
if (message.timestamp !== undefined) {
|
|
2483
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(10).fork()).join();
|
|
2484
|
+
}
|
|
2485
|
+
if (message.processName !== "") {
|
|
2486
|
+
writer.uint32(18).string(message.processName);
|
|
2487
|
+
}
|
|
2488
|
+
if (message.processId !== 0) {
|
|
2489
|
+
writer.uint32(24).uint64(message.processId);
|
|
2490
|
+
}
|
|
2491
|
+
if (message.threadId !== 0) {
|
|
2492
|
+
writer.uint32(32).uint64(message.threadId);
|
|
2493
|
+
}
|
|
2494
|
+
if (message.source !== "") {
|
|
2495
|
+
writer.uint32(42).string(message.source);
|
|
2496
|
+
}
|
|
2497
|
+
if (message.level !== 0) {
|
|
2498
|
+
writer.uint32(48).int32(message.level);
|
|
2499
|
+
}
|
|
2500
|
+
if (message.message !== "") {
|
|
2501
|
+
writer.uint32(58).string(message.message);
|
|
2502
|
+
}
|
|
2503
|
+
return writer;
|
|
2504
|
+
},
|
|
2505
|
+
decode(input, length) {
|
|
2506
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2507
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2508
|
+
const message = createBaseLogEntry();
|
|
2509
|
+
while (reader.pos < end) {
|
|
2510
|
+
const tag = reader.uint32();
|
|
2511
|
+
switch (tag >>> 3) {
|
|
2512
|
+
case 1: {
|
|
2513
|
+
if (tag !== 10) {
|
|
2514
|
+
break;
|
|
2515
|
+
}
|
|
2516
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2517
|
+
continue;
|
|
2518
|
+
}
|
|
2519
|
+
case 2: {
|
|
2520
|
+
if (tag !== 18) {
|
|
2521
|
+
break;
|
|
2522
|
+
}
|
|
2523
|
+
message.processName = reader.string();
|
|
2524
|
+
continue;
|
|
2525
|
+
}
|
|
2526
|
+
case 3: {
|
|
2527
|
+
if (tag !== 24) {
|
|
2528
|
+
break;
|
|
2529
|
+
}
|
|
2530
|
+
message.processId = longToNumber(reader.uint64());
|
|
2531
|
+
continue;
|
|
2532
|
+
}
|
|
2533
|
+
case 4: {
|
|
2534
|
+
if (tag !== 32) {
|
|
2535
|
+
break;
|
|
2536
|
+
}
|
|
2537
|
+
message.threadId = longToNumber(reader.uint64());
|
|
2538
|
+
continue;
|
|
2539
|
+
}
|
|
2540
|
+
case 5: {
|
|
2541
|
+
if (tag !== 42) {
|
|
2542
|
+
break;
|
|
2543
|
+
}
|
|
2544
|
+
message.source = reader.string();
|
|
2545
|
+
continue;
|
|
2546
|
+
}
|
|
2547
|
+
case 6: {
|
|
2548
|
+
if (tag !== 48) {
|
|
2549
|
+
break;
|
|
2550
|
+
}
|
|
2551
|
+
message.level = reader.int32();
|
|
2552
|
+
continue;
|
|
2553
|
+
}
|
|
2554
|
+
case 7: {
|
|
2555
|
+
if (tag !== 58) {
|
|
2556
|
+
break;
|
|
2557
|
+
}
|
|
2558
|
+
message.message = reader.string();
|
|
2559
|
+
continue;
|
|
2560
|
+
}
|
|
2561
|
+
}
|
|
2562
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2563
|
+
break;
|
|
2564
|
+
}
|
|
2565
|
+
reader.skip(tag & 7);
|
|
2566
|
+
}
|
|
2567
|
+
return message;
|
|
2568
|
+
},
|
|
2569
|
+
fromJSON(object) {
|
|
2570
|
+
return {
|
|
2571
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2572
|
+
processName: isSet(object.processName) ? gt.String(object.processName) : "",
|
|
2573
|
+
processId: isSet(object.processId) ? gt.Number(object.processId) : 0,
|
|
2574
|
+
threadId: isSet(object.threadId) ? gt.Number(object.threadId) : 0,
|
|
2575
|
+
source: isSet(object.source) ? gt.String(object.source) : "",
|
|
2576
|
+
level: isSet(object.level) ? logEntry_LogLevelFromJSON(object.level) : 0,
|
|
2577
|
+
message: isSet(object.message) ? gt.String(object.message) : "",
|
|
2578
|
+
};
|
|
2579
|
+
},
|
|
2580
|
+
toJSON(message) {
|
|
2581
|
+
const obj = {};
|
|
2582
|
+
if (message.timestamp !== undefined) {
|
|
2583
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2584
|
+
}
|
|
2585
|
+
if (message.processName !== "") {
|
|
2586
|
+
obj.processName = message.processName;
|
|
2587
|
+
}
|
|
2588
|
+
if (message.processId !== 0) {
|
|
2589
|
+
obj.processId = Math.round(message.processId);
|
|
2590
|
+
}
|
|
2591
|
+
if (message.threadId !== 0) {
|
|
2592
|
+
obj.threadId = Math.round(message.threadId);
|
|
2593
|
+
}
|
|
2594
|
+
if (message.source !== "") {
|
|
2595
|
+
obj.source = message.source;
|
|
2596
|
+
}
|
|
2597
|
+
if (message.level !== 0) {
|
|
2598
|
+
obj.level = logEntry_LogLevelToJSON(message.level);
|
|
2599
|
+
}
|
|
2600
|
+
if (message.message !== "") {
|
|
2601
|
+
obj.message = message.message;
|
|
2602
|
+
}
|
|
2603
|
+
return obj;
|
|
2604
|
+
},
|
|
2605
|
+
create(base) {
|
|
2606
|
+
return exports.LogEntry.fromPartial(base ?? {});
|
|
2607
|
+
},
|
|
2608
|
+
fromPartial(object) {
|
|
2609
|
+
const message = createBaseLogEntry();
|
|
2610
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2611
|
+
message.processName = object.processName ?? "";
|
|
2612
|
+
message.processId = object.processId ?? 0;
|
|
2613
|
+
message.threadId = object.threadId ?? 0;
|
|
2614
|
+
message.source = object.source ?? "";
|
|
2615
|
+
message.level = object.level ?? 0;
|
|
2616
|
+
message.message = object.message ?? "";
|
|
2617
|
+
return message;
|
|
2618
|
+
},
|
|
2619
|
+
};
|
|
2620
|
+
function createBaseKernelLogEntry() {
|
|
2621
|
+
return { level: 0, seqnum: 0, timestamp: undefined, messages: [], fields: [] };
|
|
2622
|
+
}
|
|
2623
|
+
exports.KernelLogEntry = {
|
|
2624
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2625
|
+
if (message.level !== 0) {
|
|
2626
|
+
writer.uint32(8).int32(message.level);
|
|
2627
|
+
}
|
|
2628
|
+
if (message.seqnum !== 0) {
|
|
2629
|
+
writer.uint32(16).uint32(message.seqnum);
|
|
2630
|
+
}
|
|
2631
|
+
if (message.timestamp !== undefined) {
|
|
2632
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).join();
|
|
2633
|
+
}
|
|
2634
|
+
for (const v of message.messages) {
|
|
2635
|
+
writer.uint32(34).string(v);
|
|
2636
|
+
}
|
|
2637
|
+
for (const v of message.fields) {
|
|
2638
|
+
exports.KernelLogEntry_KeyValuePair.encode(v, writer.uint32(42).fork()).join();
|
|
2639
|
+
}
|
|
2640
|
+
return writer;
|
|
2641
|
+
},
|
|
2642
|
+
decode(input, length) {
|
|
2643
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2644
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2645
|
+
const message = createBaseKernelLogEntry();
|
|
2646
|
+
while (reader.pos < end) {
|
|
2647
|
+
const tag = reader.uint32();
|
|
2648
|
+
switch (tag >>> 3) {
|
|
2649
|
+
case 1: {
|
|
2650
|
+
if (tag !== 8) {
|
|
2651
|
+
break;
|
|
2652
|
+
}
|
|
2653
|
+
message.level = reader.int32();
|
|
2654
|
+
continue;
|
|
2655
|
+
}
|
|
2656
|
+
case 2: {
|
|
2657
|
+
if (tag !== 16) {
|
|
2658
|
+
break;
|
|
2659
|
+
}
|
|
2660
|
+
message.seqnum = reader.uint32();
|
|
2661
|
+
continue;
|
|
2662
|
+
}
|
|
2663
|
+
case 3: {
|
|
2664
|
+
if (tag !== 26) {
|
|
2665
|
+
break;
|
|
2666
|
+
}
|
|
2667
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2668
|
+
continue;
|
|
2669
|
+
}
|
|
2670
|
+
case 4: {
|
|
2671
|
+
if (tag !== 34) {
|
|
2672
|
+
break;
|
|
2673
|
+
}
|
|
2674
|
+
message.messages.push(reader.string());
|
|
2675
|
+
continue;
|
|
2676
|
+
}
|
|
2677
|
+
case 5: {
|
|
2678
|
+
if (tag !== 42) {
|
|
2679
|
+
break;
|
|
2680
|
+
}
|
|
2681
|
+
message.fields.push(exports.KernelLogEntry_KeyValuePair.decode(reader, reader.uint32()));
|
|
2682
|
+
continue;
|
|
2683
|
+
}
|
|
2684
|
+
}
|
|
2685
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2686
|
+
break;
|
|
2687
|
+
}
|
|
2688
|
+
reader.skip(tag & 7);
|
|
2689
|
+
}
|
|
2690
|
+
return message;
|
|
2691
|
+
},
|
|
2692
|
+
fromJSON(object) {
|
|
2693
|
+
return {
|
|
2694
|
+
level: isSet(object.level) ? kernelLogEntry_KernelLogLevelFromJSON(object.level) : 0,
|
|
2695
|
+
seqnum: isSet(object.seqnum) ? gt.Number(object.seqnum) : 0,
|
|
2696
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2697
|
+
messages: gt.Array.isArray(object?.messages) ? object.messages.map((e) => gt.String(e)) : [],
|
|
2698
|
+
fields: gt.Array.isArray(object?.fields)
|
|
2699
|
+
? object.fields.map((e) => exports.KernelLogEntry_KeyValuePair.fromJSON(e))
|
|
2700
|
+
: [],
|
|
2701
|
+
};
|
|
2702
|
+
},
|
|
2703
|
+
toJSON(message) {
|
|
2704
|
+
const obj = {};
|
|
2705
|
+
if (message.level !== 0) {
|
|
2706
|
+
obj.level = kernelLogEntry_KernelLogLevelToJSON(message.level);
|
|
2707
|
+
}
|
|
2708
|
+
if (message.seqnum !== 0) {
|
|
2709
|
+
obj.seqnum = Math.round(message.seqnum);
|
|
2710
|
+
}
|
|
2711
|
+
if (message.timestamp !== undefined) {
|
|
2712
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2713
|
+
}
|
|
2714
|
+
if (message.messages?.length) {
|
|
2715
|
+
obj.messages = message.messages;
|
|
2716
|
+
}
|
|
2717
|
+
if (message.fields?.length) {
|
|
2718
|
+
obj.fields = message.fields.map((e) => exports.KernelLogEntry_KeyValuePair.toJSON(e));
|
|
2719
|
+
}
|
|
2720
|
+
return obj;
|
|
2721
|
+
},
|
|
2722
|
+
create(base) {
|
|
2723
|
+
return exports.KernelLogEntry.fromPartial(base ?? {});
|
|
2724
|
+
},
|
|
2725
|
+
fromPartial(object) {
|
|
2726
|
+
const message = createBaseKernelLogEntry();
|
|
2727
|
+
message.level = object.level ?? 0;
|
|
2728
|
+
message.seqnum = object.seqnum ?? 0;
|
|
2729
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2730
|
+
message.messages = object.messages?.map((e) => e) || [];
|
|
2731
|
+
message.fields = object.fields?.map((e) => exports.KernelLogEntry_KeyValuePair.fromPartial(e)) || [];
|
|
2732
|
+
return message;
|
|
2733
|
+
},
|
|
2734
|
+
};
|
|
2735
|
+
function createBaseKernelLogEntry_KeyValuePair() {
|
|
2736
|
+
return { key: "", value: "" };
|
|
2737
|
+
}
|
|
2738
|
+
exports.KernelLogEntry_KeyValuePair = {
|
|
2739
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2740
|
+
if (message.key !== "") {
|
|
2741
|
+
writer.uint32(10).string(message.key);
|
|
2742
|
+
}
|
|
2743
|
+
if (message.value !== "") {
|
|
2744
|
+
writer.uint32(18).string(message.value);
|
|
2745
|
+
}
|
|
2746
|
+
return writer;
|
|
2747
|
+
},
|
|
2748
|
+
decode(input, length) {
|
|
2749
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2750
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2751
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2752
|
+
while (reader.pos < end) {
|
|
2753
|
+
const tag = reader.uint32();
|
|
2754
|
+
switch (tag >>> 3) {
|
|
2755
|
+
case 1: {
|
|
2756
|
+
if (tag !== 10) {
|
|
2757
|
+
break;
|
|
2758
|
+
}
|
|
2759
|
+
message.key = reader.string();
|
|
2760
|
+
continue;
|
|
2761
|
+
}
|
|
2762
|
+
case 2: {
|
|
2763
|
+
if (tag !== 18) {
|
|
2764
|
+
break;
|
|
2765
|
+
}
|
|
2766
|
+
message.value = reader.string();
|
|
2767
|
+
continue;
|
|
2768
|
+
}
|
|
2769
|
+
}
|
|
2770
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2771
|
+
break;
|
|
2772
|
+
}
|
|
2773
|
+
reader.skip(tag & 7);
|
|
2774
|
+
}
|
|
2775
|
+
return message;
|
|
2776
|
+
},
|
|
2777
|
+
fromJSON(object) {
|
|
2778
|
+
return {
|
|
2779
|
+
key: isSet(object.key) ? gt.String(object.key) : "",
|
|
2780
|
+
value: isSet(object.value) ? gt.String(object.value) : "",
|
|
2781
|
+
};
|
|
2782
|
+
},
|
|
2783
|
+
toJSON(message) {
|
|
2784
|
+
const obj = {};
|
|
2785
|
+
if (message.key !== "") {
|
|
2786
|
+
obj.key = message.key;
|
|
2787
|
+
}
|
|
2788
|
+
if (message.value !== "") {
|
|
2789
|
+
obj.value = message.value;
|
|
2790
|
+
}
|
|
2791
|
+
return obj;
|
|
2792
|
+
},
|
|
2793
|
+
create(base) {
|
|
2794
|
+
return exports.KernelLogEntry_KeyValuePair.fromPartial(base ?? {});
|
|
2795
|
+
},
|
|
2796
|
+
fromPartial(object) {
|
|
2797
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2798
|
+
message.key = object.key ?? "";
|
|
2799
|
+
message.value = object.value ?? "";
|
|
2800
|
+
return message;
|
|
2801
|
+
},
|
|
2802
|
+
};
|
|
2103
2803
|
function createBaseMotionInput() {
|
|
2104
2804
|
return { surge: 0, sway: 0, heave: 0, roll: 0, pitch: 0, yaw: 0, slow: 0, boost: 0 };
|
|
2105
2805
|
}
|
|
@@ -3381,6 +4081,9 @@ function createBaseRecordState() {
|
|
|
3381
4081
|
multibeamIsRecording: false,
|
|
3382
4082
|
multibeamSeconds: 0,
|
|
3383
4083
|
multibeamFps: 0,
|
|
4084
|
+
mainStorageLocation: 0,
|
|
4085
|
+
guestportStorageLocation: 0,
|
|
4086
|
+
multibeamStorageLocation: 0,
|
|
3384
4087
|
};
|
|
3385
4088
|
}
|
|
3386
4089
|
exports.RecordState = {
|
|
@@ -3412,6 +4115,15 @@ exports.RecordState = {
|
|
|
3412
4115
|
if (message.multibeamFps !== 0) {
|
|
3413
4116
|
writer.uint32(77).float(message.multibeamFps);
|
|
3414
4117
|
}
|
|
4118
|
+
if (message.mainStorageLocation !== 0) {
|
|
4119
|
+
writer.uint32(80).int32(message.mainStorageLocation);
|
|
4120
|
+
}
|
|
4121
|
+
if (message.guestportStorageLocation !== 0) {
|
|
4122
|
+
writer.uint32(88).int32(message.guestportStorageLocation);
|
|
4123
|
+
}
|
|
4124
|
+
if (message.multibeamStorageLocation !== 0) {
|
|
4125
|
+
writer.uint32(96).int32(message.multibeamStorageLocation);
|
|
4126
|
+
}
|
|
3415
4127
|
return writer;
|
|
3416
4128
|
},
|
|
3417
4129
|
decode(input, length) {
|
|
@@ -3484,6 +4196,27 @@ exports.RecordState = {
|
|
|
3484
4196
|
message.multibeamFps = reader.float();
|
|
3485
4197
|
continue;
|
|
3486
4198
|
}
|
|
4199
|
+
case 10: {
|
|
4200
|
+
if (tag !== 80) {
|
|
4201
|
+
break;
|
|
4202
|
+
}
|
|
4203
|
+
message.mainStorageLocation = reader.int32();
|
|
4204
|
+
continue;
|
|
4205
|
+
}
|
|
4206
|
+
case 11: {
|
|
4207
|
+
if (tag !== 88) {
|
|
4208
|
+
break;
|
|
4209
|
+
}
|
|
4210
|
+
message.guestportStorageLocation = reader.int32();
|
|
4211
|
+
continue;
|
|
4212
|
+
}
|
|
4213
|
+
case 12: {
|
|
4214
|
+
if (tag !== 96) {
|
|
4215
|
+
break;
|
|
4216
|
+
}
|
|
4217
|
+
message.multibeamStorageLocation = reader.int32();
|
|
4218
|
+
continue;
|
|
4219
|
+
}
|
|
3487
4220
|
}
|
|
3488
4221
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3489
4222
|
break;
|
|
@@ -3503,6 +4236,13 @@ exports.RecordState = {
|
|
|
3503
4236
|
multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
|
|
3504
4237
|
multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
|
|
3505
4238
|
multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
|
|
4239
|
+
mainStorageLocation: isSet(object.mainStorageLocation) ? storageLocationFromJSON(object.mainStorageLocation) : 0,
|
|
4240
|
+
guestportStorageLocation: isSet(object.guestportStorageLocation)
|
|
4241
|
+
? storageLocationFromJSON(object.guestportStorageLocation)
|
|
4242
|
+
: 0,
|
|
4243
|
+
multibeamStorageLocation: isSet(object.multibeamStorageLocation)
|
|
4244
|
+
? storageLocationFromJSON(object.multibeamStorageLocation)
|
|
4245
|
+
: 0,
|
|
3506
4246
|
};
|
|
3507
4247
|
},
|
|
3508
4248
|
toJSON(message) {
|
|
@@ -3534,6 +4274,15 @@ exports.RecordState = {
|
|
|
3534
4274
|
if (message.multibeamFps !== 0) {
|
|
3535
4275
|
obj.multibeamFps = message.multibeamFps;
|
|
3536
4276
|
}
|
|
4277
|
+
if (message.mainStorageLocation !== 0) {
|
|
4278
|
+
obj.mainStorageLocation = storageLocationToJSON(message.mainStorageLocation);
|
|
4279
|
+
}
|
|
4280
|
+
if (message.guestportStorageLocation !== 0) {
|
|
4281
|
+
obj.guestportStorageLocation = storageLocationToJSON(message.guestportStorageLocation);
|
|
4282
|
+
}
|
|
4283
|
+
if (message.multibeamStorageLocation !== 0) {
|
|
4284
|
+
obj.multibeamStorageLocation = storageLocationToJSON(message.multibeamStorageLocation);
|
|
4285
|
+
}
|
|
3537
4286
|
return obj;
|
|
3538
4287
|
},
|
|
3539
4288
|
create(base) {
|
|
@@ -3550,6 +4299,9 @@ exports.RecordState = {
|
|
|
3550
4299
|
message.multibeamIsRecording = object.multibeamIsRecording ?? false;
|
|
3551
4300
|
message.multibeamSeconds = object.multibeamSeconds ?? 0;
|
|
3552
4301
|
message.multibeamFps = object.multibeamFps ?? 0;
|
|
4302
|
+
message.mainStorageLocation = object.mainStorageLocation ?? 0;
|
|
4303
|
+
message.guestportStorageLocation = object.guestportStorageLocation ?? 0;
|
|
4304
|
+
message.multibeamStorageLocation = object.multibeamStorageLocation ?? 0;
|
|
3553
4305
|
return message;
|
|
3554
4306
|
},
|
|
3555
4307
|
};
|
|
@@ -7388,38 +8140,400 @@ exports.RecordOn = {
|
|
|
7388
8140
|
return message;
|
|
7389
8141
|
},
|
|
7390
8142
|
};
|
|
7391
|
-
function createBaseStorageSpace() {
|
|
7392
|
-
return { totalSpace: 0, freeSpace: 0 };
|
|
8143
|
+
function createBaseStorageSpace() {
|
|
8144
|
+
return { totalSpace: 0, freeSpace: 0 };
|
|
8145
|
+
}
|
|
8146
|
+
exports.StorageSpace = {
|
|
8147
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
8148
|
+
if (message.totalSpace !== 0) {
|
|
8149
|
+
writer.uint32(8).int64(message.totalSpace);
|
|
8150
|
+
}
|
|
8151
|
+
if (message.freeSpace !== 0) {
|
|
8152
|
+
writer.uint32(16).int64(message.freeSpace);
|
|
8153
|
+
}
|
|
8154
|
+
return writer;
|
|
8155
|
+
},
|
|
8156
|
+
decode(input, length) {
|
|
8157
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8158
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8159
|
+
const message = createBaseStorageSpace();
|
|
8160
|
+
while (reader.pos < end) {
|
|
8161
|
+
const tag = reader.uint32();
|
|
8162
|
+
switch (tag >>> 3) {
|
|
8163
|
+
case 1: {
|
|
8164
|
+
if (tag !== 8) {
|
|
8165
|
+
break;
|
|
8166
|
+
}
|
|
8167
|
+
message.totalSpace = longToNumber(reader.int64());
|
|
8168
|
+
continue;
|
|
8169
|
+
}
|
|
8170
|
+
case 2: {
|
|
8171
|
+
if (tag !== 16) {
|
|
8172
|
+
break;
|
|
8173
|
+
}
|
|
8174
|
+
message.freeSpace = longToNumber(reader.int64());
|
|
8175
|
+
continue;
|
|
8176
|
+
}
|
|
8177
|
+
}
|
|
8178
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8179
|
+
break;
|
|
8180
|
+
}
|
|
8181
|
+
reader.skip(tag & 7);
|
|
8182
|
+
}
|
|
8183
|
+
return message;
|
|
8184
|
+
},
|
|
8185
|
+
fromJSON(object) {
|
|
8186
|
+
return {
|
|
8187
|
+
totalSpace: isSet(object.totalSpace) ? gt.Number(object.totalSpace) : 0,
|
|
8188
|
+
freeSpace: isSet(object.freeSpace) ? gt.Number(object.freeSpace) : 0,
|
|
8189
|
+
};
|
|
8190
|
+
},
|
|
8191
|
+
toJSON(message) {
|
|
8192
|
+
const obj = {};
|
|
8193
|
+
if (message.totalSpace !== 0) {
|
|
8194
|
+
obj.totalSpace = Math.round(message.totalSpace);
|
|
8195
|
+
}
|
|
8196
|
+
if (message.freeSpace !== 0) {
|
|
8197
|
+
obj.freeSpace = Math.round(message.freeSpace);
|
|
8198
|
+
}
|
|
8199
|
+
return obj;
|
|
8200
|
+
},
|
|
8201
|
+
create(base) {
|
|
8202
|
+
return exports.StorageSpace.fromPartial(base ?? {});
|
|
8203
|
+
},
|
|
8204
|
+
fromPartial(object) {
|
|
8205
|
+
const message = createBaseStorageSpace();
|
|
8206
|
+
message.totalSpace = object.totalSpace ?? 0;
|
|
8207
|
+
message.freeSpace = object.freeSpace ?? 0;
|
|
8208
|
+
return message;
|
|
8209
|
+
},
|
|
8210
|
+
};
|
|
8211
|
+
function createBaseStoragePartition() {
|
|
8212
|
+
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "", label: "" };
|
|
8213
|
+
}
|
|
8214
|
+
exports.StoragePartition = {
|
|
8215
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
8216
|
+
if (message.storageSpace !== undefined) {
|
|
8217
|
+
exports.StorageSpace.encode(message.storageSpace, writer.uint32(10).fork()).join();
|
|
8218
|
+
}
|
|
8219
|
+
if (message.fileSystemType !== "") {
|
|
8220
|
+
writer.uint32(18).string(message.fileSystemType);
|
|
8221
|
+
}
|
|
8222
|
+
if (message.devicePath !== "") {
|
|
8223
|
+
writer.uint32(26).string(message.devicePath);
|
|
8224
|
+
}
|
|
8225
|
+
if (message.mountPath !== "") {
|
|
8226
|
+
writer.uint32(34).string(message.mountPath);
|
|
8227
|
+
}
|
|
8228
|
+
if (message.label !== "") {
|
|
8229
|
+
writer.uint32(42).string(message.label);
|
|
8230
|
+
}
|
|
8231
|
+
return writer;
|
|
8232
|
+
},
|
|
8233
|
+
decode(input, length) {
|
|
8234
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8235
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8236
|
+
const message = createBaseStoragePartition();
|
|
8237
|
+
while (reader.pos < end) {
|
|
8238
|
+
const tag = reader.uint32();
|
|
8239
|
+
switch (tag >>> 3) {
|
|
8240
|
+
case 1: {
|
|
8241
|
+
if (tag !== 10) {
|
|
8242
|
+
break;
|
|
8243
|
+
}
|
|
8244
|
+
message.storageSpace = exports.StorageSpace.decode(reader, reader.uint32());
|
|
8245
|
+
continue;
|
|
8246
|
+
}
|
|
8247
|
+
case 2: {
|
|
8248
|
+
if (tag !== 18) {
|
|
8249
|
+
break;
|
|
8250
|
+
}
|
|
8251
|
+
message.fileSystemType = reader.string();
|
|
8252
|
+
continue;
|
|
8253
|
+
}
|
|
8254
|
+
case 3: {
|
|
8255
|
+
if (tag !== 26) {
|
|
8256
|
+
break;
|
|
8257
|
+
}
|
|
8258
|
+
message.devicePath = reader.string();
|
|
8259
|
+
continue;
|
|
8260
|
+
}
|
|
8261
|
+
case 4: {
|
|
8262
|
+
if (tag !== 34) {
|
|
8263
|
+
break;
|
|
8264
|
+
}
|
|
8265
|
+
message.mountPath = reader.string();
|
|
8266
|
+
continue;
|
|
8267
|
+
}
|
|
8268
|
+
case 5: {
|
|
8269
|
+
if (tag !== 42) {
|
|
8270
|
+
break;
|
|
8271
|
+
}
|
|
8272
|
+
message.label = reader.string();
|
|
8273
|
+
continue;
|
|
8274
|
+
}
|
|
8275
|
+
}
|
|
8276
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8277
|
+
break;
|
|
8278
|
+
}
|
|
8279
|
+
reader.skip(tag & 7);
|
|
8280
|
+
}
|
|
8281
|
+
return message;
|
|
8282
|
+
},
|
|
8283
|
+
fromJSON(object) {
|
|
8284
|
+
return {
|
|
8285
|
+
storageSpace: isSet(object.storageSpace) ? exports.StorageSpace.fromJSON(object.storageSpace) : undefined,
|
|
8286
|
+
fileSystemType: isSet(object.fileSystemType) ? gt.String(object.fileSystemType) : "",
|
|
8287
|
+
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
8288
|
+
mountPath: isSet(object.mountPath) ? gt.String(object.mountPath) : "",
|
|
8289
|
+
label: isSet(object.label) ? gt.String(object.label) : "",
|
|
8290
|
+
};
|
|
8291
|
+
},
|
|
8292
|
+
toJSON(message) {
|
|
8293
|
+
const obj = {};
|
|
8294
|
+
if (message.storageSpace !== undefined) {
|
|
8295
|
+
obj.storageSpace = exports.StorageSpace.toJSON(message.storageSpace);
|
|
8296
|
+
}
|
|
8297
|
+
if (message.fileSystemType !== "") {
|
|
8298
|
+
obj.fileSystemType = message.fileSystemType;
|
|
8299
|
+
}
|
|
8300
|
+
if (message.devicePath !== "") {
|
|
8301
|
+
obj.devicePath = message.devicePath;
|
|
8302
|
+
}
|
|
8303
|
+
if (message.mountPath !== "") {
|
|
8304
|
+
obj.mountPath = message.mountPath;
|
|
8305
|
+
}
|
|
8306
|
+
if (message.label !== "") {
|
|
8307
|
+
obj.label = message.label;
|
|
8308
|
+
}
|
|
8309
|
+
return obj;
|
|
8310
|
+
},
|
|
8311
|
+
create(base) {
|
|
8312
|
+
return exports.StoragePartition.fromPartial(base ?? {});
|
|
8313
|
+
},
|
|
8314
|
+
fromPartial(object) {
|
|
8315
|
+
const message = createBaseStoragePartition();
|
|
8316
|
+
message.storageSpace = (object.storageSpace !== undefined && object.storageSpace !== null)
|
|
8317
|
+
? exports.StorageSpace.fromPartial(object.storageSpace)
|
|
8318
|
+
: undefined;
|
|
8319
|
+
message.fileSystemType = object.fileSystemType ?? "";
|
|
8320
|
+
message.devicePath = object.devicePath ?? "";
|
|
8321
|
+
message.mountPath = object.mountPath ?? "";
|
|
8322
|
+
message.label = object.label ?? "";
|
|
8323
|
+
return message;
|
|
8324
|
+
},
|
|
8325
|
+
};
|
|
8326
|
+
function createBaseRemovableStorageDevice() {
|
|
8327
|
+
return { vendorName: "", modelName: "", devicePath: "", status: 0, errorFlags: undefined, partitions: [] };
|
|
8328
|
+
}
|
|
8329
|
+
exports.RemovableStorageDevice = {
|
|
8330
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
8331
|
+
if (message.vendorName !== "") {
|
|
8332
|
+
writer.uint32(10).string(message.vendorName);
|
|
8333
|
+
}
|
|
8334
|
+
if (message.modelName !== "") {
|
|
8335
|
+
writer.uint32(18).string(message.modelName);
|
|
8336
|
+
}
|
|
8337
|
+
if (message.devicePath !== "") {
|
|
8338
|
+
writer.uint32(26).string(message.devicePath);
|
|
8339
|
+
}
|
|
8340
|
+
if (message.status !== 0) {
|
|
8341
|
+
writer.uint32(32).int32(message.status);
|
|
8342
|
+
}
|
|
8343
|
+
if (message.errorFlags !== undefined) {
|
|
8344
|
+
exports.RemovableStorageErrorFlags.encode(message.errorFlags, writer.uint32(42).fork()).join();
|
|
8345
|
+
}
|
|
8346
|
+
for (const v of message.partitions) {
|
|
8347
|
+
exports.StoragePartition.encode(v, writer.uint32(50).fork()).join();
|
|
8348
|
+
}
|
|
8349
|
+
return writer;
|
|
8350
|
+
},
|
|
8351
|
+
decode(input, length) {
|
|
8352
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8353
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8354
|
+
const message = createBaseRemovableStorageDevice();
|
|
8355
|
+
while (reader.pos < end) {
|
|
8356
|
+
const tag = reader.uint32();
|
|
8357
|
+
switch (tag >>> 3) {
|
|
8358
|
+
case 1: {
|
|
8359
|
+
if (tag !== 10) {
|
|
8360
|
+
break;
|
|
8361
|
+
}
|
|
8362
|
+
message.vendorName = reader.string();
|
|
8363
|
+
continue;
|
|
8364
|
+
}
|
|
8365
|
+
case 2: {
|
|
8366
|
+
if (tag !== 18) {
|
|
8367
|
+
break;
|
|
8368
|
+
}
|
|
8369
|
+
message.modelName = reader.string();
|
|
8370
|
+
continue;
|
|
8371
|
+
}
|
|
8372
|
+
case 3: {
|
|
8373
|
+
if (tag !== 26) {
|
|
8374
|
+
break;
|
|
8375
|
+
}
|
|
8376
|
+
message.devicePath = reader.string();
|
|
8377
|
+
continue;
|
|
8378
|
+
}
|
|
8379
|
+
case 4: {
|
|
8380
|
+
if (tag !== 32) {
|
|
8381
|
+
break;
|
|
8382
|
+
}
|
|
8383
|
+
message.status = reader.int32();
|
|
8384
|
+
continue;
|
|
8385
|
+
}
|
|
8386
|
+
case 5: {
|
|
8387
|
+
if (tag !== 42) {
|
|
8388
|
+
break;
|
|
8389
|
+
}
|
|
8390
|
+
message.errorFlags = exports.RemovableStorageErrorFlags.decode(reader, reader.uint32());
|
|
8391
|
+
continue;
|
|
8392
|
+
}
|
|
8393
|
+
case 6: {
|
|
8394
|
+
if (tag !== 50) {
|
|
8395
|
+
break;
|
|
8396
|
+
}
|
|
8397
|
+
message.partitions.push(exports.StoragePartition.decode(reader, reader.uint32()));
|
|
8398
|
+
continue;
|
|
8399
|
+
}
|
|
8400
|
+
}
|
|
8401
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8402
|
+
break;
|
|
8403
|
+
}
|
|
8404
|
+
reader.skip(tag & 7);
|
|
8405
|
+
}
|
|
8406
|
+
return message;
|
|
8407
|
+
},
|
|
8408
|
+
fromJSON(object) {
|
|
8409
|
+
return {
|
|
8410
|
+
vendorName: isSet(object.vendorName) ? gt.String(object.vendorName) : "",
|
|
8411
|
+
modelName: isSet(object.modelName) ? gt.String(object.modelName) : "",
|
|
8412
|
+
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
8413
|
+
status: isSet(object.status) ? removableStorageDevice_StatusFromJSON(object.status) : 0,
|
|
8414
|
+
errorFlags: isSet(object.errorFlags) ? exports.RemovableStorageErrorFlags.fromJSON(object.errorFlags) : undefined,
|
|
8415
|
+
partitions: gt.Array.isArray(object?.partitions)
|
|
8416
|
+
? object.partitions.map((e) => exports.StoragePartition.fromJSON(e))
|
|
8417
|
+
: [],
|
|
8418
|
+
};
|
|
8419
|
+
},
|
|
8420
|
+
toJSON(message) {
|
|
8421
|
+
const obj = {};
|
|
8422
|
+
if (message.vendorName !== "") {
|
|
8423
|
+
obj.vendorName = message.vendorName;
|
|
8424
|
+
}
|
|
8425
|
+
if (message.modelName !== "") {
|
|
8426
|
+
obj.modelName = message.modelName;
|
|
8427
|
+
}
|
|
8428
|
+
if (message.devicePath !== "") {
|
|
8429
|
+
obj.devicePath = message.devicePath;
|
|
8430
|
+
}
|
|
8431
|
+
if (message.status !== 0) {
|
|
8432
|
+
obj.status = removableStorageDevice_StatusToJSON(message.status);
|
|
8433
|
+
}
|
|
8434
|
+
if (message.errorFlags !== undefined) {
|
|
8435
|
+
obj.errorFlags = exports.RemovableStorageErrorFlags.toJSON(message.errorFlags);
|
|
8436
|
+
}
|
|
8437
|
+
if (message.partitions?.length) {
|
|
8438
|
+
obj.partitions = message.partitions.map((e) => exports.StoragePartition.toJSON(e));
|
|
8439
|
+
}
|
|
8440
|
+
return obj;
|
|
8441
|
+
},
|
|
8442
|
+
create(base) {
|
|
8443
|
+
return exports.RemovableStorageDevice.fromPartial(base ?? {});
|
|
8444
|
+
},
|
|
8445
|
+
fromPartial(object) {
|
|
8446
|
+
const message = createBaseRemovableStorageDevice();
|
|
8447
|
+
message.vendorName = object.vendorName ?? "";
|
|
8448
|
+
message.modelName = object.modelName ?? "";
|
|
8449
|
+
message.devicePath = object.devicePath ?? "";
|
|
8450
|
+
message.status = object.status ?? 0;
|
|
8451
|
+
message.errorFlags = (object.errorFlags !== undefined && object.errorFlags !== null)
|
|
8452
|
+
? exports.RemovableStorageErrorFlags.fromPartial(object.errorFlags)
|
|
8453
|
+
: undefined;
|
|
8454
|
+
message.partitions = object.partitions?.map((e) => exports.StoragePartition.fromPartial(e)) || [];
|
|
8455
|
+
return message;
|
|
8456
|
+
},
|
|
8457
|
+
};
|
|
8458
|
+
function createBaseRemovableStorageErrorFlags() {
|
|
8459
|
+
return {
|
|
8460
|
+
errorMessage: "",
|
|
8461
|
+
noPartitionsFound: false,
|
|
8462
|
+
multiplePartitionsFound: false,
|
|
8463
|
+
wrongFileSystemFound: false,
|
|
8464
|
+
deviceIsReadOnly: false,
|
|
8465
|
+
formattingFailed: false,
|
|
8466
|
+
};
|
|
7393
8467
|
}
|
|
7394
|
-
exports.
|
|
8468
|
+
exports.RemovableStorageErrorFlags = {
|
|
7395
8469
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
7396
|
-
if (message.
|
|
7397
|
-
writer.uint32(
|
|
8470
|
+
if (message.errorMessage !== "") {
|
|
8471
|
+
writer.uint32(10).string(message.errorMessage);
|
|
7398
8472
|
}
|
|
7399
|
-
if (message.
|
|
7400
|
-
writer.uint32(16).
|
|
8473
|
+
if (message.noPartitionsFound !== false) {
|
|
8474
|
+
writer.uint32(16).bool(message.noPartitionsFound);
|
|
8475
|
+
}
|
|
8476
|
+
if (message.multiplePartitionsFound !== false) {
|
|
8477
|
+
writer.uint32(24).bool(message.multiplePartitionsFound);
|
|
8478
|
+
}
|
|
8479
|
+
if (message.wrongFileSystemFound !== false) {
|
|
8480
|
+
writer.uint32(32).bool(message.wrongFileSystemFound);
|
|
8481
|
+
}
|
|
8482
|
+
if (message.deviceIsReadOnly !== false) {
|
|
8483
|
+
writer.uint32(40).bool(message.deviceIsReadOnly);
|
|
8484
|
+
}
|
|
8485
|
+
if (message.formattingFailed !== false) {
|
|
8486
|
+
writer.uint32(48).bool(message.formattingFailed);
|
|
7401
8487
|
}
|
|
7402
8488
|
return writer;
|
|
7403
8489
|
},
|
|
7404
8490
|
decode(input, length) {
|
|
7405
8491
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
7406
8492
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
7407
|
-
const message =
|
|
8493
|
+
const message = createBaseRemovableStorageErrorFlags();
|
|
7408
8494
|
while (reader.pos < end) {
|
|
7409
8495
|
const tag = reader.uint32();
|
|
7410
8496
|
switch (tag >>> 3) {
|
|
7411
8497
|
case 1: {
|
|
7412
|
-
if (tag !==
|
|
8498
|
+
if (tag !== 10) {
|
|
7413
8499
|
break;
|
|
7414
8500
|
}
|
|
7415
|
-
message.
|
|
8501
|
+
message.errorMessage = reader.string();
|
|
7416
8502
|
continue;
|
|
7417
8503
|
}
|
|
7418
8504
|
case 2: {
|
|
7419
8505
|
if (tag !== 16) {
|
|
7420
8506
|
break;
|
|
7421
8507
|
}
|
|
7422
|
-
message.
|
|
8508
|
+
message.noPartitionsFound = reader.bool();
|
|
8509
|
+
continue;
|
|
8510
|
+
}
|
|
8511
|
+
case 3: {
|
|
8512
|
+
if (tag !== 24) {
|
|
8513
|
+
break;
|
|
8514
|
+
}
|
|
8515
|
+
message.multiplePartitionsFound = reader.bool();
|
|
8516
|
+
continue;
|
|
8517
|
+
}
|
|
8518
|
+
case 4: {
|
|
8519
|
+
if (tag !== 32) {
|
|
8520
|
+
break;
|
|
8521
|
+
}
|
|
8522
|
+
message.wrongFileSystemFound = reader.bool();
|
|
8523
|
+
continue;
|
|
8524
|
+
}
|
|
8525
|
+
case 5: {
|
|
8526
|
+
if (tag !== 40) {
|
|
8527
|
+
break;
|
|
8528
|
+
}
|
|
8529
|
+
message.deviceIsReadOnly = reader.bool();
|
|
8530
|
+
continue;
|
|
8531
|
+
}
|
|
8532
|
+
case 6: {
|
|
8533
|
+
if (tag !== 48) {
|
|
8534
|
+
break;
|
|
8535
|
+
}
|
|
8536
|
+
message.formattingFailed = reader.bool();
|
|
7423
8537
|
continue;
|
|
7424
8538
|
}
|
|
7425
8539
|
}
|
|
@@ -7432,27 +8546,49 @@ exports.StorageSpace = {
|
|
|
7432
8546
|
},
|
|
7433
8547
|
fromJSON(object) {
|
|
7434
8548
|
return {
|
|
7435
|
-
|
|
7436
|
-
|
|
8549
|
+
errorMessage: isSet(object.errorMessage) ? gt.String(object.errorMessage) : "",
|
|
8550
|
+
noPartitionsFound: isSet(object.noPartitionsFound) ? gt.Boolean(object.noPartitionsFound) : false,
|
|
8551
|
+
multiplePartitionsFound: isSet(object.multiplePartitionsFound)
|
|
8552
|
+
? gt.Boolean(object.multiplePartitionsFound)
|
|
8553
|
+
: false,
|
|
8554
|
+
wrongFileSystemFound: isSet(object.wrongFileSystemFound) ? gt.Boolean(object.wrongFileSystemFound) : false,
|
|
8555
|
+
deviceIsReadOnly: isSet(object.deviceIsReadOnly) ? gt.Boolean(object.deviceIsReadOnly) : false,
|
|
8556
|
+
formattingFailed: isSet(object.formattingFailed) ? gt.Boolean(object.formattingFailed) : false,
|
|
7437
8557
|
};
|
|
7438
8558
|
},
|
|
7439
8559
|
toJSON(message) {
|
|
7440
8560
|
const obj = {};
|
|
7441
|
-
if (message.
|
|
7442
|
-
obj.
|
|
8561
|
+
if (message.errorMessage !== "") {
|
|
8562
|
+
obj.errorMessage = message.errorMessage;
|
|
7443
8563
|
}
|
|
7444
|
-
if (message.
|
|
7445
|
-
obj.
|
|
8564
|
+
if (message.noPartitionsFound !== false) {
|
|
8565
|
+
obj.noPartitionsFound = message.noPartitionsFound;
|
|
8566
|
+
}
|
|
8567
|
+
if (message.multiplePartitionsFound !== false) {
|
|
8568
|
+
obj.multiplePartitionsFound = message.multiplePartitionsFound;
|
|
8569
|
+
}
|
|
8570
|
+
if (message.wrongFileSystemFound !== false) {
|
|
8571
|
+
obj.wrongFileSystemFound = message.wrongFileSystemFound;
|
|
8572
|
+
}
|
|
8573
|
+
if (message.deviceIsReadOnly !== false) {
|
|
8574
|
+
obj.deviceIsReadOnly = message.deviceIsReadOnly;
|
|
8575
|
+
}
|
|
8576
|
+
if (message.formattingFailed !== false) {
|
|
8577
|
+
obj.formattingFailed = message.formattingFailed;
|
|
7446
8578
|
}
|
|
7447
8579
|
return obj;
|
|
7448
8580
|
},
|
|
7449
8581
|
create(base) {
|
|
7450
|
-
return exports.
|
|
8582
|
+
return exports.RemovableStorageErrorFlags.fromPartial(base ?? {});
|
|
7451
8583
|
},
|
|
7452
8584
|
fromPartial(object) {
|
|
7453
|
-
const message =
|
|
7454
|
-
message.
|
|
7455
|
-
message.
|
|
8585
|
+
const message = createBaseRemovableStorageErrorFlags();
|
|
8586
|
+
message.errorMessage = object.errorMessage ?? "";
|
|
8587
|
+
message.noPartitionsFound = object.noPartitionsFound ?? false;
|
|
8588
|
+
message.multiplePartitionsFound = object.multiplePartitionsFound ?? false;
|
|
8589
|
+
message.wrongFileSystemFound = object.wrongFileSystemFound ?? false;
|
|
8590
|
+
message.deviceIsReadOnly = object.deviceIsReadOnly ?? false;
|
|
8591
|
+
message.formattingFailed = object.formattingFailed ?? false;
|
|
7456
8592
|
return message;
|
|
7457
8593
|
},
|
|
7458
8594
|
};
|
|
@@ -8881,9 +10017,20 @@ function createBaseCameraParameters() {
|
|
|
8881
10017
|
whiteBalance: 0,
|
|
8882
10018
|
hue: 0,
|
|
8883
10019
|
gain: 0,
|
|
10020
|
+
brightness: 0,
|
|
10021
|
+
contrast: 0,
|
|
10022
|
+
saturation: 0,
|
|
10023
|
+
gamma: 0,
|
|
10024
|
+
sharpness: 0,
|
|
10025
|
+
backlightCompensation: 0,
|
|
10026
|
+
denoise: 0,
|
|
10027
|
+
ehdrEnabled: false,
|
|
10028
|
+
ehdrExposureMinNumber: 0,
|
|
10029
|
+
ehdrExposureMaxNumber: 0,
|
|
8884
10030
|
resolution: 0,
|
|
8885
10031
|
streamResolution: 0,
|
|
8886
10032
|
recordingResolution: 0,
|
|
10033
|
+
streamingProtocol: 0,
|
|
8887
10034
|
framerate: 0,
|
|
8888
10035
|
camera: 0,
|
|
8889
10036
|
};
|
|
@@ -8908,6 +10055,36 @@ exports.CameraParameters = {
|
|
|
8908
10055
|
if (message.gain !== 0) {
|
|
8909
10056
|
writer.uint32(77).float(message.gain);
|
|
8910
10057
|
}
|
|
10058
|
+
if (message.brightness !== 0) {
|
|
10059
|
+
writer.uint32(96).int32(message.brightness);
|
|
10060
|
+
}
|
|
10061
|
+
if (message.contrast !== 0) {
|
|
10062
|
+
writer.uint32(104).int32(message.contrast);
|
|
10063
|
+
}
|
|
10064
|
+
if (message.saturation !== 0) {
|
|
10065
|
+
writer.uint32(112).int32(message.saturation);
|
|
10066
|
+
}
|
|
10067
|
+
if (message.gamma !== 0) {
|
|
10068
|
+
writer.uint32(120).int32(message.gamma);
|
|
10069
|
+
}
|
|
10070
|
+
if (message.sharpness !== 0) {
|
|
10071
|
+
writer.uint32(128).int32(message.sharpness);
|
|
10072
|
+
}
|
|
10073
|
+
if (message.backlightCompensation !== 0) {
|
|
10074
|
+
writer.uint32(136).int32(message.backlightCompensation);
|
|
10075
|
+
}
|
|
10076
|
+
if (message.denoise !== 0) {
|
|
10077
|
+
writer.uint32(144).int32(message.denoise);
|
|
10078
|
+
}
|
|
10079
|
+
if (message.ehdrEnabled !== false) {
|
|
10080
|
+
writer.uint32(168).bool(message.ehdrEnabled);
|
|
10081
|
+
}
|
|
10082
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10083
|
+
writer.uint32(176).int32(message.ehdrExposureMinNumber);
|
|
10084
|
+
}
|
|
10085
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10086
|
+
writer.uint32(184).int32(message.ehdrExposureMaxNumber);
|
|
10087
|
+
}
|
|
8911
10088
|
if (message.resolution !== 0) {
|
|
8912
10089
|
writer.uint32(48).int32(message.resolution);
|
|
8913
10090
|
}
|
|
@@ -8917,6 +10094,9 @@ exports.CameraParameters = {
|
|
|
8917
10094
|
if (message.recordingResolution !== 0) {
|
|
8918
10095
|
writer.uint32(88).int32(message.recordingResolution);
|
|
8919
10096
|
}
|
|
10097
|
+
if (message.streamingProtocol !== 0) {
|
|
10098
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
10099
|
+
}
|
|
8920
10100
|
if (message.framerate !== 0) {
|
|
8921
10101
|
writer.uint32(56).int32(message.framerate);
|
|
8922
10102
|
}
|
|
@@ -8974,6 +10154,76 @@ exports.CameraParameters = {
|
|
|
8974
10154
|
message.gain = reader.float();
|
|
8975
10155
|
continue;
|
|
8976
10156
|
}
|
|
10157
|
+
case 12: {
|
|
10158
|
+
if (tag !== 96) {
|
|
10159
|
+
break;
|
|
10160
|
+
}
|
|
10161
|
+
message.brightness = reader.int32();
|
|
10162
|
+
continue;
|
|
10163
|
+
}
|
|
10164
|
+
case 13: {
|
|
10165
|
+
if (tag !== 104) {
|
|
10166
|
+
break;
|
|
10167
|
+
}
|
|
10168
|
+
message.contrast = reader.int32();
|
|
10169
|
+
continue;
|
|
10170
|
+
}
|
|
10171
|
+
case 14: {
|
|
10172
|
+
if (tag !== 112) {
|
|
10173
|
+
break;
|
|
10174
|
+
}
|
|
10175
|
+
message.saturation = reader.int32();
|
|
10176
|
+
continue;
|
|
10177
|
+
}
|
|
10178
|
+
case 15: {
|
|
10179
|
+
if (tag !== 120) {
|
|
10180
|
+
break;
|
|
10181
|
+
}
|
|
10182
|
+
message.gamma = reader.int32();
|
|
10183
|
+
continue;
|
|
10184
|
+
}
|
|
10185
|
+
case 16: {
|
|
10186
|
+
if (tag !== 128) {
|
|
10187
|
+
break;
|
|
10188
|
+
}
|
|
10189
|
+
message.sharpness = reader.int32();
|
|
10190
|
+
continue;
|
|
10191
|
+
}
|
|
10192
|
+
case 17: {
|
|
10193
|
+
if (tag !== 136) {
|
|
10194
|
+
break;
|
|
10195
|
+
}
|
|
10196
|
+
message.backlightCompensation = reader.int32();
|
|
10197
|
+
continue;
|
|
10198
|
+
}
|
|
10199
|
+
case 18: {
|
|
10200
|
+
if (tag !== 144) {
|
|
10201
|
+
break;
|
|
10202
|
+
}
|
|
10203
|
+
message.denoise = reader.int32();
|
|
10204
|
+
continue;
|
|
10205
|
+
}
|
|
10206
|
+
case 21: {
|
|
10207
|
+
if (tag !== 168) {
|
|
10208
|
+
break;
|
|
10209
|
+
}
|
|
10210
|
+
message.ehdrEnabled = reader.bool();
|
|
10211
|
+
continue;
|
|
10212
|
+
}
|
|
10213
|
+
case 22: {
|
|
10214
|
+
if (tag !== 176) {
|
|
10215
|
+
break;
|
|
10216
|
+
}
|
|
10217
|
+
message.ehdrExposureMinNumber = reader.int32();
|
|
10218
|
+
continue;
|
|
10219
|
+
}
|
|
10220
|
+
case 23: {
|
|
10221
|
+
if (tag !== 184) {
|
|
10222
|
+
break;
|
|
10223
|
+
}
|
|
10224
|
+
message.ehdrExposureMaxNumber = reader.int32();
|
|
10225
|
+
continue;
|
|
10226
|
+
}
|
|
8977
10227
|
case 6: {
|
|
8978
10228
|
if (tag !== 48) {
|
|
8979
10229
|
break;
|
|
@@ -8995,6 +10245,13 @@ exports.CameraParameters = {
|
|
|
8995
10245
|
message.recordingResolution = reader.int32();
|
|
8996
10246
|
continue;
|
|
8997
10247
|
}
|
|
10248
|
+
case 20: {
|
|
10249
|
+
if (tag !== 160) {
|
|
10250
|
+
break;
|
|
10251
|
+
}
|
|
10252
|
+
message.streamingProtocol = reader.int32();
|
|
10253
|
+
continue;
|
|
10254
|
+
}
|
|
8998
10255
|
case 7: {
|
|
8999
10256
|
if (tag !== 56) {
|
|
9000
10257
|
break;
|
|
@@ -9025,9 +10282,20 @@ exports.CameraParameters = {
|
|
|
9025
10282
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9026
10283
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9027
10284
|
gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
|
|
10285
|
+
brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
|
|
10286
|
+
contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
|
|
10287
|
+
saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
|
|
10288
|
+
gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
|
|
10289
|
+
sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
|
|
10290
|
+
backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
|
|
10291
|
+
denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
|
|
10292
|
+
ehdrEnabled: isSet(object.ehdrEnabled) ? gt.Boolean(object.ehdrEnabled) : false,
|
|
10293
|
+
ehdrExposureMinNumber: isSet(object.ehdrExposureMinNumber) ? gt.Number(object.ehdrExposureMinNumber) : 0,
|
|
10294
|
+
ehdrExposureMaxNumber: isSet(object.ehdrExposureMaxNumber) ? gt.Number(object.ehdrExposureMaxNumber) : 0,
|
|
9028
10295
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9029
10296
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9030
10297
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
10298
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9031
10299
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9032
10300
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
9033
10301
|
};
|
|
@@ -9052,6 +10320,36 @@ exports.CameraParameters = {
|
|
|
9052
10320
|
if (message.gain !== 0) {
|
|
9053
10321
|
obj.gain = message.gain;
|
|
9054
10322
|
}
|
|
10323
|
+
if (message.brightness !== 0) {
|
|
10324
|
+
obj.brightness = Math.round(message.brightness);
|
|
10325
|
+
}
|
|
10326
|
+
if (message.contrast !== 0) {
|
|
10327
|
+
obj.contrast = Math.round(message.contrast);
|
|
10328
|
+
}
|
|
10329
|
+
if (message.saturation !== 0) {
|
|
10330
|
+
obj.saturation = Math.round(message.saturation);
|
|
10331
|
+
}
|
|
10332
|
+
if (message.gamma !== 0) {
|
|
10333
|
+
obj.gamma = Math.round(message.gamma);
|
|
10334
|
+
}
|
|
10335
|
+
if (message.sharpness !== 0) {
|
|
10336
|
+
obj.sharpness = Math.round(message.sharpness);
|
|
10337
|
+
}
|
|
10338
|
+
if (message.backlightCompensation !== 0) {
|
|
10339
|
+
obj.backlightCompensation = Math.round(message.backlightCompensation);
|
|
10340
|
+
}
|
|
10341
|
+
if (message.denoise !== 0) {
|
|
10342
|
+
obj.denoise = Math.round(message.denoise);
|
|
10343
|
+
}
|
|
10344
|
+
if (message.ehdrEnabled !== false) {
|
|
10345
|
+
obj.ehdrEnabled = message.ehdrEnabled;
|
|
10346
|
+
}
|
|
10347
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10348
|
+
obj.ehdrExposureMinNumber = Math.round(message.ehdrExposureMinNumber);
|
|
10349
|
+
}
|
|
10350
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10351
|
+
obj.ehdrExposureMaxNumber = Math.round(message.ehdrExposureMaxNumber);
|
|
10352
|
+
}
|
|
9055
10353
|
if (message.resolution !== 0) {
|
|
9056
10354
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9057
10355
|
}
|
|
@@ -9061,6 +10359,9 @@ exports.CameraParameters = {
|
|
|
9061
10359
|
if (message.recordingResolution !== 0) {
|
|
9062
10360
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9063
10361
|
}
|
|
10362
|
+
if (message.streamingProtocol !== 0) {
|
|
10363
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
10364
|
+
}
|
|
9064
10365
|
if (message.framerate !== 0) {
|
|
9065
10366
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9066
10367
|
}
|
|
@@ -9080,9 +10381,20 @@ exports.CameraParameters = {
|
|
|
9080
10381
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9081
10382
|
message.hue = object.hue ?? 0;
|
|
9082
10383
|
message.gain = object.gain ?? 0;
|
|
10384
|
+
message.brightness = object.brightness ?? 0;
|
|
10385
|
+
message.contrast = object.contrast ?? 0;
|
|
10386
|
+
message.saturation = object.saturation ?? 0;
|
|
10387
|
+
message.gamma = object.gamma ?? 0;
|
|
10388
|
+
message.sharpness = object.sharpness ?? 0;
|
|
10389
|
+
message.backlightCompensation = object.backlightCompensation ?? 0;
|
|
10390
|
+
message.denoise = object.denoise ?? 0;
|
|
10391
|
+
message.ehdrEnabled = object.ehdrEnabled ?? false;
|
|
10392
|
+
message.ehdrExposureMinNumber = object.ehdrExposureMinNumber ?? 0;
|
|
10393
|
+
message.ehdrExposureMaxNumber = object.ehdrExposureMaxNumber ?? 0;
|
|
9083
10394
|
message.resolution = object.resolution ?? 0;
|
|
9084
10395
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9085
10396
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
10397
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9086
10398
|
message.framerate = object.framerate ?? 0;
|
|
9087
10399
|
message.camera = object.camera ?? 0;
|
|
9088
10400
|
return message;
|
|
@@ -11828,7 +13140,7 @@ exports.PersistentStorageSettings = {
|
|
|
11828
13140
|
},
|
|
11829
13141
|
};
|
|
11830
13142
|
function createBaseCPUInfo() {
|
|
11831
|
-
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
|
|
13143
|
+
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
|
|
11832
13144
|
}
|
|
11833
13145
|
exports.CPUInfo = {
|
|
11834
13146
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -11844,6 +13156,9 @@ exports.CPUInfo = {
|
|
|
11844
13156
|
if (message.guestportQueueLoad !== 0) {
|
|
11845
13157
|
writer.uint32(37).float(message.guestportQueueLoad);
|
|
11846
13158
|
}
|
|
13159
|
+
if (message.commQueueLoad !== 0) {
|
|
13160
|
+
writer.uint32(45).float(message.commQueueLoad);
|
|
13161
|
+
}
|
|
11847
13162
|
return writer;
|
|
11848
13163
|
},
|
|
11849
13164
|
decode(input, length) {
|
|
@@ -11881,6 +13196,13 @@ exports.CPUInfo = {
|
|
|
11881
13196
|
message.guestportQueueLoad = reader.float();
|
|
11882
13197
|
continue;
|
|
11883
13198
|
}
|
|
13199
|
+
case 5: {
|
|
13200
|
+
if (tag !== 45) {
|
|
13201
|
+
break;
|
|
13202
|
+
}
|
|
13203
|
+
message.commQueueLoad = reader.float();
|
|
13204
|
+
continue;
|
|
13205
|
+
}
|
|
11884
13206
|
}
|
|
11885
13207
|
if ((tag & 7) === 4 || tag === 0) {
|
|
11886
13208
|
break;
|
|
@@ -11895,6 +13217,7 @@ exports.CPUInfo = {
|
|
|
11895
13217
|
memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
|
|
11896
13218
|
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
11897
13219
|
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
13220
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
11898
13221
|
};
|
|
11899
13222
|
},
|
|
11900
13223
|
toJSON(message) {
|
|
@@ -11911,6 +13234,9 @@ exports.CPUInfo = {
|
|
|
11911
13234
|
if (message.guestportQueueLoad !== 0) {
|
|
11912
13235
|
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
11913
13236
|
}
|
|
13237
|
+
if (message.commQueueLoad !== 0) {
|
|
13238
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
13239
|
+
}
|
|
11914
13240
|
return obj;
|
|
11915
13241
|
},
|
|
11916
13242
|
create(base) {
|
|
@@ -11922,6 +13248,126 @@ exports.CPUInfo = {
|
|
|
11922
13248
|
message.memoryBusLoad = object.memoryBusLoad ?? 0;
|
|
11923
13249
|
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
11924
13250
|
message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
|
|
13251
|
+
message.commQueueLoad = object.commQueueLoad ?? 0;
|
|
13252
|
+
return message;
|
|
13253
|
+
},
|
|
13254
|
+
};
|
|
13255
|
+
function createBaseSurfaceUnitBatteryInfo() {
|
|
13256
|
+
return { status: 0, level: 0 };
|
|
13257
|
+
}
|
|
13258
|
+
exports.SurfaceUnitBatteryInfo = {
|
|
13259
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13260
|
+
if (message.status !== 0) {
|
|
13261
|
+
writer.uint32(8).int32(message.status);
|
|
13262
|
+
}
|
|
13263
|
+
if (message.level !== 0) {
|
|
13264
|
+
writer.uint32(21).float(message.level);
|
|
13265
|
+
}
|
|
13266
|
+
return writer;
|
|
13267
|
+
},
|
|
13268
|
+
decode(input, length) {
|
|
13269
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13270
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13271
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13272
|
+
while (reader.pos < end) {
|
|
13273
|
+
const tag = reader.uint32();
|
|
13274
|
+
switch (tag >>> 3) {
|
|
13275
|
+
case 1: {
|
|
13276
|
+
if (tag !== 8) {
|
|
13277
|
+
break;
|
|
13278
|
+
}
|
|
13279
|
+
message.status = reader.int32();
|
|
13280
|
+
continue;
|
|
13281
|
+
}
|
|
13282
|
+
case 2: {
|
|
13283
|
+
if (tag !== 21) {
|
|
13284
|
+
break;
|
|
13285
|
+
}
|
|
13286
|
+
message.level = reader.float();
|
|
13287
|
+
continue;
|
|
13288
|
+
}
|
|
13289
|
+
}
|
|
13290
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13291
|
+
break;
|
|
13292
|
+
}
|
|
13293
|
+
reader.skip(tag & 7);
|
|
13294
|
+
}
|
|
13295
|
+
return message;
|
|
13296
|
+
},
|
|
13297
|
+
fromJSON(object) {
|
|
13298
|
+
return {
|
|
13299
|
+
status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
|
|
13300
|
+
level: isSet(object.level) ? gt.Number(object.level) : 0,
|
|
13301
|
+
};
|
|
13302
|
+
},
|
|
13303
|
+
toJSON(message) {
|
|
13304
|
+
const obj = {};
|
|
13305
|
+
if (message.status !== 0) {
|
|
13306
|
+
obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
|
|
13307
|
+
}
|
|
13308
|
+
if (message.level !== 0) {
|
|
13309
|
+
obj.level = message.level;
|
|
13310
|
+
}
|
|
13311
|
+
return obj;
|
|
13312
|
+
},
|
|
13313
|
+
create(base) {
|
|
13314
|
+
return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
|
|
13315
|
+
},
|
|
13316
|
+
fromPartial(object) {
|
|
13317
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13318
|
+
message.status = object.status ?? 0;
|
|
13319
|
+
message.level = object.level ?? 0;
|
|
13320
|
+
return message;
|
|
13321
|
+
},
|
|
13322
|
+
};
|
|
13323
|
+
function createBaseSurfaceUnitVersionInfo() {
|
|
13324
|
+
return { version: "" };
|
|
13325
|
+
}
|
|
13326
|
+
exports.SurfaceUnitVersionInfo = {
|
|
13327
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13328
|
+
if (message.version !== "") {
|
|
13329
|
+
writer.uint32(10).string(message.version);
|
|
13330
|
+
}
|
|
13331
|
+
return writer;
|
|
13332
|
+
},
|
|
13333
|
+
decode(input, length) {
|
|
13334
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13335
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13336
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13337
|
+
while (reader.pos < end) {
|
|
13338
|
+
const tag = reader.uint32();
|
|
13339
|
+
switch (tag >>> 3) {
|
|
13340
|
+
case 1: {
|
|
13341
|
+
if (tag !== 10) {
|
|
13342
|
+
break;
|
|
13343
|
+
}
|
|
13344
|
+
message.version = reader.string();
|
|
13345
|
+
continue;
|
|
13346
|
+
}
|
|
13347
|
+
}
|
|
13348
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13349
|
+
break;
|
|
13350
|
+
}
|
|
13351
|
+
reader.skip(tag & 7);
|
|
13352
|
+
}
|
|
13353
|
+
return message;
|
|
13354
|
+
},
|
|
13355
|
+
fromJSON(object) {
|
|
13356
|
+
return { version: isSet(object.version) ? gt.String(object.version) : "" };
|
|
13357
|
+
},
|
|
13358
|
+
toJSON(message) {
|
|
13359
|
+
const obj = {};
|
|
13360
|
+
if (message.version !== "") {
|
|
13361
|
+
obj.version = message.version;
|
|
13362
|
+
}
|
|
13363
|
+
return obj;
|
|
13364
|
+
},
|
|
13365
|
+
create(base) {
|
|
13366
|
+
return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
|
|
13367
|
+
},
|
|
13368
|
+
fromPartial(object) {
|
|
13369
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13370
|
+
message.version = object.version ?? "";
|
|
11925
13371
|
return message;
|
|
11926
13372
|
},
|
|
11927
13373
|
};
|