@blueyerobotics/protocol-definitions 3.2.0-dc5787fd → 3.2.0-dfb1977f
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.d.ts +2 -8
- package/dist/aquatroll.js +1 -1
- package/dist/control.d.ts +25 -10
- package/dist/control.js +133 -10
- package/dist/google/protobuf/any.d.ts +2 -8
- package/dist/google/protobuf/any.js +1 -1
- package/dist/google/protobuf/duration.d.ts +2 -8
- package/dist/google/protobuf/duration.js +1 -1
- package/dist/google/protobuf/timestamp.d.ts +2 -8
- package/dist/google/protobuf/timestamp.js +1 -1
- package/dist/index.blueye.js +1 -1
- package/dist/index.blueye.protocol.js +1 -1
- package/dist/index.google.js +1 -1
- package/dist/index.google.protobuf.js +1 -1
- package/dist/index.js +1 -1
- package/dist/message_formats.d.ts +274 -21
- package/dist/message_formats.js +1667 -137
- package/dist/mission_planning.d.ts +2 -8
- package/dist/mission_planning.js +1 -1
- package/dist/req_rep.d.ts +24 -8
- package/dist/req_rep.js +192 -2
- package/dist/telemetry.d.ts +54 -10
- package/dist/telemetry.js +418 -9
- package/package.json +8 -6
package/dist/message_formats.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: message_formats.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = void 0;
|
|
8
|
+
exports.AutoPilotHeaveState = exports.AutoPilotSurgeYawState = exports.WeatherVaningState = exports.StationKeepingState = exports.AutoAltitudeState = exports.AutoDepthState = exports.AutoHeadingState = exports.ConnectionDuration = exports.LatLongPosition = exports.Laser = exports.Lights = exports.MotionInput = exports.KernelLogEntry_KeyValuePair = exports.KernelLogEntry = exports.LogEntry = exports.BinlogRecord = exports.SurfaceUnitBatteryInfo_ChargeStatus = exports.MultibeamConfig_MaximumNumberOfBeams = exports.MultibeamConfig_PingRate = exports.CalibrationState_Status = exports.RemovableStorageDevice_Status = exports.BatteryBQ40Z50_BatteryStatus_BatteryError = exports.PingerConfiguration_MountingDirection = exports.KernelLogEntry_KernelLogLevel = exports.LogEntry_LogLevel = exports.MultibeamFrequencyMode = exports.GuestPortError = exports.GuestPortDetachStatus = exports.NavigationSensorID = exports.GuestPortNumber = exports.GuestPortDeviceID = exports.FontSize = exports.ThicknessUnit = exports.DepthUnit = exports.LogoType = exports.TemperatureUnit = exports.StreamingProtocol = exports.Camera = exports.Framerate = exports.Resolution = exports.PressureSensorType = exports.Model = exports.StorageLocation = exports.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
|
|
9
|
+
exports.CameraParameters = exports.ErrorFlags = exports.DroneInfo = exports.TiltVelocity = exports.TiltAngle = exports.NStreamers = exports.IperfStatus = exports.CalibrationState = exports.RemovableStorageErrorFlags = exports.RemovableStorageDevice = exports.StoragePartition = exports.StorageSpace = exports.RecordOn = exports.DiveTime = exports.ControllerHealth = exports.ControlForce = exports.Notification = exports.Reference = exports.Depth = exports.DvlVelocity = exports.DvlTransducer = exports.ResetPositionSettings = exports.PositionEstimate = exports.ForwardDistance = exports.Altitude = exports.MagneticDeclination = exports.Attitude = exports.BatteryBQ40Z50_BatteryChargingEvents = exports.BatteryBQ40Z50_BatterySafetyEvents = exports.BatteryBQ40Z50_BatteryLifetimes_CellVoltages = exports.BatteryBQ40Z50_BatteryLifetimes = exports.BatteryBQ40Z50_BatteryStatus = exports.BatteryBQ40Z50_Temperature = exports.BatteryBQ40Z50_Voltage = exports.BatteryBQ40Z50 = exports.Battery = exports.CanisterHumidity = exports.CanisterTemperature = exports.CPUTemperature = exports.WaterTemperature = exports.PingerConfiguration = exports.WaterDensity = exports.TimeLapseState = exports.RecordState = exports.ConnectedClient = exports.ClientInfo = exports.GripperVelocities = exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = void 0;
|
|
10
|
+
exports.FilterMessage = exports.SurfaceUnitVersionInfo = exports.SurfaceUnitBatteryInfo = exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = exports.GuestPortInfo = exports.GuestPortConnectorInfo = exports.GuestPortDeviceList = exports.GuestPortDevice = exports.NavigationSensorStatus = exports.OverlayParameters = void 0;
|
|
11
11
|
exports.intervalTypeFromJSON = intervalTypeFromJSON;
|
|
12
12
|
exports.intervalTypeToJSON = intervalTypeToJSON;
|
|
13
13
|
exports.locationSourceFromJSON = locationSourceFromJSON;
|
|
@@ -22,6 +22,8 @@ exports.notificationTypeFromJSON = notificationTypeFromJSON;
|
|
|
22
22
|
exports.notificationTypeToJSON = notificationTypeToJSON;
|
|
23
23
|
exports.notificationLevelFromJSON = notificationLevelFromJSON;
|
|
24
24
|
exports.notificationLevelToJSON = notificationLevelToJSON;
|
|
25
|
+
exports.storageLocationFromJSON = storageLocationFromJSON;
|
|
26
|
+
exports.storageLocationToJSON = storageLocationToJSON;
|
|
25
27
|
exports.modelFromJSON = modelFromJSON;
|
|
26
28
|
exports.modelToJSON = modelToJSON;
|
|
27
29
|
exports.pressureSensorTypeFromJSON = pressureSensorTypeFromJSON;
|
|
@@ -32,6 +34,8 @@ exports.framerateFromJSON = framerateFromJSON;
|
|
|
32
34
|
exports.framerateToJSON = framerateToJSON;
|
|
33
35
|
exports.cameraFromJSON = cameraFromJSON;
|
|
34
36
|
exports.cameraToJSON = cameraToJSON;
|
|
37
|
+
exports.streamingProtocolFromJSON = streamingProtocolFromJSON;
|
|
38
|
+
exports.streamingProtocolToJSON = streamingProtocolToJSON;
|
|
35
39
|
exports.temperatureUnitFromJSON = temperatureUnitFromJSON;
|
|
36
40
|
exports.temperatureUnitToJSON = temperatureUnitToJSON;
|
|
37
41
|
exports.logoTypeFromJSON = logoTypeFromJSON;
|
|
@@ -54,16 +58,24 @@ exports.guestPortErrorFromJSON = guestPortErrorFromJSON;
|
|
|
54
58
|
exports.guestPortErrorToJSON = guestPortErrorToJSON;
|
|
55
59
|
exports.multibeamFrequencyModeFromJSON = multibeamFrequencyModeFromJSON;
|
|
56
60
|
exports.multibeamFrequencyModeToJSON = multibeamFrequencyModeToJSON;
|
|
61
|
+
exports.logEntry_LogLevelFromJSON = logEntry_LogLevelFromJSON;
|
|
62
|
+
exports.logEntry_LogLevelToJSON = logEntry_LogLevelToJSON;
|
|
63
|
+
exports.kernelLogEntry_KernelLogLevelFromJSON = kernelLogEntry_KernelLogLevelFromJSON;
|
|
64
|
+
exports.kernelLogEntry_KernelLogLevelToJSON = kernelLogEntry_KernelLogLevelToJSON;
|
|
57
65
|
exports.pingerConfiguration_MountingDirectionFromJSON = pingerConfiguration_MountingDirectionFromJSON;
|
|
58
66
|
exports.pingerConfiguration_MountingDirectionToJSON = pingerConfiguration_MountingDirectionToJSON;
|
|
59
67
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON;
|
|
60
68
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON;
|
|
69
|
+
exports.removableStorageDevice_StatusFromJSON = removableStorageDevice_StatusFromJSON;
|
|
70
|
+
exports.removableStorageDevice_StatusToJSON = removableStorageDevice_StatusToJSON;
|
|
61
71
|
exports.calibrationState_StatusFromJSON = calibrationState_StatusFromJSON;
|
|
62
72
|
exports.calibrationState_StatusToJSON = calibrationState_StatusToJSON;
|
|
63
73
|
exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
|
|
64
74
|
exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
|
|
65
75
|
exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
|
|
66
76
|
exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
|
|
77
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
|
|
78
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
|
|
67
79
|
/* eslint-disable */
|
|
68
80
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
69
81
|
const any_1 = require("./google/protobuf/any");
|
|
@@ -585,6 +597,51 @@ function notificationLevelToJSON(object) {
|
|
|
585
597
|
return "UNRECOGNIZED";
|
|
586
598
|
}
|
|
587
599
|
}
|
|
600
|
+
/**
|
|
601
|
+
* Storage location.
|
|
602
|
+
*
|
|
603
|
+
* Used to specify which storage location to use for recording photos and videos.
|
|
604
|
+
*/
|
|
605
|
+
var StorageLocation;
|
|
606
|
+
(function (StorageLocation) {
|
|
607
|
+
/** STORAGE_LOCATION_UNSPECIFIED - Unspecified. */
|
|
608
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_UNSPECIFIED"] = 0] = "STORAGE_LOCATION_UNSPECIFIED";
|
|
609
|
+
/** STORAGE_LOCATION_INTERNAL - Internal storage of the drone. */
|
|
610
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_INTERNAL"] = 1] = "STORAGE_LOCATION_INTERNAL";
|
|
611
|
+
/** STORAGE_LOCATION_REMOVABLE - Removable storage device. */
|
|
612
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_REMOVABLE"] = 2] = "STORAGE_LOCATION_REMOVABLE";
|
|
613
|
+
StorageLocation[StorageLocation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
614
|
+
})(StorageLocation || (exports.StorageLocation = StorageLocation = {}));
|
|
615
|
+
function storageLocationFromJSON(object) {
|
|
616
|
+
switch (object) {
|
|
617
|
+
case 0:
|
|
618
|
+
case "STORAGE_LOCATION_UNSPECIFIED":
|
|
619
|
+
return StorageLocation.STORAGE_LOCATION_UNSPECIFIED;
|
|
620
|
+
case 1:
|
|
621
|
+
case "STORAGE_LOCATION_INTERNAL":
|
|
622
|
+
return StorageLocation.STORAGE_LOCATION_INTERNAL;
|
|
623
|
+
case 2:
|
|
624
|
+
case "STORAGE_LOCATION_REMOVABLE":
|
|
625
|
+
return StorageLocation.STORAGE_LOCATION_REMOVABLE;
|
|
626
|
+
case -1:
|
|
627
|
+
case "UNRECOGNIZED":
|
|
628
|
+
default:
|
|
629
|
+
return StorageLocation.UNRECOGNIZED;
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
function storageLocationToJSON(object) {
|
|
633
|
+
switch (object) {
|
|
634
|
+
case StorageLocation.STORAGE_LOCATION_UNSPECIFIED:
|
|
635
|
+
return "STORAGE_LOCATION_UNSPECIFIED";
|
|
636
|
+
case StorageLocation.STORAGE_LOCATION_INTERNAL:
|
|
637
|
+
return "STORAGE_LOCATION_INTERNAL";
|
|
638
|
+
case StorageLocation.STORAGE_LOCATION_REMOVABLE:
|
|
639
|
+
return "STORAGE_LOCATION_REMOVABLE";
|
|
640
|
+
case StorageLocation.UNRECOGNIZED:
|
|
641
|
+
default:
|
|
642
|
+
return "UNRECOGNIZED";
|
|
643
|
+
}
|
|
644
|
+
}
|
|
588
645
|
/** Drone models produced by Blueye. */
|
|
589
646
|
var Model;
|
|
590
647
|
(function (Model) {
|
|
@@ -714,11 +771,13 @@ var Resolution;
|
|
|
714
771
|
(function (Resolution) {
|
|
715
772
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
716
773
|
Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
|
|
717
|
-
/**
|
|
718
|
-
Resolution[Resolution["
|
|
719
|
-
/** RESOLUTION_HD_720P - 720p HD
|
|
774
|
+
/** RESOLUTION_VGA_480P - VGA (640x480). */
|
|
775
|
+
Resolution[Resolution["RESOLUTION_VGA_480P"] = 4] = "RESOLUTION_VGA_480P";
|
|
776
|
+
/** RESOLUTION_HD_720P - 720p HD (1280x720). */
|
|
720
777
|
Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
|
|
721
|
-
/**
|
|
778
|
+
/** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
|
|
779
|
+
Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
|
|
780
|
+
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
|
|
722
781
|
Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
|
|
723
782
|
Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
724
783
|
})(Resolution || (exports.Resolution = Resolution = {}));
|
|
@@ -727,12 +786,15 @@ function resolutionFromJSON(object) {
|
|
|
727
786
|
case 0:
|
|
728
787
|
case "RESOLUTION_UNSPECIFIED":
|
|
729
788
|
return Resolution.RESOLUTION_UNSPECIFIED;
|
|
730
|
-
case
|
|
731
|
-
case "
|
|
732
|
-
return Resolution.
|
|
789
|
+
case 4:
|
|
790
|
+
case "RESOLUTION_VGA_480P":
|
|
791
|
+
return Resolution.RESOLUTION_VGA_480P;
|
|
733
792
|
case 2:
|
|
734
793
|
case "RESOLUTION_HD_720P":
|
|
735
794
|
return Resolution.RESOLUTION_HD_720P;
|
|
795
|
+
case 1:
|
|
796
|
+
case "RESOLUTION_FULLHD_1080P":
|
|
797
|
+
return Resolution.RESOLUTION_FULLHD_1080P;
|
|
736
798
|
case 3:
|
|
737
799
|
case "RESOLUTION_UHD_4K":
|
|
738
800
|
return Resolution.RESOLUTION_UHD_4K;
|
|
@@ -746,10 +808,12 @@ function resolutionToJSON(object) {
|
|
|
746
808
|
switch (object) {
|
|
747
809
|
case Resolution.RESOLUTION_UNSPECIFIED:
|
|
748
810
|
return "RESOLUTION_UNSPECIFIED";
|
|
749
|
-
case Resolution.
|
|
750
|
-
return "
|
|
811
|
+
case Resolution.RESOLUTION_VGA_480P:
|
|
812
|
+
return "RESOLUTION_VGA_480P";
|
|
751
813
|
case Resolution.RESOLUTION_HD_720P:
|
|
752
814
|
return "RESOLUTION_HD_720P";
|
|
815
|
+
case Resolution.RESOLUTION_FULLHD_1080P:
|
|
816
|
+
return "RESOLUTION_FULLHD_1080P";
|
|
753
817
|
case Resolution.RESOLUTION_UHD_4K:
|
|
754
818
|
return "RESOLUTION_UHD_4K";
|
|
755
819
|
case Resolution.UNRECOGNIZED:
|
|
@@ -764,7 +828,7 @@ var Framerate;
|
|
|
764
828
|
Framerate[Framerate["FRAMERATE_UNSPECIFIED"] = 0] = "FRAMERATE_UNSPECIFIED";
|
|
765
829
|
/** FRAMERATE_FPS_30 - 30 frames per second. */
|
|
766
830
|
Framerate[Framerate["FRAMERATE_FPS_30"] = 1] = "FRAMERATE_FPS_30";
|
|
767
|
-
/** FRAMERATE_FPS_25 - 25 frames per second. */
|
|
831
|
+
/** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
|
|
768
832
|
Framerate[Framerate["FRAMERATE_FPS_25"] = 2] = "FRAMERATE_FPS_25";
|
|
769
833
|
Framerate[Framerate["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
770
834
|
})(Framerate || (exports.Framerate = Framerate = {}));
|
|
@@ -839,6 +903,46 @@ function cameraToJSON(object) {
|
|
|
839
903
|
return "UNRECOGNIZED";
|
|
840
904
|
}
|
|
841
905
|
}
|
|
906
|
+
var StreamingProtocol;
|
|
907
|
+
(function (StreamingProtocol) {
|
|
908
|
+
/** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
|
|
909
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_UNSPECIFIED"] = 0] = "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
910
|
+
/** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
|
|
911
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_H264"] = 1] = "STREAMING_PROTOCOL_RTSP_H264";
|
|
912
|
+
/** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. No recording when activated. */
|
|
913
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_MJPEG"] = 2] = "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
914
|
+
StreamingProtocol[StreamingProtocol["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
915
|
+
})(StreamingProtocol || (exports.StreamingProtocol = StreamingProtocol = {}));
|
|
916
|
+
function streamingProtocolFromJSON(object) {
|
|
917
|
+
switch (object) {
|
|
918
|
+
case 0:
|
|
919
|
+
case "STREAMING_PROTOCOL_UNSPECIFIED":
|
|
920
|
+
return StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED;
|
|
921
|
+
case 1:
|
|
922
|
+
case "STREAMING_PROTOCOL_RTSP_H264":
|
|
923
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264;
|
|
924
|
+
case 2:
|
|
925
|
+
case "STREAMING_PROTOCOL_RTSP_MJPEG":
|
|
926
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG;
|
|
927
|
+
case -1:
|
|
928
|
+
case "UNRECOGNIZED":
|
|
929
|
+
default:
|
|
930
|
+
return StreamingProtocol.UNRECOGNIZED;
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
function streamingProtocolToJSON(object) {
|
|
934
|
+
switch (object) {
|
|
935
|
+
case StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED:
|
|
936
|
+
return "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
937
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264:
|
|
938
|
+
return "STREAMING_PROTOCOL_RTSP_H264";
|
|
939
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG:
|
|
940
|
+
return "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
941
|
+
case StreamingProtocol.UNRECOGNIZED:
|
|
942
|
+
default:
|
|
943
|
+
return "UNRECOGNIZED";
|
|
944
|
+
}
|
|
945
|
+
}
|
|
842
946
|
/** Available temperature units. */
|
|
843
947
|
var TemperatureUnit;
|
|
844
948
|
(function (TemperatureUnit) {
|
|
@@ -1172,6 +1276,12 @@ var GuestPortDeviceID;
|
|
|
1172
1276
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1173
1277
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1174
1278
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1279
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
|
|
1280
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1281
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 - Blueye Multibeam Skid Servo V2. */
|
|
1282
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2"] = 46] = "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
|
|
1283
|
+
/** GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT - Cerulean Omniscan 450 Compact. */
|
|
1284
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT"] = 47] = "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
|
|
1175
1285
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1176
1286
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1177
1287
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1311,6 +1421,15 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1311
1421
|
case 44:
|
|
1312
1422
|
case "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650":
|
|
1313
1423
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650;
|
|
1424
|
+
case 45:
|
|
1425
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
|
|
1426
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
|
|
1427
|
+
case 46:
|
|
1428
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2":
|
|
1429
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2;
|
|
1430
|
+
case 47:
|
|
1431
|
+
case "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT":
|
|
1432
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT;
|
|
1314
1433
|
case -1:
|
|
1315
1434
|
case "UNRECOGNIZED":
|
|
1316
1435
|
default:
|
|
@@ -1409,6 +1528,12 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1409
1528
|
return "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1410
1529
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650:
|
|
1411
1530
|
return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1531
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
|
|
1532
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1533
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2:
|
|
1534
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
|
|
1535
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT:
|
|
1536
|
+
return "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
|
|
1412
1537
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1413
1538
|
default:
|
|
1414
1539
|
return "UNRECOGNIZED";
|
|
@@ -1685,6 +1810,157 @@ function multibeamFrequencyModeToJSON(object) {
|
|
|
1685
1810
|
return "UNRECOGNIZED";
|
|
1686
1811
|
}
|
|
1687
1812
|
}
|
|
1813
|
+
var LogEntry_LogLevel;
|
|
1814
|
+
(function (LogEntry_LogLevel) {
|
|
1815
|
+
/** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
1816
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_UNSPECIFIED"] = 0] = "LOG_LEVEL_UNSPECIFIED";
|
|
1817
|
+
/** LOG_LEVEL_TRACE - Trace log level. */
|
|
1818
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_TRACE"] = 1] = "LOG_LEVEL_TRACE";
|
|
1819
|
+
/** LOG_LEVEL_DEBUG - Debug log level. */
|
|
1820
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_DEBUG"] = 2] = "LOG_LEVEL_DEBUG";
|
|
1821
|
+
/** LOG_LEVEL_INFO - Info log level. */
|
|
1822
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_INFO"] = 3] = "LOG_LEVEL_INFO";
|
|
1823
|
+
/** LOG_LEVEL_WARNING - Warning log level. */
|
|
1824
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_WARNING"] = 4] = "LOG_LEVEL_WARNING";
|
|
1825
|
+
/** LOG_LEVEL_ERROR - Error log level. */
|
|
1826
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_ERROR"] = 5] = "LOG_LEVEL_ERROR";
|
|
1827
|
+
/** LOG_LEVEL_CRITICAL - Critical log level. */
|
|
1828
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_CRITICAL"] = 6] = "LOG_LEVEL_CRITICAL";
|
|
1829
|
+
LogEntry_LogLevel[LogEntry_LogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1830
|
+
})(LogEntry_LogLevel || (exports.LogEntry_LogLevel = LogEntry_LogLevel = {}));
|
|
1831
|
+
function logEntry_LogLevelFromJSON(object) {
|
|
1832
|
+
switch (object) {
|
|
1833
|
+
case 0:
|
|
1834
|
+
case "LOG_LEVEL_UNSPECIFIED":
|
|
1835
|
+
return LogEntry_LogLevel.LOG_LEVEL_UNSPECIFIED;
|
|
1836
|
+
case 1:
|
|
1837
|
+
case "LOG_LEVEL_TRACE":
|
|
1838
|
+
return LogEntry_LogLevel.LOG_LEVEL_TRACE;
|
|
1839
|
+
case 2:
|
|
1840
|
+
case "LOG_LEVEL_DEBUG":
|
|
1841
|
+
return LogEntry_LogLevel.LOG_LEVEL_DEBUG;
|
|
1842
|
+
case 3:
|
|
1843
|
+
case "LOG_LEVEL_INFO":
|
|
1844
|
+
return LogEntry_LogLevel.LOG_LEVEL_INFO;
|
|
1845
|
+
case 4:
|
|
1846
|
+
case "LOG_LEVEL_WARNING":
|
|
1847
|
+
return LogEntry_LogLevel.LOG_LEVEL_WARNING;
|
|
1848
|
+
case 5:
|
|
1849
|
+
case "LOG_LEVEL_ERROR":
|
|
1850
|
+
return LogEntry_LogLevel.LOG_LEVEL_ERROR;
|
|
1851
|
+
case 6:
|
|
1852
|
+
case "LOG_LEVEL_CRITICAL":
|
|
1853
|
+
return LogEntry_LogLevel.LOG_LEVEL_CRITICAL;
|
|
1854
|
+
case -1:
|
|
1855
|
+
case "UNRECOGNIZED":
|
|
1856
|
+
default:
|
|
1857
|
+
return LogEntry_LogLevel.UNRECOGNIZED;
|
|
1858
|
+
}
|
|
1859
|
+
}
|
|
1860
|
+
function logEntry_LogLevelToJSON(object) {
|
|
1861
|
+
switch (object) {
|
|
1862
|
+
case LogEntry_LogLevel.LOG_LEVEL_UNSPECIFIED:
|
|
1863
|
+
return "LOG_LEVEL_UNSPECIFIED";
|
|
1864
|
+
case LogEntry_LogLevel.LOG_LEVEL_TRACE:
|
|
1865
|
+
return "LOG_LEVEL_TRACE";
|
|
1866
|
+
case LogEntry_LogLevel.LOG_LEVEL_DEBUG:
|
|
1867
|
+
return "LOG_LEVEL_DEBUG";
|
|
1868
|
+
case LogEntry_LogLevel.LOG_LEVEL_INFO:
|
|
1869
|
+
return "LOG_LEVEL_INFO";
|
|
1870
|
+
case LogEntry_LogLevel.LOG_LEVEL_WARNING:
|
|
1871
|
+
return "LOG_LEVEL_WARNING";
|
|
1872
|
+
case LogEntry_LogLevel.LOG_LEVEL_ERROR:
|
|
1873
|
+
return "LOG_LEVEL_ERROR";
|
|
1874
|
+
case LogEntry_LogLevel.LOG_LEVEL_CRITICAL:
|
|
1875
|
+
return "LOG_LEVEL_CRITICAL";
|
|
1876
|
+
case LogEntry_LogLevel.UNRECOGNIZED:
|
|
1877
|
+
default:
|
|
1878
|
+
return "UNRECOGNIZED";
|
|
1879
|
+
}
|
|
1880
|
+
}
|
|
1881
|
+
/** Kernel log level. */
|
|
1882
|
+
var KernelLogEntry_KernelLogLevel;
|
|
1883
|
+
(function (KernelLogEntry_KernelLogLevel) {
|
|
1884
|
+
/** KERNEL_LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
1885
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_UNSPECIFIED"] = 0] = "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
1886
|
+
/** KERNEL_LOG_LEVEL_EMERG - Emergency log level. */
|
|
1887
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_EMERG"] = 1] = "KERNEL_LOG_LEVEL_EMERG";
|
|
1888
|
+
/** KERNEL_LOG_LEVEL_ALERT - Alert log level. */
|
|
1889
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ALERT"] = 2] = "KERNEL_LOG_LEVEL_ALERT";
|
|
1890
|
+
/** KERNEL_LOG_LEVEL_CRIT - Critical log level. */
|
|
1891
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_CRIT"] = 3] = "KERNEL_LOG_LEVEL_CRIT";
|
|
1892
|
+
/** KERNEL_LOG_LEVEL_ERR - Error log level. */
|
|
1893
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ERR"] = 4] = "KERNEL_LOG_LEVEL_ERR";
|
|
1894
|
+
/** KERNEL_LOG_LEVEL_WARNING - Warning log level. */
|
|
1895
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_WARNING"] = 5] = "KERNEL_LOG_LEVEL_WARNING";
|
|
1896
|
+
/** KERNEL_LOG_LEVEL_NOTICE - Notice log level. */
|
|
1897
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_NOTICE"] = 6] = "KERNEL_LOG_LEVEL_NOTICE";
|
|
1898
|
+
/** KERNEL_LOG_LEVEL_INFO - Informational log level. */
|
|
1899
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_INFO"] = 7] = "KERNEL_LOG_LEVEL_INFO";
|
|
1900
|
+
/** KERNEL_LOG_LEVEL_DEBUG - Debug log level. */
|
|
1901
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_DEBUG"] = 8] = "KERNEL_LOG_LEVEL_DEBUG";
|
|
1902
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1903
|
+
})(KernelLogEntry_KernelLogLevel || (exports.KernelLogEntry_KernelLogLevel = KernelLogEntry_KernelLogLevel = {}));
|
|
1904
|
+
function kernelLogEntry_KernelLogLevelFromJSON(object) {
|
|
1905
|
+
switch (object) {
|
|
1906
|
+
case 0:
|
|
1907
|
+
case "KERNEL_LOG_LEVEL_UNSPECIFIED":
|
|
1908
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED;
|
|
1909
|
+
case 1:
|
|
1910
|
+
case "KERNEL_LOG_LEVEL_EMERG":
|
|
1911
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG;
|
|
1912
|
+
case 2:
|
|
1913
|
+
case "KERNEL_LOG_LEVEL_ALERT":
|
|
1914
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT;
|
|
1915
|
+
case 3:
|
|
1916
|
+
case "KERNEL_LOG_LEVEL_CRIT":
|
|
1917
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT;
|
|
1918
|
+
case 4:
|
|
1919
|
+
case "KERNEL_LOG_LEVEL_ERR":
|
|
1920
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR;
|
|
1921
|
+
case 5:
|
|
1922
|
+
case "KERNEL_LOG_LEVEL_WARNING":
|
|
1923
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING;
|
|
1924
|
+
case 6:
|
|
1925
|
+
case "KERNEL_LOG_LEVEL_NOTICE":
|
|
1926
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE;
|
|
1927
|
+
case 7:
|
|
1928
|
+
case "KERNEL_LOG_LEVEL_INFO":
|
|
1929
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO;
|
|
1930
|
+
case 8:
|
|
1931
|
+
case "KERNEL_LOG_LEVEL_DEBUG":
|
|
1932
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG;
|
|
1933
|
+
case -1:
|
|
1934
|
+
case "UNRECOGNIZED":
|
|
1935
|
+
default:
|
|
1936
|
+
return KernelLogEntry_KernelLogLevel.UNRECOGNIZED;
|
|
1937
|
+
}
|
|
1938
|
+
}
|
|
1939
|
+
function kernelLogEntry_KernelLogLevelToJSON(object) {
|
|
1940
|
+
switch (object) {
|
|
1941
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED:
|
|
1942
|
+
return "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
1943
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG:
|
|
1944
|
+
return "KERNEL_LOG_LEVEL_EMERG";
|
|
1945
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT:
|
|
1946
|
+
return "KERNEL_LOG_LEVEL_ALERT";
|
|
1947
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT:
|
|
1948
|
+
return "KERNEL_LOG_LEVEL_CRIT";
|
|
1949
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR:
|
|
1950
|
+
return "KERNEL_LOG_LEVEL_ERR";
|
|
1951
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING:
|
|
1952
|
+
return "KERNEL_LOG_LEVEL_WARNING";
|
|
1953
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE:
|
|
1954
|
+
return "KERNEL_LOG_LEVEL_NOTICE";
|
|
1955
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO:
|
|
1956
|
+
return "KERNEL_LOG_LEVEL_INFO";
|
|
1957
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG:
|
|
1958
|
+
return "KERNEL_LOG_LEVEL_DEBUG";
|
|
1959
|
+
case KernelLogEntry_KernelLogLevel.UNRECOGNIZED:
|
|
1960
|
+
default:
|
|
1961
|
+
return "UNRECOGNIZED";
|
|
1962
|
+
}
|
|
1963
|
+
}
|
|
1688
1964
|
var PingerConfiguration_MountingDirection;
|
|
1689
1965
|
(function (PingerConfiguration_MountingDirection) {
|
|
1690
1966
|
/** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
|
|
@@ -1799,10 +2075,65 @@ function batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON(object) {
|
|
|
1799
2075
|
return "UNRECOGNIZED";
|
|
1800
2076
|
}
|
|
1801
2077
|
}
|
|
2078
|
+
/** Overall status of the storage device. */
|
|
2079
|
+
var RemovableStorageDevice_Status;
|
|
2080
|
+
(function (RemovableStorageDevice_Status) {
|
|
2081
|
+
/** STATUS_UNSPECIFIED - Unspecified. */
|
|
2082
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNSPECIFIED"] = 0] = "STATUS_UNSPECIFIED";
|
|
2083
|
+
/** STATUS_READY - The storage device is valid and ready for use. */
|
|
2084
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_READY"] = 1] = "STATUS_READY";
|
|
2085
|
+
/** STATUS_FORMATTING - The storage device is being formatted. */
|
|
2086
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_FORMATTING"] = 2] = "STATUS_FORMATTING";
|
|
2087
|
+
/** STATUS_ERROR - The storage device is in an error state. */
|
|
2088
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_ERROR"] = 3] = "STATUS_ERROR";
|
|
2089
|
+
/** STATUS_UNPLUGGED - The storage device is not present. */
|
|
2090
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNPLUGGED"] = 4] = "STATUS_UNPLUGGED";
|
|
2091
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2092
|
+
})(RemovableStorageDevice_Status || (exports.RemovableStorageDevice_Status = RemovableStorageDevice_Status = {}));
|
|
2093
|
+
function removableStorageDevice_StatusFromJSON(object) {
|
|
2094
|
+
switch (object) {
|
|
2095
|
+
case 0:
|
|
2096
|
+
case "STATUS_UNSPECIFIED":
|
|
2097
|
+
return RemovableStorageDevice_Status.STATUS_UNSPECIFIED;
|
|
2098
|
+
case 1:
|
|
2099
|
+
case "STATUS_READY":
|
|
2100
|
+
return RemovableStorageDevice_Status.STATUS_READY;
|
|
2101
|
+
case 2:
|
|
2102
|
+
case "STATUS_FORMATTING":
|
|
2103
|
+
return RemovableStorageDevice_Status.STATUS_FORMATTING;
|
|
2104
|
+
case 3:
|
|
2105
|
+
case "STATUS_ERROR":
|
|
2106
|
+
return RemovableStorageDevice_Status.STATUS_ERROR;
|
|
2107
|
+
case 4:
|
|
2108
|
+
case "STATUS_UNPLUGGED":
|
|
2109
|
+
return RemovableStorageDevice_Status.STATUS_UNPLUGGED;
|
|
2110
|
+
case -1:
|
|
2111
|
+
case "UNRECOGNIZED":
|
|
2112
|
+
default:
|
|
2113
|
+
return RemovableStorageDevice_Status.UNRECOGNIZED;
|
|
2114
|
+
}
|
|
2115
|
+
}
|
|
2116
|
+
function removableStorageDevice_StatusToJSON(object) {
|
|
2117
|
+
switch (object) {
|
|
2118
|
+
case RemovableStorageDevice_Status.STATUS_UNSPECIFIED:
|
|
2119
|
+
return "STATUS_UNSPECIFIED";
|
|
2120
|
+
case RemovableStorageDevice_Status.STATUS_READY:
|
|
2121
|
+
return "STATUS_READY";
|
|
2122
|
+
case RemovableStorageDevice_Status.STATUS_FORMATTING:
|
|
2123
|
+
return "STATUS_FORMATTING";
|
|
2124
|
+
case RemovableStorageDevice_Status.STATUS_ERROR:
|
|
2125
|
+
return "STATUS_ERROR";
|
|
2126
|
+
case RemovableStorageDevice_Status.STATUS_UNPLUGGED:
|
|
2127
|
+
return "STATUS_UNPLUGGED";
|
|
2128
|
+
case RemovableStorageDevice_Status.UNRECOGNIZED:
|
|
2129
|
+
default:
|
|
2130
|
+
return "UNRECOGNIZED";
|
|
2131
|
+
}
|
|
2132
|
+
}
|
|
1802
2133
|
/**
|
|
1803
2134
|
* Status of the compass calibration procedure.
|
|
1804
2135
|
*
|
|
1805
|
-
* When calibration is started, the status will indicate the active (
|
|
2136
|
+
* When calibration is started, the status will indicate the active (up facing) axis.
|
|
1806
2137
|
*/
|
|
1807
2138
|
var CalibrationState_Status;
|
|
1808
2139
|
(function (CalibrationState_Status) {
|
|
@@ -1824,7 +2155,7 @@ var CalibrationState_Status;
|
|
|
1824
2155
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_Z_POSITIVE"] = 7] = "STATUS_CALIBRATING_Z_POSITIVE";
|
|
1825
2156
|
/** STATUS_CALIBRATING_Z_NEGATIVE - Compass is calibrating and the negative Z axis is active. */
|
|
1826
2157
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_Z_NEGATIVE"] = 8] = "STATUS_CALIBRATING_Z_NEGATIVE";
|
|
1827
|
-
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster
|
|
2158
|
+
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interference. */
|
|
1828
2159
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_THRUSTER"] = 9] = "STATUS_CALIBRATING_THRUSTER";
|
|
1829
2160
|
CalibrationState_Status[CalibrationState_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1830
2161
|
})(CalibrationState_Status || (exports.CalibrationState_Status = CalibrationState_Status = {}));
|
|
@@ -2015,6 +2346,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2015
2346
|
return "UNRECOGNIZED";
|
|
2016
2347
|
}
|
|
2017
2348
|
}
|
|
2349
|
+
var SurfaceUnitBatteryInfo_ChargeStatus;
|
|
2350
|
+
(function (SurfaceUnitBatteryInfo_ChargeStatus) {
|
|
2351
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_UNSPECIFIED"] = 0] = "CHARGE_STATUS_UNSPECIFIED";
|
|
2352
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_DISCHARGE"] = 1] = "CHARGE_STATUS_DISCHARGE";
|
|
2353
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE"] = 2] = "CHARGE_STATUS_CHARGE";
|
|
2354
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE_ERROR"] = 3] = "CHARGE_STATUS_CHARGE_ERROR";
|
|
2355
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2356
|
+
})(SurfaceUnitBatteryInfo_ChargeStatus || (exports.SurfaceUnitBatteryInfo_ChargeStatus = SurfaceUnitBatteryInfo_ChargeStatus = {}));
|
|
2357
|
+
function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object) {
|
|
2358
|
+
switch (object) {
|
|
2359
|
+
case 0:
|
|
2360
|
+
case "CHARGE_STATUS_UNSPECIFIED":
|
|
2361
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED;
|
|
2362
|
+
case 1:
|
|
2363
|
+
case "CHARGE_STATUS_DISCHARGE":
|
|
2364
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE;
|
|
2365
|
+
case 2:
|
|
2366
|
+
case "CHARGE_STATUS_CHARGE":
|
|
2367
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE;
|
|
2368
|
+
case 3:
|
|
2369
|
+
case "CHARGE_STATUS_CHARGE_ERROR":
|
|
2370
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR;
|
|
2371
|
+
case -1:
|
|
2372
|
+
case "UNRECOGNIZED":
|
|
2373
|
+
default:
|
|
2374
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED;
|
|
2375
|
+
}
|
|
2376
|
+
}
|
|
2377
|
+
function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
|
|
2378
|
+
switch (object) {
|
|
2379
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED:
|
|
2380
|
+
return "CHARGE_STATUS_UNSPECIFIED";
|
|
2381
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE:
|
|
2382
|
+
return "CHARGE_STATUS_DISCHARGE";
|
|
2383
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE:
|
|
2384
|
+
return "CHARGE_STATUS_CHARGE";
|
|
2385
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR:
|
|
2386
|
+
return "CHARGE_STATUS_CHARGE_ERROR";
|
|
2387
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED:
|
|
2388
|
+
default:
|
|
2389
|
+
return "UNRECOGNIZED";
|
|
2390
|
+
}
|
|
2391
|
+
}
|
|
2018
2392
|
function createBaseBinlogRecord() {
|
|
2019
2393
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2020
2394
|
}
|
|
@@ -2100,6 +2474,332 @@ exports.BinlogRecord = {
|
|
|
2100
2474
|
return message;
|
|
2101
2475
|
},
|
|
2102
2476
|
};
|
|
2477
|
+
function createBaseLogEntry() {
|
|
2478
|
+
return { timestamp: undefined, processName: "", processId: 0, threadId: 0, source: "", level: 0, message: "" };
|
|
2479
|
+
}
|
|
2480
|
+
exports.LogEntry = {
|
|
2481
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2482
|
+
if (message.timestamp !== undefined) {
|
|
2483
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(10).fork()).join();
|
|
2484
|
+
}
|
|
2485
|
+
if (message.processName !== "") {
|
|
2486
|
+
writer.uint32(18).string(message.processName);
|
|
2487
|
+
}
|
|
2488
|
+
if (message.processId !== 0) {
|
|
2489
|
+
writer.uint32(24).uint64(message.processId);
|
|
2490
|
+
}
|
|
2491
|
+
if (message.threadId !== 0) {
|
|
2492
|
+
writer.uint32(32).uint64(message.threadId);
|
|
2493
|
+
}
|
|
2494
|
+
if (message.source !== "") {
|
|
2495
|
+
writer.uint32(42).string(message.source);
|
|
2496
|
+
}
|
|
2497
|
+
if (message.level !== 0) {
|
|
2498
|
+
writer.uint32(48).int32(message.level);
|
|
2499
|
+
}
|
|
2500
|
+
if (message.message !== "") {
|
|
2501
|
+
writer.uint32(58).string(message.message);
|
|
2502
|
+
}
|
|
2503
|
+
return writer;
|
|
2504
|
+
},
|
|
2505
|
+
decode(input, length) {
|
|
2506
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2507
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2508
|
+
const message = createBaseLogEntry();
|
|
2509
|
+
while (reader.pos < end) {
|
|
2510
|
+
const tag = reader.uint32();
|
|
2511
|
+
switch (tag >>> 3) {
|
|
2512
|
+
case 1: {
|
|
2513
|
+
if (tag !== 10) {
|
|
2514
|
+
break;
|
|
2515
|
+
}
|
|
2516
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2517
|
+
continue;
|
|
2518
|
+
}
|
|
2519
|
+
case 2: {
|
|
2520
|
+
if (tag !== 18) {
|
|
2521
|
+
break;
|
|
2522
|
+
}
|
|
2523
|
+
message.processName = reader.string();
|
|
2524
|
+
continue;
|
|
2525
|
+
}
|
|
2526
|
+
case 3: {
|
|
2527
|
+
if (tag !== 24) {
|
|
2528
|
+
break;
|
|
2529
|
+
}
|
|
2530
|
+
message.processId = longToNumber(reader.uint64());
|
|
2531
|
+
continue;
|
|
2532
|
+
}
|
|
2533
|
+
case 4: {
|
|
2534
|
+
if (tag !== 32) {
|
|
2535
|
+
break;
|
|
2536
|
+
}
|
|
2537
|
+
message.threadId = longToNumber(reader.uint64());
|
|
2538
|
+
continue;
|
|
2539
|
+
}
|
|
2540
|
+
case 5: {
|
|
2541
|
+
if (tag !== 42) {
|
|
2542
|
+
break;
|
|
2543
|
+
}
|
|
2544
|
+
message.source = reader.string();
|
|
2545
|
+
continue;
|
|
2546
|
+
}
|
|
2547
|
+
case 6: {
|
|
2548
|
+
if (tag !== 48) {
|
|
2549
|
+
break;
|
|
2550
|
+
}
|
|
2551
|
+
message.level = reader.int32();
|
|
2552
|
+
continue;
|
|
2553
|
+
}
|
|
2554
|
+
case 7: {
|
|
2555
|
+
if (tag !== 58) {
|
|
2556
|
+
break;
|
|
2557
|
+
}
|
|
2558
|
+
message.message = reader.string();
|
|
2559
|
+
continue;
|
|
2560
|
+
}
|
|
2561
|
+
}
|
|
2562
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2563
|
+
break;
|
|
2564
|
+
}
|
|
2565
|
+
reader.skip(tag & 7);
|
|
2566
|
+
}
|
|
2567
|
+
return message;
|
|
2568
|
+
},
|
|
2569
|
+
fromJSON(object) {
|
|
2570
|
+
return {
|
|
2571
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2572
|
+
processName: isSet(object.processName) ? gt.String(object.processName) : "",
|
|
2573
|
+
processId: isSet(object.processId) ? gt.Number(object.processId) : 0,
|
|
2574
|
+
threadId: isSet(object.threadId) ? gt.Number(object.threadId) : 0,
|
|
2575
|
+
source: isSet(object.source) ? gt.String(object.source) : "",
|
|
2576
|
+
level: isSet(object.level) ? logEntry_LogLevelFromJSON(object.level) : 0,
|
|
2577
|
+
message: isSet(object.message) ? gt.String(object.message) : "",
|
|
2578
|
+
};
|
|
2579
|
+
},
|
|
2580
|
+
toJSON(message) {
|
|
2581
|
+
const obj = {};
|
|
2582
|
+
if (message.timestamp !== undefined) {
|
|
2583
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2584
|
+
}
|
|
2585
|
+
if (message.processName !== "") {
|
|
2586
|
+
obj.processName = message.processName;
|
|
2587
|
+
}
|
|
2588
|
+
if (message.processId !== 0) {
|
|
2589
|
+
obj.processId = Math.round(message.processId);
|
|
2590
|
+
}
|
|
2591
|
+
if (message.threadId !== 0) {
|
|
2592
|
+
obj.threadId = Math.round(message.threadId);
|
|
2593
|
+
}
|
|
2594
|
+
if (message.source !== "") {
|
|
2595
|
+
obj.source = message.source;
|
|
2596
|
+
}
|
|
2597
|
+
if (message.level !== 0) {
|
|
2598
|
+
obj.level = logEntry_LogLevelToJSON(message.level);
|
|
2599
|
+
}
|
|
2600
|
+
if (message.message !== "") {
|
|
2601
|
+
obj.message = message.message;
|
|
2602
|
+
}
|
|
2603
|
+
return obj;
|
|
2604
|
+
},
|
|
2605
|
+
create(base) {
|
|
2606
|
+
return exports.LogEntry.fromPartial(base ?? {});
|
|
2607
|
+
},
|
|
2608
|
+
fromPartial(object) {
|
|
2609
|
+
const message = createBaseLogEntry();
|
|
2610
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2611
|
+
message.processName = object.processName ?? "";
|
|
2612
|
+
message.processId = object.processId ?? 0;
|
|
2613
|
+
message.threadId = object.threadId ?? 0;
|
|
2614
|
+
message.source = object.source ?? "";
|
|
2615
|
+
message.level = object.level ?? 0;
|
|
2616
|
+
message.message = object.message ?? "";
|
|
2617
|
+
return message;
|
|
2618
|
+
},
|
|
2619
|
+
};
|
|
2620
|
+
function createBaseKernelLogEntry() {
|
|
2621
|
+
return { level: 0, seqnum: 0, timestamp: undefined, messages: [], fields: [] };
|
|
2622
|
+
}
|
|
2623
|
+
exports.KernelLogEntry = {
|
|
2624
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2625
|
+
if (message.level !== 0) {
|
|
2626
|
+
writer.uint32(8).int32(message.level);
|
|
2627
|
+
}
|
|
2628
|
+
if (message.seqnum !== 0) {
|
|
2629
|
+
writer.uint32(16).uint32(message.seqnum);
|
|
2630
|
+
}
|
|
2631
|
+
if (message.timestamp !== undefined) {
|
|
2632
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).join();
|
|
2633
|
+
}
|
|
2634
|
+
for (const v of message.messages) {
|
|
2635
|
+
writer.uint32(34).string(v);
|
|
2636
|
+
}
|
|
2637
|
+
for (const v of message.fields) {
|
|
2638
|
+
exports.KernelLogEntry_KeyValuePair.encode(v, writer.uint32(42).fork()).join();
|
|
2639
|
+
}
|
|
2640
|
+
return writer;
|
|
2641
|
+
},
|
|
2642
|
+
decode(input, length) {
|
|
2643
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2644
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2645
|
+
const message = createBaseKernelLogEntry();
|
|
2646
|
+
while (reader.pos < end) {
|
|
2647
|
+
const tag = reader.uint32();
|
|
2648
|
+
switch (tag >>> 3) {
|
|
2649
|
+
case 1: {
|
|
2650
|
+
if (tag !== 8) {
|
|
2651
|
+
break;
|
|
2652
|
+
}
|
|
2653
|
+
message.level = reader.int32();
|
|
2654
|
+
continue;
|
|
2655
|
+
}
|
|
2656
|
+
case 2: {
|
|
2657
|
+
if (tag !== 16) {
|
|
2658
|
+
break;
|
|
2659
|
+
}
|
|
2660
|
+
message.seqnum = reader.uint32();
|
|
2661
|
+
continue;
|
|
2662
|
+
}
|
|
2663
|
+
case 3: {
|
|
2664
|
+
if (tag !== 26) {
|
|
2665
|
+
break;
|
|
2666
|
+
}
|
|
2667
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2668
|
+
continue;
|
|
2669
|
+
}
|
|
2670
|
+
case 4: {
|
|
2671
|
+
if (tag !== 34) {
|
|
2672
|
+
break;
|
|
2673
|
+
}
|
|
2674
|
+
message.messages.push(reader.string());
|
|
2675
|
+
continue;
|
|
2676
|
+
}
|
|
2677
|
+
case 5: {
|
|
2678
|
+
if (tag !== 42) {
|
|
2679
|
+
break;
|
|
2680
|
+
}
|
|
2681
|
+
message.fields.push(exports.KernelLogEntry_KeyValuePair.decode(reader, reader.uint32()));
|
|
2682
|
+
continue;
|
|
2683
|
+
}
|
|
2684
|
+
}
|
|
2685
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2686
|
+
break;
|
|
2687
|
+
}
|
|
2688
|
+
reader.skip(tag & 7);
|
|
2689
|
+
}
|
|
2690
|
+
return message;
|
|
2691
|
+
},
|
|
2692
|
+
fromJSON(object) {
|
|
2693
|
+
return {
|
|
2694
|
+
level: isSet(object.level) ? kernelLogEntry_KernelLogLevelFromJSON(object.level) : 0,
|
|
2695
|
+
seqnum: isSet(object.seqnum) ? gt.Number(object.seqnum) : 0,
|
|
2696
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2697
|
+
messages: gt.Array.isArray(object?.messages) ? object.messages.map((e) => gt.String(e)) : [],
|
|
2698
|
+
fields: gt.Array.isArray(object?.fields)
|
|
2699
|
+
? object.fields.map((e) => exports.KernelLogEntry_KeyValuePair.fromJSON(e))
|
|
2700
|
+
: [],
|
|
2701
|
+
};
|
|
2702
|
+
},
|
|
2703
|
+
toJSON(message) {
|
|
2704
|
+
const obj = {};
|
|
2705
|
+
if (message.level !== 0) {
|
|
2706
|
+
obj.level = kernelLogEntry_KernelLogLevelToJSON(message.level);
|
|
2707
|
+
}
|
|
2708
|
+
if (message.seqnum !== 0) {
|
|
2709
|
+
obj.seqnum = Math.round(message.seqnum);
|
|
2710
|
+
}
|
|
2711
|
+
if (message.timestamp !== undefined) {
|
|
2712
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2713
|
+
}
|
|
2714
|
+
if (message.messages?.length) {
|
|
2715
|
+
obj.messages = message.messages;
|
|
2716
|
+
}
|
|
2717
|
+
if (message.fields?.length) {
|
|
2718
|
+
obj.fields = message.fields.map((e) => exports.KernelLogEntry_KeyValuePair.toJSON(e));
|
|
2719
|
+
}
|
|
2720
|
+
return obj;
|
|
2721
|
+
},
|
|
2722
|
+
create(base) {
|
|
2723
|
+
return exports.KernelLogEntry.fromPartial(base ?? {});
|
|
2724
|
+
},
|
|
2725
|
+
fromPartial(object) {
|
|
2726
|
+
const message = createBaseKernelLogEntry();
|
|
2727
|
+
message.level = object.level ?? 0;
|
|
2728
|
+
message.seqnum = object.seqnum ?? 0;
|
|
2729
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2730
|
+
message.messages = object.messages?.map((e) => e) || [];
|
|
2731
|
+
message.fields = object.fields?.map((e) => exports.KernelLogEntry_KeyValuePair.fromPartial(e)) || [];
|
|
2732
|
+
return message;
|
|
2733
|
+
},
|
|
2734
|
+
};
|
|
2735
|
+
function createBaseKernelLogEntry_KeyValuePair() {
|
|
2736
|
+
return { key: "", value: "" };
|
|
2737
|
+
}
|
|
2738
|
+
exports.KernelLogEntry_KeyValuePair = {
|
|
2739
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2740
|
+
if (message.key !== "") {
|
|
2741
|
+
writer.uint32(10).string(message.key);
|
|
2742
|
+
}
|
|
2743
|
+
if (message.value !== "") {
|
|
2744
|
+
writer.uint32(18).string(message.value);
|
|
2745
|
+
}
|
|
2746
|
+
return writer;
|
|
2747
|
+
},
|
|
2748
|
+
decode(input, length) {
|
|
2749
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2750
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2751
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2752
|
+
while (reader.pos < end) {
|
|
2753
|
+
const tag = reader.uint32();
|
|
2754
|
+
switch (tag >>> 3) {
|
|
2755
|
+
case 1: {
|
|
2756
|
+
if (tag !== 10) {
|
|
2757
|
+
break;
|
|
2758
|
+
}
|
|
2759
|
+
message.key = reader.string();
|
|
2760
|
+
continue;
|
|
2761
|
+
}
|
|
2762
|
+
case 2: {
|
|
2763
|
+
if (tag !== 18) {
|
|
2764
|
+
break;
|
|
2765
|
+
}
|
|
2766
|
+
message.value = reader.string();
|
|
2767
|
+
continue;
|
|
2768
|
+
}
|
|
2769
|
+
}
|
|
2770
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2771
|
+
break;
|
|
2772
|
+
}
|
|
2773
|
+
reader.skip(tag & 7);
|
|
2774
|
+
}
|
|
2775
|
+
return message;
|
|
2776
|
+
},
|
|
2777
|
+
fromJSON(object) {
|
|
2778
|
+
return {
|
|
2779
|
+
key: isSet(object.key) ? gt.String(object.key) : "",
|
|
2780
|
+
value: isSet(object.value) ? gt.String(object.value) : "",
|
|
2781
|
+
};
|
|
2782
|
+
},
|
|
2783
|
+
toJSON(message) {
|
|
2784
|
+
const obj = {};
|
|
2785
|
+
if (message.key !== "") {
|
|
2786
|
+
obj.key = message.key;
|
|
2787
|
+
}
|
|
2788
|
+
if (message.value !== "") {
|
|
2789
|
+
obj.value = message.value;
|
|
2790
|
+
}
|
|
2791
|
+
return obj;
|
|
2792
|
+
},
|
|
2793
|
+
create(base) {
|
|
2794
|
+
return exports.KernelLogEntry_KeyValuePair.fromPartial(base ?? {});
|
|
2795
|
+
},
|
|
2796
|
+
fromPartial(object) {
|
|
2797
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2798
|
+
message.key = object.key ?? "";
|
|
2799
|
+
message.value = object.value ?? "";
|
|
2800
|
+
return message;
|
|
2801
|
+
},
|
|
2802
|
+
};
|
|
2103
2803
|
function createBaseMotionInput() {
|
|
2104
2804
|
return { surge: 0, sway: 0, heave: 0, roll: 0, pitch: 0, yaw: 0, slow: 0, boost: 0 };
|
|
2105
2805
|
}
|
|
@@ -3381,6 +4081,9 @@ function createBaseRecordState() {
|
|
|
3381
4081
|
multibeamIsRecording: false,
|
|
3382
4082
|
multibeamSeconds: 0,
|
|
3383
4083
|
multibeamFps: 0,
|
|
4084
|
+
mainStorageLocation: 0,
|
|
4085
|
+
guestportStorageLocation: 0,
|
|
4086
|
+
multibeamStorageLocation: 0,
|
|
3384
4087
|
};
|
|
3385
4088
|
}
|
|
3386
4089
|
exports.RecordState = {
|
|
@@ -3409,8 +4112,17 @@ exports.RecordState = {
|
|
|
3409
4112
|
if (message.multibeamSeconds !== 0) {
|
|
3410
4113
|
writer.uint32(48).int32(message.multibeamSeconds);
|
|
3411
4114
|
}
|
|
3412
|
-
if (message.multibeamFps !== 0) {
|
|
3413
|
-
writer.uint32(77).float(message.multibeamFps);
|
|
4115
|
+
if (message.multibeamFps !== 0) {
|
|
4116
|
+
writer.uint32(77).float(message.multibeamFps);
|
|
4117
|
+
}
|
|
4118
|
+
if (message.mainStorageLocation !== 0) {
|
|
4119
|
+
writer.uint32(80).int32(message.mainStorageLocation);
|
|
4120
|
+
}
|
|
4121
|
+
if (message.guestportStorageLocation !== 0) {
|
|
4122
|
+
writer.uint32(88).int32(message.guestportStorageLocation);
|
|
4123
|
+
}
|
|
4124
|
+
if (message.multibeamStorageLocation !== 0) {
|
|
4125
|
+
writer.uint32(96).int32(message.multibeamStorageLocation);
|
|
3414
4126
|
}
|
|
3415
4127
|
return writer;
|
|
3416
4128
|
},
|
|
@@ -3484,6 +4196,27 @@ exports.RecordState = {
|
|
|
3484
4196
|
message.multibeamFps = reader.float();
|
|
3485
4197
|
continue;
|
|
3486
4198
|
}
|
|
4199
|
+
case 10: {
|
|
4200
|
+
if (tag !== 80) {
|
|
4201
|
+
break;
|
|
4202
|
+
}
|
|
4203
|
+
message.mainStorageLocation = reader.int32();
|
|
4204
|
+
continue;
|
|
4205
|
+
}
|
|
4206
|
+
case 11: {
|
|
4207
|
+
if (tag !== 88) {
|
|
4208
|
+
break;
|
|
4209
|
+
}
|
|
4210
|
+
message.guestportStorageLocation = reader.int32();
|
|
4211
|
+
continue;
|
|
4212
|
+
}
|
|
4213
|
+
case 12: {
|
|
4214
|
+
if (tag !== 96) {
|
|
4215
|
+
break;
|
|
4216
|
+
}
|
|
4217
|
+
message.multibeamStorageLocation = reader.int32();
|
|
4218
|
+
continue;
|
|
4219
|
+
}
|
|
3487
4220
|
}
|
|
3488
4221
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3489
4222
|
break;
|
|
@@ -3503,6 +4236,13 @@ exports.RecordState = {
|
|
|
3503
4236
|
multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
|
|
3504
4237
|
multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
|
|
3505
4238
|
multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
|
|
4239
|
+
mainStorageLocation: isSet(object.mainStorageLocation) ? storageLocationFromJSON(object.mainStorageLocation) : 0,
|
|
4240
|
+
guestportStorageLocation: isSet(object.guestportStorageLocation)
|
|
4241
|
+
? storageLocationFromJSON(object.guestportStorageLocation)
|
|
4242
|
+
: 0,
|
|
4243
|
+
multibeamStorageLocation: isSet(object.multibeamStorageLocation)
|
|
4244
|
+
? storageLocationFromJSON(object.multibeamStorageLocation)
|
|
4245
|
+
: 0,
|
|
3506
4246
|
};
|
|
3507
4247
|
},
|
|
3508
4248
|
toJSON(message) {
|
|
@@ -3534,6 +4274,15 @@ exports.RecordState = {
|
|
|
3534
4274
|
if (message.multibeamFps !== 0) {
|
|
3535
4275
|
obj.multibeamFps = message.multibeamFps;
|
|
3536
4276
|
}
|
|
4277
|
+
if (message.mainStorageLocation !== 0) {
|
|
4278
|
+
obj.mainStorageLocation = storageLocationToJSON(message.mainStorageLocation);
|
|
4279
|
+
}
|
|
4280
|
+
if (message.guestportStorageLocation !== 0) {
|
|
4281
|
+
obj.guestportStorageLocation = storageLocationToJSON(message.guestportStorageLocation);
|
|
4282
|
+
}
|
|
4283
|
+
if (message.multibeamStorageLocation !== 0) {
|
|
4284
|
+
obj.multibeamStorageLocation = storageLocationToJSON(message.multibeamStorageLocation);
|
|
4285
|
+
}
|
|
3537
4286
|
return obj;
|
|
3538
4287
|
},
|
|
3539
4288
|
create(base) {
|
|
@@ -3550,6 +4299,9 @@ exports.RecordState = {
|
|
|
3550
4299
|
message.multibeamIsRecording = object.multibeamIsRecording ?? false;
|
|
3551
4300
|
message.multibeamSeconds = object.multibeamSeconds ?? 0;
|
|
3552
4301
|
message.multibeamFps = object.multibeamFps ?? 0;
|
|
4302
|
+
message.mainStorageLocation = object.mainStorageLocation ?? 0;
|
|
4303
|
+
message.guestportStorageLocation = object.guestportStorageLocation ?? 0;
|
|
4304
|
+
message.multibeamStorageLocation = object.multibeamStorageLocation ?? 0;
|
|
3553
4305
|
return message;
|
|
3554
4306
|
},
|
|
3555
4307
|
};
|
|
@@ -7161,53 +7913,265 @@ function createBaseControllerHealth() {
|
|
|
7161
7913
|
}
|
|
7162
7914
|
exports.ControllerHealth = {
|
|
7163
7915
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
7164
|
-
if (message.depthError !== 0) {
|
|
7165
|
-
writer.uint32(13).float(message.depthError);
|
|
7166
|
-
}
|
|
7167
|
-
if (message.depthHealth !== 0) {
|
|
7168
|
-
writer.uint32(21).float(message.depthHealth);
|
|
7169
|
-
}
|
|
7170
|
-
if (message.headingError !== 0) {
|
|
7171
|
-
writer.uint32(29).float(message.headingError);
|
|
7916
|
+
if (message.depthError !== 0) {
|
|
7917
|
+
writer.uint32(13).float(message.depthError);
|
|
7918
|
+
}
|
|
7919
|
+
if (message.depthHealth !== 0) {
|
|
7920
|
+
writer.uint32(21).float(message.depthHealth);
|
|
7921
|
+
}
|
|
7922
|
+
if (message.headingError !== 0) {
|
|
7923
|
+
writer.uint32(29).float(message.headingError);
|
|
7924
|
+
}
|
|
7925
|
+
if (message.headingHealth !== 0) {
|
|
7926
|
+
writer.uint32(37).float(message.headingHealth);
|
|
7927
|
+
}
|
|
7928
|
+
return writer;
|
|
7929
|
+
},
|
|
7930
|
+
decode(input, length) {
|
|
7931
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
7932
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
7933
|
+
const message = createBaseControllerHealth();
|
|
7934
|
+
while (reader.pos < end) {
|
|
7935
|
+
const tag = reader.uint32();
|
|
7936
|
+
switch (tag >>> 3) {
|
|
7937
|
+
case 1: {
|
|
7938
|
+
if (tag !== 13) {
|
|
7939
|
+
break;
|
|
7940
|
+
}
|
|
7941
|
+
message.depthError = reader.float();
|
|
7942
|
+
continue;
|
|
7943
|
+
}
|
|
7944
|
+
case 2: {
|
|
7945
|
+
if (tag !== 21) {
|
|
7946
|
+
break;
|
|
7947
|
+
}
|
|
7948
|
+
message.depthHealth = reader.float();
|
|
7949
|
+
continue;
|
|
7950
|
+
}
|
|
7951
|
+
case 3: {
|
|
7952
|
+
if (tag !== 29) {
|
|
7953
|
+
break;
|
|
7954
|
+
}
|
|
7955
|
+
message.headingError = reader.float();
|
|
7956
|
+
continue;
|
|
7957
|
+
}
|
|
7958
|
+
case 4: {
|
|
7959
|
+
if (tag !== 37) {
|
|
7960
|
+
break;
|
|
7961
|
+
}
|
|
7962
|
+
message.headingHealth = reader.float();
|
|
7963
|
+
continue;
|
|
7964
|
+
}
|
|
7965
|
+
}
|
|
7966
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
7967
|
+
break;
|
|
7968
|
+
}
|
|
7969
|
+
reader.skip(tag & 7);
|
|
7970
|
+
}
|
|
7971
|
+
return message;
|
|
7972
|
+
},
|
|
7973
|
+
fromJSON(object) {
|
|
7974
|
+
return {
|
|
7975
|
+
depthError: isSet(object.depthError) ? gt.Number(object.depthError) : 0,
|
|
7976
|
+
depthHealth: isSet(object.depthHealth) ? gt.Number(object.depthHealth) : 0,
|
|
7977
|
+
headingError: isSet(object.headingError) ? gt.Number(object.headingError) : 0,
|
|
7978
|
+
headingHealth: isSet(object.headingHealth) ? gt.Number(object.headingHealth) : 0,
|
|
7979
|
+
};
|
|
7980
|
+
},
|
|
7981
|
+
toJSON(message) {
|
|
7982
|
+
const obj = {};
|
|
7983
|
+
if (message.depthError !== 0) {
|
|
7984
|
+
obj.depthError = message.depthError;
|
|
7985
|
+
}
|
|
7986
|
+
if (message.depthHealth !== 0) {
|
|
7987
|
+
obj.depthHealth = message.depthHealth;
|
|
7988
|
+
}
|
|
7989
|
+
if (message.headingError !== 0) {
|
|
7990
|
+
obj.headingError = message.headingError;
|
|
7991
|
+
}
|
|
7992
|
+
if (message.headingHealth !== 0) {
|
|
7993
|
+
obj.headingHealth = message.headingHealth;
|
|
7994
|
+
}
|
|
7995
|
+
return obj;
|
|
7996
|
+
},
|
|
7997
|
+
create(base) {
|
|
7998
|
+
return exports.ControllerHealth.fromPartial(base ?? {});
|
|
7999
|
+
},
|
|
8000
|
+
fromPartial(object) {
|
|
8001
|
+
const message = createBaseControllerHealth();
|
|
8002
|
+
message.depthError = object.depthError ?? 0;
|
|
8003
|
+
message.depthHealth = object.depthHealth ?? 0;
|
|
8004
|
+
message.headingError = object.headingError ?? 0;
|
|
8005
|
+
message.headingHealth = object.headingHealth ?? 0;
|
|
8006
|
+
return message;
|
|
8007
|
+
},
|
|
8008
|
+
};
|
|
8009
|
+
function createBaseDiveTime() {
|
|
8010
|
+
return { value: 0 };
|
|
8011
|
+
}
|
|
8012
|
+
exports.DiveTime = {
|
|
8013
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
8014
|
+
if (message.value !== 0) {
|
|
8015
|
+
writer.uint32(8).int32(message.value);
|
|
8016
|
+
}
|
|
8017
|
+
return writer;
|
|
8018
|
+
},
|
|
8019
|
+
decode(input, length) {
|
|
8020
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8021
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8022
|
+
const message = createBaseDiveTime();
|
|
8023
|
+
while (reader.pos < end) {
|
|
8024
|
+
const tag = reader.uint32();
|
|
8025
|
+
switch (tag >>> 3) {
|
|
8026
|
+
case 1: {
|
|
8027
|
+
if (tag !== 8) {
|
|
8028
|
+
break;
|
|
8029
|
+
}
|
|
8030
|
+
message.value = reader.int32();
|
|
8031
|
+
continue;
|
|
8032
|
+
}
|
|
8033
|
+
}
|
|
8034
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8035
|
+
break;
|
|
8036
|
+
}
|
|
8037
|
+
reader.skip(tag & 7);
|
|
8038
|
+
}
|
|
8039
|
+
return message;
|
|
8040
|
+
},
|
|
8041
|
+
fromJSON(object) {
|
|
8042
|
+
return { value: isSet(object.value) ? gt.Number(object.value) : 0 };
|
|
8043
|
+
},
|
|
8044
|
+
toJSON(message) {
|
|
8045
|
+
const obj = {};
|
|
8046
|
+
if (message.value !== 0) {
|
|
8047
|
+
obj.value = Math.round(message.value);
|
|
8048
|
+
}
|
|
8049
|
+
return obj;
|
|
8050
|
+
},
|
|
8051
|
+
create(base) {
|
|
8052
|
+
return exports.DiveTime.fromPartial(base ?? {});
|
|
8053
|
+
},
|
|
8054
|
+
fromPartial(object) {
|
|
8055
|
+
const message = createBaseDiveTime();
|
|
8056
|
+
message.value = object.value ?? 0;
|
|
8057
|
+
return message;
|
|
8058
|
+
},
|
|
8059
|
+
};
|
|
8060
|
+
function createBaseRecordOn() {
|
|
8061
|
+
return { main: false, guestport: false, multibeam: false };
|
|
8062
|
+
}
|
|
8063
|
+
exports.RecordOn = {
|
|
8064
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
8065
|
+
if (message.main !== false) {
|
|
8066
|
+
writer.uint32(8).bool(message.main);
|
|
8067
|
+
}
|
|
8068
|
+
if (message.guestport !== false) {
|
|
8069
|
+
writer.uint32(16).bool(message.guestport);
|
|
8070
|
+
}
|
|
8071
|
+
if (message.multibeam !== false) {
|
|
8072
|
+
writer.uint32(24).bool(message.multibeam);
|
|
8073
|
+
}
|
|
8074
|
+
return writer;
|
|
8075
|
+
},
|
|
8076
|
+
decode(input, length) {
|
|
8077
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8078
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8079
|
+
const message = createBaseRecordOn();
|
|
8080
|
+
while (reader.pos < end) {
|
|
8081
|
+
const tag = reader.uint32();
|
|
8082
|
+
switch (tag >>> 3) {
|
|
8083
|
+
case 1: {
|
|
8084
|
+
if (tag !== 8) {
|
|
8085
|
+
break;
|
|
8086
|
+
}
|
|
8087
|
+
message.main = reader.bool();
|
|
8088
|
+
continue;
|
|
8089
|
+
}
|
|
8090
|
+
case 2: {
|
|
8091
|
+
if (tag !== 16) {
|
|
8092
|
+
break;
|
|
8093
|
+
}
|
|
8094
|
+
message.guestport = reader.bool();
|
|
8095
|
+
continue;
|
|
8096
|
+
}
|
|
8097
|
+
case 3: {
|
|
8098
|
+
if (tag !== 24) {
|
|
8099
|
+
break;
|
|
8100
|
+
}
|
|
8101
|
+
message.multibeam = reader.bool();
|
|
8102
|
+
continue;
|
|
8103
|
+
}
|
|
8104
|
+
}
|
|
8105
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8106
|
+
break;
|
|
8107
|
+
}
|
|
8108
|
+
reader.skip(tag & 7);
|
|
8109
|
+
}
|
|
8110
|
+
return message;
|
|
8111
|
+
},
|
|
8112
|
+
fromJSON(object) {
|
|
8113
|
+
return {
|
|
8114
|
+
main: isSet(object.main) ? gt.Boolean(object.main) : false,
|
|
8115
|
+
guestport: isSet(object.guestport) ? gt.Boolean(object.guestport) : false,
|
|
8116
|
+
multibeam: isSet(object.multibeam) ? gt.Boolean(object.multibeam) : false,
|
|
8117
|
+
};
|
|
8118
|
+
},
|
|
8119
|
+
toJSON(message) {
|
|
8120
|
+
const obj = {};
|
|
8121
|
+
if (message.main !== false) {
|
|
8122
|
+
obj.main = message.main;
|
|
8123
|
+
}
|
|
8124
|
+
if (message.guestport !== false) {
|
|
8125
|
+
obj.guestport = message.guestport;
|
|
8126
|
+
}
|
|
8127
|
+
if (message.multibeam !== false) {
|
|
8128
|
+
obj.multibeam = message.multibeam;
|
|
8129
|
+
}
|
|
8130
|
+
return obj;
|
|
8131
|
+
},
|
|
8132
|
+
create(base) {
|
|
8133
|
+
return exports.RecordOn.fromPartial(base ?? {});
|
|
8134
|
+
},
|
|
8135
|
+
fromPartial(object) {
|
|
8136
|
+
const message = createBaseRecordOn();
|
|
8137
|
+
message.main = object.main ?? false;
|
|
8138
|
+
message.guestport = object.guestport ?? false;
|
|
8139
|
+
message.multibeam = object.multibeam ?? false;
|
|
8140
|
+
return message;
|
|
8141
|
+
},
|
|
8142
|
+
};
|
|
8143
|
+
function createBaseStorageSpace() {
|
|
8144
|
+
return { totalSpace: 0, freeSpace: 0 };
|
|
8145
|
+
}
|
|
8146
|
+
exports.StorageSpace = {
|
|
8147
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
8148
|
+
if (message.totalSpace !== 0) {
|
|
8149
|
+
writer.uint32(8).int64(message.totalSpace);
|
|
7172
8150
|
}
|
|
7173
|
-
if (message.
|
|
7174
|
-
writer.uint32(
|
|
8151
|
+
if (message.freeSpace !== 0) {
|
|
8152
|
+
writer.uint32(16).int64(message.freeSpace);
|
|
7175
8153
|
}
|
|
7176
8154
|
return writer;
|
|
7177
8155
|
},
|
|
7178
8156
|
decode(input, length) {
|
|
7179
8157
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
7180
8158
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
7181
|
-
const message =
|
|
8159
|
+
const message = createBaseStorageSpace();
|
|
7182
8160
|
while (reader.pos < end) {
|
|
7183
8161
|
const tag = reader.uint32();
|
|
7184
8162
|
switch (tag >>> 3) {
|
|
7185
8163
|
case 1: {
|
|
7186
|
-
if (tag !==
|
|
8164
|
+
if (tag !== 8) {
|
|
7187
8165
|
break;
|
|
7188
8166
|
}
|
|
7189
|
-
message.
|
|
8167
|
+
message.totalSpace = longToNumber(reader.int64());
|
|
7190
8168
|
continue;
|
|
7191
8169
|
}
|
|
7192
8170
|
case 2: {
|
|
7193
|
-
if (tag !==
|
|
7194
|
-
break;
|
|
7195
|
-
}
|
|
7196
|
-
message.depthHealth = reader.float();
|
|
7197
|
-
continue;
|
|
7198
|
-
}
|
|
7199
|
-
case 3: {
|
|
7200
|
-
if (tag !== 29) {
|
|
7201
|
-
break;
|
|
7202
|
-
}
|
|
7203
|
-
message.headingError = reader.float();
|
|
7204
|
-
continue;
|
|
7205
|
-
}
|
|
7206
|
-
case 4: {
|
|
7207
|
-
if (tag !== 37) {
|
|
8171
|
+
if (tag !== 16) {
|
|
7208
8172
|
break;
|
|
7209
8173
|
}
|
|
7210
|
-
message.
|
|
8174
|
+
message.freeSpace = longToNumber(reader.int64());
|
|
7211
8175
|
continue;
|
|
7212
8176
|
}
|
|
7213
8177
|
}
|
|
@@ -7220,62 +8184,92 @@ exports.ControllerHealth = {
|
|
|
7220
8184
|
},
|
|
7221
8185
|
fromJSON(object) {
|
|
7222
8186
|
return {
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
headingError: isSet(object.headingError) ? gt.Number(object.headingError) : 0,
|
|
7226
|
-
headingHealth: isSet(object.headingHealth) ? gt.Number(object.headingHealth) : 0,
|
|
8187
|
+
totalSpace: isSet(object.totalSpace) ? gt.Number(object.totalSpace) : 0,
|
|
8188
|
+
freeSpace: isSet(object.freeSpace) ? gt.Number(object.freeSpace) : 0,
|
|
7227
8189
|
};
|
|
7228
8190
|
},
|
|
7229
8191
|
toJSON(message) {
|
|
7230
8192
|
const obj = {};
|
|
7231
|
-
if (message.
|
|
7232
|
-
obj.
|
|
7233
|
-
}
|
|
7234
|
-
if (message.depthHealth !== 0) {
|
|
7235
|
-
obj.depthHealth = message.depthHealth;
|
|
7236
|
-
}
|
|
7237
|
-
if (message.headingError !== 0) {
|
|
7238
|
-
obj.headingError = message.headingError;
|
|
8193
|
+
if (message.totalSpace !== 0) {
|
|
8194
|
+
obj.totalSpace = Math.round(message.totalSpace);
|
|
7239
8195
|
}
|
|
7240
|
-
if (message.
|
|
7241
|
-
obj.
|
|
8196
|
+
if (message.freeSpace !== 0) {
|
|
8197
|
+
obj.freeSpace = Math.round(message.freeSpace);
|
|
7242
8198
|
}
|
|
7243
8199
|
return obj;
|
|
7244
8200
|
},
|
|
7245
8201
|
create(base) {
|
|
7246
|
-
return exports.
|
|
8202
|
+
return exports.StorageSpace.fromPartial(base ?? {});
|
|
7247
8203
|
},
|
|
7248
8204
|
fromPartial(object) {
|
|
7249
|
-
const message =
|
|
7250
|
-
message.
|
|
7251
|
-
message.
|
|
7252
|
-
message.headingError = object.headingError ?? 0;
|
|
7253
|
-
message.headingHealth = object.headingHealth ?? 0;
|
|
8205
|
+
const message = createBaseStorageSpace();
|
|
8206
|
+
message.totalSpace = object.totalSpace ?? 0;
|
|
8207
|
+
message.freeSpace = object.freeSpace ?? 0;
|
|
7254
8208
|
return message;
|
|
7255
8209
|
},
|
|
7256
8210
|
};
|
|
7257
|
-
function
|
|
7258
|
-
return {
|
|
8211
|
+
function createBaseStoragePartition() {
|
|
8212
|
+
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "", label: "" };
|
|
7259
8213
|
}
|
|
7260
|
-
exports.
|
|
8214
|
+
exports.StoragePartition = {
|
|
7261
8215
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
7262
|
-
if (message.
|
|
7263
|
-
writer.uint32(
|
|
8216
|
+
if (message.storageSpace !== undefined) {
|
|
8217
|
+
exports.StorageSpace.encode(message.storageSpace, writer.uint32(10).fork()).join();
|
|
8218
|
+
}
|
|
8219
|
+
if (message.fileSystemType !== "") {
|
|
8220
|
+
writer.uint32(18).string(message.fileSystemType);
|
|
8221
|
+
}
|
|
8222
|
+
if (message.devicePath !== "") {
|
|
8223
|
+
writer.uint32(26).string(message.devicePath);
|
|
8224
|
+
}
|
|
8225
|
+
if (message.mountPath !== "") {
|
|
8226
|
+
writer.uint32(34).string(message.mountPath);
|
|
8227
|
+
}
|
|
8228
|
+
if (message.label !== "") {
|
|
8229
|
+
writer.uint32(42).string(message.label);
|
|
7264
8230
|
}
|
|
7265
8231
|
return writer;
|
|
7266
8232
|
},
|
|
7267
8233
|
decode(input, length) {
|
|
7268
8234
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
7269
8235
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
7270
|
-
const message =
|
|
8236
|
+
const message = createBaseStoragePartition();
|
|
7271
8237
|
while (reader.pos < end) {
|
|
7272
8238
|
const tag = reader.uint32();
|
|
7273
8239
|
switch (tag >>> 3) {
|
|
7274
8240
|
case 1: {
|
|
7275
|
-
if (tag !==
|
|
8241
|
+
if (tag !== 10) {
|
|
7276
8242
|
break;
|
|
7277
8243
|
}
|
|
7278
|
-
message.
|
|
8244
|
+
message.storageSpace = exports.StorageSpace.decode(reader, reader.uint32());
|
|
8245
|
+
continue;
|
|
8246
|
+
}
|
|
8247
|
+
case 2: {
|
|
8248
|
+
if (tag !== 18) {
|
|
8249
|
+
break;
|
|
8250
|
+
}
|
|
8251
|
+
message.fileSystemType = reader.string();
|
|
8252
|
+
continue;
|
|
8253
|
+
}
|
|
8254
|
+
case 3: {
|
|
8255
|
+
if (tag !== 26) {
|
|
8256
|
+
break;
|
|
8257
|
+
}
|
|
8258
|
+
message.devicePath = reader.string();
|
|
8259
|
+
continue;
|
|
8260
|
+
}
|
|
8261
|
+
case 4: {
|
|
8262
|
+
if (tag !== 34) {
|
|
8263
|
+
break;
|
|
8264
|
+
}
|
|
8265
|
+
message.mountPath = reader.string();
|
|
8266
|
+
continue;
|
|
8267
|
+
}
|
|
8268
|
+
case 5: {
|
|
8269
|
+
if (tag !== 42) {
|
|
8270
|
+
break;
|
|
8271
|
+
}
|
|
8272
|
+
message.label = reader.string();
|
|
7279
8273
|
continue;
|
|
7280
8274
|
}
|
|
7281
8275
|
}
|
|
@@ -7287,66 +8281,120 @@ exports.DiveTime = {
|
|
|
7287
8281
|
return message;
|
|
7288
8282
|
},
|
|
7289
8283
|
fromJSON(object) {
|
|
7290
|
-
return {
|
|
8284
|
+
return {
|
|
8285
|
+
storageSpace: isSet(object.storageSpace) ? exports.StorageSpace.fromJSON(object.storageSpace) : undefined,
|
|
8286
|
+
fileSystemType: isSet(object.fileSystemType) ? gt.String(object.fileSystemType) : "",
|
|
8287
|
+
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
8288
|
+
mountPath: isSet(object.mountPath) ? gt.String(object.mountPath) : "",
|
|
8289
|
+
label: isSet(object.label) ? gt.String(object.label) : "",
|
|
8290
|
+
};
|
|
7291
8291
|
},
|
|
7292
8292
|
toJSON(message) {
|
|
7293
8293
|
const obj = {};
|
|
7294
|
-
if (message.
|
|
7295
|
-
obj.
|
|
8294
|
+
if (message.storageSpace !== undefined) {
|
|
8295
|
+
obj.storageSpace = exports.StorageSpace.toJSON(message.storageSpace);
|
|
8296
|
+
}
|
|
8297
|
+
if (message.fileSystemType !== "") {
|
|
8298
|
+
obj.fileSystemType = message.fileSystemType;
|
|
8299
|
+
}
|
|
8300
|
+
if (message.devicePath !== "") {
|
|
8301
|
+
obj.devicePath = message.devicePath;
|
|
8302
|
+
}
|
|
8303
|
+
if (message.mountPath !== "") {
|
|
8304
|
+
obj.mountPath = message.mountPath;
|
|
8305
|
+
}
|
|
8306
|
+
if (message.label !== "") {
|
|
8307
|
+
obj.label = message.label;
|
|
7296
8308
|
}
|
|
7297
8309
|
return obj;
|
|
7298
8310
|
},
|
|
7299
8311
|
create(base) {
|
|
7300
|
-
return exports.
|
|
8312
|
+
return exports.StoragePartition.fromPartial(base ?? {});
|
|
7301
8313
|
},
|
|
7302
8314
|
fromPartial(object) {
|
|
7303
|
-
const message =
|
|
7304
|
-
message.
|
|
8315
|
+
const message = createBaseStoragePartition();
|
|
8316
|
+
message.storageSpace = (object.storageSpace !== undefined && object.storageSpace !== null)
|
|
8317
|
+
? exports.StorageSpace.fromPartial(object.storageSpace)
|
|
8318
|
+
: undefined;
|
|
8319
|
+
message.fileSystemType = object.fileSystemType ?? "";
|
|
8320
|
+
message.devicePath = object.devicePath ?? "";
|
|
8321
|
+
message.mountPath = object.mountPath ?? "";
|
|
8322
|
+
message.label = object.label ?? "";
|
|
7305
8323
|
return message;
|
|
7306
8324
|
},
|
|
7307
8325
|
};
|
|
7308
|
-
function
|
|
7309
|
-
return {
|
|
8326
|
+
function createBaseRemovableStorageDevice() {
|
|
8327
|
+
return { vendorName: "", modelName: "", devicePath: "", status: 0, errorFlags: undefined, partitions: [] };
|
|
7310
8328
|
}
|
|
7311
|
-
exports.
|
|
8329
|
+
exports.RemovableStorageDevice = {
|
|
7312
8330
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
7313
|
-
if (message.
|
|
7314
|
-
writer.uint32(
|
|
8331
|
+
if (message.vendorName !== "") {
|
|
8332
|
+
writer.uint32(10).string(message.vendorName);
|
|
7315
8333
|
}
|
|
7316
|
-
if (message.
|
|
7317
|
-
writer.uint32(
|
|
8334
|
+
if (message.modelName !== "") {
|
|
8335
|
+
writer.uint32(18).string(message.modelName);
|
|
7318
8336
|
}
|
|
7319
|
-
if (message.
|
|
7320
|
-
writer.uint32(
|
|
8337
|
+
if (message.devicePath !== "") {
|
|
8338
|
+
writer.uint32(26).string(message.devicePath);
|
|
8339
|
+
}
|
|
8340
|
+
if (message.status !== 0) {
|
|
8341
|
+
writer.uint32(32).int32(message.status);
|
|
8342
|
+
}
|
|
8343
|
+
if (message.errorFlags !== undefined) {
|
|
8344
|
+
exports.RemovableStorageErrorFlags.encode(message.errorFlags, writer.uint32(42).fork()).join();
|
|
8345
|
+
}
|
|
8346
|
+
for (const v of message.partitions) {
|
|
8347
|
+
exports.StoragePartition.encode(v, writer.uint32(50).fork()).join();
|
|
7321
8348
|
}
|
|
7322
8349
|
return writer;
|
|
7323
8350
|
},
|
|
7324
8351
|
decode(input, length) {
|
|
7325
8352
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
7326
8353
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
7327
|
-
const message =
|
|
8354
|
+
const message = createBaseRemovableStorageDevice();
|
|
7328
8355
|
while (reader.pos < end) {
|
|
7329
8356
|
const tag = reader.uint32();
|
|
7330
8357
|
switch (tag >>> 3) {
|
|
7331
8358
|
case 1: {
|
|
7332
|
-
if (tag !==
|
|
8359
|
+
if (tag !== 10) {
|
|
7333
8360
|
break;
|
|
7334
8361
|
}
|
|
7335
|
-
message.
|
|
8362
|
+
message.vendorName = reader.string();
|
|
7336
8363
|
continue;
|
|
7337
8364
|
}
|
|
7338
8365
|
case 2: {
|
|
7339
|
-
if (tag !==
|
|
8366
|
+
if (tag !== 18) {
|
|
7340
8367
|
break;
|
|
7341
8368
|
}
|
|
7342
|
-
message.
|
|
8369
|
+
message.modelName = reader.string();
|
|
7343
8370
|
continue;
|
|
7344
8371
|
}
|
|
7345
8372
|
case 3: {
|
|
7346
|
-
if (tag !==
|
|
8373
|
+
if (tag !== 26) {
|
|
7347
8374
|
break;
|
|
7348
8375
|
}
|
|
7349
|
-
message.
|
|
8376
|
+
message.devicePath = reader.string();
|
|
8377
|
+
continue;
|
|
8378
|
+
}
|
|
8379
|
+
case 4: {
|
|
8380
|
+
if (tag !== 32) {
|
|
8381
|
+
break;
|
|
8382
|
+
}
|
|
8383
|
+
message.status = reader.int32();
|
|
8384
|
+
continue;
|
|
8385
|
+
}
|
|
8386
|
+
case 5: {
|
|
8387
|
+
if (tag !== 42) {
|
|
8388
|
+
break;
|
|
8389
|
+
}
|
|
8390
|
+
message.errorFlags = exports.RemovableStorageErrorFlags.decode(reader, reader.uint32());
|
|
8391
|
+
continue;
|
|
8392
|
+
}
|
|
8393
|
+
case 6: {
|
|
8394
|
+
if (tag !== 50) {
|
|
8395
|
+
break;
|
|
8396
|
+
}
|
|
8397
|
+
message.partitions.push(exports.StoragePartition.decode(reader, reader.uint32()));
|
|
7350
8398
|
continue;
|
|
7351
8399
|
}
|
|
7352
8400
|
}
|
|
@@ -7359,67 +8407,133 @@ exports.RecordOn = {
|
|
|
7359
8407
|
},
|
|
7360
8408
|
fromJSON(object) {
|
|
7361
8409
|
return {
|
|
7362
|
-
|
|
7363
|
-
|
|
7364
|
-
|
|
8410
|
+
vendorName: isSet(object.vendorName) ? gt.String(object.vendorName) : "",
|
|
8411
|
+
modelName: isSet(object.modelName) ? gt.String(object.modelName) : "",
|
|
8412
|
+
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
8413
|
+
status: isSet(object.status) ? removableStorageDevice_StatusFromJSON(object.status) : 0,
|
|
8414
|
+
errorFlags: isSet(object.errorFlags) ? exports.RemovableStorageErrorFlags.fromJSON(object.errorFlags) : undefined,
|
|
8415
|
+
partitions: gt.Array.isArray(object?.partitions)
|
|
8416
|
+
? object.partitions.map((e) => exports.StoragePartition.fromJSON(e))
|
|
8417
|
+
: [],
|
|
7365
8418
|
};
|
|
7366
8419
|
},
|
|
7367
8420
|
toJSON(message) {
|
|
7368
8421
|
const obj = {};
|
|
7369
|
-
if (message.
|
|
7370
|
-
obj.
|
|
8422
|
+
if (message.vendorName !== "") {
|
|
8423
|
+
obj.vendorName = message.vendorName;
|
|
7371
8424
|
}
|
|
7372
|
-
if (message.
|
|
7373
|
-
obj.
|
|
8425
|
+
if (message.modelName !== "") {
|
|
8426
|
+
obj.modelName = message.modelName;
|
|
7374
8427
|
}
|
|
7375
|
-
if (message.
|
|
7376
|
-
obj.
|
|
8428
|
+
if (message.devicePath !== "") {
|
|
8429
|
+
obj.devicePath = message.devicePath;
|
|
8430
|
+
}
|
|
8431
|
+
if (message.status !== 0) {
|
|
8432
|
+
obj.status = removableStorageDevice_StatusToJSON(message.status);
|
|
8433
|
+
}
|
|
8434
|
+
if (message.errorFlags !== undefined) {
|
|
8435
|
+
obj.errorFlags = exports.RemovableStorageErrorFlags.toJSON(message.errorFlags);
|
|
8436
|
+
}
|
|
8437
|
+
if (message.partitions?.length) {
|
|
8438
|
+
obj.partitions = message.partitions.map((e) => exports.StoragePartition.toJSON(e));
|
|
7377
8439
|
}
|
|
7378
8440
|
return obj;
|
|
7379
8441
|
},
|
|
7380
8442
|
create(base) {
|
|
7381
|
-
return exports.
|
|
8443
|
+
return exports.RemovableStorageDevice.fromPartial(base ?? {});
|
|
7382
8444
|
},
|
|
7383
8445
|
fromPartial(object) {
|
|
7384
|
-
const message =
|
|
7385
|
-
message.
|
|
7386
|
-
message.
|
|
7387
|
-
message.
|
|
8446
|
+
const message = createBaseRemovableStorageDevice();
|
|
8447
|
+
message.vendorName = object.vendorName ?? "";
|
|
8448
|
+
message.modelName = object.modelName ?? "";
|
|
8449
|
+
message.devicePath = object.devicePath ?? "";
|
|
8450
|
+
message.status = object.status ?? 0;
|
|
8451
|
+
message.errorFlags = (object.errorFlags !== undefined && object.errorFlags !== null)
|
|
8452
|
+
? exports.RemovableStorageErrorFlags.fromPartial(object.errorFlags)
|
|
8453
|
+
: undefined;
|
|
8454
|
+
message.partitions = object.partitions?.map((e) => exports.StoragePartition.fromPartial(e)) || [];
|
|
7388
8455
|
return message;
|
|
7389
8456
|
},
|
|
7390
8457
|
};
|
|
7391
|
-
function
|
|
7392
|
-
return {
|
|
8458
|
+
function createBaseRemovableStorageErrorFlags() {
|
|
8459
|
+
return {
|
|
8460
|
+
errorMessage: "",
|
|
8461
|
+
noPartitionsFound: false,
|
|
8462
|
+
multiplePartitionsFound: false,
|
|
8463
|
+
wrongFileSystemFound: false,
|
|
8464
|
+
deviceIsReadOnly: false,
|
|
8465
|
+
formattingFailed: false,
|
|
8466
|
+
};
|
|
7393
8467
|
}
|
|
7394
|
-
exports.
|
|
8468
|
+
exports.RemovableStorageErrorFlags = {
|
|
7395
8469
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
7396
|
-
if (message.
|
|
7397
|
-
writer.uint32(
|
|
8470
|
+
if (message.errorMessage !== "") {
|
|
8471
|
+
writer.uint32(10).string(message.errorMessage);
|
|
7398
8472
|
}
|
|
7399
|
-
if (message.
|
|
7400
|
-
writer.uint32(16).
|
|
8473
|
+
if (message.noPartitionsFound !== false) {
|
|
8474
|
+
writer.uint32(16).bool(message.noPartitionsFound);
|
|
8475
|
+
}
|
|
8476
|
+
if (message.multiplePartitionsFound !== false) {
|
|
8477
|
+
writer.uint32(24).bool(message.multiplePartitionsFound);
|
|
8478
|
+
}
|
|
8479
|
+
if (message.wrongFileSystemFound !== false) {
|
|
8480
|
+
writer.uint32(32).bool(message.wrongFileSystemFound);
|
|
8481
|
+
}
|
|
8482
|
+
if (message.deviceIsReadOnly !== false) {
|
|
8483
|
+
writer.uint32(40).bool(message.deviceIsReadOnly);
|
|
8484
|
+
}
|
|
8485
|
+
if (message.formattingFailed !== false) {
|
|
8486
|
+
writer.uint32(48).bool(message.formattingFailed);
|
|
7401
8487
|
}
|
|
7402
8488
|
return writer;
|
|
7403
8489
|
},
|
|
7404
8490
|
decode(input, length) {
|
|
7405
8491
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
7406
8492
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
7407
|
-
const message =
|
|
8493
|
+
const message = createBaseRemovableStorageErrorFlags();
|
|
7408
8494
|
while (reader.pos < end) {
|
|
7409
8495
|
const tag = reader.uint32();
|
|
7410
8496
|
switch (tag >>> 3) {
|
|
7411
8497
|
case 1: {
|
|
7412
|
-
if (tag !==
|
|
8498
|
+
if (tag !== 10) {
|
|
7413
8499
|
break;
|
|
7414
8500
|
}
|
|
7415
|
-
message.
|
|
8501
|
+
message.errorMessage = reader.string();
|
|
7416
8502
|
continue;
|
|
7417
8503
|
}
|
|
7418
8504
|
case 2: {
|
|
7419
8505
|
if (tag !== 16) {
|
|
7420
8506
|
break;
|
|
7421
8507
|
}
|
|
7422
|
-
message.
|
|
8508
|
+
message.noPartitionsFound = reader.bool();
|
|
8509
|
+
continue;
|
|
8510
|
+
}
|
|
8511
|
+
case 3: {
|
|
8512
|
+
if (tag !== 24) {
|
|
8513
|
+
break;
|
|
8514
|
+
}
|
|
8515
|
+
message.multiplePartitionsFound = reader.bool();
|
|
8516
|
+
continue;
|
|
8517
|
+
}
|
|
8518
|
+
case 4: {
|
|
8519
|
+
if (tag !== 32) {
|
|
8520
|
+
break;
|
|
8521
|
+
}
|
|
8522
|
+
message.wrongFileSystemFound = reader.bool();
|
|
8523
|
+
continue;
|
|
8524
|
+
}
|
|
8525
|
+
case 5: {
|
|
8526
|
+
if (tag !== 40) {
|
|
8527
|
+
break;
|
|
8528
|
+
}
|
|
8529
|
+
message.deviceIsReadOnly = reader.bool();
|
|
8530
|
+
continue;
|
|
8531
|
+
}
|
|
8532
|
+
case 6: {
|
|
8533
|
+
if (tag !== 48) {
|
|
8534
|
+
break;
|
|
8535
|
+
}
|
|
8536
|
+
message.formattingFailed = reader.bool();
|
|
7423
8537
|
continue;
|
|
7424
8538
|
}
|
|
7425
8539
|
}
|
|
@@ -7432,27 +8546,49 @@ exports.StorageSpace = {
|
|
|
7432
8546
|
},
|
|
7433
8547
|
fromJSON(object) {
|
|
7434
8548
|
return {
|
|
7435
|
-
|
|
7436
|
-
|
|
8549
|
+
errorMessage: isSet(object.errorMessage) ? gt.String(object.errorMessage) : "",
|
|
8550
|
+
noPartitionsFound: isSet(object.noPartitionsFound) ? gt.Boolean(object.noPartitionsFound) : false,
|
|
8551
|
+
multiplePartitionsFound: isSet(object.multiplePartitionsFound)
|
|
8552
|
+
? gt.Boolean(object.multiplePartitionsFound)
|
|
8553
|
+
: false,
|
|
8554
|
+
wrongFileSystemFound: isSet(object.wrongFileSystemFound) ? gt.Boolean(object.wrongFileSystemFound) : false,
|
|
8555
|
+
deviceIsReadOnly: isSet(object.deviceIsReadOnly) ? gt.Boolean(object.deviceIsReadOnly) : false,
|
|
8556
|
+
formattingFailed: isSet(object.formattingFailed) ? gt.Boolean(object.formattingFailed) : false,
|
|
7437
8557
|
};
|
|
7438
8558
|
},
|
|
7439
8559
|
toJSON(message) {
|
|
7440
8560
|
const obj = {};
|
|
7441
|
-
if (message.
|
|
7442
|
-
obj.
|
|
8561
|
+
if (message.errorMessage !== "") {
|
|
8562
|
+
obj.errorMessage = message.errorMessage;
|
|
7443
8563
|
}
|
|
7444
|
-
if (message.
|
|
7445
|
-
obj.
|
|
8564
|
+
if (message.noPartitionsFound !== false) {
|
|
8565
|
+
obj.noPartitionsFound = message.noPartitionsFound;
|
|
8566
|
+
}
|
|
8567
|
+
if (message.multiplePartitionsFound !== false) {
|
|
8568
|
+
obj.multiplePartitionsFound = message.multiplePartitionsFound;
|
|
8569
|
+
}
|
|
8570
|
+
if (message.wrongFileSystemFound !== false) {
|
|
8571
|
+
obj.wrongFileSystemFound = message.wrongFileSystemFound;
|
|
8572
|
+
}
|
|
8573
|
+
if (message.deviceIsReadOnly !== false) {
|
|
8574
|
+
obj.deviceIsReadOnly = message.deviceIsReadOnly;
|
|
8575
|
+
}
|
|
8576
|
+
if (message.formattingFailed !== false) {
|
|
8577
|
+
obj.formattingFailed = message.formattingFailed;
|
|
7446
8578
|
}
|
|
7447
8579
|
return obj;
|
|
7448
8580
|
},
|
|
7449
8581
|
create(base) {
|
|
7450
|
-
return exports.
|
|
8582
|
+
return exports.RemovableStorageErrorFlags.fromPartial(base ?? {});
|
|
7451
8583
|
},
|
|
7452
8584
|
fromPartial(object) {
|
|
7453
|
-
const message =
|
|
7454
|
-
message.
|
|
7455
|
-
message.
|
|
8585
|
+
const message = createBaseRemovableStorageErrorFlags();
|
|
8586
|
+
message.errorMessage = object.errorMessage ?? "";
|
|
8587
|
+
message.noPartitionsFound = object.noPartitionsFound ?? false;
|
|
8588
|
+
message.multiplePartitionsFound = object.multiplePartitionsFound ?? false;
|
|
8589
|
+
message.wrongFileSystemFound = object.wrongFileSystemFound ?? false;
|
|
8590
|
+
message.deviceIsReadOnly = object.deviceIsReadOnly ?? false;
|
|
8591
|
+
message.formattingFailed = object.formattingFailed ?? false;
|
|
7456
8592
|
return message;
|
|
7457
8593
|
},
|
|
7458
8594
|
};
|
|
@@ -8881,11 +10017,23 @@ function createBaseCameraParameters() {
|
|
|
8881
10017
|
whiteBalance: 0,
|
|
8882
10018
|
hue: 0,
|
|
8883
10019
|
gain: 0,
|
|
10020
|
+
brightness: 0,
|
|
10021
|
+
contrast: 0,
|
|
10022
|
+
saturation: 0,
|
|
10023
|
+
gamma: 0,
|
|
10024
|
+
sharpness: 0,
|
|
10025
|
+
backlightCompensation: 0,
|
|
10026
|
+
denoise: 0,
|
|
10027
|
+
ehdrEnabled: false,
|
|
10028
|
+
ehdrExposureMinNumber: 0,
|
|
10029
|
+
ehdrExposureMaxNumber: 0,
|
|
8884
10030
|
resolution: 0,
|
|
8885
10031
|
streamResolution: 0,
|
|
8886
10032
|
recordingResolution: 0,
|
|
10033
|
+
streamingProtocol: 0,
|
|
8887
10034
|
framerate: 0,
|
|
8888
10035
|
camera: 0,
|
|
10036
|
+
mtuSize: 0,
|
|
8889
10037
|
};
|
|
8890
10038
|
}
|
|
8891
10039
|
exports.CameraParameters = {
|
|
@@ -8902,11 +10050,41 @@ exports.CameraParameters = {
|
|
|
8902
10050
|
if (message.whiteBalance !== 0) {
|
|
8903
10051
|
writer.uint32(32).int32(message.whiteBalance);
|
|
8904
10052
|
}
|
|
8905
|
-
if (message.hue !== 0) {
|
|
8906
|
-
writer.uint32(40).int32(message.hue);
|
|
10053
|
+
if (message.hue !== 0) {
|
|
10054
|
+
writer.uint32(40).int32(message.hue);
|
|
10055
|
+
}
|
|
10056
|
+
if (message.gain !== 0) {
|
|
10057
|
+
writer.uint32(77).float(message.gain);
|
|
10058
|
+
}
|
|
10059
|
+
if (message.brightness !== 0) {
|
|
10060
|
+
writer.uint32(96).int32(message.brightness);
|
|
10061
|
+
}
|
|
10062
|
+
if (message.contrast !== 0) {
|
|
10063
|
+
writer.uint32(104).int32(message.contrast);
|
|
10064
|
+
}
|
|
10065
|
+
if (message.saturation !== 0) {
|
|
10066
|
+
writer.uint32(112).int32(message.saturation);
|
|
10067
|
+
}
|
|
10068
|
+
if (message.gamma !== 0) {
|
|
10069
|
+
writer.uint32(120).int32(message.gamma);
|
|
10070
|
+
}
|
|
10071
|
+
if (message.sharpness !== 0) {
|
|
10072
|
+
writer.uint32(128).int32(message.sharpness);
|
|
10073
|
+
}
|
|
10074
|
+
if (message.backlightCompensation !== 0) {
|
|
10075
|
+
writer.uint32(136).int32(message.backlightCompensation);
|
|
10076
|
+
}
|
|
10077
|
+
if (message.denoise !== 0) {
|
|
10078
|
+
writer.uint32(144).int32(message.denoise);
|
|
10079
|
+
}
|
|
10080
|
+
if (message.ehdrEnabled !== false) {
|
|
10081
|
+
writer.uint32(168).bool(message.ehdrEnabled);
|
|
10082
|
+
}
|
|
10083
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10084
|
+
writer.uint32(176).int32(message.ehdrExposureMinNumber);
|
|
8907
10085
|
}
|
|
8908
|
-
if (message.
|
|
8909
|
-
writer.uint32(
|
|
10086
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10087
|
+
writer.uint32(184).int32(message.ehdrExposureMaxNumber);
|
|
8910
10088
|
}
|
|
8911
10089
|
if (message.resolution !== 0) {
|
|
8912
10090
|
writer.uint32(48).int32(message.resolution);
|
|
@@ -8917,12 +10095,18 @@ exports.CameraParameters = {
|
|
|
8917
10095
|
if (message.recordingResolution !== 0) {
|
|
8918
10096
|
writer.uint32(88).int32(message.recordingResolution);
|
|
8919
10097
|
}
|
|
10098
|
+
if (message.streamingProtocol !== 0) {
|
|
10099
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
10100
|
+
}
|
|
8920
10101
|
if (message.framerate !== 0) {
|
|
8921
10102
|
writer.uint32(56).int32(message.framerate);
|
|
8922
10103
|
}
|
|
8923
10104
|
if (message.camera !== 0) {
|
|
8924
10105
|
writer.uint32(64).int32(message.camera);
|
|
8925
10106
|
}
|
|
10107
|
+
if (message.mtuSize !== 0) {
|
|
10108
|
+
writer.uint32(192).uint32(message.mtuSize);
|
|
10109
|
+
}
|
|
8926
10110
|
return writer;
|
|
8927
10111
|
},
|
|
8928
10112
|
decode(input, length) {
|
|
@@ -8974,6 +10158,76 @@ exports.CameraParameters = {
|
|
|
8974
10158
|
message.gain = reader.float();
|
|
8975
10159
|
continue;
|
|
8976
10160
|
}
|
|
10161
|
+
case 12: {
|
|
10162
|
+
if (tag !== 96) {
|
|
10163
|
+
break;
|
|
10164
|
+
}
|
|
10165
|
+
message.brightness = reader.int32();
|
|
10166
|
+
continue;
|
|
10167
|
+
}
|
|
10168
|
+
case 13: {
|
|
10169
|
+
if (tag !== 104) {
|
|
10170
|
+
break;
|
|
10171
|
+
}
|
|
10172
|
+
message.contrast = reader.int32();
|
|
10173
|
+
continue;
|
|
10174
|
+
}
|
|
10175
|
+
case 14: {
|
|
10176
|
+
if (tag !== 112) {
|
|
10177
|
+
break;
|
|
10178
|
+
}
|
|
10179
|
+
message.saturation = reader.int32();
|
|
10180
|
+
continue;
|
|
10181
|
+
}
|
|
10182
|
+
case 15: {
|
|
10183
|
+
if (tag !== 120) {
|
|
10184
|
+
break;
|
|
10185
|
+
}
|
|
10186
|
+
message.gamma = reader.int32();
|
|
10187
|
+
continue;
|
|
10188
|
+
}
|
|
10189
|
+
case 16: {
|
|
10190
|
+
if (tag !== 128) {
|
|
10191
|
+
break;
|
|
10192
|
+
}
|
|
10193
|
+
message.sharpness = reader.int32();
|
|
10194
|
+
continue;
|
|
10195
|
+
}
|
|
10196
|
+
case 17: {
|
|
10197
|
+
if (tag !== 136) {
|
|
10198
|
+
break;
|
|
10199
|
+
}
|
|
10200
|
+
message.backlightCompensation = reader.int32();
|
|
10201
|
+
continue;
|
|
10202
|
+
}
|
|
10203
|
+
case 18: {
|
|
10204
|
+
if (tag !== 144) {
|
|
10205
|
+
break;
|
|
10206
|
+
}
|
|
10207
|
+
message.denoise = reader.int32();
|
|
10208
|
+
continue;
|
|
10209
|
+
}
|
|
10210
|
+
case 21: {
|
|
10211
|
+
if (tag !== 168) {
|
|
10212
|
+
break;
|
|
10213
|
+
}
|
|
10214
|
+
message.ehdrEnabled = reader.bool();
|
|
10215
|
+
continue;
|
|
10216
|
+
}
|
|
10217
|
+
case 22: {
|
|
10218
|
+
if (tag !== 176) {
|
|
10219
|
+
break;
|
|
10220
|
+
}
|
|
10221
|
+
message.ehdrExposureMinNumber = reader.int32();
|
|
10222
|
+
continue;
|
|
10223
|
+
}
|
|
10224
|
+
case 23: {
|
|
10225
|
+
if (tag !== 184) {
|
|
10226
|
+
break;
|
|
10227
|
+
}
|
|
10228
|
+
message.ehdrExposureMaxNumber = reader.int32();
|
|
10229
|
+
continue;
|
|
10230
|
+
}
|
|
8977
10231
|
case 6: {
|
|
8978
10232
|
if (tag !== 48) {
|
|
8979
10233
|
break;
|
|
@@ -8995,6 +10249,13 @@ exports.CameraParameters = {
|
|
|
8995
10249
|
message.recordingResolution = reader.int32();
|
|
8996
10250
|
continue;
|
|
8997
10251
|
}
|
|
10252
|
+
case 20: {
|
|
10253
|
+
if (tag !== 160) {
|
|
10254
|
+
break;
|
|
10255
|
+
}
|
|
10256
|
+
message.streamingProtocol = reader.int32();
|
|
10257
|
+
continue;
|
|
10258
|
+
}
|
|
8998
10259
|
case 7: {
|
|
8999
10260
|
if (tag !== 56) {
|
|
9000
10261
|
break;
|
|
@@ -9009,6 +10270,13 @@ exports.CameraParameters = {
|
|
|
9009
10270
|
message.camera = reader.int32();
|
|
9010
10271
|
continue;
|
|
9011
10272
|
}
|
|
10273
|
+
case 24: {
|
|
10274
|
+
if (tag !== 192) {
|
|
10275
|
+
break;
|
|
10276
|
+
}
|
|
10277
|
+
message.mtuSize = reader.uint32();
|
|
10278
|
+
continue;
|
|
10279
|
+
}
|
|
9012
10280
|
}
|
|
9013
10281
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9014
10282
|
break;
|
|
@@ -9025,11 +10293,23 @@ exports.CameraParameters = {
|
|
|
9025
10293
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9026
10294
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9027
10295
|
gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
|
|
10296
|
+
brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
|
|
10297
|
+
contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
|
|
10298
|
+
saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
|
|
10299
|
+
gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
|
|
10300
|
+
sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
|
|
10301
|
+
backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
|
|
10302
|
+
denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
|
|
10303
|
+
ehdrEnabled: isSet(object.ehdrEnabled) ? gt.Boolean(object.ehdrEnabled) : false,
|
|
10304
|
+
ehdrExposureMinNumber: isSet(object.ehdrExposureMinNumber) ? gt.Number(object.ehdrExposureMinNumber) : 0,
|
|
10305
|
+
ehdrExposureMaxNumber: isSet(object.ehdrExposureMaxNumber) ? gt.Number(object.ehdrExposureMaxNumber) : 0,
|
|
9028
10306
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9029
10307
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9030
10308
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
10309
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9031
10310
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9032
10311
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
10312
|
+
mtuSize: isSet(object.mtuSize) ? gt.Number(object.mtuSize) : 0,
|
|
9033
10313
|
};
|
|
9034
10314
|
},
|
|
9035
10315
|
toJSON(message) {
|
|
@@ -9052,6 +10332,36 @@ exports.CameraParameters = {
|
|
|
9052
10332
|
if (message.gain !== 0) {
|
|
9053
10333
|
obj.gain = message.gain;
|
|
9054
10334
|
}
|
|
10335
|
+
if (message.brightness !== 0) {
|
|
10336
|
+
obj.brightness = Math.round(message.brightness);
|
|
10337
|
+
}
|
|
10338
|
+
if (message.contrast !== 0) {
|
|
10339
|
+
obj.contrast = Math.round(message.contrast);
|
|
10340
|
+
}
|
|
10341
|
+
if (message.saturation !== 0) {
|
|
10342
|
+
obj.saturation = Math.round(message.saturation);
|
|
10343
|
+
}
|
|
10344
|
+
if (message.gamma !== 0) {
|
|
10345
|
+
obj.gamma = Math.round(message.gamma);
|
|
10346
|
+
}
|
|
10347
|
+
if (message.sharpness !== 0) {
|
|
10348
|
+
obj.sharpness = Math.round(message.sharpness);
|
|
10349
|
+
}
|
|
10350
|
+
if (message.backlightCompensation !== 0) {
|
|
10351
|
+
obj.backlightCompensation = Math.round(message.backlightCompensation);
|
|
10352
|
+
}
|
|
10353
|
+
if (message.denoise !== 0) {
|
|
10354
|
+
obj.denoise = Math.round(message.denoise);
|
|
10355
|
+
}
|
|
10356
|
+
if (message.ehdrEnabled !== false) {
|
|
10357
|
+
obj.ehdrEnabled = message.ehdrEnabled;
|
|
10358
|
+
}
|
|
10359
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10360
|
+
obj.ehdrExposureMinNumber = Math.round(message.ehdrExposureMinNumber);
|
|
10361
|
+
}
|
|
10362
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10363
|
+
obj.ehdrExposureMaxNumber = Math.round(message.ehdrExposureMaxNumber);
|
|
10364
|
+
}
|
|
9055
10365
|
if (message.resolution !== 0) {
|
|
9056
10366
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9057
10367
|
}
|
|
@@ -9061,12 +10371,18 @@ exports.CameraParameters = {
|
|
|
9061
10371
|
if (message.recordingResolution !== 0) {
|
|
9062
10372
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9063
10373
|
}
|
|
10374
|
+
if (message.streamingProtocol !== 0) {
|
|
10375
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
10376
|
+
}
|
|
9064
10377
|
if (message.framerate !== 0) {
|
|
9065
10378
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9066
10379
|
}
|
|
9067
10380
|
if (message.camera !== 0) {
|
|
9068
10381
|
obj.camera = cameraToJSON(message.camera);
|
|
9069
10382
|
}
|
|
10383
|
+
if (message.mtuSize !== 0) {
|
|
10384
|
+
obj.mtuSize = Math.round(message.mtuSize);
|
|
10385
|
+
}
|
|
9070
10386
|
return obj;
|
|
9071
10387
|
},
|
|
9072
10388
|
create(base) {
|
|
@@ -9080,11 +10396,23 @@ exports.CameraParameters = {
|
|
|
9080
10396
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9081
10397
|
message.hue = object.hue ?? 0;
|
|
9082
10398
|
message.gain = object.gain ?? 0;
|
|
10399
|
+
message.brightness = object.brightness ?? 0;
|
|
10400
|
+
message.contrast = object.contrast ?? 0;
|
|
10401
|
+
message.saturation = object.saturation ?? 0;
|
|
10402
|
+
message.gamma = object.gamma ?? 0;
|
|
10403
|
+
message.sharpness = object.sharpness ?? 0;
|
|
10404
|
+
message.backlightCompensation = object.backlightCompensation ?? 0;
|
|
10405
|
+
message.denoise = object.denoise ?? 0;
|
|
10406
|
+
message.ehdrEnabled = object.ehdrEnabled ?? false;
|
|
10407
|
+
message.ehdrExposureMinNumber = object.ehdrExposureMinNumber ?? 0;
|
|
10408
|
+
message.ehdrExposureMaxNumber = object.ehdrExposureMaxNumber ?? 0;
|
|
9083
10409
|
message.resolution = object.resolution ?? 0;
|
|
9084
10410
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9085
10411
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
10412
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9086
10413
|
message.framerate = object.framerate ?? 0;
|
|
9087
10414
|
message.camera = object.camera ?? 0;
|
|
10415
|
+
message.mtuSize = object.mtuSize ?? 0;
|
|
9088
10416
|
return message;
|
|
9089
10417
|
},
|
|
9090
10418
|
};
|
|
@@ -11828,7 +13156,7 @@ exports.PersistentStorageSettings = {
|
|
|
11828
13156
|
},
|
|
11829
13157
|
};
|
|
11830
13158
|
function createBaseCPUInfo() {
|
|
11831
|
-
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
|
|
13159
|
+
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
|
|
11832
13160
|
}
|
|
11833
13161
|
exports.CPUInfo = {
|
|
11834
13162
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -11844,6 +13172,9 @@ exports.CPUInfo = {
|
|
|
11844
13172
|
if (message.guestportQueueLoad !== 0) {
|
|
11845
13173
|
writer.uint32(37).float(message.guestportQueueLoad);
|
|
11846
13174
|
}
|
|
13175
|
+
if (message.commQueueLoad !== 0) {
|
|
13176
|
+
writer.uint32(45).float(message.commQueueLoad);
|
|
13177
|
+
}
|
|
11847
13178
|
return writer;
|
|
11848
13179
|
},
|
|
11849
13180
|
decode(input, length) {
|
|
@@ -11881,6 +13212,13 @@ exports.CPUInfo = {
|
|
|
11881
13212
|
message.guestportQueueLoad = reader.float();
|
|
11882
13213
|
continue;
|
|
11883
13214
|
}
|
|
13215
|
+
case 5: {
|
|
13216
|
+
if (tag !== 45) {
|
|
13217
|
+
break;
|
|
13218
|
+
}
|
|
13219
|
+
message.commQueueLoad = reader.float();
|
|
13220
|
+
continue;
|
|
13221
|
+
}
|
|
11884
13222
|
}
|
|
11885
13223
|
if ((tag & 7) === 4 || tag === 0) {
|
|
11886
13224
|
break;
|
|
@@ -11895,6 +13233,7 @@ exports.CPUInfo = {
|
|
|
11895
13233
|
memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
|
|
11896
13234
|
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
11897
13235
|
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
13236
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
11898
13237
|
};
|
|
11899
13238
|
},
|
|
11900
13239
|
toJSON(message) {
|
|
@@ -11911,6 +13250,9 @@ exports.CPUInfo = {
|
|
|
11911
13250
|
if (message.guestportQueueLoad !== 0) {
|
|
11912
13251
|
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
11913
13252
|
}
|
|
13253
|
+
if (message.commQueueLoad !== 0) {
|
|
13254
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
13255
|
+
}
|
|
11914
13256
|
return obj;
|
|
11915
13257
|
},
|
|
11916
13258
|
create(base) {
|
|
@@ -11922,6 +13264,194 @@ exports.CPUInfo = {
|
|
|
11922
13264
|
message.memoryBusLoad = object.memoryBusLoad ?? 0;
|
|
11923
13265
|
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
11924
13266
|
message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
|
|
13267
|
+
message.commQueueLoad = object.commQueueLoad ?? 0;
|
|
13268
|
+
return message;
|
|
13269
|
+
},
|
|
13270
|
+
};
|
|
13271
|
+
function createBaseSurfaceUnitBatteryInfo() {
|
|
13272
|
+
return { status: 0, level: 0 };
|
|
13273
|
+
}
|
|
13274
|
+
exports.SurfaceUnitBatteryInfo = {
|
|
13275
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13276
|
+
if (message.status !== 0) {
|
|
13277
|
+
writer.uint32(8).int32(message.status);
|
|
13278
|
+
}
|
|
13279
|
+
if (message.level !== 0) {
|
|
13280
|
+
writer.uint32(21).float(message.level);
|
|
13281
|
+
}
|
|
13282
|
+
return writer;
|
|
13283
|
+
},
|
|
13284
|
+
decode(input, length) {
|
|
13285
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13286
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13287
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13288
|
+
while (reader.pos < end) {
|
|
13289
|
+
const tag = reader.uint32();
|
|
13290
|
+
switch (tag >>> 3) {
|
|
13291
|
+
case 1: {
|
|
13292
|
+
if (tag !== 8) {
|
|
13293
|
+
break;
|
|
13294
|
+
}
|
|
13295
|
+
message.status = reader.int32();
|
|
13296
|
+
continue;
|
|
13297
|
+
}
|
|
13298
|
+
case 2: {
|
|
13299
|
+
if (tag !== 21) {
|
|
13300
|
+
break;
|
|
13301
|
+
}
|
|
13302
|
+
message.level = reader.float();
|
|
13303
|
+
continue;
|
|
13304
|
+
}
|
|
13305
|
+
}
|
|
13306
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13307
|
+
break;
|
|
13308
|
+
}
|
|
13309
|
+
reader.skip(tag & 7);
|
|
13310
|
+
}
|
|
13311
|
+
return message;
|
|
13312
|
+
},
|
|
13313
|
+
fromJSON(object) {
|
|
13314
|
+
return {
|
|
13315
|
+
status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
|
|
13316
|
+
level: isSet(object.level) ? gt.Number(object.level) : 0,
|
|
13317
|
+
};
|
|
13318
|
+
},
|
|
13319
|
+
toJSON(message) {
|
|
13320
|
+
const obj = {};
|
|
13321
|
+
if (message.status !== 0) {
|
|
13322
|
+
obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
|
|
13323
|
+
}
|
|
13324
|
+
if (message.level !== 0) {
|
|
13325
|
+
obj.level = message.level;
|
|
13326
|
+
}
|
|
13327
|
+
return obj;
|
|
13328
|
+
},
|
|
13329
|
+
create(base) {
|
|
13330
|
+
return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
|
|
13331
|
+
},
|
|
13332
|
+
fromPartial(object) {
|
|
13333
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13334
|
+
message.status = object.status ?? 0;
|
|
13335
|
+
message.level = object.level ?? 0;
|
|
13336
|
+
return message;
|
|
13337
|
+
},
|
|
13338
|
+
};
|
|
13339
|
+
function createBaseSurfaceUnitVersionInfo() {
|
|
13340
|
+
return { version: "" };
|
|
13341
|
+
}
|
|
13342
|
+
exports.SurfaceUnitVersionInfo = {
|
|
13343
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13344
|
+
if (message.version !== "") {
|
|
13345
|
+
writer.uint32(10).string(message.version);
|
|
13346
|
+
}
|
|
13347
|
+
return writer;
|
|
13348
|
+
},
|
|
13349
|
+
decode(input, length) {
|
|
13350
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13351
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13352
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13353
|
+
while (reader.pos < end) {
|
|
13354
|
+
const tag = reader.uint32();
|
|
13355
|
+
switch (tag >>> 3) {
|
|
13356
|
+
case 1: {
|
|
13357
|
+
if (tag !== 10) {
|
|
13358
|
+
break;
|
|
13359
|
+
}
|
|
13360
|
+
message.version = reader.string();
|
|
13361
|
+
continue;
|
|
13362
|
+
}
|
|
13363
|
+
}
|
|
13364
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13365
|
+
break;
|
|
13366
|
+
}
|
|
13367
|
+
reader.skip(tag & 7);
|
|
13368
|
+
}
|
|
13369
|
+
return message;
|
|
13370
|
+
},
|
|
13371
|
+
fromJSON(object) {
|
|
13372
|
+
return { version: isSet(object.version) ? gt.String(object.version) : "" };
|
|
13373
|
+
},
|
|
13374
|
+
toJSON(message) {
|
|
13375
|
+
const obj = {};
|
|
13376
|
+
if (message.version !== "") {
|
|
13377
|
+
obj.version = message.version;
|
|
13378
|
+
}
|
|
13379
|
+
return obj;
|
|
13380
|
+
},
|
|
13381
|
+
create(base) {
|
|
13382
|
+
return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
|
|
13383
|
+
},
|
|
13384
|
+
fromPartial(object) {
|
|
13385
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13386
|
+
message.version = object.version ?? "";
|
|
13387
|
+
return message;
|
|
13388
|
+
},
|
|
13389
|
+
};
|
|
13390
|
+
function createBaseFilterMessage() {
|
|
13391
|
+
return { enabled: false, intensity: 0 };
|
|
13392
|
+
}
|
|
13393
|
+
exports.FilterMessage = {
|
|
13394
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13395
|
+
if (message.enabled !== false) {
|
|
13396
|
+
writer.uint32(8).bool(message.enabled);
|
|
13397
|
+
}
|
|
13398
|
+
if (message.intensity !== 0) {
|
|
13399
|
+
writer.uint32(21).float(message.intensity);
|
|
13400
|
+
}
|
|
13401
|
+
return writer;
|
|
13402
|
+
},
|
|
13403
|
+
decode(input, length) {
|
|
13404
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13405
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13406
|
+
const message = createBaseFilterMessage();
|
|
13407
|
+
while (reader.pos < end) {
|
|
13408
|
+
const tag = reader.uint32();
|
|
13409
|
+
switch (tag >>> 3) {
|
|
13410
|
+
case 1: {
|
|
13411
|
+
if (tag !== 8) {
|
|
13412
|
+
break;
|
|
13413
|
+
}
|
|
13414
|
+
message.enabled = reader.bool();
|
|
13415
|
+
continue;
|
|
13416
|
+
}
|
|
13417
|
+
case 2: {
|
|
13418
|
+
if (tag !== 21) {
|
|
13419
|
+
break;
|
|
13420
|
+
}
|
|
13421
|
+
message.intensity = reader.float();
|
|
13422
|
+
continue;
|
|
13423
|
+
}
|
|
13424
|
+
}
|
|
13425
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13426
|
+
break;
|
|
13427
|
+
}
|
|
13428
|
+
reader.skip(tag & 7);
|
|
13429
|
+
}
|
|
13430
|
+
return message;
|
|
13431
|
+
},
|
|
13432
|
+
fromJSON(object) {
|
|
13433
|
+
return {
|
|
13434
|
+
enabled: isSet(object.enabled) ? gt.Boolean(object.enabled) : false,
|
|
13435
|
+
intensity: isSet(object.intensity) ? gt.Number(object.intensity) : 0,
|
|
13436
|
+
};
|
|
13437
|
+
},
|
|
13438
|
+
toJSON(message) {
|
|
13439
|
+
const obj = {};
|
|
13440
|
+
if (message.enabled !== false) {
|
|
13441
|
+
obj.enabled = message.enabled;
|
|
13442
|
+
}
|
|
13443
|
+
if (message.intensity !== 0) {
|
|
13444
|
+
obj.intensity = message.intensity;
|
|
13445
|
+
}
|
|
13446
|
+
return obj;
|
|
13447
|
+
},
|
|
13448
|
+
create(base) {
|
|
13449
|
+
return exports.FilterMessage.fromPartial(base ?? {});
|
|
13450
|
+
},
|
|
13451
|
+
fromPartial(object) {
|
|
13452
|
+
const message = createBaseFilterMessage();
|
|
13453
|
+
message.enabled = object.enabled ?? false;
|
|
13454
|
+
message.intensity = object.intensity ?? 0;
|
|
11925
13455
|
return message;
|
|
11926
13456
|
},
|
|
11927
13457
|
};
|