@blueyerobotics/protocol-definitions 3.2.0-2da79a0a → 3.2.0-3beb942b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +165 -0
- package/README.npm.md +40 -0
- package/dist/aquatroll.js +1 -1
- package/dist/control.d.ts +12 -2
- package/dist/control.js +96 -10
- package/dist/google/protobuf/any.js +1 -1
- package/dist/google/protobuf/duration.js +1 -1
- package/dist/google/protobuf/timestamp.js +1 -1
- package/dist/index.blueye.js +1 -1
- package/dist/index.blueye.protocol.js +1 -1
- package/dist/index.google.js +1 -1
- package/dist/index.google.protobuf.js +1 -1
- package/dist/index.js +1 -1
- package/dist/message_formats.d.ts +215 -12
- package/dist/message_formats.js +1139 -21
- package/dist/mission_planning.js +1 -1
- package/dist/req_rep.d.ts +22 -0
- package/dist/req_rep.js +192 -2
- package/dist/telemetry.d.ts +43 -1
- package/dist/telemetry.js +341 -6
- package/package.json +8 -6
package/dist/message_formats.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: message_formats.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = void 0;
|
|
8
|
+
exports.AutoPilotHeaveState = exports.AutoPilotSurgeYawState = exports.WeatherVaningState = exports.StationKeepingState = exports.AutoAltitudeState = exports.AutoDepthState = exports.AutoHeadingState = exports.ConnectionDuration = exports.LatLongPosition = exports.Laser = exports.Lights = exports.MotionInput = exports.KernelLogEntry_KeyValuePair = exports.KernelLogEntry = exports.LogEntry = exports.BinlogRecord = exports.SurfaceUnitBatteryInfo_ChargeStatus = exports.MultibeamConfig_MaximumNumberOfBeams = exports.MultibeamConfig_PingRate = exports.CalibrationState_Status = exports.RemovableStorageDevice_Status = exports.BatteryBQ40Z50_BatteryStatus_BatteryError = exports.PingerConfiguration_MountingDirection = exports.KernelLogEntry_KernelLogLevel = exports.LogEntry_LogLevel = exports.MultibeamFrequencyMode = exports.GuestPortError = exports.GuestPortDetachStatus = exports.NavigationSensorID = exports.GuestPortNumber = exports.GuestPortDeviceID = exports.FontSize = exports.ThicknessUnit = exports.DepthUnit = exports.LogoType = exports.TemperatureUnit = exports.StreamingProtocol = exports.Camera = exports.Framerate = exports.Resolution = exports.PressureSensorType = exports.Model = exports.StorageLocation = exports.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
|
|
9
|
+
exports.CameraParameters = exports.ErrorFlags = exports.DroneInfo = exports.TiltVelocity = exports.TiltAngle = exports.NStreamers = exports.IperfStatus = exports.CalibrationState = exports.RemovableStorageErrorFlags = exports.RemovableStorageDevice = exports.StoragePartition = exports.StorageSpace = exports.RecordOn = exports.DiveTime = exports.ControllerHealth = exports.ControlForce = exports.Notification = exports.Reference = exports.Depth = exports.DvlVelocity = exports.DvlTransducer = exports.ResetPositionSettings = exports.PositionEstimate = exports.ForwardDistance = exports.Altitude = exports.MagneticDeclination = exports.Attitude = exports.BatteryBQ40Z50_BatteryChargingEvents = exports.BatteryBQ40Z50_BatterySafetyEvents = exports.BatteryBQ40Z50_BatteryLifetimes_CellVoltages = exports.BatteryBQ40Z50_BatteryLifetimes = exports.BatteryBQ40Z50_BatteryStatus = exports.BatteryBQ40Z50_Temperature = exports.BatteryBQ40Z50_Voltage = exports.BatteryBQ40Z50 = exports.Battery = exports.CanisterHumidity = exports.CanisterTemperature = exports.CPUTemperature = exports.WaterTemperature = exports.PingerConfiguration = exports.WaterDensity = exports.TimeLapseState = exports.RecordState = exports.ConnectedClient = exports.ClientInfo = exports.GripperVelocities = exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = void 0;
|
|
10
|
+
exports.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,6 +58,10 @@ exports.guestPortErrorFromJSON = guestPortErrorFromJSON;
|
|
|
54
58
|
exports.guestPortErrorToJSON = guestPortErrorToJSON;
|
|
55
59
|
exports.multibeamFrequencyModeFromJSON = multibeamFrequencyModeFromJSON;
|
|
56
60
|
exports.multibeamFrequencyModeToJSON = multibeamFrequencyModeToJSON;
|
|
61
|
+
exports.logEntry_LogLevelFromJSON = logEntry_LogLevelFromJSON;
|
|
62
|
+
exports.logEntry_LogLevelToJSON = logEntry_LogLevelToJSON;
|
|
63
|
+
exports.kernelLogEntry_KernelLogLevelFromJSON = kernelLogEntry_KernelLogLevelFromJSON;
|
|
64
|
+
exports.kernelLogEntry_KernelLogLevelToJSON = kernelLogEntry_KernelLogLevelToJSON;
|
|
57
65
|
exports.pingerConfiguration_MountingDirectionFromJSON = pingerConfiguration_MountingDirectionFromJSON;
|
|
58
66
|
exports.pingerConfiguration_MountingDirectionToJSON = pingerConfiguration_MountingDirectionToJSON;
|
|
59
67
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON;
|
|
@@ -66,6 +74,8 @@ exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
|
|
|
66
74
|
exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
|
|
67
75
|
exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
|
|
68
76
|
exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
|
|
77
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
|
|
78
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
|
|
69
79
|
/* eslint-disable */
|
|
70
80
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
71
81
|
const any_1 = require("./google/protobuf/any");
|
|
@@ -587,6 +597,51 @@ function notificationLevelToJSON(object) {
|
|
|
587
597
|
return "UNRECOGNIZED";
|
|
588
598
|
}
|
|
589
599
|
}
|
|
600
|
+
/**
|
|
601
|
+
* Storage location.
|
|
602
|
+
*
|
|
603
|
+
* Used to specify which storage location to use for recording photos and videos.
|
|
604
|
+
*/
|
|
605
|
+
var StorageLocation;
|
|
606
|
+
(function (StorageLocation) {
|
|
607
|
+
/** STORAGE_LOCATION_UNSPECIFIED - Unspecified. */
|
|
608
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_UNSPECIFIED"] = 0] = "STORAGE_LOCATION_UNSPECIFIED";
|
|
609
|
+
/** STORAGE_LOCATION_INTERNAL - Internal storage of the drone. */
|
|
610
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_INTERNAL"] = 1] = "STORAGE_LOCATION_INTERNAL";
|
|
611
|
+
/** STORAGE_LOCATION_REMOVABLE - Removable storage device. */
|
|
612
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_REMOVABLE"] = 2] = "STORAGE_LOCATION_REMOVABLE";
|
|
613
|
+
StorageLocation[StorageLocation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
614
|
+
})(StorageLocation || (exports.StorageLocation = StorageLocation = {}));
|
|
615
|
+
function storageLocationFromJSON(object) {
|
|
616
|
+
switch (object) {
|
|
617
|
+
case 0:
|
|
618
|
+
case "STORAGE_LOCATION_UNSPECIFIED":
|
|
619
|
+
return StorageLocation.STORAGE_LOCATION_UNSPECIFIED;
|
|
620
|
+
case 1:
|
|
621
|
+
case "STORAGE_LOCATION_INTERNAL":
|
|
622
|
+
return StorageLocation.STORAGE_LOCATION_INTERNAL;
|
|
623
|
+
case 2:
|
|
624
|
+
case "STORAGE_LOCATION_REMOVABLE":
|
|
625
|
+
return StorageLocation.STORAGE_LOCATION_REMOVABLE;
|
|
626
|
+
case -1:
|
|
627
|
+
case "UNRECOGNIZED":
|
|
628
|
+
default:
|
|
629
|
+
return StorageLocation.UNRECOGNIZED;
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
function storageLocationToJSON(object) {
|
|
633
|
+
switch (object) {
|
|
634
|
+
case StorageLocation.STORAGE_LOCATION_UNSPECIFIED:
|
|
635
|
+
return "STORAGE_LOCATION_UNSPECIFIED";
|
|
636
|
+
case StorageLocation.STORAGE_LOCATION_INTERNAL:
|
|
637
|
+
return "STORAGE_LOCATION_INTERNAL";
|
|
638
|
+
case StorageLocation.STORAGE_LOCATION_REMOVABLE:
|
|
639
|
+
return "STORAGE_LOCATION_REMOVABLE";
|
|
640
|
+
case StorageLocation.UNRECOGNIZED:
|
|
641
|
+
default:
|
|
642
|
+
return "UNRECOGNIZED";
|
|
643
|
+
}
|
|
644
|
+
}
|
|
590
645
|
/** Drone models produced by Blueye. */
|
|
591
646
|
var Model;
|
|
592
647
|
(function (Model) {
|
|
@@ -602,6 +657,8 @@ var Model;
|
|
|
602
657
|
Model[Model["MODEL_X3"] = 3] = "MODEL_X3";
|
|
603
658
|
/** MODEL_X3_ULTRA - Blueye X3 Ultra. */
|
|
604
659
|
Model[Model["MODEL_X3_ULTRA"] = 6] = "MODEL_X3_ULTRA";
|
|
660
|
+
/** MODEL_X7 - Blueye X7. */
|
|
661
|
+
Model[Model["MODEL_X7"] = 7] = "MODEL_X7";
|
|
605
662
|
/** MODEL_NEXT - Blueye ? */
|
|
606
663
|
Model[Model["MODEL_NEXT"] = 5] = "MODEL_NEXT";
|
|
607
664
|
Model[Model["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
@@ -626,6 +683,9 @@ function modelFromJSON(object) {
|
|
|
626
683
|
case 6:
|
|
627
684
|
case "MODEL_X3_ULTRA":
|
|
628
685
|
return Model.MODEL_X3_ULTRA;
|
|
686
|
+
case 7:
|
|
687
|
+
case "MODEL_X7":
|
|
688
|
+
return Model.MODEL_X7;
|
|
629
689
|
case 5:
|
|
630
690
|
case "MODEL_NEXT":
|
|
631
691
|
return Model.MODEL_NEXT;
|
|
@@ -649,6 +709,8 @@ function modelToJSON(object) {
|
|
|
649
709
|
return "MODEL_X3";
|
|
650
710
|
case Model.MODEL_X3_ULTRA:
|
|
651
711
|
return "MODEL_X3_ULTRA";
|
|
712
|
+
case Model.MODEL_X7:
|
|
713
|
+
return "MODEL_X7";
|
|
652
714
|
case Model.MODEL_NEXT:
|
|
653
715
|
return "MODEL_NEXT";
|
|
654
716
|
case Model.UNRECOGNIZED:
|
|
@@ -716,11 +778,13 @@ var Resolution;
|
|
|
716
778
|
(function (Resolution) {
|
|
717
779
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
718
780
|
Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
|
|
719
|
-
/**
|
|
720
|
-
Resolution[Resolution["
|
|
721
|
-
/** RESOLUTION_HD_720P - 720p HD
|
|
781
|
+
/** RESOLUTION_VGA_480P - VGA (640x480). */
|
|
782
|
+
Resolution[Resolution["RESOLUTION_VGA_480P"] = 4] = "RESOLUTION_VGA_480P";
|
|
783
|
+
/** RESOLUTION_HD_720P - 720p HD (1280x720). */
|
|
722
784
|
Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
|
|
723
|
-
/**
|
|
785
|
+
/** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
|
|
786
|
+
Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
|
|
787
|
+
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
|
|
724
788
|
Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
|
|
725
789
|
Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
726
790
|
})(Resolution || (exports.Resolution = Resolution = {}));
|
|
@@ -729,12 +793,15 @@ function resolutionFromJSON(object) {
|
|
|
729
793
|
case 0:
|
|
730
794
|
case "RESOLUTION_UNSPECIFIED":
|
|
731
795
|
return Resolution.RESOLUTION_UNSPECIFIED;
|
|
732
|
-
case
|
|
733
|
-
case "
|
|
734
|
-
return Resolution.
|
|
796
|
+
case 4:
|
|
797
|
+
case "RESOLUTION_VGA_480P":
|
|
798
|
+
return Resolution.RESOLUTION_VGA_480P;
|
|
735
799
|
case 2:
|
|
736
800
|
case "RESOLUTION_HD_720P":
|
|
737
801
|
return Resolution.RESOLUTION_HD_720P;
|
|
802
|
+
case 1:
|
|
803
|
+
case "RESOLUTION_FULLHD_1080P":
|
|
804
|
+
return Resolution.RESOLUTION_FULLHD_1080P;
|
|
738
805
|
case 3:
|
|
739
806
|
case "RESOLUTION_UHD_4K":
|
|
740
807
|
return Resolution.RESOLUTION_UHD_4K;
|
|
@@ -748,10 +815,12 @@ function resolutionToJSON(object) {
|
|
|
748
815
|
switch (object) {
|
|
749
816
|
case Resolution.RESOLUTION_UNSPECIFIED:
|
|
750
817
|
return "RESOLUTION_UNSPECIFIED";
|
|
751
|
-
case Resolution.
|
|
752
|
-
return "
|
|
818
|
+
case Resolution.RESOLUTION_VGA_480P:
|
|
819
|
+
return "RESOLUTION_VGA_480P";
|
|
753
820
|
case Resolution.RESOLUTION_HD_720P:
|
|
754
821
|
return "RESOLUTION_HD_720P";
|
|
822
|
+
case Resolution.RESOLUTION_FULLHD_1080P:
|
|
823
|
+
return "RESOLUTION_FULLHD_1080P";
|
|
755
824
|
case Resolution.RESOLUTION_UHD_4K:
|
|
756
825
|
return "RESOLUTION_UHD_4K";
|
|
757
826
|
case Resolution.UNRECOGNIZED:
|
|
@@ -766,7 +835,7 @@ var Framerate;
|
|
|
766
835
|
Framerate[Framerate["FRAMERATE_UNSPECIFIED"] = 0] = "FRAMERATE_UNSPECIFIED";
|
|
767
836
|
/** FRAMERATE_FPS_30 - 30 frames per second. */
|
|
768
837
|
Framerate[Framerate["FRAMERATE_FPS_30"] = 1] = "FRAMERATE_FPS_30";
|
|
769
|
-
/** FRAMERATE_FPS_25 - 25 frames per second. */
|
|
838
|
+
/** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
|
|
770
839
|
Framerate[Framerate["FRAMERATE_FPS_25"] = 2] = "FRAMERATE_FPS_25";
|
|
771
840
|
Framerate[Framerate["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
772
841
|
})(Framerate || (exports.Framerate = Framerate = {}));
|
|
@@ -841,6 +910,46 @@ function cameraToJSON(object) {
|
|
|
841
910
|
return "UNRECOGNIZED";
|
|
842
911
|
}
|
|
843
912
|
}
|
|
913
|
+
var StreamingProtocol;
|
|
914
|
+
(function (StreamingProtocol) {
|
|
915
|
+
/** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
|
|
916
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_UNSPECIFIED"] = 0] = "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
917
|
+
/** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
|
|
918
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_H264"] = 1] = "STREAMING_PROTOCOL_RTSP_H264";
|
|
919
|
+
/** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. No recording when activated. */
|
|
920
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_MJPEG"] = 2] = "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
921
|
+
StreamingProtocol[StreamingProtocol["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
922
|
+
})(StreamingProtocol || (exports.StreamingProtocol = StreamingProtocol = {}));
|
|
923
|
+
function streamingProtocolFromJSON(object) {
|
|
924
|
+
switch (object) {
|
|
925
|
+
case 0:
|
|
926
|
+
case "STREAMING_PROTOCOL_UNSPECIFIED":
|
|
927
|
+
return StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED;
|
|
928
|
+
case 1:
|
|
929
|
+
case "STREAMING_PROTOCOL_RTSP_H264":
|
|
930
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264;
|
|
931
|
+
case 2:
|
|
932
|
+
case "STREAMING_PROTOCOL_RTSP_MJPEG":
|
|
933
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG;
|
|
934
|
+
case -1:
|
|
935
|
+
case "UNRECOGNIZED":
|
|
936
|
+
default:
|
|
937
|
+
return StreamingProtocol.UNRECOGNIZED;
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
function streamingProtocolToJSON(object) {
|
|
941
|
+
switch (object) {
|
|
942
|
+
case StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED:
|
|
943
|
+
return "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
944
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264:
|
|
945
|
+
return "STREAMING_PROTOCOL_RTSP_H264";
|
|
946
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG:
|
|
947
|
+
return "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
948
|
+
case StreamingProtocol.UNRECOGNIZED:
|
|
949
|
+
default:
|
|
950
|
+
return "UNRECOGNIZED";
|
|
951
|
+
}
|
|
952
|
+
}
|
|
844
953
|
/** Available temperature units. */
|
|
845
954
|
var TemperatureUnit;
|
|
846
955
|
(function (TemperatureUnit) {
|
|
@@ -1174,6 +1283,12 @@ var GuestPortDeviceID;
|
|
|
1174
1283
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1175
1284
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1176
1285
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1286
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
|
|
1287
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1288
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 - Blueye Multibeam Skid Servo V2. */
|
|
1289
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2"] = 46] = "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
|
|
1290
|
+
/** GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT - Cerulean Omniscan 450 Compact. */
|
|
1291
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT"] = 47] = "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
|
|
1177
1292
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1178
1293
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1179
1294
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1313,6 +1428,15 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1313
1428
|
case 44:
|
|
1314
1429
|
case "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650":
|
|
1315
1430
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650;
|
|
1431
|
+
case 45:
|
|
1432
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
|
|
1433
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
|
|
1434
|
+
case 46:
|
|
1435
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2":
|
|
1436
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2;
|
|
1437
|
+
case 47:
|
|
1438
|
+
case "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT":
|
|
1439
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT;
|
|
1316
1440
|
case -1:
|
|
1317
1441
|
case "UNRECOGNIZED":
|
|
1318
1442
|
default:
|
|
@@ -1411,6 +1535,12 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1411
1535
|
return "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1412
1536
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650:
|
|
1413
1537
|
return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1538
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
|
|
1539
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1540
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2:
|
|
1541
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
|
|
1542
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT:
|
|
1543
|
+
return "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
|
|
1414
1544
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1415
1545
|
default:
|
|
1416
1546
|
return "UNRECOGNIZED";
|
|
@@ -1687,6 +1817,157 @@ function multibeamFrequencyModeToJSON(object) {
|
|
|
1687
1817
|
return "UNRECOGNIZED";
|
|
1688
1818
|
}
|
|
1689
1819
|
}
|
|
1820
|
+
var LogEntry_LogLevel;
|
|
1821
|
+
(function (LogEntry_LogLevel) {
|
|
1822
|
+
/** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
1823
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_UNSPECIFIED"] = 0] = "LOG_LEVEL_UNSPECIFIED";
|
|
1824
|
+
/** LOG_LEVEL_TRACE - Trace log level. */
|
|
1825
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_TRACE"] = 1] = "LOG_LEVEL_TRACE";
|
|
1826
|
+
/** LOG_LEVEL_DEBUG - Debug log level. */
|
|
1827
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_DEBUG"] = 2] = "LOG_LEVEL_DEBUG";
|
|
1828
|
+
/** LOG_LEVEL_INFO - Info log level. */
|
|
1829
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_INFO"] = 3] = "LOG_LEVEL_INFO";
|
|
1830
|
+
/** LOG_LEVEL_WARNING - Warning log level. */
|
|
1831
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_WARNING"] = 4] = "LOG_LEVEL_WARNING";
|
|
1832
|
+
/** LOG_LEVEL_ERROR - Error log level. */
|
|
1833
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_ERROR"] = 5] = "LOG_LEVEL_ERROR";
|
|
1834
|
+
/** LOG_LEVEL_CRITICAL - Critical log level. */
|
|
1835
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_CRITICAL"] = 6] = "LOG_LEVEL_CRITICAL";
|
|
1836
|
+
LogEntry_LogLevel[LogEntry_LogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1837
|
+
})(LogEntry_LogLevel || (exports.LogEntry_LogLevel = LogEntry_LogLevel = {}));
|
|
1838
|
+
function logEntry_LogLevelFromJSON(object) {
|
|
1839
|
+
switch (object) {
|
|
1840
|
+
case 0:
|
|
1841
|
+
case "LOG_LEVEL_UNSPECIFIED":
|
|
1842
|
+
return LogEntry_LogLevel.LOG_LEVEL_UNSPECIFIED;
|
|
1843
|
+
case 1:
|
|
1844
|
+
case "LOG_LEVEL_TRACE":
|
|
1845
|
+
return LogEntry_LogLevel.LOG_LEVEL_TRACE;
|
|
1846
|
+
case 2:
|
|
1847
|
+
case "LOG_LEVEL_DEBUG":
|
|
1848
|
+
return LogEntry_LogLevel.LOG_LEVEL_DEBUG;
|
|
1849
|
+
case 3:
|
|
1850
|
+
case "LOG_LEVEL_INFO":
|
|
1851
|
+
return LogEntry_LogLevel.LOG_LEVEL_INFO;
|
|
1852
|
+
case 4:
|
|
1853
|
+
case "LOG_LEVEL_WARNING":
|
|
1854
|
+
return LogEntry_LogLevel.LOG_LEVEL_WARNING;
|
|
1855
|
+
case 5:
|
|
1856
|
+
case "LOG_LEVEL_ERROR":
|
|
1857
|
+
return LogEntry_LogLevel.LOG_LEVEL_ERROR;
|
|
1858
|
+
case 6:
|
|
1859
|
+
case "LOG_LEVEL_CRITICAL":
|
|
1860
|
+
return LogEntry_LogLevel.LOG_LEVEL_CRITICAL;
|
|
1861
|
+
case -1:
|
|
1862
|
+
case "UNRECOGNIZED":
|
|
1863
|
+
default:
|
|
1864
|
+
return LogEntry_LogLevel.UNRECOGNIZED;
|
|
1865
|
+
}
|
|
1866
|
+
}
|
|
1867
|
+
function logEntry_LogLevelToJSON(object) {
|
|
1868
|
+
switch (object) {
|
|
1869
|
+
case LogEntry_LogLevel.LOG_LEVEL_UNSPECIFIED:
|
|
1870
|
+
return "LOG_LEVEL_UNSPECIFIED";
|
|
1871
|
+
case LogEntry_LogLevel.LOG_LEVEL_TRACE:
|
|
1872
|
+
return "LOG_LEVEL_TRACE";
|
|
1873
|
+
case LogEntry_LogLevel.LOG_LEVEL_DEBUG:
|
|
1874
|
+
return "LOG_LEVEL_DEBUG";
|
|
1875
|
+
case LogEntry_LogLevel.LOG_LEVEL_INFO:
|
|
1876
|
+
return "LOG_LEVEL_INFO";
|
|
1877
|
+
case LogEntry_LogLevel.LOG_LEVEL_WARNING:
|
|
1878
|
+
return "LOG_LEVEL_WARNING";
|
|
1879
|
+
case LogEntry_LogLevel.LOG_LEVEL_ERROR:
|
|
1880
|
+
return "LOG_LEVEL_ERROR";
|
|
1881
|
+
case LogEntry_LogLevel.LOG_LEVEL_CRITICAL:
|
|
1882
|
+
return "LOG_LEVEL_CRITICAL";
|
|
1883
|
+
case LogEntry_LogLevel.UNRECOGNIZED:
|
|
1884
|
+
default:
|
|
1885
|
+
return "UNRECOGNIZED";
|
|
1886
|
+
}
|
|
1887
|
+
}
|
|
1888
|
+
/** Kernel log level. */
|
|
1889
|
+
var KernelLogEntry_KernelLogLevel;
|
|
1890
|
+
(function (KernelLogEntry_KernelLogLevel) {
|
|
1891
|
+
/** KERNEL_LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
1892
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_UNSPECIFIED"] = 0] = "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
1893
|
+
/** KERNEL_LOG_LEVEL_EMERG - Emergency log level. */
|
|
1894
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_EMERG"] = 1] = "KERNEL_LOG_LEVEL_EMERG";
|
|
1895
|
+
/** KERNEL_LOG_LEVEL_ALERT - Alert log level. */
|
|
1896
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ALERT"] = 2] = "KERNEL_LOG_LEVEL_ALERT";
|
|
1897
|
+
/** KERNEL_LOG_LEVEL_CRIT - Critical log level. */
|
|
1898
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_CRIT"] = 3] = "KERNEL_LOG_LEVEL_CRIT";
|
|
1899
|
+
/** KERNEL_LOG_LEVEL_ERR - Error log level. */
|
|
1900
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ERR"] = 4] = "KERNEL_LOG_LEVEL_ERR";
|
|
1901
|
+
/** KERNEL_LOG_LEVEL_WARNING - Warning log level. */
|
|
1902
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_WARNING"] = 5] = "KERNEL_LOG_LEVEL_WARNING";
|
|
1903
|
+
/** KERNEL_LOG_LEVEL_NOTICE - Notice log level. */
|
|
1904
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_NOTICE"] = 6] = "KERNEL_LOG_LEVEL_NOTICE";
|
|
1905
|
+
/** KERNEL_LOG_LEVEL_INFO - Informational log level. */
|
|
1906
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_INFO"] = 7] = "KERNEL_LOG_LEVEL_INFO";
|
|
1907
|
+
/** KERNEL_LOG_LEVEL_DEBUG - Debug log level. */
|
|
1908
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_DEBUG"] = 8] = "KERNEL_LOG_LEVEL_DEBUG";
|
|
1909
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1910
|
+
})(KernelLogEntry_KernelLogLevel || (exports.KernelLogEntry_KernelLogLevel = KernelLogEntry_KernelLogLevel = {}));
|
|
1911
|
+
function kernelLogEntry_KernelLogLevelFromJSON(object) {
|
|
1912
|
+
switch (object) {
|
|
1913
|
+
case 0:
|
|
1914
|
+
case "KERNEL_LOG_LEVEL_UNSPECIFIED":
|
|
1915
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED;
|
|
1916
|
+
case 1:
|
|
1917
|
+
case "KERNEL_LOG_LEVEL_EMERG":
|
|
1918
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG;
|
|
1919
|
+
case 2:
|
|
1920
|
+
case "KERNEL_LOG_LEVEL_ALERT":
|
|
1921
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT;
|
|
1922
|
+
case 3:
|
|
1923
|
+
case "KERNEL_LOG_LEVEL_CRIT":
|
|
1924
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT;
|
|
1925
|
+
case 4:
|
|
1926
|
+
case "KERNEL_LOG_LEVEL_ERR":
|
|
1927
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR;
|
|
1928
|
+
case 5:
|
|
1929
|
+
case "KERNEL_LOG_LEVEL_WARNING":
|
|
1930
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING;
|
|
1931
|
+
case 6:
|
|
1932
|
+
case "KERNEL_LOG_LEVEL_NOTICE":
|
|
1933
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE;
|
|
1934
|
+
case 7:
|
|
1935
|
+
case "KERNEL_LOG_LEVEL_INFO":
|
|
1936
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO;
|
|
1937
|
+
case 8:
|
|
1938
|
+
case "KERNEL_LOG_LEVEL_DEBUG":
|
|
1939
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG;
|
|
1940
|
+
case -1:
|
|
1941
|
+
case "UNRECOGNIZED":
|
|
1942
|
+
default:
|
|
1943
|
+
return KernelLogEntry_KernelLogLevel.UNRECOGNIZED;
|
|
1944
|
+
}
|
|
1945
|
+
}
|
|
1946
|
+
function kernelLogEntry_KernelLogLevelToJSON(object) {
|
|
1947
|
+
switch (object) {
|
|
1948
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED:
|
|
1949
|
+
return "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
1950
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG:
|
|
1951
|
+
return "KERNEL_LOG_LEVEL_EMERG";
|
|
1952
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT:
|
|
1953
|
+
return "KERNEL_LOG_LEVEL_ALERT";
|
|
1954
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT:
|
|
1955
|
+
return "KERNEL_LOG_LEVEL_CRIT";
|
|
1956
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR:
|
|
1957
|
+
return "KERNEL_LOG_LEVEL_ERR";
|
|
1958
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING:
|
|
1959
|
+
return "KERNEL_LOG_LEVEL_WARNING";
|
|
1960
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE:
|
|
1961
|
+
return "KERNEL_LOG_LEVEL_NOTICE";
|
|
1962
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO:
|
|
1963
|
+
return "KERNEL_LOG_LEVEL_INFO";
|
|
1964
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG:
|
|
1965
|
+
return "KERNEL_LOG_LEVEL_DEBUG";
|
|
1966
|
+
case KernelLogEntry_KernelLogLevel.UNRECOGNIZED:
|
|
1967
|
+
default:
|
|
1968
|
+
return "UNRECOGNIZED";
|
|
1969
|
+
}
|
|
1970
|
+
}
|
|
1690
1971
|
var PingerConfiguration_MountingDirection;
|
|
1691
1972
|
(function (PingerConfiguration_MountingDirection) {
|
|
1692
1973
|
/** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
|
|
@@ -1808,10 +2089,12 @@ var RemovableStorageDevice_Status;
|
|
|
1808
2089
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNSPECIFIED"] = 0] = "STATUS_UNSPECIFIED";
|
|
1809
2090
|
/** STATUS_READY - The storage device is valid and ready for use. */
|
|
1810
2091
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_READY"] = 1] = "STATUS_READY";
|
|
1811
|
-
/** STATUS_FORMATTING - The storage device is being formatted */
|
|
2092
|
+
/** STATUS_FORMATTING - The storage device is being formatted. */
|
|
1812
2093
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_FORMATTING"] = 2] = "STATUS_FORMATTING";
|
|
1813
2094
|
/** STATUS_ERROR - The storage device is in an error state. */
|
|
1814
2095
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_ERROR"] = 3] = "STATUS_ERROR";
|
|
2096
|
+
/** STATUS_UNPLUGGED - The storage device is not present. */
|
|
2097
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNPLUGGED"] = 4] = "STATUS_UNPLUGGED";
|
|
1815
2098
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1816
2099
|
})(RemovableStorageDevice_Status || (exports.RemovableStorageDevice_Status = RemovableStorageDevice_Status = {}));
|
|
1817
2100
|
function removableStorageDevice_StatusFromJSON(object) {
|
|
@@ -1828,6 +2111,9 @@ function removableStorageDevice_StatusFromJSON(object) {
|
|
|
1828
2111
|
case 3:
|
|
1829
2112
|
case "STATUS_ERROR":
|
|
1830
2113
|
return RemovableStorageDevice_Status.STATUS_ERROR;
|
|
2114
|
+
case 4:
|
|
2115
|
+
case "STATUS_UNPLUGGED":
|
|
2116
|
+
return RemovableStorageDevice_Status.STATUS_UNPLUGGED;
|
|
1831
2117
|
case -1:
|
|
1832
2118
|
case "UNRECOGNIZED":
|
|
1833
2119
|
default:
|
|
@@ -1844,6 +2130,8 @@ function removableStorageDevice_StatusToJSON(object) {
|
|
|
1844
2130
|
return "STATUS_FORMATTING";
|
|
1845
2131
|
case RemovableStorageDevice_Status.STATUS_ERROR:
|
|
1846
2132
|
return "STATUS_ERROR";
|
|
2133
|
+
case RemovableStorageDevice_Status.STATUS_UNPLUGGED:
|
|
2134
|
+
return "STATUS_UNPLUGGED";
|
|
1847
2135
|
case RemovableStorageDevice_Status.UNRECOGNIZED:
|
|
1848
2136
|
default:
|
|
1849
2137
|
return "UNRECOGNIZED";
|
|
@@ -2065,6 +2353,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2065
2353
|
return "UNRECOGNIZED";
|
|
2066
2354
|
}
|
|
2067
2355
|
}
|
|
2356
|
+
var SurfaceUnitBatteryInfo_ChargeStatus;
|
|
2357
|
+
(function (SurfaceUnitBatteryInfo_ChargeStatus) {
|
|
2358
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_UNSPECIFIED"] = 0] = "CHARGE_STATUS_UNSPECIFIED";
|
|
2359
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_DISCHARGE"] = 1] = "CHARGE_STATUS_DISCHARGE";
|
|
2360
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE"] = 2] = "CHARGE_STATUS_CHARGE";
|
|
2361
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE_ERROR"] = 3] = "CHARGE_STATUS_CHARGE_ERROR";
|
|
2362
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2363
|
+
})(SurfaceUnitBatteryInfo_ChargeStatus || (exports.SurfaceUnitBatteryInfo_ChargeStatus = SurfaceUnitBatteryInfo_ChargeStatus = {}));
|
|
2364
|
+
function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object) {
|
|
2365
|
+
switch (object) {
|
|
2366
|
+
case 0:
|
|
2367
|
+
case "CHARGE_STATUS_UNSPECIFIED":
|
|
2368
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED;
|
|
2369
|
+
case 1:
|
|
2370
|
+
case "CHARGE_STATUS_DISCHARGE":
|
|
2371
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE;
|
|
2372
|
+
case 2:
|
|
2373
|
+
case "CHARGE_STATUS_CHARGE":
|
|
2374
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE;
|
|
2375
|
+
case 3:
|
|
2376
|
+
case "CHARGE_STATUS_CHARGE_ERROR":
|
|
2377
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR;
|
|
2378
|
+
case -1:
|
|
2379
|
+
case "UNRECOGNIZED":
|
|
2380
|
+
default:
|
|
2381
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED;
|
|
2382
|
+
}
|
|
2383
|
+
}
|
|
2384
|
+
function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
|
|
2385
|
+
switch (object) {
|
|
2386
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED:
|
|
2387
|
+
return "CHARGE_STATUS_UNSPECIFIED";
|
|
2388
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE:
|
|
2389
|
+
return "CHARGE_STATUS_DISCHARGE";
|
|
2390
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE:
|
|
2391
|
+
return "CHARGE_STATUS_CHARGE";
|
|
2392
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR:
|
|
2393
|
+
return "CHARGE_STATUS_CHARGE_ERROR";
|
|
2394
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED:
|
|
2395
|
+
default:
|
|
2396
|
+
return "UNRECOGNIZED";
|
|
2397
|
+
}
|
|
2398
|
+
}
|
|
2068
2399
|
function createBaseBinlogRecord() {
|
|
2069
2400
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2070
2401
|
}
|
|
@@ -2150,6 +2481,332 @@ exports.BinlogRecord = {
|
|
|
2150
2481
|
return message;
|
|
2151
2482
|
},
|
|
2152
2483
|
};
|
|
2484
|
+
function createBaseLogEntry() {
|
|
2485
|
+
return { timestamp: undefined, processName: "", processId: 0, threadId: 0, source: "", level: 0, message: "" };
|
|
2486
|
+
}
|
|
2487
|
+
exports.LogEntry = {
|
|
2488
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2489
|
+
if (message.timestamp !== undefined) {
|
|
2490
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(10).fork()).join();
|
|
2491
|
+
}
|
|
2492
|
+
if (message.processName !== "") {
|
|
2493
|
+
writer.uint32(18).string(message.processName);
|
|
2494
|
+
}
|
|
2495
|
+
if (message.processId !== 0) {
|
|
2496
|
+
writer.uint32(24).uint64(message.processId);
|
|
2497
|
+
}
|
|
2498
|
+
if (message.threadId !== 0) {
|
|
2499
|
+
writer.uint32(32).uint64(message.threadId);
|
|
2500
|
+
}
|
|
2501
|
+
if (message.source !== "") {
|
|
2502
|
+
writer.uint32(42).string(message.source);
|
|
2503
|
+
}
|
|
2504
|
+
if (message.level !== 0) {
|
|
2505
|
+
writer.uint32(48).int32(message.level);
|
|
2506
|
+
}
|
|
2507
|
+
if (message.message !== "") {
|
|
2508
|
+
writer.uint32(58).string(message.message);
|
|
2509
|
+
}
|
|
2510
|
+
return writer;
|
|
2511
|
+
},
|
|
2512
|
+
decode(input, length) {
|
|
2513
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2514
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2515
|
+
const message = createBaseLogEntry();
|
|
2516
|
+
while (reader.pos < end) {
|
|
2517
|
+
const tag = reader.uint32();
|
|
2518
|
+
switch (tag >>> 3) {
|
|
2519
|
+
case 1: {
|
|
2520
|
+
if (tag !== 10) {
|
|
2521
|
+
break;
|
|
2522
|
+
}
|
|
2523
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2524
|
+
continue;
|
|
2525
|
+
}
|
|
2526
|
+
case 2: {
|
|
2527
|
+
if (tag !== 18) {
|
|
2528
|
+
break;
|
|
2529
|
+
}
|
|
2530
|
+
message.processName = reader.string();
|
|
2531
|
+
continue;
|
|
2532
|
+
}
|
|
2533
|
+
case 3: {
|
|
2534
|
+
if (tag !== 24) {
|
|
2535
|
+
break;
|
|
2536
|
+
}
|
|
2537
|
+
message.processId = longToNumber(reader.uint64());
|
|
2538
|
+
continue;
|
|
2539
|
+
}
|
|
2540
|
+
case 4: {
|
|
2541
|
+
if (tag !== 32) {
|
|
2542
|
+
break;
|
|
2543
|
+
}
|
|
2544
|
+
message.threadId = longToNumber(reader.uint64());
|
|
2545
|
+
continue;
|
|
2546
|
+
}
|
|
2547
|
+
case 5: {
|
|
2548
|
+
if (tag !== 42) {
|
|
2549
|
+
break;
|
|
2550
|
+
}
|
|
2551
|
+
message.source = reader.string();
|
|
2552
|
+
continue;
|
|
2553
|
+
}
|
|
2554
|
+
case 6: {
|
|
2555
|
+
if (tag !== 48) {
|
|
2556
|
+
break;
|
|
2557
|
+
}
|
|
2558
|
+
message.level = reader.int32();
|
|
2559
|
+
continue;
|
|
2560
|
+
}
|
|
2561
|
+
case 7: {
|
|
2562
|
+
if (tag !== 58) {
|
|
2563
|
+
break;
|
|
2564
|
+
}
|
|
2565
|
+
message.message = reader.string();
|
|
2566
|
+
continue;
|
|
2567
|
+
}
|
|
2568
|
+
}
|
|
2569
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2570
|
+
break;
|
|
2571
|
+
}
|
|
2572
|
+
reader.skip(tag & 7);
|
|
2573
|
+
}
|
|
2574
|
+
return message;
|
|
2575
|
+
},
|
|
2576
|
+
fromJSON(object) {
|
|
2577
|
+
return {
|
|
2578
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2579
|
+
processName: isSet(object.processName) ? gt.String(object.processName) : "",
|
|
2580
|
+
processId: isSet(object.processId) ? gt.Number(object.processId) : 0,
|
|
2581
|
+
threadId: isSet(object.threadId) ? gt.Number(object.threadId) : 0,
|
|
2582
|
+
source: isSet(object.source) ? gt.String(object.source) : "",
|
|
2583
|
+
level: isSet(object.level) ? logEntry_LogLevelFromJSON(object.level) : 0,
|
|
2584
|
+
message: isSet(object.message) ? gt.String(object.message) : "",
|
|
2585
|
+
};
|
|
2586
|
+
},
|
|
2587
|
+
toJSON(message) {
|
|
2588
|
+
const obj = {};
|
|
2589
|
+
if (message.timestamp !== undefined) {
|
|
2590
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2591
|
+
}
|
|
2592
|
+
if (message.processName !== "") {
|
|
2593
|
+
obj.processName = message.processName;
|
|
2594
|
+
}
|
|
2595
|
+
if (message.processId !== 0) {
|
|
2596
|
+
obj.processId = Math.round(message.processId);
|
|
2597
|
+
}
|
|
2598
|
+
if (message.threadId !== 0) {
|
|
2599
|
+
obj.threadId = Math.round(message.threadId);
|
|
2600
|
+
}
|
|
2601
|
+
if (message.source !== "") {
|
|
2602
|
+
obj.source = message.source;
|
|
2603
|
+
}
|
|
2604
|
+
if (message.level !== 0) {
|
|
2605
|
+
obj.level = logEntry_LogLevelToJSON(message.level);
|
|
2606
|
+
}
|
|
2607
|
+
if (message.message !== "") {
|
|
2608
|
+
obj.message = message.message;
|
|
2609
|
+
}
|
|
2610
|
+
return obj;
|
|
2611
|
+
},
|
|
2612
|
+
create(base) {
|
|
2613
|
+
return exports.LogEntry.fromPartial(base ?? {});
|
|
2614
|
+
},
|
|
2615
|
+
fromPartial(object) {
|
|
2616
|
+
const message = createBaseLogEntry();
|
|
2617
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2618
|
+
message.processName = object.processName ?? "";
|
|
2619
|
+
message.processId = object.processId ?? 0;
|
|
2620
|
+
message.threadId = object.threadId ?? 0;
|
|
2621
|
+
message.source = object.source ?? "";
|
|
2622
|
+
message.level = object.level ?? 0;
|
|
2623
|
+
message.message = object.message ?? "";
|
|
2624
|
+
return message;
|
|
2625
|
+
},
|
|
2626
|
+
};
|
|
2627
|
+
function createBaseKernelLogEntry() {
|
|
2628
|
+
return { level: 0, seqnum: 0, timestamp: undefined, messages: [], fields: [] };
|
|
2629
|
+
}
|
|
2630
|
+
exports.KernelLogEntry = {
|
|
2631
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2632
|
+
if (message.level !== 0) {
|
|
2633
|
+
writer.uint32(8).int32(message.level);
|
|
2634
|
+
}
|
|
2635
|
+
if (message.seqnum !== 0) {
|
|
2636
|
+
writer.uint32(16).uint32(message.seqnum);
|
|
2637
|
+
}
|
|
2638
|
+
if (message.timestamp !== undefined) {
|
|
2639
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).join();
|
|
2640
|
+
}
|
|
2641
|
+
for (const v of message.messages) {
|
|
2642
|
+
writer.uint32(34).string(v);
|
|
2643
|
+
}
|
|
2644
|
+
for (const v of message.fields) {
|
|
2645
|
+
exports.KernelLogEntry_KeyValuePair.encode(v, writer.uint32(42).fork()).join();
|
|
2646
|
+
}
|
|
2647
|
+
return writer;
|
|
2648
|
+
},
|
|
2649
|
+
decode(input, length) {
|
|
2650
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2651
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2652
|
+
const message = createBaseKernelLogEntry();
|
|
2653
|
+
while (reader.pos < end) {
|
|
2654
|
+
const tag = reader.uint32();
|
|
2655
|
+
switch (tag >>> 3) {
|
|
2656
|
+
case 1: {
|
|
2657
|
+
if (tag !== 8) {
|
|
2658
|
+
break;
|
|
2659
|
+
}
|
|
2660
|
+
message.level = reader.int32();
|
|
2661
|
+
continue;
|
|
2662
|
+
}
|
|
2663
|
+
case 2: {
|
|
2664
|
+
if (tag !== 16) {
|
|
2665
|
+
break;
|
|
2666
|
+
}
|
|
2667
|
+
message.seqnum = reader.uint32();
|
|
2668
|
+
continue;
|
|
2669
|
+
}
|
|
2670
|
+
case 3: {
|
|
2671
|
+
if (tag !== 26) {
|
|
2672
|
+
break;
|
|
2673
|
+
}
|
|
2674
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2675
|
+
continue;
|
|
2676
|
+
}
|
|
2677
|
+
case 4: {
|
|
2678
|
+
if (tag !== 34) {
|
|
2679
|
+
break;
|
|
2680
|
+
}
|
|
2681
|
+
message.messages.push(reader.string());
|
|
2682
|
+
continue;
|
|
2683
|
+
}
|
|
2684
|
+
case 5: {
|
|
2685
|
+
if (tag !== 42) {
|
|
2686
|
+
break;
|
|
2687
|
+
}
|
|
2688
|
+
message.fields.push(exports.KernelLogEntry_KeyValuePair.decode(reader, reader.uint32()));
|
|
2689
|
+
continue;
|
|
2690
|
+
}
|
|
2691
|
+
}
|
|
2692
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2693
|
+
break;
|
|
2694
|
+
}
|
|
2695
|
+
reader.skip(tag & 7);
|
|
2696
|
+
}
|
|
2697
|
+
return message;
|
|
2698
|
+
},
|
|
2699
|
+
fromJSON(object) {
|
|
2700
|
+
return {
|
|
2701
|
+
level: isSet(object.level) ? kernelLogEntry_KernelLogLevelFromJSON(object.level) : 0,
|
|
2702
|
+
seqnum: isSet(object.seqnum) ? gt.Number(object.seqnum) : 0,
|
|
2703
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2704
|
+
messages: gt.Array.isArray(object?.messages) ? object.messages.map((e) => gt.String(e)) : [],
|
|
2705
|
+
fields: gt.Array.isArray(object?.fields)
|
|
2706
|
+
? object.fields.map((e) => exports.KernelLogEntry_KeyValuePair.fromJSON(e))
|
|
2707
|
+
: [],
|
|
2708
|
+
};
|
|
2709
|
+
},
|
|
2710
|
+
toJSON(message) {
|
|
2711
|
+
const obj = {};
|
|
2712
|
+
if (message.level !== 0) {
|
|
2713
|
+
obj.level = kernelLogEntry_KernelLogLevelToJSON(message.level);
|
|
2714
|
+
}
|
|
2715
|
+
if (message.seqnum !== 0) {
|
|
2716
|
+
obj.seqnum = Math.round(message.seqnum);
|
|
2717
|
+
}
|
|
2718
|
+
if (message.timestamp !== undefined) {
|
|
2719
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2720
|
+
}
|
|
2721
|
+
if (message.messages?.length) {
|
|
2722
|
+
obj.messages = message.messages;
|
|
2723
|
+
}
|
|
2724
|
+
if (message.fields?.length) {
|
|
2725
|
+
obj.fields = message.fields.map((e) => exports.KernelLogEntry_KeyValuePair.toJSON(e));
|
|
2726
|
+
}
|
|
2727
|
+
return obj;
|
|
2728
|
+
},
|
|
2729
|
+
create(base) {
|
|
2730
|
+
return exports.KernelLogEntry.fromPartial(base ?? {});
|
|
2731
|
+
},
|
|
2732
|
+
fromPartial(object) {
|
|
2733
|
+
const message = createBaseKernelLogEntry();
|
|
2734
|
+
message.level = object.level ?? 0;
|
|
2735
|
+
message.seqnum = object.seqnum ?? 0;
|
|
2736
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2737
|
+
message.messages = object.messages?.map((e) => e) || [];
|
|
2738
|
+
message.fields = object.fields?.map((e) => exports.KernelLogEntry_KeyValuePair.fromPartial(e)) || [];
|
|
2739
|
+
return message;
|
|
2740
|
+
},
|
|
2741
|
+
};
|
|
2742
|
+
function createBaseKernelLogEntry_KeyValuePair() {
|
|
2743
|
+
return { key: "", value: "" };
|
|
2744
|
+
}
|
|
2745
|
+
exports.KernelLogEntry_KeyValuePair = {
|
|
2746
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2747
|
+
if (message.key !== "") {
|
|
2748
|
+
writer.uint32(10).string(message.key);
|
|
2749
|
+
}
|
|
2750
|
+
if (message.value !== "") {
|
|
2751
|
+
writer.uint32(18).string(message.value);
|
|
2752
|
+
}
|
|
2753
|
+
return writer;
|
|
2754
|
+
},
|
|
2755
|
+
decode(input, length) {
|
|
2756
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2757
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2758
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2759
|
+
while (reader.pos < end) {
|
|
2760
|
+
const tag = reader.uint32();
|
|
2761
|
+
switch (tag >>> 3) {
|
|
2762
|
+
case 1: {
|
|
2763
|
+
if (tag !== 10) {
|
|
2764
|
+
break;
|
|
2765
|
+
}
|
|
2766
|
+
message.key = reader.string();
|
|
2767
|
+
continue;
|
|
2768
|
+
}
|
|
2769
|
+
case 2: {
|
|
2770
|
+
if (tag !== 18) {
|
|
2771
|
+
break;
|
|
2772
|
+
}
|
|
2773
|
+
message.value = reader.string();
|
|
2774
|
+
continue;
|
|
2775
|
+
}
|
|
2776
|
+
}
|
|
2777
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2778
|
+
break;
|
|
2779
|
+
}
|
|
2780
|
+
reader.skip(tag & 7);
|
|
2781
|
+
}
|
|
2782
|
+
return message;
|
|
2783
|
+
},
|
|
2784
|
+
fromJSON(object) {
|
|
2785
|
+
return {
|
|
2786
|
+
key: isSet(object.key) ? gt.String(object.key) : "",
|
|
2787
|
+
value: isSet(object.value) ? gt.String(object.value) : "",
|
|
2788
|
+
};
|
|
2789
|
+
},
|
|
2790
|
+
toJSON(message) {
|
|
2791
|
+
const obj = {};
|
|
2792
|
+
if (message.key !== "") {
|
|
2793
|
+
obj.key = message.key;
|
|
2794
|
+
}
|
|
2795
|
+
if (message.value !== "") {
|
|
2796
|
+
obj.value = message.value;
|
|
2797
|
+
}
|
|
2798
|
+
return obj;
|
|
2799
|
+
},
|
|
2800
|
+
create(base) {
|
|
2801
|
+
return exports.KernelLogEntry_KeyValuePair.fromPartial(base ?? {});
|
|
2802
|
+
},
|
|
2803
|
+
fromPartial(object) {
|
|
2804
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2805
|
+
message.key = object.key ?? "";
|
|
2806
|
+
message.value = object.value ?? "";
|
|
2807
|
+
return message;
|
|
2808
|
+
},
|
|
2809
|
+
};
|
|
2153
2810
|
function createBaseMotionInput() {
|
|
2154
2811
|
return { surge: 0, sway: 0, heave: 0, roll: 0, pitch: 0, yaw: 0, slow: 0, boost: 0 };
|
|
2155
2812
|
}
|
|
@@ -3431,6 +4088,9 @@ function createBaseRecordState() {
|
|
|
3431
4088
|
multibeamIsRecording: false,
|
|
3432
4089
|
multibeamSeconds: 0,
|
|
3433
4090
|
multibeamFps: 0,
|
|
4091
|
+
mainStorageLocation: 0,
|
|
4092
|
+
guestportStorageLocation: 0,
|
|
4093
|
+
multibeamStorageLocation: 0,
|
|
3434
4094
|
};
|
|
3435
4095
|
}
|
|
3436
4096
|
exports.RecordState = {
|
|
@@ -3462,6 +4122,15 @@ exports.RecordState = {
|
|
|
3462
4122
|
if (message.multibeamFps !== 0) {
|
|
3463
4123
|
writer.uint32(77).float(message.multibeamFps);
|
|
3464
4124
|
}
|
|
4125
|
+
if (message.mainStorageLocation !== 0) {
|
|
4126
|
+
writer.uint32(80).int32(message.mainStorageLocation);
|
|
4127
|
+
}
|
|
4128
|
+
if (message.guestportStorageLocation !== 0) {
|
|
4129
|
+
writer.uint32(88).int32(message.guestportStorageLocation);
|
|
4130
|
+
}
|
|
4131
|
+
if (message.multibeamStorageLocation !== 0) {
|
|
4132
|
+
writer.uint32(96).int32(message.multibeamStorageLocation);
|
|
4133
|
+
}
|
|
3465
4134
|
return writer;
|
|
3466
4135
|
},
|
|
3467
4136
|
decode(input, length) {
|
|
@@ -3534,6 +4203,27 @@ exports.RecordState = {
|
|
|
3534
4203
|
message.multibeamFps = reader.float();
|
|
3535
4204
|
continue;
|
|
3536
4205
|
}
|
|
4206
|
+
case 10: {
|
|
4207
|
+
if (tag !== 80) {
|
|
4208
|
+
break;
|
|
4209
|
+
}
|
|
4210
|
+
message.mainStorageLocation = reader.int32();
|
|
4211
|
+
continue;
|
|
4212
|
+
}
|
|
4213
|
+
case 11: {
|
|
4214
|
+
if (tag !== 88) {
|
|
4215
|
+
break;
|
|
4216
|
+
}
|
|
4217
|
+
message.guestportStorageLocation = reader.int32();
|
|
4218
|
+
continue;
|
|
4219
|
+
}
|
|
4220
|
+
case 12: {
|
|
4221
|
+
if (tag !== 96) {
|
|
4222
|
+
break;
|
|
4223
|
+
}
|
|
4224
|
+
message.multibeamStorageLocation = reader.int32();
|
|
4225
|
+
continue;
|
|
4226
|
+
}
|
|
3537
4227
|
}
|
|
3538
4228
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3539
4229
|
break;
|
|
@@ -3553,6 +4243,13 @@ exports.RecordState = {
|
|
|
3553
4243
|
multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
|
|
3554
4244
|
multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
|
|
3555
4245
|
multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
|
|
4246
|
+
mainStorageLocation: isSet(object.mainStorageLocation) ? storageLocationFromJSON(object.mainStorageLocation) : 0,
|
|
4247
|
+
guestportStorageLocation: isSet(object.guestportStorageLocation)
|
|
4248
|
+
? storageLocationFromJSON(object.guestportStorageLocation)
|
|
4249
|
+
: 0,
|
|
4250
|
+
multibeamStorageLocation: isSet(object.multibeamStorageLocation)
|
|
4251
|
+
? storageLocationFromJSON(object.multibeamStorageLocation)
|
|
4252
|
+
: 0,
|
|
3556
4253
|
};
|
|
3557
4254
|
},
|
|
3558
4255
|
toJSON(message) {
|
|
@@ -3584,6 +4281,15 @@ exports.RecordState = {
|
|
|
3584
4281
|
if (message.multibeamFps !== 0) {
|
|
3585
4282
|
obj.multibeamFps = message.multibeamFps;
|
|
3586
4283
|
}
|
|
4284
|
+
if (message.mainStorageLocation !== 0) {
|
|
4285
|
+
obj.mainStorageLocation = storageLocationToJSON(message.mainStorageLocation);
|
|
4286
|
+
}
|
|
4287
|
+
if (message.guestportStorageLocation !== 0) {
|
|
4288
|
+
obj.guestportStorageLocation = storageLocationToJSON(message.guestportStorageLocation);
|
|
4289
|
+
}
|
|
4290
|
+
if (message.multibeamStorageLocation !== 0) {
|
|
4291
|
+
obj.multibeamStorageLocation = storageLocationToJSON(message.multibeamStorageLocation);
|
|
4292
|
+
}
|
|
3587
4293
|
return obj;
|
|
3588
4294
|
},
|
|
3589
4295
|
create(base) {
|
|
@@ -3600,6 +4306,9 @@ exports.RecordState = {
|
|
|
3600
4306
|
message.multibeamIsRecording = object.multibeamIsRecording ?? false;
|
|
3601
4307
|
message.multibeamSeconds = object.multibeamSeconds ?? 0;
|
|
3602
4308
|
message.multibeamFps = object.multibeamFps ?? 0;
|
|
4309
|
+
message.mainStorageLocation = object.mainStorageLocation ?? 0;
|
|
4310
|
+
message.guestportStorageLocation = object.guestportStorageLocation ?? 0;
|
|
4311
|
+
message.multibeamStorageLocation = object.multibeamStorageLocation ?? 0;
|
|
3603
4312
|
return message;
|
|
3604
4313
|
},
|
|
3605
4314
|
};
|
|
@@ -7507,7 +8216,7 @@ exports.StorageSpace = {
|
|
|
7507
8216
|
},
|
|
7508
8217
|
};
|
|
7509
8218
|
function createBaseStoragePartition() {
|
|
7510
|
-
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "" };
|
|
8219
|
+
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "", label: "" };
|
|
7511
8220
|
}
|
|
7512
8221
|
exports.StoragePartition = {
|
|
7513
8222
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -7523,6 +8232,9 @@ exports.StoragePartition = {
|
|
|
7523
8232
|
if (message.mountPath !== "") {
|
|
7524
8233
|
writer.uint32(34).string(message.mountPath);
|
|
7525
8234
|
}
|
|
8235
|
+
if (message.label !== "") {
|
|
8236
|
+
writer.uint32(42).string(message.label);
|
|
8237
|
+
}
|
|
7526
8238
|
return writer;
|
|
7527
8239
|
},
|
|
7528
8240
|
decode(input, length) {
|
|
@@ -7560,6 +8272,13 @@ exports.StoragePartition = {
|
|
|
7560
8272
|
message.mountPath = reader.string();
|
|
7561
8273
|
continue;
|
|
7562
8274
|
}
|
|
8275
|
+
case 5: {
|
|
8276
|
+
if (tag !== 42) {
|
|
8277
|
+
break;
|
|
8278
|
+
}
|
|
8279
|
+
message.label = reader.string();
|
|
8280
|
+
continue;
|
|
8281
|
+
}
|
|
7563
8282
|
}
|
|
7564
8283
|
if ((tag & 7) === 4 || tag === 0) {
|
|
7565
8284
|
break;
|
|
@@ -7574,6 +8293,7 @@ exports.StoragePartition = {
|
|
|
7574
8293
|
fileSystemType: isSet(object.fileSystemType) ? gt.String(object.fileSystemType) : "",
|
|
7575
8294
|
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
7576
8295
|
mountPath: isSet(object.mountPath) ? gt.String(object.mountPath) : "",
|
|
8296
|
+
label: isSet(object.label) ? gt.String(object.label) : "",
|
|
7577
8297
|
};
|
|
7578
8298
|
},
|
|
7579
8299
|
toJSON(message) {
|
|
@@ -7590,6 +8310,9 @@ exports.StoragePartition = {
|
|
|
7590
8310
|
if (message.mountPath !== "") {
|
|
7591
8311
|
obj.mountPath = message.mountPath;
|
|
7592
8312
|
}
|
|
8313
|
+
if (message.label !== "") {
|
|
8314
|
+
obj.label = message.label;
|
|
8315
|
+
}
|
|
7593
8316
|
return obj;
|
|
7594
8317
|
},
|
|
7595
8318
|
create(base) {
|
|
@@ -7603,6 +8326,7 @@ exports.StoragePartition = {
|
|
|
7603
8326
|
message.fileSystemType = object.fileSystemType ?? "";
|
|
7604
8327
|
message.devicePath = object.devicePath ?? "";
|
|
7605
8328
|
message.mountPath = object.mountPath ?? "";
|
|
8329
|
+
message.label = object.label ?? "";
|
|
7606
8330
|
return message;
|
|
7607
8331
|
},
|
|
7608
8332
|
};
|
|
@@ -9300,11 +10024,23 @@ function createBaseCameraParameters() {
|
|
|
9300
10024
|
whiteBalance: 0,
|
|
9301
10025
|
hue: 0,
|
|
9302
10026
|
gain: 0,
|
|
10027
|
+
brightness: 0,
|
|
10028
|
+
contrast: 0,
|
|
10029
|
+
saturation: 0,
|
|
10030
|
+
gamma: 0,
|
|
10031
|
+
sharpness: 0,
|
|
10032
|
+
backlightCompensation: 0,
|
|
10033
|
+
denoise: 0,
|
|
10034
|
+
ehdrEnabled: false,
|
|
10035
|
+
ehdrExposureMinNumber: 0,
|
|
10036
|
+
ehdrExposureMaxNumber: 0,
|
|
9303
10037
|
resolution: 0,
|
|
9304
10038
|
streamResolution: 0,
|
|
9305
10039
|
recordingResolution: 0,
|
|
10040
|
+
streamingProtocol: 0,
|
|
9306
10041
|
framerate: 0,
|
|
9307
10042
|
camera: 0,
|
|
10043
|
+
mtuSize: 0,
|
|
9308
10044
|
};
|
|
9309
10045
|
}
|
|
9310
10046
|
exports.CameraParameters = {
|
|
@@ -9321,11 +10057,41 @@ exports.CameraParameters = {
|
|
|
9321
10057
|
if (message.whiteBalance !== 0) {
|
|
9322
10058
|
writer.uint32(32).int32(message.whiteBalance);
|
|
9323
10059
|
}
|
|
9324
|
-
if (message.hue !== 0) {
|
|
9325
|
-
writer.uint32(40).int32(message.hue);
|
|
10060
|
+
if (message.hue !== 0) {
|
|
10061
|
+
writer.uint32(40).int32(message.hue);
|
|
10062
|
+
}
|
|
10063
|
+
if (message.gain !== 0) {
|
|
10064
|
+
writer.uint32(77).float(message.gain);
|
|
10065
|
+
}
|
|
10066
|
+
if (message.brightness !== 0) {
|
|
10067
|
+
writer.uint32(96).int32(message.brightness);
|
|
10068
|
+
}
|
|
10069
|
+
if (message.contrast !== 0) {
|
|
10070
|
+
writer.uint32(104).int32(message.contrast);
|
|
10071
|
+
}
|
|
10072
|
+
if (message.saturation !== 0) {
|
|
10073
|
+
writer.uint32(112).int32(message.saturation);
|
|
10074
|
+
}
|
|
10075
|
+
if (message.gamma !== 0) {
|
|
10076
|
+
writer.uint32(120).int32(message.gamma);
|
|
10077
|
+
}
|
|
10078
|
+
if (message.sharpness !== 0) {
|
|
10079
|
+
writer.uint32(128).int32(message.sharpness);
|
|
10080
|
+
}
|
|
10081
|
+
if (message.backlightCompensation !== 0) {
|
|
10082
|
+
writer.uint32(136).int32(message.backlightCompensation);
|
|
10083
|
+
}
|
|
10084
|
+
if (message.denoise !== 0) {
|
|
10085
|
+
writer.uint32(144).int32(message.denoise);
|
|
10086
|
+
}
|
|
10087
|
+
if (message.ehdrEnabled !== false) {
|
|
10088
|
+
writer.uint32(168).bool(message.ehdrEnabled);
|
|
10089
|
+
}
|
|
10090
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10091
|
+
writer.uint32(176).int32(message.ehdrExposureMinNumber);
|
|
9326
10092
|
}
|
|
9327
|
-
if (message.
|
|
9328
|
-
writer.uint32(
|
|
10093
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10094
|
+
writer.uint32(184).int32(message.ehdrExposureMaxNumber);
|
|
9329
10095
|
}
|
|
9330
10096
|
if (message.resolution !== 0) {
|
|
9331
10097
|
writer.uint32(48).int32(message.resolution);
|
|
@@ -9336,12 +10102,18 @@ exports.CameraParameters = {
|
|
|
9336
10102
|
if (message.recordingResolution !== 0) {
|
|
9337
10103
|
writer.uint32(88).int32(message.recordingResolution);
|
|
9338
10104
|
}
|
|
10105
|
+
if (message.streamingProtocol !== 0) {
|
|
10106
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
10107
|
+
}
|
|
9339
10108
|
if (message.framerate !== 0) {
|
|
9340
10109
|
writer.uint32(56).int32(message.framerate);
|
|
9341
10110
|
}
|
|
9342
10111
|
if (message.camera !== 0) {
|
|
9343
10112
|
writer.uint32(64).int32(message.camera);
|
|
9344
10113
|
}
|
|
10114
|
+
if (message.mtuSize !== 0) {
|
|
10115
|
+
writer.uint32(192).uint32(message.mtuSize);
|
|
10116
|
+
}
|
|
9345
10117
|
return writer;
|
|
9346
10118
|
},
|
|
9347
10119
|
decode(input, length) {
|
|
@@ -9393,6 +10165,76 @@ exports.CameraParameters = {
|
|
|
9393
10165
|
message.gain = reader.float();
|
|
9394
10166
|
continue;
|
|
9395
10167
|
}
|
|
10168
|
+
case 12: {
|
|
10169
|
+
if (tag !== 96) {
|
|
10170
|
+
break;
|
|
10171
|
+
}
|
|
10172
|
+
message.brightness = reader.int32();
|
|
10173
|
+
continue;
|
|
10174
|
+
}
|
|
10175
|
+
case 13: {
|
|
10176
|
+
if (tag !== 104) {
|
|
10177
|
+
break;
|
|
10178
|
+
}
|
|
10179
|
+
message.contrast = reader.int32();
|
|
10180
|
+
continue;
|
|
10181
|
+
}
|
|
10182
|
+
case 14: {
|
|
10183
|
+
if (tag !== 112) {
|
|
10184
|
+
break;
|
|
10185
|
+
}
|
|
10186
|
+
message.saturation = reader.int32();
|
|
10187
|
+
continue;
|
|
10188
|
+
}
|
|
10189
|
+
case 15: {
|
|
10190
|
+
if (tag !== 120) {
|
|
10191
|
+
break;
|
|
10192
|
+
}
|
|
10193
|
+
message.gamma = reader.int32();
|
|
10194
|
+
continue;
|
|
10195
|
+
}
|
|
10196
|
+
case 16: {
|
|
10197
|
+
if (tag !== 128) {
|
|
10198
|
+
break;
|
|
10199
|
+
}
|
|
10200
|
+
message.sharpness = reader.int32();
|
|
10201
|
+
continue;
|
|
10202
|
+
}
|
|
10203
|
+
case 17: {
|
|
10204
|
+
if (tag !== 136) {
|
|
10205
|
+
break;
|
|
10206
|
+
}
|
|
10207
|
+
message.backlightCompensation = reader.int32();
|
|
10208
|
+
continue;
|
|
10209
|
+
}
|
|
10210
|
+
case 18: {
|
|
10211
|
+
if (tag !== 144) {
|
|
10212
|
+
break;
|
|
10213
|
+
}
|
|
10214
|
+
message.denoise = reader.int32();
|
|
10215
|
+
continue;
|
|
10216
|
+
}
|
|
10217
|
+
case 21: {
|
|
10218
|
+
if (tag !== 168) {
|
|
10219
|
+
break;
|
|
10220
|
+
}
|
|
10221
|
+
message.ehdrEnabled = reader.bool();
|
|
10222
|
+
continue;
|
|
10223
|
+
}
|
|
10224
|
+
case 22: {
|
|
10225
|
+
if (tag !== 176) {
|
|
10226
|
+
break;
|
|
10227
|
+
}
|
|
10228
|
+
message.ehdrExposureMinNumber = reader.int32();
|
|
10229
|
+
continue;
|
|
10230
|
+
}
|
|
10231
|
+
case 23: {
|
|
10232
|
+
if (tag !== 184) {
|
|
10233
|
+
break;
|
|
10234
|
+
}
|
|
10235
|
+
message.ehdrExposureMaxNumber = reader.int32();
|
|
10236
|
+
continue;
|
|
10237
|
+
}
|
|
9396
10238
|
case 6: {
|
|
9397
10239
|
if (tag !== 48) {
|
|
9398
10240
|
break;
|
|
@@ -9414,6 +10256,13 @@ exports.CameraParameters = {
|
|
|
9414
10256
|
message.recordingResolution = reader.int32();
|
|
9415
10257
|
continue;
|
|
9416
10258
|
}
|
|
10259
|
+
case 20: {
|
|
10260
|
+
if (tag !== 160) {
|
|
10261
|
+
break;
|
|
10262
|
+
}
|
|
10263
|
+
message.streamingProtocol = reader.int32();
|
|
10264
|
+
continue;
|
|
10265
|
+
}
|
|
9417
10266
|
case 7: {
|
|
9418
10267
|
if (tag !== 56) {
|
|
9419
10268
|
break;
|
|
@@ -9428,6 +10277,13 @@ exports.CameraParameters = {
|
|
|
9428
10277
|
message.camera = reader.int32();
|
|
9429
10278
|
continue;
|
|
9430
10279
|
}
|
|
10280
|
+
case 24: {
|
|
10281
|
+
if (tag !== 192) {
|
|
10282
|
+
break;
|
|
10283
|
+
}
|
|
10284
|
+
message.mtuSize = reader.uint32();
|
|
10285
|
+
continue;
|
|
10286
|
+
}
|
|
9431
10287
|
}
|
|
9432
10288
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9433
10289
|
break;
|
|
@@ -9444,11 +10300,23 @@ exports.CameraParameters = {
|
|
|
9444
10300
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9445
10301
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9446
10302
|
gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
|
|
10303
|
+
brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
|
|
10304
|
+
contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
|
|
10305
|
+
saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
|
|
10306
|
+
gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
|
|
10307
|
+
sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
|
|
10308
|
+
backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
|
|
10309
|
+
denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
|
|
10310
|
+
ehdrEnabled: isSet(object.ehdrEnabled) ? gt.Boolean(object.ehdrEnabled) : false,
|
|
10311
|
+
ehdrExposureMinNumber: isSet(object.ehdrExposureMinNumber) ? gt.Number(object.ehdrExposureMinNumber) : 0,
|
|
10312
|
+
ehdrExposureMaxNumber: isSet(object.ehdrExposureMaxNumber) ? gt.Number(object.ehdrExposureMaxNumber) : 0,
|
|
9447
10313
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9448
10314
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9449
10315
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
10316
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9450
10317
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9451
10318
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
10319
|
+
mtuSize: isSet(object.mtuSize) ? gt.Number(object.mtuSize) : 0,
|
|
9452
10320
|
};
|
|
9453
10321
|
},
|
|
9454
10322
|
toJSON(message) {
|
|
@@ -9471,6 +10339,36 @@ exports.CameraParameters = {
|
|
|
9471
10339
|
if (message.gain !== 0) {
|
|
9472
10340
|
obj.gain = message.gain;
|
|
9473
10341
|
}
|
|
10342
|
+
if (message.brightness !== 0) {
|
|
10343
|
+
obj.brightness = Math.round(message.brightness);
|
|
10344
|
+
}
|
|
10345
|
+
if (message.contrast !== 0) {
|
|
10346
|
+
obj.contrast = Math.round(message.contrast);
|
|
10347
|
+
}
|
|
10348
|
+
if (message.saturation !== 0) {
|
|
10349
|
+
obj.saturation = Math.round(message.saturation);
|
|
10350
|
+
}
|
|
10351
|
+
if (message.gamma !== 0) {
|
|
10352
|
+
obj.gamma = Math.round(message.gamma);
|
|
10353
|
+
}
|
|
10354
|
+
if (message.sharpness !== 0) {
|
|
10355
|
+
obj.sharpness = Math.round(message.sharpness);
|
|
10356
|
+
}
|
|
10357
|
+
if (message.backlightCompensation !== 0) {
|
|
10358
|
+
obj.backlightCompensation = Math.round(message.backlightCompensation);
|
|
10359
|
+
}
|
|
10360
|
+
if (message.denoise !== 0) {
|
|
10361
|
+
obj.denoise = Math.round(message.denoise);
|
|
10362
|
+
}
|
|
10363
|
+
if (message.ehdrEnabled !== false) {
|
|
10364
|
+
obj.ehdrEnabled = message.ehdrEnabled;
|
|
10365
|
+
}
|
|
10366
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10367
|
+
obj.ehdrExposureMinNumber = Math.round(message.ehdrExposureMinNumber);
|
|
10368
|
+
}
|
|
10369
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10370
|
+
obj.ehdrExposureMaxNumber = Math.round(message.ehdrExposureMaxNumber);
|
|
10371
|
+
}
|
|
9474
10372
|
if (message.resolution !== 0) {
|
|
9475
10373
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9476
10374
|
}
|
|
@@ -9480,12 +10378,18 @@ exports.CameraParameters = {
|
|
|
9480
10378
|
if (message.recordingResolution !== 0) {
|
|
9481
10379
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9482
10380
|
}
|
|
10381
|
+
if (message.streamingProtocol !== 0) {
|
|
10382
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
10383
|
+
}
|
|
9483
10384
|
if (message.framerate !== 0) {
|
|
9484
10385
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9485
10386
|
}
|
|
9486
10387
|
if (message.camera !== 0) {
|
|
9487
10388
|
obj.camera = cameraToJSON(message.camera);
|
|
9488
10389
|
}
|
|
10390
|
+
if (message.mtuSize !== 0) {
|
|
10391
|
+
obj.mtuSize = Math.round(message.mtuSize);
|
|
10392
|
+
}
|
|
9489
10393
|
return obj;
|
|
9490
10394
|
},
|
|
9491
10395
|
create(base) {
|
|
@@ -9499,11 +10403,23 @@ exports.CameraParameters = {
|
|
|
9499
10403
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9500
10404
|
message.hue = object.hue ?? 0;
|
|
9501
10405
|
message.gain = object.gain ?? 0;
|
|
10406
|
+
message.brightness = object.brightness ?? 0;
|
|
10407
|
+
message.contrast = object.contrast ?? 0;
|
|
10408
|
+
message.saturation = object.saturation ?? 0;
|
|
10409
|
+
message.gamma = object.gamma ?? 0;
|
|
10410
|
+
message.sharpness = object.sharpness ?? 0;
|
|
10411
|
+
message.backlightCompensation = object.backlightCompensation ?? 0;
|
|
10412
|
+
message.denoise = object.denoise ?? 0;
|
|
10413
|
+
message.ehdrEnabled = object.ehdrEnabled ?? false;
|
|
10414
|
+
message.ehdrExposureMinNumber = object.ehdrExposureMinNumber ?? 0;
|
|
10415
|
+
message.ehdrExposureMaxNumber = object.ehdrExposureMaxNumber ?? 0;
|
|
9502
10416
|
message.resolution = object.resolution ?? 0;
|
|
9503
10417
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9504
10418
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
10419
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9505
10420
|
message.framerate = object.framerate ?? 0;
|
|
9506
10421
|
message.camera = object.camera ?? 0;
|
|
10422
|
+
message.mtuSize = object.mtuSize ?? 0;
|
|
9507
10423
|
return message;
|
|
9508
10424
|
},
|
|
9509
10425
|
};
|
|
@@ -12247,7 +13163,7 @@ exports.PersistentStorageSettings = {
|
|
|
12247
13163
|
},
|
|
12248
13164
|
};
|
|
12249
13165
|
function createBaseCPUInfo() {
|
|
12250
|
-
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
|
|
13166
|
+
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
|
|
12251
13167
|
}
|
|
12252
13168
|
exports.CPUInfo = {
|
|
12253
13169
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -12263,6 +13179,9 @@ exports.CPUInfo = {
|
|
|
12263
13179
|
if (message.guestportQueueLoad !== 0) {
|
|
12264
13180
|
writer.uint32(37).float(message.guestportQueueLoad);
|
|
12265
13181
|
}
|
|
13182
|
+
if (message.commQueueLoad !== 0) {
|
|
13183
|
+
writer.uint32(45).float(message.commQueueLoad);
|
|
13184
|
+
}
|
|
12266
13185
|
return writer;
|
|
12267
13186
|
},
|
|
12268
13187
|
decode(input, length) {
|
|
@@ -12300,6 +13219,13 @@ exports.CPUInfo = {
|
|
|
12300
13219
|
message.guestportQueueLoad = reader.float();
|
|
12301
13220
|
continue;
|
|
12302
13221
|
}
|
|
13222
|
+
case 5: {
|
|
13223
|
+
if (tag !== 45) {
|
|
13224
|
+
break;
|
|
13225
|
+
}
|
|
13226
|
+
message.commQueueLoad = reader.float();
|
|
13227
|
+
continue;
|
|
13228
|
+
}
|
|
12303
13229
|
}
|
|
12304
13230
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12305
13231
|
break;
|
|
@@ -12314,6 +13240,7 @@ exports.CPUInfo = {
|
|
|
12314
13240
|
memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
|
|
12315
13241
|
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
12316
13242
|
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
13243
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
12317
13244
|
};
|
|
12318
13245
|
},
|
|
12319
13246
|
toJSON(message) {
|
|
@@ -12330,6 +13257,9 @@ exports.CPUInfo = {
|
|
|
12330
13257
|
if (message.guestportQueueLoad !== 0) {
|
|
12331
13258
|
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
12332
13259
|
}
|
|
13260
|
+
if (message.commQueueLoad !== 0) {
|
|
13261
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
13262
|
+
}
|
|
12333
13263
|
return obj;
|
|
12334
13264
|
},
|
|
12335
13265
|
create(base) {
|
|
@@ -12341,6 +13271,194 @@ exports.CPUInfo = {
|
|
|
12341
13271
|
message.memoryBusLoad = object.memoryBusLoad ?? 0;
|
|
12342
13272
|
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
12343
13273
|
message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
|
|
13274
|
+
message.commQueueLoad = object.commQueueLoad ?? 0;
|
|
13275
|
+
return message;
|
|
13276
|
+
},
|
|
13277
|
+
};
|
|
13278
|
+
function createBaseSurfaceUnitBatteryInfo() {
|
|
13279
|
+
return { status: 0, level: 0 };
|
|
13280
|
+
}
|
|
13281
|
+
exports.SurfaceUnitBatteryInfo = {
|
|
13282
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13283
|
+
if (message.status !== 0) {
|
|
13284
|
+
writer.uint32(8).int32(message.status);
|
|
13285
|
+
}
|
|
13286
|
+
if (message.level !== 0) {
|
|
13287
|
+
writer.uint32(21).float(message.level);
|
|
13288
|
+
}
|
|
13289
|
+
return writer;
|
|
13290
|
+
},
|
|
13291
|
+
decode(input, length) {
|
|
13292
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13293
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13294
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13295
|
+
while (reader.pos < end) {
|
|
13296
|
+
const tag = reader.uint32();
|
|
13297
|
+
switch (tag >>> 3) {
|
|
13298
|
+
case 1: {
|
|
13299
|
+
if (tag !== 8) {
|
|
13300
|
+
break;
|
|
13301
|
+
}
|
|
13302
|
+
message.status = reader.int32();
|
|
13303
|
+
continue;
|
|
13304
|
+
}
|
|
13305
|
+
case 2: {
|
|
13306
|
+
if (tag !== 21) {
|
|
13307
|
+
break;
|
|
13308
|
+
}
|
|
13309
|
+
message.level = reader.float();
|
|
13310
|
+
continue;
|
|
13311
|
+
}
|
|
13312
|
+
}
|
|
13313
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13314
|
+
break;
|
|
13315
|
+
}
|
|
13316
|
+
reader.skip(tag & 7);
|
|
13317
|
+
}
|
|
13318
|
+
return message;
|
|
13319
|
+
},
|
|
13320
|
+
fromJSON(object) {
|
|
13321
|
+
return {
|
|
13322
|
+
status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
|
|
13323
|
+
level: isSet(object.level) ? gt.Number(object.level) : 0,
|
|
13324
|
+
};
|
|
13325
|
+
},
|
|
13326
|
+
toJSON(message) {
|
|
13327
|
+
const obj = {};
|
|
13328
|
+
if (message.status !== 0) {
|
|
13329
|
+
obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
|
|
13330
|
+
}
|
|
13331
|
+
if (message.level !== 0) {
|
|
13332
|
+
obj.level = message.level;
|
|
13333
|
+
}
|
|
13334
|
+
return obj;
|
|
13335
|
+
},
|
|
13336
|
+
create(base) {
|
|
13337
|
+
return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
|
|
13338
|
+
},
|
|
13339
|
+
fromPartial(object) {
|
|
13340
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13341
|
+
message.status = object.status ?? 0;
|
|
13342
|
+
message.level = object.level ?? 0;
|
|
13343
|
+
return message;
|
|
13344
|
+
},
|
|
13345
|
+
};
|
|
13346
|
+
function createBaseSurfaceUnitVersionInfo() {
|
|
13347
|
+
return { version: "" };
|
|
13348
|
+
}
|
|
13349
|
+
exports.SurfaceUnitVersionInfo = {
|
|
13350
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13351
|
+
if (message.version !== "") {
|
|
13352
|
+
writer.uint32(10).string(message.version);
|
|
13353
|
+
}
|
|
13354
|
+
return writer;
|
|
13355
|
+
},
|
|
13356
|
+
decode(input, length) {
|
|
13357
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13358
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13359
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13360
|
+
while (reader.pos < end) {
|
|
13361
|
+
const tag = reader.uint32();
|
|
13362
|
+
switch (tag >>> 3) {
|
|
13363
|
+
case 1: {
|
|
13364
|
+
if (tag !== 10) {
|
|
13365
|
+
break;
|
|
13366
|
+
}
|
|
13367
|
+
message.version = reader.string();
|
|
13368
|
+
continue;
|
|
13369
|
+
}
|
|
13370
|
+
}
|
|
13371
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13372
|
+
break;
|
|
13373
|
+
}
|
|
13374
|
+
reader.skip(tag & 7);
|
|
13375
|
+
}
|
|
13376
|
+
return message;
|
|
13377
|
+
},
|
|
13378
|
+
fromJSON(object) {
|
|
13379
|
+
return { version: isSet(object.version) ? gt.String(object.version) : "" };
|
|
13380
|
+
},
|
|
13381
|
+
toJSON(message) {
|
|
13382
|
+
const obj = {};
|
|
13383
|
+
if (message.version !== "") {
|
|
13384
|
+
obj.version = message.version;
|
|
13385
|
+
}
|
|
13386
|
+
return obj;
|
|
13387
|
+
},
|
|
13388
|
+
create(base) {
|
|
13389
|
+
return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
|
|
13390
|
+
},
|
|
13391
|
+
fromPartial(object) {
|
|
13392
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13393
|
+
message.version = object.version ?? "";
|
|
13394
|
+
return message;
|
|
13395
|
+
},
|
|
13396
|
+
};
|
|
13397
|
+
function createBaseFilterMessage() {
|
|
13398
|
+
return { enabled: false, intensity: 0 };
|
|
13399
|
+
}
|
|
13400
|
+
exports.FilterMessage = {
|
|
13401
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13402
|
+
if (message.enabled !== false) {
|
|
13403
|
+
writer.uint32(8).bool(message.enabled);
|
|
13404
|
+
}
|
|
13405
|
+
if (message.intensity !== 0) {
|
|
13406
|
+
writer.uint32(21).float(message.intensity);
|
|
13407
|
+
}
|
|
13408
|
+
return writer;
|
|
13409
|
+
},
|
|
13410
|
+
decode(input, length) {
|
|
13411
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13412
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13413
|
+
const message = createBaseFilterMessage();
|
|
13414
|
+
while (reader.pos < end) {
|
|
13415
|
+
const tag = reader.uint32();
|
|
13416
|
+
switch (tag >>> 3) {
|
|
13417
|
+
case 1: {
|
|
13418
|
+
if (tag !== 8) {
|
|
13419
|
+
break;
|
|
13420
|
+
}
|
|
13421
|
+
message.enabled = reader.bool();
|
|
13422
|
+
continue;
|
|
13423
|
+
}
|
|
13424
|
+
case 2: {
|
|
13425
|
+
if (tag !== 21) {
|
|
13426
|
+
break;
|
|
13427
|
+
}
|
|
13428
|
+
message.intensity = reader.float();
|
|
13429
|
+
continue;
|
|
13430
|
+
}
|
|
13431
|
+
}
|
|
13432
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13433
|
+
break;
|
|
13434
|
+
}
|
|
13435
|
+
reader.skip(tag & 7);
|
|
13436
|
+
}
|
|
13437
|
+
return message;
|
|
13438
|
+
},
|
|
13439
|
+
fromJSON(object) {
|
|
13440
|
+
return {
|
|
13441
|
+
enabled: isSet(object.enabled) ? gt.Boolean(object.enabled) : false,
|
|
13442
|
+
intensity: isSet(object.intensity) ? gt.Number(object.intensity) : 0,
|
|
13443
|
+
};
|
|
13444
|
+
},
|
|
13445
|
+
toJSON(message) {
|
|
13446
|
+
const obj = {};
|
|
13447
|
+
if (message.enabled !== false) {
|
|
13448
|
+
obj.enabled = message.enabled;
|
|
13449
|
+
}
|
|
13450
|
+
if (message.intensity !== 0) {
|
|
13451
|
+
obj.intensity = message.intensity;
|
|
13452
|
+
}
|
|
13453
|
+
return obj;
|
|
13454
|
+
},
|
|
13455
|
+
create(base) {
|
|
13456
|
+
return exports.FilterMessage.fromPartial(base ?? {});
|
|
13457
|
+
},
|
|
13458
|
+
fromPartial(object) {
|
|
13459
|
+
const message = createBaseFilterMessage();
|
|
13460
|
+
message.enabled = object.enabled ?? false;
|
|
13461
|
+
message.intensity = object.intensity ?? 0;
|
|
12344
13462
|
return message;
|
|
12345
13463
|
},
|
|
12346
13464
|
};
|