-
Notifications
You must be signed in to change notification settings - Fork 91
/
vehicle_data.pb.go
5704 lines (5108 loc) · 265 KB
/
vehicle_data.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc v5.28.3
// source: protos/vehicle_data.proto
package protos
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type Field int32
const (
Field_Unknown Field = 0
Field_DriveRail Field = 1
Field_ChargeState Field = 2
Field_BmsFullchargecomplete Field = 3
Field_VehicleSpeed Field = 4
Field_Odometer Field = 5
Field_PackVoltage Field = 6
Field_PackCurrent Field = 7
Field_Soc Field = 8
Field_DCDCEnable Field = 9
Field_Gear Field = 10
Field_IsolationResistance Field = 11
Field_PedalPosition Field = 12
Field_BrakePedal Field = 13
Field_DiStateR Field = 14
Field_DiHeatsinkTR Field = 15
Field_DiAxleSpeedR Field = 16
Field_DiTorquemotor Field = 17
Field_DiStatorTempR Field = 18
Field_DiVBatR Field = 19
Field_DiMotorCurrentR Field = 20
Field_Location Field = 21
Field_GpsState Field = 22
Field_GpsHeading Field = 23
Field_NumBrickVoltageMax Field = 24
Field_BrickVoltageMax Field = 25
Field_NumBrickVoltageMin Field = 26
Field_BrickVoltageMin Field = 27
Field_NumModuleTempMax Field = 28
Field_ModuleTempMax Field = 29
Field_NumModuleTempMin Field = 30
Field_ModuleTempMin Field = 31
Field_RatedRange Field = 32
Field_Hvil Field = 33
Field_DCChargingEnergyIn Field = 34
Field_DCChargingPower Field = 35
Field_ACChargingEnergyIn Field = 36
Field_ACChargingPower Field = 37
Field_ChargeLimitSoc Field = 38
Field_FastChargerPresent Field = 39
Field_EstBatteryRange Field = 40
Field_IdealBatteryRange Field = 41
Field_BatteryLevel Field = 42
Field_TimeToFullCharge Field = 43
Field_ScheduledChargingStartTime Field = 44
Field_ScheduledChargingPending Field = 45
Field_ScheduledDepartureTime Field = 46
Field_PreconditioningEnabled Field = 47
Field_ScheduledChargingMode Field = 48
Field_ChargeAmps Field = 49
Field_ChargeEnableRequest Field = 50
Field_ChargerPhases Field = 51
Field_ChargePortColdWeatherMode Field = 52
Field_ChargeCurrentRequest Field = 53
Field_ChargeCurrentRequestMax Field = 54
Field_BatteryHeaterOn Field = 55
Field_NotEnoughPowerToHeat Field = 56
Field_SuperchargerSessionTripPlanner Field = 57
Field_DoorState Field = 58
Field_Locked Field = 59
Field_FdWindow Field = 60
Field_FpWindow Field = 61
Field_RdWindow Field = 62
Field_RpWindow Field = 63
Field_VehicleName Field = 64
Field_SentryMode Field = 65
Field_SpeedLimitMode Field = 66
Field_CurrentLimitMph Field = 67
Field_Version Field = 68
Field_TpmsPressureFl Field = 69
Field_TpmsPressureFr Field = 70
Field_TpmsPressureRl Field = 71
Field_TpmsPressureRr Field = 72
Field_SemitruckTpmsPressureRe1L0 Field = 73 // Semi-truck only
Field_SemitruckTpmsPressureRe1L1 Field = 74 // Semi-truck only
Field_SemitruckTpmsPressureRe1R0 Field = 75 // Semi-truck only
Field_SemitruckTpmsPressureRe1R1 Field = 76 // Semi-truck only
Field_SemitruckTpmsPressureRe2L0 Field = 77 // Semi-truck only
Field_SemitruckTpmsPressureRe2L1 Field = 78 // Semi-truck only
Field_SemitruckTpmsPressureRe2R0 Field = 79 // Semi-truck only
Field_SemitruckTpmsPressureRe2R1 Field = 80 // Semi-truck only
Field_TpmsLastSeenPressureTimeFl Field = 81
Field_TpmsLastSeenPressureTimeFr Field = 82
Field_TpmsLastSeenPressureTimeRl Field = 83
Field_TpmsLastSeenPressureTimeRr Field = 84
Field_InsideTemp Field = 85
Field_OutsideTemp Field = 86
Field_SeatHeaterLeft Field = 87
Field_SeatHeaterRight Field = 88
Field_SeatHeaterRearLeft Field = 89
Field_SeatHeaterRearRight Field = 90
Field_SeatHeaterRearCenter Field = 91
Field_AutoSeatClimateLeft Field = 92
Field_AutoSeatClimateRight Field = 93
Field_DriverSeatBelt Field = 94
Field_PassengerSeatBelt Field = 95
Field_DriverSeatOccupied Field = 96
Field_SemitruckPassengerSeatFoldPosition Field = 97 // Semi-truck only
Field_LateralAcceleration Field = 98
Field_LongitudinalAcceleration Field = 99
Field_Deprecated_2 Field = 100
Field_CruiseSetSpeed Field = 101
Field_LifetimeEnergyUsed Field = 102
Field_LifetimeEnergyUsedDrive Field = 103
Field_SemitruckTractorParkBrakeStatus Field = 104 // Semi-truck only
Field_SemitruckTrailerParkBrakeStatus Field = 105 // Semi-truck only
Field_BrakePedalPos Field = 106
Field_RouteLastUpdated Field = 107
Field_RouteLine Field = 108
Field_MilesToArrival Field = 109
Field_MinutesToArrival Field = 110
Field_OriginLocation Field = 111
Field_DestinationLocation Field = 112
Field_CarType Field = 113
Field_Trim Field = 114
Field_ExteriorColor Field = 115
Field_RoofColor Field = 116
Field_ChargePort Field = 117
Field_ChargePortLatch Field = 118
Field_Experimental_1 Field = 119
Field_Experimental_2 Field = 120
Field_Experimental_3 Field = 121
Field_Experimental_4 Field = 122
Field_GuestModeEnabled Field = 123
Field_PinToDriveEnabled Field = 124
Field_PairedPhoneKeyAndKeyFobQty Field = 125
Field_CruiseFollowDistance Field = 126
Field_AutomaticBlindSpotCamera Field = 127
Field_BlindSpotCollisionWarningChime Field = 128
Field_SpeedLimitWarning Field = 129
Field_ForwardCollisionWarning Field = 130
Field_LaneDepartureAvoidance Field = 131
Field_EmergencyLaneDepartureAvoidance Field = 132
Field_AutomaticEmergencyBrakingOff Field = 133
Field_LifetimeEnergyGainedRegen Field = 134
Field_DiStateF Field = 135
Field_DiStateREL Field = 136
Field_DiStateRER Field = 137
Field_DiHeatsinkTF Field = 138
Field_DiHeatsinkTREL Field = 139
Field_DiHeatsinkTRER Field = 140
Field_DiAxleSpeedF Field = 141
Field_DiAxleSpeedREL Field = 142
Field_DiAxleSpeedRER Field = 143
Field_DiSlaveTorqueCmd Field = 144
Field_DiTorqueActualR Field = 145
Field_DiTorqueActualF Field = 146
Field_DiTorqueActualREL Field = 147
Field_DiTorqueActualRER Field = 148
Field_DiStatorTempF Field = 149
Field_DiStatorTempREL Field = 150
Field_DiStatorTempRER Field = 151
Field_DiVBatF Field = 152
Field_DiVBatREL Field = 153
Field_DiVBatRER Field = 154
Field_DiMotorCurrentF Field = 155
Field_DiMotorCurrentREL Field = 156
Field_DiMotorCurrentRER Field = 157
Field_EnergyRemaining Field = 158
Field_ServiceMode Field = 159
Field_BMSState Field = 160
Field_GuestModeMobileAccessState Field = 161
Field_Deprecated_1 Field = 162
Field_DestinationName Field = 163
Field_DiInverterTR Field = 164
Field_DiInverterTF Field = 165
Field_DiInverterTREL Field = 166
Field_DiInverterTRER Field = 167
Field_Experimental_5 Field = 168
Field_Experimental_6 Field = 169
Field_Experimental_7 Field = 170
Field_Experimental_8 Field = 171
Field_Experimental_9 Field = 172
Field_Experimental_10 Field = 173
Field_Experimental_11 Field = 174
Field_Experimental_12 Field = 175
Field_Experimental_13 Field = 176
Field_Experimental_14 Field = 177
Field_Experimental_15 Field = 178
Field_DetailedChargeState Field = 179
Field_CabinOverheatProtectionMode Field = 180
Field_CabinOverheatProtectionTemperatureLimit Field = 181
Field_CenterDisplay Field = 182
Field_ChargePortDoorOpen Field = 183
Field_ChargerVoltage Field = 184
Field_ChargingCableType Field = 185
Field_ClimateKeeperMode Field = 186
Field_DefrostForPreconditioning Field = 187
Field_DefrostMode Field = 188
Field_EfficiencyPackage Field = 189
Field_EstimatedHoursToChargeTermination Field = 190
Field_EuropeVehicle Field = 191
Field_ExpectedEnergyPercentAtTripArrival Field = 192
Field_FastChargerType Field = 193
Field_HomelinkDeviceCount Field = 194
Field_HomelinkNearby Field = 195
Field_HvacACEnabled Field = 196
Field_HvacAutoMode Field = 197
Field_HvacFanSpeed Field = 198
Field_HvacFanStatus Field = 199
Field_HvacLeftTemperatureRequest Field = 200
Field_HvacPower Field = 201
Field_HvacRightTemperatureRequest Field = 202
Field_HvacSteeringWheelHeatAuto Field = 203
Field_HvacSteeringWheelHeatLevel Field = 204
Field_OffroadLightbarPresent Field = 205
Field_PowershareHoursLeft Field = 206
Field_PowershareInstantaneousPowerKW Field = 207
Field_PowershareStatus Field = 208
Field_PowershareStopReason Field = 209
Field_PowershareType Field = 210
Field_RearDisplayHvacEnabled Field = 211
Field_RearSeatHeaters Field = 212
Field_RemoteStartEnabled Field = 213
Field_RightHandDrive Field = 214
Field_RouteTrafficMinutesDelay Field = 215
Field_SoftwareUpdateDownloadPercentComplete Field = 216
Field_SoftwareUpdateExpectedDurationMinutes Field = 217
Field_SoftwareUpdateInstallationPercentComplete Field = 218
Field_SoftwareUpdateScheduledStartTime Field = 219
Field_SoftwareUpdateVersion Field = 220
Field_TonneauOpenPercent Field = 221
Field_TonneauPosition Field = 222
Field_TonneauTentMode Field = 223
Field_TpmsHardWarnings Field = 224
Field_TpmsSoftWarnings Field = 225
Field_ValetModeEnabled Field = 226
Field_WheelType Field = 227
Field_WiperHeatEnabled Field = 228
Field_LocatedAtHome Field = 229
Field_LocatedAtWork Field = 230
Field_LocatedAtFavorite Field = 231
Field_SettingDistanceUnit Field = 232
Field_SettingTemperatureUnit Field = 233
Field_Setting24HourTime Field = 234
Field_SettingTirePressureUnit Field = 235
Field_SettingChargeUnit Field = 236
Field_ClimateSeatCoolingFrontLeft Field = 237
Field_ClimateSeatCoolingFrontRight Field = 238
)
// Enum value maps for Field.
var (
Field_name = map[int32]string{
0: "Unknown",
1: "DriveRail",
2: "ChargeState",
3: "BmsFullchargecomplete",
4: "VehicleSpeed",
5: "Odometer",
6: "PackVoltage",
7: "PackCurrent",
8: "Soc",
9: "DCDCEnable",
10: "Gear",
11: "IsolationResistance",
12: "PedalPosition",
13: "BrakePedal",
14: "DiStateR",
15: "DiHeatsinkTR",
16: "DiAxleSpeedR",
17: "DiTorquemotor",
18: "DiStatorTempR",
19: "DiVBatR",
20: "DiMotorCurrentR",
21: "Location",
22: "GpsState",
23: "GpsHeading",
24: "NumBrickVoltageMax",
25: "BrickVoltageMax",
26: "NumBrickVoltageMin",
27: "BrickVoltageMin",
28: "NumModuleTempMax",
29: "ModuleTempMax",
30: "NumModuleTempMin",
31: "ModuleTempMin",
32: "RatedRange",
33: "Hvil",
34: "DCChargingEnergyIn",
35: "DCChargingPower",
36: "ACChargingEnergyIn",
37: "ACChargingPower",
38: "ChargeLimitSoc",
39: "FastChargerPresent",
40: "EstBatteryRange",
41: "IdealBatteryRange",
42: "BatteryLevel",
43: "TimeToFullCharge",
44: "ScheduledChargingStartTime",
45: "ScheduledChargingPending",
46: "ScheduledDepartureTime",
47: "PreconditioningEnabled",
48: "ScheduledChargingMode",
49: "ChargeAmps",
50: "ChargeEnableRequest",
51: "ChargerPhases",
52: "ChargePortColdWeatherMode",
53: "ChargeCurrentRequest",
54: "ChargeCurrentRequestMax",
55: "BatteryHeaterOn",
56: "NotEnoughPowerToHeat",
57: "SuperchargerSessionTripPlanner",
58: "DoorState",
59: "Locked",
60: "FdWindow",
61: "FpWindow",
62: "RdWindow",
63: "RpWindow",
64: "VehicleName",
65: "SentryMode",
66: "SpeedLimitMode",
67: "CurrentLimitMph",
68: "Version",
69: "TpmsPressureFl",
70: "TpmsPressureFr",
71: "TpmsPressureRl",
72: "TpmsPressureRr",
73: "SemitruckTpmsPressureRe1L0",
74: "SemitruckTpmsPressureRe1L1",
75: "SemitruckTpmsPressureRe1R0",
76: "SemitruckTpmsPressureRe1R1",
77: "SemitruckTpmsPressureRe2L0",
78: "SemitruckTpmsPressureRe2L1",
79: "SemitruckTpmsPressureRe2R0",
80: "SemitruckTpmsPressureRe2R1",
81: "TpmsLastSeenPressureTimeFl",
82: "TpmsLastSeenPressureTimeFr",
83: "TpmsLastSeenPressureTimeRl",
84: "TpmsLastSeenPressureTimeRr",
85: "InsideTemp",
86: "OutsideTemp",
87: "SeatHeaterLeft",
88: "SeatHeaterRight",
89: "SeatHeaterRearLeft",
90: "SeatHeaterRearRight",
91: "SeatHeaterRearCenter",
92: "AutoSeatClimateLeft",
93: "AutoSeatClimateRight",
94: "DriverSeatBelt",
95: "PassengerSeatBelt",
96: "DriverSeatOccupied",
97: "SemitruckPassengerSeatFoldPosition",
98: "LateralAcceleration",
99: "LongitudinalAcceleration",
100: "Deprecated_2",
101: "CruiseSetSpeed",
102: "LifetimeEnergyUsed",
103: "LifetimeEnergyUsedDrive",
104: "SemitruckTractorParkBrakeStatus",
105: "SemitruckTrailerParkBrakeStatus",
106: "BrakePedalPos",
107: "RouteLastUpdated",
108: "RouteLine",
109: "MilesToArrival",
110: "MinutesToArrival",
111: "OriginLocation",
112: "DestinationLocation",
113: "CarType",
114: "Trim",
115: "ExteriorColor",
116: "RoofColor",
117: "ChargePort",
118: "ChargePortLatch",
119: "Experimental_1",
120: "Experimental_2",
121: "Experimental_3",
122: "Experimental_4",
123: "GuestModeEnabled",
124: "PinToDriveEnabled",
125: "PairedPhoneKeyAndKeyFobQty",
126: "CruiseFollowDistance",
127: "AutomaticBlindSpotCamera",
128: "BlindSpotCollisionWarningChime",
129: "SpeedLimitWarning",
130: "ForwardCollisionWarning",
131: "LaneDepartureAvoidance",
132: "EmergencyLaneDepartureAvoidance",
133: "AutomaticEmergencyBrakingOff",
134: "LifetimeEnergyGainedRegen",
135: "DiStateF",
136: "DiStateREL",
137: "DiStateRER",
138: "DiHeatsinkTF",
139: "DiHeatsinkTREL",
140: "DiHeatsinkTRER",
141: "DiAxleSpeedF",
142: "DiAxleSpeedREL",
143: "DiAxleSpeedRER",
144: "DiSlaveTorqueCmd",
145: "DiTorqueActualR",
146: "DiTorqueActualF",
147: "DiTorqueActualREL",
148: "DiTorqueActualRER",
149: "DiStatorTempF",
150: "DiStatorTempREL",
151: "DiStatorTempRER",
152: "DiVBatF",
153: "DiVBatREL",
154: "DiVBatRER",
155: "DiMotorCurrentF",
156: "DiMotorCurrentREL",
157: "DiMotorCurrentRER",
158: "EnergyRemaining",
159: "ServiceMode",
160: "BMSState",
161: "GuestModeMobileAccessState",
162: "Deprecated_1",
163: "DestinationName",
164: "DiInverterTR",
165: "DiInverterTF",
166: "DiInverterTREL",
167: "DiInverterTRER",
168: "Experimental_5",
169: "Experimental_6",
170: "Experimental_7",
171: "Experimental_8",
172: "Experimental_9",
173: "Experimental_10",
174: "Experimental_11",
175: "Experimental_12",
176: "Experimental_13",
177: "Experimental_14",
178: "Experimental_15",
179: "DetailedChargeState",
180: "CabinOverheatProtectionMode",
181: "CabinOverheatProtectionTemperatureLimit",
182: "CenterDisplay",
183: "ChargePortDoorOpen",
184: "ChargerVoltage",
185: "ChargingCableType",
186: "ClimateKeeperMode",
187: "DefrostForPreconditioning",
188: "DefrostMode",
189: "EfficiencyPackage",
190: "EstimatedHoursToChargeTermination",
191: "EuropeVehicle",
192: "ExpectedEnergyPercentAtTripArrival",
193: "FastChargerType",
194: "HomelinkDeviceCount",
195: "HomelinkNearby",
196: "HvacACEnabled",
197: "HvacAutoMode",
198: "HvacFanSpeed",
199: "HvacFanStatus",
200: "HvacLeftTemperatureRequest",
201: "HvacPower",
202: "HvacRightTemperatureRequest",
203: "HvacSteeringWheelHeatAuto",
204: "HvacSteeringWheelHeatLevel",
205: "OffroadLightbarPresent",
206: "PowershareHoursLeft",
207: "PowershareInstantaneousPowerKW",
208: "PowershareStatus",
209: "PowershareStopReason",
210: "PowershareType",
211: "RearDisplayHvacEnabled",
212: "RearSeatHeaters",
213: "RemoteStartEnabled",
214: "RightHandDrive",
215: "RouteTrafficMinutesDelay",
216: "SoftwareUpdateDownloadPercentComplete",
217: "SoftwareUpdateExpectedDurationMinutes",
218: "SoftwareUpdateInstallationPercentComplete",
219: "SoftwareUpdateScheduledStartTime",
220: "SoftwareUpdateVersion",
221: "TonneauOpenPercent",
222: "TonneauPosition",
223: "TonneauTentMode",
224: "TpmsHardWarnings",
225: "TpmsSoftWarnings",
226: "ValetModeEnabled",
227: "WheelType",
228: "WiperHeatEnabled",
229: "LocatedAtHome",
230: "LocatedAtWork",
231: "LocatedAtFavorite",
232: "SettingDistanceUnit",
233: "SettingTemperatureUnit",
234: "Setting24HourTime",
235: "SettingTirePressureUnit",
236: "SettingChargeUnit",
237: "ClimateSeatCoolingFrontLeft",
238: "ClimateSeatCoolingFrontRight",
}
Field_value = map[string]int32{
"Unknown": 0,
"DriveRail": 1,
"ChargeState": 2,
"BmsFullchargecomplete": 3,
"VehicleSpeed": 4,
"Odometer": 5,
"PackVoltage": 6,
"PackCurrent": 7,
"Soc": 8,
"DCDCEnable": 9,
"Gear": 10,
"IsolationResistance": 11,
"PedalPosition": 12,
"BrakePedal": 13,
"DiStateR": 14,
"DiHeatsinkTR": 15,
"DiAxleSpeedR": 16,
"DiTorquemotor": 17,
"DiStatorTempR": 18,
"DiVBatR": 19,
"DiMotorCurrentR": 20,
"Location": 21,
"GpsState": 22,
"GpsHeading": 23,
"NumBrickVoltageMax": 24,
"BrickVoltageMax": 25,
"NumBrickVoltageMin": 26,
"BrickVoltageMin": 27,
"NumModuleTempMax": 28,
"ModuleTempMax": 29,
"NumModuleTempMin": 30,
"ModuleTempMin": 31,
"RatedRange": 32,
"Hvil": 33,
"DCChargingEnergyIn": 34,
"DCChargingPower": 35,
"ACChargingEnergyIn": 36,
"ACChargingPower": 37,
"ChargeLimitSoc": 38,
"FastChargerPresent": 39,
"EstBatteryRange": 40,
"IdealBatteryRange": 41,
"BatteryLevel": 42,
"TimeToFullCharge": 43,
"ScheduledChargingStartTime": 44,
"ScheduledChargingPending": 45,
"ScheduledDepartureTime": 46,
"PreconditioningEnabled": 47,
"ScheduledChargingMode": 48,
"ChargeAmps": 49,
"ChargeEnableRequest": 50,
"ChargerPhases": 51,
"ChargePortColdWeatherMode": 52,
"ChargeCurrentRequest": 53,
"ChargeCurrentRequestMax": 54,
"BatteryHeaterOn": 55,
"NotEnoughPowerToHeat": 56,
"SuperchargerSessionTripPlanner": 57,
"DoorState": 58,
"Locked": 59,
"FdWindow": 60,
"FpWindow": 61,
"RdWindow": 62,
"RpWindow": 63,
"VehicleName": 64,
"SentryMode": 65,
"SpeedLimitMode": 66,
"CurrentLimitMph": 67,
"Version": 68,
"TpmsPressureFl": 69,
"TpmsPressureFr": 70,
"TpmsPressureRl": 71,
"TpmsPressureRr": 72,
"SemitruckTpmsPressureRe1L0": 73,
"SemitruckTpmsPressureRe1L1": 74,
"SemitruckTpmsPressureRe1R0": 75,
"SemitruckTpmsPressureRe1R1": 76,
"SemitruckTpmsPressureRe2L0": 77,
"SemitruckTpmsPressureRe2L1": 78,
"SemitruckTpmsPressureRe2R0": 79,
"SemitruckTpmsPressureRe2R1": 80,
"TpmsLastSeenPressureTimeFl": 81,
"TpmsLastSeenPressureTimeFr": 82,
"TpmsLastSeenPressureTimeRl": 83,
"TpmsLastSeenPressureTimeRr": 84,
"InsideTemp": 85,
"OutsideTemp": 86,
"SeatHeaterLeft": 87,
"SeatHeaterRight": 88,
"SeatHeaterRearLeft": 89,
"SeatHeaterRearRight": 90,
"SeatHeaterRearCenter": 91,
"AutoSeatClimateLeft": 92,
"AutoSeatClimateRight": 93,
"DriverSeatBelt": 94,
"PassengerSeatBelt": 95,
"DriverSeatOccupied": 96,
"SemitruckPassengerSeatFoldPosition": 97,
"LateralAcceleration": 98,
"LongitudinalAcceleration": 99,
"Deprecated_2": 100,
"CruiseSetSpeed": 101,
"LifetimeEnergyUsed": 102,
"LifetimeEnergyUsedDrive": 103,
"SemitruckTractorParkBrakeStatus": 104,
"SemitruckTrailerParkBrakeStatus": 105,
"BrakePedalPos": 106,
"RouteLastUpdated": 107,
"RouteLine": 108,
"MilesToArrival": 109,
"MinutesToArrival": 110,
"OriginLocation": 111,
"DestinationLocation": 112,
"CarType": 113,
"Trim": 114,
"ExteriorColor": 115,
"RoofColor": 116,
"ChargePort": 117,
"ChargePortLatch": 118,
"Experimental_1": 119,
"Experimental_2": 120,
"Experimental_3": 121,
"Experimental_4": 122,
"GuestModeEnabled": 123,
"PinToDriveEnabled": 124,
"PairedPhoneKeyAndKeyFobQty": 125,
"CruiseFollowDistance": 126,
"AutomaticBlindSpotCamera": 127,
"BlindSpotCollisionWarningChime": 128,
"SpeedLimitWarning": 129,
"ForwardCollisionWarning": 130,
"LaneDepartureAvoidance": 131,
"EmergencyLaneDepartureAvoidance": 132,
"AutomaticEmergencyBrakingOff": 133,
"LifetimeEnergyGainedRegen": 134,
"DiStateF": 135,
"DiStateREL": 136,
"DiStateRER": 137,
"DiHeatsinkTF": 138,
"DiHeatsinkTREL": 139,
"DiHeatsinkTRER": 140,
"DiAxleSpeedF": 141,
"DiAxleSpeedREL": 142,
"DiAxleSpeedRER": 143,
"DiSlaveTorqueCmd": 144,
"DiTorqueActualR": 145,
"DiTorqueActualF": 146,
"DiTorqueActualREL": 147,
"DiTorqueActualRER": 148,
"DiStatorTempF": 149,
"DiStatorTempREL": 150,
"DiStatorTempRER": 151,
"DiVBatF": 152,
"DiVBatREL": 153,
"DiVBatRER": 154,
"DiMotorCurrentF": 155,
"DiMotorCurrentREL": 156,
"DiMotorCurrentRER": 157,
"EnergyRemaining": 158,
"ServiceMode": 159,
"BMSState": 160,
"GuestModeMobileAccessState": 161,
"Deprecated_1": 162,
"DestinationName": 163,
"DiInverterTR": 164,
"DiInverterTF": 165,
"DiInverterTREL": 166,
"DiInverterTRER": 167,
"Experimental_5": 168,
"Experimental_6": 169,
"Experimental_7": 170,
"Experimental_8": 171,
"Experimental_9": 172,
"Experimental_10": 173,
"Experimental_11": 174,
"Experimental_12": 175,
"Experimental_13": 176,
"Experimental_14": 177,
"Experimental_15": 178,
"DetailedChargeState": 179,
"CabinOverheatProtectionMode": 180,
"CabinOverheatProtectionTemperatureLimit": 181,
"CenterDisplay": 182,
"ChargePortDoorOpen": 183,
"ChargerVoltage": 184,
"ChargingCableType": 185,
"ClimateKeeperMode": 186,
"DefrostForPreconditioning": 187,
"DefrostMode": 188,
"EfficiencyPackage": 189,
"EstimatedHoursToChargeTermination": 190,
"EuropeVehicle": 191,
"ExpectedEnergyPercentAtTripArrival": 192,
"FastChargerType": 193,
"HomelinkDeviceCount": 194,
"HomelinkNearby": 195,
"HvacACEnabled": 196,
"HvacAutoMode": 197,
"HvacFanSpeed": 198,
"HvacFanStatus": 199,
"HvacLeftTemperatureRequest": 200,
"HvacPower": 201,
"HvacRightTemperatureRequest": 202,
"HvacSteeringWheelHeatAuto": 203,
"HvacSteeringWheelHeatLevel": 204,
"OffroadLightbarPresent": 205,
"PowershareHoursLeft": 206,
"PowershareInstantaneousPowerKW": 207,
"PowershareStatus": 208,
"PowershareStopReason": 209,
"PowershareType": 210,
"RearDisplayHvacEnabled": 211,
"RearSeatHeaters": 212,
"RemoteStartEnabled": 213,
"RightHandDrive": 214,
"RouteTrafficMinutesDelay": 215,
"SoftwareUpdateDownloadPercentComplete": 216,
"SoftwareUpdateExpectedDurationMinutes": 217,
"SoftwareUpdateInstallationPercentComplete": 218,
"SoftwareUpdateScheduledStartTime": 219,
"SoftwareUpdateVersion": 220,
"TonneauOpenPercent": 221,
"TonneauPosition": 222,
"TonneauTentMode": 223,
"TpmsHardWarnings": 224,
"TpmsSoftWarnings": 225,
"ValetModeEnabled": 226,
"WheelType": 227,
"WiperHeatEnabled": 228,
"LocatedAtHome": 229,
"LocatedAtWork": 230,
"LocatedAtFavorite": 231,
"SettingDistanceUnit": 232,
"SettingTemperatureUnit": 233,
"Setting24HourTime": 234,
"SettingTirePressureUnit": 235,
"SettingChargeUnit": 236,
"ClimateSeatCoolingFrontLeft": 237,
"ClimateSeatCoolingFrontRight": 238,
}
)
func (x Field) Enum() *Field {
p := new(Field)
*p = x
return p
}
func (x Field) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Field) Descriptor() protoreflect.EnumDescriptor {
return file_protos_vehicle_data_proto_enumTypes[0].Descriptor()
}
func (Field) Type() protoreflect.EnumType {
return &file_protos_vehicle_data_proto_enumTypes[0]
}
func (x Field) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Field.Descriptor instead.
func (Field) EnumDescriptor() ([]byte, []int) {
return file_protos_vehicle_data_proto_rawDescGZIP(), []int{0}
}
// ChargingState is deprecated and not used
type ChargingState int32
const (
ChargingState_ChargeStateUnknown ChargingState = 0
ChargingState_ChargeStateDisconnected ChargingState = 1
ChargingState_ChargeStateNoPower ChargingState = 2
ChargingState_ChargeStateStarting ChargingState = 3
ChargingState_ChargeStateCharging ChargingState = 4
ChargingState_ChargeStateComplete ChargingState = 5
ChargingState_ChargeStateStopped ChargingState = 6
)
// Enum value maps for ChargingState.
var (
ChargingState_name = map[int32]string{
0: "ChargeStateUnknown",
1: "ChargeStateDisconnected",
2: "ChargeStateNoPower",
3: "ChargeStateStarting",
4: "ChargeStateCharging",
5: "ChargeStateComplete",
6: "ChargeStateStopped",
}
ChargingState_value = map[string]int32{
"ChargeStateUnknown": 0,
"ChargeStateDisconnected": 1,
"ChargeStateNoPower": 2,
"ChargeStateStarting": 3,
"ChargeStateCharging": 4,
"ChargeStateComplete": 5,
"ChargeStateStopped": 6,
}
)
func (x ChargingState) Enum() *ChargingState {
p := new(ChargingState)
*p = x
return p
}
func (x ChargingState) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ChargingState) Descriptor() protoreflect.EnumDescriptor {
return file_protos_vehicle_data_proto_enumTypes[1].Descriptor()
}
func (ChargingState) Type() protoreflect.EnumType {
return &file_protos_vehicle_data_proto_enumTypes[1]
}
func (x ChargingState) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ChargingState.Descriptor instead.
func (ChargingState) EnumDescriptor() ([]byte, []int) {
return file_protos_vehicle_data_proto_rawDescGZIP(), []int{1}
}
type DetailedChargeStateValue int32
const (
DetailedChargeStateValue_DetailedChargeStateUnknown DetailedChargeStateValue = 0
DetailedChargeStateValue_DetailedChargeStateDisconnected DetailedChargeStateValue = 1
DetailedChargeStateValue_DetailedChargeStateNoPower DetailedChargeStateValue = 2
DetailedChargeStateValue_DetailedChargeStateStarting DetailedChargeStateValue = 3
DetailedChargeStateValue_DetailedChargeStateCharging DetailedChargeStateValue = 4
DetailedChargeStateValue_DetailedChargeStateComplete DetailedChargeStateValue = 5
DetailedChargeStateValue_DetailedChargeStateStopped DetailedChargeStateValue = 6
)
// Enum value maps for DetailedChargeStateValue.
var (
DetailedChargeStateValue_name = map[int32]string{
0: "DetailedChargeStateUnknown",
1: "DetailedChargeStateDisconnected",
2: "DetailedChargeStateNoPower",
3: "DetailedChargeStateStarting",
4: "DetailedChargeStateCharging",
5: "DetailedChargeStateComplete",
6: "DetailedChargeStateStopped",
}
DetailedChargeStateValue_value = map[string]int32{
"DetailedChargeStateUnknown": 0,
"DetailedChargeStateDisconnected": 1,
"DetailedChargeStateNoPower": 2,
"DetailedChargeStateStarting": 3,
"DetailedChargeStateCharging": 4,
"DetailedChargeStateComplete": 5,
"DetailedChargeStateStopped": 6,
}
)
func (x DetailedChargeStateValue) Enum() *DetailedChargeStateValue {
p := new(DetailedChargeStateValue)
*p = x
return p
}
func (x DetailedChargeStateValue) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (DetailedChargeStateValue) Descriptor() protoreflect.EnumDescriptor {
return file_protos_vehicle_data_proto_enumTypes[2].Descriptor()
}
func (DetailedChargeStateValue) Type() protoreflect.EnumType {
return &file_protos_vehicle_data_proto_enumTypes[2]
}
func (x DetailedChargeStateValue) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use DetailedChargeStateValue.Descriptor instead.
func (DetailedChargeStateValue) EnumDescriptor() ([]byte, []int) {
return file_protos_vehicle_data_proto_rawDescGZIP(), []int{2}
}
// ShiftState are the gear options
type ShiftState int32
const (
ShiftState_ShiftStateUnknown ShiftState = 0
ShiftState_ShiftStateInvalid ShiftState = 1
ShiftState_ShiftStateP ShiftState = 2
ShiftState_ShiftStateR ShiftState = 3
ShiftState_ShiftStateN ShiftState = 4
ShiftState_ShiftStateD ShiftState = 5
ShiftState_ShiftStateSNA ShiftState = 6
)
// Enum value maps for ShiftState.
var (
ShiftState_name = map[int32]string{
0: "ShiftStateUnknown",
1: "ShiftStateInvalid",
2: "ShiftStateP",
3: "ShiftStateR",
4: "ShiftStateN",
5: "ShiftStateD",
6: "ShiftStateSNA",
}
ShiftState_value = map[string]int32{
"ShiftStateUnknown": 0,
"ShiftStateInvalid": 1,
"ShiftStateP": 2,
"ShiftStateR": 3,
"ShiftStateN": 4,
"ShiftStateD": 5,
"ShiftStateSNA": 6,
}
)
func (x ShiftState) Enum() *ShiftState {
p := new(ShiftState)
*p = x
return p
}
func (x ShiftState) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ShiftState) Descriptor() protoreflect.EnumDescriptor {
return file_protos_vehicle_data_proto_enumTypes[3].Descriptor()
}
func (ShiftState) Type() protoreflect.EnumType {
return &file_protos_vehicle_data_proto_enumTypes[3]
}
func (x ShiftState) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ShiftState.Descriptor instead.
func (ShiftState) EnumDescriptor() ([]byte, []int) {
return file_protos_vehicle_data_proto_rawDescGZIP(), []int{3}
}
type FollowDistance int32
const (
FollowDistance_FollowDistanceUnknown FollowDistance = 0
FollowDistance_FollowDistance1 FollowDistance = 1
FollowDistance_FollowDistance2 FollowDistance = 2
FollowDistance_FollowDistance3 FollowDistance = 3
FollowDistance_FollowDistance4 FollowDistance = 4
FollowDistance_FollowDistance5 FollowDistance = 5
FollowDistance_FollowDistance6 FollowDistance = 6
FollowDistance_FollowDistance7 FollowDistance = 7
)
// Enum value maps for FollowDistance.
var (
FollowDistance_name = map[int32]string{
0: "FollowDistanceUnknown",
1: "FollowDistance1",
2: "FollowDistance2",
3: "FollowDistance3",
4: "FollowDistance4",
5: "FollowDistance5",
6: "FollowDistance6",
7: "FollowDistance7",
}
FollowDistance_value = map[string]int32{
"FollowDistanceUnknown": 0,
"FollowDistance1": 1,
"FollowDistance2": 2,
"FollowDistance3": 3,
"FollowDistance4": 4,
"FollowDistance5": 5,
"FollowDistance6": 6,
"FollowDistance7": 7,
}