@blueyerobotics/protocol-definitions 3.2.0-9f6199cf → 3.2.0-a48e4638
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 +221 -15
- package/dist/message_formats.js +1267 -18
- 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 = exports.GuestPortCurrent = exports.MultibeamServo = void 0;
|
|
8
|
+
exports.AutoPilotHeaveState = exports.AutoPilotSurgeYawState = exports.WeatherVaningState = exports.StationKeepingState = exports.AutoAltitudeState = exports.AutoDepthState = exports.AutoHeadingState = exports.ConnectionDuration = exports.LatLongPosition = exports.Laser = exports.Lights = exports.MotionInput = exports.KernelLogEntry_KeyValuePair = exports.KernelLogEntry = exports.LogEntry = exports.BinlogRecord = exports.SurfaceUnitBatteryInfo_ChargeStatus = exports.MultibeamConfig_MaximumNumberOfBeams = exports.MultibeamConfig_PingRate = exports.CalibrationState_Status = exports.RemovableStorageDevice_Status = exports.BatteryBQ40Z50_BatteryStatus_BatteryError = exports.PingerConfiguration_MountingDirection = exports.KernelLogEntry_KernelLogLevel = exports.LogEntry_LogLevel = exports.MultibeamFrequencyMode = exports.GuestPortError = exports.GuestPortDetachStatus = exports.NavigationSensorID = exports.GuestPortNumber = exports.GuestPortDeviceID = exports.FontSize = exports.ThicknessUnit = exports.DepthUnit = exports.LogoType = exports.TemperatureUnit = exports.StreamingProtocol = exports.Camera = exports.Framerate = exports.Resolution = exports.PressureSensorType = exports.Model = exports.StorageLocation = exports.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
|
|
9
|
+
exports.CameraParameters = exports.ErrorFlags = exports.DroneInfo = exports.TiltVelocity = exports.TiltAngle = exports.NStreamers = exports.IperfStatus = exports.CalibrationState = exports.RemovableStorageErrorFlags = exports.RemovableStorageDevice = exports.StoragePartition = exports.StorageSpace = exports.RecordOn = exports.DiveTime = exports.ControllerHealth = exports.ControlForce = exports.Notification = exports.Reference = exports.Depth = exports.DvlVelocity = exports.DvlTransducer = exports.ResetPositionSettings = exports.PositionEstimate = exports.ForwardDistance = exports.Altitude = exports.MagneticDeclination = exports.Attitude = exports.BatteryBQ40Z50_BatteryChargingEvents = exports.BatteryBQ40Z50_BatterySafetyEvents = exports.BatteryBQ40Z50_BatteryLifetimes_CellVoltages = exports.BatteryBQ40Z50_BatteryLifetimes = exports.BatteryBQ40Z50_BatteryStatus = exports.BatteryBQ40Z50_Temperature = exports.BatteryBQ40Z50_Voltage = exports.BatteryBQ40Z50 = exports.Battery = exports.CanisterHumidity = exports.CanisterTemperature = exports.CPUTemperature = exports.WaterTemperature = exports.PingerConfiguration = exports.WaterDensity = exports.TimeLapseState = exports.RecordState = exports.ConnectedClient = exports.ClientInfo = exports.GripperVelocities = exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = void 0;
|
|
10
|
+
exports.SurfaceUnitVersionInfo = exports.SurfaceUnitBatteryInfo = exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = exports.GuestPortInfo = exports.GuestPortConnectorInfo = exports.GuestPortDeviceList = exports.GuestPortDevice = exports.NavigationSensorStatus = exports.OverlayParameters = void 0;
|
|
11
11
|
exports.intervalTypeFromJSON = intervalTypeFromJSON;
|
|
12
12
|
exports.intervalTypeToJSON = intervalTypeToJSON;
|
|
13
13
|
exports.locationSourceFromJSON = locationSourceFromJSON;
|
|
@@ -22,6 +22,8 @@ exports.notificationTypeFromJSON = notificationTypeFromJSON;
|
|
|
22
22
|
exports.notificationTypeToJSON = notificationTypeToJSON;
|
|
23
23
|
exports.notificationLevelFromJSON = notificationLevelFromJSON;
|
|
24
24
|
exports.notificationLevelToJSON = notificationLevelToJSON;
|
|
25
|
+
exports.storageLocationFromJSON = storageLocationFromJSON;
|
|
26
|
+
exports.storageLocationToJSON = storageLocationToJSON;
|
|
25
27
|
exports.modelFromJSON = modelFromJSON;
|
|
26
28
|
exports.modelToJSON = modelToJSON;
|
|
27
29
|
exports.pressureSensorTypeFromJSON = pressureSensorTypeFromJSON;
|
|
@@ -32,6 +34,8 @@ exports.framerateFromJSON = framerateFromJSON;
|
|
|
32
34
|
exports.framerateToJSON = framerateToJSON;
|
|
33
35
|
exports.cameraFromJSON = cameraFromJSON;
|
|
34
36
|
exports.cameraToJSON = cameraToJSON;
|
|
37
|
+
exports.streamingProtocolFromJSON = streamingProtocolFromJSON;
|
|
38
|
+
exports.streamingProtocolToJSON = streamingProtocolToJSON;
|
|
35
39
|
exports.temperatureUnitFromJSON = temperatureUnitFromJSON;
|
|
36
40
|
exports.temperatureUnitToJSON = temperatureUnitToJSON;
|
|
37
41
|
exports.logoTypeFromJSON = logoTypeFromJSON;
|
|
@@ -56,16 +60,22 @@ exports.multibeamFrequencyModeFromJSON = multibeamFrequencyModeFromJSON;
|
|
|
56
60
|
exports.multibeamFrequencyModeToJSON = multibeamFrequencyModeToJSON;
|
|
57
61
|
exports.logEntry_LogLevelFromJSON = logEntry_LogLevelFromJSON;
|
|
58
62
|
exports.logEntry_LogLevelToJSON = logEntry_LogLevelToJSON;
|
|
63
|
+
exports.kernelLogEntry_KernelLogLevelFromJSON = kernelLogEntry_KernelLogLevelFromJSON;
|
|
64
|
+
exports.kernelLogEntry_KernelLogLevelToJSON = kernelLogEntry_KernelLogLevelToJSON;
|
|
59
65
|
exports.pingerConfiguration_MountingDirectionFromJSON = pingerConfiguration_MountingDirectionFromJSON;
|
|
60
66
|
exports.pingerConfiguration_MountingDirectionToJSON = pingerConfiguration_MountingDirectionToJSON;
|
|
61
67
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON;
|
|
62
68
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON;
|
|
69
|
+
exports.removableStorageDevice_StatusFromJSON = removableStorageDevice_StatusFromJSON;
|
|
70
|
+
exports.removableStorageDevice_StatusToJSON = removableStorageDevice_StatusToJSON;
|
|
63
71
|
exports.calibrationState_StatusFromJSON = calibrationState_StatusFromJSON;
|
|
64
72
|
exports.calibrationState_StatusToJSON = calibrationState_StatusToJSON;
|
|
65
73
|
exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
|
|
66
74
|
exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
|
|
67
75
|
exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
|
|
68
76
|
exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
|
|
77
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
|
|
78
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
|
|
69
79
|
/* eslint-disable */
|
|
70
80
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
71
81
|
const any_1 = require("./google/protobuf/any");
|
|
@@ -587,6 +597,51 @@ function notificationLevelToJSON(object) {
|
|
|
587
597
|
return "UNRECOGNIZED";
|
|
588
598
|
}
|
|
589
599
|
}
|
|
600
|
+
/**
|
|
601
|
+
* Storage location.
|
|
602
|
+
*
|
|
603
|
+
* Used to specify which storage location to use for recording photos and videos.
|
|
604
|
+
*/
|
|
605
|
+
var StorageLocation;
|
|
606
|
+
(function (StorageLocation) {
|
|
607
|
+
/** STORAGE_LOCATION_UNSPECIFIED - Unspecified. */
|
|
608
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_UNSPECIFIED"] = 0] = "STORAGE_LOCATION_UNSPECIFIED";
|
|
609
|
+
/** STORAGE_LOCATION_INTERNAL - Internal storage of the drone. */
|
|
610
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_INTERNAL"] = 1] = "STORAGE_LOCATION_INTERNAL";
|
|
611
|
+
/** STORAGE_LOCATION_REMOVABLE - Removable storage device. */
|
|
612
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_REMOVABLE"] = 2] = "STORAGE_LOCATION_REMOVABLE";
|
|
613
|
+
StorageLocation[StorageLocation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
614
|
+
})(StorageLocation || (exports.StorageLocation = StorageLocation = {}));
|
|
615
|
+
function storageLocationFromJSON(object) {
|
|
616
|
+
switch (object) {
|
|
617
|
+
case 0:
|
|
618
|
+
case "STORAGE_LOCATION_UNSPECIFIED":
|
|
619
|
+
return StorageLocation.STORAGE_LOCATION_UNSPECIFIED;
|
|
620
|
+
case 1:
|
|
621
|
+
case "STORAGE_LOCATION_INTERNAL":
|
|
622
|
+
return StorageLocation.STORAGE_LOCATION_INTERNAL;
|
|
623
|
+
case 2:
|
|
624
|
+
case "STORAGE_LOCATION_REMOVABLE":
|
|
625
|
+
return StorageLocation.STORAGE_LOCATION_REMOVABLE;
|
|
626
|
+
case -1:
|
|
627
|
+
case "UNRECOGNIZED":
|
|
628
|
+
default:
|
|
629
|
+
return StorageLocation.UNRECOGNIZED;
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
function storageLocationToJSON(object) {
|
|
633
|
+
switch (object) {
|
|
634
|
+
case StorageLocation.STORAGE_LOCATION_UNSPECIFIED:
|
|
635
|
+
return "STORAGE_LOCATION_UNSPECIFIED";
|
|
636
|
+
case StorageLocation.STORAGE_LOCATION_INTERNAL:
|
|
637
|
+
return "STORAGE_LOCATION_INTERNAL";
|
|
638
|
+
case StorageLocation.STORAGE_LOCATION_REMOVABLE:
|
|
639
|
+
return "STORAGE_LOCATION_REMOVABLE";
|
|
640
|
+
case StorageLocation.UNRECOGNIZED:
|
|
641
|
+
default:
|
|
642
|
+
return "UNRECOGNIZED";
|
|
643
|
+
}
|
|
644
|
+
}
|
|
590
645
|
/** Drone models produced by Blueye. */
|
|
591
646
|
var Model;
|
|
592
647
|
(function (Model) {
|
|
@@ -716,11 +771,13 @@ var Resolution;
|
|
|
716
771
|
(function (Resolution) {
|
|
717
772
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
718
773
|
Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
|
|
719
|
-
/**
|
|
720
|
-
Resolution[Resolution["
|
|
721
|
-
/** RESOLUTION_HD_720P - 720p HD
|
|
774
|
+
/** RESOLUTION_VGA_480P - VGA (640x480). */
|
|
775
|
+
Resolution[Resolution["RESOLUTION_VGA_480P"] = 4] = "RESOLUTION_VGA_480P";
|
|
776
|
+
/** RESOLUTION_HD_720P - 720p HD (1280x720). */
|
|
722
777
|
Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
|
|
723
|
-
/**
|
|
778
|
+
/** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
|
|
779
|
+
Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
|
|
780
|
+
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
|
|
724
781
|
Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
|
|
725
782
|
Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
726
783
|
})(Resolution || (exports.Resolution = Resolution = {}));
|
|
@@ -729,12 +786,15 @@ function resolutionFromJSON(object) {
|
|
|
729
786
|
case 0:
|
|
730
787
|
case "RESOLUTION_UNSPECIFIED":
|
|
731
788
|
return Resolution.RESOLUTION_UNSPECIFIED;
|
|
732
|
-
case
|
|
733
|
-
case "
|
|
734
|
-
return Resolution.
|
|
789
|
+
case 4:
|
|
790
|
+
case "RESOLUTION_VGA_480P":
|
|
791
|
+
return Resolution.RESOLUTION_VGA_480P;
|
|
735
792
|
case 2:
|
|
736
793
|
case "RESOLUTION_HD_720P":
|
|
737
794
|
return Resolution.RESOLUTION_HD_720P;
|
|
795
|
+
case 1:
|
|
796
|
+
case "RESOLUTION_FULLHD_1080P":
|
|
797
|
+
return Resolution.RESOLUTION_FULLHD_1080P;
|
|
738
798
|
case 3:
|
|
739
799
|
case "RESOLUTION_UHD_4K":
|
|
740
800
|
return Resolution.RESOLUTION_UHD_4K;
|
|
@@ -748,10 +808,12 @@ function resolutionToJSON(object) {
|
|
|
748
808
|
switch (object) {
|
|
749
809
|
case Resolution.RESOLUTION_UNSPECIFIED:
|
|
750
810
|
return "RESOLUTION_UNSPECIFIED";
|
|
751
|
-
case Resolution.
|
|
752
|
-
return "
|
|
811
|
+
case Resolution.RESOLUTION_VGA_480P:
|
|
812
|
+
return "RESOLUTION_VGA_480P";
|
|
753
813
|
case Resolution.RESOLUTION_HD_720P:
|
|
754
814
|
return "RESOLUTION_HD_720P";
|
|
815
|
+
case Resolution.RESOLUTION_FULLHD_1080P:
|
|
816
|
+
return "RESOLUTION_FULLHD_1080P";
|
|
755
817
|
case Resolution.RESOLUTION_UHD_4K:
|
|
756
818
|
return "RESOLUTION_UHD_4K";
|
|
757
819
|
case Resolution.UNRECOGNIZED:
|
|
@@ -766,7 +828,7 @@ var Framerate;
|
|
|
766
828
|
Framerate[Framerate["FRAMERATE_UNSPECIFIED"] = 0] = "FRAMERATE_UNSPECIFIED";
|
|
767
829
|
/** FRAMERATE_FPS_30 - 30 frames per second. */
|
|
768
830
|
Framerate[Framerate["FRAMERATE_FPS_30"] = 1] = "FRAMERATE_FPS_30";
|
|
769
|
-
/** FRAMERATE_FPS_25 - 25 frames per second. */
|
|
831
|
+
/** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
|
|
770
832
|
Framerate[Framerate["FRAMERATE_FPS_25"] = 2] = "FRAMERATE_FPS_25";
|
|
771
833
|
Framerate[Framerate["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
772
834
|
})(Framerate || (exports.Framerate = Framerate = {}));
|
|
@@ -841,6 +903,46 @@ function cameraToJSON(object) {
|
|
|
841
903
|
return "UNRECOGNIZED";
|
|
842
904
|
}
|
|
843
905
|
}
|
|
906
|
+
var StreamingProtocol;
|
|
907
|
+
(function (StreamingProtocol) {
|
|
908
|
+
/** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
|
|
909
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_UNSPECIFIED"] = 0] = "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
910
|
+
/** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
|
|
911
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_H264"] = 1] = "STREAMING_PROTOCOL_RTSP_H264";
|
|
912
|
+
/** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. No recording when activated. */
|
|
913
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_MJPEG"] = 2] = "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
914
|
+
StreamingProtocol[StreamingProtocol["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
915
|
+
})(StreamingProtocol || (exports.StreamingProtocol = StreamingProtocol = {}));
|
|
916
|
+
function streamingProtocolFromJSON(object) {
|
|
917
|
+
switch (object) {
|
|
918
|
+
case 0:
|
|
919
|
+
case "STREAMING_PROTOCOL_UNSPECIFIED":
|
|
920
|
+
return StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED;
|
|
921
|
+
case 1:
|
|
922
|
+
case "STREAMING_PROTOCOL_RTSP_H264":
|
|
923
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264;
|
|
924
|
+
case 2:
|
|
925
|
+
case "STREAMING_PROTOCOL_RTSP_MJPEG":
|
|
926
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG;
|
|
927
|
+
case -1:
|
|
928
|
+
case "UNRECOGNIZED":
|
|
929
|
+
default:
|
|
930
|
+
return StreamingProtocol.UNRECOGNIZED;
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
function streamingProtocolToJSON(object) {
|
|
934
|
+
switch (object) {
|
|
935
|
+
case StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED:
|
|
936
|
+
return "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
937
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264:
|
|
938
|
+
return "STREAMING_PROTOCOL_RTSP_H264";
|
|
939
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG:
|
|
940
|
+
return "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
941
|
+
case StreamingProtocol.UNRECOGNIZED:
|
|
942
|
+
default:
|
|
943
|
+
return "UNRECOGNIZED";
|
|
944
|
+
}
|
|
945
|
+
}
|
|
844
946
|
/** Available temperature units. */
|
|
845
947
|
var TemperatureUnit;
|
|
846
948
|
(function (TemperatureUnit) {
|
|
@@ -1174,6 +1276,12 @@ var GuestPortDeviceID;
|
|
|
1174
1276
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1175
1277
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1176
1278
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1279
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
|
|
1280
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
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";
|
|
1177
1285
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1178
1286
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1179
1287
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1313,6 +1421,15 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1313
1421
|
case 44:
|
|
1314
1422
|
case "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650":
|
|
1315
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;
|
|
1316
1433
|
case -1:
|
|
1317
1434
|
case "UNRECOGNIZED":
|
|
1318
1435
|
default:
|
|
@@ -1411,6 +1528,12 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1411
1528
|
return "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1412
1529
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650:
|
|
1413
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";
|
|
1414
1537
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1415
1538
|
default:
|
|
1416
1539
|
return "UNRECOGNIZED";
|
|
@@ -1755,6 +1878,89 @@ function logEntry_LogLevelToJSON(object) {
|
|
|
1755
1878
|
return "UNRECOGNIZED";
|
|
1756
1879
|
}
|
|
1757
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
|
+
}
|
|
1758
1964
|
var PingerConfiguration_MountingDirection;
|
|
1759
1965
|
(function (PingerConfiguration_MountingDirection) {
|
|
1760
1966
|
/** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
|
|
@@ -1869,10 +2075,65 @@ function batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON(object) {
|
|
|
1869
2075
|
return "UNRECOGNIZED";
|
|
1870
2076
|
}
|
|
1871
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
|
+
}
|
|
1872
2133
|
/**
|
|
1873
2134
|
* Status of the compass calibration procedure.
|
|
1874
2135
|
*
|
|
1875
|
-
* When calibration is started, the status will indicate the active (
|
|
2136
|
+
* When calibration is started, the status will indicate the active (up facing) axis.
|
|
1876
2137
|
*/
|
|
1877
2138
|
var CalibrationState_Status;
|
|
1878
2139
|
(function (CalibrationState_Status) {
|
|
@@ -1894,7 +2155,7 @@ var CalibrationState_Status;
|
|
|
1894
2155
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_Z_POSITIVE"] = 7] = "STATUS_CALIBRATING_Z_POSITIVE";
|
|
1895
2156
|
/** STATUS_CALIBRATING_Z_NEGATIVE - Compass is calibrating and the negative Z axis is active. */
|
|
1896
2157
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_Z_NEGATIVE"] = 8] = "STATUS_CALIBRATING_Z_NEGATIVE";
|
|
1897
|
-
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster
|
|
2158
|
+
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interference. */
|
|
1898
2159
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_THRUSTER"] = 9] = "STATUS_CALIBRATING_THRUSTER";
|
|
1899
2160
|
CalibrationState_Status[CalibrationState_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1900
2161
|
})(CalibrationState_Status || (exports.CalibrationState_Status = CalibrationState_Status = {}));
|
|
@@ -2085,6 +2346,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2085
2346
|
return "UNRECOGNIZED";
|
|
2086
2347
|
}
|
|
2087
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
|
+
}
|
|
2088
2392
|
function createBaseBinlogRecord() {
|
|
2089
2393
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2090
2394
|
}
|
|
@@ -2313,6 +2617,189 @@ exports.LogEntry = {
|
|
|
2313
2617
|
return message;
|
|
2314
2618
|
},
|
|
2315
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
|
+
};
|
|
2316
2803
|
function createBaseMotionInput() {
|
|
2317
2804
|
return { surge: 0, sway: 0, heave: 0, roll: 0, pitch: 0, yaw: 0, slow: 0, boost: 0 };
|
|
2318
2805
|
}
|
|
@@ -3594,6 +4081,9 @@ function createBaseRecordState() {
|
|
|
3594
4081
|
multibeamIsRecording: false,
|
|
3595
4082
|
multibeamSeconds: 0,
|
|
3596
4083
|
multibeamFps: 0,
|
|
4084
|
+
mainStorageLocation: 0,
|
|
4085
|
+
guestportStorageLocation: 0,
|
|
4086
|
+
multibeamStorageLocation: 0,
|
|
3597
4087
|
};
|
|
3598
4088
|
}
|
|
3599
4089
|
exports.RecordState = {
|
|
@@ -3625,6 +4115,15 @@ exports.RecordState = {
|
|
|
3625
4115
|
if (message.multibeamFps !== 0) {
|
|
3626
4116
|
writer.uint32(77).float(message.multibeamFps);
|
|
3627
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
|
+
}
|
|
3628
4127
|
return writer;
|
|
3629
4128
|
},
|
|
3630
4129
|
decode(input, length) {
|
|
@@ -3697,6 +4196,27 @@ exports.RecordState = {
|
|
|
3697
4196
|
message.multibeamFps = reader.float();
|
|
3698
4197
|
continue;
|
|
3699
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
|
+
}
|
|
3700
4220
|
}
|
|
3701
4221
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3702
4222
|
break;
|
|
@@ -3716,6 +4236,13 @@ exports.RecordState = {
|
|
|
3716
4236
|
multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
|
|
3717
4237
|
multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
|
|
3718
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,
|
|
3719
4246
|
};
|
|
3720
4247
|
},
|
|
3721
4248
|
toJSON(message) {
|
|
@@ -3747,6 +4274,15 @@ exports.RecordState = {
|
|
|
3747
4274
|
if (message.multibeamFps !== 0) {
|
|
3748
4275
|
obj.multibeamFps = message.multibeamFps;
|
|
3749
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
|
+
}
|
|
3750
4286
|
return obj;
|
|
3751
4287
|
},
|
|
3752
4288
|
create(base) {
|
|
@@ -3763,6 +4299,9 @@ exports.RecordState = {
|
|
|
3763
4299
|
message.multibeamIsRecording = object.multibeamIsRecording ?? false;
|
|
3764
4300
|
message.multibeamSeconds = object.multibeamSeconds ?? 0;
|
|
3765
4301
|
message.multibeamFps = object.multibeamFps ?? 0;
|
|
4302
|
+
message.mainStorageLocation = object.mainStorageLocation ?? 0;
|
|
4303
|
+
message.guestportStorageLocation = object.guestportStorageLocation ?? 0;
|
|
4304
|
+
message.multibeamStorageLocation = object.multibeamStorageLocation ?? 0;
|
|
3766
4305
|
return message;
|
|
3767
4306
|
},
|
|
3768
4307
|
};
|
|
@@ -7669,7 +8208,391 @@ exports.StorageSpace = {
|
|
|
7669
8208
|
return message;
|
|
7670
8209
|
},
|
|
7671
8210
|
};
|
|
7672
|
-
function
|
|
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
|
+
};
|
|
8467
|
+
}
|
|
8468
|
+
exports.RemovableStorageErrorFlags = {
|
|
8469
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
8470
|
+
if (message.errorMessage !== "") {
|
|
8471
|
+
writer.uint32(10).string(message.errorMessage);
|
|
8472
|
+
}
|
|
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);
|
|
8487
|
+
}
|
|
8488
|
+
return writer;
|
|
8489
|
+
},
|
|
8490
|
+
decode(input, length) {
|
|
8491
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8492
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8493
|
+
const message = createBaseRemovableStorageErrorFlags();
|
|
8494
|
+
while (reader.pos < end) {
|
|
8495
|
+
const tag = reader.uint32();
|
|
8496
|
+
switch (tag >>> 3) {
|
|
8497
|
+
case 1: {
|
|
8498
|
+
if (tag !== 10) {
|
|
8499
|
+
break;
|
|
8500
|
+
}
|
|
8501
|
+
message.errorMessage = reader.string();
|
|
8502
|
+
continue;
|
|
8503
|
+
}
|
|
8504
|
+
case 2: {
|
|
8505
|
+
if (tag !== 16) {
|
|
8506
|
+
break;
|
|
8507
|
+
}
|
|
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();
|
|
8537
|
+
continue;
|
|
8538
|
+
}
|
|
8539
|
+
}
|
|
8540
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8541
|
+
break;
|
|
8542
|
+
}
|
|
8543
|
+
reader.skip(tag & 7);
|
|
8544
|
+
}
|
|
8545
|
+
return message;
|
|
8546
|
+
},
|
|
8547
|
+
fromJSON(object) {
|
|
8548
|
+
return {
|
|
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,
|
|
8557
|
+
};
|
|
8558
|
+
},
|
|
8559
|
+
toJSON(message) {
|
|
8560
|
+
const obj = {};
|
|
8561
|
+
if (message.errorMessage !== "") {
|
|
8562
|
+
obj.errorMessage = message.errorMessage;
|
|
8563
|
+
}
|
|
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;
|
|
8578
|
+
}
|
|
8579
|
+
return obj;
|
|
8580
|
+
},
|
|
8581
|
+
create(base) {
|
|
8582
|
+
return exports.RemovableStorageErrorFlags.fromPartial(base ?? {});
|
|
8583
|
+
},
|
|
8584
|
+
fromPartial(object) {
|
|
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;
|
|
8592
|
+
return message;
|
|
8593
|
+
},
|
|
8594
|
+
};
|
|
8595
|
+
function createBaseCalibrationState() {
|
|
7673
8596
|
return {
|
|
7674
8597
|
status: 0,
|
|
7675
8598
|
progressXPositive: 0,
|
|
@@ -9094,11 +10017,23 @@ function createBaseCameraParameters() {
|
|
|
9094
10017
|
whiteBalance: 0,
|
|
9095
10018
|
hue: 0,
|
|
9096
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,
|
|
9097
10030
|
resolution: 0,
|
|
9098
10031
|
streamResolution: 0,
|
|
9099
10032
|
recordingResolution: 0,
|
|
10033
|
+
streamingProtocol: 0,
|
|
9100
10034
|
framerate: 0,
|
|
9101
10035
|
camera: 0,
|
|
10036
|
+
mtuSize: 0,
|
|
9102
10037
|
};
|
|
9103
10038
|
}
|
|
9104
10039
|
exports.CameraParameters = {
|
|
@@ -9121,6 +10056,36 @@ exports.CameraParameters = {
|
|
|
9121
10056
|
if (message.gain !== 0) {
|
|
9122
10057
|
writer.uint32(77).float(message.gain);
|
|
9123
10058
|
}
|
|
10059
|
+
if (message.brightness !== 0) {
|
|
10060
|
+
writer.uint32(96).int32(message.brightness);
|
|
10061
|
+
}
|
|
10062
|
+
if (message.contrast !== 0) {
|
|
10063
|
+
writer.uint32(104).int32(message.contrast);
|
|
10064
|
+
}
|
|
10065
|
+
if (message.saturation !== 0) {
|
|
10066
|
+
writer.uint32(112).int32(message.saturation);
|
|
10067
|
+
}
|
|
10068
|
+
if (message.gamma !== 0) {
|
|
10069
|
+
writer.uint32(120).int32(message.gamma);
|
|
10070
|
+
}
|
|
10071
|
+
if (message.sharpness !== 0) {
|
|
10072
|
+
writer.uint32(128).int32(message.sharpness);
|
|
10073
|
+
}
|
|
10074
|
+
if (message.backlightCompensation !== 0) {
|
|
10075
|
+
writer.uint32(136).int32(message.backlightCompensation);
|
|
10076
|
+
}
|
|
10077
|
+
if (message.denoise !== 0) {
|
|
10078
|
+
writer.uint32(144).int32(message.denoise);
|
|
10079
|
+
}
|
|
10080
|
+
if (message.ehdrEnabled !== false) {
|
|
10081
|
+
writer.uint32(168).bool(message.ehdrEnabled);
|
|
10082
|
+
}
|
|
10083
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10084
|
+
writer.uint32(176).int32(message.ehdrExposureMinNumber);
|
|
10085
|
+
}
|
|
10086
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10087
|
+
writer.uint32(184).int32(message.ehdrExposureMaxNumber);
|
|
10088
|
+
}
|
|
9124
10089
|
if (message.resolution !== 0) {
|
|
9125
10090
|
writer.uint32(48).int32(message.resolution);
|
|
9126
10091
|
}
|
|
@@ -9130,12 +10095,18 @@ exports.CameraParameters = {
|
|
|
9130
10095
|
if (message.recordingResolution !== 0) {
|
|
9131
10096
|
writer.uint32(88).int32(message.recordingResolution);
|
|
9132
10097
|
}
|
|
10098
|
+
if (message.streamingProtocol !== 0) {
|
|
10099
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
10100
|
+
}
|
|
9133
10101
|
if (message.framerate !== 0) {
|
|
9134
10102
|
writer.uint32(56).int32(message.framerate);
|
|
9135
10103
|
}
|
|
9136
10104
|
if (message.camera !== 0) {
|
|
9137
10105
|
writer.uint32(64).int32(message.camera);
|
|
9138
10106
|
}
|
|
10107
|
+
if (message.mtuSize !== 0) {
|
|
10108
|
+
writer.uint32(192).uint32(message.mtuSize);
|
|
10109
|
+
}
|
|
9139
10110
|
return writer;
|
|
9140
10111
|
},
|
|
9141
10112
|
decode(input, length) {
|
|
@@ -9187,6 +10158,76 @@ exports.CameraParameters = {
|
|
|
9187
10158
|
message.gain = reader.float();
|
|
9188
10159
|
continue;
|
|
9189
10160
|
}
|
|
10161
|
+
case 12: {
|
|
10162
|
+
if (tag !== 96) {
|
|
10163
|
+
break;
|
|
10164
|
+
}
|
|
10165
|
+
message.brightness = reader.int32();
|
|
10166
|
+
continue;
|
|
10167
|
+
}
|
|
10168
|
+
case 13: {
|
|
10169
|
+
if (tag !== 104) {
|
|
10170
|
+
break;
|
|
10171
|
+
}
|
|
10172
|
+
message.contrast = reader.int32();
|
|
10173
|
+
continue;
|
|
10174
|
+
}
|
|
10175
|
+
case 14: {
|
|
10176
|
+
if (tag !== 112) {
|
|
10177
|
+
break;
|
|
10178
|
+
}
|
|
10179
|
+
message.saturation = reader.int32();
|
|
10180
|
+
continue;
|
|
10181
|
+
}
|
|
10182
|
+
case 15: {
|
|
10183
|
+
if (tag !== 120) {
|
|
10184
|
+
break;
|
|
10185
|
+
}
|
|
10186
|
+
message.gamma = reader.int32();
|
|
10187
|
+
continue;
|
|
10188
|
+
}
|
|
10189
|
+
case 16: {
|
|
10190
|
+
if (tag !== 128) {
|
|
10191
|
+
break;
|
|
10192
|
+
}
|
|
10193
|
+
message.sharpness = reader.int32();
|
|
10194
|
+
continue;
|
|
10195
|
+
}
|
|
10196
|
+
case 17: {
|
|
10197
|
+
if (tag !== 136) {
|
|
10198
|
+
break;
|
|
10199
|
+
}
|
|
10200
|
+
message.backlightCompensation = reader.int32();
|
|
10201
|
+
continue;
|
|
10202
|
+
}
|
|
10203
|
+
case 18: {
|
|
10204
|
+
if (tag !== 144) {
|
|
10205
|
+
break;
|
|
10206
|
+
}
|
|
10207
|
+
message.denoise = reader.int32();
|
|
10208
|
+
continue;
|
|
10209
|
+
}
|
|
10210
|
+
case 21: {
|
|
10211
|
+
if (tag !== 168) {
|
|
10212
|
+
break;
|
|
10213
|
+
}
|
|
10214
|
+
message.ehdrEnabled = reader.bool();
|
|
10215
|
+
continue;
|
|
10216
|
+
}
|
|
10217
|
+
case 22: {
|
|
10218
|
+
if (tag !== 176) {
|
|
10219
|
+
break;
|
|
10220
|
+
}
|
|
10221
|
+
message.ehdrExposureMinNumber = reader.int32();
|
|
10222
|
+
continue;
|
|
10223
|
+
}
|
|
10224
|
+
case 23: {
|
|
10225
|
+
if (tag !== 184) {
|
|
10226
|
+
break;
|
|
10227
|
+
}
|
|
10228
|
+
message.ehdrExposureMaxNumber = reader.int32();
|
|
10229
|
+
continue;
|
|
10230
|
+
}
|
|
9190
10231
|
case 6: {
|
|
9191
10232
|
if (tag !== 48) {
|
|
9192
10233
|
break;
|
|
@@ -9208,6 +10249,13 @@ exports.CameraParameters = {
|
|
|
9208
10249
|
message.recordingResolution = reader.int32();
|
|
9209
10250
|
continue;
|
|
9210
10251
|
}
|
|
10252
|
+
case 20: {
|
|
10253
|
+
if (tag !== 160) {
|
|
10254
|
+
break;
|
|
10255
|
+
}
|
|
10256
|
+
message.streamingProtocol = reader.int32();
|
|
10257
|
+
continue;
|
|
10258
|
+
}
|
|
9211
10259
|
case 7: {
|
|
9212
10260
|
if (tag !== 56) {
|
|
9213
10261
|
break;
|
|
@@ -9222,6 +10270,13 @@ exports.CameraParameters = {
|
|
|
9222
10270
|
message.camera = reader.int32();
|
|
9223
10271
|
continue;
|
|
9224
10272
|
}
|
|
10273
|
+
case 24: {
|
|
10274
|
+
if (tag !== 192) {
|
|
10275
|
+
break;
|
|
10276
|
+
}
|
|
10277
|
+
message.mtuSize = reader.uint32();
|
|
10278
|
+
continue;
|
|
10279
|
+
}
|
|
9225
10280
|
}
|
|
9226
10281
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9227
10282
|
break;
|
|
@@ -9238,11 +10293,23 @@ exports.CameraParameters = {
|
|
|
9238
10293
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9239
10294
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9240
10295
|
gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
|
|
10296
|
+
brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
|
|
10297
|
+
contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
|
|
10298
|
+
saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
|
|
10299
|
+
gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
|
|
10300
|
+
sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
|
|
10301
|
+
backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
|
|
10302
|
+
denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
|
|
10303
|
+
ehdrEnabled: isSet(object.ehdrEnabled) ? gt.Boolean(object.ehdrEnabled) : false,
|
|
10304
|
+
ehdrExposureMinNumber: isSet(object.ehdrExposureMinNumber) ? gt.Number(object.ehdrExposureMinNumber) : 0,
|
|
10305
|
+
ehdrExposureMaxNumber: isSet(object.ehdrExposureMaxNumber) ? gt.Number(object.ehdrExposureMaxNumber) : 0,
|
|
9241
10306
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9242
10307
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9243
10308
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
10309
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9244
10310
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9245
10311
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
10312
|
+
mtuSize: isSet(object.mtuSize) ? gt.Number(object.mtuSize) : 0,
|
|
9246
10313
|
};
|
|
9247
10314
|
},
|
|
9248
10315
|
toJSON(message) {
|
|
@@ -9265,6 +10332,36 @@ exports.CameraParameters = {
|
|
|
9265
10332
|
if (message.gain !== 0) {
|
|
9266
10333
|
obj.gain = message.gain;
|
|
9267
10334
|
}
|
|
10335
|
+
if (message.brightness !== 0) {
|
|
10336
|
+
obj.brightness = Math.round(message.brightness);
|
|
10337
|
+
}
|
|
10338
|
+
if (message.contrast !== 0) {
|
|
10339
|
+
obj.contrast = Math.round(message.contrast);
|
|
10340
|
+
}
|
|
10341
|
+
if (message.saturation !== 0) {
|
|
10342
|
+
obj.saturation = Math.round(message.saturation);
|
|
10343
|
+
}
|
|
10344
|
+
if (message.gamma !== 0) {
|
|
10345
|
+
obj.gamma = Math.round(message.gamma);
|
|
10346
|
+
}
|
|
10347
|
+
if (message.sharpness !== 0) {
|
|
10348
|
+
obj.sharpness = Math.round(message.sharpness);
|
|
10349
|
+
}
|
|
10350
|
+
if (message.backlightCompensation !== 0) {
|
|
10351
|
+
obj.backlightCompensation = Math.round(message.backlightCompensation);
|
|
10352
|
+
}
|
|
10353
|
+
if (message.denoise !== 0) {
|
|
10354
|
+
obj.denoise = Math.round(message.denoise);
|
|
10355
|
+
}
|
|
10356
|
+
if (message.ehdrEnabled !== false) {
|
|
10357
|
+
obj.ehdrEnabled = message.ehdrEnabled;
|
|
10358
|
+
}
|
|
10359
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10360
|
+
obj.ehdrExposureMinNumber = Math.round(message.ehdrExposureMinNumber);
|
|
10361
|
+
}
|
|
10362
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10363
|
+
obj.ehdrExposureMaxNumber = Math.round(message.ehdrExposureMaxNumber);
|
|
10364
|
+
}
|
|
9268
10365
|
if (message.resolution !== 0) {
|
|
9269
10366
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9270
10367
|
}
|
|
@@ -9274,12 +10371,18 @@ exports.CameraParameters = {
|
|
|
9274
10371
|
if (message.recordingResolution !== 0) {
|
|
9275
10372
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9276
10373
|
}
|
|
10374
|
+
if (message.streamingProtocol !== 0) {
|
|
10375
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
10376
|
+
}
|
|
9277
10377
|
if (message.framerate !== 0) {
|
|
9278
10378
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9279
10379
|
}
|
|
9280
10380
|
if (message.camera !== 0) {
|
|
9281
10381
|
obj.camera = cameraToJSON(message.camera);
|
|
9282
10382
|
}
|
|
10383
|
+
if (message.mtuSize !== 0) {
|
|
10384
|
+
obj.mtuSize = Math.round(message.mtuSize);
|
|
10385
|
+
}
|
|
9283
10386
|
return obj;
|
|
9284
10387
|
},
|
|
9285
10388
|
create(base) {
|
|
@@ -9293,11 +10396,23 @@ exports.CameraParameters = {
|
|
|
9293
10396
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9294
10397
|
message.hue = object.hue ?? 0;
|
|
9295
10398
|
message.gain = object.gain ?? 0;
|
|
10399
|
+
message.brightness = object.brightness ?? 0;
|
|
10400
|
+
message.contrast = object.contrast ?? 0;
|
|
10401
|
+
message.saturation = object.saturation ?? 0;
|
|
10402
|
+
message.gamma = object.gamma ?? 0;
|
|
10403
|
+
message.sharpness = object.sharpness ?? 0;
|
|
10404
|
+
message.backlightCompensation = object.backlightCompensation ?? 0;
|
|
10405
|
+
message.denoise = object.denoise ?? 0;
|
|
10406
|
+
message.ehdrEnabled = object.ehdrEnabled ?? false;
|
|
10407
|
+
message.ehdrExposureMinNumber = object.ehdrExposureMinNumber ?? 0;
|
|
10408
|
+
message.ehdrExposureMaxNumber = object.ehdrExposureMaxNumber ?? 0;
|
|
9296
10409
|
message.resolution = object.resolution ?? 0;
|
|
9297
10410
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9298
10411
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
10412
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9299
10413
|
message.framerate = object.framerate ?? 0;
|
|
9300
10414
|
message.camera = object.camera ?? 0;
|
|
10415
|
+
message.mtuSize = object.mtuSize ?? 0;
|
|
9301
10416
|
return message;
|
|
9302
10417
|
},
|
|
9303
10418
|
};
|
|
@@ -12041,7 +13156,7 @@ exports.PersistentStorageSettings = {
|
|
|
12041
13156
|
},
|
|
12042
13157
|
};
|
|
12043
13158
|
function createBaseCPUInfo() {
|
|
12044
|
-
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
|
|
13159
|
+
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
|
|
12045
13160
|
}
|
|
12046
13161
|
exports.CPUInfo = {
|
|
12047
13162
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -12057,6 +13172,9 @@ exports.CPUInfo = {
|
|
|
12057
13172
|
if (message.guestportQueueLoad !== 0) {
|
|
12058
13173
|
writer.uint32(37).float(message.guestportQueueLoad);
|
|
12059
13174
|
}
|
|
13175
|
+
if (message.commQueueLoad !== 0) {
|
|
13176
|
+
writer.uint32(45).float(message.commQueueLoad);
|
|
13177
|
+
}
|
|
12060
13178
|
return writer;
|
|
12061
13179
|
},
|
|
12062
13180
|
decode(input, length) {
|
|
@@ -12094,6 +13212,13 @@ exports.CPUInfo = {
|
|
|
12094
13212
|
message.guestportQueueLoad = reader.float();
|
|
12095
13213
|
continue;
|
|
12096
13214
|
}
|
|
13215
|
+
case 5: {
|
|
13216
|
+
if (tag !== 45) {
|
|
13217
|
+
break;
|
|
13218
|
+
}
|
|
13219
|
+
message.commQueueLoad = reader.float();
|
|
13220
|
+
continue;
|
|
13221
|
+
}
|
|
12097
13222
|
}
|
|
12098
13223
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12099
13224
|
break;
|
|
@@ -12108,6 +13233,7 @@ exports.CPUInfo = {
|
|
|
12108
13233
|
memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
|
|
12109
13234
|
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
12110
13235
|
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
13236
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
12111
13237
|
};
|
|
12112
13238
|
},
|
|
12113
13239
|
toJSON(message) {
|
|
@@ -12124,6 +13250,9 @@ exports.CPUInfo = {
|
|
|
12124
13250
|
if (message.guestportQueueLoad !== 0) {
|
|
12125
13251
|
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
12126
13252
|
}
|
|
13253
|
+
if (message.commQueueLoad !== 0) {
|
|
13254
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
13255
|
+
}
|
|
12127
13256
|
return obj;
|
|
12128
13257
|
},
|
|
12129
13258
|
create(base) {
|
|
@@ -12135,6 +13264,126 @@ exports.CPUInfo = {
|
|
|
12135
13264
|
message.memoryBusLoad = object.memoryBusLoad ?? 0;
|
|
12136
13265
|
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
12137
13266
|
message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
|
|
13267
|
+
message.commQueueLoad = object.commQueueLoad ?? 0;
|
|
13268
|
+
return message;
|
|
13269
|
+
},
|
|
13270
|
+
};
|
|
13271
|
+
function createBaseSurfaceUnitBatteryInfo() {
|
|
13272
|
+
return { status: 0, level: 0 };
|
|
13273
|
+
}
|
|
13274
|
+
exports.SurfaceUnitBatteryInfo = {
|
|
13275
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13276
|
+
if (message.status !== 0) {
|
|
13277
|
+
writer.uint32(8).int32(message.status);
|
|
13278
|
+
}
|
|
13279
|
+
if (message.level !== 0) {
|
|
13280
|
+
writer.uint32(21).float(message.level);
|
|
13281
|
+
}
|
|
13282
|
+
return writer;
|
|
13283
|
+
},
|
|
13284
|
+
decode(input, length) {
|
|
13285
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13286
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13287
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13288
|
+
while (reader.pos < end) {
|
|
13289
|
+
const tag = reader.uint32();
|
|
13290
|
+
switch (tag >>> 3) {
|
|
13291
|
+
case 1: {
|
|
13292
|
+
if (tag !== 8) {
|
|
13293
|
+
break;
|
|
13294
|
+
}
|
|
13295
|
+
message.status = reader.int32();
|
|
13296
|
+
continue;
|
|
13297
|
+
}
|
|
13298
|
+
case 2: {
|
|
13299
|
+
if (tag !== 21) {
|
|
13300
|
+
break;
|
|
13301
|
+
}
|
|
13302
|
+
message.level = reader.float();
|
|
13303
|
+
continue;
|
|
13304
|
+
}
|
|
13305
|
+
}
|
|
13306
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13307
|
+
break;
|
|
13308
|
+
}
|
|
13309
|
+
reader.skip(tag & 7);
|
|
13310
|
+
}
|
|
13311
|
+
return message;
|
|
13312
|
+
},
|
|
13313
|
+
fromJSON(object) {
|
|
13314
|
+
return {
|
|
13315
|
+
status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
|
|
13316
|
+
level: isSet(object.level) ? gt.Number(object.level) : 0,
|
|
13317
|
+
};
|
|
13318
|
+
},
|
|
13319
|
+
toJSON(message) {
|
|
13320
|
+
const obj = {};
|
|
13321
|
+
if (message.status !== 0) {
|
|
13322
|
+
obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
|
|
13323
|
+
}
|
|
13324
|
+
if (message.level !== 0) {
|
|
13325
|
+
obj.level = message.level;
|
|
13326
|
+
}
|
|
13327
|
+
return obj;
|
|
13328
|
+
},
|
|
13329
|
+
create(base) {
|
|
13330
|
+
return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
|
|
13331
|
+
},
|
|
13332
|
+
fromPartial(object) {
|
|
13333
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13334
|
+
message.status = object.status ?? 0;
|
|
13335
|
+
message.level = object.level ?? 0;
|
|
13336
|
+
return message;
|
|
13337
|
+
},
|
|
13338
|
+
};
|
|
13339
|
+
function createBaseSurfaceUnitVersionInfo() {
|
|
13340
|
+
return { version: "" };
|
|
13341
|
+
}
|
|
13342
|
+
exports.SurfaceUnitVersionInfo = {
|
|
13343
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13344
|
+
if (message.version !== "") {
|
|
13345
|
+
writer.uint32(10).string(message.version);
|
|
13346
|
+
}
|
|
13347
|
+
return writer;
|
|
13348
|
+
},
|
|
13349
|
+
decode(input, length) {
|
|
13350
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13351
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13352
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13353
|
+
while (reader.pos < end) {
|
|
13354
|
+
const tag = reader.uint32();
|
|
13355
|
+
switch (tag >>> 3) {
|
|
13356
|
+
case 1: {
|
|
13357
|
+
if (tag !== 10) {
|
|
13358
|
+
break;
|
|
13359
|
+
}
|
|
13360
|
+
message.version = reader.string();
|
|
13361
|
+
continue;
|
|
13362
|
+
}
|
|
13363
|
+
}
|
|
13364
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13365
|
+
break;
|
|
13366
|
+
}
|
|
13367
|
+
reader.skip(tag & 7);
|
|
13368
|
+
}
|
|
13369
|
+
return message;
|
|
13370
|
+
},
|
|
13371
|
+
fromJSON(object) {
|
|
13372
|
+
return { version: isSet(object.version) ? gt.String(object.version) : "" };
|
|
13373
|
+
},
|
|
13374
|
+
toJSON(message) {
|
|
13375
|
+
const obj = {};
|
|
13376
|
+
if (message.version !== "") {
|
|
13377
|
+
obj.version = message.version;
|
|
13378
|
+
}
|
|
13379
|
+
return obj;
|
|
13380
|
+
},
|
|
13381
|
+
create(base) {
|
|
13382
|
+
return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
|
|
13383
|
+
},
|
|
13384
|
+
fromPartial(object) {
|
|
13385
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13386
|
+
message.version = object.version ?? "";
|
|
12138
13387
|
return message;
|
|
12139
13388
|
},
|
|
12140
13389
|
};
|