@blueyerobotics/protocol-definitions 3.2.0-9615ba25 → 3.2.0-9c4aad9c
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 +6 -2
- package/dist/control.js +40 -9
- 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 +148 -12
- package/dist/message_formats.js +774 -17
- 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 +29 -1
- package/dist/telemetry.js +248 -2
- 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 = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = 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,6 +60,8 @@ 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;
|
|
@@ -68,6 +74,8 @@ exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
|
|
|
68
74
|
exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
|
|
69
75
|
exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
|
|
70
76
|
exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
|
|
77
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
|
|
78
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
|
|
71
79
|
/* eslint-disable */
|
|
72
80
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
73
81
|
const any_1 = require("./google/protobuf/any");
|
|
@@ -589,6 +597,51 @@ function notificationLevelToJSON(object) {
|
|
|
589
597
|
return "UNRECOGNIZED";
|
|
590
598
|
}
|
|
591
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
|
+
}
|
|
592
645
|
/** Drone models produced by Blueye. */
|
|
593
646
|
var Model;
|
|
594
647
|
(function (Model) {
|
|
@@ -718,11 +771,13 @@ var Resolution;
|
|
|
718
771
|
(function (Resolution) {
|
|
719
772
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
720
773
|
Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
|
|
721
|
-
/**
|
|
722
|
-
Resolution[Resolution["
|
|
723
|
-
/** 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). */
|
|
724
777
|
Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
|
|
725
|
-
/**
|
|
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). */
|
|
726
781
|
Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
|
|
727
782
|
Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
728
783
|
})(Resolution || (exports.Resolution = Resolution = {}));
|
|
@@ -731,12 +786,15 @@ function resolutionFromJSON(object) {
|
|
|
731
786
|
case 0:
|
|
732
787
|
case "RESOLUTION_UNSPECIFIED":
|
|
733
788
|
return Resolution.RESOLUTION_UNSPECIFIED;
|
|
734
|
-
case
|
|
735
|
-
case "
|
|
736
|
-
return Resolution.
|
|
789
|
+
case 4:
|
|
790
|
+
case "RESOLUTION_VGA_480P":
|
|
791
|
+
return Resolution.RESOLUTION_VGA_480P;
|
|
737
792
|
case 2:
|
|
738
793
|
case "RESOLUTION_HD_720P":
|
|
739
794
|
return Resolution.RESOLUTION_HD_720P;
|
|
795
|
+
case 1:
|
|
796
|
+
case "RESOLUTION_FULLHD_1080P":
|
|
797
|
+
return Resolution.RESOLUTION_FULLHD_1080P;
|
|
740
798
|
case 3:
|
|
741
799
|
case "RESOLUTION_UHD_4K":
|
|
742
800
|
return Resolution.RESOLUTION_UHD_4K;
|
|
@@ -750,10 +808,12 @@ function resolutionToJSON(object) {
|
|
|
750
808
|
switch (object) {
|
|
751
809
|
case Resolution.RESOLUTION_UNSPECIFIED:
|
|
752
810
|
return "RESOLUTION_UNSPECIFIED";
|
|
753
|
-
case Resolution.
|
|
754
|
-
return "
|
|
811
|
+
case Resolution.RESOLUTION_VGA_480P:
|
|
812
|
+
return "RESOLUTION_VGA_480P";
|
|
755
813
|
case Resolution.RESOLUTION_HD_720P:
|
|
756
814
|
return "RESOLUTION_HD_720P";
|
|
815
|
+
case Resolution.RESOLUTION_FULLHD_1080P:
|
|
816
|
+
return "RESOLUTION_FULLHD_1080P";
|
|
757
817
|
case Resolution.RESOLUTION_UHD_4K:
|
|
758
818
|
return "RESOLUTION_UHD_4K";
|
|
759
819
|
case Resolution.UNRECOGNIZED:
|
|
@@ -768,7 +828,7 @@ var Framerate;
|
|
|
768
828
|
Framerate[Framerate["FRAMERATE_UNSPECIFIED"] = 0] = "FRAMERATE_UNSPECIFIED";
|
|
769
829
|
/** FRAMERATE_FPS_30 - 30 frames per second. */
|
|
770
830
|
Framerate[Framerate["FRAMERATE_FPS_30"] = 1] = "FRAMERATE_FPS_30";
|
|
771
|
-
/** FRAMERATE_FPS_25 - 25 frames per second. */
|
|
831
|
+
/** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
|
|
772
832
|
Framerate[Framerate["FRAMERATE_FPS_25"] = 2] = "FRAMERATE_FPS_25";
|
|
773
833
|
Framerate[Framerate["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
774
834
|
})(Framerate || (exports.Framerate = Framerate = {}));
|
|
@@ -843,6 +903,46 @@ function cameraToJSON(object) {
|
|
|
843
903
|
return "UNRECOGNIZED";
|
|
844
904
|
}
|
|
845
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
|
+
}
|
|
846
946
|
/** Available temperature units. */
|
|
847
947
|
var TemperatureUnit;
|
|
848
948
|
(function (TemperatureUnit) {
|
|
@@ -1176,8 +1276,10 @@ var GuestPortDeviceID;
|
|
|
1176
1276
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1177
1277
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1178
1278
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1179
|
-
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
|
|
1279
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
|
|
1180
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";
|
|
1181
1283
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1182
1284
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1183
1285
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1320,6 +1422,9 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1320
1422
|
case 45:
|
|
1321
1423
|
case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
|
|
1322
1424
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
|
|
1425
|
+
case 46:
|
|
1426
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2":
|
|
1427
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2;
|
|
1323
1428
|
case -1:
|
|
1324
1429
|
case "UNRECOGNIZED":
|
|
1325
1430
|
default:
|
|
@@ -1420,6 +1525,8 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1420
1525
|
return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1421
1526
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
|
|
1422
1527
|
return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1528
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2:
|
|
1529
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
|
|
1423
1530
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1424
1531
|
default:
|
|
1425
1532
|
return "UNRECOGNIZED";
|
|
@@ -1764,6 +1871,89 @@ function logEntry_LogLevelToJSON(object) {
|
|
|
1764
1871
|
return "UNRECOGNIZED";
|
|
1765
1872
|
}
|
|
1766
1873
|
}
|
|
1874
|
+
/** Kernel log level. */
|
|
1875
|
+
var KernelLogEntry_KernelLogLevel;
|
|
1876
|
+
(function (KernelLogEntry_KernelLogLevel) {
|
|
1877
|
+
/** KERNEL_LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
1878
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_UNSPECIFIED"] = 0] = "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
1879
|
+
/** KERNEL_LOG_LEVEL_EMERG - Emergency log level. */
|
|
1880
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_EMERG"] = 1] = "KERNEL_LOG_LEVEL_EMERG";
|
|
1881
|
+
/** KERNEL_LOG_LEVEL_ALERT - Alert log level. */
|
|
1882
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ALERT"] = 2] = "KERNEL_LOG_LEVEL_ALERT";
|
|
1883
|
+
/** KERNEL_LOG_LEVEL_CRIT - Critical log level. */
|
|
1884
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_CRIT"] = 3] = "KERNEL_LOG_LEVEL_CRIT";
|
|
1885
|
+
/** KERNEL_LOG_LEVEL_ERR - Error log level. */
|
|
1886
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ERR"] = 4] = "KERNEL_LOG_LEVEL_ERR";
|
|
1887
|
+
/** KERNEL_LOG_LEVEL_WARNING - Warning log level. */
|
|
1888
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_WARNING"] = 5] = "KERNEL_LOG_LEVEL_WARNING";
|
|
1889
|
+
/** KERNEL_LOG_LEVEL_NOTICE - Notice log level. */
|
|
1890
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_NOTICE"] = 6] = "KERNEL_LOG_LEVEL_NOTICE";
|
|
1891
|
+
/** KERNEL_LOG_LEVEL_INFO - Informational log level. */
|
|
1892
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_INFO"] = 7] = "KERNEL_LOG_LEVEL_INFO";
|
|
1893
|
+
/** KERNEL_LOG_LEVEL_DEBUG - Debug log level. */
|
|
1894
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_DEBUG"] = 8] = "KERNEL_LOG_LEVEL_DEBUG";
|
|
1895
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1896
|
+
})(KernelLogEntry_KernelLogLevel || (exports.KernelLogEntry_KernelLogLevel = KernelLogEntry_KernelLogLevel = {}));
|
|
1897
|
+
function kernelLogEntry_KernelLogLevelFromJSON(object) {
|
|
1898
|
+
switch (object) {
|
|
1899
|
+
case 0:
|
|
1900
|
+
case "KERNEL_LOG_LEVEL_UNSPECIFIED":
|
|
1901
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED;
|
|
1902
|
+
case 1:
|
|
1903
|
+
case "KERNEL_LOG_LEVEL_EMERG":
|
|
1904
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG;
|
|
1905
|
+
case 2:
|
|
1906
|
+
case "KERNEL_LOG_LEVEL_ALERT":
|
|
1907
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT;
|
|
1908
|
+
case 3:
|
|
1909
|
+
case "KERNEL_LOG_LEVEL_CRIT":
|
|
1910
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT;
|
|
1911
|
+
case 4:
|
|
1912
|
+
case "KERNEL_LOG_LEVEL_ERR":
|
|
1913
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR;
|
|
1914
|
+
case 5:
|
|
1915
|
+
case "KERNEL_LOG_LEVEL_WARNING":
|
|
1916
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING;
|
|
1917
|
+
case 6:
|
|
1918
|
+
case "KERNEL_LOG_LEVEL_NOTICE":
|
|
1919
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE;
|
|
1920
|
+
case 7:
|
|
1921
|
+
case "KERNEL_LOG_LEVEL_INFO":
|
|
1922
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO;
|
|
1923
|
+
case 8:
|
|
1924
|
+
case "KERNEL_LOG_LEVEL_DEBUG":
|
|
1925
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG;
|
|
1926
|
+
case -1:
|
|
1927
|
+
case "UNRECOGNIZED":
|
|
1928
|
+
default:
|
|
1929
|
+
return KernelLogEntry_KernelLogLevel.UNRECOGNIZED;
|
|
1930
|
+
}
|
|
1931
|
+
}
|
|
1932
|
+
function kernelLogEntry_KernelLogLevelToJSON(object) {
|
|
1933
|
+
switch (object) {
|
|
1934
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED:
|
|
1935
|
+
return "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
1936
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG:
|
|
1937
|
+
return "KERNEL_LOG_LEVEL_EMERG";
|
|
1938
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT:
|
|
1939
|
+
return "KERNEL_LOG_LEVEL_ALERT";
|
|
1940
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT:
|
|
1941
|
+
return "KERNEL_LOG_LEVEL_CRIT";
|
|
1942
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR:
|
|
1943
|
+
return "KERNEL_LOG_LEVEL_ERR";
|
|
1944
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING:
|
|
1945
|
+
return "KERNEL_LOG_LEVEL_WARNING";
|
|
1946
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE:
|
|
1947
|
+
return "KERNEL_LOG_LEVEL_NOTICE";
|
|
1948
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO:
|
|
1949
|
+
return "KERNEL_LOG_LEVEL_INFO";
|
|
1950
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG:
|
|
1951
|
+
return "KERNEL_LOG_LEVEL_DEBUG";
|
|
1952
|
+
case KernelLogEntry_KernelLogLevel.UNRECOGNIZED:
|
|
1953
|
+
default:
|
|
1954
|
+
return "UNRECOGNIZED";
|
|
1955
|
+
}
|
|
1956
|
+
}
|
|
1767
1957
|
var PingerConfiguration_MountingDirection;
|
|
1768
1958
|
(function (PingerConfiguration_MountingDirection) {
|
|
1769
1959
|
/** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
|
|
@@ -2142,6 +2332,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2142
2332
|
return "UNRECOGNIZED";
|
|
2143
2333
|
}
|
|
2144
2334
|
}
|
|
2335
|
+
var SurfaceUnitBatteryInfo_ChargeStatus;
|
|
2336
|
+
(function (SurfaceUnitBatteryInfo_ChargeStatus) {
|
|
2337
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_UNSPECIFIED"] = 0] = "CHARGE_STATUS_UNSPECIFIED";
|
|
2338
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_DISCHARGE"] = 1] = "CHARGE_STATUS_DISCHARGE";
|
|
2339
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE"] = 2] = "CHARGE_STATUS_CHARGE";
|
|
2340
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE_ERROR"] = 3] = "CHARGE_STATUS_CHARGE_ERROR";
|
|
2341
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2342
|
+
})(SurfaceUnitBatteryInfo_ChargeStatus || (exports.SurfaceUnitBatteryInfo_ChargeStatus = SurfaceUnitBatteryInfo_ChargeStatus = {}));
|
|
2343
|
+
function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object) {
|
|
2344
|
+
switch (object) {
|
|
2345
|
+
case 0:
|
|
2346
|
+
case "CHARGE_STATUS_UNSPECIFIED":
|
|
2347
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED;
|
|
2348
|
+
case 1:
|
|
2349
|
+
case "CHARGE_STATUS_DISCHARGE":
|
|
2350
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE;
|
|
2351
|
+
case 2:
|
|
2352
|
+
case "CHARGE_STATUS_CHARGE":
|
|
2353
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE;
|
|
2354
|
+
case 3:
|
|
2355
|
+
case "CHARGE_STATUS_CHARGE_ERROR":
|
|
2356
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR;
|
|
2357
|
+
case -1:
|
|
2358
|
+
case "UNRECOGNIZED":
|
|
2359
|
+
default:
|
|
2360
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED;
|
|
2361
|
+
}
|
|
2362
|
+
}
|
|
2363
|
+
function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
|
|
2364
|
+
switch (object) {
|
|
2365
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED:
|
|
2366
|
+
return "CHARGE_STATUS_UNSPECIFIED";
|
|
2367
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE:
|
|
2368
|
+
return "CHARGE_STATUS_DISCHARGE";
|
|
2369
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE:
|
|
2370
|
+
return "CHARGE_STATUS_CHARGE";
|
|
2371
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR:
|
|
2372
|
+
return "CHARGE_STATUS_CHARGE_ERROR";
|
|
2373
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED:
|
|
2374
|
+
default:
|
|
2375
|
+
return "UNRECOGNIZED";
|
|
2376
|
+
}
|
|
2377
|
+
}
|
|
2145
2378
|
function createBaseBinlogRecord() {
|
|
2146
2379
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2147
2380
|
}
|
|
@@ -2370,6 +2603,189 @@ exports.LogEntry = {
|
|
|
2370
2603
|
return message;
|
|
2371
2604
|
},
|
|
2372
2605
|
};
|
|
2606
|
+
function createBaseKernelLogEntry() {
|
|
2607
|
+
return { level: 0, seqnum: 0, timestamp: undefined, messages: [], fields: [] };
|
|
2608
|
+
}
|
|
2609
|
+
exports.KernelLogEntry = {
|
|
2610
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2611
|
+
if (message.level !== 0) {
|
|
2612
|
+
writer.uint32(8).int32(message.level);
|
|
2613
|
+
}
|
|
2614
|
+
if (message.seqnum !== 0) {
|
|
2615
|
+
writer.uint32(16).uint32(message.seqnum);
|
|
2616
|
+
}
|
|
2617
|
+
if (message.timestamp !== undefined) {
|
|
2618
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).join();
|
|
2619
|
+
}
|
|
2620
|
+
for (const v of message.messages) {
|
|
2621
|
+
writer.uint32(34).string(v);
|
|
2622
|
+
}
|
|
2623
|
+
for (const v of message.fields) {
|
|
2624
|
+
exports.KernelLogEntry_KeyValuePair.encode(v, writer.uint32(42).fork()).join();
|
|
2625
|
+
}
|
|
2626
|
+
return writer;
|
|
2627
|
+
},
|
|
2628
|
+
decode(input, length) {
|
|
2629
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2630
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2631
|
+
const message = createBaseKernelLogEntry();
|
|
2632
|
+
while (reader.pos < end) {
|
|
2633
|
+
const tag = reader.uint32();
|
|
2634
|
+
switch (tag >>> 3) {
|
|
2635
|
+
case 1: {
|
|
2636
|
+
if (tag !== 8) {
|
|
2637
|
+
break;
|
|
2638
|
+
}
|
|
2639
|
+
message.level = reader.int32();
|
|
2640
|
+
continue;
|
|
2641
|
+
}
|
|
2642
|
+
case 2: {
|
|
2643
|
+
if (tag !== 16) {
|
|
2644
|
+
break;
|
|
2645
|
+
}
|
|
2646
|
+
message.seqnum = reader.uint32();
|
|
2647
|
+
continue;
|
|
2648
|
+
}
|
|
2649
|
+
case 3: {
|
|
2650
|
+
if (tag !== 26) {
|
|
2651
|
+
break;
|
|
2652
|
+
}
|
|
2653
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2654
|
+
continue;
|
|
2655
|
+
}
|
|
2656
|
+
case 4: {
|
|
2657
|
+
if (tag !== 34) {
|
|
2658
|
+
break;
|
|
2659
|
+
}
|
|
2660
|
+
message.messages.push(reader.string());
|
|
2661
|
+
continue;
|
|
2662
|
+
}
|
|
2663
|
+
case 5: {
|
|
2664
|
+
if (tag !== 42) {
|
|
2665
|
+
break;
|
|
2666
|
+
}
|
|
2667
|
+
message.fields.push(exports.KernelLogEntry_KeyValuePair.decode(reader, reader.uint32()));
|
|
2668
|
+
continue;
|
|
2669
|
+
}
|
|
2670
|
+
}
|
|
2671
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2672
|
+
break;
|
|
2673
|
+
}
|
|
2674
|
+
reader.skip(tag & 7);
|
|
2675
|
+
}
|
|
2676
|
+
return message;
|
|
2677
|
+
},
|
|
2678
|
+
fromJSON(object) {
|
|
2679
|
+
return {
|
|
2680
|
+
level: isSet(object.level) ? kernelLogEntry_KernelLogLevelFromJSON(object.level) : 0,
|
|
2681
|
+
seqnum: isSet(object.seqnum) ? gt.Number(object.seqnum) : 0,
|
|
2682
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2683
|
+
messages: gt.Array.isArray(object?.messages) ? object.messages.map((e) => gt.String(e)) : [],
|
|
2684
|
+
fields: gt.Array.isArray(object?.fields)
|
|
2685
|
+
? object.fields.map((e) => exports.KernelLogEntry_KeyValuePair.fromJSON(e))
|
|
2686
|
+
: [],
|
|
2687
|
+
};
|
|
2688
|
+
},
|
|
2689
|
+
toJSON(message) {
|
|
2690
|
+
const obj = {};
|
|
2691
|
+
if (message.level !== 0) {
|
|
2692
|
+
obj.level = kernelLogEntry_KernelLogLevelToJSON(message.level);
|
|
2693
|
+
}
|
|
2694
|
+
if (message.seqnum !== 0) {
|
|
2695
|
+
obj.seqnum = Math.round(message.seqnum);
|
|
2696
|
+
}
|
|
2697
|
+
if (message.timestamp !== undefined) {
|
|
2698
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2699
|
+
}
|
|
2700
|
+
if (message.messages?.length) {
|
|
2701
|
+
obj.messages = message.messages;
|
|
2702
|
+
}
|
|
2703
|
+
if (message.fields?.length) {
|
|
2704
|
+
obj.fields = message.fields.map((e) => exports.KernelLogEntry_KeyValuePair.toJSON(e));
|
|
2705
|
+
}
|
|
2706
|
+
return obj;
|
|
2707
|
+
},
|
|
2708
|
+
create(base) {
|
|
2709
|
+
return exports.KernelLogEntry.fromPartial(base ?? {});
|
|
2710
|
+
},
|
|
2711
|
+
fromPartial(object) {
|
|
2712
|
+
const message = createBaseKernelLogEntry();
|
|
2713
|
+
message.level = object.level ?? 0;
|
|
2714
|
+
message.seqnum = object.seqnum ?? 0;
|
|
2715
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2716
|
+
message.messages = object.messages?.map((e) => e) || [];
|
|
2717
|
+
message.fields = object.fields?.map((e) => exports.KernelLogEntry_KeyValuePair.fromPartial(e)) || [];
|
|
2718
|
+
return message;
|
|
2719
|
+
},
|
|
2720
|
+
};
|
|
2721
|
+
function createBaseKernelLogEntry_KeyValuePair() {
|
|
2722
|
+
return { key: "", value: "" };
|
|
2723
|
+
}
|
|
2724
|
+
exports.KernelLogEntry_KeyValuePair = {
|
|
2725
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2726
|
+
if (message.key !== "") {
|
|
2727
|
+
writer.uint32(10).string(message.key);
|
|
2728
|
+
}
|
|
2729
|
+
if (message.value !== "") {
|
|
2730
|
+
writer.uint32(18).string(message.value);
|
|
2731
|
+
}
|
|
2732
|
+
return writer;
|
|
2733
|
+
},
|
|
2734
|
+
decode(input, length) {
|
|
2735
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2736
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2737
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2738
|
+
while (reader.pos < end) {
|
|
2739
|
+
const tag = reader.uint32();
|
|
2740
|
+
switch (tag >>> 3) {
|
|
2741
|
+
case 1: {
|
|
2742
|
+
if (tag !== 10) {
|
|
2743
|
+
break;
|
|
2744
|
+
}
|
|
2745
|
+
message.key = reader.string();
|
|
2746
|
+
continue;
|
|
2747
|
+
}
|
|
2748
|
+
case 2: {
|
|
2749
|
+
if (tag !== 18) {
|
|
2750
|
+
break;
|
|
2751
|
+
}
|
|
2752
|
+
message.value = reader.string();
|
|
2753
|
+
continue;
|
|
2754
|
+
}
|
|
2755
|
+
}
|
|
2756
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2757
|
+
break;
|
|
2758
|
+
}
|
|
2759
|
+
reader.skip(tag & 7);
|
|
2760
|
+
}
|
|
2761
|
+
return message;
|
|
2762
|
+
},
|
|
2763
|
+
fromJSON(object) {
|
|
2764
|
+
return {
|
|
2765
|
+
key: isSet(object.key) ? gt.String(object.key) : "",
|
|
2766
|
+
value: isSet(object.value) ? gt.String(object.value) : "",
|
|
2767
|
+
};
|
|
2768
|
+
},
|
|
2769
|
+
toJSON(message) {
|
|
2770
|
+
const obj = {};
|
|
2771
|
+
if (message.key !== "") {
|
|
2772
|
+
obj.key = message.key;
|
|
2773
|
+
}
|
|
2774
|
+
if (message.value !== "") {
|
|
2775
|
+
obj.value = message.value;
|
|
2776
|
+
}
|
|
2777
|
+
return obj;
|
|
2778
|
+
},
|
|
2779
|
+
create(base) {
|
|
2780
|
+
return exports.KernelLogEntry_KeyValuePair.fromPartial(base ?? {});
|
|
2781
|
+
},
|
|
2782
|
+
fromPartial(object) {
|
|
2783
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2784
|
+
message.key = object.key ?? "";
|
|
2785
|
+
message.value = object.value ?? "";
|
|
2786
|
+
return message;
|
|
2787
|
+
},
|
|
2788
|
+
};
|
|
2373
2789
|
function createBaseMotionInput() {
|
|
2374
2790
|
return { surge: 0, sway: 0, heave: 0, roll: 0, pitch: 0, yaw: 0, slow: 0, boost: 0 };
|
|
2375
2791
|
}
|
|
@@ -3651,6 +4067,7 @@ function createBaseRecordState() {
|
|
|
3651
4067
|
multibeamIsRecording: false,
|
|
3652
4068
|
multibeamSeconds: 0,
|
|
3653
4069
|
multibeamFps: 0,
|
|
4070
|
+
storageLocation: 0,
|
|
3654
4071
|
};
|
|
3655
4072
|
}
|
|
3656
4073
|
exports.RecordState = {
|
|
@@ -3682,6 +4099,9 @@ exports.RecordState = {
|
|
|
3682
4099
|
if (message.multibeamFps !== 0) {
|
|
3683
4100
|
writer.uint32(77).float(message.multibeamFps);
|
|
3684
4101
|
}
|
|
4102
|
+
if (message.storageLocation !== 0) {
|
|
4103
|
+
writer.uint32(80).int32(message.storageLocation);
|
|
4104
|
+
}
|
|
3685
4105
|
return writer;
|
|
3686
4106
|
},
|
|
3687
4107
|
decode(input, length) {
|
|
@@ -3754,6 +4174,13 @@ exports.RecordState = {
|
|
|
3754
4174
|
message.multibeamFps = reader.float();
|
|
3755
4175
|
continue;
|
|
3756
4176
|
}
|
|
4177
|
+
case 10: {
|
|
4178
|
+
if (tag !== 80) {
|
|
4179
|
+
break;
|
|
4180
|
+
}
|
|
4181
|
+
message.storageLocation = reader.int32();
|
|
4182
|
+
continue;
|
|
4183
|
+
}
|
|
3757
4184
|
}
|
|
3758
4185
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3759
4186
|
break;
|
|
@@ -3773,6 +4200,7 @@ exports.RecordState = {
|
|
|
3773
4200
|
multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
|
|
3774
4201
|
multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
|
|
3775
4202
|
multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
|
|
4203
|
+
storageLocation: isSet(object.storageLocation) ? storageLocationFromJSON(object.storageLocation) : 0,
|
|
3776
4204
|
};
|
|
3777
4205
|
},
|
|
3778
4206
|
toJSON(message) {
|
|
@@ -3804,6 +4232,9 @@ exports.RecordState = {
|
|
|
3804
4232
|
if (message.multibeamFps !== 0) {
|
|
3805
4233
|
obj.multibeamFps = message.multibeamFps;
|
|
3806
4234
|
}
|
|
4235
|
+
if (message.storageLocation !== 0) {
|
|
4236
|
+
obj.storageLocation = storageLocationToJSON(message.storageLocation);
|
|
4237
|
+
}
|
|
3807
4238
|
return obj;
|
|
3808
4239
|
},
|
|
3809
4240
|
create(base) {
|
|
@@ -3820,6 +4251,7 @@ exports.RecordState = {
|
|
|
3820
4251
|
message.multibeamIsRecording = object.multibeamIsRecording ?? false;
|
|
3821
4252
|
message.multibeamSeconds = object.multibeamSeconds ?? 0;
|
|
3822
4253
|
message.multibeamFps = object.multibeamFps ?? 0;
|
|
4254
|
+
message.storageLocation = object.storageLocation ?? 0;
|
|
3823
4255
|
return message;
|
|
3824
4256
|
},
|
|
3825
4257
|
};
|
|
@@ -7727,7 +8159,7 @@ exports.StorageSpace = {
|
|
|
7727
8159
|
},
|
|
7728
8160
|
};
|
|
7729
8161
|
function createBaseStoragePartition() {
|
|
7730
|
-
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "" };
|
|
8162
|
+
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "", label: "" };
|
|
7731
8163
|
}
|
|
7732
8164
|
exports.StoragePartition = {
|
|
7733
8165
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -7743,6 +8175,9 @@ exports.StoragePartition = {
|
|
|
7743
8175
|
if (message.mountPath !== "") {
|
|
7744
8176
|
writer.uint32(34).string(message.mountPath);
|
|
7745
8177
|
}
|
|
8178
|
+
if (message.label !== "") {
|
|
8179
|
+
writer.uint32(42).string(message.label);
|
|
8180
|
+
}
|
|
7746
8181
|
return writer;
|
|
7747
8182
|
},
|
|
7748
8183
|
decode(input, length) {
|
|
@@ -7780,6 +8215,13 @@ exports.StoragePartition = {
|
|
|
7780
8215
|
message.mountPath = reader.string();
|
|
7781
8216
|
continue;
|
|
7782
8217
|
}
|
|
8218
|
+
case 5: {
|
|
8219
|
+
if (tag !== 42) {
|
|
8220
|
+
break;
|
|
8221
|
+
}
|
|
8222
|
+
message.label = reader.string();
|
|
8223
|
+
continue;
|
|
8224
|
+
}
|
|
7783
8225
|
}
|
|
7784
8226
|
if ((tag & 7) === 4 || tag === 0) {
|
|
7785
8227
|
break;
|
|
@@ -7794,6 +8236,7 @@ exports.StoragePartition = {
|
|
|
7794
8236
|
fileSystemType: isSet(object.fileSystemType) ? gt.String(object.fileSystemType) : "",
|
|
7795
8237
|
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
7796
8238
|
mountPath: isSet(object.mountPath) ? gt.String(object.mountPath) : "",
|
|
8239
|
+
label: isSet(object.label) ? gt.String(object.label) : "",
|
|
7797
8240
|
};
|
|
7798
8241
|
},
|
|
7799
8242
|
toJSON(message) {
|
|
@@ -7810,6 +8253,9 @@ exports.StoragePartition = {
|
|
|
7810
8253
|
if (message.mountPath !== "") {
|
|
7811
8254
|
obj.mountPath = message.mountPath;
|
|
7812
8255
|
}
|
|
8256
|
+
if (message.label !== "") {
|
|
8257
|
+
obj.label = message.label;
|
|
8258
|
+
}
|
|
7813
8259
|
return obj;
|
|
7814
8260
|
},
|
|
7815
8261
|
create(base) {
|
|
@@ -7823,6 +8269,7 @@ exports.StoragePartition = {
|
|
|
7823
8269
|
message.fileSystemType = object.fileSystemType ?? "";
|
|
7824
8270
|
message.devicePath = object.devicePath ?? "";
|
|
7825
8271
|
message.mountPath = object.mountPath ?? "";
|
|
8272
|
+
message.label = object.label ?? "";
|
|
7826
8273
|
return message;
|
|
7827
8274
|
},
|
|
7828
8275
|
};
|
|
@@ -9520,9 +9967,20 @@ function createBaseCameraParameters() {
|
|
|
9520
9967
|
whiteBalance: 0,
|
|
9521
9968
|
hue: 0,
|
|
9522
9969
|
gain: 0,
|
|
9970
|
+
brightness: 0,
|
|
9971
|
+
contrast: 0,
|
|
9972
|
+
saturation: 0,
|
|
9973
|
+
gamma: 0,
|
|
9974
|
+
sharpness: 0,
|
|
9975
|
+
backlightCompensation: 0,
|
|
9976
|
+
denoise: 0,
|
|
9977
|
+
ehdrEnabled: false,
|
|
9978
|
+
ehdrExposureMinNumber: 0,
|
|
9979
|
+
ehdrExposureMaxNumber: 0,
|
|
9523
9980
|
resolution: 0,
|
|
9524
9981
|
streamResolution: 0,
|
|
9525
9982
|
recordingResolution: 0,
|
|
9983
|
+
streamingProtocol: 0,
|
|
9526
9984
|
framerate: 0,
|
|
9527
9985
|
camera: 0,
|
|
9528
9986
|
};
|
|
@@ -9547,6 +10005,36 @@ exports.CameraParameters = {
|
|
|
9547
10005
|
if (message.gain !== 0) {
|
|
9548
10006
|
writer.uint32(77).float(message.gain);
|
|
9549
10007
|
}
|
|
10008
|
+
if (message.brightness !== 0) {
|
|
10009
|
+
writer.uint32(96).int32(message.brightness);
|
|
10010
|
+
}
|
|
10011
|
+
if (message.contrast !== 0) {
|
|
10012
|
+
writer.uint32(104).int32(message.contrast);
|
|
10013
|
+
}
|
|
10014
|
+
if (message.saturation !== 0) {
|
|
10015
|
+
writer.uint32(112).int32(message.saturation);
|
|
10016
|
+
}
|
|
10017
|
+
if (message.gamma !== 0) {
|
|
10018
|
+
writer.uint32(120).int32(message.gamma);
|
|
10019
|
+
}
|
|
10020
|
+
if (message.sharpness !== 0) {
|
|
10021
|
+
writer.uint32(128).int32(message.sharpness);
|
|
10022
|
+
}
|
|
10023
|
+
if (message.backlightCompensation !== 0) {
|
|
10024
|
+
writer.uint32(136).int32(message.backlightCompensation);
|
|
10025
|
+
}
|
|
10026
|
+
if (message.denoise !== 0) {
|
|
10027
|
+
writer.uint32(144).int32(message.denoise);
|
|
10028
|
+
}
|
|
10029
|
+
if (message.ehdrEnabled !== false) {
|
|
10030
|
+
writer.uint32(168).bool(message.ehdrEnabled);
|
|
10031
|
+
}
|
|
10032
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10033
|
+
writer.uint32(176).int32(message.ehdrExposureMinNumber);
|
|
10034
|
+
}
|
|
10035
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10036
|
+
writer.uint32(184).int32(message.ehdrExposureMaxNumber);
|
|
10037
|
+
}
|
|
9550
10038
|
if (message.resolution !== 0) {
|
|
9551
10039
|
writer.uint32(48).int32(message.resolution);
|
|
9552
10040
|
}
|
|
@@ -9556,6 +10044,9 @@ exports.CameraParameters = {
|
|
|
9556
10044
|
if (message.recordingResolution !== 0) {
|
|
9557
10045
|
writer.uint32(88).int32(message.recordingResolution);
|
|
9558
10046
|
}
|
|
10047
|
+
if (message.streamingProtocol !== 0) {
|
|
10048
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
10049
|
+
}
|
|
9559
10050
|
if (message.framerate !== 0) {
|
|
9560
10051
|
writer.uint32(56).int32(message.framerate);
|
|
9561
10052
|
}
|
|
@@ -9613,6 +10104,76 @@ exports.CameraParameters = {
|
|
|
9613
10104
|
message.gain = reader.float();
|
|
9614
10105
|
continue;
|
|
9615
10106
|
}
|
|
10107
|
+
case 12: {
|
|
10108
|
+
if (tag !== 96) {
|
|
10109
|
+
break;
|
|
10110
|
+
}
|
|
10111
|
+
message.brightness = reader.int32();
|
|
10112
|
+
continue;
|
|
10113
|
+
}
|
|
10114
|
+
case 13: {
|
|
10115
|
+
if (tag !== 104) {
|
|
10116
|
+
break;
|
|
10117
|
+
}
|
|
10118
|
+
message.contrast = reader.int32();
|
|
10119
|
+
continue;
|
|
10120
|
+
}
|
|
10121
|
+
case 14: {
|
|
10122
|
+
if (tag !== 112) {
|
|
10123
|
+
break;
|
|
10124
|
+
}
|
|
10125
|
+
message.saturation = reader.int32();
|
|
10126
|
+
continue;
|
|
10127
|
+
}
|
|
10128
|
+
case 15: {
|
|
10129
|
+
if (tag !== 120) {
|
|
10130
|
+
break;
|
|
10131
|
+
}
|
|
10132
|
+
message.gamma = reader.int32();
|
|
10133
|
+
continue;
|
|
10134
|
+
}
|
|
10135
|
+
case 16: {
|
|
10136
|
+
if (tag !== 128) {
|
|
10137
|
+
break;
|
|
10138
|
+
}
|
|
10139
|
+
message.sharpness = reader.int32();
|
|
10140
|
+
continue;
|
|
10141
|
+
}
|
|
10142
|
+
case 17: {
|
|
10143
|
+
if (tag !== 136) {
|
|
10144
|
+
break;
|
|
10145
|
+
}
|
|
10146
|
+
message.backlightCompensation = reader.int32();
|
|
10147
|
+
continue;
|
|
10148
|
+
}
|
|
10149
|
+
case 18: {
|
|
10150
|
+
if (tag !== 144) {
|
|
10151
|
+
break;
|
|
10152
|
+
}
|
|
10153
|
+
message.denoise = reader.int32();
|
|
10154
|
+
continue;
|
|
10155
|
+
}
|
|
10156
|
+
case 21: {
|
|
10157
|
+
if (tag !== 168) {
|
|
10158
|
+
break;
|
|
10159
|
+
}
|
|
10160
|
+
message.ehdrEnabled = reader.bool();
|
|
10161
|
+
continue;
|
|
10162
|
+
}
|
|
10163
|
+
case 22: {
|
|
10164
|
+
if (tag !== 176) {
|
|
10165
|
+
break;
|
|
10166
|
+
}
|
|
10167
|
+
message.ehdrExposureMinNumber = reader.int32();
|
|
10168
|
+
continue;
|
|
10169
|
+
}
|
|
10170
|
+
case 23: {
|
|
10171
|
+
if (tag !== 184) {
|
|
10172
|
+
break;
|
|
10173
|
+
}
|
|
10174
|
+
message.ehdrExposureMaxNumber = reader.int32();
|
|
10175
|
+
continue;
|
|
10176
|
+
}
|
|
9616
10177
|
case 6: {
|
|
9617
10178
|
if (tag !== 48) {
|
|
9618
10179
|
break;
|
|
@@ -9634,6 +10195,13 @@ exports.CameraParameters = {
|
|
|
9634
10195
|
message.recordingResolution = reader.int32();
|
|
9635
10196
|
continue;
|
|
9636
10197
|
}
|
|
10198
|
+
case 20: {
|
|
10199
|
+
if (tag !== 160) {
|
|
10200
|
+
break;
|
|
10201
|
+
}
|
|
10202
|
+
message.streamingProtocol = reader.int32();
|
|
10203
|
+
continue;
|
|
10204
|
+
}
|
|
9637
10205
|
case 7: {
|
|
9638
10206
|
if (tag !== 56) {
|
|
9639
10207
|
break;
|
|
@@ -9664,9 +10232,20 @@ exports.CameraParameters = {
|
|
|
9664
10232
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9665
10233
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9666
10234
|
gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
|
|
10235
|
+
brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
|
|
10236
|
+
contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
|
|
10237
|
+
saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
|
|
10238
|
+
gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
|
|
10239
|
+
sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
|
|
10240
|
+
backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
|
|
10241
|
+
denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
|
|
10242
|
+
ehdrEnabled: isSet(object.ehdrEnabled) ? gt.Boolean(object.ehdrEnabled) : false,
|
|
10243
|
+
ehdrExposureMinNumber: isSet(object.ehdrExposureMinNumber) ? gt.Number(object.ehdrExposureMinNumber) : 0,
|
|
10244
|
+
ehdrExposureMaxNumber: isSet(object.ehdrExposureMaxNumber) ? gt.Number(object.ehdrExposureMaxNumber) : 0,
|
|
9667
10245
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9668
10246
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9669
10247
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
10248
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9670
10249
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9671
10250
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
9672
10251
|
};
|
|
@@ -9691,6 +10270,36 @@ exports.CameraParameters = {
|
|
|
9691
10270
|
if (message.gain !== 0) {
|
|
9692
10271
|
obj.gain = message.gain;
|
|
9693
10272
|
}
|
|
10273
|
+
if (message.brightness !== 0) {
|
|
10274
|
+
obj.brightness = Math.round(message.brightness);
|
|
10275
|
+
}
|
|
10276
|
+
if (message.contrast !== 0) {
|
|
10277
|
+
obj.contrast = Math.round(message.contrast);
|
|
10278
|
+
}
|
|
10279
|
+
if (message.saturation !== 0) {
|
|
10280
|
+
obj.saturation = Math.round(message.saturation);
|
|
10281
|
+
}
|
|
10282
|
+
if (message.gamma !== 0) {
|
|
10283
|
+
obj.gamma = Math.round(message.gamma);
|
|
10284
|
+
}
|
|
10285
|
+
if (message.sharpness !== 0) {
|
|
10286
|
+
obj.sharpness = Math.round(message.sharpness);
|
|
10287
|
+
}
|
|
10288
|
+
if (message.backlightCompensation !== 0) {
|
|
10289
|
+
obj.backlightCompensation = Math.round(message.backlightCompensation);
|
|
10290
|
+
}
|
|
10291
|
+
if (message.denoise !== 0) {
|
|
10292
|
+
obj.denoise = Math.round(message.denoise);
|
|
10293
|
+
}
|
|
10294
|
+
if (message.ehdrEnabled !== false) {
|
|
10295
|
+
obj.ehdrEnabled = message.ehdrEnabled;
|
|
10296
|
+
}
|
|
10297
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10298
|
+
obj.ehdrExposureMinNumber = Math.round(message.ehdrExposureMinNumber);
|
|
10299
|
+
}
|
|
10300
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10301
|
+
obj.ehdrExposureMaxNumber = Math.round(message.ehdrExposureMaxNumber);
|
|
10302
|
+
}
|
|
9694
10303
|
if (message.resolution !== 0) {
|
|
9695
10304
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9696
10305
|
}
|
|
@@ -9700,6 +10309,9 @@ exports.CameraParameters = {
|
|
|
9700
10309
|
if (message.recordingResolution !== 0) {
|
|
9701
10310
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9702
10311
|
}
|
|
10312
|
+
if (message.streamingProtocol !== 0) {
|
|
10313
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
10314
|
+
}
|
|
9703
10315
|
if (message.framerate !== 0) {
|
|
9704
10316
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9705
10317
|
}
|
|
@@ -9719,9 +10331,20 @@ exports.CameraParameters = {
|
|
|
9719
10331
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9720
10332
|
message.hue = object.hue ?? 0;
|
|
9721
10333
|
message.gain = object.gain ?? 0;
|
|
10334
|
+
message.brightness = object.brightness ?? 0;
|
|
10335
|
+
message.contrast = object.contrast ?? 0;
|
|
10336
|
+
message.saturation = object.saturation ?? 0;
|
|
10337
|
+
message.gamma = object.gamma ?? 0;
|
|
10338
|
+
message.sharpness = object.sharpness ?? 0;
|
|
10339
|
+
message.backlightCompensation = object.backlightCompensation ?? 0;
|
|
10340
|
+
message.denoise = object.denoise ?? 0;
|
|
10341
|
+
message.ehdrEnabled = object.ehdrEnabled ?? false;
|
|
10342
|
+
message.ehdrExposureMinNumber = object.ehdrExposureMinNumber ?? 0;
|
|
10343
|
+
message.ehdrExposureMaxNumber = object.ehdrExposureMaxNumber ?? 0;
|
|
9722
10344
|
message.resolution = object.resolution ?? 0;
|
|
9723
10345
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9724
10346
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
10347
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9725
10348
|
message.framerate = object.framerate ?? 0;
|
|
9726
10349
|
message.camera = object.camera ?? 0;
|
|
9727
10350
|
return message;
|
|
@@ -12467,7 +13090,7 @@ exports.PersistentStorageSettings = {
|
|
|
12467
13090
|
},
|
|
12468
13091
|
};
|
|
12469
13092
|
function createBaseCPUInfo() {
|
|
12470
|
-
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
|
|
13093
|
+
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
|
|
12471
13094
|
}
|
|
12472
13095
|
exports.CPUInfo = {
|
|
12473
13096
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -12483,6 +13106,9 @@ exports.CPUInfo = {
|
|
|
12483
13106
|
if (message.guestportQueueLoad !== 0) {
|
|
12484
13107
|
writer.uint32(37).float(message.guestportQueueLoad);
|
|
12485
13108
|
}
|
|
13109
|
+
if (message.commQueueLoad !== 0) {
|
|
13110
|
+
writer.uint32(45).float(message.commQueueLoad);
|
|
13111
|
+
}
|
|
12486
13112
|
return writer;
|
|
12487
13113
|
},
|
|
12488
13114
|
decode(input, length) {
|
|
@@ -12520,6 +13146,13 @@ exports.CPUInfo = {
|
|
|
12520
13146
|
message.guestportQueueLoad = reader.float();
|
|
12521
13147
|
continue;
|
|
12522
13148
|
}
|
|
13149
|
+
case 5: {
|
|
13150
|
+
if (tag !== 45) {
|
|
13151
|
+
break;
|
|
13152
|
+
}
|
|
13153
|
+
message.commQueueLoad = reader.float();
|
|
13154
|
+
continue;
|
|
13155
|
+
}
|
|
12523
13156
|
}
|
|
12524
13157
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12525
13158
|
break;
|
|
@@ -12534,6 +13167,7 @@ exports.CPUInfo = {
|
|
|
12534
13167
|
memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
|
|
12535
13168
|
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
12536
13169
|
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
13170
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
12537
13171
|
};
|
|
12538
13172
|
},
|
|
12539
13173
|
toJSON(message) {
|
|
@@ -12550,6 +13184,9 @@ exports.CPUInfo = {
|
|
|
12550
13184
|
if (message.guestportQueueLoad !== 0) {
|
|
12551
13185
|
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
12552
13186
|
}
|
|
13187
|
+
if (message.commQueueLoad !== 0) {
|
|
13188
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
13189
|
+
}
|
|
12553
13190
|
return obj;
|
|
12554
13191
|
},
|
|
12555
13192
|
create(base) {
|
|
@@ -12561,6 +13198,126 @@ exports.CPUInfo = {
|
|
|
12561
13198
|
message.memoryBusLoad = object.memoryBusLoad ?? 0;
|
|
12562
13199
|
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
12563
13200
|
message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
|
|
13201
|
+
message.commQueueLoad = object.commQueueLoad ?? 0;
|
|
13202
|
+
return message;
|
|
13203
|
+
},
|
|
13204
|
+
};
|
|
13205
|
+
function createBaseSurfaceUnitBatteryInfo() {
|
|
13206
|
+
return { status: 0, level: 0 };
|
|
13207
|
+
}
|
|
13208
|
+
exports.SurfaceUnitBatteryInfo = {
|
|
13209
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13210
|
+
if (message.status !== 0) {
|
|
13211
|
+
writer.uint32(8).int32(message.status);
|
|
13212
|
+
}
|
|
13213
|
+
if (message.level !== 0) {
|
|
13214
|
+
writer.uint32(21).float(message.level);
|
|
13215
|
+
}
|
|
13216
|
+
return writer;
|
|
13217
|
+
},
|
|
13218
|
+
decode(input, length) {
|
|
13219
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13220
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13221
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13222
|
+
while (reader.pos < end) {
|
|
13223
|
+
const tag = reader.uint32();
|
|
13224
|
+
switch (tag >>> 3) {
|
|
13225
|
+
case 1: {
|
|
13226
|
+
if (tag !== 8) {
|
|
13227
|
+
break;
|
|
13228
|
+
}
|
|
13229
|
+
message.status = reader.int32();
|
|
13230
|
+
continue;
|
|
13231
|
+
}
|
|
13232
|
+
case 2: {
|
|
13233
|
+
if (tag !== 21) {
|
|
13234
|
+
break;
|
|
13235
|
+
}
|
|
13236
|
+
message.level = reader.float();
|
|
13237
|
+
continue;
|
|
13238
|
+
}
|
|
13239
|
+
}
|
|
13240
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13241
|
+
break;
|
|
13242
|
+
}
|
|
13243
|
+
reader.skip(tag & 7);
|
|
13244
|
+
}
|
|
13245
|
+
return message;
|
|
13246
|
+
},
|
|
13247
|
+
fromJSON(object) {
|
|
13248
|
+
return {
|
|
13249
|
+
status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
|
|
13250
|
+
level: isSet(object.level) ? gt.Number(object.level) : 0,
|
|
13251
|
+
};
|
|
13252
|
+
},
|
|
13253
|
+
toJSON(message) {
|
|
13254
|
+
const obj = {};
|
|
13255
|
+
if (message.status !== 0) {
|
|
13256
|
+
obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
|
|
13257
|
+
}
|
|
13258
|
+
if (message.level !== 0) {
|
|
13259
|
+
obj.level = message.level;
|
|
13260
|
+
}
|
|
13261
|
+
return obj;
|
|
13262
|
+
},
|
|
13263
|
+
create(base) {
|
|
13264
|
+
return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
|
|
13265
|
+
},
|
|
13266
|
+
fromPartial(object) {
|
|
13267
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13268
|
+
message.status = object.status ?? 0;
|
|
13269
|
+
message.level = object.level ?? 0;
|
|
13270
|
+
return message;
|
|
13271
|
+
},
|
|
13272
|
+
};
|
|
13273
|
+
function createBaseSurfaceUnitVersionInfo() {
|
|
13274
|
+
return { version: "" };
|
|
13275
|
+
}
|
|
13276
|
+
exports.SurfaceUnitVersionInfo = {
|
|
13277
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13278
|
+
if (message.version !== "") {
|
|
13279
|
+
writer.uint32(10).string(message.version);
|
|
13280
|
+
}
|
|
13281
|
+
return writer;
|
|
13282
|
+
},
|
|
13283
|
+
decode(input, length) {
|
|
13284
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13285
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13286
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13287
|
+
while (reader.pos < end) {
|
|
13288
|
+
const tag = reader.uint32();
|
|
13289
|
+
switch (tag >>> 3) {
|
|
13290
|
+
case 1: {
|
|
13291
|
+
if (tag !== 10) {
|
|
13292
|
+
break;
|
|
13293
|
+
}
|
|
13294
|
+
message.version = reader.string();
|
|
13295
|
+
continue;
|
|
13296
|
+
}
|
|
13297
|
+
}
|
|
13298
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13299
|
+
break;
|
|
13300
|
+
}
|
|
13301
|
+
reader.skip(tag & 7);
|
|
13302
|
+
}
|
|
13303
|
+
return message;
|
|
13304
|
+
},
|
|
13305
|
+
fromJSON(object) {
|
|
13306
|
+
return { version: isSet(object.version) ? gt.String(object.version) : "" };
|
|
13307
|
+
},
|
|
13308
|
+
toJSON(message) {
|
|
13309
|
+
const obj = {};
|
|
13310
|
+
if (message.version !== "") {
|
|
13311
|
+
obj.version = message.version;
|
|
13312
|
+
}
|
|
13313
|
+
return obj;
|
|
13314
|
+
},
|
|
13315
|
+
create(base) {
|
|
13316
|
+
return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
|
|
13317
|
+
},
|
|
13318
|
+
fromPartial(object) {
|
|
13319
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13320
|
+
message.version = object.version ?? "";
|
|
12564
13321
|
return message;
|
|
12565
13322
|
},
|
|
12566
13323
|
};
|