@blueyerobotics/protocol-definitions 3.2.0-c785049b → 3.2.0-d3c78945

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.
@@ -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.5
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.ConnectedClient = exports.ClientInfo = 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.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.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.GuestPortInfo = exports.GuestPortConnectorInfo = 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 = void 0;
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 = exports.ThicknessGauge = exports.GuestPortRestartInfo = void 0;
8
+ exports.WeatherVaningState = exports.StationKeepingState = exports.AutoAltitudeState = exports.AutoDepthState = exports.AutoHeadingState = exports.ConnectionDuration = exports.LatLongPosition = exports.Laser = exports.Lights = exports.MotionInput = exports.KernelLogEntry_KeyValuePair = exports.KernelLogEntry = exports.LogEntry = exports.BinlogRecord = exports.SurfaceUnitBatteryInfo_ChargeStatus = exports.MultibeamConfig_MaximumNumberOfBeams = exports.MultibeamConfig_PingRate = exports.CalibrationState_Status = exports.RemovableStorageDevice_Status = exports.BatteryBQ40Z50_BatteryStatus_BatteryError = exports.PingerConfiguration_MountingDirection = exports.KernelLogEntry_KernelLogLevel = exports.LogEntry_LogLevel = exports.ThermalZoneId = exports.MultibeamFrequencyMode = exports.GuestPortError = exports.GuestPortDetachStatus = exports.NavigationSensorID = exports.GuestPortNumber = exports.GuestPortDeviceID = exports.FontSize = exports.ThicknessUnit = exports.DepthUnit = exports.LogoType = exports.TemperatureUnit = exports.RecordingCodec = 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.DroneInfo = exports.TiltVelocity = exports.TiltAngle = exports.NStreamers = exports.IperfStatus = exports.CalibrationState = exports.RemovableStorageErrorFlags = exports.RemovableStorageDevice = exports.StoragePartition = exports.StorageSpace = exports.RecordOn = exports.DiveTime = exports.ControllerHealth = exports.ControlForce = exports.Notification = exports.Reference = exports.Depth = exports.DvlVelocity = exports.DvlTransducer = exports.ResetPositionSettings = exports.PositionEstimate = exports.ForwardDistance = exports.Altitude = exports.MagneticDeclination = exports.Attitude = exports.BatteryBQ40Z50_BatteryChargingEvents = exports.BatteryBQ40Z50_BatterySafetyEvents = exports.BatteryBQ40Z50_BatteryLifetimes_CellVoltages = exports.BatteryBQ40Z50_BatteryLifetimes = exports.BatteryBQ40Z50_BatteryStatus = exports.BatteryBQ40Z50_Temperature = exports.BatteryBQ40Z50_Voltage = exports.BatteryBQ40Z50 = exports.Battery = exports.CanisterHumidity = exports.CanisterTemperature = exports.CPUTemperature = exports.WaterTemperature = exports.PingerConfiguration = exports.WaterDensity = exports.TimeLapseState = exports.RecordState = exports.ConnectedClient = exports.ClientInfo = exports.GripperVelocities = exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = exports.AutoPilotHeaveState = exports.AutoPilotSurgeYawState = void 0;
10
+ exports.OperatorInfo = exports.CameraPanTiltZoom = exports.FilterMessage = exports.ObjectDetections = exports.ObjectDetection = exports.BoundingBox = exports.SurfaceUnitVersionInfo = exports.SurfaceUnitBatteryInfo = exports.SystemPerformanceInfo = exports.VideoCodecInfo = exports.ThermalZone = exports.MemoryInfo = exports.DlaInfo = exports.GpuInfo = exports.CpuCoreLoad = exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = exports.GuestPortInfo = exports.GuestPortConnectorInfo = exports.GuestPortDeviceList = exports.GuestPortDevice = exports.NavigationSensorStatus = exports.OverlayParameters = exports.CameraParameters = exports.ErrorFlags = 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,10 @@ 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;
39
+ exports.recordingCodecFromJSON = recordingCodecFromJSON;
40
+ exports.recordingCodecToJSON = recordingCodecToJSON;
35
41
  exports.temperatureUnitFromJSON = temperatureUnitFromJSON;
36
42
  exports.temperatureUnitToJSON = temperatureUnitToJSON;
37
43
  exports.logoTypeFromJSON = logoTypeFromJSON;
@@ -54,8 +60,12 @@ exports.guestPortErrorFromJSON = guestPortErrorFromJSON;
54
60
  exports.guestPortErrorToJSON = guestPortErrorToJSON;
55
61
  exports.multibeamFrequencyModeFromJSON = multibeamFrequencyModeFromJSON;
56
62
  exports.multibeamFrequencyModeToJSON = multibeamFrequencyModeToJSON;
63
+ exports.thermalZoneIdFromJSON = thermalZoneIdFromJSON;
64
+ exports.thermalZoneIdToJSON = thermalZoneIdToJSON;
57
65
  exports.logEntry_LogLevelFromJSON = logEntry_LogLevelFromJSON;
58
66
  exports.logEntry_LogLevelToJSON = logEntry_LogLevelToJSON;
67
+ exports.kernelLogEntry_KernelLogLevelFromJSON = kernelLogEntry_KernelLogLevelFromJSON;
68
+ exports.kernelLogEntry_KernelLogLevelToJSON = kernelLogEntry_KernelLogLevelToJSON;
59
69
  exports.pingerConfiguration_MountingDirectionFromJSON = pingerConfiguration_MountingDirectionFromJSON;
60
70
  exports.pingerConfiguration_MountingDirectionToJSON = pingerConfiguration_MountingDirectionToJSON;
61
71
  exports.batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON;
@@ -68,6 +78,8 @@ exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
68
78
  exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
69
79
  exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
70
80
  exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
81
+ exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
82
+ exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
71
83
  /* eslint-disable */
72
84
  const wire_1 = require("@bufbuild/protobuf/wire");
73
85
  const any_1 = require("./google/protobuf/any");
@@ -589,6 +601,51 @@ function notificationLevelToJSON(object) {
589
601
  return "UNRECOGNIZED";
590
602
  }
591
603
  }
604
+ /**
605
+ * Storage location.
606
+ *
607
+ * Used to specify which storage location to use for recording photos and videos.
608
+ */
609
+ var StorageLocation;
610
+ (function (StorageLocation) {
611
+ /** STORAGE_LOCATION_UNSPECIFIED - Unspecified. */
612
+ StorageLocation[StorageLocation["STORAGE_LOCATION_UNSPECIFIED"] = 0] = "STORAGE_LOCATION_UNSPECIFIED";
613
+ /** STORAGE_LOCATION_INTERNAL - Internal storage of the drone. */
614
+ StorageLocation[StorageLocation["STORAGE_LOCATION_INTERNAL"] = 1] = "STORAGE_LOCATION_INTERNAL";
615
+ /** STORAGE_LOCATION_REMOVABLE - Removable storage device. */
616
+ StorageLocation[StorageLocation["STORAGE_LOCATION_REMOVABLE"] = 2] = "STORAGE_LOCATION_REMOVABLE";
617
+ StorageLocation[StorageLocation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
618
+ })(StorageLocation || (exports.StorageLocation = StorageLocation = {}));
619
+ function storageLocationFromJSON(object) {
620
+ switch (object) {
621
+ case 0:
622
+ case "STORAGE_LOCATION_UNSPECIFIED":
623
+ return StorageLocation.STORAGE_LOCATION_UNSPECIFIED;
624
+ case 1:
625
+ case "STORAGE_LOCATION_INTERNAL":
626
+ return StorageLocation.STORAGE_LOCATION_INTERNAL;
627
+ case 2:
628
+ case "STORAGE_LOCATION_REMOVABLE":
629
+ return StorageLocation.STORAGE_LOCATION_REMOVABLE;
630
+ case -1:
631
+ case "UNRECOGNIZED":
632
+ default:
633
+ return StorageLocation.UNRECOGNIZED;
634
+ }
635
+ }
636
+ function storageLocationToJSON(object) {
637
+ switch (object) {
638
+ case StorageLocation.STORAGE_LOCATION_UNSPECIFIED:
639
+ return "STORAGE_LOCATION_UNSPECIFIED";
640
+ case StorageLocation.STORAGE_LOCATION_INTERNAL:
641
+ return "STORAGE_LOCATION_INTERNAL";
642
+ case StorageLocation.STORAGE_LOCATION_REMOVABLE:
643
+ return "STORAGE_LOCATION_REMOVABLE";
644
+ case StorageLocation.UNRECOGNIZED:
645
+ default:
646
+ return "UNRECOGNIZED";
647
+ }
648
+ }
592
649
  /** Drone models produced by Blueye. */
593
650
  var Model;
594
651
  (function (Model) {
@@ -604,6 +661,8 @@ var Model;
604
661
  Model[Model["MODEL_X3"] = 3] = "MODEL_X3";
605
662
  /** MODEL_X3_ULTRA - Blueye X3 Ultra. */
606
663
  Model[Model["MODEL_X3_ULTRA"] = 6] = "MODEL_X3_ULTRA";
664
+ /** MODEL_X7 - Blueye X7. */
665
+ Model[Model["MODEL_X7"] = 7] = "MODEL_X7";
607
666
  /** MODEL_NEXT - Blueye ? */
608
667
  Model[Model["MODEL_NEXT"] = 5] = "MODEL_NEXT";
609
668
  Model[Model["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
@@ -628,6 +687,9 @@ function modelFromJSON(object) {
628
687
  case 6:
629
688
  case "MODEL_X3_ULTRA":
630
689
  return Model.MODEL_X3_ULTRA;
690
+ case 7:
691
+ case "MODEL_X7":
692
+ return Model.MODEL_X7;
631
693
  case 5:
632
694
  case "MODEL_NEXT":
633
695
  return Model.MODEL_NEXT;
@@ -651,6 +713,8 @@ function modelToJSON(object) {
651
713
  return "MODEL_X3";
652
714
  case Model.MODEL_X3_ULTRA:
653
715
  return "MODEL_X3_ULTRA";
716
+ case Model.MODEL_X7:
717
+ return "MODEL_X7";
654
718
  case Model.MODEL_NEXT:
655
719
  return "MODEL_NEXT";
656
720
  case Model.UNRECOGNIZED:
@@ -718,12 +782,16 @@ var Resolution;
718
782
  (function (Resolution) {
719
783
  /** RESOLUTION_UNSPECIFIED - Resolution not specified. */
720
784
  Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
721
- /** RESOLUTION_FULLHD_1080P - 1080p Full HD resolution. */
722
- Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
723
- /** RESOLUTION_HD_720P - 720p HD resolution. */
785
+ /** RESOLUTION_VGA_480P - VGA (640x480). */
786
+ Resolution[Resolution["RESOLUTION_VGA_480P"] = 4] = "RESOLUTION_VGA_480P";
787
+ /** RESOLUTION_HD_720P - 720p HD (1280x720). */
724
788
  Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
725
- /** RESOLUTION_UHD_4K - 4K Ultra HD resolution. */
789
+ /** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
790
+ Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
791
+ /** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
726
792
  Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
793
+ /** RESOLUTION_QHD_2K - 2K QHD (2560x1440, Only supported on X3 Ultra). */
794
+ Resolution[Resolution["RESOLUTION_QHD_2K"] = 5] = "RESOLUTION_QHD_2K";
727
795
  Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
728
796
  })(Resolution || (exports.Resolution = Resolution = {}));
729
797
  function resolutionFromJSON(object) {
@@ -731,15 +799,21 @@ function resolutionFromJSON(object) {
731
799
  case 0:
732
800
  case "RESOLUTION_UNSPECIFIED":
733
801
  return Resolution.RESOLUTION_UNSPECIFIED;
734
- case 1:
735
- case "RESOLUTION_FULLHD_1080P":
736
- return Resolution.RESOLUTION_FULLHD_1080P;
802
+ case 4:
803
+ case "RESOLUTION_VGA_480P":
804
+ return Resolution.RESOLUTION_VGA_480P;
737
805
  case 2:
738
806
  case "RESOLUTION_HD_720P":
739
807
  return Resolution.RESOLUTION_HD_720P;
808
+ case 1:
809
+ case "RESOLUTION_FULLHD_1080P":
810
+ return Resolution.RESOLUTION_FULLHD_1080P;
740
811
  case 3:
741
812
  case "RESOLUTION_UHD_4K":
742
813
  return Resolution.RESOLUTION_UHD_4K;
814
+ case 5:
815
+ case "RESOLUTION_QHD_2K":
816
+ return Resolution.RESOLUTION_QHD_2K;
743
817
  case -1:
744
818
  case "UNRECOGNIZED":
745
819
  default:
@@ -750,26 +824,37 @@ function resolutionToJSON(object) {
750
824
  switch (object) {
751
825
  case Resolution.RESOLUTION_UNSPECIFIED:
752
826
  return "RESOLUTION_UNSPECIFIED";
753
- case Resolution.RESOLUTION_FULLHD_1080P:
754
- return "RESOLUTION_FULLHD_1080P";
827
+ case Resolution.RESOLUTION_VGA_480P:
828
+ return "RESOLUTION_VGA_480P";
755
829
  case Resolution.RESOLUTION_HD_720P:
756
830
  return "RESOLUTION_HD_720P";
831
+ case Resolution.RESOLUTION_FULLHD_1080P:
832
+ return "RESOLUTION_FULLHD_1080P";
757
833
  case Resolution.RESOLUTION_UHD_4K:
758
834
  return "RESOLUTION_UHD_4K";
835
+ case Resolution.RESOLUTION_QHD_2K:
836
+ return "RESOLUTION_QHD_2K";
759
837
  case Resolution.UNRECOGNIZED:
760
838
  default:
761
839
  return "UNRECOGNIZED";
762
840
  }
763
841
  }
764
- /** Available camera frame rates. */
842
+ /**
843
+ * Available camera frame rates.
844
+ *
845
+ * If the requested frame rate is higher than what is supported at the current resolution,
846
+ * the frame rate will be reduced while the resolution is respected.
847
+ */
765
848
  var Framerate;
766
849
  (function (Framerate) {
767
850
  /** FRAMERATE_UNSPECIFIED - Framerate not specified. */
768
851
  Framerate[Framerate["FRAMERATE_UNSPECIFIED"] = 0] = "FRAMERATE_UNSPECIFIED";
769
852
  /** FRAMERATE_FPS_30 - 30 frames per second. */
770
853
  Framerate[Framerate["FRAMERATE_FPS_30"] = 1] = "FRAMERATE_FPS_30";
771
- /** FRAMERATE_FPS_25 - 25 frames per second. */
854
+ /** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
772
855
  Framerate[Framerate["FRAMERATE_FPS_25"] = 2] = "FRAMERATE_FPS_25";
856
+ /** FRAMERATE_FPS_60 - 60 frames per second. (Only supported on X3 Ultra at QHD, 1080p and 720p) */
857
+ Framerate[Framerate["FRAMERATE_FPS_60"] = 3] = "FRAMERATE_FPS_60";
773
858
  Framerate[Framerate["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
774
859
  })(Framerate || (exports.Framerate = Framerate = {}));
775
860
  function framerateFromJSON(object) {
@@ -783,6 +868,9 @@ function framerateFromJSON(object) {
783
868
  case 2:
784
869
  case "FRAMERATE_FPS_25":
785
870
  return Framerate.FRAMERATE_FPS_25;
871
+ case 3:
872
+ case "FRAMERATE_FPS_60":
873
+ return Framerate.FRAMERATE_FPS_60;
786
874
  case -1:
787
875
  case "UNRECOGNIZED":
788
876
  default:
@@ -797,6 +885,8 @@ function framerateToJSON(object) {
797
885
  return "FRAMERATE_FPS_30";
798
886
  case Framerate.FRAMERATE_FPS_25:
799
887
  return "FRAMERATE_FPS_25";
888
+ case Framerate.FRAMERATE_FPS_60:
889
+ return "FRAMERATE_FPS_60";
800
890
  case Framerate.UNRECOGNIZED:
801
891
  default:
802
892
  return "UNRECOGNIZED";
@@ -843,6 +933,87 @@ function cameraToJSON(object) {
843
933
  return "UNRECOGNIZED";
844
934
  }
845
935
  }
936
+ var StreamingProtocol;
937
+ (function (StreamingProtocol) {
938
+ /** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
939
+ StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_UNSPECIFIED"] = 0] = "STREAMING_PROTOCOL_UNSPECIFIED";
940
+ /** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
941
+ StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_H264"] = 1] = "STREAMING_PROTOCOL_RTSP_H264";
942
+ /** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. No recording when activated. */
943
+ StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_MJPEG"] = 2] = "STREAMING_PROTOCOL_RTSP_MJPEG";
944
+ StreamingProtocol[StreamingProtocol["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
945
+ })(StreamingProtocol || (exports.StreamingProtocol = StreamingProtocol = {}));
946
+ function streamingProtocolFromJSON(object) {
947
+ switch (object) {
948
+ case 0:
949
+ case "STREAMING_PROTOCOL_UNSPECIFIED":
950
+ return StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED;
951
+ case 1:
952
+ case "STREAMING_PROTOCOL_RTSP_H264":
953
+ return StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264;
954
+ case 2:
955
+ case "STREAMING_PROTOCOL_RTSP_MJPEG":
956
+ return StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG;
957
+ case -1:
958
+ case "UNRECOGNIZED":
959
+ default:
960
+ return StreamingProtocol.UNRECOGNIZED;
961
+ }
962
+ }
963
+ function streamingProtocolToJSON(object) {
964
+ switch (object) {
965
+ case StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED:
966
+ return "STREAMING_PROTOCOL_UNSPECIFIED";
967
+ case StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264:
968
+ return "STREAMING_PROTOCOL_RTSP_H264";
969
+ case StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG:
970
+ return "STREAMING_PROTOCOL_RTSP_MJPEG";
971
+ case StreamingProtocol.UNRECOGNIZED:
972
+ default:
973
+ return "UNRECOGNIZED";
974
+ }
975
+ }
976
+ /** Recording video codec. */
977
+ var RecordingCodec;
978
+ (function (RecordingCodec) {
979
+ /** RECORDING_CODEC_UNSPECIFIED - Use platform default (H.264). */
980
+ RecordingCodec[RecordingCodec["RECORDING_CODEC_UNSPECIFIED"] = 0] = "RECORDING_CODEC_UNSPECIFIED";
981
+ /** RECORDING_CODEC_H264 - H.264/AVC codec. Wider compatibility with players/editors. */
982
+ RecordingCodec[RecordingCodec["RECORDING_CODEC_H264"] = 1] = "RECORDING_CODEC_H264";
983
+ /** RECORDING_CODEC_H265 - H.265/HEVC codec. Better compression, limited compatibility. Ultra only. */
984
+ RecordingCodec[RecordingCodec["RECORDING_CODEC_H265"] = 2] = "RECORDING_CODEC_H265";
985
+ RecordingCodec[RecordingCodec["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
986
+ })(RecordingCodec || (exports.RecordingCodec = RecordingCodec = {}));
987
+ function recordingCodecFromJSON(object) {
988
+ switch (object) {
989
+ case 0:
990
+ case "RECORDING_CODEC_UNSPECIFIED":
991
+ return RecordingCodec.RECORDING_CODEC_UNSPECIFIED;
992
+ case 1:
993
+ case "RECORDING_CODEC_H264":
994
+ return RecordingCodec.RECORDING_CODEC_H264;
995
+ case 2:
996
+ case "RECORDING_CODEC_H265":
997
+ return RecordingCodec.RECORDING_CODEC_H265;
998
+ case -1:
999
+ case "UNRECOGNIZED":
1000
+ default:
1001
+ return RecordingCodec.UNRECOGNIZED;
1002
+ }
1003
+ }
1004
+ function recordingCodecToJSON(object) {
1005
+ switch (object) {
1006
+ case RecordingCodec.RECORDING_CODEC_UNSPECIFIED:
1007
+ return "RECORDING_CODEC_UNSPECIFIED";
1008
+ case RecordingCodec.RECORDING_CODEC_H264:
1009
+ return "RECORDING_CODEC_H264";
1010
+ case RecordingCodec.RECORDING_CODEC_H265:
1011
+ return "RECORDING_CODEC_H265";
1012
+ case RecordingCodec.UNRECOGNIZED:
1013
+ default:
1014
+ return "UNRECOGNIZED";
1015
+ }
1016
+ }
846
1017
  /** Available temperature units. */
847
1018
  var TemperatureUnit;
848
1019
  (function (TemperatureUnit) {
@@ -1176,6 +1347,12 @@ var GuestPortDeviceID;
1176
1347
  GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
1177
1348
  /** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
1178
1349
  GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
1350
+ /** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
1351
+ GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
1352
+ /** GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 - Blueye Multibeam Skid Servo V2. */
1353
+ GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2"] = 46] = "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
1354
+ /** GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT - Cerulean Omniscan 450 Compact. */
1355
+ GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT"] = 47] = "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
1179
1356
  GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
1180
1357
  })(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
1181
1358
  function guestPortDeviceIDFromJSON(object) {
@@ -1315,6 +1492,15 @@ function guestPortDeviceIDFromJSON(object) {
1315
1492
  case 44:
1316
1493
  case "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650":
1317
1494
  return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650;
1495
+ case 45:
1496
+ case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
1497
+ return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
1498
+ case 46:
1499
+ case "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2":
1500
+ return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2;
1501
+ case 47:
1502
+ case "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT":
1503
+ return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT;
1318
1504
  case -1:
1319
1505
  case "UNRECOGNIZED":
1320
1506
  default:
@@ -1413,6 +1599,12 @@ function guestPortDeviceIDToJSON(object) {
1413
1599
  return "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
1414
1600
  case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650:
1415
1601
  return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
1602
+ case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
1603
+ return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
1604
+ case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2:
1605
+ return "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
1606
+ case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT:
1607
+ return "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
1416
1608
  case GuestPortDeviceID.UNRECOGNIZED:
1417
1609
  default:
1418
1610
  return "UNRECOGNIZED";
@@ -1689,6 +1881,47 @@ function multibeamFrequencyModeToJSON(object) {
1689
1881
  return "UNRECOGNIZED";
1690
1882
  }
1691
1883
  }
1884
+ /** Thermal zone identifiers. */
1885
+ var ThermalZoneId;
1886
+ (function (ThermalZoneId) {
1887
+ /** THERMAL_ZONE_ID_UNSPECIFIED - Unspecified thermal zone. */
1888
+ ThermalZoneId[ThermalZoneId["THERMAL_ZONE_ID_UNSPECIFIED"] = 0] = "THERMAL_ZONE_ID_UNSPECIFIED";
1889
+ /** THERMAL_ZONE_ID_TJ - Junction temperature (Tj). */
1890
+ ThermalZoneId[ThermalZoneId["THERMAL_ZONE_ID_TJ"] = 1] = "THERMAL_ZONE_ID_TJ";
1891
+ /** THERMAL_ZONE_ID_CANISTER - Canister temperature. */
1892
+ ThermalZoneId[ThermalZoneId["THERMAL_ZONE_ID_CANISTER"] = 2] = "THERMAL_ZONE_ID_CANISTER";
1893
+ ThermalZoneId[ThermalZoneId["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
1894
+ })(ThermalZoneId || (exports.ThermalZoneId = ThermalZoneId = {}));
1895
+ function thermalZoneIdFromJSON(object) {
1896
+ switch (object) {
1897
+ case 0:
1898
+ case "THERMAL_ZONE_ID_UNSPECIFIED":
1899
+ return ThermalZoneId.THERMAL_ZONE_ID_UNSPECIFIED;
1900
+ case 1:
1901
+ case "THERMAL_ZONE_ID_TJ":
1902
+ return ThermalZoneId.THERMAL_ZONE_ID_TJ;
1903
+ case 2:
1904
+ case "THERMAL_ZONE_ID_CANISTER":
1905
+ return ThermalZoneId.THERMAL_ZONE_ID_CANISTER;
1906
+ case -1:
1907
+ case "UNRECOGNIZED":
1908
+ default:
1909
+ return ThermalZoneId.UNRECOGNIZED;
1910
+ }
1911
+ }
1912
+ function thermalZoneIdToJSON(object) {
1913
+ switch (object) {
1914
+ case ThermalZoneId.THERMAL_ZONE_ID_UNSPECIFIED:
1915
+ return "THERMAL_ZONE_ID_UNSPECIFIED";
1916
+ case ThermalZoneId.THERMAL_ZONE_ID_TJ:
1917
+ return "THERMAL_ZONE_ID_TJ";
1918
+ case ThermalZoneId.THERMAL_ZONE_ID_CANISTER:
1919
+ return "THERMAL_ZONE_ID_CANISTER";
1920
+ case ThermalZoneId.UNRECOGNIZED:
1921
+ default:
1922
+ return "UNRECOGNIZED";
1923
+ }
1924
+ }
1692
1925
  var LogEntry_LogLevel;
1693
1926
  (function (LogEntry_LogLevel) {
1694
1927
  /** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
@@ -1757,6 +1990,89 @@ function logEntry_LogLevelToJSON(object) {
1757
1990
  return "UNRECOGNIZED";
1758
1991
  }
1759
1992
  }
1993
+ /** Kernel log level. */
1994
+ var KernelLogEntry_KernelLogLevel;
1995
+ (function (KernelLogEntry_KernelLogLevel) {
1996
+ /** KERNEL_LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
1997
+ KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_UNSPECIFIED"] = 0] = "KERNEL_LOG_LEVEL_UNSPECIFIED";
1998
+ /** KERNEL_LOG_LEVEL_EMERG - Emergency log level. */
1999
+ KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_EMERG"] = 1] = "KERNEL_LOG_LEVEL_EMERG";
2000
+ /** KERNEL_LOG_LEVEL_ALERT - Alert log level. */
2001
+ KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ALERT"] = 2] = "KERNEL_LOG_LEVEL_ALERT";
2002
+ /** KERNEL_LOG_LEVEL_CRIT - Critical log level. */
2003
+ KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_CRIT"] = 3] = "KERNEL_LOG_LEVEL_CRIT";
2004
+ /** KERNEL_LOG_LEVEL_ERR - Error log level. */
2005
+ KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ERR"] = 4] = "KERNEL_LOG_LEVEL_ERR";
2006
+ /** KERNEL_LOG_LEVEL_WARNING - Warning log level. */
2007
+ KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_WARNING"] = 5] = "KERNEL_LOG_LEVEL_WARNING";
2008
+ /** KERNEL_LOG_LEVEL_NOTICE - Notice log level. */
2009
+ KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_NOTICE"] = 6] = "KERNEL_LOG_LEVEL_NOTICE";
2010
+ /** KERNEL_LOG_LEVEL_INFO - Informational log level. */
2011
+ KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_INFO"] = 7] = "KERNEL_LOG_LEVEL_INFO";
2012
+ /** KERNEL_LOG_LEVEL_DEBUG - Debug log level. */
2013
+ KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_DEBUG"] = 8] = "KERNEL_LOG_LEVEL_DEBUG";
2014
+ KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
2015
+ })(KernelLogEntry_KernelLogLevel || (exports.KernelLogEntry_KernelLogLevel = KernelLogEntry_KernelLogLevel = {}));
2016
+ function kernelLogEntry_KernelLogLevelFromJSON(object) {
2017
+ switch (object) {
2018
+ case 0:
2019
+ case "KERNEL_LOG_LEVEL_UNSPECIFIED":
2020
+ return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED;
2021
+ case 1:
2022
+ case "KERNEL_LOG_LEVEL_EMERG":
2023
+ return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG;
2024
+ case 2:
2025
+ case "KERNEL_LOG_LEVEL_ALERT":
2026
+ return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT;
2027
+ case 3:
2028
+ case "KERNEL_LOG_LEVEL_CRIT":
2029
+ return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT;
2030
+ case 4:
2031
+ case "KERNEL_LOG_LEVEL_ERR":
2032
+ return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR;
2033
+ case 5:
2034
+ case "KERNEL_LOG_LEVEL_WARNING":
2035
+ return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING;
2036
+ case 6:
2037
+ case "KERNEL_LOG_LEVEL_NOTICE":
2038
+ return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE;
2039
+ case 7:
2040
+ case "KERNEL_LOG_LEVEL_INFO":
2041
+ return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO;
2042
+ case 8:
2043
+ case "KERNEL_LOG_LEVEL_DEBUG":
2044
+ return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG;
2045
+ case -1:
2046
+ case "UNRECOGNIZED":
2047
+ default:
2048
+ return KernelLogEntry_KernelLogLevel.UNRECOGNIZED;
2049
+ }
2050
+ }
2051
+ function kernelLogEntry_KernelLogLevelToJSON(object) {
2052
+ switch (object) {
2053
+ case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED:
2054
+ return "KERNEL_LOG_LEVEL_UNSPECIFIED";
2055
+ case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG:
2056
+ return "KERNEL_LOG_LEVEL_EMERG";
2057
+ case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT:
2058
+ return "KERNEL_LOG_LEVEL_ALERT";
2059
+ case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT:
2060
+ return "KERNEL_LOG_LEVEL_CRIT";
2061
+ case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR:
2062
+ return "KERNEL_LOG_LEVEL_ERR";
2063
+ case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING:
2064
+ return "KERNEL_LOG_LEVEL_WARNING";
2065
+ case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE:
2066
+ return "KERNEL_LOG_LEVEL_NOTICE";
2067
+ case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO:
2068
+ return "KERNEL_LOG_LEVEL_INFO";
2069
+ case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG:
2070
+ return "KERNEL_LOG_LEVEL_DEBUG";
2071
+ case KernelLogEntry_KernelLogLevel.UNRECOGNIZED:
2072
+ default:
2073
+ return "UNRECOGNIZED";
2074
+ }
2075
+ }
1760
2076
  var PingerConfiguration_MountingDirection;
1761
2077
  (function (PingerConfiguration_MountingDirection) {
1762
2078
  /** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
@@ -1878,10 +2194,12 @@ var RemovableStorageDevice_Status;
1878
2194
  RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNSPECIFIED"] = 0] = "STATUS_UNSPECIFIED";
1879
2195
  /** STATUS_READY - The storage device is valid and ready for use. */
1880
2196
  RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_READY"] = 1] = "STATUS_READY";
1881
- /** STATUS_FORMATTING - The storage device is being formatted */
2197
+ /** STATUS_FORMATTING - The storage device is being formatted. */
1882
2198
  RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_FORMATTING"] = 2] = "STATUS_FORMATTING";
1883
2199
  /** STATUS_ERROR - The storage device is in an error state. */
1884
2200
  RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_ERROR"] = 3] = "STATUS_ERROR";
2201
+ /** STATUS_UNPLUGGED - The storage device is not present. */
2202
+ RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNPLUGGED"] = 4] = "STATUS_UNPLUGGED";
1885
2203
  RemovableStorageDevice_Status[RemovableStorageDevice_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
1886
2204
  })(RemovableStorageDevice_Status || (exports.RemovableStorageDevice_Status = RemovableStorageDevice_Status = {}));
1887
2205
  function removableStorageDevice_StatusFromJSON(object) {
@@ -1898,6 +2216,9 @@ function removableStorageDevice_StatusFromJSON(object) {
1898
2216
  case 3:
1899
2217
  case "STATUS_ERROR":
1900
2218
  return RemovableStorageDevice_Status.STATUS_ERROR;
2219
+ case 4:
2220
+ case "STATUS_UNPLUGGED":
2221
+ return RemovableStorageDevice_Status.STATUS_UNPLUGGED;
1901
2222
  case -1:
1902
2223
  case "UNRECOGNIZED":
1903
2224
  default:
@@ -1914,6 +2235,8 @@ function removableStorageDevice_StatusToJSON(object) {
1914
2235
  return "STATUS_FORMATTING";
1915
2236
  case RemovableStorageDevice_Status.STATUS_ERROR:
1916
2237
  return "STATUS_ERROR";
2238
+ case RemovableStorageDevice_Status.STATUS_UNPLUGGED:
2239
+ return "STATUS_UNPLUGGED";
1917
2240
  case RemovableStorageDevice_Status.UNRECOGNIZED:
1918
2241
  default:
1919
2242
  return "UNRECOGNIZED";
@@ -2135,6 +2458,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
2135
2458
  return "UNRECOGNIZED";
2136
2459
  }
2137
2460
  }
2461
+ var SurfaceUnitBatteryInfo_ChargeStatus;
2462
+ (function (SurfaceUnitBatteryInfo_ChargeStatus) {
2463
+ SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_UNSPECIFIED"] = 0] = "CHARGE_STATUS_UNSPECIFIED";
2464
+ SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_DISCHARGE"] = 1] = "CHARGE_STATUS_DISCHARGE";
2465
+ SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE"] = 2] = "CHARGE_STATUS_CHARGE";
2466
+ SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE_ERROR"] = 3] = "CHARGE_STATUS_CHARGE_ERROR";
2467
+ SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
2468
+ })(SurfaceUnitBatteryInfo_ChargeStatus || (exports.SurfaceUnitBatteryInfo_ChargeStatus = SurfaceUnitBatteryInfo_ChargeStatus = {}));
2469
+ function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object) {
2470
+ switch (object) {
2471
+ case 0:
2472
+ case "CHARGE_STATUS_UNSPECIFIED":
2473
+ return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED;
2474
+ case 1:
2475
+ case "CHARGE_STATUS_DISCHARGE":
2476
+ return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE;
2477
+ case 2:
2478
+ case "CHARGE_STATUS_CHARGE":
2479
+ return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE;
2480
+ case 3:
2481
+ case "CHARGE_STATUS_CHARGE_ERROR":
2482
+ return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR;
2483
+ case -1:
2484
+ case "UNRECOGNIZED":
2485
+ default:
2486
+ return SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED;
2487
+ }
2488
+ }
2489
+ function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
2490
+ switch (object) {
2491
+ case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED:
2492
+ return "CHARGE_STATUS_UNSPECIFIED";
2493
+ case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE:
2494
+ return "CHARGE_STATUS_DISCHARGE";
2495
+ case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE:
2496
+ return "CHARGE_STATUS_CHARGE";
2497
+ case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR:
2498
+ return "CHARGE_STATUS_CHARGE_ERROR";
2499
+ case SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED:
2500
+ default:
2501
+ return "UNRECOGNIZED";
2502
+ }
2503
+ }
2138
2504
  function createBaseBinlogRecord() {
2139
2505
  return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
2140
2506
  }
@@ -2363,6 +2729,189 @@ exports.LogEntry = {
2363
2729
  return message;
2364
2730
  },
2365
2731
  };
2732
+ function createBaseKernelLogEntry() {
2733
+ return { level: 0, seqnum: 0, timestamp: undefined, messages: [], fields: [] };
2734
+ }
2735
+ exports.KernelLogEntry = {
2736
+ encode(message, writer = new wire_1.BinaryWriter()) {
2737
+ if (message.level !== 0) {
2738
+ writer.uint32(8).int32(message.level);
2739
+ }
2740
+ if (message.seqnum !== 0) {
2741
+ writer.uint32(16).uint32(message.seqnum);
2742
+ }
2743
+ if (message.timestamp !== undefined) {
2744
+ timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).join();
2745
+ }
2746
+ for (const v of message.messages) {
2747
+ writer.uint32(34).string(v);
2748
+ }
2749
+ for (const v of message.fields) {
2750
+ exports.KernelLogEntry_KeyValuePair.encode(v, writer.uint32(42).fork()).join();
2751
+ }
2752
+ return writer;
2753
+ },
2754
+ decode(input, length) {
2755
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2756
+ const end = length === undefined ? reader.len : reader.pos + length;
2757
+ const message = createBaseKernelLogEntry();
2758
+ while (reader.pos < end) {
2759
+ const tag = reader.uint32();
2760
+ switch (tag >>> 3) {
2761
+ case 1: {
2762
+ if (tag !== 8) {
2763
+ break;
2764
+ }
2765
+ message.level = reader.int32();
2766
+ continue;
2767
+ }
2768
+ case 2: {
2769
+ if (tag !== 16) {
2770
+ break;
2771
+ }
2772
+ message.seqnum = reader.uint32();
2773
+ continue;
2774
+ }
2775
+ case 3: {
2776
+ if (tag !== 26) {
2777
+ break;
2778
+ }
2779
+ message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
2780
+ continue;
2781
+ }
2782
+ case 4: {
2783
+ if (tag !== 34) {
2784
+ break;
2785
+ }
2786
+ message.messages.push(reader.string());
2787
+ continue;
2788
+ }
2789
+ case 5: {
2790
+ if (tag !== 42) {
2791
+ break;
2792
+ }
2793
+ message.fields.push(exports.KernelLogEntry_KeyValuePair.decode(reader, reader.uint32()));
2794
+ continue;
2795
+ }
2796
+ }
2797
+ if ((tag & 7) === 4 || tag === 0) {
2798
+ break;
2799
+ }
2800
+ reader.skip(tag & 7);
2801
+ }
2802
+ return message;
2803
+ },
2804
+ fromJSON(object) {
2805
+ return {
2806
+ level: isSet(object.level) ? kernelLogEntry_KernelLogLevelFromJSON(object.level) : 0,
2807
+ seqnum: isSet(object.seqnum) ? gt.Number(object.seqnum) : 0,
2808
+ timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
2809
+ messages: gt.Array.isArray(object?.messages) ? object.messages.map((e) => gt.String(e)) : [],
2810
+ fields: gt.Array.isArray(object?.fields)
2811
+ ? object.fields.map((e) => exports.KernelLogEntry_KeyValuePair.fromJSON(e))
2812
+ : [],
2813
+ };
2814
+ },
2815
+ toJSON(message) {
2816
+ const obj = {};
2817
+ if (message.level !== 0) {
2818
+ obj.level = kernelLogEntry_KernelLogLevelToJSON(message.level);
2819
+ }
2820
+ if (message.seqnum !== 0) {
2821
+ obj.seqnum = Math.round(message.seqnum);
2822
+ }
2823
+ if (message.timestamp !== undefined) {
2824
+ obj.timestamp = message.timestamp.toISOString();
2825
+ }
2826
+ if (message.messages?.length) {
2827
+ obj.messages = message.messages;
2828
+ }
2829
+ if (message.fields?.length) {
2830
+ obj.fields = message.fields.map((e) => exports.KernelLogEntry_KeyValuePair.toJSON(e));
2831
+ }
2832
+ return obj;
2833
+ },
2834
+ create(base) {
2835
+ return exports.KernelLogEntry.fromPartial(base ?? {});
2836
+ },
2837
+ fromPartial(object) {
2838
+ const message = createBaseKernelLogEntry();
2839
+ message.level = object.level ?? 0;
2840
+ message.seqnum = object.seqnum ?? 0;
2841
+ message.timestamp = object.timestamp ?? undefined;
2842
+ message.messages = object.messages?.map((e) => e) || [];
2843
+ message.fields = object.fields?.map((e) => exports.KernelLogEntry_KeyValuePair.fromPartial(e)) || [];
2844
+ return message;
2845
+ },
2846
+ };
2847
+ function createBaseKernelLogEntry_KeyValuePair() {
2848
+ return { key: "", value: "" };
2849
+ }
2850
+ exports.KernelLogEntry_KeyValuePair = {
2851
+ encode(message, writer = new wire_1.BinaryWriter()) {
2852
+ if (message.key !== "") {
2853
+ writer.uint32(10).string(message.key);
2854
+ }
2855
+ if (message.value !== "") {
2856
+ writer.uint32(18).string(message.value);
2857
+ }
2858
+ return writer;
2859
+ },
2860
+ decode(input, length) {
2861
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
2862
+ const end = length === undefined ? reader.len : reader.pos + length;
2863
+ const message = createBaseKernelLogEntry_KeyValuePair();
2864
+ while (reader.pos < end) {
2865
+ const tag = reader.uint32();
2866
+ switch (tag >>> 3) {
2867
+ case 1: {
2868
+ if (tag !== 10) {
2869
+ break;
2870
+ }
2871
+ message.key = reader.string();
2872
+ continue;
2873
+ }
2874
+ case 2: {
2875
+ if (tag !== 18) {
2876
+ break;
2877
+ }
2878
+ message.value = reader.string();
2879
+ continue;
2880
+ }
2881
+ }
2882
+ if ((tag & 7) === 4 || tag === 0) {
2883
+ break;
2884
+ }
2885
+ reader.skip(tag & 7);
2886
+ }
2887
+ return message;
2888
+ },
2889
+ fromJSON(object) {
2890
+ return {
2891
+ key: isSet(object.key) ? gt.String(object.key) : "",
2892
+ value: isSet(object.value) ? gt.String(object.value) : "",
2893
+ };
2894
+ },
2895
+ toJSON(message) {
2896
+ const obj = {};
2897
+ if (message.key !== "") {
2898
+ obj.key = message.key;
2899
+ }
2900
+ if (message.value !== "") {
2901
+ obj.value = message.value;
2902
+ }
2903
+ return obj;
2904
+ },
2905
+ create(base) {
2906
+ return exports.KernelLogEntry_KeyValuePair.fromPartial(base ?? {});
2907
+ },
2908
+ fromPartial(object) {
2909
+ const message = createBaseKernelLogEntry_KeyValuePair();
2910
+ message.key = object.key ?? "";
2911
+ message.value = object.value ?? "";
2912
+ return message;
2913
+ },
2914
+ };
2366
2915
  function createBaseMotionInput() {
2367
2916
  return { surge: 0, sway: 0, heave: 0, roll: 0, pitch: 0, yaw: 0, slow: 0, boost: 0 };
2368
2917
  }
@@ -3644,6 +4193,9 @@ function createBaseRecordState() {
3644
4193
  multibeamIsRecording: false,
3645
4194
  multibeamSeconds: 0,
3646
4195
  multibeamFps: 0,
4196
+ mainStorageLocation: 0,
4197
+ guestportStorageLocation: 0,
4198
+ multibeamStorageLocation: 0,
3647
4199
  };
3648
4200
  }
3649
4201
  exports.RecordState = {
@@ -3675,6 +4227,15 @@ exports.RecordState = {
3675
4227
  if (message.multibeamFps !== 0) {
3676
4228
  writer.uint32(77).float(message.multibeamFps);
3677
4229
  }
4230
+ if (message.mainStorageLocation !== 0) {
4231
+ writer.uint32(80).int32(message.mainStorageLocation);
4232
+ }
4233
+ if (message.guestportStorageLocation !== 0) {
4234
+ writer.uint32(88).int32(message.guestportStorageLocation);
4235
+ }
4236
+ if (message.multibeamStorageLocation !== 0) {
4237
+ writer.uint32(96).int32(message.multibeamStorageLocation);
4238
+ }
3678
4239
  return writer;
3679
4240
  },
3680
4241
  decode(input, length) {
@@ -3747,13 +4308,34 @@ exports.RecordState = {
3747
4308
  message.multibeamFps = reader.float();
3748
4309
  continue;
3749
4310
  }
3750
- }
3751
- if ((tag & 7) === 4 || tag === 0) {
3752
- break;
3753
- }
3754
- reader.skip(tag & 7);
3755
- }
3756
- return message;
4311
+ case 10: {
4312
+ if (tag !== 80) {
4313
+ break;
4314
+ }
4315
+ message.mainStorageLocation = reader.int32();
4316
+ continue;
4317
+ }
4318
+ case 11: {
4319
+ if (tag !== 88) {
4320
+ break;
4321
+ }
4322
+ message.guestportStorageLocation = reader.int32();
4323
+ continue;
4324
+ }
4325
+ case 12: {
4326
+ if (tag !== 96) {
4327
+ break;
4328
+ }
4329
+ message.multibeamStorageLocation = reader.int32();
4330
+ continue;
4331
+ }
4332
+ }
4333
+ if ((tag & 7) === 4 || tag === 0) {
4334
+ break;
4335
+ }
4336
+ reader.skip(tag & 7);
4337
+ }
4338
+ return message;
3757
4339
  },
3758
4340
  fromJSON(object) {
3759
4341
  return {
@@ -3766,6 +4348,13 @@ exports.RecordState = {
3766
4348
  multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
3767
4349
  multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
3768
4350
  multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
4351
+ mainStorageLocation: isSet(object.mainStorageLocation) ? storageLocationFromJSON(object.mainStorageLocation) : 0,
4352
+ guestportStorageLocation: isSet(object.guestportStorageLocation)
4353
+ ? storageLocationFromJSON(object.guestportStorageLocation)
4354
+ : 0,
4355
+ multibeamStorageLocation: isSet(object.multibeamStorageLocation)
4356
+ ? storageLocationFromJSON(object.multibeamStorageLocation)
4357
+ : 0,
3769
4358
  };
3770
4359
  },
3771
4360
  toJSON(message) {
@@ -3797,6 +4386,15 @@ exports.RecordState = {
3797
4386
  if (message.multibeamFps !== 0) {
3798
4387
  obj.multibeamFps = message.multibeamFps;
3799
4388
  }
4389
+ if (message.mainStorageLocation !== 0) {
4390
+ obj.mainStorageLocation = storageLocationToJSON(message.mainStorageLocation);
4391
+ }
4392
+ if (message.guestportStorageLocation !== 0) {
4393
+ obj.guestportStorageLocation = storageLocationToJSON(message.guestportStorageLocation);
4394
+ }
4395
+ if (message.multibeamStorageLocation !== 0) {
4396
+ obj.multibeamStorageLocation = storageLocationToJSON(message.multibeamStorageLocation);
4397
+ }
3800
4398
  return obj;
3801
4399
  },
3802
4400
  create(base) {
@@ -3813,6 +4411,9 @@ exports.RecordState = {
3813
4411
  message.multibeamIsRecording = object.multibeamIsRecording ?? false;
3814
4412
  message.multibeamSeconds = object.multibeamSeconds ?? 0;
3815
4413
  message.multibeamFps = object.multibeamFps ?? 0;
4414
+ message.mainStorageLocation = object.mainStorageLocation ?? 0;
4415
+ message.guestportStorageLocation = object.guestportStorageLocation ?? 0;
4416
+ message.multibeamStorageLocation = object.multibeamStorageLocation ?? 0;
3816
4417
  return message;
3817
4418
  },
3818
4419
  };
@@ -7720,7 +8321,7 @@ exports.StorageSpace = {
7720
8321
  },
7721
8322
  };
7722
8323
  function createBaseStoragePartition() {
7723
- return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "" };
8324
+ return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "", label: "" };
7724
8325
  }
7725
8326
  exports.StoragePartition = {
7726
8327
  encode(message, writer = new wire_1.BinaryWriter()) {
@@ -7736,6 +8337,9 @@ exports.StoragePartition = {
7736
8337
  if (message.mountPath !== "") {
7737
8338
  writer.uint32(34).string(message.mountPath);
7738
8339
  }
8340
+ if (message.label !== "") {
8341
+ writer.uint32(42).string(message.label);
8342
+ }
7739
8343
  return writer;
7740
8344
  },
7741
8345
  decode(input, length) {
@@ -7773,6 +8377,13 @@ exports.StoragePartition = {
7773
8377
  message.mountPath = reader.string();
7774
8378
  continue;
7775
8379
  }
8380
+ case 5: {
8381
+ if (tag !== 42) {
8382
+ break;
8383
+ }
8384
+ message.label = reader.string();
8385
+ continue;
8386
+ }
7776
8387
  }
7777
8388
  if ((tag & 7) === 4 || tag === 0) {
7778
8389
  break;
@@ -7787,6 +8398,7 @@ exports.StoragePartition = {
7787
8398
  fileSystemType: isSet(object.fileSystemType) ? gt.String(object.fileSystemType) : "",
7788
8399
  devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
7789
8400
  mountPath: isSet(object.mountPath) ? gt.String(object.mountPath) : "",
8401
+ label: isSet(object.label) ? gt.String(object.label) : "",
7790
8402
  };
7791
8403
  },
7792
8404
  toJSON(message) {
@@ -7803,6 +8415,9 @@ exports.StoragePartition = {
7803
8415
  if (message.mountPath !== "") {
7804
8416
  obj.mountPath = message.mountPath;
7805
8417
  }
8418
+ if (message.label !== "") {
8419
+ obj.label = message.label;
8420
+ }
7806
8421
  return obj;
7807
8422
  },
7808
8423
  create(base) {
@@ -7816,6 +8431,7 @@ exports.StoragePartition = {
7816
8431
  message.fileSystemType = object.fileSystemType ?? "";
7817
8432
  message.devicePath = object.devicePath ?? "";
7818
8433
  message.mountPath = object.mountPath ?? "";
8434
+ message.label = object.label ?? "";
7819
8435
  return message;
7820
8436
  },
7821
8437
  };
@@ -9513,11 +10129,25 @@ function createBaseCameraParameters() {
9513
10129
  whiteBalance: 0,
9514
10130
  hue: 0,
9515
10131
  gain: 0,
10132
+ brightness: 0,
10133
+ contrast: 0,
10134
+ saturation: 0,
10135
+ gamma: 0,
10136
+ sharpness: 0,
10137
+ backlightCompensation: 0,
10138
+ denoise: 0,
10139
+ ehdrEnabled: false,
10140
+ ehdrExposureMinNumber: 0,
10141
+ ehdrExposureMaxNumber: 0,
9516
10142
  resolution: 0,
9517
10143
  streamResolution: 0,
9518
10144
  recordingResolution: 0,
10145
+ streamingProtocol: 0,
9519
10146
  framerate: 0,
9520
10147
  camera: 0,
10148
+ mtuSize: 0,
10149
+ recordingCodec: 0,
10150
+ recordingBitrate: 0,
9521
10151
  };
9522
10152
  }
9523
10153
  exports.CameraParameters = {
@@ -9540,6 +10170,36 @@ exports.CameraParameters = {
9540
10170
  if (message.gain !== 0) {
9541
10171
  writer.uint32(77).float(message.gain);
9542
10172
  }
10173
+ if (message.brightness !== 0) {
10174
+ writer.uint32(96).int32(message.brightness);
10175
+ }
10176
+ if (message.contrast !== 0) {
10177
+ writer.uint32(104).int32(message.contrast);
10178
+ }
10179
+ if (message.saturation !== 0) {
10180
+ writer.uint32(112).int32(message.saturation);
10181
+ }
10182
+ if (message.gamma !== 0) {
10183
+ writer.uint32(120).int32(message.gamma);
10184
+ }
10185
+ if (message.sharpness !== 0) {
10186
+ writer.uint32(128).int32(message.sharpness);
10187
+ }
10188
+ if (message.backlightCompensation !== 0) {
10189
+ writer.uint32(136).int32(message.backlightCompensation);
10190
+ }
10191
+ if (message.denoise !== 0) {
10192
+ writer.uint32(144).int32(message.denoise);
10193
+ }
10194
+ if (message.ehdrEnabled !== false) {
10195
+ writer.uint32(168).bool(message.ehdrEnabled);
10196
+ }
10197
+ if (message.ehdrExposureMinNumber !== 0) {
10198
+ writer.uint32(176).int32(message.ehdrExposureMinNumber);
10199
+ }
10200
+ if (message.ehdrExposureMaxNumber !== 0) {
10201
+ writer.uint32(184).int32(message.ehdrExposureMaxNumber);
10202
+ }
9543
10203
  if (message.resolution !== 0) {
9544
10204
  writer.uint32(48).int32(message.resolution);
9545
10205
  }
@@ -9549,12 +10209,24 @@ exports.CameraParameters = {
9549
10209
  if (message.recordingResolution !== 0) {
9550
10210
  writer.uint32(88).int32(message.recordingResolution);
9551
10211
  }
10212
+ if (message.streamingProtocol !== 0) {
10213
+ writer.uint32(160).int32(message.streamingProtocol);
10214
+ }
9552
10215
  if (message.framerate !== 0) {
9553
10216
  writer.uint32(56).int32(message.framerate);
9554
10217
  }
9555
10218
  if (message.camera !== 0) {
9556
10219
  writer.uint32(64).int32(message.camera);
9557
10220
  }
10221
+ if (message.mtuSize !== 0) {
10222
+ writer.uint32(192).uint32(message.mtuSize);
10223
+ }
10224
+ if (message.recordingCodec !== 0) {
10225
+ writer.uint32(200).int32(message.recordingCodec);
10226
+ }
10227
+ if (message.recordingBitrate !== 0) {
10228
+ writer.uint32(208).int32(message.recordingBitrate);
10229
+ }
9558
10230
  return writer;
9559
10231
  },
9560
10232
  decode(input, length) {
@@ -9606,6 +10278,76 @@ exports.CameraParameters = {
9606
10278
  message.gain = reader.float();
9607
10279
  continue;
9608
10280
  }
10281
+ case 12: {
10282
+ if (tag !== 96) {
10283
+ break;
10284
+ }
10285
+ message.brightness = reader.int32();
10286
+ continue;
10287
+ }
10288
+ case 13: {
10289
+ if (tag !== 104) {
10290
+ break;
10291
+ }
10292
+ message.contrast = reader.int32();
10293
+ continue;
10294
+ }
10295
+ case 14: {
10296
+ if (tag !== 112) {
10297
+ break;
10298
+ }
10299
+ message.saturation = reader.int32();
10300
+ continue;
10301
+ }
10302
+ case 15: {
10303
+ if (tag !== 120) {
10304
+ break;
10305
+ }
10306
+ message.gamma = reader.int32();
10307
+ continue;
10308
+ }
10309
+ case 16: {
10310
+ if (tag !== 128) {
10311
+ break;
10312
+ }
10313
+ message.sharpness = reader.int32();
10314
+ continue;
10315
+ }
10316
+ case 17: {
10317
+ if (tag !== 136) {
10318
+ break;
10319
+ }
10320
+ message.backlightCompensation = reader.int32();
10321
+ continue;
10322
+ }
10323
+ case 18: {
10324
+ if (tag !== 144) {
10325
+ break;
10326
+ }
10327
+ message.denoise = reader.int32();
10328
+ continue;
10329
+ }
10330
+ case 21: {
10331
+ if (tag !== 168) {
10332
+ break;
10333
+ }
10334
+ message.ehdrEnabled = reader.bool();
10335
+ continue;
10336
+ }
10337
+ case 22: {
10338
+ if (tag !== 176) {
10339
+ break;
10340
+ }
10341
+ message.ehdrExposureMinNumber = reader.int32();
10342
+ continue;
10343
+ }
10344
+ case 23: {
10345
+ if (tag !== 184) {
10346
+ break;
10347
+ }
10348
+ message.ehdrExposureMaxNumber = reader.int32();
10349
+ continue;
10350
+ }
9609
10351
  case 6: {
9610
10352
  if (tag !== 48) {
9611
10353
  break;
@@ -9627,6 +10369,13 @@ exports.CameraParameters = {
9627
10369
  message.recordingResolution = reader.int32();
9628
10370
  continue;
9629
10371
  }
10372
+ case 20: {
10373
+ if (tag !== 160) {
10374
+ break;
10375
+ }
10376
+ message.streamingProtocol = reader.int32();
10377
+ continue;
10378
+ }
9630
10379
  case 7: {
9631
10380
  if (tag !== 56) {
9632
10381
  break;
@@ -9641,6 +10390,27 @@ exports.CameraParameters = {
9641
10390
  message.camera = reader.int32();
9642
10391
  continue;
9643
10392
  }
10393
+ case 24: {
10394
+ if (tag !== 192) {
10395
+ break;
10396
+ }
10397
+ message.mtuSize = reader.uint32();
10398
+ continue;
10399
+ }
10400
+ case 25: {
10401
+ if (tag !== 200) {
10402
+ break;
10403
+ }
10404
+ message.recordingCodec = reader.int32();
10405
+ continue;
10406
+ }
10407
+ case 26: {
10408
+ if (tag !== 208) {
10409
+ break;
10410
+ }
10411
+ message.recordingBitrate = reader.int32();
10412
+ continue;
10413
+ }
9644
10414
  }
9645
10415
  if ((tag & 7) === 4 || tag === 0) {
9646
10416
  break;
@@ -9657,11 +10427,25 @@ exports.CameraParameters = {
9657
10427
  whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
9658
10428
  hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
9659
10429
  gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
10430
+ brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
10431
+ contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
10432
+ saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
10433
+ gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
10434
+ sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
10435
+ backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
10436
+ denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
10437
+ ehdrEnabled: isSet(object.ehdrEnabled) ? gt.Boolean(object.ehdrEnabled) : false,
10438
+ ehdrExposureMinNumber: isSet(object.ehdrExposureMinNumber) ? gt.Number(object.ehdrExposureMinNumber) : 0,
10439
+ ehdrExposureMaxNumber: isSet(object.ehdrExposureMaxNumber) ? gt.Number(object.ehdrExposureMaxNumber) : 0,
9660
10440
  resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
9661
10441
  streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
9662
10442
  recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
10443
+ streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
9663
10444
  framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
9664
10445
  camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
10446
+ mtuSize: isSet(object.mtuSize) ? gt.Number(object.mtuSize) : 0,
10447
+ recordingCodec: isSet(object.recordingCodec) ? recordingCodecFromJSON(object.recordingCodec) : 0,
10448
+ recordingBitrate: isSet(object.recordingBitrate) ? gt.Number(object.recordingBitrate) : 0,
9665
10449
  };
9666
10450
  },
9667
10451
  toJSON(message) {
@@ -9684,6 +10468,36 @@ exports.CameraParameters = {
9684
10468
  if (message.gain !== 0) {
9685
10469
  obj.gain = message.gain;
9686
10470
  }
10471
+ if (message.brightness !== 0) {
10472
+ obj.brightness = Math.round(message.brightness);
10473
+ }
10474
+ if (message.contrast !== 0) {
10475
+ obj.contrast = Math.round(message.contrast);
10476
+ }
10477
+ if (message.saturation !== 0) {
10478
+ obj.saturation = Math.round(message.saturation);
10479
+ }
10480
+ if (message.gamma !== 0) {
10481
+ obj.gamma = Math.round(message.gamma);
10482
+ }
10483
+ if (message.sharpness !== 0) {
10484
+ obj.sharpness = Math.round(message.sharpness);
10485
+ }
10486
+ if (message.backlightCompensation !== 0) {
10487
+ obj.backlightCompensation = Math.round(message.backlightCompensation);
10488
+ }
10489
+ if (message.denoise !== 0) {
10490
+ obj.denoise = Math.round(message.denoise);
10491
+ }
10492
+ if (message.ehdrEnabled !== false) {
10493
+ obj.ehdrEnabled = message.ehdrEnabled;
10494
+ }
10495
+ if (message.ehdrExposureMinNumber !== 0) {
10496
+ obj.ehdrExposureMinNumber = Math.round(message.ehdrExposureMinNumber);
10497
+ }
10498
+ if (message.ehdrExposureMaxNumber !== 0) {
10499
+ obj.ehdrExposureMaxNumber = Math.round(message.ehdrExposureMaxNumber);
10500
+ }
9687
10501
  if (message.resolution !== 0) {
9688
10502
  obj.resolution = resolutionToJSON(message.resolution);
9689
10503
  }
@@ -9693,12 +10507,24 @@ exports.CameraParameters = {
9693
10507
  if (message.recordingResolution !== 0) {
9694
10508
  obj.recordingResolution = resolutionToJSON(message.recordingResolution);
9695
10509
  }
10510
+ if (message.streamingProtocol !== 0) {
10511
+ obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
10512
+ }
9696
10513
  if (message.framerate !== 0) {
9697
10514
  obj.framerate = framerateToJSON(message.framerate);
9698
10515
  }
9699
10516
  if (message.camera !== 0) {
9700
10517
  obj.camera = cameraToJSON(message.camera);
9701
10518
  }
10519
+ if (message.mtuSize !== 0) {
10520
+ obj.mtuSize = Math.round(message.mtuSize);
10521
+ }
10522
+ if (message.recordingCodec !== 0) {
10523
+ obj.recordingCodec = recordingCodecToJSON(message.recordingCodec);
10524
+ }
10525
+ if (message.recordingBitrate !== 0) {
10526
+ obj.recordingBitrate = Math.round(message.recordingBitrate);
10527
+ }
9702
10528
  return obj;
9703
10529
  },
9704
10530
  create(base) {
@@ -9712,11 +10538,25 @@ exports.CameraParameters = {
9712
10538
  message.whiteBalance = object.whiteBalance ?? 0;
9713
10539
  message.hue = object.hue ?? 0;
9714
10540
  message.gain = object.gain ?? 0;
10541
+ message.brightness = object.brightness ?? 0;
10542
+ message.contrast = object.contrast ?? 0;
10543
+ message.saturation = object.saturation ?? 0;
10544
+ message.gamma = object.gamma ?? 0;
10545
+ message.sharpness = object.sharpness ?? 0;
10546
+ message.backlightCompensation = object.backlightCompensation ?? 0;
10547
+ message.denoise = object.denoise ?? 0;
10548
+ message.ehdrEnabled = object.ehdrEnabled ?? false;
10549
+ message.ehdrExposureMinNumber = object.ehdrExposureMinNumber ?? 0;
10550
+ message.ehdrExposureMaxNumber = object.ehdrExposureMaxNumber ?? 0;
9715
10551
  message.resolution = object.resolution ?? 0;
9716
10552
  message.streamResolution = object.streamResolution ?? 0;
9717
10553
  message.recordingResolution = object.recordingResolution ?? 0;
10554
+ message.streamingProtocol = object.streamingProtocol ?? 0;
9718
10555
  message.framerate = object.framerate ?? 0;
9719
10556
  message.camera = object.camera ?? 0;
10557
+ message.mtuSize = object.mtuSize ?? 0;
10558
+ message.recordingCodec = object.recordingCodec ?? 0;
10559
+ message.recordingBitrate = object.recordingBitrate ?? 0;
9720
10560
  return message;
9721
10561
  },
9722
10562
  };
@@ -12460,7 +13300,7 @@ exports.PersistentStorageSettings = {
12460
13300
  },
12461
13301
  };
12462
13302
  function createBaseCPUInfo() {
12463
- return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
13303
+ return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
12464
13304
  }
12465
13305
  exports.CPUInfo = {
12466
13306
  encode(message, writer = new wire_1.BinaryWriter()) {
@@ -12476,6 +13316,9 @@ exports.CPUInfo = {
12476
13316
  if (message.guestportQueueLoad !== 0) {
12477
13317
  writer.uint32(37).float(message.guestportQueueLoad);
12478
13318
  }
13319
+ if (message.commQueueLoad !== 0) {
13320
+ writer.uint32(45).float(message.commQueueLoad);
13321
+ }
12479
13322
  return writer;
12480
13323
  },
12481
13324
  decode(input, length) {
@@ -12513,6 +13356,13 @@ exports.CPUInfo = {
12513
13356
  message.guestportQueueLoad = reader.float();
12514
13357
  continue;
12515
13358
  }
13359
+ case 5: {
13360
+ if (tag !== 45) {
13361
+ break;
13362
+ }
13363
+ message.commQueueLoad = reader.float();
13364
+ continue;
13365
+ }
12516
13366
  }
12517
13367
  if ((tag & 7) === 4 || tag === 0) {
12518
13368
  break;
@@ -12527,6 +13377,7 @@ exports.CPUInfo = {
12527
13377
  memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
12528
13378
  mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
12529
13379
  guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
13380
+ commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
12530
13381
  };
12531
13382
  },
12532
13383
  toJSON(message) {
@@ -12543,6 +13394,9 @@ exports.CPUInfo = {
12543
13394
  if (message.guestportQueueLoad !== 0) {
12544
13395
  obj.guestportQueueLoad = message.guestportQueueLoad;
12545
13396
  }
13397
+ if (message.commQueueLoad !== 0) {
13398
+ obj.commQueueLoad = message.commQueueLoad;
13399
+ }
12546
13400
  return obj;
12547
13401
  },
12548
13402
  create(base) {
@@ -12554,6 +13408,1544 @@ exports.CPUInfo = {
12554
13408
  message.memoryBusLoad = object.memoryBusLoad ?? 0;
12555
13409
  message.mainQueueLoad = object.mainQueueLoad ?? 0;
12556
13410
  message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
13411
+ message.commQueueLoad = object.commQueueLoad ?? 0;
13412
+ return message;
13413
+ },
13414
+ };
13415
+ function createBaseCpuCoreLoad() {
13416
+ return { coreIndex: 0, load: 0, frequencyMhz: 0 };
13417
+ }
13418
+ exports.CpuCoreLoad = {
13419
+ encode(message, writer = new wire_1.BinaryWriter()) {
13420
+ if (message.coreIndex !== 0) {
13421
+ writer.uint32(8).uint32(message.coreIndex);
13422
+ }
13423
+ if (message.load !== 0) {
13424
+ writer.uint32(21).float(message.load);
13425
+ }
13426
+ if (message.frequencyMhz !== 0) {
13427
+ writer.uint32(29).float(message.frequencyMhz);
13428
+ }
13429
+ return writer;
13430
+ },
13431
+ decode(input, length) {
13432
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
13433
+ const end = length === undefined ? reader.len : reader.pos + length;
13434
+ const message = createBaseCpuCoreLoad();
13435
+ while (reader.pos < end) {
13436
+ const tag = reader.uint32();
13437
+ switch (tag >>> 3) {
13438
+ case 1: {
13439
+ if (tag !== 8) {
13440
+ break;
13441
+ }
13442
+ message.coreIndex = reader.uint32();
13443
+ continue;
13444
+ }
13445
+ case 2: {
13446
+ if (tag !== 21) {
13447
+ break;
13448
+ }
13449
+ message.load = reader.float();
13450
+ continue;
13451
+ }
13452
+ case 3: {
13453
+ if (tag !== 29) {
13454
+ break;
13455
+ }
13456
+ message.frequencyMhz = reader.float();
13457
+ continue;
13458
+ }
13459
+ }
13460
+ if ((tag & 7) === 4 || tag === 0) {
13461
+ break;
13462
+ }
13463
+ reader.skip(tag & 7);
13464
+ }
13465
+ return message;
13466
+ },
13467
+ fromJSON(object) {
13468
+ return {
13469
+ coreIndex: isSet(object.coreIndex) ? gt.Number(object.coreIndex) : 0,
13470
+ load: isSet(object.load) ? gt.Number(object.load) : 0,
13471
+ frequencyMhz: isSet(object.frequencyMhz) ? gt.Number(object.frequencyMhz) : 0,
13472
+ };
13473
+ },
13474
+ toJSON(message) {
13475
+ const obj = {};
13476
+ if (message.coreIndex !== 0) {
13477
+ obj.coreIndex = Math.round(message.coreIndex);
13478
+ }
13479
+ if (message.load !== 0) {
13480
+ obj.load = message.load;
13481
+ }
13482
+ if (message.frequencyMhz !== 0) {
13483
+ obj.frequencyMhz = message.frequencyMhz;
13484
+ }
13485
+ return obj;
13486
+ },
13487
+ create(base) {
13488
+ return exports.CpuCoreLoad.fromPartial(base ?? {});
13489
+ },
13490
+ fromPartial(object) {
13491
+ const message = createBaseCpuCoreLoad();
13492
+ message.coreIndex = object.coreIndex ?? 0;
13493
+ message.load = object.load ?? 0;
13494
+ message.frequencyMhz = object.frequencyMhz ?? 0;
13495
+ return message;
13496
+ },
13497
+ };
13498
+ function createBaseGpuInfo() {
13499
+ return { load: 0, frequencyMhz: 0 };
13500
+ }
13501
+ exports.GpuInfo = {
13502
+ encode(message, writer = new wire_1.BinaryWriter()) {
13503
+ if (message.load !== 0) {
13504
+ writer.uint32(13).float(message.load);
13505
+ }
13506
+ if (message.frequencyMhz !== 0) {
13507
+ writer.uint32(21).float(message.frequencyMhz);
13508
+ }
13509
+ return writer;
13510
+ },
13511
+ decode(input, length) {
13512
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
13513
+ const end = length === undefined ? reader.len : reader.pos + length;
13514
+ const message = createBaseGpuInfo();
13515
+ while (reader.pos < end) {
13516
+ const tag = reader.uint32();
13517
+ switch (tag >>> 3) {
13518
+ case 1: {
13519
+ if (tag !== 13) {
13520
+ break;
13521
+ }
13522
+ message.load = reader.float();
13523
+ continue;
13524
+ }
13525
+ case 2: {
13526
+ if (tag !== 21) {
13527
+ break;
13528
+ }
13529
+ message.frequencyMhz = reader.float();
13530
+ continue;
13531
+ }
13532
+ }
13533
+ if ((tag & 7) === 4 || tag === 0) {
13534
+ break;
13535
+ }
13536
+ reader.skip(tag & 7);
13537
+ }
13538
+ return message;
13539
+ },
13540
+ fromJSON(object) {
13541
+ return {
13542
+ load: isSet(object.load) ? gt.Number(object.load) : 0,
13543
+ frequencyMhz: isSet(object.frequencyMhz) ? gt.Number(object.frequencyMhz) : 0,
13544
+ };
13545
+ },
13546
+ toJSON(message) {
13547
+ const obj = {};
13548
+ if (message.load !== 0) {
13549
+ obj.load = message.load;
13550
+ }
13551
+ if (message.frequencyMhz !== 0) {
13552
+ obj.frequencyMhz = message.frequencyMhz;
13553
+ }
13554
+ return obj;
13555
+ },
13556
+ create(base) {
13557
+ return exports.GpuInfo.fromPartial(base ?? {});
13558
+ },
13559
+ fromPartial(object) {
13560
+ const message = createBaseGpuInfo();
13561
+ message.load = object.load ?? 0;
13562
+ message.frequencyMhz = object.frequencyMhz ?? 0;
13563
+ return message;
13564
+ },
13565
+ };
13566
+ function createBaseDlaInfo() {
13567
+ return { engineIndex: 0, load: 0, frequencyMhz: 0, enabled: false, falconFrequencyMhz: 0 };
13568
+ }
13569
+ exports.DlaInfo = {
13570
+ encode(message, writer = new wire_1.BinaryWriter()) {
13571
+ if (message.engineIndex !== 0) {
13572
+ writer.uint32(8).uint32(message.engineIndex);
13573
+ }
13574
+ if (message.load !== 0) {
13575
+ writer.uint32(21).float(message.load);
13576
+ }
13577
+ if (message.frequencyMhz !== 0) {
13578
+ writer.uint32(29).float(message.frequencyMhz);
13579
+ }
13580
+ if (message.enabled !== false) {
13581
+ writer.uint32(32).bool(message.enabled);
13582
+ }
13583
+ if (message.falconFrequencyMhz !== 0) {
13584
+ writer.uint32(45).float(message.falconFrequencyMhz);
13585
+ }
13586
+ return writer;
13587
+ },
13588
+ decode(input, length) {
13589
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
13590
+ const end = length === undefined ? reader.len : reader.pos + length;
13591
+ const message = createBaseDlaInfo();
13592
+ while (reader.pos < end) {
13593
+ const tag = reader.uint32();
13594
+ switch (tag >>> 3) {
13595
+ case 1: {
13596
+ if (tag !== 8) {
13597
+ break;
13598
+ }
13599
+ message.engineIndex = reader.uint32();
13600
+ continue;
13601
+ }
13602
+ case 2: {
13603
+ if (tag !== 21) {
13604
+ break;
13605
+ }
13606
+ message.load = reader.float();
13607
+ continue;
13608
+ }
13609
+ case 3: {
13610
+ if (tag !== 29) {
13611
+ break;
13612
+ }
13613
+ message.frequencyMhz = reader.float();
13614
+ continue;
13615
+ }
13616
+ case 4: {
13617
+ if (tag !== 32) {
13618
+ break;
13619
+ }
13620
+ message.enabled = reader.bool();
13621
+ continue;
13622
+ }
13623
+ case 5: {
13624
+ if (tag !== 45) {
13625
+ break;
13626
+ }
13627
+ message.falconFrequencyMhz = reader.float();
13628
+ continue;
13629
+ }
13630
+ }
13631
+ if ((tag & 7) === 4 || tag === 0) {
13632
+ break;
13633
+ }
13634
+ reader.skip(tag & 7);
13635
+ }
13636
+ return message;
13637
+ },
13638
+ fromJSON(object) {
13639
+ return {
13640
+ engineIndex: isSet(object.engineIndex) ? gt.Number(object.engineIndex) : 0,
13641
+ load: isSet(object.load) ? gt.Number(object.load) : 0,
13642
+ frequencyMhz: isSet(object.frequencyMhz) ? gt.Number(object.frequencyMhz) : 0,
13643
+ enabled: isSet(object.enabled) ? gt.Boolean(object.enabled) : false,
13644
+ falconFrequencyMhz: isSet(object.falconFrequencyMhz) ? gt.Number(object.falconFrequencyMhz) : 0,
13645
+ };
13646
+ },
13647
+ toJSON(message) {
13648
+ const obj = {};
13649
+ if (message.engineIndex !== 0) {
13650
+ obj.engineIndex = Math.round(message.engineIndex);
13651
+ }
13652
+ if (message.load !== 0) {
13653
+ obj.load = message.load;
13654
+ }
13655
+ if (message.frequencyMhz !== 0) {
13656
+ obj.frequencyMhz = message.frequencyMhz;
13657
+ }
13658
+ if (message.enabled !== false) {
13659
+ obj.enabled = message.enabled;
13660
+ }
13661
+ if (message.falconFrequencyMhz !== 0) {
13662
+ obj.falconFrequencyMhz = message.falconFrequencyMhz;
13663
+ }
13664
+ return obj;
13665
+ },
13666
+ create(base) {
13667
+ return exports.DlaInfo.fromPartial(base ?? {});
13668
+ },
13669
+ fromPartial(object) {
13670
+ const message = createBaseDlaInfo();
13671
+ message.engineIndex = object.engineIndex ?? 0;
13672
+ message.load = object.load ?? 0;
13673
+ message.frequencyMhz = object.frequencyMhz ?? 0;
13674
+ message.enabled = object.enabled ?? false;
13675
+ message.falconFrequencyMhz = object.falconFrequencyMhz ?? 0;
13676
+ return message;
13677
+ },
13678
+ };
13679
+ function createBaseMemoryInfo() {
13680
+ return { totalBytes: 0, usedBytes: 0, cachedBytes: 0, busLoad: 0 };
13681
+ }
13682
+ exports.MemoryInfo = {
13683
+ encode(message, writer = new wire_1.BinaryWriter()) {
13684
+ if (message.totalBytes !== 0) {
13685
+ writer.uint32(8).uint64(message.totalBytes);
13686
+ }
13687
+ if (message.usedBytes !== 0) {
13688
+ writer.uint32(16).uint64(message.usedBytes);
13689
+ }
13690
+ if (message.cachedBytes !== 0) {
13691
+ writer.uint32(24).uint64(message.cachedBytes);
13692
+ }
13693
+ if (message.busLoad !== 0) {
13694
+ writer.uint32(37).float(message.busLoad);
13695
+ }
13696
+ return writer;
13697
+ },
13698
+ decode(input, length) {
13699
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
13700
+ const end = length === undefined ? reader.len : reader.pos + length;
13701
+ const message = createBaseMemoryInfo();
13702
+ while (reader.pos < end) {
13703
+ const tag = reader.uint32();
13704
+ switch (tag >>> 3) {
13705
+ case 1: {
13706
+ if (tag !== 8) {
13707
+ break;
13708
+ }
13709
+ message.totalBytes = longToNumber(reader.uint64());
13710
+ continue;
13711
+ }
13712
+ case 2: {
13713
+ if (tag !== 16) {
13714
+ break;
13715
+ }
13716
+ message.usedBytes = longToNumber(reader.uint64());
13717
+ continue;
13718
+ }
13719
+ case 3: {
13720
+ if (tag !== 24) {
13721
+ break;
13722
+ }
13723
+ message.cachedBytes = longToNumber(reader.uint64());
13724
+ continue;
13725
+ }
13726
+ case 4: {
13727
+ if (tag !== 37) {
13728
+ break;
13729
+ }
13730
+ message.busLoad = reader.float();
13731
+ continue;
13732
+ }
13733
+ }
13734
+ if ((tag & 7) === 4 || tag === 0) {
13735
+ break;
13736
+ }
13737
+ reader.skip(tag & 7);
13738
+ }
13739
+ return message;
13740
+ },
13741
+ fromJSON(object) {
13742
+ return {
13743
+ totalBytes: isSet(object.totalBytes) ? gt.Number(object.totalBytes) : 0,
13744
+ usedBytes: isSet(object.usedBytes) ? gt.Number(object.usedBytes) : 0,
13745
+ cachedBytes: isSet(object.cachedBytes) ? gt.Number(object.cachedBytes) : 0,
13746
+ busLoad: isSet(object.busLoad) ? gt.Number(object.busLoad) : 0,
13747
+ };
13748
+ },
13749
+ toJSON(message) {
13750
+ const obj = {};
13751
+ if (message.totalBytes !== 0) {
13752
+ obj.totalBytes = Math.round(message.totalBytes);
13753
+ }
13754
+ if (message.usedBytes !== 0) {
13755
+ obj.usedBytes = Math.round(message.usedBytes);
13756
+ }
13757
+ if (message.cachedBytes !== 0) {
13758
+ obj.cachedBytes = Math.round(message.cachedBytes);
13759
+ }
13760
+ if (message.busLoad !== 0) {
13761
+ obj.busLoad = message.busLoad;
13762
+ }
13763
+ return obj;
13764
+ },
13765
+ create(base) {
13766
+ return exports.MemoryInfo.fromPartial(base ?? {});
13767
+ },
13768
+ fromPartial(object) {
13769
+ const message = createBaseMemoryInfo();
13770
+ message.totalBytes = object.totalBytes ?? 0;
13771
+ message.usedBytes = object.usedBytes ?? 0;
13772
+ message.cachedBytes = object.cachedBytes ?? 0;
13773
+ message.busLoad = object.busLoad ?? 0;
13774
+ return message;
13775
+ },
13776
+ };
13777
+ function createBaseThermalZone() {
13778
+ return { zone: 0, temperature: 0 };
13779
+ }
13780
+ exports.ThermalZone = {
13781
+ encode(message, writer = new wire_1.BinaryWriter()) {
13782
+ if (message.zone !== 0) {
13783
+ writer.uint32(8).int32(message.zone);
13784
+ }
13785
+ if (message.temperature !== 0) {
13786
+ writer.uint32(21).float(message.temperature);
13787
+ }
13788
+ return writer;
13789
+ },
13790
+ decode(input, length) {
13791
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
13792
+ const end = length === undefined ? reader.len : reader.pos + length;
13793
+ const message = createBaseThermalZone();
13794
+ while (reader.pos < end) {
13795
+ const tag = reader.uint32();
13796
+ switch (tag >>> 3) {
13797
+ case 1: {
13798
+ if (tag !== 8) {
13799
+ break;
13800
+ }
13801
+ message.zone = reader.int32();
13802
+ continue;
13803
+ }
13804
+ case 2: {
13805
+ if (tag !== 21) {
13806
+ break;
13807
+ }
13808
+ message.temperature = reader.float();
13809
+ continue;
13810
+ }
13811
+ }
13812
+ if ((tag & 7) === 4 || tag === 0) {
13813
+ break;
13814
+ }
13815
+ reader.skip(tag & 7);
13816
+ }
13817
+ return message;
13818
+ },
13819
+ fromJSON(object) {
13820
+ return {
13821
+ zone: isSet(object.zone) ? thermalZoneIdFromJSON(object.zone) : 0,
13822
+ temperature: isSet(object.temperature) ? gt.Number(object.temperature) : 0,
13823
+ };
13824
+ },
13825
+ toJSON(message) {
13826
+ const obj = {};
13827
+ if (message.zone !== 0) {
13828
+ obj.zone = thermalZoneIdToJSON(message.zone);
13829
+ }
13830
+ if (message.temperature !== 0) {
13831
+ obj.temperature = message.temperature;
13832
+ }
13833
+ return obj;
13834
+ },
13835
+ create(base) {
13836
+ return exports.ThermalZone.fromPartial(base ?? {});
13837
+ },
13838
+ fromPartial(object) {
13839
+ const message = createBaseThermalZone();
13840
+ message.zone = object.zone ?? 0;
13841
+ message.temperature = object.temperature ?? 0;
13842
+ return message;
13843
+ },
13844
+ };
13845
+ function createBaseVideoCodecInfo() {
13846
+ return {
13847
+ encoderActive: false,
13848
+ encoderFrequencyMhz: 0,
13849
+ decoderActive: false,
13850
+ decoderFrequencyMhz: 0,
13851
+ nvjpgActive: false,
13852
+ nvjpgFrequencyMhz: 0,
13853
+ vicActive: false,
13854
+ vicFrequencyMhz: 0,
13855
+ vpuActive: false,
13856
+ vpuFrequencyMhz: 0,
13857
+ vpuCodecIrqCount: 0,
13858
+ vpuJpgIrqCount: 0,
13859
+ };
13860
+ }
13861
+ exports.VideoCodecInfo = {
13862
+ encode(message, writer = new wire_1.BinaryWriter()) {
13863
+ if (message.encoderActive !== false) {
13864
+ writer.uint32(8).bool(message.encoderActive);
13865
+ }
13866
+ if (message.encoderFrequencyMhz !== 0) {
13867
+ writer.uint32(21).float(message.encoderFrequencyMhz);
13868
+ }
13869
+ if (message.decoderActive !== false) {
13870
+ writer.uint32(24).bool(message.decoderActive);
13871
+ }
13872
+ if (message.decoderFrequencyMhz !== 0) {
13873
+ writer.uint32(37).float(message.decoderFrequencyMhz);
13874
+ }
13875
+ if (message.nvjpgActive !== false) {
13876
+ writer.uint32(40).bool(message.nvjpgActive);
13877
+ }
13878
+ if (message.nvjpgFrequencyMhz !== 0) {
13879
+ writer.uint32(53).float(message.nvjpgFrequencyMhz);
13880
+ }
13881
+ if (message.vicActive !== false) {
13882
+ writer.uint32(56).bool(message.vicActive);
13883
+ }
13884
+ if (message.vicFrequencyMhz !== 0) {
13885
+ writer.uint32(69).float(message.vicFrequencyMhz);
13886
+ }
13887
+ if (message.vpuActive !== false) {
13888
+ writer.uint32(72).bool(message.vpuActive);
13889
+ }
13890
+ if (message.vpuFrequencyMhz !== 0) {
13891
+ writer.uint32(85).float(message.vpuFrequencyMhz);
13892
+ }
13893
+ if (message.vpuCodecIrqCount !== 0) {
13894
+ writer.uint32(88).uint32(message.vpuCodecIrqCount);
13895
+ }
13896
+ if (message.vpuJpgIrqCount !== 0) {
13897
+ writer.uint32(96).uint32(message.vpuJpgIrqCount);
13898
+ }
13899
+ return writer;
13900
+ },
13901
+ decode(input, length) {
13902
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
13903
+ const end = length === undefined ? reader.len : reader.pos + length;
13904
+ const message = createBaseVideoCodecInfo();
13905
+ while (reader.pos < end) {
13906
+ const tag = reader.uint32();
13907
+ switch (tag >>> 3) {
13908
+ case 1: {
13909
+ if (tag !== 8) {
13910
+ break;
13911
+ }
13912
+ message.encoderActive = reader.bool();
13913
+ continue;
13914
+ }
13915
+ case 2: {
13916
+ if (tag !== 21) {
13917
+ break;
13918
+ }
13919
+ message.encoderFrequencyMhz = reader.float();
13920
+ continue;
13921
+ }
13922
+ case 3: {
13923
+ if (tag !== 24) {
13924
+ break;
13925
+ }
13926
+ message.decoderActive = reader.bool();
13927
+ continue;
13928
+ }
13929
+ case 4: {
13930
+ if (tag !== 37) {
13931
+ break;
13932
+ }
13933
+ message.decoderFrequencyMhz = reader.float();
13934
+ continue;
13935
+ }
13936
+ case 5: {
13937
+ if (tag !== 40) {
13938
+ break;
13939
+ }
13940
+ message.nvjpgActive = reader.bool();
13941
+ continue;
13942
+ }
13943
+ case 6: {
13944
+ if (tag !== 53) {
13945
+ break;
13946
+ }
13947
+ message.nvjpgFrequencyMhz = reader.float();
13948
+ continue;
13949
+ }
13950
+ case 7: {
13951
+ if (tag !== 56) {
13952
+ break;
13953
+ }
13954
+ message.vicActive = reader.bool();
13955
+ continue;
13956
+ }
13957
+ case 8: {
13958
+ if (tag !== 69) {
13959
+ break;
13960
+ }
13961
+ message.vicFrequencyMhz = reader.float();
13962
+ continue;
13963
+ }
13964
+ case 9: {
13965
+ if (tag !== 72) {
13966
+ break;
13967
+ }
13968
+ message.vpuActive = reader.bool();
13969
+ continue;
13970
+ }
13971
+ case 10: {
13972
+ if (tag !== 85) {
13973
+ break;
13974
+ }
13975
+ message.vpuFrequencyMhz = reader.float();
13976
+ continue;
13977
+ }
13978
+ case 11: {
13979
+ if (tag !== 88) {
13980
+ break;
13981
+ }
13982
+ message.vpuCodecIrqCount = reader.uint32();
13983
+ continue;
13984
+ }
13985
+ case 12: {
13986
+ if (tag !== 96) {
13987
+ break;
13988
+ }
13989
+ message.vpuJpgIrqCount = reader.uint32();
13990
+ continue;
13991
+ }
13992
+ }
13993
+ if ((tag & 7) === 4 || tag === 0) {
13994
+ break;
13995
+ }
13996
+ reader.skip(tag & 7);
13997
+ }
13998
+ return message;
13999
+ },
14000
+ fromJSON(object) {
14001
+ return {
14002
+ encoderActive: isSet(object.encoderActive) ? gt.Boolean(object.encoderActive) : false,
14003
+ encoderFrequencyMhz: isSet(object.encoderFrequencyMhz) ? gt.Number(object.encoderFrequencyMhz) : 0,
14004
+ decoderActive: isSet(object.decoderActive) ? gt.Boolean(object.decoderActive) : false,
14005
+ decoderFrequencyMhz: isSet(object.decoderFrequencyMhz) ? gt.Number(object.decoderFrequencyMhz) : 0,
14006
+ nvjpgActive: isSet(object.nvjpgActive) ? gt.Boolean(object.nvjpgActive) : false,
14007
+ nvjpgFrequencyMhz: isSet(object.nvjpgFrequencyMhz) ? gt.Number(object.nvjpgFrequencyMhz) : 0,
14008
+ vicActive: isSet(object.vicActive) ? gt.Boolean(object.vicActive) : false,
14009
+ vicFrequencyMhz: isSet(object.vicFrequencyMhz) ? gt.Number(object.vicFrequencyMhz) : 0,
14010
+ vpuActive: isSet(object.vpuActive) ? gt.Boolean(object.vpuActive) : false,
14011
+ vpuFrequencyMhz: isSet(object.vpuFrequencyMhz) ? gt.Number(object.vpuFrequencyMhz) : 0,
14012
+ vpuCodecIrqCount: isSet(object.vpuCodecIrqCount) ? gt.Number(object.vpuCodecIrqCount) : 0,
14013
+ vpuJpgIrqCount: isSet(object.vpuJpgIrqCount) ? gt.Number(object.vpuJpgIrqCount) : 0,
14014
+ };
14015
+ },
14016
+ toJSON(message) {
14017
+ const obj = {};
14018
+ if (message.encoderActive !== false) {
14019
+ obj.encoderActive = message.encoderActive;
14020
+ }
14021
+ if (message.encoderFrequencyMhz !== 0) {
14022
+ obj.encoderFrequencyMhz = message.encoderFrequencyMhz;
14023
+ }
14024
+ if (message.decoderActive !== false) {
14025
+ obj.decoderActive = message.decoderActive;
14026
+ }
14027
+ if (message.decoderFrequencyMhz !== 0) {
14028
+ obj.decoderFrequencyMhz = message.decoderFrequencyMhz;
14029
+ }
14030
+ if (message.nvjpgActive !== false) {
14031
+ obj.nvjpgActive = message.nvjpgActive;
14032
+ }
14033
+ if (message.nvjpgFrequencyMhz !== 0) {
14034
+ obj.nvjpgFrequencyMhz = message.nvjpgFrequencyMhz;
14035
+ }
14036
+ if (message.vicActive !== false) {
14037
+ obj.vicActive = message.vicActive;
14038
+ }
14039
+ if (message.vicFrequencyMhz !== 0) {
14040
+ obj.vicFrequencyMhz = message.vicFrequencyMhz;
14041
+ }
14042
+ if (message.vpuActive !== false) {
14043
+ obj.vpuActive = message.vpuActive;
14044
+ }
14045
+ if (message.vpuFrequencyMhz !== 0) {
14046
+ obj.vpuFrequencyMhz = message.vpuFrequencyMhz;
14047
+ }
14048
+ if (message.vpuCodecIrqCount !== 0) {
14049
+ obj.vpuCodecIrqCount = Math.round(message.vpuCodecIrqCount);
14050
+ }
14051
+ if (message.vpuJpgIrqCount !== 0) {
14052
+ obj.vpuJpgIrqCount = Math.round(message.vpuJpgIrqCount);
14053
+ }
14054
+ return obj;
14055
+ },
14056
+ create(base) {
14057
+ return exports.VideoCodecInfo.fromPartial(base ?? {});
14058
+ },
14059
+ fromPartial(object) {
14060
+ const message = createBaseVideoCodecInfo();
14061
+ message.encoderActive = object.encoderActive ?? false;
14062
+ message.encoderFrequencyMhz = object.encoderFrequencyMhz ?? 0;
14063
+ message.decoderActive = object.decoderActive ?? false;
14064
+ message.decoderFrequencyMhz = object.decoderFrequencyMhz ?? 0;
14065
+ message.nvjpgActive = object.nvjpgActive ?? false;
14066
+ message.nvjpgFrequencyMhz = object.nvjpgFrequencyMhz ?? 0;
14067
+ message.vicActive = object.vicActive ?? false;
14068
+ message.vicFrequencyMhz = object.vicFrequencyMhz ?? 0;
14069
+ message.vpuActive = object.vpuActive ?? false;
14070
+ message.vpuFrequencyMhz = object.vpuFrequencyMhz ?? 0;
14071
+ message.vpuCodecIrqCount = object.vpuCodecIrqCount ?? 0;
14072
+ message.vpuJpgIrqCount = object.vpuJpgIrqCount ?? 0;
14073
+ return message;
14074
+ },
14075
+ };
14076
+ function createBaseSystemPerformanceInfo() {
14077
+ return {
14078
+ cpuCores: [],
14079
+ cpuUtilization: 0,
14080
+ gpu: undefined,
14081
+ dlaEngines: [],
14082
+ memory: undefined,
14083
+ thermalZones: [],
14084
+ videoCodec: undefined,
14085
+ mainQueueLoad: 0,
14086
+ guestportQueueLoad: 0,
14087
+ commQueueLoad: 0,
14088
+ cameraQueueLoad: 0,
14089
+ overlayQueueLoad: 0,
14090
+ positionObserverQueueLoad: 0,
14091
+ };
14092
+ }
14093
+ exports.SystemPerformanceInfo = {
14094
+ encode(message, writer = new wire_1.BinaryWriter()) {
14095
+ for (const v of message.cpuCores) {
14096
+ exports.CpuCoreLoad.encode(v, writer.uint32(10).fork()).join();
14097
+ }
14098
+ if (message.cpuUtilization !== 0) {
14099
+ writer.uint32(21).float(message.cpuUtilization);
14100
+ }
14101
+ if (message.gpu !== undefined) {
14102
+ exports.GpuInfo.encode(message.gpu, writer.uint32(26).fork()).join();
14103
+ }
14104
+ for (const v of message.dlaEngines) {
14105
+ exports.DlaInfo.encode(v, writer.uint32(34).fork()).join();
14106
+ }
14107
+ if (message.memory !== undefined) {
14108
+ exports.MemoryInfo.encode(message.memory, writer.uint32(42).fork()).join();
14109
+ }
14110
+ for (const v of message.thermalZones) {
14111
+ exports.ThermalZone.encode(v, writer.uint32(50).fork()).join();
14112
+ }
14113
+ if (message.videoCodec !== undefined) {
14114
+ exports.VideoCodecInfo.encode(message.videoCodec, writer.uint32(58).fork()).join();
14115
+ }
14116
+ if (message.mainQueueLoad !== 0) {
14117
+ writer.uint32(69).float(message.mainQueueLoad);
14118
+ }
14119
+ if (message.guestportQueueLoad !== 0) {
14120
+ writer.uint32(77).float(message.guestportQueueLoad);
14121
+ }
14122
+ if (message.commQueueLoad !== 0) {
14123
+ writer.uint32(85).float(message.commQueueLoad);
14124
+ }
14125
+ if (message.cameraQueueLoad !== 0) {
14126
+ writer.uint32(93).float(message.cameraQueueLoad);
14127
+ }
14128
+ if (message.overlayQueueLoad !== 0) {
14129
+ writer.uint32(101).float(message.overlayQueueLoad);
14130
+ }
14131
+ if (message.positionObserverQueueLoad !== 0) {
14132
+ writer.uint32(109).float(message.positionObserverQueueLoad);
14133
+ }
14134
+ return writer;
14135
+ },
14136
+ decode(input, length) {
14137
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
14138
+ const end = length === undefined ? reader.len : reader.pos + length;
14139
+ const message = createBaseSystemPerformanceInfo();
14140
+ while (reader.pos < end) {
14141
+ const tag = reader.uint32();
14142
+ switch (tag >>> 3) {
14143
+ case 1: {
14144
+ if (tag !== 10) {
14145
+ break;
14146
+ }
14147
+ message.cpuCores.push(exports.CpuCoreLoad.decode(reader, reader.uint32()));
14148
+ continue;
14149
+ }
14150
+ case 2: {
14151
+ if (tag !== 21) {
14152
+ break;
14153
+ }
14154
+ message.cpuUtilization = reader.float();
14155
+ continue;
14156
+ }
14157
+ case 3: {
14158
+ if (tag !== 26) {
14159
+ break;
14160
+ }
14161
+ message.gpu = exports.GpuInfo.decode(reader, reader.uint32());
14162
+ continue;
14163
+ }
14164
+ case 4: {
14165
+ if (tag !== 34) {
14166
+ break;
14167
+ }
14168
+ message.dlaEngines.push(exports.DlaInfo.decode(reader, reader.uint32()));
14169
+ continue;
14170
+ }
14171
+ case 5: {
14172
+ if (tag !== 42) {
14173
+ break;
14174
+ }
14175
+ message.memory = exports.MemoryInfo.decode(reader, reader.uint32());
14176
+ continue;
14177
+ }
14178
+ case 6: {
14179
+ if (tag !== 50) {
14180
+ break;
14181
+ }
14182
+ message.thermalZones.push(exports.ThermalZone.decode(reader, reader.uint32()));
14183
+ continue;
14184
+ }
14185
+ case 7: {
14186
+ if (tag !== 58) {
14187
+ break;
14188
+ }
14189
+ message.videoCodec = exports.VideoCodecInfo.decode(reader, reader.uint32());
14190
+ continue;
14191
+ }
14192
+ case 8: {
14193
+ if (tag !== 69) {
14194
+ break;
14195
+ }
14196
+ message.mainQueueLoad = reader.float();
14197
+ continue;
14198
+ }
14199
+ case 9: {
14200
+ if (tag !== 77) {
14201
+ break;
14202
+ }
14203
+ message.guestportQueueLoad = reader.float();
14204
+ continue;
14205
+ }
14206
+ case 10: {
14207
+ if (tag !== 85) {
14208
+ break;
14209
+ }
14210
+ message.commQueueLoad = reader.float();
14211
+ continue;
14212
+ }
14213
+ case 11: {
14214
+ if (tag !== 93) {
14215
+ break;
14216
+ }
14217
+ message.cameraQueueLoad = reader.float();
14218
+ continue;
14219
+ }
14220
+ case 12: {
14221
+ if (tag !== 101) {
14222
+ break;
14223
+ }
14224
+ message.overlayQueueLoad = reader.float();
14225
+ continue;
14226
+ }
14227
+ case 13: {
14228
+ if (tag !== 109) {
14229
+ break;
14230
+ }
14231
+ message.positionObserverQueueLoad = reader.float();
14232
+ continue;
14233
+ }
14234
+ }
14235
+ if ((tag & 7) === 4 || tag === 0) {
14236
+ break;
14237
+ }
14238
+ reader.skip(tag & 7);
14239
+ }
14240
+ return message;
14241
+ },
14242
+ fromJSON(object) {
14243
+ return {
14244
+ cpuCores: gt.Array.isArray(object?.cpuCores) ? object.cpuCores.map((e) => exports.CpuCoreLoad.fromJSON(e)) : [],
14245
+ cpuUtilization: isSet(object.cpuUtilization) ? gt.Number(object.cpuUtilization) : 0,
14246
+ gpu: isSet(object.gpu) ? exports.GpuInfo.fromJSON(object.gpu) : undefined,
14247
+ dlaEngines: gt.Array.isArray(object?.dlaEngines) ? object.dlaEngines.map((e) => exports.DlaInfo.fromJSON(e)) : [],
14248
+ memory: isSet(object.memory) ? exports.MemoryInfo.fromJSON(object.memory) : undefined,
14249
+ thermalZones: gt.Array.isArray(object?.thermalZones)
14250
+ ? object.thermalZones.map((e) => exports.ThermalZone.fromJSON(e))
14251
+ : [],
14252
+ videoCodec: isSet(object.videoCodec) ? exports.VideoCodecInfo.fromJSON(object.videoCodec) : undefined,
14253
+ mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
14254
+ guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
14255
+ commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
14256
+ cameraQueueLoad: isSet(object.cameraQueueLoad) ? gt.Number(object.cameraQueueLoad) : 0,
14257
+ overlayQueueLoad: isSet(object.overlayQueueLoad) ? gt.Number(object.overlayQueueLoad) : 0,
14258
+ positionObserverQueueLoad: isSet(object.positionObserverQueueLoad)
14259
+ ? gt.Number(object.positionObserverQueueLoad)
14260
+ : 0,
14261
+ };
14262
+ },
14263
+ toJSON(message) {
14264
+ const obj = {};
14265
+ if (message.cpuCores?.length) {
14266
+ obj.cpuCores = message.cpuCores.map((e) => exports.CpuCoreLoad.toJSON(e));
14267
+ }
14268
+ if (message.cpuUtilization !== 0) {
14269
+ obj.cpuUtilization = message.cpuUtilization;
14270
+ }
14271
+ if (message.gpu !== undefined) {
14272
+ obj.gpu = exports.GpuInfo.toJSON(message.gpu);
14273
+ }
14274
+ if (message.dlaEngines?.length) {
14275
+ obj.dlaEngines = message.dlaEngines.map((e) => exports.DlaInfo.toJSON(e));
14276
+ }
14277
+ if (message.memory !== undefined) {
14278
+ obj.memory = exports.MemoryInfo.toJSON(message.memory);
14279
+ }
14280
+ if (message.thermalZones?.length) {
14281
+ obj.thermalZones = message.thermalZones.map((e) => exports.ThermalZone.toJSON(e));
14282
+ }
14283
+ if (message.videoCodec !== undefined) {
14284
+ obj.videoCodec = exports.VideoCodecInfo.toJSON(message.videoCodec);
14285
+ }
14286
+ if (message.mainQueueLoad !== 0) {
14287
+ obj.mainQueueLoad = message.mainQueueLoad;
14288
+ }
14289
+ if (message.guestportQueueLoad !== 0) {
14290
+ obj.guestportQueueLoad = message.guestportQueueLoad;
14291
+ }
14292
+ if (message.commQueueLoad !== 0) {
14293
+ obj.commQueueLoad = message.commQueueLoad;
14294
+ }
14295
+ if (message.cameraQueueLoad !== 0) {
14296
+ obj.cameraQueueLoad = message.cameraQueueLoad;
14297
+ }
14298
+ if (message.overlayQueueLoad !== 0) {
14299
+ obj.overlayQueueLoad = message.overlayQueueLoad;
14300
+ }
14301
+ if (message.positionObserverQueueLoad !== 0) {
14302
+ obj.positionObserverQueueLoad = message.positionObserverQueueLoad;
14303
+ }
14304
+ return obj;
14305
+ },
14306
+ create(base) {
14307
+ return exports.SystemPerformanceInfo.fromPartial(base ?? {});
14308
+ },
14309
+ fromPartial(object) {
14310
+ const message = createBaseSystemPerformanceInfo();
14311
+ message.cpuCores = object.cpuCores?.map((e) => exports.CpuCoreLoad.fromPartial(e)) || [];
14312
+ message.cpuUtilization = object.cpuUtilization ?? 0;
14313
+ message.gpu = (object.gpu !== undefined && object.gpu !== null) ? exports.GpuInfo.fromPartial(object.gpu) : undefined;
14314
+ message.dlaEngines = object.dlaEngines?.map((e) => exports.DlaInfo.fromPartial(e)) || [];
14315
+ message.memory = (object.memory !== undefined && object.memory !== null)
14316
+ ? exports.MemoryInfo.fromPartial(object.memory)
14317
+ : undefined;
14318
+ message.thermalZones = object.thermalZones?.map((e) => exports.ThermalZone.fromPartial(e)) || [];
14319
+ message.videoCodec = (object.videoCodec !== undefined && object.videoCodec !== null)
14320
+ ? exports.VideoCodecInfo.fromPartial(object.videoCodec)
14321
+ : undefined;
14322
+ message.mainQueueLoad = object.mainQueueLoad ?? 0;
14323
+ message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
14324
+ message.commQueueLoad = object.commQueueLoad ?? 0;
14325
+ message.cameraQueueLoad = object.cameraQueueLoad ?? 0;
14326
+ message.overlayQueueLoad = object.overlayQueueLoad ?? 0;
14327
+ message.positionObserverQueueLoad = object.positionObserverQueueLoad ?? 0;
14328
+ return message;
14329
+ },
14330
+ };
14331
+ function createBaseSurfaceUnitBatteryInfo() {
14332
+ return { status: 0, level: 0 };
14333
+ }
14334
+ exports.SurfaceUnitBatteryInfo = {
14335
+ encode(message, writer = new wire_1.BinaryWriter()) {
14336
+ if (message.status !== 0) {
14337
+ writer.uint32(8).int32(message.status);
14338
+ }
14339
+ if (message.level !== 0) {
14340
+ writer.uint32(21).float(message.level);
14341
+ }
14342
+ return writer;
14343
+ },
14344
+ decode(input, length) {
14345
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
14346
+ const end = length === undefined ? reader.len : reader.pos + length;
14347
+ const message = createBaseSurfaceUnitBatteryInfo();
14348
+ while (reader.pos < end) {
14349
+ const tag = reader.uint32();
14350
+ switch (tag >>> 3) {
14351
+ case 1: {
14352
+ if (tag !== 8) {
14353
+ break;
14354
+ }
14355
+ message.status = reader.int32();
14356
+ continue;
14357
+ }
14358
+ case 2: {
14359
+ if (tag !== 21) {
14360
+ break;
14361
+ }
14362
+ message.level = reader.float();
14363
+ continue;
14364
+ }
14365
+ }
14366
+ if ((tag & 7) === 4 || tag === 0) {
14367
+ break;
14368
+ }
14369
+ reader.skip(tag & 7);
14370
+ }
14371
+ return message;
14372
+ },
14373
+ fromJSON(object) {
14374
+ return {
14375
+ status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
14376
+ level: isSet(object.level) ? gt.Number(object.level) : 0,
14377
+ };
14378
+ },
14379
+ toJSON(message) {
14380
+ const obj = {};
14381
+ if (message.status !== 0) {
14382
+ obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
14383
+ }
14384
+ if (message.level !== 0) {
14385
+ obj.level = message.level;
14386
+ }
14387
+ return obj;
14388
+ },
14389
+ create(base) {
14390
+ return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
14391
+ },
14392
+ fromPartial(object) {
14393
+ const message = createBaseSurfaceUnitBatteryInfo();
14394
+ message.status = object.status ?? 0;
14395
+ message.level = object.level ?? 0;
14396
+ return message;
14397
+ },
14398
+ };
14399
+ function createBaseSurfaceUnitVersionInfo() {
14400
+ return { version: "" };
14401
+ }
14402
+ exports.SurfaceUnitVersionInfo = {
14403
+ encode(message, writer = new wire_1.BinaryWriter()) {
14404
+ if (message.version !== "") {
14405
+ writer.uint32(10).string(message.version);
14406
+ }
14407
+ return writer;
14408
+ },
14409
+ decode(input, length) {
14410
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
14411
+ const end = length === undefined ? reader.len : reader.pos + length;
14412
+ const message = createBaseSurfaceUnitVersionInfo();
14413
+ while (reader.pos < end) {
14414
+ const tag = reader.uint32();
14415
+ switch (tag >>> 3) {
14416
+ case 1: {
14417
+ if (tag !== 10) {
14418
+ break;
14419
+ }
14420
+ message.version = reader.string();
14421
+ continue;
14422
+ }
14423
+ }
14424
+ if ((tag & 7) === 4 || tag === 0) {
14425
+ break;
14426
+ }
14427
+ reader.skip(tag & 7);
14428
+ }
14429
+ return message;
14430
+ },
14431
+ fromJSON(object) {
14432
+ return { version: isSet(object.version) ? gt.String(object.version) : "" };
14433
+ },
14434
+ toJSON(message) {
14435
+ const obj = {};
14436
+ if (message.version !== "") {
14437
+ obj.version = message.version;
14438
+ }
14439
+ return obj;
14440
+ },
14441
+ create(base) {
14442
+ return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
14443
+ },
14444
+ fromPartial(object) {
14445
+ const message = createBaseSurfaceUnitVersionInfo();
14446
+ message.version = object.version ?? "";
14447
+ return message;
14448
+ },
14449
+ };
14450
+ function createBaseBoundingBox() {
14451
+ return { x: 0, y: 0, width: 0, height: 0 };
14452
+ }
14453
+ exports.BoundingBox = {
14454
+ encode(message, writer = new wire_1.BinaryWriter()) {
14455
+ if (message.x !== 0) {
14456
+ writer.uint32(8).uint32(message.x);
14457
+ }
14458
+ if (message.y !== 0) {
14459
+ writer.uint32(16).uint32(message.y);
14460
+ }
14461
+ if (message.width !== 0) {
14462
+ writer.uint32(24).uint32(message.width);
14463
+ }
14464
+ if (message.height !== 0) {
14465
+ writer.uint32(32).uint32(message.height);
14466
+ }
14467
+ return writer;
14468
+ },
14469
+ decode(input, length) {
14470
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
14471
+ const end = length === undefined ? reader.len : reader.pos + length;
14472
+ const message = createBaseBoundingBox();
14473
+ while (reader.pos < end) {
14474
+ const tag = reader.uint32();
14475
+ switch (tag >>> 3) {
14476
+ case 1: {
14477
+ if (tag !== 8) {
14478
+ break;
14479
+ }
14480
+ message.x = reader.uint32();
14481
+ continue;
14482
+ }
14483
+ case 2: {
14484
+ if (tag !== 16) {
14485
+ break;
14486
+ }
14487
+ message.y = reader.uint32();
14488
+ continue;
14489
+ }
14490
+ case 3: {
14491
+ if (tag !== 24) {
14492
+ break;
14493
+ }
14494
+ message.width = reader.uint32();
14495
+ continue;
14496
+ }
14497
+ case 4: {
14498
+ if (tag !== 32) {
14499
+ break;
14500
+ }
14501
+ message.height = reader.uint32();
14502
+ continue;
14503
+ }
14504
+ }
14505
+ if ((tag & 7) === 4 || tag === 0) {
14506
+ break;
14507
+ }
14508
+ reader.skip(tag & 7);
14509
+ }
14510
+ return message;
14511
+ },
14512
+ fromJSON(object) {
14513
+ return {
14514
+ x: isSet(object.x) ? gt.Number(object.x) : 0,
14515
+ y: isSet(object.y) ? gt.Number(object.y) : 0,
14516
+ width: isSet(object.width) ? gt.Number(object.width) : 0,
14517
+ height: isSet(object.height) ? gt.Number(object.height) : 0,
14518
+ };
14519
+ },
14520
+ toJSON(message) {
14521
+ const obj = {};
14522
+ if (message.x !== 0) {
14523
+ obj.x = Math.round(message.x);
14524
+ }
14525
+ if (message.y !== 0) {
14526
+ obj.y = Math.round(message.y);
14527
+ }
14528
+ if (message.width !== 0) {
14529
+ obj.width = Math.round(message.width);
14530
+ }
14531
+ if (message.height !== 0) {
14532
+ obj.height = Math.round(message.height);
14533
+ }
14534
+ return obj;
14535
+ },
14536
+ create(base) {
14537
+ return exports.BoundingBox.fromPartial(base ?? {});
14538
+ },
14539
+ fromPartial(object) {
14540
+ const message = createBaseBoundingBox();
14541
+ message.x = object.x ?? 0;
14542
+ message.y = object.y ?? 0;
14543
+ message.width = object.width ?? 0;
14544
+ message.height = object.height ?? 0;
14545
+ return message;
14546
+ },
14547
+ };
14548
+ function createBaseObjectDetection() {
14549
+ return { boundingBox: undefined, confidence: 0, classId: 0, className: "", trackingId: 0 };
14550
+ }
14551
+ exports.ObjectDetection = {
14552
+ encode(message, writer = new wire_1.BinaryWriter()) {
14553
+ if (message.boundingBox !== undefined) {
14554
+ exports.BoundingBox.encode(message.boundingBox, writer.uint32(10).fork()).join();
14555
+ }
14556
+ if (message.confidence !== 0) {
14557
+ writer.uint32(21).float(message.confidence);
14558
+ }
14559
+ if (message.classId !== 0) {
14560
+ writer.uint32(24).uint32(message.classId);
14561
+ }
14562
+ if (message.className !== "") {
14563
+ writer.uint32(34).string(message.className);
14564
+ }
14565
+ if (message.trackingId !== 0) {
14566
+ writer.uint32(40).uint32(message.trackingId);
14567
+ }
14568
+ return writer;
14569
+ },
14570
+ decode(input, length) {
14571
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
14572
+ const end = length === undefined ? reader.len : reader.pos + length;
14573
+ const message = createBaseObjectDetection();
14574
+ while (reader.pos < end) {
14575
+ const tag = reader.uint32();
14576
+ switch (tag >>> 3) {
14577
+ case 1: {
14578
+ if (tag !== 10) {
14579
+ break;
14580
+ }
14581
+ message.boundingBox = exports.BoundingBox.decode(reader, reader.uint32());
14582
+ continue;
14583
+ }
14584
+ case 2: {
14585
+ if (tag !== 21) {
14586
+ break;
14587
+ }
14588
+ message.confidence = reader.float();
14589
+ continue;
14590
+ }
14591
+ case 3: {
14592
+ if (tag !== 24) {
14593
+ break;
14594
+ }
14595
+ message.classId = reader.uint32();
14596
+ continue;
14597
+ }
14598
+ case 4: {
14599
+ if (tag !== 34) {
14600
+ break;
14601
+ }
14602
+ message.className = reader.string();
14603
+ continue;
14604
+ }
14605
+ case 5: {
14606
+ if (tag !== 40) {
14607
+ break;
14608
+ }
14609
+ message.trackingId = reader.uint32();
14610
+ continue;
14611
+ }
14612
+ }
14613
+ if ((tag & 7) === 4 || tag === 0) {
14614
+ break;
14615
+ }
14616
+ reader.skip(tag & 7);
14617
+ }
14618
+ return message;
14619
+ },
14620
+ fromJSON(object) {
14621
+ return {
14622
+ boundingBox: isSet(object.boundingBox) ? exports.BoundingBox.fromJSON(object.boundingBox) : undefined,
14623
+ confidence: isSet(object.confidence) ? gt.Number(object.confidence) : 0,
14624
+ classId: isSet(object.classId) ? gt.Number(object.classId) : 0,
14625
+ className: isSet(object.className) ? gt.String(object.className) : "",
14626
+ trackingId: isSet(object.trackingId) ? gt.Number(object.trackingId) : 0,
14627
+ };
14628
+ },
14629
+ toJSON(message) {
14630
+ const obj = {};
14631
+ if (message.boundingBox !== undefined) {
14632
+ obj.boundingBox = exports.BoundingBox.toJSON(message.boundingBox);
14633
+ }
14634
+ if (message.confidence !== 0) {
14635
+ obj.confidence = message.confidence;
14636
+ }
14637
+ if (message.classId !== 0) {
14638
+ obj.classId = Math.round(message.classId);
14639
+ }
14640
+ if (message.className !== "") {
14641
+ obj.className = message.className;
14642
+ }
14643
+ if (message.trackingId !== 0) {
14644
+ obj.trackingId = Math.round(message.trackingId);
14645
+ }
14646
+ return obj;
14647
+ },
14648
+ create(base) {
14649
+ return exports.ObjectDetection.fromPartial(base ?? {});
14650
+ },
14651
+ fromPartial(object) {
14652
+ const message = createBaseObjectDetection();
14653
+ message.boundingBox = (object.boundingBox !== undefined && object.boundingBox !== null)
14654
+ ? exports.BoundingBox.fromPartial(object.boundingBox)
14655
+ : undefined;
14656
+ message.confidence = object.confidence ?? 0;
14657
+ message.classId = object.classId ?? 0;
14658
+ message.className = object.className ?? "";
14659
+ message.trackingId = object.trackingId ?? 0;
14660
+ return message;
14661
+ },
14662
+ };
14663
+ function createBaseObjectDetections() {
14664
+ return { detections: [], camera: 0 };
14665
+ }
14666
+ exports.ObjectDetections = {
14667
+ encode(message, writer = new wire_1.BinaryWriter()) {
14668
+ for (const v of message.detections) {
14669
+ exports.ObjectDetection.encode(v, writer.uint32(10).fork()).join();
14670
+ }
14671
+ if (message.camera !== 0) {
14672
+ writer.uint32(16).int32(message.camera);
14673
+ }
14674
+ return writer;
14675
+ },
14676
+ decode(input, length) {
14677
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
14678
+ const end = length === undefined ? reader.len : reader.pos + length;
14679
+ const message = createBaseObjectDetections();
14680
+ while (reader.pos < end) {
14681
+ const tag = reader.uint32();
14682
+ switch (tag >>> 3) {
14683
+ case 1: {
14684
+ if (tag !== 10) {
14685
+ break;
14686
+ }
14687
+ message.detections.push(exports.ObjectDetection.decode(reader, reader.uint32()));
14688
+ continue;
14689
+ }
14690
+ case 2: {
14691
+ if (tag !== 16) {
14692
+ break;
14693
+ }
14694
+ message.camera = reader.int32();
14695
+ continue;
14696
+ }
14697
+ }
14698
+ if ((tag & 7) === 4 || tag === 0) {
14699
+ break;
14700
+ }
14701
+ reader.skip(tag & 7);
14702
+ }
14703
+ return message;
14704
+ },
14705
+ fromJSON(object) {
14706
+ return {
14707
+ detections: gt.Array.isArray(object?.detections)
14708
+ ? object.detections.map((e) => exports.ObjectDetection.fromJSON(e))
14709
+ : [],
14710
+ camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
14711
+ };
14712
+ },
14713
+ toJSON(message) {
14714
+ const obj = {};
14715
+ if (message.detections?.length) {
14716
+ obj.detections = message.detections.map((e) => exports.ObjectDetection.toJSON(e));
14717
+ }
14718
+ if (message.camera !== 0) {
14719
+ obj.camera = cameraToJSON(message.camera);
14720
+ }
14721
+ return obj;
14722
+ },
14723
+ create(base) {
14724
+ return exports.ObjectDetections.fromPartial(base ?? {});
14725
+ },
14726
+ fromPartial(object) {
14727
+ const message = createBaseObjectDetections();
14728
+ message.detections = object.detections?.map((e) => exports.ObjectDetection.fromPartial(e)) || [];
14729
+ message.camera = object.camera ?? 0;
14730
+ return message;
14731
+ },
14732
+ };
14733
+ function createBaseFilterMessage() {
14734
+ return { enabled: false, intensity: 0 };
14735
+ }
14736
+ exports.FilterMessage = {
14737
+ encode(message, writer = new wire_1.BinaryWriter()) {
14738
+ if (message.enabled !== false) {
14739
+ writer.uint32(8).bool(message.enabled);
14740
+ }
14741
+ if (message.intensity !== 0) {
14742
+ writer.uint32(21).float(message.intensity);
14743
+ }
14744
+ return writer;
14745
+ },
14746
+ decode(input, length) {
14747
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
14748
+ const end = length === undefined ? reader.len : reader.pos + length;
14749
+ const message = createBaseFilterMessage();
14750
+ while (reader.pos < end) {
14751
+ const tag = reader.uint32();
14752
+ switch (tag >>> 3) {
14753
+ case 1: {
14754
+ if (tag !== 8) {
14755
+ break;
14756
+ }
14757
+ message.enabled = reader.bool();
14758
+ continue;
14759
+ }
14760
+ case 2: {
14761
+ if (tag !== 21) {
14762
+ break;
14763
+ }
14764
+ message.intensity = reader.float();
14765
+ continue;
14766
+ }
14767
+ }
14768
+ if ((tag & 7) === 4 || tag === 0) {
14769
+ break;
14770
+ }
14771
+ reader.skip(tag & 7);
14772
+ }
14773
+ return message;
14774
+ },
14775
+ fromJSON(object) {
14776
+ return {
14777
+ enabled: isSet(object.enabled) ? gt.Boolean(object.enabled) : false,
14778
+ intensity: isSet(object.intensity) ? gt.Number(object.intensity) : 0,
14779
+ };
14780
+ },
14781
+ toJSON(message) {
14782
+ const obj = {};
14783
+ if (message.enabled !== false) {
14784
+ obj.enabled = message.enabled;
14785
+ }
14786
+ if (message.intensity !== 0) {
14787
+ obj.intensity = message.intensity;
14788
+ }
14789
+ return obj;
14790
+ },
14791
+ create(base) {
14792
+ return exports.FilterMessage.fromPartial(base ?? {});
14793
+ },
14794
+ fromPartial(object) {
14795
+ const message = createBaseFilterMessage();
14796
+ message.enabled = object.enabled ?? false;
14797
+ message.intensity = object.intensity ?? 0;
14798
+ return message;
14799
+ },
14800
+ };
14801
+ function createBaseCameraPanTiltZoom() {
14802
+ return { pan: 0, tilt: 0, zoom: 0 };
14803
+ }
14804
+ exports.CameraPanTiltZoom = {
14805
+ encode(message, writer = new wire_1.BinaryWriter()) {
14806
+ if (message.pan !== 0) {
14807
+ writer.uint32(13).float(message.pan);
14808
+ }
14809
+ if (message.tilt !== 0) {
14810
+ writer.uint32(21).float(message.tilt);
14811
+ }
14812
+ if (message.zoom !== 0) {
14813
+ writer.uint32(29).float(message.zoom);
14814
+ }
14815
+ return writer;
14816
+ },
14817
+ decode(input, length) {
14818
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
14819
+ const end = length === undefined ? reader.len : reader.pos + length;
14820
+ const message = createBaseCameraPanTiltZoom();
14821
+ while (reader.pos < end) {
14822
+ const tag = reader.uint32();
14823
+ switch (tag >>> 3) {
14824
+ case 1: {
14825
+ if (tag !== 13) {
14826
+ break;
14827
+ }
14828
+ message.pan = reader.float();
14829
+ continue;
14830
+ }
14831
+ case 2: {
14832
+ if (tag !== 21) {
14833
+ break;
14834
+ }
14835
+ message.tilt = reader.float();
14836
+ continue;
14837
+ }
14838
+ case 3: {
14839
+ if (tag !== 29) {
14840
+ break;
14841
+ }
14842
+ message.zoom = reader.float();
14843
+ continue;
14844
+ }
14845
+ }
14846
+ if ((tag & 7) === 4 || tag === 0) {
14847
+ break;
14848
+ }
14849
+ reader.skip(tag & 7);
14850
+ }
14851
+ return message;
14852
+ },
14853
+ fromJSON(object) {
14854
+ return {
14855
+ pan: isSet(object.pan) ? gt.Number(object.pan) : 0,
14856
+ tilt: isSet(object.tilt) ? gt.Number(object.tilt) : 0,
14857
+ zoom: isSet(object.zoom) ? gt.Number(object.zoom) : 0,
14858
+ };
14859
+ },
14860
+ toJSON(message) {
14861
+ const obj = {};
14862
+ if (message.pan !== 0) {
14863
+ obj.pan = message.pan;
14864
+ }
14865
+ if (message.tilt !== 0) {
14866
+ obj.tilt = message.tilt;
14867
+ }
14868
+ if (message.zoom !== 0) {
14869
+ obj.zoom = message.zoom;
14870
+ }
14871
+ return obj;
14872
+ },
14873
+ create(base) {
14874
+ return exports.CameraPanTiltZoom.fromPartial(base ?? {});
14875
+ },
14876
+ fromPartial(object) {
14877
+ const message = createBaseCameraPanTiltZoom();
14878
+ message.pan = object.pan ?? 0;
14879
+ message.tilt = object.tilt ?? 0;
14880
+ message.zoom = object.zoom ?? 0;
14881
+ return message;
14882
+ },
14883
+ };
14884
+ function createBaseOperatorInfo() {
14885
+ return { name: "", email: "" };
14886
+ }
14887
+ exports.OperatorInfo = {
14888
+ encode(message, writer = new wire_1.BinaryWriter()) {
14889
+ if (message.name !== "") {
14890
+ writer.uint32(10).string(message.name);
14891
+ }
14892
+ if (message.email !== "") {
14893
+ writer.uint32(18).string(message.email);
14894
+ }
14895
+ return writer;
14896
+ },
14897
+ decode(input, length) {
14898
+ const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
14899
+ const end = length === undefined ? reader.len : reader.pos + length;
14900
+ const message = createBaseOperatorInfo();
14901
+ while (reader.pos < end) {
14902
+ const tag = reader.uint32();
14903
+ switch (tag >>> 3) {
14904
+ case 1: {
14905
+ if (tag !== 10) {
14906
+ break;
14907
+ }
14908
+ message.name = reader.string();
14909
+ continue;
14910
+ }
14911
+ case 2: {
14912
+ if (tag !== 18) {
14913
+ break;
14914
+ }
14915
+ message.email = reader.string();
14916
+ continue;
14917
+ }
14918
+ }
14919
+ if ((tag & 7) === 4 || tag === 0) {
14920
+ break;
14921
+ }
14922
+ reader.skip(tag & 7);
14923
+ }
14924
+ return message;
14925
+ },
14926
+ fromJSON(object) {
14927
+ return {
14928
+ name: isSet(object.name) ? gt.String(object.name) : "",
14929
+ email: isSet(object.email) ? gt.String(object.email) : "",
14930
+ };
14931
+ },
14932
+ toJSON(message) {
14933
+ const obj = {};
14934
+ if (message.name !== "") {
14935
+ obj.name = message.name;
14936
+ }
14937
+ if (message.email !== "") {
14938
+ obj.email = message.email;
14939
+ }
14940
+ return obj;
14941
+ },
14942
+ create(base) {
14943
+ return exports.OperatorInfo.fromPartial(base ?? {});
14944
+ },
14945
+ fromPartial(object) {
14946
+ const message = createBaseOperatorInfo();
14947
+ message.name = object.name ?? "";
14948
+ message.email = object.email ?? "";
12557
14949
  return message;
12558
14950
  },
12559
14951
  };