@blueyerobotics/protocol-definitions 3.2.0-6025f25a → 3.2.0-66350af4
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/dist/control.d.ts +19 -1
- package/dist/control.js +135 -7
- package/dist/message_formats.d.ts +154 -7
- package/dist/message_formats.js +899 -15
- package/dist/mission_planning.d.ts +54 -0
- package/dist/mission_planning.js +243 -1
- package/dist/req_rep.d.ts +22 -0
- package/dist/req_rep.js +191 -1
- package/dist/telemetry.d.ts +52 -1
- package/dist/telemetry.js +380 -5
- package/package.json +1 -1
package/dist/message_formats.js
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
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.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 = 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.OperatorInfo = exports.CameraPanTiltZoom = exports.FilterMessage = exports.ObjectDetections = exports.ObjectDetection = exports.BoundingBox = 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;
|
|
@@ -60,6 +60,8 @@ exports.multibeamFrequencyModeFromJSON = multibeamFrequencyModeFromJSON;
|
|
|
60
60
|
exports.multibeamFrequencyModeToJSON = multibeamFrequencyModeToJSON;
|
|
61
61
|
exports.logEntry_LogLevelFromJSON = logEntry_LogLevelFromJSON;
|
|
62
62
|
exports.logEntry_LogLevelToJSON = logEntry_LogLevelToJSON;
|
|
63
|
+
exports.kernelLogEntry_KernelLogLevelFromJSON = kernelLogEntry_KernelLogLevelFromJSON;
|
|
64
|
+
exports.kernelLogEntry_KernelLogLevelToJSON = kernelLogEntry_KernelLogLevelToJSON;
|
|
63
65
|
exports.pingerConfiguration_MountingDirectionFromJSON = pingerConfiguration_MountingDirectionFromJSON;
|
|
64
66
|
exports.pingerConfiguration_MountingDirectionToJSON = pingerConfiguration_MountingDirectionToJSON;
|
|
65
67
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON;
|
|
@@ -655,6 +657,8 @@ var Model;
|
|
|
655
657
|
Model[Model["MODEL_X3"] = 3] = "MODEL_X3";
|
|
656
658
|
/** MODEL_X3_ULTRA - Blueye X3 Ultra. */
|
|
657
659
|
Model[Model["MODEL_X3_ULTRA"] = 6] = "MODEL_X3_ULTRA";
|
|
660
|
+
/** MODEL_X7 - Blueye X7. */
|
|
661
|
+
Model[Model["MODEL_X7"] = 7] = "MODEL_X7";
|
|
658
662
|
/** MODEL_NEXT - Blueye ? */
|
|
659
663
|
Model[Model["MODEL_NEXT"] = 5] = "MODEL_NEXT";
|
|
660
664
|
Model[Model["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
@@ -679,6 +683,9 @@ function modelFromJSON(object) {
|
|
|
679
683
|
case 6:
|
|
680
684
|
case "MODEL_X3_ULTRA":
|
|
681
685
|
return Model.MODEL_X3_ULTRA;
|
|
686
|
+
case 7:
|
|
687
|
+
case "MODEL_X7":
|
|
688
|
+
return Model.MODEL_X7;
|
|
682
689
|
case 5:
|
|
683
690
|
case "MODEL_NEXT":
|
|
684
691
|
return Model.MODEL_NEXT;
|
|
@@ -702,6 +709,8 @@ function modelToJSON(object) {
|
|
|
702
709
|
return "MODEL_X3";
|
|
703
710
|
case Model.MODEL_X3_ULTRA:
|
|
704
711
|
return "MODEL_X3_ULTRA";
|
|
712
|
+
case Model.MODEL_X7:
|
|
713
|
+
return "MODEL_X7";
|
|
705
714
|
case Model.MODEL_NEXT:
|
|
706
715
|
return "MODEL_NEXT";
|
|
707
716
|
case Model.UNRECOGNIZED:
|
|
@@ -777,6 +786,8 @@ var Resolution;
|
|
|
777
786
|
Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
|
|
778
787
|
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
|
|
779
788
|
Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
|
|
789
|
+
/** RESOLUTION_QHD_2K - 2K QHD (2560x1440, Only supported on X3 Ultra). */
|
|
790
|
+
Resolution[Resolution["RESOLUTION_QHD_2K"] = 5] = "RESOLUTION_QHD_2K";
|
|
780
791
|
Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
781
792
|
})(Resolution || (exports.Resolution = Resolution = {}));
|
|
782
793
|
function resolutionFromJSON(object) {
|
|
@@ -796,6 +807,9 @@ function resolutionFromJSON(object) {
|
|
|
796
807
|
case 3:
|
|
797
808
|
case "RESOLUTION_UHD_4K":
|
|
798
809
|
return Resolution.RESOLUTION_UHD_4K;
|
|
810
|
+
case 5:
|
|
811
|
+
case "RESOLUTION_QHD_2K":
|
|
812
|
+
return Resolution.RESOLUTION_QHD_2K;
|
|
799
813
|
case -1:
|
|
800
814
|
case "UNRECOGNIZED":
|
|
801
815
|
default:
|
|
@@ -814,12 +828,19 @@ function resolutionToJSON(object) {
|
|
|
814
828
|
return "RESOLUTION_FULLHD_1080P";
|
|
815
829
|
case Resolution.RESOLUTION_UHD_4K:
|
|
816
830
|
return "RESOLUTION_UHD_4K";
|
|
831
|
+
case Resolution.RESOLUTION_QHD_2K:
|
|
832
|
+
return "RESOLUTION_QHD_2K";
|
|
817
833
|
case Resolution.UNRECOGNIZED:
|
|
818
834
|
default:
|
|
819
835
|
return "UNRECOGNIZED";
|
|
820
836
|
}
|
|
821
837
|
}
|
|
822
|
-
/**
|
|
838
|
+
/**
|
|
839
|
+
* Available camera frame rates.
|
|
840
|
+
*
|
|
841
|
+
* If the requested frame rate is higher than what is supported at the current resolution,
|
|
842
|
+
* the frame rate will be reduced while the resolution is respected.
|
|
843
|
+
*/
|
|
823
844
|
var Framerate;
|
|
824
845
|
(function (Framerate) {
|
|
825
846
|
/** FRAMERATE_UNSPECIFIED - Framerate not specified. */
|
|
@@ -828,6 +849,8 @@ var Framerate;
|
|
|
828
849
|
Framerate[Framerate["FRAMERATE_FPS_30"] = 1] = "FRAMERATE_FPS_30";
|
|
829
850
|
/** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
|
|
830
851
|
Framerate[Framerate["FRAMERATE_FPS_25"] = 2] = "FRAMERATE_FPS_25";
|
|
852
|
+
/** FRAMERATE_FPS_60 - 60 frames per second. (Only supported on X3 Ultra at QHD, 1080p and 720p) */
|
|
853
|
+
Framerate[Framerate["FRAMERATE_FPS_60"] = 3] = "FRAMERATE_FPS_60";
|
|
831
854
|
Framerate[Framerate["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
832
855
|
})(Framerate || (exports.Framerate = Framerate = {}));
|
|
833
856
|
function framerateFromJSON(object) {
|
|
@@ -841,6 +864,9 @@ function framerateFromJSON(object) {
|
|
|
841
864
|
case 2:
|
|
842
865
|
case "FRAMERATE_FPS_25":
|
|
843
866
|
return Framerate.FRAMERATE_FPS_25;
|
|
867
|
+
case 3:
|
|
868
|
+
case "FRAMERATE_FPS_60":
|
|
869
|
+
return Framerate.FRAMERATE_FPS_60;
|
|
844
870
|
case -1:
|
|
845
871
|
case "UNRECOGNIZED":
|
|
846
872
|
default:
|
|
@@ -855,6 +881,8 @@ function framerateToJSON(object) {
|
|
|
855
881
|
return "FRAMERATE_FPS_30";
|
|
856
882
|
case Framerate.FRAMERATE_FPS_25:
|
|
857
883
|
return "FRAMERATE_FPS_25";
|
|
884
|
+
case Framerate.FRAMERATE_FPS_60:
|
|
885
|
+
return "FRAMERATE_FPS_60";
|
|
858
886
|
case Framerate.UNRECOGNIZED:
|
|
859
887
|
default:
|
|
860
888
|
return "UNRECOGNIZED";
|
|
@@ -1274,8 +1302,12 @@ var GuestPortDeviceID;
|
|
|
1274
1302
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1275
1303
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1276
1304
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1277
|
-
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
|
|
1305
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
|
|
1278
1306
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1307
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 - Blueye Multibeam Skid Servo V2. */
|
|
1308
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2"] = 46] = "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
|
|
1309
|
+
/** GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT - Cerulean Omniscan 450 Compact. */
|
|
1310
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT"] = 47] = "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
|
|
1279
1311
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1280
1312
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1281
1313
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1418,6 +1450,12 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1418
1450
|
case 45:
|
|
1419
1451
|
case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
|
|
1420
1452
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
|
|
1453
|
+
case 46:
|
|
1454
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2":
|
|
1455
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2;
|
|
1456
|
+
case 47:
|
|
1457
|
+
case "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT":
|
|
1458
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT;
|
|
1421
1459
|
case -1:
|
|
1422
1460
|
case "UNRECOGNIZED":
|
|
1423
1461
|
default:
|
|
@@ -1518,6 +1556,10 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1518
1556
|
return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1519
1557
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
|
|
1520
1558
|
return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1559
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2:
|
|
1560
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
|
|
1561
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT:
|
|
1562
|
+
return "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
|
|
1521
1563
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1522
1564
|
default:
|
|
1523
1565
|
return "UNRECOGNIZED";
|
|
@@ -1862,6 +1904,89 @@ function logEntry_LogLevelToJSON(object) {
|
|
|
1862
1904
|
return "UNRECOGNIZED";
|
|
1863
1905
|
}
|
|
1864
1906
|
}
|
|
1907
|
+
/** Kernel log level. */
|
|
1908
|
+
var KernelLogEntry_KernelLogLevel;
|
|
1909
|
+
(function (KernelLogEntry_KernelLogLevel) {
|
|
1910
|
+
/** KERNEL_LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
1911
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_UNSPECIFIED"] = 0] = "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
1912
|
+
/** KERNEL_LOG_LEVEL_EMERG - Emergency log level. */
|
|
1913
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_EMERG"] = 1] = "KERNEL_LOG_LEVEL_EMERG";
|
|
1914
|
+
/** KERNEL_LOG_LEVEL_ALERT - Alert log level. */
|
|
1915
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ALERT"] = 2] = "KERNEL_LOG_LEVEL_ALERT";
|
|
1916
|
+
/** KERNEL_LOG_LEVEL_CRIT - Critical log level. */
|
|
1917
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_CRIT"] = 3] = "KERNEL_LOG_LEVEL_CRIT";
|
|
1918
|
+
/** KERNEL_LOG_LEVEL_ERR - Error log level. */
|
|
1919
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ERR"] = 4] = "KERNEL_LOG_LEVEL_ERR";
|
|
1920
|
+
/** KERNEL_LOG_LEVEL_WARNING - Warning log level. */
|
|
1921
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_WARNING"] = 5] = "KERNEL_LOG_LEVEL_WARNING";
|
|
1922
|
+
/** KERNEL_LOG_LEVEL_NOTICE - Notice log level. */
|
|
1923
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_NOTICE"] = 6] = "KERNEL_LOG_LEVEL_NOTICE";
|
|
1924
|
+
/** KERNEL_LOG_LEVEL_INFO - Informational log level. */
|
|
1925
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_INFO"] = 7] = "KERNEL_LOG_LEVEL_INFO";
|
|
1926
|
+
/** KERNEL_LOG_LEVEL_DEBUG - Debug log level. */
|
|
1927
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_DEBUG"] = 8] = "KERNEL_LOG_LEVEL_DEBUG";
|
|
1928
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1929
|
+
})(KernelLogEntry_KernelLogLevel || (exports.KernelLogEntry_KernelLogLevel = KernelLogEntry_KernelLogLevel = {}));
|
|
1930
|
+
function kernelLogEntry_KernelLogLevelFromJSON(object) {
|
|
1931
|
+
switch (object) {
|
|
1932
|
+
case 0:
|
|
1933
|
+
case "KERNEL_LOG_LEVEL_UNSPECIFIED":
|
|
1934
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED;
|
|
1935
|
+
case 1:
|
|
1936
|
+
case "KERNEL_LOG_LEVEL_EMERG":
|
|
1937
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG;
|
|
1938
|
+
case 2:
|
|
1939
|
+
case "KERNEL_LOG_LEVEL_ALERT":
|
|
1940
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT;
|
|
1941
|
+
case 3:
|
|
1942
|
+
case "KERNEL_LOG_LEVEL_CRIT":
|
|
1943
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT;
|
|
1944
|
+
case 4:
|
|
1945
|
+
case "KERNEL_LOG_LEVEL_ERR":
|
|
1946
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR;
|
|
1947
|
+
case 5:
|
|
1948
|
+
case "KERNEL_LOG_LEVEL_WARNING":
|
|
1949
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING;
|
|
1950
|
+
case 6:
|
|
1951
|
+
case "KERNEL_LOG_LEVEL_NOTICE":
|
|
1952
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE;
|
|
1953
|
+
case 7:
|
|
1954
|
+
case "KERNEL_LOG_LEVEL_INFO":
|
|
1955
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO;
|
|
1956
|
+
case 8:
|
|
1957
|
+
case "KERNEL_LOG_LEVEL_DEBUG":
|
|
1958
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG;
|
|
1959
|
+
case -1:
|
|
1960
|
+
case "UNRECOGNIZED":
|
|
1961
|
+
default:
|
|
1962
|
+
return KernelLogEntry_KernelLogLevel.UNRECOGNIZED;
|
|
1963
|
+
}
|
|
1964
|
+
}
|
|
1965
|
+
function kernelLogEntry_KernelLogLevelToJSON(object) {
|
|
1966
|
+
switch (object) {
|
|
1967
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED:
|
|
1968
|
+
return "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
1969
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG:
|
|
1970
|
+
return "KERNEL_LOG_LEVEL_EMERG";
|
|
1971
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT:
|
|
1972
|
+
return "KERNEL_LOG_LEVEL_ALERT";
|
|
1973
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT:
|
|
1974
|
+
return "KERNEL_LOG_LEVEL_CRIT";
|
|
1975
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR:
|
|
1976
|
+
return "KERNEL_LOG_LEVEL_ERR";
|
|
1977
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING:
|
|
1978
|
+
return "KERNEL_LOG_LEVEL_WARNING";
|
|
1979
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE:
|
|
1980
|
+
return "KERNEL_LOG_LEVEL_NOTICE";
|
|
1981
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO:
|
|
1982
|
+
return "KERNEL_LOG_LEVEL_INFO";
|
|
1983
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG:
|
|
1984
|
+
return "KERNEL_LOG_LEVEL_DEBUG";
|
|
1985
|
+
case KernelLogEntry_KernelLogLevel.UNRECOGNIZED:
|
|
1986
|
+
default:
|
|
1987
|
+
return "UNRECOGNIZED";
|
|
1988
|
+
}
|
|
1989
|
+
}
|
|
1865
1990
|
var PingerConfiguration_MountingDirection;
|
|
1866
1991
|
(function (PingerConfiguration_MountingDirection) {
|
|
1867
1992
|
/** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
|
|
@@ -1983,10 +2108,12 @@ var RemovableStorageDevice_Status;
|
|
|
1983
2108
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNSPECIFIED"] = 0] = "STATUS_UNSPECIFIED";
|
|
1984
2109
|
/** STATUS_READY - The storage device is valid and ready for use. */
|
|
1985
2110
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_READY"] = 1] = "STATUS_READY";
|
|
1986
|
-
/** STATUS_FORMATTING - The storage device is being formatted */
|
|
2111
|
+
/** STATUS_FORMATTING - The storage device is being formatted. */
|
|
1987
2112
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_FORMATTING"] = 2] = "STATUS_FORMATTING";
|
|
1988
2113
|
/** STATUS_ERROR - The storage device is in an error state. */
|
|
1989
2114
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_ERROR"] = 3] = "STATUS_ERROR";
|
|
2115
|
+
/** STATUS_UNPLUGGED - The storage device is not present. */
|
|
2116
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNPLUGGED"] = 4] = "STATUS_UNPLUGGED";
|
|
1990
2117
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1991
2118
|
})(RemovableStorageDevice_Status || (exports.RemovableStorageDevice_Status = RemovableStorageDevice_Status = {}));
|
|
1992
2119
|
function removableStorageDevice_StatusFromJSON(object) {
|
|
@@ -2003,6 +2130,9 @@ function removableStorageDevice_StatusFromJSON(object) {
|
|
|
2003
2130
|
case 3:
|
|
2004
2131
|
case "STATUS_ERROR":
|
|
2005
2132
|
return RemovableStorageDevice_Status.STATUS_ERROR;
|
|
2133
|
+
case 4:
|
|
2134
|
+
case "STATUS_UNPLUGGED":
|
|
2135
|
+
return RemovableStorageDevice_Status.STATUS_UNPLUGGED;
|
|
2006
2136
|
case -1:
|
|
2007
2137
|
case "UNRECOGNIZED":
|
|
2008
2138
|
default:
|
|
@@ -2019,6 +2149,8 @@ function removableStorageDevice_StatusToJSON(object) {
|
|
|
2019
2149
|
return "STATUS_FORMATTING";
|
|
2020
2150
|
case RemovableStorageDevice_Status.STATUS_ERROR:
|
|
2021
2151
|
return "STATUS_ERROR";
|
|
2152
|
+
case RemovableStorageDevice_Status.STATUS_UNPLUGGED:
|
|
2153
|
+
return "STATUS_UNPLUGGED";
|
|
2022
2154
|
case RemovableStorageDevice_Status.UNRECOGNIZED:
|
|
2023
2155
|
default:
|
|
2024
2156
|
return "UNRECOGNIZED";
|
|
@@ -2511,6 +2643,189 @@ exports.LogEntry = {
|
|
|
2511
2643
|
return message;
|
|
2512
2644
|
},
|
|
2513
2645
|
};
|
|
2646
|
+
function createBaseKernelLogEntry() {
|
|
2647
|
+
return { level: 0, seqnum: 0, timestamp: undefined, messages: [], fields: [] };
|
|
2648
|
+
}
|
|
2649
|
+
exports.KernelLogEntry = {
|
|
2650
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2651
|
+
if (message.level !== 0) {
|
|
2652
|
+
writer.uint32(8).int32(message.level);
|
|
2653
|
+
}
|
|
2654
|
+
if (message.seqnum !== 0) {
|
|
2655
|
+
writer.uint32(16).uint32(message.seqnum);
|
|
2656
|
+
}
|
|
2657
|
+
if (message.timestamp !== undefined) {
|
|
2658
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).join();
|
|
2659
|
+
}
|
|
2660
|
+
for (const v of message.messages) {
|
|
2661
|
+
writer.uint32(34).string(v);
|
|
2662
|
+
}
|
|
2663
|
+
for (const v of message.fields) {
|
|
2664
|
+
exports.KernelLogEntry_KeyValuePair.encode(v, writer.uint32(42).fork()).join();
|
|
2665
|
+
}
|
|
2666
|
+
return writer;
|
|
2667
|
+
},
|
|
2668
|
+
decode(input, length) {
|
|
2669
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2670
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2671
|
+
const message = createBaseKernelLogEntry();
|
|
2672
|
+
while (reader.pos < end) {
|
|
2673
|
+
const tag = reader.uint32();
|
|
2674
|
+
switch (tag >>> 3) {
|
|
2675
|
+
case 1: {
|
|
2676
|
+
if (tag !== 8) {
|
|
2677
|
+
break;
|
|
2678
|
+
}
|
|
2679
|
+
message.level = reader.int32();
|
|
2680
|
+
continue;
|
|
2681
|
+
}
|
|
2682
|
+
case 2: {
|
|
2683
|
+
if (tag !== 16) {
|
|
2684
|
+
break;
|
|
2685
|
+
}
|
|
2686
|
+
message.seqnum = reader.uint32();
|
|
2687
|
+
continue;
|
|
2688
|
+
}
|
|
2689
|
+
case 3: {
|
|
2690
|
+
if (tag !== 26) {
|
|
2691
|
+
break;
|
|
2692
|
+
}
|
|
2693
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2694
|
+
continue;
|
|
2695
|
+
}
|
|
2696
|
+
case 4: {
|
|
2697
|
+
if (tag !== 34) {
|
|
2698
|
+
break;
|
|
2699
|
+
}
|
|
2700
|
+
message.messages.push(reader.string());
|
|
2701
|
+
continue;
|
|
2702
|
+
}
|
|
2703
|
+
case 5: {
|
|
2704
|
+
if (tag !== 42) {
|
|
2705
|
+
break;
|
|
2706
|
+
}
|
|
2707
|
+
message.fields.push(exports.KernelLogEntry_KeyValuePair.decode(reader, reader.uint32()));
|
|
2708
|
+
continue;
|
|
2709
|
+
}
|
|
2710
|
+
}
|
|
2711
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2712
|
+
break;
|
|
2713
|
+
}
|
|
2714
|
+
reader.skip(tag & 7);
|
|
2715
|
+
}
|
|
2716
|
+
return message;
|
|
2717
|
+
},
|
|
2718
|
+
fromJSON(object) {
|
|
2719
|
+
return {
|
|
2720
|
+
level: isSet(object.level) ? kernelLogEntry_KernelLogLevelFromJSON(object.level) : 0,
|
|
2721
|
+
seqnum: isSet(object.seqnum) ? gt.Number(object.seqnum) : 0,
|
|
2722
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2723
|
+
messages: gt.Array.isArray(object?.messages) ? object.messages.map((e) => gt.String(e)) : [],
|
|
2724
|
+
fields: gt.Array.isArray(object?.fields)
|
|
2725
|
+
? object.fields.map((e) => exports.KernelLogEntry_KeyValuePair.fromJSON(e))
|
|
2726
|
+
: [],
|
|
2727
|
+
};
|
|
2728
|
+
},
|
|
2729
|
+
toJSON(message) {
|
|
2730
|
+
const obj = {};
|
|
2731
|
+
if (message.level !== 0) {
|
|
2732
|
+
obj.level = kernelLogEntry_KernelLogLevelToJSON(message.level);
|
|
2733
|
+
}
|
|
2734
|
+
if (message.seqnum !== 0) {
|
|
2735
|
+
obj.seqnum = Math.round(message.seqnum);
|
|
2736
|
+
}
|
|
2737
|
+
if (message.timestamp !== undefined) {
|
|
2738
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2739
|
+
}
|
|
2740
|
+
if (message.messages?.length) {
|
|
2741
|
+
obj.messages = message.messages;
|
|
2742
|
+
}
|
|
2743
|
+
if (message.fields?.length) {
|
|
2744
|
+
obj.fields = message.fields.map((e) => exports.KernelLogEntry_KeyValuePair.toJSON(e));
|
|
2745
|
+
}
|
|
2746
|
+
return obj;
|
|
2747
|
+
},
|
|
2748
|
+
create(base) {
|
|
2749
|
+
return exports.KernelLogEntry.fromPartial(base ?? {});
|
|
2750
|
+
},
|
|
2751
|
+
fromPartial(object) {
|
|
2752
|
+
const message = createBaseKernelLogEntry();
|
|
2753
|
+
message.level = object.level ?? 0;
|
|
2754
|
+
message.seqnum = object.seqnum ?? 0;
|
|
2755
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2756
|
+
message.messages = object.messages?.map((e) => e) || [];
|
|
2757
|
+
message.fields = object.fields?.map((e) => exports.KernelLogEntry_KeyValuePair.fromPartial(e)) || [];
|
|
2758
|
+
return message;
|
|
2759
|
+
},
|
|
2760
|
+
};
|
|
2761
|
+
function createBaseKernelLogEntry_KeyValuePair() {
|
|
2762
|
+
return { key: "", value: "" };
|
|
2763
|
+
}
|
|
2764
|
+
exports.KernelLogEntry_KeyValuePair = {
|
|
2765
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2766
|
+
if (message.key !== "") {
|
|
2767
|
+
writer.uint32(10).string(message.key);
|
|
2768
|
+
}
|
|
2769
|
+
if (message.value !== "") {
|
|
2770
|
+
writer.uint32(18).string(message.value);
|
|
2771
|
+
}
|
|
2772
|
+
return writer;
|
|
2773
|
+
},
|
|
2774
|
+
decode(input, length) {
|
|
2775
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2776
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2777
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2778
|
+
while (reader.pos < end) {
|
|
2779
|
+
const tag = reader.uint32();
|
|
2780
|
+
switch (tag >>> 3) {
|
|
2781
|
+
case 1: {
|
|
2782
|
+
if (tag !== 10) {
|
|
2783
|
+
break;
|
|
2784
|
+
}
|
|
2785
|
+
message.key = reader.string();
|
|
2786
|
+
continue;
|
|
2787
|
+
}
|
|
2788
|
+
case 2: {
|
|
2789
|
+
if (tag !== 18) {
|
|
2790
|
+
break;
|
|
2791
|
+
}
|
|
2792
|
+
message.value = reader.string();
|
|
2793
|
+
continue;
|
|
2794
|
+
}
|
|
2795
|
+
}
|
|
2796
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2797
|
+
break;
|
|
2798
|
+
}
|
|
2799
|
+
reader.skip(tag & 7);
|
|
2800
|
+
}
|
|
2801
|
+
return message;
|
|
2802
|
+
},
|
|
2803
|
+
fromJSON(object) {
|
|
2804
|
+
return {
|
|
2805
|
+
key: isSet(object.key) ? gt.String(object.key) : "",
|
|
2806
|
+
value: isSet(object.value) ? gt.String(object.value) : "",
|
|
2807
|
+
};
|
|
2808
|
+
},
|
|
2809
|
+
toJSON(message) {
|
|
2810
|
+
const obj = {};
|
|
2811
|
+
if (message.key !== "") {
|
|
2812
|
+
obj.key = message.key;
|
|
2813
|
+
}
|
|
2814
|
+
if (message.value !== "") {
|
|
2815
|
+
obj.value = message.value;
|
|
2816
|
+
}
|
|
2817
|
+
return obj;
|
|
2818
|
+
},
|
|
2819
|
+
create(base) {
|
|
2820
|
+
return exports.KernelLogEntry_KeyValuePair.fromPartial(base ?? {});
|
|
2821
|
+
},
|
|
2822
|
+
fromPartial(object) {
|
|
2823
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2824
|
+
message.key = object.key ?? "";
|
|
2825
|
+
message.value = object.value ?? "";
|
|
2826
|
+
return message;
|
|
2827
|
+
},
|
|
2828
|
+
};
|
|
2514
2829
|
function createBaseMotionInput() {
|
|
2515
2830
|
return { surge: 0, sway: 0, heave: 0, roll: 0, pitch: 0, yaw: 0, slow: 0, boost: 0 };
|
|
2516
2831
|
}
|
|
@@ -3792,7 +4107,9 @@ function createBaseRecordState() {
|
|
|
3792
4107
|
multibeamIsRecording: false,
|
|
3793
4108
|
multibeamSeconds: 0,
|
|
3794
4109
|
multibeamFps: 0,
|
|
3795
|
-
|
|
4110
|
+
mainStorageLocation: 0,
|
|
4111
|
+
guestportStorageLocation: 0,
|
|
4112
|
+
multibeamStorageLocation: 0,
|
|
3796
4113
|
};
|
|
3797
4114
|
}
|
|
3798
4115
|
exports.RecordState = {
|
|
@@ -3824,8 +4141,14 @@ exports.RecordState = {
|
|
|
3824
4141
|
if (message.multibeamFps !== 0) {
|
|
3825
4142
|
writer.uint32(77).float(message.multibeamFps);
|
|
3826
4143
|
}
|
|
3827
|
-
if (message.
|
|
3828
|
-
writer.uint32(80).int32(message.
|
|
4144
|
+
if (message.mainStorageLocation !== 0) {
|
|
4145
|
+
writer.uint32(80).int32(message.mainStorageLocation);
|
|
4146
|
+
}
|
|
4147
|
+
if (message.guestportStorageLocation !== 0) {
|
|
4148
|
+
writer.uint32(88).int32(message.guestportStorageLocation);
|
|
4149
|
+
}
|
|
4150
|
+
if (message.multibeamStorageLocation !== 0) {
|
|
4151
|
+
writer.uint32(96).int32(message.multibeamStorageLocation);
|
|
3829
4152
|
}
|
|
3830
4153
|
return writer;
|
|
3831
4154
|
},
|
|
@@ -3903,7 +4226,21 @@ exports.RecordState = {
|
|
|
3903
4226
|
if (tag !== 80) {
|
|
3904
4227
|
break;
|
|
3905
4228
|
}
|
|
3906
|
-
message.
|
|
4229
|
+
message.mainStorageLocation = reader.int32();
|
|
4230
|
+
continue;
|
|
4231
|
+
}
|
|
4232
|
+
case 11: {
|
|
4233
|
+
if (tag !== 88) {
|
|
4234
|
+
break;
|
|
4235
|
+
}
|
|
4236
|
+
message.guestportStorageLocation = reader.int32();
|
|
4237
|
+
continue;
|
|
4238
|
+
}
|
|
4239
|
+
case 12: {
|
|
4240
|
+
if (tag !== 96) {
|
|
4241
|
+
break;
|
|
4242
|
+
}
|
|
4243
|
+
message.multibeamStorageLocation = reader.int32();
|
|
3907
4244
|
continue;
|
|
3908
4245
|
}
|
|
3909
4246
|
}
|
|
@@ -3925,7 +4262,13 @@ exports.RecordState = {
|
|
|
3925
4262
|
multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
|
|
3926
4263
|
multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
|
|
3927
4264
|
multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
|
|
3928
|
-
|
|
4265
|
+
mainStorageLocation: isSet(object.mainStorageLocation) ? storageLocationFromJSON(object.mainStorageLocation) : 0,
|
|
4266
|
+
guestportStorageLocation: isSet(object.guestportStorageLocation)
|
|
4267
|
+
? storageLocationFromJSON(object.guestportStorageLocation)
|
|
4268
|
+
: 0,
|
|
4269
|
+
multibeamStorageLocation: isSet(object.multibeamStorageLocation)
|
|
4270
|
+
? storageLocationFromJSON(object.multibeamStorageLocation)
|
|
4271
|
+
: 0,
|
|
3929
4272
|
};
|
|
3930
4273
|
},
|
|
3931
4274
|
toJSON(message) {
|
|
@@ -3957,8 +4300,14 @@ exports.RecordState = {
|
|
|
3957
4300
|
if (message.multibeamFps !== 0) {
|
|
3958
4301
|
obj.multibeamFps = message.multibeamFps;
|
|
3959
4302
|
}
|
|
3960
|
-
if (message.
|
|
3961
|
-
obj.
|
|
4303
|
+
if (message.mainStorageLocation !== 0) {
|
|
4304
|
+
obj.mainStorageLocation = storageLocationToJSON(message.mainStorageLocation);
|
|
4305
|
+
}
|
|
4306
|
+
if (message.guestportStorageLocation !== 0) {
|
|
4307
|
+
obj.guestportStorageLocation = storageLocationToJSON(message.guestportStorageLocation);
|
|
4308
|
+
}
|
|
4309
|
+
if (message.multibeamStorageLocation !== 0) {
|
|
4310
|
+
obj.multibeamStorageLocation = storageLocationToJSON(message.multibeamStorageLocation);
|
|
3962
4311
|
}
|
|
3963
4312
|
return obj;
|
|
3964
4313
|
},
|
|
@@ -3976,7 +4325,9 @@ exports.RecordState = {
|
|
|
3976
4325
|
message.multibeamIsRecording = object.multibeamIsRecording ?? false;
|
|
3977
4326
|
message.multibeamSeconds = object.multibeamSeconds ?? 0;
|
|
3978
4327
|
message.multibeamFps = object.multibeamFps ?? 0;
|
|
3979
|
-
message.
|
|
4328
|
+
message.mainStorageLocation = object.mainStorageLocation ?? 0;
|
|
4329
|
+
message.guestportStorageLocation = object.guestportStorageLocation ?? 0;
|
|
4330
|
+
message.multibeamStorageLocation = object.multibeamStorageLocation ?? 0;
|
|
3980
4331
|
return message;
|
|
3981
4332
|
},
|
|
3982
4333
|
};
|
|
@@ -7884,7 +8235,7 @@ exports.StorageSpace = {
|
|
|
7884
8235
|
},
|
|
7885
8236
|
};
|
|
7886
8237
|
function createBaseStoragePartition() {
|
|
7887
|
-
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "" };
|
|
8238
|
+
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "", label: "" };
|
|
7888
8239
|
}
|
|
7889
8240
|
exports.StoragePartition = {
|
|
7890
8241
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -7900,6 +8251,9 @@ exports.StoragePartition = {
|
|
|
7900
8251
|
if (message.mountPath !== "") {
|
|
7901
8252
|
writer.uint32(34).string(message.mountPath);
|
|
7902
8253
|
}
|
|
8254
|
+
if (message.label !== "") {
|
|
8255
|
+
writer.uint32(42).string(message.label);
|
|
8256
|
+
}
|
|
7903
8257
|
return writer;
|
|
7904
8258
|
},
|
|
7905
8259
|
decode(input, length) {
|
|
@@ -7937,6 +8291,13 @@ exports.StoragePartition = {
|
|
|
7937
8291
|
message.mountPath = reader.string();
|
|
7938
8292
|
continue;
|
|
7939
8293
|
}
|
|
8294
|
+
case 5: {
|
|
8295
|
+
if (tag !== 42) {
|
|
8296
|
+
break;
|
|
8297
|
+
}
|
|
8298
|
+
message.label = reader.string();
|
|
8299
|
+
continue;
|
|
8300
|
+
}
|
|
7940
8301
|
}
|
|
7941
8302
|
if ((tag & 7) === 4 || tag === 0) {
|
|
7942
8303
|
break;
|
|
@@ -7951,6 +8312,7 @@ exports.StoragePartition = {
|
|
|
7951
8312
|
fileSystemType: isSet(object.fileSystemType) ? gt.String(object.fileSystemType) : "",
|
|
7952
8313
|
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
7953
8314
|
mountPath: isSet(object.mountPath) ? gt.String(object.mountPath) : "",
|
|
8315
|
+
label: isSet(object.label) ? gt.String(object.label) : "",
|
|
7954
8316
|
};
|
|
7955
8317
|
},
|
|
7956
8318
|
toJSON(message) {
|
|
@@ -7967,6 +8329,9 @@ exports.StoragePartition = {
|
|
|
7967
8329
|
if (message.mountPath !== "") {
|
|
7968
8330
|
obj.mountPath = message.mountPath;
|
|
7969
8331
|
}
|
|
8332
|
+
if (message.label !== "") {
|
|
8333
|
+
obj.label = message.label;
|
|
8334
|
+
}
|
|
7970
8335
|
return obj;
|
|
7971
8336
|
},
|
|
7972
8337
|
create(base) {
|
|
@@ -7980,6 +8345,7 @@ exports.StoragePartition = {
|
|
|
7980
8345
|
message.fileSystemType = object.fileSystemType ?? "";
|
|
7981
8346
|
message.devicePath = object.devicePath ?? "";
|
|
7982
8347
|
message.mountPath = object.mountPath ?? "";
|
|
8348
|
+
message.label = object.label ?? "";
|
|
7983
8349
|
return message;
|
|
7984
8350
|
},
|
|
7985
8351
|
};
|
|
@@ -9693,6 +10059,7 @@ function createBaseCameraParameters() {
|
|
|
9693
10059
|
streamingProtocol: 0,
|
|
9694
10060
|
framerate: 0,
|
|
9695
10061
|
camera: 0,
|
|
10062
|
+
mtuSize: 0,
|
|
9696
10063
|
};
|
|
9697
10064
|
}
|
|
9698
10065
|
exports.CameraParameters = {
|
|
@@ -9763,6 +10130,9 @@ exports.CameraParameters = {
|
|
|
9763
10130
|
if (message.camera !== 0) {
|
|
9764
10131
|
writer.uint32(64).int32(message.camera);
|
|
9765
10132
|
}
|
|
10133
|
+
if (message.mtuSize !== 0) {
|
|
10134
|
+
writer.uint32(192).uint32(message.mtuSize);
|
|
10135
|
+
}
|
|
9766
10136
|
return writer;
|
|
9767
10137
|
},
|
|
9768
10138
|
decode(input, length) {
|
|
@@ -9926,6 +10296,13 @@ exports.CameraParameters = {
|
|
|
9926
10296
|
message.camera = reader.int32();
|
|
9927
10297
|
continue;
|
|
9928
10298
|
}
|
|
10299
|
+
case 24: {
|
|
10300
|
+
if (tag !== 192) {
|
|
10301
|
+
break;
|
|
10302
|
+
}
|
|
10303
|
+
message.mtuSize = reader.uint32();
|
|
10304
|
+
continue;
|
|
10305
|
+
}
|
|
9929
10306
|
}
|
|
9930
10307
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9931
10308
|
break;
|
|
@@ -9958,6 +10335,7 @@ exports.CameraParameters = {
|
|
|
9958
10335
|
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9959
10336
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9960
10337
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
10338
|
+
mtuSize: isSet(object.mtuSize) ? gt.Number(object.mtuSize) : 0,
|
|
9961
10339
|
};
|
|
9962
10340
|
},
|
|
9963
10341
|
toJSON(message) {
|
|
@@ -10028,6 +10406,9 @@ exports.CameraParameters = {
|
|
|
10028
10406
|
if (message.camera !== 0) {
|
|
10029
10407
|
obj.camera = cameraToJSON(message.camera);
|
|
10030
10408
|
}
|
|
10409
|
+
if (message.mtuSize !== 0) {
|
|
10410
|
+
obj.mtuSize = Math.round(message.mtuSize);
|
|
10411
|
+
}
|
|
10031
10412
|
return obj;
|
|
10032
10413
|
},
|
|
10033
10414
|
create(base) {
|
|
@@ -10057,6 +10438,7 @@ exports.CameraParameters = {
|
|
|
10057
10438
|
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
10058
10439
|
message.framerate = object.framerate ?? 0;
|
|
10059
10440
|
message.camera = object.camera ?? 0;
|
|
10441
|
+
message.mtuSize = object.mtuSize ?? 0;
|
|
10060
10442
|
return message;
|
|
10061
10443
|
},
|
|
10062
10444
|
};
|
|
@@ -13031,6 +13413,508 @@ exports.SurfaceUnitVersionInfo = {
|
|
|
13031
13413
|
return message;
|
|
13032
13414
|
},
|
|
13033
13415
|
};
|
|
13416
|
+
function createBaseBoundingBox() {
|
|
13417
|
+
return { x: 0, y: 0, width: 0, height: 0 };
|
|
13418
|
+
}
|
|
13419
|
+
exports.BoundingBox = {
|
|
13420
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13421
|
+
if (message.x !== 0) {
|
|
13422
|
+
writer.uint32(8).uint32(message.x);
|
|
13423
|
+
}
|
|
13424
|
+
if (message.y !== 0) {
|
|
13425
|
+
writer.uint32(16).uint32(message.y);
|
|
13426
|
+
}
|
|
13427
|
+
if (message.width !== 0) {
|
|
13428
|
+
writer.uint32(24).uint32(message.width);
|
|
13429
|
+
}
|
|
13430
|
+
if (message.height !== 0) {
|
|
13431
|
+
writer.uint32(32).uint32(message.height);
|
|
13432
|
+
}
|
|
13433
|
+
return writer;
|
|
13434
|
+
},
|
|
13435
|
+
decode(input, length) {
|
|
13436
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13437
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13438
|
+
const message = createBaseBoundingBox();
|
|
13439
|
+
while (reader.pos < end) {
|
|
13440
|
+
const tag = reader.uint32();
|
|
13441
|
+
switch (tag >>> 3) {
|
|
13442
|
+
case 1: {
|
|
13443
|
+
if (tag !== 8) {
|
|
13444
|
+
break;
|
|
13445
|
+
}
|
|
13446
|
+
message.x = reader.uint32();
|
|
13447
|
+
continue;
|
|
13448
|
+
}
|
|
13449
|
+
case 2: {
|
|
13450
|
+
if (tag !== 16) {
|
|
13451
|
+
break;
|
|
13452
|
+
}
|
|
13453
|
+
message.y = reader.uint32();
|
|
13454
|
+
continue;
|
|
13455
|
+
}
|
|
13456
|
+
case 3: {
|
|
13457
|
+
if (tag !== 24) {
|
|
13458
|
+
break;
|
|
13459
|
+
}
|
|
13460
|
+
message.width = reader.uint32();
|
|
13461
|
+
continue;
|
|
13462
|
+
}
|
|
13463
|
+
case 4: {
|
|
13464
|
+
if (tag !== 32) {
|
|
13465
|
+
break;
|
|
13466
|
+
}
|
|
13467
|
+
message.height = reader.uint32();
|
|
13468
|
+
continue;
|
|
13469
|
+
}
|
|
13470
|
+
}
|
|
13471
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13472
|
+
break;
|
|
13473
|
+
}
|
|
13474
|
+
reader.skip(tag & 7);
|
|
13475
|
+
}
|
|
13476
|
+
return message;
|
|
13477
|
+
},
|
|
13478
|
+
fromJSON(object) {
|
|
13479
|
+
return {
|
|
13480
|
+
x: isSet(object.x) ? gt.Number(object.x) : 0,
|
|
13481
|
+
y: isSet(object.y) ? gt.Number(object.y) : 0,
|
|
13482
|
+
width: isSet(object.width) ? gt.Number(object.width) : 0,
|
|
13483
|
+
height: isSet(object.height) ? gt.Number(object.height) : 0,
|
|
13484
|
+
};
|
|
13485
|
+
},
|
|
13486
|
+
toJSON(message) {
|
|
13487
|
+
const obj = {};
|
|
13488
|
+
if (message.x !== 0) {
|
|
13489
|
+
obj.x = Math.round(message.x);
|
|
13490
|
+
}
|
|
13491
|
+
if (message.y !== 0) {
|
|
13492
|
+
obj.y = Math.round(message.y);
|
|
13493
|
+
}
|
|
13494
|
+
if (message.width !== 0) {
|
|
13495
|
+
obj.width = Math.round(message.width);
|
|
13496
|
+
}
|
|
13497
|
+
if (message.height !== 0) {
|
|
13498
|
+
obj.height = Math.round(message.height);
|
|
13499
|
+
}
|
|
13500
|
+
return obj;
|
|
13501
|
+
},
|
|
13502
|
+
create(base) {
|
|
13503
|
+
return exports.BoundingBox.fromPartial(base ?? {});
|
|
13504
|
+
},
|
|
13505
|
+
fromPartial(object) {
|
|
13506
|
+
const message = createBaseBoundingBox();
|
|
13507
|
+
message.x = object.x ?? 0;
|
|
13508
|
+
message.y = object.y ?? 0;
|
|
13509
|
+
message.width = object.width ?? 0;
|
|
13510
|
+
message.height = object.height ?? 0;
|
|
13511
|
+
return message;
|
|
13512
|
+
},
|
|
13513
|
+
};
|
|
13514
|
+
function createBaseObjectDetection() {
|
|
13515
|
+
return { boundingBox: undefined, confidence: 0, classId: 0, className: "", trackingId: 0 };
|
|
13516
|
+
}
|
|
13517
|
+
exports.ObjectDetection = {
|
|
13518
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13519
|
+
if (message.boundingBox !== undefined) {
|
|
13520
|
+
exports.BoundingBox.encode(message.boundingBox, writer.uint32(10).fork()).join();
|
|
13521
|
+
}
|
|
13522
|
+
if (message.confidence !== 0) {
|
|
13523
|
+
writer.uint32(21).float(message.confidence);
|
|
13524
|
+
}
|
|
13525
|
+
if (message.classId !== 0) {
|
|
13526
|
+
writer.uint32(24).uint32(message.classId);
|
|
13527
|
+
}
|
|
13528
|
+
if (message.className !== "") {
|
|
13529
|
+
writer.uint32(34).string(message.className);
|
|
13530
|
+
}
|
|
13531
|
+
if (message.trackingId !== 0) {
|
|
13532
|
+
writer.uint32(40).uint32(message.trackingId);
|
|
13533
|
+
}
|
|
13534
|
+
return writer;
|
|
13535
|
+
},
|
|
13536
|
+
decode(input, length) {
|
|
13537
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13538
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13539
|
+
const message = createBaseObjectDetection();
|
|
13540
|
+
while (reader.pos < end) {
|
|
13541
|
+
const tag = reader.uint32();
|
|
13542
|
+
switch (tag >>> 3) {
|
|
13543
|
+
case 1: {
|
|
13544
|
+
if (tag !== 10) {
|
|
13545
|
+
break;
|
|
13546
|
+
}
|
|
13547
|
+
message.boundingBox = exports.BoundingBox.decode(reader, reader.uint32());
|
|
13548
|
+
continue;
|
|
13549
|
+
}
|
|
13550
|
+
case 2: {
|
|
13551
|
+
if (tag !== 21) {
|
|
13552
|
+
break;
|
|
13553
|
+
}
|
|
13554
|
+
message.confidence = reader.float();
|
|
13555
|
+
continue;
|
|
13556
|
+
}
|
|
13557
|
+
case 3: {
|
|
13558
|
+
if (tag !== 24) {
|
|
13559
|
+
break;
|
|
13560
|
+
}
|
|
13561
|
+
message.classId = reader.uint32();
|
|
13562
|
+
continue;
|
|
13563
|
+
}
|
|
13564
|
+
case 4: {
|
|
13565
|
+
if (tag !== 34) {
|
|
13566
|
+
break;
|
|
13567
|
+
}
|
|
13568
|
+
message.className = reader.string();
|
|
13569
|
+
continue;
|
|
13570
|
+
}
|
|
13571
|
+
case 5: {
|
|
13572
|
+
if (tag !== 40) {
|
|
13573
|
+
break;
|
|
13574
|
+
}
|
|
13575
|
+
message.trackingId = reader.uint32();
|
|
13576
|
+
continue;
|
|
13577
|
+
}
|
|
13578
|
+
}
|
|
13579
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13580
|
+
break;
|
|
13581
|
+
}
|
|
13582
|
+
reader.skip(tag & 7);
|
|
13583
|
+
}
|
|
13584
|
+
return message;
|
|
13585
|
+
},
|
|
13586
|
+
fromJSON(object) {
|
|
13587
|
+
return {
|
|
13588
|
+
boundingBox: isSet(object.boundingBox) ? exports.BoundingBox.fromJSON(object.boundingBox) : undefined,
|
|
13589
|
+
confidence: isSet(object.confidence) ? gt.Number(object.confidence) : 0,
|
|
13590
|
+
classId: isSet(object.classId) ? gt.Number(object.classId) : 0,
|
|
13591
|
+
className: isSet(object.className) ? gt.String(object.className) : "",
|
|
13592
|
+
trackingId: isSet(object.trackingId) ? gt.Number(object.trackingId) : 0,
|
|
13593
|
+
};
|
|
13594
|
+
},
|
|
13595
|
+
toJSON(message) {
|
|
13596
|
+
const obj = {};
|
|
13597
|
+
if (message.boundingBox !== undefined) {
|
|
13598
|
+
obj.boundingBox = exports.BoundingBox.toJSON(message.boundingBox);
|
|
13599
|
+
}
|
|
13600
|
+
if (message.confidence !== 0) {
|
|
13601
|
+
obj.confidence = message.confidence;
|
|
13602
|
+
}
|
|
13603
|
+
if (message.classId !== 0) {
|
|
13604
|
+
obj.classId = Math.round(message.classId);
|
|
13605
|
+
}
|
|
13606
|
+
if (message.className !== "") {
|
|
13607
|
+
obj.className = message.className;
|
|
13608
|
+
}
|
|
13609
|
+
if (message.trackingId !== 0) {
|
|
13610
|
+
obj.trackingId = Math.round(message.trackingId);
|
|
13611
|
+
}
|
|
13612
|
+
return obj;
|
|
13613
|
+
},
|
|
13614
|
+
create(base) {
|
|
13615
|
+
return exports.ObjectDetection.fromPartial(base ?? {});
|
|
13616
|
+
},
|
|
13617
|
+
fromPartial(object) {
|
|
13618
|
+
const message = createBaseObjectDetection();
|
|
13619
|
+
message.boundingBox = (object.boundingBox !== undefined && object.boundingBox !== null)
|
|
13620
|
+
? exports.BoundingBox.fromPartial(object.boundingBox)
|
|
13621
|
+
: undefined;
|
|
13622
|
+
message.confidence = object.confidence ?? 0;
|
|
13623
|
+
message.classId = object.classId ?? 0;
|
|
13624
|
+
message.className = object.className ?? "";
|
|
13625
|
+
message.trackingId = object.trackingId ?? 0;
|
|
13626
|
+
return message;
|
|
13627
|
+
},
|
|
13628
|
+
};
|
|
13629
|
+
function createBaseObjectDetections() {
|
|
13630
|
+
return { detections: [], camera: 0 };
|
|
13631
|
+
}
|
|
13632
|
+
exports.ObjectDetections = {
|
|
13633
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13634
|
+
for (const v of message.detections) {
|
|
13635
|
+
exports.ObjectDetection.encode(v, writer.uint32(10).fork()).join();
|
|
13636
|
+
}
|
|
13637
|
+
if (message.camera !== 0) {
|
|
13638
|
+
writer.uint32(16).int32(message.camera);
|
|
13639
|
+
}
|
|
13640
|
+
return writer;
|
|
13641
|
+
},
|
|
13642
|
+
decode(input, length) {
|
|
13643
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13644
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13645
|
+
const message = createBaseObjectDetections();
|
|
13646
|
+
while (reader.pos < end) {
|
|
13647
|
+
const tag = reader.uint32();
|
|
13648
|
+
switch (tag >>> 3) {
|
|
13649
|
+
case 1: {
|
|
13650
|
+
if (tag !== 10) {
|
|
13651
|
+
break;
|
|
13652
|
+
}
|
|
13653
|
+
message.detections.push(exports.ObjectDetection.decode(reader, reader.uint32()));
|
|
13654
|
+
continue;
|
|
13655
|
+
}
|
|
13656
|
+
case 2: {
|
|
13657
|
+
if (tag !== 16) {
|
|
13658
|
+
break;
|
|
13659
|
+
}
|
|
13660
|
+
message.camera = reader.int32();
|
|
13661
|
+
continue;
|
|
13662
|
+
}
|
|
13663
|
+
}
|
|
13664
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13665
|
+
break;
|
|
13666
|
+
}
|
|
13667
|
+
reader.skip(tag & 7);
|
|
13668
|
+
}
|
|
13669
|
+
return message;
|
|
13670
|
+
},
|
|
13671
|
+
fromJSON(object) {
|
|
13672
|
+
return {
|
|
13673
|
+
detections: gt.Array.isArray(object?.detections)
|
|
13674
|
+
? object.detections.map((e) => exports.ObjectDetection.fromJSON(e))
|
|
13675
|
+
: [],
|
|
13676
|
+
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
13677
|
+
};
|
|
13678
|
+
},
|
|
13679
|
+
toJSON(message) {
|
|
13680
|
+
const obj = {};
|
|
13681
|
+
if (message.detections?.length) {
|
|
13682
|
+
obj.detections = message.detections.map((e) => exports.ObjectDetection.toJSON(e));
|
|
13683
|
+
}
|
|
13684
|
+
if (message.camera !== 0) {
|
|
13685
|
+
obj.camera = cameraToJSON(message.camera);
|
|
13686
|
+
}
|
|
13687
|
+
return obj;
|
|
13688
|
+
},
|
|
13689
|
+
create(base) {
|
|
13690
|
+
return exports.ObjectDetections.fromPartial(base ?? {});
|
|
13691
|
+
},
|
|
13692
|
+
fromPartial(object) {
|
|
13693
|
+
const message = createBaseObjectDetections();
|
|
13694
|
+
message.detections = object.detections?.map((e) => exports.ObjectDetection.fromPartial(e)) || [];
|
|
13695
|
+
message.camera = object.camera ?? 0;
|
|
13696
|
+
return message;
|
|
13697
|
+
},
|
|
13698
|
+
};
|
|
13699
|
+
function createBaseFilterMessage() {
|
|
13700
|
+
return { enabled: false, intensity: 0 };
|
|
13701
|
+
}
|
|
13702
|
+
exports.FilterMessage = {
|
|
13703
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13704
|
+
if (message.enabled !== false) {
|
|
13705
|
+
writer.uint32(8).bool(message.enabled);
|
|
13706
|
+
}
|
|
13707
|
+
if (message.intensity !== 0) {
|
|
13708
|
+
writer.uint32(21).float(message.intensity);
|
|
13709
|
+
}
|
|
13710
|
+
return writer;
|
|
13711
|
+
},
|
|
13712
|
+
decode(input, length) {
|
|
13713
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13714
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13715
|
+
const message = createBaseFilterMessage();
|
|
13716
|
+
while (reader.pos < end) {
|
|
13717
|
+
const tag = reader.uint32();
|
|
13718
|
+
switch (tag >>> 3) {
|
|
13719
|
+
case 1: {
|
|
13720
|
+
if (tag !== 8) {
|
|
13721
|
+
break;
|
|
13722
|
+
}
|
|
13723
|
+
message.enabled = reader.bool();
|
|
13724
|
+
continue;
|
|
13725
|
+
}
|
|
13726
|
+
case 2: {
|
|
13727
|
+
if (tag !== 21) {
|
|
13728
|
+
break;
|
|
13729
|
+
}
|
|
13730
|
+
message.intensity = reader.float();
|
|
13731
|
+
continue;
|
|
13732
|
+
}
|
|
13733
|
+
}
|
|
13734
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13735
|
+
break;
|
|
13736
|
+
}
|
|
13737
|
+
reader.skip(tag & 7);
|
|
13738
|
+
}
|
|
13739
|
+
return message;
|
|
13740
|
+
},
|
|
13741
|
+
fromJSON(object) {
|
|
13742
|
+
return {
|
|
13743
|
+
enabled: isSet(object.enabled) ? gt.Boolean(object.enabled) : false,
|
|
13744
|
+
intensity: isSet(object.intensity) ? gt.Number(object.intensity) : 0,
|
|
13745
|
+
};
|
|
13746
|
+
},
|
|
13747
|
+
toJSON(message) {
|
|
13748
|
+
const obj = {};
|
|
13749
|
+
if (message.enabled !== false) {
|
|
13750
|
+
obj.enabled = message.enabled;
|
|
13751
|
+
}
|
|
13752
|
+
if (message.intensity !== 0) {
|
|
13753
|
+
obj.intensity = message.intensity;
|
|
13754
|
+
}
|
|
13755
|
+
return obj;
|
|
13756
|
+
},
|
|
13757
|
+
create(base) {
|
|
13758
|
+
return exports.FilterMessage.fromPartial(base ?? {});
|
|
13759
|
+
},
|
|
13760
|
+
fromPartial(object) {
|
|
13761
|
+
const message = createBaseFilterMessage();
|
|
13762
|
+
message.enabled = object.enabled ?? false;
|
|
13763
|
+
message.intensity = object.intensity ?? 0;
|
|
13764
|
+
return message;
|
|
13765
|
+
},
|
|
13766
|
+
};
|
|
13767
|
+
function createBaseCameraPanTiltZoom() {
|
|
13768
|
+
return { pan: 0, tilt: 0, zoom: 0 };
|
|
13769
|
+
}
|
|
13770
|
+
exports.CameraPanTiltZoom = {
|
|
13771
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13772
|
+
if (message.pan !== 0) {
|
|
13773
|
+
writer.uint32(13).float(message.pan);
|
|
13774
|
+
}
|
|
13775
|
+
if (message.tilt !== 0) {
|
|
13776
|
+
writer.uint32(21).float(message.tilt);
|
|
13777
|
+
}
|
|
13778
|
+
if (message.zoom !== 0) {
|
|
13779
|
+
writer.uint32(29).float(message.zoom);
|
|
13780
|
+
}
|
|
13781
|
+
return writer;
|
|
13782
|
+
},
|
|
13783
|
+
decode(input, length) {
|
|
13784
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13785
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13786
|
+
const message = createBaseCameraPanTiltZoom();
|
|
13787
|
+
while (reader.pos < end) {
|
|
13788
|
+
const tag = reader.uint32();
|
|
13789
|
+
switch (tag >>> 3) {
|
|
13790
|
+
case 1: {
|
|
13791
|
+
if (tag !== 13) {
|
|
13792
|
+
break;
|
|
13793
|
+
}
|
|
13794
|
+
message.pan = reader.float();
|
|
13795
|
+
continue;
|
|
13796
|
+
}
|
|
13797
|
+
case 2: {
|
|
13798
|
+
if (tag !== 21) {
|
|
13799
|
+
break;
|
|
13800
|
+
}
|
|
13801
|
+
message.tilt = reader.float();
|
|
13802
|
+
continue;
|
|
13803
|
+
}
|
|
13804
|
+
case 3: {
|
|
13805
|
+
if (tag !== 29) {
|
|
13806
|
+
break;
|
|
13807
|
+
}
|
|
13808
|
+
message.zoom = reader.float();
|
|
13809
|
+
continue;
|
|
13810
|
+
}
|
|
13811
|
+
}
|
|
13812
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13813
|
+
break;
|
|
13814
|
+
}
|
|
13815
|
+
reader.skip(tag & 7);
|
|
13816
|
+
}
|
|
13817
|
+
return message;
|
|
13818
|
+
},
|
|
13819
|
+
fromJSON(object) {
|
|
13820
|
+
return {
|
|
13821
|
+
pan: isSet(object.pan) ? gt.Number(object.pan) : 0,
|
|
13822
|
+
tilt: isSet(object.tilt) ? gt.Number(object.tilt) : 0,
|
|
13823
|
+
zoom: isSet(object.zoom) ? gt.Number(object.zoom) : 0,
|
|
13824
|
+
};
|
|
13825
|
+
},
|
|
13826
|
+
toJSON(message) {
|
|
13827
|
+
const obj = {};
|
|
13828
|
+
if (message.pan !== 0) {
|
|
13829
|
+
obj.pan = message.pan;
|
|
13830
|
+
}
|
|
13831
|
+
if (message.tilt !== 0) {
|
|
13832
|
+
obj.tilt = message.tilt;
|
|
13833
|
+
}
|
|
13834
|
+
if (message.zoom !== 0) {
|
|
13835
|
+
obj.zoom = message.zoom;
|
|
13836
|
+
}
|
|
13837
|
+
return obj;
|
|
13838
|
+
},
|
|
13839
|
+
create(base) {
|
|
13840
|
+
return exports.CameraPanTiltZoom.fromPartial(base ?? {});
|
|
13841
|
+
},
|
|
13842
|
+
fromPartial(object) {
|
|
13843
|
+
const message = createBaseCameraPanTiltZoom();
|
|
13844
|
+
message.pan = object.pan ?? 0;
|
|
13845
|
+
message.tilt = object.tilt ?? 0;
|
|
13846
|
+
message.zoom = object.zoom ?? 0;
|
|
13847
|
+
return message;
|
|
13848
|
+
},
|
|
13849
|
+
};
|
|
13850
|
+
function createBaseOperatorInfo() {
|
|
13851
|
+
return { name: "", email: "" };
|
|
13852
|
+
}
|
|
13853
|
+
exports.OperatorInfo = {
|
|
13854
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13855
|
+
if (message.name !== "") {
|
|
13856
|
+
writer.uint32(10).string(message.name);
|
|
13857
|
+
}
|
|
13858
|
+
if (message.email !== "") {
|
|
13859
|
+
writer.uint32(18).string(message.email);
|
|
13860
|
+
}
|
|
13861
|
+
return writer;
|
|
13862
|
+
},
|
|
13863
|
+
decode(input, length) {
|
|
13864
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13865
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13866
|
+
const message = createBaseOperatorInfo();
|
|
13867
|
+
while (reader.pos < end) {
|
|
13868
|
+
const tag = reader.uint32();
|
|
13869
|
+
switch (tag >>> 3) {
|
|
13870
|
+
case 1: {
|
|
13871
|
+
if (tag !== 10) {
|
|
13872
|
+
break;
|
|
13873
|
+
}
|
|
13874
|
+
message.name = reader.string();
|
|
13875
|
+
continue;
|
|
13876
|
+
}
|
|
13877
|
+
case 2: {
|
|
13878
|
+
if (tag !== 18) {
|
|
13879
|
+
break;
|
|
13880
|
+
}
|
|
13881
|
+
message.email = reader.string();
|
|
13882
|
+
continue;
|
|
13883
|
+
}
|
|
13884
|
+
}
|
|
13885
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13886
|
+
break;
|
|
13887
|
+
}
|
|
13888
|
+
reader.skip(tag & 7);
|
|
13889
|
+
}
|
|
13890
|
+
return message;
|
|
13891
|
+
},
|
|
13892
|
+
fromJSON(object) {
|
|
13893
|
+
return {
|
|
13894
|
+
name: isSet(object.name) ? gt.String(object.name) : "",
|
|
13895
|
+
email: isSet(object.email) ? gt.String(object.email) : "",
|
|
13896
|
+
};
|
|
13897
|
+
},
|
|
13898
|
+
toJSON(message) {
|
|
13899
|
+
const obj = {};
|
|
13900
|
+
if (message.name !== "") {
|
|
13901
|
+
obj.name = message.name;
|
|
13902
|
+
}
|
|
13903
|
+
if (message.email !== "") {
|
|
13904
|
+
obj.email = message.email;
|
|
13905
|
+
}
|
|
13906
|
+
return obj;
|
|
13907
|
+
},
|
|
13908
|
+
create(base) {
|
|
13909
|
+
return exports.OperatorInfo.fromPartial(base ?? {});
|
|
13910
|
+
},
|
|
13911
|
+
fromPartial(object) {
|
|
13912
|
+
const message = createBaseOperatorInfo();
|
|
13913
|
+
message.name = object.name ?? "";
|
|
13914
|
+
message.email = object.email ?? "";
|
|
13915
|
+
return message;
|
|
13916
|
+
},
|
|
13917
|
+
};
|
|
13034
13918
|
const gt = (() => {
|
|
13035
13919
|
if (typeof globalThis !== "undefined") {
|
|
13036
13920
|
return globalThis;
|