@blueyerobotics/protocol-definitions 3.2.0-9f6199cf → 3.2.0-bb5ffe79
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.js +1 -1
- package/dist/control.d.ts +11 -0
- package/dist/control.js +39 -2
- package/dist/google/protobuf/any.js +1 -1
- package/dist/google/protobuf/duration.js +1 -1
- package/dist/google/protobuf/timestamp.js +1 -1
- package/dist/index.blueye.js +1 -1
- package/dist/index.blueye.protocol.js +1 -1
- package/dist/index.google.js +1 -1
- package/dist/index.google.protobuf.js +1 -1
- package/dist/index.js +1 -1
- package/dist/message_formats.d.ts +139 -11
- package/dist/message_formats.js +821 -16
- package/dist/mission_planning.js +1 -1
- package/dist/req_rep.js +1 -1
- package/dist/telemetry.d.ts +18 -2
- 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 = exports.GuestPortCurrent = exports.MultibeamServo = 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;
|
|
@@ -60,12 +62,16 @@ exports.pingerConfiguration_MountingDirectionFromJSON = pingerConfiguration_Moun
|
|
|
60
62
|
exports.pingerConfiguration_MountingDirectionToJSON = pingerConfiguration_MountingDirectionToJSON;
|
|
61
63
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON;
|
|
62
64
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON;
|
|
65
|
+
exports.removableStorageDevice_StatusFromJSON = removableStorageDevice_StatusFromJSON;
|
|
66
|
+
exports.removableStorageDevice_StatusToJSON = removableStorageDevice_StatusToJSON;
|
|
63
67
|
exports.calibrationState_StatusFromJSON = calibrationState_StatusFromJSON;
|
|
64
68
|
exports.calibrationState_StatusToJSON = calibrationState_StatusToJSON;
|
|
65
69
|
exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
|
|
66
70
|
exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
|
|
67
71
|
exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
|
|
68
72
|
exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
|
|
73
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
|
|
74
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
|
|
69
75
|
/* eslint-disable */
|
|
70
76
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
71
77
|
const any_1 = require("./google/protobuf/any");
|
|
@@ -716,11 +722,15 @@ var Resolution;
|
|
|
716
722
|
(function (Resolution) {
|
|
717
723
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
718
724
|
Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
|
|
719
|
-
/**
|
|
720
|
-
Resolution[Resolution["
|
|
721
|
-
/**
|
|
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). */
|
|
722
730
|
Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
|
|
723
|
-
/**
|
|
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). */
|
|
724
734
|
Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
|
|
725
735
|
Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
726
736
|
})(Resolution || (exports.Resolution = Resolution = {}));
|
|
@@ -729,12 +739,18 @@ function resolutionFromJSON(object) {
|
|
|
729
739
|
case 0:
|
|
730
740
|
case "RESOLUTION_UNSPECIFIED":
|
|
731
741
|
return Resolution.RESOLUTION_UNSPECIFIED;
|
|
732
|
-
case
|
|
733
|
-
case "
|
|
734
|
-
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;
|
|
735
748
|
case 2:
|
|
736
749
|
case "RESOLUTION_HD_720P":
|
|
737
750
|
return Resolution.RESOLUTION_HD_720P;
|
|
751
|
+
case 1:
|
|
752
|
+
case "RESOLUTION_FULLHD_1080P":
|
|
753
|
+
return Resolution.RESOLUTION_FULLHD_1080P;
|
|
738
754
|
case 3:
|
|
739
755
|
case "RESOLUTION_UHD_4K":
|
|
740
756
|
return Resolution.RESOLUTION_UHD_4K;
|
|
@@ -748,10 +764,14 @@ function resolutionToJSON(object) {
|
|
|
748
764
|
switch (object) {
|
|
749
765
|
case Resolution.RESOLUTION_UNSPECIFIED:
|
|
750
766
|
return "RESOLUTION_UNSPECIFIED";
|
|
751
|
-
case Resolution.
|
|
752
|
-
return "
|
|
767
|
+
case Resolution.RESOLUTION_VGA:
|
|
768
|
+
return "RESOLUTION_VGA";
|
|
769
|
+
case Resolution.RESOLUTION_SVGA:
|
|
770
|
+
return "RESOLUTION_SVGA";
|
|
753
771
|
case Resolution.RESOLUTION_HD_720P:
|
|
754
772
|
return "RESOLUTION_HD_720P";
|
|
773
|
+
case Resolution.RESOLUTION_FULLHD_1080P:
|
|
774
|
+
return "RESOLUTION_FULLHD_1080P";
|
|
755
775
|
case Resolution.RESOLUTION_UHD_4K:
|
|
756
776
|
return "RESOLUTION_UHD_4K";
|
|
757
777
|
case Resolution.UNRECOGNIZED:
|
|
@@ -841,6 +861,46 @@ function cameraToJSON(object) {
|
|
|
841
861
|
return "UNRECOGNIZED";
|
|
842
862
|
}
|
|
843
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
|
+
}
|
|
844
904
|
/** Available temperature units. */
|
|
845
905
|
var TemperatureUnit;
|
|
846
906
|
(function (TemperatureUnit) {
|
|
@@ -1174,6 +1234,8 @@ var GuestPortDeviceID;
|
|
|
1174
1234
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1175
1235
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1176
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";
|
|
1177
1239
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1178
1240
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1179
1241
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1313,6 +1375,9 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1313
1375
|
case 44:
|
|
1314
1376
|
case "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650":
|
|
1315
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;
|
|
1316
1381
|
case -1:
|
|
1317
1382
|
case "UNRECOGNIZED":
|
|
1318
1383
|
default:
|
|
@@ -1411,6 +1476,8 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1411
1476
|
return "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1412
1477
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650:
|
|
1413
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";
|
|
1414
1481
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1415
1482
|
default:
|
|
1416
1483
|
return "UNRECOGNIZED";
|
|
@@ -1869,10 +1936,58 @@ function batteryBQ40Z50_BatteryStatus_BatteryErrorToJSON(object) {
|
|
|
1869
1936
|
return "UNRECOGNIZED";
|
|
1870
1937
|
}
|
|
1871
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
|
+
}
|
|
1872
1987
|
/**
|
|
1873
1988
|
* Status of the compass calibration procedure.
|
|
1874
1989
|
*
|
|
1875
|
-
* When calibration is started, the status will indicate the active (
|
|
1990
|
+
* When calibration is started, the status will indicate the active (up facing) axis.
|
|
1876
1991
|
*/
|
|
1877
1992
|
var CalibrationState_Status;
|
|
1878
1993
|
(function (CalibrationState_Status) {
|
|
@@ -1894,7 +2009,7 @@ var CalibrationState_Status;
|
|
|
1894
2009
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_Z_POSITIVE"] = 7] = "STATUS_CALIBRATING_Z_POSITIVE";
|
|
1895
2010
|
/** STATUS_CALIBRATING_Z_NEGATIVE - Compass is calibrating and the negative Z axis is active. */
|
|
1896
2011
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_Z_NEGATIVE"] = 8] = "STATUS_CALIBRATING_Z_NEGATIVE";
|
|
1897
|
-
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster
|
|
2012
|
+
/** STATUS_CALIBRATING_THRUSTER - Compass is calibrating for thruster interference. */
|
|
1898
2013
|
CalibrationState_Status[CalibrationState_Status["STATUS_CALIBRATING_THRUSTER"] = 9] = "STATUS_CALIBRATING_THRUSTER";
|
|
1899
2014
|
CalibrationState_Status[CalibrationState_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1900
2015
|
})(CalibrationState_Status || (exports.CalibrationState_Status = CalibrationState_Status = {}));
|
|
@@ -2085,6 +2200,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2085
2200
|
return "UNRECOGNIZED";
|
|
2086
2201
|
}
|
|
2087
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
|
+
}
|
|
2088
2246
|
function createBaseBinlogRecord() {
|
|
2089
2247
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2090
2248
|
}
|
|
@@ -7669,6 +7827,375 @@ exports.StorageSpace = {
|
|
|
7669
7827
|
return message;
|
|
7670
7828
|
},
|
|
7671
7829
|
};
|
|
7830
|
+
function createBaseStoragePartition() {
|
|
7831
|
+
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "" };
|
|
7832
|
+
}
|
|
7833
|
+
exports.StoragePartition = {
|
|
7834
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
7835
|
+
if (message.storageSpace !== undefined) {
|
|
7836
|
+
exports.StorageSpace.encode(message.storageSpace, writer.uint32(10).fork()).join();
|
|
7837
|
+
}
|
|
7838
|
+
if (message.fileSystemType !== "") {
|
|
7839
|
+
writer.uint32(18).string(message.fileSystemType);
|
|
7840
|
+
}
|
|
7841
|
+
if (message.devicePath !== "") {
|
|
7842
|
+
writer.uint32(26).string(message.devicePath);
|
|
7843
|
+
}
|
|
7844
|
+
if (message.mountPath !== "") {
|
|
7845
|
+
writer.uint32(34).string(message.mountPath);
|
|
7846
|
+
}
|
|
7847
|
+
return writer;
|
|
7848
|
+
},
|
|
7849
|
+
decode(input, length) {
|
|
7850
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
7851
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
7852
|
+
const message = createBaseStoragePartition();
|
|
7853
|
+
while (reader.pos < end) {
|
|
7854
|
+
const tag = reader.uint32();
|
|
7855
|
+
switch (tag >>> 3) {
|
|
7856
|
+
case 1: {
|
|
7857
|
+
if (tag !== 10) {
|
|
7858
|
+
break;
|
|
7859
|
+
}
|
|
7860
|
+
message.storageSpace = exports.StorageSpace.decode(reader, reader.uint32());
|
|
7861
|
+
continue;
|
|
7862
|
+
}
|
|
7863
|
+
case 2: {
|
|
7864
|
+
if (tag !== 18) {
|
|
7865
|
+
break;
|
|
7866
|
+
}
|
|
7867
|
+
message.fileSystemType = reader.string();
|
|
7868
|
+
continue;
|
|
7869
|
+
}
|
|
7870
|
+
case 3: {
|
|
7871
|
+
if (tag !== 26) {
|
|
7872
|
+
break;
|
|
7873
|
+
}
|
|
7874
|
+
message.devicePath = reader.string();
|
|
7875
|
+
continue;
|
|
7876
|
+
}
|
|
7877
|
+
case 4: {
|
|
7878
|
+
if (tag !== 34) {
|
|
7879
|
+
break;
|
|
7880
|
+
}
|
|
7881
|
+
message.mountPath = reader.string();
|
|
7882
|
+
continue;
|
|
7883
|
+
}
|
|
7884
|
+
}
|
|
7885
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
7886
|
+
break;
|
|
7887
|
+
}
|
|
7888
|
+
reader.skip(tag & 7);
|
|
7889
|
+
}
|
|
7890
|
+
return message;
|
|
7891
|
+
},
|
|
7892
|
+
fromJSON(object) {
|
|
7893
|
+
return {
|
|
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
|
+
};
|
|
7672
8199
|
function createBaseCalibrationState() {
|
|
7673
8200
|
return {
|
|
7674
8201
|
status: 0,
|
|
@@ -9094,11 +9621,20 @@ function createBaseCameraParameters() {
|
|
|
9094
9621
|
whiteBalance: 0,
|
|
9095
9622
|
hue: 0,
|
|
9096
9623
|
gain: 0,
|
|
9624
|
+
brightness: 0,
|
|
9625
|
+
contrast: 0,
|
|
9626
|
+
saturation: 0,
|
|
9627
|
+
gamma: 0,
|
|
9628
|
+
sharpness: 0,
|
|
9629
|
+
backlightCompensation: 0,
|
|
9630
|
+
denoise: 0,
|
|
9097
9631
|
resolution: 0,
|
|
9098
9632
|
streamResolution: 0,
|
|
9099
9633
|
recordingResolution: 0,
|
|
9634
|
+
streamingProtocol: 0,
|
|
9100
9635
|
framerate: 0,
|
|
9101
9636
|
camera: 0,
|
|
9637
|
+
fixedFramerate: false,
|
|
9102
9638
|
};
|
|
9103
9639
|
}
|
|
9104
9640
|
exports.CameraParameters = {
|
|
@@ -9121,6 +9657,27 @@ exports.CameraParameters = {
|
|
|
9121
9657
|
if (message.gain !== 0) {
|
|
9122
9658
|
writer.uint32(77).float(message.gain);
|
|
9123
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
|
+
}
|
|
9124
9681
|
if (message.resolution !== 0) {
|
|
9125
9682
|
writer.uint32(48).int32(message.resolution);
|
|
9126
9683
|
}
|
|
@@ -9130,12 +9687,18 @@ exports.CameraParameters = {
|
|
|
9130
9687
|
if (message.recordingResolution !== 0) {
|
|
9131
9688
|
writer.uint32(88).int32(message.recordingResolution);
|
|
9132
9689
|
}
|
|
9690
|
+
if (message.streamingProtocol !== 0) {
|
|
9691
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
9692
|
+
}
|
|
9133
9693
|
if (message.framerate !== 0) {
|
|
9134
9694
|
writer.uint32(56).int32(message.framerate);
|
|
9135
9695
|
}
|
|
9136
9696
|
if (message.camera !== 0) {
|
|
9137
9697
|
writer.uint32(64).int32(message.camera);
|
|
9138
9698
|
}
|
|
9699
|
+
if (message.fixedFramerate !== false) {
|
|
9700
|
+
writer.uint32(152).bool(message.fixedFramerate);
|
|
9701
|
+
}
|
|
9139
9702
|
return writer;
|
|
9140
9703
|
},
|
|
9141
9704
|
decode(input, length) {
|
|
@@ -9187,6 +9750,55 @@ exports.CameraParameters = {
|
|
|
9187
9750
|
message.gain = reader.float();
|
|
9188
9751
|
continue;
|
|
9189
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
|
+
}
|
|
9190
9802
|
case 6: {
|
|
9191
9803
|
if (tag !== 48) {
|
|
9192
9804
|
break;
|
|
@@ -9208,6 +9820,13 @@ exports.CameraParameters = {
|
|
|
9208
9820
|
message.recordingResolution = reader.int32();
|
|
9209
9821
|
continue;
|
|
9210
9822
|
}
|
|
9823
|
+
case 20: {
|
|
9824
|
+
if (tag !== 160) {
|
|
9825
|
+
break;
|
|
9826
|
+
}
|
|
9827
|
+
message.streamingProtocol = reader.int32();
|
|
9828
|
+
continue;
|
|
9829
|
+
}
|
|
9211
9830
|
case 7: {
|
|
9212
9831
|
if (tag !== 56) {
|
|
9213
9832
|
break;
|
|
@@ -9222,6 +9841,13 @@ exports.CameraParameters = {
|
|
|
9222
9841
|
message.camera = reader.int32();
|
|
9223
9842
|
continue;
|
|
9224
9843
|
}
|
|
9844
|
+
case 19: {
|
|
9845
|
+
if (tag !== 152) {
|
|
9846
|
+
break;
|
|
9847
|
+
}
|
|
9848
|
+
message.fixedFramerate = reader.bool();
|
|
9849
|
+
continue;
|
|
9850
|
+
}
|
|
9225
9851
|
}
|
|
9226
9852
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9227
9853
|
break;
|
|
@@ -9238,11 +9864,20 @@ exports.CameraParameters = {
|
|
|
9238
9864
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9239
9865
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9240
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,
|
|
9241
9874
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9242
9875
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9243
9876
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
9877
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9244
9878
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9245
9879
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
9880
|
+
fixedFramerate: isSet(object.fixedFramerate) ? gt.Boolean(object.fixedFramerate) : false,
|
|
9246
9881
|
};
|
|
9247
9882
|
},
|
|
9248
9883
|
toJSON(message) {
|
|
@@ -9265,6 +9900,27 @@ exports.CameraParameters = {
|
|
|
9265
9900
|
if (message.gain !== 0) {
|
|
9266
9901
|
obj.gain = message.gain;
|
|
9267
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
|
+
}
|
|
9268
9924
|
if (message.resolution !== 0) {
|
|
9269
9925
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9270
9926
|
}
|
|
@@ -9274,12 +9930,18 @@ exports.CameraParameters = {
|
|
|
9274
9930
|
if (message.recordingResolution !== 0) {
|
|
9275
9931
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9276
9932
|
}
|
|
9933
|
+
if (message.streamingProtocol !== 0) {
|
|
9934
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
9935
|
+
}
|
|
9277
9936
|
if (message.framerate !== 0) {
|
|
9278
9937
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9279
9938
|
}
|
|
9280
9939
|
if (message.camera !== 0) {
|
|
9281
9940
|
obj.camera = cameraToJSON(message.camera);
|
|
9282
9941
|
}
|
|
9942
|
+
if (message.fixedFramerate !== false) {
|
|
9943
|
+
obj.fixedFramerate = message.fixedFramerate;
|
|
9944
|
+
}
|
|
9283
9945
|
return obj;
|
|
9284
9946
|
},
|
|
9285
9947
|
create(base) {
|
|
@@ -9293,11 +9955,20 @@ exports.CameraParameters = {
|
|
|
9293
9955
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9294
9956
|
message.hue = object.hue ?? 0;
|
|
9295
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;
|
|
9296
9965
|
message.resolution = object.resolution ?? 0;
|
|
9297
9966
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9298
9967
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
9968
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9299
9969
|
message.framerate = object.framerate ?? 0;
|
|
9300
9970
|
message.camera = object.camera ?? 0;
|
|
9971
|
+
message.fixedFramerate = object.fixedFramerate ?? false;
|
|
9301
9972
|
return message;
|
|
9302
9973
|
},
|
|
9303
9974
|
};
|
|
@@ -12041,7 +12712,7 @@ exports.PersistentStorageSettings = {
|
|
|
12041
12712
|
},
|
|
12042
12713
|
};
|
|
12043
12714
|
function createBaseCPUInfo() {
|
|
12044
|
-
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
|
|
12715
|
+
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
|
|
12045
12716
|
}
|
|
12046
12717
|
exports.CPUInfo = {
|
|
12047
12718
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -12057,6 +12728,9 @@ exports.CPUInfo = {
|
|
|
12057
12728
|
if (message.guestportQueueLoad !== 0) {
|
|
12058
12729
|
writer.uint32(37).float(message.guestportQueueLoad);
|
|
12059
12730
|
}
|
|
12731
|
+
if (message.commQueueLoad !== 0) {
|
|
12732
|
+
writer.uint32(45).float(message.commQueueLoad);
|
|
12733
|
+
}
|
|
12060
12734
|
return writer;
|
|
12061
12735
|
},
|
|
12062
12736
|
decode(input, length) {
|
|
@@ -12094,6 +12768,13 @@ exports.CPUInfo = {
|
|
|
12094
12768
|
message.guestportQueueLoad = reader.float();
|
|
12095
12769
|
continue;
|
|
12096
12770
|
}
|
|
12771
|
+
case 5: {
|
|
12772
|
+
if (tag !== 45) {
|
|
12773
|
+
break;
|
|
12774
|
+
}
|
|
12775
|
+
message.commQueueLoad = reader.float();
|
|
12776
|
+
continue;
|
|
12777
|
+
}
|
|
12097
12778
|
}
|
|
12098
12779
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12099
12780
|
break;
|
|
@@ -12108,6 +12789,7 @@ exports.CPUInfo = {
|
|
|
12108
12789
|
memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
|
|
12109
12790
|
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
12110
12791
|
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
12792
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
12111
12793
|
};
|
|
12112
12794
|
},
|
|
12113
12795
|
toJSON(message) {
|
|
@@ -12124,6 +12806,9 @@ exports.CPUInfo = {
|
|
|
12124
12806
|
if (message.guestportQueueLoad !== 0) {
|
|
12125
12807
|
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
12126
12808
|
}
|
|
12809
|
+
if (message.commQueueLoad !== 0) {
|
|
12810
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
12811
|
+
}
|
|
12127
12812
|
return obj;
|
|
12128
12813
|
},
|
|
12129
12814
|
create(base) {
|
|
@@ -12135,6 +12820,126 @@ exports.CPUInfo = {
|
|
|
12135
12820
|
message.memoryBusLoad = object.memoryBusLoad ?? 0;
|
|
12136
12821
|
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
12137
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 ?? "";
|
|
12138
12943
|
return message;
|
|
12139
12944
|
},
|
|
12140
12945
|
};
|