@blueyerobotics/protocol-definitions 3.2.0-dc5787fd → 3.2.0-f9c8c50d
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/aquatroll.d.ts +2 -8
- package/dist/aquatroll.js +1 -1
- package/dist/control.d.ts +13 -8
- package/dist/control.js +39 -2
- package/dist/google/protobuf/any.d.ts +2 -8
- package/dist/google/protobuf/any.js +1 -1
- package/dist/google/protobuf/duration.d.ts +2 -8
- package/dist/google/protobuf/duration.js +1 -1
- package/dist/google/protobuf/timestamp.d.ts +2 -8
- package/dist/google/protobuf/timestamp.js +1 -1
- package/dist/index.blueye.js +1 -1
- package/dist/index.blueye.protocol.js +1 -1
- package/dist/index.google.js +1 -1
- package/dist/index.google.protobuf.js +1 -1
- package/dist/index.js +1 -1
- package/dist/message_formats.d.ts +180 -17
- package/dist/message_formats.js +1110 -92
- package/dist/mission_planning.d.ts +2 -8
- package/dist/mission_planning.js +1 -1
- package/dist/req_rep.d.ts +2 -8
- package/dist/req_rep.js +1 -1
- package/dist/telemetry.d.ts +20 -10
- package/dist/telemetry.js +151 -5
- package/package.json +1 -1
package/dist/message_formats.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: message_formats.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = void 0;
|
|
8
|
+
exports.GripperVelocities = exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = 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.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.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.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
|
|
9
|
+
exports.GuestPortDeviceList = exports.GuestPortDevice = exports.NavigationSensorStatus = exports.OverlayParameters = 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 = void 0;
|
|
10
|
+
exports.SurfaceUnitVersionInfo = exports.SurfaceUnitBatteryInfo = exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = exports.GuestPortInfo = exports.GuestPortConnectorInfo = void 0;
|
|
11
11
|
exports.intervalTypeFromJSON = intervalTypeFromJSON;
|
|
12
12
|
exports.intervalTypeToJSON = intervalTypeToJSON;
|
|
13
13
|
exports.locationSourceFromJSON = locationSourceFromJSON;
|
|
@@ -32,6 +32,8 @@ exports.framerateFromJSON = framerateFromJSON;
|
|
|
32
32
|
exports.framerateToJSON = framerateToJSON;
|
|
33
33
|
exports.cameraFromJSON = cameraFromJSON;
|
|
34
34
|
exports.cameraToJSON = cameraToJSON;
|
|
35
|
+
exports.streamingProtocolFromJSON = streamingProtocolFromJSON;
|
|
36
|
+
exports.streamingProtocolToJSON = streamingProtocolToJSON;
|
|
35
37
|
exports.temperatureUnitFromJSON = temperatureUnitFromJSON;
|
|
36
38
|
exports.temperatureUnitToJSON = temperatureUnitToJSON;
|
|
37
39
|
exports.logoTypeFromJSON = logoTypeFromJSON;
|
|
@@ -54,16 +56,22 @@ exports.guestPortErrorFromJSON = guestPortErrorFromJSON;
|
|
|
54
56
|
exports.guestPortErrorToJSON = guestPortErrorToJSON;
|
|
55
57
|
exports.multibeamFrequencyModeFromJSON = multibeamFrequencyModeFromJSON;
|
|
56
58
|
exports.multibeamFrequencyModeToJSON = multibeamFrequencyModeToJSON;
|
|
59
|
+
exports.logEntry_LogLevelFromJSON = logEntry_LogLevelFromJSON;
|
|
60
|
+
exports.logEntry_LogLevelToJSON = logEntry_LogLevelToJSON;
|
|
57
61
|
exports.pingerConfiguration_MountingDirectionFromJSON = pingerConfiguration_MountingDirectionFromJSON;
|
|
58
62
|
exports.pingerConfiguration_MountingDirectionToJSON = pingerConfiguration_MountingDirectionToJSON;
|
|
59
63
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON;
|
|
60
64
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON;
|
|
65
|
+
exports.removableStorageDevice_StatusFromJSON = removableStorageDevice_StatusFromJSON;
|
|
66
|
+
exports.removableStorageDevice_StatusToJSON = removableStorageDevice_StatusToJSON;
|
|
61
67
|
exports.calibrationState_StatusFromJSON = calibrationState_StatusFromJSON;
|
|
62
68
|
exports.calibrationState_StatusToJSON = calibrationState_StatusToJSON;
|
|
63
69
|
exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
|
|
64
70
|
exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
|
|
65
71
|
exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
|
|
66
72
|
exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
|
|
73
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
|
|
74
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
|
|
67
75
|
/* eslint-disable */
|
|
68
76
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
69
77
|
const any_1 = require("./google/protobuf/any");
|
|
@@ -714,11 +722,15 @@ var Resolution;
|
|
|
714
722
|
(function (Resolution) {
|
|
715
723
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
716
724
|
Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
|
|
717
|
-
/**
|
|
718
|
-
Resolution[Resolution["
|
|
719
|
-
/**
|
|
725
|
+
/** RESOLUTION_VGA - VGA (640x480). */
|
|
726
|
+
Resolution[Resolution["RESOLUTION_VGA"] = 4] = "RESOLUTION_VGA";
|
|
727
|
+
/** RESOLUTION_SVGA - SVGA (800x600). */
|
|
728
|
+
Resolution[Resolution["RESOLUTION_SVGA"] = 5] = "RESOLUTION_SVGA";
|
|
729
|
+
/** RESOLUTION_HD_720P - 720p HD (1280x720). */
|
|
720
730
|
Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
|
|
721
|
-
/**
|
|
731
|
+
/** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
|
|
732
|
+
Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
|
|
733
|
+
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160). */
|
|
722
734
|
Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
|
|
723
735
|
Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
724
736
|
})(Resolution || (exports.Resolution = Resolution = {}));
|
|
@@ -727,12 +739,18 @@ function resolutionFromJSON(object) {
|
|
|
727
739
|
case 0:
|
|
728
740
|
case "RESOLUTION_UNSPECIFIED":
|
|
729
741
|
return Resolution.RESOLUTION_UNSPECIFIED;
|
|
730
|
-
case
|
|
731
|
-
case "
|
|
732
|
-
return Resolution.
|
|
742
|
+
case 4:
|
|
743
|
+
case "RESOLUTION_VGA":
|
|
744
|
+
return Resolution.RESOLUTION_VGA;
|
|
745
|
+
case 5:
|
|
746
|
+
case "RESOLUTION_SVGA":
|
|
747
|
+
return Resolution.RESOLUTION_SVGA;
|
|
733
748
|
case 2:
|
|
734
749
|
case "RESOLUTION_HD_720P":
|
|
735
750
|
return Resolution.RESOLUTION_HD_720P;
|
|
751
|
+
case 1:
|
|
752
|
+
case "RESOLUTION_FULLHD_1080P":
|
|
753
|
+
return Resolution.RESOLUTION_FULLHD_1080P;
|
|
736
754
|
case 3:
|
|
737
755
|
case "RESOLUTION_UHD_4K":
|
|
738
756
|
return Resolution.RESOLUTION_UHD_4K;
|
|
@@ -746,10 +764,14 @@ function resolutionToJSON(object) {
|
|
|
746
764
|
switch (object) {
|
|
747
765
|
case Resolution.RESOLUTION_UNSPECIFIED:
|
|
748
766
|
return "RESOLUTION_UNSPECIFIED";
|
|
749
|
-
case Resolution.
|
|
750
|
-
return "
|
|
767
|
+
case Resolution.RESOLUTION_VGA:
|
|
768
|
+
return "RESOLUTION_VGA";
|
|
769
|
+
case Resolution.RESOLUTION_SVGA:
|
|
770
|
+
return "RESOLUTION_SVGA";
|
|
751
771
|
case Resolution.RESOLUTION_HD_720P:
|
|
752
772
|
return "RESOLUTION_HD_720P";
|
|
773
|
+
case Resolution.RESOLUTION_FULLHD_1080P:
|
|
774
|
+
return "RESOLUTION_FULLHD_1080P";
|
|
753
775
|
case Resolution.RESOLUTION_UHD_4K:
|
|
754
776
|
return "RESOLUTION_UHD_4K";
|
|
755
777
|
case Resolution.UNRECOGNIZED:
|
|
@@ -839,6 +861,46 @@ function cameraToJSON(object) {
|
|
|
839
861
|
return "UNRECOGNIZED";
|
|
840
862
|
}
|
|
841
863
|
}
|
|
864
|
+
var StreamingProtocol;
|
|
865
|
+
(function (StreamingProtocol) {
|
|
866
|
+
/** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
|
|
867
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_UNSPECIFIED"] = 0] = "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
868
|
+
/** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
|
|
869
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_H264"] = 1] = "STREAMING_PROTOCOL_RTSP_H264";
|
|
870
|
+
/** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. */
|
|
871
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_MJPEG"] = 2] = "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
872
|
+
StreamingProtocol[StreamingProtocol["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
873
|
+
})(StreamingProtocol || (exports.StreamingProtocol = StreamingProtocol = {}));
|
|
874
|
+
function streamingProtocolFromJSON(object) {
|
|
875
|
+
switch (object) {
|
|
876
|
+
case 0:
|
|
877
|
+
case "STREAMING_PROTOCOL_UNSPECIFIED":
|
|
878
|
+
return StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED;
|
|
879
|
+
case 1:
|
|
880
|
+
case "STREAMING_PROTOCOL_RTSP_H264":
|
|
881
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264;
|
|
882
|
+
case 2:
|
|
883
|
+
case "STREAMING_PROTOCOL_RTSP_MJPEG":
|
|
884
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG;
|
|
885
|
+
case -1:
|
|
886
|
+
case "UNRECOGNIZED":
|
|
887
|
+
default:
|
|
888
|
+
return StreamingProtocol.UNRECOGNIZED;
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
function streamingProtocolToJSON(object) {
|
|
892
|
+
switch (object) {
|
|
893
|
+
case StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED:
|
|
894
|
+
return "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
895
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264:
|
|
896
|
+
return "STREAMING_PROTOCOL_RTSP_H264";
|
|
897
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG:
|
|
898
|
+
return "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
899
|
+
case StreamingProtocol.UNRECOGNIZED:
|
|
900
|
+
default:
|
|
901
|
+
return "UNRECOGNIZED";
|
|
902
|
+
}
|
|
903
|
+
}
|
|
842
904
|
/** Available temperature units. */
|
|
843
905
|
var TemperatureUnit;
|
|
844
906
|
(function (TemperatureUnit) {
|
|
@@ -1172,6 +1234,8 @@ var GuestPortDeviceID;
|
|
|
1172
1234
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1173
1235
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1174
1236
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1237
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
|
|
1238
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1175
1239
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1176
1240
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1177
1241
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1311,6 +1375,9 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1311
1375
|
case 44:
|
|
1312
1376
|
case "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650":
|
|
1313
1377
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650;
|
|
1378
|
+
case 45:
|
|
1379
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
|
|
1380
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
|
|
1314
1381
|
case -1:
|
|
1315
1382
|
case "UNRECOGNIZED":
|
|
1316
1383
|
default:
|
|
@@ -1409,6 +1476,8 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1409
1476
|
return "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1410
1477
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650:
|
|
1411
1478
|
return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1479
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
|
|
1480
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1412
1481
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1413
1482
|
default:
|
|
1414
1483
|
return "UNRECOGNIZED";
|
|
@@ -1685,6 +1754,74 @@ function multibeamFrequencyModeToJSON(object) {
|
|
|
1685
1754
|
return "UNRECOGNIZED";
|
|
1686
1755
|
}
|
|
1687
1756
|
}
|
|
1757
|
+
var LogEntry_LogLevel;
|
|
1758
|
+
(function (LogEntry_LogLevel) {
|
|
1759
|
+
/** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
1760
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_UNSPECIFIED"] = 0] = "LOG_LEVEL_UNSPECIFIED";
|
|
1761
|
+
/** LOG_LEVEL_TRACE - Trace log level. */
|
|
1762
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_TRACE"] = 1] = "LOG_LEVEL_TRACE";
|
|
1763
|
+
/** LOG_LEVEL_DEBUG - Debug log level. */
|
|
1764
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_DEBUG"] = 2] = "LOG_LEVEL_DEBUG";
|
|
1765
|
+
/** LOG_LEVEL_INFO - Info log level. */
|
|
1766
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_INFO"] = 3] = "LOG_LEVEL_INFO";
|
|
1767
|
+
/** LOG_LEVEL_WARNING - Warning log level. */
|
|
1768
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_WARNING"] = 4] = "LOG_LEVEL_WARNING";
|
|
1769
|
+
/** LOG_LEVEL_ERROR - Error log level. */
|
|
1770
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_ERROR"] = 5] = "LOG_LEVEL_ERROR";
|
|
1771
|
+
/** LOG_LEVEL_CRITICAL - Critical log level. */
|
|
1772
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_CRITICAL"] = 6] = "LOG_LEVEL_CRITICAL";
|
|
1773
|
+
LogEntry_LogLevel[LogEntry_LogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1774
|
+
})(LogEntry_LogLevel || (exports.LogEntry_LogLevel = LogEntry_LogLevel = {}));
|
|
1775
|
+
function logEntry_LogLevelFromJSON(object) {
|
|
1776
|
+
switch (object) {
|
|
1777
|
+
case 0:
|
|
1778
|
+
case "LOG_LEVEL_UNSPECIFIED":
|
|
1779
|
+
return LogEntry_LogLevel.LOG_LEVEL_UNSPECIFIED;
|
|
1780
|
+
case 1:
|
|
1781
|
+
case "LOG_LEVEL_TRACE":
|
|
1782
|
+
return LogEntry_LogLevel.LOG_LEVEL_TRACE;
|
|
1783
|
+
case 2:
|
|
1784
|
+
case "LOG_LEVEL_DEBUG":
|
|
1785
|
+
return LogEntry_LogLevel.LOG_LEVEL_DEBUG;
|
|
1786
|
+
case 3:
|
|
1787
|
+
case "LOG_LEVEL_INFO":
|
|
1788
|
+
return LogEntry_LogLevel.LOG_LEVEL_INFO;
|
|
1789
|
+
case 4:
|
|
1790
|
+
case "LOG_LEVEL_WARNING":
|
|
1791
|
+
return LogEntry_LogLevel.LOG_LEVEL_WARNING;
|
|
1792
|
+
case 5:
|
|
1793
|
+
case "LOG_LEVEL_ERROR":
|
|
1794
|
+
return LogEntry_LogLevel.LOG_LEVEL_ERROR;
|
|
1795
|
+
case 6:
|
|
1796
|
+
case "LOG_LEVEL_CRITICAL":
|
|
1797
|
+
return LogEntry_LogLevel.LOG_LEVEL_CRITICAL;
|
|
1798
|
+
case -1:
|
|
1799
|
+
case "UNRECOGNIZED":
|
|
1800
|
+
default:
|
|
1801
|
+
return LogEntry_LogLevel.UNRECOGNIZED;
|
|
1802
|
+
}
|
|
1803
|
+
}
|
|
1804
|
+
function logEntry_LogLevelToJSON(object) {
|
|
1805
|
+
switch (object) {
|
|
1806
|
+
case LogEntry_LogLevel.LOG_LEVEL_UNSPECIFIED:
|
|
1807
|
+
return "LOG_LEVEL_UNSPECIFIED";
|
|
1808
|
+
case LogEntry_LogLevel.LOG_LEVEL_TRACE:
|
|
1809
|
+
return "LOG_LEVEL_TRACE";
|
|
1810
|
+
case LogEntry_LogLevel.LOG_LEVEL_DEBUG:
|
|
1811
|
+
return "LOG_LEVEL_DEBUG";
|
|
1812
|
+
case LogEntry_LogLevel.LOG_LEVEL_INFO:
|
|
1813
|
+
return "LOG_LEVEL_INFO";
|
|
1814
|
+
case LogEntry_LogLevel.LOG_LEVEL_WARNING:
|
|
1815
|
+
return "LOG_LEVEL_WARNING";
|
|
1816
|
+
case LogEntry_LogLevel.LOG_LEVEL_ERROR:
|
|
1817
|
+
return "LOG_LEVEL_ERROR";
|
|
1818
|
+
case LogEntry_LogLevel.LOG_LEVEL_CRITICAL:
|
|
1819
|
+
return "LOG_LEVEL_CRITICAL";
|
|
1820
|
+
case LogEntry_LogLevel.UNRECOGNIZED:
|
|
1821
|
+
default:
|
|
1822
|
+
return "UNRECOGNIZED";
|
|
1823
|
+
}
|
|
1824
|
+
}
|
|
1688
1825
|
var PingerConfiguration_MountingDirection;
|
|
1689
1826
|
(function (PingerConfiguration_MountingDirection) {
|
|
1690
1827
|
/** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
|
|
@@ -1799,10 +1936,58 @@ function batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON(object) {
|
|
|
1799
1936
|
return "UNRECOGNIZED";
|
|
1800
1937
|
}
|
|
1801
1938
|
}
|
|
1939
|
+
/** Overall status of the storage device. */
|
|
1940
|
+
var RemovableStorageDevice_Status;
|
|
1941
|
+
(function (RemovableStorageDevice_Status) {
|
|
1942
|
+
/** STATUS_UNSPECIFIED - Unspecified. */
|
|
1943
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNSPECIFIED"] = 0] = "STATUS_UNSPECIFIED";
|
|
1944
|
+
/** STATUS_READY - The storage device is valid and ready for use. */
|
|
1945
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_READY"] = 1] = "STATUS_READY";
|
|
1946
|
+
/** STATUS_FORMATTING - The storage device is being formatted */
|
|
1947
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_FORMATTING"] = 2] = "STATUS_FORMATTING";
|
|
1948
|
+
/** STATUS_ERROR - The storage device is in an error state. */
|
|
1949
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_ERROR"] = 3] = "STATUS_ERROR";
|
|
1950
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1951
|
+
})(RemovableStorageDevice_Status || (exports.RemovableStorageDevice_Status = RemovableStorageDevice_Status = {}));
|
|
1952
|
+
function removableStorageDevice_StatusFromJSON(object) {
|
|
1953
|
+
switch (object) {
|
|
1954
|
+
case 0:
|
|
1955
|
+
case "STATUS_UNSPECIFIED":
|
|
1956
|
+
return RemovableStorageDevice_Status.STATUS_UNSPECIFIED;
|
|
1957
|
+
case 1:
|
|
1958
|
+
case "STATUS_READY":
|
|
1959
|
+
return RemovableStorageDevice_Status.STATUS_READY;
|
|
1960
|
+
case 2:
|
|
1961
|
+
case "STATUS_FORMATTING":
|
|
1962
|
+
return RemovableStorageDevice_Status.STATUS_FORMATTING;
|
|
1963
|
+
case 3:
|
|
1964
|
+
case "STATUS_ERROR":
|
|
1965
|
+
return RemovableStorageDevice_Status.STATUS_ERROR;
|
|
1966
|
+
case -1:
|
|
1967
|
+
case "UNRECOGNIZED":
|
|
1968
|
+
default:
|
|
1969
|
+
return RemovableStorageDevice_Status.UNRECOGNIZED;
|
|
1970
|
+
}
|
|
1971
|
+
}
|
|
1972
|
+
function removableStorageDevice_StatusToJSON(object) {
|
|
1973
|
+
switch (object) {
|
|
1974
|
+
case RemovableStorageDevice_Status.STATUS_UNSPECIFIED:
|
|
1975
|
+
return "STATUS_UNSPECIFIED";
|
|
1976
|
+
case RemovableStorageDevice_Status.STATUS_READY:
|
|
1977
|
+
return "STATUS_READY";
|
|
1978
|
+
case RemovableStorageDevice_Status.STATUS_FORMATTING:
|
|
1979
|
+
return "STATUS_FORMATTING";
|
|
1980
|
+
case RemovableStorageDevice_Status.STATUS_ERROR:
|
|
1981
|
+
return "STATUS_ERROR";
|
|
1982
|
+
case RemovableStorageDevice_Status.UNRECOGNIZED:
|
|
1983
|
+
default:
|
|
1984
|
+
return "UNRECOGNIZED";
|
|
1985
|
+
}
|
|
1986
|
+
}
|
|
1802
1987
|
/**
|
|
1803
1988
|
* Status of the compass calibration procedure.
|
|
1804
1989
|
*
|
|
1805
|
-
* When calibration is started, the status will indicate the active (
|
|
1990
|
+
* When calibration is started, the status will indicate the active (up facing) axis.
|
|
1806
1991
|
*/
|
|
1807
1992
|
var CalibrationState_Status;
|
|
1808
1993
|
(function (CalibrationState_Status) {
|
|
@@ -1824,7 +2009,7 @@ var CalibrationState_Status;
|
|
|
1824
2009
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_Z_POSITIVE"] = 7] = "STATUS_CALIBRATING_Z_POSITIVE";
|
|
1825
2010
|
/** STATUS_CALIBRATING_Z_NEGATIVE - Compass is calibrating and the negative Z axis is active. */
|
|
1826
2011
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_Z_NEGATIVE"] = 8] = "STATUS_CALIBRATING_Z_NEGATIVE";
|
|
1827
|
-
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster
|
|
2012
|
+
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interference. */
|
|
1828
2013
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_THRUSTER"] = 9] = "STATUS_CALIBRATING_THRUSTER";
|
|
1829
2014
|
CalibrationState_Status[CalibrationState_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1830
2015
|
})(CalibrationState_Status || (exports.CalibrationState_Status = CalibrationState_Status = {}));
|
|
@@ -2015,6 +2200,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2015
2200
|
return "UNRECOGNIZED";
|
|
2016
2201
|
}
|
|
2017
2202
|
}
|
|
2203
|
+
var SurfaceUnitBatteryInfo_ChargeStatus;
|
|
2204
|
+
(function (SurfaceUnitBatteryInfo_ChargeStatus) {
|
|
2205
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_UNSPECIFIED"] = 0] = "CHARGE_STATUS_UNSPECIFIED";
|
|
2206
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_DISCHARGE"] = 1] = "CHARGE_STATUS_DISCHARGE";
|
|
2207
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE"] = 2] = "CHARGE_STATUS_CHARGE";
|
|
2208
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE_ERROR"] = 3] = "CHARGE_STATUS_CHARGE_ERROR";
|
|
2209
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2210
|
+
})(SurfaceUnitBatteryInfo_ChargeStatus || (exports.SurfaceUnitBatteryInfo_ChargeStatus = SurfaceUnitBatteryInfo_ChargeStatus = {}));
|
|
2211
|
+
function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object) {
|
|
2212
|
+
switch (object) {
|
|
2213
|
+
case 0:
|
|
2214
|
+
case "CHARGE_STATUS_UNSPECIFIED":
|
|
2215
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED;
|
|
2216
|
+
case 1:
|
|
2217
|
+
case "CHARGE_STATUS_DISCHARGE":
|
|
2218
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE;
|
|
2219
|
+
case 2:
|
|
2220
|
+
case "CHARGE_STATUS_CHARGE":
|
|
2221
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE;
|
|
2222
|
+
case 3:
|
|
2223
|
+
case "CHARGE_STATUS_CHARGE_ERROR":
|
|
2224
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR;
|
|
2225
|
+
case -1:
|
|
2226
|
+
case "UNRECOGNIZED":
|
|
2227
|
+
default:
|
|
2228
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED;
|
|
2229
|
+
}
|
|
2230
|
+
}
|
|
2231
|
+
function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
|
|
2232
|
+
switch (object) {
|
|
2233
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED:
|
|
2234
|
+
return "CHARGE_STATUS_UNSPECIFIED";
|
|
2235
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE:
|
|
2236
|
+
return "CHARGE_STATUS_DISCHARGE";
|
|
2237
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE:
|
|
2238
|
+
return "CHARGE_STATUS_CHARGE";
|
|
2239
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR:
|
|
2240
|
+
return "CHARGE_STATUS_CHARGE_ERROR";
|
|
2241
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED:
|
|
2242
|
+
default:
|
|
2243
|
+
return "UNRECOGNIZED";
|
|
2244
|
+
}
|
|
2245
|
+
}
|
|
2018
2246
|
function createBaseBinlogRecord() {
|
|
2019
2247
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2020
2248
|
}
|
|
@@ -2100,6 +2328,149 @@ exports.BinlogRecord = {
|
|
|
2100
2328
|
return message;
|
|
2101
2329
|
},
|
|
2102
2330
|
};
|
|
2331
|
+
function createBaseLogEntry() {
|
|
2332
|
+
return { timestamp: undefined, processName: "", processId: 0, threadId: 0, source: "", level: 0, message: "" };
|
|
2333
|
+
}
|
|
2334
|
+
exports.LogEntry = {
|
|
2335
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2336
|
+
if (message.timestamp !== undefined) {
|
|
2337
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(10).fork()).join();
|
|
2338
|
+
}
|
|
2339
|
+
if (message.processName !== "") {
|
|
2340
|
+
writer.uint32(18).string(message.processName);
|
|
2341
|
+
}
|
|
2342
|
+
if (message.processId !== 0) {
|
|
2343
|
+
writer.uint32(24).uint64(message.processId);
|
|
2344
|
+
}
|
|
2345
|
+
if (message.threadId !== 0) {
|
|
2346
|
+
writer.uint32(32).uint64(message.threadId);
|
|
2347
|
+
}
|
|
2348
|
+
if (message.source !== "") {
|
|
2349
|
+
writer.uint32(42).string(message.source);
|
|
2350
|
+
}
|
|
2351
|
+
if (message.level !== 0) {
|
|
2352
|
+
writer.uint32(48).int32(message.level);
|
|
2353
|
+
}
|
|
2354
|
+
if (message.message !== "") {
|
|
2355
|
+
writer.uint32(58).string(message.message);
|
|
2356
|
+
}
|
|
2357
|
+
return writer;
|
|
2358
|
+
},
|
|
2359
|
+
decode(input, length) {
|
|
2360
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2361
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2362
|
+
const message = createBaseLogEntry();
|
|
2363
|
+
while (reader.pos < end) {
|
|
2364
|
+
const tag = reader.uint32();
|
|
2365
|
+
switch (tag >>> 3) {
|
|
2366
|
+
case 1: {
|
|
2367
|
+
if (tag !== 10) {
|
|
2368
|
+
break;
|
|
2369
|
+
}
|
|
2370
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2371
|
+
continue;
|
|
2372
|
+
}
|
|
2373
|
+
case 2: {
|
|
2374
|
+
if (tag !== 18) {
|
|
2375
|
+
break;
|
|
2376
|
+
}
|
|
2377
|
+
message.processName = reader.string();
|
|
2378
|
+
continue;
|
|
2379
|
+
}
|
|
2380
|
+
case 3: {
|
|
2381
|
+
if (tag !== 24) {
|
|
2382
|
+
break;
|
|
2383
|
+
}
|
|
2384
|
+
message.processId = longToNumber(reader.uint64());
|
|
2385
|
+
continue;
|
|
2386
|
+
}
|
|
2387
|
+
case 4: {
|
|
2388
|
+
if (tag !== 32) {
|
|
2389
|
+
break;
|
|
2390
|
+
}
|
|
2391
|
+
message.threadId = longToNumber(reader.uint64());
|
|
2392
|
+
continue;
|
|
2393
|
+
}
|
|
2394
|
+
case 5: {
|
|
2395
|
+
if (tag !== 42) {
|
|
2396
|
+
break;
|
|
2397
|
+
}
|
|
2398
|
+
message.source = reader.string();
|
|
2399
|
+
continue;
|
|
2400
|
+
}
|
|
2401
|
+
case 6: {
|
|
2402
|
+
if (tag !== 48) {
|
|
2403
|
+
break;
|
|
2404
|
+
}
|
|
2405
|
+
message.level = reader.int32();
|
|
2406
|
+
continue;
|
|
2407
|
+
}
|
|
2408
|
+
case 7: {
|
|
2409
|
+
if (tag !== 58) {
|
|
2410
|
+
break;
|
|
2411
|
+
}
|
|
2412
|
+
message.message = reader.string();
|
|
2413
|
+
continue;
|
|
2414
|
+
}
|
|
2415
|
+
}
|
|
2416
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2417
|
+
break;
|
|
2418
|
+
}
|
|
2419
|
+
reader.skip(tag & 7);
|
|
2420
|
+
}
|
|
2421
|
+
return message;
|
|
2422
|
+
},
|
|
2423
|
+
fromJSON(object) {
|
|
2424
|
+
return {
|
|
2425
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2426
|
+
processName: isSet(object.processName) ? gt.String(object.processName) : "",
|
|
2427
|
+
processId: isSet(object.processId) ? gt.Number(object.processId) : 0,
|
|
2428
|
+
threadId: isSet(object.threadId) ? gt.Number(object.threadId) : 0,
|
|
2429
|
+
source: isSet(object.source) ? gt.String(object.source) : "",
|
|
2430
|
+
level: isSet(object.level) ? logEntry_LogLevelFromJSON(object.level) : 0,
|
|
2431
|
+
message: isSet(object.message) ? gt.String(object.message) : "",
|
|
2432
|
+
};
|
|
2433
|
+
},
|
|
2434
|
+
toJSON(message) {
|
|
2435
|
+
const obj = {};
|
|
2436
|
+
if (message.timestamp !== undefined) {
|
|
2437
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2438
|
+
}
|
|
2439
|
+
if (message.processName !== "") {
|
|
2440
|
+
obj.processName = message.processName;
|
|
2441
|
+
}
|
|
2442
|
+
if (message.processId !== 0) {
|
|
2443
|
+
obj.processId = Math.round(message.processId);
|
|
2444
|
+
}
|
|
2445
|
+
if (message.threadId !== 0) {
|
|
2446
|
+
obj.threadId = Math.round(message.threadId);
|
|
2447
|
+
}
|
|
2448
|
+
if (message.source !== "") {
|
|
2449
|
+
obj.source = message.source;
|
|
2450
|
+
}
|
|
2451
|
+
if (message.level !== 0) {
|
|
2452
|
+
obj.level = logEntry_LogLevelToJSON(message.level);
|
|
2453
|
+
}
|
|
2454
|
+
if (message.message !== "") {
|
|
2455
|
+
obj.message = message.message;
|
|
2456
|
+
}
|
|
2457
|
+
return obj;
|
|
2458
|
+
},
|
|
2459
|
+
create(base) {
|
|
2460
|
+
return exports.LogEntry.fromPartial(base ?? {});
|
|
2461
|
+
},
|
|
2462
|
+
fromPartial(object) {
|
|
2463
|
+
const message = createBaseLogEntry();
|
|
2464
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2465
|
+
message.processName = object.processName ?? "";
|
|
2466
|
+
message.processId = object.processId ?? 0;
|
|
2467
|
+
message.threadId = object.threadId ?? 0;
|
|
2468
|
+
message.source = object.source ?? "";
|
|
2469
|
+
message.level = object.level ?? 0;
|
|
2470
|
+
message.message = object.message ?? "";
|
|
2471
|
+
return message;
|
|
2472
|
+
},
|
|
2473
|
+
};
|
|
2103
2474
|
function createBaseMotionInput() {
|
|
2104
2475
|
return { surge: 0, sway: 0, heave: 0, roll: 0, pitch: 0, yaw: 0, slow: 0, boost: 0 };
|
|
2105
2476
|
}
|
|
@@ -7456,107 +7827,58 @@ exports.StorageSpace = {
|
|
|
7456
7827
|
return message;
|
|
7457
7828
|
},
|
|
7458
7829
|
};
|
|
7459
|
-
function
|
|
7460
|
-
return {
|
|
7461
|
-
status: 0,
|
|
7462
|
-
progressXPositive: 0,
|
|
7463
|
-
progressXNegative: 0,
|
|
7464
|
-
progressYPositive: 0,
|
|
7465
|
-
progressYNegative: 0,
|
|
7466
|
-
progressZPositive: 0,
|
|
7467
|
-
progressZNegative: 0,
|
|
7468
|
-
progressThruster: 0,
|
|
7469
|
-
};
|
|
7830
|
+
function createBaseStoragePartition() {
|
|
7831
|
+
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "" };
|
|
7470
7832
|
}
|
|
7471
|
-
exports.
|
|
7833
|
+
exports.StoragePartition = {
|
|
7472
7834
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
7473
|
-
if (message.
|
|
7474
|
-
writer.uint32(
|
|
7475
|
-
}
|
|
7476
|
-
if (message.progressXPositive !== 0) {
|
|
7477
|
-
writer.uint32(21).float(message.progressXPositive);
|
|
7478
|
-
}
|
|
7479
|
-
if (message.progressXNegative !== 0) {
|
|
7480
|
-
writer.uint32(29).float(message.progressXNegative);
|
|
7481
|
-
}
|
|
7482
|
-
if (message.progressYPositive !== 0) {
|
|
7483
|
-
writer.uint32(37).float(message.progressYPositive);
|
|
7484
|
-
}
|
|
7485
|
-
if (message.progressYNegative !== 0) {
|
|
7486
|
-
writer.uint32(45).float(message.progressYNegative);
|
|
7835
|
+
if (message.storageSpace !== undefined) {
|
|
7836
|
+
exports.StorageSpace.encode(message.storageSpace, writer.uint32(10).fork()).join();
|
|
7487
7837
|
}
|
|
7488
|
-
if (message.
|
|
7489
|
-
writer.uint32(
|
|
7838
|
+
if (message.fileSystemType !== "") {
|
|
7839
|
+
writer.uint32(18).string(message.fileSystemType);
|
|
7490
7840
|
}
|
|
7491
|
-
if (message.
|
|
7492
|
-
writer.uint32(
|
|
7841
|
+
if (message.devicePath !== "") {
|
|
7842
|
+
writer.uint32(26).string(message.devicePath);
|
|
7493
7843
|
}
|
|
7494
|
-
if (message.
|
|
7495
|
-
writer.uint32(
|
|
7844
|
+
if (message.mountPath !== "") {
|
|
7845
|
+
writer.uint32(34).string(message.mountPath);
|
|
7496
7846
|
}
|
|
7497
7847
|
return writer;
|
|
7498
7848
|
},
|
|
7499
7849
|
decode(input, length) {
|
|
7500
7850
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
7501
7851
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
7502
|
-
const message =
|
|
7852
|
+
const message = createBaseStoragePartition();
|
|
7503
7853
|
while (reader.pos < end) {
|
|
7504
7854
|
const tag = reader.uint32();
|
|
7505
7855
|
switch (tag >>> 3) {
|
|
7506
7856
|
case 1: {
|
|
7507
|
-
if (tag !==
|
|
7857
|
+
if (tag !== 10) {
|
|
7508
7858
|
break;
|
|
7509
7859
|
}
|
|
7510
|
-
message.
|
|
7860
|
+
message.storageSpace = exports.StorageSpace.decode(reader, reader.uint32());
|
|
7511
7861
|
continue;
|
|
7512
7862
|
}
|
|
7513
7863
|
case 2: {
|
|
7514
|
-
if (tag !==
|
|
7864
|
+
if (tag !== 18) {
|
|
7515
7865
|
break;
|
|
7516
7866
|
}
|
|
7517
|
-
message.
|
|
7867
|
+
message.fileSystemType = reader.string();
|
|
7518
7868
|
continue;
|
|
7519
7869
|
}
|
|
7520
7870
|
case 3: {
|
|
7521
|
-
if (tag !==
|
|
7871
|
+
if (tag !== 26) {
|
|
7522
7872
|
break;
|
|
7523
7873
|
}
|
|
7524
|
-
message.
|
|
7874
|
+
message.devicePath = reader.string();
|
|
7525
7875
|
continue;
|
|
7526
7876
|
}
|
|
7527
7877
|
case 4: {
|
|
7528
|
-
if (tag !==
|
|
7529
|
-
break;
|
|
7530
|
-
}
|
|
7531
|
-
message.progressYPositive = reader.float();
|
|
7532
|
-
continue;
|
|
7533
|
-
}
|
|
7534
|
-
case 5: {
|
|
7535
|
-
if (tag !== 45) {
|
|
7536
|
-
break;
|
|
7537
|
-
}
|
|
7538
|
-
message.progressYNegative = reader.float();
|
|
7539
|
-
continue;
|
|
7540
|
-
}
|
|
7541
|
-
case 6: {
|
|
7542
|
-
if (tag !== 53) {
|
|
7543
|
-
break;
|
|
7544
|
-
}
|
|
7545
|
-
message.progressZPositive = reader.float();
|
|
7546
|
-
continue;
|
|
7547
|
-
}
|
|
7548
|
-
case 7: {
|
|
7549
|
-
if (tag !== 61) {
|
|
7550
|
-
break;
|
|
7551
|
-
}
|
|
7552
|
-
message.progressZNegative = reader.float();
|
|
7553
|
-
continue;
|
|
7554
|
-
}
|
|
7555
|
-
case 8: {
|
|
7556
|
-
if (tag !== 69) {
|
|
7878
|
+
if (tag !== 34) {
|
|
7557
7879
|
break;
|
|
7558
7880
|
}
|
|
7559
|
-
message.
|
|
7881
|
+
message.mountPath = reader.string();
|
|
7560
7882
|
continue;
|
|
7561
7883
|
}
|
|
7562
7884
|
}
|
|
@@ -7569,13 +7891,431 @@ exports.CalibrationState = {
|
|
|
7569
7891
|
},
|
|
7570
7892
|
fromJSON(object) {
|
|
7571
7893
|
return {
|
|
7572
|
-
|
|
7573
|
-
|
|
7574
|
-
|
|
7575
|
-
|
|
7576
|
-
|
|
7577
|
-
|
|
7578
|
-
|
|
7894
|
+
storageSpace: isSet(object.storageSpace) ? exports.StorageSpace.fromJSON(object.storageSpace) : undefined,
|
|
7895
|
+
fileSystemType: isSet(object.fileSystemType) ? gt.String(object.fileSystemType) : "",
|
|
7896
|
+
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
7897
|
+
mountPath: isSet(object.mountPath) ? gt.String(object.mountPath) : "",
|
|
7898
|
+
};
|
|
7899
|
+
},
|
|
7900
|
+
toJSON(message) {
|
|
7901
|
+
const obj = {};
|
|
7902
|
+
if (message.storageSpace !== undefined) {
|
|
7903
|
+
obj.storageSpace = exports.StorageSpace.toJSON(message.storageSpace);
|
|
7904
|
+
}
|
|
7905
|
+
if (message.fileSystemType !== "") {
|
|
7906
|
+
obj.fileSystemType = message.fileSystemType;
|
|
7907
|
+
}
|
|
7908
|
+
if (message.devicePath !== "") {
|
|
7909
|
+
obj.devicePath = message.devicePath;
|
|
7910
|
+
}
|
|
7911
|
+
if (message.mountPath !== "") {
|
|
7912
|
+
obj.mountPath = message.mountPath;
|
|
7913
|
+
}
|
|
7914
|
+
return obj;
|
|
7915
|
+
},
|
|
7916
|
+
create(base) {
|
|
7917
|
+
return exports.StoragePartition.fromPartial(base ?? {});
|
|
7918
|
+
},
|
|
7919
|
+
fromPartial(object) {
|
|
7920
|
+
const message = createBaseStoragePartition();
|
|
7921
|
+
message.storageSpace = (object.storageSpace !== undefined && object.storageSpace !== null)
|
|
7922
|
+
? exports.StorageSpace.fromPartial(object.storageSpace)
|
|
7923
|
+
: undefined;
|
|
7924
|
+
message.fileSystemType = object.fileSystemType ?? "";
|
|
7925
|
+
message.devicePath = object.devicePath ?? "";
|
|
7926
|
+
message.mountPath = object.mountPath ?? "";
|
|
7927
|
+
return message;
|
|
7928
|
+
},
|
|
7929
|
+
};
|
|
7930
|
+
function createBaseRemovableStorageDevice() {
|
|
7931
|
+
return { vendorName: "", modelName: "", devicePath: "", status: 0, errorFlags: undefined, partitions: [] };
|
|
7932
|
+
}
|
|
7933
|
+
exports.RemovableStorageDevice = {
|
|
7934
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
7935
|
+
if (message.vendorName !== "") {
|
|
7936
|
+
writer.uint32(10).string(message.vendorName);
|
|
7937
|
+
}
|
|
7938
|
+
if (message.modelName !== "") {
|
|
7939
|
+
writer.uint32(18).string(message.modelName);
|
|
7940
|
+
}
|
|
7941
|
+
if (message.devicePath !== "") {
|
|
7942
|
+
writer.uint32(26).string(message.devicePath);
|
|
7943
|
+
}
|
|
7944
|
+
if (message.status !== 0) {
|
|
7945
|
+
writer.uint32(32).int32(message.status);
|
|
7946
|
+
}
|
|
7947
|
+
if (message.errorFlags !== undefined) {
|
|
7948
|
+
exports.RemovableStorageErrorFlags.encode(message.errorFlags, writer.uint32(42).fork()).join();
|
|
7949
|
+
}
|
|
7950
|
+
for (const v of message.partitions) {
|
|
7951
|
+
exports.StoragePartition.encode(v, writer.uint32(50).fork()).join();
|
|
7952
|
+
}
|
|
7953
|
+
return writer;
|
|
7954
|
+
},
|
|
7955
|
+
decode(input, length) {
|
|
7956
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
7957
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
7958
|
+
const message = createBaseRemovableStorageDevice();
|
|
7959
|
+
while (reader.pos < end) {
|
|
7960
|
+
const tag = reader.uint32();
|
|
7961
|
+
switch (tag >>> 3) {
|
|
7962
|
+
case 1: {
|
|
7963
|
+
if (tag !== 10) {
|
|
7964
|
+
break;
|
|
7965
|
+
}
|
|
7966
|
+
message.vendorName = reader.string();
|
|
7967
|
+
continue;
|
|
7968
|
+
}
|
|
7969
|
+
case 2: {
|
|
7970
|
+
if (tag !== 18) {
|
|
7971
|
+
break;
|
|
7972
|
+
}
|
|
7973
|
+
message.modelName = reader.string();
|
|
7974
|
+
continue;
|
|
7975
|
+
}
|
|
7976
|
+
case 3: {
|
|
7977
|
+
if (tag !== 26) {
|
|
7978
|
+
break;
|
|
7979
|
+
}
|
|
7980
|
+
message.devicePath = reader.string();
|
|
7981
|
+
continue;
|
|
7982
|
+
}
|
|
7983
|
+
case 4: {
|
|
7984
|
+
if (tag !== 32) {
|
|
7985
|
+
break;
|
|
7986
|
+
}
|
|
7987
|
+
message.status = reader.int32();
|
|
7988
|
+
continue;
|
|
7989
|
+
}
|
|
7990
|
+
case 5: {
|
|
7991
|
+
if (tag !== 42) {
|
|
7992
|
+
break;
|
|
7993
|
+
}
|
|
7994
|
+
message.errorFlags = exports.RemovableStorageErrorFlags.decode(reader, reader.uint32());
|
|
7995
|
+
continue;
|
|
7996
|
+
}
|
|
7997
|
+
case 6: {
|
|
7998
|
+
if (tag !== 50) {
|
|
7999
|
+
break;
|
|
8000
|
+
}
|
|
8001
|
+
message.partitions.push(exports.StoragePartition.decode(reader, reader.uint32()));
|
|
8002
|
+
continue;
|
|
8003
|
+
}
|
|
8004
|
+
}
|
|
8005
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8006
|
+
break;
|
|
8007
|
+
}
|
|
8008
|
+
reader.skip(tag & 7);
|
|
8009
|
+
}
|
|
8010
|
+
return message;
|
|
8011
|
+
},
|
|
8012
|
+
fromJSON(object) {
|
|
8013
|
+
return {
|
|
8014
|
+
vendorName: isSet(object.vendorName) ? gt.String(object.vendorName) : "",
|
|
8015
|
+
modelName: isSet(object.modelName) ? gt.String(object.modelName) : "",
|
|
8016
|
+
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
8017
|
+
status: isSet(object.status) ? removableStorageDevice_StatusFromJSON(object.status) : 0,
|
|
8018
|
+
errorFlags: isSet(object.errorFlags) ? exports.RemovableStorageErrorFlags.fromJSON(object.errorFlags) : undefined,
|
|
8019
|
+
partitions: gt.Array.isArray(object?.partitions)
|
|
8020
|
+
? object.partitions.map((e) => exports.StoragePartition.fromJSON(e))
|
|
8021
|
+
: [],
|
|
8022
|
+
};
|
|
8023
|
+
},
|
|
8024
|
+
toJSON(message) {
|
|
8025
|
+
const obj = {};
|
|
8026
|
+
if (message.vendorName !== "") {
|
|
8027
|
+
obj.vendorName = message.vendorName;
|
|
8028
|
+
}
|
|
8029
|
+
if (message.modelName !== "") {
|
|
8030
|
+
obj.modelName = message.modelName;
|
|
8031
|
+
}
|
|
8032
|
+
if (message.devicePath !== "") {
|
|
8033
|
+
obj.devicePath = message.devicePath;
|
|
8034
|
+
}
|
|
8035
|
+
if (message.status !== 0) {
|
|
8036
|
+
obj.status = removableStorageDevice_StatusToJSON(message.status);
|
|
8037
|
+
}
|
|
8038
|
+
if (message.errorFlags !== undefined) {
|
|
8039
|
+
obj.errorFlags = exports.RemovableStorageErrorFlags.toJSON(message.errorFlags);
|
|
8040
|
+
}
|
|
8041
|
+
if (message.partitions?.length) {
|
|
8042
|
+
obj.partitions = message.partitions.map((e) => exports.StoragePartition.toJSON(e));
|
|
8043
|
+
}
|
|
8044
|
+
return obj;
|
|
8045
|
+
},
|
|
8046
|
+
create(base) {
|
|
8047
|
+
return exports.RemovableStorageDevice.fromPartial(base ?? {});
|
|
8048
|
+
},
|
|
8049
|
+
fromPartial(object) {
|
|
8050
|
+
const message = createBaseRemovableStorageDevice();
|
|
8051
|
+
message.vendorName = object.vendorName ?? "";
|
|
8052
|
+
message.modelName = object.modelName ?? "";
|
|
8053
|
+
message.devicePath = object.devicePath ?? "";
|
|
8054
|
+
message.status = object.status ?? 0;
|
|
8055
|
+
message.errorFlags = (object.errorFlags !== undefined && object.errorFlags !== null)
|
|
8056
|
+
? exports.RemovableStorageErrorFlags.fromPartial(object.errorFlags)
|
|
8057
|
+
: undefined;
|
|
8058
|
+
message.partitions = object.partitions?.map((e) => exports.StoragePartition.fromPartial(e)) || [];
|
|
8059
|
+
return message;
|
|
8060
|
+
},
|
|
8061
|
+
};
|
|
8062
|
+
function createBaseRemovableStorageErrorFlags() {
|
|
8063
|
+
return {
|
|
8064
|
+
errorMessage: "",
|
|
8065
|
+
noPartitionsFound: false,
|
|
8066
|
+
multiplePartitionsFound: false,
|
|
8067
|
+
wrongFileSystemFound: false,
|
|
8068
|
+
deviceIsReadOnly: false,
|
|
8069
|
+
formattingFailed: false,
|
|
8070
|
+
};
|
|
8071
|
+
}
|
|
8072
|
+
exports.RemovableStorageErrorFlags = {
|
|
8073
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
8074
|
+
if (message.errorMessage !== "") {
|
|
8075
|
+
writer.uint32(10).string(message.errorMessage);
|
|
8076
|
+
}
|
|
8077
|
+
if (message.noPartitionsFound !== false) {
|
|
8078
|
+
writer.uint32(16).bool(message.noPartitionsFound);
|
|
8079
|
+
}
|
|
8080
|
+
if (message.multiplePartitionsFound !== false) {
|
|
8081
|
+
writer.uint32(24).bool(message.multiplePartitionsFound);
|
|
8082
|
+
}
|
|
8083
|
+
if (message.wrongFileSystemFound !== false) {
|
|
8084
|
+
writer.uint32(32).bool(message.wrongFileSystemFound);
|
|
8085
|
+
}
|
|
8086
|
+
if (message.deviceIsReadOnly !== false) {
|
|
8087
|
+
writer.uint32(40).bool(message.deviceIsReadOnly);
|
|
8088
|
+
}
|
|
8089
|
+
if (message.formattingFailed !== false) {
|
|
8090
|
+
writer.uint32(48).bool(message.formattingFailed);
|
|
8091
|
+
}
|
|
8092
|
+
return writer;
|
|
8093
|
+
},
|
|
8094
|
+
decode(input, length) {
|
|
8095
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8096
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8097
|
+
const message = createBaseRemovableStorageErrorFlags();
|
|
8098
|
+
while (reader.pos < end) {
|
|
8099
|
+
const tag = reader.uint32();
|
|
8100
|
+
switch (tag >>> 3) {
|
|
8101
|
+
case 1: {
|
|
8102
|
+
if (tag !== 10) {
|
|
8103
|
+
break;
|
|
8104
|
+
}
|
|
8105
|
+
message.errorMessage = reader.string();
|
|
8106
|
+
continue;
|
|
8107
|
+
}
|
|
8108
|
+
case 2: {
|
|
8109
|
+
if (tag !== 16) {
|
|
8110
|
+
break;
|
|
8111
|
+
}
|
|
8112
|
+
message.noPartitionsFound = reader.bool();
|
|
8113
|
+
continue;
|
|
8114
|
+
}
|
|
8115
|
+
case 3: {
|
|
8116
|
+
if (tag !== 24) {
|
|
8117
|
+
break;
|
|
8118
|
+
}
|
|
8119
|
+
message.multiplePartitionsFound = reader.bool();
|
|
8120
|
+
continue;
|
|
8121
|
+
}
|
|
8122
|
+
case 4: {
|
|
8123
|
+
if (tag !== 32) {
|
|
8124
|
+
break;
|
|
8125
|
+
}
|
|
8126
|
+
message.wrongFileSystemFound = reader.bool();
|
|
8127
|
+
continue;
|
|
8128
|
+
}
|
|
8129
|
+
case 5: {
|
|
8130
|
+
if (tag !== 40) {
|
|
8131
|
+
break;
|
|
8132
|
+
}
|
|
8133
|
+
message.deviceIsReadOnly = reader.bool();
|
|
8134
|
+
continue;
|
|
8135
|
+
}
|
|
8136
|
+
case 6: {
|
|
8137
|
+
if (tag !== 48) {
|
|
8138
|
+
break;
|
|
8139
|
+
}
|
|
8140
|
+
message.formattingFailed = reader.bool();
|
|
8141
|
+
continue;
|
|
8142
|
+
}
|
|
8143
|
+
}
|
|
8144
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8145
|
+
break;
|
|
8146
|
+
}
|
|
8147
|
+
reader.skip(tag & 7);
|
|
8148
|
+
}
|
|
8149
|
+
return message;
|
|
8150
|
+
},
|
|
8151
|
+
fromJSON(object) {
|
|
8152
|
+
return {
|
|
8153
|
+
errorMessage: isSet(object.errorMessage) ? gt.String(object.errorMessage) : "",
|
|
8154
|
+
noPartitionsFound: isSet(object.noPartitionsFound) ? gt.Boolean(object.noPartitionsFound) : false,
|
|
8155
|
+
multiplePartitionsFound: isSet(object.multiplePartitionsFound)
|
|
8156
|
+
? gt.Boolean(object.multiplePartitionsFound)
|
|
8157
|
+
: false,
|
|
8158
|
+
wrongFileSystemFound: isSet(object.wrongFileSystemFound) ? gt.Boolean(object.wrongFileSystemFound) : false,
|
|
8159
|
+
deviceIsReadOnly: isSet(object.deviceIsReadOnly) ? gt.Boolean(object.deviceIsReadOnly) : false,
|
|
8160
|
+
formattingFailed: isSet(object.formattingFailed) ? gt.Boolean(object.formattingFailed) : false,
|
|
8161
|
+
};
|
|
8162
|
+
},
|
|
8163
|
+
toJSON(message) {
|
|
8164
|
+
const obj = {};
|
|
8165
|
+
if (message.errorMessage !== "") {
|
|
8166
|
+
obj.errorMessage = message.errorMessage;
|
|
8167
|
+
}
|
|
8168
|
+
if (message.noPartitionsFound !== false) {
|
|
8169
|
+
obj.noPartitionsFound = message.noPartitionsFound;
|
|
8170
|
+
}
|
|
8171
|
+
if (message.multiplePartitionsFound !== false) {
|
|
8172
|
+
obj.multiplePartitionsFound = message.multiplePartitionsFound;
|
|
8173
|
+
}
|
|
8174
|
+
if (message.wrongFileSystemFound !== false) {
|
|
8175
|
+
obj.wrongFileSystemFound = message.wrongFileSystemFound;
|
|
8176
|
+
}
|
|
8177
|
+
if (message.deviceIsReadOnly !== false) {
|
|
8178
|
+
obj.deviceIsReadOnly = message.deviceIsReadOnly;
|
|
8179
|
+
}
|
|
8180
|
+
if (message.formattingFailed !== false) {
|
|
8181
|
+
obj.formattingFailed = message.formattingFailed;
|
|
8182
|
+
}
|
|
8183
|
+
return obj;
|
|
8184
|
+
},
|
|
8185
|
+
create(base) {
|
|
8186
|
+
return exports.RemovableStorageErrorFlags.fromPartial(base ?? {});
|
|
8187
|
+
},
|
|
8188
|
+
fromPartial(object) {
|
|
8189
|
+
const message = createBaseRemovableStorageErrorFlags();
|
|
8190
|
+
message.errorMessage = object.errorMessage ?? "";
|
|
8191
|
+
message.noPartitionsFound = object.noPartitionsFound ?? false;
|
|
8192
|
+
message.multiplePartitionsFound = object.multiplePartitionsFound ?? false;
|
|
8193
|
+
message.wrongFileSystemFound = object.wrongFileSystemFound ?? false;
|
|
8194
|
+
message.deviceIsReadOnly = object.deviceIsReadOnly ?? false;
|
|
8195
|
+
message.formattingFailed = object.formattingFailed ?? false;
|
|
8196
|
+
return message;
|
|
8197
|
+
},
|
|
8198
|
+
};
|
|
8199
|
+
function createBaseCalibrationState() {
|
|
8200
|
+
return {
|
|
8201
|
+
status: 0,
|
|
8202
|
+
progressXPositive: 0,
|
|
8203
|
+
progressXNegative: 0,
|
|
8204
|
+
progressYPositive: 0,
|
|
8205
|
+
progressYNegative: 0,
|
|
8206
|
+
progressZPositive: 0,
|
|
8207
|
+
progressZNegative: 0,
|
|
8208
|
+
progressThruster: 0,
|
|
8209
|
+
};
|
|
8210
|
+
}
|
|
8211
|
+
exports.CalibrationState = {
|
|
8212
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
8213
|
+
if (message.status !== 0) {
|
|
8214
|
+
writer.uint32(8).int32(message.status);
|
|
8215
|
+
}
|
|
8216
|
+
if (message.progressXPositive !== 0) {
|
|
8217
|
+
writer.uint32(21).float(message.progressXPositive);
|
|
8218
|
+
}
|
|
8219
|
+
if (message.progressXNegative !== 0) {
|
|
8220
|
+
writer.uint32(29).float(message.progressXNegative);
|
|
8221
|
+
}
|
|
8222
|
+
if (message.progressYPositive !== 0) {
|
|
8223
|
+
writer.uint32(37).float(message.progressYPositive);
|
|
8224
|
+
}
|
|
8225
|
+
if (message.progressYNegative !== 0) {
|
|
8226
|
+
writer.uint32(45).float(message.progressYNegative);
|
|
8227
|
+
}
|
|
8228
|
+
if (message.progressZPositive !== 0) {
|
|
8229
|
+
writer.uint32(53).float(message.progressZPositive);
|
|
8230
|
+
}
|
|
8231
|
+
if (message.progressZNegative !== 0) {
|
|
8232
|
+
writer.uint32(61).float(message.progressZNegative);
|
|
8233
|
+
}
|
|
8234
|
+
if (message.progressThruster !== 0) {
|
|
8235
|
+
writer.uint32(69).float(message.progressThruster);
|
|
8236
|
+
}
|
|
8237
|
+
return writer;
|
|
8238
|
+
},
|
|
8239
|
+
decode(input, length) {
|
|
8240
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8241
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8242
|
+
const message = createBaseCalibrationState();
|
|
8243
|
+
while (reader.pos < end) {
|
|
8244
|
+
const tag = reader.uint32();
|
|
8245
|
+
switch (tag >>> 3) {
|
|
8246
|
+
case 1: {
|
|
8247
|
+
if (tag !== 8) {
|
|
8248
|
+
break;
|
|
8249
|
+
}
|
|
8250
|
+
message.status = reader.int32();
|
|
8251
|
+
continue;
|
|
8252
|
+
}
|
|
8253
|
+
case 2: {
|
|
8254
|
+
if (tag !== 21) {
|
|
8255
|
+
break;
|
|
8256
|
+
}
|
|
8257
|
+
message.progressXPositive = reader.float();
|
|
8258
|
+
continue;
|
|
8259
|
+
}
|
|
8260
|
+
case 3: {
|
|
8261
|
+
if (tag !== 29) {
|
|
8262
|
+
break;
|
|
8263
|
+
}
|
|
8264
|
+
message.progressXNegative = reader.float();
|
|
8265
|
+
continue;
|
|
8266
|
+
}
|
|
8267
|
+
case 4: {
|
|
8268
|
+
if (tag !== 37) {
|
|
8269
|
+
break;
|
|
8270
|
+
}
|
|
8271
|
+
message.progressYPositive = reader.float();
|
|
8272
|
+
continue;
|
|
8273
|
+
}
|
|
8274
|
+
case 5: {
|
|
8275
|
+
if (tag !== 45) {
|
|
8276
|
+
break;
|
|
8277
|
+
}
|
|
8278
|
+
message.progressYNegative = reader.float();
|
|
8279
|
+
continue;
|
|
8280
|
+
}
|
|
8281
|
+
case 6: {
|
|
8282
|
+
if (tag !== 53) {
|
|
8283
|
+
break;
|
|
8284
|
+
}
|
|
8285
|
+
message.progressZPositive = reader.float();
|
|
8286
|
+
continue;
|
|
8287
|
+
}
|
|
8288
|
+
case 7: {
|
|
8289
|
+
if (tag !== 61) {
|
|
8290
|
+
break;
|
|
8291
|
+
}
|
|
8292
|
+
message.progressZNegative = reader.float();
|
|
8293
|
+
continue;
|
|
8294
|
+
}
|
|
8295
|
+
case 8: {
|
|
8296
|
+
if (tag !== 69) {
|
|
8297
|
+
break;
|
|
8298
|
+
}
|
|
8299
|
+
message.progressThruster = reader.float();
|
|
8300
|
+
continue;
|
|
8301
|
+
}
|
|
8302
|
+
}
|
|
8303
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
8304
|
+
break;
|
|
8305
|
+
}
|
|
8306
|
+
reader.skip(tag & 7);
|
|
8307
|
+
}
|
|
8308
|
+
return message;
|
|
8309
|
+
},
|
|
8310
|
+
fromJSON(object) {
|
|
8311
|
+
return {
|
|
8312
|
+
status: isSet(object.status) ? calibrationState_StatusFromJSON(object.status) : 0,
|
|
8313
|
+
progressXPositive: isSet(object.progressXPositive) ? gt.Number(object.progressXPositive) : 0,
|
|
8314
|
+
progressXNegative: isSet(object.progressXNegative) ? gt.Number(object.progressXNegative) : 0,
|
|
8315
|
+
progressYPositive: isSet(object.progressYPositive) ? gt.Number(object.progressYPositive) : 0,
|
|
8316
|
+
progressYNegative: isSet(object.progressYNegative) ? gt.Number(object.progressYNegative) : 0,
|
|
8317
|
+
progressZPositive: isSet(object.progressZPositive) ? gt.Number(object.progressZPositive) : 0,
|
|
8318
|
+
progressZNegative: isSet(object.progressZNegative) ? gt.Number(object.progressZNegative) : 0,
|
|
7579
8319
|
progressThruster: isSet(object.progressThruster) ? gt.Number(object.progressThruster) : 0,
|
|
7580
8320
|
};
|
|
7581
8321
|
},
|
|
@@ -8881,11 +9621,20 @@ function createBaseCameraParameters() {
|
|
|
8881
9621
|
whiteBalance: 0,
|
|
8882
9622
|
hue: 0,
|
|
8883
9623
|
gain: 0,
|
|
9624
|
+
brightness: 0,
|
|
9625
|
+
contrast: 0,
|
|
9626
|
+
saturation: 0,
|
|
9627
|
+
gamma: 0,
|
|
9628
|
+
sharpness: 0,
|
|
9629
|
+
backlightCompensation: 0,
|
|
9630
|
+
denoise: 0,
|
|
8884
9631
|
resolution: 0,
|
|
8885
9632
|
streamResolution: 0,
|
|
8886
9633
|
recordingResolution: 0,
|
|
9634
|
+
streamingProtocol: 0,
|
|
8887
9635
|
framerate: 0,
|
|
8888
9636
|
camera: 0,
|
|
9637
|
+
fixedFramerate: false,
|
|
8889
9638
|
};
|
|
8890
9639
|
}
|
|
8891
9640
|
exports.CameraParameters = {
|
|
@@ -8908,6 +9657,27 @@ exports.CameraParameters = {
|
|
|
8908
9657
|
if (message.gain !== 0) {
|
|
8909
9658
|
writer.uint32(77).float(message.gain);
|
|
8910
9659
|
}
|
|
9660
|
+
if (message.brightness !== 0) {
|
|
9661
|
+
writer.uint32(96).int32(message.brightness);
|
|
9662
|
+
}
|
|
9663
|
+
if (message.contrast !== 0) {
|
|
9664
|
+
writer.uint32(104).int32(message.contrast);
|
|
9665
|
+
}
|
|
9666
|
+
if (message.saturation !== 0) {
|
|
9667
|
+
writer.uint32(112).int32(message.saturation);
|
|
9668
|
+
}
|
|
9669
|
+
if (message.gamma !== 0) {
|
|
9670
|
+
writer.uint32(120).int32(message.gamma);
|
|
9671
|
+
}
|
|
9672
|
+
if (message.sharpness !== 0) {
|
|
9673
|
+
writer.uint32(128).int32(message.sharpness);
|
|
9674
|
+
}
|
|
9675
|
+
if (message.backlightCompensation !== 0) {
|
|
9676
|
+
writer.uint32(136).int32(message.backlightCompensation);
|
|
9677
|
+
}
|
|
9678
|
+
if (message.denoise !== 0) {
|
|
9679
|
+
writer.uint32(144).int32(message.denoise);
|
|
9680
|
+
}
|
|
8911
9681
|
if (message.resolution !== 0) {
|
|
8912
9682
|
writer.uint32(48).int32(message.resolution);
|
|
8913
9683
|
}
|
|
@@ -8917,12 +9687,18 @@ exports.CameraParameters = {
|
|
|
8917
9687
|
if (message.recordingResolution !== 0) {
|
|
8918
9688
|
writer.uint32(88).int32(message.recordingResolution);
|
|
8919
9689
|
}
|
|
9690
|
+
if (message.streamingProtocol !== 0) {
|
|
9691
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
9692
|
+
}
|
|
8920
9693
|
if (message.framerate !== 0) {
|
|
8921
9694
|
writer.uint32(56).int32(message.framerate);
|
|
8922
9695
|
}
|
|
8923
9696
|
if (message.camera !== 0) {
|
|
8924
9697
|
writer.uint32(64).int32(message.camera);
|
|
8925
9698
|
}
|
|
9699
|
+
if (message.fixedFramerate !== false) {
|
|
9700
|
+
writer.uint32(152).bool(message.fixedFramerate);
|
|
9701
|
+
}
|
|
8926
9702
|
return writer;
|
|
8927
9703
|
},
|
|
8928
9704
|
decode(input, length) {
|
|
@@ -8974,6 +9750,55 @@ exports.CameraParameters = {
|
|
|
8974
9750
|
message.gain = reader.float();
|
|
8975
9751
|
continue;
|
|
8976
9752
|
}
|
|
9753
|
+
case 12: {
|
|
9754
|
+
if (tag !== 96) {
|
|
9755
|
+
break;
|
|
9756
|
+
}
|
|
9757
|
+
message.brightness = reader.int32();
|
|
9758
|
+
continue;
|
|
9759
|
+
}
|
|
9760
|
+
case 13: {
|
|
9761
|
+
if (tag !== 104) {
|
|
9762
|
+
break;
|
|
9763
|
+
}
|
|
9764
|
+
message.contrast = reader.int32();
|
|
9765
|
+
continue;
|
|
9766
|
+
}
|
|
9767
|
+
case 14: {
|
|
9768
|
+
if (tag !== 112) {
|
|
9769
|
+
break;
|
|
9770
|
+
}
|
|
9771
|
+
message.saturation = reader.int32();
|
|
9772
|
+
continue;
|
|
9773
|
+
}
|
|
9774
|
+
case 15: {
|
|
9775
|
+
if (tag !== 120) {
|
|
9776
|
+
break;
|
|
9777
|
+
}
|
|
9778
|
+
message.gamma = reader.int32();
|
|
9779
|
+
continue;
|
|
9780
|
+
}
|
|
9781
|
+
case 16: {
|
|
9782
|
+
if (tag !== 128) {
|
|
9783
|
+
break;
|
|
9784
|
+
}
|
|
9785
|
+
message.sharpness = reader.int32();
|
|
9786
|
+
continue;
|
|
9787
|
+
}
|
|
9788
|
+
case 17: {
|
|
9789
|
+
if (tag !== 136) {
|
|
9790
|
+
break;
|
|
9791
|
+
}
|
|
9792
|
+
message.backlightCompensation = reader.int32();
|
|
9793
|
+
continue;
|
|
9794
|
+
}
|
|
9795
|
+
case 18: {
|
|
9796
|
+
if (tag !== 144) {
|
|
9797
|
+
break;
|
|
9798
|
+
}
|
|
9799
|
+
message.denoise = reader.int32();
|
|
9800
|
+
continue;
|
|
9801
|
+
}
|
|
8977
9802
|
case 6: {
|
|
8978
9803
|
if (tag !== 48) {
|
|
8979
9804
|
break;
|
|
@@ -8995,6 +9820,13 @@ exports.CameraParameters = {
|
|
|
8995
9820
|
message.recordingResolution = reader.int32();
|
|
8996
9821
|
continue;
|
|
8997
9822
|
}
|
|
9823
|
+
case 20: {
|
|
9824
|
+
if (tag !== 160) {
|
|
9825
|
+
break;
|
|
9826
|
+
}
|
|
9827
|
+
message.streamingProtocol = reader.int32();
|
|
9828
|
+
continue;
|
|
9829
|
+
}
|
|
8998
9830
|
case 7: {
|
|
8999
9831
|
if (tag !== 56) {
|
|
9000
9832
|
break;
|
|
@@ -9009,6 +9841,13 @@ exports.CameraParameters = {
|
|
|
9009
9841
|
message.camera = reader.int32();
|
|
9010
9842
|
continue;
|
|
9011
9843
|
}
|
|
9844
|
+
case 19: {
|
|
9845
|
+
if (tag !== 152) {
|
|
9846
|
+
break;
|
|
9847
|
+
}
|
|
9848
|
+
message.fixedFramerate = reader.bool();
|
|
9849
|
+
continue;
|
|
9850
|
+
}
|
|
9012
9851
|
}
|
|
9013
9852
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9014
9853
|
break;
|
|
@@ -9025,11 +9864,20 @@ exports.CameraParameters = {
|
|
|
9025
9864
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9026
9865
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9027
9866
|
gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
|
|
9867
|
+
brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
|
|
9868
|
+
contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
|
|
9869
|
+
saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
|
|
9870
|
+
gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
|
|
9871
|
+
sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
|
|
9872
|
+
backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
|
|
9873
|
+
denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
|
|
9028
9874
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9029
9875
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9030
9876
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
9877
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9031
9878
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9032
9879
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
9880
|
+
fixedFramerate: isSet(object.fixedFramerate) ? gt.Boolean(object.fixedFramerate) : false,
|
|
9033
9881
|
};
|
|
9034
9882
|
},
|
|
9035
9883
|
toJSON(message) {
|
|
@@ -9052,6 +9900,27 @@ exports.CameraParameters = {
|
|
|
9052
9900
|
if (message.gain !== 0) {
|
|
9053
9901
|
obj.gain = message.gain;
|
|
9054
9902
|
}
|
|
9903
|
+
if (message.brightness !== 0) {
|
|
9904
|
+
obj.brightness = Math.round(message.brightness);
|
|
9905
|
+
}
|
|
9906
|
+
if (message.contrast !== 0) {
|
|
9907
|
+
obj.contrast = Math.round(message.contrast);
|
|
9908
|
+
}
|
|
9909
|
+
if (message.saturation !== 0) {
|
|
9910
|
+
obj.saturation = Math.round(message.saturation);
|
|
9911
|
+
}
|
|
9912
|
+
if (message.gamma !== 0) {
|
|
9913
|
+
obj.gamma = Math.round(message.gamma);
|
|
9914
|
+
}
|
|
9915
|
+
if (message.sharpness !== 0) {
|
|
9916
|
+
obj.sharpness = Math.round(message.sharpness);
|
|
9917
|
+
}
|
|
9918
|
+
if (message.backlightCompensation !== 0) {
|
|
9919
|
+
obj.backlightCompensation = Math.round(message.backlightCompensation);
|
|
9920
|
+
}
|
|
9921
|
+
if (message.denoise !== 0) {
|
|
9922
|
+
obj.denoise = Math.round(message.denoise);
|
|
9923
|
+
}
|
|
9055
9924
|
if (message.resolution !== 0) {
|
|
9056
9925
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9057
9926
|
}
|
|
@@ -9061,12 +9930,18 @@ exports.CameraParameters = {
|
|
|
9061
9930
|
if (message.recordingResolution !== 0) {
|
|
9062
9931
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9063
9932
|
}
|
|
9933
|
+
if (message.streamingProtocol !== 0) {
|
|
9934
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
9935
|
+
}
|
|
9064
9936
|
if (message.framerate !== 0) {
|
|
9065
9937
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9066
9938
|
}
|
|
9067
9939
|
if (message.camera !== 0) {
|
|
9068
9940
|
obj.camera = cameraToJSON(message.camera);
|
|
9069
9941
|
}
|
|
9942
|
+
if (message.fixedFramerate !== false) {
|
|
9943
|
+
obj.fixedFramerate = message.fixedFramerate;
|
|
9944
|
+
}
|
|
9070
9945
|
return obj;
|
|
9071
9946
|
},
|
|
9072
9947
|
create(base) {
|
|
@@ -9080,11 +9955,20 @@ exports.CameraParameters = {
|
|
|
9080
9955
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9081
9956
|
message.hue = object.hue ?? 0;
|
|
9082
9957
|
message.gain = object.gain ?? 0;
|
|
9958
|
+
message.brightness = object.brightness ?? 0;
|
|
9959
|
+
message.contrast = object.contrast ?? 0;
|
|
9960
|
+
message.saturation = object.saturation ?? 0;
|
|
9961
|
+
message.gamma = object.gamma ?? 0;
|
|
9962
|
+
message.sharpness = object.sharpness ?? 0;
|
|
9963
|
+
message.backlightCompensation = object.backlightCompensation ?? 0;
|
|
9964
|
+
message.denoise = object.denoise ?? 0;
|
|
9083
9965
|
message.resolution = object.resolution ?? 0;
|
|
9084
9966
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9085
9967
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
9968
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9086
9969
|
message.framerate = object.framerate ?? 0;
|
|
9087
9970
|
message.camera = object.camera ?? 0;
|
|
9971
|
+
message.fixedFramerate = object.fixedFramerate ?? false;
|
|
9088
9972
|
return message;
|
|
9089
9973
|
},
|
|
9090
9974
|
};
|
|
@@ -11828,7 +12712,7 @@ exports.PersistentStorageSettings = {
|
|
|
11828
12712
|
},
|
|
11829
12713
|
};
|
|
11830
12714
|
function createBaseCPUInfo() {
|
|
11831
|
-
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
|
|
12715
|
+
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
|
|
11832
12716
|
}
|
|
11833
12717
|
exports.CPUInfo = {
|
|
11834
12718
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -11844,6 +12728,9 @@ exports.CPUInfo = {
|
|
|
11844
12728
|
if (message.guestportQueueLoad !== 0) {
|
|
11845
12729
|
writer.uint32(37).float(message.guestportQueueLoad);
|
|
11846
12730
|
}
|
|
12731
|
+
if (message.commQueueLoad !== 0) {
|
|
12732
|
+
writer.uint32(45).float(message.commQueueLoad);
|
|
12733
|
+
}
|
|
11847
12734
|
return writer;
|
|
11848
12735
|
},
|
|
11849
12736
|
decode(input, length) {
|
|
@@ -11881,6 +12768,13 @@ exports.CPUInfo = {
|
|
|
11881
12768
|
message.guestportQueueLoad = reader.float();
|
|
11882
12769
|
continue;
|
|
11883
12770
|
}
|
|
12771
|
+
case 5: {
|
|
12772
|
+
if (tag !== 45) {
|
|
12773
|
+
break;
|
|
12774
|
+
}
|
|
12775
|
+
message.commQueueLoad = reader.float();
|
|
12776
|
+
continue;
|
|
12777
|
+
}
|
|
11884
12778
|
}
|
|
11885
12779
|
if ((tag & 7) === 4 || tag === 0) {
|
|
11886
12780
|
break;
|
|
@@ -11895,6 +12789,7 @@ exports.CPUInfo = {
|
|
|
11895
12789
|
memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
|
|
11896
12790
|
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
11897
12791
|
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
12792
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
11898
12793
|
};
|
|
11899
12794
|
},
|
|
11900
12795
|
toJSON(message) {
|
|
@@ -11911,6 +12806,9 @@ exports.CPUInfo = {
|
|
|
11911
12806
|
if (message.guestportQueueLoad !== 0) {
|
|
11912
12807
|
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
11913
12808
|
}
|
|
12809
|
+
if (message.commQueueLoad !== 0) {
|
|
12810
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
12811
|
+
}
|
|
11914
12812
|
return obj;
|
|
11915
12813
|
},
|
|
11916
12814
|
create(base) {
|
|
@@ -11922,6 +12820,126 @@ exports.CPUInfo = {
|
|
|
11922
12820
|
message.memoryBusLoad = object.memoryBusLoad ?? 0;
|
|
11923
12821
|
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
11924
12822
|
message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
|
|
12823
|
+
message.commQueueLoad = object.commQueueLoad ?? 0;
|
|
12824
|
+
return message;
|
|
12825
|
+
},
|
|
12826
|
+
};
|
|
12827
|
+
function createBaseSurfaceUnitBatteryInfo() {
|
|
12828
|
+
return { status: 0, level: 0 };
|
|
12829
|
+
}
|
|
12830
|
+
exports.SurfaceUnitBatteryInfo = {
|
|
12831
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
12832
|
+
if (message.status !== 0) {
|
|
12833
|
+
writer.uint32(8).int32(message.status);
|
|
12834
|
+
}
|
|
12835
|
+
if (message.level !== 0) {
|
|
12836
|
+
writer.uint32(21).float(message.level);
|
|
12837
|
+
}
|
|
12838
|
+
return writer;
|
|
12839
|
+
},
|
|
12840
|
+
decode(input, length) {
|
|
12841
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
12842
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12843
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
12844
|
+
while (reader.pos < end) {
|
|
12845
|
+
const tag = reader.uint32();
|
|
12846
|
+
switch (tag >>> 3) {
|
|
12847
|
+
case 1: {
|
|
12848
|
+
if (tag !== 8) {
|
|
12849
|
+
break;
|
|
12850
|
+
}
|
|
12851
|
+
message.status = reader.int32();
|
|
12852
|
+
continue;
|
|
12853
|
+
}
|
|
12854
|
+
case 2: {
|
|
12855
|
+
if (tag !== 21) {
|
|
12856
|
+
break;
|
|
12857
|
+
}
|
|
12858
|
+
message.level = reader.float();
|
|
12859
|
+
continue;
|
|
12860
|
+
}
|
|
12861
|
+
}
|
|
12862
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
12863
|
+
break;
|
|
12864
|
+
}
|
|
12865
|
+
reader.skip(tag & 7);
|
|
12866
|
+
}
|
|
12867
|
+
return message;
|
|
12868
|
+
},
|
|
12869
|
+
fromJSON(object) {
|
|
12870
|
+
return {
|
|
12871
|
+
status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
|
|
12872
|
+
level: isSet(object.level) ? gt.Number(object.level) : 0,
|
|
12873
|
+
};
|
|
12874
|
+
},
|
|
12875
|
+
toJSON(message) {
|
|
12876
|
+
const obj = {};
|
|
12877
|
+
if (message.status !== 0) {
|
|
12878
|
+
obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
|
|
12879
|
+
}
|
|
12880
|
+
if (message.level !== 0) {
|
|
12881
|
+
obj.level = message.level;
|
|
12882
|
+
}
|
|
12883
|
+
return obj;
|
|
12884
|
+
},
|
|
12885
|
+
create(base) {
|
|
12886
|
+
return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
|
|
12887
|
+
},
|
|
12888
|
+
fromPartial(object) {
|
|
12889
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
12890
|
+
message.status = object.status ?? 0;
|
|
12891
|
+
message.level = object.level ?? 0;
|
|
12892
|
+
return message;
|
|
12893
|
+
},
|
|
12894
|
+
};
|
|
12895
|
+
function createBaseSurfaceUnitVersionInfo() {
|
|
12896
|
+
return { version: "" };
|
|
12897
|
+
}
|
|
12898
|
+
exports.SurfaceUnitVersionInfo = {
|
|
12899
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
12900
|
+
if (message.version !== "") {
|
|
12901
|
+
writer.uint32(10).string(message.version);
|
|
12902
|
+
}
|
|
12903
|
+
return writer;
|
|
12904
|
+
},
|
|
12905
|
+
decode(input, length) {
|
|
12906
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
12907
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12908
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
12909
|
+
while (reader.pos < end) {
|
|
12910
|
+
const tag = reader.uint32();
|
|
12911
|
+
switch (tag >>> 3) {
|
|
12912
|
+
case 1: {
|
|
12913
|
+
if (tag !== 10) {
|
|
12914
|
+
break;
|
|
12915
|
+
}
|
|
12916
|
+
message.version = reader.string();
|
|
12917
|
+
continue;
|
|
12918
|
+
}
|
|
12919
|
+
}
|
|
12920
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
12921
|
+
break;
|
|
12922
|
+
}
|
|
12923
|
+
reader.skip(tag & 7);
|
|
12924
|
+
}
|
|
12925
|
+
return message;
|
|
12926
|
+
},
|
|
12927
|
+
fromJSON(object) {
|
|
12928
|
+
return { version: isSet(object.version) ? gt.String(object.version) : "" };
|
|
12929
|
+
},
|
|
12930
|
+
toJSON(message) {
|
|
12931
|
+
const obj = {};
|
|
12932
|
+
if (message.version !== "") {
|
|
12933
|
+
obj.version = message.version;
|
|
12934
|
+
}
|
|
12935
|
+
return obj;
|
|
12936
|
+
},
|
|
12937
|
+
create(base) {
|
|
12938
|
+
return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
|
|
12939
|
+
},
|
|
12940
|
+
fromPartial(object) {
|
|
12941
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
12942
|
+
message.version = object.version ?? "";
|
|
11925
12943
|
return message;
|
|
11926
12944
|
},
|
|
11927
12945
|
};
|