@blueyerobotics/protocol-definitions 3.2.0-2da79a0a → 3.2.0-2de0da47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +165 -0
- package/README.npm.md +40 -0
- package/dist/aquatroll.js +1 -1
- package/dist/control.d.ts +22 -2
- package/dist/control.js +153 -10
- package/dist/google/protobuf/any.js +1 -1
- package/dist/google/protobuf/duration.js +1 -1
- package/dist/google/protobuf/timestamp.js +1 -1
- package/dist/index.blueye.js +1 -1
- package/dist/index.blueye.protocol.js +1 -1
- package/dist/index.google.js +1 -1
- package/dist/index.google.protobuf.js +1 -1
- package/dist/index.js +1 -1
- package/dist/message_formats.d.ts +278 -13
- package/dist/message_formats.js +1733 -230
- package/dist/mission_planning.d.ts +54 -0
- package/dist/mission_planning.js +244 -2
- package/dist/req_rep.d.ts +22 -0
- package/dist/req_rep.js +192 -2
- package/dist/telemetry.d.ts +60 -1
- package/dist/telemetry.js +453 -6
- package/package.json +8 -6
package/dist/message_formats.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.7
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: message_formats.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = void 0;
|
|
8
|
+
exports.AutoPilotHeaveState = exports.AutoPilotSurgeYawState = exports.WeatherVaningState = exports.StationKeepingState = exports.AutoAltitudeState = exports.AutoDepthState = exports.AutoHeadingState = exports.ConnectionDuration = exports.LatLongPosition = exports.Laser = exports.Lights = exports.MotionInput = exports.KernelLogEntry_KeyValuePair = exports.KernelLogEntry = exports.LogEntry = exports.BinlogRecord = exports.SurfaceUnitBatteryInfo_ChargeStatus = exports.MultibeamConfig_MaximumNumberOfBeams = exports.MultibeamConfig_PingRate = exports.CalibrationState_Status = exports.RemovableStorageDevice_Status = exports.BatteryBQ40Z50_BatteryStatus_BatteryError = exports.PingerConfiguration_MountingDirection = exports.KernelLogEntry_KernelLogLevel = exports.LogEntry_LogLevel = exports.MultibeamFrequencyMode = exports.GuestPortError = exports.GuestPortDetachStatus = exports.NavigationSensorID = exports.GuestPortNumber = exports.GuestPortDeviceID = exports.FontSize = exports.ThicknessUnit = exports.DepthUnit = exports.LogoType = exports.TemperatureUnit = exports.StreamingProtocol = exports.Camera = exports.Framerate = exports.Resolution = exports.PressureSensorType = exports.Model = exports.StorageLocation = exports.NotificationLevel = exports.NotificationType = exports.ResetCoordinateSource = exports.HeadingMode = exports.HeadingSource = exports.LocationSource = exports.IntervalType = void 0;
|
|
9
|
+
exports.CameraParameters = exports.ErrorFlags = exports.DroneInfo = exports.TiltVelocity = exports.TiltAngle = exports.NStreamers = exports.IperfStatus = exports.CalibrationState = exports.RemovableStorageErrorFlags = exports.RemovableStorageDevice = exports.StoragePartition = exports.StorageSpace = exports.RecordOn = exports.DiveTime = exports.ControllerHealth = exports.ControlForce = exports.Notification = exports.Reference = exports.Depth = exports.DvlVelocity = exports.DvlTransducer = exports.ResetPositionSettings = exports.PositionEstimate = exports.ForwardDistance = exports.Altitude = exports.MagneticDeclination = exports.Attitude = exports.BatteryBQ40Z50_BatteryChargingEvents = exports.BatteryBQ40Z50_BatterySafetyEvents = exports.BatteryBQ40Z50_BatteryLifetimes_CellVoltages = exports.BatteryBQ40Z50_BatteryLifetimes = exports.BatteryBQ40Z50_BatteryStatus = exports.BatteryBQ40Z50_Temperature = exports.BatteryBQ40Z50_Voltage = exports.BatteryBQ40Z50 = exports.Battery = exports.CanisterHumidity = exports.CanisterTemperature = exports.CPUTemperature = exports.WaterTemperature = exports.PingerConfiguration = exports.WaterDensity = exports.TimeLapseState = exports.RecordState = exports.ConnectedClient = exports.ClientInfo = exports.GripperVelocities = exports.SystemTime = exports.TiltStabilizationState = exports.ControlMode = void 0;
|
|
10
|
+
exports.CameraPanTiltZoom = exports.FilterMessage = exports.ObjectDetections = exports.ObjectDetection = exports.BoundingBox = exports.SurfaceUnitVersionInfo = exports.SurfaceUnitBatteryInfo = exports.CPUInfo = exports.PersistentStorageSettings = exports.MutltibeamRecordingIndex = exports.MultibeamFrameOffset = exports.MultibeamErrorFlags = exports.MultibeamDiscovery = exports.MultibeamConfig = exports.MultibeamPing = exports.MedusaSpectrometerData = exports.Imu = exports.Vector3 = exports.GuestPortCurrent = exports.MultibeamServo = exports.GenericServo = exports.CpProbe = exports.ThicknessGauge = exports.GuestPortRestartInfo = exports.GuestPortInfo = exports.GuestPortConnectorInfo = exports.GuestPortDeviceList = exports.GuestPortDevice = exports.NavigationSensorStatus = exports.OverlayParameters = void 0;
|
|
11
11
|
exports.intervalTypeFromJSON = intervalTypeFromJSON;
|
|
12
12
|
exports.intervalTypeToJSON = intervalTypeToJSON;
|
|
13
13
|
exports.locationSourceFromJSON = locationSourceFromJSON;
|
|
@@ -22,6 +22,8 @@ exports.notificationTypeFromJSON = notificationTypeFromJSON;
|
|
|
22
22
|
exports.notificationTypeToJSON = notificationTypeToJSON;
|
|
23
23
|
exports.notificationLevelFromJSON = notificationLevelFromJSON;
|
|
24
24
|
exports.notificationLevelToJSON = notificationLevelToJSON;
|
|
25
|
+
exports.storageLocationFromJSON = storageLocationFromJSON;
|
|
26
|
+
exports.storageLocationToJSON = storageLocationToJSON;
|
|
25
27
|
exports.modelFromJSON = modelFromJSON;
|
|
26
28
|
exports.modelToJSON = modelToJSON;
|
|
27
29
|
exports.pressureSensorTypeFromJSON = pressureSensorTypeFromJSON;
|
|
@@ -32,6 +34,8 @@ exports.framerateFromJSON = framerateFromJSON;
|
|
|
32
34
|
exports.framerateToJSON = framerateToJSON;
|
|
33
35
|
exports.cameraFromJSON = cameraFromJSON;
|
|
34
36
|
exports.cameraToJSON = cameraToJSON;
|
|
37
|
+
exports.streamingProtocolFromJSON = streamingProtocolFromJSON;
|
|
38
|
+
exports.streamingProtocolToJSON = streamingProtocolToJSON;
|
|
35
39
|
exports.temperatureUnitFromJSON = temperatureUnitFromJSON;
|
|
36
40
|
exports.temperatureUnitToJSON = temperatureUnitToJSON;
|
|
37
41
|
exports.logoTypeFromJSON = logoTypeFromJSON;
|
|
@@ -54,6 +58,10 @@ exports.guestPortErrorFromJSON = guestPortErrorFromJSON;
|
|
|
54
58
|
exports.guestPortErrorToJSON = guestPortErrorToJSON;
|
|
55
59
|
exports.multibeamFrequencyModeFromJSON = multibeamFrequencyModeFromJSON;
|
|
56
60
|
exports.multibeamFrequencyModeToJSON = multibeamFrequencyModeToJSON;
|
|
61
|
+
exports.logEntry_LogLevelFromJSON = logEntry_LogLevelFromJSON;
|
|
62
|
+
exports.logEntry_LogLevelToJSON = logEntry_LogLevelToJSON;
|
|
63
|
+
exports.kernelLogEntry_KernelLogLevelFromJSON = kernelLogEntry_KernelLogLevelFromJSON;
|
|
64
|
+
exports.kernelLogEntry_KernelLogLevelToJSON = kernelLogEntry_KernelLogLevelToJSON;
|
|
57
65
|
exports.pingerConfiguration_MountingDirectionFromJSON = pingerConfiguration_MountingDirectionFromJSON;
|
|
58
66
|
exports.pingerConfiguration_MountingDirectionToJSON = pingerConfiguration_MountingDirectionToJSON;
|
|
59
67
|
exports.batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON = batteryBQ40Z50_BatteryStatus_BatteryErrorFromJSON;
|
|
@@ -66,6 +74,8 @@ exports.multibeamConfig_PingRateFromJSON = multibeamConfig_PingRateFromJSON;
|
|
|
66
74
|
exports.multibeamConfig_PingRateToJSON = multibeamConfig_PingRateToJSON;
|
|
67
75
|
exports.multibeamConfig_MaximumNumberOfBeamsFromJSON = multibeamConfig_MaximumNumberOfBeamsFromJSON;
|
|
68
76
|
exports.multibeamConfig_MaximumNumberOfBeamsToJSON = multibeamConfig_MaximumNumberOfBeamsToJSON;
|
|
77
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusFromJSON = surfaceUnitBatteryInfo_ChargeStatusFromJSON;
|
|
78
|
+
exports.surfaceUnitBatteryInfo_ChargeStatusToJSON = surfaceUnitBatteryInfo_ChargeStatusToJSON;
|
|
69
79
|
/* eslint-disable */
|
|
70
80
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
71
81
|
const any_1 = require("./google/protobuf/any");
|
|
@@ -587,6 +597,51 @@ function notificationLevelToJSON(object) {
|
|
|
587
597
|
return "UNRECOGNIZED";
|
|
588
598
|
}
|
|
589
599
|
}
|
|
600
|
+
/**
|
|
601
|
+
* Storage location.
|
|
602
|
+
*
|
|
603
|
+
* Used to specify which storage location to use for recording photos and videos.
|
|
604
|
+
*/
|
|
605
|
+
var StorageLocation;
|
|
606
|
+
(function (StorageLocation) {
|
|
607
|
+
/** STORAGE_LOCATION_UNSPECIFIED - Unspecified. */
|
|
608
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_UNSPECIFIED"] = 0] = "STORAGE_LOCATION_UNSPECIFIED";
|
|
609
|
+
/** STORAGE_LOCATION_INTERNAL - Internal storage of the drone. */
|
|
610
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_INTERNAL"] = 1] = "STORAGE_LOCATION_INTERNAL";
|
|
611
|
+
/** STORAGE_LOCATION_REMOVABLE - Removable storage device. */
|
|
612
|
+
StorageLocation[StorageLocation["STORAGE_LOCATION_REMOVABLE"] = 2] = "STORAGE_LOCATION_REMOVABLE";
|
|
613
|
+
StorageLocation[StorageLocation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
614
|
+
})(StorageLocation || (exports.StorageLocation = StorageLocation = {}));
|
|
615
|
+
function storageLocationFromJSON(object) {
|
|
616
|
+
switch (object) {
|
|
617
|
+
case 0:
|
|
618
|
+
case "STORAGE_LOCATION_UNSPECIFIED":
|
|
619
|
+
return StorageLocation.STORAGE_LOCATION_UNSPECIFIED;
|
|
620
|
+
case 1:
|
|
621
|
+
case "STORAGE_LOCATION_INTERNAL":
|
|
622
|
+
return StorageLocation.STORAGE_LOCATION_INTERNAL;
|
|
623
|
+
case 2:
|
|
624
|
+
case "STORAGE_LOCATION_REMOVABLE":
|
|
625
|
+
return StorageLocation.STORAGE_LOCATION_REMOVABLE;
|
|
626
|
+
case -1:
|
|
627
|
+
case "UNRECOGNIZED":
|
|
628
|
+
default:
|
|
629
|
+
return StorageLocation.UNRECOGNIZED;
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
function storageLocationToJSON(object) {
|
|
633
|
+
switch (object) {
|
|
634
|
+
case StorageLocation.STORAGE_LOCATION_UNSPECIFIED:
|
|
635
|
+
return "STORAGE_LOCATION_UNSPECIFIED";
|
|
636
|
+
case StorageLocation.STORAGE_LOCATION_INTERNAL:
|
|
637
|
+
return "STORAGE_LOCATION_INTERNAL";
|
|
638
|
+
case StorageLocation.STORAGE_LOCATION_REMOVABLE:
|
|
639
|
+
return "STORAGE_LOCATION_REMOVABLE";
|
|
640
|
+
case StorageLocation.UNRECOGNIZED:
|
|
641
|
+
default:
|
|
642
|
+
return "UNRECOGNIZED";
|
|
643
|
+
}
|
|
644
|
+
}
|
|
590
645
|
/** Drone models produced by Blueye. */
|
|
591
646
|
var Model;
|
|
592
647
|
(function (Model) {
|
|
@@ -602,6 +657,8 @@ var Model;
|
|
|
602
657
|
Model[Model["MODEL_X3"] = 3] = "MODEL_X3";
|
|
603
658
|
/** MODEL_X3_ULTRA - Blueye X3 Ultra. */
|
|
604
659
|
Model[Model["MODEL_X3_ULTRA"] = 6] = "MODEL_X3_ULTRA";
|
|
660
|
+
/** MODEL_X7 - Blueye X7. */
|
|
661
|
+
Model[Model["MODEL_X7"] = 7] = "MODEL_X7";
|
|
605
662
|
/** MODEL_NEXT - Blueye ? */
|
|
606
663
|
Model[Model["MODEL_NEXT"] = 5] = "MODEL_NEXT";
|
|
607
664
|
Model[Model["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
@@ -626,6 +683,9 @@ function modelFromJSON(object) {
|
|
|
626
683
|
case 6:
|
|
627
684
|
case "MODEL_X3_ULTRA":
|
|
628
685
|
return Model.MODEL_X3_ULTRA;
|
|
686
|
+
case 7:
|
|
687
|
+
case "MODEL_X7":
|
|
688
|
+
return Model.MODEL_X7;
|
|
629
689
|
case 5:
|
|
630
690
|
case "MODEL_NEXT":
|
|
631
691
|
return Model.MODEL_NEXT;
|
|
@@ -649,6 +709,8 @@ function modelToJSON(object) {
|
|
|
649
709
|
return "MODEL_X3";
|
|
650
710
|
case Model.MODEL_X3_ULTRA:
|
|
651
711
|
return "MODEL_X3_ULTRA";
|
|
712
|
+
case Model.MODEL_X7:
|
|
713
|
+
return "MODEL_X7";
|
|
652
714
|
case Model.MODEL_NEXT:
|
|
653
715
|
return "MODEL_NEXT";
|
|
654
716
|
case Model.UNRECOGNIZED:
|
|
@@ -716,12 +778,16 @@ var Resolution;
|
|
|
716
778
|
(function (Resolution) {
|
|
717
779
|
/** RESOLUTION_UNSPECIFIED - Resolution not specified. */
|
|
718
780
|
Resolution[Resolution["RESOLUTION_UNSPECIFIED"] = 0] = "RESOLUTION_UNSPECIFIED";
|
|
719
|
-
/**
|
|
720
|
-
Resolution[Resolution["
|
|
721
|
-
/** RESOLUTION_HD_720P - 720p HD
|
|
781
|
+
/** RESOLUTION_VGA_480P - VGA (640x480). */
|
|
782
|
+
Resolution[Resolution["RESOLUTION_VGA_480P"] = 4] = "RESOLUTION_VGA_480P";
|
|
783
|
+
/** RESOLUTION_HD_720P - 720p HD (1280x720). */
|
|
722
784
|
Resolution[Resolution["RESOLUTION_HD_720P"] = 2] = "RESOLUTION_HD_720P";
|
|
723
|
-
/**
|
|
785
|
+
/** RESOLUTION_FULLHD_1080P - 1080p Full HD (1920x1080). */
|
|
786
|
+
Resolution[Resolution["RESOLUTION_FULLHD_1080P"] = 1] = "RESOLUTION_FULLHD_1080P";
|
|
787
|
+
/** RESOLUTION_UHD_4K - 4K Ultra HD (3840x2160, Only supported on X3 Ultra). */
|
|
724
788
|
Resolution[Resolution["RESOLUTION_UHD_4K"] = 3] = "RESOLUTION_UHD_4K";
|
|
789
|
+
/** RESOLUTION_QHD_2K - 2K QHD (2560x1440, Only supported on X3 Ultra). */
|
|
790
|
+
Resolution[Resolution["RESOLUTION_QHD_2K"] = 5] = "RESOLUTION_QHD_2K";
|
|
725
791
|
Resolution[Resolution["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
726
792
|
})(Resolution || (exports.Resolution = Resolution = {}));
|
|
727
793
|
function resolutionFromJSON(object) {
|
|
@@ -729,15 +795,21 @@ function resolutionFromJSON(object) {
|
|
|
729
795
|
case 0:
|
|
730
796
|
case "RESOLUTION_UNSPECIFIED":
|
|
731
797
|
return Resolution.RESOLUTION_UNSPECIFIED;
|
|
732
|
-
case
|
|
733
|
-
case "
|
|
734
|
-
return Resolution.
|
|
798
|
+
case 4:
|
|
799
|
+
case "RESOLUTION_VGA_480P":
|
|
800
|
+
return Resolution.RESOLUTION_VGA_480P;
|
|
735
801
|
case 2:
|
|
736
802
|
case "RESOLUTION_HD_720P":
|
|
737
803
|
return Resolution.RESOLUTION_HD_720P;
|
|
804
|
+
case 1:
|
|
805
|
+
case "RESOLUTION_FULLHD_1080P":
|
|
806
|
+
return Resolution.RESOLUTION_FULLHD_1080P;
|
|
738
807
|
case 3:
|
|
739
808
|
case "RESOLUTION_UHD_4K":
|
|
740
809
|
return Resolution.RESOLUTION_UHD_4K;
|
|
810
|
+
case 5:
|
|
811
|
+
case "RESOLUTION_QHD_2K":
|
|
812
|
+
return Resolution.RESOLUTION_QHD_2K;
|
|
741
813
|
case -1:
|
|
742
814
|
case "UNRECOGNIZED":
|
|
743
815
|
default:
|
|
@@ -748,26 +820,37 @@ function resolutionToJSON(object) {
|
|
|
748
820
|
switch (object) {
|
|
749
821
|
case Resolution.RESOLUTION_UNSPECIFIED:
|
|
750
822
|
return "RESOLUTION_UNSPECIFIED";
|
|
751
|
-
case Resolution.
|
|
752
|
-
return "
|
|
823
|
+
case Resolution.RESOLUTION_VGA_480P:
|
|
824
|
+
return "RESOLUTION_VGA_480P";
|
|
753
825
|
case Resolution.RESOLUTION_HD_720P:
|
|
754
826
|
return "RESOLUTION_HD_720P";
|
|
827
|
+
case Resolution.RESOLUTION_FULLHD_1080P:
|
|
828
|
+
return "RESOLUTION_FULLHD_1080P";
|
|
755
829
|
case Resolution.RESOLUTION_UHD_4K:
|
|
756
830
|
return "RESOLUTION_UHD_4K";
|
|
831
|
+
case Resolution.RESOLUTION_QHD_2K:
|
|
832
|
+
return "RESOLUTION_QHD_2K";
|
|
757
833
|
case Resolution.UNRECOGNIZED:
|
|
758
834
|
default:
|
|
759
835
|
return "UNRECOGNIZED";
|
|
760
836
|
}
|
|
761
837
|
}
|
|
762
|
-
/**
|
|
838
|
+
/**
|
|
839
|
+
* Available camera frame rates.
|
|
840
|
+
*
|
|
841
|
+
* If the requested frame rate is higher than what is supported at the current resolution,
|
|
842
|
+
* the frame rate will be reduced while the resolution is respected.
|
|
843
|
+
*/
|
|
763
844
|
var Framerate;
|
|
764
845
|
(function (Framerate) {
|
|
765
846
|
/** FRAMERATE_UNSPECIFIED - Framerate not specified. */
|
|
766
847
|
Framerate[Framerate["FRAMERATE_UNSPECIFIED"] = 0] = "FRAMERATE_UNSPECIFIED";
|
|
767
848
|
/** FRAMERATE_FPS_30 - 30 frames per second. */
|
|
768
849
|
Framerate[Framerate["FRAMERATE_FPS_30"] = 1] = "FRAMERATE_FPS_30";
|
|
769
|
-
/** FRAMERATE_FPS_25 - 25 frames per second. */
|
|
850
|
+
/** FRAMERATE_FPS_25 - 25 frames per second. (Only supported on Pioneer/Pro/X1/X3) */
|
|
770
851
|
Framerate[Framerate["FRAMERATE_FPS_25"] = 2] = "FRAMERATE_FPS_25";
|
|
852
|
+
/** FRAMERATE_FPS_60 - 60 frames per second. (Only supported on X3 Ultra at QHD, 1080p and 720p) */
|
|
853
|
+
Framerate[Framerate["FRAMERATE_FPS_60"] = 3] = "FRAMERATE_FPS_60";
|
|
771
854
|
Framerate[Framerate["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
772
855
|
})(Framerate || (exports.Framerate = Framerate = {}));
|
|
773
856
|
function framerateFromJSON(object) {
|
|
@@ -781,6 +864,9 @@ function framerateFromJSON(object) {
|
|
|
781
864
|
case 2:
|
|
782
865
|
case "FRAMERATE_FPS_25":
|
|
783
866
|
return Framerate.FRAMERATE_FPS_25;
|
|
867
|
+
case 3:
|
|
868
|
+
case "FRAMERATE_FPS_60":
|
|
869
|
+
return Framerate.FRAMERATE_FPS_60;
|
|
784
870
|
case -1:
|
|
785
871
|
case "UNRECOGNIZED":
|
|
786
872
|
default:
|
|
@@ -795,6 +881,8 @@ function framerateToJSON(object) {
|
|
|
795
881
|
return "FRAMERATE_FPS_30";
|
|
796
882
|
case Framerate.FRAMERATE_FPS_25:
|
|
797
883
|
return "FRAMERATE_FPS_25";
|
|
884
|
+
case Framerate.FRAMERATE_FPS_60:
|
|
885
|
+
return "FRAMERATE_FPS_60";
|
|
798
886
|
case Framerate.UNRECOGNIZED:
|
|
799
887
|
default:
|
|
800
888
|
return "UNRECOGNIZED";
|
|
@@ -841,6 +929,46 @@ function cameraToJSON(object) {
|
|
|
841
929
|
return "UNRECOGNIZED";
|
|
842
930
|
}
|
|
843
931
|
}
|
|
932
|
+
var StreamingProtocol;
|
|
933
|
+
(function (StreamingProtocol) {
|
|
934
|
+
/** STREAMING_PROTOCOL_UNSPECIFIED - Streaming protocol not specified. */
|
|
935
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_UNSPECIFIED"] = 0] = "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
936
|
+
/** STREAMING_PROTOCOL_RTSP_H264 - RTSP streaming protocol using H264 codec. */
|
|
937
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_H264"] = 1] = "STREAMING_PROTOCOL_RTSP_H264";
|
|
938
|
+
/** STREAMING_PROTOCOL_RTSP_MJPEG - RTSP streaming protocol using MJPEG codec. No recording when activated. */
|
|
939
|
+
StreamingProtocol[StreamingProtocol["STREAMING_PROTOCOL_RTSP_MJPEG"] = 2] = "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
940
|
+
StreamingProtocol[StreamingProtocol["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
941
|
+
})(StreamingProtocol || (exports.StreamingProtocol = StreamingProtocol = {}));
|
|
942
|
+
function streamingProtocolFromJSON(object) {
|
|
943
|
+
switch (object) {
|
|
944
|
+
case 0:
|
|
945
|
+
case "STREAMING_PROTOCOL_UNSPECIFIED":
|
|
946
|
+
return StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED;
|
|
947
|
+
case 1:
|
|
948
|
+
case "STREAMING_PROTOCOL_RTSP_H264":
|
|
949
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264;
|
|
950
|
+
case 2:
|
|
951
|
+
case "STREAMING_PROTOCOL_RTSP_MJPEG":
|
|
952
|
+
return StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG;
|
|
953
|
+
case -1:
|
|
954
|
+
case "UNRECOGNIZED":
|
|
955
|
+
default:
|
|
956
|
+
return StreamingProtocol.UNRECOGNIZED;
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
function streamingProtocolToJSON(object) {
|
|
960
|
+
switch (object) {
|
|
961
|
+
case StreamingProtocol.STREAMING_PROTOCOL_UNSPECIFIED:
|
|
962
|
+
return "STREAMING_PROTOCOL_UNSPECIFIED";
|
|
963
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_H264:
|
|
964
|
+
return "STREAMING_PROTOCOL_RTSP_H264";
|
|
965
|
+
case StreamingProtocol.STREAMING_PROTOCOL_RTSP_MJPEG:
|
|
966
|
+
return "STREAMING_PROTOCOL_RTSP_MJPEG";
|
|
967
|
+
case StreamingProtocol.UNRECOGNIZED:
|
|
968
|
+
default:
|
|
969
|
+
return "UNRECOGNIZED";
|
|
970
|
+
}
|
|
971
|
+
}
|
|
844
972
|
/** Available temperature units. */
|
|
845
973
|
var TemperatureUnit;
|
|
846
974
|
(function (TemperatureUnit) {
|
|
@@ -1174,6 +1302,12 @@ var GuestPortDeviceID;
|
|
|
1174
1302
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15"] = 43] = "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1175
1303
|
/** GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650 - Cerulean Tracker 650. */
|
|
1176
1304
|
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650"] = 44] = "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1305
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE - Blueye External USB Storage. */
|
|
1306
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE"] = 45] = "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1307
|
+
/** GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2 - Blueye Multibeam Skid Servo V2. */
|
|
1308
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2"] = 46] = "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
|
|
1309
|
+
/** GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT - Cerulean Omniscan 450 Compact. */
|
|
1310
|
+
GuestPortDeviceID[GuestPortDeviceID["GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT"] = 47] = "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
|
|
1177
1311
|
GuestPortDeviceID[GuestPortDeviceID["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1178
1312
|
})(GuestPortDeviceID || (exports.GuestPortDeviceID = GuestPortDeviceID = {}));
|
|
1179
1313
|
function guestPortDeviceIDFromJSON(object) {
|
|
@@ -1313,6 +1447,15 @@ function guestPortDeviceIDFromJSON(object) {
|
|
|
1313
1447
|
case 44:
|
|
1314
1448
|
case "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650":
|
|
1315
1449
|
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650;
|
|
1450
|
+
case 45:
|
|
1451
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE":
|
|
1452
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE;
|
|
1453
|
+
case 46:
|
|
1454
|
+
case "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2":
|
|
1455
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2;
|
|
1456
|
+
case 47:
|
|
1457
|
+
case "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT":
|
|
1458
|
+
return GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT;
|
|
1316
1459
|
case -1:
|
|
1317
1460
|
case "UNRECOGNIZED":
|
|
1318
1461
|
default:
|
|
@@ -1411,6 +1554,12 @@ function guestPortDeviceIDToJSON(object) {
|
|
|
1411
1554
|
return "GUEST_PORT_DEVICE_ID_WATERLINKED_SONAR_3D15";
|
|
1412
1555
|
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650:
|
|
1413
1556
|
return "GUEST_PORT_DEVICE_ID_CERULEAN_TRACKER_650";
|
|
1557
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE:
|
|
1558
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_EXTERNAL_USB_STORAGE";
|
|
1559
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2:
|
|
1560
|
+
return "GUEST_PORT_DEVICE_ID_BLUEYE_MULTIBEAM_SERVO_V2";
|
|
1561
|
+
case GuestPortDeviceID.GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT:
|
|
1562
|
+
return "GUEST_PORT_DEVICE_ID_CERULEAN_OMNISCAN_450_COMPACT";
|
|
1414
1563
|
case GuestPortDeviceID.UNRECOGNIZED:
|
|
1415
1564
|
default:
|
|
1416
1565
|
return "UNRECOGNIZED";
|
|
@@ -1687,6 +1836,157 @@ function multibeamFrequencyModeToJSON(object) {
|
|
|
1687
1836
|
return "UNRECOGNIZED";
|
|
1688
1837
|
}
|
|
1689
1838
|
}
|
|
1839
|
+
var LogEntry_LogLevel;
|
|
1840
|
+
(function (LogEntry_LogLevel) {
|
|
1841
|
+
/** LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
1842
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_UNSPECIFIED"] = 0] = "LOG_LEVEL_UNSPECIFIED";
|
|
1843
|
+
/** LOG_LEVEL_TRACE - Trace log level. */
|
|
1844
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_TRACE"] = 1] = "LOG_LEVEL_TRACE";
|
|
1845
|
+
/** LOG_LEVEL_DEBUG - Debug log level. */
|
|
1846
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_DEBUG"] = 2] = "LOG_LEVEL_DEBUG";
|
|
1847
|
+
/** LOG_LEVEL_INFO - Info log level. */
|
|
1848
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_INFO"] = 3] = "LOG_LEVEL_INFO";
|
|
1849
|
+
/** LOG_LEVEL_WARNING - Warning log level. */
|
|
1850
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_WARNING"] = 4] = "LOG_LEVEL_WARNING";
|
|
1851
|
+
/** LOG_LEVEL_ERROR - Error log level. */
|
|
1852
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_ERROR"] = 5] = "LOG_LEVEL_ERROR";
|
|
1853
|
+
/** LOG_LEVEL_CRITICAL - Critical log level. */
|
|
1854
|
+
LogEntry_LogLevel[LogEntry_LogLevel["LOG_LEVEL_CRITICAL"] = 6] = "LOG_LEVEL_CRITICAL";
|
|
1855
|
+
LogEntry_LogLevel[LogEntry_LogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1856
|
+
})(LogEntry_LogLevel || (exports.LogEntry_LogLevel = LogEntry_LogLevel = {}));
|
|
1857
|
+
function logEntry_LogLevelFromJSON(object) {
|
|
1858
|
+
switch (object) {
|
|
1859
|
+
case 0:
|
|
1860
|
+
case "LOG_LEVEL_UNSPECIFIED":
|
|
1861
|
+
return LogEntry_LogLevel.LOG_LEVEL_UNSPECIFIED;
|
|
1862
|
+
case 1:
|
|
1863
|
+
case "LOG_LEVEL_TRACE":
|
|
1864
|
+
return LogEntry_LogLevel.LOG_LEVEL_TRACE;
|
|
1865
|
+
case 2:
|
|
1866
|
+
case "LOG_LEVEL_DEBUG":
|
|
1867
|
+
return LogEntry_LogLevel.LOG_LEVEL_DEBUG;
|
|
1868
|
+
case 3:
|
|
1869
|
+
case "LOG_LEVEL_INFO":
|
|
1870
|
+
return LogEntry_LogLevel.LOG_LEVEL_INFO;
|
|
1871
|
+
case 4:
|
|
1872
|
+
case "LOG_LEVEL_WARNING":
|
|
1873
|
+
return LogEntry_LogLevel.LOG_LEVEL_WARNING;
|
|
1874
|
+
case 5:
|
|
1875
|
+
case "LOG_LEVEL_ERROR":
|
|
1876
|
+
return LogEntry_LogLevel.LOG_LEVEL_ERROR;
|
|
1877
|
+
case 6:
|
|
1878
|
+
case "LOG_LEVEL_CRITICAL":
|
|
1879
|
+
return LogEntry_LogLevel.LOG_LEVEL_CRITICAL;
|
|
1880
|
+
case -1:
|
|
1881
|
+
case "UNRECOGNIZED":
|
|
1882
|
+
default:
|
|
1883
|
+
return LogEntry_LogLevel.UNRECOGNIZED;
|
|
1884
|
+
}
|
|
1885
|
+
}
|
|
1886
|
+
function logEntry_LogLevelToJSON(object) {
|
|
1887
|
+
switch (object) {
|
|
1888
|
+
case LogEntry_LogLevel.LOG_LEVEL_UNSPECIFIED:
|
|
1889
|
+
return "LOG_LEVEL_UNSPECIFIED";
|
|
1890
|
+
case LogEntry_LogLevel.LOG_LEVEL_TRACE:
|
|
1891
|
+
return "LOG_LEVEL_TRACE";
|
|
1892
|
+
case LogEntry_LogLevel.LOG_LEVEL_DEBUG:
|
|
1893
|
+
return "LOG_LEVEL_DEBUG";
|
|
1894
|
+
case LogEntry_LogLevel.LOG_LEVEL_INFO:
|
|
1895
|
+
return "LOG_LEVEL_INFO";
|
|
1896
|
+
case LogEntry_LogLevel.LOG_LEVEL_WARNING:
|
|
1897
|
+
return "LOG_LEVEL_WARNING";
|
|
1898
|
+
case LogEntry_LogLevel.LOG_LEVEL_ERROR:
|
|
1899
|
+
return "LOG_LEVEL_ERROR";
|
|
1900
|
+
case LogEntry_LogLevel.LOG_LEVEL_CRITICAL:
|
|
1901
|
+
return "LOG_LEVEL_CRITICAL";
|
|
1902
|
+
case LogEntry_LogLevel.UNRECOGNIZED:
|
|
1903
|
+
default:
|
|
1904
|
+
return "UNRECOGNIZED";
|
|
1905
|
+
}
|
|
1906
|
+
}
|
|
1907
|
+
/** Kernel log level. */
|
|
1908
|
+
var KernelLogEntry_KernelLogLevel;
|
|
1909
|
+
(function (KernelLogEntry_KernelLogLevel) {
|
|
1910
|
+
/** KERNEL_LOG_LEVEL_UNSPECIFIED - Unspecified log level. */
|
|
1911
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_UNSPECIFIED"] = 0] = "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
1912
|
+
/** KERNEL_LOG_LEVEL_EMERG - Emergency log level. */
|
|
1913
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_EMERG"] = 1] = "KERNEL_LOG_LEVEL_EMERG";
|
|
1914
|
+
/** KERNEL_LOG_LEVEL_ALERT - Alert log level. */
|
|
1915
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ALERT"] = 2] = "KERNEL_LOG_LEVEL_ALERT";
|
|
1916
|
+
/** KERNEL_LOG_LEVEL_CRIT - Critical log level. */
|
|
1917
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_CRIT"] = 3] = "KERNEL_LOG_LEVEL_CRIT";
|
|
1918
|
+
/** KERNEL_LOG_LEVEL_ERR - Error log level. */
|
|
1919
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_ERR"] = 4] = "KERNEL_LOG_LEVEL_ERR";
|
|
1920
|
+
/** KERNEL_LOG_LEVEL_WARNING - Warning log level. */
|
|
1921
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_WARNING"] = 5] = "KERNEL_LOG_LEVEL_WARNING";
|
|
1922
|
+
/** KERNEL_LOG_LEVEL_NOTICE - Notice log level. */
|
|
1923
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_NOTICE"] = 6] = "KERNEL_LOG_LEVEL_NOTICE";
|
|
1924
|
+
/** KERNEL_LOG_LEVEL_INFO - Informational log level. */
|
|
1925
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_INFO"] = 7] = "KERNEL_LOG_LEVEL_INFO";
|
|
1926
|
+
/** KERNEL_LOG_LEVEL_DEBUG - Debug log level. */
|
|
1927
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["KERNEL_LOG_LEVEL_DEBUG"] = 8] = "KERNEL_LOG_LEVEL_DEBUG";
|
|
1928
|
+
KernelLogEntry_KernelLogLevel[KernelLogEntry_KernelLogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1929
|
+
})(KernelLogEntry_KernelLogLevel || (exports.KernelLogEntry_KernelLogLevel = KernelLogEntry_KernelLogLevel = {}));
|
|
1930
|
+
function kernelLogEntry_KernelLogLevelFromJSON(object) {
|
|
1931
|
+
switch (object) {
|
|
1932
|
+
case 0:
|
|
1933
|
+
case "KERNEL_LOG_LEVEL_UNSPECIFIED":
|
|
1934
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED;
|
|
1935
|
+
case 1:
|
|
1936
|
+
case "KERNEL_LOG_LEVEL_EMERG":
|
|
1937
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG;
|
|
1938
|
+
case 2:
|
|
1939
|
+
case "KERNEL_LOG_LEVEL_ALERT":
|
|
1940
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT;
|
|
1941
|
+
case 3:
|
|
1942
|
+
case "KERNEL_LOG_LEVEL_CRIT":
|
|
1943
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT;
|
|
1944
|
+
case 4:
|
|
1945
|
+
case "KERNEL_LOG_LEVEL_ERR":
|
|
1946
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR;
|
|
1947
|
+
case 5:
|
|
1948
|
+
case "KERNEL_LOG_LEVEL_WARNING":
|
|
1949
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING;
|
|
1950
|
+
case 6:
|
|
1951
|
+
case "KERNEL_LOG_LEVEL_NOTICE":
|
|
1952
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE;
|
|
1953
|
+
case 7:
|
|
1954
|
+
case "KERNEL_LOG_LEVEL_INFO":
|
|
1955
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO;
|
|
1956
|
+
case 8:
|
|
1957
|
+
case "KERNEL_LOG_LEVEL_DEBUG":
|
|
1958
|
+
return KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG;
|
|
1959
|
+
case -1:
|
|
1960
|
+
case "UNRECOGNIZED":
|
|
1961
|
+
default:
|
|
1962
|
+
return KernelLogEntry_KernelLogLevel.UNRECOGNIZED;
|
|
1963
|
+
}
|
|
1964
|
+
}
|
|
1965
|
+
function kernelLogEntry_KernelLogLevelToJSON(object) {
|
|
1966
|
+
switch (object) {
|
|
1967
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_UNSPECIFIED:
|
|
1968
|
+
return "KERNEL_LOG_LEVEL_UNSPECIFIED";
|
|
1969
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_EMERG:
|
|
1970
|
+
return "KERNEL_LOG_LEVEL_EMERG";
|
|
1971
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ALERT:
|
|
1972
|
+
return "KERNEL_LOG_LEVEL_ALERT";
|
|
1973
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_CRIT:
|
|
1974
|
+
return "KERNEL_LOG_LEVEL_CRIT";
|
|
1975
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_ERR:
|
|
1976
|
+
return "KERNEL_LOG_LEVEL_ERR";
|
|
1977
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_WARNING:
|
|
1978
|
+
return "KERNEL_LOG_LEVEL_WARNING";
|
|
1979
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_NOTICE:
|
|
1980
|
+
return "KERNEL_LOG_LEVEL_NOTICE";
|
|
1981
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_INFO:
|
|
1982
|
+
return "KERNEL_LOG_LEVEL_INFO";
|
|
1983
|
+
case KernelLogEntry_KernelLogLevel.KERNEL_LOG_LEVEL_DEBUG:
|
|
1984
|
+
return "KERNEL_LOG_LEVEL_DEBUG";
|
|
1985
|
+
case KernelLogEntry_KernelLogLevel.UNRECOGNIZED:
|
|
1986
|
+
default:
|
|
1987
|
+
return "UNRECOGNIZED";
|
|
1988
|
+
}
|
|
1989
|
+
}
|
|
1690
1990
|
var PingerConfiguration_MountingDirection;
|
|
1691
1991
|
(function (PingerConfiguration_MountingDirection) {
|
|
1692
1992
|
/** MOUNTING_DIRECTION_UNSPECIFIED - Mounting direction is unspecified. */
|
|
@@ -1808,10 +2108,12 @@ var RemovableStorageDevice_Status;
|
|
|
1808
2108
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNSPECIFIED"] = 0] = "STATUS_UNSPECIFIED";
|
|
1809
2109
|
/** STATUS_READY - The storage device is valid and ready for use. */
|
|
1810
2110
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_READY"] = 1] = "STATUS_READY";
|
|
1811
|
-
/** STATUS_FORMATTING - The storage device is being formatted */
|
|
2111
|
+
/** STATUS_FORMATTING - The storage device is being formatted. */
|
|
1812
2112
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_FORMATTING"] = 2] = "STATUS_FORMATTING";
|
|
1813
2113
|
/** STATUS_ERROR - The storage device is in an error state. */
|
|
1814
2114
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_ERROR"] = 3] = "STATUS_ERROR";
|
|
2115
|
+
/** STATUS_UNPLUGGED - The storage device is not present. */
|
|
2116
|
+
RemovableStorageDevice_Status[RemovableStorageDevice_Status["STATUS_UNPLUGGED"] = 4] = "STATUS_UNPLUGGED";
|
|
1815
2117
|
RemovableStorageDevice_Status[RemovableStorageDevice_Status["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1816
2118
|
})(RemovableStorageDevice_Status || (exports.RemovableStorageDevice_Status = RemovableStorageDevice_Status = {}));
|
|
1817
2119
|
function removableStorageDevice_StatusFromJSON(object) {
|
|
@@ -1828,6 +2130,9 @@ function removableStorageDevice_StatusFromJSON(object) {
|
|
|
1828
2130
|
case 3:
|
|
1829
2131
|
case "STATUS_ERROR":
|
|
1830
2132
|
return RemovableStorageDevice_Status.STATUS_ERROR;
|
|
2133
|
+
case 4:
|
|
2134
|
+
case "STATUS_UNPLUGGED":
|
|
2135
|
+
return RemovableStorageDevice_Status.STATUS_UNPLUGGED;
|
|
1831
2136
|
case -1:
|
|
1832
2137
|
case "UNRECOGNIZED":
|
|
1833
2138
|
default:
|
|
@@ -1844,6 +2149,8 @@ function removableStorageDevice_StatusToJSON(object) {
|
|
|
1844
2149
|
return "STATUS_FORMATTING";
|
|
1845
2150
|
case RemovableStorageDevice_Status.STATUS_ERROR:
|
|
1846
2151
|
return "STATUS_ERROR";
|
|
2152
|
+
case RemovableStorageDevice_Status.STATUS_UNPLUGGED:
|
|
2153
|
+
return "STATUS_UNPLUGGED";
|
|
1847
2154
|
case RemovableStorageDevice_Status.UNRECOGNIZED:
|
|
1848
2155
|
default:
|
|
1849
2156
|
return "UNRECOGNIZED";
|
|
@@ -2065,6 +2372,49 @@ function multibeamConfig_MaximumNumberOfBeamsToJSON(object) {
|
|
|
2065
2372
|
return "UNRECOGNIZED";
|
|
2066
2373
|
}
|
|
2067
2374
|
}
|
|
2375
|
+
var SurfaceUnitBatteryInfo_ChargeStatus;
|
|
2376
|
+
(function (SurfaceUnitBatteryInfo_ChargeStatus) {
|
|
2377
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_UNSPECIFIED"] = 0] = "CHARGE_STATUS_UNSPECIFIED";
|
|
2378
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_DISCHARGE"] = 1] = "CHARGE_STATUS_DISCHARGE";
|
|
2379
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE"] = 2] = "CHARGE_STATUS_CHARGE";
|
|
2380
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["CHARGE_STATUS_CHARGE_ERROR"] = 3] = "CHARGE_STATUS_CHARGE_ERROR";
|
|
2381
|
+
SurfaceUnitBatteryInfo_ChargeStatus[SurfaceUnitBatteryInfo_ChargeStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
2382
|
+
})(SurfaceUnitBatteryInfo_ChargeStatus || (exports.SurfaceUnitBatteryInfo_ChargeStatus = SurfaceUnitBatteryInfo_ChargeStatus = {}));
|
|
2383
|
+
function surfaceUnitBatteryInfo_ChargeStatusFromJSON(object) {
|
|
2384
|
+
switch (object) {
|
|
2385
|
+
case 0:
|
|
2386
|
+
case "CHARGE_STATUS_UNSPECIFIED":
|
|
2387
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED;
|
|
2388
|
+
case 1:
|
|
2389
|
+
case "CHARGE_STATUS_DISCHARGE":
|
|
2390
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE;
|
|
2391
|
+
case 2:
|
|
2392
|
+
case "CHARGE_STATUS_CHARGE":
|
|
2393
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE;
|
|
2394
|
+
case 3:
|
|
2395
|
+
case "CHARGE_STATUS_CHARGE_ERROR":
|
|
2396
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR;
|
|
2397
|
+
case -1:
|
|
2398
|
+
case "UNRECOGNIZED":
|
|
2399
|
+
default:
|
|
2400
|
+
return SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED;
|
|
2401
|
+
}
|
|
2402
|
+
}
|
|
2403
|
+
function surfaceUnitBatteryInfo_ChargeStatusToJSON(object) {
|
|
2404
|
+
switch (object) {
|
|
2405
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_UNSPECIFIED:
|
|
2406
|
+
return "CHARGE_STATUS_UNSPECIFIED";
|
|
2407
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_DISCHARGE:
|
|
2408
|
+
return "CHARGE_STATUS_DISCHARGE";
|
|
2409
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE:
|
|
2410
|
+
return "CHARGE_STATUS_CHARGE";
|
|
2411
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.CHARGE_STATUS_CHARGE_ERROR:
|
|
2412
|
+
return "CHARGE_STATUS_CHARGE_ERROR";
|
|
2413
|
+
case SurfaceUnitBatteryInfo_ChargeStatus.UNRECOGNIZED:
|
|
2414
|
+
default:
|
|
2415
|
+
return "UNRECOGNIZED";
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2068
2418
|
function createBaseBinlogRecord() {
|
|
2069
2419
|
return { payload: undefined, unixTimestamp: undefined, clockMonotonic: undefined };
|
|
2070
2420
|
}
|
|
@@ -2150,98 +2500,88 @@ exports.BinlogRecord = {
|
|
|
2150
2500
|
return message;
|
|
2151
2501
|
},
|
|
2152
2502
|
};
|
|
2153
|
-
function
|
|
2154
|
-
return {
|
|
2503
|
+
function createBaseLogEntry() {
|
|
2504
|
+
return { timestamp: undefined, processName: "", processId: 0, threadId: 0, source: "", level: 0, message: "" };
|
|
2155
2505
|
}
|
|
2156
|
-
exports.
|
|
2506
|
+
exports.LogEntry = {
|
|
2157
2507
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2158
|
-
if (message.
|
|
2159
|
-
writer.uint32(
|
|
2160
|
-
}
|
|
2161
|
-
if (message.sway !== 0) {
|
|
2162
|
-
writer.uint32(21).float(message.sway);
|
|
2508
|
+
if (message.timestamp !== undefined) {
|
|
2509
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(10).fork()).join();
|
|
2163
2510
|
}
|
|
2164
|
-
if (message.
|
|
2165
|
-
writer.uint32(
|
|
2511
|
+
if (message.processName !== "") {
|
|
2512
|
+
writer.uint32(18).string(message.processName);
|
|
2166
2513
|
}
|
|
2167
|
-
if (message.
|
|
2168
|
-
writer.uint32(
|
|
2514
|
+
if (message.processId !== 0) {
|
|
2515
|
+
writer.uint32(24).uint64(message.processId);
|
|
2169
2516
|
}
|
|
2170
|
-
if (message.
|
|
2171
|
-
writer.uint32(
|
|
2517
|
+
if (message.threadId !== 0) {
|
|
2518
|
+
writer.uint32(32).uint64(message.threadId);
|
|
2172
2519
|
}
|
|
2173
|
-
if (message.
|
|
2174
|
-
writer.uint32(
|
|
2520
|
+
if (message.source !== "") {
|
|
2521
|
+
writer.uint32(42).string(message.source);
|
|
2175
2522
|
}
|
|
2176
|
-
if (message.
|
|
2177
|
-
writer.uint32(
|
|
2523
|
+
if (message.level !== 0) {
|
|
2524
|
+
writer.uint32(48).int32(message.level);
|
|
2178
2525
|
}
|
|
2179
|
-
if (message.
|
|
2180
|
-
writer.uint32(
|
|
2526
|
+
if (message.message !== "") {
|
|
2527
|
+
writer.uint32(58).string(message.message);
|
|
2181
2528
|
}
|
|
2182
2529
|
return writer;
|
|
2183
2530
|
},
|
|
2184
2531
|
decode(input, length) {
|
|
2185
2532
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2186
2533
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2187
|
-
const message =
|
|
2534
|
+
const message = createBaseLogEntry();
|
|
2188
2535
|
while (reader.pos < end) {
|
|
2189
2536
|
const tag = reader.uint32();
|
|
2190
2537
|
switch (tag >>> 3) {
|
|
2191
2538
|
case 1: {
|
|
2192
|
-
if (tag !==
|
|
2539
|
+
if (tag !== 10) {
|
|
2193
2540
|
break;
|
|
2194
2541
|
}
|
|
2195
|
-
message.
|
|
2542
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2196
2543
|
continue;
|
|
2197
2544
|
}
|
|
2198
2545
|
case 2: {
|
|
2199
|
-
if (tag !==
|
|
2546
|
+
if (tag !== 18) {
|
|
2200
2547
|
break;
|
|
2201
2548
|
}
|
|
2202
|
-
message.
|
|
2549
|
+
message.processName = reader.string();
|
|
2203
2550
|
continue;
|
|
2204
2551
|
}
|
|
2205
2552
|
case 3: {
|
|
2206
|
-
if (tag !==
|
|
2207
|
-
break;
|
|
2208
|
-
}
|
|
2209
|
-
message.heave = reader.float();
|
|
2210
|
-
continue;
|
|
2211
|
-
}
|
|
2212
|
-
case 7: {
|
|
2213
|
-
if (tag !== 61) {
|
|
2553
|
+
if (tag !== 24) {
|
|
2214
2554
|
break;
|
|
2215
2555
|
}
|
|
2216
|
-
message.
|
|
2556
|
+
message.processId = longToNumber(reader.uint64());
|
|
2217
2557
|
continue;
|
|
2218
2558
|
}
|
|
2219
|
-
case
|
|
2220
|
-
if (tag !==
|
|
2559
|
+
case 4: {
|
|
2560
|
+
if (tag !== 32) {
|
|
2221
2561
|
break;
|
|
2222
2562
|
}
|
|
2223
|
-
message.
|
|
2563
|
+
message.threadId = longToNumber(reader.uint64());
|
|
2224
2564
|
continue;
|
|
2225
2565
|
}
|
|
2226
|
-
case
|
|
2227
|
-
if (tag !==
|
|
2566
|
+
case 5: {
|
|
2567
|
+
if (tag !== 42) {
|
|
2228
2568
|
break;
|
|
2229
2569
|
}
|
|
2230
|
-
message.
|
|
2570
|
+
message.source = reader.string();
|
|
2231
2571
|
continue;
|
|
2232
2572
|
}
|
|
2233
|
-
case
|
|
2234
|
-
if (tag !==
|
|
2573
|
+
case 6: {
|
|
2574
|
+
if (tag !== 48) {
|
|
2235
2575
|
break;
|
|
2236
2576
|
}
|
|
2237
|
-
message.
|
|
2577
|
+
message.level = reader.int32();
|
|
2238
2578
|
continue;
|
|
2239
2579
|
}
|
|
2240
|
-
case
|
|
2241
|
-
if (tag !==
|
|
2580
|
+
case 7: {
|
|
2581
|
+
if (tag !== 58) {
|
|
2242
2582
|
break;
|
|
2243
2583
|
}
|
|
2244
|
-
message.
|
|
2584
|
+
message.message = reader.string();
|
|
2245
2585
|
continue;
|
|
2246
2586
|
}
|
|
2247
2587
|
}
|
|
@@ -2254,82 +2594,117 @@ exports.MotionInput = {
|
|
|
2254
2594
|
},
|
|
2255
2595
|
fromJSON(object) {
|
|
2256
2596
|
return {
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
boost: isSet(object.boost) ? gt.Number(object.boost) : 0,
|
|
2597
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2598
|
+
processName: isSet(object.processName) ? gt.String(object.processName) : "",
|
|
2599
|
+
processId: isSet(object.processId) ? gt.Number(object.processId) : 0,
|
|
2600
|
+
threadId: isSet(object.threadId) ? gt.Number(object.threadId) : 0,
|
|
2601
|
+
source: isSet(object.source) ? gt.String(object.source) : "",
|
|
2602
|
+
level: isSet(object.level) ? logEntry_LogLevelFromJSON(object.level) : 0,
|
|
2603
|
+
message: isSet(object.message) ? gt.String(object.message) : "",
|
|
2265
2604
|
};
|
|
2266
2605
|
},
|
|
2267
2606
|
toJSON(message) {
|
|
2268
2607
|
const obj = {};
|
|
2269
|
-
if (message.
|
|
2270
|
-
obj.
|
|
2271
|
-
}
|
|
2272
|
-
if (message.sway !== 0) {
|
|
2273
|
-
obj.sway = message.sway;
|
|
2608
|
+
if (message.timestamp !== undefined) {
|
|
2609
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2274
2610
|
}
|
|
2275
|
-
if (message.
|
|
2276
|
-
obj.
|
|
2611
|
+
if (message.processName !== "") {
|
|
2612
|
+
obj.processName = message.processName;
|
|
2277
2613
|
}
|
|
2278
|
-
if (message.
|
|
2279
|
-
obj.
|
|
2614
|
+
if (message.processId !== 0) {
|
|
2615
|
+
obj.processId = Math.round(message.processId);
|
|
2280
2616
|
}
|
|
2281
|
-
if (message.
|
|
2282
|
-
obj.
|
|
2617
|
+
if (message.threadId !== 0) {
|
|
2618
|
+
obj.threadId = Math.round(message.threadId);
|
|
2283
2619
|
}
|
|
2284
|
-
if (message.
|
|
2285
|
-
obj.
|
|
2620
|
+
if (message.source !== "") {
|
|
2621
|
+
obj.source = message.source;
|
|
2286
2622
|
}
|
|
2287
|
-
if (message.
|
|
2288
|
-
obj.
|
|
2623
|
+
if (message.level !== 0) {
|
|
2624
|
+
obj.level = logEntry_LogLevelToJSON(message.level);
|
|
2289
2625
|
}
|
|
2290
|
-
if (message.
|
|
2291
|
-
obj.
|
|
2626
|
+
if (message.message !== "") {
|
|
2627
|
+
obj.message = message.message;
|
|
2292
2628
|
}
|
|
2293
2629
|
return obj;
|
|
2294
2630
|
},
|
|
2295
2631
|
create(base) {
|
|
2296
|
-
return exports.
|
|
2632
|
+
return exports.LogEntry.fromPartial(base ?? {});
|
|
2297
2633
|
},
|
|
2298
2634
|
fromPartial(object) {
|
|
2299
|
-
const message =
|
|
2300
|
-
message.
|
|
2301
|
-
message.
|
|
2302
|
-
message.
|
|
2303
|
-
message.
|
|
2304
|
-
message.
|
|
2305
|
-
message.
|
|
2306
|
-
message.
|
|
2307
|
-
message.boost = object.boost ?? 0;
|
|
2635
|
+
const message = createBaseLogEntry();
|
|
2636
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2637
|
+
message.processName = object.processName ?? "";
|
|
2638
|
+
message.processId = object.processId ?? 0;
|
|
2639
|
+
message.threadId = object.threadId ?? 0;
|
|
2640
|
+
message.source = object.source ?? "";
|
|
2641
|
+
message.level = object.level ?? 0;
|
|
2642
|
+
message.message = object.message ?? "";
|
|
2308
2643
|
return message;
|
|
2309
2644
|
},
|
|
2310
2645
|
};
|
|
2311
|
-
function
|
|
2312
|
-
return {
|
|
2646
|
+
function createBaseKernelLogEntry() {
|
|
2647
|
+
return { level: 0, seqnum: 0, timestamp: undefined, messages: [], fields: [] };
|
|
2313
2648
|
}
|
|
2314
|
-
exports.
|
|
2649
|
+
exports.KernelLogEntry = {
|
|
2315
2650
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2316
|
-
if (message.
|
|
2317
|
-
writer.uint32(
|
|
2651
|
+
if (message.level !== 0) {
|
|
2652
|
+
writer.uint32(8).int32(message.level);
|
|
2653
|
+
}
|
|
2654
|
+
if (message.seqnum !== 0) {
|
|
2655
|
+
writer.uint32(16).uint32(message.seqnum);
|
|
2656
|
+
}
|
|
2657
|
+
if (message.timestamp !== undefined) {
|
|
2658
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(26).fork()).join();
|
|
2659
|
+
}
|
|
2660
|
+
for (const v of message.messages) {
|
|
2661
|
+
writer.uint32(34).string(v);
|
|
2662
|
+
}
|
|
2663
|
+
for (const v of message.fields) {
|
|
2664
|
+
exports.KernelLogEntry_KeyValuePair.encode(v, writer.uint32(42).fork()).join();
|
|
2318
2665
|
}
|
|
2319
2666
|
return writer;
|
|
2320
2667
|
},
|
|
2321
2668
|
decode(input, length) {
|
|
2322
2669
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2323
2670
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2324
|
-
const message =
|
|
2671
|
+
const message = createBaseKernelLogEntry();
|
|
2325
2672
|
while (reader.pos < end) {
|
|
2326
2673
|
const tag = reader.uint32();
|
|
2327
2674
|
switch (tag >>> 3) {
|
|
2328
2675
|
case 1: {
|
|
2329
|
-
if (tag !==
|
|
2676
|
+
if (tag !== 8) {
|
|
2330
2677
|
break;
|
|
2331
2678
|
}
|
|
2332
|
-
message.
|
|
2679
|
+
message.level = reader.int32();
|
|
2680
|
+
continue;
|
|
2681
|
+
}
|
|
2682
|
+
case 2: {
|
|
2683
|
+
if (tag !== 16) {
|
|
2684
|
+
break;
|
|
2685
|
+
}
|
|
2686
|
+
message.seqnum = reader.uint32();
|
|
2687
|
+
continue;
|
|
2688
|
+
}
|
|
2689
|
+
case 3: {
|
|
2690
|
+
if (tag !== 26) {
|
|
2691
|
+
break;
|
|
2692
|
+
}
|
|
2693
|
+
message.timestamp = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
2694
|
+
continue;
|
|
2695
|
+
}
|
|
2696
|
+
case 4: {
|
|
2697
|
+
if (tag !== 34) {
|
|
2698
|
+
break;
|
|
2699
|
+
}
|
|
2700
|
+
message.messages.push(reader.string());
|
|
2701
|
+
continue;
|
|
2702
|
+
}
|
|
2703
|
+
case 5: {
|
|
2704
|
+
if (tag !== 42) {
|
|
2705
|
+
break;
|
|
2706
|
+
}
|
|
2707
|
+
message.fields.push(exports.KernelLogEntry_KeyValuePair.decode(reader, reader.uint32()));
|
|
2333
2708
|
continue;
|
|
2334
2709
|
}
|
|
2335
2710
|
}
|
|
@@ -2341,46 +2716,80 @@ exports.Lights = {
|
|
|
2341
2716
|
return message;
|
|
2342
2717
|
},
|
|
2343
2718
|
fromJSON(object) {
|
|
2344
|
-
return {
|
|
2719
|
+
return {
|
|
2720
|
+
level: isSet(object.level) ? kernelLogEntry_KernelLogLevelFromJSON(object.level) : 0,
|
|
2721
|
+
seqnum: isSet(object.seqnum) ? gt.Number(object.seqnum) : 0,
|
|
2722
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
2723
|
+
messages: gt.Array.isArray(object?.messages) ? object.messages.map((e) => gt.String(e)) : [],
|
|
2724
|
+
fields: gt.Array.isArray(object?.fields)
|
|
2725
|
+
? object.fields.map((e) => exports.KernelLogEntry_KeyValuePair.fromJSON(e))
|
|
2726
|
+
: [],
|
|
2727
|
+
};
|
|
2345
2728
|
},
|
|
2346
2729
|
toJSON(message) {
|
|
2347
2730
|
const obj = {};
|
|
2348
|
-
if (message.
|
|
2349
|
-
obj.
|
|
2731
|
+
if (message.level !== 0) {
|
|
2732
|
+
obj.level = kernelLogEntry_KernelLogLevelToJSON(message.level);
|
|
2350
2733
|
}
|
|
2351
|
-
|
|
2734
|
+
if (message.seqnum !== 0) {
|
|
2735
|
+
obj.seqnum = Math.round(message.seqnum);
|
|
2736
|
+
}
|
|
2737
|
+
if (message.timestamp !== undefined) {
|
|
2738
|
+
obj.timestamp = message.timestamp.toISOString();
|
|
2739
|
+
}
|
|
2740
|
+
if (message.messages?.length) {
|
|
2741
|
+
obj.messages = message.messages;
|
|
2742
|
+
}
|
|
2743
|
+
if (message.fields?.length) {
|
|
2744
|
+
obj.fields = message.fields.map((e) => exports.KernelLogEntry_KeyValuePair.toJSON(e));
|
|
2745
|
+
}
|
|
2746
|
+
return obj;
|
|
2352
2747
|
},
|
|
2353
2748
|
create(base) {
|
|
2354
|
-
return exports.
|
|
2749
|
+
return exports.KernelLogEntry.fromPartial(base ?? {});
|
|
2355
2750
|
},
|
|
2356
2751
|
fromPartial(object) {
|
|
2357
|
-
const message =
|
|
2358
|
-
message.
|
|
2752
|
+
const message = createBaseKernelLogEntry();
|
|
2753
|
+
message.level = object.level ?? 0;
|
|
2754
|
+
message.seqnum = object.seqnum ?? 0;
|
|
2755
|
+
message.timestamp = object.timestamp ?? undefined;
|
|
2756
|
+
message.messages = object.messages?.map((e) => e) || [];
|
|
2757
|
+
message.fields = object.fields?.map((e) => exports.KernelLogEntry_KeyValuePair.fromPartial(e)) || [];
|
|
2359
2758
|
return message;
|
|
2360
2759
|
},
|
|
2361
2760
|
};
|
|
2362
|
-
function
|
|
2363
|
-
return { value:
|
|
2761
|
+
function createBaseKernelLogEntry_KeyValuePair() {
|
|
2762
|
+
return { key: "", value: "" };
|
|
2364
2763
|
}
|
|
2365
|
-
exports.
|
|
2764
|
+
exports.KernelLogEntry_KeyValuePair = {
|
|
2366
2765
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2367
|
-
if (message.
|
|
2368
|
-
writer.uint32(
|
|
2766
|
+
if (message.key !== "") {
|
|
2767
|
+
writer.uint32(10).string(message.key);
|
|
2768
|
+
}
|
|
2769
|
+
if (message.value !== "") {
|
|
2770
|
+
writer.uint32(18).string(message.value);
|
|
2369
2771
|
}
|
|
2370
2772
|
return writer;
|
|
2371
2773
|
},
|
|
2372
2774
|
decode(input, length) {
|
|
2373
2775
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2374
2776
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2375
|
-
const message =
|
|
2777
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2376
2778
|
while (reader.pos < end) {
|
|
2377
2779
|
const tag = reader.uint32();
|
|
2378
2780
|
switch (tag >>> 3) {
|
|
2379
2781
|
case 1: {
|
|
2380
|
-
if (tag !==
|
|
2782
|
+
if (tag !== 10) {
|
|
2381
2783
|
break;
|
|
2382
2784
|
}
|
|
2383
|
-
message.
|
|
2785
|
+
message.key = reader.string();
|
|
2786
|
+
continue;
|
|
2787
|
+
}
|
|
2788
|
+
case 2: {
|
|
2789
|
+
if (tag !== 18) {
|
|
2790
|
+
break;
|
|
2791
|
+
}
|
|
2792
|
+
message.value = reader.string();
|
|
2384
2793
|
continue;
|
|
2385
2794
|
}
|
|
2386
2795
|
}
|
|
@@ -2392,56 +2801,123 @@ exports.Laser = {
|
|
|
2392
2801
|
return message;
|
|
2393
2802
|
},
|
|
2394
2803
|
fromJSON(object) {
|
|
2395
|
-
return {
|
|
2804
|
+
return {
|
|
2805
|
+
key: isSet(object.key) ? gt.String(object.key) : "",
|
|
2806
|
+
value: isSet(object.value) ? gt.String(object.value) : "",
|
|
2807
|
+
};
|
|
2396
2808
|
},
|
|
2397
2809
|
toJSON(message) {
|
|
2398
2810
|
const obj = {};
|
|
2399
|
-
if (message.
|
|
2811
|
+
if (message.key !== "") {
|
|
2812
|
+
obj.key = message.key;
|
|
2813
|
+
}
|
|
2814
|
+
if (message.value !== "") {
|
|
2400
2815
|
obj.value = message.value;
|
|
2401
2816
|
}
|
|
2402
2817
|
return obj;
|
|
2403
2818
|
},
|
|
2404
2819
|
create(base) {
|
|
2405
|
-
return exports.
|
|
2820
|
+
return exports.KernelLogEntry_KeyValuePair.fromPartial(base ?? {});
|
|
2406
2821
|
},
|
|
2407
2822
|
fromPartial(object) {
|
|
2408
|
-
const message =
|
|
2409
|
-
message.
|
|
2823
|
+
const message = createBaseKernelLogEntry_KeyValuePair();
|
|
2824
|
+
message.key = object.key ?? "";
|
|
2825
|
+
message.value = object.value ?? "";
|
|
2410
2826
|
return message;
|
|
2411
2827
|
},
|
|
2412
2828
|
};
|
|
2413
|
-
function
|
|
2414
|
-
return {
|
|
2829
|
+
function createBaseMotionInput() {
|
|
2830
|
+
return { surge: 0, sway: 0, heave: 0, roll: 0, pitch: 0, yaw: 0, slow: 0, boost: 0 };
|
|
2415
2831
|
}
|
|
2416
|
-
exports.
|
|
2832
|
+
exports.MotionInput = {
|
|
2417
2833
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2418
|
-
if (message.
|
|
2419
|
-
writer.uint32(
|
|
2834
|
+
if (message.surge !== 0) {
|
|
2835
|
+
writer.uint32(13).float(message.surge);
|
|
2420
2836
|
}
|
|
2421
|
-
if (message.
|
|
2422
|
-
writer.uint32(
|
|
2837
|
+
if (message.sway !== 0) {
|
|
2838
|
+
writer.uint32(21).float(message.sway);
|
|
2839
|
+
}
|
|
2840
|
+
if (message.heave !== 0) {
|
|
2841
|
+
writer.uint32(29).float(message.heave);
|
|
2842
|
+
}
|
|
2843
|
+
if (message.roll !== 0) {
|
|
2844
|
+
writer.uint32(61).float(message.roll);
|
|
2845
|
+
}
|
|
2846
|
+
if (message.pitch !== 0) {
|
|
2847
|
+
writer.uint32(69).float(message.pitch);
|
|
2848
|
+
}
|
|
2849
|
+
if (message.yaw !== 0) {
|
|
2850
|
+
writer.uint32(37).float(message.yaw);
|
|
2851
|
+
}
|
|
2852
|
+
if (message.slow !== 0) {
|
|
2853
|
+
writer.uint32(45).float(message.slow);
|
|
2854
|
+
}
|
|
2855
|
+
if (message.boost !== 0) {
|
|
2856
|
+
writer.uint32(53).float(message.boost);
|
|
2423
2857
|
}
|
|
2424
2858
|
return writer;
|
|
2425
2859
|
},
|
|
2426
2860
|
decode(input, length) {
|
|
2427
2861
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2428
2862
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2429
|
-
const message =
|
|
2863
|
+
const message = createBaseMotionInput();
|
|
2430
2864
|
while (reader.pos < end) {
|
|
2431
2865
|
const tag = reader.uint32();
|
|
2432
2866
|
switch (tag >>> 3) {
|
|
2433
2867
|
case 1: {
|
|
2434
|
-
if (tag !==
|
|
2868
|
+
if (tag !== 13) {
|
|
2435
2869
|
break;
|
|
2436
2870
|
}
|
|
2437
|
-
message.
|
|
2871
|
+
message.surge = reader.float();
|
|
2438
2872
|
continue;
|
|
2439
2873
|
}
|
|
2440
2874
|
case 2: {
|
|
2441
|
-
if (tag !==
|
|
2875
|
+
if (tag !== 21) {
|
|
2442
2876
|
break;
|
|
2443
2877
|
}
|
|
2444
|
-
message.
|
|
2878
|
+
message.sway = reader.float();
|
|
2879
|
+
continue;
|
|
2880
|
+
}
|
|
2881
|
+
case 3: {
|
|
2882
|
+
if (tag !== 29) {
|
|
2883
|
+
break;
|
|
2884
|
+
}
|
|
2885
|
+
message.heave = reader.float();
|
|
2886
|
+
continue;
|
|
2887
|
+
}
|
|
2888
|
+
case 7: {
|
|
2889
|
+
if (tag !== 61) {
|
|
2890
|
+
break;
|
|
2891
|
+
}
|
|
2892
|
+
message.roll = reader.float();
|
|
2893
|
+
continue;
|
|
2894
|
+
}
|
|
2895
|
+
case 8: {
|
|
2896
|
+
if (tag !== 69) {
|
|
2897
|
+
break;
|
|
2898
|
+
}
|
|
2899
|
+
message.pitch = reader.float();
|
|
2900
|
+
continue;
|
|
2901
|
+
}
|
|
2902
|
+
case 4: {
|
|
2903
|
+
if (tag !== 37) {
|
|
2904
|
+
break;
|
|
2905
|
+
}
|
|
2906
|
+
message.yaw = reader.float();
|
|
2907
|
+
continue;
|
|
2908
|
+
}
|
|
2909
|
+
case 5: {
|
|
2910
|
+
if (tag !== 45) {
|
|
2911
|
+
break;
|
|
2912
|
+
}
|
|
2913
|
+
message.slow = reader.float();
|
|
2914
|
+
continue;
|
|
2915
|
+
}
|
|
2916
|
+
case 6: {
|
|
2917
|
+
if (tag !== 53) {
|
|
2918
|
+
break;
|
|
2919
|
+
}
|
|
2920
|
+
message.boost = reader.float();
|
|
2445
2921
|
continue;
|
|
2446
2922
|
}
|
|
2447
2923
|
}
|
|
@@ -2454,52 +2930,82 @@ exports.LatLongPosition = {
|
|
|
2454
2930
|
},
|
|
2455
2931
|
fromJSON(object) {
|
|
2456
2932
|
return {
|
|
2457
|
-
|
|
2458
|
-
|
|
2933
|
+
surge: isSet(object.surge) ? gt.Number(object.surge) : 0,
|
|
2934
|
+
sway: isSet(object.sway) ? gt.Number(object.sway) : 0,
|
|
2935
|
+
heave: isSet(object.heave) ? gt.Number(object.heave) : 0,
|
|
2936
|
+
roll: isSet(object.roll) ? gt.Number(object.roll) : 0,
|
|
2937
|
+
pitch: isSet(object.pitch) ? gt.Number(object.pitch) : 0,
|
|
2938
|
+
yaw: isSet(object.yaw) ? gt.Number(object.yaw) : 0,
|
|
2939
|
+
slow: isSet(object.slow) ? gt.Number(object.slow) : 0,
|
|
2940
|
+
boost: isSet(object.boost) ? gt.Number(object.boost) : 0,
|
|
2459
2941
|
};
|
|
2460
2942
|
},
|
|
2461
2943
|
toJSON(message) {
|
|
2462
2944
|
const obj = {};
|
|
2463
|
-
if (message.
|
|
2464
|
-
obj.
|
|
2945
|
+
if (message.surge !== 0) {
|
|
2946
|
+
obj.surge = message.surge;
|
|
2465
2947
|
}
|
|
2466
|
-
if (message.
|
|
2467
|
-
obj.
|
|
2948
|
+
if (message.sway !== 0) {
|
|
2949
|
+
obj.sway = message.sway;
|
|
2950
|
+
}
|
|
2951
|
+
if (message.heave !== 0) {
|
|
2952
|
+
obj.heave = message.heave;
|
|
2953
|
+
}
|
|
2954
|
+
if (message.roll !== 0) {
|
|
2955
|
+
obj.roll = message.roll;
|
|
2956
|
+
}
|
|
2957
|
+
if (message.pitch !== 0) {
|
|
2958
|
+
obj.pitch = message.pitch;
|
|
2959
|
+
}
|
|
2960
|
+
if (message.yaw !== 0) {
|
|
2961
|
+
obj.yaw = message.yaw;
|
|
2962
|
+
}
|
|
2963
|
+
if (message.slow !== 0) {
|
|
2964
|
+
obj.slow = message.slow;
|
|
2965
|
+
}
|
|
2966
|
+
if (message.boost !== 0) {
|
|
2967
|
+
obj.boost = message.boost;
|
|
2468
2968
|
}
|
|
2469
2969
|
return obj;
|
|
2470
2970
|
},
|
|
2471
2971
|
create(base) {
|
|
2472
|
-
return exports.
|
|
2972
|
+
return exports.MotionInput.fromPartial(base ?? {});
|
|
2473
2973
|
},
|
|
2474
2974
|
fromPartial(object) {
|
|
2475
|
-
const message =
|
|
2476
|
-
message.
|
|
2477
|
-
message.
|
|
2975
|
+
const message = createBaseMotionInput();
|
|
2976
|
+
message.surge = object.surge ?? 0;
|
|
2977
|
+
message.sway = object.sway ?? 0;
|
|
2978
|
+
message.heave = object.heave ?? 0;
|
|
2979
|
+
message.roll = object.roll ?? 0;
|
|
2980
|
+
message.pitch = object.pitch ?? 0;
|
|
2981
|
+
message.yaw = object.yaw ?? 0;
|
|
2982
|
+
message.slow = object.slow ?? 0;
|
|
2983
|
+
message.boost = object.boost ?? 0;
|
|
2478
2984
|
return message;
|
|
2479
2985
|
},
|
|
2480
2986
|
};
|
|
2481
|
-
function
|
|
2987
|
+
function createBaseLights() {
|
|
2482
2988
|
return { value: 0 };
|
|
2483
2989
|
}
|
|
2484
|
-
exports.
|
|
2990
|
+
exports.Lights = {
|
|
2485
2991
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2486
2992
|
if (message.value !== 0) {
|
|
2487
|
-
writer.uint32(
|
|
2993
|
+
writer.uint32(13).float(message.value);
|
|
2488
2994
|
}
|
|
2489
2995
|
return writer;
|
|
2490
2996
|
},
|
|
2491
2997
|
decode(input, length) {
|
|
2492
2998
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2493
2999
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2494
|
-
const message =
|
|
3000
|
+
const message = createBaseLights();
|
|
2495
3001
|
while (reader.pos < end) {
|
|
2496
3002
|
const tag = reader.uint32();
|
|
2497
3003
|
switch (tag >>> 3) {
|
|
2498
3004
|
case 1: {
|
|
2499
|
-
if (tag !==
|
|
3005
|
+
if (tag !== 13) {
|
|
2500
3006
|
break;
|
|
2501
3007
|
}
|
|
2502
|
-
message.value = reader.
|
|
3008
|
+
message.value = reader.float();
|
|
2503
3009
|
continue;
|
|
2504
3010
|
}
|
|
2505
3011
|
}
|
|
@@ -2516,41 +3022,41 @@ exports.ConnectionDuration = {
|
|
|
2516
3022
|
toJSON(message) {
|
|
2517
3023
|
const obj = {};
|
|
2518
3024
|
if (message.value !== 0) {
|
|
2519
|
-
obj.value =
|
|
3025
|
+
obj.value = message.value;
|
|
2520
3026
|
}
|
|
2521
3027
|
return obj;
|
|
2522
3028
|
},
|
|
2523
3029
|
create(base) {
|
|
2524
|
-
return exports.
|
|
3030
|
+
return exports.Lights.fromPartial(base ?? {});
|
|
2525
3031
|
},
|
|
2526
3032
|
fromPartial(object) {
|
|
2527
|
-
const message =
|
|
3033
|
+
const message = createBaseLights();
|
|
2528
3034
|
message.value = object.value ?? 0;
|
|
2529
3035
|
return message;
|
|
2530
3036
|
},
|
|
2531
3037
|
};
|
|
2532
|
-
function
|
|
2533
|
-
return {
|
|
3038
|
+
function createBaseLaser() {
|
|
3039
|
+
return { value: 0 };
|
|
2534
3040
|
}
|
|
2535
|
-
exports.
|
|
3041
|
+
exports.Laser = {
|
|
2536
3042
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2537
|
-
if (message.
|
|
2538
|
-
writer.uint32(
|
|
3043
|
+
if (message.value !== 0) {
|
|
3044
|
+
writer.uint32(13).float(message.value);
|
|
2539
3045
|
}
|
|
2540
3046
|
return writer;
|
|
2541
3047
|
},
|
|
2542
3048
|
decode(input, length) {
|
|
2543
3049
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2544
3050
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2545
|
-
const message =
|
|
3051
|
+
const message = createBaseLaser();
|
|
2546
3052
|
while (reader.pos < end) {
|
|
2547
3053
|
const tag = reader.uint32();
|
|
2548
3054
|
switch (tag >>> 3) {
|
|
2549
3055
|
case 1: {
|
|
2550
|
-
if (tag !==
|
|
3056
|
+
if (tag !== 13) {
|
|
2551
3057
|
break;
|
|
2552
3058
|
}
|
|
2553
|
-
message.
|
|
3059
|
+
message.value = reader.float();
|
|
2554
3060
|
continue;
|
|
2555
3061
|
}
|
|
2556
3062
|
}
|
|
@@ -2562,46 +3068,56 @@ exports.AutoHeadingState = {
|
|
|
2562
3068
|
return message;
|
|
2563
3069
|
},
|
|
2564
3070
|
fromJSON(object) {
|
|
2565
|
-
return {
|
|
3071
|
+
return { value: isSet(object.value) ? gt.Number(object.value) : 0 };
|
|
2566
3072
|
},
|
|
2567
3073
|
toJSON(message) {
|
|
2568
3074
|
const obj = {};
|
|
2569
|
-
if (message.
|
|
2570
|
-
obj.
|
|
3075
|
+
if (message.value !== 0) {
|
|
3076
|
+
obj.value = message.value;
|
|
2571
3077
|
}
|
|
2572
3078
|
return obj;
|
|
2573
3079
|
},
|
|
2574
3080
|
create(base) {
|
|
2575
|
-
return exports.
|
|
3081
|
+
return exports.Laser.fromPartial(base ?? {});
|
|
2576
3082
|
},
|
|
2577
3083
|
fromPartial(object) {
|
|
2578
|
-
const message =
|
|
2579
|
-
message.
|
|
3084
|
+
const message = createBaseLaser();
|
|
3085
|
+
message.value = object.value ?? 0;
|
|
2580
3086
|
return message;
|
|
2581
3087
|
},
|
|
2582
3088
|
};
|
|
2583
|
-
function
|
|
2584
|
-
return {
|
|
3089
|
+
function createBaseLatLongPosition() {
|
|
3090
|
+
return { latitude: 0, longitude: 0 };
|
|
2585
3091
|
}
|
|
2586
|
-
exports.
|
|
3092
|
+
exports.LatLongPosition = {
|
|
2587
3093
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2588
|
-
if (message.
|
|
2589
|
-
writer.uint32(
|
|
3094
|
+
if (message.latitude !== 0) {
|
|
3095
|
+
writer.uint32(9).double(message.latitude);
|
|
3096
|
+
}
|
|
3097
|
+
if (message.longitude !== 0) {
|
|
3098
|
+
writer.uint32(17).double(message.longitude);
|
|
2590
3099
|
}
|
|
2591
3100
|
return writer;
|
|
2592
3101
|
},
|
|
2593
3102
|
decode(input, length) {
|
|
2594
3103
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2595
3104
|
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2596
|
-
const message =
|
|
3105
|
+
const message = createBaseLatLongPosition();
|
|
2597
3106
|
while (reader.pos < end) {
|
|
2598
3107
|
const tag = reader.uint32();
|
|
2599
3108
|
switch (tag >>> 3) {
|
|
2600
3109
|
case 1: {
|
|
2601
|
-
if (tag !==
|
|
3110
|
+
if (tag !== 9) {
|
|
2602
3111
|
break;
|
|
2603
3112
|
}
|
|
2604
|
-
message.
|
|
3113
|
+
message.latitude = reader.double();
|
|
3114
|
+
continue;
|
|
3115
|
+
}
|
|
3116
|
+
case 2: {
|
|
3117
|
+
if (tag !== 17) {
|
|
3118
|
+
break;
|
|
3119
|
+
}
|
|
3120
|
+
message.longitude = reader.double();
|
|
2605
3121
|
continue;
|
|
2606
3122
|
}
|
|
2607
3123
|
}
|
|
@@ -2613,17 +3129,177 @@ exports.AutoDepthState = {
|
|
|
2613
3129
|
return message;
|
|
2614
3130
|
},
|
|
2615
3131
|
fromJSON(object) {
|
|
2616
|
-
return {
|
|
3132
|
+
return {
|
|
3133
|
+
latitude: isSet(object.latitude) ? gt.Number(object.latitude) : 0,
|
|
3134
|
+
longitude: isSet(object.longitude) ? gt.Number(object.longitude) : 0,
|
|
3135
|
+
};
|
|
2617
3136
|
},
|
|
2618
3137
|
toJSON(message) {
|
|
2619
3138
|
const obj = {};
|
|
2620
|
-
if (message.
|
|
2621
|
-
obj.
|
|
3139
|
+
if (message.latitude !== 0) {
|
|
3140
|
+
obj.latitude = message.latitude;
|
|
3141
|
+
}
|
|
3142
|
+
if (message.longitude !== 0) {
|
|
3143
|
+
obj.longitude = message.longitude;
|
|
2622
3144
|
}
|
|
2623
3145
|
return obj;
|
|
2624
3146
|
},
|
|
2625
3147
|
create(base) {
|
|
2626
|
-
return exports.
|
|
3148
|
+
return exports.LatLongPosition.fromPartial(base ?? {});
|
|
3149
|
+
},
|
|
3150
|
+
fromPartial(object) {
|
|
3151
|
+
const message = createBaseLatLongPosition();
|
|
3152
|
+
message.latitude = object.latitude ?? 0;
|
|
3153
|
+
message.longitude = object.longitude ?? 0;
|
|
3154
|
+
return message;
|
|
3155
|
+
},
|
|
3156
|
+
};
|
|
3157
|
+
function createBaseConnectionDuration() {
|
|
3158
|
+
return { value: 0 };
|
|
3159
|
+
}
|
|
3160
|
+
exports.ConnectionDuration = {
|
|
3161
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
3162
|
+
if (message.value !== 0) {
|
|
3163
|
+
writer.uint32(8).int32(message.value);
|
|
3164
|
+
}
|
|
3165
|
+
return writer;
|
|
3166
|
+
},
|
|
3167
|
+
decode(input, length) {
|
|
3168
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3169
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3170
|
+
const message = createBaseConnectionDuration();
|
|
3171
|
+
while (reader.pos < end) {
|
|
3172
|
+
const tag = reader.uint32();
|
|
3173
|
+
switch (tag >>> 3) {
|
|
3174
|
+
case 1: {
|
|
3175
|
+
if (tag !== 8) {
|
|
3176
|
+
break;
|
|
3177
|
+
}
|
|
3178
|
+
message.value = reader.int32();
|
|
3179
|
+
continue;
|
|
3180
|
+
}
|
|
3181
|
+
}
|
|
3182
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3183
|
+
break;
|
|
3184
|
+
}
|
|
3185
|
+
reader.skip(tag & 7);
|
|
3186
|
+
}
|
|
3187
|
+
return message;
|
|
3188
|
+
},
|
|
3189
|
+
fromJSON(object) {
|
|
3190
|
+
return { value: isSet(object.value) ? gt.Number(object.value) : 0 };
|
|
3191
|
+
},
|
|
3192
|
+
toJSON(message) {
|
|
3193
|
+
const obj = {};
|
|
3194
|
+
if (message.value !== 0) {
|
|
3195
|
+
obj.value = Math.round(message.value);
|
|
3196
|
+
}
|
|
3197
|
+
return obj;
|
|
3198
|
+
},
|
|
3199
|
+
create(base) {
|
|
3200
|
+
return exports.ConnectionDuration.fromPartial(base ?? {});
|
|
3201
|
+
},
|
|
3202
|
+
fromPartial(object) {
|
|
3203
|
+
const message = createBaseConnectionDuration();
|
|
3204
|
+
message.value = object.value ?? 0;
|
|
3205
|
+
return message;
|
|
3206
|
+
},
|
|
3207
|
+
};
|
|
3208
|
+
function createBaseAutoHeadingState() {
|
|
3209
|
+
return { enabled: false };
|
|
3210
|
+
}
|
|
3211
|
+
exports.AutoHeadingState = {
|
|
3212
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
3213
|
+
if (message.enabled !== false) {
|
|
3214
|
+
writer.uint32(8).bool(message.enabled);
|
|
3215
|
+
}
|
|
3216
|
+
return writer;
|
|
3217
|
+
},
|
|
3218
|
+
decode(input, length) {
|
|
3219
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3220
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3221
|
+
const message = createBaseAutoHeadingState();
|
|
3222
|
+
while (reader.pos < end) {
|
|
3223
|
+
const tag = reader.uint32();
|
|
3224
|
+
switch (tag >>> 3) {
|
|
3225
|
+
case 1: {
|
|
3226
|
+
if (tag !== 8) {
|
|
3227
|
+
break;
|
|
3228
|
+
}
|
|
3229
|
+
message.enabled = reader.bool();
|
|
3230
|
+
continue;
|
|
3231
|
+
}
|
|
3232
|
+
}
|
|
3233
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3234
|
+
break;
|
|
3235
|
+
}
|
|
3236
|
+
reader.skip(tag & 7);
|
|
3237
|
+
}
|
|
3238
|
+
return message;
|
|
3239
|
+
},
|
|
3240
|
+
fromJSON(object) {
|
|
3241
|
+
return { enabled: isSet(object.enabled) ? gt.Boolean(object.enabled) : false };
|
|
3242
|
+
},
|
|
3243
|
+
toJSON(message) {
|
|
3244
|
+
const obj = {};
|
|
3245
|
+
if (message.enabled !== false) {
|
|
3246
|
+
obj.enabled = message.enabled;
|
|
3247
|
+
}
|
|
3248
|
+
return obj;
|
|
3249
|
+
},
|
|
3250
|
+
create(base) {
|
|
3251
|
+
return exports.AutoHeadingState.fromPartial(base ?? {});
|
|
3252
|
+
},
|
|
3253
|
+
fromPartial(object) {
|
|
3254
|
+
const message = createBaseAutoHeadingState();
|
|
3255
|
+
message.enabled = object.enabled ?? false;
|
|
3256
|
+
return message;
|
|
3257
|
+
},
|
|
3258
|
+
};
|
|
3259
|
+
function createBaseAutoDepthState() {
|
|
3260
|
+
return { enabled: false };
|
|
3261
|
+
}
|
|
3262
|
+
exports.AutoDepthState = {
|
|
3263
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
3264
|
+
if (message.enabled !== false) {
|
|
3265
|
+
writer.uint32(8).bool(message.enabled);
|
|
3266
|
+
}
|
|
3267
|
+
return writer;
|
|
3268
|
+
},
|
|
3269
|
+
decode(input, length) {
|
|
3270
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3271
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3272
|
+
const message = createBaseAutoDepthState();
|
|
3273
|
+
while (reader.pos < end) {
|
|
3274
|
+
const tag = reader.uint32();
|
|
3275
|
+
switch (tag >>> 3) {
|
|
3276
|
+
case 1: {
|
|
3277
|
+
if (tag !== 8) {
|
|
3278
|
+
break;
|
|
3279
|
+
}
|
|
3280
|
+
message.enabled = reader.bool();
|
|
3281
|
+
continue;
|
|
3282
|
+
}
|
|
3283
|
+
}
|
|
3284
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3285
|
+
break;
|
|
3286
|
+
}
|
|
3287
|
+
reader.skip(tag & 7);
|
|
3288
|
+
}
|
|
3289
|
+
return message;
|
|
3290
|
+
},
|
|
3291
|
+
fromJSON(object) {
|
|
3292
|
+
return { enabled: isSet(object.enabled) ? gt.Boolean(object.enabled) : false };
|
|
3293
|
+
},
|
|
3294
|
+
toJSON(message) {
|
|
3295
|
+
const obj = {};
|
|
3296
|
+
if (message.enabled !== false) {
|
|
3297
|
+
obj.enabled = message.enabled;
|
|
3298
|
+
}
|
|
3299
|
+
return obj;
|
|
3300
|
+
},
|
|
3301
|
+
create(base) {
|
|
3302
|
+
return exports.AutoDepthState.fromPartial(base ?? {});
|
|
2627
3303
|
},
|
|
2628
3304
|
fromPartial(object) {
|
|
2629
3305
|
const message = createBaseAutoDepthState();
|
|
@@ -3431,6 +4107,9 @@ function createBaseRecordState() {
|
|
|
3431
4107
|
multibeamIsRecording: false,
|
|
3432
4108
|
multibeamSeconds: 0,
|
|
3433
4109
|
multibeamFps: 0,
|
|
4110
|
+
mainStorageLocation: 0,
|
|
4111
|
+
guestportStorageLocation: 0,
|
|
4112
|
+
multibeamStorageLocation: 0,
|
|
3434
4113
|
};
|
|
3435
4114
|
}
|
|
3436
4115
|
exports.RecordState = {
|
|
@@ -3462,6 +4141,15 @@ exports.RecordState = {
|
|
|
3462
4141
|
if (message.multibeamFps !== 0) {
|
|
3463
4142
|
writer.uint32(77).float(message.multibeamFps);
|
|
3464
4143
|
}
|
|
4144
|
+
if (message.mainStorageLocation !== 0) {
|
|
4145
|
+
writer.uint32(80).int32(message.mainStorageLocation);
|
|
4146
|
+
}
|
|
4147
|
+
if (message.guestportStorageLocation !== 0) {
|
|
4148
|
+
writer.uint32(88).int32(message.guestportStorageLocation);
|
|
4149
|
+
}
|
|
4150
|
+
if (message.multibeamStorageLocation !== 0) {
|
|
4151
|
+
writer.uint32(96).int32(message.multibeamStorageLocation);
|
|
4152
|
+
}
|
|
3465
4153
|
return writer;
|
|
3466
4154
|
},
|
|
3467
4155
|
decode(input, length) {
|
|
@@ -3534,6 +4222,27 @@ exports.RecordState = {
|
|
|
3534
4222
|
message.multibeamFps = reader.float();
|
|
3535
4223
|
continue;
|
|
3536
4224
|
}
|
|
4225
|
+
case 10: {
|
|
4226
|
+
if (tag !== 80) {
|
|
4227
|
+
break;
|
|
4228
|
+
}
|
|
4229
|
+
message.mainStorageLocation = reader.int32();
|
|
4230
|
+
continue;
|
|
4231
|
+
}
|
|
4232
|
+
case 11: {
|
|
4233
|
+
if (tag !== 88) {
|
|
4234
|
+
break;
|
|
4235
|
+
}
|
|
4236
|
+
message.guestportStorageLocation = reader.int32();
|
|
4237
|
+
continue;
|
|
4238
|
+
}
|
|
4239
|
+
case 12: {
|
|
4240
|
+
if (tag !== 96) {
|
|
4241
|
+
break;
|
|
4242
|
+
}
|
|
4243
|
+
message.multibeamStorageLocation = reader.int32();
|
|
4244
|
+
continue;
|
|
4245
|
+
}
|
|
3537
4246
|
}
|
|
3538
4247
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3539
4248
|
break;
|
|
@@ -3553,6 +4262,13 @@ exports.RecordState = {
|
|
|
3553
4262
|
multibeamIsRecording: isSet(object.multibeamIsRecording) ? gt.Boolean(object.multibeamIsRecording) : false,
|
|
3554
4263
|
multibeamSeconds: isSet(object.multibeamSeconds) ? gt.Number(object.multibeamSeconds) : 0,
|
|
3555
4264
|
multibeamFps: isSet(object.multibeamFps) ? gt.Number(object.multibeamFps) : 0,
|
|
4265
|
+
mainStorageLocation: isSet(object.mainStorageLocation) ? storageLocationFromJSON(object.mainStorageLocation) : 0,
|
|
4266
|
+
guestportStorageLocation: isSet(object.guestportStorageLocation)
|
|
4267
|
+
? storageLocationFromJSON(object.guestportStorageLocation)
|
|
4268
|
+
: 0,
|
|
4269
|
+
multibeamStorageLocation: isSet(object.multibeamStorageLocation)
|
|
4270
|
+
? storageLocationFromJSON(object.multibeamStorageLocation)
|
|
4271
|
+
: 0,
|
|
3556
4272
|
};
|
|
3557
4273
|
},
|
|
3558
4274
|
toJSON(message) {
|
|
@@ -3584,6 +4300,15 @@ exports.RecordState = {
|
|
|
3584
4300
|
if (message.multibeamFps !== 0) {
|
|
3585
4301
|
obj.multibeamFps = message.multibeamFps;
|
|
3586
4302
|
}
|
|
4303
|
+
if (message.mainStorageLocation !== 0) {
|
|
4304
|
+
obj.mainStorageLocation = storageLocationToJSON(message.mainStorageLocation);
|
|
4305
|
+
}
|
|
4306
|
+
if (message.guestportStorageLocation !== 0) {
|
|
4307
|
+
obj.guestportStorageLocation = storageLocationToJSON(message.guestportStorageLocation);
|
|
4308
|
+
}
|
|
4309
|
+
if (message.multibeamStorageLocation !== 0) {
|
|
4310
|
+
obj.multibeamStorageLocation = storageLocationToJSON(message.multibeamStorageLocation);
|
|
4311
|
+
}
|
|
3587
4312
|
return obj;
|
|
3588
4313
|
},
|
|
3589
4314
|
create(base) {
|
|
@@ -3600,6 +4325,9 @@ exports.RecordState = {
|
|
|
3600
4325
|
message.multibeamIsRecording = object.multibeamIsRecording ?? false;
|
|
3601
4326
|
message.multibeamSeconds = object.multibeamSeconds ?? 0;
|
|
3602
4327
|
message.multibeamFps = object.multibeamFps ?? 0;
|
|
4328
|
+
message.mainStorageLocation = object.mainStorageLocation ?? 0;
|
|
4329
|
+
message.guestportStorageLocation = object.guestportStorageLocation ?? 0;
|
|
4330
|
+
message.multibeamStorageLocation = object.multibeamStorageLocation ?? 0;
|
|
3603
4331
|
return message;
|
|
3604
4332
|
},
|
|
3605
4333
|
};
|
|
@@ -7507,7 +8235,7 @@ exports.StorageSpace = {
|
|
|
7507
8235
|
},
|
|
7508
8236
|
};
|
|
7509
8237
|
function createBaseStoragePartition() {
|
|
7510
|
-
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "" };
|
|
8238
|
+
return { storageSpace: undefined, fileSystemType: "", devicePath: "", mountPath: "", label: "" };
|
|
7511
8239
|
}
|
|
7512
8240
|
exports.StoragePartition = {
|
|
7513
8241
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -7523,6 +8251,9 @@ exports.StoragePartition = {
|
|
|
7523
8251
|
if (message.mountPath !== "") {
|
|
7524
8252
|
writer.uint32(34).string(message.mountPath);
|
|
7525
8253
|
}
|
|
8254
|
+
if (message.label !== "") {
|
|
8255
|
+
writer.uint32(42).string(message.label);
|
|
8256
|
+
}
|
|
7526
8257
|
return writer;
|
|
7527
8258
|
},
|
|
7528
8259
|
decode(input, length) {
|
|
@@ -7560,6 +8291,13 @@ exports.StoragePartition = {
|
|
|
7560
8291
|
message.mountPath = reader.string();
|
|
7561
8292
|
continue;
|
|
7562
8293
|
}
|
|
8294
|
+
case 5: {
|
|
8295
|
+
if (tag !== 42) {
|
|
8296
|
+
break;
|
|
8297
|
+
}
|
|
8298
|
+
message.label = reader.string();
|
|
8299
|
+
continue;
|
|
8300
|
+
}
|
|
7563
8301
|
}
|
|
7564
8302
|
if ((tag & 7) === 4 || tag === 0) {
|
|
7565
8303
|
break;
|
|
@@ -7574,6 +8312,7 @@ exports.StoragePartition = {
|
|
|
7574
8312
|
fileSystemType: isSet(object.fileSystemType) ? gt.String(object.fileSystemType) : "",
|
|
7575
8313
|
devicePath: isSet(object.devicePath) ? gt.String(object.devicePath) : "",
|
|
7576
8314
|
mountPath: isSet(object.mountPath) ? gt.String(object.mountPath) : "",
|
|
8315
|
+
label: isSet(object.label) ? gt.String(object.label) : "",
|
|
7577
8316
|
};
|
|
7578
8317
|
},
|
|
7579
8318
|
toJSON(message) {
|
|
@@ -7590,6 +8329,9 @@ exports.StoragePartition = {
|
|
|
7590
8329
|
if (message.mountPath !== "") {
|
|
7591
8330
|
obj.mountPath = message.mountPath;
|
|
7592
8331
|
}
|
|
8332
|
+
if (message.label !== "") {
|
|
8333
|
+
obj.label = message.label;
|
|
8334
|
+
}
|
|
7593
8335
|
return obj;
|
|
7594
8336
|
},
|
|
7595
8337
|
create(base) {
|
|
@@ -7603,6 +8345,7 @@ exports.StoragePartition = {
|
|
|
7603
8345
|
message.fileSystemType = object.fileSystemType ?? "";
|
|
7604
8346
|
message.devicePath = object.devicePath ?? "";
|
|
7605
8347
|
message.mountPath = object.mountPath ?? "";
|
|
8348
|
+
message.label = object.label ?? "";
|
|
7606
8349
|
return message;
|
|
7607
8350
|
},
|
|
7608
8351
|
};
|
|
@@ -9300,11 +10043,23 @@ function createBaseCameraParameters() {
|
|
|
9300
10043
|
whiteBalance: 0,
|
|
9301
10044
|
hue: 0,
|
|
9302
10045
|
gain: 0,
|
|
10046
|
+
brightness: 0,
|
|
10047
|
+
contrast: 0,
|
|
10048
|
+
saturation: 0,
|
|
10049
|
+
gamma: 0,
|
|
10050
|
+
sharpness: 0,
|
|
10051
|
+
backlightCompensation: 0,
|
|
10052
|
+
denoise: 0,
|
|
10053
|
+
ehdrEnabled: false,
|
|
10054
|
+
ehdrExposureMinNumber: 0,
|
|
10055
|
+
ehdrExposureMaxNumber: 0,
|
|
9303
10056
|
resolution: 0,
|
|
9304
10057
|
streamResolution: 0,
|
|
9305
10058
|
recordingResolution: 0,
|
|
10059
|
+
streamingProtocol: 0,
|
|
9306
10060
|
framerate: 0,
|
|
9307
10061
|
camera: 0,
|
|
10062
|
+
mtuSize: 0,
|
|
9308
10063
|
};
|
|
9309
10064
|
}
|
|
9310
10065
|
exports.CameraParameters = {
|
|
@@ -9327,6 +10082,36 @@ exports.CameraParameters = {
|
|
|
9327
10082
|
if (message.gain !== 0) {
|
|
9328
10083
|
writer.uint32(77).float(message.gain);
|
|
9329
10084
|
}
|
|
10085
|
+
if (message.brightness !== 0) {
|
|
10086
|
+
writer.uint32(96).int32(message.brightness);
|
|
10087
|
+
}
|
|
10088
|
+
if (message.contrast !== 0) {
|
|
10089
|
+
writer.uint32(104).int32(message.contrast);
|
|
10090
|
+
}
|
|
10091
|
+
if (message.saturation !== 0) {
|
|
10092
|
+
writer.uint32(112).int32(message.saturation);
|
|
10093
|
+
}
|
|
10094
|
+
if (message.gamma !== 0) {
|
|
10095
|
+
writer.uint32(120).int32(message.gamma);
|
|
10096
|
+
}
|
|
10097
|
+
if (message.sharpness !== 0) {
|
|
10098
|
+
writer.uint32(128).int32(message.sharpness);
|
|
10099
|
+
}
|
|
10100
|
+
if (message.backlightCompensation !== 0) {
|
|
10101
|
+
writer.uint32(136).int32(message.backlightCompensation);
|
|
10102
|
+
}
|
|
10103
|
+
if (message.denoise !== 0) {
|
|
10104
|
+
writer.uint32(144).int32(message.denoise);
|
|
10105
|
+
}
|
|
10106
|
+
if (message.ehdrEnabled !== false) {
|
|
10107
|
+
writer.uint32(168).bool(message.ehdrEnabled);
|
|
10108
|
+
}
|
|
10109
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10110
|
+
writer.uint32(176).int32(message.ehdrExposureMinNumber);
|
|
10111
|
+
}
|
|
10112
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10113
|
+
writer.uint32(184).int32(message.ehdrExposureMaxNumber);
|
|
10114
|
+
}
|
|
9330
10115
|
if (message.resolution !== 0) {
|
|
9331
10116
|
writer.uint32(48).int32(message.resolution);
|
|
9332
10117
|
}
|
|
@@ -9336,12 +10121,18 @@ exports.CameraParameters = {
|
|
|
9336
10121
|
if (message.recordingResolution !== 0) {
|
|
9337
10122
|
writer.uint32(88).int32(message.recordingResolution);
|
|
9338
10123
|
}
|
|
10124
|
+
if (message.streamingProtocol !== 0) {
|
|
10125
|
+
writer.uint32(160).int32(message.streamingProtocol);
|
|
10126
|
+
}
|
|
9339
10127
|
if (message.framerate !== 0) {
|
|
9340
10128
|
writer.uint32(56).int32(message.framerate);
|
|
9341
10129
|
}
|
|
9342
10130
|
if (message.camera !== 0) {
|
|
9343
10131
|
writer.uint32(64).int32(message.camera);
|
|
9344
10132
|
}
|
|
10133
|
+
if (message.mtuSize !== 0) {
|
|
10134
|
+
writer.uint32(192).uint32(message.mtuSize);
|
|
10135
|
+
}
|
|
9345
10136
|
return writer;
|
|
9346
10137
|
},
|
|
9347
10138
|
decode(input, length) {
|
|
@@ -9393,72 +10184,168 @@ exports.CameraParameters = {
|
|
|
9393
10184
|
message.gain = reader.float();
|
|
9394
10185
|
continue;
|
|
9395
10186
|
}
|
|
9396
|
-
case
|
|
9397
|
-
if (tag !==
|
|
10187
|
+
case 12: {
|
|
10188
|
+
if (tag !== 96) {
|
|
9398
10189
|
break;
|
|
9399
10190
|
}
|
|
9400
|
-
message.
|
|
10191
|
+
message.brightness = reader.int32();
|
|
9401
10192
|
continue;
|
|
9402
10193
|
}
|
|
9403
|
-
case
|
|
9404
|
-
if (tag !==
|
|
10194
|
+
case 13: {
|
|
10195
|
+
if (tag !== 104) {
|
|
9405
10196
|
break;
|
|
9406
10197
|
}
|
|
9407
|
-
message.
|
|
10198
|
+
message.contrast = reader.int32();
|
|
9408
10199
|
continue;
|
|
9409
10200
|
}
|
|
9410
|
-
case
|
|
9411
|
-
if (tag !==
|
|
10201
|
+
case 14: {
|
|
10202
|
+
if (tag !== 112) {
|
|
9412
10203
|
break;
|
|
9413
10204
|
}
|
|
9414
|
-
message.
|
|
10205
|
+
message.saturation = reader.int32();
|
|
9415
10206
|
continue;
|
|
9416
10207
|
}
|
|
9417
|
-
case
|
|
9418
|
-
if (tag !==
|
|
10208
|
+
case 15: {
|
|
10209
|
+
if (tag !== 120) {
|
|
9419
10210
|
break;
|
|
9420
10211
|
}
|
|
9421
|
-
message.
|
|
10212
|
+
message.gamma = reader.int32();
|
|
9422
10213
|
continue;
|
|
9423
10214
|
}
|
|
9424
|
-
case
|
|
9425
|
-
if (tag !==
|
|
10215
|
+
case 16: {
|
|
10216
|
+
if (tag !== 128) {
|
|
9426
10217
|
break;
|
|
9427
10218
|
}
|
|
9428
|
-
message.
|
|
10219
|
+
message.sharpness = reader.int32();
|
|
9429
10220
|
continue;
|
|
9430
10221
|
}
|
|
9431
|
-
|
|
9432
|
-
|
|
9433
|
-
|
|
9434
|
-
|
|
9435
|
-
|
|
9436
|
-
|
|
9437
|
-
|
|
9438
|
-
|
|
9439
|
-
|
|
9440
|
-
|
|
9441
|
-
|
|
9442
|
-
|
|
9443
|
-
|
|
9444
|
-
|
|
9445
|
-
|
|
9446
|
-
|
|
9447
|
-
|
|
9448
|
-
|
|
9449
|
-
|
|
9450
|
-
|
|
9451
|
-
|
|
9452
|
-
|
|
9453
|
-
|
|
9454
|
-
|
|
9455
|
-
|
|
9456
|
-
|
|
9457
|
-
|
|
9458
|
-
|
|
9459
|
-
|
|
9460
|
-
|
|
9461
|
-
|
|
10222
|
+
case 17: {
|
|
10223
|
+
if (tag !== 136) {
|
|
10224
|
+
break;
|
|
10225
|
+
}
|
|
10226
|
+
message.backlightCompensation = reader.int32();
|
|
10227
|
+
continue;
|
|
10228
|
+
}
|
|
10229
|
+
case 18: {
|
|
10230
|
+
if (tag !== 144) {
|
|
10231
|
+
break;
|
|
10232
|
+
}
|
|
10233
|
+
message.denoise = reader.int32();
|
|
10234
|
+
continue;
|
|
10235
|
+
}
|
|
10236
|
+
case 21: {
|
|
10237
|
+
if (tag !== 168) {
|
|
10238
|
+
break;
|
|
10239
|
+
}
|
|
10240
|
+
message.ehdrEnabled = reader.bool();
|
|
10241
|
+
continue;
|
|
10242
|
+
}
|
|
10243
|
+
case 22: {
|
|
10244
|
+
if (tag !== 176) {
|
|
10245
|
+
break;
|
|
10246
|
+
}
|
|
10247
|
+
message.ehdrExposureMinNumber = reader.int32();
|
|
10248
|
+
continue;
|
|
10249
|
+
}
|
|
10250
|
+
case 23: {
|
|
10251
|
+
if (tag !== 184) {
|
|
10252
|
+
break;
|
|
10253
|
+
}
|
|
10254
|
+
message.ehdrExposureMaxNumber = reader.int32();
|
|
10255
|
+
continue;
|
|
10256
|
+
}
|
|
10257
|
+
case 6: {
|
|
10258
|
+
if (tag !== 48) {
|
|
10259
|
+
break;
|
|
10260
|
+
}
|
|
10261
|
+
message.resolution = reader.int32();
|
|
10262
|
+
continue;
|
|
10263
|
+
}
|
|
10264
|
+
case 10: {
|
|
10265
|
+
if (tag !== 80) {
|
|
10266
|
+
break;
|
|
10267
|
+
}
|
|
10268
|
+
message.streamResolution = reader.int32();
|
|
10269
|
+
continue;
|
|
10270
|
+
}
|
|
10271
|
+
case 11: {
|
|
10272
|
+
if (tag !== 88) {
|
|
10273
|
+
break;
|
|
10274
|
+
}
|
|
10275
|
+
message.recordingResolution = reader.int32();
|
|
10276
|
+
continue;
|
|
10277
|
+
}
|
|
10278
|
+
case 20: {
|
|
10279
|
+
if (tag !== 160) {
|
|
10280
|
+
break;
|
|
10281
|
+
}
|
|
10282
|
+
message.streamingProtocol = reader.int32();
|
|
10283
|
+
continue;
|
|
10284
|
+
}
|
|
10285
|
+
case 7: {
|
|
10286
|
+
if (tag !== 56) {
|
|
10287
|
+
break;
|
|
10288
|
+
}
|
|
10289
|
+
message.framerate = reader.int32();
|
|
10290
|
+
continue;
|
|
10291
|
+
}
|
|
10292
|
+
case 8: {
|
|
10293
|
+
if (tag !== 64) {
|
|
10294
|
+
break;
|
|
10295
|
+
}
|
|
10296
|
+
message.camera = reader.int32();
|
|
10297
|
+
continue;
|
|
10298
|
+
}
|
|
10299
|
+
case 24: {
|
|
10300
|
+
if (tag !== 192) {
|
|
10301
|
+
break;
|
|
10302
|
+
}
|
|
10303
|
+
message.mtuSize = reader.uint32();
|
|
10304
|
+
continue;
|
|
10305
|
+
}
|
|
10306
|
+
}
|
|
10307
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
10308
|
+
break;
|
|
10309
|
+
}
|
|
10310
|
+
reader.skip(tag & 7);
|
|
10311
|
+
}
|
|
10312
|
+
return message;
|
|
10313
|
+
},
|
|
10314
|
+
fromJSON(object) {
|
|
10315
|
+
return {
|
|
10316
|
+
h264Bitrate: isSet(object.h264Bitrate) ? gt.Number(object.h264Bitrate) : 0,
|
|
10317
|
+
mjpgBitrate: isSet(object.mjpgBitrate) ? gt.Number(object.mjpgBitrate) : 0,
|
|
10318
|
+
exposure: isSet(object.exposure) ? gt.Number(object.exposure) : 0,
|
|
10319
|
+
whiteBalance: isSet(object.whiteBalance) ? gt.Number(object.whiteBalance) : 0,
|
|
10320
|
+
hue: isSet(object.hue) ? gt.Number(object.hue) : 0,
|
|
10321
|
+
gain: isSet(object.gain) ? gt.Number(object.gain) : 0,
|
|
10322
|
+
brightness: isSet(object.brightness) ? gt.Number(object.brightness) : 0,
|
|
10323
|
+
contrast: isSet(object.contrast) ? gt.Number(object.contrast) : 0,
|
|
10324
|
+
saturation: isSet(object.saturation) ? gt.Number(object.saturation) : 0,
|
|
10325
|
+
gamma: isSet(object.gamma) ? gt.Number(object.gamma) : 0,
|
|
10326
|
+
sharpness: isSet(object.sharpness) ? gt.Number(object.sharpness) : 0,
|
|
10327
|
+
backlightCompensation: isSet(object.backlightCompensation) ? gt.Number(object.backlightCompensation) : 0,
|
|
10328
|
+
denoise: isSet(object.denoise) ? gt.Number(object.denoise) : 0,
|
|
10329
|
+
ehdrEnabled: isSet(object.ehdrEnabled) ? gt.Boolean(object.ehdrEnabled) : false,
|
|
10330
|
+
ehdrExposureMinNumber: isSet(object.ehdrExposureMinNumber) ? gt.Number(object.ehdrExposureMinNumber) : 0,
|
|
10331
|
+
ehdrExposureMaxNumber: isSet(object.ehdrExposureMaxNumber) ? gt.Number(object.ehdrExposureMaxNumber) : 0,
|
|
10332
|
+
resolution: isSet(object.resolution) ? resolutionFromJSON(object.resolution) : 0,
|
|
10333
|
+
streamResolution: isSet(object.streamResolution) ? resolutionFromJSON(object.streamResolution) : 0,
|
|
10334
|
+
recordingResolution: isSet(object.recordingResolution) ? resolutionFromJSON(object.recordingResolution) : 0,
|
|
10335
|
+
streamingProtocol: isSet(object.streamingProtocol) ? streamingProtocolFromJSON(object.streamingProtocol) : 0,
|
|
10336
|
+
framerate: isSet(object.framerate) ? framerateFromJSON(object.framerate) : 0,
|
|
10337
|
+
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
10338
|
+
mtuSize: isSet(object.mtuSize) ? gt.Number(object.mtuSize) : 0,
|
|
10339
|
+
};
|
|
10340
|
+
},
|
|
10341
|
+
toJSON(message) {
|
|
10342
|
+
const obj = {};
|
|
10343
|
+
if (message.h264Bitrate !== 0) {
|
|
10344
|
+
obj.h264Bitrate = Math.round(message.h264Bitrate);
|
|
10345
|
+
}
|
|
10346
|
+
if (message.mjpgBitrate !== 0) {
|
|
10347
|
+
obj.mjpgBitrate = Math.round(message.mjpgBitrate);
|
|
10348
|
+
}
|
|
9462
10349
|
if (message.exposure !== 0) {
|
|
9463
10350
|
obj.exposure = Math.round(message.exposure);
|
|
9464
10351
|
}
|
|
@@ -9471,6 +10358,36 @@ exports.CameraParameters = {
|
|
|
9471
10358
|
if (message.gain !== 0) {
|
|
9472
10359
|
obj.gain = message.gain;
|
|
9473
10360
|
}
|
|
10361
|
+
if (message.brightness !== 0) {
|
|
10362
|
+
obj.brightness = Math.round(message.brightness);
|
|
10363
|
+
}
|
|
10364
|
+
if (message.contrast !== 0) {
|
|
10365
|
+
obj.contrast = Math.round(message.contrast);
|
|
10366
|
+
}
|
|
10367
|
+
if (message.saturation !== 0) {
|
|
10368
|
+
obj.saturation = Math.round(message.saturation);
|
|
10369
|
+
}
|
|
10370
|
+
if (message.gamma !== 0) {
|
|
10371
|
+
obj.gamma = Math.round(message.gamma);
|
|
10372
|
+
}
|
|
10373
|
+
if (message.sharpness !== 0) {
|
|
10374
|
+
obj.sharpness = Math.round(message.sharpness);
|
|
10375
|
+
}
|
|
10376
|
+
if (message.backlightCompensation !== 0) {
|
|
10377
|
+
obj.backlightCompensation = Math.round(message.backlightCompensation);
|
|
10378
|
+
}
|
|
10379
|
+
if (message.denoise !== 0) {
|
|
10380
|
+
obj.denoise = Math.round(message.denoise);
|
|
10381
|
+
}
|
|
10382
|
+
if (message.ehdrEnabled !== false) {
|
|
10383
|
+
obj.ehdrEnabled = message.ehdrEnabled;
|
|
10384
|
+
}
|
|
10385
|
+
if (message.ehdrExposureMinNumber !== 0) {
|
|
10386
|
+
obj.ehdrExposureMinNumber = Math.round(message.ehdrExposureMinNumber);
|
|
10387
|
+
}
|
|
10388
|
+
if (message.ehdrExposureMaxNumber !== 0) {
|
|
10389
|
+
obj.ehdrExposureMaxNumber = Math.round(message.ehdrExposureMaxNumber);
|
|
10390
|
+
}
|
|
9474
10391
|
if (message.resolution !== 0) {
|
|
9475
10392
|
obj.resolution = resolutionToJSON(message.resolution);
|
|
9476
10393
|
}
|
|
@@ -9480,12 +10397,18 @@ exports.CameraParameters = {
|
|
|
9480
10397
|
if (message.recordingResolution !== 0) {
|
|
9481
10398
|
obj.recordingResolution = resolutionToJSON(message.recordingResolution);
|
|
9482
10399
|
}
|
|
10400
|
+
if (message.streamingProtocol !== 0) {
|
|
10401
|
+
obj.streamingProtocol = streamingProtocolToJSON(message.streamingProtocol);
|
|
10402
|
+
}
|
|
9483
10403
|
if (message.framerate !== 0) {
|
|
9484
10404
|
obj.framerate = framerateToJSON(message.framerate);
|
|
9485
10405
|
}
|
|
9486
10406
|
if (message.camera !== 0) {
|
|
9487
10407
|
obj.camera = cameraToJSON(message.camera);
|
|
9488
10408
|
}
|
|
10409
|
+
if (message.mtuSize !== 0) {
|
|
10410
|
+
obj.mtuSize = Math.round(message.mtuSize);
|
|
10411
|
+
}
|
|
9489
10412
|
return obj;
|
|
9490
10413
|
},
|
|
9491
10414
|
create(base) {
|
|
@@ -9499,11 +10422,23 @@ exports.CameraParameters = {
|
|
|
9499
10422
|
message.whiteBalance = object.whiteBalance ?? 0;
|
|
9500
10423
|
message.hue = object.hue ?? 0;
|
|
9501
10424
|
message.gain = object.gain ?? 0;
|
|
10425
|
+
message.brightness = object.brightness ?? 0;
|
|
10426
|
+
message.contrast = object.contrast ?? 0;
|
|
10427
|
+
message.saturation = object.saturation ?? 0;
|
|
10428
|
+
message.gamma = object.gamma ?? 0;
|
|
10429
|
+
message.sharpness = object.sharpness ?? 0;
|
|
10430
|
+
message.backlightCompensation = object.backlightCompensation ?? 0;
|
|
10431
|
+
message.denoise = object.denoise ?? 0;
|
|
10432
|
+
message.ehdrEnabled = object.ehdrEnabled ?? false;
|
|
10433
|
+
message.ehdrExposureMinNumber = object.ehdrExposureMinNumber ?? 0;
|
|
10434
|
+
message.ehdrExposureMaxNumber = object.ehdrExposureMaxNumber ?? 0;
|
|
9502
10435
|
message.resolution = object.resolution ?? 0;
|
|
9503
10436
|
message.streamResolution = object.streamResolution ?? 0;
|
|
9504
10437
|
message.recordingResolution = object.recordingResolution ?? 0;
|
|
10438
|
+
message.streamingProtocol = object.streamingProtocol ?? 0;
|
|
9505
10439
|
message.framerate = object.framerate ?? 0;
|
|
9506
10440
|
message.camera = object.camera ?? 0;
|
|
10441
|
+
message.mtuSize = object.mtuSize ?? 0;
|
|
9507
10442
|
return message;
|
|
9508
10443
|
},
|
|
9509
10444
|
};
|
|
@@ -12247,7 +13182,7 @@ exports.PersistentStorageSettings = {
|
|
|
12247
13182
|
},
|
|
12248
13183
|
};
|
|
12249
13184
|
function createBaseCPUInfo() {
|
|
12250
|
-
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0 };
|
|
13185
|
+
return { cpuLoad: 0, memoryBusLoad: 0, mainQueueLoad: 0, guestportQueueLoad: 0, commQueueLoad: 0 };
|
|
12251
13186
|
}
|
|
12252
13187
|
exports.CPUInfo = {
|
|
12253
13188
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -12263,6 +13198,9 @@ exports.CPUInfo = {
|
|
|
12263
13198
|
if (message.guestportQueueLoad !== 0) {
|
|
12264
13199
|
writer.uint32(37).float(message.guestportQueueLoad);
|
|
12265
13200
|
}
|
|
13201
|
+
if (message.commQueueLoad !== 0) {
|
|
13202
|
+
writer.uint32(45).float(message.commQueueLoad);
|
|
13203
|
+
}
|
|
12266
13204
|
return writer;
|
|
12267
13205
|
},
|
|
12268
13206
|
decode(input, length) {
|
|
@@ -12300,6 +13238,13 @@ exports.CPUInfo = {
|
|
|
12300
13238
|
message.guestportQueueLoad = reader.float();
|
|
12301
13239
|
continue;
|
|
12302
13240
|
}
|
|
13241
|
+
case 5: {
|
|
13242
|
+
if (tag !== 45) {
|
|
13243
|
+
break;
|
|
13244
|
+
}
|
|
13245
|
+
message.commQueueLoad = reader.float();
|
|
13246
|
+
continue;
|
|
13247
|
+
}
|
|
12303
13248
|
}
|
|
12304
13249
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12305
13250
|
break;
|
|
@@ -12314,6 +13259,7 @@ exports.CPUInfo = {
|
|
|
12314
13259
|
memoryBusLoad: isSet(object.memoryBusLoad) ? gt.Number(object.memoryBusLoad) : 0,
|
|
12315
13260
|
mainQueueLoad: isSet(object.mainQueueLoad) ? gt.Number(object.mainQueueLoad) : 0,
|
|
12316
13261
|
guestportQueueLoad: isSet(object.guestportQueueLoad) ? gt.Number(object.guestportQueueLoad) : 0,
|
|
13262
|
+
commQueueLoad: isSet(object.commQueueLoad) ? gt.Number(object.commQueueLoad) : 0,
|
|
12317
13263
|
};
|
|
12318
13264
|
},
|
|
12319
13265
|
toJSON(message) {
|
|
@@ -12330,6 +13276,9 @@ exports.CPUInfo = {
|
|
|
12330
13276
|
if (message.guestportQueueLoad !== 0) {
|
|
12331
13277
|
obj.guestportQueueLoad = message.guestportQueueLoad;
|
|
12332
13278
|
}
|
|
13279
|
+
if (message.commQueueLoad !== 0) {
|
|
13280
|
+
obj.commQueueLoad = message.commQueueLoad;
|
|
13281
|
+
}
|
|
12333
13282
|
return obj;
|
|
12334
13283
|
},
|
|
12335
13284
|
create(base) {
|
|
@@ -12341,6 +13290,560 @@ exports.CPUInfo = {
|
|
|
12341
13290
|
message.memoryBusLoad = object.memoryBusLoad ?? 0;
|
|
12342
13291
|
message.mainQueueLoad = object.mainQueueLoad ?? 0;
|
|
12343
13292
|
message.guestportQueueLoad = object.guestportQueueLoad ?? 0;
|
|
13293
|
+
message.commQueueLoad = object.commQueueLoad ?? 0;
|
|
13294
|
+
return message;
|
|
13295
|
+
},
|
|
13296
|
+
};
|
|
13297
|
+
function createBaseSurfaceUnitBatteryInfo() {
|
|
13298
|
+
return { status: 0, level: 0 };
|
|
13299
|
+
}
|
|
13300
|
+
exports.SurfaceUnitBatteryInfo = {
|
|
13301
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13302
|
+
if (message.status !== 0) {
|
|
13303
|
+
writer.uint32(8).int32(message.status);
|
|
13304
|
+
}
|
|
13305
|
+
if (message.level !== 0) {
|
|
13306
|
+
writer.uint32(21).float(message.level);
|
|
13307
|
+
}
|
|
13308
|
+
return writer;
|
|
13309
|
+
},
|
|
13310
|
+
decode(input, length) {
|
|
13311
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13312
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13313
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13314
|
+
while (reader.pos < end) {
|
|
13315
|
+
const tag = reader.uint32();
|
|
13316
|
+
switch (tag >>> 3) {
|
|
13317
|
+
case 1: {
|
|
13318
|
+
if (tag !== 8) {
|
|
13319
|
+
break;
|
|
13320
|
+
}
|
|
13321
|
+
message.status = reader.int32();
|
|
13322
|
+
continue;
|
|
13323
|
+
}
|
|
13324
|
+
case 2: {
|
|
13325
|
+
if (tag !== 21) {
|
|
13326
|
+
break;
|
|
13327
|
+
}
|
|
13328
|
+
message.level = reader.float();
|
|
13329
|
+
continue;
|
|
13330
|
+
}
|
|
13331
|
+
}
|
|
13332
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13333
|
+
break;
|
|
13334
|
+
}
|
|
13335
|
+
reader.skip(tag & 7);
|
|
13336
|
+
}
|
|
13337
|
+
return message;
|
|
13338
|
+
},
|
|
13339
|
+
fromJSON(object) {
|
|
13340
|
+
return {
|
|
13341
|
+
status: isSet(object.status) ? surfaceUnitBatteryInfo_ChargeStatusFromJSON(object.status) : 0,
|
|
13342
|
+
level: isSet(object.level) ? gt.Number(object.level) : 0,
|
|
13343
|
+
};
|
|
13344
|
+
},
|
|
13345
|
+
toJSON(message) {
|
|
13346
|
+
const obj = {};
|
|
13347
|
+
if (message.status !== 0) {
|
|
13348
|
+
obj.status = surfaceUnitBatteryInfo_ChargeStatusToJSON(message.status);
|
|
13349
|
+
}
|
|
13350
|
+
if (message.level !== 0) {
|
|
13351
|
+
obj.level = message.level;
|
|
13352
|
+
}
|
|
13353
|
+
return obj;
|
|
13354
|
+
},
|
|
13355
|
+
create(base) {
|
|
13356
|
+
return exports.SurfaceUnitBatteryInfo.fromPartial(base ?? {});
|
|
13357
|
+
},
|
|
13358
|
+
fromPartial(object) {
|
|
13359
|
+
const message = createBaseSurfaceUnitBatteryInfo();
|
|
13360
|
+
message.status = object.status ?? 0;
|
|
13361
|
+
message.level = object.level ?? 0;
|
|
13362
|
+
return message;
|
|
13363
|
+
},
|
|
13364
|
+
};
|
|
13365
|
+
function createBaseSurfaceUnitVersionInfo() {
|
|
13366
|
+
return { version: "" };
|
|
13367
|
+
}
|
|
13368
|
+
exports.SurfaceUnitVersionInfo = {
|
|
13369
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13370
|
+
if (message.version !== "") {
|
|
13371
|
+
writer.uint32(10).string(message.version);
|
|
13372
|
+
}
|
|
13373
|
+
return writer;
|
|
13374
|
+
},
|
|
13375
|
+
decode(input, length) {
|
|
13376
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13377
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13378
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13379
|
+
while (reader.pos < end) {
|
|
13380
|
+
const tag = reader.uint32();
|
|
13381
|
+
switch (tag >>> 3) {
|
|
13382
|
+
case 1: {
|
|
13383
|
+
if (tag !== 10) {
|
|
13384
|
+
break;
|
|
13385
|
+
}
|
|
13386
|
+
message.version = reader.string();
|
|
13387
|
+
continue;
|
|
13388
|
+
}
|
|
13389
|
+
}
|
|
13390
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13391
|
+
break;
|
|
13392
|
+
}
|
|
13393
|
+
reader.skip(tag & 7);
|
|
13394
|
+
}
|
|
13395
|
+
return message;
|
|
13396
|
+
},
|
|
13397
|
+
fromJSON(object) {
|
|
13398
|
+
return { version: isSet(object.version) ? gt.String(object.version) : "" };
|
|
13399
|
+
},
|
|
13400
|
+
toJSON(message) {
|
|
13401
|
+
const obj = {};
|
|
13402
|
+
if (message.version !== "") {
|
|
13403
|
+
obj.version = message.version;
|
|
13404
|
+
}
|
|
13405
|
+
return obj;
|
|
13406
|
+
},
|
|
13407
|
+
create(base) {
|
|
13408
|
+
return exports.SurfaceUnitVersionInfo.fromPartial(base ?? {});
|
|
13409
|
+
},
|
|
13410
|
+
fromPartial(object) {
|
|
13411
|
+
const message = createBaseSurfaceUnitVersionInfo();
|
|
13412
|
+
message.version = object.version ?? "";
|
|
13413
|
+
return message;
|
|
13414
|
+
},
|
|
13415
|
+
};
|
|
13416
|
+
function createBaseBoundingBox() {
|
|
13417
|
+
return { x: 0, y: 0, width: 0, height: 0 };
|
|
13418
|
+
}
|
|
13419
|
+
exports.BoundingBox = {
|
|
13420
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13421
|
+
if (message.x !== 0) {
|
|
13422
|
+
writer.uint32(8).uint32(message.x);
|
|
13423
|
+
}
|
|
13424
|
+
if (message.y !== 0) {
|
|
13425
|
+
writer.uint32(16).uint32(message.y);
|
|
13426
|
+
}
|
|
13427
|
+
if (message.width !== 0) {
|
|
13428
|
+
writer.uint32(24).uint32(message.width);
|
|
13429
|
+
}
|
|
13430
|
+
if (message.height !== 0) {
|
|
13431
|
+
writer.uint32(32).uint32(message.height);
|
|
13432
|
+
}
|
|
13433
|
+
return writer;
|
|
13434
|
+
},
|
|
13435
|
+
decode(input, length) {
|
|
13436
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13437
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13438
|
+
const message = createBaseBoundingBox();
|
|
13439
|
+
while (reader.pos < end) {
|
|
13440
|
+
const tag = reader.uint32();
|
|
13441
|
+
switch (tag >>> 3) {
|
|
13442
|
+
case 1: {
|
|
13443
|
+
if (tag !== 8) {
|
|
13444
|
+
break;
|
|
13445
|
+
}
|
|
13446
|
+
message.x = reader.uint32();
|
|
13447
|
+
continue;
|
|
13448
|
+
}
|
|
13449
|
+
case 2: {
|
|
13450
|
+
if (tag !== 16) {
|
|
13451
|
+
break;
|
|
13452
|
+
}
|
|
13453
|
+
message.y = reader.uint32();
|
|
13454
|
+
continue;
|
|
13455
|
+
}
|
|
13456
|
+
case 3: {
|
|
13457
|
+
if (tag !== 24) {
|
|
13458
|
+
break;
|
|
13459
|
+
}
|
|
13460
|
+
message.width = reader.uint32();
|
|
13461
|
+
continue;
|
|
13462
|
+
}
|
|
13463
|
+
case 4: {
|
|
13464
|
+
if (tag !== 32) {
|
|
13465
|
+
break;
|
|
13466
|
+
}
|
|
13467
|
+
message.height = reader.uint32();
|
|
13468
|
+
continue;
|
|
13469
|
+
}
|
|
13470
|
+
}
|
|
13471
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13472
|
+
break;
|
|
13473
|
+
}
|
|
13474
|
+
reader.skip(tag & 7);
|
|
13475
|
+
}
|
|
13476
|
+
return message;
|
|
13477
|
+
},
|
|
13478
|
+
fromJSON(object) {
|
|
13479
|
+
return {
|
|
13480
|
+
x: isSet(object.x) ? gt.Number(object.x) : 0,
|
|
13481
|
+
y: isSet(object.y) ? gt.Number(object.y) : 0,
|
|
13482
|
+
width: isSet(object.width) ? gt.Number(object.width) : 0,
|
|
13483
|
+
height: isSet(object.height) ? gt.Number(object.height) : 0,
|
|
13484
|
+
};
|
|
13485
|
+
},
|
|
13486
|
+
toJSON(message) {
|
|
13487
|
+
const obj = {};
|
|
13488
|
+
if (message.x !== 0) {
|
|
13489
|
+
obj.x = Math.round(message.x);
|
|
13490
|
+
}
|
|
13491
|
+
if (message.y !== 0) {
|
|
13492
|
+
obj.y = Math.round(message.y);
|
|
13493
|
+
}
|
|
13494
|
+
if (message.width !== 0) {
|
|
13495
|
+
obj.width = Math.round(message.width);
|
|
13496
|
+
}
|
|
13497
|
+
if (message.height !== 0) {
|
|
13498
|
+
obj.height = Math.round(message.height);
|
|
13499
|
+
}
|
|
13500
|
+
return obj;
|
|
13501
|
+
},
|
|
13502
|
+
create(base) {
|
|
13503
|
+
return exports.BoundingBox.fromPartial(base ?? {});
|
|
13504
|
+
},
|
|
13505
|
+
fromPartial(object) {
|
|
13506
|
+
const message = createBaseBoundingBox();
|
|
13507
|
+
message.x = object.x ?? 0;
|
|
13508
|
+
message.y = object.y ?? 0;
|
|
13509
|
+
message.width = object.width ?? 0;
|
|
13510
|
+
message.height = object.height ?? 0;
|
|
13511
|
+
return message;
|
|
13512
|
+
},
|
|
13513
|
+
};
|
|
13514
|
+
function createBaseObjectDetection() {
|
|
13515
|
+
return { boundingBox: undefined, confidence: 0, classId: 0, className: "", trackingId: 0 };
|
|
13516
|
+
}
|
|
13517
|
+
exports.ObjectDetection = {
|
|
13518
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13519
|
+
if (message.boundingBox !== undefined) {
|
|
13520
|
+
exports.BoundingBox.encode(message.boundingBox, writer.uint32(10).fork()).join();
|
|
13521
|
+
}
|
|
13522
|
+
if (message.confidence !== 0) {
|
|
13523
|
+
writer.uint32(21).float(message.confidence);
|
|
13524
|
+
}
|
|
13525
|
+
if (message.classId !== 0) {
|
|
13526
|
+
writer.uint32(24).uint32(message.classId);
|
|
13527
|
+
}
|
|
13528
|
+
if (message.className !== "") {
|
|
13529
|
+
writer.uint32(34).string(message.className);
|
|
13530
|
+
}
|
|
13531
|
+
if (message.trackingId !== 0) {
|
|
13532
|
+
writer.uint32(40).uint32(message.trackingId);
|
|
13533
|
+
}
|
|
13534
|
+
return writer;
|
|
13535
|
+
},
|
|
13536
|
+
decode(input, length) {
|
|
13537
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13538
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13539
|
+
const message = createBaseObjectDetection();
|
|
13540
|
+
while (reader.pos < end) {
|
|
13541
|
+
const tag = reader.uint32();
|
|
13542
|
+
switch (tag >>> 3) {
|
|
13543
|
+
case 1: {
|
|
13544
|
+
if (tag !== 10) {
|
|
13545
|
+
break;
|
|
13546
|
+
}
|
|
13547
|
+
message.boundingBox = exports.BoundingBox.decode(reader, reader.uint32());
|
|
13548
|
+
continue;
|
|
13549
|
+
}
|
|
13550
|
+
case 2: {
|
|
13551
|
+
if (tag !== 21) {
|
|
13552
|
+
break;
|
|
13553
|
+
}
|
|
13554
|
+
message.confidence = reader.float();
|
|
13555
|
+
continue;
|
|
13556
|
+
}
|
|
13557
|
+
case 3: {
|
|
13558
|
+
if (tag !== 24) {
|
|
13559
|
+
break;
|
|
13560
|
+
}
|
|
13561
|
+
message.classId = reader.uint32();
|
|
13562
|
+
continue;
|
|
13563
|
+
}
|
|
13564
|
+
case 4: {
|
|
13565
|
+
if (tag !== 34) {
|
|
13566
|
+
break;
|
|
13567
|
+
}
|
|
13568
|
+
message.className = reader.string();
|
|
13569
|
+
continue;
|
|
13570
|
+
}
|
|
13571
|
+
case 5: {
|
|
13572
|
+
if (tag !== 40) {
|
|
13573
|
+
break;
|
|
13574
|
+
}
|
|
13575
|
+
message.trackingId = reader.uint32();
|
|
13576
|
+
continue;
|
|
13577
|
+
}
|
|
13578
|
+
}
|
|
13579
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13580
|
+
break;
|
|
13581
|
+
}
|
|
13582
|
+
reader.skip(tag & 7);
|
|
13583
|
+
}
|
|
13584
|
+
return message;
|
|
13585
|
+
},
|
|
13586
|
+
fromJSON(object) {
|
|
13587
|
+
return {
|
|
13588
|
+
boundingBox: isSet(object.boundingBox) ? exports.BoundingBox.fromJSON(object.boundingBox) : undefined,
|
|
13589
|
+
confidence: isSet(object.confidence) ? gt.Number(object.confidence) : 0,
|
|
13590
|
+
classId: isSet(object.classId) ? gt.Number(object.classId) : 0,
|
|
13591
|
+
className: isSet(object.className) ? gt.String(object.className) : "",
|
|
13592
|
+
trackingId: isSet(object.trackingId) ? gt.Number(object.trackingId) : 0,
|
|
13593
|
+
};
|
|
13594
|
+
},
|
|
13595
|
+
toJSON(message) {
|
|
13596
|
+
const obj = {};
|
|
13597
|
+
if (message.boundingBox !== undefined) {
|
|
13598
|
+
obj.boundingBox = exports.BoundingBox.toJSON(message.boundingBox);
|
|
13599
|
+
}
|
|
13600
|
+
if (message.confidence !== 0) {
|
|
13601
|
+
obj.confidence = message.confidence;
|
|
13602
|
+
}
|
|
13603
|
+
if (message.classId !== 0) {
|
|
13604
|
+
obj.classId = Math.round(message.classId);
|
|
13605
|
+
}
|
|
13606
|
+
if (message.className !== "") {
|
|
13607
|
+
obj.className = message.className;
|
|
13608
|
+
}
|
|
13609
|
+
if (message.trackingId !== 0) {
|
|
13610
|
+
obj.trackingId = Math.round(message.trackingId);
|
|
13611
|
+
}
|
|
13612
|
+
return obj;
|
|
13613
|
+
},
|
|
13614
|
+
create(base) {
|
|
13615
|
+
return exports.ObjectDetection.fromPartial(base ?? {});
|
|
13616
|
+
},
|
|
13617
|
+
fromPartial(object) {
|
|
13618
|
+
const message = createBaseObjectDetection();
|
|
13619
|
+
message.boundingBox = (object.boundingBox !== undefined && object.boundingBox !== null)
|
|
13620
|
+
? exports.BoundingBox.fromPartial(object.boundingBox)
|
|
13621
|
+
: undefined;
|
|
13622
|
+
message.confidence = object.confidence ?? 0;
|
|
13623
|
+
message.classId = object.classId ?? 0;
|
|
13624
|
+
message.className = object.className ?? "";
|
|
13625
|
+
message.trackingId = object.trackingId ?? 0;
|
|
13626
|
+
return message;
|
|
13627
|
+
},
|
|
13628
|
+
};
|
|
13629
|
+
function createBaseObjectDetections() {
|
|
13630
|
+
return { detections: [], camera: 0 };
|
|
13631
|
+
}
|
|
13632
|
+
exports.ObjectDetections = {
|
|
13633
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13634
|
+
for (const v of message.detections) {
|
|
13635
|
+
exports.ObjectDetection.encode(v, writer.uint32(10).fork()).join();
|
|
13636
|
+
}
|
|
13637
|
+
if (message.camera !== 0) {
|
|
13638
|
+
writer.uint32(16).int32(message.camera);
|
|
13639
|
+
}
|
|
13640
|
+
return writer;
|
|
13641
|
+
},
|
|
13642
|
+
decode(input, length) {
|
|
13643
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13644
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13645
|
+
const message = createBaseObjectDetections();
|
|
13646
|
+
while (reader.pos < end) {
|
|
13647
|
+
const tag = reader.uint32();
|
|
13648
|
+
switch (tag >>> 3) {
|
|
13649
|
+
case 1: {
|
|
13650
|
+
if (tag !== 10) {
|
|
13651
|
+
break;
|
|
13652
|
+
}
|
|
13653
|
+
message.detections.push(exports.ObjectDetection.decode(reader, reader.uint32()));
|
|
13654
|
+
continue;
|
|
13655
|
+
}
|
|
13656
|
+
case 2: {
|
|
13657
|
+
if (tag !== 16) {
|
|
13658
|
+
break;
|
|
13659
|
+
}
|
|
13660
|
+
message.camera = reader.int32();
|
|
13661
|
+
continue;
|
|
13662
|
+
}
|
|
13663
|
+
}
|
|
13664
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13665
|
+
break;
|
|
13666
|
+
}
|
|
13667
|
+
reader.skip(tag & 7);
|
|
13668
|
+
}
|
|
13669
|
+
return message;
|
|
13670
|
+
},
|
|
13671
|
+
fromJSON(object) {
|
|
13672
|
+
return {
|
|
13673
|
+
detections: gt.Array.isArray(object?.detections)
|
|
13674
|
+
? object.detections.map((e) => exports.ObjectDetection.fromJSON(e))
|
|
13675
|
+
: [],
|
|
13676
|
+
camera: isSet(object.camera) ? cameraFromJSON(object.camera) : 0,
|
|
13677
|
+
};
|
|
13678
|
+
},
|
|
13679
|
+
toJSON(message) {
|
|
13680
|
+
const obj = {};
|
|
13681
|
+
if (message.detections?.length) {
|
|
13682
|
+
obj.detections = message.detections.map((e) => exports.ObjectDetection.toJSON(e));
|
|
13683
|
+
}
|
|
13684
|
+
if (message.camera !== 0) {
|
|
13685
|
+
obj.camera = cameraToJSON(message.camera);
|
|
13686
|
+
}
|
|
13687
|
+
return obj;
|
|
13688
|
+
},
|
|
13689
|
+
create(base) {
|
|
13690
|
+
return exports.ObjectDetections.fromPartial(base ?? {});
|
|
13691
|
+
},
|
|
13692
|
+
fromPartial(object) {
|
|
13693
|
+
const message = createBaseObjectDetections();
|
|
13694
|
+
message.detections = object.detections?.map((e) => exports.ObjectDetection.fromPartial(e)) || [];
|
|
13695
|
+
message.camera = object.camera ?? 0;
|
|
13696
|
+
return message;
|
|
13697
|
+
},
|
|
13698
|
+
};
|
|
13699
|
+
function createBaseFilterMessage() {
|
|
13700
|
+
return { enabled: false, intensity: 0 };
|
|
13701
|
+
}
|
|
13702
|
+
exports.FilterMessage = {
|
|
13703
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13704
|
+
if (message.enabled !== false) {
|
|
13705
|
+
writer.uint32(8).bool(message.enabled);
|
|
13706
|
+
}
|
|
13707
|
+
if (message.intensity !== 0) {
|
|
13708
|
+
writer.uint32(21).float(message.intensity);
|
|
13709
|
+
}
|
|
13710
|
+
return writer;
|
|
13711
|
+
},
|
|
13712
|
+
decode(input, length) {
|
|
13713
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13714
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13715
|
+
const message = createBaseFilterMessage();
|
|
13716
|
+
while (reader.pos < end) {
|
|
13717
|
+
const tag = reader.uint32();
|
|
13718
|
+
switch (tag >>> 3) {
|
|
13719
|
+
case 1: {
|
|
13720
|
+
if (tag !== 8) {
|
|
13721
|
+
break;
|
|
13722
|
+
}
|
|
13723
|
+
message.enabled = reader.bool();
|
|
13724
|
+
continue;
|
|
13725
|
+
}
|
|
13726
|
+
case 2: {
|
|
13727
|
+
if (tag !== 21) {
|
|
13728
|
+
break;
|
|
13729
|
+
}
|
|
13730
|
+
message.intensity = reader.float();
|
|
13731
|
+
continue;
|
|
13732
|
+
}
|
|
13733
|
+
}
|
|
13734
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13735
|
+
break;
|
|
13736
|
+
}
|
|
13737
|
+
reader.skip(tag & 7);
|
|
13738
|
+
}
|
|
13739
|
+
return message;
|
|
13740
|
+
},
|
|
13741
|
+
fromJSON(object) {
|
|
13742
|
+
return {
|
|
13743
|
+
enabled: isSet(object.enabled) ? gt.Boolean(object.enabled) : false,
|
|
13744
|
+
intensity: isSet(object.intensity) ? gt.Number(object.intensity) : 0,
|
|
13745
|
+
};
|
|
13746
|
+
},
|
|
13747
|
+
toJSON(message) {
|
|
13748
|
+
const obj = {};
|
|
13749
|
+
if (message.enabled !== false) {
|
|
13750
|
+
obj.enabled = message.enabled;
|
|
13751
|
+
}
|
|
13752
|
+
if (message.intensity !== 0) {
|
|
13753
|
+
obj.intensity = message.intensity;
|
|
13754
|
+
}
|
|
13755
|
+
return obj;
|
|
13756
|
+
},
|
|
13757
|
+
create(base) {
|
|
13758
|
+
return exports.FilterMessage.fromPartial(base ?? {});
|
|
13759
|
+
},
|
|
13760
|
+
fromPartial(object) {
|
|
13761
|
+
const message = createBaseFilterMessage();
|
|
13762
|
+
message.enabled = object.enabled ?? false;
|
|
13763
|
+
message.intensity = object.intensity ?? 0;
|
|
13764
|
+
return message;
|
|
13765
|
+
},
|
|
13766
|
+
};
|
|
13767
|
+
function createBaseCameraPanTiltZoom() {
|
|
13768
|
+
return { pan: 0, tilt: 0, zoom: 0 };
|
|
13769
|
+
}
|
|
13770
|
+
exports.CameraPanTiltZoom = {
|
|
13771
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
13772
|
+
if (message.pan !== 0) {
|
|
13773
|
+
writer.uint32(13).float(message.pan);
|
|
13774
|
+
}
|
|
13775
|
+
if (message.tilt !== 0) {
|
|
13776
|
+
writer.uint32(21).float(message.tilt);
|
|
13777
|
+
}
|
|
13778
|
+
if (message.zoom !== 0) {
|
|
13779
|
+
writer.uint32(29).float(message.zoom);
|
|
13780
|
+
}
|
|
13781
|
+
return writer;
|
|
13782
|
+
},
|
|
13783
|
+
decode(input, length) {
|
|
13784
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13785
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13786
|
+
const message = createBaseCameraPanTiltZoom();
|
|
13787
|
+
while (reader.pos < end) {
|
|
13788
|
+
const tag = reader.uint32();
|
|
13789
|
+
switch (tag >>> 3) {
|
|
13790
|
+
case 1: {
|
|
13791
|
+
if (tag !== 13) {
|
|
13792
|
+
break;
|
|
13793
|
+
}
|
|
13794
|
+
message.pan = reader.float();
|
|
13795
|
+
continue;
|
|
13796
|
+
}
|
|
13797
|
+
case 2: {
|
|
13798
|
+
if (tag !== 21) {
|
|
13799
|
+
break;
|
|
13800
|
+
}
|
|
13801
|
+
message.tilt = reader.float();
|
|
13802
|
+
continue;
|
|
13803
|
+
}
|
|
13804
|
+
case 3: {
|
|
13805
|
+
if (tag !== 29) {
|
|
13806
|
+
break;
|
|
13807
|
+
}
|
|
13808
|
+
message.zoom = reader.float();
|
|
13809
|
+
continue;
|
|
13810
|
+
}
|
|
13811
|
+
}
|
|
13812
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
13813
|
+
break;
|
|
13814
|
+
}
|
|
13815
|
+
reader.skip(tag & 7);
|
|
13816
|
+
}
|
|
13817
|
+
return message;
|
|
13818
|
+
},
|
|
13819
|
+
fromJSON(object) {
|
|
13820
|
+
return {
|
|
13821
|
+
pan: isSet(object.pan) ? gt.Number(object.pan) : 0,
|
|
13822
|
+
tilt: isSet(object.tilt) ? gt.Number(object.tilt) : 0,
|
|
13823
|
+
zoom: isSet(object.zoom) ? gt.Number(object.zoom) : 0,
|
|
13824
|
+
};
|
|
13825
|
+
},
|
|
13826
|
+
toJSON(message) {
|
|
13827
|
+
const obj = {};
|
|
13828
|
+
if (message.pan !== 0) {
|
|
13829
|
+
obj.pan = message.pan;
|
|
13830
|
+
}
|
|
13831
|
+
if (message.tilt !== 0) {
|
|
13832
|
+
obj.tilt = message.tilt;
|
|
13833
|
+
}
|
|
13834
|
+
if (message.zoom !== 0) {
|
|
13835
|
+
obj.zoom = message.zoom;
|
|
13836
|
+
}
|
|
13837
|
+
return obj;
|
|
13838
|
+
},
|
|
13839
|
+
create(base) {
|
|
13840
|
+
return exports.CameraPanTiltZoom.fromPartial(base ?? {});
|
|
13841
|
+
},
|
|
13842
|
+
fromPartial(object) {
|
|
13843
|
+
const message = createBaseCameraPanTiltZoom();
|
|
13844
|
+
message.pan = object.pan ?? 0;
|
|
13845
|
+
message.tilt = object.tilt ?? 0;
|
|
13846
|
+
message.zoom = object.zoom ?? 0;
|
|
12344
13847
|
return message;
|
|
12345
13848
|
},
|
|
12346
13849
|
};
|