@blueyerobotics/protocol-definitions 3.2.0-5739a6ac → 3.2.0-763012c2
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 +6 -2
- package/dist/control.js +40 -9
- 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 +135 -8
- package/dist/message_formats.js +660 -14
- package/dist/mission_planning.js +1 -1
- package/dist/req_rep.js +1 -1
- package/dist/telemetry.d.ts +9 -1
- package/dist/telemetry.js +74 -2
- 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 = exports.GenericServo = exports.CpProbe = void 0;
|
|
8
|
+
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.StorageLocation = exports.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
|
|
9
|
+
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 = exports.GripperVelocities = 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 = exports.GuestPortDeviceList = void 0;
|
|
11
11
|
exports.intervalTypeFromJSON = intervalTypeFromJSON;
|
|
12
12
|
exports.intervalTypeToJSON = intervalTypeToJSON;
|
|
13
13
|
exports.locationSourceFromJSON = locationSourceFromJSON;
|
|
@@ -22,6 +22,8 @@ exports.notificationTypeFromJSON = notificationTypeFromJSON;
|
|
|
22
22
|
exports.notificationTypeToJSON = notificationTypeToJSON;
|
|
23
23
|
exports.notificationLevelFromJSON = notificationLevelFromJSON;
|
|
24
24
|
exports.notificationLevelToJSON = notificationLevelToJSON;
|
|
25
|
+
exports.storageLocationFromJSON = storageLocationFromJSON;
|
|
26
|
+
exports.storageLocationToJSON = storageLocationToJSON;
|
|
25
27
|
exports.modelFromJSON = modelFromJSON;
|
|
26
28
|
exports.modelToJSON = modelToJSON;
|
|
27
29
|
exports.pressureSensorTypeFromJSON = pressureSensorTypeFromJSON;
|
|
@@ -32,6 +34,8 @@ exports.framerateFromJSON = framerateFromJSON;
|
|
|
32
34
|
exports.framerateToJSON = framerateToJSON;
|
|
33
35
|
exports.cameraFromJSON = cameraFromJSON;
|
|
34
36
|
exports.cameraToJSON = cameraToJSON;
|
|
37
|
+
exports.streamingProtocolFromJSON = streamingProtocolFromJSON;
|
|
38
|
+
exports.streamingProtocolToJSON = streamingProtocolToJSON;
|
|
35
39
|
exports.temperatureUnitFromJSON = temperatureUnitFromJSON;
|
|
36
40
|
exports.temperatureUnitToJSON = temperatureUnitToJSON;
|
|
37
41
|
exports.logoTypeFromJSON = logoTypeFromJSON;
|
|
@@ -54,6 +58,8 @@ exports.guestPortErrorFromJSON = guestPortErrorFromJSON;
|
|
|
54
58
|
exports.guestPortErrorToJSON = guestPortErrorToJSON;
|
|
55
59
|
exports.multibeamFrequencyModeFromJSON = multibeamFrequencyModeFromJSON;
|
|
56
60
|
exports.multibeamFrequencyModeToJSON = multibeamFrequencyModeToJSON;
|
|
61
|
+
exports.logEntry_LogLevelFromJSON = logEntry_LogLevelFromJSON;
|
|
62
|
+
exports.logEntry_LogLevelToJSON = logEntry_LogLevelToJSON;
|
|
57
63
|
exports.pingerConfiguration_MountingDirectionFromJSON = pingerConfiguration_MountingDirectionFromJSON;
|
|
58
64
|
exports.pingerConfiguration_MountingDirectionToJSON = pingerConfiguration_MountingDirectionToJSON;
|
|
59
65
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON;
|
|
@@ -66,6 +72,8 @@ exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
|
|
|
66
72
|
exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
|
|
67
73
|
exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
|
|
68
74
|
exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
|
|
75
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
|
|
76
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
|
|
69
77
|
/* eslint-disable */
|
|
70
78
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
71
79
|
const any_1 = require("./google/protobuf/any");
|
|
@@ -587,6 +595,51 @@ function notificationLevelToJSON(object) {
|
|
|
587
595
|
return "UNRECOGNIZED";
|
|
588
596
|
}
|
|
589
597
|
}
|
|
598
|
+
/**
|
|
599
|
+
* Storage location.
|
|
600
|
+
*
|
|
601
|
+
* Used to specify which storage location to use for recording photos and videos.
|
|
602
|
+
*/
|
|
603
|
+
var StorageLocation;
|
|
604
|
+
(function (StorageLocation) {
|
|
605
|
+
/** STORAGE_LOCATION_UNSPECIFIED - Unspecified. */
|
|
606
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_UNSPECIFIED"] = 0] = "STORAGE_LOCATION_UNSPECIFIED";
|
|
607
|
+
/** STORAGE_LOCATION_INTERNAL - Internal storage of the drone. */
|
|
608
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_INTERNAL"] = 1] = "STORAGE_LOCATION_INTERNAL";
|
|
609
|
+
/** STORAGE_LOCATION_REMOVABLE - Removable storage device. */
|
|
610
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_REMOVABLE"] = 2] = "STORAGE_LOCATION_REMOVABLE";
|
|
611
|
+
StorageLocation[StorageLocation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
612
|
+
})(StorageLocation || (exports.StorageLocation = StorageLocation = {}));
|
|
613
|
+
function storageLocationFromJSON(object) {
|
|
614
|
+
switch (object) {
|
|
615
|
+
case 0:
|
|
616
|
+
case "STORAGE_LOCATION_UNSPECIFIED":
|
|
617
|
+
return StorageLocation.STORAGE_LOCATION_UNSPECIFIED;
|
|
618
|
+
case 1:
|
|
619
|
+
case "STORAGE_LOCATION_INTERNAL":
|
|
620
|
+
return StorageLocation.STORAGE_LOCATION_INTERNAL;
|
|
621
|
+
case 2:
|
|
622
|
+
case "STORAGE_LOCATION_REMOVABLE":
|
|
623
|
+
return StorageLocation.STORAGE_LOCATION_REMOVABLE;
|
|
624
|
+
case -1:
|
|
625
|
+
case "UNRECOGNIZED":
|
|
626
|
+
default:
|
|
627
|
+
return StorageLocation.UNRECOGNIZED;
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
function storageLocationToJSON(object) {
|
|
631
|
+
switch (object) {
|
|
632
|
+
case StorageLocation.STORAGE_LOCATION_UNSPECIFIED:
|
|
633
|
+
return "STORAGE_LOCATION_UNSPECIFIED";
|
|
634
|
+
case StorageLocation.STORAGE_LOCATION_INTERNAL:
|
|
635
|
+
return "STORAGE_LOCATION_INTERNAL";
|
|
636
|
+
case StorageLocation.STORAGE_LOCATION_REMOVABLE:
|
|
637
|
+
return "STORAGE_LOCATION_REMOVABLE";
|
|
638
|
+
case StorageLocation.UNRECOGNIZED:
|
|
639
|
+
default:
|
|
640
|
+
return "UNRECOGNIZED";
|
|
641
|
+
}
|
|
642
|
+
}
|
|
590
643
|
/** Drone models produced by Blueye. */
|
|
591
644
|
var Model;
|
|
592
645
|
(function (Model) {
|
|
@@ -716,11 +769,15 @@ var Resolution;
|
|
|
716
769
|
(function (Resolution) {
|
|
717
770
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
718
771
|
Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
|
|
719
|
-
/**
|
|
720
|
-
Resolution[Resolution["
|
|
721
|
-
/**
|
|
772
|
+
/** RESOLUTION_VGA - VGA (640x480). */
|
|
773
|
+
Resolution[Resolution["RESOLUTION_VGA"] = 4] = "RESOLUTION_VGA";
|
|
774
|
+
/** RESOLUTION_SVGA - SVGA (800x600). */
|
|
775
|
+
Resolution[Resolution["RESOLUTION_SVGA"] = 5] = "RESOLUTION_SVGA";
|
|
776
|
+
/** RESOLUTION_HD_720P - 720p HD (1280x720). */
|
|
722
777
|
Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
|
|
723
|
-
/**
|
|
778
|
+
/** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
|
|
779
|
+
Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
|
|
780
|
+
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160). */
|
|
724
781
|
Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
|
|
725
782
|
Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
726
783
|
})(Resolution || (exports.Resolution = Resolution = {}));
|
|
@@ -729,12 +786,18 @@ function resolutionFromJSON(object) {
|
|
|
729
786
|
case 0:
|
|
730
787
|
case "RESOLUTION_UNSPECIFIED":
|
|
731
788
|
return Resolution.RESOLUTION_UNSPECIFIED;
|
|
732
|
-
case
|
|
733
|
-
case "
|
|
734
|
-
return Resolution.
|
|
789
|
+
case 4:
|
|
790
|
+
case "RESOLUTION_VGA":
|
|
791
|
+
return Resolution.RESOLUTION_VGA;
|
|
792
|
+
case 5:
|
|
793
|
+
case "RESOLUTION_SVGA":
|
|
794
|
+
return Resolution.RESOLUTION_SVGA;
|
|
735
795
|
case 2:
|
|
736
796
|
case "RESOLUTION_HD_720P":
|
|
737
797
|
return Resolution.RESOLUTION_HD_720P;
|
|
798
|
+
case 1:
|
|
799
|
+
case "RESOLUTION_FULLHD_1080P":
|
|
800
|
+
return Resolution.RESOLUTION_FULLHD_1080P;
|
|
738
801
|
case 3:
|
|
739
802
|
case "RESOLUTION_UHD_4K":
|
|
740
803
|
return Resolution.RESOLUTION_UHD_4K;
|
|
@@ -748,10 +811,14 @@ function resolutionToJSON(object) {
|
|
|
748
811
|
switch (object) {
|
|
749
812
|
case Resolution.RESOLUTION_UNSPECIFIED:
|
|
750
813
|
return "RESOLUTION_UNSPECIFIED";
|
|
751
|
-
case Resolution.
|
|
752
|
-
return "
|
|
814
|
+
case Resolution.RESOLUTION_VGA:
|
|
815
|
+
return "RESOLUTION_VGA";
|
|
816
|
+
case Resolution.RESOLUTION_SVGA:
|
|
817
|
+
return "RESOLUTION_SVGA";
|
|
753
818
|
case Resolution.RESOLUTION_HD_720P:
|
|
754
819
|
return "RESOLUTION_HD_720P";
|
|
820
|
+
case Resolution.RESOLUTION_FULLHD_1080P:
|
|
821
|
+
return "RESOLUTION_FULLHD_1080P";
|
|
755
822
|
case Resolution.RESOLUTION_UHD_4K:
|
|
756
823
|
return "RESOLUTION_UHD_4K";
|
|
757
824
|
case Resolution.UNRECOGNIZED:
|
|
@@ -841,6 +908,46 @@ function cameraToJSON(object) {
|
|
|
841
908
|
return "UNRECOGNIZED";
|
|
842
909
|
}
|
|
843
910
|
}
|
|
911
|
+
var StreamingProtocol;
|
|
912
|
+
(function (StreamingProtocol) {
|
|
913
|
+
/** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
|
|
914
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_UNSPECIFIED"] = 0] = "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
915
|
+
/** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
|
|
916
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_H264"] = 1] = "STREAMING_PROTOCOL_RTSP_H264";
|
|
917
|
+
/** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. */
|
|
918
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_MJPEG"] = 2] = "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
919
|
+
StreamingProtocol[StreamingProtocol["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
920
|
+
})(StreamingProtocol || (exports.StreamingProtocol = StreamingProtocol = {}));
|
|
921
|
+
function streamingProtocolFromJSON(object) {
|
|
922
|
+
switch (object) {
|
|
923
|
+
case 0:
|
|
924
|
+
case "STREAMING_PROTOCOL_UNSPECIFIED":
|
|
925
|
+
return StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED;
|
|
926
|
+
case 1:
|
|
927
|
+
case "STREAMING_PROTOCOL_RTSP_H264":
|
|
928
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264;
|
|
929
|
+
case 2:
|
|
930
|
+
case "STREAMING_PROTOCOL_RTSP_MJPEG":
|
|
931
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG;
|
|
932
|
+
case -1:
|
|
933
|
+
case "UNRECOGNIZED":
|
|
934
|
+
default:
|
|
935
|
+
return StreamingProtocol.UNRECOGNIZED;
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
function streamingProtocolToJSON(object) {
|
|
939
|
+
switch (object) {
|
|
940
|
+
case StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED:
|
|
941
|
+
return "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
942
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264:
|
|
943
|
+
return "STREAMING_PROTOCOL_RTSP_H264";
|
|
944
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG:
|
|
945
|
+
return "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
946
|
+
case StreamingProtocol.UNRECOGNIZED:
|
|
947
|
+
default:
|
|
948
|
+
return "UNRECOGNIZED";
|
|
949
|
+
}
|
|
950
|
+
}
|
|
844
951
|
/** Available temperature units. */
|
|
845
952
|
var TemperatureUnit;
|
|
846
953
|
(function (TemperatureUnit) {
|
|
@@ -1174,6 +1281,8 @@ var GuestPortDeviceID;
|
|
|
1174
1281
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1175
1282
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1176
1283
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1284
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage */
|
|
1285
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1177
1286
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1178
1287
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1179
1288
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1313,6 +1422,9 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1313
1422
|
case 44:
|
|
1314
1423
|
case "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650":
|
|
1315
1424
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650;
|
|
1425
|
+
case 45:
|
|
1426
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
|
|
1427
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
|
|
1316
1428
|
case -1:
|
|
1317
1429
|
case "UNRECOGNIZED":
|
|
1318
1430
|
default:
|
|
@@ -1411,6 +1523,8 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1411
1523
|
return "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1412
1524
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650:
|
|
1413
1525
|
return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1526
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
|
|
1527
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1414
1528
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1415
1529
|
default:
|
|
1416
1530
|
return "UNRECOGNIZED";
|
|
@@ -1687,6 +1801,74 @@ function multibeamFrequencyModeToJSON(object) {
|
|
|
1687
1801
|
return "UNRECOGNIZED";
|
|
1688
1802
|
}
|
|
1689
1803
|
}
|
|
1804
|
+
var LogEntry_LogLevel;
|
|
1805
|
+
(function (LogEntry_LogLevel) {
|
|
1806
|
+
/** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
1807
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_UNSPECIFIED"] = 0] = "LOG_LEVEL_UNSPECIFIED";
|
|
1808
|
+
/** LOG_LEVEL_TRACE - Trace log level. */
|
|
1809
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_TRACE"] = 1] = "LOG_LEVEL_TRACE";
|
|
1810
|
+
/** LOG_LEVEL_DEBUG - Debug log level. */
|
|
1811
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_DEBUG"] = 2] = "LOG_LEVEL_DEBUG";
|
|
1812
|
+
/** LOG_LEVEL_INFO - Info log level. */
|
|
1813
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_INFO"] = 3] = "LOG_LEVEL_INFO";
|
|
1814
|
+
/** LOG_LEVEL_WARNING - Warning log level. */
|
|
1815
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_WARNING"] = 4] = "LOG_LEVEL_WARNING";
|
|
1816
|
+
/** LOG_LEVEL_ERROR - Error log level. */
|
|
1817
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_ERROR"] = 5] = "LOG_LEVEL_ERROR";
|
|
1818
|
+
/** LOG_LEVEL_CRITICAL - Critical log level. */
|
|
1819
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_CRITICAL"] = 6] = "LOG_LEVEL_CRITICAL";
|
|
1820
|
+
LogEntry_LogLevel[LogEntry_LogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1821
|
+
})(LogEntry_LogLevel || (exports.LogEntry_LogLevel = LogEntry_LogLevel = {}));
|
|
1822
|
+
function logEntry_LogLevelFromJSON(object) {
|
|
1823
|
+
switch (object) {
|
|
1824
|
+
case 0:
|
|
1825
|
+
case "LOG_LEVEL_UNSPECIFIED":
|
|
1826
|
+
return LogEntry_LogLevel.LOG_LEVEL_UNSPECIFIED;
|
|
1827
|
+
case 1:
|
|
1828
|
+
case "LOG_LEVEL_TRACE":
|
|
1829
|
+
return LogEntry_LogLevel.LOG_LEVEL_TRACE;
|
|
1830
|
+
case 2:
|
|
1831
|
+
case "LOG_LEVEL_DEBUG":
|
|
1832
|
+
return LogEntry_LogLevel.LOG_LEVEL_DEBUG;
|
|
1833
|
+
case 3:
|
|
1834
|
+
case "LOG_LEVEL_INFO":
|
|
1835
|
+
return LogEntry_LogLevel.LOG_LEVEL_INFO;
|
|
1836
|
+
case 4:
|
|
1837
|
+
case "LOG_LEVEL_WARNING":
|
|
1838
|
+
return LogEntry_LogLevel.LOG_LEVEL_WARNING;
|
|
1839
|
+
case 5:
|
|
1840
|
+
case "LOG_LEVEL_ERROR":
|
|
1841
|
+
return LogEntry_LogLevel.LOG_LEVEL_ERROR;
|
|
1842
|
+
case 6:
|
|
1843
|
+
case "LOG_LEVEL_CRITICAL":
|
|
1844
|
+
return LogEntry_LogLevel.LOG_LEVEL_CRITICAL;
|
|
1845
|
+
case -1:
|
|
1846
|
+
case "UNRECOGNIZED":
|
|
1847
|
+
default:
|
|
1848
|
+
return LogEntry_LogLevel.UNRECOGNIZED;
|
|
1849
|
+
}
|
|
1850
|
+
}
|
|
1851
|
+
function logEntry_LogLevelToJSON(object) {
|
|
1852
|
+
switch (object) {
|
|
1853
|
+
case LogEntry_LogLevel.LOG_LEVEL_UNSPECIFIED:
|
|
1854
|
+
return "LOG_LEVEL_UNSPECIFIED";
|
|
1855
|
+
case LogEntry_LogLevel.LOG_LEVEL_TRACE:
|
|
1856
|
+
return "LOG_LEVEL_TRACE";
|
|
1857
|
+
case LogEntry_LogLevel.LOG_LEVEL_DEBUG:
|
|
1858
|
+
return "LOG_LEVEL_DEBUG";
|
|
1859
|
+
case LogEntry_LogLevel.LOG_LEVEL_INFO:
|
|
1860
|
+
return "LOG_LEVEL_INFO";
|
|
1861
|
+
case LogEntry_LogLevel.LOG_LEVEL_WARNING:
|
|
1862
|
+
return "LOG_LEVEL_WARNING";
|
|
1863
|
+
case LogEntry_LogLevel.LOG_LEVEL_ERROR:
|
|
1864
|
+
return "LOG_LEVEL_ERROR";
|
|
1865
|
+
case LogEntry_LogLevel.LOG_LEVEL_CRITICAL:
|
|
1866
|
+
return "LOG_LEVEL_CRITICAL";
|
|
1867
|
+
case LogEntry_LogLevel.UNRECOGNIZED:
|
|
1868
|
+
default:
|
|
1869
|
+
return "UNRECOGNIZED";
|
|
1870
|
+
}
|
|
1871
|
+
}
|
|
1690
1872
|
var PingerConfiguration_MountingDirection;
|
|
1691
1873
|
(function (PingerConfiguration_MountingDirection) {
|
|
1692
1874
|
/** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
|
|
@@ -2065,6 +2247,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2065
2247
|
return "UNRECOGNIZED";
|
|
2066
2248
|
}
|
|
2067
2249
|
}
|
|
2250
|
+
var SurfaceUnitBatteryInfo_ChargeStatus;
|
|
2251
|
+
(function (SurfaceUnitBatteryInfo_ChargeStatus) {
|
|
2252
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_UNSPECIFIED"] = 0] = "CHARGE_STATUS_UNSPECIFIED";
|
|
2253
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_DISCHARGE"] = 1] = "CHARGE_STATUS_DISCHARGE";
|
|
2254
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE"] = 2] = "CHARGE_STATUS_CHARGE";
|
|
2255
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE_ERROR"] = 3] = "CHARGE_STATUS_CHARGE_ERROR";
|
|
2256
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2257
|
+
})(SurfaceUnitBatteryInfo_ChargeStatus || (exports.SurfaceUnitBatteryInfo_ChargeStatus = SurfaceUnitBatteryInfo_ChargeStatus = {}));
|
|
2258
|
+
function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object) {
|
|
2259
|
+
switch (object) {
|
|
2260
|
+
case 0:
|
|
2261
|
+
case "CHARGE_STATUS_UNSPECIFIED":
|
|
2262
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED;
|
|
2263
|
+
case 1:
|
|
2264
|
+
case "CHARGE_STATUS_DISCHARGE":
|
|
2265
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE;
|
|
2266
|
+
case 2:
|
|
2267
|
+
case "CHARGE_STATUS_CHARGE":
|
|
2268
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE;
|
|
2269
|
+
case 3:
|
|
2270
|
+
case "CHARGE_STATUS_CHARGE_ERROR":
|
|
2271
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR;
|
|
2272
|
+
case -1:
|
|
2273
|
+
case "UNRECOGNIZED":
|
|
2274
|
+
default:
|
|
2275
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED;
|
|
2276
|
+
}
|
|
2277
|
+
}
|
|
2278
|
+
function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
|
|
2279
|
+
switch (object) {
|
|
2280
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED:
|
|
2281
|
+
return "CHARGE_STATUS_UNSPECIFIED";
|
|
2282
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE:
|
|
2283
|
+
return "CHARGE_STATUS_DISCHARGE";
|
|
2284
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE:
|
|
2285
|
+
return "CHARGE_STATUS_CHARGE";
|
|
2286
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR:
|
|
2287
|
+
return "CHARGE_STATUS_CHARGE_ERROR";
|
|
2288
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED:
|
|
2289
|
+
default:
|
|
2290
|
+
return "UNRECOGNIZED";
|
|
2291
|
+
}
|
|
2292
|
+
}
|
|
2068
2293
|
function createBaseBinlogRecord() {
|
|
2069
2294
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2070
2295
|
}
|
|
@@ -2150,6 +2375,149 @@ exports.BinlogRecord = {
|
|
|
2150
2375
|
return message;
|
|
2151
2376
|
},
|
|
2152
2377
|
};
|
|
2378
|
+
function createBaseLogEntry() {
|
|
2379
|
+
return { timestamp: undefined, processName: "", processId: 0, threadId: 0, source: "", level: 0, message: "" };
|
|
2380
|
+
}
|
|
2381
|
+
exports.LogEntry = {
|
|
2382
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2383
|
+
if (message.timestamp !== undefined) {
|
|
2384
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(10).fork()).join();
|
|
2385
|
+
}
|
|
2386
|
+
if (message.processName !== "") {
|
|
2387
|
+
writer.uint32(18).string(message.processName);
|
|
2388
|
+
}
|
|
2389
|
+
if (message.processId !== 0) {
|
|
2390
|
+
writer.uint32(24).uint64(message.processId);
|
|
2391
|
+
}
|
|
2392
|
+
if (message.threadId !== 0) {
|
|
2393
|
+
writer.uint32(32).uint64(message.threadId);
|
|
2394
|
+
}
|
|
2395
|
+
if (message.source !== "") {
|
|
2396
|
+
writer.uint32(42).string(message.source);
|
|
2397
|
+
}
|
|
2398
|
+
if (message.level !== 0) {
|
|
2399
|
+
writer.uint32(48).int32(message.level);
|
|
2400
|
+
}
|
|
2401
|
+
if (message.message !== "") {
|
|
2402
|
+
writer.uint32(58).string(message.message);
|
|
2403
|
+
}
|
|
2404
|
+
return writer;
|
|
2405
|
+
},
|
|
2406
|
+
decode(input, length) {
|
|
2407
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2408
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2409
|
+
const message = createBaseLogEntry();
|
|
2410
|
+
while (reader.pos < end) {
|
|
2411
|
+
const tag = reader.uint32();
|
|
2412
|
+
switch (tag >>> 3) {
|
|
2413
|
+
case 1: {
|
|
2414
|
+
if (tag !== 10) {
|
|
2415
|
+
break;
|
|
2416
|
+
}
|
|
2417
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2418
|
+
continue;
|
|
2419
|
+
}
|
|
2420
|
+
case 2: {
|
|
2421
|
+
if (tag !== 18) {
|
|
2422
|
+
break;
|
|
2423
|
+
}
|
|
2424
|
+
message.processName = reader.string();
|
|
2425
|
+
continue;
|
|
2426
|
+
}
|
|
2427
|
+
case 3: {
|
|
2428
|
+
if (tag !== 24) {
|
|
2429
|
+
break;
|
|
2430
|
+
}
|
|
2431
|
+
message.processId = longToNumber(reader.uint64());
|
|
2432
|
+
continue;
|
|
2433
|
+
}
|
|
2434
|
+
case 4: {
|
|
2435
|
+
if (tag !== 32) {
|
|
2436
|
+
break;
|
|
2437
|
+
}
|
|
2438
|
+
message.threadId = longToNumber(reader.uint64());
|
|
2439
|
+
continue;
|
|
2440
|
+
}
|
|
2441
|
+
case 5: {
|
|
2442
|
+
if (tag !== 42) {
|
|
2443
|
+
break;
|
|
2444
|
+
}
|
|
2445
|
+
message.source = reader.string();
|
|
2446
|
+
continue;
|
|
2447
|
+
}
|
|
2448
|
+
case 6: {
|
|
2449
|
+
if (tag !== 48) {
|
|
2450
|
+
break;
|
|
2451
|
+
}
|
|
2452
|
+
message.level = reader.int32();
|
|
2453
|
+
continue;
|
|
2454
|
+
}
|
|
2455
|
+
case 7: {
|
|
2456
|
+
if (tag !== 58) {
|
|
2457
|
+
break;
|
|
2458
|
+
}
|
|
2459
|
+
message.message = reader.string();
|
|
2460
|
+
continue;
|
|
2461
|
+
}
|
|
2462
|
+
}
|
|
2463
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2464
|
+
break;
|
|
2465
|
+
}
|
|
2466
|
+
reader.skip(tag & 7);
|
|
2467
|
+
}
|
|
2468
|
+
return message;
|
|
2469
|
+
},
|
|
2470
|
+
fromJSON(object) {
|
|
2471
|
+
return {
|
|
2472
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2473
|
+
processName: isSet(object.processName) ? gt.String(object.processName) : "",
|
|
2474
|
+
processId: isSet(object.processId) ? gt.Number(object.processId) : 0,
|
|
2475
|
+
threadId: isSet(object.threadId) ? gt.Number(object.threadId) : 0,
|
|
2476
|
+
source: isSet(object.source) ? gt.String(object.source) : "",
|
|
2477
|
+
level: isSet(object.level) ? logEntry_LogLevelFromJSON(object.level) : 0,
|
|
2478
|
+
message: isSet(object.message) ? gt.String(object.message) : "",
|
|
2479
|
+
};
|
|
2480
|
+
},
|
|
2481
|
+
toJSON(message) {
|
|
2482
|
+
const obj = {};
|
|
2483
|
+
if (message.timestamp !== undefined) {
|
|
2484
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2485
|
+
}
|
|
2486
|
+
if (message.processName !== "") {
|
|
2487
|
+
obj.processName = message.processName;
|
|
2488
|
+
}
|
|
2489
|
+
if (message.processId !== 0) {
|
|
2490
|
+
obj.processId = Math.round(message.processId);
|
|
2491
|
+
}
|
|
2492
|
+
if (message.threadId !== 0) {
|
|
2493
|
+
obj.threadId = Math.round(message.threadId);
|
|
2494
|
+
}
|
|
2495
|
+
if (message.source !== "") {
|
|
2496
|
+
obj.source = message.source;
|
|
2497
|
+
}
|
|
2498
|
+
if (message.level !== 0) {
|
|
2499
|
+
obj.level = logEntry_LogLevelToJSON(message.level);
|
|
2500
|
+
}
|
|
2501
|
+
if (message.message !== "") {
|
|
2502
|
+
obj.message = message.message;
|
|
2503
|
+
}
|
|
2504
|
+
return obj;
|
|
2505
|
+
},
|
|
2506
|
+
create(base) {
|
|
2507
|
+
return exports.LogEntry.fromPartial(base ?? {});
|
|
2508
|
+
},
|
|
2509
|
+
fromPartial(object) {
|
|
2510
|
+
const message = createBaseLogEntry();
|
|
2511
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2512
|
+
message.processName = object.processName ?? "";
|
|
2513
|
+
message.processId = object.processId ?? 0;
|
|
2514
|
+
message.threadId = object.threadId ?? 0;
|
|
2515
|
+
message.source = object.source ?? "";
|
|
2516
|
+
message.level = object.level ?? 0;
|
|
2517
|
+
message.message = object.message ?? "";
|
|
2518
|
+
return message;
|
|
2519
|
+
},
|
|
2520
|
+
};
|
|
2153
2521
|
function createBaseMotionInput() {
|
|
2154
2522
|
return { surge: 0, sway: 0, heave: 0, roll: 0, pitch: 0, yaw: 0, slow: 0, boost: 0 };
|
|
2155
2523
|
}
|
|
@@ -9300,11 +9668,20 @@ function createBaseCameraParameters() {
|
|
|
9300
9668
|
whiteBalance: 0,
|
|
9301
9669
|
hue: 0,
|
|
9302
9670
|
gain: 0,
|
|
9671
|
+
brightness: 0,
|
|
9672
|
+
contrast: 0,
|
|
9673
|
+
saturation: 0,
|
|
9674
|
+
gamma: 0,
|
|
9675
|
+
sharpness: 0,
|
|
9676
|
+
backlightCompensation: 0,
|
|
9677
|
+
denoise: 0,
|
|
9303
9678
|
resolution: 0,
|
|
9304
9679
|
streamResolution: 0,
|
|
9305
9680
|
recordingResolution: 0,
|
|
9681
|
+
streamingProtocol: 0,
|
|
9306
9682
|
framerate: 0,
|
|
9307
9683
|
camera: 0,
|
|
9684
|
+
fixedFramerate: false,
|
|
9308
9685
|
};
|
|
9309
9686
|
}
|
|
9310
9687
|
exports.CameraParameters = {
|
|
@@ -9327,6 +9704,27 @@ exports.CameraParameters = {
|
|
|
9327
9704
|
if (message.gain !== 0) {
|
|
9328
9705
|
writer.uint32(77).float(message.gain);
|
|
9329
9706
|
}
|
|
9707
|
+
if (message.brightness !== 0) {
|
|
9708
|
+
writer.uint32(96).int32(message.brightness);
|
|
9709
|
+
}
|
|
9710
|
+
if (message.contrast !== 0) {
|
|
9711
|
+
writer.uint32(104).int32(message.contrast);
|
|
9712
|
+
}
|
|
9713
|
+
if (message.saturation !== 0) {
|
|
9714
|
+
writer.uint32(112).int32(message.saturation);
|
|
9715
|
+
}
|
|
9716
|
+
if (message.gamma !== 0) {
|
|
9717
|
+
writer.uint32(120).int32(message.gamma);
|
|
9718
|
+
}
|
|
9719
|
+
if (message.sharpness !== 0) {
|
|
9720
|
+
writer.uint32(128).int32(message.sharpness);
|
|
9721
|
+
}
|
|
9722
|
+
if (message.backlightCompensation !== 0) {
|
|
9723
|
+
writer.uint32(136).int32(message.backlightCompensation);
|
|
9724
|
+
}
|
|
9725
|
+
if (message.denoise !== 0) {
|
|
9726
|
+
writer.uint32(144).int32(message.denoise);
|
|
9727
|
+
}
|
|
9330
9728
|
if (message.resolution !== 0) {
|
|
9331
9729
|
writer.uint32(48).int32(message.resolution);
|
|
9332
9730
|
}
|
|
@@ -9336,12 +9734,18 @@ exports.CameraParameters = {
|
|
|
9336
9734
|
if (message.recordingResolution !== 0) {
|
|
9337
9735
|
writer.uint32(88).int32(message.recordingResolution);
|
|
9338
9736
|
}
|
|
9737
|
+
if (message.streamingProtocol !== 0) {
|
|
9738
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
9739
|
+
}
|
|
9339
9740
|
if (message.framerate !== 0) {
|
|
9340
9741
|
writer.uint32(56).int32(message.framerate);
|
|
9341
9742
|
}
|
|
9342
9743
|
if (message.camera !== 0) {
|
|
9343
9744
|
writer.uint32(64).int32(message.camera);
|
|
9344
9745
|
}
|
|
9746
|
+
if (message.fixedFramerate !== false) {
|
|
9747
|
+
writer.uint32(152).bool(message.fixedFramerate);
|
|
9748
|
+
}
|
|
9345
9749
|
return writer;
|
|
9346
9750
|
},
|
|
9347
9751
|
decode(input, length) {
|
|
@@ -9393,6 +9797,55 @@ exports.CameraParameters = {
|
|
|
9393
9797
|
message.gain = reader.float();
|
|
9394
9798
|
continue;
|
|
9395
9799
|
}
|
|
9800
|
+
case 12: {
|
|
9801
|
+
if (tag !== 96) {
|
|
9802
|
+
break;
|
|
9803
|
+
}
|
|
9804
|
+
message.brightness = reader.int32();
|
|
9805
|
+
continue;
|
|
9806
|
+
}
|
|
9807
|
+
case 13: {
|
|
9808
|
+
if (tag !== 104) {
|
|
9809
|
+
break;
|
|
9810
|
+
}
|
|
9811
|
+
message.contrast = reader.int32();
|
|
9812
|
+
continue;
|
|
9813
|
+
}
|
|
9814
|
+
case 14: {
|
|
9815
|
+
if (tag !== 112) {
|
|
9816
|
+
break;
|
|
9817
|
+
}
|
|
9818
|
+
message.saturation = reader.int32();
|
|
9819
|
+
continue;
|
|
9820
|
+
}
|
|
9821
|
+
case 15: {
|
|
9822
|
+
if (tag !== 120) {
|
|
9823
|
+
break;
|
|
9824
|
+
}
|
|
9825
|
+
message.gamma = reader.int32();
|
|
9826
|
+
continue;
|
|
9827
|
+
}
|
|
9828
|
+
case 16: {
|
|
9829
|
+
if (tag !== 128) {
|
|
9830
|
+
break;
|
|
9831
|
+
}
|
|
9832
|
+
message.sharpness = reader.int32();
|
|
9833
|
+
continue;
|
|
9834
|
+
}
|
|
9835
|
+
case 17: {
|
|
9836
|
+
if (tag !== 136) {
|
|
9837
|
+
break;
|
|
9838
|
+
}
|
|
9839
|
+
message.backlightCompensation = reader.int32();
|
|
9840
|
+
continue;
|
|
9841
|
+
}
|
|
9842
|
+
case 18: {
|
|
9843
|
+
if (tag !== 144) {
|
|
9844
|
+
break;
|
|
9845
|
+
}
|
|
9846
|
+
message.denoise = reader.int32();
|
|
9847
|
+
continue;
|
|
9848
|
+
}
|
|
9396
9849
|
case 6: {
|
|
9397
9850
|
if (tag !== 48) {
|
|
9398
9851
|
break;
|
|
@@ -9414,6 +9867,13 @@ exports.CameraParameters = {
|
|
|
9414
9867
|
message.recordingResolution = reader.int32();
|
|
9415
9868
|
continue;
|
|
9416
9869
|
}
|
|
9870
|
+
case 20: {
|
|
9871
|
+
if (tag !== 160) {
|
|
9872
|
+
break;
|
|
9873
|
+
}
|
|
9874
|
+
message.streamingProtocol = reader.int32();
|
|
9875
|
+
continue;
|
|
9876
|
+
}
|
|
9417
9877
|
case 7: {
|
|
9418
9878
|
if (tag !== 56) {
|
|
9419
9879
|
break;
|
|
@@ -9428,6 +9888,13 @@ exports.CameraParameters = {
|
|
|
9428
9888
|
message.camera = reader.int32();
|
|
9429
9889
|
continue;
|
|
9430
9890
|
}
|
|
9891
|
+
case 19: {
|
|
9892
|
+
if (tag !== 152) {
|
|
9893
|
+
break;
|
|
9894
|
+
}
|
|
9895
|
+
message.fixedFramerate = reader.bool();
|
|
9896
|
+
continue;
|
|
9897
|
+
}
|
|
9431
9898
|
}
|
|
9432
9899
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9433
9900
|
break;
|
|
@@ -9444,11 +9911,20 @@ exports.CameraParameters = {
|
|
|
9444
9911
|
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
9445
9912
|
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
9446
9913
|
gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
|
|
9914
|
+
brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
|
|
9915
|
+
contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
|
|
9916
|
+
saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
|
|
9917
|
+
gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
|
|
9918
|
+
sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
|
|
9919
|
+
backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
|
|
9920
|
+
denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
|
|
9447
9921
|
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
9448
9922
|
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
9449
9923
|
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
9924
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
9450
9925
|
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
9451
9926
|
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
9927
|
+
fixedFramerate: isSet(object.fixedFramerate) ? gt.Boolean(object.fixedFramerate) : false,
|
|
9452
9928
|
};
|
|
9453
9929
|
},
|
|
9454
9930
|
toJSON(message) {
|
|
@@ -9471,6 +9947,27 @@ exports.CameraParameters = {
|
|
|
9471
9947
|
if (message.gain !== 0) {
|
|
9472
9948
|
obj.gain = message.gain;
|
|
9473
9949
|
}
|
|
9950
|
+
if (message.brightness !== 0) {
|
|
9951
|
+
obj.brightness = Math.round(message.brightness);
|
|
9952
|
+
}
|
|
9953
|
+
if (message.contrast !== 0) {
|
|
9954
|
+
obj.contrast = Math.round(message.contrast);
|
|
9955
|
+
}
|
|
9956
|
+
if (message.saturation !== 0) {
|
|
9957
|
+
obj.saturation = Math.round(message.saturation);
|
|
9958
|
+
}
|
|
9959
|
+
if (message.gamma !== 0) {
|
|
9960
|
+
obj.gamma = Math.round(message.gamma);
|
|
9961
|
+
}
|
|
9962
|
+
if (message.sharpness !== 0) {
|
|
9963
|
+
obj.sharpness = Math.round(message.sharpness);
|
|
9964
|
+
}
|
|
9965
|
+
if (message.backlightCompensation !== 0) {
|
|
9966
|
+
obj.backlightCompensation = Math.round(message.backlightCompensation);
|
|
9967
|
+
}
|
|
9968
|
+
if (message.denoise !== 0) {
|
|
9969
|
+
obj.denoise = Math.round(message.denoise);
|
|
9970
|
+
}
|
|
9474
9971
|
if (message.resolution !== 0) {
|
|
9475
9972
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9476
9973
|
}
|
|
@@ -9480,12 +9977,18 @@ exports.CameraParameters = {
|
|
|
9480
9977
|
if (message.recordingResolution !== 0) {
|
|
9481
9978
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9482
9979
|
}
|
|
9980
|
+
if (message.streamingProtocol !== 0) {
|
|
9981
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
9982
|
+
}
|
|
9483
9983
|
if (message.framerate !== 0) {
|
|
9484
9984
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9485
9985
|
}
|
|
9486
9986
|
if (message.camera !== 0) {
|
|
9487
9987
|
obj.camera = cameraToJSON(message.camera);
|
|
9488
9988
|
}
|
|
9989
|
+
if (message.fixedFramerate !== false) {
|
|
9990
|
+
obj.fixedFramerate = message.fixedFramerate;
|
|
9991
|
+
}
|
|
9489
9992
|
return obj;
|
|
9490
9993
|
},
|
|
9491
9994
|
create(base) {
|
|
@@ -9499,11 +10002,20 @@ exports.CameraParameters = {
|
|
|
9499
10002
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9500
10003
|
message.hue = object.hue ?? 0;
|
|
9501
10004
|
message.gain = object.gain ?? 0;
|
|
10005
|
+
message.brightness = object.brightness ?? 0;
|
|
10006
|
+
message.contrast = object.contrast ?? 0;
|
|
10007
|
+
message.saturation = object.saturation ?? 0;
|
|
10008
|
+
message.gamma = object.gamma ?? 0;
|
|
10009
|
+
message.sharpness = object.sharpness ?? 0;
|
|
10010
|
+
message.backlightCompensation = object.backlightCompensation ?? 0;
|
|
10011
|
+
message.denoise = object.denoise ?? 0;
|
|
9502
10012
|
message.resolution = object.resolution ?? 0;
|
|
9503
10013
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9504
10014
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
10015
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9505
10016
|
message.framerate = object.framerate ?? 0;
|
|
9506
10017
|
message.camera = object.camera ?? 0;
|
|
10018
|
+
message.fixedFramerate = object.fixedFramerate ?? false;
|
|
9507
10019
|
return message;
|
|
9508
10020
|
},
|
|
9509
10021
|
};
|
|
@@ -12247,7 +12759,7 @@ exports.PersistentStorageSettings = {
|
|
|
12247
12759
|
},
|
|
12248
12760
|
};
|
|
12249
12761
|
function createBaseCPUInfo() {
|
|
12250
|
-
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
|
|
12762
|
+
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
|
|
12251
12763
|
}
|
|
12252
12764
|
exports.CPUInfo = {
|
|
12253
12765
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -12263,6 +12775,9 @@ exports.CPUInfo = {
|
|
|
12263
12775
|
if (message.guestportQueueLoad !== 0) {
|
|
12264
12776
|
writer.uint32(37).float(message.guestportQueueLoad);
|
|
12265
12777
|
}
|
|
12778
|
+
if (message.commQueueLoad !== 0) {
|
|
12779
|
+
writer.uint32(45).float(message.commQueueLoad);
|
|
12780
|
+
}
|
|
12266
12781
|
return writer;
|
|
12267
12782
|
},
|
|
12268
12783
|
decode(input, length) {
|
|
@@ -12300,6 +12815,13 @@ exports.CPUInfo = {
|
|
|
12300
12815
|
message.guestportQueueLoad = reader.float();
|
|
12301
12816
|
continue;
|
|
12302
12817
|
}
|
|
12818
|
+
case 5: {
|
|
12819
|
+
if (tag !== 45) {
|
|
12820
|
+
break;
|
|
12821
|
+
}
|
|
12822
|
+
message.commQueueLoad = reader.float();
|
|
12823
|
+
continue;
|
|
12824
|
+
}
|
|
12303
12825
|
}
|
|
12304
12826
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12305
12827
|
break;
|
|
@@ -12314,6 +12836,7 @@ exports.CPUInfo = {
|
|
|
12314
12836
|
memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
|
|
12315
12837
|
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
12316
12838
|
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
12839
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
12317
12840
|
};
|
|
12318
12841
|
},
|
|
12319
12842
|
toJSON(message) {
|
|
@@ -12330,6 +12853,9 @@ exports.CPUInfo = {
|
|
|
12330
12853
|
if (message.guestportQueueLoad !== 0) {
|
|
12331
12854
|
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
12332
12855
|
}
|
|
12856
|
+
if (message.commQueueLoad !== 0) {
|
|
12857
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
12858
|
+
}
|
|
12333
12859
|
return obj;
|
|
12334
12860
|
},
|
|
12335
12861
|
create(base) {
|
|
@@ -12341,6 +12867,126 @@ exports.CPUInfo = {
|
|
|
12341
12867
|
message.memoryBusLoad = object.memoryBusLoad ?? 0;
|
|
12342
12868
|
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
12343
12869
|
message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
|
|
12870
|
+
message.commQueueLoad = object.commQueueLoad ?? 0;
|
|
12871
|
+
return message;
|
|
12872
|
+
},
|
|
12873
|
+
};
|
|
12874
|
+
function createBaseSurfaceUnitBatteryInfo() {
|
|
12875
|
+
return { status: 0, level: 0 };
|
|
12876
|
+
}
|
|
12877
|
+
exports.SurfaceUnitBatteryInfo = {
|
|
12878
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
12879
|
+
if (message.status !== 0) {
|
|
12880
|
+
writer.uint32(8).int32(message.status);
|
|
12881
|
+
}
|
|
12882
|
+
if (message.level !== 0) {
|
|
12883
|
+
writer.uint32(21).float(message.level);
|
|
12884
|
+
}
|
|
12885
|
+
return writer;
|
|
12886
|
+
},
|
|
12887
|
+
decode(input, length) {
|
|
12888
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
12889
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12890
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
12891
|
+
while (reader.pos < end) {
|
|
12892
|
+
const tag = reader.uint32();
|
|
12893
|
+
switch (tag >>> 3) {
|
|
12894
|
+
case 1: {
|
|
12895
|
+
if (tag !== 8) {
|
|
12896
|
+
break;
|
|
12897
|
+
}
|
|
12898
|
+
message.status = reader.int32();
|
|
12899
|
+
continue;
|
|
12900
|
+
}
|
|
12901
|
+
case 2: {
|
|
12902
|
+
if (tag !== 21) {
|
|
12903
|
+
break;
|
|
12904
|
+
}
|
|
12905
|
+
message.level = reader.float();
|
|
12906
|
+
continue;
|
|
12907
|
+
}
|
|
12908
|
+
}
|
|
12909
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
12910
|
+
break;
|
|
12911
|
+
}
|
|
12912
|
+
reader.skip(tag & 7);
|
|
12913
|
+
}
|
|
12914
|
+
return message;
|
|
12915
|
+
},
|
|
12916
|
+
fromJSON(object) {
|
|
12917
|
+
return {
|
|
12918
|
+
status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
|
|
12919
|
+
level: isSet(object.level) ? gt.Number(object.level) : 0,
|
|
12920
|
+
};
|
|
12921
|
+
},
|
|
12922
|
+
toJSON(message) {
|
|
12923
|
+
const obj = {};
|
|
12924
|
+
if (message.status !== 0) {
|
|
12925
|
+
obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
|
|
12926
|
+
}
|
|
12927
|
+
if (message.level !== 0) {
|
|
12928
|
+
obj.level = message.level;
|
|
12929
|
+
}
|
|
12930
|
+
return obj;
|
|
12931
|
+
},
|
|
12932
|
+
create(base) {
|
|
12933
|
+
return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
|
|
12934
|
+
},
|
|
12935
|
+
fromPartial(object) {
|
|
12936
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
12937
|
+
message.status = object.status ?? 0;
|
|
12938
|
+
message.level = object.level ?? 0;
|
|
12939
|
+
return message;
|
|
12940
|
+
},
|
|
12941
|
+
};
|
|
12942
|
+
function createBaseSurfaceUnitVersionInfo() {
|
|
12943
|
+
return { version: "" };
|
|
12944
|
+
}
|
|
12945
|
+
exports.SurfaceUnitVersionInfo = {
|
|
12946
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
12947
|
+
if (message.version !== "") {
|
|
12948
|
+
writer.uint32(10).string(message.version);
|
|
12949
|
+
}
|
|
12950
|
+
return writer;
|
|
12951
|
+
},
|
|
12952
|
+
decode(input, length) {
|
|
12953
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
12954
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12955
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
12956
|
+
while (reader.pos < end) {
|
|
12957
|
+
const tag = reader.uint32();
|
|
12958
|
+
switch (tag >>> 3) {
|
|
12959
|
+
case 1: {
|
|
12960
|
+
if (tag !== 10) {
|
|
12961
|
+
break;
|
|
12962
|
+
}
|
|
12963
|
+
message.version = reader.string();
|
|
12964
|
+
continue;
|
|
12965
|
+
}
|
|
12966
|
+
}
|
|
12967
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
12968
|
+
break;
|
|
12969
|
+
}
|
|
12970
|
+
reader.skip(tag & 7);
|
|
12971
|
+
}
|
|
12972
|
+
return message;
|
|
12973
|
+
},
|
|
12974
|
+
fromJSON(object) {
|
|
12975
|
+
return { version: isSet(object.version) ? gt.String(object.version) : "" };
|
|
12976
|
+
},
|
|
12977
|
+
toJSON(message) {
|
|
12978
|
+
const obj = {};
|
|
12979
|
+
if (message.version !== "") {
|
|
12980
|
+
obj.version = message.version;
|
|
12981
|
+
}
|
|
12982
|
+
return obj;
|
|
12983
|
+
},
|
|
12984
|
+
create(base) {
|
|
12985
|
+
return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
|
|
12986
|
+
},
|
|
12987
|
+
fromPartial(object) {
|
|
12988
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
12989
|
+
message.version = object.version ?? "";
|
|
12344
12990
|
return message;
|
|
12345
12991
|
},
|
|
12346
12992
|
};
|