@blueyerobotics/protocol-definitions 3.2.0-5739a6ac → 3.2.0-68355164
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 +189 -9
- package/dist/message_formats.js +1028 -51
- package/dist/mission_planning.js +1 -1
- package/dist/req_rep.js +1 -1
- 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 = void 0;
|
|
8
|
+
exports.AutoPilotHeaveState = exports.AutoPilotSurgeYawState = exports.WeatherVaningState = exports.StationKeepingState = exports.AutoAltitudeState = exports.AutoDepthState = exports.AutoHeadingState = exports.ConnectionDuration = exports.LatLongPosition = exports.Laser = exports.Lights = exports.MotionInput = exports.KernelLogEntry_KeyValuePair = exports.KernelLogEntry = exports.LogEntry = exports.BinlogRecord = exports.SurfaceUnitBatteryInfo_ChargeStatus = exports.MultibeamConfig_MaximumNumberOfBeams = exports.MultibeamConfig_PingRate = exports.CalibrationState_Status = exports.RemovableStorageDevice_Status = exports.BatteryBQ40Z50_BatteryStatus_BatteryError = exports.PingerConfiguration_MountingDirection = exports.KernelLogEntry_KernelLogLevel = exports.LogEntry_LogLevel = exports.MultibeamFrequencyMode = exports.GuestPortError = exports.GuestPortDetachStatus = exports.NavigationSensorID = exports.GuestPortNumber = exports.GuestPortDeviceID = exports.FontSize = exports.ThicknessUnit = exports.DepthUnit = exports.LogoType = exports.TemperatureUnit = exports.StreamingProtocol = exports.Camera = exports.Framerate = exports.Resolution = exports.PressureSensorType = exports.Model = exports.StorageLocation = exports.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
|
|
9
|
+
exports.CameraParameters = exports.ErrorFlags = exports.DroneInfo = exports.TiltVelocity = exports.TiltAngle = exports.NStreamers = exports.IperfStatus = exports.CalibrationState = exports.RemovableStorageErrorFlags = exports.RemovableStorageDevice = exports.StoragePartition = exports.StorageSpace = exports.RecordOn = exports.DiveTime = exports.ControllerHealth = exports.ControlForce = exports.Notification = exports.Reference = exports.Depth = exports.DvlVelocity = exports.DvlTransducer = exports.ResetPositionSettings = exports.PositionEstimate = exports.ForwardDistance = exports.Altitude = exports.MagneticDeclination = exports.Attitude = exports.BatteryBQ40Z50_BatteryChargingEvents = exports.BatteryBQ40Z50_BatterySafetyEvents = exports.BatteryBQ40Z50_BatteryLifetimes_CellVoltages = exports.BatteryBQ40Z50_BatteryLifetimes = exports.BatteryBQ40Z50_BatteryStatus = exports.BatteryBQ40Z50_Temperature = exports.BatteryBQ40Z50_Voltage = exports.BatteryBQ40Z50 = exports.Battery = exports.CanisterHumidity = exports.CanisterTemperature = exports.CPUTemperature = exports.WaterTemperature = exports.PingerConfiguration = exports.WaterDensity = exports.TimeLapseState = exports.RecordState = exports.ConnectedClient = exports.ClientInfo = exports.GripperVelocities = exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = void 0;
|
|
10
|
+
exports.SurfaceUnitVersionInfo = exports.SurfaceUnitBatteryInfo = exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = exports.GuestPortInfo = exports.GuestPortConnectorInfo = exports.GuestPortDeviceList = exports.GuestPortDevice = exports.NavigationSensorStatus = exports.OverlayParameters = void 0;
|
|
11
11
|
exports.intervalTypeFromJSON = intervalTypeFromJSON;
|
|
12
12
|
exports.intervalTypeToJSON = intervalTypeToJSON;
|
|
13
13
|
exports.locationSourceFromJSON = locationSourceFromJSON;
|
|
@@ -22,6 +22,8 @@ exports.notificationTypeFromJSON = notificationTypeFromJSON;
|
|
|
22
22
|
exports.notificationTypeToJSON = notificationTypeToJSON;
|
|
23
23
|
exports.notificationLevelFromJSON = notificationLevelFromJSON;
|
|
24
24
|
exports.notificationLevelToJSON = notificationLevelToJSON;
|
|
25
|
+
exports.storageLocationFromJSON = storageLocationFromJSON;
|
|
26
|
+
exports.storageLocationToJSON = storageLocationToJSON;
|
|
25
27
|
exports.modelFromJSON = modelFromJSON;
|
|
26
28
|
exports.modelToJSON = modelToJSON;
|
|
27
29
|
exports.pressureSensorTypeFromJSON = pressureSensorTypeFromJSON;
|
|
@@ -32,6 +34,8 @@ exports.framerateFromJSON = framerateFromJSON;
|
|
|
32
34
|
exports.framerateToJSON = framerateToJSON;
|
|
33
35
|
exports.cameraFromJSON = cameraFromJSON;
|
|
34
36
|
exports.cameraToJSON = cameraToJSON;
|
|
37
|
+
exports.streamingProtocolFromJSON = streamingProtocolFromJSON;
|
|
38
|
+
exports.streamingProtocolToJSON = streamingProtocolToJSON;
|
|
35
39
|
exports.temperatureUnitFromJSON = temperatureUnitFromJSON;
|
|
36
40
|
exports.temperatureUnitToJSON = temperatureUnitToJSON;
|
|
37
41
|
exports.logoTypeFromJSON = logoTypeFromJSON;
|
|
@@ -54,6 +58,10 @@ exports.guestPortErrorFromJSON = guestPortErrorFromJSON;
|
|
|
54
58
|
exports.guestPortErrorToJSON = guestPortErrorToJSON;
|
|
55
59
|
exports.multibeamFrequencyModeFromJSON = multibeamFrequencyModeFromJSON;
|
|
56
60
|
exports.multibeamFrequencyModeToJSON = multibeamFrequencyModeToJSON;
|
|
61
|
+
exports.logEntry_LogLevelFromJSON = logEntry_LogLevelFromJSON;
|
|
62
|
+
exports.logEntry_LogLevelToJSON = logEntry_LogLevelToJSON;
|
|
63
|
+
exports.kernelLogEntry_KernelLogLevelFromJSON = kernelLogEntry_KernelLogLevelFromJSON;
|
|
64
|
+
exports.kernelLogEntry_KernelLogLevelToJSON = kernelLogEntry_KernelLogLevelToJSON;
|
|
57
65
|
exports.pingerConfiguration_MountingDirectionFromJSON = pingerConfiguration_MountingDirectionFromJSON;
|
|
58
66
|
exports.pingerConfiguration_MountingDirectionToJSON = pingerConfiguration_MountingDirectionToJSON;
|
|
59
67
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON;
|
|
@@ -66,6 +74,8 @@ 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,10 @@ 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";
|
|
1177
1283
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1178
1284
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1179
1285
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1313,6 +1419,12 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1313
1419
|
case 44:
|
|
1314
1420
|
case "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650":
|
|
1315
1421
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650;
|
|
1422
|
+
case 45:
|
|
1423
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
|
|
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;
|
|
1316
1428
|
case -1:
|
|
1317
1429
|
case "UNRECOGNIZED":
|
|
1318
1430
|
default:
|
|
@@ -1411,6 +1523,10 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1411
1523
|
return "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1412
1524
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650:
|
|
1413
1525
|
return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1526
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
|
|
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";
|
|
1414
1530
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1415
1531
|
default:
|
|
1416
1532
|
return "UNRECOGNIZED";
|
|
@@ -1687,6 +1803,157 @@ function multibeamFrequencyModeToJSON(object) {
|
|
|
1687
1803
|
return "UNRECOGNIZED";
|
|
1688
1804
|
}
|
|
1689
1805
|
}
|
|
1806
|
+
var LogEntry_LogLevel;
|
|
1807
|
+
(function (LogEntry_LogLevel) {
|
|
1808
|
+
/** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
1809
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_UNSPECIFIED"] = 0] = "LOG_LEVEL_UNSPECIFIED";
|
|
1810
|
+
/** LOG_LEVEL_TRACE - Trace log level. */
|
|
1811
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_TRACE"] = 1] = "LOG_LEVEL_TRACE";
|
|
1812
|
+
/** LOG_LEVEL_DEBUG - Debug log level. */
|
|
1813
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_DEBUG"] = 2] = "LOG_LEVEL_DEBUG";
|
|
1814
|
+
/** LOG_LEVEL_INFO - Info log level. */
|
|
1815
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_INFO"] = 3] = "LOG_LEVEL_INFO";
|
|
1816
|
+
/** LOG_LEVEL_WARNING - Warning log level. */
|
|
1817
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_WARNING"] = 4] = "LOG_LEVEL_WARNING";
|
|
1818
|
+
/** LOG_LEVEL_ERROR - Error log level. */
|
|
1819
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_ERROR"] = 5] = "LOG_LEVEL_ERROR";
|
|
1820
|
+
/** LOG_LEVEL_CRITICAL - Critical log level. */
|
|
1821
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_CRITICAL"] = 6] = "LOG_LEVEL_CRITICAL";
|
|
1822
|
+
LogEntry_LogLevel[LogEntry_LogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1823
|
+
})(LogEntry_LogLevel || (exports.LogEntry_LogLevel = LogEntry_LogLevel = {}));
|
|
1824
|
+
function logEntry_LogLevelFromJSON(object) {
|
|
1825
|
+
switch (object) {
|
|
1826
|
+
case 0:
|
|
1827
|
+
case "LOG_LEVEL_UNSPECIFIED":
|
|
1828
|
+
return LogEntry_LogLevel.LOG_LEVEL_UNSPECIFIED;
|
|
1829
|
+
case 1:
|
|
1830
|
+
case "LOG_LEVEL_TRACE":
|
|
1831
|
+
return LogEntry_LogLevel.LOG_LEVEL_TRACE;
|
|
1832
|
+
case 2:
|
|
1833
|
+
case "LOG_LEVEL_DEBUG":
|
|
1834
|
+
return LogEntry_LogLevel.LOG_LEVEL_DEBUG;
|
|
1835
|
+
case 3:
|
|
1836
|
+
case "LOG_LEVEL_INFO":
|
|
1837
|
+
return LogEntry_LogLevel.LOG_LEVEL_INFO;
|
|
1838
|
+
case 4:
|
|
1839
|
+
case "LOG_LEVEL_WARNING":
|
|
1840
|
+
return LogEntry_LogLevel.LOG_LEVEL_WARNING;
|
|
1841
|
+
case 5:
|
|
1842
|
+
case "LOG_LEVEL_ERROR":
|
|
1843
|
+
return LogEntry_LogLevel.LOG_LEVEL_ERROR;
|
|
1844
|
+
case 6:
|
|
1845
|
+
case "LOG_LEVEL_CRITICAL":
|
|
1846
|
+
return LogEntry_LogLevel.LOG_LEVEL_CRITICAL;
|
|
1847
|
+
case -1:
|
|
1848
|
+
case "UNRECOGNIZED":
|
|
1849
|
+
default:
|
|
1850
|
+
return LogEntry_LogLevel.UNRECOGNIZED;
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1853
|
+
function logEntry_LogLevelToJSON(object) {
|
|
1854
|
+
switch (object) {
|
|
1855
|
+
case LogEntry_LogLevel.LOG_LEVEL_UNSPECIFIED:
|
|
1856
|
+
return "LOG_LEVEL_UNSPECIFIED";
|
|
1857
|
+
case LogEntry_LogLevel.LOG_LEVEL_TRACE:
|
|
1858
|
+
return "LOG_LEVEL_TRACE";
|
|
1859
|
+
case LogEntry_LogLevel.LOG_LEVEL_DEBUG:
|
|
1860
|
+
return "LOG_LEVEL_DEBUG";
|
|
1861
|
+
case LogEntry_LogLevel.LOG_LEVEL_INFO:
|
|
1862
|
+
return "LOG_LEVEL_INFO";
|
|
1863
|
+
case LogEntry_LogLevel.LOG_LEVEL_WARNING:
|
|
1864
|
+
return "LOG_LEVEL_WARNING";
|
|
1865
|
+
case LogEntry_LogLevel.LOG_LEVEL_ERROR:
|
|
1866
|
+
return "LOG_LEVEL_ERROR";
|
|
1867
|
+
case LogEntry_LogLevel.LOG_LEVEL_CRITICAL:
|
|
1868
|
+
return "LOG_LEVEL_CRITICAL";
|
|
1869
|
+
case LogEntry_LogLevel.UNRECOGNIZED:
|
|
1870
|
+
default:
|
|
1871
|
+
return "UNRECOGNIZED";
|
|
1872
|
+
}
|
|
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
|
+
}
|
|
1690
1957
|
var PingerConfiguration_MountingDirection;
|
|
1691
1958
|
(function (PingerConfiguration_MountingDirection) {
|
|
1692
1959
|
/** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
|
|
@@ -2065,26 +2332,409 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2065
2332
|
return "UNRECOGNIZED";
|
|
2066
2333
|
}
|
|
2067
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
|
+
}
|
|
2068
2378
|
function createBaseBinlogRecord() {
|
|
2069
2379
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2070
2380
|
}
|
|
2071
|
-
exports.BinlogRecord = {
|
|
2381
|
+
exports.BinlogRecord = {
|
|
2382
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2383
|
+
if (message.payload !== undefined) {
|
|
2384
|
+
any_1.Any.encode(message.payload, writer.uint32(10).fork()).join();
|
|
2385
|
+
}
|
|
2386
|
+
if (message.unixTimestamp !== undefined) {
|
|
2387
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.unixTimestamp), writer.uint32(18).fork()).join();
|
|
2388
|
+
}
|
|
2389
|
+
if (message.clockMonotonic !== undefined) {
|
|
2390
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.clockMonotonic), writer.uint32(26).fork()).join();
|
|
2391
|
+
}
|
|
2392
|
+
return writer;
|
|
2393
|
+
},
|
|
2394
|
+
decode(input, length) {
|
|
2395
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2396
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2397
|
+
const message = createBaseBinlogRecord();
|
|
2398
|
+
while (reader.pos < end) {
|
|
2399
|
+
const tag = reader.uint32();
|
|
2400
|
+
switch (tag >>> 3) {
|
|
2401
|
+
case 1: {
|
|
2402
|
+
if (tag !== 10) {
|
|
2403
|
+
break;
|
|
2404
|
+
}
|
|
2405
|
+
message.payload = any_1.Any.decode(reader, reader.uint32());
|
|
2406
|
+
continue;
|
|
2407
|
+
}
|
|
2408
|
+
case 2: {
|
|
2409
|
+
if (tag !== 18) {
|
|
2410
|
+
break;
|
|
2411
|
+
}
|
|
2412
|
+
message.unixTimestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2413
|
+
continue;
|
|
2414
|
+
}
|
|
2415
|
+
case 3: {
|
|
2416
|
+
if (tag !== 26) {
|
|
2417
|
+
break;
|
|
2418
|
+
}
|
|
2419
|
+
message.clockMonotonic = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2420
|
+
continue;
|
|
2421
|
+
}
|
|
2422
|
+
}
|
|
2423
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2424
|
+
break;
|
|
2425
|
+
}
|
|
2426
|
+
reader.skip(tag & 7);
|
|
2427
|
+
}
|
|
2428
|
+
return message;
|
|
2429
|
+
},
|
|
2430
|
+
fromJSON(object) {
|
|
2431
|
+
return {
|
|
2432
|
+
payload: isSet(object.payload) ? any_1.Any.fromJSON(object.payload) : undefined,
|
|
2433
|
+
unixTimestamp: isSet(object.unixTimestamp) ? fromJsonTimestamp(object.unixTimestamp) : undefined,
|
|
2434
|
+
clockMonotonic: isSet(object.clockMonotonic) ? fromJsonTimestamp(object.clockMonotonic) : undefined,
|
|
2435
|
+
};
|
|
2436
|
+
},
|
|
2437
|
+
toJSON(message) {
|
|
2438
|
+
const obj = {};
|
|
2439
|
+
if (message.payload !== undefined) {
|
|
2440
|
+
obj.payload = any_1.Any.toJSON(message.payload);
|
|
2441
|
+
}
|
|
2442
|
+
if (message.unixTimestamp !== undefined) {
|
|
2443
|
+
obj.unixTimestamp = message.unixTimestamp.toISOString();
|
|
2444
|
+
}
|
|
2445
|
+
if (message.clockMonotonic !== undefined) {
|
|
2446
|
+
obj.clockMonotonic = message.clockMonotonic.toISOString();
|
|
2447
|
+
}
|
|
2448
|
+
return obj;
|
|
2449
|
+
},
|
|
2450
|
+
create(base) {
|
|
2451
|
+
return exports.BinlogRecord.fromPartial(base ?? {});
|
|
2452
|
+
},
|
|
2453
|
+
fromPartial(object) {
|
|
2454
|
+
const message = createBaseBinlogRecord();
|
|
2455
|
+
message.payload = (object.payload !== undefined && object.payload !== null)
|
|
2456
|
+
? any_1.Any.fromPartial(object.payload)
|
|
2457
|
+
: undefined;
|
|
2458
|
+
message.unixTimestamp = object.unixTimestamp ?? undefined;
|
|
2459
|
+
message.clockMonotonic = object.clockMonotonic ?? undefined;
|
|
2460
|
+
return message;
|
|
2461
|
+
},
|
|
2462
|
+
};
|
|
2463
|
+
function createBaseLogEntry() {
|
|
2464
|
+
return { timestamp: undefined, processName: "", processId: 0, threadId: 0, source: "", level: 0, message: "" };
|
|
2465
|
+
}
|
|
2466
|
+
exports.LogEntry = {
|
|
2467
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2468
|
+
if (message.timestamp !== undefined) {
|
|
2469
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(10).fork()).join();
|
|
2470
|
+
}
|
|
2471
|
+
if (message.processName !== "") {
|
|
2472
|
+
writer.uint32(18).string(message.processName);
|
|
2473
|
+
}
|
|
2474
|
+
if (message.processId !== 0) {
|
|
2475
|
+
writer.uint32(24).uint64(message.processId);
|
|
2476
|
+
}
|
|
2477
|
+
if (message.threadId !== 0) {
|
|
2478
|
+
writer.uint32(32).uint64(message.threadId);
|
|
2479
|
+
}
|
|
2480
|
+
if (message.source !== "") {
|
|
2481
|
+
writer.uint32(42).string(message.source);
|
|
2482
|
+
}
|
|
2483
|
+
if (message.level !== 0) {
|
|
2484
|
+
writer.uint32(48).int32(message.level);
|
|
2485
|
+
}
|
|
2486
|
+
if (message.message !== "") {
|
|
2487
|
+
writer.uint32(58).string(message.message);
|
|
2488
|
+
}
|
|
2489
|
+
return writer;
|
|
2490
|
+
},
|
|
2491
|
+
decode(input, length) {
|
|
2492
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2493
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2494
|
+
const message = createBaseLogEntry();
|
|
2495
|
+
while (reader.pos < end) {
|
|
2496
|
+
const tag = reader.uint32();
|
|
2497
|
+
switch (tag >>> 3) {
|
|
2498
|
+
case 1: {
|
|
2499
|
+
if (tag !== 10) {
|
|
2500
|
+
break;
|
|
2501
|
+
}
|
|
2502
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2503
|
+
continue;
|
|
2504
|
+
}
|
|
2505
|
+
case 2: {
|
|
2506
|
+
if (tag !== 18) {
|
|
2507
|
+
break;
|
|
2508
|
+
}
|
|
2509
|
+
message.processName = reader.string();
|
|
2510
|
+
continue;
|
|
2511
|
+
}
|
|
2512
|
+
case 3: {
|
|
2513
|
+
if (tag !== 24) {
|
|
2514
|
+
break;
|
|
2515
|
+
}
|
|
2516
|
+
message.processId = longToNumber(reader.uint64());
|
|
2517
|
+
continue;
|
|
2518
|
+
}
|
|
2519
|
+
case 4: {
|
|
2520
|
+
if (tag !== 32) {
|
|
2521
|
+
break;
|
|
2522
|
+
}
|
|
2523
|
+
message.threadId = longToNumber(reader.uint64());
|
|
2524
|
+
continue;
|
|
2525
|
+
}
|
|
2526
|
+
case 5: {
|
|
2527
|
+
if (tag !== 42) {
|
|
2528
|
+
break;
|
|
2529
|
+
}
|
|
2530
|
+
message.source = reader.string();
|
|
2531
|
+
continue;
|
|
2532
|
+
}
|
|
2533
|
+
case 6: {
|
|
2534
|
+
if (tag !== 48) {
|
|
2535
|
+
break;
|
|
2536
|
+
}
|
|
2537
|
+
message.level = reader.int32();
|
|
2538
|
+
continue;
|
|
2539
|
+
}
|
|
2540
|
+
case 7: {
|
|
2541
|
+
if (tag !== 58) {
|
|
2542
|
+
break;
|
|
2543
|
+
}
|
|
2544
|
+
message.message = reader.string();
|
|
2545
|
+
continue;
|
|
2546
|
+
}
|
|
2547
|
+
}
|
|
2548
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2549
|
+
break;
|
|
2550
|
+
}
|
|
2551
|
+
reader.skip(tag & 7);
|
|
2552
|
+
}
|
|
2553
|
+
return message;
|
|
2554
|
+
},
|
|
2555
|
+
fromJSON(object) {
|
|
2556
|
+
return {
|
|
2557
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2558
|
+
processName: isSet(object.processName) ? gt.String(object.processName) : "",
|
|
2559
|
+
processId: isSet(object.processId) ? gt.Number(object.processId) : 0,
|
|
2560
|
+
threadId: isSet(object.threadId) ? gt.Number(object.threadId) : 0,
|
|
2561
|
+
source: isSet(object.source) ? gt.String(object.source) : "",
|
|
2562
|
+
level: isSet(object.level) ? logEntry_LogLevelFromJSON(object.level) : 0,
|
|
2563
|
+
message: isSet(object.message) ? gt.String(object.message) : "",
|
|
2564
|
+
};
|
|
2565
|
+
},
|
|
2566
|
+
toJSON(message) {
|
|
2567
|
+
const obj = {};
|
|
2568
|
+
if (message.timestamp !== undefined) {
|
|
2569
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2570
|
+
}
|
|
2571
|
+
if (message.processName !== "") {
|
|
2572
|
+
obj.processName = message.processName;
|
|
2573
|
+
}
|
|
2574
|
+
if (message.processId !== 0) {
|
|
2575
|
+
obj.processId = Math.round(message.processId);
|
|
2576
|
+
}
|
|
2577
|
+
if (message.threadId !== 0) {
|
|
2578
|
+
obj.threadId = Math.round(message.threadId);
|
|
2579
|
+
}
|
|
2580
|
+
if (message.source !== "") {
|
|
2581
|
+
obj.source = message.source;
|
|
2582
|
+
}
|
|
2583
|
+
if (message.level !== 0) {
|
|
2584
|
+
obj.level = logEntry_LogLevelToJSON(message.level);
|
|
2585
|
+
}
|
|
2586
|
+
if (message.message !== "") {
|
|
2587
|
+
obj.message = message.message;
|
|
2588
|
+
}
|
|
2589
|
+
return obj;
|
|
2590
|
+
},
|
|
2591
|
+
create(base) {
|
|
2592
|
+
return exports.LogEntry.fromPartial(base ?? {});
|
|
2593
|
+
},
|
|
2594
|
+
fromPartial(object) {
|
|
2595
|
+
const message = createBaseLogEntry();
|
|
2596
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2597
|
+
message.processName = object.processName ?? "";
|
|
2598
|
+
message.processId = object.processId ?? 0;
|
|
2599
|
+
message.threadId = object.threadId ?? 0;
|
|
2600
|
+
message.source = object.source ?? "";
|
|
2601
|
+
message.level = object.level ?? 0;
|
|
2602
|
+
message.message = object.message ?? "";
|
|
2603
|
+
return message;
|
|
2604
|
+
},
|
|
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 = {
|
|
2072
2725
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2073
|
-
if (message.
|
|
2074
|
-
|
|
2726
|
+
if (message.key !== "") {
|
|
2727
|
+
writer.uint32(10).string(message.key);
|
|
2075
2728
|
}
|
|
2076
|
-
if (message.
|
|
2077
|
-
|
|
2078
|
-
}
|
|
2079
|
-
if (message.clockMonotonic !== undefined) {
|
|
2080
|
-
timestamp_1.Timestamp.encode(toTimestamp(message.clockMonotonic), writer.uint32(26).fork()).join();
|
|
2729
|
+
if (message.value !== "") {
|
|
2730
|
+
writer.uint32(18).string(message.value);
|
|
2081
2731
|
}
|
|
2082
2732
|
return writer;
|
|
2083
2733
|
},
|
|
2084
2734
|
decode(input, length) {
|
|
2085
2735
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2086
2736
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2087
|
-
const message =
|
|
2737
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2088
2738
|
while (reader.pos < end) {
|
|
2089
2739
|
const tag = reader.uint32();
|
|
2090
2740
|
switch (tag >>> 3) {
|
|
@@ -2092,21 +2742,14 @@ exports.BinlogRecord = {
|
|
|
2092
2742
|
if (tag !== 10) {
|
|
2093
2743
|
break;
|
|
2094
2744
|
}
|
|
2095
|
-
message.
|
|
2745
|
+
message.key = reader.string();
|
|
2096
2746
|
continue;
|
|
2097
2747
|
}
|
|
2098
2748
|
case 2: {
|
|
2099
2749
|
if (tag !== 18) {
|
|
2100
2750
|
break;
|
|
2101
2751
|
}
|
|
2102
|
-
message.
|
|
2103
|
-
continue;
|
|
2104
|
-
}
|
|
2105
|
-
case 3: {
|
|
2106
|
-
if (tag !== 26) {
|
|
2107
|
-
break;
|
|
2108
|
-
}
|
|
2109
|
-
message.clockMonotonic = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2752
|
+
message.value = reader.string();
|
|
2110
2753
|
continue;
|
|
2111
2754
|
}
|
|
2112
2755
|
}
|
|
@@ -2119,34 +2762,27 @@ exports.BinlogRecord = {
|
|
|
2119
2762
|
},
|
|
2120
2763
|
fromJSON(object) {
|
|
2121
2764
|
return {
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
clockMonotonic: isSet(object.clockMonotonic) ? fromJsonTimestamp(object.clockMonotonic) : undefined,
|
|
2765
|
+
key: isSet(object.key) ? gt.String(object.key) : "",
|
|
2766
|
+
value: isSet(object.value) ? gt.String(object.value) : "",
|
|
2125
2767
|
};
|
|
2126
2768
|
},
|
|
2127
2769
|
toJSON(message) {
|
|
2128
2770
|
const obj = {};
|
|
2129
|
-
if (message.
|
|
2130
|
-
obj.
|
|
2771
|
+
if (message.key !== "") {
|
|
2772
|
+
obj.key = message.key;
|
|
2131
2773
|
}
|
|
2132
|
-
if (message.
|
|
2133
|
-
obj.
|
|
2134
|
-
}
|
|
2135
|
-
if (message.clockMonotonic !== undefined) {
|
|
2136
|
-
obj.clockMonotonic = message.clockMonotonic.toISOString();
|
|
2774
|
+
if (message.value !== "") {
|
|
2775
|
+
obj.value = message.value;
|
|
2137
2776
|
}
|
|
2138
2777
|
return obj;
|
|
2139
2778
|
},
|
|
2140
2779
|
create(base) {
|
|
2141
|
-
return exports.
|
|
2780
|
+
return exports.KernelLogEntry_KeyValuePair.fromPartial(base ?? {});
|
|
2142
2781
|
},
|
|
2143
2782
|
fromPartial(object) {
|
|
2144
|
-
const message =
|
|
2145
|
-
message.
|
|
2146
|
-
|
|
2147
|
-
: undefined;
|
|
2148
|
-
message.unixTimestamp = object.unixTimestamp ?? undefined;
|
|
2149
|
-
message.clockMonotonic = object.clockMonotonic ?? undefined;
|
|
2783
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2784
|
+
message.key = object.key ?? "";
|
|
2785
|
+
message.value = object.value ?? "";
|
|
2150
2786
|
return message;
|
|
2151
2787
|
},
|
|
2152
2788
|
};
|
|
@@ -3431,6 +4067,7 @@ function createBaseRecordState() {
|
|
|
3431
4067
|
multibeamIsRecording: false,
|
|
3432
4068
|
multibeamSeconds: 0,
|
|
3433
4069
|
multibeamFps: 0,
|
|
4070
|
+
storageLocation: 0,
|
|
3434
4071
|
};
|
|
3435
4072
|
}
|
|
3436
4073
|
exports.RecordState = {
|
|
@@ -3462,6 +4099,9 @@ exports.RecordState = {
|
|
|
3462
4099
|
if (message.multibeamFps !== 0) {
|
|
3463
4100
|
writer.uint32(77).float(message.multibeamFps);
|
|
3464
4101
|
}
|
|
4102
|
+
if (message.storageLocation !== 0) {
|
|
4103
|
+
writer.uint32(80).int32(message.storageLocation);
|
|
4104
|
+
}
|
|
3465
4105
|
return writer;
|
|
3466
4106
|
},
|
|
3467
4107
|
decode(input, length) {
|
|
@@ -3534,6 +4174,13 @@ exports.RecordState = {
|
|
|
3534
4174
|
message.multibeamFps = reader.float();
|
|
3535
4175
|
continue;
|
|
3536
4176
|
}
|
|
4177
|
+
case 10: {
|
|
4178
|
+
if (tag !== 80) {
|
|
4179
|
+
break;
|
|
4180
|
+
}
|
|
4181
|
+
message.storageLocation = reader.int32();
|
|
4182
|
+
continue;
|
|
4183
|
+
}
|
|
3537
4184
|
}
|
|
3538
4185
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3539
4186
|
break;
|
|
@@ -3553,6 +4200,7 @@ exports.RecordState = {
|
|
|
3553
4200
|
multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
|
|
3554
4201
|
multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
|
|
3555
4202
|
multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
|
|
4203
|
+
storageLocation: isSet(object.storageLocation) ? storageLocationFromJSON(object.storageLocation) : 0,
|
|
3556
4204
|
};
|
|
3557
4205
|
},
|
|
3558
4206
|
toJSON(message) {
|
|
@@ -3584,6 +4232,9 @@ exports.RecordState = {
|
|
|
3584
4232
|
if (message.multibeamFps !== 0) {
|
|
3585
4233
|
obj.multibeamFps = message.multibeamFps;
|
|
3586
4234
|
}
|
|
4235
|
+
if (message.storageLocation !== 0) {
|
|
4236
|
+
obj.storageLocation = storageLocationToJSON(message.storageLocation);
|
|
4237
|
+
}
|
|
3587
4238
|
return obj;
|
|
3588
4239
|
},
|
|
3589
4240
|
create(base) {
|
|
@@ -3600,6 +4251,7 @@ exports.RecordState = {
|
|
|
3600
4251
|
message.multibeamIsRecording = object.multibeamIsRecording ?? false;
|
|
3601
4252
|
message.multibeamSeconds = object.multibeamSeconds ?? 0;
|
|
3602
4253
|
message.multibeamFps = object.multibeamFps ?? 0;
|
|
4254
|
+
message.storageLocation = object.storageLocation ?? 0;
|
|
3603
4255
|
return message;
|
|
3604
4256
|
},
|
|
3605
4257
|
};
|
|
@@ -7507,7 +8159,7 @@ exports.StorageSpace = {
|
|
|
7507
8159
|
},
|
|
7508
8160
|
};
|
|
7509
8161
|
function createBaseStoragePartition() {
|
|
7510
|
-
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "" };
|
|
8162
|
+
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "", label: "" };
|
|
7511
8163
|
}
|
|
7512
8164
|
exports.StoragePartition = {
|
|
7513
8165
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -7523,6 +8175,9 @@ exports.StoragePartition = {
|
|
|
7523
8175
|
if (message.mountPath !== "") {
|
|
7524
8176
|
writer.uint32(34).string(message.mountPath);
|
|
7525
8177
|
}
|
|
8178
|
+
if (message.label !== "") {
|
|
8179
|
+
writer.uint32(42).string(message.label);
|
|
8180
|
+
}
|
|
7526
8181
|
return writer;
|
|
7527
8182
|
},
|
|
7528
8183
|
decode(input, length) {
|
|
@@ -7560,6 +8215,13 @@ exports.StoragePartition = {
|
|
|
7560
8215
|
message.mountPath = reader.string();
|
|
7561
8216
|
continue;
|
|
7562
8217
|
}
|
|
8218
|
+
case 5: {
|
|
8219
|
+
if (tag !== 42) {
|
|
8220
|
+
break;
|
|
8221
|
+
}
|
|
8222
|
+
message.label = reader.string();
|
|
8223
|
+
continue;
|
|
8224
|
+
}
|
|
7563
8225
|
}
|
|
7564
8226
|
if ((tag & 7) === 4 || tag === 0) {
|
|
7565
8227
|
break;
|
|
@@ -7574,6 +8236,7 @@ exports.StoragePartition = {
|
|
|
7574
8236
|
fileSystemType: isSet(object.fileSystemType) ? gt.String(object.fileSystemType) : "",
|
|
7575
8237
|
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
7576
8238
|
mountPath: isSet(object.mountPath) ? gt.String(object.mountPath) : "",
|
|
8239
|
+
label: isSet(object.label) ? gt.String(object.label) : "",
|
|
7577
8240
|
};
|
|
7578
8241
|
},
|
|
7579
8242
|
toJSON(message) {
|
|
@@ -7590,6 +8253,9 @@ exports.StoragePartition = {
|
|
|
7590
8253
|
if (message.mountPath !== "") {
|
|
7591
8254
|
obj.mountPath = message.mountPath;
|
|
7592
8255
|
}
|
|
8256
|
+
if (message.label !== "") {
|
|
8257
|
+
obj.label = message.label;
|
|
8258
|
+
}
|
|
7593
8259
|
return obj;
|
|
7594
8260
|
},
|
|
7595
8261
|
create(base) {
|
|
@@ -7603,6 +8269,7 @@ exports.StoragePartition = {
|
|
|
7603
8269
|
message.fileSystemType = object.fileSystemType ?? "";
|
|
7604
8270
|
message.devicePath = object.devicePath ?? "";
|
|
7605
8271
|
message.mountPath = object.mountPath ?? "";
|
|
8272
|
+
message.label = object.label ?? "";
|
|
7606
8273
|
return message;
|
|
7607
8274
|
},
|
|
7608
8275
|
};
|
|
@@ -9300,9 +9967,20 @@ function createBaseCameraParameters() {
|
|
|
9300
9967
|
whiteBalance: 0,
|
|
9301
9968
|
hue: 0,
|
|
9302
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,
|
|
9303
9980
|
resolution: 0,
|
|
9304
9981
|
streamResolution: 0,
|
|
9305
9982
|
recordingResolution: 0,
|
|
9983
|
+
streamingProtocol: 0,
|
|
9306
9984
|
framerate: 0,
|
|
9307
9985
|
camera: 0,
|
|
9308
9986
|
};
|
|
@@ -9327,6 +10005,36 @@ exports.CameraParameters = {
|
|
|
9327
10005
|
if (message.gain !== 0) {
|
|
9328
10006
|
writer.uint32(77).float(message.gain);
|
|
9329
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
|
+
}
|
|
9330
10038
|
if (message.resolution !== 0) {
|
|
9331
10039
|
writer.uint32(48).int32(message.resolution);
|
|
9332
10040
|
}
|
|
@@ -9336,6 +10044,9 @@ exports.CameraParameters = {
|
|
|
9336
10044
|
if (message.recordingResolution !== 0) {
|
|
9337
10045
|
writer.uint32(88).int32(message.recordingResolution);
|
|
9338
10046
|
}
|
|
10047
|
+
if (message.streamingProtocol !== 0) {
|
|
10048
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
10049
|
+
}
|
|
9339
10050
|
if (message.framerate !== 0) {
|
|
9340
10051
|
writer.uint32(56).int32(message.framerate);
|
|
9341
10052
|
}
|
|
@@ -9393,6 +10104,76 @@ exports.CameraParameters = {
|
|
|
9393
10104
|
message.gain = reader.float();
|
|
9394
10105
|
continue;
|
|
9395
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
|
+
}
|
|
9396
10177
|
case 6: {
|
|
9397
10178
|
if (tag !== 48) {
|
|
9398
10179
|
break;
|
|
@@ -9414,6 +10195,13 @@ exports.CameraParameters = {
|
|
|
9414
10195
|
message.recordingResolution = reader.int32();
|
|
9415
10196
|
continue;
|
|
9416
10197
|
}
|
|
10198
|
+
case 20: {
|
|
10199
|
+
if (tag !== 160) {
|
|
10200
|
+
break;
|
|
10201
|
+
}
|
|
10202
|
+
message.streamingProtocol = reader.int32();
|
|
10203
|
+
continue;
|
|
10204
|
+
}
|
|
9417
10205
|
case 7: {
|
|
9418
10206
|
if (tag !== 56) {
|
|
9419
10207
|
break;
|
|
@@ -9444,9 +10232,20 @@ exports.CameraParameters = {
|
|
|
9444
10232
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9445
10233
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9446
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,
|
|
9447
10245
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9448
10246
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9449
10247
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
10248
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9450
10249
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9451
10250
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
9452
10251
|
};
|
|
@@ -9471,6 +10270,36 @@ exports.CameraParameters = {
|
|
|
9471
10270
|
if (message.gain !== 0) {
|
|
9472
10271
|
obj.gain = message.gain;
|
|
9473
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
|
+
}
|
|
9474
10303
|
if (message.resolution !== 0) {
|
|
9475
10304
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9476
10305
|
}
|
|
@@ -9480,6 +10309,9 @@ exports.CameraParameters = {
|
|
|
9480
10309
|
if (message.recordingResolution !== 0) {
|
|
9481
10310
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9482
10311
|
}
|
|
10312
|
+
if (message.streamingProtocol !== 0) {
|
|
10313
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
10314
|
+
}
|
|
9483
10315
|
if (message.framerate !== 0) {
|
|
9484
10316
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9485
10317
|
}
|
|
@@ -9499,9 +10331,20 @@ exports.CameraParameters = {
|
|
|
9499
10331
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9500
10332
|
message.hue = object.hue ?? 0;
|
|
9501
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;
|
|
9502
10344
|
message.resolution = object.resolution ?? 0;
|
|
9503
10345
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9504
10346
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
10347
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9505
10348
|
message.framerate = object.framerate ?? 0;
|
|
9506
10349
|
message.camera = object.camera ?? 0;
|
|
9507
10350
|
return message;
|
|
@@ -12247,7 +13090,7 @@ exports.PersistentStorageSettings = {
|
|
|
12247
13090
|
},
|
|
12248
13091
|
};
|
|
12249
13092
|
function createBaseCPUInfo() {
|
|
12250
|
-
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
|
|
13093
|
+
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
|
|
12251
13094
|
}
|
|
12252
13095
|
exports.CPUInfo = {
|
|
12253
13096
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -12263,6 +13106,9 @@ exports.CPUInfo = {
|
|
|
12263
13106
|
if (message.guestportQueueLoad !== 0) {
|
|
12264
13107
|
writer.uint32(37).float(message.guestportQueueLoad);
|
|
12265
13108
|
}
|
|
13109
|
+
if (message.commQueueLoad !== 0) {
|
|
13110
|
+
writer.uint32(45).float(message.commQueueLoad);
|
|
13111
|
+
}
|
|
12266
13112
|
return writer;
|
|
12267
13113
|
},
|
|
12268
13114
|
decode(input, length) {
|
|
@@ -12300,6 +13146,13 @@ exports.CPUInfo = {
|
|
|
12300
13146
|
message.guestportQueueLoad = reader.float();
|
|
12301
13147
|
continue;
|
|
12302
13148
|
}
|
|
13149
|
+
case 5: {
|
|
13150
|
+
if (tag !== 45) {
|
|
13151
|
+
break;
|
|
13152
|
+
}
|
|
13153
|
+
message.commQueueLoad = reader.float();
|
|
13154
|
+
continue;
|
|
13155
|
+
}
|
|
12303
13156
|
}
|
|
12304
13157
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12305
13158
|
break;
|
|
@@ -12314,6 +13167,7 @@ exports.CPUInfo = {
|
|
|
12314
13167
|
memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
|
|
12315
13168
|
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
12316
13169
|
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
13170
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
12317
13171
|
};
|
|
12318
13172
|
},
|
|
12319
13173
|
toJSON(message) {
|
|
@@ -12330,6 +13184,9 @@ exports.CPUInfo = {
|
|
|
12330
13184
|
if (message.guestportQueueLoad !== 0) {
|
|
12331
13185
|
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
12332
13186
|
}
|
|
13187
|
+
if (message.commQueueLoad !== 0) {
|
|
13188
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
13189
|
+
}
|
|
12333
13190
|
return obj;
|
|
12334
13191
|
},
|
|
12335
13192
|
create(base) {
|
|
@@ -12341,6 +13198,126 @@ exports.CPUInfo = {
|
|
|
12341
13198
|
message.memoryBusLoad = object.memoryBusLoad ?? 0;
|
|
12342
13199
|
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
12343
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 ?? "";
|
|
12344
13321
|
return message;
|
|
12345
13322
|
},
|
|
12346
13323
|
};
|