1
1
{- This file was auto-generated from autopilotrpc/autopilot.proto by the proto-lens-protoc program. -}
2
- {-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies, DeriveGeneric#-}
2
+ {-# LANGUAGE ScopedTypeVariables, DataKinds, TypeFamilies, UndecidableInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, FlexibleContexts, FlexibleInstances, PatternSynonyms, MagicHash, NoImplicitPrelude, BangPatterns, TypeApplications, OverloadedStrings, DerivingStrategies, DeriveDataTypeable, DeriveGeneric#-}
3
3
{-# OPTIONS_GHC -Wno-unused-imports#-}
4
4
{-# OPTIONS_GHC -Wno-duplicate-exports#-}
5
5
{-# OPTIONS_GHC -Wno-dodgy-exports#-}
@@ -13,6 +13,7 @@ module Proto.Autopilotrpc.Autopilot (
13
13
) where
14
14
import qualified Data.ProtoLens.Runtime.Control.DeepSeq as Control.DeepSeq
15
15
import qualified Data.ProtoLens.Runtime.Data.ProtoLens.Prism as Data.ProtoLens.Prism
16
+ import qualified Data.Data
16
17
import qualified GHC.Generics
17
18
import qualified Data.ProtoLens.Runtime.Prelude as Prelude
18
19
import qualified Data.ProtoLens.Runtime.Data.Int as Data.Int
@@ -43,7 +44,10 @@ import qualified Data.ProtoLens.Runtime.Text.Read as Text.Read
43
44
data ModifyStatusRequest
44
45
= ModifyStatusRequest'_constructor { _ModifyStatusRequest'enable :: ! Prelude. Bool ,
45
46
_ModifyStatusRequest'_unknownFields :: ! Data.ProtoLens. FieldSet}
46
- deriving stock (Prelude.Eq , Prelude.Ord , GHC.Generics.Generic )
47
+ deriving stock (Prelude.Eq ,
48
+ Prelude.Ord ,
49
+ Data.Data.Data ,
50
+ GHC.Generics.Generic )
47
51
instance Prelude. Show ModifyStatusRequest where
48
52
showsPrec _ __x __s
49
53
= Prelude. showChar
@@ -148,7 +152,10 @@ instance Control.DeepSeq.NFData ModifyStatusRequest where
148
152
-}
149
153
data ModifyStatusResponse
150
154
= ModifyStatusResponse'_constructor { _ModifyStatusResponse'_unknownFields :: ! Data.ProtoLens. FieldSet}
151
- deriving stock (Prelude.Eq , Prelude.Ord , GHC.Generics.Generic )
155
+ deriving stock (Prelude.Eq ,
156
+ Prelude.Ord ,
157
+ Data.Data.Data ,
158
+ GHC.Generics.Generic )
152
159
instance Prelude. Show ModifyStatusResponse where
153
160
showsPrec _ __x __s
154
161
= Prelude. showChar
@@ -219,7 +226,10 @@ data QueryScoresRequest
219
226
= QueryScoresRequest'_constructor { _QueryScoresRequest'pubkeys :: ! (Data.Vector. Vector Data.Text. Text ),
220
227
_QueryScoresRequest'ignoreLocalState :: ! Prelude. Bool ,
221
228
_QueryScoresRequest'_unknownFields :: ! Data.ProtoLens. FieldSet}
222
- deriving stock (Prelude.Eq , Prelude.Ord , GHC.Generics.Generic )
229
+ deriving stock (Prelude.Eq ,
230
+ Prelude.Ord ,
231
+ Data.Data.Data ,
232
+ GHC.Generics.Generic )
223
233
instance Prelude. Show QueryScoresRequest where
224
234
showsPrec _ __x __s
225
235
= Prelude. showChar
@@ -396,7 +406,10 @@ instance Control.DeepSeq.NFData QueryScoresRequest where
396
406
data QueryScoresResponse
397
407
= QueryScoresResponse'_constructor { _QueryScoresResponse'results :: ! (Data.Vector. Vector QueryScoresResponse'HeuristicResult ),
398
408
_QueryScoresResponse'_unknownFields :: ! Data.ProtoLens. FieldSet}
399
- deriving stock (Prelude.Eq , Prelude.Ord , GHC.Generics.Generic )
409
+ deriving stock (Prelude.Eq ,
410
+ Prelude.Ord ,
411
+ Data.Data.Data ,
412
+ GHC.Generics.Generic )
400
413
instance Prelude. Show QueryScoresResponse where
401
414
showsPrec _ __x __s
402
415
= Prelude. showChar
@@ -536,7 +549,10 @@ data QueryScoresResponse'HeuristicResult
536
549
= QueryScoresResponse'HeuristicResult'_constructor { _QueryScoresResponse'HeuristicResult'heuristic :: ! Data.Text. Text ,
537
550
_QueryScoresResponse'HeuristicResult'scores :: ! (Data.Map. Map Data.Text. Text Prelude. Double ),
538
551
_QueryScoresResponse'HeuristicResult'_unknownFields :: ! Data.ProtoLens. FieldSet}
539
- deriving stock (Prelude.Eq , Prelude.Ord , GHC.Generics.Generic )
552
+ deriving stock (Prelude.Eq ,
553
+ Prelude.Ord ,
554
+ Data.Data.Data ,
555
+ GHC.Generics.Generic )
540
556
instance Prelude. Show QueryScoresResponse'HeuristicResult where
541
557
showsPrec _ __x __s
542
558
= Prelude. showChar
@@ -721,7 +737,10 @@ data QueryScoresResponse'HeuristicResult'ScoresEntry
721
737
= QueryScoresResponse'HeuristicResult'ScoresEntry'_constructor { _QueryScoresResponse'HeuristicResult'ScoresEntry'key :: ! Data.Text. Text ,
722
738
_QueryScoresResponse'HeuristicResult'ScoresEntry'value :: ! Prelude. Double ,
723
739
_QueryScoresResponse'HeuristicResult'ScoresEntry'_unknownFields :: ! Data.ProtoLens. FieldSet}
724
- deriving stock (Prelude.Eq , Prelude.Ord , GHC.Generics.Generic )
740
+ deriving stock (Prelude.Eq ,
741
+ Prelude.Ord ,
742
+ Data.Data.Data ,
743
+ GHC.Generics.Generic )
725
744
instance Prelude. Show QueryScoresResponse'HeuristicResult'ScoresEntry where
726
745
showsPrec _ __x __s
727
746
= Prelude. showChar
@@ -884,7 +903,10 @@ data SetScoresRequest
884
903
= SetScoresRequest'_constructor { _SetScoresRequest'heuristic :: ! Data.Text. Text ,
885
904
_SetScoresRequest'scores :: ! (Data.Map. Map Data.Text. Text Prelude. Double ),
886
905
_SetScoresRequest'_unknownFields :: ! Data.ProtoLens. FieldSet}
887
- deriving stock (Prelude.Eq , Prelude.Ord , GHC.Generics.Generic )
906
+ deriving stock (Prelude.Eq ,
907
+ Prelude.Ord ,
908
+ Data.Data.Data ,
909
+ GHC.Generics.Generic )
888
910
instance Prelude. Show SetScoresRequest where
889
911
showsPrec _ __x __s
890
912
= Prelude. showChar
@@ -1064,7 +1086,10 @@ data SetScoresRequest'ScoresEntry
1064
1086
= SetScoresRequest'ScoresEntry'_constructor { _SetScoresRequest'ScoresEntry'key :: ! Data.Text. Text ,
1065
1087
_SetScoresRequest'ScoresEntry'value :: ! Prelude. Double ,
1066
1088
_SetScoresRequest'ScoresEntry'_unknownFields :: ! Data.ProtoLens. FieldSet}
1067
- deriving stock (Prelude.Eq , Prelude.Ord , GHC.Generics.Generic )
1089
+ deriving stock (Prelude.Eq ,
1090
+ Prelude.Ord ,
1091
+ Data.Data.Data ,
1092
+ GHC.Generics.Generic )
1068
1093
instance Prelude. Show SetScoresRequest'ScoresEntry where
1069
1094
showsPrec _ __x __s
1070
1095
= Prelude. showChar
@@ -1216,7 +1241,10 @@ instance Control.DeepSeq.NFData SetScoresRequest'ScoresEntry where
1216
1241
-}
1217
1242
data SetScoresResponse
1218
1243
= SetScoresResponse'_constructor { _SetScoresResponse'_unknownFields :: ! Data.ProtoLens. FieldSet}
1219
- deriving stock (Prelude.Eq , Prelude.Ord , GHC.Generics.Generic )
1244
+ deriving stock (Prelude.Eq ,
1245
+ Prelude.Ord ,
1246
+ Data.Data.Data ,
1247
+ GHC.Generics.Generic )
1220
1248
instance Prelude. Show SetScoresResponse where
1221
1249
showsPrec _ __x __s
1222
1250
= Prelude. showChar
@@ -1282,7 +1310,10 @@ instance Control.DeepSeq.NFData SetScoresResponse where
1282
1310
-}
1283
1311
data StatusRequest
1284
1312
= StatusRequest'_constructor { _StatusRequest'_unknownFields :: ! Data.ProtoLens. FieldSet}
1285
- deriving stock (Prelude.Eq , Prelude.Ord , GHC.Generics.Generic )
1313
+ deriving stock (Prelude.Eq ,
1314
+ Prelude.Ord ,
1315
+ Data.Data.Data ,
1316
+ GHC.Generics.Generic )
1286
1317
instance Prelude. Show StatusRequest where
1287
1318
showsPrec _ __x __s
1288
1319
= Prelude. showChar
@@ -1347,7 +1378,10 @@ instance Control.DeepSeq.NFData StatusRequest where
1347
1378
data StatusResponse
1348
1379
= StatusResponse'_constructor { _StatusResponse'active :: ! Prelude. Bool ,
1349
1380
_StatusResponse'_unknownFields :: ! Data.ProtoLens. FieldSet}
1350
- deriving stock (Prelude.Eq , Prelude.Ord , GHC.Generics.Generic )
1381
+ deriving stock (Prelude.Eq ,
1382
+ Prelude.Ord ,
1383
+ Data.Data.Data ,
1384
+ GHC.Generics.Generic )
1351
1385
instance Prelude. Show StatusResponse where
1352
1386
showsPrec _ __x __s
1353
1387
= Prelude. showChar
0 commit comments